:root {
  color-scheme: light dark;
  --navy: #0b1e31;
  --navy-2: #102a43;
  --gold: #b99051;
  --gold-soft: #d5b47a;
  --bg: #f7f5f1;
  --surface: #ffffff;
  --surface-2: #f1ede6;
  --text: #102338;
  --text-soft: #4e5966;
  --line: #ddd6ca;
  --header: rgba(255,255,255,.94);
  --shadow: 0 24px 70px rgba(10, 30, 49, .10);
  --max: 1240px;
  --transition: 220ms ease;
}

html[data-theme="dark"] {
  --bg: #0b1723;
  --surface: #0f2131;
  --surface-2: #132a3c;
  --text: #f3efe7;
  --text-soft: #bdc5cc;
  --line: #2a4154;
  --header: rgba(9, 23, 35, .94);
  --shadow: 0 24px 70px rgba(0,0,0,.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  transition: background var(--transition), color var(--transition);
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
.shell { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.section { padding: 92px 0; }
.skip-link { position: fixed; z-index: 9999; left: 16px; top: -80px; background: var(--navy); color: white; padding: 10px 14px; text-decoration: none; }
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--header);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { text-decoration: none; min-width: 215px; color: var(--text); }
.brand-name { display: block; font: 400 1.34rem/1.0 Georgia, "Times New Roman", serif; text-transform: uppercase; letter-spacing: .035em; }
.brand-rule { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; width: 126px; margin-top: 7px; }
.brand-rule i { height: 1px; background: var(--gold); }
.brand-rule small { font-size: .52rem; letter-spacing: .35em; text-transform: uppercase; }
.header-actions { display: flex; align-items: center; gap: 20px; }
.main-nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 42px); }
.main-nav a { text-decoration: none; text-transform: uppercase; letter-spacing: .045em; font-size: .72rem; font-weight: 650; white-space: nowrap; }
.main-nav a:hover { color: var(--gold); }
.theme-toggle, .menu-toggle { border: 1px solid var(--line); background: var(--surface); color: var(--text); }
.theme-toggle { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; transition: var(--transition); }
.theme-toggle:hover { border-color: var(--gold); color: var(--gold); }
.theme-toggle span { grid-area: 1 / 1; font-size: 1.25rem; transition: opacity var(--transition), transform var(--transition); }
html[data-theme="light"] .theme-moon { opacity: 0; transform: rotate(20deg) scale(.7); }
html[data-theme="dark"] .theme-sun { opacity: 0; transform: rotate(-20deg) scale(.7); }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; padding: 0; cursor: pointer; }
.menu-toggle span { width: 20px; height: 1.5px; background: currentColor; display: block; margin: 4px auto; }

.hero { overflow: hidden; border-bottom: 1px solid var(--line); background: linear-gradient(90deg, var(--bg) 0%, var(--bg) 55%, var(--surface-2) 100%); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; min-height: 630px; align-items: stretch; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 82px 50px 82px 0; }
.eyebrow { margin: 0 0 14px; color: var(--gold); text-transform: uppercase; letter-spacing: .18em; font-size: .67rem; font-weight: 750; }
.hero h1 { margin: 0; max-width: 800px; font: 400 clamp(3.1rem, 5vw, 5.2rem)/1.03 Georgia, "Times New Roman", serif; letter-spacing: -.035em; }
.hero h1 em { color: var(--gold); font-style: normal; }
.gold-rule { width: 46px; height: 2px; background: var(--gold); margin: 28px 0; }
.hero-lead { max-width: 640px; color: var(--text-soft); font-size: 1rem; margin: 0 0 28px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: 0 22px; border: 1px solid transparent; text-decoration: none; text-transform: uppercase; font-size: .7rem; letter-spacing: .055em; font-weight: 750; transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition); }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--navy); color: white; }
html[data-theme="dark"] .button-primary { background: var(--gold); color: #0a1928; }
.button-secondary { border-color: var(--gold); color: var(--text); background: transparent; }
.button-secondary:hover { background: var(--gold); color: #0a1928; }
.hero-portrait { position: relative; min-height: 630px; overflow: hidden; }
.hero-portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 0%, transparent 20%); pointer-events: none; }
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 42%; }

.section-heading h2, .approach-title h2, .service-intro h2 { margin: 0; font: 400 clamp(2.2rem, 3.6vw, 3.8rem)/1.08 Georgia, "Times New Roman", serif; letter-spacing: -.03em; }
.section-heading.centered { text-align: center; margin-bottom: 46px; }
.section-heading.centered .eyebrow { margin-bottom: 8px; }

.practice-section { background: var(--surface); }
.practice-grid { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); }
.practice-card { min-height: 315px; padding: 32px 24px 28px; text-align: center; border-right: 1px solid var(--line); background: var(--surface); transition: background var(--transition), transform var(--transition), box-shadow var(--transition); }
.practice-card:last-child { border-right: 0; }
.practice-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); position: relative; z-index: 2; }
.practice-icon { width: 50px; height: 50px; margin: 0 auto 24px; color: var(--gold); }
.practice-icon svg, .approach-mark svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.practice-card h3 { min-height: 62px; margin: 0 0 16px; font: 400 1.15rem/1.25 Georgia, "Times New Roman", serif; }
.practice-card p { margin: 0; color: var(--text-soft); font-size: .83rem; line-height: 1.7; }

.approach-section { background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.approach-grid { display: grid; grid-template-columns: 90px 1.15fr 1fr; gap: 38px; align-items: center; }
.approach-mark { width: 86px; height: 86px; border: 1px solid var(--gold); border-radius: 50%; display: grid; place-items: center; color: var(--gold); padding: 21px; }
.approach-title h2 { font-size: clamp(1.8rem, 3vw, 3rem); }
.approach-copy p { color: var(--text-soft); margin: 0 0 24px; }

.featured-service { background: var(--navy); color: #f5f1e9; }
.service-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: center; }
.service-intro p:last-child { color: #b9c3cd; max-width: 500px; }
.service-card { padding: 38px; border: 1px solid rgba(213,180,122,.45); background: rgba(255,255,255,.035); }
.service-card > span { color: var(--gold-soft); font-size: .68rem; text-transform: uppercase; letter-spacing: .15em; }
.service-card h3 { margin: 22px 0 30px; font: 400 clamp(1.8rem, 3vw, 3rem)/1.12 Georgia, "Times New Roman", serif; }
.service-card a { color: var(--gold-soft); text-decoration: none; text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; font-weight: 750; }

.contact-section { background: var(--bg); }
.contact-grid { display: grid; grid-template-columns: 1.1fr .75fr; gap: 80px; align-items: center; }
.contact-grid .section-heading p:not(.eyebrow) { color: var(--text-soft); max-width: 720px; }
.contact-card { padding: 34px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.contact-label { color: var(--gold); text-transform: uppercase; letter-spacing: .15em; font-size: .67rem; }
.contact-card strong { display: block; margin-top: 26px; font: 400 1.9rem/1.1 Georgia, serif; }
.contact-card p { color: var(--text-soft); margin: 6px 0 26px; }

.site-footer { background: #0a1c2e; color: rgba(255,255,255,.78); border-top: 1px solid rgba(255,255,255,.1); }
.footer-inner { min-height: 108px; display: grid; grid-template-columns: 1fr auto 44px; align-items: center; gap: 24px; font-size: .72rem; }
.footer-inner p { margin: 0; }
.footer-links { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--gold-soft); }
.footer-links span a { color: var(--gold-soft); }
.linkedin-mark { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #1277b5; color: white; text-decoration: none; font-weight: 800; font-size: 1rem; }

.legal-page { background: var(--bg); }
.legal-hero { padding: 82px 0 46px; border-bottom: 1px solid var(--line); }
.legal-hero h1 { margin: 0; font: 400 clamp(2.8rem, 6vw, 5rem)/1 Georgia, serif; letter-spacing: -.04em; }
.legal-content { width: min(calc(100% - 48px), 860px); margin: 0 auto; padding: 60px 0 92px; }
.legal-content h2 { margin: 42px 0 12px; font: 400 1.8rem/1.15 Georgia, serif; }
.legal-content p, .legal-content li { color: var(--text-soft); }
.legal-note { padding: 22px; border-left: 3px solid var(--gold); background: var(--surface); }
.back-link { display: inline-flex; margin-top: 20px; text-decoration: none; color: var(--gold); font-weight: 700; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1100px) {
  .main-nav { gap: 18px; }
  .main-nav a { font-size: .66rem; }
  .practice-grid { grid-template-columns: repeat(2, 1fr); }
  .practice-card { border-bottom: 1px solid var(--line); }
  .practice-card:nth-child(2n) { border-right: 0; }
  .practice-card:last-child { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .shell { width: min(calc(100% - 32px), var(--max)); }
  .header-inner { min-height: 76px; }
  .brand { min-width: auto; }
  .brand-name { font-size: 1.05rem; }
  .brand-rule { width: 108px; }
  .menu-toggle { display: block; }
  .main-nav { position: fixed; left: 0; right: 0; top: 76px; display: grid; gap: 0; background: var(--surface); border-bottom: 1px solid var(--line); transform: translateY(-130%); opacity: 0; pointer-events: none; transition: .25s ease; }
  .main-nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .main-nav a { padding: 17px 24px; border-top: 1px solid var(--line); font-size: .72rem; }
  .hero-grid { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { padding: 64px 0 38px; }
  .hero-portrait { min-height: 500px; max-height: 600px; }
  .hero-portrait::after { background: linear-gradient(180deg, var(--bg) 0%, transparent 16%); }
  .hero-portrait img { object-position: 50% 38%; }
  .approach-grid, .service-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .approach-mark { width: 72px; height: 72px; }
  .footer-inner { grid-template-columns: 1fr auto; padding: 24px 0; }
  .footer-links { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; }
}

@media (max-width: 620px) {
  .section { padding: 68px 0; }
  .header-actions { gap: 10px; }
  .theme-toggle, .menu-toggle { width: 42px; height: 42px; }
  .hero h1 { font-size: clamp(2.8rem, 13vw, 4.2rem); }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .hero-portrait { min-height: 420px; }
  .practice-grid { grid-template-columns: 1fr; }
  .practice-card, .practice-card:nth-child(2n), .practice-card:last-child { grid-column: auto; border-right: 0; }
  .practice-card { min-height: auto; }
  .footer-inner { grid-template-columns: 1fr 38px; }
  .footer-links { display: grid; gap: 8px; }
  .footer-links > span[aria-hidden="true"] { display: none; }
}
