:root {
  --ink: #0a0a0a;
  --paper: #f7f7f5;
  --white: #ffffff;
  --mist: #e6e6e2;
  --graphite: #595959;
  --muted: #858585;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --page: min(94vw, 1480px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: .5rem;
  left: .5rem;
  padding: .7rem 1rem;
  background: var(--white);
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  width: var(--page);
  min-height: 84px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  border-bottom: 1px solid rgba(10, 10, 10, .16);
  background: rgba(247, 247, 245, .9);
  backdrop-filter: blur(18px);
  transition: min-height .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled { min-height: 68px; box-shadow: 0 12px 34px rgba(0,0,0,.06); }
.brand { display: inline-flex; align-items: center; gap: .85rem; width: max-content; }
.brand-logo {
  width: 48px;
  height: 48px;
  display: block;
  overflow: hidden;
  flex: 0 0 auto;
  border: 1px solid rgba(10,10,10,.18);
  border-radius: 50%;
  background: var(--white);
}
.brand-logo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; filter: grayscale(1); }
.brand-copy { display: grid; line-height: 1.15; }
.brand-copy strong { font-size: .92rem; letter-spacing: .02em; }
.brand-copy small { margin-top: .25rem; color: var(--graphite); font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; }
.desktop-nav { display: flex; align-items: center; gap: clamp(1.2rem, 3vw, 2.7rem); font-size: .84rem; }
.desktop-nav a, .text-link { border-bottom: 1px solid transparent; transition: border-color .25s ease; }
.desktop-nav a:hover, .desktop-nav a:focus-visible, .text-link:hover, .text-link:focus-visible { border-color: currentColor; }
.header-cta { justify-self: end; padding: .68rem 1.15rem; border: 1px solid var(--ink); font-size: .78rem; font-weight: 600; transition: background .25s, color .25s; }
.header-cta:hover, .header-cta:focus-visible { background: var(--ink); color: var(--white); }

.hero {
  width: var(--page);
  min-height: calc(100svh - 84px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  align-items: center;
  column-gap: clamp(2rem, 5vw, 5rem);
  row-gap: 0;
  padding: clamp(3rem, 5vw, 4.75rem) 0;
}
.hero-copy { position: relative; z-index: 1; grid-column: 1; grid-row: 1; align-self: end; }
.eyebrow, .section-index {
  margin: 0 0 1.6rem;
  color: var(--graphite);
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .18em;
}
h1, h2 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: .93; letter-spacing: -.035em; }
h1 { max-width: 820px; font-size: clamp(4.5rem, 7.25vw, 7.4rem); }
h1 em { font-weight: 400; color: var(--graphite); }
.hero-lead { max-width: 590px; margin: 2rem 0 0; color: var(--graphite); font-size: clamp(1rem, 1.3vw, 1.25rem); }
.hero-actions { margin-top: 2.2rem; display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: .75rem 1.4rem; font-size: .86rem; font-weight: 600; border: 1px solid var(--ink); transition: transform .25s, background .25s, color .25s; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-dark { color: var(--white); background: var(--ink); }
.button-dark:hover, .button-dark:focus-visible { color: var(--ink); background: transparent; }
.text-link { font-size: .86rem; font-weight: 600; }
.hero-facts { grid-column: 1; grid-row: 2; align-self: start; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; width: 100%; max-width: 610px; margin: clamp(3.5rem, 5vw, 4.5rem) 0 0; padding: 1.3rem 0 0; border-top: 1px solid rgba(10,10,10,.18); }
.hero-facts div { display: grid; gap: .15rem; }
.hero-facts dt { font-family: var(--serif); font-size: 2rem; line-height: 1; }
.hero-facts dd { margin: 0; color: var(--graphite); font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; }

.hero-portrait { position: relative; grid-column: 2; grid-row: 1 / span 2; align-self: center; justify-self: center; width: min(88%, 440px); }
.portrait-frame { position: relative; overflow: hidden; background: #d8d8d6; }
.portrait-frame::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); pointer-events: none; }
.portrait-frame img { width: 100%; height: auto; object-fit: cover; object-position: center 30%; filter: grayscale(1) contrast(1.03); transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.hero-portrait:hover .portrait-frame img { transform: scale(1.025); }
.portrait-caption { position: absolute; right: 1.2rem; bottom: 1rem; margin: 0; padding: .8rem 1rem; color: var(--white); background: rgba(10,10,10,.82); font-family: var(--serif); font-size: 1.25rem; line-height: 1.05; backdrop-filter: blur(12px); }
.portrait-caption span { font-family: var(--sans); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; }

.practice-intro { background: var(--ink); color: var(--white); padding: clamp(4.5rem, 9vw, 9rem) max(3vw, calc((100vw - 1480px)/2)); display: grid; grid-template-columns: .55fr 1.45fr; gap: 3rem; }
.practice-intro .section-index { color: #aaa; }
.practice-intro h2 { max-width: 970px; font-size: clamp(3rem, 6vw, 6.4rem); }
.practice-intro div > p { max-width: 650px; margin: 2rem 0 0 auto; color: #bdbdbd; }

.services-visual {
  position: relative;
  width: var(--page);
  margin: clamp(3rem, 6vw, 6rem) auto;
  overflow: hidden;
  background: #ccc;
}
.services-visual img { width: 100%; height: clamp(340px, 46vw, 690px); object-fit: cover; filter: grayscale(1) contrast(1.04); }
.services-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.56)); pointer-events: none; }
.services-visual figcaption { position: absolute; z-index: 1; left: clamp(1.25rem, 4vw, 4rem); bottom: clamp(1.25rem, 4vw, 3.4rem); color: var(--white); font-family: var(--serif); font-size: clamp(1.8rem, 3.5vw, 4rem); line-height: 1; }

.section-heading { display: grid; grid-template-columns: .55fr 1.45fr; gap: 3rem; align-items: start; }
.section-heading h2 { font-size: clamp(3.3rem, 6vw, 6.2rem); }
.section-heading > p:last-child { grid-column: 2; max-width: 660px; margin: 1.7rem 0 0; color: var(--graphite); }
.section-heading.compact { grid-template-columns: .55fr 1.45fr; }
.section-heading.compact h2 { max-width: 940px; font-size: clamp(3.1rem, 5vw, 5.3rem); }

.family-section, .other-practices, .process-section {
  width: var(--page);
  margin: 0 auto;
  padding: clamp(4.5rem, 10vw, 10rem) 0;
}
.service-list {
  margin: clamp(4rem, 8vw, 7rem) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(2rem, 8vw, 8rem);
}
.service-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 1rem;
  align-items: start;
  min-height: 104px;
  padding: 1.3rem 0;
  border-top: 1px solid rgba(10,10,10,.18);
}
.service-list li > span { color: var(--muted); font-family: var(--serif); font-size: 1.05rem; }
.service-list p { margin: 0; font-size: clamp(1rem, 1.15vw, 1.16rem); line-height: 1.5; }
.service-list strong { font-weight: 600; }

.other-practices { padding-top: 1rem; }
.practice-cards { display: grid; grid-template-columns: 1.2fr .9fr .9fr; margin-top: clamp(3.5rem, 7vw, 6.5rem); border: 1px solid rgba(10,10,10,.18); }
.practice-card { min-height: 520px; padding: clamp(2rem, 4vw, 4rem); display: flex; flex-direction: column; border-right: 1px solid rgba(10,10,10,.18); }
.practice-card:last-child { border-right: 0; }
.practice-card.dark { color: var(--white); background: var(--ink); }
.card-number { color: var(--muted); font-family: var(--serif); }
.practice-card h3 { margin: auto 0 1.4rem; font-family: var(--serif); font-size: clamp(2.6rem, 4vw, 4.4rem); font-weight: 400; line-height: .96; }
.practice-card p { margin: 0; color: var(--graphite); }
.practice-card.dark p { color: #bdbdbd; }
.practice-card ul { margin: 1.7rem 0 0; padding: 0; list-style: none; color: var(--graphite); }
.practice-card li { padding: .55rem 0; border-top: 1px solid rgba(10,10,10,.13); }
.practice-card a { width: max-content; margin-top: 2rem; padding-bottom: .12rem; border-bottom: 1px solid currentColor; font-size: .84rem; font-weight: 600; }

.profile-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #dededb;
}
.profile-statement, .profile-details { min-height: 720px; padding: clamp(3rem, 7vw, 7.5rem) max(5vw, calc((100vw - 1480px)/2)); }
.profile-statement { display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid rgba(10,10,10,.18); }
.profile-statement blockquote { max-width: 650px; margin: 4rem 0 0; font-family: var(--serif); font-size: clamp(3.2rem, 5vw, 6rem); line-height: .98; letter-spacing: -.025em; }
.profile-kicker { margin: 0 0 1.4rem; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.profile-details h2 { max-width: 660px; font-size: clamp(3.2rem, 5vw, 5.7rem); }
.profile-details > p:not(.profile-kicker) { max-width: 620px; margin: 2rem 0 0; color: var(--graphite); }
.credentials { margin-top: clamp(4rem, 8vw, 8rem); }
.credentials div { display: grid; grid-template-columns: 115px 1fr; gap: 1.5rem; padding: 1.2rem 0; border-top: 1px solid rgba(10,10,10,.2); }
.credentials span { color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; }
.credentials strong { font-size: .95rem; font-weight: 500; }

.process-list { margin: clamp(3.5rem, 7vw, 6.5rem) 0 0; padding: 0; list-style: none; border-top: 1px solid rgba(10,10,10,.18); }
.process-list li { display: grid; grid-template-columns: .55fr 1.45fr; gap: 3rem; padding: 2rem 0; border-bottom: 1px solid rgba(10,10,10,.18); }
.process-list > li > span { font-family: var(--serif); font-size: 1.2rem; color: var(--muted); }
.process-list h3 { margin: 0; font-family: var(--serif); font-size: clamp(2rem, 3vw, 3.3rem); font-weight: 400; line-height: 1; }
.process-list p { margin: .65rem 0 0; color: var(--graphite); }

.contact-section { display: grid; grid-template-columns: .95fr 1.05fr; min-height: 900px; background: var(--white); }
.contact-visual { position: relative; min-height: 760px; overflow: hidden; color: var(--white); background: var(--ink); }
.contact-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.8)); }
.contact-visual > img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.contact-visual-copy { position: absolute; z-index: 1; inset: auto clamp(2rem, 6vw, 6rem) clamp(3rem, 7vw, 7rem); max-width: 700px; }
.contact-visual-copy .section-index { color: #bcbcbc; }
.contact-visual-copy h2 { font-size: clamp(4rem, 7vw, 7.5rem); }
.contact-visual-copy p:not(.section-index) { max-width: 530px; color: #d4d4d4; }
.contact-visual-copy .contact-location { margin-top: 1.4rem; color: var(--white); font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.contact-visual-copy a { display: inline-block; margin-top: 1.4rem; padding-bottom: .1rem; border-bottom: 1px solid; font-weight: 600; }

.contact-form-wrap { display: flex; align-items: center; padding: clamp(3rem, 7vw, 8rem); }
.contact-form { width: min(100%, 720px); margin: auto; }
.form-row { display: grid; margin-bottom: 2rem; }
.form-row.two-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.7rem; }
.contact-form label > span { display: block; margin-bottom: .6rem; font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.contact-form input:not([type="checkbox"]), .contact-form select, .contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: .7rem 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid #a8a8a8;
  border-radius: 0;
  font: inherit;
  outline: 0;
  transition: border-color .2s, box-shadow .2s;
}
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--ink); box-shadow: 0 1px 0 var(--ink); }
.contact-form textarea::placeholder { color: #999; }
.field-help { margin-top: .55rem; color: var(--muted); font-size: .72rem; }
.contact-form [aria-invalid="true"] { border-color: #8b1d1d !important; }
.consent { display: flex; align-items: flex-start; gap: .7rem; color: var(--graphite); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: .2rem 0 0; accent-color: var(--ink); }
.consent span { margin: 0 !important; font-size: .77rem !important; text-transform: none !important; letter-spacing: 0 !important; }
.antispam-row { margin-top: 2rem; margin-bottom: 0; }
.contact-form label > .captcha-control { display: flex; align-items: center; gap: 1rem; margin: 0; font-size: inherit; font-weight: 400; letter-spacing: normal; text-transform: none; }
.captcha-control strong { flex: 0 0 auto; min-width: 76px; font-family: var(--serif); font-size: 1.65rem; font-weight: 400; line-height: 1; }
.contact-form .captcha-answer { width: 110px; min-height: 44px; padding: .45rem .7rem; border: 1px solid #a8a8a8; text-align: center; }
.contact-form .captcha-answer:focus { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.contact-form .captcha-answer:disabled { cursor: wait; opacity: .55; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-submit { display: flex; align-items: center; gap: 1.5rem; margin-top: 2.3rem; }
.contact-form button { cursor: pointer; font-family: var(--sans); }
.contact-form button:disabled { cursor: wait; opacity: .55; }
.form-note { margin: 0; color: var(--muted); font-size: .72rem; }
.form-status { min-height: 1.6em; margin: 1rem 0 0; font-size: .86rem; font-weight: 600; }
.form-status.success { color: #205b36; }
.form-status.error { color: #8b1d1d; }

.whatsapp-float {
  position: fixed;
  z-index: 70;
  right: clamp(1rem, 2.2vw, 2.2rem);
  bottom: clamp(1rem, 2.2vw, 2.2rem);
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: #25d366;
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .22);
  transition: transform .25s ease, box-shadow .25s ease;
}
.whatsapp-float svg { width: 33px; height: 33px; fill: currentColor; }
.whatsapp-float:hover, .whatsapp-float:focus-visible { transform: translateY(-3px) scale(1.04); box-shadow: 0 16px 36px rgba(0, 0, 0, .27); }

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  padding: 3rem max(3vw, calc((100vw - 1480px)/2));
  color: #bdbdbd;
  background: var(--ink);
  font-size: .72rem;
}
.footer-brand { display: flex; align-items: center; gap: .9rem; color: var(--white); }
.footer-logo { width: 46px; height: 46px; display: block; overflow: hidden; flex: 0 0 auto; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; background: var(--white); }
.footer-logo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; filter: grayscale(1); }
.footer-brand > div { display: grid; }
.footer-brand small { color: #aaa; text-transform: uppercase; letter-spacing: .1em; }
.site-footer > p { margin: 0; }
.site-footer > p:last-child { justify-self: end; }

:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.75,.25,1); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .desktop-nav { display: none; }
  .hero { grid-template-columns: 1fr .68fr; gap: 2rem; }
  h1 { font-size: clamp(4rem, 9vw, 6.4rem); }
  .practice-cards { grid-template-columns: 1fr 1fr; }
  .practice-card:first-child { grid-column: 1 / -1; }
  .practice-card:nth-child(2) { border-top: 1px solid rgba(10,10,10,.18); }
  .profile-section { grid-template-columns: 1fr; }
  .profile-statement, .profile-details { min-height: auto; }
  .profile-statement { border-right: 0; border-bottom: 1px solid rgba(10,10,10,.18); }
  .contact-section { grid-template-columns: 1fr; }
  .contact-visual { min-height: 720px; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .site-footer > p:nth-child(2) { display: none; }
}

@media (max-width: 740px) {
  :root { --page: min(90vw, 680px); }
  .site-header { min-height: 74px; }
  .brand-copy small { display: none; }
  .header-cta { padding: .58rem .78rem; font-size: .7rem; }
  .hero { grid-template-columns: 1fr; padding: 3.5rem 0 4rem; }
  .hero-copy { grid-column: 1; grid-row: 1; align-self: auto; }
  h1 { font-size: clamp(3.8rem, 17vw, 6rem); }
  .hero-portrait { grid-column: 1; grid-row: 2; width: min(82%, 360px); margin-top: 3rem; justify-self: center; }
  .hero-facts { grid-column: 1; grid-row: 3; margin-top: 3.5rem; }
  .practice-intro { grid-template-columns: 1fr; gap: 1rem; }
  .practice-intro div > p { margin-left: 0; }
  .section-heading, .section-heading.compact { grid-template-columns: 1fr; gap: .8rem; }
  .section-heading > p:last-child { grid-column: 1; }
  .service-list { grid-template-columns: 1fr; }
  .practice-cards { grid-template-columns: 1fr; }
  .practice-card:first-child { grid-column: auto; }
  .practice-card { min-height: 430px; border-right: 0; border-bottom: 1px solid rgba(10,10,10,.18); }
  .practice-card:last-child { border-bottom: 0; }
  .process-list li { grid-template-columns: 46px 1fr; gap: 1rem; }
  .contact-form-wrap { padding: 4.5rem 5vw; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer > p:last-child { justify-self: start; }
}

@media (max-width: 430px) {
  .footer-logo { width: 42px; height: 42px; }
  .brand-copy strong { font-size: .78rem; }
  .header-cta { max-width: 105px; text-align: center; line-height: 1.2; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-facts { grid-template-columns: 1fr; }
  .hero-facts div { grid-template-columns: 45px 1fr; align-items: baseline; }
  .whatsapp-float { width: 56px; height: 56px; }
  .whatsapp-float svg { width: 30px; height: 30px; }
  .form-row.two-columns { grid-template-columns: 1fr; gap: 2rem; }
  .form-submit { align-items: flex-start; flex-direction: column; }
  .contact-visual { min-height: 620px; }
  .contact-visual-copy { inset: auto 5vw 3rem; }
}

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