/* =========================================================
   EDITABLE DESIGN TOKENS
   Change these first when adjusting spacing / scale / colors.
   ========================================================= */
:root {
  --bg: #050505;
  --surface: rgba(10, 10, 10, 0.88);
  --surface-soft: rgba(14, 14, 14, 0.72);
  --text: #f2f2f2;
  --muted: #a9a9a9;
  --muted-2: #747474;
  --gold: #f2b800;
  --line: rgba(255, 255, 255, 0.14);
  --line-soft: rgba(255, 255, 255, 0.075);

  --page-max: 1480px;
  --page-pad: clamp(24px, 4vw, 72px);
  --rail-safe: 108px;
  --section-pad-y: clamp(54px, 6vw, 92px);
  --section-pad-x: clamp(24px, 4vw, 64px);
  --section-gap: 18px;
  --radius: 5px;

  --hero-min-height: min(900px, 92vh);
  --header-height: 76px;
  --body-copy: 17px;
  --body-small: 15px;
  --ease: cubic-bezier(.2,.8,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 0%, rgba(255,255,255,.035), transparent 30%),
    var(--bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
img { max-width: 100%; display: block; }

.page-shell {
  width: min(calc(100% - (var(--page-pad) * 2)), var(--page-max));
  margin-inline: auto;
}

/* ================= HEADER ================= */
.site-header {
  position: fixed;
  z-index: 80;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 calc(var(--page-pad) + var(--rail-safe)) 0 var(--page-pad);
  letter-spacing: .12em;
  font-size: 12px;
  background: linear-gradient(to bottom, rgba(5,5,5,.84), rgba(5,5,5,0));
  transition: transform .38s var(--ease), background .25s ease;
  will-change: transform;
}
.site-header.is-hidden { transform: translateY(-110%); }
.site-header.is-solid { background: rgba(5,5,5,.9); backdrop-filter: blur(14px); }
.brand { display: flex; align-items: center; gap: 16px; }
.brand-accent, .brand-slash, .section-number, .case-kicker span:first-child, .case-facts dt, .text-link { color: var(--gold); }

/* ================= PROGRESS RAIL ================= */
.progress-rail {
  position: fixed;
  z-index: 70;
  top: clamp(105px, 14vh, 150px);
  right: max(22px, calc((100vw - var(--page-max)) / 2 + 18px));
  width: 72px;
  height: min(58vh, 520px);
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  pointer-events: none;
}
.rail-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 18px;
  border-left: 1px dashed rgba(255,255,255,.32);
}
.rail-marker {
  pointer-events: auto;
  position: relative;
  z-index: 2;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #8b8b8b;
  font-size: 13px;
  letter-spacing: .08em;
  transition: color .25s ease;
}
.rail-marker:hover, .rail-marker.is-active { color: var(--gold); }
.rail-tick {
  width: 13px;
  height: 1px;
  background: currentColor;
  margin-top: 8px;
  transform: translateX(12px);
}
.rail-number { margin-left: 10px; }
.satellite {
  position: absolute;
  z-index: 4;
  left: -30px;
  top: 0;
  width: 70px;
  transform: translate3d(0, 0, 0) rotate(-12deg);
  transform-origin: center;
  transition: transform .22s linear;
  pointer-events: none;
  filter: drop-shadow(0 5px 16px rgba(0,0,0,.6));
}
.satellite img { width: 100%; }
.satellite::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border: 1px solid rgba(242,184,0,.65);
  border-radius: 50%;
  left: 38%; top: 44%;
  animation: satellitePulse 2.4s ease-out infinite;
}
@keyframes satellitePulse {
  0%, 60% { transform: scale(.65); opacity: 0; }
  70% { opacity: .8; }
  100% { transform: scale(2.3); opacity: 0; }
}

/* ================= HERO ================= */
.hero {
  position: relative;
  min-height: var(--hero-min-height);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
  background:
    #050505 url("assets/hero-space.png") center right / cover no-repeat;
}
.hero-copy {
  position: relative;
  z-index: 4;
  padding-top: clamp(150px, 20vh, 220px);
  padding-right: var(--rail-safe);
}
.hero h1 {
  margin: 0;
  max-width: 880px;
  font-size: clamp(58px, 7vw, 108px);
  line-height: .98;
  letter-spacing: -.045em;
  font-weight: 300;
}
.gold-rule { width: 38px; height: 2px; background: var(--gold); margin: 42px 0 32px; }
.gold-rule-center { margin: 20px auto; }
.hero-deck {
  margin: 0;
  color: var(--muted);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.55;
  font-weight: 300;
}
.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  margin-top: clamp(58px, 9vh, 100px);
  color: #d8d8d8;
  font-size: 11px;
  letter-spacing: .2em;
}
.scroll-line {
  position: relative;
  width: 1px;
  height: 68px;
  background: var(--gold);
}
.scroll-line::after {
  content: "↓";
  position: absolute;
  left: -5px;
  bottom: -10px;
  color: var(--gold);
  font-size: 14px;
}
.hero-visual {
  position: absolute;
  z-index: 1;
  inset: -2px;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  min-width: calc(100% + 4px);
  min-height: calc(100% + 4px);
  object-fit: cover;
  object-position: center right;
  opacity: 1;
  will-change: transform;
  transform: translate3d(0,0,0) scale(1.08);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(5,5,5,.94) 0%, rgba(5,5,5,.58) 34%, rgba(5,5,5,.12) 66%, rgba(5,5,5,.06) 100%);
}

@keyframes heroRuleIn {
  from { transform: scaleX(0); opacity: 0; }
  to { transform: scaleX(1); opacity: 1; }
}
@keyframes cueFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}
.hero .gold-rule {
  transform-origin: left center;
  animation: heroRuleIn .8s var(--ease) .22s both;
}
.hero .scroll-cue {
  animation: cueFloat 2.8s ease-in-out 1.2s infinite;
}

/* ================= SECTIONS ================= */
.sections {
  position: relative;
  z-index: 10;
  padding: var(--section-gap) var(--rail-safe) 0 0;
}
.content-section {
  position: relative;
  overflow: hidden;
  scroll-margin-top: 28px;
  padding: var(--section-pad-y) var(--section-pad-x);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 20% 0%, rgba(255,255,255,.032), transparent 26%),
    linear-gradient(180deg, rgba(12,12,12,.82), rgba(7,7,7,.92));
  margin-bottom: var(--section-gap);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.015);
}
.content-section::before {
  content: "";
  position: absolute;
  top: -1px;
  left: var(--section-pad-x);
  width: 78px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), rgba(242,184,0,0));
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0;
  transition: transform .8s var(--ease), opacity .5s ease;
}
.content-section.is-section-visible::before {
  transform: scaleX(1);
  opacity: .8;
}
.section-heading {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: baseline;
  column-gap: 10px;
  row-gap: 12px;
  margin-bottom: clamp(50px, 5.2vw, 76px);
}

.section-heading h2 { grid-column: 2; }
.section-number {
  width: 22px;
  font-size: 15px;
  letter-spacing: .05em;
  text-align: left;
}
.section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.08;
  font-weight: 300;
  letter-spacing: -.025em;
}
.section-heading > p {
  grid-column: 2;
  margin: 0;
  max-width: 720px;
  color: var(--muted);
  line-height: 1.55;
  font-size: var(--body-copy);
}

/* Process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: start;
  gap: clamp(22px, 2.4vw, 42px);
}
.process-step { position: relative; text-align: center; min-width: 0; }
.process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 47px;
  left: calc(50% + 54px);
  width: calc(100% - 72px);
  height: 1px;
  background: linear-gradient(90deg, var(--gold), rgba(242,184,0,.25));
}
.process-step:not(:last-child)::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 44px;
  right: -17px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.process-icon-wrap, .small-icon-wrap {
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.68);
  border-radius: 50%;
  margin-inline: auto;
  background: rgba(0,0,0,.22);
}
.process-icon-wrap { width: 96px; height: 96px; }
/* Local monochrome SVG icons: crisp at any size, no PNG filtering needed. */
.process-icon { width: 38px; height: 38px; opacity: .92; object-fit: contain; }
.process-step h3, .strength-card h3 {
  margin: 22px 0 12px;
  font-size: 12px;
  letter-spacing: .08em;
  font-weight: 500;
}
.process-step p, .strength-card p {
  margin: 0 auto;
  max-width: 210px;
  color: var(--muted);
  font-size: var(--body-copy);
  line-height: 1.65;
}

/* Accordion */
.accordion { border-top: 1px solid var(--line); }
.accordion-item { border-bottom: 1px solid var(--line); }
.accordion-trigger {
  width: 100%;
  border: 0;
  background: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 4px;
  text-align: left;
  cursor: pointer;
  font-size: clamp(16px, 1.45vw, 19px);
  color: #e6e6e6;
}
.accordion-trigger:hover { color: #fff; }
.accordion-plus {
  flex: 0 0 auto;
  width: 24px;
  color: var(--gold);
  font-size: 28px;
  font-weight: 200;
  line-height: 1;
  transition: transform .28s var(--ease);
}
.accordion-trigger[aria-expanded="true"] .accordion-plus { transform: rotate(45deg); }
.accordion-panel {
  overflow: hidden;
  height: 0;
  opacity: 0;
  transition: height .52s var(--ease), opacity .36s ease;
  will-change: height, opacity;
}
.accordion-panel.is-open { opacity: 1; }
.accordion-panel[hidden] { display: none; }
.accordion-answer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 0 4px 28px;
}
.accordion-answer > div { display: grid; gap: 7px; padding-right: 22px; border-right: 1px solid var(--line-soft); }
.accordion-answer > div:last-child { border-right: 0; }
.accordion-answer strong { color: var(--gold); font-size: 10px; letter-spacing: .13em; text-transform: uppercase; font-weight: 500; }
.accordion-answer span { color: var(--muted); font-size: var(--body-small); line-height: 1.65; }
.accordion-answer {
  transform: translate3d(0, -8px, 0);
  opacity: 0;
  transition: transform .42s var(--ease), opacity .34s ease;
}
.accordion-panel.is-open .accordion-answer {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

/* Strengths */
.strength-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.strength-card {
  padding: 0 clamp(18px, 2vw, 34px);
  text-align: center;
  border-right: 1px solid var(--line);
}
.strength-card:first-child { padding-left: 0; }
.strength-card:last-child { padding-right: 0; border-right: 0; }
.small-icon-wrap { width: 74px; height: 74px; }
.small-icon-wrap img { width: 30px; height: 30px; opacity: .92; object-fit: contain; }
.strength-card p { max-width: 230px; }

/* Cases */
.case-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.case-card {
  min-height: 420px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(180px, .9fr);
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(6,6,6,.5);
  border-radius: var(--radius);
}
.case-copy { padding: clamp(26px, 3vw, 44px); display: flex; flex-direction: column; }
.case-kicker { display: flex; gap: 9px; margin-bottom: 16px; font-size: 10px; letter-spacing: .14em; }
.case-card h3 { margin: 0 0 30px; font-size: clamp(24px, 2.3vw, 34px); line-height: 1.1; font-weight: 300; letter-spacing: -.02em; }
.case-facts { display: grid; gap: 14px; margin: 0 0 26px; }
.case-facts > div { display: grid; grid-template-columns: 94px 1fr; gap: 16px; }
.case-facts dt { font-size: 9px; letter-spacing: .1em; }
.case-facts dd { margin: 0; color: var(--muted); font-size: var(--body-small); line-height: 1.6; }
.text-link { margin-top: auto; font-size: 11px; letter-spacing: .04em; }
.text-link:hover { color: #ffd452; }
.case-visual { min-width: 0; display: flex; align-items: flex-end; justify-content: flex-end; overflow: hidden; background: linear-gradient(140deg, rgba(255,255,255,.02), rgba(255,255,255,.005)); }
.case-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .86; }

/* Closing */
.closing {
  padding: clamp(38px, 4vw, 58px) var(--section-pad-x) clamp(46px, 5vw, 68px);
}

.closing-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
}

.closing-id {
  color: #dedede;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: .06em;
}

.closing-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(28px, 4vw, 54px);
}

.closing-actions a {
  color: #dedede;
  transition: color .22s ease, transform .22s var(--ease);
}

.closing-actions a:hover {
  color: var(--gold);
  transform: translateY(-2px);
}

/* ================= SCROLL / MICRO MOTION ================= */
body.motion-ready .motion-item {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition:
    opacity .65s var(--ease) var(--motion-delay, 0ms),
    transform .65s var(--ease) var(--motion-delay, 0ms);
  will-change: opacity, transform;
}
body.motion-ready .motion-item.motion-from-left { transform: translate3d(-16px, 0, 0); }
body.motion-ready .motion-item.motion-scale { transform: translate3d(0, 8px, 0) scale(.975); }
body.motion-ready .motion-item.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}
.process-icon-wrap, .small-icon-wrap, .case-card {
  transition: transform .32s var(--ease), border-color .32s ease, box-shadow .32s ease;
}
body.motion-ready .process-step::after {
  transform: scaleX(0);
  transform-origin: left center;
  opacity: .2;
  transition: transform .65s var(--ease) calc(var(--motion-delay, 0ms) + 180ms), opacity .45s ease calc(var(--motion-delay, 0ms) + 180ms);
}
body.motion-ready .process-step::before {
  opacity: 0;
  transform: scale(.4);
  transition: opacity .35s ease calc(var(--motion-delay, 0ms) + 500ms), transform .35s var(--ease) calc(var(--motion-delay, 0ms) + 500ms);
}
body.motion-ready .process-step.is-visible::after {
  transform: scaleX(1);
  opacity: 1;
}
body.motion-ready .process-step.is-visible::before {
  opacity: 1;
  transform: scale(1);
}
body.motion-ready .case-visual img {
  transform: scale(1.045);
  opacity: .45;
  transition: transform .9s var(--ease) .12s, opacity .7s ease .12s;
}
body.motion-ready .case-card.is-visible .case-visual img {
  transform: scale(1);
  opacity: .9;
}
.process-step:hover .process-icon-wrap,
.strength-card:hover .small-icon-wrap {
  transform: translateY(-4px);
  border-color: rgba(242,184,0,.72);
  box-shadow: 0 10px 28px rgba(0,0,0,.26);
}
.case-card:hover {
  transform: translateY(-3px);
  border-color: rgba(242,184,0,.28);
}
.accordion-trigger { transition: color .22s ease, padding-left .28s var(--ease); }
.accordion-trigger:hover { padding-left: 6px; }

/* ================= DESKTOP SCALE ================= */
@media (max-width: 1220px) {
  :root { --rail-safe: 82px; }
  .section-heading {
    grid-template-columns: 22px minmax(0, 1fr);
    column-gap: 10px;
  }
  .section-heading > p {
    grid-column: 2;
    max-width: 680px;
  }
  .process-grid { grid-template-columns: repeat(3, 1fr); row-gap: 44px; }
  .process-step:nth-child(3)::after, .process-step:nth-child(3)::before { display: none; }
  .strength-grid { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .strength-card:nth-child(2) { border-right: 0; }
  .strength-card:nth-child(3) { padding-left: 0; }
  .case-grid { grid-template-columns: 1fr; }
}

/* ================= MOBILE ================= */
@media (max-width: 760px) {
  body { padding-bottom: 78px; }

  :root {
    --page-pad: 16px;
    --rail-safe: 0px;
    --header-height: 62px;
    --section-gap: 10px;
    --section-pad-y: 34px;
    --section-pad-x: 18px;
    --hero-min-height: 660px;
    --body-copy: 15px;
    --body-small: 14px;
  }

  .site-header {
    padding-left: 16px;
    padding-right: 16px;
    font-size: 10px;
    letter-spacing: .08em;
  }
  .brand { gap: 7px; white-space: nowrap; }
  .brand-accent { display: inline; }

  .progress-rail {
    top: auto;
    left: var(--section-gap);
    right: var(--section-gap);
    bottom: var(--section-gap);
    margin: 0 10px;
    width: auto;
    height: 58px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 1fr;
    padding: 0 10px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 20px;
    background: rgba(10,10,10,.58);
    -webkit-backdrop-filter: blur(18px) saturate(130%);
    backdrop-filter: blur(18px) saturate(130%);
    box-shadow: 0 12px 32px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.05);
    overflow: visible;
  }
  .rail-line {
    top: 27px;
    bottom: auto;
    left: 28px;
    right: 28px;
    border-left: 0;
    border-top: 1px dashed rgba(255,255,255,.32);
  }
  .rail-marker {
    min-width: 0;
    height: 100%;
    margin-top: 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 9px;
  }
  .rail-tick {
    width: 1px;
    height: 8px;
    margin-top: 0;
    background: currentColor;
    transform: none;
  }
  .rail-number { margin-left: 0;}
  .satellite { top: -13px; left: 0; width: 46px; }

  .hero-copy { padding-top: 118px; padding-right: 0; }
  .hero h1 { font-size: clamp(46px, 14vw, 66px); line-height: .98; }
  .gold-rule { margin: 30px 0 24px; width: 30px; }
  .hero-deck { font-size: 18px; }
  .scroll-cue { margin-top: 56px; gap: 16px; font-size: 9px; }
  .scroll-line { height: 54px; }
  .hero-visual {
    inset: -2px;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    object-fit: cover;
    object-position: 66% center;
    opacity: 1;
    transform: translate3d(0,0,0) scale(1.10);
  }
  .hero::after { background: linear-gradient(90deg, rgba(5,5,5,.93) 0%, rgba(5,5,5,.58) 52%, rgba(5,5,5,.10) 100%); }

  .sections { width: calc(100% - (var(--section-gap) * 2)); padding-right: 0; }
  .content-section { border-color: rgba(255,255,255,.11); }
  .section-heading {
    grid-template-columns: 22px minmax(0, 1fr);
    column-gap: 8px;
    row-gap: 10px;
    margin-bottom: 34px;
  }
  .section-heading h2 { font-size: 25px; }
  .section-heading > p {
    grid-column: 2;
    max-width: 520px;
    font-size: var(--body-small);
  }

  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 34px 18px; }
  .process-step::after, .process-step::before { display: none !important; }
  .process-icon-wrap { width: 74px; height: 74px; }
  .process-icon { width: 30px; height: 30px; }
  .process-step h3 { margin-top: 15px; font-size: 10px; }
  .process-step p { font-size: var(--body-copy); max-width: 175px; }

  .accordion-trigger { padding: 19px 0; font-size: 15px; }
  .accordion-plus { font-size: 23px; }
  .accordion-answer { grid-template-columns: 1fr; gap: 15px; padding-bottom: 22px; }
  .accordion-answer > div { border-right: 0; border-bottom: 1px solid var(--line-soft); padding: 0 0 13px; }
  .accordion-answer > div:last-child { border-bottom: 0; }
  .accordion-answer span { font-size: var(--body-small); }

  .strength-grid { grid-template-columns: 1fr; row-gap: 0; }
  .strength-card,
  .strength-card:first-child,
  .strength-card:nth-child(3),
  .strength-card:last-child {
    display: grid;
    grid-template-columns: 58px 1fr;
    grid-template-rows: auto auto;
    gap: 3px 14px;
    text-align: left;
    padding: 17px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }
  .strength-card:last-child { border-bottom: 0; }
  .small-icon-wrap { grid-row: 1 / span 2; width: 50px; height: 50px; margin: 0; }
  .small-icon-wrap img { width: 21px; height: 21px; }
  .strength-card h3 { margin: 1px 0 2px; font-size: 10px; }
  .strength-card p { margin: 0; max-width: none; font-size: var(--body-small); }

  .case-card { grid-template-columns: 1fr; min-height: 0; }
  .case-copy { padding: 22px; }
  .case-card h3 { font-size: 25px; margin-bottom: 24px; }
  .case-facts > div { grid-template-columns: 82px 1fr; gap: 11px; }
  .case-facts dd { font-size: var(--body-small); }
  .case-visual { min-height: 210px; }
  .case-visual img { height: 210px; }
  .text-link { margin-top: 10px; }

  .closing { padding: 34px 16px 46px; opacity: 0.4}
  .closing-links { gap: 17px; text-align: center; }
  .closing-id { font-size: 12px;}
  .closing-actions { gap: 30px; }
  .closing-actions a { font-size: 12px; }
}

@media (max-width: 420px) {
  .site-header { font-size: 8.2px; padding-right: 16px; }
  .brand { gap: 6px; }
  .hero h1 { font-size: 45px; }
  .section-heading h2 { font-size: 22px; }
  .case-facts > div { grid-template-columns: 1fr; gap: 4px; }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  body.motion-ready .motion-item { opacity: 1 !important; transform: none !important; }
  .hero .gold-rule, .hero .scroll-cue { animation: none !important; }
}

/* =========================================================
   2026-08-29 PAGE-JOURNEY / HERO / FOOTER REFINEMENTS
   Preserves the latest user-authored CSS above and layers the
   previously approved rail behavior plus the newest refinements.
   ========================================================= */

/* Give the hero CTA guaranteed breathing room on tall/wide screens. */
.hero-copy {
  padding-bottom: clamp(92px, 12vh, 150px);
}

/* Only the arrow moves; the "SCROLL TO EXPLORE" text stays still. */
.hero .scroll-cue,
.hero .scroll-cue > span:last-child {
  animation: none;
}

.scroll-line::after {
  animation: cueArrowDrop 1.25s cubic-bezier(.45,0,.25,1) infinite;
}

@keyframes cueArrowDrop {
  0%, 100% { transform: translateY(-4px); }
  50% { transform: translateY(7px); }
}

/* More room for the stronger hero parallax transform. */
.hero-visual {
  transform: translate3d(0,0,0) scale(1.17);
}

/*
  Progress rail represents the whole page journey:
  open circle = hero, 01–04 = content sections, filled circle = footer.
*/
.progress-rail {
  display: block;
}

.rail-line {
  top: 0;
  bottom: 0;
}

.rail-line::before,
.rail-line::after {
  content: "";
  position: absolute;
  z-index: 3;
  width: 9px;
  height: 9px;
  left: -5px;
  border-radius: 50%;
}

/* Start / hero waypoint: open circle. */
.rail-line::before {
  top: -5px;
  background: var(--bg);
  border: 1px solid rgba(255,255,255,.72);
  box-shadow: 0 0 0 3px rgba(5,5,5,.72);
}

/* End / footer waypoint: filled circle. */
.rail-line::after {
  bottom: -5px;
  background: var(--gold);
  border: 1px solid var(--gold);
  box-shadow: 0 0 0 3px rgba(5,5,5,.72), 0 0 12px rgba(242,184,0,.18);
}

/* Leave one equal rail interval for hero and one for footer. */
.rail-marker {
  position: absolute;
  left: 0;
  width: 72px;
  transform: translateY(-50%);
}

.progress-rail .rail-marker:nth-of-type(1) { top: 20%; }
.progress-rail .rail-marker:nth-of-type(2) { top: 40%; }
.progress-rail .rail-marker:nth-of-type(3) { top: 60%; }
.progress-rail .rail-marker:nth-of-type(4) { top: 80%; }

/* Satellite is centered on the rail and moved with CSS variables from JS. */
.satellite {
  left: 18px;
  top: 0;
  --sat-x: 0px;
  --sat-y: 0px;
  --sat-rotate: -12deg;
  transform: translate3d(calc(-50% + var(--sat-x)), calc(-50% + var(--sat-y)), 0) rotate(var(--sat-rotate));
  transition: transform .16s linear;
}

/* Align the small case-fact label baseline with the copy beside it. */
.case-facts > div {
  align-items: baseline;
}

/* Footer: same quiet treatment and same type size at every viewport. */
.closing {
  padding: 34px 16px 46px;
  opacity: 1;
}

.closing-links {
  gap: 17px;
  text-align: center;
}

.closing-id,
.closing-actions a {
  color: #5e5e5e;
  font-size: 12px;
  line-height: 1.5;
}

.closing-id {
  letter-spacing: .06em;
}

.closing-actions {
  gap: 30px;
}

.closing-actions a:hover {
  color: var(--gold);
}

@media (max-width: 760px) {
  /* Keep the same start/end waypoints when the rail rotates horizontally. */
  .progress-rail {
    display: block;
  }

  .rail-line {
    top: 27px;
    bottom: auto;
    left: 28px;
    right: 28px;
  }

  .rail-line::before,
  .rail-line::after {
    top: -6.5px;
    bottom: auto;
  }

  .rail-line::before {
    left: -5px;
  }

  .rail-line::after {
    left: auto;
    right: -5px;
  }

  .rail-marker {
    top: 50%;
    width: auto;
    height: 100%;
    transform: translate(-50%, -50%);
  }

  .progress-rail .rail-marker:nth-of-type(1) { top: 50%; left: 20%; }
  .progress-rail .rail-marker:nth-of-type(2) { top: 50%; left: 40%; }
  .progress-rail .rail-marker:nth-of-type(3) { top: 50%; left: 60%; }
  .progress-rail .rail-marker:nth-of-type(4) { top: 50%; left: 80%; }

  .satellite {
    left: 28px;
    top: 8px;
    width: 46px;
  }

  .hero-copy {
    padding-bottom: 88px;
  }

  .hero-visual {
    transform: translate3d(0,0,0) scale(1.16);
  }

  /* Override the earlier mobile parent-opacity rule with explicit text color. */
  .closing {
    opacity: 1;
    padding: 34px 16px 46px;
  }

  .closing-id,
  .closing-actions a {
    color: #5e5e5e;
    font-size: 12px;
    line-height: 1.5;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero .scroll-cue,
  .hero .scroll-cue > span:last-child,
  .scroll-line::after {
    animation: none !important;
  }
}
