/* ==========================================================================
   Mr.Ghost — design system
   Monochrome charcoal, one accent. No frameworks, no webfonts, no jQuery.
   ========================================================================== */

/* --- tokens ------------------------------------------------------------- */
:root {
  /* brand greys carried over from the original site (#3d3c3f / #1a171b) */
  --ink-900: #0d0c0e;
  --ink-800: #121013;
  --ink-700: #17151a;
  --ink-600: #1a171b;
  --char:    #3d3c3f;
  --char-hi: #4a494d;
  --silver:  #c0c0c0;
  --white:   #ffffff;
  --accent:  #ff1a00;
  --accent-soft: rgba(255, 26, 0, .12);

  --txt:       #ececee;
  --txt-dim:   #a4a1a8;
  /* #85828a, not #78757c: the darker grey measured 4.0–4.3:1 on these
     backgrounds and failed WCAG AA (4.5:1) for the eyebrows, stat labels and
     footer. This clears it at 4.8–5.2:1. */
  --txt-faint: #85828a;

  --line:     rgba(192, 192, 192, .10);
  --line-str: rgba(192, 192, 192, .18);

  --radius:    14px;
  --radius-lg: 20px;

  --shell: 1180px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);

  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI Variable Display",
          "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", "Segoe UI Mono", Menlo, Consolas, monospace;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur: .34s;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--txt);
  background: var(--ink-900);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; letter-spacing: -.028em; font-weight: 800; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

::selection { background: var(--accent); color: #fff; }

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

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--accent); color: #fff; padding: .8rem 1.2rem;
  font-weight: 700; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

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

/* --- film grain --------------------------------------------------------- */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: .032;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --- layout ------------------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(4.5rem, 10vw, 8.5rem); position: relative; z-index: 2; }
.section--tight { padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* --- section heads ------------------------------------------------------ */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .72rem; font-weight: 800; letter-spacing: .19em;
  text-transform: uppercase; color: var(--txt-faint); margin-bottom: 1.15rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); flex: none; }

.sec-head { max-width: 62ch; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.sec-head h2 { font-size: clamp(1.95rem, 4.6vw, 3.1rem); color: var(--white); letter-spacing: -.035em; }
.sec-head p { margin-top: 1.1rem; font-size: clamp(1rem, 1.6vw, 1.12rem); color: var(--txt-dim); max-width: 56ch; }

/* --- buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .92rem 1.6rem;
  border-radius: 10px;
  font-weight: 700; font-size: .95rem; letter-spacing: -.005em; white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease),
              color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.05em; height: 1.05em; flex: none; }

.btn--primary { background: var(--white); color: var(--ink-900); }
.btn--primary:hover { background: var(--silver); }

.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: #ff3a22; }

.btn--ghost { background: transparent; color: var(--txt); border-color: var(--line-str); }
.btn--ghost:hover { background: rgba(192,192,192,.06); border-color: var(--silver); color: var(--white); }

.btn--sm { padding: .6rem 1.05rem; font-size: .85rem; border-radius: 8px; }
.btn--block { width: 100%; }

/* --- header ------------------------------------------------------------- */
.site-head {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13, 12, 14, .74);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.site-head[data-stuck="true"] { border-bottom-color: var(--line); background: rgba(13, 12, 14, .92); }
.site-head::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: var(--accent); }

.nav { display: flex; align-items: center; gap: 1.5rem; height: 68px; }

.brand {
  display: inline-flex; align-items: center; gap: .62rem;
  font-weight: 800; letter-spacing: -.045em; font-size: 1.16rem;
  color: var(--white); margin-right: auto;
}
.brand__mark { width: 21px; height: auto; fill: var(--silver); transition: fill var(--dur) var(--ease); }
.brand:hover .brand__mark { fill: var(--white); }
.brand em { font-style: normal; color: var(--accent); }

.nav__links { display: flex; align-items: center; gap: .35rem; list-style: none; }
/* :not(.btn) so the Discord button keeps its own display/padding/colour */
.nav__links a:not(.btn) {
  display: block; padding: .5rem .85rem; border-radius: 8px;
  font-size: .92rem; font-weight: 600; color: var(--txt-dim);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav__links a:not(.btn):hover { color: var(--white); background: rgba(192,192,192,.06); }
.nav__links a[aria-current="page"] { color: var(--white); }
.nav__links a[aria-current="page"]::after {
  content: ""; display: block; height: 2px; width: 16px;
  background: var(--accent); border-radius: 2px; margin: .28rem auto 0;
}
.nav__cta { margin-left: .5rem; }

.nav__toggle {
  display: none; background: none; border: 1px solid var(--line-str);
  border-radius: 9px; width: 42px; height: 42px; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav__toggle span { display: block; width: 17px; height: 1.5px; background: var(--txt); position: relative; transition: background .2s var(--ease); }
.nav__toggle span::before, .nav__toggle span::after {
  content: ""; position: absolute; left: 0; width: 17px; height: 1.5px;
  background: var(--txt); transition: transform var(--dur) var(--ease);
}
.nav__toggle span::before { top: -5.5px; }
.nav__toggle span::after  { top:  5.5px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translateY(5.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after  { transform: translateY(-5.5px) rotate(-45deg); }

@media (max-width: 800px) {
  .nav__toggle { display: inline-flex; }
  .nav__links {
    position: fixed; inset: 68px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink-700);
    border-bottom: 1px solid var(--line-str);
    box-shadow: 0 26px 50px -14px rgba(0, 0, 0, .8);
    padding: .6rem var(--gutter) 1.4rem;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    /* visibility flips instantly (0s), delayed on close so the fade finishes first.
       Giving it a real duration leaves the transition stuck and the menu never opens. */
    transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease),
                visibility 0s linear var(--dur);
  }
  .nav__links[data-open="true"] {
    transform: none; opacity: 1; visibility: visible;
    transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease),
                visibility 0s linear 0s;
  }
  .nav__links a { padding: .85rem .2rem; font-size: 1.02rem; border-bottom: 1px solid var(--line); }
  .nav__links a[aria-current="page"]::after { margin-inline: 0; }
  .nav__cta { margin: 1rem 0 0; }
  .nav__cta .btn { width: 100%; }
}

/* --- hero --------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(4rem, 11vw, 8rem) clamp(3.5rem, 8vw, 6rem); }
/* mark sits off to the right so it never fights the headline for attention */
.hero__bg {
  position: absolute; top: 50%; right: -6%; left: auto; translate: 0 -50%;
  width: min(620px, 62%); height: auto;
  fill: #ffffff; opacity: .022;
  pointer-events: none; z-index: 0;
}
.hero__glow {
  position: absolute; top: -22%; right: -8%; left: auto;
  width: min(880px, 105%); aspect-ratio: 1.5 / 1;
  background: radial-gradient(ellipse at center, rgba(61,60,63,.72) 0%, rgba(61,60,63,0) 70%);
  pointer-events: none; z-index: 0;
}
.hero > .shell { position: relative; z-index: 2; }
/* px, not ch: `ch` resolves against this element's 1rem font, not the h1's */
.hero__inner { max-width: 46rem; }
.hero h1 { font-size: clamp(2.55rem, 7.4vw, 5.05rem); letter-spacing: -.045em; color: var(--white); text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--txt-faint); }
.hero__lede { margin-top: 1.6rem; font-size: clamp(1.03rem, 2vw, 1.24rem); color: var(--txt-dim); max-width: 46ch; text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.4rem; }

/* --- stat strip --------------------------------------------------------- */
.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; margin-top: clamp(3rem, 7vw, 4.5rem);
}
.stat { background: var(--ink-800); padding: 1.5rem 1.35rem; }
.stat__n { display: block; font-size: clamp(1.5rem, 3.4vw, 2.05rem); font-weight: 800; color: var(--white); letter-spacing: -.04em; line-height: 1.1; }
.stat__l { display: block; margin-top: .32rem; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--txt-faint); }

/* --- grids -------------------------------------------------------------- */
.grid { display: grid; gap: clamp(1.1rem, 2.4vw, 1.6rem); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(275px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
/* capped track so a row holding a single card doesn't stretch it full-bleed */
.grid--cap { grid-template-columns: repeat(auto-fit, minmax(275px, 372px)); justify-content: start; }

/* --- download card ------------------------------------------------------ */
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--ink-800);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), background var(--dur) var(--ease);
}
.card:hover { border-color: var(--line-str); transform: translateY(-4px); background: var(--ink-700); }
.card__media { position: relative; aspect-ratio: 4 / 3; background: var(--char); overflow: hidden; border-bottom: 1px solid var(--line); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: scale var(--dur) var(--ease); }
.card:hover .card__media img { scale: 1.035; }
.card__tag {
  position: absolute; top: .85rem; left: .85rem; z-index: 2;
  padding: .3rem .62rem; border-radius: 6px;
  font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  background: rgba(13,12,14,.82); color: var(--silver);
  backdrop-filter: blur(6px); border: 1px solid var(--line-str);
}
.card__tag--accent { background: var(--accent); color: #fff; border-color: transparent; }
.card__body { padding: 1.5rem 1.45rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.card__title { font-size: 1.28rem; color: var(--white); letter-spacing: -.032em; display: flex; align-items: baseline; gap: .55rem; flex-wrap: wrap; }
.card__ver { font-size: .78rem; font-weight: 700; color: var(--accent); letter-spacing: .04em; font-family: var(--mono); }
.card__desc { margin-top: .7rem; color: var(--txt-dim); font-size: .94rem; flex: 1; }
.card__by { margin-top: .85rem; font-size: .82rem; color: var(--txt-faint); }
.card__by a { color: var(--silver); text-decoration: underline; text-underline-offset: 3px;
              text-decoration-color: var(--line-str); transition: color var(--dur) var(--ease), text-decoration-color var(--dur) var(--ease); }
.card__by a:hover { color: var(--white); text-decoration-color: var(--accent); }
.card__meta { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.15rem; padding-top: 1.15rem; border-top: 1px solid var(--line); }
.chip { font-size: .72rem; font-weight: 600; color: var(--txt-faint); border: 1px solid var(--line); border-radius: 6px; padding: .22rem .55rem; font-family: var(--mono); }
.card__foot { margin-top: 1.2rem; }
.card--soon { opacity: .62; }
.card--soon .card__media { background: var(--ink-700); display: grid; place-items: center; }
.card--soon .card__media svg { width: 30%; height: auto; fill: var(--char-hi); }

/* --- feature grid ------------------------------------------------------- */
.feat { padding: 1.75rem 1.6rem; background: var(--ink-800); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease); }
.feat:hover { border-color: var(--line-str); background: var(--ink-700); }
.feat__icon { width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; background: var(--accent-soft); border: 1px solid rgba(255,26,0,.22); margin-bottom: 1.1rem; }
.feat__icon svg { width: 19px; height: 19px; fill: none; stroke: var(--accent); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.feat h3 { font-size: 1.06rem; color: var(--white); letter-spacing: -.024em; }
.feat p { margin-top: .55rem; font-size: .92rem; color: var(--txt-dim); }

/* --- small utilities (replace inline style attributes, so a strict CSP
       without style-src 'unsafe-inline' still works) ---------------------- */
.sprite { position: absolute; }
.ulink { text-decoration: underline; text-underline-offset: 3px; }
.ulink--bright { color: var(--white); }
.steps-head { color: var(--white); font-size: 1.1rem; margin-bottom: 1rem; }

/* --- steps -------------------------------------------------------------- */
.steps { counter-reset: s; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.step { counter-increment: s; background: var(--ink-800); padding: 1.5rem 1.5rem 1.5rem 4.1rem; position: relative; }
.step::before { content: counter(s, decimal-leading-zero); position: absolute; left: 1.45rem; top: 1.5rem; font-family: var(--mono); font-size: .82rem; font-weight: 700; color: var(--accent); }
.step h3 { font-size: 1.02rem; color: var(--white); letter-spacing: -.02em; }
.step p { margin-top: .4rem; font-size: .93rem; color: var(--txt-dim); }
.step a, .prose a {
  color: var(--silver); text-decoration: underline; text-underline-offset: 3px;
  text-decoration-color: var(--line-str);
  transition: text-decoration-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.step a:hover, .prose a:hover { color: var(--white); text-decoration-color: var(--accent); }

/* --- faq ---------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: flex-start; gap: 1rem; justify-content: space-between;
  padding: 1.5rem 0; cursor: pointer; list-style: none;
  font-size: clamp(1.02rem, 2vw, 1.16rem); font-weight: 700;
  color: var(--txt); letter-spacing: -.022em; line-height: 1.4;
  transition: color var(--dur) var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--white); }
.faq summary::after {
  content: ""; flex: none; width: 13px; height: 13px; margin-top: .38rem;
  background: currentColor; color: var(--txt-faint);
  clip-path: polygon(45% 0, 55% 0, 55% 45%, 100% 45%, 100% 55%, 55% 55%, 55% 100%, 45% 100%, 45% 55%, 0 55%, 0 45%, 45% 45%);
  transition: transform var(--dur) var(--ease), color var(--dur) var(--ease);
}
.faq details[open] summary { color: var(--white); }
.faq details[open] summary::after { transform: rotate(135deg); color: var(--accent); }
.faq__a { padding: 0 0 1.65rem; max-width: 74ch; color: var(--txt-dim); font-size: .98rem; }
.faq__a p + p { margin-top: .8rem; }
.faq__a a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-str); transition: text-decoration-color var(--dur) var(--ease); }
.faq__a a:hover { text-decoration-color: var(--accent); }
.faq__a code, .prose code { font-family: var(--mono); font-size: .87em; background: var(--ink-600); border: 1px solid var(--line); border-radius: 5px; padding: .1rem .38rem; color: var(--silver); }

/* --- cta band ----------------------------------------------------------- */
.cta {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--ink-700) 0%, var(--char) 190%);
  padding: clamp(2.4rem, 5.5vw, 3.75rem);
  text-align: center;
}
.cta h2 { font-size: clamp(1.75rem, 4vw, 2.55rem); color: var(--white); letter-spacing: -.038em; text-wrap: balance; }
.cta p { margin: 1rem auto 0; max-width: 50ch; color: var(--txt-dim); }
.cta__actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 2rem; }

/* --- contact ------------------------------------------------------------ */
.contact-grid { display: grid; gap: clamp(1.1rem, 2.4vw, 1.5rem); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.contact-card {
  display: flex; flex-direction: column; gap: .5rem;
  padding: 1.75rem 1.6rem;
  background: var(--ink-800); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), background var(--dur) var(--ease);
}
a.contact-card:hover { border-color: var(--line-str); transform: translateY(-3px); background: var(--ink-700); }
.contact-card__k { font-size: .72rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; color: var(--txt-faint); }
.contact-card__v { font-size: 1.12rem; font-weight: 700; color: var(--white); letter-spacing: -.025em; word-break: break-word; }
.contact-card__n { font-size: .89rem; color: var(--txt-dim); }

/* --- prose -------------------------------------------------------------- */
.prose { max-width: 68ch; color: var(--txt-dim); }
.prose h2 { color: var(--white); font-size: clamp(1.4rem, 3vw, 1.85rem); margin-top: 2.6rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-top: 1rem; }
.prose ul { margin-top: 1rem; padding-left: 1.15rem; list-style: none; display: grid; gap: .55rem; }
.prose li { position: relative; padding-left: .9rem; }
.prose li::before { content: ""; position: absolute; left: 0; top: .72em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

/* --- footer ------------------------------------------------------------- */
.site-foot { border-top: 1px solid var(--line); padding-block: 3.25rem 2.5rem; position: relative; z-index: 2; }
.foot-top { display: flex; flex-wrap: wrap; gap: 2.5rem; justify-content: space-between; }
.foot-brand { max-width: 34ch; }
.foot-brand p { margin-top: .9rem; font-size: .9rem; color: var(--txt-faint); }
.foot-cols { display: flex; flex-wrap: wrap; gap: clamp(2rem, 6vw, 4.5rem); }
.foot-col h3 { font-size: .72rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; color: var(--txt-faint); margin-bottom: .95rem; }
.foot-col ul { list-style: none; display: grid; gap: .55rem; }
.foot-col a { font-size: .92rem; color: var(--txt-dim); transition: color var(--dur) var(--ease); }
.foot-col a:hover { color: var(--white); }
.foot-bot {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
  margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--line);
  font-size: .84rem; color: var(--txt-faint);
}
.foot-social { display: flex; gap: .45rem; }
.foot-social a {
  width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--txt-faint);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.foot-social a:hover { color: var(--white); border-color: var(--line-str); background: rgba(192,192,192,.06); }
.foot-social svg { width: 17px; height: 17px; fill: currentColor; }

/* --- 404 ---------------------------------------------------------------- */
/* flex, not `grid + place-content:center` — that sizes the track to max-content
   and the oversized 404 numeral then overflows the shell. */
.err {
  min-height: 62vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
}
/* #5e5c61 clears the 3:1 large-text threshold; var(--char) was only 1.8:1 */
.err__code { font-size: clamp(4.5rem, 16vw, 9rem); font-weight: 800; letter-spacing: -.06em; color: #5e5c61; line-height: 1; }
.err h1 { margin-top: .8rem; font-size: clamp(1.5rem, 4vw, 2.2rem); color: var(--white); }
.err p { margin: 1rem auto 0; max-width: 44ch; color: var(--txt-dim); }
.err .hero__actions { justify-content: center; }

/* --- inner page header -------------------------------------------------- */
.page-head { padding-block: clamp(3.25rem, 8vw, 5.5rem) clamp(2.25rem, 5vw, 3.25rem); position: relative; z-index: 2; }
.page-head h1 { font-size: clamp(2.3rem, 6.2vw, 3.85rem); color: var(--white); letter-spacing: -.045em; text-wrap: balance; }
.page-head p { margin-top: 1.15rem; max-width: 58ch; color: var(--txt-dim); font-size: clamp(1rem, 1.7vw, 1.13rem); text-wrap: pretty; }

/* --- breadcrumbs -------------------------------------------------------- */
.crumbs { display: flex; gap: .5rem; align-items: center; font-size: .82rem; color: var(--txt-faint); margin-bottom: 1.35rem; list-style: none; flex-wrap: wrap; }
.crumbs a { transition: color var(--dur) var(--ease); }
.crumbs a:hover { color: var(--white); }
.crumbs li + li::before { content: "/"; margin-right: .5rem; color: var(--char-hi); }
.crumbs li { display: flex; align-items: center; }

/* --- scroll reveal ------------------------------------------------------ */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] { opacity: 0; transform: translateY(18px); }
  [data-reveal].is-in { opacity: 1; transform: none; transition: opacity .62s var(--ease), transform .62s var(--ease); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
}

/* --- print -------------------------------------------------------------- */
@media print {
  body { background: #fff; color: #000; }
  .site-head, .site-foot, .hero__bg, .hero__glow, .btn { display: none !important; }
}
