/* Sane House Media v3.2 (22/10): Alex's corrections, round 1. */

/* ---------- home about: text left, one smaller picture right ---------- */
.aboutteaser--split { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); padding-block: clamp(64px, 8vw, 110px); }
.aboutteaser--split .aboutteaser__copy { grid-column: 1; grid-row: 1; max-width: 62ch; }
.aboutteaser--split .aboutteaser__img--a { grid-column: 2; grid-row: 1; aspect-ratio: 4 / 5; max-height: 560px; justify-self: end; width: min(100%, 440px); }
@media (max-width: 860px) {
  .aboutteaser--split { grid-template-columns: minmax(0, 1fr); }
  .aboutteaser--split .aboutteaser__img--a { grid-column: 1; grid-row: 2; justify-self: start; width: min(100%, 360px); }
}

/* ---------- quick inquiry: required / optional hints ---------- */
.inquiry__form label small { font-weight: 400; opacity: .7; font-size: .85em; }

/* ---------- journal teaser: the globe beside the three latest stories ---------- */
.jteaser--globe .journal__head { align-items: end; }
.jteaser__split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 64px); align-items: center; margin-top: clamp(24px, 3vw, 40px); }
.jteaser__split .globe { max-width: 520px; width: 100%; aspect-ratio: 1; justify-self: center; margin: 0; }
.jteaser .jgrid.jgrid--stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.jteaser .jgrid--stack .jcard__link { display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr); gap: 18px; align-items: center; }
.jgrid--stack .jcard__img { aspect-ratio: 4 / 3; }
.jgrid--stack .jcard__text p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 860px) {
  .jteaser__split { grid-template-columns: minmax(0, 1fr); }
  .jteaser__split .globe { max-width: 360px; }
}
@media (max-width: 480px) { .jteaser .jgrid--stack .jcard__link { grid-template-columns: minmax(0, 110px) minmax(0, 1fr); gap: 12px; } }

/* ---------- footer: Pages, More, logo, name, Location, Contact, latest story ---------- */
.foot__cols { grid-template-columns: repeat(2, minmax(0, .8fr)) minmax(0, .9fr) minmax(0, 1.2fr) repeat(2, minmax(0, 1fr)) minmax(0, 1.4fr); gap: 24px; }
.foot__logo img { width: 100%; max-width: 120px; height: auto; }
.foot--big .foot__legal--row { justify-content: space-between; align-items: center; }
.foot__legal--row span { color: var(--on-slate-muted); }
@media (max-width: 1100px) { .foot__cols { grid-template-columns: repeat(4, minmax(0, 1fr)); } .foot__latest { grid-column: span 2; } }
@media (max-width: 640px) {
  .foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__latest { grid-column: 1 / -1; }
  .foot--big .foot__legal--row { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ---------- Start a Project: the magnetic CTA, with a small shake every few seconds ---------- */
@keyframes cta-shake { 0%, 86%, 100% { rotate: 0deg; } 88% { rotate: -4deg; } 90% { rotate: 4deg; } 92% { rotate: -3deg; } 94% { rotate: 2deg; } 96% { rotate: -1deg; } }
.nav__cta { animation: cta-shake 6s ease-in-out 2.5s infinite; transform-origin: 50% 60%; }
.nav__cta:hover, .nav__cta:focus-visible { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .nav__cta { animation: none; } }

/* ---------- portfolio: filter the video collection (adfolio / ogimage pills) ---------- */
.vfilter { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 clamp(18px, 2.4vw, 28px); }
.vfilter button { font: inherit; font-size: var(--step--1); font-weight: 700; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-slate); background: transparent; color: var(--on-slate-muted); cursor: pointer; transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease; }
.vfilter button:hover { color: var(--on-slate); border-color: var(--on-slate-muted); }
.vfilter button[aria-pressed="true"] { background: var(--rec); border-color: var(--rec); color: #fff; }
.more-work .reel[hidden] { display: none; }

/* ---------- footer clock ---------- */
.foot__clock { margin-top: 8px; color: var(--on-slate-muted); font-size: var(--step--1); }
.foot__clock span { color: var(--on-slate); font-variant-numeric: tabular-nums; }

/* ---------- buttons answer the press (Emil Kowalski / supahero) ---------- */
.btn, .vfilter button { transition-property: transform, background-color, color, border-color, box-shadow; }
.btn:active, .vfilter button:active { transform: scale(0.97); }

/* ---------- audit fixes (impeccable, 22/10) ---------- */
/* Shot Lab sound demo: its light-on-dark text had lost its dark ground (later sheets overrode it) */
.demo.demo--sound { background: var(--slate); color: var(--on-slate); }
.demo.demo--sound .demo__n { color: var(--rec-ink, #ff6b5f); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- film format tags (adfolio): duration and aspect ratio from the real files ---------- */
.reel__dur i { font-style: normal; margin-left: 8px; padding-left: 8px; border-left: 1px solid rgba(255,255,255,.35); }

/* ---------- case studies end on the next one (land-book case study pages) ---------- */
.case__next { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: clamp(24px, 3vw, 40px); padding-top: 18px; border-top: 1px solid var(--line); text-decoration: none; color: inherit; }
.case__next span { color: var(--muted); font-size: var(--step--1); }
.case__next b { font-size: var(--step-2); font-weight: 800; font-variation-settings: "wdth" 75; font-stretch: 75%; transition: color 160ms ease; }
.case__next:hover b, .case__next:focus-visible b { color: var(--rec); }

/* ---------- share this story ---------- */
.post__shares { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.post__shares span { color: var(--muted); font-size: var(--step--1); }
.post__shares a { font-weight: 700; text-decoration: underline; text-decoration-color: var(--rec); text-underline-offset: 4px; }
.ways__deck { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; } .ways__deck span { color: var(--muted); font-size: var(--step--1); }

/* ---------- about: press and media kit (land-book, Ramp press page) ---------- */
.press { padding: clamp(64px, 8vw, 110px) var(--gut); border-top: 1px solid var(--line); display: grid; gap: clamp(24px, 3vw, 40px); }
.press__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.press__label { font-weight: 700; margin-bottom: 8px; }
.press__about p:not(.press__label) { color: var(--muted); max-width: 52ch; }
.press__files { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.press__files a { display: grid; gap: 4px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; font-weight: 800; font-size: var(--step-1); transition: border-color 160ms ease, transform 160ms ease; }
.press__files a span { font-weight: 400; font-size: var(--step--1); color: var(--muted); }
.press__files a:hover, .press__files a:focus-visible { border-color: var(--rec); }
.press__files a:active { transform: scale(0.98); }
@media (max-width: 760px) { .press__grid, .press__files { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Alex, 24/10 ---------- */
/* journal: the category line and the hovered title were white on paper; they read in red now */
.jmeta__cat { color: #b3201a; }
@media (hover: hover) { .jcard__link:hover h3 { color: #b3201a; } }
/* the subscribe band sits right above the dark footer, so it is light */
.jsub { background: var(--paper); color: var(--ink); border-top: 1px solid var(--line); }
.jsub p, .jsub .jsub__legal { color: var(--muted); }
.jsub .jsub__when { color: var(--ink); }
.jsub .field input { background: #fff; color: var(--ink); border-color: var(--line); }
.jsub .field input:focus { border-color: var(--ink); }
/* contact: required marks, the start date picker, the send check */
.field i { font-style: normal; color: #ff6b5f; }
.brief .field input[type="date"] { color-scheme: dark; min-height: 3.1em; }
.field--date { max-width: 320px; }
.brief .field.is-error input { border-color: #ff6b5f; }
.brief__form > p.brief__req { margin-top: -12px; font-size: var(--step--1); }
.sheet__status:empty { display: none; }
.sheet__status { margin: 0 0 12px; font-weight: 650; font-size: var(--step--1); color: #b3201a; }
/* FAQ: the questions sit in the middle, about three quarters of the page wide */
.faq { width: 75%; max-width: none; margin-inline: auto; padding-inline: 0; }
@media (max-width: 760px) { .faq { width: auto; padding-inline: var(--gut); } }
/* Shot Lab: Alex's two-paragraph intro, kept clear of the camera */
.kitx__copy { max-width: 470px; }
.kitx__copy h1 { max-width: 14ch; }
.kitx__copy > p:not(.phead__kicker) { font-size: var(--step--1); max-width: 44ch; margin-top: 12px; }
@media (min-width: 641px) and (max-width: 1280px) {
  .kitx__copy { max-width: 400px; z-index: 2; padding: 14px 18px 16px; margin-left: -18px; border-radius: 14px; background: color-mix(in srgb, var(--paper) 88%, transparent); }
}

/* ---------- Portfolio, Alex 24/10: a white clapperboard fills the hero's empty corner ---------- */
.phead--clap { position: relative; }
.clapper { position: absolute; right: var(--gut); top: 180px; width: clamp(280px, 24vw, 360px); transform: rotate(-3deg); filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .45)); }
.clapper__stick, .clapper__bar { height: 34px; background: repeating-linear-gradient(-55deg, #111 0 26px, #f4f2ee 26px 52px, var(--rec) 52px 78px, #f4f2ee 78px 104px); border-radius: 3px; }
.clapper__stick { transform-origin: 4% 100%; transform: rotate(-9deg); margin-bottom: 4px; transition: transform 160ms var(--ease-out); }
.clapper:hover .clapper__stick { transform: rotate(0deg); }
.clapper__board { background: #f7f6f3; color: #121212; border-radius: 4px; overflow: hidden; }
.clapper__board dl { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.clapper__board dl > div { padding: 8px 12px 10px; border-right: 2px solid #121212; border-bottom: 2px solid #121212; }
.clapper__board dl > div:nth-child(5), .clapper__board .clapper__wide { border-right: 0; }
.clapper__board .clapper__wide { grid-column: 1 / -1; display: flex; gap: 10px; align-items: baseline; }
.clapper__board dl > div:last-child { border-bottom: 0; }
.clapper__board dt { font-size: .68rem; font-weight: 800; text-transform: uppercase; }
.clapper__board dd { margin: 0; font-family: "Permanent Marker", "Segoe Print", "Bradley Hand", cursive; font-size: 1.15rem; line-height: 1.2; text-transform: uppercase; }
.clapper__board dl > div:not(.clapper__wide) { text-align: center; }
.clapper__board dl > div:not(.clapper__wide) dd { font-size: 1.9rem; }
/* 3D slate (js/clap3d.js): the canvas takes over once its first frame is drawn; the CSS slate stays as the fallback */
.clapper--3d { cursor: pointer; transform: rotate(-3deg) translateY(-14px); }
.clapper--3d > :not(.clapper__gl) { display: none; }
.clapper__gl { display: block; }
@media (max-width: 1100px) { .clapper { display: none; } }
@media (prefers-reduced-motion: reduce) { .clapper__stick { transition: none; } }
/* the Production Gallery button sits under each film and jumps to its stills */
.case__gallery { margin: 16px var(--gut) 0; color: var(--on-slate); }
.strip { scroll-margin-top: 120px; }

/* About, Alex 24/10: text on the left, one picture on the right, as tall as the text */
.about.about--split { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 80px); align-items: stretch; }
.about--split .about__copy { grid-column: 1; grid-row: 1; max-width: 62ch; align-content: start; }
.about--split .about__img--a { grid-column: 2; grid-row: 1; aspect-ratio: auto; height: 100%; max-height: 640px; }
.about--split .about__img--a img { transform: none; }
@media (max-width: 860px) { .about.about--split { grid-template-columns: minmax(0, 1fr); } .about--split .about__img--a { grid-column: 1; grid-row: 2; height: auto; aspect-ratio: 4 / 5; max-width: 420px; } }

/* Photography Collection: Alex's three albums, one at a time */
.albums__tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.albums__tabs button { font: inherit; font-weight: 700; font-size: var(--step--1); min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out), border-color 160ms ease; }
.albums__tabs button:hover { border-color: var(--ink); }
.albums__tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.albums__tabs button:focus-visible { outline: 2px solid var(--rec); outline-offset: 2px; }
.albums__tabs button:active { transform: scale(.97); }
.albums__pane .photos__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 960px) { .albums__pane .photos__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .albums__pane .photos__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* LightCraft AVIF exports sit in <picture>; the wrapper must not change the grids and strips */
picture.pic { display: contents; }

/* 404: the empty screening room from the EcoFlow launch, graded in EffectCraft */
.nf { position: relative; min-height: 100svh; display: grid; align-items: end; background: var(--slate); color: var(--on-slate); overflow: hidden; }
.nf__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.nf__copy { position: relative; padding: 0 var(--gut) clamp(96px, 16vh, 160px); display: grid; gap: 18px; max-width: 760px; }
.nf__copy h1 { font-size: clamp(2.6rem, 6vw, 5.5rem); line-height: .95; }
.nf__copy p { color: var(--on-slate-muted); font-size: var(--step-1); }
.nf__links { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.nf .btn--ink { background: var(--on-slate); color: var(--slate); }
.nf .link { color: var(--on-slate); }
@media (prefers-reduced-motion: reduce) { .nf__video { display: none; } .nf { background: var(--slate) url("media/404/404-poster.jpg") center / cover; } }

/* photo viewer: every content photo opens large */
img.is-zoomable { cursor: zoom-in; }
img.is-zoomable:focus-visible { outline: 3px solid var(--rec); outline-offset: 3px; }
.pv { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 64px clamp(16px, 6vw, 96px); background: rgba(12, 11, 9, .94); }
.pv__fig { margin: 0; display: grid; gap: 12px; justify-items: center; max-width: 100%; }
.pv__img { max-width: min(1600px, 100%); max-height: calc(100svh - 160px); width: auto; height: auto; object-fit: contain; border-radius: 4px; }
.pv__cap { color: var(--on-slate-muted); font-size: var(--step--1); max-width: 70ch; text-align: center; }
.pv__close { position: absolute; top: 18px; right: var(--gut); background: var(--paper); color: var(--ink); border: 0; border-radius: 999px; padding: .8em 1.3em; font: inherit; font-weight: 700; cursor: pointer; }
.pv__btn { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(238, 232, 222, .35); background: rgba(23, 21, 18, .6); color: var(--on-slate); font-size: 30px; line-height: 1; cursor: pointer; transition: background-color 160ms ease; }
.pv__btn:hover { background: var(--rec); border-color: var(--rec); }
.pv__prev { left: clamp(8px, 2vw, 28px); } .pv__next { right: clamp(8px, 2vw, 28px); }
.pv__close:focus-visible, .pv__btn:focus-visible { outline: 3px solid var(--rec); outline-offset: 3px; }
.pv__count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); margin: 0; color: var(--on-slate-muted); font-family: "IBM Plex Mono", monospace; font-size: .8rem; }
@media (max-width: 600px) { .pv { padding: 64px 8px 56px; } .pv__btn { top: auto; bottom: 10px; transform: none; width: 44px; height: 44px; } }
/* the viewer stays out of the way until a photo is opened (its display: grid must not beat [hidden]) */
.pv[hidden] { display: none !important; }

/* Photography Collection: three album covers, each opening its own page (as on Alex's current site) */
.album-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.album-card { display: grid; gap: 12px; text-decoration: none; color: var(--ink); }
.album-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; display: block; }
.album-card__title { font-size: var(--step-1); font-weight: 800; font-variation-settings: "wdth" 75; font-stretch: 75%; }
.album-card__open { font-size: var(--step--1); font-weight: 700; color: var(--rec); }
.album-card:hover .album-card__title, .album-card:focus-visible .album-card__title { color: var(--rec); }
.album-card:focus-visible { outline: 2px solid var(--rec); outline-offset: 6px; border-radius: 10px; }
.album-card:active { transform: scale(.99); }
@media (max-width: 760px) { .album-cards { grid-template-columns: minmax(0, 1fr); } }
.album__head { padding-bottom: clamp(32px, 4vw, 56px); }
.album__back { margin: 0; }
.album .photos__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 960px) { .album .photos__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .album .photos__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.photos.album { padding-top: clamp(24px, 3vw, 40px); }

/* Fizz Studio page (websites and AI agents) */
.fz-hero { gap: 18px; }
.fz-hero__by { margin: 0; font-weight: 700; color: var(--on-slate-muted); font-size: var(--step--1); }
.fz-hero .phead__title { max-width: 16ch; }
.fz-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.fz-hero .btn--ghost { color: var(--on-slate); }
.fz-promises { list-style: none; margin: clamp(28px, 4vw, 48px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 40px); border-top: 1px solid var(--line-slate); padding-top: 24px; }
.fz-promises li { display: grid; gap: 6px; }
.fz-promises b { font-size: var(--step-1); color: var(--on-slate); }
.fz-promises span { color: var(--on-slate-muted); }
.fz-proof { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: center; padding: clamp(72px, 9vw, 130px) var(--gut); }
.fz-proof__copy { display: grid; gap: 16px; }
.fz-proof__copy p { color: var(--muted); max-width: 52ch; }
.fz-proof__shot { margin: 0; }
.fz-proof__shot img { width: 100%; border-radius: 10px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .45); }
.fz-offers .svc__row { cursor: default; }
.fz-work { background: var(--slate); color: var(--on-slate); padding: clamp(72px, 9vw, 130px) var(--gut); display: grid; gap: clamp(28px, 4vw, 48px); }
.fz-work__head { display: grid; gap: 12px; max-width: 760px; }
.fz-work__head p { color: var(--on-slate-muted); }
.fz-demos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.fz-demo { display: grid; gap: 8px; text-decoration: none; color: var(--on-slate); }
.fz-demo video { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; background: var(--slate-2); }
.fz-demo__kind { color: var(--on-slate-muted); font-size: var(--step--1); margin-top: 6px; }
.fz-demo b { font-size: var(--step-2); font-variation-settings: "wdth" 75; font-stretch: 75%; }
.fz-demo__text { color: var(--on-slate-muted); }
.fz-demo__open { font-weight: 700; color: #ff6b5f; }
.fz-demo:hover b, .fz-demo:focus-visible b { color: #ff6b5f; }
.fz-demo:focus-visible { outline: 2px solid #ff6b5f; outline-offset: 6px; border-radius: 10px; }
.fz-work__note { color: var(--on-slate-muted); font-size: var(--step--1); }
.fz-work__note .link { color: var(--on-slate); }
.fz-steps { padding: clamp(72px, 9vw, 130px) var(--gut) clamp(40px, 5vw, 64px); display: grid; gap: clamp(28px, 4vw, 48px); }
.fz-steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 3vw, 40px); counter-reset: fz; }
.fz-steps li { display: grid; gap: 8px; border-top: 2px solid var(--rec); padding-top: 16px; counter-increment: fz; }
.fz-steps li::before { content: counter(fz, decimal-leading-zero); font-family: "IBM Plex Mono", monospace; color: var(--rec); font-size: .85rem; }
.fz-steps b { font-size: var(--step-1); }
.fz-steps span { color: var(--muted); }
.fz-faq { width: 75%; margin-inline: auto; padding-inline: 0; }
@media (max-width: 900px) { .fz-promises, .fz-demos, .fz-steps ol { grid-template-columns: minmax(0, 1fr); } .fz-proof { grid-template-columns: minmax(0, 1fr); } .fz-faq { width: auto; padding-inline: var(--gut); } }
.fz-hero { position: relative; }
.fz-hero__media { position: absolute; right: var(--gut); top: clamp(150px, 18vh, 190px); width: min(44vw, 720px); margin: 0; }
.fz-hero__media video { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); }
@media (max-width: 1100px) { .fz-hero__media { position: static; width: 100%; order: 9; } }
@media (min-width: 1101px) { .fz-hero .phead__lede, .fz-hero__by, .fz-hero .phead__title { max-width: min(46vw, 40ch); } }
.fz-close .closer__title { line-height: .9; }
.fz-close .hero__ctas { position: relative; margin-top: clamp(28px, 4vw, 48px); }

/* Fizz page: the seven AI agents, a tabbed board */
.fz-kicker { margin: 0; font-family: "IBM Plex Mono", monospace; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--rec); }
.fz-agents { padding: clamp(72px, 9vw, 130px) var(--gut); display: grid; gap: clamp(32px, 4vw, 56px); border-top: 1px solid var(--line); }
.fz-agents__head { display: grid; gap: 14px; max-width: 860px; }
.fz-agents__lede { color: var(--muted); max-width: 62ch; font-size: var(--step-1); }
.fz-agents__board { display: grid; grid-template-columns: minmax(240px, 4fr) minmax(0, 9fr); gap: clamp(16px, 2.4vw, 32px); align-items: start; }
.fz-agents__list { display: grid; gap: 4px; position: sticky; top: 96px; }
.fz-agents__list button { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: 2.4em 1fr; column-gap: 10px; padding: 14px 16px; border-radius: 10px; border: 1px solid transparent; transition: background-color .25s var(--ease-out), border-color .25s var(--ease-out); }
.fz-agents__list .n { grid-row: span 2; font-family: "IBM Plex Mono", monospace; font-size: .85rem; color: var(--muted); padding-top: 3px; }
.fz-agents__list b { font-size: var(--step-0); line-height: 1.25; }
.fz-agents__list .for { font-size: var(--step--1); color: var(--muted); }
.fz-agents__list button:hover { background: rgba(0, 0, 0, .04); }
.fz-agents__list button[aria-selected="true"] { background: var(--slate); color: var(--on-slate); }
.fz-agents__list button[aria-selected="true"] .n { color: #ff6b5f; }
.fz-agents__list button[aria-selected="true"] .for { color: var(--on-slate-muted); }
.fz-agents__list button:focus-visible { outline: 2px solid var(--rec); outline-offset: 2px; }
.fz-agents__panels { background: var(--slate); color: var(--on-slate); border-radius: 18px; overflow: hidden; }
.fz-agent { display: grid; grid-template-columns: minmax(0, 7fr) minmax(260px, 5fr); gap: clamp(20px, 3vw, 44px); padding: clamp(24px, 3.4vw, 48px); min-height: 560px; }
.fz-agent__copy { display: grid; gap: 18px; align-content: start; }
.fz-agent h3 { margin: 0; font-size: var(--step-4); line-height: .95; font-variation-settings: "wdth" 75; font-stretch: 75%; }
.fz-agent__pain { margin: 0; color: var(--on-slate-muted); font-size: var(--step-1); max-width: 46ch; }
.fz-flow { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 0; position: relative; }
.fz-flow::before { content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 2px; background: var(--line-slate); }
.fz-flow li { position: relative; display: grid; gap: 2px; padding: 0 0 18px 32px; color: var(--on-slate-muted); font-size: var(--step--1); }
.fz-flow li::before { content: ""; position: absolute; left: 0; top: 4px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--line-slate); background: var(--slate); transition: border-color .3s, background-color .3s; }
.fz-flow li.is-on::before { border-color: #ff6b5f; background: #ff6b5f; }
.fz-flow span { font-family: "IBM Plex Mono", monospace; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: #ff6b5f; }
.fz-flow b { color: var(--on-slate); font-size: var(--step-0); }
.fz-flow__dot { position: absolute; left: 3px; top: 8px; width: 10px; height: 10px; border-radius: 50%; background: #ff6b5f; box-shadow: 0 0 0 6px rgba(255, 107, 95, .18); pointer-events: none; }
.fz-chat { margin: 0; align-self: start; display: flex; flex-direction: column; gap: 8px; background: #f4f1ea; color: #1b1a17; border-radius: 26px; padding: 18px 14px 22px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7), inset 0 0 0 6px #2b2925; min-height: 440px; }
.fz-chat figcaption { align-self: center; font-family: "IBM Plex Mono", monospace; font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: #77726a; padding: 8px 0 6px; border-bottom: 1px solid #ddd8ce; width: 80%; text-align: center; margin-bottom: 4px; }
.fz-chat p { margin: 0; max-width: 86%; padding: 9px 13px; border-radius: 16px; font-size: .9rem; line-height: 1.35; }
.fz-chat .out { align-self: flex-start; background: #fff; border-bottom-left-radius: 4px; box-shadow: 0 1px 0 rgba(0, 0, 0, .06); }
.fz-chat .in { align-self: flex-end; background: var(--rec); color: #fff; border-bottom-right-radius: 4px; }
.fz-chat .sys { align-self: center; max-width: none; background: none; padding: 2px; font-size: .75rem; color: #77726a; }
.fz-agents__foot { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.fz-agents__foot p { margin: 0; color: var(--muted); font-size: var(--step--1); max-width: 78ch; }
@media (max-width: 1000px) {
  .fz-agents__board { grid-template-columns: minmax(0, 1fr); }
  .fz-agents__list { position: static; display: flex; overflow-x: auto; gap: 6px; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .fz-agents__list button { flex: 0 0 auto; width: min(72vw, 260px); scroll-snap-align: start; border-color: var(--line); }
  .fz-agent { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .fz-chat { min-height: 0; }
}
.fz-agent[hidden] { display: none !important; }
.fz-hero { grid-template-columns: minmax(0, 1fr); }

/* ---------- 21st.dev-inspired details, 25/10 ---------- */
.spot { position: relative; isolation: isolate; }
.spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 300ms ease; z-index: 2;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .16), transparent 70%); }
.way.spot::after { background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(200, 36, 27, .07), transparent 70%); }
.spot:hover::after { opacity: 1; }
.readbar { position: fixed; left: 0; right: 0; top: env(safe-area-inset-top, 0px); height: 3px; z-index: 130; background: var(--rec); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .spot::after { transition: none; } }
/* On Set grid: a quiet tile colour while a photo is still on its way, never a white hole */
.bts--square .bts__track img { background: #e2e1dd; }

/* Alex 25/10: home inquiry posts directly; the trap field stays off-screen; the about teaser sits closer to its photo */
.inquiry__honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
@media (min-width: 861px) {
  .aboutteaser--split { grid-template-columns: minmax(0, 640px) minmax(0, 440px); justify-content: center; gap: clamp(32px, 4vw, 64px); }
  .aboutteaser--split .aboutteaser__img--a { justify-self: start; }
}
.foot__word { text-align: center; }
/* Alex 25/10: on wide screens the process lede sits next to its title instead of the far edge */
.process__head { justify-content: flex-start; gap: 16px clamp(32px, 5vw, 80px); }

/* ---------- Alex's review, 25/10 ---------- */
/* portfolio: the clapperboard sits centred in the dark space right of the intro */
@media (min-width: 1101px) {
  .phead--clap .clapper { right: auto; left: min(calc((880px + 100%) / 2), calc(100% - var(--gut) - clamp(140px, 12vw, 180px))); transform: translateX(-50%) rotate(-3deg); }
  .phead--clap .clapper--3d { transform: translateX(-50%) rotate(-3deg) translateY(-14px); }
}
/* titles with their description right beside them, not pushed to the far edge */
.more-work__head, .photos__head { justify-content: flex-start; column-gap: clamp(32px, 5vw, 80px); }
.bts__head { grid-template-columns: auto minmax(0, 62ch); justify-content: start; column-gap: clamp(32px, 5vw, 80px); }
.bts__title { white-space: nowrap; }
@media (min-width: 861px) { .pillars article { grid-template-columns: minmax(0, 380px) minmax(0, 62ch); justify-content: start; } }
@media (max-width: 760px) { .bts__head { grid-template-columns: minmax(0, 1fr); } }
/* about: the portrait centred in the space beside the text */
@media (min-width: 861px) {
  .about.about--split { grid-template-columns: minmax(0, 62ch) minmax(0, 1fr); }
  .about--split .about__img--a { justify-self: center; width: min(100%, 520px); }
}
/* who we work with: both paragraphs in one column under the lede */
.who__copy { grid-template-columns: minmax(0, 1fr); max-width: 72ch; }
/* looking ahead | every story begins: a thin rule between the two */
@media (min-width: 861px) { .ahead { align-items: stretch; } .ahead > div:first-child { align-content: end; } .ahead__cta { border-left: 1px solid var(--ink); padding-left: clamp(32px, 5vw, 80px); align-content: end; } }
@media (max-width: 860px) { .ahead__cta { border-top: 1px solid var(--ink); padding-top: 32px; } }

/* portfolio: one thin band per production gallery, the album opens on its own page */
.pgal { display: grid; grid-template-columns: clamp(120px, 14vw, 200px) minmax(0, 1fr) auto; align-items: center; gap: 12px clamp(18px, 3vw, 40px); margin: clamp(32px, 4vw, 56px) var(--gut) 0; padding: 14px; border: 1px solid var(--line-slate, rgba(255,255,255,.14)); border-radius: 12px; color: inherit; text-decoration: none; transition: border-color 160ms var(--ease-out); }
.pgal__cover { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; display: block; }
.pgal__text { display: grid; gap: 4px; min-width: 0; }
.pgal__eyebrow { font-size: var(--step--1); font-weight: 700; color: var(--rec); }
.pgal__title { font-size: var(--step-1); font-weight: 800; font-variation-settings: "wdth" 75; font-stretch: 75%; line-height: 1.1; }
.pgal__desc { font-size: var(--step--1); line-height: 1.5; color: var(--on-slate-muted, var(--muted)); max-width: 80ch; }
.pgal__go { font-weight: 700; font-size: var(--step--1); white-space: nowrap; padding: 10px 16px; border: 1px solid currentColor; border-radius: 999px; }
.pgal:hover, .pgal:focus-visible { border-color: var(--rec); }
.pgal:hover .pgal__go, .pgal:focus-visible .pgal__go { background: var(--rec); border-color: var(--rec); color: #fff; }
.pgal:focus-visible { outline: 2px solid var(--rec); outline-offset: 4px; }
.pgal-list { display: grid; gap: 12px; margin-top: clamp(32px, 4vw, 56px); }
.pgal-list .pgal { margin: 0; }
@media (max-width: 760px) { .pgal { grid-template-columns: 96px minmax(0, 1fr); } .pgal__desc { display: none; } .pgal__go { grid-column: 1 / -1; justify-self: start; } }

/* shot lab: each number on a scale sits exactly under the slider position it stands for */
.dial { --thumb: 16px; }
.dial__ticks { position: relative; display: block; height: 1.9em; }
.dial__ticks button { position: absolute; top: 0; left: calc(var(--thumb) / 2 + var(--p) * (100% - var(--thumb))); transform: translateX(-50%); font: inherit; color: inherit; background: none; border: 0; padding: 2px 4px; border-radius: 4px; cursor: pointer; transition: color 140ms var(--ease-out); }
.dial__ticks button:hover, .dial__ticks button.is-on { color: var(--rec); }
.dial__ticks button:focus-visible { outline: 2px solid var(--rec); outline-offset: 1px; }
.demo__use b { display: block; margin-bottom: 6px; }
.demo--solo { grid-template-columns: minmax(0, 1fr); }
.demo--solo .demo__copy > p:not(.demo__n) { max-width: 62ch; }

/* faq: the whole page on one centred column */
[data-page="faq"] .phead { text-align: center; }
[data-page="faq"] .phead__lede { margin-inline: auto; }
.faq { width: min(900px, 100% - 2 * var(--gut)); }
@media (max-width: 760px) { .faq { width: auto; } }

/* contact: the required mark in red everywhere, website field optional */
.brief__req i { font-style: normal; color: #ff6b5f; }

/* journal: captions under the in-article photos are centred */
.post__fig figcaption { text-align: center; justify-self: center; }

/* ---------- Alex's review, 26/10 ---------- */
/* portfolio: under each film, just the photo and the label */
.pgal--compact { grid-template-columns: clamp(110px, 11vw, 170px) minmax(0, 1fr); padding: 10px; }
.pgal__label { font-size: var(--step-1); font-weight: 800; font-variation-settings: "wdth" 75; font-stretch: 75%; }
.pgal--compact:hover .pgal__label, .pgal--compact:focus-visible .pgal__label { color: var(--rec); }
@media (max-width: 760px) { .pgal--compact { grid-template-columns: 96px minmax(0, 1fr); } }
/* video collection: the album button sits beside the film title */
.reel__gal { grid-column: 2; grid-row: 1; justify-self: end; align-self: center; white-space: nowrap; }
@media (max-width: 760px) { .reel__gal { grid-column: 1; grid-row: auto; justify-self: start; } }
/* production gallery album: Alex's welcome photo and text, side by side */
.pgal-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.pgal-head__copy { display: grid; gap: 18px; justify-items: start; }
.pgal-head__img { width: 100%; height: auto; border-radius: 12px; display: block; }
@media (max-width: 860px) { .pgal-head { grid-template-columns: minmax(0, 1fr); } }

/* about: one centred column of content on wide screens, no dead space at the edges */
[data-page="about"] :is(.phead, .about, .pillars, .bts, .who, .press, .ahead) { padding-inline: max(var(--gut), calc((100% - 1240px) / 2)); }
@media (min-width: 861px) {
  .about.about--split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 64px); align-items: center; }
  .about--split .about__copy { max-width: none; }
  .about--split .about__img--a { justify-self: end; width: min(100%, 500px); height: auto; aspect-ratio: 4 / 5; }
  .pillars article { grid-template-columns: minmax(0, 360px) minmax(0, 1fr); }
  .pillars article > p:not(.pillars__lead) { max-width: none; }
}
.bts__head { grid-template-columns: auto minmax(0, 1fr); }
.bts__head p { max-width: 82ch; }
/* who we work with: title and lede side by side, the two paragraphs spread across */
.who { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: clamp(32px, 5vw, 80px); align-items: end; }
.who > h2 { white-space: nowrap; }
.who__lede { margin: 0; max-width: 52ch; }
.who__copy, .who__list { grid-column: 1 / -1; }
.who__copy { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; }
@media (max-width: 860px) { .who { grid-template-columns: minmax(0, 1fr); } .who > h2 { white-space: normal; } .who__lede { margin-top: 12px; } .who__copy { grid-template-columns: minmax(0, 1fr); } }
/* press: the title on one line, text and files close together */
.press__head h2 { white-space: nowrap; }
.press__grid { grid-template-columns: minmax(0, 44ch) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); }
@media (max-width: 760px) { .press__head h2 { white-space: normal; } .press__grid { grid-template-columns: minmax(0, 1fr); } }
/* looking ahead | every story begins: same structure, tops aligned */
.ahead, .ahead > div:first-child, .ahead__cta { align-items: start; align-content: start; }
.ahead .h-cond { font-size: clamp(2.4rem, 4.6vw, 4.4rem); line-height: .95; }
.ahead__cta > p.ahead__lead { color: var(--ink); font-weight: 650; font-size: var(--step-1); line-height: 1.3; }
.ahead > div:first-child { gap: 16px; }
.ahead__cta { gap: 16px; }

/* faq: the title on one line, centred with its description */
@media (min-width: 761px) { [data-page="faq"] .phead__title { max-width: none; white-space: nowrap; } }
.pgal--compact { width: max-content; max-width: calc(100% - 2 * var(--gut)); padding-right: clamp(24px, 3vw, 40px); }
.pgal-head .album__back a { color: inherit; }
@media (min-width: 861px) { .about.about--split { grid-template-columns: minmax(0, 1fr) minmax(0, 500px); } .about--split .about__img--a { justify-self: stretch; width: 100%; } }

/* ---------- Alex's review, 29/10 ---------- */
/* a thin rule between sections that sat on the same background with only empty space between them */
.anatomy, .ways, #more, [data-page="about"] .bts, [data-page="about"] .ahead { position: relative; }
.anatomy::before, .ways::before, #more::before, [data-page="about"] .bts::before, [data-page="about"] .ahead::before {
  content: ""; position: absolute; top: 0; left: var(--sep-x, var(--gut)); right: var(--sep-x, var(--gut)); border-top: 1px solid var(--line); z-index: 1; pointer-events: none; }
#more::before { border-top-color: var(--line-slate); }
[data-page="about"] :is(.bts, .ahead) { --sep-x: max(var(--gut), calc((100% - 1240px) / 2)); }
.jteaser--home { padding-bottom: clamp(48px, 6vw, 80px); }
.svx--top { padding-bottom: clamp(48px, 5vw, 72px); }
.ways { padding-top: clamp(56px, 6vw, 88px); }
#ecoflow ~ #forties { padding-bottom: clamp(56px, 6vw, 88px); }
#more { padding-top: clamp(56px, 6vw, 88px); }
[data-page="about"] .pillars { padding-bottom: clamp(48px, 5vw, 72px); }
[data-page="about"] .bts { padding-top: clamp(48px, 5vw, 72px); }
[data-page="about"] .press { padding-bottom: clamp(48px, 5vw, 72px); }
[data-page="about"] .ahead { padding-top: clamp(56px, 6vw, 88px); }
/* contact: the form ends, a rule, then the footer */
[data-page="contact"] .foot { border-top: 1px solid var(--line-slate); }
[data-page="contact"] main > section:last-of-type { padding-bottom: clamp(64px, 8vw, 110px); }

/* shot lab hero, desktop: wider text, the camera starts right after it instead of floating mid-screen */
@media (min-width: 1001px) {
  .kitx__copy { max-width: min(460px, 32vw); }
  .kitx__copy h1 { max-width: 14ch; }
  .kitx__copy > p:not(.phead__kicker) { max-width: none; }
  .kitx .fx6 { inset: clamp(150px, 19vh, 190px) var(--gut) clamp(160px, 21vh, 200px) calc(var(--gut) + min(460px, 32vw) + clamp(24px, 3vw, 56px)); justify-items: start; }
}
/* shot lab hero, phone: title, then the description card, then the camera, with nothing covering it */
.kitx__fold { display: none; }
@media (max-width: 760px) {
  .kitx { min-height: 780px; }
  .kitx__card { top: 178px; bottom: auto; padding: 12px 44px 12px 16px; }
  .kitx__card h2 { font-size: var(--step-0); }
  .kitx__card p { margin-top: 4px; }
  .kitx__card.is-folded p, .kitx__card.is-folded .kitx__spec { display: none; }
  .kitx__fold { display: grid; place-items: center; position: absolute; top: 6px; right: 6px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; }
  .kitx__fold::before { content: ""; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(2px) rotate(-135deg); transition: transform 200ms var(--ease-out); }
  .kitx__card.is-folded .kitx__fold::before { transform: translateY(-2px) rotate(45deg); }
  .kitx .fx6 { inset: 330px var(--gut) 92px var(--gut); }
  .kitx__card.is-folded ~ .fx6, .kitx:has(.kitx__card.is-folded) .fx6 { top: 250px; }
}

.nowrap { white-space: nowrap; }
/* who we work with: the lede is a subtitle, same size as the other subtitles on the page */
.who__lede { font-weight: 650; font-size: var(--step-1); line-height: 1.3; color: var(--on-slate); max-width: 40ch; }
/* faq: answers use the full width of the column */
.faq details > div { max-width: none; }
/* journal subscribe: text and email box side by side in the middle, the button under the box */
.jsub { grid-template-columns: minmax(0, 520px) minmax(0, 520px); justify-content: center; align-items: center; column-gap: clamp(32px, 5vw, 80px); }
.jsub__form { grid-template-columns: minmax(0, 1fr); }
.jsub__form .btn { justify-self: start; }
@media (max-width: 860px) { .jsub { grid-template-columns: minmax(0, 1fr); } }
