/* =========================================================
   Messrs Debbie Garon & Co | stylesheet
   Monochrome system: black, charcoal, white, cool grey, off-white
   ========================================================= */

@font-face {
  font-family: "Bodoni Moda";
  src: url("../fonts/bodoni.woff2") format("woff2");
  font-weight: 400 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Bodoni Moda";
  src: url("../fonts/bodoni-i.woff2") format("woff2");
  font-weight: 400 900; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  --black: #000000;
  --charcoal: #111111;
  --white: #ffffff;
  --grey: #a0a0a0;
  --paper: #f5f5f5;
  --line: #303030;
  --ink-soft: #555555;      /* secondary text on light sections (AA on #F5F5F5) */
  --line-light: #d6d6d6;    /* dividers on light sections */

  --serif: "Bodoni Moda", "Didot", "Bodoni 72", "Times New Roman", serif;
  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, system-ui, sans-serif;

  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(5rem, 11vw, 9.5rem);
  --header-h: 76px;

  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: dark;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: inherit; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; }
[role="list"] { list-style: none; }
address { font-style: normal; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--white); color: var(--black); padding: .75rem 1rem; text-decoration: none;
}
.skip-link:focus { top: calc(1rem + env(safe-area-inset-top, 0px)); }

:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.light :focus-visible { outline-color: var(--black); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: 0 1.6rem;
  font: 500 .95rem/1 var(--sans); letter-spacing: .01em;
  text-decoration: none; border: 1px solid transparent; border-radius: 0;
  cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-solid { background: var(--white); color: var(--black); border-color: var(--white); }
.btn-solid:hover { background: transparent; color: var(--white); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.45); }
.btn-outline:hover { border-color: var(--white); background: var(--white); color: var(--black); }
.btn-dark { background: var(--black); color: var(--white); border-color: var(--black); }
.btn-dark:hover { background: transparent; color: var(--black); }
.btn-dark-outline { background: transparent; color: var(--black); border-color: var(--black); }
.btn-dark-outline:hover { background: var(--black); color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background-color .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 101; background: var(--black);
}
.site-header.is-solid { background: rgba(0,0,0,.94); border-bottom-color: var(--line); }
@supports (backdrop-filter: blur(8px)) {
  .site-header.is-solid { background: rgba(0,0,0,.78); backdrop-filter: blur(14px); }
}
.nav-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter);
  height: var(--header-h); display: flex; align-items: center; gap: 2rem;
}
.wordmark { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; }
.wordmark-mark { display: inline-flex; }
.wordmark-text { font-family: var(--serif); font-size: 1.25rem; letter-spacing: .01em; white-space: nowrap; }
.wordmark .amp { font-style: italic; }

.primary-nav ul { display: flex; gap: 1.9rem; list-style: none; }
.primary-nav a {
  position: relative; text-decoration: none; font-size: .92rem; color: var(--grey);
  padding: .4rem 0; transition: color .2s;
}
.primary-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--white);
  transition: right .35s var(--ease);
}
.primary-nav a:hover, .primary-nav a.is-active { color: var(--white); }
.primary-nav a.is-active::after, .primary-nav a:hover::after { right: 0; }
.nav-cta { min-height: 42px; padding: 0 1.2rem; font-size: .88rem; }

.menu-toggle {
  display: none; width: 46px; height: 46px; background: none; border: 1px solid var(--line);
  color: var(--white); cursor: pointer; position: relative;
}
.menu-bar { position: absolute; left: 12px; right: 12px; height: 1px; background: currentColor; transition: transform .3s var(--ease); }
.menu-bar:nth-of-type(2) { top: 18px; }
.menu-bar:nth-of-type(3) { top: 26px; }
.menu-toggle[aria-expanded="true"] .menu-bar:nth-of-type(2) { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bar:nth-of-type(3) { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  z-index: 99;
  position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 0; background: var(--black);
  padding: 2rem var(--gutter) calc(2rem + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto;
  border-top: 1px solid var(--line);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu ul { list-style: none; }
.mobile-menu li { border-bottom: 1px solid var(--line); }
.mobile-menu nav a { display: block; padding: 1.05rem 0; font-family: var(--serif); font-size: 1.9rem; text-decoration: none; }
.mobile-menu-foot { display: grid; gap: .5rem; padding-top: 2rem; color: var(--grey); }
.mobile-menu-foot a { text-decoration: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; min-height: 100vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: calc(var(--header-h) + 3rem); overflow: hidden; isolation: isolate;
  background: var(--black);
}
@supports (min-height: 100svh) { .hero { min-height: 100svh; } }

.hero-grid {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(ellipse at 75% 40%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 75% 40%, #000 0%, transparent 70%);
}

/* The signature element: an abstract courthouse facade drawn in hairlines */
.facade {
  position: absolute; z-index: -1; right: max(-2vw, -40px); top: calc(var(--header-h) + 2vh);
  height: min(72vh, 660px); width: auto; max-width: 60vw; pointer-events: none;
}
.f-line { fill: none; stroke: var(--white); stroke-width: 1; vector-effect: non-scaling-stroke; opacity: .55; }
.f-col  { opacity: .32; }
.f-base { opacity: .28; }
.f-dot  { fill: var(--white); opacity: .9; }

@media (prefers-reduced-motion: no-preference) {
  .js .f-line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.6s var(--ease) forwards; }
  .js .f-roof { animation-delay: .15s; }
  .js .f-beam { animation-delay: .45s; }
  .js .f-col  { animation-duration: 1.4s; animation-delay: calc(.6s + var(--i) * .09s); }
  .js .f-base { animation-delay: 1.3s; }
  .js .f-dot  { opacity: 0; animation: dot .8s var(--ease) 1.9s forwards; }
  .js .ht-line { opacity: 0; transform: translateY(.35em); animation: rise 1s var(--ease) forwards; }
  .js .ht-line:nth-child(2) { animation-delay: .18s; }
  .js .hero-firm, .js .hero-lede, .js .hero-actions, .js .hero-facts { opacity: 0; animation: fade 1s var(--ease) .55s forwards; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes dot { to { opacity: .9; } }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes fade { to { opacity: 1; } }

.hero-content { position: relative; padding-bottom: clamp(2.5rem, 6vh, 4.5rem); }
.hero-firm { display: flex; flex-direction: column; gap: .35rem; margin-bottom: clamp(1.75rem, 4vh, 3rem); }
.hero-firm-name { font-size: clamp(1rem, 1.4vw, 1.15rem); font-weight: 500; letter-spacing: .02em; }
.hero-firm-sub { color: var(--grey); font-size: .9rem; }
.hero-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(3rem, 10.2vw, 9.6rem); line-height: .94; letter-spacing: -.025em;
  font-variation-settings: "opsz" 96;
  margin-bottom: clamp(1.5rem, 3.5vh, 2.5rem);
}
.ht-line { display: block; }
.hero-lede { max-width: 34rem; color: #cfcfcf; font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.55; margin-bottom: 2.25rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }

.hero-facts {
  display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 auto;
  border-top: 1px solid var(--line);
  padding-left: 0; padding-right: 0;
  width: calc(100% - 2 * var(--gutter)); max-width: calc(var(--container) - 2 * var(--gutter));
}
.hero-facts > div { padding: 1.4rem 1.5rem 1.6rem 0; }
.hero-facts > div + div { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.hero-facts dt { color: var(--grey); font-size: .82rem; margin-bottom: .3rem; }
.hero-facts dd { margin: 0; font-size: .98rem; }

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; position: relative; }
.light { background: var(--paper); color: var(--black); color-scheme: light; }
.light .section-intro, .light p { color: var(--ink-soft); }
.light h2, .light h3 { color: var(--black); }

.display {
  font-family: var(--serif); font-size: clamp(2.3rem, 5.2vw, 4.6rem);
  line-height: 1.03; letter-spacing: -.018em; font-variation-settings: "opsz" 34;
}
.section-title {
  font-family: var(--serif); font-size: clamp(2.4rem, 5.6vw, 5rem);
  line-height: 1; letter-spacing: -.02em; font-variation-settings: "opsz" 48;
}
.section-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem 4rem; align-items: end; margin-bottom: clamp(3rem, 6vw, 5rem); }
.section-intro { color: var(--grey); max-width: 36rem; margin: 0; font-size: 1.08rem; }
.kicker { font-size: .95rem; font-weight: 500; color: var(--grey); margin-bottom: 1.5rem; }

/* About */
.about { background: var(--black); border-top: 1px solid var(--line); }
.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(3rem, 7vw, 7rem); }
.split-statement { display: flex; flex-direction: column; justify-content: space-between; gap: 3rem; }
.about-geo { width: min(100%, 320px); height: auto; }
.about-geo * { fill: none; stroke: var(--grey); stroke-width: 1; vector-effect: non-scaling-stroke; }
.about-geo rect { stroke: var(--line); }
.split-body { max-width: 34rem; padding-top: .6rem; }
.split-body p { color: #c8c8c8; }
.split-body .lead { color: var(--white); font-size: 1.28rem; line-height: 1.5; margin-bottom: 1.4em; }

/* Commitment */
.commitment .section-title { margin-bottom: clamp(3rem, 6vw, 4.5rem); max-width: 14ch; }
.commit-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--black); }
.commit-item { padding: 2rem 2rem 2.4rem 0; }
.commit-item + .commit-item { padding-left: 2rem; border-left: 1px solid var(--line-light); }
.commit-primary { grid-column: 1 / -1; padding: 2.4rem 0 2.8rem; border-bottom: 1px solid var(--line-light); }
.commit-primary + .commit-item { border-left: 0; padding-left: 0; }
.commit-item h3 { font-size: .95rem; font-weight: 600; margin-bottom: 1rem; }
.commit-item p { margin: 0; font-size: 1rem; }
.commit-primary p { font-variation-settings: "opsz" 24; font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.6rem); line-height: 1.2; color: var(--black); max-width: 30ch; letter-spacing: -.01em; }

/* Expertise */
.expertise { background: var(--charcoal); }
.practice-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); list-style: none;
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.practice {
  position: relative; display: flex; flex-direction: column; padding: 2rem 1.75rem 1.6rem;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  min-height: 360px; transition: background-color .35s var(--ease);
}
.practice::before {
  content: ""; position: absolute; left: -1px; top: -1px; height: 1px; width: 0; background: var(--white);
  transition: width .5s var(--ease);
}
.practice:hover, .practice:focus-within { background: var(--black); }
.practice:hover::before, .practice:focus-within::before { width: calc(100% + 1px); }
.p-icon { width: 34px; height: 34px; fill: none; stroke: var(--white); stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 2.4rem; }
.practice h3 { font-variation-settings: "opsz" 18; font-family: var(--serif); font-size: 1.45rem; line-height: 1.15; margin-bottom: .9rem; letter-spacing: -.005em; }
.practice p { color: var(--grey); font-size: .95rem; line-height: 1.55; margin-bottom: 1.5rem; }
.p-actions { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.p-link { font-size: .9rem; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.35); padding-bottom: 2px; transition: border-color .2s; }
.p-link:hover { border-color: var(--white); }
.p-wa { display: inline-flex; align-items: center; gap: .45rem; font-size: .85rem; color: var(--grey); text-decoration: none; transition: color .2s; }
.p-wa svg { width: 16px; height: 16px; }
.p-wa:hover { color: var(--white); }

.practice-index { margin-top: clamp(3.5rem, 7vw, 5.5rem); display: grid; grid-template-columns: 1fr 3fr; gap: 2rem; }
.practice-index h3 { font-size: .95rem; font-weight: 500; color: var(--grey); }
.practice-index ul { columns: 2; column-gap: 3rem; }
.practice-index li { break-inside: avoid; padding: .85rem 0; border-bottom: 1px solid var(--line); font-size: 1.02rem; }

/* People */
.person {
  display: grid; grid-template-columns: minmax(240px, 400px) 1fr; gap: clamp(2rem, 6vw, 6rem);
  padding: clamp(2.5rem, 5vw, 4rem) 0; border-top: 1px solid var(--black);
}
.person-alt { grid-template-columns: 1fr minmax(240px, 400px); }
.person-alt .person-photo { order: 2; }
.person-photo { margin: 0; position: relative; align-self: start; }
.person-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top center; filter: grayscale(1) contrast(1.05); background: #ddd; }
.person-photo::after { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid var(--black); z-index: -1; }
.person-alt .person-photo::after { inset: 14px 14px -14px -14px; }
.person-photo { z-index: 0; isolation: isolate; }
.person-body { max-width: 40rem; }
.person-role { font-size: .95rem; font-weight: 500; margin-bottom: .6rem; }
.light .person-role { color: var(--black); }
.person-name { font-variation-settings: "opsz" 48; font-family: var(--serif); font-size: clamp(2.2rem, 4.4vw, 3.8rem); line-height: 1.02; letter-spacing: -.02em; margin-bottom: 1.2rem; }
.person-cred { font-size: .98rem; border-left: 1px solid var(--black); padding-left: 1rem; margin-bottom: 1.6rem; }
.timeline { list-style: none; margin: 2rem 0; border-top: 1px solid var(--line-light); }
.timeline li { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line-light); font-size: .95rem; color: var(--ink-soft); }
.t-year { font-family: var(--serif); font-size: 1.1rem; color: var(--black); font-variant-numeric: lining-nums; }
.person-contact { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; margin: 0; }
.person-contact a { color: var(--black); text-decoration: none; border-bottom: 1px solid var(--black); padding-bottom: 1px; font-size: .95rem; }
.person-contact a:hover { border-bottom-width: 2px; }

/* Why */
.why { background: var(--black); }
.why-statement {
  font-family: var(--serif); font-size: clamp(2.5rem, 6.6vw, 6.2rem); line-height: 1; letter-spacing: -.025em;
  max-width: 16ch; margin-bottom: clamp(3.5rem, 7vw, 6rem); font-variation-settings: "opsz" 72;
}
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.why-item { padding: 1.8rem 1.6rem 0 0; position: relative; }
.why-item + .why-item { padding-left: 1.6rem; border-left: 1px solid var(--line); }
.why-item h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: .75rem; }
.why-item p { color: var(--grey); font-size: .97rem; margin: 0; }

/* Office */
.office-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: stretch; }
.office-info .section-title { margin-bottom: 2.5rem; }
.office-name { font-size: 1.05rem; font-weight: 600; margin-bottom: 1rem; }
.office-address { font-variation-settings: "opsz" 24; font-family: var(--serif); font-size: clamp(1.4rem, 2.2vw, 1.85rem); line-height: 1.3; margin-bottom: 2rem; color: var(--black); }
.office-contacts { margin: 0 0 2.2rem; border-top: 1px solid var(--line-light); }
.office-contacts > div { display: grid; grid-template-columns: 7rem 1fr; padding: 1rem 0; border-bottom: 1px solid var(--line-light); }
.office-contacts dt { color: var(--ink-soft); font-size: .92rem; }
.office-contacts dd { margin: 0; line-height: 1.8; }
.office-contacts a { text-decoration: none; border-bottom: 1px solid transparent; }
.office-contacts a:hover { border-color: var(--black); }
.office-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.office-map { min-height: 420px; border: 1px solid var(--black); position: relative; background: #e6e6e6; }
.office-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); }

/* Contact */
.contact { background: var(--black); border-top: 1px solid var(--line); }
.contact-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(3rem, 7vw, 7rem); }
.contact-intro > p { color: #c8c8c8; max-width: 30rem; margin: 1.5rem 0 2.2rem; font-size: 1.1rem; }
.contact-list { list-style: none; margin-bottom: 2.4rem; border-top: 1px solid var(--line); }
.contact-list li { display: grid; grid-template-columns: 5rem 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.contact-list li > span:first-child { color: var(--grey); font-size: .92rem; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 4px; }

.contact-form { border: 1px solid var(--line); padding: clamp(1.5rem, 4vw, 2.8rem); background: var(--charcoal); align-self: start; }
.field { margin-bottom: 1.35rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.25rem; }
.field label { display: block; font-size: .88rem; color: #d0d0d0; margin-bottom: .5rem; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; background: var(--black); color: var(--white); border: 1px solid var(--line); border-radius: 0;
  font: inherit; font-size: 1rem; padding: .85rem .9rem; transition: border-color .2s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--grey) 50%), linear-gradient(135deg, var(--grey) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat;
  padding-right: 2.5rem;
}
.field textarea { resize: vertical; min-height: 140px; }
.field textarea::placeholder { color: #7a7a7a; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #555; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--white); outline: none; }
.field [aria-invalid="true"] { border-color: var(--white); border-style: dashed; }
.err { font-size: .84rem; color: var(--white); margin: .45rem 0 0; min-height: 0; }
.err:empty { display: none; }
.err::before { content: "— "; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: .8rem; align-items: start; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--white); }
.consent label { margin: 0; color: var(--grey); font-size: .88rem; line-height: 1.5; }
.consent label a { color: var(--white); }
.consent .err { grid-column: 2; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn-submit { width: 100%; margin-top: .5rem; }
.btn-submit[disabled] { opacity: .6; cursor: progress; }

.form-status { margin-top: 1.4rem; }
.form-status:empty { display: none; }
.form-status .status-box { border: 1px solid var(--line); padding: 1.25rem; background: var(--black); }
.form-status .status-box p { color: #d0d0d0; font-size: .95rem; }
.form-status .status-title { color: var(--white); font-weight: 600; margin-bottom: .4rem; }
.form-status .status-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1rem; }
.form-status .status-actions .btn { min-height: 46px; font-size: .9rem; }

/* Footer */
.site-footer { background: var(--black); border-top: 1px solid var(--line); padding: clamp(4rem, 8vw, 6rem) 0 calc(2rem + env(safe-area-inset-bottom, 0px)); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1.3fr; gap: 2.5rem; padding-bottom: 3.5rem; }
.footer-name { font-family: var(--serif); font-size: 1.7rem; line-height: 1.1; margin-bottom: .4rem; }
.footer-sub { color: var(--grey); font-size: .88rem; }
.footer-desc { color: var(--grey); font-size: .93rem; max-width: 26rem; margin-top: 1.25rem; }
.footer-col h2 { font-size: .9rem; font-weight: 600; margin-bottom: 1.1rem; }
.footer-col ul { list-style: none; display: grid; gap: .65rem; }
.footer-col li { color: var(--grey); font-size: .93rem; }
.footer-col a { color: var(--grey); text-decoration: none; transition: color .2s; }
.footer-col a:hover { color: var(--white); }
.footer-legal { border-top: 1px solid var(--line); padding-top: 1.75rem; display: grid; grid-template-columns: 3fr 1fr; gap: 1.5rem 3rem; }
.disclaimer, .copyright { color: #8a8a8a; font-size: .82rem; line-height: 1.6; margin: 0; }
.copyright { text-align: right; }

/* Floating WhatsApp */
.wa-float {
  position: fixed; z-index: 90;
  right: calc(18px + env(safe-area-inset-right, 0px));
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  width: 56px; height: 56px; display: grid; place-items: center;
  background: var(--white); color: var(--black); border: 1px solid var(--white); border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(0,0,0,.35);
  transition: background-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.wa-float svg { width: 26px; height: 26px; }
.wa-float:hover { background: var(--black); color: var(--white); transform: translateY(-2px); }
.wa-float:focus-visible { outline-offset: 5px; }
.wa-float.is-hidden { display: none; }

/* Gentle reveal for content blocks */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .practice-grid { grid-template-columns: repeat(2, 1fr); }
  .practice { min-height: 0; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .why-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .why-item { padding-bottom: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .primary-nav, .nav-cta { display: none; }
  .menu-toggle { display: block; }
  .split, .contact-wrap, .office-wrap { grid-template-columns: 1fr; }
  .section-head { grid-template-columns: 1fr; }
  .commit-grid { grid-template-columns: 1fr; }
  .commit-item, .commit-item + .commit-item { padding: 1.6rem 0; border-left: 0; border-bottom: 1px solid var(--line-light); }
  .person, .person-alt { grid-template-columns: 1fr; }
  .person-alt .person-photo { order: 0; }
  .person-photo { max-width: 380px; }
  .practice-index { grid-template-columns: 1fr; }
  .facade { opacity: .55; max-width: 92vw; right: -18vw; }
}
@media (max-width: 640px) {
  :root { --header-h: 66px; }
  body { font-size: 1rem; }
  .wordmark-text { font-size: 1.1rem; }
  .hero-facts { grid-template-columns: 1fr; }
  .hero-facts > div, .hero-facts > div + div { padding: .9rem 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .hero-actions .btn { width: 100%; }
  .practice-grid { grid-template-columns: 1fr; }
  .practice-index ul { columns: 1; }
  .why-grid { grid-template-columns: 1fr; }
  .why-item, .why-item + .why-item { padding: 1.4rem 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .field-row { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 3.6rem 1fr; }
  .office-contacts > div { grid-template-columns: 1fr; gap: .3rem; }
  .office-map { min-height: 320px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-legal { grid-template-columns: 1fr; }
  .copyright { text-align: left; }
  .site-footer { padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px)); }
  .person-photo::after { inset: 10px -10px -10px 10px; }
}

/* ---------- Simple pages (privacy, 404) ---------- */
.simple-header { border-bottom: 1px solid var(--line); }
.simple-header .nav-inner { justify-content: space-between; }
.page { padding: clamp(4rem, 9vw, 7rem) 0 var(--section-y); }
.page .container { max-width: 860px; }
.page h1 { font-family: var(--serif); font-size: clamp(2.6rem, 6vw, 4.8rem); line-height: 1; letter-spacing: -.02em; font-variation-settings: "opsz" 60; margin-bottom: 1.5rem; }
.page h2 { font-size: 1.15rem; font-weight: 600; margin: 2.6rem 0 .8rem; }
.page p, .page li { color: #c8c8c8; }
.page ul { padding-left: 1.2rem; margin-bottom: 1em; }
.page li { margin-bottom: .4rem; }
.page a:not(.btn) { color: var(--white); }
.page .meta { color: var(--grey); font-size: .92rem; }
.notfound { min-height: 100svh; display: flex; flex-direction: column; }
.notfound main { flex: 1; display: flex; align-items: center; }
.notfound .big { font-family: var(--serif); font-size: clamp(7rem, 26vw, 20rem); line-height: .8; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px var(--white); margin-bottom: 2rem; font-variation-settings: "opsz" 96; }
.notfound .actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
