@property --clear {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 0%;
}

:root {
  --red: #b3353a;
  --red-hi: #cc4541;
  --red-lo: #8e252b;
  --cream: #f8f1e4;
  --card: #fffaf1;
  --ink: #2a211d;
  --muted: #7a6d62;
  --line: rgba(74, 48, 30, 0.1);
  --stamp: #b8383c;
  --blue: #2e4d85;
  --green: #2b6647;
  --plum: #6b3366;
  --jet: #262424;
  --gold: #c78c24;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", monospace;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --wrap: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

h1,
h2,
h3,
p {
  margin: 0;
}

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

.skip {
  position: fixed;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--cream);
}

.skip:focus {
  top: 12px;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.wrap {
  width: min(var(--wrap), calc(100% - 48px));
  margin-inline: auto;
}

.wrap.narrow {
  --wrap: 820px;
}

.pixel {
  image-rendering: pixelated;
}

/* ------------------------------------------------------------------ notch nav */

.notch {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 6px;
  width: max-content;
  max-width: calc(100vw - 32px);
  padding: 8px 8px 8px 14px;
  white-space: nowrap;
  background: var(--cream);
  border-radius: 0 0 22px 22px;
  transform: translateX(-50%);
  box-shadow: 0 10px 30px -12px rgba(70, 10, 10, 0);
  transition: box-shadow 0.3s ease, padding 0.3s var(--ease);
}

.notch::before,
.notch::after {
  content: "";
  position: absolute;
  top: 0;
  width: 22px;
  height: 22px;
  pointer-events: none;
}

.notch::before {
  left: -22px;
  background: radial-gradient(circle at 0 100%, transparent 21.5px, var(--cream) 22px);
}

.notch::after {
  right: -22px;
  background: radial-gradient(circle at 100% 100%, transparent 21.5px, var(--cream) 22px);
}

.notch.scrolled {
  box-shadow: 0 14px 34px -14px rgba(70, 10, 10, 0.35);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand img {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.hub-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 14px 0 -6px;
  padding: 5px 10px 5px 5px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--muted);
  transition: color 0.2s, background 0.2s;
}

.hub-link img {
  width: 20px;
  height: 20px;
}

.hub-link::after {
  content: "";
  position: absolute;
  right: -8px;
  top: 50%;
  width: 1px;
  height: 18px;
  background: rgba(74, 48, 30, 0.18);
  transform: translateY(-50%);
}

.hub-link:hover {
  color: var(--ink);
  background: rgba(179, 53, 58, 0.08);
}

.notch .brand {
  margin-right: 10px;
  color: var(--stamp);
}

.notch-links {
  display: flex;
  gap: 2px;
}

.notch-links a {
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s, background 0.2s;
}

.notch-links a:hover {
  color: var(--ink);
  background: rgba(179, 53, 58, 0.08);
}

.notch-cta {
  margin-left: 6px;
  padding: 8px 15px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--cream);
  background: var(--stamp);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 4px 12px -4px rgba(140, 30, 30, 0.6);
  transition: transform 0.2s var(--ease), background 0.2s;
}

.notch-cta:hover {
  background: #a42f34;
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  position: relative;
}

.menu-toggle span,
.menu-toggle span::before {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 1.8px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s var(--ease);
}

.menu-toggle span {
  top: 14px;
}

.menu-toggle span::before {
  content: "";
  left: 0;
  right: 0;
  top: 6px;
}

.menu-toggle[aria-expanded="true"] span {
  transform: translateY(3px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span::before {
  transform: translateY(-6px) rotate(-90deg);
}

/* ------------------------------------------------------------------ shared */

.red {
  position: relative;
  color: var(--cream);
  background: var(--red);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 50px;
  padding: 0 22px;
  border-radius: 14px;
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s;
}

.btn svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
  margin-top: -2px;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-cream {
  color: var(--stamp);
  background: var(--cream);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 14px 30px -12px rgba(60, 5, 10, 0.55);
}

.btn-glass {
  color: var(--cream);
  background: rgba(255, 240, 225, 0.18);
  box-shadow: inset 0 0 0 1.5px rgba(255, 240, 225, 0.38);
  backdrop-filter: blur(10px);
}

.btn-glass:hover {
  background: rgba(255, 240, 225, 0.22);
}

.btn-red {
  color: var(--stamp);
  background: var(--cream);
}

.btn-outline {
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line), 0 1px 0 rgba(255, 255, 255, 0.9);
  background: #fff;
}

.btn.big {
  height: 58px;
  padding: 0 28px;
  font-size: 17px;
  border-radius: 16px;
}

.kicker {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stamp);
}

.red .kicker {
  color: rgba(248, 241, 228, 0.7);
}

.lede {
  font-size: 18.5px;
  line-height: 1.6;
  color: var(--muted);
}

.red .lede {
  color: rgba(248, 241, 228, 0.78);
}

.dim {
  opacity: 0.55;
}

.head {
  margin-bottom: 56px;
}

.head h2,
.band-copy h2,
.privacy-copy h2,
.closing h2 {
  font-size: clamp(38px, 5.2vw, 64px);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -0.045em;
}

.head p {
  margin-top: 16px;
  font-size: 18.5px;
  color: var(--muted);
}

.red .head p {
  color: rgba(248, 241, 228, 0.75);
}

.head.center {
  max-width: 740px;
  margin-inline: auto;
  text-align: center;
}

.head.split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.head.split p {
  max-width: 520px;
}

.section {
  position: relative;
  padding: 120px 0;
}

.paper {
  background: var(--cream);
}

.clouds {
  position: relative;
  z-index: 1;
  height: 500px;
  pointer-events: none;
  background: url("art/clouds.png") repeat-x 0 100% / 1920px 500px;
  image-rendering: pixelated;
  animation: drift 140s linear infinite;
}

.clouds.rise {
  margin-top: -260px;
}

.clouds.hang {
  margin-bottom: -300px;
  transform: scaleY(-1);
  animation-direction: reverse;
}

@keyframes drift {
  to {
    background-position-x: 1920px;
  }
}

/* ------------------------------------------------------------------ hero */

.hero {
  --art-w: 1140px;
  min-height: 100svh;
  padding: 58px 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(70% 55% at 50% 22%, rgba(214, 78, 70, 0.9), transparent 70%),
    radial-gradient(90% 60% at 50% 110%, rgba(120, 22, 30, 0.55), transparent 70%),
    var(--red);
}

.fog {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  pointer-events: none;
  -webkit-mask: linear-gradient(#000 70%, transparent);
  mask: linear-gradient(#000 70%, transparent);
}

.hero-art {
  position: relative;
  z-index: 0;
  flex-shrink: 0;
  width: var(--art-w);
  aspect-ratio: 760 / 470;
  margin-inline: calc((100% - var(--art-w)) / 2);
  transform: translateY(calc(var(--hero-p, 0) * 80px));
}

.fingerpost {
  width: 100%;
  height: auto;
  image-rendering: pixelated;
  animation: post-in 1.6s var(--ease) both;
}

@keyframes post-in {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.97);
    filter: blur(10px);
  }
}

.finial {
  position: absolute;
  left: 50%;
  top: 8.4%;
  width: 8.8%;
  translate: -50% 0;
  animation: finial-in 1.3s 0.35s var(--ease) both, bob 6s 1.8s ease-in-out infinite;
}

.finial img {
  width: 100%;
  height: auto;
  border-radius: 23%;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.5),
    0 18px 40px -10px rgba(60, 0, 5, 0.6),
    0 0 90px 10px rgba(255, 214, 190, 0.35);
}

@keyframes finial-in {
  from {
    opacity: 0;
    transform: translateY(-40px) scale(0.7) rotate(-12deg);
  }
}

@keyframes bob {
  50% {
    transform: translateY(-6px);
  }
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(1040px, calc(100% - 40px));
  margin-top: calc(var(--art-w) * -0.19);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: calc(1 - var(--hero-p, 0) * 1.4);
  filter: blur(calc(var(--hero-p, 0) * 12px));
  animation: copy-in 1.2s 0.5s var(--ease) both;
}

@keyframes copy-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 12px 6px 10px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--cream);
  background: rgba(90, 10, 15, 0.28);
  box-shadow: inset 0 0 0 1px rgba(255, 235, 220, 0.18);
  backdrop-filter: blur(8px);
  transition: background 0.2s;
}

.eyebrow:hover {
  background: rgba(90, 10, 15, 0.4);
}

.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7fd1a0;
  box-shadow: 0 0 0 4px rgba(127, 209, 160, 0.2);
}

.eyebrow .arrow {
  opacity: 0.6;
}

.hero h1 {
  margin-top: 20px;
  font-size: clamp(40px, 5.6vw, 80px);
  line-height: 0.98;
  font-weight: 650;
  letter-spacing: -0.05em;
  text-shadow: 0 2px 30px rgba(90, 10, 15, 0.35);
}

.hero h1 .line {
  display: block;
}

.hero .lede {
  max-width: 620px;
  margin-top: 18px;
  font-size: 18px;
  text-wrap: pretty;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}

@media (min-width: 901px) and (max-height: 1000px) {
  .hero {
    --art-w: 950px;
    padding-top: 44px;
  }
}

.fine {
  margin-top: 18px;
  font-size: 13.5px;
  color: rgba(248, 241, 228, 0.6);
}

/* ------------------------------------------------------------------ showcase demo */

.showcase {
  padding-top: 30px;
  background: linear-gradient(var(--red), var(--red-lo) 70%);
}

.demo {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 26px;
  border-radius: 34px;
  color: var(--ink);
  background: linear-gradient(180deg, #fbf6ec, #f3eadb);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 0 0 1px rgba(255, 255, 255, 0.25),
    0 50px 120px -40px rgba(50, 0, 5, 0.75);
}

.demo-stage {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 34px;
  min-height: 560px;
  padding: 10px 14px;
}

/* the photo of the sign */

.photo {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  max-width: 330px;
  justify-self: end;
  width: 100%;
  overflow: hidden;
  border-radius: 20px;
  transform: rotate(-2.5deg);
  box-shadow: 0 30px 50px -24px rgba(60, 30, 10, 0.5), 0 0 0 6px #fff;
  transition: transform 0.8s var(--ease);
}

.photo-sky {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #b9ccd8 0%, #dfe6e6 45%, #eef0e8 60%);
}

.photo-hills {
  position: absolute;
  left: -10%;
  right: -10%;
  top: 46%;
  height: 40%;
  background:
    radial-gradient(60% 70% at 25% 100%, #6f8f5a 0 60%, transparent 61%),
    radial-gradient(70% 80% at 80% 100%, #5d7f4c 0 60%, transparent 61%),
    linear-gradient(#7d9a63, #6a8a55);
  border-radius: 50% 50% 0 0 / 30% 30% 0 0;
}

.photo-road {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 30%;
  background: linear-gradient(#55585a, #3b3d40);
  clip-path: polygon(38% 0, 62% 0, 100% 100%, 0 100%);
}

.photo-road::after {
  content: "";
  position: absolute;
  left: 49.2%;
  top: 0;
  bottom: 0;
  width: 1.6%;
  background: repeating-linear-gradient(#f2efe6 0 12px, transparent 12px 26px);
}

.road-sign {
  position: absolute;
  left: 12%;
  right: 12%;
  top: 22%;
}

.road-sign-board {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 12px 18px;
  border-radius: 8px;
  background: #fbfbf8;
  box-shadow: inset 0 0 0 4px #fbfbf8, inset 0 0 0 6.5px #1d1d1f, 0 10px 20px -8px rgba(0, 0, 0, 0.35);
  color: #1d1d1f;
}

.rs-crest {
  width: 30px;
  height: 34px;
  margin-bottom: 6px;
  border-radius: 4px 4px 50% 50%;
  background: linear-gradient(135deg, #b8383c 50%, #2b6647 50%);
}

.rs-welcome {
  position: relative;
  font-size: 15px;
  font-weight: 500;
}

.rs-name {
  position: relative;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.rs-leg {
  position: absolute;
  top: 60%;
  width: 8px;
  height: 120px;
  background: linear-gradient(90deg, #8b8f93, #c9ccce 40%, #74787c);
}

.rs-leg.l {
  left: 22%;
}

.rs-leg.r {
  right: 22%;
}

.ocr {
  position: absolute;
  left: 50%;
  border: 2px solid transparent;
  border-radius: 6px;
  translate: -50% 0;
  background:
    linear-gradient(var(--stamp), var(--stamp)) top left / 12px 2px no-repeat,
    linear-gradient(var(--stamp), var(--stamp)) top left / 2px 12px no-repeat,
    linear-gradient(var(--stamp), var(--stamp)) top right / 12px 2px no-repeat,
    linear-gradient(var(--stamp), var(--stamp)) top right / 2px 12px no-repeat,
    linear-gradient(var(--stamp), var(--stamp)) bottom left / 12px 2px no-repeat,
    linear-gradient(var(--stamp), var(--stamp)) bottom left / 2px 12px no-repeat,
    linear-gradient(var(--stamp), var(--stamp)) bottom right / 12px 2px no-repeat,
    linear-gradient(var(--stamp), var(--stamp)) bottom right / 2px 12px no-repeat,
    rgba(184, 56, 60, 0.08);
}

.ocr-a {
  top: 50px;
  width: 124px;
  height: 28px;
}

.ocr-b {
  top: 78px;
  width: 150px;
  height: 42px;
}

.scanbeam {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 70px;
  background: linear-gradient(180deg, transparent, rgba(255, 90, 80, 0.28) 85%, rgba(255, 120, 110, 0.9) 100%);
  opacity: 0;
  pointer-events: none;
}

.readout {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.chip {
  align-self: flex-start;
  padding: 6px 10px;
  border-radius: 10px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  color: var(--ink);
  background: rgba(255, 252, 245, 0.94);
  box-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.4);
}

.chip b {
  margin-right: 4px;
  color: var(--stamp);
  font-weight: 600;
}

/* the phone */

.phone {
  position: relative;
  width: 262px;
  aspect-ratio: 9 / 19.2;
  padding: 9px;
  border-radius: 44px;
  background: linear-gradient(145deg, #3a3a3e, #121214 40%, #26262a);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.12),
    0 40px 70px -30px rgba(40, 10, 5, 0.65),
    0 10px 20px -10px rgba(0, 0, 0, 0.3);
}

.phone-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 36px;
  background: #b9d0d6;
}

.phone-status {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 24px 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}

.island {
  width: 78px;
  height: 22px;
  border-radius: 20px;
  background: #0b0b0c;
}

.battery {
  width: 22px;
  height: 10px;
  border-radius: 3px;
  box-shadow: inset 0 0 0 1.4px var(--ink);
  position: relative;
}

.battery::after {
  content: "";
  position: absolute;
  inset: 2.5px 6px 2.5px 2.5px;
  border-radius: 1px;
  background: var(--ink);
}

.phone-map {
  position: absolute;
  inset: 0;
}

.sw-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.sw-map path {
  fill: #f1ead9;
  stroke: #d2c6ae;
  stroke-width: 1.6;
  stroke-linejoin: round;
  transition: fill 1s ease, stroke 1s ease;
}

.phone-fog {
  --clear: 0%;
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.4), transparent 30%),
    radial-gradient(circle at 80% 72%, rgba(255, 255, 255, 0.35), transparent 35%),
    radial-gradient(rgba(110, 100, 86, 0.28) 1px, transparent 1.4px) 0 0 / 4px 4px,
    rgba(150, 140, 124, 0.5);
  -webkit-mask: radial-gradient(circle at 52% 58%, transparent var(--clear), #000 calc(var(--clear) + 9%));
  mask: radial-gradient(circle at 52% 58%, transparent var(--clear), #000 calc(var(--clear) + 9%));
  transition: --clear 1.4s var(--ease);
}

.map-stamp {
  position: absolute;
  left: 52%;
  top: 56%;
  translate: -50% -50%;
  opacity: 0;
  transform: scale(2.4) rotate(-20deg);
  transition: opacity 0.2s, transform 0.45s cubic-bezier(0.3, 1.6, 0.5, 1);
}

.map-pile {
  position: absolute;
  left: 68%;
  top: 66%;
  width: 40px;
  height: 46px;
  padding: 3px 3px 10px;
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 6px 14px -6px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(12px) rotate(8deg) scale(0.6);
  transition: opacity 0.4s 0.2s, transform 0.6s 0.2s var(--ease);
}

.map-pile::before {
  content: "";
  display: block;
  height: 100%;
  border-radius: 1px;
  background: linear-gradient(#9fc3d4, #d9d2b8 60%, #7e9a67);
}

.map-pile span {
  position: absolute;
  top: -8px;
  right: -8px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: var(--stamp);
}

.phone-tabs {
  position: absolute;
  z-index: 3;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 56px;
  border-radius: 22px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  background: rgba(255, 251, 243, 0.86);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 22px -10px rgba(0, 0, 0, 0.35);
}

.phone-tabs .on {
  color: var(--stamp);
}

.shutter {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--stamp);
  box-shadow: inset 0 0 0 3px var(--card), 0 0 0 2px var(--stamp);
}

/* the ceremony */

.ceremony {
  justify-self: start;
  width: 100%;
  max-width: 300px;
  padding: 26px 22px 22px;
  border-radius: 24px;
  text-align: center;
  background: var(--card);
  box-shadow: 0 30px 60px -30px rgba(80, 40, 20, 0.45), 0 0 0 1px var(--line);
  opacity: 0.35;
  filter: saturate(0.2);
  transform: translateY(10px) scale(0.97);
  transition: opacity 0.6s, filter 0.6s, transform 0.7s var(--ease);
}

.cer-kicker {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--stamp);
}

.cer-stamp {
  display: grid;
  place-items: center;
  height: 160px;
}

.cer-stamp .stamp-ring {
  opacity: 0;
  transform: scale(2) rotate(-24deg);
  transition: opacity 0.2s 0.3s, transform 0.5s 0.3s cubic-bezier(0.3, 1.6, 0.5, 1);
}

.cer-name {
  font-family: var(--serif);
  font-size: 38px;
  line-height: 1;
}

.cer-meta {
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--muted);
}

.cer-milestone {
  display: inline-block;
  margin-top: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #7a5412;
  background: rgba(199, 140, 36, 0.16);
}

.cer-pile {
  position: relative;
  height: 76px;
  margin-top: 16px;
}

.cer-pile .pol {
  position: absolute;
  left: 50%;
  top: 6px;
  width: 58px;
  opacity: 0;
  transition: opacity 0.4s, transform 0.7s var(--ease);
}

.cer-pile .p1 {
  transform: translate(-50%, 30px) rotate(0);
}

.cer-pile .p2 {
  transform: translate(-50%, 30px) rotate(0);
  transition-delay: 0.12s;
}

.cer-pile .p3 {
  transform: translate(-50%, 30px) rotate(0);
  transition-delay: 0.24s;
}

.cer-caption {
  font-size: 12.5px;
  color: var(--muted);
  opacity: 0;
  transition: opacity 0.4s 0.4s;
}

/* step states */

.demo[data-step="0"] .scanbeam {
  animation: scan 1.6s ease-in-out 2 both;
}

@keyframes scan {
  0% {
    opacity: 0;
    transform: translateY(-80px);
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(420px);
  }
}

.demo[data-step="0"] .ocr-a {
  animation: pop-in 0.5s 1.2s var(--ease) both;
}

.demo[data-step="0"] .ocr-b {
  animation: pop-in 0.5s 1.5s var(--ease) both;
}

.demo[data-step="0"] .chip-ocr {
  animation: rise-in 0.5s 2s var(--ease) both;
}

.demo[data-step="0"] .chip-gps {
  opacity: 0;
}

.demo[data-step="1"] .chip-gps {
  animation: rise-in 0.5s 0.3s var(--ease) both;
}

@keyframes pop-in {
  from {
    opacity: 0;
    transform: scale(1.15);
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

.demo[data-step="1"] .photo {
  transform: rotate(-1deg) scale(1.02);
}

.demo:is([data-step="2"], [data-step="3"]) .phone-fog {
  --clear: 22%;
}

.demo:is([data-step="2"], [data-step="3"]) .sw-map path.here {
  fill: #e3ecd0;
  stroke: var(--stamp);
  stroke-width: 3.5;
}

.demo:is([data-step="2"], [data-step="3"]) .map-stamp {
  opacity: 1;
  transform: rotate(-8deg);
  transition-delay: 0.7s;
}

.demo:is([data-step="2"], [data-step="3"]) .ceremony {
  opacity: 1;
  filter: none;
  transform: none;
  transition-delay: 0.5s;
}

.demo:is([data-step="2"], [data-step="3"]) .cer-stamp .stamp-ring {
  opacity: 1;
  transform: rotate(-8deg);
  transition-delay: 0.9s;
}

.demo[data-step="3"] .map-pile {
  opacity: 1;
  transform: rotate(6deg);
}

.demo[data-step="3"] .cer-pile .pol {
  opacity: 1;
}

.demo[data-step="3"] .cer-pile .p1 {
  transform: translate(-120%, 0) rotate(-10deg);
}

.demo[data-step="3"] .cer-pile .p2 {
  transform: translate(-50%, -4px) rotate(2deg);
}

.demo[data-step="3"] .cer-pile .p3 {
  transform: translate(20%, 2px) rotate(11deg);
}

.demo[data-step="3"] .cer-caption {
  opacity: 1;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.steps button {
  position: relative;
  width: 100%;
  padding: 14px 16px 16px;
  overflow: hidden;
  border-radius: 16px;
  text-align: left;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted);
  transition: background 0.3s, color 0.3s;
}

.steps button span {
  display: block;
  margin-bottom: 2px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(122, 109, 98, 0.7);
}

.steps button:hover {
  color: var(--ink);
}

.steps button[aria-selected="true"] {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 10px 24px -16px rgba(80, 40, 20, 0.5), 0 0 0 1px var(--line);
}

.steps button[aria-selected="true"] span {
  color: var(--stamp);
}

.steps button::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 8px;
  height: 2px;
  border-radius: 2px;
  background: var(--stamp);
  transform: scaleX(0);
  transform-origin: left;
}

.steps button[aria-selected="true"]::after {
  animation: progress var(--dur, 3s) linear both;
}

.demo.paused .steps button::after {
  animation-play-state: paused;
}

@keyframes progress {
  to {
    transform: scaleX(1);
  }
}

/* ------------------------------------------------------------------ stamps & polaroids */

.stamp-ring {
  --c: var(--stamp);
  --size: 86px;
  position: relative;
  display: grid;
  place-content: center;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  text-align: center;
  color: var(--c);
  border: calc(var(--size) * 0.035) solid currentColor;
  transform: rotate(var(--r, -6deg));
  font-family: var(--mono);
  line-height: 1.05;
  -webkit-mask: url("art/grunge.png") 0 0 / 140px;
  mask: url("art/grunge.png") 0 0 / 140px;
}

.stamp-ring::before {
  content: "";
  position: absolute;
  inset: calc(var(--size) * 0.07);
  border-radius: 50%;
  border: 1.4px dashed currentColor;
  opacity: 0.8;
}

.stamp-ring b {
  font-size: calc(var(--size) * 0.14);
  font-weight: 600;
  letter-spacing: 0.02em;
  max-width: calc(var(--size) * 0.78);
  overflow: hidden;
}

.stamp-ring small {
  margin-top: 3px;
  font-size: calc(var(--size) * 0.085);
  font-weight: 500;
  letter-spacing: 0.08em;
  opacity: 0.85;
}

.stamp-ring.big {
  --size: 140px;
}

.stamp-ring.tiny {
  --size: 54px;
}

.stamp-ring.blue {
  --c: var(--blue);
}

.stamp-ring.green {
  --c: var(--green);
}

.stamp-ring.plum {
  --c: var(--plum);
}

.stamp-ring.jet {
  --c: var(--jet);
}

.stamp-ring.cream {
  --c: var(--cream);
}

.stamp-ring.ink {
  --c: var(--ink-color, var(--stamp));
  transition: color 0.4s;
}

.map-stamp .stamp-ring {
  --size: 70px;
  border-width: 3px;
}

.pol {
  margin: 0;
  padding: 5px 5px 14px;
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 10px 22px -12px rgba(40, 20, 10, 0.55);
}

.pol figcaption {
  margin-top: 5px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  text-align: center;
  color: var(--ink);
}

.shot {
  display: block;
  aspect-ratio: 1;
  border-radius: 1.5px;
}

.shot.moor {
  background:
    radial-gradient(90% 50% at 30% 100%, #6c7a4c 0 50%, transparent 51%),
    radial-gradient(80% 45% at 85% 100%, #58683e 0 50%, transparent 51%),
    linear-gradient(#c4ccc6, #e3ddcb 55%, #8d9665);
}

.shot.coast {
  background:
    linear-gradient(170deg, transparent 58%, #d8c69c 58% 70%, transparent 70%),
    linear-gradient(#9cc4d9, #d4e2e2 40%, #4f8aa3 41%, #2f6b86 70%, #d8c69c 70%);
}

.shot.harbour {
  background:
    radial-gradient(10% 8% at 35% 62%, #b8383c 0 60%, transparent 62%),
    radial-gradient(10% 8% at 62% 66%, #f4efe4 0 60%, transparent 62%),
    linear-gradient(#f0c9a0, #f6e2c4 35%, #9fb7b8 36%, #5d8290 80%);
}

/* ------------------------------------------------------------------ bento */

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.tile {
  display: flex;
  flex-direction: column;
  padding: 10px 10px 22px;
  border-radius: 28px;
  background: var(--card);
  box-shadow: 0 0 0 1px var(--line), 0 24px 50px -32px rgba(90, 40, 20, 0.35);
}

.tile-art {
  position: relative;
  height: 250px;
  overflow: hidden;
  border-radius: 20px;
  display: grid;
  place-items: center;
}

.tile > p {
  padding: 18px 14px 0;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--muted);
  text-wrap: pretty;
}

.tile > p b {
  color: var(--ink);
  font-weight: 600;
}

.t-map {
  grid-column: span 7;
  grid-row: span 2;
}

.t-map .tile-art {
  flex: 1;
  min-height: 520px;
}

.t-town,
.t-station {
  grid-column: span 5;
}

.t-town .tile-art,
.t-station .tile-art {
  flex: 1;
  min-height: 250px;
}

.t-pile,
.t-ask,
.t-share {
  grid-column: span 4;
}

.t-miles {
  grid-column: span 12;
  order: 1;
}

.t-miles .tile-art {
  height: 190px;
}

.art-red {
  color: var(--cream);
  background:
    radial-gradient(80% 60% at 50% 20%, rgba(214, 78, 70, 0.8), transparent 70%),
    var(--red);
}

.art-sky {
  background: linear-gradient(180deg, #d5e0e4, #efeadd);
}

.art-night {
  color: #eef0f5;
  background:
    radial-gradient(70% 60% at 50% 0%, rgba(90, 110, 160, 0.35), transparent 70%),
    #1d2231;
}

.art-cream {
  background:
    radial-gradient(rgba(120, 80, 40, 0.08) 1px, transparent 1.3px) 0 0 / 6px 6px,
    #f1e7d3;
}

.art-green {
  color: #f3efe2;
  background:
    radial-gradient(80% 60% at 50% 10%, rgba(80, 160, 110, 0.4), transparent 70%),
    #164d38;
}

.art-packs {
  color: #f3efe2;
  background:
    radial-gradient(70% 80% at 18% 40%, #1f4f8f, transparent 72%),
    radial-gradient(70% 80% at 82% 60%, #164d38, transparent 72%),
    #172433;
}

.uk-frame {
  position: relative;
  height: 92%;
  aspect-ratio: 442 / 820;
}

.uk-frame img {
  width: 100%;
  height: 100%;
}

.pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 4px 9px 4px 4px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--stamp);
  background: var(--cream);
  box-shadow: 0 6px 16px -6px rgba(60, 0, 5, 0.6);
  translate: 10px -50%;
}

.pin i {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--stamp);
}

.pin i::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid var(--stamp);
  animation: ping 2.4s ease-out infinite;
}

@keyframes ping {
  from {
    opacity: 0.8;
    transform: scale(0.4);
  }
  to {
    opacity: 0;
    transform: scale(1.8);
  }
}

.town-sign {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 30px 14px;
  border-radius: 10px;
  background: #fbfbf8;
  color: #1d1d1f;
  box-shadow: inset 0 0 0 4px #fbfbf8, inset 0 0 0 6px #1d1d1f, 0 18px 30px -18px rgba(0, 0, 0, 0.5);
  transform: translateY(-18px) rotate(-2deg);
}

.town-sign span {
  font-size: 14px;
}

.town-sign strong {
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.town-sign em {
  margin-top: 4px;
  font-size: 11px;
  font-style: normal;
  color: #6b6b6b;
}

.town-result {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 8px;
  border-radius: 16px;
  background: var(--card);
  box-shadow: 0 12px 26px -14px rgba(40, 20, 10, 0.5);
}

.town-result b {
  display: block;
  font-size: 14px;
}

.town-result small {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.mini-stamp {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--stamp);
  border: 2px solid var(--stamp);
  transform: rotate(-10deg);
}

.station-board {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 26px 16px 18px;
  border-radius: 8px;
  color: #fff;
  background: #1a3d7c;
  box-shadow: inset 0 0 0 3px #1a3d7c, inset 0 0 0 5px rgba(255, 255, 255, 0.85), 0 20px 40px -20px rgba(0, 0, 0, 0.8);
}

.station-board .nr {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 22px;
  color: #1a3d7c;
  background: #fff;
}

.station-board strong {
  font-size: 26px;
  letter-spacing: -0.01em;
}

.pile-stack {
  position: relative;
  width: 210px;
  height: 180px;
}

.pile-stack .pol {
  position: absolute;
  width: 124px;
  top: 10px;
}

.pile-stack .q1 {
  left: 0;
  transform: rotate(-11deg);
}

.pile-stack .q2 {
  left: 44px;
  transform: rotate(3deg);
  top: 0;
}

.pile-stack .q3 {
  left: 86px;
  transform: rotate(13deg);
  top: 18px;
}

.pile-count {
  position: absolute;
  right: -6px;
  top: -6px;
  display: grid;
  place-items: center;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  background: var(--stamp);
  box-shadow: 0 6px 14px -4px rgba(140, 30, 30, 0.6);
}

.ask {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 230px;
  padding: 18px 16px 14px;
  border-radius: 22px;
  text-align: center;
  background: var(--card);
  box-shadow: 0 22px 40px -22px rgba(40, 20, 10, 0.5);
}

.ask-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 8px;
  border-radius: 12px;
  color: var(--stamp);
  background: rgba(184, 56, 60, 0.1);
}

.ask-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ask b {
  font-size: 16px;
}

.ask small {
  margin: 2px 0 12px;
  font-size: 12.5px;
  color: var(--muted);
}

.ask-yes,
.ask-no {
  width: 100%;
  padding: 9px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 600;
}

.ask-yes {
  color: #fff;
  background: var(--stamp);
}

.ask-no {
  margin-top: 6px;
  color: var(--stamp);
}

.medals {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(14px, 3vw, 40px);
  padding: 0 16px;
}

.medal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
}

.medal i {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  font-style: normal;
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 600;
  color: rgba(122, 109, 98, 0.5);
  border: 2px dashed rgba(122, 109, 98, 0.35);
}

.medal.on {
  color: var(--ink);
}

.medal.on i {
  color: #fff8e6;
  border: 0;
  background: radial-gradient(circle at 35% 30%, #e6b651, var(--gold) 55%, #9c6a14);
  box-shadow: inset 0 0 0 4px rgba(255, 240, 200, 0.35), 0 12px 22px -10px rgba(140, 90, 10, 0.7);
}

.share-card {
  width: 148px;
  padding: 10px 10px 12px;
  border-radius: 6px;
  background: #f7f0e1;
  color: var(--ink);
  transform: rotate(-4deg);
  box-shadow: 0 24px 40px -18px rgba(40, 0, 5, 0.7);
}

.share-photo {
  padding: 6px 6px 18px;
  background: #fff;
  box-shadow: 0 4px 10px -6px rgba(0, 0, 0, 0.4);
  transform: rotate(2deg);
}

.share-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}

.share-foot small {
  display: block;
  font-family: var(--mono);
  font-size: 9px;
  color: var(--muted);
}

.share-foot b {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
}

/* ------------------------------------------------------------------ highlights rail */

.highlights {
  padding-top: 0;
}

.arrows {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.arrows button {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 18px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line), 0 8px 18px -12px rgba(80, 40, 20, 0.5);
  transition: transform 0.2s var(--ease);
}

.arrows button:hover {
  transform: translateY(-2px);
}

.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(460px, 82vw);
  gap: 20px;
  padding: 4px max(24px, calc((100vw - var(--wrap)) / 2)) 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(24px, calc((100vw - var(--wrap)) / 2));
  scrollbar-width: none;
  margin-top: -20px;
}

.rail::-webkit-scrollbar {
  display: none;
}

.hl {
  scroll-snap-align: start;
}

.hl-art {
  position: relative;
  height: 320px;
  overflow: hidden;
  border-radius: 26px;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 1px var(--line);
}

.hl h3 {
  margin-top: 18px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.hl p {
  margin-top: 6px;
  font-size: 15.5px;
  color: var(--muted);
  text-wrap: pretty;
}

.book {
  width: 300px;
  padding: 18px 18px 20px;
  border-radius: 6px 14px 14px 6px;
  background: #fbf6ea;
  box-shadow: inset 6px 0 0 rgba(120, 80, 40, 0.1), 0 24px 40px -22px rgba(80, 40, 20, 0.55);
}

.book header {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(120, 80, 40, 0.25);
}

.book header span {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.book header b {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
}

.book header small {
  margin-left: auto;
  font-size: 11px;
  color: var(--muted);
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-items: center;
  gap: 8px;
  margin-top: 14px;
}

.book-grid .stamp-ring {
  --size: 76px;
}

.region-page {
  display: flex;
  width: 340px;
  overflow: hidden;
  border-radius: 20px;
  color: var(--ink);
  background: var(--card);
  box-shadow: 0 26px 50px -24px rgba(40, 0, 5, 0.7);
}

.rp-map {
  position: relative;
  width: 120px;
  flex-shrink: 0;
}

.rp-map .shot {
  height: 100%;
  aspect-ratio: auto;
}

.rp-map .stamp-ring {
  position: absolute;
  right: -14px;
  bottom: 14px;
  background: rgba(255, 250, 240, 0.6);
}

.rp-body {
  padding: 18px 18px 16px 26px;
  flex: 1;
}

.rp-body small {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.rp-body > b {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.05;
}

.rp-body dl {
  margin: 12px 0 0;
}

.rp-body dl div {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
}

.rp-body dt {
  color: var(--muted);
}

.rp-body dd {
  margin: 0;
  font-weight: 600;
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 330px;
}

.stat {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.stat.big {
  grid-column: span 2;
}

.stat strong {
  display: block;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat.big strong {
  font-size: 44px;
}

.stat span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: rgba(238, 240, 245, 0.6);
}

.bars {
  display: flex;
  align-items: end;
  gap: 6px;
  grid-column: span 2;
  height: 54px;
  padding: 0 4px;
}

.stats .bars i {
  flex: 1;
  height: var(--h);
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(#e0605a, var(--stamp));
}

.pack-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.pack-tag {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.14);
}

.pack-card > b {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 30px;
}

.pack-card small {
  font-size: 12.5px;
  opacity: 0.75;
}

.pack-roster {
  width: min(340px, 88%);
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pack-roster li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 11px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.pack-roster b {
  font-size: 16px;
  font-weight: 600;
}

.pack-roster span {
  font-size: 13px;
  opacity: 0.72;
}

.pack-signs {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.pack-sign {
  display: flex;
  flex-direction: column;
  padding: 12px 16px;
  border-radius: 8px;
  color: #fff;
  background: #0f6b4a;
  box-shadow: inset 0 0 0 3px #0f6b4a, inset 0 0 0 5px #fff, 0 20px 30px -16px rgba(0, 0, 0, 0.6);
}

.pack-sign.no {
  background: #1f4f8f;
  box-shadow: inset 0 0 0 3px #1f4f8f, inset 0 0 0 5px #fff, 0 20px 30px -16px rgba(0, 0, 0, 0.6);
}

.pack-sign.no span,
.pack-sign.no strong {
  font-style: normal;
}

.pack-sign span {
  font-size: 13px;
  font-style: italic;
}

.pack-sign strong {
  font-size: 20px;
  font-style: italic;
  line-height: 1.1;
}

.pack-sign em {
  font-style: normal;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.border-pick {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 280px;
  padding: 18px;
  border-radius: 22px;
  background: var(--card);
  box-shadow: 0 22px 40px -22px rgba(40, 20, 10, 0.5);
}

.border-pick b {
  font-size: 16px;
}

.border-pick small {
  margin-bottom: 6px;
  font-size: 12.5px;
  color: var(--muted);
}

.choice {
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 500;
  box-shadow: inset 0 0 0 1px var(--line);
}

.choice.on {
  color: #fff;
  background: var(--stamp);
  box-shadow: none;
}

/* ------------------------------------------------------------------ red band */

.band {
  padding-bottom: 0;
  background: linear-gradient(var(--red), var(--red) 30%, #a92f35 60%, var(--red));
}

.band-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 40px 0 120px;
}

.uk-stage {
  position: relative;
  justify-self: center;
  width: 442px;
  aspect-ratio: 442 / 820;
}

.uk {
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  filter: drop-shadow(0 30px 40px rgba(60, 0, 5, 0.35));
}

.float-stamp {
  position: absolute;
  animation: float 7s ease-in-out infinite;
}

.float-stamp .stamp-ring {
  --size: 112px;
  background: rgba(150, 30, 36, 0.55);
  backdrop-filter: blur(4px);
}

.float-stamp.s1 {
  left: -24%;
  top: 6%;
}

.float-stamp.s2 {
  right: -30%;
  top: 56%;
  animation-delay: -2.5s;
}

.float-stamp.s3 {
  left: -22%;
  top: 70%;
  animation-delay: -5s;
}

.float-stamp.s2 .stamp-ring {
  --r: 9deg;
}

.float-stamp.s3 .stamp-ring {
  --r: -14deg;
}

@keyframes float {
  50% {
    transform: translateY(-14px);
  }
}

.band-copy h2 {
  margin-top: 14px;
}

.band-copy .lede {
  margin-top: 20px;
  max-width: 480px;
}

.counts {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 36px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(248, 241, 228, 0.18);
}

.counts strong {
  display: block;
  font-size: 44px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.counts span {
  display: block;
  margin-top: 8px;
  font-size: 13.5px;
  color: rgba(248, 241, 228, 0.65);
}

.places {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 28px 18px;
  margin: 0 0 90px;
  padding: 0;
  list-style: none;
}

.places li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.place-stamp {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  margin-bottom: 12px;
  border-radius: 24%;
  background:
    radial-gradient(rgba(120, 80, 40, 0.08) 1px, transparent 1.3px) 0 0 / 5px 5px,
    var(--cream);
  box-shadow: inset 0 -3px 0 rgba(120, 80, 40, 0.12), 0 16px 30px -18px rgba(50, 0, 5, 0.7);
  transition: transform 0.35s var(--ease);
}

.places li:hover .place-stamp {
  transform: translateY(-5px) rotate(-2deg);
}

.place-stamp {
  container-type: inline-size;
}

.place-stamp .stamp-ring {
  --size: 72cqi;
}

.place-stamp .stamp-ring small {
  letter-spacing: 0.02em;
}

.places b {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
}

.tier {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(248, 241, 228, 0.65);
}

.tier.legendary {
  color: #f5cd6f;
}

.passport-cards {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-bottom: 40px;
}

.big-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: 30px;
  color: var(--ink);
  background: var(--card);
  box-shadow: 0 30px 60px -34px rgba(40, 0, 5, 0.75);
}

.big-card .tag {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stamp);
  background: rgba(184, 56, 60, 0.1);
}

.big-card h3 {
  margin-top: 18px;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.big-card > p {
  margin-top: 10px;
  font-size: 15px;
  color: var(--muted);
}

.rarity {
  margin-top: auto;
  padding-top: 22px;
}

.rarity div {
  display: grid;
  grid-template-columns: 1fr 70px 76px;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  font-weight: 500;
}

.rarity i {
  height: 6px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--c) var(--w), rgba(74, 48, 30, 0.1) var(--w));
}

.rarity em {
  font-style: normal;
  font-size: 12.5px;
  text-align: right;
  color: var(--c);
  font-weight: 600;
}

.rarity div:has(.t5) {
  --c: var(--gold);
  --w: 100%;
}

.rarity div:has(.t4) {
  --c: #8c52a0;
  --w: 80%;
}

.rarity div:has(.t3) {
  --c: #408059;
  --w: 60%;
}

.rarity div:has(.t1) {
  --c: #8a7f73;
  --w: 20%;
}

.station-progress {
  margin-top: auto;
  padding-top: 22px;
}

.sp-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  font-weight: 500;
}

.sp-row span {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 11px;
  color: #fff;
  background: var(--green);
}

.sp-row.todo {
  color: var(--muted);
}

.sp-row.todo span {
  background: none;
  box-shadow: inset 0 0 0 1.5px rgba(122, 109, 98, 0.4);
}

.sp-bar {
  height: 6px;
  margin-top: 12px;
  border-radius: 6px;
  background: rgba(74, 48, 30, 0.1);
}

.sp-bar i {
  display: block;
  height: 100%;
  border-radius: 6px;
  background: var(--green);
}

.station-progress small {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
}

.ink-row {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding-top: 26px;
}

.ink-row i {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.25), 0 8px 16px -8px rgba(0, 0, 0, 0.5);
}

.text-link {
  margin-top: 18px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--stamp);
}

/* ------------------------------------------------------------------ signs */

.signs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.sign {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 26px 16px 0;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(#dce5e7, #ece6d8);
  box-shadow: 0 0 0 1px var(--line);
  perspective: 800px;
}

.sign-where {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.sign-board {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 230px;
  margin: 26px 0 110px;
  padding: 18px 12px 20px;
  border-radius: 10px;
  color: #fff;
  box-shadow: inset 0 0 0 4px var(--bg), inset 0 0 0 6px #fff, 0 22px 30px -18px rgba(0, 0, 0, 0.55);
  background: var(--bg);
  transition: transform 0.5s var(--ease);
}

.sign:hover .sign-board {
  transform: rotateY(-10deg) rotateX(4deg);
}

.sign-board::before,
.sign-board::after {
  content: "";
  position: absolute;
  top: 100%;
  width: 7px;
  height: 120px;
  z-index: -1;
  background: linear-gradient(90deg, #8b8f93, #c9ccce 40%, #74787c);
}

.sign-board::before {
  left: 24%;
}

.sign-board::after {
  right: 24%;
}

.sign-board small {
  font-size: 14px;
}

.sign-board strong {
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-align: center;
  text-wrap: balance;
}

.sign-board em {
  font-size: 13px;
  font-style: normal;
  opacity: 0.85;
}

.sign.uk .sign-board {
  --bg: #fbfbf8;
  color: #1d1d1f;
  box-shadow: inset 0 0 0 4px var(--bg), inset 0 0 0 6px #1d1d1f, 0 22px 30px -18px rgba(0, 0, 0, 0.55);
}

.sign.fr .sign-board {
  --bg: #fbfbf8;
  color: #1d1d1f;
  box-shadow: inset 0 0 0 4px var(--bg), inset 0 0 0 6px #1d3f8a, 0 22px 30px -18px rgba(0, 0, 0, 0.55);
}

.sign.dk .sign-board {
  --bg: #c60c30;
}

.sign.sv .sign-board {
  --bg: #005293;
}

.sign.sv .sign-board strong {
  font-size: 24px;
}

.sign.no .sign-board {
  --bg: #1f4f8f;
}

.sign.ie .sign-board {
  --bg: #0f6b4a;
}

.sign.ie .sign-board small,
.sign.ie .sign-board strong {
  font-style: italic;
}

.sign.ie .sign-board em {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sign.se .sign-board {
  --bg: #6f4a2c;
}

.sign.se .sign-board strong {
  font-size: 21px;
  padding: 4px 0;
}

/* ------------------------------------------------------------------ privacy */

.privacy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
}

.privacy-visual {
  display: grid;
  place-items: center;
}

.vault {
  position: relative;
  width: min(440px, 100%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 38%, rgba(184, 56, 60, 0.06) 38.3% 39%, transparent 39.3%),
    radial-gradient(circle, transparent 55%, rgba(184, 56, 60, 0.08) 55.3% 56%, transparent 56.3%),
    radial-gradient(circle, transparent 70%, rgba(184, 56, 60, 0.07) 70.3% 71%, transparent 71.3%),
    radial-gradient(rgba(184, 56, 60, 0.18) 1px, transparent 1.4px) 0 0 / 8px 8px;
}

.privacy-visual {
  position: relative;
}

.vault-ring {
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  border: 1.5px dashed rgba(184, 56, 60, 0.4);
  animation: spin 40s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.vault-core {
  display: grid;
  place-items: center;
  width: 128px;
  height: 128px;
  border-radius: 36px;
  color: var(--cream);
  background: radial-gradient(circle at 30% 25%, var(--red-hi), var(--red) 60%, var(--red-lo));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 30px 50px -20px rgba(140, 30, 30, 0.7);
}

.vault-core svg {
  width: 56px;
  height: 56px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
}

.orbit-chip {
  position: absolute;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  background: var(--card);
  box-shadow: 0 0 0 1px var(--line), 0 14px 28px -16px rgba(80, 40, 20, 0.5);
  animation: float 6s ease-in-out infinite;
}

.orbit-chip.c1 {
  top: 16%;
  left: 2%;
}

.orbit-chip.c2 {
  top: 30%;
  right: 0;
  animation-delay: -2s;
}

.orbit-chip.c3 {
  bottom: 16%;
  left: 14%;
  animation-delay: -4s;
}

.privacy-copy h2 {
  margin-top: 14px;
}

.privacy-copy .lede {
  margin-top: 20px;
}

.checks {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.checks li {
  position: relative;
  padding: 16px 0 16px 40px;
  border-top: 1px solid var(--line);
  font-size: 15.5px;
  color: var(--muted);
}

.checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 15px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--stamp);
}

.checks b {
  color: var(--ink);
}

/* ------------------------------------------------------------------ studio */

.studio {
  padding-top: 40px;
}

.studio-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 30px;
  border-radius: 34px;
  background: var(--card);
  box-shadow: 0 0 0 1px var(--line), 0 30px 60px -40px rgba(80, 40, 20, 0.5);
}

.passport-book {
  --paper: #f6f1e6;
  --edge: #e9dfcb;
  padding: 26px;
  border-radius: 8px 18px 18px 8px;
  background:
    radial-gradient(rgba(120, 80, 40, 0.07) 1px, transparent 1.3px) 0 0 / 6px 6px,
    var(--paper);
  box-shadow: inset 10px 0 0 var(--edge), inset 11px 0 0 rgba(0, 0, 0, 0.06), 0 30px 50px -30px rgba(80, 40, 20, 0.55);
  transition: background-color 0.4s;
}

.passport-book[data-paper="aged"] {
  --paper: #e7dbc2;
  --edge: #d6c6a4;
}

.passport-book[data-paper="snow"] {
  --paper: #fbfbf9;
  --edge: #ececea;
}

.passport-book[data-paper="kraft"] {
  --paper: #ccb38f;
  --edge: #b89c74;
}

.passport-book header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  padding: 0 0 14px 12px;
  border-bottom: 1px dashed rgba(80, 50, 20, 0.25);
}

.passport-book header small {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(60, 40, 20, 0.55);
}

.passport-book header b {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 400;
  line-height: 1;
}

.passport-book header span {
  font-size: 13px;
  color: rgba(60, 40, 20, 0.6);
}

.book-stamps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-items: center;
  gap: 14px 6px;
  padding: 20px 0 0 12px;
}

.book-stamps .stamp-ring {
  --size: 92px;
}

.controls {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.control h3 {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 15px;
  font-weight: 600;
}

.control h3 span {
  font-weight: 500;
  color: var(--muted);
}

.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.swatch {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08), 0 6px 14px -8px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}

.swatch:hover {
  transform: scale(1.08);
}

.swatch[aria-pressed="true"] {
  box-shadow: 0 0 0 3px var(--card), 0 0 0 5px var(--ink);
}

.paper-swatch {
  border-radius: 14px;
}

.control-note {
  font-size: 13px;
  color: var(--muted);
}

/* ------------------------------------------------------------------ pricing */

.pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 940px;
  margin: 0 auto;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px;
  border-radius: 32px;
  background: var(--card);
  box-shadow: 0 0 0 1px var(--line), 0 30px 60px -40px rgba(80, 40, 20, 0.5);
}

.plan-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
}

.plan-price {
  margin-top: 8px;
  font-size: 58px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.05em;
}

.plan-sub {
  margin-top: 10px;
  font-size: 15px;
  color: var(--muted);
}

.plan ul {
  flex: 1;
  margin: 26px 0 30px;
  padding: 0;
  list-style: none;
}

.plan li {
  position: relative;
  padding: 10px 0 10px 30px;
  border-top: 1px solid var(--line);
  font-size: 15px;
}

.plan li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 15px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.6px solid var(--stamp);
  box-shadow: inset 0 0 0 2.5px var(--card), inset 0 0 0 10px var(--stamp);
}

.plan.featured {
  color: var(--cream);
  background:
    radial-gradient(80% 50% at 50% 0%, rgba(214, 78, 70, 0.8), transparent 70%),
    var(--red);
  box-shadow: 0 40px 70px -30px rgba(140, 30, 30, 0.6);
}

.plan.featured .plan-name,
.plan.featured .plan-sub {
  color: rgba(248, 241, 228, 0.75);
}

.plan.featured li {
  border-color: rgba(248, 241, 228, 0.16);
}

.plan.featured li::before {
  border-color: var(--cream);
  box-shadow: inset 0 0 0 2.5px var(--red), inset 0 0 0 10px var(--cream);
}

.plan-badge {
  position: absolute;
  top: 30px;
  right: 30px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(255, 240, 225, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 240, 225, 0.25);
}

.pack-strip {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 940px;
  margin: 20px auto 0;
  padding: 22px 26px;
  border-radius: 24px;
  background: var(--card);
  box-shadow: 0 0 0 1px var(--line);
}

.pack-strip b {
  font-size: 16px;
}

.pack-strip p {
  margin-top: 2px;
  font-size: 14.5px;
  color: var(--muted);
}

.pack-marks {
  display: flex;
  flex-shrink: 0;
  gap: 8px;
}

.pack-marks span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff;
  background: #1f4f8f;
}

.pack-marks span:nth-child(1) {
  background: #1d3f8a;
}

.pack-marks span:nth-child(2) {
  background: #c60c30;
}

.pack-marks span:nth-child(3) {
  background: #005293;
}

.pack-marks span:nth-child(4) {
  background: #1f4f8f;
}

.pack-marks span:last-child {
  background: #0f6b4a;
}

.pack-flag {
  display: flex;
  flex-shrink: 0;
  width: 54px;
  height: 36px;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 0 0 1px var(--line);
}

.pack-flag i {
  flex: 1;
}

.pack-flag i:nth-child(1) {
  background: #169b62;
}

.pack-flag i:nth-child(2) {
  background: #fff;
}

.pack-flag i:nth-child(3) {
  background: #ff883e;
}

/* ------------------------------------------------------------------ faq */

.faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq details {
  border-radius: 20px;
  background: var(--card);
  box-shadow: 0 0 0 1px var(--line);
  transition: box-shadow 0.3s;
}

.faq details[open] {
  box-shadow: 0 0 0 1px var(--line), 0 20px 40px -30px rgba(80, 40, 20, 0.5);
}

.faq summary {
  position: relative;
  padding: 20px 60px 20px 24px;
  list-style: none;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::before,
.faq summary::after {
  content: "";
  position: absolute;
  right: 26px;
  top: 50%;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--stamp);
  transition: transform 0.3s var(--ease);
}

.faq summary::after {
  transform: rotate(90deg);
}

.faq details[open] summary::after {
  transform: rotate(0);
}

.faq details p {
  padding: 0 24px 22px;
  font-size: 15.5px;
  color: var(--muted);
}

/* ------------------------------------------------------------------ closing + footer */

.closing {
  padding-bottom: 60px;
  text-align: center;
  background: linear-gradient(var(--red), var(--red-lo));
}

.closing-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px 40px;
}

.closing-icon {
  width: 110px;
  height: 110px;
  border-radius: 26px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4), 0 30px 60px -20px rgba(50, 0, 5, 0.7), 0 0 100px rgba(255, 210, 190, 0.3);
  animation: bob 6s ease-in-out infinite;
}

.closing h2 {
  margin-top: 34px;
}

.closing .lede {
  margin: 16px 0 34px;
}

.footer {
  padding: 50px 0 0;
  overflow: hidden;
  background: var(--red-lo);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(var(--wrap), calc(100% - 48px));
  margin: 0 auto;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(248, 241, 228, 0.15);
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  font-size: 14.5px;
  color: rgba(248, 241, 228, 0.75);
}

.footer nav a:hover {
  color: var(--cream);
}

.legal {
  width: min(var(--wrap), calc(100% - 48px));
  margin: 20px auto 0;
  font-size: 12.5px;
  color: rgba(248, 241, 228, 0.5);
}

.wordmark {
  margin: 10px 0 -0.24em;
  font-size: 25vw;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.07em;
  text-align: center;
  background: linear-gradient(rgba(248, 241, 228, 0.22), rgba(248, 241, 228, 0));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
}

/* ------------------------------------------------------------------ reveal */

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(8px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
  filter: none;
}

.bento .reveal:nth-child(2n),
.passport-cards .reveal:nth-child(2),
.pricing .reveal:nth-child(2) {
  transition-delay: 0.08s;
}

.passport-cards .reveal:nth-child(3) {
  transition-delay: 0.16s;
}

/* ------------------------------------------------------------------ responsive */

@media (max-width: 1100px) {
  .demo-stage {
    grid-template-columns: 1fr auto;
    gap: 26px;
  }

  .ceremony {
    grid-column: span 2;
    justify-self: center;
    max-width: 520px;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas: "stamp kicker" "stamp name" "stamp meta" "stamp milestone";
    column-gap: 20px;
    text-align: left;
    align-items: center;
  }

  .cer-kicker { grid-area: kicker; }
  .cer-stamp { grid-area: stamp; }
  .cer-name { grid-area: name; }
  .cer-meta { grid-area: meta; }
  .cer-milestone { grid-area: milestone; justify-self: start; }

  .cer-pile,
  .cer-caption {
    display: none;
  }

  .places {
    grid-template-columns: repeat(4, 1fr);
  }

  .passport-cards {
    grid-template-columns: 1fr;
    max-width: 620px;
  }

  .float-stamp.s1 { left: -24%; }
  .float-stamp.s2 { right: -18%; }
  .float-stamp.s3 { left: -20%; }
}

@media (max-width: 900px) {
  .notch-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    display: none;
    flex-direction: column;
    width: min(320px, 90vw);
    padding: 10px;
    border-radius: 22px;
    background: var(--cream);
    box-shadow: 0 30px 60px -20px rgba(60, 10, 10, 0.5);
    transform: translateX(-50%);
  }

  .notch-links.open {
    display: flex;
  }

  .notch-links a {
    padding: 12px 14px;
    font-size: 15px;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    --art-w: 760px;
  }

  .bento {
    grid-template-columns: 1fr 1fr;
  }

  .t-map,
  .t-miles {
    grid-column: span 2;
  }

  .t-map {
    grid-row: auto;
  }

  .t-map .tile-art {
    min-height: 460px;
  }

  .t-town,
  .t-station,
  .t-pile,
  .t-ask,
  .t-share {
    grid-column: span 1;
  }

  .t-share {
    grid-column: span 2;
  }

  .band-grid,
  .privacy {
    grid-template-columns: 1fr;
  }

  .band-grid {
    padding-bottom: 90px;
  }

  .uk-stage {
    width: 330px;
  }

  .pack-marks span {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    font-size: 11px;
  }

  .studio-grid {
    grid-template-columns: 1fr;
  }

  .pricing {
    grid-template-columns: 1fr;
    max-width: 560px;
  }

  .head.split {
    flex-direction: column;
    align-items: start;
  }
}

@media (max-width: 640px) {
  .notch {
    width: calc(100% - 64px);
    justify-content: space-between;
  }

  .notch-cta {
    margin-left: auto;
  }

  .hub-link {
    padding: 5px;
  }

  .hub-link span {
    display: none;
  }

  .hero {
    --art-w: 520px;
    min-height: auto;
    padding-bottom: 60px;
  }

  .hero-copy {
    margin-top: calc(var(--art-w) * -0.18);
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero .lede,
  .lede {
    font-size: 16.5px;
  }

  .section {
    padding: 90px 0;
  }

  .demo {
    padding: 14px;
    border-radius: 26px;
  }

  .demo-stage {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 6px 0;
  }

  .photo {
    justify-self: center;
    max-width: 300px;
  }

  .ceremony {
    grid-column: auto;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .bento {
    grid-template-columns: 1fr;
  }

  .bento > .tile {
    grid-column: auto;
  }

  .t-map .tile-art {
    min-height: 420px;
  }

  .places {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px 12px;
  }

  .uk-stage {
    width: 260px;
  }

  .float-stamp .stamp-ring {
    --size: 84px;
  }

  .float-stamp.s1 { left: -16%; top: 2%; }
  .float-stamp.s2 { right: -16%; }
  .float-stamp.s3 { left: -18%; }

  .counts {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .counts strong {
    font-size: 30px;
  }

  .pack-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .signs {
    grid-template-columns: 1fr;
  }

  .book-stamps {
    grid-template-columns: repeat(3, 1fr);
  }

  .book-stamps .stamp-ring {
    --size: 80px;
  }

  .studio-grid,
  .plan {
    padding: 22px;
  }

  .footer-top {
    flex-direction: column;
    align-items: start;
  }

  .clouds {
    height: 300px;
    background-size: 1152px 300px;
  }

  .clouds.rise {
    margin-top: -150px;
  }

  .clouds.hang {
    margin-bottom: -170px;
  }

  @keyframes drift {
    to {
      background-position-x: 1152px;
    }
  }
}

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