.seed-note { max-width: 46rem; margin: 2rem auto 0; padding: 1.1rem 1.4rem; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,0.03); text-align: center; font-size: 0.98rem; line-height: 1.6; color: var(--muted); }
.seed-note p { margin: 0; }
.seed-note p + p { margin-top: 0.6rem; color: var(--text); }
.seed-note b { color: var(--text); font-weight: 600; }
/* ADdes: the site's look.
   One deep grey ground; light is the only ornament. Everything that moves obeys the app's own
   Trance Budget (see YARDSTICKS.md, "The website"): the breath is 6.5 a minute, nothing
   self-moves faster than 2% of the screen height a second, nothing flashes, fades take >= 0.4 s. */

/* ADdes Flux, the house typeface (SIL OFL, fonts/OFL.txt): Text for reading, Display for headings */
@font-face { font-family: "ADdes Flux"; src: url("../fonts/ADdesFlux-Light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "ADdes Flux"; src: url("../fonts/ADdesFlux-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "ADdes Flux"; src: url("../fonts/ADdesFlux-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "ADdes Flux"; src: url("../fonts/ADdesFlux-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "ADdes Flux Display"; src: url("../fonts/ADdesFluxDisplay-Light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "ADdes Flux Display"; src: url("../fonts/ADdesFluxDisplay-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "ADdes Flux Display"; src: url("../fonts/ADdesFluxDisplay-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  color-scheme: dark;

  /* the ground: a deep grey. The logo's black is keyed into this exact colour (WS1) */
  --bg: #1a1d22;
  --bg-raise: #20242a;
  --bg-sunk: #15171b;
  --line: rgba(255, 255, 255, 0.085);
  --line-strong: rgba(255, 255, 255, 0.16);

  --text: #e7ebef;
  --muted: #a5afb9;
  --faint: #8591a0;

  /* the light, taken from the logo's own filaments */
  --teal: #7fe6d2;
  --lilac: #b9a8f4;
  --pink: #f1a9d6;
  --gold: #f3c883;
  --blue: #86aefc;
  --glow: linear-gradient(100deg, var(--teal), var(--lilac) 55%, var(--pink));

  /* --serif keeps its name for the headings' role; it is now ADdes Flux Display */
  --serif: "ADdes Flux Display", "ADdes Flux", system-ui, "Segoe UI", sans-serif;
  --sans: "ADdes Flux", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 18px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  /* driven by site.js: -1..1 at 6.5 breaths a minute */
  --breath: 0;

  /* The fade of the logo into the ground is a smoothstep (3t^2 - 2t^3), not a straight ramp: it is ~0 at the very edge,
     so even a bright filament that touches the picture's border leaves no line (WS1 measured 4/255 with a linear ramp).
     Ten steps per side, over 20% of the width and 18% of the height (set 2026-10-05 so the edges melt further in). Used by .hero-art and .art-feather. */
  --fade-x: linear-gradient(to right,
  rgba(0,0,0,0) 0%, rgba(0,0,0,.028) 2%, rgba(0,0,0,.104) 4%, rgba(0,0,0,.216) 6%, rgba(0,0,0,.352) 8%, rgba(0,0,0,.5) 10%, rgba(0,0,0,.648) 12%, rgba(0,0,0,.784) 14%, rgba(0,0,0,.896) 16%, rgba(0,0,0,.972) 18%, #000 20%,
  #000 80%, rgba(0,0,0,.972) 82%, rgba(0,0,0,.896) 84%, rgba(0,0,0,.784) 86%, rgba(0,0,0,.648) 88%, rgba(0,0,0,.5) 90%, rgba(0,0,0,.352) 92%, rgba(0,0,0,.216) 94%, rgba(0,0,0,.104) 96%, rgba(0,0,0,.028) 98%, rgba(0,0,0,0) 100%);
  --fade-y: linear-gradient(to bottom,
  rgba(0,0,0,0) 0%, rgba(0,0,0,.028) 1.8%, rgba(0,0,0,.104) 3.6%, rgba(0,0,0,.216) 5.4%, rgba(0,0,0,.352) 7.2%, rgba(0,0,0,.5) 9%, rgba(0,0,0,.648) 10.8%, rgba(0,0,0,.784) 12.6%, rgba(0,0,0,.896) 14.4%, rgba(0,0,0,.972) 16.2%, #000 18%,
  #000 82%, rgba(0,0,0,.972) 83.8%, rgba(0,0,0,.896) 85.6%, rgba(0,0,0,.784) 87.4%, rgba(0,0,0,.648) 89.2%, rgba(0,0,0,.5) 91%, rgba(0,0,0,.352) 92.8%, rgba(0,0,0,.216) 94.6%, rgba(0,0,0,.104) 96.4%, rgba(0,0,0,.028) 98.2%, rgba(0,0,0,0) 100%);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--bg);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  /* no background here on purpose: the ground is on <html>, so the ambient light canvas (z-index -1)
     and the hero's lighten blend both see it */
  background: transparent;
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(16px, 0.35vw + 15px, 18px);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* the hidden attribute must always win: a component's own display (.btn, .dropzone ...) would otherwise show it */
[hidden] { display: none !important; }
img, canvas, svg { display: block; max-width: 100%; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 0.2em; transition: color 0.5s var(--ease); }
a:hover { color: #b8f3e8; }
p { margin: 0 0 1.1em; }
strong { font-weight: 600; color: #f3f6f8; }
em { font-style: italic; }
code, kbd, samp {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.86em;
}
code { background: rgba(255,255,255,0.06); padding: 0.1em 0.4em; border-radius: 6px; color: #d7dde3; }
kbd {
  display: inline-block; min-width: 1.9em; text-align: center;
  padding: 0.12em 0.5em; border: 1px solid var(--line-strong); border-bottom-width: 2px;
  border-radius: 7px; background: rgba(255,255,255,0.05); color: var(--text);
}

:focus { outline: none; }
/* no border-radius here: the outline follows the element's own shape, so a focused pill stays a pill */
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; top: 10px; left: 10px; z-index: 100; padding: 10px 16px;
  background: var(--bg-raise); color: var(--text); border: 1px solid var(--teal);
  border-radius: 10px; transform: translateY(-200%);
}
.skip:focus { transform: none; }

/* a whisper of fixed film grain (made by site.js): it breaks the contour banding a very soft 8-bit gradient
   would otherwise show. Static: it never changes, so it can't flicker. */
html::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--grain, none); background-size: 160px 160px; opacity: 1;
}

/* the quiet light behind everything (canvas drawn by site.js) */
#ambient {
  position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1;
  pointer-events: none; opacity: 1;
}

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap.narrow { width: min(100% - 2 * var(--gutter), 780px); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 68px;
  display: flex; align-items: center;
  background: linear-gradient(to bottom, rgba(26,29,34,0.9), rgba(26,29,34,0.64) 70%, rgba(26,29,34,0));
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.site-header .wrap { display: flex; align-items: center; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--text); }
.brand img { width: 30px; height: 30px; border-radius: 50%; box-shadow: 0 0 0 1px var(--line-strong); }
.brand-word {
  font-family: var(--serif); font-weight: 500; font-size: 1.55rem; letter-spacing: 0.04em;
  background: var(--glow); -webkit-background-clip: text; background-clip: text; color: transparent;
}
nav.main { margin-left: auto; }
nav.main ul { display: flex; gap: clamp(8px, 1.6vw, 22px); list-style: none; margin: 0; padding: 0; }
nav.main a {
  display: block; padding: 8px 4px; text-decoration: none; color: var(--muted);
  font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 400;
  border-bottom: 1px solid transparent; transition: color 0.5s var(--ease), border-color 0.5s var(--ease);
}
nav.main a:hover { color: var(--text); }
nav.main a[aria-current="page"] { color: var(--text); border-bottom-color: var(--teal); }
nav.main a.get { padding: 8px 15px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--teal); }
nav.main a.get:hover { border-color: var(--teal); background: rgba(127,230,210,0.08); }
nav.main a.get[aria-current="page"] { border-color: var(--teal); }

.still-btn {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.03); color: var(--muted);
  font: 400 0.76rem/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase;
  transition: color 0.5s var(--ease), border-color 0.5s var(--ease), background 0.5s var(--ease);
}
.still-btn:hover { color: var(--text); border-color: var(--teal); }
.still-btn .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--teal);
  opacity: calc(0.7 + 0.3 * var(--breath)); transform: scale(calc(1 + 0.18 * var(--breath)));
}
html.is-still .still-btn { border-color: var(--lilac); color: var(--text); }
html.is-still .still-btn .dot { background: var(--lilac); opacity: 0.9; transform: none; }

.menu-btn {
  display: none; margin-left: auto; width: 44px; height: 44px; cursor: pointer;
  border: 1px solid var(--line-strong); border-radius: 12px; background: rgba(255,255,255,0.03); color: var(--text);
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  display: block; width: 18px; height: 1.5px; background: currentColor; margin: auto; position: relative;
}
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }

@media (max-width: 1120px) {
  .menu-btn { display: block; }
  nav.main {
    position: fixed; inset: 68px 0 auto 0; margin: 0; padding: 12px var(--gutter) 22px;
    background: rgba(26,29,34,0.97); border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), visibility 0s linear 0.5s;
  }
  nav.main.open { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
  nav.main ul { flex-direction: column; gap: 0; }
  nav.main a { padding: 14px 4px; font-size: 0.9rem; border-bottom: 1px solid var(--line); }
  .site-header .still-btn { margin-left: 0; }
}
@media (max-width: 520px) { .still-btn .label { display: none; } .still-btn { padding: 11px; } }

main { display: block; }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0 0 0.5em; color: #f4f7f9; letter-spacing: 0.005em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 300; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 300; }
h3 { font-size: clamp(1.4rem, 2vw, 1.75rem); font-weight: 500; }
h4 { font-size: 1.15rem; font-weight: 600; font-family: var(--sans); letter-spacing: 0.02em; }
.glow-text { background: var(--glow); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow {
  display: block; margin: 0 0 1rem; font-size: 0.78rem; font-weight: 400;
  letter-spacing: 0.26em; text-transform: uppercase; color: var(--faint);
}
.lead { font-size: clamp(1.1rem, 1.1vw + 0.8rem, 1.38rem); line-height: 1.65; color: #c9d1d8; max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: 0.88rem; }
.note {
  margin: 1.2rem 0 0; padding: 0.85rem 1.05rem; border-left: 2px solid var(--lilac);
  background: rgba(185,168,244,0.06); border-radius: 0 12px 12px 0; color: #c7ccd9; font-size: 0.92rem;
}
.note.honest { border-left-color: var(--gold); background: rgba(243,200,131,0.06); }

section.block { padding: clamp(56px, 9vw, 120px) 0; position: relative; }
.head-center { text-align: center; }
.head-center .lead { margin-inline: auto; }

/* slow reveal: only when JS is on, and never a jump */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
html.is-still .reveal, html.is-still .reveal.in { transition-duration: 0.01s; transform: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer;
  padding: 13px 26px; border-radius: 999px; text-decoration: none; position: relative;
  font: 400 0.84rem/1 var(--sans); letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text); background: rgba(255,255,255,0.035); border: 1px solid var(--line-strong);
  transition: border-color 0.6s var(--ease), background 0.6s var(--ease), color 0.6s var(--ease), box-shadow 0.8s var(--ease);
}
.btn:hover { border-color: var(--teal); background: rgba(127,230,210,0.07); color: #fff; box-shadow: 0 0 36px -8px rgba(127,230,210,0.5); }
.btn.primary { border-color: transparent; color: #0f1215; background: linear-gradient(100deg, #8ceadb, #bfb0f6 60%, #f3b6dc); font-weight: 600; }
.btn.primary:hover { color: #0b0d10; box-shadow: 0 0 44px -6px rgba(185,168,244,0.6); }
.btn[disabled], .btn.is-off { opacity: 0.55; cursor: not-allowed; }
/* a key cap inside the gradient button: dark on light, like the button's own text (WS6 measured 1.16:1 for the light default) */
.btn.primary kbd { color: inherit; background: rgba(0,0,0,0.12); border-color: rgba(0,0,0,0.3); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- the hero: the logo, its black keyed into the ground ---------- */
.hero { position: relative; padding-top: 68px; }
.hero-art {
  position: relative; width: min(100%, 1480px); margin-inline: auto;
  aspect-ratio: 16 / 9; max-height: min(92vh, 940px);
  /* WS1: the picture is drawn solid, its own blacks kept black (no lighten blend since 2026-10-05: it turned
     the whole photo page-grey), and only its edge dissolves into the ground (mask): no rectangle, no seam */
  -webkit-mask-image: var(--fade-x), var(--fade-y);
  -webkit-mask-composite: source-in;
  mask-image: var(--fade-x), var(--fade-y);
  mask-composite: intersect;
  opacity: 1;
  filter: saturate(1.2) brightness(1.15);          /* bring the art out a little */
}
.hero-art picture, .hero-art img { width: 100%; height: 100%; }
.hero-art img { object-fit: cover; object-position: 50% 50%; }
/* the same treatment for the square art elsewhere (About): black keyed into the ground, edges dissolved */
.art-feather {
  position: relative; width: min(100%, 560px); margin-inline: auto; aspect-ratio: 1 / 1;
  mix-blend-mode: lighten;
  -webkit-mask-image: var(--fade-x), var(--fade-y); -webkit-mask-composite: source-in;
  mask-image: var(--fade-x), var(--fade-y); mask-composite: intersect;
}
.art-feather img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 720px) { .hero-art { aspect-ratio: 1 / 1; max-height: none; } }

.hero-copy { position: relative; margin-top: clamp(-30px, -2vw, 0px); text-align: center; padding-bottom: clamp(48px, 7vw, 96px); }
/* the name is ADdes, mixed case on purpose: brand text is never upper-cased */
.nocaps { text-transform: none !important; letter-spacing: 0.04em; }
.hero-copy .lead { margin-inline: auto; }
.hero-copy .btn-row { justify-content: center; margin-top: 2rem; }
.pron { font-style: italic; color: var(--muted); }

/* ---------- the three promises ---------- */
.promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 2vw, 24px); margin-top: 2.2rem; }
.promise { padding: 1.6rem 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,0.025); text-align: center; }
.promise b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.7rem; color: #f2f5f7; margin-bottom: 0.2rem; }
.promise span { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 760px) { .promises { grid-template-columns: 1fr; } }

/* ---------- cards ---------- */
.grid { display: grid; gap: clamp(14px, 2vw, 24px); }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid.c4 { grid-template-columns: repeat(2, 1fr); } .grid.c3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .grid.c2, .grid.c3, .grid.c4 { grid-template-columns: 1fr; } }

.card {
  position: relative; display: block; padding: 1.7rem 1.6rem 1.6rem; border-radius: var(--radius);
  border: 1px solid var(--line); background: linear-gradient(160deg, rgba(255,255,255,0.04), rgba(255,255,255,0.012));
  color: inherit; text-decoration: none;
  transition: border-color 0.7s var(--ease), background 0.7s var(--ease), box-shadow 0.9s var(--ease);
}
a.card:hover { border-color: rgba(127,230,210,0.45); box-shadow: 0 0 60px -22px rgba(127,230,210,0.45); background: linear-gradient(160deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)); }
.card h3 { margin-bottom: 0.4em; }
.card p { color: var(--muted); font-size: 0.97rem; margin-bottom: 0.8em; }
.card .more { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal); }
.card .glyph { width: 46px; height: 46px; margin-bottom: 1rem; color: var(--teal); }

/* ---------- stages: where a dream lives on the page ---------- */
.stage {
  position: relative; border-radius: calc(var(--radius) + 4px); overflow: hidden;
  border: 1px solid var(--line); background: #0d0f12;
  aspect-ratio: 16 / 9; box-shadow: 0 40px 120px -50px rgba(0,0,0,0.9), 0 0 0 1px rgba(255,255,255,0.02) inset;
}
.stage.tall { aspect-ratio: 16 / 10; }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
/* a dissolve is driven from the dream clock by stage.js (8 s: the app's MIN_DISSOLVE_SECS), not by a CSS
   transition, so Space can hold it half-way and let it carry on */
.stage .layer { opacity: 0; will-change: opacity, transform; }
.stage-caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 38px 20px 16px;
  background: linear-gradient(to top, rgba(10,11,13,0.82), rgba(10,11,13,0));
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; pointer-events: none;
}
.dream-name { font-family: var(--serif); font-size: clamp(1.15rem, 2.2vw, 1.6rem); color: #eef2f5; transition: opacity 1.2s var(--ease); }
.dream-meta { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.stage-state {
  position: absolute; inset: 0; display: grid; place-items: center; color: var(--faint);
  font-size: 0.85rem; letter-spacing: 0.2em; text-transform: uppercase; pointer-events: none;
  opacity: 0; transition: opacity 1.2s var(--ease);
}
.stage.loading .stage-state { opacity: 1; }

.controls { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 16px; }
.chip {
  cursor: pointer; padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(255,255,255,0.025); color: var(--muted); font: 400 0.86rem/1.1 var(--sans);
  transition: border-color 0.5s var(--ease), color 0.5s var(--ease), background 0.5s var(--ease);
}
.chip:hover { color: var(--text); border-color: var(--line-strong); }
.chip[aria-pressed="true"], .chip.on { color: #0f1215; border-color: transparent; background: linear-gradient(100deg, #8ceadb, #bfb0f6 70%, #f3b6dc); font-weight: 600; }
.chip kbd { margin-right: 8px; font-size: 0.74em; padding: 0.05em 0.4em; min-width: 1.5em; background: rgba(0,0,0,0.25); border-color: rgba(255,255,255,0.18); color: inherit; }
.chip[aria-pressed="true"] kbd { background: rgba(0,0,0,0.12); border-color: rgba(0,0,0,0.25); }

.field { display: grid; gap: 6px; min-width: 190px; flex: 1 1 190px; }
.field label { font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); display: flex; justify-content: space-between; gap: 10px; }
.field output { color: var(--text); letter-spacing: 0.04em; text-transform: none; font-size: 0.85rem; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: linear-gradient(90deg, rgba(127,230,210,0.5), rgba(185,168,244,0.5)); }
input[type="range"]::-moz-range-track { height: 3px; border-radius: 3px; background: linear-gradient(90deg, rgba(127,230,210,0.5), rgba(185,168,244,0.5)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -7.5px; border-radius: 50%; background: #eaf7f4; box-shadow: 0 0 0 5px rgba(127,230,210,0.18), 0 0 18px rgba(127,230,210,0.5); border: 0; }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #eaf7f4; box-shadow: 0 0 0 5px rgba(127,230,210,0.18); border: 0; }

/* ---------- two-column feature rows ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split.flip > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.flip > :first-child { order: 0; } }

ul.dots { list-style: none; margin: 0 0 1.2em; padding: 0; }
ul.dots li { position: relative; padding: 0.3em 0 0.3em 1.5em; color: #c3ccd4; }
ul.dots li::before { content: ""; position: absolute; left: 0.2em; top: 1em; width: 6px; height: 6px; border-radius: 50%; background: var(--glow); }

/* ---------- tables ---------- */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,0.02); }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
th, td { text-align: left; padding: 0.8rem 1.1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); font-weight: 400; white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
td:first-child { white-space: nowrap; }
td { color: #cdd5dc; }

/* a table that becomes a stack of cards on a phone: each cell names itself (data-label) instead of sitting under a header */
@media (max-width: 700px) {
  table.stack, table.stack tbody, table.stack tr, table.stack th, table.stack td { display: block; }
  table.stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  table.stack tr { padding: 1rem 1.1rem; border-bottom: 1px solid var(--line); }
  table.stack tbody tr:last-child { border-bottom: 0; }
  table.stack th[scope="row"] { padding: 0 0 0.4rem; border: 0; font-size: 0.8rem; color: var(--teal); white-space: normal; }
  table.stack td { padding: 0.15rem 0; border: 0; white-space: normal; }
  table.stack td::before { content: attr(data-label); display: block; font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); margin-top: 0.5rem; }
}

/* ---------- FAQ ---------- */
details.faq { border-bottom: 1px solid var(--line); }
details.faq summary {
  list-style: none; cursor: pointer; padding: 1.15rem 2.2rem 1.15rem 0; position: relative;
  font-family: var(--serif); font-size: 1.4rem; color: #eef2f5;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px;
  border-right: 1.5px solid var(--teal); border-bottom: 1.5px solid var(--teal);
  transform: translateY(-70%) rotate(45deg); transition: transform 0.6s var(--ease);
}
details.faq[open] summary::after { transform: translateY(-30%) rotate(225deg); }
details.faq .answer { padding: 0 0 1.4rem; color: #bcc6cf; max-width: 68ch; }

/* ---------- gallery ---------- */
.gallery-grid { columns: 3 280px; column-gap: 16px; }
.tile {
  position: relative; display: block; width: 100%; margin: 0 0 16px; padding: 0; break-inside: avoid; cursor: pointer;
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #0d0f12; color: inherit; text-align: left;
  transition: border-color 0.7s var(--ease), box-shadow 0.9s var(--ease);
}
.tile:hover { border-color: rgba(127,230,210,0.5); box-shadow: 0 0 50px -18px rgba(127,230,210,0.5); }
.tile img { width: 100%; height: auto; transition: opacity 0.8s var(--ease); }
.tile .cap {
  position: absolute; inset: auto 0 0 0; padding: 36px 14px 12px; font-size: 0.86rem; color: #eef2f5;
  background: linear-gradient(to top, rgba(8,9,11,0.85), rgba(8,9,11,0));
  opacity: 0; transition: opacity 0.7s var(--ease);
}
.tile:hover .cap, .tile:focus-visible .cap { opacity: 1; }
.tile .badge { position: absolute; top: 10px; left: 10px; padding: 4px 10px; border-radius: 999px; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; background: rgba(15,17,20,0.78); border: 1px solid var(--line-strong); color: var(--gold); }

.dropzone {
  display: grid; place-items: center; text-align: center; gap: 6px; padding: clamp(28px, 5vw, 56px) 20px;
  border: 1.5px dashed var(--line-strong); border-radius: var(--radius); background: rgba(255,255,255,0.02);
  transition: border-color 0.6s var(--ease), background 0.6s var(--ease);
}
.dropzone.over { border-color: var(--teal); background: rgba(127,230,210,0.06); }
.dropzone b { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; color: #eef2f5; }

.lightbox {
  position: fixed; inset: 0; z-index: 90; display: none; place-items: center;
  background: rgba(8,9,11,0.94); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.lightbox.open { display: grid; animation: lb-in 0.6s var(--ease); }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
.lightbox figure { margin: 0; max-width: min(94vw, 1500px); max-height: 88vh; display: grid; gap: 12px; justify-items: center; }
.lightbox img { max-width: 100%; max-height: 78vh; width: auto; height: auto; border-radius: 10px; box-shadow: 0 30px 120px -30px #000; }
.lightbox figcaption { text-align: center; color: var(--muted); font-size: 0.95rem; max-width: 70ch; }
.lightbox figcaption b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.5rem; color: #eef2f5; }
.lb-btn {
  position: absolute; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; color: var(--text);
  border: 1px solid var(--line-strong); background: rgba(255,255,255,0.05); font-size: 1.3rem; line-height: 1;
  transition: border-color 0.5s var(--ease), background 0.5s var(--ease);
}
.lb-btn:hover { border-color: var(--teal); background: rgba(127,230,210,0.1); }
.lb-close { top: 18px; right: 18px; } .lb-prev { left: 18px; top: 50%; } .lb-next { right: 18px; top: 50%; }
@media (max-width: 600px) { .lb-prev, .lb-next { top: auto; bottom: 18px; } .lb-prev { left: 24px; } .lb-next { right: 24px; } }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 56px; background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.25)); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--faint); font-weight: 400; margin-bottom: 0.9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0.3em 0; }
.site-footer a { color: var(--muted); text-decoration: none; font-size: 0.94rem; }
.site-footer a:hover { color: var(--text); }
.foot-note { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 0.82rem; color: var(--faint); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* ---------- misc ---------- */
.page-hero { padding: clamp(120px, 16vw, 190px) 0 clamp(24px, 4vw, 48px); }
.page-hero h1 { margin-bottom: 0.3em; }
.rule { height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong), transparent); border: 0; margin: 0; }
.pill { display: inline-block; padding: 3px 11px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--muted); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; }
.pill.gold { color: var(--gold); border-color: rgba(243,200,131,0.4); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
