/* Wall Zen. Apple-style rebuild. System font, size-specific tracking, translucent chrome. */
:root {
  --green: #7aa834;
  --green-ink: #4a7410;      /* green that passes contrast as text on white */
  --ink: #1d1d1f;
  --gray: #6e6e73;
  --line: rgba(0, 0, 0, .1);
  --bg: #fff;
  --bg-alt: #f5f5f7;
  --black: #000;
  --nav-h: 4rem;
  --radius: 1.75rem;
  --ease: cubic-bezier(.25, .1, .25, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font: 100%/1.47 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-optical-sizing: auto;
  letter-spacing: -.01em;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: 1rem; top: -4rem; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 999px; z-index: 100; }
.skip:focus { top: .5rem; }

.wrap { width: min(100% - 2.75rem, 61.25rem); margin-inline: auto; }
.wrap--wide { width: min(100% - 2.75rem, 78rem); }
.wrap--narrow { width: min(100% - 2.75rem, 46rem); }
.center { text-align: center; }
.muted { color: var(--gray); }
.accent { color: var(--green); }

/* ---------- Type: tracking and leading change with size ---------- */
.display { font-size: clamp(3rem, 10vw, 6rem); line-height: 1.03; letter-spacing: -.035em; font-weight: 700; }
.display--sm { font-size: clamp(2.5rem, 7vw, 4.5rem); line-height: 1.05; letter-spacing: -.03em; }
.headline { font-size: clamp(2rem, 5.2vw, 3.5rem); line-height: 1.07; letter-spacing: -.025em; font-weight: 700; }
.lede { font-size: clamp(1.19rem, 2.2vw, 1.75rem); line-height: 1.25; letter-spacing: -.012em; color: var(--gray); font-weight: 500; max-width: 34ch; }
.sub { font-size: clamp(1.06rem, 1.6vw, 1.31rem); line-height: 1.38; color: var(--gray); margin-top: 1rem; max-width: 46ch; }
.eyebrow { font-size: 1.06rem; font-weight: 600; color: var(--green-ink); letter-spacing: 0; }

/* ---------- Buttons: feedback on press, instant ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 2.75rem; padding: .7rem 1.4rem;
  background: var(--green); color: #0b1400; font-weight: 600; font-size: 1.06rem;
  border-radius: 999px;
  transition: transform .25s var(--ease-out), background-color .2s var(--ease);
  touch-action: manipulation; user-select: none;
}
.btn--sm { min-height: 2rem; padding: .3rem .9rem; font-size: .81rem; }
@media (hover: hover) { .btn:hover { background: #88b93f; } }
.btn:active, .btn.is-pressed { transform: scale(.96); transition-duration: .08s; background: #6c9630; }
.link { color: var(--green-ink); font-size: 1.06rem; font-weight: 500; padding: .6rem .2rem; display: inline-block; }
.link span { display: inline-block; transition: transform .3s var(--ease-out); }
@media (hover: hover) { .link:hover { text-decoration: underline; text-underline-offset: .2em; } .link:hover span { transform: translateX(3px); } }
.link:active { opacity: .6; }
.link--light { color: #b9e07a; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.5rem; margin-top: 1.75rem; }

/* ---------- Nav: translucent layer, content scrolls underneath ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; }
.nav__bar {
  position: relative; z-index: 2;
  height: var(--nav-h);
  display: flex; align-items: center; gap: 1.5rem;
  padding-inline: max(1.375rem, calc((100vw - 61.25rem) / 2));
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.nav.is-scrolled .nav__bar { box-shadow: 0 1px 0 rgba(0, 0, 0, .08); }
.nav.is-open .nav__bar { background: rgba(255, 255, 255, .92); }
.nav__brand { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; font-size: 1.06rem; letter-spacing: -.02em; margin-right: auto; min-height: 2.75rem; }
.nav__brand svg { color: var(--green); }
.nav__links { display: flex; gap: 1.75rem; }
.nav__links a { font-size: .81rem; letter-spacing: 0; color: rgba(0, 0, 0, .8); padding: .9rem 0; transition: color .2s var(--ease); }
@media (hover: hover) { .nav__links a:hover { color: #000; } }
.nav__links a:active { opacity: .55; }
.nav__toggle { display: none; width: 2.75rem; height: 2.75rem; position: relative; margin-right: -.6rem; }
.nav__toggle span { position: absolute; left: .8rem; right: .8rem; height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease-out); }
.nav__toggle span:first-child { top: 1.1rem; }
.nav__toggle span:last-child { top: 1.55rem; }
.nav.is-open .nav__toggle span:first-child { transform: translateY(.225rem) rotate(45deg); }
.nav.is-open .nav__toggle span:last-child { transform: translateY(-.225rem) rotate(-45deg); }

/* Mobile sheet: drops from the bar it belongs to, leaves the same way */
.nav__sheet {
  position: absolute; inset: var(--nav-h) 0 auto 0; z-index: 1;
  display: flex; flex-direction: column;
  padding: .75rem 1.375rem 1.75rem;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(180%) blur(24px); backdrop-filter: saturate(180%) blur(24px);
  border-radius: 0 0 1.5rem 1.5rem;
  box-shadow: 0 24px 48px rgba(0, 0, 0, .14);
  transform-origin: top center;
  opacity: 0; transform: translateY(-.75rem) scale(.985);
  transition: opacity .28s var(--ease), transform .42s var(--ease-out);
}
.nav__sheet[hidden] { display: none; }
.nav.is-open .nav__sheet { opacity: 1; transform: none; }
.nav__sheet a { font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.nav__sheet a:last-child { border-bottom: 0; }
.nav__sheet a:active { opacity: .5; }
.scrim { position: fixed; inset: 0; z-index: 40; background: rgba(0, 0, 0, .32); opacity: 0; transition: opacity .3s var(--ease); }
.scrim[hidden] { display: none; }
.scrim.is-on { opacity: 1; }

@media (max-width: 52rem) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
}

/* ---------- Hero ---------- */
.hero { padding-top: calc(var(--nav-h) + clamp(3rem, 9vw, 6.5rem)); text-align: center; }
.hero__copy { display: flex; flex-direction: column; align-items: center; }
.hero .display { margin-top: .4rem; }
.hero .lede { margin-top: 1.25rem; }
.hero .actions { justify-content: center; }
.hero__media { margin-top: clamp(2.5rem, 6vw, 4.5rem); border-radius: clamp(1.25rem, 3vw, 2.25rem); overflow: hidden; background: var(--bg-alt); }
.hero__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
@media (max-width: 40rem) { .hero__media img { aspect-ratio: 4 / 5; } }

/* ---------- Stats ---------- */
.stats { padding: clamp(3rem, 8vw, 5.5rem) 0; }
.stats__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem 1.5rem; text-align: center; }
.stat__n { display: block; font-size: clamp(2.5rem, 7vw, 4.5rem); line-height: 1.05; letter-spacing: -.035em; font-weight: 700; }
.stat__l { display: block; margin-top: .4rem; color: var(--gray); font-size: 1.06rem; line-height: 1.3; }
@media (max-width: 40rem) { .stats__grid { grid-template-columns: 1fr; } }

/* ---------- Sections ---------- */
.section { padding: clamp(4.5rem, 11vw, 8.5rem) 0; }
.section--gray { background: var(--bg-alt); }
.section--dark { background: var(--black); color: #f5f5f7; }
.section--dark .sub, .section--dark .lede { color: #a1a1a6; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin-top: clamp(2.5rem, 6vw, 4rem); }
.card { position: relative; overflow: hidden; background: #fff; border-radius: var(--radius); min-height: 22rem; display: flex; flex-direction: column; }
.card--wide { grid-column: 1 / -1; min-height: 30rem; }
.card__body { position: relative; z-index: 1; padding: clamp(1.75rem, 4vw, 3rem); max-width: 30rem; }
.card__eyebrow { font-size: .88rem; font-weight: 600; color: var(--green-ink); letter-spacing: 0; }
.card h3 { font-size: clamp(1.5rem, 3.2vw, 2.5rem); line-height: 1.1; letter-spacing: -.022em; font-weight: 700; margin-top: .4rem; }
.card p:not(.card__eyebrow) { margin-top: .75rem; font-size: 1.06rem; line-height: 1.4; color: var(--gray); font-weight: 500; }
.card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card--dark { background: #0c1408; color: #fff; }
.card--dark .card__eyebrow { color: #b9e07a; }
.card--dark p:not(.card__eyebrow) { color: rgba(255, 255, 255, .78); }
.card--image .card__body { background: #fff; margin: clamp(1rem, 2.5vw, 1.75rem); border-radius: 1.25rem; padding: clamp(1.25rem, 3vw, 2rem); max-width: 26rem; box-shadow: 0 12px 40px rgba(0, 0, 0, .12); }
.card__figure { margin-top: auto; padding: 0 clamp(1.75rem, 4vw, 3rem) clamp(1.75rem, 4vw, 3rem); color: var(--ink); }
.card__figure svg { width: 6.5rem; height: 6.5rem; }
@media (max-width: 46rem) { .bento { grid-template-columns: 1fr; } .card { min-height: 19rem; } .card--wide { min-height: 26rem; } }

/* ---------- Carousel: drag 1:1, flick with momentum, grab mid-flight ---------- */
.carousel { margin-top: clamp(2.5rem, 6vw, 4rem); }
.carousel__viewport { overflow: hidden; padding-block: .5rem; touch-action: pan-y; cursor: grab; }
.carousel__viewport.is-dragging { cursor: grabbing; }
.carousel__track { display: flex; gap: 1.25rem; padding-inline: max(1.375rem, calc((100vw - 61.25rem) / 2)); width: max-content; will-change: transform; }
.tile { position: relative; flex: none; width: min(78vw, 25rem); aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--bg-alt); user-select: none; -webkit-user-select: none; }
.tile img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.tile__cap { position: absolute; inset: 0 0 auto 0; padding: 1.75rem; color: #fff; display: flex; flex-direction: column; gap: .3rem; }
.tile__cap--dark { color: var(--ink); }
.tile__cap span { font-size: .88rem; font-weight: 600; letter-spacing: 0; opacity: .85; }
.tile__cap strong { font-size: 1.5rem; line-height: 1.14; letter-spacing: -.02em; font-weight: 700; max-width: 14ch; }
.carousel__controls { display: flex; justify-content: flex-end; gap: .75rem; margin-top: 1.25rem; }
.round { width: 2.75rem; height: 2.75rem; border-radius: 50%; background: rgba(0, 0, 0, .07); display: grid; place-items: center; transition: transform .25s var(--ease-out), background-color .2s var(--ease), opacity .2s var(--ease); touch-action: manipulation; }
.round svg { width: 1.1rem; height: 1.1rem; }
@media (hover: hover) { .round:hover { background: rgba(0, 0, 0, .12); } }
.round:active { transform: scale(.92); transition-duration: .08s; }
.round:disabled { opacity: .3; cursor: default; }
.carousel + .wrap { margin-top: 1.5rem; }

/* ---------- Surfaces ---------- */
.chips { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: clamp(2rem, 5vw, 3.5rem); }
.chips li { padding: .75rem 1.25rem; border-radius: 999px; background: #1d1d1f; color: #f5f5f7; font-size: 1.06rem; font-weight: 500; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: clamp(2.5rem, 6vw, 4rem); }
.step { background: var(--bg-alt); border-radius: var(--radius); padding: clamp(1.75rem, 3vw, 2.25rem); }
.step__n { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--green); color: #0b1400; font-weight: 700; font-size: 1.06rem; }
.step h3 { font-size: 1.5rem; line-height: 1.15; letter-spacing: -.02em; margin-top: 1.25rem; }
.step p { margin-top: .6rem; color: var(--gray); font-size: 1.06rem; line-height: 1.4; }
@media (max-width: 52rem) { .steps { grid-template-columns: 1fr; } }

/* ---------- Quote ---------- */
.quote { text-align: center; }
.quote__stars { color: var(--green); font-size: 1.25rem; letter-spacing: .15em; }
.quote blockquote { font-size: clamp(1.75rem, 4.4vw, 3rem); line-height: 1.12; letter-spacing: -.025em; font-weight: 700; margin-top: 1rem; }
.quote figcaption { margin-top: 1.25rem; color: var(--gray); font-size: 1.06rem; }

/* ---------- FAQ: opens from the row you pressed, closes the same way ---------- */
.faq { margin-top: clamp(2rem, 5vw, 3rem); border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; text-align: left; padding: 1.4rem 0; font-size: clamp(1.19rem, 2.2vw, 1.5rem); line-height: 1.2; letter-spacing: -.018em; font-weight: 600; transition: opacity .15s var(--ease); }
.faq__q:active { opacity: .55; transition-duration: 0s; }
.faq__icon { position: relative; flex: none; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: rgba(0, 0, 0, .06); transition: transform .45s var(--ease-out); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: .7rem; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); border-radius: 2px; }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__q[aria-expanded="true"] .faq__icon { transform: rotate(45deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease-out); }
.faq__a > div { overflow: hidden; min-height: 0; }
.faq__a p { padding: 0 3rem 1.5rem 0; color: var(--gray); font-size: 1.06rem; line-height: 1.47; opacity: 0; transition: opacity .3s var(--ease); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__item.is-open .faq__a p { opacity: 1; }

/* ---------- CTA + footer ---------- */
.cta { text-align: center; }
.cta .wrap { display: flex; flex-direction: column; align-items: center; }
.cta .lede { margin-top: 1rem; }
.cta .actions { justify-content: center; }
.cta__mail { margin-top: 1.5rem; color: #a1a1a6; }
.cta__mail a { color: #f5f5f7; text-decoration: underline; text-underline-offset: .2em; }
.footer { background: var(--bg-alt); color: var(--gray); font-size: .81rem; letter-spacing: 0; padding: 2rem 0 2.5rem; }
.footer__note { padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); line-height: 1.4; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.footer h4 { color: var(--ink); font-size: .81rem; font-weight: 600; margin-bottom: .5rem; }
.footer__cols a { display: block; padding: .35rem 0; }
@media (hover: hover) { .footer__cols a:hover { color: var(--ink); text-decoration: underline; } }
.footer__legal { padding-top: 1.25rem; }
@media (max-width: 40rem) { .footer__cols { grid-template-columns: 1fr; } .footer__cols a { padding: .6rem 0; } }

/* ---------- Scroll reveal (only when JS is on and motion is OK) ---------- */
.js .reveal { opacity: 0; transform: translateY(1.5rem); transition: opacity .9s var(--ease), transform 1.1s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Dark mode ---------- */
@media (prefers-color-scheme: dark) {
  :root { --ink: #f5f5f7; --gray: #a1a1a6; --line: rgba(255, 255, 255, .14); --bg: #000; --bg-alt: #101012; --green-ink: #a5d65b; }
  .nav__bar { background: rgba(22, 22, 23, .72); }
  .nav.is-open .nav__bar, .nav__sheet { background: rgba(22, 22, 23, .92); }
  .nav.is-scrolled .nav__bar { box-shadow: 0 1px 0 rgba(255, 255, 255, .1); }
  .nav__links a { color: rgba(255, 255, 255, .8); }
  .nav__links a:hover { color: #fff; }
  .card { background: #1d1d1f; }
  .card--image .card__body { background: #1d1d1f; }
  .round, .faq__icon { background: rgba(255, 255, 255, .12); }
  .round:hover { background: rgba(255, 255, 255, .2); }
  .section--dark { background: #0a0a0b; }
  .section--gray + .section--dark, .cta { border-top: 1px solid var(--line); }
}

/* ---------- Accessibility preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  .js .reveal { transform: none; transition: opacity .4s ease; }
  .nav__sheet { transform: none !important; transition: opacity .2s ease; }
  .btn, .round, .link span, .faq__icon, .nav__toggle span { transition-duration: .01s; }
  .faq__a { transition: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav__bar, .nav__sheet { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--bg); }
}
@media (prefers-contrast: more) {
  :root { --gray: #3a3a3c; --line: rgba(0, 0, 0, .5); }
  .nav__bar, .nav__sheet { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--bg); border-bottom: 1px solid var(--ink); }
  .btn { outline: 2px solid var(--ink); }
}
@media (prefers-contrast: more) and (prefers-color-scheme: dark) { :root { --gray: #d1d1d6; --line: rgba(255, 255, 255, .6); } }

/* Keep text readable over photos, whatever image gets swapped in */
.card--dark::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.25) 55%, rgba(0,0,0,0) 100%); }
.tile::after { content: ""; position: absolute; inset: 0 0 55% 0; background: linear-gradient(180deg, rgba(0,0,0,.38), rgba(0,0,0,0)); pointer-events: none; }
.tile:has(.tile__cap--dark)::after { background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,0)); }
.tile__cap { z-index: 1; }

/* =====================================================================
   Full-site additions: real logo, sub-page heroes, galleries, lightbox,
   blog, prose, forms and embeds.
   ===================================================================== */
.nav__brand img { height: 2.5rem; width: auto; }
@media (max-width: 24rem) { .nav__brand img { height: 2.1rem; } }
.nav__links a[aria-current="page"] { color: var(--ink); font-weight: 600; }
@media (max-width: 60rem) { .nav__links { display: none; } .nav__toggle { display: block; } }
.nav__sheet { max-height: calc(100vh - var(--nav-h)); max-height: calc(100dvh - var(--nav-h)); overflow-y: auto; overscroll-behavior: contain; }
.nav__sheet .sub { font-size: 1.06rem; font-weight: 500; color: var(--gray); padding: .55rem 0 .55rem 1rem; margin: 0; max-width: none; }

/* Sub-page hero */
.phero { padding: calc(var(--nav-h) + clamp(3rem, 8vw, 5.5rem)) 0 clamp(2rem, 5vw, 3.5rem); text-align: center; }
.phero .wrap { display: flex; flex-direction: column; align-items: center; }
.phero .display--sm { margin-top: .4rem; max-width: 18ch; }
.phero .lede { margin-top: 1.1rem; max-width: 40ch; }
.phero .actions { justify-content: center; }
.phero--left { text-align: left; } .phero--left .wrap { align-items: flex-start; }
.crumbs { font-size: .81rem; color: var(--gray); letter-spacing: 0; margin-bottom: .75rem; }
.crumbs a:hover { text-decoration: underline; }

/* Segmented control (portfolio switch, filters) */
.seg { display: inline-flex; gap: .25rem; padding: .25rem; border-radius: 999px; background: rgba(0,0,0,.06); margin-top: 1.75rem; flex-wrap: wrap; justify-content: center; }
.seg a, .seg button { padding: .5rem 1.1rem; border-radius: 999px; font-size: .94rem; font-weight: 500; color: var(--ink); transition: background-color .25s var(--ease), transform .25s var(--ease-out); }
.seg a:active, .seg button:active { transform: scale(.96); transition-duration: .08s; }
.seg [aria-current="page"], .seg [aria-pressed="true"] { background: var(--bg); box-shadow: 0 1px 4px rgba(0,0,0,.14); font-weight: 600; }

/* Home carousel tiles with captions underneath */
.tile { aspect-ratio: auto; background: none; border-radius: 0; overflow: visible; width: min(74vw, 22rem); }
.tile__img { display: block; border-radius: var(--radius); overflow: hidden; background: var(--bg-alt); aspect-ratio: 4 / 5; }
.tile__img img { width: 100%; height: 100%; object-fit: cover; }
.tile::after { content: none; }
.tile figcaption, .tile .cap { padding: .9rem .25rem 0; }
.cap strong { display: block; font-size: 1.06rem; line-height: 1.25; letter-spacing: -.012em; font-weight: 600; }
.cap span { display: block; color: var(--gray); font-size: .88rem; letter-spacing: 0; margin-top: .1rem; }

/* Testimonial cards */
.tcard { flex: none; width: min(82vw, 26rem); background: var(--bg); border-radius: var(--radius); padding: 1.75rem; display: flex; flex-direction: column; gap: 1rem; user-select: none; -webkit-user-select: none; }
.tcard p { font-size: 1.06rem; line-height: 1.42; font-weight: 500; }
.tcard footer { margin-top: auto; color: var(--gray); font-size: .94rem; }
.tcard .quote__stars { font-size: 1rem; }

/* Surfaces grid */
.surf { display: grid; grid-template-columns: repeat(6, 1fr); gap: .9rem; margin-top: clamp(2rem, 5vw, 3.5rem); }
.surf img { width: 100%; border-radius: 1.1rem; }
@media (max-width: 52rem) { .surf { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 30rem) { .surf { grid-template-columns: repeat(3, 1fr); gap: .6rem; } }

/* Two-up split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.split img, .split video { border-radius: var(--radius); width: 100%; }
.split h2 + p, .split p + p { margin-top: 1rem; }
.split p { color: var(--gray); font-size: 1.12rem; line-height: 1.45; }
.split .actions { margin-top: 1.5rem; }
@media (max-width: 52rem) { .split { grid-template-columns: 1fr; } .split--flip > :first-child { order: 2; } }
.video { width: 100%; border-radius: var(--radius); background: #000; display: block; }

/* Big link cards (portfolio hub) */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.big { position: relative; display: block; border-radius: var(--radius); overflow: hidden; min-height: clamp(22rem, 46vw, 34rem); color: #fff; background: #111; transition: transform .5s var(--ease-out); }
.big img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.big::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.58), rgba(0,0,0,0) 55%); }
.big__body { position: relative; z-index: 1; padding: clamp(1.5rem, 3.5vw, 2.5rem); }
.big__body span { font-size: .88rem; font-weight: 600; opacity: .85; }
.big__body strong { display: block; font-size: clamp(1.75rem, 3.6vw, 2.75rem); line-height: 1.08; letter-spacing: -.025em; margin-top: .3rem; }
.big__body em { display: inline-block; font-style: normal; margin-top: .9rem; font-weight: 500; }
@media (hover: hover) { .big:hover img { transform: scale(1.03); } }
.big:active { transform: scale(.985); transition-duration: .1s; }
@media (max-width: 46rem) { .duo { grid-template-columns: 1fr; } }

/* Gallery grid (masonry by CSS columns) */
.gal { columns: 3; column-gap: 1.25rem; margin-top: clamp(1.5rem, 4vw, 2.5rem); }
.gal--4 { columns: 4; }
@media (max-width: 60rem) { .gal, .gal--4 { columns: 3; } }
@media (max-width: 46rem) { .gal, .gal--4 { columns: 2; column-gap: .8rem; } }
.g { break-inside: avoid; margin: 0 0 1.5rem; }
.g__btn { display: block; width: 100%; border-radius: 1.25rem; overflow: hidden; background: var(--bg-alt); cursor: zoom-in; transition: transform .35s var(--ease-out); }
.g__btn img { width: 100%; height: auto; }
.g__btn:active { transform: scale(.975); transition-duration: .08s; }
.g .cap { padding: .6rem .2rem 0; }
.g .cap strong { font-size: .97rem; }
.g.is-hidden { display: none; }
.gal--white .g__btn { background: #fff; }
.gal h2 { column-span: all; }
.count { color: var(--gray); font-size: .94rem; margin-top: .75rem; }
@media (max-width: 46rem) { .g { margin-bottom: 1rem; } .g__btn { border-radius: .9rem; } .g .cap strong { font-size: .88rem; } .g .cap span { font-size: .78rem; } }

/* Lightbox: grows from the thumbnail you pressed and returns to it */
.lb { position: fixed; inset: 0; z-index: 90; display: none; }
.lb.is-open { display: block; }
.lb__scrim { position: absolute; inset: 0; background: rgba(0,0,0,.88); opacity: 0; transition: opacity .35s var(--ease); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.lb.is-in .lb__scrim { opacity: 1; }
.lb__stage { position: absolute; inset: 0; display: grid; place-items: center; padding: 3.5rem 1rem 5rem; touch-action: none; }
.lb__img { max-width: calc(100vw - 2rem); max-height: calc(100vh - 8.5rem); max-height: calc(100dvh - 8.5rem); object-fit: contain; width: auto; height: auto; border-radius: .75rem; will-change: transform, opacity; user-select: none; -webkit-user-drag: none; }
.lb__cap { position: absolute; left: 0; right: 0; bottom: 1.25rem; text-align: center; color: #fff; padding: 0 4.5rem; opacity: 0; transition: opacity .3s var(--ease); pointer-events: none; }
.lb.is-in .lb__cap { opacity: 1; }
.lb__cap strong { display: block; font-size: 1.06rem; font-weight: 600; }
.lb__cap span { font-size: .88rem; color: rgba(255,255,255,.72); }
.lb__btn { position: absolute; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: rgba(255,255,255,.16); color: #fff; display: grid; place-items: center; opacity: 0; transition: opacity .3s var(--ease), transform .25s var(--ease-out), background-color .2s; }
.lb.is-in .lb__btn { opacity: 1; }
.lb__btn svg { width: 1.1rem; height: 1.1rem; }
.lb__btn:active { transform: scale(.9); transition-duration: .08s; }
@media (hover: hover) { .lb__btn:hover { background: rgba(255,255,255,.28); } }
.lb__close { top: .9rem; left: .9rem; }
.lb__prev { left: .9rem; bottom: 1.1rem; } .lb__next { right: .9rem; bottom: 1.1rem; }
@media (min-width: 46rem) { .lb__prev, .lb__next { top: 50%; bottom: auto; margin-top: -1.375rem; } .lb__stage { padding-inline: 5rem; } .lb__img { max-width: calc(100vw - 10rem); } }

/* Blog */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.25rem 1.25rem; margin-top: clamp(1.5rem, 4vw, 2.5rem); }
@media (max-width: 60rem) { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 36rem) { .posts { grid-template-columns: 1fr; } }
.post { display: block; transition: transform .35s var(--ease-out); }
.post:active { transform: scale(.98); transition-duration: .08s; }
.post__img { border-radius: 1.25rem; overflow: hidden; aspect-ratio: 3 / 2; background: var(--bg-alt); }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
@media (hover: hover) { .post:hover .post__img img { transform: scale(1.03); } .post:hover h3 { text-decoration: underline; text-underline-offset: .18em; } }
.post time { display: block; margin-top: .9rem; color: var(--gray); font-size: .81rem; font-weight: 600; letter-spacing: 0; }
.post h3 { font-size: 1.31rem; line-height: 1.19; letter-spacing: -.018em; margin-top: .25rem; }
.post p { color: var(--gray); margin-top: .35rem; font-size: .97rem; line-height: 1.4; }
.post.is-hidden { display: none; }
.post--lead { grid-column: 1 / -1; display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(1.25rem, 4vw, 3rem); align-items: center; }
.post--lead h3 { font-size: clamp(1.75rem, 3.6vw, 2.75rem); line-height: 1.08; letter-spacing: -.025em; }
.post--lead p { font-size: 1.12rem; }
@media (max-width: 46rem) { .post--lead { grid-template-columns: 1fr; } }
.more { display: flex; justify-content: center; margin-top: 3rem; }
.btn--ghost { background: rgba(0,0,0,.07); color: var(--ink); }
@media (hover: hover) { .btn--ghost:hover { background: rgba(0,0,0,.12); } }
.btn--ghost:active { background: rgba(0,0,0,.16); }

/* Article + long-form prose */
.article { padding-top: calc(var(--nav-h) + clamp(2.5rem, 7vw, 4.5rem)); }
.article__head { text-align: left; }
.article__head h1 { font-size: clamp(2.1rem, 5.4vw, 3.5rem); line-height: 1.07; letter-spacing: -.028em; font-weight: 700; }
.article__head .lede { max-width: none; margin-top: 1rem; }
.article__meta { color: var(--gray); font-size: .88rem; font-weight: 600; letter-spacing: 0; margin-bottom: .75rem; }
.article__hero { margin: clamp(1.75rem, 5vw, 3rem) auto; border-radius: var(--radius); overflow: hidden; background: var(--bg-alt); }
.article__hero img { width: 100%; max-height: 80vh; object-fit: cover; }
.prose { font-size: 1.19rem; line-height: 1.58; letter-spacing: -.008em; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: 1.75rem; line-height: 1.14; letter-spacing: -.022em; margin-top: 2em; }
.prose h3 { font-size: 1.31rem; line-height: 1.2; letter-spacing: -.016em; margin-top: 1.7em; }
.prose h2 + *, .prose h3 + * { margin-top: .6em; }
.prose ul, .prose ol { padding-left: 1.3em; } .prose ul { list-style: disc; } .prose ol { list-style: decimal; }
.prose li + li { margin-top: .45em; }
.prose a { color: var(--green-ink); text-decoration: underline; text-underline-offset: .18em; }
.prose img { border-radius: 1.25rem; margin-inline: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.prose th, .prose td { text-align: left; padding: .7rem .6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose .tablewrap { overflow-x: auto; }
.prose--sm { font-size: 1.06rem; }
.endcta { margin-top: 3.5rem; padding: clamp(1.75rem, 4vw, 2.5rem); border-radius: var(--radius); background: var(--bg-alt); }
.endcta h2 { font-size: 1.75rem; letter-spacing: -.022em; line-height: 1.14; }
.endcta p { color: var(--gray); margin-top: .5rem; font-size: 1.06rem; }
.pn { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 2.5rem; }
.pn a { padding: 1.25rem 1.4rem; border-radius: 1.25rem; background: var(--bg-alt); transition: transform .3s var(--ease-out); }
.pn a:active { transform: scale(.98); }
.pn span { display: block; color: var(--gray); font-size: .81rem; font-weight: 600; }
.pn strong { display: block; margin-top: .2rem; line-height: 1.25; }
.pn a:last-child { text-align: right; }
@media (max-width: 36rem) { .pn { grid-template-columns: 1fr; } .pn a:last-child { text-align: left; } }

/* Feature rows, contact cards, embeds */
.rows { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: clamp(2rem, 5vw, 3.5rem); }
.rows--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 52rem) { .rows, .rows--2 { grid-template-columns: 1fr; } }
.box { background: var(--bg-alt); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.25rem); display: flex; flex-direction: column; }
.section--gray .box { background: var(--bg); }
.box h3 { font-size: 1.5rem; line-height: 1.15; letter-spacing: -.02em; }
.box p { margin-top: .6rem; color: var(--gray); font-size: 1.06rem; line-height: 1.42; }
.box .link { margin-top: auto; padding-bottom: 0; padding-top: 1rem; }
.box img { border-radius: 1rem; margin-bottom: 1.25rem; aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.box__big { font-size: clamp(2.25rem, 5vw, 3.25rem); line-height: 1; font-weight: 700; letter-spacing: -.03em; color: var(--green-ink); margin-bottom: .75rem; }
.embed { width: 100%; border: 0; border-radius: var(--radius); background: #fff; min-height: 46rem; }
.linklist { columns: 2; column-gap: 2rem; } .linklist li { padding: .3rem 0; break-inside: avoid; }
.linklist a { color: var(--green-ink); text-decoration: underline; text-underline-offset: .18em; }
@media (max-width: 36rem) { .linklist { columns: 1; } }
.areas { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.areas li { padding: .45rem .9rem; border-radius: 999px; background: var(--bg-alt); font-size: .94rem; }
.section--gray .areas li { background: var(--bg); }
.center-col { display: flex; flex-direction: column; align-items: center; text-align: center; }
.mt { margin-top: clamp(2rem, 5vw, 3.5rem); }
.footer__cols { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 52rem) { .footer__cols { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 30rem) { .footer__cols { grid-template-columns: 1fr; } }
.footer__logo { height: 1.75rem; width: auto; margin-bottom: 1rem; }

@media (prefers-color-scheme: dark) {
  .seg { background: rgba(255,255,255,.1); } .seg [aria-current="page"], .seg [aria-pressed="true"] { background: #3a3a3c; }
  .btn--ghost { background: rgba(255,255,255,.12); color: var(--ink); } .btn--ghost:hover { background: rgba(255,255,255,.2); }
  .tcard { background: #1d1d1f; } .section--gray .box, .section--gray .areas li { background: #1d1d1f; }
  .surf img { opacity: .94; }
}
@media (prefers-reduced-motion: reduce) {
  .lb__scrim, .lb__cap, .lb__btn { transition-duration: .01s; }
  .big img, .post__img img, .g__btn, .post { transition: none; }
}
@media (prefers-reduced-transparency: reduce) { .lb__scrim { -webkit-backdrop-filter: none; backdrop-filter: none; background: #000; } }
