/* ============================================================
   ASHFORD & WHITMORE LLP — Design System
   Type:  Cormorant Garamond (display) · Marcellus (caps/mark)
          Inter (body & UI)
   Palette: warm ink · ivory paper · champagne brass
   ============================================================ */

/* ---------- Fonts (local, subsetted) ---------- */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../assets/fonts/cormorant-garamond.woff2") format("woff2");
  font-weight: 300 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../assets/fonts/cormorant-garamond-italic.woff2") format("woff2");
  font-weight: 300 700; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Marcellus";
  src: url("../assets/fonts/marcellus-regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --ink:      #0d0c0a;
  --ink2:     #13110e;
  --ink3:     #1a1611;
  --black:    #0a0908;
  --paper:    #f4f0e6;
  --paper2:   #ece7d9;
  --ivory:    #efe9db;
  --brass:    #b08d57;
  --brass-l:  #c9ac7d;
  --brass-d:  #8f6c3c;
  --txd:      #efe9db;
  --txd-m:    rgba(239, 233, 219, .62);
  --txd-f:    rgba(239, 233, 219, .34);
  --txl:      #17140f;
  --txl-m:    rgba(23, 20, 15, .64);
  --line-d:   rgba(239, 233, 219, .14);
  --line-l:   rgba(23, 20, 15, .16);
  --err:      #cf8a5f;

  --serif: "Cormorant Garamond", "Didot", "Playfair Display", Georgia, serif;
  --caps:  "Marcellus", "Cormorant Garamond", Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io:  cubic-bezier(.76, 0, .24, 1);
  --pad-x: clamp(1.25rem, 4.5vw, 4.5rem);
  --pad-y: clamp(6rem, 12vw, 9.5rem);
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  background: var(--ink);
  color: var(--txd);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.is-locked { overflow: hidden; }

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
em { font-style: italic; }
time { font-size: inherit; }

::selection { background: var(--brass); color: var(--ink); }

:focus-visible { outline: 1px dashed var(--brass); outline-offset: 4px; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: #3a332a; border-radius: 6px; border: 2px solid var(--ink); }
::-webkit-scrollbar-thumb:hover { background: var(--brass); }

.skip-link {
  position: fixed; top: -100%; left: 1rem; z-index: 500;
  background: var(--ivory); color: var(--ink);
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  padding: .9rem 1.4rem; transition: top .3s;
}
.skip-link:focus { top: 1rem; }

/* ---------- Icons & marks ---------- */
.ico {
  width: 16px; height: 16px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform .4s var(--ease-out);
}
.mark { width: 34px; height: 34px; color: var(--brass); }
.mark__line {
  fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: square;
}
.dia { width: 7px; height: 7px; fill: var(--brass); flex: none; }

/* ---------- Grain ---------- */
.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.4s steps(4) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); }
  50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -2%); }
  100% { transform: translate(3%, 3%); }
}

/* ---------- Layout ---------- */
.container {
  width: 100%; max-width: 1560px; margin-inline: auto; padding-inline: var(--pad-x);
}

.section { padding-block: var(--pad-y); position: relative; }
.section--light { background: var(--paper); color: var(--txl); }
.section--dark  { background: var(--ink2); color: var(--txd); }
.section--light ::selection { background: var(--txl); color: var(--paper); }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 1.1rem;
  font: 500 11px/1 var(--sans); letter-spacing: .34em; text-transform: uppercase;
  color: inherit; opacity: .85;
}
.eyebrow__idx { font-family: var(--caps); letter-spacing: .18em; color: var(--brass); font-weight: 400; opacity: 1; }
.section--light .eyebrow__idx { color: var(--brass-d); }
.eyebrow__line { width: 64px; height: 1px; background: currentColor; opacity: .3; }
.eyebrow--center { justify-content: center; }

.section__head { margin-bottom: clamp(3rem, 6vw, 5.5rem); }
.section__head-grid {
  display: grid; grid-template-columns: 7fr 3fr; gap: 3rem;
  align-items: end; margin-top: clamp(1.6rem, 3vw, 2.6rem);
}
.section__title {
  font-family: var(--serif); font-weight: 330;
  font-size: clamp(2.55rem, 5vw, 4.6rem);
  line-height: 1.05; letter-spacing: -.015em;
}
.section__title em { color: var(--brass-l); font-weight: 340; }
.section--light .section__title em { color: var(--brass-d); }
.section__note {
  font-size: 14px; line-height: 1.75; color: var(--txd-m);
  max-width: 34ch; justify-self: end; padding-bottom: .5rem;
}
.section--light .section__note { color: var(--txl-m); }

/* ---------- Reveal system (JS-gated) ---------- */
.js .reveal {
  opacity: 0; transform: translateY(36px);
  transition: opacity 1s ease calc(var(--i, 0) * .09s),
              transform 1.1s var(--ease-out) calc(var(--i, 0) * .09s);
}
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Buttons & links ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: .9rem;
  padding: 1.2rem 2.7rem; border: 1px solid transparent;
  font: 500 12px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase;
  overflow: hidden; isolation: isolate;
  transition: color .5s ease, border-color .5s ease;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--brass); transform: scaleX(0); transform-origin: left;
  transition: transform .6s var(--ease-io);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); }
.btn:hover .ico { transform: translateX(5px); }
.btn--solid { background: var(--ivory); color: var(--ink); }
.btn--solid:hover { color: var(--ink); }
.btn--ghost { border-color: var(--txd-f); color: var(--txd); }
.btn--ghost::before { background: var(--ivory); }
.btn--ghost:hover { color: var(--ink); border-color: var(--ivory); }
.btn--small { padding: .85rem 1.7rem; letter-spacing: .2em; }

.link-arrow {
  position: relative; display: inline-flex; align-items: center; gap: .8rem;
  font: 500 12px/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase;
  padding-bottom: .55rem;
}
.link-arrow::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: currentColor; opacity: .35;
  transition: opacity .4s;
}
.link-arrow::before {
  content: ""; position: absolute; left: 0; bottom: 0; z-index: 1;
  width: 100%; height: 1px; background: var(--brass);
  transform: scaleX(0); transform-origin: left;
  transition: transform .6s var(--ease-io);
}
.link-arrow:hover::before { transform: scaleX(1); }
.link-arrow:hover .ico { transform: translateX(5px); }

/* ---------- Preloader ---------- */
.preloader {
  display: none; position: fixed; inset: 0; z-index: 300;
  background: var(--ink); align-items: center; justify-content: center;
}
.js .preloader { display: flex; }
.preloader.is-done {
  transform: translateY(-101%);
  transition: transform .95s var(--ease-io) .1s;
}
.preloader__inner { display: flex; flex-direction: column; align-items: center; gap: 1.7rem; }
.mark--pre { width: 66px; height: 66px; }
.mark--pre .mark__line {
  stroke-dasharray: 32; stroke-dashoffset: 32;
  animation: draw 1.4s var(--ease-out) forwards;
}
.mark--pre .mark__line:nth-child(1) { animation-delay: .05s; }
.mark--pre .mark__line:nth-child(2) { animation-delay: .13s; }
.mark--pre .mark__line:nth-child(3) { animation-delay: .21s; }
.mark--pre .mark__line:nth-child(4) { animation-delay: .29s; }
.mark--pre .mark__line:nth-child(5) { animation-delay: .37s; }
.mark--pre .mark__line:nth-child(6) { animation-delay: .45s; }
.mark--pre .mark__line:nth-child(7) { animation-delay: .53s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.preloader__name {
  font-family: var(--caps); font-size: 13px; letter-spacing: .42em;
  text-transform: uppercase; color: var(--txd-m);
  animation: fadeUp 1s ease .4s both;
}
.preloader__bar { width: 180px; height: 1px; background: var(--line-d); }
.preloader__bar span { display: block; height: 100%; width: 0%; background: var(--brass); transition: width .3s ease; }
.preloader__count { font-family: var(--caps); font-size: 11px; letter-spacing: .3em; color: var(--txd-m); animation: fadeUp 1s ease .5s both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Custom cursor ---------- */
.cursor { display: none; }
.js .cursor { display: block; position: fixed; inset: 0; z-index: 400; pointer-events: none; opacity: 0; transition: opacity .5s; }
.js .cursor.is-live { opacity: 1; }
.cursor__dot {
  position: absolute; top: 0; left: 0; width: 5px; height: 5px;
  background: var(--brass); border-radius: 50%;
  transform: translate(-50%, -50%);
}
.cursor__ring {
  position: absolute; top: 0; left: 0; width: 38px; height: 38px;
  border: 1px solid rgba(176, 141, 87, .65); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transform: translate(-50%, -50%);
  transition: width .45s var(--ease-out), height .45s var(--ease-out),
              background-color .45s, border-color .45s;
}
.cursor__ring.is-hover { width: 62px; height: 62px; border-color: rgba(201, 172, 125, .9); }
.cursor__ring.has-label { width: 84px; height: 84px; background: rgba(13, 12, 10, .72); border-color: var(--brass); }
.cursor__label {
  font-family: var(--caps); font-size: 10px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ivory); opacity: 0; transition: opacity .3s; transform: translateY(1px);
}
.has-label .cursor__label { opacity: 1; }
html.has-cursor, html.has-cursor * { cursor: none !important; }
html.has-cursor input, html.has-cursor textarea { cursor: text !important; }
html.has-cursor select, html.has-cursor option { cursor: default !important; }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: transform .55s var(--ease-out), background-color .4s ease,
              border-color .4s ease, backdrop-filter .4s ease;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(13, 12, 10, .78);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom-color: rgba(239, 233, 219, .08);
}
.header.is-hidden { transform: translateY(-101%); }
.header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  max-width: 1560px; margin-inline: auto;
  padding: 1.35rem var(--pad-x);
  transition: padding .4s ease;
}
.header.is-scrolled .header__inner { padding-block: .95rem; }

.brand { display: inline-flex; align-items: center; gap: .9rem; }
.brand .mark { width: 30px; height: 30px; transition: transform .6s var(--ease-out); }
.brand:hover .mark { transform: rotate(90deg); }
.brand__text { display: flex; flex-direction: column; gap: .28rem; }
.brand__name { font-family: var(--caps); font-size: 14.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--txd); }
.brand__sub { font: 500 8.5px/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--txd-m); }

.nav { display: flex; align-items: center; gap: 2.4rem; }
.nav__link {
  font: 500 11.5px/1.2 var(--sans); letter-spacing: .22em; text-transform: uppercase;
  color: var(--txd-m); overflow: hidden; display: inline-block;
  transition: color .35s;
}
.nav__link span { display: block; position: relative; transition: transform .5s var(--ease-out); }
.nav__link span::after { content: attr(data-text); position: absolute; top: 100%; left: 0; color: var(--brass-l); }
.nav__link:hover { color: var(--txd); }
.nav__link:hover span { transform: translateY(-100%); }

.header__actions { display: flex; align-items: center; gap: 1.4rem; }

.burger {
  display: none; width: 40px; height: 40px; position: relative; z-index: 130;
  align-items: center; justify-content: center; flex-direction: column; gap: 7px;
}
.burger span {
  display: block; width: 24px; height: 1.5px; background: var(--txd);
  transition: transform .45s var(--ease-out), opacity .3s;
}
.burger.is-open span:nth-child(1) { transform: translateY(4.25px) rotate(45deg); }
.burger.is-open span:nth-child(2) { transform: translateY(-4.25px) rotate(-45deg); }

/* ---------- Full-screen menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 120; background: var(--ink);
  transform: translateY(-102%); transition: transform .8s var(--ease-io);
  display: flex; flex-direction: column; justify-content: center;
  visibility: hidden;
}
.menu.is-open { transform: none; visibility: visible; }
.menu__inner {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: end;
  width: 100%; max-width: 1560px; margin-inline: auto; padding: 7rem var(--pad-x) 4rem;
  height: 100%; align-content: center;
}
.menu__nav { display: flex; flex-direction: column; gap: .4rem; }
.menu__link {
  display: flex; align-items: baseline; gap: 1.4rem; padding: .55rem 0;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.2rem, 5.4vw, 4.2rem); line-height: 1.12; color: var(--txd);
}
.menu__idx { font-family: var(--caps); font-size: 12px; letter-spacing: .24em; color: var(--brass); flex: none; }
.menu__mask { display: block; overflow: hidden; }
.menu__mask span { display: block; transform: translateY(115%); transition: transform .8s var(--ease-out); }
.menu.is-open .menu__mask span { transform: none; }
.menu__link:nth-child(1) .menu__mask span { transition-delay: .30s; }
.menu__link:nth-child(2) .menu__mask span { transition-delay: .36s; }
.menu__link:nth-child(3) .menu__mask span { transition-delay: .42s; }
.menu__link:nth-child(4) .menu__mask span { transition-delay: .48s; }
.menu__link:nth-child(5) .menu__mask span { transition-delay: .54s; }
.menu__link:nth-child(6) .menu__mask span { transition-delay: .60s; }
.menu__link:hover { font-style: italic; color: var(--brass-l); }
.menu__meta { display: flex; flex-direction: column; gap: .9rem; padding-bottom: .8rem; }
.menu__label { font: 500 10.5px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--txd-f); }
.menu__label--offices { margin-top: 1.6rem; color: var(--txd-m); }
.menu__contact { font-family: var(--serif); font-size: 1.5rem; color: var(--txd); transition: color .3s; width: fit-content; }
.menu__contact:hover { color: var(--brass-l); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden; background: var(--ink);
}
.hero__media { position: absolute; inset: 0; }
.hero__media img {
  position: absolute; inset: -8% 0; height: 116%;
  transform: scale(1.06);
  will-change: transform;
}
.hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 12, 10, .52) 0%, rgba(13, 12, 10, 0) 55%),
    linear-gradient(180deg, rgba(13, 12, 10, .58) 0%, rgba(13, 12, 10, .18) 38%, rgba(13, 12, 10, .82) 78%, var(--ink) 100%);
}
.hero__content { position: relative; z-index: 2; padding-top: 9rem; }
.hero__eyebrow { color: var(--txd-m); margin-bottom: clamp(1.8rem, 3vh, 2.6rem); }
.hero__title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(3.1rem, 8.6vw, 7.6rem);
  line-height: 1.02; letter-spacing: -.018em;
}
.hero__title em { color: var(--brass-l); font-weight: 330; }
.mask { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.js .mask__in {
  display: block; transform: translateY(114%);
  transition: transform 1.3s var(--ease-out) calc(.15s + var(--i, 0) * .14s);
}
.js body.hero-in .mask__in, .js .hero-in .mask__in { transform: none; }
.hero__lede {
  margin-top: clamp(1.6rem, 3vh, 2.4rem); max-width: 47ch;
  font-size: clamp(15px, 1.25vw, 17px); line-height: 1.8; color: var(--txd-m);
}
.hero__cta { display: flex; align-items: center; gap: 2.4rem; flex-wrap: wrap; margin-top: clamp(2rem, 4vh, 3.2rem); }
.hero__more { color: var(--txd); }
.js .hero-fade {
  opacity: 0; transform: translateY(26px);
  transition: opacity 1.1s ease calc(.5s + var(--i, 0) * .13s),
              transform 1.2s var(--ease-out) calc(.5s + var(--i, 0) * .13s);
}
.js .hero-in .hero-fade { opacity: 1; transform: none; }

.hero__meta {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
  border-top: 1px solid var(--line-d);
  padding-block: 1.7rem 2.1rem; margin-top: clamp(2.5rem, 6vh, 4.5rem);
}
.hero__meta-item { font-family: var(--serif); font-size: clamp(1.3rem, 1.8vw, 1.7rem); letter-spacing: .01em; }
.hero__meta-item span {
  display: block; font-family: var(--caps); font-size: 9.5px;
  letter-spacing: .3em; text-transform: uppercase; color: var(--txd-f); margin-bottom: .45rem;
}
.hero__scroll {
  position: absolute; z-index: 3; right: var(--pad-x); bottom: 9.5rem;
  display: flex; flex-direction: column; align-items: center; gap: .9rem;
  font-family: var(--caps); font-size: 9.5px; letter-spacing: .34em; text-transform: uppercase;
  color: var(--txd-m); writing-mode: vertical-rl;
}
.hero__scroll i {
  width: 1px; height: 64px; background: var(--line-d); position: relative; overflow: hidden; display: block;
}
.hero__scroll i::after {
  content: ""; position: absolute; top: -50%; left: 0; width: 100%; height: 50%;
  background: var(--brass); animation: scrollcue 2.2s var(--ease-io) infinite;
}
@keyframes scrollcue { 0% { top: -50%; } 60%, 100% { top: 110%; } }
.hero__side {
  position: absolute; z-index: 3; top: 50%; right: calc(var(--pad-x) - 6px);
  transform: translateY(-50%); writing-mode: vertical-rl;
  font-family: var(--caps); font-size: 10px; letter-spacing: .44em;
  text-transform: uppercase; color: var(--txd-f);
}

/* ---------- Marquee ---------- */
.marquee {
  background: var(--paper); color: var(--txl-m);
  border-block: 1px solid var(--line-l);
  overflow: hidden; padding-block: 1.05rem; position: relative; z-index: 2;
}
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group {
  display: flex; align-items: center; gap: 2.6rem; padding-right: 2.6rem;
  font-family: var(--caps); font-size: 12px; letter-spacing: .24em; text-transform: uppercase;
  white-space: nowrap;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 01 Firm ---------- */
.firm__grid {
  display: grid; grid-template-columns: 1.02fr .98fr;
  gap: clamp(3rem, 6vw, 6.5rem); align-items: start;
}
.firm__copy p { font-size: 15.5px; line-height: 1.85; color: var(--txl-m); max-width: 58ch; }
.firm__copy p + p { margin-top: 1.6rem; }
.dropcap::first-letter {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 4.6em; float: left; line-height: .78;
  padding: .06em .14em 0 0; color: var(--brass-d);
}
.firm__media { position: relative; }
.firm__media::before {
  content: ""; position: absolute; inset: 0;
  border: 1px solid var(--brass); opacity: .5;
  transform: translate(16px, 16px); pointer-events: none;
}
.firm__media img { aspect-ratio: 4 / 4.6; }
.firm__media figcaption {
  display: flex; flex-direction: column; gap: .35rem;
  margin-top: 1.4rem; padding-top: 1.1rem; border-top: 1px solid var(--line-l);
  font-size: 12.5px; color: var(--txl-m); letter-spacing: .04em;
}
.firm__media figcaption span {
  font-family: var(--caps); font-size: 10px; letter-spacing: .3em;
  text-transform: uppercase; color: var(--brass-d);
}
.firm__facts {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem;
  margin-top: clamp(3.5rem, 7vw, 6rem);
}
.fact { border-top: 1px solid var(--line-l); padding-top: 1.3rem; }
.fact__k { display: block; font-family: var(--caps); font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: var(--txl-m); }
.fact__v { display: block; font-family: var(--serif); font-size: 1.25rem; margin-top: .6rem; line-height: 1.35; }
.firm__quote {
  margin: clamp(4.5rem, 9vw, 8rem) auto 0; max-width: 48rem; text-align: center;
}
.fir-quote-mark { width: 46px; height: auto; fill: var(--brass); opacity: .75; margin-bottom: 1.8rem; }
.firm__quote p {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.65rem, 3vw, 2.5rem); line-height: 1.32; color: var(--txl);
}
.firm__quote p em { color: var(--brass-d); }
.firm__quote cite {
  display: block; margin-top: 2.2rem; font-style: normal;
  font-family: var(--caps); font-size: 11px; letter-spacing: .26em;
  text-transform: uppercase; color: var(--txl-m);
}

/* ---------- 02 Outcomes ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem; }
.stat { border-top: 1px solid var(--line-d); padding-top: 1.5rem; }
.stat__num {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(3.1rem, 4.6vw, 4.6rem); line-height: 1; display: flex; align-items: baseline;
}
.stat__unit { font-size: .5em; font-style: italic; color: var(--brass-l); margin-left: .1em; }
.stat__cap { margin-top: .9rem; font-size: 12.5px; line-height: 1.7; color: var(--txd-m); max-width: 24ch; }

.mandates { margin-top: clamp(4rem, 8vw, 6.5rem); border-top: 1px solid var(--line-d); }
.mandates__head {
  display: grid; grid-template-columns: 90px 1fr 190px;
  padding: 1.1rem 0; border-bottom: 1px solid var(--line-d);
  font: 500 10px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--txd-f);
}
.mandate {
  display: grid; grid-template-columns: 90px 1fr 190px; align-items: baseline;
  padding: 1.8rem 0; border-bottom: 1px solid var(--line-d);
  transition: background-color .4s ease;
}
.mandate__year { font-family: var(--caps); font-size: 12px; letter-spacing: .16em; color: var(--brass); }
.mandate__matter {
  font-family: var(--serif); font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  font-weight: 340; line-height: 1.4; padding-right: 3rem;
  transition: transform .5s var(--ease-out), color .4s;
}
.mandate:hover .mandate__matter { transform: translateX(10px); color: var(--brass-l); }
.mandates__footnote { margin-top: 1.6rem; font-size: 12px; font-style: italic; color: var(--txd-f); }

.chip {
  justify-self: end; width: fit-content; white-space: nowrap;
  padding: .55em 1.1em; border: 1px solid rgba(176, 141, 87, .5); border-radius: 999px;
  font: 500 10px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--brass-l);
}
.chip--light { border-color: var(--line-l); color: var(--txl-m); }

/* ---------- 03 Practices ---------- */
.practices { border-bottom: 1px solid var(--line-l); }
.practice__row {
  display: grid; grid-template-columns: 76px minmax(280px, auto) 1fr 56px;
  align-items: baseline; gap: 2rem;
  padding: 2.4rem 0; border-top: 1px solid var(--line-l);
}
.practice__index { font-family: var(--caps); font-size: 12px; letter-spacing: .2em; color: var(--brass-d); transition: transform .5s var(--ease-out); }
.practice__name {
  font-family: var(--serif); font-weight: 350;
  font-size: clamp(1.85rem, 3.2vw, 2.9rem); line-height: 1.1; letter-spacing: -.01em;
  transition: transform .6s var(--ease-out), color .4s ease;
}
.practice__desc {
  font-size: 13.5px; line-height: 1.65; color: var(--txl-m); max-width: 36ch;
  justify-self: end; transition: opacity .4s;
}
.practice__arrow {
  width: 52px; height: 52px; border: 1px solid var(--line-l); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; justify-self: end; align-self: center;
  transition: background-color .5s ease, border-color .5s ease;
}
.practice__arrow .ico { width: 17px; height: 17px; transition: transform .5s var(--ease-out), color .3s; }
.practice__row:hover .practice__name { transform: translateX(18px); font-style: italic; }
.practice__row:hover .practice__index { transform: translateX(6px); }
.practice__row:hover .practice__arrow { background: var(--txl); border-color: var(--txl); }
.practice__row:hover .practice__arrow .ico { color: var(--paper); transform: rotate(-45deg); }

.practice-preview {
  position: fixed; top: 0; left: 0; z-index: 40; pointer-events: none;
  width: min(320px, 23vw); aspect-ratio: 4 / 5; overflow: hidden;
  opacity: 0; transform-origin: center;
  box-shadow: 0 40px 80px -20px rgba(10, 9, 8, .55);
  border: 1px solid rgba(239, 233, 219, .28);
  transition: opacity .45s ease;
}
.practice-preview.is-on { opacity: 1; }
.pp__img { position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease; }
.pp__img.is-front { opacity: 1; }

/* ---------- 04 People ---------- */
.people__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.6rem, 2.5vw, 2.8rem);
}
.person__media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink3); }
.person__media img {
  filter: grayscale(1) contrast(1.05); transform: scale(1.002);
  transition: filter .8s ease, transform .9s var(--ease-out);
}
.person:hover .person__media img { filter: grayscale(.1) contrast(1.02); transform: scale(1.05); }
.person__meta { padding-top: 1.35rem; border-top: 1px solid transparent; }
.person__name { font-family: var(--serif); font-weight: 350; font-size: 1.5rem; line-height: 1.2; }
.person__role {
  margin-top: .6rem; font-family: var(--caps); font-size: 10px;
  letter-spacing: .24em; text-transform: uppercase; color: var(--brass-l);
}
.person__creds { margin-top: .7rem; font-size: 12px; line-height: 1.7; color: var(--txd-m); }
.people__cta {
  margin-top: clamp(3.5rem, 6vw, 5rem); font-size: 14.5px; color: var(--txd-m);
  display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap;
}

/* ---------- Voices ---------- */
.voices { border-top: 1px solid var(--line-d); margin-top: clamp(5rem, 9vw, 8rem); padding-top: clamp(4rem, 8vw, 6.5rem); text-align: center; }
.voices__stage { display: grid; margin-top: 3.2rem; }
.voice {
  grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(18px);
  transition: opacity .8s ease, transform .8s var(--ease-out), visibility 0s .8s;
}
.voice.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: .1s, .1s, 0s; }
.voice p {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(1.5rem, 2.7vw, 2.35rem); line-height: 1.42;
  max-width: 42ch; margin-inline: auto;
}
.voice cite {
  display: block; margin-top: 2rem; font-style: normal;
  font-family: var(--caps); font-size: 10.5px; letter-spacing: .26em;
  text-transform: uppercase; color: var(--txd-m);
}
.voices__controls { display: flex; align-items: center; justify-content: center; gap: 1.6rem; margin-top: 3.4rem; }
.voices__btn {
  width: 48px; height: 48px; border: 1px solid var(--line-d); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background-color .45s, color .45s, border-color .45s;
}
.voices__btn:hover { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.voices__idx { font-family: var(--caps); font-size: 10.5px; letter-spacing: .3em; color: var(--txd-m); min-width: 9ch; }

/* ---------- 05 Insights ---------- */
.insights__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
}
.insight {
  position: relative; border-top: 1px solid var(--txl);
  padding-top: 2rem; display: flex; flex-direction: column;
  transition: background-color .4s ease;
}
.insight__orn {
  position: absolute; top: 1.7rem; right: 0; width: 40px; height: 40px;
  stroke: var(--brass); stroke-width: 1.5; fill: none; opacity: .45;
  transition: opacity .5s, transform .6s var(--ease-out);
}
.insight:hover .insight__orn { opacity: 1; transform: translateY(-5px); }
.insight__kicker {
  font: 500 10.5px/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--txl-m);
}
.insight__title {
  margin-top: 1.3rem; font-family: var(--serif); font-weight: 350;
  font-size: clamp(1.4rem, 1.7vw, 1.7rem); line-height: 1.28; letter-spacing: -.005em;
  transition: font-style .2s;
}
.insight:hover .insight__title { font-style: italic; }
.insight__excerpt { margin-top: 1.1rem; font-size: 13.5px; line-height: 1.75; color: var(--txl-m); }
.insight__meta { display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.insight__meta time { font-family: var(--caps); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--txl-m); }
.insight__link { margin-top: 1.8rem; color: var(--txl); width: fit-content; }
.insights__note { margin-top: clamp(3rem, 6vw, 4.5rem); font-size: 14px; color: var(--txl-m); display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; }
.insights__note .link-arrow { color: var(--txl); }

/* ---------- CTA band ---------- */
.cta {
  position: relative; background: var(--ink);
  padding-block: clamp(6.5rem, 12vw, 10.5rem); text-align: center; overflow: hidden;
}
.cta::before, .cta::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%);
  width: min(680px, 70%); height: 1px;
  background: linear-gradient(90deg, transparent, rgba(176, 141, 87, .7), transparent);
}
.cta::before { top: 0; } .cta::after { bottom: 0; }
.cta__mark { width: 42px; height: 42px; margin: 0 auto 2.4rem; }
.cta__title {
  font-family: var(--serif); font-weight: 320;
  font-size: clamp(2.2rem, 4.6vw, 4.2rem); line-height: 1.14; letter-spacing: -.01em;
}
.cta__title em { color: var(--brass-l); }
.cta__row {
  margin-top: 3.2rem; display: flex; align-items: center; justify-content: center;
  gap: 2.6rem; flex-wrap: wrap;
}
.cta__phone {
  font-family: var(--caps); font-size: 13px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--txd); border-bottom: 1px solid var(--txd-f); padding-bottom: .5rem;
  transition: color .35s, border-color .35s;
}
.cta__phone span { color: var(--txd-m); text-transform: none; letter-spacing: .06em; font-family: var(--sans); font-size: 12px; }
.cta__phone:hover { color: var(--brass-l); border-color: var(--brass); }

/* ---------- 06 Contact ---------- */
.contact__grid {
  display: grid; grid-template-columns: 7fr 5fr;
  gap: clamp(3rem, 6vw, 6rem); align-items: start;
}
.contact__aside {
  border-left: 1px solid var(--line-d); padding-left: clamp(2rem, 4vw, 4rem);
}
.office { margin-bottom: 2.8rem; }
.office:last-child { margin-bottom: 0; }
.office__label {
  font-family: var(--caps); font-size: 10px; letter-spacing: .3em;
  text-transform: uppercase; color: var(--brass-l); margin-bottom: 1rem;
}
.office__big { font-family: var(--serif); font-size: 1.35rem; line-height: 1.5; }
.office__big a { transition: color .3s; }
.office__big a:hover { color: var(--brass-l); }
.office__small { font-size: 13px; line-height: 1.75; color: var(--txd-m); }
.office--row { display: flex; gap: 3rem; border-top: 1px solid var(--line-d); padding-top: 2.6rem; }

/* Form */
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 2.2rem; }
.field { margin-bottom: 2.1rem; position: relative; }
.field label {
  display: block; margin-bottom: .85rem;
  font: 500 10.5px/1.4 var(--sans); letter-spacing: .24em; text-transform: uppercase;
  color: var(--txd-m);
}
.field label i { color: var(--brass-l); font-style: normal; }
.field input, .field textarea, .field select {
  width: 100%; background: transparent; border: 0; border-radius: 0;
  border-bottom: 1px solid rgba(239, 233, 219, .24);
  color: var(--txd); font: 400 15px/1.6 var(--sans);
  padding: .85rem 0; transition: border-color .35s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--txd-f); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-bottom-color: var(--brass);
}
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 2rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23b08d57' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .2rem center;
}
.field select option { color: var(--txl); background: var(--paper); }
.field textarea { resize: vertical; min-height: 120px; }
.field__err {
  position: absolute; left: 0; top: 100%; margin-top: .5rem;
  font-size: 11.5px; letter-spacing: .04em; color: var(--err);
  opacity: 0; transform: translateY(-4px); transition: opacity .3s, transform .3s;
  pointer-events: none;
}
.field.is-error .field__err { opacity: 1; transform: none; }
.field.is-error input, .field.is-error textarea { border-bottom-color: var(--err); }
.field--consent { margin-top: 2.6rem; }
.consent { display: flex; align-items: flex-start; gap: 1.1rem; cursor: pointer; }
.consent input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.consent__box {
  flex: none; width: 20px; height: 20px; margin-top: 2px;
  border: 1px solid rgba(239, 233, 219, .35); display: flex; align-items: center; justify-content: center;
  transition: border-color .3s, background-color .3s;
}
.consent__box svg { width: 12px; height: 12px; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .4s var(--ease-out) .05s; }
.consent input:checked + .consent__box { background: var(--brass); border-color: var(--brass); }
.consent input:checked + .consent__box svg { stroke-dashoffset: 0; }
.consent input:focus-visible + .consent__box { outline: 1px dashed var(--brass); outline-offset: 4px; }
.consent__text { font-size: 12.5px; line-height: 1.7; color: var(--txd-m); }
.form__submit { margin-top: 2.4rem; }
.form__submit.is-sending { opacity: .65; pointer-events: none; }

.form__success {
  border: 1px solid var(--line-d); padding: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}
.form__check { width: 60px; height: 60px; margin: 0 auto 2rem; }
.form__check circle {
  fill: none; stroke: var(--brass); stroke-width: 1.5;
  stroke-dasharray: 190; stroke-dashoffset: 190; animation: draw 1.1s var(--ease-out) forwards;
}
.form__check path {
  fill: none; stroke: var(--brass-l); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .7s var(--ease-out) .7s forwards;
}
.form__success-title { font-family: var(--serif); font-weight: 350; font-size: 1.9rem; }
.form__success p { margin-top: 1.2rem; font-size: 14px; line-height: 1.8; color: var(--txd-m); max-width: 46ch; margin-inline: auto; }
.form__ref {
  font-family: var(--caps); letter-spacing: .12em; color: var(--brass-l);
  border: 1px solid rgba(176, 141, 87, .5); padding: .35em .8em; white-space: nowrap;
}
.form__success-alt a { color: var(--txd); border-bottom: 1px solid var(--txd-f); transition: color .3s, border-color .3s; }
.form__success-alt a:hover { color: var(--brass-l); border-color: var(--brass); }

/* ---------- Footer ---------- */
.footer { position: relative; background: var(--black); overflow: hidden; padding-top: clamp(4.5rem, 8vw, 7rem); }
.footer__top {
  display: flex; justify-content: space-between; gap: 4rem; flex-wrap: wrap;
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
.brand--footer .brand__sub { letter-spacing: .24em; }
.footer__cols { display: flex; gap: clamp(3rem, 6vw, 6.5rem); flex-wrap: wrap; }
.footer__col { display: flex; flex-direction: column; }
.footer__head {
  font-family: var(--caps); font-size: 10px; letter-spacing: .3em;
  text-transform: uppercase; color: var(--brass-l); margin-bottom: 1.5rem;
}
.footer__col a {
  padding-block: .4rem; font-size: 13.5px; color: var(--txd-m);
  transition: color .3s, transform .4s var(--ease-out);
}
.footer__col a:hover { color: var(--txd); transform: translateX(7px); }
.footer__legal {
  border-top: 1px solid var(--line-d); padding-block: 2.2rem;
  display: flex; flex-direction: column; gap: .7rem;
}
.footer__legal p { font-size: 11px; line-height: 1.75; color: var(--txd-f); letter-spacing: .03em; }
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 2.4rem;
}
.totop {
  width: 50px; height: 50px; border: 1px solid var(--line-d); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background-color .45s, color .45s, border-color .45s;
}
.totop:hover { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.footer__sig { font-family: var(--caps); font-size: 10px; letter-spacing: .36em; text-transform: uppercase; color: var(--txd-m); }
.footer__watermark {
  font-family: var(--caps); text-transform: uppercase; white-space: nowrap;
  font-size: clamp(4rem, 10.4vw, 11rem); line-height: .78;
  text-align: center; color: rgba(239, 233, 219, .04);
  transform: translateY(22%); user-select: none; pointer-events: none;
  letter-spacing: .04em;
}

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .hero__side { display: none; }
  .nav { gap: 1.7rem; }
}
@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: flex; }
  .people__grid { grid-template-columns: repeat(2, 1fr); gap: 3rem 2rem; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 3rem; }
  .firm__facts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .section__head-grid { grid-template-columns: 1fr; align-items: start; gap: 1.6rem; }
  .section__note { justify-self: start; }
  .firm__grid { grid-template-columns: 1fr; }
  .firm__media { max-width: 560px; }
  .contact__grid { grid-template-columns: 1fr; }
  .contact__aside { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-d); padding-top: 3rem; }
  .practice__row { grid-template-columns: 44px 1fr 52px; grid-template-areas: "idx name arrow" "idx desc arrow"; row-gap: .9rem; }
  .practice__index { grid-area: idx; }
  .practice__name { grid-area: name; }
  .practice__desc { grid-area: desc; justify-self: start; }
  .practice__arrow { grid-area: arrow; }
  .practice-preview { display: none; }
  .insights__grid { grid-template-columns: 1fr; max-width: 620px; }
  .menu__inner { grid-template-columns: 1fr; align-content: center; gap: 3.5rem; }
}
@media (max-width: 640px) {
  :root { --pad-y: 5rem; }
  .header__inner { padding-block: 1rem; }
  .brand__sub { display: none; }
  .brand__name { font-size: 12.5px; }
  .header__actions .btn { display: none; }
  .hero__content { padding-top: 7.5rem; }
  .hero__meta { grid-template-columns: repeat(2, 1fr); row-gap: 1.6rem; }
  .hero__scroll { display: none; }
  .stats { grid-template-columns: 1fr; }
  .firm__facts { grid-template-columns: 1fr; gap: 0; }
  .fact { padding-block: 1.2rem; }
  .fact + .fact { border-top: 0; padding-top: .4rem; }
  .fact:first-child { border-top: 1px solid var(--line-l); }
  .mandates__head { display: none; }
  .mandate { grid-template-columns: 1fr; gap: .7rem; padding: 1.6rem 0; }
  .mandate__matter { padding-right: 0; }
  .chip { justify-self: start; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .people__grid { grid-template-columns: 1fr; max-width: 420px; }
  .office--row { flex-direction: column; gap: 2rem; }
  .cta__phone span { display: block; margin-top: .6rem; }
  .btn { padding: 1.1rem 2rem; }
  .hero__cta .btn { width: 100%; justify-content: center; }
  .footer__top { flex-direction: column; gap: 3rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .grain, .marquee__track { animation: none; }
  .js .reveal, .js .hero-fade { opacity: 1; transform: none; }
  .js .mask__in { transform: none; }
  .js .preloader { display: none; }
}
