:root {
  --bg: #070708;
  --bg-2: #0c0c0e;
  --paper: #101114;
  --fg: #f3f1ec;
  --muted: #9a988f;
  --dim: #6e6c66;
  --accent: #ff5a3c;
  --accent-2: #ff7357;
  --line: rgba(243, 241, 236, 0.12);
  --line-strong: rgba(243, 241, 236, 0.22);
  --serif: "Fraunces", "Times New Roman", serif;
  --sans: "Public Sans", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --max: 1180px;
  --pad: clamp(20px, 4vw, 56px);
  --header: 76px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--fg);
  background: var(--bg);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 68%);
}

body > * { position: relative; z-index: 1; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 80;
  background: var(--fg);
  color: #111;
  padding: 10px 14px;
  text-decoration: none;
  font-weight: 700;
}

.wrap {
  width: min(calc(100% - (var(--pad) * 2)), var(--max));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.5rem, 6.4vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
  margin: 0 0 28px;
}

h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}

h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0 0 18px;
}

.lede {
  max-width: 62ch;
  color: #c8c6bd;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.7;
}

.muted { color: var(--muted); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  background: rgba(7, 7, 8, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.navbar {
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.brand img { width: 176px; height: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #b7b5ac;
}

.nav-links a {
  text-decoration: none;
  position: relative;
  padding-block: 8px;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--accent);
  transition: right 0.22s ease;
}
.nav-links a:hover,
.nav-links a:focus-visible { color: #fff; }
.nav-links a:hover::after,
.nav-links a:focus-visible::after { right: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--fg);
  background: transparent;
  color: var(--fg);
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.btn:hover {
  background: #fff;
  color: #111;
  transform: translateY(-2px);
}
.btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #140804;
}
.btn.primary:hover {
  background: var(--accent-2);
  border-color: var(--accent-2);
  color: #140804;
}
.btn.small { min-height: 40px; padding: 0 16px; font-size: 0.7rem; }

/* Hero */
.hero {
  padding: clamp(56px, 8vw, 110px) 0 20px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: end;
}

.hero-copy .lede { margin-bottom: 18px; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.video-facade {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 1px solid var(--line-strong);
  background: #000;
  overflow: hidden;
  cursor: pointer;
  display: block;
}
.video-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
}
.video-facade .scrim {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 14px;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(0,0,0,.15) 20%, rgba(0,0,0,.72) 100%);
  text-align: left;
}
.play {
  width: 62px;
  height: 62px;
  border: 1px solid #fff;
  background: var(--accent);
  color: #140804;
  display: grid;
  place-items: center;
  font-size: 0;
}
.play svg { width: 18px; height: 18px; margin-left: 2px; }
.vmeta {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.vtitle {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.2;
  max-width: 22ch;
}
.video-facade:hover .play,
.video-facade:focus-visible .play { background: #fff; }
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid var(--line-strong);
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Sections */
.section {
  padding: clamp(72px, 9vw, 128px) 0;
  border-top: 1px solid var(--line);
}
.section-sm { padding: clamp(56px, 7vw, 88px) 0; }
.band { background: var(--bg-2); }

.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head p { color: var(--muted); margin-bottom: 0; }

/* Invoice ledgers */
.ledgers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.ledger {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 0;
}
.ledger.after { border-color: rgba(255, 90, 60, 0.45); }
.ledger-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.ledger.after .ledger-top { color: var(--accent); }
.ledger-body { padding: 8px 22px 10px; }
.line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px dashed rgba(243, 241, 236, 0.1);
  font-size: 0.95rem;
}
.line:last-child { border-bottom: 0; }
.line .amt {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--muted);
  white-space: nowrap;
}
.ledger.after .amt { color: var(--accent); }
.ledger-total {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 18px 22px 22px;
  border-top: 1px solid var(--line);
  align-items: end;
}
.ledger-total .label {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.stat {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4vw, 2.8rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
}
.ledger.after .stat { color: var(--accent); }
.stat small {
  display: block;
  margin-top: 6px;
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0;
  color: var(--muted);
  font-style: normal;
  font-weight: 400;
}

.compound {
  margin: 28px 0 0;
  max-width: 62ch;
  color: var(--muted);
}

/* Coverage list */
.coverage {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.coverage li {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.coverage .num {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--accent);
}
.coverage .job { font-size: 1.12rem; }
.coverage .was {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
  text-decoration: line-through;
  text-decoration-color: var(--accent);
}

/* Who */
.who-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.pull {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 0;
}
.pull em { font-style: italic; color: var(--accent); }

/* Training */
.train-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 22px;
  align-items: stretch;
}
.spec {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: clamp(26px, 3vw, 40px);
}
.price {
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 4.4rem);
  line-height: 0.9;
  letter-spacing: -0.035em;
  margin: 0 0 8px;
}
.price span {
  display: block;
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin: 28px 0 0;
}
.facts div {
  background: var(--paper);
  padding: 16px 18px;
}
.facts dt {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 6px;
}
.facts dd { margin: 0; font-size: 1.02rem; }

.teacher {
  border: 1px solid var(--line);
  background: var(--bg);
  display: flex;
  flex-direction: column;
}
.teacher img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  filter: contrast(1.04);
}
.teacher-copy { padding: 22px; }
.teacher-copy h3 {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
  margin: 0 0 8px;
}
.teacher-copy p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.teacher-copy a { color: var(--fg); text-underline-offset: 3px; }

/* Contact */
.cta-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.cta-card,
.form-card {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: clamp(26px, 3vw, 40px);
}
.cta-card h2,
.form-card h2 { margin-bottom: 12px; }

.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input,
.field textarea {
  width: 100%;
  background: #0a0a0c;
  border: 1px solid var(--line-strong);
  padding: 12px 14px;
  color: var(--fg);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-note {
  margin: 0;
  font-size: 0.82rem;
  color: var(--dim);
}
.form-note a { color: var(--muted); }
.alert {
  padding: 12px 14px;
  border: 1px solid rgba(255, 90, 60, 0.45);
  background: rgba(255, 90, 60, 0.08);
  color: #ffd2c8;
  font-size: 0.95rem;
}
.alert.ok {
  border-color: rgba(120, 190, 140, 0.4);
  background: rgba(120, 190, 140, 0.08);
  color: #cfe8d4;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 48px;
  color: var(--muted);
  font-size: 12.5px;
  text-align: center;
  line-height: 1.7;
}
.site-footer a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.site-footer a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .hero h1,
  .hero .lede,
  .hero-actions,
  .video-facade {
    animation: rise 0.8s ease both;
  }
  .hero .lede { animation-delay: 0.08s; }
  .hero-actions { animation-delay: 0.16s; }
  .video-facade { animation-delay: 0.12s; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

/* Responsive */
@media (max-width: 920px) {
  .hero-grid,
  .who-grid,
  .train-grid,
  .cta-split,
  .ledgers { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .coverage li { grid-template-columns: 36px 1fr; }
  .coverage .was { display: none; }
}

@media (max-width: 560px) {
  .facts { grid-template-columns: 1fr; }
  h1 { font-size: clamp(2.15rem, 11vw, 3.1rem); }
}

.form-card .form-note { margin-top: 18px; }
.cta-card p,
.form-card p { margin-bottom: 22px; }

.narrow-page { max-width: 640px; }
.page-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
}
.spec .btn { margin-top: 10px; }
button.btn { cursor: pointer; }
.otp-input {
  font-family: var(--mono);
  font-size: 1.7rem;
  letter-spacing: 0.32em;
  text-align: center;
}
.resend { margin-top: 12px; }
.resend .btn { width: 100%; }