/* GeoStamp website. Palette and shapes follow the app's LandscapeArt (dusk by day, night after dark). */

@font-face { font-family: "Gloock"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/gloock-latin-400-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Gloock"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/gloock-latin-ext-400-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Familjen Grotesk"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/familjen-grotesk-latin-400-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Familjen Grotesk"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/familjen-grotesk-latin-ext-400-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Familjen Grotesk"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(../fonts/familjen-grotesk-latin-500-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Familjen Grotesk"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(../fonts/familjen-grotesk-latin-ext-500-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Familjen Grotesk"; font-style: normal; font-weight: 600; font-display: swap;
  src: url(../fonts/familjen-grotesk-latin-600-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Familjen Grotesk"; font-style: normal; font-weight: 600; font-display: swap;
  src: url(../fonts/familjen-grotesk-latin-ext-600-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Martian Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/martian-mono-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Martian Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(../fonts/martian-mono-latin-500-normal.woff2) format("woff2"); }

:root {
  color-scheme: light dark;
  --paper: #fbf2e4;
  --paper-2: #f5e3c9;
  --paper-3: #efd3b0;
  --card: #fffaf2;
  --ink: #1f2a44;
  --ink-soft: #55607a;
  --ink-faint: #8a8fa0;
  --rule: rgba(31, 42, 68, .13);
  --rule-strong: rgba(31, 42, 68, .28);
  --accent: #cb5d1e;
  --accent-hot: #e2722f;
  --accent-ink: #fff8ef;
  --ochre: #ebaa44;
  --olive: #8e906e;
  --lavender: #d3bfd4;
  --slate: #4e6f96;
  --river: #f5ecdf;
  --night: #1e2550;
  --glass: rgba(255, 250, 242, .62);
  --glass-edge: rgba(255, 255, 255, .7);
  --shadow: 0 1px 2px rgba(60, 35, 15, .08), 0 12px 32px -8px rgba(90, 50, 20, .22);
  --shadow-lg: 0 2px 4px rgba(60, 35, 15, .08), 0 30px 70px -20px rgba(90, 45, 15, .38);
  --display: "Gloock", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --body: "Familjen Grotesk", "Avenir Next", "Segoe UI", sans-serif;
  --mono: "Martian Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1220px;
  --radius: 22px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #131932; --paper-2: #1b2247; --paper-3: #262d5c; --card: #1d244a;
    --ink: #f4eee2; --ink-soft: #b9b6cf; --ink-faint: #8784a6;
    --rule: rgba(244, 238, 226, .12); --rule-strong: rgba(244, 238, 226, .26);
    --accent: #ea7a3a; --accent-hot: #f38c4c; --accent-ink: #1a1430;
    --river: #b9c3de;
    --glass: rgba(30, 37, 80, .6); --glass-edge: rgba(255, 255, 255, .14);
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -8px rgba(0, 0, 0, .5);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, .3), 0 30px 70px -20px rgba(0, 0, 0, .7);
  }
}
:root[data-theme="dark"] {
  --paper: #131932; --paper-2: #1b2247; --paper-3: #262d5c; --card: #1d244a;
  --ink: #f4eee2; --ink-soft: #b9b6cf; --ink-faint: #8784a6;
  --rule: rgba(244, 238, 226, .12); --rule-strong: rgba(244, 238, 226, .26);
  --accent: #ea7a3a; --accent-hot: #f38c4c; --accent-ink: #1a1430;
  --river: #b9c3de;
  --glass: rgba(30, 37, 80, .6); --glass-edge: rgba(255, 255, 255, .14);
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -8px rgba(0, 0, 0, .5);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, .3), 0 30px 70px -20px rgba(0, 0, 0, .7);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; min-height: 100vh; overflow-x: hidden;
  background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
  font-feature-settings: "ss01", "kern";
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
/* Paper grain over everything, plus a warm glow at the top. */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .32; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .3 0 0 0 0 .18 0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) body::before { mix-blend-mode: screen; opacity: .12; } }
:root[data-theme="dark"] body::before { mix-blend-mode: screen; opacity: .12; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-color: color-mix(in srgb, var(--accent) 60%, transparent); text-underline-offset: .18em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: var(--accent-ink); }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }
.eyebrow { font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); display: inline-flex; gap: .7em; align-items: center; }
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: currentColor; }
h1, h2, h3, .display { font-family: var(--display); font-weight: 400; letter-spacing: -.012em; line-height: 1.02; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2.2rem, 5.2vw, 4rem); }
h3 { font-size: 1.5rem; line-height: 1.15; }
p { margin: 0 0 1em; text-wrap: pretty; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-soft); max-width: 36em; }
em.accent, .accent { color: var(--accent); font-style: normal; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; padding-block: 12px; }
.site-header .bar {
  display: flex; align-items: center; gap: 18px; padding: 8px 8px 8px 12px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--glass-edge);
  -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6);
  box-shadow: 0 8px 30px -14px rgba(80, 40, 10, .35);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-size: 1.35rem; letter-spacing: -.01em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 2px 8px rgba(90, 45, 15, .25); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; font-size: .95rem; padding: 8px 14px; border-radius: 999px; }
.nav a:hover, .nav a[aria-current="page"] { background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); }
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; cursor: pointer;
  font: 600 1rem/1 var(--body); padding: 14px 22px; border-radius: 999px; border: 0;
  background: var(--accent); color: var(--accent-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 10px 24px -10px color-mix(in srgb, var(--accent) 80%, black);
  transition: transform .25s cubic-bezier(.3, 1.6, .5, 1), background .2s;
}
.btn:hover { background: var(--accent-hot); color: var(--accent-ink); transform: translateY(-2px); }
.btn.small { padding: 10px 16px; font-size: .9rem; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--rule-strong); }
.btn.ghost:hover { color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); }
.store-btn { background: #0d0f14; color: #fff; padding: 10px 22px 10px 16px; gap: 12px; box-shadow: 0 12px 26px -12px rgba(0, 0, 0, .6); }
.store-btn:hover { background: #000; color: #fff; }
.store-btn svg { width: 26px; height: 26px; }
.store-btn span { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.05; text-align: left; }
.store-btn small { font-size: .68rem; font-weight: 500; opacity: .8; letter-spacing: .02em; }
.store-btn b { font-size: 1.2rem; font-weight: 600; letter-spacing: -.01em; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .store-btn { background: #fff; color: #0d0f14; } }
:root[data-theme="dark"] .store-btn { background: #fff; color: #0d0f14; }
.menu-toggle { display: none; }
@media (max-width: 760px) {
  .nav { display: none; position: absolute; top: calc(100% - 4px); left: var(--gutter); right: var(--gutter); flex-direction: column; padding: 10px; border-radius: 22px;
    background: var(--card); border: 1px solid var(--rule); box-shadow: var(--shadow-lg); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 16px; font-size: 1.05rem; }
  .menu-toggle { display: inline-grid; place-items: center; margin-left: auto; width: 42px; height: 42px; border-radius: 50%; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
  .site-header .bar > .btn { display: none; }
}

/* ---------- Topographic contour texture ---------- */
.topo { position: relative; isolation: isolate; }
.topo::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .55;
  background:
    repeating-radial-gradient(ellipse 60% 42% at 82% 18%, transparent 0 26px, var(--rule) 26px 27px),
    repeating-radial-gradient(ellipse 50% 60% at 8% 92%, transparent 0 30px, var(--rule) 30px 31px);
  -webkit-mask: radial-gradient(ellipse 70% 60% at 80% 20%, #000 10%, transparent 70%), radial-gradient(ellipse 50% 50% at 5% 95%, #000 10%, transparent 70%);
          mask: radial-gradient(ellipse 70% 60% at 80% 20%, #000 10%, transparent 70%), radial-gradient(ellipse 50% 50% at 5% 95%, #000 10%, transparent 70%);
}

/* ---------- Hero ---------- */
.hero { padding: clamp(28px, 6vw, 72px) 0 clamp(60px, 9vw, 120px); }
.hero .grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 60px); align-items: center; }
.hero h1 { font-size: clamp(2.9rem, 6.3vw, 5.6rem); line-height: .96; margin: 22px 0 24px; }
.hero h1 .line { display: block; }
.hero h1 .amp { font-style: italic; color: var(--accent); }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin: 30px 0 22px; }
.hero .facts { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--ink-soft); }
.hero .facts span { display: inline-flex; align-items: center; gap: 8px; }
.hero .facts span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
@media (max-width: 920px) { .hero .grid { grid-template-columns: 1fr; } .hero-visual { max-width: 560px; margin-inline: auto; width: 100%; } }

.hero-visual { position: relative; }
.photo {
  position: relative; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: #f4d6b4;
  box-shadow: var(--shadow-lg), 0 0 0 10px var(--card), 0 0 0 11px var(--rule);
  transform: rotate(-2.2deg);
}
.photo > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.coord-ticker { position: absolute; top: -40px; right: 0; color: var(--ink-faint); font-variant-numeric: tabular-nums; }
.moods { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 42px; }
.mood {
  font: 500 .66rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft);
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px 8px 8px; border-radius: 999px; cursor: pointer;
  background: var(--glass); border: 1px solid var(--rule); transition: all .25s;
}
.mood i { width: 18px; height: 18px; border-radius: 50%; display: block; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.mood:hover { color: var(--ink); border-color: var(--rule-strong); }
.mood[aria-pressed="true"] { color: var(--accent); border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, var(--card)); }

/* The Travel Journal stamp sitting on the hero photo. */
.tj {
  position: absolute; left: 4.5%; bottom: 5.5%; display: flex; gap: 12px; align-items: center; max-width: 82%;
  padding: 10px 18px 10px 10px; border-radius: 16px; color: #fff;
  background: linear-gradient(120deg, rgba(203, 93, 30, .78), rgba(160, 70, 25, .55) 60%, rgba(63, 93, 128, .55));
  border: 1px solid rgba(255, 255, 255, .45);
  -webkit-backdrop-filter: blur(10px) saturate(1.4); backdrop-filter: blur(10px) saturate(1.4);
  box-shadow: 0 10px 30px -10px rgba(40, 20, 10, .55), inset 0 1px 0 rgba(255, 255, 255, .4);
  transition: background 1.4s ease;
}
.tj .map { width: clamp(54px, 9vw, 78px); aspect-ratio: 1; border-radius: 12px; overflow: hidden; flex: none; border: 2.5px solid #fff; box-shadow: 0 3px 10px rgba(0, 0, 0, .25); }
.tj .when { font-family: "New York", "Iowan Old Style", Georgia, serif; font-weight: 600; font-size: clamp(.95rem, 1.9vw, 1.3rem); line-height: 1.15; }
.tj .where { font-family: "New York", "Iowan Old Style", Georgia, serif; font-size: clamp(.72rem, 1.3vw, .9rem); opacity: .92; line-height: 1.35; }
.tj .coords { font-variant-numeric: tabular-nums; }
/* Trailer in the hero, framed like a print. */
.trailer { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 9; background: #f2e3cf;
  box-shadow: var(--shadow-lg), 0 0 0 10px var(--card), 0 0 0 11px var(--rule); transform: rotate(-1.4deg); }
.trailer video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.trailer.r { animation: press 1.25s cubic-bezier(.2, .9, .25, 1) both; animation-delay: 380ms; --rot: -1.4deg; }
.sound {
  position: absolute; right: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px 7px 9px;
  border: 1px solid rgba(255, 255, 255, .45); border-radius: 999px; cursor: pointer; color: #fff;
  font: 500 .62rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase;
  background: rgba(20, 20, 30, .38); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background .2s;
}
.sound:hover, .sound:focus-visible { background: var(--accent); border-color: var(--accent); color: var(--accent-ink, #fff); }
.sound[aria-pressed="true"] { background: color-mix(in srgb, var(--accent) 80%, transparent); border-color: transparent; }
.trailer video { cursor: pointer; }
.play {
  position: absolute; left: 50%; top: 50%; width: clamp(56px, 7vw, 76px); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%;
  display: grid; place-items: center; padding: 0; border: 2px solid rgba(255, 255, 255, .85); cursor: pointer; color: #fff;
  background: color-mix(in srgb, var(--accent) 88%, transparent); box-shadow: 0 12px 30px -8px rgba(60, 25, 10, .55);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: transform .25s cubic-bezier(.3, 1.6, .5, 1), opacity .3s;
}
.play svg { width: 46%; height: 46%; display: block; }
.play:hover { transform: scale(1.08); }
.trailer.native .sound, .trailer.native .play, .trailer:not(.playing) .sound { display: none; }
.trailer.playing .play { opacity: 0; pointer-events: none; transform: scale(.8); }
.sound svg { width: 16px; height: 16px; }
.sound .on, .sound[aria-pressed="true"] .off { display: none; }
.sound[aria-pressed="true"] .on { display: inline; }
@media (min-width: 921px) { .hero .grid:has(.trailer) { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }

/* The stamped photo you can switch between places, right under the hero. */
.try { padding-top: clamp(10px, 3vw, 40px); }
.try-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: clamp(40px, 6vw, 90px); align-items: center; }
.try-visual { position: relative; padding-top: 36px; }
.try-copy h2 { margin: 14px 0 18px; }
@media (max-width: 920px) { .try-grid { grid-template-columns: 1fr; } .try-copy { order: -1; } .try-visual { max-width: 560px; margin-inline: auto; width: 100%; } }
.coord-ticker { top: 0; }

.hero-visual .note {
  position: absolute; right: -6px; bottom: -34px; transform: rotate(3deg);
  font-family: var(--display); font-size: 1.05rem; color: var(--ink-soft); display: flex; gap: 8px; align-items: center;
}
.hero-visual .note svg { width: 40px; height: 30px; color: var(--accent); }

/* Landscape colour transitions (palette changes morph rather than cut). */
.landscape stop { transition: stop-color 1.4s ease; }
.landscape .sun { opacity: 0; transition: opacity 1.4s ease; }
[data-mood="coast"] .sun-coast, [data-mood="desert"] .sun-desert, [data-mood="night"] .sun-night { opacity: 1; }
.landscape .stars { opacity: 0; transition: opacity 1.4s ease; }
[data-mood="night"] .stars { opacity: 1; }
[data-mood="night"] .tj { background: linear-gradient(120deg, rgba(43, 55, 102, .8), rgba(90, 79, 140, .6)); }
[data-mood="coast"] .tj { background: linear-gradient(120deg, rgba(36, 94, 112, .78), rgba(63, 138, 154, .55)); }
[data-mood="alpine"] .tj { background: linear-gradient(120deg, rgba(46, 78, 60, .78), rgba(85, 127, 68, .55)); }
[data-mood="desert"] .tj { background: linear-gradient(120deg, rgba(126, 62, 44, .8), rgba(185, 83, 42, .55)); }

/* ---------- Load choreography ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes press {
  0% { opacity: 0; transform: rotate(-9deg) scale(1.16) translateY(-20px); filter: blur(3px); }
  60% { opacity: 1; transform: rotate(-1deg) scale(.985); filter: none; }
  100% { opacity: 1; transform: rotate(var(--rot, -2.2deg)) scale(1); }
}
@keyframes slidein { from { opacity: 0; transform: translateX(-24px) rotate(-3deg); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { opacity: 0; transform: scale(.6); } 70% { transform: scale(1.06); } 100% { opacity: 1; transform: none; } }
.r { animation: rise .9s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--d, 0) * 90ms + 80ms); }
.photo.r { animation: press 1.25s cubic-bezier(.2, .9, .25, 1) both; animation-delay: 380ms; }
.tj.r { animation: slidein .9s cubic-bezier(.2, .9, .25, 1) both; animation-delay: 1250ms; }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.2, .8, .2, 1), transform .9s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--d, 0) * 80ms); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding-block: clamp(70px, 10vw, 140px); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 24px 60px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { margin-top: 16px; }
.section-head .lede { margin: 0; }
@media (max-width: 820px) { .section-head { grid-template-columns: 1fr; } }

/* Readout: the metadata ledger and its live stamp. */
.readout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .readout { grid-template-columns: 1fr; } }
.ledger { border-top: 1.5px solid var(--ink); }
.ledger-row { display: grid; grid-template-columns: 30px minmax(0, 9.5rem) minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--rule); }
.ledger-row .n { font: 400 .62rem/1 var(--mono); color: var(--ink-faint); }
.ledger-row .k { font: 500 .68rem/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.ledger-row .v { color: var(--ink-soft); font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ledger-row.off .v, .ledger-row.off .k { text-decoration: line-through; text-decoration-color: var(--rule-strong); color: var(--ink-faint); }
@media (max-width: 520px) { .ledger-row { grid-template-columns: minmax(0, 7rem) minmax(0, 1fr) auto; } .ledger-row .n { display: none; } }
.switch { position: relative; width: 44px; height: 26px; flex: none; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: var(--rule-strong); transition: background .25s; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(0, 0, 0, .25); transition: transform .3s cubic-bezier(.3, 1.5, .5, 1); }
.switch input:checked + span { background: #34c759; }
.switch input:checked + span::after { transform: translateX(18px); }
.switch input:focus-visible + span { outline: 2.5px solid var(--accent); outline-offset: 2px; }

.specimen { position: sticky; top: 110px; }
.specimen .photo { transform: rotate(1.4deg); aspect-ratio: 3 / 4; }
.fieldnotes {
  position: absolute; left: 6%; top: 5%; right: 6%; padding: 12px 14px; border-radius: 8px;
  background: rgba(22, 24, 30, .78); color: #c8f7a1; font: 400 clamp(.56rem, 1.25vw, .7rem)/1.65 var(--mono);
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.fieldnotes div { display: flex; gap: 10px; white-space: nowrap; overflow: hidden; transition: max-height .4s ease, opacity .3s ease; max-height: 2em; }
.fieldnotes div b { font-weight: 500; color: #8fd96a; min-width: 2.2em; }
.fieldnotes div.off { max-height: 0; opacity: 0; }
.fieldnotes .caption { color: #fff; font-family: var(--body); font-size: 1.15em; }
.fieldnotes .cursor { display: inline-block; width: .55em; height: 1em; background: #c8f7a1; vertical-align: -2px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.specimen figcaption { margin-top: 26px; color: var(--ink-faint); text-align: center; }

/* Templates as postage stamps. */
.stamps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(14px, 2vw, 26px); }
@media (max-width: 1100px) { .stamps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 860px) { .stamps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .stamps { grid-template-columns: repeat(2, minmax(0, 1fr)); --perf: 5px; } .stamp-paper { padding: 12px !important; } .stamp-meta .mono { display: none; } .stamp .denom { top: 18px; left: 18px; } }
.stamp-meta h3 { font-size: clamp(1rem, 1.5vw, 1.2rem) !important; }
/* "Your own" sits under the sheet as a wide stamp. */
.stamps .stamp.yours { grid-column: 1 / -1; transform: none; }
.stamp.yours .stamp-paper { display: flex; align-items: center; gap: clamp(16px, 3vw, 30px); }
.stamp.yours .stamp-art { aspect-ratio: auto; width: clamp(90px, 14vw, 150px); height: clamp(68px, 10.5vw, 112px); flex: none; }
.stamp.yours .stamp-meta { padding: 0; }
.stamp.yours .stamp-meta h3 { font-size: clamp(1.3rem, 2.4vw, 1.8rem) !important; }
.stamp.yours .stamp-meta p { margin: 0; color: var(--ink-soft); max-width: 60ch; }
.stamp { --perf: 7px; position: relative; filter: drop-shadow(0 14px 18px rgba(90, 45, 15, .2)); transition: transform .45s cubic-bezier(.3, 1.5, .5, 1); }
.stamp:nth-child(3n+1) { transform: rotate(-1.4deg); }
.stamp:nth-child(3n+2) { transform: rotate(.9deg) translateY(10px); }
.stamp:nth-child(3n) { transform: rotate(-.5deg); }
.stamp:hover { transform: rotate(0) translateY(-8px) scale(1.02); z-index: 2; }
.stamp-paper {
  --hole: radial-gradient(circle var(--perf) at var(--perf) var(--perf), #0000 calc(var(--perf) - .5px), #000 var(--perf)) calc(var(--perf) * -1) calc(var(--perf) * -1) / calc(var(--perf) * 2.6) calc(var(--perf) * 2.6) round;
  --solid: linear-gradient(#000 0 0) 50% 50% / calc(100% - var(--perf) * 2) calc(100% - var(--perf) * 2) no-repeat;
  background: var(--card); padding: 18px 18px 18px;
  -webkit-mask: var(--solid), var(--hole);
          mask: var(--solid), var(--hole);
}
.stamp-art { position: relative; aspect-ratio: 4 / 3; border-radius: 4px; overflow: hidden; }
.stamp-art > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.stamp-meta { display: flex; flex-direction: column; gap: 6px; padding: 14px 4px 2px; }
.stamp-meta h3 { font-size: 1.35rem; }
.stamp-meta .mono { color: var(--ink-faint); font-size: .56rem; line-height: 1.6; }
.stamp .denom { position: absolute; top: 26px; left: 26px; font: 500 .58rem/1 var(--mono); color: #fff; letter-spacing: .1em; text-shadow: 0 1px 3px rgba(0, 0, 0, .4); z-index: 1; }
.stamp.yours .stamp-art { display: grid; place-items: center; background: repeating-linear-gradient(-45deg, var(--paper-2) 0 10px, var(--paper) 10px 20px); border: 1.5px dashed var(--rule-strong); }
.stamp.yours .plus { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-size: 2rem; box-shadow: 0 10px 20px -8px var(--accent); }

/* Mini overlays, one per template. Sizes are in container units so they scale with the stamp. */
.stamp-art { container-type: inline-size; }
.ov { position: absolute; color: #fff; line-height: 1.25; z-index: 1; }
.ov-classic { right: 5cqw; bottom: 5cqw; text-align: right; font: 600 4.6cqw/1.25 var(--body); text-shadow: 0 1px 4px rgba(0, 0, 0, .45); }
.ov-classic small { display: block; font-size: 3.4cqw; font-weight: 400; opacity: .9; }
.ov-journal { left: 4cqw; bottom: 5cqw; display: flex; gap: 2.5cqw; align-items: center; padding: 2cqw 3.5cqw 2cqw 2cqw; border-radius: 3cqw; background: rgba(203, 93, 30, .7); border: 1px solid rgba(255, 255, 255, .5); font: 600 4.2cqw/1.2 Georgia, serif; }
.ov-journal small { display: block; font-weight: 400; font-size: 3.1cqw; opacity: .9; }
.ov-journal .m { display: block; width: 11cqw; height: 11cqw; border-radius: 2cqw; overflow: hidden; border: 1.5px solid #fff; flex: none; }
.ov-film { right: 6cqw; bottom: 5cqw; font: 500 5.2cqw/1 var(--mono); color: #ff9b3d; letter-spacing: .14em; text-shadow: 0 0 6px rgba(255, 120, 30, .9), 0 0 1px #ffb36b; }
.ov-postcard { left: 0; right: 0; bottom: 0; height: 22%; background: #fdfbf7; color: #1f2a44; display: flex; align-items: center; gap: 3cqw; padding: 0 5cqw; font: 600 3.8cqw/1.25 var(--body); }
.ov-postcard small { display: block; font-weight: 400; color: #666; font-size: 3cqw; }
.ov-postcard .m { display: block; width: 10cqw; height: 10cqw; border-radius: 1.5cqw; overflow: hidden; flex: none; border: 1px solid #ddd; }
.ov-field { left: 4cqw; top: 4cqw; padding: 2cqw 3cqw; border-radius: 1.5cqw; background: rgba(22, 24, 30, .8); color: #c8f7a1; font: 400 3cqw/1.6 var(--mono); }
.ov-explorer { left: 0; right: 0; top: 0; padding: 4cqw 4cqw 9cqw; text-align: center; background: linear-gradient(rgba(20, 20, 30, .55), transparent); font: 600 4cqw/1.4 var(--body); letter-spacing: .14em; text-transform: uppercase; }
.ov-explorer small { display: block; font: 400 2.8cqw/1.5 var(--mono); letter-spacing: .1em; opacity: .9; }
.ov-camera { left: 0; right: 0; bottom: 0; padding: 2.5cqw 4cqw; background: rgba(12, 12, 16, .85); text-align: center; font: 600 3.4cqw/1.45 var(--body); }
.ov-camera small { display: block; font: 400 2.8cqw/1.4 var(--mono); opacity: .85; }
.ov-pin { right: 4cqw; bottom: 4cqw; text-align: right; font: 600 3.4cqw/1.3 var(--body); text-shadow: 0 1px 4px rgba(0, 0, 0, .5); }
.ov-pin .m { width: 20cqw; height: 20cqw; border-radius: 50%; overflow: hidden; border: 2px solid #fff; margin: 0 0 1.5cqw auto; box-shadow: 0 2cqw 4cqw rgba(0, 0, 0, .3); }
.ov-pin small { display: block; font: 400 2.6cqw/1.3 var(--mono); }
.ov-water { left: 6cqw; top: 50%; transform: translateY(-50%); font: 700 13cqw/1 var(--body); letter-spacing: -.03em; color: rgba(255, 255, 255, .5); }

.ov-doc { left: 4cqw; bottom: 4cqw; display: flex; gap: 2cqw; align-items: center; padding: 1.8cqw 2.6cqw 1.8cqw 1.8cqw; border-radius: 1.2cqw; background: rgba(0, 0, 0, .28); font: 400 3cqw/1.45 var(--mono); text-shadow: 0 1px 2px rgba(0, 0, 0, .5); }
.ov-doc .m, .ov-road .m, .ov-log .m { display: block; width: 10cqw; height: 10cqw; border-radius: 1.5cqw; overflow: hidden; flex: none; border: 1px solid rgba(255, 255, 255, .7); }
.ov-summit { left: 4cqw; top: 4cqw; padding: 2.5cqw 4cqw; border-radius: 2.5cqw; background: rgba(255, 255, 255, .22); border: 1px solid rgba(255, 255, 255, .4); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font: 700 7cqw/1 var(--body); letter-spacing: -.02em; text-shadow: 0 1px 6px rgba(0, 0, 0, .3); }
.ov-summit small { display: block; margin-top: 1.4cqw; font: 500 3cqw/1.2 var(--body); letter-spacing: 0; }
.ov-road { left: 0; right: 0; bottom: 0; display: flex; gap: 3cqw; align-items: center; padding: 10cqw 5cqw 4cqw; background: linear-gradient(transparent, rgba(0, 0, 0, .62)); font: 700 4.2cqw/1.25 var(--body); }
.ov-road .m { border-radius: 50%; width: 12cqw; height: 12cqw; border: 1.5px solid #fff; }
.ov-road small { display: block; font-weight: 400; font-size: 3cqw; opacity: .9; }
.ov-owl { right: 5cqw; top: 4cqw; text-align: right; color: #ffb547; font: 500 8cqw/1 var(--mono); text-shadow: 0 0 5px rgba(255, 170, 50, .55); }
.ov-owl small { display: block; margin-top: 1.5cqw; font-size: 2.5cqw; line-height: 1.5; color: #ffd38a; }
.stamp-art:has(.ov-instant) > svg { left: 4cqw; top: 4cqw; width: calc(100% - 8cqw); height: calc(100% - 20cqw); }
.stamp-art:has(.ov-instant) { background: #fbf8f2; }
.ov-instant { left: 0; right: 0; bottom: 3.5cqw; text-align: center; color: #2c2a33; font: italic 600 5.2cqw/1 "Bradley Hand", "Segoe Print", "Marker Felt", cursive; }
.ov-postmark { right: 5cqw; top: 5cqw; padding: 2.4cqw 3.4cqw; background: #f6ecd8; color: #6b3a22; text-align: center; border: 1.5px dashed #b07a52; outline: 1.5cqw solid #f6ecd8; font: 600 4.2cqw/1.2 Georgia, serif; letter-spacing: .25em; transform: rotate(4deg); }
.ov-postmark small { display: block; font-size: 2.6cqw; letter-spacing: .18em; font-weight: 400; }
.ov-wide { left: 0; right: 0; bottom: 0; padding: 3.2cqw 0; background: #000; text-align: center; font: 500 2.7cqw/1 var(--body); letter-spacing: .32em; }
.stamp-art:has(.ov-wide)::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 9.5cqw; background: #000; z-index: 1; }
.ov-neon { right: 5cqw; bottom: 4cqw; text-align: right; color: #ff5fd2; font: 600 8.5cqw/1 var(--body); text-shadow: 0 0 4px #ff5fd2, 0 0 14px rgba(255, 60, 200, .8); }
.ov-neon small { display: block; font-size: 3cqw; font-weight: 500; color: #ffd1f2; text-shadow: 0 0 6px rgba(255, 60, 200, .8); }
.ov-golden { left: 0; right: 0; bottom: 0; padding: 12cqw 5cqw 4cqw; background: linear-gradient(transparent, rgba(80, 30, 40, .65)); color: #ffd27a; font: 600 5cqw/1.15 Georgia, serif; }
.ov-golden small { display: block; font-size: 3.1cqw; font-weight: 400; color: #ffe4ad; }
.ov-log { left: 4cqw; top: 4cqw; padding: 2cqw 2.6cqw; border-radius: 1.5cqw; background: rgba(15, 20, 25, .62); font: 400 2.5cqw/1.5 var(--mono); }
.ov-log .m { width: 100%; height: 11cqw; margin-bottom: 1.5cqw; border-radius: 1cqw; }
.ov-coords { left: 0; right: 0; bottom: 4cqw; text-align: center; font: 400 2.9cqw/1 var(--mono); opacity: .9; text-shadow: 0 1px 3px rgba(0, 0, 0, .5); }

/* Editor */
.editor { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 70px); align-items: center; }
@media (max-width: 960px) { .editor { grid-template-columns: 1fr; } }
.editor-shot { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); background: linear-gradient(#e6efdc, #dfe9d6); max-width: 560px; transform: rotate(-1.2deg); }
.editor-shot img { width: 100%; height: auto; }
.notes { list-style: none; margin: 0; padding: 0; counter-reset: n; }
.notes li { counter-increment: n; display: grid; grid-template-columns: 44px 1fr; gap: 6px 14px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.notes li::before { content: counter(n, decimal-leading-zero); font: 500 .7rem/1.9 var(--mono); color: var(--accent); }
.notes h3 { font-size: 1.3rem; margin-bottom: 4px; }
.notes p { margin: 0; color: var(--ink-soft); font-size: .98rem; }
.fonts-sample { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.fonts-sample span { padding: 4px 10px; border-radius: 999px; border: 1px solid var(--rule); font-size: .92rem; }

/* Device strip */
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 300px); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px var(--gutter) 30px; margin-inline: calc(var(--gutter) * -1); scrollbar-width: thin; scrollbar-color: var(--rule-strong) transparent; }
@media (min-width: 1300px) { .strip { margin-inline: 0; padding-inline: 0; } }
.strip figure { margin: 0; scroll-snap-align: start; }
.strip .card { border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); background: var(--paper-2); aspect-ratio: 620 / 1086; }
.strip img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.strip figcaption { padding: 16px 6px 0; }
.strip figcaption b { display: block; font: 400 1.3rem/1.2 var(--display); margin-bottom: 4px; }
.strip figcaption span { color: var(--ink-soft); font-size: .95rem; }
.strip-hint { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 8px; color: var(--ink-faint); }
.platforms { display: flex; gap: 10px; flex-wrap: wrap; }
.platforms span { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--rule); font: 500 .66rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }

/* Export facts */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1.5px solid var(--ink); }
.trio > div { padding: 30px 28px 10px 0; }
.trio > div + div { padding-left: 28px; border-left: 1px solid var(--rule); }
.trio .big { font: 400 clamp(3rem, 6vw, 4.6rem)/1 var(--display); color: var(--accent); margin-bottom: 16px; }
.trio h3 { margin-bottom: 8px; }
.trio p { color: var(--ink-soft); }
@media (max-width: 820px) { .trio { grid-template-columns: 1fr; } .trio > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); } }

/* Privacy band (night palette) */
.night-band { color: #f4eee2; background: #1e2550; overflow: hidden; isolation: isolate; }
.night-band .sky { position: absolute; inset: 0; z-index: -1; }
.night-band .sky::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(24, 30, 66, .92) 0%, rgba(24, 30, 66, .78) 45%, rgba(24, 30, 66, .25) 100%); }
.night-band .sky > svg { width: 100%; height: 100%; }
.night-band .inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 50px; align-items: center; }
@media (max-width: 860px) { .night-band .inner { grid-template-columns: 1fr; } }
.night-band .eyebrow { color: #f3a46c; }
.night-band .lede { color: #c9c6dd; }
.label-card { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); border-radius: 22px; padding: 26px; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.label-card .title { display: flex; align-items: center; gap: 14px; font: 600 1.25rem/1.2 var(--body); }
.label-card .title svg { width: 40px; height: 40px; flex: none; }
.label-card p { color: #c9c6dd; font-size: .95rem; margin: 12px 0 0; }
.label-card ul { margin: 18px 0 0; padding: 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, .14); }
.label-card li { padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: space-between; gap: 12px; font-size: .95rem; }
.label-card li span:last-child { font: 500 .64rem/1.6 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #9be29b; }
.night-band a { color: #fff; }

/* Price ticket */
.ticket { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); background: var(--card); border-radius: 28px; box-shadow: var(--shadow-lg); overflow: hidden; position: relative; }
.ticket > div { padding: clamp(28px, 4vw, 52px); }
.ticket .tear { width: 0; border-left: 2px dashed var(--rule-strong); margin: 26px 0; padding: 0; position: relative; }
.ticket .tear::before, .ticket .tear::after { content: ""; position: absolute; left: -17px; width: 32px; height: 32px; border-radius: 50%; background: var(--paper); }
.ticket .tear::before { top: -44px; } .ticket .tear::after { bottom: -44px; }
.ticket .price { font: 400 clamp(3.6rem, 9vw, 6.4rem)/.9 var(--display); letter-spacing: -.03em; margin: 14px 0 12px; }
.ticket .price sup { font-size: .4em; vertical-align: .9em; margin-left: 4px; }
.ticket ul { padding: 0; margin: 18px 0 0; list-style: none; }
.ticket li { padding: 7px 0 7px 28px; position: relative; color: var(--ink-soft); }
.ticket li::before { content: ""; position: absolute; left: 0; top: .72em; width: 14px; height: 8px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.ticket .side-b { background: repeating-linear-gradient(135deg, transparent 0 14px, color-mix(in srgb, var(--accent) 5%, transparent) 14px 28px); }
@media (max-width: 760px) { .ticket { grid-template-columns: 1fr; } .ticket .tear { width: auto; height: 0; border-left: 0; border-top: 2px dashed var(--rule-strong); margin: 0 26px; } .ticket .tear::before, .ticket .tear::after { top: -17px; bottom: auto; left: auto; } .ticket .tear::before { left: -44px; } .ticket .tear::after { right: -44px; } }

/* Languages */
.langs { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: baseline; font: 400 clamp(1.6rem, 3.6vw, 2.8rem)/1.2 var(--display); }
.langs span { color: var(--ink-faint); transition: color .3s; }
.langs span:hover { color: var(--accent); }
.langs span[lang="ja"] { font-family: "Hiragino Mincho ProN", "Yu Mincho", serif; }

/* FAQ */
.faq { border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font: 400 clamp(1.2rem, 2.2vw, 1.55rem)/1.25 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 14px; height: 14px; flex: none; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg) translateY(-4px); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(225deg) translateY(-2px); }
.faq summary:hover { color: var(--accent); }
.faq .a { padding: 0 0 24px; max-width: 46em; color: var(--ink-soft); }
.faq .a p:last-child { margin: 0; }
.faq-group { margin-top: 56px; }
.faq-group > h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 18px; }

/* Final call + horizon */
.final { text-align: center; padding-top: clamp(70px, 10vw, 130px); }
.final h2 { font-size: clamp(2.6rem, 7vw, 5.4rem); max-width: 12ch; margin: 18px auto 22px; }
.final .lede { margin-inline: auto; }
.final .ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.horizon { height: clamp(140px, 22vw, 300px); margin-top: clamp(40px, 6vw, 80px); position: relative; }
.horizon > svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Footer */
.site-footer { background: #2f4867; color: #e9e3d6; padding: 50px 0 34px; font-size: .95rem; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .site-footer { background: #131b38; } }
:root[data-theme="dark"] .site-footer { background: #131b38; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 30px; }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } .site-footer .cols > :first-child { grid-column: 1 / -1; } }
.site-footer h2 { font: 500 .66rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #f3a46c; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 4px 0; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .brand { color: #fff; margin-bottom: 12px; }
.site-footer .fine { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px; color: #b8bfd0; font-size: .8rem; }

/* ---------- Inner pages ---------- */
.page-hero { padding: clamp(40px, 7vw, 90px) 0 clamp(30px, 4vw, 50px); }
.page-hero h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); margin: 18px 0 18px; }
.crumbs { font: 500 .66rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); display: flex; gap: 10px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--accent); }
.page-body { padding-bottom: clamp(70px, 10vw, 120px); }
.prose { max-width: 46rem; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); margin: 2.2em 0 .6em; }
.prose h3 { font-size: 1.25rem; margin: 1.8em 0 .5em; }
.prose p, .prose li { color: var(--ink-soft); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul { padding-left: 1.2em; } .prose li { margin: .35em 0; }
.prose li::marker { color: var(--accent); }
.prose address { font-style: normal; padding: 18px 22px; border-left: 3px solid var(--accent); background: var(--card); border-radius: 0 14px 14px 0; margin: 0 0 1em; color: var(--ink); }
.toc { position: sticky; top: 110px; font-size: .92rem; }
.toc ol { list-style: none; padding: 0; margin: 12px 0 0; counter-reset: t; }
.toc li { counter-increment: t; padding: 5px 0; }
.toc a { text-decoration: none; color: var(--ink-soft); display: flex; gap: 10px; }
.toc a::before { content: counter(t, decimal-leading-zero); font: 500 .62rem/2 var(--mono); color: var(--ink-faint); }
.toc a:hover { color: var(--accent); }
.with-toc { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(30px, 6vw, 90px); }
@media (max-width: 900px) { .with-toc { grid-template-columns: 1fr; } .toc { position: static; } }
.lang-switch { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; border: 1px solid var(--rule); }
.lang-switch a, .lang-switch span { padding: 6px 12px; border-radius: 999px; font: 500 .66rem/1 var(--mono); letter-spacing: .1em; text-decoration: none; }
.lang-switch span { background: var(--ink); color: var(--paper); }
.updated { color: var(--ink-faint); margin-top: 6px; }
mark.ph { background: #ffe14d; color: #3a2600; padding: .05em .35em; border-radius: 4px; font-weight: 600; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

.support-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(30px, 5vw, 70px); align-items: start; }
@media (max-width: 900px) { .support-grid { grid-template-columns: 1fr; } }
.envelope {
  position: relative; background: var(--card); border-radius: 22px; padding: 32px; box-shadow: var(--shadow-lg);
  border: 10px solid transparent;
  background-image: linear-gradient(var(--card), var(--card)), repeating-linear-gradient(-45deg, #cb5d1e 0 14px, var(--card) 14px 24px, #4e6f96 24px 38px, var(--card) 38px 48px);
  background-origin: border-box; background-clip: padding-box, border-box;
}
.envelope h2 { font-size: 2rem; margin-bottom: 12px; }
.envelope .addr { font: 500 clamp(.85rem, 2.4vw, 1rem)/1.4 var(--mono); word-break: break-all; margin: 18px 0 22px; }
.envelope .postmark { position: absolute; top: 18px; right: 18px; width: 82px; height: 82px; border-radius: 50%; border: 2px solid var(--accent); color: var(--accent); display: grid; place-items: center; text-align: center; font: 500 .5rem/1.4 var(--mono); letter-spacing: .1em; transform: rotate(12deg); opacity: .8; }
.checklist { counter-reset: c; list-style: none; padding: 0; margin: 0; }
.checklist > li { counter-increment: c; position: relative; padding: 20px 0 20px 56px; border-bottom: 1px solid var(--rule); }
.checklist > li::before { content: counter(c); position: absolute; left: 0; top: 18px; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--accent); color: var(--accent); display: grid; place-items: center; font: 400 1.1rem/1 var(--display); }
.checklist h3 { font-size: 1.25rem; margin-bottom: 6px; }
.checklist p { color: var(--ink-soft); margin: 0; }
.req { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-top: 18px; }
.req div { padding: 16px; border-radius: 16px; background: var(--card); border: 1px solid var(--rule); }
.req b { display: block; font: 400 1.3rem/1.2 var(--display); }
.req span { color: var(--ink-soft); font-size: .9rem; }

.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.notfound .big { font: 400 clamp(6rem, 20vw, 12rem)/1 var(--display); color: var(--accent); }

/* Official App Store badges: unmodified, at least 40 px tall, clear space of a quarter of their height. */
.badges { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.badges a { display: block; padding: 0; border-radius: 9px; transition: transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.badges a:hover { transform: translateY(-2px); }
.badges img { height: 48px; width: auto; }
.final .badges { justify-content: center; }
.horizon { -webkit-mask: linear-gradient(transparent, #000 40%); mask: linear-gradient(transparent, #000 40%); }
@media (max-width: 920px) { .coord-ticker { display: none; } }
.hero:has(.trailer) { padding-bottom: clamp(30px, 5vw, 60px); }
@media (max-width: 920px) { .try-visual { padding-top: 0; } .try-grid { gap: 28px; } .trailer { transform: rotate(-1deg); } }

/* Landscape palettes, generated by build.py */
.live-art[data-mood="dusk"]{--sky0:#f4d6b4;--sky1:#f8e6cf;--sky2:#fbefdd;--l0a:#f2cda3;--l0b:#f5d9b8;--l1a:#efd3b0;--l1b:#f3dec4;--l2a:#d3bfd4;--l2b:#e2d2de;--l3a:#a8949f;--l3b:#bbaab3;--l4a:#f5ecdf;--l4b:#e6e2dc;--l5a:#4e6f96;--l5b:#5c7ba0;--l6a:#8e906e;--l6b:#9a9b7a;--l7a:#7d96b8;--l7b:#8aa2c2;--l8a:#ebaa44;--l8b:#f0b957;--l9a:#d98a33;--l9b:#e29a45;--l10a:#cb5d1e;--l10b:#d66c2a;--l11a:#e29257;--l11b:#e6a06a;--l12a:#8c8d6e;--l12b:#999a7c;--l13a:#d07a3a;--l13b:#b55e2f;--l14a:#4a6789;--l14b:#557294;--l15a:#3f5d80;--l15b:#2f4867}
.live-art[data-mood="coast"]{--sky0:#bfe0f0;--sky1:#e3f1f4;--sky2:#f8f1e4;--l0a:#c9dce0;--l0b:#d6e4e6;--l1a:#d9e6e2;--l1b:#e4eeea;--l2a:#a9c3cf;--l2b:#bcd1da;--l3a:#7fa3ae;--l3b:#91b1ba;--l4a:#5fb3c4;--l4b:#3e93aa;--l5a:#2f6f7e;--l5b:#3a7d8b;--l6a:#7c9a6a;--l6b:#8aa878;--l7a:#8cc9d2;--l7b:#9dd3da;--l8a:#e9c9a0;--l8b:#f0d6b2;--l9a:#ddae7a;--l9b:#e5bc8c;--l10a:#c86a43;--l10b:#d27a52;--l11a:#e69b74;--l11b:#ebaa86;--l12a:#6e8e5f;--l12b:#7c9c6d;--l13a:#d98b5f;--l13b:#c4774e;--l14a:#3f8a9a;--l14b:#4a97a6;--l15a:#245e70;--l15b:#1b4c5c}
.live-art[data-mood="alpine"]{--sky0:#a9c9e8;--sky1:#d4e4f2;--sky2:#f2f5f4;--l0a:#c4cfdd;--l0b:#d2dbe6;--l1a:#dce3ea;--l1b:#e6ebf0;--l2a:#b7bed6;--l2b:#c7cde0;--l3a:#8c98ae;--l3b:#9ca7bb;--l4a:#8fd0d0;--l4b:#5eb2b8;--l5a:#3e5f7a;--l5b:#4a6b86;--l6a:#5e8a4e;--l6b:#6c985c;--l7a:#9dd6d4;--l7b:#aededc;--l8a:#8db65b;--l8b:#9cc46a;--l9a:#6e9a45;--l9b:#7ca853;--l10a:#3f6b3a;--l10b:#4a7845;--l11a:#9cc27a;--l11b:#aace89;--l12a:#557f44;--l12b:#638d52;--l13a:#7ea954;--l13b:#6c9746;--l14a:#4f7d8c;--l14b:#5a8998;--l15a:#2e4e3c;--l15b:#223e2f}
.live-art[data-mood="desert"]{--sky0:#f1b48e;--sky1:#f6cfa8;--sky2:#fbe6c8;--l0a:#ebc09a;--l0b:#f0cdac;--l1a:#f0cfae;--l1b:#f4dbbf;--l2a:#dda68c;--l2b:#e5b59d;--l3a:#c08a73;--l3b:#cb9983;--l4a:#f5dec0;--l4b:#edd2ae;--l5a:#b8673e;--l5b:#c4754c;--l6a:#c9935a;--l6b:#d3a168;--l7a:#e6bc8e;--l7b:#ecc89d;--l8a:#e9a04a;--l8b:#eeae5c;--l9a:#d9853a;--l9b:#e1944b;--l10a:#b9532a;--l10b:#c46338;--l11a:#e08a55;--l11b:#e69a68;--l12a:#c48a55;--l12b:#ce9863;--l13a:#cf6e3a;--l13b:#bb5f31;--l14a:#a5583a;--l14b:#b06446;--l15a:#7e3e2c;--l15b:#6a3224}
.live-art[data-mood="night"]{--sky0:#1e2550;--sky1:#3b3f78;--sky2:#8c79a8;--l0a:#4a4e86;--l0b:#575a92;--l1a:#5b5a92;--l1b:#67669d;--l2a:#6e6aa0;--l2b:#7a76ab;--l3a:#3e4377;--l3b:#494e83;--l4a:#b9c3de;--l4b:#8a97c2;--l5a:#2b3766;--l5b:#354171;--l6a:#3e4e6e;--l6b:#485879;--l7a:#7f8ec0;--l7b:#8c9ac9;--l8a:#5a4f8c;--l8b:#655a97;--l9a:#4a3f7a;--l9b:#554a85;--l10a:#2e2a5c;--l10b:#383467;--l11a:#6b5c99;--l11b:#7667a3;--l12a:#34405f;--l12b:#3e4a6a;--l13a:#4e4383;--l13b:#433978;--l14a:#2a3a66;--l14b:#344471;--l15a:#1a2445;--l15b:#131b38}
.live-art{--sky0:#f4d6b4;--sky1:#f8e6cf;--sky2:#fbefdd;--l0a:#f2cda3;--l0b:#f5d9b8;--l1a:#efd3b0;--l1b:#f3dec4;--l2a:#d3bfd4;--l2b:#e2d2de;--l3a:#a8949f;--l3b:#bbaab3;--l4a:#f5ecdf;--l4b:#e6e2dc;--l5a:#4e6f96;--l5b:#5c7ba0;--l6a:#8e906e;--l6b:#9a9b7a;--l7a:#7d96b8;--l7b:#8aa2c2;--l8a:#ebaa44;--l8b:#f0b957;--l9a:#d98a33;--l9b:#e29a45;--l10a:#cb5d1e;--l10b:#d66c2a;--l11a:#e29257;--l11b:#e6a06a;--l12a:#8c8d6e;--l12b:#999a7c;--l13a:#d07a3a;--l13b:#b55e2f;--l14a:#4a6789;--l14b:#557294;--l15a:#3f5d80;--l15b:#2f4867}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .live-art:not([data-mood]){--sky0:#1e2550;--sky1:#3b3f78;--sky2:#8c79a8;--l0a:#4a4e86;--l0b:#575a92;--l1a:#5b5a92;--l1b:#67669d;--l2a:#6e6aa0;--l2b:#7a76ab;--l3a:#3e4377;--l3b:#494e83;--l4a:#b9c3de;--l4b:#8a97c2;--l5a:#2b3766;--l5b:#354171;--l6a:#3e4e6e;--l6b:#485879;--l7a:#7f8ec0;--l7b:#8c9ac9;--l8a:#5a4f8c;--l8b:#655a97;--l9a:#4a3f7a;--l9b:#554a85;--l10a:#2e2a5c;--l10b:#383467;--l11a:#6b5c99;--l11b:#7667a3;--l12a:#34405f;--l12b:#3e4a6a;--l13a:#4e4383;--l13b:#433978;--l14a:#2a3a66;--l14b:#344471;--l15a:#1a2445;--l15b:#131b38}}
.mood[data-set="dusk"] i{background:conic-gradient(#cb5d1e,#ebaa44,#d3bfd4,#cb5d1e)}
.mood[data-set="coast"] i{background:conic-gradient(#245e70,#5fb3c4,#e9c9a0,#245e70)}
.mood[data-set="alpine"] i{background:conic-gradient(#3f6b3a,#8db65b,#a9c9e8,#3f6b3a)}
.mood[data-set="desert"] i{background:conic-gradient(#7e3e2c,#e9a04a,#f1b48e,#7e3e2c)}
.mood[data-set="night"] i{background:conic-gradient(#1e2550,#6b5c99,#b9c3de,#1e2550)}
