/* PrimeProof design system: ConsoleV-matched tokens, type, panels, motion */

:root {
  --bg: #ffffff;
  --ink: #121210;
  --cream: #f4f1ea;
  --nav-ink: #3a3934;
  --muted: #6e6b64;
  --soft: #f7f5f0;
  --dark: #0f0f0e;
  --dark-card: #1a1a18;
  --hero: #2b2824;
  --green: #1c2a21;
  --green-2: #2d3a33;
  --accent: #cfddb8;
  --meter: #dfe3cf;
  --rule: rgba(18, 18, 16, .12);
  --rule-strong: rgba(18, 18, 16, .2);
  --rule-dark: rgba(244, 241, 234, .14);
  --logo: rgba(18, 18, 16, .42);

  --max: 1200px;
  --gutter: 32px;
  --panel-inset: 12px;
  --panel-radius: 32px;
  --card-radius: 24px;
  --section-y: 120px;

  --font-display: "Inter Display", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;

  --spring: cubic-bezier(.22, 1, .36, 1);
  --ease-loop: cubic-bezier(.45, 0, .55, 1);

  /* legacy aliases used in inline styles */
  --pp-ink: var(--ink);
  --pp-muted: var(--muted);
  --pp-cream: var(--bg);
  --pp-paper: var(--soft);
  --pp-rule: var(--rule);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body.nav-open { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }
a:hover { color: inherit; }

p { margin: 0 0 1em; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

::selection { background: var(--accent); color: var(--ink); }

/* ---------- Type ---------- */

h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 32;
  color: inherit;
  margin: 0;
}

h1 {
  font-weight: 300;
  font-size: clamp(3.1rem, 6.1vw, 5.5rem);
  line-height: .96;
  letter-spacing: -0.045em;
}

h2 {
  font-weight: 300;
  font-size: clamp(2.35rem, 4vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

h3 {
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 em, h2 em, h3 em, .serif-em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  font-variation-settings: normal;
}

.lead, .lede {
  font-weight: 400;
  font-size: 1.125rem;
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: var(--muted);
  max-width: 40em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
}
.eyebrow.dot::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.n, .num-serif {
  font-family: var(--font-serif);
  font-style: italic;
}

.color-block { display: none; }

/* ---------- Layout ---------- */

.shell, .site-shell {
  width: min(var(--max), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.section { padding: var(--section-y) 0; }
.section-tight { padding: 72px 0; }

.panel {
  position: relative;
  margin: 0 var(--panel-inset);
  border-radius: var(--panel-radius);
  padding: var(--section-y) 0;
  overflow: hidden;
  isolation: isolate;
}
.panel-dark { background: var(--dark); color: var(--cream); }
.panel-soft { background: var(--soft); }
.panel-green { background: var(--green); color: var(--cream); }
.panel-cta { background: var(--green-2); color: var(--cream); }

.on-dark, .panel-dark, .panel-green, .panel-cta, .hero, .band-ink, .story-cta, .site-footer {
  --rule: var(--rule-dark);
}
.panel-dark .eyebrow, .panel-green .eyebrow, .band-ink .eyebrow, .story-cta .eyebrow { color: var(--accent); }
.panel-dark .lead, .panel-green .lead, .panel-cta .lead, .band-ink .lead, .story-cta p { color: rgba(244, 241, 234, .66); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
  gap: 48px;
  align-items: end;
  margin-bottom: 64px;
}
.section-head .eyebrow { margin-bottom: 28px; }
.section-head h2 { max-width: 13em; }
.section-head .lead { margin: 0; font-size: 15px; line-height: 1.6; }
.section-head.center {
  display: block;
  text-align: center;
}
.section-head.center h2 { margin-inline: auto; max-width: 16em; text-wrap: balance; }
.section-head.center .lead { margin: 24px auto 0; max-width: 34em; font-size: 1.125rem; }
.section-head .head-action { justify-self: end; }

.offset-intro {
  display: grid;
  grid-template-columns: 308px minmax(0, 1fr);
}
.offset-intro .eyebrow { align-self: start; padding-top: 6px; }
.offset-intro h2 { max-width: 12.5em; }
.offset-intro .lead { margin: 40px 0 0; max-width: 34em; }

/* ---------- Buttons ---------- */

.button, .contactform button, .newsletter-form button {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-dot: var(--ink);
  --btn-border: var(--rule-strong);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px 0 22px;
  border-radius: 100px;
  border: 1px solid var(--btn-border);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .5s var(--spring), color .5s var(--spring), border-color .5s var(--spring), transform .5s var(--spring);
}
.button::before, .contactform button::before, .newsletter-form button::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--btn-dot);
  transition: transform .5s var(--spring);
}
.button:hover, .contactform button:hover, .newsletter-form button:hover {
  color: var(--btn-fg);
  background: var(--btn-bg-hover, rgba(18, 18, 16, .05));
}
.button:hover::before, .contactform button:hover::before, .newsletter-form button:hover::before { transform: scale(1.35); }
.button:active { transform: scale(.98); }

.button.solid, .contactform button, .newsletter-form button {
  --btn-bg: var(--ink);
  --btn-fg: var(--cream);
  --btn-dot: var(--accent);
  --btn-border: var(--ink);
  --btn-bg-hover: #2a2925;
}
.button.light {
  --btn-bg: var(--cream);
  --btn-fg: var(--ink);
  --btn-dot: var(--ink);
  --btn-border: var(--cream);
  --btn-bg-hover: #ffffff;
}
.button.glass {
  --btn-bg: rgba(255, 255, 255, .14);
  --btn-fg: var(--cream);
  --btn-dot: var(--cream);
  --btn-border: transparent;
  --btn-bg-hover: rgba(255, 255, 255, .22);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.button.sm {
  height: 32px;
  padding: 0 14px;
  font-size: 13px;
}
.button.sm::before { display: none; }
.button.pill { height: 46px; }

/* dark contexts flip the defaults */
.on-dark .button:not(.light):not(.glass):not(.solid), .band-ink .button:not(.light):not(.glass):not(.solid), .story-cta .button:not(.light):not(.glass):not(.solid), .panel-dark .button:not(.light):not(.glass):not(.solid), .panel-green .button:not(.light):not(.glass):not(.solid), .panel-cta .button:not(.light):not(.glass):not(.solid) {
  --btn-bg: transparent;
  --btn-fg: var(--cream);
  --btn-dot: var(--cream);
  --btn-border: rgba(244, 241, 234, .28);
  --btn-bg-hover: rgba(244, 241, 234, .08);
}
.on-dark .button.solid, .band-ink .button.solid, .story-cta .button.solid, .panel-dark .button.solid, .panel-green .button.solid, .panel-cta .button.solid {
  --btn-bg: var(--cream);
  --btn-fg: var(--ink);
  --btn-dot: var(--ink);
  --btn-border: var(--cream);
  --btn-bg-hover: #ffffff;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  padding-bottom: 2px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .6s var(--spring);
}
.text-link::after { content: "→"; transition: transform .5s var(--spring); }
.text-link:hover { background-size: 0 1px; background-position: 100% 100%; }
.text-link:hover::after { transform: translateX(3px); }

.button-row .text-link {
  gap: 10px;
  height: 52px;
  padding: 0 26px 0 22px;
  border-radius: 100px;
  border: 1px solid var(--rule-strong);
  background: transparent;
  transition: background-color .5s var(--spring);
}
.button-row .text-link::after { display: none; }
.button-row .text-link::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  transition: transform .5s var(--spring);
}
.button-row .text-link:hover { background: rgba(18, 18, 16, .05); }
.button-row .text-link:hover::before { transform: scale(1.35); }
.band-ink .button-row .text-link, .story-cta .button-row .text-link { border-color: rgba(244, 241, 234, .28); }
.band-ink .button-row .text-link:hover, .story-cta .button-row .text-link:hover { background: rgba(244, 241, 234, .08); }

/* ---------- Nav ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 76px;
  padding: 0 32px;
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  color: var(--ink);
}
.brand-logo {
  display: block;
  width: auto;
  height: 28px;
  fill: currentColor;
}
.brand-logo .logo-plate { fill: #ffffff; }
.brand-mark { width: 22px; height: 16px; flex: 0 0 auto; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav a {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--nav-ink);
  transition: color .3s ease;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--spring);
}
.site-nav a:hover { color: var(--ink); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav a[aria-current="page"] { color: var(--ink); }
.site-nav .nav-cta-mobile { display: none; }
.site-nav .nav-login { display: none; }

.topbar-cta { justify-self: end; display: flex; align-items: center; gap: 10px; }

.client-login {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--nav-ink);
  white-space: nowrap;
}
.client-login:hover { color: var(--ink); }

.nav-toggle {
  display: none;
  height: 40px;
  padding: 0 16px;
  border-radius: 100px;
  border: 1px solid var(--rule-strong);
  background: transparent;
  font: 500 14px/1 var(--font-body);
  color: var(--ink);
}

/* ---------- Media stand-ins (swap for photography) ---------- */

.media {
  position: relative;
  overflow: hidden;
  background: #3a352f;
}
.media-img {
  position: absolute;
  inset: 0;
  transition: transform .9s var(--spring);
  background-size: cover;
  background-position: center;
}
.media-img::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .22;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5  0 0 0 0 .5  0 0 0 0 .5  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
a:hover .media-img, .media:hover .media-img { transform: scale(1.06); }

.m-room .media-img {
  background:
    radial-gradient(60% 70% at 72% 30%, rgba(214, 170, 120, .55), transparent 60%),
    radial-gradient(40% 50% at 30% 60%, rgba(120, 96, 70, .5), transparent 70%),
    linear-gradient(100deg, rgba(255, 236, 205, .0) 30%, rgba(255, 236, 205, .14) 34%, rgba(255, 236, 205, 0) 40%),
    linear-gradient(180deg, #4b4238 0%, #2f2a24 55%, #1d1a16 100%);
}
.m-wall .media-img {
  background:
    linear-gradient(118deg, transparent 18%, rgba(255, 255, 255, .55) 22%, rgba(255, 255, 255, .55) 30%, transparent 34%, transparent 44%, rgba(255, 255, 255, .45) 48%, rgba(255, 255, 255, .45) 56%, transparent 60%),
    radial-gradient(80% 60% at 70% 20%, #e9e7e2, transparent 70%),
    linear-gradient(180deg, #d7d4ce, #b9b5ad);
  filter: blur(.6px);
}
.m-floor .media-img {
  background:
    repeating-linear-gradient(90deg, transparent 0 46px, rgba(255, 220, 160, .08) 46px 50px),
    radial-gradient(30% 40% at 30% 18%, rgba(255, 228, 180, .8), transparent 60%),
    radial-gradient(30% 40% at 70% 22%, rgba(255, 228, 180, .55), transparent 60%),
    linear-gradient(180deg, #6b5a46 0%, #3b3128 45%, #231e19 100%);
}
.m-steel .media-img {
  background:
    repeating-linear-gradient(100deg, transparent 0 60px, rgba(255, 255, 255, .06) 60px 64px),
    radial-gradient(50% 30% at 50% 6%, rgba(220, 232, 240, .7), transparent 70%),
    linear-gradient(180deg, #5d6670 0%, #39404a 50%, #1f242a 100%);
}
.m-studio .media-img {
  background:
    radial-gradient(42% 22% at 50% 44%, rgba(246, 242, 232, .55), transparent 72%),
    linear-gradient(180deg, transparent 56%, rgba(138, 95, 59, .85) 68%, #5e4029 100%),
    repeating-linear-gradient(90deg, transparent 0 34px, rgba(0, 0, 0, .18) 34px 52px),
    linear-gradient(90deg, #121a2c, #23304f 50%, #121a2c);
}
.m-forest .media-img {
  background:
    radial-gradient(30% 60% at 80% 20%, rgba(110, 130, 112, .45), transparent 70%),
    repeating-linear-gradient(90deg, transparent 0 90px, rgba(10, 18, 13, .35) 90px 130px),
    linear-gradient(180deg, #33453a 0%, #1c2a21 70%, #142019 100%);
}
.m-forest .media-img, .m-sky .media-img { inset: -40px; filter: blur(16px); }
.m-sky .media-img {
  background:
    radial-gradient(70% 40% at 50% 10%, rgba(200, 205, 205, .35), transparent 70%),
    linear-gradient(180deg, #4a5153 0%, #3d4545 38%, transparent 62%),
    linear-gradient(176deg, transparent 58%, #34452f 60%, #283622 78%, #1c271a 100%),
    #3a4440;
}
/* ---------- Hero (home) ---------- */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: min(820px, calc(100svh - 92px));
  min-height: max(640px, min(820px, calc(100svh - 92px)));
  margin: 8px var(--panel-inset) 0;
  padding: 36px 44px 32px;
  border-radius: var(--panel-radius);
  overflow: hidden;
  isolation: isolate;
  background: var(--hero);
  color: var(--cream);
}
.hero > .media {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: transparent;
}
.hero > .media .media-img { transform: scale(1); }
.hero > .media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 18, 15, .62) 0%, rgba(20, 18, 15, .25) 55%, rgba(20, 18, 15, .1) 100%),
    linear-gradient(0deg, rgba(20, 18, 15, .55) 0%, transparent 40%);
}

.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.glass-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 16px 0 14px;
  border-radius: 100px;
  border: 1px solid rgba(244, 241, 234, .22);
  background: rgba(244, 241, 234, .1);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cream);
}
.glass-pill::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.glass-pill.ink {
  color: var(--ink);
  background: rgba(244, 241, 234, .88);
  border-color: transparent;
}
.hero-loc {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, .72);
}

.hero-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
  align-items: end;
  margin-top: auto;
  padding: 72px 0 72px;
}
.hero h1 { max-width: 11.6em; color: var(--cream); text-wrap: balance; }
.hero .hero-copy {
  max-width: 30em;
  margin: 26px 0 0;
  font-size: 1.125rem;
  line-height: 1.55;
  color: rgba(244, 241, 234, .82);
}
.hero .button-row { margin-top: 30px; }

.glass-card {
  padding: 22px;
  border-radius: var(--card-radius);
  border: 1px solid rgba(244, 241, 234, .22);
  background: rgba(244, 241, 234, .12);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  color: var(--cream);
}
.glass-card-head {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.glass-card-head span:last-child { color: rgba(244, 241, 234, .5); }
.glass-card h3 { margin: 16px 0 20px; font-size: 1.25rem; letter-spacing: -0.015em; }
.meter { margin-top: 14px; font-size: 13px; color: rgba(244, 241, 234, .82); }
.meter-track {
  height: 3px;
  margin-top: 8px;
  border-radius: 3px;
  background: rgba(244, 241, 234, .18);
  overflow: hidden;
}
.meter-fill {
  display: block;
  height: 100%;
  width: var(--v, 50%);
  border-radius: inherit;
  background: var(--meter);
  transform-origin: left;
}

.hero-foot {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(244, 241, 234, .18);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, .72);
}

/* ---------- Ticker ---------- */

.ticker-label {
  margin: 96px 0 30px;
  text-align: center;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--nav-ink);
}
.ticker {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 48s linear infinite;
}
.ticker ul {
  display: flex;
  align-items: center;
  gap: 64px;
  margin: 0;
  padding: 0 32px;
  list-style: none;
  color: var(--logo);
  white-space: nowrap;
}
.ticker li { font-size: 27px; line-height: 1; letter-spacing: -0.02em; }
.ticker .t-serif { font-family: var(--font-serif); font-style: italic; }
.ticker .t-serif-up { font-family: var(--font-serif); }
.ticker .t-wide { font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: 22px; }
.ticker .t-light { font-family: var(--font-display); font-weight: 300; }
.ticker .t-bold { font-weight: 700; letter-spacing: -0.01em; text-transform: uppercase; font-size: 23px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr));
  gap: 16px;
}
.cv-card {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 28px;
  border-radius: var(--card-radius);
  background: var(--dark-card);
}
.cv-card .card-n {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 44px;
  line-height: 1;
  opacity: .5;
}
.cv-card .card-n::after, .process-steps .n::after {
  content: "";
  display: inline-block;
  width: 20px;
  height: 1px;
  margin-left: 12px;
  vertical-align: .3em;
  background: currentColor;
}
.card-grid.cols-5 { --cols: 5; }
.cv-card h3 { margin-top: auto; padding-top: 40px; }
.cv-card p { margin: 14px 0 0; font-size: 15px; line-height: 1.55; color: rgba(244, 241, 234, .58); }
.card-light {
  background: var(--soft);
  border: 1px solid rgba(18, 18, 16, .08);
}
.card-light p { color: var(--muted); }
.card-ink { background: var(--ink); color: var(--cream); }
.card-ink p { color: rgba(244, 241, 234, .62); }

/* ---------- Split / portrait ---------- */

.split-portrait {
  display: grid;
  grid-template-columns: 556fr 644fr;
  gap: 88px;
  align-items: center;
}
.oval {
  position: relative;
  aspect-ratio: 556 / 640;
  border-radius: 999px;
}
.oval .glass-pill.ink {
  position: absolute;
  left: 50%;
  bottom: 8%;
  transform: translateX(-50%);
  flex-direction: column;
  gap: 2px;
  height: auto;
  padding: 12px 22px;
  letter-spacing: 0;
  text-transform: none;
  font-size: 14px;
  text-align: center;
}
.oval .glass-pill.ink::before { display: none; }
.oval .glass-pill.ink small { font-size: 12.5px; color: var(--muted); font-weight: 400; }
.split-portrait .eyebrow { margin-bottom: 28px; }
.split-portrait .lead { margin: 28px 0 0; }

.pull {
  margin: 28px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--rule);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 25px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

/* ---------- Service rows ---------- */

.rows { border-bottom: 1px solid var(--rule); }
.svc-row {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) 350px auto;
  gap: 24px;
  align-items: center;
  padding: 34px 20px;
  border-top: 1px solid var(--rule);
  transition: background-color .5s var(--spring);
}
.row-n { font-size: 11px; letter-spacing: .12em; color: var(--muted); }
.svc-row h3 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  transition: transform .6s var(--spring);
}
.svc-row p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.svc-row:hover { background: rgba(18, 18, 16, .025); }
.svc-row:hover h3 { transform: translateX(8px); }
.svc-row:hover .button.sm { --btn-bg: var(--ink); --btn-fg: var(--cream); --btn-border: var(--ink); }

/* ---------- Framework ---------- */

.framework {
  display: grid;
  grid-template-columns: 410px minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}
.framework-head { position: sticky; top: 140px; }
.framework-head .eyebrow { margin-bottom: 28px; }
.framework-head .lead { margin: 28px 0 0; font-size: 15px; }
.framework .card-grid { --cols: 2; gap: 14px; }

/* ---------- Case cards ---------- */

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.case-card { display: block; }
.case-card .media {
  aspect-ratio: 387 / 460;
  border-radius: var(--card-radius);
}
.case-card .glass-pill {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  height: 28px;
  padding: 0 12px 0 11px;
  font-size: 10px;
  color: var(--ink);
  background: rgba(244, 241, 234, .82);
  border-color: transparent;
}
.case-meta {
  display: block;
  margin: 22px 4px 0;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.case-card h3 { margin: 10px 4px 0; font-size: 1.375rem; }
.case-card p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 12px 4px 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- How we work ---------- */

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.how-grid article { padding-top: 26px; border-top: 1px solid var(--rule-strong); }
.how-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10.5px;
  letter-spacing: .12em;
  color: var(--muted);
}
.how-top .brand-mark { color: var(--ink); overflow: visible; }
.how-top .brand-mark circle { animation: ring-l 3.5s var(--ease-loop) infinite alternate; }
.how-top .brand-mark rect { animation: ring-r 3.5s var(--ease-loop) infinite alternate; }
.how-grid article:nth-child(2) .brand-mark * { animation-delay: .6s; }
.how-grid article:nth-child(3) .brand-mark * { animation-delay: 1.2s; }
@keyframes ring-l { from { transform: translateX(0); } to { transform: translateX(3px); } }
@keyframes ring-r { from { transform: translateX(0); } to { transform: translateX(-3px); } }
.how-grid h3 { margin: 22px 0 0; font-size: 1.375rem; }
.how-grid p { margin: 16px 0 0; font-size: 15px; line-height: 1.6; color: var(--muted); }

/* ---------- Quotes (green panel) ---------- */

.panel > .media {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.panel > .media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 16, 12, .25), rgba(10, 16, 12, .45));
}
.quote-grid {
  display: grid;
  grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
  gap: 16px;
}
.quote-card {
  display: flex;
  flex-direction: column;
  min-height: 296px;
  padding: 32px;
  border-radius: var(--card-radius);
  border: 1px solid rgba(244, 241, 234, .12);
  background: rgba(244, 241, 234, .07);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}
.quote-card blockquote {
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 25px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.quote-card footer { margin-top: auto; padding-top: 28px; font-size: 14px; }
.quote-card footer span { display: block; color: rgba(244, 241, 234, .55); font-size: 13px; }

/* ---------- FAQ ---------- */

.faq {
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  gap: 88px;
  align-items: start;
}
.faq-head .eyebrow { margin-bottom: 28px; }
.faq-head .button-row { margin-top: 28px; }
.faq-pill {
  aspect-ratio: 420 / 240;
  margin-top: 16px;
  border-radius: 200px;
}
.faq-list { border-bottom: 1px solid var(--rule); }
.faq-item { border-top: 1px solid var(--rule); }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  width: 100%;
  padding: 26px 0;
  border: 0;
  background: none;
  color: var(--ink);
  text-align: left;
  font-family: var(--font-display);
  font-variation-settings: "opsz" 32;
  font-size: 21px;
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.3;
  cursor: pointer;
}
.faq-plus {
  position: relative;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--rule-strong);
  transition: background-color .5s var(--spring), transform .55s var(--spring);
}
.faq-plus::before, .faq-plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.5px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform .55s var(--spring);
}
.faq-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-q:hover .faq-plus { background: rgba(18, 18, 16, .05); }
.faq-item.is-open .faq-plus { transform: rotate(45deg); }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .55s var(--spring);
}
.faq-a > div { overflow: hidden; }
.faq-a p { margin: 0; padding: 0 64px 28px 0; font-size: 16px; line-height: 1.6; color: var(--muted); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }

/* ---------- CTA panel ---------- */

.cta-panel {
  display: flex;
  align-items: center;
  min-height: 680px;
  padding: 80px 32px;
  text-align: center;
}
.cta-panel .shell { display: flex; flex-direction: column; align-items: center; }
.cta-panel h2 { max-width: 12em; margin-top: 30px; color: var(--cream); text-wrap: balance; }
.cta-panel .lead { margin: 26px auto 0; max-width: 34em; color: rgba(244, 241, 234, .78); }
.cta-panel .button-row { justify-content: center; }
.cta-panel > .media::after { background: linear-gradient(180deg, rgba(14, 18, 16, .2), rgba(14, 18, 16, .5)); }

/* ---------- Newsletter ---------- */

.newsletter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 80px;
  align-items: start;
}
.newsletter h2, .newsletter h3 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.75rem, 2.6vw, 2.25rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.newsletter .eyebrow { margin-bottom: 18px; }
.newsletter p { margin: 16px 0 0; color: var(--muted); max-width: 26em; }
.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 38px;
}
.newsletter-form input[type="email"] {
  flex: 1 1 220px;
  height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 100px;
  background: var(--soft);
  color: var(--ink);
  font: 400 15px var(--font-body);
  outline: none;
  transition: border-color .3s ease;
}
.newsletter-form input[type="email"]:focus { border-color: var(--rule-strong); }
.newsletter-form .form-fine { flex-basis: 100%; margin: 10px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--muted); }

.pp-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 18px;
  width: max-content;
  max-width: calc(100% - 32px);
  padding: 14px 14px 14px 20px;
  border-radius: 100px;
  background: var(--ink);
  color: var(--cream);
  box-shadow: 0 16px 40px rgba(18, 18, 16, .22);
  transform: translateX(-50%) translateY(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease, transform .45s var(--spring);
}
.pp-toast.is-on {
  opacity: 1;
  transform: translateX(-50%);
  pointer-events: auto;
}
.pp-toast p { margin: 0; font-size: 14px; line-height: 1.4; }
.pp-toast button {
  flex: 0 0 auto;
  height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: 100px;
  background: rgba(244, 241, 234, .14);
  color: inherit;
  font: 500 13px/1 var(--font-body);
  cursor: pointer;
}
.pp-toast.is-error { background: #6d3030; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Footer ---------- */

.site-footer {
  margin: 0 var(--panel-inset) var(--panel-inset);
  padding: 80px 0 28px;
  border-radius: var(--panel-radius);
  background: var(--dark);
  color: var(--cream);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}
.footer-brand .brand-lockup { color: var(--cream); }
.footer-brand .brand-logo { height: 32px; }
.footer-brand .brand-logo .logo-plate { fill: var(--dark); }
.footer-brand p { margin: 18px 0 0; max-width: 17em; font-size: 15px; line-height: 1.6; color: rgba(244, 241, 234, .7); }
.footer-col h4 {
  margin: 0 0 18px;
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, .45);
}
.footer-col ul { margin: 0; padding: 0; list-style: none; }
.footer-col li + li { margin-top: 12px; }
.footer-col a, .footer-col li { font-size: 15px; color: rgba(244, 241, 234, .72); transition: color .3s ease; }
.footer-col a:hover, .footer-col a[aria-current="page"] { color: var(--cream); }
.footer-mark {
  display: none;
  align-items: flex-end;
  justify-content: center;
  margin-top: 64px;
}
.footer-mark span {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-variation-settings: "opsz" 32;
  font-weight: 300;
  font-size: min(14.4vw, 198px);
  line-height: .82;
  letter-spacing: -0.035em;
  color: var(--cream);
  text-transform: uppercase;
  white-space: nowrap;
  padding-bottom: clamp(6px, 1.1vw, 16px);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 36px;
  font-size: 14px;
  color: rgba(244, 241, 234, .45);
}
.footer-bottom p { margin: 0; }
.footer-bottom nav { display: flex; gap: 24px; }
.footer-bottom a:hover { color: var(--cream); }

/* ---------- Interior pages ---------- */

.breadcrumb { display: none; }

.page-hero { padding: 120px 0 72px; background: none; }
.page-hero .eyebrow { margin-bottom: 30px; }
.page-hero h1 { max-width: 11.4em; }
.page-hero .lead { margin: 34px 0 0; max-width: 35.5em; }
.page-hero .button-row { margin-top: 36px; }

.band { padding: 96px 0; background: none; }
.band-paper, .band-cream { background: none; }
.band + .band:not(.band-ink) { padding-top: 24px; }
.band-ink {
  margin: 24px var(--panel-inset);
  padding: var(--section-y) 0;
  border-radius: var(--panel-radius);
  background: var(--dark);
  color: var(--cream);
}
.band-ink h2 { max-width: 14em; }
.band .site-shell > .eyebrow, .band .site-shell > div > .eyebrow:first-child { display: flex; margin-bottom: 28px; }
.band .site-shell > h2 { max-width: 14em; }
.band .site-shell > h2 + .lead { margin-top: 28px; }
.band-ink + .band { padding-top: 96px !important; }

.split-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: 56px;
  align-items: end;
}
.split-intro .eyebrow { margin-bottom: 28px; }
.split-intro h2 { max-width: 13em; }
.split-intro .lead { font-size: 15px; line-height: 1.6; }

.prose > * { max-width: 720px; }
.prose p { font-size: 1.125rem; line-height: 1.65; color: var(--nav-ink); }
.prose p:first-child {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 32;
  font-weight: 300;
  font-size: clamp(1.5rem, 2.3vw, 2rem);
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 1.2em;
}
.prose h2 { margin: 1.6em 0 .6em; font-size: clamp(1.75rem, 2.6vw, 2.25rem); }
.prose h3 { margin: 1.6em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.2em; color: var(--nav-ink); font-size: 1.0625rem; }
.prose li + li { margin-top: .4em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote {
  margin: 2em 0;
  padding: 24px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.6rem;
  line-height: 1.25;
}

.split-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
.split-2 > div { padding: 36px; border-radius: var(--card-radius); border: 1px solid var(--rule); }
.split-2 .eyebrow { margin-bottom: 22px; }
.split-2 h2 { margin-bottom: 14px; font-size: 1.75rem !important; line-height: 1.15; letter-spacing: -0.025em; }
.callout { background: var(--soft); }

.compare-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 64px;
}
.compare-grid article { padding-top: 26px; border-top: 1px solid var(--rule-strong); }
.compare-grid h3 { font-size: 1.375rem; }
.compare-grid p { margin: 16px 0 0; font-size: 15px; color: var(--muted); }

.situation-list { list-style: none; border-bottom: 1px solid var(--rule); }
.situation-list li {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid var(--rule);
}
.situation-list .n { font-size: 26px; line-height: 1; opacity: .5; }
.situation-title {
  display: block;
  font-family: var(--font-display);
  font-variation-settings: "opsz" 32;
  font-weight: 400;
  font-size: 1.25rem;
  letter-spacing: -0.015em;
}
.situation-copy { display: block; margin-top: 6px; font-size: 15px; color: var(--muted); }

.service-index { border-bottom: 1px solid var(--rule); counter-reset: svc; }
.service-index a {
  counter-increment: svc;
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 34px 20px;
  border-top: 1px solid var(--rule);
  transition: background-color .5s var(--spring);
}
.service-index a::before {
  content: "(" counter(svc, decimal-leading-zero) ")";
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--muted);
}
.service-index a > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: center;
}
.service-index h3 {
  font-weight: 300;
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  transition: transform .6s var(--spring);
}
.service-index p { margin: 0; font-size: 15px; color: var(--muted); }
.service-index .go {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 14px;
  border-radius: 100px;
  border: 1px solid var(--rule-strong);
  font-size: 0;
  transition: background-color .5s var(--spring), color .5s var(--spring);
}
.service-index .go::after { content: "Explore"; font-size: 13px; font-weight: 500; }
.service-index a:hover { background: rgba(18, 18, 16, .025); }
.service-index a:hover h3 { transform: translateX(8px); }
.service-index a:hover .go { background: var(--ink); color: var(--cream); border-color: var(--ink); }

.industry-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.industry-row span {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 14px;
  border-radius: 100px;
  border: 1px solid var(--rule-strong);
  font-size: 13px;
  color: var(--nav-ink);
}

.question-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.question-strip p { margin: 0; padding: 28px; border-radius: var(--card-radius); background: var(--soft); font-family: var(--font-serif); font-style: italic; font-size: 25px; line-height: 1.25; }

.process-steps {
  display: grid;
  grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 48px 0 0;
}
.process-steps li {
  display: flex;
  flex-direction: column;
  min-height: 240px;
  padding: 28px;
  border-radius: var(--card-radius);
  border: 1px solid rgba(18, 18, 16, .08);
  background: var(--soft);
}
.process-steps .n { font-size: 40px; line-height: 1; opacity: .5; }
.process-steps strong {
  margin-top: auto;
  padding-top: 32px;
  font-family: var(--font-display);
  font-variation-settings: "opsz" 32;
  font-weight: 400;
  font-size: 1.375rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.process-steps li > span:last-child { margin-top: 10px; font-size: 15px; line-height: 1.55; color: var(--muted); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Work */
.project-row {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: center;
  width: min(var(--max), calc(100% - var(--gutter) * 2));
  margin: 0 auto;
  padding: 48px 0 96px;
}
.project-row .eyebrow { margin-bottom: 24px; color: var(--muted); }
.project-name {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.2rem, 3.6vw, 3.25rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}
.project-outcome { margin: 20px 0 0; font-size: 1.0625rem; color: var(--muted); max-width: 30em; }
.project-row .text-link { margin-top: 28px; }
.project-media-frame {
  position: relative;
  aspect-ratio: 4 / 3.4;
  border-radius: var(--card-radius);
  overflow: hidden;
  font-size: 0;
  background:
    radial-gradient(30% 40% at 30% 18%, rgba(255, 228, 180, .7), transparent 60%),
    radial-gradient(30% 40% at 70% 22%, rgba(255, 228, 180, .45), transparent 60%),
    linear-gradient(180deg, #6b5a46 0%, #3b3128 45%, #231e19 100%);
  transition: transform .9s var(--spring);
}
.project-row:hover .project-media-frame { transform: scale(.985); }
.meta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 32px 0 0; }
.meta-grid > div { padding-top: 16px; border-top: 1px solid var(--rule); }
.meta-grid dt { font-size: 10.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.meta-grid dd { margin: 8px 0 0; font-size: 15px; }

.work-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(240px, .7fr);
  gap: 72px;
  align-items: start;
}
.work-detail .prose h2:first-child { margin-top: 0; }
.work-meta { position: sticky; top: 108px; }
.work-meta .eyebrow { display: flex; margin-bottom: 8px; }
.work-meta dl { margin: 0; }
.work-meta dl > div { padding: 20px 0; border-top: 1px solid var(--rule); }
.work-meta dl > div:last-child { border-bottom: 1px solid var(--rule); }
.work-meta dt { font-size: 10.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.work-meta dd { margin: 8px 0 0; font-size: 16px; line-height: 1.45; }

/* Theories */
.theory-list { border-bottom: 1px solid var(--rule); counter-reset: th; }
.theory-item {
  counter-increment: th;
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: center;
  padding: 36px 20px;
  border-top: 1px solid var(--rule);
  transition: background-color .5s var(--spring);
}
.theory-item::before { content: "(" counter(th, decimal-leading-zero) ")"; font-size: 11px; letter-spacing: .12em; color: var(--muted); }
.theory-item h3 { font-weight: 300; font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1.1; letter-spacing: -0.03em; transition: transform .6s var(--spring); }
.theory-item p { margin: 0; font-size: 15px; color: var(--muted); }
.theory-item:hover { background: rgba(18, 18, 16, .025); }
.theory-item:hover h3 { transform: translateX(8px); }
#subscribe.newsletter { margin-top: 96px !important; padding-top: 72px; border-top: 1px solid var(--rule); }

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 88px;
  align-items: start;
}
.contact-layout .eyebrow { margin-bottom: 8px; }
.contactform {
  display: grid;
  gap: 8px;
  padding: 40px;
  border-radius: var(--card-radius);
  background: var(--soft);
  border: 1px solid rgba(18, 18, 16, .08);
}
.contactform label {
  margin-top: 14px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--nav-ink);
}
.contactform label:first-child { margin-top: 0; }
.contactform input, .contactform textarea, .contactform select {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--rule);
  border-radius: 16px;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.5 var(--font-body);
  outline: none;
  transition: border-color .3s ease, background-color .3s ease;
  -webkit-appearance: none;
  appearance: none;
}
.contactform input, .contactform select { height: 52px; border-radius: 100px; padding: 0 22px; }
.contactform select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' fill='none' stroke='%23121210' stroke-width='1.4'/></svg>");
  background-repeat: no-repeat;
  background-position: right 20px center;
}
.contactform input:focus, .contactform textarea:focus, .contactform select:focus { border-color: var(--rule-strong); background-color: #fff; }
.contactform button { justify-self: start; margin-top: 22px; }
.form-note { font-size: 13.5px; color: var(--muted); }
.form-note a { text-decoration: underline; text-underline-offset: 3px; }
.form-error {
  margin-bottom: 16px;
  padding: 16px 20px;
  border-radius: 16px;
  background: #f3e2dc;
  color: #6b2a1a;
  font-size: 14.5px;
}

/* ---------- Service editorial ---------- */

.service-story {
  width: min(var(--max), calc(100% - var(--gutter) * 2));
  margin: 0 auto;
  counter-reset: story;
}
.story-block { padding: 96px 0; border-top: 1px solid var(--rule); }
.story-kicker {
  display: inline-flex;
  margin-bottom: 28px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.story-block .story-kicker { counter-increment: story; }
.story-block .story-kicker::before { content: "(" counter(story, decimal-leading-zero) ")\00a0\00a0"; }
.story-block h2 { max-width: 13em; }
.story-lede { margin: 24px 0 0; font-size: 1.125rem; color: var(--muted); max-width: 36em; }
.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 88px;
  align-items: start;
}
.story-grid aside { position: sticky; top: 120px; }
.story-prose { margin-top: 32px; }
.story-prose p { font-size: 1.125rem; line-height: 1.65; color: var(--nav-ink); max-width: 36em; }
.story-grid .process-steps { --cols: 2; margin-top: 40px; }

.pull-quote {
  margin: 0;
  padding: 28px 0 0;
  border-top: 1px solid var(--rule-strong);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.6rem, 2.3vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.pull-quote cite {
  display: block;
  margin-top: 18px;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.data-rail { margin: 0; border-bottom: 1px solid var(--rule); }
.data-rail dt {
  padding-top: 18px;
  border-top: 1px solid var(--rule);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.data-rail dd {
  margin: 8px 0 0;
  padding-bottom: 18px;
  font-family: var(--font-display);
  font-variation-settings: "opsz" 32;
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.work-tease {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 56px;
}
.work-tease > a, .work-tease > article { display: block; }
.work-tease > a::before, .work-tease > article::before {
  content: "";
  display: block;
  aspect-ratio: 387 / 300;
  margin-bottom: 22px;
  border-radius: var(--card-radius);
  transition: transform .9s var(--spring);
  background:
    radial-gradient(30% 40% at 30% 18%, rgba(255, 228, 180, .75), transparent 60%),
    linear-gradient(180deg, #6b5a46 0%, #3b3128 45%, #231e19 100%);
}
.work-tease > :nth-child(2)::before {
  background:
    radial-gradient(50% 30% at 50% 6%, rgba(220, 232, 240, .7), transparent 70%),
    linear-gradient(180deg, #5d6670 0%, #39404a 50%, #1f242a 100%);
}
.work-tease > :nth-child(3)::before {
  background:
    linear-gradient(118deg, transparent 18%, rgba(255, 255, 255, .5) 22%, rgba(255, 255, 255, .5) 30%, transparent 34%),
    linear-gradient(180deg, #d7d4ce, #b9b5ad);
}
.work-tease > a:hover::before { transform: scale(.985); }
.work-tease h3 { margin: 10px 0 0; font-size: 1.375rem; }
.work-tease p { margin: 12px 0 0; font-size: 15px; color: var(--muted); }

.deliverable-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 48px;
  margin: 56px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: del;
}
.deliverable-list li {
  counter-increment: del;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  column-gap: 12px;
  padding: 26px 0;
  border-top: 1px solid var(--rule);
}
.deliverable-list li::before {
  content: counter(del, decimal-leading-zero);
  grid-row: span 2;
  padding-top: 4px;
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--muted);
}
.deliverable-list strong {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 32;
  font-weight: 400;
  font-size: 1.3rem;
  letter-spacing: -0.015em;
}
.deliverable-list span { margin-top: 6px; font-size: 15px; color: var(--muted); }

.story-cta {
  position: relative;
  margin: 24px calc(50% - 50vw + var(--panel-inset));
  padding: 120px 44px;
  border-radius: var(--panel-radius);
  background:
    radial-gradient(70% 40% at 50% 10%, rgba(200, 205, 205, .28), transparent 70%),
    linear-gradient(176deg, transparent 58%, #34452f 60%, #283622 78%, #1c271a 100%),
    var(--green-2);
  color: var(--cream);
  text-align: center;
}
.story-cta .story-kicker { justify-content: center; color: var(--accent); }
.story-cta h2 { margin: 0 auto; max-width: 13em; text-wrap: balance; }
.story-cta p { margin: 24px auto 0; max-width: 34em; font-size: 1.125rem; }
.story-cta .button-row { justify-content: center; }

/* ---------- Reveal motion ---------- */

.reveal, [data-rise], [data-blur] {
  transition:
    opacity 1.1s var(--spring) var(--d, 0s),
    transform 1.1s var(--spring) var(--d, 0s),
    filter 1.1s var(--spring) var(--d, 0s);
}
.js .reveal:not(.is-in) { opacity: 0; transform: translateY(40px); }
.js [data-rise]:not(.is-in) { opacity: 0; transform: translateY(var(--y, 30px)); }
.js [data-blur]:not(.is-in) { opacity: 0; transform: translateY(28px); filter: blur(10px); }

/* Hero entrance */
.js .hero > .media .media-img { transform: scale(1.12); opacity: 0; transition: transform 2.2s var(--spring), opacity 1.6s var(--spring); }
.js .hero [data-load] { opacity: 0; transform: translateY(var(--y, 30px)); transition: opacity 1.2s var(--spring) var(--d, 0s), transform 1.2s var(--spring) var(--d, 0s); }
.js .topbar[data-load] { opacity: 0; transform: translateY(-12px); transition: opacity 1.2s var(--spring) .1s, transform 1.2s var(--spring) .1s; }
.js .meter-fill { transform: scaleX(0); transition: transform 1.6s var(--spring) var(--d, 1.1s); }
.is-loaded .hero > .media .media-img { transform: scale(1); opacity: 1; }
.is-loaded .hero [data-load], .is-loaded .topbar[data-load] { opacity: 1; transform: none; }
.is-loaded .meter-fill { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal:not(.is-in), .js [data-rise]:not(.is-in), .js [data-blur]:not(.is-in) { opacity: 1; transform: none; filter: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  .card-grid.cols-5 { --cols: 3; }
  .framework { grid-template-columns: 340px minmax(0, 1fr); }
  .offset-intro { grid-template-columns: 200px minmax(0, 1fr); }
}

@media (max-width: 980px) {
  :root { --section-y: 96px; --gutter: 24px; }
  .topbar { grid-template-columns: 1fr auto; padding: 0 20px; height: 68px; }
  .brand-logo { height: 22px; }
  .nav-toggle { display: inline-flex; align-items: center; }
  .topbar-cta .button,
  .topbar-cta .client-login { display: none; }
  .site-nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    height: calc(100dvh - 68px);
    overflow-y: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 32px 24px;
    background: var(--bg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .4s var(--spring), transform .5s var(--spring), visibility 0s linear .4s;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .4s var(--spring), transform .5s var(--spring); }
  .site-nav a { font-family: var(--font-display); font-weight: 300; font-size: 40px; letter-spacing: -0.03em; color: var(--ink); }
  .site-nav a::after { display: none; }
  .site-nav .nav-login { display: block; margin-top: 18px; }
  .site-nav .nav-login a {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 16px;
    letter-spacing: -0.01em;
  }
  .site-nav .nav-cta-mobile { display: block; margin-top: 16px; }
  .site-nav .nav-cta-mobile .button { font-family: var(--font-body); font-size: 15px; font-weight: 500; letter-spacing: -0.01em; color: var(--cream); }

  .hero { padding: 24px 24px 24px; min-height: 0; }
  .hero-main { grid-template-columns: 1fr; padding: 96px 0 40px; }
  .hero-loc { display: none; }
  .glass-card { max-width: 360px; }

  .section-head, .split-intro, .offset-intro, .split-portrait, .framework, .faq, .newsletter, .story-grid, .contact-layout, .project-row { grid-template-columns: 1fr; gap: 40px; }
  .section-head .head-action { justify-self: start; }
  .offset-intro .lead { margin-top: 24px; }
  .framework-head, .story-grid aside { position: static; }
  .card-grid, .card-grid.cols-5 { --cols: 2; }
  .case-grid, .how-grid, .compare-grid, .work-tease { grid-template-columns: 1fr; gap: 40px; }
  .quote-grid { --cols: 1 !important; }
  .svc-row { grid-template-columns: 44px minmax(0, 1fr) auto; padding: 28px 8px; }
  .svc-row p { grid-column: 2 / 4; grid-row: 2; }
  .service-index a { grid-template-columns: 44px minmax(0, 1fr) auto; padding: 28px 8px; }
  .service-index a > div { grid-template-columns: 1fr; gap: 10px; }
  .theory-item { grid-template-columns: 44px minmax(0, 1fr); padding: 28px 8px; }
  .theory-item p { grid-column: 2; }
  .split-portrait .oval { max-width: 420px; }
  .faq-pill { max-width: 420px; }
  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .deliverable-list { grid-template-columns: 1fr; }
  .process-steps, .story-grid .process-steps { --cols: 2; }
  .question-strip { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --section-y: 80px; --gutter: 20px; --panel-inset: 8px; --panel-radius: 24px; }
  h1 { font-size: clamp(2.6rem, 11vw, 3.4rem); line-height: 1; }
  h2 { font-size: clamp(2.1rem, 9vw, 2.6rem); }
  .hero h1 { font-size: clamp(2.6rem, 11.5vw, 3.4rem); }
  .hero-foot { flex-direction: column; gap: 6px; }
  .glass-pill { font-size: 9.5px; letter-spacing: .12em; }
  .card-grid, .card-grid.cols-5, .framework .card-grid, .process-steps, .story-grid .process-steps { --cols: 1; }
  .cv-card { min-height: 240px; }
  .ticker li { font-size: 22px; }
  .ticker-label { margin-top: 72px; }
  .split-2, .meta-grid, .work-detail { grid-template-columns: 1fr; }
  .work-meta { position: static; }
  .split-2 > div { padding: 28px; }
  .button-row { flex-direction: column; align-items: stretch; }
  .button-row .button { width: 100%; }
  .button-row .text-link { align-self: flex-start; }
  .cta-panel { min-height: 560px; padding: 64px 20px; }
  .story-cta { padding: 80px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .contactform { padding: 24px; }
  .page-hero { padding: 72px 0 48px; }
  .story-block { padding: 72px 0; }
  .faq-a p { padding-right: 0; }
  .newsletter-form .button, .newsletter-form button { width: 100%; }
}
