/* =============================================================
   CASE FILE — Offensive Operations Certification
   Mobile-first single-page stylesheet.
   Breakpoints: 768px, 1024px.
   ============================================================= */

/* -------------------------------------------------------------
   1. Design tokens
   ------------------------------------------------------------- */
:root {
  /* Core palette (locked to spec) */
  --ink:   #0A0A0A;   /* near-black — text + structural bars  */
  --paper: #F7F6F2;   /* warm off-white — main sections        */
  --void:  #000000;   /* true black — hero + site footer                */
  --spark: #FFC94D;   /* amber — Spark tier elements ONLY      */
  --forge: #FF5A1F;   /* orange — Forge tier elements ONLY     */
  --ghost: #B980F0;   /* violet — Ghost tier elements ONLY, sparingly */

  /* Derived neutrals (never an accent) */
  --ink-soft:      rgba(10, 10, 10, 0.62);   /* muted text on paper    */
  --paper-soft:    rgba(247, 246, 242, 0.72); /* muted text on ink/void */
  --hairline:      rgba(10, 10, 10, 0.14);   /* rules on paper         */
  --hairline-dark: rgba(247, 246, 242, 0.18); /* rules on ink/void     */

  /* Focus ring — swaps per surface context (see 9. Focus) */
  --focus-ring: var(--ink);

  /* Type */
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --font-sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --container: 76rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 2px;
}

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-mono);
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
  color: inherit;
}

p { margin: 0; }

a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

ul, ol { margin: 0; padding: 0; list-style: none; }

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

/* Anchor targets sit clear of the sticky bar */
[id] { scroll-margin-top: 6rem; }

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

.mono-label {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: top 0.15s ease;
}

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

/* Rubber-stamp treatment (mono, double border, slight rotation) */
.stamp {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
  border: 2px solid currentColor;
  outline: 1px solid currentColor;
  outline-offset: -4px;
  padding: 0.5em 0.7em;
  border-radius: var(--radius);
  transform: rotate(-4deg);
  opacity: 0.9;
}

.stamp--small {
  font-size: 0.62rem;
  border-width: 1px;
  outline-width: 1px;
  outline-offset: -2px;
  padding: 0.45em 0.6em;
}

/* Redacted text — a solid bar the color of surrounding text.
   Revealed globally via body.redactions-revealed (script.js). */
.redacted {
  background: currentColor;
  color: transparent;
  border-radius: 2px;
  padding: 0 0.2em;
  user-select: none;
}

body.redactions-revealed .redacted {
  background: transparent;
  color: inherit;
  user-select: text;
}

/* -------------------------------------------------------------
   4. Buttons
   ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1.25rem;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: transform 0.12s ease, background-color 0.15s ease, color 0.15s ease;
}

.btn:hover { transform: translate(-1px, -1px); }
.btn:active { transform: translate(0, 0); }

.btn--paper {
  background: var(--paper);
  color: var(--void);
}
.btn--paper:hover { background: #ffffff; }

.btn--outline-dark {
  background: transparent;
  color: var(--paper);
  border-color: var(--hairline-dark);
}
.btn--outline-dark:hover { border-color: var(--paper); background: rgba(247, 246, 242, 0.08); }

/* Tier CTA buttons draw their fill from the tier's own accent */
.btn--tier {
  background: var(--tier-accent);
  color: var(--ink);
}
.btn--tier:hover { filter: brightness(1.06); }

/* -------------------------------------------------------------
   5. Structural bar (header)
   ------------------------------------------------------------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  color: var(--paper);
  --focus-ring: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.topbar.is-scrolled { border-bottom-color: var(--hairline-dark); }

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 60px;
  flex-wrap: wrap;
}

.topbar__file { color: var(--paper-soft); }

.topbar__brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.topbar__logo-link {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  flex-shrink: 0;
}

.topbar__logo {
  display: block;
  height: 22px;
  width: auto;
}

/* On very small screens, drop the case-file number so the logo + nav fit */
@media (max-width: 420px) {
  .topbar__file { display: none; }
}

.topbar__stamp {
  color: var(--paper);
  opacity: 0.85;
  display: none; /* shown at ≥768px */
}

/* Hamburger (mobile) */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
}

.nav-toggle__bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--paper);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

body.nav-open .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Nav panel — collapsible on mobile */
.site-nav {
  display: none;
  width: 100%;
  flex-direction: column;
  gap: 0;
  padding: 0.25rem 0 1rem;
}

body.nav-open .site-nav { display: flex; }

.site-nav__link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 0;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--hairline-dark);
}

.site-nav__num { color: var(--paper-soft); font-size: 0.72rem; }

.site-nav__cta { margin-top: 1rem; align-self: flex-start; }

/* -------------------------------------------------------------
   6. Hero (void)
   ------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--void);
  color: var(--paper);
  --focus-ring: var(--paper);
}

/* faint targeting-grid texture */
.hero__texture {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(247, 246, 242, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 246, 242, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
}

.hero__watermark {
  position: absolute;
  top: 50%;
  right: -4rem;
  transform: translateY(-50%) rotate(-90deg);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(4rem, 16vw, 11rem);
  letter-spacing: 0.08em;
  line-height: 1;
  color: var(--paper);
  opacity: 0.045;
  pointer-events: none;
  white-space: nowrap;
  user-select: none;
}

.hero__inner {
  position: relative;
  padding-block: clamp(4rem, 12vw, 9rem);
}

.hero__logo {
  display: block;
  width: clamp(150px, 30vw, 210px);
  height: auto;
}

.hero__title {
  font-size: clamp(2.5rem, 10vw, 6rem);
  letter-spacing: -0.02em;
  margin-top: 1.5rem;
  text-wrap: balance;
}

.hero__lede {
  max-width: 38rem;
  margin-top: 1.5rem;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  color: var(--paper-soft);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.25rem;
}

/* Rubber-stamp CTA (rectangular, slight rotation, paper border) */
.stamp-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.85rem 1.6rem;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--paper);
  background: transparent;
  border: 2px solid var(--paper);
  outline: 1px solid var(--paper);
  outline-offset: -5px;
  border-radius: var(--radius);
  transform: rotate(-3deg);
  opacity: 0.95;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}

.stamp-cta:hover {
  transform: rotate(0deg) translate(-1px, -1px);
  background: var(--paper);
  color: var(--void);
  opacity: 1;
}

.stamp-cta:active {
  transform: rotate(0deg) translate(0, 0);
}

.hero__meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem 2rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--hairline-dark);
}

.hero__meta-item dt { color: var(--paper-soft); margin-bottom: 0.2rem; }
.hero__meta-item dd {
  margin: 0;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

/* --- Manifesto (paper — quiet statement) --- */
.manifesto {
  background: var(--paper);
  padding-block: clamp(3.5rem, 9vw, 7rem);
}

.manifesto__inner {
  max-width: 600px;
  margin-inline: auto;
  padding-inline: var(--gutter);
  text-align: center;
}

.manifesto__text {
  font-family: var(--font-sans);
  font-size: clamp(1.15rem, 2.4vw, 1.35rem);
  line-height: 1.65;
  color: var(--ink);
}

/* -------------------------------------------------------------
   7. Sections (paper)
   ------------------------------------------------------------- */
.section {
  padding-block: clamp(3.5rem, 9vw, 7rem);
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 27px,
    rgba(10, 10, 10, 0.035) 27px,
    rgba(10, 10, 10, 0.035) 28px
  );
}

.section__head {
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--ink);
}

.section__kicker { color: var(--ink-soft); }

.section__title {
  margin-top: 0.85rem;
  font-size: clamp(1.6rem, 5vw, 2.75rem);
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.section__lede {
  margin-top: 1rem;
  max-width: 36rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* --- Mission brief --- */
.brief {
  display: grid;
  gap: 2.5rem;
}

.brief__lead {
  font-size: clamp(1.15rem, 2.6vw, 1.4rem);
  line-height: 1.55;
  max-width: 42rem;
}

.brief__lead em { font-style: normal; font-weight: 600; }

.brief__facts {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--ink);
}

.brief__fact {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--hairline);
}

.brief__fact dt { color: var(--ink-soft); }
.brief__fact dd {
  margin: 0;
  font-weight: 600;
}

/* --- Dossiers / tiers (Compare surface) --- */
.section--tiers { background-color: var(--paper); }

.tiers {
  display: grid;
  gap: 1.5rem;
  align-items: stretch;
}

.tier {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem 1.5rem;
  background: #ffffff;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
}

/* accent confined to the tier via local token */
.tier--spark { --tier-accent: var(--spark); }
.tier--forge { --tier-accent: var(--forge); }
.tier--ghost { --tier-accent: var(--ghost); }

.tier__accent {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--tier-accent);
  border-radius: var(--radius) var(--radius) 0 0;
}

.tier__stamp {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: var(--tier-accent);
  font-size: 0.58rem;
}

.tier__head { padding-right: 6rem; }

.tier__code { color: var(--ink-soft); }

.tier__name {
  margin-top: 0.4rem;
  font-size: 1.8rem;
  color: var(--tier-accent);
}

.tier__tag {
  margin-top: 0.35rem;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

.tier__desc {
  margin-top: 1rem;
  font-weight: 600;
}

.tier__price {
  margin-top: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  font-family: var(--font-mono);
}

.tier__currency { font-size: 0.9rem; color: var(--ink-soft); vertical-align: top; }

.tier__amount {
  font-weight: 700;
  font-size: 2rem;
  color: var(--tier-accent);
}

.tier__period { font-size: 0.75rem; color: var(--ink-soft); letter-spacing: 0.04em; }

.tier__list {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.6rem;
  flex: 1;
}

.tier__list li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.95rem;
}

.tier__list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  font-family: var(--font-mono);
  color: var(--tier-accent);
}

/* Ghost accent is used sparingly: neutral markers, not violet */
.tier--ghost .tier__list li::before { color: var(--ink-soft); }

.tier .btn--tier { margin-top: 1.75rem; }

.tier__credential {
  margin-top: 0.4rem;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  color: var(--ink);
}

.tier__exam {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--hairline);
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.tier__exam-label {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--ink);
}

.tier__note {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

/* Featured tier emphasis */
.tier--featured {
  border-color: var(--tier-accent);
  box-shadow: 6px 6px 0 rgba(10, 10, 10, 0.12);
}

/* --- Field notes (steps) --- */
.steps {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--ink);
}

.step {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--hairline);
}

.step__num {
  color: var(--ink-soft);
  font-weight: 700;
  padding-top: 0.2rem;
}

.step__title {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.step__body p { color: var(--ink-soft); max-width: 40rem; }

/* --- Exhibit A — The Ascent --- */
.ascent {
  background: var(--paper);
}

.ascent__bar {
  display: flex;
  justify-content: center;
  padding-block: 1.5rem;
  background: var(--ink);
  color: var(--paper);
}

.ascent__label {
  color: var(--paper);
  font-size: 0.85rem;
}

.ascent__body {
  padding-block: clamp(3rem, 8vw, 5.5rem);
}

.ascent__grid {
  display: grid;
  gap: 1.5rem;
}

.ascent-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  background: #ffffff;
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--card-accent);
  border-radius: var(--radius);
}

.ascent-card--spark { --card-accent: var(--spark); }
.ascent-card--forge { --card-accent: var(--forge); }
.ascent-card--ghost { --card-accent: var(--ghost); }

.ascent-card__tag {
  align-self: flex-end;
  color: var(--card-accent);
}

.ascent-card__desc {
  max-width: 34rem;
  color: var(--ink);
}

/* Autonomous redaction reveal — Ghost card only */
.reveal {
  position: relative;
  display: inline-block;
}

.reveal::after {
  content: "";
  position: absolute;
  inset: -0.1em -0.15em;
  background: var(--ink);
  border-radius: 2px;
  pointer-events: none;
  transform-origin: right center;
  transition: transform 0.65s ease;
}

.reveal.is-revealed::after {
  transform: scaleX(0);
}

/* -------------------------------------------------------------
   Countdown (case-file timestamp — ink boxes on paper)
   ------------------------------------------------------------- */
.countdown {
  background: var(--paper);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  padding-block: clamp(3rem, 8vw, 5.5rem);
}

.countdown__inner {
  display: grid;
  justify-items: start;
  gap: 1.5rem;
}

.countdown__label { color: var(--ink-soft); }

.countdown__units {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  width: 100%;
  max-width: 44rem;
}

.countdown__unit {
  display: grid;
  justify-items: center;
  gap: 0.6rem;
  padding: 1.4rem 0.5rem 1.1rem;
  background: var(--ink);
  border-radius: var(--radius);
}

.countdown__value {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  line-height: 1;
  color: var(--paper);
  font-variant-numeric: tabular-nums;
}

.countdown__caption {
  color: var(--paper-soft);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
}

/* -------------------------------------------------------------
   EXHIBIT B — Enrollment / waitlist (paper, ink bar header)
   ------------------------------------------------------------- */
.enroll {
  background: var(--paper);
}

.enroll__bar {
  display: flex;
  justify-content: center;
  padding-block: 1.5rem;
  background: var(--ink);
  color: var(--paper);
}

.enroll__label {
  color: var(--paper);
  font-size: 0.85rem;
}

.enroll__body {
  display: grid;
  justify-items: start;
  gap: 1.25rem;
  padding-block: clamp(3rem, 8vw, 5.5rem);
}

.enroll__price {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(1.6rem, 5vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance;
}

.enroll__hint {
  font-size: 1rem;
  color: var(--ink-soft);
  max-width: 36rem;
}

.enroll__embed {
  width: 100%;
  max-width: 36rem;
  margin-top: 0.75rem;
}

.enroll__embed iframe {
  display: block;
  width: 100%;
  border: 0;
}

.enroll__confirmed {
  display: grid;
  justify-items: start;
  gap: 1rem;
}

.enroll__confirmed[hidden] {
  display: none;
}

.enroll__confirmed-stamp {
  font-size: 1rem;
}

.enroll__confirmed-text {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  color: var(--ink);
  max-width: 36rem;
}

/* -------------------------------------------------------------
   8. Footer (ink — end of file)
   ------------------------------------------------------------- */
.footer {
  background: var(--ink);
  color: var(--paper);
  --focus-ring: var(--paper);
}

.footer__inner {
  display: grid;
  gap: 2.5rem;
  padding-block: clamp(3rem, 8vw, 5rem);
}

.footer__cta .mono-label { color: var(--paper-soft); }

.footer__title {
  margin-top: 0.85rem;
  font-size: clamp(1.6rem, 5vw, 2.75rem);
}

.footer__cta .btn { margin-top: 1.5rem; }

.footer__meta {
  display: grid;
  gap: 0.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--hairline-dark);
  color: var(--paper-soft);
}

/* -------------------------------------------------------------
   Site footer (void — true black)
   ------------------------------------------------------------- */
.site-footer {
  background: var(--void);
  color: var(--paper);
  --focus-ring: var(--paper);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-block: 2rem;
}

.site-footer__logo {
  display: block;
  width: clamp(110px, 18vw, 132px);
  height: auto;
}

.site-footer__links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-footer__link {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--paper-soft);
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-footer__link:hover {
  color: var(--paper);
}

.site-footer__icon {
  display: block;
}

.site-footer__legal {
  flex-basis: 100%;
  color: var(--paper-soft);
}

/* -------------------------------------------------------------
   9. Focus — visible keyboard focus on EVERY interactive element
   ------------------------------------------------------------- */
:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

/* Ensure focus ring contrasts on accent-filled tier buttons */
.btn--tier:focus-visible { outline-color: var(--ink); }

/* -------------------------------------------------------------
   10. Reduced motion
   ------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  .btn:hover { transform: none; }
  .stamp-cta:hover { transform: none; }
  .reveal::after { display: none; }
}

/* -------------------------------------------------------------
   11. Breakpoint — 768px
   ------------------------------------------------------------- */
@media (min-width: 768px) {
  .topbar__inner { flex-wrap: nowrap; }
  .topbar__stamp { display: inline-block; }

  .nav-toggle { display: none; }

  .site-nav {
    display: flex;
    width: auto;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    padding: 0;
  }

  .site-nav__link {
    padding: 0;
    border-bottom: 0;
    font-size: 0.8rem;
  }
  .site-nav__link:hover { color: #ffffff; }

  .site-nav__cta { margin-top: 0; }

  .hero__meta { grid-template-columns: repeat(3, 1fr); }

  .brief__facts { grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--ink); }
  .brief__fact { grid-template-columns: 1fr; grid-template-rows: auto auto; gap: 0.35rem; padding: 1.25rem 1.5rem 1.25rem 0; }

  .tiers { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .ascent__grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .tier { padding: 2rem 1.5rem 1.5rem; }
  .tier__head { padding-right: 0; }
  .tier__stamp { position: static; margin-bottom: 1rem; }

  .step { grid-template-columns: 4rem 1fr; }
}

/* -------------------------------------------------------------
   12. Breakpoint — 1024px
   ------------------------------------------------------------- */
@media (min-width: 1024px) {
  .brief { grid-template-columns: 1.4fr 1fr; gap: 4rem; align-items: start; }

  .tiers { gap: 1.5rem; }
  .tier { padding: 2.5rem 2rem 2rem; }

  .footer__inner {
    grid-template-columns: 1.4fr 1fr;
    align-items: end;
    justify-content: space-between;
  }
  .footer__meta { justify-self: end; text-align: right; }
}
