/* Client page options A–D. Builds on site.css. Photos first: every option shows work on the first screen. */
main { padding-bottom: 20px; }

/* Shared: filter bar */
.fbar { position: sticky; top: calc(66px + env(safe-area-inset-top, 0px)); z-index: 50; padding: 8px var(--gxr) 12px var(--gx); background: linear-gradient(var(--bg) 78%, transparent); }
.frow { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.frow::-webkit-scrollbar { display: none; }
.frow button { flex: none; border: 0; cursor: pointer; padding: 9px 15px; border-radius: 999px; background: var(--bg); color: var(--fg); box-shadow: inset 0 0 0 1px var(--line); font-weight: 500; font-size: 14px; transition: background .25s, color .25s; }
.frow button:hover { box-shadow: inset 0 0 0 1px var(--fg); }
.frow button[aria-pressed="true"] { background: var(--yellow); color: var(--dark-ink); box-shadow: none; }
.frow button span { font: 400 11px var(--mono); opacity: .6; margin-left: 4px; }
.frow .sep { flex: none; width: 1px; background: var(--line); margin: 5px 4px; }

/* Shared: photo tiles */
.pgrid { transition: opacity .2s; }
.pgrid.fading { opacity: 0; }
.ph { position: relative; margin: 0; }
.ph[hidden] { display: none; }
.ph-open { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: var(--panel); overflow: hidden; cursor: zoom-in; }
.ph-open img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.ph-open:hover img, .ph-open:focus-visible img { transform: scale(1.035); }
.ph figcaption { margin-top: 8px; }
.ph .meta { color: var(--muted); }
.ph .note { display: none; }

/* Shared: after the work */
.about { padding-block: clamp(60px, 8vw, 110px) 10px; }
.about h2 { margin: 0 0 14px; font: 300 clamp(36px, 4.4vw, 64px)/.95 var(--serif); letter-spacing: -.03em; }
.about p { margin: 0; max-width: 62ch; font-size: 17px; color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 28px; max-width: 760px; }
.stats div { border-top: 1px solid var(--line); padding: 14px 16px 0 0; }
.stats b { display: block; font: 300 clamp(44px, 5vw, 80px)/.9 var(--serif); letter-spacing: -.04em; }
.stats span { color: var(--muted); font-size: 14px; }
.after { padding-top: clamp(60px, 8vw, 110px); }
.after .next { margin-bottom: 20px; }

/* ---------- A · Grid first ---------- */
.a-head { padding-block: calc(84px + env(safe-area-inset-top, 0px)) 10px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: end; }
.a-head .crumb { margin-bottom: 8px; }
.a-head h1 { margin: 0; font: 300 clamp(48px, 6.6vw, 108px)/.84 var(--serif); letter-spacing: -.045em; }
.a-side p { margin: 0; font-size: 16px; max-width: 46ch; }
.a-side .a-tags { margin-top: 8px; color: var(--accent-text); }
.ga { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: dense; gap: 12px; }
.ga .ph { aspect-ratio: 4 / 5; }
.ga .ph.lg { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.ga .ph.wide { grid-column: span 2; aspect-ratio: auto; }
.ga figcaption { position: absolute; left: 10px; bottom: 8px; margin: 0; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; pointer-events: none; }
.ga .meta { color: var(--light-ink); text-shadow: 0 1px 8px rgba(0,0,0,.7); }
.ga .ph:hover figcaption, .ga .ph:focus-within figcaption { opacity: 1; transform: none; }

/* ---------- B · Side notes ---------- */
.b-wrap { padding-top: calc(84px + env(safe-area-inset-top, 0px)); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(20px, 3vw, 48px); align-items: start; }
.b-side { position: sticky; top: calc(84px + env(safe-area-inset-top, 0px)); max-height: calc(100vh - 100px); overflow-y: auto; scrollbar-width: none; padding-bottom: 20px; }
.b-side h1 { margin: 0; font: 300 clamp(44px, 4.8vw, 80px)/.86 var(--serif); letter-spacing: -.045em; }
.b-line { margin: 12px 0 0; font-size: 16px; }
.b-more { margin-top: 18px; }
.b-more summary { cursor: pointer; color: var(--muted); list-style: none; padding: 8px 0; }
.b-more summary::-webkit-details-marker { display: none; }
.b-more summary::after { content: " +"; color: var(--yellow); }
.b-more[open] summary::after { content: " −"; }
.b-more .facts div { grid-template-columns: 84px minmax(0, 1fr); padding: 9px 0; }
.b-brief { margin: 12px 0 0; color: var(--muted); font-size: 15px; }
.b-filters .fbar { position: static; padding: 18px 0 0; background: none; }
.b-filters .frow { flex-wrap: wrap; overflow: visible; }
.b-filters .sep { width: 100%; height: 0; margin: 2px 0; background: none; }
.gb { columns: 2; column-gap: 14px; }
.gb .ph { break-inside: avoid; margin: 0 0 14px; }
.gb .ph-open img { height: auto; }


.gb .ph-open video { width: 100%; height: auto; display: block; object-fit: cover; }
.gb.one { columns: 1; max-width: none; }  /* one or two wide films fill the whole column, no empty space on the right */
.playmark { position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px; border-radius: 50%; background: var(--yellow); pointer-events: none; }
.playmark::after { content: ""; position: absolute; left: 15px; top: 12px; border-left: 11px solid var(--dark-ink); border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.ph .ph-open { position: relative; }
.b-next { display: inline-block; margin-top: 22px; color: var(--yellow); text-decoration: none; }
.b-next:hover { text-decoration: underline; }
.lb-stage video { max-height: 100%; max-width: 100%; }

/* Clients index */
.cl-head { padding-block: calc(96px + env(safe-area-inset-top, 0px)) 24px; }
.cl-head h1 { margin: 0; font: 300 clamp(56px, 8vw, 132px)/.86 var(--serif); letter-spacing: -.045em; }
.cl-head h1 i { color: var(--accent-text); }
.cl-head p { margin: 14px 0 0; max-width: 48ch; color: var(--muted); }
.cl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 28px 16px; padding-bottom: 40px; }
.cl-card { text-decoration: none; display: grid; gap: 10px; }
.cl-img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--panel); }
.cl-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.cl-card:hover .cl-img img { transform: scale(1.04); }
.cl-meta { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 12px; align-items: baseline; }
.cl-meta b { font: 400 26px/1.05 var(--serif); }
.cl-meta .mono { color: var(--muted); }
.cl-meta .mono:last-child { grid-column: 2; }

/* Book a call */
.bk-head { padding-block: calc(96px + env(safe-area-inset-top, 0px)) 26px; }
.bk-head h1 { margin: 0; font: 300 clamp(56px, 8vw, 132px)/.86 var(--serif); letter-spacing: -.045em; }
.bk-head h1 i { color: var(--accent-text); }
.bk-head p { margin: 14px 0 0; max-width: 46ch; font-size: 17px; }
.bk-head .bk-alt { color: var(--muted); font-size: 12px; }
.bk-alt a { color: var(--yellow); text-decoration: none; }
.bk-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); padding-bottom: clamp(50px, 7vw, 100px); align-items: start; }
.bk-side { position: sticky; top: 90px; display: grid; gap: 14px; scroll-margin-top: 90px; }
.bk-side .done { margin: 0; font: 300 clamp(30px, 3vw, 44px)/1.05 var(--serif); }
.cal-slot { display: grid; place-items: center; min-height: 220px; padding: 20px; text-align: center; border-radius: 14px; background: var(--panel); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
.bk-side .or { margin: 6px 0 0; color: var(--muted); }
.bk-side .ctas { margin-top: 0; }
.summary { margin: 6px 0 0; border-top: 1px solid var(--line); }
.summary div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.summary dt { color: var(--muted); } .summary dd { margin: 0; }
@media (max-width: 860px) { .bk-grid { grid-template-columns: minmax(0, 1fr); } .bk-side { position: static; } .bk-head h1 { font-size: clamp(48px, 14vw, 72px); } }

/* ---------- B2 · Mirrored ---------- */
.e-wrap { grid-template-columns: minmax(0, 8.5fr) minmax(0, 3.5fr); }
.e-wrap .b-side { order: 2; }
.gb.c3 { columns: 3; column-gap: 12px; }
.gb.c3 .ph { margin-bottom: 12px; }
.gb.c3 figcaption { display: none; }

/* ---------- B3 · Split lookbook ---------- */
.f-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
.f-side { position: sticky; top: 0; height: 100vh; overflow-y: auto; scrollbar-width: none; padding: calc(96px + env(safe-area-inset-top, 0px)) clamp(20px, 3vw, 48px) 28px var(--gx); background: var(--panel); border-right: 1px solid var(--line); }
.f-side h1 { margin: 0; font: 300 clamp(48px, 5.4vw, 96px)/.86 var(--serif); letter-spacing: -.045em; }
.f-stats { margin-top: 18px; }
.f-stats b { font-size: clamp(34px, 3.2vw, 52px); }
.f-filters .frow { flex-direction: column; align-items: flex-start; gap: 0; }
.f-filters .frow button { background: none; box-shadow: none; padding: 7px 0; border-radius: 0; font: 300 clamp(22px, 1.8vw, 28px)/1.1 var(--serif); color: var(--muted); }
.f-filters .frow button:hover { color: var(--fg); box-shadow: none; }
.f-filters .frow button[aria-pressed="true"] { background: none; color: var(--yellow); font-style: italic; }
.f-filters .sep { width: 40px; height: 1px; margin: 10px 0; background: var(--line); }
.gf { display: grid; gap: clamp(36px, 5vw, 72px); padding: calc(96px + env(safe-area-inset-top, 0px)) var(--gxr) 40px clamp(20px, 4vw, 64px); }
.gf .ph-open img { height: auto; max-height: 86vh; object-fit: contain; background: var(--bg); }
.gf .ph-open { background: none; }
.gf figcaption { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 8px; margin-top: 10px; }

/* ---------- B4 · Even rows ---------- */
.gj { display: flex; flex-wrap: wrap; gap: 10px; }
.gj::after { content: ""; flex-grow: 999999; }
.gj .ph { flex-grow: var(--g); flex-basis: calc(var(--g) * 2.6px); }
.gj .ph-open { aspect-ratio: var(--ar); height: auto; }
.gj figcaption { position: absolute; left: 10px; bottom: 8px; margin: 0; opacity: 0; transition: opacity .3s; pointer-events: none; }
.gj .meta { color: var(--light-ink); text-shadow: 0 1px 8px rgba(0,0,0,.7); }
.gj .ph:hover figcaption { opacity: 1; }

/* ---------- C · Story in captions ---------- */
.c-head { padding-block: calc(84px + env(safe-area-inset-top, 0px)) 8px; }
.c-head .crumb { margin-bottom: 8px; }
.c-head h1 { margin: 0; font: 300 clamp(48px, 6.6vw, 108px)/.84 var(--serif); letter-spacing: -.045em; display: flex; align-items: end; gap: 12px 32px; flex-wrap: wrap; }
.c-head h1 span { font: 400 16px/1.5 var(--sans); letter-spacing: 0; max-width: 44ch; padding-bottom: 6px; }
.gc { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 28px 16px; }
.gc .ph { grid-column: span 4; }
.gc .ph-open { aspect-ratio: 4 / 5; height: auto; }
.gc .ph.wide { grid-column: 1 / -1; }
.gc .ph.wide .ph-open { aspect-ratio: var(--ar); max-height: 80vh; }
.gc .ph.lg { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; align-items: start; }
.gc .ph.lg .ph-open { grid-column: 1 / span 6; }
.gc .ph.lg figcaption { grid-column: 8 / span 5; margin: 0; padding-top: 12px; border-top: 1px solid var(--line); }
.gc .ph.lg.flip .ph-open { grid-column: 7 / span 6; }
.gc .ph.lg.flip figcaption { grid-column: 1 / span 5; grid-row: 1; }
.gc .ph.lg .note { display: block; margin-top: 14px; font-size: 17px; color: var(--muted); max-width: 38ch; }
.gc .ph.lg .note b { display: block; margin-bottom: 8px; font: 300 clamp(32px, 3.4vw, 54px)/1 var(--serif); letter-spacing: -.025em; color: var(--fg); }

/* ---------- D · Mosaic opener ---------- */
.d-mosaic { position: relative; height: max(560px, 100svh); padding: calc(74px + env(safe-area-inset-top, 0px)) var(--gxr) 10px var(--gx); display: grid; gap: 8px;
  grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(0, 1fr));
  grid-template-areas: "m1 m1 m2 m3 m4 m4" "m1 m1 c c m4 m4" "m5 m5 c c m6 m7"; }
.d-mosaic .m { overflow: hidden; background: var(--panel); }
.d-mosaic .m img { width: 100%; height: 100%; object-fit: cover; }
.m1 { grid-area: m1; } .m2 { grid-area: m2; } .m3 { grid-area: m3; } .m4 { grid-area: m4; } .m5 { grid-area: m5; } .m6 { grid-area: m6; } .m7 { grid-area: m7; }
.d-card { grid-area: c; background: var(--bg); display: grid; align-content: center; gap: 10px; padding: clamp(16px, 2vw, 32px); box-shadow: inset 0 0 0 1px var(--line); }
.d-card h1 { margin: 0; font: 300 clamp(40px, 4.6vw, 80px)/.86 var(--serif); letter-spacing: -.045em; }
.d-card p { margin: 0; font-size: 15px; color: var(--muted); }
.d-down { color: var(--yellow); text-decoration: none; }
#work { scroll-margin-top: 60px; padding-top: 10px; }
.gd { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 14px; }
.gd .ph-open { aspect-ratio: 4 / 5; height: auto; }
.gd .ph.wide { grid-column: 1 / -1; }
.gd .ph.wide .ph-open { aspect-ratio: var(--ar); max-height: 80vh; }
.about .facts { max-width: 640px; }

@media (max-width: 860px) {
  .fbar { top: calc(62px + env(safe-area-inset-top, 0px)); }
  .a-head { grid-template-columns: minmax(0, 1fr); gap: 10px; padding-top: calc(80px + env(safe-area-inset-top, 0px)); }
  .a-head h1, .c-head h1 { font-size: clamp(44px, 13vw, 64px); }
  .a-side p, .c-head h1 span { font-size: 15px; }
  .a-side .a-tags { display: none; }
  .ga { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }

  .b-wrap { display: block; padding-top: calc(80px + env(safe-area-inset-top, 0px)); }
  .b-side, .b-filters { display: contents; }
  .b-side h1 { font-size: clamp(44px, 13vw, 64px); }
  .b-line { font-size: 15px; }
  .b-more { margin: 8px 0 4px; }
  .b-filters .fbar { position: sticky; padding: 8px var(--gxr) 12px var(--gx); margin: 0 calc(-1 * var(--gxr)) 0 calc(-1 * var(--gx)); background: linear-gradient(var(--bg) 78%, transparent); }
  .b-filters .frow { flex-wrap: nowrap; overflow-x: auto; }
  .b-filters .sep { width: 1px; height: auto; margin: 5px 4px; background: var(--line); }
  .gb { column-gap: 8px; }
  .gb .ph { margin-bottom: 8px; }
  .gb figcaption { display: none; }

  .gb.c3 { columns: 2; column-gap: 8px; }
  .f-wrap { display: block; padding: calc(80px + env(safe-area-inset-top, 0px)) var(--gxr) 0 var(--gx); }
  .f-side { display: contents; }
  .f-side h1 { font-size: clamp(44px, 13vw, 64px); }
  .f-stats { display: none; }
  .f-filters .frow { flex-direction: row; align-items: center; gap: 8px; }
  .f-filters .frow button { padding: 9px 15px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font: 500 14px var(--sans); color: var(--fg); background: var(--bg); }
  .f-filters .frow button[aria-pressed="true"] { background: var(--yellow); color: var(--dark-ink); font-style: normal; }
  .f-filters .sep { width: 1px; height: auto; margin: 5px 4px; }
  .gf { padding: 4px 0 20px; gap: 28px; }
  .gf .ph-open img { max-height: none; }
  .gj { gap: 6px; }
  .gj .ph { flex-basis: calc(var(--g) * 1.3px); }
  .c-head { padding-top: calc(80px + env(safe-area-inset-top, 0px)); }
  .gc { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 8px; }
  .gc .ph { grid-column: span 1; }
  .gc .ph.lg { display: block; grid-column: 1 / -1; }
  .gc .ph.lg figcaption { margin-top: 10px; }
  .gc .ph:not(.lg):not(.wide) figcaption { display: none; }

  .d-mosaic { height: max(520px, 88svh); grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 1.1fr auto 1fr; grid-template-areas: "m1 m2" "c c" "m3 m4"; padding-top: calc(70px + env(safe-area-inset-top, 0px)); }
  .m5, .m6, .m7 { display: none; }
  .d-card h1 { font-size: clamp(40px, 12vw, 56px); }
  .gd { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 8px; }
  .stats b { font-size: 40px; }
}
@media (prefers-reduced-motion: reduce) { .ph-open img, .pgrid, .ga figcaption { transition: none; } }
/* Service cards (Services page; same as the homepage): four even cards that wipe up, and grow to full screen on click */
.svc-page { padding-bottom: clamp(60px, 8vw, 120px); }
.cgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 18px); }
.ccard { position: relative; aspect-ratio: 3 / 4.3; overflow: hidden; background: var(--panel); color: var(--light-ink); cursor: pointer; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: clamp(14px, 1.4vw, 22px); clip-path: inset(100% 0 0 0); transition: clip-path 1.1s cubic-bezier(.7,0,.2,1) calc(var(--i) * .13s), opacity .45s, transform .55s cubic-bezier(.2,.8,.2,1); }
.cgrid.in .ccard { clip-path: inset(0); }
.ccard .ph { position: absolute; inset: 0; }
.ccard .ph img, .ccard .ph video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); transition: transform 1.6s cubic-bezier(.2,.8,.2,1) calc(var(--i) * .13s); }
.cgrid.in .ccard .ph img, .cgrid.in .ccard .ph video { transform: scale(1); }
.cgrid.in .ccard:hover .ph img, .cgrid.in .ccard:hover .ph video { transform: scale(1.06); transition-delay: 0s; }
.ccard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(10,10,10,.78)); pointer-events: none; }
.ccard b, .ccard p, .ccard .more { position: relative; z-index: 2; transition: opacity .25s; }
.ccard b { font: 300 clamp(30px, 2.7vw, 46px)/1 var(--serif); letter-spacing: -.02em; }
.ccard p { margin: 0; font-size: 14px; color: rgba(242,236,226,.82); max-width: 30ch; }
.ccard .more { text-decoration: none; color: var(--yellow); margin-top: 6px; }
.cgrid.leaving .ccard { opacity: 0; transform: scale(.92); }
.cc-fly { position: fixed !important; z-index: 300; margin: 0; clip-path: none !important; aspect-ratio: auto; transition: left .75s cubic-bezier(.7,0,.2,1), top .75s cubic-bezier(.7,0,.2,1), width .75s cubic-bezier(.7,0,.2,1), height .75s cubic-bezier(.7,0,.2,1) !important; }
.cc-fly b, .cc-fly p, .cc-fly .more { opacity: 0; }
@media (max-width: 860px) { .cgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ccard { aspect-ratio: 3 / 4; } }

/* Service page: full-screen photo (where the card landed), what we do in groups, a mid-page call to book, then the work */
.sp-hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; color: var(--light-ink); display: flex; align-items: flex-end; }
.sp-hero .bg { position: absolute; inset: 0; }
.sp-hero .bg img, .sp-hero .bg video { width: 100%; height: 100%; object-fit: cover; }
.sp-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(10,10,10,.15) 30%, rgba(10,10,10,.82)); }
.sp-hero .in { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(36px, 7vh, 80px); animation: spUp 1s cubic-bezier(.2,.8,.2,1) .2s both; }
.sp-hero .crumb, .sp-hero .crumb a { color: rgba(242,236,226,.75); }
.sp-hero h1 { margin: 0; font: 300 clamp(64px, 10vw, 170px)/.9 var(--serif); letter-spacing: -.035em; }
.sp-hero h1 i { color: var(--yellow); }
.sp-hero p { margin: 18px 0 0; max-width: 56ch; font-size: clamp(16px, 1.3vw, 19px); }
.sp-hero .btn.o { color: var(--light-ink); }
@keyframes spUp { from { opacity: 0; transform: translateY(34px); } }
.sp-groups { padding-block: clamp(50px, 7vw, 100px) clamp(40px, 5vw, 70px); }
.sp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(36px, 4vw, 56px) clamp(32px, 5vw, 80px); margin-top: 20px; }
.sp-group h2 { margin: 0 0 12px; font: 300 clamp(30px, 3vw, 48px)/1 var(--serif); letter-spacing: -.02em; }
.sp-group ul { list-style: none; margin: 0; padding: 0; }
.sp-group li { display: grid; gap: 3px; padding: 13px 0; border-top: 1px solid var(--line); }
.sp-group li b { font-weight: 600; }
.sp-group li span { color: var(--muted); }
.sp-cta { display: flex; justify-content: space-between; align-items: center; gap: 18px 32px; flex-wrap: wrap; padding: clamp(26px, 4vw, 48px); background: var(--cobalt); color: var(--light-ink); }
.sp-cta h2 { margin: 0; font: 300 clamp(34px, 4vw, 60px)/1 var(--serif); letter-spacing: -.02em; }
.sp-cta h2 i { color: var(--yellow); }
.sp-cta p { margin: 0; max-width: 40ch; flex: 1 1 260px; }
.sp-work { padding-block: clamp(50px, 7vw, 100px) 20px; }
.sp-work .srow a { text-decoration: none; }
.sv-grid { columns: 3 220px; column-gap: 10px; margin-top: 20px; }
.sv-tile { position: relative; display: block; break-inside: avoid; margin-bottom: 10px; overflow: hidden; background: var(--panel); text-decoration: none; }
.sv-tile img, .sv-tile video { display: block; width: 100%; height: auto; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.sv-tile:hover img, .sv-tile:hover video { transform: scale(1.04); }
.sv-tile .mono { position: absolute; left: 10px; bottom: 8px; color: var(--light-ink); text-shadow: 0 1px 8px rgba(0,0,0,.6); }
@media (max-width: 860px) { .sp-grid { grid-template-columns: minmax(0, 1fr); } .sv-grid { columns: 2; } }
@media (prefers-reduced-motion: reduce) { .ccard, .ccard .ph img, .ccard .ph video, .sp-hero .in { transition: none !important; animation: none !important; clip-path: none !important; transform: none !important; } }
/* Section label row (same as the homepage): number, name, hairline with registration marks */
.srow { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding-block: 22px; color: var(--muted); }
.srow .rule { height: 1px; background: var(--line); position: relative; }
.srow .rule::before, .srow .rule::after { content: "+"; position: absolute; top: 50%; transform: translateY(-52%); font: 400 14px var(--mono); color: var(--muted); }
.srow .rule::before { left: -2px; } .srow .rule::after { right: -2px; }
/* Brand pages: case study under the facts; two filter rows (types, then categories) */
.b-case { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.b-case h2 { margin: 0 0 8px; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.b-case p { margin: 0 0 12px; font-size: 15px; line-height: 1.6; }
.fbar .frow + .frow { margin-top: 8px; }
.cl-sub { padding-top: clamp(40px, 6vw, 80px); }
.cl-img video { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Service pages: one left edge for crumb, title, intro and buttons; the "Services" label at a readable size */
.sp-hero h1 { margin-left: -.05em; }
.sp-hero .crumb, .cl-head .crumb { font-size: 13px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 14px; }
.cl-head h1 { margin-left: -.05em; }
.sp-cta { align-items: center; }
.sp-cta > div:first-child { display: grid; gap: 10px; flex: 1 1 360px; }
.sp-cta .ctas { margin-top: 0; }
.sp-cta .btn.o { color: var(--light-ink); }
/* Videos & ads: on desktop the film sits in a tall reel frame on the right, on the page's own background */
@media (min-width: 861px) {
  .sp-hero.reel { color: var(--fg); align-items: center; }
  .sp-hero.reel::after { display: none; }
  .sp-hero.reel .bg { left: auto; right: calc(var(--gxr) + 4vw); top: 104px; bottom: 48px; width: auto; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; box-shadow: 0 0 0 1px var(--line), 0 40px 90px rgba(0,0,0,.45); }
  .sp-hero.reel .bg::before { content: ""; position: absolute; inset: -14px; border-radius: 30px; border: 1px solid var(--yellow); opacity: .5; pointer-events: none; }
  .sp-hero.reel .in { max-width: 58%; padding-bottom: 0; }
  .sp-hero.reel .crumb, .sp-hero.reel .crumb a, .sp-hero.reel p { color: var(--fg); text-shadow: none; }
  .sp-hero.reel .crumb { color: var(--muted); }
  .sp-hero.reel .btn.o { color: var(--fg); }
}
/* Editing work: stills with a play button; a click swaps in the YouTube player */
.yt-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.yt { all: unset; position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--panel); cursor: pointer; }
.yt img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.yt:hover img { transform: scale(1.04); }
.yt::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgba(10,10,10,.8)); }
.yt .yt-cap { position: absolute; z-index: 2; left: 12px; right: 12px; bottom: 10px; display: grid; gap: 2px; color: var(--light-ink); }
.yt .yt-cap b { font-weight: 600; }
.yt .playmark { z-index: 2; }
.yt:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }
.yt-grid iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; }
@media (max-width: 860px) { .yt-grid { grid-template-columns: minmax(0, 1fr); } }
/* Book a call: one left edge; the calendar fills the side column */
.bk-head h1 { margin-left: -.05em; }
.bk-head .crumb { font-size: 13px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 14px; }
.bk-grid { align-items: start; }
.cal-inline { min-height: 520px; width: 100%; overflow: auto; border-radius: 14px; }
.bk-side .or a { color: var(--fg); }
/* Client pages on desktop: larger, easier reading for the facts and the case study (phones keep their sizes) */
@media (min-width: 861px) {
  .b-case p { font-size: 18px; line-height: 1.62; }
  .b-case h2 { font-size: 13px; }
  .b-more summary, .b-side .crumb, .b-next { font-size: 14px; }
  .b-more .facts { font-size: 14px; }
  .b-more .facts div { grid-template-columns: 104px minmax(0, 1fr); padding: 10px 0; }
  .fbar button { font-size: 14px; }
}
.cta-mid { padding-block: clamp(36px, 5vw, 70px) 0; }
/* Book a call: the calendar shows from the start, dimmed and locked until the form is filled */
.cal-wrap { position: relative; border-radius: 14px; overflow: hidden; background: var(--panel); min-height: 520px; }
.cal-lock { position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; gap: 8px; padding: 28px; text-align: center; background: color-mix(in srgb, var(--bg) 62%, transparent); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.cal-lock[hidden] { display: none; }
.cal-lock p { margin: 0; max-width: 32ch; justify-self: center; }
.cal-lock .mono { color: var(--yellow-ink); text-transform: uppercase; letter-spacing: .04em; }
.cal-wrap.locked { max-height: 560px; }
.cal-wrap.locked .cal-lock { place-content: start center; padding-top: 110px; background: linear-gradient(color-mix(in srgb, var(--bg) 55%, transparent), color-mix(in srgb, var(--bg) 85%, transparent)); }
.cal-wrap.locked .cal-lock { -webkit-backdrop-filter: blur(1.5px); backdrop-filter: blur(1.5px); background: linear-gradient(color-mix(in srgb, var(--bg) 78%, transparent) 0 170px, color-mix(in srgb, var(--bg) 22%, transparent) 260px, color-mix(in srgb, var(--bg) 70%, transparent)); }
