/* Decloak Music site styles.
   Brand: black, white, one orange (#EC5C39). Space Grotesk (display) + Raleway (body).
   Light grey pages, black hero and feature bands. Square corners, 2px gap grids.
   Orange is used as a fill or on black only: orange text on light grey fails contrast. */

:root {
  --paper: #eceef1;      /* page background */
  --paper-2: #e2e5e9;    /* alternate band */
  --white: #ffffff;
  --ink: #0e0e0e;        /* headings, black bands */
  --ink-2: #33363c;      /* body text on light */
  --muted: #565a62;      /* secondary text on light (5.6:1 on paper) */
  --line: #c6c9cf;
  --orange: #EC5C39;
  --on-black: #f2f2f0;
  --on-black-muted: #a7abb2;
  --line-dark: #2a2b2e;

  --display: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Raleway', 'Helvetica Neue', Arial, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: clamp(1.9rem, 3.2vw, 2.6rem);
  --step-4: clamp(2.4rem, 5vw, 3.8rem);
  --step-5: clamp(3rem, 8.5vw, 7rem);

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video, canvas { max-width: 100%; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--orange); outline-offset: 2px;
}
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.1; margin: 0; text-wrap: balance; letter-spacing: -0.015em; }
h2 { font-size: var(--step-3); font-weight: 700; }
h3 { font-size: var(--step-1); font-weight: 700; }
p { margin: 0; }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 1em; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--white); padding: 8px 14px; z-index: 200; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.measure { max-width: 66ch; }

/* ===== Labels ===== */
.label {
  font-family: var(--display); font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
  display: inline-flex; align-items: center; gap: 12px;
}
.label::before { content: ''; width: 28px; height: 2px; background: var(--orange); flex: none; }
.band-black .label { color: var(--on-black-muted); }

/* ===== Buttons ===== */
.btn {
  font-family: var(--display); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.04em;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px; min-height: 52px; text-decoration: none; border: 2px solid transparent;
  transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s;
  cursor: pointer; white-space: nowrap;
}
.btn-primary { background: var(--orange); color: var(--ink); }
.btn-primary:hover { background: #f27552; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.band-black .btn-ghost, .hero .btn-ghost { color: var(--on-black); border-color: var(--on-black); }
.band-black .btn-ghost:hover, .hero .btn-ghost:hover { background: var(--on-black); color: var(--ink); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 100;
  background: rgba(236, 238, 241, 0.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header-h); }
.brand { display: block; flex: none; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a {
  font-family: var(--display); font-size: 0.82rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; color: var(--ink-2); padding: 6px 0; border-bottom: 2px solid transparent; white-space: nowrap;
}
.nav a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--orange); }
.header-cta { padding: 12px 18px; min-height: 44px; font-size: 0.85rem; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
  .header-right { display: flex; align-items: center; gap: 12px; }
}
@media (max-width: 520px) {
  .brand img { height: 40px; width: 40px; }
  .header-cta { padding: 10px 14px; }
}
.header-right { display: flex; align-items: center; gap: 24px; }

/* ===== Hero (black) ===== */
.hero {
  position: relative; overflow: hidden; background: var(--ink); color: var(--on-black);
  padding-block: clamp(40px, 7vw, 96px) clamp(40px, 6vw, 80px);
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero-copy { position: relative; z-index: 2; display: grid; gap: 22px; min-width: 0; }
.hero h1 { color: var(--on-black); font-size: var(--step-1); font-weight: 500; letter-spacing: 0; }
.hero-display {
  font-family: var(--display); font-weight: 700; font-size: var(--step-5); line-height: 0.92; letter-spacing: -0.035em;
  color: var(--on-black); text-wrap: balance;
}
.hero-display em { font-style: normal; color: var(--orange); }
.hero-sub { color: var(--on-black-muted); font-size: var(--step-1); line-height: 1.55; max-width: 34ch; }
.hero-sub strong { color: var(--on-black); font-weight: 600; }
.hero-visual { position: relative; aspect-ratio: 1; max-width: 100%; min-width: 0; }
.hero-visual canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-visual .hero-still { position: absolute; inset: 12%; width: 76%; height: 76%; }
.hero-visual.is-animated .hero-still { opacity: 0; transition: opacity .6s; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; font-family: var(--display); font-size: 0.85rem; color: var(--on-black-muted); }
.hero-meta span::before { content: ''; display: inline-block; width: 6px; height: 6px; background: var(--orange); margin-right: 8px; vertical-align: middle; }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero { padding-block: 28px 40px; }
  .hero .wrap { gap: 8px; }
  .hero-copy { gap: 16px; }
  .hero-visual { width: min(64vw, 280px); margin-inline: auto; }
}

/* ===== Page header (inner pages) ===== */
.page-head { background: var(--ink); color: var(--on-black); padding-block: clamp(40px, 6vw, 80px); position: relative; overflow: hidden; }
.page-head::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
}
.page-head .wrap { position: relative; display: grid; gap: 18px; }
.page-head h1 { color: var(--on-black); font-size: var(--step-4); font-weight: 700; letter-spacing: -0.03em; max-width: 20ch; }
.page-head .lede { color: var(--on-black-muted); font-size: var(--step-1); max-width: 60ch; }
.page-head .label { color: var(--on-black-muted); }
.crumbs { font-family: var(--display); font-size: 0.82rem; color: var(--on-black-muted); display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--on-black-muted); text-decoration: none; }
.crumbs a:hover { color: var(--on-black); text-decoration: underline; }
.crumbs span[aria-hidden] { opacity: .5; }

/* ===== Sections ===== */
.section { padding-block: clamp(56px, 8vw, 112px); }
.section-tight { padding-block: clamp(40px, 5vw, 72px); }
.band-2 { background: var(--paper-2); }
.band-white { background: var(--white); }
.band-black { background: var(--ink); color: var(--on-black-muted); }
.band-black h2, .band-black h3 { color: var(--on-black); }
.section-head { display: grid; gap: 16px; margin-bottom: clamp(28px, 4vw, 48px); max-width: 760px; }
.section-head p { font-size: var(--step-1); line-height: 1.55; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ===== Facts strip ===== */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; background: var(--line); border-block: 2px solid var(--ink); }
.fact { background: var(--paper); padding: 28px 24px; display: grid; gap: 6px; }
.fact b { font-family: var(--display); font-size: var(--step-3); color: var(--ink); line-height: 1; letter-spacing: -0.02em; }
.fact span { font-size: var(--step--1); color: var(--muted); }
@media (max-width: 860px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ===== Course cards ===== */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; background: var(--line); }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr; } }
.card { background: var(--white); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 16px; position: relative; }
.card .tier { font-family: var(--display); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.card h3 { font-size: var(--step-2); }
.price { font-family: var(--display); font-weight: 700; font-size: var(--step-4); color: var(--ink); line-height: 1; letter-spacing: -0.03em; }
.price small { font-size: 0.4em; font-weight: 500; letter-spacing: 0; color: var(--muted); margin-left: 6px; }
.card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; border-top: 1px solid var(--line); padding-top: 16px; }
.card li { position: relative; padding-left: 18px; font-size: 0.98rem; }
.card li::before { content: ''; position: absolute; left: 0; top: 0.65em; width: 7px; height: 7px; background: var(--orange); }
.card .btn { margin-top: auto; width: 100%; }
.card.featured { background: var(--ink); color: var(--on-black-muted); }
.card.featured h3, .card.featured .price { color: var(--on-black); }
.card.featured .tier, .card.featured .price small { color: var(--on-black-muted); }
.card.featured ul { border-top-color: var(--line-dark); }
.card.featured .flag { position: absolute; top: 0; right: 0; background: var(--orange); color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 0.72rem; letter-spacing: .14em; text-transform: uppercase; padding: 8px 14px; }
.card.featured .btn-ghost { color: var(--on-black); border-color: var(--on-black); }

.cards-note { margin-top: 16px; font-size: 0.98rem; color: var(--muted); max-width: 70ch; }
.band-black .cards-note { color: var(--on-black-muted); }

/* ===== In-person card and intensive page ===== */
.section-head .price { font-size: var(--step-4); line-height: 1; margin-top: 8px; }
.price-sub, .section-head .price-sub { font-size: 1.1rem; line-height: 1.5; color: var(--ink-2); margin-top: -4px; }
.band-black .price-sub, .card.featured .price-sub { color: var(--on-black-muted); }
.cards.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1180px) { .cards.cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cards.cards-4 { grid-template-columns: 1fr; } }
.card-in-person { background: var(--paper); box-shadow: inset 0 0 0 2px var(--orange); }
.card-in-person .tier { color: var(--ink); font-weight: 700; }
.card-in-person .tier::before { content: ''; display: inline-block; width: 8px; height: 8px; background: var(--orange); margin-right: 8px; vertical-align: 1px; }
.intensive-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.intensive-hero-copy { display: grid; gap: 18px; min-width: 0; }
.intensive-hero-img, .intensive-side-img { margin: 0; }
.intensive-hero-img img, .intensive-side-img img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
@media (max-width: 860px) { .intensive-hero-grid { grid-template-columns: 1fr; } }
.intensive-expenses { margin-top: 1em; padding: 16px 18px; background: var(--white); border-left: 3px solid var(--orange); color: var(--ink); font-size: 1.02rem; }
.steps.steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .steps.steps-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .steps.steps-4 { grid-template-columns: 1fr; } }

/* ===== Intensive globe ===== */
.globe-stage { position: relative; aspect-ratio: 1; max-width: 100%; overflow: hidden; }
.globe-stage .globe-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; aspect-ratio: auto; transition: opacity 1.2s; }
.globe-stage.is-globe .globe-fallback { opacity: 0; }
.globe-canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; opacity: 0; transition: opacity 1s; }
.globe-stage.is-globe .globe-canvas { opacity: 1; }
.globe-label { position: absolute; left: 0; top: 0; pointer-events: none; font-family: var(--display); font-weight: 500; font-size: 0.78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-black); white-space: nowrap; margin: -26px 0 0 10px; opacity: 0; transition: opacity .35s; text-shadow: 0 1px 6px #000; }
.globe-label.is-home { color: var(--orange); font-weight: 700; margin: 14px 0 0 12px; }
.globe-caption { position: absolute; left: 0; bottom: 0; font-family: var(--display); font-size: 0.78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-black-muted); }
.globe-caption::before { content: ''; display: inline-block; width: 8px; height: 8px; background: var(--orange); margin-right: 8px; vertical-align: 1px; }

/* ===== Price blocks (cards) ===== */
.price-block { display: grid; gap: 4px; }
.card .price { font-size: clamp(2.4rem, 3.4vw, 3.4rem); white-space: nowrap; }
.cards-4 .card .price { font-size: clamp(2.2rem, 2.6vw, 3rem); }
.price-from { display: block; font-size: 0.32em; font-weight: 500; letter-spacing: 0.02em; color: var(--muted); margin-bottom: 4px; }
.card.featured .price-from { color: var(--on-black-muted); }
.price-unit { font-family: var(--display); font-size: 1rem; font-weight: 500; color: var(--muted); }
.card.featured .price-unit { color: var(--on-black-muted); }

/* ===== Product page hero with course visual ===== */
.product-head-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.product-head-copy { display: grid; gap: 18px; min-width: 0; }
.product-head-grid:has(.course-visual) { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
.course-visual { position: relative; margin: 0; aspect-ratio: 600 / 500; min-width: 0; }
.course-visual canvas { position: absolute; inset: 0; width: 100%; height: calc(100% - 28px); }
.course-visual .globe-caption { bottom: 0; }
@media (max-width: 860px) { .product-head-grid:has(.course-visual) { grid-template-columns: 1fr; } }

/* ===== Jack block ===== */
.jack { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.jack-photo { background: var(--ink); aspect-ratio: 4 / 5; display: grid; place-items: center; position: relative; overflow: hidden; }
.jack-photo img { width: 100%; height: 100%; object-fit: cover; }
.jack-photo .placeholder { width: 62%; height: auto; }
.jack-photo figcaption { position: absolute; left: 0; bottom: 0; background: var(--orange); color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 0.78rem; letter-spacing: .12em; text-transform: uppercase; padding: 10px 14px; }
.jack .prose { display: grid; gap: 1em; }
.jack .prose p + p { margin-top: 0; }
@media (max-width: 860px) { .jack { grid-template-columns: 1fr; } .jack-photo { max-width: 420px; } }

/* ===== Steps (real sequence) ===== */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; background: var(--line-dark); counter-reset: step; }
.steps li { background: var(--ink); padding: 28px; display: grid; gap: 10px; counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--display); font-weight: 700; color: var(--orange); font-size: 0.95rem; letter-spacing: .1em; }
.steps h3 { color: var(--on-black); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ===== Quotes ===== */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; background: var(--line); }
.quotes.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) { .quotes, .quotes.two { grid-template-columns: 1fr; } }
.quote { background: var(--white); padding: 32px; margin: 0; display: flex; flex-direction: column; gap: 18px; }
.quote blockquote { margin: 0; font-size: 1.05rem; color: var(--ink-2); }
.quote blockquote::before { content: '\201C'; display: block; font-family: var(--display); font-weight: 700; font-size: 3rem; line-height: .7; color: var(--orange); margin-bottom: 10px; }
.quote figcaption { margin-top: auto; font-family: var(--display); font-weight: 700; color: var(--ink); }
.quote figcaption span { font-weight: 400; color: var(--muted); }
.reviews-embed { margin-bottom: 2px; background: var(--white); padding: 12px; min-height: 120px; }

/* ===== Post cards ===== */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; background: var(--line); }
@media (max-width: 960px) { .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .posts { grid-template-columns: 1fr; } }
.post-card { background: var(--white); text-decoration: none; display: flex; flex-direction: column; min-width: 0; }
.post-card .thumb { aspect-ratio: 1; background: var(--paper-2); overflow: hidden; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .thumb img { transform: scale(1.04); }
.post-card .body { padding: 20px; display: grid; gap: 8px; }
.post-card h3 { font-size: 1.12rem; line-height: 1.25; }
.post-card:hover h3 { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.post-card .meta { font-family: var(--display); font-size: 0.8rem; color: var(--muted); letter-spacing: .04em; }
.post-card .kind { color: var(--ink); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }

.more-news { font-size: 0.92rem; color: var(--muted); margin-top: 0.4em !important; }
.prose .more-news + p { margin-top: 1.4em; }

/* ===== Tick lists ===== */
.ticks { list-style: none; padding: 0; margin: 1.2em 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 22px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 0.62em; width: 8px; height: 8px; background: var(--orange); }
.ticks strong { color: var(--ink); }
.band-black .ticks strong { color: var(--on-black); }

/* ===== FAQ ===== */
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: var(--step-1); font-weight: 600; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 16px; font-family: var(--display); font-size: 1.8rem; color: var(--ink); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 24px; max-width: 70ch; }

/* ===== Forms ===== */
.form { display: grid; gap: 16px; background: var(--white); padding: clamp(24px, 3vw, 40px); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-family: var(--display); font-weight: 500; font-size: 0.92rem; color: var(--ink); }
.field label .req { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: 0; padding: 14px 16px; min-height: 52px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: 2px solid var(--orange); outline-offset: 0; }
.form .note { font-size: var(--step--1); color: var(--muted); }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; }

/* ===== Prose (posts, legal, guides) ===== */
.article { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; }
.article-body { width: 100%; max-width: 72ch; font-size: 1.1rem; }
.article-body > * + * { margin-top: 1.1em; }
.article-body h2 { font-size: var(--step-2); margin-top: 1.8em; }
.article-body h3 { font-size: var(--step-1); margin-top: 1.5em; }
.article-body a { text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 3px; color: var(--ink); font-weight: 600; }
.article-body img { width: 100%; height: auto; }
.article-body figure { margin-inline: 0; }
.article-body figcaption { font-size: var(--step--1); color: var(--muted); margin-top: 8px; }
.article-body blockquote { margin-inline: 0; padding-left: 20px; border-left: 3px solid var(--orange); color: var(--ink); }
.article-body ul, .article-body ol { padding-left: 1.3em; }
.article-body li + li { margin-top: .4em; }
.article-body iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }
.article-body table { border-collapse: collapse; width: 100%; font-size: .98rem; }
.article-body th, .article-body td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; vertical-align: top; }
.table-scroll { overflow-x: auto; }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; font-family: var(--display); font-size: 0.92rem; color: var(--on-black-muted); }
.byline img { width: 36px; height: 36px; }
.byline strong { color: var(--on-black); font-weight: 600; }
.post-hero { max-width: 72ch; width: 100%; margin: 0 auto clamp(28px, 4vw, 48px); }
.post-hero img { width: 100%; height: auto; }
.post-cta { max-width: 72ch; width: 100%; margin-top: clamp(40px, 5vw, 64px); background: var(--ink); color: var(--on-black-muted); padding: clamp(24px, 3vw, 40px); display: grid; gap: 14px; }
.post-cta h2 { color: var(--on-black); font-size: var(--step-2); }

/* ===== CTA band ===== */
.cta-band .wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 32px; align-items: center; }
.cta-band h2 { font-size: var(--step-4); letter-spacing: -0.03em; }
.cta-band h2 em { font-style: normal; color: var(--orange); }
.cta-band p { margin-top: 14px; font-size: var(--step-1); max-width: 50ch; }
@media (max-width: 860px) { .cta-band .wrap { grid-template-columns: 1fr; } }

/* ===== Footer ===== */
.site-footer { background: var(--ink); color: var(--on-black-muted); padding-block: 56px 32px; font-size: 0.98rem; }
.site-footer .grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 860px) { .site-footer .grid { grid-template-columns: 1fr 1fr; } .site-footer .about { grid-column: 1 / -1; } }
.site-footer .about { display: grid; gap: 16px; align-content: start; }
.site-footer .about img { height: 44px; width: auto; }
.site-footer h2 { font-size: 0.78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-black); font-weight: 500; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--on-black-muted); text-decoration: none; }
.site-footer a:hover { color: var(--on-black); text-decoration: underline; text-decoration-color: var(--orange); }
.site-footer .base { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.85rem; }
.site-footer .email { color: var(--on-black); user-select: all; }

/* ===== Cookie banner ===== */
.consent {
  position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 150;
  max-width: 360px; width: calc(100% - 32px); background: var(--ink); color: var(--on-black-muted);
  padding: 14px 16px; display: grid; gap: 10px; font-size: 0.85rem; line-height: 1.45;
  border: 1px solid var(--line-dark); box-shadow: 0 12px 40px rgba(0,0,0,.3);
}
@media (max-width: 600px) {
  .consent { left: 0; right: 0; bottom: 0; width: 100%; max-width: none; grid-template-columns: 1fr auto; align-items: center; padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
}
.consent p strong { color: var(--on-black); }
.consent .actions { gap: 10px; }
.consent .btn { min-height: 40px; padding: 8px 14px; font-size: 0.8rem; }
.consent[hidden] { display: none; }

/* ===== Motion ===== */
.reveal { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.pre { opacity: 0; transform: translateY(24px); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .js .reveal.pre { opacity: 1; transform: none; }
}
