/* Giraffe CX (v2): clean white, one grid of fine lines, a halftone hero. Edited by hand; build.py writes the HTML. */

@font-face { font-family: "Hanken Grotesk"; src: url("/assets/fonts/hankengrotesk-normal-400-700.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/assets/fonts/ibmplexmono-normal-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
    --ink: #131118;
    --ink-2: #47434f;
    --mute: #6d6877;
    --paper: #ffffff;
    --tint: #f7f5fb;
    --line: #e3dfea;
    --indigo: #2a1c4c;     /* logo indigo */
    --violet: #442d79;     /* logo violet: the one highlighted phrase */
    --glow: #7b5bd6;       /* the cursor glow on the halftone */
    --lilac: #d6ccf2;
    --lilac-2: #c9bceb;
    --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    --hh: 64px;            /* header height */
    --pad: clamp(20px, 2.4vw, 36px);
    --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hh) + 12px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--glow); outline-offset: 2px; }
::selection { background: var(--lilac); color: var(--ink); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--indigo); color: #fff; text-decoration: none; }
.skip:focus { top: 12px; }

/* small mono label with a square bullet */
.label { display: flex; align-items: center; gap: 10px; font: 400 11.5px/1.35 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.label::before { content: ""; flex: none; width: 7px; height: 7px; background: var(--indigo); }
.label a { color: var(--ink); text-underline-offset: 3px; }

.ar { width: 16px; height: 16px; flex: none; transition: transform .2s var(--ease); }
.ext { font-family: var(--sans); font-size: .9em; }
.text-link { display: inline-flex; gap: 6px; color: var(--indigo); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.text-link:hover { color: var(--violet); }

/* buttons: square, indigo */
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 52px; padding: 0 18px 0 20px; border: 1px solid var(--indigo); font: 500 15.5px/1.2 var(--sans); text-decoration: none; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.btn-ink { background: var(--indigo); color: #fff; }
.btn-ink:hover { background: var(--violet); border-color: var(--violet); }
.btn-line { background: transparent; color: var(--indigo); }
.btn-line:hover { background: var(--indigo); color: #fff; }
.btn:hover .ar, .cell-link:hover .ar, .card:hover .card-more .ar, .hd-contact:hover .ar, .hold-back:hover .ar { transform: translateX(3px); }

/* ---------- header: one row of cells, like the grid below it ---------- */
.hd { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.hd-row { display: flex; align-items: stretch; height: var(--hh); }
.hd-logo { display: flex; align-items: center; flex: none; padding: 0 var(--pad); border-right: 1px solid var(--line); }
.hd-logo img { width: auto; height: 32px; }

.clocks { font: 400 10.5px/1.25 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--mute); }
.clk { display: flex; justify-content: space-between; gap: 12px; white-space: nowrap; }
.clk .t { color: var(--ink); font-variant-numeric: tabular-nums; }
/* the times come from script.js: without it the clocks stay hidden rather than showing --:-- */
html:not(.js-ready) .clocks { display: none !important; }
.hd-clocks { display: grid; grid-template-columns: auto auto; column-gap: 26px; row-gap: 4px; align-content: center; padding: 0 24px; border-right: 1px solid var(--line); }

.hd-nav { display: flex; margin-left: auto; }
.nav-list { display: flex; align-items: stretch; padding: 0 10px; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-link { display: flex; align-items: center; height: 100%; padding: 0 12px; font-size: 15px; text-decoration: none; transition: color .15s; }
.nav-link:hover, .nav-link[aria-current] { color: var(--violet); }
.has-sub .nav-link { padding-right: 4px; }
.sub-btn { display: grid; place-items: center; width: 32px; height: 44px; margin-right: 2px; color: var(--mute); }
.sub-btn svg { width: 12px; height: 12px; transition: transform .2s var(--ease); }
.sub { position: absolute; top: 100%; left: 0; min-width: 260px; padding: 8px 0; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 18px 40px -18px rgba(19, 17, 24, .18); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .16s var(--ease), transform .16s var(--ease), visibility 0s linear .16s; }
.sub a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 18px; font-size: 15px; text-decoration: none; }
.sub a:hover, .sub a[aria-current="page"] { background: var(--tint); color: var(--violet); }
.sub li:first-child a { color: var(--mute); font: 400 11.5px/1.6 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
@media (hover: hover) { .nav-item.has-sub:hover .sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; } }
/* keyboard focus opens the dropdown only without script.js; with it, the chevron button (.open) and Escape control it */
html:not(.js-ready) .nav-item.has-sub:focus-within .sub, .nav-item.open .sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav-item.open .sub-btn svg { transform: rotate(180deg); }

.hd-contact { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-width: 172px; padding: 0 var(--pad); background: var(--indigo); color: #fff; font-size: 15px; text-decoration: none; transition: background-color .2s var(--ease); }
.hd-contact:hover { background: var(--violet); }
.hd-menu { display: none; }

.mnav { border-top: 1px solid var(--line); max-height: calc(100svh - var(--hh)); overflow-y: auto; background: var(--paper); }
.mnav > nav > ul > li { border-bottom: 1px solid var(--line); }
.mnav [aria-current] { color: var(--violet); }
.mnav .m1 { display: block; padding: 16px var(--pad); font-size: 22px; letter-spacing: -.02em; text-decoration: none; }
.mnav .m2 { padding: 0 var(--pad) 14px; margin-top: -6px; }
.mnav .m2 a { display: block; padding: 7px 0 7px 14px; border-left: 1px solid var(--line); color: var(--ink-2); font-size: 16px; text-decoration: none; }
.mnav-clocks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 28px; padding: 18px var(--pad); border-bottom: 1px solid var(--line); }
.mnav-contact { display: flex; flex-direction: column; gap: 6px; padding: 18px var(--pad) 26px; font-size: 16px; }

@media (max-width: 1159px) { .hd-clocks { display: none; } }
@media (max-width: 1023px) {
    .hd-nav { display: none; }
    .hd-contact { margin-left: auto; }
    .hd-menu { display: flex; flex-direction: column; justify-content: center; gap: 7px; width: var(--hh); flex: none; padding: 0 20px; border-left: 1px solid var(--line); }
    .hd-menu span { display: block; height: 1.5px; background: var(--ink); transition: transform .2s var(--ease); }
    .hd-menu[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
    .hd-menu[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
}
@media (max-width: 520px) {
    .hd-logo img { height: 26px; }
    .hd-contact { min-width: 0; gap: 14px; }
}

/* ---------- hero: cells laid over one halftone photo ---------- */
.hero { position: relative; border-bottom: 1px solid var(--line); overflow: hidden; }
.ht { position: absolute; inset: 0; overflow: hidden; background: var(--paper); isolation: isolate; }
.ht-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); opacity: .45; transition: opacity .5s var(--ease); }
.ht-dots { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .6s var(--ease); }
.ht.is-ready .ht-img { opacity: 0; }
.ht.is-ready .ht-dots { opacity: 1; }
/* the glow: a lilac haze under the dots, and a violet light that only the dots take (lighten keeps the paper as it is) */
.ht-haze, .ht-tint { position: absolute; left: 0; top: 0; border-radius: 50%; pointer-events: none; will-change: transform; opacity: 0; transition: opacity .6s var(--ease); }
.ht.is-ready .ht-haze, .ht.is-ready .ht-tint { opacity: 1; }
.ht-haze { width: 1000px; height: 1000px; margin: -500px 0 0 -500px; background: radial-gradient(closest-side, rgba(201, 188, 235, .95), rgba(201, 188, 235, .55) 42%, rgba(201, 188, 235, 0)); }
.ht-tint { width: 640px; height: 640px; margin: -320px 0 0 -320px; background: radial-gradient(closest-side, rgba(123, 91, 214, 1), rgba(123, 91, 214, .6) 45%, rgba(123, 91, 214, 0)); mix-blend-mode: lighten; }

.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: minmax(0, 1.3fr) minmax(0, 1fr); height: clamp(640px, calc(100svh - var(--hh)), 900px); }
.c { min-width: 0; padding: var(--pad); }
.c-title { grid-column: 1 / 3; grid-row: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; background: var(--paper); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.c-title h1 { max-width: 13ch; font-size: clamp(44px, 5.1vw, 86px); font-weight: 500; line-height: .98; letter-spacing: -.042em; text-wrap: balance; }
.c-win-a { grid-column: 3 / 5; grid-row: 1; }
.c-win-b { grid-column: 1 / 3; grid-row: 2; }
.c-dark { grid-column: 3; grid-row: 2; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; background: var(--indigo); color: #fff; }
.c-lilac { grid-column: 4; grid-row: 2; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; background: var(--lilac); border-left: 1px solid rgba(42, 28, 76, .12); }
.lede { font-size: clamp(17px, 1.45vw, 21px); line-height: 1.3; letter-spacing: -.012em; }
.c-dark .lede { color: #fff; }
.cell-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .22); font: 400 12px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: #fff; }
.mini { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(42, 28, 76, .18); }
.mini > div { padding-top: 14px; }
.mini > div:first-child { padding-right: 16px; }
.mini > div + div { padding-left: 16px; border-left: 1px solid rgba(42, 28, 76, .18); }
.mini dt { font-size: clamp(30px, 2.8vw, 44px); font-weight: 500; line-height: 1; letter-spacing: -.04em; color: var(--indigo); }
.mini dd { margin-top: 8px; font: 400 11px/1.35 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); }

@media (max-width: 1023px) {
    .hero-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto clamp(260px, 42vw, 380px) auto; height: auto; }
    .c-title { grid-column: 1 / 3; grid-row: 1; min-height: 420px; border-right: 0; }
    .c-title h1 { max-width: 14ch; font-size: clamp(48px, 7.6vw, 76px); }
    .c-win-a { grid-column: 1 / 3; grid-row: 2; }
    .c-win-b { display: none; }
    .c-dark { grid-column: 1; grid-row: 3; min-height: 300px; }
    .c-lilac { grid-column: 2; grid-row: 3; min-height: 300px; }
}
@media (max-width: 639px) {
    .hero-grid { grid-template-columns: 1fr; grid-template-rows: auto 240px auto auto; }
    .c-title { grid-column: 1; min-height: 0; padding-top: 32px; padding-bottom: 36px; gap: 64px; }
    .c-title h1 { font-size: clamp(40px, 11.4vw, 56px); }
    .c-win-a { grid-column: 1; }
    .c-dark { grid-column: 1; grid-row: 3; min-height: 0; }
    .c-lilac { grid-column: 1; grid-row: 4; min-height: 0; border-left: 0; }
}

/* ---------- the group in numbers ---------- */
.group { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.g-cell { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 230px; padding: var(--pad); border-right: 1px solid var(--line); }
.g-cell:last-child { border-right: 0; }
.g-intro p:not(.label) { max-width: 34ch; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.3; letter-spacing: -.012em; }
.g-intro { justify-content: flex-start; gap: 18px; }
.g-intro .text-link { margin-top: auto; }
.g-num { font-size: clamp(64px, 7vw, 112px); font-weight: 500; line-height: .86; letter-spacing: -.055em; color: var(--indigo); }
@media (max-width: 1023px) {
    .group { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .g-intro { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid var(--line); min-height: 0; }
    .g-intro .text-link { margin-top: 6px; }
    .g-cell { min-height: 190px; }
}
@media (max-width: 639px) {
    .group { grid-template-columns: 1fr; }
    .g-cell { min-height: 0; gap: 14px; border-right: 0; border-bottom: 1px solid var(--line); }
    .g-cell:last-child { border-bottom: 0; }
}

/* ---------- before the first meeting ---------- */
.problem { border-bottom: 1px solid var(--line); }
.problem-head { display: flex; flex-direction: column; align-items: center; gap: 26px; padding: clamp(80px, 11vw, 168px) var(--pad); text-align: center; }
.statement { max-width: 24ch; font-size: clamp(30px, 3.6vw, 56px); font-weight: 450; line-height: 1.08; letter-spacing: -.034em; text-wrap: balance; }
.statement .hl { color: var(--violet); }
.costs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-top: 1px solid var(--line); }
.costs-img { position: relative; min-height: 420px; border-right: 1px solid var(--line); background: var(--tint); }
.costs-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.costs-list { display: flex; flex-direction: column; gap: 10px; padding: var(--pad) 0 0; }
.costs-list > .label { padding: 0 var(--pad) 18px; }
.costs-list li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 8px; padding: 28px var(--pad) 32px; border-top: 1px solid var(--line); }
.costs-list .n { font: 400 12px/1.9 var(--mono); letter-spacing: .08em; color: var(--mute); }
.costs-list h3 { font-size: clamp(21px, 1.8vw, 27px); font-weight: 500; line-height: 1.15; letter-spacing: -.022em; }
.costs-list p { max-width: 52ch; margin-top: 10px; color: var(--ink-2); }
@media (max-width: 1023px) {
    .costs { grid-template-columns: 1fr; }
    .costs-img { min-height: 0; aspect-ratio: 3 / 2; border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 520px) { .costs-list li { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- what we do ---------- */
.what { border-bottom: 1px solid var(--line); }
.what-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: end; padding: clamp(72px, 9vw, 140px) var(--pad) clamp(40px, 4vw, 64px); }
.big { font-size: clamp(56px, 9.2vw, 152px); font-weight: 500; line-height: .86; letter-spacing: -.058em; text-wrap: balance; }
.what-intro p:first-child { max-width: 38ch; font-size: clamp(19px, 1.6vw, 23px); line-height: 1.3; letter-spacing: -.012em; }
.what-intro .note { display: flex; gap: 10px; max-width: 46ch; margin-top: 18px; color: var(--mute); font-size: 15px; }
.what-intro .note::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: 8px; background: var(--violet); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.card { position: relative; display: flex; flex-direction: column; min-height: 380px; padding: var(--pad); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; transition: background-color .25s var(--ease); }
.card:nth-child(3n) { border-right: 0; }
.card:nth-last-child(-n+3) { border-bottom: 0; }
.card:hover { background: var(--tint); }
.card .ico { width: 60px; height: 60px; color: var(--indigo); transition: color .25s var(--ease); }
.card:hover .ico { color: var(--glow); }
.card-no { margin-top: 64px; font: 400 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.card h3 { margin-top: 14px; font-size: clamp(24px, 2.1vw, 32px); font-weight: 500; line-height: 1.05; letter-spacing: -.03em; }
.card p { max-width: 40ch; margin: 12px 0 26px; color: var(--ink-2); font-size: 16px; }
.card-more { display: inline-flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font: 400 11.5px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--indigo); align-self: stretch; justify-content: space-between; }
.card-cta { background: var(--tint); }
.card-cta:hover { background: var(--lilac); }
@media (max-width: 1023px) {
    .what-head { grid-template-columns: 1fr; gap: 28px; }
    .cards { grid-template-columns: 1fr 1fr; }
    .card:nth-child(3n) { border-right: 1px solid var(--line); }
    .card:nth-child(2n) { border-right: 0; }
    .card:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
    .card:nth-last-child(-n+2) { border-bottom: 0; }
    .card { min-height: 340px; }
}
@media (max-width: 639px) {
    .cards { grid-template-columns: 1fr; }
    .card, .card:nth-child(3n) { border-right: 0; min-height: 0; }
    .card:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
    .card:last-child { border-bottom: 0; }
    .card-no { margin-top: 40px; }
}

/* ---------- let's start a conversation ---------- */
.talk { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); border-bottom: 1px solid var(--line); }
.talk-body { display: flex; flex-direction: column; gap: 26px; padding: clamp(64px, 8vw, 120px) var(--pad); background: var(--lilac); }
.talk-body .big { max-width: 12ch; font-size: clamp(52px, 7.4vw, 124px); text-wrap: balance; }
.talk-lede { max-width: 46ch; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.45; color: var(--ink-2); }
.talk-body .btns { margin-top: 10px; }
.talk-win { position: relative; min-height: 420px; border-left: 1px solid var(--line); }
@media (max-width: 1023px) {
    .talk { grid-template-columns: 1fr; }
    .talk-win { min-height: 260px; border-left: 0; border-top: 1px solid var(--line); order: -1; }
}
@media (max-width: 520px) { .talk .btn { width: 100%; } }

/* ---------- footer ---------- */
.ft { background: var(--paper); }
.ft-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.ft-cell { display: flex; flex-direction: column; gap: 18px; padding: clamp(36px, 4vw, 56px) var(--pad); border-right: 1px solid var(--line); }
.ft-cell:last-child { border-right: 0; }
.ft-brand img { width: auto; height: 38px; }
.ft-brand > p:not(.label) { max-width: 26ch; font-size: 19px; line-height: 1.3; letter-spacing: -.01em; }
.ft-brand .label { margin-top: auto; }
.ft-cell ul { display: flex; flex-direction: column; gap: 9px; font-size: 15.5px; }
.ft-cell ul a { text-decoration: none; }
.ft-cell ul a:hover { color: var(--violet); text-decoration: underline; text-underline-offset: 3px; }
.ft-cell .muted { color: var(--mute); }
.ft-clocks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.ft-clocks .clk { padding: 16px var(--pad); border-right: 1px solid var(--line); }
.ft-clocks .clk:last-child { border-right: 0; }
.ft-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 40px; padding: 22px var(--pad) 28px; color: var(--mute); font-size: 13.5px; }
.ft-legal p:first-child { max-width: 82ch; }
.ft-legal a { color: var(--ink-2); text-underline-offset: 3px; }
@media (max-width: 1023px) {
    .ft-grid { grid-template-columns: 1fr 1fr; }
    .ft-brand { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid var(--line); }
    .ft-cell:nth-child(2) { border-right: 1px solid var(--line); }
    .ft-cell:nth-child(3) { border-right: 0; }
    .ft-cell:nth-child(4) { grid-column: 1 / -1; border-top: 1px solid var(--line); }
    .ft-clocks { grid-template-columns: 1fr 1fr; }
    .ft-clocks .clk:nth-child(2) { border-right: 0; }
    .ft-clocks .clk:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 520px) {
    .ft-grid { grid-template-columns: 1fr; }
    .ft-cell, .ft-cell:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); }
    .ft-cell:nth-child(4) { border-top: 0; border-bottom: 0; }
}

/* ---------- What we do and the service pages ---------- */
.hero--page .hero-grid { height: clamp(600px, calc(100svh - var(--hh)), 860px); }
.page-h1 { font-size: clamp(48px, 5.6vw, 96px); font-weight: 500; line-height: .94; letter-spacing: -.048em; text-wrap: balance; }
.page-lede { max-width: 36ch; margin-top: 22px; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.38; letter-spacing: -.01em; color: var(--ink-2); }
.c-lilac .label { color: var(--ink-2); }
.c-lilac .label + .lede { margin-top: auto; }

.sec-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: end; padding: clamp(72px, 9vw, 140px) var(--pad) clamp(40px, 4vw, 64px); }
.sec-head .big { font-size: clamp(52px, 8vw, 132px); }
.sec-intro { max-width: 40ch; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.32; letter-spacing: -.012em; }

.get, .svc, .how { border-bottom: 1px solid var(--line); }
.get-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.get-item { display: flex; flex-direction: column; min-height: 270px; padding: var(--pad); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.get-item:nth-child(3n) { border-right: 0; }
.get-item:nth-last-child(-n+3) { border-bottom: 0; }
.get-item .n, .step .n, .svc-row .n { font: 400 12px/1 var(--mono); letter-spacing: .08em; color: var(--mute); }
.get-item h3 { text-wrap: balance; margin-top: 56px; font-size: clamp(22px, 1.9vw, 28px); font-weight: 500; line-height: 1.08; letter-spacing: -.026em; }
.get-item p { max-width: 40ch; margin-top: 12px; color: var(--ink-2); font-size: 16px; }

.svc-list { border-top: 1px solid var(--line); }
.svc-row { display: grid; grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1fr) 24px; gap: 28px; align-items: center; padding: 30px var(--pad); border-bottom: 1px solid var(--line); text-decoration: none; transition: background-color .25s var(--ease); }
.svc-row:last-child { border-bottom: 0; }
.svc-row h3 { text-wrap: balance; font-size: clamp(30px, 3.3vw, 54px); font-weight: 500; line-height: 1; letter-spacing: -.042em; transition: color .25s var(--ease); }
.svc-row p { max-width: 46ch; color: var(--ink-2); }
.svc-row .ar { width: 22px; height: 22px; color: var(--indigo); }
.svc-row:hover { background: var(--tint); }
.svc-row:hover h3 { color: var(--violet); }
.svc-row:hover .ar { transform: translateX(4px); }

.steps { display: grid; border-top: 1px solid var(--line); counter-reset: none; }
.steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step { position: relative; display: flex; flex-direction: column; min-height: 300px; padding: var(--pad); border-right: 1px solid var(--line); }
.step:last-child { border-right: 0; }
.step::before { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 100%; background: var(--indigo); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease) .2s; }
.step.in::before { transform: scaleX(1); }
.step h3 { text-wrap: balance; margin-top: 56px; font-size: clamp(22px, 1.9vw, 28px); font-weight: 500; line-height: 1.08; letter-spacing: -.026em; }
.step p { margin-top: 12px; color: var(--ink-2); font-size: 16px; }

.next-link { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 28px; align-items: center; padding: 30px var(--pad); border-top: 1px solid var(--line); text-decoration: none; transition: background-color .25s var(--ease); }
.next-name { font-size: clamp(28px, 3vw, 48px); font-weight: 500; line-height: 1; letter-spacing: -.04em; }
.next-link .ar { width: 22px; height: 22px; color: var(--indigo); }
.next-link:hover { background: var(--tint); }
.next-link:hover .next-name { color: var(--violet); }
.next-link:hover .ar { transform: translateX(4px); }

@media (max-width: 1023px) {
    .hero--page .hero-grid { height: auto; }
    .page-h1 { font-size: clamp(48px, 8vw, 84px); }
    .sec-head { grid-template-columns: 1fr; gap: 24px; }
    .get-grid { grid-template-columns: 1fr 1fr; }
    .get-item:nth-child(3n) { border-right: 1px solid var(--line); }
    .get-item:nth-child(2n) { border-right: 0; }
    .get-item:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
    .get-item:nth-last-child(-n+2) { border-bottom: 0; }
    .svc-row { grid-template-columns: 56px minmax(0, 1fr) 24px; row-gap: 10px; }
    .svc-row p { grid-column: 2; grid-row: 2; }
    .svc-row .ar { grid-column: 3; grid-row: 1; }
    .steps-4 { grid-template-columns: 1fr 1fr; }
    .steps-4 .step:nth-child(2) { border-right: 0; }
    .steps-4 .step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .steps-3 { grid-template-columns: 1fr; }
    .steps-3 .step { border-right: 0; border-bottom: 1px solid var(--line); min-height: 0; }
    .steps-3 .step:last-child { border-bottom: 0; }
    .steps-3 .step h3 { margin-top: 28px; }
}
@media (max-width: 639px) {
    .get-grid, .steps-4 { grid-template-columns: 1fr; }
    .get-item, .get-item:nth-child(3n), .step { border-right: 0; min-height: 0; }
    .get-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
    .get-item:last-child { border-bottom: 0; }
    .get-item h3, .step h3 { margin-top: 28px; }
    .steps-4 .step { border-bottom: 1px solid var(--line); }
    .steps-4 .step:last-child { border-bottom: 0; }
    .svc-row { grid-template-columns: 40px minmax(0, 1fr) 22px; gap: 14px; padding: 24px var(--pad); }
    .svc-row h3 { font-size: clamp(24px, 7.4vw, 30px); }
    .next-link { grid-template-columns: minmax(0, 1fr) auto; gap: 10px 20px; }
    .next-link .label { grid-column: 1 / -1; }
}

/* ---------- About and Who we work with ---------- */
.why { border-bottom: 1px solid var(--line); }
.why-text { max-width: 60ch; margin: 6px auto 0; color: var(--ink-2); font-size: clamp(17px, 1.3vw, 19px); }
.get-grid-3 .get-item { min-height: 230px; }
.get-grid-3 .get-item:nth-last-child(-n+3) { border-bottom: 0; }
.juris { border-bottom: 1px solid var(--line); }
.regions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.region { display: flex; flex-direction: column; gap: 22px; min-height: 220px; padding: var(--pad); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.region:nth-child(3n) { border-right: 0; }
.region:nth-last-child(-n+3) { border-bottom: 0; }
.region ul { display: flex; flex-direction: column; gap: 6px; }
.region li { font-size: clamp(20px, 1.7vw, 26px); font-weight: 450; line-height: 1.2; letter-spacing: -.02em; }
.not { border-bottom: 1px solid var(--line); background: var(--tint); }
.not .get-item { background: transparent; }
.team { border-bottom: 1px solid var(--line); }
.people { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.people-1 { grid-template-columns: minmax(0, 1fr); } .people-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .people-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.person { display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; min-height: 240px; padding: var(--pad); border-right: 1px solid var(--line); }
.person:last-child { border-right: 0; }
.person-name { font-size: clamp(30px, 3.2vw, 52px); font-weight: 500; line-height: 1; letter-spacing: -.042em; }
@media (max-width: 1023px) {
    .regions { grid-template-columns: 1fr 1fr; }
    .region:nth-child(3n) { border-right: 1px solid var(--line); }
    .region:nth-child(2n) { border-right: 0; }
    .region:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
    .region:nth-last-child(-n+2) { border-bottom: 0; }
    .get-grid-3 { grid-template-columns: 1fr; }
    .get-grid-3 .get-item, .get-grid-3 .get-item:nth-child(3n) { border-right: 0; min-height: 0; }
    .get-grid-3 .get-item:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
    .get-grid-3 .get-item:last-child { border-bottom: 0; }
    .get-grid-3 .get-item h3 { margin-top: 28px; }
    .people { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 639px) {
    .regions, .people { grid-template-columns: 1fr; }
    .region, .region:nth-child(3n) { border-right: 0; min-height: 0; }
    .region:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
    .region:last-child { border-bottom: 0; }
    .person { border-right: 0; border-bottom: 1px solid var(--line); min-height: 0; }
}

/* ---------- holding pages, contact, 404 ---------- */
.hold { display: flex; flex-direction: column; min-height: 100svh; }
.hold-top { display: flex; align-items: stretch; height: var(--hh); border-bottom: 1px solid var(--line); }
.hold-clocks { display: grid; grid-template-columns: auto auto; column-gap: 26px; row-gap: 4px; align-content: center; padding: 0 24px; border-right: 1px solid var(--line); }
.hold-back { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-width: 150px; margin-left: auto; padding: 0 var(--pad); border-left: 1px solid var(--line); font-size: 15px; text-decoration: none; }
.hold-back:hover { color: var(--violet); }
.hold-main { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 22px; flex: 1; width: 100%; max-width: 1100px; padding: clamp(64px, 10vw, 140px) var(--pad); }
.hold-title { font-size: clamp(64px, 11vw, 168px); font-weight: 500; line-height: .86; letter-spacing: -.058em; }
.hold-line { max-width: 40ch; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.3; letter-spacing: -.015em; }
.hold-note { max-width: 52ch; color: var(--mute); }
.hold-main .btn, .hold-main .btns { margin-top: 10px; }
.hold-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px; padding: 18px var(--pad) 22px; border-top: 1px solid var(--line); color: var(--mute); font-size: 14px; }
.hold-foot a { color: var(--ink-2); text-underline-offset: 3px; }
@media (max-width: 760px) { .hold-clocks { display: none; } }

/* ---------- privacy notice ---------- */
.doc { max-width: 900px; padding: clamp(64px, 9vw, 120px) var(--pad); }
.doc-title { margin-top: 22px; font-size: clamp(40px, 5.4vw, 80px); font-weight: 500; line-height: .95; letter-spacing: -.045em; }
.prose { margin-top: 56px; }
.prose h2 { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 21px; font-weight: 500; letter-spacing: -.015em; }
.prose p { margin-top: 12px; color: var(--ink-2); }
.prose a, .hold-note a { color: var(--indigo); text-underline-offset: 3px; }

/* ---------- quiet reveal: hidden only while script.js runs (js-ready), shown after 3 s if it never does ---------- */
@keyframes show { to { opacity: 1; transform: none; } }
.js .rv { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); animation: show 0s 3s forwards; }
.js-ready .rv { animation: none; }
.js .rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js .rv { opacity: 1; transform: none; transition: none; animation: none; }
    .ht-haze, .ht-tint, .ht-dots, .ht-img { transition: none; }
    .ar, .sub, .btn, .card { transition: none; }
    .step::before { transform: none; transition: none; }
}

@media print {
    .hd, .ht, .talk-win, .ft-clocks, .skip { display: none !important; }
    .js .rv { opacity: 1 !important; transform: none !important; }
}
