@import url("fonts.css");

:root {
  color-scheme: dark;
  --ground: #191815;
  --surface: #22201c;
  --ink: #f3ede1;
  --muted: #c4baaa;
  --brass: #c4a471;
  --rule: color-mix(in srgb, var(--muted) 34%, transparent);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: Manrope, system-ui, sans-serif;
  font: 400 16px/1.6 var(--sans);
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  background: var(--ground);
}

*, *::before, *::after { box-sizing: border-box; }
body, p, h1, h2, h3, dl, dd, ol { margin: 0; }
a { color: inherit; text-underline-offset: .24em; }
button, input, select, textarea { font: inherit; }
button, summary { cursor: pointer; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 5px; }
[hidden] { display: none !important; }
img { display: block; width: 100%; height: auto; }
.wrap { width: min(1200px, calc(100% - 112px)); margin-inline: auto; }
.skip { position: absolute; z-index: 2; inset: 12px auto auto 0; padding: 10px 16px; background: var(--ground); }
.site-header .skip:not(:focus) { width: 1px; height: 1px; min-height: 0; padding: 0; overflow: hidden; clip-path: inset(50%); }
.site-header { border-bottom: 1px solid var(--rule); }
.header-grid { position: relative; }
.header-grid, .footer-grid { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 76px; }
.site-header a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.site-header a:hover { color: var(--brass); text-decoration: underline; }
.brand { font: 600 34px/1 var(--serif); letter-spacing: -.055em; }
.site-header nav { display: flex; gap: clamp(16px, 3vw, 48px); color: var(--muted); font-size: .88rem; }
.header-book { gap: .65em; color: var(--brass); font-size: .88rem; }

.hero { min-height: calc(100svh - 77px); display: grid; align-items: center; padding-block: 46px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: .99; }
h1 { font-size: clamp(4.3rem, 8vw, 8rem); letter-spacing: -.047em; }
h2 { font-size: clamp(3rem, 5.4vw, 5.4rem); letter-spacing: -.038em; margin-bottom: clamp(24px, 3.4vw, 48px); }
h3 { font-size: clamp(1.65rem, 2.25vw, 2.2rem); }
.eyebrow, .index { color: var(--brass); }
.eyebrow { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 23px; }
.hero-lead { color: var(--muted); max-width: 29ch; margin-block: 24px 32px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 52px; padding: 12px 17px; border: 1px solid var(--brass); background: var(--brass); color: var(--ground); text-decoration: none; font-weight: 750; font-size: .88rem; transition: transform .16s ease, background-color .16s ease, color .16s ease; }
.button:hover { background: var(--ground); color: var(--ink); transform: translateY(-2px); }
.button:active { transform: translateY(1px); }
.photo, .map-frame { overflow: hidden; background: var(--surface); }
.photo img { height: 100%; object-fit: cover; }
.hero-photo { height: clamp(390px, 71svh, 720px); }
.hero-photo img { object-position: 52% center; }
.photo img { filter: saturate(.64); }
.section { min-height: 100svh; padding-block: clamp(64px, 10vh, 106px); }
.surface { background: var(--surface); }
.hero-grid, .practice-grid, .about-grid, .process-grid, .booking-grid, .contacts-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; align-items: start; }
.practice-grid { align-items: stretch; }
.practice-photo { position:relative; min-height: 390px; }
.practice-photo img { position:absolute; inset:0; }
.practice-list, .facts, .steps { border-top: 1px solid var(--rule); }
details, .facts > div, .steps > li { border-bottom: 1px solid var(--rule); }
summary { list-style: none; display: grid; grid-template-columns: 2.4rem minmax(0, 1fr) auto; align-items: center; gap: 8px; min-height: 58px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--brass); font-size: 1.35rem; padding-inline: 8px; }
details[open] summary::after { content: "−"; }
summary:hover { color: var(--brass); }
.index { font-size: .76rem; letter-spacing: .08em; }
.practice-detail { padding: 0 16px 16px 2.9rem; max-width: 60ch; color: var(--muted); }
.practice-detail p + p { margin-top: 6px; }
.note { color: var(--muted); font-size: .8rem; }

.portrait { height: clamp(375px, 54vh, 530px); }
.portrait img { object-position: center 35%; }
.tenure { font: 500 clamp(2.8rem, 5vw, 4.5rem)/.88 var(--serif); color: var(--brass); margin-bottom: 18px; }
.tenure span { font-size: .37em; }
.bio > p:not(.tenure), .booking-side > p { color: var(--muted); }
.facts { margin-top: 24px; }
.facts > div { display: grid; grid-template-columns: 8rem 1fr; gap: 12px; padding-block: 12px; }
dt { font-size: .8rem; color: var(--muted); }
.cases-photo { height: clamp(180px, 27vh, 260px); }
.cases-photo img { object-position: center 55%; }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 40px); margin-top: 26px; }
.case { border-top: 1px solid var(--rule); padding-top: 17px; }
.case h3 { min-height: 2em; }
.case dl { display: grid; gap: 9px; margin-top: 12px; }
.case dd { color: var(--muted); font-size: .86rem; }
.case strong { color: var(--brass); display: block; font: 600 2.25rem/1.1 var(--serif); margin-block: 3px; }
.case-result { border-top: 1px solid var(--rule); padding-top: 8px; }

.process-photo { height: clamp(315px, 46vh, 430px); }
.steps { list-style: none; padding: 0; }
.steps > li { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px; padding-block:13px; }
.steps > li > div { grid-area:1 / 1; }
.steps > li > .index { grid-area:1 / 2; }
.steps > li:first-child { padding-top:0; }
.steps .index { margin-top: 6px; }
.steps p { margin-top: .25rem; color: var(--muted); font-size: .91rem; }
.price { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 5px 12px; border-bottom: 1px solid var(--rule); padding-block: 12px; }
.price span { color: var(--muted); font-size: .84rem; }
.price strong { font: 600 2rem/1 var(--serif); color: var(--brass); }

.booking-photo { height: clamp(280px, 45vh, 420px); margin-top: 22px; }
.booking-form { display: grid; gap: 11px 16px; grid-template-columns: minmax(0, 1fr); }
.field { display: flex; flex-direction: column; gap: 4px; min-width: 0; margin: 0; border: 0; padding: 0; }
.field > label, legend { font-size: .85rem; }
.field :is(input:not([type=radio]), select, textarea) { min-height: 44px; width: 100%; min-width: 0; border: 1px solid var(--rule); border-radius: 0; color: var(--ink); background: var(--ground); padding: 7px 9px; }
.field textarea { resize: vertical; }
.full { grid-column: 1 / -1; }
.formats { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.formats label { display: flex; align-items: center; gap: .5rem; min-height: 44px; cursor: pointer; }
.formats input { accent-color: var(--brass); margin: 0; }
.confirmation { border-top: 1px solid var(--brass); padding-top: 20px; }
.confirmation p { margin-block: 12px 24px; }

address { font-style: normal; }
address .facts { margin-top: 0; }
address .facts > div:first-child { padding-top:0; }
address .button { margin-top: 24px; }
.map-frame { border: 1px solid var(--rule); }
.footer-wrap { display:grid; gap:32px; }
.footer-grid { border-top:1px solid var(--rule); color:var(--muted); font-size:.83rem; }
#motion-toggle { color: var(--muted); background: none; border: 0; padding: 0; min-height: 44px; text-align: left; }
#motion-toggle:hover, #motion-toggle[aria-pressed=true] { color: var(--brass); text-decoration: underline; text-underline-offset: .24em; }
@media (min-width: 1025px) and (min-height: 800px) {
  .site-header { position:absolute; inset:0 0 auto; z-index:4; background:var(--ground); }
  .hero { min-height:100svh; padding:112px 0 40px; }
  .hero-photo { height:min(65svh, 650px); }
  .section { padding-block:64px; }
  .hero-copy > .eyebrow, .booking-side > p { line-height:1.2; }
  .booking-form { grid-template-columns:repeat(2,minmax(0,1fr)); }
  #practice .practice-photo { min-height:clamp(430px, 58vh, 560px); }
  #practice .practice-detail { padding-bottom:8px; }
  #practice summary { min-height:48px; }
  #cases .cases-photo { height:220px; }
}

@media (max-width: 1024px) {
  .wrap { width: calc(100% - 72px); }
  .facts > div { grid-template-columns: 1fr; gap: 2px; }
}

@media (max-width: 720px) {
  .wrap { width: calc(100% - 40px); }
  .header-grid { flex-wrap: wrap; gap: 0 12px; min-height: 76px; }
  .site-header nav { order: 3; width: 100%; justify-content: space-between; gap: 8px; border-top: 1px solid var(--rule); font-size: .76rem; }
  .hero { min-height: calc(100svh - 90px); padding-block: 27px 20px; }
  .hero-grid, .practice-grid, .about-grid, .process-grid, .booking-grid, .contacts-grid, .case-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  h1 { font-size: clamp(3.6rem, 12vw, 5.6rem); }
  .eyebrow { margin-bottom: 13px; }
  .hero-lead { margin-block: 15px 20px; }
  .button { width: 100%; }
  .hero-photo { height: clamp(230px, 43svh, 390px); }
  .section { padding-block: 60px; }
  .practice-photo, .portrait, .process-photo, .booking-photo { height: auto; aspect-ratio: 4 / 3; }
  .practice-photo { min-height:0; aspect-ratio: 16 / 8; }
  .case h3 { min-height: 0; }
  .case-grid { margin-top: 19px; }
  .booking-photo { aspect-ratio: 4 / 5; }
  .facts > div { grid-template-columns: minmax(0, 7rem) 1fr; gap: 8px; }
  .footer-grid { min-height: 68px; }
}

@media (max-width: 370px) {
  .wrap { width: calc(100% - 32px); }
}
.form-hint { grid-column: 1 / -1; margin: -4px 0 0; }
