/* ARMADA v2 — editorial, mobile-first. Based on the Hybrid Angle ARMADA print kit:
   warm paper, forest green, light grotesk display type, small tracked labels, thin rules. */

:root {
  --paper: #f0efec;
  --paper-2: #e6e4df;
  --ink: #141816;
  --ink-2: #4a4f4c;
  --muted: #7b807d;
  --green: #0f3326;
  --green-2: #164536;
  --on-green: #eef1ee;
  --rule: rgb(20 24 22 / .16);
  --gold: #c9ab5c;            /* optional accent, used sparingly */

  --font: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --gutter: clamp(20px, 5vw, 64px);
  --max: 1440px;
  --gap: clamp(8px, 1.2vw, 14px);

  --t-display: clamp(2.6rem, 1.4rem + 6vw, 7rem);
  --t-h1: clamp(2.2rem, 1.3rem + 4vw, 5rem);
  --t-h2: clamp(1.7rem, 1.1rem + 2.4vw, 3.2rem);
  --t-h3: clamp(1.2rem, 1rem + .8vw, 1.6rem);
  --t-lead: clamp(1.1rem, 1rem + .5vw, 1.45rem);
  --t-body: clamp(1rem, .96rem + .2vw, 1.1rem);
  --t-label: .72rem;

  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: var(--t-body); line-height: 1.55; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 200; background: var(--ink); color: var(--paper); padding: 10px 14px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- type ---------- */
.display, h1, h2, h3 { font-weight: 300; letter-spacing: -.035em; line-height: 1.02; margin: 0; }
.display { font-size: var(--t-display); }
h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); line-height: 1.08; }
h3 { font-size: var(--t-h3); letter-spacing: -.015em; line-height: 1.2; font-weight: 400; }
.lead { font-size: var(--t-lead); line-height: 1.45; color: var(--ink-2); font-weight: 300; max-width: 38ch; }
.label {
  font-size: var(--t-label); font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: .8em; margin: 0;
}
.label::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.label.plain::before { display: none; }
p { margin: 0 0 1.1em; }
.muted { color: var(--muted); }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .7em; min-height: 48px; padding: 0 1.5em;
  border: 1px solid var(--ink); background: var(--ink); color: var(--paper);
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: background .2s, color .2s;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }
.on-green .btn { border-color: var(--on-green); background: var(--on-green); color: var(--green); }
.on-green .btn:hover { background: transparent; color: var(--on-green); }
.arrow-link { display: inline-flex; align-items: center; gap: .6em; text-decoration: none; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.arrow-link::after { content: "→"; transition: transform .2s; }
.arrow-link:hover::after { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgb(240 239 236 / .97);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--rule); }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.lockup { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.lockup img { width: 40px; height: 40px; filter: invert(1); }
.lockup span { font-size: .78rem; line-height: 1.05; letter-spacing: .02em; text-transform: uppercase; font-weight: 400; }
.nav { display: none; align-items: center; gap: clamp(1.2rem, 2.4vw, 2.4rem); }
.nav a { text-decoration: none; font-size: .9rem; font-weight: 500; position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { min-height: 40px; }
.menu-btn { display: inline-flex; align-items: center; gap: .6em; background: none; border: 0; padding: 10px 0; cursor: pointer; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.menu-btn i { width: 22px; height: 8px; position: relative; display: inline-block; }
.menu-btn i::before, .menu-btn i::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .25s, top .25s; }
.menu-btn i::before { top: 0; } .menu-btn i::after { top: 6.5px; }
@media (min-width: 900px) { .nav { display: flex; } .menu-btn { display: none; } }

.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: var(--green); color: var(--on-green);
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px; display: flex; flex-direction: column; justify-content: space-between;
  transform: translateY(-100%); transition: transform .3s cubic-bezier(.4,0,.2,1), visibility 0s .3s; visibility: hidden;
}
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { font-size: clamp(2.2rem, 11vw, 3.4rem); font-weight: 300; letter-spacing: -.03em; text-decoration: none; padding: .12em 0; border-bottom: 1px solid rgb(238 241 238 / .18); display: flex; justify-content: space-between; align-items: baseline; }
.mobile-menu nav a small { font-size: .8rem; letter-spacing: .1em; opacity: .6; }
.mobile-menu .contact-lines { font-size: 1rem; display: grid; gap: .3rem; }
.mobile-menu .contact-lines a { text-decoration: none; }
body.menu-open { overflow: hidden; }
body.menu-open .mobile-menu { transform: none; visibility: visible; transition: transform .3s cubic-bezier(.4,0,.2,1); }
body.menu-open .site-header { background: transparent; backdrop-filter: none; color: var(--on-green); border-color: transparent; }
body.menu-open .lockup { color: var(--on-green); }
body.menu-open .lockup img { filter: none; }
body.menu-open .menu-btn i::before { top: 3px; transform: rotate(45deg); }
body.menu-open .menu-btn i::after { top: 3px; transform: rotate(-45deg); }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 10vw, 140px) 0; }
.section.tight { padding: clamp(40px, 6vw, 80px) 0; }
.section-head { display: grid; gap: 1.2rem; margin-bottom: clamp(32px, 5vw, 64px); }
@media (min-width: 900px) { .section-head.split { grid-template-columns: 1fr 1fr; align-items: end; } }
.rule { border: 0; border-top: 1px solid var(--rule); margin: 0; }
.on-green { background: var(--green); color: var(--on-green); }
.on-green .lead, .on-green .muted { color: rgb(238 241 238 / .72); }

/* ---------- home hero ---------- */
.hero { padding: clamp(32px, 7vw, 96px) 0 clamp(24px, 4vw, 48px); }
.hero .display { max-width: 14ch; }
.hero-foot { display: grid; gap: 1.6rem; margin-top: clamp(24px, 4vw, 48px); }
@media (min-width: 900px) { .hero-foot { grid-template-columns: 1fr auto; align-items: end; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.reel { position: relative; background: var(--ink); aspect-ratio: 4/5; overflow: hidden; }
@media (min-width: 700px) { .reel { aspect-ratio: 16/9; } }
.reel video, .reel img { width: 100%; height: 100%; object-fit: cover; }
.reel-toggle {
  position: absolute; left: var(--gutter); bottom: 20px; display: inline-flex; align-items: center; gap: .6em;
  background: rgb(240 239 236 / .92); border: 0; padding: .7em 1em; cursor: pointer;
  font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
}
.reel-toggle::before { content: ""; width: 0; height: 0; border-left: 8px solid currentColor; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.playing > .reel-toggle::before, .reel.playing .reel-toggle::before { width: 8px; height: 10px; border: 0; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }

/* ---------- featured work (home) ---------- */
.features { display: grid; gap: clamp(40px, 6vw, 72px) var(--gap); }
@media (min-width: 760px) { .features { grid-template-columns: 1fr 1fr; } .features .feature:first-child { grid-column: 1 / -1; } }
.feature { text-decoration: none; display: block; }
.feature .media { overflow: hidden; aspect-ratio: 4/3; background: var(--paper-2); }
.feature:first-child .media { aspect-ratio: 4/3; }
@media (min-width: 760px) { .feature:first-child .media { aspect-ratio: 21/9; } }
.feature img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease-out; }
.feature:hover img { transform: scale(1.035); }
.feature .meta { display: grid; grid-template-columns: auto 1fr; gap: .3rem 1.2rem; padding-top: 1rem; }
.feature .num { font-size: .8rem; font-weight: 600; letter-spacing: .1em; padding-top: .35em; color: var(--muted); }
.feature h3 { font-size: var(--t-h3); }
.feature p { grid-column: 2; margin: 0; color: var(--ink-2); }

/* ---------- approach (home) ---------- */
.approach { display: grid; gap: clamp(32px, 5vw, 80px); align-items: center; }
@media (min-width: 900px) { .approach { grid-template-columns: 1.1fr 1fr; } }
.approach .photo { aspect-ratio: 4/5; overflow: hidden; }
.approach .photo img { width: 100%; height: 100%; object-fit: cover; }
.approach h2 { margin: 1.2rem 0 1.4rem; max-width: 16ch; }
.approach .lead { max-width: 46ch; margin-bottom: 1.6rem; }
.roles { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgb(238 241 238 / .2); }
.roles li { padding: .9rem 0; border-bottom: 1px solid rgb(238 241 238 / .2); font-size: .95rem; }
.roles li:nth-child(odd) { padding-right: 1rem; }

/* ---------- clients ---------- */
.clients { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(8px, 2vw, 24px) clamp(16px, 4vw, 48px); padding: 0; margin: 0; list-style: none; }
@media (min-width: 760px) { .clients { grid-template-columns: repeat(6, 1fr); } }
.clients li { min-width: 0; aspect-ratio: 3/2; }
.clients li > a, .clients li > img { display: grid; place-items: center; width: 100%; height: 100%; padding: 6%; }
.clients img { width: 100%; height: 100%; object-fit: contain; filter: grayscale(1) contrast(1.1); mix-blend-mode: multiply; opacity: .7; transition: filter .3s, opacity .3s, transform .3s; }
.clients li > a img { padding: 0; }
.clients a:hover img, .clients a:focus-visible img { filter: none; opacity: 1; transform: scale(1.06); }
.clients a:focus-visible { outline: 1px solid var(--ink); outline-offset: 2px; }

/* work filter (from client logos) */
.work-filter { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .6rem 1.4rem; margin: 0 0 clamp(24px, 3vw, 40px); padding: 1rem 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.work-filter span { font-size: var(--t-h3); font-weight: 300; letter-spacing: -.015em; }
.card[hidden] { display: none; }

/* ---------- contact ---------- */
.contact { display: grid; gap: clamp(40px, 6vw, 96px); }
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 1.1fr; } }
.contact h2 { margin: 1.2rem 0 1.4rem; }
.contact-lines { display: grid; gap: .4rem; font-size: var(--t-lead); font-weight: 300; }
.contact-lines a { text-decoration: none; border-bottom: 1px solid transparent; width: fit-content; }
.contact-lines a:hover { border-bottom-color: currentColor; }
.form { display: grid; gap: 1.4rem; }
.form .row { display: grid; gap: 1.4rem; }
@media (min-width: 600px) { .form .row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .4rem; }
.field span { font-size: var(--t-label); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 1.05rem; color: inherit; background: transparent;
  border: 0; border-bottom: 1px solid currentColor; border-radius: 0; padding: .6rem 0; min-height: 48px;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-width: 2px; }
.form .hp { position: absolute; left: -9999px; }
.form-status { margin: 0; min-height: 1.4em; }
.form.sent > :not(.form-status) { display: none; }
.form.sent .form-status { font-size: var(--t-h3); }

/* ---------- footer ---------- */
.site-footer { background: var(--green); color: var(--on-green); padding: clamp(48px, 7vw, 96px) 0 28px; }
.footer-grid { display: grid; gap: 2.4rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer .lockup { color: var(--on-green); }
.site-footer .lockup img { filter: none; }
.site-footer h4 { margin: 0 0 .8rem; font-size: var(--t-label); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; opacity: .6; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-big { font-size: var(--t-h2); font-weight: 300; letter-spacing: -.03em; line-height: 1.05; margin: 1.6rem 0 0; max-width: 14ch; }
.footer-base { margin-top: clamp(40px, 6vw, 80px); padding-top: 20px; border-top: 1px solid rgb(238 241 238 / .18); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; font-size: .8rem; opacity: .7; }

/* ---------- work index ---------- */
.page-head { padding: clamp(40px, 8vw, 120px) 0 clamp(28px, 4vw, 56px); }
.page-head h1 { font-size: var(--t-display); }
.page-head .lead { margin-top: 1.2rem; }
.count { font-size: .8rem; font-weight: 600; letter-spacing: .14em; color: var(--muted); }
.work-grid { display: grid; gap: clamp(32px, 4vw, 56px) var(--gap); grid-template-columns: 1fr; padding-bottom: clamp(64px, 10vw, 140px); }
@media (min-width: 640px) { .work-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .work-grid { grid-template-columns: 1fr 1fr 1fr; } }
.card { text-decoration: none; display: block; }
.card .media { aspect-ratio: 4/3; overflow: hidden; background: var(--paper-2); }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease-out; }
.card:hover img { transform: scale(1.04); }
.card .meta { display: flex; justify-content: space-between; gap: 1rem; padding-top: .9rem; border-bottom: 1px solid var(--rule); padding-bottom: .9rem; }
.card h3 { font-size: 1.1rem; font-weight: 400; letter-spacing: -.01em; }
.card .num { font-size: .75rem; font-weight: 600; letter-spacing: .1em; color: var(--muted); padding-top: .2em; }

/* ---------- case study ---------- */
.case-head { padding-top: clamp(32px, 6vw, 96px); padding-bottom: clamp(24px, 4vw, 48px); display: grid; gap: 1.2rem; }
.case-head h1 { font-size: var(--t-display); max-width: 13ch; }
.case-head .sub { font-size: var(--t-h3); font-weight: 300; color: var(--ink-2); }
.case-hero { aspect-ratio: 4/5; overflow: hidden; background: var(--ink); }
@media (min-width: 700px) { .case-hero { aspect-ratio: 16/9; } }
.case-hero video, .case-hero img { width: 100%; height: 100%; object-fit: cover; }
.facts { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--rule); }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.facts div { padding: 1.1rem 1rem 1.1rem 0; border-bottom: 1px solid var(--rule); }
.facts dt { font-size: var(--t-label); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: .35rem; }
.facts dd { margin: 0; font-size: 1rem; }
.story { display: grid; gap: clamp(24px, 4vw, 64px); }
@media (min-width: 900px) { .story { grid-template-columns: 1fr 1.15fr; } }
.story h2 { max-width: 14ch; }
.story h2 em { font-style: normal; color: var(--green-2); }
.story .body { font-size: var(--t-lead); font-weight: 300; line-height: 1.55; color: var(--ink-2); max-width: 60ch; }
.films { display: grid; gap: var(--gap); }
.films .wide { aspect-ratio: 16/9; background: var(--ink); }
.films .pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.films .pair > div { aspect-ratio: 4/5; background: var(--ink); }
.films video { width: 100%; height: 100%; object-fit: cover; }
.photos { columns: 2; column-gap: var(--gap); }
@media (min-width: 900px) { .photos { columns: 3; } }
.photos figure { margin: 0 0 var(--gap); break-inside: avoid; background: var(--paper-2); }
.photos img { width: 100%; height: auto; cursor: zoom-in; }
.next-project { display: block; text-decoration: none; padding: clamp(48px, 8vw, 120px) 0; border-top: 1px solid var(--rule); }
.next-project .wrap { display: grid; gap: 1rem; }
.next-project h2 { font-size: var(--t-display); transition: transform .4s; }
.next-project:hover h2 { transform: translateX(10px); }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgb(14 18 16 / .96); display: none; align-items: center; justify-content: center; padding: 4vw; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 92vh; width: auto; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 2rem; cursor: pointer; padding: 12px 18px; }
.lightbox .lb-close { top: 8px; right: 8px; }
.lightbox .lb-prev { left: 4px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 4px; top: 50%; transform: translateY(-50%); }

/* reveal on scroll */
/* Only content below the first screen animates (html.js-reveal is set by v2.js), and quickly. */
.js-reveal .reveal:not(.in) { opacity: 0; transform: translateY(10px); }
.reveal { transition: opacity .4s ease-out, transform .4s ease-out; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js-reveal .reveal:not(.in) { opacity: 1; transform: none; }
}

/* ---------- home: video behind hero text ---------- */
.hero--media {
  position: relative; isolation: isolate; color: #fff;
  min-height: 100svh; margin-top: calc(-1 * var(--header-h));
  padding: calc(var(--header-h) + 40px) 0 clamp(36px, 6vw, 72px);
  display: flex; align-items: flex-end; background: var(--ink);
}
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-bg video { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgb(10 14 12 / .82) 0%, rgb(10 14 12 / .45) 45%, rgb(10 14 12 / .15) 75%, rgb(10 14 12 / .35) 100%);
}
.hero--media .hero-content { position: relative; }
.hero--media .lead { color: rgb(255 255 255 / .85); }
.hero--media .display { max-width: 15ch; text-shadow: 0 1px 30px rgb(0 0 0 / .25); }
.btn.light { background: #fff; border-color: #fff; color: var(--ink); }
.btn.light:hover { background: transparent; color: #fff; }
.btn.ghost.light { background: transparent; color: #fff; }
.btn.ghost.light:hover { background: #fff; color: var(--ink); }
.hero--media .reel-toggle {
  position: absolute; right: var(--gutter); top: calc(var(--header-h) + 16px); bottom: auto; left: auto;
  background: rgb(0 0 0 / .35); color: #fff;
  border: 1px solid rgb(255 255 255 / .35); display: none;
}
.hero--media.playing .reel-toggle { display: inline-flex; }
.hero--media.paused .reel-toggle { display: inline-flex; }

/* header sits transparent over the hero until scrolled */
body.has-hero .site-header:not(.scrolled) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; color: #fff; }
body.has-hero .site-header:not(.scrolled) .lockup { color: #fff; }
body.has-hero .site-header:not(.scrolled) .lockup img { filter: none; }
body.has-hero .site-header:not(.scrolled) .nav .btn { background: #fff; border-color: #fff; color: var(--ink); }
body.has-hero .site-header:not(.scrolled) .nav .btn:hover { background: transparent; color: #fff; }
body.has-hero .site-header { transition: background .3s, color .3s, border-color .3s; }

/* ---------- generic page building blocks ---------- */
.case-head .label a { text-decoration: none; }
.chapter + .chapter { padding-top: 0; }
.chapter .wrap > * + * { margin-top: clamp(28px, 4vw, 56px); }
.chapter-head h2 { max-width: 20ch; }
.chapter-head .label + h2, .story .label + h2 { margin-top: 1rem; }
.story h2 em, .chapter-head h2 em, .interstitial h2 em { font-style: normal; color: var(--green-2); }
.story .body h3 { margin: 1.6em 0 .6em; font-size: var(--t-h3); color: var(--ink); }
.story .body ul { padding-left: 1.2em; }
.story .body a { color: var(--green-2); }
.did { margin-top: 2rem; border-top: 1px solid var(--rule); padding-top: 1rem; }
.did ul { list-style: none; margin: .8rem 0 0; padding: 0; display: grid; gap: .15rem; }
.did li { font-size: 1rem; padding: .45rem 0; border-bottom: 1px solid var(--rule); }

/* full-bleed image/video breaks between chapters */
.interstitial { position: relative; isolation: isolate; min-height: clamp(320px, 62vh, 760px); display: flex; align-items: flex-end; color: #fff; background: var(--ink); overflow: hidden; }
.interstitial-bg { position: absolute; inset: 0; z-index: -1; }
.interstitial-bg img, .interstitial-bg video { width: 100%; height: 100%; object-fit: cover; }
.interstitial.has-text .interstitial-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(10 14 12 / .75), rgb(10 14 12 / .1) 60%); }
.interstitial .wrap { padding-bottom: clamp(32px, 5vw, 64px); }
.interstitial h2 { max-width: 18ch; }
.interstitial h2 em { color: #fff; opacity: .75; }
.interstitial .label { margin-top: 1rem; color: rgb(255 255 255 / .8); }

figure.single { margin: 0; }
figure.single img, figure.single video { width: 100%; height: auto; }
.photos.cols-2 { columns: 2; }
.photos.cols-3 { columns: 3; }
@media (min-width: 900px) { .photos.cols-2 { columns: 2; } }
@media (max-width: 599px) { .photos.cols-3 { columns: 2; } }
.photos video { width: 100%; height: auto; }
.photos a img { cursor: pointer; }

.social-embeds { display: grid; gap: var(--gap); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 640px) { .social-embeds { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .social-embeds { grid-template-columns: repeat(3, 1fr); } }
.embed-card { background: #fff; overflow: hidden; }
.embed-card .intrinsic, .embed-card .embed-block-wrapper { position: relative; width: 100%; }
.embed-card .embed-block-wrapper iframe { position: absolute; inset: 0; width: 100% !important; height: 100% !important; border: 0; }
.embed-card > iframe { width: 100% !important; min-height: 520px; border: 0; display: block; }
.embed-raw { width: 100%; }
.embed-raw iframe { width: 100%; border: 0; }

.slides-grid { display: grid; gap: clamp(32px, 4vw, 56px) var(--gap); }
@media (min-width: 640px) { .slides-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .slides-grid { grid-template-columns: repeat(3, 1fr); } }

.faq { border-top: 1px solid var(--rule); max-width: 900px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; padding: 1.1rem 2.5rem 1.1rem 0; position: relative; font-size: var(--t-h3); font-weight: 300; letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 300; transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { padding: 0 0 1.4rem; color: var(--ink-2); max-width: 65ch; }
.faq-a > :last-child { margin-bottom: 0; }

.map iframe { width: 100%; height: clamp(280px, 40vw, 460px); border: 0; filter: grayscale(1) contrast(1.05); }
.buttons { display: flex; flex-wrap: wrap; gap: 1rem 2rem; }

/* charts + marquee (Wrapped pages) */
.charts { display: grid; gap: var(--gap); }
@media (min-width: 900px) { .charts { grid-template-columns: 1.4fr 1fr; } }
.chart-card { background: #fff; padding: clamp(20px, 3vw, 40px); }
.chart h2 { font-size: var(--t-h3); margin: 0 0 1.2rem; }
.chart-pie { width: min(100%, 300px); transform: rotate(-90deg); display: block; margin: 0 auto; }
.chart-pie circle:nth-child(1) { stroke: var(--green); } .chart-pie circle:nth-child(2) { stroke: var(--gold); }
.chart-pie circle:nth-child(3) { stroke: #8a9a91; } .chart-pie circle:nth-child(4) { stroke: #c9c3b4; }
.chart-bars .bar { height: 44px; background: var(--paper-2); } .chart-bars .bar-fill { display: block; height: 100%; background: var(--green) !important; }
.chart-legend { list-style: none; padding: 0; margin: 1.2rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; font-size: .9rem; }
.chart-legend li span { display: inline-block; width: .7em; height: .7em; margin-right: .4em; vertical-align: middle; }
.chart-legend li:nth-child(1) span { background: var(--green) !important; } .chart-legend li:nth-child(2) span { background: var(--gold) !important; }
.chart-legend li:nth-child(3) span { background: #8a9a91 !important; } .chart-legend li:nth-child(4) span { background: #c9c3b4 !important; }
.marquee { overflow: hidden; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: .4em 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.marquee-track span { font-size: var(--t-h1); font-weight: 300; letter-spacing: -.03em; white-space: nowrap; padding-right: .8em; }
@keyframes marquee { to { transform: translateX(-50%); } }
.interstitial .lead { color: rgb(255 255 255 / .85); margin-top: 1rem; max-width: 46ch; }

/* ---------- case-study titles: client / project, no awkward breaks ---------- */
:root { --t-case: clamp(2.4rem, 1rem + 4.4vw, 4.75rem); }
.case-head h1.case-title, .next-project h2.case-title { max-width: none; line-height: 1.02; letter-spacing: -.035em; }
.case-title span { display: block; }
.case-title .l2 { color: var(--ink-2); }
/* Phones: line one (the client) stays whole, the project line may wrap, balanced. */
.case-head .case-title { font-size: min(var(--t-case), calc((100vw - 2 * var(--gutter)) / (var(--l1) * .46))); }
.case-title .l1 { white-space: nowrap; }
.case-title .l2 { text-wrap: balance; }
/* Wider screens: every line stays whole, at one size unless the longest line needs less. */
@media (min-width: 700px) {
  .case-head .case-title { font-size: min(var(--t-case), calc((min(100vw, var(--max)) - 2 * var(--gutter)) / (var(--lmax) * .46))); }
  .case-title span { white-space: nowrap; }
}
.next-project .wrap .case-title { font-size: min(calc(var(--t-case) * .8), calc((min(100vw, var(--max)) - 2 * var(--gutter)) / (var(--lmax) * .46))); }
@media (max-width: 699px) { .next-project .wrap .case-title { font-size: min(calc(var(--t-case) * .8), calc((100vw - 2 * var(--gutter)) / (var(--l1) * .46))); } }

/* About: case-study layout. "What we do" beside the vertical reel; portrait beside the bio. */
.about-film { margin: 0; aspect-ratio: 9/16; background: var(--ink); overflow: hidden;
  width: min(100%, 360px, calc((100svh - 140px) * 9 / 16)); justify-self: center; }
.about-film video { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (min-width: 900px) { .about-what .story { align-items: center; } .about-film { justify-self: start; width: min(100%, 400px, calc((100svh - 160px) * 9 / 16)); } }
.about-bio { padding-top: 0; }
.about-portrait { margin: 0; }
.about-portrait img { width: 100%; height: auto; display: block; }
.about-portrait figcaption { margin-top: .9rem; font-size: var(--t-label); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 900px) { .about-portrait { position: sticky; top: 100px; align-self: start; } }
@media (max-width: 899px) { .about-portrait { max-width: 480px; } }
.photos.about-team { columns: auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); margin-top: clamp(28px, 4vw, 56px); }
@media (min-width: 800px) { .photos.about-team { grid-template-columns: repeat(4, 1fr); } }
.photos.about-team figure { margin: 0; aspect-ratio: 4/5; overflow: hidden; }
.photos.about-team img { width: 100%; height: 100%; object-fit: cover; }
