/* =========================================================
   TOKENS
   ========================================================= */
:root {
  --navy: #0B1F3F;
  --navy-deep: #06142C;
  --navy-mid: #16346A;
  --gold: #D9B44A;
  --gold-bright: #E8C766;
  --gold-ink: #8A6A14;
  --ink: #1B2740;
  --muted: #55627A;
  --line: #DDE2EA;
  --tint: #F3F5F9;
  --white: #FFFFFF;

  --serif: 'Plus Jakarta Sans', 'Public Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --sans: 'Public Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  --wrap: 1320px;
  --header-h: 84px;
}

/* =========================================================
   BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}
img { max-width: 100%; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, dl, dd, figure { margin: 0; }
p { text-align: justify; text-justify: inter-word; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; color: var(--navy); line-height: 1.15; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
[tabindex="-1"]:focus { outline: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }

:focus-visible { outline: 3px solid var(--navy-mid); outline-offset: 3px; }
.hero :focus-visible, .page-hero :focus-visible, .site-footer :focus-visible, .band-navy :focus-visible { outline-color: var(--gold); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 3000;
  background: var(--gold); color: var(--navy-deep); padding: 10px 16px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.icon { width: 1.1em; height: 1.1em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px;
  font: 700 0.95rem/1 var(--serif);
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1.5px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn--gold { background: var(--gold); color: var(--navy-deep); }
.btn--gold:hover { background: var(--gold-bright); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-mid); }
.btn--ghost-light { color: var(--white); border-color: rgba(255,255,255,.55); }
.btn--ghost-light:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn--ghost-navy { color: var(--navy); border-color: var(--navy); }
.btn--ghost-navy:hover { background: var(--navy); color: var(--white); }
.btn--sm { padding: 12px 20px; font-size: 0.9rem; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }

.brand {
  display: inline-flex; align-items: center; gap: 14px; text-decoration: none;
  --mark-bg: var(--navy); --mark-line: var(--gold); --mark-fg: var(--gold);
}
.brand-mark { width: 44px; height: 50px; flex: none; }
.brand-words { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font: 700 1.45rem/1.05 var(--serif); color: var(--navy); letter-spacing: 0.005em; text-transform: uppercase; }
.brand-sub { font: 500 0.78rem/1.3 var(--sans); color: var(--muted); margin-top: 4px; text-align: justify; text-align-last: justify; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a.nav-link {
  position: relative; padding: 8px 0;
  font-size: 0.95rem; font-weight: 500; color: var(--navy); text-decoration: none;
}
.nav a.nav-link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav a.nav-link:hover::after, .nav a.nav-link[aria-current="page"]::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 22px; }
.header-phone { display: none; align-items: center; gap: 8px; font-weight: 600; font-size: 0.95rem; color: var(--navy); text-decoration: none; white-space: nowrap; }
.header-phone .icon { color: var(--gold-ink); }
.header-phone:hover { text-decoration: underline; text-underline-offset: 4px; }

.menu-btn {
  display: none; align-items: center; justify-content: center;
  width: 46px; height: 46px; background: transparent; color: var(--navy);
  border: 1.5px solid var(--line); border-radius: 2px; cursor: pointer;
}
.menu-btn .icon { width: 24px; height: 24px; }
.menu-btn .i-close { display: none; }
.site-header.is-open .menu-btn .i-open { display: none; }
.site-header.is-open .menu-btn .i-close { display: block; }

/* =========================================================
   HERO (fading slider)
   ========================================================= */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy-deep); color: var(--white);
  height: clamp(540px, calc(100vh - var(--header-h)), 780px);
}
.hero-bgs { position: absolute; inset: 0; }
.hero-bg {
  position: absolute; inset: 0;
  background-color: var(--navy-deep);
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.07);
  transition: opacity 1.4s ease, transform 9s ease-out;
}
.hero-bg.is-active { opacity: 1; transform: scale(1); }
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(6,20,44,.94) 0%, rgba(6,20,44,.78) 42%, rgba(6,20,44,.38) 100%);
}
.hero-content { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-bottom: 40px; }
.hero-copy { display: grid; max-width: 760px; }
.hero-slide {
  grid-area: 1 / 1;
  opacity: 0; transform: translateY(14px); visibility: hidden;
  transition: opacity .9s ease, transform .9s ease, visibility 0s linear .9s;
}
.hero-slide.is-active { opacity: 1; transform: none; visibility: visible; transition-delay: .35s, .35s, 0s; }
.hero-slide h1, .hero-slide h2 {
  color: var(--white);
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
  font-weight: 500; line-height: 1.08; letter-spacing: -0.012em;
}
.hero-slide p { margin-top: 22px; max-width: 560px; font-size: 1.15rem; color: #D5DDEB; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 38px; }

.hero-controls { position: absolute; right: 28px; bottom: 32px; display: flex; align-items: center; gap: 22px; }
.hero-dots { display: flex; gap: 10px; }
.hero-dot {
  width: 34px; height: 24px; padding: 0; background: transparent; border: 0; cursor: pointer; position: relative;
}
.hero-dot::before { content: ''; position: absolute; left: 0; right: 0; top: 11px; height: 3px; background: rgba(255,255,255,.4); transition: background-color .3s ease; }
.hero-dot[aria-current="true"]::before { background: var(--gold); }
.hero-arrows { display: flex; gap: 8px; }
.hero-arrow {
  width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(6,20,44,.5); color: var(--white); border: 1.5px solid rgba(255,255,255,.5); border-radius: 2px; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.hero-arrow:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }
.hero-arrow .icon { width: 22px; height: 22px; }

/* =========================================================
   SECTIONS
   ========================================================= */
.section { padding: clamp(60px, 8vw, 104px) 0; }
.section--tint { background: var(--tint); }
.h-section { font-size: clamp(1.9rem, 3.3vw, 2.8rem); font-weight: 600; letter-spacing: -0.008em; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.prose-block p + p { margin-top: 1.1em; }
.prose-block p { color: var(--muted); }

/* home: intro */
.intro { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.intro .lede { margin-top: 22px; }
.intro .btn { margin-top: 32px; }
.facts { border-top: 2px solid var(--navy); }
.facts > div { padding: 22px 0; border-bottom: 1px solid var(--line); }
.facts dt { font: 600 1.25rem/1.25 var(--serif); color: var(--navy); }
.facts dd { margin-top: 6px; color: var(--muted); font-size: 0.98rem; }

/* home: area index */
.area-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--navy); text-decoration: none;
  border-bottom: 2px solid var(--gold); padding-bottom: 3px;
}
.text-link:hover { color: var(--gold-ink); }
.area-index { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; border-top: 2px solid var(--navy); }
.area-index a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 4px; border-bottom: 1px solid var(--line);
  font: 500 1.35rem/1.25 var(--serif); color: var(--navy); text-decoration: none;
  transition: padding-left .2s ease, color .2s ease;
}
.area-index a .icon { color: var(--gold-ink); }
.area-index a:hover { padding-left: 14px; color: var(--navy-mid); }

/* bands */
.band-navy { background: var(--navy); color: var(--white); }
.band-navy h2 { color: var(--white); }
.band-navy p { color: #C9D3E5; }
.lawyer-band { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(24px, 4vw, 56px); align-items: center; }
.monogram {
  width: 132px; height: 132px; display: grid; place-items: center;
  border: 2px solid var(--gold); color: var(--gold);
  font: 500 2.6rem/1 var(--serif); letter-spacing: 0.04em;
}
.lawyer-band h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 500; }
.lawyer-band p { margin-top: 10px; max-width: 60ch; }
.cred-line { margin-top: 6px; color: var(--gold) !important; font-weight: 600; font-size: 0.98rem; }

.band-gold { background: var(--gold); color: var(--navy-deep); }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 500; color: var(--navy-deep); max-width: 22ch; }
.cta-band p { margin-top: 12px; max-width: 58ch; color: #2A2A1E; }

/* =========================================================
   INNER PAGE HERO
   ========================================================= */
.page-hero { background: var(--navy); color: var(--white); padding: clamp(56px, 7vw, 92px) 0 clamp(48px, 6vw, 76px); border-bottom: 4px solid var(--gold); }
.page-hero h1 { color: var(--white); font-size: clamp(2.3rem, 4.8vw, 3.8rem); font-weight: 600; letter-spacing: -0.01em; }
.page-hero p { margin-top: 18px; max-width: 62ch; font-size: 1.15rem; color: #CBD5E6; }

/* =========================================================
   PRACTICE AREAS PAGE
   ========================================================= */
.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.area { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); }
.area-media { aspect-ratio: 3 / 2; overflow: hidden; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%); position: relative; }
.area-media::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, transparent 0 22px, rgba(217,180,74,.12) 22px 23px);
}
.area-media img { position: relative; width: 100%; height: 100%; object-fit: cover; display: block; }
.area-body { display: flex; flex-direction: column; flex: 1; padding: 28px 28px 30px; }
.area h2 { font-size: 1.6rem; font-weight: 600; }
.area-note {
  display: inline-block; align-self: flex-start; margin-top: 14px;
  padding: 6px 12px; border: 1px solid var(--gold); background: rgba(217,180,74,.14);
  font-size: 0.82rem; font-weight: 600; color: var(--navy);
}
.area ul { margin: 18px 0 26px; }
.area li { padding: 9px 0; border-top: 1px solid var(--line); font-size: 0.95rem; color: var(--muted); }
.area .btn { margin-top: auto; align-self: flex-start; }

.area--cta { background: var(--navy); border-color: var(--navy); justify-content: center; }
.area--cta .area-body { justify-content: center; padding: 40px; }
.area--cta h2 { color: var(--white); font-size: 1.9rem; font-weight: 500; }
.area--cta p { margin-top: 14px; color: #C9D3E5; max-width: 44ch; }
.area--cta .btn { margin-top: 28px; }

/* =========================================================
   ABOUT / TEAM
   ========================================================= */
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 6vw, 84px); align-items: center; }
.split--top { align-items: start; }
.photo { position: relative; aspect-ratio: 4 / 5; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%); overflow: hidden; }
.photo::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, transparent 0 22px, rgba(217,180,74,.12) 22px 23px); }
.photo img { position: relative; width: 100%; height: 100%; object-fit: cover; display: block; }
.split h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 600; }
.split .prose-block { margin-top: 22px; }

.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--navy); margin-top: 44px; }
.principles > div { padding: 28px 32px 8px 0; }
.principles > div + div { padding-left: 32px; border-left: 1px solid var(--line); }
.principles h3 { font-size: 1.4rem; font-weight: 600; }
.principles p { margin-top: 10px; color: var(--muted); font-size: 0.98rem; }

.offices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; }
.office { padding: 28px; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--gold); }
.office h3 { font-size: 1.3rem; }
.office p { margin-top: 10px; color: var(--muted); font-size: 0.98rem; }

.member { display: grid; grid-template-columns: 340px 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.member + .member { margin-top: 72px; padding-top: 72px; border-top: 1px solid var(--line); }
.member-portrait { aspect-ratio: 4 / 5; display: grid; place-items: center; background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%); border-bottom: 4px solid var(--gold); }
.member-portrait span { font: 500 4.4rem/1 var(--serif); color: var(--gold); letter-spacing: 0.05em; }
.member h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); font-weight: 600; }
.member-role { margin-top: 10px; font: 700 1.15rem/1.3 var(--serif); color: var(--gold-ink); }
.member-creds { margin-top: 4px; font-size: 0.95rem; color: var(--muted); font-weight: 500; }
.member .prose-block { margin-top: 26px; max-width: 68ch; }
.member .btn { margin-top: 32px; }

/* =========================================================
   FAQ
   ========================================================= */
.faq-tools { display: grid; gap: 22px; margin-bottom: 48px; }
.faq-search { position: relative; max-width: 560px; }
.faq-search .icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.faq-search input {
  width: 100%; padding: 15px 18px 15px 46px; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--white); border: 1.5px solid var(--line); border-radius: 2px;
}
.faq-search input:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 3px rgba(22,52,106,.18); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 9px 16px; font: 600 0.88rem/1 var(--sans); color: var(--navy);
  background: var(--white); border: 1.5px solid var(--line); border-radius: 2px; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.chip:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

.faq-groups { max-width: 880px; }
.faq-group { scroll-margin-top: calc(var(--header-h) + 20px); }
.faq-group + .faq-group { margin-top: 56px; }
.faq-group h2 { font-size: 1.8rem; font-weight: 600; padding-bottom: 12px; border-bottom: 2px solid var(--navy); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 22px 48px 22px 0;
  font-weight: 600; font-size: 1.05rem; color: var(--navy);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before, .faq-item summary::after {
  content: ''; position: absolute; right: 8px; top: 50%; width: 16px; height: 2px; background: var(--gold-ink);
  transition: transform .25s ease;
}
.faq-item summary::after { transform: rotate(90deg); }
.faq-item[open] summary::after { transform: rotate(0); }
.faq-item .answer { padding: 0 48px 24px 0; color: var(--muted); max-width: 70ch; }
.faq-empty { padding: 32px 0; color: var(--muted); }

/* =========================================================
   INSIGHTS
   ========================================================= */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--navy); padding: 30px 28px; }
.post-topic { font-weight: 600; font-size: 0.9rem; color: var(--gold-ink); }
.post h2 { margin-top: 10px; font-size: 1.5rem; font-weight: 600; }
.post p { margin-top: 14px; color: var(--muted); font-size: 0.98rem; }
.soon { margin-top: auto; padding-top: 22px; font-weight: 600; font-size: 0.9rem; color: var(--muted); }

/* =========================================================
   BOOK APPOINTMENT
   ========================================================= */
.assure {
  display: flex; gap: 14px; align-items: flex-start; margin-bottom: 40px;
  padding: 20px 24px; background: rgba(217,180,74,.14); border-left: 4px solid var(--gold);
  font-size: 1.05rem; color: var(--navy); font-weight: 500; max-width: 900px;
}
.book-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 36px; align-items: start; }
.calendar-card { background: var(--white); border: 1px solid var(--line); }
.calendar-card iframe { display: block; width: 100%; height: 720px; border: 0; }
.calendar-fallback { padding: 16px 22px; border-top: 1px solid var(--line); font-size: 0.92rem; color: var(--muted); background: var(--tint); }
.calendar-fallback a { color: var(--navy); font-weight: 600; }
.book-side { display: grid; gap: 28px; }
.side-card { padding: 28px; background: var(--tint); border-top: 3px solid var(--navy); }
.side-card h2 { font-size: 1.4rem; }
.side-card ul { margin-top: 18px; display: grid; gap: 16px; }
.side-card li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 0.98rem; }
.side-card li .icon { margin-top: 5px; color: var(--gold-ink); }
.side-card li strong { display: block; color: var(--navy); font-weight: 600; }
.side-card li a { text-decoration: none; }
.side-card li a:hover { text-decoration: underline; text-underline-offset: 3px; }
.side-card p { margin-top: 14px; color: var(--muted); font-size: 0.95rem; }
.fine { margin-top: 28px; font-size: 0.9rem; color: var(--muted); max-width: 900px; }
.fine a { color: var(--navy); font-weight: 600; }

/* =========================================================
   LEGAL PAGES
   ========================================================= */
.legal { max-width: 800px; }
.legal .updated { color: var(--muted); font-size: 0.95rem; margin-bottom: 28px; }
.legal h2 { margin-top: 44px; font-size: 1.55rem; font-weight: 600; }
.legal h2:first-of-type { margin-top: 0; }
.legal p { margin-top: 14px; color: var(--ink); }
.legal ul { margin-top: 14px; padding-left: 1.2em; list-style: disc; }
.legal li { margin-top: 8px; padding-left: 4px; color: var(--ink); }
.legal li::marker { color: var(--gold-ink); }
.legal a { color: var(--navy); font-weight: 600; }

/* =========================================================
   CREDENTIALS + FOOTER
   ========================================================= */
.creds { background: var(--tint); border-top: 1px solid var(--line); padding: 40px 0; }
.creds .wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.creds h2 { font: 600 1.1rem/1.3 var(--sans); color: var(--muted); }
.creds ul { display: flex; flex-wrap: wrap; gap: 14px; }
.creds li {
  padding: 12px 22px; background: var(--white); border: 1px solid var(--line);
  font: 600 1.05rem/1 var(--serif); color: var(--navy); letter-spacing: 0.03em;
}

.site-footer { background: var(--navy-deep); color: #B9C4D8; }
.footer-main { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; padding: 72px 0 56px; }
.site-footer .brand { --mark-bg: transparent; --mark-line: var(--gold); --mark-fg: var(--gold); }
.site-footer .brand-name { color: var(--white); }
.site-footer .brand-sub { color: #93A1BC; }
.footer-blurb { margin-top: 22px; font-size: 0.95rem; max-width: 40ch; }
.site-footer h3 { font: 600 1.15rem/1.2 var(--serif); color: var(--white); margin-bottom: 20px; }
.footer-list { display: grid; gap: 11px; font-size: 0.95rem; }
.footer-list a { text-decoration: none; }
.footer-list a:hover { color: var(--gold); text-decoration: underline; text-underline-offset: 4px; }
.footer-contact { display: grid; gap: 16px; font-size: 0.95rem; }
.footer-contact small { display: block; color: #93A1BC; font-size: 0.82rem; }
.footer-contact a { color: var(--white); text-decoration: none; font-weight: 600; }
.footer-contact a:hover { color: var(--gold); }
.footer-contact .btn { margin-top: 6px; align-self: start; justify-self: start; }
.footer-hours strong { display: block; color: var(--white); font-size: 1.05rem; font-weight: 600; }
.footer-hours p + p { margin-top: 14px; }
.footer-hours { font-size: 0.95rem; }

.disclaimer { border-top: 1px solid rgba(255,255,255,.12); padding: 34px 0; font-size: 0.85rem; line-height: 1.7; color: #93A1BC; }
.disclaimer strong { color: #D5DDEB; }
.disclaimer p { max-width: 118ch; }
.footer-base { border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0 28px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.85rem; color: #93A1BC; }
.footer-base nav { display: flex; gap: 24px; }
.footer-base a { text-decoration: none; }
.footer-base a:hover { color: var(--gold); text-decoration: underline; text-underline-offset: 4px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1240px) {
  :root { --header-h: 76px; }
  .menu-btn { display: inline-flex; }
  .header-actions .btn { display: none; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(6,20,44,.12);
    padding: 8px 28px 24px; display: none;
  }
  .site-header.is-open .nav { display: flex; }
  .nav a.nav-link { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav a.nav-link::after { display: none; }
  .nav a.nav-link[aria-current="page"] { color: var(--gold-ink); }
  .nav .nav-book { margin-top: 20px; }
}
@media (min-width: 1241px) {
  .nav .nav-book, .nav .nav-phone { display: none; }
}
@media (min-width: 1500px) {
  .header-phone { display: inline-flex; }
}
@media (min-width: 1041px) { .area--cta { grid-column: span 2; } }
@media (max-width: 1040px) {
  .areas { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .lawyer-band { grid-template-columns: auto 1fr; }
  .lawyer-band .btn { grid-column: 1 / -1; justify-self: start; }
}
@media (min-width: 1041px) { .area--cta { grid-column: span 2; } }
@media (max-width: 900px) {
  .intro, .split, .book-grid, .member { grid-template-columns: 1fr; }
  .member-portrait { max-width: 320px; aspect-ratio: 1 / 1; }
  .photo { aspect-ratio: 3 / 2; }
  .principles, .offices, .posts { grid-template-columns: 1fr; }
  .principles > div, .principles > div + div { padding: 24px 0 8px; border-left: 0; }
  .principles > div + div { border-top: 1px solid var(--line); }
  .area-index { grid-template-columns: 1fr; }
  .calendar-card iframe { height: 680px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .brand-mark { width: 38px; height: 43px; }
  .brand-name { font-size: 1.2rem; }
  .brand-sub { font-size: 0.72rem; }
  .areas { grid-template-columns: 1fr; }
  .area--cta { grid-column: auto; }
  .footer-main { grid-template-columns: 1fr; gap: 40px; padding-top: 56px; }
  .hero-controls { right: 20px; bottom: 22px; gap: 14px; }
  .hero-dot { width: 22px; }
  .hero-content { padding-bottom: 84px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .lawyer-band { grid-template-columns: 1fr; }
  .monogram { width: 96px; height: 96px; font-size: 2rem; }
  .creds .wrap { flex-direction: column; align-items: flex-start; }
  .nav { padding-left: 20px; padding-right: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; animation: none !important; }
  .hero-bg { transform: none; }
}

/* ---------- Team portrait photo ---------- */
.member-portrait { position: relative; overflow: hidden; }
.member-portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }

/* ---------- About: mission, values, why ---------- */
.eyebrow { display: block; margin-bottom: 14px; font: 800 0.8rem/1 var(--serif); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-ink); }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.mv-card { padding: 36px; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--gold); }
.mv-card p { font-size: 1.1rem; color: var(--ink); }
.values { margin-top: 36px; border-top: 2px solid var(--navy); }
.values li { display: flex; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.value-mark { color: var(--gold-ink); font-size: 0.9rem; line-height: 2.2; flex: none; }
.values h3, .why h3 { font-size: 1.3rem; }
.values p, .why p { margin-top: 8px; color: var(--muted); max-width: 80ch; }
.why { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.why li { display: flex; gap: 20px; padding: 28px; background: var(--white); border: 1px solid var(--line); }
.why-num { flex: none; width: 44px; height: 44px; display: grid; place-items: center; background: var(--navy); color: var(--gold); font: 800 1.15rem/1 var(--serif); border-radius: 50%; }

/* ---------- Contact form ---------- */
.contact-form { display: grid; gap: 22px; align-content: start; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field label { display: block; margin-bottom: 8px; font: 700 0.92rem/1.2 var(--serif); color: var(--navy); }
.field input, .field textarea, .field select { width: 100%; padding: 14px 16px; font: 400 1rem/1.4 var(--sans); color: var(--ink); background: var(--white); border: 1.5px solid #B9C2D2; border-radius: 2px; }
.field select { appearance: auto; }
.field textarea { resize: vertical; min-height: 160px; }
.field input:focus, .field textarea:focus { outline: 3px solid var(--navy-mid); outline-offset: 1px; border-color: var(--navy); }
.field .is-invalid { border-color: #B3261E; }
.form-note { font-size: 0.9rem; color: var(--muted); }
.contact-form .btn { justify-self: start; }
.form-status { font-weight: 600; }
.form-status.ok { color: #1E6B3A; }
.form-status.err { color: #B3261E; }
@media (max-width: 900px) { .mv-grid, .why, .field-row { grid-template-columns: 1fr; } }

/* =========================================================
   CONSENT MODAL
   ========================================================= */
.consent-overlay {
  position: fixed; inset: 0; z-index: 4000;
  display: flex; align-items: center; justify-content: center;
  background: rgba(6, 20, 44, 0.72);
  padding: 20px;
}
.consent-box {
  background: var(--white); max-width: 480px; width: 100%;
  padding: 32px; border-radius: 2px; border-top: 4px solid var(--gold);
  box-shadow: 0 20px 60px rgba(6, 20, 44, 0.35);
}
.consent-box h2 { font-size: 1.4rem; margin-bottom: 14px; }
.consent-box p { text-align: left; color: var(--muted); }
.consent-box a { color: var(--navy-mid); font-weight: 600; text-decoration: underline; }
.consent-actions { margin-top: 22px; display: flex; justify-content: flex-end; }
