/* THE ONE SIDE, version 2, in version 1's own style: navy and white, Inter, square buttons with an arrow cell.
   Revised after the client meeting of 31 Oct: no section numbers and no dividing lines, smaller and cleaner type,
   a header that stays in view and turns white on scroll, a compact hero box, the principles as a small ticker. */

@font-face { font-family: "Inter"; src: url(/assets/inter-tos.70bb7d01c9.woff2) format("woff2"); font-weight: 300 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Fallback"; src: local("Arial"); size-adjust: 107.4%; ascent-override: 90.2%; descent-override: 22.5%; line-gap-override: 0%; }

:root {
  --page: #FFFFFF;
  --surface: #F2F4F7;
  --surface-2: #E5E9EF;
  --ink: #0B1A2F;
  --ink-2: #24324A;
  --muted: #4C586B;
  --hairline: #DCE1E8;
  --primary: #0A1C34;
  --primary-2: #12294A;
  --on-primary: #EEF2F8;
  --on-primary-2: #C6D0DD;
  --on-primary-muted: #8494AA;
  --hairline-on-primary: rgba(238, 242, 248, .16);
  --accent: #38639A;
  --accent-on-primary: #9FB8DA;
  --tone: #6E7F98;

  --font: "Inter", "Inter Fallback", Arial, sans-serif;
  --fs-hero: clamp(2.25rem, 1.6rem + 2.8vw, 4.25rem);
  --fs-page: clamp(2rem, 1.5rem + 2.4vw, 3.5rem);
  --fs-h2: clamp(1.625rem, 1.35rem + 1.2vw, 2.5rem);
  --fs-h3: clamp(1.0625rem, 1rem + .3vw, 1.3125rem);
  --fs-lede: clamp(1.0625rem, 1.02rem + .2vw, 1.1875rem);
  --fs-body: 1rem;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: clamp(20px, 3.4vw, 48px);
  --max: 1344px;
  --sec: clamp(72px, 5vw + 40px, 128px);
  --hdr: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--page); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: var(--font); font-size: var(--fs-body); line-height: 1.6; overflow-x: clip; }
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p, h1, h2, h3, h4, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--primary); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 12px 18px; background: var(--primary); color: #fff; font-size: 14px; transition: top .2s; }
.skip:focus { top: 16px; }
.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.sec { position: relative; padding-top: var(--sec); }
main > .sec:last-child { padding-bottom: var(--sec); }

/* ---------- type ---------- */
.h2, .h3x, .hero__h, .phead__h { font-weight: 500; letter-spacing: -.025em; color: var(--ink); }
.h2 { font-size: var(--fs-h2); line-height: 1.08; max-width: 16ch; text-wrap: balance; }
.h2--stack .vl { display: block; }
.h3x { font-size: clamp(1.25rem, 1.15rem + .5vw, 1.5rem); line-height: 1.2; }
.tone { color: var(--tone); }
.lede { font-size: var(--fs-lede); line-height: 1.55; color: var(--ink); font-weight: 400; max-width: 40ch; }
.copy p { color: var(--ink-2); line-height: 1.7; max-width: 62ch; }
.copy p + p, .lede + .copy { margin-top: 1.1em; }
.copy--lg p { font-size: 1.0625rem; }
.sl { padding-bottom: .06em; }

/* ---------- section label (no number, no rule) ---------- */
.bar { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.bar__l { display: flex; align-items: center; gap: 14px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.bar__t { color: var(--accent); }
.bar__go { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.bar__go .arw { width: 14px; transition: transform .4s var(--ease); }
.bar__go:hover .arw { transform: translateX(4px); }
.head { display: grid; gap: 20px 64px; align-items: end; padding: clamp(20px, 2vw, 32px) 0 0; }
.head__p { font-size: var(--fs-lede); line-height: 1.6; color: var(--ink-2); max-width: 46ch; }
@media (min-width: 1024px) { .head { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }

/* ---------- buttons and links (version 1) ---------- */
.arw { width: 16px; height: 16px; flex: none; }
.btn { --btn-bg: var(--primary); --btn-fg: #fff; --btn-sq-fg: #fff; --btn-rule: rgba(255, 255, 255, .22); --btn-h: 48px;
  display: inline-flex; align-items: center; gap: 22px; height: var(--btn-h); padding-left: 24px; background: var(--btn-bg); color: var(--btn-fg);
  font-size: 14px; font-weight: 500; letter-spacing: .01em; white-space: nowrap; transition: background-color .3s, color .3s; }
.btn:hover { --btn-bg: var(--primary-2); }
.btn:active { transform: scale(.98); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--ink); --btn-sq-fg: var(--accent); --btn-rule: rgba(11, 26, 47, .14); }
.btn--light:hover { --btn-bg: var(--surface); }
.btn--caps { font-size: 13px; letter-spacing: .1em; }
.btn--sm { --btn-h: 44px; gap: 16px; padding-left: 18px; font-size: 14px; }
.btn--sm .btn__sq { width: 44px; }
.btn__label { display: block; overflow: clip; padding-block: .2em; margin-block: -.2em; }
.btn__roll { position: relative; display: block; transition: transform .6s var(--ease); }
.btn__roll::after { content: attr(data-t); position: absolute; left: 0; top: 130%; }
.btn__sq { position: relative; display: grid; place-items: center; width: var(--btn-h); height: 100%; overflow: clip; color: var(--btn-sq-fg); box-shadow: inset 1px 0 0 var(--btn-rule); }
.btn__g { font-size: 18px; font-weight: 400; letter-spacing: 0; transition: transform .6s var(--ease); }
.btn__sq .arw { transition: transform .6s var(--ease); }
@media (hover: hover) {
  .btn:hover .btn__roll { transform: translateY(-130%); }
  .btn:hover .btn__g, .btn:hover .btn__sq .arw { transform: translateX(5px); }
}
.tlink { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; color: var(--ink); padding: 6px 0; border-bottom: 1px solid currentColor; }
.tlink .arw { width: 14px; transition: transform .4s var(--ease); }
.tlink:hover .arw { transform: translateX(4px); }
.tlink--light { color: #fff; }
.go { margin-top: 36px; }

/* ---------- header ---------- */
.hdr { --hfg: #fff; position: fixed; inset: 0 0 auto; z-index: 50; color: var(--hfg); border-bottom: 1px solid transparent; transition: transform .6s var(--ease), background-color .4s, border-color .4s, color .4s; }
.hdr[data-tone="light"], .hdr.is-solid { --hfg: var(--ink); }
.hdr.is-solid { background: #fff; box-shadow: 0 6px 24px rgba(11, 26, 47, .06); }
.hdr__in { display: flex; align-items: center; gap: 32px; height: var(--hdr); transition: height .4s var(--ease); max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.logo { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.logo__m svg { width: 30px; height: 30px; }
.logo__w { font-size: 14px; font-weight: 600; letter-spacing: .2em; white-space: nowrap; }
.hdr__nav { display: none; gap: 36px; margin-left: auto; }
.hdr__a { position: relative; font-size: 14px; font-weight: 500; padding: 6px 0; }
.hdr__a span::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: 100% 50%; transition: transform .5s var(--ease); }
.hdr__a:hover span::after, .hdr__a[aria-current] span::after { transform: scaleX(1); transform-origin: 0 50%; }
.hdr__r { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.hdr__cta { display: none; }
.hdr:not(.is-solid):not([data-tone="light"]) .hdr__cta { --btn-bg: #fff; --btn-fg: var(--ink); --btn-sq-fg: var(--accent); --btn-rule: rgba(11, 26, 47, .14); }
.menu-btn { display: inline-flex; align-items: center; gap: 12px; height: 44px; font-size: 15px; font-weight: 500; }
.menu-btn__lines { position: relative; width: 22px; height: 9px; }
.menu-btn__lines span { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.menu-btn__lines span:first-child { top: 0; }
.menu-btn__lines span:last-child { top: 7.5px; }
html.menu-open .hdr { --hfg: var(--ink); background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
html.menu-open .hdr__cta { visibility: hidden; }
html.menu-open .menu-btn__lines span:first-child { top: 3.75px; transform: rotate(45deg); }
html.menu-open .menu-btn__lines span:last-child { top: 3.75px; transform: rotate(-45deg); }
@media (min-width: 720px) { .hdr__cta { display: inline-flex; } }
@media (min-width: 1280px) { .hdr__nav { display: flex; } .menu-btn { display: none; } .hdr__nav + .hdr__r { margin-left: 16px; } }
@media (min-width: 1280px) and (max-width: 1439px) { .hdr__nav { gap: 26px; } .hdr__in { gap: 24px; } }
@media (max-width: 600px) { :root { --hdr: 68px; } .logo__w { font-size: 12px; letter-spacing: .16em; } .logo__m svg { width: 26px; height: 26px; } }

/* ---------- menu ---------- */
.idx { position: fixed; inset: 0; z-index: 45; background: var(--page); color: var(--ink); overflow-y: auto; visibility: hidden; clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease), visibility 0s .7s; }
.idx.is-open { visibility: visible; clip-path: inset(0); transition: clip-path .7s var(--ease), visibility 0s; }
.idx__in { min-height: 100%; display: flex; flex-direction: column; padding-top: calc(var(--hdr) + 16px); padding-bottom: 28px; }
.idx__grid { display: grid; gap: 40px; flex: 1; padding-bottom: 40px; }
.idx__a { display: flex; align-items: center; gap: 18px; padding: 12px 0; font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.1; }
.idx__a .arw { margin-left: auto; color: var(--accent); }
.idx__a[aria-current] .idx__t { color: var(--accent); }
.idx__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-content: start; }
.idx__h, .ftr__h { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.idx__cols li a { display: inline-block; padding: 5px 0; font-size: 15px; color: var(--ink-2); }
.idx__foot { display: flex; justify-content: space-between; gap: 16px; padding-top: 16px; font-size: 13px; color: var(--muted); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: max(100svh, 680px); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate; color: #fff; background: var(--primary); }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 28, 52, .55) 0%, rgba(10, 28, 52, .1) 30%, rgba(10, 28, 52, .35) 60%, rgba(10, 28, 52, .88) 100%), linear-gradient(90deg, rgba(10, 28, 52, .55), rgba(10, 28, 52, 0) 65%); }
.hero__in { padding-top: calc(var(--hdr) + 48px); padding-bottom: clamp(40px, 5vw, 72px); }
.hero__k { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--on-primary-2); margin-bottom: 24px; }
.hero__h { font-size: var(--fs-hero); line-height: 1.02; color: #fff; max-width: 16ch; }
.hero__h .l, .phead__h .l { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__h .li, .phead__h .li { display: inline-block; }
.hero__h .l--tone { color: #fff; }   /* feedback of 8 Nov: both lines of the hero headline in white */
.hero__sub { margin-top: 24px; font-size: var(--fs-lede); color: var(--on-primary); max-width: 40ch; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; margin-top: 32px; }
.hero__in { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 40px 48px; }
.hero__copy { flex: 1 1 520px; min-width: 0; }
/* the compact quick-nav box: one service at a time, a tick per service, no numbers */
.hbox { flex: none; width: 272px; padding: 18px 20px 16px; background: rgba(10, 28, 52, .5); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: #fff; }
.hbox__k { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--on-primary-2); margin-bottom: 14px; }
.hbox__items { display: grid; }
.hbox__i { grid-area: 1 / 1; display: grid; gap: 6px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .5s, transform .6s var(--ease), visibility 0s .5s; }
.hbox__i.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .5s .1s, transform .6s .1s var(--ease), visibility 0s; }
.hbox__t { font-size: 17px; font-weight: 500; letter-spacing: -.01em; }
.hbox__more { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--on-primary-2); }
.hbox__more .arw { width: 12px; transition: transform .4s var(--ease); }
.hbox__i:hover .hbox__more { color: #fff; }
.hbox__i:hover .hbox__more .arw { transform: translateX(3px); }
.hbox__ticks { display: flex; gap: 6px; margin-top: 16px; }
.hbox__tick { position: relative; flex: 1; height: 2px; background: rgba(255, 255, 255, .22); overflow: hidden; }
.hbox__tick i { position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: 0 50%; }
.hbox__tick.is-done i { transform: scaleX(1); }
.hbox__tick.is-on i { animation: hbox 5s linear forwards; }
.hbox.is-paused .hbox__tick.is-on i { animation-play-state: paused; }
@keyframes hbox { to { transform: scaleX(1); } }
@media (max-width: 899px) { .hbox { display: none; } }

/* ---------- split and feature ---------- */
.split { display: grid; gap: 40px 72px; padding-top: clamp(20px, 2vw, 32px); }
.split__f { margin-top: 40px; aspect-ratio: 4 / 3; overflow: hidden; }
.split__f img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1024px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .split__l { position: sticky; top: 120px; align-self: start; } }
.feature { display: grid; gap: 40px 72px; align-items: center; padding-top: clamp(20px, 2vw, 32px); }
.feature__f { aspect-ratio: 4 / 3; overflow: hidden; }
.feature__f img { width: 100%; height: 100%; object-fit: cover; }
.feature__t .lede { margin-top: 28px; }
@media (min-width: 1024px) { .feature { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .feature--r .feature__f { order: 2; } }
.fact { display: flex; align-items: center; gap: 20px; margin-top: 32px; padding: 20px 24px; background: var(--surface); }
.fact__v { font-size: clamp(2.25rem, 1.9rem + 1.4vw, 3rem); font-weight: 500; letter-spacing: -.03em; line-height: 1; color: var(--primary); font-variant-numeric: tabular-nums; }
.fact__l { font-size: 14px; color: var(--ink-2); max-width: 26ch; line-height: 1.45; }

/* ---------- principles ticker, just above the footer ---------- */
.tick { background: var(--primary-2); color: var(--on-primary-2); overflow: hidden; }
.tick__row { display: flex; align-items: center; height: 52px; }
.tick__k { flex: none; display: flex; align-items: center; height: 100%; padding: 0 20px 0 var(--gutter); background: var(--primary-2); position: relative; z-index: 1; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #fff; box-shadow: 16px 0 16px var(--primary-2); }
.tick__mq { flex: 1; min-width: 0; display: flex; gap: 48px; overflow: hidden; }
.tick__track { display: flex; gap: 48px; flex: none; animation: mq 70s linear infinite; }
.tick__mq:hover .tick__track, .tick__mq.is-paused .tick__track { animation-play-state: paused; }
.tick__i { display: flex; align-items: baseline; gap: 10px; white-space: nowrap; font-size: 14px; }
.tick__t { font-weight: 600; color: #fff; }
.tick__p { color: var(--on-primary-2); }
.tick__i::after { content: ""; width: 4px; height: 4px; margin-left: 38px; align-self: center; background: var(--accent-on-primary); }
.tick__pause { flex: none; display: grid; place-items: center; width: 52px; height: 100%; color: #fff; position: relative; z-index: 1; background: var(--primary-2); box-shadow: -16px 0 16px var(--primary-2); }
.band__pi { width: 9px; height: 11px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.tick__pause[aria-pressed="true"] .band__pi { width: 0; height: 0; border: 0; border-left: 9px solid currentColor; border-top: 5.5px solid transparent; border-bottom: 5.5px solid transparent; }
@keyframes mq { to { transform: translateX(calc(-100% - 48px)); } }

/* ---------- what we bring: titles in blue, a plus opens each ---------- */
.head--bring { padding-bottom: 8px; }
.accs { margin-top: 24px; display: grid; gap: 4px; }
.acc__s { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 0; cursor: pointer; list-style: none; }
.acc__s::-webkit-details-marker { display: none; }
.acc__t { font-size: clamp(1.25rem, 1.1rem + .7vw, 1.75rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.2; color: var(--accent); transition: color .3s; }
.acc__s:hover .acc__t, .acc[open] .acc__t { color: var(--primary); }
.acc__plus { flex: none; display: grid; place-items: center; width: 36px; height: 36px; background: var(--surface); color: var(--primary); transition: background-color .3s, color .3s; }
.acc__plus .plus { width: 12px; height: 12px; transition: transform .5s var(--ease); }
.acc[open] .acc__plus { background: var(--primary); color: #fff; }
.acc[open] .acc__plus .plus { transform: rotate(45deg); }
.acc__b { padding: 4px 60px 24px 0; max-width: 72ch; }
.acc__b p { color: var(--ink-2); line-height: 1.7; }
.acc__b p + p { margin-top: .9em; }
.acc__lede { color: var(--ink) !important; }
.acc__go { margin-top: 16px; }
.acc__go .tlink { font-size: 14px; }

/* ---------- our services: the six in a large navy block over the city (version 1, block 5) ---------- */
.scope { position: relative; margin-top: var(--sec); padding: clamp(80px, 8vw, 136px) 0; color: var(--on-primary); background: var(--primary); overflow: hidden; isolation: isolate; }
.scope__media { position: absolute; inset: 0; z-index: -1; }
.scope__media img { width: 100%; height: 100%; object-fit: cover; }
.scope__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 28, 52, .93), rgba(10, 28, 52, .86) 50%, rgba(10, 28, 52, .96)); }
.scope__head { display: grid; gap: 20px 64px; align-items: end; }
.scope__h { color: #fff; font-size: clamp(2.25rem, 1.6rem + 2.6vw, 4rem); max-width: 14ch; }
.scope__p { font-size: var(--fs-lede); line-height: 1.6; color: var(--on-primary-2); max-width: 46ch; }
.svcs { display: grid; gap: 40px 48px; margin-top: clamp(48px, 5vw, 80px); }
.svc__t { font-size: clamp(1.125rem, 1.05rem + .35vw, 1.375rem); font-weight: 500; letter-spacing: -.015em; line-height: 1.3; color: #fff; margin-bottom: 10px; }
.svc__p { font-size: 15px; line-height: 1.65; color: var(--on-primary-2); max-width: 40ch; }
@media (min-width: 720px) { .svcs { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .scope__head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .svcs { grid-template-columns: repeat(3, 1fr); gap: 56px 64px; } }

/* ---------- who we advise: navy, three photo cards (version 1, block 4) ---------- */
.advb { padding: var(--sec) 0; background: var(--primary); color: var(--on-primary); }
.scope + .advb { padding-top: 0; }
.scope + .advb .wrap { padding-top: var(--sec); }
.advb__k { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-on-primary); }
.advb__head { display: grid; gap: 20px 64px; align-items: end; padding-top: clamp(20px, 2vw, 32px); }
.advb__h { color: #fff; }
.advb__h .tone { color: var(--on-primary-muted); }
.advb__p { font-size: var(--fs-lede); line-height: 1.6; color: var(--on-primary-2); max-width: 46ch; }
.advb .go { margin-top: 20px; }
@media (min-width: 1024px) { .advb__head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.profs { display: grid; gap: 48px 32px; margin-top: clamp(40px, 4vw, 64px); }
.p-advise .profs { margin-top: 32px; }
.prof__f { aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 22px; }
.prof__f img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.prof:hover .prof__f img { transform: scale(1.04); }
.prof__t { font-size: var(--fs-h3); font-weight: 500; letter-spacing: -.015em; line-height: 1.3; color: #fff; margin-bottom: 10px; }
.prof__p { font-size: 15px; line-height: 1.65; color: var(--on-primary-2); max-width: 44ch; }
.prof__p + .prof__p { margin-top: .8em; }
@media (min-width: 900px) { .profs { grid-template-columns: repeat(3, 1fr); } }

/* ---------- approach and value proposition: plain paragraphs ---------- */
.qas { display: grid; gap: 24px; align-content: start; }
.qa { font-size: var(--fs-lede); line-height: 1.65; color: var(--ink); max-width: 56ch; }

/* ---------- contact (navy) ---------- */
.cnt { margin-top: var(--sec); padding-bottom: var(--sec); background: var(--primary); color: var(--on-primary); }
main > .cnt:last-child { margin-bottom: 0; }
.cnt .bar__l, .cnt .bar__t { color: var(--accent-on-primary); }
.cnt__grid { display: grid; gap: 56px; padding-top: clamp(20px, 2vw, 32px); }
.cnt__h { color: #fff; }
.cnt .lede { margin-top: 24px; color: var(--on-primary-2); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.facts dt { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--on-primary-muted); margin-bottom: 6px; }
.facts dd { font-size: 16px; font-weight: 500; color: #fff; }
@media (min-width: 1024px) { .cnt__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 96px; } }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; }
.fld { display: grid; gap: 8px; grid-column: 1 / -1; align-content: start; }
@media (min-width: 600px) { .fld { grid-column: auto; } .fld--full { grid-column: 1 / -1; } }
.fld label { font-size: 13px; font-weight: 500; color: var(--on-primary); }
.fld input, .fld select, .fld textarea { width: 100%; min-height: 52px; padding: 13px 16px; border: 1px solid rgba(238, 242, 248, .28); border-radius: 0; background: rgba(255, 255, 255, .04); color: #fff; font: inherit; font-size: 16px; transition: border-color .3s, background-color .3s; -webkit-appearance: none; appearance: none; }
.fld select { background-image: linear-gradient(45deg, transparent 50%, var(--on-primary-2) 50%), linear-gradient(135deg, var(--on-primary-2) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 17px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.fld select option { color: var(--ink); background: #fff; }
.fld textarea { min-height: 140px; resize: vertical; }
.fld input:hover, .fld select:hover, .fld textarea:hover { border-color: rgba(238, 242, 248, .5); }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: #fff; background: rgba(255, 255, 255, .07); }
.fld [aria-invalid="true"] { border-color: #F2B6A6; }
.fld__err { font-size: 14px; color: #F2B6A6; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__legal { margin-top: 20px; font-size: 14px; color: var(--on-primary-muted); max-width: 60ch; }
.form__foot { display: flex; align-items: center; gap: 24px; margin-top: 24px; }
.form__req { font-size: 14px; color: var(--on-primary-muted); }
.form__note { margin-top: 16px; padding: 14px 16px; border: 1px solid var(--hairline-on-primary); font-size: 15px; }

/* ---------- inner pages ---------- */
.phead { position: relative; min-height: max(72svh, 520px); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate; background: var(--primary); color: #fff; }
.phead__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phead__in { padding-top: calc(var(--hdr) + 48px); padding-bottom: clamp(48px, 5vw, 80px); }
.crumbs { display: flex; gap: 10px; font-size: 14px; color: var(--on-primary-2); margin-bottom: 32px; }
.crumbs a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.phead__h { font-size: var(--fs-page); line-height: 1.02; color: #fff; }
.phead__lede { margin-top: 20px; font-size: var(--fs-lede); color: var(--on-primary); max-width: 40ch; }
.cpage { padding-top: calc(var(--hdr) + 48px); }
.cpage .crumbs { color: var(--muted); }
.cpage .crumbs a:hover { color: var(--ink); }
.cpage .phead__h { color: var(--ink); }
.p-contact .cnt { margin-top: 48px; }
.quote__t { margin-top: clamp(20px, 2vw, 32px); font-size: clamp(1.375rem, 1.1rem + 1.2vw, 2.25rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.25; max-width: 30ch; }
.prs { display: grid; gap: 40px 48px; margin-top: 40px; }
.pr__t { margin: 0 0 8px; color: var(--accent); font-size: var(--fs-h3); font-weight: 500; letter-spacing: -.015em; }
.pr__p { color: var(--ink-2); line-height: 1.7; max-width: 40ch; }
@media (min-width: 720px) { .prs { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .prs { grid-template-columns: repeat(3, 1fr); } }
.engs { display: grid; gap: 40px 24px; margin-top: 56px; }
.eng__f { aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 22px; }
.eng__f img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.eng:hover .eng__f img { transform: scale(1.04); }
.eng__t { margin: 10px 0; font-size: var(--fs-h3); font-weight: 500; letter-spacing: -.015em; line-height: 1.25; }
.eng__p { color: var(--ink-2); line-height: 1.7; }
@media (min-width: 900px) { .engs { grid-template-columns: repeat(3, 1fr); } }
.next { margin-top: var(--sec); background: var(--surface); }
.next__a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 24px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.next__k { grid-column: 1; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.next__t { grid-column: 1; font-size: clamp(1.75rem, 1.4rem + 1.6vw, 3rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.05; }
.next__l { grid-column: 1; font-size: var(--fs-lede); color: var(--ink-2); }
.next__sq { grid-column: 2; grid-row: 1 / 4; display: grid; place-items: center; width: 60px; height: 60px; background: var(--primary); color: #fff; transition: background-color .3s; }
.next__sq .arw { width: 22px; height: 22px; transition: transform .5s var(--ease); }
.next__a:hover .next__sq { background: var(--accent); }
.next__a:hover .next__sq .arw { transform: translateX(5px); }
.map__grid { display: grid; gap: 48px; align-items: center; }
.map__svg { width: 100%; height: auto; overflow: visible; }
.map__es, .map__pt { fill: none; stroke-linecap: round; stroke-width: 7.5; }
.map__es { stroke: var(--primary); }
.map__pt { stroke: var(--surface-2); }
.map__inset { fill: none; stroke: var(--hairline); stroke-dasharray: 3 5; }
.map__ring { fill: none; stroke: var(--accent); stroke-width: 1.5; }
.map__dot { fill: var(--accent); }
.map__cross { stroke: var(--accent); stroke-width: 1.2; }
.map__t .lede { margin-top: 32px; }
.legend { display: grid; gap: 10px; margin-top: 28px; font-size: 15px; color: var(--ink-2); }
.legend li { display: flex; align-items: center; gap: 12px; }
.legend i { width: 10px; height: 10px; }
.legend__es { background: var(--primary); }
.legend__pin { border: 2px solid var(--accent); border-radius: 50%; }
@media (min-width: 1024px) { .map__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 80px; } }

/* ---------- footer ---------- */
.ftr { background: var(--primary); color: var(--on-primary); padding-top: clamp(56px, 5vw, 88px); }
.ftr__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 24px; }
.ftr__line { font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.75rem); font-weight: 500; letter-spacing: -.03em; color: #fff; }
.ftr__cols { display: grid; grid-template-columns: 1fr; gap: 32px; padding: 40px 0; }
.ftr__mark svg { width: 32px; height: 32px; color: #fff; margin-bottom: 16px; }
.ftr__brand p { font-size: 14px; font-weight: 600; letter-spacing: .18em; color: #fff; }
.ftr__brand .ftr__d { font-weight: 400; letter-spacing: 0; color: var(--on-primary-2); margin-top: 6px; }
.ftr .ftr__h { color: var(--on-primary-muted); }
.ftr__col li span { display: inline-flex; padding: 4px 0; font-size: 14px; color: var(--on-primary-2); }
.ftr__col li a { display: inline-flex; gap: 10px; padding: 4px 0; font-size: 14px; color: var(--on-primary-2); transition: color .3s; }
.ftr__col li a:hover { color: #fff; }
.ftr__bot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; padding: 24px 0 32px; font-size: 13px; color: var(--on-primary-muted); }
.ftr__up { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; color: var(--on-primary-2); }
.ftr__up .arw { width: 14px; transform: rotate(-90deg); }
@media (min-width: 768px) { .ftr__cols { grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding: 56px 0 48px; } }

/* ---------- first screen before the intro runs ---------- */
html.intro .hero__h .li, html.intro .phead__h .li { transform: translateY(110%); }
html.intro [data-intro] { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .tick__mq { overflow-x: auto; }
  .tick__track[aria-hidden] { display: none; }
  .tick__track { animation: none; }
  .tick__pause { display: none; }
  .hbox__tick.is-on i { animation: none; transform: scaleX(1); }
}
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
@media (max-width: 600px) { .tick__k { display: none; } .tick__mq { padding-left: var(--gutter); } }
.sec + .advb { margin-top: var(--sec); }

/* ---------- link landings: every jump lands with its heading just below the white header ---------- */
[id] { scroll-margin-top: calc(var(--hdr) + 32px); }
.sec[id] { scroll-margin-top: calc(var(--hdr) + 32px - var(--sec)); }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.jump a { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; background: var(--surface); font-size: 14px; font-weight: 500; color: var(--primary); transition: background-color .3s, color .3s; }
.jump a:hover { background: var(--primary); color: #fff; }
.svds { display: grid; gap: clamp(56px, 6vw, 96px); margin-top: clamp(56px, 6vw, 96px); }
.svd { display: grid; gap: 28px 72px; align-items: center; }
.svd__f { aspect-ratio: 4 / 3; overflow: hidden; }
.svd__f img { width: 100%; height: 100%; object-fit: cover; }
.svd__k { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.svd__h { font-size: var(--fs-h2); font-weight: 500; letter-spacing: -.025em; line-height: 1.1; color: var(--primary); margin-bottom: 20px; }
.svd .lede { max-width: 48ch; }
.svd__p { margin-top: 14px; color: var(--ink-2); line-height: 1.7; max-width: 58ch; }
@media (min-width: 1024px) { .svd { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .svd--r .svd__f { order: 2; } }
/* the spot a link pointed to shows itself for a moment */
.svd:target .svd__h, .prof:target .prof__t { animation: landed 2.4s var(--ease); }
@keyframes landed { 0%, 35% { color: var(--accent); } }
.profs--rows { grid-template-columns: 1fr !important; gap: clamp(48px, 5vw, 72px); }
@media (min-width: 900px) {
  .prof--row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 72px; align-items: center; }
  .prof--row .prof__f { margin-bottom: 0; }
  .prof--row:nth-child(2n) .prof__f { order: 2; }
  .prof--row .prof__t { font-size: var(--fs-h2); letter-spacing: -.025em; line-height: 1.1; margin-bottom: 16px; }
  .prof--row .prof__p { font-size: var(--fs-lede); }
}
/* a landing starts with its heading: text first on small screens, top-aligned beside the photo on large ones */
.svd, .prof--row { align-items: start; }
@media (max-width: 1023px) { .svd__t { order: -1; } }
@media (max-width: 899px) { .prof--row { display: flex; flex-direction: column; } .prof--row .prof__b { order: -1; margin-bottom: 20px; } }

/* ---------- language switch (EN / ES) ---------- */
.lang { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; letter-spacing: .08em; }
.lang__c { opacity: 1; }
.lang__s { opacity: .4; font-weight: 400; }
.lang__a { opacity: .6; padding: 6px 2px; transition: opacity .3s; }
.lang__a:hover, .lang__a:focus-visible { opacity: 1; }
.hdr__lang { display: none; }
@media (min-width: 720px) { .hdr__lang { display: inline-flex; } }
html.menu-open .hdr__lang { visibility: hidden; }
.idx__foot { align-items: center; }
.idx__lang { color: var(--ink); font-size: 15px; }
.ftr__lang { color: #fff; }

/* ---------- contact: the second paragraph and "Let's talk." above the form ---------- */
.cnt__p { margin-top: 16px; color: var(--on-primary-2); line-height: 1.7; max-width: 52ch; }
.cnt__talk { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.625rem); font-weight: 500; letter-spacing: -.015em; color: #fff; margin-bottom: 28px; }

/* a service link lands on its card in the navy block, which shows itself for a moment */
.svc:target .svc__t { animation: landed-light 2.4s var(--ease); }
@keyframes landed-light { 0%, 35% { color: var(--accent-on-primary); } }
.scope__head .go { margin-top: 20px; }
.svd__p + .svd__p { margin-top: 12px; }

/* ---------- feedback of 8 Nov ---------- */
/* two columns that finish level: on desktop the photo under the left heading grows to the height of the right-hand text */
@media (min-width: 1024px) {
  .split--eq { align-items: stretch; }
  .split--eq .split__l { position: static; align-self: stretch; display: flex; flex-direction: column; }
  .split--eq .split__f { position: relative; flex: 1 1 auto; aspect-ratio: auto; min-height: 300px; margin-top: 28px; }
  .split--eq .split__f img { position: absolute; inset: 0; }
}
.split__f--wide { aspect-ratio: 16 / 10; }
.split--appr .split__f { margin-top: 24px; }
/* proposition: a larger first paragraph, smaller and tighter ones after it */
.lede--xl { font-size: clamp(1.25rem, 1.05rem + .65vw, 1.5rem); line-height: 1.45; max-width: 34ch; }
.copy--md p { font-size: clamp(1rem, .97rem + .15vw, 1.125rem); line-height: 1.65; }
.lede--xl + .copy--md { margin-top: .9em; }
.copy--md p + p { margin-top: .85em; }
.split__r.copy--md p:first-child { margin-top: 0; }
/* what we do: every service title takes the same height, so the descriptions start level */
@media (min-width: 720px) {
  .svcs { grid-auto-rows: auto; }
  .svc { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 0; }
  .svc__t { align-self: start; }
}
/* our approach: slightly smaller paragraphs */
.qa { font-size: clamp(1rem, .97rem + .15vw, 1.0625rem); }
/* who we advise: the analysis photo keeps its own wide crop, no caption */
.p-advise #introduction .feature__f { aspect-ratio: 833 / 392; }
.p-advise #introduction .feature { align-items: start; }
/* client profiles: slightly smaller text, same photo proportions */
@media (min-width: 900px) { .prof--row .prof__p { font-size: 1rem; } }
.prof--row .prof__f { aspect-ratio: 3 / 2; }
/* contact: a shorter white header, smaller body text, the left heading level with "Let's talk." */
.p-contact .cpage, .p-privacy .cpage, .p-legal .cpage, .p-cookies .cpage { padding-top: calc(var(--hdr) + 20px); }
.p-contact .crumbs, .p-privacy .crumbs, .p-legal .crumbs, .p-cookies .crumbs { margin-bottom: 18px; }
.p-contact .cnt { margin-top: 24px; padding-top: clamp(56px, 4vw + 32px, 96px); }
.cnt .lede { font-size: 1.0625rem; margin-top: 20px; }
.cnt__p { font-size: 15px; margin-top: 12px; }
.cnt__h, .cnt__talk { margin-top: 0; }
.cnt__talk { line-height: 1.2; }
.cnt__mail { display: grid; gap: 6px; margin-top: 36px; }
.cnt__mail-k { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--on-primary-muted); }
.cnt__mail a { font-size: 18px; font-weight: 500; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .35); justify-self: start; padding-bottom: 2px; }
.cnt__mail a:hover { border-color: #fff; }
.form__legal { font-size: 13px; line-height: 1.6; max-width: 72ch; }
.form__legal a { color: var(--on-primary); text-decoration: underline; text-underline-offset: 3px; }
.form__legal a:hover { color: #fff; }
.ftr__priv { color: var(--on-primary-2); }
.ftr__priv:hover { color: #fff; }
/* privacy policy */
.priv { padding-bottom: var(--sec); padding-top: 48px; }
.priv__in { display: grid; gap: 36px; }
.priv__in > * { max-width: 760px; }
.priv__h { font-size: var(--fs-h3); font-weight: 500; letter-spacing: -.015em; color: var(--primary); margin-bottom: 10px; }
.priv__s p { color: var(--ink-2); line-height: 1.7; }
.priv__s p + p, .priv__sub { margin-top: 12px; }
.priv__sub + .priv__sub { margin-top: 22px; }
.priv__h3 { font-size: var(--fs-body); font-weight: 500; color: var(--primary); margin-bottom: 6px; }
.priv__mail a { color: var(--accent); border-bottom: 1px solid currentColor; }
/* keep the faces in the services photo when the frame is wide */
.p-services #introduction .split__f img { object-position: 50% 22%; }

/* the client's wordmark (8 Nov) */
.logo__w { display: block; line-height: 0; }
.logo .wm { display: block; height: 30px; width: auto; }
.ftr__logo { line-height: 0; }
.ftr__logo .wm { height: 30px; width: auto; color: #fff; }
@media (max-width: 600px) { .logo .wm { height: 23px; } }

/* ---------- final developer changes (10 Nov) ---------- */
/* two columns that finish level: the photo's bottom edge meets the end of the right-hand text exactly
   (a small floor only, so the photo never pushes the column taller than the text) */
@media (min-width: 1024px) {
  .split--eq .split__f { min-height: 160px; }
  .split--eq .split__r > :last-child, .split--eq .split__r > :last-child > :last-child { margin-bottom: 0; }
}
/* our approach: the heading runs above both columns, so the photo is as tall as the whole text beside it */
.appr__head { padding-top: clamp(20px, 2vw, 32px); }
.split--appr { padding-top: 28px; }
.split--appr .split__f { margin-top: 0; aspect-ratio: 4 / 3; }
.split--appr .split__f img { object-position: 50% 40%; }
@media (min-width: 1024px) { .split--appr .split__f { margin-top: 0; aspect-ratio: auto; min-height: 260px; } }

/* what we do: brighter text on a slightly deeper scrim, and the same rhythm between every card */
.scope__scrim { background: linear-gradient(180deg, rgba(10, 28, 52, .95), rgba(10, 28, 52, .9) 50%, rgba(10, 28, 52, .97)); }
.scope__p, .svc__p { color: #DDE4EE; }
.svc__t { margin-bottom: 12px; }
.svcs { gap: 48px 48px; }
@media (min-width: 1024px) { .svcs { gap: 48px 64px; } }

/* who we advise: the photo runs from the heading to the end of the copy, and less white space before the profiles */
@media (min-width: 1024px) {
  .p-advise #introduction .feature { align-items: stretch; }
  .p-advise #introduction .feature__f { position: relative; aspect-ratio: auto; min-height: 260px; }
  .p-advise #introduction .feature__f img { position: absolute; inset: 0; }
}
.p-advise #introduction .copy > :last-child { margin-bottom: 0; }
.p-advise .sec + .advb { margin-top: clamp(56px, 3vw + 32px, 88px); }

/* contact: less navy below the button, a more legible privacy notice, and the required consent box */
.cnt { padding-bottom: clamp(56px, 3vw + 32px, 88px); }
.form__legal { color: var(--on-primary-2); font-size: 13.5px; }
.fld--check { display: grid; grid-template-columns: 22px minmax(0, 1fr); align-items: start; column-gap: 12px; row-gap: 6px; margin-top: 20px; }
.fld--check input { width: 22px; height: 22px; min-height: 0; margin: 1px 0 0; padding: 0; border: 1px solid rgba(238, 242, 248, .6); background: transparent; cursor: pointer;
  -webkit-appearance: none; appearance: none; }
.fld--check input:checked { background: #fff center / 14px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2 7.5l3.2 3L12 3.5' fill='none' stroke='%230A1C34' stroke-width='2'/%3E%3C/svg%3E"); border-color: #fff; }
.fld--check input:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.fld--check label { font-size: 15px; font-weight: 400; line-height: 1.5; color: var(--on-primary); cursor: pointer; padding: 0 0 2px; }
.fld--check label a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.fld--check .fld__err { grid-column: 2; }
@media (max-width: 599px) { .fld--check { padding: 10px 0; } .fld--check label { font-size: 16px; } }

/* ---------- legal pages and cookie consent (16 Nov) ---------- */
.ftr__legal ul { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.ftr__ck { font: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.priv__s a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.priv__s a:hover { color: var(--primary); }
.priv__act { margin-top: 20px; }
.priv__act .btn { border: 0; cursor: pointer; }
/* cookie table: a real table from 760px, stacked label and value rows on a phone */
.ctab { margin-top: 18px; }
.ctab table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.ctab th, .ctab td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--hairline); }
.ctab thead th { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--surface); }
.ctab tbody th { font-weight: 500; color: var(--primary); }
@media (max-width: 759px) {
  .ctab thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ctab tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--hairline); }
  .ctab th, .ctab td { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 12px; padding: 3px 0; border: 0; }
  .ctab tbody th::before, .ctab td::before { content: attr(data-k); font-size: 12px; font-weight: 600; color: var(--muted); }
}
/* first layer: a bar at the foot of the screen that never blocks the page */
.ck { position: fixed; inset: auto 0 0; z-index: 70; background: #fff; color: var(--ink); border-top: 1px solid var(--hairline);
  box-shadow: 0 -12px 32px rgba(10, 28, 52, .12); padding: 20px 0 calc(20px + env(safe-area-inset-bottom)); }
.ck[hidden] { display: none; }
.ck__in { display: grid; gap: 16px; }
.ck__t { font-size: 16px; font-weight: 500; color: var(--primary); margin-bottom: 4px; }
.ck__p { font-size: 14px; line-height: 1.55; color: var(--ink-2); max-width: 80ch; }
.ck__p a, .ckd__p a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.ck__acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ck__acts .ck__b--ghost { grid-column: 1 / -1; order: 3; }
.ck__b { height: 44px; padding: 0 20px; font: inherit; font-size: 14px; font-weight: 500; white-space: nowrap; cursor: pointer;
  background: var(--primary); color: #fff; border: 1px solid var(--primary); transition: background-color .3s; }
.ck__b:hover { background: var(--primary-2); }
.ck__b--ghost { background: #fff; color: var(--primary); }
.ck__b--ghost:hover { background: var(--surface); }
.ck__b:focus-visible, .ckd__x:focus-visible, .ckd__sw:focus-visible, .ftr__ck:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (min-width: 900px) {
  .ck__in { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 32px; }
  .ck__acts { display: flex; }
  .ck__acts .ck__b--ghost { order: 0; }
}
/* second layer: the settings dialog */
.ckd { width: min(640px, calc(100% - 32px)); max-height: calc(100% - 32px); margin: auto; padding: 0; border: 0; background: #fff; color: var(--ink);
  box-shadow: 0 24px 64px rgba(10, 28, 52, .28); }
.ckd::backdrop { background: rgba(10, 28, 52, .55); }
.ckd__in { padding: 28px clamp(20px, 4vw, 32px); }
.ckd__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.ckd__t { font-size: var(--fs-h3); font-weight: 500; color: var(--primary); }
.ckd__x { width: 40px; height: 40px; font-size: 24px; line-height: 1; background: none; border: 0; color: var(--ink); cursor: pointer; }
.ckd__p { margin-top: 10px; font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.ckd__cs { margin: 20px 0 24px; border-top: 1px solid var(--hairline); }
.ckd__c { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--hairline); }
.ckd__n { display: block; font-size: 15px; font-weight: 500; color: var(--primary); cursor: pointer; }
.ckd__d { margin-top: 4px; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.ckd__on { flex: none; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); padding-top: 3px; }
.ckd__sw { flex: none; position: relative; width: 44px; height: 24px; margin-top: 1px; border-radius: 12px; background: var(--surface-2); cursor: pointer;
  -webkit-appearance: none; appearance: none; transition: background-color .25s; }
.ckd__sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff;
  box-shadow: 0 1px 3px rgba(10, 28, 52, .3); transition: transform .25s var(--ease); }
.ckd__sw:checked { background: var(--primary); }
.ckd__sw:checked::after { transform: translateX(20px); }

.nf { min-height: 100vh; display: grid; place-content: center; gap: 12px; padding: 24px; background: var(--page); color: var(--ink); }
