/* =========================================================================
   AI Safety Studios — design system
   A light, editorial, cinematic look. Plain CSS, no build step required.
   ========================================================================= */

:root {
  /* Palette — warm paper light theme */
  --bg: #faf9f6;
  --bg-alt: #f1efe8;
  --surface: #ffffff;
  --ink: #18181b;
  --ink-2: #4b4b53;
  --ink-3: #86858d;
  --line: rgba(24, 24, 27, 0.1);
  --line-2: rgba(24, 24, 27, 0.16);
  --accent: #b4452f; /* cinematic ember */
  --accent-2: #8f3322;
  --on-dark: #f4f2ec;
  --on-dark-2: #b7b4ab;

  /* Type */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;

  /* Radius + elevation */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(24, 24, 27, 0.05), 0 1px 1px rgba(24, 24, 27, 0.04);
  --shadow-md: 0 10px 30px -12px rgba(24, 24, 27, 0.18), 0 2px 6px rgba(24, 24, 27, 0.05);
  --shadow-lg: 0 30px 60px -20px rgba(24, 24, 27, 0.28);

  /* Layout */
  --container: 1140px;
  --prose: 700px;
  --header-h: 64px;
}

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

html {
  font-size: clamp(15px, 0.9rem + 0.2vw, 17px);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

html.promo-hidden .promo {
  display: none;
}

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.005em;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

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

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

/* ----- Decorative film texture (very subtle) ----- */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 200;
  opacity: 0.022;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(ellipse 75% 60% at 50% 38%, transparent 55%, rgba(24, 24, 27, 0.03) 100%);
}

/* ----- Skip link ----- */
.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 300;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: var(--on-dark);
  border-radius: var(--r-sm);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

/* =========================================================================
   Mockup notice banner
   ========================================================================= */
.promo {
  position: relative;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.55rem 2.75rem 0.55rem 1rem;
  background: var(--ink);
  color: var(--on-dark);
  text-align: center;
}

.promo__text {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: var(--on-dark-2);
}

.promo__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-right: 0.5rem;
  padding: 0.12rem 0.5rem;
  border-radius: 100px;
  background: var(--accent);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.promo__text strong {
  color: var(--on-dark);
  font-weight: 600;
}

.promo__dismiss {
  position: absolute;
  top: 50%;
  right: 0.65rem;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--on-dark-2);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.promo__dismiss:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--on-dark);
}

/* =========================================================================
   Header + navigation
   ========================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 110;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.site-header__inner {
  max-width: var(--container);
  margin: 0 auto;
  min-height: var(--header-h);
  padding: 0.5rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand__mark {
  flex: none;
  width: 26px;
  height: 26px;
  color: var(--ink);
}

.brand__name {
  font-size: 0.98rem;
  white-space: nowrap;
}

.brand__name b {
  font-weight: 600;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.site-nav__link {
  padding: 0.5rem 0.85rem;
  border-radius: var(--r-sm);
  color: var(--ink-2);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.2s ease, background 0.2s ease;
}

.site-nav__link:hover {
  color: var(--ink);
  background: rgba(24, 24, 27, 0.04);
}

.site-nav__link[aria-current="page"] {
  color: var(--ink);
}

.site-nav__cta {
  margin-left: 0.4rem;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle__box {
  position: relative;
  display: block;
  width: 18px;
  height: 12px;
}

.nav-toggle__bar {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.6px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}

.nav-toggle__bar:nth-child(1) { top: 0; }
.nav-toggle__bar:nth-child(2) { top: 5px; }
.nav-toggle__bar:nth-child(3) { top: 10px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  top: 5px;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  top: 5px;
  transform: rotate(-45deg);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding: 0.75rem 1rem 1rem;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .site-nav__link {
    padding: 0.8rem 0.75rem;
    font-size: 0.98rem;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }

  .site-nav__cta {
    margin: 0.65rem 0 0;
    justify-content: center;
  }
}

/* =========================================================================
   Buttons + shared atoms
   ========================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.4rem;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease,
    border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn__arrow {
  transition: transform 0.2s ease;
}

.btn:hover .btn__arrow {
  transform: translateX(3px);
}

.btn--primary {
  background: var(--ink);
  color: var(--on-dark);
  border-color: var(--ink);
}

.btn--primary:hover {
  background: #000;
  box-shadow: var(--shadow-md);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}

.btn--ghost:hover {
  border-color: var(--ink);
  background: rgba(24, 24, 27, 0.03);
}

.btn--invert {
  background: var(--on-dark);
  color: var(--ink);
  border-color: var(--on-dark);
}

.btn--invert:hover {
  background: #fff;
  box-shadow: var(--shadow-md);
}

.btn--ghost-invert {
  background: transparent;
  color: var(--on-dark);
  border-color: rgba(244, 242, 236, 0.3);
}

.btn--ghost-invert:hover {
  border-color: var(--on-dark);
  background: rgba(244, 242, 236, 0.08);
}

.btn--block {
  width: 100%;
}

.btn--lg {
  padding: 0.95rem 1.7rem;
  font-size: 0.86rem;
}

/* Eyebrow label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.eyebrow__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

/* Section scaffolding */
.section {
  padding-block: clamp(3.75rem, 8vw, 6.5rem);
}

.section--alt {
  background: var(--bg-alt);
  border-block: 1px solid var(--line);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: 1.25rem;
}

.section__head {
  max-width: var(--prose);
  margin: 0 0 clamp(2rem, 4vw, 3rem);
}

.section__head--center {
  margin-inline: auto;
  text-align: center;
}

.section__head--center .eyebrow {
  justify-content: center;
}

.section__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 540;
  font-size: clamp(1.7rem, 1rem + 2.6vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  font-optical-sizing: auto;
}

.section__lede {
  margin: 1rem 0 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink-2);
}

/* Reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

/* =========================================================================
   Hero
   ========================================================================= */
.hero {
  position: relative;
  padding-block: clamp(3.5rem, 4rem + 4vw, 7rem);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 70% at 80% 0%, rgba(180, 69, 47, 0.06), transparent 60%),
    radial-gradient(50% 60% at 0% 20%, rgba(24, 24, 27, 0.05), transparent 55%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  max-width: 880px;
}

.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.5rem, 1.2rem + 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-optical-sizing: auto;
}

.hero__title em {
  font-style: italic;
  font-weight: 460;
  color: var(--accent);
}

.hero__lede {
  margin: 1.5rem 0 0;
  max-width: 40rem;
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.3rem);
  line-height: 1.6;
  color: var(--ink-2);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 2.75rem 0 0;
  border-top: 1px solid var(--line);
}

.specs__item {
  flex: 1 1 120px;
  padding: 1.1rem 1.25rem 0 0;
  margin: 1.1rem 1.5rem 0 0;
}

.specs__item dt {
  margin: 0 0 0.3rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.specs__item dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* =========================================================================
   Featured film
   ========================================================================= */
.featured__media {
  margin: 0;
}

.video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: #000;
  box-shadow: var(--shadow-md);
}

.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.featured__credit {
  margin: 1.1rem 0 0;
  font-size: 0.9rem;
  color: var(--ink-3);
}

.featured__credit a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--line-2);
  transition: text-decoration-color 0.2s ease;
}

.featured__credit a:hover {
  text-decoration-color: var(--ink);
}

/* =========================================================================
   Offer / feature grid
   ========================================================================= */
.offer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 600px) {
  .offer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 980px) {
  .offer__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature {
  position: relative;
  padding: 1.6rem 1.4rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-2);
}

.feature__num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.9rem;
  letter-spacing: 0.04em;
}

.feature__title {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.feature__body {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ink-2);
}

/* =========================================================================
   Process steps
   ========================================================================= */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem 1rem;
  counter-reset: step;
}

@media (min-width: 600px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 980px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step {
  position: relative;
  padding-top: 1.5rem;
  border-top: 2px solid var(--line-2);
}

.step__num {
  display: inline-grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  margin-bottom: 0.9rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--on-dark);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
}

.step__title {
  margin: 0 0 0.4rem;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.step__body {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ink-2);
}

/* =========================================================================
   Slate poster grid
   ========================================================================= */
.poster-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

@media (min-width: 600px) {
  .poster-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 980px) {
  .poster-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(190px, 21vw);
  }

  .poster--feature {
    grid-column: span 2;
    grid-row: span 2;
  }
}

.poster {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--ink);
}

.poster__figure {
  position: relative;
  margin: 0;
  height: 100%;
  min-height: 220px;
}

.poster--feature .poster__figure {
  min-height: 300px;
}

@media (min-width: 980px) {
  .poster__figure,
  .poster--feature .poster__figure {
    min-height: 0;
  }
}

.poster__img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  filter: contrast(1.04) saturate(0.9) brightness(0.96);
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), filter 0.5s ease;
}

@media (min-width: 980px) {
  .poster__img {
    min-height: 0;
  }
}

.poster:hover .poster__img {
  transform: scale(1.05);
  filter: contrast(1.04) saturate(1) brightness(1);
}

.poster__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 3.5rem 1rem 1rem;
  background: linear-gradient(to top, rgba(10, 10, 12, 0.9) 0%, rgba(10, 10, 12, 0.4) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.poster__tag {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-dark);
  background: rgba(180, 69, 47, 0.9);
  padding: 0.18rem 0.5rem;
  border-radius: 100px;
}

.poster__title {
  font-family: var(--font-display);
  font-size: clamp(1rem, 0.9rem + 0.6vw, 1.35rem);
  font-weight: 560;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: #fff;
}

.slate__credit {
  margin: 1.25rem 0 0;
  font-size: 0.78rem;
  color: var(--ink-3);
}

.slate__credit a {
  color: var(--ink-2);
  text-underline-offset: 2px;
}

/* =========================================================================
   Quote band
   ========================================================================= */
.quote {
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
  text-align: center;
}

.quote__text {
  position: relative;
  max-width: 24ch;
  margin: 0 auto;
  font-family: var(--font-display);
  font-weight: 460;
  font-size: clamp(1.5rem, 1rem + 2.4vw, 2.4rem);
  line-height: 1.28;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.quote__text::before {
  content: "\201C";
  display: block;
  font-size: 2.5em;
  line-height: 0.4;
  margin-bottom: 0.25em;
  color: var(--accent);
}

.quote__cite {
  margin: 1.75rem 0 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* =========================================================================
   FAQ
   ========================================================================= */
.faq__list {
  max-width: var(--prose);
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__item:first-child {
  border-top: 1px solid var(--line);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  font-size: 1.02rem;
  font-weight: 560;
  font-family: var(--font-display);
  letter-spacing: -0.01em;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__icon {
  position: relative;
  flex: none;
  width: 20px;
  height: 20px;
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  background: var(--ink-2);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.faq__icon::before {
  top: 9px;
  left: 0;
  width: 20px;
  height: 2px;
}

.faq__icon::after {
  top: 0;
  left: 9px;
  width: 2px;
  height: 20px;
}

.faq__item[open] .faq__icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq__answer {
  margin: 0;
  padding: 0 0 1.4rem;
  max-width: 62ch;
}

.faq__answer p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--ink-2);
}

.faq__answer p + p {
  margin-top: 0.85rem;
}

.faq__answer strong {
  color: var(--ink);
  font-weight: 600;
}

.faq__answer a {
  color: var(--accent);
  text-underline-offset: 2px;
}

/* =========================================================================
   CTA band (dark)
   ========================================================================= */
.cta-band {
  background: var(--ink);
  color: var(--on-dark);
}

.cta-band__inner {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(3.5rem, 7vw, 5.5rem) 1.25rem;
  text-align: center;
}

.cta-band .eyebrow {
  color: var(--on-dark-2);
  justify-content: center;
}

.cta-band__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.8rem, 1.1rem + 3vw, 2.9rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #fff;
}

.cta-band__text {
  margin: 1.1rem auto 0;
  max-width: 48ch;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--on-dark-2);
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2rem;
}

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
}

.site-footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 4.5rem) 1.25rem 2.5rem;
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 760px) {
  .site-footer__inner {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 2rem;
  }
}

.site-footer__tagline {
  margin: 1rem 0 0;
  max-width: 32ch;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink-2);
}

.footer-col__title {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.footer-col__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col__list a,
.footer-col__list span {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.footer-col__list a:hover {
  color: var(--ink);
}

.site-footer__base {
  border-top: 1px solid var(--line);
}

.site-footer__base-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.site-footer__mockup {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  font-size: 0.8rem;
  color: var(--ink-2);
}

.site-footer__mockup .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

.site-footer__copy {
  margin: 0;
  font-size: 0.78rem;
  color: var(--ink-3);
}

/* =========================================================================
   Interior pages (stories / apply)
   ========================================================================= */
.page-hero {
  padding-block: clamp(2.5rem, 3rem + 4vw, 5rem) clamp(2rem, 4vw, 3rem);
}

.page-hero__inner {
  max-width: 760px;
}

.page-hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.2rem, 1.2rem + 4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.page-hero__intro {
  margin: 1.25rem 0 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-2);
}

.page-hero__intro strong {
  color: var(--ink);
  font-weight: 600;
}

.page-hero__intro em {
  font-style: italic;
}

.callout {
  margin: 1.75rem 0 0;
  padding: 1.25rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--r-md);
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}

.callout strong {
  color: var(--ink);
  font-weight: 600;
}

/* Category chip nav */
.chip-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
}

.chip {
  padding: 0.45rem 0.9rem;
  border-radius: 100px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--ink-2);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.chip:hover {
  color: var(--ink);
  border-color: var(--ink);
  background: rgba(24, 24, 27, 0.03);
}

/* Threat categories */
.threat-category {
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
  scroll-margin-top: 90px;
}

.threat-category__head {
  max-width: var(--prose);
  margin: 0 0 1.75rem;
}

.threat-category__num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.threat-category__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1rem + 1.8vw, 2.1rem);
  font-weight: 540;
  line-height: 1.12;
  letter-spacing: -0.015em;
}

.threat-category__subtitle {
  font-weight: 400;
  font-style: italic;
  color: var(--ink-3);
}

.threat-category__focus {
  margin: 0.85rem 0 0;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--ink-2);
}

.threat-category__focus b {
  color: var(--ink);
  font-weight: 600;
}

/* Story cards */
.story-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 620px) {
  .story-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .story-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.story-card {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 1.5rem 1.5rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.story-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-2);
}

.story-card__title {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 560;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.story-card__body {
  margin: 0 0 1.25rem;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--ink-2);
}

.story-card__apply {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
}

.story-card__apply .btn__arrow {
  color: var(--accent);
  transition: transform 0.2s ease;
}

.story-card__apply:hover .btn__arrow {
  transform: translateX(4px);
}

.page-outro {
  max-width: 640px;
  margin: clamp(3rem, 6vw, 4.5rem) auto 0;
  text-align: center;
}

.page-outro__note {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink);
}

.page-outro__cta {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--ink-2);
}

.page-outro__cta a {
  color: var(--accent);
  font-weight: 600;
  text-underline-offset: 3px;
}

/* =========================================================================
   Apply page
   ========================================================================= */
.apply-layout {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 920px) {
  .apply-layout {
    grid-template-columns: 1.5fr 1fr;
  }
}

.apply-aside {
  position: relative;
}

@media (min-width: 920px) {
  .apply-aside {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
  }
}

.aside-card {
  padding: 1.6rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}

.aside-card + .aside-card {
  margin-top: 1rem;
}

.aside-card__title {
  margin: 0 0 1.1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.checklist li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--ink-2);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15rem;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 0.7rem no-repeat,
    var(--accent);
}

.aside-card__meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.aside-card__meta div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}

.aside-card__meta div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.aside-card__meta dt {
  color: var(--ink-3);
}

.aside-card__meta dd {
  margin: 0;
  font-weight: 600;
  color: var(--ink);
  text-align: right;
}

/* Form */
.apply-form__fieldset {
  margin: 0 0 2rem;
  padding: 0;
  border: 0;
}

.apply-form__legend {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  margin: 0 0 1.1rem;
  padding: 0 0 0.75rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.apply-form__legend::before {
  content: attr(data-step);
  display: inline-grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--on-dark);
  font-size: 0.72rem;
  letter-spacing: 0;
}

.field {
  margin-bottom: 1.1rem;
}

.field--row {
  display: grid;
  gap: 1.1rem;
}

@media (min-width: 540px) {
  .field--row {
    grid-template-columns: 1fr 1fr;
  }
}

.apply-form__label {
  display: block;
  margin: 0 0 0.4rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink);
}

.apply-form__label abbr {
  color: var(--accent);
  text-decoration: none;
}

.apply-form__input,
.apply-form__textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.apply-form__input::placeholder,
.apply-form__textarea::placeholder {
  color: var(--ink-3);
}

.apply-form__input:focus,
.apply-form__textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(180, 69, 47, 0.14);
}

.apply-form__input[readonly] {
  background: var(--bg-alt);
  color: var(--ink-2);
  cursor: default;
}

.apply-form__input[readonly]:focus {
  border-color: var(--line-2);
  box-shadow: none;
}

.apply-form__textarea {
  resize: vertical;
  min-height: 6.5rem;
  line-height: 1.55;
}

.apply-form__hint {
  margin: 0.45rem 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--ink-3);
}

.apply-form__hint a {
  color: var(--ink-2);
  text-underline-offset: 2px;
}

.apply-form__honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.apply-form__disclaimer {
  margin: 1.5rem 0;
  padding: 0.95rem 1.1rem;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--ink-2);
}

.apply-form__disclaimer strong {
  color: var(--ink);
}

.apply-form__disclaimer code {
  font-size: 0.74rem;
  padding: 0.1rem 0.3rem;
  background: rgba(24, 24, 27, 0.06);
  border-radius: 4px;
}

/* =========================================================================
   Utility
   ========================================================================= */
.flow > * + * {
  margin-top: 1rem;
}

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