/* Layout: a builder-style landing — dot-grid hero with a fan of real work,
   alternating specialty blocks on soft panels, a dark tabbed portfolio,
   a grey process accordion and a scrolling wall of work to close.
   Single deliberate light look with one dark band; Francis's tan is the accent. */
:root {
  --paper: #fefefe;
  --ink: #0f0f0f;
  --text: #353738;
  --muted: #6b6a6e;
  --panel: #f6f4f2;
  --grey: #eeeeee;
  --line: #e2dfdc;
  --tan: #b2927d;
  --tan-soft: #e9ddd3;
  --dark: #0f0f0f;
  --dark-2: #1b1a1b;
  --dark-line: rgba(255, 255, 255, .12);
  --on-dark: #f4f1ee;
  --on-dark-muted: #a6a1a4;

  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --body: "Be Vietnam Pro", "Helvetica Neue", Arial, sans-serif;

  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-lg: 24px;
  --r: 8px;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 1rem/1.6 var(--body); overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--tan); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.center { text-align: center; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); font-weight: 500; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
.h1 { font-size: clamp(2.4rem, 5.6vw, 4rem); line-height: 1.08; }
.h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); line-height: 1.15; }
.h3 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); line-height: 1.2; }
.lede { font-size: 1.1rem; color: var(--muted); max-width: 52ch; margin: 18px auto 0; }

/* Hand-drawn underline under one word, the accent's one job. */
.mark { position: relative; white-space: nowrap; }
.mark svg { position: absolute; left: -2%; bottom: -.18em; width: 104%; height: .32em; overflow: visible; }
.mark path { fill: none; stroke: var(--tan); stroke-width: 5; stroke-linecap: round; vector-effect: non-scaling-stroke; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: var(--r); border: 1px solid var(--ink);
  font: 500 .95rem/1 var(--display); text-decoration: none; cursor: pointer; transition: background .2s, color .2s, transform .2s;
}
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: #2b2a2b; }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: .85rem; }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(3px); }
.on-dark .btn-line { color: var(--on-dark); border-color: var(--on-dark); }
.on-dark .btn-line:hover { background: var(--on-dark); color: var(--ink); }
.on-dark .btn-dark { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }

/* ---------- Header ---------- */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: rgba(254, 254, 254, .88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--line); }
.top-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 600 1.05rem/1 var(--display); color: var(--ink); white-space: nowrap; }
.logo-mark { width: 30px; height: 30px; border-radius: 8px; background: var(--ink); color: var(--paper); display: grid; place-items: center; font: 700 .8rem/1 var(--display); letter-spacing: .02em; }
.nav { display: flex; gap: 28px; font-size: .95rem; }
.nav a { text-decoration: none; color: var(--text); padding-block: 8px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--tan); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.top-cta { display: flex; gap: 10px; justify-self: end; }
@media (max-width: 760px) {
  .top-in { grid-template-columns: 1fr auto; min-height: 60px; }
  .nav { grid-column: 1 / -1; grid-row: 2; gap: 22px; padding-bottom: 10px; font-size: .9rem; }
  .top-cta .btn-line { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(48px, 8vw, 88px); overflow: hidden; }
.dots { position: absolute; inset: 0; background-image: radial-gradient(#d1d1d1 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(#000 40%, transparent 92%); mask-image: linear-gradient(#000 40%, transparent 92%); pointer-events: none; }
.hero .wrap { position: relative; }
.hero-cta { margin-top: 30px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 14px; font-size: .85rem; color: var(--muted); }

.fan { position: relative; max-width: 1000px; margin: 56px auto 0; height: clamp(260px, 44vw, 470px); }
.fan > * { position: absolute; bottom: -24px; }
.screen {
  left: 50%; transform: translateX(-50%); width: min(70%, 660px); z-index: 2;
  background: var(--dark); border-radius: 18px 18px 0 0; padding: 14px 14px 0; box-shadow: 0 30px 60px -20px rgba(15,15,15,.35);
}
.screen-bar { display: flex; gap: 6px; padding: 0 2px 12px; }
.screen-bar i { width: 9px; height: 9px; border-radius: 50%; background: #3a383a; }
.screen-title { color: var(--on-dark); font: 500 clamp(.95rem, 1.8vw, 1.35rem)/1.25 var(--display); padding: 4px 6px 14px; }
.screen-title span { color: var(--tan); }
.screen .tile { aspect-ratio: 16 / 9; border-radius: 10px 10px 0 0; }
.phone {
  width: min(19%, 180px); aspect-ratio: 9 / 18.5; background: var(--dark); border-radius: 26px; padding: 8px;
  box-shadow: 0 24px 50px -18px rgba(15,15,15,.35);
}
.phone .tile { height: 100%; border-radius: 19px; }
.phone.l { left: 6%; transform: rotate(-6deg); bottom: 10px; z-index: 1; }
.phone.r { right: 6%; transform: rotate(6deg); bottom: 10px; z-index: 1; }
.float-chip {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px;
  background: var(--paper); border: 1px solid var(--line); box-shadow: 0 12px 30px -12px rgba(15,15,15,.25);
  font: 500 .85rem/1 var(--display); color: var(--ink); bottom: auto;
}
.float-chip b { width: 8px; height: 8px; border-radius: 50%; background: var(--tan); }
.float-chip.a { top: 18%; left: 0; }
.float-chip.b { top: 40%; right: 0; }
@media (max-width: 760px) {
  .fan { height: 230px; margin-top: 28px; }
  .screen { width: 84%; padding: 10px 10px 0; border-radius: 14px 14px 0 0; }
  .screen-title { display: none; }
  .phone { width: 26%; border-radius: 18px; padding: 5px; }
  .phone .tile { border-radius: 14px; }
  .phone.l { left: -4%; } .phone.r { right: -4%; }
  .float-chip { display: none; }
}

/* ---------- Clients ---------- */
.clients { padding-block: 64px 24px; }
.clients p { margin: 0 0 22px; font-size: .9rem; color: var(--muted); }
.clients p b { color: var(--ink); font-weight: 600; }
.logo-row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 36px; }
.logo-row img { height: 34px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1) contrast(1.1); opacity: .75; transition: opacity .2s, filter .2s; }
.logo-row img:hover { opacity: 1; filter: none; }
@media (max-width: 760px) { .logo-row { justify-content: center; } .logo-row img { height: 26px; max-width: 110px; } }

/* ---------- Specialties ---------- */
.intro { padding-block: clamp(80px, 10vw, 120px) 40px; }
.specs { display: flex; flex-direction: column; gap: clamp(64px, 9vw, 120px); padding-bottom: 40px; }
.spec { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.spec:nth-child(even) .spec-copy { order: 2; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border: 1px solid var(--ink); border-radius: var(--r); font: 500 .78rem/1 var(--display); color: var(--ink); }
.pill svg { width: 14px; height: 14px; }
.spec h3 { margin-top: 22px; }
.spec p { margin: 14px 0 26px; color: var(--muted); max-width: 42ch; }
.panel { background: var(--panel); border-radius: var(--r-lg); padding: clamp(18px, 3vw, 36px); display: grid; gap: 14px; position: relative; overflow: hidden; }
.panel .tile { border-radius: 12px; box-shadow: 0 16px 34px -18px rgba(15,15,15,.35); }
.panel.p-wide { grid-template-columns: 1.3fr 1fr; align-items: end; }
.panel.p-wide > .tile:first-of-type { grid-row: span 2; }
.panel.p-tall { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; }
.panel.p-mix { grid-template-columns: 1fr 1fr; }
.panel.p-mix > .tile:first-of-type { grid-column: 1 / -1; }
.panel .stamp { position: absolute; top: 16px; right: 16px; padding: 6px 10px; border-radius: 999px; background: var(--paper); font: 500 .72rem/1 var(--display); color: var(--ink); box-shadow: 0 6px 16px -8px rgba(0,0,0,.3); z-index: 2; }
@media (max-width: 860px) {
  .spec { grid-template-columns: 1fr; }
  .spec:nth-child(even) .spec-copy { order: 0; }
}

/* ---------- Service chips ---------- */
.chips-sec { padding-block: 48px clamp(70px, 9vw, 110px); }
.chips { list-style: none; margin: 0 auto; padding: 0; max-width: 900px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font: 500 .9rem/1 var(--display); color: var(--ink); }
.chips li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--tan); }
.chips-sec .btn { margin-top: 32px; }

/* ---------- Quote ---------- */
.quote { padding-block: 20px clamp(80px, 10vw, 120px); }
.quote blockquote { margin: 0 auto; max-width: 820px; text-align: center; }
.quote q { display: block; font: 500 clamp(1.3rem, 2.6vw, 1.75rem)/1.4 var(--display); color: var(--ink); quotes: "“" "”"; }
.quote cite { display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; font-style: normal; font-size: .9rem; color: var(--muted); }
.quote cite img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: center 20%; }
.quote cite b { display: block; color: var(--ink); font-weight: 600; }

/* ---------- Dark portfolio ---------- */
.showcase { background: var(--dark); color: var(--on-dark); padding-block: clamp(72px, 9vw, 104px); }
.showcase h2 { color: var(--on-dark); }
.showcase .lede { color: var(--on-dark-muted); margin-inline: 0; }
.sc-grid { margin-top: 48px; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.tabs { display: flex; flex-direction: column; border-top: 1px solid var(--dark-line); position: sticky; top: 100px; }
.tab { all: unset; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 22px 0; border-bottom: 1px solid var(--dark-line); color: var(--on-dark-muted); transition: color .2s; }
.tab:focus-visible { outline: 2px solid var(--tan); outline-offset: 4px; }
.tab strong { font: 500 1.1rem/1.3 var(--display); }
.tab span { font: 500 .8rem/1.6 var(--display); font-variant-numeric: tabular-nums; }
.tab small { grid-column: 1 / -1; font-size: .85rem; line-height: 1.5; display: none; }
.tab[aria-selected="true"] { color: var(--on-dark); }
.tab[aria-selected="true"] strong::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--tan); margin-right: 10px; vertical-align: middle; }
.tab[aria-selected="true"] small { display: block; color: var(--on-dark-muted); }
.tab:hover { color: var(--on-dark); }
.sc-stage { min-width: 0; }
.mason { display: flex; gap: 12px; align-items: flex-start; }
.mason .col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.mason .tile { border-radius: 14px; aspect-ratio: var(--r); }
.sc-stage .more { margin-top: 22px; }
@media (max-width: 860px) {
  .sc-grid { grid-template-columns: 1fr; }
  .tabs { position: static; flex-direction: row; overflow-x: auto; gap: 8px; border: 0; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; padding: 10px 14px; border: 1px solid var(--dark-line); border-radius: 999px; grid-template-columns: auto auto; }
  .tab strong { font-size: .9rem; }
  .tab small { display: none !important; }
  .tab[aria-selected="true"] { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }
  .tab[aria-selected="true"] strong::before { display: none; }
}

/* ---------- Process accordion ---------- */
.process { background: var(--grey); padding-block: clamp(72px, 9vw, 104px); }
.pr-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.pr-grid .lede { margin-inline: 0; }
.pr-grid .btn { margin-top: 28px; }
.acc { border-top: 1px solid #d6d3d1; }
.acc details { border-bottom: 1px solid #d6d3d1; }
.acc summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 24px 0; font: 500 1.15rem/1.3 var(--display); color: var(--ink); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .n { font: 500 .8rem/1 var(--display); color: var(--tan); font-variant-numeric: tabular-nums; }
.acc summary .pm { width: 28px; height: 28px; border-radius: 50%; border: 1px solid #c9c5c2; display: grid; place-items: center; transition: transform .25s; }
.acc details[open] .pm { transform: rotate(45deg); }
.acc .body { padding: 0 44px 24px 36px; color: var(--muted); }
.acc .body p { margin: 0; }
.tool-icons { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tool-icons img { width: 40px; height: 40px; border-radius: 9px; object-fit: cover; }
@media (max-width: 860px) { .pr-grid { grid-template-columns: 1fr; } .acc .body { padding-right: 0; } }

/* ---------- Closing CTA ---------- */
.closer { padding-block: clamp(80px, 10vw, 120px) 0; overflow: hidden; }
.closer .btn { margin-top: 28px; }
.closer .mail { display: block; margin-top: 14px; font-size: .9rem; color: var(--muted); user-select: all; }
.wall { min-height: 260px; margin-top: 64px; display: flex; flex-direction: column; gap: 14px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.lane { display: flex; gap: 14px; width: max-content; animation: lane 60s linear infinite; }
.lane.rev { animation-direction: reverse; animation-duration: 70s; }
.wall:hover .lane { animation-play-state: paused; }
.lane .tile { height: clamp(120px, 15vw, 180px); width: auto; aspect-ratio: var(--r); flex: none; border-radius: 12px; }
@keyframes lane { to { transform: translateX(-50%); } }

/* ---------- Footer ---------- */
.foot { padding-block: 88px 36px; }
.foot-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 32px; }
.foot h4 { font: 600 .8rem/1 var(--display); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 16px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot a { text-decoration: none; color: var(--ink); }
.foot a:hover { text-decoration: underline; text-decoration-color: var(--tan); }
.foot .blurb { max-width: 30ch; color: var(--muted); margin: 14px 0 0; font-size: .95rem; }
.foot-base { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; font-size: .85rem; color: var(--muted); }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Inner pages ---------- */
.page-head { position: relative; padding-block: clamp(56px, 8vw, 96px) 40px; overflow: hidden; }
.page-head .wrap { position: relative; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 28px; }
.chip-btn { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; font: 500 .88rem/1 var(--display); color: var(--ink); }
.chip-btn sup { font-size: .68rem; margin-left: 3px; color: var(--muted); }
.chip-btn[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip-btn[aria-pressed="true"] sup { color: #cfcac6; }
.work-list { padding-bottom: 40px; }
.work-sec { padding-block: 40px; border-top: 1px solid var(--line); }
.work-sec:first-child { border-top: 0; }
.work-sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.work-sec-head p { margin: 4px 0 0; color: var(--muted); font-size: .95rem; }
.work-sec-head .count { font: 500 .85rem/1 var(--display); color: var(--muted); }
.work-sec .mason .tile { box-shadow: none; }

.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 80px); align-items: center; padding-bottom: clamp(64px, 9vw, 104px); }
.about-photo { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--panel); aspect-ratio: 4 / 5; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.about-photo figcaption { position: absolute; right: 12px; bottom: 10px; font: 500 .7rem/1 var(--display); color: rgba(255,255,255,.75); }
.about-copy p { color: var(--muted); font-size: 1.05rem; max-width: 52ch; }
.about-copy .btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.facts { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.facts li { padding: 14px 0; border-top: 1px solid var(--line); font-size: .95rem; }
.facts b { display: block; font: 600 .75rem/1.4 var(--display); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } .about-photo { max-width: 420px; } }

/* ---------- Tiles ---------- */
.tile { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #e8e5e2; cursor: zoom-in; overflow: hidden; }
.on-dark .tile, .showcase .tile, .screen .tile, .phone .tile { background: var(--dark-2); }
.tile img, .tile video { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.tile:hover img, .tile:hover video { transform: scale(1.03); }
.tile .dur {
  position: absolute; left: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border-radius: 8px;
  background: rgba(15,15,15,.82); color: #fff; font: 500 11px/1 var(--display); font-variant-numeric: tabular-nums; pointer-events: none; transition: opacity .2s;
}
.tile .dur svg { width: 8px; height: 8px; fill: currentColor; }
.tile.is-previewing .dur { opacity: 0; }

/* ---------- Lightbox ---------- */
body.lb-open { overflow: hidden; }
.lb {
  position: fixed; inset: 0; z-index: 100; background: #0b0a0b; color: #fff;
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto;
  padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
  animation: fade .2s ease both;
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.lb-top { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 16px; padding: 12px 20px; }
.lb-cat { margin: 0; font: 500 .9rem/1.2 var(--display); }
.lb-count { margin: 0; font: 500 .8rem/1 var(--display); color: #a7a3a6; font-variant-numeric: tabular-nums; }
.lb-stage { position: relative; min-height: 0; overflow: hidden; touch-action: pan-y; }
.lb-stage .slide { position: absolute; inset: 0 clamp(8px, 7vw, 96px); display: flex; align-items: center; justify-content: center; animation: slideIn .28s cubic-bezier(.2,.7,.2,1) both; }
.lb-stage .slide.from-left { animation-name: slideInL; }
@keyframes slideIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes slideInL { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
.lb-stage img, .lb-stage video { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 6px; background: #000; user-select: none; -webkit-user-drag: none; }
.lb-btn { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; border: 1px solid rgba(255,255,255,.18); background: rgba(30,28,30,.85); color: #fff; font-size: 17px; transition: background .2s; }
.lb-btn:hover { background: var(--tan); border-color: var(--tan); }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
.lb-prev { left: 12px; } .lb-next { right: 12px; }
.lb-strip { display: flex; gap: 6px; overflow-x: auto; padding: 10px 20px 16px; scrollbar-width: none; }
.lb-strip::-webkit-scrollbar { display: none; }
.lb-strip button { flex: none; width: 56px; height: 40px; padding: 0; border: 1px solid transparent; border-radius: 6px; overflow: hidden; background: #2a272a; opacity: .45; cursor: pointer; transition: opacity .2s; }
.lb-strip button:hover { opacity: .8; }
.lb-strip button[aria-current="true"] { opacity: 1; border-color: #fff; }
.lb-strip img, .lb-strip video { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
@media (max-width: 760px) {
  .lb-nav { top: auto; bottom: 80px; transform: none; width: 44px; height: 44px; }
  .lb-stage .slide { inset: 0 8px 64px; }
}
.panel .tile { aspect-ratio: var(--r); }
.cite-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--tan); }

@media (max-width: 760px) { .br-d { display: none; } }

/* ---------- Hero as social posts ---------- */
.fan.ig { height: auto; display: flex; justify-content: center; align-items: center; gap: 0; margin-top: 52px; padding-bottom: 72px; }
.fan.ig > * { position: relative; bottom: auto; }
.ig-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; text-align: left; box-shadow: 0 30px 60px -28px rgba(15,15,15,.35); }
.ig-card.main { width: min(52%, 500px); z-index: 2; }
.ig-card.side { width: min(25%, 230px); z-index: 1; opacity: .97; }
.ig-card.side.l { transform: rotate(-5deg) translateX(18px) translateY(14px); }
.ig-card.side.r { transform: rotate(5deg) translateX(-18px) translateY(14px); }
.ig-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 10px 12px; }
.ig-av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font: 700 .7rem/1 var(--display); color: #fff; background: var(--ink); box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--tan); }
.ig-head b { display: block; font: 600 .85rem/1.2 var(--display); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ig-head small { display: block; font-size: .72rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ig-more { color: var(--ink); font-size: .75rem; letter-spacing: 1px; }
.ig-media { position: relative; background: #111; }
.ig-media .tile { aspect-ratio: var(--r); border-radius: 0; }
.ig-media .tile:hover img, .ig-media .tile:hover video { transform: none; }
.ig-media.reel .tile { aspect-ratio: 9 / 14; }
.ig-badge { position: absolute; top: 10px; right: 10px; z-index: 2; width: 22px; height: 22px; color: #fff; filter: drop-shadow(0 1px 3px rgba(0,0,0,.5)); pointer-events: none; }
.ig-sound { position: absolute; right: 10px; bottom: 10px; z-index: 2; padding: 6px 10px; border-radius: 999px; background: rgba(15,15,15,.72); color: #fff; font: 500 .72rem/1 var(--display); pointer-events: none; }
.ig-actions { display: flex; align-items: center; gap: 14px; padding: 10px 12px 4px; color: var(--ink); }
.ig-actions svg { width: 22px; height: 22px; }
.ig-actions .sp { flex: 1; }
.ig-card.side .ig-actions { gap: 10px; padding-bottom: 10px; }
.ig-card.side .ig-actions svg { width: 18px; height: 18px; }
.ig-cap { margin: 0; padding: 4px 12px 14px; font-size: .84rem; line-height: 1.45; color: var(--text); }
.ig-cap b { color: var(--ink); font-weight: 600; margin-right: 4px; }
.ig-cap span { color: #6b5a4e; }
.fan.ig .float-chip { position: absolute; }
@media (max-width: 760px) {
  .fan.ig { margin-top: 32px; padding-bottom: 48px; }
  .ig-card.main { width: 100%; max-width: 460px; }
  .ig-card.side { display: none; }
}
.ig-sound::after { content: "Click for sound"; }
@media (hover: none) { .ig-sound::after { content: "Tap for sound"; } }

/* =========================================================
   Round 3: one CTA, contrast rhythm, visual process, new pages
   ========================================================= */
.eyebrow { display: inline-block; font: 600 .75rem/1.2 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--tan); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #3fa66b; box-shadow: 0 0 0 4px rgba(63,166,107,.15); vertical-align: middle; margin-right: 8px; }
.hero-note { display: inline-flex; align-items: center; color: var(--muted); }
.tlink { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; font: 500 .95rem/1.2 var(--display); color: var(--ink); text-decoration: underline; text-decoration-color: var(--tan); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.tlink:hover .arr { transform: translateX(3px); }
.tlink .arr { transition: transform .2s; }
.tlink:focus-visible { outline: 2px solid var(--tan); outline-offset: 4px; }

/* Dark client band with moving logos */
.band { background: var(--dark); padding-block: 30px; overflow: hidden; }
.marquee { display: flex; width: max-content; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mq-track { list-style: none; margin: 0; padding: 0 28px 0 0; display: flex; align-items: center; gap: 56px; flex: none; animation: mq 38s linear infinite; }
.band:hover .mq-track { animation-play-state: paused; }
@keyframes mq { to { transform: translateX(-100%); } }
.mq-track img { height: 30px; width: auto; max-width: 160px; object-fit: contain; }
.mq-track .word { font: 600 1.35rem/1 var(--display); color: #fff; opacity: .92; white-space: nowrap; letter-spacing: -.01em; }
.band .marquee { width: 100%; }
@media (prefers-reduced-motion: reduce) { .marquee { flex-wrap: wrap; justify-content: center; } .mq-track[aria-hidden] { display: none; } .mq-track { flex-wrap: wrap; justify-content: center; gap: 24px 40px; } }

/* Specialty text links replace the extra black buttons */
.spec .tlink { margin-top: 4px; }

/* Grey services band */
.svc-band { background: var(--grey); padding-block: clamp(64px, 8vw, 96px); }
.svc-band .chips { margin-top: 28px; }
.svc-band .tlink { margin-top: 30px; }

/* Process: dark, visual, step by step */
.process { background: var(--dark); color: var(--on-dark); }
.process h2, .process h3 { color: var(--on-dark); }
.process .lede { color: var(--on-dark-muted); margin-inline: 0; }
.pr-head { max-width: 640px; }
.flow { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: none; }
.step { background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: 20px; padding: 16px 16px 22px; display: flex; flex-direction: column; gap: 10px; }
.step h3 { font-size: 1.15rem; line-height: 1.25; }
.step p { margin: 0; font-size: .9rem; color: var(--on-dark-muted); }
.viz { height: 132px; border-radius: 12px; background: #262426; margin-bottom: 8px; position: relative; overflow: hidden; display: grid; place-items: center; }
.viz-brief .doc { width: 70%; background: #f4f1ee; border-radius: 8px; padding: 10px 12px; display: grid; gap: 6px; }
.viz-brief .doc b { font: 600 .72rem/1 var(--display); color: var(--ink); }
.viz-brief .doc i { display: block; height: 5px; border-radius: 3px; background: #d8d2cc; }
.viz-brief .doc i.s { width: 60%; }
.viz-brief .tags { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 2px; }
.viz-brief .tags span { font: 500 .58rem/1 var(--display); padding: 4px 6px; border-radius: 999px; background: var(--tan-soft); color: #5b463a; }
.viz-frames { display: flex; gap: 8px; padding: 0 10px; }
.viz-frames img { width: 30%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; opacity: .55; }
.viz-frames img.pick { opacity: 1; outline: 2px solid var(--tan); outline-offset: 2px; transform: translateY(-4px); }
.viz-timeline { padding: 18px 14px; display: flex; flex-direction: column; gap: 10px; place-items: stretch; justify-content: center; }
.viz-timeline .track { position: relative; height: 18px; border-radius: 5px; background: #333033; }
.viz-timeline .kf { position: absolute; top: 4px; width: 10px; height: 10px; background: var(--tan); transform: rotate(45deg); }
.viz-timeline .head { position: absolute; top: -6px; bottom: -36px; width: 2px; background: #fff; }
.viz-timeline .t2 .clip { position: absolute; top: 3px; height: 12px; border-radius: 3px; background: #6f5d52; }
.viz-timeline .review { display: flex; justify-content: space-around; }
.viz-timeline .review span { font: 500 .6rem/1 var(--display); color: var(--on-dark-muted); border: 1px solid var(--dark-line); border-radius: 999px; padding: 4px 7px; }
.viz-formats { display: flex; align-items: flex-end; justify-content: center; gap: 8px; padding: 14px; }
.viz-formats span { display: grid; place-items: center; border: 1.5px solid var(--tan); border-radius: 6px; font: 600 .62rem/1 var(--display); color: #f4f1ee; background: rgba(178,146,125,.12); }
.viz-formats .f169 { width: 64px; height: 36px; } .viz-formats .f916 { width: 34px; height: 60px; }
.viz-formats .f11 { width: 44px; height: 44px; } .viz-formats .f45 { width: 40px; height: 50px; }
.toolkit { margin-top: 40px; display: flex; align-items: center; flex-wrap: wrap; gap: 14px 18px; padding-top: 28px; border-top: 1px solid var(--dark-line); }
.tk-label { font: 600 .75rem/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-muted); }
.toolkit .tool-icons { margin: 0 12px 0 0; }
.toolkit .tool-icons img { width: 36px; height: 36px; border-radius: 8px; }
.ai-chips { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.ai-chips li { padding: 8px 12px; border-radius: 999px; border: 1px solid var(--dark-line); font: 500 .85rem/1 var(--display); color: var(--on-dark); }
@media (max-width: 1000px) { .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .flow { grid-template-columns: 1fr; } }

/* Closing CTA */
.closer-cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.closer .btn { margin-top: 0; }
.avail { margin: 18px auto 0; font-size: .9rem; color: var(--text); display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; max-width: 60ch; }
.closer .mail { margin-top: 10px; font-size: .9rem; color: var(--muted); user-select: text; }
.closer .mail span { user-select: all; }
.closer .mail a { color: var(--ink); }

/* "Open" cue on image tiles, so it's clear pieces can be clicked */
.tile .zoom { position: absolute; right: 8px; bottom: 8px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(15,15,15,.72); color: #fff; opacity: .85; transition: opacity .2s, transform .2s; pointer-events: none; }
.tile .zoom svg { width: 13px; height: 13px; }
.tile:hover .zoom { opacity: 1; transform: scale(1.08); }
.tile .dur { padding: 6px 9px; font-size: 12px; }

/* Work page */
.sec-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 28px; }
.cases { background: var(--grey); padding-block: clamp(56px, 8vw, 88px); }
#cases { display: flex; flex-direction: column; gap: clamp(32px, 5vw, 56px); }
.case { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.case.tall { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); }
.case.flip .case-media { order: 2; }
.case-media .tile { border-radius: 18px; aspect-ratio: var(--r); box-shadow: 0 24px 50px -24px rgba(15,15,15,.4); }
.case.tall .case-media { max-width: 340px; justify-self: center; width: 100%; }
.case-copy p { color: var(--muted); margin: 14px 0 0; max-width: 46ch; }
.case-copy h3 { margin-top: 10px; }
.case-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; margin: 22px 0 22px; }
.case-facts div { padding: 12px 0; border-top: 1px solid #d6d3d1; }
.case-facts dt { font: 600 .72rem/1.4 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.case-facts dd { margin: 2px 0 0; font-size: .95rem; color: var(--ink); }
.all-work { padding-block: clamp(56px, 8vw, 88px) 24px; }
.all-work .filters { justify-content: flex-start; margin: 0 0 8px; }
.work-sec-head { margin-bottom: 20px; }
.work-sec-head p { margin: 6px 0 0; color: var(--muted); font-size: .95rem; max-width: 60ch; }
@media (max-width: 860px) {
  .case, .case.tall { grid-template-columns: 1fr; }
  .case.flip .case-media { order: 0; }
}

/* Services page */
.svcs { display: flex; flex-direction: column; gap: clamp(56px, 8vw, 96px); padding-block: 16px clamp(72px, 9vw, 104px); }
.svc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.svc:nth-child(even) .svc-copy { order: 2; }
.svc-copy p { color: var(--muted); margin: 12px 0 22px; max-width: 44ch; }
.svc-copy .label { margin: 0 0 10px; font: 600 .75rem/1.2 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.gets { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 8px; }
.gets li { display: flex; gap: 10px; align-items: baseline; color: var(--ink); }
.gets li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--tan); transform: translateY(-2px); }
.svc-media { background: var(--panel); border-radius: var(--r-lg); padding: clamp(16px, 3vw, 28px); display: flex; gap: 12px; align-items: center; justify-content: center; }
.svc-media .tile { flex: 1 1 0; min-width: 0; aspect-ratio: var(--r); border-radius: 12px; box-shadow: 0 16px 34px -18px rgba(15,15,15,.35); }
.svc-media .tile[style*="--r: 0.5625"] { flex: 0 1 34%; }
@media (max-width: 860px) { .svc { grid-template-columns: 1fr; } .svc:nth-child(even) .svc-copy { order: 0; } }

/* About page */
.page-head .eyebrow { margin-bottom: 14px; }
.about-photo img { object-position: center; }
.about-copy .big { font: 500 clamp(1.25rem, 2.2vw, 1.55rem)/1.4 var(--display); color: var(--ink); margin-top: 0; }
.bring { background: var(--grey); padding-block: clamp(64px, 8vw, 96px); }
.bring-grid { margin-top: 36px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.bring-grid article { background: var(--paper); border-radius: 20px; padding: 24px; }
.bring-grid h3 { font-size: 1.2rem; margin: 10px 0 8px; }
.bring-grid p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) { .bring-grid { grid-template-columns: 1fr; } }
.facts li { line-height: 1.45; }
.avail { display: block; text-align: center; margin-inline: auto; }
.toolkit { display: grid; gap: 18px; }
.tk-group { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; }
.tk-group .tk-label { min-width: 150px; }
.mq-track .word { display: inline-flex; align-items: center; gap: 10px; }
.mq-track .word .ico { height: 28px; width: 28px; max-width: none; }
.mq-track .word img:not(.ico) { height: 28px; }

/* Case studies page */
.cs { padding-block: clamp(56px, 8vw, 96px); }
.cs.alt { background: var(--grey); }
.cs-head { max-width: 760px; }
.cs-head .h2 { margin-top: 12px; }
.cs-head .lede { margin: 14px 0 0; }
.cs-body { margin-top: 36px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.cs-body.tall { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); }
.cs-media .tile { border-radius: 18px; aspect-ratio: var(--r); box-shadow: 0 24px 50px -24px rgba(15,15,15,.4); }
.cs-body.tall .cs-media { max-width: 360px; width: 100%; justify-self: center; }
.cs-side .case-facts { margin-top: 0; }
.cs-block { margin-top: 22px; }
.cs-block .label { margin: 0 0 8px; font: 600 .75rem/1.2 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--tan); }
.cs-block p { margin: 0 0 10px; color: var(--text); }
@media (max-width: 860px) { .cs-body, .cs-body.tall { grid-template-columns: 1fr; } }

/* Specialties as equal-size cards: grey box holding the copy and the work side by side */
.specs { gap: 24px; }
.spec { background: var(--panel); border-radius: 28px; padding: clamp(20px, 3.5vw, 40px); grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(24px, 4vw, 48px); }
.spec-copy { padding: clamp(4px, 1.5vw, 16px); }
.spec .panel { background: transparent; padding: 0; height: clamp(320px, 34vw, 420px); border-radius: 18px; overflow: hidden; box-shadow: none; }
.spec .panel .tile { aspect-ratio: auto; height: 100%; width: 100%; box-shadow: none; border-radius: 14px; }
.spec .panel.p-mix { grid-template-columns: 1fr 1fr; grid-template-rows: 3fr 2fr; gap: 10px; }
.spec .panel.p-mix > .tile:first-of-type { grid-column: 1 / -1; }
.spec .panel.p-tall { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: 1fr; gap: 10px; }
.spec .stamp { top: 12px; right: 12px; }
@media (max-width: 860px) { .spec .panel { height: 300px; } }
.spec { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }

/* =========================================================
   Round 6: hero cut line (uxfol.io style) + white logo strip
   ========================================================= */
.hero.center { border-bottom: 1px solid var(--line); }
.fan.ig {
  align-items: flex-start; padding-bottom: 0; margin-bottom: 0;
  height: clamp(260px, 37vw, 380px);
  /* clip only the bottom edge so the posts look like they sit inside the hero */
  clip-path: inset(-80px -80px 0 -80px);
}
.ig-card.side.l { transform: rotate(-5deg) translateX(18px) translateY(64px); }
.ig-card.side.r { transform: rotate(5deg) translateX(-18px) translateY(64px); }
@media (max-width: 760px) {
  .fan.ig { height: calc((min(100vw, 460px) - 32px) * .5625 + 86px); }
}

.band { background: var(--paper); padding-block: 44px 40px; }
.mq-track .word { color: var(--ink); opacity: 1; }

/* =========================================================
   Round 7: case studies as compact cards that open in place
   ========================================================= */
#case-list { display: grid; gap: 20px; padding-block: clamp(32px, 5vw, 56px) clamp(56px, 8vw, 96px); width: min(1120px, calc(100% - 32px)); margin-inline: auto; }
.csx { background: var(--panel); border-radius: 28px; overflow: hidden; scroll-margin-top: 90px; transition: box-shadow .3s; }
.csx.open { box-shadow: 0 30px 60px -40px rgba(15,15,15,.35); }
.csx-sum { all: unset; box-sizing: border-box; cursor: pointer; width: 100%; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(20px, 3.5vw, 44px); align-items: center; padding: clamp(14px, 2vw, 22px); }
.csx-sum:focus-visible { outline: 2px solid var(--tan); outline-offset: -4px; border-radius: 28px; }
.csx-cover { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; background: #ddd; }
.csx-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.csx-sum:hover .csx-cover img { transform: scale(1.04); }
.csx-play { position: absolute; left: 14px; bottom: 14px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.92); color: var(--ink); font-size: .7rem; padding-left: 2px; box-sizing: border-box; }
.csx-text { display: flex; flex-direction: column; gap: 12px; padding-right: clamp(0px, 2vw, 20px); }
.csx-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.csx-n { font: 600 .75rem/1 var(--display); color: var(--muted); }
.csx-client { font: 500 .8rem/1 var(--display); color: var(--muted); }
.csx-client::before { content: "·"; margin-right: 12px; }
.csx-title { font: 600 clamp(1.3rem, 2.2vw, 1.75rem)/1.2 var(--display); color: var(--ink); letter-spacing: -.015em; }
.csx-lede { color: var(--text); font-size: .98rem; line-height: 1.55; }
.csx-tools { font-size: .82rem; color: var(--muted); }
.csx-open { margin-top: 6px; display: inline-flex; align-items: center; gap: 12px; font: 500 .92rem/1 var(--display); color: var(--ink); }
.csx-plus { position: relative; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); flex: none; transition: transform .35s; }
.csx-plus::before, .csx-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; background: #fff; transform: translate(-50%, -50%); }
.csx-plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .35s; }
.csx.open .csx-plus::after { transform: translate(-50%, -50%) rotate(0deg); }

.csx-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s cubic-bezier(.2,.7,.2,1); }
.csx.open .csx-body { grid-template-rows: 1fr; }
.csx-in { overflow: hidden; min-height: 0; padding-inline: clamp(14px, 3vw, 44px); }
.csx.open .csx-in { padding-bottom: clamp(24px, 4vw, 44px); }
.csx-in .label { margin: 0 0 10px; font: 600 .75rem/1.2 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--tan); }
.csx-in p { margin: 0 0 12px; color: var(--text); line-height: 1.65; }
.csx-facts { margin: 8px 0 0; padding: 20px 0; border-block: 1px solid var(--line); display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px 24px; }
.csx-facts dt { font-size: .75rem; color: var(--muted); }
.csx-facts dd { margin: 4px 0 0; font: 500 .92rem/1.35 var(--display); color: var(--ink); }
.csx-cols { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 56px); }
.csx-hero { margin: 28px 0 0; }
.csx-hero .tile, .csx-fig-m .tile { width: 100%; aspect-ratio: var(--r); border-radius: 18px; box-shadow: none; }
.csx-approach { margin-top: 32px; max-width: 760px; }
.csx-details { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.csx-fig { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.csx-fig-m .tile { aspect-ratio: 16 / 10; }
.csx-fig-m .tile img { object-fit: cover; }
.csx-fig figcaption { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: .92rem; line-height: 1.55; color: var(--text); }
.csx-fig-n { grid-row: span 2; font: 600 .75rem/1.6 var(--display); color: var(--tan); }
.csx-fig figcaption b { font: 600 1rem/1.3 var(--display); color: var(--ink); }
.csx-foot { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.csx-tb { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.csx-tb li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--paper); font: 500 .85rem/1 var(--display); color: var(--ink); }
.csx-tb .tb { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; font: 700 .7rem/1 var(--display); }
@media (max-width: 860px) {
  .csx-sum { grid-template-columns: 1fr; }
  .csx-text { padding: 0 6px 6px; }
  .csx-cols, .csx-details { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .csx-body, .csx-plus::after { transition: none; } }
.csx-fig-m .tile { aspect-ratio: var(--r); }
.csx-details { align-items: start; }
.csx-hero.tall { max-width: 480px; }
.csx-cover img { object-position: var(--cp, 50% 50%); }
.csx-hero.tall { max-width: none; }
.csx-mid.tall { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 56px); align-items: center; margin-top: 28px; }
.csx-mid.tall .csx-hero, .csx-mid.tall .csx-approach { margin: 0; }
@media (max-width: 860px) { .csx-mid.tall { grid-template-columns: 1fr; } }
.csx-details { margin-top: 32px; }

/* Round 8: illustrated mark, name above the hero headline */
.logo-mark { width: 34px; height: 34px; border-radius: 9px; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.logo-mark img { width: 100%; height: 100%; display: block; }
.hero-who { margin: 0 0 18px; }
.ig-av { overflow: hidden; background: #fff; } .ig-av img { width: 100%; height: 100%; display: block; }

/* FAQ (About) */
.faq { padding-block: clamp(56px, 8vw, 96px); }
.faq-list { margin-top: 28px; display: grid; gap: 12px; max-width: 860px; }
.faq details { background: var(--panel); border-radius: 18px; padding: 18px 22px; }
.faq summary { cursor: pointer; list-style: none; font: 600 1.02rem/1.4 var(--display); color: var(--ink); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 500; font-size: 1.3rem; line-height: 1; color: var(--tan); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 12px 0 0; color: var(--text); line-height: 1.65; }
