/* V8° pre-launch website — WEB-01.2 private preview (brand alignment).
   Layout: one cinematic page on graphite; a horizon-lit hero carries the wordmark, a small refined signature and the
   messaging hierarchy; quiet editorial bands follow. Single deliberate dark theme (graphite and warm white are the
   brand foundation; the four colours are accents only). */
@font-face { font-family: "Manrope Variable"; src: url("assets/fonts/manrope-var-latin.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Inter Variable"; src: url("assets/fonts/inter-var-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  --graphite: #17191C; --graphite-2: #1D2024; --graphite-3: #24282D;
  --white: #F1F0EA; --white-2: #C9C8C1; --muted: #9C9B95; --line: rgba(241, 240, 234, .12);
  --sage: #82B5A0; --gold: #C8B67F; --lilac: #B4A0D4; --blue: #9CBCE8;
  --focus: #F1F0EA; --err: #F2A9A0;
  --display: "Manrope Variable", "Manrope", "Inter Variable", system-ui, -apple-system, "Segoe UI", sans-serif;
  --text: "Inter Variable", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: max(20px, env(safe-area-inset-left, 0px)); --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --measure: 38rem; --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--graphite); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--graphite); color: var(--white); font: 400 1rem/1.6 var(--text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: var(--gutter); top: -100px; z-index: 50; background: var(--white); color: var(--graphite); padding: .6rem 1rem; border-radius: 999px; font-weight: 600; }
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 12px); }
h1, h2, p { margin: 0; }
h2 { font: 600 clamp(1.75rem, 1.2rem + 2.2vw, 2.625rem)/1.12 var(--display); letter-spacing: -.02em; text-wrap: balance; }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--graphite); }
.bar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(23, 25, 28, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.bar.scrolled { border-bottom-color: var(--line); }
.bar-in { max-width: 72rem; margin: 0 auto; padding-block: .5rem; padding-left: var(--gutter); padding-right: var(--gutter-r); display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.bar-mark { min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; }
.bar-wm { width: 3rem; height: 1.35rem; display: block; }
#nav { margin-left: auto; display: flex; gap: .25rem; align-items: center; flex-wrap: wrap; }
#nav a { text-decoration: none; font-size: .9375rem; color: var(--white-2); min-height: 44px; display: inline-flex; align-items: center; padding: 0 .75rem; border-radius: 999px; transition: color .2s; }
#nav a:hover, #nav a[aria-current] { color: var(--white); }
.menu-btn { display: none; margin-left: auto; min-height: 44px; min-width: 44px; padding: 0 1rem; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--white); font: 500 .9375rem var(--text); }
@media (max-width: 44rem) {
  .menu-btn { display: inline-flex; align-items: center; }
  #nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-block: .5rem; }
  #nav.open { display: flex; }
  #nav a { padding: 0 .5rem; border-radius: 10px; }
}

/* Hero: deeper graphite with vignetting; original drawn horizon (SVG arc, warm sunrise rim fading to cool edges);
   a faint four-colour aura behind the signature. Restrained: no photography, no stock, no heavy glows. */
.hero { --hero-pb: clamp(6.5rem, 13vh, 9.5rem); position: relative; overflow: hidden; text-align: center; padding-block: clamp(2.75rem, 6.5vh, 5rem) var(--hero-pb); isolation: isolate;
  background: radial-gradient(ellipse 85% 70% at 50% 32%, #1D2024 0%, #15171A 48%, #0D0E10 100%); }
.horizon { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.aura { position: absolute; left: 50%; top: var(--aura-y, 46%); width: min(46rem, 120%); height: 18rem; transform: translate(-50%, -50%); filter: blur(28px); opacity: .5;
  background: radial-gradient(ellipse 30% 42% at 34% 50%, rgba(130, 181, 160, .22), transparent 70%), radial-gradient(ellipse 30% 42% at 66% 50%, rgba(180, 160, 212, .22), transparent 70%), radial-gradient(ellipse 22% 36% at 50% 50%, rgba(200, 182, 127, .16), transparent 70%); }
.horizon-svg { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: calc((var(--hero-pb) - 1.25rem) / .89); display: block; }   /* arc apex sits just below the call to action */
.sunrise { position: absolute; left: 50%; bottom: calc(var(--hero-pb) - 1.25rem); width: min(64rem, 150%); height: 14rem; transform: translate(-50%, 50%);
  background: radial-gradient(ellipse 36% 32% at 50% 50%, rgba(243, 217, 168, .26), rgba(200, 182, 127, .08) 55%, transparent 75%); filter: blur(6px); }
.hero-in { position: relative; max-width: 48rem; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter-r); display: flex; flex-direction: column; align-items: center; }
.hero-wm { width: clamp(9.5rem, 5rem + 15vw, 15.5rem); }
.wm-svg { display: block; width: 100%; height: auto; overflow: visible; }
.wm-svg[hidden] { display: none; }   /* Candidate A is the default in the markup itself; review controls toggle `hidden` */
.descriptor { margin-top: 1.25rem; font: 500 clamp(.75rem, .7rem + .25vw, .875rem)/1 var(--text); letter-spacing: .42em; text-transform: uppercase; color: var(--white); padding-left: .42em; }
.signature-wrap { margin-top: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem); width: clamp(8.75rem, 5.5rem + 10vw, 14.5rem); max-width: 100%; }
.signature { display: block; width: 100%; height: auto; overflow: visible; }
.sig-glow { opacity: .4; }
.tagline { margin-top: clamp(1.75rem, 1.5rem + .8vw, 2.25rem); font: 500 clamp(1.75rem, 1.1rem + 2.8vw, 3rem)/1.12 var(--display); letter-spacing: -.02em; text-wrap: balance; }
.secondary { margin-top: .85rem; font: 400 clamp(1rem, .9rem + .45vw, 1.25rem)/1.4 var(--display); letter-spacing: .14em; color: var(--gold); padding-left: .14em; }
.lede { margin-top: clamp(1.5rem, 1.3rem + .6vw, 2rem); max-width: 33rem; color: var(--white-2); font-size: 1.0625rem; text-wrap: pretty; }
.soon { margin-top: 1.25rem; font: 600 .8125rem/1 var(--text); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); padding-left: .22em; }

/* Entrance: complete at rest; only a short lift and the 8-to-infinity morph are added */
@media (prefers-reduced-motion: no-preference) {
  [data-enter] { animation: enter .9s var(--ease) both; }
  [data-enter="2"] { animation-delay: .35s; }
  [data-enter="3"] { animation-delay: 1.6s; animation-duration: .6s; }
  [data-enter="4"] { animation-delay: 2s; }
  [data-enter="5"] { animation-delay: 2.25s; }
}
@keyframes enter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.morph { position: absolute; left: 0; top: 0; z-index: 30; pointer-events: none; overflow: visible; }

/* Bands */
.band { border-top: 1px solid var(--line); }
.band-in { max-width: 72rem; margin: 0 auto; padding-block: clamp(4rem, 10vw, 7.5rem); padding-left: var(--gutter); padding-right: var(--gutter-r); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, var(--measure)); gap: 1.5rem 4rem; align-items: start; }
@media (max-width: 52rem) { .band-in { grid-template-columns: minmax(0, 1fr); } }
.prose { display: grid; gap: 1.1rem; color: var(--white-2); font-size: 1.0625rem; max-width: var(--measure); }
.prose > p { text-wrap: pretty; }
.phil-lines { color: var(--white); font: 500 1.1875rem/1.45 var(--display); }
.phil-tag { font: 600 .8125rem/1.4 var(--text); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }

/* Footer */
.foot { border-top: 1px solid var(--line); }
.foot-in { max-width: 72rem; margin: 0 auto; padding-block: 2rem calc(2rem + env(safe-area-inset-bottom, 0px)); padding-left: var(--gutter); padding-right: var(--gutter-r); display: flex; flex-wrap: wrap; gap: .25rem .75rem; align-items: center; }
.foot-line { min-height: 44px; display: flex; flex-wrap: wrap; gap: .25rem .75rem; color: var(--muted); font-size: .875rem; align-items: center; }
.foot-line span:first-child { color: var(--white-2); font-weight: 600; }
