/* Scarlett Lu · Career mentoring for lawyers
   Quiet and editorial: warm paper and sand, deep navy ink, one blue for actions and links, a terracotta for the
   statistic figures and small markers, serif headings. The palette lives in the tokens below.
   Never use her employer's logo, brand colours or typefaces: the builder prompt's suggested clay (#9C6440) is
   almost J.P. Morgan's bronze (#936845), so the earth tone here is a terracotta instead. */

:root {
  color-scheme: light;

  --bg: #f8f6f1;            /* paper */
  --bg-alt: #ece5d8;        /* sand: alternate sections */
  --surface: #ffffff;
  --surface-soft: #fbf9f5;
  --ink: #16233b;           /* deep navy text and headings */
  --ink-2: #1f2d47;
  --ink-3: #34415a;
  --muted: #6b645b;         /* stone: secondary text (5.4:1 on paper, 4.6:1 on sand) */
  --muted-2: #6b645b;
  --faint: #a8a196;
  --line: #e2dacb;
  --line-soft: rgba(226, 218, 203, 0.7);
  --line-2: #cfc6b5;
  --accent: #24527a;        /* blue: buttons, links, focus (8.2:1 on white) */
  --accent-wash: #e6edf4;
  --cta: #24527a;
  --cta-hover: #1b4163;
  --cta-ink: #ffffff;
  --clay: #a4493d;          /* terracotta: statistic figures and small markers only (5.4:1 on paper) */
  --on-dark: #d9dde5;
  --on-dark-muted: #a9b1c0;
  --on-dark-accent: #ece5d8;
  --danger: #b42318;

  --serif: ui-serif, "New York", Georgia, Cambria, "Times New Roman", Times, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif;

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(22, 35, 59, 0.05);
  --shadow: 0 12px 32px -18px rgba(22, 35, 59, 0.28), 0 2px 6px rgba(22, 35, 59, 0.04);
  --shadow-lg: 0 34px 70px -34px rgba(22, 35, 59, 0.42), 0 4px 12px rgba(22, 35, 59, 0.05);
  --header-h: 54px;
}
@media (min-width: 768px) { :root { --header-h: 64px; } }

/* --- Base ------------------------------------------------------------------ */

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

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

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

h1, h2, h3, p, figure, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

section[id] { scroll-margin-top: calc(var(--header-h) + 8px); }

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

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 16px; }
.container-narrow { max-width: 944px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

.muted { color: var(--muted); }

/* --- Icons ----------------------------------------------------------------- */

.icon { width: 1.125em; height: 1.125em; flex: none; }
.icon-xl { width: 30px; height: 30px; }
.icon-accent { color: var(--accent); }

/* --- Type ------------------------------------------------------------------ */

.eyebrow {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.4;
}

.display-1,
.display-2,
.display-3 {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--ink);
  text-wrap: balance;
}
.display-1 { font-size: clamp(1.9rem, 1.4rem + 1.9vw, 2.9rem); line-height: 1.1; letter-spacing: -0.02em; }
.display-2 { font-size: clamp(1.6rem, 1.25rem + 1.5vw, 2.4rem); line-height: 1.16; letter-spacing: -0.02em; }
.display-3 { font-size: clamp(1.35rem, 1.2rem + 0.6vw, 1.7rem); line-height: 1.2; letter-spacing: -0.01em; }

/* --- Buttons --------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.btn .icon { width: 17px; height: 17px; }

.btn-sm { padding: 10px 18px; font-size: 0.875rem; }
.btn-lg { padding: 15px 30px; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--cta); color: var(--cta-ink); border-color: var(--cta); box-shadow: 0 10px 22px -16px rgba(22, 35, 59, 0.6); }
.btn-primary:hover { background: var(--cta-hover); border-color: var(--cta-hover); }

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

.link-button {
  padding: 0; margin-left: 6px;
  background: none; border: 0;
  color: var(--accent); font-weight: 600;
  text-decoration: underline; text-underline-offset: 3px;
  cursor: pointer;
}

/* --- Notice ---------------------------------------------------------------- */
/* Optional slim bar above the header (content.NOTICE). It scrolls away; the header stays. */

.site-notice { padding: 5px 0; background: var(--ink); color: var(--on-dark); }
.site-notice p { font-size: 0.75rem; font-weight: 500; line-height: 1.3; text-align: center; text-wrap: balance; }
@media (min-width: 640px) {
  .site-notice { padding: 8px 0; }
  .site-notice p { font-size: 0.8125rem; line-height: 18px; }
}

/* --- Header ---------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 246, 241, 0.95);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand-photo { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line-2); }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 1.1875rem; letter-spacing: -0.02em; white-space: nowrap; }
.brand-mark {
  display: grid; place-items: center; flex: none;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent); color: #fff;
  font-family: var(--serif); font-weight: 700; font-size: 0.9375rem; letter-spacing: -0.03em;
}
@media (min-width: 768px) {
  .brand-photo, .brand-mark { width: 40px; height: 40px; }
  .brand-name { font-size: 1.375rem; }
}

/* Phone: portrait and name only. The button appears from tablet up, the text links on desktop. */
.main-nav { display: none; align-items: center; gap: 24px; margin-left: auto; }
.main-nav a { color: var(--muted); font-size: 0.9375rem; font-weight: 500; text-decoration: none; transition: color 0.15s ease; }
.main-nav a:hover { color: var(--ink); }
.header-cta { display: none; margin-left: auto; }
@media (min-width: 768px) { .header-cta { display: inline-flex; } }
@media (min-width: 1240px) {
  .main-nav { display: flex; }
  .header-cta { margin-left: 8px; }
}

/* --- First screen ---------------------------------------------------------- */
/* Sized so the headline, tiles, promise, button and facts line all fit
   below the header without scrolling at 1366x650 and 390x664. */

.hero { padding: 10px 0 28px; }

.hero-title {
  margin-top: 5px;
  font-family: var(--serif);
  font-weight: 700;
  color: var(--ink);
  font-size: clamp(1.375rem, 6.6vw, 2.25rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.hero-title span { display: block; }

.tiles { display: grid; gap: 6px; margin-top: 12px; }

.tile {
  display: flex; flex-direction: column; gap: 4px;
  height: 100%;
  padding: 8px 14px 9px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.tile:hover { border-color: var(--accent); box-shadow: var(--shadow); }

.tile-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.tile-label { color: var(--accent); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.tile-book { color: var(--accent); font-size: 0.8125rem; font-weight: 600; white-space: nowrap; transition: color 0.18s ease; }
.tile:hover .tile-book { color: var(--ink); }

/* The quotes are the largest text after the headline. */
.tile-quote { font-family: var(--serif); font-weight: 600; font-size: 1.0625rem; line-height: 1.27; color: var(--ink); }

.promise { margin-top: 10px; color: var(--ink-3); font-size: 0.9375rem; line-height: 1.4; }
.hero-cta { width: 100%; margin-top: 10px; padding-top: 13px; padding-bottom: 13px; }
.hero-facts { margin-top: 7px; color: var(--muted-2); font-size: 0.75rem; line-height: 1.45; }

@media (min-width: 640px) {
  .hero { padding: 24px 0 40px; text-align: center; }
  .hero-title { margin-top: 10px; font-size: clamp(1.75rem, 4.2vw, 3.25rem); }
  .tiles { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 14px; margin-top: 24px; text-align: left; }
  .tile { gap: 9px; padding: 14px 16px 16px; }
  .tile-quote { font-size: 1.125rem; }
  .promise { max-width: 44em; margin: 22px auto 0; font-size: 1rem; }
  .hero-cta { width: auto; margin-top: 18px; }
  .hero-facts { margin-top: 12px; font-size: 0.8125rem; }
}
@media (min-width: 1024px) {
  /* Desktop: the first screen is the hero alone, centred in the viewport. */
  .hero { display: flex; align-items: center; min-height: min(calc(100svh - var(--header-h)), 720px); padding-top: 30px; }
  .tiles { gap: 18px; margin-top: 28px; }
  .tile { gap: 10px; padding: 18px 22px 20px; }
  .tile-label { font-size: 0.8125rem; }
  .tile-quote { font-size: 1.3125rem; line-height: 1.3; }
  .promise { font-size: 1.125rem; }
}
@media (min-width: 1280px) { .tile-quote { font-size: 1.375rem; } }
@media (min-width: 640px) and (max-width: 1099px) { .tiles[data-count="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .tiles[data-count="4"] .tile-quote { font-size: 1.1875rem; } }

/* --- Sections -------------------------------------------------------------- */

.section { padding: 56px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
@media (min-width: 1024px) { .section { padding: 84px 0; } }

.section-head { max-width: 720px; margin-bottom: 32px; }
.section-lead { margin-top: 14px; color: var(--muted); font-size: clamp(1rem, 0.95rem + 0.3vw, 1.1875rem); line-height: 1.65; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

/* --- Highlights ------------------------------------------------------------ */

.highlights-title { max-width: 20em; }
.figure-grid { display: grid; gap: 28px; margin-top: 32px; }
@media (min-width: 768px) { .figure-grid { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 32px; margin-top: 40px; } }

.figure-item { padding-top: 20px; border-top: 1px solid var(--muted-2); }
.figure-value {
  font-family: var(--serif); font-weight: 700; color: var(--clay);
  font-size: clamp(2.25rem, 1.8rem + 2vw, 3.25rem); line-height: 1; letter-spacing: -0.02em;
}
.figure-caption { margin-top: 12px; color: var(--muted); font-size: 1rem; line-height: 1.55; }
.figure-source {
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: 12px;
  color: var(--accent); font-size: 0.875rem; font-weight: 600;
  text-underline-offset: 3px;
}
.figure-source .icon { width: 14px; height: 14px; }
.figure-source:hover { color: var(--ink); }

/* --- How I help ------------------------------------------------------------ */

.audience {
  max-width: 60em;
  margin-bottom: 28px; padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.audience-title { color: var(--ink-2); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.audience-list { display: grid; gap: 10px; margin-top: 12px; }
.audience-list li { display: flex; align-items: flex-start; gap: 10px; color: var(--ink-3); line-height: 1.55; }
.audience-list .icon { width: 18px; height: 18px; margin-top: 3px; }
.icon-marker { color: var(--clay); }

.service-grid { display: grid; gap: 16px; }
@media (min-width: 768px) { .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1200px) { .service-grid[data-count="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .service-grid[data-count="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.service-card { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.service-title { font-family: var(--serif); font-weight: 700; font-size: 1.3125rem; line-height: 1.25; color: var(--ink); }
.service-card p { margin-top: 10px; color: var(--muted); line-height: 1.6; }

.steps-note {
  max-width: 52em;
  margin-top: 24px; padding: 16px 20px;
  background: var(--surface);
  border-left: 3px solid var(--clay);
  border-radius: 0 10px 10px 0;
  color: var(--ink-3);
  line-height: 1.6;
}

/* --- Pricing --------------------------------------------------------------- */

.price-grid { display: grid; gap: 16px; }
@media (min-width: 768px) { .price-grid { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 20px; } }

.price-card { display: flex; flex-direction: column; padding: 26px; }
.price-card-first { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.price-name { color: var(--accent); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.price { margin-top: 12px; font-family: var(--serif); font-weight: 700; font-size: clamp(1.6rem, 1.3rem + 0.9vw, 2rem); line-height: 1.12; letter-spacing: -0.01em; color: var(--ink); }
.price-text { margin-top: 12px; color: var(--muted); line-height: 1.6; }
.price-card .btn { margin-top: auto; }
.price-card-first .price-text { margin-bottom: 24px; }
.price-note { max-width: 52em; margin-top: 20px; color: var(--muted-2); font-size: 0.9375rem; line-height: 1.6; }

/* --- About ----------------------------------------------------------------- */

/* The photo slot is a 16:9 landscape frame, whatever photo fills it (scripts/make_images.py crops to fit). */

.about-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .about-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; } }

.about-visual { width: 100%; }

.portrait-card {
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
}
.portrait-frame { position: relative; overflow: hidden; border-radius: 14px; background: var(--bg-alt); }
.portrait-frame img,
.portrait-monogram { width: 100%; aspect-ratio: 16 / 9; }
.portrait-frame img { height: auto; object-fit: cover; object-position: 50% 30%; }
/* No photo yet: the initials stand in. */
.portrait-monogram {
  display: grid; place-items: center;
  color: var(--accent); font-family: var(--serif); font-size: clamp(3.5rem, 2.5rem + 5vw, 6rem); font-weight: 700; letter-spacing: -0.04em;
}
/* Phone: the caption sits under the photo. From 640px it lies over the bottom of the photo. */
.portrait-caption {
  display: flex; flex-direction: column; gap: 4px;
  padding: 14px 16px 16px;
  background: var(--ink);
  color: #fff;
}
@media (min-width: 640px) {
  .portrait-caption {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 64px 22px 18px;
    background: linear-gradient(to top, rgba(22, 35, 59, 0.92) 0%, rgba(22, 35, 59, 0.62) 45%, rgba(22, 35, 59, 0) 100%);
  }
  .portrait-monogram { align-items: start; padding-top: 9%; }
}
.portrait-name { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.portrait-role { font-size: 0.8125rem; color: rgba(255, 255, 255, 0.86); }
.portrait-meta {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px;
  margin-top: 10px; padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.75rem; color: rgba(255, 255, 255, 0.78);
}

.about-text { max-width: 34em; margin-top: 18px; color: var(--muted); font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem); line-height: 1.7; }
.about-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* --- Form: the request for a first call ------------------------------------- */

.request-card { padding: 24px 18px; border-radius: 22px; box-shadow: var(--shadow); }
.request-card { max-width: 920px; }
@media (min-width: 640px) { .request-card { padding: 32px; } }
@media (min-width: 1024px) { .request-card { padding: 40px 44px; } }

select,
.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b645b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  cursor: pointer;
}
select:focus,
.field input:focus,
.field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(36, 82, 122, 0.2); }

.form-alert {
  margin-bottom: 18px; padding: 12px 16px;
  background: #fef3f2; border: 1px solid #fecdca; border-radius: 10px;
  color: var(--danger); font-size: 0.9375rem;
}

.form-grid { display: grid; gap: 18px 20px; }
@media (min-width: 768px) { .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 6px; color: var(--ink-2); font-size: 0.875rem; font-weight: 600; }
.field-optional { color: var(--muted-2); font-weight: 400; }
.field textarea { min-height: 96px; resize: vertical; }
.field-help { margin-top: 6px; color: var(--muted-2); font-size: 0.8125rem; line-height: 1.5; }
.field-has-error input, .field-has-error select, .field-has-error textarea { border-color: var(--danger); }
.field-error { margin-top: 6px; color: var(--danger); font-size: 0.8125rem; }

/* The confirmation checkbox. */
.field-check {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 12px; align-items: start;
  margin-top: 22px;
  color: var(--ink-3); font-size: 0.9375rem; line-height: 1.5;
}
.field-check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); }
.field-check .field-error { grid-column: 2; margin-top: 0; }

.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.details-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: 24px; }
.details-privacy,
.form-privacy { display: inline-flex; align-items: flex-start; gap: 8px; color: var(--muted); font-size: 0.875rem; line-height: 1.5; }
.form-privacy { flex: 1 1 320px; max-width: 36em; }
.details-privacy .icon,
.form-privacy .icon { width: 16px; height: 16px; margin-top: 2px; }
.form-privacy a { color: var(--accent); font-weight: 600; text-underline-offset: 3px; }
@media (max-width: 639px) { .details-foot .btn { width: 100%; } }

/* --- FAQ ------------------------------------------------------------------- */

.faq-title { margin-bottom: 28px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}
.faq-item + .faq-item { margin-top: 12px; }
.faq-item[open] { box-shadow: var(--shadow); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 18px 20px;
  list-style: none;
  cursor: pointer;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  font-weight: 700;
  line-height: 1.35;
}
.faq-item summary::-webkit-details-marker { display: none; }
@media (min-width: 768px) { .faq-item summary { padding: 22px 28px; } }
.faq-chevron { width: 20px; height: 20px; color: var(--faint); transition: transform 0.25s ease; }
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-answer { padding: 0 20px 20px; color: var(--muted); line-height: 1.7; }
@media (min-width: 768px) { .faq-answer { padding: 0 28px 24px; } }

/* --- Confirmation and error pages ------------------------------------------ */

.confirm-section { min-height: 60vh; }
.confirm-card { max-width: 760px; margin: 0 auto; padding: 32px 22px; box-shadow: var(--shadow); }
@media (min-width: 768px) { .confirm-card { padding: 48px 52px; } }
.confirm-icon { display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 20px; border-radius: 50%; background: var(--accent-wash); color: var(--accent); }
.confirm-card .display-2 { margin-top: 10px; }
.confirm-text { margin-top: 16px; }
.confirm-details { margin: 28px 0 22px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.confirm-details > div { display: grid; gap: 4px; padding: 16px 0; }
.confirm-details > div + div { border-top: 1px solid var(--line-soft); }
@media (min-width: 640px) { .confirm-details > div { grid-template-columns: 170px 1fr; gap: 16px; } }
.confirm-details dt { color: var(--ink-2); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding-top: 2px; }
.confirm-details dd { color: var(--ink-3); }
.confirm-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* --- Privacy and terms pages ------------------------------------------------ */

.doc-inner { max-width: 760px; }
.doc-intro { margin-top: 18px; color: var(--ink-3); font-size: 1.125rem; line-height: 1.65; }
.doc-section { margin-top: 30px; }
.doc-heading { font-family: var(--serif); font-weight: 700; font-size: 1.25rem; line-height: 1.3; color: var(--ink); }
.doc-section p { margin-top: 6px; color: var(--muted); line-height: 1.7; }
.doc-list { padding-left: 1.4em; list-style: decimal; }
.doc-list li::marker { color: var(--clay); font-family: var(--serif); font-weight: 700; }
.doc-updated { margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: 0.875rem; }

/* --- Footer ---------------------------------------------------------------- */

.site-footer { padding: 48px 0 28px; background: var(--ink); color: var(--on-dark); }
.footer-inner { display: flex; flex-direction: column; gap: 28px; }
@media (min-width: 768px) { .footer-inner { flex-direction: row; align-items: flex-start; justify-content: space-between; gap: 48px; } }

.brand-footer { color: #fff; }
.brand-footer .brand-mark { background: var(--on-dark-accent); color: var(--ink); }
.footer-brand p { max-width: 30em; margin-top: 16px; color: var(--on-dark-muted); line-height: 1.65; }

.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 600; text-decoration: none; }
.footer-links a:hover { color: var(--on-dark-accent); }
.footer-links .icon { width: 16px; height: 16px; color: var(--on-dark-accent); }

.footer-disclaimer { max-width: 60em; margin-top: 36px; color: var(--on-dark-muted); font-size: 0.8125rem; line-height: 1.6; }
.footer-copy { margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); color: var(--on-dark-muted); font-size: 0.875rem; }

/* --- Phone: sticky booking bar --------------------------------------------- */
/* Appears once the main button has scrolled out of view (see site.js). */

.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(248, 246, 241, 0.96);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 24px -20px rgba(22, 35, 59, 0.5);
}
.sticky-cta .btn { padding-top: 12px; padding-bottom: 12px; }
@media (max-width: 767px) { .site-footer { padding-bottom: 92px; } }
@media (min-width: 768px) { .sticky-cta { display: none !important; } }

/* --- Motion preferences ---------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* --- Phone ----------------------------------------------------------------- */

@media (max-width: 639px) {
  .display-1 { font-size: 1.75rem; }
  .section-head { margin-bottom: 22px; }
}
