/* =========================================================
   kēj coffee — homepage
   Layout: one quiet editorial screen. Logo top-left, three
   chapters (coffee, matcha, stories) set low on the right,
   a handwritten note anchoring the bottom-left corner.
   Type: Montserrat for headings, Cutive Mono for body,
   La Belle Aurore for handwritten notes.
   ========================================================= */

:root {
  --paper: #f6f0eb;   /* brand, 80% */
  --ink: #56493f;     /* brand accent, 20% */
  --ink-soft: #7a6b5f;
  --line: rgba(86, 73, 63, 0.22);

  --head: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --body: "Cutive Mono", "Courier New", Courier, monospace;
  --note: "La Belle Aurore", "Bradley Hand", "Segoe Script", cursive;

  --pad-x: clamp(20px, 4.5vw, 64px);
  --pad-y: clamp(20px, 4vw, 48px);
  --logo-w: clamp(62px, 5.6vw, 88px);

  color-scheme: light;
}

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

html, body { height: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p, ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 1.5px solid var(--ink); outline-offset: 4px; }

/* ---------- frame ---------- */
.frame {
  min-height: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
  padding-block: var(--pad-y);
  padding-left: max(var(--pad-x), env(safe-area-inset-left, 0px));
  padding-right: max(var(--pad-x), env(safe-area-inset-right, 0px));
}

/* ---------- header ---------- */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}
.brand img { width: var(--logo-w); }

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px clamp(16px, 2.4vw, 34px);
  padding-top: 6px;
}
.site-nav a {
  font-family: var(--head);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding-block: 4px;
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease;
}
.site-nav a:hover { border-color: var(--ink); }

.site-header { position: relative; }
.header-right { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 36px); }
.site-nav { padding-top: 0; }

.wa-icon { width: 14px; height: 14px; flex: none; }
.book-btn, .moments-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px 8px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-family: var(--head);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color .6s ease, color .6s ease;
}
.book-btn:hover, .moments-cta:hover { background: var(--ink); color: var(--paper); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px 0;
  font-family: var(--head);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 14px);
    left: 0; right: 0;
    z-index: 30;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
    padding: 22px 0 26px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { font-size: 11px; }
}

/* ---------- opening screen ---------- */
.opening {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 2.1fr);
  align-items: end;
  gap: clamp(24px, 4vw, 64px);
  padding-top: clamp(80px, 16vh, 220px);
}

.handnote {
  font-family: var(--note);
  font-size: clamp(28px, 2.7vw, 40px);
  line-height: 1.3;
  display: flex;
  flex-direction: column;
  transform: rotate(-4deg);
  transform-origin: left bottom;
  padding-bottom: 4px;
}
.handnote span:nth-child(2) { padding-left: 0.9em; }
.handnote span:nth-child(3) { padding-left: 0.3em; }

.chapters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.6vw, 40px);
  max-width: 860px;
  justify-self: end;
  width: 100%;
}

.chapter-link { display: flex; flex-direction: column; height: 100%; }

.chapter-head {
  font-family: var(--head);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.chapter-sub {
  margin-top: 4px;
  font-family: var(--head);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.chapter-media {
  margin-top: 16px;
  overflow: hidden;
  background: #e9e0d7;
}
.chapter-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  filter: saturate(0.82);
  transition: transform 1.1s cubic-bezier(.2,.7,.2,1), filter .8s ease;
}
.chapter-link:hover .chapter-media img { transform: scale(1.04); filter: saturate(1); }

.chapter-text {
  margin-top: 18px;
  font-family: var(--body);
  font-size: 11.5px;
  line-height: 1.55;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: justify;
  hyphens: auto;
  flex: 1;
}

.chapter-cta {
  margin-top: 22px;
  align-self: flex-start;
  font-family: var(--head);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease;
}
.chapter-link:hover .chapter-cta { border-color: var(--ink); }

/* ---------- smaller screens ---------- */
@media (max-width: 900px) {
  .opening { grid-template-columns: 1fr; padding-top: clamp(48px, 10vh, 100px); gap: 40px; }
  .chapters { justify-self: stretch; max-width: none; }
  .handnote { order: 2; }
}
@media (max-width: 640px) {
  .header-right { gap: 16px; }
  .book-btn { padding: 8px 12px 7px; letter-spacing: 0.16em; }
  .chapters {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 74%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    margin-right: calc(-1 * max(var(--pad-x), env(safe-area-inset-right, 0px)));
    padding-right: max(var(--pad-x), env(safe-area-inset-right, 0px));
  }
  .chapters::-webkit-scrollbar { display: none; }
  .chapter { scroll-snap-align: start; }
  .chapter-text { font-size: 12px; }
}

/* =========================================================
   INTRO: logo writes in, then glides to the top-left
   ========================================================= */
.intro-stage { display: none; }
.intro .intro-stage {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
}
/* the typed first line */
.intro-line {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: max-content;
  max-width: calc(100vw - 48px);
  margin: 0;
  font-family: var(--body);
  font-size: clamp(14px, 1.25vw, 17px);
  letter-spacing: 0.04em;
  line-height: 1.7;
  text-align: center;
  white-space: pre-wrap;
  text-wrap: balance;
}
@media (max-width: 520px) { .intro-line { max-width: 18em; } }
.intro-line .cursor {
  display: inline-block;
  width: 1px;
  height: 1.05em;
  margin-left: 2px;
  vertical-align: -0.15em;
  background: var(--ink);
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* the logo appears only a little larger than its place in the corner */
.intro-logo {
  position: fixed;
  left: 50%;
  top: 50%;
  width: clamp(84px, 7.5vw, 112px);
  transform: translate(-50%, -50%);
  transform-origin: 0 0;
  opacity: 0;
}
.intro .brand img { visibility: hidden; }

/* page content waits for the logo, then settles in slowly */
.reveal {
  transition:
    opacity 1.2s cubic-bezier(.25,.6,.2,1) var(--d, 0s),
    transform 1.4s cubic-bezier(.25,.6,.2,1) var(--d, 0s);
}
.intro .reveal { opacity: 0; transform: translateY(10px); }
.intro .handnote.reveal { transform: rotate(-4deg) translateY(10px); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* =========================================================
   THE MOMENTS — a bound diary page, then three chapters
   ========================================================= */
.moments {
  position: relative;
  padding-top: clamp(80px, 14vw, 180px);
  background: linear-gradient(to bottom, var(--paper) 0%, #f9f5f1 30%, #f9f5f1 100%);
}

.moments-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(28px, 4vw, 44px);
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}
.moments-title {
  margin: 0;
  font-family: var(--note);
  font-weight: 400;
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.2;
  transform: rotate(-2deg);
  text-wrap: balance;
}
.moments-statement {
  max-width: 46ch;
  font-family: var(--body);
  font-size: clamp(14px, 1.15vw, 16px);
  line-height: 1.75;
  text-wrap: pretty;
}
.moments-cta { margin-top: clamp(12px, 3vw, 36px); padding: 12px 22px 11px; }
.moments-label {
  margin-top: clamp(12px, 3vw, 36px);
  font-family: var(--head);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

/* the notebook binding */
.binding {
  position: relative;
  height: clamp(84px, 8vw, 112px);
  margin-top: clamp(48px, 7vw, 96px);
}
.rod {
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  height: clamp(5px, 0.55vw, 8px);
  transform: translateY(-50%);
  background: linear-gradient(to bottom, #8f877f 0%, #efeae4 35%, #c9c1b8 60%, #7d756d 100%);
  box-shadow: 0 3px 6px rgba(60, 50, 42, 0.18);
}
.ring {
  position: absolute;
  top: 0;
  height: 100%;
  width: auto;
  aspect-ratio: 40 / 96;
  overflow: visible;
  filter: drop-shadow(0 2px 2px rgba(60, 50, 42, 0.2));
}
.ring:nth-of-type(1) { left: 7%; }
.ring:nth-of-type(2) { left: 35%; }
.ring:nth-of-type(3) { left: 63%; }
.ring:nth-of-type(4) { left: 91%; }

.diary-date {
  margin: 14px 0 18px;
  padding-right: max(var(--pad-x), env(safe-area-inset-right, 0px));
  text-align: right;
  font-family: var(--body);
  font-size: 14px;
  letter-spacing: 0.18em;
  font-variant-numeric: tabular-nums;
}

/* three tall pictures, edge to edge with thin gutters */
.moments-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.moment-link { display: flex; flex-direction: column; height: 100%; }
.moment-media { overflow: hidden; background: #e9e0d7; }
.moment-media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  filter: saturate(0.55) contrast(0.98);
  transition: transform 2.4s cubic-bezier(.2,.6,.2,1), filter 1.6s ease;
}
.moment-link:hover .moment-media img { transform: scale(1.03); filter: saturate(0.9); }

.moment-text {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px clamp(16px, 2.4vw, 32px) clamp(48px, 7vw, 96px);
  flex: 1;
}
.moment-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 14px;
  font-family: var(--head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.moment-note {
  font-family: var(--note);
  font-weight: 400;
  font-size: 20px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-soft);
  transform: rotate(-3deg);
  display: inline-block;
}
.moment-body {
  max-width: 40ch;
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink);
}
.moment-cta {
  margin-top: auto;
  padding-top: 8px;
  align-self: flex-start;
  font-family: var(--head);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  border-bottom: 1px solid transparent;
  transition: border-color .6s ease;
}
.moment-link:hover .moment-cta { border-color: var(--ink); }

@media (max-width: 820px) {
  .moments-grid { grid-template-columns: 1fr; gap: 0; }
  .moment-media img { aspect-ratio: 4 / 5; }
  .moment-text { padding-bottom: 56px; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
  .ring:nth-of-type(2), .ring:nth-of-type(3) { display: none; }
  .ring:nth-of-type(1) { left: 14%; }
  .ring:nth-of-type(4) { left: auto; right: 14%; }
}

/* slow fade-up as each part scrolls in (browsers that support it) */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .moments-title, .moments-statement, .moments-label, .moment {
      animation: drift-in linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 70%;
    }
    @keyframes drift-in {
      from { opacity: 0.001; translate: 0 24px; }
      to { opacity: 1; translate: 0 0; }
    }
  }
}

/* =========================================================
   THE STORY SO FAR — a contents page on recycled paper
   ========================================================= */
.contents {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr);
  grid-template-rows: auto 1fr auto;
  padding-block: clamp(36px, 5vw, 64px) clamp(28px, 4vw, 48px);
  padding-left: max(var(--pad-x), env(safe-area-inset-left, 0px));
  padding-right: max(var(--pad-x), env(safe-area-inset-right, 0px));
  background-color: #ece4da;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .34 0 0 0 0 .29 0 0 0 0 .25 0 0 0 .11 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  /* the sheet is pasted onto the page above, so it casts a faint shadow upward */
  box-shadow: 0 -2px 10px rgba(60, 50, 42, 0.07);
  z-index: 1;
}

/* translucent scrapbook tape holding the two pages together */
.tape {
  position: absolute;
  top: clamp(-22px, -1.6vw, -14px);
  width: clamp(110px, 12vw, 170px);
  height: clamp(30px, 3vw, 42px);
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(100deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.22) 75%, rgba(255, 255, 255, 0) 100%),
    rgba(232, 220, 198, 0.62);
  -webkit-backdrop-filter: blur(0.6px) saturate(0.9);
  backdrop-filter: blur(0.6px) saturate(0.9);
  box-shadow: 0 1px 3px rgba(60, 50, 42, 0.16), inset 0 0 0 1px rgba(255, 255, 255, 0.25);
  /* torn ends */
  clip-path: polygon(
    0% 8%, 2% 0%, 4% 10%, 6% 2%, 8% 0%, 92% 0%, 94% 6%, 96% 0%, 98% 9%, 100% 3%,
    100% 92%, 98% 100%, 96% 90%, 94% 98%, 92% 100%, 8% 100%, 6% 93%, 4% 100%, 2% 91%, 0% 97%);
}
.tape::after {
  /* faint fibres in the tape */
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 5px);
  mix-blend-mode: soft-light;
}
.tape-left { left: 16%; transform: rotate(-6deg); }
.tape-right { right: 14%; transform: rotate(4deg); width: clamp(96px, 10vw, 150px); }
@media (max-width: 760px) {
  .tape-left { left: 8%; }
  .tape-right { right: 8%; }
}
/* the deckle edge on the left */
.contents::before {
  content: "";
  position: absolute;
  left: clamp(10px, 2.4vw, 36px);
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--line) 6%, var(--line) 94%, transparent);
  box-shadow: 1px 0 0 rgba(255, 255, 255, .35);
}
.contents-top { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); align-items: baseline; }
.contents-top span {
  margin: 0;
  font-family: var(--body);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.contents-top h2 {
  margin: 0;
  font-family: var(--note);
  font-weight: 400;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.2;
  transform: rotate(-2deg);
  transform-origin: left center;
}
.contents-top span { padding-left: clamp(0px, 4vw, 60px); }

.contents-note {
  grid-column: 1; grid-row: 2;
  align-self: end;
  padding-left: clamp(0px, 4vw, 60px);
  font-family: var(--note);
  font-size: clamp(19px, 1.7vw, 24px);
  line-height: 1.35;
  transform: rotate(-4deg);
  transform-origin: left bottom;
}

.toc { grid-column: 2; grid-row: 2; align-self: start; margin-top: clamp(32px, 4vw, 56px); }
.toc-chapter {
  display: grid;
  grid-template-columns: 3.2em minmax(0, 1fr) minmax(0, 1.55fr);
  column-gap: clamp(10px, 2vw, 28px);
  border-top: 1px solid rgba(86, 73, 63, 0.32);
  padding-bottom: clamp(22px, 3.4vw, 48px);
}
.toc-chapter:last-child { padding-bottom: 0; }
.ch-num, .ch-title {
  margin: 0;
  padding-top: 12px;
  font-family: var(--head);
  font-weight: 700;
  font-size: clamp(13px, 1.2vw, 16px);
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.entries li { border-bottom: 1px solid var(--line); }
.entries li:last-child { border-bottom: 0; }
.entry {
  display: grid;
  grid-template-columns: 3.4em 1.4em minmax(0, 1fr) auto;
  column-gap: 6px;
  padding-block: 12px;
  font-family: var(--body);
  font-size: clamp(12px, 0.95vw, 14px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.45;
}
.e-name { transition: transform 1s cubic-bezier(.2,.6,.2,1); }
.e-val { align-self: end; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; padding-left: 12px; }
.entry:hover .e-name { transform: translateX(6px); }
.entry:hover .e-name { text-decoration: underline; text-decoration-color: var(--ink-soft); text-underline-offset: 4px; }

.contents-foot { grid-column: 1 / -1; grid-row: 3; text-align: right; font-family: var(--body); font-size: 13px; margin-top: clamp(24px, 4vw, 48px); }

@media (max-width: 760px) {
  .contents { grid-template-columns: 1fr; min-height: 0; }
  .contents-top { grid-template-columns: 1fr; row-gap: 10px; }
  .contents-top span { padding-left: 0; }
  .toc { grid-column: 1; margin-top: 32px; }
  .contents-note { grid-row: 3; grid-column: 1; margin-top: 40px; }
  .contents-foot { grid-row: 4; }
  .toc-chapter { grid-template-columns: 2.6em minmax(0, 1fr); }
  .entries { grid-column: 1 / -1; margin-top: 6px; }
  .entry { grid-template-columns: 3.2em 1.2em minmax(0, 1fr) auto; }
}

/* =========================================================
   RECENT PAGES — stories scrolled sideways, scrapbook sizes
   ========================================================= */
.pages {
  position: relative;
  background: var(--paper);
}
.pages-sticky {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vh, 48px);
  padding-block: clamp(64px, 10vw, 120px) clamp(48px, 8vw, 96px);
}
.pages.is-pinned .pages-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  justify-content: center;
  padding-block: clamp(24px, 5vh, 56px);
}

.pages-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: baseline;
  gap: 16px;
  padding-left: max(var(--pad-x), env(safe-area-inset-left, 0px));
  padding-right: max(var(--pad-x), env(safe-area-inset-right, 0px));
}
.pages-label, .pages-count {
  font-family: var(--body);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}
.pages-count { text-align: right; }
.pages-title {
  margin: 0;
  font-family: var(--note);
  font-weight: 400;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.2;
  transform: rotate(-2deg);
  text-align: center;
}

.pages-track {
  display: flex;
  align-items: flex-start;
  gap: clamp(28px, 4vw, 64px);
  padding-left: max(var(--pad-x), env(safe-area-inset-left, 0px));
  padding-right: max(var(--pad-x), env(safe-area-inset-right, 0px));
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  scroll-padding-inline: max(var(--pad-x), env(safe-area-inset-left, 0px));
}
.pages-track::-webkit-scrollbar { display: none; }
.pages.is-pinned .pages-track {
  overflow: visible;
  scroll-snap-type: none;
  will-change: transform;
}

.story { flex: none; scroll-snap-align: start; }
.story-link { display: flex; flex-direction: column; }
.story-media { position: relative; margin: 0; background: #ece4da; }
.story-media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7);
  transition: filter 1.6s ease;
}
.story-link:hover .story-media img { filter: saturate(0.95); }

/* one shared height, a different width for each page */
.pages { --row-h: clamp(220px, 36vh, 360px); }
.story-media { height: var(--row-h); }
.story-wide   { width: calc(var(--row-h) * 1.5); }
.story-tall   { width: calc(var(--row-h) * 0.68); }
.story-square { width: calc(var(--row-h) * 1.22); }
.story-kiosk  { width: calc(var(--row-h) * 0.8); }
.story-kiosk .story-media img { object-fit: contain; padding: 10% 8% 4%; filter: none; }
.story-small  { width: calc(var(--row-h) * 0.62); }
.story-wide2  { width: calc(var(--row-h) * 1.3); }
.story-tall2  { width: calc(var(--row-h) * 1.25); }

.draft-note {
  position: absolute;
  z-index: 1;
  right: 10px;
  bottom: 8px;
  padding: 2px 10px 0;
  font-family: var(--note);
  font-size: 18px;
  line-height: 1.3;
  color: var(--ink);
  background: rgba(246, 240, 235, 0.85);
  transform: rotate(-4deg);
}

.story-kind {
  margin-top: 18px;
  font-family: var(--head);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.story-extra { font-weight: 500; }
.story-title {
  margin: 6px 0 0;
  font-family: var(--head);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.5;
}
.story-text {
  margin-top: 12px;
  max-width: 44ch;
  font-family: var(--body);
  font-size: 13px;
  line-height: 1.65;
}

.pages-progress {
  margin-left: max(var(--pad-x), env(safe-area-inset-left, 0px));
  margin-right: max(var(--pad-x), env(safe-area-inset-right, 0px));
  height: 1px;
  background: var(--line);
}
.pages-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--ink);
}

@media (max-width: 760px) {
  .pages-head { grid-template-columns: 1fr auto; }
  .pages-title { grid-column: 1 / -1; grid-row: 2; text-align: left; transform-origin: left center; }
  .pages { --row-h: 240px; }
}

/* =========================================================
   FOOTER — details on the left, instagram on the right
   ========================================================= */
.site-footer {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding-block: clamp(28px, 4vw, 44px) clamp(24px, 3vw, 36px);
  padding-left: max(var(--pad-x), env(safe-area-inset-left, 0px));
  padding-right: max(var(--pad-x), env(safe-area-inset-right, 0px));
  display: flex;
  flex-direction: column;
  gap: clamp(56px, 9vw, 120px);
}
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.footer-brand img { width: clamp(58px, 5vw, 80px); }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px clamp(14px, 2vw, 28px); padding-top: 4px; }
.footer-nav a, .ig-handle {
  font-family: var(--head);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding-block: 3px;
  border-bottom: 1px solid transparent;
  transition: border-color .6s ease;
}
.footer-nav a:hover, .ig-handle:hover { border-color: var(--ink); }

.footer-body {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
  padding-left: clamp(0px, 4vw, 64px);
}
.footer-info { display: flex; flex-direction: column; gap: clamp(36px, 5vw, 56px); padding-top: 4px; }
.footer-label {
  margin: 0 0 16px;
  font-family: var(--head);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.footer-list { display: flex; flex-direction: column; gap: 2px; font-family: var(--body); font-size: 13.5px; line-height: 1.6; }
.footer-list a { border-bottom: 1px solid transparent; transition: border-color .6s ease; }
.footer-list a:hover { border-color: var(--ink-soft); }
.footer-cols { display: grid; grid-template-columns: repeat(2, max-content); column-gap: clamp(28px, 4vw, 56px); }
.footer-signoff {
  font-family: var(--note);
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.3;
  transform: rotate(-3deg);
  transform-origin: left center;
}

.footer-ig { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.ig-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(8px, 1.2vw, 14px); }
.ig-tile { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #ece4da; }
.ig-tile img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.6); transition: filter 1.4s ease, transform 2s cubic-bezier(.2,.6,.2,1); }
.ig-hover {
  position: absolute; inset: auto 0 0 0;
  padding: 10px 12px;
  font-family: var(--body); font-size: 11px; letter-spacing: 0.06em;
  color: var(--paper);
  background: linear-gradient(to top, rgba(40, 33, 28, 0.55), transparent);
  opacity: 0; transition: opacity .8s ease;
}
.ig-tile:hover img { filter: saturate(0.95); transform: scale(1.03); }
.ig-tile:hover .ig-hover, .ig-tile:focus-visible .ig-hover { opacity: 1; }
.ig-handle { align-self: flex-end; }

.footer-base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--body); font-size: 12px; letter-spacing: 0.06em; color: var(--ink-soft);
}

@media (max-width: 860px) {
  .footer-body { grid-template-columns: 1fr; padding-left: 0; }
  .footer-ig { order: -1; }
}
@media (max-width: 520px) {
  .ig-grid { gap: 6px; }
  .footer-nav { gap: 6px 10px; flex-wrap: nowrap; }
  .footer-nav a { font-size: 8.5px; letter-spacing: 0.12em; }
  .ig-hover { display: none; }
}

/* =========================================================
   FEATURED STORY — a full-bleed photograph and a quiet row of text
   ========================================================= */
.featured { background: #f9f5f1; padding-top: clamp(24px, 5vw, 64px); }
.featured-media { position: relative; margin: 0; }
.featured-media img {
  display: block;
  width: 100%;
  height: clamp(360px, 68vh, 720px);
  object-fit: cover;
  object-position: 50% 45%;
  filter: grayscale(1) sepia(0.12) contrast(1.02);
}
.featured-tag {
  position: absolute;
  top: clamp(16px, 2.4vw, 32px);
  left: max(var(--pad-x), env(safe-area-inset-left, 0px));
  font-family: var(--body);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(246, 240, 235, 0.92);
  padding: 5px 10px 4px;
}

.featured-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 48px);
  padding-block: clamp(28px, 3.4vw, 44px) clamp(64px, 9vw, 120px);
  padding-left: max(calc(var(--pad-x) + clamp(0px, 4vw, 60px)), env(safe-area-inset-left, 0px));
  padding-right: max(var(--pad-x), env(safe-area-inset-right, 0px));
}
.featured-col { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.featured-title {
  margin: 0;
  font-family: var(--note);
  font-weight: 400;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.2;
}
.featured-meta, .featured-label {
  margin: 0;
  font-family: var(--head);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.featured-label { color: var(--ink); margin-bottom: 4px; }
.featured-text { font-family: var(--body); font-size: 13px; line-height: 1.65; max-width: 34ch; }
.featured-link {
  align-self: flex-start;
  font-family: var(--body);
  font-size: 13px;
  border-bottom: 1px solid var(--taupe, #b19d89);
  transition: border-color .6s ease;
}
.featured-link:hover { border-color: var(--ink); }

@media (max-width: 860px) {
  .featured-row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
}
@media (max-width: 520px) {
  .featured-media img { height: 62vh; object-position: 40% 50%; }
  .featured-row { grid-template-columns: 1fr; padding-left: max(var(--pad-x), env(safe-area-inset-left, 0px)); }
}


/* footer: whatsapp line, with kēj written over 535 (5-3-5 spells k-e-j on a keypad) */
.wa-line { display: inline-flex; align-items: center; gap: 8px; }
.kej-digits { position: relative; display: inline-block; }
.kej-note {
  position: absolute;
  left: 50%;
  bottom: 80%;
  transform: translateX(-50%) rotate(-6deg);
  font-family: var(--note);
  font-size: 18px;
  line-height: 1;
  color: var(--ink-soft);
  white-space: nowrap;
  pointer-events: none;
}
.footer-list li:has(.wa-line) { padding-top: 12px; }

/* =========================================================
   MENU PAGE — categories on the left, drinks on the right
   ========================================================= */
.menu-page { height: auto; }
.frame-short { min-height: 0; display: block; padding-bottom: 0; }
.site-nav a[aria-current="page"] { border-color: var(--ink); }

.mp {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(0, 2.15fr);
  gap: clamp(32px, 5vw, 88px);
  padding-block: clamp(56px, 9vw, 120px) clamp(48px, 7vw, 96px);
  padding-left: max(var(--pad-x), env(safe-area-inset-left, 0px));
  padding-right: max(var(--pad-x), env(safe-area-inset-right, 0px));
  align-items: start;
}
.mp-side { position: sticky; top: clamp(24px, 4vw, 48px); align-self: start; }
.mp-side-inner { display: flex; flex-direction: column; gap: 22px; padding-left: clamp(0px, 3vw, 48px); max-width: 300px; }
.mp-title { margin: 0; font-family: var(--note); font-weight: 400; font-size: clamp(32px, 3.2vw, 46px); line-height: 1.1; transform: rotate(-2deg); transform-origin: left center; }
.mp-intro { font-family: var(--body); font-size: 13px; line-height: 1.7; }
.mp-cats ul { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.mp-cats li { border-bottom: 1px solid var(--line); }
.mp-cats a {
  display: grid;
  grid-template-columns: 2.4em 1fr auto;
  align-items: baseline;
  padding-block: 10px;
  font-family: var(--head);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color .5s ease, padding .8s cubic-bezier(.2,.6,.2,1);
}
.mp-n, .mp-count { font-family: var(--body); font-weight: 400; letter-spacing: 0.06em; font-size: 12px; }
.mp-count { color: var(--ink-soft); }
.mp-cats a:hover, .mp-cats a.is-current { color: var(--ink); }
.mp-cats a.is-current { padding-left: 8px; }
.mp-note { font-family: var(--body); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }
.mp-book { align-self: flex-start; margin-top: 0; }

.mp-body { display: flex; flex-direction: column; gap: clamp(64px, 8vw, 112px); min-width: 0; }
.mp-cat { scroll-margin-top: 32px; }
.mp-cat-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding-bottom: 12px; margin-bottom: clamp(18px, 2.4vw, 28px);
  border-bottom: 1px solid var(--line);
}
.mp-cat-head h2 { margin: 0; font-family: var(--head); font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }
.mp-cat-head h2 span { font-family: var(--body); font-weight: 400; margin-right: 10px; }
.mp-cat-sub { font-family: var(--note); font-size: 20px; color: var(--ink-soft); transform: rotate(-3deg); }

.mp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3.4vw, 48px) clamp(14px, 2vw, 26px); }
.mp-item { display: flex; flex-direction: column; min-width: 0; }
.mp-media { position: relative; aspect-ratio: 6 / 5; overflow: hidden; background: #ece4da; }
.mp-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; filter: saturate(0.75); transition: opacity 1.2s ease, filter 1.2s ease; }
.mp-item:hover .mp-img { filter: saturate(1); }
.mp-img-iced { opacity: 0; }
.mp-item.has-iced:hover .mp-img-iced, .mp-item.show-iced .mp-img-iced { opacity: 1; }
.mp-swap {
  position: absolute; right: 8px; bottom: 6px;
  font-family: var(--note); font-size: 17px; color: var(--ink);
  background: rgba(246, 240, 235, 0.88); padding: 1px 8px 0; transform: rotate(-4deg);
  opacity: 0; transition: opacity .8s ease;
}
.mp-item.has-iced:hover .mp-swap, .mp-item.show-iced .mp-swap { opacity: 1; }
.mp-noimg {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--note); font-size: 26px; color: var(--ink-soft); transform: rotate(-4deg);
}

.mp-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 14px; }
.mp-name { margin: 0; font-family: var(--head); font-size: 10.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; line-height: 1.5; }
.mp-name i { font-family: var(--body); font-style: normal; font-weight: 400; letter-spacing: 0.04em; text-transform: none; color: var(--ink-soft); margin-left: 4px; }
.mp-price { font-family: var(--head); font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mp-desc { margin-top: 8px; font-family: var(--body); font-size: 12.5px; line-height: 1.6; max-width: 36ch; }

.mp-extras { display: flex; flex-direction: column; max-width: 520px; }
.mp-extras li { display: flex; justify-content: space-between; gap: 16px; padding-block: 12px; border-bottom: 1px solid var(--line); font-family: var(--body); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }

.mp-strip {
  display: grid;
  grid-template-columns: repeat(4, auto) 1fr;
  align-items: end;
  gap: 12px clamp(24px, 5vw, 80px);
  padding-block: 18px 28px;
  padding-left: max(var(--pad-x), env(safe-area-inset-left, 0px));
  padding-right: max(var(--pad-x), env(safe-area-inset-right, 0px));
  font-family: var(--head); font-size: 9.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
}
.mp-strip b { justify-self: end; font-size: clamp(14px, 1.4vw, 18px); font-weight: 700; letter-spacing: 0.12em; }

@media (max-width: 900px) {
  .mp { grid-template-columns: 1fr; padding-top: 40px; row-gap: 18px; }
  /* let the category bar stick for the whole menu, not just the side column */
  .mp-side, .mp-side-inner { display: contents; }
  .mp-intro { max-width: 52ch; }
  .mp-note { order: 1; margin-top: 8px; }
  .mp-book { order: 1; }
  .mp-body { margin-top: 24px; }
  .mp-cats {
    position: sticky; top: 0; z-index: 20;
    margin-inline: calc(-1 * max(var(--pad-x), env(safe-area-inset-left, 0px)));
    padding-inline: max(var(--pad-x), env(safe-area-inset-left, 0px));
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    overflow-x: auto; scrollbar-width: none;
  }
  .mp-cats::-webkit-scrollbar { display: none; }
  .mp-cats ul { flex-direction: row; border: 0; gap: 18px; }
  .mp-cats li { border: 0; flex: none; }
  .mp-cats a { display: flex; gap: 6px; padding-block: 12px; border-bottom: 1px solid transparent; }
  .mp-cats a.is-current { padding-left: 0; border-color: var(--ink); }
  .mp-count { display: none; }
  .mp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mp-cat { scroll-margin-top: 64px; }
}
@media (max-width: 520px) {
  .mp-grid { grid-template-columns: 1fr 1fr; gap: 28px 12px; }
  .mp-desc { font-size: 12px; }
  .mp-name i { display: block; margin: 2px 0 0; }
  .mp-strip { grid-template-columns: 1fr 1fr; }
  .mp-strip b { grid-column: 1 / -1; justify-self: start; }
}

/* =========================================================
   SUB-PAGES — shared page head and chapters
   ========================================================= */
.sub-page { height: auto; }
.sub-page main {
  padding-left: max(var(--pad-x), env(safe-area-inset-left, 0px));
  padding-right: max(var(--pad-x), env(safe-area-inset-right, 0px));
  padding-bottom: clamp(64px, 9vw, 120px);
}
.pg-head {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(0, 2.15fr);
  column-gap: clamp(32px, 5vw, 88px);
  row-gap: 14px;
  padding-block: clamp(64px, 11vw, 150px) clamp(48px, 7vw, 96px);
  align-items: end;
}
.pg-label { margin: 0; grid-column: 1; font-family: var(--body); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); padding-left: clamp(0px, 3vw, 48px); }
.pg-title { grid-column: 1; margin: 0; padding-left: clamp(0px, 3vw, 48px); font-family: var(--note); font-weight: 400; font-size: clamp(40px, 4.4vw, 64px); line-height: 1.05; transform: rotate(-2deg); transform-origin: left center; }
.pg-lead { grid-column: 2; grid-row: 1 / span 2; align-self: end; max-width: 46ch; font-family: var(--body); font-size: clamp(15px, 1.25vw, 18px); line-height: 1.7; }

.pg-chapter {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(0, 2.15fr);
  column-gap: clamp(32px, 5vw, 88px);
  padding-block: clamp(36px, 5vw, 64px);
  border-top: 1px solid var(--line);
  scroll-margin-top: 24px;
}
.pg-chapter-side { padding-left: clamp(0px, 3vw, 48px); display: flex; flex-direction: column; gap: 6px; align-self: start; position: sticky; top: 32px; }
.pg-num { margin: 0; font-family: var(--head); font-weight: 700; font-size: 14px; }
.pg-chapter-title { margin: 0; font-family: var(--head); font-weight: 700; font-size: clamp(13px, 1.2vw, 16px); letter-spacing: 0.04em; text-transform: uppercase; }
.pg-margin-note { font-family: var(--note); font-size: 20px; color: var(--ink-soft); transform: rotate(-3deg); transform-origin: left center; margin-top: 8px; }
.pg-chapter-body { display: flex; flex-direction: column; gap: clamp(24px, 3vw, 40px); min-width: 0; }
.pg-big { font-family: var(--body); font-size: clamp(17px, 1.6vw, 22px); line-height: 1.6; max-width: 40ch; }
.pg-text { display: flex; flex-direction: column; gap: 14px; font-family: var(--body); font-size: 14px; line-height: 1.75; max-width: 52ch; min-width: 0; }
.pg-text-note { font-family: var(--note); font-size: clamp(22px, 2vw, 28px); transform: rotate(-2deg); transform-origin: left center; }
.pg-split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.pg-split-rev { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.pg-figure { margin: 0; }
.pg-figure img { width: 100%; display: block; }
.pg-figure-paper { background: #ece4da; padding: clamp(20px, 3vw, 40px); }
.pg-figure-paper img { max-width: 300px; margin-inline: auto; }
.pg-figure-line img { max-width: 360px; margin-inline: auto; }
.pg-duo { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(16px, 2.4vw, 32px); align-items: start; }
.pg-duo img { height: clamp(260px, 30vw, 420px); object-fit: cover; filter: saturate(0.75); }
.pg-duo figcaption { margin-top: 14px; font-family: var(--body); font-size: 13px; line-height: 1.7; max-width: 44ch; }
.pg-duo figcaption b, .pg-notes b { font-family: var(--head); font-size: 10.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; margin-right: 6px; }
.pg-pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); }
.pg-pillars li { border-left: 2px solid var(--ink); padding: 28px 0 4px 14px; }
.pg-pillars h3 { margin: 0 0 8px; font-family: var(--head); font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.pg-pillars p { font-family: var(--body); font-size: 13px; line-height: 1.65; }
.pg-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.pg-notes-head { margin: 0 0 6px; font-family: var(--note); font-weight: 400; font-size: 26px; }
.pg-notes li { padding-block: 12px; border-bottom: 1px solid var(--line); font-family: var(--body); font-size: 13.5px; line-height: 1.65; }
.pg-not s { text-decoration-color: var(--taupe, #b19d89); text-decoration-thickness: 2px; margin-right: 6px; font-family: var(--head); font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.pg-mv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); padding-top: 12px; }
.pg-mv .pg-label { padding-left: 0; margin-bottom: 10px; color: var(--ink); font-family: var(--head); font-weight: 700; font-size: 10.5px; letter-spacing: 0.2em; }
.pg-mv p { font-family: var(--body); font-size: 14px; line-height: 1.75; }

/* ---------- pricing ---------- */
.pr-hero { text-align: center; padding-block: clamp(64px, 10vw, 140px) clamp(40px, 6vw, 80px); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.pr-pre { font-family: var(--body); font-size: clamp(15px, 1.4vw, 19px); letter-spacing: 0.04em; }
.pr-title { margin: 0; font-family: var(--head); font-weight: 600; font-size: clamp(34px, 5.4vw, 72px); letter-spacing: 0.32em; text-transform: uppercase; line-height: 1.1; padding-left: 0.32em; }
.pr-sub { font-family: var(--note); font-size: clamp(22px, 2.2vw, 30px); transform: rotate(-2deg); }
.pr-main { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(32px, 6vw, 96px); align-items: center; max-width: 1180px; margin-inline: auto; }
.pr-table-wrap { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.pr-table-head { display: flex; justify-content: space-between; padding-bottom: 10px; border-bottom: 1px solid rgba(86, 73, 63, 0.4); }
.pr-table-head i { display: block; margin-top: 4px; font-family: var(--body); font-style: normal; font-weight: 400; font-size: 11px; letter-spacing: 0.04em; text-transform: none; color: var(--ink-soft); }
.pr-table-head span { text-align: right; }
.pr-table-head h2, .pr-table-head span { margin: 0; font-family: var(--head); font-size: 10.5px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; }
.pr-table li { display: grid; grid-template-columns: 1fr auto; gap: clamp(12px, 3vw, 40px); align-items: baseline; padding-block: 16px; border-bottom: 1px solid var(--line); font-family: var(--body); font-variant-numeric: tabular-nums; }
.pr-cups { font-size: clamp(15px, 1.4vw, 19px); }
.pr-rate { font-family: var(--head); font-weight: 600; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; text-align: right; min-width: 9ch; }
.pr-note { font-family: var(--body); font-size: 13px; line-height: 1.7; color: var(--ink-soft); max-width: 60ch; }
.pr-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 12px; }
.pr-contact .moments-cta { margin-top: 0; }
.pr-number { font-family: var(--body); font-size: 15px; letter-spacing: 0.04em; padding-top: 12px; }
.pr-kiosk { margin: 0; background: radial-gradient(closest-side, #fbf8f5, var(--paper)); padding: 24px; text-align: center; }
.pr-kiosk img { width: 100%; max-width: 360px; margin-inline: auto; filter: drop-shadow(0 24px 30px rgba(60, 50, 42, 0.16)); }
.pr-kiosk figcaption { margin-top: 14px; font-family: var(--note); font-size: 22px; transform: rotate(-3deg); }
.pr-steps { max-width: 1180px; margin: clamp(64px, 9vw, 120px) auto 0; border-top: 1px solid var(--line); padding-top: clamp(32px, 4vw, 48px); }
.pr-how { margin: 0 0 28px; font-family: var(--note); font-weight: 400; font-size: clamp(28px, 2.6vw, 36px); transform: rotate(-2deg); transform-origin: left center; }
.pr-steps ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); padding: 0; margin: 0; list-style: none; }
.pr-steps li span { font-family: var(--body); font-size: 12px; }
.pr-steps h3 { margin: 8px 0; font-family: var(--head); font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }
.pr-steps p { font-family: var(--body); font-size: 13.5px; line-height: 1.7; max-width: 36ch; }

/* ---------- retail ---------- */
.rt-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 44px); }
.rt-item { display: flex; flex-direction: column; min-width: 0; scroll-margin-top: 24px; }
.rt-media { margin-top: 16px; aspect-ratio: 4 / 5; overflow: hidden; background: #ece4da; position: relative; }
.rt-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.75); }
.rt-noimg { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font-family: var(--note); font-size: 32px; transform: rotate(-3deg); }
.rt-noimg small { font-family: var(--body); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); transform: rotate(3deg); }
.rt-text { margin-top: 18px; font-family: var(--body); font-size: 14px; line-height: 1.7; }
.rt-ritual { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-family: var(--body); font-size: 13px; line-height: 1.7; color: var(--ink-soft); }
.rt-ritual span { display: block; font-family: var(--note); font-size: 20px; color: var(--ink); margin-bottom: 4px; }
.rt-cta { margin-top: 18px; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-family: var(--head); font-size: 10px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; padding-bottom: 3px; border-bottom: 1px solid var(--ink); }
.rt-order { margin-top: clamp(64px, 9vw, 120px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.rt-order-title { margin: 0; font-family: var(--note); font-weight: 400; font-size: clamp(28px, 2.6vw, 36px); }
.rt-order p { font-family: var(--body); font-size: 14px; line-height: 1.7; max-width: 46ch; }
.rt-order .moments-cta { margin-top: 8px; }

/* ---------- shared stories ---------- */
.st-filters { display: flex; flex-wrap: wrap; gap: 10px; padding-bottom: 28px; padding-left: clamp(0px, 3vw, 48px); }
.st-filter { font-family: var(--head); font-size: 10px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink); background: none; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px 7px; cursor: pointer; transition: background-color .5s ease, color .5s ease, border-color .5s ease; }
.st-filter[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.st-list { display: flex; flex-direction: column; }
.st-entry { display: grid; grid-template-columns: minmax(60px, 0.3fr) minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(20px, 4vw, 64px); padding-block: clamp(28px, 4vw, 48px); border-top: 1px solid var(--line); align-items: start; scroll-margin-top: 24px; }
.st-entry[hidden] { display: none; }
.st-num { margin: 0; padding-left: clamp(0px, 3vw, 48px); font-family: var(--body); font-size: 13px; }
.st-media { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: #ece4da; }
.st-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.75); }
.st-media-paper img { object-fit: contain; padding: 6%; filter: none; }
.st-text { display: flex; flex-direction: column; gap: 12px; max-width: 46ch; font-family: var(--body); font-size: 14px; line-height: 1.75; }
.st-kind { font-family: var(--head); font-size: 10px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-soft); }
.st-title { margin: 0; font-family: var(--note); font-weight: 400; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.2; }

/* ---------- sub-page responsive ---------- */
@media (max-width: 900px) {
  .pg-head, .pg-chapter { grid-template-columns: 1fr; }
  .pg-lead { grid-column: 1; grid-row: auto; }
  .pg-label, .pg-title, .pg-chapter-side, .st-filters, .st-num { padding-left: 0; }
  .pg-chapter-side { position: static; flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 10px; margin-bottom: 18px; }
  .pg-margin-note { margin-top: 0; }
  .pg-split, .pg-split-rev, .pr-main { grid-template-columns: 1fr; }
  .pg-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
  .pr-steps ol, .rt-grid { grid-template-columns: 1fr; }
  .rt-media { aspect-ratio: 4 / 3; }
  .st-entry { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 560px) {
  .pg-duo, .pg-notes, .pg-mv { grid-template-columns: 1fr; }
  .pg-pillars { grid-template-columns: 1fr; }
}

/* ---------- catering FAQs ---------- */
.faq {
  max-width: 1180px;
  margin: clamp(64px, 9vw, 120px) auto 0;
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr);
  gap: clamp(32px, 5vw, 88px);
  align-items: start;
}
.faq-side { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; position: sticky; top: 32px; }
.faq-title { margin: 0; font-family: var(--note); font-weight: 400; font-size: clamp(28px, 2.6vw, 36px); line-height: 1.2; transform: rotate(-2deg); transform-origin: left center; }
.faq-side-note { font-family: var(--body); font-size: 13.5px; line-height: 1.7; max-width: 30ch; }
.faq-side .moments-cta { margin-top: 4px; }
.faq-list { border-top: 1px solid rgba(86, 73, 63, 0.4); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-block: 18px;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { font-family: var(--head); font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; line-height: 1.5; }
.faq-mark { position: relative; flex: none; width: 12px; height: 12px; }
.faq-mark::before, .faq-mark::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--ink); transition: transform .6s cubic-bezier(.2,.6,.2,1); }
.faq-mark::after { transform: rotate(90deg); }
.faq-item[open] .faq-mark::after { transform: rotate(0deg); }
.faq-item summary:hover .faq-q { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--ink-soft); }
.faq-a { margin: 0; padding: 0 32px 20px 0; max-width: 62ch; font-family: var(--body); font-size: 14px; line-height: 1.75; }
@media (prefers-reduced-motion: no-preference) {
  .faq-item[open] .faq-a { animation: faq-open .7s cubic-bezier(.2,.6,.2,1); }
  @keyframes faq-open { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 900px) {
  .faq { grid-template-columns: 1fr; }
  .faq-side { position: static; }
}

/* ---------- stories list: links into each story ---------- */
.st-media-link { display: block; }
.st-title a:hover, .st-read:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--ink-soft); }
.st-read { align-self: flex-start; margin-top: 4px; font-family: var(--head); font-size: 10px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; }

/* =========================================================
   ONE STORY — a blog post laid out like a scrapbook page
   ========================================================= */
.sp { display: flex; flex-direction: column; }
.sp-draft {
  align-self: center; margin-top: 28px;
  font-family: var(--note); font-size: 18px; color: var(--ink-soft);
  background: #ece4da; padding: 3px 14px 1px; transform: rotate(-1.5deg);
}

/* opening: a giant faded word behind a framed portrait */
.sp-open { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: clamp(40px, 6vw, 80px); }
.sp-ghost {
  position: absolute; top: clamp(24px, 3vw, 48px); left: 50%; transform: translateX(-50%);
  margin: 0; font-family: var(--head); font-weight: 300; text-transform: uppercase;
  font-size: clamp(72px, 15vw, 230px); letter-spacing: 0.04em; line-height: 1;
  color: var(--ink); opacity: 0.09; white-space: nowrap; pointer-events: none;
}
.sp-portrait {
  position: relative; margin: clamp(48px, 6vw, 96px) 0 0;
  width: clamp(200px, 21vw, 300px); padding: 8px; background: #fbf8f5;
  box-shadow: 0 10px 30px rgba(60, 50, 42, 0.12);
}
.sp-portrait img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; filter: saturate(0.8); }
.sp-kind { margin-top: clamp(36px, 5vw, 56px); font-family: var(--head); font-size: 10px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-soft); }
.sp-title { margin: 10px 0 0; font-family: var(--note); font-weight: 400; font-size: clamp(34px, 3.8vw, 54px); line-height: 1.15; transform: rotate(-1.5deg); }
.sp-intro { margin-top: clamp(24px, 3vw, 36px); max-width: 56ch; display: flex; flex-direction: column; gap: 14px; font-family: var(--body); font-size: 14px; line-height: 1.8; }
.sp-meta { margin-top: 28px; font-family: var(--head); font-size: 9.5px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; }

/* full-bleed panel: three photos with the title across them */
.sp-panel {
  position: relative;
  margin-top: clamp(72px, 10vw, 140px);
  margin-inline: calc(-1 * max(var(--pad-x), env(safe-area-inset-left, 0px)));
}
.sp-panel-imgs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); height: clamp(360px, 72vh, 760px); }
.sp-panel-imgs img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.6) brightness(0.72); }
.sp-panel-imgs img:nth-child(2) { filter: grayscale(1) brightness(0.8) contrast(1.05); }
.sp-panel-text { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; color: var(--paper); padding-inline: 20px; }
.sp-panel-title { margin: 0; font-family: var(--head); font-weight: 400; font-size: clamp(22px, 3vw, 44px); letter-spacing: 0.16em; text-transform: uppercase; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25); }
.sp-panel-title span { font-family: var(--note); text-transform: none; letter-spacing: 0; font-size: 1.15em; margin-inline: 0.15em; }
.sp-panel-sub { font-family: var(--note); font-size: clamp(18px, 1.8vw, 24px); opacity: 0.92; }

/* the write-up */
.sp-body { display: flex; flex-direction: column; align-items: center; padding-top: clamp(72px, 10vw, 140px); }
.sp-pull { font-family: var(--note); font-size: clamp(30px, 3.4vw, 50px); text-align: center; color: var(--ink-soft); transform: rotate(-1.5deg); }
.sp-columns { margin-top: clamp(28px, 4vw, 48px); max-width: 820px; columns: 2; column-gap: clamp(28px, 4vw, 56px); font-family: var(--body); font-size: 14px; line-height: 1.8; text-align: justify; hyphens: auto; }
.sp-columns p { margin: 0 0 1.1em; break-inside: avoid; }

/* scrapbook collage */
.sp-collage { position: relative; margin: clamp(80px, 11vw, 150px) auto 0; width: min(100%, 980px); height: clamp(560px, 66vw, 820px); }
.sp-c { position: absolute; margin: 0; }
.sp-c img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sp-c-main { left: 4%; top: 14%; width: 46%; height: 62%; box-shadow: 0 14px 34px rgba(60, 50, 42, 0.14); z-index: 1; }
.sp-c-main img { filter: saturate(0.75); }
.sp-c-small { left: 52%; top: 0; width: 30%; height: 38%; z-index: 1; }
.sp-c-small img { filter: grayscale(1) contrast(1.05); }
.sp-envelope {
  left: 49%; top: 40%; width: 27%; aspect-ratio: 4 / 3; z-index: 2;
  background: linear-gradient(160deg, #efe7da, #e6dccb);
  box-shadow: 0 8px 20px rgba(60, 50, 42, 0.12);
  overflow: hidden;
}
.sp-envelope::before, .sp-envelope::after {
  content: ""; position: absolute; top: 0; width: 72%; height: 100%;
  border-top: 1px solid rgba(86, 73, 63, 0.18);
}
.sp-envelope::before { left: 0; transform-origin: top left; transform: rotate(33deg); }
.sp-envelope::after { right: 0; transform-origin: top right; transform: rotate(-33deg); }
.sp-envelope span { position: absolute; left: 30%; top: 40%; font-family: var(--note); font-size: clamp(13px, 1.3vw, 18px); line-height: 1.2; color: var(--ink); transform: rotate(-12deg); }
.sp-collage-caption {
  position: absolute; left: 0; right: 0; bottom: 0; text-align: center;
  font-family: var(--note); font-size: clamp(22px, 2.4vw, 32px); line-height: 1.45;
}

/* loose gallery */
.sp-gallery {
  margin-top: clamp(80px, 11vw, 150px);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(10px, 1.6vw, 22px);
  align-items: start;
}
.sp-gallery figure { margin: 0; position: relative; }
.sp-gallery img { width: 100%; object-fit: cover; display: block; filter: saturate(0.7); }
.sp-gallery figure { grid-row: 1; }
.sp-gallery .g1 { grid-column: 1 / span 3; margin-top: 6%; } .sp-gallery .g1 img { aspect-ratio: 3 / 4; filter: grayscale(1) contrast(1.05); }
.sp-gallery .g2 { grid-column: 3 / span 2; margin-top: 62%; z-index: 1; } .sp-gallery .g2 img { aspect-ratio: 4 / 5; box-shadow: 0 10px 24px rgba(60, 50, 42, 0.14); }
.sp-gallery .g3 { grid-column: 6 / span 3; margin-top: 14%; } .sp-gallery .g3 img { aspect-ratio: 3 / 4; filter: grayscale(1); }
.sp-gallery .g4 { grid-column: 9 / span 2; } .sp-gallery .g4 img { aspect-ratio: 1; }
.sp-gallery .g5 { grid-column: 11 / span 2; margin-top: 26%; } .sp-gallery .g5 img { aspect-ratio: 3 / 4; }
.sp-gallery .g6 { grid-column: 9 / span 2; margin-top: 112%; } .sp-gallery .g6 img { aspect-ratio: 4 / 5; }
.sp-gallery figcaption {
  position: absolute; right: -26px; bottom: 0;
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-family: var(--head); font-size: 9px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase;
}

/* previous / next */
.sp-nav {
  margin-top: clamp(80px, 11vw, 150px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.sp-prev, .sp-next { display: flex; flex-direction: column; gap: 6px; font-family: var(--note); font-size: 22px; line-height: 1.2; }
.sp-next { text-align: right; align-items: flex-end; }
.sp-prev span, .sp-next span { font-family: var(--head); font-size: 9.5px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-soft); }
.sp-nav-mid { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.sp-all { font-family: var(--head); font-size: 10px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; border-bottom: 1px solid var(--ink); padding-bottom: 3px; }
.sp-nav-mid .moments-cta { margin-top: 0; }

@media (max-width: 760px) {
  .sp-columns { columns: 1; text-align: left; }
  .sp-panel-imgs { grid-template-columns: 1fr 1fr; height: 62vh; }
  .sp-panel-imgs img:nth-child(3) { display: none; }
  .sp-collage { height: auto; display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px; }
  .sp-c { position: relative; left: auto; top: auto; width: auto; height: auto; }
  .sp-c-main { grid-row: 1 / span 2; } .sp-c-main img { aspect-ratio: 3 / 4.4; }
  .sp-c-small img { aspect-ratio: 1; }
  .sp-envelope { width: auto; margin-top: -14px; transform: rotate(-3deg); }
  .sp-envelope span { left: 22%; top: 36%; font-size: 14px; }
  .sp-collage-caption { position: static; grid-column: 1 / -1; margin-top: 28px; font-size: 22px; }
  .sp-gallery { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .sp-gallery .g1 { grid-column: 1 / span 3; } .sp-gallery .g2 { grid-column: 4 / span 3; margin-top: 20%; }
  .sp-gallery .g3 { grid-column: 1 / span 3; margin-top: 0; } .sp-gallery .g4 { grid-column: 4 / span 3; margin-top: 10%; }
  .sp-gallery .g5 { grid-column: 1 / span 3; margin-top: 0; } .sp-gallery .g6 { grid-column: 4 / span 3; margin-top: 0; }
  .sp-gallery figure { grid-row: auto; }
  .sp-gallery figcaption { display: none; }
  .sp-nav { grid-template-columns: 1fr 1fr; }
  .sp-nav-mid { grid-column: 1 / -1; grid-row: 2; }
}
