/* Layout concept: a glitter-gel travel scrapbook on lilac graph paper. Each
   page is a spread of things stuck to the paper (a camcorder, a glass globe,
   passports, postcards, polaroids, boarding passes) and each one tilts,
   flips or spins in 3D when you touch it. One look, chosen on purpose: the
   paper is always light, like the original site. */

:root {
  color-scheme: light;
  /* paper and ink */
  --paper: #fcf9ff;
  --grid: #eee6fa;
  --ink: #2b1d3f;
  --soft: #625677;
  --card: #ffffff;
  --stock: #fffdf7;
  /* her wordmark, logo and footer */
  --coral: #e8524a;
  --berry: #c13e8b;
  --grape: #6e3bb0;
  --leaf: #397619;
  --sea: #5c6fb8;
  --gold: #f2c14e;
  --highlight: #ffe58a;
  /* her four region buttons, each with the colour type sits on it in, and an
     ink shade dark enough for small type on the paper */
  --europe: #196aff;
  --europe-on: #ffffff;
  --europe-ink: #1457d4;
  --asia: #ffa053;
  --asia-on: #2b1d3f;
  --asia-ink: #a14d07;
  --central-america: #ff94c0;
  --central-america-on: #2b1d3f;
  --central-america-ink: #b02a66;
  --south-america: #a819ff;
  --south-america-on: #ffffff;
  --south-america-ink: #8a12d6;
  /* type */
  --display: "Aladin", "Chalkboard SE", "Comic Sans MS", cursive;
  --hand: "Gochi Hand", "Bradley Hand", "Comic Sans MS", cursive;
  --text: "Lora", Georgia, "Times New Roman", serif;
  --pixel: "Silkscreen", "Courier New", monospace;
  /* space and depth */
  --gutter: clamp(16px, 4vw, 40px);
  --lift: 0 1px 0 rgb(43 29 63 / 0.05), 0 12px 26px -10px rgb(43 29 63 / 0.35);
  --lift-high: 0 2px 0 rgb(43 29 63 / 0.05), 0 26px 44px -14px rgb(43 29 63 / 0.45);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --region: var(--grape);
  --region-on: #ffffff;
  --region-ink: var(--grape);
}

[data-region="europe"] { --region: var(--europe); --region-on: var(--europe-on); --region-ink: var(--europe-ink); }
[data-region="asia"] { --region: var(--asia); --region-on: var(--asia-on); --region-ink: var(--asia-ink); }
[data-region="central-america"] { --region: var(--central-america); --region-on: var(--central-america-on); --region-ink: var(--central-america-ink); }
[data-region="south-america"] { --region: var(--south-america); --region-on: var(--south-america-on); --region-ink: var(--south-america-ink); }

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 28px 28px;
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { text-wrap: balance; margin: 0; font-weight: 400; }
p { margin: 0; }
.page { overflow-x: clip; }

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

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 90; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; font-family: var(--pixel); font-size: 12px; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: min(1180px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { width: min(820px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }

.ico { width: 1em; height: 1em; fill: currentColor; flex: none; }

/* ---------- masthead ---------- */

.masthead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; padding-block: 18px 12px; }

.brand { display: flex; align-items: center; gap: clamp(10px, 2vw, 18px); text-decoration: none; min-width: 0; }
.brand-logo { width: clamp(72px, 11vw, 120px); height: auto; filter: drop-shadow(0 6px 10px rgb(43 29 63 / 0.25)); transition: transform 0.7s var(--ease); }
.brand:hover .brand-logo { transform: perspective(500px) rotateY(360deg); }
.brand-words { display: flex; flex-direction: column; min-width: 0; }

.wordmark {
  font-family: var(--display);
  font-size: clamp(1.75rem, 5.2vw, 3.4rem);
  line-height: 1;
  background:
    linear-gradient(105deg, transparent 40%, rgb(255 255 255 / 0.85) 50%, transparent 60%) 0 0 / 250% 100% no-repeat,
    linear-gradient(90deg, var(--coral), var(--berry) 48%, var(--grape));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 0 #fff) drop-shadow(0 3px 0 rgb(110 59 176 / 0.25));
  animation: sheen 7s ease-in-out infinite;
}
@keyframes sheen { 0%, 55% { background-position: 160% 0, 0 0; } 100% { background-position: -60% 0, 0 0; } }

.tagline {
  align-self: flex-end;
  margin-top: 4px;
  font-family: var(--hand);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  background: linear-gradient(transparent 55%, var(--highlight) 55%);
  padding-inline: 4px;
  transform: rotate(-3deg);
}

.nav { display: flex; gap: 8px; overflow-x: auto; padding: 6px 4px 10px; max-width: 100%; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }

.pill, .candy, .glossy {
  --c: var(--grape);
  --c-ink: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(rgb(255 255 255 / 0.35), rgb(255 255 255 / 0) 55%), var(--c);
  color: var(--c-ink);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: inset 0 -3px 0 rgb(0 0 0 / 0.16), inset 0 2px 0 rgb(255 255 255 / 0.55), 0 3px 0 color-mix(in srgb, var(--c), #000 28%), 0 8px 14px -6px color-mix(in srgb, var(--c), transparent 30%);
  transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease);
  isolation: isolate;
}
.pill::before, .candy::before, .glossy::before {
  z-index: -1;
  content: "";
  position: absolute;
  inset: 3px 12% auto;
  height: 42%;
  border-radius: 999px;
  background: linear-gradient(rgb(255 255 255 / 0.75), rgb(255 255 255 / 0.05));
  pointer-events: none;
}
.pill:hover, .candy:hover, .glossy:hover { transform: translateY(-2px); }
.pill:active, .candy:active, .glossy:active, .pill[aria-current="page"] { transform: translateY(2px); box-shadow: inset 0 -1px 0 rgb(0 0 0 / 0.16), inset 0 2px 4px rgb(0 0 0 / 0.18), 0 1px 0 color-mix(in srgb, var(--c), #000 28%); }

.pill { font-family: var(--pixel); font-size: 12px; letter-spacing: 0.04em; padding: 10px 15px 9px; }
.pill[data-tone="home"] { --c: var(--leaf); }
.pill[data-tone="about"] { --c: var(--grape); }
.pill[data-tone="europe"] { --c: var(--europe); }
.pill[data-tone="asia"] { --c: var(--asia); --c-ink: var(--asia-on); }
.pill[data-tone="central-america"] { --c: var(--central-america); --c-ink: var(--central-america-on); }
.pill[data-tone="south-america"] { --c: var(--south-america); }
.pill[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: -9px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--c); }

.candy { font-family: var(--text); font-weight: 600; font-size: 1.12rem; padding: 13px 24px 12px; }
.candy .ico { transform: rotate(45deg); }
.glossy { --c: var(--grape); padding: 8px 14px; font-family: var(--pixel); font-size: 11px; }

/* ---------- marquee ---------- */

.marquee { background: var(--ink); color: #fff; border-block: 3px solid var(--gold); overflow: hidden; }
.mq-track { display: flex; width: max-content; animation: marquee 90s linear infinite; }
.marquee:hover .mq-track { animation-play-state: paused; }
.mq-run { display: flex; align-items: center; gap: 22px; padding: 9px 11px; font-family: var(--hand); font-size: 1.15rem; white-space: nowrap; }
.mq-run .ico { color: var(--gold); width: 0.9em; height: 0.9em; }
.mq-from { color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- section heads ---------- */

.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; margin-bottom: clamp(18px, 3vw, 28px); }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-title { font-family: var(--display); font-size: clamp(1.9rem, 4.4vw, 2.8rem); line-height: 1.05; color: var(--ink); }
.section-note { font-family: var(--hand); font-size: 1.2rem; color: var(--soft); }
.text-link { font-family: var(--pixel); font-size: 12px; color: var(--region-ink); display: inline-flex; gap: 8px; align-items: center; }
.gallery-hint { margin-top: 12px; text-align: center; font-family: var(--hand); font-size: 1.1rem; color: var(--soft); }

main > section, .post > * { margin-top: clamp(48px, 8vw, 96px); }
main > section:first-child { margin-top: clamp(20px, 4vw, 44px); }

/* ---------- home: hero ---------- */

.hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; min-width: 0; }

.hero-line { font-family: var(--display); font-size: clamp(3rem, 9vw, 6.4rem); line-height: 0.92; letter-spacing: -0.01em; color: var(--ink); text-shadow: 0 4px 0 #fff, 0 6px 0 rgb(110 59 176 / 0.18); }
.awe {
  background: linear-gradient(90deg, var(--coral), var(--berry), var(--grape), var(--europe), var(--leaf), var(--asia), var(--coral)) 0 0 / 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 4px 0 #fff) drop-shadow(0 6px 0 rgb(110 59 176 / 0.2));
  animation: holo 9s linear infinite;
}
@keyframes holo { to { background-position: 300% 0; } }

.blog-sticker {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.6vw, 2.3rem);
  line-height: 1;
  padding: 8px 18px 10px;
  background: var(--gold);
  border: 3px solid #fff;
  border-radius: 14px;
  box-shadow: var(--lift);
  transform: rotate(-4deg);
}
.hero-intro { font-weight: 600; font-size: clamp(1.05rem, 1.7vw, 1.2rem); max-width: 42ch; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.facts li { font-family: var(--pixel); font-size: 12px; padding: 7px 12px; border: 2px dashed var(--grape); border-radius: 8px; background: var(--card); color: var(--grape); }
.candies { display: flex; flex-wrap: wrap; gap: 12px 14px; margin-top: 4px; }

/* the camcorder: a jelly Y2K handheld playing her reel */
.cam { margin: 0; justify-self: center; width: min(320px, 74vw); perspective: 1100px; }
.cam-body {
  position: relative;
  padding: 18px 18px 20px;
  border-radius: 36px;
  background: linear-gradient(150deg, #fbd3f1 0%, #dcbdfd 48%, #b8a3fb 100%);
  transform: rotateY(calc(-14deg + var(--ry, 0deg))) rotateX(calc(6deg + var(--rx, 0deg))) rotateZ(2deg);
  transform-style: preserve-3d;
  transition: transform 0.5s var(--ease);
  box-shadow:
    1px 1px 0 #a98be0, 2px 2px 0 #a387dc, 3px 3px 0 #9d82d8, 4px 4px 0 #977dd3, 5px 5px 0 #9178ce, 6px 6px 0 #8b73c9, 7px 7px 0 #856ec4, 8px 8px 0 #7f69bf,
    18px 34px 50px -12px rgb(60 20 90 / 0.5),
    inset 0 2px 0 rgb(255 255 255 / 0.8), inset 0 -8px 18px rgb(110 59 176 / 0.25);
  animation: bob 6s ease-in-out infinite;
}
@keyframes bob { 50% { translate: 0 -8px; } }
.cam-body::before { content: ""; position: absolute; inset: 6px 10% auto; height: 34%; border-radius: 40px 40px 60% 60%; background: linear-gradient(rgb(255 255 255 / 0.55), rgb(255 255 255 / 0)); pointer-events: none; }
.cam-lens { position: absolute; top: 34px; right: -14px; width: 26px; height: 64px; border-radius: 0 16px 16px 0; background: linear-gradient(90deg, #8b73c9, #c9b6ff); box-shadow: inset -3px 0 6px rgb(0 0 0 / 0.2); }
.cam-screen { position: relative; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; background: #120a1f; border: 6px solid #1e1430; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.12), 0 2px 0 rgb(255 255 255 / 0.6); }
.cam-video { width: 100%; height: 100%; object-fit: cover; display: block; }
.cam-screen::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(transparent 0 2px, rgb(0 0 0 / 0.09) 2px 3px), linear-gradient(135deg, rgb(255 255 255 / 0.22), transparent 38%); pointer-events: none; }
.cam-osd { position: absolute; inset: 10px 12px; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr auto; font-family: var(--pixel); font-size: 11px; color: #fff; text-shadow: 0 0 3px rgb(0 0 0 / 0.8); z-index: 1; pointer-events: none; }
.osd-state { display: flex; align-items: center; gap: 6px; }
.osd-state i { width: 0; height: 0; border-left: 8px solid #fff; border-block: 5px solid transparent; }
.cam[data-state="paused"] .osd-state i { width: 8px; height: 10px; border: 0; border-inline: 3px solid #fff; }
.osd-batt { justify-self: end; width: 22px; height: 11px; border: 2px solid #fff; border-radius: 2px; position: relative; }
.osd-batt::after { content: ""; position: absolute; right: -5px; top: 2px; width: 3px; height: 3px; background: #fff; }
.osd-batt i { position: absolute; inset: 1px 6px 1px 1px; background: #7cf27c; }
.osd-time { grid-row: 3; align-self: end; }
.osd-date { grid-row: 3; align-self: end; justify-self: end; color: #ff9a3c; font-size: 14px; text-shadow: 0 0 6px rgb(255 140 40 / 0.85); }
.cam-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 16px; }
.cam-btn { width: 18px; height: 18px; border-radius: 50%; background: linear-gradient(#fff, #cdb8ff); box-shadow: inset 0 -2px 0 rgb(0 0 0 / 0.15), 0 2px 0 #9178ce; }
.cam-btn-rec { background: radial-gradient(circle at 40% 35%, #ff8a8a, #e8344a 60%); }
.cam-pad {
  position: relative;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  background: radial-gradient(circle at 50% 30%, #ffffff, #efe4ff 45%, #c8b2ff 100%);
  box-shadow: inset 0 -4px 0 rgb(110 59 176 / 0.25), 0 4px 0 #8b73c9, 0 10px 16px -6px rgb(60 20 90 / 0.5);
}
.cam-pad i { position: absolute; left: 50%; top: 50%; width: 18px; height: 20px; transform: translate(-50%, -50%); border-inline: 6px solid var(--grape); }
.cam[data-state="paused"] .cam-pad i { width: 0; height: 0; border-inline: 0; border-left: 18px solid var(--grape); border-block: 11px solid transparent; transform: translate(-38%, -50%); }
.cam-pad:active { transform: translateY(2px); }
.sticker { position: absolute; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; box-shadow: var(--lift); }
.sticker .ico { width: 26px; height: 26px; }
.sticker-star { left: -20px; bottom: 58px; color: var(--gold); transform: rotate(-12deg); }
.sticker-heart { right: -14px; bottom: 18px; color: var(--berry); transform: rotate(14deg); width: 38px; height: 38px; }

/* ---------- home: the globe ---------- */

.where-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(24px, 4vw, 48px); align-items: center; }
.globe-wrap { position: relative; width: 100%; max-width: 580px; aspect-ratio: 1; margin-inline: auto; }
.globe-wrap::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: -4%; height: 7%; border-radius: 50%; background: radial-gradient(rgb(43 29 63 / 0.28), transparent 70%); z-index: -1; }
.globe { width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; }
.globe.is-dragging { cursor: grabbing; }
.globe.is-pointing { cursor: pointer; }
.globe-tip { position: absolute; z-index: 2; transform: translate(-50%, calc(-100% - 14px)); padding: 8px 12px 9px; border-radius: 12px; background: var(--ink); color: #fff; pointer-events: none; white-space: nowrap; box-shadow: var(--lift); }
.globe-tip::after { content: ""; position: absolute; left: 50%; bottom: -6px; margin-left: -6px; border: 6px solid transparent; border-bottom: 0; border-top-color: var(--ink); }
.globe-tip b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.15rem; line-height: 1.1; }
.globe-tip span { font-family: var(--pixel); font-size: 10px; color: var(--gold); }
.globe-toggle { position: absolute; right: 4%; bottom: 4%; }

.flightlog { list-style: none; margin: 0; padding: 10px; max-height: 560px; overflow-y: auto; background: var(--card); border-radius: 20px; box-shadow: var(--lift); scrollbar-color: var(--grape) transparent; }
.flightlog li + li { border-top: 2px dashed var(--grid); }
.flightlog a { --c: var(--grape); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; text-decoration: none; transition: background 0.2s; }
.flightlog a:hover, .flightlog a:focus-visible, .flightlog a.is-active { background: color-mix(in srgb, var(--c), transparent 85%); }
.fl-num { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--c); color: #fff; font-family: var(--pixel); font-size: 11px; box-shadow: inset 0 -2px 0 rgb(0 0 0 / 0.18); }
.flightlog a[style*="--asia"] .fl-num, .flightlog a[style*="--central-america"] .fl-num { color: var(--ink); }
.fl-words { display: flex; flex-direction: column; min-width: 0; }
.fl-place { font-family: var(--pixel); font-size: 10px; color: var(--soft); letter-spacing: 0.03em; }
.fl-title { font-family: var(--display); font-size: 1.25rem; line-height: 1.15; }
.fl-date { font-family: var(--pixel); font-size: 10px; color: var(--soft); text-align: right; }

/* ---------- home: passports ---------- */

.passport-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 30px); }
.passport { --c: var(--grape); --c-ink: #fff; position: relative; display: block; aspect-ratio: 3 / 4.1; perspective: 1400px; text-decoration: none; color: var(--ink); }
.pp-inside {
  position: absolute;
  inset: 0;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: center;
  gap: 8px 6px;
  padding: 18px 10px;
  overflow: hidden;
  border-radius: 8px 14px 14px 8px;
  background: repeating-linear-gradient(0deg, transparent 0 22px, rgb(110 59 176 / 0.07) 22px 23px), var(--stock);
  box-shadow: var(--lift);
}
.pp-stamp { font-family: var(--pixel); font-size: 9px; padding: 5px 7px; border: 2px solid var(--c); color: color-mix(in srgb, var(--c), #000 35%); border-radius: 6px; transform: rotate(var(--r)); opacity: 0.85; }
.pp-cover {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 14px;
  border-radius: 6px 14px 14px 6px;
  background:
    linear-gradient(90deg, rgb(0 0 0 / 0.22), rgb(0 0 0 / 0) 9%, rgb(255 255 255 / 0.18) 10%, rgb(0 0 0 / 0) 12%),
    radial-gradient(circle at 30% 20%, rgb(255 255 255 / 0.25), transparent 55%),
    var(--c);
  color: var(--c-ink);
  transform-origin: left center;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transition: transform 0.9s var(--ease);
  box-shadow: var(--lift), inset 0 0 0 2px rgb(255 255 255 / 0.15);
  text-align: center;
}
.passport:hover .pp-cover, .passport:focus-visible .pp-cover { transform: rotateY(-150deg); }
.pp-word { font-family: var(--pixel); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.9; }
.pp-emblem { width: 62%; height: auto; padding: 8px; border-radius: 50%; background: rgb(255 255 255 / 0.9); box-shadow: 0 0 0 3px var(--gold), 0 6px 14px rgb(0 0 0 / 0.25); }
.pp-name { font-family: var(--display); font-size: clamp(1.6rem, 2.8vw, 2.2rem); line-height: 1; text-shadow: 0 2px 0 rgb(0 0 0 / 0.15); }
.pp-sub { font-family: var(--pixel); font-size: 10px; line-height: 1.5; }

/* ---------- postcards ---------- */

.postcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: clamp(26px, 4vw, 40px) clamp(20px, 3vw, 32px); }
.postcard { --c: var(--grape); position: relative; aspect-ratio: 3 / 2; perspective: 1500px; rotate: -1.2deg; }
.postcard:nth-child(even) { rotate: 1deg; }
.postcard:nth-child(3n) { rotate: -0.4deg; }
.pc-inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 0.85s var(--ease); }
.postcard.is-flipped .pc-inner, .postcard:has(.pc-back a:focus-visible) .pc-inner { transform: rotateY(180deg); }
@media (hover: hover) and (pointer: fine) {
  .postcard:hover .pc-inner { transform: rotateY(180deg); }
}
.pc-face { position: absolute; inset: 0; border-radius: 10px; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: var(--lift); }
.pc-front { background: #fff; padding: 9px; }
.pc-front img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
.pc-title { position: absolute; left: 0; bottom: 18px; max-width: 82%; padding: 8px 16px 9px 18px; background: #fff; border-radius: 0 12px 12px 0; font-family: var(--display); font-size: clamp(1.3rem, 2.2vw, 1.6rem); line-height: 1.05; box-shadow: 0 6px 14px -6px rgb(43 29 63 / 0.4); }
.pc-title a { text-decoration: none; }
.pc-title a::after { content: ""; position: absolute; inset: 0; }
.pc-stamp { position: absolute; top: 18px; right: 18px; width: 64px; height: 80px; padding: 5px; background: radial-gradient(circle, transparent 2.6px, #fff 3px) -4px -4px / 8px 8px; filter: drop-shadow(0 3px 4px rgb(43 29 63 / 0.3)); }
.pc-stamp-face { display: flex; flex-direction: column; align-items: center; justify-content: space-between; height: 100%; padding: 7px 3px 6px; background: var(--c); color: #fff; font-family: var(--pixel); font-size: 8px; line-height: 1.2; text-align: center; box-shadow: inset 0 0 0 2px rgb(255 255 255 / 0.55); }
.pc-stamp .ico { width: 22px; height: 22px; }
.postcard[style*="--asia"] .pc-stamp-face, .postcard[style*="--central-america"] .pc-stamp-face { color: var(--ink); }
.pc-postmark { position: absolute; top: 30px; right: 60px; width: 76px; height: 76px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 2px solid rgb(43 29 63 / 0.75); border-radius: 50%; color: rgb(43 29 63 / 0.85); font-family: var(--pixel); font-size: 8px; line-height: 1.5; text-align: center; transform: rotate(-14deg); background: rgb(255 255 255 / 0.35); }
.pc-postmark::after { content: ""; position: absolute; left: 70px; top: 22px; width: 54px; height: 28px; background: repeating-linear-gradient(0deg, rgb(43 29 63 / 0.6) 0 2px, transparent 2px 7px); -webkit-mask: linear-gradient(90deg, #000, transparent); mask: linear-gradient(90deg, #000, transparent); }
.pc-flip { position: absolute; left: 18px; top: 18px; z-index: 2; display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgb(255 255 255 / 0.9); color: var(--ink); cursor: pointer; box-shadow: var(--lift); }
.pc-flip .ico { width: 20px; height: 20px; }
@media (hover: hover) and (pointer: fine) { .pc-flip { display: none; } }

.pc-back { transform: rotateY(180deg); background: var(--stock); display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); padding: 16px 16px 16px 20px; gap: 16px; }
.pc-back::before { content: ""; position: absolute; top: 18px; bottom: 18px; left: 57.5%; width: 2px; background: rgb(43 29 63 / 0.15); }
.pc-message { display: flex; flex-direction: column; gap: 6px; min-width: 0; overflow: hidden; }
.pc-greeting { font-family: var(--hand); font-size: 1.25rem; line-height: 1.15; color: var(--berry); }
.pc-excerpt { font-family: var(--hand); font-size: 1.02rem; line-height: 1.3; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.pc-read { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-family: var(--pixel); font-size: 11px; color: var(--grape); padding: 8px 12px; border-radius: 999px; background: color-mix(in srgb, var(--grape), transparent 88%); text-decoration: none; }
.pc-read .ico { transform: rotate(90deg); }
.pc-address { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding-left: 8px; font-family: var(--hand); font-size: 0.98rem; line-height: 1.2; }
.pc-address span { border-bottom: 1.5px solid rgb(43 29 63 / 0.2); padding-bottom: 3px; }
.pc-stamp-back { top: 0; right: 0; transform: rotate(4deg) scale(0.86); transform-origin: top right; }

/* ---------- region pages ---------- */

.region-hero { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(16px, 4vw, 40px); }
.region-title { font-family: var(--display); font-size: clamp(3.2rem, 11vw, 7.5rem); line-height: 0.9; color: var(--region); -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; text-shadow: 5px 6px 0 var(--ink); }
.region-copy { flex: 1 1 320px; min-width: 0; }
.region-meta { margin-top: 14px; font-family: var(--pixel); font-size: 12px; color: var(--soft); line-height: 1.8; }
.region-stamp { position: relative; width: clamp(120px, 18vw, 170px); aspect-ratio: 1; display: grid; place-content: center; text-align: center; color: var(--region-ink); transform: rotate(-12deg); }
.region-stamp svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 3; }
.region-stamp circle:first-of-type { stroke-dasharray: 2 5; stroke-width: 5; }
.region-stamp text { fill: currentColor; stroke: none; font-family: var(--pixel); font-size: 12.5px; letter-spacing: 0.08em; }
.region-stamp span { font-family: var(--display); font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1; }
.region-stamp small { font-family: var(--pixel); font-size: 10px; }

.gallery-section .section-title { color: var(--region-ink); }

/* Europe: a cover flow, the way iTunes showed albums in 2007 */
.coverflow { --cf-w: clamp(150px, 24vw, 240px); position: relative; padding: clamp(18px, 3vw, 30px) 0 18px; border-radius: 26px; overflow: hidden; color: #fff; background: radial-gradient(ellipse at 50% 0%, #463565 0%, #1b1229 62%, #0f0a18 100%); box-shadow: var(--lift-high), inset 0 1px 0 rgb(255 255 255 / 0.18); }
.coverflow:focus-visible { outline-offset: 4px; }
.cf-stage { position: relative; height: calc(var(--cf-w) * 1.25 + 90px); perspective: 1100px; touch-action: pan-y; }
.cf-item { position: absolute; left: 50%; top: 4px; width: var(--cf-w); height: calc(var(--cf-w) * 1.25); margin-left: calc(var(--cf-w) / -2); padding: 0; border: 0; background: none; cursor: pointer; transition: transform 0.5s var(--ease), filter 0.5s; filter: brightness(0.62); }
.cf-item.is-center { filter: none; }
.cf-item img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; -webkit-box-reflect: below 6px linear-gradient(transparent 64%, rgb(255 255 255 / 0.28)); }
.cf-controls { display: flex; align-items: center; justify-content: center; gap: 14px; padding-inline: 18px; }
.cf-controls .glossy { width: 40px; height: 40px; justify-content: center; padding: 0; font-family: var(--text); font-size: 1.4rem; line-height: 1; --c: #5a4a78; }
.cf-range { flex: 1; max-width: 420px; height: 16px; appearance: none; -webkit-appearance: none; background: transparent; cursor: pointer; }
.cf-range::-webkit-slider-runnable-track { height: 14px; border-radius: 999px; background: linear-gradient(#0c0814, #2d2240); box-shadow: inset 0 2px 4px rgb(0 0 0 / 0.6), 0 1px 0 rgb(255 255 255 / 0.15); }
.cf-range::-moz-range-track { height: 14px; border-radius: 999px; background: linear-gradient(#0c0814, #2d2240); box-shadow: inset 0 2px 4px rgb(0 0 0 / 0.6); }
.cf-range::-webkit-slider-thumb { -webkit-appearance: none; width: 54px; height: 14px; border-radius: 999px; background: linear-gradient(#f4f0ff, #b9a6e8 55%, #d9cdfb); box-shadow: inset 0 1px 0 #fff, 0 1px 3px rgb(0 0 0 / 0.5); }
.cf-range::-moz-range-thumb { width: 54px; height: 14px; border: 0; border-radius: 999px; background: linear-gradient(#f4f0ff, #b9a6e8 55%, #d9cdfb); }
.cf-count { margin-top: 10px; text-align: center; font-family: var(--pixel); font-size: 11px; color: rgb(255 255 255 / 0.75); }

/* Asia: a lantern of polaroids that spins */
.tower { --tw-w: 132px; --tw-h: calc(var(--tw-w) * 1.28); --tw-gap: 18px; --tw-r: 380px; position: relative; height: calc(var(--rows) * (var(--tw-h) + var(--tw-gap)) + 70px); perspective: 1200px; perspective-origin: 50% 35%; overflow: hidden; touch-action: pan-y; cursor: grab; border-radius: 26px; background: radial-gradient(ellipse at 50% 45%, rgb(255 160 83 / 0.28), transparent 65%); }
.tower.is-dragging { cursor: grabbing; }
.tw-spin { position: absolute; left: 50%; top: 26px; width: 0; height: 0; transform-style: preserve-3d; }
.tw-item { position: absolute; left: calc(var(--tw-w) / -2); top: calc(var(--row) * (var(--tw-h) + var(--tw-gap))); width: var(--tw-w); height: var(--tw-h); padding: 6px 6px 20px; border: 0; border-radius: 3px; background: #fff; cursor: pointer; transform: rotateY(var(--a)) translateZ(var(--tw-r)); backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: 0 8px 18px -8px rgb(43 29 63 / 0.45); }
.tw-item img { width: 100%; height: 100%; object-fit: cover; }
.tw-floor { position: absolute; left: 50%; bottom: 14px; width: min(70%, 640px); height: 40px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(rgb(161 77 7 / 0.3), transparent 70%); }

/* Asia: the internship samples in a jelly phone */
.phone-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(28px, 6vw, 72px); align-items: center; }
.phone { width: min(290px, 72vw); padding: 12px; border-radius: 44px; background: linear-gradient(150deg, #ffd6a8, #ffa053 60%, #ff8a3c); transform: perspective(1000px) rotateY(calc(12deg + var(--ry, 0deg))) rotateX(var(--rx, 0deg)) rotate(-3deg); transition: transform 0.5s var(--ease); box-shadow: -1px 1px 0 #e58a3e, -2px 2px 0 #e0843a, -3px 3px 0 #db7e36, -4px 4px 0 #d67832, -5px 5px 0 #d1722e, -6px 6px 0 #cc6c2a, -22px 30px 50px -14px rgb(120 60 10 / 0.45), inset 0 2px 0 rgb(255 255 255 / 0.7); }
.phone-screen { border-radius: 34px; overflow: hidden; background: #fff; padding-bottom: 14px; }
.phone-bar { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 12px 10px; font-family: var(--pixel); font-size: 11px; color: var(--soft); border-bottom: 1px solid var(--grid); }
.phone-bar img { width: 40px; height: auto; }
.phone-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; padding: 3px; }
.ph-cell { aspect-ratio: 4 / 5; padding: 0; border: 0; background: var(--grid); cursor: pointer; overflow: hidden; }
.ph-cell img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.ph-cell:hover img { transform: scale(1.08); }
.phone-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; min-width: 0; }
.phone-copy .section-title { color: var(--asia-ink); }
.phone-quote { margin: 0; padding: 16px 20px; max-width: 46ch; border-radius: 16px; background: var(--card); box-shadow: var(--lift); font-style: italic; position: relative; }
.phone-quote::before { content: "“"; position: absolute; left: -10px; top: -26px; font-family: var(--display); font-size: 4rem; color: var(--asia); }

/* Central America: a corkboard of polaroids you can push around */
.cork { position: relative; height: var(--cork-h); border: 14px solid #b07a47; border-radius: 16px; background-color: #c99a62; background-image: radial-gradient(#ae7c46 1px, transparent 1.5px), radial-gradient(#e0b47c 1px, transparent 1.6px), radial-gradient(#9f6c39 0.8px, transparent 1.3px); background-size: 9px 9px, 13px 13px, 7px 7px; background-position: 0 0, 4px 6px, 2px 3px; box-shadow: inset 0 0 30px rgb(60 30 10 / 0.45), inset 0 0 0 2px rgb(0 0 0 / 0.1), var(--lift-high); overflow: hidden; touch-action: pan-y; }
.cork-item { position: absolute; left: var(--x); top: var(--y); width: clamp(150px, 16vw, 190px); padding: 8px 8px 30px; border: 0; background: #fff; cursor: grab; transform: translateX(-50%) rotate(var(--r)); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); box-shadow: 0 10px 18px -8px rgb(40 20 5 / 0.55); touch-action: none; }
.cork-item img { width: 100%; aspect-ratio: 1; object-fit: cover; pointer-events: none; }
.cork-item:hover, .cork-item:focus-visible { transform: translateX(-50%) rotate(0deg) perspective(600px) rotateX(8deg) translateZ(30px); box-shadow: 0 26px 30px -12px rgb(40 20 5 / 0.6); }
.cork-item.is-dragging { cursor: grabbing; transform: translateX(-50%) rotate(calc(var(--r) / 2)) scale(1.06); box-shadow: 0 30px 34px -12px rgb(40 20 5 / 0.65); transition: none; }
.cork-item::before { content: ""; position: absolute; left: 50%; top: -9px; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ff9db5, #d8285a 60%, #8d1235); box-shadow: 0 4px 4px rgb(0 0 0 / 0.35); }
.cork-item[data-pin="tape"]::before { width: 74px; height: 22px; margin-left: -37px; top: -11px; border-radius: 2px; background: repeating-linear-gradient(45deg, rgb(255 148 192 / 0.8) 0 6px, rgb(255 255 255 / 0.7) 6px 12px); transform: rotate(var(--tape)); box-shadow: none; }

/* South America: polaroids hung out on lines to dry */
.clothesline { display: grid; gap: 6px; }
.line { overflow-x: auto; overflow-y: hidden; padding: 0 0 18px; scrollbar-color: var(--south-america) transparent; }
.line-track { position: relative; display: flex; gap: clamp(16px, 2vw, 26px); width: max-content; padding: 22px 24px 10px; }
.line-track::before { content: ""; position: absolute; left: 0; right: 0; top: 14px; height: 18px; border-bottom: 2px solid #8a6d4f; border-radius: 0 0 50% 50% / 0 0 100% 100%; }
.cl-item { position: relative; transform-origin: 50% -6px; animation: swing var(--d) ease-in-out var(--delay) infinite alternate; rotate: var(--tilt); perspective: 700px; }
@keyframes swing { from { transform: rotate(-2.6deg); } to { transform: rotate(2.6deg); } }
.cl-item:hover { animation-play-state: paused; }
.cl-item::before { content: ""; position: absolute; left: 50%; top: -14px; z-index: 2; width: 12px; height: 30px; margin-left: -6px; border-radius: 3px; background: linear-gradient(90deg, #d9b98f, #f3dfc0 45%, #c89f6d); box-shadow: 0 2px 2px rgb(0 0 0 / 0.25); }
.cl-photo { display: block; width: clamp(128px, 15vw, 162px); padding: 7px 7px 24px; border: 0; background: #fff; cursor: pointer; box-shadow: 0 10px 16px -8px rgb(43 29 63 / 0.45); transition: transform 0.4s var(--ease); transform-origin: 50% 0; }
.cl-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.cl-photo:hover, .cl-photo:focus-visible { transform: rotateX(-16deg) translateZ(24px) scale(1.04); }

/* ---------- post pages ---------- */

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-family: var(--pixel); font-size: 11px; color: var(--soft); }
.crumbs a { color: var(--region-ink); }
.post > .crumbs { margin-top: clamp(16px, 3vw, 28px); }
.post-head { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 6vw, 72px); align-items: center; margin-top: clamp(20px, 4vw, 36px); }
.post-polaroid { margin: 0; padding: 14px 14px 56px; background: #fff; box-shadow: var(--lift-high); transform: perspective(1000px) rotate(-3deg) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.5s var(--ease); position: relative; justify-self: center; width: min(460px, 100%); }
.post-polaroid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.post-polaroid figcaption { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; font-family: var(--hand); font-size: 1.35rem; }
.post-polaroid::before { content: ""; position: absolute; left: 50%; top: -14px; width: 120px; height: 30px; margin-left: -60px; background: repeating-linear-gradient(-45deg, color-mix(in srgb, var(--region), transparent 25%) 0 8px, rgb(255 255 255 / 0.65) 8px 16px); transform: rotate(-4deg); z-index: 1; }
.post-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; min-width: 0; }
.region-tag { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--region); color: var(--region-on); font-family: var(--pixel); font-size: 11px; text-decoration: none; }
.post-title { font-family: var(--display); font-size: clamp(2.8rem, 7.5vw, 5.2rem); line-height: 0.95; color: var(--ink); text-shadow: 0 4px 0 #fff, 0 7px 0 color-mix(in srgb, var(--region), transparent 55%); overflow-wrap: anywhere; }
.postmark { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; width: 112px; height: 112px; border: 3px double var(--region-ink); border-radius: 50%; color: var(--region-ink); font-family: var(--pixel); font-size: 10px; line-height: 1.7; text-align: center; transform: rotate(-10deg); }
.post-facts { font-family: var(--pixel); font-size: 11px; color: var(--soft); }

.paper { position: relative; padding: clamp(26px, 6vw, 64px) clamp(20px, 6vw, 72px); background-color: #fff; background-image: radial-gradient(rgb(110 59 176 / 0.16) 1.2px, transparent 1.4px); background-size: 24px 24px; border-radius: 6px; box-shadow: var(--lift-high); }
.paper::before, .paper::after { content: ""; position: absolute; top: -12px; width: 110px; height: 28px; background: repeating-linear-gradient(45deg, rgb(242 193 78 / 0.85) 0 7px, rgb(255 255 255 / 0.7) 7px 14px); }
.paper::before { left: 22px; transform: rotate(-5deg); }
.paper::after { right: 22px; transform: rotate(4deg); background: repeating-linear-gradient(45deg, color-mix(in srgb, var(--region), transparent 20%) 0 7px, rgb(255 255 255 / 0.7) 7px 14px); }
.paper > * { max-width: 66ch; margin-inline: auto; }
.paper p, .paper li { font-size: 1.0625rem; line-height: 1.8; }
.paper > p + p, .paper > p + ul, .paper > ul + p { margin-top: 1em; }
.paper .greeting { margin-bottom: 1.1em; font-family: var(--hand); font-size: clamp(1.7rem, 4.6vw, 2.4rem); line-height: 1.2; color: var(--berry); }
.greeting span { background: linear-gradient(transparent 58%, var(--highlight) 58%); padding-inline: 4px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.stop { display: flex; align-items: center; gap: 0.35em; margin-top: 1.7em; margin-bottom: 0.5em; font-family: var(--display); font-size: clamp(1.7rem, 3.6vw, 2.2rem); line-height: 1.05; color: var(--region-ink); }
.stop-pin { width: 0.85em; height: 0.85em; fill: var(--region); flex: none; filter: drop-shadow(0 2px 0 rgb(43 29 63 / 0.25)); }
.label { margin-top: 1.4em; margin-bottom: 0.25em; font-family: var(--hand); font-size: 1.45rem; line-height: 1.2; color: var(--grape); text-decoration: underline wavy color-mix(in srgb, var(--region), transparent 30%) 2px; text-underline-offset: 6px; }
.subtitle { margin-top: 1.2em; font-family: var(--hand); font-size: 1.5rem; color: var(--berry); }
.items { list-style: none; padding: 0; margin-top: 0.4em; }
.items li { position: relative; padding-left: 1.7em; }
.items li + li { margin-top: 0.35em; }
.items li::before { content: ""; position: absolute; left: 0.2em; top: 0.55em; width: 0.8em; height: 0.8em; background: var(--region); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5c.6 4.9 2.3 7.6 9.5 10.5-7.2 2.9-8.9 5.6-9.5 10.5-.6-4.9-2.3-7.6-9.5-10.5C9.7 9.1 11.4 6.4 12 1.5Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5c.6 4.9 2.3 7.6 9.5 10.5-7.2 2.9-8.9 5.6-9.5 10.5-.6-4.9-2.3-7.6-9.5-10.5C9.7 9.1 11.4 6.4 12 1.5Z'/%3E%3C/svg%3E") center / contain no-repeat; }
.paper .note { position: relative; margin-block: 1.2em; padding: 14px 18px 14px 18px; background: #fff6b8; border-radius: 3px; box-shadow: 0 8px 16px -10px rgb(80 60 0 / 0.5); rotate: -0.5deg; font-size: 1rem; line-height: 1.65; }
.paper .note:nth-of-type(even) { rotate: 0.5deg; }
.note-tag { display: inline-block; margin-right: 10px; padding: 2px 7px; border-radius: 4px; background: var(--ink); color: #fff6b8; font-family: var(--pixel); font-size: 10px; vertical-align: 2px; }
.signoff { margin-top: 1.8em !important; font-family: var(--hand); font-size: 1.7rem !important; line-height: 1.25 !important; color: var(--berry); }

.passes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 22px; }
.pass { --c: var(--grape); display: grid; grid-template-columns: minmax(0, 1fr) 74px; border-radius: 18px; background: var(--card); box-shadow: var(--lift); text-decoration: none; overflow: hidden; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); -webkit-mask: radial-gradient(circle at calc(100% - 74px) 0, transparent 11px, #000 11.5px) top / 100% 51% no-repeat, radial-gradient(circle at calc(100% - 74px) 100%, transparent 11px, #000 11.5px) bottom / 100% 51% no-repeat; mask: radial-gradient(circle at calc(100% - 74px) 0, transparent 11px, #000 11.5px) top / 100% 51% no-repeat, radial-gradient(circle at calc(100% - 74px) 100%, transparent 11px, #000 11.5px) bottom / 100% 51% no-repeat; }
.pass:hover, .pass:focus-visible { transform: translateY(-4px) rotate(-0.6deg); box-shadow: var(--lift-high); }
.pass-prev { grid-template-columns: 74px minmax(0, 1fr); -webkit-mask: radial-gradient(circle at 74px 0, transparent 11px, #000 11.5px) top / 100% 51% no-repeat, radial-gradient(circle at 74px 100%, transparent 11px, #000 11.5px) bottom / 100% 51% no-repeat; mask: radial-gradient(circle at 74px 0, transparent 11px, #000 11.5px) top / 100% 51% no-repeat, radial-gradient(circle at 74px 100%, transparent 11px, #000 11.5px) bottom / 100% 51% no-repeat; }
.pass-prev .pass-stub { order: -1; border-left: 0; border-right: 2px dashed rgb(43 29 63 / 0.2); }
.pass-main { display: flex; flex-direction: column; gap: 10px; padding: 0 0 16px; min-width: 0; }
.pass-head { display: flex; justify-content: space-between; padding: 10px 18px; background: var(--c); color: #fff; font-family: var(--pixel); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; }
.pass[style*="--asia"] .pass-head, .pass[style*="--central-america"] .pass-head { color: var(--ink); }
.pass-route { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-inline: 18px; font-family: var(--display); font-size: clamp(1.25rem, 2.6vw, 1.6rem); line-height: 1.1; }
.pass-route > span { display: flex; flex-direction: column; min-width: 0; }
.pass-route > span:last-child { text-align: right; }
.pass-route .ico { width: 26px; height: 26px; color: var(--c); transform: rotate(90deg); }
.pass-prev .pass-route .ico { transform: rotate(90deg); }
.pass small, .pass-meta small { display: block; font-family: var(--pixel); font-size: 9px; color: var(--soft); letter-spacing: 0.08em; text-transform: uppercase; }
.pass-title { padding-inline: 18px; font-family: var(--hand); font-size: 1.2rem; color: var(--grape); }
.pass-meta { display: flex; gap: 22px; padding-inline: 18px; font-family: var(--pixel); font-size: 11px; }
.pass-stub { display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 16px 8px; border-left: 2px dashed rgb(43 29 63 / 0.2); font-size: 1.6rem; color: var(--c); }
.pass-code { width: 42px; height: 70%; background: repeating-linear-gradient(0deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 13px); opacity: 0.85; }

.filmstrip { position: relative; overflow-x: auto; background: #17111f; border-radius: 10px; box-shadow: var(--lift); scrollbar-color: var(--region) transparent; }
.fs-track { position: relative; display: flex; gap: 10px; width: max-content; padding: 30px 14px; }
.fs-track::before, .fs-track::after { content: ""; position: absolute; left: 0; right: 0; height: 12px; background: repeating-linear-gradient(90deg, transparent 0 8px, #f3ecff 8px 20px, transparent 20px 28px); opacity: 0.85; -webkit-mask: linear-gradient(#000, #000); border-radius: 2px; }
.fs-track::before { top: 9px; }
.fs-track::after { bottom: 9px; }
.fs-frame { height: clamp(130px, 18vw, 170px); padding: 0; border: 0; background: none; cursor: pointer; border-radius: 3px; overflow: hidden; }
.fs-frame img { height: 100%; width: auto; transition: transform 0.4s var(--ease), filter 0.4s; filter: saturate(0.9); }
.fs-frame:hover img, .fs-frame:focus-visible img { transform: scale(1.06); filter: saturate(1.2); }

/* ---------- about ---------- */

.about { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(28px, 6vw, 72px); align-items: center; }
.about-note { position: relative; padding: clamp(24px, 4.5vw, 48px); background: var(--card); border-radius: 22px; box-shadow: var(--lift-high); display: flex; flex-direction: column; gap: 1em; }
.about-note::before { content: ""; position: absolute; top: -12px; left: 40px; width: 120px; height: 28px; background: repeating-linear-gradient(45deg, rgb(255 148 192 / 0.85) 0 7px, rgb(255 255 255 / 0.7) 7px 14px); transform: rotate(-4deg); }
.about-title { font-family: var(--display); font-size: clamp(2.4rem, 6vw, 3.8rem); line-height: 1; }
.about-hello { font-family: var(--hand); font-size: 1.6rem; color: var(--berry); }
.about-note p { max-width: 62ch; }
.about-polaroid { position: relative; margin: 0; padding: 14px 14px 50px; background: #fff; box-shadow: var(--lift-high); transform: perspective(1000px) rotate(4deg) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.5s var(--ease); justify-self: center; width: min(380px, calc(100% - 28px)); }
.about-polaroid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.sticker-hi { position: absolute; left: -22px; top: 28px; display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: var(--gold); border: 4px solid #fff; font-family: var(--display); font-size: 1.9rem; transform: rotate(-14deg); box-shadow: var(--lift); }

.skills-intro { max-width: 62ch; margin-top: 10px; }
.holo-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 44px); }
.skill { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.holo {
  --hue: 300;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 14px 18px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(160deg, hsl(var(--hue) 90% 92%), #ffffff 45%, hsl(calc(var(--hue) + 60) 90% 90%));
  border: 6px solid hsl(var(--hue) 70% 60%);
  box-shadow: var(--lift-high), inset 0 0 0 2px #fff;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.4s var(--ease);
}
.holo-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.holo-name { font-family: var(--display); font-size: clamp(1.4rem, 2.4vw, 1.75rem); line-height: 1; }
.holo-badge { flex: none; font-family: var(--pixel); font-size: 9px; padding: 5px 7px; border-radius: 6px; background: var(--ink); color: #fff; }
.holo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; border: 3px solid #fff; box-shadow: 0 2px 0 hsl(var(--hue) 70% 60% / 0.5); }
.holo-cert { font-size: 0.95rem; line-height: 1.5; font-weight: 600; }
.holo-foil { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: color-dodge; opacity: 0.18; background: repeating-linear-gradient(115deg, #ff7eb3 0%, #ffd36e 8%, #7ef0c2 16%, #7ab8ff 24%, #c58bff 32%, #ff7eb3 40%) var(--mx, 50%) var(--my, 50%) / 300% 300%; transition: opacity 0.3s; }
.holo-glare { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--mx, 30%) var(--my, 20%), rgb(255 255 255 / 0.6), transparent 45%); mix-blend-mode: soft-light; }
.holo:hover .holo-foil { opacity: 0.6; }
.skill-body { font-size: 0.98rem; line-height: 1.7; color: var(--ink); }

/* ---------- footer ---------- */

.footer { margin-top: clamp(64px, 10vw, 120px); position: relative; background: var(--leaf); color: #fff; padding-block: 44px 34px; }
.footer::before { content: ""; position: absolute; left: 0; right: 0; top: -15px; height: 16px; background: radial-gradient(circle at 15px 16px, var(--leaf) 14px, transparent 14.5px) 0 0 / 30px 16px repeat-x; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 36px; }
.footer-sign { font-family: var(--hand); font-size: 1.5rem; line-height: 1.2; }
.footer-sign span { font-size: 1.9rem; }
.socials { display: flex; gap: 12px; list-style: none; margin: 0; padding: 0; }
.social { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: linear-gradient(rgb(255 255 255 / 0.95), rgb(236 255 225 / 0.95)); color: var(--leaf); box-shadow: inset 0 -3px 0 rgb(0 0 0 / 0.12), 0 4px 0 #2a5912; transition: transform 0.2s var(--ease); }
.social:hover, .social:focus-visible { transform: translateY(-3px) rotate(-6deg); }
.social svg { width: 24px; height: 24px; fill: currentColor; }
.footer-small { width: 100%; font-family: var(--pixel); font-size: 10px; letter-spacing: 0.04em; color: rgb(255 255 255 / 0.85); }
.footer-small a { color: #fff; }

/* ---------- the 404 ---------- */

.lost { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; padding-block: 40px; }

/* ---------- lightbox and sparkles ---------- */

.lightbox { padding: 0; border: 0; background: transparent; max-width: min(96vw, 1100px); max-height: 96vh; overflow: visible; }
.lightbox::backdrop { background: rgb(27 18 41 / 0.86); backdrop-filter: blur(4px); }
.lb-frame { margin: 0; padding: 12px 12px 52px; background: #fff; box-shadow: var(--lift-high); transform: rotate(-1deg); position: relative; }
.lb-frame img { max-width: min(88vw, 1000px); max-height: 74vh; width: auto; height: auto; }
.lb-frame figcaption { position: absolute; left: 0; right: 0; bottom: 12px; text-align: center; font-family: var(--hand); font-size: 1.25rem; color: var(--ink); }
.lb-bar { display: flex; justify-content: center; gap: 14px; margin-top: 18px; }
.lb-bar .glossy { width: 48px; height: 48px; justify-content: center; padding: 0; font-family: var(--text); font-size: 1.5rem; }
.sparkles { position: fixed; inset: 0; z-index: 80; pointer-events: none; }

/* ---------- narrow screens ---------- */

@media (max-width: 960px) {
  .passport-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .holo-row { grid-template-columns: minmax(0, 1fr); max-width: 440px; margin-inline: auto; }
}

@media (max-width: 860px) {
  .hero, .where-grid, .post-head, .about, .phone-row { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { align-items: flex-start; }
  .cam { order: 2; }
  .flightlog { max-height: 420px; }
  .phone { justify-self: center; }
  .post-polaroid { width: min(380px, 100%); }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .masthead { justify-content: center; }
  .nav { width: 100%; }
  .candy { font-size: 1rem; padding: 11px 18px 10px; }
  .cork { height: var(--cork-hm); border-width: 10px; }
  .cork-item { left: var(--mx); top: var(--my); width: 42%; }
  .tower { --tw-gap: 12px; }
  .pc-postmark { width: 64px; height: 64px; top: 22px; right: 52px; font-size: 7px; }
  .pc-stamp { width: 56px; height: 72px; top: 14px; right: 14px; }
  .pc-back { grid-template-columns: minmax(0, 1fr); }
  .pc-back::before, .pc-address { display: none; }
  .pc-excerpt { -webkit-line-clamp: 4; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .mq-track { width: auto; }
  .marquee { overflow-x: auto; }
  .mq-run[aria-hidden="true"] { display: none; }
}
