/* HAHO design system: identity v2 "engineered monochrome".
   Ported from design-prototype/assets/css/haho.css (approved). Cascade order is kept;
   later blocks deliberately refine earlier ones. New components live in site.css. */

/* ==========================================================================
   HAHO identity v2 — "engineered monochrome"
   Off-black, off-white and the two greys of the HAHO mark. Square geometry,
   hairline rules, a 12-column grid, and motifs taken from real production:
   frame marks, keyframes and timecode.
   ========================================================================== */

:root {
  /* Neutrals */
  --ink: #161617;          /* off-black */
  --ink-2: #1f1f21;        /* raised off-black */
  --ink-line: #333336;     /* rules on ink */
  --graphite: #4a4a4e;
  --slate: #5c5c60;        /* secondary text on paper */
  --steel: #939396;        /* HAHO mark grey 1 */
  --silver: #d6d7da;       /* HAHO mark grey 2 */
  --mist: #e9e9e6;         /* alternate paper */
  --paper: #f3f3f1;        /* off-white */
  --paper-line: #d3d3cf;   /* rules on paper */
  --white: #fbfbfa;

  /* HAHO Learn accent (used sparingly) */
  --learn: #ff0e55;

  /* Type */
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", "Noto Sans Ethiopic", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Layout */
  --wrap: 1440px;
  --gutter: clamp(20px, 3.4vw, 56px);
  --gap: clamp(16px, 1.8vw, 28px);
  --sec: clamp(72px, 8vw, 124px);
  --header-h: 64px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

/* Themes: every component reads --bg/--fg/--muted/--dim/--line */
.t-paper { --bg: var(--paper); --fg: var(--ink); --muted: var(--slate); --dim: #6e6e72; --line: var(--paper-line); --line-2: #b9b9b5; --mark: #a9a9a6; background: var(--bg); color: var(--fg); }
.t-mist  { --bg: var(--mist); --fg: var(--ink); --muted: var(--slate); --dim: #6a6a6e; --line: #cfcfcb; --line-2: #b3b3af; --mark: #a3a3a0; background: var(--bg); color: var(--fg); }
.t-ink   { --bg: var(--ink); --fg: #efefed; --muted: #a6a6a9; --dim: #8b8b8f; --line: var(--ink-line); --line-2: #55555a; --mark: #5c5c60; background: var(--bg); color: var(--fg); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; font-weight: 400;
  background: var(--paper); color: var(--ink);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden;
  font-feature-settings: "ss01" on;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { font-weight: 500; text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: var(--ink); color: var(--paper); }
.t-ink ::selection { background: var(--paper); color: var(--ink); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--ink); color: var(--paper); padding: 10px 14px; font-weight: 500; }
.skip:focus { top: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.sec { padding-block: var(--sec); }
.sec--top0 { padding-top: 0; }

/* ---------- Type ---------- */
.d-xl { font-size: clamp(52px, 8vw, 132px); font-stretch: 120%; font-weight: 500; letter-spacing: -0.045em; line-height: 0.9; }
.d-l  { font-size: clamp(42px, 5.6vw, 96px); font-stretch: 116%; font-weight: 500; letter-spacing: -0.04em; line-height: 0.94; }
.h2   { font-size: clamp(32px, 3.4vw, 54px); font-stretch: 112%; font-weight: 500; letter-spacing: -0.032em; line-height: 1.02; }
.h3   { font-size: clamp(20px, 1.6vw, 24px); font-stretch: 106%; font-weight: 500; letter-spacing: -0.015em; line-height: 1.2; }
.lead { font-size: clamp(18px, 1.45vw, 22px); line-height: 1.5; color: var(--muted); }
.lead strong { color: var(--fg); font-weight: 500; }
.small { font-size: 14px; line-height: 1.5; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.data { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.01em; font-variant-numeric: tabular-nums; }
.tone { color: var(--steel); }
.t-ink .tone { color: #7d7d81; }

/* ---------- Section rule: the "spec sheet" header ---------- */
.rule {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap);
  border-top: 1px solid var(--fg); padding-top: 14px; margin-bottom: clamp(40px, 5vw, 80px);
  font-size: 14px; font-weight: 500;
}
.rule .n { grid-column: 1 / 2; font-family: var(--mono); font-weight: 400; font-size: 12.5px; color: var(--dim); padding-top: 1px; }
.rule .t { grid-column: 2 / 7; }
.rule .r { grid-column: 7 / 13; text-align: right; color: var(--muted); font-weight: 400; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 28px;
  height: 52px; padding: 0 20px; border: 1px solid var(--fg); font-size: 15px; font-weight: 500;
  white-space: nowrap; transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.btn svg { width: 15px; height: 15px; transition: transform 0.35s var(--ease); flex-shrink: 0; }
.btn:hover svg { transform: translateX(4px); }
.btn--solid { background: var(--fg); color: var(--bg); }
.btn--solid:hover { background: transparent; color: var(--fg); }
.btn--line { color: var(--fg); border-color: var(--line-2); }
.btn--line:hover { border-color: var(--fg); background: var(--fg); color: var(--bg); }
.btn--learn { background: var(--learn); border-color: var(--learn); color: var(--ink); }
.btn--learn:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.t-ink .btn--learn:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn--sm { height: 40px; padding: 0 14px; gap: 18px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.tlink { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; white-space: nowrap; border-bottom: 1px solid var(--line-2); padding-bottom: 4px; transition: border-color 0.25s; }
.tlink:hover { border-color: var(--fg); }
.tlink svg { width: 13px; height: 13px; transition: transform 0.35s var(--ease); }
.tlink:hover svg { transform: translate(2px, -2px); }

/* ---------- Motifs ---------- */
/* Frame marks: corner brackets like a camera's frame lines */
.framed { position: relative; }
.framed::after {
  content: ""; position: absolute; inset: -12px; pointer-events: none; --m: var(--mark); --s: 16px;
  background:
    linear-gradient(var(--m), var(--m)) top left / var(--s) 1px no-repeat,
    linear-gradient(var(--m), var(--m)) top left / 1px var(--s) no-repeat,
    linear-gradient(var(--m), var(--m)) top right / var(--s) 1px no-repeat,
    linear-gradient(var(--m), var(--m)) top right / 1px var(--s) no-repeat,
    linear-gradient(var(--m), var(--m)) bottom left / var(--s) 1px no-repeat,
    linear-gradient(var(--m), var(--m)) bottom left / 1px var(--s) no-repeat,
    linear-gradient(var(--m), var(--m)) bottom right / var(--s) 1px no-repeat,
    linear-gradient(var(--m), var(--m)) bottom right / 1px var(--s) no-repeat;
}
/* Keyframe: the diamond every animator knows */
.key { display: inline-block; width: 9px; height: 9px; background: currentColor; transform: rotate(45deg); flex-shrink: 0; }
.key--hollow { background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; height: var(--header-h); background: var(--paper); border-bottom: 1px solid var(--paper-line); color: var(--ink); }
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; margin-right: auto; }
.brand img { height: 19px; width: auto; }
.brand--learn img { height: 32px; }
.nav { display: flex; align-items: center; gap: 30px; height: 100%; }
.nav a { position: relative; display: flex; align-items: center; height: 100%; font-size: 14.5px; font-weight: 500; color: var(--slate); transition: color 0.2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); }
.nav .div-link { color: var(--ink); gap: 8px; }
.nav .div-link .sq { width: 7px; height: 7px; background: var(--learn); }
.nav .div-link .sq--studio { background: var(--steel); }
.header-cta { display: flex; align-items: center; gap: 16px; }
.header-cta .text-link { font-size: 14.5px; font-weight: 500; }
.menu-btn { display: none; height: 40px; padding: 0 14px; border: 1px solid var(--ink); font-size: 14px; font-weight: 500; }
.mobile-menu { position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; background: var(--paper); padding: 24px var(--gutter) 32px; display: none; flex-direction: column; }
.menu-open .mobile-menu { display: flex; }
.mobile-menu a.big { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--paper-line); font-size: 30px; font-stretch: 112%; font-weight: 500; letter-spacing: -0.03em; }
.mobile-menu a.big span { font-family: var(--mono); font-size: 12px; font-stretch: 100%; letter-spacing: 0; color: var(--dim); }
.mobile-menu .m-actions { margin-top: auto; display: grid; gap: 10px; }
.mobile-menu .m-actions .btn { width: 100%; }

/* ---------- Hero (studio) ---------- */
.hero { padding-top: clamp(28px, 3vw, 44px); padding-bottom: clamp(64px, 7vw, 112px); }
.meta-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding-bottom: 14px; border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.meta-row > :nth-child(1) { grid-column: 1 / 5; color: var(--fg); font-weight: 500; }
.meta-row > :nth-child(2) { grid-column: 5 / 10; }
.meta-row > :nth-child(3) { grid-column: 10 / 13; text-align: right; }
.hero-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 32px; align-items: end; margin-top: clamp(44px, 6vw, 96px); margin-bottom: clamp(40px, 5vw, 72px); }
.hero-head h1 { grid-column: 1 / 9; }
.hero-head h1 .tone { color: var(--steel); }
.hero-head .intro { grid-column: 9 / 13; display: grid; gap: 28px; padding-bottom: 6px; }
.hero-head .intro p { font-size: 17px; color: var(--muted); }

/* Viewer: the showreel presented like a monitor */
.viewer { background: var(--ink); }
.viewer .screen { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #0d0d0e center / cover no-repeat; }
.viewer .screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.9s ease; }
.viewer .screen video.on { opacity: 1; }
.viewer-bar {
  display: grid; grid-template-columns: 1.6fr 1fr 0.7fr 1fr auto; align-items: center; gap: 0;
  border: 1px solid var(--line); border-top: 0; font-size: 14px; margin-top: 0;
}
.viewer-bar > * { padding: 14px 16px; border-right: 1px solid var(--line); min-width: 0; }
.viewer-bar > :last-child { border-right: 0; }
.viewer-bar .k { display: block; font-size: 12px; color: var(--dim); margin-bottom: 2px; }
.viewer-bar .v { display: block; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.viewer-bar .tc { font-family: var(--mono); font-size: 15px; font-weight: 400; letter-spacing: 0.02em; }
.viewer-ctrl { display: flex; align-items: center; gap: 6px; padding: 8px 10px !important; }
.sq-btn { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line-2); transition: background 0.2s, color 0.2s, border-color 0.2s; }
.sq-btn:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.sq-btn svg { width: 14px; height: 14px; }
.reel-tabs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-left: 1px solid var(--line); }
.reel-tab { position: relative; text-align: left; padding: 14px 16px 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); transition: color 0.2s, background 0.2s; }
.reel-tab:hover { color: var(--fg); background: rgba(0, 0, 0, 0.025); }
.reel-tab .data { display: block; color: var(--dim); margin-bottom: 4px; }
.reel-tab.on { color: var(--fg); }
.reel-tab .prog { position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--fg); }

/* ---------- Clients ---------- */
.clients { display: grid; grid-template-columns: 2fr repeat(6, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.clients > * { min-height: 104px; display: flex; align-items: center; justify-content: center; border-right: 1px solid var(--line); padding: 16px; }
.clients > :last-child { border-right: 0; }
.clients .lbl { justify-content: flex-start; flex-direction: column; align-items: flex-start; gap: 6px; font-size: 14px; font-weight: 500; }
.clients svg { height: 22px; width: auto; max-width: 100%; color: var(--steel); transition: color 0.25s; }
.clients > :hover svg { color: var(--ink); }

/* ---------- Statement ---------- */
.statement .grid { row-gap: 48px; }
.statement .lbl { grid-column: 1 / 4; font-size: 14px; font-weight: 500; padding-top: 10px; }
.statement .big { grid-column: 4 / 13; font-size: clamp(28px, 2.7vw, 42px); font-stretch: 106%; font-weight: 400; letter-spacing: -0.022em; line-height: 1.22; }
.statement .big .tone { color: var(--steel); }
.spec { grid-column: 4 / 13; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.spec > div { padding: 16px 16px 0 0; }
.spec dt { font-size: 13px; color: var(--dim); margin-bottom: 4px; }
.spec dd { margin: 0; font-size: 15.5px; font-weight: 500; line-height: 1.4; }

/* ---------- Work (ink) ---------- */
.work-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: clamp(44px, 5vw, 72px); }
.tile { grid-column: span 6; display: flex; flex-direction: column; }
.tile.s8 { grid-column: span 8; }
.tile.s4 { grid-column: span 4; }
.tile .media { position: relative; overflow: hidden; background: var(--ink-2); aspect-ratio: 16 / 10; }
.tile.tall .media { flex: 1 1 auto; aspect-ratio: auto; min-height: 0; }
.tile .media img, .tile .media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity 0.5s; }
.tile .media video { opacity: 0; }
.tile.playing .media video { opacity: 1; }
.tile:hover .media img { transform: scale(1.02); }
.tile .cap { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: baseline; padding-top: 14px; margin-top: 14px; border-top: 1px solid var(--line); }
.tile .cap .data { color: var(--dim); }
.tile .cap h3 { font-size: 20px; font-stretch: 108%; font-weight: 500; letter-spacing: -0.015em; }
.tile .cap p { grid-column: 2; font-size: 14.5px; color: var(--muted); margin-top: 2px; }
.tile .cap .len { grid-row: 1; grid-column: 3; color: var(--muted); }

/* Project index table */
.index { margin-top: clamp(72px, 8vw, 128px); }
.index-head, .index-row { display: grid; grid-template-columns: 56px 2.2fr 1.6fr 2.2fr 0.8fr 0.8fr 28px; gap: var(--gap); align-items: center; }
.index-head { font-size: 13px; color: var(--dim); padding-bottom: 12px; border-bottom: 1px solid var(--fg); }
.index-row { position: relative; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; transition: background 0.2s, padding 0.3s var(--ease); }
.index-row .name { font-size: clamp(18px, 1.5vw, 22px); font-stretch: 108%; font-weight: 500; letter-spacing: -0.015em; }
.index-row .c, .index-row .m { color: var(--muted); }
.index-row .arrow { width: 16px; height: 16px; opacity: 0.45; transition: opacity 0.2s, transform 0.3s var(--ease); }
.index-row:hover { background: var(--ink-2); padding-left: 12px; padding-right: 12px; }
.index-row:hover .arrow { opacity: 1; transform: translate(2px, -2px); }
.peek { position: fixed; z-index: 120; width: 300px; aspect-ratio: 16 / 10; pointer-events: none; opacity: 0; transform: translate(24px, -50%); transition: opacity 0.2s; background: var(--ink-2) center / cover no-repeat; outline: 1px solid rgba(255, 255, 255, 0.15); }
.peek.on { opacity: 1; }

/* ---------- Services ---------- */
.svc .grid { row-gap: 40px; }
.svc .intro { grid-column: 1 / 5; display: grid; gap: 24px; align-content: start; position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
.svc .intro p { color: var(--muted); max-width: 40ch; }
.svc-list { grid-column: 6 / 13; border-top: 1px solid var(--fg); }
.svc-row { display: grid; grid-template-columns: 44px 1fr; gap: 6px 16px; padding: 22px 0 24px; border-bottom: 1px solid var(--line); }
.svc-row .data { color: var(--dim); padding-top: 6px; }
.svc-row h3 { font-size: clamp(22px, 1.9vw, 28px); font-stretch: 110%; font-weight: 500; letter-spacing: -0.025em; }
.svc-row p { grid-column: 2; color: var(--muted); max-width: 56ch; }
.svc-row .del { grid-column: 2; font-size: 14px; color: var(--fg); margin-top: 6px; }
.svc-row .del span { color: var(--dim); }

/* ---------- Process: a timeline with keyframes ---------- */
.proc-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); margin-bottom: clamp(48px, 6vw, 88px); }
.proc-head h2 { grid-column: 1 / 7; }
.proc-head p { grid-column: 8 / 13; color: var(--muted); align-self: end; }
.timeline { position: relative; }
.ruler {
  height: 28px; border-bottom: 1px solid var(--fg); position: relative;
  background:
    repeating-linear-gradient(90deg, var(--fg) 0 1px, transparent 1px calc(100% / 6)) bottom / 100% 14px no-repeat,
    repeating-linear-gradient(90deg, var(--line-2) 0 1px, transparent 1px calc(100% / 48)) bottom / 100% 7px no-repeat;
}
.ruler .fr { position: absolute; top: 0; font-family: var(--mono); font-size: 11px; color: var(--dim); transform: translateX(4px); }
.stages { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.stage { position: relative; padding: 26px 20px 0 0; }
.stage .key { position: absolute; top: -5px; left: -4px; color: var(--fg); }
.stage .data { color: var(--dim); }
.stage h3 { font-size: 19px; font-stretch: 106%; font-weight: 500; margin-top: 10px; }
.stage p { font-size: 15px; color: var(--muted); margin-top: 8px; }

/* ---------- Testimonials ---------- */
.quote-wrap .grid { align-items: start; }
.quote-wrap .lbl { grid-column: 1 / 4; display: grid; gap: 18px; }
.quote-main { grid-column: 4 / 13; }
.quote-main blockquote { margin: 0; font-size: clamp(26px, 2.7vw, 42px); font-stretch: 104%; font-weight: 400; letter-spacing: -0.022em; line-height: 1.22; min-height: 3.8em; }
.quote-main blockquote::before { content: "“"; color: var(--steel); margin-right: 0.05em; }
.quote-main blockquote::after { content: "”"; color: var(--steel); }
.quote-foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 36px; padding-top: 16px; border-top: 1px solid var(--line); }
.quote-foot .who strong { display: block; font-weight: 500; }
.quote-foot .who span { color: var(--muted); font-size: 15px; }
.pager { display: flex; align-items: center; gap: 8px; }
.pager .data { margin-right: 10px; color: var(--muted); }

/* ---------- Studio / founder ---------- */
.studio .portrait { grid-column: 1 / 5; aspect-ratio: 4 / 5; background: var(--mist); position: relative; overflow: hidden; margin: 0; }
.studio .portrait svg { width: 100%; height: 100%; }
.studio .portrait figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; padding: 12px 14px; font-size: 12.5px; color: var(--slate); border-top: 1px solid var(--paper-line); background: var(--paper); }
.studio .txt { grid-column: 6 / 13; display: grid; gap: 22px; align-content: start; }
.studio .txt p { color: var(--muted); max-width: 60ch; }
.facts { border-top: 1px solid var(--fg); margin-top: 12px; }
.facts > div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.facts dt { color: var(--dim); }
.facts dd { margin: 0; font-weight: 500; }

/* ---------- Learn band (on studio) ---------- */
.learn-band .grid { align-items: start; row-gap: 48px; }
.learn-band .l { grid-column: 1 / 6; display: grid; gap: 24px; }
.learn-band .l img.logo { height: 52px; width: auto; }
.learn-band .l p { color: var(--muted); max-width: 46ch; }
.figs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.figs > div { padding: 16px 16px 16px 0; border-right: 1px solid var(--line); }
.figs > div + div { padding-left: 16px; }
.figs > div:last-child { border-right: 0; }
.figs strong { display: block; font-size: clamp(26px, 2.4vw, 36px); font-stretch: 112%; font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; }
.figs span { font-size: 13.5px; color: var(--muted); }
.posters { grid-column: 7 / 13; display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.posters a { display: block; }
.posters img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--paper); transition: filter 0.4s; }
.posters a:hover img { filter: brightness(1.05); }
.posters .pc { display: flex; justify-content: space-between; gap: 12px; padding-top: 10px; margin-top: 10px; border-top: 1px solid var(--line); font-size: 14.5px; font-weight: 500; }
.posters .pc span:last-child { color: var(--muted); font-weight: 400; white-space: nowrap; }

/* ---------- Contact (ink) ---------- */
.contact .grid { row-gap: 56px; }
.contact .c-head { grid-column: 1 / 7; }
.contact .c-actions { grid-column: 8 / 13; justify-content: flex-end; }
.contact .lead { margin-top: 28px; max-width: 40ch; }
.contact form { grid-column: 8 / 13; display: grid; grid-template-columns: 1fr 1fr; gap: 26px 20px; align-content: start; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; color: var(--dim); }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-2); padding: 8px 0 10px;
  font-size: 16px; color: var(--fg); border-radius: 0; outline: none; transition: border-color 0.2s; -webkit-appearance: none; appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(-45deg, transparent 50%, var(--muted) 50%); background-position: right 6px top 18px, right 1px top 18px; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { background: var(--ink); color: var(--fg); }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--fg); }
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 6px; }
.form-foot p { font-size: 13.5px; color: var(--dim); max-width: 34ch; }
.direct { grid-column: 1 / 13; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.direct > div { padding: 18px 18px 0 0; }
.direct dt { font-size: 13px; color: var(--dim); margin-bottom: 6px; }
.direct dd { margin: 0; font-size: 15.5px; line-height: 1.55; }
.direct a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Footer ---------- */
.site-footer { padding-top: clamp(64px, 7vw, 104px); padding-bottom: 32px; border-top: 1px solid var(--line); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: clamp(56px, 7vw, 104px); padding-top: 18px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--dim); }
.foot-bottom nav { display: flex; gap: 22px; }
.foot-bottom a:hover { color: var(--fg); }

/* ---------- Project page ---------- */
.p-top { padding-top: clamp(24px, 3vw, 40px); }
.crumbs { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--muted); padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.crumbs a:hover { color: var(--fg); }
.p-title { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; margin: clamp(48px, 6vw, 96px) 0 clamp(40px, 5vw, 64px); row-gap: 28px; }
.p-title h1 { grid-column: 1 / 8; }
.p-title .lead { grid-column: 8 / 13; padding-bottom: 8px; }
.p-spec { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--fg); border-bottom: 1px solid var(--line); margin-bottom: clamp(48px, 5vw, 72px); }
.p-spec > div { padding: 14px 16px 16px 0; border-right: 1px solid var(--line); }
.p-spec > div + div { padding-left: 16px; }
.p-spec > div:last-child { border-right: 0; }
.p-spec dt { font-size: 12.5px; color: var(--dim); margin-bottom: 4px; }
.p-spec dd { margin: 0; font-size: 15px; font-weight: 500; line-height: 1.4; }

.player { position: relative; background: var(--ink); aspect-ratio: 16 / 9; overflow: hidden; }
.player.vert { aspect-ratio: auto; height: min(82vh, 900px); }
.player.vert video, .player.vert .poster { object-fit: contain; }
.player.square { aspect-ratio: auto; height: min(82vh, 900px); }
.player video, .player .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #0d0d0e; }
.player video { z-index: 0; }
.player .poster { z-index: 1; object-fit: cover; transition: opacity 0.5s; }
.player.vert .poster, .player.square .poster { object-fit: contain; }
.player.started .poster { opacity: 0; pointer-events: none; }
.player .play {
  position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 14px; height: 56px; padding: 0 22px 0 18px;
  background: var(--paper); color: var(--ink); font-size: 15px; font-weight: 500; white-space: nowrap; transition: background 0.2s, color 0.2s;
}
.player .play:hover { background: var(--ink); color: var(--paper); }
.player .play svg { width: 14px; height: 14px; }
.player.started .play { display: none; }
.films { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); border-left: 1px solid var(--line); }
.film { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; text-align: left; padding: 10px 14px 10px 10px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); transition: color 0.2s, background 0.2s; }
.film img { width: 64px; aspect-ratio: 16 / 10; object-fit: cover; filter: grayscale(1); transition: filter 0.3s; }
.film strong { display: block; font-weight: 500; font-size: 14.5px; color: inherit; }
.film .data { color: var(--dim); }
.film:hover { color: var(--fg); }
.film[aria-pressed="true"] { color: var(--fg); background: var(--mist); box-shadow: inset 0 -2px 0 var(--fg); }
.film[aria-pressed="true"] img, .film:hover img { filter: none; }

.story { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--fg); }
.story > div { padding: 16px 28px 0 0; }
.story > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.story h3 { font-size: 14px; font-weight: 500; color: var(--dim); margin-bottom: 16px; }
.story p { font-size: 18px; line-height: 1.6; }

.stills { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 8px; }
.stills img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 9; background: var(--mist); }
.stills .w { grid-column: span 12; }
.stills .h { grid-column: span 6; }
.stills .t { grid-column: span 4; }
.stills.vert img { aspect-ratio: 9 / 16; }
.stills.vert .t { grid-column: span 3; }

.credits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.credits > div { padding: 14px 16px 0 0; }
.credits dt { font-size: 13px; color: var(--dim); margin-bottom: 4px; }
.credits dd { margin: 0; font-weight: 500; }

.next { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; padding-top: 16px; border-top: 1px solid var(--fg); }
.next .l { grid-column: 1 / 7; display: grid; gap: 14px; }
.next .l .small { color: var(--muted); }
.next .media { grid-column: 7 / 13; aspect-ratio: 16 / 9; overflow: hidden; background: var(--mist); }
.next .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.next:hover .media img { transform: scale(1.02); }

/* ---------- Learn ---------- */
.l-hero { padding-top: clamp(28px, 3vw, 44px); padding-bottom: clamp(56px, 6vw, 96px); }
.l-hero .hero-head h1 .accent { color: var(--learn); }
.l-feature .screen { position: relative; aspect-ratio: 21 / 9; overflow: hidden; background: var(--ink); }
.l-feature .screen img { width: 100%; height: 100%; object-fit: cover; }
.l-feature .play { position: absolute; right: 24px; bottom: 24px; display: inline-flex; align-items: center; gap: 14px; height: 52px; padding: 0 20px 0 16px; background: var(--paper); color: var(--ink); font-weight: 500; font-size: 15px; transition: background 0.2s, color 0.2s; }
.l-feature .play:hover { background: var(--learn); }
.l-feature .play svg { width: 13px; height: 13px; }
.l-feature .viewer-bar { grid-template-columns: 1.8fr 0.8fr 0.8fr 0.8fr auto; }

.figs--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tools-row { display: grid; grid-template-columns: 2fr repeat(6, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tools-row > * { display: flex; align-items: center; gap: 10px; padding: 18px 16px; border-right: 1px solid var(--line); font-size: 14.5px; font-weight: 500; }
.tools-row > :last-child { border-right: 0; }
.tools-row .lbl { padding-left: 0; }
.tools-row img { width: 22px; height: 22px; object-fit: contain; filter: grayscale(1) contrast(1.1); opacity: 0.85; }

.courses { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--fg); border-left: 1px solid var(--line); }

.how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--fg); }
.how > div { padding: 18px 28px 0 0; }
.how > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.how .num { font-size: clamp(56px, 6vw, 96px); font-stretch: 118%; font-weight: 300; letter-spacing: -0.05em; line-height: 0.9; color: var(--steel); }
.how h3 { font-size: 21px; font-stretch: 106%; font-weight: 500; margin-top: 28px; }
.how p { color: var(--muted); margin-top: 10px; font-size: 16px; }

.cohorts .grid { row-gap: 40px; align-items: stretch; }
.team-note { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.team-note p { color: var(--muted); font-size: 15px; }

.s-quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--fg); }
.s-quotes figure { margin: 0; padding: 18px 28px 0 0; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.s-quotes figure + figure { padding-left: 28px; border-left: 1px solid var(--line); }
.s-quotes blockquote { margin: 0; font-size: 18.5px; line-height: 1.5; }
.s-quotes figcaption { font-size: 14.5px; }
.s-quotes figcaption strong { display: block; font-weight: 500; }
.s-quotes figcaption span { color: var(--muted); }
.stars { display: flex; gap: 4px; margin-bottom: 18px; color: var(--fg); }
.stars i { width: 8px; height: 8px; background: currentColor; transform: rotate(45deg); }
.stars i.off { background: transparent; box-shadow: inset 0 0 0 1.2px currentColor; }

.faq .grid { row-gap: 32px; }
.faq .lbl { grid-column: 1 / 5; display: grid; gap: 18px; align-content: start; }
.faq .lbl p { color: var(--muted); }
.faq .list { grid-column: 6 / 13; border-top: 1px solid var(--fg); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 24px; gap: 20px; padding: 20px 0; font-size: 18px; font-stretch: 104%; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { position: relative; width: 14px; height: 14px; margin-top: 6px; justify-self: end; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 0; top: 6.5px; width: 14px; height: 1.5px; background: currentColor; }
.faq summary .pm::after { transform: rotate(90deg); transition: transform 0.3s var(--ease); }
.faq details[open] summary .pm::after { transform: rotate(0); }
.faq details p { color: var(--muted); padding: 0 48px 24px 0; max-width: 64ch; }

.l-cta .grid { align-items: end; row-gap: 32px; }
.l-cta h2 { grid-column: 1 / 8; }
.l-cta .r { grid-column: 9 / 13; display: grid; gap: 24px; }
.l-cta .r p { color: var(--muted); }

/* ---------- Brand sheet ---------- */
.swatches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--fg); border-left: 1px solid var(--line); }
.sw { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sw .chip { height: 150px; }
.sw .info { padding: 12px 14px 14px; display: grid; gap: 2px; font-size: 14px; }
.sw .info strong { font-weight: 500; font-size: 15.5px; }
.sw .info span { color: var(--muted); }
.type-spec > div { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--line); }
.type-spec .k { font-size: 13.5px; color: var(--dim); line-height: 1.6; }
.motifs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--fg); border-left: 1px solid var(--line); }
.motif { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 20px; display: grid; gap: 16px; align-content: start; }
.motif .stage-area { height: 150px; display: grid; place-items: center; background: var(--white); }
.motif h3 { font-size: 17px; font-weight: 500; }
.motif p { font-size: 14.5px; color: var(--muted); }
.rules-list { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--fg); }
.rules-list > div { padding: 18px 28px 22px 0; }
.rules-list > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.rules-list h3 { font-size: 15px; font-weight: 500; margin-bottom: 12px; }
.rules-list ul { margin: 0; padding-left: 18px; color: var(--muted); display: grid; gap: 6px; }

/* ---------- Toast & prototype note ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 400; transform: translate(-50%, 16px); opacity: 0; pointer-events: none; padding: 12px 16px; background: var(--ink); color: var(--paper); font-size: 14px; font-weight: 500; transition: opacity 0.25s, transform 0.4s var(--ease); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.proto-note--warn { border-color: #b98900; }

/* ---------- Trailer modal ---------- */
.modal { position: fixed; inset: 0; z-index: 300; display: none; place-items: center; padding: 24px; background: rgba(22, 22, 23, 0.94); }
.modal.on { display: grid; }
.modal video { width: min(1200px, 100%); max-height: 82vh; background: #000; }
.modal .x { position: absolute; top: 16px; right: 16px; height: 40px; padding: 0 14px; display: inline-flex; align-items: center; gap: 10px; border: 1px solid #55555a; color: #efefed; font-size: 14px; }
.modal .x:hover { background: #efefed; color: var(--ink); }
.modal .x svg { width: 12px; height: 12px; }

/* ---------- Reveal (quiet) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(10px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav { gap: 22px; }
  .clients { grid-template-columns: repeat(3, 1fr); }
  .clients .lbl { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid var(--line); min-height: auto; padding: 14px 0; }
  .clients > :nth-child(4), .clients > :nth-child(7) { border-right: 0; }
  .clients > :nth-child(-n+4) { border-bottom: 1px solid var(--line); }
  .courses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reel-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tools-row { grid-template-columns: repeat(3, 1fr); }
  .tools-row .lbl { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid var(--line); }
  .swatches, .motifs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  :root { --header-h: 60px; }
  .nav, .header-cta .btn, .header-cta .text-link { display: none; }
  .menu-btn { display: inline-flex; align-items: center; }
  .meta-row > :nth-child(2) { display: none; }
  .meta-row > :nth-child(1) { grid-column: 1 / 8; }
  .meta-row > :nth-child(3) { grid-column: 8 / 13; }
  .hero-head h1, .hero-head .intro, .p-title h1, .p-title .lead, .proc-head h2, .proc-head p, .contact .c-head, .contact .c-actions, .contact form, .l-cta h2, .l-cta .r { grid-column: 1 / -1; }
  .viewer-bar { grid-template-columns: 1fr 1fr; }
  .viewer-bar > * { border-bottom: 1px solid var(--line); }
  .viewer-bar > :nth-child(2n) { border-right: 0; }
  .viewer-bar .viewer-ctrl { grid-column: 1 / -1; justify-content: space-between; }
  .l-feature .viewer-bar { grid-template-columns: 1fr 1fr; }
  .statement .lbl, .statement .big, .spec, .svc .intro, .svc-list, .quote-wrap .lbl, .quote-main, .studio .portrait, .studio .txt, .learn-band .l, .posters, .faq .lbl, .faq .list { grid-column: 1 / -1; }
  .svc .intro { position: static; }
  .spec { grid-template-columns: 1fr 1fr; }
  .tile, .tile.s8, .tile.s4 { grid-column: span 12; }
  .tile.tall .media { flex: none; aspect-ratio: 4 / 5; }
  .index-head { display: none; }
  .index-row { grid-template-columns: 40px 1fr auto; row-gap: 2px; }
  .index-row .c, .index-row .d { display: none; }
  .index-row .m { grid-column: 2; grid-row: 2; font-size: 14px; }
  .index-row .len { grid-column: 3; grid-row: 1; }
  .index-row .arrow { display: none; }
  .stages { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .ruler { display: none; }
  .stage { border-top: 1px solid var(--fg); }
  .stage .key { top: -5px; }
  .story, .how, .s-quotes, .credits { grid-template-columns: 1fr; }
  .story > div + div, .how > div + div, .s-quotes figure + figure { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 24px; }
  .p-spec { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .p-spec > div:nth-child(3) { border-right: 0; }
  .p-spec > div:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .p-spec > div:nth-child(4) { padding-left: 0; }
  .films { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .next .l, .next .media { grid-column: 1 / -1; }
  .next { row-gap: 20px; }
  .direct { grid-template-columns: 1fr 1fr; row-gap: 20px; }
  .figs--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .figs--4 > div:nth-child(2) { border-right: 0; }
  .figs--4 > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .figs--4 > div:nth-child(3) { padding-left: 0; }
  .l-feature .screen { aspect-ratio: 16 / 10; }
  .type-spec > div { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .rule .t { grid-column: 2 / 13; }
  .rule .r { display: none; }
  .reel-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reel-tab:nth-child(n+5) { display: none; }
  .clients { grid-template-columns: repeat(2, 1fr); }
  .clients > :nth-child(4) { border-right: 1px solid var(--line); }
  .clients > :nth-child(odd):not(.lbl) { border-right: 0; }
  .clients > * { min-height: 84px; }
  .courses { grid-template-columns: 1fr; }
  .stages { grid-template-columns: 1fr 1fr; }
  .stills .h, .stills .t { grid-column: span 12; }
  .stills.vert .t { grid-column: span 6; }
  .films { grid-template-columns: 1fr; }
  .p-spec { grid-template-columns: 1fr 1fr; }
  .p-spec > div { border-right: 0 !important; padding-left: 0 !important; border-bottom: 1px solid var(--line); }
  .p-spec > div:nth-child(odd) { border-right: 1px solid var(--line) !important; }
  .p-spec > div:nth-child(even) { padding-left: 16px !important; }
  .figs { grid-template-columns: 1fr 1fr 1fr; }
  .figs.figs--4 { grid-template-columns: 1fr 1fr; }
  .figs strong { font-size: 24px; }
  .posters { grid-template-columns: 1fr; }
  .contact form { grid-template-columns: 1fr; }
  .direct { grid-template-columns: 1fr; }
  .facts > div { grid-template-columns: 120px 1fr; }
  .form-foot { flex-direction: column; align-items: stretch; }
  .form-foot .btn { width: 100%; }
  .tools-row { grid-template-columns: 1fr 1fr; }
  .team-note { flex-direction: column; align-items: flex-start; }
  .viewer-bar { font-size: 13px; }
  .swatches, .motifs, .rules-list { grid-template-columns: 1fr; }
  .rules-list > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}

/* ==========================================================================
   v3 additions: icon set, gridlines, multiviewer, stats, library, service cards
   ========================================================================== */

/* HAHO Line icons */
.i { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: square; stroke-linejoin: miter; display: inline-block; vertical-align: middle; }
.i--sm { width: 16px; height: 16px; }
.i--lg { width: 28px; height: 28px; stroke-width: 1.4; }
.i--xl { width: 40px; height: 40px; stroke-width: 1.25; }
.btn .i { width: 16px; height: 16px; transition: transform 0.35s var(--ease); }
.btn:hover .i { transform: translateX(4px); }
.tlink .i { width: 14px; height: 14px; transition: transform 0.35s var(--ease); }
.tlink:hover .i { transform: translate(2px, -2px); }
.sq-btn .i { width: 16px; height: 16px; }

/* Blueprint gridlines behind the hero */
.has-grid { position: relative; isolation: isolate; }
.gridlines { position: absolute; top: 0; bottom: 0; left: var(--gutter); right: var(--gutter); z-index: -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); pointer-events: none; }
.gridlines span { border-left: 1px solid rgba(22, 22, 23, 0.06); border-right: 1px solid rgba(22, 22, 23, 0.06); }

.meta-row .ic { display: inline-flex; align-items: center; gap: 8px; }
.meta-row .ic .i { width: 15px; height: 15px; color: var(--dim); }

/* Hero, tightened for the multiviewer */
.hero-head { margin-top: clamp(36px, 4.4vw, 72px); margin-bottom: clamp(32px, 3.6vw, 56px); }
.hero .d-xl { font-size: clamp(48px, 6.8vw, 116px); }

/* Multiviewer: a broadcast monitor wall */
.mv { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; padding: 6px; background: var(--ink); }
.mon { position: relative; overflow: hidden; background: #0d0d0e center / cover no-repeat; aspect-ratio: 16 / 9; cursor: pointer; display: block; width: 100%; padding: 0; text-align: left; }
.mon video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.6s; }
.mon video.on { opacity: 1; }
.mon::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); transition: box-shadow 0.2s; pointer-events: none; }
.mon:hover::after, .mon:focus-visible::after { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7); }
.mon .lb { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; gap: 8px; padding: 18px 8px 6px; font-family: var(--mono); font-size: 10.5px; color: rgba(255, 255, 255, 0.86); background: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0)); pointer-events: none; white-space: nowrap; overflow: hidden; }
.mon .lb span:first-child { overflow: hidden; text-overflow: ellipsis; }
.mon.pgm { grid-column: 1 / 9; grid-row: 1 / 3; cursor: default; }
.mon.pgm .lb { font-size: 12px; padding: 24px 14px 12px; }
.mon.pgm .tag { position: absolute; left: 12px; top: 12px; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 5px 9px; background: rgba(243, 243, 241, 0.94); color: var(--ink); font-size: 12px; font-weight: 500; }
.mon.pgm .tag .key { width: 7px; height: 7px; }
.mon.side { grid-column: span 4; }
.mon.small { grid-column: span 2; }
.mon.live::after { box-shadow: inset 0 0 0 2px var(--paper); }

/* Stats band */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--fg); border-bottom: 1px solid var(--line); }
.stat { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 2px; align-items: start; padding: 22px 18px 22px 0; border-right: 1px solid var(--line); }
.stat + .stat { padding-left: 18px; }
.stat:last-child { border-right: 0; }
.stat .i { grid-row: 1 / 3; width: 26px; height: 26px; margin-top: 4px; color: var(--steel); stroke-width: 1.35; }
.stat strong { font-size: clamp(28px, 2.6vw, 40px); font-stretch: 114%; font-weight: 500; letter-spacing: -0.035em; line-height: 1.05; }
.stat span { font-size: 14px; color: var(--muted); line-height: 1.35; }

/* Work: denser grid + view toggle */
.work-tools { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: -40px 0 32px; }
.work-tools p { color: var(--muted); font-size: 15px; }
.view-toggle { display: inline-flex; border: 1px solid var(--line-2); }
.view-toggle button { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; font-size: 13.5px; color: var(--muted); transition: background 0.2s, color 0.2s; }
.view-toggle button + button { border-left: 1px solid var(--line-2); }
.view-toggle button[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
.view-toggle .i { width: 15px; height: 15px; }
.tile.s3 { grid-column: span 3; }
.tile.s6 { grid-column: span 6; }
.work-grid { row-gap: clamp(36px, 4vw, 56px); }
.tile .cap h3 { font-size: 18.5px; }
.tile.s3 .cap p { font-size: 13.5px; }
[data-view="list"] .work-grid { display: none; }
[data-view="grid"] .index { display: none; }
.index { margin-top: 0; }

/* Library: a contact sheet of every film */
.library { margin-top: clamp(72px, 8vw, 120px); }
.sheet { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 14px 8px; }
.frame { position: relative; display: block; }
.frame .m { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-2); }
.frame .m img, .frame .m video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.4s, filter 0.4s; }
.frame .m img { filter: grayscale(0.35) brightness(0.92); }
.frame:hover .m img { filter: none; }
.frame .m video { opacity: 0; }
.frame.playing .m video { opacity: 1; }
.frame .fc { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; padding-top: 7px; font-family: var(--mono); font-size: 10.5px; color: var(--dim); white-space: nowrap; }
.frame .fc b { font-weight: 400; color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.frame:hover .fc b { color: var(--fg); }
.frame .m .ar { position: absolute; top: 5px; right: 5px; z-index: 1; padding: 1px 5px; font-family: var(--mono); font-size: 9.5px; background: rgba(0, 0, 0, 0.55); color: rgba(255, 255, 255, 0.85); }

/* Service cards */
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--fg); border-left: 1px solid var(--line); }
.svc-card { display: flex; flex-direction: column; gap: 12px; padding: 22px 20px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background 0.25s; }
.svc-card:hover { background: var(--white); }
.svc-card .top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }
.svc-card .top .i { width: 34px; height: 34px; stroke-width: 1.3; }
.svc-card .top .data { color: var(--dim); }
.svc-card h3 { font-size: 21px; font-stretch: 108%; font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; }
.svc-card p { font-size: 14.5px; color: var(--muted); }
.svc-card .strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: auto; padding-top: 8px; }
.svc-card .strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: grayscale(1); transition: filter 0.4s; }
.svc-card:hover .strip img { filter: none; }
.svc-card .wave { display: flex; align-items: center; gap: 3px; height: 74px; margin-top: auto; padding-top: 8px; }
.svc-card .wave i { flex: 1; background: var(--fg); opacity: 0.85; }
.svc-card .del { font-size: 12.5px; color: var(--dim); border-top: 1px solid var(--line); padding-top: 10px; }
.svc-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; margin-bottom: clamp(36px, 4vw, 56px); row-gap: 20px; }
.svc-head h2 { grid-column: 1 / 7; }
.svc-head p { grid-column: 8 / 12; color: var(--muted); }
.svc-head .tlink { grid-column: 12 / 13; justify-self: end; }

/* Process stage icons */
.stage .si { display: block; width: 30px; height: 30px; margin: 4px 0 14px; stroke-width: 1.35; }

/* Contact & footer icons */
.direct dt { display: flex; align-items: center; gap: 8px; }
.direct dt .i { width: 15px; height: 15px; }

/* Learn icons */
.figs .fi { display: block; width: 22px; height: 22px; color: var(--steel); margin-bottom: 10px; stroke-width: 1.4; }
.how .hi { display: block; width: 34px; height: 34px; margin-top: 18px; stroke-width: 1.3; }
.p-spec dt { display: flex; align-items: center; gap: 7px; }
.p-spec dt .i { width: 14px; height: 14px; }

/* Brand sheet: icon grid */
.icon-sheet { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); border-top: 1px solid var(--fg); border-left: 1px solid var(--line); }
.icon-sheet > div { display: grid; justify-items: center; gap: 12px; padding: 22px 8px 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.icon-sheet .i { width: 28px; height: 28px; stroke-width: 1.4; }
.icon-sheet span { font-family: var(--mono); font-size: 10.5px; color: var(--dim); }

@media (max-width: 1180px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .stat:nth-child(3) { padding-left: 0; }
  .sheet { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .icon-sheet { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .meta-row > .ic:nth-child(2) { display: none; }
  .mon.pgm { grid-column: 1 / -1; grid-row: auto; }
  .mon.side { grid-column: span 6; }
  .mon.small { grid-column: span 4; }
  .tile.s3 { grid-column: span 6; }
  .tile.s6 { grid-column: span 12; }
  .svc-head h2, .svc-head p { grid-column: 1 / -1; }
  .svc-head .tlink { grid-column: 1 / -1; justify-self: start; }
  .work-tools { margin-top: -24px; flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat, .stat + .stat { padding: 16px 12px 16px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:nth-child(odd) { border-right: 1px solid var(--line); }
  .stat:nth-child(even) { padding-left: 14px; }
  .stat:nth-last-child(-n+2) { border-bottom: 0; }
  .sheet { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tile.s3 { grid-column: span 12; }
  .svc-grid { grid-template-columns: 1fr; }
  .icon-sheet { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .mon.small:nth-child(n+7) { display: none; }
  .gridlines { display: none; }
}

/* ==========================================================================
   v4: division switch, minimal footer, HAHO Space, Learn photography, A Creator's Mind
   ========================================================================== */
:root { --x-red: #ff5773; --x-blue: #36a9eb; --x-green: #36eb8a; }

/* Division switch: its own control at the far right of the header */
.divisions { display: flex; align-items: stretch; height: 40px; border: 1px solid var(--ink); flex-shrink: 0; }
.divisions a { display: inline-flex; align-items: center; gap: 8px; padding: 0 13px; font-size: 13.5px; font-weight: 500; color: var(--ink); transition: background 0.2s, color 0.2s; }
.divisions a + a { border-left: 1px solid var(--ink); }
.divisions a:hover { background: var(--mist); }
.divisions a[aria-current="page"] { background: var(--ink); color: var(--paper); }
.dv { display: inline-flex; gap: 2px; }
.dv i { display: block; width: 7px; height: 7px; }
.dv--studio i { background: var(--steel); }
.dv--learn i { background: var(--learn); }
.dv--space i { width: 4px; height: 7px; }
.dv--space i:nth-child(1) { background: var(--x-red); }
.dv--space i:nth-child(2) { background: var(--x-blue); }
.dv--space i:nth-child(3) { background: var(--x-green); }
.header-sep { width: 1px; align-self: stretch; margin: 14px 2px; background: var(--paper-line); }
.brand--space img { height: 30px; }
.mobile-menu .divisions { height: 48px; margin-bottom: 16px; }
.mobile-menu .divisions a { flex: 1; justify-content: center; font-size: 15px; }

/* Minimal footer: the bottom bar only */
.site-footer.min { padding: 22px 0; }
.site-footer.min .foot-bottom { margin-top: 0; padding-top: 0; border-top: 0; align-items: center; }

/* ---------- HAHO Space ---------- */
.space-hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(28px, 3vw, 44px) 0 0; }
.spacetime { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0.55; }
.spacetime path { fill: none; stroke: #5a5a5f; stroke-width: 0.6; vector-effect: non-scaling-stroke; }
.space-hero .meta-row { border-color: var(--ink-line); }
.space-hero .meta-row > :nth-child(1) { color: var(--fg); }
.sh-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 32px; align-items: end; margin: clamp(48px, 6vw, 96px) 0 clamp(48px, 5vw, 80px); }
.sh-head .l { grid-column: 1 / 8; display: grid; gap: 32px; }
.sh-head .space-logo { width: min(440px, 80%); height: auto; }
.sh-head .r { grid-column: 8 / 13; display: grid; gap: 22px; }
.sh-head .r p { color: var(--muted); }
.lablog { border-top: 1px solid var(--fg); margin-bottom: 0; }
.log-row { display: grid; grid-template-columns: 90px 18px minmax(0, 1.2fr) minmax(0, 1.6fr) 140px 24px; gap: var(--gap); align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); transition: background 0.2s, padding 0.3s var(--ease); }
.log-row:hover { background: var(--ink-2); padding-left: 14px; padding-right: 14px; }
.log-row .sq { width: 14px; height: 14px; background: var(--x); }
.log-row .name { font-size: clamp(22px, 2vw, 30px); font-stretch: 112%; font-weight: 500; letter-spacing: -0.025em; }
.log-row .name small { font-size: 15px; font-stretch: 100%; letter-spacing: 0; color: var(--muted); font-weight: 400; margin-left: 10px; }
.log-row .what { color: var(--muted); font-size: 15px; }
.log-row .i { width: 18px; height: 18px; color: var(--muted); }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; }
.status .k2 { width: 8px; height: 8px; transform: rotate(45deg); background: var(--x, var(--fg)); }
.status--exp .k2 { background: transparent; box-shadow: inset 0 0 0 1.5px var(--x, var(--fg)); }

.exp { --mark: var(--x); }
.exp .rule .n { color: var(--fg); }
.exp .rule .n::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 8px; background: var(--x); vertical-align: 0; }
.exp-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 48px; align-items: start; }
.exp-txt { grid-column: 1 / 6; display: grid; gap: 20px; }
.exp-txt .tag { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.exp-txt .tag .i { width: 18px; height: 18px; color: var(--fg); }
.exp-txt .am { font-family: "Noto Sans Ethiopic", var(--font); font-size: 20px; color: var(--muted); margin-top: -8px; }
.exp-txt .lead { color: var(--fg); }
.exp-txt p { color: var(--muted); }
.exp-txt .facts { margin-top: 4px; }
.exp-txt .facts > div { grid-template-columns: 140px 1fr; }
.exp-vis { grid-column: 7 / 13; display: grid; gap: 16px; }
.exp-vis .framed::after { --m: var(--x); }
.exp-vis img.hero-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--ink); }

/* FidelFlow typing demo */
.tdemo { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); background: var(--white); }
.tdemo > div { padding: 16px 18px; min-height: 96px; display: grid; align-content: space-between; gap: 10px; }
.tdemo > div + div { border-left: 1px solid var(--line); background: var(--paper); }
.tdemo .k { font-size: 12.5px; color: var(--dim); display: flex; align-items: center; gap: 8px; }
.tdemo .k .i { width: 14px; height: 14px; }
.tdemo .typed { font-family: var(--mono); font-size: 24px; letter-spacing: 0.01em; min-height: 36px; }
.tdemo .typed::after { content: ""; display: inline-block; width: 2px; height: 26px; margin-left: 3px; vertical-align: -4px; background: var(--x); animation: caret 1s steps(1) infinite; }
.tdemo .ge { font-family: "Noto Sans Ethiopic", var(--font); font-size: 30px; font-weight: 500; min-height: 42px; transition: opacity 0.25s; }
.tdemo .space-key { justify-self: start; display: inline-flex; align-items: center; height: 24px; padding: 0 22px; border: 1px solid var(--line-2); font-size: 11.5px; color: var(--dim); transition: background 0.15s, color 0.15s; }
.tdemo .space-key.down { background: var(--x); color: #fff; border-color: var(--x); }
@keyframes caret { 50% { opacity: 0; } }

/* Receipt mock */
.receipt-wrap { position: relative; }
.receipt { position: absolute; right: 22px; bottom: -28px; width: min(300px, 70%); background: var(--white); color: var(--ink); padding: 18px 18px 14px; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.5); border-top: 3px solid var(--x); font-size: 13.5px; }
.receipt h4 { margin: 0 0 10px; font-size: 13px; font-weight: 500; display: flex; justify-content: space-between; color: var(--slate); }
.receipt .ln { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; padding: 5px 0; border-bottom: 1px dashed var(--paper-line); font-family: var(--mono); font-size: 12px; }
.receipt .who { display: flex; justify-content: space-between; padding-top: 8px; font-weight: 500; }
.receipt .who + .who { padding-top: 4px; }
.receipt .who span:last-child { font-family: var(--mono); font-size: 12.5px; }
.receipt .note { margin-top: 10px; font-size: 11px; color: var(--dim); }

.space-close .grid { align-items: end; row-gap: 28px; }
.space-close .sc-l { grid-column: 1 / 8; }
.space-close .r { grid-column: 9 / 13; display: grid; gap: 22px; }
.space-close .r p { color: var(--muted); }
.space-close .squares { display: flex; gap: 8px; margin-bottom: 26px; }
.space-close .squares i { width: 18px; height: 18px; }

/* ---------- Learn: photography ---------- */

.next-cohort { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 28px; padding: clamp(24px, 3vw, 44px); margin-bottom: clamp(56px, 6vw, 96px); }
.next-cohort .poster { grid-column: 1 / 5; margin: 0; }
.next-cohort .poster img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.next-cohort .txt { grid-column: 6 / 13; display: grid; gap: 20px; align-content: start; }
.next-cohort .txt .k { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); }
.next-cohort .txt .k .i { width: 16px; height: 16px; color: var(--learn); }
.next-cohort h3 { font-size: clamp(36px, 4.4vw, 68px); font-stretch: 118%; font-weight: 500; letter-spacing: -0.04em; line-height: 0.95; }
.next-cohort h3 small { display: block; font-size: 0.34em; font-stretch: 106%; letter-spacing: -0.01em; color: var(--muted); margin-top: 12px; font-weight: 400; }
.next-cohort p { color: var(--muted); max-width: 56ch; }
.next-cohort .facts > div { grid-template-columns: 170px 1fr; }
.next-cohort .facts dt { display: flex; align-items: center; gap: 8px; }
.next-cohort .facts dt .i { width: 15px; height: 15px; }

/* ---------- A Creator's Mind ---------- */
.acm-shots { grid-column: 6 / 13; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.acm-shots figure { margin: 0; position: relative; overflow: hidden; background: var(--ink-2); }
.acm-shots figure.big { grid-column: 1 / -1; }
.acm-shots img { width: 100%; display: block; aspect-ratio: 3 / 2; object-fit: cover; }
.acm-shots figure.big img { aspect-ratio: 16 / 9; }

@media (max-width: 1180px) {
  .divisions a { padding: 0 10px; }
  .log-row { grid-template-columns: 74px 14px minmax(0, 1fr) 120px 20px; }
  .log-row .what { display: none; }
}
@media (max-width: 960px) {
  /* Phones and tablets: the division switch becomes an always-visible strip on top of the header */
  :root { --header-h: 96px; }
  .site-header { height: auto; }
  .site-header .wrap { flex-wrap: wrap; height: auto; column-gap: 16px; }
  .site-header .brand, .site-header .header-cta { height: 60px; display: flex; align-items: center; }
  .site-header .divisions { order: -1; width: calc(100% + 2 * var(--gutter)); margin: 0 calc(-1 * var(--gutter)); height: 36px; border: 0; border-bottom: 1px solid var(--paper-line); }
  .site-header .divisions a { flex: 1; justify-content: center; font-size: 13px; }
  .site-header .divisions a + a { border-left-color: var(--paper-line); }
  .mobile-menu .divisions, .header-sep { display: none; }
  .exp .rule .n { grid-column: 1 / 4; }
  .exp .rule .t { grid-column: 4 / 13; }
  .sh-head .l, .sh-head .r, .exp-txt, .exp-vis, .space-close .sc-l, .space-close .r, .next-cohort .poster, .next-cohort .txt, .acm-shots { grid-column: 1 / -1; }
  .next-cohort .poster { max-width: 420px; }
  .receipt { position: relative; right: auto; bottom: auto; width: 100%; margin-top: 12px; }
}
@media (max-width: 640px) {
  .log-row { grid-template-columns: 60px 12px minmax(0, 1fr) 20px; }
  .log-row .status { display: none; }
  .log-row .name small { display: block; margin: 2px 0 0; }
  .tdemo { grid-template-columns: 1fr; }
  .tdemo > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .acm-shots { grid-template-columns: 1fr 1fr; }
  .exp-txt .facts > div, .next-cohort .facts > div { grid-template-columns: 120px 1fr; }
}

/* ==========================================================================
   v5: online vs in-person, compact cohorts, compact A Creator's Mind,
   services titles, shorter Space hero, themed experiments
   ========================================================================== */

/* Format tags: what kind of learning is this? */
.fmt { display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 10px; font-size: 12.5px; font-weight: 500; border: 1px solid var(--fg); color: var(--fg); white-space: nowrap; align-self: flex-start; justify-self: start; }
.fmt .i { width: 14px; height: 14px; }
.fmt--online { background: var(--fg); color: var(--bg); }
.t-ink .fmt--live { border-color: var(--line-2); }
.fmt-legend { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; font-size: 14px; color: var(--muted); }
.fmt-legend > span { display: inline-flex; align-items: center; gap: 10px; }
.sec-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 20px; align-items: end; margin-bottom: clamp(32px, 3.6vw, 52px); }
.sec-head h2 { grid-column: 1 / 7; }
.sec-head .r { grid-column: 8 / 13; display: grid; gap: 16px; }
.sec-head .r p { color: var(--muted); }

/* In person: one showcase for all past cohorts, every photo the same 16:9 size */
.past-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 12px; margin-bottom: 8px; border-bottom: 1px solid var(--fg); }
.past-head h3 { font-size: 15px; font-weight: 500; }
.past-head span { font-size: 14px; color: var(--muted); }
.showcase { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.showcase img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; background: var(--mist); }
.next-cohort { margin: clamp(40px, 4vw, 64px) 0 0; padding: clamp(22px, 2.4vw, 36px); }
.next-cohort .poster { grid-column: 1 / 4; }
.next-cohort .txt { grid-column: 5 / 13; gap: 18px; }
.next-cohort h3 { font-size: clamp(32px, 3.4vw, 52px); }

/* A Creator's Mind: one compact band */
.acm-band { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 20px; align-items: center; padding: clamp(20px, 2.4vw, 32px); }
.acm-band .al { grid-column: 1 / 5; display: grid; gap: 12px; align-content: center; }
.acm-band .al img { width: 200px; height: auto; }
.acm-band .al p { color: var(--muted); font-size: 15px; max-width: 38ch; }
.acm-band .al .data { color: var(--dim); }
.acm-band .ar { grid-column: 6 / 13; }
.recap { position: relative; background: #000; }
.recap video { width: 100%; height: auto; aspect-ratio: 16 / 9; display: block; object-fit: cover; }
.recap-play { position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 16px; border: 0; background: var(--paper); color: var(--ink); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; transition: background 0.2s, color 0.2s; }
.recap-play .i { width: 16px; height: 16px; }
.recap-play .data { font-size: 12px; color: var(--slate); }
.recap-play:hover { background: var(--learn); color: #fff; }
.recap-play:hover .data { color: inherit; }
.recap.playing .recap-play { display: none; }
.acm-band h3.data { font-size: 13px; font-weight: 400; }

/* Services: icon and title on one line, bolder */
.svc-card .top { align-items: center; margin-bottom: 2px; }
.svc-card .ttl { display: flex; align-items: center; gap: 12px; min-width: 0; }
.svc-card .top .ttl .i { width: 28px; height: 28px; stroke-width: 1.45; flex-shrink: 0; }
.svc-card .ttl h3 { font-size: clamp(19px, 1.45vw, 22px); font-weight: 600; font-stretch: 106%; letter-spacing: -0.02em; line-height: 1.15; }

/* Space: shorter hero */
.space-hero .sh-head { margin: clamp(32px, 3.4vw, 56px) 0 clamp(28px, 3vw, 44px); }
.space-hero .sh-head .l { gap: 22px; }
.space-hero .sh-head .space-logo { width: min(290px, 70%); }
.space-hero h1 { font-size: clamp(34px, 4vw, 62px); }
.space-hero .log-row { padding: 14px 0; }
.space-hero .log-row .name { font-size: clamp(20px, 1.7vw, 26px); }

/* Space: each experiment takes its palette from its own artwork and brand.
   The logo's red / blue / green squares are the X, Y, Z axes of a 3D tool, so they are
   never assigned to individual projects. */
.th-ff { --bg: #111b2c; --fg: #eef2f8; --muted: #a9b6c8; --dim: #8796ac; --line: rgba(238, 242, 248, 0.13); --line-2: rgba(238, 242, 248, 0.3); --x: #6f93c8; --panel: #172440; --panel-2: #1c2c4a; background: var(--bg); color: var(--fg); }
.th-mw { --bg: #e7dfd1; --fg: #24211f; --muted: #5b5348; --dim: #73695d; --line: #cfc3b0; --line-2: #b2a48d; --x: #8a7356; --panel: #f2ede4; --panel-2: #ebe3d5; background: var(--bg); color: var(--fg); }
.th-sa { --bg: #2b1f18; --fg: #f4eadb; --muted: #cfbba0; --dim: #aa957c; --line: rgba(244, 234, 219, 0.14); --line-2: rgba(244, 234, 219, 0.3); --x: #d3a46a; --panel: #3a2b21; --panel-2: #433226; background: var(--bg); color: var(--fg); }
.th-ff .btn--solid:hover, .th-sa .btn--solid:hover { color: var(--fg); }
.exp .tdemo .space-key.down { color: var(--bg); }
.exp .receipt { border-top-color: var(--x); }
.log-row .thumb { width: 40px; height: 40px; object-fit: cover; display: block; }
.space-hero .log-row { grid-template-columns: 90px 40px minmax(0, 1.2fr) minmax(0, 1.6fr) 140px 24px; }
.th-ff ::selection, .th-sa ::selection { background: var(--fg); color: var(--bg); }
.exp .tdemo { background: var(--panel, var(--white)); border-color: var(--line); }
.exp .tdemo > div + div { background: var(--panel-2, var(--paper)); border-color: var(--line); }

@media (max-width: 1180px) {
  .space-hero .log-row { grid-template-columns: 74px 40px minmax(0, 1fr) 120px 20px; }
}
@media (max-width: 960px) {
  .sec-head h2, .sec-head .r, .acm-band .al, .acm-band .ar { grid-column: 1 / -1; }
  .next-cohort .poster { grid-column: 1 / 6; }
  .showcase { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .showcase { gap: 4px; }
  .next-cohort .poster { grid-column: 1 / -1; }
  .next-cohort .poster img { aspect-ratio: 16 / 10; object-position: center 62%; }
  .space-hero .log-row { grid-template-columns: 56px 36px minmax(0, 1fr) 20px; }
  .log-row .thumb { width: 36px; height: 36px; }
}

/* ==========================================================================
   v6: course tiles, upcoming-workshop event card, A Creator's Mind band,
   founder portrait
   ========================================================================== */

/* Founder portrait */
.studio .portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.studio .portrait figcaption { color: var(--ink); font-weight: 500; }
.studio .portrait figcaption span + span { color: var(--slate); font-weight: 400; }

/* Online courses: four separate tiles, each with its own index, tools and level */
.courses { gap: 12px; border: 0; }
.crs { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); color: var(--fg); transition: border-color 0.25s; }
.crs:hover { border-color: var(--fg); }
.crs-top { display: flex; justify-content: space-between; align-items: center; height: 44px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.crs-top .data { color: var(--dim); }
.crs-sw { display: flex; gap: 8px; align-items: center; font-size: 12.5px; color: var(--muted); }
.crs-sw .tool { display: inline-flex; align-items: center; gap: 7px; color: var(--fg); }
.crs-sw .tool + .tool { margin-left: 6px; }
.crs-sw img { width: 18px; height: 18px; display: block; }
.crs-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--mist); }
.crs-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s var(--ease); }
.crs:hover .crs-media img { transform: scale(1.03); }
.crs-media .fmt { position: absolute; left: 12px; bottom: 12px; margin: 0; }
.crs-body { padding: 18px 16px 20px; display: grid; gap: 10px; align-content: start; }
.crs-lv { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.meter { display: inline-flex; gap: 3px; }
.meter i { width: 8px; height: 8px; border: 1px solid var(--learn); }
.meter i.on { background: var(--learn); }
.crs h3 { margin: 0; font-size: clamp(19px, 1.45vw, 22px); font-weight: 600; font-stretch: 106%; letter-spacing: -0.02em; line-height: 1.18; min-height: 2.36em; }
.crs-body p { font-size: 14.5px; color: var(--muted); }
.crs-lang { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; }
.crs-lang .i { width: 16px; height: 16px; color: var(--dim); }
.crs-stats { margin: auto 16px 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.crs-stats > div { padding: 12px 0 14px; }
.crs-stats > div + div { border-left: 1px solid var(--line); padding-left: 14px; }
.crs-stats dt { font-size: 12.5px; color: var(--dim); }
.crs-stats dd { margin: 4px 0 0; font-size: 22px; font-stretch: 110%; font-weight: 500; letter-spacing: -0.02em; }
.crs-buy { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-top: 1px solid var(--line); transition: background 0.25s, color 0.25s; }
.crs-buy .price { font-size: 22px; font-stretch: 110%; font-weight: 500; letter-spacing: -0.02em; }
.crs-buy .price small { font-size: 13px; font-stretch: 100%; color: var(--muted); font-weight: 400; margin-right: 4px; letter-spacing: 0; }
.crs-buy .go { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 500; }
.crs-buy .go .i { width: 16px; height: 16px; transition: transform 0.25s; }
.crs:hover .crs-buy { background: var(--fg); color: var(--bg); }
.crs:hover .crs-buy .price small { color: inherit; opacity: 0.7; }
.crs:hover .crs-buy .go .i { transform: translateX(3px); }

/* Upcoming workshop: event card with full-height poster, five-day plan and fact strip */
.ev { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); margin-top: clamp(40px, 4vw, 64px); }
.ev-poster { grid-column: 1 / 5; margin: 0; position: relative; overflow: hidden; background: #0d0d0e; }
.ev-poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 52%; }
.ev-main { grid-column: 5 / 13; padding: clamp(24px, 2.8vw, 44px); display: grid; gap: 30px; align-content: start; }
.ev-tags { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; }
.ev-status { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); }
.ev-status .i { width: 16px; height: 16px; color: var(--learn); }
.ev-head { display: grid; gap: 12px; }
.ev h3 { margin: 0; font-size: clamp(38px, 4vw, 62px); font-stretch: 118%; font-weight: 500; letter-spacing: -0.04em; line-height: 0.95; }
.ev-sub { font-size: 15.5px; }
.ev-desc { color: var(--muted); max-width: 64ch; }
.ev-days { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: relative; }
.ev-days::before { content: ""; position: absolute; left: 0; right: 0; top: 35px; height: 1px; background: var(--line-2); }
.ev-days li { display: grid; grid-template-rows: 18px 14px auto; row-gap: 10px; padding-right: 16px; position: relative; }
.ev-days .d { font-family: var(--mono); font-size: 12px; color: var(--dim); line-height: 18px; }
.ev-days .kf { width: 10px; height: 10px; margin: 2px 0 0 2px; transform: rotate(45deg); background: var(--learn); box-shadow: 0 0 0 4px var(--bg); }
.ev-days .w { font-size: 14px; line-height: 1.4; }
.ev-specs { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--fg); border-bottom: 1px solid var(--line); }
.ev-specs > div { padding: 14px 16px 16px 0; }
.ev-specs > div + div { border-left: 1px solid var(--line); padding-left: 16px; }
.ev-specs dt { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--dim); }
.ev-specs dt .i { width: 14px; height: 14px; }
.ev-specs dd { margin: 8px 0 0; font-size: 20px; font-stretch: 108%; font-weight: 500; letter-spacing: -0.015em; }
.ev-specs dd small { display: block; margin-top: 4px; font-size: 13px; font-stretch: 100%; letter-spacing: 0; font-weight: 400; color: var(--muted); }
.ev-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.ev-cta p { font-size: 13.5px; color: var(--muted); max-width: 42ch; }

/* A Creator's Mind: larger logo, structured column, less dead space */
#community { padding-bottom: calc(var(--sec) * 0.75); }
.acm-band { padding: clamp(24px, 2.6vw, 36px); align-items: stretch; }
.acm-band .al { grid-column: 1 / 6; align-content: space-between; gap: 28px; }
.acm-band .al img { width: min(360px, 100%); }
.acm-band .al .meta { display: grid; gap: 10px; }
.acm-band .ar { grid-column: 7 / 13; align-self: center; }

@media (max-width: 1180px) {
  .ev-poster { grid-column: 1 / 5; }
  .ev-main { grid-column: 5 / 13; }
  .ev-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ev-specs > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .ev-specs > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 960px) {
  .ev-poster { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
  .ev-main { grid-column: 1 / -1; }
  .acm-band .al, .acm-band .ar { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .ev-days { grid-template-columns: 1fr; }
  .ev-days::before { left: 71px; right: auto; top: 8px; bottom: 8px; width: 1px; height: auto; }
  .ev-days li { grid-template-columns: 52px 20px minmax(0, 1fr); grid-template-rows: auto; column-gap: 10px; align-items: center; padding: 7px 0; }
  .ev-days .kf { justify-self: center; margin: 0; }
  .ev-tags { justify-content: flex-start; }
  .ev-cta .btn { width: 100%; justify-content: space-between; }
  .ev-specs dd { font-size: 17px; white-space: nowrap; }
  .ev-specs dd small { white-space: normal; }
}

/* Studio: the founder copy carries the facts, so the list is gone */
.studio .txt { gap: 20px; }
.studio .txt .lead { color: var(--fg); font-size: clamp(18px, 1.45vw, 21px); line-height: 1.5; max-width: 54ch; }
.studio .txt p .tlink { display: inline; padding: 0; border: 0; color: var(--fg); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: var(--line-2); }
.studio .txt p .tlink:hover { text-decoration-color: var(--fg); }
/* Student quotes: captions are role-only now, keep them aligned whether one or two lines */
.s-quotes figcaption { min-height: calc(14.5px * 1.6 * 2); display: flex; flex-direction: column; justify-content: flex-start; }
/* Client strip: three placeholder logos until the real ones arrive */
.clients { grid-template-columns: 2fr repeat(3, 1fr); }
@media (max-width: 1180px) {
  .clients > :nth-child(-n+4):not(.lbl) { border-bottom: 0; }
  .clients > :last-child { border-right: 0; }
}
