/* Mantera — site styles
   Palette is pulled from the surf footage: deep-water ink, foam, dry sand,
   and Mantera red (the red board in the lineup). */

/* Sora (Matt picked it 2026-11-14 from the Round 19 font options), self-hosted variable font 100–800 */
@font-face { font-family: "Sora"; src: url("../fonts/sora.woff2") format("woff2"); font-weight: 100 800; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Sora"; src: url("../fonts/sora-ext.woff2") format("woff2"); font-weight: 100 800; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --ink: #17252b;            /* Deep Current */
  --ink-2: #1d2f37;
  --ink-3: #263d47;
  --foam: #f7faf9;           /* Blackwater White */
  --sand: #e6edf1;           /* Pacific Blue tint */
  --sand-2: #d3dfe6;
  --red: #db2835;            /* Deep Crimson */
  --red-btn: #db2835;
  --red-light: #f26a72;
  --blue: #315b7c;           /* Pacific Blue */
  --sea: #315b7c;

  --on-dark: rgba(247, 250, 249, .84);
  --on-dark-2: rgba(247, 250, 249, .62);
  --on-light: rgba(23, 37, 43, .82);
  --on-light-2: rgba(23, 37, 43, .6);
  --line-dark: rgba(247, 250, 249, .14);
  --line-light: rgba(23, 37, 43, .14);

  --serif: "Sora", "Helvetica Neue", Arial, sans-serif;
  --sans: "Sora", "Helvetica Neue", Arial, sans-serif;

  --pad: clamp(1.25rem, 4.2vw, 4.5rem);
  --gap: clamp(1rem, 2vw, 1.75rem);
  --nav-h: 4.75rem;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --radius: 0.25rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--foam);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p, figure, blockquote { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--red); color: var(--foam); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 0.1875rem; border-radius: 2px; }

.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 0.75rem; top: -3.75rem; z-index: 300; background: var(--foam); color: var(--ink); padding: 0.625rem 1rem; border-radius: 62.4375rem; font-size: 0.875rem; transition: top .2s; }
.skip:focus { top: 0.75rem; }

/* ---------- Themes ---------- */
.t-dark { background: var(--ink); color: var(--foam); --body: var(--on-dark); --body-2: var(--on-dark-2); --line: var(--line-dark); }

.t-light { background: var(--foam); color: var(--ink); --body: var(--on-light); --body-2: var(--on-light-2); --line: var(--line-light); }
.t-sand { background: var(--sand); color: var(--ink); --body: var(--on-light); --body-2: var(--on-light-2); --line: var(--line-light); }
.t-red { background: var(--red); color: var(--ink); --body: rgba(23, 37, 43, .82); --body-2: rgba(23, 37, 43, .62); --line: rgba(23, 37, 43, .2); }

/* ---------- Type ---------- */
.display {
  font-family: var(--serif);
  font-weight: 400;
  font-optical-sizing: auto;
  line-height: .98;
  letter-spacing: -.018em;
}
.display em { font-style: italic; letter-spacing: -.02em; }
.h-xxl { font-size: clamp(3.5rem, 10vw, 11.5rem); line-height: .92; letter-spacing: -.026em; }
.h-xl { font-size: clamp(2.875rem, 6.8vw, 7.75rem); line-height: .95; letter-spacing: -.024em; }
.h-l { font-size: clamp(2.375rem, 4.6vw, 5rem); line-height: 1; }
.h-m { font-size: clamp(1.875rem, 3.2vw, 3.375rem); line-height: 1.04; }
.h-s { font-size: clamp(1.625rem, 2.3vw, 2.25rem); line-height: 1.1; letter-spacing: -.012em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-family: var(--sans); font-stretch: 112%; font-weight: 600;
  font-size: 0.7812rem; line-height: 1; letter-spacing: .14em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 1.375rem; height: 2px; background: var(--red); flex: none; }
.eyebrow .num { opacity: .55; font-variant-numeric: tabular-nums; }

.label {
  font-family: var(--sans); font-stretch: 110%; font-weight: 600;
  font-size: 0.75rem; letter-spacing: .12em; text-transform: uppercase; line-height: 1.35;
}
.lede { font-size: clamp(1.125rem, 1.3vw, 1.25rem); line-height: 1.6; color: var(--body); max-width: 34em; }
.body { color: var(--body); max-width: 36em; }
.body + .body { margin-top: 1em; }

/* line reveal: <span class="ln"><span>…</span></span> */
.ln { display: block; overflow: hidden; padding-bottom: .17em; margin-bottom: -.17em; }
.ln > span { display: block; transform: translate3d(0, 108%, 0); transition: transform 1.25s var(--ease); }
.ln:nth-child(2) > span { transition-delay: .08s; }
.ln:nth-child(3) > span { transition-delay: .16s; }
.ln:nth-child(4) > span { transition-delay: .24s; }
.is-in .ln > span, .ln.is-in > span { transform: none; }
.no-js .ln > span, .reduce .ln > span { transform: none; }

[data-reveal] { opacity: 0; transform: translate3d(0, 1.75rem, 0); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].is-in { opacity: 1; transform: none; }
.no-js [data-reveal], .reduce [data-reveal] { opacity: 1; transform: none; }

/* ---------- Layout ---------- */
.wrap { padding-left: var(--pad); padding-right: var(--pad); }
.section { position: relative; padding-top: clamp(6rem, 13vw, 12.5rem); padding-bottom: clamp(6rem, 13vw, 12.5rem); }

.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }

.sec-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; margin-bottom: clamp(3rem, 6vw, 6rem); }
.sec-head__eyebrow { grid-column: 1 / -1; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.sec-head__title { grid-column: 1 / span 8; }
.sec-head__aside { grid-column: 9 / -1; padding-bottom: .6em; }

/* ---------- Buttons ---------- */
.btn {
  --h: 3.375rem;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem;
  height: var(--h); padding: 0 1.75rem; border-radius: 62.4375rem;
  font-family: var(--sans); font-stretch: 110%; font-weight: 600; font-size: 0.8125rem; letter-spacing: .1em; text-transform: uppercase;
  white-space: nowrap; overflow: hidden; isolation: isolate;
  transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease);
}
.btn--sm { --h: 2.75rem; padding: 0 1.375rem; font-size: 0.75rem; }
.btn--red { background: var(--red-btn); color: #fff; }
.btn--red:hover { background: var(--foam); color: var(--ink); }
.btn--light { background: var(--foam); color: var(--ink); }
.btn--light:hover { background: var(--red-btn); color: #fff; }
.btn--ink { background: var(--ink); color: var(--foam); }
.btn--ink:hover { background: var(--red-btn); color: #fff; }
.btn--ghost { box-shadow: inset 0 0 0 1px currentColor; }
.btn--ghost:hover { background: var(--foam); color: var(--ink); box-shadow: inset 0 0 0 1px var(--foam); }
.t-light .btn--ghost:hover, .t-sand .btn--ghost:hover { background: var(--ink); color: var(--foam); box-shadow: inset 0 0 0 1px var(--ink); }
.btn__label { position: relative; display: inline-block; line-height: 1.25; height: 1.25em; overflow: hidden; }
.btn__label > span { display: block; transition: transform .6s var(--ease); }
.btn__label::after { content: attr(data-label); position: absolute; left: 0; top: 100%; transition: transform .6s var(--ease); }
.btn:hover .btn__label > span, .btn:hover .btn__label::after { transform: translateY(-100%); }
.btn .arrow { width: 0.875rem; height: 0.875rem; flex: none; transition: transform .6s var(--ease); }
.btn:hover .arrow { transform: translateX(0.1875rem); }

.link {
  position: relative; display: inline-flex; align-items: center; gap: 0.625rem;
  font-family: var(--sans); font-stretch: 110%; font-weight: 600; font-size: 0.8125rem; letter-spacing: .1em; text-transform: uppercase;
  padding-bottom: 0.375rem;
}
.link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform-origin: right; transition: transform .7s var(--ease); }
.link:hover::after { transform: scaleX(0); }
.link .arrow { width: 0.8125rem; height: 0.8125rem; transition: transform .6s var(--ease); }
.link:hover .arrow { transform: translate(0.1875rem, 0); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  display: grid; grid-template-columns: 1fr auto 1fr; column-gap: 1.5rem; align-items: center;
  padding: 0 var(--pad); color: var(--foam);
  transition: transform .8s var(--ease), color .5s var(--ease);
}
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: color-mix(in srgb, var(--nav-bg, var(--ink)) 82%, transparent);
  -webkit-backdrop-filter: blur(1rem) saturate(1.3); backdrop-filter: blur(1rem) saturate(1.3);
  border-bottom: 1px solid var(--nav-line, var(--line-dark));
  transition: opacity .5s var(--ease), background-color .5s var(--ease);
}
.nav.is-solid::before { opacity: 1; }
.nav.is-hidden { transform: translate3d(0, -100%, 0); }
.nav.on-light { color: var(--ink); --nav-bg: var(--foam); --nav-line: var(--line-light); }
.nav.on-sand { color: var(--ink); --nav-bg: var(--sand); --nav-line: var(--line-light); }
.nav.on-red { color: var(--ink); --nav-bg: var(--red); --nav-line: rgba(23, 37, 43, .2); }
.nav__logo { justify-self: start; display: block; width: clamp(8rem, 11vw, 10.5rem); color: inherit; }
.nav__logo svg { width: 100%; height: auto; fill: currentColor; overflow: visible; }
.nav__links { display: flex; align-items: center; gap: clamp(1.125rem, 2.1vw, 2.125rem); }
.nav__links > a, .dd > a, .dd__btn {
  position: relative; display: inline-block; font-stretch: 105%; font-weight: 600; font-size: 0.8125rem; letter-spacing: .06em; text-transform: uppercase; padding: 0.625rem 0; color: inherit;
}
.nav__links > a::after, .dd > a::after, .dd__btn::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.nav__links > a:hover::after, .dd:hover > a::after, .dd:hover > .dd__btn::after, .nav__links [aria-current="page"]::after { transform: scaleX(1); }
.dd { position: relative; }
.dd__panel {
  position: absolute; top: calc(100% + 0.875rem); left: 50%; z-index: 5; min-width: 14.375rem; padding: 0.75rem;
  background: var(--ink); color: var(--foam); border: 1px solid var(--line-dark); border-radius: 0.375rem;
  box-shadow: 0 1.875rem 3.75rem -1.25rem rgba(0, 0, 0, .45);
  opacity: 0; visibility: hidden; transform: translate(-50%, 0.5rem); transition: opacity .35s var(--ease), transform .5s var(--ease), visibility .35s;
}
.dd__panel::before { content: ""; position: absolute; left: 0; right: 0; top: -1.125rem; height: 1.125rem; }
.dd:hover .dd__panel, .dd:focus-within .dd__panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dd__panel > a { display: block; padding: 0.5625rem 0.75rem; border-radius: 0.25rem; font-size: 0.9062rem; color: var(--on-dark); transition: background-color .25s, color .25s; }
.dd__panel > a:hover { background: var(--ink-3); color: var(--foam); }
.dd__panel--list { display: grid; grid-template-columns: 1fr 1fr; min-width: 25rem; }
.dd__panel--mega { width: min(66.25rem, 92vw); padding: 1.625rem; }
.mega { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.5rem; }
.mega__col { display: flex; flex-direction: column; gap: 0.375rem; padding: 1.125rem; border-radius: 0.25rem; transition: background-color .3s; }
.mega__col:hover { background: var(--ink-3); }
.mega__col b { font-family: var(--serif); font-weight: 400; font-size: 1.375rem; letter-spacing: -.01em; margin-bottom: 0.5rem; }
.mega__col span { font-size: 0.8438rem; color: var(--on-dark-2); }
.mega__col em { margin-top: 0.75rem; font-style: normal; font-stretch: 125%; font-weight: 600; font-size: 0.6562rem; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.mega__more { display: flex; flex-wrap: wrap; gap: 0.375rem; margin-top: 1rem; padding-top: 1.125rem; border-top: 1px solid var(--line-dark); }
.mega__more a { font-size: 0.8438rem; padding: 0.4375rem 0.8125rem; border-radius: 62.4375rem; box-shadow: inset 0 0 0 1px var(--line-dark); color: var(--on-dark); transition: background-color .3s, color .3s; }
.mega__more a:hover { background: var(--foam); color: var(--ink); }
.nav__end { justify-self: end; display: flex; align-items: center; gap: 1.375rem; }

.nav__menu { display: none; align-items: center; gap: 0.75rem; height: 2.625rem; padding: 0 0.25rem 0 0; font-stretch: 125%; font-weight: 600; font-size: 0.6875rem; letter-spacing: .18em; text-transform: uppercase; }
.nav__menu-icon { position: relative; width: 1.625rem; height: 0.625rem; }
.nav__menu-icon i { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .6s var(--ease), top .6s var(--ease); }
.nav__menu-icon i:first-child { top: 0; }
.nav__menu-icon i:last-child { top: 0.5312rem; }
.menu-open .nav__menu-icon i:first-child { top: 0.2656rem; transform: rotate(45deg); }
.menu-open .nav__menu-icon i:last-child { top: 0.2656rem; transform: rotate(-45deg); }
.menu-open .nav { color: var(--foam); }
.menu-open .nav::before { opacity: 0; }

.menu {
  position: fixed; inset: 0; z-index: 90; background: var(--ink); color: var(--foam);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--nav-h) + 2rem) var(--pad) 2rem;
  clip-path: inset(0 0 100% 0); transition: clip-path .9s var(--ease-io); visibility: hidden;
}
.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; }
.menu__links a { display: block; font-family: var(--serif); font-size: clamp(2.375rem, 9.5vw, 5rem); line-height: 1.02; letter-spacing: -.03em; }
.menu__links a em { font-style: italic; }
.menu__links li { overflow: hidden; }
.menu__links li a { transform: translateY(105%); transition: transform 1s var(--ease); }
.menu-open .menu__links li a { transform: none; }
.menu-open .menu__links li:nth-child(2) a { transition-delay: .05s; }
.menu-open .menu__links li:nth-child(3) a { transition-delay: .1s; }
.menu-open .menu__links li:nth-child(4) a { transition-delay: .15s; }
.menu-open .menu__links li:nth-child(5) a { transition-delay: .2s; }
.menu__sub { color: var(--on-dark-2); }
.menu__sub p { margin-top: 0.625rem; line-height: 1.9; font-size: 0.875rem; }
.menu__sub a { color: var(--on-dark); margin-right: 0.875rem; white-space: nowrap; }
.menu__foot { display: grid; gap: 0.375rem; color: var(--on-dark); font-size: 0.9375rem; }
.menu__foot a { color: var(--foam); }

/* ---------- Curtain (page transition) ---------- */
.curtain {
  position: fixed; inset: 0; z-index: 200; background: var(--ink); color: var(--foam);
  display: grid; place-items: center; pointer-events: none;
  transform: translate3d(0, 100%, 0);
}
.curtain svg { width: clamp(10rem, 16vw, 16.25rem); fill: currentColor; opacity: 0; transform: translateY(0.875rem); transition: opacity .5s var(--ease), transform .8s var(--ease); }
.curtain.is-covering { transform: none; transition: transform .7s var(--ease-io); pointer-events: all; }
.curtain.is-covering svg { opacity: 1; transform: none; transition-delay: .25s; }
.curtain.is-cover { transform: none; transition: none; }
.curtain.is-cover svg { opacity: 1; transform: none; transition: none; }
.arrive .curtain { transform: none; }
.arrive .curtain svg { opacity: 1; transform: none; }
.curtain.is-leaving { transform: translate3d(0, -100%, 0); transition: transform .9s var(--ease-io); }
.curtain.is-leaving svg { opacity: 0; transition: opacity .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 38.75rem; overflow: hidden;
  background: var(--ink); color: var(--foam);
}
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__media-inner { position: absolute; inset: 0; transform-origin: 50% 60%; will-change: transform; }
.hero__video, .hero__water, .hero__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__poster { z-index: 0; }
.hero__video { z-index: 1; }
.hero__water { z-index: 2; opacity: 0; transition: opacity .8s; }
.hero.has-water .hero__water { opacity: 1; }
.hero__shade {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(23, 37, 43, .55) 0%, rgba(23, 37, 43, 0) 20%),
    linear-gradient(0deg, rgba(23, 37, 43, .82) 0%, rgba(23, 37, 43, .35) 34%, rgba(23, 37, 43, 0) 62%),
    radial-gradient(120% 90% at 0% 100%, rgba(23, 37, 43, .55) 0%, rgba(23, 37, 43, 0) 60%);
}
.hero__grain { position: absolute; inset: -50%; z-index: 4; pointer-events: none; opacity: .07; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 1s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); } 60% { transform: translate(-1%, 3%); } 80% { transform: translate(3%, 1%); } 100% { transform: translate(0, 0); } }

.hero__content { position: absolute; inset: 0; z-index: 5; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-content: end; padding: 0 var(--pad) clamp(5.75rem, 11vh, 7.5rem); pointer-events: none; }
.hero__content a, .hero__content button { pointer-events: auto; }
.hero__title { grid-column: 1 / span 9; font-size: clamp(4rem, 11.6vw, 13.625rem); text-shadow: 0 2px 2.5rem rgba(23, 37, 43, .25); }
.hero__title .ln { padding-bottom: .17em; margin-bottom: -.17em; }
.hero__title em { padding-right: .04em; }
.hero__aside { grid-column: 10 / -1; align-self: end; padding-bottom: .9vw; }
.hero__aside p { color: rgba(247, 250, 249, .86); font-size: 1rem; line-height: 1.55; max-width: 25em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.625rem; margin-top: 1.625rem; }
.hero__foot {
  position: absolute; left: var(--pad); right: var(--pad); bottom: 1.75rem; z-index: 5;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.25rem;
  color: rgba(247, 250, 249, .78);
}
.hero__foot > :last-child { justify-self: end; }
.hero__foot .label { display: flex; gap: 1.125rem; align-items: center; }

.hero__horizon { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--foam); z-index: 6; transform: scaleX(0); opacity: 0; pointer-events: none; }

/* intro sequence (home only) */
.intro-pending .hero__media { clip-path: inset(50% 0 50% 0); }
.intro-pending .hero__content .ln > span { transform: translate3d(0, 108%, 0); }
.intro-pending .hero__aside, .intro-pending .hero__foot, .intro-pending .nav { opacity: 0; }
.intro-run .hero__horizon { animation: horizon 1.5s var(--ease-io) forwards; }
.intro-run .hero__media { animation: open-water 1.7s var(--ease-io) .55s both; }
.intro-run .nav { animation: fade-down 1.2s var(--ease) 1.5s both; }
.intro-run .hero__aside { animation: fade-up 1.2s var(--ease) 1.7s both; }
.intro-run .hero__foot { animation: fade-in 1.2s var(--ease) 1.9s both; }
@keyframes horizon { 0% { transform: scaleX(0); opacity: 1; } 45% { transform: scaleX(1); opacity: 1; } 70% { opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
@keyframes open-water { from { clip-path: inset(50% 0 50% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes fade-down { from { opacity: 0; transform: translateY(-1rem); } to { opacity: 1; transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(1.25rem); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Logo marquee ---------- */
.logos { padding: 2.375rem 0 2.75rem; border-bottom: 1px solid var(--line-dark); overflow: hidden; }

.marquee { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.logos:hover .marquee { animation-play-state: paused; }
.marquee__set { display: flex; align-items: center; gap: clamp(3.5rem, 6vw, 6.5rem); padding-right: clamp(3.5rem, 6vw, 6.5rem); }
.marquee__set img { height: var(--h, 1.875rem); width: auto; opacity: .62; transition: opacity .4s; }
.marquee__set img:hover { opacity: 1; }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }

/* ---------- Intro / manifesto ---------- */
.manifesto__text { font-size: clamp(2.125rem, 4.75vw, 5.25rem); line-height: 1.06; letter-spacing: -.026em; max-width: 15.5em; }
.manifesto__text .w { white-space: nowrap; }
.manifesto__text .w { opacity: .2; transition: opacity .2s linear; }
.no-js .manifesto__text .w, .reduce .manifesto__text .w { opacity: 1; }
.pill-img {
  display: inline-block; width: 1.72em; height: .78em; border-radius: 62.4375rem; overflow: hidden;
  vertical-align: baseline; transform: translateY(.06em); margin: 0 .06em; background: var(--sand-2);
}
.pill-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.25); transition: transform 1.6s var(--ease); }
.pill-img.is-in img { transform: scale(1); }

/* ---------- The Set (wave interference) ---------- */
.set { position: relative; overflow: hidden; }

/* ---------- Work index ---------- */

.work-row {
  position: relative; display: grid; grid-template-columns: 4rem minmax(0, 1fr) 12.5rem 14.375rem 2.75rem; column-gap: var(--gap); align-items: center;
  padding: clamp(1.375rem, 2.4vw, 2.125rem) 0; border-top: 1px solid var(--line);
  transition: opacity .5s var(--ease), color .5s var(--ease);
}

.industries { color: var(--body); font-size: 0.9375rem; max-width: 46em; }
.industries span { white-space: nowrap; }
.industries span:not(:last-child)::after { content: "·"; margin: 0 .55em; opacity: .5; }

.preview {
  position: fixed; left: 0; top: 0; z-index: 60; width: clamp(20rem, 30vw, 32.5rem); aspect-ratio: 642 / 392;
  pointer-events: none; opacity: 0; transition: opacity .45s var(--ease);
}
.preview.is-on { opacity: 1; }
.preview__inner { position: absolute; inset: 0; transform: scale(.55); transition: transform .8s var(--ease); }
.preview.is-on .preview__inner { transform: none; }
.preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transform: scale(1.06); transition: opacity .35s, transform .9s var(--ease); filter: drop-shadow(0 1.875rem 2.5rem rgba(23, 37, 43, .35)); }
.preview img.is-active { opacity: 1; transform: none; }

/* ---------- Services (disciplines) ---------- */

/* ---------- Crew ---------- */

.member { position: relative; }

.culture { margin-top: clamp(6rem, 12vw, 11.25rem); overflow: hidden; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.quotes__side { grid-column: 1 / span 3; display: flex; flex-direction: column; justify-content: space-between; gap: 2.5rem; }
.quotes__stage { grid-column: 4 / -1; position: relative; min-height: 0; display: grid; }
.quote { grid-area: 1 / 1; opacity: 0; transform: translate3d(0, 1.625rem, 0); pointer-events: none; transition: opacity .5s var(--ease), transform .9s var(--ease); }
.quote.is-active { opacity: 1; transform: none; pointer-events: auto; transition-delay: .18s; }
.quote__text { font-family: var(--serif); font-variation-settings: 'opsz' 28; font-weight: 450; font-size: clamp(1.625rem, 2.6vw, 2.75rem); line-height: 1.2; letter-spacing: -.01em; text-wrap: pretty; max-width: 26em; }
.quote__text em { font-style: italic; }
.quote__by { margin-top: clamp(1.75rem, 3vw, 2.75rem); display: flex; gap: 0.875rem; align-items: center; }
.quote__by .label { opacity: .75; }
.quotes__nav { display: flex; align-items: center; gap: 1.125rem; }
.quotes__count { font-variant-numeric: tabular-nums; font-size: 0.875rem; font-weight: 500; }
.quotes__bar { position: relative; flex: 1; height: 1px; background: rgba(23, 37, 43, .25); overflow: hidden; max-width: 8.75rem; }
.quotes__bar i { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(0); }
.quotes__btns { display: flex; gap: 0.5rem; }
.circle-btn { width: 3.25rem; height: 3.25rem; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px currentColor; transition: background-color .4s var(--ease), color .4s var(--ease); }
.circle-btn svg { width: 0.9375rem; height: 0.9375rem; }
.circle-btn:hover { background: var(--ink); color: var(--foam); box-shadow: inset 0 0 0 1px var(--ink); }
.t-dark .circle-btn:hover { background: var(--foam); color: var(--ink); }

/* ---------- Community / Join ---------- */
.give { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center; }

.join { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gap); margin-top: clamp(6rem, 12vw, 11.25rem); }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; color: var(--foam); background: var(--ink); }
.cta__media { position: absolute; inset: 0; }
.cta__media video, .cta__media img { width: 100%; height: 100%; object-fit: cover; }
.cta__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23, 37, 43, .72), rgba(23, 37, 43, .5) 40%, rgba(23, 37, 43, .86)); }
.cta__inner { position: relative; z-index: 2; padding: clamp(7.5rem, 16vw, 15rem) var(--pad) clamp(4rem, 7vw, 6.875rem); }
.cta__title { font-size: clamp(4rem, 12.4vw, 14.75rem); }
.cta__row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); margin-top: clamp(3rem, 6vw, 6rem); align-items: end; }

/* ---------- Footer ---------- */
.footer { padding: clamp(4.5rem, 8vw, 7.5rem) var(--pad) 1.625rem; overflow: hidden; }
.footer__top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 3rem; }

.footer__col { grid-column: span 2; }
.footer__col:first-of-type { grid-column: 6 / span 2; }
.footer__col h3 { color: var(--on-dark-2); margin-bottom: 1.25rem; }
.footer__col li + li { margin-top: 0.5625rem; }
.footer__col a { color: var(--on-dark); font-size: 0.9375rem; transition: color .3s; }
.footer__col a:hover { color: var(--foam); }
.footer__word { position: relative; margin-top: clamp(5rem, 10vw, 9.375rem); aspect-ratio: 4480 / 336; color: var(--foam); }
.footer__word svg { position: absolute; top: 0; height: 100%; fill: currentColor; overflow: visible; }
.footer__word .lt { transform: translate3d(0, 110%, 0); transition: transform 1.4s var(--ease); }
.footer__word.is-in .lt { transform: none; }
.footer__word-mask { position: absolute; inset: 0; overflow: hidden; }
.footer__base { display: flex; justify-content: space-between; gap: 1.25rem; flex-wrap: wrap; margin-top: 1.875rem; padding-top: 1.375rem; border-top: 1px solid var(--line-dark); color: var(--on-dark-2); font-size: 0.8438rem; }
.footer__base a:hover { color: var(--foam); }
.footer__base nav { display: flex; gap: 1.5rem; }

/* ---------- Page hero (inner pages) ---------- */
.phero { position: relative; padding: calc(var(--nav-h) + clamp(5rem, 12vw, 11.25rem)) var(--pad) clamp(3.5rem, 6vw, 6rem); overflow: hidden; }
.phero__eyebrow { margin-bottom: clamp(1.75rem, 3vw, 2.75rem); }
.phero__row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; }
.phero__title { grid-column: 1 / span 9; }
.phero__aside { grid-column: 10 / -1; padding-bottom: .8vw; }
.phero__aside .lede { font-size: 1.0625rem; }
.phero--media { color: var(--foam); min-height: 92vh; min-height: 92svh; display: flex; flex-direction: column; justify-content: flex-end; }
.phero--media .phero__bg { position: absolute; inset: 0; z-index: 0; }
.phero--media .phero__bg img, .phero--media .phero__bg video { width: 100%; height: 115%; object-fit: cover; }
.phero--media .phero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(23, 37, 43, .86) 0%, rgba(23, 37, 43, .3) 55%, rgba(23, 37, 43, .5) 100%); }
.phero--media > :not(.phero__bg) { position: relative; z-index: 1; }

/* ---------- Work page ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }

.cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(3.5rem, 6vw, 6rem) var(--gap); }

/* ---------- Services page ---------- */

.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: var(--gap); counter-reset: step; }
.step { border-top: 1px solid var(--line); padding-top: 1.5rem; }
.step__n { font-family: var(--serif); font-style: italic; font-size: 1.375rem; color: var(--red); }
.step h3 { margin: 2.5rem 0 0.75rem; font-family: var(--serif); font-size: clamp(1.625rem, 2.1vw, 2.125rem); line-height: 1.02; letter-spacing: -.02em; }
.step p { color: var(--body); font-size: 0.9375rem; }

/* ---------- Agency page ---------- */
.story { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }

.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 var(--gap); }
.value { padding: 2rem 0 2.5rem; border-top: 1px solid var(--line); }
.value .label { color: var(--body-2); }
.value h3 { margin: 1.875rem 0 0.75rem; font-family: var(--serif); font-size: clamp(1.875rem, 2.6vw, 2.625rem); line-height: 1; letter-spacing: -.025em; }
.value p { color: var(--body); font-size: 0.9688rem; max-width: 26em; }

.bios { display: grid; gap: 0; }
.bio { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding: clamp(2.5rem, 5vw, 4.5rem) 0; border-top: 1px solid var(--line); align-items: start; }
.bio__photo { grid-column: 1 / span 3; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--sand-2); }
.bio__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .9s var(--ease); }
.bio:hover .bio__photo img { filter: none; }
.bio__main { grid-column: 5 / span 5; }
.bio__name { font-family: var(--serif); font-size: clamp(2.25rem, 3.6vw, 3.75rem); line-height: .98; letter-spacing: -.03em; }
.bio__role { margin: 0.75rem 0 1.625rem; color: var(--body-2); }
.bio__main p { color: var(--body); }
.bio__facts { grid-column: 11 / -1; display: grid; gap: 1.375rem; }
.bio__facts dt { color: var(--body-2); margin-bottom: 0.375rem; }
.bio__facts dd { margin: 0; font-size: 0.9375rem; line-height: 1.45; }

.role { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) 11.25rem; column-gap: var(--gap); align-items: center; padding: 1.875rem 0; border-top: 1px solid var(--line); }
.role h3 { font-family: var(--serif); font-size: clamp(1.75rem, 2.6vw, 2.75rem); line-height: 1; letter-spacing: -.025em; }
.role p { color: var(--body); font-size: 0.9688rem; }
.role .link { justify-self: end; }

/* ---------- Contact page ---------- */
.contact { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }

.field { position: relative; border-bottom: 1px solid var(--line); }
.field + .field { margin-top: 0.375rem; }

.field label { position: absolute; left: 0; top: 1.625rem; font-size: 1.0625rem; color: var(--body-2); pointer-events: none; transform-origin: left top; transition: transform .5s var(--ease), color .3s; }
.field input, .field textarea, .field select {
  width: 100%; border: 0; background: transparent; color: inherit; font: inherit; font-size: 1.125rem;
  padding: 1.875rem 0 0.875rem; outline: none; border-radius: 0; -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 9.375rem; resize: vertical; padding-top: 2.375rem; line-height: 1.5; }
.field::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.field:focus-within::after { transform: scaleX(1); }
.field:focus-within label, .field.has-value label { transform: translateY(-1rem) scale(.72); color: var(--body); }
.field--error::after { background: var(--red); transform: scaleX(1); }
.field--error label { color: var(--red-btn) !important; }
.choices { margin: 2.25rem 0 0.625rem; }
.choices legend { padding: 0; margin-bottom: 1rem; color: var(--body-2); }
.choices fieldset, fieldset.choices { border: 0; padding: 0; margin: 2.25rem 0 0.625rem; min-width: 0; }

.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: inline-flex; align-items: center; height: 2.625rem; padding: 0 1rem; border-radius: 62.4375rem; box-shadow: inset 0 0 0 1px var(--line); font-size: 0.9062rem; cursor: pointer; transition: background-color .35s var(--ease), color .35s, box-shadow .35s; user-select: none; }
.choice span:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.choice input:checked + span { background: var(--ink); color: var(--foam); box-shadow: none; }
.choice input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }

.is-sent form { display: none; }

.area { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center; }
.area__map { grid-column: 1 / span 6; position: relative; }
.area__map svg { width: 100%; height: auto; overflow: visible; }
.area__list { grid-column: 8 / -1; }
.county { padding: 1.125rem 0 1.25rem; border-top: 1px solid var(--line); cursor: default; }
.county h3 { font-family: var(--serif); font-size: clamp(1.625rem, 2.2vw, 2.25rem); line-height: 1; letter-spacing: -.02em; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; transition: color .3s; }
.county h3 .label { color: var(--body-2); }
.county p { margin-top: 0.5rem; color: var(--body); font-size: 0.9062rem; }
.county:hover h3, .county.is-hot h3 { color: var(--red); }
.map-coast { fill: none; stroke: var(--on-dark-2); stroke-width: 1.2; stroke-dasharray: 1 5; stroke-linecap: round; }
.map-coast-solid { fill: none; stroke: rgba(247, 250, 249, .22); stroke-width: 1; }
.map-ocean { fill: url(#oceanFade); }
.map-city { fill: var(--foam); opacity: .5; transition: opacity .3s, r .3s; }
.map-city.is-hot { opacity: 1; fill: var(--red); }
.map-route { fill: none; stroke: var(--red); stroke-width: 1.3; stroke-dasharray: 4 5; opacity: .85; }
.map-hq { fill: var(--red); }
.map-pulse { fill: none; stroke: var(--red); stroke-width: 1; transform-box: fill-box; transform-origin: center; animation: pulse 2.6s var(--ease) infinite; }
@keyframes pulse { from { transform: scale(.4); opacity: 1; } to { transform: scale(3.4); opacity: 0; } }
.map-label { fill: var(--foam); font-family: var(--sans); font-stretch: 125%; font-size: 0.625rem; letter-spacing: .16em; text-transform: uppercase; }
.map-label--hq { font-size: 0.6875rem; font-weight: 600; }
.map-label--dim { fill: var(--on-dark-2); }
.map-county { fill: var(--on-dark); font-family: var(--serif); font-style: italic; font-size: 0.9375rem; letter-spacing: 0; text-transform: none; }

/* ---------- Generic media ---------- */

/* ---------- 404 ---------- */
.lost { min-height: 100vh; min-height: 100svh; display: grid; align-content: end; padding: var(--nav-h) var(--pad) 10vh; }

/* ===================== Homepage sections (original content) ===================== */
.trusted { padding: clamp(3.5rem, 6vw, 5.5rem) 0 clamp(3.25rem, 6vw, 5.25rem); border-bottom: 1px solid var(--line-light); overflow: hidden; }
.trusted__head { margin-bottom: clamp(2rem, 3.4vw, 3rem); }
.marquee--color { animation-duration: 62s; }
.marquee--color .marquee__set { gap: clamp(3.75rem, 6vw, 6.875rem); padding-right: clamp(3.75rem, 6vw, 6.875rem); }
.marquee--color img { opacity: .78; filter: grayscale(1) contrast(1.1); mix-blend-mode: multiply; transition: filter .5s var(--ease), opacity .5s; }
.marquee--color img:hover { filter: none; opacity: 1; }
.trusted:hover .marquee { animation-play-state: paused; }

.values-home { padding: clamp(6rem, 11vw, 10.625rem) 0 clamp(6rem, 12vw, 11.875rem); }
.values-home .manifesto__text { font-size: clamp(2.5rem, 6vw, 6.75rem); line-height: 1; max-width: 13.5em; }
.pair { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); margin-top: clamp(4rem, 8vw, 7.5rem); }
.pair__item { grid-column: span 4; border-top: 1px solid var(--line); padding-top: 1.625rem; }
.pair__item:first-child { grid-column: 5 / span 4; }
.pair__item h3 { font-size: clamp(1.75rem, 2.4vw, 2.5rem); line-height: 1.02; letter-spacing: -.02em; margin-bottom: 0.875rem; }
.pair__item p { color: var(--body); max-width: 24em; }

.showcase__title { margin-bottom: clamp(3.5rem, 7vw, 6.875rem); }
.showcase { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
.showcase__tabs { grid-column: 1 / span 4; display: flex; flex-direction: column; border-top: 1px solid var(--line); position: sticky; top: calc(var(--nav-h) + 1.5rem); }
.showcase__tabs button {
  position: relative; display: flex; align-items: baseline; gap: 1.125rem; text-align: left; padding: 0.8125rem 0 0.875rem;
  border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: clamp(1.25rem, 1.75vw, 1.75rem); line-height: 1.1; letter-spacing: -.015em;
  color: var(--on-dark-2); transition: color .4s var(--ease), padding .6s var(--ease);
}
.showcase__tabs button .n { font-family: var(--sans); font-size: 0.6875rem; letter-spacing: .12em; font-variant-numeric: tabular-nums; opacity: .7; min-width: 1.25rem; }
.showcase__tabs button:hover { color: var(--foam); }
.showcase__tabs button[aria-selected="true"] { color: var(--foam); padding-left: 0.625rem; }
.showcase__tabs button[aria-selected="true"] .n { color: var(--red); opacity: 1; }
.showcase__tabs button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--red); transform: scaleX(var(--p, 0)); transform-origin: left; }
.showcase__stage { grid-column: 6 / -1; display: grid; }
.proj { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s; }
.proj.is-active { opacity: 1; visibility: visible; }
.proj__media { position: relative; aspect-ratio: 16 / 10.4; border-radius: 0.375rem; overflow: hidden; display: grid; place-items: center; background: radial-gradient(80% 70% at 50% 40%, #26404b 0%, var(--ink-2) 70%); }
.proj__media img { width: 84%; height: auto; filter: drop-shadow(0 2.125rem 2.5rem rgba(0, 0, 0, .45)); transform: translate3d(0, 2.125rem, 0) scale(.96); opacity: 0; transition: transform 1.2s var(--ease), opacity .8s var(--ease); }
.proj.is-active .proj__media img { transform: none; opacity: 1; transition-delay: .08s; }
.proj--logo .proj__media img { width: 38%; filter: grayscale(1) brightness(0) invert(1); opacity: .9; }
.proj__body { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); column-gap: var(--gap); margin-top: 2.125rem; }
.proj__name { grid-column: 1; grid-row: 1 / span 3; font-family: var(--serif); font-size: clamp(2rem, 3.1vw, 3.375rem); line-height: .98; letter-spacing: -.03em; }
.proj__body p { grid-column: 2; color: var(--body); font-size: 0.9688rem; }
.proj__body p + p { margin-top: 0.75rem; }
.proj__body .link { grid-column: 2; justify-self: start; margin-top: 1.5rem; }
.proj .proj__name, .proj .proj__body p, .proj .proj__body .link { transform: translate3d(0, 1.125rem, 0); opacity: 0; transition: transform 1s var(--ease), opacity .7s var(--ease); }
.proj.is-active .proj__name, .proj.is-active .proj__body p, .proj.is-active .proj__body .link { transform: none; opacity: 1; transition-delay: .14s; }
.proj.is-active .proj__body p { transition-delay: .2s; }
.proj.is-active .proj__body .link { transition-delay: .26s; }

.svc-list { border-bottom: 1px solid var(--line); }
.svc-row { position: relative; display: grid; grid-template-columns: 4rem minmax(0, 1.05fr) minmax(0, 1fr) 9.375rem; column-gap: var(--gap); align-items: center; padding: clamp(1.25rem, 2.1vw, 1.875rem) 0; border-top: 1px solid var(--line); transition: opacity .5s var(--ease); }
.svc-row__n { font-size: 0.7812rem; color: var(--body-2); font-variant-numeric: tabular-nums; transition: color .4s; }
.svc-row__t { font-family: var(--serif); font-size: clamp(1.875rem, 3.5vw, 3.625rem); line-height: 1; letter-spacing: -.03em; transition: transform .8s var(--ease); }
.svc-row__d { color: var(--body); font-size: 1rem; max-width: 28em; }
.svc-row__go { justify-self: end; display: inline-flex; align-items: center; gap: 0.625rem; font-stretch: 125%; font-weight: 600; font-size: 0.6875rem; letter-spacing: .16em; text-transform: uppercase; transition: color .4s; }
.svc-row__go svg { width: 0.875rem; height: 0.875rem; transition: transform .6s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .svc-list:hover .svc-row { opacity: .38; }
  .svc-list:hover .svc-row:hover { opacity: 1; }
  .svc-row:hover .svc-row__t { transform: translateX(1rem); }
  .svc-row:hover .svc-row__n, .svc-row:hover .svc-row__go { color: var(--red-btn); }
  .svc-row:hover .svc-row__go svg { transform: translateX(0.25rem); }
}
.float-img { position: fixed; left: 0; top: 0; z-index: 60; width: clamp(15rem, 21vw, 21.25rem); aspect-ratio: 4 / 5; pointer-events: none; border-radius: 0.25rem; overflow: hidden; clip-path: inset(50% 0 50% 0); transition: clip-path .6s var(--ease-io); will-change: transform; }
.float-img.is-on { clip-path: inset(0 0 0 0); }
.float-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); transition: transform 1s var(--ease); }
.float-img.is-on img { transform: none; }

.join-sec { padding-top: 0; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(3rem, 5vw, 5rem) var(--gap); }
.tile { display: block; }
.tile__img { aspect-ratio: 16 / 10; overflow: hidden; border-radius: 0.375rem; background: var(--sand-2); }
.tile__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.6s var(--ease); }
.tile:hover .tile__img img { transform: scale(1.08); }
.tile__body { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); column-gap: var(--gap); margin-top: 1.625rem; align-items: start; }
.tile__t { font-size: clamp(2rem, 3vw, 3.25rem); line-height: .98; letter-spacing: -.03em; grid-row: 1 / span 2; }
.tile__body p { color: var(--body); font-size: 0.9688rem; }
.tile__body .link { margin-top: 1.125rem; justify-self: start; }
.tile:hover .link::after { transform: scaleX(0); }
.banner { position: relative; display: block; margin-top: clamp(5rem, 9vw, 8.75rem); border-radius: 0.5rem; overflow: hidden; color: var(--foam); min-height: clamp(26.25rem, 44vw, 37.5rem); isolation: isolate; }
.banner__img { position: absolute; inset: 0; z-index: -1; }
.banner__img img { width: 100%; height: 120%; object-fit: cover; }
.banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(23, 37, 43, .9) 0%, rgba(23, 37, 43, .55) 60%, rgba(23, 37, 43, .35) 100%); }
.banner__body { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; height: 100%; min-height: inherit; padding: clamp(2rem, 4.4vw, 4.5rem); }
.banner__body .h-m { grid-column: 1 / span 7; font-size: clamp(2.25rem, 4.3vw, 4.75rem); line-height: .98; }
.banner__side { grid-column: 9 / -1; }
.banner__side p { color: rgba(247, 250, 249, .82); margin-bottom: 1.625rem; }
.banner:hover .btn--light { background: var(--red-btn); color: #fff; }

.article { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
.article__title { grid-column: 1 / span 6; position: sticky; top: calc(var(--nav-h) + 2.5rem); }
.article__body { grid-column: 8 / -1; }
.article__body .lede { color: var(--ink); margin-bottom: 1.75rem; }
.article__body .body + .body, .article__body .lede + .body { margin-top: 1.25rem; }
.funnel { margin-top: clamp(6.875rem, 12vw, 11.875rem); }
.funnel__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; margin-bottom: clamp(2.75rem, 5vw, 4.5rem); }
.funnel__head .h-m { grid-column: 1 / span 7; }
.funnel__head .lede { grid-column: 9 / -1; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gap); }
.trio__item { border-top: 1px solid var(--line); padding-top: 1.5rem; }
.trio__n { font-family: var(--serif); font-style: italic; font-size: 1.375rem; color: var(--red-btn); }
.trio__item h3, .choose__item h3 { margin: 2.25rem 0 0.75rem; font-family: var(--serif); font-size: clamp(1.625rem, 2.2vw, 2.25rem); line-height: 1.02; letter-spacing: -.02em; }
.trio__item p, .choose__item p { color: var(--body); font-size: 0.9688rem; }
.steps--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.t-dark .step__n { color: var(--red); }
.choose__title { max-width: 14em; margin-bottom: clamp(3.5rem, 6vw, 6rem); }
.choose { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: var(--gap); }
.choose__item { border-top: 1px solid var(--line); padding-top: 1.375rem; }
.closing { margin-top: clamp(6rem, 11vw, 10.625rem); font-size: clamp(1.875rem, 3.5vw, 3.75rem); line-height: 1.06; letter-spacing: -.025em; max-width: 19em; }
.closing em { color: var(--body); }

.cta__title { font-size: clamp(5rem, 15vw, 17.5rem); }
.cta__row { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; }
.cta__item { grid-column: span 4; border-top: 1px solid rgba(247, 250, 249, .25); padding-top: 1.375rem; }
.cta__item:nth-child(2) { grid-column: span 5; }
.cta__item:nth-child(3) { grid-column: span 3; }
.cta__item .label { display: block; }
.cta__item .label { color: var(--on-dark); }
.cta__big { display: inline-block; margin-top: 0.875rem; font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.75rem); line-height: 1.05; letter-spacing: -.025em; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; padding-bottom: .08em; transition: background-size .8s var(--ease); overflow-wrap: anywhere; }
.cta__big:hover { background-size: 100% 1px; }
.cta__item--note p { color: var(--on-dark); margin-bottom: 1rem; max-width: 22em; }
.footer__top { align-items: start; }
.footer__col--wide { grid-column: 1 / span 6 !important; }
.footer__col--wide + .footer__col { grid-column: 8 / span 3 !important; }
.footer__two { columns: 2; column-gap: var(--gap); }
.footer__two li { break-inside: avoid; margin-top: 0 !important; margin-bottom: 0.5625rem; }

@media (max-width: 1180px) {
  .showcase__tabs { grid-column: 1 / -1; position: static; flex-direction: row; overflow-x: auto; gap: 0.5rem; border-top: 0; padding-bottom: 0.625rem; margin-bottom: 2.25rem; scrollbar-width: none; }
  .showcase__tabs::-webkit-scrollbar { display: none; }
  .showcase__tabs button { flex: none; padding: 0.625rem 1rem; border: 1px solid var(--line); border-radius: 62.4375rem; font-family: var(--sans); font-size: 0.875rem; letter-spacing: 0; }
  .showcase__tabs button .n { display: none; }
  .showcase__tabs button[aria-selected="true"] { padding-left: 1rem; background: var(--foam); color: var(--ink); border-color: var(--foam); }
  .showcase__tabs button::after { display: none; }
  .showcase__stage { grid-column: 1 / -1; }
  .choose { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 2.5rem; }
  .steps--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .pair__item, .pair__item:first-child { grid-column: 1 / -1; margin-top: 1.75rem; }
  .proj__body { grid-template-columns: 1fr; }
  .proj__name { grid-row: auto; margin-bottom: 1.125rem; }
  .proj__body p, .proj__body .link { grid-column: 1; }
  .svc-row { grid-template-columns: minmax(0, 1fr) 1.875rem; row-gap: 0.5rem; }
  .svc-row__n { display: none; }
  .svc-row__d { grid-column: 1; grid-row: 2; font-size: 0.9375rem; }
  .svc-row__go { grid-column: 2; grid-row: 1 / span 2; font-size: 0; gap: 0; }
  .tiles { grid-template-columns: 1fr; }
  .tile__body { grid-template-columns: 1fr; }
  .tile__t { grid-row: auto; margin-bottom: 0.875rem; }
  .banner__body .h-m, .banner__side { grid-column: 1 / -1; }
  .banner__side { margin-top: 1.5rem; }
  .article__title, .article__body { grid-column: 1 / -1; position: static; }
  .article__body { margin-top: 2.5rem; }
  .funnel__head .h-m, .funnel__head .lede { grid-column: 1 / -1; }
  .funnel__head .lede { margin-top: 1.125rem; }
  .trio, .choose, .steps--5 { grid-template-columns: 1fr; row-gap: 2.25rem; }
  .trio__item h3, .choose__item h3 { margin-top: 1rem; }
  .cta__item { grid-column: 1 / -1; margin-top: 1.625rem; }
  .footer__col--wide, .footer__col--wide + .footer__col { grid-column: 1 / -1 !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav__links { display: none; }
  .nav { grid-template-columns: 1fr auto; }
  .nav__menu { display: inline-flex; }
  
  .hero__title { grid-column: 1 / -1; }
  .hero__aside { grid-column: 1 / span 7; margin-top: 1.875rem; }
  .work-row { grid-template-columns: 3rem minmax(0, 1fr) 11.25rem 2.75rem; }
  
  
  
  
  .join { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 3rem; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 2.5rem; }
  
  .footer__col, .footer__col:first-of-type { grid-column: span 3; }
}

@media (max-width: 860px) {
  :root { --nav-h: 4.125rem; }
  body { font-size: 1rem; }
  .nav__end .btn { display: none; }
  .sec-head__title, .sec-head__aside { grid-column: 1 / -1; }
  .sec-head__aside { margin-top: 1.5rem; }
  .hero__content { padding-bottom: 6rem; }
  .hero__aside { grid-column: 1 / -1; }
  .hero__aside p { font-size: 0.9688rem; max-width: 30em; }
  .hero__foot { grid-template-columns: 1fr auto; }
  
  
  
  
  
  
  .work-row { grid-template-columns: minmax(0, 1fr) 2.75rem; row-gap: 0.375rem; padding: 1.375rem 0; }
  
  
  
  
  
  
  
  
  
  
  
  
  .quotes__side, .quotes__stage { grid-column: 1 / -1; }
  .quotes__side { flex-direction: column-reverse; margin-bottom: 2.5rem; }
  
  
  
  .join { grid-template-columns: 1fr; }
  
  
  
  .footer__col, .footer__col:first-of-type { grid-column: span 6; }
  .phero__title, .phero__aside { grid-column: 1 / -1; }
  .phero__aside { margin-top: 1.75rem; }
  .cases { grid-template-columns: 1fr; }
  
  
  
  
  
  .steps { grid-template-columns: 1fr; }
  .step h3 { margin-top: 1.125rem; }
  
.values { grid-template-columns: 1fr; }
  
  
  .bio__photo { grid-column: 1 / span 6; }
  .bio__main { grid-column: 1 / -1; margin-top: 1.75rem; }
  .bio__facts { grid-column: 1 / -1; margin-top: 1.75rem; grid-template-columns: 1fr 1fr; }
  .role { grid-template-columns: 1fr; row-gap: 0.75rem; }
  .role .link { justify-self: start; }
  
  
  
  
  
  .area__map, .area__list { grid-column: 1 / -1; }
  .area__list { margin-top: 3rem; }
}

@media (max-width: 520px) {
  .hero__title { font-size: clamp(3.375rem, 16.4vw, 5.75rem); }
  .hero__ctas .btn { --h: 3.125rem; padding: 0 1.375rem; }
  
  
  .footer__base { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .marquee { animation: none; }
}

/* ===================== Inner pages (rendered from original content) ===================== */
.phero--plain { min-height: 62vh; display: flex; flex-direction: column; justify-content: flex-end; }
.phero__rest { margin-top: 2.5rem; }
.phero--split { padding: calc(var(--nav-h) + 5rem) var(--pad) 5rem; }
.phero__split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center; }
.phero__copy { grid-column: 1 / span 6; }
.phero__copy .lede { margin: 1.75rem 0; }
.phero__img { grid-column: 8 / -1; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 0.375rem; }
.phero__img img { width: 100%; height: 100%; object-fit: cover; }
.section--page { padding-top: clamp(5rem, 9vw, 8.75rem); padding-bottom: clamp(5rem, 9vw, 8.75rem); }
.stack > * + * { margin-top: 1.75rem; }
.stack + .stack, .stack + .cards, .cards + .stack, .cols + .stack, .stack + .cols, .cards + .cards, .cols + .cols { margin-top: clamp(3.5rem, 6vw, 6rem); }
.block-title { max-width: 16em; }
.prose { color: var(--body); max-width: 46em; }
.prose p + p, .prose ul + p, .prose p + ul { margin-top: 1em; }
.prose h1, .prose h2, .prose h3, .prose h4 { font-family: var(--serif); color: var(--ink); line-height: 1.05; letter-spacing: -.02em; margin: 1.2em 0 .5em; }
.t-dark .prose h1, .t-dark .prose h2, .t-dark .prose h3, .t-dark .prose h4 { color: var(--foam); }
.prose h1 { font-size: clamp(2.125rem, 3.6vw, 3.75rem); } .prose h2 { font-size: clamp(1.875rem, 3vw, 3rem); } .prose h3 { font-size: 1.875rem; } .prose h4 { font-size: 1.5rem; }
.prose h5, .prose h6 { font-stretch: 125%; font-size: 0.75rem; letter-spacing: .16em; text-transform: uppercase; margin: 1.6em 0 .6em; }
.prose > :first-child { margin-top: 0; }
.prose ul { margin-top: .6em; display: grid; gap: 0.375rem; }
.prose li { position: relative; padding-left: 1.375rem; }
.prose li::before { content: ""; position: absolute; left: 0; top: .78em; width: 0.75rem; height: 1.5px; background: var(--red); }
.prose a { text-decoration: underline; text-underline-offset: 0.1875rem; }
.prose strong { color: inherit; font-weight: 600; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.625rem; margin-top: 1.75rem; }
.cards { display: grid; grid-template-columns: repeat(var(--k, 3), minmax(0, 1fr)); gap: 0 var(--gap); }
.cards--1 { --k: 1; } .cards--2 { --k: 2; } .cards--3 { --k: 3; }
.card { display: flex; flex-direction: column; padding: 1.625rem 0 2.75rem; border-top: 1px solid var(--line); }
.card__n { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--red-btn); }
.card__t { margin: 1.625rem 0 0.75rem; font-family: var(--serif); font-size: clamp(1.625rem, 2.2vw, 2.25rem); line-height: 1.04; letter-spacing: -.02em; }
.card__b { color: var(--body); font-size: 0.9688rem; }
.card__b p + p { margin-top: .8em; }
.card .link { margin-top: 1.375rem; align-self: flex-start; }
a.card:hover .card__t { color: var(--red-btn); }
.card--btn { justify-content: flex-end; }
.cols { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2.5rem var(--gap); align-items: start; }
.col { grid-column: span var(--span, 6); }
.col > * + * { margin-top: 1.375rem; }
.fig { border-radius: 0.375rem; overflow: hidden; }
.fig img { width: 100%; height: auto; }
.fig--small { max-width: 12.5rem; }
.accs { border-bottom: 1px solid var(--line); }
.acc { border-top: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; padding: 1.5rem 0; }
.acc summary::-webkit-details-marker { display: none; }
.acc__t { font-family: var(--serif); font-size: clamp(1.5rem, 2.2vw, 2.125rem); letter-spacing: -.02em; }
.acc__i { width: 1rem; height: 1rem; position: relative; flex: none; }
.acc__i::before, .acc__i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: currentColor; transition: transform .4s var(--ease); }
.acc__i::after { transform: rotate(90deg); }
.acc[open] .acc__i::after { transform: rotate(0); }
.acc__b { padding: 0 0 1.75rem; }
.embed { position: relative; aspect-ratio: 16 / 9; border-radius: 0.375rem; overflow: hidden; background: var(--ink-2); }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed--form { aspect-ratio: auto; height: 47.5rem; background: #fff; margin-top: 4rem; }
.split-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); margin-bottom: clamp(3.5rem, 6vw, 6rem); }
.split-head > :first-child { grid-column: 1 / span 6; }
.split-head > :last-child { grid-column: 8 / -1; }
.ways { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.way { position: relative; display: flex; flex-direction: column; gap: 0.625rem; padding: 1.5rem; border-radius: 0.375rem; background: var(--sand); transition: background-color .4s var(--ease), color .4s; }
.way:hover { background: var(--ink); color: var(--foam); }
.way__t { font-size: 1.875rem; letter-spacing: -.02em; }
.way__d { color: inherit; opacity: .75; font-size: 0.9375rem; }
.way .arrow { width: 0.875rem; height: 0.875rem; margin-top: auto; }
@media (max-width: 860px) {
  .phero__copy, .phero__img { grid-column: 1 / -1; }
  .phero__img { margin-top: 2.5rem; }
  .cards { --k: 1 !important; }
  .col { grid-column: 1 / -1; }
  .split-head > :first-child, .split-head > :last-child { grid-column: 1 / -1; }
  .split-head > :last-child { margin-top: 1.5rem; }
  .ways { grid-template-columns: 1fr 1fr; }
}
.reduce .footer__word .lt, .no-js .footer__word .lt { transform: none; }
.phero--plain { min-height: 56vh; }
.cards--4 { --k: 4; }
.col .block-title.h-s { font-size: clamp(1.75rem, 2.5vw, 2.625rem); line-height: 1.02; }
.col .prose { font-size: 0.9688rem; }
.cols--5 { gap: 2rem 1.25rem; }
@media (max-width: 1180px) { .cards--4 { --k: 2; } .cols--5 .col, .cols--4 .col { grid-column: span 6; } }
.map-route { opacity: .35; transition: opacity .3s; }
.map-route.is-hot { opacity: 1; stroke-width: 1.8; }
.map-county { cursor: default; transition: fill .3s; }
.map-county.is-hot { fill: var(--red); }
.area__map { padding-right: 4vw; }

/* ===================== Readability pass =====================
   Serif (Bodoni) only for large statements. Subheads that people scan — cards,
   steps, tabs, accordions, names — use the sans so they stay crisp at mid sizes. */
.card__t, .trio__item h3, .choose__item h3, .step h3, .pair__item h3, .acc__t, .way__t, .county h3, .mega__col b, .value h3, .role h3 {
  font-family: var(--sans); font-weight: 600; font-stretch: 100%; font-style: normal;
  font-size: clamp(1.25rem, 1.55vw, 1.5rem); line-height: 1.22; letter-spacing: -.012em;
}
.trio__item h3, .choose__item h3, .card__t { margin: 1.125rem 0 0.625rem; }
.step h3 { margin: 1.125rem 0 0.625rem; }
.pair__item h3 { font-size: clamp(1.375rem, 1.8vw, 1.75rem); margin-bottom: 0.625rem; }
.acc__t { font-size: clamp(1.1875rem, 1.5vw, 1.4375rem); }
.way__t { font-size: 1.375rem; }
.county h3 { font-size: 1.3125rem; }
.mega__col b { font-size: 1.0625rem; margin-bottom: 0.375rem; }
.card__n, .trio__n, .step__n {
  font-family: var(--sans); font-style: normal; font-weight: 600; font-size: 0.8125rem; letter-spacing: .08em;
  font-variant-numeric: tabular-nums; color: var(--red-btn);
}
.t-dark .step__n { color: var(--red-light); }
.showcase__tabs button { font-family: var(--sans); font-weight: 500; font-size: 1.0625rem; letter-spacing: 0; padding: 0.9375rem 0 0.9375rem; }
.showcase__tabs button .n { font-size: 0.75rem; }
.proj__name, .tile__t { letter-spacing: -.018em; line-height: 1.02; }
.proj__name { font-size: clamp(1.875rem, 2.7vw, 2.875rem); }
.tile__t { font-size: clamp(1.875rem, 2.6vw, 2.75rem); }
.svc-row__t { font-size: clamp(1.75rem, 3vw, 3rem); letter-spacing: -.02em; }
.bio__name { font-size: clamp(2.125rem, 3vw, 3.125rem); letter-spacing: -.02em; }

/* body copy: larger, higher contrast, comfortable measure */
.card__b, .trio__item p, .choose__item p, .step p, .pair__item p, .tile__body p, .proj__body p, .svc-row__d, .value p, .role p, .county p, .way__d, .bio__main p {
  font-size: 1.0312rem; line-height: 1.62;
}
.prose { font-size: 1.0625rem; line-height: 1.68; max-width: 40em; }
.prose p + p, .prose ul + p, .prose p + ul, .prose ol + p { margin-top: 1.05em; }
.card__b, .trio__item p, .choose__item p, .step p { max-width: 34em; }
.hero__aside p { font-size: 1.125rem; line-height: 1.55; color: rgba(247, 250, 249, .92); }
.bio__facts dd { font-size: 0.9688rem; }
.footer__col a { font-size: 0.9688rem; }
.label { color: inherit; }

/* calmer surfaces: more air between blocks, fewer hairlines competing */
.cards { row-gap: 0.5rem; }
.card { padding: 1.75rem 0 3rem; }
.choose { row-gap: 2.5rem; }
.section--page .stack > .block-title + .prose { margin-top: 1.5rem; }
.block-title { max-width: 18em; }
.closing .muted { color: var(--body); }
/* sturdier hairlines for mid-size serif settings (Bodoni's optical-size axis) */
.h-m, .h-s, .proj__name, .tile__t, .svc-row__t, .bio__name, .cta__big, .closing, .block-title, .phero__aside .display, .banner__body .h-m {
  font-variation-settings: "opsz" 30;
}
.svc-row__t, .proj__name, .tile__t { font-weight: 450; }

/* ===================== Typeface (Sora since 2026-11-14; tuning written for Geist) =====================
   One family, hierarchy by size and weight. No hairline serifs, no decorative italics. */
body { font-size: 1.0312rem; line-height: 1.7; }
.display { font-weight: 500; letter-spacing: -.035em; line-height: 1.04; font-variation-settings: normal; }
.display em { font-style: normal; font-weight: 300; letter-spacing: -.035em; }
.h-xxl { font-size: clamp(3rem, 8.4vw, 9.375rem); line-height: 1; letter-spacing: -.045em; }
.h-xl { font-size: clamp(2.625rem, 6vw, 6.75rem); line-height: 1.02; letter-spacing: -.042em; }
.h-l { font-size: clamp(2.125rem, 4vw, 4.25rem); line-height: 1.06; letter-spacing: -.035em; }
.h-m { font-size: clamp(1.75rem, 2.8vw, 2.875rem); line-height: 1.12; letter-spacing: -.028em; }
.h-s { font-size: clamp(1.5rem, 2vw, 2rem); line-height: 1.18; letter-spacing: -.02em; }
.h-m, .h-s, .proj__name, .tile__t, .svc-row__t, .bio__name, .cta__big, .closing, .block-title, .phero__aside .display, .banner__body .h-m { font-variation-settings: normal; }
.hero__title { font-size: clamp(3.125rem, 8.6vw, 9.75rem); font-weight: 600; letter-spacing: -.045em; line-height: .98; text-shadow: 0 2px 1.875rem rgba(23, 37, 43, .35); }
.hero__title em { font-weight: 300; }
.cta__title { font-size: clamp(4.375rem, 12vw, 13.75rem); font-weight: 600; letter-spacing: -.05em; }
.cta__title em { font-weight: 300; }
.manifesto__text { font-weight: 500; letter-spacing: -.035em; line-height: 1.08; }
.values-home .manifesto__text { font-size: clamp(2.25rem, 5vw, 5.5rem); line-height: 1.06; }
.quote__text { font-family: var(--sans); font-weight: 400; font-size: clamp(1.375rem, 2.1vw, 2.125rem); line-height: 1.45; letter-spacing: -.012em; max-width: 30em; }
.svc-row__t { font-weight: 500; font-size: clamp(1.5rem, 2.5vw, 2.5rem); letter-spacing: -.03em; }
.proj__name, .tile__t { font-weight: 600; letter-spacing: -.03em; }
.proj__name { font-size: clamp(1.625rem, 2.2vw, 2.375rem); line-height: 1.1; }
.tile__t { font-size: clamp(1.625rem, 2.2vw, 2.375rem); }
.bio__name { font-weight: 600; font-size: clamp(1.75rem, 2.4vw, 2.5rem); letter-spacing: -.03em; }
.cta__big { font-weight: 500; font-size: clamp(1.375rem, 2.2vw, 2.25rem); letter-spacing: -.02em; }
.closing { font-weight: 500; font-size: clamp(1.625rem, 2.6vw, 2.75rem); line-height: 1.22; letter-spacing: -.025em; }

.card__t, .trio__item h3, .choose__item h3, .step h3, .pair__item h3, .acc__t, .way__t, .county h3, .mega__col b, .value h3, .role h3 {
  font-weight: 600; letter-spacing: -.018em; line-height: 1.3; font-size: clamp(1.125rem, 1.35vw, 1.3125rem);
}
.pair__item h3 { font-size: clamp(1.25rem, 1.6vw, 1.5rem); }
.eyebrow, .label, .btn, .link, .nav__links > a, .dd > a, .dd__btn, .svc-row__go, .mega__col em, .nav__menu {
  font-stretch: normal; letter-spacing: .08em;
}
.eyebrow { font-size: 0.75rem; font-weight: 600; }
.label { font-size: 0.7188rem; font-weight: 600; letter-spacing: .09em; }
.btn { font-size: 0.7812rem; font-weight: 600; letter-spacing: .06em; }
.link { font-size: 0.7812rem; letter-spacing: .06em; }
.nav__links > a, .dd > a, .dd__btn { font-size: 0.7812rem; font-weight: 500; letter-spacing: .04em; text-transform: none; }
.showcase__tabs button { font-size: 1rem; font-weight: 500; letter-spacing: -.005em; }
.prose { font-size: 1.0312rem; line-height: 1.75; }
.prose h1, .prose h2, .prose h3, .prose h4 { font-weight: 600; letter-spacing: -.025em; line-height: 1.2; }
.prose h1 { font-size: clamp(1.75rem, 2.6vw, 2.625rem); } .prose h2 { font-size: clamp(1.5rem, 2.2vw, 2.125rem); } .prose h3 { font-size: 1.5rem; } .prose h4 { font-size: 1.25rem; }
.lede { font-size: clamp(1.0625rem, 1.2vw, 1.1875rem); line-height: 1.7; }
.card__b, .trio__item p, .choose__item p, .step p, .pair__item p, .tile__body p, .proj__body p, .svc-row__d, .value p, .role p, .county p, .way__d, .bio__main p { font-size: 0.9688rem; line-height: 1.72; }
.hero__aside p { font-size: 1.0625rem; line-height: 1.6; }
.menu__links a { font-weight: 500; letter-spacing: -.035em; }
.map-label { font-stretch: normal; letter-spacing: .08em; }
.map-county { font-family: var(--sans); font-style: normal; font-weight: 500; font-size: 0.8125rem; letter-spacing: 0; }

/* hero + closing video: lower exposure so white type always reads */
.hero__shade {
  background:
    linear-gradient(rgba(14, 24, 29, .38), rgba(14, 24, 29, .38)),
    linear-gradient(180deg, rgba(23, 37, 43, .6) 0%, rgba(23, 37, 43, 0) 24%),
    linear-gradient(0deg, rgba(23, 37, 43, .9) 0%, rgba(23, 37, 43, .45) 38%, rgba(23, 37, 43, 0) 70%),
    radial-gradient(120% 90% at 0% 100%, rgba(23, 37, 43, .6) 0%, rgba(23, 37, 43, 0) 60%);
}
.cta__media::after { background: linear-gradient(180deg, rgba(14, 24, 29, .8), rgba(14, 24, 29, .66) 40%, rgba(14, 24, 29, .9)); }
.phero--media .phero__bg::after { background: linear-gradient(0deg, rgba(23, 37, 43, .9) 0%, rgba(23, 37, 43, .55) 55%, rgba(23, 37, 43, .65) 100%); }
.banner::after { background: linear-gradient(90deg, rgba(23, 37, 43, .92) 0%, rgba(23, 37, 43, .7) 60%, rgba(23, 37, 43, .5) 100%); }

/* Geist tuning: crisper at body sizes, tighter at display sizes */
body { font-size: 1.0625rem; line-height: 1.65; font-feature-settings: "ss01" 0; }
.display, .hero__title, .cta__title, .manifesto__text { font-weight: 600; }
.display em, .hero__title em, .cta__title em { font-weight: 300; }
.h-xxl, .h-xl, .hero__title, .cta__title { letter-spacing: -.05em; }
.card__b, .trio__item p, .choose__item p, .step p, .pair__item p, .tile__body p, .proj__body p, .svc-row__d, .value p, .role p, .county p, .way__d, .bio__main p { font-size: 1rem; line-height: 1.68; }
.prose { font-size: 1.0625rem; line-height: 1.72; }
.quote__text { font-size: clamp(1.375rem, 2.1vw, 2.125rem); line-height: 1.42; font-weight: 400; letter-spacing: -.02em; }
.label { letter-spacing: .1em; }
@media (max-width: 1180px) {
  .proj:not(.is-active) { display: none; }
}
@media (max-width: 860px) {
  .quotes { display: flex; flex-direction: column; }
  .quotes__side { display: contents; }
  .quotes__side > :first-child { order: 1; margin-bottom: 1.75rem; }
  .quotes__stage { order: 2; }
  .quotes__nav { order: 3; margin-top: 2.25rem; }
  .hero__title { font-size: clamp(2.875rem, 13.4vw, 5rem); }
}
.card__img { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 0.375rem; margin-bottom: 1.375rem; background: var(--sand-2); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.card:hover .card__img img { transform: scale(1.05); }
.card:has(.card__img) { border-top: 0; padding-top: 0; }
.prose p:empty { display: none; }
/* mega menu anchors to the whole nav bar, not the link */
.nav__links .dd:has(> .dd__panel--mega) { position: static; }
.dd__panel--mega { top: calc(100% - 0.25rem); }
.prose--lead { font-size: clamp(1.25rem, 1.7vw, 1.625rem); line-height: 1.55; letter-spacing: -.012em; color: var(--ink); max-width: 34em; }
.t-dark .prose--lead { color: var(--foam); }
.panel { position: relative; border-radius: 0.5rem; overflow: hidden; isolation: isolate; color: var(--foam); padding: clamp(2.25rem, 5vw, 5rem); min-height: 22.5rem; display: flex; align-items: flex-end; }
.panel__bg { position: absolute; inset: 0; z-index: -1; }
.panel__bg img { width: 100%; height: 100%; object-fit: cover; }
.panel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(23, 37, 43, .9), rgba(23, 37, 43, .55)); }
.panel .card { border-top: 0; padding: 0; }
.panel .card__t { font-size: clamp(1.5rem, 2.4vw, 2.25rem); letter-spacing: -.025em; }
.panel .card__b, .panel .prose { color: var(--on-dark); }
* + .panel, .panel + * { margin-top: clamp(3rem, 5vw, 5rem); }
.strip { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.25rem 2.5rem; align-items: end; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.strip .h-m { max-width: 18em; }
.strip .prose { grid-column: 1; }
.strip .btn-row { grid-column: 2; grid-row: 1 / span 2; margin: 0; align-self: center; }
.panel .strip { border-top: 0; padding-top: 0; }
@media (max-width: 860px) { .strip { grid-template-columns: 1fr; } .strip .btn-row { grid-column: 1; grid-row: auto; } }
.split-media { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: var(--gap); align-items: center; }
.split-media__img img { width: 100%; max-width: 26.25rem; margin-left: auto; height: auto; }
.split-media .strip { grid-template-columns: 1fr; border-top: 0; padding-top: 0; }
.split-media .strip .btn-row { grid-column: 1; grid-row: auto; }
@media (max-width: 860px) { .split-media { grid-template-columns: 1fr; } .split-media__img img { margin: 0; max-width: 18.75rem; } }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.75rem; }
.gallery figure { aspect-ratio: 1; overflow: hidden; border-radius: 0.375rem; background: var(--sand-2); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.reel { aspect-ratio: 9 / 16; border-radius: 0.5rem; overflow: hidden; background: var(--ink); max-width: 21.25rem; }
.reel video { width: 100%; height: 100%; object-fit: cover; display: block; }
.col > .fig img { border-radius: 0.375rem; }
.fig img { height: auto; } .fig { overflow: visible; }
.card__logo { margin-bottom: 1.25rem; } .card__logo img { max-width: 16.25rem; max-height: 8.75rem; width: auto; height: auto; }

/* ===================== Round 2 (client feedback) ===================== */
/* tighter vertical rhythm: less empty space between sections */
.section { padding-top: clamp(4.5rem, 7.5vw, 7.5rem); padding-bottom: clamp(4.5rem, 7.5vw, 7.5rem); }
.section--page { padding-top: clamp(4rem, 6.5vw, 6.5rem); padding-bottom: clamp(4rem, 6.5vw, 6.5rem); }
.sec-head { margin-bottom: clamp(2.25rem, 4vw, 3.75rem); }
.sec-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; }

/* 1. larger nav + logo */
:root { --nav-h: 5.75rem; }
.nav__logo { width: clamp(10.625rem, 14.5vw, 14.375rem); }
.nav__links { gap: clamp(1.25rem, 2.2vw, 2.25rem); }
.nav__links > a, .dd > a, .dd__btn { font-size: 0.9375rem; font-weight: 500; letter-spacing: .01em; }
.nav .btn--sm { --h: 3.125rem; padding: 0 1.625rem; font-size: 0.8125rem; }
@media (max-width: 860px) { :root { --nav-h: 4.5rem; } .nav__logo { width: 9.375rem; } }

/* 2. trusted: label inline with the logo strip */
.trusted { display: flex; align-items: center; gap: 0; padding: 1.875rem 0; }
.trusted__label { flex: none; margin: 0; padding: 0 clamp(1.5rem, 3vw, 3rem) 0 var(--pad); font-size: 1.0625rem; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; border-right: 1px solid var(--line-light); line-height: 1.2; }
.trusted__track { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.trusted .marquee__set img { height: calc(var(--h, 1.875rem) * .9); }

/* 3. values: statement and points side by side */
.values-home { padding: clamp(4rem, 7vw, 7rem) 0; }
.values-home__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 6rem); align-items: center; }
.values-home .manifesto__text { font-size: clamp(2.125rem, 4.2vw, 4.5rem); max-width: none; }
.values-home .pair { display: grid; grid-template-columns: 1fr; gap: 1.125rem; margin: 0; }
.values-home .pair__item, .values-home .pair__item:first-child { grid-column: auto; margin: 0; border-top: 0; padding: 1.625rem 1.75rem; border-radius: 0.625rem; background: var(--sand); }
.values-home .pair__item h3 { font-size: 1.3125rem; font-weight: 600; letter-spacing: -.015em; margin-bottom: 0.375rem; }
@media (max-width: 860px) { .values-home__grid { grid-template-columns: 1fr; } }

/* 4. industries: organized project tiles (mockups never upscaled) */
.ptiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.ptile {
  position: relative; display: flex; flex-direction: column; gap: 0.875rem; text-align: left; padding: 1.25rem 1.25rem 1.375rem;
  border-radius: 0.625rem; background: var(--ink-2); border: 1px solid var(--line-dark); color: var(--foam);
  transition: background-color .4s var(--ease), border-color .4s var(--ease), transform .6s var(--ease);
}
.ptile:hover { background: var(--ink-3); border-color: rgba(247, 250, 249, .28); transform: translateY(-0.1875rem); }
.ptile__top { display: flex; justify-content: space-between; gap: 0.75rem; font-size: 0.8125rem; color: var(--on-dark); }
.ptile__ind { font-weight: 600; color: var(--foam); }
.ptile__n { font-variant-numeric: tabular-nums; color: var(--on-dark-2); }
.ptile__img { display: grid; place-items: center; aspect-ratio: 16 / 10; border-radius: 0.375rem; background: radial-gradient(80% 80% at 50% 40%, #2a4552, #1a2b33 75%); overflow: hidden; }
.ptile__img img { width: 92%; max-width: 20.625rem; height: auto; transition: transform .8s var(--ease); }
.ptile:hover .ptile__img img { transform: scale(1.04); }
.ptile--logo .ptile__img img { width: 46%; filter: brightness(0) invert(1); opacity: .85; }
.ptile__name { font-size: 1.1875rem; font-weight: 600; letter-spacing: -.015em; line-height: 1.25; }
.ptile__more { margin-top: auto; display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--on-dark); }
.ptile:hover .ptile__more { color: var(--red-light); }
.ptile .arrow { width: 0.8125rem; height: 0.8125rem; }
@media (max-width: 1180px) { .ptiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .ptiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.625rem; } .ptile { padding: 0.875rem; } .ptile__name { font-size: 1rem; } }

.pdlg { width: min(65rem, calc(100vw - 2rem)); max-height: calc(100vh - 3rem); padding: 0; border: 0; border-radius: 0.875rem; background: var(--foam); color: var(--ink); overflow: auto; --body: var(--on-light); }
.pdlg::backdrop { background: rgba(14, 24, 29, .72); -webkit-backdrop-filter: blur(0.375rem); backdrop-filter: blur(0.375rem); }
.pdlg[open] { animation: dlg-in .5s var(--ease); }
@keyframes dlg-in { from { opacity: 0; transform: translateY(1.125rem) scale(.98); } to { opacity: 1; transform: none; } }
.pdlg__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.25rem; padding: 2.5rem; align-items: center; }
.pdlg__media { display: grid; place-items: center; background: var(--sand); border-radius: 0.625rem; padding: 1.75rem; }
.pdlg__media img { width: 100%; max-width: 26.25rem; height: auto; }
.pdlg__name { font-size: clamp(1.625rem, 2.4vw, 2.25rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; margin: 0.875rem 0 0.875rem; }
.pdlg__body p { color: var(--on-light); font-size: 0.9688rem; line-height: 1.7; }
.pdlg__body p + p { margin-top: 0.625rem; }
.pdlg__body .btn { margin-top: 1.5rem; }
.pdlg__close { position: absolute; right: 0.875rem; top: 0.875rem; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--ink); z-index: 2; }
.pdlg__close span { position: absolute; left: 0.8125rem; right: 0.8125rem; top: 1.3125rem; height: 2px; background: var(--foam); transform: rotate(45deg); }
.pdlg__close span + span { transform: rotate(-45deg); }
@media (max-width: 860px) { .pdlg__inner { grid-template-columns: 1fr; padding: 1.5rem; gap: 1.25rem; } }

/* 5. services as tiles */
.stiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.stile { display: flex; flex-direction: column; gap: 0.625rem; padding: 1.5rem 1.5rem 1.375rem; border-radius: 0.625rem; background: var(--sand); min-height: 14.375rem; transition: background-color .4s var(--ease), color .4s var(--ease), transform .6s var(--ease); }
.stile__n { font-size: 0.8125rem; font-weight: 600; color: var(--red-btn); font-variant-numeric: tabular-nums; }
.stile__t { font-size: 1.3125rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; margin-top: 0.375rem; }
.stile__d { font-size: 0.9375rem; line-height: 1.6; color: var(--on-light); }
.stile__go { margin-top: auto; display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.7812rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.stile .arrow { width: 0.8125rem; height: 0.8125rem; transition: transform .5s var(--ease); }
.stile:hover { background: var(--ink); color: var(--foam); transform: translateY(-0.1875rem); }
.stile:hover .stile__d { color: var(--on-dark); }
.stile:hover .stile__n { color: var(--red-light); }
.stile:hover .arrow { transform: translateX(0.25rem); }
@media (max-width: 1180px) { .stiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .stiles { grid-template-columns: 1fr 1fr; gap: 0.625rem; } .stile { min-height: 0; padding: 1.125rem; } .stile__t { font-size: 1.125rem; } }
@media (max-width: 520px) { .stiles { grid-template-columns: 1fr; } }

/* 6. testimonials: dark text on light, centered */
.quotes--center { display: flex; flex-direction: column; align-items: center; text-align: center; }
.quotes--center .quotes__side { display: contents; }
.quotes--center .quotes__side > :first-child { order: 1; font-size: 0.9375rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--red-btn); margin-bottom: 1.625rem; }
.quotes--center .quotes__stage { order: 2; width: 100%; max-width: 61.25rem; }
.quotes--center .quote__text { margin: 0 auto; font-size: clamp(1.375rem, 2.3vw, 2.125rem); line-height: 1.45; color: var(--ink); max-width: 34em; }
.quotes--center .quote__by { justify-content: center; }
.quotes--center .quote__by .label { opacity: 1; color: var(--on-light); }
.quotes--center .quotes__nav { order: 3; margin-top: 2.25rem; justify-content: center; }
.quotes--center .quotes__bar { background: rgba(23, 37, 43, .18); }

/* 7. Mantera difference: image + copy, funnel as tiles */
.article--media { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5.5rem); align-items: center; }
.article__img { aspect-ratio: 4 / 5; border-radius: 0.75rem; overflow: hidden; margin: 0; }
.article__img img { width: 100%; height: 100%; object-fit: cover; }
.article--media .article__body { grid-column: auto; }
.article--media .article__body .h-l { margin-bottom: 1.625rem; }
.funnel { margin-top: clamp(4.5rem, 7vw, 7rem); }
.trio { gap: 1rem; }
.trio__item, .choose__item { border-top: 0; padding: 1.625rem 1.625rem 1.75rem; border-radius: 0.625rem; background: var(--sand); }
.t-sand .choose__item { background: var(--foam); }
@media (max-width: 860px) { .article--media { grid-template-columns: 1fr; } .article__img { aspect-ratio: 16 / 10; } }

/* 8. process: surf photo behind, columns aligned */
.process-sec { overflow: hidden; isolation: isolate; }
.process-sec__bg { position: absolute; inset: 0; z-index: -1; }
.process-sec__bg img { width: 100%; height: 120%; object-fit: cover; }
.process-sec::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 24, 29, .86), rgba(14, 24, 29, .78) 50%, rgba(14, 24, 29, .9)); }
.process-sec .sec-head { align-items: end; }
.process-sec .sec-head__title { grid-column: 1 / span 7; }
.process-sec .sec-head__aside { grid-column: 8 / -1; padding-bottom: .3em; }
.steps--5 { gap: 1rem; align-items: stretch; }
.process-sec .step { border-top: 0; padding: 1.5rem 1.375rem 1.625rem; border-radius: 0.625rem; background: rgba(23, 37, 43, .55); border: 1px solid rgba(247, 250, 249, .14); -webkit-backdrop-filter: blur(0.5rem); backdrop-filter: blur(0.5rem); }
.process-sec .step h3 { min-height: 2.5em; display: flex; align-items: flex-end; margin: 1rem 0 0.625rem; }
.process-sec .step p { color: rgba(247, 250, 249, .86); }

/* choose: tiles, aligned titles */
.choose { gap: 1rem; }
.choose__item h3 { min-height: 2.5em; display: flex; align-items: flex-end; margin-top: 0.875rem; }
.closing { margin-top: clamp(3.5rem, 6vw, 6rem); }

/* 9. compact footer: one section, video behind everything */
.foot { position: relative; overflow: hidden; color: var(--foam); background: var(--ink); isolation: isolate; }
.foot__media { position: absolute; inset: 0; z-index: -2; }
.foot__media video { width: 100%; height: 100%; object-fit: cover; }
.foot::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 24, 29, .78) 0%, rgba(14, 24, 29, .84) 45%, rgba(14, 24, 29, .95) 100%); }
.foot__inner { padding: clamp(3.5rem, 6vw, 6rem) var(--pad) 1.5rem; }
.foot__cta { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: 2rem; align-items: end; padding-bottom: clamp(2.5rem, 4vw, 4rem); border-bottom: 1px solid rgba(247, 250, 249, .18); }
.foot__title { font-size: clamp(3rem, 6vw, 6.5rem); font-weight: 600; letter-spacing: -.05em; line-height: .95; }
.foot__contact { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 1.75rem; }
.foot__item .label { display: block; color: var(--on-dark); margin-bottom: 0.5rem; }
.foot__big { font-size: clamp(1.1875rem, 1.7vw, 1.6875rem); font-weight: 500; letter-spacing: -.02em; white-space: nowrap; }
.foot__big:hover { color: var(--red-light); }
.foot__item p { color: var(--on-dark); font-size: 0.9375rem; margin-bottom: 0.625rem; }
.foot__links { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 2rem; padding: clamp(2.25rem, 4vw, 3.5rem) 0; }
.foot__logo { width: 11.875rem; color: var(--foam); }
.foot__logo svg { width: 100%; height: auto; fill: currentColor; }
.foot__col h3 { color: var(--on-dark-2); margin-bottom: 0.875rem; }
.foot__col ul { display: grid; gap: 0.4375rem; }
.foot__col--wide ul { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 1.25rem; }
.foot__col a { color: var(--on-dark); font-size: 0.9375rem; transition: color .3s; }
.foot__col a:hover { color: var(--foam); }
.foot__base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.125rem; border-top: 1px solid rgba(247, 250, 249, .14); color: var(--on-dark-2); font-size: 0.8438rem; }
.foot__base a:hover { color: var(--foam); }
@media (max-width: 1180px) { .foot__cta { grid-template-columns: 1fr; } .foot__links { grid-template-columns: 1fr 1fr; } .foot__logo { grid-column: 1 / -1; } }
@media (max-width: 860px) { .foot__contact { grid-template-columns: 1fr; gap: 1.125rem; } .foot__links { grid-template-columns: 1fr; } .foot__col--wide ul { grid-template-columns: 1fr 1fr; } .foot__big { white-space: normal; } }
.process-sec::after { background: linear-gradient(180deg, rgba(14, 24, 29, .72), rgba(14, 24, 29, .5) 45%, rgba(14, 24, 29, .78)); }
.process-sec .step { background: rgba(23, 37, 43, .72); }

/* ===================== Round 3 (client feedback) ===================== */
/* 1. nav rollover = pill button, not underline */
.nav__links { gap: 0.25rem; }
.nav__links > a, .dd > a, .dd__btn { padding: 0.625rem 0.9375rem; border-radius: 62.4375rem; transition: background-color .3s var(--ease), color .3s; }
.nav__links > a::after, .dd > a::after, .dd__btn::after { display: none; }
.nav__links > a:hover, .dd:hover > a, .dd:hover > .dd__btn, .dd:focus-within > a, .nav__links [aria-current="page"] { background: rgba(247, 250, 249, .14); }
.nav.on-light:not(.is-solid) .nav__links > a:hover, .nav.on-light:not(.is-solid) .dd:hover > a, .nav.on-light:not(.is-solid) [aria-current="page"],
.nav.on-sand:not(.is-solid) .nav__links > a:hover, .nav.on-sand:not(.is-solid) .dd:hover > a, .nav.on-sand:not(.is-solid) [aria-current="page"] { background: rgba(23, 37, 43, .08); }

/* 2. sticky nav is always the dark blue */
.nav.is-solid { color: var(--foam); }
.nav.is-solid::before { background: rgba(23, 37, 43, .94); border-bottom-color: rgba(247, 250, 249, .1); }

/* 3. one text size in the Difference section */
.article--media .article__body .lede, .article--media .article__body .body { font-size: 1.0625rem; line-height: 1.75; color: var(--on-light); max-width: 36em; }
.article--media .article__body .lede + .body, .article--media .article__body .body + .body { margin-top: 1.125rem; }

/* 4. Full-Funnel: its own dark band with a 360° mark */
.funnel-sec { overflow: hidden; isolation: isolate; }
.funnel-sec__mark { position: absolute; right: -2vw; top: 50%; transform: translateY(-50%); z-index: -1; font-size: clamp(13.75rem, 34vw, 35rem); font-weight: 700; letter-spacing: -.07em; line-height: .8; color: transparent; -webkit-text-stroke: 1.5px rgba(247, 250, 249, .1); pointer-events: none; user-select: none; }
.funnel-sec .funnel { margin-top: 0; }
.funnel-sec .trio__item { background: rgba(247, 250, 249, .05); border: 1px solid rgba(247, 250, 249, .12); }
.funnel-sec .trio__item h3 { color: var(--foam); }
.funnel-sec .trio__item p { color: var(--on-dark); }
.funnel-sec .trio__n { color: var(--red-light); }
.trio__icon { display: block; width: 2.125rem; height: 2.125rem; margin-bottom: 1.125rem; fill: none; stroke: var(--red-light); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }

/* Pacific Blue as the secondary brand color */
.stile:hover { background: var(--blue); }
.stile:hover .stile__n { color: #fff; }
.ptile:hover { background: #22404f; }

/* ===================== Round 4 (client feedback) ===================== */
/* service tiles: the service's photo fades in behind the tile on hover */
.stile { position: relative; overflow: hidden; isolation: isolate; }
.stile__bg { position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .55s var(--ease); }
.stile__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 1.2s var(--ease); }
.stile__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23, 37, 43, .55) 0%, rgba(23, 37, 43, .86) 100%); }
.stile:hover { background: var(--ink); color: #fff; }
.stile:hover .stile__bg { opacity: 1; }
.stile:hover .stile__bg img { transform: none; }
.stile:hover .stile__d { color: rgba(255, 255, 255, .88); }
.stile:hover .stile__n { color: #fff; }
@media (hover: none) {
  /* touch screens can't hover, so the photo is always on */
  .stile { background: var(--ink); color: #fff; }
  .stile .stile__bg { opacity: 1; }
  .stile .stile__bg img { transform: none; }
  .stile .stile__d { color: rgba(255, 255, 255, .88); }
  .stile .stile__n { color: #fff; }
}

/* red buttons on the main nav */
.nav__links > a:hover, .dd:hover > a, .dd:hover > .dd__btn, .dd:focus-within > a, .nav__links [aria-current="page"],
.nav.on-light:not(.is-solid) .nav__links > a:hover, .nav.on-light:not(.is-solid) .dd:hover > a, .nav.on-light:not(.is-solid) [aria-current="page"],
.nav.on-sand:not(.is-solid) .nav__links > a:hover, .nav.on-sand:not(.is-solid) .dd:hover > a, .nav.on-sand:not(.is-solid) [aria-current="page"] {
  background: var(--red-btn); color: #fff;
}

/* a little more room between sections */
.section { padding-top: clamp(5.5rem, 9vw, 9.25rem); padding-bottom: clamp(5.5rem, 9vw, 9.25rem); }
.section--page { padding-top: clamp(5rem, 8vw, 8rem); padding-bottom: clamp(5rem, 8vw, 8rem); }
.values-home { padding: clamp(5rem, 8.5vw, 8.5rem) 0; }

/* ===================== Round 5 (client feedback) ===================== */
/* featured work: three large tiles above the industry grid */
.feat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-bottom: clamp(2.5rem, 4.4vw, 4.5rem); }
.feat__item { margin: 0; }
.feat__img { aspect-ratio: 1 / 1; border-radius: 0.625rem; overflow: hidden; background: var(--ink-2); }
.feat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.feat__item:hover .feat__img img { transform: scale(1.045); }
.feat__cap { display: flex; flex-direction: column; gap: 0.375rem; padding: 1rem 2px 0; }
.feat__name { font-size: clamp(1.0625rem, 1.35vw, 1.3125rem); font-weight: 600; letter-spacing: -.015em; line-height: 1.25; color: var(--foam); }
.feat__kind { flex: none; font-size: 0.7812rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark); }
@media (max-width: 860px) {
  /* swipeable row on phones */
  .feat { display: flex; gap: 0.75rem; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); scroll-padding-inline: var(--pad); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .feat::-webkit-scrollbar { display: none; }
  .feat__item { flex: 0 0 80%; scroll-snap-align: start; }
  .feat__cap { gap: 0.25rem; padding-top: 0.75rem; }
}

/* success stories: ratings, reviews and the retention rate in one section */
.stories { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 1rem; align-items: stretch; }
.stories__intro {
  display: flex; flex-direction: column; gap: clamp(2.25rem, 4vw, 4rem); padding: clamp(1.75rem, 2.8vw, 2.75rem);
  border-radius: 0.625rem; color: var(--foam); background: radial-gradient(120% 80% at 0% 0%, #2c4a59 0%, var(--ink) 68%);
}
.stories__logo { width: 10.25rem; height: auto; fill: currentColor; flex: none; }
.stories__eyebrow { margin: 0 0 0.875rem; font-size: 0.8125rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--red-light); }
.stories__intro h2 { color: var(--foam); }
.stories__lede { margin: 1rem 0 0; font-size: clamp(1.0625rem, 1.3vw, 1.25rem); line-height: 1.5; color: var(--on-dark); max-width: 22em; }
.stories__stat { margin-top: auto; padding-top: clamp(1.5rem, 2.4vw, 2.25rem); border-top: 1px solid var(--line-dark); }
.stories__num { margin: 0; font-size: clamp(4.75rem, 8vw, 8.25rem); font-weight: 600; line-height: .9; letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.stories__num i { font-style: normal; font-size: .52em; letter-spacing: 0; margin-left: .06em; color: var(--red-light); vertical-align: .62em; }
.stories__stat-t { margin: 1.125rem 0 0; font-size: 0.8125rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.stories__stat-d { margin: 0.5rem 0 0; font-size: 1.0625rem; line-height: 1.5; color: var(--on-dark); }
.stories__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.review { margin: 0; display: flex; flex-direction: column; gap: 1.25rem; padding: clamp(1.5rem, 2.2vw, 2.125rem); border-radius: 0.625rem; background: var(--foam); border: 1px solid var(--line-light); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.review:hover { transform: translateY(-0.1875rem); box-shadow: 0 1.125rem 2.5rem -1.5rem rgba(23, 37, 43, .35); }
.review__stars { display: flex; gap: 0.1875rem; color: var(--red); }
.review__stars svg { width: 1.1875rem; height: 1.1875rem; fill: currentColor; }
.review__text { margin: 0; font-size: clamp(1.0312rem, 1.2vw, 1.1562rem); line-height: 1.6; color: var(--ink); text-wrap: pretty; }
.review__by { margin-top: auto; padding-top: 1.125rem; border-top: 1px solid var(--line-light); display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem; }
.review__name { font-size: 1rem; font-weight: 600; letter-spacing: -.01em; }
.review__role { font-size: 0.7812rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--on-light-2); }
.stories__cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.75rem; margin-top: clamp(2rem, 3.6vw, 3.5rem); }
.stories__cta .btn--red:hover { background: var(--ink); color: var(--foam); }
@media (max-width: 1080px) {
  .stories { grid-template-columns: 1fr; }
  .stories__intro { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 2.5rem; row-gap: 1.75rem; align-items: end; }
  .stories__logo { grid-column: 1 / -1; }
  .stories__stat { margin: 0; padding: 0 0 0 2.5rem; border-top: 0; border-left: 1px solid var(--line-dark); }
}
@media (max-width: 700px) {
  .stories__intro { display: flex; align-items: stretch; }
  .stories__stat { padding: 1.5rem 0 0; border-left: 0; border-top: 1px solid var(--line-dark); }
  .stories__cards { grid-template-columns: 1fr; gap: 0.75rem; }
  .stories__cta .btn { flex: 1 1 100%; justify-content: center; }
}

/* ===================== Blog, work and index pages ===================== */
.phero--post { min-height: 48vh; }
.post-date { margin: 0; font-size: 0.8125rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--on-dark); }
.post-cover { max-width: 65rem; margin: 0 auto clamp(2.5rem, 5vw, 4.5rem); border-radius: 0.625rem; overflow: hidden; background: var(--sand); }
.post-cover img { width: 100%; height: auto; max-height: 38.75rem; object-fit: cover; }
.post-body { max-width: 45rem; margin: 0 auto; font-size: 1.125rem; line-height: 1.75; }
.post-body h2 { margin-top: 1.8em; } .post-body h3 { font-size: 1.4375rem; margin-top: 1.7em; }
.post-body ol { margin-top: .6em; padding-left: 1.3em; display: grid; gap: 0.375rem; list-style: decimal; }
.post-body ol li { padding-left: 0.25rem; } .post-body ol li::before { display: none; }
.post-body .fig { margin: 1.6em 0; border-radius: 0.5rem; overflow: hidden; }
.post-body table { width: 100%; margin: 1.4em 0; border-collapse: collapse; font-size: 0.9688rem; }
.post-body th, .post-body td { padding: 0.625rem 0.75rem; border-bottom: 1px solid var(--line-light); text-align: left; vertical-align: top; }
.post-body th { font-weight: 600; }
.post-back { max-width: 45rem; margin: clamp(2.5rem, 5vw, 4rem) auto 0; }

.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.75rem, 3vw, 2.75rem) 1rem; }
.post-card { display: flex; flex-direction: column; gap: 0.75rem; color: var(--ink); }
.post-card__img { display: block; aspect-ratio: 16 / 10; border-radius: 0.625rem; overflow: hidden; background: var(--sand); margin-bottom: 0.375rem; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.post-card:hover .post-card__img img { transform: scale(1.045); }
.post-card__date { font-size: 0.7812rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--on-light-2); }
.post-card__t { margin: 0; font-size: clamp(1.1875rem, 1.5vw, 1.4375rem); font-weight: 600; letter-spacing: -.018em; line-height: 1.25; }
.post-card__x { margin: 0; font-size: 1rem; line-height: 1.6; color: var(--on-light); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card .link { margin-top: 0.25rem; }
.post-card:hover .link { color: var(--red-btn); }

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: clamp(1.75rem, 3vw, 2.75rem); }
.chip { height: 2.5rem; padding: 0 1.125rem; border-radius: 62.4375rem; border: 1px solid var(--line-light); background: transparent; color: var(--ink); font: inherit; font-size: 0.875rem; font-weight: 600; cursor: pointer; transition: background-color .3s, color .3s, border-color .3s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--foam); }
.wtiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.5rem, 2.6vw, 2.25rem) 1rem; }
.wtile { display: flex; flex-direction: column; gap: 0.375rem; color: var(--ink); }
.wtile[hidden] { display: none !important; }
.wtile__img { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 0.625rem; overflow: hidden; background: var(--sand); margin-bottom: 0.5rem; }
.wtile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.wtile:hover .wtile__img img { transform: scale(1.05); }
.wtile__t { font-size: 1.125rem; font-weight: 600; letter-spacing: -.015em; line-height: 1.25; }
.wtile:hover .wtile__t { color: var(--red-btn); }
.wtile__c { font-size: 0.7812rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--on-light-2); }

.card--link { color: var(--ink); }
.card--link .card__t { margin: 0; }
.card--link:hover .card__t, .card--link:hover .link { color: var(--red-btn); }

@media (max-width: 1080px) { .wtiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .wtiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.375rem 0.625rem; }
  .wtile__t { font-size: 0.9688rem; } .wtile__c { font-size: 0.6875rem; }
  .posts { grid-template-columns: 1fr; }
  .post-body { font-size: 1.0625rem; }
}

/* link-in-bio page */
.linkpage { min-height: 100svh; display: grid; place-items: center; padding: calc(var(--nav-h) + 2.5rem) var(--pad) 4.5rem; background: radial-gradient(90% 70% at 50% 0%, #2c4a59 0%, var(--ink) 70%); }
.linkpage__in { width: 100%; max-width: 27.5rem; display: flex; flex-direction: column; align-items: center; text-align: center; }
.linkpage__logo svg { width: 13.75rem; height: auto; fill: var(--foam); }
.linkpage__tag { margin: 1.375rem 0 2rem; font-size: 1.125rem; font-weight: 400; line-height: 1.5; color: var(--on-dark); }
.linkpage__btns { width: 100%; display: grid; gap: 0.625rem; }
.linkpage__btns .btn { width: 100%; justify-content: center; }
.linkpage__label { margin: 1.75rem 0 0; font-size: 0.8125rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--red-light); }
.linkpage__soc { margin-top: 1.125rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.125rem; }
.linkpage__soc a { font-size: 0.875rem; font-weight: 600; color: var(--foam); opacity: .8; }
.linkpage__soc a:hover { opacity: 1; color: var(--red-light); }

/* review platforms */
.rvs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: clamp(1.75rem, 3vw, 2.75rem); }
.rv { display: flex; flex-direction: column; align-items: flex-start; gap: 0.875rem; padding: 1.75rem; border-radius: 0.625rem; background: var(--ink); color: var(--foam); transition: transform .6s var(--ease), background-color .4s; }
.rv:hover { transform: translateY(-0.1875rem); background: var(--ink-3); }
.rv__logo { height: 2.5rem; display: flex; align-items: center; }
.rv__logo img { height: 100%; width: auto; max-width: 8.75rem; object-fit: contain; }
.rv__stars { display: flex; gap: 0.1875rem; color: var(--red-light); }
.rv__stars svg { width: 1.25rem; height: 1.25rem; fill: currentColor; }
.rv__name { font-size: 1.375rem; font-weight: 600; letter-spacing: -.015em; }
.rv .link { color: var(--on-dark); }
.rv:hover .link { color: var(--red-light); }
@media (max-width: 760px) { .rvs { grid-template-columns: 1fr; } }

/* ===================== Round 6: service pages ===================== */
/* clearer headers everywhere: shade only where text sits (nav at the top, copy at the bottom) */
.phero--media { min-height: 100vh; min-height: 100svh; }
.phero--media .phero__bg::after { background: linear-gradient(180deg, rgba(23, 37, 43, .5) 0%, rgba(23, 37, 43, 0) 20%, rgba(23, 37, 43, .08) 42%, rgba(23, 37, 43, .62) 72%, rgba(23, 37, 43, .9) 100%); }
.phero--media .phero__title { text-shadow: 0 2px 1.875rem rgba(23, 37, 43, .35); }

.phero--svc { padding-top: calc(var(--nav-h) + 3rem); padding-bottom: clamp(1.75rem, 3.2vw, 3rem); justify-content: flex-end; }
.svc-hero { max-width: 68.75rem; }
.svc-hero .phero__eyebrow { position: static; margin-bottom: 1.125rem; display: inline-flex; }
.svc-hero__sub { margin: 1.125rem 0 0; max-width: 34em; font-size: clamp(1.125rem, 1.6vw, 1.5rem); font-weight: 500; line-height: 1.4; letter-spacing: -.012em; color: rgba(255, 255, 255, .9); text-shadow: 0 1px 1.25rem rgba(23, 37, 43, .4); }
.svc-hero .btn-row { margin-top: 1.75rem; }
.svc-items { list-style: none; margin: clamp(2.25rem, 4.4vw, 4rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(var(--k, 4), minmax(0, 1fr)); gap: 0.625rem; }
.svc-item {
  display: flex; flex-direction: column; gap: 0.625rem; min-height: 6.5rem; padding: 1rem 1.125rem 1.125rem; border-radius: 0.625rem;
  background: rgba(23, 37, 43, .52); border: 1px solid rgba(247, 250, 249, .16); color: #fff;
  -webkit-backdrop-filter: blur(0.875rem) saturate(1.2); backdrop-filter: blur(0.875rem) saturate(1.2);
  transition: background-color .4s var(--ease), border-color .4s var(--ease), transform .6s var(--ease);
}
.svc-item:hover { background: rgba(219, 40, 53, .88); border-color: transparent; transform: translateY(-0.1875rem); }
.svc-item:hover .svc-item__n { color: #fff; }
.svc-item__n { font-size: 0.8125rem; font-weight: 600; letter-spacing: .04em; font-variant-numeric: tabular-nums; color: var(--red-light); }
.svc-item__t { margin-top: auto; font-size: clamp(0.9688rem, 1.15vw, 1.125rem); font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
.svc-item__s { font-size: 0.8438rem; line-height: 1.4; color: rgba(255, 255, 255, .78); }
@media (max-width: 1080px) { .svc-items { grid-template-columns: repeat(min(var(--k, 4), 3), minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .svc-items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
  .svc-item { min-height: 5.5rem; padding: 0.8125rem 0.875rem 0.9375rem; }
}

/* long copy: the heading stays beside the text it introduces */
.svc-split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
.svc-split + .svc-split, .stack + .svc-split, .svc-split + .stack { margin-top: clamp(3.5rem, 6vw, 6rem); padding-top: clamp(2.5rem, 4vw, 4rem); border-top: 1px solid var(--line); }
.svc-split__t { grid-column: 1 / span 5; position: sticky; top: calc(var(--nav-h) + 1.75rem); margin: 0; padding-right: 1.5rem; }
.svc-split__b { grid-column: 6 / -1; }
.svc-split__b > * + * { margin-top: 1.75rem; }
.svc-split__b .prose { max-width: none; }
@media (max-width: 900px) {
  .svc-split { display: block; }
  .svc-split__t { position: static; margin-bottom: 1.5rem; padding: 0; }
}
.svc-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5.5rem); align-items: center; }
.svc-intro .prose--lead p + p { margin-top: 1em; }
.svc-intro__img { border-radius: 0.625rem; overflow: hidden; }
.svc-intro__img img { width: 100%; height: auto; }
@media (max-width: 900px) { .svc-intro { grid-template-columns: 1fr; } }
/* low-res header photos are shown crisp at their own size instead of stretched */
.phero__banner { margin: clamp(2.5rem, 5vw, 4.5rem) 0 0; border-radius: 0.625rem; overflow: hidden; }
.phero__banner img { display: block; width: 100%; height: auto; }

/* Round 7: each service item gets an icon and a sentence (Matt: "a lot of empty space") */
.svc-item { min-height: 0; gap: 0.5rem; padding: 1.125rem 1.125rem 1.25rem; justify-content: flex-start; }
.svc-item__top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 0.5rem; }
.svc-item__i { width: 1.75rem; height: 1.75rem; color: var(--red-light); flex: none; transition: color .4s var(--ease); }
.svc-item__n { color: rgba(255, 255, 255, .55); }
.svc-item__t { margin-top: 0; }
.svc-item__d { font-size: 0.875rem; line-height: 1.5; color: rgba(255, 255, 255, .8); }
.svc-item:hover .svc-item__i, .svc-item:hover .svc-item__d { color: #fff; }
@media (max-width: 700px) { .svc-item { padding: 0.875rem 0.875rem 1rem; } .svc-item__i { width: 1.5rem; height: 1.5rem; } .svc-item__d { font-size: 0.8125rem; } }

/* link-in-bio page without the site header */
.linkpage { padding-top: clamp(3.5rem, 9vh, 6rem); }
.linkpage__soc { margin-top: 1.75rem; gap: 0.5rem; }
.linkpage__chip { display: inline-flex; align-items: center; height: 2.5rem; padding: 0 1rem; border-radius: 62.4375rem; border: 1px solid rgba(247, 250, 249, .3); font-size: 0.8438rem; font-weight: 600; color: var(--foam); opacity: 1 !important; transition: background-color .3s, color .3s, border-color .3s; }
.linkpage__chip:hover { background: var(--foam); color: var(--ink) !important; border-color: var(--foam); }

/* ===================== Mega menu v2 (Matt: "more elegant, classier and sexier") ===================== */
.dd__panel { background: rgba(20, 33, 39, .92); -webkit-backdrop-filter: blur(1.375rem) saturate(1.3); backdrop-filter: blur(1.375rem) saturate(1.3);
  border: 1px solid rgba(247, 250, 249, .1); border-radius: 0.875rem; box-shadow: 0 2.5rem 5.625rem -1.875rem rgba(0, 0, 0, .65); }
.dd__panel > a { border-radius: 0.5rem; color: rgba(247, 250, 249, .78); }
.dd__panel > a:hover { background: rgba(247, 250, 249, .07); color: #fff; }
.dd__panel--mega { width: min(73.75rem, 94vw); padding: 0.625rem; border-radius: 1.25rem; top: calc(100% + 2px); }
.mm { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: 0.375rem; }

.mm__preview { position: relative; display: block; min-height: 29.375rem; border-radius: 0.875rem; overflow: hidden; background: var(--ink-3); color: #fff; isolation: isolate; }
.mm__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .7s var(--ease), transform 1.4s var(--ease); }
.mm__img img.is-on { opacity: 1; transform: none; }
.mm__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 33, 39, .05) 0%, rgba(20, 33, 39, .2) 38%, rgba(20, 33, 39, .94) 100%); }
.mm__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 1.75rem; display: flex; flex-direction: column; align-items: flex-start; gap: 0.625rem; }
.mm__eyebrow { font-size: 0.7188rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--red-light); }
.mm__title { font-size: 2rem; font-weight: 600; letter-spacing: -.03em; line-height: 1.08; }
.mm__desc { font-size: 0.9375rem; line-height: 1.55; color: rgba(255, 255, 255, .82); max-width: 28em; }
.mm__tags { display: flex; flex-wrap: wrap; gap: 0.375rem; margin-top: 2px; }
.mm__tags:empty { display: none; }
.mm__tags span { font-size: 0.75rem; font-weight: 500; padding: 0.3125rem 0.625rem; border-radius: 62.4375rem; background: rgba(247, 250, 249, .1); border: 1px solid rgba(247, 250, 249, .16); }
.mm__go { margin-top: 0.5rem; display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.mm__go svg { width: 0.9375rem; height: 0.9375rem; transition: transform .5s var(--ease); }
.mm__preview:hover .mm__go svg { transform: translateX(0.25rem); }
.mm__body > * { transition: opacity .35s var(--ease), transform .5s var(--ease); }
.mm__preview.is-swap .mm__body > * { opacity: 0; transform: translateY(0.375rem); }

.mm__list { display: flex; flex-direction: column; padding: 1rem 0.75rem 0.625rem 1.125rem; }
.mm__head { display: flex; justify-content: space-between; align-items: center; padding: 2px 0.625rem 0.875rem; margin-bottom: 0.5rem; border-bottom: 1px solid rgba(247, 250, 249, .08); }
.mm__head .label { color: rgba(247, 250, 249, .5); }
.mm__head a { display: inline-flex; align-items: center; gap: 0.375rem; font-size: 0.8125rem; font-weight: 600; color: var(--foam); }
.mm__head a svg { width: 0.875rem; height: 0.875rem; }
.mm__head a:hover { color: var(--red-light); }
.mm__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 0.625rem; }
.mm__item { display: flex; align-items: center; gap: 0.875rem; padding: 0.5rem 0.625rem; border-radius: 0.75rem; color: rgba(247, 250, 249, .82); transition: background-color .25s, color .25s; }
.mm__icon { width: 2.5rem; height: 2.5rem; flex: none; display: grid; place-items: center; border-radius: 0.6875rem; background: rgba(247, 250, 249, .05);
  border: 1px solid rgba(247, 250, 249, .1); color: var(--red-light); transition: background-color .3s var(--ease), color .3s, border-color .3s; }
.mm__icon svg { width: 1.1875rem; height: 1.1875rem; }
.mm__name { flex: 1; font-size: 0.9688rem; font-weight: 500; letter-spacing: -.01em; }
.mm__arrow { width: 0.9375rem; height: 0.9375rem; opacity: 0; transform: translateX(-0.375rem); transition: opacity .25s, transform .4s var(--ease); }
.mm__item:hover, .mm__item.is-active, .mm__item:focus-visible { background: rgba(247, 250, 249, .06); color: #fff; }
.mm__item:hover .mm__icon, .mm__item.is-active .mm__icon, .mm__item:focus-visible .mm__icon { background: var(--red-btn); border-color: transparent; color: #fff; }
.mm__item:hover .mm__arrow, .mm__item.is-active .mm__arrow, .mm__item:focus-visible .mm__arrow { opacity: 1; transform: none; }
.mm__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0.625rem 0.375rem; border-top: 1px solid rgba(247, 250, 249, .08); }
.mm__call { font-size: 0.8438rem; color: rgba(247, 250, 249, .55); }
.mm__call a { margin-left: 0.375rem; color: var(--foam); font-weight: 600; }
.mm__call a:hover { color: var(--red-light); }
.dd:hover .mm__grid li, .dd:focus-within .mm__grid li { animation: mmIn .55s var(--ease) both; animation-delay: calc(var(--i) * 16ms + 80ms); }
@keyframes mmIn { from { opacity: 0; transform: translateY(0.5rem); } }
@media (max-width: 1180px) { .mm { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } .mm__name { font-size: 0.9062rem; } }
@media (prefers-reduced-motion: reduce) { .dd:hover .mm__grid li, .dd:focus-within .mm__grid li { animation: none; } }
.mm__img::after { background: linear-gradient(180deg, rgba(20, 33, 39, 0) 0%, rgba(20, 33, 39, .12) 28%, rgba(20, 33, 39, .72) 58%, rgba(20, 33, 39, .96) 100%); }

/* ===================== Industry pages (Matt's notes: paragraph, photo carousel, icon items) ===================== */
.ind-intro { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
.ind-intro .eyebrow { grid-column: 1 / span 3; margin-top: .6em; }
.ind-intro__text { grid-column: 4 / -1; }
.ind-intro__text p { font-size: clamp(1.25rem, 1.9vw, 1.875rem); line-height: 1.45; letter-spacing: -.015em; color: var(--ink); text-wrap: pretty; }
.ind-intro__text h1, .ind-intro__text h2, .ind-intro__text h3 { display: none; }
.ind-h { margin: 0 0 clamp(2rem, 3.6vw, 3.5rem); max-width: 16em; }
.ind-items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.ind-item { padding: clamp(1.5rem, 2.2vw, 2.125rem); border-radius: 0.875rem; background: var(--ink-2); border: 1px solid var(--line-dark); transition: background-color .4s var(--ease), border-color .4s var(--ease), transform .6s var(--ease); }
.ind-item:hover { background: var(--ink-3); border-color: rgba(247, 250, 249, .24); transform: translateY(-0.1875rem); }
.ind-item__i { width: 3.25rem; height: 3.25rem; display: grid; place-items: center; border-radius: 0.875rem; background: rgba(219, 40, 53, .14); color: var(--red-light); margin-bottom: 1.375rem; transition: background-color .4s, color .4s; }
.ind-item:hover .ind-item__i { background: var(--red-btn); color: #fff; }
.ind-item__i svg { width: 1.5rem; height: 1.5rem; }
.ind-item__t { margin: 0 0 0.5rem; font-size: 1.25rem; font-weight: 600; letter-spacing: -.015em; color: var(--foam); }
.ind-item__d { margin: 0; font-size: 1rem; line-height: 1.6; color: var(--on-dark); }

.gal__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: clamp(1.75rem, 3vw, 2.75rem); }
.gal__head .ind-h { margin: 0; }
.gal__btns { display: flex; gap: 0.5rem; }
.gal { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--pad); scroll-padding: 0 var(--pad); scrollbar-width: none; overscroll-behavior-x: contain; }
.gal::-webkit-scrollbar { display: none; }
.gal__slide { flex: 0 0 clamp(17.5rem, 42vw, 40rem); margin: 0; aspect-ratio: 3 / 2; border-radius: 0.875rem; overflow: hidden; scroll-snap-align: start; background: var(--sand-2); }
.gal__slide img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gal__slide:hover img { transform: scale(1.04); }

.ind-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(2rem, 5vw, 4.5rem); margin-top: clamp(3rem, 5vw, 5rem); padding-top: clamp(2.25rem, 4vw, 3.5rem); border-top: 1px solid var(--line-light); }
.ind-logos img { height: 2.75rem; width: auto; max-width: 9.375rem; object-fit: contain; filter: grayscale(1) contrast(1.1); mix-blend-mode: multiply; opacity: .75; transition: filter .4s, opacity .4s; }
.ind-logos img:hover { filter: none; opacity: 1; }
@media (max-width: 900px) {
  .ind-intro { display: block; } .ind-intro .eyebrow { margin-bottom: 1.125rem; }
  .ind-items { grid-template-columns: 1fr; }
  .gal__slide { flex-basis: 82vw; }
}
@media (min-width: 901px) and (max-width: 1100px) { .ind-items { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* case studies end on "Next project" */
.pnext { padding: clamp(3.5rem, 6vw, 6rem) 0; border-top: 1px solid var(--line-dark); }
.pnext__in { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.pnext__back { display: inline-flex; align-items: center; gap: 0.625rem; font-size: 0.8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark); }
.pnext__back svg { width: 1rem; height: 1rem; transition: transform .5s var(--ease); }
.pnext__back:hover { color: var(--foam); } .pnext__back:hover svg { transform: translateX(-0.25rem); }
.pnext__card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) clamp(11.25rem, 22vw, 20rem) auto; grid-template-rows: auto auto 1fr; column-gap: clamp(1.25rem, 3vw, 3rem);
  align-items: center; padding: clamp(1.25rem, 2.4vw, 2rem); border-radius: 1rem; background: var(--ink-2); border: 1px solid var(--line-dark); color: var(--foam); transition: background-color .4s var(--ease), border-color .4s; }
.pnext__card:hover { background: var(--ink-3); border-color: rgba(247, 250, 249, .24); }
.pnext__label { grid-column: 1; font-size: 0.75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--red-light); }
.pnext__name { grid-column: 1; font-size: clamp(1.875rem, 3.4vw, 3.25rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.05; margin-top: 0.5rem; }
.pnext__cats { grid-column: 1; align-self: start; margin-top: 0.625rem; font-size: 0.8125rem; letter-spacing: .06em; text-transform: uppercase; color: var(--on-dark-2); }
.pnext__img { grid-column: 2; grid-row: 1 / span 3; aspect-ratio: 4 / 3; border-radius: 0.625rem; overflow: hidden; background: var(--ink-3); }
.pnext__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pnext__card:hover .pnext__img img { transform: scale(1.05); }
.pnext__go { grid-column: 3; grid-row: 1 / span 3; width: 3.5rem; height: 3.5rem; display: grid; place-items: center; border-radius: 50%; background: var(--red-btn); color: #fff; transition: transform .5s var(--ease); }
.pnext__go svg { width: 1.375rem; height: 1.375rem; }
.pnext__card:hover .pnext__go { transform: translateX(0.375rem); }
@media (max-width: 760px) {
  .pnext__in { grid-template-columns: 1fr; }
  .pnext__card { grid-template-columns: minmax(0, 1fr) auto; }
  .pnext__img { grid-column: 1 / -1; grid-row: auto; margin-top: 1.125rem; order: 9; }
  .pnext__go { grid-column: 2; grid-row: 1 / span 3; width: 2.875rem; height: 2.875rem; }
}

/* ===================== Round 8: service sub-items as photo + icon cards (no numbering) ===================== */
.sv-feat { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1rem, 2vw, 1.75rem); align-items: start; }
.sv-feat + .sv-feat { margin-top: clamp(3rem, 5vw, 5rem); }
.sv-feat--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.sv-feat--flip .sv-feat__img { order: 2; }
.sv-feat--noimg { grid-template-columns: 1fr; }
.sv-feat__img { position: sticky; top: calc(var(--nav-h) + 1.5rem); margin: 0; border-radius: 1rem; overflow: hidden; aspect-ratio: 4 / 5; background: var(--sand-2); }
.sv-feat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.sv-feat:hover .sv-feat__img img { transform: scale(1.03); }
.sv-feat__cards { display: grid; grid-template-columns: repeat(var(--c, 2), minmax(0, 1fr)); gap: 0.875rem; }
.sv-card { display: flex; flex-direction: column; gap: 0.625rem; padding: clamp(1.375rem, 2vw, 1.875rem); border-radius: 1rem; background: #fff; border: 1px solid var(--line-light);
  box-shadow: 0 1px 0 rgba(23, 37, 43, .03); transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .4s; }
.t-sand .sv-card { background: var(--foam); }
.sv-card:hover { transform: translateY(-0.1875rem); box-shadow: 0 1.375rem 2.75rem -1.625rem rgba(23, 37, 43, .35); border-color: transparent; }
.sv-card__i { width: 3.125rem; height: 3.125rem; display: grid; place-items: center; border-radius: 0.875rem; background: rgba(219, 40, 53, .09); color: var(--red); margin-bottom: 0.375rem; transition: background-color .4s, color .4s; }
.sv-card:hover .sv-card__i { background: var(--red-btn); color: #fff; }
.sv-card__i svg { width: 1.4375rem; height: 1.4375rem; }
.sv-card__t { margin: 0; font-size: 1.25rem; font-weight: 600; letter-spacing: -.015em; line-height: 1.25; color: var(--ink); }
.sv-card__b { font-size: 0.9688rem; line-height: 1.65; color: var(--on-light); }
.sv-card__b p + p { margin-top: .7em; }
.sv-card .link { margin-top: auto; padding-top: 0.375rem; align-self: flex-start; }

.svc-split__t h2 { margin: 0; }
.svc-split__img { margin: 1.75rem 0 0; border-radius: 0.875rem; overflow: hidden; aspect-ratio: 4 / 3; background: var(--sand-2); }
.svc-split__img img { width: 100%; height: 100%; object-fit: cover; }
.svc-statement { margin: 0; font-size: clamp(1.625rem, 2.6vw, 2.5rem); font-weight: 600; line-height: 1.2; letter-spacing: -.025em; color: var(--ink); text-wrap: pretty; }
.svc-intro__img { aspect-ratio: 4 / 3; }
.svc-intro__img img { height: 100%; object-fit: cover; }

@media (max-width: 960px) {
  .sv-feat, .sv-feat--flip { grid-template-columns: 1fr; }
  .sv-feat--flip .sv-feat__img { order: 0; }
  .sv-feat__img { position: static; aspect-ratio: 16 / 10; }
  .svc-split__img { display: none; }
}
@media (max-width: 640px) { .sv-feat__cards { grid-template-columns: 1fr; } }

/* /links: social icons only */
.linkpage__soc { gap: 0.625rem; }
.linkpage__soc-i { width: 3rem; height: 3rem; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(247, 250, 249, .3); color: var(--foam); transition: background-color .3s, color .3s, border-color .3s, transform .4s var(--ease); }
.linkpage__soc-i svg { width: 1.1875rem; height: 1.1875rem; }
.linkpage__soc-i:hover { background: var(--foam); color: var(--ink); border-color: var(--foam); transform: translateY(-2px); }


/* ===================== Proportional on large screens =====================
   Sizes are in rem. Up to ~1600px wide the root stays at the browser default (16px), so laptops are unchanged;
   past that the root grows with the window, so logo, navigation, text and spacing scale together on big monitors. */
html { font-size: max(100%, min(1vw, 1.7778vh)); }  /* by width, but never taller than a 16:9 screen allows */

/* ===================== Final polish (Oct 21): no numerals, icons instead, tiles lifted off the page ===================== */
.card__n, .trio__n, .stile__n, .ptile__n { display: none; }

/* homepage service tiles: white card on a hairline, icon where the numeral was; hover photo stays */
.stile { background: #fff; border: 1px solid var(--line-light); box-shadow: 0 1px 0 rgba(23, 37, 43, .03); gap: 0.5rem;
  transition: background-color .4s var(--ease), color .4s var(--ease), transform .6s var(--ease), box-shadow .6s var(--ease), border-color .4s; }
.stile:hover { transform: translateY(-0.1875rem); box-shadow: 0 1.375rem 2.75rem -1.625rem rgba(23, 37, 43, .4); border-color: transparent; }
.stile__i { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border-radius: 0.75rem; background: rgba(219, 40, 53, .09); color: var(--red);
  margin-bottom: 0.5rem; transition: background-color .4s, color .4s; }
.stile__i svg { width: 1.375rem; height: 1.375rem; }
.stile:hover .stile__i { background: var(--red-btn); color: #fff; }
.stile__t { margin-top: 0; }

/* full-funnel and "choose" grids: icon chips matching the service and industry pages */
.trio__icon { width: 3.125rem; height: 3.125rem; padding: 0.8125rem; border-radius: 0.875rem; background: rgba(219, 40, 53, .14); margin-bottom: 1.25rem; box-sizing: border-box; }
.choose__i { width: 3.125rem; height: 3.125rem; display: grid; place-items: center; border-radius: 0.875rem; background: rgba(219, 40, 53, .09); color: var(--red); }
.choose__i svg { width: 1.5rem; height: 1.5rem; }
.choose__item h3 { min-height: 0; margin-top: 1.125rem; }
.trio__item h3 { margin-top: 0.25rem; }
.trio__item, .choose__item { background: #fff; border: 1px solid var(--line-light); }
.t-dark .trio__item { background: var(--ink-2); border-color: var(--line-dark); }

/* inner-page card grids: the hairline is the marker now, so tighten the gap the numeral left */
.card__t { margin-top: 0.25rem; }

/* a heading or intro text right above a photo + cards block gets breathing room */
* + .sv-feat { margin-top: clamp(1.75rem, 3vw, 2.75rem); }

/* ===================== Round 10 (David's notes, Nov 9) ===================== */
/* 1. hero headline sits in the vertical middle of the screen, still on the left */
.hero__content { align-content: center; padding-top: var(--nav-h); padding-bottom: clamp(2rem, 6vh, 4.5rem); }
@media (max-width: 760px) { .hero__content { padding-bottom: 3rem; } }

/* 2. values: brand blue instead of gray */
.values-home--blue { background: linear-gradient(135deg, #315b7c 0%, #284d6a 52%, #1f3e56 100%); color: #fff; }
.values-home--blue .manifesto__text { color: #fff; }
.values-home--blue .manifesto__text .w { opacity: .3; }
.no-js .values-home--blue .manifesto__text .w, .reduce .values-home--blue .manifesto__text .w { opacity: 1; }
.values-home--blue .pair__item, .values-home--blue .pair__item:first-child { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-radius: 1rem;
  padding: 1.75rem 1.875rem 2rem; box-shadow: inset 0 0.1875rem 0 var(--red-light); }
.values-home--blue .pair__item h3 { color: #fff; }
.values-home--blue .pair__item p { color: rgba(255, 255, 255, .84); }

/* 3. featured work: 9 tiles; the linked ones behave like links */
a.feat__item { display: block; color: inherit; }
a.feat__item:hover .feat__name { color: var(--red-light); }
.feat { row-gap: clamp(1.75rem, 2.4vw, 2.5rem); }

/* 4. RiverX partner tile across the bottom of the What We Do grid */
.stile--partner { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(1.5rem, 3vw, 3rem);
  min-height: 0; padding: clamp(1.5rem, 2.4vw, 2.25rem) clamp(1.5rem, 2.8vw, 2.75rem); background: linear-gradient(120deg, #17252b 0%, #1d3340 60%, #173d33 100%);
  color: #fff; border-color: transparent; }
.stile--partner:hover { background: linear-gradient(120deg, #1d2f37 0%, #234051 60%, #1b4a3d 100%); }
.stile__logo img { display: block; width: clamp(8rem, 12vw, 11rem); height: auto; }
.stile__body { display: flex; flex-direction: column; gap: 0.375rem; padding-left: clamp(1.5rem, 3vw, 3rem); border-left: 1px solid rgba(255, 255, 255, .16); }
.stile__badge { align-self: flex-start; font-size: 0.6875rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: 0.3125rem 0.625rem; border-radius: 999px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); margin-bottom: 0.25rem; }
.stile--partner .stile__d { color: rgba(255, 255, 255, .82); max-width: 44em; }
.stile--partner .stile__go { margin-top: 0; white-space: nowrap; }
.stile--partner:hover .stile__d { color: rgba(255, 255, 255, .9); }
@media (max-width: 860px) {
  .stile--partner { grid-template-columns: 1fr; gap: 1rem; }
  .stile__body { padding-left: 0; border-left: 0; }
}

/* 5. Success Stories: new upper half */
.stories-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 4vw, 4rem); align-items: end;
  padding: clamp(2.25rem, 4.4vw, 4.5rem); border-radius: 1.25rem; color: #fff; margin-bottom: 1rem;
  background: radial-gradient(120% 140% at 0% 0%, #3a6a8f 0%, #284d6a 38%, #17252b 100%); }
.stories-head .stories__eyebrow { margin-bottom: 1rem; }
.stories-head h2 { color: #fff; margin: 0; }
.stories-head .stories__lede { margin-top: 1.125rem; color: rgba(255, 255, 255, .84); max-width: 26em; }
.stories-head__stat { display: flex; align-items: flex-end; gap: clamp(1.25rem, 2vw, 2rem); padding-left: clamp(2rem, 4vw, 4rem); border-left: 1px solid rgba(255, 255, 255, .18); }
.stories-head__stat .stories__num { margin: 0; }
.stories-head__stat .stories__stat-t { margin: 0; }
.stories-head__stat .stories__stat-d { color: rgba(255, 255, 255, .84); }
.stories__cards--row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1180px) { .stories__cards--row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .stories-head { grid-template-columns: 1fr; align-items: start; }
  .stories-head__stat { padding: 1.75rem 0 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .18); }
}
@media (max-width: 700px) { .stories__cards--row { grid-template-columns: 1fr; } }

/* 7. footer: logo up top, "Let's talk" below; small links get button hovers */
.foot__logo--big { width: clamp(14rem, 24vw, 24rem); align-self: end; padding-bottom: 0.375rem; }
.foot__logo--big:hover { color: var(--red-light); }
.foot__title--small { align-self: start; font-size: clamp(2rem, 3.2vw, 3.25rem); color: var(--foam); transition: color .3s; }
.foot__title--small:hover { color: var(--red-light); }
.foot__col a, .foot__base a { display: inline-block; padding: 0.3125rem 0.75rem; margin: -0.3125rem -0.75rem; border-radius: 999px; transition: background-color .3s, color .3s; }
.foot__col a:hover, .foot__base a:hover { background: var(--red-btn); color: #fff; }
.foot__item .link { padding: 0.3125rem 0.75rem; margin: 0 -0.75rem; border-radius: 999px; border-bottom: 0; transition: background-color .3s, color .3s; }
.foot__item .link::after { display: none; }
.foot__item .link:hover { background: var(--red-btn); color: #fff; }

/* menu: partner badge */
.mm__badge { display: inline-block; vertical-align: middle; margin-left: 0.5rem; font-size: 0.625rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding: 0.1875rem 0.4375rem; border-radius: 999px; background: rgba(247, 250, 249, .12); color: rgba(247, 250, 249, .8); }
/* RiverX header photo is bright up top: shade the left side so the title and line under it read */
.phero--riverx .phero__bg::after { background: linear-gradient(90deg, rgba(23, 37, 43, .78) 0%, rgba(23, 37, 43, .45) 45%, rgba(23, 37, 43, .1) 75%),
  linear-gradient(180deg, rgba(23, 37, 43, .5) 0%, rgba(23, 37, 43, 0) 22%, rgba(23, 37, 43, .55) 70%, rgba(23, 37, 43, .9) 100%); }

/* Our Agency / Internships / ... : one row of four (2x2 on tablets, stacked on phones) */
.join-sec .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(2rem, 3vw, 3rem) 1rem; }
.join-sec .tile__img { aspect-ratio: 4 / 3; border-radius: 0.75rem; }
.join-sec .tile__body { grid-template-columns: 1fr; margin-top: 1.25rem; }
.join-sec .tile__t { grid-row: auto; font-size: clamp(1.375rem, 1.7vw, 1.75rem); margin-bottom: 0.75rem; }
.join-sec .tile__body p { font-size: 0.9375rem; }
.join-sec .tile:hover .tile__t { color: var(--red-btn); }
@media (max-width: 1080px) { .join-sec .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .join-sec .tiles { grid-template-columns: 1fr; } }

/* process cards without step numbers */
.process-sec .step h3 { margin-top: 0; }

/* ===================== Round 11 (David's polish notes, Nov 12) ===================== */
/* tighter rhythm: less dead space between sections */
.section { padding-top: clamp(4.25rem, 7vw, 6.75rem); padding-bottom: clamp(4.25rem, 7vw, 6.75rem); }
.section--page { padding-top: clamp(3.75rem, 6vw, 6rem); padding-bottom: clamp(3.75rem, 6vw, 6rem); }
.values-home { padding: clamp(4.25rem, 7vw, 6.75rem) 0; }
/* two light (or two sand) sections in a row read as one: don't stack both paddings */
.section.t-light + .section.t-light, .section.t-sand + .section.t-sand { padding-top: 0; }
#services { padding-bottom: clamp(3.5rem, 5.5vw, 5rem); }

/* 1. hero: the three disciplines sit above the headline as tags, buttons right under it */
.hero__kicker { grid-column: 1 / -1; list-style: none; margin: 0 0 clamp(1.25rem, 2.2vw, 2rem); padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.hero__kicker li { font-size: 0.8125rem; font-weight: 500; letter-spacing: .03em; color: rgba(247, 250, 249, .94); padding: 0.4375rem 0.875rem; border-radius: 999px;
  background: rgba(23, 37, 43, .3); border: 1px solid rgba(247, 250, 249, .22); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hero__kicker li::before { content: ""; display: inline-block; width: 0.375rem; height: 0.375rem; border-radius: 50%; background: var(--red); margin-right: 0.5rem; vertical-align: 0.1em; }
.hero__title { grid-column: 1 / -1; }
.hero__aside { grid-column: 1 / -1; align-self: start; padding-bottom: 0; margin-top: 0; }
.hero__ctas { margin-top: clamp(1.75rem, 3vw, 2.5rem); }
.intro-pending .hero__kicker { opacity: 0; }
.intro-run .hero__kicker { animation: fade-up 1.2s var(--ease) 1.45s both; }
@media (max-width: 760px) { .hero__kicker li { font-size: 0.75rem; padding: 0.375rem 0.75rem; } }

/* 2. values band: brand red instead of blue, crisp white cards */
.values-home--red { position: relative; overflow: hidden; isolation: isolate; color: #fff;
  background: radial-gradient(110% 130% at 0% 0%, #ea4651 0%, #db2835 42%, #b51d29 100%); }
.values-home--red::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none;
  background: repeating-radial-gradient(circle at 105% 120%, rgba(255, 255, 255, .07) 0 1px, transparent 1px 3.25rem); }
.values-home--red .manifesto__text { color: #fff; }
.values-home--red .manifesto__text .w { opacity: .35; }
.no-js .values-home--red .manifesto__text .w, .reduce .values-home--red .manifesto__text .w { opacity: 1; }
.values-home--red .pair__item, .values-home--red .pair__item:first-child { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 1.125rem; align-items: start;
  background: #fff; border: 0; border-radius: 1rem; padding: clamp(1.375rem, 2vw, 1.875rem); box-shadow: 0 1.5rem 3rem -1.75rem rgba(70, 8, 14, .6);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.values-home--red .pair__item:hover { transform: translateY(-0.25rem); box-shadow: 0 2rem 3.5rem -1.75rem rgba(70, 8, 14, .7); }
.pair__i { grid-row: span 2; width: 3rem; height: 3rem; border-radius: 0.75rem; display: grid; place-items: center; background: rgba(219, 40, 53, .1); color: var(--red); transition: background-color .4s, color .4s; }
.pair__item:hover .pair__i { background: var(--red-btn); color: #fff; }
.pair__i svg { width: 1.375rem; height: 1.375rem; }
.values-home--red .pair__item h3 { color: var(--ink); margin-bottom: 0.375rem; }
.values-home--red .pair__item p { color: var(--on-light); margin: 0; }

/* 3. featured work: smaller, landscape tiles */
.feat__img { aspect-ratio: 16 / 10; border-radius: 0.75rem; }
.feat { gap: 1rem; row-gap: clamp(1.25rem, 2vw, 1.75rem); }
.feat__cap { margin-top: 0.75rem; }

/* 4. no fat gap under the RiverX tile */
.section.join-sec { padding-top: 0; }

/* 5. Success Stories: one big rotating quote beside the headline and the retention stat */
.stories2__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 5vw, 5.5rem); align-items: center; }
.stories2 .stories__eyebrow { color: var(--red); }
.stories2__lede { margin: 1rem 0 0; font-size: clamp(1.0625rem, 1.3vw, 1.25rem); line-height: 1.5; color: var(--on-light); max-width: 24em; }
.stories2__stat { display: flex; align-items: center; gap: 1.25rem; margin-top: clamp(1.75rem, 3vw, 2.5rem); padding-top: clamp(1.5rem, 2.4vw, 2rem); border-top: 1px solid var(--line-light); }
.stories2__num { margin: 0; font-size: clamp(3.75rem, 6vw, 5.75rem); font-weight: 600; line-height: .9; letter-spacing: -.055em; color: var(--ink); font-variant-numeric: tabular-nums; }
.stories2__num i { font-style: normal; font-size: .5em; color: var(--red); vertical-align: .72em; margin-left: .04em; letter-spacing: 0; }
.stories2__stat-t { margin: 0; font-size: 0.8125rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--ink); }
.stories2__stat-d { margin: 0.375rem 0 0; font-size: 1rem; line-height: 1.5; color: var(--on-light); }
.stories2__cta { display: flex; flex-wrap: wrap; gap: 0.625rem; margin-top: clamp(1.75rem, 3vw, 2.5rem); }
.stories2__cta .btn--red:hover { background: var(--ink); color: var(--foam); }
.stories2__stage { position: relative; isolation: isolate; overflow: hidden; border-radius: 1.25rem; color: #fff; padding: clamp(1.75rem, 3.6vw, 3.25rem);
  background: radial-gradient(120% 140% at 100% 0%, #315b7c 0%, #1d2f37 48%, #17252b 100%); box-shadow: 0 2.5rem 4rem -2.5rem rgba(23, 37, 43, .55); }
.stories2__mark { position: absolute; z-index: -1; top: -0.12em; right: 0.08em; font-size: clamp(11rem, 20vw, 19rem); font-weight: 700; line-height: 1; color: var(--red); opacity: .85; pointer-events: none; }
.stories2__quotes { display: grid; }
.sq { grid-area: 1 / 1; margin: 0; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transform: translate3d(0, 0.75rem, 0);
  transition: opacity .55s var(--ease), transform .9s var(--ease), visibility 0s .55s; }
.sq.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: .12s, .12s, 0s; }
.sq[hidden] { display: flex; }
.sq__stars { display: flex; gap: 0.1875rem; color: var(--red-light); }
.sq__stars svg { width: 1.125rem; height: 1.125rem; fill: currentColor; }
.sq__text { margin: 1.25rem 0 0; max-width: 30em; font-size: clamp(1.375rem, 2.05vw, 2rem); font-weight: 500; line-height: 1.34; letter-spacing: -.02em; text-wrap: pretty; }
.sq__by { margin-top: auto; padding-top: 1.5rem; display: flex; gap: 0.75rem; align-items: baseline; }
.sq__name { font-size: 1.0625rem; font-weight: 600; }
.sq__role { font-size: 0.75rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.stories2__tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.5rem; margin-top: clamp(1.75rem, 3vw, 2.5rem); }
.sq-tab { position: relative; overflow: hidden; display: flex; align-items: center; gap: 0.625rem; padding: 0.6875rem 0.75rem; border-radius: 0.75rem; cursor: pointer; text-align: left;
  font: inherit; color: #fff; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); transition: background-color .3s, border-color .3s; }
.sq-tab:hover { background: rgba(255, 255, 255, .11); }
.sq-tab.is-on { background: rgba(255, 255, 255, .15); border-color: rgba(255, 255, 255, .32); }
.sq-tab:focus-visible { outline: 2px solid var(--red-light); outline-offset: 2px; }
.sq-tab__in { flex: none; width: 2.25rem; height: 2.25rem; border-radius: 50%; display: grid; place-items: center; font-size: 0.9375rem; font-weight: 600; background: rgba(255, 255, 255, .12); transition: background-color .3s; }
.sq-tab.is-on .sq-tab__in { background: var(--red-btn); }
.sq-tab__t { display: flex; flex-direction: column; min-width: 0; }
.sq-tab__n { font-size: 0.875rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sq-tab__r { font-size: 0.6562rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.sq-tab__bar { position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--red-light); transform: scaleX(var(--p, 0)); transform-origin: left; }
.sq-tab:not(.is-on) .sq-tab__bar { transform: scaleX(0); }
@media (max-width: 1020px) { .stories2__grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .stories2__tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stories2__cta .btn { flex: 1 1 100%; justify-content: center; } }

/* 6. inner pages: photos beside long text, photo cards */
.lead-split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5.5rem); align-items: center; }
.lead-split--flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.lead-split--flip .lead-split__img { order: -1; }
.lead-split__img { margin: 0; aspect-ratio: 5 / 4; border-radius: 0.875rem; overflow: hidden; background: var(--sand-2); }
.lead-split__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.lead-split:hover .lead-split__img img { transform: scale(1.04); }
.lead-split .prose--lead p, .lead-split .prose p { max-width: 36em; }
* + .lead-split, .lead-split + * { margin-top: clamp(3rem, 5vw, 4.5rem); }
@media (max-width: 860px) { .lead-split, .lead-split--flip { grid-template-columns: 1fr; } .lead-split--flip .lead-split__img { order: 0; } }
.cards--5 { --k: 5; }
@media (max-width: 1180px) { .cards--5 { --k: 3; } }
.card:has(.card__img) { padding-bottom: 2rem; }
.card__img { border-radius: 0.75rem; aspect-ratio: 3 / 2; }
.cards:has(.card__img) { row-gap: 1.5rem; }
a.card:hover .card__t { color: var(--red-btn); }

/* Industries index: photo tiles (each industry's own header photo) */
.icards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.icard { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 0.875rem; overflow: hidden; isolation: isolate; color: #fff; background: var(--ink-2); }
.icard img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.icard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(23, 37, 43, 0) 35%, rgba(23, 37, 43, .88) 100%); transition: opacity .5s; }
.icard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(219, 40, 53, .1) 0%, rgba(23, 37, 43, .92) 100%); opacity: 0; transition: opacity .5s; }
.icard:hover img { transform: scale(1.07); }
.icard:hover::before { opacity: 1; }
.icard__body { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; padding: 1.125rem 1.25rem; }
.icard__t { font-size: clamp(1.125rem, 1.45vw, 1.375rem); font-weight: 600; letter-spacing: -.015em; line-height: 1.2; }
.icard__go { flex: none; width: 2.5rem; height: 2.5rem; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3);
  transition: background-color .3s, border-color .3s, transform .5s var(--ease); }
.icard:hover .icard__go { background: var(--red-btn); border-color: var(--red-btn); transform: translateX(0.25rem); }
@media (max-width: 1080px) { .icards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .icards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.625rem; } .icard__body { padding: 0.875rem; } .icard__go { width: 2rem; height: 2rem; } }

/* industry pages: intro text beside a project photo */
.ind-intro__copy { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; }
.ind-intro__copy .eyebrow { grid-column: 1 / span 3; }
.ind-intro__copy .ind-intro__text { grid-column: 4 / -1; }
.ind-intro--pic { align-items: center; }
.ind-intro--pic .ind-intro__copy { grid-column: 1 / span 7; display: block; }
.ind-intro--pic .ind-intro__copy .eyebrow { margin: 0 0 1.25rem; }
.ind-intro--pic .ind-intro__text p { font-size: clamp(1.125rem, 1.55vw, 1.5rem); }
.ind-intro__img { grid-column: 8 / -1; margin: 0; aspect-ratio: 5 / 4; border-radius: 0.875rem; overflow: hidden; background: var(--sand-2); }
.ind-intro__img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .ind-intro__copy { display: block; } .ind-intro__img { margin-top: 2rem; } }

/* mobile menu: "Industries" goes to the industries page */
.menu__sub-link:hover { color: var(--red-light); }
@media (max-width: 640px) { .sq__text { font-size: 1.1875rem; line-height: 1.42; } .stories2__mark { font-size: 9rem; } }

/* ===================== Round 12 (Codex inner-page redesign) ===================== */
/* Generated pages only. The approved home page keeps its existing design. */
[data-inner] main { background: var(--foam); }
[data-inner] main :is(h1, h2, h3, p, a, .col, .stack) { overflow-wrap: anywhere; }
[data-inner] main :is(h1, h2, h3) { text-wrap: pretty; }
[data-inner] main .section { padding-block: clamp(2.5rem, 4.5vw, 4.25rem); }
[data-inner] main .section.t-light + .section.t-light,
[data-inner] main .section.t-sand + .section.t-sand { padding-top: 0; }
[data-inner] main .t-red { color: var(--foam); --body: var(--on-dark); --body-2: var(--on-dark-2); --line: var(--line-dark); }
[data-inner] main .t-red :is(.quote__text, .quote__by, .quotes__side, .quotes__side .display) { color: var(--foam); }
[data-inner] main :is(.h-l, .block-title) { font-size: clamp(2rem, 3.1vw, 3.25rem); line-height: 1.08; letter-spacing: -.04em; }
[data-inner] main :is(.h-m, .svc-statement) { font-size: clamp(1.75rem, 2.65vw, 2.75rem); line-height: 1.14; }
[data-inner] main .prose { max-width: none; font-size: 1rem; line-height: 1.75; }
[data-inner] main .prose p { max-width: none; }
[data-inner] main .prose--lead { font-size: 1.125rem; }
[data-inner] main :is(.prose h1, .prose h2) { font-size: clamp(1.75rem, 2.5vw, 2.5rem); line-height: 1.15; }
[data-inner] main .prose h3 { font-size: 1.5rem; line-height: 1.2; }
[data-inner] main :is(.btn, .chip, summary, a):focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
[data-inner] main .t-dark :is(.btn, a):focus-visible { outline-color: var(--foam); }
[data-inner] main [id] { scroll-margin-top: calc(var(--nav-h) + 1.5rem); }

/* Compact editorial cover: connected copy, a generous photo, and useful anchors. */
.inner-hero { position: relative; padding: calc(var(--nav-h) + 1.5rem) 0 0; isolation: isolate; overflow: clip;
  background: radial-gradient(ellipse at 10% 100%, var(--blue), transparent 65%), var(--ink); }
.inner-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .25; pointer-events: none;
  background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px); background-size: 6rem 6rem; mask-image: linear-gradient(90deg, #000, transparent 70%); }
.inner-crumb { display: flex; align-items: center; gap: .65rem; padding-bottom: 1.25rem; font-size: .75rem; line-height: 1.4; color: var(--on-dark-2); }
.inner-crumb a { flex: none; transition: color .25s; }
.inner-crumb a:hover { color: var(--foam); }
.inner-crumb [aria-current] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inner-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(1.5rem, 3.4vw, 3.5rem); align-items: stretch; padding-bottom: 2rem; }
.inner-hero__copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding-block: 1.75rem; min-width: 0; }
.inner-hero__title { font-size: clamp(3rem, 5.9vw, 6rem); font-weight: 600; letter-spacing: -.055em; line-height: 1.01; max-width: 13ch; }
.inner-hero__title .ln { padding-bottom: .08em; }
.inner-hero__lead { font-size: clamp(1rem, 1.35vw, 1.1875rem); line-height: 1.65; color: var(--on-dark); max-width: 39em; margin-top: 1.125rem; }
.inner-hero__lead p + p { margin-top: .75em; }
.inner-hero__copy .btn-row { margin-top: 1.5rem; }
.inner-hero__rest { margin-top: 1rem; width: 100%; }
.inner-hero__visual { position: relative; display: grid; min-height: 20rem; height: clamp(20rem, 27vw, 27rem); border-radius: 1.25rem; gap: .625rem; }
.inner-hero__photo { position: relative; overflow: hidden; border-radius: inherit; background: var(--ink-3); min-width: 0; min-height: 0; }
.inner-hero__photo img { width: 100%; height: 116%; object-fit: cover; transition: scale 1.2s var(--ease); }
.inner-hero__visual:hover .inner-hero__photo img { scale: 1.035; }
.inner-hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(23,37,43,.24), transparent 45%); pointer-events: none; }
.inner-hero__visual--mosaic { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); grid-template-rows: 1fr 1fr; }
.inner-hero__visual--mosaic .inner-hero__photo:first-child { grid-row: 1 / -1; }
.inner-hero__visual--mosaic .inner-hero__photo:not(:first-child) img { height: 100%; }
.inner-hero__corner { position: absolute; right: -.5rem; bottom: -.5rem; display: grid; place-items: center; width: 4.25rem; height: 4.25rem; border: .5rem solid var(--ink); border-radius: 1.4rem; background: var(--red); color: var(--foam); }
.inner-hero__corner svg { width: 1.5rem; height: 1.5rem; transform: rotate(-45deg); }
.inner-jumps { display: flex; flex-wrap: wrap; gap: .5rem; padding: 1.125rem 0 1.5rem; border-top: 1px solid var(--line-dark); }
.inner-jumps a { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; border: 1px solid var(--line-dark); padding: .625rem .875rem; border-radius: .5rem; color: var(--on-dark); font-size: .75rem; line-height: 1.4; max-width: 23rem; transition: color .3s, background .3s, border-color .3s; }
.inner-jumps a:hover { background: var(--foam); border-color: var(--foam); color: var(--ink); }
.inner-jumps svg { width: .8125rem; height: .8125rem; flex: none; transform: rotate(90deg); }

/* Body rhythm: headings, reading columns and photographs occupy the whole spread. */
.editorial { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 4vw, 4.5rem); align-items: start; }
.editorial + *, * + .editorial { margin-top: 2.75rem; }
.editorial__head { min-width: 0; }
.editorial__mark { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; margin-bottom: 1rem; border-radius: .75rem; color: var(--red); background: var(--sand); }
.editorial__mark svg { width: 1.25rem; height: 1.25rem; }
.editorial__title { font-size: clamp(1.875rem, 2.8vw, 3rem); font-weight: 600; line-height: 1.12; letter-spacing: -.045em; }
.editorial__photo { margin-top: 1.5rem; border-radius: 1rem; overflow: hidden; aspect-ratio: 16 / 9; }
.editorial__photo img { height: 100%; width: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.editorial:hover .editorial__photo img { transform: scale(1.04); }
.editorial__body { padding-top: .25rem; }
.editorial__body > * + * { margin-top: 1.25rem; }
.editorial--statement { align-items: center; padding: clamp(1.5rem, 3vw, 3rem); border-radius: 1.25rem; background: var(--ink); color: var(--foam); }
.editorial--statement .editorial__photo { margin: 0; }
.editorial--statement:not(:has(.editorial__photo)) { display: block; }
[data-inner] main .lead-split { gap: clamp(1.5rem, 3vw, 3.25rem); align-items: start; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
[data-inner] main .lead-split--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
[data-inner] main .lead-split__img { aspect-ratio: 4 / 3; border-radius: 1rem; }
[data-inner] main :is(.stack + .stack, .stack + .cards, .cards + .stack, .cols + .stack, .stack + .cols, .cards + .cards, .cols + .cols) { margin-top: 2.75rem; }
[data-inner] main .split-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 2rem; margin-bottom: 2.25rem; }
[data-inner] main .split-head > * { grid-column: auto; }
[data-inner] main .cols { gap: 1.5rem; }
[data-inner] main .col { min-width: 0; }
[data-inner] main .prose li { padding: .75rem 1rem .75rem 2rem; border: 1px solid var(--line-light); border-radius: .625rem; background: rgba(255,255,255,.5); }
[data-inner] main .prose li::before { left: .875rem; top: 1.45rem; width: .375rem; height: .375rem; border-radius: 50%; }
[data-inner] main .prose li p { margin: 0; }
[data-inner] main .prose ol { list-style: decimal; padding-left: 1.5rem; }
[data-inner] main .prose ol li { padding-left: .75rem; }
[data-inner] main .prose ol li::before { display: none; }
[data-inner] main .prose li > :is(ul, ol) { margin-top: .75rem; }
[data-inner] main .t-dark .prose li { border-color: var(--line-dark); background: var(--ink-2); }

/* Tactile cards, always-visible copy, and photos instead of a sea of text. */
[data-inner] main .cards { gap: 1rem; }
[data-inner] main .cards--5 { --k: 3; }
[data-inner] main .card { min-width: 0; padding: 1.5rem; border: 1px solid var(--line-light); border-radius: 1rem; background: #fff; color: var(--ink); box-shadow: 0 .5rem 1.5rem -.9rem rgba(23,37,43,.12); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s; }
[data-inner] main .card:hover { transform: translateY(-.25rem); border-color: var(--sand-2); box-shadow: 0 1.25rem 2rem -1.25rem rgba(23,37,43,.28); }
[data-inner] main .card__img { margin: -.875rem -.875rem 1.25rem; border-radius: .625rem; aspect-ratio: 16 / 10; overflow: hidden; }
[data-inner] main .card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
[data-inner] main .card:hover .card__img img { transform: scale(1.055); }
[data-inner] main .card__t { margin: .25rem 0 .875rem; font-size: clamp(1.25rem, 1.6vw, 1.625rem); font-weight: 600; line-height: 1.2; letter-spacing: -.025em; }
[data-inner] main .card__b, [data-inner] main .card__note { font-size: .9375rem; line-height: 1.7; color: var(--on-light); }
[data-inner] main .card__note p + p { margin-top: .75em; }
[data-inner] main .card > .link { margin-top: auto; padding-top: 1.25rem; }
[data-inner] main .cards--1 > .card:has(.card__b ul) { display: grid; grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr); gap: 1.5rem; }
[data-inner] main .cards--1 > .card:has(.card__b ul) .card__b ul { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-top: 1rem; }
[data-inner] main .card__b li { border-top: 1px solid var(--line-light); padding: .75rem 0; }
[data-inner] main .t-dark .card { background: var(--ink-2); color: var(--foam); border-color: var(--line-dark); }
[data-inner] main .t-dark .card__b { color: var(--on-dark); }
.process-item { position: relative; min-width: 0; }
.process-item__n { display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: .75rem; background: var(--red); color: var(--foam); font-size: .875rem; font-weight: 600; margin-bottom: .75rem; }
.process-item .card { height: calc(100% - 3.25rem); }

/* Services hub: all sixteen menu destinations, in rich compact photo tiles. */
.hub-head { display: flex; justify-content: space-between; align-items: center; padding: 0 0 1.25rem; margin-bottom: 1.25rem; border-bottom: 1px solid var(--line-light); }
.hub-head > span { color: var(--red); }
.hub-head svg { width: 1.75rem; height: 1.75rem; }
.hub-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.hub-tile { min-width: 0; display: flex; flex-direction: column; background: #fff; border-radius: 1rem; overflow: hidden; border: 1px solid var(--line-light); color: var(--ink); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.hub-tile:hover { transform: translateY(-.25rem); box-shadow: 0 1.5rem 2.5rem -1.5rem rgba(23,37,43,.3); }
.hub-tile__photo { display: block; position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand); }
.hub-tile__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.hub-tile:hover img { transform: scale(1.07); }
.hub-tile__icon { position: absolute; bottom: .75rem; left: .75rem; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: .625rem; background: var(--foam); color: var(--red); }
.hub-tile__icon svg { width: 1.25rem; height: 1.25rem; }
.hub-tile__body { display: flex; flex-direction: column; align-items: flex-start; padding: 1.25rem; flex: 1; }
.hub-tile h3 { font-size: 1.375rem; font-weight: 600; letter-spacing: -.035em; line-height: 1.15; }
.hub-tile__text { display: block; font-size: .875rem; line-height: 1.65; color: var(--on-light); margin-top: .75rem; }
.hub-tile__link { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-top: 1.125rem; margin-top: auto; width: 100%; font-size: .75rem; font-weight: 600; }
.hub-tile__link svg { width: 1.5rem; height: 1.5rem; padding: .25rem; border-radius: 50%; background: var(--sand); transition: color .3s, background .3s, transform .5s; }
.hub-tile:hover .hub-tile__link svg { background: var(--red); color: var(--foam); transform: rotate(-45deg); }
.hub-section:has(.hub-tile:nth-child(3):last-child) .hub-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Service detail: a compact feature deck below the cover, then alternating photo spreads. */
.service-overview { padding: 0 0 2rem; }
[data-inner] main .svc-items { margin: 0; gap: .625rem; grid-template-columns: repeat(min(var(--k), 4), minmax(0, 1fr)); }
[data-inner] main .svc-item { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: .375rem .75rem; padding: 1.125rem; background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: .875rem; backdrop-filter: none; }
[data-inner] main .svc-item__top { grid-row: 1 / span 2; margin: 0; }
[data-inner] main .svc-item__i { width: 1.5rem; height: 1.5rem; }
[data-inner] main .svc-item__t { font-size: .9375rem; }
[data-inner] main .svc-item__d { font-size: .8125rem; line-height: 1.5; }
[data-inner] main .svc-item:hover { background: var(--blue); transform: translateY(-.1875rem); }
[data-inner] main .sv-feat { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
[data-inner] main .sv-feat--flip { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
[data-inner] main .sv-feat--noimg { grid-template-columns: 1fr; }
[data-inner] main .sv-feat__img { aspect-ratio: 4 / 5; max-height: 35rem; }
[data-inner] main .sv-card { padding: 1.25rem; border-radius: .875rem; gap: .5rem; }
[data-inner] main .sv-card__i { width: 2.5rem; height: 2.5rem; border-radius: .625rem; }
[data-inner] main .sv-card__t { font-size: 1.125rem; }
[data-inner] main .sv-card__b { font-size: .9375rem; line-height: 1.65; }
[data-inner] main .svc-split__t { position: static; padding-right: .5rem; }
[data-inner] main .svc-split__img { display: block; margin-top: 1.25rem; }
[data-inner] main .svc-intro { gap: 2rem; }

/* Industries / work / journal: bigger image presence and varied tile scale. */
[data-inner] main .icards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .875rem; }
[data-inner] main .icard { aspect-ratio: auto; min-height: clamp(13rem, 19vw, 20rem); border-radius: 1rem; }
[data-inner] main .icard:nth-child(7n + 1) { grid-column: span 2; }
[data-inner] main .icard:nth-child(7n + 1) .icard__t { font-size: clamp(1.5rem, 2.5vw, 2.5rem); }
[data-inner] main .icard::after { background: linear-gradient(0deg, rgba(23,37,43,.92), rgba(23,37,43,.06) 75%); }
[data-inner] main .ind-intro { gap: 2rem; }
[data-inner] main .ind-intro__text { font-size: clamp(1.0625rem, 1.4vw, 1.25rem); line-height: 1.75; }
[data-inner] main .ind-intro__img { border-radius: 1rem; }
[data-inner] main .ind-items { gap: .875rem; }
[data-inner] main .ind-item { padding: 1.5rem; background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 1rem; }
[data-inner] main .ind-item__i { width: 2.75rem; height: 2.75rem; margin-bottom: 1rem; }
[data-inner] main .ind-item__t { font-size: 1.25rem; }
[data-inner] main .ind-item__d { font-size: .9375rem; }
[data-inner] main .gal__head { margin-bottom: 1.5rem; gap: 1.5rem; }
[data-inner] main .gal__slide { flex-basis: 37vw; aspect-ratio: 4 / 3; border-radius: 1rem; }
[data-inner] main .wtiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem 1rem; }
[data-inner] main .wtile__img { aspect-ratio: 16 / 11; border-radius: 1rem; position: relative; }
[data-inner] main .wtile__img::after { content: "↗"; position: absolute; bottom: .75rem; right: .75rem; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; color: var(--foam); background: var(--red); font-size: 1.5rem; transition: transform .4s var(--ease); }
[data-inner] main .wtile:hover .wtile__img::after { transform: rotate(45deg); }
[data-inner] main .chips { padding-bottom: 1.25rem; border-bottom: 1px solid var(--line-light); margin-bottom: 1.5rem; }
[data-inner] main .posts { gap: 1rem; align-items: stretch; }
[data-inner] main .post-card { padding: .75rem .75rem 1.5rem; border: 1px solid var(--line-light); background: #fff; border-radius: 1rem; gap: .875rem; }
[data-inner] main .post-card > :not(.post-card__img) { margin-inline: .5rem; }
[data-inner] main .post-card__img { border-radius: .625rem; aspect-ratio: 4 / 3; }
[data-inner] main .post-card__x { display: block; overflow: visible; }
[data-inner] main .post-card .link { margin-top: auto; padding-top: .75rem; }
[data-inner] main .post-body { max-width: 52rem; padding: clamp(1.25rem, 3vw, 3rem); background: #fff; border-radius: 1rem; border: 1px solid var(--line-light); }
[data-inner] main .post-body > p:first-child { font-size: 1.1875rem; color: var(--ink); }
[data-inner] main .gallery { gap: .875rem; }
[data-inner] main .gallery figure { border-radius: .875rem; overflow: hidden; }

/* People and contact: substantial photos, compact information cards. */
[data-inner] main .bios { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
[data-inner] main .bio { padding: 1.25rem; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 1.25rem; background: #fff; border: 1px solid var(--line-light); border-radius: 1rem; }
[data-inner] main .bio__photo { grid-column: 1; border-radius: .75rem; }
[data-inner] main .bio__photo img { filter: none; }
[data-inner] main .bio__main { grid-column: 2; }
[data-inner] main .bio__name { font-size: 1.875rem; }
[data-inner] main .bio__role { font-size: .6875rem; line-height: 1.5; margin: .625rem 0 1rem; }
[data-inner] main .bio__main p { font-size: .9375rem; line-height: 1.7; }
[data-inner] main .bio__main p + p { margin-top: .875rem; }
[data-inner] main .bio__facts { grid-column: 1 / -1; display: block; columns: 2; border-top: 1px solid var(--line-light); padding-top: 1rem; margin: 0; }
[data-inner] main .bio__facts dt { margin-bottom: .25rem; font-size: .625rem; }
[data-inner] main .bio__facts dd { margin: 0 0 .875rem; break-after: avoid; font-size: .8125rem; }
[data-inner] main .way { border: 1px solid var(--line-light); border-radius: 1rem; padding: 1.5rem; min-height: 11rem; background: #fff; }
[data-inner] main .way:hover { background: var(--blue); color: var(--foam); }
[data-inner] main .way .arrow { width: 1.25rem; height: 1.25rem; }
[data-inner] main .embed--form { margin-top: 2rem; border-radius: 1rem; border: 1px solid var(--line-light); }
[data-inner] main .accs { border: 0; display: grid; gap: .625rem; }
[data-inner] main .acc { border: 1px solid var(--line-light); border-radius: .875rem; background: #fff; overflow: hidden; transition: border-color .3s; }
[data-inner] main .acc summary { padding: 1.25rem; }
[data-inner] main .acc__t { font-size: 1.25rem; font-weight: 600; line-height: 1.25; }
[data-inner] main .acc[open] { border-color: var(--blue); }
[data-inner] main .acc[open] summary { color: var(--blue); }
[data-inner] main .acc__b { padding: 0 1.25rem 1.25rem; }

@media (min-width: 861px) {
  [data-inner="blog"] .post-card:first-child { grid-column: span 2; }
  [data-inner="blog"] .post-card:first-child .post-card__img { aspect-ratio: 2.35 / 1; }
  [data-inner="blog"] .post-card:first-child .post-card__t { font-size: 2rem; max-width: 28ch; }
}
@media (max-width: 1100px) {
  .hub-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  [data-inner] main .bios { grid-template-columns: 1fr; }
  [data-inner] main .bio { grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); }
  [data-inner] main .svc-items { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  [data-inner] main .sv-feat, [data-inner] main .sv-feat--flip { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  [data-inner] main .sv-feat__cards { grid-template-columns: 1fr; }
  [data-inner] main .sv-feat__img { position: sticky; top: calc(var(--nav-h) + 1rem); }
}
@media (max-width: 860px) {
  .inner-hero { padding-top: calc(var(--nav-h) + 1rem); }
  .inner-hero__grid { grid-template-columns: 1fr; gap: 1.5rem; padding-bottom: 1.5rem; }
  .inner-hero__copy { padding: .75rem 0 0; }
  .inner-hero__title { font-size: clamp(2.75rem, 8vw, 4.5rem); max-width: 20ch; }
  .inner-hero__visual { height: clamp(15rem, 48vw, 25rem); min-height: 0; }
  .inner-hero__lead { max-width: 42rem; }
  .inner-jumps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inner-jumps a { max-width: none; gap: .5rem; font-size: .71875rem; }
  .editorial { grid-template-columns: 1fr; gap: 1.5rem; }
  .editorial__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem 1.5rem; align-items: start; }
  .editorial__mark { grid-column: 1; margin: 0; }
  .editorial__title { grid-column: 1; }
  .editorial__head .editorial__photo { grid-column: 2; grid-row: 1 / 3; margin: 0; align-self: stretch; }
  .editorial--statement { grid-template-columns: 1fr; }
  [data-inner] main .split-head, [data-inner] main .lead-split, [data-inner] main .lead-split--flip { grid-template-columns: 1fr; gap: 1.5rem; }
  [data-inner] main .lead-split--flip .lead-split__img { order: 0; }
  [data-inner] main .lead-split__img { aspect-ratio: 16 / 9; }
  [data-inner] main .cards { --k: 2; }
  [data-inner] main .cards--1 { --k: 1; }
  [data-inner] main .cards--1 > .card:has(.card__b ul) { grid-template-columns: 1fr; }
  .hub-grid, .hub-section:has(.hub-tile:nth-child(3):last-child) .hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  [data-inner] main .svc-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  [data-inner] main .sv-feat, [data-inner] main .sv-feat--flip, [data-inner] main .svc-intro { grid-template-columns: 1fr; }
  [data-inner] main .sv-feat__img { position: static; aspect-ratio: 16 / 9; max-height: none; }
  [data-inner] main .sv-feat--flip .sv-feat__img { order: 0; }
  [data-inner] main .sv-feat__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  [data-inner] main .icards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  [data-inner] main .icard { min-height: 14rem; }
  [data-inner] main .icard:nth-child(7n + 1) { grid-column: auto; }
  [data-inner] main .icard:nth-child(7n + 1) .icard__t { font-size: 1.375rem; }
  [data-inner] main .wtiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  [data-inner] main .gal__slide { flex-basis: 68vw; }
  [data-inner] main .ways { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  [data-inner] main .gal__head { align-items: start; flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .inner-crumb { font-size: .6875rem; gap: .375rem; }
  .inner-hero__title { font-size: clamp(2.25rem, 10.5vw, 3.125rem); }
  .inner-hero__visual { height: 14rem; border-radius: .875rem; }
  .inner-hero__visual--mosaic { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: .375rem; }
  .inner-hero__corner { width: 3.5rem; height: 3.5rem; border-radius: 1.125rem; }
  .inner-jumps { grid-template-columns: 1fr; }
  .inner-jumps a { font-size: .75rem; }
  .inner-hero .btn { padding-inline: 1rem; --h: 3rem; font-size: .6875rem; max-width: 100%; }
  .editorial__head { display: block; }
  .editorial__mark { margin-bottom: .875rem; }
  .editorial__title { font-size: 1.875rem; }
  .editorial__head .editorial__photo { margin-top: 1.25rem; }
  [data-inner] main .section { padding-block: 2.25rem; }
  [data-inner] main .cards { --k: 1; }
  [data-inner] main .cards--1 > .card:has(.card__b ul) .card__b ul { grid-template-columns: 1fr; }
  [data-inner] main .cols { display: flex; flex-direction: column; }
  [data-inner] main .col { width: 100%; }
  .hub-grid, .hub-section:has(.hub-tile:nth-child(3):last-child) .hub-grid { grid-template-columns: 1fr; }
  .hub-tile { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1fr); }
  .hub-tile__photo { height: 100%; aspect-ratio: auto; min-height: 12rem; }
  .hub-tile__body { padding: 1rem; }
  .hub-tile h3 { font-size: 1.125rem; }
  .hub-tile__text { font-size: .8125rem; }
  .hub-tile__icon { left: .5rem; bottom: .5rem; width: 2.125rem; height: 2.125rem; }
  [data-inner] main .svc-items, [data-inner] main .sv-feat__cards { grid-template-columns: 1fr; }
  [data-inner] main .svc-item { grid-template-columns: 2rem minmax(0, 1fr); padding: 1rem; }
  [data-inner] main .icards, [data-inner] main .wtiles, [data-inner] main .ways { grid-template-columns: 1fr; }
  [data-inner] main .icard { min-height: 15rem; }
  [data-inner] main .bio { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); padding: 1rem; gap: 1rem; }
  [data-inner] main .bio__photo { grid-column: 1; }
  [data-inner] main .bio__main { display: contents; }
  [data-inner] main .bio__name { grid-column: 2; grid-row: 1; align-self: center; font-size: 1.75rem; }
  [data-inner] main .bio__main p { grid-column: 1 / -1; margin: 0; }
  [data-inner] main .bio__role { padding-bottom: .75rem; border-bottom: 1px solid var(--line-light); }
  [data-inner] main .gal__slide { flex-basis: 82vw; }
  [data-inner] main .chip { padding-inline: .875rem; font-size: .75rem; }
  [data-inner] main .post-card { padding: .625rem .625rem 1.25rem; }
  [data-inner] main .prose { font-size: .9375rem; }
}
@media (prefers-reduced-motion: reduce) {
  [data-inner] main *, [data-inner] main *::before, [data-inner] main *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* The image itself remains a normal link when scripting is unavailable. */
.photo-open { display: block; position: relative; width: 100%; height: 100%; }
.photo-open::after { content: "+"; position: absolute; right: .75rem; bottom: .75rem; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; color: var(--foam); background: var(--ink); border: 1px solid var(--line-dark); font-size: 1.25rem; transition: background .3s, transform .4s var(--ease); }
.photo-open:hover::after { background: var(--red); transform: rotate(90deg); }
.photo-viewer { width: min(90vw, 88rem); max-width: 90vw; max-height: 92svh; margin: auto; padding: 3rem 3.5rem 1.25rem; border: 1px solid var(--line-dark); border-radius: 1rem; color: var(--foam); background: var(--ink); box-shadow: 0 2rem 8rem rgba(0,0,0,.4); }
.photo-viewer[open] { display: grid; grid-template-columns: 1fr; }
.photo-viewer::backdrop { background: rgba(12,22,27,.92); backdrop-filter: blur(8px); }
.photo-viewer figure { min-width: 0; }
.photo-viewer img { max-height: 75svh; width: 100%; object-fit: contain; border-radius: .5rem; }
.photo-viewer figcaption { margin-top: .75rem; text-align: center; font-size: .8125rem; color: var(--on-dark); }
.photo-viewer button { position: absolute; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 1px solid var(--line-dark); border-radius: 50%; color: var(--foam); background: var(--ink-2); font-size: 1.25rem; }
.photo-viewer button:hover { background: var(--red); }
.photo-viewer__close { top: .5rem; right: .5rem; }
.photo-viewer__prev { top: 50%; left: .5rem; }
.photo-viewer__next { top: 50%; right: .5rem; }
[data-inner] main .ind-intro__text p { font-size: inherit; line-height: inherit; }
[data-inner] main .ind-intro__text p + p { margin-top: 1em; }
[data-inner] main .post-body table { display: block; max-width: 100%; overflow-x: auto; }
@media (max-width: 480px) {
  .photo-viewer { width: 96vw; max-width: 96vw; padding: 3.25rem .625rem 3.5rem; }
  .photo-viewer__prev, .photo-viewer__next { top: auto; bottom: .625rem; }
  [data-inner] main .btn__label { min-width: 0; max-width: 100%; }
}

.inner-hero__title--medium { font-size: clamp(2.75rem, 4.7vw, 5rem); max-width: 19ch; }
.inner-hero__title--long { font-size: clamp(2.5rem, 4.1vw, 4.25rem); max-width: 21ch; }
.inner-jumps a { flex: 1 1 0; min-width: 0; max-width: 28rem; }
[data-inner] main .bio__facts dt { break-after: avoid; }
[data-inner] main .bio__facts dd { break-before: avoid; break-after: auto; }
@media (max-width: 1100px) {
  [data-inner] main .sv-feat--flip .sv-feat__img { order: 0; }
  [data-inner] main .sv-feat--noimg { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .inner-hero__title--medium, .inner-hero__title--long { font-size: clamp(2.5rem, 6.8vw, 3.5rem); }
}
@media (max-width: 480px) {
  .inner-hero__title--medium, .inner-hero__title--long { font-size: clamp(2.125rem, 9vw, 2.75rem); }
}

/* Override the older mobile custom-property lock with explicit tracks. */
@media (max-width: 860px) {
  [data-inner] main .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  [data-inner] main .cards--1 { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  [data-inner] main .cards { grid-template-columns: 1fr; }
}

/* ===================== Round 12b (review fixes after Codex pass) ===================== */
/* five photo cards: one row of five on desktop, 3 + 2 (full width) on tablets — no hole */
[data-inner] main .cards--5 { --k: 5; }
@media (max-width: 1180px) {
  [data-inner] main .cards--5 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  [data-inner] main .cards--5 > * { grid-column: span 2; }
  [data-inner] main .cards--5 > :nth-child(n + 4) { grid-column: span 3; }
}
@media (max-width: 860px) { [data-inner] main .cards--5 { grid-template-columns: 1fr; } [data-inner] main .cards--5 > * { grid-column: auto; } }
/* industries bento: the last two tiles share the final row instead of leaving a gap */
@media (min-width: 761px) {
  [data-inner] main .icards > .icard:nth-child(11):nth-last-child(2), [data-inner] main .icards > .icard:nth-child(12):last-child { grid-column: span 2; }
}

/* ===================== Round 13 (page head + Expertise index, Nov 12) ===================== */
/* Page head: flat ink type band, title sized to its length, then one full-bleed strip of the page's own media.
   Replaces the Round 12 split cover (gradient wash, photo card, corner arrow). */
.ph { position: relative; padding-top: calc(var(--nav-h) + clamp(.75rem, 2vw, 1.75rem)); background: var(--ink); overflow: clip; }
.ph__top { padding-bottom: clamp(1.75rem, 3vw, 2.75rem); }
.ph__crumb { display: flex; align-items: center; gap: .6rem; margin-bottom: clamp(1.25rem, 2.6vw, 2.25rem); font-size: .8125rem; line-height: 1.4; color: var(--on-dark-2); }
.ph__crumb a { flex: none; transition: color .25s; }
.ph__crumb a:hover { color: var(--foam); }
.ph__crumb [aria-current] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ph__head { display: grid; gap: 1.25rem clamp(2rem, 5vw, 5.5rem); }
.ph--split .ph__head { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: end; }
.ph--aside .ph__head { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
.ph__title { font-weight: 500; line-height: 1; letter-spacing: -.045em; text-wrap: balance; }
.ph__title .ln { padding-bottom: .12em; margin-bottom: -.04em; }
.ph--stack .ph__title--xl { font-size: clamp(2.75rem, 11.2vw, 11.5rem); letter-spacing: -.055em; line-height: .94; }
.ph--stack .ph__title--l { font-size: clamp(2.625rem, 7.6vw, 7.5rem); letter-spacing: -.05em; }
.ph--stack .ph__title--m { font-size: clamp(2.25rem, 5.2vw, 5rem); max-width: 22ch; }
.ph--stack .ph__title--s { font-size: clamp(2rem, 3.9vw, 3.75rem); max-width: 26ch; line-height: 1.04; }
.ph--split .ph__title--xl { font-size: clamp(2.75rem, 6.4vw, 6.5rem); }
.ph--split .ph__title--l { font-size: clamp(2.5rem, 5.2vw, 5.25rem); }
.ph--split .ph__title--m { font-size: clamp(2.125rem, 4vw, 4rem); line-height: 1.03; }
.ph--split .ph__title--s { font-size: clamp(1.875rem, 3.2vw, 3.125rem); line-height: 1.06; }
.ph__side { min-width: 0; }
.ph__side > * + * { margin-top: 1.375rem; }
.ph__lead { font-size: clamp(1rem, 1.25vw, 1.125rem); line-height: 1.65; color: var(--on-dark); }
.ph__lead p + p { margin-top: .75em; }
.ph--stack .ph__side { max-width: 46rem; }
.ph--stack .ph__lead { font-size: clamp(1.125rem, 1.6vw, 1.5rem); line-height: 1.45; }
.ph--aside .ph__side { max-width: 24rem; padding-bottom: clamp(.5rem, 1.5vw, 1.5rem); text-align: right; }
.ph__jumps { display: flex; flex-wrap: wrap; gap: .5rem clamp(1.25rem, 2.5vw, 2.5rem); margin-top: clamp(1.5rem, 2.8vw, 2.5rem); padding-top: 1rem; border-top: 1px solid var(--line-dark); font-size: .875rem; line-height: 1.4; }
.ph__jumps a { display: inline-flex; align-items: center; gap: .5rem; color: var(--on-dark-2); transition: color .25s; }
.ph__jumps a:hover { color: var(--foam); }
.ph__jumps svg { width: .75rem; height: .75rem; flex: none; transform: rotate(90deg); }
.ph__strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: .25rem; height: clamp(12rem, 30vw, 28rem); background: var(--ink-2); }
.ph__strip--3 { grid-auto-flow: row; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); }
.ph__strip--video { height: clamp(8.5rem, 15.5vw, 15rem); }
.ph__pic { position: relative; margin: 0; overflow: hidden; min-width: 0; background: var(--ink-3); }
.ph__pic img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.ph__pic[data-parallax] img { top: -9%; height: 118%; }
.ph__strip video { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: no-preference) {
  .ph__strip { animation: ph-open 1.2s var(--ease) .1s both; }
  @keyframes ph-open { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }
}
@media (max-width: 860px) {
  .ph--split .ph__head, .ph--aside .ph__head { grid-template-columns: 1fr; }
  .ph--aside .ph__side { text-align: left; padding-bottom: 0; }
  .ph .ph__title--xl { font-size: clamp(2.75rem, 12.5vw, 5.75rem); }
  .ph .ph__title--l { font-size: clamp(2.5rem, 9.6vw, 4.5rem); }
  .ph .ph__title--m { font-size: clamp(2.125rem, 7.6vw, 3.5rem); }
  .ph .ph__title--s { font-size: clamp(1.875rem, 6.6vw, 3rem); }
  .ph__strip { height: clamp(11rem, 46vw, 20rem); }
  .ph__strip--video { height: clamp(8rem, 30vw, 13rem); }
  .ph__strip--3 { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
  .ph__strip--3 .ph__pic:nth-child(3) { display: none; }
}
@media (max-width: 480px) {
  .ph__crumb { font-size: .75rem; gap: .4rem; }
  .ph .btn { padding-inline: 1rem; --h: 3rem; font-size: .6875rem; max-width: 100%; }
}

/* Expertise: the six areas as one index. Names left; the active one's photo and copy right. Phones get an accordion. */
.xp { padding: clamp(2.25rem, 4.2vw, 4.25rem) 0 clamp(3.5rem, 6vw, 6rem); }
.xp__grid { display: grid; }
.xp__h { margin: 0; }
.xp__tab { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; padding: .42em 0; border: 0; border-bottom: 1px solid var(--line-dark); background: none; cursor: pointer;
  font: inherit; font-size: clamp(1.5rem, 2.9vw, 2.875rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.12; text-align: left; color: rgba(247, 250, 249, .4); transition: color .35s; }
.xp__tab:hover, .xp__tab.is-on, html.no-js .xp__grid .xp__tab { color: var(--foam); }
.xp__tab:focus-visible { outline: 2px solid var(--foam); outline-offset: 4px; }
.xp__bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: 0 50%; }
.xp__tab.is-on .xp__bar { transform: scaleX(1); }
.xp__tab i { position: relative; flex: none; width: 1rem; height: 1rem; transition: transform .4s var(--ease); }
.xp__tab i::before, .xp__tab i::after { content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 1.5px; margin-top: -.75px; background: currentColor; }
.xp__tab i::after { transform: rotate(90deg); }
.xp__tab.is-on i::after { transform: rotate(0deg); }
.xp__tab i::after { transition: transform .4s var(--ease); }
html.no-js .xp__grid .xp__tab i { display: none; }
.xp__panel { padding: 1.25rem 0 2rem; }
html:not(.no-js) .xp__grid .xp__panel:not(.is-on) { display: none; }
.xp__pic { margin: 0 0 1.25rem; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius); background: var(--ink-3); }
.xp__pic img { width: 100%; height: 100%; object-fit: cover; }
.xp__text { font-size: 1rem; line-height: 1.7; color: var(--on-dark); }
.xp__text p + p { margin-top: 1em; }
@media (min-width: 961px) {
  html:not(.no-js) .xp__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.9fr); grid-template-rows: repeat(6, auto) 1fr; column-gap: clamp(2rem, 4.5vw, 5rem); }
  html:not(.no-js) .xp__grid .xp__h { grid-column: 1; }
  html:not(.no-js) .xp__grid .xp__tab i { display: none; }
  html:not(.no-js) .xp__grid .xp__panel, html:not(.no-js) .xp__grid .xp__panel:not(.is-on) { grid-column: 2; grid-row: 1 / -1; display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); gap: clamp(1.5rem, 3.2vw, 3.75rem); align-items: start; padding: 0; }
  html:not(.no-js) .xp__grid .xp__panel { visibility: hidden; opacity: 0; transition: opacity .4s, visibility 0s .4s; }
  html:not(.no-js) .xp__grid .xp__panel.is-on { visibility: visible; opacity: 1; z-index: 1; transition: opacity .4s; }
  html:not(.no-js) .xp__grid .xp__pic { margin: 0; aspect-ratio: 4 / 5; clip-path: inset(0 0 100% 0); transition: clip-path .9s var(--ease); }
  html:not(.no-js) .xp__grid .xp__panel.is-on .xp__pic { clip-path: inset(0); }
  html:not(.no-js) .xp__grid .xp__pic img { scale: 1.08; transition: scale 1.4s var(--ease); }
  html:not(.no-js) .xp__grid .xp__panel.is-on .xp__pic img { scale: 1; }
  html:not(.no-js) .xp__grid .xp__text { padding-top: .35rem; font-size: clamp(1rem, 1.2vw, 1.125rem); translate: 0 .75rem; transition: translate .7s var(--ease); }
  html:not(.no-js) .xp__grid .xp__panel.is-on .xp__text { translate: 0 0; }
}
@media (min-width: 961px) and (prefers-reduced-motion: no-preference) {
  html:not(.no-js) .xp__grid:not(.is-manual) .xp__tab.is-on .xp__bar { animation: xp-fill 7s linear both; }
  html:not(.no-js) .xp__grid:not(.is-live) .xp__bar, html:not(.no-js) .xp__grid:hover .xp__bar, html:not(.no-js) .xp__grid:focus-within .xp__bar { animation-play-state: paused; }
}
@keyframes xp-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (max-width: 960px) {
  .xp__tab { padding: .7em 0; font-size: clamp(1.5rem, 5.6vw, 2.125rem); }
  html:not(.no-js) .xp__grid .xp__panel.is-on { animation: xp-in .5s var(--ease) both; }
  @keyframes xp-in { from { opacity: 0; translate: 0 .5rem; } }
}
@media (prefers-reduced-motion: reduce) { .xp__panel, .xp__pic, .xp__pic img, .xp__text { transition: none !important; animation: none !important; } }
/* text + photo blocks: no icon chip over the heading; square the photo to match the rest */
.editorial__mark { display: none; }
.editorial__photo { border-radius: var(--radius); }

/* Round 13b: calmer page head. Title at a normal display size, lede under it, shorter strips, so content starts on the first screen. */
.ph { padding-top: calc(var(--nav-h) + clamp(.5rem, 1.2vw, 1rem)); }
.ph__top { padding-bottom: clamp(1.5rem, 2.4vw, 2.25rem); }
.ph__crumb { margin-bottom: clamp(1rem, 1.8vw, 1.5rem); }
.ph--stack .ph__title--xl, .ph--stack .ph__title--l { font-size: clamp(2.5rem, 5.2vw, 5rem); letter-spacing: -.04em; line-height: 1; }
.ph--stack .ph__title--m { font-size: clamp(2.25rem, 4.4vw, 4.25rem); }
.ph--stack .ph__title--s { font-size: clamp(2rem, 3.6vw, 3.5rem); }
.ph--split .ph__title--xl, .ph--split .ph__title--l { font-size: clamp(2.5rem, 4.8vw, 4.75rem); }
.ph--aside .ph__head { grid-template-columns: 1fr; }
.ph--aside .ph__side { max-width: 46rem; padding-bottom: 0; text-align: left; }
.ph__head { gap: .875rem clamp(2rem, 5vw, 5.5rem); }
.ph--stack .ph__lead { font-size: clamp(1.0625rem, 1.4vw, 1.3125rem); }
.ph__strip { height: clamp(10rem, 22vw, 20rem); }
.ph__strip--video { height: clamp(5.5rem, 9.5vw, 9rem); }
.xp { padding-top: clamp(1.75rem, 3vw, 3rem); }
.xp__tab { font-size: clamp(1.5rem, 2.5vw, 2.5rem); }
@media (max-width: 860px) {
  .ph .ph__title--xl, .ph .ph__title--l { font-size: clamp(2.375rem, 9.5vw, 4rem); }
  .ph__strip { height: clamp(10rem, 42vw, 17rem); }
  .ph__strip--video { height: clamp(6rem, 24vw, 10rem); }
}

/* Values band: photo mosaic beside the statement, the two cards under it */
.values-home--pics .values-home__grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); grid-template-areas: "head pics" "pair pics";
  gap: clamp(1.75rem, 2.6vw, 2.5rem) clamp(2rem, 4.5vw, 5rem); align-items: stretch; }
.values-home--pics .manifesto__text { grid-area: head; align-self: end; }
.values-home--pics .pair { grid-area: pair; align-self: start; }
.vpics { grid-area: pics; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: .875rem; min-height: clamp(20rem, 31vw, 28rem); }
.vpic { position: relative; overflow: hidden; margin: 0; border-radius: 1rem; background: #a81925; box-shadow: 0 1.5rem 3rem -1.75rem rgba(70, 8, 14, .6); }
.vpic--tall { grid-row: 1 / 3; }
.vpic img { position: absolute; left: 0; top: -9%; width: 100%; height: 118%; object-fit: cover; }
@media (min-width: 1100px) {
  .values-home--pics .pair { grid-template-columns: 1fr 1fr; }
  .values-home--pics .pair__item, .values-home--pics .pair__item:first-child { display: block; }
  .values-home--pics .pair__i { margin-bottom: 1rem; }
}
@media (max-width: 860px) {
  .values-home--pics .values-home__grid { grid-template-columns: 1fr; grid-template-areas: "head" "pics" "pair"; }
  .vpics { min-height: 0; height: clamp(15rem, 70vw, 25rem); }
}

/* Round 14: service pages. No panoramic strip (it cut faces in half): the page photo sits at a normal shape beside the feature tiles. */
.service-overview { padding: 0 0 clamp(2rem, 4vw, 3.5rem); }
.svc-over { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .625rem; }
.svc-over--1 { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
.svc-over--solo { grid-template-columns: 1fr; }
.svc-over__pic { position: relative; overflow: hidden; margin: 0; min-height: clamp(20rem, 29vw, 26rem); border-radius: .875rem; background: var(--ink-2); }
.svc-over__pic img { position: absolute; left: 0; top: -9%; width: 100%; height: 118%; object-fit: cover; object-position: var(--focus, 50% 30%); }
[data-inner] main .svc-over .svc-items { grid-template-columns: repeat(var(--k), minmax(0, 1fr)); grid-auto-rows: 1fr; height: 100%; }
[data-inner] main .svc-over .svc-item { align-content: center; }
.svc-over--2 .svc-item:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 1080px) {
  .svc-over, .svc-over--1 { grid-template-columns: 1fr; }
  .svc-over__pic { min-height: 0; aspect-ratio: 2.2 / 1; }
  [data-inner] main .svc-over--1 .svc-items { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .svc-over__pic { aspect-ratio: 3 / 2; }
  [data-inner] main .svc-over .svc-items { grid-template-columns: 1fr; }
  .svc-over--2 .svc-item:last-child:nth-child(odd) { grid-column: auto; }
}
.ph + .service-overview { margin-top: -1px; padding-top: 1px; } /* no light hairline between the two dark bands at fractional heights */

/* ===================== Round 15 (site-wide pass, Nov 12): page head, orphans, empty space ===================== */
/* Page head: text beside the page photo at a normal shape. No panoramic strip, no jump links. */
.ph--media { padding-bottom: clamp(1.75rem, 3vw, 2.75rem); }
.ph__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4.5rem); align-items: center; }
.ph__text { min-width: 0; padding-block: clamp(.25rem, 1.5vw, 1.5rem); }
.ph__text .ph__title + .ph__side { margin-top: clamp(1rem, 1.6vw, 1.5rem); }
.ph--media .ph__side { max-width: 36rem; }
.ph--media .ph__lead { font-size: clamp(1.0625rem, 1.3vw, 1.25rem); line-height: 1.5; }
.ph--media .ph__lead p + p { font-size: .9em; }
.ph--media .ph__title--xl, .ph--media .ph__title--l { font-size: clamp(2.5rem, 4.8vw, 4.75rem); letter-spacing: -.04em; line-height: 1; }
.ph--media .ph__title--m { font-size: clamp(2.125rem, 3.5vw, 3.375rem); line-height: 1.04; }
.ph--media .ph__title--s { font-size: clamp(1.875rem, 2.8vw, 2.75rem); line-height: 1.08; }
.ph__photo { position: relative; margin: 0; overflow: hidden; aspect-ratio: 16 / 10; border-radius: .875rem; background: var(--ink-2); }
.ph__photo img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.ph__photo[data-parallax] img { top: -9%; height: 118%; }
.ph__mosaic { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); grid-template-rows: 1fr 1fr; gap: .625rem; aspect-ratio: 16 / 10; }
.ph__mosaic .ph__photo { aspect-ratio: auto; }
.ph__mosaic .ph__photo:first-child { grid-row: 1 / 3; }
.ph--split .ph__top, .ph--stack .ph__top { padding-bottom: clamp(1.5rem, 2.4vw, 2.25rem); }
@media (prefers-reduced-motion: no-preference) {
  .ph__grid > .ph__photo, .ph__mosaic { animation: ph-open 1.1s var(--ease) .1s both; }
}
@media (max-width: 860px) {
  .ph__grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .ph__text { padding-block: 0; }
  .ph--media .ph__title--xl, .ph--media .ph__title--l { font-size: clamp(2.375rem, 9.5vw, 4rem); }
}

/* Text + accordion side by side (city pages): the list no longer hangs under a half-empty card */
.duo { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 4vw, 4.5rem); align-items: start; }
.duo__text .h-m { margin-bottom: 1rem; }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } }

/* No orphan tiles: grids follow the number of items */
[data-inner] main .wtiles:has(> .wtile:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
[data-inner] main .wtiles:has(> .wtile:nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gallery:has(> figure:nth-child(5):last-child) { grid-template-columns: repeat(5, minmax(0, 1fr)); }
[data-inner] main .bios > .bio:last-child:nth-child(odd) { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) minmax(0, 5fr); }
.hub-grid:has(> .hub-tile:nth-child(13):last-child) > .hub-tile:first-child { grid-column: span 2; grid-row: span 2; }
.hub-grid:has(> .hub-tile:nth-child(13):last-child) > .hub-tile:first-child .hub-tile__photo { aspect-ratio: auto; flex: 1 1 14rem; min-height: 14rem; }
.hub-grid:has(> .hub-tile:nth-child(13):last-child) > .hub-tile:first-child .hub-tile__body { flex: 0 0 auto; }
.hub-grid:has(> .hub-tile:nth-child(13):last-child) > .hub-tile:first-child h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); }
/* six posts: an even 3 x 2, no cropped feature card */
[data-inner="blog"] .posts:has(> .post-card:nth-child(6):last-child) > .post-card:first-child { grid-column: auto; }
[data-inner="blog"] .posts:has(> .post-card:nth-child(6):last-child) > .post-card:first-child .post-card__img { aspect-ratio: 4 / 3; }
[data-inner="blog"] .posts:has(> .post-card:nth-child(6):last-child) > .post-card:first-child .post-card__t { font-size: clamp(1.1875rem, 1.5vw, 1.4375rem); max-width: none; }
@media (max-width: 1100px) {
  .hub-grid:has(> .hub-tile:nth-child(13):last-child) > .hub-tile:first-child { grid-column: 1 / -1; grid-row: auto; }
  .hub-grid:has(> .hub-tile:nth-child(13):last-child) > .hub-tile:first-child .hub-tile__photo { aspect-ratio: 3 / 1; flex: none; min-height: 0; }
  [data-inner] main .wtiles:has(> .wtile:nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .gallery:has(> figure:nth-child(5):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery:has(> figure:nth-child(5):last-child) > figure:last-child { grid-column: 1 / -1; aspect-ratio: 2 / 1; }
  [data-inner] main .bios > .bio:last-child:nth-child(odd) { grid-column: auto; }
}
@media (max-width: 700px) {
  .hub-grid:has(> .hub-tile:nth-child(13):last-child) > .hub-tile:first-child .hub-tile__photo { aspect-ratio: 16 / 10; }
  [data-inner] main .wtiles:has(> .wtile:nth-child(2):last-child), [data-inner] main .wtiles:has(> .wtile:nth-child(4):last-child) { grid-template-columns: 1fr; }
}

/* Blog post: article with the other posts beside it */
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 20rem); gap: clamp(1.5rem, 3.5vw, 3.5rem); align-items: start; max-width: 74rem; margin: 0 auto; }
.post-layout > .post-body { max-width: none; margin: 0; }
.post-aside { position: sticky; top: calc(var(--nav-h) + 1rem); display: grid; gap: .75rem; }
.post-aside__h { font-size: 1.125rem; font-weight: 600; letter-spacing: -.02em; margin-bottom: .25rem; }
.post-mini { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: .875rem; align-items: center; padding: .5rem; border: 1px solid var(--line-light); border-radius: .875rem; background: #fff; color: var(--ink); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.post-mini:hover { transform: translateY(-.1875rem); box-shadow: 0 1.25rem 2rem -1.25rem rgba(23, 37, 43, .3); }
.post-mini__img { display: block; aspect-ratio: 4 / 3; border-radius: .5rem; overflow: hidden; background: var(--sand); }
.post-mini__img img { width: 100%; height: 100%; object-fit: cover; }
.post-mini__b { display: grid; gap: .25rem; min-width: 0; }
.post-mini__t { font-size: .9375rem; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
.post-mini__d { font-size: .75rem; color: var(--on-light); }
.post-aside__cta { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .5rem; }
@media (max-width: 1000px) {
  .post-layout { grid-template-columns: 1fr; }
  .post-aside { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-aside__h, .post-aside__cta { grid-column: 1 / -1; }
}
@media (max-width: 620px) { .post-aside { grid-template-columns: 1fr; } }

/* Heading with only a line or two of text: the text sits under the title and the photo fills the other half */
.editorial--short { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "t p" "b p"; row-gap: 1rem; }
.editorial--short .editorial__head { display: contents; }
.editorial--short .editorial__title { grid-area: t; align-self: end; }
.editorial--short .editorial__body { grid-area: b; align-self: start; padding-top: 0; }
.editorial--short .editorial__photo { grid-area: p; margin: 0; }
@media (max-width: 700px) {
  .editorial--short { grid-template-columns: 1fr; grid-template-areas: "t" "b" "p"; }
}

/* Home, lower third: photos on the full-funnel cards, a photo beside the "Choosing" heading, buttons beside the closing line */
.trio__pic { margin: -1.625rem -1.625rem 1.5rem; aspect-ratio: 16 / 9; overflow: hidden; border-radius: .625rem .625rem 0 0; }
.trio__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.trio__item:hover .trio__pic img { transform: scale(1.05); }
.choose__head { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4.5rem); align-items: center; margin-bottom: clamp(2rem, 3.5vw, 3.5rem); }
.choose__head .choose__title { margin-bottom: 0; }
.choose__pic { position: relative; margin: 0; overflow: hidden; aspect-ratio: 2 / 1; border-radius: 1rem; }
.choose__pic img { position: absolute; left: 0; top: -9%; width: 100%; height: 118%; object-fit: cover; object-position: 50% 30%; }
.closing-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem clamp(2rem, 5vw, 5rem); align-items: end; margin-top: clamp(3rem, 5vw, 5rem); }
.closing-row .closing { margin-top: 0; }
.closing__ctas { display: flex; flex-wrap: wrap; gap: .625rem; padding-bottom: .375rem; }
@media (max-width: 860px) {
  .choose__head, .closing-row { grid-template-columns: 1fr; }
}

/* Legal pages: one centred reading column instead of text pinned to the left with an empty right half */
[data-inner="privacy-policy"] main .section--page .wrap > *, [data-inner="terms-of-service"] main .section--page .wrap > *,
[data-inner="disclaimer"] main .section--page .wrap > *, [data-inner="accessibility"] main .section--page .wrap > * { max-width: 50rem; margin-inline: auto; }

/* Project with only a thumbnail: the work categories fill the other half */
.pfacts-wrap { display: grid; grid-template-columns: minmax(0, 660px) minmax(0, 1fr); gap: 1.5rem clamp(2rem, 5vw, 5rem); align-items: center; }
.pfacts-wrap > .stack:first-child { grid-row: 1 / 3; margin: 0; }
.pfacts-wrap > .stack { margin-top: 0; align-self: start; }
.pfacts { align-self: end; }
.pfacts__label { font-size: .875rem; color: var(--on-light); margin-bottom: .75rem; }
.pfacts__list { list-style: none; margin: 0; padding: 0; font-size: clamp(1.625rem, 2.6vw, 2.5rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.1; }
.pfacts__list li { padding: .5em 0; border-top: 1px solid var(--line-light); }
.pfacts__list li:last-child { border-bottom: 1px solid var(--line-light); }
@media (max-width: 860px) { .pfacts-wrap { grid-template-columns: 1fr; } .pfacts-wrap > .stack:first-child { grid-row: auto; } }
/* smaller photo for a page head with little text */
.ph__photo { aspect-ratio: 16 / 9; }
.ph__mosaic { aspect-ratio: 16 / 9; }
/* A single full-width card: title left, text across the rest, instead of a narrow text column in a wide empty card */
[data-inner] main .cards--1 > .card:not(:has(.card__img)) .card__b { max-width: none; }
@media (min-width: 861px) {
  [data-inner] main .cards--1 > .card:has(.card__t):not(:has(.card__img)):not(:has(.card__b ul)) { display: grid; grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr); gap: .5rem 1.5rem; align-items: start; }
  [data-inner] main .cards--1 > .card:has(.card__t):not(:has(.card__img)):not(:has(.card__b ul)) .card__t { margin-top: 0; }
  [data-inner] main .cards--1 > .card:has(.card__t):not(:has(.card__img)):not(:has(.card__b ul)) > :not(.card__t) { grid-column: 2; }
}
/* cards inside a column row are plain blocks (the title-left grid squeezed their text into a sliver) */
[data-inner] main .cols .cards--1 > .card, [data-inner] main .cols .cards--1 > .card:has(.card__b ul) { display: block; }
[data-inner] main .cols .cards--1 > .card .card__t { margin-bottom: .625rem; }
/* a lone logo card stays the size of its logo */
[data-inner] main .cards--1:has(> .card:only-child > .card__logo:first-child:last-child), [data-inner] main .cards--1:has(> .card:only-child .card__logo):not(:has(.card__t)) { max-width: 22rem; }
/* phones: the process heading and its line stack (the line was squeezed into a sliver beside the heading) */
@media (max-width: 860px) {
  .process-sec .sec-head__title, .process-sec .sec-head__aside { grid-column: 1 / -1; }
  .process-sec .sec-head__aside { margin-top: 1rem; padding-bottom: 0; }
}

/* Home hero: the original small line sits between the headline and the buttons (David: keep it) */
.hero__aside p { margin-top: clamp(.875rem, 1.5vw, 1.375rem); max-width: 40em; }
.hero__aside p + .hero__ctas { margin-top: clamp(1.25rem, 2vw, 1.75rem); }

/* ===================== Round 16: Expertise = one section over the water ===================== */
/* The ocean video is the page's only imagery: it runs behind the title and the index. No photo column, no thin strip. */
.xpw { position: relative; isolation: isolate; overflow: clip; display: flex; min-height: min(100svh, 58rem); background: var(--ink);
  padding: calc(var(--nav-h) + clamp(.5rem, 1.2vw, 1rem)) 0 clamp(2.5rem, 5vw, 5rem); }
.xpw__media { position: absolute; inset: 0; z-index: -2; background: var(--ink) url(/assets/video/surf-poster.webp) center / cover; }
.xpw__media video { display: block; width: 100%; height: 100%; object-fit: cover; }
.xpw::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(23, 37, 43, .86) 0%, rgba(23, 37, 43, .5) 42%, rgba(23, 37, 43, .7) 100%); }
.xpw__in { width: 100%; display: flex; flex-direction: column; }
.xpw__head { margin-bottom: clamp(2rem, 5vw, 5rem); }
.xpw__head .ph__title { font-size: clamp(2.5rem, 5.2vw, 5rem); letter-spacing: -.04em; line-height: 1; }
.xpw__head .ph__lead { margin-top: .875rem; font-size: clamp(1.0625rem, 1.4vw, 1.3125rem); color: var(--foam); }
.xpw .xp__grid { margin-top: auto; }
.xpw .xp__tab { border-bottom-color: rgba(247, 250, 249, .24); color: rgba(247, 250, 249, .62); }
.xpw .xp__tab:hover, .xpw .xp__tab.is-on { color: #fff; }
.xpw .xp__text { color: rgba(247, 250, 249, .92); }
@media (min-width: 961px) {
  html:not(.no-js) .xpw .xp__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; }
  .xpw .xp__tab { font-size: clamp(1.625rem, 2.8vw, 2.75rem); }
  html:not(.no-js) .xpw .xp__grid .xp__panel, html:not(.no-js) .xpw .xp__grid .xp__panel:not(.is-on) { display: block; align-self: stretch;
    padding: clamp(1.5rem, 2.8vw, 2.75rem); border-radius: 1rem; border: 1px solid rgba(247, 250, 249, .16); background: rgba(23, 37, 43, .58);
    -webkit-backdrop-filter: blur(1rem) saturate(1.15); backdrop-filter: blur(1rem) saturate(1.15); }
  html:not(.no-js) .xpw .xp__grid .xp__text { padding-top: 0; font-size: clamp(1.125rem, 1.67vw, 1.5rem); line-height: 1.5; letter-spacing: -.01em; }
}
@media (max-width: 960px) {
  .xpw { min-height: 0; }
}

/* ===================== Round 16b: Expertise, no blank halves ===================== */
/* Text section without a photo: heading across the top, paragraphs side by side (was heading left with nothing under it). */
.editorial--wide { display: block; }
.editorial--wide .editorial__title { font-size: clamp(2rem, 4.4vw, 4.25rem); line-height: 1.04; }
.editorial--wide .editorial__body { margin-top: clamp(1.25rem, 2.2vw, 2rem); padding-top: clamp(1.25rem, 2.2vw, 2rem); border-top: 1px solid rgba(23, 37, 43, .16); }
.editorial--wide .prose { max-width: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem clamp(2rem, 4.5vw, 5rem); font-size: clamp(1rem, 1.25vw, 1.1875rem); }
.editorial--wide .prose > * { margin: 0; max-width: none; }
@media (max-width: 760px) { .editorial--wide .prose { grid-template-columns: 1fr; } }
/* The text panel over the water is as tall as its text, not as tall as the list. */
@media (min-width: 961px) {
  html:not(.no-js) .xpw .xp__grid .xp__panel, html:not(.no-js) .xpw .xp__grid .xp__panel:not(.is-on) { align-self: start; }
}

/* ===================== Round 17: imagery where sections were text-only ===================== */
/* Expertise growth text: heading + text left, the brand's surf photo right. */
.editorial--wide:has(.editorial__side) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "t p" "b p"; grid-template-rows: auto 1fr; gap: 0 clamp(2rem, 4.5vw, 5rem); }
.editorial--wide:has(.editorial__side) .editorial__head { grid-area: t; }
.editorial--wide:has(.editorial__side) .editorial__title { font-size: clamp(2rem, 3.6vw, 3.5rem); }
.editorial--wide:has(.editorial__side) .editorial__body { grid-area: b; }
.editorial--wide:has(.editorial__side) .prose { grid-template-columns: 1fr; font-size: clamp(1rem, 1.2vw, 1.125rem); }
.editorial__side { grid-area: p; margin: 0; min-height: 20rem; border-radius: var(--radius); overflow: hidden; }
.editorial__side img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
  .editorial--wide:has(.editorial__side) { grid-template-columns: 1fr; grid-template-areas: "t" "p" "b"; grid-template-rows: auto; }
  .editorial__side { min-height: 0; aspect-ratio: 16 / 10; margin-top: 1.25rem; }
}
/* Testimonial band: a photo on the right instead of flat colour. */
.quotes__pic { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; align-self: center; }
.quotes__pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.quotes:has(.quotes__pic) .quotes__stage { grid-column: 4 / span 5; align-content: center; }
.quotes:has(.quotes__pic) .quotes__pic { grid-column: 9 / -1; }
.quotes:has(.quotes__pic) .quote__text { font-size: clamp(1.25rem, 1.75vw, 1.75rem); }
@media (max-width: 1100px) {
  .quotes:has(.quotes__pic) .quotes__stage { grid-column: 1 / span 7; }
  .quotes:has(.quotes__pic) .quotes__pic { grid-column: 8 / -1; }
  .quotes:has(.quotes__pic) .quotes__side { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .quotes:has(.quotes__pic) .quotes__pic { order: 4; width: 100%; aspect-ratio: 16 / 10; margin-top: 1.75rem; }
}
/* Blog articles: photos between sections. */
.post-body .post-fig { margin: 2.2em 0 .4em; aspect-ratio: 16 / 9; }
.post-body .post-fig img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   Round 19 (2026-11-14): Matt's homepage list.
   ============================================================ */

/* Red band: "Trusted by many." heading back over the statement (#3); its photos switch and drift (#2). */
.values-home--pics .values-home__head { grid-area: head; align-self: end; }
.values-home--pics .values-home__head .manifesto__text { grid-area: auto; font-size: clamp(1.5rem, 2.6vw, 2.625rem); line-height: 1.14; letter-spacing: -.025em; max-width: 19em; }
.values-home__title { margin: 0 0 clamp(1rem, 1.6vw, 1.5rem); color: #fff; font-size: clamp(2.75rem, 5.8vw, 5.75rem); line-height: .98; letter-spacing: -.045em; }
.swap { position: absolute; inset: 0; overflow: hidden; }
.swap > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s var(--ease); }
.swap > img.is-on { opacity: 1; animation: swap-drift 9s linear both; }
.vpic .swap { top: -9%; bottom: auto; height: 118%; }
.vpic .swap > img { top: 0; height: 100%; }
@keyframes swap-drift { from { transform: scale(1.04) translate3d(-1.2%, .6%, 0); } to { transform: scale(1.15) translate3d(1.4%, -1%, 0); } }
html.reduce .swap > img { transition: none; animation: none; }

/* "Demand to be seen." (#6): Matt's ten pieces in one bento grid. */
.dts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(12rem, 18.5vw, 18rem); gap: clamp(.625rem, 1vw, 1rem);
  grid-template-areas: "sig sig mail tee" "sig sig mail poke" "ms hawk mob mob" "hr hawk mob mob" "sen sen gus gus"; }
.dt { position: relative; margin: 0; overflow: hidden; border-radius: .625rem; background: var(--ink-2); isolation: isolate; }
.dt--tee { grid-area: tee; } .dt--hawk { grid-area: hawk; } .dt--ms { grid-area: ms; } .dt--mob { grid-area: mob; } .dt--sig { grid-area: sig; }
.dt--mail { grid-area: mail; } .dt--hr { grid-area: hr; } .dt--poke { grid-area: poke; } .dt--sen { grid-area: sen; } .dt--gus { grid-area: gus; }
.dt__img { position: absolute; inset: 0; }
.dt__img:not(.swap) > img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.dt:hover .dt__img:not(.swap) > img { transform: scale(1.05); }
.dt--hr .dt__img img { object-position: 50% 42%; }
.dt--poke .dt__img img { object-position: 50% 45%; }
.dt--sen .dt__img img { object-position: 50% 58%; }
.dt--scroll .dt__img img { object-position: 50% 0; animation: dt-scroll 32s ease-in-out infinite alternate; }
.dt--scroll:hover .dt__img img { animation-play-state: paused; transform: none; }
@keyframes dt-scroll { 0%, 6% { object-position: 50% 0; } 94%, 100% { object-position: 50% 100%; } }
html.reduce .dt--scroll .dt__img img { animation: none; }
.dt__cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; flex-direction: column; gap: .125rem; padding: 3rem 1.125rem 1rem;
  background: linear-gradient(180deg, rgba(14, 24, 29, 0), rgba(14, 24, 29, .82)); color: #fff; pointer-events: none; }
.dt__name { font-weight: 600; font-size: 1rem; letter-spacing: -.01em; }
.dt__kind { font-size: .8125rem; color: rgba(255, 255, 255, .78); }
@media (max-width: 1100px) {
  .dts { grid-template-columns: 1fr 1fr; grid-auto-rows: clamp(11rem, 31vw, 17rem);
    grid-template-areas: "sig sig" "sig sig" "mail tee" "mail poke" "hawk ms" "hawk hr" "mob mob" "sen gus"; }
}
@media (max-width: 560px) {
  .dts { grid-template-columns: 1fr; grid-auto-rows: auto; grid-template-areas: none; }
  .dts .dt { grid-area: auto; aspect-ratio: 4 / 3; }
  .dts .dt--mail, .dts .dt--hawk { aspect-ratio: 4 / 5; }
}

/* What We Do (#7): dark blue tiles; the RiverX tile is green. */
.stile:not(.stile--partner) { background: #22476a; border-color: transparent; color: #fff; box-shadow: none; }
.stile:not(.stile--partner) .stile__d { color: rgba(255, 255, 255, .8); }
.stile:not(.stile--partner) .stile__i { background: rgba(255, 255, 255, .12); color: #fff; }
.stile:not(.stile--partner):hover { background: #17344f; box-shadow: 0 1.375rem 2.75rem -1.625rem rgba(23, 37, 43, .55); }
.stile:not(.stile--partner) .stile__bg::after { background: linear-gradient(180deg, rgba(23, 52, 79, .6) 0%, rgba(18, 41, 62, .9) 100%); }
.stile--partner { background: #0d5a35; }
.stile--partner:hover { background: #0b4d2d; }

/* Agency tiles (#8): Careers & Internships combined, three across. */
.join-sec .tiles.tiles--3, .tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2.5rem, 4vw, 4rem) clamp(1.25rem, 2.6vw, 2.5rem); }
.tiles--3 .tile__body { grid-template-columns: 1fr; row-gap: .75rem; margin-top: 1.25rem; }
.tiles--3 .tile__t { grid-row: auto; font-size: clamp(1.625rem, 2.2vw, 2.375rem); }
.tiles--3 .tile__body .link { margin-top: .25rem; }
@media (max-width: 900px) { .join-sec .tiles.tiles--3, .tiles--3 { grid-template-columns: 1fr; } }

/* "Partner with Mantera" (#10): heading on top, text and button under it. */
.banner--stack .banner__body { display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; gap: clamp(1.25rem, 2vw, 1.75rem); }
.banner--stack .banner__body .h-m { max-width: 12em; }
.banner--stack .banner__side { max-width: 34rem; }
.banner--stack .banner__side p { margin-bottom: 1.5rem; }

/* Footer (#13): red Contact Us button under "Let's talk". */
.foot__talk { display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; align-self: start; }

/* Our Process rings (#11): tambourine.com's ring diagram with the five process steps. */
.rf { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-areas: "head art" "list art"; column-gap: clamp(2rem, 6vw, 6.5rem); align-content: center; }
.rf__head { grid-area: head; align-self: end; }
.rf__head .lede { margin-top: 1.125rem; max-width: 30em; color: var(--on-dark); }
.rf__list { grid-area: list; align-self: start; list-style: none; margin: clamp(1.75rem, 3vw, 2.5rem) 0 0; padding: 0; border-top: 1px solid rgba(247, 250, 249, .16); }
.rf__item { border-bottom: 1px solid rgba(247, 250, 249, .16); }
.rf__step { position: relative; display: flex; align-items: baseline; gap: 1rem; width: 100%; padding: 1rem 0; font: inherit; text-align: left; color: rgba(247, 250, 249, .62); background: none; border: 0; cursor: pointer; transition: color .3s; }
.rf__step:hover, .rf__item.is-on .rf__step { color: var(--foam); }
.rf__step:focus-visible { outline: 2px solid var(--red-light); outline-offset: 4px; }
.rf__n { flex: none; width: 1.5rem; font-size: .8125rem; font-weight: 600; color: var(--red-light); font-variant-numeric: tabular-nums; }
.rf__name { font-size: clamp(1.0625rem, 1.35vw, 1.3125rem); font-weight: 600; letter-spacing: -.01em; }
.rf__bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; }
.rf__item.is-on .rf__bar { transform: scaleX(1); }
.rf.is-js.is-live:not(.is-manual) .rf__item.is-on .rf__bar { animation: rf-bar 7s linear both; }
@keyframes rf-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.rf__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.rf__panel > div { overflow: hidden; }
.rf__item.is-on .rf__panel, .rf:not(.is-js) .rf__panel { grid-template-rows: 1fr; }
.rf__panel p { margin: 0; padding: .125rem 0 1.25rem 2.5rem; max-width: 34em; color: var(--on-dark); font-size: clamp(.9688rem, 1.05vw, 1.0625rem); line-height: 1.68; }
.rf__item.is-on .rf__step { padding-bottom: .625rem; }
.rf__item.is-on .rf__bar { bottom: auto; top: 100%; }

.rf__art { grid-area: art; position: relative; aspect-ratio: 1; width: 100%; max-width: 40rem; justify-self: end; align-self: center; }
.ring { position: absolute; width: 44%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; color: rgba(247, 250, 249, .5); cursor: pointer;
  transform: scale(.96); transition: transform .9s var(--ease), color .5s; -webkit-tap-highlight-color: transparent; }
.ring > * { grid-area: 1 / 1; }
.ring--0 { left: 28%; top: 9%; } .ring--1 { left: 47.97%; top: 23.51%; } .ring--2 { left: 40.35%; top: 46.99%; } .ring--3 { left: 15.65%; top: 46.99%; } .ring--4 { left: 8.03%; top: 23.51%; }
.ring__pic { position: relative; z-index: 1; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; opacity: 0; transform: scale(.82); transition: opacity .55s var(--ease), transform .9s var(--ease); }
.ring__pic img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1) brightness(.92); }
.ring__pic::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle closest-side, rgba(23, 37, 43, .5), rgba(23, 37, 43, 0) 62%), var(--red); mix-blend-mode: multiply; }
.ring__rip { position: relative; z-index: 2; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.ring__t { position: absolute; z-index: 3; translate: -50% -50%; display: flex; flex-direction: column; align-items: center; gap: .25rem; width: max-content; max-width: 8.5em;
  text-align: center; font-weight: 600; font-size: clamp(.75rem, 1.05vw, 1rem); line-height: 1.15; color: var(--on-dark); pointer-events: none; transition: color .4s; }
.ring__t i { font-style: normal; font-size: .8em; color: var(--red-light); transition: color .4s; }
.ring--0 .ring__t { left: 50%; top: 26%; } .ring--1 .ring__t { left: 73%; top: 43%; } .ring--2 .ring__t { left: 64%; top: 70%; }
.ring--3 .ring__t { left: 36%; top: 70%; } .ring--4 .ring__t { left: 27%; top: 43%; }
.ring.is-on { transform: scale(1.07); z-index: 2; color: rgba(255, 255, 255, .5); }
.ring.is-on .ring__pic { opacity: 1; transform: none; }
.ring.is-on .ring__t, .ring.is-on .ring__t i { color: #fff; }
html.reduce .ring, html.reduce .ring__pic, html.reduce .rf__panel { transition: none !important; }
@media (max-width: 900px) {
  .rf { grid-template-columns: 1fr; grid-template-areas: "head" "art" "list"; }
  .rf__art { max-width: 26rem; justify-self: center; margin-top: 2rem; }
  .rf__list { margin-top: 1.5rem; }
  .rf__panel p { padding-left: 2.5rem; }
}
.process-sec.rings-sec::after { background: linear-gradient(90deg, rgba(14, 24, 29, .93) 0%, rgba(14, 24, 29, .86) 48%, rgba(14, 24, 29, .9) 100%); }

/* 2026-11-17: the white icon cards on the red band read as AI boilerplate. Now plain type on the red, a white rule above each, no icons. */
.values-home--red .pair__item, .values-home--red .pair__item:first-child { display: block; background: none; border: 0; border-top: 2px solid rgba(255, 255, 255, .55);
  border-radius: 0; box-shadow: none; padding: 1.25rem 0 0; transition: none; }
.values-home--red .pair__item:hover { transform: none; box-shadow: none; }
.values-home--red .pair__item h3 { color: #fff; font-size: clamp(1.375rem, 1.9vw, 1.75rem); margin-bottom: .5rem; }
.values-home--red .pair__item p { color: rgba(255, 255, 255, .88); max-width: 24em; }
.values-home--pics .pair { column-gap: clamp(1.75rem, 3vw, 3rem); row-gap: 1.75rem; }

/* 2026-11-17: RiverX tile in RiverX's real "Answer Green" #16C266 (brand/colours.json), ink #0E1B20 type on it like RiverX's own site, one-colour ink logo */
.stile--partner, .stile--partner:hover { color: #0E1B20; }
.stile--partner { background: #16C266; }
.stile--partner:hover { background: #12B05C; box-shadow: 0 1.375rem 2.75rem -1.625rem rgba(8, 60, 32, .55); }
.stile--partner .stile__body { border-left-color: rgba(14, 27, 32, .22); }
.stile--partner .stile__badge { background: rgba(14, 27, 32, .08); border-color: rgba(14, 27, 32, .3); color: #0E1B20; }
.stile--partner .stile__t, .stile--partner .stile__go { color: #0E1B20; }
.stile--partner .stile__d, .stile--partner:hover .stile__d { color: rgba(14, 27, 32, .82); }

/* ============================================================
   Round 20 (2026-11-19, Matt's homepage list)
   ============================================================ */
/* #2 What We Do: solid dark blue tiles everywhere (no photo on hover or on phones) */
.stile:not(.stile--partner), .stile:not(.stile--partner):hover { background: #1c3a57; color: #fff; }
.stile:not(.stile--partner):hover { background: #142c44; }
.stile:not(.stile--partner) .stile__d, .stile:not(.stile--partner):hover .stile__d { color: rgba(255, 255, 255, .8); }
@media (hover: none) { .stile:not(.stile--partner) { background: #1c3a57; } }

/* #4 RiverX: white logo, white button with green text at the far right */
.stile--partner .stile__cta { display: inline-flex; align-items: center; gap: .5rem; padding: .9375rem 1.5rem; border-radius: 999px; background: #fff; color: #087236;
  font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; box-shadow: 0 .75rem 1.75rem -1rem rgba(8, 60, 32, .6);
  transition: background-color .3s, color .3s, transform .4s var(--ease); }
.stile--partner .stile__cta .arrow { width: 1rem; height: 1rem; }
.stile--partner:hover .stile__cta { background: #0E1B20; color: #fff; }
@media (max-width: 860px) { .stile--partner .stile__cta { justify-self: start; } }

/* #8 process rings: rings fill the right half, no dead space between the list and the rings */
.rf { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); column-gap: clamp(1.5rem, 3.5vw, 3.5rem); align-items: center; }
.rf__art { max-width: 46rem; justify-self: center; margin: -6% 0; }
.rf__head .display { max-width: 14em; }
.ring__t { font-size: clamp(.8125rem, 1.15vw, 1.0625rem); }
.process-sec.rings-sec { padding-block: clamp(3.5rem, 6vw, 5.5rem); }
@media (max-width: 900px) { .rf__art { max-width: 28rem; margin: 1rem auto -4%; } }

/* #9 footer: logo, phone, email and service area on one centre line */
.foot__cta, .foot__contact { align-items: center; }
.foot__logo--big { align-self: center; padding-bottom: 0; }
.foot__item .label { margin-bottom: .375rem; }

/* #6 Partner page: the "Partner with Mantera" banner opens the page */
.partner-top { padding-block: clamp(2.5rem, 4.5vw, 3.5rem) 0; }
.partner-top .banner { margin-top: 0; min-height: clamp(18rem, 26vw, 23rem); }


/* #10 blog cards: every excerpt three lines, so the cards line up */
.post-card__x { display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
/* #10 hub tiles: the four items read as a list (Matt marked them with dashes) */
.hub-tile__text ul { list-style: none; margin: .625rem 0 0; padding: 0; }
.hub-tile__text li { position: relative; padding-left: 1rem; }
.hub-tile__text li::before { content: ""; position: absolute; left: 0; top: .78em; width: .5rem; height: 1.5px; background: var(--red); }

/* Matt 11/19: calendar icon next to "Let's talk" opens the Calendly booking page */
.nav__end { gap: .75rem; }
.nav__end .nav__menu { margin-left: .625rem; }
.nav__cal { width: 3.125rem; height: 3.125rem; flex: none; display: grid; place-items: center; border-radius: 50%; color: inherit;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 35%, transparent); transition: background-color .3s var(--ease), color .3s var(--ease), box-shadow .3s; }
.nav__cal svg { width: 1.25rem; height: 1.25rem; }
.nav__cal:hover { background: var(--red-btn, var(--red)); color: #fff; box-shadow: none; }
.nav__cal:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
@media (max-width: 860px) { .nav__cal { width: 2.625rem; height: 2.625rem; } .nav__end .nav__menu { margin-left: .25rem; } }

.nav__links > a, .dd > a, .dd__btn { white-space: nowrap; }
@media (min-width: 1181px) and (max-width: 1320px) { .nav__links { gap: .875rem; } .nav__links > a, .dd > a, .dd__btn { padding-inline: .625rem; } }
@media (max-width: 1240px) { .nav__links { display: none; } .nav { grid-template-columns: 1fr auto; } .nav__menu { display: inline-flex; } }

/* ============================================================
   Round 21 (2026-11-20, Matt: service page layout, all service pages)
   ============================================================ */
/* big photo across the top half of the screen; title with its tagline underneath */
.ph--svc { padding-top: 0; min-height: clamp(30rem, 64vh, 48rem); display: flex; align-items: flex-end; isolation: isolate; }
.ph-svc__bg { position: absolute; inset: 0; z-index: -1; margin: 0; overflow: hidden; background: var(--ink-2); }
.ph-svc__bg img { position: absolute; left: 0; top: -9%; width: 100%; height: 118%; object-fit: cover; object-position: var(--focus, 50% 38%); }
.ph-svc__bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(23, 37, 43, .6) 0, rgba(23, 37, 43, .12) 26%, rgba(23, 37, 43, .2) 52%, rgba(23, 37, 43, .9) 100%),
              linear-gradient(90deg, rgba(23, 37, 43, .55) 0, rgba(23, 37, 43, 0) 62%); }
.ph-svc__text { width: 100%; padding-top: calc(var(--nav-h) + 2rem); padding-bottom: clamp(2.25rem, 4.5vw, 4rem); }
.ph-svc__title { color: var(--foam); max-width: 16ch; }
.ph-svc__title--xl { font-size: clamp(3rem, 8vw, 8rem); letter-spacing: -.05em; line-height: .95; }
.ph-svc__title--l { font-size: clamp(2.75rem, 6vw, 6rem); letter-spacing: -.045em; line-height: .98; }
.ph-svc__title--m { font-size: clamp(2.25rem, 4.6vw, 4.5rem); line-height: 1.02; max-width: 20ch; }
.ph-svc__lead { margin-top: clamp(.875rem, 1.6vw, 1.375rem); max-width: 40rem; font-size: clamp(1.0625rem, 1.5vw, 1.375rem); line-height: 1.45; color: rgba(247, 250, 249, .92); text-wrap: pretty; }
@media (max-width: 860px) { .ph--svc { min-height: clamp(26rem, 68svh, 34rem); } }

/* the feature points sit on the white section as an open list, no boxes */
.svc-pts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--c, 3), minmax(0, 1fr)); gap: 2.5rem clamp(1.5rem, 3vw, 3rem); }
.svc-pt { padding-top: 1.25rem; border-top: 2px solid var(--ink); }
.svc-pt__i { display: block; width: 1.75rem; height: 1.75rem; margin-bottom: 1.125rem; color: var(--red); }
.svc-pt__t { margin: 0 0 .5rem; font-size: 1.125rem; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; color: var(--ink); }
.svc-pt__d { margin: 0; font-size: .9375rem; line-height: 1.55; color: var(--on-light); }
.svc-pts-gap { height: clamp(2.5rem, 5vw, 4rem); }
.svc-pts-sec { padding-block: clamp(3rem, 5vw, 4.5rem); }
@media (max-width: 1100px) { .svc-pts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .svc-pts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.5rem; } }
@media (max-width: 520px) { .svc-pts { grid-template-columns: minmax(0, 1fr); } }

/* "Let us manage everything!" leads to Managed Marketing */
.manage-band { background: var(--ink); color: var(--foam); padding-block: clamp(3.5rem, 6vw, 5.5rem); }
.manage-band__in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.manage-band__t { margin: 0; font-size: clamp(2.25rem, 4.6vw, 4.25rem); font-weight: 600; line-height: 1; letter-spacing: -.04em; }
.manage-band__p { margin: 1.25rem 0 0; max-width: 34rem; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); line-height: 1.5; color: var(--on-dark); }
.manage-band__list { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem 1.5rem; font-size: .9375rem; color: var(--on-dark); }
.manage-band__list li { display: flex; align-items: center; gap: .625rem; }
.manage-band__list li::before { content: ""; flex: none; width: .75rem; height: 2px; background: var(--red); }
.manage-band .btn-row { align-items: center; margin-top: 2.25rem; gap: 1.25rem; }
.manage-band__call { font-size: .9375rem; color: var(--on-dark-2); transition: color .25s; }
.manage-band__call:hover { color: var(--foam); }
.manage-band__img { position: relative; margin: 0; overflow: hidden; border-radius: .875rem; aspect-ratio: 5 / 4; background: var(--ink-2); }
.manage-band__img img { position: absolute; left: 0; top: -9%; width: 100%; height: 118%; object-fit: cover; }
@media (max-width: 860px) { .manage-band__in { grid-template-columns: minmax(0, 1fr); } .manage-band__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .manage-band__img { aspect-ratio: 3 / 2; } }

/* ============================================================
   Round 23 (2026-11-23, Matt: hover photos back on the What We Do tiles)
   ============================================================ */
/* dark blue tile, the service photo fades in on hover (mouse only); touch screens keep the solid dark blue */
@media (hover: none) { .stile:not(.stile--partner) .stile__bg { display: none; } }

/* ============================================================
   Round 24 (2026-11-28, Matt's homepage list + menu + expertise + industries)
   ============================================================ */
/* #5 italic partner for Sora: Fraunces Italic (OFL), used for "matters." */
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-italic.woff2") format("woff2"); font-weight: 300 500; font-style: italic; font-display: swap; }
.hero__title em { font-family: "Fraunces", Georgia, serif; font-style: italic; font-weight: 400; font-variation-settings: "opsz" 144; letter-spacing: -.01em; padding-right: .06em; }

/* #4 tagline larger, new order */
.hero__aside p.hero__tag { font-size: clamp(1.25rem, 1.7vw, 1.75rem); line-height: 1.35; max-width: 32em; color: rgba(247, 250, 249, .95); font-weight: 500; letter-spacing: -.01em; }
@media (max-width: 760px) { .hero__aside p.hero__tag { font-size: 1.1875rem; } }

/* #3 "Our Work" outlined in white, "Call Now" unchanged */
.btn--outline { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px #fff; }
.btn--outline:hover { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 2px #fff; }

/* #6 header: one solid black bar (logo, navigation, Let's talk) on every page and at every scroll position */
.nav, .nav.on-light, .nav.on-sand, .nav.on-red, .nav.is-solid { color: #fff; --nav-bg: #000; }
.nav::before, .nav.is-solid::before, .menu-open .nav::before { opacity: 1; background: #000; -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom: 0; }
.nav.on-light .nav__links > a:hover, .nav.on-light .dd:hover > a, .nav.on-sand .nav__links > a:hover, .nav.on-sand .dd:hover > a { background: rgba(255, 255, 255, .12); }

/* #9 What We Do: "Learn More" turns into a red button on hover */
.stile:not(.stile--partner) .stile__go { align-self: flex-start; padding: .5rem .875rem; margin-left: -.875rem; border-radius: 999px; transition: background-color .3s, color .3s, margin .3s var(--ease); }
.stile:not(.stile--partner):hover .stile__go { background: var(--red-btn); color: #fff; margin-left: 0; }

/* #4 tagline on one line at desktop widths */
.hero__aside:has(.hero__tag) { grid-column: 1 / -1; }
.hero__aside p.hero__tag { max-width: none; }

/* #7 "Growing brands of all sizes since 2008!" with three points under it */
.values-home--pics .pair { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.values-home--pics .values-home__title { font-size: clamp(2.25rem, 4.2vw, 4.25rem); line-height: 1.02; max-width: 12em; }
@media (max-width: 1100px) { .values-home--pics .pair { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 640px) { .values-home--pics .pair { grid-template-columns: 1fr; } }

/* #11 process: four steps (#4 removed), bigger titles, each step a clickable tile */
.rf--4 .rf__list { border-top: 0; display: grid; gap: .625rem; }
.rf--4 .rf__item { border: 1px solid rgba(247, 250, 249, .14); border-radius: .875rem; background: rgba(247, 250, 249, .05); transition: background-color .4s var(--ease), border-color .4s var(--ease); }
.rf--4 .rf__item:hover { background: rgba(247, 250, 249, .09); }
.rf--4 .rf__item.is-on { background: rgba(219, 40, 53, .16); border-color: rgba(242, 106, 114, .7); }
.rf--4 .rf__step { align-items: center; padding: 1.125rem 1.375rem; gap: 1rem; }
.rf--4 .rf__item.is-on .rf__step { padding-bottom: .5rem; }
.rf--4 .rf__n { font-size: .875rem; font-weight: 600; color: var(--red-light); }
.rf--4 .rf__name { font-size: clamp(1.375rem, 2vw, 2rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.1; }
.rf--4 .rf__bar { left: 1.375rem; right: 1.375rem; width: auto; }
.rf--4 .rf__panel p { padding: 0 1.375rem .75rem 3.5rem; font-size: clamp(1rem, 1.1vw, 1.125rem); }
.rf--4 .rf__more { display: inline-flex; align-items: center; gap: .5rem; margin: 0 1.375rem 1.25rem 3.5rem; font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.rf--4 .rf__more:hover { color: var(--red-light); }
/* four rings in a clover */
.rf--4 .ring--0 { left: 28%; top: 6%; } .rf--4 .ring--1 { left: 50%; top: 28%; } .rf--4 .ring--2 { left: 28%; top: 50%; } .rf--4 .ring--3 { left: 6%; top: 28%; }
.rf--4 .ring--0 .ring__t { left: 50%; top: 27%; } .rf--4 .ring--1 .ring__t { left: 73%; top: 50%; } .rf--4 .ring--2 .ring__t { left: 50%; top: 73%; } .rf--4 .ring--3 .ring__t { left: 27%; top: 50%; }
@media (max-width: 900px) { .rf--4 .rf__panel p, .rf--4 .rf__more { padding-left: 0; margin-left: 3.25rem; } .rf--4 .rf__panel p { padding-left: 0; } }
.rf--4 .rf__more .arrow { width: 1rem; height: 1rem; }
.rf--4 .rf__panel p { padding: 0 1.375rem .875rem 0; margin-left: 3.9375rem; }
.rf--4 .rf__more { margin-left: 3.9375rem; }
.values-home--pics .pair__item h3 { font-size: clamp(1.125rem, 1.45vw, 1.375rem); }
@media (max-width: 900px) { .rf--4 .rf__panel p, .rf--4 .rf__more { margin-left: 3.5rem; } }

/* ---- Services drop-down (Matt's "Services Drop-Down" email + homepage #1/#2) ---- */
/* #2 full width under the black header */
.dd__panel--mega { left: 0; right: 0; width: auto; top: 100%; transform: translate(0, .5rem); padding: .75rem var(--pad) 1.25rem;
  border: 0; border-top: 1px solid rgba(255, 255, 255, .08); border-radius: 0 0 1.25rem 1.25rem; background: #0b1418; }
.dd:hover .dd__panel--mega, .dd:focus-within .dd__panel--mega { transform: translate(0, 0); }
.dd__panel--mega::before { top: -1rem; height: 1rem; }
.mm { grid-template-columns: minmax(0, 3.4fr) minmax(0, 7fr) minmax(0, 3.6fr); gap: .75rem; max-width: 100rem; margin: 0 auto; }
.mm__preview { min-height: 30rem; }
.mm__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* #4 / #9 large photo tiles: Managed Marketing and RiverX */
.mm__feats { display: grid; grid-template-rows: 1fr 1fr; gap: .75rem; }
.mm__feat { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; padding: 1.375rem 1.5rem; border-radius: .875rem; overflow: hidden; isolation: isolate; color: #fff; background: var(--ink-3); min-height: 14rem; }
.mm__feat-bg { position: absolute; inset: 0; z-index: -1; }
.mm__feat-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.2s var(--ease); }
.mm__feat-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 20, 24, .25) 0%, rgba(11, 20, 24, .88) 78%); }
.mm__feat:hover .mm__feat-bg img { transform: none; }
.mm__feat-top { display: flex; align-items: center; gap: .625rem; }
.mm__feat-eyebrow { font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--red-light); }
.mm__feat-body { display: flex; flex-direction: column; align-items: flex-start; gap: .375rem; }
.mm__feat-t { font-size: 1.5rem; font-weight: 600; letter-spacing: -.025em; line-height: 1.1; }
.mm__feat-d { font-size: .875rem; line-height: 1.5; color: rgba(255, 255, 255, .85); max-width: 26em; }
.mm__feat-go { margin-top: .5rem; display: inline-flex; align-items: center; gap: .5rem; padding: .625rem 1rem; border-radius: 999px; background: var(--red-btn); color: #fff;
  font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.mm__feat-go svg { width: .9375rem; height: .9375rem; transition: transform .4s var(--ease); }
.mm__feat:hover .mm__feat-go svg { transform: translateX(.25rem); }
/* RiverX in RiverX's colours: Answer Green #16C266, ink #0E1B20 */
.mm__feat--riverx { background: #16C266; color: #0E1B20; }
.mm__feat--riverx .mm__feat-bg { background: #16C266; }
.mm__feat--riverx .mm__feat-bg img { mix-blend-mode: multiply; filter: grayscale(1) contrast(1.1); opacity: .55; }
.mm__feat--riverx .mm__feat-bg::after { background: linear-gradient(180deg, rgba(22, 194, 102, .15) 0%, rgba(22, 194, 102, .92) 70%); }
.mm__feat--riverx .mm__feat-logo { height: 1.75rem; width: auto; }
.mm__feat--riverx .mm__badge { background: rgba(14, 27, 32, .16); color: #0E1B20; border-color: rgba(14, 27, 32, .3); }
.mm__feat--riverx .mm__feat-d { color: rgba(14, 27, 32, .85); }
.mm__feat--riverx .mm__feat-go { background: #fff; color: #087236; }
@media (max-width: 1400px) { .mm { grid-template-columns: minmax(0, 3fr) minmax(0, 7fr) minmax(0, 3.4fr); } .mm__name { font-size: .9062rem; } .mm__item { gap: .625rem; } .mm__icon { width: 2.25rem; height: 2.25rem; } }
.mm { grid-template-columns: minmax(0, 2.8fr) minmax(0, 8.4fr) minmax(0, 3.3fr); }
.mm__grid .mm__arrow { display: none; }
.mm__grid .mm__name { white-space: nowrap; }
@media (max-width: 1400px) { .mm { grid-template-columns: minmax(0, 2.6fr) minmax(0, 8.6fr) minmax(0, 3.3fr); } .mm__grid .mm__name { font-size: .875rem; } }
.mm { grid-template-columns: minmax(0, 3.3fr) minmax(0, 8fr) minmax(0, 3.3fr); }
.mm__list { padding-bottom: .25rem; }
.mm__grid { flex: 1; grid-auto-rows: 1fr; align-content: stretch; }
.mm__grid li { display: flex; }
.mm__grid .mm__item { flex: 1; }
@media (max-width: 1400px) { .mm { grid-template-columns: minmax(0, 3fr) minmax(0, 8.4fr) minmax(0, 3.3fr); } }


/* breadcrumbs removed site-wide (Matt, Industry email): the header keeps a little air under the black bar */
.ph { padding-top: calc(var(--nav-h) + clamp(1.5rem, 2.6vw, 2.5rem)); }

/* ---- Expertise (Matt, "Mantera - Our Expertise"): four full-screen steps pinned while you scroll ---- */
.xs { position: relative; height: calc(var(--n) * 100vh); height: calc(var(--n) * 100svh); background: #000; color: #fff; }
.xs__mark { position: absolute; left: 0; top: calc(var(--i) * 100vh); top: calc(var(--i) * 100svh); height: 1px; width: 1px; scroll-margin-top: 0; }
.xs__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.xs__layer { position: absolute; inset: 0; clip-path: inset(calc((1 - var(--k, 0)) * 100%) 0 0 0); }
.xs__layer:first-of-type { --k: 1; }
.xs__pic { position: absolute; inset: 0; margin: 0; overflow: hidden; }
.xs__pic img { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.28 - var(--k, 0) * .28 + var(--o, 0) * .08)); transform-origin: 50% 60%; will-change: transform; }
.xs__pic::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .82) 0%, rgba(0, 0, 0, .55) 45%, rgba(0, 0, 0, .1) 100%), linear-gradient(0deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, 0) 45%);
  opacity: calc(1 + var(--o, 0) * .4); }
.xs__layer::after { content: ""; position: absolute; inset: 0; background: #000; opacity: calc(var(--o, 0) * .6); pointer-events: none; }
.xs__text { position: absolute; left: 0; right: 0; bottom: clamp(3rem, 9vh, 6rem); display: grid; gap: 1rem; max-width: 100rem; }
.xs__text > * { max-width: 40rem; opacity: 0; transform: translateY(2.25rem); transition: opacity .7s var(--ease), transform 1s var(--ease); }
.xs__layer.is-on .xs__text > * { opacity: 1; transform: none; }
.xs__layer.is-on .xs__text > :nth-child(2) { transition-delay: .06s; } .xs__layer.is-on .xs__text > :nth-child(3) { transition-delay: .12s; } .xs__layer.is-on .xs__text > :nth-child(4) { transition-delay: .18s; }
.xs__n { font-size: .875rem; font-weight: 600; letter-spacing: .1em; color: var(--red-light); }
.xs__n i { font-style: normal; color: rgba(255, 255, 255, .55); margin-left: .25rem; }
.xs__h { margin: 0; font-size: clamp(2.75rem, 6.4vw, 6.5rem); line-height: .98; letter-spacing: -.045em; font-weight: 600; max-width: 12em !important; }
.xs__lead { margin: 0; font-size: clamp(1.1875rem, 1.6vw, 1.5rem); line-height: 1.4; font-weight: 500; color: #fff; }
.xs__p { margin: 0; font-size: clamp(.9688rem, 1.08vw, 1.0625rem); line-height: 1.72; color: rgba(255, 255, 255, .86); }
.xs__dots { position: absolute; right: var(--pad); top: 50%; translate: 0 -50%; z-index: 3; display: grid; gap: .25rem; }
.xs__dot { display: flex; align-items: center; justify-content: flex-end; gap: .75rem; padding: .5rem 0; color: rgba(255, 255, 255, .55); font-size: .875rem; font-weight: 500; transition: color .3s; }
.xs__dot b { order: 2; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); font-size: .75rem; font-weight: 600; transition: background-color .3s, border-color .3s; }
.xs__dot span { opacity: 0; transform: translateX(.5rem); transition: opacity .3s, transform .4s var(--ease); }
.xs__dot.is-on, .xs__dot:hover { color: #fff; }
.xs__dot.is-on b { background: var(--red-btn); border-color: var(--red-btn); }
.xs__dot.is-on span, .xs__dot:hover span { opacity: 1; transform: none; }
.xs__prog { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .12); z-index: 3; }
.xs__prog b { display: block; height: 100%; width: 100%; background: var(--red-btn); transform: scaleX(var(--p, 0)); transform-origin: left; }
@media (max-width: 860px) {
  .xs__dots { top: auto; bottom: 1.25rem; right: auto; left: var(--pad); translate: none; grid-auto-flow: column; gap: .5rem; }
  .xs__dot span { display: none; }
  .xs__dot b { width: 2rem; height: 2rem; }
  .xs__text { bottom: 4.5rem; gap: .75rem; }
  .xs__pic::after { background: linear-gradient(0deg, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .6) 55%, rgba(0, 0, 0, .25) 100%); }
  .xs__p { font-size: .9375rem; line-height: 1.6; }
}
@media (max-width: 860px) and (max-height: 760px) { .xs__p { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; } }
/* no JS / reduced motion: four stacked full-height sections */
.xs:not(.is-js) { height: auto; }
.xs:not(.is-js) .xs__stage { position: static; height: auto; overflow: visible; }
.xs:not(.is-js) .xs__layer { position: relative; min-height: 100vh; min-height: 100svh; clip-path: none; }
.xs:not(.is-js) .xs__pic img { transform: none; }
.xs:not(.is-js) .xs__text > * { opacity: 1; transform: none; }
.xs:not(.is-js) .xs__dots, .xs:not(.is-js) .xs__prog, .xs:not(.is-js) .xs__mark { display: none; }
.xs:not(.is-js) .xs__layer::after { display: none; }

/* #12 footer: less empty space above and below the logo / phone / email row */
.foot__inner { padding-top: clamp(1.75rem, 2.6vw, 2.5rem); }
.foot__cta { padding-bottom: clamp(1.5rem, 2.2vw, 2rem); }
/* #7 the heading now stands alone over the three points */
.values-home--pics .values-home__title { margin-bottom: clamp(1.5rem, 2.4vw, 2.25rem); }


/* phones: the process section is one column (the list was squeezed into the first of two columns) */
@media (max-width: 900px) { .rf, .rf--4 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 900px) { .rf--4 .rf__panel p, .rf--4 .rf__more { margin-left: 4rem; } }

/* Healthcare header: the photo is portrait, so the 16:9 header keeps her face and stethoscope (the tile shows face and hands) */
.ph__photo img[src*="industry/healthcare"] { object-position: 50% 0%; }

/* ============================================================
   Round 25 (2026-11-30, Matt: menu tags, no eyebrow, red buttons)
   ============================================================ */
/* tags on the left photo: Matt's 4-6 per service, small enough to sit in two or three even rows */
.mm__tags { gap: .3125rem; }
.mm__tags span { font-size: .6875rem; padding: .25rem .5625rem; white-space: nowrap; }
.mm__body { gap: .5rem; padding: 1.5rem; }
/* bottom bar: phone number and Let's talk as two solid red buttons */
.mm__foot { justify-content: flex-start; gap: .625rem; }
.mm__foot .btn { flex: none; }
.mm__phone { gap: .5rem; padding-left: 1.25rem; }
.mm__phone svg { width: 1rem; height: 1rem; flex: none; }

/* the left photo is wide enough for Matt's tags to sit in even rows; narrower screens put the service list in two columns */
.mm { grid-template-columns: minmax(19.5rem, 3.3fr) minmax(0, 8fr) minmax(0, 3.3fr); }
.mm__body { padding-inline: 1.375rem; }
@media (max-width: 1360px) {
  .mm { grid-template-columns: minmax(19.5rem, 3fr) minmax(0, 6.6fr) minmax(0, 3.6fr); }
  .mm__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
