/* ==========================================================================
   daymaker landing page styles
   sections:
     1.  foundations + layout
     2.  nav
     3.  hero
     4.  receipts wall (tiles, social cards, press strip)
     5.  how it works
     7.  map
     8.  wall (drag-cakes diary)
     9.  faq
     10. disaster (newspaper obituary)
     11. cta receipt
     12. cta manifesto
   (section 6 — cake slip — removed: feature wasn't used in production)
   ========================================================================== */


/* ---------- 1. foundations ---------- */
:root {
  --bg: #F4F0E8;
  --ink: #0A0A0A;
  --pink: #FF4FA3;
  --pink-shadow: #E0327E;
  --pink-soft: #FFB8D8;
  --tape: rgba(255, 232, 138, 0.55);
  --tape-edge: rgba(180, 152, 60, 0.35);
  --muted: #6B6358;
  /* every full-width content column - tuned so rotated wordmark + hero type
     never optically kiss the viewport edge in a narrow (<~900px) desktop window.
     narrowed in @media blocks below for real phones. */
  --page-gutter: max(48px, min(9.5vw, 128px));
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  /* belt + braces against any rotated/over-wide child leaking past the viewport
     on mobile. `clip` is the modern, scroll-anchor-safe way to do this; the
     `hidden` fallback is for older browsers. */
  overflow-x: hidden;
}
@supports (overflow-x: clip) {
  html, body { overflow-x: clip; }
}
html {
  /* lock font-size to user prefs but stop iOS Safari from auto-zooming
     the text on landscape rotation. */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /* tap targets feel clickable but the iOS grey flash is ugly here. */
  -webkit-tap-highlight-color: rgba(255, 79, 163, 0.18);
  scroll-behavior: smooth;
}
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  /* -moz-osx-font-smoothing: grayscale was thinning chrome copy ~half
     a stroke on Firefox/Mac vs. the landing, which doesn't set it.
     Letting the OS pick subpixel keeps /vc visually identical to /. */
  /* respect the iOS notch / home-indicator area when content sits near edges. */
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

/* respect anchor jumps with a safe top inset so headings aren't flush to the
   viewport edge on tap-to-anchor flows. */
:target { scroll-margin-top: 24px; }

/* a sensible focus ring for keyboard users without polluting mouse clicks. */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
  border-radius: 2px;
}

/* media defaults - every <img>/<video> shrinks to its container. Stops a
   wayward image from triggering a horizontal page scroll on small viewports. */
img, video, svg, picture {
  max-width: 100%;
  height: auto;
}

/* form controls inherit body font instead of UA defaults (Safari especially). */
input, select, textarea, button { font-family: inherit; }

/* fluid gutters: --page-gutter is redefined per breakpoint below. */
.wrap {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: var(--page-gutter);
  padding-block: 0;
  position: relative;
  z-index: 1;
}


/* ---------- 2. nav ---------- */
.site-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0 0;
  font-size: 14px;
}
.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  /* counter -2deg rotation on .wordmark so glyphs don't visually bleed past
     the gutter into the browser chrome. */
  padding-left: 6px;
}
.brand .wordmark { line-height: 1; }
.wordmark {
  display: inline-block;
  transform: rotate(-2deg);
  line-height: 0;
}
.wordmark img {
  height: 38px;
  width: auto;
  display: block;
}
.brand-by {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 4px;
  padding: 2px 0;
  font-family: 'Caveat', 'Bradley Hand', 'Marker Felt', 'Segoe Script', 'Comic Sans MS', cursive;
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
  color: var(--muted);
  text-decoration: none;
  transform: rotate(-1.5deg);
  transition: color 0.15s ease, transform 0.15s ease;
}
.brand-by:hover {
  color: var(--ink);
  transform: rotate(-1.5deg) translateY(-1px);
  text-decoration: none;
}
.brand-by__logo {
  height: 22px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
  opacity: 0.9;
  transition: opacity 0.15s ease;
}
.brand-by:hover .brand-by__logo { opacity: 1; }
.site-nav .links { display: flex; gap: 28px; align-items: center; }
.site-nav .links a { color: var(--ink); text-decoration: none; }
.site-nav .links a:hover { text-decoration: underline; text-decoration-style: wavy; }
/* Two-class selector (`a.cta-mini`) so we outrank the `.site-nav .links a`
   rule above which would otherwise force the text to --ink (black) and make
   it invisible on the black pill. */
.site-nav .links a.cta-mini,
.site-nav .cta-mini {
  background: var(--ink);
  color: var(--bg);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
  transform: rotate(1.5deg);
  box-shadow: 3px 3px 0 var(--pink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.site-nav .cta-mini:hover {
  transform: rotate(1.5deg) translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--pink);
  text-decoration: none;
}


/* ---------- 3. hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 1.14fr);
  gap: 48px;
  align-items: start;
  /* vertical only - .wrap supplies padding-inline (--page-gutter). a `padding`
     shorthand here would zero left/right and misalign the hero vs the header. */
  padding-block: 56px 64px;
  position: relative;
}

/* ambient drifting pink glare behind the hero (mirrors the landing page) */
.hero-bg {
  position: absolute;
  inset: -120px -40px;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.hero-bg span {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  will-change: transform;
}
.hero-bg .orb-1 {
  width: 460px; height: 460px;
  top: -40px; left: 8%;
  background: radial-gradient(circle, var(--pink) 0%, transparent 70%);
  opacity: 0.16;
  animation: drift-a 19s ease-in-out infinite;
}
.hero-bg .orb-2 {
  width: 380px; height: 380px;
  top: 60px; right: 10%;
  background: radial-gradient(circle, var(--pink-soft) 0%, transparent 70%);
  opacity: 0.22;
  animation: drift-b 23s ease-in-out infinite;
}
.hero-bg .orb-3 {
  width: 300px; height: 300px;
  bottom: -60px; left: 38%;
  background: radial-gradient(circle, var(--pink) 0%, transparent 70%);
  opacity: 0.10;
  animation: drift-c 27s ease-in-out infinite;
}
@keyframes drift-a {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(40px, 30px) scale(1.08); }
}
@keyframes drift-b {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-36px, 24px) scale(0.94); }
}
@keyframes drift-c {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(24px, -28px) scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg span { animation: none; }
}

/* centered, single-column hero: just the headline + Tom Hammer receipt + CTA,
   stacked and centered. No map preview column. */
.hero--centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-block: 72px 72px;
}
.hero--centered .hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 720px;
  width: 100%;
}
.hero--centered .hero-headline { max-width: 16ch; }
.hero--centered .hero-receipt { display: flex; justify-content: center; }
.hero--centered .cta-row { justify-content: center; width: 100%; }

/* scroll cue: nudges visitors down to the live map (#cakes). handwritten
   label + a gently bouncing arrow in a pink ink circle. */
.hero-scroll-cue {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  text-decoration: none;
  color: var(--muted);
  -webkit-tap-highlight-color: transparent;
}
.hero-scroll-cue__text {
  font-family: 'Caveat', 'Bradley Hand', 'Marker Felt', 'Segoe Script', 'Comic Sans MS', cursive;
  font-size: 20px;
  font-weight: 600;
  transform: rotate(-1deg);
  transition: color 0.15s ease;
}
.hero-scroll-cue__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
  background: var(--bg);
  border: 2px solid var(--ink);
  border-radius: 50%;
  box-shadow: 2px 2px 0 var(--pink);
  animation: hero-cue-bounce 1.8s ease-in-out infinite;
}
.hero-scroll-cue:hover .hero-scroll-cue__text { color: var(--ink); }
.hero-scroll-cue:hover .hero-scroll-cue__arrow {
  transform: translateY(2px);
  box-shadow: 3px 3px 0 var(--pink);
}
@keyframes hero-cue-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(7px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-scroll-cue__arrow { animation: none; }
}

.hero-text { position: relative; }
.eyebrow {
  font-family: 'Caveat', 'Bradley Hand', 'Marker Felt', 'Segoe Script', 'Comic Sans MS', cursive;
  font-size: 22px;
  font-weight: 600;
  color: var(--muted);
  transform: rotate(-1.5deg);
  display: inline-block;
  margin-bottom: 8px;
  padding-left: 5px;
}
.eyebrow::before { content: '↳ '; color: var(--muted); }

.hero h1,
.hero-headline {
  font-family: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(56px, 7.4vw, 104px);
  line-height: 1.0;
  letter-spacing: -0.015em;
  margin: 0 0 28px;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  max-width: 11ch;
}
.hero h1 em,
.hero-headline em {
  font-style: normal;
  font-weight: inherit;
  background: linear-gradient(transparent 62%, rgba(255, 79, 163, 0.35) 62%, rgba(255, 79, 163, 0.35) 86%, transparent 86%);
}

/* embedded LinkedIn receipt under the headline - proof that the joke is real */
.hero-receipt {
  margin: 0 0 32px;
  display: block;
}
.hero-receipt__cap {
  font-family: 'Caveat', 'Bradley Hand', 'Marker Felt', 'Segoe Script', 'Comic Sans MS', cursive;
  font-size: 20px;
  font-weight: 600;
  color: var(--muted);
  transform: rotate(-1deg);
  display: inline-block;
  margin: 0 0 10px;
}
/* hero card: bump specificity (.hero-receipt .hero-li-card) so neither
   the desktop .li-card { width: 380px } nor the mobile
   .li-card { width: min(300px, ...) } can override the hero's intent.
   the hero card is a "social-media post under the headline" prop, not a
   scrollable carousel tile, so it should sit at a comfortable
   reading-card width regardless of viewport. */
.hero-receipt .hero-li-card {
  width: min(380px, 100%);
  max-width: 380px;
  transform: rotate(-1.5deg);
}

.cta-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin: 0; }
.btn-primary {
  display: inline-block;
  background: var(--pink);
  color: white;
  padding: 18px 32px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  box-shadow: 4px 4px 0 var(--ink);
  transform: rotate(-0.8deg);
  transition: all 0.15s ease;
  border: 2px solid var(--ink);
}
.btn-primary:hover {
  transform: rotate(-0.8deg) translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}
.btn-primary.money-cta:hover {
  transform: translate(-2px, -3px) scale(1.04);
  box-shadow: 8px 10px 0 var(--ink);
}
.btn-primary.money-cta:active {
  transform: translate(2px, 2px) scale(0.99);
  box-shadow: 2px 2px 0 var(--ink);
}
.micro {
  font-family: 'Caveat', 'Bradley Hand', 'Marker Felt', 'Segoe Script', 'Comic Sans MS', cursive;
  font-size: 18px;
  font-weight: 600;
  color: var(--muted);
  transform: rotate(0.6deg);
  display: inline-block;
  max-width: 220px;
  line-height: 1.2;
}
.micro::before { content: '← '; color: var(--muted); }

/* hero photo */
.hero-photo {
  position: relative;
  transform: rotate(2.4deg);
}
.hero-photo img {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18), 0 4px 12px rgba(0,0,0,0.08);
}
/* hero map teaser - landscape frame reads better for SF ↔ Palo Alto */
.hero-map-preview {
  align-self: center;
}
.hero-map-preview .map-frame--hero {
  margin: 0;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.16), 0 4px 12px rgba(0, 0, 0, 0.08);
}
.hero-map-preview .map-frame--hero .map-frame__map {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  min-height: 248px;
  max-height: min(400px, 44vw);
}
.hero-map-preview__to-full {
  position: absolute;
  bottom: 11px;
  left: 11px;
  z-index: 7;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  background: var(--bg);
  border: 1.5px solid var(--ink);
  padding: 8px 12px;
  border-radius: 4px;
  text-decoration: none;
  box-shadow: 2px 2px 0 var(--pink);
  transform: rotate(-0.6deg);
  -webkit-tap-highlight-color: transparent;
}
.hero-map-preview__to-full:hover {
  transform: rotate(-0.6deg) translate(-2px, -2px);
  box-shadow: 3px 3px 0 var(--pink);
}

/* ---------- 4. receipts wall ---------- */
.receipts {
  /* vertical only - preserve .wrap padding-inline */
  padding-block: 48px 40px;
  position: relative;
}
.section-title {
  font-family: 'Caveat', 'Bradley Hand', 'Marker Felt', 'Segoe Script', 'Comic Sans MS', cursive;
  font-size: 56px;
  line-height: 1;
  margin: 0 0 8px;
  transform: rotate(-1deg);
  display: inline-block;
}
.section-title .ink-underline {
  position: relative;
  display: inline-block;
}
.section-title .ink-underline::after {
  content: '';
  position: absolute;
  left: -4px; right: -4px;
  bottom: -14px;
  height: 22px;
  background: url('../assets/underline.svg') no-repeat center / 100% 100%;
}
.section-sub {
  font-family: 'Caveat', 'Bradley Hand', 'Marker Felt', 'Segoe Script', 'Comic Sans MS', cursive;
  font-size: 22px;
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 40px;
  transform: rotate(0.4deg);
  display: inline-block;
}
.section-sub::before { content: '(no, really) '; color: var(--pink); font-weight: 700; }

.scroll-wrap {
  position: relative;
  margin-inline: calc(0px - var(--page-gutter));
  /* keep rotated tiles inside the row from punching past the page edge.
     this is what was causing the homepage to scroll horizontally on iOS. */
  overflow: hidden;
}
.scroll-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0; right: 0;
  width: 90px;
  background: linear-gradient(to right, rgba(244, 240, 232, 0), rgba(244, 240, 232, 0.95) 70%, rgba(244, 240, 232, 1));
  pointer-events: none;
  z-index: 4;
}
.scroll-row {
  display: flex;
  gap: 32px;
  overflow-x: auto;
  overflow-y: visible;
  padding: 60px var(--page-gutter) 80px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  /* keep momentum-scroll bound to this carousel rather than escaping to the
     page when the user swipes past the last/first tile. */
  overscroll-behavior-x: contain;
}
.scroll-row::-webkit-scrollbar { display: none; }
.drag-cue {
  font-family: 'Caveat', 'Bradley Hand', 'Marker Felt', 'Segoe Script', 'Comic Sans MS', cursive;
  font-size: 22px;
  font-weight: 600;
  color: var(--muted);
  margin: 14px 0 -6px;
  transform: rotate(-1deg);
  display: inline-block;
  opacity: 0.7;
}
.drag-cue::after {
  content: ' →';
  color: var(--pink);
  font-weight: 700;
}

/* Visible draggable slider under each `.scroll-row`. Injected by
   scripts/carousel.js — gives mouse users a clear affordance to
   scroll the row horizontally (trackpads + touch already scroll the
   row natively, but a regular wheel mouse needs an explicit UI). */
.scroll-slider {
  position: relative;
  height: 8px;
  /* bottom margin keeps the thumb (which overhangs the track by ~3px) from
     being clipped by the `overflow: hidden` on the parent .scroll-wrap. */
  margin: 18px auto 6px;
  max-width: 720px;
  background: rgba(10, 10, 10, 0.08);
  border: 1px solid rgba(10, 10, 10, 0.12);
  border-radius: 999px;
  cursor: pointer;
  touch-action: none; /* let pointer-drag work without page scroll */
}
.scroll-slider__thumb {
  position: absolute;
  top: -3px;
  left: 0;
  height: 14px;
  width: 32px;
  background: var(--ink);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  cursor: grab;
  transition: background 0.12s ease;
  will-change: transform, width;
}
.scroll-slider__thumb:hover {
  background: color-mix(in srgb, var(--ink), #fff 18%);
}
.scroll-slider__thumb.is-grabbing {
  cursor: grabbing;
  background: #000;
}
@media (prefers-reduced-motion: no-preference) {
  .scroll-slider__thumb {
    transition: background 0.12s ease, transform 0.06s linear;
  }
}
@media (max-width: 520px) {
  .scroll-slider {
    margin-top: 14px;
    max-width: calc(100% - 32px);
  }
}

.tile {
  flex: 0 0 auto;
  position: relative;
  background: white;
  box-shadow: 6px 6px 0 var(--ink);
  scroll-snap-align: start;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tile:hover {
  transform: translate(-4px, -4px);
  box-shadow: 10px 10px 0 var(--ink);
}
.tile-caption {
  font-family: 'Caveat', 'Bradley Hand', 'Marker Felt', 'Segoe Script', 'Comic Sans MS', cursive;
  font-size: 20px;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
  margin-top: 14px;
  line-height: 1.2;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}
.tile-wrap { position: relative; }

/* tile rotations + tape positions, varied per tile */
.tile-1 { transform: rotate(-2deg); }
.tile-2 { transform: rotate(1.5deg); }
.tile-3 { transform: rotate(-1deg); }
.tile-4 { transform: rotate(2deg); }
.tile-5 { transform: rotate(-2.5deg); }
.tile-6 { transform: rotate(1.8deg); }
.tile-7 { transform: rotate(-1.4deg); }
.tile-8 { transform: rotate(2.2deg); }
.tile-9 { transform: rotate(-1.8deg); }
.tile-10 { transform: rotate(2.4deg); }

/* LinkedIn-style card */
.li-card {
  width: 380px;
  padding: 18px 18px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  background: white;
}
.li-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.li-card-head .avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, #2c3e50, #34495e); flex-shrink: 0; }
.li-card-head .meta { flex: 1; line-height: 1.25; }
.li-card-head .name { font-weight: 700; color: #000; display: flex; align-items: center; gap: 5px; font-size: 14px; }
.li-card-head .verified {
  background: #0A66C2; color: white; font-size: 10px; padding: 1px 6px; border-radius: 3px; font-weight: 600;
}
.li-card-head .title { color: #666; font-size: 12px; }
.li-card-head .time { color: #888; font-size: 12px; }
.li-card-body { color: #1a1a1a; line-height: 1.45; font-size: 14px; }
.li-card-body .mention { color: #0A66C2; font-weight: 600; }
.li-card-img {
  display: block;
  width: calc(100% + 36px);
  height: 240px;
  margin: 12px -18px 0;
  object-fit: cover;
  background: #f5f5f5;
}
.li-card-foot {
  display: flex; gap: 16px; padding-top: 10px; margin-top: 10px;
  border-top: 1px solid #eee; color: #666; font-size: 12px;
}
.li-card-foot .reactions { display: flex; align-items: center; gap: 4px; }
.li-card-foot .reactions .emoji-row {
  display: inline-flex; gap: -2px;
}
.li-card-foot .reactions .emoji-row span {
  width: 16px; height: 16px; border-radius: 50%; display: inline-block; border: 1.5px solid white; margin-left: -3px;
  font-size: 10px; line-height: 14px; text-align: center;
}

/* X/Twitter card */
.x-card {
  width: 380px;
  padding: 16px;
  background: #000;
  color: #e7e9ea;
  border-radius: 14px;
  font-size: 14px;
}
.x-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.x-card-head .avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, #6b8e7f, #2d4a3e); }
.x-card-head .meta { flex: 1; line-height: 1.2; }
.x-card-head .name { display: flex; align-items: center; gap: 5px; font-weight: 700; color: white; font-size: 15px; }
.x-card-head .check {
  width: 18px; height: 18px; background: #1d9bf0; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; color: white; font-size: 10px; font-weight: 900;
}
.x-card-head .handle { color: #71767b; font-size: 14px; }
.x-card-head .title { color: #71767b; font-size: 12px; line-height: 1.2; margin-top: 1px; }
.x-card-body { color: #e7e9ea; line-height: 1.4; font-size: 15px; margin-bottom: 14px; }
.x-card-img-link { display: block; margin-bottom: 14px; }
.x-card-img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  border: 1px solid #2f3336;
  object-fit: cover;
  background: #15181c;
}
.x-card-meta { color: #71767b; font-size: 13px; padding-top: 10px; border-top: 1px solid #2f3336; }
.x-card-meta .views {
  color: white; font-weight: 700; font-size: 18px;
  display: block; margin-top: 4px;
}
.x-card-meta .views-label { color: #71767b; font-size: 13px; font-weight: 400; margin-left: 4px; }

/* Email-style card (Gmail-ish): clean white shell, avatar + headers,
   subject, body, reply footer. Used for short DM-like notes from
   investors/operators. */
.email-card {
  width: 380px;
  background: white;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  font-size: 14px;
  overflow: hidden;
}
.email-card-head {
  padding: 14px 16px;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.email-card-head .avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}
.email-card-head .meta { flex: 1; line-height: 1.3; min-width: 0; }
.email-card-head .name {
  font-weight: 700;
  color: #1a1a1a;
  font-size: 14px;
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}
.email-card-head .addr {
  color: #888;
  font-weight: 400;
  font-size: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
.email-card-head .title { color: #666; font-size: 12px; line-height: 1.3; margin-top: 1px; }
.email-card-head .to { color: #666; font-size: 12px; margin-top: 2px; }
.email-card-head .cc { color: #666; font-size: 12px; margin-top: 1px; }
.email-card-head .time { color: #888; font-size: 12px; white-space: nowrap; flex-shrink: 0; }
.email-subject {
  padding: 14px 16px 0;
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #1a1a1a;
  letter-spacing: -0.01em;
}
.email-card-body {
  padding: 10px 16px 16px;
  color: #1a1a1a;
  line-height: 1.5;
  font-size: 14px;
}
.email-attachment {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #e5e5e5;
  margin-top: 12px;
  background: #f5f5f5;
}
.email-card-foot {
  padding: 10px 16px;
  border-top: 1px solid #f0f0f0;
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: #666;
}
.email-card-foot .reply { color: #1a73e8; font-weight: 600; }

/* Sifted-style card */
.sifted-card {
  width: 420px;
  background: white;
  border-radius: 6px;
  overflow: hidden;
}
.sifted-img {
  width: 100%; height: 260px;
  background-size: cover; background-position: center 65%;
  background-image: url('../cake-photos/A16z-Andrew-Anderson-Coldcakes.jpeg');
  position: relative;
}
.sifted-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
}
.sifted-overlay {
  position: absolute; bottom: 16px; left: 16px; right: 16px;
  color: white; z-index: 1;
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.1;
}
.sifted-overlay small {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ff4d6d;
  margin-bottom: 6px;
}
.sifted-body {
  padding: 18px;
  font-size: 14px;
  color: #333;
  line-height: 1.5;
}
.sifted-body strong { color: #ff4d6d; }

/* Press feature cards - image-led, same structure as .sifted-card.
   Image is set inline per-tile so the same card renders any outlet's
   coverage. The .press-img anchor is clickable to the article URL. */
.press-card {
  width: 420px;
  background: white;
  border-radius: 6px;
  overflow: hidden;
}
.press-img {
  display: block;
  width: 100%; height: 260px;
  background-size: cover;
  background-position: center;
  background-color: #1a1a1a;
  position: relative;
  text-decoration: none;
}
.press-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.18) 50%, transparent 100%);
}
.press-overlay {
  position: absolute; bottom: 16px; left: 16px; right: 16px;
  color: white; z-index: 1;
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.18;
}
.press-overlay small {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ff4d6d;
  margin-bottom: 6px;
}
.press-body {
  padding: 18px;
  font-size: 14px;
  color: #333;
  line-height: 1.5;
}
.press-body strong { color: #ff4d6d; display: block; margin-bottom: 8px; }

/* Outlet logo badge - sits in the top-left of any press/sifted img,
   recognisable mini-chip identifying the publication. Works inside
   both .press-img and .sifted-img (both are position:relative). */
.press-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: white;
  padding: 5px 10px;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
  display: inline-flex;
  align-items: center;
  height: 26px;
  pointer-events: none;
}
.press-badge img {
  display: block;
  height: 16px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
}
.press-badge .text {
  display: inline-block;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 600;
  font-size: 14px;
  color: #0A0A0A;
  line-height: 1;
}

/* Stat tile */
.stat-tile {
  width: 320px;
  padding: 36px 28px 32px;
  background: #fffceb;
  border: 2px solid var(--ink);
  text-align: center;
  position: relative;
  box-shadow: 6px 6px 0 var(--ink);
}
.stat-tile:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 var(--pink);
}
.stat-tile .bignum {
  font-family: 'Permanent Marker', cursive;
  font-size: 76px;
  line-height: 1;
  color: var(--ink);
  margin: 0;
  letter-spacing: -2px;
}
.stat-tile .bignum .pink { color: var(--pink); }
.stat-tile .bignum .arrow {
  display: inline-block;
  transform: translateY(-8px);
  font-size: 50px;
  margin: 0 6px;
}
.stat-tile .stat-label {
  font-family: 'Caveat', 'Bradley Hand', 'Marker Felt', 'Segoe Script', 'Comic Sans MS', cursive;
  font-size: 24px;
  font-weight: 600;
  margin: 14px 0 6px;
  color: var(--ink);
}
.stat-tile .stat-fineprint {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}

/* hero responsive */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding-block: 40px 60px; gap: 24px; }
  .hero--centered { padding-block: 48px 60px; }
  .hero-photo { transform: rotate(1.5deg); }
}


/* ---------- 5. how it works ---------- */
.how-it-works {
  background: #F4F0E8;
  color: #0A0A0A;
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}
.how-it-works .wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding-inline: var(--page-gutter);
  padding-block: 0;
}
.how-it-works .hiw-title {
  font-family: 'Caveat', 'Bradley Hand', 'Marker Felt', 'Segoe Script', 'Comic Sans MS', cursive;
  font-size: 48px;
  line-height: 1;
  color: #0A0A0A;
  margin: 0 0 32px;
  transform: rotate(-1deg);
  display: inline-block;
}
.how-it-works .hiw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: start;
}
.how-it-works .hiw-step {
  position: relative;
}
.how-it-works .hiw-step:nth-child(1) { transform: rotate(-1.5deg); }
.how-it-works .hiw-step:nth-child(2) { transform: rotate(0.8deg); }
.how-it-works .hiw-step:nth-child(3) { transform: rotate(-2.2deg); }
.how-it-works .hiw-illo {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  box-shadow: 0 12px 28px rgba(10,10,10,0.12), 0 3px 8px rgba(10,10,10,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.how-it-works .hiw-illo:hover {
  transform: translate(-3px, -3px);
  box-shadow:
    0 18px 38px rgba(10,10,10,0.18),
    0 4px 10px rgba(10,10,10,0.08),
    6px 6px 0 rgba(255, 79, 163, 0.22);
}
.how-it-works .hiw-cap {
  font-family: 'Caveat', 'Bradley Hand', 'Marker Felt', 'Segoe Script', 'Comic Sans MS', cursive;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
  color: #6B6358;
  margin: 14px 0 0;
  text-align: center;
}
.how-it-works .hiw-flourish {
  font-family: 'Caveat', 'Bradley Hand', 'Marker Felt', 'Segoe Script', 'Comic Sans MS', cursive;
  font-size: 22px;
  font-weight: 600;
  color: #6B6358;
  text-align: center;
  margin: 36px 0 0;
  transform: rotate(-0.6deg);
}
.how-it-works .hiw-cta {
  justify-content: center;
  margin-top: 28px;
}

/* Tablets: drop to 2 columns so the third "step" card doesn't get
   crushed before we have room to stack. Below 720 we collapse to 1
   column (the rule further down handles that). */
@media (max-width: 960px) and (min-width: 721px) {
  .how-it-works .hiw-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}
@media (max-width: 960px) {
  .how-it-works { padding: 48px 0 40px; }
  .how-it-works .hiw-title { font-size: 42px; margin-bottom: 24px; }
  .how-it-works .hiw-flourish { margin-top: 28px; }
}
@media (max-width: 720px) {
  .how-it-works .hiw-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}


/* ---------- 7. map ---------- */
.map-section {
  background: #F4F0E8;
  color: #0A0A0A;
  padding: 56px 0 64px;
  font-family: 'Inter', system-ui, sans-serif;
}
.map-section .wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding-inline: var(--page-gutter);
  padding-block: 0;
}
.map-section .eyebrow {
  font-family: 'Caveat', 'Bradley Hand', 'Marker Felt', 'Segoe Script', 'Comic Sans MS', cursive;
  font-size: 22px;
  font-weight: 600;
  color: #6B6358;
  transform: rotate(-1deg);
  display: inline-block;
  margin: 0 0 14px;
  line-height: 1;
}
.map-section .title {
  font-family: 'Fraunces', serif;
  font-weight: 800;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  color: #0A0A0A;
}
.map-section .title em {
  font-style: italic;
  font-weight: 800;
}
.map-section .sub {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  color: #6B6358;
  max-width: 640px;
  margin: 0 0 36px;
}
.map-section .map-placeholder {
  position: relative;
  width: 100%;
  height: 480px;
  background: #EFE9DC;
  border: 2px dashed #0A0A0A;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.map-section .map-label {
  font-family: 'Caveat', 'Bradley Hand', 'Marker Felt', 'Segoe Script', 'Comic Sans MS', cursive;
  font-size: 32px;
  color: #0A0A0A;
  letter-spacing: 0.5px;
  z-index: 2;
}
.map-section .corner-tag {
  position: absolute;
  top: 14px;
  right: 16px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #6B6358;
  z-index: 2;
}
.map-section .pin {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #FF4FA3;
  box-shadow: 0 0 0 4px rgba(255, 79, 163, 0.18);
  z-index: 1;
}
.map-section .pin.p1 { top: 22%; left: 18%; }
.map-section .pin.p2 { top: 38%; left: 71%; }
.map-section .pin.p3 { top: 64%; left: 32%; }
.map-section .pin.p4 { top: 78%; left: 58%; }
.map-section .pin.p5 { top: 30%; left: 47%; }
.map-section .footnote {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  color: #6B6358;
  text-align: center;
  margin: 28px 0 0;
}


/* ---------- 8. wall (drag-cakes diary) ---------- */
.wall-diary {
  --paper: #FBF7EA;
  --rule: #C8D4E5;
  --margin-rule: #D88A85;
  --d-ink: #1B2347;
  --d-pink: #FF4FA3;
  --d-tape: rgba(232, 222, 170, 0.55);
  --d-tape-edge: rgba(190, 175, 100, 0.35);

  background:
    linear-gradient(to right, transparent 0, transparent 79px, var(--margin-rule) 79px, var(--margin-rule) 80px, transparent 80px),
    repeating-linear-gradient(to bottom, transparent 0, transparent 27px, var(--rule) 27px, var(--rule) 28px),
    var(--paper);
  color: var(--d-ink);
  padding: 32px 0 48px;
  position: relative;
  overflow: hidden;
}

.wall-diary .wd-canvas {
  max-width: 1280px;
  margin: 0 auto;
  /* asymmetric: extra left padding reserves space for the year-stickers column.
     right side tracks the global page gutter so it matches every other wrap. */
  padding: 0 var(--page-gutter) 0 clamp(104px, 8vw, 144px);
  position: relative;
  min-height: 600px;
}

.wall-diary .wd-pinhint {
  font-family: 'Caveat', 'Bradley Hand', 'Marker Felt', 'Segoe Script', 'Comic Sans MS', cursive;
  font-size: 18px;
  font-weight: 600;
  color: var(--d-pink);
  transform: rotate(-1deg);
  display: inline-block;
  padding: 4px 12px;
  border: 1.5px dashed var(--d-pink);
  border-radius: 999px;
  margin: 0 0 8px;
  position: relative;
  z-index: 8000;
  background: rgba(251, 247, 234, 0.85);
  backdrop-filter: blur(2px);
}
.wall-diary .wd-pinhint::before { content: "↳ "; }

.wall-diary .wd-photo {
  position: absolute;
  background: #fff;
  padding: 10px 10px 14px;
  box-shadow: 0 6px 14px rgba(20,20,40,0.18), 0 1px 2px rgba(20,20,40,0.12);
  border: 1px solid rgba(0,0,0,0.06);
  cursor: grab;
  user-select: none;
  z-index: 5;
  transition: transform 360ms cubic-bezier(.22,1.4,.36,1), box-shadow 180ms ease;
  will-change: transform, left, top;
  /* on touch, keep vertical page scroll free; only hijack horizontal pan. JS
     will upgrade to a full drag once the user crosses an x-threshold. */
  touch-action: pan-y;
}
.wall-diary .wd-photo.is-dragging-touch {
  /* once JS confirms a drag intent, lock all native gestures. */
  touch-action: none;
}
.wall-diary .wd-photo.dragging {
  z-index: 9999 !important;
  cursor: grabbing;
  box-shadow: 0 22px 42px rgba(0,0,0,0.30), 0 6px 12px rgba(0,0,0,0.22);
  transition: none;
}
.wall-diary .wd-photo .wd-img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #ddd;
  pointer-events: none;
}
.wall-diary .wd-photo.tall .wd-img-wrap { aspect-ratio: 3 / 4; }
.wall-diary .wd-photo.square .wd-img-wrap { aspect-ratio: 1 / 1; }
.wall-diary .wd-photo img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  pointer-events: none; -webkit-user-drag: none;
}
.wall-diary .wd-photo .wd-cap {
  font-family: 'Caveat', 'Bradley Hand', 'Marker Felt', 'Segoe Script', 'Comic Sans MS', cursive;
  font-size: 16px;
  font-weight: 600;
  color: var(--d-ink);
  text-align: center;
  margin-top: 4px;
  line-height: 1.1;
  pointer-events: none;
}

@media (max-width: 900px) {
  .wall-diary { padding: 16px 0 20px; }
  .wall-diary .wd-canvas { padding: 0 8px; min-height: 320px; }
  .wall-diary .wd-pinhint { font-size: 16px; padding: 3px 10px; margin: 0 0 4px; }
  .wall-diary .wd-photo {
    padding: 5px 5px 7px;
    box-shadow: 0 3px 8px rgba(20,20,40,0.16), 0 1px 2px rgba(20,20,40,0.10);
  }
  .wall-diary .wd-photo .wd-cap { font-size: 12px; margin-top: 2px; }
}
@media (max-width: 520px) {
  .wall-diary .wd-canvas { min-height: 260px; }
}


/* ---------- 9. faq ---------- */
.faq-section, .disaster-section {
  background: #F4F0E8;
  color: #0A0A0A;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.faq-section .wrap, .disaster-section .wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding-inline: var(--page-gutter);
  padding-block: 0;
}

.faq-section {
  padding: 56px 0 48px;
}
.faq-section .faq-title {
  font-family: 'Caveat', 'Bradley Hand', 'Marker Felt', 'Segoe Script', 'Comic Sans MS', cursive;
  font-size: 48px;
  line-height: 1;
  color: #0A0A0A;
  transform: rotate(-1deg);
  transform-origin: left center;
  margin: 0 0 56px;
  font-weight: 600;
}
.faq-section .faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 32px;
}
.faq-section .qa {
  display: block;
  background: #FFFFFF;
  border: 2px solid #0A0A0A;
  box-shadow: 4px 4px 0 #0A0A0A;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  overflow: hidden;
}
.faq-section .qa:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 #FF4FA3;
}
.faq-section .qa[open] {
  box-shadow: 4px 4px 0 #FF4FA3;
}
.faq-section .qa summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  color: #0A0A0A;
  user-select: none;
  transition: background 0.15s ease;
}
.faq-section .qa summary::-webkit-details-marker { display: none; }
.faq-section .qa summary::marker { display: none; content: ''; }
.faq-section .qa[open] summary {
  background: #FFF5FA;
  border-bottom: 2px dashed rgba(10, 10, 10, 0.15);
}
.faq-section .qa .toggle {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #0A0A0A;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 22px;
  line-height: 1;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), background 0.15s;
}
.faq-section .qa[open] .toggle {
  background: #FF4FA3;
  transform: rotate(45deg);
}
.faq-section .qa .a {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  color: #2a2a2a;
  margin: 0;
  padding: 16px 22px 22px;
  animation: faqSlide 0.28s ease-out;
}
@keyframes faqSlide {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 760px) {
  .faq-section { padding: 56px 0 48px; }
  .faq-section .faq-title { font-size: 40px; margin-bottom: 32px; }
  .faq-section .faq-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* important-order disclaimer (matches terms.html treatment) */
.must-know-section {
  padding: 8px 0 56px;
  background: var(--bg);
}
.must-know-section > .wrap {
  max-width: 760px;
}
.must-know-section .must-know {
  margin: 0;
  padding: 28px 28px 24px;
  background: #fff;
  border: 3px solid var(--ink);
  box-shadow: 8px 8px 0 var(--pink);
  position: relative;
}
.must-know-section .must-know-label {
  display: inline-block;
  transform: rotate(-2deg);
  background: var(--pink);
  color: #fff;
  font-family: 'Permanent Marker', cursive;
  font-size: 14px;
  letter-spacing: 0.04em;
  padding: 4px 14px;
  margin-bottom: 14px;
  border: 2px solid var(--ink);
}
.must-know-section .must-know h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 800;
  font-style: italic;
  font-size: 28px;
  line-height: 1.1;
  margin: 0 0 18px;
  color: var(--ink);
}
.must-know-section .must-know ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: mk;
}
.must-know-section .must-know ol li {
  counter-increment: mk;
  padding: 18px 0 18px 56px;
  position: relative;
  border-top: 1px dashed rgba(10, 10, 10, 0.2);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
}
.must-know-section .must-know ol li:first-child {
  border-top: none;
  padding-top: 8px;
}
.must-know-section .must-know ol li::before {
  content: counter(mk);
  position: absolute;
  left: 0;
  top: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.must-know-section .must-know ol li:first-child::before {
  top: 8px;
}
.must-know-section .must-know strong {
  font-weight: 700;
}

@media (max-width: 600px) {
  .must-know-section .must-know {
    padding: 22px;
    box-shadow: 5px 5px 0 var(--pink);
  }
  .must-know-section .must-know h2 {
    font-size: 22px;
  }
  .must-know-section .must-know ol li {
    padding-left: 48px;
    font-size: 16px;
  }
}


/* ---------- 10. disaster (newspaper obituary) ---------- */
.disaster-obituary {
  background: #F4F0E8;
  padding: 56px 32px 80px;
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  color: #1A1A1A;
  position: relative;
  overflow: hidden;
}

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

.disaster-obituary__variant-label {
  max-width: 1280px;
  margin: 0 auto 24px;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8a8275;
  padding: 0 0 8px;
  border-bottom: 1px dashed #d6cdb9;
}

.disaster-obituary__stage {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  perspective: 1200px;
}

.disaster-obituary__paper {
  position: relative;
  width: 100%;
  max-width: 880px;
  background-color: #FCFAF2;
  background-image:
    radial-gradient(ellipse at 20% 10%, rgba(204, 188, 150, 0.18), transparent 55%),
    radial-gradient(ellipse at 85% 80%, rgba(186, 165, 120, 0.16), transparent 60%),
    radial-gradient(ellipse at 55% 50%, rgba(245, 232, 200, 0.35), transparent 70%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.42  0 0 0 0 0.36  0 0 0 0 0.22  0 0 0 0.13 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/></svg>");
  padding: 48px 56px 56px;
  transform: rotate(-1deg);
  box-shadow:
    0 1px 0 rgba(0,0,0,0.04),
    0 22px 40px -18px rgba(60, 40, 10, 0.35),
    0 50px 80px -30px rgba(40, 25, 5, 0.45);
  border: 1px solid rgba(160, 140, 95, 0.18);
}

/* torn top edge */
.disaster-obituary__paper::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -2px;
  right: -2px;
  height: 14px;
  background: #FCFAF2;
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 14' preserveAspectRatio='none'><path d='M0 14 L0 8 L3 4 L6 7 L9 3 L12 6 L16 2 L19 6 L22 4 L25 7 L29 3 L32 6 L35 4 L38 7 L42 3 L45 6 L48 4 L52 7 L55 3 L58 6 L62 4 L65 7 L68 3 L71 6 L75 4 L78 7 L81 3 L84 6 L88 4 L91 7 L94 3 L97 6 L100 4 L100 14 Z' fill='black'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 14' preserveAspectRatio='none'><path d='M0 14 L0 8 L3 4 L6 7 L9 3 L12 6 L16 2 L19 6 L22 4 L25 7 L29 3 L32 6 L35 4 L38 7 L42 3 L45 6 L48 4 L52 7 L55 3 L58 6 L62 4 L65 7 L68 3 L71 6 L75 4 L78 7 L81 3 L84 6 L88 4 L91 7 L94 3 L97 6 L100 4 L100 14 Z' fill='black'/></svg>");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  filter: drop-shadow(0 -1px 0 rgba(120, 90, 40, 0.15));
}

.disaster-obituary__staple {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 36px;
  height: 7px;
  background: linear-gradient(180deg, #c9c5bd 0%, #8a8780 50%, #5d5a54 100%);
  border-radius: 1px;
  box-shadow:
    0 2px 3px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.4);
  z-index: 5;
}

.disaster-obituary__staple::before,
.disaster-obituary__staple::after {
  content: "";
  position: absolute;
  top: 0;
  width: 3px;
  height: 7px;
  background: #4a4842;
  border-radius: 0 0 1px 1px;
}
.disaster-obituary__staple::before { left: 0; }
.disaster-obituary__staple::after  { right: 0; }

.disaster-obituary__masthead {
  display: flex;
  justify-content: center;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #1A1A1A;
  padding-bottom: 14px;
}

.disaster-obituary__masthead-dot {
  color: #5a5247;
  font-size: 14px;
  line-height: 1;
  transform: translateY(-1px);
}

.disaster-obituary__rule {
  height: 1px;
  background: #1A1A1A;
  width: 100%;
  margin-bottom: 22px;
  position: relative;
}
.disaster-obituary__rule::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 3px;
  height: 1px;
  background: #1A1A1A;
  opacity: 0.35;
}

.disaster-obituary__eyebrow {
  text-align: center;
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-size: 14px;
  color: #3a342a;
  margin: 0 0 10px;
  letter-spacing: 0.04em;
}

.disaster-obituary__headline {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 800;
  font-size: 56px;
  line-height: 1.0;
  text-align: center;
  margin: 0 0 14px;
  color: #1A1A1A;
  letter-spacing: -0.01em;
}

.disaster-obituary__sub {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.3;
  text-align: center;
  margin: 0 0 28px;
  color: #2a2520;
}

.disaster-obituary__photo-wrap {
  position: relative;
  width: 100%;
  margin: 0 0 8px;
  border: 1px solid #1A1A1A;
  background: #1A1A1A;
  overflow: hidden;
}

.disaster-obituary__photo {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
  filter: grayscale(0.65) contrast(1.05) brightness(0.96);
}

.disaster-obituary__photo-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(0,0,0,0.05) 0px,
    rgba(0,0,0,0.05) 1px,
    transparent 1px,
    transparent 2px
  );
  pointer-events: none;
  mix-blend-mode: multiply;
  opacity: 0.5;
}

.disaster-obituary__caption {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-size: 13px;
  line-height: 1.4;
  color: #3a342a;
  margin: 0 0 26px;
  padding: 0 4px;
}

.disaster-obituary__columns {
  column-count: 2;
  column-gap: 36px;
  column-rule: 1px solid rgba(26, 26, 26, 0.18);
  font-family: 'Fraunces', Georgia, serif;
  font-size: 16px;
  line-height: 1.5;
  color: #1A1A1A;
  text-align: justify;
  hyphens: auto;
}

.disaster-obituary__columns p {
  margin: 0 0 12px;
  break-inside: avoid-column;
}

.disaster-obituary__columns p:last-child {
  margin-bottom: 0;
  font-style: italic;
}

.disaster-obituary__dropcap {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 800;
  font-size: 64px;
  line-height: 0.85;
  float: left;
  padding: 6px 8px 0 0;
  margin: 4px 4px 0 0;
  color: #1A1A1A;
}

.disaster-obituary__quote {
  font-style: italic;
}

.disaster-obituary__footer {
  margin-top: 32px;
  padding-top: 14px;
  border-top: 1px solid #1A1A1A;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}

.disaster-obituary__footer-text {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #1A1A1A;
}

.disaster-obituary__footer-dot {
  color: #5a5247;
  margin: 0 6px;
}

.disaster-obituary__tomb {
  position: relative;
  width: 30px;
  height: 38px;
  flex-shrink: 0;
}

.disaster-obituary__stamp {
  position: absolute;
  top: 36px;
  right: 38px;
  transform: rotate(-8deg);
  font-family: 'Permanent Marker', 'Comic Sans MS', cursive;
  font-size: 13px;
  color: #a8231d;
  border: 2px solid #a8231d;
  padding: 4px 10px 3px;
  border-radius: 2px;
  letter-spacing: 0.08em;
  opacity: 0.78;
  z-index: 4;
  background: rgba(252, 250, 242, 0.0);
  text-transform: uppercase;
}

@media (max-width: 720px) {
  .disaster-obituary { padding: 40px 16px 56px; }
  .disaster-obituary__paper { padding: 36px 24px 36px; }
  .disaster-obituary__headline { font-size: 40px; }
  .disaster-obituary__sub { font-size: 18px; }
  .disaster-obituary__columns { column-count: 1; column-rule: none; }
  .disaster-obituary__photo { height: 220px; }
  .disaster-obituary__masthead { font-size: 10px; }
  .disaster-obituary__stamp { top: 22px; right: 18px; font-size: 11px; }
}


/* ---------- 11. cta receipt ---------- */
.cta-receipt {
  --bg: #F4F0E8;
  --paper: #FDFCF7;
  --ink: #1A1A1A;
  --pink: #FF4FA3;
  --pink-dark: #E8408F;
  --muted: #6b6b6b;
  --line: #1A1A1A;

  background: var(--bg);
  padding: 64px 0 96px;
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  -webkit-font-smoothing: antialiased;
}

.cta-receipt__container {
  max-width: 1280px;
  margin: 0 auto;
  padding-inline: var(--page-gutter);
  padding-block: 0;
  display: flex;
  justify-content: center;
  position: relative;
}

.cta-receipt__paper {
  position: relative;
  width: 720px;
  max-width: 100%;
  background: var(--paper);
  color: var(--ink);
  transform: rotate(-1.5deg);
  box-shadow:
    0 30px 60px rgba(20, 20, 20, 0.22),
    0 12px 24px rgba(20, 20, 20, 0.14),
    0 2px 4px rgba(20, 20, 20, 0.08);
  padding: 30px 48px 26px;
  /* Torn top + bottom edges via zigzag clip-path */
  clip-path: polygon(
    0 8px, 4% 0, 8% 8px, 12% 0, 16% 8px, 20% 0, 24% 8px, 28% 0,
    32% 8px, 36% 0, 40% 8px, 44% 0, 48% 8px, 52% 0, 56% 8px, 60% 0,
    64% 8px, 68% 0, 72% 8px, 76% 0, 80% 8px, 84% 0, 88% 8px, 92% 0,
    96% 8px, 100% 0,
    100% calc(100% - 8px), 96% 100%, 92% calc(100% - 8px), 88% 100%,
    84% calc(100% - 8px), 80% 100%, 76% calc(100% - 8px), 72% 100%,
    68% calc(100% - 8px), 64% 100%, 60% calc(100% - 8px), 56% 100%,
    52% calc(100% - 8px), 48% 100%, 44% calc(100% - 8px), 40% 100%,
    36% calc(100% - 8px), 32% 100%, 28% calc(100% - 8px), 24% 100%,
    20% calc(100% - 8px), 16% 100%, 12% calc(100% - 8px), 8% 100%,
    4% calc(100% - 8px), 0 100%
  );
}

.cta-receipt__bakery {
  font-family: 'Permanent Marker', 'Marker Felt', cursive;
  font-size: 24px;
  text-align: center;
  letter-spacing: 0.5px;
  margin: 6px 0 3px;
  color: var(--ink);
  line-height: 1.1;
}

.cta-receipt__address {
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin-bottom: 10px;
}

.cta-receipt__divider {
  border: 0;
  border-top: 1.5px dashed var(--ink);
  margin: 9px 0;
  opacity: 0.85;
}

.cta-receipt__order-meta {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  margin: 3px 0 8px;
  color: var(--ink);
}

.cta-receipt__form {
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink);
}

.cta-receipt__row {
  display: flex;
  align-items: baseline;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
}

.cta-receipt__label {
  flex-shrink: 0;
}

.cta-receipt__dots {
  flex: 1;
  overflow: hidden;
  color: var(--ink);
  letter-spacing: 1px;
  padding: 0 4px;
  min-width: 6px;
}

.cta-receipt__value {
  flex-shrink: 0;
  text-align: right;
}

.cta-receipt__pill {
  display: inline-block;
  border: 1px solid var(--ink);
  padding: 1px 8px;
  border-radius: 2px;
  background: #fff;
  font-size: 11.5px;
  letter-spacing: 0.04em;
}

.cta-receipt__pill--ghost {
  background: transparent;
  border-style: dashed;
  color: var(--muted);
}

.cta-receipt__radio {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  vertical-align: -1px;
  margin-right: 3px;
  background: #fff;
}
.cta-receipt__radio--on {
  background: radial-gradient(circle, var(--ink) 45%, #fff 50%);
  border-color: var(--ink);
}

.cta-receipt__message {
  margin-top: 4px;
  margin-bottom: 4px;
}
.cta-receipt__hint {
  font-family: 'Caveat', 'Bradley Hand', 'Marker Felt', 'Segoe Script', 'Comic Sans MS', cursive;
  font-size: 17px;
  font-weight: 600;
  color: var(--pink);
  line-height: 1;
  margin-left: 86px;
  margin-bottom: -4px;
  transform: rotate(-2deg);
  transform-origin: left bottom;
  display: inline-block;
}
.cta-receipt__underline {
  border-bottom: 1px solid var(--ink);
  height: 14px;
  margin-left: 86px;
}
.cta-receipt__msg-row {
  display: flex;
  align-items: baseline;
}
.cta-receipt__msg-row .cta-receipt__label {
  width: 86px;
}
.cta-receipt__msg-row .cta-receipt__line {
  flex: 1;
  border-bottom: 1px solid var(--ink);
  height: 16px;
  margin-left: 4px;
}

.cta-receipt__items {
  font-size: 13px;
  line-height: 1.65;
}

.cta-receipt__total {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.5;
}

.cta-receipt__sign-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  margin: 4px 0 8px;
}

.cta-receipt__cta {
  display: block;
  width: 100%;
  background: var(--pink);
  color: #fff;
  text-align: center;
  border: 2px solid var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  padding: 18px 16px;
  cursor: pointer;
  border-radius: 4px;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
  text-decoration: none;
}

.cta-receipt__cta:hover {
  transform: translate(-2px, -2px);
  background: var(--pink-dark);
  box-shadow: 6px 6px 0 var(--ink);
}
.cta-receipt__cta:active {
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 var(--ink);
}

.cta-receipt__thanks {
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 10px 0 4px;
}

.cta-receipt__limits {
  text-align: center;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

.cta-receipt__signoff {
  position: absolute;
  right: 18px;
  bottom: 14px;
  font-family: 'Caveat', 'Bradley Hand', 'Marker Felt', 'Segoe Script', 'Comic Sans MS', cursive;
  font-size: 26px;
  color: var(--ink);
  transform: rotate(-3deg);
  line-height: 1;
  pointer-events: none;
}

.cta-receipt__fraunces {
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  text-align: center;
  margin: 4px 0 2px;
}

@media (max-width: 520px) {
  .cta-receipt__paper {
    width: 100%;
    padding: 24px 20px 22px;
  }
  .cta-receipt__hint,
  .cta-receipt__underline {
    margin-left: 0;
  }
  .cta-receipt__msg-row {
    flex-wrap: wrap;
  }
  .cta-receipt__msg-row .cta-receipt__line {
    width: 100%;
    flex-basis: 100%;
    margin-left: 0;
    margin-top: 2px;
  }

  /* Cake size + Recipient rows have content that doesn't fit a 320px line.
     Stack the value below the label instead of clipping. */
  .cta-receipt__form .cta-receipt__row {
    white-space: normal;
    flex-wrap: wrap;
    row-gap: 4px;
  }
  .cta-receipt__form .cta-receipt__dots { display: none; }
  .cta-receipt__form .cta-receipt__value {
    text-align: left;
    width: 100%;
    margin-left: 0;
  }
  /* keep itemised totals (lower receipt) on a single line - those numbers
     are short and the dot-leader looks intentional. */
  .cta-receipt__items .cta-receipt__row,
  .cta-receipt__total .cta-receipt__row {
    white-space: nowrap;
    flex-wrap: nowrap;
  }
  .cta-receipt__items .cta-receipt__dots,
  .cta-receipt__total .cta-receipt__dots { display: inline; }
  .cta-receipt__items .cta-receipt__value,
  .cta-receipt__total .cta-receipt__value {
    text-align: right;
    width: auto;
  }
}



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

/* visually hidden helper (for SEO-only headings, sr-only labels) */
.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;
}

/* ---------- 13. subpage chrome (proof, faq) ---------- */

/* Used as the H1 area on /proof. Echoes the .section-title vibe but tighter. */
.proof-page-header {
  max-width: 1280px;
  margin: 48px auto 8px;
  padding-inline: var(--page-gutter);
  padding-block: 0;
}
.proof-page-header h1 {
  font-family: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 1.0;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
}
.proof-page-eyebrow {
  font-family: 'Caveat', 'Bradley Hand', 'Marker Felt', 'Segoe Script', 'Comic Sans MS', cursive;
  font-weight: 600;
  font-size: 22px;
  color: var(--muted);
  max-width: 1280px;
  margin: 8px auto 32px;
  padding-inline: var(--page-gutter);
  padding-block: 0;
}

/* Used as the H1 area on /faq. */
.faq-page-header {
  max-width: 1280px;
  margin: 48px auto 24px;
  padding-inline: var(--page-gutter);
  padding-block: 0;
}
.faq-page-header h1 {
  font-family: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
}

/* The "see the full wall →" link directly under the homepage receipts row. */
.receipts-bridge {
  text-align: center;
  margin: 24px 0 8px;
  font-family: 'Caveat', 'Bradley Hand', 'Marker Felt', 'Segoe Script', 'Comic Sans MS', cursive;
  font-size: 22px;
  font-weight: 600;
  color: var(--muted);
}
.receipts-bridge a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--pink);
  padding-bottom: 1px;
}
.receipts-bridge a:hover { color: var(--pink); }

/* The one-line intro that appears above the In Memoriam piece on /proof. */
.disaster-intro {
  text-align: center;
  font-family: 'Caveat', 'Bradley Hand', 'Marker Felt', 'Segoe Script', 'Comic Sans MS', cursive;
  font-size: 24px;
  font-weight: 600;
  color: var(--muted);
  margin: 64px 0 8px;
}

/* Compact CTA used at the bottom of /proof and /faq. Stacks pre-text + button. */
.mini-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 64px 32px 96px;
  text-align: center;
}
.mini-cta__pre {
  font-family: 'Caveat', 'Bradley Hand', 'Marker Felt', 'Segoe Script', 'Comic Sans MS', cursive;
  font-size: 28px;
  font-weight: 600;
  color: var(--muted);
  margin: 0;
}
.mini-cta__sub {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--ink);
  margin: -4px 0 8px;
}
/* ==========================================================================
   14. mobile optimizations
   thorough pass for ≤960 / ≤760 / ≤520 / ≤380.
   intentionally placed last so it overrides earlier section-scoped rules.
   guiding principles:
     - never let rotated cards push horizontal scroll
     - tap targets ≥ 44×44 (apple HIG / wcag 2.5.5)
     - inputs ≥ 16px font-size (no ios safari focus zoom)
     - swap aggressive rotations for subtle ones on small screens
     - safe-area-inset for sticky elements + body padding
     - scroll-snap mandatory on horizontal carousels with thumb affordance
   ========================================================================== */

/* ---------- coarse-pointer / touch-only refinements (any width) ---------- */
@media (hover: none) and (pointer: coarse) {
  /* The translate-on-hover affordance was designed for mice. On touch it just
     leaves a card mid-flight after a tap. Restore baseline transforms. */
  .tile:hover,
  .stat-tile:hover,
  .how-it-works .hiw-illo:hover,
  .btn-primary:hover,
  .cta-receipt__cta:hover,
  .site-nav .cta-mini:hover {
    transform: none;
  }
  .btn-primary:hover { transform: rotate(-0.8deg); }
  .site-nav .cta-mini:hover { transform: rotate(1.5deg); }

  /* tighter active-press feedback on touch */
  .btn-primary:active,
  .site-nav .cta-mini:active,
  .cta-receipt__cta:active {
    transform: translateY(1px) rotate(-0.5deg);
    transition-duration: 0.05s;
  }

  /* anchor links should feel like buttons */
  a, button { -webkit-tap-highlight-color: rgba(255, 79, 163, 0.22); }
}

/* ---------- tablet & small laptop (≤960) ----------
   .wrap padding comes from --page-gutter (see :root + ≤760/520/380). */

/* ---------- mid mobile / small tablet (≤760) ---------- */
@media (max-width: 760px) {
  :root {
    --page-gutter: 36px;
  }

  /* nav: shrink, keep all links, reduce CTA size, real tap targets */
  .site-nav {
    padding-top: 18px;
    gap: 12px;
    flex-wrap: wrap;
    row-gap: 10px;
  }
  .site-nav .links { gap: 14px; font-size: 13px; flex-wrap: wrap; }
  .site-nav .links a {
    padding: 8px 2px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
  }
  .site-nav .cta-mini {
    padding: 10px 16px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
  }
  /* shrink the wordmark image (it has fixed width=180 in HTML, which is too
     big for a 360px viewport once we add a CTA pill alongside it). */
  .wordmark img { height: 32px; width: auto; }
  .brand-by { font-size: 18px; }
  .brand-by__logo { height: 18px; }

  /* hero: tighter spacing, less aggressive rotations (avoid edge clipping) */
  .hero { padding-block: 28px 48px; gap: 24px; }
  .hero--centered { padding-block: 36px 48px; }
  .hero-headline {
    font-size: clamp(44px, 11vw, 64px);
    margin-bottom: 22px;
    max-width: none;
    /* allow long words to break instead of pushing the line off-screen */
    overflow-wrap: break-word;
    word-break: normal;
  }
  .eyebrow { font-size: 22px; }
  .hero-receipt { margin-bottom: 26px; }
  .hero-receipt__cap { font-size: 18px; }
  /* the LinkedIn card had transform: rotate(-1.5deg) which inflates its
     bounding box by ~10px on each side and was kicking horizontal overflow.
     keep a tiny tilt but cap width and clip to the viewport. */
  .hero-receipt .hero-li-card {
    transform: rotate(-1deg);
    width: min(380px, calc(100vw - 80px));
    max-width: min(380px, calc(100vw - 80px));
  }
  /* hide the sphinx cake on mobile - too much vertical real estate between
     hero and "don't take our word for it"; receipts wall does the heavy lifting. */
  .hero-photo { display: none; }

  .btn-primary { padding: 16px 26px; font-size: 17px; min-height: 48px; }
  .micro { font-size: 18px; }

  /* receipts: shrink heading + bring tile gutters in line with new padding */
  .section-title { font-size: 38px; }
  .section-sub   { font-size: 20px; margin-bottom: 28px; }
  .scroll-wrap   { margin-inline: calc(0px - var(--page-gutter)); overflow: hidden; }
  .scroll-row    {
    padding: 40px var(--page-gutter) 56px;
    gap: 22px;
    /* mandatory snap on touch - quick swipes always settle on a card. */
    scroll-snap-type: x mandatory;
    scroll-padding-left: var(--page-gutter);
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }
  .scroll-wrap::after { width: 36px; }
  .tile { scroll-snap-align: center; scroll-snap-stop: always; }

  /* tiles fit ≤360 viewports without horizontal cutoff */
  .li-card,
  .x-card        { width: min(300px, calc(100vw - 80px)); padding: 16px; }
  .li-card-img   { width: calc(100% + 32px); margin: 10px -16px 0; height: 200px; }
  .email-card    { width: min(320px, calc(100vw - 80px)); }
  .sifted-card   { width: min(320px, calc(100vw - 80px)); }
  .sifted-img    { height: 200px; }
  .sifted-overlay { font-size: 18px; }
  .stat-tile     { width: min(280px, calc(100vw - 80px)); padding: 28px 22px 26px; }
  .stat-tile .bignum { font-size: 60px; }
  .stat-tile .bignum .arrow { font-size: 38px; }
  .tile-caption  { font-size: 19px; max-width: 300px; }

  /* press feature cards (Forbes / BI / CNN Türk / Siliconmania) - match sifted-card mobile size */
  .press-card    { width: min(320px, calc(100vw - 80px)); }
  .press-img     { height: 200px; min-height: 44px; }
  .press-overlay { font-size: 17px; }

  /* map: shorter, friendlier label */
  .map-section { padding: 40px 0 48px; }
  .map-section .map-placeholder { height: 320px; }
  .map-section .map-label { font-size: 24px; text-align: center; padding: 0 16px; }
  .map-section .corner-tag { font-size: 10px; right: 10px; top: 10px; }
  .map-section .sub { font-size: 16px; }
  /* the homepage embed CTA stacks cleanly on narrow */
  .map-embed-cta__btn { width: 100%; justify-content: center; min-height: 48px; }

  /* CTA receipt: pull section padding down too */
  .cta-receipt { padding: 48px 0 72px; }
  .cta-receipt__paper {
    transform: rotate(-1deg);
    /* the rotation inflates bounding box; cap so the rotated paper never
       triggers horizontal overflow on small viewports. */
    max-width: min(720px, calc(100vw - 56px));
  }

  /* receipts-bridge breathing room */
  .receipts-bridge { font-size: 21px; padding: 0 16px; }
}

/* ---------- phones (≤520) ---------- */
@media (max-width: 520px) {
  :root {
    --page-gutter: 28px;
  }

  /* hide tertiary nav links - keep the drippy logo + the CTA pill (the job-to-be-done) */
  .site-nav { gap: 10px; align-items: center; }
  .site-nav .links { gap: 8px; flex-wrap: nowrap; flex-shrink: 0; }
  .site-nav .links a:not(.cta-mini) { display: none; }
  .site-nav .cta-mini {
    padding: 11px 16px;
    font-size: 13px;
    min-height: 44px;
    white-space: nowrap;
  }
  .brand { gap: 2px; min-width: 0; flex: 1 1 auto; }
  .wordmark img { height: 30px; }
  .brand-by { font-size: 17px; gap: 6px; }
  .brand-by__logo { height: 17px; }

  /* hero: stack the CTA full-width so it's a real thumb target */
  .hero { padding-block: 20px 40px; gap: 20px; }
  .hero--centered { padding-block: 28px 40px; }
  .hero-headline {
    font-size: clamp(40px, 12vw, 56px);
    line-height: 0.96;
    margin-bottom: 18px;
  }
  .cta-row { gap: 14px; align-items: stretch; flex-direction: column; }
  .btn-primary {
    display: block;
    text-align: center;
    width: 100%;
    padding: 18px 20px;
    transform: rotate(-0.5deg);
    min-height: 56px;
    font-size: 18px;
  }
  .micro {
    max-width: none;
    text-align: center;
    transform: rotate(0deg);
    font-size: 18px;
    line-height: 1.35;
  }
  .micro::before { content: ''; }

  /* receipts wall + tiles */
  .section-title { font-size: 32px; }
  .section-sub   { font-size: 19px; margin-bottom: 22px; }
  .scroll-wrap   { margin-inline: calc(0px - var(--page-gutter)); }
  .scroll-row    { padding: 36px var(--page-gutter) 52px; gap: 18px; scroll-padding-left: var(--page-gutter); }
  .scroll-wrap::after { width: 28px; }

  .li-card, .x-card { width: min(280px, calc(100vw - 60px)); }
  .li-card-img   { height: 180px; }
  .email-card    { width: min(300px, calc(100vw - 60px)); }
  .email-attachment { height: 200px; }
  .sifted-card   { width: min(300px, calc(100vw - 60px)); }
  .sifted-img    { height: 180px; }
  .press-card    { width: min(300px, calc(100vw - 60px)); }
  .press-img     { height: 180px; }
  .stat-tile     { width: min(260px, calc(100vw - 60px)); padding: 24px 18px 22px; }
  .stat-tile .bignum { font-size: 52px; }
  .stat-tile .bignum .arrow { font-size: 32px; margin: 0 4px; }

  /* how it works: tighter title */
  .how-it-works { padding: 40px 0 32px; }
  .how-it-works .hiw-title { font-size: 34px; margin-bottom: 20px; }
  .how-it-works .hiw-flourish { font-size: 22px; margin-top: 24px; line-height: 1.25; }

  /* map */
  .map-section .map-placeholder { height: 280px; }
  .map-section .map-label { font-size: 22px; }
  .map-embed { margin: 24px 0 12px; }
  .map-embed-cta { gap: 10px; }
  .map-embed-cta__hint { font-size: 19px; transform: none; }

  /* sub-page headers */
  .proof-page-header h1 { font-size: clamp(40px, 12vw, 56px); }
  .faq-page-header h1   { font-size: clamp(34px, 10vw, 48px); }
  .mini-cta { padding: 48px 18px 72px; }
  .mini-cta__pre { font-size: 24px; }
}

/* ---------- very small phones (≤380, e.g. iPhone SE 1st-gen, Z Fold inner) ---------- */
@media (max-width: 380px) {
  :root {
    --page-gutter: 20px;
  }

  /* nav: SE-class viewports can't fit logo + by-line + CTA without help. */
  .brand-by { display: none; }
  .wordmark img { height: 28px; }
  .site-nav .cta-mini { padding: 10px 12px; font-size: 12px; }

  .hero-headline { font-size: 38px; }
  .section-title { font-size: 28px; }

  .li-card, .x-card { width: min(260px, calc(100vw - 48px)); }
  .email-card    { width: min(280px, calc(100vw - 48px)); }
  .sifted-card   { width: min(280px, calc(100vw - 48px)); }
  .press-card    { width: min(280px, calc(100vw - 48px)); }
  .stat-tile     { width: min(240px, calc(100vw - 48px)); }
  .stat-tile .bignum { font-size: 46px; }

  .scroll-wrap { margin-inline: calc(0px - var(--page-gutter)); }
  .scroll-row { padding: 32px var(--page-gutter) 48px; scroll-padding-left: var(--page-gutter); }

}

/* ---------- print + low-data fallbacks ---------- */
@media (prefers-reduced-data: reduce) {
  /* avoid loading the bg dot pattern when the user opted into save-data */
  body { background-image: none; }
}


/* ---------- 14. site footer (concept A - back of the bakery) ---------- */
.ck-footer {
  position: relative;
  padding: 0 0 56px;
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  overflow: hidden;
}
.ck-footer__inner {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: var(--page-gutter);
}

/* ribbon hairline + knot */
.ck-ribbon {
  position: relative;
  width: 100%;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 56px;
}
.ck-ribbon::before {
  content: '';
  position: absolute;
  inset: 50% 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg,
    rgba(255,79,163,0) 0%,
    var(--pink) 8%,
    var(--pink) 92%,
    rgba(255,79,163,0) 100%);
  transform: translateY(-50%);
  box-shadow: 0 1px 0 rgba(224, 50, 126, 0.25);
}
.ck-ribbon__knot {
  position: relative;
  z-index: 1;
  display: inline-block;
  width: 22px;
  height: 22px;
  line-height: 22px;
  text-align: center;
  color: var(--pink);
  background: var(--bg);
  font-size: 14px;
  transform: rotate(8deg);
}

/* giant wonky wordmark */
.ck-wordmark {
  text-align: center;
  margin: 0 0 36px;
  padding: 0 8px;
}
.ck-wordmark__img {
  display: block;
  margin: 0 auto;
  width: clamp(180px, 34vw, 380px);
  height: auto;
  transform: rotate(-1.2deg);
}
.ck-wordmark__name {
  display: inline-block;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 900;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  font-size: clamp(72px, 16vw, 188px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: var(--ink);
  transform: rotate(-1.2deg);
  margin: 0;
  position: relative;
}
.ck-wordmark__underline {
  display: block;
  margin: 6px auto 0;
  width: min(78%, 720px);
  height: 14px;
  color: var(--pink);
  transform: rotate(-1.2deg);
}
.ck-wordmark__sub {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  font-family: 'Caveat', 'Bradley Hand', 'Marker Felt', 'Segoe Script', 'Comic Sans MS', cursive;
  font-weight: 600;
  font-size: clamp(16px, 1.8vw, 22px);
  color: var(--muted);
  transform: rotate(0.8deg);
}
.ck-wordmark__sub-logo {
  height: 0.95em;
  width: auto;
  display: inline-block;
  vertical-align: middle;
  opacity: 0.85;
}

/* three-column shopfront */
.ck-shop {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  margin-bottom: 64px;
}
@media (min-width: 720px) {
  .ck-shop {
    grid-template-columns: 1.1fr 1fr 1fr;
    gap: 56px;
  }
}

.ck-col__label {
  font-family: 'Permanent Marker', 'Inter', sans-serif;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 18px;
  padding-bottom: 10px;
  border-bottom: 1.5px solid rgba(10,10,10,0.85);
  display: inline-block;
  transform: rotate(-0.6deg);
}

.ck-col__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ck-col__list li {
  margin: 0 0 10px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.ck-col__list a {
  text-decoration: none;
  color: var(--ink);
  transition: color 150ms ease;
}
.ck-col__list a:hover,
.ck-col__list a:focus-visible {
  color: var(--pink-shadow);
  text-decoration: underline;
  text-decoration-style: wavy;
  text-decoration-color: var(--pink);
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
}

/* THE BAKERY column */
.ck-bakery__addr {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 14px;
}
.ck-pin { display: none; }
.ck-bakery__hours {
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: 'Caveat', 'Bradley Hand', 'Marker Felt', 'Segoe Script', 'Comic Sans MS', cursive;
  font-weight: 600;
  font-size: 22px;
  line-height: 1.25;
  color: var(--ink);
}
.ck-bakery__hours li {
  margin-bottom: 2px;
  transform: rotate(-0.4deg);
}
.ck-bakery__hours li:nth-child(2) { transform: rotate(0.5deg); padding-left: 6px; }
.ck-bakery__hours li:nth-child(3) { transform: rotate(-0.8deg); padding-left: 2px; }

.ck-bakery__partners {
  margin-top: 18px;
}
.ck-bakery__powered {
  display: block;
  margin-bottom: 8px;
  font-family: 'Caveat', 'Bradley Hand', 'Marker Felt', 'Segoe Script', 'Comic Sans MS', cursive;
  font-weight: 600;
  font-size: 18px;
  color: var(--muted);
  transform: rotate(-1.2deg);
  transform-origin: left center;
}
.ck-bakery__logos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 16px;
}
.ck-bakery__logos li {
  line-height: 0;
}
.ck-bakery__logos a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 28px;
  transition: transform 180ms ease;
}
.ck-bakery__logos img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.ck-bakery__logos a:hover,
.ck-bakery__logos a:focus-visible {
  transform: translateY(-1px) scale(1.04);
}

/* compact "find us" social row */
.ck-socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 22px;
  padding: 22px 8px 30px;
  font-family: 'Caveat', 'Bradley Hand', 'Marker Felt', 'Segoe Script', 'Comic Sans MS', cursive;
}
.ck-socials__label {
  font-weight: 600;
  font-size: 22px;
  color: var(--muted);
  transform: rotate(-1.5deg);
}
.ck-socials__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 22px;
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
  transition: color 180ms ease, transform 180ms ease;
}
.ck-socials__link:nth-of-type(1) { transform: rotate(-0.6deg); }
.ck-socials__link:nth-of-type(2) { transform: rotate(0.8deg); }
.ck-socials__link:nth-of-type(3) { transform: rotate(-0.3deg); }
.ck-socials__icon {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--ink);
  transition: color 180ms ease;
}
.ck-socials__link:hover,
.ck-socials__link:focus-visible {
  color: var(--pink);
  transform: translateY(-1px);
  text-decoration: underline;
  text-decoration-style: wavy;
  text-decoration-color: var(--pink);
  text-decoration-thickness: 1.2px;
  text-underline-offset: 4px;
  outline: none;
}
.ck-socials__link:hover .ck-socials__icon,
.ck-socials__link:focus-visible .ck-socials__icon {
  color: var(--pink);
}

/* hairline + legal */
.ck-divider {
  width: 100%;
  height: 1px;
  background: rgba(10,10,10,0.6);
  opacity: 0.6;
  border: 0;
  margin: 0 0 24px;
}
.ck-legal {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.7;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}
@media (min-width: 720px) {
  .ck-legal { font-size: 12px; }
}
.ck-legal__sep {
  display: inline-block;
  padding: 0 6px;
  color: rgba(107,99,88,0.7);
}

/* sticky-note signoff */
.ck-sticky {
  position: absolute;
  right: 28px;
  bottom: 32px;
  width: 188px;
  padding: 18px 16px 20px;
  background: rgba(255, 232, 138, 0.85);
  border: 1px solid var(--tape-edge);
  box-shadow:
    0 1px 0 rgba(0,0,0,0.04),
    0 12px 22px -14px rgba(10,10,10,0.3),
    0 24px 36px -22px rgba(10,10,10,0.35);
  font-family: 'Caveat', 'Bradley Hand', 'Marker Felt', 'Segoe Script', 'Comic Sans MS', cursive;
  font-weight: 600;
  font-size: 19px;
  color: var(--ink);
  line-height: 1.25;
  transform: rotate(-4deg);
  transform-origin: 80% 20%;
  transition: transform 200ms ease;
}
.ck-sticky:hover {
  animation: ckStickyJiggle 0.4s ease-in-out;
}
@keyframes ckStickyJiggle {
  0%   { transform: rotate(-4deg); }
  50%  { transform: rotate(-2deg); }
  100% { transform: rotate(-4deg); }
}
.ck-sticky__sig {
  display: block;
  margin-top: 6px;
  font-family: 'Caveat', 'Bradley Hand', 'Marker Felt', 'Segoe Script', 'Comic Sans MS', cursive;
  font-weight: 700;
  font-size: 22px;
  color: var(--pink-shadow);
}

@media (max-width: 900px) {
  .ck-sticky {
    position: relative;
    right: auto;
    bottom: auto;
    margin: 28px auto 0;
    display: block;
  }
}

.ck-footer a:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
  border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .ck-socials__link,
  .ck-sticky,
  .ck-col__list a {
    transition: none;
  }
  .ck-socials__link:hover,
  .ck-socials__link:focus-visible {
    transform: none;
  }
  .ck-sticky:hover {
    animation: none;
  }
}

/* ─── Mini-footer for VC flow pages (apply/buy/map/applied/received) ─── */
.vc-mini-foot {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 32px 24px 56px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 12px;
  color: var(--muted, #6B6358);
  letter-spacing: 0.02em;
}
.vc-mini-foot a {
  color: var(--ink, #0A0A0A);
  text-decoration: underline;
  text-decoration-color: var(--pink, #FF4FA3);
  text-underline-offset: 3px;
}
.vc-mini-foot a:hover { color: var(--pink, #FF4FA3); }
.vc-mini-foot span { opacity: 0.45; }
