:root {
  --cream: #f6f4f0;
  --cream-2: #ebe8e0;
  --ink: #2e2e2e;
  --ink-soft: #5d5d58;
  --green: #5c734c;
  --green-deep: #4a5e3c;
  --line: rgba(46, 46, 46, 0.14);
  --green-tint: #cfdcc3;
  --display: 'anton', 'Anton', 'Arial Narrow', Impact, sans-serif;
  --serif: var(--display);
  --sans: 'work-sans', 'Work Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --radius: clamp(14px, 1.6vw, 24px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(16px, 1.15vw, 19px);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, dl, dd, figure, fieldset { margin: 0; padding: 0; }
fieldset { border: 0; min-width: 0; }
ul { list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  text-wrap: balance;
  color: var(--green);
}
h1 { font-size: clamp(3rem, 9.4vw, 8.6rem); line-height: 0.98; }
h2 { font-size: clamp(2.2rem, 5.2vw, 4.6rem); }
h3 { font-size: clamp(1.35rem, 1.9vw, 1.8rem); line-height: 1.1; }
h1 em, h2 em { font-style: normal; color: #93a883; }

.wrap { width: 100%; max-width: 1560px; margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--green); margin-bottom: 1.1em; display: block;
}
.lede { font-size: clamp(1.1rem, 1.55vw, 1.45rem); line-height: 1.45; max-width: 34em; color: var(--ink-soft); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--green); color: var(--cream); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: clamp(12px, 3vw, 40px);
  padding: 14px var(--gutter);
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.logo {
  color: var(--green);
  display: block; width: 104px; aspect-ratio: 428 / 152; flex: none;
  background: currentColor;
  -webkit-mask: url(/assets/brand/wordmark.png) center / contain no-repeat;
  mask: url(/assets/brand/wordmark.png) center / contain no-repeat;
}
.site-header nav { margin-left: auto; display: flex; gap: clamp(14px, 2.4vw, 34px); }
.site-header nav a { text-decoration: none; font-weight: 500; position: relative; padding: 6px 0; }
.site-header nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
}
.site-header nav a:hover::after, .site-header nav a[aria-current]::after { transform: scaleX(1); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6em; white-space: nowrap;
  padding: 0.95em 1.5em; border-radius: 999px; border: 1.5px solid var(--green);
  background: var(--green); color: var(--cream);
  font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}
.btn:hover { background: var(--green-deep); border-color: var(--green-deep); }
.btn:active { transform: scale(0.98); }
.btn-small { padding: 0.6em 1.15em; font-size: 0.92rem; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--green); color: var(--cream); border-color: var(--green); }
.btn-light { background: var(--cream); color: var(--green-deep); border-color: var(--cream); }
.btn-light:hover { background: var(--green-tint); color: var(--green-deep); border-color: var(--green-tint); }
.arrow { width: 1em; height: 1em; transition: transform 0.3s var(--ease); }
a:hover > .arrow, .btn:hover > .arrow { transform: translateX(4px); }
.back:hover > .arrow { transform: rotate(180deg) translateX(4px); }
.back > .arrow { transform: rotate(180deg); }
.link { display: inline-flex; align-items: center; gap: 0.5em; font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(32px, 6vw, 96px); padding-bottom: clamp(28px, 4vw, 56px); }
.hero h1 { max-width: 9em; }
.hero-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 28px 48px; margin-top: clamp(24px, 3.4vw, 48px); }
.hero .lede { max-width: 37em; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.reel { position: relative; }
.reel video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); background: var(--green-deep); }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); margin-top: clamp(40px, 6vw, 88px); padding: 26px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 36s linear infinite; }
.marquee ul { display: flex; flex: none; }
.marquee ul { align-items: center; gap: clamp(48px, 6vw, 96px); padding-right: clamp(48px, 6vw, 96px); }
.marquee li { display: flex; align-items: center; }
/* Each logo gets the same visual weight: wide wordmarks run longer and shorter,
   compact badges run taller, and the gap between neighbours is always the same. */
.client-logo {
  --unit: clamp(46px, 5vw, 70px);
  display: block; width: calc(var(--unit) * var(--w)); height: calc(var(--unit) * var(--h));
  background: var(--green);
  -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 150px); }
.section-tight { padding-block: clamp(24px, 4vw, 56px) clamp(64px, 8vw, 120px); }
.section-head { margin-bottom: clamp(32px, 5vw, 72px); }
.section-head h2 { max-width: 15em; }
.section-head.split { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; }
.page-head { padding-top: clamp(40px, 7vw, 110px); padding-bottom: clamp(16px, 3vw, 40px); }
.page-head h1 { font-size: clamp(2.4rem, 6.6vw, 6rem); max-width: 14em; }

.num { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; color: var(--green); }
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(16px, 2vw, 28px); }
.icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--green); color: var(--cream); flex: none; transition: background 0.35s, color 0.35s, transform 0.5s var(--ease); }
.icon svg { width: 26px; height: 26px; }
.service {
  position: relative; background: var(--cream-2); border-radius: var(--radius); padding: clamp(24px, 2.6vw, 40px);
  display: flex; flex-direction: column; gap: 14px;
  transition: background 0.35s, color 0.35s, transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.service-top { display: flex; align-items: center; justify-content: space-between; }
.service .num { font-family: var(--display); font-size: 1.6rem; letter-spacing: 0.02em; opacity: 0.55; transition: color 0.35s; }
.service h3 { font-size: clamp(2.4rem, 3.8vw, 3.6rem); margin-top: clamp(28px, 4vw, 56px); transition: color 0.35s; }
.service p { color: var(--ink-soft); transition: color 0.35s; }
.service ul { margin-top: auto; padding-top: 18px; }
.service li { padding: 0.6em 0; border-top: 1px solid var(--line); font-weight: 500; transition: border-color 0.35s; }
.service-link { display: inline-flex; align-items: center; gap: 0.5em; margin-top: 10px; font-weight: 600; text-decoration: none; color: var(--green); transition: color 0.35s; }
.service-link::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.service:hover, .service:focus-within { background: var(--green); color: var(--cream); transform: translateY(-6px); box-shadow: 0 24px 48px -24px rgba(74, 94, 60, 0.6); }
.service:hover :is(h3, p, .num, .service-link), .service:focus-within :is(h3, p, .num, .service-link) { color: var(--cream); }
.service:hover li, .service:focus-within li { border-color: rgba(246, 244, 240, 0.3); }
.service:hover .icon, .service:focus-within .icon { background: var(--cream); color: var(--green); transform: rotate(-8deg) scale(1.08); }
.service:hover .arrow { transform: translateX(4px); }

/* ---------- Work cards ---------- */
.grid { --col-gap: clamp(16px, 2vw, 28px); display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, max(320px, calc((100% - 2 * var(--col-gap)) / 3))), 1fr)); gap: clamp(28px, 3.4vw, 56px) var(--col-gap); }
/* At most three cards per row, so six projects always sit as two even rows on desktop. */
.card { text-decoration: none; display: block; }
.card[hidden] { display: none; }
.card-media { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--green-deep); aspect-ratio: 1; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.card-media::after { content: ''; position: absolute; inset: 0; background: rgba(30, 36, 26, 0.48); transition: background 0.4s; }
.card-media h3 {
  position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; text-align: center; padding: 8%;
  color: var(--cream); font-size: clamp(1.6rem, 2.5vw, 2.5rem); line-height: 1.05;
}
.card:hover .card-media img { transform: scale(1.045); }
.card:hover .card-media::after { background: rgba(30, 36, 26, 0.3); }
.card-text { padding-top: 14px; display: grid; gap: 2px; }
.card-text p { color: var(--ink-soft); }
.tags { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); margin-top: 6px; }

/* ---------- Mission ---------- */
.mission { background: var(--green); color: var(--cream); }
.mission .eyebrow { color: var(--cream); }
.mission .num { color: var(--green-tint); }
.mission h3, .cta h2, .site-footer h3 { color: inherit; }
.statement { font-family: var(--sans); font-weight: 400; font-size: clamp(1.4rem, 2.9vw, 2.6rem); line-height: 1.3; max-width: 24em; text-wrap: balance; color: rgba(246, 244, 240, 0.88); }
.statement strong { font-weight: 700; color: var(--cream); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(24px, 3vw, 48px); margin-top: clamp(48px, 7vw, 110px); }
.step { border-top: 1px solid rgba(246, 244, 240, 0.35); padding-top: 20px; display: grid; gap: 10px; align-content: start; }
.step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.step .num { font-family: var(--display); font-size: clamp(2rem, 2.8vw, 2.6rem); line-height: 1; letter-spacing: 0.01em; }
.step h3 { font-size: clamp(1.6rem, 2.2vw, 2.1rem); }
.mission .icon { background: var(--cream); color: var(--green); }
.step .icon { width: 46px; height: 46px; }
.step .icon svg { width: 21px; height: 21px; }
.icon-send svg { transform: translate(-1.500px, 1.500px); }
.step:hover .icon { transform: rotate(-8deg) scale(1.08); }
.step p { opacity: 0.85; }
.steps.on-light { margin-top: 0; }
.steps.on-light .step { border-color: var(--line); }

/* ---------- CTA + footer ---------- */
.cta { background: var(--cream-2); padding-block: clamp(72px, 10vw, 160px); }
.cta h2 { color: var(--green); }
.cta h2 { font-size: clamp(2.3rem, 6.4vw, 5.6rem); max-width: 12em; }
.cta .lede { margin: 1.2em 0 1.8em; }
.site-footer { background: var(--green); color: var(--cream); padding-block: clamp(48px, 6vw, 88px) 28px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; }
.footer-grid > div:first-child { grid-column: span 2; min-width: 0; }
.logo-large { width: min(260px, 60vw); margin-bottom: 20px; color: var(--cream); }
.site-footer p { opacity: 0.85; max-width: 24em; }
.site-footer h3 { font-family: var(--sans); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.75; margin-bottom: 14px; }
.site-footer a { display: block; text-decoration: none; padding: 4px 0; overflow-wrap: anywhere; }
.site-footer a:hover { text-decoration: underline; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: clamp(40px, 6vw, 80px); padding-top: 20px; border-top: 1px solid rgba(246, 244, 240, 0.3); font-size: 0.85rem; opacity: 0.85; }

/* ---------- Project pages ---------- */
.project-head .back { margin-bottom: clamp(28px, 4vw, 56px); border: 0; }
.project-intro { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 110px); margin-top: clamp(28px, 4vw, 56px); }
.prose { display: grid; gap: 1em; max-width: 38em; font-size: clamp(1.08rem, 1.45vw, 1.35rem); line-height: 1.5; align-content: start; }
.meta > div { display: grid; grid-template-columns: 7em 1fr; gap: 12px; padding: 0.8em 0; border-top: 1px solid var(--line); }
.meta > div:last-child { border-bottom: 1px solid var(--line); }
.meta dt { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); padding-top: 0.25em; }
.meta a { text-underline-offset: 3px; overflow-wrap: anywhere; }

.media-grid { display: grid; gap: clamp(16px, 2vw, 28px); grid-template-columns: repeat(var(--cols, 1), minmax(0, 1fr)); }
.cols-2 { --cols: 2; } .cols-3 { --cols: 3; } .cols-4 { --cols: 4; }
.cols-1 { gap: clamp(40px, 5vw, 72px); }
.media-grid.solo { justify-content: center; grid-template-columns: minmax(0, min(100%, 420px)); }
.media img, .media video, .embed { width: 100%; border-radius: var(--radius); background: var(--green-deep); }
.media video { aspect-ratio: 16 / 9; }
.media.is-vertical video { aspect-ratio: 9 / 16; object-fit: cover; }
.media.is-vertical .embed { aspect-ratio: 9 / 16; }
.cols-4 .media:not(.is-vertical) > img { height: 100%; object-fit: cover; aspect-ratio: 9 / 16; }
.cols-2 .media > img { aspect-ratio: 3 / 2; object-fit: cover; }
.cols-2:has(figcaption .tags) { row-gap: clamp(36px, 4vw, 64px); }
figcaption .tags { margin: 0; }
figcaption .tags + strong { font-size: clamp(1.6rem, 2.4vw, 2.2rem); }
.more-head { margin: clamp(64px, 8vw, 120px) 0 clamp(24px, 3vw, 40px); }
.embed { position: relative; display: block; padding: 0; border: 0; cursor: pointer; overflow: hidden; aspect-ratio: 16 / 9; }
.embed.is-facebook { aspect-ratio: 1; }
.embed img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; transition: transform 0.9s var(--ease); }
.embed:hover img { transform: scale(1.04); }
.embed-label {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28% 6% 6%; text-align: center;
  font-family: var(--display); text-transform: uppercase; color: var(--cream); line-height: 1.05;
  font-size: clamp(1.3rem, 2.2vw, 2.1rem); background: linear-gradient(transparent, rgba(30, 36, 26, 0.75));
}
.cols-1 .embed-label { font-size: clamp(1.6rem, 3.6vw, 3.4rem); padding-top: 14%; }
.embed:disabled .embed-label, .embed:disabled .play { display: none; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: clamp(52px, 5vw, 76px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; background: var(--cream); color: var(--green-deep);
  transition: scale 0.3s var(--ease), background 0.3s, color 0.3s;
}
.play svg { width: 42%; margin-left: 6%; }
.embed:hover .play { scale: 1.1; background: var(--green); color: var(--cream); }
figcaption { padding-top: 12px; display: grid; gap: 4px; }
figcaption strong { font-family: var(--display); font-weight: 400; text-transform: uppercase; color: var(--green); font-size: 1.3rem; line-height: 1.1; }
figcaption span { color: var(--ink-soft); max-width: 44em; }
.cols-1 figcaption strong { font-size: clamp(1.5rem, 2.4vw, 2.2rem); }
.masonry { display: block; columns: 3; column-gap: clamp(12px, 1.6vw, 24px); }
.masonry .media { break-inside: avoid; margin-bottom: clamp(12px, 1.6vw, 24px); }
.pager { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); margin-bottom: clamp(48px, 6vw, 96px); }
.pager a { text-decoration: none; padding: clamp(20px, 3vw, 40px) 0; display: grid; gap: 4px; }
.pager a:last-child { text-align: right; border-left: 1px solid var(--line); }
.pager span { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); }
.pager strong { font-family: var(--display); font-weight: 400; text-transform: uppercase; color: var(--green); font-size: clamp(1.4rem, 3.4vw, 3rem); line-height: 1.05; transition: color 0.25s; }
.pager a:hover strong { color: var(--green-deep); }

.piece { display: block; text-decoration: none; }
.piece-img { border-radius: var(--radius); overflow: hidden; background: var(--green-deep); }
.piece-img img { border-radius: 0; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 0.9s var(--ease); }
.piece:hover .piece-img img { transform: scale(1.04); }
.piece-link { justify-self: start; margin-top: 8px; color: var(--green); font-size: 0.95rem; }
.piece:hover .arrow { transform: translateX(4px); }
.case-lede { margin-top: clamp(20px, 2.6vw, 36px); font-size: clamp(1.2rem, 2vw, 1.8rem); max-width: 30em; color: var(--ink); }
.case-lead { margin-top: clamp(20px, 3vw, 40px); }
.case-lead img { width: 100%; height: auto; max-height: 86vh; object-fit: cover; border-radius: var(--radius); background: var(--cream-2); }
.case-gallery { columns: 2; }
.case-gallery .media img { height: auto; background: #fff; }
.case-film { margin-bottom: clamp(16px, 2vw, 28px); }

[data-panel][hidden] { display: none; }
.photo-flow.is-dealt { display: flex; columns: auto; gap: clamp(12px, 1.6vw, 24px); align-items: flex-start; }
.photo-col { flex: 1 1 0; min-width: 0; }
.photo-flow .media img { height: auto; }
.panel-lede { margin-bottom: clamp(24px, 3vw, 40px); }
.panel-intro { margin: 0 0 clamp(36px, 5vw, 72px); }

/* ---------- Filters / chips ---------- */
.filters, .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.filters { margin-bottom: clamp(24px, 3vw, 40px); }
.chip { border: 1.5px solid var(--line); background: transparent; border-radius: 999px; padding: 0.5em 1.1em; font-weight: 500; cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.chip:hover { border-color: var(--green); }
.chip[aria-pressed='true'], label.chip:has(:checked) { background: var(--green); border-color: var(--green); color: var(--cream); }
label.chip { position: relative; }
.field label.chip span { color: inherit; font-weight: inherit; }
label.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
label.chip:has(:focus-visible) { outline: 2px solid var(--green); outline-offset: 3px; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 6vw, 110px); align-items: start; }
.about img { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }
.prose-large { font-size: clamp(1.15rem, 1.7vw, 1.6rem); }
.where { margin-top: 1em; padding-top: 1em; border-top: 1px solid var(--line); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 110px); align-items: start; }
.contact-aside { display: grid; gap: 32px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; background: var(--cream-2); border-radius: var(--radius); padding: clamp(20px, 3vw, 44px); }
.field { display: grid; gap: 8px; min-width: 0; }
.wide { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 600; font-size: 0.95rem; }
.field legend { margin-bottom: 10px; }
.field label span { font-weight: 400; color: var(--ink-soft); }
.field input:not([type='checkbox']), .field textarea {
  width: 100%; font: inherit; color: inherit; background: var(--cream);
  border: 1.5px solid transparent; border-radius: 12px; padding: 0.85em 1em;
  transition: border-color 0.2s;
}
.field textarea { resize: vertical; min-height: 9em; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--green); }
.field .invalid { border-color: #b4432f; }
.hp { position: absolute; left: -9999px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-status { font-weight: 500; }
.form-status.is-error { color: #b4432f; }

/* ---------- Testimonials + people ---------- */
.testimonials { padding-bottom: clamp(64px, 9vw, 150px); padding-top: 0; }
.quotes { --q-gap: clamp(16px, 2vw, 28px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, max(300px, calc((100% - 2 * var(--q-gap)) / 3))), 1fr)); gap: var(--q-gap); }
.quote { background: var(--cream-2); border-radius: var(--radius); padding: clamp(24px, 3vw, 48px); display: flex; flex-direction: column; gap: 28px; }
.quote blockquote { margin: 0; font-size: clamp(1.1rem, 1.5vw, 1.4rem); line-height: 1.5; }
.quote blockquote::before { content: '\201C'; display: block; font-family: var(--display); font-size: 5rem; line-height: 0.7; color: var(--green); margin-bottom: 8px; }
.quote figcaption { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.quote figcaption strong { font-size: 1.2rem; }
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin-top: 0.6em; }
.person { border-top: 1px solid var(--line); padding-top: 16px; display: grid; gap: 6px; align-content: start; font-size: 1rem; }
.person h3 { font-size: clamp(1.8rem, 2.6vw, 2.4rem); }
.person .tags { margin: 0 0 6px; }
.person p { color: var(--ink-soft); line-height: 1.55; }

/* ---------- Map ---------- */
.based { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.based .lede { margin-top: 1em; }
.map { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--cream-2); }
.map img { width: 100%; height: auto; }
.pin { position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--cream); border: 3px solid var(--green-deep); }
.pin::before { content: ''; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--green); animation: ping 2.400s var(--ease) infinite; }
.pin b {
  position: absolute; left: 20px; top: 50%; translate: 0 -50%; white-space: nowrap;
  font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: 0.02em; font-size: clamp(0.95rem, 1.5vw, 1.4rem);
  background: var(--green); color: var(--cream); padding: 0.25em 0.6em; border-radius: 8px;
}
.pin-left b { left: auto; right: 20px; }
@keyframes ping { from { transform: scale(1); opacity: 0.9; } to { transform: scale(3.200); opacity: 0; } }

/* ---------- Privacy, 404, form note ---------- */
.legal { max-width: 44em; font-size: clamp(1rem, 1.2vw, 1.15rem); }
.legal h2 { font-size: clamp(1.5rem, 2.2vw, 2rem); margin-top: 1em; }
.legal a, .form-note a { text-underline-offset: 3px; }
.legal-date { color: var(--ink-soft); margin-top: 1em; }
.form-note { flex-basis: 100%; font-size: 0.9rem; color: var(--ink-soft); }
.notfound { padding-bottom: clamp(80px, 12vw, 180px); }
.notfound .lede { margin: 1.2em 0 1.8em; }
.footer-base a { display: inline; padding: 0; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.reveal.in, .no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  .pin::before { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Small screens ---------- */
@media (max-width: 820px) {
  .project-intro, .about, .contact, .based { grid-template-columns: 1fr; }
  .cols-3, .cols-4 { --cols: 2; }
  .masonry { columns: 2; }
  .case-gallery { columns: 1; }
  .footer-grid > div:first-child { grid-column: auto; }
}
@media (max-width: 560px) {
  .site-header .btn-small { display: none; }
  .logo { width: 88px; }
  .cols-2, .cols-3 { --cols: 1; }
  .form { grid-template-columns: 1fr; }
  .reel video { aspect-ratio: 4 / 3; }
  .pager strong { font-size: 1.15rem; }
}
