/* Mabby's existing Cosy Road colors and bundled type; native CSS, no UI framework.
   Design dials: variance 6, motion 3, density 3. Buttons 14px, surfaces 24px.
   Layer scale: content 0, skip link 2. No sticky overlays. */
@font-face {
  font-family: Baloo;
  src: url("/assets/baloo2.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: Figtree;
  src: url("/assets/figtree.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ground: #fbf4eb;
  --surface: #fffaf5;
  --ink: #3b2921;
  --muted: #6c594f;
  --line: #e6d8c9;
  --accent: #e98a40;
  --accent-dark: #a64415;
  --wash: #f1e6d9;
  --highlight: #f9e4ce;
  --button-ink: #3b2921;
  --shadow: #6c49341c;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --ground: #261f1b;
    --surface: #322922;
    --ink: #f8eee2;
    --muted: #d0bdaa;
    --line: #665140;
    --accent: #eea065;
    --accent-dark: #f5b47e;
    --wash: #302720;
    --highlight: #453224;
    --shadow: #100d0950;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --ground: #261f1b;
  --surface: #322922;
  --ink: #f8eee2;
  --muted: #d0bdaa;
  --line: #665140;
  --accent: #eea065;
  --accent-dark: #f5b47e;
  --wash: #302720;
  --highlight: #453224;
  --shadow: #100d0950;
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: Figtree, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button {
  cursor: pointer;
}
button[hidden],
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: Baloo, system-ui, sans-serif;
  line-height: 1.12;
  letter-spacing: -0.035em;
}
h1 {
  font-size: clamp(46px, 5.2vw, 74px);
  font-weight: 700;
}
h2 {
  font-size: clamp(34px, 3.7vw, 49px);
  font-weight: 650;
}
h3 {
  font-size: 26px;
  font-weight: 650;
  letter-spacing: -0.02em;
}
p {
  color: var(--muted);
}
:focus-visible {
  outline: 3px solid var(--accent-dark);
  outline-offset: 5px;
}
::selection {
  background: var(--accent);
  color: var(--button-ink);
}
.wrap {
  width: min(1240px, calc(100% - 96px));
  margin-inline: auto;
}
.section {
  padding-block: 100px;
}
.eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 22px;
}
.skip-link {
  position: absolute;
  left: 24px;
  top: -90px;
  background: var(--ink);
  color: var(--ground);
  padding: 12px 20px;
  z-index: 2;
}
.skip-link:focus {
  top: 12px;
}
.site-header {
  height: 94px;
  display: flex;
  align-items: center;
  gap: 36px;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  font-family: Baloo, system-ui, sans-serif;
  font-size: 40px;
  line-height: 1;
  font-weight: 750;
  letter-spacing: -1.8px;
  text-decoration: none;
  white-space: nowrap;
}
.wordmark span {
  color: var(--accent-dark);
}
.site-header nav {
  display: flex;
  gap: 32px;
  margin-left: auto;
}
.site-header nav a {
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  padding-block: 12px;
}
.site-header nav a:hover,
.site-footer a:hover {
  color: var(--accent-dark);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.theme-toggle {
  padding: 10px 6px;
  min-width: 44px;
  min-height: 44px;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 12px;
}
.theme-toggle:hover {
  color: var(--accent-dark);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 16px 23px;
  background: var(--accent);
  color: var(--button-ink);
  border: 1px solid #b35c26;
  border-radius: 14px;
  box-shadow: 0 3px 0 #b35c26;
  text-decoration: none;
  font-weight: 750;
  font-size: 15px;
  min-height: 50px;
}
.button span {
  font-size: 22px;
  line-height: 1;
}
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 0 #b35c26;
}
.button:active {
  transform: translateY(2px);
  box-shadow: none;
}
.button-small {
  padding: 10px 18px;
  min-height: 44px;
  font-size: 13px;
  gap: 17px;
}
.button-outline {
  border-color: var(--line);
  background: var(--surface);
  box-shadow: none;
  color: var(--ink);
}
.button-outline:hover {
  border-color: var(--accent-dark);
  box-shadow: none;
}
.text-link {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  min-height: 44px;
}
.text-link:hover {
  text-decoration: underline;
}
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 52px;
  align-items: center;
  padding-block: 62px 66px;
}
.hero-description {
  max-width: 430px;
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.65;
}
.hero-actions {
  display: flex;
  gap: 23px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 31px;
}
.hero-art {
  align-self: stretch;
  min-height: 415px;
  border-radius: 110px 24px 24px 24px;
  overflow: hidden;
  background: var(--wash);
}
.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 51% 50%;
  min-height: 415px;
}
.availability {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-block: 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.6;
}
.availability strong {
  color: var(--ink);
  display: block;
  font-weight: 700;
}
.availability a {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}
.intro-heading p {
  max-width: 360px;
  margin-top: 24px;
}
.steps {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.steps article {
  position: relative;
  padding-left: 58px;
}
.step-number {
  position: absolute;
  left: 0;
  top: 1px;
  font-family: Baloo, sans-serif;
  color: var(--accent-dark);
  font-size: 25px;
  line-height: 1.1;
}
.steps p {
  font-size: 15px;
  line-height: 1.65;
  margin-top: 10px;
  max-width: 440px;
}
.steps h3 {
  font-size: 24px;
}
.motion-toggle {
  display: block;
  margin: -8px auto 24px;
  padding: 8px 14px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
}
.motion-toggle[aria-pressed="true"] {
  border-color: var(--accent-dark);
  color: var(--ink);
}
html[data-motion="off"] {
  scroll-behavior: auto;
}
html[data-motion="off"] .guide-enter .guide-rig {
  animation: none;
  transition: none;
}
.tour-chapters {
  display: none;
}
.tour.scroll-tour {
  align-items: start;
}
.scroll-tour .tour-chapters {
  display: block;
  margin-top: 80px;
}
.scroll-tour .tour-chapter {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 65vh;
  padding-block: 64px;
  max-width: 430px;
}
.tour-chapter h3 {
  font-size: clamp(34px, 3.8vw, 49px);
}
.tour-chapter > p:last-child {
  margin-top: 22px;
  font-size: 17px;
}
.tour-chapter.is-current .eyebrow {
  color: var(--accent-dark);
}
.scroll-tour .app-preview {
  position: sticky;
  top: 32px;
  padding-top: 8px;
}
.scroll-tour .phone {
  width: min(286px, calc((100vh - 150px) * 0.46));
}
@media (prefers-reduced-motion: no-preference) {
  .guide-enter .guide-rig {
    animation: guide-welcome 850ms cubic-bezier(0.2, 0.75, 0.2, 1) both;
    transform-origin: 50% 90%;
  }
  @keyframes guide-welcome {
    from {
      opacity: 0;
      transform: translateY(24px) rotate(-4deg);
    }
    65% {
      opacity: 1;
      transform: translateY(-3px) rotate(1deg);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  .route-animated .route-progress {
    stroke-dashoffset: 0;
  }
}
.tour-section {
  background: var(--wash);
}
.tour {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: 70px;
  align-items: center;
}
.tour-copy > p:not(.eyebrow) {
  max-width: 390px;
  margin-top: 24px;
  font-size: 16px;
}
.tour-controls {
  display: grid;
  gap: 4px;
  margin-top: 32px;
  max-width: 410px;
}
.tour-choice {
  display: grid;
  grid-template-columns: 1fr auto;
  width: 100%;
  text-align: left;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 14px;
  padding: 16px 20px;
  color: var(--ink);
  font-weight: 700;
  font-size: 17px;
}
.tour-choice small {
  grid-column: 1/-1;
  font-size: 13px;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.5;
  margin-top: 2px;
}
.tour-choice > span:last-of-type {
  align-self: center;
  font-size: 19px;
}
.tour-choice[aria-pressed="true"] {
  background: var(--surface);
  border-color: var(--line);
  box-shadow: 0 4px 0 var(--line);
}
.tour-choice:hover:not([aria-pressed="true"]) {
  background: var(--highlight);
}
.app-preview {
  display: grid;
  justify-items: center;
  gap: 24px;
}
.phone {
  width: 286px;
  max-width: 100%;
  padding: 7px;
  border: 1px solid #796d64;
  border-radius: 38px;
  background: #30271f;
  box-shadow: 12px 24px 44px var(--shadow);
}
.phone img {
  width: 100%;
  border-radius: 31px;
  background: #fbf4eb;
  aspect-ratio: 720/1565;
}
.app-preview figcaption {
  max-width: 290px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}
.principles {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 90px;
  align-items: center;
}
.companion {
  align-self: center;
  display: grid;
  justify-items: center;
  padding: 28px 10px;
}
.guide-rig {
  width: 280px;
  max-width: 100%;
  aspect-ratio: 2 / 3;
  position: relative;
  isolation: isolate;
}
.guide-rig img, .guide-surface {
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  user-select: none;
}
.guide-body, .guide-head, .guide-surface {
  position: absolute;
  inset: 0;
  visibility: hidden;
}
.guide-head {
  transform-origin: 48% 41%;
}
.guide-rig.is-ready .guide-body, .guide-rig.is-ready .guide-head {
  visibility: visible;
}
.guide-rig.is-ready .guide-fallback {
  visibility: hidden;
}
.guide-rig.is-ready.has-surface .guide-head { visibility: hidden; }
.guide-rig.is-ready.has-surface .guide-surface { visibility: visible; }
.guide-rig.is-tracking .guide-head {
  will-change: transform;
}
.companion p {
  font-family: Baloo, sans-serif;
  text-align: center;
  font-size: 22px;
  line-height: 1.25;
  color: var(--ink);
  margin-top: 22px;
}
.guide-motion-toggle { margin: 18px auto 0; }
.principles .lead {
  margin-top: 24px;
  max-width: 510px;
  font-size: 18px;
}
.principle-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  margin: 32px 0 20px;
}
.principle-pair h3 {
  font-size: 23px;
}
.principle-pair p {
  font-size: 15px;
  margin-top: 10px;
}
.faq {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: 85px;
  padding-top: 30px;
}
.faq h2 {
  max-width: 350px;
}
.faq-list details {
  border-bottom: 1px solid var(--line);
  padding-block: 20px;
}
.faq-list details:first-child {
  padding-top: 0;
}
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  list-style: none;
  font-weight: 650;
  min-height: 44px;
  font-size: 17px;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after {
  content: "+";
  font-size: 25px;
  font-weight: 400;
  color: var(--accent-dark);
}
.faq-list details[open] summary::after {
  content: "−";
}
.faq-list details p {
  margin-top: 14px;
  font-size: 15px;
  max-width: 520px;
}
.contact-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: var(--highlight);
  border-radius: 24px;
  padding: 52px 60px;
  margin-bottom: 90px;
}
.contact-banner h2 {
  font-size: 49px;
}
.contact-banner p {
  margin-top: 12px;
  font-size: 16px;
}
.contact-banner .button {
  flex-shrink: 0;
  min-width: 180px;
}
.site-footer {
  padding-bottom: 30px;
}
.footer-top {
  display: flex;
  align-items: center;
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}
.footer-top p {
  font-size: 14px;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  font-size: 12px;
}
.footer-bottom nav {
  display: flex;
  gap: 26px;
}
.footer-bottom a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}
.document {
  padding-top: 70px;
  padding-bottom: 100px;
  max-width: 1000px;
  min-height: 65vh;
}
.document h1 {
  font-size: clamp(45px, 6vw, 72px);
  max-width: 800px;
}
.document-lead {
  font-size: 22px;
  max-width: 680px;
  line-height: 1.55;
  margin-top: 26px;
}
.document-body {
  max-width: 700px;
  margin-top: 55px;
}
.document-body h2 {
  font-size: 31px;
  margin-top: 42px;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.document-body p {
  margin-top: 16px;
}
.document-body a:not(.contact-email) {
  color: var(--accent-dark);
}
.document-body code {
  font-size: 15px;
}
.fine-print {
  font-size: 13px;
}
.contact-email {
  display: inline-block;
  font-size: clamp(20px, 3.4vw, 34px);
  font-weight: 650;
  color: var(--accent-dark);
  margin: 18px 0;
}
.not-found .button {
  margin-top: 30px;
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
  .button {
    transition:
      transform 0.18s ease,
      box-shadow 0.18s ease;
  }
  .tour-choice {
    transition:
      background 0.18s ease,
      border-color 0.18s ease;
  }
}
@media (min-width: 1024px) {
  .site-header {
    height: 80px;
  }
}
@media (max-width: 1100px) {
  .wrap {
    width: calc(100% - 64px);
  }
  .hero {
    gap: 28px;
  }
  .hero h1 {
    font-size: 60px;
  }
  .hero-actions {
    gap: 16px;
  }
  .hero-actions .button {
    padding-inline: 18px;
    gap: 14px;
    font-size: 13px;
  }
  .site-header {
    gap: 24px;
  }
  .site-header nav {
    gap: 22px;
  }
  .intro,
  .principles,
  .faq {
    gap: 50px;
  }
  .contact-banner {
    padding: 40px;
  }
  .tour {
    gap: 40px;
  }
  .section {
    padding-block: 80px;
  }
  .hero-art {
    min-height: 390px;
  }
  .hero-art img {
    min-height: 390px;
  }
}
@media (max-width: 767px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .site-header {
    height: auto;
    min-height: 112px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0 10px;
    padding-top: 18px;
    padding-bottom: 10px;
  }
  .wordmark {
    font-size: 36px;
  }
  .header-actions {
    grid-column: 2;
    grid-row: 1;
    gap: 8px;
  }
  .site-header nav {
    grid-column: 1/-1;
    grid-row: 2;
    margin: 8px 0 0;
    gap: 26px;
  }
  .site-header nav a {
    font-size: 13px;
  }
  .button-small {
    padding: 8px 14px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-block: 38px;
  }
  .hero h1 {
    font-size: clamp(46px, 10.8vw, 70px);
  }
  .eyebrow {
    margin-bottom: 16px;
    font-size: 11px;
  }
  .hero-description {
    margin-top: 20px;
    font-size: 17px;
    max-width: 450px;
  }
  .hero-actions {
    margin-top: 24px;
    gap: 16px;
  }
  .hero-actions .button {
    font-size: 14px;
  }
  .hero-art {
    min-height: 0;
    height: 290px;
    border-radius: 65px 20px 20px 20px;
  }
  .hero-art img {
    min-height: 0;
    height: 100%;
    object-position: 50% 65%;
  }
  .availability {
    display: block;
    padding-block: 18px;
  }
  .availability a {
    margin-top: 8px;
    width: fit-content;
  }
  .section {
    padding-block: 60px;
  }
  .intro,
  .tour,
  .principles,
  .faq {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .intro-heading p {
    margin-top: 18px;
  }
  .steps {
    gap: 25px;
  }
  .steps article {
    padding-left: 45px;
  }
  .tour-controls {
    max-width: none;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .tour-choice {
    padding: 14px;
    font-size: 14px;
    gap: 5px;
  }
  .tour-choice small {
    font-size: 12px;
  }
  .tour-choice > span:last-of-type {
    display: none;
  }
  .tour-copy > p:not(.eyebrow) {
    max-width: none;
    margin-top: 18px;
  }
  .app-preview {
    margin-top: 0;
  }
  .phone {
    width: 270px;
  }
  .companion {
    order: 2;
    padding: 0;
  }
  .guide-rig {
    width: 220px;
  }
  .principle-pair {
    gap: 24px;
  }
  .principles .lead {
    font-size: 17px;
  }
  .faq {
    padding-top: 0;
  }
  .faq h2 {
    max-width: none;
  }
  .contact-banner {
    display: block;
    padding: 30px 25px;
    margin-bottom: 55px;
  }
  .contact-banner h2 {
    font-size: 38px;
  }
  .contact-banner .button {
    margin-top: 24px;
  }
  .contact-banner br {
    display: none;
  }
  .footer-top {
    justify-content: space-between;
    gap: 18px;
  }
  .footer-bottom {
    flex-wrap: wrap;
    gap: 2px 20px;
    padding-top: 16px;
  }
  .footer-bottom nav {
    order: 3;
    width: 100%;
    gap: 23px;
  }
  .document {
    padding-block: 45px 65px;
  }
  .document-lead {
    font-size: 19px;
  }
  .document-body {
    margin-top: 35px;
  }
  .document-body h2 {
    font-size: 29px;
  }
  .theme-toggle {
    font-size: 11px;
  }
}
@media (max-width: 380px) {
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .header-actions .button-small {
    padding-inline: 10px;
    gap: 8px;
  }
  .principle-pair {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .footer-bottom nav {
    gap: 18px;
  }
  .hero h1 {
    font-size: 45px;
  }
}

/* Kept in the shared stylesheet by the build. One clipped layer, no scroll interception. */
.hero-stage {
  position: relative;
}
/* The route is content, even when a small screen or motion preference skips cinema. */
.route-summary {
  text-align: center;
  padding-block: 48px 64px;
}
.hero-scroll.cinema-active + .route-summary { display: none; }
.route-summary h2 { font-size: clamp(38px, 5vw, 60px); line-height: 1.1; margin-bottom: 20px; }
.route-summary-description { color: var(--muted); }
.route-summary-map { max-width: 760px; margin: 28px auto 36px; }
.route-summary-map svg { display: block; width: 100%; overflow: visible; }
.route-summary-map path { fill: none; stroke: var(--accent-dark); stroke-width: 3; }
.route-summary-map circle { fill: var(--accent); stroke: var(--ink); stroke-width: 1.5; }
.route-summary-map ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: -8% 0 0;
  padding: 0;
  list-style: none;
  position: relative;
  font: 650 clamp(20px, 3vw, 28px)/1.3 Baloo, sans-serif;
}
.route-summary-note { color: var(--muted); font-size: 14px; }
/* Reserve the first scene before image decoding so following content never jumps. */
@media (min-width: 768px) and (min-height: 560px) and (prefers-reduced-motion: no-preference) {
  .hero-stage { min-height: 100svh; }
  html[data-motion="off"] .hero-stage { min-height: 0; }
}
.cinema-window,
.cinema-controls {
  display: none;
}
.cinema-active {
  height: 350svh;
}
.cinema-active .hero-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
}
.cinema-active .hero {
  position: relative;
  z-index: 1;
}
.cinema-active .hero-art {
  visibility: hidden;
}
.cinema-active .hero-copy {
  position: relative;
  z-index: 2;
}
.cinema-active .cinema-window {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  overflow: hidden;
  background: var(--ground);
  pointer-events: none;
  will-change: transform;
}
.cinema-scene {
  display: block;
  width: 100%;
  height: 100%;
}
.cinema-road {
  stroke: var(--accent-dark);
}
.cinema-pins circle {
  fill: var(--accent);
  stroke: var(--ink);
  stroke-width: 2;
}
.cinema-pins text {
  fill: var(--ink);
  font:
    700 19px Figtree,
    sans-serif;
}
.cinema-message {
  position: absolute;
  top: 12%;
  left: 10%;
  width: 80%;
  text-align: center;
  opacity: 0;
}
.cinema-message .eyebrow {
  margin-bottom: 14px;
}
.cinema-title {
  font:
    650 clamp(34px, 4.6vw, 66px)/1.05 Baloo,
    sans-serif;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 18px;
}
.cinema-message small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 14px;
}
.cinema-active .cinema-controls {
  position: absolute;
  z-index: 3;
  bottom: var(--cinema-control-bottom, 98px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 18px;
  white-space: nowrap;
  border: 1px solid var(--line);
  border-radius: 40px;
  padding: 5px 18px;
  background: var(--surface);
  color: var(--ink);
  font-size: 12px;
}
.cinema-controls .motion-toggle {
  margin: 0;
  border: 0;
  background: none;
  color: var(--ink);
}
.cinema-controls a {
  display: flex;
  align-items: center;
  min-height: 44px;
}
@media (max-height: 700px) {
  .cinema-message { top: 6%; }
  .cinema-message .eyebrow { font-size: 10px; margin-bottom: 8px; }
  .cinema-title { font-size: 38px; margin-bottom: 10px; }
  .cinema-message > p:not(.cinema-title):not(.eyebrow) { font-size: 14px; }
  .cinema-message small { margin-top: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-scroll.cinema-active + .route-summary { display: block; }
  .cinema-active {
    height: auto;
  }
  .cinema-active .hero-stage {
    position: relative;
    height: auto;
    overflow: visible;
  }
  .cinema-active .hero-art {
    visibility: visible;
  }
  .cinema-active .cinema-window,
  .cinema-active .cinema-controls {
    display: none;
  }
}

.trip-story { margin: 50px 0 0; }
.story-launch { display: block; position: relative; width: 100%; aspect-ratio: 2.05; padding: 0; border: 0; border-radius: 24px; overflow: hidden; background: #ac7649; color: #fff5df; text-align: left; cursor: pointer; }
.story-launch > img { width: 100%; height: 100%; object-fit: cover; }
.story-launch:focus-visible, .story-dialog button:focus-visible { outline: 3px solid #f2b574; outline-offset: 5px; }
.story-invitation { position: absolute; bottom: 22px; left: 24px; padding: 11px 17px; border: 1px solid #f8ebc64d; border-radius: 99px; background: #2c271ee8; color: #fff2dc; font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 10px; box-shadow: 0 3px 12px #30251a26; }
.story-invitation[hidden] { display: none; }
.story-play-icon { font-size: 10px; }
.trip-story figcaption { display: grid; gap: 3px; padding-top: 17px; font-size: 14px; color: var(--muted); }
.trip-story figcaption strong { font-size: 16px; font-weight: 600; color: var(--ink); }
.story-dialog { position: fixed; inset: 0; width: 100%; height: 100%; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #251f18; color: #fff3df; overflow: hidden; }
.story-dialog::backdrop { background: #201b16; }
.story-dialog .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.story-stage { position: absolute; inset: 0; overflow: hidden; }
.story-overlay { display: block; width: 100%; height: 100%; pointer-events: none; }
.story-overlay text { user-select: none; }
.story-stop text { fill: #fff5da; stroke: none; text-anchor: middle; font: 600 17px Figtree, sans-serif; }
.story-hand { filter: drop-shadow(2px 4px 2px #46331f24); }
.story-close { position: absolute; z-index: 3; right: max(24px, env(safe-area-inset-right)); top: max(20px, env(safe-area-inset-top)); display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 8px 18px; background: #2c271eeb; color: #fff2dc; border: 1px solid #f8ebc655; border-radius: 99px; cursor: pointer; font-size: 14px; }
.story-close span { font-size: 24px; line-height: 1; }
.story-hud { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 70px max(32px,env(safe-area-inset-right)) max(26px,env(safe-area-inset-bottom)); display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; background: linear-gradient(transparent, #1d1b17d9); pointer-events: none; }
.story-caption-copy { display: grid; gap: 8px; max-width: 620px; text-shadow: 0 1px 10px #1a160f; }
.story-chapter { font-size: 11px; font-weight: 700; letter-spacing: .16em; color: #f8cb93; }
.story-status { font-size: clamp(17px,2.2vw,25px); line-height: 1.35; color: #fff5e4; }
.story-controls { display: flex; gap: 10px; pointer-events: auto; }
.story-controls button { flex-shrink: 0; background: #2c271ee8; border: 1px solid #fff0ce70; border-radius: 99px; color: #fff2dc; font: inherit; font-size: 14px; padding: 10px 18px; min-height: 44px; cursor: pointer; }
.story-controls button[hidden] { display: none; }
.story-controls button:disabled { opacity: .55; cursor: default; }
@media(max-width:767px) {
 .trip-story { margin-top: 32px; }
 .story-launch { aspect-ratio: 1.4; border-radius: 18px; }
 .story-invitation { left: 12px; bottom: 12px; padding: 9px 12px; font-size: 12px; }
 .story-close { top: max(14px,env(safe-area-inset-top)); right: max(14px,env(safe-area-inset-right)); }
 .story-hud { padding: 70px 20px max(20px,env(safe-area-inset-bottom)); flex-direction: column; align-items: flex-start; gap: 18px; }
 .story-controls { align-self: flex-end; }
}
