/* =============================================================
   Pemberton Hale — Solicitors, City of London (est. 1924)
   Design: navy + antique gold + a thread of burgundy.
   Type: Libre Caslon Display (heritage serif) + Libre Franklin.
   ============================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Palette */
  --navy:        #111B2E;
  --navy-deep:   #0B1220;
  --navy-800:    #17243B;
  --navy-700:    #1E2E49;
  --gold:        #BE9A4E;
  --gold-bright: #D8BC7E;
  --gold-soft:   #E7D6AE;
  --burgundy:    #6E2532;
  --burgundy-lt: #8A3341;

  --paper:       #F7F3EA;  /* warm heritage cream */
  --ivory:       #FCFAF4;
  --sand:        #EFE8D8;

  --ink:         #16203A;
  --ink-soft:    #45506A;
  --ink-mute:    #6C7488;

  --line:        rgba(17, 27, 46, 0.14);
  --line-soft:   rgba(17, 27, 46, 0.08);
  --gold-line:   rgba(190, 154, 78, 0.45);

  /* Type */
  --serif: "Libre Caslon Display", "Times New Roman", Georgia, serif;
  --sans:  "Libre Franklin", "Helvetica Neue", Arial, sans-serif;

  /* Metrics */
  --wrap: 1200px;
  --gut: clamp(20px, 5vw, 64px);
  --radius: 3px;

  --shadow-sm: 0 1px 2px rgba(11,18,32,.06), 0 8px 24px rgba(11,18,32,.06);
  --shadow-md: 0 18px 48px rgba(11,18,32,.14);
  --shadow-lg: 0 40px 90px rgba(11,18,32,.28);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- Accessibility ---------- */
.skip-link {
  position: fixed; top: -80px; left: 16px; z-index: 200;
  background: var(--navy); color: var(--gold-bright);
  padding: 12px 20px; border: 1px solid var(--gold);
  font: 600 13px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.wrap-wide { max-width: 1400px; }
.section { padding-block: clamp(64px, 9vw, 128px); position: relative; }
.center { text-align: center; }

.eyebrow {
  font: 600 12px/1 var(--sans);
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: ""; width: 28px; height: 1px; background: var(--gold);
  display: inline-block;
}
.eyebrow.center-mark { justify-content: center; }
.eyebrow.center-mark::after {
  content: ""; width: 28px; height: 1px; background: var(--gold); display: inline-block;
}

.display {
  font-family: var(--serif);
  line-height: 1.04;
  letter-spacing: -0.01em;
  font-size: clamp(2.1rem, 5.2vw, 3.6rem);
}
.display--xl { font-size: clamp(2.6rem, 7.2vw, 5.4rem); }
.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  color: var(--ink-soft);
  max-width: 62ch;
  line-height: 1.7;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 30px;
  font: 600 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid transparent; border-radius: var(--radius);
  transition: transform .35s var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
  position: relative;
}
.btn:active { transform: translateY(1px); }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn--gold { background: var(--gold); color: var(--navy-deep); }
.btn--gold:hover { background: var(--gold-bright); }
.btn--ghost { border-color: var(--gold-line); color: var(--gold-bright); }
.btn--ghost:hover { border-color: var(--gold); background: rgba(190,154,78,.10); }
.btn--ink { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ink:hover { border-color: var(--ink); background: var(--navy); color: var(--ivory); }

.textlink {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 13px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase;
  color: var(--burgundy);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--gold-line);
  transition: gap .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.textlink:hover { gap: 16px; border-color: var(--burgundy); }
.on-dark .textlink { color: var(--gold-bright); }
.on-dark .textlink:hover { color: #fff; }

/* =============================================================
   HEADER
   ============================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 18, 32, 0.0);
  transition: background .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-solid {
  background: rgba(11, 18, 32, 0.94);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom-color: rgba(190,154,78,.22);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; height: 78px;
}
/* Brand / monogram */
.brand { display: inline-flex; align-items: center; gap: 14px; color: var(--ivory); }
.brand__mark {
  width: 42px; height: 42px; flex: none;
  display: grid; place-items: center;
  border: 1px solid var(--gold); border-radius: 50%;
  color: var(--gold-bright);
  font-family: var(--serif); font-size: 18px; letter-spacing: .02em;
  transition: transform .5s var(--ease);
}
.brand:hover .brand__mark { transform: rotate(-6deg); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--serif); font-size: 20px; letter-spacing: .04em; color: var(--ivory);
}
.brand__sub {
  font: 600 9.5px/1 var(--sans); letter-spacing: .34em; text-transform: uppercase;
  color: var(--gold); margin-top: 6px;
}

/* Nav links */
.nav__links { display: flex; align-items: center; gap: 32px; }
.nav__link {
  position: relative; color: rgba(252,250,244,.82);
  font: 600 12.5px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 0;
  transition: color .3s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0;
  background: var(--gold); transition: width .35s var(--ease);
}
.nav__link:hover, .nav__link:focus-visible { color: var(--ivory); }
.nav__link:hover::after { width: 100%; }

.nav__cta { display: inline-flex; }
.nav__actions { display: flex; align-items: center; gap: 18px; }

/* Burger */
.burger {
  display: none; width: 46px; height: 46px;
  background: transparent; border: 1px solid rgba(190,154,78,.4); border-radius: 4px;
  position: relative;
}
.burger span {
  position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--gold-bright);
  transition: transform .35s var(--ease), opacity .25s var(--ease); top: 50%;
}
.burger span:nth-child(1) { transform: translateY(-6px); }
.burger span:nth-child(3) { transform: translateY(6px); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg); }

/* Mobile panel */
.mobile-nav {
  position: fixed; inset: 0 0 0 auto; width: min(88vw, 380px);
  background: var(--navy-deep);
  border-left: 1px solid rgba(190,154,78,.28);
  transform: translateX(100%); transition: transform .45s var(--ease);
  z-index: 130; padding: 96px 32px 40px;
  display: flex; flex-direction: column; gap: 6px;
  overflow-y: auto;
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav a.m-link {
  color: var(--ivory); font-family: var(--serif); font-size: 26px;
  padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08);
  display: flex; justify-content: space-between; align-items: baseline;
}
.mobile-nav a.m-link .m-num {
  font-family: var(--sans); font-size: 11px; letter-spacing: .2em; color: var(--gold);
}
.mobile-nav .btn { margin-top: 24px; justify-content: center; }
.nav-scrim {
  position: fixed; inset: 0; background: rgba(6,10,18,.6); backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s; z-index: 120;
}
.nav-scrim.is-open { opacity: 1; visibility: visible; }
body.nav-lock { overflow: hidden; }

/* =============================================================
   HERO
   ============================================================= */
.hero {
  position: relative; background: var(--navy-deep); color: var(--ivory);
  overflow: hidden; isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,18,32,.62) 0%, rgba(11,18,32,.55) 40%, rgba(11,18,32,.82) 100%),
    linear-gradient(100deg, rgba(11,18,32,.86) 0%, rgba(11,18,32,.35) 58%, rgba(11,18,32,.18) 100%);
}
.hero__grid {
  position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none;
  background-image:
    linear-gradient(rgba(190,154,78,.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(190,154,78,.10) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(120% 80% at 20% 20%, #000 20%, transparent 80%);
}
.hero__inner {
  min-height: min(92vh, 860px);
  display: flex; flex-direction: column; justify-content: center;
  padding-block: clamp(120px, 18vh, 200px) clamp(56px, 9vh, 96px);
}
.hero__est {
  font: 600 12px/1 var(--sans); letter-spacing: .34em; text-transform: uppercase;
  color: var(--gold); display: flex; align-items: center; gap: 14px; margin-bottom: 30px;
}
.hero__est::before, .hero__est::after { content: ""; height: 1px; width: 40px; background: var(--gold-line); }
.hero__est::after { flex: 1; max-width: 140px; }
.hero h1 {
  font-family: var(--serif); line-height: 1.0; letter-spacing: -0.015em;
  font-size: clamp(2.7rem, 8vw, 6rem);
  max-width: 16ch;
}
.hero h1 em { font-style: italic; color: var(--gold-bright); }
.hero__sub {
  margin-top: 30px; max-width: 52ch; font-size: clamp(1.05rem, 1.7vw, 1.32rem);
  color: rgba(252,250,244,.86); line-height: 1.7;
}
.hero__cta { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

/* Hero footer meta strip */
.hero__meta {
  border-top: 1px solid rgba(190,154,78,.24);
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; padding-top: 34px; margin-top: clamp(48px, 8vh, 84px);
}
.hero__meta div span {
  display: block; font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.2rem); color: var(--gold-bright);
}
.hero__meta div small {
  display: block; margin-top: 6px; font-size: 11.5px; letter-spacing: .16em;
  text-transform: uppercase; color: rgba(252,250,244,.62);
}

/* =============================================================
   MARQUEE / CREDENTIALS RAIL
   ============================================================= */
.rail {
  background: var(--navy); color: var(--gold-soft);
  border-bottom: 1px solid rgba(190,154,78,.16);
  overflow: hidden;
}
.rail__track {
  display: flex; gap: 56px; padding: 18px 0; white-space: nowrap;
  animation: marquee 42s linear infinite;
}
.rail__track span {
  font: 600 12px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 56px;
}
.rail__track span::after { content: "◆"; color: var(--gold); font-size: 8px; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .rail__track { animation: none; justify-content: center; flex-wrap: wrap; white-space: normal; } }

/* =============================================================
   INTRO / STATEMENT
   ============================================================= */
.statement { background: var(--paper); }
.statement__grid {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 7vw, 96px); align-items: start;
}
.statement__lead {
  font-family: var(--serif); font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1.32;
  letter-spacing: -0.01em; color: var(--ink);
}
.statement__lead b { color: var(--burgundy); font-weight: 400; font-style: italic; }
.statement__body p + p { margin-top: 20px; }
.statement__body { color: var(--ink-soft); }
.statement__sig { margin-top: 30px; display: flex; align-items: center; gap: 16px; }
.statement__sig .name { font-family: var(--serif); font-size: 20px; color: var(--ink); }
.statement__sig .role { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); }
.statement__sig .rule { width: 40px; height: 1px; background: var(--gold); }

/* =============================================================
   PRACTICE GROUPS — ledger index
   ============================================================= */
.practice { background: var(--ivory); border-top: 1px solid var(--line-soft); }
.section-head {
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end;
  margin-bottom: clamp(40px, 6vw, 68px);
}
.section-head p.sub { color: var(--ink-soft); max-width: 46ch; margin-top: 16px; }
.section-head .display { margin-top: 18px; }

.ledger { border-top: 1px solid var(--line); }
.ledger__row {
  display: grid; grid-template-columns: 64px 1fr 1.3fr auto;
  gap: clamp(16px, 3vw, 40px); align-items: center;
  padding: clamp(20px, 3vw, 30px) 8px;
  border-bottom: 1px solid var(--line);
  position: relative; transition: background .4s var(--ease), padding-left .4s var(--ease);
}
.ledger__row::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: var(--gold); transform: scaleY(0); transform-origin: top; transition: transform .4s var(--ease);
}
.ledger__row:hover { background: linear-gradient(90deg, rgba(190,154,78,.06), transparent 70%); padding-left: 18px; }
.ledger__row:hover::before { transform: scaleY(1); }
.ledger__num { font-family: var(--serif); font-size: 20px; color: var(--gold); }
.ledger__title { font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 1.85rem); color: var(--ink); letter-spacing: -0.01em; }
.ledger__desc { color: var(--ink-soft); font-size: 15.5px; }
.ledger__cta { color: var(--burgundy); font-size: 22px; opacity: .5; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.ledger__row:hover .ledger__cta { opacity: 1; transform: translateX(4px); }

/* =============================================================
   STORY / HERITAGE
   ============================================================= */
.story { background: var(--navy); color: var(--ivory); position: relative; overflow: hidden; }
.story::before {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image:
    linear-gradient(rgba(190,154,78,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(190,154,78,.06) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: radial-gradient(90% 80% at 80% 10%, #000, transparent 75%);
}
.story__grid {
  display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(40px, 6vw, 88px); align-items: center;
  position: relative;
}
.story__figure { position: relative; }
.story__figure img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius);
  border: 1px solid rgba(190,154,78,.35);
}
.story__figure::after {
  content: ""; position: absolute; inset: 14px; border: 1px solid rgba(190,154,78,.4); pointer-events: none;
  border-radius: var(--radius);
}
.story__badge {
  position: absolute; right: -18px; bottom: -22px;
  width: 128px; height: 128px; border-radius: 50%;
  background: var(--burgundy); color: var(--gold-soft);
  display: grid; place-content: center; text-align: center;
  border: 1px solid var(--gold); box-shadow: var(--shadow-md);
}
.story__badge b { display: block; font-family: var(--serif); font-size: 30px; color: var(--gold-bright); line-height: 1; }
.story__badge small { font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; margin-top: 8px; display: block; }
.story h2 { color: var(--ivory); }
.story .lede { color: rgba(252,250,244,.82); margin-top: 20px; }

/* Timeline */
.timeline { margin-top: 40px; border-left: 1px solid rgba(190,154,78,.3); }
.timeline li { position: relative; padding: 0 0 26px 30px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -5px; top: 6px; width: 9px; height: 9px;
  background: var(--gold); border-radius: 50%; box-shadow: 0 0 0 4px rgba(190,154,78,.15);
}
.timeline .yr { font-family: var(--serif); color: var(--gold-bright); font-size: 20px; margin-right: 12px; }
.timeline .ev { color: rgba(252,250,244,.8); font-size: 15.5px; }

/* =============================================================
   APPROACH
   ============================================================= */
.approach { background: var(--paper); }
.approach__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(40px, 6vw, 84px); align-items: center; }
.approach__figure img { width: 100%; aspect-ratio: 5/4; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.principles { margin-top: 34px; display: grid; gap: 4px; }
.principle {
  display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start;
  padding: 22px 4px; border-top: 1px solid var(--line);
}
.principle:last-child { border-bottom: 1px solid var(--line); }
.principle__k { font-family: var(--serif); font-size: 18px; color: var(--gold); }
.principle h3 { font-family: var(--serif); font-size: 1.32rem; color: var(--ink); margin-bottom: 6px; }
.principle p { color: var(--ink-soft); font-size: 15px; }

/* =============================================================
   COUNSEL / PARTNERS
   ============================================================= */
.counsel { background: var(--ivory); border-top: 1px solid var(--line-soft); }
.counsel__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 8px;
}
.partner {
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 30px 26px; position: relative; overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.partner::before {
  content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--burgundy));
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.partner:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--gold-line); }
.partner:hover::before { transform: scaleX(1); }
.partner__mono {
  width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid var(--gold); color: var(--gold);
  display: grid; place-content: center; font-family: var(--serif); font-size: 20px;
  margin-bottom: 22px; background: var(--ivory);
}
.partner h3 { font-family: var(--serif); font-size: 1.4rem; color: var(--ink); }
.partner .p-role { color: var(--burgundy); font: 600 11.5px/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; margin-top: 8px; }
.partner .p-bio { color: var(--ink-soft); font-size: 14.5px; margin-top: 14px; }

/* =============================================================
   STATS BAND
   ============================================================= */
.band { background: var(--navy-deep); color: var(--ivory); position: relative; overflow: hidden; }
.band__inner {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center;
  position: relative;
}
.band__inner > div { position: relative; padding: 8px 12px; }
.band__inner > div:not(:last-child)::after {
  content: ""; position: absolute; right: 0; top: 20%; bottom: 20%; width: 1px; background: rgba(190,154,78,.3);
}
.band .stat-n { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.6rem); color: var(--gold-bright); line-height: 1; }
.band .stat-l { margin-top: 12px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: rgba(252,250,244,.66); }

/* =============================================================
   OFFICES
   ============================================================= */
.offices { background: var(--paper); }
.offices__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 8px; }
.office {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--ivory);
  padding: 30px 28px; position: relative; transition: border-color .4s var(--ease), transform .4s var(--ease);
}
.office:hover { border-color: var(--gold-line); transform: translateY(-4px); }
.office .flagmark { font-family: var(--serif); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.office h3 { font-family: var(--serif); font-size: 1.7rem; color: var(--ink); margin: 10px 0 4px; }
.office .role { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--burgundy); }
.office address { font-style: normal; color: var(--ink-soft); font-size: 15px; margin-top: 18px; line-height: 1.7; }
.office .office__link { margin-top: 18px; display: inline-flex; }

/* =============================================================
   CTA
   ============================================================= */
.cta { background: var(--navy); color: var(--ivory); position: relative; overflow: hidden; }
.cta__media { position: absolute; inset: 0; z-index: 0; opacity: .16; }
.cta__media img { width: 100%; height: 100%; object-fit: cover; }
.cta__inner { position: relative; z-index: 1; text-align: center; max-width: 760px; margin-inline: auto; }
.cta h2 { color: var(--ivory); margin-top: 18px; }
.cta p { color: rgba(252,250,244,.82); margin: 20px auto 34px; max-width: 56ch; }
.cta__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* =============================================================
   FOOTER
   ============================================================= */
.site-footer { background: var(--navy-deep); color: rgba(252,250,244,.72); }
.footer__top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px;
  padding-block: clamp(56px, 8vw, 88px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer__brand .brand { color: var(--ivory); margin-bottom: 20px; }
.footer__brand p { max-width: 34ch; font-size: 14.5px; }
.footer__social { display: flex; gap: 12px; margin-top: 22px; }
.footer__social a {
  width: 40px; height: 40px; border: 1px solid rgba(190,154,78,.35); border-radius: 50%;
  display: grid; place-content: center; color: var(--gold-soft);
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.footer__social a:hover { background: var(--gold); color: var(--navy-deep); border-color: var(--gold); }
.footer__col h4 {
  font: 600 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 18px;
}
.footer__col ul li { margin-bottom: 12px; }
.footer__col a { font-size: 14.5px; transition: color .25s var(--ease); }
.footer__col a:hover { color: var(--gold-bright); }
.footer__col address { font-style: normal; font-size: 14.5px; line-height: 1.8; }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  padding-block: 26px; font-size: 13px;
}
.footer__bottom a { color: var(--gold-soft); border-bottom: 1px solid transparent; }
.footer__bottom a:hover { border-color: var(--gold-line); }
.footer__credit { color: rgba(252,250,244,.6); }

/* =============================================================
   CONTACT PAGE
   ============================================================= */
.page-hero {
  background: var(--navy-deep); color: var(--ivory); position: relative; overflow: hidden;
  padding-block: clamp(120px, 16vh, 190px) clamp(56px, 8vh, 92px);
}
.page-hero__media { position: absolute; inset: 0; z-index: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.page-hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,18,32,.7), rgba(11,18,32,.9)),
              linear-gradient(100deg, rgba(11,18,32,.85), rgba(11,18,32,.4));
}
.page-hero__inner { position: relative; z-index: 1; max-width: 720px; }
.page-hero h1 { font-family: var(--serif); font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: 1.05; margin-top: 22px; }
.page-hero p { color: rgba(252,250,244,.84); margin-top: 20px; max-width: 54ch; font-size: 1.1rem; }

.contact-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 6vw, 72px); align-items: start;
}
/* Aside */
.contact-aside .info-block { padding: 26px 0; border-top: 1px solid var(--line); }
.contact-aside .info-block:first-of-type { border-top: none; padding-top: 0; }
.contact-aside .info-block h3 {
  font: 600 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 14px;
}
.contact-aside .big-line { font-family: var(--serif); font-size: 1.55rem; color: var(--ink); }
.contact-aside .big-line a:hover { color: var(--burgundy); }
.contact-aside address { font-style: normal; color: var(--ink-soft); line-height: 1.8; }
.contact-aside .muted { color: var(--ink-mute); font-size: 14px; margin-top: 6px; }
.direct-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.direct-actions .btn { justify-content: center; }
.btn--wa { background: #1f7a4d; color: #fff; }
.btn--wa:hover { background: #218a56; }

/* Form */
.form-card {
  background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow-sm);
}
.form-card h2 { font-family: var(--serif); font-size: 1.9rem; color: var(--ink); margin-bottom: 6px; }
.form-card > p.form-intro { color: var(--ink-soft); margin-bottom: 28px; font-size: 15px; }
.field { margin-bottom: 22px; }
.field label {
  display: block; font: 600 12px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 9px;
}
.field label .req { color: var(--burgundy); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px; transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
.field textarea { resize: vertical; min-height: 140px; }
.field select { appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23BE9A4E' stroke-width='2'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); background: var(--ivory);
  box-shadow: 0 0 0 3px rgba(190,154,78,.16);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-mute); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-consent { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 24px; font-size: 13.5px; color: var(--ink-soft); }
.form-consent input { margin-top: 3px; accent-color: var(--burgundy); width: 16px; height: 16px; flex: none; }
.form-note { font-size: 13px; color: var(--ink-mute); margin-top: 18px; text-align: center; }
.form-card .btn--gold.submit { width: 100%; justify-content: center; padding-block: 17px; }
.btn.is-loading { opacity: .7; pointer-events: none; }

/* =============================================================
   THANK YOU
   ============================================================= */
.thankyou {
  min-height: 100vh; display: grid; place-items: center; text-align: center;
  background: var(--navy-deep); color: var(--ivory); position: relative; overflow: hidden;
  padding: 40px var(--gut);
}
.thankyou::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image:
    linear-gradient(rgba(190,154,78,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(190,154,78,.07) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(80% 70% at 50% 30%, #000, transparent 75%);
}
.thankyou__inner { position: relative; z-index: 1; max-width: 620px; }
.thankyou__seal {
  width: 96px; height: 96px; margin: 0 auto 34px; border-radius: 50%;
  border: 1px solid var(--gold); display: grid; place-content: center;
  color: var(--gold-bright); box-shadow: 0 0 0 8px rgba(190,154,78,.08);
  animation: sealIn .8s var(--ease) both;
}
@keyframes sealIn { from { transform: scale(.7); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.thankyou h1 { font-family: var(--serif); font-size: clamp(2.2rem, 6vw, 3.6rem); line-height: 1.05; }
.thankyou h1 em { color: var(--gold-bright); font-style: italic; }
.thankyou p { color: rgba(252,250,244,.82); margin: 22px auto 36px; max-width: 48ch; font-size: 1.08rem; }
.thankyou .brand__mark { margin-inline: auto; }
@media (prefers-reduced-motion: reduce) { .thankyou__seal { animation: none; } }

/* =============================================================
   SCROLL REVEAL
   ============================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 1080px) {
  .counsel__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .burger { display: block; }
  .statement__grid { grid-template-columns: 1fr; gap: 32px; }
  .story__grid { grid-template-columns: 1fr; }
  .story__figure { max-width: 440px; }
  .approach__grid { grid-template-columns: 1fr; }
  .offices__grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero__meta { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
  .band__inner { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
  .band__inner > div:nth-child(2)::after { display: none; }
}
@media (max-width: 720px) {
  .section-head { grid-template-columns: 1fr; }
  .section-head .head-cta { justify-self: start; }
  .ledger__row { grid-template-columns: 44px 1fr; grid-template-areas: "num title" "num desc"; gap: 4px 16px; }
  .ledger__num { grid-area: num; align-self: start; }
  .ledger__title { grid-area: title; }
  .ledger__desc { grid-area: desc; }
  .ledger__cta { display: none; }
  .field-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .counsel__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .band__inner { grid-template-columns: 1fr; }
  .band__inner > div::after { display: none !important; }
  .band__inner > div:not(:last-child) { border-bottom: 1px solid rgba(190,154,78,.2); padding-bottom: 30px; }
  .story__badge { width: 104px; height: 104px; right: -8px; }
}
