/* ==================================================================
   INFINUM BJJ — HOMEPAGE REDESIGN
   Editorial Fight Journal · Syne + Instrument Serif + DM Sans + JetBrains Mono
   Scoped under body.home to avoid colliding with other pages.
   ================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@500;600;700;800&family=Instrument+Serif:ital@0;1&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700&family=JetBrains+Mono:wght@400;500;600&display=swap');

body.home {
  /* Typographic system override */
  --font-display:    'Syne', sans-serif;
  --font-editorial:  'Instrument Serif', Georgia, serif;
  --font-body:       'DM Sans', system-ui, sans-serif;
  --font-mono:       'JetBrains Mono', ui-monospace, monospace;

  /* Extended palette */
  --ink:        #0A0A0A;
  --ink-soft:   #18171A;
  --paper:      #F5F1EA;          /* warm off-white */
  --paper-deep: #EAE3D6;          /* deeper cream */
  --bone:       #DCD3C1;
  --line:       rgba(10,10,10,0.14);
  --line-soft:  rgba(10,10,10,0.08);
  --muted:      #5F5A52;
  --muted-2:    #8A8478;
  --red:        #E93D3D;
  --red-deep:   #B7252B;
  --red-wash:   rgba(233,61,61,0.92);

  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
}

body.home h1, body.home h2, body.home h3, body.home h4, body.home h5 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 0.94;
  text-transform: none;
}

/* Remove default hero fullscreen behaviour for home */
body.home .hero { min-height: unset; }

/* ==================================================================
   0 · UTILITY & ATOMS
   ================================================================== */

.home .mono {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}
.home .mono-muted { color: var(--muted); }

/* Editorial chapter marker ("I", "II", "III", "IV", "V", "VI", "VII") */
.chapter-mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: normal;
  letter-spacing: -0.04em;
  line-height: 0.85;
  font-size: clamp(6rem, 14vw, 13rem);
  color: var(--ink);
  display: block;
}
.chapter-mark--outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
}
.chapter-mark--red { color: var(--red); }
.chapter-mark--on-dark { color: var(--paper); }
.chapter-mark--on-dark.chapter-mark--outline { -webkit-text-stroke-color: var(--paper); }

/* Red tactical corner brackets (for card "dojo precision" motif) */
.bracket-box {
  position: relative;
}
.bracket-box::before,
.bracket-box::after,
.bracket-box > .brk-tl,
.bracket-box > .brk-tr,
.bracket-box > .brk-bl,
.bracket-box > .brk-br {
  pointer-events: none;
  position: absolute;
  width: 18px; height: 18px;
  border: 2px solid var(--red);
  z-index: 3;
}
.bracket-box > .brk-tl { top: -1px;    left: -1px;    border-right: none; border-bottom: none; }
.bracket-box > .brk-tr { top: -1px;    right: -1px;   border-left:  none; border-bottom: none; }
.bracket-box > .brk-bl { bottom: -1px; left: -1px;    border-right: none; border-top:    none; }
.bracket-box > .brk-br { bottom: -1px; right: -1px;   border-left:  none; border-top:    none; }

/* Rotated vertical text utility */
.v-text {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  text-transform: uppercase;
  letter-spacing: 0.28em;
}

/* Drop cap */
.dropcap::first-letter {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 4.4em;
  float: left;
  line-height: 0.82;
  padding: 0.18em 0.14em 0 0;
  color: var(--ink);
  margin-top: 0.05em;
}

/* Tick scale horizontal ruler — dojo precision motif */
.tick-rule {
  height: 18px;
  background-image: repeating-linear-gradient(
    to right,
    var(--ink) 0 1px,
    transparent 1px 12px
  );
  opacity: 0.6;
}
.tick-rule--sparse {
  background-image: repeating-linear-gradient(
    to right,
    var(--ink) 0 1px,
    transparent 1px 40px
  );
  opacity: 0.35;
}
.on-dark .tick-rule,
.section--dark-editorial .tick-rule {
  background-image: repeating-linear-gradient(
    to right,
    rgba(255,255,255,0.5) 0 1px,
    transparent 1px 12px
  );
}

/* Grain overlay — to be applied via ::after on visual elements */
.grain {
  position: relative;
  isolation: isolate;
}
.grain::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' seed='4'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.9 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  z-index: 2;
}

/* Duotone image — red wash for key editorial images */
.duotone {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
}
.duotone > img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.12) brightness(0.85);
  mix-blend-mode: screen;
  opacity: 0.9;
}
.duotone::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-deep) 60%, #3A0A0A 100%);
  z-index: 0;
}

/* Offset red plate (for image overlap treatments) */
.red-plate-wrap { position: relative; }
.red-plate-wrap::before {
  content: '';
  position: absolute;
  inset: 24px -24px -24px 24px;
  background: var(--red);
  z-index: 0;
}
.red-plate-wrap > * { position: relative; z-index: 1; }

/* ==================================================================
   1 · TOP UTILITY BAR + NAV UPLIFT
   ================================================================== */

.home .nav.nav--transparent { background: transparent; }
.home .nav.nav--scrolled { background: var(--ink); box-shadow: 0 1px 0 rgba(255,255,255,0.06); }

.home-utilbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1001;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: none;
}
@media (min-width: 1024px) {
  .home-utilbar { display: block; }
  body.home { --nav-h-offset: 32px; }
  body.home .nav { top: 32px; }
}
.home-utilbar__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}
.home-utilbar__dot { color: var(--red); margin: 0 0.6rem; }
.home-utilbar a:hover { color: var(--red); }

/* Nav links on paper hero — white text because hero is dark.
   Already handled globally; just ensure logo contrast stays. */
.home .nav__logo img { filter: drop-shadow(0 2px 8px rgba(0,0,0,0.35)); }

/* ==================================================================
   2 · HERO — EDITORIAL SPLIT w/ DUOTONE IMAGE & VERTICAL RAIL
   ================================================================== */

.hero-editorial {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  min-height: 100vh;
  padding-top: calc(var(--nav-h) + var(--nav-h-offset, 0px) + 1rem);
  padding-bottom: 0;
  overflow: hidden;
}

.hero-editorial__grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  gap: 0;
  min-height: calc(100vh - var(--nav-h) - var(--nav-h-offset, 0px));
}
@media (min-width: 1024px) {
  .hero-editorial__grid {
    grid-template-columns: 56fr 44fr;
  }
}

/* LEFT — editorial typography side */
.hero-editorial__left {
  position: relative;
  padding: 2.5rem 1.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 2;
}
@media (min-width: 768px) {
  .hero-editorial__left { padding: 3rem 3rem 3rem; }
}
@media (min-width: 1024px) {
  .hero-editorial__left { padding: 3rem 2.5rem 2.5rem 4rem; }
}

.hero-ed__meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245,241,234,0.55);
}
.hero-ed__meta span { display: block; }
.hero-ed__meta strong { color: var(--paper); font-weight: 500; letter-spacing: 0.14em; }

.hero-ed__issue {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.hero-ed__issue::before {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: var(--red);
}

.hero-ed__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 6.6vw, 6.2rem);
  line-height: 0.88;
  letter-spacing: -0.035em;
  color: var(--paper);
  margin: 0 0 0.9rem;
}
.hero-ed__title-1 { display: block; }
.hero-ed__title-2 {
  display: block;
  padding-left: 0.08em;
  position: relative;
}
.hero-ed__title-italic {
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 400;
  font-size: 1.04em;
  color: var(--red);
  letter-spacing: -0.02em;
  padding-left: 0.08em;
}

.hero-ed__tagline {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1.3;
  color: var(--paper);
  max-width: 30ch;
  margin-bottom: 0.75rem;
}

.hero-ed__sub {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(245,241,234,0.7);
  max-width: 42ch;
  margin-bottom: 1.5rem;
}

.hero-ed__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.25rem;
  align-items: center;
  margin-bottom: 1.75rem;
}

.btn-editorial {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 1.1rem 1.7rem 1.1rem 1.5rem;
  background: var(--red);
  color: var(--paper);
  border: none;
  transition: background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
  position: relative;
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
}
.btn-editorial:hover {
  background: var(--red-deep);
  transform: translateY(-2px);
}
.btn-editorial__arrow {
  display: inline-block;
  transition: transform 0.22s ease;
}
.btn-editorial:hover .btn-editorial__arrow { transform: translateX(4px); }

.btn-ghost-light {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper);
  padding: 0.85rem 0.2rem;
  border-bottom: 1px solid rgba(245,241,234,0.25);
  transition: border-color 0.22s, color 0.22s;
}
.btn-ghost-light:hover { border-color: var(--red); color: var(--red); }

/* coordinate strip under CTA */
.hero-ed__coord {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(245,241,234,0.14);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245,241,234,0.5);
}
@media (min-width: 768px) {
  .hero-ed__coord { grid-template-columns: repeat(4, 1fr); }
}
.hero-ed__coord div { line-height: 1.4; }
.hero-ed__coord strong { display: block; color: var(--paper); font-weight: 500; letter-spacing: 0.1em; }

/* RIGHT — full image with duotone + brackets */
.hero-editorial__right {
  position: relative;
  overflow: hidden;
  min-height: 56vh;
}
@media (min-width: 1024px) {
  .hero-editorial__right { min-height: 100%; }
}
.hero-editorial__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 28%;
  filter: grayscale(70%) contrast(1.06) brightness(0.92);
  z-index: 0;
}
.hero-editorial__duotone {
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(233,61,61,0.55) 0%, rgba(183,37,43,0.28) 45%, rgba(10,10,10,0.25) 100%);
  z-index: 1;
  pointer-events: none;
}
.hero-editorial__vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 80%, rgba(10,10,10,0) 0%, rgba(10,10,10,0.55) 100%);
  z-index: 2;
  pointer-events: none;
}
.hero-editorial__right-ui {
  position: absolute;
  inset: 1.5rem;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}
.hero-editorial__right-ui > span,
.hero-editorial__right-ui > div {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--paper);
  mix-blend-mode: difference;
}
.hero-ed__sn-top { display: flex; flex-direction: column; gap: 0.3rem; }
.hero-ed__sn-top strong { color: var(--red); font-weight: 600; }
.hero-ed__sn-bottom {
  align-self: flex-end;
  text-align: right;
}

/* Tactical corner brackets on hero image */
.hero-editorial__right .brk {
  position: absolute;
  width: 34px; height: 34px;
  border: 2px solid var(--paper);
  z-index: 3;
  mix-blend-mode: difference;
}
.hero-editorial__right .brk--tl { top: 1.5rem; left: 1.5rem;  border-right: none; border-bottom: none; }
.hero-editorial__right .brk--tr { top: 1.5rem; right: 1.5rem; border-left:  none; border-bottom: none; }
.hero-editorial__right .brk--bl { bottom: 1.5rem; left: 1.5rem;  border-right: none; border-top:    none; }
.hero-editorial__right .brk--br { bottom: 1.5rem; right: 1.5rem; border-left:  none; border-top:    none; }

/* Vertical rail on hero-left outer edge (phone + ig) */
.hero-rail {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  display: none;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(245,241,234,0.55);
  padding: 1rem 0.6rem;
}
@media (min-width: 1280px) { .hero-rail { display: block; } }
.hero-rail a:hover { color: var(--red); }
.hero-rail span { color: var(--red); padding: 0 0.4rem; }

/* ==================================================================
   3 · MARQUEE TICKER
   ================================================================== */

.ticker {
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 0.95rem 0;
}
.section--paper + .ticker,
.ticker--paper {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--line);
}
.ticker--red { background: var(--red); color: var(--paper); border-color: transparent; }
.ticker__track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  gap: 0;
  animation: marquee 42s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
}
.ticker__item::after {
  content: '★';
  color: var(--red);
  font-size: 0.8em;
  display: inline-block;
}
.ticker--red .ticker__item::after { color: var(--paper); }
.ticker__item--italic { font-family: var(--font-editorial); font-style: italic; font-weight: 400; text-transform: none; font-size: 1.3rem; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ==================================================================
   4 · SECTION: ABOUT / BUILT TO CHANGE LIVES
   Chapter II — editorial spread
   ================================================================== */

.section--paper {
  background: var(--paper);
  color: var(--ink);
  padding: 6rem 0;
  position: relative;
}
@media (min-width: 1024px) { .section--paper { padding: 8rem 0; } }

.section--bone {
  background: var(--paper-deep);
  color: var(--ink);
  padding: 6rem 0;
  position: relative;
}
@media (min-width: 1024px) { .section--bone { padding: 8rem 0; } }

.section--ink {
  background: var(--ink);
  color: var(--paper);
  padding: 6rem 0;
  position: relative;
}
@media (min-width: 1024px) { .section--ink { padding: 8rem 0; } }

.chapter-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: end;
  margin-bottom: 3.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 768px) {
  .chapter-head { grid-template-columns: auto 1fr auto; gap: 2.5rem; }
}
.section--ink .chapter-head { border-color: rgba(255,255,255,0.1); }

.chapter-head__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.section--ink .chapter-head__num { color: var(--paper); }
.chapter-head__num em {
  font-style: normal;
  color: var(--red);
}

.chapter-head__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 0.5rem;
}
.section--ink .chapter-head__label { color: rgba(245,241,234,0.55); }

.chapter-head__meta {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-2);
  padding-bottom: 0.5rem;
}

.about-ed {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .about-ed {
    grid-template-columns: 5fr 7fr;
    gap: 5rem;
  }
}

.about-ed__visual {
  position: relative;
  padding: 0.5rem 2rem 2.5rem 0;
}
.about-ed__visual-main {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(10,10,10,0.35);
}
.about-ed__visual-main img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: grayscale(30%) contrast(1.05);
  transition: filter 0.5s ease;
}
.about-ed__visual-main:hover img { filter: grayscale(0%); }
/* red offset plate behind */
.about-ed__visual::before {
  content: '';
  position: absolute;
  top: 2rem;
  right: 0;
  bottom: 0;
  left: 2rem;
  background: var(--red);
  z-index: 0;
}
.about-ed__visual-main { position: relative; z-index: 1; }

.about-ed__visual-accent {
  position: absolute;
  bottom: -2rem;
  right: -1rem;
  width: 45%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 6px solid var(--paper);
  box-shadow: 0 20px 40px rgba(10,10,10,0.25);
  transform: rotate(3deg);
  z-index: 2;
}
.about-ed__visual-accent img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-ed__visual-stamp {
  position: absolute;
  top: -1.5rem;
  right: -0.5rem;
  width: 120px; height: 120px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
  color: var(--ink);
  background: var(--paper);
  transform: rotate(-8deg);
  z-index: 3;
  line-height: 1.35;
  padding: 0 0.5rem;
  font-weight: 600;
}
.about-ed__visual-stamp strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  color: var(--red);
  margin: 0.2rem 0;
}

.about-ed__text h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  max-width: 14ch;
}
.about-ed__text h2 em {
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 400;
  color: var(--red);
  letter-spacing: -0.01em;
}
.about-ed__text .lead {
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 1.1rem;
  max-width: 54ch;
}
.about-ed__text p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 54ch;
}
.about-ed__text p + p { margin-top: 1rem; }

.about-ed__badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin: 2.25rem 0 2rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.about-ed__badge {
  padding: 1rem 0.25rem;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  border-right: 1px solid var(--line);
}
.about-ed__badge:nth-child(2n) { border-right: none; }
.about-ed__badge:nth-child(n+3) { border-top: 1px solid var(--line); }
@media (min-width: 640px) {
  .about-ed__badges { grid-template-columns: repeat(4, 1fr); }
  .about-ed__badge { border-right: 1px solid var(--line); }
  .about-ed__badge:last-child { border-right: none; }
  .about-ed__badge:nth-child(n+3) { border-top: none; }
  .about-ed__badge:nth-child(2n) { border-right: 1px solid var(--line); }
  .about-ed__badge:last-child { border-right: none; }
}
.about-ed__badge-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--red);
  font-weight: 600;
}
.about-ed__badge-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.2;
}

.about-ed__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
}

.btn-ed-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 1rem 1.6rem;
  background: var(--ink);
  color: var(--paper);
  border: none;
  transition: background 0.22s, transform 0.22s;
  clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}
.btn-ed-primary:hover { background: var(--red); transform: translateY(-2px); }

.btn-ed-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--ink);
  transition: color 0.22s, border-color 0.22s, gap 0.22s;
}
.btn-ed-link:hover { color: var(--red); border-color: var(--red); gap: 0.9rem; }
.section--ink .btn-ed-link { color: var(--paper); border-color: var(--paper); }
.section--ink .btn-ed-link:hover { color: var(--red); border-color: var(--red); }


/* ==================================================================
   5 · SECTION: PROGRAMS (Chapter III) — editorial list
   Alternating horizontal rows with massive numerals
   ================================================================== */

.programs-ed {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.program-ed {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  padding: 3.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  position: relative;
  text-decoration: none;
  color: inherit;
  transition: background 0.35s ease;
}
.program-ed:last-child { border-bottom: 1px solid rgba(255,255,255,0.1); }

@media (min-width: 768px) {
  .program-ed { grid-template-columns: 90px 1.2fr 1fr; gap: 3rem; padding: 4rem 0; }
}
@media (min-width: 1024px) {
  .program-ed { grid-template-columns: 140px 1.2fr 1fr; gap: 4rem; }
}

.program-ed:hover { background: rgba(233,61,61,0.05); }

.program-ed__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 2px rgba(245,241,234,0.35);
  transition: -webkit-text-stroke-color 0.3s, color 0.3s;
}
.program-ed:hover .program-ed__num {
  -webkit-text-stroke-color: var(--red);
  color: var(--red);
}

.program-ed__img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--ink);
}
@media (min-width: 768px) {
  .program-ed__img { aspect-ratio: 3/2; min-height: 260px; }
}
.program-ed__img img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 25%;
  filter: grayscale(60%) contrast(1.1) brightness(0.8);
  transition: filter 0.5s ease, transform 0.6s ease;
}
.program-ed:hover .program-ed__img img {
  filter: grayscale(0%) contrast(1.05) brightness(0.95);
  transform: scale(1.04);
}
.program-ed__img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0) 60%, rgba(10,10,10,0.55) 100%);
  z-index: 1;
}
.program-ed__img-tag {
  position: absolute;
  top: 1rem; left: 1rem;
  z-index: 2;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--paper);
  padding: 0.4rem 0.7rem;
  background: var(--red);
}

.program-ed__body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.program-ed__ages {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
}
.program-ed__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  line-height: 0.94;
  letter-spacing: -0.03em;
  color: var(--paper);
  margin: 0.15rem 0 0.5rem;
}
.program-ed__title em {
  font-family: var(--font-editorial);
  font-weight: 400;
  font-style: italic;
  color: var(--red);
}
.program-ed__text {
  font-family: var(--font-body);
  color: rgba(245,241,234,0.7);
  line-height: 1.65;
  font-size: 0.98rem;
  max-width: 38ch;
}
.program-ed__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper);
  padding-top: 0.5rem;
  margin-top: 0.5rem;
  transition: color 0.22s, gap 0.22s;
}
.program-ed:hover .program-ed__cta { color: var(--red); gap: 1rem; }
.program-ed__cta svg { width: 14px; height: 14px; }

/* ==================================================================
   6 · SECTION: WHY INFINUM (Chapter IV) — editorial pull quote
   ================================================================== */

.why-ed {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: flex-start;
}
@media (min-width: 1024px) {
  .why-ed { grid-template-columns: 1fr 1fr; gap: 5rem; }
}

.why-ed__image-wrap {
  position: relative;
  padding: 2rem 2rem 0 0;
}
.why-ed__image-wrap::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 60%; height: 70%;
  background: var(--red);
  z-index: 0;
}
.why-ed__image {
  position: relative;
  z-index: 1;
  aspect-ratio: 4/5;
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(10,10,10,0.4);
}
.why-ed__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(40%) contrast(1.08);
  transition: transform 0.6s ease, filter 0.5s ease;
}
.why-ed__image:hover img { transform: scale(1.03); filter: grayscale(0%); }

.why-ed__image-caption {
  position: absolute;
  bottom: -1.25rem;
  left: 1rem;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.5rem 0.8rem;
  background: var(--paper);
  border: 1px solid var(--line);
}
.section--bone .why-ed__image-caption { background: var(--paper-deep); }

.why-ed__content-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}
.why-ed__content-label::before {
  content: '';
  width: 32px; height: 1px;
  background: var(--red);
}

.why-ed h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 0.94;
  letter-spacing: -0.035em;
  margin-bottom: 1.75rem;
  max-width: 14ch;
}
.why-ed h2 em {
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 400;
  color: var(--red);
  letter-spacing: -0.01em;
}

.why-ed__lead {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
  max-width: 52ch;
  margin-bottom: 2rem;
  position: relative;
}

.why-ed__pullmark {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 6rem;
  line-height: 0.7;
  color: var(--red);
  position: absolute;
  top: -1.5rem;
  left: -2rem;
  opacity: 0.3;
  pointer-events: none;
}

.why-ed__list {
  list-style: none;
  padding: 0;
  margin: 0 0 2.25rem;
  border-top: 1px solid var(--line);
}
.why-ed__list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 0.9rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.4;
}
.why-ed__list li::before {
  content: counter(whyitem, decimal-leading-zero);
  counter-increment: whyitem;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--red);
}
.why-ed__list { counter-reset: whyitem; }


/* ==================================================================
   7 · SECTION: INSTRUCTORS (Chapter V) — editorial portrait cards
   ================================================================== */

.instructors-ed {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (min-width: 768px) {
  .instructors-ed { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
}

.instructor-ed {
  position: relative;
  color: var(--paper);
  overflow: hidden;
  aspect-ratio: 3/4;
  display: flex;
  align-items: flex-end;
  background: var(--ink-soft);
  isolation: isolate;
}
.instructor-ed__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 15%;
  filter: grayscale(75%) contrast(1.08) brightness(0.82);
  transition: filter 0.6s, transform 0.7s ease;
}
.instructor-ed:hover .instructor-ed__img {
  filter: grayscale(0%) contrast(1.05) brightness(0.95);
  transform: scale(1.04);
}
.instructor-ed::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0) 30%, rgba(10,10,10,0.3) 55%, rgba(10,10,10,0.95) 100%);
  z-index: 1;
}
.instructor-ed::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(245,241,234,0.1);
  z-index: 3;
  pointer-events: none;
  transition: border-color 0.3s;
}
.instructor-ed:hover::after { border-color: var(--red); }

.instructor-ed__body {
  position: relative;
  z-index: 2;
  padding: 1.25rem 1.25rem 1.1rem;
  width: 100%;
}
.instructor-ed__idx {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  color: var(--red);
  font-weight: 600;
  display: block;
  margin-bottom: 0.3rem;
}
.instructor-ed__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.35rem, 2.3vw, 1.9rem);
  line-height: 0.96;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin-bottom: 0.3rem;
}
.instructor-ed__role {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 0.98rem;
  color: var(--red);
  letter-spacing: 0;
}
.instructor-ed__underline {
  width: 28px;
  height: 2px;
  background: var(--red);
  margin-top: 0.6rem;
  transition: width 0.4s ease;
}
.instructor-ed:hover .instructor-ed__underline { width: 70%; }


/* ==================================================================
   8 · QUOTE BAND (paper/editorial)
   ================================================================== */

.quote-ed {
  background: var(--paper-deep);
  color: var(--ink);
  padding: 5rem 0 5.5rem;
  position: relative;
  overflow: hidden;
}
.quote-ed::before {
  content: '"';
  position: absolute;
  top: -3.5rem;
  left: 4%;
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 22rem;
  line-height: 1;
  color: var(--red);
  opacity: 0.14;
  pointer-events: none;
  user-select: none;
}
.quote-ed__inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
  position: relative;
}
.quote-ed blockquote {
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 4.25rem);
  line-height: 1.1;
  color: var(--ink);
  max-width: 22ch;
  margin: 0 auto 2rem;
  letter-spacing: -0.01em;
  position: relative;
}
.quote-ed blockquote em {
  font-style: italic;
  color: var(--red);
  position: relative;
}
.quote-ed blockquote em::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: 0.12em;
  height: 6px;
  background: var(--red);
  opacity: 0.2;
  z-index: -1;
}
.quote-ed cite {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-style: normal;
}
.quote-ed cite::before,
.quote-ed cite::after {
  content: '';
  width: 30px; height: 1px;
  background: var(--red);
}


/* ==================================================================
   9 · TESTIMONIALS (Chapter VI) — asymmetric editorial reviews
   ================================================================== */

.reviews-ed {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 900px) {
  .reviews-ed {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: minmax(200px, auto);
    gap: 1.25rem;
  }
  .review-ed--a { grid-column: span 3; grid-row: span 2; }
  .review-ed--b { grid-column: span 3; grid-row: span 1; }
  .review-ed--c { grid-column: span 3; grid-row: span 1; }
}

.review-ed {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 2rem 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s;
  overflow: hidden;
}
.section--bone .review-ed { background: var(--paper); }
.review-ed::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 6px; height: 100%;
  background: var(--red);
}
.review-ed:hover {
  transform: translateY(-4px);
  border-color: var(--ink);
  box-shadow: 0 20px 40px -20px rgba(10,10,10,0.2);
}

.review-ed__stars {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 0.18em;
  color: var(--red);
  margin-bottom: 1rem;
  line-height: 1;
}
.review-ed__quote {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 1.25rem;
  position: relative;
  font-weight: 400;
  letter-spacing: -0.005em;
  flex: 1;
}
.review-ed--a .review-ed__quote {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  line-height: 1.32;
}
.review-ed__quote::before {
  content: '\201C';
  font-size: 2.4em;
  line-height: 0.6;
  color: var(--red);
  opacity: 0.35;
  position: absolute;
  top: -0.15em;
  left: -0.25em;
  font-family: var(--font-editorial);
}
.review-ed__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.review-ed__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.review-ed__role {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-top: 0.2rem;
  font-weight: 500;
}
.review-ed__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--line);
  letter-spacing: -0.02em;
}

.reviews-ed__footer {
  margin-top: 3.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  gap: 1.5rem;
}
.reviews-ed__foot-meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.reviews-ed__foot-meta strong { color: var(--ink); font-weight: 600; }


/* ==================================================================
   10 · FINAL CTA (Chapter VII) — editorial begin
   ================================================================== */

.cta-ed {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.cta-ed__wrap {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 560px;
}
@media (min-width: 1024px) {
  .cta-ed__wrap { grid-template-columns: 1.1fr 1fr; }
}

.cta-ed__left {
  padding: 4rem 1.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
@media (min-width: 768px) { .cta-ed__left { padding: 5rem 3rem 5rem 4rem; } }
@media (min-width: 1024px) { .cta-ed__left { padding: 5.5rem 4.5rem; } }

.cta-ed__chapter {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-weight: 600;
}
.cta-ed__chapter::before {
  content: '';
  width: 36px; height: 1px;
  background: var(--red);
}

.cta-ed__heading {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.88;
  letter-spacing: -0.035em;
  color: var(--paper);
  margin-bottom: 1.5rem;
}
.cta-ed__heading em {
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 400;
  color: var(--red);
  letter-spacing: -0.01em;
}
.cta-ed__text {
  font-size: 1.05rem;
  color: rgba(245,241,234,0.68);
  max-width: 44ch;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.cta-ed__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  align-items: center;
  margin-bottom: 2.5rem;
}
.cta-ed__phone {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.4rem, 3vw, 2.25rem);
  color: var(--paper);
  letter-spacing: -0.015em;
  padding-left: 1.5rem;
  border-left: 3px solid var(--red);
  line-height: 1.15;
  transition: color 0.22s;
}
.cta-ed__phone:hover { color: var(--red); }
.cta-ed__phone-lbl {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245,241,234,0.55);
  margin-bottom: 0.3rem;
  padding-left: 0;
  letter-spacing: 0.22em;
}

.cta-ed__right {
  position: relative;
  overflow: hidden;
  min-height: 340px;
}
.cta-ed__right img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: grayscale(100%) contrast(1.12) brightness(0.82);
  transition: transform 0.7s ease, filter 0.6s ease;
}
.cta-ed:hover .cta-ed__right img {
  transform: scale(1.04);
  filter: grayscale(40%) contrast(1.08) brightness(0.95);
}
.cta-ed__right::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(233,61,61,0.55) 0%, rgba(183,37,43,0.4) 50%, rgba(10,10,10,0.6) 100%);
  mix-blend-mode: multiply;
  z-index: 1;
}
.cta-ed__right-ui {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  z-index: 2;
  text-align: right;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245,241,234,0.85);
  line-height: 1.5;
}
.cta-ed__right-ui strong { display: block; color: var(--paper); }

.cta-ed__right .brk {
  position: absolute;
  width: 28px; height: 28px;
  border: 2px solid var(--paper);
  z-index: 3;
  opacity: 0.85;
}
.cta-ed__right .brk--tl { top: 1.5rem; left: 1.5rem;  border-right: none; border-bottom: none; }
.cta-ed__right .brk--br { bottom: 1.5rem; right: 1.5rem; border-left:  none; border-top: none; }


/* ==================================================================
   11 · STICKY MOBILE CTA BAR
   ================================================================== */

.mobile-cta-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 900;
  display: flex;
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 -10px 30px rgba(0,0,0,0.2);
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-cta-bar.is-visible { transform: translateY(0); }
@media (min-width: 1024px) { .mobile-cta-bar { display: none; } }

.mobile-cta-bar a {
  flex: 1;
  padding: 1.05rem 0.5rem;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background 0.22s;
}
.mobile-cta-bar a + a { border-left: 1px solid rgba(255,255,255,0.08); }
.mobile-cta-bar a.mcb--primary { background: var(--red); color: var(--paper); }
.mobile-cta-bar a.mcb--primary:hover { background: var(--red-deep); }
.mobile-cta-bar a:not(.mcb--primary):hover { background: rgba(255,255,255,0.05); }
.mobile-cta-bar svg { width: 16px; height: 16px; }


/* ==================================================================
   12 · FOOTER UPLIFT (only on home — light touches)
   ================================================================== */

body.home .footer {
  background: var(--ink);
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
body.home .footer__heading {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: var(--red);
}
body.home .footer__tagline {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 1.1rem;
  color: rgba(245,241,234,0.7);
}
body.home .footer__copy,
body.home .footer__bottom-links a {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
body.home .footer__links a {
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: color 0.22s, padding-left 0.22s;
}
body.home .footer__links a:hover { color: var(--red); padding-left: 0.4rem; }


/* ==================================================================
   13 · REVEAL + MISC
   ================================================================== */

body.home .container { max-width: 1320px; }
@media (min-width: 1024px) { body.home .container { padding-left: 3rem; padding-right: 3rem; } }

/* Remove default section styling from home (we handle bg per-section) */
body.home .section { padding: 0; }

/* Keep Scroll behaviour nice */
body.home html { scroll-behavior: smooth; }

/* Hero reveal animations — load-in.
   NOTE: no opacity animation (keeps content visible if JS/animation never runs);
   we use a subtle upward slide only. */
@keyframes rise-in {
  from { transform: translateY(14px); }
  to   { transform: translateY(0); }
}
.hero-editorial__left > * { animation: rise-in 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero-editorial__left > *:nth-child(1) { animation-delay: 0.05s; }
.hero-editorial__left > *:nth-child(2) { animation-delay: 0.15s; }
.hero-editorial__left > *:nth-child(3) { animation-delay: 0.25s; }
.hero-editorial__left > *:nth-child(4) { animation-delay: 0.32s; }

/* Responsive tightening */
@media (max-width: 767px) {
  .hero-ed__meta { margin-bottom: 1.25rem; }
  .program-ed__num { font-size: 3rem; }
  .about-ed__visual-stamp { width: 90px; height: 90px; font-size: 0.52rem; top: -1rem; right: 0; }
  .about-ed__visual-stamp strong { font-size: 1.1rem; }
  .why-ed__pullmark { left: -1rem; font-size: 4.5rem; top: -1rem; }
  .quote-ed::before { font-size: 14rem; top: -2rem; }
  body.home .footer { padding-bottom: 5.5rem; } /* room for mobile CTA */
}

/* Focus states — respect accessibility */
.btn-editorial:focus-visible,
.btn-ed-primary:focus-visible,
.btn-ed-link:focus-visible,
.btn-ghost-light:focus-visible,
.program-ed:focus-visible,
.instructor-ed:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

/* Prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; }
  .hero-editorial__left > *, .hero-editorial__right { animation: none; }
  * { transition-duration: 0.05s !important; animation-duration: 0.05s !important; }
}
