@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('fonts/cormorant-garamond-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 500;
  font-display: swap;
  src: url('fonts/cormorant-garamond-italic-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('fonts/dm-sans-latin.woff2') format('woff2');
}

/* ==========================================================================
   VALQUEIRA  ·  design system v3  ·  2026-09-06
   Two voices: Cormorant Garamond (display) and Inter (text).
   Two grounds: navy (#051C2C) and cream (#EFE9DD). One accent: gold.
   Every rule here is used. Tokens first, then primitives, then components, then pages.
   ========================================================================== */

:root {
  --navy: #051C2C;
  --navy-2: #0B2338;
  --navy-3: #12304A;
  --ink: #17232E;
  --cream: #EFE9DD;
  --paper: #F6F1E7;
  --white: #FBF9F5;
  --gold: #CFAA74;
  --gold-deep: #A8855A; --gold-ink: #8F6E45;          /* AA on cream for text */
  --mute-d: rgba(251,249,245,0.68);
  --mute-l: #6B7078;
  --line-d: rgba(251,249,245,0.16);
  --line-l: rgba(5,28,44,0.14);

  --serif: 'Cormorant Garamond', 'Cormorant', Garamond, 'Times New Roman', serif;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;

  --t-display: clamp(52px, 8.4vw, 148px);
  --t-h1: clamp(42px, 6vw, 104px);
  --t-h2: clamp(34px, 4.4vw, 68px);
  --t-h3: clamp(24px, 2.4vw, 34px);
  --t-lead: clamp(18px, 1.5vw, 23px);
  --t-body: clamp(16px, 1.1vw, 18px);
  --t-sc: clamp(11px, 0.8vw, 12.5px);

  --gut: clamp(20px, 6vw, 108px);
  --max: 1520px;
  --sec: clamp(88px, 13vh, 176px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.9s;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--navy); color: var(--white);
  font-family: var(--sans); font-weight: 300; font-size: var(--t-body); line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
:focus-visible { outline: 1.5px solid var(--gold); outline-offset: 4px; }
::selection { background: var(--gold); color: var(--navy); }
.skip { position: absolute; left: -999px; top: 12px; z-index: 100; padding: 10px 16px; background: var(--gold); color: var(--navy); }
.skip:focus { left: 12px; }

/* ---------- typography primitives ---------- */
.serif, h1, h2, h3, .display, .h1, .h2, .h3 { font-family: var(--serif); font-weight: 300; line-height: 1.02; letter-spacing: -0.012em; text-wrap: balance; }
.display { font-size: var(--t-display); line-height: 0.96; letter-spacing: -0.02em; }
.h1 { font-size: var(--t-h1); }
.h2 { font-size: var(--t-h2); line-height: 1.04; }
.h3 { font-size: var(--t-h3); line-height: 1.12; font-weight: 400; }
em, .it { font-style: italic; font-weight: 300; }
.lead { font-family: var(--serif); font-size: var(--t-lead); line-height: 1.45; font-weight: 400; max-width: 46ch; text-wrap: pretty; }
.body { font-size: var(--t-body); line-height: 1.7; max-width: 60ch; text-wrap: pretty; }
.sc { font-family: var(--sans); font-size: var(--t-sc); font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; line-height: 1.6; font-variant-numeric: lining-nums; }
.mute { color: var(--mute-d); }
.light .mute, .paper .mute, .light .lead.mute, .paper .lead.mute { color: var(--mute-l); }
.gold { color: var(--gold); }
.light .gold, .paper .gold { color: var(--gold-ink); }
.num { font-variant-numeric: lining-nums tabular-nums; }
.eyebrow { display: inline-flex; align-items: center; gap: 14px; flex-wrap: wrap; row-gap: 6px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.sec { padding-block: var(--sec); position: relative; }
.sec--tight { padding-block: calc(var(--sec) * 0.6); }
.light { background: var(--cream); color: var(--ink); }
.paper { background: var(--paper); color: var(--ink); }
.dark { background: var(--navy); color: var(--white); }
.dark-2 { background: var(--navy-2); color: var(--white); }
.grid { display: grid; gap: clamp(24px, 3vw, 56px); }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-side { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
@media (max-width: 960px) { .g-3, .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g-side { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .g-2, .g-3, .g-4 { grid-template-columns: 1fr; } }
.rule { height: 1px; background: var(--line-d); border: 0; }
.light .rule, .paper .rule { background: var(--line-l); }
.sec-head { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(20px, 3vw, 56px); align-items: start; margin-bottom: clamp(40px, 6vh, 88px); }
.sec-head .h2 { max-width: 20ch; margin-top: -0.35em; }
@media (max-width: 960px) { .sec-head .h2 { margin-top: 0; } }
.steps { border-top: 1px solid var(--line-d); }
.steps li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(16px, 2vw, 40px); align-items: baseline; padding: clamp(18px, 2.6vh, 28px) 0; border-bottom: 1px solid var(--line-d); }
@media (max-width: 620px) { .steps li { grid-template-columns: 1fr; gap: 6px; } }
@media (max-width: 960px) { .sec-head { grid-template-columns: 1fr; align-items: start; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 18px 30px; border: 1px solid currentColor;
  font-family: var(--sans); font-size: 0.875rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; line-height: 1;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn::after { content: ""; width: 22px; height: 1px; background: currentColor; transition: width var(--dur) var(--ease); }
.btn:hover::after, .btn:focus-visible::after { width: 34px; }
.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.btn--gold:hover { background: var(--white); border-color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.light .btn--ghost:hover, .paper .btn--ghost:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.link { display: inline-flex; align-items: center; gap: 12px; font-size: 0.875rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; }
.link::after { content: ""; width: 22px; height: 1px; background: var(--gold); transition: width var(--dur) var(--ease); }
.link:hover::after { width: 40px; }

/* ---------- navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px var(--gut);
  transition: background 0.6s var(--ease), padding 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.nav.is-scrolled { background: rgba(5,28,44,0.96); padding-block: 14px; box-shadow: 0 1px 0 var(--line-d); }
.nav__brand { display: flex; align-items: center; gap: 14px; }
.nav__mark { width: 34px; height: 34px; }
.nav__word { font-family: var(--serif); font-size: 22px; letter-spacing: 0.34em; text-transform: uppercase; font-weight: 400; padding-left: 0.34em; }
.nav__links { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 36px); }
.nav__links a { position: relative; font-size: 0.875rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; opacity: 0.86; padding-block: 6px; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: var(--gold); transition: width 0.5s var(--ease); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { width: 100%; }
.nav__links a:hover, .nav__links a[aria-current="page"] { opacity: 1; }
.nav__cta { border: 1px solid var(--gold); padding: 12px 18px !important; color: var(--gold); }
.nav__cta::after { display: none; }
.nav__cta:hover { background: var(--gold); color: var(--navy); }
.nav__toggle { display: none; width: 44px; height: 44px; position: relative; }
.nav__toggle span { position: absolute; left: 10px; right: 10px; height: 1px; background: var(--white); transition: transform 0.5s var(--ease), top 0.5s var(--ease); }
.nav__toggle span:nth-child(1) { top: 18px; } .nav__toggle span:nth-child(2) { top: 26px; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { top: 22px; transform: rotate(-45deg); }
@media (max-width: 960px) { .nav__links { display: none; } .nav__toggle { display: block; } }
.menu { position: fixed; inset: 0; z-index: 40; background: var(--navy); padding: 120px var(--gut) 40px; display: flex; flex-direction: column; justify-content: space-between; }
.menu nav { display: flex; flex-direction: column; gap: clamp(10px, 2vh, 20px); }
.menu nav a { font-family: var(--serif); font-size: clamp(34px, 8vw, 56px); line-height: 1.1; opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.menu.is-open nav a { opacity: 1; transform: none; }
.menu nav a[aria-current="page"] { color: var(--gold); }
.menu__foot { display: flex; flex-direction: column; gap: 22px; }
.menu__foot .sc { color: var(--mute-d); }
body.menu-open { overflow: hidden; }
.menu[hidden] { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; color: var(--white); }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: heroIn 2.4s var(--ease) forwards; }
@keyframes heroIn { to { transform: scale(1); } }
.hero__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,28,44,0.42) 0%, rgba(5,28,44,0.10) 40%, rgba(5,28,44,0.72) 100%); }
.hero__in { position: relative; width: 100%; padding: 140px var(--gut) clamp(40px, 6vh, 72px); display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(24px, 4vw, 80px); align-items: end; }
.hero__kicker { margin-bottom: clamp(22px, 3vh, 40px); }
.hero__title { font-size: var(--t-display); line-height: 0.94; letter-spacing: -0.022em; max-width: 12ch; }
.hero__aside { display: flex; flex-direction: column; gap: 18px; padding-bottom: 8px; }
.hero__aside .lead { font-size: clamp(17px, 1.3vw, 21px); max-width: 30ch; }
.hero__foot { position: relative; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 0 var(--gut) clamp(24px, 4vh, 40px); color: var(--mute-d); }
.hero--page { min-height: 72svh; }
.hero--page .hero__title { font-size: var(--t-h1); max-width: 14ch; }
@media (max-width: 960px) { .hero__in { grid-template-columns: 1fr; } .hero__aside { padding-bottom: 0; } }

/* ---------- reveal ---------- */
.rv, .reveal { opacity: 1; transform: none; transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
html.motion .rv:not(.in), html.motion .reveal:not(.in) { opacity: 0; transform: translateY(22px); }
.rv.in, .reveal.in { opacity: 1; transform: none; }
html.static .rv, html.static .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
html.static .hero__media img { animation: none !important; transform: none !important; }
.rv.d1, .reveal.d1 { transition-delay: 0.12s; } .rv.d2, .reveal.d2 { transition-delay: 0.24s; } .rv.d3, .reveal.d3 { transition-delay: 0.36s; } .rv.d4, .reveal.d4 { transition-delay: 0.48s; }
@media (prefers-reduced-motion: reduce) { .rv, .reveal { opacity: 1 !important; transform: none !important; transition: none; } .hero__media img { animation: none; transform: none; } }

/* ---------- proof strip ---------- */
.proof { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-d); }
.light .proof, .paper .proof { border-color: var(--line-l); }
.proof__i { padding: clamp(24px, 3vw, 40px) clamp(0px, 1vw, 16px) 0; border-left: 1px solid var(--line-d); padding-left: clamp(16px, 2vw, 28px); }
.light .proof__i, .paper .proof__i { border-color: var(--line-l); }
.proof__i:first-child { border-left: 0; padding-left: 0; }
.proof__v { font-family: var(--serif); font-size: clamp(40px, 4.6vw, 76px); line-height: 1; font-weight: 300; }
.proof__l { margin-top: 10px; }
.proof__note { margin-top: clamp(20px, 3vh, 32px); max-width: 60ch; }
@media (max-width: 720px) { .proof { grid-template-columns: 1fr 1fr; } .proof__i:nth-child(3) { border-left: 0; padding-left: 0; } }

/* ---------- services list ---------- */
.svc { border-top: 1px solid var(--line-l); }
.svc__row { display: grid; grid-template-columns: 64px minmax(0, 7fr) minmax(0, 5fr) 44px; gap: clamp(16px, 2vw, 40px); align-items: baseline; padding: clamp(22px, 3vh, 36px) 0; border-bottom: 1px solid var(--line-l); position: relative; transition: padding-left var(--dur) var(--ease); }
.svc__row:hover { padding-left: 10px; }
.svc__n { font-family: var(--serif); font-size: 18px; color: var(--gold-ink); }
.svc__t { font-family: var(--serif); font-size: clamp(26px, 2.8vw, 44px); line-height: 1.08; font-weight: 300; }
.svc__d { color: var(--mute-l); max-width: 40ch; }
.svc__a { justify-self: end; width: 34px; height: 1px; background: var(--ink); transition: width var(--dur) var(--ease), background var(--dur) var(--ease); }
.svc__row:hover .svc__a { width: 44px; background: var(--gold-deep); }
@media (max-width: 960px) { .svc__row { grid-template-columns: 44px 1fr; } .svc__d { grid-column: 2; } .svc__a { display: none; } }

/* ---------- statement (dark editorial) ---------- */
.statement { position: relative; overflow: hidden; }
.statement__q { font-family: var(--serif); font-size: clamp(34px, 4.6vw, 76px); line-height: 1.06; letter-spacing: -0.015em; max-width: 22ch; font-weight: 300; }
.statement__q em { color: var(--gold); }
.statement__body { max-width: 52ch; margin-top: clamp(28px, 4vh, 44px); color: var(--mute-d); }

/* ---------- media panel ---------- */
.panel { position: relative; min-height: 70svh; display: flex; align-items: flex-end; overflow: hidden; color: var(--white); }
.panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.panel__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,28,44,0.10), rgba(5,28,44,0.72)); }
.panel__in { position: relative; width: 100%; padding: var(--sec) var(--gut) clamp(40px, 6vh, 72px); }
.panel .h2 { max-width: 16ch; }

/* ---------- map ---------- */
.map { position: relative; }
.map svg { width: 100%; height: auto; -webkit-mask-image: radial-gradient(ellipse 58% 62% at 50% 55%, #000 40%, transparent 96%); mask-image: radial-gradient(ellipse 58% 62% at 50% 55%, #000 40%, transparent 96%); }
.map .land { fill: var(--navy-3); stroke: rgba(207,170,116,0.22); stroke-width: 0.6; }
.map .city { fill: var(--gold); }
.map .city--pulse { animation: pulse 2.8s ease-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes pulse { 0% { opacity: 0.9; } 70% { opacity: 0.35; } 100% { opacity: 0.9; } }
.map .lbl { font-family: var(--sans); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; fill: var(--mute-d); }
.map .lbl--on { fill: var(--white); }
.reach__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); margin-top: clamp(40px, 6vh, 72px); border-top: 1px solid var(--line-d); padding-top: clamp(24px, 4vh, 40px); }
.reach__list h3 { font-family: var(--serif); font-size: clamp(22px, 2vw, 30px); font-weight: 400; margin-bottom: 8px; }
@media (max-width: 720px) { .reach__list { grid-template-columns: 1fr; } }

/* ---------- mandates ---------- */
.mand { border-top: 1px solid var(--line-l); }
.mand__row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 6fr) minmax(0, 3fr); gap: clamp(16px, 2vw, 40px); padding: clamp(18px, 2.4vh, 28px) 0; border-bottom: 1px solid var(--line-l); align-items: baseline; }
.mand__where { font-family: var(--serif); font-size: clamp(20px, 1.9vw, 28px); font-weight: 400; }
.mand__what { color: var(--mute-l); }
.mand__ask { justify-self: end; text-align: right; font-family: var(--serif); font-size: clamp(18px, 1.5vw, 22px); }
@media (max-width: 720px) { .mand__row { grid-template-columns: 1fr; } .mand__ask { justify-self: start; text-align: left; } }

/* ---------- cards (record, insights) ---------- */
.card { display: flex; flex-direction: column; gap: 18px; }
.card__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-3); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.card:hover .card__img img { transform: scale(1.04); }
.card__k { color: var(--gold); }
.light .card__k, .paper .card__k { color: var(--gold-ink); }
.card__t { font-family: var(--serif); font-size: clamp(24px, 2.2vw, 34px); line-height: 1.1; font-weight: 300; }
.card__figs { display: flex; gap: 26px; flex-wrap: wrap; }
.card__figs b { display: block; font-family: var(--serif); font-size: clamp(24px, 2vw, 32px); font-weight: 400; line-height: 1; }
.card__figs span { display: block; margin-top: 6px; }
.tag { display: inline-block; padding: 6px 10px; border: 1px solid var(--line-l); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; }
.dark .tag { border-color: var(--line-d); }

/* ---------- people ---------- */
.person { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 3vw, 48px); align-items: start; }
.person__img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--navy-3); }
.person__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; filter: grayscale(1); }
.person__role { color: var(--gold); margin-top: 10px; }
.light .person__role, .paper .person__role { color: var(--gold-ink); }
.person__bio { margin-top: 20px; }
.person__bio p + p { margin-top: 12px; }
@media (max-width: 620px) { .person { grid-template-columns: 1fr; } }
.person--text { display: block; padding-top: 22px; border-top: 1px solid var(--gold-deep); }

/* ---------- prose (insights, legal) ---------- */
.prose { max-width: 66ch; }
.prose p { margin-bottom: 1.2em; text-wrap: pretty; }
.prose h2 { font-size: var(--t-h3); margin: 2.2em 0 0.7em; font-weight: 400; }
.prose ul { margin: 0 0 1.2em 1.2em; list-style: disc; }
.prose li { margin-bottom: 0.4em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--gold); }
.prose blockquote { font-family: var(--serif); font-size: var(--t-lead); line-height: 1.4; padding-left: 24px; border-left: 1px solid var(--gold); margin: 1.6em 0; }
.byline { display: flex; gap: 18px; flex-wrap: wrap; color: var(--mute-l); margin-top: 18px; }

/* ---------- forms ---------- */
.form { display: grid; gap: 22px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 620px) { .form__row { grid-template-columns: 1fr; } }
.field label { display: block; margin-bottom: 10px; color: var(--mute-l); font-size: 0.875rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 16px 0; background: transparent; border: 0; border-bottom: 1px solid var(--line-l);
  font: inherit; font-size: 17px; color: var(--ink); border-radius: 0; transition: border-color var(--dur) var(--ease);
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 14px) 50%, calc(100% - 9px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--gold-deep); }
.field textarea { min-height: 120px; resize: vertical; }
.field.is-bad input, .field.is-bad textarea, .field.is-bad select { border-bottom-color: #9A3B2E; }
.field__err { display: none; margin-top: 8px; font-size: 13px; color: #9A3B2E; }
.field.is-bad .field__err { display: block; }
.form__note { color: var(--mute-l); font-size: 14px; max-width: 52ch; }
.form__ok { display: none; padding: 24px; border: 1px solid var(--gold-deep); }
.form__ok.is-on { display: block; }

/* ---------- footer ---------- */
.foot { background: var(--navy); color: var(--white); border-top: 1px solid var(--line-d); padding-block: clamp(56px, 8vh, 96px) clamp(28px, 4vh, 40px); }
.foot__grid { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 3fr)); gap: clamp(28px, 4vw, 64px); }
.foot__grid a { display: block; padding-block: 5px; color: var(--mute-d); transition: color 0.5s var(--ease); }
.foot__grid a:hover { color: var(--white); }
.foot__h { color: var(--gold); margin-bottom: 14px; }
.foot__word { font-family: var(--serif); font-size: 26px; letter-spacing: 0.34em; text-transform: uppercase; margin-top: 18px; padding-left: 0.34em; }
.foot__desc { color: var(--mute-d); margin-top: 6px; }
.foot__tag { font-family: var(--serif); font-style: italic; font-size: 20px; margin-top: 26px; max-width: 24ch; color: var(--mute-d); }
.foot__offices { margin-top: 14px; color: var(--mute-d); }
.foot__legal { margin-top: clamp(40px, 6vh, 64px); padding-top: 24px; border-top: 1px solid var(--line-d); color: var(--mute-d); font-size: 13px; line-height: 1.6; }
.foot__legal p { max-width: 90ch; }
.foot__row { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 16px; }
.foot__row a { color: var(--mute-d); } .foot__row a:hover { color: var(--white); }
@media (max-width: 960px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .foot__grid { grid-template-columns: 1fr; } }

/* ---------- utilities ---------- */
.mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; } .mt-4 { margin-top: 64px; }
.row { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.between { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: baseline; }
.hidden { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media print {
  .nav, .menu, .hero__media, .panel img { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ---------- interactive map: what is for sale, what we are mandated to buy ---------- */
.imap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.imap__stage { position: relative; }
.imap svg { width: 100%; height: auto; overflow: visible; -webkit-mask-image: radial-gradient(ellipse 58% 62% at 50% 55%, #000 40%, transparent 96%); mask-image: radial-gradient(ellipse 58% 62% at 50% 55%, #000 40%, transparent 96%); }
.imap .c { fill: #10293F; stroke: rgba(207,170,116,0.22); stroke-width: 0.6; transition: fill 0.45s var(--ease), stroke 0.45s var(--ease); }
.imap .c.eu { fill: #163652; }
.imap .c.on { fill: #1E4A6E; cursor: pointer; }
.imap .c.eu { cursor: pointer; }
.imap .c.on:hover, .imap .c.is-active, .imap .c.eu:hover, .imap .c.eu.is-active { fill: var(--gold); stroke: var(--white); }
.imap .c:focus-visible { outline: none; stroke: var(--white); stroke-width: 1.2; }
.imap__offices circle { fill: var(--gold); pointer-events: none; }
.imap__offices .ring { fill: none; stroke: var(--gold); stroke-width: 1; animation: pulse 2.8s ease-out infinite; }
.imap__tip { position: absolute; z-index: 2; pointer-events: none; transform: translate(-50%, -140%); padding: 6px 10px; background: var(--navy); border: 1px solid rgba(207,170,116,0.6); color: var(--white); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; white-space: nowrap; }
.imap__hint { margin-top: 10px; }
.imap__panel { border-top: 1px solid var(--gold); padding-top: 22px; min-height: 360px; }
.imap__t { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 40px); line-height: 1.1; font-weight: 300; margin-top: 12px; }
.imap__d { margin-top: 14px; }
.imap__lists { margin-top: 22px; display: grid; gap: 18px; }
.imap__group .sc { color: var(--gold); }
.imap__group ul { margin-top: 8px; display: grid; gap: 8px; }
.imap__group li { position: relative; padding-left: 20px; color: var(--mute-d); line-height: 1.5; }
.imap__group li::before { content: ""; position: absolute; left: 0; top: 0.75em; width: 10px; height: 1px; background: var(--gold); }
.imap__cta { margin-top: 26px; }
@media (max-width: 960px) { .imap { grid-template-columns: 1fr; } .imap__panel { min-height: 0; } }
@media (prefers-reduced-motion: reduce) { .imap .c { transition: none; } .imap__offices .ring { animation: none; } }
[id] { scroll-margin-top: 96px; }
@media (max-width: 600px) { .imap__offices .lbl { display: none; } }
/* ---------- services page: flat list, no detail ---------- */
.svc__row--flat { grid-template-columns: 64px minmax(0, 7fr) minmax(0, 5fr); cursor: default; }
.svc__row--flat:hover { padding-left: 0; }
/* ---------- insights: latest additions feed ---------- */
.news { border-top: 1px solid var(--line-l); }
.news__row { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: clamp(16px, 2.4vw, 40px); align-items: start; padding: clamp(22px, 3vh, 34px) 0; border-bottom: 1px solid var(--line-l); }
.news__row .tag { justify-self: start; margin-top: 4px; }
.news__t { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 32px); line-height: 1.12; font-weight: 300; }
.news__row .body { margin-top: 8px; }
.news__row .link { align-self: center; white-space: nowrap; }
@media (max-width: 760px) { .news__row { grid-template-columns: 1fr; gap: 12px; } .news__row .link { align-self: start; } .svc__row--flat { grid-template-columns: 48px minmax(0, 1fr); } .svc__row--flat .svc__d { grid-column: 2; } }

/* ---------- production compatibility and progressive enhancement ---------- */
:root {
  --font-display: var(--serif);
  --font-body: var(--sans);
  --section-y: var(--sec);
  --gutter: var(--gut);
  --maxw: var(--max);
  --accent: var(--gold);
  --navy-deep: var(--navy-2);
  --navy-deepest: var(--navy);
  --offwhite: var(--white);
  --slate: var(--mute-l);
  --muted: var(--mute-l);
  --border: var(--line-l);
  --border-dark: var(--line-d);
  --hairline-dark: var(--line-d);
  --gold-muted: var(--gold-ink);
  --gold-bright: var(--gold);
}
html { scroll-behavior: smooth; }
.nav--solid:not(.is-scrolled) { background: rgba(5,28,44,0.96); box-shadow: 0 1px 0 var(--line-d); }
.nav__brand { position: relative; z-index: 51; color: var(--white); }
.menu { opacity: 0; transition: opacity 0.45s var(--ease); }
.menu.is-open { opacity: 1; }
main { min-height: 60svh; }
.media-picture { display: block; overflow: hidden; }
.media-img { width: 100%; height: 100%; max-width: none; object-fit: cover; }

/* Market explorer: geographic reading order without a fragile map dependency. */
.imap__plot {
  min-height: 520px; padding: clamp(24px, 4vw, 56px);
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: repeat(5, minmax(68px, auto));
  gap: 12px; align-items: stretch;
  border: 1px solid rgba(207,170,116,0.28);
  background:
    radial-gradient(circle at 54% 42%, rgba(207,170,116,0.18), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,0.025), transparent 60%);
}
.imap__market {
  display: flex; flex-direction: column; justify-content: center; gap: 4px;
  padding: 14px; border: 1px solid var(--line-d); background: rgba(11,35,56,0.78);
  color: var(--mute-d); transition: background 0.45s var(--ease), border-color 0.45s var(--ease), color 0.45s var(--ease), transform 0.45s var(--ease);
}
.imap__market span { font-family: var(--serif); font-size: clamp(20px, 2vw, 28px); color: var(--white); line-height: 1.05; }
.imap__market small { font-size: 11px; line-height: 1.4; }
.imap__market:hover, .imap__market.is-active { background: var(--navy-3); border-color: var(--gold); color: var(--white); transform: translateY(-2px); }
.imap__market--london { grid-column: 1 / span 2; grid-row: 2; }
.imap__market--central { grid-column: 4 / span 2; grid-row: 2; }
.imap__market--alps { grid-column: 3 / span 2; grid-row: 3; }
.imap__market--mediterranean { grid-column: 2 / span 3; grid-row: 4; }
.imap__market--europe { grid-column: 5 / span 2; grid-row: 4; }
.imap__market--beyond { grid-column: 4 / span 3; grid-row: 5; }
.imap__detail[hidden] { display: none; }
.imap__detail { animation: detailIn 0.45s var(--ease); }
@keyframes detailIn { from { opacity: 0; transform: translateY(8px); } }
@media (max-width: 720px) {
  .imap__plot { min-height: 0; grid-template-columns: 1fr 1fr; grid-template-rows: none; padding: 16px; }
  .imap__market { grid-column: auto; grid-row: auto; }
}

/* Secure form states retained from the production implementation. */
.form-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-bottom-color: #9A3B2E; }
.field.invalid .field__err { display: block; }
.turnstile-container { min-height: 65px; margin-bottom: 18px; }
.turnstile-preview { min-height: 0; padding: 10px 12px; border: 1px dashed var(--line-l); color: var(--mute-l); font-size: 13px; }
.form-status { min-height: 24px; margin-top: 16px; color: var(--mute-l); font-size: 14px; line-height: 1.6; }
.form-status.error { color: #8f3b2c; }
.form-status.success { padding: 24px; border: 1px solid var(--gold-deep); background: var(--cream); color: var(--ink); }
.btn:disabled { cursor: wait; opacity: 0.58; }
.newsletter-form { display: grid; gap: 22px; }
.newsletter-form .btn { justify-content: center; }
.consent-field { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; }
.consent-field input { margin-top: 5px; accent-color: var(--navy); }
.consent-field label { color: var(--mute-l); font-size: 13px; line-height: 1.55; }
.consent-field a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.consent-error { display: none; font-size: 12px; color: #8f3b2c; }
.consent-error.show { display: block; }

/* Standalone newsletter compatibility. */
.newsletter-hero { min-height: min(820px, 100svh); display: flex; align-items: center; }
.newsletter-hero .g-side { align-items: center; }
.newsletter-panel { padding: clamp(28px, 5vw, 52px); color: var(--ink); border: 1px solid rgba(207,170,116,.35); box-shadow: 0 24px 70px rgba(0,0,0,.2); }
.newsletter-benefits > div { padding-top: 24px; border-top: 1px solid var(--line-l); }
.newsletter-page-link { margin-top: 16px; font-size: 13px; }
.newsletter-page-link a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* Homepage newsletter dialog. */
.newsletter-modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 24px; }
.newsletter-modal[hidden] { display: none; }
.newsletter-backdrop { position: absolute; inset: 0; background: rgba(5,28,44,0.78); backdrop-filter: blur(8px); }
.newsletter-dialog { position: relative; width: min(94vw, 560px); max-height: calc(100svh - 48px); overflow: auto; padding: clamp(32px, 5vw, 56px); background: var(--paper); color: var(--ink); box-shadow: 0 30px 100px rgba(0,0,0,0.35); }
.newsletter-close { position: absolute; top: 16px; right: 18px; width: 40px; height: 40px; border: 1px solid var(--line-l); font-size: 26px; line-height: 1; }
.newsletter-dialog h2 { font-family: var(--serif); font-size: clamp(32px, 5vw, 48px); line-height: 1.03; font-weight: 300; margin-top: 18px; }
.newsletter-dialog > p { margin-top: 14px; color: var(--mute-l); }
.newsletter-dialog .newsletter-form { margin-top: 28px; }
html.newsletter-lock, html.newsletter-lock body { overflow: hidden; }
@media (max-width: 620px) {
  .newsletter-modal { align-items: end; padding: 12px; }
  .newsletter-dialog { width: 100%; max-height: calc(100svh - 24px); padding: 52px 22px 24px; }
}

/* Legacy Approach page remains noindex but visually intact. */
.section { padding-block: var(--sec); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy-deep { background: var(--navy-2); color: var(--white); }
.bg-cream { background: var(--cream); color: var(--ink); }
.bg-offwhite { background: var(--white); color: var(--ink); }
.body-copy { font-size: 15px; line-height: 1.75; color: var(--mute-l); }
.display em { color: var(--gold); }
.visually-hidden, .sr-only {
  position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important;
  overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; border: 0 !important;
}

@media (max-width: 620px) {
  .nav { padding-inline: 20px; }
  .nav__word { font-size: 18px; letter-spacing: 0.25em; }
  .btn { padding: 16px 20px; }
  .between { align-items: flex-start; }
}
