/* Zion Fire Academy — site design system (2026-10-16)
   Brand red #ED1C24 · ink #15161a · warm paper #faf9f7 · display serif + Satoshi body */
:root {
  --red: #ED1C24; --red-dark: #C4151C; --red-soft: #fdeaeb;
  --ink: #15161a; --ink-2: #2a2c33; --muted: #6b6760; --line: #e4e0da; --paper: #faf9f7; --card: #ffffff;
  --navy: #10131a; --navy-2: #1a1f2a;
  --ok: #2e6b2a; --warn: #8a6a15;
  --radius: 14px; --radius-sm: 9px;
  --shadow: 0 10px 40px rgba(21, 22, 26, .10);
  --font: 'Satoshi', -apple-system, 'Segoe UI', Arial, sans-serif;
  --display: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --max: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper); line-height: 1.55; font-size: 16.5px; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -0.015em; }
p { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.display { font-family: var(--display); font-weight: 400; letter-spacing: -0.01em; }
.eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.eyebrow.light { color: #ff8a8f; }
.lead { font-size: 19px; color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 600; font-size: 15.5px; padding: 13px 22px; border-radius: 10px; border: 1.5px solid transparent; cursor: pointer; text-decoration: none; transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--red); color: #fff; box-shadow: 0 6px 20px rgba(237, 28, 36, .28); }
.btn.primary:hover { background: var(--red-dark); }
.btn.ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn.ghost:hover { border-color: var(--ink); }
.btn.light { background: #fff; color: var(--ink); }
.btn.light:hover { background: #f1efeb; }
.btn.outline-light { background: transparent; border-color: rgba(255,255,255,.45); color: #fff; }
.btn.outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn.sm { padding: 9px 14px; font-size: 14px; border-radius: 8px; }
.btn.block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }
.link { color: var(--red); font-weight: 600; text-decoration: none; }
.link:hover { text-decoration: underline; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 249, 247, .86); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line); }
.site-header.on-dark { background: rgba(16, 19, 26, .72); border-bottom-color: rgba(255,255,255,.08); color: #fff; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 40px; height: 34px; }
.brand span { display: flex; flex-direction: column; line-height: 1.1; }
.brand strong { font-size: 17px; letter-spacing: -0.01em; }
.brand small { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.on-dark .brand small { color: rgba(255,255,255,.6); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; font-weight: 500; font-size: 15px; opacity: .85; }
.nav a:hover, .nav a[aria-current] { opacity: 1; color: var(--red); }
.on-dark .nav a:hover, .on-dark .nav a[aria-current] { color: #fff; }
.nav .btn { opacity: 1; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; font: inherit; cursor: pointer; color: inherit; }
@media (max-width: 900px) {
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 10px 24px 18px; color: var(--ink); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 12px; }
  .nav-toggle { display: inline-flex; }
}

/* Preview banner */
.preview-banner { background: #fff6e0; color: #6b4e08; border-bottom: 1px solid #f0dcbb; font-size: 14px; text-align: center; padding: 9px 16px; }
.preview-banner strong { font-weight: 700; }

/* Hero */
.hero { position: relative; color: #fff; background: var(--navy); overflow: hidden; min-height: 86vh; display: flex; align-items: center; }
.hero video, .hero .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,19,26,.25) 0%, rgba(16,19,26,.55) 55%, rgba(16,19,26,.95) 100%), linear-gradient(90deg, rgba(16,19,26,.75), rgba(16,19,26,.1) 70%); }
.hero .wrap { position: relative; z-index: 1; padding-top: 110px; padding-bottom: 90px; }
.hero h1 { font-size: clamp(40px, 6.2vw, 74px); max-width: 15ch; margin: 18px 0 20px; }
.hero h1 em { font-style: italic; color: #ff5a60; }
.hero p.lead { color: rgba(255,255,255,.82); max-width: 56ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 36px; margin-top: 56px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.18); }
.hero-stats div strong { display: block; font-size: 30px; font-family: var(--display); }
.hero-stats div span { font-size: 13.5px; color: rgba(255,255,255,.7); }
.play-btn { display: inline-flex; align-items: center; gap: 10px; background: none; border: none; color: #fff; font: inherit; font-weight: 600; cursor: pointer; padding: 0; }
.play-btn .ring { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.6); display: grid; place-items: center; }

/* Sections */
section.block { padding: 88px 0; }
section.block.tight { padding: 56px 0; }
section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
section.dark { background: var(--navy); color: #fff; }
section.dark .muted, section.dark .lead { color: rgba(255,255,255,.7); }
.sec-head { max-width: 760px; margin-bottom: 40px; }
.sec-head h2 { font-size: clamp(30px, 4vw, 46px); margin: 12px 0 14px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.grid { display: grid; gap: 22px; }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid.c3, .grid.c4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid.c2, .grid.c3, .grid.c4 { grid-template-columns: 1fr; } }

/* Audience split */
.split-card { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 420px; display: flex; align-items: flex-end; color: #fff; text-decoration: none; isolation: isolate; }
.split-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.split-card:hover img { transform: scale(1.04); }
.split-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(16,19,26,.05), rgba(16,19,26,.9)); }
.split-card .inner { padding: 32px; }
.split-card h3 { font-size: 30px; margin: 10px 0 8px; }
.split-card p { color: rgba(255,255,255,.8); max-width: 44ch; }
.split-card .cta { margin-top: 18px; font-weight: 700; display: inline-flex; gap: 8px; align-items: center; }

/* Course cards */
.course-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s ease, transform .2s ease; text-decoration: none; color: inherit; }
.course-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.course-card .thumb { aspect-ratio: 16/9; overflow: hidden; background: #ddd; position: relative; }
.course-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.course-card .thumb .tag { position: absolute; left: 14px; top: 14px; background: rgba(21,22,26,.78); color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 6px; backdrop-filter: blur(6px); }
.course-card .body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.course-card h3 { font-size: 19px; }
.course-card .meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--muted); }
.course-card .desc { color: var(--muted); font-size: 14.5px; flex: 1; }
.course-card .foot { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 4px; }
.price { font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.price small { font-size: 12.5px; color: var(--muted); font-weight: 500; display: block; letter-spacing: 0; }
.badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 99px; background: var(--red-soft); color: var(--red-dark); }
.badge.soon { background: #f3eedc; color: var(--warn); }
.badge.free { background: #e7f0e5; color: var(--ok); }
.badge.neutral { background: #eeebe6; color: var(--muted); }

/* Feature rows */
.feature { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.feature.flip > :first-child { order: 2; }
.feature img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.feature h2 { font-size: clamp(28px, 3.4vw, 40px); margin: 12px 0 16px; }
.feature ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.feature li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.feature li::before { content: ''; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--red-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C4151C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat; }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; gap: 28px; } .feature.flip > :first-child { order: 0; } }

/* Steps */
.steps { counter-reset: step; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--display); font-size: 40px; color: var(--red); line-height: 1; display: block; margin-bottom: 14px; }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* Stats band */
.band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.band div { border-left: 2px solid rgba(255,255,255,.18); padding-left: 18px; }
.band strong { display: block; font-family: var(--display); font-size: 44px; line-height: 1; }
.band span { color: rgba(255,255,255,.7); font-size: 14.5px; }
@media (max-width: 800px) { .band { grid-template-columns: repeat(2, 1fr); } }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 12px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.gallery .tall { grid-row: span 2; }
.gallery .wide { grid-column: span 2; }
@media (max-width: 800px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; } }

/* Quote / credibility */
.quote { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.quote p { font-family: var(--display); font-size: 22px; line-height: 1.35; }
.quote footer { margin-top: 14px; font-size: 14px; color: var(--muted); }
.cred-row { display: flex; flex-wrap: wrap; gap: 10px; }
.cred { border: 1px solid var(--line); background: var(--card); border-radius: 99px; padding: 8px 14px; font-size: 13.5px; font-weight: 600; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: '+'; color: var(--red); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq p { margin-top: 10px; color: var(--muted); }

/* CTA panel */
.cta-panel { background: linear-gradient(135deg, #1a1f2a, #10131a); color: #fff; border-radius: 20px; padding: 56px; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta-panel::before { content: ''; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(237,28,36,.45), transparent 70%); }
.cta-panel h2 { font-size: clamp(28px, 3.6vw, 42px); }
.cta-panel p { color: rgba(255,255,255,.75); margin-top: 8px; max-width: 50ch; }

/* Footer */
.site-footer { background: var(--navy); color: rgba(255,255,255,.75); padding: 64px 0 32px; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.site-footer h4 { color: #fff; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer a { color: rgba(255,255,255,.75); text-decoration: none; display: block; padding: 4px 0; }
.site-footer a:hover { color: #fff; }
.site-footer a.brand { display: flex; padding: 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 44px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: rgba(255,255,255,.5); }
.footer-bottom a { display: inline; padding: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* Page hero (inner pages) */
.page-hero { background: var(--navy); color: #fff; padding: 72px 0 56px; position: relative; overflow: hidden; }
.page-hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(34px, 5vw, 58px); margin: 12px 0 14px; max-width: 18ch; }
.page-hero p { color: rgba(255,255,255,.78); max-width: 60ch; font-size: 18px; }
.crumbs { font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 8px; }
.crumbs a { color: inherit; text-decoration: none; }

/* Course detail */
.course-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 44px; align-items: start; }
.course-main h2 { font-size: 26px; margin: 40px 0 14px; }
.course-main ul { padding-left: 20px; color: var(--ink-2); display: grid; gap: 8px; }
.buy-box { position: sticky; top: 92px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.buy-box .price { font-size: 38px; }
.buy-box .price small { font-size: 13px; }
.buy-box .facts { margin: 18px 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 14.5px; }
.buy-box .facts li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.buy-box .facts li span:first-child { color: var(--red); font-weight: 700; }
.buy-box .fine { font-size: 12.5px; color: var(--muted); margin-top: 12px; }
.notice { background: #fff6e0; border: 1px solid #f0dcbb; color: #6b4e08; border-radius: var(--radius-sm); padding: 14px 16px; font-size: 14px; }
.notice.red { background: var(--red-soft); border-color: #f5c2c5; color: var(--red-dark); }
.notice.ok { background: #e7f0e5; border-color: #cfe0cc; color: var(--ok); }
@media (max-width: 900px) { .course-layout { grid-template-columns: 1fr; } .buy-box { position: static; } }

/* Forms */
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 13.5px; font-weight: 600; }
.field input, .field select { font: inherit; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; width: 100%; }
.field input:focus, .field select:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(237,28,36,.12); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); margin: 10px 0; }
.check input { margin-top: 3px; flex: none; width: 17px; height: 17px; accent-color: var(--red); }
.form-error { color: var(--red-dark); font-size: 14px; margin-top: 8px; min-height: 1.2em; }

/* Modal */
.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; background: rgba(16,19,26,.72); backdrop-filter: blur(4px); }
.modal .dialog { background: #fff; color: var(--ink); border-radius: 16px; max-width: 640px; width: 100%; max-height: 92vh; overflow: auto; padding: 30px; position: relative; }
.modal .dialog.video { max-width: 1000px; padding: 0; background: #000; overflow: hidden; }
.modal .dialog.video video { width: 100%; height: auto; }
.modal .close { position: absolute; right: 12px; top: 12px; background: #fff; border: 1px solid var(--line); border-radius: 50%; width: 36px; height: 36px; cursor: pointer; font-size: 18px; z-index: 2; }
.modal h2 { font-size: 24px; margin-bottom: 8px; }

/* Panels (team / account) */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.panel + .panel { margin-top: 18px; }
.grid > .panel + .panel, .article-side .panel + .panel { margin-top: 0; }
.row-item { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.row-item:last-child { border-bottom: none; }
.row-item h3 { font-size: 17px; }
.row-item .sub { font-size: 13.5px; color: var(--muted); margin-top: 3px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 13px; font-weight: 600; color: var(--cat, var(--red)); background: color-mix(in srgb, var(--cat, var(--red)) 9%, white); border: 1.5px solid color-mix(in srgb, var(--cat, var(--red)) 35%, white); padding: 6px 13px; border-radius: 99px; text-decoration: none; display: inline-flex; align-items: center; gap: 7px; cursor: pointer; font-family: inherit; }
.chip:hover, .chip[aria-pressed="true"] { background: var(--cat, var(--red)); color: #fff; }
.team-card { background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--cat, var(--red)); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.team-card h3 { font-size: 18px; }
.team-card .desc { color: var(--muted); font-size: 14.5px; flex: 1; }
.team-card .cost { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: 12px; }
.team-card .cost strong { font-size: 20px; }
.team-card .cost span { font-size: 12.5px; color: var(--muted); text-align: right; }
.curriculum summary { cursor: pointer; font-size: 13.5px; font-weight: 600; color: var(--red); }
.curriculum ul { margin: 8px 0 2px 18px; font-size: 13.5px; color: var(--muted); display: grid; gap: 4px; padding: 0; }
.curriculum li.locked { list-style: none; margin-left: -18px; padding: 6px 10px; background: var(--paper); border: 1px dashed var(--line); border-radius: 6px; font-weight: 500; }
.cat-head { border-left: 5px solid var(--cat, var(--red)); padding-left: 14px; margin: 40px 0 18px; max-width: 680px; }
.cat-head h2 { font-size: 24px; margin-bottom: 4px; }
.cat-head p { color: var(--muted); font-size: 14.5px; }
table.sched { width: 100%; border-collapse: collapse; font-size: 14px; margin: 12px 0; }
table.sched td, table.sched th { padding: 8px 6px; border-bottom: 1px solid var(--line); text-align: left; }
table.sched td:last-child, table.sched th:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 14px 0; }
.kpis div { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 12px; text-align: center; }
.kpis strong { display: block; font-size: 20px; }
.kpis span { font-size: 12px; color: var(--muted); }

/* Reels */
.reels { display: grid; grid-template-columns: repeat(2, minmax(0, 300px)); gap: 20px; justify-content: center; }
.reel { border-radius: 18px; overflow: hidden; background: #000; aspect-ratio: 9/16; box-shadow: var(--shadow); }
.reel video { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .reels { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { .hero video { display: none; } .hero .hero-img { display: block; } * { transition: none !important; } }

/* Course media preview */
.media-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 6px; }
.media-tile { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.media-tile img, .media-tile video { width: 100%; aspect-ratio: 16/10; object-fit: cover; object-position: top; background: #0f1116; display: block; }
.media-tile figcaption { padding: 12px 14px; font-size: 13.5px; color: var(--muted); }
.media-tile figcaption strong { color: var(--ink); display: block; margin-bottom: 2px; }
.media-tile .ph { aspect-ratio: 16/10; display: grid; place-content: center; text-align: center; gap: 4px; background: repeating-linear-gradient(135deg, #f1efeb 0 12px, #e9e6e0 12px 24px); color: var(--ink-2); }
.media-tile .ph span { font-weight: 700; font-size: 16px; }
.media-tile .ph small { color: var(--muted); font-size: 12.5px; }
.media-tile.video .ph { background: linear-gradient(135deg, #1a1f2a, #10131a); color: #fff; }
.media-tile.video .ph small { color: rgba(255,255,255,.6); }
@media (max-width: 640px) { .media-grid { grid-template-columns: 1fr; } }

.commit ul { margin: 8px 0 0; padding-left: 18px; display: grid; gap: 8px; font-size: 15px; color: var(--ink-2); }

/* Guides */
.article-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, .8fr); gap: 48px; align-items: start; }
.article { font-size: 17px; line-height: 1.7; color: var(--ink-2); max-width: 72ch; }
.article h2 { font-family: var(--display); font-weight: 400; font-size: 30px; color: var(--ink); margin: 44px 0 14px; scroll-margin-top: 96px; }
.article h3 { font-size: 20px; color: var(--ink); margin: 30px 0 10px; }
.article p { margin: 0 0 16px; }
.article ul, .article ol { margin: 0 0 18px; padding-left: 24px; }
.article li { margin: 6px 0; }
.article a { color: var(--red-dark); text-decoration: underline; text-decoration-color: rgba(196,21,28,.35); text-underline-offset: 3px; }
.article a:hover { text-decoration-color: var(--red-dark); }
.article blockquote { margin: 22px 0; padding: 16px 22px; border-left: 4px solid var(--red); background: var(--card); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--ink); font-style: normal; }
.article hr { border: none; border-top: 1px solid var(--line); margin: 32px 0; }
.article code { background: #efece7; padding: 1px 6px; border-radius: 4px; font-size: 90%; }
.article strong { color: var(--ink); }
.table-scroll { overflow-x: auto; margin: 18px 0 24px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card); }
.article table { border-collapse: collapse; width: 100%; font-size: 14.5px; min-width: 560px; }
.article th, .article td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.article th { background: #f3f1ee; font-weight: 700; color: var(--ink); position: sticky; top: 0; }
.article tr:last-child td { border-bottom: none; }
.article-side { position: sticky; top: 92px; display: grid; gap: 16px; }
.toc ol { margin: 10px 0 0; padding-left: 18px; font-size: 14px; display: grid; gap: 6px; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--red); }
.side-cta h3 { font-size: 18px; margin-top: 4px; }
.guide-card .desc { -webkit-line-clamp: 3; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.guide-stats .panel strong { display: block; font-family: var(--display); font-size: 40px; line-height: 1; margin-bottom: 6px; }
.guide-stats .panel span { color: var(--muted); font-size: 14px; }
@media (max-width: 960px) { .article-layout { grid-template-columns: 1fr; } .article-side { position: static; } }

/* Apprentice story (2026-10-26) */
.feature.story { align-items: start; }
.story-photo { margin: 0; display: grid; gap: 14px; }
.story-photo img { aspect-ratio: 4/3; }
.quote.story p { font-size: 20px; }
.story-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.story-stats div { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; }
.story-stats strong { display: block; font-family: var(--display); font-size: 34px; line-height: 1; color: var(--red-dark); }
.story-stats span { display: block; margin-top: 6px; font-size: 13.5px; color: var(--muted); line-height: 1.3; }
.quote.student { margin: 26px 0 8px; border-left: 4px solid var(--red); }
.quote.student .eyebrow { margin-bottom: 10px; font-family: var(--font); font-size: 12.5px; line-height: 1.4; }
.quote.student .q { font-family: var(--display); font-size: 22px; line-height: 1.35; }
.quote.student footer { font-size: 14px; }
@media (max-width: 640px) { .story-stats { grid-template-columns: 1fr; } }

/* ---- Waitlist (2026-10-27: prices hidden, waitlist-first) ---- */
.price.waitlist-price { font-size: 20px; letter-spacing: -0.01em; }
.buy-box .price.waitlist-price { font-size: 26px; }
.waitlist-panel { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: start; }
.waitlist-panel .panel { padding: 28px; }
.waitlist-panel h2.display { font-size: clamp(28px, 3.4vw, 40px); margin: 6px 0 12px; }
.waitlist-panel .lead { font-size: 17px; color: var(--ink-2); }
.waitlist-form { position: relative; }
.wl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.wl-grid .field:nth-child(3) { grid-column: 1 / -1; }
.waitlist-form .req { color: var(--red); }
.waitlist-form .btn { width: 100%; }
.steps-list { margin: 18px 0 0; padding-left: 22px; display: grid; gap: 12px; font-size: 15.5px; line-height: 1.5; }
.steps-list li::marker { color: var(--red); font-weight: 700; }
.preview-banner a { color: inherit; font-weight: 700; text-decoration: underline; }
@media (max-width: 900px) { .waitlist-panel { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 560px) { .wl-grid { grid-template-columns: 1fr; } }
.waitlist-panel .facts { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 15px; }
.waitlist-panel .facts li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.waitlist-panel .facts li span:first-child { color: var(--red); font-weight: 700; }
.waitlist-form .fine { font-size: 12.5px; color: var(--muted); }
