/* Mission Control site. Round 6 (2026-11-20): map-led direction, own layout (the Taste kit is no longer loaded).
   Lead: Impeccable (Persuade mode for the home page, Read mode for the articles). */
:root {
  --bg: #efeeea; --surface: #e4e3df; --ink: #17171a; --muted: #5a595c;
  --line: rgba(23, 23, 26, .13); --line-strong: rgba(23, 23, 26, .32);
  --accent: #d8400e; --accent-deep: #b8360b; --accent-ink: #fff;
  --inv: #121214; --inv-2: #1c1c1f; --inv-3: #2a2a2e; --inv-ink: #efeeea; --inv-muted: #a2a1a4; --inv-line: rgba(239, 238, 234, .14);
  --fd: "Red Hat Display", system-ui, sans-serif;
  --ft: "Red Hat Text", system-ui, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --nav: 68px;
  --pad: clamp(16px, 4vw, 48px);
  --gap: clamp(16px, 2vw, 28px);
  --sec: clamp(56px, 7vw, 104px);
  --r: 4px;
  --t-h1: clamp(44px, 5.4vw, 84px);
  --t-h2: clamp(32px, 3.6vw, 56px);
  --t-h3: clamp(22px, 1.9vw, 28px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav) + 16px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--ft); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--fd); font-weight: 500; margin: 0; text-wrap: balance; }
h1 { font-size: var(--t-h1); line-height: 1; letter-spacing: -0.035em; }
h2 { font-size: var(--t-h2); line-height: 1.04; letter-spacing: -0.03em; }
h3 { font-size: var(--t-h3); line-height: 1.15; letter-spacing: -0.015em; }
p { margin: 0; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--pad); }
.muted { color: var(--muted); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; }
.skip:focus { left: 8px; }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.grid--top { align-items: start; }
.span-3 { grid-column: span 3; } .span-5 { grid-column: span 5; } .span-6 { grid-column: span 6; } .span-8 { grid-column: span 8; }
.start-7 { grid-column-start: 7; } .start-10 { grid-column-start: 10; }
@media (max-width: 1023px) { .grid > [class*="span-"] { grid-column: 1 / -1; } }

/* buttons: the fill sweeps in from the left, the arrow moves, the button itself stays put */
.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: var(--r); border: 1px solid currentColor; font: 500 16px/1 var(--ft); text-decoration: none; white-space: nowrap; cursor: pointer; transition: color 250ms var(--ease), border-color 250ms var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 400ms var(--ease); }
.btn:hover::before { transform: scaleX(1); }
.btn--primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn--secondary { color: inherit; }
.btn--secondary:hover { color: var(--bg); border-color: var(--ink); }
.on-dark .btn::before { background: var(--inv-ink); }
.on-dark .btn--primary:hover { color: var(--ink); border-color: var(--inv-ink); }
.on-dark .btn--secondary:hover { color: var(--ink); border-color: var(--inv-ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.m-arrow { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform 300ms var(--ease); }
a:hover > .m-arrow { transform: translateX(4px); }
.link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 500; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 calc(100% - 10px) / 100% 1px no-repeat; transition: background-size 350ms var(--ease); }
.link:hover { background-size: 0 1px; background-position: 100% calc(100% - 10px); }

/* header: light over light sections, dark over the map; hides on the way down, returns on the way up */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav); color: var(--ink); background: rgba(239, 238, 234, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); transition: transform 400ms var(--ease), background-color 300ms var(--ease), color 300ms var(--ease), border-color 300ms var(--ease); }
.hdr.dark { color: var(--inv-ink); background: rgba(18, 18, 20, .78); border-color: var(--inv-line); }
.hdr.away { transform: translateY(-100%); }
.hdr__bar { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-block; font: 700 22px/1 var(--fd); letter-spacing: -0.035em; text-decoration: none; white-space: nowrap; margin-right: auto; }
.brand__dot { display: inline-block; width: .2em; height: .2em; margin-left: .06em; border-radius: 50%; background: var(--accent); transition: transform 250ms var(--ease); }
.brand:hover .brand__dot { transform: scale(1.4); }
.brand--stack { font-size: 40px; line-height: .92; letter-spacing: -0.045em; white-space: normal; }
.hdr__nav { display: flex; align-items: center; gap: 4px; }
.hdr__nav > a, .dd > a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; font-size: 15px; font-weight: 500; text-decoration: none; position: relative; }
.hdr__nav > a::after, .dd > a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 9px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 300ms var(--ease); }
.hdr__nav > a:hover::after, .dd > a:hover::after, .hdr__nav > a[aria-current]::after, .dd > a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.chev { width: 12px; height: 12px; transition: transform 250ms var(--ease); }
.dd { position: relative; }
.dd__menu { position: absolute; top: calc(100% + 8px); left: -8px; width: 380px; padding: 10px; display: grid; grid-template-columns: 1fr 1fr; background: var(--inv); color: var(--inv-ink); border-radius: var(--r); box-shadow: 0 18px 48px -12px rgba(0, 0, 0, .35); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 200ms var(--ease), transform 250ms var(--ease), visibility 0s 250ms; }
.dd:hover .dd__menu, .dd:focus-within .dd__menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.dd:hover .chev { transform: rotate(180deg); }
.dd__menu a { display: grid; padding: 10px 12px; border-radius: 3px; text-decoration: none; font-weight: 500; transition: background-color 150ms; }
.dd__menu a span { font-size: 13px; font-weight: 400; color: var(--inv-muted); }
.dd__menu a:hover { background: var(--inv-3); }
.dd__menu a.all { grid-column: 1 / -1; border-top: 1px solid var(--inv-line); margin-top: 6px; padding-top: 14px; border-radius: 0; }
.hdr__cta { min-height: 42px; padding: 0 18px; font-size: 15px; }
.hdr__toggle { display: none; width: 44px; height: 44px; border: 0; background: none; color: inherit; cursor: pointer; padding: 0; }
.hdr__toggle span { display: block; width: 22px; height: 1.6px; margin: 6px auto; background: currentColor; transition: transform 300ms var(--ease); }
.hdr__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.8px) rotate(45deg); }
.hdr__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.8px) rotate(-45deg); }
.mnav { position: fixed; inset: var(--nav) 0 0; z-index: 49; background: var(--inv); color: var(--inv-ink); padding: 24px var(--pad) 40px; overflow-y: auto; display: grid; align-content: start; gap: 4px; clip-path: inset(0 0 100% 0); transition: clip-path 450ms var(--ease); }
.mnav.open { clip-path: inset(0 0 0 0); }
.mnav[hidden] { display: none; }
.mnav a { font: 500 32px/1.2 var(--fd); letter-spacing: -0.02em; text-decoration: none; padding: 8px 0; border-bottom: 1px solid var(--inv-line); opacity: 0; transform: translateY(12px); transition: opacity 300ms var(--ease), transform 400ms var(--ease); }
.mnav.open a { opacity: 1; transform: none; }
.mnav.open a:nth-child(2) { transition-delay: 40ms; } .mnav.open a:nth-child(3) { transition-delay: 80ms; } .mnav.open a:nth-child(4) { transition-delay: 120ms; } .mnav.open a:nth-child(5) { transition-delay: 160ms; }
.mnav .btn { margin-top: 24px; font-size: 18px; opacity: 1; transform: none; border-bottom: 1px solid var(--accent); }
@media (max-width: 899px) { .hdr__nav, .hdr__cta { display: none; } .hdr__toggle { display: block; } }

/* reading progress, a hairline under the header */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; background: var(--accent); transform: scaleX(var(--p, 0)); transform-origin: left; pointer-events: none; }

/* split words: each word rises out of its own line box */
.sw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.sw > span { display: inline-block; }
html.js .split:not(.in) .sw > span { transform: translateY(105%); }
html.js .split .sw > span { transition: transform 800ms var(--ease); transition-delay: calc(var(--i) * 35ms); }

/* reveals: content is visible by default; only a running script hides it first */
html.js [data-rv]:not(.in) { opacity: 0; transform: translateY(28px); }
html.js [data-rv] { transition: opacity 700ms var(--ease), transform 900ms var(--ease); transition-delay: calc(var(--d, 0) * 70ms); }
/* the clip sits on the picture, not the frame: a fully clipped frame never reports as on screen */
html.js [data-wipe] > img { clip-path: inset(0 0 0 0); transition: clip-path 1100ms var(--ease), transform 1600ms var(--ease); }
html.js [data-wipe]:not(.in) > img { clip-path: inset(100% 0 0 0); transform: scale(1.15); }

/* ---------- home: the route ---------- */
.route { background: var(--inv); color: var(--inv-ink); position: relative; }
.route__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 72px); }
.route__map { position: sticky; top: var(--nav); height: calc(100svh - var(--nav)); }
.route__map svg { position: absolute; left: 0; right: 0; top: 24px; bottom: 56px; height: calc(100% - 80px); width: 100%; overflow: visible; }
.map .c { fill: #19191c; stroke: #2e2e33; stroke-width: .6; transition: fill 600ms var(--ease), stroke 600ms var(--ease); }
.map .c.ours { fill: #34343a; stroke: #7a7a80; stroke-width: .8; }
.map .c.seen { fill: rgba(216, 64, 14, .32); stroke: rgba(216, 64, 14, .7); }
.map .c.on { fill: var(--accent); stroke: #ff8a5c; }
html.js .map .c { stroke-dasharray: 1; stroke-dashoffset: 1; fill-opacity: 0; }
html.js .map.drawn .c { stroke-dashoffset: 0; fill-opacity: 1; transition: stroke-dashoffset 1800ms var(--ease), fill-opacity 900ms var(--ease) 900ms, fill 600ms var(--ease), stroke 600ms var(--ease); }
.map .leg { fill: none; stroke: var(--inv-ink); stroke-width: 2; stroke-linecap: round; }
.map .ghost { fill: none; stroke: rgba(239, 238, 234, .22); stroke-width: 1.2; stroke-dasharray: 2 6; stroke-linecap: round; }
.map .pin circle.dot { fill: var(--inv-ink); stroke: var(--inv); stroke-width: 2; transition: r 300ms var(--ease), fill 300ms; }
.map .pin circle.halo { fill: none; stroke: var(--accent); stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; }
.map .pin text { font: 600 15px/1 var(--ft); fill: var(--inv-ink); paint-order: stroke; stroke: var(--inv); stroke-width: 5px; stroke-linejoin: round; opacity: 0; transform: translateY(4px); transform-box: fill-box; transition: opacity 300ms var(--ease), transform 400ms var(--ease); }
.map .pin.on circle.dot { r: 6.5; fill: #fff; }
.map .pin.on circle.halo { animation: halo 1.8s var(--ease) 3; }
.map .pin.on text, .map .pin.lbl text { opacity: 1; transform: none; }
.map .tip { fill: var(--accent); stroke: #fff; stroke-width: 2; opacity: 0; transition: opacity 300ms; }
.map .tip.go { opacity: 1; }
@keyframes halo { 0% { opacity: .9; transform: scale(.6); } 100% { opacity: 0; transform: scale(3); } }
.map-key { position: absolute; left: 0; bottom: 28px; font-size: 13px; color: var(--inv-muted); display: flex; gap: 18px; }
.map-key b { color: var(--inv-ink); font-weight: 600; font-variant-numeric: tabular-nums; }

.route__steps { padding-bottom: 18vh; }
.route__hero { min-height: calc(100svh - var(--nav)); display: flex; flex-direction: column; justify-content: center; padding: calc(var(--nav) + 32px) 0 48px; }
.route__hero h1 { max-width: 11ch; }
.route__hero .lead { margin-top: 24px; font-size: clamp(18px, 1.4vw, 21px); line-height: 1.5; color: #cfcecb; max-width: 34ch; }
.route__hint { margin-top: 40px; display: inline-flex; align-items: center; gap: 12px; font-size: 14px; color: var(--inv-muted); }
.route__hint i { width: 1px; height: 36px; background: var(--inv-line); position: relative; overflow: hidden; }
.route__hint i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--accent); animation: drip 1.8s var(--ease) 4; }
@keyframes drip { to { top: 100%; } }
.step { padding: 9vh 0; border-top: 1px solid var(--inv-line); }
.step__media { display: block; position: relative; overflow: hidden; border-radius: var(--r); aspect-ratio: 3 / 2; background: var(--inv-2); }
.step__media img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: hover) and (pointer: fine) { .step__media:hover img { transform: scale(1.04); transition: transform 1200ms var(--ease); } }
.step__where { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 22px 0 6px; font-size: 14px; color: var(--inv-muted); }
.step h2 { font-size: clamp(30px, 2.8vw, 44px); letter-spacing: -0.025em; }
.step p { color: #cfcecb; margin-top: 10px; max-width: 40ch; }
.step .link { margin-top: 8px; color: var(--inv-ink); }
.step--end h2 { font-size: clamp(34px, 3.2vw, 52px); }
.step--end .btn-row { margin-top: 24px; }

@media (max-width: 899px) {
  .route__grid { display: block; }
  .route__map { z-index: 2; top: var(--nav); height: 42svh; margin: 0 calc(-1 * var(--pad)); background: linear-gradient(var(--inv) 92%, rgba(18, 18, 20, 0)); }
  .route__map svg { top: 10px; bottom: 14px; height: calc(100% - 24px); }
  .map-key { display: none; }
  .route__hero { min-height: 0; padding: 32px 0 40px; }
  .step { padding: 40px 0; }
}

/* ---------- home: services ---------- */
.sec { padding: var(--sec) 0; }
.sec-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap); align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.sec-head p { color: var(--muted); max-width: 40ch; font-size: 18px; }
@media (max-width: 899px) { .sec-head { grid-template-columns: 1fr; } }
.svc { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); position: relative; }
.svc li { border-bottom: 1px solid var(--line-strong); }
.svc a { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr) 40px; gap: var(--gap); align-items: center; padding: 26px 0; text-decoration: none; position: relative; }
.svc a::before { content: ""; position: absolute; inset: 0 calc(-1 * var(--pad)); background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform 450ms var(--ease); z-index: -1; }
.svc { isolation: isolate; }
.svc .nm { font: 500 clamp(26px, 2.8vw, 44px)/1.05 var(--fd); letter-spacing: -0.025em; transition: transform 450ms var(--ease); }
.svc .ln { color: var(--muted); transition: color 300ms; }
.svc .ar { justify-self: end; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: background-color 300ms, border-color 300ms, transform 450ms var(--ease); }
.svc .ar .m-arrow { width: 14px; height: 14px; }
@media (hover: hover) and (pointer: fine) {
  .svc a:hover { color: var(--bg); }
  .svc a:hover::before { transform: scaleY(1); }
  .svc a:hover .nm { transform: translateX(16px); }
  .svc a:hover .ln { color: #c9c8c5; }
  .svc a:hover .ar { background: var(--accent); border-color: var(--accent); transform: rotate(-45deg); }
}
.svc .th { display: none; }
.peek { position: fixed; left: 0; top: 0; z-index: 40; width: 300px; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; pointer-events: none; opacity: 0; transform: translate3d(var(--x, 0), var(--y, 0), 0) scale(.85) rotate(-3deg); transition: opacity 250ms var(--ease), transform 450ms var(--ease); box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .5); }
.peek.show { opacity: 1; transform: translate3d(var(--x, 0), var(--y, 0), 0) scale(1) rotate(0); }
.peek img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 250ms; }
.peek img.on { opacity: 1; }
@media (hover: none), (pointer: coarse), (max-width: 899px) {
  .peek { display: none; }
  .svc a { grid-template-columns: 88px minmax(0, 1fr); padding: 18px 0; row-gap: 4px; }
  .svc .th { display: block; grid-row: span 2; width: 88px; aspect-ratio: 1; border-radius: var(--r); overflow: hidden; }
  .svc .th img { width: 100%; height: 100%; object-fit: cover; }
  .svc .ar { display: none; }
  .svc .ln { font-size: 15px; }
}

/* ---------- home: why, with the drifting photo band ---------- */
.why { background: var(--surface); overflow: hidden; }
.band { display: grid; gap: 12px; margin-bottom: clamp(40px, 5vw, 72px); }
.band__row { display: flex; gap: 12px; width: max-content; will-change: transform; }
.band__row img { height: clamp(150px, 17vw, 260px); width: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r); }
.why__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.why__list li { border-top: 2px solid var(--ink); padding-top: 20px; }
.why__list h3 { margin-bottom: 12px; }
.why__list p { color: #3d3c3f; }
@media (max-width: 899px) { .why__list { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- closing band and footer ---------- */
.foot { background: var(--inv); color: var(--inv-ink); }
.close { position: relative; overflow: hidden; }
.close--photo { min-height: min(86svh, 760px); display: grid; align-items: end; }
.close__bg { position: absolute; inset: -8% 0; }
.close__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--z, 1.15)); }
.close--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 18, 20, .15) 0%, rgba(18, 18, 20, .35) 45%, rgba(18, 18, 20, .92) 100%); }
.close__in { position: relative; z-index: 1; padding-top: var(--sec); padding-bottom: clamp(40px, 5vw, 72px); display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 32px; }
.close h2 { font-size: clamp(40px, 5vw, 80px); max-width: 13ch; letter-spacing: -0.035em; line-height: 1; }
.close p { margin-top: 16px; color: #d6d5d2; font-size: 18px; }
.close .btn { min-height: 58px; padding: 0 30px; font-size: 17px; }
.close--type .close__in { border-bottom: 1px solid var(--inv-line); }
.foot__cols { display: grid; grid-template-columns: minmax(0, 4fr) repeat(4, minmax(0, 2fr)); gap: var(--gap); padding: 56px 0 40px; }
.foot__cols h3 { font: 600 13px/1 var(--ft); letter-spacing: .02em; color: var(--inv-muted); margin-bottom: 14px; }
.foot__cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; font-size: 15px; }
.foot__cols li a { display: inline-flex; min-height: 32px; align-items: center; text-decoration: none; color: #d6d5d2; transition: color 150ms; }
.foot__cols li a:hover { color: #fff; }
.foot__cols li span { color: #d6d5d2; display: inline-block; padding-top: 6px; }
.foot__cols .brand { margin-bottom: 14px; }
.foot__lede { color: var(--inv-muted); font-size: 15px; max-width: 28ch; }
.legal { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 20px 0 28px; border-top: 1px solid var(--inv-line); font-size: 13px; color: var(--inv-muted); }
.legal a { color: inherit; text-decoration: none; min-height: 24px; } .legal a:hover { color: #fff; }
.legal .credits { margin-left: auto; }
@media (max-width: 899px) { .foot__cols { grid-template-columns: 1fr 1fr; } .foot__cols > :first-child { grid-column: 1 / -1; } .legal .credits { margin-left: 0; } }
.actionbar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 45; display: none; transform: translateY(140%); transition: transform 450ms var(--ease); }
.actionbar .btn { width: 100%; min-height: 54px; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .45); }
.actionbar.show { transform: none; }
@media (max-width: 899px) { .actionbar { display: block; } }

/* ---------- inner pages ---------- */
.phead { padding: calc(var(--nav) + clamp(40px, 6vw, 88px)) 0 clamp(32px, 4vw, 56px); }
.phead h1 { max-width: 16ch; }
.phead .lead, .phead .t-lead { margin-top: 20px; font-size: clamp(18px, 1.4vw, 21px); line-height: 1.5; max-width: 52ch; color: var(--muted); }
.phead--photo { position: relative; min-height: min(84svh, 780px); display: grid; align-items: end; color: var(--inv-ink); overflow: hidden; background: var(--inv); padding-bottom: clamp(36px, 5vw, 64px); }
.phead__bg { position: absolute; inset: 0; overflow: hidden; }
.phead__bg img { width: 100%; height: 110%; object-fit: cover; transform: translateY(var(--py, 0)) scale(var(--ps, 1)); }
html.js .phead__bg img { animation: settle 1800ms var(--ease) both; }
@keyframes settle { from { scale: 1.14; } to { scale: 1; } }
.phead--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 18, 20, .45) 0%, rgba(18, 18, 20, .05) 30%, rgba(18, 18, 20, .25) 55%, rgba(18, 18, 20, .9) 100%); }
.phead--photo .wrap { position: relative; z-index: 1; display: flex; align-items: end; justify-content: space-between; gap: 32px; }
.phead--photo .lead { color: #dedddb; }
.locator { flex: none; width: clamp(150px, 15vw, 230px); filter: drop-shadow(0 6px 20px rgba(0, 0, 0, .5)); }
.locator .c { fill: rgba(239, 238, 234, .26); stroke: rgba(239, 238, 234, .5); stroke-width: 1; }
.locator .c.on { fill: var(--accent); stroke: #ff9a70; }
.locator circle { fill: #fff; }
.locator circle.halo { fill: none; stroke: #fff; stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: halo 2s var(--ease) 3; }
@media (max-width: 767px) { .locator { display: none; } }
.crumb { font-size: 14px; color: inherit; opacity: .8; margin-bottom: 18px; }
.crumb a { color: inherit; text-decoration: none; } .crumb a:hover { text-decoration: underline; }
.article { padding: clamp(40px, 5vw, 72px) 0 var(--sec); }
.prose { font-size: 17px; line-height: 1.7; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(26px, 2.4vw, 36px); line-height: 1.12; letter-spacing: -0.02em; margin: 56px 0 16px; scroll-margin-top: calc(var(--nav) + 24px); }
.prose h3 { font: 600 19px/1.3 var(--ft); letter-spacing: 0; margin: 32px 0 10px; }
.prose p, .prose li { max-width: 38em; text-wrap: pretty; }
.prose a { text-decoration-color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color 150ms; }
.prose a:hover { color: var(--accent-deep); }
.prose p, .prose ul, .prose ol, .prose blockquote { margin: 0 0 16px; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li::marker { color: var(--accent); }
.prose li + li { margin-top: 8px; }
.prose .lede { font-size: 20px; }
.prose .cta, .prose .linkrow { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.prose .cta a, .prose .linkrow a { display: inline-flex; align-items: center; min-height: 50px; padding: 0 24px; border-radius: var(--r); border: 1px solid var(--line-strong); text-decoration: none; font-weight: 500; transition: background-color 250ms, color 250ms, border-color 250ms; }
.prose .cta a:hover, .prose .linkrow a:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.prose .cta a.primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.prose .cta a.primary:hover { background: var(--ink); border-color: var(--ink); }
.tablewrap { overflow-x: auto; margin: 24px 0; }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; line-height: 1.5; }
.prose th, .prose td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 600; }
.toc { position: sticky; top: calc(var(--nav) + 32px); align-self: start; font-size: 14px; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.toc p { font-weight: 600; margin: 0 0 8px; padding-left: 16px; }
.toc a { color: var(--muted); text-decoration: none; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 2px solid transparent; transition: color 200ms, border-color 200ms; }
.toc a:hover { color: var(--ink); }
.toc a.on { color: var(--ink); border-left-color: var(--accent); }
@media (max-width: 1023px) { .toc { display: none; } }

/* services page */
.svc-rows { display: grid; gap: clamp(48px, 6vw, 88px); margin-top: 32px; }
.svc-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: center; }
.svc-row > div:last-child { grid-column: 1 / span 5; grid-row: 1; }
.svc-row > .svc-img { grid-column: 7 / span 6; grid-row: 1; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface); }
.svc-row:nth-child(even) > div:last-child { grid-column: 8 / span 5; }
.svc-row:nth-child(even) > .svc-img { grid-column: 1 / span 6; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; }
.svc-row h2 { margin-top: 0; }
@media (max-width: 767px) { .svc-row > div:last-child, .svc-row > .svc-img, .svc-row:nth-child(even) > div:last-child, .svc-row:nth-child(even) > .svc-img { grid-column: 1 / -1; grid-row: auto; } }

/* country location gallery */
.gal { padding: clamp(48px, 6vw, 88px) 0 clamp(32px, 4vw, 56px); }
.gal + .article { border-top: 1px solid var(--line); }
.gal h2 { margin-bottom: 24px; }
.gal h2 .muted { font-weight: 400; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip { min-height: 44px; padding: 0 18px; border-radius: var(--r); border: 1px solid var(--line-strong); background: transparent; color: var(--ink); font: 500 15px/1 var(--ft); cursor: pointer; transition: background-color 200ms, color 200ms, border-color 200ms; }
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.gal-grid { columns: 3 300px; column-gap: 12px; }
.gi { display: block; width: 100%; margin: 0 0 12px; padding: 0; border: 0; background: var(--surface); border-radius: var(--r); overflow: hidden; cursor: zoom-in; break-inside: avoid; position: relative; }
.gi img { width: 100%; height: auto; transition: transform 900ms var(--ease); }
.gi::after { content: attr(data-cap); position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; color: #fff; font-size: 14px; text-align: left; background: linear-gradient(transparent, rgba(0, 0, 0, .65)); opacity: 0; transform: translateY(8px); transition: opacity 250ms var(--ease), transform 350ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .gi:hover img { transform: scale(1.05); } .gi:hover::after { opacity: 1; transform: none; } }
.gi.hide { display: none; }
html.js .gi:not(.in) { opacity: 0; transform: translateY(24px); }
html.js .gi { transition: opacity 600ms var(--ease), transform 800ms var(--ease); }
.lb { position: fixed; inset: 0; z-index: 70; background: rgba(12, 12, 14, .95); display: grid; place-items: center; }
.lb[hidden] { display: none; }
.lb figure { margin: 0; max-width: min(92vw, 1600px); display: grid; gap: 12px; animation: lbin 350ms var(--ease); }
@keyframes lbin { from { opacity: 0; transform: scale(.96); } }
.lb img { max-width: 100%; max-height: 82vh; object-fit: contain; border-radius: 2px; }
.lb figcaption, .lb-c { color: #efeeea; font-size: 14px; }
.lb-c { position: absolute; left: 24px; bottom: 20px; font-variant-numeric: tabular-nums; }
.lb button { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: transparent; color: #fff; font-size: 22px; cursor: pointer; transition: background-color 200ms; }
.lb button:hover { background: rgba(255, 255, 255, .12); }
.lb-x { top: 20px; right: 20px; } .lb-p { left: 20px; top: 50%; } .lb-n { right: 20px; top: 50%; }

/* the brief form */
.brief { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 760px; margin: 24px 0; }
.brief label { display: grid; gap: 8px; font-size: 14px; font-weight: 600; }
.brief label.full, .brief button, .brief .formstatus, .brief .formnote { grid-column: 1 / -1; }
.brief input, .brief select, .brief textarea, #briefcopy textarea { font: 16px/1.4 var(--ft); color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-radius: var(--r); min-height: 50px; padding: 12px 14px; width: 100%; transition: border-color 200ms, box-shadow 200ms; }
.brief input:focus, .brief select:focus, .brief textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(216, 64, 14, .18); }
.brief textarea { min-height: 120px; resize: vertical; }
.brief button { justify-self: start; min-height: 52px; padding: 0 28px; border: 0; border-radius: var(--r); background: var(--accent); color: #fff; font: 500 16px/1 var(--ft); cursor: pointer; transition: background-color 250ms; }
.brief button:hover { background: var(--ink); }
.brief .hp { position: absolute; left: -9999px; }
.formstatus { margin: 0; } .formstatus.err { color: #a32b0a; } .formstatus.ok { color: #1f6b3a; }
.formnote { font-size: 14px; color: var(--muted); margin: 0; }
@media (max-width: 639px) { .brief { grid-template-columns: 1fr; } .brief button { justify-self: stretch; } }
.devnote { color: var(--inv-muted); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  html.js [data-rv]:not(.in), html.js .gi:not(.in) { transform: none; }
  html.js .split:not(.in) .sw > span { transform: none; }
  html.js [data-wipe]:not(.in) > img { clip-path: inset(0 0 0 0); opacity: 0; }
  html.js [data-wipe] > img { transition: opacity 400ms; }
  html.js [data-wipe] img, .close__bg img, .phead__bg img { transform: none !important; }
  .band__row { transform: none !important; }
  .svc a:hover .nm { transform: none; }
  .peek { display: none; }
  .map .pin.on circle.halo { animation: none; opacity: .8; transform: scale(1.6); }
}
