/* Tzeriz Consultant
   Private-bank editorial: midnight ink, warm ivory paper, champagne-gold hairlines.
   Cormorant Garamond for display, Jost for text. Editorial photography and painted
   artworks sit behind ink veils before each page turns to paper. */

:root {
  --ink: #0b1322;
  --ink-2: #101a2d;
  --ink-3: #1a263d;
  --ivory: #f7f3ec;
  --paper: #fcfaf6;
  --sand: #efe7da;
  --gold: #b8955a;
  --gold-deep: #7c5e2d;
  --gold-light: #d4b77f;
  --gold-grad: linear-gradient(100deg, #a07c45 0%, #d2b072 32%, #f1dfb0 50%, #d2b072 68%, #9a7741 100%);
  --on-dark: #ece6db;
  --on-dark-soft: #a3abbb;

  /* Contextual colours, swapped inside .is-dark */
  --text: var(--ink);
  --text-soft: #4e5668;
  --rule: rgba(11, 19, 34, 0.14);
  --accent: var(--gold-deep);
  --em-grad: linear-gradient(100deg, #7c5e2d 0%, #a8834a 50%, #7c5e2d 100%);

  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Hoefler Text", "Times New Roman", serif;
  --sans: "Jost", "Futura", "Avenir Next", "Century Gothic", "Helvetica Neue", Arial, sans-serif;

  --fs-label: 0.75rem;
  --fs-body: 1.0625rem;
  --fs-lede: clamp(1.3rem, 1.12rem + 0.6vw, 1.625rem);
  --fs-h3: clamp(1.65rem, 1.4rem + 0.9vw, 2.15rem);
  --fs-h2: clamp(2.5rem, 1.6rem + 3.4vw, 4.5rem);
  --fs-h1: clamp(2.6rem, 1.4rem + 5.6vw, 7rem);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);

  --wrap: 1320px;
  --gutter: clamp(20px, 5vw, 72px);
  --section: clamp(88px, 11vw, 168px);
  --header-h: 92px;
  color-scheme: light;
}
@media (max-width: 640px) { :root { --header-h: 76px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; background: var(--ink); }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--text);
  font-family: var(--sans);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
/* Paper grain over the whole page */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 300; pointer-events: none; opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1.2em; color: var(--text-soft); }
strong { font-weight: 500; color: var(--text); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.08; letter-spacing: -0.01em; margin: 0 0 0.5em; color: var(--text); text-wrap: balance; }
h1 { font-size: var(--fs-h1); font-weight: 300; line-height: 1; letter-spacing: -0.02em; }
h2 { font-size: var(--fs-h2); font-weight: 300; line-height: 1.04; letter-spacing: -0.015em; }
h3 { font-size: var(--fs-h3); line-height: 1.15; }
h1 em, h2 em, .quote blockquote em, .marquee em {
  font-style: italic; font-weight: 300;
  background: var(--em-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: 0.08em; margin-right: -0.04em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
::selection { background: var(--gold-light); color: var(--ink); }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }
html { scrollbar-color: var(--gold) var(--ink); scrollbar-width: thin; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--ivory); padding: 12px 18px; z-index: 400; }
.skip:focus { left: 16px; top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.is-dark {
  --text: var(--on-dark);
  --text-soft: var(--on-dark-soft);
  --rule: rgba(236, 230, 219, 0.14);
  --accent: var(--gold-light);
  --em-grad: var(--gold-grad);
  background-color: var(--ink);
  color: var(--text);
}

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 16px;
  font-family: var(--sans); font-size: var(--fs-label); font-weight: 500; line-height: 1.4;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent);
  margin: 0 0 1.75rem;
}
.eyebrow::before { content: ""; width: 40px; height: 1px; background: currentColor; flex: none; }
.eyebrow--center::after { content: ""; width: 40px; height: 1px; background: currentColor; flex: none; }
.lede { font-family: var(--serif); font-size: var(--fs-lede); line-height: 1.5; color: var(--text); }
.h2-sm { font-size: clamp(2.2rem, 1.6rem + 2.2vw, 3.6rem); }

/* ---------- Buttons and links ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: var(--ivory); --btn-line: var(--ink);
  --btn-fill: var(--gold-grad); --btn-fg-h: var(--ink); --btn-line-h: var(--gold);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 16px;
  min-height: 60px; padding: 18px 36px;
  font-family: var(--sans); font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase; text-decoration: none;
  color: var(--btn-fg); background: var(--btn-bg); border: 1px solid var(--btn-line); border-radius: 0; cursor: pointer;
  transition: color 0.6s var(--ease-out), border-color 0.6s var(--ease-out);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--btn-fill);
  transform: scaleX(0); transform-origin: right center; transition: transform 0.8s var(--ease-out);
}
.btn:hover { color: var(--btn-fg-h); border-color: var(--btn-line-h); }
.btn:hover::before { transform: scaleX(1); transform-origin: left center; }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform 0.6s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }
.btn--gold {
  --btn-bg: var(--gold-grad); --btn-fg: var(--ink); --btn-line: var(--gold);
  --btn-fill: var(--ivory); --btn-fg-h: var(--ink); --btn-line-h: var(--ivory);
  background-size: 160% 100%;
}
.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--on-dark); --btn-line: rgba(236, 230, 219, 0.4);
  --btn-fill: var(--ivory); --btn-fg-h: var(--ink); --btn-line-h: var(--ivory);
}

.link-arrow {
  display: inline-flex; align-items: center; gap: 18px; padding: 6px 0;
  font-family: var(--sans); font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase;
  text-decoration: none; color: var(--text);
}
.link-arrow::after { content: ""; width: 44px; height: 1px; background: var(--accent); transition: width 0.6s var(--ease-out); }
.link-arrow:hover::after { width: 76px; }
.link-arrow--plain { font-family: var(--serif); font-size: 1.3rem; font-weight: 400; letter-spacing: 0.01em; text-transform: none; }

/* ---------- Opening curtain (home, once per visit) ---------- */
.curtain { display: none; }
.has-intro .curtain {
  display: flex; position: fixed; inset: 0; z-index: 250; align-items: center; justify-content: center;
  background: var(--ink); color: var(--gold-light); cursor: pointer;
  transition: transform 1.2s var(--ease-io);
  animation: curtain-safety 0s 5s forwards;
}
.intro-done .curtain { transform: translateY(-100%); }
.curtain__inner { display: flex; flex-direction: column; align-items: center; text-align: center; transition: opacity 0.6s ease, transform 1.2s var(--ease-io); }
.intro-done .curtain__inner { opacity: 0; transform: translateY(40px); }
.curtain__mark { width: 120px; height: 120px; margin-bottom: 30px; }
.curtain__ring { fill: none; stroke: currentColor; stroke-width: 0.8; stroke-dasharray: 365; stroke-dashoffset: 365; animation: draw 1.6s var(--ease-out) 0.1s forwards; }
.curtain__ring--in { stroke-dasharray: 315; stroke-dashoffset: 315; opacity: 0.5; animation-delay: 0.3s; }
.curtain__mark text { font-family: var(--serif); font-size: 54px; font-weight: 300; fill: currentColor; opacity: 0; animation: fade-in 1s ease 0.5s forwards; }
.curtain__name { font-family: var(--serif); font-size: 1.75rem; font-weight: 500; letter-spacing: 0.6em; margin-right: -0.6em; text-transform: uppercase; color: var(--on-dark); opacity: 0; animation: track-in 1.4s var(--ease-out) 0.55s forwards; }
.curtain__sub { margin-top: 12px; font-size: 0.6875rem; letter-spacing: 0.7em; margin-right: -0.7em; text-transform: uppercase; color: var(--on-dark-soft); opacity: 0; animation: fade-in 1s ease 0.9s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade-in { to { opacity: 1; } }
@keyframes track-in { from { opacity: 0; letter-spacing: 0.9em; } to { opacity: 1; letter-spacing: 0.42em; } }
@keyframes curtain-safety { to { visibility: hidden; } }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  padding-top: env(safe-area-inset-top, 0px);
  color: var(--on-dark);
  transition: transform 0.7s var(--ease-out), color 0.4s ease;
}
.site-header::before {
  content: ""; position: absolute; inset: 0; opacity: 0; pointer-events: none;
  background: rgba(247, 243, 236, 0.93);
  -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
  border-bottom: 1px solid rgba(11, 19, 34, 0.1);
  transition: opacity 0.5s ease;
}
.site-header.is-scrolled { color: var(--ink); }
.site-header.is-scrolled::before { opacity: 1; }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner { position: relative; display: flex; align-items: center; gap: clamp(24px, 3vw, 48px); height: var(--header-h); transition: height 0.6s var(--ease-out); }
.site-header.is-scrolled .site-header__inner { height: 76px; }

.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; margin-right: auto; }
.brand__mark { width: 44px; height: 44px; flex: none; color: var(--gold-light); transition: color 0.4s ease, transform 1.2s var(--ease-out); }
.brand:hover .brand__mark { transform: rotate(360deg); }
.brand__mark circle { fill: none; stroke: currentColor; stroke-width: 0.8; }
.brand__mark .brand__mark-in { opacity: 0.45; }
.brand__mark text { font-family: var(--serif); font-size: 24px; font-weight: 400; fill: currentColor; }
.is-scrolled .brand__mark { color: var(--gold-deep); }
.brand__text { display: flex; flex-direction: column; align-items: center; line-height: 1; text-align: center; }
.brand__name { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; letter-spacing: 0.3em; margin-right: -0.3em; text-transform: uppercase; }
.brand__sub { margin-top: 7px; margin-right: -0.58em; font-size: 0.5625rem; font-weight: 500; letter-spacing: 0.58em; text-transform: uppercase; white-space: nowrap; opacity: 0.7; }

.nav { display: flex; align-items: center; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(24px, 3vw, 46px); }
.nav__list a {
  position: relative; display: block; padding: 10px 0;
  font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; text-decoration: none; color: inherit;
}
.nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform 0.6s var(--ease-out); }
.nav__list a:hover::after, .nav__list a[aria-current="page"]::after { transform: scaleX(1); }
.nav__mobile, .nav__extra { display: none; }
.header-cta {
  display: inline-flex; align-items: center; min-height: 46px; padding: 12px 24px;
  font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase; text-decoration: none; color: inherit;
  border: 1px solid rgba(212, 183, 127, 0.6); transition: background 0.5s var(--ease-out), color 0.5s, border-color 0.5s;
}
.header-cta:hover, .header-cta[aria-current="page"] { background: var(--gold-light); border-color: var(--gold-light); color: var(--ink); }
.is-scrolled .header-cta { border-color: var(--gold); }
.nav-toggle { display: none; }

@media (max-width: 1024px) {
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 14px; padding: 12px 0; background: none; border: 0; color: inherit; cursor: pointer;
    font-family: var(--sans); font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase;
  }
  .nav-toggle__bars { position: relative; width: 30px; height: 9px; }
  .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: currentColor; transition: transform 0.6s var(--ease-out), top 0.6s var(--ease-out), width 0.6s var(--ease-out); }
  .nav-toggle__bars::before { top: 0; }
  .nav-toggle__bars::after { top: 8px; width: 70%; left: auto; }
  .menu-open .nav-toggle__bars::before { top: 4px; transform: rotate(45deg); }
  .menu-open .nav-toggle__bars::after { top: 4px; width: 100%; transform: rotate(-45deg); }

  .nav {
    position: fixed; inset: 0; z-index: -1; display: flex; flex-direction: column; justify-content: center;
    padding: calc(var(--header-h) + 32px + env(safe-area-inset-top, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px)) 48px max(var(--gutter), env(safe-area-inset-left, 0px));
    background: var(--ink) radial-gradient(80% 60% at 100% 100%, rgba(184, 149, 90, 0.16), transparent 70%);
    color: var(--on-dark); overflow-y: auto;
    visibility: hidden; clip-path: inset(0 0 100% 0);
    transition: clip-path 0.9s var(--ease-io), visibility 0s linear 0.9s;
  }
  .menu-open .nav { visibility: visible; clip-path: inset(0 0 0 0); transition: clip-path 0.9s var(--ease-io); }
  .nav__list { flex-direction: column; gap: 0; counter-reset: nav; border-bottom: 1px solid rgba(236, 230, 219, 0.14); }
  .nav__list li { overflow: hidden; border-top: 1px solid rgba(236, 230, 219, 0.14); }
  .nav__list a {
    display: flex; align-items: baseline; gap: 22px; padding: 18px 0;
    font-family: var(--serif); font-size: clamp(2.1rem, 1.4rem + 3.6vw, 3.4rem); font-weight: 300; line-height: 1.1; letter-spacing: 0; text-transform: none;
    transform: translateY(105%); transition: transform 0.9s var(--ease-out), color 0.3s;
  }
  .nav__list a::before { counter-increment: nav; content: counter(nav, decimal-leading-zero); font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.24em; color: var(--gold-light); transform: translateY(-0.6em); }
  .nav__list a::after { display: none; }
  .nav__list a:hover, .nav__list a[aria-current="page"] { color: var(--gold-light); }
  .menu-open .nav__list a { transform: none; }
  .menu-open .nav__list li:nth-child(1) a { transition-delay: 0.3s; }
  .menu-open .nav__list li:nth-child(2) a { transition-delay: 0.38s; }
  .menu-open .nav__list li:nth-child(3) a { transition-delay: 0.46s; }
  .menu-open .nav__list li:nth-child(4) a { transition-delay: 0.54s; }
  .nav__mobile { display: list-item; }
  .nav__extra { display: grid; gap: 6px; margin-top: 44px; font-size: 0.95rem; color: var(--on-dark-soft); opacity: 0; transition: opacity 0.8s ease; }
  .nav__extra p { margin: 0; color: inherit; }
  .nav__extra a { font-family: var(--serif); font-size: 1.35rem; color: var(--on-dark); text-decoration: none; }
  .menu-open .nav__extra { opacity: 1; transition-delay: 0.6s; }
  .menu-open .site-header { color: var(--on-dark); transform: none; }
  .menu-open .site-header::before { opacity: 0; }
  .menu-open .brand__mark { color: var(--gold-light); }
  .menu-open .header-cta { border-color: rgba(212, 183, 127, 0.6); }
  html.menu-open { overflow: hidden; }
}
@media (max-width: 640px) {
  .header-cta { display: none; }
  .brand__mark { width: 38px; height: 38px; }
  .brand__name { font-size: 1.3rem; }
}

/* ---------- Page entrance ---------- */
.lines .line { display: block; overflow: hidden; padding: 0 0.12em 0.08em 0; margin-bottom: -0.08em; }
.lines .line > span { display: block; }
.js .lines .line > span { transform: translate3d(0, 108%, 0); }
.is-ready .lines .line > span { transform: none; transition: transform 1.5s var(--ease-out) 0.1s; }
.is-ready .lines .line:nth-child(2) > span { transition-delay: 0.22s; }
.is-ready .lines .line:nth-child(3) > span { transition-delay: 0.34s; }
.js .load-fade { opacity: 0; transform: translate3d(0, 18px, 0); }
.is-ready .load-fade { opacity: 1; transform: none; transition: opacity 1.3s var(--ease-out) var(--ld, 0.5s), transform 1.5s var(--ease-out) var(--ld, 0.5s); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.hero__media { position: absolute; inset: -10% 0; z-index: -2; will-change: transform; }
.hero__img { position: absolute; inset: 0; background: var(--ink) center / cover no-repeat; }
.js .hero__img, .js .page-head__img { transform: scale(1.14); }
.is-ready .hero__img, .is-ready .page-head__img { transform: scale(1.02); transition: transform 3.8s var(--ease-out); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 13, 24, 0.92) 0%, rgba(8, 13, 24, 0.74) 42%, rgba(8, 13, 24, 0.3) 75%, rgba(8, 13, 24, 0.2) 100%),
    linear-gradient(0deg, rgba(8, 13, 24, 0.92) 0%, rgba(8, 13, 24, 0.15) 50%, rgba(8, 13, 24, 0.55) 100%);
}
.hero__content { position: relative; padding-top: calc(var(--header-h) + 72px); padding-bottom: clamp(56px, 9vh, 104px); }
.hero__title { margin-bottom: 0.42em; }
.hero__lede { max-width: 46ch; font-family: var(--serif); font-size: var(--fs-lede); line-height: 1.5; color: rgba(236, 230, 219, 0.84); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 44px; margin-top: 44px; }
.hero__foot { position: relative; border-top: 1px solid rgba(236, 230, 219, 0.14); }
.hero__foot-inner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; }
.hero__foot a { display: flex; align-items: baseline; gap: 16px; padding: 26px 24px 30px; text-decoration: none; color: var(--on-dark); font-family: var(--serif); font-size: 1.3rem; border-left: 1px solid rgba(236, 230, 219, 0.14); transition: color 0.4s, background 0.6s var(--ease-out); }
.hero__foot a:first-child { border-left: 0; padding-left: 0; }
.hero__foot a span { font-family: var(--sans); font-size: 0.6875rem; letter-spacing: 0.24em; color: var(--gold-light); }
.hero__foot a:hover { color: var(--gold-light); }
.hero__foot .hero__scroll { align-items: center; gap: 14px; font-family: var(--sans); font-size: 0.6875rem; letter-spacing: 0.3em; text-transform: uppercase; padding-right: 0; }
.hero__scroll-line { position: relative; width: 1px; height: 38px; background: rgba(236, 230, 219, 0.25); overflow: hidden; }
.hero__scroll-line::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--gold-light); animation: scroll-cue 2.4s var(--ease-io) infinite; }
@keyframes scroll-cue { to { top: 100%; } }
.hero__side {
  position: absolute; right: max(18px, calc((100vw - var(--wrap)) / 4)); top: 50%; margin: 0;
  writing-mode: vertical-rl; transform: translateY(-50%) rotate(180deg);
  display: flex; align-items: center; gap: 18px;
  font-size: 0.6875rem; letter-spacing: 0.4em; text-transform: uppercase; color: rgba(236, 230, 219, 0.55);
}
.hero__side::before { content: ""; width: 1px; height: 64px; background: var(--gold); }
@media (max-width: 1180px) { .hero__side { display: none; } }
@media (max-width: 820px) {
  .hero__foot-inner { grid-template-columns: 1fr; }
  .hero__foot a:not(.hero__scroll) { display: none; }
  .hero__foot .hero__scroll { padding: 22px 0; border-left: 0; }
}

/* ---------- Concierge finder ---------- */
.concierge { background: var(--ivory); border-bottom: 1px solid var(--rule); }
.finder { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 28px clamp(40px, 6vw, 96px); align-items: end; padding-block: clamp(52px, 6vw, 84px); }
.finder .eyebrow { margin-bottom: 1rem; }
.finder__label { display: block; font-family: var(--serif); font-size: clamp(2.1rem, 1.5rem + 2vw, 3.2rem); font-weight: 300; line-height: 1.05; color: var(--ink); }
.finder__label em { font-style: italic; color: var(--gold-deep); }
.finder__row { display: flex; align-items: flex-end; gap: 22px; }
.finder__select { flex: 1; min-width: 0; }
.finder select {
  width: 100%; appearance: none; -webkit-appearance: none; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; cursor: pointer;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23b8955a' stroke-width='1.3'/%3E%3C/svg%3E") no-repeat right 4px center;
  font-family: var(--serif); font-size: clamp(1.15rem, 1rem + 0.55vw, 1.45rem); font-style: italic; color: var(--ink);
  padding: 14px 40px 14px 0; text-overflow: ellipsis;
}
.finder select:focus-visible { outline: none; border-bottom-color: var(--gold); box-shadow: 0 1px 0 var(--gold); }
.finder__go {
  flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--gold); background: transparent; color: var(--ink);
  transition: background 0.5s var(--ease-out), border-color 0.5s, color 0.5s;
}
.finder__go svg { width: 22px; height: 22px; transition: transform 0.6s var(--ease-out); }
.finder__go:hover { background: var(--ink); border-color: var(--ink); color: var(--gold-light); }
.finder__go:hover svg { transform: translateX(3px); }
@media (max-width: 860px) { .finder { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .finder__go { width: 54px; height: 54px; } }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: var(--section); }
.section--sand { background: var(--sand); }
.section--paper { background: var(--paper); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 28px clamp(40px, 6vw, 96px); align-items: end; margin-bottom: clamp(56px, 7vw, 100px); }
.section-head h2 { margin: 0; }
.section-head > p { margin: 0 0 0.4em; max-width: 46ch; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

/* Arched frames */
.arch-frame { position: relative; }
.arch-frame::before {
  content: ""; position: absolute; inset: -20px -20px 20px 20px; z-index: 0; pointer-events: none;
  border: 1px solid var(--gold); border-radius: 999px 999px 0 0; opacity: 0.75;
}
.arch { position: relative; z-index: 1; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 999px 999px 0 0; background: var(--ink-3); }
.arch__plx { position: absolute; inset: -12% 0; will-change: transform; }
.arch__plx img { width: 100%; height: 100%; object-fit: cover; }

/* Rotating seal */
.seal { position: absolute; z-index: 2; width: clamp(118px, 11vw, 152px); aspect-ratio: 1; border-radius: 50%; background: var(--ivory); box-shadow: 0 20px 50px -20px rgba(11, 19, 34, 0.35); }
.seal svg { width: 100%; height: 100%; display: block; }
.seal__spin { transform-origin: 80px 80px; animation: spin 40s linear infinite; }
.seal text { font-family: var(--sans); font-size: 10.5px; font-weight: 500; letter-spacing: 0.2em; fill: var(--gold-deep); }
.seal .seal__t { font-family: var(--serif); font-size: 46px; font-weight: 300; letter-spacing: 0; fill: var(--ink); }
.seal__ring { fill: none; stroke: var(--gold); stroke-width: 0.6; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Home: introduction ---------- */
.intro__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(64px, 8vw, 136px); align-items: center; }
.intro__cols { max-width: 60ch; margin: 2rem 0 1.6rem; }
.intro__art { position: relative; margin: 0; width: min(100%, 470px); justify-self: end; }
.intro__art .arch__plx { inset: 0; }
.intro__art .arch__plx img { object-position: center top; }
.intro__art .seal { left: -64px; bottom: 56px; }
@media (max-width: 960px) {
  .intro__grid { grid-template-columns: 1fr; }
  .intro__art { justify-self: center; width: min(86%, 420px); margin-top: 24px; }
  .intro__art .seal { left: -28px; bottom: 32px; }
}

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: clamp(80px, 10vw, 144px) 0 0; border-top: 1px solid var(--rule); }
.fact { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 40px 28px 0 0; min-width: 0; }
.fact + .fact { padding-left: 28px; border-left: 1px solid var(--rule); }
.fact dd { margin: 0 0 14px; font-family: var(--serif); font-size: clamp(2rem, 1.5rem + 1.5vw, 3.1rem); font-weight: 300; line-height: 1; color: var(--ink); }
.fact dt { font-size: 0.8125rem; letter-spacing: 0.06em; color: var(--text-soft); line-height: 1.5; }
@media (max-width: 860px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n+3) { margin-top: 36px; }
}
@media (max-width: 560px) {
  .facts { grid-template-columns: 1fr; }
  .facts .fact { padding: 28px 0 0; border-left: 0; margin-top: 0; }
  .facts .fact + .fact { margin-top: 28px; border-top: 1px solid var(--rule); }
}

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; background: var(--ivory); border-block: 1px solid var(--rule); padding-block: clamp(22px, 3vw, 38px); }
.marquee__track { display: flex; width: max-content; animation: marquee 55s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee__group > span, .marquee__group > em {
  padding-inline: clamp(22px, 2.6vw, 48px); white-space: nowrap;
  font-family: var(--serif); font-size: clamp(2.6rem, 1.6rem + 4vw, 5.6rem); font-weight: 300; line-height: 1.15; color: var(--ink);
}
.marquee__group > i { flex: none; width: 12px; height: 12px; border: 1px solid var(--gold); transform: rotate(45deg); }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }

/* ---------- Practices ---------- */
.practices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 36px); }
.practice {
  position: relative; display: flex; flex-direction: column; min-width: 0; text-decoration: none; color: var(--ink);
  background: var(--paper); box-shadow: 0 1px 0 rgba(11, 19, 34, 0.06);
  transition: box-shadow 0.8s var(--ease-out);
}
.practice::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold-grad); transform: scaleX(0); transform-origin: left; transition: transform 0.9s var(--ease-out); }
.practice:hover { box-shadow: 0 50px 90px -50px rgba(11, 19, 34, 0.45); }
.practice:hover::after { transform: scaleX(1); }
.practice__media { position: relative; aspect-ratio: 5 / 4; overflow: hidden; background: var(--ink); }
.practice__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease-out); }
.practice__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11, 19, 34, 0.55) 0%, rgba(11, 19, 34, 0) 50%); }
.practice:hover .practice__media img { transform: scale(1.07); }
.practice__num { position: absolute; z-index: 1; left: clamp(26px, 2.6vw, 40px); bottom: 14px; font-family: var(--serif); font-size: 3.6rem; font-style: italic; font-weight: 300; line-height: 1; color: var(--ivory); }
.practice__body { display: flex; flex-direction: column; flex: 1; padding: clamp(28px, 2.6vw, 40px); }
.practice h3 { margin-bottom: 0.45em; }
.practice p { font-size: 1rem; }
.practice ul { list-style: none; margin: 0.4rem 0 2.2rem; padding: 0; }
.practice li { position: relative; padding: 12px 0 12px 24px; border-top: 1px solid var(--rule); font-size: 0.9688rem; line-height: 1.5; color: var(--ink); }
.practice li::before, .area__list li::before {
  content: ""; position: absolute; left: 1px; top: 50%; width: 6px; height: 6px; border: 1px solid var(--gold); transform: translateY(-50%) rotate(45deg);
}
.practice .link-arrow { margin-top: auto; align-self: flex-start; }
.practice:hover .link-arrow::after { width: 76px; }
@media (max-width: 1024px) { .practices { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .practices { grid-template-columns: 1fr; } }

/* ---------- Ink band ---------- */
.band { position: relative; isolation: isolate; overflow: hidden; padding-block: var(--section); }
.band__media { position: absolute; inset: -16% 0; z-index: -2; background: var(--ink) center / cover no-repeat; will-change: transform; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11, 19, 34, 0.96) 0%, rgba(11, 19, 34, 0.86) 45%, rgba(11, 19, 34, 0.5) 100%); }
.band__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); gap: clamp(56px, 7vw, 120px); align-items: center; }
.band__text p { max-width: 52ch; margin-bottom: 2.2rem; }
.band__points {
  list-style: none; margin: 0; padding: 8px clamp(26px, 3vw, 48px); counter-reset: pt;
  background: rgba(11, 19, 34, 0.5); border: 1px solid rgba(212, 183, 127, 0.28);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.band__points li { display: flex; align-items: baseline; gap: 26px; padding: 24px 0; border-top: 1px solid var(--rule); font-family: var(--serif); font-size: clamp(1.3rem, 1.1rem + 0.6vw, 1.65rem); line-height: 1.3; color: var(--on-dark); }
.band__points li:first-child { border-top: 0; }
.band__points li::before { counter-increment: pt; content: counter(pt, decimal-leading-zero); flex: none; font-family: var(--sans); font-size: 0.6875rem; letter-spacing: 0.24em; color: var(--gold-light); transform: translateY(-3px); }
@media (max-width: 900px) {
  .band__grid { grid-template-columns: 1fr; }
  .band::before { background: rgba(11, 19, 34, 0.86); }
}

/* ---------- Method ---------- */
.method { list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(28px, 3vw, 52px); }
.method::before, .method::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; }
.method::before { background: var(--rule); }
.method::after { background: var(--gold-grad); transform: scaleX(0); transform-origin: left; transition: transform 2.4s var(--ease-out) 0.2s; }
.method.is-in::after { transform: scaleX(1); }
.method__item { position: relative; padding-top: 52px; min-width: 0; }
.method__item::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; background: var(--ivory); border: 1px solid var(--gold); transform: rotate(45deg); }
.method__num { display: block; margin-bottom: 20px; font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent); }
.method__verb { margin-bottom: 0.45em; font-size: clamp(2.3rem, 1.7rem + 1.6vw, 3.2rem); font-style: italic; font-weight: 300; line-height: 1; }
.method__item p { font-size: 0.98rem; }
@media (max-width: 1000px) {
  .method { grid-template-columns: 1fr 1fr; gap: 56px 40px; }
  .method::before, .method::after { display: none; }
  .method__item { border-top: 1px solid var(--rule); padding-top: 44px; }
}
@media (max-width: 600px) { .method { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- Clients ---------- */
.clients { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.client { position: relative; min-width: 0; padding: 48px clamp(24px, 3vw, 52px) 16px 0; }
.client + .client { padding-left: clamp(24px, 3vw, 52px); border-left: 1px solid var(--rule); }
.client::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.9s var(--ease-out); }
.client:hover::before { transform: scaleX(1); }
.client__num { display: block; margin-bottom: 30px; font-family: var(--serif); font-size: 1.5rem; font-style: italic; color: var(--accent); line-height: 1; }
.client h3 { font-size: clamp(1.9rem, 1.5rem + 1.2vw, 2.6rem); font-weight: 300; }
@media (max-width: 900px) {
  .clients { grid-template-columns: 1fr; }
  .client, .client + .client { padding: 40px 0 16px; border-left: 0; }
  .client + .client { border-top: 1px solid var(--rule); }
}

/* ---------- Quote ---------- */
.quote { text-align: center; background: var(--ivory); }
.quote__inner { max-width: 1080px; margin: 0 auto; }
.quote__edge { white-space: nowrap; }
.quote__mark { display: inline; font-family: var(--serif); font-size: 1em; font-style: normal; line-height: inherit; color: var(--gold); }
.quote blockquote { margin: 0; }
.quote blockquote p { margin: 0; font-family: var(--serif); font-size: clamp(2.1rem, 1.2rem + 3.6vw, 4.6rem); font-weight: 300; line-height: 1.12; letter-spacing: -0.01em; color: var(--ink); text-wrap: balance; }
.quote figcaption { display: inline-flex; align-items: center; gap: 18px; margin-top: 48px; font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent); }
.quote figcaption::before, .quote figcaption::after { content: ""; width: 40px; height: 1px; background: currentColor; }

/* ---------- Closing call to action ---------- */
.cta-final { position: relative; isolation: isolate; overflow: hidden; text-align: center; padding-block: clamp(120px, 15vw, 220px); }
.cta-final__globe { position: absolute; inset: 0; z-index: -3; pointer-events: none; }
.cta-final__globe img { width: 100%; height: 100%; object-fit: cover; object-position: center 54%; }
.cta-final::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgba(11, 19, 34, 0.65), rgba(11, 19, 34, 0.18) 30%, rgba(11, 19, 34, 0.2) 62%, rgba(11, 19, 34, 0.92)),
    radial-gradient(ellipse at 50% 42%, rgba(11, 19, 34, 0.66) 0%, rgba(11, 19, 34, 0.48) 38%, rgba(11, 19, 34, 0.16) 72%);
}
.cta-final > .wrap { position: relative; }
.cta-final h2 { max-width: 13ch; margin: 0 auto 0.4em; font-size: clamp(2.8rem, 1.5rem + 5vw, 6.4rem); }
.cta-final h2, .cta-final p { text-shadow: 0 2px 28px rgba(11, 19, 34, 0.45); }
.cta-final p { max-width: 52ch; margin: 0 auto 52px; font-size: 1.0625rem; color: #c2c9d6; }
.cta-final__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px 48px; }
.cta-final--firm { padding-block: clamp(76px, 8vw, 120px); }
@media (max-width: 680px) {
  .cta-final__globe img { object-position: 56% center; }
  .cta-final__actions { gap: 28px; }
  .cta-final__actions .link-arrow { font-size: clamp(1rem, 4.5vw, 1.3rem); }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-soft); font-size: 0.95rem; border-top: 1px solid rgba(212, 183, 127, 0.18); }
.site-footer > .wrap { padding-top: clamp(36px, 4vw, 56px); padding-bottom: 20px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 28px 32px; }
.footer-grid > div { min-width: 0; }
.site-footer .brand { color: var(--on-dark); }
.footer-about { max-width: 34ch; margin: 18px 0 0; font-size: 0.875rem; line-height: 1.65; }
.site-footer h4 { margin-bottom: 18px; font-family: var(--sans); font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-light); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--on-dark); text-decoration: none; overflow-wrap: anywhere; background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1px; transition: background-size 0.6s var(--ease-out); }
.site-footer a:hover { background-size: 100% 1px; }
.site-footer .brand, .site-footer .to-top { background: none; }
.footer-mark {
  margin: clamp(24px, 3vw, 40px) 0 clamp(12px, 1.5vw, 20px);
  font-family: var(--serif); font-size: clamp(5rem, 26vw, 23rem); font-weight: 300; line-height: 0.8; letter-spacing: -0.01em;
  text-align: center; white-space: nowrap; user-select: none;
  color: transparent; -webkit-text-stroke: 1px rgba(212, 183, 127, 0.38);
  background: linear-gradient(180deg, rgba(212, 183, 127, 0.14), rgba(212, 183, 127, 0)); -webkit-background-clip: text; background-clip: text;
}
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 24px; margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(236, 230, 219, 0.12); font-size: 0.75rem; letter-spacing: 0.03em; }
.footer-mark + .footer-base { margin-top: 0; }
.footer-base ul { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.to-top { display: inline-flex; align-items: center; gap: 14px; font-size: 0.6875rem; letter-spacing: 0.26em; text-transform: uppercase; }
.to-top span { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(212, 183, 127, 0.45); border-radius: 50%; transition: background 0.5s var(--ease-out), color 0.5s; }
.to-top svg { width: 16px; height: 16px; }
.to-top:hover span { background: var(--gold-light); color: var(--ink); }
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .footer-about { max-width: 58ch; }
}
@media (max-width: 680px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 24px; }
  .footer-grid > div:last-child { grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid rgba(236, 230, 219, 0.12); }
  .footer-grid > div:last-child ul { display: flex; flex-wrap: wrap; gap: 8px 24px; }
  .footer-base { margin-top: 24px; }
}

/* ---------- Inner page heads ---------- */
.page-head {
  position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end;
  min-height: clamp(580px, 88svh, 900px);
  padding-top: calc(var(--header-h) + 48px); padding-bottom: clamp(64px, 9vw, 124px);
}
.page-head--compact { min-height: clamp(480px, 66svh, 660px); }
.page-head--overlap { padding-bottom: clamp(150px, 17vw, 260px); }
.page-head__media { position: absolute; inset: -12% 0; z-index: -2; will-change: transform; }
.page-head__img { position: absolute; inset: 0; background: var(--ink) center / cover no-repeat; filter: saturate(0.85); }
.page-head--globe .page-head__img { background-image: url('../images/contact-globe.jpg'); background-position: 70% 52%; filter: none; }
@media (max-width: 680px) {
  .page-head--globe .page-head__img { background-image: url('../images/contact-globe-768.jpg'); }
}
.page-head::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(0deg, rgba(11, 19, 34, 0.97) 0%, rgba(11, 19, 34, 0.6) 55%, rgba(11, 19, 34, 0.72) 100%),
    linear-gradient(90deg, rgba(11, 19, 34, 0.75) 0%, rgba(11, 19, 34, 0.1) 100%);
}
.page-head h1 { margin-bottom: 0.42em; font-size: clamp(2.6rem, 1.4rem + 5vw, 6.4rem); }
.page-head__lede { max-width: 54ch; margin: 0; font-family: var(--serif); font-size: var(--fs-lede); line-height: 1.5; color: rgba(236, 230, 219, 0.84); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 44px; font-size: 0.6875rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--on-dark-soft); }
.crumbs a { color: var(--on-dark-soft); text-decoration: none; transition: color 0.3s; }
.crumbs a:hover { color: var(--gold-light); }
.crumbs i { width: 24px; height: 1px; background: var(--gold); }
.crumbs [aria-current] { color: var(--on-dark); }

/* In-page index */
.subnav { background: var(--ivory); border-bottom: 1px solid var(--rule); }
.subnav ul { list-style: none; margin: 0; padding: 0; display: flex; }
.subnav li { flex: 1 1 auto; }
.subnav li + li { border-left: 1px solid var(--rule); }
.subnav a { display: flex; align-items: baseline; gap: 12px; height: 100%; padding: 26px 22px; white-space: nowrap; font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none; color: var(--ink); transition: background 0.5s var(--ease-out); }
.subnav li:first-child a { padding-left: 0; }
.subnav a span { font-family: var(--serif); font-size: 1.15rem; font-style: italic; letter-spacing: 0; text-transform: none; color: var(--gold-deep); }
.subnav a:hover { background: var(--sand); }
@media (max-width: 1180px) {
  .subnav .wrap { padding-inline: 0; }
  .subnav ul { display: flex; overflow-x: auto; scrollbar-width: none; padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px)); }
  .subnav ul::-webkit-scrollbar { display: none; }
  .subnav li { flex: none; }
}

/* ---------- Firm page ---------- */
.firm-contact { padding-block: clamp(56px, 7vw, 96px); border-top: 1px solid var(--rule); }
.firm-contact__head { display: grid; grid-template-areas: "label email availability"; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 24px 32px; margin-bottom: clamp(40px, 5vw, 64px); padding-bottom: 32px; border-bottom: 1px solid var(--rule); }
.firm-contact__head > .eyebrow { grid-area: label; margin: 0; }
.firm-contact__email { position: relative; grid-area: email; justify-self: center; display: block; min-width: 0; max-width: 100%; font-family: var(--serif); font-size: clamp(1.25rem, 1rem + 0.8vw, 1.75rem); line-height: 1.35; text-align: center; text-decoration: none; color: var(--ink); }
.firm-contact__email > span { display: block; min-width: 0; overflow-wrap: anywhere; }
.firm-contact__email svg { position: absolute; right: -32px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--gold-deep); }
.firm-contact__availability { grid-area: availability; margin: 0; font-size: 0.8125rem; line-height: 1.7; text-align: right; }
.team-directory__head { margin-bottom: 36px; text-align: center; }
.team-directory__head h2 { margin: 0; font-size: clamp(2.5rem, 1.6rem + 3vw, 4rem); }
.team-note { margin: 24px 0 0; font-size: 0.8125rem; line-height: 1.6; text-align: center; color: var(--text-soft); }
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 24px; list-style: none; margin: 0; padding: 0; }
.team-member { display: grid; grid-template-rows: 64px auto; align-content: start; justify-items: center; row-gap: 22px; min-width: 0; min-height: 224px; padding: 30px 24px; border: 1px solid var(--rule); background: var(--ivory); text-align: center; transition: border-color 0.4s ease, background-color 0.4s ease; }
.team-member:hover { border-color: var(--gold); background: var(--paper); }
.team-member__initials { display: grid; place-items: center; width: 64px; height: 64px; border: 1px solid var(--gold); border-radius: 50%; background: var(--ink); font-family: var(--serif); font-size: 1.8rem; line-height: 1; color: var(--gold-light); }
.team-member > div { display: grid; justify-items: center; gap: 10px; min-width: 0; width: 100%; }
.team-member h3 { margin: 0; font-size: 1.65rem; line-height: 1.2; }
.team-member p { margin: 0; font-size: 0.6875rem; line-height: 1.6; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-soft); }
@media (max-width: 1000px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .firm-contact__head { grid-template-areas: "label" "email" "availability"; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 18px; padding-bottom: 28px; }
  .firm-contact__email { max-width: calc(100% - 36px); font-size: clamp(1.15rem, 4.3vw, 1.65rem); }
  .firm-contact__availability { text-align: center; }
}
@media (max-width: 560px) {
  .team-grid { grid-template-columns: 1fr; gap: 12px; }
  .team-directory__head { margin-bottom: 28px; }
  .team-member { grid-template-columns: 48px minmax(0, 1fr); grid-template-rows: auto; align-items: center; justify-items: start; gap: 18px; min-height: 112px; padding: 24px; text-align: left; }
  .team-member__initials { width: 48px; height: 48px; font-size: 1.4rem; }
  .team-member > div { justify-items: start; gap: 8px; }
  .team-member h3 { font-size: 1.45rem; }
}

html:not(.menu-open) .page-firm .site-header { color: var(--ink); }
html:not(.menu-open) .page-firm .site-header::before { opacity: 1; }
html:not(.menu-open) .page-firm .site-header .brand__mark { color: var(--gold-deep); }
html:not(.menu-open) .page-firm .header-cta { border-color: var(--gold); }

.firm-hero {
  position: relative; overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(28px, 3vw, 44px));
  padding-bottom: clamp(64px, 7vw, 104px);
  background: radial-gradient(ellipse at 85% 40%, rgba(212, 183, 127, 0.12), transparent 60%), var(--ivory);
  border-bottom: 1px solid var(--rule);
}
.firm-hero .crumbs { margin-bottom: clamp(28px, 3vw, 44px); color: var(--text-soft); }
.firm-hero .crumbs a { color: var(--text-soft); }
.firm-hero .crumbs a:hover { color: var(--gold-deep); }
.firm-hero .crumbs [aria-current] { color: var(--ink); }
.firm-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(48px, 6vw, 96px); align-items: center; }
.firm-hero__copy { min-width: 0; padding-block: 12px 24px; }
.firm-hero .eyebrow { margin-bottom: 28px; }
.firm-hero h1 { margin-bottom: 28px; font-size: clamp(3rem, 1.25rem + 4.5vw, 5.6rem); line-height: 1.04; }
.firm-hero__lede { margin-bottom: 20px; font-family: var(--serif); font-size: clamp(1.35rem, 1.05rem + 0.65vw, 1.75rem); line-height: 1.4; color: var(--ink); }
.firm-hero__description { max-width: 44ch; margin-bottom: 0; }
.firm-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 32px; margin-top: 36px; }
.firm-hero__visual { position: relative; isolation: isolate; min-width: 0; margin: 0 18px 0 0; padding-bottom: 30px; }
.firm-hero__visual::before { content: ""; position: absolute; inset: 18px -18px 66px 18px; z-index: -1; border: 1px solid rgba(184, 149, 90, 0.65); border-radius: 2px 2px 64px 2px; }
.firm-hero__photo { aspect-ratio: 1 / 1.12; overflow: hidden; border-radius: 2px 2px 64px 2px; background: var(--sand); }
.firm-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 47% center; }
.firm-hero__caption { position: absolute; left: 24px; right: 24px; bottom: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 28px; padding: 22px 26px; background: var(--paper); border-left: 2px solid var(--gold); box-shadow: 0 20px 48px -32px rgba(11, 19, 34, 0.35); font-size: 0.6875rem; font-weight: 500; line-height: 1.5; letter-spacing: 0.2em; text-align: center; text-transform: uppercase; color: var(--ink); }
.firm-hero__caption span:last-child { color: var(--gold-deep); }
@media (max-width: 1100px) and (min-width: 901px) {
  .firm-hero h1 { font-size: 4rem; }
  .firm-hero__actions { gap: 22px; }
  .firm-hero__actions .btn { padding-inline: 24px; }
}
@media (max-width: 900px) {
  .firm-hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .firm-hero__copy { max-width: 640px; padding-block: 0; }
  .firm-hero h1 { font-size: clamp(2.65rem, 7.5vw, 4.8rem); }
  .firm-hero__visual { width: min(calc(100% - 18px), 600px); justify-self: center; }
  .firm-hero__photo { aspect-ratio: 6 / 5; }
}
@media (max-width: 480px) {
  .firm-hero__actions { align-items: flex-start; flex-direction: column; gap: 18px; margin-top: 28px; }
  .firm-hero__caption { left: 16px; right: 16px; gap: 8px 20px; padding: 18px; font-size: 0.625rem; letter-spacing: 0.14em; }
}

.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(64px, 8vw, 136px); align-items: start; }
.story__col--sticky { position: sticky; top: 120px; }
.dropcap::first-letter { float: left; margin: 0.06em 0.1em 0 0; font-family: var(--serif); font-size: 5.2em; font-weight: 300; line-height: 0.78; color: var(--gold-deep); }
.roles { list-style: none; margin: 2.4rem 0 2rem; padding: 0; }
.roles li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 20px; padding: 30px 0; border-top: 1px solid var(--rule); }
.roles li:last-child { border-bottom: 1px solid var(--rule); }
.roles__num { font-family: var(--serif); font-size: 2.2rem; font-style: italic; font-weight: 300; line-height: 1; color: var(--accent); }
.roles h3 { margin-bottom: 0.3em; font-size: 1.7rem; }
.roles p { margin: 0; }
.story__note { font-family: var(--serif); font-size: 1.4rem; font-style: italic; line-height: 1.5; color: var(--ink); }
@media (max-width: 960px) { .story { grid-template-columns: 1fr; } .story__col--sticky { position: static; } }

.partner { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(64px, 8vw, 136px); align-items: center; }
.partner__art { position: relative; margin: 0; width: min(100%, 440px); }
.partner__art .arch__plx, #management .arch__plx { inset: 0; }
.partner__art .arch__plx img { object-position: center 60%; }
#management .arch__plx img { object-position: center 40%; }
.partner__caption { position: absolute; z-index: 2; left: 50%; bottom: 28px; transform: translateX(-50%); padding: 12px 22px; background: var(--ivory); color: var(--ink); white-space: nowrap; font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; }
@media (max-width: 900px) { .partner { grid-template-columns: 1fr; } .partner__art { width: min(84%, 380px); margin-left: 20px; } }

.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.value { position: relative; min-width: 0; padding: 48px clamp(20px, 2.4vw, 40px) 16px 0; }
.value + .value { padding-left: clamp(20px, 2.4vw, 40px); border-left: 1px solid var(--rule); }
.value::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.9s var(--ease-out); }
.value:hover::before { transform: scaleX(1); }
.value__num { display: block; margin-bottom: 30px; font-family: var(--serif); font-size: 1.5rem; font-style: italic; line-height: 1; color: var(--accent); }
.value h3 { font-size: clamp(1.8rem, 1.5rem + 0.8vw, 2.3rem); font-weight: 300; }
.value p { font-size: 0.98rem; }
@media (max-width: 1024px) {
  .values { grid-template-columns: 1fr 1fr; }
  .value:nth-child(3) { padding-left: 0; border-left: 0; }
  .value:nth-child(n+3) { border-top: 1px solid var(--rule); }
}
@media (max-width: 600px) {
  .values { grid-template-columns: 1fr; }
  .value, .value + .value { padding: 40px 0 12px; border-left: 0; }
  .value + .value { border-top: 1px solid var(--rule); }
}

/* ---------- Expertise page ---------- */
.area { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(56px, 7vw, 128px); align-items: start; padding-block: var(--section); border-top: 1px solid var(--rule); }
.area:first-child { border-top: 0; }
.area--flip .area__media { order: 2; }
.area__media { position: sticky; top: 120px; }
.area__frame { position: relative; aspect-ratio: 5 / 4; overflow: hidden; background: var(--ink-3); }
.area__frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.8s var(--ease-out); }
.area__media:hover .area__frame img { transform: scale(1.04); }
.area__num {
  position: absolute; z-index: 1; right: -0.12em; bottom: -0.34em; pointer-events: none;
  font-family: var(--serif); font-size: clamp(7rem, 5rem + 6vw, 12rem); font-style: italic; font-weight: 300; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px var(--gold);
}
.area--flip .area__num { right: auto; left: -0.12em; }
.area__body { padding-top: clamp(0px, 3vw, 40px); }
.area__list { list-style: none; margin: 2.4rem 0 2.6rem; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.area__list li { position: relative; padding: 16px 0 16px 24px; border-top: 1px solid var(--rule); font-size: 0.98rem; line-height: 1.5; color: var(--ink); }
@media (max-width: 900px) {
  .area { grid-template-columns: 1fr; }
  .area--flip .area__media { order: 0; }
  .area__media { position: relative; top: auto; max-width: 560px; }
  .area__frame { aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) { .area__list { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(64px, 8vw, 136px); align-items: center; }
.split__media { position: relative; margin: 0; width: min(100%, 460px); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split__media { width: min(84%, 400px); margin-left: 20px; } }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 3vw, 48px); counter-reset: step; }
.steps li { position: relative; counter-increment: step; min-width: 0; padding-top: 40px; border-top: 1px solid var(--rule); }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; margin-bottom: 30px; font-family: var(--serif); font-size: clamp(3.2rem, 2.6rem + 2vw, 4.6rem); font-style: italic; font-weight: 300; line-height: 1; color: var(--gold-deep); }
.steps li::after { content: ""; position: absolute; left: 0; top: -1px; width: 72px; height: 1px; background: var(--gold); }
.steps h3 { font-size: 1.75rem; }
.steps p { margin: 0; font-size: 0.98rem; }
@media (max-width: 1000px) { .steps { grid-template-columns: 1fr 1fr; gap: 56px 40px; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Verification page ---------- */
.verification-hero { min-height: clamp(560px, 78svh, 780px); }
.verification-hero .page-head__img { background-position: center 45%; }
.verification-hero h1 { max-width: 17ch; }
.verification-intake { padding-block: clamp(56px, 7vw, 100px); }
.verification-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; margin: 0 0 56px; padding: 0; border-block: 1px solid var(--rule); }
.verification-steps li { display: flex; align-items: center; gap: 20px; min-width: 0; padding: 24px; }
.verification-steps li + li { border-left: 1px solid var(--rule); }
.verification-steps__number { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border: 1px solid var(--rule); border-radius: 50%; font-family: var(--serif); font-size: 1.5rem; color: var(--gold-deep); }
.verification-steps li.is-current { background: var(--ivory); }
.verification-steps .is-current .verification-steps__number, .verification-steps .is-done .verification-steps__number { background: var(--ink); border-color: var(--gold); color: var(--gold-light); }
.verification-steps li div > span { display: block; margin-bottom: 4px; font-size: 0.625rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-deep); }
.verification-steps strong { display: block; font-family: var(--serif); font-size: clamp(1.2rem, 0.9rem + 0.5vw, 1.55rem); line-height: 1.2; font-weight: 400; }
.verification-card { max-width: 920px; margin-inline: auto; padding: clamp(28px, 5vw, 68px); border: 1px solid var(--rule); border-top: 2px solid var(--gold); background: var(--ivory); }
.verification-card__head { margin-bottom: 40px; }
.verification-card__head .eyebrow { margin-bottom: 20px; }
.verification-card__head h2 { margin: 0; font-size: clamp(2.1rem, 1.4rem + 2.5vw, 3.5rem); }
.verification-form .field { min-width: 0; }
.verification-form button[disabled] { opacity: 0.5; cursor: not-allowed; }
.verification-form button[disabled]::before { transform: scaleX(0); }
.verification-address { min-width: 0; }
.verification-address label { display: block; margin-bottom: 14px; font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink); }
.verification-address__entry { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: stretch; }
.verification-address textarea { display: block; width: 100%; min-height: 112px; resize: vertical; padding: 18px; border: 1px solid var(--gold); border-radius: 0; background: var(--paper); font: inherit; font-size: 0.9375rem; line-height: 1.6; color: var(--ink); }
.verification-address textarea::placeholder { color: var(--text-soft); opacity: 1; }
.verification-address .btn { padding-inline: 26px; }
.verification-address > p { margin: 12px 0 0; font-size: 0.8125rem; }
.verification-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.verification-retry { padding: 8px 0; border: 0; border-bottom: 1px solid var(--gold); border-radius: 0; background: transparent; font: inherit; font-size: 0.875rem; color: var(--ink); cursor: pointer; }
.verification-status { margin: 0; padding: 18px 22px; border-left: 2px solid var(--gold); background: var(--paper); font-size: 0.9375rem; color: var(--ink); }
.verification-status.is-error { border-left-color: #986342; }
.verification-form [hidden] { display: none; }
.verification-back { display: flex; width: fit-content; margin: 28px auto 0; }
.verification-aml__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); gap: 36px 72px; align-items: center; margin-bottom: 56px; }
.verification-aml__head h2 { margin: 0; }
.verification-aml__brand { display: flex; align-items: center; justify-self: end; gap: 20px; min-width: 0; }
.verification-aml__brand img { width: 88px; height: 88px; object-fit: contain; flex: none; }
.verification-aml__brand p { margin: 0; font-family: var(--serif); font-size: 1.5rem; line-height: 1.3; color: var(--ink); }
.verification-aml__brand p > span { display: block; margin-top: 8px; font-family: var(--sans); font-size: 0.75rem; letter-spacing: 0.12em; color: var(--gold-deep); }
.verification-highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; margin: 0 0 64px; padding: 0; border-block: 1px solid var(--rule); }
.verification-highlights li { padding: 28px 24px; }
.verification-highlights li + li { border-left: 1px solid var(--rule); }
.verification-highlights li > span { display: block; margin-bottom: 12px; font-family: var(--serif); font-size: 1.1rem; font-style: italic; color: var(--gold-deep); }
.verification-highlights h3 { margin: 0; font-size: clamp(1.5rem, 1rem + 1vw, 2rem); }
.verification-about { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: clamp(40px, 7vw, 112px); }
.verification-about h3 { margin-bottom: 32px; font-size: clamp(2rem, 1.4rem + 1.8vw, 3.1rem); font-weight: 300; }
.verification-about h3 em, .verification-partnership h3 em { font-weight: 300; color: var(--accent); }
.verification-about p { font-size: 1rem; }
.verification-about p:last-child { margin-bottom: 0; }
.verification-partnership { position: relative; isolation: isolate; overflow: hidden; margin-top: 64px; padding: clamp(32px, 5vw, 68px); border: 1px solid rgba(184, 149, 90, 0.45); background: radial-gradient(ellipse at 90% 10%, rgba(212, 183, 127, 0.24), transparent 65%), linear-gradient(120deg, var(--paper), #f1e8d8); }
.verification-partnership::before { content: ""; position: absolute; top: -170px; right: -100px; z-index: -1; width: 420px; height: 420px; border: 1px solid rgba(184, 149, 90, 0.2); border-radius: 50%; pointer-events: none; }
.verification-partnership::after { content: "T"; position: absolute; right: 22px; bottom: -42px; z-index: -1; font-family: var(--serif); font-size: clamp(10rem, 18vw, 17rem); line-height: 1; color: rgba(184, 149, 90, 0.1); pointer-events: none; }
.verification-partnership__grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.verification-partnership .eyebrow { margin-bottom: 20px; }
.verification-partnership h3 { margin-bottom: 0; font-size: clamp(2rem, 1.4rem + 2vw, 3rem); font-weight: 300; }
.verification-partnership p { max-width: 60ch; font-size: 1rem; }
.verification-partnership p:last-child { margin-bottom: 0; }
.verification-partnership__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; margin: 36px 0 0; padding: 28px 0 0; border-top: 1px solid rgba(184, 149, 90, 0.35); }
.verification-partnership__steps li { display: flex; align-items: baseline; gap: 12px; min-width: 0; }
.verification-partnership__steps li > span { font-family: var(--serif); font-size: 1rem; font-style: italic; color: var(--gold-deep); }
.verification-partnership__steps strong { font-size: 0.8125rem; font-weight: 400; line-height: 1.5; }
.verification-donation, .verification-donation * { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.verification-donation .section-head { margin-bottom: 44px; }
.verification-donations { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.verification-donation-card { display: flex; flex-direction: column; min-width: 0; padding: clamp(24px, 3vw, 36px); border: 1px solid var(--rule); background: var(--paper); }
.verification-donation-card__type { margin-bottom: 18px; font-size: 0.625rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-deep); }
.verification-donation-card h3 { margin-bottom: 24px; font-size: 2.2rem; font-weight: 300; }
.verification-donation-card code { display: block; margin-bottom: 28px; font-family: Consolas, 'Courier New', monospace; font-size: 0.8125rem; line-height: 1.8; overflow-wrap: anywhere; color: var(--ink); }
.verification-copy { display: inline-flex; align-items: center; align-self: start; gap: 10px; margin-top: auto; padding: 10px 0; border: 0; border-bottom: 1px solid var(--gold); border-radius: 0; background: transparent; font: inherit; font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); cursor: pointer; }
.verification-copy svg { width: 18px; height: 18px; flex: none; }
.verification-copy.is-copied { color: var(--gold-deep); }
.verification-copy-status { min-height: 1.7em; margin: 20px 0 0; font-size: 0.875rem; }
@media (max-width: 960px) {
  .verification-steps li { gap: 12px; padding: 22px 16px; }
  .verification-steps__number { width: 38px; height: 38px; }
  .verification-aml__head, .verification-about, .verification-partnership__grid { grid-template-columns: 1fr; }
  .verification-aml__brand { justify-self: start; }
  .verification-donations { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .verification-steps { grid-template-columns: 1fr; margin-bottom: 32px; }
  .verification-steps li + li { border-left: 0; border-top: 1px solid var(--rule); }
  .verification-steps strong { font-size: 1.3rem; }
  .verification-address__entry { grid-template-columns: 1fr; }
  .verification-address .btn { justify-self: start; }
  .verification-actions .btn { width: 100%; padding-inline: 20px; font-size: 0.6875rem; letter-spacing: 0.15em; }
  .verification-highlights { grid-template-columns: 1fr; margin-bottom: 40px; }
  .verification-highlights li { display: flex; align-items: baseline; gap: 20px; padding: 22px 16px; }
  .verification-highlights li + li { border-left: 0; border-top: 1px solid var(--rule); }
  .verification-highlights li > span { margin: 0; }
  .verification-aml__brand img { width: 64px; height: 64px; }
  .verification-aml__brand p { font-size: 1.3rem; }
  .verification-partnership__steps { grid-template-columns: 1fr; gap: 16px; }
}

/* ---------- Contact page ---------- */
.contact { padding-bottom: var(--section); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr); gap: clamp(48px, 6vw, 104px); align-items: start; }
.contact-card { position: relative; z-index: 2; margin-top: clamp(-160px, -10vw, -72px); padding: clamp(32px, 5vw, 76px); background: var(--paper); box-shadow: 0 60px 120px -60px rgba(11, 19, 34, 0.5); }
.contact-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--gold-grad); }
.contact-card__title { font-size: clamp(2.2rem, 1.6rem + 2vw, 3.4rem); }
.contact-card__intro { max-width: 56ch; margin-bottom: 52px; }
.contact__aside { padding-top: clamp(56px, 7vw, 104px); }
.aside-block { padding: 30px 0; border-top: 1px solid var(--rule); }
.aside-block h3 { margin-bottom: 14px; font-family: var(--sans); font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent); }
.aside-block p { margin: 0; }
.aside-block__email { font-family: var(--serif); font-size: clamp(1.3rem, 1.1rem + 0.6vw, 1.6rem); color: var(--ink); text-decoration: none; word-break: break-word; background: linear-gradient(var(--gold), var(--gold)) no-repeat 0 100% / 100% 1px; padding-bottom: 2px; }
@media (max-width: 960px) { .contact__grid { grid-template-columns: 1fr; } .contact__aside { padding-top: 0; } }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 40px; }
.form .full { grid-column: 1 / -1; }
.field { position: relative; }
.field label { display: block; margin-bottom: 4px; font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase; color: var(--text-soft); }
.field input, .field select, .field textarea {
  width: 100%; padding: 8px 0 12px; border: 0; border-bottom: 1px solid rgba(11, 19, 34, 0.25); border-radius: 0; background: transparent;
  font-family: var(--serif); font-size: 1.3rem; color: var(--ink); appearance: none; -webkit-appearance: none;
}
.field::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.7s var(--ease-out); }
.field:focus-within::after { transform: scaleX(1); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; }
.field select { cursor: pointer; padding-right: 28px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23b8955a' stroke-width='1.3'/%3E%3C/svg%3E") no-repeat right 4px center; }
.field textarea { min-height: 160px; resize: vertical; line-height: 1.5; }
.check { display: flex; gap: 16px; align-items: flex-start; font-size: 0.9rem; line-height: 1.6; color: var(--text-soft); cursor: pointer; }
.check input {
  flex: none; display: grid; place-content: center; width: 20px; height: 20px; margin: 2px 0 0; cursor: pointer;
  appearance: none; -webkit-appearance: none; border: 1px solid rgba(11, 19, 34, 0.4); background: transparent; transition: background 0.3s, border-color 0.3s;
}
.check input::before { content: ""; width: 10px; height: 5px; margin-top: -3px; border-left: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(-45deg) scale(0); transition: transform 0.35s var(--ease-out); }
.check input:checked { background: var(--gold-light); border-color: var(--gold); }
.check input:checked::before { transform: rotate(-45deg) scale(1); }
.check a { color: var(--ink); text-decoration-color: var(--gold); text-underline-offset: 3px; }
.form__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.form__submit small { font-size: 0.8125rem; color: var(--text-soft); }
.form-note { grid-column: 1 / -1; margin: 0; padding: 18px 22px; background: var(--sand); border-left: 2px solid var(--gold); font-size: 0.95rem; color: var(--ink); }
.form-note[hidden] { display: none; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Legal page ---------- */
.legal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(48px, 7vw, 128px); align-items: start; }
.legal__toc { position: sticky; top: 120px; }
.legal__toc ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.legal__toc a { display: flex; align-items: baseline; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--rule); font-family: var(--serif); font-size: 1.3rem; text-decoration: none; color: var(--ink); transition: color 0.3s; }
.legal__toc a span { font-family: var(--sans); font-size: 0.6875rem; letter-spacing: 0.22em; color: var(--accent); }
.legal__toc a:hover { color: var(--gold-deep); }
.prose { max-width: 70ch; min-width: 0; }
.prose h2 { margin-bottom: 0.6em; font-size: clamp(2.2rem, 1.6rem + 2vw, 3.4rem); }
.prose > section + section { margin-top: 96px; padding-top: 80px; border-top: 1px solid var(--rule); }
.details { margin: 0 0 2.4rem; border-top: 1px solid var(--rule); }
.details > div { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 8px 24px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.details dt { padding-top: 5px; font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--text-soft); }
.details dd { margin: 0; font-family: var(--serif); font-size: 1.3rem; color: var(--ink); overflow-wrap: anywhere; }
.details a { text-decoration-color: var(--gold); text-underline-offset: 4px; }
.tbc { font-style: italic; color: var(--gold-deep); }
@media (max-width: 860px) {
  .legal { grid-template-columns: 1fr; }
  .legal__toc { position: static; }
  .details > div { grid-template-columns: 1fr; }
}

/* ---------- Scroll reveal ---------- */
.js .reveal, .js [data-stagger] > * { opacity: 0; }
.js .reveal.is-in, .js [data-stagger] > .is-in { animation: rise 1.3s var(--ease-out) var(--d, 0s) both; }
@keyframes rise {
  from { opacity: 0; transform: translate3d(0, 40px, 0); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js .reveal, .js [data-stagger] > *, .js .load-fade { opacity: 1; transform: none; }
  .js .lines .line > span, .js .hero__img, .js .page-head__img { transform: none; }
  .marquee__track, .seal__spin, .hero__scroll-line::after { animation: none; }
}
