/* The Sandhu Group. Implements design/handoff/README.md, with the client's later changes
   (no section labels, black-and-white films, scrolling city facts, marquee strip).
   Dark ink ground, Paper light sections, Signal blue accent at ≤2% of any page.
   Radius 0 except pills and circles. One easing curve. */

@font-face { font-family: 'Geist'; src: url(fonts/geist.woff2) format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url(fonts/geist-mono.woff2) format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Newsreader'; src: url(fonts/newsreader.woff2) format('woff2'); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Newsreader'; src: url(fonts/newsreader-italic.woff2) format('woff2'); font-weight: 200 800; font-style: italic; font-display: swap; }

:root {
  /* Dark */
  --sg-ink-950: #07090d;
  --sg-ink-900: #0c1017;
  --sg-ink-800: #131924;
  --sg-line: #1e2531;
  --sg-line-strong: #2c3442;
  --sg-text: #e8ecf2;
  --sg-text-2: #a0a8b6;
  --sg-text-3: #747d8d;
  --sg-signal: #8cc4ea;
  --sg-on-photo: #c4cad4;
  --sg-nav-line: rgba(232, 236, 242, 0.14);
  --sg-photo-line: rgba(232, 236, 242, 0.18);
  --sg-pill-line: rgba(232, 236, 242, 0.28);

  /* Light */
  --sg-paper: #f3f5f7;
  --sg-white: #ffffff;
  --sg-paper-line: #d9dee5;
  --sg-ink: #0a0d12;
  --sg-ink-2: #4a5260;
  --sg-ink-3: #646c7a;
  --sg-signal-deep: #1f5e8a;
  --sg-light-pill: #b9c0ca;
  --sg-field-line: #5c6574;

  --f-sans: 'Geist', 'Helvetica Neue', Arial, sans-serif;
  --f-mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --f-serif: 'Newsreader', 'Iowan Old Style', Georgia, serif;

  --margin: clamp(20px, 4vw, 56px);
  --section-y: clamp(96px, 11vw, 168px);
  --head-gap: clamp(48px, 6vw, 88px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--sg-ink-950); color: var(--sg-text);
  font: 400 16px/1.6 var(--f-sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
a { color: var(--sg-text); text-decoration: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
ol, ul { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
img { display: block; max-width: 100%; }
button { font: inherit; }
::selection { background: var(--sg-signal); color: var(--sg-ink-950); }
:focus-visible { outline: 1px solid var(--sg-signal); outline-offset: 4px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: var(--margin); top: 16px; z-index: 100; background: var(--sg-text); color: var(--sg-ink-950); padding: 8px 16px; border-radius: 999px; }
.pad-x { padding-inline: var(--margin); }

/* ---------- Type ---------- */
.label { font: 500 11px/1.2 var(--f-sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--sg-text-2); }
.caps { font: 500 11px/1.2 var(--f-sans); letter-spacing: 0.16em; text-transform: uppercase; }
.caps--12 { font-size: 12px; }
.mono { font: 400 12px/1.2 var(--f-mono); letter-spacing: 0.02em; color: var(--sg-text-2); font-variant-numeric: tabular-nums; }
.mono--sm { font-size: 11px; }
.mono--dim { color: var(--sg-text-3); }
.mono--light { color: var(--sg-ink-3); }
.small-dim { font-size: 13px; line-height: 1.5; color: var(--sg-text-3); max-width: 46ch; }

.display, .h1, .h2, .h-cta, .h-band, .partners__text, .sent__text, .city-step__title, .fact__num {
  font-family: var(--f-serif); font-weight: 300; letter-spacing: -0.02em; line-height: 1.04;
}
.display em, .h1 em, .h2 em, .h-cta em, .h-band em, .partners__text em, .sent__text em { font-style: italic; }
.display { font-size: clamp(46px, 7.4vw, 120px); max-width: 13ch; }
.h1 { font-size: clamp(46px, 7vw, 112px); max-width: 14ch; }
.h1--page { font-size: clamp(46px, 6.4vw, 104px); max-width: none; }
.h2 { font-size: clamp(34px, 4.6vw, 68px); }
.h-cta { font-size: clamp(40px, 6vw, 96px); }
.h-band { font-size: clamp(36px, 5vw, 76px); max-width: 18ch; }
.h3 { font: 400 clamp(24px, 2.2vw, 30px)/1.15 var(--f-sans); letter-spacing: -0.02em; }
.body-muted { font-size: 17px; line-height: 1.6; color: var(--sg-text-2); max-width: 34ch; }
.body-muted--wide { max-width: 64ch; }
.body-photo { font-size: 17px; line-height: 1.6; color: var(--sg-on-photo); max-width: 52ch; }

/* ---------- Links and buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 16px; height: 52px; padding: 0 6px 0 24px;
  border: 0; border-radius: 999px; background: var(--sg-text); color: var(--sg-ink-950);
  font: 500 15px/1 var(--f-sans); white-space: nowrap; cursor: pointer; transition: background .5s var(--ease);
}
.btn:hover { background: var(--sg-white); color: var(--sg-ink-950); }
.btn:disabled { opacity: .6; cursor: progress; }
.btn__badge { width: 40px; height: 40px; border-radius: 50%; background: var(--sg-ink-950); color: var(--sg-text); display: flex; align-items: center; justify-content: center; flex: none; }
.btn--block { display: flex; justify-content: space-between; height: 56px; }
.btn--block .btn__badge { width: 44px; height: 44px; }
.section--paper .btn { background: var(--sg-ink); color: var(--sg-white); }
.section--paper .btn:hover { background: var(--sg-line); }
.section--paper .btn__badge { background: var(--sg-white); color: var(--sg-ink); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 12px; height: 40px; padding: 0 4px 0 18px;
  border: 1px solid var(--sg-pill-line); border-radius: 999px; font-size: 14px; color: var(--sg-text);
  transition: background .4s var(--ease), border-color .4s var(--ease);
}
.btn-secondary:hover { background: rgba(232, 236, 242, 0.08); border-color: rgba(232, 236, 242, 0.5); }
.btn-secondary__badge { width: 32px; height: 32px; border-radius: 50%; background: var(--sg-text); color: var(--sg-ink-950); display: flex; align-items: center; justify-content: center; }
.circle { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--sg-line-strong); display: flex; align-items: center; justify-content: center; color: var(--sg-text); flex: none; }
.text-btn {
  appearance: none; background: none; border: 0; padding: 0; color: var(--sg-text); font: 400 15px/1.4 var(--f-sans); cursor: pointer;
  text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--sg-line-strong); transition: text-decoration-color .4s var(--ease);
}
.text-btn:hover { text-decoration-color: var(--sg-text); }
.legal .text-btn { font-size: inherit; text-underline-offset: 5px; }
.arrow-link { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; color: var(--sg-text); transition: gap .4s var(--ease), color .4s var(--ease); }
.arrow-link:hover { color: var(--sg-white); }
.section--paper .arrow-link { color: var(--sg-ink); }
.mail { color: var(--sg-text); text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--sg-line-strong); transition: text-decoration-color .4s var(--ease); }
.mail:hover { text-decoration-color: var(--sg-text); }
.mail--lg { font-size: clamp(18px, 1.6vw, 22px); font-weight: 300; }

/* ---------- Navigation ---------- */
.wordmark { padding-block: 14px; margin-block: -14px; display: inline-flex; align-items: center; gap: 12px; font: 500 13px/1 var(--f-sans); letter-spacing: 0.24em; text-transform: uppercase; white-space: nowrap; color: var(--sg-text); }
.nav { position: absolute; top: 0; left: 0; right: 0; z-index: 20; padding-inline: var(--margin); padding-top: env(safe-area-inset-top, 0px); }
.nav__bar { height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--sg-nav-line); }
.nav__links { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 36px); }
.nav__links > a:not(.btn-secondary) { font-size: 14px; color: rgba(232, 236, 242, 0.84); transition: color .4s var(--ease); text-underline-offset: 8px; }
.nav__links > a:not(.btn-secondary):hover, .nav__links > a[aria-current] { color: var(--sg-text); }
.nav__links > a[aria-current] { text-decoration: underline; text-decoration-color: var(--sg-pill-line); }
.nav__menu {
  display: none; appearance: none; background: none; border: 1px solid var(--sg-pill-line); color: var(--sg-text);
  height: 44px; padding: 0 18px; border-radius: 999px; font: 500 11px/1 var(--f-sans); letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer;
}
.sheet { position: fixed; inset: 0; z-index: 70; background: var(--sg-ink-950); padding: env(safe-area-inset-top, 0px) 20px 0; display: flex; flex-direction: column; overflow-y: auto; }
.sheet[hidden] { display: none; }
.sheet__links { display: flex; flex-direction: column; padding-top: 32px; }
.sheet__links a { font: 300 32px/1.2 var(--f-sans); letter-spacing: -0.02em; padding: 18px 0; border-bottom: 1px solid var(--sg-line); }
.sheet .btn--block { margin-top: auto; margin-bottom: calc(32px + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 899px) {
  .nav__links { display: none; }
  .nav__menu { display: inline-block; }
}

/* ---------- Media ---------- */
.media { position: absolute; inset: 0; background: var(--sg-ink-900); filter: saturate(.7) contrast(1.04) brightness(.88); }
.media img, .media video { display: block; width: 100%; height: 100%; object-fit: cover; }
.media[data-parallax] { top: -6%; bottom: auto; height: 112%; will-change: transform; }
.media__placeholder { position: absolute; top: 112px; right: var(--margin); font: 400 11px/1 var(--f-mono); letter-spacing: .04em; color: var(--sg-ink-2); text-transform: uppercase; }
.media__grade { position: absolute; inset: 0; background: #0a1a33; mix-blend-mode: color; opacity: .22; pointer-events: none; }
.media__scrim { position: absolute; inset: 0; background: rgba(7, 9, 13, var(--scrim)); pointer-events: none; }

.caption-bar { margin-top: clamp(56px, 7vw, 96px); padding-top: 20px; border-top: 1px solid var(--sg-photo-line); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.caption { display: inline-flex; align-items: center; gap: 14px; }
.caption__rule { width: 24px; height: 1px; background: rgba(232, 236, 242, 0.3); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sg-signal); flex: none; }

/* ---------- Heroes ---------- */
.hero { position: relative; height: max(680px, 62vw); max-height: 1040px; display: flex; flex-direction: column; justify-content: flex-end; background: var(--sg-ink-900); overflow: hidden; }
.hero--service { height: max(680px, 56vw); max-height: 960px; }
.hero__content { position: relative; padding-bottom: clamp(40px, 5vw, 64px); }
.hero__cta { margin-top: 44px; display: flex; }
.hero__summary { margin-top: 32px; max-width: 46ch; text-wrap: balance; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.55; color: var(--sg-on-photo); }
.hero__summary--wide { max-width: 64ch; }
.page-intro { display: flex; flex-direction: column; gap: 32px; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section--first { padding-top: clamp(160px, 15vw, 220px); padding-bottom: clamp(56px, 7vw, 104px); }
.section--flush { padding-top: 0; }
.section--paper { background: var(--sg-paper); color: var(--sg-ink); }
.section--paper a { color: var(--sg-ink); }
.head { margin-bottom: var(--head-gap); }

/* Rows (services, roles) */
.rows { border-bottom: 1px solid var(--sg-line); }
.row {
  display: grid; grid-template-columns: 56px minmax(0, 1fr) 44px; align-items: baseline; gap: 16px;
  padding: 30px 0; border-top: 1px solid var(--sg-line); color: var(--sg-text);
  transition: background .5s var(--ease), padding .5s var(--ease);
}
.row > .circle { align-self: center; }
@media (hover: hover) { .row:hover { background: var(--sg-ink-900); margin-inline: -16px; padding-inline: 16px; color: var(--sg-text); } }
.row__text { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 32px; min-width: 0; }
.row__name { flex: 1 1 300px; font-size: clamp(22px, 2.3vw, 32px); font-weight: 300; letter-spacing: -0.02em; line-height: 1.2; }
.row__line { flex: 1 1 320px; font-size: 16px; line-height: 1.5; color: var(--sg-text-2); }

/* ---------- Cities: scroll-driven facts beside a pinned map ---------- */
.section--cities { padding-bottom: 0; }
.cities__intro { display: flex; flex-direction: column; gap: 28px; }
.scrolly { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.3fr); gap: clamp(24px, 4vw, 72px); margin-top: clamp(24px, 3vw, 48px); }
.scrolly__map { order: 2; position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; }
.map { position: relative; width: 100%; height: min(86vh, 900px); }
.map svg { display: block; width: 100%; height: 100%; }
.map .dots { opacity: 0; transition: opacity 1.6s var(--ease); }
.map .dots.on { opacity: 1; }
.map .node { cursor: pointer; transition: opacity .8s var(--ease); }
.map .pulse { transform-box: fill-box; transform-origin: center; animation: pulse 5.6s cubic-bezier(.2, .6, .3, 1) infinite; }
@keyframes pulse { 0% { transform: scale(.5); opacity: .55; } 70%, 100% { transform: scale(2.8); opacity: 0; } }
.scrolly__steps { order: 1; padding-block: 18vh 30vh; }
.city-step { min-height: 78vh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 28px; }
.city-step__title { font-size: clamp(30px, 3vw, 46px); line-height: 1.1; max-width: 18ch; }
.facts { display: grid; gap: 28px; padding-top: 28px; border-top: 1px solid var(--sg-line); max-width: 460px; }
.fact { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; align-items: baseline; }
@media (max-width: 1100px) { .fact { grid-template-columns: 96px minmax(0, 1fr); } }
.fact dd { display: flex; flex-direction: column; gap: 8px; }
.fact__num { font-size: clamp(36px, 3.4vw, 54px); line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.fact__list { display: grid; gap: 6px; font-size: 16px; color: var(--sg-text); }
/* Only once JS is running: inactive steps recede and drift. */
.scrolly.is-live .city-step > * { opacity: .75; transform: translateY(18px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
.scrolly.is-live .city-step.is-active > * { opacity: 1; transform: none; }
.scrolly.is-live .city-step.is-active > :nth-child(2) { transition-delay: .06s; }
.scrolly.is-live .city-step.is-active > :nth-child(3) { transition-delay: .12s; }
.scrolly.is-live .city-step.is-active > :nth-child(4) { transition-delay: .18s; }
@media (max-width: 899px) {
  .scrolly { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .scrolly__map { order: 0; z-index: 2; height: 38svh; background: var(--sg-ink-950); border-bottom: 1px solid var(--sg-line); }
  .map { height: 100%; }
  .scrolly__steps { padding-block: 8svh 10svh; }
  .city-step { min-height: 62svh; gap: 18px; }
  .facts { gap: 20px; padding-top: 20px; }
  .fact { grid-template-columns: minmax(0, 1fr); gap: 8px; }
}

/* ---------- City strip: slow, endless marquee ---------- */
.strip { padding-top: clamp(72px, 8vw, 120px); overflow: hidden; }
.strip__track { display: flex; width: max-content; animation: marquee 90s linear infinite; }
.strip:hover .strip__track, .strip:focus-within .strip__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.tile { display: flex; flex-direction: column; width: clamp(272px, 24vw, 360px); margin-right: 2px; color: var(--sg-text); }
.tile__img { position: relative; aspect-ratio: 3 / 4; background: var(--sg-ink-900); overflow: hidden; }
.tile__img .media { filter: saturate(.7) contrast(1.04) brightness(.9); }
.tile .media__placeholder { top: 20px; right: 20px; }
.tile__cap .mono { white-space: nowrap; }
.tile__cap { display: flex; justify-content: flex-start; align-items: center; gap: 14px; padding: 18px clamp(16px, 1.6vw, 24px) 0; }

/* ---------- Principles ---------- */
.section#approach { margin-top: var(--section-y); }
.principles { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px clamp(24px, 3vw, 48px); }
@media (min-width: 900px) { .principles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.principle { border-top: 1px solid var(--sg-ink); padding-top: 24px; display: flex; flex-direction: column; gap: 16px; }
.principle .h3 { margin-top: 32px; }
.principle p { font-size: 16px; line-height: 1.6; color: var(--sg-ink-2); }
.principles--dark .principle { border-top-color: var(--sg-text); }
.principles--dark .principle p { color: var(--sg-text-2); }
.partners { margin-top: clamp(96px, 11vw, 160px); padding-top: 32px; border-top: 1px solid var(--sg-paper-line); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px 48px; }
.partners__text { max-width: 24ch; font-size: clamp(26px, 3.2vw, 46px); line-height: 1.15; }

/* ---------- Photo CTA and band ---------- */
.photo-cta { position: relative; min-height: max(560px, 44vw); display: flex; flex-direction: column; justify-content: flex-end; background: var(--sg-ink-900); overflow: hidden; }
.photo-cta__content { position: relative; padding-top: clamp(96px, 10vw, 140px); padding-bottom: clamp(40px, 5vw, 64px); }
.photo-cta__row .body-photo { text-wrap: wrap; }
.photo-cta__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; margin-top: 40px; }
.band { background: var(--sg-ink-900); border-top: 1px solid var(--sg-line); padding-block: clamp(88px, 10vw, 144px); }
.band__inner { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 40px 64px; }

/* ---------- Service: handle items and steps ---------- */
.handle { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); column-gap: clamp(24px, 3vw, 48px); }
.handle__item { display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: baseline; gap: 16px; padding: 28px 0; border-top: 1px solid var(--sg-line); }
.handle__item > span:last-child { font-size: clamp(20px, 1.8vw, 24px); font-weight: 300; letter-spacing: -0.015em; line-height: 1.3; }
.handle--light .handle__item { border-top-color: var(--sg-paper-line); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px clamp(20px, 2.4vw, 40px); }
@media (max-width: 1100px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.step { display: flex; flex-direction: column; }
.step__line { position: relative; height: 1px; background: var(--sg-ink); margin-bottom: 28px; }
.step__line::before { content: ""; position: absolute; left: 0; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--sg-signal-deep); }
.step .h3 { margin: 28px 0 14px; }
.step p { font-size: 16px; line-height: 1.6; color: var(--sg-ink-2); max-width: 30ch; }

/* ---------- Careers ---------- */
.role summary { list-style: none; cursor: pointer; }
.role summary::-webkit-details-marker { display: none; }
.role__toggle { position: relative; }
.role__toggle::before, .role__toggle::after { content: ""; position: absolute; width: 12px; height: 1px; background: currentColor; transition: transform .5s var(--ease); }
.role__toggle::after { transform: rotate(90deg); }
.role[open] .role__toggle::after { transform: rotate(0deg); }
.role[open] .role__summary { background: var(--sg-ink-900); margin-inline: -16px; padding-inline: 16px; }
.role__body { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; margin-inline: -16px; padding: 8px 16px 48px 88px; background: var(--sg-ink-900); }
.role__about { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; font-weight: 300; max-width: 52ch; }
.role__duties { display: grid; gap: 10px; max-width: 64ch; color: var(--sg-text-2); }
@media (max-width: 640px) { .role__body { padding-left: 16px; } }
.apply { display: flex; flex-wrap: wrap; gap: 56px clamp(48px, 7vw, 128px); }
.apply__intro { flex: 1 1 320px; max-width: 520px; display: flex; flex-direction: column; gap: 28px; }
.apply__form { flex: 1.4 1 420px; max-width: 760px; min-width: 0; }

/* ---------- Contact ---------- */
.contact { padding-top: clamp(160px, 15vw, 220px); padding-bottom: var(--section-y); display: flex; flex-wrap: wrap; gap: 72px clamp(48px, 7vw, 128px); }
.contact__intro { flex: 1 1 380px; max-width: 600px; display: flex; flex-direction: column; gap: 32px; }
.contact__cities { margin-top: auto; padding-top: 40px; }
.contact__city { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; border-top: 1px solid var(--sg-line); color: var(--sg-text-2); transition: color .4s var(--ease); }
.contact__city:last-child { border-bottom: 1px solid var(--sg-line); }
.contact__city .caps { color: var(--sg-text); }
.contact__city .dot { background: var(--sg-line-strong); transition: background .4s var(--ease); }
.contact__city:hover .dot, .contact__city.is-current .dot { background: var(--sg-signal); }
.contact__city.is-current { color: var(--sg-text); }
.contact__form { flex: 1.2 1 420px; max-width: 760px; min-width: 0; }

/* ---------- Forms ---------- */
.form { display: flex; flex-direction: column; gap: 36px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 36px 32px; }
.field { display: flex; flex-direction: column; gap: 12px; position: relative; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field__label { display: flex; justify-content: space-between; gap: 12px; font: 500 11px/1.2 var(--f-sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--sg-text-2); }
.field__error { font-weight: 400; letter-spacing: 0.04em; text-transform: none; color: var(--sg-text); text-align: right; }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--sg-field-line); border-radius: 0;
  color: var(--sg-text); font: 400 18px/1.3 var(--f-sans); padding: 0; outline: none; transition: border-color .4s var(--ease);
}
.field input, .field select { height: 52px; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 28px; cursor: pointer; }
.field select option { background: var(--sg-ink-900); color: var(--sg-text); }
.field textarea { padding: 14px 0; line-height: 1.5; resize: vertical; }
.field ::placeholder { color: var(--sg-text-3); }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--sg-signal); }
.field [aria-invalid="true"] { border-bottom-color: var(--sg-text); }
.select-chevron { position: absolute; right: 2px; bottom: 20px; pointer-events: none; color: var(--sg-text-2); }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.form__to { display: block; color: var(--sg-text-2); }
.form__fail { color: var(--sg-text); }
.honey { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.sent { border-top: 1px solid var(--sg-text); padding-top: 32px; min-height: 420px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.sent[hidden], .form[hidden] { display: none; }
.sent .caption { gap: 12px; }
.sent__text { font-size: clamp(28px, 3vw, 40px); line-height: 1.15; max-width: 20ch; }
.sent .text-btn { margin-top: 12px; }

/* ---------- Legal ---------- */
.legal { max-width: 72ch; display: flex; flex-direction: column; gap: 56px; color: var(--sg-text-2); }
.legal section { display: flex; flex-direction: column; gap: 16px; padding-top: 28px; border-top: 1px solid var(--sg-line); }
.legal h2 { font: 400 clamp(22px, 2vw, 26px)/1.2 var(--f-sans); letter-spacing: -0.015em; color: var(--sg-text); }
.legal strong { color: var(--sg-text); font-weight: 500; }
.legal a { color: var(--sg-text); text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--sg-line-strong); }
.legal a:hover { text-decoration-color: var(--sg-text); }
.legal ul { display: grid; gap: 10px; }
.legal ul li, .role__duties li { position: relative; padding-left: 18px; }
.legal ul li::before, .role__duties li::before { content: ""; position: absolute; left: 0; top: 10px; width: 5px; height: 5px; border-radius: 50%; background: var(--sg-text-3); }
.table-wrap { overflow-x: auto; }
.legal table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; }
.legal th { text-align: left; font: 500 11px/1.2 var(--f-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--sg-text-2); padding: 0 16px 12px 0; }
.legal td { padding: 14px 16px 14px 0; border-top: 1px solid var(--sg-line); vertical-align: top; color: var(--sg-text); }
.legal th { white-space: nowrap; }
.legal td:first-child { white-space: nowrap; }
.legal__date { color: var(--sg-text-3); }

/* ---------- Footer ---------- */
.footer { background: var(--sg-ink-950); border-top: 1px solid var(--sg-line); padding: 96px var(--margin) calc(40px + env(safe-area-inset-bottom, 0px)); }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)); gap: 48px clamp(24px, 3vw, 48px); padding-bottom: 72px; }
.footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.footer__brand p { color: var(--sg-text-2); max-width: 30ch; font-size: 15px; }
.footer__mail { color: var(--sg-text); font-size: 15px; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--sg-line-strong); }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col .label { margin: 0 0 8px; }
.footer__col a { font-size: 15px; white-space: nowrap; color: var(--sg-text); transition: color .4s var(--ease); }
.footer__col a:hover { color: var(--sg-white); }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; padding-top: 24px; border-top: 1px solid var(--sg-line); font-size: 13px; color: var(--sg-text-3); }
.footer__links { display: flex; flex-wrap: wrap; gap: 28px; }
.footer__links a, .footer__btn { color: var(--sg-text-2); transition: color .4s var(--ease); }
.footer__btn { appearance: none; background: none; border: 0; padding: 0; font-size: 13px; cursor: pointer; }
.footer__links a:hover, .footer__btn:hover { color: var(--sg-text); }
@media (max-width: 960px) { .footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer__col[aria-label="Services"] { grid-row: span 2; } .footer__col a { white-space: normal; } }

/* ---------- Cookie consent ---------- */
.consent {
  position: fixed; right: var(--margin); bottom: calc(var(--margin) + env(safe-area-inset-bottom, 0px)); z-index: 60;
  width: min(380px, calc(100vw - 2 * var(--margin))); padding: 20px; display: flex; flex-direction: column; gap: 16px;
  background: var(--sg-ink-900); border: 1px solid var(--sg-line-strong); color: var(--sg-text);
  font-size: 13px; line-height: 1.5; animation: consent-in .7s var(--ease) both;
}
.consent[hidden] { display: none; }
@keyframes consent-in { from { opacity: 0; transform: translateY(12px); } }
.consent__text { color: var(--sg-text-2); }
.consent__text a { color: var(--sg-text); text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--sg-line-strong); }
.consent__prefs { display: flex; flex-direction: column; border-top: 1px solid var(--sg-line); }
.consent__prefs[hidden] { display: none; }
.consent__row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--sg-line); }
.consent__fixed { font: 400 11px/1 var(--f-mono); color: var(--sg-text-3); }
.consent__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  appearance: none; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--sg-pill-line);
  background: transparent; color: var(--sg-text); font: 500 13px/1 var(--f-sans); cursor: pointer;
  transition: background .4s var(--ease), border-color .4s var(--ease);
}
.chip:hover { background: rgba(232, 236, 242, 0.08); border-color: rgba(232, 236, 242, 0.5); }
.chip--solid { background: var(--sg-text); color: var(--sg-ink-950); border-color: var(--sg-text); }
.chip--solid:hover { background: var(--sg-white); border-color: var(--sg-white); }
.chip--text { border-color: transparent; padding: 0 8px; color: var(--sg-text-2); }
.chip--text:hover { background: none; border-color: transparent; color: var(--sg-text); }
.chip[hidden] { display: none; }
.switch { appearance: none; width: 34px; height: 20px; border-radius: 999px; border: 1px solid var(--sg-text-3); background: var(--sg-line-strong); position: relative; cursor: pointer; transition: background .3s var(--ease); margin: 0; }
.switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--sg-text); transition: transform .3s var(--ease); }
.switch:checked { background: var(--sg-signal); }
.switch:checked::after { transform: translateX(14px); background: var(--sg-ink-950); }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .map .pulse { opacity: 0; }
  .strip { overflow-x: auto; scrollbar-width: none; }
  .strip__track .tile[aria-hidden="true"] { display: none; }
}
.footer__links { align-items: baseline; }
.footer__btn { font: inherit; line-height: inherit; }
.footer__links a, .footer__btn { padding-block: 8px; }

/* ---------- Review fixes: focus, breaks, stacking ---------- */
.section--paper :focus-visible { outline-color: var(--sg-signal-deep); }
@media (max-width: 899px) {
  .br { display: none; }
  .contact__intro, .apply__intro { max-width: none; }
}
/* Without JavaScript the menu button can't open the sheet, so show the links instead. */
.no-js .nav__menu { display: none; }
@media (max-width: 899px) {
  .no-js .nav__bar { height: auto; min-height: 80px; flex-wrap: wrap; padding-block: 16px; }
  .no-js .nav__links { display: flex; flex-wrap: wrap; gap: 12px 20px; }
}

/* ---------- Breadcrumbs ---------- */
.crumbs { margin-bottom: 28px; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font: 500 11px/1.2 var(--f-sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--sg-text-2); }
.crumbs li { display: inline-flex; align-items: center; gap: 10px; }
.crumbs li + li::before { content: "/"; color: var(--sg-text-3); }
.crumbs a { color: var(--sg-text-2); padding-block: 8px; transition: color .4s var(--ease); }
.crumbs a:hover { color: var(--sg-text); }
.crumbs [aria-current] { color: var(--sg-text); }
.page-intro .crumbs { margin-bottom: 0; }

/* ---------- Answer sentences and notes ---------- */
.head .lead { margin-top: 28px; max-width: 60ch; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; color: var(--sg-text-2); }
.section--paper .head .lead { color: var(--sg-ink-2); }
.note { margin-top: 32px; max-width: 72ch; }
.inline-link { color: var(--sg-text-2); text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--sg-line-strong); }
.inline-link:hover { color: var(--sg-text); text-decoration-color: var(--sg-text); }
.contact__company { margin-top: 28px; max-width: 56ch; }
.notfound__links { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 32px; }

/* ---------- FAQ ---------- */
.faq__list { border-bottom: 1px solid var(--sg-paper-line); }
.faq__item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 12px clamp(24px, 4vw, 64px); padding: 28px 0; border-top: 1px solid var(--sg-paper-line); }
.faq__q { font: 400 clamp(19px, 1.7vw, 23px)/1.3 var(--f-sans); letter-spacing: -0.015em; color: var(--sg-ink); }
.faq__a { font-size: 16px; line-height: 1.6; color: var(--sg-ink-2); max-width: 64ch; }
@media (max-width: 760px) { .faq__item { grid-template-columns: minmax(0, 1fr); } }
/* The menu sheet lives inside the header's stacking context, so hide the banner while it is open. */
body.is-locked .consent { display: none; }

/* ---------- Careers ---------- */
.careers__meta { color: var(--sg-text-2); }
.facts--role { max-width: 640px; margin-top: 8px; }
.facts--role .fact { grid-template-columns: 120px minmax(0, 1fr); }
.facts--role dd { font-size: 17px; color: var(--sg-text); }
@media (max-width: 899px) { .facts--role .fact { grid-template-columns: 96px minmax(0, 1fr); } }
