/* ==========================================================================
   The Iron Wolf Co. — Corporate Site
   Single stylesheet. No external dependencies, no remote fonts.
   Design language: dark industrial, neon-green accent, steel secondary.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --bg:            #08090b;
  --bg-2:          #0b0e11;
  --surface:       #101417;
  --surface-2:     #141a1f;
  --surface-3:     #1a2126;

  --line:          rgba(255, 255, 255, 0.09);
  --line-strong:   rgba(255, 255, 255, 0.17);
  --line-neon:     rgba(94, 247, 58, 0.34);

  --text:          #eef2f5;
  --muted:         #9dabb6;
  --muted-2:       #6d7a86;

  /* Neon accent. Extracted from the W.O.L.F. Task Tracker, not chosen:
     wolf_tracker/static/styles.css defines --green #5ef73a, --green-core
     #a8ff88, --green-ink #04180a, --green-soft rgba(94,247,58,.14).
     --neon-dim is a darkened #5ef73a for low-emphasis green text and is the
     only value here that is not a tracker token verbatim. */
  --neon:          #5ef73a;
  --neon-core:     #a8ff88;
  --neon-dim:      #3fa32b;
  --neon-ink:      #04180a;
  --neon-wash:     rgba(94, 247, 58, 0.14);
  --steel:         #c4cdd5;
  --blue:          #4aa8ff;
  --amber:         #ffc95c;

  --max:           1180px;
  --gutter:        clamp(1.15rem, 4vw, 2.5rem);
  --radius:        2px;

  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SFMono-Regular", Consolas,
          "Liberation Mono", monospace;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Faint industrial grid — pure CSS, no image request */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 85%);
}

img { max-width: 100%; display: block; }

a { color: var(--neon); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -0.018em;
}

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0; padding: 0; }

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 0.75rem 1.15rem;
  background: var(--neon);
  color: var(--neon-ink);
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.skip-link:focus { left: 0.75rem; top: 0.75rem; text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 3px;
  border-radius: 1px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
  position: relative;
  z-index: 1;
}

.section {
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
  position: relative;
  z-index: 1;
}
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--alt {
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.018) 12%, rgba(255,255,255,0.018) 88%, transparent);
  border-block: 1px solid var(--line);
}

.rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, var(--line-neon), var(--line) 30%, transparent 85%);
}

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--neon);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--neon);
  opacity: 0.8;
}
.eyebrow--muted { color: var(--muted-2); }
.eyebrow--muted::before { background: var(--muted-2); }

.h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  max-width: 22ch;
}
.h3 {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
}

.lead {
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  color: var(--muted);
  max-width: 62ch;
  line-height: 1.7;
}

.section-head { margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head .h2 + .lead { margin-top: 1rem; }

/* ---------- Chips / pills ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.6rem;
  border: 1px solid var(--line-strong);
  border-radius: 1px;
  font-family: var(--mono);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.chip::before {
  content: "";
  width: 5px; height: 5px;
  background: var(--muted-2);
  border-radius: 50%;
}
.chip--draft {
  border-color: rgba(255, 201, 92, 0.4);
  color: var(--amber);
  background: rgba(255, 201, 92, 0.07);
}
.chip--draft::before { background: var(--amber); }
.chip--dev {
  border-color: var(--line-neon);
  color: var(--neon);
  background: var(--neon-wash);
}
.chip--dev::before { background: var(--neon); box-shadow: 0 0 6px var(--neon); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.82rem 1.4rem;
  border: 1px solid var(--line-neon);
  border-radius: var(--radius);
  background: var(--neon-wash);
  color: var(--neon);
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 180ms var(--ease), border-color 180ms var(--ease),
              color 180ms var(--ease), transform 180ms var(--ease);
}
.btn:hover {
  background: var(--neon);
  border-color: var(--neon);
  color: var(--neon-ink);
  text-decoration: none;
  transform: translateY(-1px);
}
.btn::after { content: "\2192"; font-size: 0.95rem; line-height: 1; }

.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--steel);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.06);
  border-color: var(--steel);
  color: var(--text);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 9, 11, 0.82);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}
.brand:hover { text-decoration: none; }
.brand__mark {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(94, 247, 58, 0.32);
  filter: drop-shadow(0 0 7px rgba(94, 247, 58, 0.3));
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand__name {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.brand__sub {
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--neon-dim);
}

/* Navigation states are four distinct, non-overlapping treatments:
     inactive  — muted label, no background, no rule
     hover     — label brightens, faint wash (temporary, all links identical)
     active    — neon label + fixed underline rail (the current page)
     focus     — the global :focus-visible outline ring, on any state
   The active state deliberately uses a rule rather than a filled box: a box
   plus a focus ring read as a stuck hover, which is what was reported. */
.nav { display: flex; align-items: center; gap: 0.35rem; }
.nav__link {
  position: relative;
  padding: 0.5rem 0.75rem 0.62rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  text-decoration: none;
  border: 0;
  border-radius: 1px;
  background-color: transparent;
  transition: color 160ms var(--ease), background-color 160ms var(--ease);
}
.nav__link:hover {
  color: var(--text);
  background-color: rgba(255, 255, 255, 0.05);
  text-decoration: none;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.3rem;
  height: 2px;
  background: var(--neon);
  border-radius: 1px;
  opacity: 0;
  transform: scaleX(0.35);
  transform-origin: left center;
  transition: opacity 160ms var(--ease), transform 200ms var(--ease);
}
.nav__link[aria-current="page"] { color: var(--neon); }
.nav__link[aria-current="page"]::after { opacity: 1; transform: scaleX(1); }
.nav__link[aria-current="page"]:hover { color: var(--neon); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.7rem;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--steel);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}
.nav-toggle__bars { display: grid; gap: 3px; width: 15px; }
.nav-toggle__bars span {
  height: 1.5px;
  background: currentColor;
  transition: transform 200ms var(--ease), opacity 200ms var(--ease);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(3rem, 7vw, 5.5rem) clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  max-width: 780px;
  max-height: 780px;
  background: radial-gradient(circle, rgba(94,247,58,0.13), transparent 62%);
  pointer-events: none;
  z-index: 0;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero__title {
  font-size: clamp(2.3rem, 5.4vw, 4rem);
  letter-spacing: -0.03em;
  margin-bottom: 1.4rem;
}
.hero__title em {
  font-style: normal;
  color: var(--neon);
  text-shadow: 0 0 34px rgba(94, 247, 58, 0.35);
}
.hero__body {
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  color: var(--muted);
  max-width: 54ch;
  margin-bottom: 2rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.25rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.6rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.hero__meta div {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.hero__meta strong {
  display: block;
  color: var(--steel);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  margin-top: 0.2rem;
}

/* Artwork frame with technical corner brackets.
   The frame ratio matches the artwork's own 2:3 ratio (1024 x 1536), so
   `object-fit: cover` fills it exactly and crops nothing. The previous 4:5
   frame was narrower than the image and cropped 16.7% of its height, which
   cut the top of the wolf's head. */
.art-frame {
  position: relative;
  aspect-ratio: 2 / 3;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(ellipse at 50% 40%, rgba(94,247,58,0.09), transparent 65%),
    linear-gradient(160deg, var(--surface-2), var(--bg-2));
  overflow: hidden;
}
.art-frame::before,
.art-frame::after {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  border: 1px solid var(--neon);
  opacity: 0.75;
  z-index: 2;
  pointer-events: none;
}
.art-frame::before { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.art-frame::after { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }

.art-frame__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* No crop occurs at 2:3. `top` only protects the head if the artwork is ever
     replaced with an image of a different ratio. */
  object-position: center top;
  position: relative;
  z-index: 1;
  filter: saturate(1.05) contrast(1.04);
}
.art-frame__scan {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(0,0,0,0) 0px,
    rgba(0,0,0,0) 2px,
    rgba(0,0,0,0.16) 3px,
    rgba(0,0,0,0) 4px
  );
  mix-blend-mode: multiply;
  opacity: 0.55;
}
.art-frame__tag {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 4;
  padding: 0.4rem 0.7rem;
  background: rgba(8,9,11,0.86);
  border-top: 1px solid var(--line-neon);
  border-right: 1px solid var(--line-neon);
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--neon);
}

/* ---------- Stat strip ---------- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--surface);
}
.stat-strip > div {
  position: relative;
  padding: 1.15rem 1.25rem 1.3rem;
  border-right: 1px solid var(--line);
}
/* Accent bar beneath each cell, echoing the W.O.L.F. status cards */
.stat-strip > div::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--neon);
  opacity: 0.6;
}
.stat-strip > div:nth-child(2)::after { background: var(--blue); opacity: 0.5; }
.stat-strip > div:nth-child(3)::after { background: var(--steel); opacity: 0.32; }
.stat-strip > div:nth-child(4)::after { background: var(--neon-dim); opacity: 0.55; }
.stat-strip > div:last-child { border-right: 0; }
.stat-strip dt {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 0.35rem;
}
.stat-strip dd {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

/* ---------- Generic grids & cards ---------- */
.grid { display: grid; gap: 1rem; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.card {
  position: relative;
  padding: clamp(1.25rem, 2.4vw, 1.9rem);
  background: linear-gradient(170deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  transition: border-color 220ms var(--ease), transform 220ms var(--ease),
              background 220ms var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  inset: -1px -1px auto -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-neon), transparent);
  opacity: 0;
  transition: opacity 220ms var(--ease);
}
.card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}
.card:hover::before { opacity: 1; }

.card__index {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  color: var(--neon-dim);
  margin-bottom: 0.85rem;
  display: block;
}
.card__title {
  font-size: 1.12rem;
  margin-bottom: 0.55rem;
  color: var(--text);
}
.card__body {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
  margin: 0;
}
.card__foot {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.card__link {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.card--link { display: flex; flex-direction: column; }
.card--link .card__body { flex: 1; }

/* ---------- Values ---------- */
.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.value {
  background: var(--bg-2);
  padding: 1.35rem 1.4rem;
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  transition: background 200ms var(--ease);
}
.value:hover { background: var(--surface); }
.value__num {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--neon);
  padding-top: 0.2rem;
  min-width: 1.4rem;
}
.value__label {
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 0.2rem;
}
.value__note {
  font-size: 0.83rem;
  color: var(--muted-2);
  margin: 0;
  line-height: 1.55;
}

/* ---------- Split / prose blocks ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(1.75rem, 4vw, 4rem);
  align-items: start;
}

.prose { color: var(--muted); font-size: 1rem; }
.prose h3 {
  color: var(--text);
  font-size: 1.05rem;
  margin: 2rem 0 0.6rem;
}
.prose h3:first-child { margin-top: 0; }
.prose p { margin-bottom: 0.9rem; }
.prose strong { color: var(--steel); font-weight: 600; }
.prose ul { margin: 0 0 1rem; padding-left: 1.15rem; }
.prose li { margin-bottom: 0.4rem; }
.prose li::marker { color: var(--neon-dim); }

/* ---------- Portfolio ---------- */
.portfolio-card { display: flex; flex-direction: column; }
.portfolio-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}
.portfolio-card__title { font-size: 1.08rem; margin: 0; }
.portfolio-card__desc {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.65;
  flex: 1;
  margin: 0 0 1.1rem;
}
.portfolio-card__areas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1.1rem;
}
.tag {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  border: 1px solid var(--line);
  padding: 0.2rem 0.45rem;
}
.portfolio-card__future {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px dashed var(--line);
  font-family: var(--mono);
  font-size: 0.63rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* ---------- Notice ---------- */
.notice {
  display: flex;
  gap: 0.9rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line-strong);
  border-left: 2px solid var(--amber);
  background: rgba(255, 201, 92, 0.05);
  font-size: 0.9rem;
  color: var(--muted);
}
.notice--info {
  border-left-color: var(--neon);
  background: var(--neon-wash);
}
.notice strong { color: var(--text); }
.notice__label {
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  display: block;
  margin-bottom: 0.25rem;
}
.notice--info .notice__label { color: var(--neon); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  padding: clamp(2.5rem, 5vw, 4rem);
  border: 1px solid var(--line-neon);
  background:
    radial-gradient(ellipse at 0% 0%, rgba(94,247,58,0.11), transparent 58%),
    linear-gradient(150deg, var(--surface), var(--bg-2));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 180px;
  height: 180px;
  border: 1px solid var(--line-neon);
  transform: rotate(45deg);
  opacity: 0.25;
  pointer-events: none;
}
.cta-band__text { max-width: 46ch; position: relative; z-index: 1; }
.cta-band h2 {
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  margin-bottom: 0.6rem;
}
.cta-band p { color: var(--muted); margin: 0; }
.cta-band .btn { position: relative; z-index: 1; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding-block: clamp(2.5rem, 5vw, 3.5rem) 1.75rem;
  position: relative;
  z-index: 1;
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr));
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer__brand p {
  color: var(--muted-2);
  font-size: 0.88rem;
  max-width: 38ch;
  margin-top: 1rem;
}
.footer__head {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 0.9rem;
}
.footer__list { list-style: none; }
.footer__list li { margin-bottom: 0.5rem; }
.footer__list a {
  color: var(--muted);
  font-size: 0.88rem;
  text-decoration: none;
}
.footer__list a:hover { color: var(--neon); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.footer__status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.footer__status::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 8px rgba(255,201,92,0.7);
}

/* ---------- Page header (interior pages) ---------- */
.page-head {
  padding-block: clamp(2.75rem, 6vw, 4.5rem) clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 1;
}
.page-head__title {
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
  max-width: 20ch;
}
.page-head__lead { color: var(--muted); max-width: 60ch; font-size: clamp(1rem,1.4vw,1.1rem); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}
.contact-panel {
  padding: clamp(1.4rem, 3vw, 2.1rem);
  border: 1px solid var(--line);
  background: var(--surface);
}
.contact-panel h3 { font-size: 1.05rem; margin-bottom: 0.75rem; }
.contact-panel p { color: var(--muted); font-size: 0.93rem; }

.placeholder-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.85rem 1rem;
  border: 1px dashed var(--line-strong);
  background: var(--bg-2);
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--muted-2);
  margin-top: 1rem;
}
.placeholder-field span:last-child {
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  border: 1px solid rgba(255,201,92,0.4);
  padding: 0.15rem 0.4rem;
}

/* ---------- Legal / privacy ---------- */
.draft-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  padding: 1rem 1.25rem;
  margin-bottom: 2.5rem;
  border: 1px solid rgba(255, 201, 92, 0.45);
  border-left: 3px solid var(--amber);
  background: rgba(255, 201, 92, 0.07);
}
.draft-banner__tag {
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  border: 1px solid rgba(255,201,92,0.5);
  padding: 0.25rem 0.55rem;
}
.draft-banner p { margin: 0; font-size: 0.9rem; color: var(--muted); }
.draft-banner strong { color: var(--text); }

.legal {
  max-width: 74ch;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.75;
}
.legal h2 {
  font-size: 1.12rem;
  color: var(--text);
  margin: 2.25rem 0 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
}
.legal h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.legal h2 .num {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--neon-dim);
  letter-spacing: 0.1em;
}
.legal ul { padding-left: 1.2rem; margin-bottom: 1rem; }
.legal li { margin-bottom: 0.4rem; }
.legal li::marker { color: var(--neon-dim); }
.legal .ph {
  font-family: var(--mono);
  font-size: 0.85em;
  color: var(--amber);
  background: rgba(255,201,92,0.08);
  border: 1px dashed rgba(255,201,92,0.35);
  padding: 0.05rem 0.35rem;
  white-space: nowrap;
}
.legal__toc {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
}
.legal__toc h2 {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin: 0 0 0.85rem;
  padding: 0;
  border: 0;
  display: block;
}
.legal__toc ol {
  columns: 2;
  column-gap: 2rem;
  padding-left: 1.1rem;
  font-size: 0.86rem;
}
.legal__toc li { margin-bottom: 0.35rem; break-inside: avoid; }
.legal__toc a { color: var(--muted); }
.legal__toc a:hover { color: var(--neon); }

/* ---------- Reveal animation ---------- */
/* Reveal-on-scroll is opt-in via the .js class: without JavaScript, or if the
   script fails to load, content stays visible rather than disappearing. */
.reveal { opacity: 1; transform: none; }

.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 620ms var(--ease), transform 620ms var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .art-frame { aspect-ratio: 2 / 3; max-width: 420px; }
  .split { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-strip > div:nth-child(2) { border-right: 0; }
  .stat-strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 780px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem var(--gutter) 1rem;
    background: rgba(8, 9, 11, 0.98);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav__link {
    padding: 0.85rem 0.9rem;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    font-size: 0.78rem;
  }
  /* A horizontal rail would sit on the row divider, so the stacked menu marks
     the current page with a left edge bar instead. */
  .nav__link::after { display: none; }
  .nav__link[aria-current="page"] {
    background-color: var(--neon-wash);
    box-shadow: inset 3px 0 0 var(--neon);
  }
  .nav__link[aria-current="page"]:hover { background-color: var(--neon-wash); }
  .site-header__inner { position: relative; }
  .legal__toc ol { columns: 1; }
}

@media (max-width: 620px) {
  .grid--2, .grid--3, .grid--auto { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .hero__meta { gap: 1rem 1.5rem; }
  .btn { width: 100%; justify-content: center; }
  .hero__actions { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal, .js .reveal { opacity: 1; transform: none; }
}

@media print {
  body::before, .site-header, .site-footer, .cta-band { display: none; }
  body { background: #fff; color: #000; }
}
