/* =========================================================
   S&S Legis LLP – v2 design
   Brand: Roboto Slab (headings) + Inter (body), navy · gold · cream · blush
   ========================================================= */

@font-face { font-family: 'Roboto Slab'; src: url('/fonts/roboto-slab.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/fonts/inter.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --ink: #0f1a36;
  --navy: #1b2c58;
  --navy-2: #24386b;
  --gold: #a88a52;
  --gold-btn: #a88a52;
  --gold-light: #c9ab72;
  --gold-pale: #e9dcc0;
  --cream: #f7f3ee;
  --paper: #fcfaf7;
  --blush: #f6e6df;
  --blush-deep: #e8c7be;
  --line: #e6ded2;
  --text: #4f5563;
  --muted: #858a96;
  --white: #fff;

  --font-head: 'Roboto Slab', Rockwell, Georgia, serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;

  --header-h: 96px;
  --container: 1280px;
  --pad-x: 40px;
  --section-y: clamp(88px, 8vw, 128px);
  --gap: clamp(28px, 2.6vw, 40px);
  --gap-lg: clamp(56px, 7vw, 112px);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow: 0 24px 60px -28px rgba(15, 26, 54, .28);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  font-feature-settings: 'cv11';
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }

img, video, iframe { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--gold); }
p { margin: 0 0 1.15em; }
em { font-style: normal; color: var(--gold); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 0 .6em;
}
[id] { scroll-margin-top: 120px; }

.sr-only, .hp {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--navy); color: #fff; padding: 10px 16px; }
.skip-link:focus { top: 12px; color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--pad-x); }
.container.narrow { max-width: 900px; }
.center { text-align: center; }
.icon { width: 1em; height: 1em; display: inline-block; vertical-align: -0.12em; flex: none; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-body); font-size: 11px; font-weight: 700; line-height: 1.4;
  letter-spacing: .24em; text-transform: uppercase; color: var(--gold);
  margin: 0 0 20px;
}
.eyebrow::before { content: ''; width: 34px; height: 1px; background: currentColor; flex: none; }
.eyebrow--plain::before { display: none; }
.eyebrow--light { color: var(--gold-light); }
.eyebrow--center { justify-content: center; }
.eyebrow--center::after { content: ''; width: 34px; height: 1px; background: currentColor; flex: none; }
.section-title { font-size: clamp(30px, 3vw, 42px); font-weight: 300; letter-spacing: -0.015em; margin-bottom: 0; }
.section-title--sm { font-size: clamp(28px, 2.6vw, 36px); }
.lead { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.7; color: var(--navy); }

.section { padding: var(--section-y) 0; }
.section--tight { padding: 0 0 var(--section-y); }
.section-head { margin-bottom: clamp(44px, 4.5vw, 64px); max-width: 760px; }
.section-head--split { max-width: none; display: grid; grid-template-columns: 1.25fr 1fr; gap: var(--gap-lg); align-items: end; }
.section-sub { margin: 0; color: var(--text); max-width: 520px; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  padding: 17px 32px; border: 1px solid transparent; background: transparent; color: var(--navy);
  cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
  border-radius: 0; line-height: 1.3;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold-btn); color: #fff; }
.btn-gold:hover { background: #fff; color: var(--ink); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost-light:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn-navy, .btn-solid { background: var(--gold-btn); color: #fff; }
.btn-navy:hover, .btn-solid:hover { background: var(--ink); color: #fff; }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-block { width: 100%; }
.btn + .btn { margin-left: 12px; }

.text-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--navy);
  padding-bottom: 4px; border-bottom: 1px solid var(--gold);
}
.text-link .icon { color: var(--gold); transition: transform .3s var(--ease); }
.text-link:hover .icon, a:hover > .text-link .icon { transform: translateX(5px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent; border-bottom: 1px solid rgba(255, 255, 255, .12);
  transition: background .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); max-width: var(--container); margin: 0 auto; padding: 0 var(--pad-x); transition: height .4s var(--ease); }
.logo img { height: 58px; width: auto; transition: height .4s var(--ease); }
/* Logo recoloured to the brand accent (#c9ab72) using the PNG as a mask */
.logo-mark {
  display: block; height: 58px; aspect-ratio: 1000 / 239;
  background: linear-gradient(120deg, #d9c294 0%, #c9ab72 45%, #b99b62 100%);
  -webkit-mask: url('/media/sands-legis-logo.png') left center / contain no-repeat;
  mask: url('/media/sands-legis-logo.png') left center / contain no-repeat;
  transition: height .4s var(--ease);
}
.logo-mark + img { display: none; }
@supports not ((-webkit-mask-image: url(x)) or (mask-image: url(x))) {
  .logo-mark { display: none; }
  .logo-mark + img { display: block; }
}

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 34px; }
.nav-link {
  font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255, 255, 255, .88); position: relative; padding: 8px 0;
}
.nav-link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold-light);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav-link:hover, .nav-link.is-active { color: #fff; }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.nav-phone a { display: inline-flex; align-items: center; gap: 9px; color: #fff; font-size: 13.5px; font-weight: 500; letter-spacing: 0; }
.nav-phone .icon { color: var(--gold-light); font-size: 12px; }
.btn-nav { padding: 12px 22px; font-size: 11px; border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-nav:hover, .btn-nav.is-active { background: #fff; border-color: #fff; color: var(--ink); transform: none; }
.nav-mobile-foot { display: none; }

.site-header.is-solid {
  background: rgba(252, 250, 247, .94);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom-color: var(--line); box-shadow: 0 10px 30px -18px rgba(15, 26, 54, .25);
}
.site-header.is-solid .header-inner { height: 76px; }
.site-header.is-solid .logo img, .site-header.is-solid .logo-mark { height: 46px; }
.site-header.is-solid .logo-mark { background: linear-gradient(120deg, #c9ab72 0%, #b39463 50%, #a88a52 100%); }
.site-header.is-solid .nav-link { color: var(--navy); }
.site-header.is-solid .nav-link:hover, .site-header.is-solid .nav-link.is-active { color: var(--gold); }
.site-header.is-solid .nav-link::after { background: var(--gold); }
.site-header.is-solid .nav-phone a { color: var(--navy); }
.site-header.is-solid .nav-phone .icon { color: var(--gold); }
.site-header.is-solid .btn-nav { border-color: var(--navy); color: var(--navy); }
.site-header.is-solid .btn-nav:hover, .site-header.is-solid .btn-nav.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.nav-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; position: relative; z-index: 2; }
.nav-toggle .bar { display: block; width: 26px; height: 1.5px; background: #fff; margin: 6px 0; transition: transform .35s var(--ease), opacity .3s, background .3s; }
.site-header.is-solid .nav-toggle .bar { background: var(--navy); }
.nav-toggle[aria-expanded="true"] .bar { background: #fff !important; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(4) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; }
.hero--home { min-height: max(660px, 100svh); }
.hero--page { min-height: max(480px, 66svh); }
.hero--compact { min-height: 400px; }
.hero-media {
  position: absolute; inset: 0; z-index: -2;
  background: var(--ink) url('/media/poster.jpg') center / cover no-repeat;
  animation: heroZoom 26s ease-in-out infinite alternate;
}
.hero--compact .hero-media { background-position: center 40%; filter: saturate(.8); }
.hero-video { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s var(--ease); pointer-events: none; }
.hero-video.is-ready { opacity: 1; }
.hero-video iframe {
  position: absolute; top: 50%; left: 50%; border: 0;
  width: 177.78vh; height: 56.25vw; min-width: 100%; min-height: 100%;
  transform: translate(-50%, -50%);
}
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 16, 34, .86) 0%, rgba(10, 16, 34, .55) 45%, rgba(10, 16, 34, .15) 100%),
    linear-gradient(0deg, rgba(10, 16, 34, .55) 0%, rgba(10, 16, 34, 0) 45%),
    linear-gradient(180deg, rgba(10, 16, 34, .55) 0%, rgba(10, 16, 34, 0) 25%);
}
.hero-inner { position: relative; padding-top: calc(var(--header-h) + 48px); padding-bottom: clamp(64px, 7vw, 96px); }
.hero--home .hero-inner { padding-bottom: calc(74px + clamp(56px, 6vw, 88px)); }
.hero--compact .hero-inner { padding-bottom: 64px; }
.hero-eyebrow {
  display: flex; align-items: center; gap: 14px; margin: 0 0 24px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-light);
}
.hero-eyebrow::before { content: ''; width: 40px; height: 1px; background: currentColor; }
.hero-title { color: #fff; font-weight: 300; font-size: clamp(38px, 4.6vw, 66px); line-height: 1.12; letter-spacing: -0.02em; max-width: none; margin: 0 0 24px; }
.hero--page .hero-title { font-size: clamp(34px, 3.8vw, 54px); max-width: none; }
.hero--compact .hero-title { font-size: clamp(30px, 3.2vw, 44px); max-width: none; margin-bottom: 0; }
.hero-title em { color: var(--gold-light); }
.hero-lead { font-size: clamp(16px, 1.3vw, 18px); line-height: 1.7; color: rgba(255, 255, 255, .82); max-width: 540px; margin: 0; }
.hero--compact .hero-lead { margin-top: 14px; }
.hero-ctas { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-ctas .btn + .btn { margin-left: 0; }

.breadcrumb { display: flex; gap: 12px; align-items: center; font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .65); margin-bottom: 18px; }
.breadcrumb a { color: var(--gold-light); }
.breadcrumb a:hover { color: #fff; }

.hero-bar { position: absolute; left: 0; right: 0; bottom: 0; border-top: 1px solid rgba(255, 255, 255, .14); background: rgba(10, 16, 34, .35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hero-bar-inner { display: flex; align-items: center; gap: 48px; height: 74px; }
.hero-bar-item { display: inline-flex; align-items: center; gap: 12px; color: rgba(255, 255, 255, .85); font-size: 13px; font-weight: 500; letter-spacing: .02em; }
.hero-bar-item .icon { color: var(--gold-light); }
a.hero-bar-item:hover { color: #fff; }
.hero-scroll { margin-left: auto; width: 26px; height: 42px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 14px; position: relative; }
.hero-scroll span { position: absolute; left: 50%; top: 8px; width: 2px; height: 8px; margin-left: -1px; background: var(--gold-light); border-radius: 2px; animation: scrollDot 2s var(--ease) infinite; }

@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.07); } }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

.hero-anim { animation: heroIn 1.2s var(--ease) both; }
.hero-anim:nth-child(2) { animation-delay: .12s; }
.hero-anim:nth-child(3) { animation-delay: .26s; }
.hero-anim:nth-child(4) { animation-delay: .4s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* ---------- Statement ---------- */
.statement { padding: var(--section-y) 0; background: var(--paper); text-align: center; }
.statement-inner { max-width: 1000px; }
.statement .eyebrow { justify-content: center; margin-bottom: 28px; }
.statement .eyebrow::after { content: ''; width: 34px; height: 1px; background: currentColor; }
.statement-text { font-family: var(--font-head); font-weight: 300; font-size: clamp(22px, 2.2vw, 31px); line-height: 1.5; color: var(--navy); letter-spacing: -0.01em; margin: 0; }
.statement--people { background: var(--cream); }
.statement--people .statement-text { font-size: clamp(21px, 2vw, 28px); }

/* ---------- Practice cards ---------- */
.practice { background: var(--cream); padding: var(--section-y) 0; }
.practice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.practice-card { background: #fff; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.practice-card:hover { transform: translateY(-6px); box-shadow: 0 36px 70px -30px rgba(15, 26, 54, .35); }
.practice-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #c9c5be; }
.card-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.practice-card:hover .card-video { transform: scale(1.04); }
.practice-body { padding: clamp(32px, 3.4vw, 48px); display: flex; flex-direction: column; flex: 1; }
.practice-body .eyebrow { margin-bottom: 14px; }
.practice-body h3 { font-size: clamp(19px, 1.5vw, 22px); line-height: 1.4; margin-bottom: 16px; }
.practice-body p { font-size: 15px; margin-bottom: 28px; }
.practice-body .text-link { margin-top: auto; align-self: flex-start; }

/* ---------- Feature (video + copy) ---------- */
.feature { padding: var(--section-y) 0; background: var(--paper); }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-lg); align-items: center; }
.feature-copy .section-title { margin-bottom: 24px; }
.feature-media { position: relative; aspect-ratio: 1 / 1; background: #efefee; }
.feature-media::before { content: ''; position: absolute; inset: -20px 20px 20px -20px; border: 1px solid var(--gold-light); z-index: 0; pointer-events: none; }
.feature-media .card-video { z-index: 1; }
.feature-media--tall { aspect-ratio: 4 / 5; }
.feature-grid--ethos { align-items: start; }
.feature-grid--ethos .feature-media::before { inset: -20px -20px 20px 20px; }
.feature-copy > p:not(.eyebrow):not(.lead) { font-size: 16px; }

.award { display: flex; gap: 18px; align-items: center; padding: 22px 24px; background: var(--cream); border-left: 2px solid var(--gold); margin: 32px 0; }
.award p { margin: 0; font-size: 14.5px; color: var(--navy); line-height: 1.6; }
.award-icon { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--gold-light); font-size: 15px; }
.award--center { text-align: left; margin: 0 auto; max-width: 820px; }

/* ---------- People teaser ---------- */
.people-teaser { background: var(--cream); padding: var(--section-y) 0; }
.people-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.person-card { display: block; background: #fff; color: inherit; box-shadow: var(--shadow); overflow: hidden; }
.person-card-img { aspect-ratio: 5 / 4; background-color: #d9d3cb; background-size: cover; background-position: center 22%; transition: transform 1.2s var(--ease); }
.person-card:hover .person-card-img { transform: scale(1.04); }
.person-card-body { position: relative; background: #fff; padding: 30px clamp(28px, 3vw, 40px); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 20px; }
.person-card-body h3 { font-size: 22px; margin: 0; grid-column: 1; }
.person-card-body p { margin: 0; grid-column: 1; color: var(--muted); font-size: 14.5px; }
.person-card-body .text-link { grid-column: 2; grid-row: 1 / span 2; }
.person-photo--semina { background-image: url('/media/sk.jpg'); }
.person-photo--georgia { background-image: url('/media/gk.jpg'); }

/* ---------- Testimonials (light) ---------- */
.testimonials { padding: var(--section-y) 0; }
.testimonials--paper { background: var(--paper); }
.testimonials--cream { background: var(--cream); }
.t-frame { max-width: 980px; margin: 0 auto; text-align: center; }
.stars { display: flex; gap: 5px; color: var(--gold); font-size: 15px; }
.testimonials .stars { justify-content: center; margin-bottom: 26px; }
.t-slider { display: grid; }
.t-slide { grid-area: 1 / 1; align-self: center; margin: 0; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .8s var(--ease), transform .8s var(--ease), visibility .8s; }
.t-slide.is-active { opacity: 1; visibility: visible; transform: none; }
.t-slide blockquote { margin: 0; }
.t-slide blockquote p { font-family: var(--font-head); font-weight: 300; font-size: clamp(19px, 1.7vw, 24px); line-height: 1.5; letter-spacing: -0.01em; color: var(--navy); margin: 0 auto 22px; max-width: 880px; }
.testimonials .btn { margin-top: 40px; }
.t-slide figcaption { font-size: 11.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }

.t-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.t-card { margin: 0; background: #fff; padding: 44px 38px; box-shadow: var(--shadow); border-top: 2px solid var(--gold); display: flex; flex-direction: column; }
.t-card .stars { color: var(--gold); margin-bottom: 20px; font-size: 14px; }
.t-card blockquote { margin: 0 0 22px; flex: 1; }
.t-card blockquote p { font-family: var(--font-head); font-weight: 300; font-size: 17px; line-height: 1.6; color: var(--navy); }
.t-card figcaption { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.center-cta { text-align: center; margin-top: 56px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--blush); padding: clamp(72px, 7vw, 104px) 0; }
.cta-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--gap-lg); align-items: center; }
.cta-title { font-size: clamp(24px, 2.3vw, 34px); font-weight: 300; letter-spacing: -0.02em; margin: 0; }
.cta-title span { white-space: nowrap; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding-left: clamp(32px, 4vw, 56px); border-left: 1px solid var(--blush-deep); }
.cta-phone { font-family: var(--font-body); font-weight: 500; font-size: clamp(22px, 1.9vw, 26px); color: var(--navy); display: inline-flex; align-items: center; gap: 14px; letter-spacing: -0.01em; }
.cta-phone .icon, .cta-mail .icon { color: var(--gold); font-size: .7em; }
.cta-mail { display: inline-flex; align-items: center; gap: 12px; color: var(--text); font-size: 15px; margin-bottom: 14px; }
.cta-mail .icon { font-size: 17px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .68); font-size: 14.5px; }
.footer-main { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: var(--gap); padding-top: clamp(72px, 7vw, 96px); padding-bottom: 56px; }
.footer-logo { display: inline-block; margin-bottom: 20px; }
.footer-logo img, .footer-logo .logo-mark { height: 48px; width: auto; }
.footer-brand > p { max-width: 340px; margin-bottom: 0; }
.footer-reg { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-reg-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-top: 34px; padding-bottom: 34px; flex-wrap: wrap; }
.footer-reg-inner p { margin: 0; max-width: 420px; font-size: 13.5px; line-height: 1.7; order: 1; }
.footer-reg-inner .footer-badges { order: 2; margin-left: auto; }
.footer-badges { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.badge { line-height: 0; }
.badge iframe { overflow: hidden; }
.badge iframe { border: 0; background: transparent; }
.badge-sra iframe { width: 275px; height: 163px; max-width: 100%; }
.badge-leap iframe { width: 113px; height: 162px; }
.footer-title { font-family: var(--font-body); font-size: 11px; line-height: 1.4; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-light); margin: 6px 0 22px; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { margin-bottom: 12px; line-height: 1.6; }
.footer-list a { color: rgba(255, 255, 255, .78); }
.footer-list a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; padding-bottom: 24px; font-size: 12.5px; color: rgba(255, 255, 255, .5); }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: rgba(255, 255, 255, .6); }
.footer-bottom a:hover { color: var(--gold-light); }

.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 46px; height: 46px; display: grid; place-items: center; background: var(--ink); color: #fff; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .35s var(--ease); }
.to-top svg { width: 20px; height: 20px; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold); color: #fff; }

/* ---------- Services ---------- */
.two-col { display: grid; grid-template-columns: 5fr 7fr; gap: var(--gap-lg); align-items: start; }
.two-col-side { position: sticky; top: 120px; }
.two-col-side .section-title { margin-bottom: 0; }
.side-card { margin-top: 36px; padding: 32px; background: var(--cream); border-top: 2px solid var(--gold); }
.side-card p { color: var(--navy); margin-bottom: 10px; }
.side-phone { display: inline-flex; align-items: center; gap: 12px; font-weight: 500; font-size: 20px; color: var(--navy); margin-bottom: 22px; }
.side-phone .icon { color: var(--gold); font-size: 14px; }
.two-col-main > p:not(.lead) { font-size: 16.5px; }
.two-col-main .lead { font-size: clamp(18px, 1.5vw, 21px); margin-bottom: 1.2em; }
.focus-grid { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.focus-grid li { padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-family: var(--font-head); font-weight: 400; font-size: 18px; line-height: 1.35; color: var(--navy); display: flex; flex-direction: column; gap: 8px; transition: background .3s; }
.focus-grid li:hover { background: var(--cream); }
.focus-grid span { font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: .2em; color: var(--gold); }

/* ---------- Ethos ---------- */
.pillars { background: var(--ink); color: #fff; padding: var(--section-y) 0; text-align: center; }
.pillars .eyebrow { justify-content: center; }
.pillars .eyebrow::after { content: ''; width: 34px; height: 1px; background: currentColor; }
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin: 20px 0 40px; }
.pillar { padding: 30px 20px; }
.pillar + .pillar { border-left: 1px solid rgba(255, 255, 255, .12); }
.pillar-num { display: block; font-family: var(--font-head); font-weight: 400; color: var(--gold-light); font-size: 18px; letter-spacing: .1em; margin-bottom: 12px; }
.pillar p { font-family: var(--font-head); font-weight: 300; font-size: clamp(20px, 1.9vw, 27px); letter-spacing: -0.015em; color: #fff; margin: 0; }
.pillars-note { color: rgba(255, 255, 255, .6); margin: 0; font-size: 15px; }

/* ---------- Accordions ---------- */
.accordion { margin-top: 34px; }
.acc { border-top: 1px solid var(--line); }
.accordion .acc:last-child, .acc--person { border-bottom: 1px solid var(--line); }
.acc summary {
  list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative;
  font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; line-height: 1.5; color: var(--navy); transition: color .25s;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::before, .acc summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 14px; height: 1.5px; background: var(--gold); transition: transform .35s var(--ease); }
.acc summary::after { transform: rotate(90deg); }
.acc[open] summary::after { transform: rotate(0); }
.acc summary:hover { color: var(--gold); }
.acc-body { padding: 0 0 16px; animation: accIn .45s var(--ease); }
.acc-body p { font-size: 15.5px; }
@keyframes accIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- People page ---------- */
.profile { padding: var(--section-y) 0; background: var(--paper); }
.profile--reverse { background: var(--cream); }
.profile-grid { display: grid; grid-template-columns: 5fr 7fr; gap: var(--gap-lg); align-items: center; }
.profile--reverse .profile-grid { grid-template-columns: 7fr 5fr; }
.profile--reverse .profile-photo { order: 2; }
.profile-grid { isolation: isolate; }
.profile-photo { position: relative; aspect-ratio: 4 / 5; background-color: #d9d3cb; background-size: cover; background-position: center 20%; box-shadow: var(--shadow); }
.profile-photo::before { content: ''; position: absolute; inset: 20px -20px -20px 20px; border: 1px solid var(--gold-light); z-index: -1; }
.profile--reverse .profile-photo::before { inset: 20px 20px -20px -20px; }
.person-name { font-size: clamp(30px, 2.8vw, 40px); font-weight: 300; letter-spacing: -0.02em; margin-bottom: 8px; }
.person-role { font-size: 11.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 26px; }

.contact-lines { list-style: none; padding: 0; margin: 24px 0 8px; display: flex; flex-wrap: wrap; gap: 12px 32px; }
.contact-lines li { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.contact-lines .icon { color: var(--gold); font-size: 14px; }
.contact-lines a { color: var(--navy); }
.contact-lines a:hover { color: var(--gold); }
.acc--person { margin-top: 26px; }

/* ---------- Legal pages ---------- */
.legal { background: var(--paper); }
.legal-grid { display: grid; grid-template-columns: 260px 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.legal-toc { position: sticky; top: 110px; max-height: calc(100vh - 140px); overflow: auto; padding-right: 10px; }
.legal-toc ol { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--line); }
.legal-toc li a { display: block; padding: 7px 0 7px 18px; margin-left: -1px; border-left: 1px solid transparent; font-size: 13.5px; line-height: 1.45; color: var(--muted); transition: color .2s, border-color .2s; }
.legal-toc li a:hover { color: var(--navy); }
.legal-toc li a.is-current { color: var(--navy); border-left-color: var(--gold); font-weight: 600; }
.legal-toc:empty, .legal-toc.is-empty { display: none; }

.prose { max-width: 780px; }
.prose p, .prose li { font-size: 16px; line-height: 1.8; }
.prose h2 { font-size: clamp(23px, 2vw, 28px); font-weight: 400; margin: 2.2em 0 .7em; padding-top: 1.2em; border-top: 1px solid var(--line); }
.prose h3 { font-size: 19px; font-weight: 500; margin: 1.8em 0 .5em; }
.prose h4 { font-size: 17px; font-weight: 600; margin: 1.6em 0 .4em; }
.prose > :first-child, .prose > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1.4em; }
.prose li { margin-bottom: .45em; padding-left: .3em; }
.prose li::marker { color: var(--gold); }
.prose ol li::marker { font-weight: 700; font-size: .9em; }
.prose a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; word-break: break-word; }
.prose a:hover { color: var(--gold); }
.prose .muted { color: var(--muted); font-style: italic; }
.prose .link-list { list-style: none; padding: 0; }
.fee-list { list-style: none !important; padding: 0 !important; margin: 1.4em 0 !important; background: #fff; border: 1px solid var(--line); }
.fee-list li { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; padding: 16px 22px; margin: 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.fee-list li:last-child { border-bottom: 0; }
.fee-list li span:last-child { color: var(--navy); font-weight: 600; }

/* ---------- Contact ---------- */
.contact-section { background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: var(--gap); align-items: stretch; }
.contact-card { background: var(--ink); color: rgba(255, 255, 255, .8); padding: clamp(32px, 3.4vw, 48px); display: flex; flex-direction: column; }
.contact-card-title { color: #fff; font-size: 26px; font-weight: 300; margin-bottom: 28px; }
.contact-card-list { list-style: none; margin: 0 0 36px; padding: 0; }
.contact-card-list li { display: flex; gap: 18px; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.contact-card-list li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.contact-card-list .icon { color: var(--gold-light); margin-top: 6px; font-size: 16px; }
.contact-card-list span { display: block; font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 4px; }
.contact-card-list a { color: #fff; font-size: 16px; line-height: 1.6; }
.contact-card-list a:hover { color: var(--gold-light); }
.contact-map { margin-top: auto; height: 240px; background: #1c2744; }
.contact-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05) brightness(.95); }

.contact-form-wrap { background: #fff; padding: clamp(32px, 3.4vw, 48px); box-shadow: var(--shadow); }
.contact-form { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 22px; }
.contact-form .field { margin-bottom: 18px; }
.contact-form .field--full, .field--check, .contact-form button, .contact-form .notice { grid-column: 1 / -1; }
.contact-form label { display: block; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--navy); margin-bottom: 8px; }
.contact-form label span[aria-hidden] { color: var(--gold); }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form input[type="tel"], .contact-form textarea {
  width: 100%; font: inherit; font-size: 15.5px; color: var(--navy);
  background: var(--paper); border: 1px solid var(--line); border-bottom-color: #cfc5b5; padding: 15px 16px; border-radius: 0;
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #aaa59d; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 3px rgba(168, 138, 82, .12); }
.contact-form textarea { resize: vertical; min-height: 160px; }
.field--check label { display: flex; gap: 12px; align-items: flex-start; text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 14px; color: var(--text); line-height: 1.6; }
.field--check input { margin-top: 4px; width: 17px; height: 17px; accent-color: var(--navy); flex: none; }
.contact-form button { justify-self: start; min-width: 200px; }
.has-error input, .has-error textarea { border-color: #b4483c !important; }
.field-error { display: block; color: #b4483c; font-size: 13px; margin-top: 6px; }
.notice { padding: 24px 26px; margin: 24px 0; border-left: 3px solid var(--gold); background: var(--cream); }
.notice h2 { font-size: 24px; margin-bottom: 8px; }
.notice p { margin: 0; }
.notice--error { border-left-color: #b4483c; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.practice-grid .reveal:nth-child(2), .people-grid .reveal:nth-child(2), .t-grid .reveal:nth-child(2) { transition-delay: .12s; }
.t-grid .reveal:nth-child(3) { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-anim, .hero-media, .hero-scroll span { animation: none; }
}

/* ---------- Responsive ---------- */
@media (min-width: 981px) {
  .practice-body h3 { min-height: 4.05em; }
}

@media (max-width: 1180px) {
  .site-nav ul { gap: 26px; }
  .nav-phone { display: none; }
  .footer-main { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 980px) {
  :root { --header-h: 80px; --pad-x: 28px; }
  .logo img, .logo-mark { height: 46px; }
  .site-header.is-solid .logo img, .site-header.is-solid .logo-mark { height: 42px; }
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: 0; background: var(--ink); padding: calc(var(--header-h) + 30px) 28px 40px;
    display: flex; flex-direction: column; justify-content: space-between;
    opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s; overflow-y: auto;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; }
  .site-nav ul { flex-direction: column; align-items: flex-start; gap: 0; }
  .site-nav li { width: 100%; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .nav-link, .site-header.is-solid .nav-link { display: block; padding: 18px 0; font-family: var(--font-head); font-size: 26px; font-weight: 300; letter-spacing: -0.01em; text-transform: none; color: #fff; }
  .nav-link::after { display: none; }
  .nav-link.is-active, .site-header.is-solid .nav-link.is-active { color: var(--gold-light); }
  .nav-phone { display: block; }
  .nav-phone a, .site-header.is-solid .nav-phone a { color: #fff; padding: 20px 0; font-size: 17px; }
  .nav-cta { border-bottom: 0 !important; padding-top: 26px; }
  .btn-nav, .site-header.is-solid .btn-nav { width: 100%; padding: 17px; font-size: 12px; border-color: var(--gold-btn); color: #fff; background: var(--gold-btn); }
  .nav-mobile-foot { display: flex; flex-direction: column; gap: 6px; margin-top: 40px; font-size: 14px; color: rgba(255, 255, 255, .55); }
  .nav-mobile-foot a { color: var(--gold-light); }
  .site-header:has(.site-nav.is-open) { background: transparent; border-color: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .logo { position: relative; z-index: 2; }

  .hero--home { min-height: max(600px, 92svh); }
  .hero--home .hero-inner { padding-bottom: 130px; }
  .hero-bar-inner { gap: 26px; overflow-x: auto; }
  .hero-bar-item:nth-child(2), .hero-scroll { display: none; }

  .section-head--split, .practice-grid, .people-grid, .feature-grid, .two-col, .profile-grid, .profile--reverse .profile-grid, .contact-grid, .cta-inner, .legal-grid { grid-template-columns: 1fr; }
  .section-head--split { gap: 16px; }
  .feature-media { max-width: 560px; }
  .feature-grid--ethos .feature-media { order: -1; }
  .profile--reverse .profile-photo { order: 0; }
  .profile-photo { max-width: 460px; }
  .two-col-side { position: static; }
  .cta-actions { padding-left: 0; border-left: 0; padding-top: 30px; border-top: 1px solid var(--blush-deep); }
  .t-grid { grid-template-columns: 1fr; }
  .legal-toc { position: static; max-height: none; padding: 24px; background: var(--cream); }
  .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .cta-title span { white-space: normal; }
  :root { --pad-x: 22px; }
  .logo img, .logo .logo-mark { height: 40px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .hero-bar-item:nth-child(3) { display: none; }
  .practice-body, .contact-form-wrap, .contact-card { padding: 36px 26px; }
  .person-card-body { grid-template-columns: 1fr; padding: 26px; }
  .person-card-body .text-link { grid-column: 1; grid-row: auto; margin-top: 16px; justify-self: start; }
  .focus-grid, .contact-form { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .pillar + .pillar { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .12); }
  .feature-media::before, .profile-photo::before { display: none; }
  .fee-list li { grid-template-columns: 1fr; gap: 4px; }
  .btn + .btn { margin: 12px 0 0; }
  .footer-main { grid-template-columns: 1fr; gap: 36px; padding-top: 70px; }
  .footer-bottom-inner { flex-direction: column; }
}

/* Logo: original artwork, softened to sit with the #c9ab72 accent */
.logo-mark { display: none !important; }
.logo img, .footer-logo img { display: block !important; filter: saturate(.72) brightness(1.12) contrast(.92); }

/* Headings: Lora */
@font-face { font-family: 'Lora'; src: url('/fonts/lora.ttf') format('truetype'); font-weight: 400 700; font-style: normal; font-display: swap; }
:root { --font-head: 'Lora', Georgia, serif; }
h1, h2, h3, h4, .hero-title, .section-title, .statement-text, .cta-title, .person-name, .pillar p, .t-slide blockquote p, .t-card blockquote p, .contact-card-title { font-weight: 400; }
@media (min-width: 981px) { .practice-body h3 { min-height: 2.8em; } }

/* Headings: Libre Caslon Text */
@font-face { font-family: 'Libre Caslon Text'; src: url('/fonts/libre-caslon-text.ttf') format('truetype'); font-weight: 400 700; font-style: normal; font-display: swap; }
:root { --font-head: 'Libre Caslon Text', Georgia, serif; }
h1, h2, h3, h4, .hero-title, .section-title, .statement-text, .cta-title, .person-name, .pillar p, .t-slide blockquote p, .t-card blockquote p, .contact-card-title { font-weight: 400; }
.hero-title { font-size: clamp(36px, 4.3vw, 62px); }
.section-title { font-size: clamp(28px, 2.8vw, 40px); }
.statement-text { font-size: clamp(21px, 2.1vw, 29px); line-height: 1.55; }
@media (min-width: 981px) { .practice-body h3 { min-height: 2.9em; } }

/* Headings: Source Serif 4 */
@font-face { font-family: 'Source Serif 4'; src: url('/fonts/source-serif-4.woff2') format('woff2'); font-weight: 200 900; font-style: normal; font-display: swap; }
:root { --font-head: 'Source Serif 4', Georgia, serif; }
h1, h2, h3, h4, .hero-title, .section-title, .statement-text, .cta-title, .person-name, .pillar p, .t-slide blockquote p, .t-card blockquote p, .contact-card-title { font-weight: 400; }
.hero-title { font-size: clamp(38px, 4.7vw, 68px); letter-spacing: -0.02em; }
.section-title { font-size: clamp(30px, 3vw, 42px); letter-spacing: -0.015em; }
.statement-text { font-size: clamp(22px, 2.2vw, 31px); line-height: 1.5; }
@media (min-width: 981px) { .practice-body h3 { min-height: 2.8em; } }

/* Hero: self-hosted video (public/media/hero.mp4) + larger headings */
.hero-video-file { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-title { font-size: clamp(44px, 5.4vw, 80px); }
.hero--page .hero-title { font-size: clamp(40px, 4.6vw, 66px); }
.hero--compact .hero-title { font-size: clamp(36px, 3.8vw, 54px); }

/* Contact form: Cloudflare Turnstile */
.field--captcha { margin: 4px 0 22px; min-height: 65px; }
.field--captcha .cf-turnstile { max-width: 100%; }
