@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500;1,600&display=swap');

:root {
  color-scheme: light;
  --paper: #f7f4ef;
  --white: #fff;
  --ink: #29231f;
  --muted: #746b63;
  --brown: #6b432f;
  --brown-dark: #3d281d;
  --sand: #d8bd93;
  --copper: #a66e45;
  --whatsapp-green: #25d366;
  --line: #dfd7cd;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', 'Segoe UI', sans-serif;
  font-family: var(--sans);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 15px; line-height: 1.7; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { background: var(--sand); color: var(--ink); }

.site-header {
  height: 88px; padding: 0 6.2%; display: flex; align-items: center; justify-content: space-between;
  gap: 36px; background: rgba(247, 247, 243, .96); border-bottom: 1px solid rgba(32, 38, 34, .1);
  position: sticky; top: 0; z-index: 20; backdrop-filter: blur(12px);
}
.brand { display: flex; width: 150px; flex: 0 0 150px; }
.brand img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
.primary-nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 48px); margin-left: auto; }
.primary-nav a, .header-contact { font-size: 12px; font-weight: 600; letter-spacing: .03em; }
.primary-nav a { color: #5e554d; transition: color .2s ease; }
.primary-nav a:hover, .primary-nav a[aria-current="location"] { color: var(--copper); }
.header-contact { display: inline-flex; align-items: center; gap: 8px; color: var(--brown); border-left: 1px solid var(--line); padding-left: 28px; white-space: nowrap; }
.phone-icon { width: 15px; height: 15px; fill: currentColor; }
.header-contact span { color: var(--copper); }
.menu-toggle { display: none; }

.hero { min-height: 590px; display: grid; grid-template-columns: 1fr 1fr; position: relative; overflow: hidden; padding: 72px 8.3% 85px; background: var(--white); }
.hero-copy { align-self: center; z-index: 2; max-width: 600px; padding-bottom: 24px; }
.eyebrow { margin: 0 0 20px; color: var(--brown); font-size: 10px; line-height: 1.4; letter-spacing: .17em; text-transform: uppercase; font-weight: 700; }
.hero .eyebrow { display: flex; align-items: center; gap: 10px; }
.hero .eyebrow span { width: 24px; height: 1px; background: var(--copper); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, .lawyer-card h3, .education-heading h3 { font-family: var(--serif); font-weight: 500; letter-spacing: 0; }
h1 { margin-bottom: 24px; font-size: clamp(48px, 5.4vw, 76px); line-height: 1.12; }
h1 em, h2 em, h3 em { color: var(--brown); font-weight: 500; }
.hero-intro { max-width: 430px; margin-bottom: 30px; color: var(--muted); font-size: 15px; }
.button { display: inline-flex; align-items: center; gap: 24px; min-height: 50px; padding: 0 20px; font-size: 11px; font-weight: 700; transition: background .2s, color .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.button-dark { color: white; background: var(--brown); }
.button-dark:hover { background: var(--brown-dark); }
.button span:last-child { font-size: 16px; }
.hero-art { position: relative; align-self: center; justify-self: stretch; height: 390px; margin-left: 20px; background: #eee8df; overflow: hidden; }
.hero-art::before { content: ''; position: absolute; width: 390px; height: 390px; border: 1px solid rgba(107, 67, 47, .19); border-radius: 50%; top: 0; left: 50%; transform: translateX(-50%); }
.hero-art::after { content: ''; position: absolute; width: 300px; height: 300px; border: 1px solid rgba(180, 123, 83, .38); border-radius: 50%; top: 45px; left: 50%; transform: translateX(-50%); }
.hero-line { position: absolute; width: 1px; height: 100%; top: 0; left: 50%; background: rgba(107, 67, 47, .13); z-index: 1; }
.hero-line-two { transform: rotate(45deg); }
.hero-logo { position: absolute; z-index: 2; width: min(80%, 390px); top: 50%; left: 50%; transform: translate(-50%, -50%); mix-blend-mode: multiply; }
.hero-note { position: absolute; z-index: 3; left: 22px; right: 22px; bottom: 17px; display: flex; justify-content: space-between; color: var(--brown); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.hero-seal { position: absolute; z-index: 4; right: 18px; top: 18px; width: 62px; height: 62px; border: 1px solid var(--copper); border-radius: 50%; display: grid; place-content: center; text-align: center; color: var(--brown); font: 13px/1 var(--serif); }
.hero-seal span { color: var(--copper); font-size: 10px; }
.hero-bottom { position: absolute; bottom: 0; left: 8.3%; right: 8.3%; height: 54px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 10px; letter-spacing: .07em; }
.hero-bottom a { color: var(--brown); font-weight: 700; }
.hero-bottom a span { padding-left: 10px; color: var(--copper); font-size: 15px; }

.section-pad { padding: 112px 8.3%; }
.section-label { display: flex; gap: 18px; align-items: center; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.section-label span:first-child { color: var(--copper); }
.section-label span:last-child { display: flex; align-items: center; gap: 18px; }
.section-label span:last-child::before { content: ''; width: 30px; height: 1px; background: var(--line); }
.welcome { display: grid; grid-template-columns: 1fr 2.5fr; gap: 30px; }
.welcome-content { max-width: 850px; }
.welcome h2, .practice-heading h2, .contact h2 { margin: 0 0 30px; font-size: clamp(36px, 4vw, 54px); line-height: 1.2; }
.welcome-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 38px; color: var(--muted); font-size: 13px; }
.welcome-columns p { margin: 0; }
.ethics-note { display: flex; gap: 16px; align-items: flex-start; margin: 30px 0 0; max-width: 680px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--brown); font-family: var(--serif); font-size: 18px; line-height: 1.5; }
.ethics-mark { color: var(--copper); font: 48px/.8 var(--serif); }
.appointment-banner { display: grid; grid-template-columns: 1fr 3fr 55px; align-items: center; gap: 30px; padding: 32px 8.3%; background: var(--brown); color: white; transition: background .25s; }
.appointment-banner:hover { background: var(--brown-dark); }
.appointment-kicker { color: var(--sand); font-size: 10px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.appointment-title { max-width: 760px; font: 500 clamp(20px, 2vw, 28px)/1.35 var(--serif); }
.appointment-arrow { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; font-size: 20px; }

.firm { background: #f0ebe5; }
.firm-content { display: grid; grid-template-columns: 1.7fr .8fr; gap: 10%; margin: 45px 0 100px 16%; }
.firm-intro { max-width: 640px; }
.firm-intro h2 { max-width: 550px; margin: 0 0 25px; font-size: clamp(38px, 4.1vw, 56px); line-height: 1.17; }
.firm-intro > p:not(.eyebrow) { max-width: 640px; color: #635a52; font-size: 13px; }
.lawyer-card { align-self: start; margin-top: 34px; padding: 26px 26px 28px; background: var(--white); border-top: 2px solid var(--copper); }
.lawyer-monogram { margin-bottom: 32px; color: var(--brown); font: 500 52px/.9 var(--serif); }
.lawyer-monogram span { color: var(--copper); }
.lawyer-card .eyebrow { margin-bottom: 8px; font-size: 9px; }
.lawyer-card h3 { margin: 0 0 12px; font-size: 29px; line-height: 1.2; }
.lawyer-card > p:not(.eyebrow) { margin-bottom: 18px; color: var(--muted); font-size: 12px; }
.lawyer-card > a { color: var(--brown); font-size: 10px; font-weight: 700; }
.lawyer-card > a span { margin-left: 8px; color: var(--copper); }
.education { margin-left: 16%; }
.education-heading { display: flex; justify-content: space-between; align-items: end; max-width: 900px; padding-bottom: 24px; border-bottom: 1px solid #d8cfc4; }
.education-heading .eyebrow { margin-bottom: 8px; }
.education-heading h3 { margin: 0; font-size: 32px; }
.education-heading > span { color: var(--muted); font-size: 10px; letter-spacing: .1em; }
.timeline { display: grid; grid-template-columns: 1fr 1fr; column-gap: 42px; padding: 0; margin: 0; list-style: none; }
.timeline li { display: grid; grid-template-columns: 55px 1fr; gap: 14px; padding: 19px 0; border-bottom: 1px solid #e0d7cd; }
.timeline .year { color: var(--copper); font-size: 11px; font-weight: 700; }
.timeline p { margin: 0; color: #645b53; font-size: 11px; line-height: 1.6; }
.timeline p em { color: var(--brown); }

.practice { background: var(--white); }
.practice-heading { display: flex; justify-content: space-between; align-items: end; gap: 60px; margin: 45px 0 45px 16%; }
.practice-heading h2 { margin: 0; }
.practice-heading > p { max-width: 350px; margin: 0 5% 6px 0; color: var(--muted); font-size: 13px; }
.practice-list { margin-left: 16%; border-top: 1px solid var(--line); }
.practice-item { display: grid; grid-template-columns: .95fr 1.05fr; gap: 7%; padding: 28px 0; border-bottom: 1px solid var(--line); }
.practice-title { display: grid; grid-template-columns: 40px 1fr 28px; gap: 13px; align-items: center; align-self: start; }
.practice-number { color: var(--copper); font-size: 10px; font-weight: 700; }
.practice-title h3 { margin: 0; font: 500 28px/1.25 var(--serif); }
.practice-symbol { color: var(--brown); font-size: 19px; }
.practice-body p { max-width: 620px; margin: 0 0 13px; color: var(--muted); font-size: 12px; }
.practice-body ul { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 22px; padding: 0; margin: 0; list-style: none; }
.practice-body li { position: relative; padding-left: 13px; color: #4d453e; font-size: 11px; line-height: 1.55; }
.practice-body li::before { content: ''; position: absolute; top: .7em; left: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--copper); }

.contact { background: var(--brown); color: white; }
.contact .section-label { color: #ded4c8; }
.contact .section-label span:first-child { color: var(--sand); }
.contact .section-label span:last-child::before { background: rgba(255,255,255,.28); }
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 12%; margin: 45px 0 65px 16%; }
.contact-copy .eyebrow { color: var(--sand); }
.contact h2 { margin-bottom: 20px; font-size: clamp(44px, 5vw, 66px); }
.contact h2 em { color: var(--sand); }
.contact-copy > p:not(.eyebrow) { max-width: 370px; margin-bottom: 25px; color: #ded4c8; font-size: 13px; }
.button-light { background: var(--paper); color: var(--brown-dark); }
.button-light:hover { background: var(--sand); }
.whatsapp-icon { display: block; width: 18px; height: 18px; flex: 0 0 auto; color: var(--whatsapp-green); }
.contact-details { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-content: center; }
.contact-detail { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding-top: 15px; border-top: 1px solid rgba(255,255,255,.3); }
.contact-detail > span:first-child { color: var(--sand); font-size: 9px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.contact-detail address { font-size: 13px; font-style: normal; }
.contact-detail > a:not(.phone-link), .contact-detail > span:last-child { color: #ded4c8; font-size: 10px; }
.contact-detail a span { margin-left: 7px; color: var(--sand); }
.contact-detail .phone-link { font: 500 20px var(--serif); }
.contact-detail.email-detail { grid-column: 1 / -1; }
.contact-detail > .email-link { font-size: 12px; overflow-wrap: anywhere; }
.map-frame { position: relative; height: 340px; background: #dfd7cd; }
.map-frame iframe { display: block; width: 100%; height: 100%; border: 0; filter: grayscale(.75) contrast(.9); }
.map-caption { position: absolute; bottom: 14px; left: 14px; padding: 8px 12px; background: var(--paper); color: var(--brown); font-size: 9px; font-weight: 700; letter-spacing: .1em; }

.legal-page { min-height: calc(100vh - 170px); }
.legal-content { max-width: 820px; margin: 0 auto; }
.legal-content h1 { margin-bottom: 30px; font-size: 56px; }
.legal-content h2 { margin: 38px 0 12px; font-size: 27px; }
.legal-content p { max-width: 760px; color: var(--muted); }
.legal-content ul, .legal-content ol { max-width: 760px; padding-left: 24px; margin: 0 0 22px; color: var(--muted); }
.legal-content li { margin-bottom: 10px; padding-left: 4px; }
.legal-content a:not(.button) { color: var(--brown); text-decoration: underline; text-underline-offset: 3px; }
.legal-content .button { margin-top: 12px; }

.site-footer { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 18px 8.3%; background: #342319; color: #e0d4c8; font-size: 10px; }
.footer-brand { color: white; font: 500 22px var(--serif); }
.footer-brand span { color: var(--sand); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-legal a:hover { color: white; }
.site-footer > a:not(.footer-brand) { margin-left: auto; }
.copyright { color: #bfae9d; }
.floating-whatsapp { position: fixed; right: 22px; bottom: 22px; z-index: 12; display: grid; place-items: center; width: 52px; height: 52px; border: 2px solid white; border-radius: 50%; background: var(--brown); color: var(--whatsapp-green); font-size: 24px; box-shadow: 0 4px 18px rgba(0,0,0,.18); transition: transform .2s; }
.floating-whatsapp svg { display: block; width: 28px; height: 28px; }
.floating-whatsapp:hover { transform: translateY(-3px); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } .reveal { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .site-header { padding: 0 5%; gap: 20px; }
  .primary-nav { gap: 20px; }
  .hero { padding-right: 6%; padding-left: 6%; }
  .hero-art { height: 340px; margin-left: 0; }
  .hero-art::before { width: 340px; height: 340px; }
  .hero-art::after { width: 270px; height: 270px; top: 35px; }
  .hero-bottom { left: 6%; right: 6%; }
  .section-pad { padding: 85px 6%; }
  .welcome { grid-template-columns: .7fr 2.5fr; }
  .firm-content, .education, .practice-heading, .practice-list, .contact-grid { margin-left: 9%; }
  .firm-content { gap: 7%; }
  .practice-heading { gap: 30px; }
}
@media (max-width: 680px) {
  html { scroll-padding-top: 72px; }
  .site-header { height: 72px; padding: 0 20px; gap: 14px; }
  .brand { width: 120px; flex-basis: 120px; }
  .header-contact { margin-left: auto; padding-left: 12px; font-size: 10px; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 6px; order: 3; width: 38px; height: 38px; padding: 8px; border: 1px solid var(--line); background: transparent; cursor: pointer; }
  .menu-toggle span { display: block; width: 100%; height: 1px; background: var(--brown); transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .primary-nav { position: absolute; top: 71px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 18px; background: var(--paper); border-bottom: 1px solid var(--line); }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .hero { min-height: 0; grid-template-columns: 1fr; padding: 58px 22px 78px; }
  .hero-copy { padding: 0 0 30px; }
  h1 { font-size: clamp(44px, 11vw, 62px); }
  .hero-art { height: 290px; margin: 0; }
  .hero-art::before { width: 290px; height: 290px; }
  .hero-art::after { width: 230px; height: 230px; top: 30px; }
  .hero-logo { width: min(82%, 340px); }
  .hero-seal { width: 52px; height: 52px; }
  .hero-bottom { left: 22px; right: 22px; font-size: 8px; }
  .hero-bottom > span { max-width: 55%; }
  .section-pad { padding: 66px 22px; }
  .welcome { grid-template-columns: 1fr; gap: 25px; }
  .welcome h2, .practice-heading h2 { font-size: 39px; }
  .welcome-columns { grid-template-columns: 1fr; gap: 15px; }
  .ethics-note { font-size: 16px; }
  .appointment-banner { grid-template-columns: 1fr 42px; gap: 8px 15px; padding: 25px 22px; }
  .appointment-kicker { grid-column: 1; }
  .appointment-title { grid-column: 1; font-size: 21px; }
  .appointment-arrow { grid-column: 2; grid-row: 1 / span 2; width: 40px; height: 40px; }
  .firm-content { grid-template-columns: 1fr; gap: 25px; margin: 35px 0 65px; }
  .firm-intro h2 { font-size: 40px; }
  .lawyer-card { margin: 0; max-width: 420px; }
  .education { margin: 0; }
  .education-heading { align-items: start; gap: 12px; }
  .education-heading h3 { font-size: 27px; }
  .education-heading > span { padding-top: 7px; white-space: nowrap; font-size: 9px; }
  .timeline { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 48px 1fr; }
  .practice-heading { display: block; margin: 35px 0; }
  .practice-heading h2 { margin-bottom: 20px; }
  .practice-heading > p { margin: 0; }
  .practice-list { margin: 0; }
  .practice-item { grid-template-columns: 1fr; gap: 14px; padding: 23px 0; }
  .practice-title h3 { font-size: 26px; }
  .practice-body ul { grid-template-columns: 1fr; gap: 7px; }
  .contact-grid { grid-template-columns: 1fr; gap: 38px; margin: 36px 0 42px; }
  .contact h2 { font-size: 50px; }
  .contact-details { gap: 20px; }
  .map-frame { height: 280px; }
  .legal-content h1 { font-size: 40px; }
  .legal-content h2 { font-size: 24px; }
  .site-footer { flex-wrap: wrap; padding: 20px 22px; gap: 12px 20px; }
  .site-footer > span:nth-child(2) { flex: 1; }
  .footer-legal { order: 5; width: 100%; }
  .site-footer > a:not(.footer-brand) { margin-left: 0; }
  .copyright { margin-left: auto; }
  .floating-whatsapp { right: 14px; bottom: 14px; width: 48px; height: 48px; }
}
