/* Dýsi landing: cream paper, near-black type, the logo's blue, one dusk-blue image field that bleeds off the right edge. */
:root {
  --paper: #f9f6ed;
  --ink: #1d1e20;
  --quiet: #8b8a86;
  --soft: #5f605f;
  --line: rgba(29, 30, 32, 0.14);
  --sun: #e3ae57;
  --navy: #2c527a;
  --col: clamp(20px, 13.5vw, 200px);
  --bar: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --glide: cubic-bezier(0.65, 0, 0.35, 1);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Geist", ui-sans-serif, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}
h2[tabindex="-1"]:focus {
  outline: none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.col {
  padding-left: var(--col);
  padding-right: 24px;
}

/* ── The bar: the logo and the way around, pinned to the top; it steps aside as you read down and returns as you scroll up. */
main {
  padding-top: var(--bar);
}
section[id] {
  scroll-margin-top: calc(var(--bar) + 14px);
}
.bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: var(--bar);
  display: flex;
  align-items: center;
  gap: clamp(40px, 7vw, 120px);
  padding-left: var(--col);
  padding-right: max(12px, env(safe-area-inset-right));
  transition: transform 0.6s var(--ease);
}
.bar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--paper);
  box-shadow: 0 1px 0 var(--line);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.bar.is-scrolled::before {
  opacity: 1;
}
.bar.is-hidden {
  transform: translateY(-101%);
}
.menu-open .bar::before {
  opacity: 0;
}
.brand {
  display: flex;
  align-items: center;
  min-height: 44px;
}
.brand img {
  width: 62px;
  height: auto;
}
.links {
  position: relative;
  display: flex;
  gap: clamp(20px, 2.4vw, 38px);
}
.links a {
  padding: 8px 0;
  color: var(--quiet);
  font-size: 15.5px;
  transition: color 0.3s var(--ease);
}
.links a:hover,
.links a.is-on {
  color: var(--ink);
}
/* The square under the section you're reading: one pixel of the sun. */
.links-dot {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 5px;
  height: 5px;
  background: var(--sun);
  opacity: 0;
  transition: transform 0.7s var(--glide), opacity 0.4s var(--ease);
}
.burger {
  position: relative;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.burger i {
  position: absolute;
  left: 11px;
  right: 11px;
  top: 50%;
  height: 1.5px;
  margin-top: -0.75px;
  background: var(--ink);
  transition: transform 0.55s var(--ease);
}
.burger i:first-child {
  transform: translateY(-4px);
}
.burger i:last-child {
  transform: translateY(4px);
}
.burger[aria-expanded="true"] i:first-child {
  transform: rotate(45deg);
}
.burger[aria-expanded="true"] i:last-child {
  transform: rotate(-45deg);
}
@media (max-width: 1179px) {
  .links {
    display: none;
  }
}

/* The menu: the whole story as one list, drawn down like a blind. */
.menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  padding: calc(var(--bar) + clamp(12px, 4vh, 48px)) max(24px, env(safe-area-inset-right)) calc(28px + env(safe-area-inset-bottom)) var(--col);
  background: var(--paper);
  overflow-y: auto;
  overscroll-behavior: contain;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path 0.75s var(--glide), visibility 0s linear 0.75s;
}
.menu.is-open {
  clip-path: inset(0 0 0 0);
  visibility: visible;
  transition: clip-path 0.75s var(--glide), visibility 0s;
}
.menu.no-anim,
.menu.no-anim * {
  transition: none !important;
}
.menu ol {
  list-style: none;
  max-width: 760px;
  margin: 0;
  padding: 0;
}
.menu li {
  overflow: hidden;
  border-top: 1px solid var(--line);
}
.menu li[hidden] {
  display: none;
}
.menu li a {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 18px;
  padding: clamp(9px, 1.6vh, 14px) 0;
  transform: translateY(105%);
  transition: transform 0.9s var(--ease);
}
.menu .t {
  font-size: clamp(21px, 2.4vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.022em;
  color: var(--quiet);
  transition: color 0.35s var(--ease);
}
.menu .d {
  font-size: 14px;
  color: var(--quiet);
}
.menu a.is-on .t,
.menu a:hover .t {
  color: var(--ink);
}
.menu a.is-on .t::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 12px;
  vertical-align: 0.3em;
  background: var(--sun);
}
.menu-foot {
  margin: 26px 0 0;
  color: var(--quiet);
  font-size: 14.5px;
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}
.menu-foot a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-left: 12px;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.menu.is-open li a {
  transform: none;
  transition-delay: calc(0.16s + var(--i) * 35ms);
}
.menu.is-open .menu-foot {
  opacity: 1;
  transition-delay: 0.5s;
}
html.menu-open {
  overflow: hidden;
}

/* The 8-bit wipe between sections, and the squares any picture is assembled from. */
.wipe {
  position: fixed;
  inset: 0;
  z-index: 90;
  width: 100%;
  height: 100%;
  display: none;
  image-rendering: pixelated;
}
.wipe.is-on {
  display: block;
}
.px-canvas {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  pointer-events: none;
  image-rendering: pixelated;
}
/* A picture waiting to be reached is a block of the same dusk the squares are made of. */
.px-pending {
  background: linear-gradient(180deg, #3f5571 0%, #566c86 22%, #8796a8 48%, #b4bcc3 72%, #cdd0ce 100%) !important;
}
.px-pending img {
  opacity: 0 !important;
}
.inline-link {
  display: inline;
  padding: 10px 0;
  margin-left: 4px;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

/* ── Hero */
.hero-title {
  margin: clamp(64px, 11vh, 140px) 0 clamp(34px, 5vh, 56px);
  font-weight: 400;
  font-size: clamp(28px, 3.1vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.028em;
}
@media (min-width: 861px) {
  .line {
    white-space: nowrap;
  }
}
.line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}
.line > span {
  display: block;
  transform: translateY(105%);
  transition: transform 1.15s var(--ease);
}
.line + .line > span {
  transition-delay: 0.1s;
}
.is-in .line > span {
  transform: none;
}

.stage {
  position: relative;
  margin-left: var(--col);
  height: clamp(380px, 62vh, 700px);
  overflow: hidden;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.5s var(--glide) 0.3s;
}
.is-in .stage,
.stage.is-seen {
  clip-path: inset(0 0 0 0);
}
/* Dusk over the Aegean: the slate of the evening sky, a pale band of light low on the left, and grain. */
.stage-sky {
  position: absolute;
  inset: -6%;
  background:
    radial-gradient(60% 34% at 12% 70%, rgba(214, 220, 224, 0.75), rgba(214, 220, 224, 0) 70%),
    radial-gradient(70% 45% at 80% 105%, rgba(222, 211, 212, 0.55), rgba(222, 211, 212, 0) 70%),
    linear-gradient(180deg, #3f5571 0%, #566c86 22%, #8796a8 48%, #b4bcc3 72%, #cdd0ce 100%);
  filter: saturate(0.92);
}
.stage-sky::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grain);
  opacity: 0.9;
}
@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(-2%, 1.5%, 0) scale(1.04);
  }
}

/* The view resolves out of the mosaic: feathered on every edge so it grows out of the sky. */
.mosaic {
  position: absolute;
  left: 38%;
  top: 9%;
  width: min(58%, 860px);
  aspect-ratio: 1200 / 630;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent), linear-gradient(180deg, transparent, #000 11%, #000 89%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent), linear-gradient(180deg, transparent, #000 11%, #000 89%, transparent);
  mask-composite: intersect;
}
.stage-caption {
  position: absolute;
  left: 28px;
  bottom: 22px;
  margin: 0;
  max-width: 34ch;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.86);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.stage.is-resolved .stage-caption {
  opacity: 1;
  transform: none;
}

.prompt {
  position: absolute;
  left: 41%;
  top: 60%;
  width: min(560px, 54%);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 10px 10px 20px;
  background: rgba(253, 251, 246, 0.96);
  border-radius: 10px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 12px 40px rgba(29, 39, 51, 0.12);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), box-shadow 0.4s var(--ease);
}
.stage.is-resolved .prompt,
.stage-small .prompt {
  opacity: 1;
  transform: none;
}
.prompt:focus-within {
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 18px 50px rgba(29, 39, 51, 0.2);
}
.prompt input {
  flex: 1;
  min-width: 0;
  height: 42px;
  border: 0;
  background: transparent;
  outline: none;
  font-size: 19px;
  letter-spacing: -0.012em;
}
.prompt input::placeholder {
  color: #7d7f84;
  opacity: 1;
}
.prompt button {
  flex-shrink: 0;
  height: 38px;
  padding: 0 15px;
  border: 0;
  border-radius: 6px;
  background: #18191b;
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s;
}
.prompt button:hover {
  background: #2c2e31;
}
.prompt button:active {
  transform: scale(0.97);
}

/* ── Sections */
.block {
  margin-top: clamp(130px, 19vh, 230px);
}
h2 {
  margin: 0 0 22px;
  font-weight: 400;
  font-size: clamp(26px, 2.5vw, 36px);
  line-height: 1.12;
  letter-spacing: -0.024em;
}
.copy p,
.lede {
  max-width: 60ch;
  margin: 0 0 14px;
  color: var(--soft);
}

/* How it knows: the day's arc, the sun riding it as you read. */
.how {
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(0, 600px);
  column-gap: clamp(40px, 7vw, 110px);
  align-items: end;
}
.arc {
  margin: 0;
}
.arc svg {
  width: 100%;
  height: auto;
  overflow: visible;
}
.arc-horizon {
  stroke: var(--line);
  stroke-width: 1;
}
.arc-path {
  fill: none;
  stroke: rgba(29, 30, 32, 0.32);
  stroke-width: 1.4;
  stroke-dasharray: 1.5 7;
  stroke-linecap: round;
}
.arc-sun {
  fill: var(--sun);
  filter: drop-shadow(0 0 10px rgba(227, 174, 87, 0.75));
}
.arc figcaption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 10px;
  font-size: 13px;
  color: var(--quiet);
}
.arc output {
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

/* Copy on the column, the picture bleeding off the right edge. */
.split {
  display: grid;
  grid-template-columns: minmax(0, calc(var(--col) + 400px)) minmax(0, 1fr);
  column-gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
@media (min-width: 861px) {
  .split-copy {
    padding-right: 0;
  }
}
.shot {
  position: relative;
  margin: 0;
  aspect-ratio: 1440 / 900;
  overflow: hidden;
  background: #ece7db;
}
.shot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
  transition: opacity 0.8s var(--ease), transform 1.4s var(--ease);
}
.shot img.is-leaving {
  opacity: 0;
}
.shot img.is-arriving {
  opacity: 0;
  transform: scale(1.015);
}

.steps,
.tabs {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}
.steps li + li,
.tabs li + li {
  margin-top: 4px;
}
.steps button,
.tabs button {
  display: grid;
  grid-template-columns: 28px 1fr;
  width: 100%;
  padding: 14px 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: none;
  text-align: left;
  cursor: pointer;
}
.tabs button {
  grid-template-columns: 1fr;
}
.steps .n {
  grid-row: span 2;
  color: var(--quiet);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  padding-top: 2px;
}
.steps .t,
.tabs .t {
  color: var(--quiet);
  transition: color 0.4s var(--ease);
}
.steps .d,
.tabs .d {
  display: block;
  max-height: 0;
  overflow: hidden;
  color: var(--soft);
  font-size: 15px;
  line-height: 1.5;
  opacity: 0;
  transition: max-height 0.6s var(--ease), opacity 0.5s var(--ease), margin 0.6s var(--ease);
}
.steps button[aria-pressed="true"] .t,
.tabs button[aria-pressed="true"] .t {
  color: var(--ink);
}
@media (hover: hover) {
  .steps button:hover .t,
  .tabs button:hover .t {
    color: var(--ink);
  }
}
.steps button[aria-pressed="true"] .d,
.tabs button[aria-pressed="true"] .d {
  max-height: 8em;
  opacity: 1;
  margin-top: 6px;
}

/* Owners */
.owners .lede {
  max-width: 64ch;
}
.desks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
  max-width: 980px;
  margin: 48px 0 clamp(56px, 8vh, 88px);
}
.desks dt {
  margin-bottom: 6px;
}
.desks dd {
  margin: 0;
  color: var(--soft);
  font-size: 15px;
  line-height: 1.5;
}

/* A day: one line from breakfast to lock-up, the sun gliding to the hour you pick. */
.timeline {
  position: relative;
  max-width: 980px;
  height: 64px;
  margin: 44px 0 0;
  border-top: 1px solid var(--line);
}
.timeline button {
  position: absolute;
  top: 14px;
  transform: translateX(-50%);
  padding: 0 4px;
  border: 0;
  background: none;
  color: var(--quiet);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  white-space: nowrap;
  text-align: center;
  transition: color 0.4s var(--ease);
}
.timeline button:first-of-type {
  transform: none;
  text-align: left;
}
.timeline button:last-of-type {
  transform: translateX(-100%);
  text-align: right;
}
.timeline button span {
  display: block;
  font-size: 12.5px;
}
.timeline button[aria-pressed="true"] {
  color: var(--ink);
}
@media (hover: hover) {
  .timeline button:hover {
    color: var(--ink);
  }
}
.timeline-sun {
  position: absolute;
  top: -6px;
  left: 0;
  width: 11px;
  height: 11px;
  margin-left: -5.5px;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 0 4px rgba(227, 174, 87, 0.16), 0 0 18px 4px rgba(227, 174, 87, 0.5);
  transition: left 1.2s var(--glide);
}
.timeline-line {
  max-width: 60ch;
  min-height: 3.2em;
  margin: 26px 0 0;
  color: var(--soft);
  transition: opacity 0.35s var(--ease), transform 0.5s var(--ease);
}
.timeline-line.is-changing {
  opacity: 0;
  transform: translateY(4px);
}
.shot-wide {
  margin-left: var(--col);
  margin-top: 36px;
}

/* The end: the same question, once more. */
.end h2 {
  margin-bottom: 36px;
}
.stage-small {
  height: clamp(260px, 42vh, 420px);
}
.stage-small .prompt {
  left: 8%;
  bottom: auto;
  top: 50%;
  transform: translateY(-50%);
}

.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 40px;
  padding-top: clamp(90px, 14vh, 140px);
  padding-bottom: 48px;
  font-size: 13px;
  color: var(--quiet);
}
.foot p {
  margin: 0;
  flex: 1;
  min-width: 240px;
}
.foot nav {
  display: flex;
  gap: 24px;
}
.foot nav a {
  color: var(--ink);
}
.foot nav a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ── Phones */
@media (max-width: 860px) {
  :root {
    --col: 24px;
    --bar: 60px;
  }
  .brand img {
    width: 52px;
  }
  .how,
  .split {
    grid-template-columns: 1fr;
  }
  .arc {
    margin-top: 40px;
  }
  .split .shot {
    margin: 32px 0 0 var(--col);
  }
  .desks {
    grid-template-columns: 1fr;
  }
  .hero-title {
    margin-top: 56px;
  }
  .stage {
    height: min(54vh, 460px);
  }
  .mosaic {
    left: -18%;
    top: 4%;
    width: 150%;
  }
  .prompt,
  .stage-small .prompt {
    left: 14px;
    right: var(--col);
    width: auto;
    bottom: 16px;
    top: auto;
    transform: none;
  }
  .prompt input {
    font-size: 16px;
  }
  .stage-caption {
    display: none;
  }
  .timeline button span {
    display: none;
  }
}

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

/* ── Touch: every control at least 44px to the finger. */
@media (pointer: coarse), (max-width: 860px) {
  .prompt {
    padding: 8px 8px 8px 16px;
  }
  .prompt input {
    height: 44px;
  }
  .prompt button {
    height: 44px;
    padding: 0 18px;
  }
  .timeline {
    height: 76px;
  }
  .timeline button {
    top: 2px;
    min-width: 48px;
    padding: 12px 4px;
  }
}
/* Phones: the five hours sit evenly spaced (true-to-time spacing collides at this width). */
@media (max-width: 860px) {
  .timeline {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    height: auto;
    padding-top: 6px;
  }
  .timeline button,
  .timeline button:first-of-type,
  .timeline button:last-of-type {
    position: static;
    left: auto !important;
    transform: none;
    text-align: center;
  }
  .timeline-line {
    margin-top: 14px;
  }
  .foot nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .foot {
    padding-bottom: calc(32px + env(safe-area-inset-bottom));
  }
}

/* ── A phone on its side: the hero fits the short screen, desktop-like, with the prompt in reach. */
@media (max-width: 960px) and (orientation: landscape) and (max-height: 520px) {
  :root {
    --bar: 52px;
  }
  .hero-title {
    margin: 22px 0 18px;
    font-size: 26px;
  }
  .line {
    white-space: nowrap;
  }
  .stage {
    height: calc(100svh - 172px);
    min-height: 220px;
  }
  .mosaic {
    left: 30%;
    top: 6%;
    width: 64%;
  }
  .prompt {
    left: 34%;
    right: 16px;
    width: auto;
    top: auto;
    bottom: 12px;
  }
}

/* ══ Competition storytelling ══════════════════════════════════════════ */

/* The one line the brief asks for, right under the picture. */
.oneliner {
  max-width: calc(var(--col) + 62ch);
  margin: 28px 0 0;
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.55;
  color: var(--ink);
}
.fineprint {
  max-width: 70ch;
  margin: 22px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--quiet);
}
.lede {
  margin-bottom: 0;
}

/* The client: a heading and its context on the left, the quirks as a quiet two-column list. */
.client {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 620px);
  column-gap: clamp(40px, 7vw, 110px);
}
.client .fineprint {
  grid-column: 2;
}
.quirks {
  margin: 0;
}
.quirks div {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.quirks div:first-child {
  border-top: 0;
  padding-top: 4px;
}
.quirks dt {
  margin-bottom: 4px;
}
.quirks dd {
  margin: 0;
  max-width: 58ch;
  color: var(--soft);
  font-size: 15px;
  line-height: 1.55;
}

/* Before and after: the same request, two threads side by side. */
.ba-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 64px);
  max-width: 1080px;
  margin-top: 34px;
}
.thread {
  margin: 0;
}
.thread figcaption {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.thread ol {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.thread li {
  max-width: 88%;
  padding: 9px 13px;
  border-radius: 14px;
  font-size: 14.5px;
  line-height: 1.45;
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.thread time {
  display: block;
  margin-bottom: 2px;
  font-size: 11.5px;
  color: var(--quiet);
  font-variant-numeric: tabular-nums;
}
.thread .g {
  align-self: flex-end;
  background: #ece7db;
  border-bottom-right-radius: 4px;
}
.thread .o {
  align-self: flex-start;
  background: #fffdf8;
  border-bottom-left-radius: 4px;
}
.thread .d {
  align-self: flex-start;
  background: #ffffff;
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 6px 18px rgba(29, 39, 51, 0.06);
}
.thread .sys {
  align-self: center;
  max-width: 92%;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(29, 30, 32, 0.06);
  color: var(--soft);
  font-size: 13px;
  text-align: center;
}
.thread .via {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-style: italic;
  color: var(--quiet);
}
.thread .attach {
  display: block;
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--navy);
}
.thread.is-before li {
  color: #4a4b4c;
}
.tally {
  transition: opacity 0.6s var(--ease);
  margin: 18px 0 0;
  font-size: 14.5px;
  color: var(--soft);
}
.tally strong {
  font-weight: 500;
  color: var(--ink);
}
/* Messages arrive one by one the first time the section is reached: slowly before, quickly after. */
.ba-grid.is-waiting li {
  opacity: 0;
  transform: translateY(8px);
}

/* The follow-through ledger: a night's receipt, right-aligned minutes. */
.ledger {
  list-style: none;
  max-width: 880px;
  margin: 30px 0 0;
  padding: 0;
  font-variant-numeric: tabular-nums;
}
.ledger li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: baseline;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}
.ledger .q {
  font-size: 22px;
  letter-spacing: -0.02em;
}
.ledger .w {
  color: var(--soft);
}
.ledger .m {
  color: var(--quiet);
  font-size: 15px;
  text-align: right;
}
.ledger .total {
  border-top: 1px solid var(--ink);
}
.ledger .total .w,
.ledger .total .m {
  color: var(--ink);
}
.ledger .total .m {
  font-size: 17px;
}

/* Demo: the video, then the doors into the build. */
.video {
  position: relative;
  max-width: 1080px;
  aspect-ratio: 16 / 9;
  margin-top: 28px;
  background: #1d1e20;
  overflow: hidden;
}
.video iframe,
.video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.try {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  max-width: 1080px;
  margin-top: 28px;
}
.try-link {
  display: block;
  padding: 16px 0 4px;
  border-top: 1px solid var(--ink);
  transition: border-color 0.3s var(--ease);
}
.try-link[hidden] {
  display: none;
}
.try-link .t {
  display: block;
  font-size: 19px;
  letter-spacing: -0.015em;
}
.try-link .d {
  display: block;
  margin-top: 4px;
  color: var(--soft);
  font-size: 15px;
}
@media (hover: hover) {
  .try-link:hover .t {
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-thickness: 1px;
  }
}

/* Built in Lovable */
.built {
  list-style: none;
  max-width: 760px;
  margin: 26px 0 0;
  padding: 0;
}
.built li {
  padding: 13px 0;
  border-top: 1px solid var(--line);
  color: var(--soft);
}
.built .t {
  color: var(--ink);
}
.process-video a,
.share a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.process-video {
  margin: 18px 0 0;
}
.share {
  margin: 22px 0 0;
  color: var(--quiet);
  font-size: 15px;
}
.share a {
  margin-left: 10px;
}

@media (max-width: 860px) {
  .client,
  .ba-grid,
  .try {
    grid-template-columns: 1fr;
  }
  .client .fineprint {
    grid-column: auto;
  }
  .quirks {
    margin-top: 26px;
  }
  .thread li {
    max-width: 94%;
  }
  .ledger li {
    grid-template-columns: 30px minmax(0, 1fr) auto;
    gap: 12px;
    font-size: 15px;
  }
  .ledger .m {
    font-size: 13px;
    max-width: 9em;
  }
  .ledger .q {
    font-size: 19px;
  }
  .share a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    min-width: 44px;
    padding: 0 6px;
  }
  .try-link {
    min-height: 44px;
  }
}

/* ══ Agents, connectors, the live build ═════════════════════════════════ */

/* Agent workflows: the trigger, then the calls on a rail, a gold square walking down it as each one returns. */
.agents {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 620px);
  column-gap: clamp(40px, 7vw, 110px);
  align-items: start;
}
.agents .fineprint {
  grid-column: 2;
}
.flow-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
  margin-top: 26px;
}
.flow-tabs button {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--quiet);
  cursor: pointer;
  transition: color 0.35s var(--ease);
}
.flow-tabs button[aria-pressed="true"] {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
}
@media (hover: hover) {
  .flow-tabs button:hover {
    color: var(--ink);
  }
}
.flow {
  grid-column: 2;
  grid-row: 1;
}
.flow[hidden] {
  display: none;
}
.flow-trigger {
  margin: 0 0 22px;
  padding: 12px 15px;
  max-width: 54ch;
  background: #ece7db;
  border-radius: 14px;
  border-bottom-left-radius: 4px;
  font-size: 15.5px;
  line-height: 1.45;
}
.flow-trigger .who {
  display: block;
  margin-bottom: 3px;
  font-size: 13px;
  color: var(--soft);
}
.flow-trigger .tr {
  display: block;
  margin-top: 4px;
  font-size: 13.5px;
  color: var(--soft);
}
.flow-steps {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}
.flow-steps::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 10px;
  bottom: 10px;
  border-left: 1px dashed rgba(29, 30, 32, 0.24);
}
.flow-steps li {
  position: relative;
  padding: 9px 0 12px 30px;
  transition: opacity 0.5s var(--ease);
}
.flow-steps li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 16px;
  width: 7px;
  height: 7px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px rgba(29, 30, 32, 0.4);
  transition: background 0.3s, box-shadow 0.3s;
}
.flow-steps li.is-done::before {
  background: var(--ink);
  box-shadow: none;
}
.flow-steps .tool {
  display: block;
  font-size: 15px;
  letter-spacing: 0;
  color: var(--ink);
  font-feature-settings: "ss01";
}
.flow-steps .did {
  display: block;
  max-height: 7em;
  overflow: hidden;
  margin-top: 2px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--soft);
  transition: max-height 0.6s var(--ease), margin 0.6s var(--ease), opacity 0.6s var(--ease) 0.08s, transform 0.6s var(--ease) 0.08s;
}
.flow-cursor {
  position: absolute;
  left: 0;
  top: 0;
  width: 9px;
  height: 9px;
  z-index: 1;
  background: var(--sun);
  box-shadow: 0 0 12px 2px rgba(227, 174, 87, 0.55);
  opacity: 0;
  transition: transform 0.55s var(--glide), opacity 0.3s;
}
.flow.is-armed .flow-cursor {
  opacity: 1;
}
.flow.is-armed li:not(.is-now):not(.is-done) {
  opacity: 0.32;
}
.flow.is-armed li:not(.is-done) .did {
  opacity: 0.25;
}
/* Thinking: three pixels taking turns. */
.flow-steps li.is-now .tool::after {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-left: 10px;
  vertical-align: middle;
  animation: think 0.66s steps(1) infinite;
}
@keyframes think {
  0% {
    background: var(--ink);
    box-shadow: 7px 0 0 rgba(29, 30, 32, 0.18), 14px 0 0 rgba(29, 30, 32, 0.18);
  }
  33% {
    background: rgba(29, 30, 32, 0.18);
    box-shadow: 7px 0 0 var(--ink), 14px 0 0 rgba(29, 30, 32, 0.18);
  }
  66% {
    background: rgba(29, 30, 32, 0.18);
    box-shadow: 7px 0 0 rgba(29, 30, 32, 0.18), 14px 0 0 var(--ink);
  }
}
.flow-result {
  margin: 8px 0 0 30px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.flow.is-armed .flow-result:not(.is-shown) {
  opacity: 0;
  transform: translateY(4px);
}

/* Connectors: each one drawn in nine-by-nine pixels, which pop in the first time you reach them. */
.connectors .lede {
  max-width: 62ch;
}
.plugs-group {
  margin: 44px 0 0;
  font-weight: 400;
  font-size: 15px;
  color: var(--quiet);
}
.plugs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 clamp(20px, 3vw, 40px);
  max-width: 1180px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.plugs li {
  display: flex;
  flex-direction: column;
  padding: 18px 0 6px;
  border-top: 1px solid var(--line);
}
.glyph {
  display: block;
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  color: var(--ink);
}
.glyph svg {
  display: block;
  width: 100%;
  height: 100%;
  shape-rendering: crispEdges;
}
.glyph rect {
  fill: currentColor;
  transition-property: opacity;
  transition-duration: 0s;
}
.plugs-armed .glyph rect {
  opacity: 0;
}
.plugs-armed.is-seen .glyph rect {
  opacity: 1;
}
[data-state="live"] .glyph {
  color: var(--navy);
}
.plugs .t {
  font-size: 17px;
  letter-spacing: -0.012em;
}
.plugs .d {
  margin-top: 4px;
  color: var(--soft);
  font-size: 14.5px;
  line-height: 1.5;
}
.plugs .s {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 13px;
  color: var(--quiet);
}
.plugs .s::before {
  content: "";
  width: 7px;
  height: 7px;
  flex-shrink: 0;
}
[data-state="live"] .s::before {
  background: var(--sun);
}
[data-state="connector"] .s::before {
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
[data-state="api"] .s::before {
  border: 1px dashed var(--ink);
}
/* A tool the agent already has, waiting on one click to reach the real service: half gold. */
[data-state="tool"] .s::before {
  background: linear-gradient(90deg, var(--sun) 50%, transparent 50%);
  box-shadow: inset 0 0 0 1.5px var(--sun);
}
[data-state="tool"] .glyph {
  color: var(--navy);
}

/* Step inside: the live build in a frame, loaded only when asked for. */
.inside .lede {
  max-width: 62ch;
}
.inside-ctl {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 26px;
  margin-top: 26px;
}
.seg {
  position: relative;
  display: inline-flex;
  padding: 3px;
  border-radius: 9px;
  background: rgba(29, 30, 32, 0.07);
}
.seg button {
  position: relative;
  z-index: 1;
  min-width: 88px;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 7px;
  background: none;
  color: var(--soft);
  cursor: pointer;
  transition: color 0.35s var(--ease);
}
.seg button[aria-pressed="true"] {
  color: var(--ink);
}
.seg-thumb {
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 0;
  width: 0;
  border-radius: 7px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(29, 39, 51, 0.12), 0 4px 14px rgba(29, 39, 51, 0.06);
  transition: transform 0.55s var(--ease), width 0.55s var(--ease);
}
.inside-open {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}
.frame {
  margin: 26px 24px 0 var(--col);
  overflow: hidden;
  border-radius: 12px;
  background: #fffdf8;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 30px 80px rgba(29, 39, 51, 0.16);
}
.frame-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 38px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--soft);
}
.frame-live {
  width: 7px;
  height: 7px;
  background: var(--sun);
  animation: live 2.4s steps(2) infinite;
}
@keyframes live {
  50% {
    opacity: 0.35;
  }
}
.frame-body {
  position: relative;
  height: min(82vh, 860px);
  background: #ece7db;
}
.frame-poster {
  cursor: pointer;
}
.frame-poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.frame-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 50% at 50% 50%, rgba(29, 39, 51, 0.28), rgba(29, 39, 51, 0.06));
}
.frame-enter {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 8px;
  background: #18191b;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transform: translate(-50%, -50%);
  box-shadow: 0 14px 40px rgba(18, 25, 33, 0.3);
  transition: background 0.25s, transform 0.3s var(--ease);
}
.frame-enter:hover {
  background: #2c2e31;
}
.frame-enter:active {
  transform: translate(-50%, -50%) scale(0.97);
}
.frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #ece7db;
}
.frame.is-live .frame-poster,
.frame.is-live .frame-enter,
.frame.is-loading .frame-enter {
  visibility: hidden;
}
.frame-px {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  display: none;
  pointer-events: none;
  image-rendering: pixelated;
}
.frame-px.is-on {
  display: block;
}
.inside .try {
  margin-top: 30px;
}

/* The closing sky: a second seat, the Ledge at sunset, resolving when you reach it. */
.stage-small .mosaic {
  left: 44%;
  top: 10%;
  width: min(52%, 700px);
}

@media (max-width: 860px) {
  .agents {
    grid-template-columns: 1fr;
  }
  .flow,
  .agents .fineprint {
    grid-column: auto;
    grid-row: auto;
  }
  .flow {
    margin-top: 24px;
  }
  .flow-tabs {
    gap: 0 20px;
    margin-top: 18px;
  }
  .plugs {
    grid-template-columns: 1fr;
  }
  .plugs li {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 14px;
    padding: 16px 0 14px;
  }
  .plugs .glyph {
    grid-row: span 3;
    width: 32px;
    height: 32px;
    margin: 2px 0 0;
  }
  .plugs .s {
    margin-top: 8px;
  }
  .plugs-group {
    margin-top: 34px;
  }
  .frame {
    margin: 22px 16px 0;
    border-radius: 12px;
  }
  .frame-body {
    height: 72vh;
    height: 72svh;
  }
  .stage-small .mosaic {
    left: -18%;
    top: 4%;
    width: 150%;
  }
  .menu .d {
    flex-basis: 100%;
    font-size: 13px;
  }
}
@media (min-width: 861px) and (max-width: 1100px) {
  .plugs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ══ Try it: every section answers back ═══════════════════════════════════ */

/* Shared controls: a quiet text button, a solid one, pill pickers, and a slider whose thumb is the sun. */
.ghost {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
  cursor: pointer;
}
.ghost[hidden] {
  display: none;
}
.solid {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: #18191b;
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s var(--ease), opacity 0.3s;
}
.solid:hover {
  background: #2c2e31;
}
.solid:active {
  transform: scale(0.97);
}
.solid:disabled {
  opacity: 0.4;
  cursor: default;
}
.pick {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.pick-l {
  min-width: 56px;
  margin-right: 4px;
  font-size: 14px;
  color: var(--quiet);
}
.pick button {
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--soft);
  font-size: 15px;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.pick button[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}
@media (hover: hover) {
  .pick button:hover {
    border-color: rgba(29, 30, 32, 0.4);
    color: var(--ink);
  }
  .pick button[aria-pressed="true"]:hover {
    color: #fff;
  }
}
.range {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  height: 44px;
  margin: 0;
  background: transparent;
  cursor: pointer;
  touch-action: pan-y;
}
.range::-webkit-slider-runnable-track {
  height: 1px;
  background: rgba(29, 30, 32, 0.28);
}
.range::-moz-range-track {
  height: 1px;
  background: rgba(29, 30, 32, 0.28);
}
.range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  border: 0;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 0 5px rgba(227, 174, 87, 0.18), 0 0 16px 3px rgba(227, 174, 87, 0.45);
}
.range::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border: 0;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 0 5px rgba(227, 174, 87, 0.18), 0 0 16px 3px rgba(227, 174, 87, 0.45);
}
.range:focus-visible {
  outline-offset: 0;
}
.clock {
  font-variant-numeric: tabular-nums;
  color: var(--quiet);
}

/* The quirks you can move: the season's sunsets, and a wind that closes terraces. */
.quirks .inst {
  margin-top: 14px;
  max-width: 440px;
}
.inst[hidden] {
  display: none;
}
.spark {
  display: block;
  width: 100%;
  height: 56px;
  overflow: visible;
}
.spark-line {
  fill: none;
  stroke: var(--navy);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}
.spark-now {
  stroke: rgba(29, 30, 32, 0.18);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.spark-dot {
  fill: var(--sun);
}
.inst .range {
  margin-top: -6px;
}
.inst-read {
  margin: 0;
  color: var(--soft);
  font-size: 15px;
}
.inst-read output {
  margin-right: 6px;
  color: var(--ink);
  font-size: 22px;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.terraces {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.terraces li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border-radius: 999px;
  background: #ece7db;
  font-size: 14px;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.terraces li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--navy);
  transition: background 0.4s var(--ease);
}
.terraces li.is-closed {
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--quiet);
  text-decoration: line-through;
}
.terraces li.is-closed::before {
  background: #c25b3f;
}

/* Before and after: the heading with its replay, and each thread's clock. */
.sec-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 24px;
  max-width: 1080px;
}
.sec-head h2 {
  margin-bottom: 0;
}
.thread figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.thread .clock {
  font-size: 15px;
}
.ba-grid {
  margin-top: 26px;
}

/* Book a table, right here: pickers, the engine's answer, the hold, the postcard. */
.split .book {
  grid-column: 1 / -1;
}
#try {
  scroll-margin-top: calc(var(--bar) + 14px);
}
.book[hidden] {
  display: none;
}
.book {
  max-width: calc(var(--col) + 1080px);
  margin-top: clamp(56px, 8vh, 88px);
}
.book-title {
  margin: 0;
  font-weight: 400;
  font-size: clamp(22px, 2vw, 28px);
  letter-spacing: -0.02em;
}
.book-note {
  max-width: 64ch;
  margin: 8px 0 0;
  color: var(--soft);
  font-size: 15px;
}
.book-note q {
  color: var(--ink);
}
.book-ask {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 22px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.book-trace {
  min-height: 1.5em;
  margin: 16px 0 0;
  font-size: 14.5px;
  color: var(--soft);
}
.book-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 32px);
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.opt {
  display: flex;
  flex-direction: column;
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}
.opt-view {
  position: relative;
  margin: 0;
  aspect-ratio: 1200 / 630;
  overflow: hidden;
  border-radius: 8px;
  background: #ece7db;
}
.opt-view img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.opt-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-top: 12px;
}
.opt-name {
  font-size: 19px;
  letter-spacing: -0.015em;
}
.opt-stars {
  color: var(--sun);
  font-size: 13px;
  letter-spacing: 2px;
  white-space: nowrap;
}
.opt-stars span {
  color: rgba(29, 30, 32, 0.18);
}
.opt-when {
  margin: 2px 0 0;
  color: var(--ink);
  font-size: 14.5px;
  font-variant-numeric: tabular-nums;
}
.opt-why {
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
  color: var(--soft);
  font-size: 14px;
  line-height: 1.5;
}
.opt-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-top: auto;
  padding-top: 14px;
}
.opt-dep {
  color: var(--quiet);
  font-size: 13.5px;
}
.book-empty {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--soft);
}
.book-hold[hidden],
.book-list[hidden],
.book-trace[hidden] {
  display: none;
}
.book-hold {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
  margin-top: 18px;
  animation: rise 0.6s var(--ease) both;
}
.postcard {
  position: relative;
  margin: 0;
  aspect-ratio: 1200 / 630;
  overflow: hidden;
  border-radius: 10px;
  background: #ece7db;
  box-shadow: 0 24px 60px rgba(29, 39, 51, 0.16);
}
.postcard img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.postcard figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 40px 18px 14px;
  background: linear-gradient(180deg, rgba(18, 25, 33, 0), rgba(18, 25, 33, 0.62));
  color: #fff;
  font-size: 15px;
  line-height: 1.4;
}
.postcard figcaption strong {
  display: block;
  font-weight: 500;
  font-size: 19px;
}
.hold-side h4 {
  margin: 0;
  font-weight: 400;
  font-size: 21px;
  letter-spacing: -0.015em;
}
.hold-side p {
  margin: 6px 0 0;
  color: var(--soft);
  font-size: 15px;
}
.hold-timer {
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.hold-form {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}
.hold-form input {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
  font-size: 16px;
}
.hold-form input:focus {
  outline: none;
  border-color: var(--navy);
}
.hold-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
  margin-top: 10px;
}

/* How it knows: drag the sun, watch 88 seats light up from above. */
.arc-ctl {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 6px;
}
.arc-ctl[hidden],
.seatmap[hidden] {
  display: none;
}
.arc-ctl .range {
  flex: 1;
}
.seatmap {
  grid-column: 1 / -1;
  margin: clamp(36px, 6vh, 64px) 0 0;
}
.map {
  display: block;
  width: 100%;
  max-width: 1180px;
  height: auto;
  overflow: visible;
}
.map .sea {
  fill: rgba(44, 82, 122, 0.07);
}
.map .area {
  fill: rgba(29, 30, 32, 0.035);
}
.map .area-l {
  fill: var(--quiet);
  font-size: 1.05px;
  letter-spacing: 0.02em;
}
.map .seat {
  fill: rgba(29, 30, 32, 0.16);
  transition: fill 0.35s var(--ease);
}
.map .seat.is-sun {
  fill: var(--sun);
}
.map .tbl {
  cursor: pointer;
}
.map .tbl-hit {
  fill: transparent;
}
.map .tbl.is-on .tbl-ring {
  stroke: var(--ink);
}
.map .tbl-ring {
  fill: none;
  stroke: transparent;
  stroke-width: 0.12;
  transition: stroke 0.3s;
}
.map .sun-dir {
  stroke: var(--sun);
  stroke-width: 0.12;
  stroke-dasharray: 0.3 0.4;
  opacity: 0.8;
}
.seatmap figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 24px;
  max-width: 1180px;
  margin-top: 12px;
  font-size: 14.5px;
  color: var(--soft);
}
.seatmap figcaption [data-map-count] {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

/* The follow-through: play the evening, and be the one tap. */
.eve[hidden] {
  display: none;
}
.eve {
  max-width: 880px;
  margin-top: 28px;
}
.eve-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.eve-clock {
  font-size: 26px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.eve-feed {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 6px;
  height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  list-style: none;
  transition: height 0.6s var(--ease), margin 0.6s var(--ease);
}
.eve.is-on .eve-feed {
  height: 248px;
  margin-top: 16px;
  -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent);
  mask-image: linear-gradient(180deg, #000 72%, transparent);
}
.eve-feed li {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 12px;
  padding: 8px 12px;
  border-radius: 8px;
  background: #fffdf8;
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--soft);
  animation: rise 0.45s var(--ease) both;
}
.eve-feed time {
  color: var(--quiet);
  font-variant-numeric: tabular-nums;
}
.eve-feed .is-owner {
  background: #18191b;
  color: #fff;
}
.eve-feed .is-owner time {
  color: rgba(255, 255, 255, 0.6);
}
.eve-feed .decide {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.eve-feed .decide button {
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 7px;
  background: var(--sun);
  color: #18191b;
  font-size: 15px;
  cursor: pointer;
}
.eve-feed .decide button + button {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}
.ledger .q {
  font-variant-numeric: tabular-nums;
  transition: color 0.3s;
}
.ledger li.is-ticking .q {
  color: var(--navy);
}

/* The house agent, in Greek: pick the guest's language, follow the conversation through. */
.voice[hidden] {
  display: none;
}
.voice {
  max-width: 980px;
  margin: 0 0 clamp(56px, 8vh, 88px);
  padding: clamp(18px, 2.4vw, 28px);
  border-radius: 12px;
  background: #fffdf8;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 18px 50px rgba(29, 39, 51, 0.08);
}
.voice-l {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--quiet);
}
.voice-run {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.voice-run li {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  gap: 4px 16px;
  align-items: start;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.voice-run li.is-wait {
  opacity: 0;
  transform: translateY(4px);
}
.voice-run .who {
  font-size: 13.5px;
  color: var(--quiet);
  padding-top: 2px;
}
.voice-run .say {
  font-size: 16px;
  line-height: 1.45;
}
.voice-run .say small {
  display: block;
  margin-top: 2px;
  font-size: 13.5px;
  color: var(--quiet);
}
.voice-run .is-el .say {
  color: var(--navy);
}
.listen {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: none;
  color: var(--ink);
  font-size: 13.5px;
  cursor: pointer;
  white-space: nowrap;
}
.listen::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 7px solid currentColor;
  border-top: 4.5px solid transparent;
  border-bottom: 4.5px solid transparent;
}
.listen.is-playing::before {
  width: 7px;
  height: 9px;
  border: 0;
  background: linear-gradient(90deg, currentColor 35%, transparent 35% 65%, currentColor 65%);
}
.voice .pick button {
  min-height: 38px;
}

/* Agent workflows: run it again. */
.flow-again {
  margin-top: 10px;
}

/* Connectors: tap one to see what the agent does with it. */
.plugs li {
  position: relative;
}
.plug-try {
  align-self: flex-start;
  margin-top: 8px;
  min-height: 40px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  cursor: pointer;
}
.plug-ex {
  margin: 4px 0 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fffdf8;
  color: var(--soft);
  font-size: 14px;
  line-height: 1.5;
  animation: rise 0.45s var(--ease) both;
}
.plug-ex[hidden] {
  display: none;
}
.plugs li.is-on .s::before {
  background: var(--sun);
  box-shadow: none;
  border-color: transparent;
}
.plugs li.is-on .glyph {
  color: var(--navy);
}

@media (max-width: 860px) {
  .book-list {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .book-ask {
    flex-direction: column;
  }
  .book-hold {
    grid-template-columns: 1fr;
  }
  .seatmap {
    margin-left: calc(-1 * var(--col) + 8px);
    margin-right: -16px;
  }
  .seatmap figcaption {
    padding: 0 16px 0 calc(var(--col) - 8px);
  }
  .voice-run li {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .voice-run .who {
    grid-column: 1 / -1;
  }
  .plugs .plug-try,
  .plugs .plug-ex {
    grid-column: 2;
  }
  .eve.is-on .eve-feed {
    height: 300px;
  }
  .eve-clock {
    font-size: 22px;
  }
  .thread figcaption {
    flex-wrap: wrap;
  }
}
@media (pointer: coarse), (max-width: 860px) {
  .pick button,
  .voice .pick button,
  .plug-try,
  .listen,
  .eve-feed .decide button {
    min-height: 44px;
  }
  .pick button {
    min-width: 44px;
  }
  .inline-link {
    padding: 11px 0;
  }
}

/* Six terraces, at sunset: the generated photograph, its film, and the 3D view it came from. */
.real-ctl {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 28px;
  margin-top: 24px;
}
.real-frame {
  --split: 50%;
  position: relative;
  margin: 22px 24px 0 var(--col);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
  background: #ece7db;
  box-shadow: 0 30px 80px rgba(29, 39, 51, 0.16);
}
.real-still,
.real-film,
.real-3d img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.real-film {
  z-index: 1;
  opacity: 0;
  transition: opacity 0.8s var(--ease);
}
.real-film.is-on {
  opacity: 1;
}
.real-3d {
  position: absolute;
  inset: 0;
  z-index: 3;
  clip-path: inset(0 calc(100% - var(--split)) 0 0);
}
.real-3d[hidden],
.real-split[hidden] {
  display: none;
}
.real-3d::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split);
  width: 2px;
  margin-left: -1px;
  background: #fff;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
}
.real-split {
  -webkit-appearance: none;
  appearance: none;
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  margin: 0;
  background: transparent;
  cursor: ew-resize;
  touch-action: pan-y;
}
.real-split::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 44px;
  height: 44px;
  opacity: 0;
}
.real-split::-moz-range-thumb {
  width: 44px;
  height: 44px;
  border: 0;
  opacity: 0;
}
/* The handle, drawn on the frame so it sits in the middle of the divider. */
.real-frame.is-compare::after {
  content: "‹ ›";
  position: absolute;
  left: var(--split);
  top: 50%;
  z-index: 4;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
  color: var(--ink);
  font-size: 18px;
  line-height: 38px;
  text-align: center;
  letter-spacing: 1px;
  pointer-events: none;
}
.real-split::-webkit-slider-runnable-track {
  height: 100%;
  background: transparent;
}
.real-sound {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 5;
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: rgba(18, 25, 33, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 14px;
  cursor: pointer;
}
.real-sound[hidden] {
  display: none;
}
.real-cap {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 5;
  margin: 0;
  color: #fff;
  font-size: 14px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}
.real .fineprint {
  margin-top: 14px;
}
@media (max-width: 860px) {
  .real-frame {
    margin: 20px 16px 0;
  }
  .real-ctl {
    flex-direction: column;
  }
  .real-sound {
    min-height: 44px;
  }
}

/* ══ The reels: terrace films looping behind the prompt; click one to sit there in 3D ═══════════════════ */
.reel-v,
.reel-px {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.reel-v {
  z-index: 1;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s var(--ease);
}
.reel-v.is-on {
  opacity: 1;
}
.reel-px {
  z-index: 2;
  image-rendering: pixelated;
  pointer-events: none;
  transition: opacity 0.5s var(--ease);
}
.reel-px.is-gone {
  opacity: 0;
}
.reel-hit {
  position: absolute;
  inset: 0;
  z-index: 3;
  padding: 0;
  border: 0;
  background: linear-gradient(0deg, rgba(18, 25, 33, 0.45), rgba(18, 25, 33, 0) 38%);
  color: #fff;
  text-align: left;
  cursor: pointer;
}
.reel-hit:focus-visible {
  outline-offset: -4px;
  outline-color: #fff;
}
.reel-cap {
  position: absolute;
  left: 28px;
  bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: calc(100% - 56px);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.stage.is-resolved .reel-cap,
.stage-small.is-seen .reel-cap {
  opacity: 1;
  transform: none;
}
.stage .reel-cap.is-changing {
  opacity: 0;
  transform: translateY(4px);
}
.reel-where {
  font-size: 16px;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}
.reel-when {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.86);
}
.reel-go {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  color: #fff;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
@media (hover: hover) {
  .reel-hit:hover .reel-go {
    background: #fff;
    color: var(--ink);
  }
}
.stage-reel .prompt {
  z-index: 4;
}

/* Step inside, on its own line. */
.step-in {
  margin: 18px 0 0;
}
.step-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fffdf8;
  color: var(--ink);
  font-size: 15.5px;
  cursor: pointer;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.step-btn:hover {
  border-color: rgba(29, 30, 32, 0.45);
  box-shadow: 0 8px 24px rgba(29, 39, 51, 0.08);
}

/* The live build in a window: a browser-like bar to drag by, and three quiet buttons. */
.lw {
  position: fixed;
  z-index: 70;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 12px;
  background: #fffdf8;
  box-shadow: 0 0 0 1px rgba(29, 30, 32, 0.08), 0 30px 90px rgba(29, 39, 51, 0.3);
}
.lw[hidden] {
  display: none;
}
.lw.is-opening {
  animation: lw-in 0.55s var(--ease) both;
}
.lw.is-closing {
  animation: lw-out 0.3s var(--glide) both;
}
.lw.is-morph {
  animation: lw-morph 0.35s var(--ease) both;
}
@keyframes lw-in {
  from {
    opacity: 0;
    transform: scale(0.55);
  }
}
@keyframes lw-out {
  to {
    opacity: 0;
    transform: scale(0.94) translateY(10px);
  }
}
@keyframes lw-morph {
  from {
    opacity: 0.7;
    transform: scale(0.985);
  }
}
.lw-bar {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 6px 0 14px;
  border-bottom: 1px solid var(--line);
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}
.lw.is-dragging .lw-bar {
  cursor: grabbing;
}
.lw.is-dragging iframe {
  pointer-events: none;
}
.lw-url {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  font-size: 13px;
  color: var(--soft);
  white-space: nowrap;
  text-overflow: ellipsis;
}
.lw-btns {
  display: flex;
  gap: 2px;
}
.lw-btns button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: none;
  color: var(--soft);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.lw-btns button:hover {
  background: rgba(29, 30, 32, 0.07);
  color: var(--ink);
}
.lw-btns svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
}
.lw-body {
  position: relative;
  flex: 1;
  background: #ece7db;
}
.lw-body iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.lw.is-min .lw-body {
  display: none;
}
.lw.is-min .lw-bar {
  border-bottom: 0;
  cursor: pointer;
}
.lw.is-sheet {
  border-radius: 0;
}
.lw.is-sheet [data-lw-max] {
  display: none;
}
@media (pointer: coarse) {
  .lw-btns button {
    width: 44px;
    height: 44px;
  }
  .lw-bar {
    height: 48px;
  }
}

@media (max-width: 860px) {
  .reel-cap {
    top: 14px;
    bottom: auto;
    left: 16px;
    max-width: calc(100% - 32px);
  }
  .reel-hit {
    background: linear-gradient(180deg, rgba(18, 25, 33, 0.45), rgba(18, 25, 33, 0) 42%);
  }
  .reel-where {
    font-size: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .lw.is-opening,
  .lw.is-closing,
  .lw.is-morph {
    animation: none;
  }
}

/* ══ The opening: the Rocks at sunset, full screen; at the clink, the logo writes itself; then the page ═══════ */
html.intro-on {
  overflow: hidden;
}
.intro {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  background: #10141a;
}
.intro[hidden] {
  display: none;
}
.intro-v {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease), filter 1s var(--ease);
}
.intro::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 20, 0);
  transition: background 1.2s var(--ease);
  pointer-events: none;
}
.intro.is-logo::after {
  background: rgba(10, 14, 20, 0.3);
}
.intro-logo {
  position: relative;
  z-index: 2;
  width: min(58vw, 520px);
  color: #fff;
  filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.35));
  pointer-events: none;
}
.intro-logo svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.intro-logo path {
  fill: currentColor;
  fill-opacity: 0;
  stroke: currentColor;
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.intro.is-logo .intro-logo path {
  animation: logo-draw 1.2s var(--glide) forwards, logo-ink 0.7s ease forwards;
  animation-delay: var(--d, 0s), calc(var(--d, 0s) + 0.8s);
}
@keyframes logo-draw {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes logo-ink {
  to {
    fill-opacity: 1;
    stroke-opacity: 0;
  }
}
.intro.is-leaving {
  opacity: 0;
  transition: opacity 0.9s var(--ease);
}
.intro.is-leaving .intro-v {
  transform: scale(1.05);
}
.intro-skip,
.intro-sound {
  position: absolute;
  z-index: 3;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: rgba(18, 25, 33, 0.38);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 14.5px;
  cursor: pointer;
}
.intro-skip {
  top: calc(16px + env(safe-area-inset-top));
  right: 16px;
}
.intro-sound {
  bottom: calc(28px + env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
}
.intro-sound[hidden] {
  display: none;
}

/* ══ The floor: the book, live — who's booked, seated, in the sun, moving; and what the book sets off ═══════ */
.eve {
  max-width: 1180px;
}
.eve-bar {
  flex-wrap: wrap;
  gap: 12px 20px;
}
.eve-bar .pick {
  flex: 1;
}
.floor {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr);
  gap: clamp(18px, 2.4vw, 32px);
  align-items: start;
  margin-top: 18px;
}
.floor-map {
  margin: 0;
  padding: 14px 14px 10px;
  border-radius: 12px;
  background: #fffdf8;
}
.floor .map {
  max-width: none;
}
.floor .map .seat {
  fill: rgba(29, 30, 32, 0.13);
  stroke: transparent;
  stroke-width: 0.13;
  transition: fill 0.45s var(--ease), stroke 0.45s var(--ease);
}
.floor .map .seat.is-free-sun {
  fill: rgba(227, 174, 87, 0.3);
}
.floor .map .seat.is-booked {
  fill: #fffdf8;
  stroke: var(--navy);
}
.floor .map .seat.is-seated {
  fill: var(--navy);
}
.floor .map .seat.is-seated.is-sun {
  fill: var(--sun);
}
.map .tbl.is-closed .tbl-ring {
  stroke: #c25b3f;
  stroke-dasharray: 0.3 0.25;
  fill: rgba(194, 91, 63, 0.07);
}
.map .tbl.is-closed .tbl-hit {
  fill: rgba(194, 91, 63, 0.07);
}
.map .flyer {
  fill: var(--navy);
  stroke: #fffdf8;
  stroke-width: 0.1;
  transition: transform 1.1s var(--glide), opacity 0.4s var(--ease);
}
.map .pill rect {
  fill: var(--ink);
}
.map .pill.is-warn rect {
  fill: #c25b3f;
}
.map .pill.is-good rect {
  fill: var(--navy);
}
.map .pill text {
  fill: #fff;
  font-size: 0.95px;
  dominant-baseline: middle;
}
.map .pill {
  opacity: 0;
  animation: pill 3.2s var(--ease) forwards;
}
@keyframes pill {
  12%,
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.floor-key {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin-top: 8px;
  font-size: 13px;
  color: var(--soft);
}
.k {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.k::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(29, 30, 32, 0.13);
}
.k-booked::before {
  background: #fffdf8;
  box-shadow: inset 0 0 0 1.5px var(--navy);
}
.k-seated::before {
  background: var(--navy);
}
.k-sun::before {
  background: var(--sun);
}
.biz {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  margin: 0 0 14px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #fffdf8;
}
.biz dt {
  font-size: 13px;
  color: var(--quiet);
}
.biz dd {
  margin: 2px 0 0;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
  transition: color 0.4s var(--ease);
}
.biz dd.is-ticking {
  color: var(--navy);
}
.floor-side .eve-feed {
  height: 0;
}
.eve.is-on .floor-side .eve-feed {
  height: 300px;
  margin-top: 0;
}
.eve-feed .is-what {
  background: #ece7db;
  color: var(--ink);
}
.eve-feed .is-warn {
  box-shadow: inset 3px 0 0 #c25b3f;
}
@media (max-width: 860px) {
  .floor {
    grid-template-columns: 1fr;
  }
  .floor-map {
    margin: 0 -8px;
    padding: 10px 8px 8px;
  }
  .eve.is-on .floor-side .eve-feed {
    height: 280px;
  }
}

/* Booking cards: each table's photograph, its terrace's film on hover, and the film in the postcard. */
.opt-film {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 3;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(18, 25, 33, 0.5);
  color: #fff;
  font-size: 12.5px;
}
.opt-video,
.postcard-film {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.opt-video {
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.opt-video.is-on {
  opacity: 1;
}
.postcard-sound {
  top: 14px;
  bottom: auto;
}

/* Everything else Lovable connects: a category per row, its connectors as quiet chips. */
.more-note {
  max-width: 64ch;
  margin: 8px 0 0;
  color: var(--soft);
  font-size: 15px;
}
.more-plugs {
  max-width: 1180px;
  margin: 14px 0 0;
}
.more-plugs div {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 6px 20px;
  align-items: baseline;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.more-plugs dt {
  font-size: 14.5px;
  color: var(--ink);
}
.more-plugs dd {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
}
.more-plugs dd span {
  padding: 3px 10px;
  border-radius: 999px;
  background: #fffdf8;
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--soft);
  font-size: 13.5px;
}
@media (max-width: 860px) {
  .more-plugs div {
    grid-template-columns: 1fr;
  }
}

/* Eleni's three beats: the picture holds still while her story scrolls past it, and changes with each beat. */
.scrolly {
  display: grid;
  grid-template-columns: minmax(0, calc(var(--col) + 400px)) minmax(0, 1fr);
  column-gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.scrolly-steps {
  list-style: none;
  margin: 0;
  padding-right: 0;
}
.scrolly-steps li {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-content: center;
  min-height: 62vh;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  color: var(--quiet);
  cursor: pointer;
  transition: color 0.5s var(--ease);
}
.scrolly-steps li:first-child {
  min-height: 48vh;
  align-content: start;
}
.scrolly-steps .n {
  grid-row: span 2;
  padding-top: 4px;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.scrolly-steps h3 {
  margin: 0;
  font-weight: 400;
  font-size: clamp(21px, 1.9vw, 26px);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.scrolly-steps p {
  max-width: 44ch;
  margin: 10px 0 0;
  font-size: 16px;
  line-height: 1.55;
}
.scrolly-steps li[aria-current="step"] {
  color: var(--ink);
}
.scrolly-steps li[aria-current="step"] p {
  color: var(--soft);
}
.scrolly-shot {
  position: sticky;
  top: calc(var(--bar) + 6vh);
}
@media (max-width: 860px) {
  .scrolly {
    grid-template-columns: 1fr;
  }
  /* On a phone the picture rides at the top, under the bar, and the beats scroll beneath it. */
  .scrolly-shot {
    grid-row: 1;
    top: 10px;
    z-index: 2;
    margin: 0 0 0 var(--col);
    box-shadow: 0 10px 24px rgba(29, 39, 51, 0.12);
  }
  .scrolly-steps li,
  .scrolly-steps li:first-child {
    min-height: 56vh;
    align-content: center;
  }
  .scrolly-steps li:last-child {
    min-height: 40vh;
  }
}
