/* The Walk Tales landing page. The hero follows the user's reference (2026-11-11): a rounded dark card
   with a picture, a rolling clock, a phone with a notification beside it, and a timeline of four walks.
   Our own paintings, screens and words fill it. */

.landing { background: var(--paper); }

/* ---------- Hero ---------- */
.hero {
  --gap: clamp(10px, 1.4vw, 16px);
  --tint: rgba(29, 23, 34, 1);
  position: relative;
  margin: var(--gap);
  min-height: 660px;
  height: calc(100svh - 2 * var(--gap));
  max-height: 900px;
  border-radius: clamp(22px, 2.4vw, 32px);
  overflow: hidden;
  background: var(--night);
  color: #fff;
  isolation: isolate;
  display: flex;
  flex-direction: column;
}

/* The painting fills the right of the card; the words sit on the deep ink at the left. */
.hero-media {
  position: absolute; inset: 0 0 0 auto; width: 72%; z-index: -2;
  /* Its left edge melts into the ink, so there's no seam. */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 34%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 34%);
}
.hero-media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: var(--pos, 50% 50%);
  visibility: hidden;
}
.hero-media img.is-on { visibility: visible; }
/* While a walk shows, its painting drifts slowly closer, so the still picture feels alive. */
.hero-media img.is-on.is-drift {
  scale: 1.07; translate: -1.2% -0.8%;
  transition: scale 12s cubic-bezier(0.3, 0, 0.6, 1), translate 12s cubic-bezier(0.3, 0, 0.6, 1);
}
.hero-media img.is-entering {
  z-index: 2;
  animation: reveal 1.15s cubic-bezier(0.7, 0, 0.2, 1) both;
}
@keyframes reveal {
  from { clip-path: circle(0 at var(--cx, 70%) var(--cy, 50%)); }
  to { clip-path: circle(150% at var(--cx, 70%) var(--cy, 50%)); }
}
.hero-shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(29, 23, 34, 0.55) 0%, rgba(29, 23, 34, 0.45) 38%, rgba(29, 23, 34, 0.12) 58%, rgba(29, 23, 34, 0) 72%),
    linear-gradient(180deg, rgba(29, 23, 34, 0.55) 0%, rgba(29, 23, 34, 0) 22%, rgba(29, 23, 34, 0) 70%, rgba(29, 23, 34, 0.75) 100%);
}

/* Nav: the logo, a glass pill of links, and one button. */
.nav {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding: clamp(16px, 2.2vw, 26px) clamp(18px, 3.2vw, 44px) 0;
}
.logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.logo img { border-radius: 8px; }
.nav-pill {
  display: flex; gap: 2px; padding: 5px;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px; backdrop-filter: blur(18px);
}
.nav-pill a { padding: 7px 14px; border-radius: 999px; color: rgba(255, 255, 255, 0.86); text-decoration: none; font-weight: 500; font-size: 14px; }
.nav-pill a:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }
.nav-cta {
  justify-self: end; display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 16px 6px 6px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.18); backdrop-filter: blur(18px);
  color: #fff; text-decoration: none; font-weight: 600; font-size: 14px;
}
.nav-cta:hover { background: rgba(255, 255, 255, 0.18); }
.nav-cta-icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--orange); }
.nav-cta-icon svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.hero-inner {
  flex: 1; min-height: 0;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 24px;
  padding: 0 clamp(18px, 3.2vw, 44px);
}
.hero-copy { position: relative; max-width: 560px; padding: 8px 0; }

/* The clock, as each walk's time of day. Its digits roll. */
.clock { position: absolute; top: clamp(-120px, -12vh, -64px); left: 0; margin: 0; display: grid; gap: 4px; }
.clock-label { font: 500 11px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }
.clock-label.is-new { animation: label-in 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@keyframes label-in { from { opacity: 0; transform: translateY(7px); filter: blur(4px); } }
.clock-time { display: flex; font-weight: 400; font-size: clamp(40px, 4.4vw, 60px); line-height: 1; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.digit { position: relative; display: inline-block; height: 1em; overflow: hidden; }
.digit > span { display: block; }
.digit > span.roll-in { position: absolute; inset: 0; animation: roll-in 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.digit > span.roll-out { animation: roll-out 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@keyframes roll-in { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes roll-out { from { transform: translateY(0); } to { transform: translateY(-100%); } }

.tag {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(29, 23, 34, 0.45); border: 1px solid rgba(255, 255, 255, 0.16); backdrop-filter: blur(12px);
  font: 500 11.5px/1.2 var(--mono); letter-spacing: 0.02em; color: rgba(255, 255, 255, 0.86);
}
.tag-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange-soft); box-shadow: 0 0 0 3px rgba(255, 143, 87, 0.25); }
.hero h1 {
  margin: 0; font-weight: 800; font-size: clamp(44px, 6vw, 86px); line-height: 0.98; letter-spacing: -0.04em;
}
.hero h1 span { display: block; }
.hero h1 .accent { color: var(--orange-soft); font-weight: 500; letter-spacing: -0.035em; }
.lede { margin: 20px 0 26px; max-width: 470px; font-size: clamp(16px, 1.25vw, 18px); line-height: 1.55; color: rgba(255, 255, 255, 0.78); }

.buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.store {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px;
  padding: 8px 18px 8px 12px; border-radius: 14px;
  background: #0d0a10; border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff; text-decoration: none; font-weight: 700; font-size: 16px; line-height: 1.1;
}
.store small { display: block; font-weight: 500; font-size: 11px; color: rgba(255, 255, 255, 0.7); letter-spacing: 0.01em; }
.store-icon { width: 26px; height: 26px; flex: none; fill: #fff; }
.store-glass { background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(16px); }
a.store:hover { background: rgba(255, 255, 255, 0.18); }
.store-glass .store-icon, .store-light .store-icon { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.store-light { background: #fff; color: var(--night); border-color: transparent; }
.store-light small { color: #6e6574; }
a.store-light:hover { background: #fff3ec; }

.meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 18px 0 0; font-size: 13.5px; color: rgba(255, 255, 255, 0.7); }
.meta span + span::before { content: "·"; margin-right: 14px; color: var(--orange-soft); }

/* The phone, with the notification overlapping its left edge. */
.hero-device { position: relative; justify-self: center; transform: translateX(6%); }
.phone {
  --w: clamp(220px, 21vw, 290px);
  position: relative; width: var(--w); aspect-ratio: 9 / 19.2;
  padding: calc(var(--w) * 0.035);
  background: #0c0a0e; border-radius: calc(var(--w) * 0.16);
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.12), 0 40px 80px -24px rgba(0, 0, 0, 0.65), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.phone-island {
  position: absolute; z-index: 3; top: calc(var(--w) * 0.055); left: 50%; translate: -50% 0;
  width: 30%; height: calc(var(--w) * 0.075); border-radius: 999px; background: #000;
}
.screen {
  position: relative; height: 100%; overflow: hidden; display: flex; flex-direction: column;
  border-radius: calc(var(--w) * 0.125); background: #fbf2ef; color: #2f2738;
}
.status {
  flex: none; transition: background-color 0.5s ease, color 0.5s ease; display: flex; align-items: center; justify-content: space-between;
  height: calc(var(--w) * 0.12); padding: 0 calc(var(--w) * 0.085);
  font-weight: 700; font-size: calc(var(--w) * 0.047); font-variant-numeric: tabular-nums;
}
.status-icons svg { width: calc(var(--w) * 0.11); fill: currentColor; display: block; }
.screen > img { width: 100%; flex: 1; min-height: 0; object-fit: cover; object-position: top; display: block; }

/* The hero's island opens into a live bar: the story's cover, a word, and sound bars. */
.hero-device .phone-island {
  display: flex; align-items: center; gap: calc(var(--w) * 0.025); overflow: hidden;
  padding: 0 calc(var(--w) * 0.02);
  transition: width 0.55s cubic-bezier(0.3, 0.8, 0.2, 1), height 0.55s cubic-bezier(0.3, 0.8, 0.2, 1);
}
.isl-art, .isl-text, .isl-wave { opacity: 0; transition: opacity 0.2s ease; }
.isl-art { flex: none; width: calc(var(--w) * 0.06); height: calc(var(--w) * 0.06); border-radius: 50%; overflow: hidden; }
.isl-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.isl-text { flex: 1; min-width: 0; white-space: nowrap; color: #fff; font-weight: 600; font-size: calc(var(--w) * 0.042); }
.isl-wave { flex: none; display: flex; align-items: center; gap: calc(var(--w) * 0.008); height: calc(var(--w) * 0.045); padding-right: calc(var(--w) * 0.012); }
.isl-wave i { width: calc(var(--w) * 0.009); height: 30%; border-radius: 2px; background: var(--orange-soft); }
.phone-island.is-live { width: 82%; height: calc(var(--w) * 0.09); }
.phone-island.is-live .isl-art, .phone-island.is-live .isl-text, .phone-island.is-live .isl-wave { opacity: 1; transition-delay: 0.32s; }
.phone-island.is-live .isl-wave i { animation: sound 0.9s ease-in-out infinite alternate; }
.phone-island.is-live .isl-wave i:nth-child(2) { animation-delay: -0.3s; animation-duration: 0.7s; }
.phone-island.is-live .isl-wave i:nth-child(3) { animation-delay: -0.6s; animation-duration: 1s; }
.phone-island.is-live .isl-wave i:nth-child(4) { animation-delay: -0.15s; animation-duration: 0.8s; }
.phone-island.is-quiet .isl-wave i { animation: none; height: 30%; opacity: 0.6; }
@keyframes sound { from { height: 25%; } to { height: 100%; } }

/* The screens: a real screenshot each, as tall as the screen and centred, so a .change lines up with it. */
.screens { position: relative; flex: 1; overflow: hidden; }
.shot { position: absolute; top: 0; left: 50%; height: 100%; aspect-ratio: 640 / 1295; translate: -50% 0; visibility: hidden; }
.shot > img { width: 100%; height: 100%; display: block; }
.shot.is-on { visibility: visible; }
.shot.is-entering { z-index: 2; animation: slide-up 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.shot.is-leaving { animation: lift-away 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@keyframes slide-up { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes lift-away { from { transform: translateY(0); } to { transform: translateY(-28%); } }

/* The part of a screen that changes partway through a walk: an orange outline marks it, then the
   new state fades or slides in, as the reference's checklist ticks. */
/* --l, --t, --cw and --ch place it, in % of the screenshot; --r is its corner radius as a share of
   the phone's width (the phone's own --w). */
.change {
  position: absolute; left: calc(var(--l) * 1%); top: calc(var(--t) * 1%);
  width: calc(var(--cw) * 1%); height: calc(var(--ch) * 1%);
  overflow: hidden; border-radius: calc(var(--w) * var(--r, 0));
  box-shadow: 0 0 0 0 rgba(255, 143, 87, 0);
  transition: box-shadow 0.45s ease;
}
.change img {
  position: absolute; display: block; max-width: none;
  width: calc(100% * 100 / var(--cw)); height: calc(100% * 100 / var(--ch));
  left: calc(-100% * var(--l) / var(--cw)); top: calc(-100% * var(--t) / var(--ch));
}
.change .now { opacity: 0; }
.change[data-kind="slide"] { background: #fbf2ef; }
.change[data-kind="slide"] .now { opacity: 1; translate: calc(var(--cw) * 1% + 3%) 0; }
.shot.is-spot .change:not([data-quiet]) { box-shadow: 0 0 0 2px rgba(255, 143, 87, 0.95), 0 0 0 7px rgba(255, 143, 87, 0.18); }
.shot.is-changed .change .now { opacity: 1; transition: opacity 0.5s ease; }
.shot.is-changed .change[data-kind="slide"] .now { translate: 0 0; transition: translate 0.65s cubic-bezier(0.3, 0.8, 0.2, 1); }
.shot.is-changed .change[data-kind="slide"] .was { translate: calc(var(--cw) * -1% - 3%) 0; transition: translate 0.65s cubic-bezier(0.3, 0.8, 0.2, 1); }

.notes {
  position: absolute; z-index: 4; left: calc(var(--note-w, 280px) * -0.62); top: 36%;
  width: var(--note-w, 280px); height: 108px; padding: 6px; margin: -6px;
}
.note {
  position: absolute; inset: 6px; display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 14px; border-radius: 18px;
  background: rgba(255, 251, 250, 0.94); backdrop-filter: blur(20px);
  color: #2f2738; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.55);
  visibility: hidden; font-size: 12.5px; line-height: 1.4;
}
.note.is-on { visibility: visible; }
/* A new notification comes out of the phone's island, small, and flies to its place; the old one
   sinks away behind it. --fx and --fy, set by the script, are the island's offset from the note. */
.note.is-entering { z-index: 2; animation: from-island 0.85s 0.3s cubic-bezier(0.2, 0.75, 0.2, 1) both; }
.note.is-leaving { animation: drop-away 0.6s 0.25s ease both; }
@keyframes from-island {
  0% { transform: translate(var(--fx, 0px), var(--fy, 60px)) scale(0.12); opacity: 0; filter: blur(3px); }
  25% { opacity: 1; }
  100% { transform: none; opacity: 1; filter: none; }
}
@keyframes drop-away { to { transform: translateY(26px) scale(0.94); opacity: 0; filter: blur(2px); } }
.note-icon img { width: 28px; height: 28px; border-radius: 8px; display: block; }
.note-text small { display: block; font: 600 10px/1.2 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: #8a7f8f; }
.note-text strong { display: block; margin: 2px 0 2px; font-weight: 700; font-size: 14px; color: #2f2738; }
.note-text { color: #5d5463; }

/* The timeline: four walks, the current one filling in orange. */
.timeline {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; align-items: end; gap: 14px;
  padding: 18px clamp(18px, 3.2vw, 44px) clamp(18px, 2.4vw, 28px);
}
.timeline button {
  display: flex; flex-direction: column; align-items: flex-start; gap: 9px;
  padding: 0; border: 0; background: none; cursor: pointer; text-align: left;
  font: 500 11px/1.2 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55);
}
.timeline button:hover, .timeline button.is-on { color: #fff; }
.timeline .when { margin-right: 6px; }
.bar { position: relative; width: 100%; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, 0.22); overflow: hidden; }
.fill { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--orange-soft); }
.timeline button.is-on .fill { width: calc(var(--p, 0) * 100%); }
.timeline .pause {
  align-self: end; justify-self: end; display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.16);
}
.pause svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; }
.pause .i-play { display: none; fill: #fff; stroke: none; }
.pause[aria-pressed="true"] .i-pause { display: none; }
.pause[aria-pressed="true"] .i-play { display: block; }

/* ---------- The sheet under the hero ---------- */
.sheet {
  position: relative; z-index: 1;
  margin: calc(-1 * clamp(26px, 3vw, 40px)) auto 0;
  max-width: 1240px; padding: 14px clamp(16px, 4vw, 56px) 0;
  background: var(--paper); border-radius: 32px 32px 0 0;
}
.handle { display: block; width: 44px; height: 5px; margin: 0 auto 10px; border-radius: 999px; background: var(--line); }

.eyebrow { margin: 0 0 14px; font: 500 12px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); }
.sheet h2 { margin: 0 0 16px; font-weight: 800; font-size: clamp(32px, 4.4vw, 56px); line-height: 1.02; letter-spacing: -0.035em; }
.sheet h2 em { font-style: normal; color: var(--plum); }
.sheet h3 { margin: 0 0 6px; font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.lede-dark { margin: 0 0 8px; max-width: 620px; font-size: clamp(17px, 1.4vw, 19px); color: var(--ink-soft); }

section.intro, section.split, section.library, section.kids, section.plus, section.faq, section.cta { padding: clamp(56px, 8vw, 110px) 0 0; }
.intro { text-align: center; }
.intro .lede-dark { margin: 0 auto; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 44px; text-align: left; }
.fact { padding: 24px 22px; background: var(--surface); border-radius: 24px; box-shadow: var(--shadow); }
.fact p { margin: 0; color: var(--ink-soft); font-size: 15.5px; line-height: 1.5; }
.fact-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 14px; background: #fde8dc; }
.fact-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--orange); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* A phone beside words. */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 6vw, 90px); }
.split-tight { padding-top: 40px; }
.split-device { display: grid; place-items: center; padding: 28px 0; }
.split-device .phone, .kids-art .phone { --w: clamp(230px, 24vw, 300px); }
.phone-light { box-shadow: 0 0 0 1.5px rgba(0, 0, 0, 0.04), var(--shadow), 0 50px 90px -40px rgba(47, 39, 56, 0.45); }
.split-copy { max-width: 540px; }

.steps { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 22px; }
.steps li { display: grid; grid-template-columns: 52px 1fr; gap: 14px; }
.step-n { font: 500 13px/1 var(--mono); color: var(--orange); padding-top: 6px; border-top: 2px solid var(--orange); }
.steps p, .ticks li { margin: 0; color: var(--ink-soft); font-size: 16px; line-height: 1.55; }
.note-line { margin: 28px 0 0; padding: 14px 18px; border-radius: 16px; background: var(--surface); color: var(--ink-soft); font-size: 15px; }

.ticks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: #fde8dc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23f05a0a' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.ticks strong { color: var(--ink); font-weight: 700; }

/* The covers drift by in a row. */
.library-head { max-width: 680px; }
.covers {
  margin: 40px calc(-1 * clamp(16px, 4vw, 56px)) 0; overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.covers-track { display: flex; gap: 16px; width: max-content; animation: drift 70s linear infinite; }
.covers:hover .covers-track { animation-play-state: paused; }
.covers img { width: clamp(130px, 13vw, 176px); aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px; box-shadow: var(--shadow); }
@keyframes drift { to { transform: translateX(-50%); } }

/* Kids: a lavender card with Bramble's covers fanned behind the phone. */
.kids-card {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 5vw, 70px);
  padding: clamp(32px, 5vw, 64px); border-radius: 36px; background: var(--lavender); overflow: hidden;
}
.kids-copy p:not(.eyebrow) { color: var(--ink-soft); font-size: 17px; }
.kids-art { position: relative; display: grid; place-items: center; min-height: 520px; }
.flight-stack img {
  position: absolute; width: clamp(140px, 14vw, 190px); aspect-ratio: 1; object-fit: cover; border-radius: 22px;
  box-shadow: var(--shadow); border: 4px solid #fff;
}
.flight-stack img:nth-child(1) { left: 0; top: 8%; rotate: -8deg; }
.flight-stack img:nth-child(2) { right: 0; top: 18%; rotate: 7deg; }
.flight-stack img:nth-child(3) { left: 6%; bottom: 6%; rotate: 4deg; }
.phone-kids { z-index: 1; }

/* Plans */
.plus-head, .faq-head { text-align: center; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 900px; margin: 34px auto 0; }
.plan { padding: 30px 28px; border-radius: 28px; background: var(--surface); box-shadow: var(--shadow); }
.plan h3 { font-size: 24px; }
.plan-sub { margin: 0 0 6px; color: var(--ink-soft); }
.plan-plus { background: var(--night); color: #fff; }
.plan-plus h3 { color: #fff; }
.plan-plus .plan-sub, .plan-plus .ticks li { color: rgba(255, 255, 255, 0.78); }
.plan-plus .ticks li::before { background-color: rgba(255, 143, 87, 0.18); }
.plan-foot { margin: 22px 0 0; font-size: 14px; color: rgba(255, 255, 255, 0.6); }

/* FAQ */
.faq-list { max-width: 820px; margin: 30px auto 0; display: grid; gap: 10px; }
.faq details { background: var(--surface); border-radius: 20px; box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px; font-weight: 700; font-size: 17px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: #fde8dc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%23f05a0a' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: rotate 0.25s ease;
}
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { margin: 0; padding: 0 24px 22px; color: var(--ink-soft); }

/* Closing card */
.cta-card {
  position: relative; display: grid; align-items: end; min-height: 460px; overflow: hidden;
  border-radius: 36px; background: var(--night); color: #fff; isolation: isolate;
}
.cta-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; z-index: -2; }
.cta-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(29, 23, 34, 0.15), rgba(29, 23, 34, 0.9) 70%); }
.cta-copy { padding: clamp(28px, 5vw, 60px); max-width: 720px; }
.cta-copy h2 { color: #fff; }
.cta-copy p { margin: 0 0 24px; color: rgba(255, 255, 255, 0.8); font-size: 17px; }

.site-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px;
  margin-top: clamp(56px, 8vw, 100px); padding: 30px 0 40px; border-top: 1px solid var(--line);
  color: var(--ink-soft); font-size: 14.5px;
}
.site-foot p { margin: 0; }
.foot-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); }
.foot-brand img { border-radius: 7px; }
.foot-brand small { font-weight: 500; color: var(--ink-soft); }
.foot-brand a, .site-foot nav a { color: var(--ink-soft); }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }

/* Sections slide up a little as they arrive. */
.reveal { transform: translateY(28px); transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.is-in, .no-js .reveal { transform: none; }

/* ---------- Smaller screens ---------- */
@media (max-width: 980px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav-pill { display: none; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .kids-card { grid-template-columns: minmax(0, 1fr); }
  .split-device { order: 2; }
  #health .split-device { order: 2; }
  .kids-art { min-height: 480px; }
}

@media (max-width: 820px) {
  /* The tall painting fills the whole card; the words sit at the bottom. */
  .hero { height: auto; min-height: calc(100svh - 2 * var(--gap)); max-height: none; }
  .hero-media { width: 100%; -webkit-mask-image: none; mask-image: none; }
  .hero-shade {
    background: linear-gradient(180deg, rgba(29, 23, 34, 0.55) 0%, rgba(29, 23, 34, 0.08) 22%, rgba(29, 23, 34, 0.72) 44%, rgba(29, 23, 34, 0.96) 66%, var(--tint) 100%);
  }
  .hero-inner { grid-template-columns: minmax(0, 1fr); align-items: end; padding-top: 120px; }
  .hero-device { display: none; }
  .clock { position: static; margin-bottom: 26px; }
  /* Four short bars; only the current walk says its name. */
  .timeline { gap: 8px; align-items: start; }
  .timeline button:not(.pause) { font-size: 0; gap: 0; min-height: 34px; align-content: start; padding-top: 6px; }
  .timeline button.is-on:not(.pause) { font-size: 10px; gap: 8px; white-space: nowrap; overflow: visible; }
}

@media (max-width: 560px) {
  .facts { grid-template-columns: minmax(0, 1fr); }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { font-size: clamp(40px, 12vw, 56px); }
  .flight-stack img { width: 118px; }
  .kids-art { min-height: 440px; }
  .sheet { border-radius: 26px 26px 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media img.is-entering, .shot.is-entering, .shot.is-leaving,
  .note.is-entering, .note.is-leaving, .digit > span, .clock-label.is-new { animation: none !important; }
  .hero-media img.is-on.is-drift { scale: 1; translate: none; transition: none; }
  .phone-island, .change, .change img { transition: none !important; }
  .covers-track { animation: none; }
  .covers { overflow-x: auto; }
  .reveal { transform: none; transition: none; }
}

/* ---------- Klyntora Labs home page ---------- */
.studio-hero { height: auto; min-height: min(760px, calc(100svh - 2 * var(--gap))); }
.studio-media { width: 100%; -webkit-mask-image: none; mask-image: none; }
.studio-hero .hero-shade { background: linear-gradient(90deg, rgba(29, 23, 34, 0.92) 0%, rgba(29, 23, 34, 0.7) 45%, rgba(29, 23, 34, 0.25) 100%), linear-gradient(180deg, rgba(29, 23, 34, 0.4), rgba(29, 23, 34, 0) 30%, rgba(29, 23, 34, 0.6)); }
.studio-inner { grid-template-columns: minmax(0, 1fr); padding-bottom: clamp(70px, 9vw, 110px); }
.studio-inner .hero-copy { max-width: 760px; }
.studio-mark {
  display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(135deg, #ffa45c, #f05a0a); color: #fff; font-weight: 800; font-size: 17px;
}
.store-app { width: 30px; height: 30px; border-radius: 8px; }
.apps, .contact { padding: clamp(56px, 8vw, 100px) 0 0; }
.app-card {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center;
  min-height: 560px; border-radius: 36px; overflow: hidden; isolation: isolate;
  background: var(--night); color: #fff; text-decoration: none;
}
.app-art { position: absolute; inset: 0 0 0 auto; width: 70%; height: 100%; object-fit: cover; object-position: 50% 62%; z-index: -2;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%); mask-image: linear-gradient(90deg, transparent, #000 40%); }
.app-copy { padding: clamp(28px, 5vw, 64px); max-width: 600px; }
.app-name { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 20px; font-weight: 700; font-size: 20px; }
.app-name img { border-radius: 12px; }
.app-card h2 { color: #fff; }
.app-copy p { margin: 0 0 24px; color: rgba(255, 255, 255, 0.78); font-size: 17px; }
.app-link { display: inline-flex; gap: 8px; padding: 12px 20px; border-radius: 14px; background: #fff; color: var(--night); font-weight: 700; }
.app-card:hover .app-link { background: #fff3ec; }
.app-device { display: grid; place-items: center; padding: 40px 0; }
.app-device .phone { --w: clamp(220px, 20vw, 270px); }
.contact { text-align: center; }
.contact .lede-dark { margin: 0 auto; }
@media (max-width: 820px) {
  .app-card { grid-template-columns: minmax(0, 1fr); }
  .app-art { width: 100%; -webkit-mask-image: none; mask-image: none; opacity: 0.35; }
  .app-device { display: none; }
}
