/* ÉCLORE — one beige line on pure black. Two colours, no more. */

:root {
  --ground: #000000;
  --contour: #D4B896;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  background: var(--ground);
  overscroll-behavior: none;
  /* Dark browser chrome (scrollbars) against the black ground. */
  color-scheme: dark;
}

body {
  color: var(--contour);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 300;
}

/* ————— hero ————— */

/* Extra stage height keeps the hero pinned through the first stretch of
   scrolling, so the étude plays fullscreen instead of sliding away. */
.hero-stage {
  height: 170vh;
}

.hero {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

/* The étude video: full-bleed, letterboxed by its own black — edges invisible. */
#etude {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--ground);
}

/* The mark: dot above wordmark, dead centre. */
.mark {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* The dot is 6 px; the button around it keeps a finger-sized hit area. */
.dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.dot::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--contour);
}

.dot:focus-visible {
  outline: 1px solid var(--contour);
  outline-offset: 2px;
}

.wordmark {
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0.45em;
  /* Re-centre optically: letter-spacing trails the last glyph. */
  margin-left: 0.45em;
}

/* State switching is a clean cut — visibility, never a fade. */
body.idle #etude {
  visibility: hidden;
}

body.playing .mark {
  visibility: hidden;
}

/* ————— content sections ————— */

.section {
  max-width: 640px;
  margin: 0 auto;
  padding: 16vh 28px;
}

.section h2 {
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: 3em;
}

.section p {
  font-size: 17px;
  line-height: 1.85;
}

.lead {
  font-size: 21px;
  letter-spacing: 0.04em;
  margin-bottom: 2.2em;
}

.benefits {
  list-style: none;
}

.benefits li {
  font-size: 17px;
  line-height: 1.85;
  margin-bottom: 2em;
  padding-left: 30px;
  position: relative;
}

/* Each benefit is marked by the dot. */
.benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--contour);
}

.benefits strong {
  font-weight: 500;
}

/* ————— store buttons (links pending) ————— */

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 3em;
}

.store {
  display: inline-block;
  padding: 15px 34px;
  border: 1px solid var(--contour);
  border-radius: 999px;
  color: var(--contour);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.store:hover {
  background: var(--contour);
  color: var(--ground);
}

/* ————— footer ————— */

.footer {
  text-align: center;
  padding: 12vh 28px 8vh;
  font-size: 13px;
  letter-spacing: 0.08em;
  opacity: 0.55;
}

.footer p {
  margin-bottom: 1.2em;
}

.footer a {
  color: var(--contour);
}

.footer-nav a {
  margin: 0 10px;
}

/* ————— legal pages ————— */

.page-header {
  padding: 48px 28px 0;
  text-align: center;
}

.page-header .home {
  color: var(--contour);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.45em;
  margin-left: 0.45em;
}

.legal {
  padding-top: 10vh;
  padding-bottom: 6vh;
}

.legal h1 {
  font-size: 19px;
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 0.6em;
}

.legal .updated {
  font-size: 13px;
  opacity: 0.55;
  margin-bottom: 4em;
}

.legal h2 {
  margin: 3.4em 0 1.2em;
}

.legal p,
.legal li {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 1.1em;
}

.legal ul {
  list-style: none;
}

.legal li {
  padding-left: 24px;
  position: relative;
}

.legal li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--contour);
}

.legal pre {
  border: 1px solid rgba(212, 184, 150, 0.3);
  border-radius: 6px;
  padding: 18px 20px;
  overflow-x: auto;
  font-size: 12.5px;
  line-height: 1.7;
  margin: 1.6em 0;
}

.legal a {
  color: var(--contour);
}
