/* Editorial type, restrained Liquid Glass, and section-specific rhythm. */
:root {
  --ease-editorial: cubic-bezier(.23, 1, .32, 1);
  --glass-line: rgba(255, 255, 255, .34);
  --glass-shadow: 0 18px 48px rgba(55, 7, 25, .16);
}

html { font-size: 100%; }
body { text-rendering: optimizeLegibility; }

.site-header {
  border-color: var(--glass-line);
  background: linear-gradient(125deg, rgba(255,255,255,.16), rgba(255,255,255,.075) 48%, rgba(255,255,255,.12));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.24), 0 12px 36px rgba(47,4,20,.12);
  backdrop-filter: blur(22px) saturate(155%);
  -webkit-backdrop-filter: blur(22px) saturate(155%);
}

.site-header::before {
  position: absolute;
  inset: 1px 16% auto 16%;
  height: 1px;
  border-radius: 50%;
  background: rgba(255,255,255,.38);
  content: "";
  pointer-events: none;
}

.header-cta,
.hero-caption,
.hero-proof {
  border-color: rgba(255,255,255,.3);
  background: rgba(72, 8, 30, .36);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 10px 28px rgba(44,3,16,.13);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
}

.hero-title { font-size: clamp(42px, 4vw, 58px) !important; line-height: .99; }
.hero-title-line > span em { color: #ffc0ce; font-style: normal; }
.hero-lede { max-width: 460px; font-size: clamp(15px, 1.2vw, 17px); line-height: 1.72; }
.hero .button-light { box-shadow: 0 12px 32px rgba(48, 3, 18, .2), inset 0 1px 0 #fff; }
.button:active,
.header-cta:active,
.rail-action:active { transform: scale(.97); }

.tools-marquee {
  min-height: 82px;
  border-block-color: rgba(118,17,43,.1);
  background: linear-gradient(180deg, #fff 0%, #fffdfb 100%);
}
.marquee-viewport { mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }

.app-feature {
  position: relative;
  background:
    radial-gradient(ellipse at 82% 45%, rgba(236, 113, 139, .12), transparent 38%),
    linear-gradient(118deg, #fffaf7 0%, #fff 52%, #fff2f3 100%);
}
.app-copy > .store-badges {
  width: min(100%, 470px);
  margin: 22px 0 0;
}
.app-feature::before {
  position: absolute;
  top: -24%;
  right: 8%;
  width: min(42vw, 560px);
  aspect-ratio: 1;
  border: 1px solid rgba(160, 34, 67, .08);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(160,34,67,.025), 0 0 0 66px rgba(160,34,67,.018);
  content: "";
  pointer-events: none;
}
.app-phone {
  box-shadow: 0 32px 64px rgba(75,8,25,.19), 0 0 0 1px rgba(255,255,255,.9), inset 0 1px 0 rgba(255,255,255,.24);
}

/* Keep Beverly's face clear in the compact header portrait. */
.brand-photo img { object-position: center 24%; transform: scale(1.8) translateY(8px); }
.hero .text-link { text-decoration: none; }

/* Keep the recognition mark and name badge crisp at every viewport. */
.proof-mark--crest {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  overflow: hidden;
  background: transparent;
}
.proof-mark--crest img { display: block; width: 100%; height: 100%; object-fit: contain; }
.brand-name-line { display: flex; min-width: 0; align-items: center; gap: 5px; }
.brand-name-line b { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.verified-badge { display: block; width: 16px; height: 16px; flex: 0 0 16px; color: #27a8f2; filter: drop-shadow(0 1px 1px rgba(0,0,0,.12)); }
.verified-badge > path:first-child { fill: currentColor; }
.verified-badge .verified-check { fill: none; stroke: #fff; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.2; }
.rail-name { display: flex; align-items: center; justify-content: center; gap: 6px; }
.verified-badge--rail { width: 20px; height: 20px; flex-basis: 20px; }

@media (max-width: 640px) {
  .proof-mark--crest { width: 34px; height: 34px; flex-basis: 34px; }
  .hero-proof { gap: 7px; }
  .brand-name-line { gap: 3px; }
  .verified-badge { width: 14px; height: 14px; flex-basis: 14px; }
}

/* A calm, interactive three-step guide for first-time visitors. */
.process {
  grid-template-columns: minmax(230px, .82fr) minmax(0, 1.18fr);
  align-items: start;
  column-gap: clamp(38px, 7vw, 100px);
  row-gap: 30px;
}
.process-intro { margin: 0; }
.process-title { display: grid; gap: 0; font-size: clamp(40px, 4.1vw, 60px) !important; line-height: .99; }
.process-title > span { display: block; }
.process-title em { width: fit-content; }
.process-intro > p:last-child { max-width: 36ch; }
.steps { grid-column: 2; grid-row: 1; }
.steps li { grid-template-columns: 44px minmax(0, 1fr); gap: 15px; padding: 18px 0; }
.steps li > .step-icon { display: grid; width: 40px; height: 40px; padding: 0; place-items: center; border-radius: 13px; background: rgba(255,255,255,.86); color: #a2193b; }
.step-icon svg { width: 22px; height: 22px; overflow: visible; }
.step-number { display: block; margin: 0 0 5px; color: var(--red); font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.steps h3 { font-size: 16px; }
.steps p { max-width: 54ch; margin-top: 6px; font-size: 12px; }
.step-icon-ring { opacity: .28; }
.step-icon-draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: step-check-draw 9s infinite; animation-delay: calc(var(--i) * 3s); }
.step-icon--bolt svg { transform-origin: 50% 100%; animation: step-bolt-bounce 9s infinite; animation-delay: calc(var(--i) * 3s); }
.step-icon--bell svg { transform-origin: 50% 12%; animation: step-bell-swing 9s infinite; animation-delay: calc(var(--i) * 3s); }
@keyframes step-check-draw {
  0%, 6% { stroke-dashoffset: 1; }
  12%, 24% { stroke-dashoffset: 0; }
  34%, 100% { stroke-dashoffset: 1; }
}
@keyframes step-bolt-bounce {
  0%, 6%, 34%, 100% { transform: none; }
  10% { transform: translateY(-3px) scale(1.08); }
  14% { transform: translateY(0) scale(.97); }
  18% { transform: translateY(-1px) scale(1.03); }
  24% { transform: none; }
}
@keyframes step-bell-swing {
  0%, 6%, 34%, 100% { transform: rotate(0); }
  10% { transform: rotate(12deg); }
  14% { transform: rotate(-10deg); }
  18% { transform: rotate(6deg); }
  22% { transform: rotate(-3deg); }
  26% { transform: rotate(0); }
}
.conversation-progress {
  grid-column: 1 / -1;
  padding: 18px 20px 16px;
  border: 1px solid rgba(118,17,43,.12);
  border-radius: 18px;
  background: rgba(255,255,255,.8);
  box-shadow: 0 12px 30px rgba(74,9,29,.055), inset 0 1px 0 rgba(255,255,255,.9);
}
.progress-heading { position: relative; display: flex; align-items: center; gap: 11px; }
.progress-icon { display: grid; width: 36px; height: 36px; flex: 0 0 36px; place-items: center; border-radius: 11px; background: #fbe8ed; color: #9f1537; }
.progress-icon svg { width: 18px; height: 18px; }
.progress-heading h3 { color: var(--ink); font: 800 13px/1.25 Manrope, 'DM Sans', sans-serif; letter-spacing: -.02em; }
.progress-heading p { margin-top: 3px; color: var(--muted); font-size: 10px; }
.progress-done { position: absolute; top: 3px; right: 0; padding: 6px 9px; border-radius: 999px; background: #e7f5eb; color: #247343; font-size: 9px; font-weight: 800; opacity: 0; transform: translateY(2px) scale(.96); transition: opacity 180ms ease-out, transform 220ms cubic-bezier(.22,1,.36,1), visibility 0s linear 220ms; visibility: hidden; }
.conversation-progress.is-complete .progress-done { opacity: 1; transform: none; transition-delay: 0s; visibility: visible; }
.progress-bar-row { display: flex; align-items: center; gap: 10px; margin: 14px 0 12px; }
.progress-track { height: 7px; flex: 1; overflow: hidden; border-radius: 999px; background: #f0e5e8; }
.progress-fill { display: block; width: 100%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #a31638, #d13c5d); transform: scaleX(0); transform-origin: left center; transition: transform 700ms cubic-bezier(.22,1,.36,1); }
.progress-value { width: 31px; color: var(--muted); font-size: 10px; font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.progress-tasks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.progress-tasks label { position: relative; display: flex; min-height: 36px; align-items: center; gap: 8px; color: var(--ink); font-size: 10px; font-weight: 600; line-height: 1.35; cursor: pointer; }
.progress-tasks input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.progress-checkbox { display: grid; width: 18px; height: 18px; flex: 0 0 18px; place-items: center; border: 1.5px solid #d9cbd0; border-radius: 6px; background: #fff; color: #fff; transform: scale(1); transition: background 180ms ease-out, border-color 180ms ease-out, transform 240ms cubic-bezier(.22,1,.36,1); }
.progress-checkbox svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transition: opacity 140ms ease-out; }
.progress-tasks input:checked + .progress-checkbox { border-color: #a31638; background: #a31638; transform: scale(1.08); }
.progress-tasks input:checked + .progress-checkbox svg { opacity: 1; }
.progress-tasks input:focus-visible + .progress-checkbox { outline: 2px solid #2678d8; outline-offset: 3px; }
.progress-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
html[data-theme="dark"] .conversation-progress { border-color: rgba(255,255,255,.12); background: #2a232e; box-shadow: 0 12px 30px rgba(0,0,0,.16); }
html[data-theme="dark"] .step-icon { background: #382633; color: #ffc1ce; }
html[data-theme="dark"] .progress-icon { background: #3a2937; color: #ffc1ce; }
html[data-theme="dark"] .progress-track { background: #41313d; }
html[data-theme="dark"] .progress-checkbox { border-color: rgba(255,255,255,.3); background: #211b24; }

@media (max-width: 760px) {
  .process { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .process-intro,
  .steps,
  .conversation-progress { grid-column: 1; }
  .steps { grid-row: auto; }
  .process-title { font-size: clamp(38px, 10vw, 52px) !important; }
  .conversation-progress { padding: 16px; }
  .progress-tasks { grid-template-columns: 1fr; gap: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  .step-icon-draw,
  .step-icon--bolt svg,
  .step-icon--bell svg { animation: none !important; }
  .step-icon-draw { stroke-dashoffset: 0; }
  .progress-fill,
  .progress-checkbox,
  .progress-checkbox svg,
  .progress-done { transition-duration: .01ms !important; }
  .progress-done { transition-delay: 0s !important; }
}

/* A quiet pointer-following inner light replaces the orbiting border. */
.booking-light-target {
  position: relative;
  isolation: isolate;
  --booking-pointer-light: rgba(255, 235, 240, .22);
}
.booking-light-target.button-light { --booking-pointer-light: rgba(150, 20, 53, .09); }
.booking-light-target .booking-button-label { position: relative; z-index: 1; display: block; font-size: inherit; line-height: inherit; }
.booking-light-target::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 2px;
  border-radius: inherit;
  background: radial-gradient(ellipse 112px 72px at var(--booking-light-x, 50%) var(--booking-light-y, 50%), var(--booking-pointer-light), transparent 74%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
}
.booking-light-target.is-pointer-lit::after { opacity: 1; }
.dock-book > svg,
.dock-book > span { position: relative; z-index: 1; }

/* Five slow burgundy-white light sweeps carry through the lower sections. */
.hero-beam-field,
.section-beam-field { position: absolute; z-index: 0; inset: 0; overflow: hidden; pointer-events: none; }
.hero-beam-field { background: radial-gradient(ellipse at 78% 22%, rgba(255,149,176,.14), transparent 40%); }
.hero-beam-field i,
.section-beam-field i { --beam-peak: .32; position: absolute; top: var(--beam-y); left: -24%; width: 148%; height: clamp(13px, 1.7vw, 24px); border-radius: 999px; background: linear-gradient(90deg, transparent 4%, rgba(118,17,43,.04) 31%, rgba(255,220,228,.56) 50%, rgba(137,22,54,.08) 68%, transparent 96%); filter: blur(3px); opacity: .12; transform: translateX(-34%) rotate(var(--beam-angle)); animation: hero-beam-sweep var(--beam-duration) ease-in-out var(--beam-delay) infinite; will-change: transform, opacity; }
.section-beam-field { position: absolute !important; z-index: 0 !important; inset: 0; }
@keyframes hero-beam-sweep {
  0% { opacity: .08; transform: translateX(-34%) rotate(var(--beam-angle)); }
  50% { opacity: var(--beam-peak); transform: translateX(21%) rotate(var(--beam-angle)); }
  100% { opacity: .08; transform: translateX(-34%) rotate(var(--beam-angle)); }
}

/* The cursor trail follows only a fine pointer and never catches input. */
.cursor-trail { position: fixed; z-index: 100; inset: 0 auto auto 0; width: 0; height: 0; opacity: 0; pointer-events: none; transition: opacity 140ms ease-out; }
.cursor-trail.is-active { opacity: 1; }
.cursor-trail-dot { position: absolute; top: 0; left: 0; display: block; width: calc(14px - var(--i) * .7692308px); height: calc(14px - var(--i) * .7692308px); margin: calc((14px - var(--i) * .7692308px) / -2) 0 0 calc((14px - var(--i) * .7692308px) / -2); border-radius: 50%; background: #d7193f; opacity: calc(1 - var(--i) * .075); pointer-events: none; transition: opacity 130ms ease-out; }
.cursor-trail.is-active .cursor-trail-dot { will-change: transform, opacity; }
.cursor-trail.is-idle .cursor-trail-dot:not(:first-child) { opacity: 0; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) { .cursor-trail { display: block; } }
@media (max-width: 760px) { .hero-beam-field i, .section-beam-field i { --beam-peak: .18; height: 15px; filter: blur(4px); } }
@media (prefers-reduced-motion: reduce) {
  .hero-beam-field i, .section-beam-field i { animation: none !important; opacity: .14; transform: rotate(var(--beam-angle)); }
  .cursor-trail { display: none !important; }
}

html[data-theme="dark"] .section-beam-field i { background: linear-gradient(90deg, transparent 4%, rgba(255,193,209,.06) 31%, rgba(255,221,230,.48) 50%, rgba(255,193,209,.1) 68%, transparent 96%); }

/* The crest is the visual signature across the recognition timeline. */
.milestone-feature {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  justify-items: center;
  min-height: 212px;
  padding: 18px 24px;
  text-align: center;
  background:
    radial-gradient(circle at 88% 50%, rgba(255, 214, 136, .14), transparent 23%),
    linear-gradient(110deg, rgba(255,218,147,.16), rgba(255,255,255,.08));
}
.milestone-feature-mark {
  position: relative;
  top: auto;
  left: auto;
  display: grid;
  width: 100px;
  height: 100px;
  place-items: center;
  grid-column: 1;
  grid-row: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,231,182,.15), rgba(255,231,182,0) 72%);
  transform: none;
}
.milestone-feature-mark img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 3px 12px rgba(255,214,136,.2)); }
.milestone-feature-label { grid-column: 1; grid-row: 2; }
.milestone-feature h4 { grid-column: 1; grid-row: 3; }
.milestone-item-mark { display: grid; width: 23px; height: 23px; place-items: center; margin-top: -2px; }
.milestone-item-mark img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 1px 4px rgba(255,214,136,.18)); }

.section-head h2,
.faq h2,
.booking h2,
.app-copy h2,
.about-copy h2 {
  font-optical-sizing: auto;
  text-wrap: pretty;
}
.section-head h2 em,
.faq h2 em,
.about-copy h2 em,
.app-copy h2 em {
  position: relative;
  z-index: 0;
  background: none;
}
.section-head h2 em::after,
.faq h2 em::after,
.about-copy h2 em::after,
.app-copy h2 em::after {
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: .03em;
  left: 0;
  height: .19em;
  border-radius: 2px;
  background: rgba(215,25,63,.13);
  content: "";
  transform: scaleX(1);
  transform-origin: left center;
  transition: transform 320ms var(--ease-editorial);
}
.reveal:not(.is-visible) h2 em::after { transform: scaleX(0); }

.planning { background: #fffdf9; }
.topic-grid { grid-template-columns: 1.08fr 1fr 1fr; gap: 12px; }
.topic-card {
  min-height: 246px;
  padding: 25px 24px 23px;
  border-color: rgba(91,25,48,.11);
  border-radius: 22px;
  background: rgba(255,255,255,.72);
  box-shadow: 0 14px 34px rgba(68,14,31,.045), inset 0 1px 0 rgba(255,255,255,.8);
  backdrop-filter: blur(16px) saturate(125%);
  -webkit-backdrop-filter: blur(16px) saturate(125%);
}
.topic-card:first-child {
  border-color: rgba(255,255,255,.22);
  background: linear-gradient(145deg, #74112e, #9b2142 72%, #a72d4d);
  box-shadow: 0 20px 42px rgba(83,12,35,.16), inset 0 1px 0 rgba(255,255,255,.18);
}
.topic-card:first-child .topic-index { color: rgba(255,255,255,.58); }
.topic-card:first-child .topic-icon { background: rgba(255,255,255,.16); color: #ffe2e8; }
.topic-card:first-child h3,
.topic-card:first-child p,
.topic-card:first-child > a { color: #fff; }
.topic-card:first-child p { color: rgba(255,255,255,.8); }
.topic-card:first-child > a { text-decoration-color: rgba(255,255,255,.48); }
.topic-card:first-child > a:hover { color: #ffe0e6; }
.topic-icon { border-radius: 14px; }
.topic-card h3 { max-width: 17ch; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.25; }
.topic-card p { font-size: 12px; line-height: 1.68; }

.process { background: linear-gradient(112deg, #fff4f4 0%, #fff9f7 100%); }
.steps li { padding-block: 23px; }
.steps li > span { font-size: 11px; }
.steps h3 { font-size: 16px; }
.steps p { max-width: 54ch; font-size: 13px; }

.about {
  position: relative;
  background: linear-gradient(116deg, #fffaf7 0%, #fff 58%, #fbeced 100%);
}
.about-image {
  position: relative;
  isolation: isolate;
  border-radius: 48% 48% 26px 26px;
}
.about-image::before {
  position: absolute;
  inset: 11% 8% 4%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(170,74,89,.18), transparent 70%);
  content: "";
}
.about-copy { max-width: 620px; }
.about-copy h2 { font-size: clamp(34px, 4.2vw, 56px); line-height: 1.02; }
.about-copy .about-role { color: var(--red-deep); font-weight: 700; letter-spacing: .015em; }
.credentials span { border-radius: 999px; }

.recognition {
  background:
    radial-gradient(ellipse at 93% 9%, rgba(255,112,142,.23), transparent 31%),
    linear-gradient(118deg, #650d28 0%, #86102f 55%, #a31539 100%);
}
.milestone-year {
  border-color: rgba(255,255,255,.22);
  background: linear-gradient(125deg, rgba(255,255,255,.095), rgba(49,3,20,.23));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.11), 0 16px 40px rgba(38,2,14,.12);
  backdrop-filter: blur(16px) saturate(125%);
  -webkit-backdrop-filter: blur(16px) saturate(125%);
}
.milestone-item { border-radius: 13px; background: rgba(38,4,17,.26); }

.faq { background: #fffdf9; }
.faq-item summary { min-height: 66px; font-size: 14px; }
.faq-item summary span { transition: transform 180ms var(--ease-editorial), background 160ms ease, color 160ms ease; }
.faq-item[open] summary span { transform: rotate(45deg); }
.booking {
  background:
    radial-gradient(ellipse at 84% 10%, rgba(255,153,176,.22), transparent 34%),
    linear-gradient(118deg,#650d28 0%,#921132 56%,#b61b42 100%);
}
.booking > .button { min-height: 56px; padding-inline: 26px; font-size: 13px; }

/* Keep the content focused and reduce the long pauses between page sections. */
.app-feature { padding-block: clamp(48px, 5.2vw, 72px); }
.section-pad { padding-block: clamp(50px, 5.3vw, 76px); }
.about { padding-block: clamp(50px, 5.3vw, 76px); }
.booking { padding-block: clamp(50px, 5.5vw, 72px); }

.mobile-dock {
  border-color: rgba(255,255,255,.74);
  background: rgba(255,253,250,.84);
  box-shadow: 0 16px 44px rgba(42,24,31,.21), inset 0 1px 0 rgba(255,255,255,.9);
  backdrop-filter: blur(26px) saturate(175%);
  -webkit-backdrop-filter: blur(26px) saturate(175%);
}

@media (hover: hover) and (pointer: fine) {
  .topic-card:hover { transform: translateY(-2px); }
  .topic-card:first-child:hover { border-color: rgba(255,255,255,.42); }
  .header-cta:hover { background: rgba(255,255,255,.94); }
}

@media (max-width: 1100px) {
  .topic-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .topic-card { padding-inline: 19px; }
}

@media (max-width: 900px) {
  .site-header { box-shadow: inset 0 1px 0 rgba(255,255,255,.24), 0 8px 26px rgba(47,4,20,.11); }
  .topic-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .topic-card:first-child { grid-column: 1 / -1; min-height: 206px; }
}

@media (max-width: 640px) {
  .hero-title { font-size: clamp(34px, 8.5vw, 46px) !important; line-height: 1; }
  .hero-title-line > span em { color: #ffd0d9; }
  .site-header { background: rgba(255,255,255,.13); }
  .tools-marquee { min-height: 72px; }
  .app-feature {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding-block: 42px;
  }
  .app-copy { display: contents; }
  .app-visual { order: 1; }
  .app-copy > .store-badges { order: 2; width: min(100%, 340px); margin: 0 auto; }
  .app-visual { grid-row: auto; }
  .app-feature > .store-badges { width: min(100%, 340px); margin: 0 auto; }
  .app-feature::before { top: 44%; right: -20%; width: 72vw; }
  .section-pad { padding-block: 44px; }
  .about { padding-block: 44px; }
  .booking { padding-block: 46px; }
  .topic-grid { grid-template-columns: 1fr; gap: 11px; }
  .topic-card,
  .topic-card:first-child { min-height: 0; padding: 22px; }
  .topic-card:first-child { grid-column: auto; }
  .milestone-feature { min-height: 190px; padding: 16px; }
  .milestone-feature-mark { width: 78px; height: 78px; }
  .topic-card h3 { max-width: 22ch; font-size: 18px; }
  .topic-card p { max-width: 48ch; font-size: 12px; }
  .steps li { padding-block: 19px; }
  .steps h3 { font-size: 15px; }
  .steps p { font-size: 12px; }
  .about-image { border-radius: 50% 50% 18px 18px; }
  .faq-item summary { min-height: 62px; font-size: 12px; }
  .booking > .button { min-height: 51px; font-size: 11px; }
  .site-header::before { inset-inline: 20%; }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header,
  .header-cta,
  .hero-caption,
  .hero-proof,
  .topic-card,
  .milestone-year,
  .mobile-dock {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .site-header { background: #851333; }
  .header-cta,
  .hero-caption,
  .hero-proof { background: #64112c; }
  .topic-card { background: #fffdf9; }
  .topic-card:first-child { background: #74112e; }
  .milestone-year { background: #6e0d29; }
  .mobile-dock { background: #fffdf9; }
}

@media (prefers-reduced-motion: reduce) {
  .section-head h2 em::after,
  .faq h2 em::after,
  .about-copy h2 em::after,
  .app-copy h2 em::after { transform: scaleX(1) !important; }
}

html[data-theme="dark"] .topic-card:first-child { background: linear-gradient(145deg,#4f142d,#6a1b3a); }
html[data-theme="dark"] .topic-card:first-child h3,
html[data-theme="dark"] .topic-card:first-child p,
html[data-theme="dark"] .topic-card:first-child > a { color: #fff; }
html[data-theme="dark"] .app-feature { background: linear-gradient(118deg,#211b24,#261d28 56%,#2b1d29); }
html[data-theme="dark"] .planning,
html[data-theme="dark"] .faq { background: #211b24; }
html[data-theme="dark"] .process,
html[data-theme="dark"] .about { background: linear-gradient(118deg,#211b24,#281e29); }
html[data-theme="dark"] .site-header { background: linear-gradient(125deg,rgba(66,31,48,.9),rgba(39,29,43,.82)); }
html[data-theme="dark"] .mobile-dock { border-color: rgba(255,255,255,.18); background: rgba(34,28,38,.88); }

@media (prefers-reduced-transparency: reduce) {
  html[data-theme="dark"] .site-header,
  html[data-theme="dark"] .mobile-dock,
  html[data-theme="dark"] .topic-card,
  html[data-theme="dark"] .milestone-year { background: #211b24; }
  html[data-theme="dark"] .topic-card:first-child { background: #4f142d; }
}

/* Section navigation follows the reader and meets the content edge. */
.rail-nav {
  position: relative;
  z-index: 1;
  isolation: isolate;
}
.rail-nav-title {
  margin: 0 0 8px;
  color: #788196;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .16em;
}
.rail-nav-tab {
  position: absolute;
  top: 0;
  left: 6px;
  right: -36px;
  z-index: 0;
  height: 44px;
  border-radius: 16px 0 0 16px;
  background: var(--rail-tab-color, #fff);
  box-shadow: 0 4px 14px rgba(55, 7, 25, .075);
  pointer-events: none;
  transform: translateY(0);
  transition: transform 587ms var(--rail-tab-spring, cubic-bezier(.22, 1, .36, 1));
}
.rail-nav-tab::before,
.rail-nav-tab::after {
  position: absolute;
  right: 0;
  width: 18px;
  height: 18px;
  content: "";
}
.rail-nav-tab::before {
  top: -18px;
  background: radial-gradient(circle at 0 0, transparent 18px, var(--rail-tab-color, #fff) 18.5px);
}
.rail-nav-tab::after {
  bottom: -18px;
  background: radial-gradient(circle at 0 100%, transparent 18px, var(--rail-tab-color, #fff) 18.5px);
}
.rail-nav a {
  position: relative;
  z-index: 1;
  height: 44px;
  min-height: 44px;
  gap: 10px;
  padding-inline: 12px 8px;
  border-radius: 0;
  font-size: 11px;
  white-space: nowrap;
  transition: color 180ms ease;
}
.rail-nav a span {
  flex: 0 0 20px;
  font-size: 13px;
}
.rail-nav a[aria-current="location"] {
  background: transparent;
  color: var(--red-deep);
  font-weight: 700;
}
html[data-theme="dark"] .rail-nav-tab {
  --rail-tab-color: #211b24;
}
html[data-theme="dark"] .rail-nav a[aria-current="location"] {
  background: transparent;
  color: #ffd0da;
}

@supports (transition-timing-function: linear(0, 1)) {
  :root {
    --rail-tab-spring: linear(0, .0941 5.6%, .2736 11.1%, .4548 16.7%, .6076 22.2%, .7255 27.8%, .8119 33.3%, .8732 38.9%, .9156 44.4%, .9444 50%, .9636 55.6%, .9764 61.1%, .9848 66.7%, .9902 72.2%, .9938 77.8%, .996 83.3%, .9975 88.9%, .9984 94.4%, 1 100%);
  }
}

@media (max-width: 900px) {
  .profile-rail {
    width: min(60vw, 420px);
    padding: 54px 20px 18px;
    transform: translateX(-102%);
    transition: transform 350ms cubic-bezier(.22, 1, .36, 1);
  }

  body.rail-mobile-open .profile-rail {
    transform: translateX(0);
  }

  .rail-backdrop {
    position: fixed;
    inset: 0;
    z-index: 44;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgba(18, 20, 28, .46);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    backdrop-filter: blur(0);
    -webkit-backdrop-filter: blur(0);
    transition: opacity 350ms ease, visibility 350ms ease, backdrop-filter 350ms ease;
  }

  body.rail-mobile-open .rail-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
  }

  .rail-toggle {
    top: 14px;
    left: 12px;
  }

  body.rail-mobile-open .rail-toggle {
    left: calc(min(60vw, 420px) - 56px);
    z-index: 47;
  }

  body.rail-mobile-open {
    overflow: hidden;
  }

  .rail-eyebrow {
    margin-top: 12px;
    font-size: 9px;
  }

  .rail-portrait {
    width: min(100%, 168px);
    height: 174px;
    flex-basis: 174px;
    margin-top: 12px;
  }

  .rail-name {
    margin-top: 12px;
    font-size: clamp(18px, 3vw, 22px);
  }

  .rail-role {
    margin-top: 7px;
    font-size: 12px;
  }

  .rail-actions {
    gap: 9px;
    margin-top: 14px;
  }

  .rail-action {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .rail-nav {
    margin-top: 16px;
    padding-top: 12px;
  }

  .rail-nav a {
    min-height: 42px;
    gap: 10px;
    padding-inline: 10px;
    font-size: 12px;
  }

  .rail-nav a span {
    width: 18px;
    font-size: 17px;
  }

  .rail-copyright {
    padding-top: 14px;
    font-size: 9px;
    line-height: 1.5;
  }
}

@media (max-width: 380px) {
  .profile-rail {
    padding-inline: 14px;
  }

  .rail-portrait {
    width: 118px;
    height: 126px;
    flex-basis: 126px;
  }

  .rail-name {
    font-size: 16px;
  }

  .rail-role {
    font-size: 10px;
  }

  .rail-nav a {
    gap: 7px;
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .profile-rail,
  .rail-backdrop {
    transition: none !important;
  }
}

/* Deep burgundy ribbon art stays behind the portrait and clear of the copy. */
.hero {
  background-color: #fffdf9;
  background-image: none;
  color: #122342;
}

.hero::before {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url('/images/hero-red-ribbon-wave.png') center center / cover no-repeat;
  opacity: 1;
  content: "";
  pointer-events: none;
  animation: hero-ribbon-drift 30s ease-in-out infinite alternate;
  will-change: transform;
  -webkit-mask-image: none;
  mask-image: none;
}

.hero-copy::before {
  display: block;
  position: absolute;
  inset: -38px -54px -34px -42px;
  z-index: -1;
  border-radius: 48%;
  background: radial-gradient(ellipse at 43% 48%, rgba(255,253,249,.98) 0%, rgba(255,253,249,.9) 58%, rgba(255,253,249,0) 82%);
  content: "";
  pointer-events: none;
}

/* Keep the ribbon visible behind the hero copy without the large white halo. */
.hero-copy::before {
  display: none;
}

.hero-ribbon,
.hero-beam-field {
  display: none !important;
}

.hero h1 .hero-title-line > span {
  color: #122342;
}

.hero-title-line > span em {
  color: #8c102c;
}

.hero .eyebrow {
  color: #8c102c;
}

.hero-role {
  color: #46546b;
}

.hero-lede {
  color: #263955;
}

.hero .button-light {
  border-color: #8c102c;
  background: #8c102c;
  box-shadow: 0 10px 26px rgba(75, 6, 22, .2);
  color: #fff;
}

.hero .text-link {
  color: #76112b;
  text-decoration: none;
}

.hero-proof {
  border-color: rgba(118, 17, 43, .18);
  background: rgba(255, 253, 249, .92);
  box-shadow: 0 8px 24px rgba(77, 12, 32, .09);
  color: #122342;
}

.hero-proof small {
  color: #657087;
}

.hero-proof i {
  background: rgba(118, 17, 43, .22);
}

.hero-caption {
  border-color: rgba(255, 255, 255, .24);
  background: rgba(72, 8, 30, .84);
  color: #fff;
}

.scroll-cue {
  color: #69758a;
}

.scroll-cue span {
  background: #d7193f;
}

@media (max-width: 640px) {
  .hero::before {
    inset: 0 0 auto;
    height: 350px;
    background-size: auto 390px;
    background-position: center top;
    animation: hero-ribbon-drift-mobile 22s ease-in-out infinite alternate;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .hero-copy::before {
    inset: -18px -20px -18px;
    border-radius: 28px;
    background: radial-gradient(ellipse at 50% 48%, rgba(255,253,249,.98) 0%, rgba(255,253,249,.9) 62%, rgba(255,253,249,0) 100%);
  }
}

@keyframes hero-ribbon-drift {
  from { transform: translate3d(-.35%, 0, 0); }
  to { transform: translate3d(.35%, .35%, 0); }
}

@keyframes hero-ribbon-drift-mobile {
  from { transform: translate3d(-1.8%, 0, 0); }
  to { transform: translate3d(1.8%, .5%, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before {
    animation: none !important;
    transform: none;
    will-change: auto;
  }
}

html[data-theme="dark"] .hero {
  background-color: #18141b;
  color: #f7edf4;
}

html[data-theme="dark"] .hero-copy::before {
  background: radial-gradient(ellipse at 43% 48%, rgba(24,20,27,.97) 0%, rgba(24,20,27,.88) 58%, rgba(24,20,27,0) 82%);
}

html[data-theme="dark"] .hero h1 .hero-title-line > span {
  color: #f7edf4;
}

html[data-theme="dark"] .hero-title-line > span em {
  color: #ff9caf;
}

html[data-theme="dark"] .hero-role,
html[data-theme="dark"] .hero-lede,
html[data-theme="dark"] .scroll-cue {
  color: #e1d5de;
}

html[data-theme="dark"] .hero .eyebrow,
html[data-theme="dark"] .hero .text-link {
  color: #ffafbf;
}

html[data-theme="dark"] .hero-proof {
  border-color: rgba(255,255,255,.2);
  background: rgba(42,34,45,.92);
  color: #f7edf4;
}

html[data-theme="dark"] .hero-proof small {
  color: #c0b4c1;
}

/* Keep the masthead white behind the red navigation bar. */
.masthead {
  background-color: #fffdf9;
  background-image: none;
}

#home::after {
  opacity: 0;
}

.site-header {
  border-color: rgba(255,255,255,.34);
  background: linear-gradient(125deg, #e5163b 0%, #d20f32 52%, #e3183a 100%);
}

html[data-theme="dark"] .site-header {
  background: linear-gradient(125deg, #d91339 0%, #c20c2e 52%, #dc1237 100%);
}

/* Give the dark masthead a soft, finished lower edge. */
html[data-theme="dark"] .masthead {
  border-radius: 0 0 28px 28px;
  background-color: #18141b;
  background-image: none;
  box-shadow: 0 16px 30px rgba(0, 0, 0, .14);
}

@media (hover: hover) and (pointer: fine) {
  .hero .button-light:hover {
    border-color: #76112b;
    background: #76112b;
    color: #fff;
  }
}

/* Shorter cards keep the full career story easy to scan. */
.milestone-timeline { gap: 10px; }
.milestone-year { gap: 18px; padding: 18px; border-radius: 16px; }
.milestone-year-content { gap: 12px; }
.milestone-feature { min-height: 170px; padding: 12px 18px; border-radius: 14px; }
.milestone-feature-mark { width: 76px; height: 76px; }
.milestone-group { padding-top: 11px; }
.milestone-group-title { margin-bottom: 7px; }
.milestone-list { gap: 6px 8px; }
.milestone-item { min-height: 38px; padding: 8px 10px; font-size: 11px; }
.milestone-item-mark { width: 20px; height: 20px; }

/* Keep the questions compact after the app section. */
.faq.section-pad { padding-block: clamp(38px, 4.2vw, 58px); }
.faq { gap: clamp(28px, 6vw, 76px); }
.faq-intro .section-kicker { margin-bottom: 9px; }
.faq-intro > p:last-child { margin-top: 10px; }
.faq-item summary { min-height: 56px; }
.faq-item p { padding-bottom: 13px; }

@media (max-width: 900px) {
  .rail-nav-tab { height: 62px; }
  .rail-nav a { height: 62px; min-height: 62px; gap: 18px; padding-inline: 18px; font-size: 17px; }
  .rail-nav a span { flex-basis: 24px; font-size: 22px; }
  .milestone-feature { min-height: 156px; }
}

@media (max-width: 640px) {
  .milestone-timeline { gap: 9px; }
  .milestone-year { gap: 11px; padding: 13px; }
  .milestone-year-content { gap: 10px; }
  .milestone-feature { min-height: 148px; padding: 10px 14px; }
  .milestone-feature-mark { width: 68px; height: 68px; }
  .milestone-group { padding-top: 9px; }
  .milestone-list { gap: 6px; }
  .milestone-item { min-height: 42px; padding: 8px 9px; }
  .faq.section-pad { padding-block: 38px; }
  .faq { gap: 22px; }
  .faq-item summary { min-height: 54px; }
}

@media (prefers-reduced-motion: reduce) {
  .rail-nav-tab { transition: none; }
}
/* Compact contact actions in the final call-to-action section. */
.contact-links .contact-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .94);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.contact-action svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

@media (hover: hover) and (pointer: fine) {
  .contact-links .contact-action:hover {
    border-color: rgba(255, 255, 255, .58);
    background: rgba(255, 255, 255, .16);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
  }
}

@media (max-width: 640px) {
  .contact-links .contact-action {
    min-height: 40px;
    padding-inline: 13px;
    font-size: 11px;
  }
}

.career-cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(28px, 6vw, 84px);
  min-height: 330px;
  padding: clamp(48px, 7vw, 92px) clamp(28px, 8vw, 112px);
  overflow: hidden;
  background: linear-gradient(112deg, #76112b 0%, #a71334 58%, #cf173f 100%);
  color: #fff;
}

.career-cta::before {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 84% 22%, rgba(255, 255, 255, .13), transparent 38%);
  content: "";
  pointer-events: none;
}

.career-copy,
.career-link {
  position: relative;
  z-index: 1;
}

.career-copy {
  max-width: 760px;
}

.career-kicker {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, .76);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.career-copy h2 {
  max-width: 820px;
  margin: 0;
  font-family: Manrope, 'DM Sans', sans-serif;
  font-size: clamp(38px, 6.2vw, 76px);
  font-weight: 800;
  letter-spacing: -.075em;
  line-height: .99;
}

.career-copy > p:last-child {
  max-width: 580px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, .82);
  font-size: clamp(14px, 1.4vw, 18px);
  line-height: 1.65;
}

.career-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 58px;
  padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 999px;
  background: #fffdf9;
  color: #8c102c;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 180ms ease, background-color 180ms ease;
}

.career-link span {
  font-size: 20px;
  line-height: 1;
}

@media (hover: hover) and (pointer: fine) {
  .career-link:hover {
    background: #fff;
    transform: translateY(-2px);
  }
}

@media (max-width: 760px) {
  .career-cta {
    grid-template-columns: minmax(0, 1fr);
    justify-items: start;
    gap: 25px;
    min-height: 0;
    padding: 58px 24px;
  }

  .career-copy h2 {
    font-size: clamp(42px, 11vw, 58px);
  }

  .career-copy > p:last-child {
    margin-top: 16px;
    font-size: 13px;
  }

  .career-link {
    min-height: 50px;
    padding-inline: 19px;
    font-size: 12px;
  }
}

/* Adjustable full-width marquee below the hero. */
.hero-marquee {
  --hero-marquee-width: 100%;
  --hero-marquee-height: 52px;
  --hero-marquee-band-height: 68px;
  width: calc(100% + var(--rail));
  height: var(--hero-marquee-band-height);
  margin: 0 0 0 calc(var(--rail) * -1);
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #fffdf9;
}

.hero-marquee__viewport {
  width: 100%;
  height: var(--hero-marquee-height);
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(110deg, #fffaf8, #fff1f3);
  color: #74112e;
  box-shadow: none;
}

.hero-marquee__viewport { touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.hero-marquee__viewport.is-dragging { cursor: grabbing; }
.hero-marquee__track { display: flex; width: max-content; height: 100%; will-change: transform; }
.hero-marquee__group { display: flex; flex: 0 0 auto; align-items: center; gap: 15px; padding: 0 15px; }
.hero-marquee__group span { font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.hero-marquee__group i { color: #d7193f; font-size: 12px; font-style: normal; }
@media (max-width: 640px) {
  .hero-marquee { --hero-marquee-height: 44px; --hero-marquee-band-height: 58px; width: 100%; margin: 0; }
  .hero-marquee__viewport { width: 100%; }
  .hero-marquee__group { gap: 10px; padding-inline: 12px; }
  .hero-marquee__group span { font-size: 8px; letter-spacing: .1em; }
}

@media (max-width: 900px) {
  .hero-marquee { width: 100%; margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) { .hero-marquee__track { will-change: auto; } }

@media (max-width: 640px) {
  .site-header { gap: 6px; padding-inline: 8px 7px; }
  .site-header .theme-toggle--header { order: 2; width: 36px; height: 36px; flex: 0 0 36px; }
  .site-header .brand { order: 0; flex: 1 1 auto; min-width: 0; }
  .site-header .brand-identity,
  .site-header .brand-name-line { min-width: 0; }
  .site-header .brand-identity { flex: 1; }
  .site-header .brand-name-line b { max-width: 100%; font-size: 9px; white-space: nowrap; }
  .site-header .header-cta { display: inline-flex; order: 1; min-height: 36px; gap: 4px; padding-inline: 7px; font-size: 9px; white-space: nowrap; }
  .site-header .header-cta span { font-size: 9px; }
}

@media (min-width: 641px) {
  .hero::before {
    -webkit-mask-image: radial-gradient(ellipse 48% 22% at 32% 58%, rgba(0, 0, 0, .2) 0%, rgba(0, 0, 0, .2) 42%, rgba(0, 0, 0, .62) 76%, #000 100%);
    mask-image: radial-gradient(ellipse 48% 22% at 32% 58%, rgba(0, 0, 0, .2) 0%, rgba(0, 0, 0, .2) 42%, rgba(0, 0, 0, .62) 76%, #000 100%);
  }
}
