/* Sicilian days and nights: pixel-art landscapes, clear type, quiet glass. */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/assets/fonts/dm-sans-latin.woff2?v=ca72d2bcea8f') format('woff2');
}
:root {
  --sans: 'DM Sans', Arial, Helvetica, sans-serif;
  --serif: 'EB Garamond', 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif;
  --landing-blue: #285b85;
  --landing-muted: #56625b;
  --landing-wash: #f2eadb;
  --day-paper: #f7f1e4;
  --day-ink: #252e2b;
  --night: #102f35;
  --warm-white: #fff9e9;
  --paper: #fffdf7;
  font-variant-numeric: lining-nums;
  color-scheme: light;
  background: var(--night);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}
body {
  margin: 0;
  color: var(--warm-white);
  background: var(--night);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #e3bd6d;
  outline-offset: 5px;
}
img {
  display: block;
  max-width: 100%;
}
svg {
  flex-shrink: 0;
}
[hidden] {
  display: none !important;
}
html:not(.js-enabled) .slot-picker,
html:not(.js-enabled) .demo-confirm,
html:not(.js-enabled) .demo-steps,
html:not(.js-enabled) .channel-tabs {
  display: none;
}
::selection {
  color: #102f35;
  background: #f1d995;
}
p,
h1,
h2,
h3,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
}
h1,
h2 {
  text-wrap: balance;
}
h2 {
  font-size: clamp(40px, 4.1vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.025em;
}
h2 em {
  color: #e8d59e;
  font-weight: 400;
}
p {
  text-wrap: pretty;
}
.wrap {
  width: min(1260px, calc(100% - 112px));
  margin-inline: auto;
}
.icon-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.icon {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 24px;
  z-index: 100;
  padding: 14px 24px;
  background: var(--warm-white);
  color: var(--night);
  border-radius: 8px;
}
.skip-link:focus {
  top: 14px;
}
.eyebrow {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 1.8;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-height: 44px;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 13px 21px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  border: 1px solid transparent;
  border-radius: 11px;
  transition:
    background 180ms ease,
    transform 180ms ease;
}
.button-primary,
.call-preview-link,
.evening-button {
  color: #122c3c;
  background: #fff8e8;
}
.button-primary:hover,
.call-preview-link:hover,
.evening-button:hover {
  background: #f5e4bd;
  transform: translateY(-2px);
}
.glass-panel {
  border: 1px solid rgb(255 255 255 / 0.68);
  border-radius: 21px;
  background: rgb(13 35 37 / 0.83);
  box-shadow:
    0 12px 48px rgb(7 25 34 / 0.16),
    inset 0 1px 0 rgb(255 255 255 / 0.08);
  -webkit-backdrop-filter: blur(19px);
  backdrop-filter: blur(19px);
}
.site-header {
  position: absolute;
  z-index: 10;
  top: 19px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 34px;
  width: min(710px, calc(100% - 40px));
  min-height: 62px;
  padding: 8px 13px 8px 23px;
  border: 1px solid rgb(255 255 255 / 0.65);
  border-radius: 22px;
  background: rgb(5 36 47 / 0.64);
  box-shadow:
    0 5px 25px rgb(11 38 43 / 0.08),
    inset 0 1px 0 rgb(255 255 255 / 0.15);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}
.wordmark {
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.025em;
}
.site-header > .wordmark {
  margin-right: auto;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 13px;
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 42px;
}
.site-nav a:last-child {
  padding: 10px 18px;
  border-radius: 11px;
  background: #102f43;
}
.site-nav a:hover,
.login-link:hover {
  color: #f7e1ac;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.login-link {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-size: 13px;
}
.login-link .icon {
  width: 14px;
  height: 14px;
}
.menu-toggle {
  display: none;
  width: 38px;
  height: 42px;
  border: 0;
  background: transparent;
  padding: 10px 7px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  margin: 6px 0;
  background: currentColor;
  transition: transform 180ms ease;
}
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: max(760px, 100svh);
  overflow: hidden;
  isolation: isolate;
  background: #2986b5;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 55% 0 0;
  z-index: -1;
  background: linear-gradient(transparent, rgb(13 37 34 / 0.32));
  pointer-events: none;
}
.hero-panorama {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
}
.hero-intro {
  width: 100%;
  padding: 180px 40px 78px;
}
.hero-copy {
  width: min(625px, 100%);
  padding: 35px 38px 29px;
}
.hero-copy .eyebrow {
  margin-bottom: 15px;
}
h1 {
  font-size: clamp(48px, 4.05vw, 66px);
  line-height: 0.99;
  letter-spacing: -0.025em;
}
.hero-description {
  max-width: 510px;
  margin-top: 17px;
  font-size: 15px;
  line-height: 1.65;
  color: #f2f1e8;
}
.hero-call {
  margin-top: 19px;
}
.call-action-row {
  display: flex;
  align-items: center;
  gap: 22px;
}
.call-button {
  flex-shrink: 0;
}
.call-description {
  font-size: 12px;
  line-height: 1.65;
  color: #f1f0e5;
}
.call-fineprint {
  margin-top: 12px;
  font-size: 10px;
  line-height: 1.6;
  color: #cbd8ce;
}
.call-status {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.5;
}
.call-status:empty {
  display: none;
}
.call-stop {
  background: #f4d9cd;
  color: #6e2f24;
}
.call-stop:hover {
  background: #f2c9b7;
}
.call-button:disabled {
  opacity: 0.65;
  cursor: wait;
}
.call-availability {
  margin-bottom: 12px;
  font-size: 12px;
  line-height: 1.6;
  color: #e6ece4;
}
.hero-scroll {
  position: absolute;
  left: 42px;
  bottom: 23px;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 36px;
  font-size: 10px;
  letter-spacing: 0.035em;
  text-shadow: 0 1px 6px #102f35;
}
.hero-scroll > span:last-child {
  font-size: 21px;
}
.scene-caption {
  font-size: 10px;
  letter-spacing: 0.06em;
  text-shadow: 0 1px 8px #051e2b;
}
.hero-place {
  position: absolute;
  right: 40px;
  bottom: 35px;
}
main {
  background: var(--day-paper);
}
.stories-intro,
.story-scene,
.demo-section {
  color: var(--day-ink);
}
.stories-intro h2 em,
.story-copy h2 em,
.demo-section h2 em {
  color: var(--landing-blue);
}
.demo-section :focus-visible {
  outline-color: var(--landing-blue);
}
.stories-intro {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  column-gap: 72px;
  padding-block: 92px 86px;
}
.stories-intro > .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 20px;
  color: var(--landing-muted);
}
.stories-intro h2 {
  font-size: clamp(38px, 3.25vw, 50px);
}
.stories-intro-note {
  align-self: end;
  max-width: 410px;
}
.stories-intro-note > p:first-child {
  font-size: 14px;
  line-height: 1.7;
  color: var(--landing-muted);
}
.tools-list {
  display: flex;
  flex-wrap: wrap;
  gap: 13px 18px;
  margin-top: 22px;
  font-size: 11px;
}
.tools-list > span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.tools-list .icon {
  width: 16px;
  height: 16px;
  color: var(--landing-blue);
}
.stories-caption {
  margin-top: 17px;
  color: #637067;
  font-size: 10px;
  line-height: 1.7;
}
.story-scene {
  position: relative;
  background: var(--day-paper);
}
.story-layout {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.55fr);
  gap: 30px 8%;
  min-height: max(790px, 50vw);
  padding: 72px max(56px, calc((100vw - 1260px) / 2)) 64px;
}
.story-art {
  position: absolute;
  z-index: -2;
  inset: 0;
  overflow: hidden;
}
.story-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Keep the quiet side under the copy even when enlarged text makes the scene taller. */
  object-position: 40% center;
}
.story-reverse .story-art img {
  object-position: 60% center;
}
.story-copy {
  grid-column: 1;
  grid-row: 1;
  align-self: end;
  width: min(440px, calc(100% + 62px));
  padding: 26px;
  border: 1px solid rgb(255 253 247 / 0.88);
  border-radius: 18px;
  background: rgb(255 252 245 / 0.76);
  -webkit-backdrop-filter: blur(22px) saturate(0.9);
  backdrop-filter: blur(22px) saturate(0.9);
  box-shadow: 0 10px 32px rgb(91 73 42 / 0.08);
}
.story-chapter {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #414a43;
  font-size: 9px;
  letter-spacing: 0.14em;
  margin-bottom: 21px;
}
.story-chapter > span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid #b8b8a6;
  border-radius: 50%;
  font-size: 10px;
  letter-spacing: 0;
  flex: none;
}
.story-copy h2 {
  font-size: clamp(38px, 3.55vw, 56px);
  overflow-wrap: anywhere;
}
.story-description {
  margin-top: 22px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--day-ink);
}
.story-card-wrap {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
  width: min(440px, calc(100% + 62px));
}
.story-paper {
  position: relative;
  padding: 21px;
  border: 1px solid rgb(99 87 61 / 0.22);
  border-radius: 16px;
  background: rgb(255 252 245 / 0.94);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 35px rgb(91 73 42 / 0.09);
  font-size: 11px;
  line-height: 1.65;
}
.story-paper-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 17px;
  font-size: 11px;
  font-weight: 500;
  color: var(--day-ink);
}
.story-paper-heading .icon {
  width: 16px;
  height: 16px;
  color: var(--landing-blue);
}
.story-paper-heading > img {
  filter: none;
}
.story-sound {
  margin-left: auto;
  color: #42664e;
  letter-spacing: 3px;
}
.story-bubble {
  width: fit-content;
  max-width: 95%;
  padding: 11px 13px;
  border: 1px solid rgb(78 94 78 / 0.08);
  border-radius: 10px;
}
.story-bubble + .story-bubble {
  margin-top: 8px;
}
.story-bubble-assistant {
  background: #ececde;
  color: #354a3d;
  border-bottom-left-radius: 2px;
}
.story-bubble-person {
  margin-left: auto;
  color: #2c5267;
  background: #e2ebf0;
  border-bottom-right-radius: 2px;
}
.story-result {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 15px;
  margin-top: 15px;
  border-top: 1px solid rgb(99 87 61 / 0.17);
  color: #42664e;
  font-size: 10px;
}
.story-result .icon {
  width: 15px;
  height: 15px;
}
.story-reverse {
  background: var(--day-paper);
}
.story-reverse .story-layout {
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.86fr);
}
.story-reverse .story-copy,
.story-reverse .story-card-wrap {
  grid-column: 2;
}
.story-reverse .story-copy,
.story-reverse .story-card-wrap {
  justify-self: end;
}
.agenda-days,
.agenda-slots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.agenda-days {
  text-align: center;
  font-size: 7px;
  letter-spacing: 0.06em;
  color: #626b66;
}
.agenda-days strong {
  display: block;
  margin-top: 4px;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  color: var(--day-ink);
}
.agenda-slots {
  margin-top: 11px;
}
.agenda-block {
  position: relative;
  display: block;
  padding: 12px 7px;
  min-height: 80px;
  background: #ece8de;
  border-left: 2px solid #829a83;
  border-radius: 5px;
  font-size: 9px;
}
.agenda-block small {
  display: block;
  margin-top: 6px;
  font-size: 7px;
  white-space: nowrap;
}
.agenda-booked {
  background: #dfead2;
  border-color: #6f8b58;
  color: #35513b;
}
.agenda-booked > .icon {
  display: block;
  width: 13px;
  height: 13px;
  margin-bottom: 3px;
}
.story-channel-label {
  margin-left: auto;
  font-size: 8px;
  color: #42664e;
}
.story-footnote {
  margin-top: 12px;
  font-size: 10px;
  color: var(--landing-muted);
}
.story-preferences .story-layout {
  min-height: max(880px, 50vw);
}
.preference-approval {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 13px 0 0;
  border-top: 1px solid rgb(99 87 61 / 0.17);
  color: #42664e;
  font-size: 10px;
}
.preference-approval strong {
  font-weight: 500;
}
.preference-approval .icon {
  width: 18px;
  height: 18px;
}
.demo-section {
  padding-block: 92px 52px;
  background: var(--landing-wash);
  border-block: 1px solid #dce0e2;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: flex-end;
  margin-bottom: 47px;
}
.section-heading > p {
  color: var(--landing-muted);
  font-size: 20px;
  line-height: 1.4;
  padding-bottom: 5px;
}
.booking-demo {
  background: var(--paper);
  border: 1px solid #c7cccf;
  border-radius: 5px;
  box-shadow: 0 12px 32px #334b6810;
  overflow: hidden;
}
.demo-toolbar {
  min-height: 49px;
  padding: 15px 27px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.055em;
  border-bottom: 1px solid #e3e0d7;
}
.demo-toolbar > span {
  display: flex;
  align-items: center;
  gap: 9px;
}
.demo-toolbar > span:last-child {
  color: #6a6d6c;
}
.demo-toolbar > span:last-child > span {
  font-size: 18px;
}
.status-dot {
  flex: none;
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #638261;
  border-radius: 50%;
}
.demo-workspace {
  display: grid;
  grid-template-columns: 0.85fr 1.3fr;
}
.conversation {
  padding: 25px 30px 28px;
  border-right: 1px solid #e3e0d7;
}
.channel-tabs {
  display: flex;
  gap: 4px;
  width: fit-content;
  padding: 4px;
  background: #eeede7;
  border-radius: 5px;
  font-family: var(--sans);
}
.channel-tabs button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 35px;
  padding: 7px 15px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 11px;
  color: #61645b;
}
.channel-tabs button[aria-selected='true'] {
  background: var(--paper);
  border-color: #dfdcd2;
  color: #273a46;
  box-shadow: 0 1px 3px #2537490a;
}
.channel-tabs .icon {
  width: 14px;
  height: 14px;
}
.conversation-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-block: 26px 20px;
}
.assistant-avatar {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: #f1eddf;
  border-radius: 50%;
}
.assistant-avatar img {
  width: 21px;
  height: 23px;
}
.conversation-heading > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.conversation-heading strong {
  font-weight: 400;
  font-size: 21px;
  line-height: 1;
}
.conversation-heading > div > span {
  font-family: var(--sans);
  font-size: 10px;
  color: #706b60;
}
.voice-wave {
  display: flex;
  height: 26px;
  align-items: center;
  gap: 3px;
  margin-left: auto;
  color: var(--landing-blue);
}
.voice-wave i {
  display: block;
  width: 2px;
  height: 10px;
  background: currentColor;
}
.voice-wave i:nth-child(2n) {
  height: 21px;
}
.voice-wave i:nth-child(3n) {
  height: 16px;
}
.voice-wave i:nth-child(4) {
  height: 26px;
}
[data-channel='whatsapp'] .voice-wave {
  color: #598257;
}
[data-channel='whatsapp'] .voice-wave i {
  height: 5px;
  width: 5px;
  border-radius: 50%;
}
[data-channel='whatsapp'] .voice-wave i:nth-child(n + 4) {
  display: none;
}
.chat-message {
  padding: 15px 17px;
  border-radius: 6px;
  font-family: var(--sans);
}
.message-author {
  display: block;
  margin-bottom: 7px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  color: #6f6a60;
}
.chat-message p {
  font-size: 12px;
  line-height: 1.7;
}
.customer-message {
  margin-left: 29px;
  background: #f0ede4;
  border-bottom-right-radius: 0;
}
.assistant-message {
  margin: 12px 21px 0 0;
  background: #eaf0f7;
  color: #254b84;
  border-bottom-left-radius: 0;
  min-height: 106px;
}
.assistant-message .message-author {
  color: #45618d;
}
.slot-picker {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  font-family: var(--sans);
}
.slot-picker button {
  display: flex;
  gap: 8px;
  align-items: center;
  min-height: 35px;
  padding: 9px 13px;
  border: 1px solid #d9d7cf;
  border-radius: 3px;
  background: transparent;
  font-size: 10px;
  color: #6c7069;
}
.slot-picker strong {
  font-weight: 400;
}
.slot-picker [aria-pressed='true'] {
  border-color: #6281ad;
  color: #274f9e;
  background: #f2f5f8;
}
.slot-picker button:hover {
  border-color: var(--landing-blue);
}
.demo-confirm {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  min-height: 40px;
  width: 100%;
  padding: 11px 14px;
  margin-top: 12px;
  background: var(--landing-blue);
  color: #fffdf7;
  border: 0;
  border-radius: 3px;
  font-family: var(--sans);
  font-size: 11px;
  text-align: left;
}
.demo-confirm:hover {
  background: #1e4086;
}
.demo-confirm .icon {
  width: 17px;
  height: 17px;
}
.calendar-preview {
  padding: 30px 27px 0;
  min-width: 0;
  font-family: var(--sans);
}
.calendar-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.calendar-heading > div {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
}
.calendar-heading .icon {
  color: var(--landing-blue);
  width: 19px;
  height: 19px;
}
.calendar-sync {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--mono);
  color: #637457;
  font-size: 8px;
}
.calendar-sync .status-dot {
  width: 4px;
  height: 4px;
}
.calendar-week-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-block: 29px 23px;
}
.calendar-week-label strong {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.1;
}
.calendar-week-label > span {
  font-family: var(--mono);
  font-size: 7px;
  color: #6f706b;
  white-space: nowrap;
}
.calendar-grid {
  position: relative;
  display: grid;
  grid-template-columns: 39px repeat(5, 1fr);
  grid-template-rows: 60px repeat(5, 52px);
  font-variant-numeric: lining-nums tabular-nums;
}
.day-heading {
  grid-row: 1;
  text-align: center;
  font-family: var(--mono);
  font-size: 8px;
  color: #62685e;
}
.day-heading span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin: 5px auto 0;
  font-family: var(--serif);
  font-size: 22px;
  color: #3a4235;
}
[data-slot='tuesday'] .day-tuesday span,
[data-slot='wednesday'] .day-wednesday span {
  color: white;
  background: var(--landing-blue);
  border-radius: 50%;
}
.calendar-time {
  grid-column: 1;
  align-self: start;
  font-family: var(--mono);
  font-size: 8px;
  color: #62685e;
  transform: translateY(-4px);
}
.time-9 {
  grid-row: 2;
}
.time-10 {
  grid-row: 3;
}
.time-11 {
  grid-row: 4;
}
.time-14 {
  grid-row: 5;
}
.time-15 {
  grid-row: 6;
}
.calendar-rules {
  grid-column: 2 / -1;
  grid-row: 2 / -1;
  border-left: 1px solid #e9e8e1;
  background-image:
    linear-gradient(to bottom, #e9e8e1 1px, transparent 1px),
    linear-gradient(to right, transparent calc(100% - 1px), #e9e8e1 calc(100% - 1px));
  background-size:
    100% 52px,
    20% 100%;
}
.calendar-event {
  z-index: 1;
  margin: 2px 3px 4px;
  padding: 8px 6px 5px;
  min-width: 0;
  border-left: 2px solid #b5bfa5;
  border-radius: 2px;
  background: #e8ecdf;
  color: #616a51;
  font-size: 9px;
  line-height: 1.4;
  overflow: hidden;
}
.calendar-event span {
  display: block;
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 7px;
  white-space: nowrap;
}
.event-one {
  grid-column: 2;
  grid-row: 2;
}
.event-two {
  grid-column: 2;
  grid-row: 4;
  background: #f0e6d5;
  color: #6e5830;
  border-color: #cfb57f;
}
.event-three {
  grid-column: 4;
  grid-row: 2;
  background: #e6e6f0;
  color: #5d5774;
  border-color: #b3accb;
}
.event-four {
  grid-column: 5;
  grid-row: 5;
  background: #f0e6d5;
  color: #6e5830;
  border-color: #cfb57f;
}
.event-five {
  grid-column: 6;
  grid-row: 3;
}
.event-six {
  grid-column: 3;
  grid-row: 5;
  background: #e6e6f0;
  color: #5d5774;
  border-color: #b3accb;
}
.demo-appointment {
  grid-column: 3;
  grid-row: 3 / 5;
  align-self: center;
  z-index: 2;
  margin: 0 -17px 0 3px;
  padding: 12px 9px;
  border: 1px dashed #7a94bd;
  border-left: 3px solid var(--landing-blue);
  border-radius: 3px;
  background: #eff3f9;
  color: var(--landing-blue);
  box-shadow: 0 3px 9px #274f9e0c;
  transition:
    background 250ms,
    box-shadow 250ms;
}
.demo-appointment strong {
  display: block;
  margin-top: 7px;
  font-weight: 400;
  font-size: 10px;
  line-height: 1.3;
}
.appointment-state {
  display: block;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.015em;
}
#appointment-time {
  display: block;
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 8px;
}
.demo-appointment .icon {
  display: none;
}
[data-slot='wednesday'] .demo-appointment {
  grid-column: 4;
  grid-row: 6;
  align-self: start;
  transform: translateY(-16px);
}
[data-stage='2'] .demo-appointment {
  color: #fffdf7;
  background: var(--landing-blue);
  border-color: var(--landing-blue);
  border-style: solid;
  box-shadow: 0 4px 12px #274f9e2a;
}
[data-stage='2'] .assistant-message {
  background: #ebf1e4;
  color: #405e34;
}
[data-stage='2'] .assistant-message .message-author {
  color: #4e6c42;
}
[data-stage='2'] .slot-picker {
  opacity: 0.6;
}
.calendar-footnote {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-height: 46px;
  padding-block: 15px;
  color: #637457;
  font-size: 9px;
  line-height: 1.5;
}
.calendar-footnote .icon {
  width: 13px;
  height: 13px;
}
.demo-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #e3e0d7;
}
.demo-step {
  position: relative;
  display: grid;
  grid-template-columns: 30px 1fr;
  column-gap: 12px;
  padding: 23px 27px;
  text-align: left;
  background: transparent;
  border: 0;
  transition: background 180ms;
}
.demo-step + .demo-step {
  border-left: 1px solid #e3e0d7;
}
.demo-step > span {
  grid-row: 1 / 3;
  font-family: var(--mono);
  font-size: 11px;
  padding-top: 5px;
  color: #62685e;
}
.demo-step strong {
  font-weight: 400;
  font-size: 25px;
  line-height: 1.1;
}
.demo-step small {
  margin-top: 7px;
  font-size: 14px;
  color: #6d7065;
}
.demo-step[aria-pressed='true'] {
  background: #f1f4f7;
  color: var(--landing-blue);
}
.demo-step[aria-pressed='true']::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--landing-blue);
}
.demo-step[aria-pressed='true'] > span {
  color: var(--landing-blue);
}
.demo-step:hover {
  background: #f0f2f3;
}
.demo-disclaimer {
  margin-top: 18px;
  text-align: center;
  font-family: var(--sans);
  font-size: 10px;
  line-height: 1.5;
  color: #696e6d;
}

/* Warm stone and paper carry the daylight scenes through the booking example. */
.demo-section {
  padding-block: 88px 75px;
  background: var(--landing-wash);
  border: 0;
}
.section-heading {
  margin-bottom: 35px;
}
.section-number {
  margin-bottom: 20px;
  color: var(--landing-muted);
}
.section-heading > p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--landing-muted);
}
.booking-demo {
  color: var(--day-ink);
  background: #fffdf7;
  border: 1px solid rgb(99 87 61 / 0.2);
  border-radius: 20px;
  box-shadow: 0 22px 60px rgb(91 73 42 / 0.08);
}
.demo-toolbar {
  padding-inline: 28px;
  background: #f0ecdf;
  font-family: var(--sans);
  font-size: 9px;
}
.conversation-heading strong {
  font-family: var(--serif);
  font-size: 26px;
}
.chat-message p {
  font-size: 13px;
}
.channel-tabs {
  border-radius: 9px;
}
.channel-tabs button {
  min-height: 40px;
  border-radius: 6px;
  font-size: 12px;
}
.slot-picker button {
  min-height: 42px;
  font-size: 11px;
  border-radius: 7px;
}
.demo-confirm {
  min-height: 46px;
  font-size: 12px;
  border-radius: 8px;
}
.demo-step strong {
  font-family: var(--serif);
}
.demo-step small {
  font-size: 12px;
}
.demo-disclaimer {
  margin-top: 20px;
  color: var(--landing-muted);
  font-size: 11px;
}
.story-evening {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #062143;
}
.evening-panorama {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% center;
}
.story-evening::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(0deg, rgb(5 23 43 / 0.26), transparent 70%);
  pointer-events: none;
}
.evening-layout {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: max(740px, 90svh);
  padding: 180px 40px 70px;
}
.evening-copy {
  width: min(620px, 100%);
  padding: 36px 38px 30px;
  background: rgb(7 25 47 / 0.85);
}
.evening-copy .eyebrow {
  margin-bottom: 17px;
}
.evening-copy h2 {
  font-size: clamp(48px, 4.05vw, 65px);
}
.evening-copy > p:not(.eyebrow, .invitation-note) {
  margin-top: 20px;
  max-width: 490px;
  color: #e5e9ee;
  font-size: 14px;
  line-height: 1.75;
}
.evening-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  margin-top: 21px;
}
.evening-access {
  font-size: 13px;
}
.invitation-note {
  margin-top: 8px;
  color: #bdcbd6;
  font-size: 10px;
  line-height: 1.6;
}
.evening-place {
  position: absolute;
  right: 40px;
  bottom: 32px;
}
.footer-bar {
  display: flex;
  align-items: center;
  gap: 35px;
  min-height: 112px;
  padding: 23px 40px;
  border-top: 1px solid rgb(219 230 242 / 0.55);
  background: rgb(6 23 40 / 0.86);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}
.footer-brand {
  margin-right: auto;
}
.footer-brand p {
  margin-top: 8px;
  font-size: 10px;
  color: #d0d7df;
}
.footer-bar nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 25px;
  font-size: 11px;
}
.footer-bar nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
}
.footer-bar nav a:hover {
  color: #f7e1ac;
}
.footer-copyright {
  color: #d0d7df;
  font-size: 10px;
  white-space: nowrap;
}
.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}
.js-reveal [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
/* Scroll distance holds each fitting desktop scene while its story unfolds. */
@media (prefers-reduced-motion: no-preference) {
  .story-scene.is-scroll-scene {
    height: 340svh;
  }
  .story-scene.is-scroll-scene .story-layout {
    position: sticky;
    top: 0;
    min-height: 100svh;
    opacity: 1;
    transform: none;
    transition: none;
  }
}
.story-scroll-cue {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 13px;
  border: 1px solid rgb(255 253 247 / 0.7);
  border-radius: 30px;
  background: rgb(255 252 245 / 0.8);
  color: #414a43;
  font-size: 9px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  pointer-events: none;
}
.story-scroll-track {
  width: 54px;
  height: 2px;
  overflow: hidden;
  background: #c7c8b8;
}
.story-scroll-track > span {
  display: block;
  height: 100%;
  background: var(--landing-blue);
  transform-origin: left;
}
@media (min-width: 1700px) {
  .hero-intro,
  .evening-layout {
    padding-left: max(40px, calc((100vw - 1600px) / 2));
  }
  .hero-copy {
    width: 660px;
  }
}
@media (max-width: 1100px) {
  .wrap {
    width: calc(100% - 72px);
  }
  .hero-intro,
  .evening-layout {
    padding-left: 28px;
  }
  /* A full panorama above the copy avoids cropping away its quiet side on tablets. */
  .story-layout,
  .story-reverse .story-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px;
    min-height: 0;
    padding: 0 36px 60px;
  }
  .story-art {
    position: relative;
    z-index: auto;
    grid-column: 1 / -1;
    grid-row: 1;
    width: calc(100% + 72px);
    aspect-ratio: 2;
    margin-inline: -36px;
  }
  .story-copy,
  .story-reverse .story-copy {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
    width: 100%;
    max-width: none;
    padding: 23px;
  }
  .story-copy h2 {
    font-size: 42px;
  }
  .story-card-wrap,
  .story-reverse .story-card-wrap {
    grid-column: 2;
    grid-row: 2;
    width: 100%;
    max-width: 470px;
    justify-self: end;
  }
  .story-preferences .story-layout {
    min-height: 0;
  }
  .stories-intro {
    column-gap: 45px;
  }
  .stories-intro h2 {
    font-size: 38px;
  }
  .footer-bar {
    flex-wrap: wrap;
    gap: 14px 28px;
  }
  .footer-brand {
    flex-basis: 30%;
  }
  .footer-copyright {
    margin-left: auto;
  }
  .conversation {
    padding-inline: 22px;
  }
  .calendar-preview {
    padding-inline: 20px;
  }
  .demo-step {
    padding-inline: 20px;
    grid-template-columns: 21px 1fr;
  }
}
@media (max-width: 800px) {
  html {
    scroll-padding-top: 24px;
  }
  .site-header {
    top: 14px;
    width: calc(100% - 28px);
    min-height: 58px;
    padding: 6px 12px 6px 18px;
    gap: 16px;
    border-radius: 18px;
  }
  .wordmark {
    font-size: 31px;
  }
  .site-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px;
  }
  .site-header:has(.menu-toggle[hidden]) {
    flex-wrap: wrap;
  }
  .site-header:has(.menu-toggle[hidden]) .site-nav {
    order: 3;
    width: 100%;
    padding-bottom: 5px;
  }
  .site-header:not(.menu-open):not(:has(.menu-toggle[hidden])) .site-nav {
    display: none;
  }
  .menu-toggle:not([hidden]) {
    display: block;
  }
  .site-header.menu-open .site-nav {
    display: flex;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    padding: 14px 20px;
    background: rgb(13 40 51 / 0.98);
    border: 1px solid rgb(255 255 255 / 0.5);
    border-radius: 16px;
    box-shadow: 0 15px 30px rgb(4 26 35 / 0.18);
  }
  .menu-open .menu-toggle span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }
  .menu-open .menu-toggle span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }
  .hero {
    min-height: max(850px, 100svh);
  }
  .hero-panorama {
    object-position: 59% center;
  }
  .hero-intro {
    padding: 210px 24px 80px;
  }
  .hero-copy {
    width: min(600px, 100%);
    padding: 30px;
  }
  h1 {
    font-size: clamp(43px, 7vw, 58px);
  }
  .hero-scroll {
    left: 27px;
  }
  .hero-place {
    right: 27px;
  }
  .stories-intro {
    grid-template-columns: 1fr;
    padding-block: 64px 56px;
    gap: 0;
  }
  .stories-intro h2 {
    font-size: 44px;
  }
  .stories-intro-note {
    margin-top: 25px;
    max-width: none;
  }
  .stories-intro-note > p:first-child br {
    display: none;
  }
  .tools-list {
    margin-top: 18px;
  }
  .story-layout,
  .story-reverse .story-layout {
    display: flex;
    flex-direction: column;
    gap: 26px;
    min-height: 0;
    padding: 0 36px 55px;
  }
  .story-art {
    order: -1;
    height: clamp(280px, 55vw, 440px);
    aspect-ratio: auto;
  }
  .story-art img {
    object-position: right center;
  }
  .story-reverse .story-art img {
    object-position: left center;
  }
  .story-copy,
  .story-reverse .story-copy,
  .story-card-wrap,
  .story-reverse .story-card-wrap {
    align-self: center;
    width: 100%;
    max-width: 560px;
  }
  .story-chapter {
    margin-bottom: 17px;
  }
  .story-copy h2 {
    font-size: 46px;
  }
  .story-description {
    margin-top: 17px;
    font-size: 15px;
  }
  .story-paper {
    padding: 23px;
    font-size: 12px;
  }
  .story-paper-heading {
    font-size: 12px;
  }
  .story-footnote {
    text-align: right;
  }
  .story-preferences .story-layout {
    min-height: 0;
  }
  .demo-section {
    padding-block: 60px 45px;
  }
  .section-heading {
    gap: 28px;
  }
  .section-heading > p {
    font-size: 12px;
  }
  .demo-workspace {
    grid-template-columns: 1fr;
  }
  .conversation {
    padding: 25px 30px;
    border-right: 0;
    border-bottom: 1px solid #e3e0d7;
  }
  .channel-tabs {
    margin-inline: auto;
  }
  #conversation-panel {
    max-width: 450px;
    margin-inline: auto;
  }
  .conversation-heading {
    margin-top: 20px;
  }
  .assistant-message {
    min-height: 90px;
  }
  .calendar-preview {
    padding: 27px 28px 0;
  }
  .calendar-grid {
    grid-template-rows: 60px repeat(5, 47px);
  }
  .calendar-rules {
    background-size:
      100% 47px,
      20% 100%;
  }
  .calendar-footnote {
    padding-block: 18px;
  }
  .calendar-week-label {
    margin-block: 22px;
  }
  .demo-step {
    padding: 18px 15px;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
  }
  .demo-step strong {
    font-size: 23px;
  }
  .demo-step small {
    display: none;
  }
  .evening-layout {
    min-height: 850px;
    padding: 290px 24px 74px;
  }
  .evening-copy {
    padding: 30px;
  }
  .evening-panorama {
    object-position: 61% center;
  }
  .evening-place {
    right: 26px;
    bottom: 28px;
  }
  .footer-bar {
    padding: 24px 28px;
  }
  .footer-brand {
    flex-basis: 100%;
  }
  .footer-bar nav {
    gap: 5px 22px;
  }
  .footer-copyright {
    margin-left: 0;
  }
}
@media (max-width: 560px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .site-header {
    gap: 9px;
  }
  .header-actions {
    gap: 8px;
  }
  .login-link {
    font-size: 11px;
  }
  .login-link .icon {
    display: none;
  }
  .hero {
    min-height: max(800px, 100svh);
  }
  .hero-panorama {
    object-position: 54% center;
  }
  .hero-intro {
    padding: 280px 14px 72px;
  }
  .hero-copy {
    padding: 25px 22px 23px;
    border-radius: 18px;
    background: rgb(13 35 37 / 0.88);
  }
  .hero-copy .eyebrow {
    font-size: 8px;
    letter-spacing: 0.16em;
    margin-bottom: 16px;
  }
  h1 {
    font-size: clamp(35px, 9.6vw, 51px);
    line-height: 1.03;
  }
  .hero-description {
    font-size: 13px;
    line-height: 1.7;
    margin-top: 16px;
  }
  .hero-call {
    margin-top: 19px;
  }
  .call-action-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .call-description {
    font-size: 11px;
  }
  .call-description br {
    display: none;
  }
  .call-fineprint {
    font-size: 9px;
  }
  .call-availability {
    font-size: 11px;
  }
  .call-preview-link {
    padding-inline: 14px;
    width: 100%;
    font-size: 12px;
    justify-content: space-between;
  }
  .call-button {
    width: 100%;
  }
  .hero-scroll {
    left: 20px;
    bottom: 19px;
    font-size: 9px;
  }
  .hero-place {
    right: 20px;
    bottom: 23px;
    max-width: 85px;
    text-align: right;
    font-size: 8px;
    line-height: 1.6;
  }
  .stories-intro {
    padding-block: 48px;
  }
  .stories-intro > .eyebrow {
    font-size: 8px;
    letter-spacing: 0.12em;
    margin-bottom: 15px;
  }
  .stories-intro h2 {
    font-size: 36px;
  }
  .stories-intro-note {
    margin-top: 22px;
  }
  .stories-intro-note > p:first-child {
    font-size: 12px;
  }
  .tools-list {
    gap: 13px;
    font-size: 9px;
  }
  .tools-list .icon {
    width: 14px;
    height: 14px;
  }
  .stories-caption {
    font-size: 9px;
  }
  .story-layout,
  .story-reverse .story-layout {
    padding: 0 20px 40px;
    gap: 24px;
  }
  .story-art {
    width: calc(100% + 40px);
    height: clamp(250px, 70vw, 350px);
    margin-inline: -20px;
  }
  .story-copy,
  .story-reverse .story-copy {
    padding: 20px 18px;
    border-radius: 15px;
  }
  .story-copy h2 {
    font-size: 40px;
  }
  .story-chapter {
    font-size: 8px;
    gap: 10px;
  }
  .story-description {
    font-size: 13px;
    line-height: 1.8;
  }
  .story-paper {
    padding: 18px;
    font-size: 11px;
    border-radius: 14px;
  }
  .story-paper-heading {
    font-size: 10px;
    gap: 7px;
  }
  .story-bubble {
    padding: 10px 11px;
    max-width: 96%;
  }
  .story-result {
    font-size: 9px;
  }
  .story-channel-label {
    font-size: 7px;
  }
  .agenda-days {
    font-size: 6px;
  }
  .agenda-block {
    padding: 9px 5px;
    font-size: 8px;
  }
  .agenda-block small {
    font-size: 6px;
  }
  .preference-approval {
    font-size: 10px;
  }
  .demo-section {
    padding-block: 47px 36px;
  }
  .section-heading {
    display: block;
    margin-bottom: 25px;
  }
  .section-heading h2 {
    font-size: 42px;
  }
  .section-number {
    margin-bottom: 15px;
    font-size: 9px;
  }
  .section-heading > p {
    margin-top: 20px;
    font-size: 13px;
    max-width: 280px;
  }
  .section-heading > p br {
    display: none;
  }
  .booking-demo {
    border-radius: 14px;
  }
  .demo-toolbar {
    padding: 14px 17px;
    font-size: 7px;
    min-height: 42px;
  }
  .demo-toolbar > span:last-child {
    display: none;
  }
  .conversation {
    padding: 19px 16px 22px;
  }
  .channel-tabs button {
    padding: 7px 12px;
    font-size: 11px;
  }
  .conversation-heading strong {
    font-size: 25px;
  }
  .chat-message {
    padding: 12px 13px;
  }
  .chat-message p {
    font-size: 12px;
  }
  .customer-message {
    margin-left: 19px;
  }
  .assistant-message {
    margin-right: 8px;
    min-height: 112px;
  }
  .slot-picker {
    gap: 7px;
  }
  .slot-picker button {
    padding-inline: 10px;
    gap: 7px;
  }
  .demo-confirm {
    min-height: 48px;
    padding: 11px 13px;
    font-size: 11px;
  }
  .calendar-preview {
    padding: 22px 14px 0;
  }
  .calendar-heading > div {
    font-size: 10px;
    gap: 7px;
  }
  .calendar-heading .icon {
    width: 16px;
    height: 16px;
  }
  .calendar-sync {
    font-size: 6px;
  }
  .calendar-week-label {
    margin-block: 21px;
  }
  .calendar-week-label strong {
    font-size: 23px;
    max-width: 220px;
  }
  .calendar-week-label > span {
    display: none;
  }
  .calendar-grid {
    grid-template-columns: 29px repeat(5, minmax(0, 1fr));
    grid-template-rows: 55px repeat(5, 48px);
  }
  .calendar-rules {
    background-size:
      100% 48px,
      20% 100%;
  }
  .day-heading {
    font-size: 6px;
  }
  .day-heading span {
    font-size: 20px;
    width: 26px;
    height: 26px;
  }
  .calendar-time {
    font-size: 6px;
  }
  .calendar-event {
    font-size: 6px;
    padding: 7px 2px;
    margin-inline: 1px;
    border-left-width: 1px;
  }
  .calendar-event span {
    font-size: 5px;
    letter-spacing: -0.2px;
  }
  .demo-appointment {
    margin-right: -16px;
    margin-left: 1px;
    padding: 10px 5px;
    border-left-width: 2px;
  }
  .demo-appointment strong {
    font-size: 8px;
  }
  .appointment-state {
    font-size: 5px;
  }
  #appointment-time {
    font-size: 6px;
  }
  .calendar-footnote {
    font-size: 8px;
    min-height: 65px;
  }
  .demo-step {
    padding: 15px 8px;
    gap: 6px;
  }
  .demo-step > span {
    font-size: 8px;
  }
  .demo-step strong {
    font-size: 18px;
  }
  .demo-disclaimer {
    margin-top: 15px;
    font-size: 9px;
  }
  .evening-layout {
    min-height: 820px;
    padding: 280px 14px 65px;
  }
  .evening-copy {
    padding: 27px 22px 23px;
    border-radius: 18px;
  }
  .evening-copy .eyebrow {
    font-size: 8px;
    letter-spacing: 0.14em;
    margin-bottom: 17px;
  }
  .evening-copy h2 {
    font-size: clamp(40px, 10.7vw, 55px);
  }
  .evening-copy > p:not(.eyebrow, .invitation-note) {
    font-size: 12px;
    line-height: 1.8;
    margin-top: 18px;
  }
  .evening-actions {
    margin-top: 19px;
  }
  .evening-button {
    font-size: 13px;
  }
  .evening-access {
    font-size: 12px;
  }
  .invitation-note {
    font-size: 9px;
  }
  .evening-place {
    font-size: 8px;
    right: 21px;
    bottom: 24px;
  }
  .footer-bar {
    padding: 24px 20px 20px;
    gap: 15px 22px;
  }
  .footer-brand p {
    font-size: 9px;
  }
  .footer-bar nav {
    width: 100%;
    gap: 2px 18px;
    font-size: 10px;
  }
  .footer-copyright {
    font-size: 9px;
  }
}
/* One frosted surface holds the explanation and example together. */
.story-scene .story-layout {
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding: 48px max(24px, calc((100vw - 1260px) / 2)) 60px;
}
.story-scene.story-reverse .story-layout {
  justify-content: flex-end;
}
.story-scene .story-art {
  grid-area: auto;
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  margin: 0;
  aspect-ratio: auto;
}
/* Wide layouts scale the panels with the viewport, like the artwork behind them, so browser
   zoom leaves them the same size on screen (see initPanelScale). Their type is fixed so the
   viewport units in the clamps above do not scale it twice. */
@media (min-width: 1101px) {
  .panel-scaled .story-panel,
  .panel-scaled .hero-copy,
  .panel-scaled .evening-copy {
    zoom: var(--panel-scale, 1);
  }
  .panel-scaled .hero-copy {
    width: 625px;
  }
  .panel-scaled h1,
  .panel-scaled .evening-copy h2 {
    font-size: 58px;
  }
  .panel-scaled .story-scene .story-copy h2 {
    font-size: 43px;
  }
  .panel-scaled .story-scene .story-layout {
    padding: calc(48px * var(--panel-scale))
      max(calc(40px * var(--panel-scale)), calc((100vw - 1440px * var(--panel-scale)) / 2))
      calc(60px * var(--panel-scale));
  }
}
.story-panel {
  width: min(480px, 100%);
  flex: none;
  padding: 24px;
  border: 1px solid rgb(255 253 247 / 0.85);
  border-radius: 24px;
  background: rgb(255 252 245 / 0.78);
  -webkit-backdrop-filter: blur(24px) saturate(0.9);
  backdrop-filter: blur(24px) saturate(0.9);
  box-shadow: 0 16px 48px rgb(70 55 30 / 0.12);
}
.story-scene .story-copy,
.story-scene .story-card-wrap {
  width: 100%;
  max-width: none;
  margin: 0;
}
.story-scene .story-copy {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.story-scene .story-copy h2 {
  font-size: clamp(32px, 3vw, 46px);
}
.story-scene .story-chapter {
  margin-bottom: 14px;
}
.story-scene .story-description {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.65;
}
.story-scene .story-card-wrap {
  margin-top: 20px;
}
.story-panel .story-paper {
  padding: 16px;
  box-shadow: none;
  background: rgb(255 252 245 / 0.5);
}
.story-panel .story-bubble {
  padding: 9px 11px;
}
@media (max-width: 800px) {
  .story-scene .story-layout,
  .story-scene.story-reverse .story-layout {
    justify-content: center;
  }
  .story-panel {
    padding: 20px;
  }
}
@media (max-width: 480px) {
  .story-scene .story-layout {
    padding: 32px 16px 56px;
  }
  .story-panel {
    padding: 18px;
    border-radius: 20px;
  }
  .story-scene .story-copy h2 {
    font-size: 32px;
  }
}
@media print {
  .hero-copy,
  .evening-copy {
    opacity: 1 !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .js-reveal [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .button:hover {
    transform: none;
  }
}
@media print {
  body {
    color: #173336;
    background: white;
  }
  .site-header,
  .hero-scroll,
  .hero-panorama,
  .evening-panorama,
  .story-art,
  .call-button,
  .demo-confirm,
  .slot-picker,
  .demo-steps,
  .back-top {
    display: none;
  }
  .hero,
  .story-layout,
  .story-reverse .story-layout,
  .evening-layout {
    min-height: 0;
    padding: 30px 0;
  }
  .hero-copy,
  .evening-copy,
  .story-paper,
  .footer-bar,
  .story-scene,
  .story-evening {
    color: #173336;
    background: white;
    box-shadow: none;
  }
  .story-layout,
  .story-reverse .story-layout {
    display: block;
  }
  .story-card-wrap {
    margin-top: 25px;
  }
  .hero-description,
  .story-description,
  .story-bubble,
  .evening-copy > p:not(.eyebrow),
  .stories-intro-note > p,
  .story-paper-heading {
    color: #173336;
  }
  .wrap {
    width: 100%;
  }
  .js-reveal [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* Boundary panel opacity follows scroll directly, without reveal-transition lag. */
.js-reveal .evening-copy[data-reveal],
.hero-copy {
  transition: none;
}

/* Extra scroll distance is spent inside the artwork before leaving each bookend. */
@media (prefers-reduced-motion: no-preference) {
  .boundary-scroll.is-boundary-pinned {
    height: 180svh;
  }
  .boundary-closing.is-boundary-pinned {
    height: 360svh;
  }
  .is-boundary-pinned > .hero,
  .is-boundary-pinned > .site-footer {
    position: sticky;
    top: 0;
    height: 100svh;
    min-height: 0;
  }
  .is-boundary-pinned .hero-intro {
    padding-top: 96px;
  }
  .is-boundary-pinned .evening-layout {
    min-height: calc(100svh - var(--footer-bar-height, 100px));
    padding-top: 72px;
    padding-bottom: 32px;
  }
  .is-boundary-pinned .evening-copy[data-reveal] {
    transform: none;
    transition: none;
  }
}

/* The final invitation rests over the water after the story has cleared. */
.evening-layout {
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
}
.water-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 24px;
  padding: 22px 28px;
  max-width: 100%;
  border: 1px solid rgb(255 255 255 / 0.55);
  border-radius: 18px;
  color: #fff9e9;
  background: rgb(6 28 49 / 0.65);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 40px rgb(0 12 30 / 0.2);
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.2;
  text-align: center;
}
.water-call .icon {
  flex: none;
  width: 24px;
  height: 24px;
}
.water-call:hover {
  background: rgb(6 28 49 / 0.85);
}
@media (prefers-reduced-motion: no-preference) {
  .is-boundary-pinned .water-call {
    position: absolute;
    bottom: clamp(72px, 17svh, 180px);
    left: 50%;
    width: max-content;
    max-width: calc(100% - 40px);
    margin: 0;
    translate: -50% 0;
  }
}
