:root {
  color-scheme: light;
  font: 400 1rem "Archivo", Arial, sans-serif;
  font-synthesis: none;
  color: #0b0b0b;
  background: #f2eee5;
  --bg: #f2eee5;
  --fg: #0b0b0b;
  --blue: #29476f;
  --page: min(100% - clamp(2rem, 4vw, 4rem), 120rem);
}

* { box-sizing: border-box; }
html { min-width: 320px; overflow-x: hidden; scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; overflow-x: hidden; }
.site-header, main { width: var(--page); margin-inline: auto; }
.site-header { height: 14vh; display: flex; justify-content: space-between; padding-top: clamp(1rem, 2.5vw, 2.5rem); }
.site-header p, .eyebrow, footer { margin: 0; font-size: .64rem; letter-spacing: .04em; text-transform: uppercase; }

.hero { min-height: 86vh; display: grid; grid-template: 1fr auto / 1fr 3fr; }
h1 { grid-column: 1 / 3; margin: 0; font-size: clamp(5rem, 15vw, 16rem); font-weight: 700; line-height: .78; letter-spacing: -.075em; }
h1 span { display: block; width: max-content; white-space: nowrap; }
h1 span:first-child { margin-left: 12vw; }
h1 span:nth-child(2) { margin-left: 2vw; color: var(--blue); }
h1 span:last-child { margin-left: 30vw; }
.intro { grid-column: 2; width: min(38rem, 70%); margin: 4rem 0 5rem; padding-left: 1rem; border-left: 4px solid var(--blue); font-size: clamp(1.1rem, 1.75vw, 1.6rem); line-height: 1.32; }

.practice { min-height: 118vh; padding-block: clamp(5rem, 8vw, 8rem); color: var(--bg); background: var(--fg); box-shadow: 0 0 0 100vmax var(--fg); clip-path: inset(0 -100vmax); }
.eyebrow { margin-bottom: 4rem; }
h2 { margin: 0; font-size: clamp(3.7rem, 8.5vw, 8.6rem); font-weight: 400; line-height: .91; letter-spacing: -.06em; }
.practice h2 span, .contact h2 span, .contact-thanks span { color: var(--blue); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 2rem); align-items: start; margin-top: 7rem; }
.cards article { min-height: clamp(17rem, 23vw, 24rem); display: flex; flex-direction: column; padding: 1.2rem; border: 2px solid var(--bg); border-radius: 4px; background: var(--fg); transform: rotate(var(--r)); }
.cards article:nth-child(1) { --r: -2deg; }
.cards article:nth-child(2) { --r: 1.5deg; margin-top: 2rem; }
.cards article:nth-child(3) { --r: -1deg; }
.cards b { color: var(--blue); font-size: .64rem; font-weight: 400; }
.cards h3 { margin: auto 0 1.5rem; font-size: clamp(1.7rem, 2.7vw, 2.8rem); letter-spacing: -.04em; }
.cards p { max-width: 24rem; margin: 0; font-size: .84rem; line-height: 1.48; }

.contact { min-height: 94vh; display: grid; grid-template-columns: 1fr; row-gap: clamp(2rem, 4vw, 4rem); align-content: center; border-top: 1px solid var(--fg); }
.contact-stage { grid-column: 1; display: grid; align-items: center; }
.contact-stage > * { grid-area: 1 / 1; }
.contact h2 { margin: 0; font-size: clamp(4.2rem, 10vw, 10.5rem); font-weight: 700; line-height: 1.02; letter-spacing: -.06em; }
.contact-cta button { padding: 0; border: 0; color: inherit; background: none; font: inherit; line-height: inherit; letter-spacing: inherit; text-align: left; text-decoration: underline; text-decoration-thickness: .045em; text-underline-offset: .18em; cursor: pointer; transition: text-underline-offset .18s ease; }
.contact-cta button:hover { text-underline-offset: .07em; }
.invitation { grid-column: 1; align-self: start; margin: 0; font-size: clamp(1rem, 1.35vw, 1.2rem); line-height: 1.4; }
.contact-cta, .contact-form, .contact-thanks { transition: opacity .45s ease, transform .45s ease, visibility 0s linear .45s; }
.contact-form, .contact-thanks { visibility: hidden; opacity: 0; transform: translateY(1rem); pointer-events: none; }
.contact[data-state="form"] .contact-cta,
.contact[data-state="success"] .contact-cta { visibility: hidden; opacity: 0; transform: translateY(-1rem); pointer-events: none; }
.contact[data-state="form"] .contact-form,
.contact[data-state="success"] .contact-thanks { visibility: visible; opacity: 1; transform: none; pointer-events: auto; transition-delay: .15s, .15s, 0s; }
.contact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.6rem, 3vw, 3rem); width: 100%; }
.field { display: flex; flex-direction: column; gap: .55rem; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: .64rem; letter-spacing: .04em; text-transform: uppercase; }
.field input, .field textarea { width: 100%; padding: .55rem 0 .75rem; border: 0; border-bottom: 2px solid var(--fg); border-radius: 0; outline: 0; color: var(--fg); background: transparent; font: inherit; font-size: clamp(1.1rem, 1.7vw, 1.55rem); line-height: 1.35; resize: vertical; transition: border-color .18s ease; }
.field textarea { min-height: 9rem; padding: .8rem; border: 2px solid var(--fg); }
.field input:focus, .field textarea:focus { border-color: var(--blue); }
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; align-items: center; gap: 1.25rem; }
.submit-button { padding: .8rem 1rem; border: 2px solid var(--fg); border-radius: 0; color: var(--fg); background: transparent; font: inherit; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; transition: color .18s ease, background .18s ease; }
.submit-button:hover { color: var(--bg); background: var(--fg); }
.submit-button:disabled { cursor: wait; opacity: .55; }
.form-status { margin: 0; font-size: .78rem; line-height: 1.4; }
.contact-thanks p { margin: 0; font-size: clamp(3.5rem, 8vw, 8.5rem); font-weight: 700; line-height: 1.02; letter-spacing: -.04em; word-spacing: .08em; }
footer { width: 100%; display: grid; grid-template-columns: 1fr 1fr auto; gap: 1rem; padding: 1rem clamp(.75rem, 1vw, 1rem) 2rem; border-top: 1px solid var(--fg); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }

@media (max-width: 720px) {
  .site-header { height: auto; min-height: 4rem; padding-top: 1rem; }
  .hero { min-height: calc(100svh - 4rem); display: flex; flex-direction: column; justify-content: center; padding: 2rem 0 3rem; }
  h1 { font-size: 14.5vw; line-height: .84; }
  h1 span { margin-left: 0 !important; }
  .intro { width: 94%; margin: clamp(3rem, 8vh, 4.5rem) 0 0; }
  .practice { min-height: auto; padding-block: 6rem; }
  .eyebrow { margin-bottom: 3rem; }
  .practice h2 { font-size: 13.5vw; line-height: .98; }
  .cards { grid-template-columns: 1fr; margin-top: 5rem; }
  .cards article { width: 92%; min-height: 15rem; }
  .cards article:nth-child(2) { margin: -.5rem 0 0 auto; }
  .cards article:nth-child(3) { margin-top: -.5rem; }
  .contact { min-height: 76vh; display: flex; flex-direction: column; justify-content: center; gap: 2.5rem; }
  .contact-stage { width: 100%; }
  .contact h2 { font-size: 12.5vw; line-height: 1.05; }
  .invitation { width: 88%; align-self: flex-start; margin: 0; text-align: left; }
  .contact-form { grid-template-columns: 1fr; gap: 1.5rem; }
  .field-wide { grid-column: auto; }
  .contact-thanks p { font-size: 11vw; }
  footer { grid-template-columns: 1fr; gap: .5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .contact-cta button, .contact-cta, .contact-form, .contact-thanks { transition: none; }
}
