/* ==========================================================================
   BLACK ZIRCON GAME STUDIO — pre-reveal site
   Fonts: Archivo (display) + Manrope (text), self-hosted, SIL OFL 1.1
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations"),
       url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/manrope-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Palette */
  --obsidian: #090A0C;
  --charcoal: #15171B;
  --graphite: #25282E;
  --platinum: #D8DADF;
  --gold: #B69A61;

  /* Derived tones */
  --platinum-dim: rgba(216, 218, 223, 0.66);
  --platinum-faint: rgba(216, 218, 223, 0.42);
  --line: rgba(216, 218, 223, 0.09);
  --line-strong: rgba(216, 218, 223, 0.16);
  --gold-soft: rgba(182, 154, 97, 0.35);
  --gold-faint: rgba(182, 154, 97, 0.12);

  /* Type */
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-text: "Manrope", "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --gutter: clamp(20px, 5vw, 72px);
  --max: 1320px;
  --header-h: 76px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-inout: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  background: var(--obsidian);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--obsidian);
  color: var(--platinum);
  font-family: var(--font-text);
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection { background: var(--gold); color: var(--obsidian); }

a { color: inherit; }

:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--platinum);
  color: var(--obsidian);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.25s var(--ease-out);
}
.skip-link:focus { transform: translateY(0); }

.idx {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   Ambient background
   -------------------------------------------------------------------------- */

.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% 0%, var(--charcoal) 0%, var(--obsidian) 62%);
}

.ambient__grid {
  position: absolute;
  inset: -2px;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 96px 96px;
  background-position: center center;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 38%, #000 0%, rgba(0,0,0,0.35) 45%, transparent 80%);
          mask-image: radial-gradient(70% 60% at 50% 38%, #000 0%, rgba(0,0,0,0.35) 45%, transparent 80%);
  opacity: 0.9;
  animation: grid-drift 60s linear infinite;
}

@keyframes grid-drift {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(0, 96px, 0); }
}

.ambient__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  will-change: transform;
}
.ambient__glow--a {
  width: 60vmax; height: 60vmax;
  top: -28vmax; left: -12vmax;
  background: radial-gradient(circle, rgba(216, 218, 223, 0.07), transparent 65%);
  animation: glow-a 28s var(--ease-inout) infinite alternate;
}
.ambient__glow--b {
  width: 50vmax; height: 50vmax;
  bottom: -24vmax; right: -14vmax;
  background: radial-gradient(circle, rgba(182, 154, 97, 0.075), transparent 65%);
  animation: glow-b 34s var(--ease-inout) infinite alternate;
}
@keyframes glow-a { to { transform: translate3d(14vmax, 10vmax, 0) scale(1.1); } }
@keyframes glow-b { to { transform: translate3d(-12vmax, -8vmax, 0) scale(1.15); } }

/* a single slow diagonal sweep of light */
.ambient__beam {
  position: absolute;
  top: -50%;
  left: -30%;
  width: 40%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(216, 218, 223, 0.025) 45%, rgba(216, 218, 223, 0.045) 50%, rgba(216, 218, 223, 0.025) 55%, transparent);
  transform: rotate(18deg) translateX(-120%);
  animation: beam 22s var(--ease-inout) infinite;
}
@keyframes beam {
  0%   { transform: rotate(18deg) translateX(-120%); }
  60%, 100% { transform: rotate(18deg) translateX(420%); }
}

.ambient__grain {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   Header & navigation
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: var(--header-h);
  transition: background-color 0.5s var(--ease-out), border-color 0.5s var(--ease-out), backdrop-filter 0.5s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(9, 10, 12, 0.78);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
          backdrop-filter: blur(14px) saturate(120%);
  border-bottom-color: var(--line);
}

.site-header__inner {
  max-width: var(--max);
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 125%;
  font-size: 0.82rem;
  letter-spacing: 0.32em;
  white-space: nowrap;
  transition: color 0.3s;
}
.wordmark:hover { color: #fff; }

.site-nav ul {
  display: flex;
  gap: clamp(24px, 3.5vw, 48px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  padding: 8px 0;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--platinum-dim);
  transition: color 0.3s var(--ease-out);
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease-out);
}
.site-nav a:hover,
.site-nav a[aria-current="true"] { color: var(--platinum); }
.site-nav a:hover::after,
.site-nav a[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  background: none;
  border: 0;
  color: var(--platinum);
  font: 600 0.7rem/1 var(--font-text);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
}
.nav-toggle__bars { position: relative; width: 22px; height: 8px; }
.nav-toggle__bars span {
  position: absolute; left: 0; right: 0; height: 1px;
  background: currentColor;
  transition: transform 0.4s var(--ease-out), top 0.4s var(--ease-out);
}
.nav-toggle__bars span:first-child { top: 0; }
.nav-toggle__bars span:last-child { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:first-child { top: 4px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:last-child  { top: 4px; transform: rotate(-45deg); }

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    height: calc(100dvh - var(--header-h));
    background: var(--obsidian);
    border-top: 1px solid var(--line);
    padding: 40px var(--gutter);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out), visibility 0s linear 0.4s;
  }
  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
  }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav li { border-bottom: 1px solid var(--line); }
  .site-nav a {
    display: flex;
    gap: 18px;
    padding: 22px 0;
    font-family: var(--font-display);
    font-stretch: 115%;
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: 0.14em;
    color: var(--platinum);
  }
  .site-nav a::after { display: none; }
  body.nav-open { overflow: hidden; }
  .site-header.nav-is-open { background: var(--obsidian); border-bottom-color: var(--line); }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-h) + 40px) var(--gutter) 120px;
  text-align: center;
}

.hero__inner {
  width: 100%;
  max-width: var(--max);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 clamp(36px, 6vh, 64px);
  padding: 9px 18px 9px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(21, 23, 27, 0.55);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--platinum-dim);
}
.status-pill__dot {
  position: relative;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.status-pill__dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  opacity: 0;
  animation: pulse 2.8s var(--ease-out) infinite;
}
@keyframes pulse {
  0%   { transform: scale(0.4); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1;
}
.hero__line { display: block; }
.hero__line--main {
  font-weight: 800;
  font-stretch: 125%;
  font-size: clamp(2.6rem, 10.2vw, 9.5rem);
  letter-spacing: -0.015em;
  line-height: 0.92;
  color: var(--platinum);
}
.hero__line--main > span {
  display: inline-block;
  padding-bottom: 0.06em; /* keeps clipped gradient from trimming descenders */
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero__line--main > span {
    background: linear-gradient(180deg, #F4F5F7 0%, var(--platinum) 48%, #8F939B 100%);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}
.hero__line--sub {
  margin-top: clamp(16px, 2.4vw, 28px);
  font-family: var(--font-text);
  font-weight: 500;
  font-size: clamp(0.72rem, 1.4vw, 1.05rem);
  letter-spacing: 0.62em;
  text-transform: uppercase;
  /* balance the trailing letter-space so it centres optically */
  padding-left: 0.62em;
  color: var(--platinum-dim);
}

.hero__rule {
  width: min(520px, 70vw);
  height: 1px;
  margin: clamp(36px, 6vh, 56px) 0 clamp(28px, 4.5vh, 40px);
  background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent);
  transform-origin: center;
}

.hero__tagline {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-stretch: 112%;
  font-size: clamp(0.82rem, 1.5vw, 1.1rem);
  letter-spacing: 0.3em;
  padding-left: 0.3em;
  color: var(--gold);
}

.hero__lede {
  max-width: 34ch;
  margin: 18px 0 0;
  font-size: clamp(0.95rem, 1.3vw, 1.08rem);
  font-weight: 400;
  line-height: 1.65;
  color: var(--platinum-dim);
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  padding-left: 0.32em;
  text-transform: uppercase;
  color: var(--platinum-faint);
  transition: color 0.3s;
}
.hero__scroll:hover { color: var(--platinum); }
.hero__scroll-line {
  position: relative;
  width: 1px;
  height: 44px;
  background: var(--line-strong);
  overflow: hidden;
}
.hero__scroll-line::after {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 1px; height: 40%;
  background: var(--gold);
  animation: scroll-cue 2.4s var(--ease-inout) infinite;
}
@keyframes scroll-cue {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(260%); }
}

.hero__meta {
  position: absolute;
  bottom: 40px;
  left: var(--gutter);
  right: var(--gutter);
  display: flex;
  justify-content: space-between;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--platinum-faint);
  pointer-events: none;
}
@media (max-width: 760px) { .hero__meta { display: none; } }

/* Hero entrance — applied once JS adds .is-loaded (no-JS shows everything) */
.js .hero__status,
.js .hero__line--main > span,
.js .hero__line--sub,
.js .hero__tagline,
.js .hero__lede,
.js .hero__scroll,
.js .hero__meta { opacity: 0; }
.js .hero__rule { transform: scaleX(0); }

.js.is-loaded .hero__status { animation: rise 1.2s var(--ease-out) 0.1s both; }
.js.is-loaded .hero__line--main > span { animation: rise-blur 1.6s var(--ease-out) both; }
.js.is-loaded .hero__line--main > span:first-child { animation-delay: 0.25s; }
.js.is-loaded .hero__line--main > span:last-child  { animation-delay: 0.42s; }
.js.is-loaded .hero__line--sub { animation: fade-track 1.8s var(--ease-out) 0.9s both; }
.js.is-loaded .hero__rule { animation: draw 1.6s var(--ease-inout) 1.1s both; }
.js.is-loaded .hero__tagline { animation: rise 1.3s var(--ease-out) 1.55s both; }
.js.is-loaded .hero__lede { animation: rise 1.3s var(--ease-out) 1.75s both; }
.js.is-loaded .hero__scroll,
.js.is-loaded .hero__meta { animation: fade 1.4s var(--ease-out) 2.2s both; }

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
@keyframes rise-blur {
  from { opacity: 0; transform: translateY(36px); filter: blur(10px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes fade-track {
  from { opacity: 0; letter-spacing: 1.1em; }
  to   { opacity: 1; letter-spacing: 0.62em; }
}
@keyframes draw {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* --------------------------------------------------------------------------
   Content sections
   -------------------------------------------------------------------------- */

.section {
  position: relative;
  padding: clamp(96px, 16vh, 180px) var(--gutter);
}
.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  max-width: calc(var(--max) - 2 * var(--gutter));
  margin: 0 auto;
  height: 1px;
  background: linear-gradient(90deg, var(--line-strong), var(--line) 60%, transparent);
}

.section__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(140px, 3fr) 9fr;
  gap: clamp(32px, 5vw, 80px);
}

.section__label {
  display: flex;
  align-items: baseline;
  gap: 14px;
  align-self: start;
  position: sticky;
  top: calc(var(--header-h) + 32px);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--platinum-faint);
}
.section__label .idx { font-size: 0.68rem; }

.section__title {
  margin: 0 0 clamp(32px, 5vh, 52px);
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 118%;
  font-size: clamp(2.1rem, 5.6vw, 4.9rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--platinum);
}

.prose { max-width: 60ch; }
.prose p {
  margin: 0 0 1.2em;
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  color: var(--platinum-dim);
}
.prose p:last-child { margin-bottom: 0; }
.prose__lead {
  font-size: clamp(1.15rem, 1.7vw, 1.4rem) !important;
  font-weight: 500;
  line-height: 1.5;
  color: var(--platinum) !important;
}

@media (max-width: 860px) {
  .section__inner { grid-template-columns: 1fr; gap: 28px; }
  .section__label { position: static; }
}

/* --------------------------------------------------------------------------
   Status plate
   -------------------------------------------------------------------------- */

.plate {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: clamp(48px, 8vh, 80px);
  padding: clamp(36px, 5vw, 56px) clamp(28px, 4vw, 56px);
  background:
    linear-gradient(180deg, rgba(37, 40, 46, 0.45), rgba(21, 23, 27, 0.6));
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.6s var(--ease-out);
}
.plate:hover { border-color: var(--gold-soft); }

.plate__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}
.plate__eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.plate__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-stretch: 125%;
  font-size: clamp(1.15rem, 2.8vw, 2.1rem);
  letter-spacing: 0.08em;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--platinum);
}

.plate__corner {
  position: absolute;
  width: 14px; height: 14px;
  border-color: var(--gold);
  border-style: solid;
  border-width: 0;
  opacity: 0.8;
  transition: transform 0.6s var(--ease-out);
}
.plate__corner--tl { top: -1px; left: -1px; border-top-width: 1px; border-left-width: 1px; }
.plate__corner--tr { top: -1px; right: -1px; border-top-width: 1px; border-right-width: 1px; }
.plate__corner--bl { bottom: -1px; left: -1px; border-bottom-width: 1px; border-left-width: 1px; }
.plate__corner--br { bottom: -1px; right: -1px; border-bottom-width: 1px; border-right-width: 1px; }
.plate:hover .plate__corner--tl { transform: translate(-4px, -4px); }
.plate:hover .plate__corner--tr { transform: translate(4px, -4px); }
.plate:hover .plate__corner--bl { transform: translate(-4px, 4px); }
.plate:hover .plate__corner--br { transform: translate(4px, 4px); }

/* slow sweep of light — a sense of work happening, without implying progress */
.plate__scan {
  position: absolute;
  top: 0; bottom: 0;
  left: 0;
  width: 30%;
  background: linear-gradient(90deg, transparent, rgba(182, 154, 97, 0.07), transparent);
  transform: translateX(-120%);
  animation: scan 7s var(--ease-inout) infinite;
  pointer-events: none;
}
@keyframes scan {
  0%   { transform: translateX(-120%); }
  55%, 100% { transform: translateX(420%); }
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact { margin-top: clamp(40px, 6vh, 64px); }

.contact__pending {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 18px 24px;
  border: 1px dashed var(--line-strong);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--platinum-dim);
}
.contact__pending-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  border: 1px solid var(--gold);
}

.contact__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
  padding: 4px 0 14px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-stretch: 108%;
  font-size: clamp(1.15rem, 3.4vw, 2.6rem);
  letter-spacing: 0.01em;
  color: var(--platinum);
  word-break: break-word;
}
.contact__link::before,
.contact__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 1px;
  width: 100%;
}
.contact__link::before { background: var(--line-strong); }
.contact__link::after {
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.7s var(--ease-out);
}
.contact__link:hover::after,
.contact__link:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.contact__arrow {
  flex: none;
  width: 0.8em; height: 0.8em;
  color: var(--gold);
  transition: transform 0.5s var(--ease-out);
}
.contact__link:hover .contact__arrow { transform: translate(4px, -4px); }

.contact__note {
  margin: 16px 0 0;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--platinum-faint);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  position: relative;
  padding: clamp(72px, 12vh, 120px) var(--gutter) 40px;
  background: linear-gradient(180deg, transparent, rgba(21, 23, 27, 0.7));
  border-top: 1px solid var(--line);
}
.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
}
.site-footer__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 125%;
  font-size: clamp(1.1rem, 4.4vw, 3.6rem);
  letter-spacing: 0.04em;
  line-height: 1;
  color: #6A6E77; /* ≥3:1 against obsidian for large text */
  transition: color 0.8s var(--ease-out);
}
.site-footer:hover .site-footer__name { color: #8A8E97; }
.site-footer__rule {
  width: 64px;
  height: 1px;
  margin: 32px 0 24px;
  background: var(--gold);
}
.site-footer__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--platinum-dim);
}
.site-footer__tagline { color: var(--gold); }
.site-footer__legal {
  margin: 48px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--platinum-faint);
}

/* --------------------------------------------------------------------------
   Scroll reveal
   -------------------------------------------------------------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.2s var(--ease-out), transform 1.2s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
  }
  .ambient__beam, .plate__scan, .hero__scroll-line::after { display: none; }
  .js .reveal { opacity: 1; transform: none; }
  .js .hero__status, .js .hero__line--main > span, .js .hero__line--sub,
  .js .hero__tagline, .js .hero__lede, .js .hero__scroll, .js .hero__meta { opacity: 1; }
  .js .hero__rule { transform: none; }
}

/* --------------------------------------------------------------------------
   Small-screen refinements
   -------------------------------------------------------------------------- */

.hero__tagline,
.contact__pending,
.site-footer__name,
.plate__title { text-wrap: balance; }

@media (max-width: 600px) {
  .hero__line--main { font-size: clamp(2.6rem, 15vw, 4.4rem); }
  .hero__line--sub { font-size: 0.72rem; letter-spacing: 0.5em; padding-left: 0.5em; }
  .js.is-loaded .hero__line--sub { animation-name: fade-track-sm; }
  .hero__tagline { font-size: 0.8rem; letter-spacing: 0.22em; padding-left: 0.22em; line-height: 1.9; }
  .hero__status { margin-bottom: 40px; }
  .contact__pending { letter-spacing: 0.18em; }
}
@keyframes fade-track-sm {
  from { opacity: 0; letter-spacing: 0.9em; }
  to   { opacity: 1; letter-spacing: 0.5em; }
}
