:root {
  --ink: #323234;
  --ink-soft: #58585b;
  --gold: #991126;
  --gold-light: #f0d9dd;
  --metal: #c69b3d;
  --paper: #faf9f6;
  --white: #fff;
  --text: #243746;
  --line: rgba(16, 42, 67, .14);
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.65; }
a { color: inherit; }
.skip-link { position: fixed; z-index: 100; top: -5rem; left: 1rem; padding: .7rem 1rem; background: white; }
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.site-header { position: sticky; z-index: 20; top: 0; display: flex; align-items: center; justify-content: space-between; min-height: 88px; padding: 0 clamp(1.2rem, 5vw, 5rem); color: var(--ink); background: rgba(247,244,237,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { display: block; width: clamp(165px, 18vw, 255px); height: 58px; object-fit: contain; object-position: left center; mix-blend-mode: multiply; }
nav { display: flex; align-items: center; gap: clamp(1.2rem, 3vw, 2.4rem); }
nav a { font-size: .9rem; font-weight: 600; text-decoration: none; }
.nav-contact { padding: .7rem 1.15rem; color: var(--white); background: var(--ink); border-radius: 99px; }
.menu-button { display: none; padding: .5rem; background: none; border: 0; }
.menu-button > span:not(.sr-only) { display: block; width: 25px; height: 2px; margin: 5px; background: var(--ink); }

.hero { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .7fr); min-height: calc(100vh - 88px); background: var(--paper); }
.hero-content { display: flex; flex-direction: column; justify-content: center; padding: clamp(4rem, 8vw, 8rem) clamp(1.5rem, 7vw, 7rem); }
.eyebrow { margin: 0 0 1.1rem; color: var(--gold); font-size: .76rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
h1, h2, h3, p { text-wrap: pretty; }
h1, h2 { color: var(--ink); font-family: var(--serif); font-weight: 600; line-height: 1.08; }
h1 { max-width: 850px; margin: 0; font-size: clamp(3rem, 6.4vw, 6.3rem); letter-spacing: -.04em; }
h1 em { color: var(--gold); font-weight: 600; }
.hero-lead { max-width: 670px; margin: 2rem 0 0; font-size: clamp(1.05rem, 1.5vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.4rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: .75rem 1.35rem; border: 1px solid var(--ink); border-radius: 3px; font-weight: 700; text-decoration: none; }
.button-primary { color: white; background: var(--ink); }
.button-secondary { color: var(--ink); }
.button:hover, .nav-contact:hover { transform: translateY(-2px); }
.continuity { display: flex; align-items: center; gap: .8rem; margin-top: 3.5rem; color: var(--ink-soft); font-size: .82rem; font-weight: 600; }
.continuity span { width: 44px; height: 2px; background: var(--metal); }
.hero-panel { display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(2rem, 5vw, 4.5rem); color: white; background: var(--ink); }
.hero-panel > p { color: var(--gold-light); font: 600 italic 1.5rem var(--serif); }
.hero-panel ul { padding: 0; margin: 1rem 0 0; list-style: none; }
.hero-panel li { display: flex; gap: 1.2rem; padding: 1.3rem 0; border-top: 1px solid rgba(255,255,255,.17); font-size: 1.05rem; }
.hero-panel li span { color: var(--gold); font-size: .72rem; }

.trust-strip { display: grid; grid-template-columns: repeat(3, 1fr); padding: 2.3rem clamp(1.5rem, 7vw, 7rem); color: white; background: var(--gold); border-top: 3px solid var(--metal); }
.trust-strip div { display: flex; align-items: baseline; justify-content: center; gap: .7rem; border-right: 1px solid rgba(255,255,255,.35); }
.trust-strip div:last-child { border: 0; }
.trust-strip strong { font: 600 2.4rem var(--serif); }
.trust-strip span { max-width: 180px; font-size: .82rem; font-weight: 600; line-height: 1.3; }

.section { padding: clamp(5rem, 10vw, 9rem) clamp(1.5rem, 7vw, 7rem); }
.section-heading { display: grid; grid-template-columns: minmax(280px, .85fr) 1fr; column-gap: 5vw; margin-bottom: 4rem; }
.section-heading .eyebrow { grid-column: 1 / -1; }
.section-heading h2 { max-width: 650px; margin: 0; font-size: clamp(2.3rem, 4vw, 4.25rem); letter-spacing: -.03em; }
.section-heading > p:last-child { max-width: 560px; margin: .3rem 0 0; font-size: 1.05rem; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-grid article { min-height: 270px; padding: 2rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .2s, transform .2s; }
.service-grid article:hover { z-index: 1; background: white; transform: translateY(-4px); }
.service-grid article > span { color: var(--gold); font-size: .72rem; font-weight: 700; }
.service-grid h3 { margin: 2rem 0 .6rem; color: var(--ink); font: 600 1.45rem var(--serif); }
.service-grid p { margin: 0; font-size: .94rem; }
.services-more { display: flex; justify-content: center; margin-top: 2.5rem; }

.services-page { background: var(--paper); }
.services-hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: 1px; min-height: 570px; background: var(--metal); }
.services-hero > div { display: flex; flex-direction: column; justify-content: center; padding: clamp(4rem, 8vw, 8rem) clamp(1.5rem, 7vw, 7rem); background: var(--paper); }
.services-hero h1 { font-size: clamp(3rem, 5.8vw, 5.8rem); }
.services-intro { display: flex; flex-direction: column; justify-content: center; padding: clamp(2.5rem, 5vw, 5rem); color: white; background: var(--ink); }
.services-intro .eyebrow { color: var(--gold-light); }
.services-intro p:last-child { margin: 0; font: 600 italic clamp(1.7rem, 2.6vw, 2.7rem)/1.2 var(--serif); }
.service-directory { display: grid; gap: 1.3rem; background: #edf1f2; }
.service-detail { display: grid; grid-template-columns: minmax(220px, .42fr) minmax(0, 1fr); background: white; border-top: 4px solid var(--gold); scroll-margin-top: 110px; }
.service-detail-heading { padding: clamp(2rem, 4vw, 3.5rem); border-right: 1px solid var(--line); }
.service-detail-heading span { color: var(--gold); font-size: .75rem; font-weight: 700; }
.service-detail-heading h2 { margin: 1rem 0 .7rem; font-size: clamp(2rem, 3.2vw, 3.4rem); }
.service-detail-heading p { margin: 0; color: var(--ink-soft); }
.service-detail ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem 2rem; align-content: center; margin: 0; padding: clamp(2rem, 4vw, 3.5rem); list-style: none; }
.service-detail li { position: relative; padding: .75rem 0 .75rem 1.25rem; border-bottom: 1px solid var(--line); }
.service-detail li::before { position: absolute; top: 1.18rem; left: 0; width: 6px; height: 6px; content: ""; background: var(--metal); border-radius: 50%; }

.about { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1px; padding-top: 0; padding-bottom: 0; background: var(--metal); }
.about-card { padding: clamp(3rem, 7vw, 7rem); background: white; }
.about-card h2 { margin: 0 0 2rem; font-size: clamp(2.4rem, 4.5vw, 4.5rem); }
.about-card > p:not(.eyebrow) { max-width: 680px; }
blockquote { display: flex; flex-direction: column; justify-content: center; margin: 0; padding: clamp(3rem, 7vw, 7rem); color: white; background: var(--ink); }
blockquote span { color: var(--gold); font: 600 5rem/1 var(--serif); }
blockquote p { margin: .5rem 0; font: 600 italic clamp(2rem, 3.5vw, 3.6rem)/1.15 var(--serif); }

.offices { background: #edf1f2; }
.section-heading.compact { display: block; }
.office-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.office-card { min-height: 410px; padding: clamp(2rem, 4vw, 3.5rem); background: white; border-top: 4px solid var(--gold); }
.office-card-dark { color: white; background: var(--ink); }
.office-top { display: flex; align-items: center; gap: 1rem; }
.office-top span { color: var(--gold); font-size: .75rem; }
.office-top h3 { margin: 0; color: inherit; font: 600 clamp(2rem, 3vw, 3.2rem) var(--serif); }
.office-card address { margin: 2rem 0; font-style: normal; font-size: 1.02rem; }
.office-card p { min-height: 76px; }
.office-card .attention-copy { min-height: 0; margin: 2rem 0 1rem; font-size: 1.02rem; }
.office-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.office-card-dark .office-links { border-color: rgba(255,255,255,.17); }
.office-links a { font-weight: 700; text-decoration: none; }

.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 6vw; padding: clamp(5rem, 9vw, 8rem) clamp(1.5rem, 7vw, 7rem); color: white; background: var(--gold); border-top: 3px solid var(--metal); }
.contact h2 { max-width: 500px; margin: 0; color: white; font-size: clamp(2.8rem, 5vw, 5rem); }
.contact .eyebrow { color: var(--gold-light); }
.contact-options { display: grid; }
.contact-options a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem .2rem; border-bottom: 1px solid rgba(255,255,255,.45); text-decoration: none; }
.contact-options a:hover { padding-left: .8rem; }
.contact-options span { font-size: .82rem; font-weight: 700; text-transform: uppercase; }
.contact-options strong { font-size: 1rem; }

footer { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; padding: 2.5rem clamp(1.5rem, 7vw, 7rem); color: white; background: #28282a; }
.footer-brand { padding: .25rem .6rem; background: white; border-radius: 2px; }
.footer-brand img { width: 190px; height: 54px; }
footer p { margin: 0; font-size: .82rem; }
.copyright { opacity: .65; }
.footer-meta { display: grid; justify-items: end; gap: .7rem; }
.legal-links { display: flex; gap: 1rem; }
.legal-links a { padding: 0; color: white; font-size: .78rem; font-weight: 600; text-decoration: none; opacity: .85; }
.legal-links a:hover { opacity: 1; text-decoration: underline; }

.legal-page { background: var(--paper); }
.legal-page .site-header { position: static; }
.back-link { font-size: .9rem; font-weight: 700; text-decoration: none; }
.legal-shell { width: min(880px, calc(100% - 3rem)); margin: 0 auto; padding: clamp(4rem, 8vw, 7rem) 0; }
.legal-shell h1 { margin-bottom: 1rem; font-size: clamp(2.8rem, 6vw, 5rem); }
.legal-updated { margin: 0 0 3rem; color: var(--ink-soft); font-size: .88rem; }
.legal-shell h2 { margin: 2.8rem 0 .8rem; font-size: clamp(1.55rem, 3vw, 2.1rem); letter-spacing: -.02em; }
.legal-shell h3 { margin: 1.8rem 0 .5rem; color: var(--ink); font-size: 1.12rem; }
.legal-shell p, .legal-shell li { max-width: 780px; }
.legal-shell ul { padding-left: 1.3rem; }
.legal-shell a { color: var(--gold); font-weight: 650; }
.legal-identity { padding: 1.5rem 1.7rem; background: white; border-left: 4px solid var(--gold); }
.legal-footer { grid-template-columns: 1fr auto; }

.location-hero { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(300px, .7fr); gap: 1px; min-height: 680px; background: var(--metal); }
.location-hero > div { display: flex; flex-direction: column; justify-content: center; padding: clamp(4rem, 8vw, 8rem) clamp(1.5rem, 7vw, 7rem); background: var(--paper); }
.location-hero h1 { font-size: clamp(3rem, 5.8vw, 5.8rem); }
.location-summary { display: flex; flex-direction: column; justify-content: center; padding: clamp(2.5rem, 5vw, 5rem); color: white; background: var(--ink); }
.location-summary .eyebrow { color: var(--gold-light); }
.location-summary ul { padding: 0; margin: 1rem 0 0; list-style: none; }
.location-summary li { padding: 1.1rem 0; border-top: 1px solid rgba(255,255,255,.18); font-weight: 600; }
.location-services { background: white; }
.remote-section { display: grid; grid-template-columns: .85fr 1.15fr; gap: 7vw; padding: clamp(5rem, 9vw, 8rem) clamp(1.5rem, 7vw, 7rem); background: #edf1f2; }
.remote-section h2 { max-width: 600px; margin: 0; font-size: clamp(2.5rem, 4.7vw, 4.7rem); }
.remote-section > div:last-child { align-self: center; max-width: 680px; font-size: 1.05rem; }

a, button { transition: all .2s ease; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

@media (max-width: 900px) {
  .menu-button { display: block; }
  nav { position: absolute; top: 88px; right: 0; left: 0; display: none; align-items: stretch; padding: 1.2rem; background: var(--paper); border-bottom: 1px solid var(--line); }
  nav.open { display: grid; }
  nav a { padding: .7rem; }
  .nav-contact { text-align: center; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-content { min-height: calc(100svh - 88px); }
  .hero-panel { min-height: 430px; }
  .section-heading { grid-template-columns: 1fr; row-gap: 1.5rem; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .about, .contact, .location-hero, .remote-section, .services-hero, .service-detail { grid-template-columns: 1fr; }
  .service-detail-heading { border-right: 0; border-bottom: 1px solid var(--line); }
  .location-hero { min-height: 0; }
  .office-grid { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { justify-self: center; }
  .footer-meta { justify-items: center; }
  .legal-links { position: static; display: flex; padding: 0; background: none; border: 0; }
  .legal-links a { padding: 0; }
  .legal-footer { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .site-header { min-height: 76px; }
  .brand img { width: 165px; height: 52px; }
  nav { top: 76px; }
  .hero-content { min-height: calc(100svh - 76px); padding-top: 3rem; padding-bottom: 3rem; }
  h1 { font-size: clamp(2.65rem, 14vw, 4.1rem); }
  .hero-actions { display: grid; }
  .continuity { margin-top: 2.5rem; }
  .trust-strip { grid-template-columns: 1fr; gap: 1.3rem; }
  .trust-strip div { justify-content: flex-start; padding-bottom: 1.3rem; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.35); }
  .service-grid { grid-template-columns: 1fr; }
  .service-grid article { min-height: 230px; }
  .service-detail ul { grid-template-columns: 1fr; }
  .contact-options a { align-items: flex-start; flex-direction: column; }
}

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