/* ============================================================
   SHAFFER EUROPE 2026 — scrapbook stylesheet
   ============================================================ */

:root {
  --cream: #f4ead5;
  --cream-deep: #ede0c4;
  --paper: #fbf4e1;
  --ink: #2a241a;
  --ink-soft: #5b4f3a;
  --accent: #8a2b2b;        /* deep brick */
  --accent-2: #1f3a5f;      /* navy */
  --gold: #b78a3a;
  --tape-blue: rgba(85, 130, 165, 0.7);
  --tape-red:  rgba(170, 70, 70, 0.65);
  --tape-gold: rgba(200, 165, 90, 0.65);
  --shadow: 0 6px 22px rgba(60, 40, 10, 0.18);
  --shadow-soft: 0 3px 10px rgba(60, 40, 10, 0.12);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  background: var(--cream);
  background-image:
    /* fine paper grain via SVG fractal noise */
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.45  0 0 0 0 0.34  0 0 0 0 0.18  0 0 0 0.18 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"),
    /* warm vignette in the corners */
    radial-gradient(ellipse at top left, rgba(170, 130, 70, 0.08), transparent 60%),
    radial-gradient(ellipse at bottom right, rgba(120, 80, 40, 0.10), transparent 60%);
  background-size: 200px 200px, auto, auto;
  background-position: 0 0, 0 0, 0 0;
  color: var(--ink);
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  font-size: 19px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

.paper {
  max-width: 880px;
  margin: 0 auto;
  background: var(--paper);
  background-image:
    /* heavier paper grain */
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='p'><feTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.55  0 0 0 0 0.42  0 0 0 0 0.22  0 0 0 0.10 0'/></filter><rect width='100%' height='100%' filter='url(%23p)'/></svg>"),
    /* horizontal fiber lines */
    repeating-linear-gradient(0deg, transparent 0 38px, rgba(120, 90, 50, 0.018) 38px 39px),
    /* vertical fiber lines, even fainter */
    repeating-linear-gradient(90deg, transparent 0 56px, rgba(120, 90, 50, 0.012) 56px 57px),
    linear-gradient(180deg, rgba(255, 250, 235, 0.6), rgba(245, 232, 200, 0.4));
  padding: 40px 36px 80px;
  box-shadow: 0 10px 40px rgba(60, 40, 10, 0.15), inset 0 0 80px rgba(160, 120, 60, 0.06);
  position: relative;
  min-height: 100vh;
}
.paper::before, .paper::after {
  /* faint torn-edge feel on the top */
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 12px;
  pointer-events: none;
}
.paper::before { top: 0; background: linear-gradient(180deg, rgba(120, 80, 40, 0.18), transparent); }
.paper::after  { bottom: 0; background: linear-gradient(0deg, rgba(120, 80, 40, 0.14), transparent); }
/* ===== Masthead ===== */

.masthead {
  text-align: center;
  position: relative;
  padding: 8px 0 28px;
  margin-bottom: 36px;
}

.flipCard {
  margin: 0 0 18px;
  perspective: 1500px;
  position: relative;
  /* prevent iOS long-press selection */
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
.flipInner {
  position: relative;
  width: 100%;
  transition: transform 0.7s cubic-bezier(.4,.2,.2,1);
  transform-style: preserve-3d;
}
.flipInner.flipped {
  transform: rotateY(180deg);
}
.flipFace {
  width: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.flipFront {
  position: relative;
}
.flipBack {
  position: absolute;
  inset: 0;
  background: var(--paper);
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='p'><feTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.55  0 0 0 0 0.42  0 0 0 0 0.22  0 0 0 0.10 0'/></filter><rect width='100%' height='100%' filter='url(%23p)'/></svg>"),
    linear-gradient(180deg, #f0e5cf, #e9ddc0);
  transform: rotateY(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--cream-deep);
  box-shadow: inset 0 0 60px rgba(120, 80, 40, 0.10);
}
.flipBackInner {
  text-align: center;
  width: 80%;
  max-width: 320px;
  padding: 30px 0;
}
.flipBackKicker {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.5px;
}
.flipBackHint {
  font-family: 'Caveat', cursive;
  font-size: 20px;
  color: var(--ink-soft);
  margin: 4px 0 18px;
  font-style: normal;
}
.flipBack input[type="password"] {
  width: 100%;
  padding: 11px 14px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  border: 1px solid var(--ink-soft);
  background: var(--paper);
  border-radius: 3px;
  text-align: center;
  letter-spacing: 4px;
}
.flipBack button#flipUnlock {
  margin-top: 10px;
  width: 100%;
  background: var(--ink);
  color: var(--paper);
  border: none;
  padding: 10px 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  letter-spacing: 1.5px;
  cursor: pointer;
}
.flipBack button#flipUnlock:hover { background: #1a1610; }
.flipBackErr {
  font-family: 'Caveat', cursive;
  font-size: 20px;
  color: var(--accent);
  margin-top: 8px;
  min-height: 24px;
}
.flipBackCancel {
  background: transparent;
  border: none;
  font-family: 'Caveat', cursive;
  font-size: 18px;
  color: var(--ink-soft);
  cursor: pointer;
  padding: 4px 12px;
  margin-top: 4px;
}

.heroPoster {
  margin: 0;
  padding: 0;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.heroPoster img {
  width: 100%;
  display: block;
  filter: contrast(0.95) saturate(0.92);
  pointer-events: none;
}
.heroPoster::after {
  /* paper-grain overlay to harmonize with the rest of the page */
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.55  0 0 0 0 0.42  0 0 0 0 0.22  0 0 0 0.08 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 200px 200px;
  mix-blend-mode: multiply;
  opacity: 0.6;
  pointer-events: none;
}

.routeMap {
  margin: 24px 0 48px;
}
.mapFigure {
  margin: 16px -8px 0;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--cream-deep);
  box-shadow: var(--shadow);
  position: relative;
  transform: rotate(-0.6deg);
}
.mapFigure::before {
  content: '';
  position: absolute;
  top: -10px; left: 50%;
  transform: translateX(-50%) rotate(-1.5deg);
  width: 110px; height: 18px;
  background: var(--tape-gold);
  background-image: radial-gradient(circle at 5px 5px, rgba(0,0,0,0.16) 1.3px, transparent 1.5px);
  background-size: 10px 10px;
  box-shadow: 0 2px 3px rgba(0,0,0,0.12);
}
.mapFigure img,
.mapFigure svg.medMap {
  width: 100%;
  display: block;
  height: auto;
}
.mapFigure img {
  filter: contrast(0.92) saturate(0.85);
}
.mapCaption {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 17px;
  font-style: italic;
  color: var(--ink-soft);
  line-height: 1.65;
  margin: 14px 4px 0;
  padding: 0 6px;
}
.masthead::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 6px;
  background-image:
    /* stitched line — small dashes with shadow underneath */
    linear-gradient(90deg, var(--ink-soft) 50%, transparent 50%),
    linear-gradient(90deg, rgba(0,0,0,0.18) 50%, transparent 50%);
  background-size: 10px 1px, 10px 1px;
  background-position: 0 0, 1px 3px;
  background-repeat: repeat-x;
  opacity: 0.5;
}

.postmark {
  font-family: 'Special Elite', 'Courier New', monospace;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: clamp(54px, 11vw, 96px);
  line-height: 0.95;
  letter-spacing: -1px;
  margin: 0;
  color: var(--ink);
}
.title .tiny {
  display: block;
  font-family: 'Caveat', cursive;
  font-size: 0.34em;
  font-weight: 400;
  color: var(--ink-soft);
  margin-bottom: -10px;
}
.title .tagline-script {
  display: block;
  font-family: 'Caveat', cursive;
  font-weight: 400;
  font-size: 0.38em;
  color: var(--accent-2);
  margin-top: 6px;
  font-style: italic;
}
.subtitle {
  margin: 18px auto 0;
  max-width: 540px;
  font-style: italic;
  color: var(--ink-soft);
  font-size: 19px;
}

.stampWrap {
  margin-top: 20px;
  display: flex; justify-content: center;
}
.stamp {
  display: inline-block;
  font-family: 'Special Elite', monospace;
  font-size: 10px;
  letter-spacing: 3px;
  padding: 5px 12px;
  border: 1px solid var(--ink-soft);
  color: var(--ink-soft);
  border-radius: 2px;
  opacity: 0.7;
  background: transparent;
}

/* ===== Countdown / day-counter card ===== */

.countdownCard {
  position: relative;
  background: #fff;
  margin: 0 auto 40px;
  max-width: 420px;
  padding: 28px 22px 26px;
  text-align: center;
  border: 1px solid var(--cream-deep);
  box-shadow: var(--shadow);
  transform: rotate(-1deg);
}
.countdownCard::before {
  /* washi tape on top */
  content: '';
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 140px; height: 26px;
  background: var(--tape-blue);
  background-image: repeating-linear-gradient(
    90deg,
    rgba(255,255,255,0.18) 0 6px,
    transparent 6px 12px
  );
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.countdownTopLabel {
  font-family: 'Special Elite', monospace;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--ink-soft);
}
.countdownNumber {
  font-family: 'Cormorant Garamond', serif;
  font-size: 64px;
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
  margin: 6px 0 2px;
}
.countdownUnit {
  font-family: 'Caveat', cursive;
  font-size: 28px;
  color: var(--ink-soft);
}
.countdownSub {
  margin-top: 8px;
  font-style: italic;
  color: var(--ink-soft);
  font-size: 15px;
}

/* ===== Quick strip ===== */

.quickStrip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 38px;
}
.qsItem {
  background: rgba(255, 250, 235, 0.6);
  border: 1px solid var(--cream-deep);
  padding: 10px 14px;
  border-radius: 3px;
  position: relative;
}
.qsLabel {
  font-family: 'Special Elite', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.qsValue {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  color: var(--ink);
  margin-top: 2px;
}
@media (min-width: 620px) {
  .quickStrip { grid-template-columns: repeat(4, 1fr); }
}

/* ===== Cities strip ===== */

.citiesStrip {
  margin: 0 -36px 36px;
  padding: 14px 24px;
  background: rgba(255, 248, 230, 0.5);
  border-top: 0;
  border-bottom: 0;
  background-image:
    linear-gradient(90deg, rgba(120, 90, 50, 0.5) 50%, transparent 50%),
    linear-gradient(90deg, rgba(120, 90, 50, 0.5) 50%, transparent 50%);
  background-size: 8px 1px, 8px 1px;
  background-position: 0 0, 0 100%;
  background-repeat: repeat-x, repeat-x;
  overflow-x: auto;
  white-space: nowrap;
  text-align: center;
}
.citiesStrip .city {
  display: inline-block;
  margin: 0 12px;
  font-family: 'Caveat', cursive;
  font-size: 22px;
  color: var(--ink);
}
.citiesStrip .city + .city::before {
  content: ' · ';
  color: var(--ink-soft);
  margin-right: 14px;
}

/* ===== Intro letter ===== */

.introLetter {
  margin-bottom: 50px;
  position: relative;
  padding: 0 6px;
}
.introLetter h2.handwritten {
  font-family: 'Caveat', cursive;
  font-weight: 600;
  font-size: 28px;
  color: var(--ink-soft);
  margin: 0 0 10px;
}
.introLetter p {
  font-size: 19px;
  line-height: 1.7;
  margin: 10px 0;
}
.signoff {
  text-align: right;
  font-family: 'Caveat', cursive;
  font-size: 28px;
  color: var(--accent-2);
  margin-top: 18px !important;
}

/* ===== Section titles ===== */

.sectionTitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.5px;
  margin: 0 0 6px;
  position: relative;
  display: inline-block;
}
.sectionTitle::after {
  content: '';
  display: block;
  height: 2px; width: 48px;
  margin-top: 6px;
  background: var(--ink-soft);
  border-radius: 1px;
  opacity: 0.6;
}
.sectionLede {
  color: var(--ink-soft);
  font-style: italic;
  margin: 0 0 22px;
}

/* ===== Where-they-are widget ===== */

.whereNow {
  display: flex; align-items: center; gap: 14px;
  background: linear-gradient(180deg, #fff8dc, #f3e4b7);
  border: 1px solid #d8c382;
  padding: 14px 18px;
  border-radius: 4px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-soft);
  position: relative;
}
.whereNow::before {
  content: '';
  position: absolute;
  top: -10px; left: 16px;
  width: 70px; height: 20px;
  background: var(--tape-gold);
  transform: rotate(-4deg);
  box-shadow: 0 2px 3px rgba(0,0,0,0.1);
}
.whereNow .pulse {
  width: 8px; height: 8px;
  background: var(--ink-soft);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(91, 79, 58, 0.25);
  animation: pulse 5s infinite;
  flex-shrink: 0;
  opacity: 0.7;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(91, 79, 58, 0.25); }
  70% { box-shadow: 0 0 0 8px rgba(91, 79, 58, 0); }
  100% { box-shadow: 0 0 0 0 rgba(91, 79, 58, 0); }
}
.whereNow .wlabel {
  font-family: 'Special Elite', monospace;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 10px;
  color: var(--ink-soft);
}
.whereNow .wcity {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: var(--ink);
  font-weight: 600;
}
.whereNow .wnote {
  font-family: 'Caveat', cursive;
  font-size: 18px;
  color: var(--ink-soft);
  margin-top: 2px;
}

/* ===== Day grid (polaroid stack) ===== */

.daysGrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  margin-bottom: 50px;
}
@media (min-width: 600px) {
  .daysGrid { grid-template-columns: 1fr 1fr; gap: 30px 22px; }
}

.dayCard {
  position: relative;
  background: #fff;
  padding: 14px 14px 18px;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  border: 1px solid #eddcb7;
  display: block;
}
.dayCard:nth-child(odd) { transform: rotate(-1.2deg); }
.dayCard:nth-child(even) { transform: rotate(1deg); }
.dayCard:nth-child(3n) { transform: rotate(-0.4deg); }
.dayCard:hover { transform: rotate(0deg) translateY(-4px); box-shadow: 0 16px 36px rgba(60, 40, 10, 0.22); }

/* Washi tape — six rotating designs so no two adjacent cards look alike */
.dayCard::before {
  content: '';
  position: absolute;
  top: -10px; left: 18px;
  width: 78px; height: 20px;
  background: var(--tape-blue);
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,0.22) 0 6px, transparent 6px 12px);
  transform: rotate(-5deg);
  box-shadow: 0 2px 3px rgba(0,0,0,0.12);
  border-radius: 1px;
}
.dayCard:nth-child(6n+2)::before {
  background: var(--tape-red);
  background-image: repeating-linear-gradient(45deg, rgba(0,0,0,0.06) 0 4px, transparent 4px 8px);
  left: auto; right: 18px; transform: rotate(4deg);
}
.dayCard:nth-child(6n+3)::before {
  background: var(--tape-gold);
  background-image: radial-gradient(circle at 5px 6px, rgba(0,0,0,0.18) 1.4px, transparent 1.6px);
  background-size: 10px 12px;
  transform: rotate(-2deg);
}
.dayCard:nth-child(6n+4)::before {
  background: #b8c8a8;
  background-image: radial-gradient(circle at 8px 6px, rgba(60,80,40,0.35) 2px, transparent 2.4px);
  background-size: 14px 14px;
  opacity: 0.75;
  left: 30%; transform: rotate(2deg);
}
.dayCard:nth-child(6n+5)::before {
  background: #d4b08c;
  background-image: repeating-linear-gradient(135deg, rgba(120,70,30,0.25) 0 3px, transparent 3px 7px);
  opacity: 0.8;
  transform: rotate(3deg);
  left: auto; right: 20%;
}
.dayCard:nth-child(6n)::before {
  background: rgba(60, 80, 110, 0.55);
  background-image: repeating-linear-gradient(0deg, rgba(255,255,255,0.18) 0 3px, transparent 3px 8px);
  transform: rotate(-3deg);
}

/* Subtle corner peel — bottom-right corner looks slightly lifted */
.dayCard::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 22px; height: 22px;
  background: linear-gradient(135deg, transparent 50%, rgba(120, 90, 50, 0.18) 50%, rgba(60, 40, 10, 0.28) 75%, transparent 75%);
  pointer-events: none;
}

.dayPhoto {
  width: 100%;
  padding-top: 70%;
  background: linear-gradient(135deg, #e9e0c8, #d4c6a3);
  position: relative;
  margin-bottom: 12px;
  border: 1px solid #d8c89e;
  overflow: hidden;
}
.dayPhoto--cover {
  background: #fff;
}
.dayPhoto--cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.dayPhoto .placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  font-family: 'Caveat', cursive;
  font-size: 22px;
  color: rgba(60, 40, 10, 0.35);
}
.dayPhoto .placeholder .icon {
  font-size: 44px;
  opacity: 0.6;
}

.dayLabel {
  font-family: 'Special Elite', monospace;
  letter-spacing: 2px;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.dayCity {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.15;
  margin: 4px 0 2px;
  color: var(--ink);
}
.dayKicker {
  font-family: 'Caveat', cursive;
  font-size: 22px;
  color: var(--ink-soft);
  margin-bottom: 4px;
}
.dayCaption {
  font-size: 15px;
  color: var(--ink-soft);
  font-style: italic;
}

/* ===== Postcards section ===== */

.postcardsSection { margin: 50px 0 30px; }
.postcardStack { display: grid; gap: 18px; }
.postcardEmpty {
  font-family: 'Caveat', cursive;
  font-size: 24px;
  color: rgba(60, 40, 10, 0.5);
  text-align: center;
  padding: 28px;
  border: 2px dashed rgba(120, 90, 50, 0.3);
  border-radius: 4px;
}

/* ===== Logistics link to private ===== */

.logisticsLink {
  margin: 40px 0 10px;
  text-align: center;
}
.lockLink {
  display: inline-flex; gap: 12px; align-items: center;
  background: #fff;
  border: 1px dashed var(--ink-soft);
  padding: 14px 20px;
  text-decoration: none;
  color: var(--ink);
  border-radius: 4px;
  font-family: 'Cormorant Garamond', serif;
  transition: background 0.2s;
}
.lockLink:hover { background: #fffbe8; }
.lockIcon { font-size: 22px; }
.lockText strong { font-size: 19px; }
.lockText .lockSub { display: block; font-family: 'Caveat', cursive; font-size: 18px; color: var(--ink-soft); margin-top: 2px; }

/* ===== Footer ===== */

.footer {
  text-align: center;
  margin-top: 50px;
  padding-top: 24px;
  position: relative;
}
.footer::before {
  content: '';
  display: block;
  position: absolute;
  top: 0; left: 25%; right: 25%;
  height: 6px;
  background-image:
    linear-gradient(90deg, var(--ink-soft) 50%, transparent 50%),
    linear-gradient(90deg, rgba(0,0,0,0.18) 50%, transparent 50%);
  background-size: 10px 1px, 10px 1px;
  background-position: 0 0, 1px 3px;
  background-repeat: repeat-x;
  opacity: 0.5;
}
.footer .handwritten {
  font-family: 'Caveat', cursive;
  font-size: 22px;
  color: var(--ink-soft);
}

/* ===== Private page ===== */

.lockGate {
  max-width: 380px;
  margin: 80px auto;
  text-align: center;
  background: #fff;
  border: 1px solid var(--cream-deep);
  padding: 40px 28px;
  box-shadow: var(--shadow);
  transform: rotate(-0.5deg);
  position: relative;
}
.lockGate::before {
  content: '';
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 120px; height: 22px;
  background: var(--tape-red);
}
.lockGate h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  margin: 0 0 4px;
}
.lockGate p {
  color: var(--ink-soft);
  font-style: italic;
  margin: 0 0 22px;
  font-size: 16px;
}
.lockGate input[type="password"] {
  width: 100%;
  padding: 12px 14px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  border: 1px solid var(--ink-soft);
  background: var(--paper);
  border-radius: 3px;
  margin-bottom: 14px;
}
.lockGate button {
  background: var(--accent);
  color: white;
  border: none;
  padding: 12px 24px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  letter-spacing: 1px;
  border-radius: 3px;
  cursor: pointer;
  width: 100%;
}
.lockGate button:hover { background: #6e1f1f; }
.lockError {
  color: var(--accent);
  font-family: 'Caveat', cursive;
  font-size: 20px;
  margin-top: 10px;
  min-height: 28px;
}

.privatePanel {
  display: none;
}
.privatePanel.unlocked { display: block; }

.privateSection {
  margin-bottom: 36px;
  background: #fff;
  border: 1px solid var(--cream-deep);
  padding: 20px 22px;
  box-shadow: var(--shadow-soft);
}
.privateSection h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  margin: 0 0 12px;
  font-weight: 600;
  border-bottom: 1px dashed var(--cream-deep);
  padding-bottom: 8px;
}
.privateRow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px 18px;
  padding: 10px 0;
  border-bottom: 1px dotted var(--cream-deep);
}
.privateRow:last-child { border-bottom: 0; }
.privateRow .pLabel {
  font-family: 'Special Elite', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.privateRow .pValue {
  font-size: 17px;
  color: var(--ink);
}
.privateRow .pValue.tap {
  color: var(--accent-2);
  text-decoration: underline;
}
@media (min-width: 540px) {
  .privateRow { grid-template-columns: 160px 1fr; align-items: baseline; }
}

.backLink {
  display: inline-block;
  margin-bottom: 24px;
  font-family: 'Caveat', cursive;
  font-size: 22px;
  color: var(--accent-2);
  text-decoration: none;
}

/* ===== Day detail page ===== */

.dayHero {
  text-align: center;
  margin-bottom: 30px;
}
.dayHero .day-kicker {
  font-family: 'Special Elite', monospace;
  letter-spacing: 3px;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.dayHero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px, 7vw, 62px);
  line-height: 1.05;
  margin: 8px 0 0;
}
.dayHero .day-city {
  font-family: 'Caveat', cursive;
  font-size: 28px;
  color: var(--ink-soft);
  margin-top: 4px;
}

.dayLedger {
  font-family: 'Special Elite', monospace;
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--ink-soft);
  margin-top: 12px;
  text-transform: lowercase;
  min-height: 18px;
}
.dayLedger .ledgerItem { margin: 0 4px; }
.dayLedger .ledgerSep { color: rgba(120, 90, 50, 0.4); margin: 0 2px; }
.dayLedger .ledgerMuted { opacity: 0.7; text-transform: none; letter-spacing: 1px; }

.photoStack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin: 24px 0;
  align-items: start;
}
@media (min-width: 560px) {
  .photoStack { grid-template-columns: 1fr 1fr; }
}
.polaroid {
  background: #fff;
  padding: 12px 12px 30px;
  box-shadow: var(--shadow);
  position: relative;
}
.polaroid:nth-child(odd) { transform: rotate(-1.5deg); }
.polaroid:nth-child(even) { transform: rotate(1.5deg); }
.polaroid img {
  width: 100%;
  display: block;
  image-orientation: from-image;  /* respect iPhone EXIF rotation */
}
.polaroid .cap {
  font-family: 'Caveat', cursive;
  font-size: 19px;
  line-height: 1.25;
  text-align: center;
  margin-top: 10px;
  color: var(--ink);
  min-height: 1.6em;
}

.journal {
  font-size: 19px;
  line-height: 1.75;
  margin: 30px 0;
}
.journal p { margin: 12px 0; }

.audioCard {
  background: linear-gradient(180deg, #fffbed, #f6e9c3);
  border: 1px solid #d8c382;
  padding: 16px 18px;
  border-radius: 4px;
  margin: 20px 0;
}
.audioCard .audioLabel {
  font-family: 'Caveat', cursive;
  font-size: 22px;
  color: var(--accent-2);
  margin-bottom: 6px;
}
.audioCard audio { width: 100%; }

/* ===== Small Find (specimen card) ===== */

.smallFind {
  background: #fbf6e6;
  border: 1px solid #d8c89e;
  padding: 22px 22px 20px;
  margin: 32px auto;
  max-width: 460px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  position: relative;
}
.smallFind::before {
  content: '';
  position: absolute;
  top: -10px; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 16px;
  background: var(--tape-gold);
  opacity: 0.7;
}
.smallFindNumber {
  font-family: 'Special Elite', monospace;
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--ink-soft);
  text-transform: uppercase;
}
.smallFindKicker {
  font-family: 'Caveat', cursive;
  font-size: 22px;
  color: var(--ink-soft);
  margin: 4px 0 12px;
}
.smallFindPhoto {
  max-width: 280px;
  width: 100%;
  margin: 12px auto;
  display: block;
  filter: sepia(0.06) saturate(0.92);
  border: 1px solid var(--cream-deep);
}
.smallFindLabel {
  font-family: 'Special Elite', monospace;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: 10px;
}
.smallFindText {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  font-style: italic;
  color: var(--ink-soft);
  line-height: 1.65;
  margin-top: 8px;
}

/* ===== Postcard To (typed letter) ===== */

.postcardTo {
  background: #fef9ea;
  border: 1px solid #d8c89e;
  padding: 22px 26px;
  margin: 32px 0;
  position: relative;
  box-shadow: var(--shadow-soft);
}
.postcardTo::before {
  /* faint postcard horizontal line down the middle */
  content: '';
  position: absolute;
  top: 12px; bottom: 12px;
  left: 50%;
  width: 1px;
  background: rgba(120, 90, 50, 0.12);
  display: none;
}
.postcardKicker {
  font-family: 'Special Elite', monospace;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.postcardRecipient {
  font-family: 'Caveat', cursive;
  font-size: 28px;
  color: var(--ink);
  margin-top: 2px;
  margin-bottom: 14px;
}
.postcardText {
  font-family: 'Special Elite', monospace;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink);
  letter-spacing: 0.2px;
  white-space: pre-line;
}
.postcardSignoff {
  font-family: 'Caveat', cursive;
  font-size: 22px;
  color: var(--ink-soft);
  text-align: right;
  margin-top: 12px;
}

/* ===== Day mural (hero illustration per day) ===== */

.dayMural {
  margin: 0 -16px 24px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--cream-deep);
  box-shadow: var(--shadow);
  position: relative;
  transform: rotate(-0.4deg);
}
.dayMural::before {
  content: '';
  position: absolute;
  top: -10px; left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 130px; height: 18px;
  background: var(--tape-gold);
  background-image: radial-gradient(circle at 5px 5px, rgba(0,0,0,0.16) 1.3px, transparent 1.5px);
  background-size: 10px 10px;
  box-shadow: 0 2px 3px rgba(0,0,0,0.12);
  z-index: 1;
}
.dayMural img {
  width: 100%;
  display: block;
  filter: contrast(0.95) saturate(0.95);
}
.dayMural::after {
  /* paper-grain overlay so it harmonizes with the rest of the page */
  content: '';
  position: absolute;
  inset: 12px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.55  0 0 0 0 0.42  0 0 0 0 0.22  0 0 0 0.06 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 200px 200px;
  mix-blend-mode: multiply;
  opacity: 0.6;
  pointer-events: none;
}
@media (min-width: 900px) {
  .dayMural { margin-left: -32px; margin-right: -32px; }
}
@media (max-width: 600px) {
  .dayMural { margin: 0 -8px 20px; padding: 8px; }
}

/* ===== About this place (day-page context block) ===== */

.dayContext {
  background: #faf3df;
  border: 1px solid var(--cream-deep);
  padding: 18px 20px 16px;
  margin: 24px 0;
  position: relative;
  box-shadow: var(--shadow-soft);
}
.dayContext::before {
  content: '';
  position: absolute;
  top: -8px; left: 24px;
  width: 60px; height: 14px;
  background: var(--tape-blue);
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,0.2) 0 5px, transparent 5px 10px);
  transform: rotate(-2deg);
  box-shadow: 0 2px 3px rgba(0,0,0,0.1);
}
.dayContextLabel {
  font-family: 'Special Elite', monospace;
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--ink-soft);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.dayContextAbout {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 10px;
}
.dayContextTiming {
  background: #fef0d0;
  border-left: 3px solid var(--accent);
  padding: 10px 14px;
  margin: 10px 0;
  font-size: 16px;
  line-height: 1.6;
}
.dayContextTimingLabel {
  display: inline-block;
  font-family: 'Special Elite', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-right: 8px;
}
.dayContextTidbit {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  color: var(--ink-soft);
  margin: 8px 0 0;
  line-height: 1.6;
}

/* ===== From Rachel's journal ===== */

.rachelJournal {
  margin: 26px 0;
  padding: 20px 22px 22px 30px;
  position: relative;
  background:
    linear-gradient(transparent 0 27px, rgba(90, 120, 160, 0.13) 27px 28px) 0 6px / 100% 28px,
    #fcfbf6;
  border: 1px solid #d9d2bd;
  box-shadow: var(--shadow-soft);
}
.rachelJournal::before {
  /* red notebook margin line */
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 20px;
  width: 1.5px;
  background: rgba(170, 70, 70, 0.4);
}
.rachelJournalLabel {
  font-family: 'Special Elite', monospace;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.rachelJournalText {
  font-family: 'Caveat', cursive;
  font-size: 23px;
  line-height: 28px;
  color: #29405e;
}
.rachelJournalText p { margin: 0 0 6px; }

@media (max-width: 600px) {
  .rachelJournal { padding: 16px 16px 18px 26px; }
  .rachelJournalText { font-size: 21px; line-height: 28px; }
}

/* ===== The plan (day-page itinerary timeline) ===== */

.dayPlan {
  margin: 24px 0;
  padding: 18px 22px 18px;
  background: #fff;
  border: 1px solid var(--cream-deep);
  position: relative;
  box-shadow: var(--shadow-soft);
}
.dayPlan::before {
  content: '';
  position: absolute;
  top: -8px; right: 24px;
  width: 60px; height: 14px;
  background: var(--tape-red);
  background-image: repeating-linear-gradient(45deg, rgba(0,0,0,0.06) 0 4px, transparent 4px 8px);
  transform: rotate(3deg);
  box-shadow: 0 2px 3px rgba(0,0,0,0.1);
}
.dayPlanLabel {
  font-family: 'Special Elite', monospace;
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--ink-soft);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.dayPlanList {
  list-style: none;
  padding: 0;
  margin: 0;
}
.dayPlanItem {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 14px;
  padding: 8px 0;
  border-bottom: 1px dotted rgba(120, 90, 50, 0.18);
}
.dayPlanItem:last-child { border-bottom: 0; }
.dayPlanTime {
  font-family: 'Special Elite', monospace;
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--accent);
  text-transform: uppercase;
  padding-top: 3px;
}
.dayPlanText {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
}

@media (max-width: 600px) {
  .dayPlan { padding: 14px 16px; margin: 20px 0; }
  .dayPlanItem { grid-template-columns: 70px 1fr; gap: 10px; }
  .dayPlanTime { font-size: 11px; letter-spacing: 1px; }
  .dayPlanText { font-size: 15.5px; }
}

/* ===== Polaroid photo card (day detail page) ===== */

.polaroid::before {
  content: '';
  position: absolute;
  top: -8px; left: 18px;
  width: 70px; height: 18px;
  background: var(--tape-gold);
  background-image: radial-gradient(circle at 5px 5px, rgba(0,0,0,0.18) 1.3px, transparent 1.5px);
  background-size: 10px 10px;
  transform: rotate(-3deg);
  box-shadow: 0 2px 3px rgba(0,0,0,0.12);
}
.polaroid:nth-child(even)::before {
  background: var(--tape-blue);
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,0.22) 0 5px, transparent 5px 10px);
  left: auto; right: 18px; transform: rotate(3deg);
}
.polaroid::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 18px; height: 18px;
  background: linear-gradient(135deg, transparent 50%, rgba(120,90,50,0.16) 50%, rgba(60,40,10,0.24) 75%, transparent 75%);
  pointer-events: none;
}

/* ===== Country stamp on day card ===== */

.dayCard .countryStamp {
  position: absolute;
  bottom: 14px; right: 14px;
  font-family: 'Special Elite', monospace;
  font-size: 9px;
  letter-spacing: 1.5px;
  color: var(--ink-soft);
  border: 1.5px solid var(--ink-soft);
  border-radius: 50%;
  width: 56px; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.1;
  opacity: 0.55;
  transform: rotate(-8deg);
  background: rgba(255, 250, 235, 0.4);
  pointer-events: none;
  z-index: 2;
}
.dayCard:nth-child(odd) .countryStamp { transform: rotate(6deg); right: 18px; bottom: 22px; }

/* ===== Page-number sticker on day card ===== */

.dayCard .pageSticker {
  position: absolute;
  top: 8px; right: 8px;
  background: #fffce6;
  border: 1px solid rgba(120, 90, 50, 0.4);
  font-family: 'Special Elite', monospace;
  font-size: 9px;
  letter-spacing: 1.5px;
  color: var(--ink-soft);
  padding: 3px 7px;
  transform: rotate(2deg);
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
  z-index: 2;
}
.dayCard:nth-child(even) .pageSticker { transform: rotate(-2deg); }

/* ===== Coffee-ring watermark (used sparingly) ===== */

.coffeeRing {
  position: absolute;
  width: 110px; height: 110px;
  border: 6px solid rgba(120, 80, 40, 0.14);
  border-radius: 50%;
  pointer-events: none;
}
.coffeeRing::after {
  content: '';
  position: absolute;
  inset: -4px;
  border: 1px solid rgba(80, 50, 20, 0.10);
  border-radius: 50%;
}

/* ===== Margin doodle arrow (use inline) ===== */

.marginArrow {
  position: absolute;
  width: 60px;
  pointer-events: none;
  opacity: 0.65;
}

/* ===== Things we noticed (index page) ===== */

.noticedHead { margin-bottom: 30px; }
.noticedKicker {
  font-family: 'Special Elite', monospace;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.noticedTitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(38px, 7vw, 56px);
  font-weight: 600;
  letter-spacing: -0.5px;
  margin: 6px 0 8px;
  line-height: 1.05;
}
.noticedLede {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--ink-soft);
  margin: 0;
}

.noticedList { display: grid; gap: 28px; }
.noticedEmpty {
  font-family: 'Caveat', cursive;
  font-size: 22px;
  color: rgba(60, 40, 10, 0.5);
  text-align: center;
  padding: 32px;
  border: 2px dashed rgba(120, 90, 50, 0.3);
}

.noticedItem {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 16px 18px;
  padding: 18px 0;
  border-bottom: 0;
  background-image: linear-gradient(90deg, rgba(120, 90, 50, 0.4) 50%, transparent 50%);
  background-size: 8px 1px;
  background-position: 0 100%;
  background-repeat: repeat-x;
}
.noticedItem:last-child { background: none; }
.noticedNumber {
  font-family: 'Special Elite', monospace;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--ink-soft);
  text-transform: uppercase;
  padding-top: 4px;
}
.noticedMeta {
  font-family: 'Special Elite', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--ink-soft);
  text-transform: uppercase;
}
.noticedLabel {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: var(--ink);
  font-weight: 600;
  margin-top: 4px;
}
.noticedText {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  font-style: italic;
  color: var(--ink-soft);
  line-height: 1.65;
  margin-top: 6px;
}
.noticedThumb {
  grid-column: 1 / -1;
  max-width: 280px;
  margin: 4px auto 0;
  display: block;
  border: 1px solid var(--cream-deep);
  filter: sepia(0.06) saturate(0.92);
}
@media (min-width: 620px) {
  .noticedItem { grid-template-columns: 80px 1fr; }
  .noticedThumb { grid-column: 2; margin: 4px 0 0; }
}

.indexLink {
  display: block;
  text-align: center;
  margin: 30px 0 0;
  font-family: 'Caveat', cursive;
  font-size: 22px;
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px dotted transparent;
}
.indexLink:hover {
  color: var(--ink);
  border-bottom-color: var(--ink-soft);
}

/* ===== Things we ate (index page) ===== */

.eatenList { display: grid; gap: 36px; }

.eatenDay {
  padding-bottom: 10px;
  background-image: linear-gradient(90deg, rgba(120, 90, 50, 0.4) 50%, transparent 50%);
  background-size: 8px 1px;
  background-position: 0 100%;
  background-repeat: repeat-x;
}
.eatenDay:last-child { background: none; }

.eatenDayHead {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid rgba(120, 90, 50, 0.18);
  padding-bottom: 6px;
  margin-bottom: 12px;
}
.eatenDayCity {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.4px;
}
.eatenDayDate {
  font-family: 'Special Elite', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--ink-soft);
  text-transform: uppercase;
}

.eatenMeals {
  list-style: none;
  padding: 0;
  margin: 0;
}
.eatenMeal {
  padding: 8px 0;
  border-bottom: 1px dotted rgba(120, 90, 50, 0.18);
}
.eatenMeal:last-child { border-bottom: 0; }
.eatenMealLine {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  color: var(--ink);
}
.eatenMealLine strong { font-weight: 600; }
.eatenMealSub {
  font-family: 'Special Elite', monospace;
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--ink-soft);
  text-transform: uppercase;
  margin-top: 2px;
}

/* ===== Back of the book ===== */

.bobSection { margin: 36px 0; }
.bobTitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 14px;
  padding-bottom: 6px;
  border-bottom: 0;
  background-image: linear-gradient(90deg, rgba(120,90,50,0.45) 50%, transparent 50%);
  background-size: 8px 1px;
  background-position: 0 100%;
  background-repeat: repeat-x;
}
.bobList { list-style: none; padding: 0; margin: 0; }
.bobEmpty {
  font-family: 'Caveat', cursive;
  font-size: 20px;
  color: rgba(60, 40, 10, 0.45);
  padding: 10px 0;
}
.bobItem {
  padding: 10px 0;
  border-bottom: 1px dotted rgba(120, 90, 50, 0.18);
}
.bobItem:last-child { border-bottom: 0; }
.bobLine {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  color: var(--ink);
}
.bobLine strong { font-weight: 600; }
.bobFrom {
  font-family: 'Special Elite', monospace;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--ink-soft);
  text-transform: uppercase;
}
.bobSub {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 16px;
  color: var(--ink-soft);
  margin-top: 3px;
}

/* ===== Mobile optimization ===== */

@media (max-width: 600px) {
  body { font-size: 17px; }
  .paper {
    padding: 24px 16px 56px;
    box-shadow: none;
  }
  .heroPoster, .flipCard {
    margin-left: 0;
    margin-right: 0;
  }
  .citiesStrip {
    margin-left: -16px;
    margin-right: -16px;
    padding: 12px 18px;
  }
  .citiesStrip .city { font-size: 19px; margin: 0 8px; }

  .subtitle { font-size: 16px; padding: 0 8px; }
  .countdownCard {
    padding: 22px 18px 22px;
    max-width: 100%;
  }
  .countdownNumber { font-size: 48px; }
  .countdownUnit { font-size: 22px; }

  .whereNow {
    padding: 12px 14px;
    margin-bottom: 30px;
  }
  .whereNow .wcity { font-size: 19px; }

  .quickStrip { gap: 8px; margin-bottom: 30px; }
  .qsItem { padding: 9px 12px; }
  .qsValue { font-size: 16px; }

  .introLetter p { font-size: 17px; line-height: 1.65; }
  .introLetter h2.handwritten { font-size: 26px; }

  .sectionTitle { font-size: 28px; }

  .daysGrid { gap: 22px; }
  .dayCard { padding: 12px 12px 16px; }
  .dayCity { font-size: 22px; }
  .dayKicker { font-size: 20px; }
  .dayCaption { font-size: 14px; }

  .dayCard .countryStamp {
    width: 44px; height: 44px;
    font-size: 8px;
    bottom: 10px; right: 10px;
  }
  .dayCard .pageSticker {
    font-size: 8px;
    padding: 2px 6px;
  }

  .dayHero h1 { font-size: 34px; line-height: 1.08; }
  .dayHero .day-city { font-size: 24px; }
  .dayLedger { font-size: 11px; letter-spacing: 1px; }

  .dayContext {
    padding: 14px 16px 14px;
    margin: 20px 0;
  }
  .dayContextAbout { font-size: 16px; line-height: 1.65; }
  .dayContextTiming { font-size: 15px; padding: 8px 12px; }
  .dayContextTidbit { font-size: 15px; }

  .smallFind { padding: 18px 16px 16px; margin: 24px auto; }
  .smallFindPhoto { max-width: 100%; }

  .postcardTo { padding: 18px 18px; margin: 24px 0; }
  .postcardRecipient { font-size: 24px; }
  .postcardText { font-size: 14px; line-height: 1.7; }

  .mapFigure {
    padding: 10px;
    margin: 14px -4px 0;
  }
  .mapCaption { font-size: 15px; line-height: 1.6; }

  .privateRow .pValue { font-size: 16px; }
  .privateSection { padding: 16px 16px; }
  .privateSection h3 { font-size: 22px; }

  .lockGate { margin: 50px auto; padding: 32px 22px; }

  .flipBackInner { width: 86%; padding: 24px 0; }
  .flipBackKicker { font-size: 22px; }
  .flipBack input[type="password"] { font-size: 17px; padding: 10px 12px; }

  .noticedTitle { font-size: 36px; }
  .noticedItem { grid-template-columns: 50px 1fr; gap: 10px 14px; }
  .noticedLabel { font-size: 20px; }
  .noticedText { font-size: 16px; }

  .eatenDayCity { font-size: 22px; }
  .eatenMealLine { font-size: 16px; }

  .bobTitle { font-size: 24px; }
  .bobLine { font-size: 16px; }

  .indexLink { font-size: 20px; margin: 20px 0 0; }
}

/* Tiny screens (≤ 360px) — phones held in narrow split-screen */
@media (max-width: 360px) {
  .paper { padding: 20px 12px 48px; }
  .heroPoster, .flipCard {
    margin-left: 0;
    margin-right: 0;
  }
  .citiesStrip {
    margin-left: -12px;
    margin-right: -12px;
  }
  .sectionTitle { font-size: 24px; }
  .dayCity { font-size: 20px; }
  .countdownNumber { font-size: 42px; }
}

/* Desktop polish — give the page a touch more breathing room on big screens */
@media (min-width: 900px) {
  .paper { padding: 56px 56px 96px; }
  .heroPoster, .flipCard { margin-left: 0; margin-right: 0; }
  .citiesStrip { margin-left: -56px; margin-right: -56px; }
}

/* ===== Image click affordance ===== */

.paper .polaroid img,
.paper .smallFindPhoto,
.paper .noticedThumb,
.paper .mapFigure img,
.paper .dayMural img {
  cursor: zoom-in;
  transition: filter 0.15s ease, transform 0.15s ease;
}
.paper .polaroid img:hover,
.paper .smallFindPhoto:hover,
.paper .noticedThumb:hover,
.paper .mapFigure img:hover,
.paper .dayMural img:hover {
  filter: brightness(1.04);
}

/* ===== Tiny utilities ===== */
.handwritten { font-family: 'Caveat', cursive; }
.dim { color: var(--ink-soft); font-style: italic; font-size: 0.92em; }
