/*
 * Chillzin landing page.
 * Colours and type follow @chillzin/tokens: an off-white ground, white cards,
 * near-black ink, black as the only accent, Fraunces for display. The hard
 * outline-and-offset treatment on the hero card and sticker echoes the logo.
 */

:root {
  --cream: #faf9f6;
  --cream-deep: #f0eee8;
  --card: #ffffff;
  --ink: #1a1a1a;
  --ink-2: #55534e;
  --ink-3: #8a877f;
  --ink-4: #b9b6ae;
  --line: rgba(26, 24, 18, 0.1);
  --line-strong: rgba(26, 24, 18, 0.22);
  --brass: #a98a45;
  --night: #161511;
  --ink-on-night: #f2f0e9;
  --ink-2-on-night: #b5b2a9;

  --serif: 'Fraunces', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
    sans-serif;

  --wrap: 1120px;
  --gutter: clamp(20px, 5vw, 40px);
  --hard: 6px 6px 0 var(--ink);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  z-index: 100;
}
.skip:focus {
  left: 8px;
}

/* ── Buttons ─────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}
.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--ink-4);
}
.btn:active {
  transform: none;
  box-shadow: none;
}
.btn-quiet {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-quiet:hover {
  border-color: var(--ink);
  box-shadow: none;
  transform: none;
}
.btn-small {
  min-height: 42px;
  padding: 0 18px;
  font-size: 14px;
}
.btn-light {
  background: var(--ink-on-night);
  border-color: var(--ink-on-night);
  color: var(--night);
}
.btn-light:hover {
  box-shadow: 4px 4px 0 rgba(242, 240, 233, 0.28);
}

/* ── Nav ─────────────────────────────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 249, 246, 0.86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-row {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}
.nav-logo img {
  height: 40px;
  width: auto;
}
.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-size: 15px;
}
.nav-links a {
  color: var(--ink-2);
  text-decoration: none;
}
.nav-links a:hover {
  color: var(--ink);
}

/* ── Hero ────────────────────────────────────────────────────────────── */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
  padding-block: clamp(48px, 9vw, 112px) clamp(56px, 9vw, 120px);
}

.sticker {
  display: inline-block;
  padding: 6px 14px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--card);
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: rotate(-3deg);
}

.hero h1 {
  margin-top: 28px;
  font-size: clamp(44px, 7.4vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.hero h1 em {
  font-style: italic;
  font-weight: 500;
}

.lede {
  margin-top: 26px;
  max-width: 33em;
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--ink-2);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.fineprint {
  margin-top: 20px;
  font-size: 14px;
  color: var(--ink-3);
}

/* Dinner card illustration */

.hero-art {
  position: relative;
  justify-self: center;
  width: min(100%, 380px);
  padding: 34px 0 104px;
}

.card {
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: 22px;
  box-shadow: var(--hard);
}

.card-front {
  position: relative;
  transform: rotate(-2.5deg);
  overflow: hidden;
}

.card-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 16px;
  border-bottom: 2px solid var(--ink);
  background: var(--cream-deep);
  font-size: 13px;
  font-weight: 600;
}
.card-state {
  color: var(--ink-3);
  font-weight: 500;
}
.card-state::before {
  content: '[';
}
.card-state::after {
  content: ']';
}

.card-body {
  padding: 16px;
}

.tile {
  position: relative;
  height: 132px;
  border-radius: 12px;
  overflow: hidden;
  background:
    linear-gradient(115deg, transparent 47%, #fff 47%, #fff 52%, transparent 52%),
    linear-gradient(20deg, transparent 60%, #fff 60%, #fff 63%, transparent 63%),
    linear-gradient(160deg, transparent 28%, #fff 28%, #fff 30.5%, transparent 30.5%),
    linear-gradient(72deg, transparent 76%, #fff 76%, #fff 78%, transparent 78%),
    radial-gradient(circle at 78% 24%, #e4e9dc 0 36px, transparent 37px),
    var(--cream-deep);
}
.pin {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 44px;
  height: 44px;
  margin: -30px 0 0 -22px;
  border-radius: 50% 50% 50% 4px;
  background: var(--ink);
  transform: rotate(-45deg);
}
.pin::after {
  content: '';
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  background: var(--cream);
}
.tile-label {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  font-size: 11px;
  font-weight: 600;
}
.stack {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: flex;
}
.stack i {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-left: -8px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--c);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  font-style: normal;
}

.card-title {
  margin-top: 14px;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.card-sub {
  font-size: 14px;
  color: var(--ink-3);
}
.card-host {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 12px;
  font-size: 14px;
  color: var(--ink-2);
}
.card-host span {
  color: var(--ink-3);
}
.card-mutual {
  font-size: 14px;
  font-weight: 600;
}
.card-note {
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink-2);
}
.card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.seats {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
}
.seats b {
  margin-left: 6px;
  font-weight: 600;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
}
.dot.host {
  background: var(--ink);
}
.dot.guest {
  background: var(--brass);
  border-color: var(--brass);
}
.view {
  padding: 7px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.card-back {
  position: absolute;
  right: -18px;
  bottom: 0;
  left: 36px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 18px;
  transform: rotate(3.5deg);
}
.mini-tile {
  flex: none;
  width: 54px;
  height: 54px;
  border-radius: 10px;
  background:
    linear-gradient(135deg, transparent 46%, #fff 46%, #fff 54%, transparent 54%),
    var(--cream-deep);
}
.mini-title {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
}
.mini-meta {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--ink-3);
}
.mini-meta b {
  color: var(--ink);
  font-weight: 600;
}
.card-front {
  z-index: 1;
}

/* ── Principles ──────────────────────────────────────────────────────── */

.principles {
  border-block: 1px solid var(--line);
  background: var(--card);
}
.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.principles article {
  padding: clamp(32px, 4.5vw, 56px) clamp(0px, 3vw, 40px);
}
.principles article + article {
  border-left: 1px solid var(--line);
}
.principles article:first-child {
  padding-left: 0;
}
.principles article:last-child {
  padding-right: 0;
}
.principles h2 {
  font-size: clamp(22px, 2.3vw, 28px);
  line-height: 1.15;
}
.principles p {
  margin-top: 12px;
  color: var(--ink-2);
  font-size: 16px;
}

/* ── Section heads ───────────────────────────────────────────────────── */

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.section-head h2,
.membership-copy h2 {
  margin-top: 12px;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

/* ── How it works ────────────────────────────────────────────────────── */

.how {
  padding-block: clamp(72px, 10vw, 128px);
}
.steps {
  list-style: none;
  margin: clamp(36px, 5vw, 60px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.steps li {
  padding: 24px 22px 26px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 12px 32px -18px rgba(26, 24, 18, 0.18);
}
.step-n {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  box-shadow: 2px 2px 0 var(--ink);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 18px;
}
.steps h3 {
  margin-top: 22px;
  font-size: 22px;
  line-height: 1.15;
}
.steps p {
  margin-top: 10px;
  font-size: 15.5px;
  color: var(--ink-2);
}

/* ── Membership ──────────────────────────────────────────────────────── */

.membership {
  background: var(--cream-deep);
  padding-block: clamp(72px, 10vw, 128px);
}
.membership-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(40px, 7vw, 96px);
}
.membership-copy > p:not(.eyebrow) {
  margin-top: 20px;
  max-width: 34em;
  color: var(--ink-2);
}
.facts {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  max-width: 34em;
}
.facts li {
  padding: 16px 0;
  border-top: 1px solid var(--line-strong);
  font-size: 16px;
  color: var(--ink-2);
}
.facts b {
  color: var(--ink);
  font-weight: 600;
}

.graph {
  margin: 0;
  padding: clamp(20px, 3vw, 32px);
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: 24px;
  box-shadow: var(--hard);
}
.graph svg {
  width: 100%;
  height: auto;
}
.ring {
  fill: none;
  stroke: var(--line-strong);
  stroke-width: 1.5;
  stroke-dasharray: 3 7;
}
.links path {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.5;
}
.nodes-1 circle {
  fill: var(--brass);
  stroke: var(--ink);
  stroke-width: 2;
}
.nodes-2 circle {
  fill: var(--card);
  stroke: var(--ink);
  stroke-width: 2;
}
.seed {
  fill: var(--ink);
}
.seed-mark {
  fill: var(--cream);
}
.graph figcaption {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--ink-2);
}
.graph figcaption span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.key {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--ink);
}
.key-seed {
  background: var(--ink);
}
.key-1 {
  background: var(--brass);
}
.key-2 {
  background: var(--card);
}

/*
 * Membership graph flow. One 10s loop, every part on the same clock:
 * the Seed appears, invitations travel out to the first ring, those
 * members invite the second ring, then the outer edge closes.
 * Without JS or with reduced motion the diagram sits in its final state.
 */
.g-edge {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  opacity: 0.55;
}
.g-pulse {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
  opacity: 0;
}
.g-dots circle {
  fill: var(--ink);
  opacity: 0;
}
.links path {
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}
.g-seed,
.g-pulse,
.g-n1 circle,
.g-n2 circle {
  transform-box: fill-box;
  transform-origin: center;
}

@media (prefers-reduced-motion: no-preference) {
  .js .graph.in :is(.g-seed, .g-pulse, .g-edge, .g-l1 path, .g-l2 path, .g-d1 circle, .g-d2 circle, .g-n1 circle, .g-n2 circle, .g-k0, .g-k1, .g-k2) {
    animation-duration: 10s;
    animation-iteration-count: infinite;
    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    animation-delay: var(--d, 0s);
    animation-fill-mode: both;
  }
  .js .graph.in .g-seed {
    animation-name: g-seed;
  }
  .js .graph.in .g-pulse {
    animation-name: g-pulse;
  }
  .js .graph.in .g-l1 path {
    animation-name: g-link1;
  }
  .js .graph.in .g-d1 circle {
    animation-name: g-dot1;
  }
  .js .graph.in .g-n1 circle {
    animation-name: g-node1;
  }
  .js .graph.in .g-l2 path {
    animation-name: g-link2;
  }
  .js .graph.in .g-d2 circle {
    animation-name: g-dot2;
  }
  .js .graph.in .g-n2 circle {
    animation-name: g-node2;
  }
  .js .graph.in .g-edge {
    animation-name: g-edge;
  }
  .js .graph.in .g-k0 {
    animation-name: g-key0;
  }
  .js .graph.in .g-k1 {
    animation-name: g-key1;
  }
  .js .graph.in .g-k2 {
    animation-name: g-key2;
  }
}

@keyframes g-seed {
  0% { transform: scale(0); opacity: 0; }
  5% { transform: scale(1.18); opacity: 1; }
  8%, 92% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1); opacity: 0; }
}
@keyframes g-pulse {
  0%, 8% { transform: scale(1); opacity: 0; }
  9% { opacity: 0.5; }
  24%, 100% { transform: scale(4); opacity: 0; }
}
@keyframes g-link1 {
  0%, 9% { stroke-dashoffset: 1; opacity: 1; }
  24%, 92% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}
@keyframes g-dot1 {
  0%, 9% { transform: translate(0, 0); opacity: 0; }
  10% { opacity: 1; }
  24% { transform: translate(var(--dx), var(--dy)); opacity: 1; }
  25%, 100% { transform: translate(var(--dx), var(--dy)); opacity: 0; }
}
@keyframes g-node1 {
  0%, 22% { transform: scale(0); opacity: 0; }
  27% { transform: scale(1.25); opacity: 1; }
  31%, 92% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1); opacity: 0; }
}
@keyframes g-link2 {
  0%, 36% { stroke-dashoffset: 1; opacity: 1; }
  52%, 92% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}
@keyframes g-dot2 {
  0%, 36% { transform: translate(0, 0); opacity: 0; }
  37% { opacity: 1; }
  52% { transform: translate(var(--dx), var(--dy)); opacity: 1; }
  53%, 100% { transform: translate(var(--dx), var(--dy)); opacity: 0; }
}
@keyframes g-node2 {
  0%, 50% { transform: scale(0); opacity: 0; }
  55% { transform: scale(1.25); opacity: 1; }
  59%, 92% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1); opacity: 0; }
}
@keyframes g-edge {
  0%, 62% { stroke-dashoffset: 1; opacity: 0.55; }
  80%, 92% { stroke-dashoffset: 0; opacity: 0.55; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}
@keyframes g-key0 {
  0% { opacity: 0.3; }
  6%, 92% { opacity: 1; }
  100% { opacity: 0.3; }
}
@keyframes g-key1 {
  0%, 22% { opacity: 0.3; }
  28%, 92% { opacity: 1; }
  100% { opacity: 0.3; }
}
@keyframes g-key2 {
  0%, 50% { opacity: 0.3; }
  56%, 92% { opacity: 1; }
  100% { opacity: 0.3; }
}

/* ── Questions ───────────────────────────────────────────────────────── */

.questions {
  padding-block: clamp(72px, 10vw, 128px);
}
.faq {
  margin-top: clamp(28px, 4vw, 48px);
  max-width: 820px;
  border-top: 1px solid var(--line-strong);
}
.faq details {
  border-bottom: 1px solid var(--line-strong);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 600;
  letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  max-width: 40em;
  padding: 0 48px 24px 0;
  color: var(--ink-2);
}

/* ── Join ────────────────────────────────────────────────────────────── */

.join {
  background: var(--night);
  color: var(--ink-on-night);
  padding-block: clamp(80px, 11vw, 144px);
  text-align: center;
}
.join-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.join h2 {
  font-size: clamp(44px, 7vw, 88px);
  line-height: 1;
  letter-spacing: -0.035em;
  font-style: italic;
  font-weight: 500;
}
.join p {
  margin-top: 22px;
  max-width: 32em;
  color: var(--ink-2-on-night);
}
.join .btn {
  margin-top: 34px;
}
.join .join-mail {
  margin-top: 18px;
  font-size: 14px;
}
.join-mail span {
  color: var(--ink-on-night);
  user-select: all;
}

/* ── Footer ──────────────────────────────────────────────────────────── */

.footer {
  padding-block: 36px;
  font-size: 14px;
  color: var(--ink-3);
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
}
.footer img {
  height: 34px;
  width: auto;
}
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-left: auto;
}
.footer a {
  color: var(--ink-2);
}
.footer-meta {
  align-items: center;
}
.social {
  display: inline-flex;
  gap: 10px;
}
.social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--card);
  color: var(--ink);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}
.social a:hover {
  transform: translate(-2px, -2px);
  box-shadow: 3px 3px 0 var(--ink);
}

/* ── Reveal on scroll (only when JS is running) ──────────────────────── */

.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* ── Responsive ──────────────────────────────────────────────────────── */

@media (max-width: 960px) {
  .hero,
  .membership-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-art {
    margin-top: 8px;
  }
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .graph {
    max-width: 460px;
    justify-self: center;
    width: 100%;
  }
}

@media (max-width: 760px) {
  .nav-links {
    display: none;
  }
  .nav-row .btn {
    margin-left: auto;
  }
  .principles-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .principles article,
  .principles article:first-child,
  .principles article:last-child {
    padding: 28px 0;
  }
  .principles article + article {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }
  .cta-row .btn {
    flex: 1 1 100%;
  }
  .hero-art {
    width: min(100%, 330px);
    --hard: 5px 5px 0 var(--ink);
  }
  .card-back {
    right: -6px;
    left: 28px;
  }
  .faq details p {
    padding-right: 0;
  }
  .footer-meta {
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn,
  .faq summary::after {
    transition: none;
  }
}

/* ── Links between pages ─────────────────────────────────────────────── */

.nav-links a[aria-current='page'] {
  color: var(--ink);
  font-weight: 600;
}
.section-head-split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 40px;
}
.peek {
  display: inline-flex;
  margin-top: 14px;
  align-items: center;
  gap: 16px;
  padding: 10px 22px 10px 16px;
  border: 2px solid var(--ink);
  border-radius: 20px;
  background: var(--card);
  box-shadow: 4px 4px 0 var(--ink);
  color: var(--ink);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.3;
  text-decoration: none;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}
.peek:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}
.peek-phone {
  flex: none;
  width: 44px;
  margin-block: -22px -6px;
  padding: 3px;
  border-radius: 11px;
  background: var(--ink);
  box-shadow: 0 8px 14px -8px rgba(26, 24, 18, 0.5);
  transform: rotate(-7deg);
  transition: transform 0.2s ease;
}
.peek:hover .peek-phone {
  transform: rotate(-2deg) translateY(-3px);
}
.peek-phone img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.peek-arrow {
  display: inline-block;
  transition: transform 0.15s ease;
}
.peek:hover .peek-arrow {
  transform: translateX(4px);
}

/* ── Inside the app (app.html) ───────────────────────────────────────── */

/* Photo panels: the product mockups, framed like the hero dinner card */
.shot {
  margin: 0;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 28px;
  box-shadow: var(--hard);
  background: var(--cream-deep);
}
.shot img {
  width: 100%;
  height: auto;
}

.tour-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
  padding-block: clamp(40px, 7vw, 88px) clamp(56px, 8vw, 104px);
}
.tour-hero h1 {
  margin-top: 28px;
  font-size: clamp(42px, 6.4vw, 80px);
  line-height: 1;
  letter-spacing: -0.035em;
}
.tour-hero h1 em {
  font-style: italic;
  font-weight: 500;
}
.shot-hero img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 52% 40%;
}

.duo {
  padding-block: clamp(24px, 4vw, 48px) clamp(72px, 9vw, 120px);
}
.duo .shot {
  margin-top: clamp(28px, 4vw, 48px);
}
.duo .shot img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: 50% 42%;
}
.duo-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 5vw, 64px);
  margin-top: clamp(28px, 4vw, 44px);
}
.duo-notes h3,
.gallery h3 {
  margin-top: 10px;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.15;
}
.duo-notes p:not(.eyebrow) {
  margin-top: 10px;
  max-width: 32em;
  color: var(--ink-2);
}

.wide {
  background: var(--cream-deep);
  padding-block: clamp(72px, 10vw, 128px);
}
.wide-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
}
.wide-copy h2 {
  margin-top: 12px;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.03em;
}
.wide-copy > p:not(.eyebrow) {
  margin-top: 20px;
  color: var(--ink-2);
}

.ticks {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}
.ticks li {
  position: relative;
  padding: 12px 0 12px 30px;
  border-top: 1px solid var(--line-strong);
  font-size: 16px;
}
.ticks li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 19px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--brass);
}

.screens {
  padding-block: clamp(72px, 10vw, 128px);
}
.gallery {
  list-style: none;
  margin: clamp(32px, 5vw, 56px) 0 0;
  padding: 0 0 12px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 26px);
}
.gallery h3 {
  margin-top: 20px;
  font-size: 20px;
}
.gallery p {
  margin-top: 4px;
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--ink-2);
}

/* A plain CSS iPhone around a real screenshot */
.phone {
  margin: 0;
  padding: 3.6%;
  border-radius: 17% / 7.6%;
  background: var(--ink);
  box-shadow:
    inset 0 0 0 1.5px #3a3a38,
    0 18px 36px -20px rgba(26, 24, 18, 0.45);
}
.phone-screen {
  container-type: inline-size;
  overflow: hidden;
  border-radius: 14.5% / 6.4%;
  background: var(--cream);
}
.phone-screen img {
  width: 100%;
  height: auto;
}
.phone-status {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 13cqw;
  padding: 1.5cqw 9cqw 0;
  background: var(--cream);
  font-size: 4.4cqw;
  font-weight: 600;
  line-height: 1;
}
.island {
  position: absolute;
  left: 50%;
  top: 3cqw;
  width: 30cqw;
  height: 8.6cqw;
  margin-left: -15cqw;
  border-radius: 99px;
  background: #000;
}
.phone-batt {
  width: 6.4cqw;
  height: 3.1cqw;
  border-radius: 1cqw;
  background: var(--ink);
}

.tour-note {
  margin-top: 36px;
  font-size: 14px;
  color: var(--ink-3);
}

@media (max-width: 960px) {
  .tour-hero,
  .wide-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .gallery {
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-auto-columns: 200px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
  }
  .gallery li {
    scroll-snap-align: start;
  }
}

@media (max-width: 760px) {
  .duo-notes {
    grid-template-columns: minmax(0, 1fr);
  }
  .duo .shot img {
    aspect-ratio: 5 / 4;
  }
  .shot {
    border-radius: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .peek,
  .peek-phone,
  .peek-arrow {
    transition: none;
  }
}
