:root {
  --ink: #111413;
  --ink-soft: #191c1a;
  --paper: #f2eee5;
  --paper-bright: #faf8f3;
  --brass: #b3905f;
  --brass-light: #d1b27f;
  --wine: #741d29;
  --line-dark: rgba(255,255,255,.14);
  --line-light: rgba(17,20,19,.16);
  --serif: 'Italiana', 'Times New Roman', serif;
  --sans: 'DM Sans', Arial, sans-serif;
  --pad: clamp(24px, 5vw, 78px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: white; font-family: var(--sans); font-size: 16px; line-height: 1.55; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--paper); color: var(--ink); padding: 10px 16px; }
.skip-link:focus { top: 12px; }

.site-header { position: fixed; z-index: 50; inset: 0 0 auto; height: 80px; display: grid; grid-template-columns: 138px 1fr auto; align-items: center; padding: 0 var(--pad); border-bottom: 1px solid var(--line-dark); background: linear-gradient(180deg, rgba(17,20,19,.94), rgba(17,20,19,.72)); backdrop-filter: blur(15px); transition: background .3s ease, height .3s ease; }
.site-header.is-scrolled { height: 70px; background: rgba(17,20,19,.97); }
.brand { width: 92px; height: 72px; display: flex; align-items: center; }
.brand-crop { width: 92px; height: 72px; display: flex; align-items: center; }
.brand-crop img { display: block; width: 92px; height: auto; max-height: 70px; object-fit: contain; }
.main-nav { display: flex; justify-content: center; align-items: center; gap: clamp(21px, 2.7vw, 43px); }
.main-nav a { font-family: var(--serif); font-size: 15px; position: relative; }
.main-nav a::after { content: ''; position: absolute; height: 1px; width: 0; background: var(--brass-light); left: 0; bottom: -9px; transition: width .25s ease; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { width: 100%; }
.header-cta, .button { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 50px; padding: 0 25px; border: 1px solid rgba(255,255,255,.38); font-family: var(--serif); transition: transform .25s ease, border-color .25s ease, background .25s ease; }
.header-cta { background: var(--wine); border-color: rgba(255,255,255,.2); min-width: 200px; }
.header-cta:hover, .button:hover { transform: translateY(-2px); border-color: var(--brass-light); }
.menu-toggle { display: none; }

.hero { min-height: 760px; height: 100svh; max-height: 940px; display: grid; grid-template-columns: 44% 56%; padding-top: 80px; position: relative; background: var(--ink); }
.hero-copy { z-index: 2; display: flex; flex-direction: column; justify-content: center; padding: 55px 32px 38px var(--pad); background: linear-gradient(90deg, var(--ink) 76%, rgba(17,20,19,.45) 100%); }
.eyebrow { text-transform: uppercase; letter-spacing: .28em; font-size: 12px; font-weight: 500; display: flex; align-items: center; gap: 14px; margin: 0 0 24px; color: var(--brass-light); }
.eyebrow span { width: 40px; height: 1px; background: currentColor; }
.hero h1, h2, h3, p { margin-top: 0; }
.hero h1 { font-family: var(--serif); font-size: clamp(52px, 5.1vw, 82px); line-height: .98; letter-spacing: -.035em; font-weight: 400; margin-bottom: 24px; }
.hero h1 em { color: var(--brass-light); font-weight: 400; }
.hero-lead { max-width: 570px; font-size: clamp(17px, 1.45vw, 22px); font-weight: 300; color: rgba(255,255,255,.84); margin-bottom: 30px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.button-primary { background: var(--wine); border-color: rgba(255,255,255,.18); }
.button-ghost { background: transparent; }
.notary-signature { display: flex; align-items: center; gap: 14px; margin: 28px 0 0; font-family: var(--serif); font-size: 14px; letter-spacing: .04em; color: rgba(255,255,255,.78); }
.notary-signature span { width: 34px; height: 1px; background: var(--brass); }
.hero-visual { position: relative; background-image: linear-gradient(90deg, rgba(17,20,19,.32), rgba(17,20,19,0) 25%), url('assets/boardroom-ai.webp'); background-size: cover; background-position: center; overflow: hidden; }
.hero-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,20,19,.05), rgba(17,20,19,.25)); }
.hero-number { position: absolute; z-index: 1; font-family: var(--serif); font-size: clamp(230px, 28vw, 470px); line-height: 1; top: 9%; left: 4%; color: rgba(225,216,199,.2); letter-spacing: -.09em; }
.hero-location { position: absolute; z-index: 2; right: var(--pad); bottom: 28px; text-transform: uppercase; letter-spacing: .3em; font-size: 11px; }
.scroll-cue { position: absolute; z-index: 3; bottom: 18px; left: calc(44% - 16px); width: 32px; height: 54px; border: 1px solid rgba(255,255,255,.35); border-radius: 20px; }
.scroll-cue span { position: absolute; top: 9px; left: 50%; width: 3px; height: 3px; background: white; border-radius: 50%; animation: scroll 1.8s infinite; }
@keyframes scroll { 0% { transform: translate(-50%,0); opacity: 0; } 25% { opacity: 1; } 80% { transform: translate(-50%,24px); opacity: 0; } 100% { opacity: 0; } }

section { scroll-margin-top: 70px; }
.section-light { color: var(--ink); background: var(--paper); }
.section-dark { background: var(--ink); color: white; }
.practices { padding: 95px var(--pad) 112px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 50px; margin-bottom: 52px; }
.section-heading h2, .feature-intro h2, .split-title h2, .people-panel h2, .firm-copy h2, .contact-copy h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.03em; line-height: 1.05; margin-bottom: 0; }
.section-heading h2 { font-size: clamp(45px, 5vw, 74px); }
.eyebrow-dark { color: #765e3d; }
.heading-note { max-width: 420px; color: #585954; font-size: 15px; }
.section-dark .heading-note { color: rgba(255,255,255,.58); }
.practice-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.practice-card { padding: 34px 34px 30px; min-height: 310px; display: flex; flex-direction: column; border-right: 1px solid var(--line-light); transition: background .25s ease, color .25s ease, transform .25s ease; }
.practice-card:last-child { border-right: 0; }
.practice-card:hover { background: var(--ink); color: white; transform: translateY(-7px); }
.card-number { font-size: 12px; letter-spacing: .2em; color: var(--brass); margin-bottom: 50px; }
.practice-card h3 { font-family: var(--serif); font-size: clamp(26px, 2.3vw, 36px); font-weight: 400; margin-bottom: 20px; }
.practice-card > p:not(.card-number) { color: #5b5c57; max-width: 340px; }
.practice-card:hover > p:not(.card-number) { color: rgba(255,255,255,.64); }
.practice-card > span { margin-top: auto; display: flex; justify-content: space-between; font-size: 13px; text-transform: uppercase; letter-spacing: .13em; }

.feature-section { padding: 120px var(--pad); display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(65px, 9vw, 150px); }
.feature-intro { position: sticky; top: 120px; align-self: start; }
.feature-intro h2 { font-size: clamp(58px, 6.6vw, 100px); margin-bottom: 25px; }
.feature-intro > p:not(.eyebrow) { color: rgba(255,255,255,.62); font-size: 17px; max-width: 470px; }
.text-link { display: inline-flex; gap: 18px; align-items: center; border-bottom: 1px solid var(--brass); padding: 11px 0; margin-top: 20px; font-size: 14px; text-transform: uppercase; letter-spacing: .12em; }
.service-list article { display: grid; grid-template-columns: 46px 1fr; gap: 24px; padding: 28px 0 30px; border-top: 1px solid var(--line-dark); }
.service-list article:last-child { border-bottom: 1px solid var(--line-dark); }
.service-list article > span { font-size: 12px; color: var(--brass-light); letter-spacing: .2em; }
.service-list h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.3vw, 35px); margin-bottom: 7px; }
.service-list p { color: rgba(255,255,255,.52); max-width: 580px; margin-bottom: 0; }

.split-section { padding: 115px var(--pad); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(60px, 9vw, 150px); }
.split-title h2 { font-size: clamp(48px, 5.5vw, 82px); max-width: 700px; }
.large-copy { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 38px); line-height: 1.35; color: #30312e; }
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 38px; }
.tag-list span { border: 1px solid var(--line-light); padding: 10px 15px; font-size: 13px; }

.people-section { position: relative; min-height: 720px; display: grid; grid-template-columns: 1fr 1fr; background: radial-gradient(circle at 18% 25%, #33352f 0, #171a18 38%, #101211 72%); overflow: hidden; }
.people-section::before { content: '102'; position: absolute; font-family: var(--serif); font-size: min(43vw, 620px); line-height: .8; color: rgba(255,255,255,.025); right: -3%; bottom: -4%; }
.people-panel { padding: 125px var(--pad); align-self: center; z-index: 1; }
.people-panel h2 { font-size: clamp(50px, 6vw, 92px); max-width: 760px; margin-bottom: 28px; }
.people-panel > p:not(.eyebrow) { max-width: 540px; color: rgba(255,255,255,.63); font-size: 17px; }
.people-services { z-index: 1; padding: 105px var(--pad) 105px 20px; display: flex; flex-direction: column; justify-content: center; }
.people-services div { display: grid; grid-template-columns: 45px 1fr; gap: 20px; align-items: center; padding: 25px 0; border-top: 1px solid var(--line-dark); }
.people-services div:last-child { border-bottom: 1px solid var(--line-dark); }
.people-services span { color: var(--brass-light); font-size: 12px; }
.people-services h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(23px, 2.2vw, 34px); }

.firm-section { padding: 120px var(--pad); display: grid; grid-template-columns: .7fr 1.25fr .75fr; gap: 60px; align-items: center; position: relative; overflow: hidden; }
.firm-mark { font-family: var(--serif); font-size: clamp(150px, 18vw, 280px); color: transparent; -webkit-text-stroke: 1px rgba(17,20,19,.16); line-height: 1; }
.firm-copy h2 { font-size: clamp(49px, 5vw, 78px); margin-bottom: 28px; }
.firm-copy > p:not(.eyebrow) { color: #555750; max-width: 650px; }
.notary-card { border-left: 1px solid var(--line-light); padding-left: 35px; }
.notary-card p { color: #765e3d; text-transform: uppercase; letter-spacing: .2em; font-size: 12px; }
.notary-card h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.6vw, 39px); line-height: 1.18; }
.notary-card span { color: #66675f; font-size: 14px; }

.visual-section { padding: 105px var(--pad) 115px; }
.visual-heading { max-width: 1240px; margin: 0 auto 42px; display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.visual-heading h2 { max-width: 780px; margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(43px, 4.6vw, 70px); letter-spacing: -.03em; line-height: 1.05; }
.visual-map-link { flex: 0 0 auto; color: var(--ink); }
.visual-grid { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.visual-card { position: relative; aspect-ratio: 3 / 2; margin: 0; overflow: hidden; background: #232522; }
.visual-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10,12,11,.78)); pointer-events: none; }
.visual-card img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.visual-card:hover img { transform: scale(1.025); }
.visual-card figcaption { position: absolute; z-index: 1; left: 24px; right: 24px; bottom: 20px; display: flex; justify-content: space-between; align-items: end; gap: 18px; color: white; }
.visual-card figcaption span { font-family: var(--serif); font-size: clamp(23px, 2.2vw, 34px); line-height: 1; }
.visual-card figcaption small { font-size: 11px; text-transform: uppercase; letter-spacing: .17em; color: rgba(255,255,255,.72); }

.process { padding: 110px var(--pad); }
.process-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line-dark); }
.process-grid li { padding: 38px 35px 22px 0; min-height: 210px; border-right: 1px solid var(--line-dark); }
.process-grid li:not(:first-child) { padding-left: 35px; }
.process-grid li:last-child { border-right: 0; }
.process-grid span { color: var(--brass-light); font-size: 12px; letter-spacing: .2em; }
.process-grid h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; margin: 27px 0 8px; }
.process-grid p { color: rgba(255,255,255,.55); max-width: 310px; }

.contact-section { padding: 120px var(--pad); display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(60px, 10vw, 170px); background: var(--ink-soft); }
.contact-copy h2 { font-size: clamp(52px, 6.2vw, 94px); margin-bottom: 28px; }
.contact-copy > p:not(.eyebrow) { color: rgba(255,255,255,.58); max-width: 560px; font-size: 17px; margin-bottom: 30px; }
.contact-details { font-style: normal; align-self: center; }
.contact-details div { padding: 25px 0; border-top: 1px solid var(--line-dark); }
.contact-details div:last-child { border-bottom: 1px solid var(--line-dark); }
.contact-details p { color: var(--brass-light); text-transform: uppercase; letter-spacing: .18em; font-size: 11px; margin-bottom: 9px; }
.contact-details a, .contact-details span { font-family: var(--serif); font-size: clamp(20px, 2vw, 29px); line-height: 1.35; }
.contact-details a:hover { color: var(--brass-light); }

.site-footer { min-height: 110px; padding: 28px var(--pad) calc(110px + env(safe-area-inset-bottom, 0px)); display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 45px; border-top: 1px solid var(--line-dark); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.48); }
.footer-brand { font-family: var(--serif); font-size: 20px; letter-spacing: .05em; color: white; text-transform: none; }
.footer-brand b { color: var(--brass-light); font-weight: 400; }
.site-footer p { margin: 0; }

.whatsapp-button { position: fixed; z-index: 40; right: max(20px, env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 14px 20px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; background: #0c6b48; color: #fff; font-size: 1rem; font-weight: 600; line-height: 1.4; box-shadow: 0 6px 24px rgba(0,0,0,.28); transition: background .2s ease, transform .2s ease; }
.whatsapp-button svg { flex: 0 0 26px; }
.whatsapp-button:hover { background: #085539; transform: translateY(-2px); }
.whatsapp-button:focus-visible { outline: 3px solid var(--brass-light); outline-offset: 4px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 85px 1fr auto; }
  .main-nav { position: fixed; inset: 70px 0 auto; padding: 35px var(--pad) 40px; background: rgba(17,20,19,.98); flex-direction: column; align-items: flex-start; transform: translateY(-120%); opacity: 0; pointer-events: none; transition: .35s ease; }
  .main-nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .main-nav a { font-size: 30px; }
  .menu-toggle { display: block; justify-self: end; width: 44px; height: 44px; background: transparent; border: 0; position: relative; }
  .menu-toggle span { position: absolute; left: 8px; right: 8px; height: 1px; background: white; transition: .25s ease; }
  .menu-toggle span:first-child { top: 17px; }
  .menu-toggle span:last-child { top: 26px; }
  .menu-toggle[aria-expanded='true'] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded='true'] span:last-child { transform: translateY(-5px) rotate(-45deg); }
  .header-cta { display: none; }
  .hero { height: auto; max-height: none; min-height: 860px; grid-template-columns: 1fr; }
  .hero-copy { min-height: 670px; padding-top: 80px; background: linear-gradient(180deg, rgba(17,20,19,.92), rgba(17,20,19,.72)); }
  .hero-visual { position: absolute; inset: 80px 0 0; z-index: 0; background-position: 66% center; }
  .hero-visual::before { content: ''; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(17,20,19,.96) 0%, rgba(17,20,19,.74) 55%, rgba(17,20,19,.28)); }
  .hero-number { top: 41%; left: 41%; font-size: 40vw; }
  .hero-location { right: 24px; }
  .scroll-cue { display: none; }
  .practice-grid { grid-template-columns: 1fr; }
  .practice-card { border-right: 0; border-bottom: 1px solid var(--line-light); min-height: 250px; }
  .practice-card:last-child { border-bottom: 0; }
  .feature-section, .split-section, .people-section, .firm-section, .contact-section { grid-template-columns: 1fr; }
  .feature-intro { position: static; }
  .people-services { padding: 0 var(--pad) 100px; }
  .firm-mark { position: absolute; right: -20px; top: 20px; opacity: .55; }
  .firm-copy, .notary-card { position: relative; z-index: 1; }
  .notary-card { margin-left: 0; }
  .visual-heading { align-items: start; }
}

@media (max-width: 680px) {
  :root { --pad: 22px; }
  .site-header { height: 70px; }
  .brand, .brand-crop { width: 76px; height: 60px; }
  .brand-crop { transform: none; }
  .brand-crop img { width: 76px; max-height: 58px; }
  .hero { padding-top: 70px; min-height: 790px; }
  .hero-visual { inset: 70px 0 0; }
  .hero-copy { min-height: 640px; padding-top: 75px; }
  .hero h1 { font-size: clamp(46px, 13.2vw, 64px); }
  .hero-actions { align-items: stretch; }
  .button { width: 100%; }
  .notary-signature { font-size: 13px; }
  .hero-location { letter-spacing: .16em; font-size: 9px; }
  .practices, .feature-section, .split-section, .people-panel, .firm-section, .process, .contact-section { padding-top: 82px; padding-bottom: 82px; }
  .section-heading { display: block; }
  .heading-note { margin-top: 24px; }
  .practice-card { padding: 28px 20px; }
  .card-number { margin-bottom: 34px; }
  .service-list article { grid-template-columns: 34px 1fr; gap: 12px; }
  .split-section { gap: 38px; }
  .people-panel { padding-bottom: 55px; }
  .firm-section { gap: 38px; }
  .notary-card { padding-left: 22px; }
  .visual-section { padding-top: 78px; padding-bottom: 82px; }
  .visual-heading { display: block; margin-bottom: 30px; }
  .visual-map-link { margin-top: 24px; }
  .visual-grid { grid-template-columns: 1fr; gap: 14px; }
  .visual-card { aspect-ratio: 3 / 2; }
  .visual-card figcaption { left: 17px; right: 17px; bottom: 15px; }
  .visual-card figcaption small { font-size: 10px; letter-spacing: .11em; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid li, .process-grid li:not(:first-child) { border-right: 0; border-bottom: 1px solid var(--line-dark); padding: 28px 0; min-height: auto; }
  .site-footer { grid-template-columns: 1fr; gap: 12px; padding-top: 35px; padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px)); }
}

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