:root {
  --bg: #ffffff;
  --surface: #f8fafc;
  --card: #ffffff;
  --ink: #020817;
  --muted: #4b5563;
  --faint: #6b7280;
  --eyebrow: #1c1c1c;
  --link: #0066ff;
  --line: #e2e8f0;
  --primary: #1c1c1c;
  --green: #16a34a;
  --sans: Inter, InterVariable, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --display: "Bricolage Grotesque", var(--sans);
  --hero-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --hero-pad: clamp(28px, 5vw, 56px);
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --max: 1120px;
  --pad: clamp(20px, 4vw, 32px);
  --header-h: 64px;
  --shadow-card: 0 20px 50px rgba(15, 23, 42, 0.05);
  --shadow-soft: 0 1px 2px rgba(15, 23, 42, 0.04);
  --section-pad: clamp(72px, 10vw, 108px);
  color-scheme: light;
}

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

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

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

body:has(.nav-check:checked),
body.booking-open {
  overflow: hidden;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 3px;
}

::selection {
  background: #dbeafe;
  color: var(--ink);
}

.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 30;
  background: var(--primary);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
}

.skip:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding-top: env(safe-area-inset-top, 0);
  background: #fff;
}

.header-shell {
  position: relative;
  width: min(1240px, calc(100% - var(--pad) * 2));
  margin-inline: auto;
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(12px, 3vw, 28px);
  min-height: var(--header-h);
}

.header-shell-minimal .header-inner {
  display: flex;
  justify-content: space-between;
}

.brand-cluster {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  color: var(--ink);
  text-decoration: none;
  line-height: 0;
}

.brand-contact {
  padding-left: 14px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-contact:hover {
  color: var(--ink);
}

.brand-name {
  font-family: var(--display);
  font-size: 1.0625rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.mark {
  display: block;
  width: 45px;
  height: 45px;
  flex-shrink: 0;
  object-fit: contain;
}

.site-nav-split {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 1.5vw, 22px);
  min-width: 0;
}

.site-nav-split a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 6px 4px;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.site-nav-split a:hover {
  color: var(--ink);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 22px);
  flex-shrink: 0;
}

.nav-link-plain {
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.nav-link-plain:hover {
  color: var(--link);
}

.site-nav-drawer {
  display: none;
}

.nav-check,
.nav-toggle {
  display: none;
}

.nav-book {
  display: none;
}

.nav-cta {
  min-height: 38px;
  padding: 0 16px;
  font-size: 0.8125rem;
  font-weight: 550;
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 13px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 550;
  text-decoration: none;
  line-height: 1.55;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: #f8fafc;
}

.btn-primary:hover {
  background: #000;
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: #cbd5e1;
  background: var(--surface);
}

.btn-outline {
  background: #fff;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-outline:hover {
  background: var(--surface);
  color: var(--ink);
}

.hero {
  width: min(1240px, calc(100% - var(--pad) * 2));
  margin-inline: auto;
  padding: var(--hero-pad) 0 0;
  text-align: center;
}

.hero-copy {
  max-width: 52rem;
  margin-inline: auto;
}

.hero-title {
  margin: 0 auto 18px;
  font-family: var(--hero-serif);
  font-size: clamp(2.5rem, 6.8vw, 4.5rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.hero-lede {
  max-width: 42ch;
  margin-bottom: 0;
  font-size: clamp(0.9375rem, 1.25vw, 1.0625rem);
}

.hero-actions {
  margin-top: 26px;
  gap: 12px 14px;
}

.hero-actions .btn {
  min-height: 46px;
  padding: 0 26px;
  font-size: 0.875rem;
}

.hero-showcase {
  position: relative;
  padding: clamp(48px, 8vw, 48px) var(--pad) clamp(32px, 5vw, 48px);
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  left: 50%;
  bottom: -28%;
  width: min(900px, 120%);
  height: 620px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(
    circle at 50% 100%,
    rgba(255, 237, 200, 0.75) 0%,
    rgba(255, 248, 230, 0.35) 38%,
    rgba(255, 255, 255, 0) 72%
  );
  pointer-events: none;
}

.hero-rings {
  position: absolute;
  left: 50%;
  bottom: 6%;
  width: min(980px, 118vw);
  height: min(980px, 118vw);
  transform: translateX(-50%);
  border-radius: 50%;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow:
    0 0 0 48px rgba(255, 255, 255, 0.5),
    0 0 0 96px rgba(248, 250, 252, 0.45);
  pointer-events: none;
}

.hero-figure {
  position: relative;
  z-index: 1;
  margin: 0;
}

.hero-visual {
  display: block;
  width: clamp(300px, 40vw, 520px);
  height: auto;
  margin-inline: auto;
  border-radius: clamp(22px, 3vw, 32px);
  box-shadow:
    0 24px 60px rgba(15, 23, 42, 0.12),
    0 0 0 1px rgba(226, 232, 240, 0.65);
}

.hero-lower {
  margin-top: clamp(40px, 6vw, 64px);
  padding: clamp(22px, 3.5vw, 32px);
  text-align: left;
  background: linear-gradient(180deg, var(--surface) 0%, #fff 100%);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  margin-bottom: 22px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
}

.pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
}

.pill:hover {
  color: var(--ink);
  border-color: #cbd5e1;
  background: #f1f5f9;
}

h1,
h2,
h3 {
  color: var(--ink);
}

h1:not(.hero-title),
h2 {
  font-family: var(--hero-serif);
  font-weight: 400;
}

h3 {
  font-family: var(--sans);
  font-weight: 600;
}

h1:not(.hero-title) {
  margin: 0 auto 20px;
  font-size: clamp(2.35rem, 6.4vw, 4.25rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
}

h1 span {
  display: block;
}

h2 {
  margin: 0 auto;
  max-width: 16em;
  font-size: clamp(2rem, 4.4vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

h2 .dim {
  display: block;
  color: var(--muted);
  font-style: italic;
}

.lede {
  max-width: 46ch;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: clamp(0.9375rem, 1.2vw, 1.0625rem);
  font-weight: 400;
  line-height: 1.65;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px 22px;
  margin-top: 28px;
}

.text-link {
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.fine {
  margin: 26px auto 0;
  max-width: 560px;
  color: var(--eyebrow);
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.55;
}

.fine a {
  color: var(--eyebrow);
}

.metrics-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.metrics-bar > div {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  align-items: start;
  column-gap: 12px;
  row-gap: 4px;
  margin: 0;
  padding: clamp(16px, 2.5vw, 20px) clamp(14px, 2vw, 18px);
  text-align: left;
}

.metrics-bar > div:not(:last-child) {
  border-right: 1px solid var(--line);
}

.stat-icon {
  grid-row: 1 / span 2;
  align-self: center;
  display: block;
  width: 1.625rem;
  height: 1.625rem;
  margin: 0;
  color: var(--muted);
  stroke-width: 1.5;
}

.metrics-bar dt {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.metrics-bar dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.45;
}

.pattern-showcase {
  margin-top: clamp(20px, 3vw, 28px);
  padding-top: clamp(20px, 3vw, 28px);
  border-top: 1px solid var(--line);
  text-align: left;
}

.pattern-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: start;
  gap: clamp(24px, 4vw, 40px);
  margin: 0;
}

.pattern-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.pattern-copy .eyebrow {
  margin-bottom: 10px;
}

.pattern-title {
  margin: 0 0 12px;
  max-width: 11em;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.12;
  text-align: left;
}

.pattern-title .dim {
  display: inline;
  font-style: italic;
}

.pattern-lede {
  max-width: 36ch;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.55;
  text-align: left;
}

.pattern-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 16px;
  padding: 4px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.pattern-tabs button {
  border: 0;
  background: transparent;
  color: var(--faint);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 550;
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition:
    color 0.15s ease,
    background 0.15s ease,
    box-shadow 0.15s ease;
}

.pattern-tabs button.is-active {
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}

.pattern-note {
  margin: 0;
  max-width: 38ch;
  color: var(--faint);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.5;
}

.pattern-code {
  min-width: 0;
}

.pattern-code pre {
  display: none;
  margin: 0;
  padding: clamp(16px, 2.5vw, 20px);
  overflow: auto;
  font-family: var(--mono);
  font-size: clamp(12px, 1.4vw, 13px);
  line-height: 1.65;
  color: #334155;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.pattern-code pre.is-active {
  display: block;
}

.pattern-code .c { color: #64748b; }
.pattern-code .k { color: #7c3aed; }
.pattern-code .s { color: #059669; }

.capability-tags {
  margin-top: clamp(18px, 3vw, 22px);
  padding-top: clamp(16px, 2.5vw, 20px);
  border-top: 1px solid var(--line);
}

.capability-tags ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.capability-tags li {
  padding: 6px 12px;
  color: var(--muted);
  font-size: 0.6875rem;
  font-weight: 550;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.band,
.section,
.finale {
  width: min(1240px, calc(100% - var(--pad) * 2));
  margin-inline: auto;
  padding: var(--section-pad) 0 12px;
  text-align: center;
  scroll-margin-top: 84px;
}

.band .lede,
.section-head .lede {
  margin-top: 18px;
}

.section-head h2 + .lede {
  margin-top: 16px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--faint);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-head {
  margin-bottom: clamp(32px, 5vw, 44px);
}

.section-head .lede {
  margin-bottom: 0;
}

.cards {
  display: grid;
  gap: 16px;
  text-align: left;
}

.cards-2 {
  grid-template-columns: 1fr 1fr;
}

.cards-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 100%;
  padding: clamp(22px, 3vw, 28px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.card:hover {
  border-color: #cbd5e1;
  box-shadow: var(--shadow-card);
}

.card-accent {
  border-color: #d1d5db;
  background: linear-gradient(165deg, #fff 0%, #fafafa 100%);
}

.kicker {
  margin: 0 0 10px;
  color: var(--faint);
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.card h3 {
  margin: 0 0 12px;
  font-size: 1.0625rem;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.card h4 {
  margin: 16px 0 6px;
  color: var(--faint);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

.card .btn {
  margin-top: auto;
  min-height: 42px;
  padding-inline: 22px;
  font-size: 0.8125rem;
}

.cards .card:has(.btn) {
  padding-bottom: clamp(22px, 3vw, 26px);
}

.card .btn-ghost {
  border-color: var(--ink);
  color: var(--ink);
}

.card .btn-ghost:hover {
  background: var(--surface);
}

.badge {
  display: inline-flex;
  margin-top: 18px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-live {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #15803d;
}

.plan {
  gap: 0;
}

.plan .kicker {
  margin-bottom: 12px;
}

.plan h3 {
  margin-bottom: 8px;
}

.plan .kicker + .price {
  margin-top: 0;
}

.plan .price {
  margin: 0 0 14px;
  color: var(--ink);
  font-family: var(--hero-serif);
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.plan .price + p,
.plan .price + .plan-label {
  margin-top: 0;
}

.plan.card-accent .price {
  color: var(--ink);
}

.plan-label {
  margin: 18px 0 6px;
  color: var(--faint);
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.plan .price + .plan-label {
  margin-top: 16px;
}

.plan .plan-label + p {
  margin-top: 0;
}

.plan p + .plan-label {
  margin-top: 14px;
}

.finale {
  padding-bottom: clamp(64px, 8vw, 96px);
}

.finale .actions .btn {
  min-height: 46px;
  padding-inline: 26px;
  font-size: 0.875rem;
}

.finale .fine {
  margin-top: 20px;
  color: var(--faint);
  font-size: 0.8125rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px 24px;
  width: min(1240px, calc(100% - var(--pad) * 2));
  margin: 0 auto;
  padding: 24px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover,
.fine a:hover {
  color: var(--ink);
}

.missing {
  width: min(1240px, calc(100% - var(--pad) * 2));
  margin: 0 auto;
  padding: var(--section-pad) 0 120px;
  text-align: center;
}

.missing h1 {
  font-family: var(--hero-serif);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.08;
}

.missing .actions {
  justify-content: center;
}

@media (max-width: 980px) {
  .cards-3,
  .metrics-bar {
    grid-template-columns: 1fr 1fr;
  }

  .metrics-bar > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metrics-bar > div:nth-child(odd) {
    border-right: 1px solid var(--line);
  }

  .metrics-bar > div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .pattern-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1040px) {
  .brand-contact {
    display: none;
  }

  .site-nav-split {
    gap: 10px;
  }

  .site-nav-split a {
    font-size: 0.75rem;
  }

  .nav-link-plain {
    display: none;
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 56px;
    --section-pad: clamp(48px, 12vw, 72px);
    --hero-pad: 20px;
    --pad: 18px;
  }

  .header-inner {
    display: flex;
    justify-content: space-between;
    gap: 12px;
  }

  .brand-cluster {
    gap: 0;
  }

  .site-nav-split,
  .nav-actions {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    min-height: 44px;
    margin-left: auto;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
  }

  .nav-toggle .open-label {
    display: inline;
    color: inherit;
  }

  .close-label {
    display: none;
  }

  .nav-check {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .nav-check:focus-visible + .header-inner .nav-toggle {
    outline: 2px solid var(--link);
    outline-offset: 3px;
  }

  .nav-check:checked + .header-inner .nav-toggle .open-label {
    display: none;
  }

  .nav-check:checked + .header-inner .nav-toggle .close-label {
    display: inline;
    color: inherit;
  }

  .nav-check:checked + .header-inner .nav-toggle {
    background: var(--surface);
  }

  .site-nav-drawer {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 8px 0 16px;
    border-top: 1px solid var(--line);
  }

  .nav-check:checked ~ .site-nav-drawer {
    display: flex;
  }

  .site-nav-drawer a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 12px 8px;
    color: var(--ink);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 8px;
  }

  .site-nav-drawer a:not(.nav-book):hover {
    background: var(--surface);
  }

  .nav-book {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    margin-top: 10px;
    width: 100%;
  }

  .site-nav-drawer .nav-book.btn-primary {
    color: #f8fafc;
  }

  .site-nav-drawer .nav-book.btn-primary:hover {
    color: #fff;
    background: #000;
  }

  .site-nav-drawer .nav-book.btn-outline {
    color: var(--ink);
  }

  .hero {
    padding-top: 20px;
  }

  .hero-title {
    font-size: clamp(2rem, 9.2vw, 2.7rem);
    line-height: 1.08;
  }

  .hero-lede {
    max-width: 36ch;
    font-size: 0.9375rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 22px;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 48px;
  }

  .hero-showcase {
    margin-inline: 0;
    margin-top: clamp(20px, 5vw, 32px);
    padding: clamp(24px, 6vw, 36px) 0 clamp(16px, 4vw, 24px);
  }

  .hero-rings {
    display: none;
  }

  .hero-visual {
    width: min(320px, 88vw);
    border-radius: 20px;
    box-shadow:
      0 16px 40px rgba(15, 23, 42, 0.1),
      0 0 0 1px rgba(226, 232, 240, 0.65);
  }

  .cards-2,
  .cards-3 {
    grid-template-columns: 1fr;
  }

  .metrics-bar > div {
    border-right: 0 !important;
    border-bottom: 1px solid var(--line);
  }

  .metrics-bar > div:last-child {
    border-bottom: 0;
  }

  .metrics-bar {
    grid-template-columns: 1fr;
  }

  .hero-lower {
    margin-top: 28px;
    padding: 14px;
    border-radius: 18px;
  }

  .metrics-bar > div {
    padding: 14px 12px;
  }

  .pattern-showcase {
    margin-top: 14px;
    padding-top: 16px;
  }

  .pattern-layout {
    gap: 16px;
  }

  .pattern-title {
    max-width: none;
    font-size: clamp(1.4rem, 6.5vw, 1.75rem);
  }

  .pattern-lede {
    margin-bottom: 14px;
    font-size: 0.8125rem;
  }

  .pattern-tabs {
    display: flex;
    width: 100%;
  }

  .pattern-tabs button {
    flex: 1 1 0;
    min-width: 0;
    padding: 8px 8px;
    font-size: 0.6875rem;
  }

  .pattern-code pre {
    padding: 14px;
    font-size: 11.5px;
    line-height: 1.6;
  }

  .capability-tags {
    margin-top: 14px;
    padding-top: 14px;
  }

  .capability-tags ul {
    justify-content: flex-start;
    gap: 6px 8px;
  }

  .capability-tags li {
    padding: 5px 10px;
    font-size: 0.625rem;
  }

  .band,
  .section,
  .finale {
    scroll-margin-top: 72px;
  }

  h2 {
    max-width: none;
    font-size: clamp(1.7rem, 7.5vw, 2.35rem);
    padding-inline: 2px;
  }

  h2 .dim {
    display: inline;
  }

  .lede {
    margin-bottom: 20px;
    font-size: 0.9375rem;
  }

  .actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    max-width: 28rem;
    margin-inline: auto;
  }

  .actions .btn {
    width: 100%;
    min-height: 48px;
  }

  .finale .actions {
    max-width: none;
  }

  .card {
    padding: 20px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: max(32px, env(safe-area-inset-bottom, 0px));
    text-align: left;
  }

}

.booking-root {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 28px);
}

.booking-root[hidden] {
  display: none;
}

.booking-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(2, 8, 23, 0.42);
  backdrop-filter: blur(6px);
  cursor: pointer;
}

.booking-dialog {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(92vh, 820px);
  overflow: auto;
  margin: 0;
  padding: 0;
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.18);
  outline: none;
}

.booking-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.booking-close:hover {
  background: var(--surface);
}

.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(20px, 4vw, 32px);
  padding: clamp(22px, 3.5vw, 32px);
}

.booking-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(8px, 2vw, 16px) clamp(8px, 2vw, 12px) 0 0;
}

.booking-aside .eyebrow {
  margin-bottom: 10px;
}

.booking-title {
  margin: 0 0 12px;
  max-width: none;
  font-family: var(--hero-serif);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-align: left;
}

.booking-title .dim {
  display: inline;
  font-style: italic;
}

.booking-aside-lede {
  max-width: 34ch;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.55;
}

.booking-pipeline {
  margin: auto 0 0;
  padding: 0;
  list-style: none;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--surface) 0%, #fff 100%);
}

.booking-pipeline li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.75rem;
}

.booking-pipeline li + li {
  border-top: 1px solid var(--line);
}

.booking-pipeline span {
  color: var(--ink);
  font-weight: 600;
}

.booking-main {
  position: relative;
  z-index: 1;
}

.booking-form {
  display: grid;
  gap: 14px;
}

.booking-field {
  display: grid;
  gap: 6px;
}

.booking-field label {
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 550;
}

.booking-optional {
  color: var(--faint);
  font-weight: 500;
}

.booking-field input,
.booking-field select,
.booking-field textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.875rem;
  line-height: 1.45;
}

.booking-field textarea {
  resize: vertical;
  min-height: 108px;
}

.booking-field input:focus-visible,
.booking-field select:focus-visible,
.booking-field textarea:focus-visible {
  border-color: #94a3b8;
  outline: 2px solid #dbeafe;
  outline-offset: 0;
}

.booking-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.booking-turnstile-wrap {
  width: 100%;
}

.booking-turnstile {
  min-height: 65px;
}

.booking-error {
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #b91c1c;
  font-size: 0.8125rem;
}

.booking-submit {
  width: 100%;
  min-height: 46px;
}

.booking-fine {
  margin: 4px 0 0;
  color: var(--faint);
  font-size: 0.75rem;
  text-align: center;
}

.booking-fine a {
  color: var(--ink);
}

.booking-success {
  display: grid;
  gap: 12px;
  padding: clamp(10px, 2vw, 18px) 0;
}

.booking-success[hidden],
.booking-form[hidden] {
  display: none;
}

.booking-success-kicker {
  margin: 0;
  color: var(--faint);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.booking-success-title {
  margin: 0;
  font-family: var(--hero-serif);
  font-size: clamp(1.65rem, 3vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.booking-success-copy {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.55;
}

@media (max-width: 820px) {
  .booking-layout {
    grid-template-columns: 1fr;
    gap: clamp(16px, 4vw, 24px);
    padding: clamp(20px, 4vw, 28px) clamp(18px, 4vw, 24px)
      max(22px, env(safe-area-inset-bottom, 0px));
  }

  .booking-aside {
    padding: 0;
  }

  .booking-title {
    padding-right: 40px;
    font-size: clamp(1.45rem, 5vw, 2rem);
  }

  .booking-aside-lede {
    max-width: none;
    margin-bottom: 22px;
  }

  .booking-pipeline {
    margin-top: 0;
  }

  .booking-field input,
  .booking-field select,
  .booking-field textarea {
    min-height: 48px;
    padding: 12px 14px;
    font-size: 16px;
  }

  .booking-field textarea {
    min-height: 120px;
  }

  .booking-close {
    top: 10px;
    right: 10px;
    width: 44px;
    height: 44px;
  }

  .booking-submit {
    min-height: 50px;
    font-size: 0.9375rem;
  }
}

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

}
