:root {
  --navy: #1a1a1a;
  --blue: #377aff;
  --lime: #8dab7f;
  --mint: #f2f5f0;
  --paper: #f2f5f0;
  --soft-blue: #ebf1ff;
  --ink: #1a1a1a;
  --muted: #6b6b6b;
  --white: #fff;
  --line: #e5e5e2;
  --shadow: 0 16px 45px rgba(0, 0, 0, .07);
  --radius: 12px;
  --container: 1280px;
  --stage-1-bg: #e5edff;
  --stage-1-ink: #2455b8;
  --stage-2-bg: #e6efe2;
  --stage-2-ink: #456b39;
  --stage-3-bg: #f8e7d8;
  --stage-3-ink: #8b4b20;
  --stage-4-bg: #ece5f6;
  --stage-4-ink: #644593;
  --footer-overlap: 0px;
}

* { box-sizing: border-box; }
html { max-width: 100%; overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  color: var(--ink);
  background: #fafaf8;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; margin: -1px; padding: 0; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 100;
  padding: 10px 15px; color: white; background: var(--navy); border-radius: 8px;
}
.skip-link:focus { top: 12px; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }

.site-header {
  position: sticky; top: 0; z-index: 30; background: rgba(250, 250, 248, .92);
  border-bottom: 1px solid transparent; backdrop-filter: blur(14px);
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 8px 30px rgba(14, 42, 94, .05); }
.nav-wrap { min-height: 78px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; color: var(--navy); letter-spacing: -.02em; }
.brand img { width: 32px; height: 32px; object-fit: contain; }
.brand-name { color: var(--navy); font-size: 1.1rem; letter-spacing: 0; }
.brand-name > span { color: var(--blue); }
.nav-links { display: flex; gap: 23px; margin-left: auto; align-items: center; }
.nav-links a, .footer nav a { color: var(--muted); font-size: 14px; font-weight: 500; text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--ink); font-weight: 700; }
.nav-links a:hover, .nav-links a:focus-visible, .footer a:hover, .footer a:focus-visible { color: var(--blue); }
.language-switch { display: inline-flex; align-items: center; gap: 5px; margin-left: 2px; color: #aaa; font-size: 12px; }
.language-switch a { font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.language-switch a[aria-current="true"] { color: var(--ink); }
.menu-button { display: none; }

.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 12px 24px; border: 1px solid transparent; border-radius: 6px; font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform .18s, color .18s, background .18s, border-color .18s; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid rgba(55, 122, 255, .35); outline-offset: 3px; }
.button-primary { color: white; background: var(--blue); }
.button-primary:hover { background: #2a63d4; }
.button-secondary { color: var(--ink); border-color: var(--line); background: transparent; }
.button-secondary:hover { border-color: var(--ink); }
.nav-cta { min-height: 42px; padding: 10px 15px; font-size: 14px; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.text-link { color: var(--ink); font-size: 14px; font-weight: 500; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.text-link::after { content: " →"; }

h1, h2, h3 { margin: 0; color: var(--navy); text-wrap: balance; }
h1, h2 { font-family: Rockwell, "Rockwell Nova", "Roboto Slab", Georgia, serif; font-weight: 400; letter-spacing: -.018em; line-height: 1.1; }
h3 { font-family: "DM Sans", Arial, sans-serif; font-weight: 700; letter-spacing: -.025em; line-height: 1.25; }
h1 { font-size: clamp(40px, 5.2vw, 68px); }
h2 { font-size: clamp(31px, 3.5vw, 46px); }
h3 { font-size: 24px; }
p { margin: 0 0 1em; overflow-wrap: anywhere; }
h1, h2, h3 { overflow-wrap: anywhere; }
.lead { max-width: 700px; font-size: clamp(20px, 2.1vw, 26px); line-height: 1.45; }
.eyebrow { margin: 0 0 13px; color: var(--blue); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow-light { color: var(--lime); }
.eyebrow a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.kicker { max-width: 610px; color: var(--muted); font-size: 18px; line-height: 1.55; }

.hero { position: relative; display: flex; min-height: calc(100svh - 78px); align-items: center; padding: clamp(70px, 9vw, 120px) 0 120px; overflow: hidden; text-align: center; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(400px, .88fr); gap: clamp(44px, 7vw, 92px); align-items: center; }
.hero-grid-single { display: block; text-align: center; }
.hero-grid-single .hero-copy { max-width: 900px; margin-inline: auto; }
.hero-grid-single .hero-copy > p { margin-inline: auto; }
.hero-grid-single .button-row { justify-content: center; }
.hero h1 span { display: block; }
.hero .eyebrow { opacity: 0; animation: fade-up .7s ease forwards; }
.hero h1 { opacity: 0; animation: fade-up .8s ease .1s forwards; }
.hero__lead { max-width: 720px; margin: 28px auto 44px; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.22rem); line-height: 1.7; opacity: 0; animation: fade-up .8s ease .22s forwards; }
.hero .button-row { margin-top: 36px; opacity: 0; animation: fade-up .8s ease .3s forwards; }
.hero-copy > p:not(.eyebrow) { max-width: 760px; }
.hero-scroll { position: absolute; bottom: 27px; left: 50%; display: flex; flex-direction: column; align-items: center; color: #999; font-size: 10px; font-weight: 700; letter-spacing: .15em; text-decoration: none; text-transform: uppercase; transform: translateX(-50%); }
.hero-scroll span { display: block; width: 1px; height: 34px; margin-top: 9px; background: #aaa; transform-origin: top; animation: scroll-line 2s ease-in-out infinite; }
@keyframes fade-up { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scroll-line { 0%, 100% { transform: scaleY(.35); opacity: .4; } 50% { transform: scaleY(1); opacity: 1; } }
.hero-visual { position: relative; min-height: 500px; }
.visual-field { position: absolute; display: grid; place-content: center; overflow: hidden; border-radius: 46% 54% 37% 63% / 42% 42% 58% 58%; }
.visual-field-main { inset: 12px 20px 28px 12px; background: radial-gradient(circle at 35% 28%, rgba(255,255,255,.5) 0 9%, transparent 9.5%), radial-gradient(circle at 72% 69%, rgba(141,171,127,.84) 0 19%, transparent 19.5%), linear-gradient(145deg, #83b0ff, var(--blue) 55%, #2a63d4); box-shadow: var(--shadow); transform: rotate(2deg); }
.visual-field span { margin: 8px; padding: 7px 14px; color: var(--navy); background: rgba(255,255,255,.9); border-radius: 8px; font-size: 13px; font-weight: 700; transform: rotate(-2deg); }
.visual-note { position: absolute; z-index: 2; width: 185px; padding: 17px; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: var(--shadow); }
.visual-note strong, .visual-note span { display: block; }
.visual-note strong { color: var(--navy); font-size: 14px; }
.visual-note span { color: var(--muted); font-size: 12px; }
.note-top { right: -8px; top: 40px; }
.note-bottom { left: -16px; bottom: 12px; }

.section { padding: clamp(80px, 10vw, 140px) 0; }
.section-soft { background: var(--soft-blue); }
.section-paper { background: var(--paper); }
.section-dark { color: rgba(255,255,255,.78); background: var(--navy); }
.section-dark h2, .section-dark h3 { color: white; }
.section-dark .kicker { color: rgba(255,255,255,.68); }
.section-intro { display: grid; grid-template-columns: 1fr .8fr; gap: 50px; align-items: end; margin-bottom: 48px; }
.section-intro .kicker { margin: 0; }

.question-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 40px; }
.question-card { min-height: 250px; padding: 30px; background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.question-card h3 { max-width: 540px; margin-bottom: 18px; }
.question-card p { max-width: 570px; color: var(--muted); }

.team-intro { padding-block: clamp(64px, 8vw, 100px); background: white; }
.team-intro-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 70px); align-items: center; }
.team-intro-copy h2 { margin-bottom: 22px; }
.team-intro-copy .text-link { display: inline-block; margin-top: 8px; }
.team-intro-people { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.team-person { display: grid; grid-template-columns: 120px 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.team-person img { width: 100%; height: 150px; object-fit: cover; object-position: top center; }
.team-person div { align-self: center; padding: 16px; }
.team-person strong, .team-person span { display: block; }
.team-person strong { color: var(--navy); font-size: 16px; }
.team-person span { margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 1.45; }

.clients-proof { overflow: hidden; padding: clamp(56px, 8vw, 88px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fafaf8; }
.clients-heading { margin-bottom: 18px; text-align: center; }
.clients-logos__grid.index-carousel { position: relative; width: 100%; height: auto; overflow: hidden; --logo-gap: 32px; }
.clients-logos__grid.index-carousel::before, .clients-logos__grid.index-carousel::after { content: ""; position: absolute; z-index: 2; top: 0; width: 60px; height: 100%; pointer-events: none; }
.clients-logos__grid.index-carousel::before { left: 0; background: linear-gradient(to right, #fafaf8, transparent); }
.clients-logos__grid.index-carousel::after { right: 0; background: linear-gradient(to left, #fafaf8, transparent); }
.clients-logos__track { display: flex; width: max-content; align-items: center; animation: logos-marquee 36s linear infinite; }
.clients-logos__grid.index-carousel:hover .clients-logos__track { animation-play-state: paused; }
.clients-logos__item { display: flex; width: 140px; max-width: 140px; aspect-ratio: 1; flex: 0 0 auto; align-items: center; justify-content: center; margin-right: var(--logo-gap); }
.clients-logos__item img { width: 100%; height: 100%; object-fit: contain; }
@keyframes logos-marquee { to { transform: translateX(-50%); } }

.practice-gallery { position: relative; margin-top: clamp(58px, 8vw, 96px); overflow: hidden; }
.practice-gallery::before, .practice-gallery::after { content: ""; position: absolute; z-index: 2; top: 0; width: 60px; height: 100%; pointer-events: none; }
.practice-gallery::before { left: 0; background: linear-gradient(to right, #fafaf8, transparent); }
.practice-gallery::after { right: 0; background: linear-gradient(to left, #fafaf8, transparent); }
.practice-track { display: flex; width: max-content; align-items: center; padding: 40px 0 52px; animation: practice-marquee 48s linear infinite; }
.practice-gallery:hover .practice-track { animation-play-state: paused; }
.practice-card { position: relative; width: 300px; aspect-ratio: 3 / 2; flex: 0 0 auto; margin-right: 24px; overflow: hidden; border-radius: 8px; background: var(--paper); box-shadow: 0 18px 42px rgba(0,0,0,.16); }
.practice-card img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .35s ease; }
.practice-card:hover img { transform: scale(1.025); }
@keyframes practice-marquee { to { transform: translateX(-50%); } }

.card-label { margin: 0 0 10px; color: var(--blue); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

.journey-table-wrap { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.journey-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.journey-table th, .journey-table td { padding: 22px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 14px; line-height: 1.5; }
.journey-table thead th { color: white; background: #111; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.journey-table thead th:nth-child(1) { width: 17%; }
.journey-table thead th:nth-child(2) { width: 19%; }
.journey-table thead th:nth-child(3) { width: 22%; }
.journey-table thead th:nth-child(4) { width: 21%; }
.journey-table thead th:nth-child(5) { width: 21%; }
.journey-table tbody tr:last-child th, .journey-table tbody tr:last-child td { border-bottom: 0; }
.journey-table tbody th { color: var(--ink); background: var(--soft-blue); font-size: 15px; }
.journey-table tbody th span { display: inline-grid; width: 26px; height: 26px; place-items: center; margin-right: 7px; border-radius: 50%; color: white; background: var(--blue); font-size: 11px; }
.journey-table td { color: var(--muted); }
.journey-table .text-link { font-size: 13px; }
.example-links { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.example-links a { color: var(--ink); font-size: 13px; font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.example-links a::after { content: " →"; }

.journey-cycle { display: grid; grid-template-columns: minmax(340px, .9fr) minmax(380px, 1.1fr); gap: clamp(42px, 7vw, 96px); align-items: center; max-width: 1120px; margin: 18px auto 0; }
.journey-cycle-visual { min-width: 0; }
.journey-wheel-shell { position: relative; width: min(100%, 470px); aspect-ratio: 1; margin-inline: auto; }
.journey-wheel { --journey-rotation: 0deg; --journey-label-rotation: 0deg; position: absolute; inset: 5%; transform: rotate(var(--journey-rotation)); transition: transform .6s cubic-bezier(.22,.8,.3,1); }
.journey-segment { position: absolute; width: 50%; height: 50%; padding: 0; border: 5px solid #fafaf8; color: var(--ink); font: inherit; cursor: pointer; transition: transform .35s ease, filter .25s ease, box-shadow .25s ease; }
.journey-segment:hover { z-index: 3; filter: brightness(.975); }
.journey-segment:focus-visible { z-index: 5; outline: 4px solid rgba(55,122,255,.4); outline-offset: 1px; }
.journey-segment.is-current { z-index: 2; transform: scale(1.12); box-shadow: 0 18px 38px rgba(21, 45, 91, .15); }
.journey-segment-1 { top: 0; right: 0; border-radius: 0 100% 0 0; background: var(--stage-1-bg); transform-origin: left bottom; }
.journey-segment-2 { right: 0; bottom: 0; border-radius: 0 0 100% 0; background: var(--stage-2-bg); transform-origin: left top; }
.journey-segment-3 { bottom: 0; left: 0; border-radius: 0 0 0 100%; background: var(--stage-3-bg); transform-origin: right top; }
.journey-segment-4 { top: 0; left: 0; border-radius: 100% 0 0 0; background: var(--stage-4-bg); transform-origin: right bottom; }
.journey-segment-label { position: absolute; inset: 0; display: grid; place-items: center; padding: 14%; text-align: center; transform: rotate(var(--journey-label-rotation)); transition: transform .6s cubic-bezier(.22,.8,.3,1); pointer-events: none; }
.journey-segment-label strong { font-size: clamp(13px, 1.7vw, 17px); line-height: 1.2; }
.journey-cycle-center { position: absolute; z-index: 6; inset: 32%; display: grid; place-content: center; padding: 16px; border: 7px solid #fafaf8; border-radius: 50%; background: white; box-shadow: 0 8px 28px rgba(0,0,0,.07); text-align: center; pointer-events: none; }
.journey-cycle-center::before { content: "↺"; margin-bottom: 5px; color: var(--blue); font-size: 25px; line-height: 1; }
.journey-cycle-center strong { font-family: Rockwell, "Rockwell Nova", Georgia, serif; font-size: clamp(14px, 1.8vw, 19px); font-weight: 400; line-height: 1.2; }
.journey-cycle-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 16px; }
.journey-cycle-controls button { display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: white; font-size: 20px; cursor: pointer; transition: color .18s, border-color .18s, transform .18s; }
.journey-cycle-controls button:hover { color: var(--blue); border-color: var(--blue); transform: translateY(-2px); }
.journey-cycle-controls span { min-width: 120px; color: var(--muted); text-align: center; }
.journey-cycle-controls strong { color: var(--ink); }
.journey-panels { min-width: 0; }
.journey-detail { min-height: 340px; padding: clamp(28px, 4vw, 46px); border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: var(--shadow); }
.journey-detail:not([hidden]) { animation: journey-panel-in .38s ease both; }
.journey-detail[hidden] { display: none; }
.journey-detail h3 { margin-bottom: 8px; font-family: Rockwell, "Rockwell Nova", Georgia, serif; font-size: clamp(29px, 3.4vw, 42px); font-weight: 400; line-height: 1.1; }
.journey-summary { margin-bottom: 24px; color: var(--blue); font-size: 16px; font-weight: 700; }
.journey-copy { max-width: 720px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.journey-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 22px; }
.journey-tags span, .journey-tags a { padding: 7px 10px; border-radius: 6px; color: var(--navy); background: var(--soft-blue); font-size: 11px; font-weight: 700; line-height: 1.3; text-decoration: none; }
.journey-tags a { color: var(--blue); }
.journey-tags a:hover, .journey-tags a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
@keyframes journey-panel-in { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: translateX(0); } }

.help-table-wrap { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.help-table { width: 100%; border-collapse: collapse; }
.help-table th, .help-table td { padding: 17px 22px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.help-table thead th { color: white; background: #111; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.help-table thead th:first-child { width: 32%; }
.help-table thead th:last-child { width: 120px; }
.help-table tbody tr { position: relative; transition: background .18s; }
.help-table tbody tr:last-child td { border-bottom: 0; }
.help-table tbody tr:nth-child(even) { background: rgba(245, 248, 255, .55); }
.help-table td:first-child { color: var(--blue); font-size: 14px; font-weight: 700; }
.help-table td:last-child { color: var(--ink); font-size: 15px; font-weight: 500; }
.help-table a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.service-add { min-height: 40px; padding: 8px 12px; border: 1px solid var(--blue); border-radius: 6px; color: var(--blue); background: white; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.service-add[aria-pressed="true"] { color: white; background: var(--blue); }
@media (min-width: 761px) and (hover: hover) and (pointer: fine) {
  .help-table tbody tr:hover { background: var(--soft-blue); }
}
@media (hover: hover) and (pointer: fine) {
  .service-add:not([aria-pressed="true"]):hover { background: var(--soft-blue); }
}

.help-list { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.help-list a { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, .42fr); gap: 28px; align-items: center; min-height: 74px; padding: 18px 24px; border-bottom: 1px solid var(--line); text-decoration: none; transition: background .18s; }
.help-list a:last-child { border-bottom: 0; }
.help-list a:hover, .help-list a:focus-visible { background: var(--soft-blue); }
.help-list span { color: var(--ink); font-size: 16px; }
.help-list strong { color: var(--blue); font-size: 14px; font-weight: 600; }
.help-list strong::after { content: " →"; }
.help-cta { display: flex; justify-content: space-between; align-items: center; gap: 28px; margin-top: 24px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.help-cta p { margin: 0; color: var(--muted); }

.reason-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.reason-card { display: grid; grid-template-columns: 42px 1fr; gap: 16px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.reason-card h3 { margin-bottom: 13px; }
.reason-card p { margin: 0; color: var(--muted); }
.reason-index { color: var(--blue); font-size: 13px; font-weight: 700; }
.reason-wide { grid-column: 1 / -1; grid-template-columns: 42px minmax(0, 780px); }
.reason-grid-three { grid-template-columns: repeat(3, 1fr); }
.reason-grid-three .reason-card { grid-template-columns: 1fr; }
.reason-grid-three .reason-index { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; color: white; background: var(--blue); }
.reason-list { display: grid; grid-template-columns: repeat(2, 1fr); margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; counter-reset: reason; }
.reason-list li { position: relative; padding: 27px 28px 27px 58px; border-bottom: 1px solid var(--line); counter-increment: reason; }
.reason-list li:nth-child(odd) { border-right: 1px solid var(--line); }
.reason-list li::before { content: counter(reason); position: absolute; top: 28px; left: 17px; display: grid; width: 27px; height: 27px; place-items: center; border-radius: 50%; color: white; background: var(--blue); font-size: 12px; font-weight: 700; }
.reason-list h3 { margin: 0 0 8px; font-family: "DM Sans", sans-serif; font-size: 18px; line-height: 1.35; }
.reason-list p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

.origin-case { display: grid; grid-template-columns: .95fr 1.05fr; overflow: hidden; margin-bottom: 26px; border-radius: 24px; background: white; box-shadow: var(--shadow); }
.origin-visual { min-height: 490px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: radial-gradient(circle at 34% 34%, rgba(255,255,255,.52) 0 11%, transparent 11.5%), radial-gradient(circle at 67% 72%, rgba(55,122,255,.38) 0 20%, transparent 20.5%), linear-gradient(135deg, var(--paper), var(--lime)); }
.origin-visual span { margin: 7px; padding: 7px 13px; border: 1px solid var(--line); border-radius: 8px; color: var(--navy); background: rgba(255,255,255,.72); font-size: 13px; font-weight: 700; }
.origin-copy { padding: clamp(30px, 5vw, 62px); }
.origin-copy h3 { margin-bottom: 20px; font-size: 30px; }
.origin-copy > p:not(.card-label) { color: var(--muted); }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tag-row span { padding: 6px 10px; border-radius: 7px; color: var(--navy); background: var(--soft-blue); font-size: 12px; font-weight: 700; }
.case-link { display: inline-block; margin-top: 22px; }
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.work-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.work-card-wide { grid-column: 1 / -1; display: grid; grid-template-columns: .7fr 1.3fr; }
.work-visual { min-height: 220px; }
.work-card-wide .work-visual { min-height: 380px; }
.work-visual.culture { background: linear-gradient(145deg, #ffbc8c, #bd7dff 52%, var(--navy)); }
.work-visual.leadership { background: linear-gradient(145deg, var(--mint), var(--blue)); }
.work-visual.impact { background: radial-gradient(circle at 37% 32%, rgba(255,255,255,.57) 0 8%, transparent 8.5%), radial-gradient(circle at 66% 66%, rgba(55,122,255,.34) 0 20%, transparent 20.5%), linear-gradient(145deg, var(--lime), #8ec0ff); }
.work-copy { padding: 30px; }
.work-copy h3 { margin-bottom: 14px; }
.work-copy > p:not(.card-label) { color: var(--muted); }
.project-showcase { max-width: 920px; margin-inline: auto; outline: none; }
.project-showcase:focus-visible { outline: 3px solid rgba(55,122,255,.35); outline-offset: 12px; border-radius: 18px; }
.swipe-deck { position: relative; min-height: 530px; }
.project-swipe-card { position: absolute; inset: 0; display: grid; grid-template-columns: .8fr 1.2fr; overflow: hidden; max-width: 800px; min-height: 485px; margin-inline: auto; border: 1px solid var(--line); border-radius: 22px; background: white; box-shadow: 0 18px 48px rgba(0,0,0,.1); opacity: 0; pointer-events: none; transform: translateX(70px) scale(.92); transition: transform .3s ease, opacity .3s ease, box-shadow .3s ease; touch-action: pan-y; user-select: none; }
.project-swipe-card.is-current { z-index: 3; opacity: 1; pointer-events: auto; transform: translateX(0) rotate(0) scale(1); cursor: grab; }
.project-swipe-card.is-current:active { cursor: grabbing; }
.project-swipe-card.is-next { z-index: 2; opacity: .48; transform: translate(26px, 18px) rotate(1.5deg) scale(.965); }
.project-card-visual { position: relative; display: flex; min-height: 100%; align-items: flex-end; padding: 28px; overflow: hidden; }
.project-card-visual::before, .project-card-visual::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.38); }
.project-card-visual::before { width: 180px; height: 180px; top: -50px; right: -55px; }
.project-card-visual::after { width: 110px; height: 110px; left: -28px; bottom: 68px; }
.project-card-visual > span { position: relative; z-index: 1; padding: 7px 11px; border: 1px solid rgba(255,255,255,.6); border-radius: 7px; color: var(--navy); background: rgba(255,255,255,.82); font-size: 12px; font-weight: 700; }
.visual-vangogh { background: linear-gradient(145deg, var(--paper), var(--lime)); }
.visual-game { background: linear-gradient(145deg, #ffbf72, #ef7798); }
.visual-news { background: linear-gradient(145deg, #cfd8e8, #6d89b3); }
.visual-map { background: linear-gradient(145deg, #ffbc8c, #a675dc 58%, var(--navy)); }
.visual-mosaic { background: linear-gradient(145deg, #9bd6cb, #f3d36b 48%, #d982b5); }
.visual-rap { background: linear-gradient(145deg, #ede56d, #71c4ed 58%, #5174d9); }
.visual-team { background: linear-gradient(145deg, #d4e4ff, #89a6d9); }
.visual-code { background: linear-gradient(145deg, #cad9c2, #8dab7f); }
.visual-leadership { background: linear-gradient(145deg, #bdcaff, #6d8cff 55%, #3651a7); }
.visual-impact { background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.55) 0 8%, transparent 8.5%), linear-gradient(145deg, var(--lime), #8ec0ff); }
.project-card-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(30px, 5vw, 52px); }
.project-card-copy h3 { margin-bottom: 17px; font-size: clamp(25px, 3vw, 34px); }
.project-card-copy > p:not(.card-label) { margin-bottom: 14px; color: var(--muted); }
.project-card-copy .tag-row { margin-top: 4px; }
.project-card-copy .text-link { margin-top: 18px; }
.swipe-controls { display: grid; grid-template-columns: 54px auto 54px; gap: 18px; justify-content: center; align-items: center; margin-top: 26px; }
.swipe-button { display: grid; width: 54px; height: 54px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--navy); background: white; box-shadow: 0 8px 22px rgba(0,0,0,.07); font: inherit; font-size: 22px; cursor: pointer; transition: color .18s, border-color .18s, transform .18s; }
.swipe-button:hover { color: var(--blue); border-color: var(--blue); transform: translateY(-2px); }
.swipe-controls p { min-width: 145px; margin: 0; color: var(--muted); text-align: center; }
.swipe-controls strong { color: var(--blue); }
.swipe-controls small { display: block; margin-top: 2px; font-size: 10px; letter-spacing: .04em; }
.contact-section { position: relative; isolation: isolate; overflow: hidden; padding: clamp(90px, 12vw, 150px) 0; color: rgba(255,255,255,.75); background: #111; text-align: center; }
.contact-section::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("assets/founders/02 DD Martin en Brian.webp") center 42% / cover no-repeat; opacity: .28; pointer-events: none; }
.contact-block { max-width: 900px; margin-inline: auto; }
.contact-block .eyebrow { color: #9db7ff; }
.contact-block h2 { max-width: 820px; margin: 0 auto 24px; color: white; font-size: clamp(40px, 5vw, 62px); }
.contact-block p:not(.eyebrow) { max-width: 680px; margin: 0 auto; font-size: 18px; }
.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px; margin-top: 38px; }
.button-white { color: var(--ink); background: white; }
.button-white:hover { background: var(--soft-blue); }
.contact-actions .text-link { color: white; }
.footer { padding: 44px 0 28px; color: var(--muted); border-top: 1px solid var(--line); background: #fafaf8; }
.footer-grid { display: grid; grid-template-columns: minmax(280px, 1.35fr) minmax(300px, .65fr); gap: 28px clamp(48px, 8vw, 110px); align-items: start; }
.brand-footer { color: var(--navy); }
.brand-footer img { width: 38px; height: 38px; }
.brand-footer .brand-name { font-size: 1.2rem; }
.footer p { max-width: 470px; margin: 12px 0 0; font-size: 14px; line-height: 1.5; }
.footer-slogan strong, .footer-slogan span { display: block; }
.footer-slogan strong { color: var(--navy); font-size: 18px; line-height: 1.35; }
.footer-slogan span { max-width: 440px; margin-top: 4px; }
.footer-nav-group { justify-self: end; width: min(100%, 360px); }
.footer .footer-nav-title { margin: 0 0 10px; color: var(--navy); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.footer nav { display: grid; grid-template-columns: repeat(2, minmax(120px, 1fr)); gap: 7px 28px; }
.footer nav a { min-height: 32px; color: var(--muted); font-size: 14px; }
.footer-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 4px; padding-top: 17px; border-top: 1px solid var(--line); color: #8b8b87; font-size: 12px; line-height: 1.4; }
.footer-bottom > div { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-bottom a { color: #888; text-decoration: none; }

.project-hero { padding: 90px 0 70px; background: var(--soft-blue); }
.project-hero .eyebrow { margin-bottom: 16px; }
.project-hero h1 { max-width: 900px; font-size: clamp(42px, 5.6vw, 72px); }
.project-hero .lead { max-width: 790px; margin-top: 24px; }
.project-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.project-meta span { padding: 7px 11px; border-radius: 7px; color: var(--navy); background: white; font-size: 12px; font-weight: 700; }
.project-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(45px, 8vw, 100px); align-items: start; }
.project-body h2 { margin: 52px 0 18px; font-size: clamp(32px, 3.5vw, 44px); }
.project-body h2:first-child { margin-top: 0; }
.project-body p { max-width: 760px; color: var(--muted); font-size: 18px; }
.project-aside { position: sticky; top: 108px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.project-aside h3 { margin-bottom: 15px; font-size: 18px; }
.publication-hero .lead { margin-top: 24px; }
.publication-heading { display: grid; grid-template-columns: .72fr 1.28fr; gap: 45px; align-items: start; margin-bottom: 42px; }
.publication-heading h2 { max-width: 780px; }
.publication-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.publication-card { display: flex; min-height: 350px; flex-direction: column; align-items: flex-start; padding: clamp(26px, 4vw, 42px); border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.publication-card-wide { grid-column: 1 / -1; min-height: 280px; }
.publication-card h3 { margin-bottom: 14px; font-size: clamp(22px, 2.5vw, 29px); }
.publication-card > p:not(.publication-meta, .publication-authors) { color: var(--muted); }
.publication-meta { margin-bottom: 12px; color: var(--blue); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.publication-authors { color: var(--ink); font-size: 13px; font-weight: 600; line-height: 1.5; }
.publication-card .text-link { margin-top: auto; padding-top: 18px; }
.project-aside p { color: var(--muted); font-size: 14px; }
.project-back { display: inline-block; margin-bottom: 24px; color: var(--navy); font-size: 14px; font-weight: 700; }

/* Shared content pages */
.subpage-hero { padding: clamp(72px, 10vw, 128px) 0 clamp(60px, 8vw, 100px); background: #fafaf8; text-align: center; }
.subpage-hero .eyebrow { margin-bottom: 18px; }
.subpage-hero h1 { max-width: 940px; margin-inline: auto; }
.subpage-hero .lead { max-width: 720px; margin: 28px auto 0; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.22rem); line-height: 1.7; }
.subpage-hero .button-row { justify-content: center; margin-top: 30px; }
.portal-url { margin: 18px 0 0; color: var(--muted); }
.portal-url .text-link { color: var(--blue); font-size: inherit; }
.portal-url .text-link::after { content: none; }
.methods-section .section-intro { align-items: start; margin-bottom: 0; }
.code-demo-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.code-demo-copy .kicker { margin: 24px 0 0; }
.code-demo-image { width: 100%; height: auto; border-radius: var(--radius); }
@media (max-width: 760px) {
  .code-demo-grid { grid-template-columns: minmax(0, 1fr); }
  .methods-copy .portal-url { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
  .methods-copy .portal-url .text-link { max-width: 100%; }
}

.legal-content { max-width: 760px; margin: 0 auto; }
.legal-content .eyebrow { margin-top: 48px; margin-bottom: 4px; }
.legal-content .eyebrow:first-child { margin-top: 0; }
.legal-content h3 { margin: 0 0 12px; font-size: 1.05rem; font-weight: 600; }
.legal-content p { margin: 0 0 12px; color: var(--muted); line-height: 1.7; }
.legal-content ul, .legal-content ol { margin: 0 0 16px; padding-left: 24px; }
.legal-content ol { list-style: lower-alpha; }
.legal-content ul { list-style: disc; }
.legal-content li { margin: 4px 0; color: var(--muted); font-size: 1.05rem; line-height: 1.75; }
.legal-content a { color: var(--blue); }
.legal-content .effective { margin-top: 48px; color: var(--muted); font-size: .9rem; font-style: italic; }
.legal-content .cookie-cat { margin: 32px 0 8px; color: var(--ink); font-size: .95rem; font-weight: 600; }
.legal-content .cookie-table-wrap { overflow-x: auto; margin: 20px 0 24px; }
.cookie-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.cookie-table th { padding: 12px 16px; border-bottom: 2px solid var(--line); background: var(--soft-blue); color: var(--ink); font-size: .8rem; font-weight: 600; text-align: left; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.cookie-table td { padding: 10px 16px; border-bottom: 1px solid var(--line); color: var(--muted); vertical-align: top; line-height: 1.5; }
.cookie-table tr:last-child td { border-bottom: none; }

.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .36fr); gap: clamp(40px, 8vw, 100px); align-items: start; }
.content-copy { max-width: 780px; }
.content-copy h2 { margin: 0 0 24px; }
.content-copy h3 { margin: 34px 0 12px; font-size: 22px; }
.content-copy p, .content-copy li { color: var(--muted); font-size: 17px; }
.info-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.info-card h2, .info-card h3 { margin-bottom: 14px; font-family: "DM Sans", Arial, sans-serif; font-size: 19px; font-weight: 700; }
.info-card p { color: var(--muted); font-size: 14px; }
.info-card .button { width: 100%; margin-top: 10px; }
.info-card-person { overflow: hidden; padding: 0; }
.info-card-person img { width: 100%; height: 230px; object-fit: cover; object-position: center 34%; }
.info-card-person > div { padding: 24px; }
.info-card-person .eyebrow { margin-bottom: 7px; }
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.team-card { display: grid; grid-template-columns: 150px 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.team-card img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; object-position: top center; }
.team-card-copy { padding: 25px; }
.team-card h3 { margin-bottom: 5px; font-size: 21px; }
.team-card .team-role { margin-bottom: 12px; color: var(--blue); font-size: 13px; font-weight: 700; }
.team-card p:last-child { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.service-detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.service-detail { display: flex; scroll-margin-top: 100px; min-height: 270px; flex-direction: column; align-items: flex-start; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.service-detail h2 { margin-bottom: 12px; font-family: "DM Sans", Arial, sans-serif; font-size: 22px; font-weight: 700; }
.service-stages { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; }
.stage { display: inline-flex; padding: 5px 8px; border-radius: 5px; font-size: 10px; font-weight: 700; letter-spacing: .025em; line-height: 1.25; }
.stage-1 { color: var(--stage-1-ink); background: var(--stage-1-bg); }
.stage-2 { color: var(--stage-2-ink); background: var(--stage-2-bg); }
.stage-3 { color: var(--stage-3-ink); background: var(--stage-3-bg); }
.stage-4 { color: var(--stage-4-ink); background: var(--stage-4-bg); }
.service-detail > p { color: var(--muted); }
.service-detail > .service-add { margin-top: auto; }
.process-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 34px; }
.process-step { min-height: 145px; padding: 24px; border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.process-step:hover { transform: translateY(-4px); }
.process-step-1 { background: var(--stage-1-bg); }
.process-step-2 { background: var(--stage-2-bg); }
.process-step-3 { background: var(--stage-3-bg); }
.process-step-4 { background: var(--stage-4-bg); }
.process-step strong { display: block; margin-bottom: 5px; }
.process-step strong span { font-weight: 700; }
.process-step p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.process-examples { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 0; padding: 0; list-style: none; }
.process-examples li { padding: 5px 7px; border: 1px solid rgba(26,26,26,.08); border-radius: 5px; color: var(--navy); background: rgba(255,255,255,.62); font-size: 10px; font-weight: 700; line-height: 1.25; }
.jobs-actions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.action-card { position: relative; display: flex; min-height: 240px; flex-direction: column; align-items: flex-start; padding: 30px; overflow: hidden; border: 1px solid rgba(26,26,26,.08); border-radius: var(--radius); background: white; text-decoration: none; transition: transform .25s, box-shadow .25s; }
.action-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.action-card-blue { background: #dfe9ff; }
.action-card-mint { background: #e5eee0; }
.action-card-peach { background: #f8e6d5; }
.action-card-lilac { background: #e9e2f5; }
.action-card span { margin-bottom: 12px; color: var(--blue); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.action-card strong { font-size: 23px; line-height: 1.25; }
.action-card p { color: var(--muted); font-size: 14px; }
.action-card b { margin-top: auto; color: var(--blue); font-size: 14px; }
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 34px; }
.video-embed { position: relative; overflow: hidden; padding-top: 56.25%; border-radius: var(--radius); background: #111; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Service conversation flow */
.service-tray { position: fixed; z-index: 60; right: 18px; bottom: calc(18px + var(--footer-overlap)); width: min(430px, calc(100% - 36px)); transition: bottom .18s ease; }
.service-tray-toggle { display: flex; min-height: 50px; align-items: center; gap: 10px; margin-left: auto; padding: 12px 18px; border: 0; border-radius: 8px; color: white; background: var(--navy); box-shadow: var(--shadow); font: inherit; font-weight: 700; cursor: pointer; }
.service-tray-count { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 50%; color: var(--navy); background: white; font-size: 12px; }
.service-flight {
  position: fixed; z-index: 90; top: 0; left: 0; display: flex; align-items: center; gap: 10px;
  width: max-content; max-width: min(260px, calc(100vw - 24px)); padding: 12px 16px;
  border: 1px solid rgba(55,122,255,.35); border-radius: 10px; color: var(--ink); background: #fafaf8;
  box-shadow: 0 10px 28px rgba(14,42,94,.15); pointer-events: none; will-change: transform, opacity;
}
.service-flight strong { min-width: 0; font-size: 13px; line-height: 1.35; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.service-flight-mark { flex: 0 0 23px; display: grid; width: 23px; height: 23px; place-items: center; border-radius: 50%; color: white; background: var(--blue); font-size: 13px; font-weight: 700; }
.service-tray-panel { display: none; max-height: min(720px, calc(100vh - 100px - var(--footer-overlap))); margin-top: 10px; overflow-y: auto; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 22px 70px rgba(0,0,0,.18); }
.service-tray.is-open .service-tray-panel { display: block; }
.service-tray-header { display: flex; justify-content: space-between; gap: 18px; padding: 22px 22px 12px; }
.service-tray-header h2 { font-family: "DM Sans", Arial, sans-serif; font-size: 20px; font-weight: 700; }
.service-tray-header p { margin: 7px 0 0; color: var(--muted); font-size: 13px; }
.icon-button { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: white; font: inherit; cursor: pointer; }
.service-choice { margin: 0 14px 12px; padding: 17px; border: 1px solid var(--line); border-radius: 9px; background: #fafaf8; }
.service-choice-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 12px; }
.service-choice-head strong { min-width: 0; font-size: 15px; overflow-wrap: anywhere; }
.service-choice-remove { min-height: 24px; margin: 0; padding: 2px 0; border: 0; color: var(--muted); background: transparent; font: inherit; font-size: 12px; line-height: 1.5; text-decoration: underline; cursor: pointer; }
.service-choice-question { margin: 9px 0 14px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.service-choice fieldset { margin: 0; padding: 0; border: 0; }
.service-choice legend { margin-bottom: 7px; color: var(--ink); font-size: 13px; font-weight: 700; }
.choice-radios { display: flex; gap: 18px; }
.choice-radios label { display: flex; min-height: 38px; align-items: center; gap: 7px; font-family: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
.choice-radios input { accent-color: var(--blue); }
.service-choice textarea { width: 100%; min-height: 82px; margin-top: 8px; padding: 10px 12px; resize: vertical; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); background: white; font: inherit; font-size: 14px; }
.service-tray-actions { position: sticky; bottom: 0; display: flex; justify-content: space-between; gap: 12px; padding: 16px 22px 22px; border-top: 1px solid var(--line); background: white; }
.service-tray-actions .button { flex: 1; padding-inline: 14px; font-family: inherit; font-size: 14px; font-weight: 600; }
.service-tray-actions .button[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.service-quick-form { display: grid; gap: 16px; }
.service-quick-form > .form-field, .service-quick-form > .privacy-note, .service-quick-form > .contact-status { margin-inline: 22px; }
.service-quick-form .service-tray-actions { margin-top: 2px; }
.back-to-top { position: fixed; z-index: 59; right: 18px; bottom: calc(18px + var(--footer-overlap)); display: grid; width: 50px; height: 50px; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; color: white; background: var(--navy); box-shadow: var(--shadow); font: inherit; font-size: 23px; line-height: 1; cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .18s ease, transform .18s ease, bottom .18s ease, background .18s ease; }
.has-service-tray .back-to-top { bottom: calc(82px + var(--footer-overlap)); }
.back-to-top:hover { background: var(--blue); }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.contact-status a { color: inherit; font-weight: 700; }

/* Contact */
.contact-page-section { padding-top: 0; }
.contact-layout { display: grid; grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr); gap: 0; align-items: stretch; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.contact-layout > * { min-width: 0; }
.contact-details { padding: clamp(32px, 5vw, 62px); color: rgba(255,255,255,.75); background: #111; }
.contact-details h2 { max-width: 320px; margin-bottom: 30px; color: white; font-family: Rockwell, "Rockwell Nova", "Roboto Slab", Georgia, serif; font-size: clamp(31px, 3.5vw, 42px); font-weight: 400; line-height: 1.1; }
.contact-details .eyebrow { margin-bottom: 14px; }
.contact-direct { display: grid; gap: 8px; margin-bottom: 42px; }
.contact-direct a { width: fit-content; color: white; font-size: 16px; font-weight: 600; text-underline-offset: 4px; }
.contact-address { margin: 0; color: rgba(255,255,255,.62); font-size: 14px; line-height: 1.75; }
.contact-form { display: grid; min-width: 0; gap: 19px; padding: clamp(32px, 5vw, 62px); }
.contact-form-intro { margin-bottom: 8px; }
.contact-form-intro .eyebrow { margin-bottom: 10px; }
.contact-form-intro h2 { margin-bottom: 12px; font-size: clamp(31px, 3.5vw, 42px); }
.contact-form-intro p:last-child { margin: 0; color: var(--muted); font-size: 15px; }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.form-field { display: grid; min-width: 0; gap: 7px; }
.form-field label, .form-field legend { color: var(--ink); font-size: 14px; font-weight: 700; }
.form-field input, .form-field select, .form-field textarea { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid #cfcfca; border-radius: 6px; color: var(--ink); background: white; font: inherit; }
.form-field textarea { min-height: 180px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: 3px solid rgba(55,122,255,.2); border-color: var(--blue); }
.form-hint { margin: -2px 0 0; color: var(--muted); font-size: 12px; }
.privacy-note { margin: -3px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.privacy-note a { color: var(--blue); font-weight: 600; }
.contact-status { min-height: 24px; margin: 0; font-size: 14px; }
.contact-status.success { color: #22713c; }
.contact-status.error { color: #a42c2c; }
.contact-form .button { justify-self: start; }

@media (max-width: 1020px) {
  .nav-wrap { gap: 14px; }
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 13px; }
  .nav-cta { display: none; }
  .hero-grid { grid-template-columns: 1fr .75fr; gap: 35px; }
  .team-intro-grid { grid-template-columns: 1fr; }
  .reason-grid-three { grid-template-columns: 1fr; }
  .project-layout { grid-template-columns: 1fr; }
  .project-aside { position: static; }
  .publication-heading { grid-template-columns: 1fr; gap: 12px; }
  .content-grid { grid-template-columns: 1fr; }
  .journey-cycle { grid-template-columns: minmax(320px, .9fr) minmax(340px, 1.1fr); gap: 38px; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 74px; }
  body { overflow-x: hidden; }
  .container { width: min(calc(100% - 28px), var(--container)); }
  .nav-wrap { min-height: 68px; justify-content: space-between; }
  .menu-button { display: inline-flex; min-height: 44px; align-items: center; gap: 10px; padding: 8px 0 8px 12px; border: 0; color: var(--navy); background: transparent; font: inherit; font-size: 14px; font-weight: 700; }
  .menu-button > span:first-child { position: absolute; width: 1px; height: 1px; overflow: hidden; margin: -1px; padding: 0; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 21px; height: 2px; border-radius: 2px; background: currentColor; }
  .menu-icon { position: relative; }
  .menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
  .menu-icon::before { top: -6px; }
  .menu-icon::after { top: 6px; }
  .nav-links { position: absolute; left: 0; right: 0; top: 68px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 14px 18px; border-bottom: 1px solid var(--line); background: #fafaf8; box-shadow: 0 20px 30px rgba(0,0,0,.08); }
  .nav-links.open { display: flex; }
  .nav-links a { min-height: 48px; display: flex; align-items: center; padding: 6px 10px; border-bottom: 1px solid var(--line); font-size: 15px; }
  .nav-links .language-switch { min-height: 52px; margin: 8px 0 0; padding: 0 10px; }
  .nav-links .language-switch a { display: inline-flex; min-height: 44px; padding: 6px 4px; border: 0; font-size: 13px; }
  .hero { min-height: calc(100svh - 68px); padding: 64px 0 106px; }
  .hero-grid, .section-intro, .origin-case, .work-card-wide, .footer-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 380px; margin-top: 10px; }
  .visual-field-main { inset: 10px 20px 20px; }
  .note-top { right: 2px; top: 24px; }
  .note-bottom { left: 0; }
  .section { padding: 60px 0; }
  .team-intro { padding-block: 56px; }
  .section-intro { gap: 22px; margin-bottom: 34px; }
  .question-grid, .reason-grid, .work-grid { grid-template-columns: 1fr; }
  .reason-wide, .work-card-wide { grid-column: auto; }
  .question-card { min-height: 0; padding: 25px; }
  .reason-card, .work-copy { padding: 25px; }
  .team-intro-people { grid-template-columns: 1fr; }
  .team-person img { height: 145px; }
  .content-grid { gap: 32px; }
  .info-card-person { display: grid; grid-template-columns: minmax(112px, 34%) minmax(0, 1fr); }
  .info-card-person img { height: 100%; min-height: 230px; object-position: center center; }
  .info-card-person > div { min-width: 0; padding: 22px; }
  .clients-logos__grid.index-carousel { overflow: hidden; }
  .clients-logos__grid.index-carousel .clients-logos__track { animation-duration: 30s; }
  .clients-logos__grid.index-carousel .clients-logos__item { width: 120px; min-width: 120px; }
  .journey-table-wrap { overflow: visible; border: 0; background: transparent; }
  .journey-table, .journey-table tbody, .journey-table tr, .journey-table th, .journey-table td { display: block; width: 100%; }
  .journey-table { table-layout: auto; }
  .journey-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .journey-table tbody tr { overflow: hidden; margin-bottom: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
  .journey-table th, .journey-table td { display: grid; grid-template-columns: 125px 1fr; gap: 14px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
  .journey-table th::before, .journey-table td::before { content: attr(data-label); color: var(--navy); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
  .journey-table tbody th { display: block; padding: 18px; font-size: 17px; }
  .journey-table tbody th::before { display: none; }
  .journey-table tbody tr:last-child th { border-bottom: 1px solid var(--line); }
  .journey-table tbody tr:last-child td:last-child, .journey-table tbody tr td:last-child { border-bottom: 0; }
  .help-list a { grid-template-columns: 1fr; gap: 5px; }
  .help-cta { align-items: flex-start; flex-direction: column; }
  .journey-cycle { grid-template-columns: 1fr; gap: 30px; }
  .journey-wheel-shell { width: min(100%, 420px); }
  .journey-detail { min-height: 0; padding: 28px 24px; }
  .journey-copy { font-size: 14px; }
  .help-table-wrap { overflow: visible; border: 0; background: transparent; }
  .help-table, .help-table tbody, .help-table tr, .help-table td { display: block; width: 100%; }
  .help-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .help-table tr { margin-bottom: 10px; padding: 17px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
  .help-table tbody tr:nth-child(even) { background: white; }
  .help-table td { padding: 0; border: 0; }
  .help-table td::before { display: block; margin-bottom: 4px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; content: attr(data-label); }
  .help-table td + td { margin-top: 12px; }
  .help-table td:last-child { margin-top: 16px; }
  .help-table td:last-child::before { display: none; }
  .reason-list { grid-template-columns: 1fr; }
  .reason-list li:nth-child(odd) { border-right: 0; }
  .origin-visual { min-height: 330px; }
  .work-card-wide .work-visual { min-height: 250px; }
  .swipe-deck { min-height: 610px; }
  .project-swipe-card { grid-template-columns: 1fr; min-height: 570px; }
  .project-card-visual { min-height: 155px; padding: 20px; }
  .project-card-copy { justify-content: flex-start; padding: 25px; }
  .project-card-copy h3 { font-size: 25px; }
  .publication-grid { grid-template-columns: 1fr; }
  .publication-card-wide { grid-column: auto; }
  .publication-card { min-height: 0; }
  .practice-gallery { margin-inline: -14px; }
  .practice-track { padding: 28px 0 44px; }
  .practice-card { width: min(78vw, 330px); margin-right: 16px; }
  .contact-section { padding: 80px 0; }
  .contact-actions { flex-direction: column; }
  .footer nav { flex-direction: column; gap: 12px; }
  .footer { padding: 38px 0 24px; }
  .footer-grid { gap: 28px; }
  .footer-nav-group { justify-self: stretch; width: 100%; }
  .footer nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px 18px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .footer-bottom > div { gap: 12px 18px; }
  .team-grid, .service-detail-grid, .jobs-actions, .video-grid, .contact-layout { grid-template-columns: 1fr; }
  .process-strip { grid-template-columns: 1fr 1fr; }
  .team-card { grid-template-columns: 120px 1fr; }
  .team-card img { min-height: 190px; }
  .form-row { grid-template-columns: 1fr; }
  .service-tray { right: 10px; bottom: calc(10px + var(--footer-overlap)); width: calc(100% - 20px); }
  .service-tray-panel { max-height: calc(100svh - 84px - var(--footer-overlap)); }
  .back-to-top { right: 14px; bottom: calc(14px + var(--footer-overlap)); width: 48px; height: 48px; }
  .has-service-tray .back-to-top { bottom: calc(74px + var(--footer-overlap)); }
}

@media (max-width: 520px) {
  h1 { font-size: 38px; }
  h2 { font-size: 31px; }
  h3 { font-size: 24px; }
  .hero-visual { min-height: 335px; }
  .visual-note { width: 158px; padding: 13px; }
  .button-row .button { width: 100%; }
  .team-person { grid-template-columns: minmax(96px, 31%) minmax(0, 1fr); align-items: stretch; }
  .team-person img { height: 100%; min-height: 135px; object-position: center 20%; }
  .team-person div { min-width: 0; padding: 14px; }
  .journey-wheel-shell { width: min(100%, 350px); }
  .journey-segment { border-width: 4px; }
  .journey-segment.is-current { transform: scale(1.08); }
  .journey-segment-label strong { font-size: 12px; }
  .journey-cycle-center { inset: 31%; padding: 10px; border-width: 5px; }
  .journey-cycle-center strong { font-size: 13px; }
  .journey-detail { padding: 25px 20px; }
  .journey-table th, .journey-table td { grid-template-columns: 1fr; gap: 5px; }
  .swipe-deck { min-height: 650px; }
  .project-swipe-card { min-height: 615px; }
  .swipe-controls { grid-template-columns: 48px auto 48px; gap: 10px; }
  .swipe-button { width: 48px; height: 48px; }
  .team-card { grid-template-columns: 105px 1fr; }
  .team-card-copy { padding: 19px; }
  .team-card h3 { font-size: 18px; }
  .service-tray-toggle { width: 100%; justify-content: center; }
  .service-tray-actions { flex-direction: column; }
  .info-card-person { grid-template-columns: 108px minmax(0, 1fr); }
  .info-card-person img { min-height: 244px; }
  .info-card-person > div { padding: 18px; }
  .process-strip { grid-template-columns: 1fr; }
  .process-step, .process-step:nth-child(2) { min-height: 0; }
}

.team-person img.founder-portrait, .team-card img.founder-portrait { object-position: center 35%; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .clients-logos__track { animation: none; }
  .practice-track { animation: none; }
}
