:root {
  --ink: #171715;
  --paper: #f5f2e9;
  --white: #fffef8;
  --coral: #ff5b3d;
  --teal: #0b716b;
  --acid: #dcff3f;
  --line: rgba(23, 23, 21, 0.18);
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Archivo", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img { display: block; max-width: 100%; }

.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; background: var(--acid); padding: 12px 16px; font-weight: 800; }
.skip-link:focus { top: 16px; }

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  height: 76px;
  padding: 0 clamp(20px, 4vw, 64px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.25);
  transition: background .25s, color .25s, height .25s;
}
.site-header.scrolled { height: 64px; background: rgba(245,242,233,.96); color: var(--ink); border-color: var(--line); backdrop-filter: blur(12px); }
.brand { font-size: 26px; font-weight: 900; line-height: 1; letter-spacing: 0; width: max-content; }
.brand span { color: var(--coral); }
.desktop-nav { display: flex; gap: clamp(24px, 4vw, 54px); font-size: 13px; font-weight: 700; text-transform: uppercase; }
.desktop-nav a { position: relative; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; bottom: -5px; width: 100%; height: 2px; background: var(--coral); transform: scaleX(0); transform-origin: right; transition: transform .2s; }
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.header-cta { justify-self: end; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; text-transform: uppercase; }
.header-cta svg { width: 17px; }
.menu-button, .mobile-nav { display: none; }

.hero { min-height: 620px; height: min(760px, calc(100vh - 44px)); position: relative; display: flex; align-items: center; padding: 104px clamp(20px, 6vw, 92px) 80px; overflow: hidden; color: var(--white); background: var(--ink); }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-shade { position: absolute; inset: 0; background: rgba(23,23,21,.44); }
.hero-shade::after { content: ""; position: absolute; inset: 0 42% 0 0; background: rgba(23,23,21,.36); }
.hero-content { position: relative; z-index: 2; width: min(700px, 70%); }
.eyebrow { display: flex; gap: 12px; align-items: center; margin: 0 0 20px; font-family: "DM Mono", monospace; font-size: 13px; text-transform: uppercase; }
.eyebrow span { width: 34px; height: 4px; background: var(--acid); }
.hero h1 { margin: 0; font-size: clamp(76px, 12vw, 180px); line-height: .76; font-weight: 900; text-transform: lowercase; }
.hero-copy { max-width: 520px; margin: 40px 0 30px; font-size: clamp(21px, 2.1vw, 30px); line-height: 1.18; font-weight: 600; }
.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.button { min-height: 52px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid transparent; font-size: 13px; font-weight: 800; text-transform: uppercase; transition: transform .2s, background .2s, color .2s; }
.button:hover { transform: translateY(-2px); }
.button svg { width: 18px; }
.button-primary { background: var(--coral); color: var(--white); }
.button-primary:hover { background: var(--acid); color: var(--ink); }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; text-transform: uppercase; border-bottom: 1px solid rgba(255,255,255,.6); padding-bottom: 6px; }
.text-link svg { width: 17px; }
.launch-note { position: absolute; z-index: 2; right: clamp(20px, 5vw, 76px); bottom: 54px; margin: 0; padding-left: 18px; border-left: 4px solid var(--acid); font-family: "DM Mono", monospace; font-size: 12px; text-transform: uppercase; }
.launch-note strong { font-family: "Archivo", sans-serif; font-size: 16px; }

.ticker { overflow: hidden; background: var(--acid); border-bottom: 1px solid var(--ink); }
.ticker-track { width: max-content; display: flex; align-items: center; gap: 34px; padding: 16px 0; animation: ticker 24s linear infinite; font-family: "DM Mono", monospace; font-size: 13px; font-weight: 500; text-transform: uppercase; }
.ticker-track b { color: var(--coral); font-size: 20px; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .ticker-track { animation: none; } }

.section { padding: 110px clamp(20px, 6vw, 92px); }
.section-number { margin: 0 0 32px; font-family: "DM Mono", monospace; color: var(--teal); font-size: 12px; font-weight: 500; }
.section-number.light { color: var(--acid); }
.section h2 { margin: 0; font-size: clamp(45px, 6vw, 84px); line-height: .98; font-weight: 850; }
.courses { display: grid; grid-template-columns: minmax(300px, .8fr) 1.2fr; gap: clamp(50px, 9vw, 150px); max-width: 1440px; margin: 0 auto; }
.section-heading > p:last-child { max-width: 500px; margin: 32px 0 0; font-size: 18px; }
.course-list { align-self: end; border-top: 1px solid var(--ink); }
.course-row { min-height: 142px; display: grid; grid-template-columns: 42px 1fr auto 32px; align-items: center; gap: 18px; border-bottom: 1px solid var(--ink); }
.course-index { font-family: "DM Mono", monospace; color: var(--teal); font-size: 12px; }
.course-row h3 { margin: 0 0 5px; font-size: 23px; }
.course-row p { margin: 0; color: rgba(23,23,21,.7); }
.course-row > svg { width: 23px; color: var(--coral); }
.status { padding: 5px 8px; border: 1px solid var(--teal); color: var(--teal); font-family: "DM Mono", monospace; font-size: 10px; text-transform: uppercase; }

.method { background: var(--teal); color: var(--white); }
.method-intro { max-width: var(--max); margin: 0 auto 80px; }
.method h2 em, .launch h2 em { color: var(--acid); font-style: normal; }
.method-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.35); border-bottom: 1px solid rgba(255,255,255,.35); }
.method-grid article { min-height: 330px; position: relative; padding: 28px clamp(20px, 3vw, 42px); border-right: 1px solid rgba(255,255,255,.35); }
.method-grid article:last-child { border: 0; }
.method-grid span { font-family: "DM Mono", monospace; font-size: 11px; color: var(--acid); }
.method-grid svg { position: absolute; right: 32px; top: 28px; width: 30px; height: 30px; stroke-width: 1.5; }
.method-grid h3 { margin: 132px 0 18px; font-size: 28px; }
.method-grid p { max-width: 300px; margin: 0; color: rgba(255,255,255,.78); }

.teacher { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 9vw, 150px); align-items: center; }
.teacher-mark { aspect-ratio: 1; display: grid; place-items: center; background: var(--coral); color: var(--ink); font-size: clamp(100px, 17vw, 240px); font-weight: 900; line-height: 1; }
.teacher-photo { width: 100%; aspect-ratio: 1; object-fit: cover; }
.teacher-content { max-width: 580px; }
.teacher-lead { margin: 38px 0 18px; font-size: 25px; line-height: 1.25; font-weight: 700; }
.teacher-content > p:not(.section-number):not(.teacher-lead) { max-width: 500px; color: rgba(23,23,21,.72); font-size: 18px; }
.teacher-note { display: inline-block; margin-top: 28px; padding-top: 12px; border-top: 3px solid var(--acid); font-family: "DM Mono", monospace; font-size: 11px; text-transform: uppercase; }

.launch { background: var(--ink); color: var(--white); }
.launch > .section-number, .launch-layout { max-width: var(--max); margin-left: auto; margin-right: auto; }
.launch-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: 80px; align-items: end; }
.launch-copy p { margin: 0 0 28px; font-size: 18px; color: rgba(255,255,255,.72); }
.button-acid { background: var(--acid); color: var(--ink); }
.button-acid:hover { background: var(--coral); color: var(--white); }
.button-static { cursor: default; }
.button-static:hover { background: var(--acid); color: var(--ink); transform: none; }
.launch-copy small { display: block; max-width: 390px; margin-top: 15px; color: rgba(255,255,255,.5); font-family: "DM Mono", monospace; font-size: 10px; }
.catalog { max-width: 1440px; margin: 0 auto; }
.catalog-heading { display: grid; grid-template-columns: 1fr .65fr; gap: 70px; align-items: end; }
.catalog-heading > p { max-width: 480px; font-size: 18px; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 60px; }
.catalog-card { background: var(--white); border: 1px solid var(--line); }
.catalog-card img, .catalog-placeholder { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.catalog-placeholder { display: grid; place-items: center; background: var(--coral); font-size: 90px; font-weight: 900; }
.catalog-card > div:last-child { padding: 22px; }
.catalog-card span { font-family: "DM Mono", monospace; color: var(--teal); font-size: 10px; }
.catalog-card h3 { margin: 10px 0 8px; font-size: 25px; }
.catalog-card p { min-height: 48px; color: rgba(23,23,21,.68); }
.catalog-card footer { padding-top: 16px; display: flex; justify-content: space-between; gap: 15px; border-top: 1px solid var(--line); font-size: 13px; }
.catalog-card footer a { font-weight: 800; color: var(--teal); }

.site-footer { min-height: 210px; padding: 50px clamp(20px, 6vw, 92px); display: grid; grid-template-columns: 1fr 1fr 1fr auto; align-items: end; gap: 30px; background: var(--coral); color: var(--ink); }
.footer-brand { font-size: 38px; }
.footer-brand span { color: var(--white); }
.site-footer p { margin: 0; font-size: 13px; }
.footer-meta { font-family: "DM Mono", monospace; font-size: 10px !important; }
.back-top { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--ink); }
.back-top:hover { background: var(--ink); color: var(--coral); }

@media (max-width: 820px) {
  .site-header { height: 64px; grid-template-columns: 1fr auto; padding: 0 20px; }
  .desktop-nav, .header-cta { display: none; }
  .menu-button { display: grid; place-items: center; justify-self: end; width: 42px; height: 42px; padding: 0; background: transparent; color: inherit; border: 1px solid currentColor; }
  .menu-button svg { width: 20px; }
  .mobile-nav { position: fixed; inset: 64px 0 auto; min-height: calc(100vh - 64px); padding: 45px 20px; background: var(--paper); color: var(--ink); flex-direction: column; gap: 0; }
  .mobile-nav:not([hidden]) { display: flex; }
  .mobile-nav a { padding: 18px 0; border-bottom: 1px solid var(--ink); font-size: 25px; font-weight: 800; }
  .hero { height: calc(100svh - 42px); min-height: 600px; align-items: flex-start; padding-top: 132px; }
  .hero-image { object-position: 66% center; }
  .hero-shade { background: rgba(23,23,21,.56); }
  .hero-shade::after { background: rgba(23,23,21,.2); }
  .hero-content { width: 100%; }
  .hero h1 { font-size: clamp(66px, 21vw, 106px); }
  .hero-copy { max-width: 360px; margin-top: 32px; font-size: 22px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .launch-note { right: 20px; bottom: 32px; }
  .section { padding: 78px 20px; }
  .courses, .teacher, .launch-layout { grid-template-columns: 1fr; gap: 54px; }
  .catalog-heading, .catalog-grid { grid-template-columns: 1fr; gap: 30px; }
  .catalog-grid { margin-top: 42px; }
  .course-row { grid-template-columns: 32px 1fr 24px; min-height: 128px; }
  .course-row .status { display: none; }
  .course-row p { font-size: 14px; }
  .method-intro { margin-bottom: 50px; }
  .method-grid { grid-template-columns: 1fr; }
  .method-grid article { min-height: 245px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.35); }
  .method-grid article:last-child { border-bottom: 0; }
  .method-grid h3 { margin-top: 80px; }
  .teacher-mark { max-width: 520px; }
  .site-footer { grid-template-columns: 1fr auto; align-items: start; }
  .site-footer > p { grid-column: 1; }
  .back-top { grid-column: 2; grid-row: 1; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 67px; }
  .hero-copy { font-size: 20px; }
  .button { width: 100%; }
  .launch-note { font-size: 10px; }
  .section h2 { font-size: 43px; }
  .course-row h3 { font-size: 19px; }
}
