/* CREADOR LIBRE — visual system
   Layout concept: an editorial "film slate". Ink-dark screening-room bands alternate with warm paper bands;
   condensed display type reads like a title card; mono timecode labels carry format and metadata. */
:root {
  --ink: #171513;          /* screening room */
  --ink-2: #221f1c;        /* raised surfaces on ink */
  --ink-line: #3a3530;
  --paper: #f2ece2;        /* warm paper, evolved from the course's #f5ead8 */
  --paper-2: #e8dfd0;
  --paper-line: #d6cab7;
  --tungsten: #e2763a;     /* the CREADOR LIBRE orange, deepened to a tungsten-light tone */
  --tungsten-ink: #a84d1c; /* accent text on paper (AA on --paper) */
  --fg: #1d1a17;
  --fg-mute: #5f574e;
  --on-ink: #f2ece2;
  --on-ink-mute: #a69b8e;

  --f-display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --step--1: clamp(0.8rem, 0.78rem + 0.1vw, 0.86rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.09rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.45vw, 1.45rem);
  --step-2: clamp(1.5rem, 1.3rem + 0.9vw, 2.1rem);
  --step-3: clamp(2rem, 1.6rem + 1.9vw, 3.3rem);
  --step-4: clamp(2.6rem, 1.8rem + 3.9vw, 5.6rem);
  --step-5: clamp(3rem, 1.9rem + 5.6vw, 7.6rem);

  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --maxw: 1320px;
  --radius: 4px;
  --ease: cubic-bezier(.2,.7,.2,1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
body { margin: 0; background: var(--paper); color: var(--fg); font-family: var(--f-body); font-size: var(--step-0); line-height: 1.6; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--ink); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--tungsten); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 800; font-stretch: 78%; line-height: .98; letter-spacing: -0.01em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--tungsten); color: var(--ink); padding: 10px 14px; font-weight: 700; text-decoration: none; }
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 8px); }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
@media (min-width: 760px) { .wrap { padding-left: max(40px, env(safe-area-inset-left, 0px)); padding-right: max(40px, env(safe-area-inset-right, 0px)); } }
.band { padding-block: clamp(64px, 9vw, 136px); }
.band--ink { background: var(--ink); color: var(--on-ink); }
.band--paper2 { background: var(--paper-2); }
.band--tight { padding-block: clamp(40px, 6vw, 80px); }

.eyebrow { font-family: var(--f-mono); font-size: var(--step--1); letter-spacing: .12em; text-transform: uppercase; color: var(--tungsten-ink); display: inline-flex; gap: .7em; align-items: center; }
.band--ink .eyebrow, .hero .eyebrow { color: var(--tungsten); }
.eyebrow::before { content: ""; width: 1.6em; height: 1px; background: currentColor; }
.lede { font-size: var(--step-1); line-height: 1.5; max-width: 38ch; color: var(--fg-mute); }
.band--ink .lede, .hero .lede { color: var(--on-ink-mute); }
.mono { font-family: var(--f-mono); font-size: var(--step--1); letter-spacing: .04em; }
.prose { max-width: 62ch; display: grid; gap: 1.1em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 48px; padding: 14px 24px; border-radius: 999px; font-family: var(--f-body); font-weight: 700; font-size: .95rem; letter-spacing: .01em; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--tungsten); color: var(--ink); }
.btn--primary:hover { background: #ee8a50; }
.btn--ghost { border-color: currentColor; background: transparent; }
.btn--ghost:hover { background: var(--fg); color: var(--paper); border-color: var(--fg); }
.band--ink .btn--ghost:hover, .hero .btn--ghost:hover { background: var(--on-ink); color: var(--ink); border-color: var(--on-ink); }
.btn--lg { min-height: 56px; padding: 16px 30px; font-size: 1.02rem; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.textlink { font-weight: 700; text-decoration: none; border-bottom: 1.5px solid var(--tungsten); padding-bottom: 2px; display: inline-flex; gap: .4em; }
.textlink:hover { color: var(--tungsten-ink); }
.band--ink .textlink:hover { color: var(--tungsten); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(23,21,19,.94); color: var(--on-ink); backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid var(--ink-line); }
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo svg { width: 26px; height: 26px; }
.logo span { font-family: var(--f-display); font-weight: 800; font-stretch: 112%; font-size: .95rem; letter-spacing: .08em; }
.nav { margin-left: auto; display: none; }
.nav ul { display: flex; gap: clamp(14px, 2vw, 30px); }
.nav a { text-decoration: none; font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--on-ink-mute); padding: 6px 0; border-bottom: 1.5px solid transparent; }
.nav a:hover { color: var(--on-ink); }
.nav a[aria-current="page"] { color: var(--on-ink); border-bottom-color: var(--tungsten); }
.lang { display: inline-flex; align-items: center; font-family: var(--f-mono); font-size: .78rem; border: 1px solid var(--ink-line); border-radius: 999px; overflow: hidden; flex-shrink: 0; }
.lang a, .lang span { padding: 7px 10px; text-decoration: none; line-height: 1; }
.lang [aria-current="true"] { background: var(--on-ink); color: var(--ink); }
.lang a { color: var(--on-ink-mute); }
.lang a:hover { color: var(--on-ink); }
.header-end { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.menu-btn { display: inline-flex; align-items: center; gap: 8px; background: none; border: 1px solid var(--ink-line); border-radius: 999px; padding: 8px 14px; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; min-height: 40px; }
.menu-btn .bars { width: 14px; height: 8px; position: relative; }
.menu-btn .bars::before, .menu-btn .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .25s var(--ease); }
.menu-btn .bars::before { top: 0; } .menu-btn .bars::after { bottom: 0; }
.menu-btn[aria-expanded="true"] .bars::before { transform: translateY(3.25px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars::after { transform: translateY(-3.25px) rotate(-45deg); }
.mobile-nav { border-top: 1px solid var(--ink-line); }
.mobile-nav ul { display: grid; padding-block: 8px 20px; }
.mobile-nav a { display: block; padding: 12px 0; font-family: var(--f-display); font-weight: 800; font-stretch: 80%; font-size: 2rem; text-decoration: none; color: var(--on-ink-mute); border-bottom: 1px solid var(--ink-line); }
.mobile-nav a[aria-current="page"] { color: var(--on-ink); }
.mobile-nav .btn { margin-top: 18px; width: 100%; }
.header-cta { display: none; }
@media (min-width: 980px) {
  .nav { display: block; }
  .header-end { margin-left: 0; }
  .menu-btn, .mobile-nav { display: none !important; }
}
/* course sub-nav */
.course-links { display: none; margin-left: auto; gap: 22px; }
.course-links a { text-decoration: none; font-size: .82rem; font-weight: 600; color: var(--on-ink-mute); }
.course-links a:hover { color: var(--on-ink); }
.site-header--course .btn { min-height: 38px; padding: 8px 16px; font-size: .8rem; }
@media (max-width: 519px) { .site-header--course .logo span { display: none; } }
@media (min-width: 900px) { .course-links { display: flex; } .site-header--course .header-end { margin-left: 0; } }

/* Logo mark (the ladder from the original course, kept as the studio mark) */
.mark rect { fill: var(--tungsten); }

/* Hero */
.hero { background: var(--ink); color: var(--on-ink); padding-block: clamp(40px, 7vw, 96px) clamp(48px, 7vw, 96px); position: relative; overflow: hidden; }
.hero-grid { display: grid; gap: clamp(32px, 5vw, 64px); align-items: end; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); } }
.hero h1 { font-size: clamp(2.2rem, 1.4rem + 3vw, 4.4rem); font-stretch: 74%; text-transform: uppercase; letter-spacing: -0.01em; margin-block: 14px 18px; max-width: 16ch; }
.hero-text { max-width: 760px; }
.hero-reel { margin-top: clamp(36px, 5vw, 64px); }
.hero-reel .vid-title { color: var(--on-ink); }
.hero h1 .l2 { color: var(--tungsten); display: block; }
.hero .lede { margin-bottom: 30px; }
.credits { margin-top: clamp(40px, 6vw, 72px); padding-top: 22px; border-top: 1px solid var(--ink-line); display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: baseline; }
.credits dt { font-family: var(--f-mono); font-size: var(--step--1); letter-spacing: .12em; text-transform: uppercase; color: var(--on-ink-mute); }
.credits dd { margin: 0; font-family: var(--f-display); font-stretch: 100%; font-weight: 700; font-size: 1rem; color: var(--on-ink); }

/* Video cards — the thumbnail is the content; text stays small and quiet */
.vid { display: grid; gap: 10px; align-content: start; min-width: 0; }
.vid-frame { position: relative; display: block; width: 100%; max-width: 100%; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); border: 0; padding: 0; cursor: pointer; text-decoration: none; }
.vid--mid .vid-frame { aspect-ratio: 16 / 9; }
.vid--short .vid-frame { aspect-ratio: 9 / 16; }
.vid-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.vid-frame:hover img, .vid-frame:focus-visible img { transform: scale(1.025); }
.vid-play { position: absolute; left: 12px; bottom: 12px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(23,21,19,.55); color: #fff; opacity: 0; transition: opacity .25s, background-color .25s; }
.vid-play svg { width: 11px; height: 11px; margin-left: 2px; }
.vid-frame:hover .vid-play, .vid-frame:focus-visible .vid-play { opacity: 1; background: var(--tungsten); color: var(--ink); }
@media (hover: none) { .vid-play { opacity: .9; } }
.vid-caption { display: grid; gap: 1px; min-width: 0; }
.vid-title { font-size: .92rem; font-weight: 600; line-height: 1.35; }
.vid-client { font-size: .8rem; color: var(--fg-mute); }
.band--ink .vid-client, .hero .vid-client { color: var(--on-ink-mute); }
.vid--short .vid-title { font-size: .86rem; }

/* Grids: horizontal in two columns, vertical in three */
.grid-mid { display: grid; gap: clamp(28px, 3.4vw, 44px) clamp(16px, 2.4vw, 28px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 680px) { .grid-mid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-mid .vid.is-wide { grid-column: 1 / -1; } .grid-mid .vid.is-wide .vid-title { font-size: 1rem; } }
.grid-short { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(28px, 3.4vw, 44px) clamp(14px, 2.4vw, 28px); margin-top: clamp(28px, 3.4vw, 44px); }
.grid-short .vid { flex: 0 0 calc((100% - clamp(14px, 2.4vw, 28px)) / 2); }
@media (min-width: 680px) { .grid-short .vid { flex-basis: calc((100% - 2 * clamp(14px, 2.4vw, 28px)) / 3); } }
.grid-short { max-width: 980px; margin-inline: auto; }

/* Simple headings and rows */
.kicker { font-family: var(--f-mono); font-size: var(--step--1); letter-spacing: .1em; text-transform: uppercase; color: var(--on-ink-mute); }
.kicker--dark { color: var(--fg-mute); }
.h-sm { font-family: var(--f-display); font-weight: 800; font-stretch: 80%; text-transform: uppercase; font-size: var(--step-2); letter-spacing: .01em; margin-bottom: clamp(22px, 3vw, 32px); }
.row-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.more { margin-top: 26px; }
.body-mute { color: var(--fg-mute); max-width: 52ch; }
.facts-line { color: var(--fg-mute); margin-block: 16px 22px; }
.svc-simple { display: grid; gap: 28px; border-top: 1px solid var(--paper-line); padding-top: 28px; }
@media (min-width: 820px) { .svc-simple { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; } }
.svc-simple h3 { font-family: var(--f-body); font-weight: 700; font-stretch: 100%; font-size: var(--step-1); line-height: 1.25; margin-bottom: 8px; }
.svc-simple p { color: var(--fg-mute); }

/* Section heads */
.section-head { display: grid; gap: 16px; margin-bottom: clamp(32px, 5vw, 56px); }
@media (min-width: 900px) { .section-head--split { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: end; gap: 40px; } }
.section-head h2 { font-size: var(--step-4); text-transform: uppercase; font-stretch: 74%; }
.section-head .lede { max-width: 46ch; }

/* Services overview */
.svc-list { display: grid; border-top: 1px solid var(--paper-line); }
.svc-list li { display: grid; gap: 10px 32px; padding-block: 28px; border-bottom: 1px solid var(--paper-line); }
@media (min-width: 820px) { .svc-list li { grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1fr); align-items: baseline; } }
.svc-list .n { font-family: var(--f-mono); font-size: var(--step--1); color: var(--tungsten-ink); }
.svc-list h3 { font-size: var(--step-2); text-transform: uppercase; font-stretch: 80%; }
.svc-list p { color: var(--fg-mute); max-width: 48ch; }

/* Founder split */
.split { display: grid; gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } .split--rev { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } .split--rev > :first-child { order: 2; } }
.photo { position: relative; }
.photo img { width: 100%; border-radius: var(--radius); }
.photo figcaption { margin-top: 10px; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-mute); }
.split h2 { font-size: var(--step-4); text-transform: uppercase; font-stretch: 74%; margin-block: 14px 22px; }

/* Course teaser on home */
.course-teaser { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (min-width: 900px) { .course-teaser { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.course-teaser h2 { font-family: var(--f-display); font-size: var(--step-3); font-stretch: 85%; margin-block: 14px 18px; text-transform: none; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 22px 28px; }
.facts li { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; border: 1px solid var(--paper-line); border-radius: 999px; padding: 6px 12px; }
.band--ink .facts li { border-color: var(--ink-line); }
.ladder { display: grid; gap: 6px; }
.ladder span { display: block; height: clamp(26px, 3.6vw, 40px); background: var(--tungsten); border-radius: 3px; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); padding: 0 12px; display: flex; align-items: center; }

/* Final CTA */
.final { text-align: left; }
.final h2 { font-size: var(--step-3); text-transform: uppercase; font-stretch: 76%; max-width: 20ch; margin-bottom: 26px; }

/* Page intro */
.page-intro { background: var(--ink); color: var(--on-ink); padding-block: clamp(56px, 8vw, 112px) clamp(40px, 6vw, 72px); }
.page-intro--quiet { padding-block: clamp(48px, 6vw, 80px) clamp(32px, 4vw, 48px); }
.page-intro--quiet h1 { font-size: var(--step-4) !important; }
.page-intro h1 { font-size: var(--step-5); text-transform: uppercase; font-stretch: 72%; margin-block: 16px 22px; max-width: 16ch; }

/* Work page */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chip { min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--ink-line); background: transparent; color: var(--on-ink-mute); font-size: .85rem; font-weight: 600; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.chip:hover { color: var(--on-ink); border-color: var(--on-ink-mute); }
.chip[aria-pressed="true"] { background: var(--on-ink); color: var(--ink); border-color: var(--on-ink); }
.work-block + .work-block { margin-top: clamp(64px, 8vw, 112px); }
.work-block-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px 24px; flex-wrap: wrap; border-bottom: 1px solid var(--paper-line); padding-bottom: 14px; margin-bottom: 28px; }
.work-block-head h2 { font-size: var(--step-3); text-transform: uppercase; font-stretch: 76%; }
.work-block-head .mono { color: var(--fg-mute); }
.vid[hidden] { display: none !important; }
.empty-note { color: var(--fg-mute); font-style: italic; }
.case { margin-top: 8px; display: grid; gap: 6px 18px; grid-template-columns: auto minmax(0, 1fr); font-size: .9rem; }
.case dt { font-family: var(--f-mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--fg-mute); padding-top: 3px; }
.case dd { margin: 0; }

/* Services page */
.svc-cards { display: grid; gap: 1px; background: var(--paper-line); border: 1px solid var(--paper-line); }
@media (min-width: 820px) { .svc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.svc-card { background: var(--paper); padding: clamp(24px, 3.5vw, 44px); display: grid; gap: 14px; align-content: start; }
.svc-card .mono { color: var(--tungsten-ink); }
.svc-card h3 { font-size: var(--step-3); text-transform: uppercase; font-stretch: 76%; }
.svc-card p { color: var(--fg-mute); }
.ticks { display: grid; gap: 8px; margin-top: 6px; }
.ticks li { padding-left: 22px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .72em; width: 12px; height: 1.5px; background: var(--tungsten); }
.for-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.for-list li { border: 1px solid var(--ink-line); border-radius: 999px; padding: 8px 14px; font-size: .9rem; color: var(--on-ink); }
.steps { display: grid; gap: 0; counter-reset: s; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.steps li { padding: 26px 22px 26px 0; border-top: 1px solid var(--ink-line); display: grid; gap: 10px; align-content: start; position: relative; }
.steps li .tc { font-family: var(--f-mono); font-size: .72rem; color: var(--tungsten); letter-spacing: .08em; }
.steps li h3 { font-size: var(--step-2); text-transform: uppercase; font-stretch: 80%; display: flex; align-items: center; gap: 10px; }
.steps li p { color: var(--on-ink-mute); font-size: .95rem; }
@media (min-width: 820px) { .steps li:not(:last-child) h3::after { content: "→"; font-family: var(--f-body); font-weight: 400; color: var(--tungsten); margin-left: auto; padding-right: 10px; } }
.note { color: var(--fg-mute); font-size: .92rem; }

/* About */
.about-hero { display: grid; gap: clamp(32px, 5vw, 64px); }
@media (min-width: 980px) { .about-hero { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; } }
.about-hero h1 { margin-block: 16px 0; }
.about-intro { font-family: var(--f-display); font-stretch: 90%; font-weight: 600; font-size: var(--step-2); line-height: 1.2; max-width: 30ch; color: var(--on-ink); margin-top: 22px; }
.about-body { display: grid; gap: clamp(32px, 5vw, 72px); }
@media (min-width: 980px) { .about-body { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); } }
.about-body .prose p:first-child::first-letter { font-family: var(--f-display); font-weight: 800; font-stretch: 75%; float: left; font-size: 4.2em; line-height: .82; padding: 6px 10px 0 0; color: var(--tungsten-ink); }
.factsheet { display: grid; gap: 0; border-top: 1px solid var(--paper-line); align-self: start; }
.factsheet div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding-block: 14px; border-bottom: 1px solid var(--paper-line); }
.factsheet dt { font-family: var(--f-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--fg-mute); padding-top: 3px; }
.factsheet dd { margin: 0; font-weight: 600; }
.principles { display: grid; gap: clamp(20px, 3vw, 36px); }
@media (min-width: 820px) { .principles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.principles li { border-top: 2px solid var(--tungsten); padding-top: 18px; display: grid; gap: 10px; align-content: start; }
.principles h3 { font-size: var(--step-2); text-transform: uppercase; font-stretch: 80%; }
.principles p { color: var(--on-ink-mute); }

/* Contact */
.contact-grid { display: grid; gap: clamp(36px, 5vw, 72px); }
@media (min-width: 980px) { .contact-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); } }
.form { display: grid; gap: 22px; }
.form-row { display: grid; gap: 22px; }
@media (min-width: 680px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; min-width: 0; }
.field label { font-weight: 700; font-size: .9rem; }
.field label small { font-weight: 400; color: var(--fg-mute); }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--fg); background: #fbf8f3; border: 1.5px solid var(--paper-line); border-radius: var(--radius); padding: 13px 14px; min-height: 50px; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--tungsten); box-shadow: 0 0 0 3px rgba(226,118,58,.22); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.field .hint { font-size: .85rem; color: var(--fg-mute); }
.field .err { font-size: .85rem; color: #b3261e; font-weight: 600; min-height: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 16px 18px; border-radius: var(--radius); font-weight: 600; }
.form-status--ok { background: #e3eedf; color: #1f4d1d; border: 1px solid #b7d1ae; }
.form-status--err { background: #f6e1dc; color: #7a1c13; border: 1px solid #e6b6aa; }
.form-status a { font-weight: 700; }
.aside-card { background: var(--ink); color: var(--on-ink); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); display: grid; gap: 18px; align-content: start; }
.aside-card .label { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-ink-mute); }
.email-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.email-line a { font-family: var(--f-display); font-stretch: 90%; font-weight: 700; font-size: clamp(1.05rem, 1.6vw, 1.3rem); text-decoration: none; overflow-wrap: anywhere; user-select: all; }
.copy-btn { border: 1px solid var(--ink-line); background: none; border-radius: 999px; padding: 6px 12px; font-size: .78rem; cursor: pointer; min-height: 34px; }
.copy-btn:hover { border-color: var(--on-ink-mute); }
.socials { display: grid; gap: 8px; }
.socials a { text-decoration: none; display: flex; justify-content: space-between; gap: 12px; padding-block: 10px; border-bottom: 1px solid var(--ink-line); }
.socials a:hover { color: var(--tungsten); }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-ink-mute); padding-block: clamp(48px, 6vw, 80px) calc(28px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--ink-line); }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); } }
.site-footer .logo { color: var(--on-ink); }
.site-footer .tag { margin-top: 14px; font-family: var(--f-display); font-stretch: 80%; font-weight: 800; text-transform: uppercase; font-size: var(--step-2); color: var(--on-ink); line-height: 1; }
.site-footer h3 { font-family: var(--f-mono); font-weight: 500; font-stretch: 100%; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-ink-mute); margin-bottom: 12px; }
.site-footer ul { display: grid; gap: 8px; }
.site-footer a { text-decoration: none; color: var(--on-ink); }
.site-footer a:hover { color: var(--tungsten); }
.footer-base { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--ink-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .82rem; }

/* Player modal */
.player { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%; margin: 0; color: var(--on-ink); }
.player::backdrop { background: rgba(10,9,8,.92); }
.player[open] { display: grid; place-items: center; }
.player-inner { width: min(1100px, calc(100vw - 32px)); display: grid; gap: 14px; padding-top: env(safe-area-inset-top, 0px); }
.player.is-short .player-inner { width: min(420px, calc(100vw - 32px), calc((100dvh - 140px) * 9 / 16)); }
.player-frame { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); overflow: hidden; max-width: 100%; }
.player.is-short .player-frame { aspect-ratio: 9 / 16; }
.player-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.player-bar .title { font-weight: 600; min-width: 0; }
.player-bar .client { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--tungsten); }
.player-actions { display: flex; gap: 10px; align-items: center; }
.player-actions a { font-size: .85rem; color: var(--on-ink-mute); }
.player-close { background: var(--on-ink); color: var(--ink); border: 0; border-radius: 999px; min-height: 40px; padding: 8px 16px; font-weight: 700; cursor: pointer; }

/* Consent */
.consent { position: fixed; z-index: 70; left: 0; right: 0; bottom: 0; padding: 14px var(--gutter-r) calc(14px + env(safe-area-inset-bottom, 0px)) var(--gutter); background: var(--ink-2); color: var(--on-ink); border-top: 1px solid var(--ink-line); display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; font-size: .9rem; }
.consent .cta-row .btn { min-height: 40px; padding: 8px 16px; }

/* Reveal (content is visible at rest; JS only adds a gentle lift when supported) */
.js .reveal { transition: transform .8s var(--ease); }
.js .reveal.is-pending { transform: translateY(24px); }

/* ---------- COURSE ---------- */
.course { --c-paper: #f5ead8; background: var(--c-paper); }
.course-hero { background: var(--ink); color: var(--on-ink); padding-block: clamp(40px, 6vw, 88px); }
.course-hero-grid { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 980px) { .course-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.course-hero h1 { font-size: var(--step-4); text-transform: uppercase; font-stretch: 74%; margin-block: 16px 22px; }
.course-hero h1 .l2 { color: var(--tungsten); display: block; }
.lang-badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; background: var(--tungsten); color: var(--ink); padding: 6px 12px; border-radius: 999px; font-weight: 600; }
.lang-note { margin-top: 12px; font-size: .9rem; color: var(--on-ink-mute); max-width: 52ch; }
.buy-block { display: grid; gap: 10px; justify-items: start; margin-top: 28px; }
.buy-block .small { font-size: .88rem; color: var(--on-ink-mute); }
.trailer { position: relative; display: block; aspect-ratio: 16/9; max-width: 100%; border-radius: var(--radius); overflow: hidden; background: var(--ink-2); border: 0; padding: 0; cursor: pointer; color: var(--on-ink); text-decoration: none; }
.trailer img { width: 100%; height: 100%; object-fit: cover; }
.trailer .vid-play span { opacity: 1; transform: none; }
.trailer::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(23,21,19,.6)); }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--ink-line); border: 1px solid var(--ink-line); margin-top: clamp(36px, 5vw, 64px); }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stats div { background: var(--ink); padding: 20px; }
.stats b { display: block; font-family: var(--f-display); font-stretch: 75%; font-size: var(--step-3); color: var(--on-ink); line-height: 1; font-variant-numeric: tabular-nums; }
.stats span { font-size: .85rem; color: var(--on-ink-mute); }
.problems { display: grid; gap: 14px; }
@media (min-width: 760px) { .problems { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.problems li { background: #fbf6ee; border-radius: var(--radius); padding: 22px 24px; display: grid; gap: 4px; }
.problems b { font-family: var(--f-display); font-stretch: 85%; font-size: var(--step-1); }
.problems span { color: var(--fg-mute); }
.climb { display: grid; gap: 8px; }
.climb li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 14px; align-items: center; }
.climb .bar { background: var(--tungsten); color: var(--ink); border-radius: 3px; padding: 12px 16px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.climb .bar b { font-family: var(--f-display); font-stretch: 85%; text-transform: uppercase; letter-spacing: .02em; }
.climb .bar span { font-size: .92rem; }
.climb .n { font-family: var(--f-mono); font-size: .8rem; color: var(--tungsten-ink); text-align: right; }
@media (min-width: 760px) { .climb li:nth-child(1) .bar { width: 50%; } .climb li:nth-child(2) .bar { width: 60%; } .climb li:nth-child(3) .bar { width: 70%; } .climb li:nth-child(4) .bar { width: 80%; } .climb li:nth-child(5) .bar { width: 90%; } .climb li:nth-child(6) .bar { width: 100%; } }
.modules { display: grid; gap: 0; border-top: 1px solid var(--ink-line); }
.modules li { display: grid; gap: 8px 28px; padding-block: 26px; border-bottom: 1px solid var(--ink-line); }
@media (min-width: 820px) { .modules li { grid-template-columns: 160px minmax(0, 1fr) minmax(0, .9fr); align-items: baseline; } }
.modules .tc { font-family: var(--f-mono); font-size: .75rem; color: var(--tungsten); letter-spacing: .08em; text-transform: uppercase; }
.modules h3 { font-size: var(--step-2); font-stretch: 85%; text-transform: none; line-height: 1.1; }
.modules p { color: var(--on-ink-mute); }
.resources { display: grid; gap: clamp(16px, 2.5vw, 28px); }
@media (min-width: 760px) { .resources { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.resources figure { margin: 0; background: #fbf6ee; border-radius: var(--radius); overflow: hidden; }
.resources img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.resources figcaption { padding: 18px 20px 22px; display: grid; gap: 4px; }
.resources b { font-family: var(--f-display); font-stretch: 85%; font-size: var(--step-1); }
.resources span { color: var(--fg-mute); font-size: .95rem; }
.flow { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; font-family: var(--f-display); font-stretch: 80%; font-weight: 800; text-transform: uppercase; font-size: var(--step-2); margin-block: 22px; }
.flow i { font-style: normal; color: var(--tungsten); font-family: var(--f-body); font-weight: 400; }
.ba { display: grid; gap: 14px; }
@media (min-width: 760px) { .ba { grid-template-columns: 1fr 1fr; } }
.ba > div { border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); display: grid; gap: 10px; align-content: start; }
.ba .before { background: #e9dcc6; }
.ba .after { background: var(--ink); color: var(--on-ink); }
.ba .tag { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.ba .after .tag { color: var(--tungsten); }
.ba li:first-child { font-family: var(--f-display); font-stretch: 85%; font-size: var(--step-2); font-weight: 800; margin-bottom: 6px; }
.quote { font-family: var(--f-display); font-stretch: 88%; font-weight: 700; font-size: var(--step-2); line-height: 1.15; border-left: 3px solid var(--tungsten); padding-left: 18px; max-width: 30ch; }
.includes { display: grid; gap: 1px; background: var(--paper-line); border: 1px solid var(--paper-line); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .includes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.includes li { background: var(--c-paper, var(--paper)); padding: 22px; display: grid; gap: 4px; }
.includes b { font-family: var(--f-display); font-stretch: 85%; font-size: var(--step-1); }
.includes span { color: var(--fg-mute); font-size: .95rem; }
.fit { display: grid; gap: 14px; }
@media (min-width: 820px) { .fit { grid-template-columns: 1.2fr 1fr; } }
.fit > div { border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); }
.fit .yes { background: #fbf6ee; }
.fit .no { background: var(--ink); color: var(--on-ink); }
.fit h3 { font-size: var(--step-2); font-stretch: 85%; text-transform: none; margin-bottom: 14px; }
.fit ul { display: grid; gap: 10px; }
.fit .yes li::before { content: "✓"; color: var(--tungsten-ink); font-weight: 800; margin-right: 10px; }
.fit .no li::before { content: "—"; color: var(--tungsten); margin-right: 10px; }
.fit .no p { margin-top: 18px; font-weight: 700; color: var(--tungsten); }
.price-card { background: var(--ink); color: var(--on-ink); border-radius: 6px; padding: clamp(26px, 4vw, 48px); display: grid; gap: 18px; max-width: 640px; margin-inline: auto; }
.price-card .amount { font-family: var(--f-display); font-stretch: 75%; font-weight: 800; font-size: var(--step-5); line-height: .9; font-variant-numeric: tabular-nums; }
.price-card ul { display: grid; gap: 8px; }
.price-card li::before { content: "✓"; color: var(--tungsten); margin-right: 10px; font-weight: 800; }
.price-card .btn { width: 100%; }
.guarantee { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; align-items: start; border-top: 1px solid var(--ink-line); padding-top: 18px; color: var(--on-ink-mute); font-size: .95rem; }
.guarantee svg { width: 40px; height: 40px; }
.guarantee b { color: var(--on-ink); display: block; }
.faq { max-width: 820px; display: grid; border-top: 1px solid var(--paper-line); }
.faq details { border-bottom: 1px solid var(--paper-line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-weight: 700; font-size: var(--step-1); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 1.6rem; color: var(--tungsten-ink); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--fg-mute); max-width: 62ch; }
.closing { text-align: left; }
.closing ul { display: grid; gap: 6px; font-size: var(--step-1); color: var(--on-ink-mute); margin-bottom: 26px; }
.closing h2 { font-size: var(--step-5); text-transform: uppercase; font-stretch: 72%; color: var(--tungsten); margin-bottom: 28px; }
.sticky-buy { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; background: var(--ink); color: var(--on-ink); border-top: 1px solid var(--ink-line); padding: 10px var(--gutter-r) calc(10px + env(safe-area-inset-bottom, 0px)) var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 12px; transform: translateY(110%); transition: transform .35s var(--ease); }
.sticky-buy.is-on { transform: none; }
.sticky-buy b { font-family: var(--f-display); font-stretch: 80%; font-size: 1.3rem; }
.sticky-buy .btn { min-height: 44px; padding: 10px 18px; font-size: .85rem; }
@media (min-width: 900px) { .sticky-buy { display: none; } }
.course-title { font-size: var(--step-4); text-transform: uppercase; font-stretch: 74%; }
.course .section-head h2 { font-size: var(--step-4); }

/* ---------- Work page: the archive (dark, centered title, tight grid, titles on the frame) ---------- */
.archive { background: var(--ink); color: var(--on-ink); padding-block: clamp(48px, 7vw, 96px) clamp(64px, 8vw, 112px); }
.archive .wrap { max-width: 1240px; }
.archive-title { text-align: center; font-size: var(--step-4); text-transform: uppercase; font-stretch: 74%; margin-bottom: clamp(32px, 4.5vw, 56px); }
.archive-sub { text-align: center; font-family: var(--f-mono); font-weight: 500; font-stretch: 100%; font-size: var(--step--1); letter-spacing: .14em; text-transform: uppercase; color: var(--on-ink-mute); margin-block: clamp(56px, 7vw, 88px) clamp(20px, 2.6vw, 28px); }
.arc-grid { display: grid; gap: 10px; }
.arc-grid--mid { grid-template-columns: minmax(0, 1fr); }
.arc-grid--short { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .arc-grid--mid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .arc-grid--short { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; } }
.arc-frame { position: relative; display: block; width: 100%; max-width: 100%; overflow: hidden; border: 0; padding: 0; margin: 0; background: var(--ink-2); cursor: pointer; text-decoration: none; color: #fff; text-align: left; border-radius: 2px; }
.arc--mid .arc-frame { aspect-ratio: 16 / 9; }
.arc--short .arc-frame { aspect-ratio: 9 / 16; }
.arc-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .4s; }
.arc-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.74)); transition: opacity .3s; }
.arc-frame:hover img, .arc-frame:focus-visible img { transform: scale(1.03); filter: brightness(1.05); }
.arc-cap { position: absolute; z-index: 1; left: 14px; right: 14px; bottom: 12px; display: grid; gap: 1px; text-shadow: 0 1px 6px rgba(0,0,0,.45); }
.arc-title { font-size: .82rem; font-weight: 600; line-height: 1.3; }
.arc-client { font-size: .72rem; color: rgba(255,255,255,.72); }
.arc--short .arc-cap { left: 10px; right: 10px; bottom: 10px; }
.arc--short .arc-title { font-size: .76rem; }
.arc-frame:focus-visible { outline: 2px solid var(--tungsten); outline-offset: 2px; }
.archive-cta { margin-top: clamp(64px, 8vw, 104px); display: grid; justify-items: center; gap: 18px; text-align: center; }
.archive-cta p { font-family: var(--f-display); font-weight: 800; font-stretch: 78%; text-transform: uppercase; font-size: var(--step-2); }

/* Work page: intro, section headings, and the closing course + contact blocks (gallery rules above are unchanged) */
.archive-intro { text-align: center; display: grid; justify-items: center; gap: 10px; margin-bottom: clamp(40px, 5vw, 64px); }
.archive-eyebrow { font-family: var(--f-mono); font-size: var(--step--1); letter-spacing: .14em; text-transform: uppercase; color: var(--tungsten); }
.archive-intro .archive-title { margin: 4px 0 0; }
.archive-by { font-family: var(--f-body); font-weight: 600; font-size: var(--step-1); color: var(--on-ink); }
.archive-desc { color: var(--on-ink-mute); max-width: 44ch; }
.archive-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 14px; }
.archive-h2 { text-align: center; font-family: var(--f-display); font-weight: 800; font-stretch: 78%; text-transform: uppercase; font-size: var(--step-2); letter-spacing: .02em; margin-bottom: clamp(18px, 2.4vw, 26px); }
.archive-h2--next { margin-top: clamp(56px, 7vw, 88px); }
.arc-grid, .archive-h2 { scroll-margin-top: 80px; }
.archive-course { margin-top: clamp(64px, 8vw, 104px); padding-block: 28px; border-top: 1px solid var(--ink-line); border-bottom: 1px solid var(--ink-line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.archive-course > div { display: grid; gap: 6px; min-width: 0; max-width: 60ch; }
.archive-course h2 { font-family: var(--f-body); font-weight: 700; font-stretch: 100%; font-size: var(--step-1); line-height: 1.3; text-transform: none; }
.archive-course p { color: var(--on-ink-mute); }
.archive-contact { margin-top: clamp(64px, 8vw, 104px); display: grid; justify-items: center; gap: 14px; text-align: center; }
.archive-contact h2 { font-family: var(--f-display); font-weight: 800; font-stretch: 78%; text-transform: uppercase; font-size: var(--step-3); }
.archive-contact p { color: var(--on-ink-mute); margin-bottom: 8px; }
.archive-email { color: var(--on-ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--tungsten); text-underline-offset: 4px; overflow-wrap: anywhere; }
.archive-email:hover { color: var(--tungsten); }
