/* ==========================================================================
   Kachak — site stylesheet
   Structure: base → layout → header → footer → shared blocks → page blocks
              → motion → responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Base
   -------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  /* Sticky header must not swallow the target of an in-page anchor. */
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--coral); }

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

button { font: inherit; }

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

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 12px 18px;
  border-radius: 12px;
  transition: top 0.18s ease;
}
.skip-link:focus { top: 12px; color: var(--cream); }

/* --------------------------------------------------------------------------
   2. Layout
   -------------------------------------------------------------------------- */

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.wrap--narrow { max-width: 820px; }

.band { border-top: 1px solid var(--line); }
.band--white { background: var(--surface); }
.band--paper { background: linear-gradient(var(--bg), var(--bg-warm)); }

.band--night { background: var(--cam-bg); color: var(--cream); }
.band--hero {
  background: linear-gradient(var(--bg), var(--bg-warm));
  border-bottom: 1px solid var(--line);
}
.band--rule { border-bottom: 1px solid var(--line); }

/* --------------------------------------------------------------------------
   3. Type
   -------------------------------------------------------------------------- */

.eyebrow {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--coral);
}
.eyebrow--muted { color: var(--ink-3); }

.h1 {
  margin: 0 0 20px;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -2.2px;
  font-weight: 800;
  max-width: 20em;
}

.h2 {
  margin: 0 0 20px;
  font-size: 42px;
  line-height: 1.05;
  letter-spacing: -1.4px;
  font-weight: 800;
}

.h3 {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.lede {
  margin: 0;
  font-size: 19.5px;
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 32em;
  text-wrap: pretty;
}

.prose {
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 30em;
  text-wrap: pretty;
}

.meta {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ink-3);
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */

/* Deliberately not a flex container: these are text-only and sit in a flex
   row, so plain inline layout puts the label exactly where the design does.
   The one variant with an icon (.btn--ink) opts into flex below. */
.btn {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 14px 22px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn--coral {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 12px 26px -10px rgba(255, 90, 77, 0.85);
}
.btn--coral:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 16px 30px -10px rgba(255, 90, 77, 0.95); }

.btn--ghost {
  background: var(--surface);
  border: 1px solid var(--line-2);
  color: var(--ink);
}
.btn--ghost:hover { color: var(--ink); border-color: var(--coral); }

.btn--ink {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: normal;
  padding: 14px 22px;
  border-radius: 16px;
}
.btn--ink:hover { color: var(--cream); transform: translateY(-1px); }

/* Store buttons — hero “notify me” pair. */
.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 34px 0 0;
}
.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  border-radius: 16px;
  transition: transform 0.15s ease;
}
.store-btn:hover { transform: translateY(-2px); }
.store-btn__text { display: flex; flex-direction: column; line-height: 1.15; }
.store-btn__text b { font-size: 15.5px; font-weight: 700; }
.store-btn__text small {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}
.store-btn--ink { background: var(--ink); color: var(--cream); }
.store-btn--ink:hover { color: var(--cream); }
.store-btn--ink i { font-size: 24px; color: var(--coral); }

/* Google Play ships as a four-colour mark, so it is real SVG rather than an
   icon-font glyph. It reads heavier than the mono Apple glyph beside it, so it
   sits a little smaller to balance. */
.gp-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  flex: none;
}
.store-btn--light {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line-2);
}
.store-btn--light:hover { color: var(--ink); }

/* Apple's mark, as vector. currentColor so it picks up the muted grey in the
   small captions and full ink in the button. */
.apple-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  flex: none;
  color: currentColor;
}

/* --------------------------------------------------------------------------
   5. Header / nav
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 248, 244, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-right: auto;
}
.brand__mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--brand-grad);
  box-shadow: 0 4px 10px rgba(236, 74, 62, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.brand__name {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.nav__link {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ink-2);
  white-space: nowrap;
}
.nav__link:hover { color: var(--coral); }
.nav__link[aria-current="page"] { color: var(--coral); }
/* “How it works” is an in-page anchor on home, so it reads as ink there. */
.nav__link--here { color: var(--ink); }

.nav__cta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  background: var(--coral);
  color: #fff;
  padding: 11px 18px;
  border-radius: 14px;
  box-shadow: 0 8px 20px -8px rgba(255, 90, 77, 0.7);
  white-space: nowrap;
  transition: transform 0.15s ease;
}
.nav__cta:hover { color: #fff; transform: translateY(-1px); }

.nav__toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--ink);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav__toggle i { font-size: 20px; }
.nav__toggle .ph-x { display: none; }
.nav__toggle[aria-expanded="true"] .ph-list { display: none; }
.nav__toggle[aria-expanded="true"] .ph-x { display: block; }

.nav__panel { display: contents; }

/* --------------------------------------------------------------------------
   6. Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--ink);
  color: rgba(245, 242, 236, 0.62);
}
.site-footer__top {
  padding-top: 56px;
  padding-bottom: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  align-items: center;
}
.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}
.site-footer__brand .brand__mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  box-shadow: none;
}
.site-footer__brand .brand__name { font-size: 16px; color: var(--cream); letter-spacing: normal; }
.site-footer__links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.site-footer__links a { color: rgba(245, 242, 236, 0.72); }
.site-footer__links a:hover { color: var(--coral); }
.site-footer__legal {
  padding-top: 22px;
  padding-bottom: 44px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  border-top: 1px solid rgba(245, 242, 236, 0.12);
}
.site-footer__legal a { color: inherit; text-decoration: underline; }
.site-footer__legal a:hover { color: var(--coral); }

/* --------------------------------------------------------------------------
   7. Shared blocks
   -------------------------------------------------------------------------- */

/* Page hero — the film / pricing / faq */
.page-hero { padding: 88px var(--gutter) 76px; }
.page-hero .lede { max-width: 32em; }

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
}
.card--lg { border-radius: 20px; padding: 26px; }
.card--paper { background: var(--bg); }

.card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--tint);
  color: var(--ink);
  margin-bottom: 20px;
}
.card__icon i { font-size: 19px; }
.card__icon--coral {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 8px 18px -8px rgba(255, 90, 77, 0.8);
}

.card__step {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ink-3);
}
.card__body {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-2);
}

/* Grids */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* A photographic print: white border, caption gutter, film face. */
.print {
  position: relative;
  background: var(--surface);
  border-radius: 5px;
  padding: 10px 10px 32px;
}
.print__face {
  position: relative;
  border-radius: 3px;
  overflow: hidden;
}
.print__label {
  position: absolute;
  left: 12px;
  bottom: 10px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.11em;
  color: var(--ink-2);
}

/* Chips */
.chip {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  background: var(--tint);
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--ink);
}

/* Live dot */
.dot {
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: var(--coral);
  animation: kchPulse 1.6s ease-in-out infinite;
  flex: none;
}

/* Notify form */
.notify-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0;
}

/* Honeypot. Off-screen rather than display:none — bots that render CSS skip
   hidden fields, but most simply fill every input they can parse. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.notify-form input {
  font-family: var(--font-sans);
  font-size: 16px;
  padding: 15px 18px;
  border: 1px solid var(--line-3);
  border-radius: 15px;
  background: var(--surface);
  color: var(--ink);
}
.notify-form input:focus { border-color: var(--coral); }
.notify-form input[aria-invalid="true"] { border-color: var(--coral); }
.notify-form button {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  background: var(--coral);
  color: #fff;
  border: none;
  padding: 15px 26px;
  border-radius: 15px;
  cursor: pointer;
  box-shadow: 0 12px 26px -10px rgba(255, 90, 77, 0.85);
  transition: transform 0.15s ease;
}
.notify-form button:hover { transform: translateY(-1px); }
.notify-form button:disabled { opacity: 0.55; cursor: default; transform: none; }

.notify-ok,
.notify-error {
  margin: 16px 0 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.11em;
  color: var(--green);
}
.notify-error { color: var(--coral-deep); }
.notify-ok[hidden],
.notify-error[hidden] { display: none; }

.store-note {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.11em;
  color: var(--ink-3);
}
.store-note i { font-size: 14px; vertical-align: -2px; }
.store-note .gp-icon { width: 12px; height: 12px; vertical-align: -2px; }
.store-note .apple-icon { width: 12px; height: 12px; vertical-align: -2px; }

/* CTA band shared by the film / pricing / about */
.cta-band {
  padding-top: 88px;
  padding-bottom: 88px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 { margin: 0 0 8px; font-size: 32px; line-height: 1.1; letter-spacing: -1.1px; font-weight: 800; }
.cta-band p { margin: 0; font-size: 17px; color: var(--ink-2); }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.cta-centred {
  padding-top: 88px;
  padding-bottom: 88px;
  text-align: center;
}
.cta-centred h2 { margin: 0 0 12px; font-size: 38px; line-height: 1.05; letter-spacing: -1.4px; font-weight: 800; }
.cta-centred p { margin: 0 auto 26px; font-size: 17.5px; line-height: 1.55; color: var(--ink-2); max-width: 26em; }
.cta-centred .cta-actions { justify-content: center; }

/* --------------------------------------------------------------------------
   8. Home — hero
   -------------------------------------------------------------------------- */

.hero {
  padding: 92px var(--gutter) 84px;
  display: grid;
  grid-template-columns: 1fr 1.14fr;
  gap: 44px;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px 7px 11px;
  margin-bottom: 26px;
}
.hero__badge span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.11em;
  color: var(--ink-2);
}

.hero__title {
  margin: 0;
  font-size: 64px;
  line-height: 0.98;
  letter-spacing: -2.4px;
  font-weight: 800;
  text-wrap: balance;
}

.hero__lede {
  margin: 22px 0 0;
  font-size: 19.5px;
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 31em;
  text-wrap: pretty;
}

.hero__note {
  margin: 20px 0 0;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ink-3);
}

/* Right column — phone + three floating prints */
.hero__stage {
  position: relative;
  height: 672px;
}

/* The prints drift, as if pinned in the air beside the phone.
   Three separate channels so nothing overwrites anything else:
     translate  — scroll parallax, written by js/motion.js as --shift
     rotate     — the resting tilt of each print
     transform  — the float loop below
   Each print gets its own amplitude, period and a negative delay, so they are
   never in step with one another. */
.snap {
  position: absolute;
  z-index: 2;
  background: var(--surface);
  border-radius: 5px;
  translate: 0 var(--shift, 0px);
  animation: kchFloat var(--float-dur, 7s) ease-in-out var(--float-delay, 0s) infinite;
  will-change: transform;
}
.snap__face { position: relative; border-radius: 3px; overflow: hidden; }
.snap__label {
  position: absolute;
  left: 12px;
  bottom: 9px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}
.snap--a {
  left: -40px; top: 66px; width: 150px;
  padding: 9px 9px 30px;
  box-shadow: 0 22px 44px -18px rgba(60, 40, 20, 0.34);
  rotate: -7deg;
  --float-y: -11px;
  --float-r: 1.2deg;
  --float-dur: 7s;
  --float-delay: -0.4s;
}
.snap--a .snap__face { height: 150px; }
.snap--b {
  right: -62px; top: -8px; width: 128px;
  padding: 8px 8px 26px;
  box-shadow: 0 22px 44px -18px rgba(60, 40, 20, 0.3);
  rotate: 6deg;
  --float-y: -8px;
  --float-r: -1deg;
  --float-dur: 8.6s;
  --float-delay: -3.2s;
}
.snap--b .snap__face { height: 128px; }
.snap--b .snap__label { left: 11px; bottom: 8px; }
.snap--c {
  right: -54px; bottom: -4px; width: 136px;
  padding: 8px 8px 27px;
  box-shadow: 0 22px 44px -18px rgba(60, 40, 20, 0.32);
  rotate: -4deg;
  --float-y: -13px;
  --float-r: 0.9deg;
  --float-dur: 7.8s;
  --float-delay: -5.1s;
}
.snap--c .snap__face { height: 136px; }
.snap--c .snap__label { left: 11px; bottom: 8px; }

.hero__caption {
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  z-index: 3;
}
.hero__caption span {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ink-3);
}
.hero__restart {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  background: var(--surface);
  border: 1px solid var(--line-2);
  color: var(--ink);
  padding: 7px 12px;
  border-radius: 99px;
  cursor: pointer;
}
.hero__restart:hover { border-color: var(--coral); color: var(--coral); }

/* --------------------------------------------------------------------------
   9. Home — film strip, roll meter
   -------------------------------------------------------------------------- */

.strip {
  background: var(--ink);
  padding: 22px 0;
  overflow: hidden;
}
.strip__track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: kchStrip 46s linear infinite;
}
.strip__cell {
  width: 118px;
  height: 96px;
  border-radius: 3px;
  flex: none;
}

.roll-meter {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px;
}
.roll-meter__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.11em;
  color: var(--ink-2);
}
.roll-meter__head b { color: var(--coral); font-weight: 700; }
.roll-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 7px;
  margin-bottom: 26px;
}
.roll-grid i {
  height: 26px;
  border-radius: 5px;
  background: var(--track);
}
.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
}
.stat__n {
  margin: 0 0 6px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -1px;
}
.stat__n--coral { color: var(--coral); }
.stat__label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.11em;
  color: var(--ink-3);
}

/* Keep-reading cards */
.read-card { display: block; transition: transform 0.18s ease, box-shadow 0.18s ease; }
.read-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -26px rgba(60, 40, 20, 0.5);
  color: var(--ink);
}
.read-card__thumb {
  position: relative;
  height: 96px;
  border-radius: 6px;
  margin-bottom: 20px;
  overflow: hidden;
}
/* The about card leads with the logo rather than a film stock. */
.read-card__thumb--brand {
  background: var(--tint);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.read-card__thumb--brand .brand__mark { width: 40px; height: 40px; border-radius: 11px; }
.read-card__thumb--brand .brand__name { font-size: 23px; }

.read-card__thumb--flat {
  background: var(--tint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 700;
  color: var(--ink);
}
.read-card h3 { margin: 0 0 7px; font-size: 20px; font-weight: 700; letter-spacing: -0.4px; }
.read-card p { margin: 0 0 14px; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.read-card__more {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--coral);
}

/* Notify block */
.notify { padding: 104px var(--gutter); text-align: center; }
.notify__mark {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--brand-grad);
  box-shadow: 0 14px 30px -10px rgba(236, 74, 62, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 26px;
}
.notify h2 {
  margin: 0 0 14px;
  font-size: 44px;
  line-height: 1.04;
  letter-spacing: -1.6px;
  font-weight: 800;
}
.notify__lede {
  margin: 0 auto 30px;
  font-size: 18.5px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 26em;
}
.notify .notify-form { justify-content: center; margin: 0 0 16px; }
.notify .notify-form input { width: 290px; }
.notify .store-note { justify-content: center; }

/* --------------------------------------------------------------------------
   10. The film
   -------------------------------------------------------------------------- */

.vanish {
  padding-top: 100px;
  padding-bottom: 100px;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: center;
}
.vanish .prose { color: rgba(245, 242, 236, 0.66); }
.vanish__pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(245, 242, 236, 0.18);
  border-radius: 999px;
  padding: 10px 16px;
}
.vanish__pill span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(245, 242, 236, 0.8);
}
.decay { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.decay .print { padding: 8px 8px 26px; }
.decay .print__face { aspect-ratio: 1; }
.decay .print__label {
  left: 10px; bottom: 8px;
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}
.decay .print:nth-child(2) { opacity: 0.72; }
.decay .print:nth-child(3) { opacity: 0.34; }

.stocks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stocks .print { box-shadow: 0 18px 34px -20px rgba(60, 40, 20, 0.3); }
.stocks .print__face { aspect-ratio: 4 / 5; }

/* --------------------------------------------------------------------------
   11. Pricing
   -------------------------------------------------------------------------- */

.tiers {
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface);
}
.tiers__row {
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr;
  gap: 12px;
  padding: 16px 22px;
  border-top: 1px solid var(--line);
  align-items: center;
}
.tiers__head {
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr;
  gap: 12px;
  padding: 14px 22px;
  background: var(--bg);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ink-3);
}
.tiers__guests { font-size: 15px; font-weight: 700; }
.tiers__price { font-family: var(--font-mono); font-size: 14px; font-weight: 700; }
.tiers__event { font-size: 14px; color: var(--ink-2); }
.tiers__row--pop {
  padding: 18px 22px;
  background: #fff6f4;
}
.tiers__row--pop .tiers__guests { font-weight: 800; }
.tiers__row--pop .tiers__price { color: var(--coral); }
.pop-flag {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  background: var(--coral);
  color: #fff;
  padding: 4px 8px;
  border-radius: 999px;
  margin-left: 6px;
  vertical-align: 2px;
  white-space: nowrap;
}

.pay-list { }
.pay-list__row {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.pay-list__row:first-of-type { padding-top: 0; }
.pay-list__row:last-child { padding-bottom: 0; border-bottom: none; }
.pay-list__row i { font-size: 19px; color: var(--coral); margin-top: 2px; flex: none; }
.pay-list__row p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--ink); }

.side-stack { display: flex; flex-direction: column; gap: 16px; }
.side-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.side-card--ink { background: var(--ink); color: var(--cream); border: none; }
.side-card--ink i { font-size: 22px; color: var(--coral); }
.side-card--ink h3 { margin: 12px 0 8px; font-size: 18px; font-weight: 700; }
.side-card--ink p { margin: 0; font-size: 14.5px; line-height: 1.55; color: rgba(245, 242, 236, 0.66); }
.side-card--tint { background: var(--tint); border: none; }
.side-card--tint .side-card__label { margin-bottom: 10px; }
.side-card--tint p:last-child { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--ink); }
.side-card__label {
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ink-3);
}

.perk {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.perk > i { font-size: 22px; color: var(--coral); margin-top: 2px; flex: none; }
.perk h3 { margin: 0 0 5px; font-size: 16.5px; font-weight: 700; }
.perk p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }

/* --------------------------------------------------------------------------
   12. FAQ
   -------------------------------------------------------------------------- */

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px 56px;
}
.faq-grid h3 { margin: 0 0 8px; font-size: 18px; font-weight: 700; }
.faq-grid p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }

.contact-link {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.contact-link:hover { transform: translateX(3px); border-color: var(--coral); color: var(--ink); }
.contact-link i { font-size: 22px; color: var(--coral); flex: none; }
.contact-link span { display: flex; flex-direction: column; }
.contact-link b { font-size: 15.5px; font-weight: 700; }
.contact-link small {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}

.notify-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px;
}
.notify-card h3 { margin: 0 0 10px; font-size: 24px; font-weight: 800; letter-spacing: -0.8px; }
.notify-card__lede { margin: 0 0 22px; font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.notify-card .notify-form input { flex: 1; min-width: 180px; }
.notify-card .notify-form button { padding: 15px 24px; }
.notify-card .store-note { font-size: 10px; gap: 18px; }
.notify-card .store-note i { font-size: 13px; }
.notify-card .store-note .gp-icon { width: 11px; height: 11px; }
.notify-card .store-note .apple-icon { width: 11px; height: 11px; }

/* --------------------------------------------------------------------------
   12b. Legal pages
   -------------------------------------------------------------------------- */

.legal { padding-top: 72px; padding-bottom: 96px; }
.legal__updated {
  margin: 0 0 40px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ink-3);
}
.legal h2 {
  margin: 44px 0 14px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.6px;
  color: var(--ink);
}
.legal h2:first-of-type { margin-top: 0; }
.legal p,
.legal li {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink-2);
  text-wrap: pretty;
}
.legal p { margin: 0 0 16px; }
.legal p:last-child { margin-bottom: 0; }
.legal ul { margin: 0 0 16px; padding-left: 22px; }
.legal li { margin-bottom: 9px; }
.legal a { color: var(--coral); }
.legal a:hover { text-decoration: underline; }
.legal strong { color: var(--ink); font-weight: 700; }

.legal__box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 24px;
  margin: 0 0 16px;
}
.legal__box p:last-child { margin-bottom: 0; }

/* One-line consent notice under each sign-up form. */
.form-note {
  margin: 14px 0 0;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}
.form-note a { color: var(--ink-3); text-decoration: underline; }
.form-note a:hover { color: var(--coral); }

/* --------------------------------------------------------------------------
   13. About
   -------------------------------------------------------------------------- */

.about-hero { padding: 92px var(--gutter) 84px; }
.about-hero .eyebrow { margin-bottom: 30px; }
.about-hero__line {
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: 52px;
  line-height: 1.12;
  letter-spacing: -1.2px;
  max-width: 22em;
  color: var(--ink);
}

.about-body p {
  margin: 0 0 20px;
  font-size: 18.5px;
  line-height: 1.65;
  color: var(--ink-2);
  text-wrap: pretty;
}
.about-body p:last-child { margin-bottom: 0; }

.facts { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 26px; }
.facts__list { display: flex; flex-direction: column; gap: 14px; }
.facts__rule { height: 1px; background: var(--line); }
.facts b { display: block; margin: 0 0 3px; font-size: 15.5px; font-weight: 700; }
.facts__key {
  margin: 0 0 3px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ink-3);
}
.facts__val { margin: 0; font-size: 15px; }
.facts__ssm {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-2);
}
.facts a { color: var(--coral); font-size: 15px; }

.rules .card { padding: 26px; }
.rules .card > i { font-size: 24px; color: var(--coral); }
.rules .card h3 { margin: 16px 0 8px; font-size: 19px; font-weight: 700; letter-spacing: normal; }
.rules .card p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-2); }

/* --------------------------------------------------------------------------
   14. Motion
   -------------------------------------------------------------------------- */

/* Applied only once js/motion.js has run, so a no-JS visitor never lands on a
   page of invisible elements. */
.js-motion [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.85s cubic-bezier(0.16, 0.84, 0.3, 1),
    transform 0.85s cubic-bezier(0.16, 0.84, 0.3, 1);
}
.js-motion [data-reveal][data-shown] { opacity: 1; transform: none; }

/* The roll meter fills to 14 of 20, the 14th cell landing on coral. */
.js-motion [data-roll] > * { transition: background 0.55s ease-out; }
.js-motion [data-roll="light"][data-shown] > *:nth-child(-n + 13) { background: var(--ink); }
.js-motion [data-roll="dark"][data-shown] > *:nth-child(-n + 13) { background: rgba(245, 242, 236, 0.85); }
.js-motion [data-roll][data-shown] > *:nth-child(14) { background: var(--coral); }
.js-motion [data-roll] > *:nth-child(1)  { transition-delay: 0.18s; }
.js-motion [data-roll] > *:nth-child(2)  { transition-delay: 0.24s; }
.js-motion [data-roll] > *:nth-child(3)  { transition-delay: 0.30s; }
.js-motion [data-roll] > *:nth-child(4)  { transition-delay: 0.36s; }
.js-motion [data-roll] > *:nth-child(5)  { transition-delay: 0.42s; }
.js-motion [data-roll] > *:nth-child(6)  { transition-delay: 0.48s; }
.js-motion [data-roll] > *:nth-child(7)  { transition-delay: 0.54s; }
.js-motion [data-roll] > *:nth-child(8)  { transition-delay: 0.60s; }
.js-motion [data-roll] > *:nth-child(9)  { transition-delay: 0.66s; }
.js-motion [data-roll] > *:nth-child(10) { transition-delay: 0.72s; }
.js-motion [data-roll] > *:nth-child(11) { transition-delay: 0.78s; }
.js-motion [data-roll] > *:nth-child(12) { transition-delay: 0.84s; }
.js-motion [data-roll] > *:nth-child(13) { transition-delay: 0.90s; }
.js-motion [data-roll] > *:nth-child(14) { transition-delay: 0.96s; }

/* A print coming up out of the developer. */
.js-motion [data-develop] {
  filter: brightness(0.4) blur(7px) saturate(0.55);
  transition: filter 1.5s ease-out;
}
.js-motion [data-develop][data-shown] { filter: none; }

@keyframes kchStrip { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes kchPulse { 0% { opacity: 1; } 50% { opacity: 0.3; } 100% { opacity: 1; } }
@keyframes kchFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(var(--float-y, -9px)) rotate(var(--float-r, 1deg)); }
}
@keyframes kchDots { 0%, 100% { opacity: 1; transform: translateY(0); } 50% { opacity: 0.35; transform: translateY(-3px); } }
@keyframes kchSheet { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes kchToast { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .strip__track { animation: none; }
}

/* --------------------------------------------------------------------------
   15. Responsive
   The design is drawn at 1440. Everything below reflows it; nothing above
   1180 changes, so the desktop rendering stays byte-for-byte the design.
   -------------------------------------------------------------------------- */

@media (max-width: 1180px) {
  :root { --gutter: 32px; }
  .hero { gap: 32px; }
  .hero__title { font-size: 56px; letter-spacing: -2px; }

  /* The phone is a fixed 300px, so as the column narrows the prints have to
     shrink and pull in to the edges. They tuck behind the phone rather than
     over it (see .phone-wrap z-index). */
  .snap--a { left: 0; top: 58px; width: 124px; padding: 8px 8px 25px; }
  .snap--a .snap__face { height: 124px; }
  .snap--b { right: 0; top: -4px; width: 108px; padding: 7px 7px 22px; }
  .snap--b .snap__face { height: 108px; }
  .snap--c { right: 0; bottom: 2px; width: 114px; padding: 7px 7px 23px; }
  .snap--c .snap__face { height: 114px; }
  .snap__label { font-size: 8px; left: 9px; bottom: 7px; }
}

@media (max-width: 1000px) {
  .nav { gap: 18px; }
  .nav__link { font-size: 10px; letter-spacing: 0.1em; }

  /* Hero stacks: copy first, phone centred below. */
  .hero {
    grid-template-columns: 1fr;
    gap: 56px;
    padding-top: 72px;
    padding-bottom: 72px;
  }
  .hero__stage { max-width: 540px; margin: 0 auto; width: 100%; }
  .hero__title { font-size: 52px; }

  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .stocks { grid-template-columns: repeat(2, 1fr); }
  .vanish { grid-template-columns: 1fr; gap: 44px; padding-top: 76px; padding-bottom: 76px; }
  .h1 { font-size: 46px; letter-spacing: -1.6px; }
  .h2 { font-size: 34px; letter-spacing: -1.1px; }
}

@media (max-width: 860px) {
  /* Collapse the nav into a panel. */
  .nav__toggle { display: flex; }
  .nav__panel {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px var(--gutter) 22px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -30px rgba(40, 30, 20, 0.5);
  }
  .nav__panel[data-open] { display: flex; }
  .nav__panel .nav__link { padding: 13px 0; font-size: 12px; }
  .nav__panel .nav__cta { margin-top: 10px; text-align: center; }
  .site-header { position: sticky; }
  .nav { position: relative; }

  .grid--3 { grid-template-columns: 1fr; }
  .grid--2 { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; gap: 30px; }
  .split { grid-template-columns: 1fr !important; gap: 44px !important; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .page-hero { padding-top: 64px; padding-bottom: 56px; }
  .about-hero { padding-top: 64px; padding-bottom: 56px; }
  .about-hero__line { font-size: 38px; letter-spacing: -0.8px; }
  .notify { padding-top: 76px; padding-bottom: 76px; }
  .notify h2 { font-size: 34px; letter-spacing: -1.1px; }
  .roll-meter { padding: 24px; }

  /* These paragraphs sit in columns at desktop, so they never needed a measure
     cap. Once the columns collapse they would run the full width of the page. */
  .faq-grid p,
  .about-body p,
  .rules .card p { max-width: 34em; }
}

@media (max-width: 620px) {
  :root { --gutter: 20px; }

  .hero { padding-top: 56px; padding-bottom: 56px; }
  .hero__title { font-size: 40px; letter-spacing: -1.4px; }
  .hero__lede { font-size: 17px; }
  .hero__badge span { font-size: 9.5px; letter-spacing: 0.09em; }
  .store-row { gap: 10px; }
  .store-btn { flex: 1 1 100%; }

  /* No room left either side of the 300px phone — drop the prints rather than
     stack them on top of a control the visitor needs to tap. */
  .snap { display: none; }

  .h1 { font-size: 34px; letter-spacing: -1.1px; }
  .h2 { font-size: 28px; letter-spacing: -0.9px; }
  .lede, .prose { font-size: 16.5px; }
  .stocks, .decay { grid-template-columns: 1fr 1fr; }
  /* The how-it-works cards carry real copy — two up would wrap at ~14 chars. */
  .grid--4 { grid-template-columns: 1fr; }
  .about-hero__line { font-size: 30px; }
  .about-body p { font-size: 16.5px; }
  .cta-centred h2, .cta-band h2 { font-size: 27px; letter-spacing: -0.8px; }
  .notify h2 { font-size: 29px; }
  .notify .notify-form input { width: 100%; }
  .notify-form { flex-direction: column; }
  .notify-form button { width: 100%; }
  .roll-grid { grid-template-columns: repeat(5, 1fr); }
  .site-footer__legal { flex-direction: column; gap: 10px; }

  /* Pricing table becomes a stack of rows. The column header goes away, so the
     guest count has to name itself — it is the number the whole price list
     hangs on. */
  .tiers__head { display: none; }
  .tiers__row, .tiers__row--pop {
    grid-template-columns: auto auto;
    gap: 4px 12px;
    padding: 16px 18px;
  }
  .tiers__event { grid-column: 1 / -1; }
  .tiers__price { justify-self: end; }
  .tiers__guests::after {
    content: " GUESTS";
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--ink-2);
  }
}
