/* ==========================================================================
   AttyHR — Prestige design system
   Brand guide v2.0: Poppins · Ivory / Navy / Teal / Sienna / Mist
   ========================================================================== */

/* ============ Tokens ============ */
:root {
  --ivory: #FBF3EE;
  --ivory-2: #F5EAE2;
  --navy: #1E3A5F;
  --navy-900: #152B47;
  --navy-950: #10233B;
  --teal: #3F8E8B;
  --teal-800: #2C6866;
  --teal-light: #8CC9C2;
  --sienna: #B5522D;
  --sienna-light: #E08A68;
  --mist: #E9F5F2;
  --muted: #556170;
  --slate-200: #C5D0DC;
  --line: rgba(30, 58, 95, .14);
  --line-strong: rgba(30, 58, 95, .28);
  --line-dark: rgba(251, 243, 238, .16);
  --danger: #A63A1F;

  --font: "Poppins", Arial, system-ui, sans-serif;
  --container: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --section-y: clamp(96px, 12vw, 176px);
  --header-h: 72px;
  --ease: cubic-bezier(.16, .84, .3, 1);
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.7;
  color: var(--navy); background: var(--ivory);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; }
.on-dark :focus-visible { outline-color: var(--teal-light); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 12px 20px; border-radius: 999px; background: var(--ivory); color: var(--navy); font-size: 14px; font-weight: 500; transition: top .3s var(--ease); }
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* ============ Type ============ */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase;
  color: var(--teal-800);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.on-dark .eyebrow { color: var(--teal-light); }

.display { font-weight: 300; font-size: clamp(42px, 5.8vw, 88px); line-height: 1.02; letter-spacing: -.035em; }
.display em { font-style: italic; font-weight: 300; color: var(--teal-light); }
.display--page { font-size: clamp(40px, 5vw, 76px); line-height: 1.04; }
.h2 { font-weight: 300; font-size: clamp(34px, 4.4vw, 64px); line-height: 1.08; letter-spacing: -.03em; }
.h2 em { font-style: italic; color: var(--teal); }
.on-dark .h2 em { color: var(--teal-light); }
.h2--sm { font-size: clamp(30px, 3.4vw, 48px); }
.lead { font-weight: 300; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.75; color: var(--muted); }
.on-dark .lead { color: var(--slate-200); }
.numeral { font-size: 13px; font-weight: 500; letter-spacing: .2em; color: var(--sienna); }
.fine { font-size: 13px; font-weight: 300; color: var(--muted); }
.fine a { text-decoration: underline; text-underline-offset: 3px; }
.placeholder { color: var(--sienna); }

/* ============ Buttons & links ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  height: 56px; padding: 0 28px;
  font: 500 14px/1 var(--font); letter-spacing: .06em;
  border-radius: 999px; border: 1px solid transparent; background: none; cursor: pointer;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), gap .4s var(--ease);
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.btn:hover { gap: 20px; }
.btn--ivory { background: var(--ivory); color: var(--navy); }
.btn--ivory:hover { background: var(--mist); }
.btn--navy { background: var(--navy); color: var(--ivory); }
.btn--navy:hover { background: var(--navy-900); }
.btn--ghost { border-color: var(--line-dark); color: var(--ivory); }
.btn--ghost:hover { border-color: var(--teal-light); color: var(--teal-light); }
.btn--line { border-color: var(--line-strong); color: var(--navy); }
.btn--line:hover { border-color: var(--navy); }
.btn--block { width: 100%; }
.btn--sm { height: 44px; padding: 0 20px; font-size: 13px; }
.btn[aria-busy="true"] { opacity: .7; cursor: progress; }

.link-line {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  font-size: 14px; font-weight: 500; letter-spacing: .04em; padding-bottom: 6px;
}
.link-line::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform-origin: left; transition: transform .6s var(--ease);
}
.link-line:hover::after { transform: scaleX(.35); }
.link-line svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }

/* ============ Arch frame (brand arc device) ============ */
.arch {
  position: relative; overflow: hidden; margin: 0;
  border-radius: 9999px 9999px 0 0; background: var(--navy-900); isolation: isolate;
}
.arch img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.08); mix-blend-mode: luminosity; opacity: .78;
}
.arch::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(30,58,95,0) 40%, rgba(16,35,59,.55) 100%);
}

/* ============ Header ============ */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50; color: var(--ivory);
  transition: background .5s var(--ease), color .5s var(--ease), box-shadow .5s var(--ease);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 88px; transition: height .5s var(--ease); }
.header__logo { position: relative; width: 128px; height: 38px; }
.header__logo img { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .4s var(--ease); }
.header__logo .logo-dark { opacity: 0; }
.header__nav { display: flex; align-items: center; gap: 40px; }
.header__links { display: flex; gap: 34px; }
.header__links a { position: relative; font-size: 13px; font-weight: 400; letter-spacing: .08em; opacity: .82; transition: opacity .3s; }
.header__links a:hover, .header__links a[aria-current="page"] { opacity: 1; }
.header__links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: -10px; width: 4px; height: 4px; margin-left: -2px;
  border-radius: 50%; background: var(--teal-light);
}
.header__cta {
  font-size: 13px; font-weight: 500; letter-spacing: .08em;
  padding: 12px 22px; border: 1px solid var(--line-dark); border-radius: 999px;
  transition: border-color .3s, background .3s, color .3s;
}
.header__cta:hover { border-color: var(--teal-light); color: var(--teal-light); }
.header.is-solid {
  background: rgba(251, 243, 238, .92);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  color: var(--navy); box-shadow: 0 1px 0 var(--line);
}
.header.is-solid .header__inner { height: var(--header-h); }
.header.is-solid .logo-light { opacity: 0; }
.header.is-solid .logo-dark { opacity: 1; }
.header.is-solid .header__links a[aria-current="page"]::after { background: var(--teal); }
.header.is-solid .header__cta { border-color: var(--navy); }
.header.is-solid .header__cta:hover { background: var(--navy); color: var(--ivory); }
.header__toggle { display: none; width: 44px; height: 44px; margin-right: -10px; background: none; border: 0; color: inherit; cursor: pointer; }
.header__toggle span { display: block; width: 22px; height: 1px; margin: 6px auto; background: currentColor; transition: transform .4s var(--ease); }

/* ============ Load-in motion ============ */
.rise { display: block; overflow: hidden; padding-bottom: .06em; }
.rise > span { display: block; transform: translateY(105%); transition: transform 1.3s var(--ease); }
.is-loaded .rise > span { transform: none; }
.is-loaded .rise:nth-child(2) > span { transition-delay: .12s; }
.is-loaded .rise:nth-child(3) > span { transition-delay: .24s; }
.fade { opacity: 0; transform: translateY(16px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.is-loaded .fade { opacity: 1; transform: none; transition-delay: var(--d, .5s); }

/* ============ Home hero ============ */
.hero {
  position: relative; isolation: isolate; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  background:
    radial-gradient(120% 80% at 85% 10%, rgba(140, 201, 194, .12), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-900) 100%);
  color: var(--ivory); overflow: hidden;
}
.hero__bg {
  position: absolute; top: 0; right: 0; bottom: 0; z-index: -2;
  height: 100%; width: auto; aspect-ratio: 900 / 1080; max-width: 72%;
  background: var(--navy);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 42%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 42%);
}
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%;
  filter: grayscale(1) contrast(1.1); mix-blend-mode: luminosity; opacity: .7;
  transform: scale(1.08); transition: transform 2.8s var(--ease);
}
.is-loaded .hero__bg img { transform: scale(1); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(21,43,71,.55) 0%, rgba(21,43,71,0) 22%, rgba(21,43,71,0) 70%, rgba(21,43,71,.85) 100%);
}
.hero__grid {
  flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(32px, 6vw, 96px); align-items: end;
  padding-top: clamp(140px, 18vh, 200px); padding-bottom: clamp(48px, 7vh, 80px);
}
.hero__copy { display: flex; flex-direction: column; gap: 36px; max-width: 760px; }
.hero__lead { max-width: 520px; font-size: clamp(16px, 1.3vw, 18px); font-weight: 300; color: var(--slate-200); line-height: 1.75; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__arcs { position: absolute; z-index: -1; width: min(900px, 70vw); right: -6%; bottom: 0; pointer-events: none; opacity: .9; }
.hero__caption {
  display: flex; flex-direction: column; align-items: flex-end; gap: 6px; padding-bottom: 6px;
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--slate-200);
}
.hero__caption span:first-child { color: var(--ivory); }
.hero__caption::before { content: ""; width: 1px; height: 48px; margin-bottom: 10px; background: var(--teal-light); opacity: .6; }
.hero__bar { border-top: 1px solid var(--line-dark); }
.hero__bar .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.dotlist { display: flex; flex-wrap: wrap; gap: 8px 0; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--slate-200); }
.dotlist li { display: flex; align-items: center; }
.dotlist li + li::before { content: ""; width: 3px; height: 3px; margin: 0 16px; border-radius: 50%; background: var(--teal-light); }
.hero__scroll { display: flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--slate-200); white-space: nowrap; }
.hero__scroll i { position: relative; display: block; width: 1px; height: 36px; background: var(--line-dark); overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--teal-light); animation: drip 2.4s var(--ease) infinite; }
@keyframes drip { to { top: 100%; } }

/* ============ Page hero (inner pages) ============ */
.phero {
  position: relative; isolation: isolate; overflow: hidden; color: var(--ivory);
  background:
    radial-gradient(110% 80% at 90% 0%, rgba(140, 201, 194, .12), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-900) 100%);
}
.phero__grid {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: clamp(40px, 7vw, 120px); align-items: end;
  padding-top: clamp(150px, 18vh, 200px); padding-bottom: clamp(64px, 9vw, 112px);
}
.phero--compact .phero__grid { grid-template-columns: 1fr; padding-bottom: clamp(56px, 7vw, 88px); }
.phero__copy { display: flex; flex-direction: column; gap: 30px; max-width: 820px; }
.phero__copy .lead { max-width: 580px; }
.phero__arch { width: 100%; max-width: 380px; justify-self: end; aspect-ratio: 900 / 1080; position: relative; }
.phero__arch .arch { position: absolute; inset: 0; clip-path: inset(100% 0 0 0); transition: clip-path 1.8s var(--ease) .3s; }
.phero__arch .arch img { transform: scale(1.1); transition: transform 2.6s var(--ease) .3s; }
.is-loaded .phero__arch .arch { clip-path: inset(0); }
.is-loaded .phero__arch .arch img { transform: scale(1); }
.phero__arch::before {
  content: ""; position: absolute; inset: -16px -16px 0; border: 1px solid var(--line-dark); border-bottom: 0;
  border-radius: 9999px 9999px 0 0; opacity: 0; transition: opacity 1.4s var(--ease) 1.2s;
}
.is-loaded .phero__arch::before { opacity: 1; }
.phero__cap { position: absolute; left: 50%; bottom: 20px; z-index: 2; transform: translateX(-50%); font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--ivory); white-space: nowrap; }
.phero__arcs { position: absolute; z-index: -1; width: min(820px, 64vw); right: -8%; bottom: -2px; pointer-events: none; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--slate-200); }
.crumbs li { display: flex; align-items: center; }
.crumbs li + li::before { content: ""; width: 18px; height: 1px; margin: 0 12px; background: var(--teal-light); opacity: .7; }
.crumbs a:hover { color: var(--teal-light); }
.crumbs [aria-current] { color: var(--teal-light); }

/* Aside card on dark heroes (Careers) */
.steps-card { padding: clamp(28px, 3vw, 40px); border: 1px solid var(--line-dark); background: rgba(16, 35, 59, .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.steps-card h2 { font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--teal-light); margin-bottom: 8px; }
.numlist li { display: grid; grid-template-columns: 44px 1fr; gap: 8px; padding: 20px 0; border-bottom: 1px solid var(--line-dark); }
.numlist li:last-child { border-bottom: 0; padding-bottom: 0; }
.numlist__no { font-size: 12px; letter-spacing: .2em; color: var(--teal-light); padding-top: 3px; }
.numlist strong { display: block; font-weight: 400; font-size: 17px; letter-spacing: -.01em; }
.numlist span span { display: block; margin-top: 4px; font-size: 14px; font-weight: 300; color: var(--slate-200); }
.numlist--light li { border-color: var(--line); }
.numlist--light .numlist__no { color: var(--sienna); }
.numlist--light span span { color: var(--muted); }

/* ============ Jump bar ============ */
.jumpbar { position: sticky; top: var(--header-h); z-index: 40; background: rgba(251, 243, 238, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.jumpbar ul { display: flex; gap: 36px; height: 60px; align-items: center; overflow-x: auto; scrollbar-width: none; }
.jumpbar ul::-webkit-scrollbar { display: none; }
.jumpbar a { position: relative; display: block; padding: 6px 0; font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); white-space: nowrap; transition: color .3s; }
.jumpbar a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--navy); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.jumpbar a:hover, .jumpbar a.is-active { color: var(--navy); }
.jumpbar a.is-active::after { transform: scaleX(1); }

/* ============ Sections ============ */
.section { padding: var(--section-y) 0; }
.section--tight { padding: clamp(72px, 9vw, 120px) 0; }
.section--mist { background: var(--mist); }
.section--sand { background: var(--ivory-2); }
.section--navy { background: var(--navy); color: var(--ivory); }
.head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: clamp(48px, 6vw, 80px); }
.head > div { display: flex; flex-direction: column; gap: 24px; }
.head > p { max-width: 400px; color: var(--muted); font-weight: 300; }
.on-dark .head > p { color: var(--slate-200); }
.head--center { flex-direction: column; align-items: center; text-align: center; }
.head--center > div { align-items: center; }
.head--center > p { max-width: 560px; }

/* ============ Statement + principles ============ */
.statement { padding: var(--section-y) 0; }
.statement__grid { display: grid; grid-template-columns: 1fr 2.4fr; gap: clamp(32px, 6vw, 96px); }
.statement__text { font-weight: 300; font-size: clamp(24px, 2.7vw, 40px); line-height: 1.38; letter-spacing: -.02em; }
.statement__text strong { font-weight: 500; }
.statement__text .soft { color: rgba(30,58,95,.42); }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(64px, 8vw, 112px); border-top: 1px solid var(--line); }
.principles--flush { margin-top: 0; }
.principles--4 { grid-template-columns: repeat(4, 1fr); }
.principle { padding: 36px 36px 0 0; display: flex; flex-direction: column; gap: 14px; }
.principle + .principle { padding-left: 36px; border-left: 1px solid var(--line); }
.principle h3 { font-size: 20px; font-weight: 500; letter-spacing: -.01em; }
.principle p { font-size: 15px; color: var(--muted); font-weight: 300; }

/* ============ Practices ============ */
.practice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.practice {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(32px, 4vw, 56px); border-radius: 4px; min-height: 680px; overflow: hidden;
}
.practice--advisory { background: var(--navy); color: var(--ivory); }
.practice--recruit { background: var(--mist); }
.practice__top { display: flex; justify-content: space-between; align-items: center; }
.practice--advisory .numeral { color: var(--teal-light); }
.practice__tag { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; opacity: .7; }
.practice h3 { font-weight: 300; font-size: clamp(40px, 4.6vw, 72px); line-height: 1; letter-spacing: -.035em; margin: clamp(64px, 9vw, 140px) 0 24px; }
.practice__desc { max-width: 440px; font-weight: 300; font-size: 17px; opacity: .85; }
.practice__list { margin: 44px 0 40px; border-top: 1px solid var(--line); }
.practice--advisory .practice__list { border-color: var(--line-dark); }
.practice__list li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.practice--advisory .practice__list li { border-color: var(--line-dark); }
.practice__list li span:last-child { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; opacity: .55; white-space: nowrap; }
.practice__foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.practice .link-line { margin-top: auto; align-self: flex-start; }
.practice__foot .link-line { margin-top: 0; }
.practice__mark { position: absolute; right: -32px; top: 56px; width: 240px; opacity: .1; pointer-events: none; }
.practice--recruit .practice__mark { opacity: .14; }
.practice--compact { min-height: 0; }
.practice--compact h3 { margin-top: clamp(40px, 5vw, 72px); }
.footnote { margin-top: 28px; font-size: 13px; color: var(--muted); font-weight: 300; max-width: 760px; }

/* ============ Markets (home) ============ */
.markets { background: var(--navy-950); color: var(--ivory); padding: var(--section-y) 0; position: relative; isolation: isolate; overflow: hidden; }
.markets__bg {
  position: absolute; top: 0; right: 0; bottom: 0; z-index: -2;
  height: 100%; width: auto; aspect-ratio: 900 / 1080; max-width: 100%;
  background: var(--navy-900);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 38%);
}
.markets__bg img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.1); mix-blend-mode: luminosity;
  opacity: 0; transform: scale(1.05); transition: opacity 1.1s var(--ease), transform 2.4s var(--ease);
}
.markets__bg img.is-on { opacity: .55; transform: scale(1); }
.markets::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(16,35,59,0) 40%, rgba(16,35,59,.5) 100%),
    linear-gradient(180deg, rgba(16,35,59,.7) 0%, rgba(16,35,59,0) 20%, rgba(16,35,59,0) 78%, rgba(16,35,59,.85) 100%);
}
.markets__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 7vw, 120px); align-items: stretch; }
.markets__aside { display: flex; flex-direction: column; justify-content: space-between; gap: 56px; }
.markets__head { display: flex; flex-direction: column; gap: 28px; }
.markets__head p { max-width: 460px; color: var(--slate-200); font-weight: 300; }
.markets__now { display: flex; align-items: flex-end; gap: 20px; padding-top: 28px; border-top: 1px solid var(--line-dark); }
.markets__now-no { font-weight: 300; font-size: clamp(72px, 9vw, 136px); line-height: .8; letter-spacing: -.05em; }
.markets__now-meta { display: flex; flex-direction: column; gap: 6px; padding-bottom: 4px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--slate-200); }
.markets__now-meta span:first-child { color: var(--teal-light); }
.market-list { border-top: 1px solid var(--line-dark); }
.market { display: grid; grid-template-columns: 56px 1fr auto; align-items: baseline; gap: 16px; padding: 26px 0; border-bottom: 1px solid var(--line-dark); cursor: default; transition: padding .6s var(--ease); }
.market__no { font-size: 12px; letter-spacing: .2em; color: var(--slate-200); opacity: .6; }
.market__name { font-weight: 300; font-size: clamp(26px, 3vw, 44px); letter-spacing: -.025em; line-height: 1.1; transition: color .5s var(--ease); }
.market__name small { display: block; margin-top: 6px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--slate-200); font-weight: 400; }
.market__rule { font-size: 13px; color: var(--slate-200); text-align: right; opacity: .75; transition: opacity .5s, color .5s; }
.market:hover, .market.is-active { padding-left: 14px; }
.market.is-active .market__name, .market:hover .market__name { color: var(--teal-light); }
.market.is-active .market__rule { opacity: 1; color: var(--ivory); }

/* ============ Approach steps ============ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--line); }
.step { position: relative; padding-right: 32px; padding-top: 48px; }
.step::before { content: ""; position: absolute; top: 0; left: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--ivory); border: 1px solid var(--navy); }
.step:last-child::before { background: var(--sienna); border-color: var(--sienna); }
.step__no { font-size: 12px; letter-spacing: .2em; color: var(--muted); }
.step h3 { font-size: 26px; font-weight: 400; letter-spacing: -.02em; margin: 14px 0 12px; }
.step p { font-size: 15px; color: var(--muted); font-weight: 300; }

/* ============ Manifesto ============ */
.manifesto { position: relative; padding: clamp(120px, 16vw, 220px) 0; background: var(--mist); text-align: center; overflow: hidden; }
.manifesto__mark { width: 84px; margin: 0 auto 40px; }
.manifesto blockquote { margin: 0 auto; max-width: 1000px; font-weight: 300; font-size: clamp(36px, 5.6vw, 88px); line-height: 1.06; letter-spacing: -.035em; }
.manifesto blockquote em { font-style: italic; color: var(--teal-800); }
.manifesto cite { display: block; margin-top: 36px; font-style: normal; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.manifesto__arcs { position: absolute; left: 50%; bottom: -2px; width: max(1400px, 120%); transform: translateX(-50%); pointer-events: none; }

/* ============ Offices ============ */
.office-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.office { display: flex; flex-direction: column; }
.office__photo { position: relative; margin: 0; aspect-ratio: 1 / 1; overflow: hidden; background: var(--navy-900); isolation: isolate; }
.office__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.12); mix-blend-mode: luminosity; opacity: .9; transform: scale(1.04); transition: transform 1.6s var(--ease), opacity .8s var(--ease); }
.office__photo::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(16,35,59,0) 55%, rgba(16,35,59,.55) 100%); }
.office:hover .office__photo img { transform: scale(1); opacity: 1; }
.office__tag { position: absolute; z-index: 2; left: 16px; top: 16px; padding: 7px 12px; border-radius: 999px; background: var(--ivory); color: var(--sienna); font-size: 10px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; line-height: 1; }
.office__coords { position: absolute; z-index: 2; left: 16px; bottom: 14px; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--ivory); opacity: .85; }
.office__meta { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--line); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.office__meta span:first-child { color: var(--sienna); font-weight: 500; }
.office h3 { margin-top: 20px; font-size: clamp(26px, 2.4vw, 34px); font-weight: 300; letter-spacing: -.025em; line-height: 1.1; }
.office address { margin-top: 12px; font-style: normal; font-size: 14px; line-height: 1.65; color: var(--muted); font-weight: 300; max-width: 320px; }
.office__links { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 20px; }
.office__phone { font-size: 14px; letter-spacing: .04em; }
.office__phone:hover { color: var(--teal); }

/* ============ CTA ============ */
.cta { background: var(--navy); color: var(--ivory); padding: var(--section-y) 0; position: relative; overflow: hidden; }
.cta__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: end; }
.cta .display { font-size: clamp(42px, 6vw, 92px); }
.cta__side { display: flex; flex-direction: column; gap: 28px; }
.cta__side p { color: var(--slate-200); font-weight: 300; }
.cta__list li { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line-dark); font-size: 15px; font-weight: 300; }
.cta__list li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 10px; border-radius: 50%; background: var(--teal-light); }

/* ============ Folio grid (Services: what's included) ============ */
.folio { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.folio__item { display: flex; flex-direction: column; gap: 14px; padding: 40px 36px 44px 0; border-bottom: 1px solid var(--line); }
.folio__item:not(:nth-child(3n+1)) { padding-left: 36px; border-left: 1px solid var(--line); }
.folio__item h3 { margin-top: 18px; font-size: 24px; font-weight: 400; letter-spacing: -.02em; line-height: 1.2; }
.folio__item p { font-size: 15px; font-weight: 300; color: var(--muted); }
.folio__inc { margin-top: auto; padding-top: 18px; border-top: 1px dotted var(--line-strong); font-size: 13px !important; }
.folio__inc b { display: block; margin-bottom: 4px; font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--teal-800); }

/* ============ Table (Services: markets) ============ */
.table-wrap { overflow-x: auto; }
.ptable { width: 100%; min-width: 760px; border-collapse: collapse; }
.ptable th, .ptable td { padding: 24px 20px 24px 0; text-align: left; vertical-align: baseline; border-bottom: 1px solid var(--line-dark); }
.ptable thead th { padding-top: 0; padding-bottom: 16px; font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--slate-200); border-bottom-color: var(--ivory); }
.ptable tbody th { font-weight: 300; font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -.02em; }
.ptable tbody th small { display: block; font-size: 11px; font-weight: 400; letter-spacing: .2em; color: var(--teal-light); margin-bottom: 4px; }
.ptable td { font-size: 15px; font-weight: 300; color: var(--slate-200); }
.ptable td:last-child { text-align: right; padding-right: 0; }
.ptable tbody tr { transition: background .4s var(--ease); }
.ptable tbody tr:hover { background: rgba(140, 201, 194, .06); }
.ptable a { font-size: 13px; font-weight: 500; letter-spacing: .06em; color: var(--ivory); border-bottom: 1px solid var(--line-dark); padding-bottom: 3px; white-space: nowrap; transition: color .3s, border-color .3s; }
.ptable a:hover { color: var(--teal-light); border-color: var(--teal-light); }

/* ============ FAQ ============ */
.faq { max-width: 920px; margin: 0 auto; border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; display: block; padding: 28px 56px 28px 0; cursor: pointer; list-style: none; font-size: clamp(19px, 1.8vw, 24px); font-weight: 300; letter-spacing: -.015em; transition: color .3s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 18px; height: 1px; background: currentColor; transition: transform .5s var(--ease); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq summary:hover { color: var(--teal); }
.faq__answer { max-width: 760px; padding: 0 0 32px; font-weight: 300; color: var(--muted); }

/* ============ Figures (About) ============ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.split__copy { display: flex; flex-direction: column; gap: 24px; }
.split__copy p { font-weight: 300; color: var(--muted); font-size: 17px; }
.figures { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.figure { display: flex; flex-direction: column; gap: 12px; padding: 36px 28px 40px 0; border-bottom: 1px solid var(--line); }
.figure:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line); }
.figure b { font-weight: 300; font-size: clamp(64px, 7vw, 112px); line-height: .9; letter-spacing: -.05em; color: var(--navy); }
.figure:last-child b { color: var(--sienna); }
.figure span { font-size: 14px; font-weight: 300; color: var(--muted); max-width: 220px; }

/* ============ Team ============ */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.4vw, 32px); }
.member { display: flex; flex-direction: column; }
.member__photo { display: grid; place-items: center; aspect-ratio: 4 / 5; border-radius: 9999px 9999px 0 0; background: var(--navy); color: var(--teal-light); font-weight: 300; font-size: 28px; letter-spacing: .1em; position: relative; overflow: hidden; }
.member__photo::after { content: ""; position: absolute; inset: 10px 10px 0; border: 1px solid var(--line-dark); border-bottom: 0; border-radius: 9999px 9999px 0 0; }
.member:nth-child(even) .member__photo { background: var(--mist); color: var(--teal-800); }
.member:nth-child(even) .member__photo::after { border-color: var(--line); }
.member__name { margin-top: 24px; font-size: 20px; font-weight: 400; letter-spacing: -.01em; }
.member__role { margin-top: 4px; font-size: 14px; font-weight: 300; color: var(--muted); }
.member__city { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--sienna); }

/* ============ Filters ============ */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(40px, 5vw, 56px); }
.filter { height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: none; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.filter:hover { border-color: var(--navy); color: var(--navy); }
.filter[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--ivory); }
.count { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.empty { padding: 40px 0; font-weight: 300; color: var(--muted); }
.empty a { color: var(--navy); border-bottom: 1px solid currentColor; }

/* ============ Insights ============ */
.feature { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 112px); align-items: center; }
.feature__media { position: relative; aspect-ratio: 900 / 1080; max-width: 460px; }
.feature__media .arch { position: absolute; inset: 0; }
.feature__media::before { content: ""; position: absolute; inset: -16px -16px 0; border: 1px solid var(--line-strong); border-bottom: 0; border-radius: 9999px 9999px 0 0; }
.feature__body { display: flex; flex-direction: column; gap: 24px; }
.feature__title { font-weight: 300; font-size: clamp(32px, 3.6vw, 54px); line-height: 1.08; letter-spacing: -.03em; }
.feature:hover .feature__title { color: var(--teal); }
.feature__title, .article__title { transition: color .4s var(--ease); }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.tag { color: var(--sienna); font-weight: 500; }
.byline { font-size: 13px; font-weight: 300; color: var(--muted); }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(32px, 3vw, 48px) clamp(20px, 3vw, 40px); }
.article { display: flex; flex-direction: column; height: 100%; }
.article__art { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy); }
.article__art svg { position: absolute; left: 50%; bottom: -2px; width: 120%; transform: translateX(-50%); transition: transform 1.2s var(--ease); }
.article:hover .article__art svg { transform: translateX(-50%) scale(1.06); }
.article__art--mist { background: var(--mist); }
.article__art--sand { background: var(--ivory-2); }
.article__art--deep { background: var(--navy-950); }
.article__body { display: flex; flex-direction: column; gap: 14px; flex: 1; padding-top: 24px; }
.article__title { font-size: 22px; font-weight: 400; line-height: 1.3; letter-spacing: -.015em; }
.article:hover .article__title { color: var(--teal); }
.article__desc { font-size: 15px; font-weight: 300; color: var(--muted); }
.article .byline { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }

/* ============ Careers jobs ============ */
.jobs { border-top: 1px solid var(--navy); }
.job { display: grid; grid-template-columns: 1.6fr 1fr auto; gap: 16px clamp(24px, 4vw, 64px); align-items: center; padding: 32px 0; border-bottom: 1px solid var(--line); transition: padding .5s var(--ease), background .5s var(--ease); }
.job:hover { background: var(--mist); padding-left: 20px; padding-right: 20px; }
.job__main { display: flex; flex-direction: column; gap: 10px; }
.job__title { font-size: clamp(22px, 2.2vw, 30px); font-weight: 300; letter-spacing: -.02em; line-height: 1.15; }
.job__company { font-size: 14px; font-weight: 300; color: var(--muted); }
.job__desc { font-size: 14px; font-weight: 300; color: var(--muted); max-width: 520px; }
.job__facts { display: flex; flex-direction: column; gap: 6px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.job__facts li:first-child { color: var(--navy); }

/* ============ Forms ============ */
.form-split { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.form-split__intro { display: flex; flex-direction: column; gap: 24px; position: sticky; top: calc(var(--header-h) + 40px); }
.ticks li { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 15px; font-weight: 300; }
.ticks li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 10px; border-radius: 50%; background: var(--teal); }
.form-card { position: relative; padding: clamp(28px, 4vw, 56px); background: #FFFCFA; border: 1px solid var(--line); }
.form-card::before { content: ""; position: absolute; left: -1px; top: -1px; width: 56px; height: 2px; background: var(--sienna); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .fieldset legend, .chip-group legend { font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--navy); }
.field__optional { font-weight: 400; letter-spacing: .06em; text-transform: none; color: var(--muted); }
.input {
  width: 100%; height: 52px; padding: 0 2px; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0;
  background: transparent; font-size: 16px; font-weight: 300; color: var(--navy); transition: border-color .3s;
}
.input::placeholder { color: rgba(85, 97, 112, .6); }
.input:hover { border-bottom-color: var(--navy); }
.input:focus { outline: none; border-bottom-color: var(--teal); box-shadow: 0 1px 0 var(--teal); }
textarea.input { height: auto; min-height: 104px; padding: 14px 2px; resize: vertical; line-height: 1.6; }
select.input { -webkit-appearance: none; appearance: none; padding-right: 28px; cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231E3A5F' stroke-width='1.3'/%3E%3C/svg%3E") no-repeat right 4px center; }
.input--file { height: auto; padding: 14px 0; font-size: 14px; border-bottom-style: dashed; }
.input--file::file-selector-button { margin-right: 16px; height: 40px; padding: 0 18px; border: 1px solid var(--navy); border-radius: 999px; background: none; font: 500 12px var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--navy); cursor: pointer; }
.input[aria-invalid="true"] { border-bottom-color: var(--danger); }
.field__error { margin: 0; font-size: 13px; color: var(--danger); }
.field__error:empty { display: none; }
.fieldset { margin: 0; padding: 0; border: 0; }
.fieldset + .fieldset { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--line); }
.fieldset > legend { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; padding: 0; font-size: 12px; color: var(--teal-800); }
.fieldset > legend b { font-weight: 500; color: var(--sienna); }
.chip-group { margin: 28px 0 0; padding: 0; border: 0; }
.chip-group legend { margin-bottom: 14px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; display: inline-flex; align-items: center; height: 42px; padding: 0 18px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 14px; font-weight: 300; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip:hover { border-color: var(--navy); }
.chip:has(input:checked) { background: var(--navy); border-color: var(--navy); color: var(--ivory); }
.chip:has(input:focus-visible) { outline: 2px solid var(--teal); outline-offset: 3px; }
.chip-group[aria-invalid="true"] .chip { border-color: rgba(166, 58, 31, .5); }
.form-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.form-foot .fine { max-width: 360px; }
.form-success { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding: clamp(8px, 2vw, 24px) 0; }
.form-success:focus { outline: none; }
.form-success__mark { width: 56px; }
.form-success h3 { font-weight: 300; font-size: clamp(28px, 3vw, 40px); letter-spacing: -.025em; }
.form-success p { max-width: 520px; font-weight: 300; color: var(--muted); }

/* Contact layout */
.contact { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__aside { display: flex; flex-direction: column; gap: 40px; position: sticky; top: calc(var(--header-h) + 40px); }
.aside-block h2 { margin-bottom: 8px; font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--teal-800); }
.direct a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 16px; font-weight: 300; transition: color .3s, padding .5s var(--ease); }
.direct a:hover { color: var(--teal); padding-left: 8px; }
.direct a svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.addr { padding: 18px 0; border-bottom: 1px solid var(--line); }
.addr strong { display: block; font-size: 15px; font-weight: 500; }
.addr p { margin-top: 6px; font-size: 14px; font-weight: 300; line-height: 1.6; color: var(--muted); }
.addr a:hover { color: var(--teal); }

/* ============ Footer ============ */
.footer { background: var(--navy-950); color: var(--slate-200); padding: 80px 0 40px; font-size: 14px; font-weight: 300; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 64px; border-bottom: 1px solid var(--line-dark); }
.footer__brand img { width: 140px; height: auto; margin-bottom: 24px; }
.footer__brand p { max-width: 320px; }
.footer h4 { margin: 0 0 18px; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--ivory); font-weight: 500; }
.footer li + li { margin-top: 10px; }
.footer a:hover { color: var(--teal-light); }
.footer__bottom { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 28px; font-size: 12px; letter-spacing: .04em; }
.footer__bottom nav { display: flex; gap: 24px; }

/* ============ Toast ============ */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 90; padding: 14px 24px; border-radius: 999px; background: var(--navy-950); color: var(--ivory); font-size: 14px; font-weight: 300; box-shadow: 0 20px 40px -20px rgba(16,35,59,.6); opacity: 0; transform: translate(-50%, 16px); pointer-events: none; transition: opacity .4s var(--ease), transform .4s var(--ease); }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ============ Scroll reveal ============ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal, .no-js .fade { opacity: 1; transform: none; }
.no-js .rise > span { transform: none; }
.no-js .phero__arch .arch { clip-path: none; }
.no-js .phero__arch::before { opacity: 1; }
[hidden] { display: none !important; }

/* ============ Responsive ============ */
@media (max-width: 1080px) {
  .header__links { gap: 22px; }
  .header__nav { gap: 28px; }
  .practice { min-height: 0; }
  .practice-grid { grid-template-columns: 1fr; }
  .markets__grid { grid-template-columns: 1fr; }
  .markets__aside { gap: 40px; }
  .markets__now { display: none; }
  .markets__bg { left: 0; bottom: auto; width: 100%; height: auto; max-height: 100%; -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent 100%); mask-image: linear-gradient(180deg, #000 45%, transparent 100%); }
  .markets::before { background: linear-gradient(180deg, rgba(16,35,59,.55) 0%, rgba(16,35,59,.35) 30%, rgba(16,35,59,0) 60%); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .principles--4 { grid-template-columns: 1fr 1fr; }
  .principles--4 .principle:nth-child(3) { padding-left: 0; border-left: 0; }
  .principles--4 .principle:nth-child(n+3) { margin-top: 36px; border-top: 1px solid var(--line); }
  .team { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .folio { grid-template-columns: 1fr 1fr; }
  .folio__item:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .folio__item:nth-child(even) { padding-left: 32px; border-left: 1px solid var(--line); }
  .article-grid { grid-template-columns: 1fr 1fr; }
  .contact { grid-template-columns: 1fr; }
  .contact__aside { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 960px) {
  .header__nav { position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; gap: 48px; background: var(--navy-950); color: var(--ivory); opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s; }
  .header__links { flex-direction: column; align-items: center; gap: 26px; }
  .header__links a { font-size: 28px; font-weight: 300; letter-spacing: -.01em; opacity: 1; }
  .header__links a[aria-current="page"] { color: var(--teal-light); }
  .header__links a[aria-current="page"]::after { display: none; }
  .header__cta { border-color: var(--line-dark) !important; color: var(--ivory) !important; background: none !important; }
  .header__toggle { display: block; }
  .nav-open .header__nav { opacity: 1; visibility: visible; }
  .nav-open .header { color: var(--ivory); background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav-open .header .logo-light { opacity: 1; }
  .nav-open .header .logo-dark { opacity: 0; }
  .nav-open .header__toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav-open .header__toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .nav-open { overflow: hidden; }
}
@media (max-width: 880px) {
  .hero__grid { grid-template-columns: 1fr; padding-top: 128px; }
  .hero__caption { display: none; }
  .hero__bg { max-width: 100%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 60%); mask-image: linear-gradient(90deg, transparent 0%, #000 60%); }
  .hero__bg img { opacity: .4; }
  .hero__scroll { display: none; }
  .hero__bar .container { height: auto; padding-top: 20px; padding-bottom: 20px; }
  .phero__grid { grid-template-columns: 1fr; padding-top: 128px; }
  .phero__arch { max-width: 300px; justify-self: start; }
  .statement__grid, .cta__grid, .split, .feature, .form-split { grid-template-columns: 1fr; }
  .form-split__intro { position: static; }
  .feature__media { max-width: 340px; }
  .principles { grid-template-columns: 1fr; }
  .principle, .principle + .principle, .principles--4 .principle:nth-child(n) { padding: 28px 0; margin-top: 0; border-left: 0; border-top: 0; border-bottom: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .steps::before { display: none; }
  .step { border-top: 1px solid var(--line); }
  .step::before { top: -8px; }
  .office-grid { grid-template-columns: 1fr; max-width: 480px; row-gap: 56px; }
  .head { flex-direction: column; align-items: start; }
  .job { grid-template-columns: 1fr; }
  .job:hover { padding-left: 0; padding-right: 0; background: none; }
  .job__facts { flex-direction: row; flex-wrap: wrap; gap: 6px 20px; }
}
@media (max-width: 640px) {
  .dotlist { font-size: 11px; }
  .dotlist li + li::before { margin: 0 11px; }
  .market { grid-template-columns: 40px 1fr; }
  .market__rule { grid-column: 2; text-align: left; }
  .steps, .team, .article-grid, .figures, .folio, .form-grid, .contact__aside { grid-template-columns: 1fr; }
  .figure:nth-child(even), .folio__item:nth-child(even) { padding-left: 0; border-left: 0; }
  .practice__list li span:last-child { display: none; }
  .footer__top { grid-template-columns: 1fr; }
  .btn { height: 52px; padding: 0 22px; }
  .form-card { padding: 28px 20px; margin: 0 calc(var(--gutter) * -1 + 4px); }
  .form-foot .btn { width: 100%; }
  .team { max-width: 320px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  .reveal, .fade { opacity: 1; transform: none; }
  .rise > span { transform: none; }
  .phero__arch .arch { clip-path: none; }
  html { scroll-behavior: auto; }
}

/* Utilities */
.pt-0 { padding-top: 0 !important; }

.placeholder { color: var(--sienna) !important; }
.on-dark .placeholder { color: var(--sienna-light) !important; }
.form-foot { flex-direction: row; }
.header__cta[aria-current="page"] { border-color: var(--teal-light); color: var(--teal-light); }
.header.is-solid .header__cta[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: var(--ivory); }
.practice--compact .practice__mark { top: auto; bottom: -48px; right: -48px; width: 280px; opacity: .07; }
.practice--recruit.practice--compact .practice__mark { opacity: .1; }
.ptable th, .ptable td { vertical-align: middle; }
.ptable tbody th small { display: inline-block; width: 44px; margin: 0; vertical-align: middle; }
.article__art--sand { background: var(--ivory); }
.feature__body .link-line { align-self: flex-start; }
.fieldset > legend { float: left; width: 100%; }
.fieldset > legend + * { clear: both; }
.job .btn { justify-self: start; }

/* ============ Careers hero (homepage-style photo panel) ============ */
.hero--careers .hero__copy { gap: 30px; }
.hero__bg--wide { aspect-ratio: auto; width: 64%; max-width: none; }
.hero__bg--wide img { object-position: 60% 30%; opacity: .62; }
.hero--careers .hero__bar .container { height: auto; padding-top: 28px; padding-bottom: 32px; }
.hero__steps { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; counter-reset: s; }
.hero__steps li { display: grid; grid-template-columns: 40px 1fr; column-gap: 8px; row-gap: 4px; padding-right: 32px; }
.hero__steps li + li { padding-left: 32px; border-left: 1px solid var(--line-dark); }
.hero__steps span { grid-row: span 2; padding-top: 3px; font-size: 11px; letter-spacing: .2em; color: var(--teal-light); }
.hero__steps strong { font-weight: 400; font-size: 16px; color: var(--ivory); }
.hero__steps em { font-style: normal; font-size: 13px; font-weight: 300; line-height: 1.6; color: var(--slate-200); }

/* ============ Open roles: two columns ============ */
.jobs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(24px, 4vw, 64px); border-top: 0; }
.job {
  display: flex; flex-direction: column; align-items: stretch; gap: 0;
  padding: 32px 0 40px; border-top: 1px solid var(--navy); border-bottom: 0;
}
.job:hover { padding-left: 0; padding-right: 0; background: none; }
.job__main { gap: 10px; }
.job__title { transition: color .4s var(--ease); }
.job:hover .job__title { color: var(--teal); }
.job__facts { flex-direction: row; flex-wrap: wrap; gap: 6px 24px; margin: 24px 0 28px; padding-top: 18px; border-top: 1px solid var(--line); }
.job .btn { margin-top: auto; align-self: flex-start; }

@media (max-width: 880px) {
  .hero__bg--wide { width: 100%; }
  .hero__bg--wide img { opacity: .38; }
  .hero__steps { grid-template-columns: 1fr; gap: 18px; }
  .hero__steps li, .hero__steps li + li { padding: 0; border-left: 0; }
  .jobs { grid-template-columns: 1fr; }
}
