@font-face {
  font-family: "CM Sans";
  src: url("assets/ibm-plex-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "CM Serif";
  src: url("assets/source-serif-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}

:root {
  --ink: #071b24;
  --ink-raised: #0d2833;
  --ocean: #0b5668;
  --ocean-bright: #16748a;
  --foam: #f2f5f3;
  --paper: #fcfcf8;
  --white: #ffffff;
  --stone: #d5d9d5;
  --slate: #607078;
  --text: #14242a;
  --wine: #88342f;
  --success: #377253;
  --line-dark: rgba(255, 255, 255, 0.2);
  --line-light: rgba(7, 27, 36, 0.18);
  --sans: "CM Sans", "Helvetica Neue", Arial, sans-serif;
  --serif: "CM Serif", Georgia, serif;
  --shell: min(1240px, calc(100% - 64px));
  --header-height: 82px;
  --radius: 3px;
  --section-space: clamp(88px, 10vw, 150px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
}

h1,
h2,
h3,
p,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3,
blockquote {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

:focus-visible {
  outline: 2px solid var(--ocean-bright);
  outline-offset: 4px;
}

::selection {
  background: var(--ocean);
  color: var(--white);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--white);
  color: var(--ink);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.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;
}

.section-shell,
.nav-shell {
  width: var(--shell);
  margin-inline: auto;
}

.section {
  padding-block: var(--section-space);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  color: var(--white);
  background: linear-gradient(to bottom, rgba(7, 27, 36, 0.75), rgba(7, 27, 36, 0));
  border-bottom: 1px solid transparent;
  transition: background-color 240ms ease, border-color 240ms ease, transform 240ms ease;
}

.site-header.is-scrolled,
.site-header.is-menu-open {
  background: rgba(7, 27, 36, 0.97);
  border-color: var(--line-dark);
  backdrop-filter: blur(14px);
}

.nav-shell {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: max-content;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--white);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 650;
  line-height: 1;
}

.brand-copy strong,
.brand-copy small {
  display: block;
}

.brand-copy strong {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.05;
}

.brand-copy small {
  margin-top: 5px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.19em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.4vw, 38px);
  margin-left: auto;
}

.desktop-nav a,
.language-switch,
.header-cta {
  font-size: 13px;
  font-weight: 550;
  letter-spacing: 0.02em;
}

.desktop-nav a {
  position: relative;
  padding-block: 8px;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line-dark);
}

.lang-button {
  min-width: 34px;
  min-height: 30px;
  padding: 5px 7px;
  color: rgba(255, 255, 255, 0.7);
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.08em;
}

.lang-button.is-active {
  color: var(--ink);
  background: var(--white);
}

.header-cta {
  padding: 11px 15px;
  border: 1px solid var(--white);
  transition: color 180ms ease, background-color 180ms ease;
}

.header-cta:hover {
  color: var(--ink);
  background: var(--white);
}

.menu-button,
.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: var(--white);
  background: var(--ink);
  overflow: hidden;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  background-image: url("assets/acapulco.jpg");
  background-position: center 42%;
  background-size: cover;
  filter: saturate(0.55) contrast(1.08) brightness(0.92);
  transform: scale(1.015);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 27, 36, 0.93) 0%, rgba(7, 27, 36, 0.65) 47%, rgba(7, 27, 36, 0.22) 76%, rgba(7, 27, 36, 0.48) 100%),
    linear-gradient(0deg, rgba(7, 27, 36, 0.9) 0%, transparent 52%);
}

.hero::after {
  content: "";
  position: absolute;
  top: var(--header-height);
  right: max(32px, calc((100% - 1240px) / 2));
  bottom: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.17);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: var(--shell);
  margin-inline: auto;
  padding: clamp(150px, 19vh, 220px) 0 clamp(155px, 18vh, 205px);
}

.hero-coordinates {
  position: absolute;
  z-index: 2;
  right: max(18px, calc((100% - 1300px) / 2));
  top: 50%;
  writing-mode: vertical-rl;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.eyebrow {
  margin-bottom: 28px;
  color: var(--ocean);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: rgba(255, 255, 255, 0.68);
}

.hero h1 {
  max-width: 940px;
  margin-bottom: clamp(42px, 7vh, 76px);
  font-family: var(--serif);
  font-size: clamp(54px, 7.3vw, 112px);
  font-weight: 350;
  letter-spacing: -0.042em;
  line-height: 0.9;
}

.hero-lower {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.7fr);
  align-items: end;
  gap: clamp(48px, 8vw, 120px);
  max-width: 980px;
}

.hero-lead {
  max-width: 610px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.83);
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.55;
}

.hero-actions {
  display: grid;
  gap: 14px;
}

.hero-note {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  line-height: 1.45;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.025em;
  line-height: 1.1;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button-primary {
  color: var(--white);
  background: var(--ocean);
  border-color: var(--ocean);
}

.button-primary:hover {
  background: var(--ocean-bright);
  border-color: var(--ocean-bright);
}

.button-secondary {
  color: var(--text);
  background: transparent;
  border-color: var(--line-light);
}

.button-secondary:hover {
  border-color: var(--ink);
}

.button-light {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
}

.button-light:hover {
  color: var(--white);
  background: transparent;
}

.hero-stats {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(7, 27, 36, 0.84);
  border-top: 1px solid var(--line-dark);
  backdrop-filter: blur(12px);
}

.hero-stats > div {
  min-height: 112px;
  display: grid;
  grid-template-columns: minmax(72px, auto) 1fr;
  align-items: center;
  gap: 16px;
  padding: 24px clamp(22px, 3vw, 46px);
  border-right: 1px solid var(--line-dark);
}

.hero-stats > div:last-child {
  border-right: 0;
}

.hero-stats strong {
  font-family: var(--serif);
  font-size: clamp(30px, 3.2vw, 49px);
  font-weight: 350;
  letter-spacing: -0.04em;
  line-height: 1;
}

.hero-stats span {
  max-width: 24ch;
  color: rgba(255, 255, 255, 0.64);
  font-size: 11px;
  line-height: 1.45;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(160px, 0.42fr) minmax(0, 1fr);
  gap: clamp(40px, 8vw, 128px);
  margin-bottom: clamp(54px, 7vw, 96px);
}

.split-heading .eyebrow {
  margin-top: 13px;
}

.split-heading h2,
.legacy-content h2,
.faq h2,
.contact-band h2,
.intake-intro h2 {
  margin-bottom: 26px;
  font-family: var(--serif);
  font-size: clamp(44px, 5.3vw, 78px);
  font-weight: 350;
  letter-spacing: -0.04em;
  line-height: 0.96;
}

.split-heading > div > p {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--slate);
  font-size: 17px;
}

.triage {
  background: var(--paper);
}

.triage-list {
  border-top: 1px solid var(--line-light);
}

.triage-row {
  min-height: 132px;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) minmax(150px, auto);
  align-items: center;
  gap: 26px;
  padding: 28px 22px 28px 0;
  border-bottom: 1px solid var(--line-light);
  transition: background-color 180ms ease, padding-left 180ms ease;
}

.triage-row:hover,
.triage-row:focus-visible {
  padding-left: 22px;
  background: var(--foam);
}

.triage-urgent {
  border-left: 4px solid var(--wine);
  padding-left: 18px;
}

.triage-urgent:hover,
.triage-urgent:focus-visible {
  padding-left: 28px;
}

.triage-number,
.practice-index,
.member-number,
.method-grid article > span {
  color: var(--slate);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.triage-copy {
  display: grid;
  gap: 8px;
}

.triage-copy strong {
  font-family: var(--serif);
  font-size: clamp(24px, 2.4vw, 35px);
  font-weight: 430;
  line-height: 1.1;
}

.triage-copy small {
  max-width: 68ch;
  color: var(--slate);
  font-size: 13px;
}

.triage-action,
.text-link {
  position: relative;
  width: max-content;
  color: var(--ocean);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.triage-action::after,
.text-link::after {
  content: "↗";
  display: inline-block;
  margin-left: 9px;
  transition: transform 180ms ease;
}

a:hover > .triage-action::after,
.text-link:hover::after {
  transform: translate(3px, -3px);
}

.practice {
  background: var(--foam);
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line-light);
}

.practice-item {
  min-height: 280px;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  padding: 30px clamp(24px, 4vw, 54px) 34px;
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.practice-item:nth-child(2n) {
  border-right: 0;
}

.practice-item h3 {
  margin: 36px 0 15px;
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 41px);
  font-weight: 420;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.practice-item p {
  max-width: 46ch;
  margin-bottom: 30px;
  color: var(--slate);
  font-size: 14px;
}

.practice-other {
  color: var(--white);
  background: var(--ink);
}

.practice-other p,
.practice-other .practice-index {
  color: rgba(255, 255, 255, 0.6);
}

.practice-other .text-link {
  color: #8dd0dd;
}

.legacy {
  background: var(--paper);
}

.legacy-layout {
  display: grid;
  grid-template-columns: minmax(340px, 0.82fr) minmax(0, 1.18fr);
  align-items: start;
  gap: clamp(58px, 10vw, 150px);
}

.legacy-image-wrap {
  position: sticky;
  top: calc(var(--header-height) + 28px);
}

.legacy-image-wrap img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: contrast(1.04);
}

.image-caption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  color: var(--slate);
  border-top: 1px solid var(--line-light);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.legacy-content {
  padding-top: 16px;
}

.legacy-lead {
  max-width: 64ch;
  margin-bottom: 58px;
  color: var(--slate);
  font-size: 17px;
}

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-light);
}

.timeline li {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line-light);
}

.timeline time {
  color: var(--ocean);
  font-family: var(--serif);
  font-size: 27px;
  line-height: 1;
}

.timeline p {
  max-width: 55ch;
  margin-bottom: 0;
  font-size: 14px;
}

.method {
  color: var(--white);
  background: var(--ink);
}

.method blockquote {
  max-width: 1120px;
  margin-bottom: clamp(64px, 9vw, 120px);
  font-family: var(--serif);
  font-size: clamp(42px, 5.7vw, 80px);
  font-weight: 320;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-dark);
}

.method-grid article {
  min-height: 250px;
  padding: 28px 25px 10px;
  border-right: 1px solid var(--line-dark);
}

.method-grid article:first-child {
  padding-left: 0;
}

.method-grid article:last-child {
  border-right: 0;
}

.method-grid article > span {
  color: rgba(255, 255, 255, 0.45);
}

.method-grid h3 {
  margin: 52px 0 15px;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 430;
}

.method-grid p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.team {
  background: var(--paper);
}

.team-list {
  display: grid;
  gap: clamp(72px, 10vw, 140px);
}

.team-member {
  display: grid;
  grid-template-columns: minmax(300px, 0.86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: clamp(48px, 9vw, 130px);
}

.team-member-reverse .portrait {
  grid-column: 2;
}

.team-member-reverse .member-copy {
  grid-column: 1;
  grid-row: 1;
}

.portrait {
  min-height: 560px;
  background: var(--foam);
  overflow: hidden;
}

.portrait img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.74) contrast(1.02);
  transition: filter 300ms ease, transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.team-member:hover .portrait img {
  filter: saturate(0.96) contrast(1.02);
  transform: scale(1.015);
}

.portrait-placeholder {
  position: relative;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  color: var(--white);
  background: var(--ocean);
}

.portrait-placeholder::before,
.portrait-placeholder::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.22);
}

.portrait-placeholder::before {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
}

.portrait-placeholder::after {
  top: 50%;
  right: 0;
  left: 0;
  height: 1px;
}

.portrait-placeholder span,
.portrait-placeholder small {
  position: relative;
  z-index: 1;
}

.portrait-placeholder span {
  font-family: var(--serif);
  font-size: clamp(72px, 10vw, 134px);
  font-weight: 300;
  letter-spacing: -0.05em;
}

.portrait-placeholder small {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.member-copy {
  max-width: 560px;
}

.member-copy h3 {
  margin: 42px 0 18px;
  font-family: var(--serif);
  font-size: clamp(38px, 4.4vw, 63px);
  font-weight: 380;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.member-role {
  color: var(--ocean);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.member-copy > p:not(.member-role) {
  max-width: 49ch;
  margin-bottom: 30px;
  color: var(--slate);
}

.intake {
  color: var(--white);
  background: var(--ink);
}

.intake-shell {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(560px, 1.22fr);
  align-items: start;
  gap: clamp(54px, 9vw, 130px);
}

.intake-intro {
  position: sticky;
  top: calc(var(--header-height) + 38px);
}

.intake-intro > p:not(.eyebrow):not(.intake-note) {
  max-width: 55ch;
  color: rgba(255, 255, 255, 0.68);
}

.intake-benefits {
  display: grid;
  gap: 0;
  margin: 42px 0;
  padding: 0;
  list-style: none;
  counter-reset: benefit;
  border-top: 1px solid var(--line-dark);
}

.intake-benefits li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line-dark);
  counter-increment: benefit;
  font-size: 13px;
}

.intake-benefits li::before {
  content: "0" counter(benefit);
  color: rgba(255, 255, 255, 0.42);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.intake-note {
  max-width: 50ch;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 12px;
}

.intake-card {
  min-width: 0;
  padding: clamp(28px, 4.2vw, 58px);
  color: var(--text);
  background: var(--paper);
}

.form-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 48px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-light);
}

.form-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--ocean);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.form-heading strong {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 440;
}

.progress-track {
  width: 150px;
  height: 2px;
  background: var(--stone);
}

.progress-track span {
  display: block;
  width: 33.333%;
  height: 100%;
  background: var(--ocean);
  transition: width 260ms ease;
}

.form-step {
  display: grid;
  gap: 38px;
}

.form-step[hidden],
.form-success[hidden],
.form-error[hidden],
[hidden] {
  display: none !important;
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

legend {
  width: 100%;
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 440;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.field-help {
  margin-bottom: 20px;
  color: var(--slate);
  font-size: 12px;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.choice-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.choice-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.choice {
  position: relative;
  min-width: 0;
}

.choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice span {
  min-height: 54px;
  display: flex;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--stone);
  background: var(--white);
  cursor: pointer;
  font-size: 12px;
  line-height: 1.28;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.choice input:checked + span {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.choice input:focus-visible + span {
  outline: 2px solid var(--ocean-bright);
  outline-offset: 2px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 16px;
}

.field {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 9px;
}

.field-wide {
  grid-column: 1 / -1;
}

.field > span:first-child,
.consent > span {
  font-size: 12px;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 14px;
  border: 1px solid var(--stone);
  border-radius: 0;
  color: var(--text);
  background: var(--white);
  font-size: 15px;
}

.field textarea {
  min-height: 146px;
  resize: vertical;
  line-height: 1.5;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--ocean);
  outline: 1px solid var(--ocean);
}

::placeholder {
  color: #889297;
}

.character-count {
  justify-self: end;
  color: var(--slate);
  font-size: 10px;
}

.character-count.is-ready {
  color: var(--success);
}

.consent {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--stone);
  cursor: pointer;
}

.consent input {
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  accent-color: var(--ocean);
}

.consent span {
  color: var(--slate);
  line-height: 1.45;
}

.message-preview {
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.message-preview summary,
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
  list-style: none;
}

.message-preview summary::-webkit-details-marker,
.faq summary::-webkit-details-marker {
  display: none;
}

.message-preview summary {
  padding: 18px 0;
  font-size: 12px;
  font-weight: 650;
}

.message-preview summary span:last-child,
.faq summary span:last-child {
  transition: transform 180ms ease;
}

.message-preview[open] summary span:last-child,
.faq details[open] summary span:last-child {
  transform: rotate(45deg);
}

.message-preview pre {
  max-height: 300px;
  margin: 0 0 20px;
  padding: 18px;
  overflow: auto;
  color: #c8d6da;
  background: var(--ink);
  white-space: pre-wrap;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  line-height: 1.6;
}

.form-error {
  margin-top: 26px;
  padding: 14px 16px;
  color: #6d201e;
  background: #f7e9e7;
  border-left: 3px solid var(--wine);
  font-size: 12px;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 36px;
}

.button-form {
  min-width: 190px;
}

.privacy-note {
  margin: 18px 0 0;
  color: var(--slate);
  font-size: 10px;
  text-align: right;
}

.form-success {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.form-success h3 {
  max-width: 650px;
  margin: 0 0 24px;
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 380;
  letter-spacing: -0.04em;
  line-height: 1;
}

.form-success p {
  max-width: 55ch;
  margin-bottom: 30px;
  color: var(--slate);
}

.text-button {
  margin-top: 22px;
  padding: 0;
  color: var(--ocean);
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.faq {
  background: var(--foam);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1.35fr);
  align-items: start;
  gap: clamp(58px, 10vw, 150px);
}

.faq h2 {
  font-size: clamp(42px, 4.8vw, 68px);
}

.faq-list {
  border-top: 1px solid var(--line-light);
}

.faq details {
  border-bottom: 1px solid var(--line-light);
}

.faq summary {
  min-height: 88px;
  padding: 22px 0;
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 440;
  line-height: 1.15;
}

.faq summary span:last-child {
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 300;
}

.faq details p {
  max-width: 65ch;
  margin: -4px 42px 30px 0;
  color: var(--slate);
  font-size: 14px;
}

.contact-band {
  padding-block: clamp(84px, 10vw, 140px);
  color: var(--white);
  background: var(--ocean);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(270px, 0.7fr);
  align-items: end;
  gap: clamp(50px, 9vw, 130px);
}

.contact-band h2 {
  max-width: 900px;
  margin-bottom: 0;
}

.contact-actions {
  display: grid;
  justify-items: start;
  gap: 24px;
}

.text-link-light {
  color: var(--white);
}

.site-footer {
  padding: 76px 0 28px;
  color: rgba(255, 255, 255, 0.66);
  background: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.65fr;
  gap: clamp(48px, 8vw, 110px);
}

.brand-footer {
  color: var(--white);
}

.footer-brand > p {
  max-width: 48ch;
  margin: 28px 0 0;
  font-size: 13px;
}

.footer-column {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 10px;
  font-size: 13px;
}

.footer-column h3 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-column address {
  max-width: 40ch;
  font-style: normal;
}

.footer-column p {
  margin: 0;
}

.footer-column a {
  color: var(--white);
}

.footer-column a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  margin-top: 68px;
  padding-top: 22px;
  border-top: 1px solid var(--line-dark);
  font-size: 10px;
}

.mobile-cta {
  display: none;
}

@media (max-width: 1120px) {
  :root {
    --shell: min(100% - 48px, 1080px);
  }

  .mobile-language {
    display: flex;
    gap: 8px;
    margin-top: 36px;
  }

  .mobile-language .lang-button {
    min-width: 48px;
    color: rgba(255, 255, 255, 0.68);
    border: 1px solid var(--line-dark);
  }

  .mobile-language .lang-button.is-active {
    color: var(--ink);
    background: var(--white);
  }

  .desktop-nav {
    gap: 18px;
  }

  .hero-stats > div {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 8px;
    min-height: 125px;
  }

  .method-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .method-grid article {
    border-bottom: 1px solid var(--line-dark);
  }

  .method-grid article:nth-child(2) {
    border-right: 0;
  }

  .method-grid article:nth-child(3) {
    padding-left: 0;
  }

  .intake-shell {
    grid-template-columns: 0.72fr 1.28fr;
    gap: 48px;
  }
}

@media (max-width: 920px) {
  :root {
    --header-height: 72px;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .site-header.is-menu-open {
    backdrop-filter: none;
  }

  .nav-actions {
    margin-left: auto;
  }

  .menu-button {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    padding: 0;
    color: var(--white);
    background: transparent;
    cursor: pointer;
  }

  .menu-lines,
  .menu-lines::before {
    width: 24px;
    height: 1px;
    display: block;
    background: currentColor;
    transition: transform 180ms ease;
  }

  .menu-lines {
    position: relative;
    transform: translateY(4px);
  }

  .menu-lines::before {
    content: "";
    position: absolute;
    transform: translateY(-8px);
  }

  .menu-button[aria-expanded="true"] .menu-lines {
    transform: rotate(45deg);
  }

  .menu-button[aria-expanded="true"] .menu-lines::before {
    transform: rotate(-90deg);
  }

  .mobile-menu {
    position: fixed;
    inset: var(--header-height) 0 0;
    z-index: 99;
    display: grid;
    align-content: start;
    padding: 50px 24px;
    color: var(--white);
    background: var(--ink);
  }

  .mobile-menu a {
    padding: 20px 0;
    border-bottom: 1px solid var(--line-dark);
    font-family: var(--serif);
    font-size: 34px;
    font-weight: 380;
  }

  .hero-inner {
    padding-bottom: 240px;
  }

  .hero-lower,
  .legacy-layout,
  .intake-shell,
  .faq-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-lower {
    align-items: start;
    gap: 34px;
  }

  .hero-actions {
    justify-items: start;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-stats > div {
    min-height: 105px;
    padding: 18px 24px;
  }

  .hero-stats > div:nth-child(2) {
    border-right: 0;
  }

  .hero-stats > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line-dark);
  }

  .split-heading {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .split-heading .eyebrow {
    margin-top: 0;
  }

  .legacy-image-wrap,
  .intake-intro {
    position: static;
  }

  .legacy-image-wrap {
    max-width: 600px;
  }

  .team-member {
    grid-template-columns: minmax(260px, 0.9fr) 1.1fr;
    gap: 45px;
  }

  .portrait,
  .portrait img {
    min-height: 470px;
  }

  .intake-intro {
    max-width: 760px;
  }

  .intake-card {
    max-width: 760px;
  }

  .contact-actions {
    margin-top: 12px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  :root {
    --shell: calc(100% - 32px);
    --section-space: 82px;
  }

  body {
    font-size: 15px;
  }

  .site-header {
    background: rgba(7, 27, 36, 0.8);
  }

  .brand-mark {
    width: 39px;
    height: 39px;
    font-size: 17px;
  }

  .brand-copy strong {
    font-size: 16px;
  }

  .brand-copy small {
    font-size: 8px;
  }

  .language-switch {
    display: none;
  }

  .mobile-menu {
    padding-bottom: 120px;
  }

  .hero {
    min-height: 900px;
  }

  .hero-image {
    background-position: 59% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(7, 27, 36, 0.9), rgba(7, 27, 36, 0.32)),
      linear-gradient(0deg, rgba(7, 27, 36, 0.97) 0%, rgba(7, 27, 36, 0.14) 68%);
  }

  .hero::after,
  .hero-coordinates {
    display: none;
  }

  .hero-inner {
    padding: 132px 0 250px;
  }

  .hero h1 {
    margin-bottom: 34px;
    font-size: clamp(49px, 14.5vw, 68px);
    line-height: 0.93;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-stats > div {
    min-height: 106px;
    align-content: center;
    padding: 16px;
  }

  .hero-stats strong {
    font-size: 31px;
  }

  .hero-stats span {
    font-size: 9px;
  }

  .split-heading h2,
  .legacy-content h2,
  .faq h2,
  .contact-band h2,
  .intake-intro h2 {
    font-size: clamp(42px, 12vw, 58px);
  }

  .triage-row {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 14px;
    padding: 25px 0;
  }

  .triage-row:hover,
  .triage-row:focus-visible,
  .triage-urgent,
  .triage-urgent:hover,
  .triage-urgent:focus-visible {
    padding-left: 12px;
  }

  .triage-action {
    grid-column: 2;
  }

  .practice-grid,
  .method-grid {
    grid-template-columns: 1fr;
  }

  .practice-item,
  .practice-item:nth-child(2n),
  .method-grid article,
  .method-grid article:nth-child(2),
  .method-grid article:nth-child(3) {
    border-right: 0;
  }

  .practice-item {
    min-height: 250px;
    padding-inline: 0;
  }

  .practice-other {
    margin-inline: -16px;
    padding-inline: 16px;
  }

  .legacy-layout {
    gap: 50px;
  }

  .image-caption {
    display: grid;
  }

  .timeline li {
    grid-template-columns: 82px 1fr;
  }

  .method blockquote {
    font-size: clamp(40px, 11vw, 55px);
  }

  .method-grid article,
  .method-grid article:first-child,
  .method-grid article:nth-child(3) {
    min-height: 205px;
    padding: 25px 0;
  }

  .method-grid h3 {
    margin-top: 34px;
  }

  .team-member,
  .team-member-reverse {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .team-member-reverse .portrait,
  .team-member-reverse .member-copy {
    grid-column: auto;
    grid-row: auto;
  }

  .portrait,
  .portrait img {
    min-height: 510px;
  }

  .member-copy h3 {
    margin-top: 28px;
  }

  .intake-card {
    margin-inline: -16px;
    padding: 28px 16px;
  }

  .form-heading {
    align-items: start;
    flex-direction: column;
  }

  .progress-track {
    width: 100%;
  }

  .choice-grid,
  .choice-grid-three,
  .choice-grid-two,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .field-wide {
    grid-column: auto;
  }

  .choice span,
  .field input,
  .field select,
  .field textarea {
    font-size: 16px;
  }

  .form-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .form-actions .button {
    width: 100%;
  }

  .privacy-note {
    text-align: left;
  }

  .faq-layout {
    gap: 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .mobile-cta {
    position: fixed;
    z-index: 90;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(7, 27, 36, 0.97);
    border-top: 1px solid var(--line-dark);
  }

  .mobile-cta .button {
    width: 100%;
  }

  .site-footer {
    padding-bottom: 108px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .site-header,
  .mobile-cta,
  .hero-actions,
  .form-actions {
    display: none !important;
  }

  .hero {
    min-height: auto;
    color: #000;
    background: #fff;
  }

  .hero-image,
  .hero-shade,
  .hero-stats {
    display: none;
  }

  .hero-inner {
    padding: 40px 0;
  }
}
