
:root {
  --ground: #1C1A17;
  --ground-raised: #26231F;
  --ink: #F2EBDD;
  --ink-muted: #BDB5A4;
  --line: #4A453D;
  --poppy: #FF5B2E;
  --butter: #F5C84B;
  --void: #14120F;
  --bone: #F2EBDD;
  --accent-text: #F5C84B;
  --f-display: 'Silkscreen', 'Courier New', monospace;
  --f-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --f-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --f-mono: 'DM Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  color-scheme: dark;
}
/* Dark is the default on a fresh visit. Paper (light) only when the visitor chooses it. */
:root[data-theme="light"] { --ground: #F2EBDD; --ground-raised: #E8E0CD; --ink: #1C1A17; --ink-muted: #5F5849; --line: #CFC6B2; --accent-text: #C2410C; color-scheme: light; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--f-body); font-size: 17px; line-height: 1.6; padding: 20px max(16px, env(safe-area-inset-right, 0px)) 56px max(16px, env(safe-area-inset-left, 0px)); }
a { color: var(--accent-text); }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--butter); outline-offset: 3px; }
:root[data-theme="light"] :focus-visible { outline-color: #1C1A17; }
.wrap { max-width: 1120px; margin: 0 auto; display: flex; flex-direction: column; gap: 72px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* header */
header { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; border-bottom: 2px dashed var(--line); padding-bottom: 14px; }
.logo { height: 72px; width: auto; max-width: 100%; display: block; }
.logo .lg-ink { fill: var(--ink); }
.logo .lg-muted { fill: var(--ink-muted); }
.cb-cur { animation: blink 1s steps(1) infinite; }
@keyframes blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
.hdr-right { display: flex; gap: 10px; align-items: center; }
header a.say, .mode { font-family: var(--f-display); font-size: 13px; letter-spacing: 2px; text-decoration: none; border: 2px solid var(--ink); color: var(--ink); background: transparent; padding: 8px 14px; cursor: pointer; line-height: 1.2; }
header a.say:hover, .mode:hover { background: var(--ink); color: var(--ground); }
@media (max-width: 620px) { .logo { height: 52px; } }

/* shared */
.label { font-family: var(--f-display); font-size: 12px; letter-spacing: 3px; color: var(--accent-text); margin: 0; text-transform: uppercase; }
h1, h2, h3, h4 { font-family: var(--f-serif); font-weight: 400; margin: 0; letter-spacing: -0.3px; }
h2.sec { font-size: clamp(34px, 5vw, 56px); line-height: 1; text-wrap: balance; }
.lede { font-size: clamp(18px, 2vw, 21px); line-height: 1.5; max-width: 62ch; margin: 0; }
.muted { color: var(--ink-muted); }
.btn { font-family: var(--f-display); font-weight: 700; font-size: 14px; letter-spacing: 2px; background: var(--poppy); color: #14120F; border: 3px solid var(--poppy); padding: 12px 20px; cursor: pointer; text-decoration: none; display: inline-block; line-height: 1.2; text-align: center; }
.btn:hover { background: transparent; color: var(--poppy); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--ground); }
.btn:disabled { opacity: 0.45; cursor: default; }
.btn:disabled:hover { background: transparent; color: var(--ink); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.chip { font-family: var(--f-display); font-size: 11px; letter-spacing: 2px; padding: 4px 9px; border: 2px solid var(--poppy); color: var(--poppy); white-space: nowrap; display: inline-block; }
.chip.build { border-color: var(--accent-text); color: var(--accent-text); }
:root[data-theme="light"] .chip { color: #B83A12; border-color: #B83A12; }
:root[data-theme="light"] .btn { color: #14120F; }

/* opening */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; padding-top: 8px; }
.hero-text { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
h1 { font-size: clamp(42px, 6.2vw, 76px); line-height: 1; text-wrap: balance; }
h1 em { color: var(--poppy); font-style: normal; }
.hero-photo { margin: 0; display: flex; flex-direction: column; gap: 12px; max-width: 380px; width: 100%; justify-self: end; }
.hero-photo img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 6; object-fit: cover; object-position: 50% 15%; background: var(--ground-raised); }
.hero-photo figcaption { font-size: 15px; line-height: 1.45; color: var(--ink-muted); }
.hero-photo figcaption b { display: block; color: var(--ink); font-weight: 500; font-size: 17px; }
@media (max-width: 820px) { .hero { grid-template-columns: minmax(0, 1fr); } .hero-photo { justify-self: start; max-width: min(380px, 100%); } .btn { padding: 14px 20px; } }

/* selected work */
.work-intro { display: flex; flex-direction: column; gap: 14px; }
.case { background: var(--ground-raised); padding: clamp(18px, 3vw, 32px); display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.case h3 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.05; }
.case h3 small { font-family: var(--f-body); font-size: 16px; color: var(--ink-muted); letter-spacing: 0; display: block; margin-top: 6px; }
.work-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 24px; }
.work-wrap { display: flex; flex-direction: column; }
.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.shot { margin: 0; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.shot .frame { display: block; background: var(--void); line-height: 0; }
.shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; }
a.frame:hover { outline: 3px solid var(--poppy); }
.shot figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: 14px; color: var(--ink-muted); line-height: 1.35; }
.cap-name { color: var(--ink); font-weight: 500; }
.cols2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 32px; }
.cols2 h4, .sub-h { font-family: var(--f-display); font-size: 11px; letter-spacing: 3px; color: var(--accent-text); margin: 0 0 6px; text-transform: uppercase; font-weight: 400; }
.cols2 p, .case p { margin: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
details.more > summary { list-style: none; cursor: pointer; font-family: var(--f-display); font-weight: 700; font-size: 13px; letter-spacing: 2px; border: 2px solid var(--ink); color: var(--ink); padding: 11px 18px; display: inline-block; }
details.more > summary::-webkit-details-marker { display: none; }
details.more > summary:hover { background: var(--ink); color: var(--ground); }
details.more[open] > summary::after { content: " \2212"; }
details.more > summary::after { content: " +"; }
details.more > .more-body { margin-top: 18px; display: flex; flex-direction: column; gap: 14px; }
.did { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 24px; }
.did > div { border-top: 2px solid var(--line); padding-top: 10px; }
.did dt { font-family: var(--f-display); font-size: 11px; letter-spacing: 3px; color: var(--accent-text); }
.did dd { margin: 4px 0 0; font-size: 16px; line-height: 1.5; }
.plain-list { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
@media (max-width: 900px) { .shots { grid-template-columns: minmax(0, 1fr); } .work-pair { grid-template-columns: minmax(0, 1fr); } .did { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .cols2 { grid-template-columns: minmax(0, 1fr); } .did { grid-template-columns: minmax(0, 1fr); } }

/* game */
.game { display: flex; flex-direction: column; gap: 18px; align-items: center; text-align: center; }
.board { container-type: inline-size; width: 100%; max-width: 640px; background: var(--void); padding: 10px 14px 14px; display: flex; flex-direction: column; gap: 8px; border: 2px solid var(--line); }
.board-label { display: flex; justify-content: space-between; gap: 12px; font-family: var(--f-display); font-size: 11px; letter-spacing: 3px; color: var(--butter); }
.flaps { display: grid; grid-template-columns: repeat(16, minmax(0, 1fr)); gap: 3px; }
.flap { position: relative; aspect-ratio: 3 / 4; background: #2A2825; border-radius: 3px; display: flex; align-items: center; justify-content: center; font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif; font-weight: 600; font-size: clamp(14px, 5.2cqw, 36px); line-height: 1; color: var(--bone); overflow: hidden; }
.flap::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: #14120F; }
.flap span { display: block; }
.flap.tick span { animation: flip 0.09s ease-out; }
@keyframes flip { 0% { transform: scaleY(0.1); } 100% { transform: scaleY(1); } }
.game .how { margin: 0; max-width: 56ch; }
.game-box { width: 100%; max-width: 880px; display: flex; flex-direction: column; gap: 12px; }
.meters { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 12px 20px; align-items: end; text-align: left; }
.meter b { display: flex; justify-content: space-between; font-family: var(--f-display); font-size: 11px; letter-spacing: 2px; font-weight: 400; margin-bottom: 6px; }
.meter .bar { height: 12px; background: var(--ground-raised); border: 2px solid var(--line); }
.meter .bar i { display: block; height: 100%; width: 0; background: var(--ink); transition: width 0.15s linear; }
.meter.grow .bar i { background: var(--poppy); }
.clock { font-family: var(--f-display); font-size: 18px; letter-spacing: 2px; min-width: 64px; text-align: right; }
.stage { position: relative; width: 100%; background: var(--void); border: 2px solid var(--line); touch-action: pan-y; }
.stage canvas { display: block; width: 100%; touch-action: pan-y; }
.overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 16px; text-align: center; background: rgba(20, 18, 15, 0.88); color: #F2EBDD; }
.overlay h3 { font-family: var(--f-display); font-weight: 700; font-size: clamp(16px, 3vw, 28px); letter-spacing: 2px; line-height: 1.2; }
.overlay .ov-body { font-size: clamp(15px, 1.8vw, 18px); line-height: 1.45; max-width: 46ch; }
.overlay .ov-body p { margin: 0 0 6px; }
.overlay .btn.ghost { color: #F2EBDD; border-color: #F2EBDD; }
.overlay .btn.ghost:hover { background: #F2EBDD; color: #14120F; }
.controls { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: center; }
.controls .btn { padding: 10px 16px; font-size: 12px; }
.hint { font-size: 14px; color: var(--ink-muted); margin: 0; }
@media (prefers-reduced-motion: no-preference) { .btn.nudge { animation: nudge 1.6s ease-in-out 2; } }
@keyframes nudge { 0%, 100% { box-shadow: 0 0 0 0 transparent; } 50% { box-shadow: 0 0 0 4px rgba(245, 200, 75, 0.45); } }
.invite { display: flex; flex-direction: column; gap: 14px; align-items: center; margin-top: 8px; }
.invite p { font-family: var(--f-serif); font-size: clamp(26px, 3.4vw, 38px); line-height: 1.1; margin: 0; }
@media (max-width: 620px) { .meters { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .clock { grid-column: 1 / -1; text-align: left; } .board-label span:last-child { display: none; } }

/* experience */
.exp { display: flex; flex-direction: column; gap: 28px; }
.exp-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 32px; }
.exp-groups > div { border-top: 2px solid var(--poppy); padding-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.exp-groups h3 { font-size: 28px; line-height: 1.05; }
.exp-groups p { margin: 0; font-size: 16.5px; line-height: 1.55; }
.exp .why { max-width: 70ch; }
@media (max-width: 900px) { .exp-groups { grid-template-columns: minmax(0, 1fr); } }

/* how it starts */
.how-wrap { display: flex; flex-direction: column; gap: 32px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 32px; counter-reset: s; }
.steps > div { border-top: 2px solid var(--line); padding-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.steps h3 { font-size: 30px; line-height: 1.05; }
.steps h3::before { counter-increment: s; content: "0" counter(s); display: block; font-family: var(--f-display); font-size: 12px; letter-spacing: 3px; color: var(--poppy); margin-bottom: 6px; }
.steps p { margin: 0; }
.services { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.services li { font-family: var(--f-display); font-size: 12px; letter-spacing: 2px; border: 2px solid var(--line); padding: 8px 12px; }
.models { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 32px; }
.models > div { background: var(--ground-raised); padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.models h3 { font-size: 28px; }
.models p { margin: 0; }
.recognize { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; }
.recognize li { border-top: 2px solid var(--line); padding-top: 10px; }
.recognize b { font-family: var(--f-serif); font-weight: 400; font-size: 24px; display: block; color: var(--accent-text); line-height: 1.1; margin-bottom: 4px; }
@media (max-width: 900px) { .steps, .models, .recognize { grid-template-columns: minmax(0, 1fr); } }

/* testimonials (hidden until approved) */
.lv { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.quote { margin: 0; background: var(--ground-raised); padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.quote blockquote { margin: 0; }
.quote blockquote p { margin: 0; font-family: var(--f-serif); font-size: 26px; line-height: 1.2; }
.quote figcaption { font-size: 14px; color: var(--ink-muted); }
.quote figcaption b { display: block; color: var(--ink); font-weight: 500; font-size: 16px; }

/* contact */
.hello { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 64px); align-items: start; background: var(--ground-raised); padding: clamp(22px, 4vw, 48px); }
.hello-text { display: flex; flex-direction: column; gap: 16px; }
form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-family: var(--f-mono); font-weight: 500; font-size: 15px; color: var(--ink); }
.field .opt { color: var(--ink-muted); font-weight: 400; }
input, textarea { font-family: var(--f-body); font-size: 17px; color: var(--ink); background: var(--ground); border: 2px solid var(--line); border-radius: 0; padding: 12px 14px; width: 100%; }
input:focus-visible, textarea:focus-visible { outline: 3px solid var(--butter); outline-offset: 2px; border-color: var(--ink); }
:root[data-theme="light"] input:focus-visible, :root[data-theme="light"] textarea:focus-visible { outline-color: #1C1A17; }
textarea { min-height: 130px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.after { margin: 0; font-size: 15px; color: var(--ink-muted); }
.form-msg { margin: 0; padding: 12px 14px; font-size: 16px; border-left: 4px solid var(--butter); background: var(--ground); }
.form-msg.err { border-left-color: var(--poppy); }
@media (max-width: 820px) { .hello { grid-template-columns: minmax(0, 1fr); } }

footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-family: var(--f-display); font-size: 12px; letter-spacing: 2px; color: var(--ink-muted); border-top: 2px dashed var(--line); padding-top: 16px; }
footer span:last-child { color: var(--accent-text); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .cb-cur { animation: none; } .flap.tick span { animation: none; } .meter .bar i { transition: none; } }

/* case study pages */
.crumb { font-family: var(--f-display); font-size: 12px; letter-spacing: 2px; text-decoration: none; color: var(--accent-text); }
.crumb:hover { text-decoration: underline; }
.cs { display: flex; flex-direction: column; gap: 28px; }
.cs .lede { max-width: 62ch; }
.cs .case { margin-top: 0; }
.cs-note { margin: 0; color: var(--ink-muted); }
.teaser-p { margin: 0; max-width: 62ch; }

/* home page pair: line up image, text and button across both cards */
@media (min-width: 901px) {
  .work-pair { grid-template-rows: repeat(5, auto); }
  .work-pair > .case { display: grid; grid-template-rows: subgrid; grid-row: span 5; row-gap: 18px; align-content: start; }
  .work-pair > .case > h3 { align-self: start; }
  .work-pair > .case > .actions { align-self: end; }
}
#work .invite { margin-top: 40px; }

/* Mo's homepage capture is taller (4:3) so the whole top of the page shows */
.work-pair .shot img { aspect-ratio: 4 / 3; }
.cs .case > .shot img { aspect-ratio: 4 / 3; max-width: 760px; }

/* before and after detail on the Rehana case study */
.ba-h { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.05; }
.logo-pair { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 16px; align-items: center; }
.logo-pair .lp { margin: 0; background: #fff; padding: 20px; display: flex; flex-direction: column; gap: 10px; align-items: center; justify-content: center; min-height: 190px; }
.logo-pair .lp img { display: block; max-width: 100%; max-height: 150px; width: auto; height: auto; }
.logo-pair .lp figcaption { font-family: var(--f-display); font-size: 11px; letter-spacing: 3px; color: #5a5148; }
.logo-pair .arrow { font-family: var(--f-display); font-size: 28px; color: var(--accent-text); }
.strips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.strip { margin: 0; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.strip .scroll { max-height: 760px; overflow: auto; background: var(--void); border: 2px solid var(--line); }
.strip .scroll:focus-visible { outline: 3px solid var(--butter); outline-offset: 2px; }
.strip img { display: block; width: 100%; height: auto; }
.strip figcaption { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; font-size: 14px; color: var(--ink-muted); }
.ba-grid { display: grid; gap: 22px; }
.ba-row { border-top: 2px solid var(--line); padding-top: 14px; display: grid; grid-template-columns: 150px minmax(0, 1fr) minmax(0, 1fr); gap: 8px 24px; }
.ba-row dt { font-family: var(--f-display); font-size: 11px; letter-spacing: 3px; color: var(--accent-text); }
.ba-row p { margin: 0; }
.ba-row .tag { display: block; font-family: var(--f-display); font-size: 10px; letter-spacing: 2px; color: var(--ink-muted); margin-bottom: 4px; }
@media (max-width: 900px) { .strips { grid-template-columns: minmax(0, 1fr); } .ba-row { grid-template-columns: minmax(0, 1fr); } .logo-pair { grid-template-columns: minmax(0, 1fr); } .logo-pair .arrow { text-align: center; transform: rotate(90deg); } }

/* before / after, two clear columns */
.cs-head { display: flex; flex-direction: column; gap: 12px; }
.cs-head h1 { font-size: clamp(34px, 5vw, 60px); }
.cs-head .lede { margin: 0; }
.logo-pair { align-items: stretch; }
.logo-pair .lp { min-height: 0; height: 230px; justify-content: space-between; }
.logo-pair .lp img { max-height: 150px; margin: auto; }
.chipbig { font-family: var(--f-display); font-size: 13px; letter-spacing: 3px; padding: 6px 12px; border: 3px solid; display: inline-block; font-weight: 700; }
.chipbig.b { color: #5a5148; border-color: #5a5148; background: #fff; }
.chipbig.a { color: #fff; border-color: var(--poppy); background: var(--poppy); }
.ba-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.ba-colhead { padding: 12px 16px; font-family: var(--f-display); font-size: 14px; letter-spacing: 3px; font-weight: 700; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.ba-colhead small { font-family: var(--f-body); font-size: 14px; letter-spacing: 0; font-weight: 400; }
.ba-colhead.b { background: var(--ground); border: 3px solid var(--ink-muted); color: var(--ink); }
.ba-colhead.a { background: var(--poppy); color: #14110f; border: 3px solid var(--poppy); }
.ba-label { grid-column: 1 / -1; font-family: var(--f-display); font-size: 12px; letter-spacing: 3px; color: var(--accent-text); margin: 22px 0 8px; }
.ba-before, .ba-after { padding: 14px 16px; min-width: 0; }
.ba-before { border: 3px solid var(--line); border-top: 0; background: transparent; }
.ba-after { border: 3px solid var(--poppy); border-top: 0; background: rgba(255, 91, 46, 0.07); }
.ba-before p, .ba-after p { margin: 0; line-height: 1.5; }
.ba-before p { font-weight: 700; color: var(--ink); }
.ba-before .tag, .ba-after .tag { display: none; font-family: var(--f-display); font-size: 11px; letter-spacing: 3px; font-weight: 700; margin-bottom: 4px; }
.ba-after mark { background: rgba(245, 200, 75, 0.3); color: inherit; font-weight: 700; padding: 0 3px; -webkit-box-decoration-break: clone; box-decoration-break: clone; border-bottom: 2px solid var(--butter); }
:root[data-theme="light"] .ba-after mark { background: rgba(245, 200, 75, 0.6); }
.ba-cell-edge { border-top: 3px solid transparent; }
@media (max-width: 900px) {
  .ba-cols { grid-template-columns: minmax(0, 1fr); }
  .ba-colhead { display: none; }
  .ba-before, .ba-after { border-top: 3px solid; }
  .ba-before { border-color: var(--line); }
  .ba-after { border-color: var(--poppy); border-top: 0; }
  .ba-before .tag, .ba-after .tag { display: block; }
  .ba-before .tag { color: var(--ink-muted); } .ba-after .tag { color: var(--accent-text); }
}

/* before / after, simplified: one accent, clear hierarchy, improvements first */
.ba2-sec { font-family: var(--f-serif); font-weight: 400; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.1; margin: 0 0 14px; color: var(--ink-muted); }
.ba2-tag { font-family: var(--f-body); font-weight: 700; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--ink-muted); }
.ba2-tag.a { color: var(--accent-text); }
.lp .ba2-tag { color: #5a5148; } .lp .ba2-tag.a { color: #c2380f; }
.ba2 { display: grid; }
.ba2-top, .ba2-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 10px 48px; }
.ba2-top { padding-bottom: 12px; }
.ba2-row { padding: 28px 0; border-top: 1px solid var(--line); align-items: start; }
.ba2-title { grid-column: 1 / -1; font-family: var(--f-serif); font-weight: 400; font-size: clamp(26px, 3vw, 32px); line-height: 1.1; margin: 0; color: var(--ink); }
.ba2-before p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--ink-muted); }
.ba2-after ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.ba2-after li { position: relative; padding-left: 26px; font-size: 19px; line-height: 1.4; color: var(--ink); }
.ba2-after li:first-child { font-weight: 700; }
.ba2-after li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 10px; height: 10px; background: var(--poppy); }
@media (max-width: 900px) {
  .ba2-top { display: none; }
  .ba2-row { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .ba2-before::before { content: "BEFORE"; display: block; font-weight: 700; font-size: 12px; letter-spacing: 2px; color: var(--ink-muted); margin-bottom: 4px; }
  .ba2-after::before { content: "AFTER"; display: block; font-weight: 700; font-size: 12px; letter-spacing: 2px; color: var(--accent-text); margin-bottom: 6px; }
}

/* story rows: title left, bullets right */
.ba2-row.story .ba2-title { grid-column: 1; }
.ba2-row.story .ba2-after { grid-column: 2; }
.ba2-row.story:first-of-type { border-top: 0; }
@media (max-width: 900px) { .ba2-row.story .ba2-title, .ba2-row.story .ba2-after { grid-column: 1; } .ba2-row.story .ba2-after::before { content: none; } }

/* new logo on a cream tile */
.logo-pair .lp.cream { background: #f3ecdd; }
.logo-pair .lp.cream img { max-height: 120px; }
.logo-pair .lp figcaption { font-family: var(--f-body); font-size: 15px; letter-spacing: 0; color: #3b342c; text-align: center; }

/* story prose */
.story-p { margin: 0; max-width: 64ch; font-size: 19px; line-height: 1.55; color: var(--ink); }
.story-p.lead { font-family: var(--f-serif); font-size: clamp(24px, 2.8vw, 32px); line-height: 1.2; }
.story-stack { display: grid; gap: 18px; }


.about { display: grid; gap: 22px; padding: 48px 0 8px; }
.about-row { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.about .hero-photo { max-width: 280px; justify-self: start; }
@media (max-width: 700px) { .about-row { grid-template-columns: minmax(0, 1fr); } }

.hboard { justify-self: stretch; max-width: none; gap: 8px; padding: 14px 16px 18px; }
.hrows { display: grid; gap: 4px; }
.hboard .flaps.f14 { grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 4px; }
.hboard .flap { font-size: clamp(14px, 5.4cqw, 32px); }
@media (max-width: 820px) { .hboard { justify-self: start; } }

.ill { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 55%; background: var(--void); margin-bottom: 4px; }
.hiw-fig { margin: 0; }
.hiw-fig img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--void); }
.divider { margin: 32px 0 0; }
.divider img { display: block; width: 100%; height: 96px; object-fit: cover; object-position: 50% 72%; }

/* magazine layout */
.hero { align-items: start; }
.hero-right { display: grid; gap: 22px; align-content: start; }
.hero-right .hboard { justify-self: stretch; }
.hero-right .btns { display: flex; flex-wrap: wrap; gap: 12px; }
.how-i { display: grid; gap: 40px; padding: 40px 0 8px; }
.pull { display: grid; gap: 18px; justify-items: center; text-align: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 36px 0 40px; }
.pull h2.sec { max-width: 22ch; font-size: clamp(34px, 5.4vw, 66px); line-height: 1.02; margin: 0; }
.pull-lead { margin: 0; max-width: 40ch; font-family: var(--f-serif); font-size: clamp(22px, 2.6vw, 32px); line-height: 1.2; color: var(--ink); }
.hiw-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.story-cols { display: grid; gap: 16px; }
.story-cols .story-p { max-width: 58ch; text-align: left; hyphens: auto; text-wrap: pretty; }
.story-cols .story-p:first-child::first-letter { font-family: var(--f-serif); float: left; font-size: 4.6em; line-height: 0.82; padding: 6px 10px 0 0; color: var(--poppy); }
.hiw-fig { margin: 0; }
@media (max-width: 820px) { .hiw-row { grid-template-columns: minmax(0, 1fr); } }

.beyond-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 240px); gap: clamp(20px, 4vw, 48px); align-items: center; }
.ill-side { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; background: var(--void); }
.ai-note { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 18px; align-items: center; }
.ai-note img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; background: var(--void); }
.hello-text .talk { display: block; width: 100%; max-width: 380px; height: auto; aspect-ratio: 16 / 9; object-fit: cover; margin-top: 8px; background: var(--void); }
@media (max-width: 700px) { .beyond-row { grid-template-columns: minmax(0, 1fr); } .ill-side { max-width: 220px; } }

.hero-right .btns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.hero-right .btns .btn { text-align: center; justify-content: center; display: flex; align-items: center; }

.pull { border-top: 0; padding-top: 4px; }
.how-i { padding-top: 0; gap: 32px; }
.divider { margin: 8px 0 0; }
.divider img { height: 72px; }

.kits-p { margin: 8px 0 18px; max-width: 70ch; font-size: 16.5px; line-height: 1.55; }
.kits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.kits figure { margin: 0; display: grid; gap: 8px; }
.kits img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: #fff; }
.kits figcaption { font-size: 14px; color: var(--ink-muted); }
@media (max-width: 700px) { .kits { grid-template-columns: minmax(0, 1fr); } }

.app-video { margin: 0; display: grid; gap: 8px; max-width: 760px; }
.app-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; }
.app-video figcaption { font-size: 14px; color: var(--ink-muted); }

.kits { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1000px) { .kits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .kits { grid-template-columns: minmax(0, 1fr); } }

.about-row { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); align-items: center; }
.about .hero-photo { max-width: 300px; }
.about-text { max-width: 62ch; }

.offer { display: grid; gap: 12px; max-width: 70ch; padding: 22px 0 4px; border-top: 2px solid var(--poppy); }
.offer h3 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.05; margin: 0; }
.offer p { margin: 0; font-size: 18px; line-height: 1.5; }
.offer .btns { margin-top: 6px; }

.exp-groups.games4 { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 12px; }
.exp-groups.games4 h3 { font-size: 24px; }
@media (max-width: 1000px) { .exp-groups.games4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .exp-groups.games4 { grid-template-columns: minmax(0, 1fr); } }

.app-icon { display: block; width: 66px; height: 66px; border-radius: 14px; object-fit: cover; background: #fff; }
.icon-row { display: flex; gap: 8px; }

.sol-line { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 20px; align-items: center; }
.app-icon.big { width: 100px; height: 100px; border-radius: 20px; }
.icon-row { flex-wrap: wrap; }

.work-intro { text-align: center; display: grid; justify-items: center; gap: 10px; }
.work-intro .lede { max-width: 60ch; }

/* centered section headers */
.exp > div:first-child, .how-wrap > div:first-child, .about > div:first-child { text-align: center; }
.exp > .lede, .how-wrap > .lede { text-align: center; margin-left: auto; margin-right: auto; max-width: 62ch; }

.exp-groups.games4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.licensed { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px 32px; align-items: start; border-top: 2px solid var(--poppy); padding-top: 16px; margin-top: 28px; }
.licensed .icon-row { display: grid; grid-template-columns: repeat(2, 66px); gap: 8px; }
.licensed h3 { font-size: 28px; line-height: 1.05; margin: 0 0 10px; }
.licensed p { margin: 0 0 10px; font-size: 17px; line-height: 1.55; max-width: 72ch; }
@media (max-width: 1000px) { .exp-groups.games4 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .licensed { grid-template-columns: minmax(0, 1fr); } .licensed .icon-row { grid-template-columns: repeat(4, 66px); } }

.exp-tail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.exp-tail-text { display: grid; gap: 24px; }
.exp-tail-text .why, .exp-tail-text .muted { max-width: none !important; margin: 0; }
.brand-logos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.brand-logos li { background: #F2EBDD; aspect-ratio: 3 / 2; display: grid; place-items: center; padding: 14px; }
.brand-logos img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; }
.tm-note { margin: 10px 0 0; font-size: 12px; color: var(--ink-muted); }
@media (max-width: 900px) { .exp-tail { grid-template-columns: minmax(0, 1fr); } }

.brand-wall { display: grid; gap: 18px; justify-items: center; text-align: center; padding: 28px 0 8px; border-top: 2px solid var(--poppy); }
.brand-wall h3 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.05; margin: 0; max-width: 22ch; }
.brand-wall .brand-logos { width: 100%; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.brand-logos li { aspect-ratio: auto; height: 120px; padding: 18px; overflow: hidden; }
.brand-logos img { max-height: 84px; }
@media (max-width: 1000px) { .brand-wall .brand-logos { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 560px) { .brand-wall .brand-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* brand pass */
.divider { margin: 40px 0 8px; }
.divider.flip img { transform: scaleX(-1); }
.pixel-rule { height: 12px; margin: 44px 0 12px; background:
  linear-gradient(90deg, var(--poppy) 0 12px, transparent 12px 24px, var(--butter) 24px 48px, transparent 48px 60px, var(--bone) 60px 72px, transparent 72px 108px) 0 0 / 108px 12px repeat-x; opacity: .9; }
.offer-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: clamp(24px, 4vw, 56px); align-items: center; }
.offer-art, .start-art { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; background: var(--void); }
.start-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 240px); gap: clamp(24px, 4vw, 56px); align-items: center; }
.case { border-top: 3px solid var(--poppy); }
.exp-groups > div { border-top-width: 3px; }
@media (max-width: 820px) { .offer-row, .start-row { grid-template-columns: minmax(0, 1fr); } .offer-art, .start-art { max-width: 240px; } }

/* how I work: two full-width questions, two-column answer */
.pull { justify-items: start; text-align: left; border-bottom: 0; padding: 4px 0 0; gap: 14px; }
.pull h2.sec { max-width: none; font-size: clamp(24px, 3.75vw, 48px); line-height: 1.12; }
.pull h2.sec span { display: block; }
.how-i { gap: 28px; }
.hiw-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.hiw-cols .pull-lead { max-width: none; text-align: left; color: var(--accent-text); }
.hiw-cols .story-cols .story-p { max-width: none; }
.hiw-cols .story-cols:first-child .story-p:first-child::first-letter { all: unset; }
.hiw-cols .story-cols:last-child .story-p:first-child::first-letter { float: none; font-size: inherit; padding: 0; color: inherit; font-family: inherit; line-height: inherit; }
.hiw-cols .hiw-fig img { aspect-ratio: 16 / 7; object-position: 50% 60%; }
@media (max-width: 820px) { .hiw-cols { grid-template-columns: minmax(0, 1fr); } }

.hiw-cols .hiw-fig img { aspect-ratio: 16 / 9; object-position: 50% 50%; }
.hiw-cols .story-cols .story-p::first-letter { float: none !important; font-size: inherit !important; padding: 0 !important; color: inherit !important; font-family: inherit !important; line-height: inherit !important; }

.brand-wall .brand-logos { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1000px) { .brand-wall .brand-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .brand-wall .brand-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.exp-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 32px; align-items: start; }
.exp-notes > p { margin: 0 !important; max-width: none !important; font-size: 16.5px; line-height: 1.55; border-top: 3px solid var(--poppy); padding-top: 14px; }
.exp-notes .sol-line { display: block; }
.exp-notes .sol-line .app-icon.big { width: 72px; height: 72px; border-radius: 16px; float: left; margin: 2px 14px 6px 0; }
@media (max-width: 900px) { .exp-notes { grid-template-columns: minmax(0, 1fr); } }

/* two-page split */
.steps .eg { font-size: 15px; color: var(--ink-muted); margin: 0; }
.ways .pull { margin-bottom: 4px; }
.teasers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.teasers .case { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.teasers .case h3 { font-size: 28px; line-height: 1.05; margin: 0; }
.teasers .case .teaser-p { margin: 0; font-size: 16px; line-height: 1.5; flex: 1; }
.teasers .shot { margin: 0; }
.teasers .shot img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 0; width: 100%; height: auto; display: block; }
.models.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.brand-logos.mini { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; max-width: 520px; }
.brand-logos.mini li { height: 64px; padding: 10px; }
.brand-logos.mini img { max-height: 44px; }
.exp-groups.two { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 12px; }
.story-page { display: flex; flex-direction: column; gap: clamp(36px, 6vw, 72px); padding-top: 24px; }
.story-head { text-align: center; align-items: center; }
.story-head .lede { max-width: 62ch; }
.story-head a { color: var(--accent-text); }
.story-page .invite { margin-top: 0; }
@media (max-width: 900px) { .teasers, .models.three, .exp-groups.two { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .hdr-right { flex-wrap: wrap; justify-content: flex-end; } header a.say, .mode { font-size: 11px; padding: 7px 9px; } }
.how-wrap.ways > div:first-child { text-align: left; }
.teasers .shot img { aspect-ratio: 16 / 10; }
.exp-notes { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
@media (max-width: 700px) { .about-row { grid-template-columns: minmax(0, 1fr) !important; } .about .hero-photo { max-width: 240px; } }

/* story: one deliberate opening section, magazine columns */
.meet { display: grid; gap: 36px; }
.meet-row { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.meet-row.flip { grid-template-columns: minmax(0, 380px) minmax(0, 1fr); align-items: center; }
.meet .hero-photo { max-width: 280px; justify-self: start; }
.meet-text { display: grid; gap: 18px; }
.meet-text .pull-lead { margin: 0; max-width: none; text-align: left; font-family: var(--f-serif); font-size: clamp(24px, 2.8vw, 34px); line-height: 1.15; color: var(--accent-text); }
.mag-cols { column-count: 2; column-gap: clamp(24px, 3vw, 44px); }
.mag-cols p { margin: 0 0 14px; font-size: 16.5px; line-height: 1.55; break-inside: avoid; }
.mag-cols .with-icon img { float: left; width: 64px; height: 64px; margin: 2px 12px 4px 0; object-fit: cover; }
.meet .hiw-fig img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; height: auto; display: block; }
@media (max-width: 900px) { .meet-row, .meet-row.flip { grid-template-columns: minmax(0, 1fr); } .mag-cols { column-count: 1; } }
.mag-cols p { break-inside: auto; orphans: 3; widows: 3; }
.frame.stealth { aspect-ratio: 16 / 10; display: grid; place-items: center; background: var(--void); background-image: linear-gradient(90deg, var(--poppy) 0 12px, transparent 12px 24px, var(--butter) 24px 48px, transparent 48px 60px, var(--bone) 60px 72px, transparent 72px 108px); background-size: 108px 12px; background-repeat: repeat-x; background-position: 0 100%; }

/* bridge between the two story rows */
.meet-bridge { margin: 0; display: grid; gap: 14px; justify-items: center; text-align: center; }
.meet-bridge .pixel-rule { width: 100%; margin: 0 0 14px; }
.meet-bridge .label { margin: 0; }
.meet-bridge blockquote { margin: 0; max-width: 26ch; font-family: var(--f-serif); font-size: clamp(28px, 3.6vw, 46px); line-height: 1.1; color: var(--ink); }
.meet-row.flip { align-items: start; }

/* full-width client card: story left, what I run and buttons right */
.case-split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.case-split .teaser-p { max-width: none; }
.case-side { display: grid; gap: 18px; }
@media (max-width: 800px) { .case-split { grid-template-columns: minmax(0, 1fr); } }

/* home: centered "How I can help" head, equal space above and below the first divider */
.how-wrap.ways > div:first-child { text-align: center; justify-items: center; }
.ways .pull .lede { margin-left: auto !important; margin-right: auto !important; }
.divider { margin: 0; }
.ways .pull { padding-top: 0; }

/* Nov 15 brief: badge, Q&As, AI statement */
.badge { display: inline-block; justify-self: start; margin: 0 0 14px; padding: 7px 12px; border: 2px solid var(--accent-text); color: var(--accent-text); font-family: var(--f-display); font-size: 11px; letter-spacing: 2.5px; line-height: 1.5; }
.badge i { font-style: normal; color: var(--ink); padding: 0 4px; }
.qa { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px clamp(28px, 4vw, 56px); }
.qa > div { border-top: 2px solid var(--line); padding-top: 12px; }
.qa h3 { margin: 0 0 8px; font-family: var(--f-serif); font-weight: 400; font-size: 26px; line-height: 1.12; color: var(--accent-text); }
.qa p { margin: 0 0 10px; font-size: 16.5px; line-height: 1.55; }
.qa p:last-child { margin-bottom: 0; }
.ai-note { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: clamp(18px, 3vw, 36px); align-items: start; border: 2px solid var(--accent-text); padding: clamp(18px, 3vw, 32px); }
.ai-note img { width: 120px; height: 120px; object-fit: cover; display: block; }
.ai-note h3 { margin: 0 0 10px; font-family: var(--f-serif); font-weight: 400; font-size: clamp(26px, 3vw, 36px); line-height: 1.1; }
.ai-note p { margin: 0 0 10px; font-size: 16.5px; line-height: 1.55; max-width: 70ch; }
.ai-note p:last-child { margin-bottom: 0; }
.steps > div > p + p:not(.eg) { margin-top: 10px; }
@media (max-width: 800px) { .qa { grid-template-columns: minmax(0, 1fr); } .ai-note { grid-template-columns: minmax(0, 1fr); } .ai-note img { width: 88px; height: 88px; } }

/* story: Independent ventures head and "I can build yours" card */
.apps > .apps-lede { max-width: 46ch; margin: 0 auto; text-align: center; }
.apps-note { max-width: 62ch; margin: -14px auto 0; text-align: center; font-size: 16.5px; line-height: 1.55; color: var(--accent-text); }
.offer-card { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: center; max-width: 980px; width: 100%; margin: 0 auto; padding: clamp(20px, 3vw, 36px); background: var(--panel, rgba(255,255,255,.04)); border-top: 4px solid var(--poppy); text-align: left; }
.offer-card .offer { border-top: 0; padding: 0; max-width: none; gap: 14px; }
.offer-card .offer p { font-size: 17px; }
.offer-card .offer .label { font-size: 12px; }
.offer-card .services { margin: 0; justify-content: flex-start; }
@media (max-width: 760px) { .offer-card { grid-template-columns: minmax(0, 1fr); } .offer-card .offer-art { max-width: 200px; } }

/* story: title, pitch, proof flow in Independent ventures */
.proof-head { display: grid; gap: 10px; justify-items: center; text-align: center; margin-top: 12px; }
.proof-head h3 { margin: 0; font-family: var(--f-serif); font-weight: 400; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.08; }
.apps-note.in-proof { margin: 0 auto; }
.proof-feature { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: center; text-align: left; }
.proof-feature .app-video { max-width: none; }
.proof-text, .proof-pair > div { border-top: 2px solid var(--poppy); padding-top: 14px; text-align: left; }
.proof-text h3, .proof-pair h3 { margin: 0 0 8px; font-family: var(--f-serif); font-weight: 400; font-size: clamp(26px, 2.8vw, 34px); line-height: 1.1; }
.proof-text p, .proof-pair p { margin: 0 0 10px; font-size: 16.5px; line-height: 1.55; }
.proof-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px); }
@media (max-width: 820px) { .proof-feature, .proof-pair { grid-template-columns: minmax(0, 1fr); } }

/* story: craft kits as the lead proof (title, claim and offer, proof) */
.kits-block { display: grid; gap: 22px; text-align: left; }
.kits-head { display: grid; gap: 10px; justify-items: center; text-align: center; }
.kits-head h3 { margin: 0; font-family: var(--f-serif); font-weight: 400; font-size: clamp(32px, 4.2vw, 54px); line-height: 1.05; }
.kits-claim { margin: 0; font-size: clamp(18px, 2vw, 22px); line-height: 1.4; max-width: 46ch; }
.kits-offer { margin: 0; font-size: 16.5px; line-height: 1.55; color: var(--accent-text); max-width: 60ch; }
.kits-block .kits-p { margin: 0 auto; text-align: center; font-size: 15px; color: var(--ink-muted); max-width: 80ch; }
.btns.center { display: flex; justify-content: center; }
.kits-block { margin-bottom: 20px; }

/* story: app icons beside app titles, brand logos in "More things I've built" */
h3.with-app-icon { display: flex; align-items: center; gap: 14px; }
h3.with-app-icon .app-icon { width: 64px; height: 64px; border-radius: 14px; flex: none; }
.brand-mark { display: block; height: 110px; width: auto; margin: 0 0 12px; background: #fff; padding: 8px; }
.brand-mark.wide { padding: 0; }
.exp-groups .brand-mark { width: 126px !important; height: 126px; object-fit: contain; justify-self: start; box-sizing: border-box; }
.exp-groups .brand-mark.wide { width: 200px !important; height: 126px; }

/* story: large wordmarks, no boxes (white on dark, ink on light; Poppy outlined in hot pink) */
.exp-groups .word-mark { display: block; width: auto !important; height: 150px; max-width: 100%; object-fit: contain; justify-self: start; margin: 4px 0 10px -6px; background: none; filter: url(#wm-cb); }
.exp-groups .word-mark.pf { filter: url(#wm-pf); height: 170px; margin-left: -14px; }
:root[data-theme="light"] .exp-groups .word-mark { filter: url(#wm-cb-ink); }
:root[data-theme="light"] .exp-groups .word-mark.pf { filter: url(#wm-pf-ink); }
.exp-groups .word-mark { object-position: left center; margin-left: 0; }
.exp-groups .word-mark.pf { margin-left: 0; }

/* story: original projects as a uniform catalogue (rounded frames) */
.catalogue { display: grid; gap: 28px; text-align: left; }
.entry { background: var(--ground-raised); border: 1px solid var(--line); border-radius: 20px; padding: clamp(20px, 3vw, 36px); display: grid; gap: 22px; }
.entry-head { display: grid; gap: 10px; max-width: 78ch; }
.entry-head h3 { margin: 0; font-family: var(--f-serif); font-weight: 400; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.05; }
.entry-tag { margin: 0; font-family: var(--f-serif); font-size: clamp(20px, 2.2vw, 26px); line-height: 1.2; color: var(--accent-text); }
.entry-head p:not(.label):not(.entry-tag) { margin: 0; font-size: 16.5px; line-height: 1.55; }
.entry-media { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.entry-media figure { margin: 0; display: grid; gap: 8px; align-content: start; max-width: none; }
.entry-media figure img, .entry-media video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 14px; background: var(--void); }
.entry-media figure img.contain { object-fit: contain; background: #BFF3E0; }
.entry-media figcaption { font-size: 14px; color: var(--ink-muted); }
.entry-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-content: start; }
.entry-trio figure img { aspect-ratio: 3 / 4; }
.entry-panel, .entry-mark { border: 1px solid var(--line); border-radius: 14px; padding: clamp(16px, 2.4vw, 26px); background: var(--ground); }
.entry-panel h4 { margin: 0 0 10px; font-family: var(--f-serif); font-weight: 400; font-size: clamp(24px, 2.6vw, 30px); line-height: 1.1; display: flex; align-items: center; gap: 14px; }
.entry-panel h4 .app-icon { width: 64px; height: 64px; border-radius: 14px; flex: none; }
.entry-panel p { margin: 0 0 10px; font-size: 16.5px; line-height: 1.55; }
.entry-panel p:last-child { margin-bottom: 0; }
.entry-mark { display: grid; place-items: center; aspect-ratio: 16 / 10; align-self: start; }
.entry-mark .word-mark { display: block; width: 78%; height: auto; max-height: 70%; object-fit: contain; filter: url(#wm-cb); }
.entry-mark .word-mark.pf { width: 62%; filter: url(#wm-pf); }
:root[data-theme="light"] .entry-mark .word-mark { filter: url(#wm-cb-ink); }
:root[data-theme="light"] .entry-mark .word-mark.pf { filter: url(#wm-pf-ink); }
.entry-link { margin: 0; font-size: 16.5px; }
/* same framing for the pitch card and the client cards on this page */
.story-page .offer-card, .story-page .case { border: 1px solid var(--line); border-top: 1px solid var(--line); border-radius: 20px; background: var(--ground-raised); }
.story-page .case .frame, .story-page .case .frame img, .story-page .offer-art { border-radius: 14px; overflow: hidden; }
@media (max-width: 820px) { .entry-media { grid-template-columns: minmax(0, 1fr); } }
.entry-trio figure img { object-fit: cover !important; background: #fff; }
.story-page .offer-card { max-width: none; }

/* story: "How I work" headline spans the page */
.meet-bridge blockquote { max-width: none; width: 100%; font-size: clamp(30px, 4.4vw, 60px); line-height: 1.06; text-wrap: balance; }
.meet-bridge blockquote .hw { color: var(--accent-text); }

/* Nov 17 LinkedIn brief: hero credibility line, framed pathways, featured case, shared card family */
.hero-cred { margin: 0; font-family: var(--f-serif); font-size: clamp(20px, 2.1vw, 26px); line-height: 1.25; color: var(--accent-text); max-width: 34ch; }
.hero-right .btns .btn { text-align: center; }
.steps.framed > div { border: 1px solid var(--line); border-radius: 20px; background: var(--ground-raised); padding: clamp(16px, 2.2vw, 24px); gap: 10px; }
.steps.framed .ill { border-radius: 14px; }
.steps.framed .for { font-family: var(--f-serif); font-size: 20px; line-height: 1.25; color: var(--accent-text); }
.steps.framed .eg { margin-top: auto; padding-top: 6px; }
#work .case { border: 1px solid var(--line); border-top: 1px solid var(--line); border-radius: 20px; background: var(--ground-raised); }
#work .case .frame, #work .case .frame img { border-radius: 14px; overflow: hidden; }
#work .case .label { margin: 0; }
.case.featured { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(20px, 3vw, 40px); align-items: center; margin-top: 28px; }
.case.featured .case-text { display: grid; gap: 14px; }
.case.featured h3 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.05; margin: 0; }
.case.featured .teaser-p { max-width: none; margin: 0; }
.case-proof { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.case-proof .shot { margin: 0; }
.case-proof .shot img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 0; width: 100%; height: auto; display: block; }
.teasers.two { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 20px; }
#work .invite { margin-top: 36px; }
.career-label { margin: 6px 0 -4px; }
.ai-note { border-radius: 20px; }
.parts { display: grid; gap: 24px; }
.parts-head { display: grid; gap: 10px; justify-items: center; text-align: center; }
.parts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.parts-grid .entry { align-content: start; }
.parts-grid .entry-head h3 { font-size: clamp(26px, 2.8vw, 34px); }
@media (max-width: 900px) { .case.featured, .teasers.two, .parts-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .case-proof { grid-template-columns: minmax(0, 1fr); } }
.parts-grid .entry-head { border-bottom: 0; padding-bottom: 0; }

/* Nov 18: phone hero, first button above the flip board so it shows on the first screen */
@media (max-width: 820px) { .hero-right .btns { order: -1; } .hero { gap: 22px; } }
@media (max-width: 520px) { .hero-right .btns { grid-template-columns: minmax(0, 1fr); gap: 10px; } }

/* Group the Santa Monica comparison without mixing in the Los Angeles site. */
.shots.shots-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.shots.shots-single { grid-template-columns: minmax(0, 1fr); max-width: 700px; }
@media (max-width: 650px) { .shots.shots-two { grid-template-columns: minmax(0, 1fr); } }
#strategy-session { scroll-margin-top: 1rem; }
#strategy-session .btn { margin-top: .5rem; }
.strategy-start.models { grid-template-columns: minmax(0, 1fr); }
#strategy-session { border: 1px solid var(--line); border-radius: 20px; padding: clamp(19px, 3vw, 32px); }
#strategy-session p:not(.label) { max-width: 66ch; }

/* Career page: bring game and partner proof forward. */
.career-proof { display: grid; gap: 12px; }
.career-proof h3 { margin: 0; }
.career-proof .sol-line { margin: 0; }
.career-licensed, .career-earlier { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 560px) { .career-proof .sol-line { grid-template-columns: 72px minmax(0, 1fr); gap: 12px; } .career-proof .sol-line .app-icon { width: 72px; height: 72px; } }

/* Career page: preserve the marks, let their contours replace the tiles. */
.brand-filter-def { position: absolute; pointer-events: none; }
.brand-wall .brand-logos li { background: transparent; height: 80px; padding: 11px 12px; overflow: visible; }
.brand-wall .brand-logos img { max-height: 55px; filter: url(#brand-kiss-cut); }
.career-product { min-width: 0; margin: 0; }
.career-product img { display: block; width: 100%; height: auto; border-radius: 12px; }
.career-product figcaption { margin: 8px 0 0; font-size: .85rem; }
.career-product-feature { width: min(100%, 520px); margin: 18px auto; }
.entry-duo { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.entry-duo > figure { min-width: 0; }
@media (max-width: 560px) { .brand-wall .brand-logos li { height: 61px; padding: 8px 12px; } .brand-wall .brand-logos img { max-height: 43px; } }

/* Studio editorial system: headline, story, then proof at the point it belongs. */
.studio-editorial { --ed-gap: clamp(24px,4.7vw,66px); --ed-rule: 1px solid var(--line); }
.studio-editorial :is(h1,h2,h3) { text-wrap: balance; }
.studio-editorial :is(.lede,.story-p,.teaser-p,.mag-cols p) { max-inline-size: 63ch; }
.studio-editorial :is(.hero-photo,.hiw-fig,.shot,.career-product,.entry-media) img,
.studio-editorial .entry-media video { aspect-ratio:auto; object-fit:contain; }
.studio-editorial :is(.hero-photo,.hiw-fig,.shot,.career-product,.entry-media) figcaption { font-size:.84rem; line-height:1.45; }
.studio-editorial .shot .frame { border-radius:12px; overflow:hidden; }
.ed-spread { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:var(--ed-gap); align-items:center; }
.ed-copy > .lede { margin:14px 0 0; }
.studio-editorial :is(.sec,.cs-head h1) { line-height:1.02; }
.studio-editorial :is(.exp,.how-wrap,.about) > div:first-child,
.studio-editorial :is(.exp,.how-wrap) > .lede,
.studio-home .work-intro { margin-inline:0; text-align:left; }
.studio-editorial .divider { max-height:170px; overflow:hidden; }
.studio-editorial .divider img { object-fit:contain; width:100%; max-height:170px; }
.studio-home .wrap { --home-section-gap:clamp(32px,5.5vw,72px); gap:var(--home-section-gap); }
.studio-home .hero { grid-template-columns:minmax(0,1.25fr) minmax(0,1fr); gap:var(--ed-gap); align-items:center; }
.studio-home .hero-text { gap:16px; }
.studio-home .hero-text > .btns { display:flex; flex-wrap:wrap; gap:12px; }
.studio-home #work { border-top:var(--ed-rule); padding-top:26px; }
.studio-home .case.featured { grid-template-columns:minmax(0,.85fr) minmax(0,1.4fr); margin-top:20px; border-top:0; border-radius:16px; padding:clamp(16px,3vw,34px); }
.studio-home .case-proof { grid-template-columns:minmax(0,1fr); }
.studio-home .teasers .case { background:transparent; border-top:var(--ed-rule); padding:20px 0; }
.studio-home .teasers .shot { max-width:460px; margin:0; }
.studio-home .teasers h3 { font-size:clamp(28px,3vw,37px); }
.studio-home .brand-logos.mini li { background:transparent; overflow:visible; }
.studio-home .brand-logos.mini img { filter:url(#brand-kiss-cut); }
.studio-home .ed-note { border-left:3px solid var(--poppy); }
.studio-home .ed-note > div { max-width:65ch; }
.studio-home .ed-questions .qa > div { border-top:var(--ed-rule); }
.studio-story .story-head { border-bottom:var(--ed-rule); padding-bottom:20px; }
.studio-story .meet-row { max-width:none; }
.studio-story .meet-bridge blockquote { max-width:25ch; width:auto; justify-self:start; text-align:left; }
.studio-story #experience { gap:clamp(25px,4vw,48px); }
.studio-story .ed-career-lead { grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); }
.studio-story .ed-career-lead h2 { font-size:clamp(42px,5.7vw,76px); max-width:18ch; }
.ed-milestone { display:grid; grid-template-columns:minmax(64px,.7fr) minmax(0,1fr); gap:clamp(14px,2.5vw,28px); align-items:center; margin:0; padding:clamp(18px,3vw,38px); border-top:3px solid var(--poppy); background:var(--ground-raised); border-radius:0 0 15px 15px; }
.ed-milestone > img.app-icon.big { display:block; width:100%; max-width:140px; height:auto; border-radius:24%; }
.ed-milestone figcaption { display:grid; gap:4px; color:var(--ink); font-size:clamp(14px,1.5vw,18px); }
.ed-milestone figcaption strong { font:400 clamp(38px,5.2vw,70px)/.91 var(--f-serif); }
.studio-story .brand-wall { justify-items:start; text-align:left; border-top:var(--ed-rule); padding:20px 0 0; gap:8px; }
.studio-story .brand-wall .ed-partner-label { font:400 .68rem/1.5 var(--f-mono); text-transform:uppercase; letter-spacing:.13em; max-width:none; color:var(--ink-muted); }
.studio-story .brand-wall .brand-logos li { height:65px; }
.studio-story .brand-wall .brand-logos img { max-height:46px; }
.studio-story .brand-wall .tm-note { margin:2px 0; }
.studio-story .career-licensed.ed-spread { grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr); margin-top:34px; padding:22px 0 0; border-top:var(--ed-rule); align-items:start; }
.ed-game-gallery { margin:0; min-width:0; display:grid; gap:14px; }
.studio-story .ed-game-gallery .icon-row { display:flex; gap:8px; }
.ed-game-gallery figcaption { max-width:39ch; font-size:.88rem; line-height:1.55; color:var(--ink-muted); }
.ed-game-gallery figcaption strong { display:block; color:var(--ink); }
.studio-story .ed-game-index > div, .studio-story .exp-groups > div { border-top:var(--ed-rule); }
.studio-story .catalogue > .entry { grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); align-items:start; background:transparent; border:0; border-top:var(--ed-rule); border-radius:0; padding:clamp(18px,3vw,36px) 0; gap:clamp(22px,3vw,42px); }
.studio-story .catalogue > .entry > .entry-link { grid-column:1/-1; }
.studio-story .catalogue .entry-media { align-items:start; }
.studio-story .catalogue .entry-head h3 { font-size:clamp(30px,4vw,50px); }
.studio-story .catalogue .offer-card { grid-template-columns:minmax(0,1fr); max-width:none; margin:0; }
.studio-story .ed-across { grid-column:1/-1; }
.studio-case .cs { gap:clamp(24px,4.5vw,58px); }
.studio-case .cs > .crumb { margin:0; }
.studio-case .ed-case-heading h1 { font-size:clamp(50px,7vw,92px); }
.studio-case .ed-case-heading .label { margin:0; }
.studio-case .cs > article.case { background:transparent; border-top:var(--ed-rule); padding:clamp(20px,3.3vw,42px) 0 0; gap:clamp(15px,2.6vw,27px); }
.studio-case .cs article .ba-h { font-size:clamp(33px,4.8vw,63px); max-width:27ch; }
.studio-case .cs article .story-p.lead { font-size:clamp(24px,3vw,40px); max-width:32ch; margin:0; line-height:1.15; }
.studio-case .ed-story-columns { columns:2 250px; display:block; column-gap:var(--ed-gap); column-rule:var(--ed-rule); }
.studio-case .ed-story-columns p { break-inside:avoid; margin:0 0 1em; }
.studio-case .ed-practice { display:grid; gap:12px; }
.studio-case .ed-practice h3 { margin:0; }

/* Match the Santa Monica screenshots to the after image's landscape frame. */
.studio-case .ed-practice-sm .shot .frame { aspect-ratio: 16 / 9; }
.studio-case .ed-practice-sm .shot .frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.studio-case .ed-practice-la { margin-top:8px; border-top:var(--ed-rule); padding-top:20px; }
.studio-case .ed-case-cover .ed-cover-image { min-width:0; }
.studio-case .ed-cover-image .shot img { max-width:none; }
.studio-case .ed-disclosure { border-block:var(--ed-rule); }
.studio-case .ed-disclosure summary { cursor:pointer; font:400 clamp(20px,2.5vw,29px)/1.2 var(--f-serif); padding:15px 2px; }
.studio-case .ed-disclosure .ba2-title { font-size:clamp(23px,3vw,30px); }
.studio-case .ba2-row.story { column-gap:var(--ed-gap); }
.studio-case .ba2-row.story li { font-size:1rem; }
.studio-case .ed-confidential .ba2 { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.studio-case .ed-confidential .ba2-row.story { display:grid; grid-template-columns:minmax(0,1fr); align-content:start; border-top:3px solid var(--poppy); padding:16px 0; }
.studio-case .ed-confidential .ba2-row.story > * { grid-column:1; }
.studio-thanks { min-height:100svh; display:grid; place-items:center; }
.studio-thanks main { max-width:36rem; border-top:3px solid var(--poppy); padding-block:24px; }
.studio-thanks h1 { font:400 clamp(46px,9vw,76px)/1 var(--f-serif); margin:.2em 0; }
@media(max-width:720px) {
 .studio-home .hero,.studio-home .case.featured,.ed-spread,.studio-story .ed-career-lead,
 .studio-story .career-licensed.ed-spread,.studio-story .catalogue > .entry,.studio-case .ed-confidential .ba2 { grid-template-columns:minmax(0,1fr); }
 .studio-home .hero-right { display:none; }
 .studio-editorial .divider,.studio-editorial .divider img { max-height:100px; }
 .studio-case .ed-story-columns { columns:auto; }
 .studio-case .ed-confidential .ba2 { gap:4px; }
}
@media(max-width:480px) {
 .studio-story .catalogue .entry-media { grid-template-columns:minmax(0,1fr); }
 .studio-story .brand-wall .brand-logos li { height:54px; }
 .studio-story .brand-wall .brand-logos img { max-height:38px; }
 .studio-case .ed-practice-sm .shots { grid-template-columns:minmax(0,1fr); }
}
@media(prefers-reduced-motion:reduce) { .studio-editorial,html:has(.studio-editorial) { scroll-behavior:auto; } }
.ed-milestone figcaption strong { font-size:clamp(30px,4vw,56px); white-space:nowrap; }
@media(max-width:375px) { .ed-milestone { grid-template-columns:minmax(59px,.55fr) minmax(0,1fr); } }

/* Page mastheads run across the spread; support columns begin below. */
.studio-home #top.hero { display:block; padding-top:0; margin-top:calc(clamp(20px,2.2vw,34px) - var(--home-section-gap)); }
.studio-masthead { display:grid; justify-items:center; text-align:center; gap:clamp(9px,1vw,14px); width:100%; padding-bottom:clamp(16px,2vw,26px); }
.studio-masthead > * { margin:0; }
.studio-masthead h1 { font-size:clamp(46px,7.2vw,106px); line-height:.94; width:100%; }
.studio-masthead .hero-cred { width:100%; max-width:none; font-size:clamp(20px,2.25vw,29px); text-wrap:wrap; }
.studio-home .hero-support { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(0,1fr); gap:clamp(19px,4vw,52px); align-items:center; padding-top:clamp(18px,2.7vw,30px); border-top:1px solid var(--line); }
.studio-home .hero-support .hero-text { gap:12px; }
.studio-home .hero-support .badge { margin:0; font-size:10px; letter-spacing:.11em; }
.studio-home .hero-support .lede { margin:0; max-width:47ch; }
.studio-home .hero-support .hero-right { width:min(100%,410px); justify-self:end; }
.studio-home .hero-support .hboard { padding:9px 11px 12px; }
.studio-home .hero-support .board-label { font-size:9px; letter-spacing:.08em; }
.studio-story .story-head,.studio-case .ed-case-heading { align-items:center; text-align:center; }
.studio-story .story-head h1,.studio-case .ed-case-heading h1 { max-width:24ch; text-wrap:balance; }
.studio-story .story-head h1 { font-size:clamp(46px,6.5vw,85px); }
.studio-case .ed-case-cover { grid-template-columns:minmax(0,1fr); gap:clamp(18px,2.6vw,34px); }
.studio-case .ed-case-cover .ed-cover-image { width:min(100%,760px); justify-self:center; }
@media(max-width:720px) {
 .studio-home .hero-support { grid-template-columns:minmax(0,1fr); }
 .studio-home .hero-support .hero-text { align-items:center; text-align:center; }
 .studio-home .hero-support .hero-text > .btns { justify-content:center; }
 .studio-home .hero-support .hero-right { display:grid; justify-self:center; width:min(100%,340px); }
}

/* The jump from selected work to services is one editorial chapter. */
.studio-home { overflow-x:clip; }
.studio-home .ed-services-chapter { position:relative; padding-top:clamp(28px,5vw,60px); gap:clamp(20px,3.2vw,36px); }
.studio-home .ed-chapter-rule { position:absolute; inset-block-start:0; left:50%; width:100vw; height:10px; transform:translateX(-50%); border-bottom:1px solid var(--line); background:repeat-x center top / 104px 9px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='104' height='9' viewBox='0 0 104 9' shape-rendering='crispEdges'%3E%3Cpath fill='%23FF5B2E' d='M0 4h7v4H0zm38-2h7v4h-7zm39 1h7v4h-7z'/%3E%3Cpath fill='%23F5C84B' d='M9 2h7v4H9zm25 3h4v4h-4zm22-3h7v4h-7zm30-2h7v4h-7z'/%3E%3Cpath fill='%23BDB5A4' d='M18 0h5v4h-5zm9 3h5v4h-5zm21 2h6v4h-6zm18 0h8v4h-8zm30-2h5v4h-5z'/%3E%3C/svg%3E"); }
.studio-home .ed-services-chapter > .ed-chapter-heading { justify-items:center; text-align:center; padding:0; margin:0; border:0; gap:clamp(8px,1vw,14px); }
.studio-home .ed-chapter-heading .label { margin:0; }
.studio-home .ed-chapter-heading h2 { max-width:29ch; font-size:clamp(37px,5vw,68px); line-height:.99; text-wrap:balance; }
.studio-home .ed-chapter-heading h2 span+span { margin-top:.44em; font-size:.66em; line-height:1.04; color:var(--ink-muted); text-wrap:balance; }
.studio-home .ed-chapter-heading .lede { font-size:clamp(16px,1.6vw,20px); max-width:44ch; }
@media(max-width:550px) { .studio-home .ed-chapter-heading h2 { max-width:22ch; } }

/* The working-together feature: one masthead, short chapters, supporting art. */
.studio-home :is(.wp-feature,.wp-faq) { display:grid; gap:clamp(24px,3.9vw,52px); }
.studio-home .wp-masthead { display:grid; gap:11px; }
.studio-home .wp-masthead > * { margin:0; }
.studio-home .wp-masthead .sec { font-size:clamp(48px,6.5vw,88px); line-height:.96; }
.studio-home .wp-masthead .lede { max-width:55ch; }
.studio-home .wp-chapter,.studio-home .wp-faq { border-top:var(--ed-rule); padding-top:clamp(18px,2.8vw,30px); }
.studio-home .wp-chapter :is(h3,h4,.label),.studio-home .wp-faq h3 { margin:0; }
.studio-home .wp-chapter h3,.studio-home .wp-faq h3 { font-size:clamp(29px,3.1vw,42px); line-height:1.03; }
.studio-home .wp-chapter .label { margin-bottom:8px; }
.studio-home .wp-start { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,2.35fr); gap:var(--ed-gap); }
.studio-home .wp-cues { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px 25px; list-style:none; margin:0; padding:0; }
.studio-home .wp-cues li { padding-left:13px; border-left:2px solid var(--poppy); color:var(--ink-muted); line-height:1.48; font-size:16px; }
.studio-home .wp-cues b { display:block; color:var(--ink); margin-bottom:4px; }
.studio-home .wp-modes { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(16px,3vw,40px); margin-top:20px; }
.studio-home .wp-modes > div { border-top:var(--ed-rule); padding-top:14px; }
.studio-home .wp-modes h4 { font-size:clamp(24px,2.65vw,36px); line-height:1.06; }
.studio-home .wp-modes p { margin:8px 0 0; }
.studio-home .wp-scope { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,2.35fr); gap:clamp(12px,4.7vw,66px); margin-top:25px; padding-top:15px; border-top:var(--ed-rule); }
.studio-home .wp-scope-list { display:flex; flex-wrap:wrap; list-style:none; margin:0; padding:0; gap:5px 14px; color:var(--ink-muted); font-size:.83rem; }
.studio-home .wp-scope-list li:not(:last-child)::after { content:' /'; color:var(--accent-text); padding-left:10px; }
.studio-home .wp-strategy { display:grid; grid-template-columns:minmax(0,1.24fr) minmax(0,1fr); gap:var(--ed-gap); align-items:center; padding:clamp(18px,3.6vw,46px); border-radius:16px; border-top:3px solid var(--poppy); background:var(--ground-raised); }
.studio-home .wp-strategy h3 { font-size:clamp(32px,4vw,56px); line-height:1.04; margin:0; }
.studio-home .wp-strategy p:last-child { margin-bottom:0; }
.studio-home .wp-strategy .btn { white-space:normal; }
.studio-home .wp-strategy figure { margin:0; }
.studio-home .wp-strategy img { display:block; width:100%; height:auto; border-radius:10px; }
.studio-home .wp-faq-groups { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:var(--ed-gap); }
.studio-home .wp-faq-groups h3 { margin-bottom:13px; }
.studio-home .wp-faq details { border-block-start:var(--ed-rule); }
.studio-home .wp-faq details:last-child { border-block-end:var(--ed-rule); }
.studio-home .wp-faq summary { cursor:pointer; padding:12px 5px; font-size:16px; line-height:1.35; font-weight:600; }
.studio-home .wp-faq summary::marker { color:var(--accent-text); }
.studio-home .wp-answer { padding:0 8px 12px 22px; max-width:60ch; }
.studio-home .wp-answer p { margin:0 0 8px; }
.studio-home .wp-editor-note { display:grid; grid-template-columns:minmax(90px,180px) minmax(0,1fr); gap:var(--ed-gap); align-items:center; padding:20px 0 0; border-top:var(--ed-rule); }
.studio-home .wp-editor-note img { display:block; width:100%; height:auto; border-radius:12px; }
.studio-home .wp-editor-note h2 { font-size:clamp(29px,3.7vw,50px); line-height:1.03; margin:0; }
.studio-home .wp-editor-note p:not(.label) { max-width:68ch; margin:10px 0 0; }
.studio-home .wp-contact-rule { height:1px; border-bottom:var(--ed-rule); }
@media(max-width:690px) {
 .studio-home :is(.wp-start,.wp-scope,.wp-modes,.wp-strategy,.wp-faq-groups) { grid-template-columns:minmax(0,1fr); gap:16px; }
 .studio-home .wp-editor-note { grid-template-columns:minmax(0,1fr); gap:14px; }
 .studio-home .wp-editor-note img { width:100px; }
 .studio-home .wp-faq-groups { gap:26px; }
}
@media(max-width:430px) { .studio-home .wp-cues { grid-template-columns:minmax(0,1fr); } }
.studio-home .wp-strategy #strategy-session { padding:0; border:0; background:transparent; border-radius:0; }

/* Homepage board as the lead illustration, with a proper caption below. */
.studio-home .hero-board-feature { width:min(100%,820px); margin:0 auto; display:grid; gap:0; }
.studio-home .hero-board-feature .hboard { border-radius:12px; padding:clamp(8px,2.25vw,26px); gap:clamp(7px,1.4vw,14px); }
.studio-home .hero-board-feature .board-label { font-size:clamp(9px,1.1vw,14px); letter-spacing:.19em; gap:6px; }
.studio-home .hero-board-feature .hrows,.studio-home .hero-board-feature .flaps.f14 { gap:clamp(2px,.55vw,7px); }
.studio-home .hero-board-feature .flap { aspect-ratio:1.18; font-size:clamp(12px,6.1cqw,47px); }
.studio-home .hero-board-caption { display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; gap:6px 14px; border-bottom:var(--ed-rule); padding:11px 1px 12px; }
.studio-home .hero-board-caption .lede { max-width:none; color:var(--ink-muted); font-size:clamp(.94rem,1.4vw,1.09rem); margin:0; }
.studio-home .board-motion { border:0; padding:4px 0; background:none; color:var(--accent-text); font:inherit; font-size:.78rem; text-decoration:underline; cursor:pointer; }
.studio-home .hero-board-actions { margin-top:clamp(15px,2.1vw,27px); display:flex; flex-direction:column; align-items:center; text-align:center; gap:12px; }
.studio-home .hero-board-actions .btns { display:flex; justify-content:center; flex-wrap:wrap; gap:10px; }
.studio-home .hero-board-actions .badge { margin:0; font-size:10px; border:0; color:var(--ink-muted); }
@media(max-width:550px) { .studio-home .hero-board-caption { justify-content:center; text-align:center; } .studio-home .hero-board-feature .flap::after { height:1px; } }

/* Center the How I Work opener over one balanced illustration-and-text spread. */
.studio-story .story-work-masthead blockquote { justify-self:center; text-align:center; max-width:36ch; width:100%; font-size:clamp(32px,4.55vw,61px); }
.studio-story .story-work-masthead .hw { display:block; font:400 .76rem/1.5 var(--f-mono); text-transform:uppercase; letter-spacing:.16em; margin-bottom:13px; }
.studio-story .story-work-spread { width:min(100%,1000px); margin-inline:auto; grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr); align-items:center; }
.studio-story .story-work-spread .mag-cols { columns:auto; }
.studio-story .story-work-spread .hiw-fig img { border-radius:12px; }
.studio-story .story-work-spread .mag-cols p:last-child { margin-bottom:0; }
@media(max-width:720px) {
 .studio-story .story-work-spread { grid-template-columns:minmax(0,1fr); }
 .studio-story .story-work-spread .hiw-fig { width:min(100%,490px); margin-inline:auto; }
}

/* Portfolio feature: a clear service headline and one continuous Make & Play story. */
.studio-story .build-masthead { border-block:var(--ed-rule); padding-block:clamp(22px,4vw,48px); }
.studio-story .build-masthead .sec { font-size:clamp(48px,7vw,96px); line-height:.95; margin:10px 0 20px; }
.studio-story .build-opening,.studio-story .mp-expansion { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:var(--ed-gap); align-items:start; }
.studio-story .build-opening p { margin:0 0 13px; max-width:56ch; }
.studio-story .build-opening .lede { font-size:clamp(19px,2.4vw,27px); line-height:1.34; }
.studio-story .build-capabilities { display:flex; flex-wrap:wrap; gap:5px 15px; margin:0; padding:0; list-style:none; font:400 .72rem/1.5 var(--f-mono); color:var(--accent-text); }
.studio-story .mp-story { display:grid; gap:clamp(28px,4vw,56px); }
.studio-story .mp-header h3 { margin:.12em 0; font-size:clamp(48px,7vw,88px); line-height:.95; }
.studio-story .mp-header .lede { margin:10px 0 0; }
.studio-story .mp-chapter { border-top:var(--ed-rule); padding-top:clamp(17px,2.6vw,30px); display:grid; gap:18px; }
.studio-story .mp-chapter h4 { margin:4px 0 10px; font-size:clamp(30px,4.5vw,61px); line-height:1; }
.studio-story .mp-chapter-copy p:not(.label) { max-width:64ch; }
.studio-story .mp-chapter-copy .mp-dek { font-family:var(--f-serif); font-size:clamp(21px,2.65vw,34px); color:var(--accent-text); margin:0; }
.studio-story .mp-media { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(9px,1.7vw,23px); align-items:start; }
.studio-story .mp-media-series { grid-template-columns:repeat(3,minmax(0,1fr)); }
.studio-story .mp-story figure { margin:0; }
.studio-story .mp-story :is(img,video) { display:block; width:100%; height:auto; aspect-ratio:auto; object-fit:contain; border-radius:12px; }
.studio-story .mp-story figcaption { font-size:.85rem; line-height:1.4; color:var(--ink-muted); margin-top:8px; }
.studio-story .mp-expansion figure { width:min(100%,390px); justify-self:center; }
.studio-story .mp-chapter .entry-link { margin:0; }
@media(max-width:690px) {
 .studio-story :is(.build-opening,.mp-expansion,.mp-media) { grid-template-columns:minmax(0,1fr); }
 .studio-story .mp-media-series { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:380px) { .studio-story .mp-media-series { grid-template-columns:minmax(0,1fr); } }

/* Use the original-project catalogue's left story / right proof rhythm for both Make & Play entries. */
.studio-story .mp-story { gap:clamp(23px,3.1vw,43px); }
.studio-story .mp-story .portfolio-row {
 grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);
 gap:clamp(22px,3vw,42px); padding:clamp(18px,3vw,36px) 0 0; align-items:start;
}
.studio-story .portfolio-row .mp-chapter-copy h4 { font-size:clamp(30px,4vw,50px); line-height:1.06; }
.studio-story .portfolio-row .mp-chapter-copy .mp-dek { font-size:clamp(19px,2.25vw,28px); line-height:1.13; }
.studio-story .portfolio-row .mp-media { grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.studio-story .portfolio-row .mp-media img.contain { background:#BFF3E0; }
.studio-story .portfolio-row .entry-link { margin-top:16px; }
@media(max-width:720px) { .studio-story .mp-story .portfolio-row { grid-template-columns:minmax(0,1fr); } }
@media(max-width:380px) { .studio-story .portfolio-row .mp-media { grid-template-columns:minmax(0,1fr); } }

/* Dec 2 results strip */
.results .stats { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 24px; }
.results .stats > div { border-top: 2px solid var(--line); padding-top: 10px; }
.results .stats dt { font-family: var(--f-display); font-size: 11px; letter-spacing: 2px; color: var(--accent-text); text-transform: uppercase; line-height: 1.5; }
.results .stats dd { margin: 6px 0 0; }
.results .stats b { font-family: var(--f-serif); font-weight: 400; font-size: clamp(30px, 4vw, 44px); line-height: 1.1; color: var(--ink); }
.results .res-src { font-size: 14px; color: var(--ink-muted); }
@media (max-width: 900px) { .results .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .results .stats { grid-template-columns: minmax(0, 1fr); } }

/* Craft & Bond block on story page */
.cb-results{display:grid;gap:14px;margin:18px 0 0;max-width:none}
.cb-results .stats{margin:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px 24px}
.cb-results .stats>div{border-top:2px solid var(--line);padding-top:10px}
.cb-results .stats dt{font-family:var(--f-display);font-size:11px;letter-spacing:2px;color:var(--accent-text);text-transform:uppercase;line-height:1.5}
.cb-results .stats dd{margin:6px 0 0}
.cb-results .stats b{font-family:var(--f-serif);font-weight:400;font-size:clamp(28px,3.6vw,40px);line-height:1.1;color:var(--ink)}
.cb-results .res-src{font-size:14px;color:var(--ink-muted)}
.cb-takeaway{display:grid;gap:8px;margin:18px 0 0;max-width:72ch}
@media(max-width:900px){.cb-results .stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.cb-results .stats{grid-template-columns:minmax(0,1fr)}}
.studio-home .wp-ai{padding:28px 0}

.cb-results .stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.cb-results .stats b{font-size:clamp(26px,2.6vw,34px)}
.studio-home .wp-ai .story-stack{margin-top:18px}

html{scroll-behavior:smooth}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
[id^="step-"],#ai,#cost,#work{scroll-margin-top:24px}

.hdr-right{flex-wrap:wrap}
.nav-menu{position:relative}
.nav-menu summary{list-style:none;font-family:var(--f-display);font-size:13px;letter-spacing:2px;border:2px solid var(--ink);color:var(--ink);padding:8px 14px;cursor:pointer;line-height:1.2}
.nav-menu summary::-webkit-details-marker{display:none}
.nav-menu summary:hover,.nav-menu[open] summary{background:var(--ink);color:var(--ground)}
.nav-menu ul{position:absolute;right:0;top:calc(100% + 6px);z-index:20;list-style:none;margin:0;padding:6px;min-width:100%;white-space:nowrap;background:var(--ground);border:2px solid var(--ink)}
.nav-menu li a{display:block;font-family:var(--f-display);font-size:12px;letter-spacing:2px;text-decoration:none;color:var(--ink);padding:10px 12px}
.nav-menu li a:hover,.nav-menu li a:focus-visible{background:var(--ink);color:var(--ground)}
@media(max-width:560px){.nav-menu summary{font-size:11px;padding:7px 9px}}
.how-ai{margin:26px 0 0;max-width:68ch}
.how-ai h3{margin:0 0 6px}
.hdr-right{margin-left:auto;justify-content:flex-end;gap:8px}
@media(min-width:561px){header a.say,.mode,.nav-menu summary{padding:8px 11px;letter-spacing:1.5px}}
.how-ai h3{font-family:var(--f-serif);font-weight:400;font-size:clamp(26px,2.8vw,36px);line-height:1.1;margin:0 0 12px}
.how-ai p{margin:0 0 14px}

/* Homepage magazine sections */
.studio-home :is(.wp-ai, .about) {
  display: grid;
  gap: clamp(24px, 3.4vw, 40px);
  padding: 0;
}
.studio-home .editorial-spread {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: clamp(20px, 4vw, 52px);
  align-items: start;
}
.studio-home .editorial-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: contain;
  background: #171411;
  border-radius: 12px;
}
.studio-home .wp-masthead .sec {
  font-size: clamp(38px, 5.5vw, 72px);
  text-wrap: balance;
}
.studio-home .editorial-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 36px);
}
.studio-home .ai-topics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.studio-home :is(.ai-topics, .about-footer, .wp-ai .how-ai) {
  border-top: var(--ed-rule);
  padding-top: clamp(18px, 2.5vw, 30px);
}
.studio-home .ai-topics h3 {
  font-size: clamp(25px, 2.8vw, 36px);
  margin: 0 0 10px;
}
.studio-home .wp-ai .how-ai {
  margin: 0;
  max-width: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  row-gap: 10px;
}
.studio-home .wp-ai .how-ai h3 { grid-column: 1 / -1; margin: 0; }
.studio-home .wp-ai .how-ai p { margin: 0; }
.studio-home .about .about-row {
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  align-items: start;
}
.studio-home .about .hero-photo { width: 100%; max-width: 380px; margin: 0; }
.studio-home .about .hero-photo img { width: 100%; height: auto; border-radius: 12px; }
.studio-home .about .about-text { max-width: none; }
.studio-home .about-footer p { margin: 0 0 12px; }
.studio-home .wp-start { grid-template-columns: minmax(0, 1fr); gap: 18px; }
@media (max-width: 760px) {
  .studio-home :is(.editorial-spread, .editorial-columns, .about .about-row, .wp-ai .how-ai) {
    grid-template-columns: minmax(0, 1fr);
  }
  .studio-home .editorial-image { max-height: 245px; }
}
