/* travary.app — the app's "travel ephemera" look on the web.
   Colours mirror lib/design/tokens.dart (TravaryColors, OnboardingColors). */
:root {
  --linen: #F3ECDF;
  --paper: #FFF7E9;
  --paper-2: #FFF1D9;
  --paper-edge: #E7DAC5;
  --ink: #102B46;
  --ink-2: #1C2A47;
  --ink-soft: #56617A;
  --ink-faint: #8C909B;
  --coral: #FA815A;
  --coral-deep: #E5785B;
  --coral-ink: #B85132;
  --brass: #D1AB68;
  --teal: #086078;
  --sky: #014D6E;
  --sage: #9DB29C;
  --kraft: #C9A77D;
  --line: #DCD2C1;
  --floor: #FBE8D3;
  --serif: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --shadow-1: 0 1px 1px rgba(16, 43, 70, .06), 0 2px 6px rgba(16, 43, 70, .06);
  --shadow-2: 0 2px 2px rgba(16, 43, 70, .05), 0 10px 24px -6px rgba(16, 43, 70, .18), 0 24px 48px -24px rgba(16, 43, 70, .25);
  --shadow-3: 0 3px 3px rgba(16, 43, 70, .06), 0 18px 40px -10px rgba(16, 43, 70, .28), 0 40px 80px -40px rgba(16, 43, 70, .35);
  --radius: 16px;
  --gutter: clamp(16px, 4vw, 32px);
  --ease-out-back: cubic-bezier(.34, 1.56, .64, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--linen) url(/img/ephemera/linen.webp) repeat;
  background-size: 512px;
  color: var(--ink-2);
  font: 400 1.0625rem/1.65 var(--serif);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration-color: rgba(250, 129, 90, .7); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--coral-ink); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); margin: 0; line-height: 1.12; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 99; }
.skip:focus { left: 12px; }

.eyebrow {
  font: 600 .72rem/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  color: var(--coral-ink); margin: 0 0 .7rem;
}
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--ink-soft); max-width: 40em; }

/* ------------------------------------------------------------ header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(243, 236, 223, .86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(16, 43, 70, .5); }
.header-row { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 700 1.35rem/1 var(--serif); letter-spacing: -.02em; }
.brand-logo { width: 36px; height: 36px; border-radius: 9px; box-shadow: var(--shadow-1); }
.site-nav { display: flex; gap: 4px; margin-left: auto; }
.site-nav a, .mobile-nav a {
  font: 500 .92rem/1 var(--sans); color: var(--ink); text-decoration: none; padding: 10px 12px; border-radius: 999px;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { background: rgba(16, 43, 70, .07); color: var(--ink); }
.nav-cta {
  font: 600 .9rem/1 var(--sans); text-decoration: none; color: #fff; background: var(--ink);
  padding: 12px 18px; border-radius: 999px; box-shadow: var(--shadow-1); white-space: nowrap;
}
.nav-cta:hover { background: var(--sky); color: #fff; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; border-radius: 12px; background: rgba(16, 43, 70, .07); cursor: pointer; position: relative; }
.nav-toggle span:not(.sr) { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease-out); }
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 25px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
.mobile-nav { display: grid; padding: 4px var(--gutter) 16px; gap: 2px; border-top: 1px dashed var(--line); }
.mobile-nav a { padding: 14px 6px; font-size: 1.05rem; border-radius: 10px; }
.mobile-nav[hidden] { display: none; }
@media (max-width: 960px) {
  .site-nav, .nav-cta { display: none; }
  .nav-toggle { display: block; }
}

/* ----------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 26px;
  font: 600 1rem/1 var(--sans); text-decoration: none; color: #fff; background: var(--ink);
  border: 0; cursor: pointer; border-radius: 10px;
  /* the app's notched TicketButton */
  -webkit-mask: radial-gradient(circle 7px at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle 7px at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 7px at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle 7px at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat;
  transition: transform .2s var(--ease-out), background .2s;
}
.btn:hover { background: var(--sky); color: #fff; transform: translateY(-1px); }
.btn.coral { background: var(--coral-deep); }
.btn.coral:hover { background: var(--coral-ink); }
.btn.ghost { background: transparent; color: var(--ink); -webkit-mask: none; mask: none; box-shadow: inset 0 0 0 2px var(--ink); border-radius: 999px; }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn svg { width: 18px; height: 18px; }

.badges { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 0; }
.badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px 9px 14px; min-height: 52px;
  background: #0d1520; color: #fff; text-decoration: none; border-radius: 12px; box-shadow: var(--shadow-1);
  transition: transform .2s var(--ease-out);
}
.badge:hover { transform: translateY(-2px); color: #fff; }
.badge svg { width: 24px; height: 24px; flex: none; }
.badge span { display: flex; flex-direction: column; font: 600 1.1rem/1.05 var(--sans); }
.badge small { font: 500 .66rem/1.2 var(--sans); letter-spacing: .02em; opacity: .85; }
.badge.is-soon { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }

/* ----------------------------------------------------- paper & labels */
.tag-label {
  display: inline-flex; align-items: center; gap: 10px; position: relative;
  margin: 0 0 18px; padding: 7px 16px 7px 30px;
  font: 600 .74rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink);
  background: var(--paper);
  clip-path: polygon(12px 0, 100% 0, 100% 100%, 12px 100%, 0 50%);
  filter: drop-shadow(0 1px 1px rgba(16, 43, 70, .2));
}
.tag-label::before {
  content: ""; position: absolute; left: 14px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px;
  border-radius: 50%; background: var(--linen); box-shadow: inset 0 0 0 1.5px var(--brass);
}
.paper {
  background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-2);
  border: 1px solid rgba(231, 218, 197, .8);
}
.perf { height: 0; border-top: 2px dashed var(--line); }
.chip {
  font: 600 .86rem/1 var(--sans); color: var(--ink); background: var(--paper); border: 0;
  padding: 10px 14px; border-radius: 999px; cursor: pointer; box-shadow: inset 0 0 0 1.5px var(--line);
  transition: background .2s, color .2s, box-shadow .2s, transform .2s var(--ease-out);
}
.chip:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1.5px var(--ink); }
.chip.is-on { background: var(--ink); color: #fff; box-shadow: none; }

/* ------------------------------------------------------------- reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* =============================================================== HOME */
.hero { position: relative; padding: clamp(28px, 6vw, 64px) 0 clamp(40px, 7vw, 88px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero h1 {
  font-size: clamp(2.6rem, 6.2vw, 5.1rem); font-weight: 650; line-height: .98; letter-spacing: -.035em;
  margin: 0 0 22px; font-variation-settings: "opsz" 60;
}
.hero h1 em { font-style: italic; font-weight: 500; color: var(--coral-ink); }
.hero .lede { margin-bottom: 4px; }
.hero-links { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; margin-top: 22px; font: 500 .95rem/1.3 var(--sans); }
.hero-links a { color: var(--ink); }
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 26px 0 0; padding: 0; list-style: none; font: 500 .86rem/1.3 var(--sans); color: var(--ink-soft); }
.hero-proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 3px rgba(250, 129, 90, .2); }

/* the stage: Travi on his mark while the world folds up behind him */
.hero-stage { position: relative; justify-self: center; width: min(100%, 440px); }
.stage-window {
  position: relative; aspect-ratio: 600 / 937; border-radius: 34px; overflow: hidden;
  background: var(--sky); box-shadow: var(--shadow-3), inset 0 0 0 1px rgba(255, 255, 255, .08);
  perspective: 1400px; isolation: isolate;
  animation: stage-in 1s var(--ease-out) both;
}
.stage-window::after { /* the paper frame */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 6;
  box-shadow: inset 0 0 0 10px var(--paper), inset 0 0 0 11px rgba(16, 43, 70, .12);
}
.stage-plate {
  position: absolute; inset: 0 0 18%; background-size: 100% auto; background-position: center top;
  transform-origin: 50% 100%; backface-visibility: hidden; z-index: 1;
}
.stage-plate.is-folding { animation: plate-fold .55s cubic-bezier(.55, 0, .9, .4) forwards; z-index: 2; }
.stage-plate.is-rising { animation: plate-rise 1.05s var(--ease-out-back) .22s both; z-index: 3; }
.stage-floor {
  position: absolute; left: 0; right: 0; bottom: 0; height: 24.5%; z-index: 4;
  background: linear-gradient(180deg, #f3dcc2 0, var(--floor) 10%, #fdf0e1 100%);
  box-shadow: 0 -6px 14px -8px rgba(60, 30, 10, .35);
}
.stage-travi {
  position: absolute; z-index: 5; left: 50%; bottom: 7%; width: 74%; transform: translateX(-50%);
  filter: drop-shadow(0 10px 8px rgba(70, 35, 10, .22));
}
.stage-place {
  position: absolute; z-index: 7; top: 26px; left: 50%; transform: translateX(-50%) rotate(-2deg);
  font: 700 1.05rem/1 var(--serif); color: var(--ink); background: var(--paper);
  padding: 9px 16px 10px; border-radius: 4px; box-shadow: var(--shadow-1); white-space: nowrap;
}
.stage-place.is-new { animation: tag-slap .7s var(--ease-out-back); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 18px auto 0; max-width: 440px; }
.hero-tag {
  position: absolute; z-index: 8; right: -8%; bottom: 20%; width: 31%; transform-origin: 50% 4%;
  animation: tag-hang 1.4s .9s var(--ease-out-back) both, tag-swing 6s 2.3s ease-in-out infinite;
}
.hero-tag img { width: 100%; filter: drop-shadow(0 8px 10px rgba(16, 43, 70, .25)); }
.hero-tag span {
  position: absolute; left: 0; right: 0; top: 44%; text-align: center; color: var(--ink);
  font: 700 clamp(1.4rem, 3vw, 2.2rem)/1 var(--serif); letter-spacing: -.03em;
}
.hero-tag small { display: block; margin-top: 6px; font: 700 .52rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }

@keyframes stage-in { from { opacity: 0; transform: translateY(30px) scale(.97); } }
@keyframes plate-fold { to { transform: rotateX(90deg); filter: brightness(.7); } }
@keyframes plate-rise { from { transform: rotateX(-92deg); filter: brightness(1.25); } to { transform: rotateX(0); } }
@keyframes tag-slap { 0% { transform: translateX(-50%) rotate(-10deg) scale(1.4) translateY(-20px); opacity: 0; } 60% { opacity: 1; } 100% { transform: translateX(-50%) rotate(-2deg); } }
@keyframes tag-hang { from { opacity: 0; transform: translateY(-40px) rotate(14deg) scale(1.25); } }
@keyframes tag-swing { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(3deg); } 75% { transform: rotate(-2.5deg); } }

/* section scaffolding */
.section { padding: clamp(56px, 9vw, 120px) 0; position: relative; }
.section-head { max-width: 760px; margin: 0 0 clamp(32px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); line-height: 1.04; letter-spacing: -.03em; margin-bottom: 16px; font-weight: 650; }
.section-head p:not(.eyebrow) { font-size: 1.15rem; color: var(--ink-soft); margin: 0; }
.section.navy { background: var(--ink); color: #E9EEF4; }
.section.navy h2, .section.navy h3 { color: #fff; }
.section.navy .eyebrow { color: var(--brass); }
.section.navy .paper { color: var(--ink-2); }
.section.navy .paper h3, .section.navy .paper h4 { color: var(--ink); }
.section.navy .paper h4 { color: var(--coral-ink); }
.section.navy .section-head p:not(.eyebrow) { color: #B9C6D6; }
.section.paper-band { background: var(--paper); border-block: 1px solid var(--paper-edge); }
.paper-band .guide-card, .paper-band .faq details { background: #FFFDF8; }

/* how it works: three stubs */
.steps-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; counter-reset: step; }
.step-shadow { filter: drop-shadow(0 2px 2px rgba(16, 43, 70, .07)) drop-shadow(0 12px 18px rgba(16, 43, 70, .12)); }
.step {
  position: relative; height: 100%; padding: 26px 26px 28px 26px; background: #FFFCF6; border-radius: 14px;
  -webkit-mask: radial-gradient(circle 12px at 0 64px, #0000 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle 12px at 100% 64px, #0000 98%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 12px at 0 64px, #0000 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle 12px at 100% 64px, #0000 98%, #000) right / 51% 100% no-repeat;
}
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font: 600 .78rem/1 var(--mono); letter-spacing: .1em; color: var(--coral-ink);
  padding-bottom: 22px; margin-bottom: 20px; border-bottom: 2px dashed var(--line);
}
.step .icon { width: 44px; height: 44px; margin-bottom: 14px; }
.step h3 { font-size: 1.35rem; margin-bottom: 8px; }
.step p { margin: 0; color: var(--ink-soft); font-size: 1rem; }

/* feature rows */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.feature.flip .feature-art { order: -1; }
.feature-copy h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); line-height: 1.05; letter-spacing: -.03em; margin-bottom: 18px; font-weight: 650; }
.feature-copy > p { font-size: 1.12rem; color: var(--ink-soft); }
.navy .feature-copy > p { color: #C2CEDC; }
.ticks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 34px; font-size: 1.02rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 6px;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.navy .ticks li::before { background-color: var(--coral-deep); }
.feature-art { position: relative; display: flex; justify-content: center; }

/* a phone with a real app screen */
.phone { margin: 0; position: relative; width: min(100%, 330px); }
.phone-glass {
  border-radius: 46px; padding: 11px; background: #0f1a26;
  box-shadow: var(--shadow-3), inset 0 0 0 2px #2b3a4b, inset 0 0 0 4px #0b131c;
}
.phone-glass img { border-radius: 36px; width: 100%; }
.phone.tilt-l { transform: rotate(-3deg); }
.phone.tilt-r { transform: rotate(3deg); }

/* callout tags hung on the Today phone */
.callouts { position: absolute; inset: 0; pointer-events: none; }
.callout {
  position: absolute; max-width: 190px; padding: 10px 14px; background: var(--paper);
  font: 600 .82rem/1.3 var(--sans); color: var(--ink); border-radius: 8px; box-shadow: var(--shadow-2);
  opacity: 0; transform: translateY(-12px) rotate(var(--r, -2deg));
  transition: opacity .6s var(--ease-out), transform .8s var(--ease-out-back);
}
.callout b { display: block; font: 600 .62rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--coral-ink); margin-bottom: 3px; }
.is-in .callout { opacity: 1; transform: rotate(var(--r, -2deg)); }
.is-in .callout:nth-child(2) { transition-delay: .15s; }
.is-in .callout:nth-child(3) { transition-delay: .3s; }
.is-in .callout:nth-child(4) { transition-delay: .45s; }

/* countdown postcard with its luggage tag (the app's choreography) */
.countdown-card { position: relative; width: min(100%, 420px); }
.countdown-card .postcard-img {
  border-radius: 6px; box-shadow: var(--shadow-3); transform: rotate(-2.5deg);
}
.is-in .countdown-card .postcard-img { animation: postcard-lift 1.1s var(--ease-out) both; }
.lug {
  position: absolute; width: 40%; right: -6%; bottom: -14%; transform-origin: 50% 3%;
}
.lug img { width: 100%; filter: drop-shadow(0 10px 12px rgba(16, 43, 70, .28)); }
.is-in .lug { animation: tag-slap-in .75s .55s var(--ease-out-back) both, tag-settle 2.6s 1.3s ease-out both; }
.lug-copy { position: absolute; left: 8%; right: 8%; top: 37%; text-align: center; color: var(--ink); }
.lug-copy .eyebrow { margin: 0 0 4px; font-size: .52rem; color: var(--ink-soft); }
.lug-copy strong { display: block; font: 700 clamp(2rem, 5vw, 3.2rem)/.9 var(--serif); letter-spacing: -.04em; }
.lug-copy span { display: block; font: 700 .5rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; margin-top: 4px; color: var(--ink-soft); }
.lug-copy em { display: block; font: 700 1rem/1.1 var(--serif); font-style: normal; margin-top: 8px; }
.lug-copy small { display: block; font: 500 .62rem/1.3 var(--sans); color: var(--ink-soft); margin-top: 2px; }
@keyframes postcard-lift { from { opacity: 0; transform: translateY(16px) rotate(-2.5deg) scale(.96); } }
@keyframes tag-slap-in { from { opacity: 0; transform: translateY(-28px) rotate(8deg) scale(1.4); } }
@keyframes tag-settle {
  0% { transform: rotate(0); } 15% { transform: rotate(10deg); } 35% { transform: rotate(-6deg); }
  55% { transform: rotate(3.5deg); } 75% { transform: rotate(-1.5deg); } 100% { transform: rotate(0); }
}

/* the trip ledger (C2), drawn in HTML */
.ledger { width: min(100%, 470px); padding: 22px 22px 18px; }
.ledger-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.ledger-title h3 { font-size: 1.5rem; }
.ledger-title span { font: 600 .7rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.ledger-rows { list-style: none; margin: 0; padding: 0; }
.ledger-rows li { display: grid; grid-template-columns: 54px 34px 1fr auto; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px solid var(--line); font: 500 .92rem/1.3 var(--sans); color: var(--ink); }
.ledger-rows .d { font: 600 .74rem/1.1 var(--mono); color: var(--ink-soft); text-transform: uppercase; }
.ledger-rows img { width: 26px; height: 26px; }
.ledger-rows .t { font: 600 1rem/1.25 var(--serif); }
.ledger-rows .t small { display: block; font: 500 .78rem/1.3 var(--sans); color: var(--ink-soft); }
.ledger-rows .r { font: 500 .74rem/1 var(--mono); color: var(--ink-soft); }
.ledger-rows li.gap { border: 2px dashed var(--line); border-radius: 10px; padding: 10px 12px; margin: 8px 0; grid-template-columns: 1fr auto auto; }
.ledger-rows li.gap .t { font: 600 .92rem/1.3 var(--sans); color: var(--coral-ink); }
.mini-btn { font: 600 .74rem/1 var(--sans); padding: 8px 10px; border-radius: 999px; background: var(--ink); color: #fff; }
.mini-btn.soft { background: transparent; color: var(--ink-soft); box-shadow: inset 0 0 0 1.5px var(--line); }
.checklist-mini { margin-top: 18px; padding-top: 16px; border-top: 2px dashed var(--line); }
.checklist-mini h4 { font: 600 .72rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--coral-ink); margin-bottom: 10px; }
.checklist-mini ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.checklist-mini li { display: flex; align-items: center; gap: 10px; font: 500 .9rem/1.3 var(--sans); }
.checklist-mini li::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 5px; box-shadow: inset 0 0 0 2px var(--ink-faint); }
.checklist-mini li.done { color: var(--ink-faint); text-decoration: line-through; }
.checklist-mini li.done::before { background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / 13px no-repeat; box-shadow: none; }
.checklist-mini li small { margin-left: auto; font: 500 .72rem/1 var(--mono); color: var(--ink-soft); }

/* trio of smaller features */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.trio-card { padding: 28px; display: flex; flex-direction: column; }
.trio-card .trio-art { height: 170px; display: flex; align-items: flex-end; justify-content: center; margin: -6px 0 18px; }
.trio-card .trio-art img { max-height: 170px; width: auto; }
.trio-card h3 { font-size: 1.4rem; margin-bottom: 10px; }
.trio-card p { color: var(--ink-soft); margin: 0; font-size: 1rem; }
.trio-card .fine { margin-top: 14px; font: 500 .8rem/1.4 var(--sans); color: var(--ink-faint); }

/* the postcard wall */
.wall { display: grid; gap: 22px; padding: 10px 0 18px; overflow: hidden; -webkit-mask: linear-gradient(90deg, #0000, #000 8%, #000 92%, #0000); mask: linear-gradient(90deg, #0000, #000 8%, #000 92%, #0000); }
.wall-track { display: flex; gap: 22px; width: max-content; animation: marquee 80s linear infinite; padding: 8px 0; }
.wall-track:nth-child(2) { animation-direction: reverse; animation-duration: 95s; }
.wall:hover .wall-track { animation-play-state: paused; }
.wall-card { margin: 0; flex: none; width: 250px; transform: rotate(var(--tilt)); transition: transform .4s var(--ease-out-back); }
.wall-card img { border-radius: 4px; box-shadow: var(--shadow-2); }
.wall-card:hover { transform: rotate(0) translateY(-6px) scale(1.04); }
.wall-card figcaption { font: 600 .74rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #B9C6D6; text-align: center; margin-top: 12px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* passes */
.passes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.pass { position: relative; padding: 30px 28px 28px; display: flex; flex-direction: column; }
.pass.is-featured { background: var(--ink); color: #DCE4EE; border: 0; transform: translateY(-10px); }
.pass.is-featured h3, .pass.is-featured .price { color: #fff; }
.pass .eyebrow { margin-bottom: 14px; }
.pass.is-featured .eyebrow { color: var(--brass); }
.pass h3 { font-size: 1.55rem; margin-bottom: 6px; }
.pass .price { font: 700 2.4rem/1 var(--serif); color: var(--ink); letter-spacing: -.03em; margin: 12px 0 4px; }
.pass .price small { font: 500 .9rem/1 var(--sans); color: var(--ink-soft); letter-spacing: 0; }
.pass.is-featured .price small { color: #9FB0C4; }
.pass ul { list-style: none; padding: 18px 0 0; margin: 18px 0 0; border-top: 2px dashed var(--line); display: grid; gap: 10px; font-size: .98rem; }
.pass.is-featured ul { border-top-color: rgba(255, 255, 255, .18); }
.pass li { padding-left: 24px; position: relative; }
.pass li::before { content: "✓"; position: absolute; left: 0; color: var(--coral-deep); font-weight: 700; font-family: var(--sans); }
.pass-note { text-align: center; margin: 30px auto 0; max-width: 640px; color: var(--ink-soft); font: 500 .92rem/1.5 var(--sans); }
.pass-note strong { color: var(--ink); }

/* guide cards */
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.guide-grid.wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.guide-card {
  display: flex; flex-direction: column; text-decoration: none; color: inherit; background: var(--paper);
  border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-2); border: 1px solid rgba(231, 218, 197, .8);
  transition: transform .35s var(--ease-out), box-shadow .35s;
}
.guide-card:hover { transform: translateY(-4px) rotate(-.4deg); box-shadow: var(--shadow-3); color: inherit; }
.guide-card-art { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper-2); padding: 14px 14px 0; }
.guide-card-art img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; transition: transform .6s var(--ease-out); }
.guide-card:hover .guide-card-art img { transform: scale(1.04); }
.guide-card-copy { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 22px; border-top: 2px dashed var(--line); margin-top: 14px; }
.guide-card-copy .eyebrow { margin: 0; }
.guide-card-title { font: 650 1.24rem/1.2 var(--serif); color: var(--ink); letter-spacing: -.01em; }
.guide-card-meta { font: 400 .92rem/1.45 var(--sans); color: var(--ink-soft); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.guide-card.is-trip .guide-card-art { aspect-ratio: 16 / 9; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--paper); border-radius: 12px; box-shadow: var(--shadow-1); border: 1px solid rgba(231, 218, 197, .9); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; position: relative;
  font: 600 1.1rem/1.35 var(--serif); color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%23fff' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .3s var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--coral-deep); }
.faq details > div { padding: 0 22px 18px; color: var(--ink-soft); }
.faq details > div p { margin: 0; }
.faq-wrap { max-width: 820px; margin: 0 auto; }

/* closing band */
.cta-band { padding: clamp(40px, 7vw, 90px) 0; }
.cta-grid {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(20px, 4vw, 56px); align-items: center;
  background: var(--ink) url(/img/ephemera/linen.webp); background-blend-mode: multiply; background-size: 400px;
  border-radius: 28px; padding: clamp(28px, 5vw, 56px); color: #DCE4EE; box-shadow: var(--shadow-3); max-width: 1116px;
}
.cta-art img { width: min(100%, 360px); margin: 0 auto; filter: drop-shadow(0 18px 18px rgba(0, 0, 0, .35)); }
.cta-copy h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.8rem); letter-spacing: -.03em; margin-bottom: 14px; }
.cta-copy .eyebrow { color: var(--brass); }
.cta-copy p { color: #C2CEDC; font-size: 1.08rem; }
.cta-copy .badge.is-soon { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); }
@media (max-width: 1180px) { .cta-band .wrap { padding: 0 var(--gutter); } }

/* ============================================================ ARTICLES */
.article-hero { padding: clamp(28px, 5vw, 56px) 0 clamp(28px, 4vw, 44px); }
.article-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.crumbs { font: 500 .84rem/1.4 var(--sans); color: var(--ink-soft); margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--coral-ink); text-decoration: underline; }
.article-hero h1 { font-size: clamp(2.1rem, 4.8vw, 3.7rem); line-height: 1.03; letter-spacing: -.03em; font-weight: 650; margin-bottom: 18px; font-variation-settings: "opsz" 60; }
.byline { font: 500 .88rem/1.5 var(--sans); color: var(--ink-soft); margin: 0; }
.byline span { color: var(--line); margin: 0 4px; }
.article-hero-art { position: relative; justify-self: center; width: min(100%, 420px); }
.hero-card { border-radius: 6px; box-shadow: var(--shadow-3); transform: rotate(2.4deg); animation: postcard-lift 1s var(--ease-out) both; }
.hero-travi { position: absolute; width: 46%; left: -14%; bottom: -16%; filter: drop-shadow(0 8px 8px rgba(70, 35, 10, .25)); animation: travi-pop .9s .35s var(--ease-out-back) both; }
@keyframes travi-pop { from { opacity: 0; transform: translateY(24px) scale(.9); } }

.article-grid { display: grid; grid-template-columns: 240px minmax(0, 720px); gap: clamp(28px, 5vw, 72px); justify-content: center; padding-bottom: 24px; }
.article-side { position: relative; }
.toc { position: sticky; top: 96px; }
.toc ol { list-style: none; margin: 0; padding: 0; position: relative; }
.toc ol::before { content: ""; position: absolute; left: 6px; top: 10px; bottom: 10px; width: 2.4px; background: var(--line); border-radius: 2px; }
.toc li a { display: flex; gap: 14px; align-items: flex-start; padding: 7px 0; text-decoration: none; color: var(--ink-soft); font: 500 .86rem/1.35 var(--sans); }
.toc li a:hover { color: var(--ink); }
.toc .dot { flex: none; width: 15px; height: 15px; margin-top: 1px; border-radius: 50%; background: var(--linen); box-shadow: inset 0 0 0 2.4px var(--ink-faint); position: relative; z-index: 1; transition: box-shadow .3s, background .3s; }
.toc li.is-done .dot { background: var(--ink-faint); }
.toc li.is-now a { color: var(--ink); font-weight: 600; }
.toc li.is-now .dot { background: var(--coral); box-shadow: 0 0 0 4px rgba(250, 129, 90, .22); }

.prose { min-width: 0; font-size: 1.13rem; line-height: 1.72; }
.prose > * + * { margin-top: 0; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 2.2em 0 .6em; letter-spacing: -.025em; font-weight: 650; scroll-margin-top: 96px; }
.prose h3 { font-size: 1.32rem; margin: 1.8em 0 .5em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.05em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .35em 0; }
.prose ul li::marker { color: var(--coral-deep); }
.prose ol li::marker { color: var(--coral-ink); font: 600 .95em var(--mono); }
.prose strong { color: var(--ink); font-weight: 650; }
.prose figure { margin: 2em 0; }
.prose figure img { border-radius: 6px; box-shadow: var(--shadow-2); }
.prose figcaption { font: 500 .84rem/1.45 var(--sans); color: var(--ink-soft); margin-top: 12px; text-align: center; }
.prose .phone { margin: 2em auto; width: min(100%, 300px); }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--coral); font-style: italic; color: var(--ink); }

.answer {
  position: relative; padding: 24px 28px 22px 32px; margin: 0 0 2em; background: var(--paper); border-radius: 14px;
  box-shadow: var(--shadow-2); border-left: 6px solid var(--ink);
}
.answer::after { /* the perforated stub */
  content: ""; position: absolute; top: 14px; bottom: 14px; right: 64px; border-right: 2px dashed var(--line);
}
.answer p:last-child { margin: 0; padding-right: 64px; font-size: 1.12rem; color: var(--ink); }
.answer .eyebrow { margin-bottom: 8px; }

.note {
  margin: 1.8em 0; padding: 20px 24px 20px 70px; position: relative; background: var(--paper-2); border-radius: 12px;
  box-shadow: inset 0 0 0 1px var(--paper-edge); font-size: 1.04rem;
}
.note::before {
  content: ""; position: absolute; left: 20px; top: 20px; width: 32px; height: 42px;
  background: url(/img/ephemera/tag.webp) center / contain no-repeat; transform: rotate(-8deg);
}
.note p:last-child { margin: 0; }
.note strong:first-child { display: block; font: 600 .74rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--coral-ink); margin-bottom: 6px; }

.table-wrap { overflow-x: auto; margin: 1.6em 0; border-radius: 12px; box-shadow: var(--shadow-2); background: var(--paper); -webkit-overflow-scrolling: touch; }
.prose table { border-collapse: collapse; width: 100%; min-width: 520px; font: 400 .95rem/1.45 var(--sans); }
.prose th { text-align: left; padding: 14px 16px; font: 600 .7rem/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--ink); }
.prose td { padding: 12px 16px; border-top: 1px dashed var(--line); vertical-align: top; color: var(--ink-2); }
.prose tr:nth-child(even) td { background: rgba(255, 241, 217, .55); }
.prose td strong { font-family: var(--serif); font-size: 1.02rem; }

ul.checklist { list-style: none; padding: 0; margin: 1.2em 0 1.6em; display: grid; gap: 8px; }
ul.checklist li { position: relative; margin: 0; padding: 12px 16px 12px 52px; background: var(--paper); border-radius: 10px; box-shadow: var(--shadow-1); cursor: pointer; transition: background .2s; font-size: 1.04rem; line-height: 1.5; }
ul.checklist li::before { content: ""; position: absolute; left: 16px; top: 14px; width: 22px; height: 22px; border-radius: 6px; box-shadow: inset 0 0 0 2px var(--ink-faint); transition: background .2s; }
ul.checklist li.is-done { background: rgba(255, 247, 233, .6); }
ul.checklist li.is-done::before { background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / 15px no-repeat; box-shadow: none; }
ul.checklist li.is-done > strong:first-child { text-decoration: line-through; text-decoration-color: var(--coral); }
ul.checklist li .when { float: right; margin-left: 12px; font: 600 .72rem/1.9 var(--mono); color: var(--coral-ink); }
.checklist-progress { font: 600 .78rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin: -.6em 0 1.4em; }

ol.steps { list-style: none; counter-reset: s; padding: 0; margin: 1.4em 0 1.8em; display: grid; gap: 14px; }
ol.steps > li { counter-increment: s; position: relative; padding: 18px 20px 18px 74px; background: var(--paper); border-radius: 12px; box-shadow: var(--shadow-1); margin: 0; }
ol.steps > li::before {
  content: counter(s, decimal-leading-zero); position: absolute; left: 18px; top: 18px; width: 40px; height: 40px;
  display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; font: 600 .82rem/1 var(--mono);
}
ol.steps > li > strong:first-child { display: block; font: 650 1.12rem/1.3 var(--serif); color: var(--ink); margin-bottom: 4px; }
ol.steps > li p:last-child { margin: 0; }

.appbox { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 22px; align-items: center; margin: 2.4em 0; padding: 24px; background: var(--paper); border-radius: 18px; box-shadow: var(--shadow-2); border: 1px solid var(--paper-edge); position: relative; overflow: hidden; }
.appbox::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 6px; background: var(--coral); }
.appbox h2 { font-size: 1.5rem !important; margin: 0 0 8px !important; }
.appbox p:not(.eyebrow) { font-size: 1.02rem; margin: 0; color: var(--ink-soft); }
.appbox .eyebrow { margin-bottom: 6px; }
.appbox-art img { width: 100%; }
.appbox .badges { margin-top: 16px; }
.appbox .badge { min-height: 44px; padding: 6px 14px 6px 10px; }
.appbox .badge span { font-size: .96rem; }

.faq-block { margin-top: 3em; }
.faq-block h2 { margin-top: 0 !important; }
.related { padding: clamp(36px, 6vw, 70px) 0 0; }
.related h2 { text-align: center; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 26px; }
.stubs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.stub { display: grid; grid-template-rows: auto 1fr; text-decoration: none; background: var(--paper); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-2); color: inherit; transition: transform .3s var(--ease-out); }
.stub:hover { transform: translateY(-3px); color: inherit; }
.stub-art { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.stub-art img { width: 100%; height: 100%; object-fit: cover; }
.stub-copy { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 18px; border-top: 2px dashed var(--line); }
.stub-copy .eyebrow { margin: 0; font-size: .62rem; }
.stub-title { font: 650 1.02rem/1.3 var(--serif); color: var(--ink); }

/* itineraries: a day at a time, on the app's time rail */
.day { margin: 2em 0 2.4em; background: var(--paper); border-radius: 18px; box-shadow: var(--shadow-2); overflow: hidden; border: 1px solid var(--paper-edge); }
.day-head { display: flex; align-items: center; gap: 16px; padding: 18px 22px; background: var(--ink); color: #fff; }
.day-num { flex: none; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--paper); color: var(--ink); font: 700 .66rem/1.1 var(--sans); letter-spacing: .1em; text-transform: uppercase; text-align: center; box-shadow: inset 0 0 0 2px var(--brass); }
.day-num b { display: block; font: 700 1.25rem/1 var(--serif); letter-spacing: 0; }
.day-head h3 { margin: 0 !important; color: #fff; font-size: 1.3rem; }
.day-head p { margin: 2px 0 0; font: 500 .84rem/1.3 var(--sans); color: #B9C6D6; }
.rail { list-style: none; margin: 0; padding: 18px 22px 8px; position: relative; }
.rail::before { content: ""; position: absolute; left: 86px; top: 34px; bottom: 34px; width: 2.4px; background: var(--line); }
.rail > li { display: grid; grid-template-columns: 56px 22px minmax(0, 1fr); gap: 10px; margin: 0 0 16px; position: relative; }
.rail .time { font: 600 .78rem/1.25 var(--mono); color: var(--ink); text-align: right; padding-top: 3px; }
.rail .time small { display: block; font-size: .66rem; color: var(--ink-soft); }
.rail .pin { width: 13px; height: 13px; margin: 6px auto 0; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 4px var(--paper); position: relative; z-index: 1; }
.rail .kind-flight .pin, .rail .kind-transport .pin { background: var(--teal); }
.rail .kind-dining .pin { background: var(--coral-deep); }
.rail .kind-stay .pin { background: var(--brass); }
.rail .kind-rest .pin { background: var(--sage); }
.rail .card { padding: 0 0 4px; }
.rail .card strong { display: block; font: 650 1.08rem/1.3 var(--serif); color: var(--ink); }
.rail .card p { margin: 3px 0 0; font-size: 1rem; line-height: 1.55; color: var(--ink-soft); }
.rail .card .tip { display: inline-block; margin-top: 8px; font: 600 .72rem/1.3 var(--sans); letter-spacing: .04em; color: var(--coral-ink); background: rgba(250, 129, 90, .1); padding: 5px 10px; border-radius: 999px; }
.day-foot { margin: 0; padding: 12px 22px 16px; border-top: 2px dashed var(--line); font: 500 .9rem/1.5 var(--sans); color: var(--ink-soft); }
.day-foot b { color: var(--ink); }

/* hubs */
.hub-hero { position: relative; padding: clamp(32px, 6vw, 72px) 0 clamp(24px, 4vw, 40px); overflow: hidden; }
.hub-hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); letter-spacing: -.035em; font-weight: 650; margin-bottom: 16px; max-width: 12em; }
.hub-travi { position: absolute; right: max(var(--gutter), calc(50% - 560px)); bottom: 0; width: clamp(150px, 22vw, 280px); animation: travi-pop .9s .2s var(--ease-out-back) both; }
.hub { padding-bottom: 40px; }
.hub-group { margin: 28px 0 56px; }
.hub-group h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); margin-bottom: 22px; padding-bottom: 14px; border-bottom: 2px dashed var(--line); }

/* tools */
.tool-hero { padding: clamp(28px, 5vw, 56px) 0 24px; }
.tool-hero h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); letter-spacing: -.035em; font-weight: 650; margin-bottom: 14px; }
.tool { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.tool-form { padding: 26px; display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label, .field .label { font: 600 .74rem/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  font: 500 1.05rem/1.3 var(--sans); color: var(--ink); background: #fff; border: 0; border-radius: 10px;
  padding: 14px 14px; box-shadow: inset 0 0 0 1.5px var(--line); width: 100%; min-height: 50px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--ink); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tool-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.tool-msg { font: 500 .88rem/1.4 var(--sans); color: var(--teal); min-height: 1.4em; margin: 0; }
.tool-content { padding-top: clamp(40px, 6vw, 80px); }
.tool-content .prose { margin: 0 auto; max-width: 760px; }

.cd-stage { position: relative; width: min(100%, 460px); justify-self: center; padding-bottom: 60px; }
.cd-stage .postcard-img { border-radius: 6px; box-shadow: var(--shadow-3); transform: rotate(-2deg); }
.cd-stage.is-new .postcard-img { animation: postcard-lift 1.1s var(--ease-out) both; }
.cd-stage .lug { width: 42%; right: -4%; bottom: 0; }
.cd-stage.is-new .lug { animation: tag-slap-in .75s .45s var(--ease-out-back) both, tag-settle 2.6s 1.2s ease-out both; }
.cd-live { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; font: 600 .6rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.cd-live span { display: grid; gap: 6px; text-align: center; padding: 12px 4px; background: #fff; border-radius: 10px; box-shadow: inset 0 0 0 1.5px var(--line); }
.cd-live b { font: 700 clamp(1rem, 2.4vw, 1.35rem)/1 var(--serif); color: var(--ink); letter-spacing: -.02em; overflow-wrap: anywhere; }

/* the itinerary template */
.tpl-days { display: grid; gap: 18px; margin-top: 8px; }
.tpl-day { padding: 18px 18px 12px; }
.tpl-day h3 { font-size: 1.15rem; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; margin-bottom: 10px; }
.tpl-day h3 small { font: 600 .72rem/1 var(--mono); color: var(--coral-ink); text-transform: uppercase; }
.tpl-row { display: grid; grid-template-columns: 92px minmax(0, 1fr) minmax(0, .7fr) 36px; gap: 8px; margin-bottom: 8px; }
.tpl-row input { font: 500 .95rem/1.2 var(--sans); padding: 10px; border: 0; border-radius: 8px; box-shadow: inset 0 0 0 1.5px var(--line); background: #fff; min-width: 0; color: var(--ink); }
.tpl-row input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--ink); }
.tpl-row button, .tpl-add { border: 0; background: transparent; cursor: pointer; color: var(--ink-soft); font: 600 .86rem/1 var(--sans); border-radius: 8px; }
.tpl-row button:hover { background: rgba(16, 43, 70, .06); color: var(--coral-ink); }
.tpl-add { padding: 10px 6px; color: var(--teal); }

.tpl-sheet { display: grid; gap: 18px; min-width: 0; }
.tpl-head { padding: 22px 24px; border-top: 6px solid var(--ink); }
.tpl-head h2 { font-size: 1.8rem; letter-spacing: -.02em; margin-bottom: 4px; }
.tpl-head p:not(.eyebrow) { font: 500 .92rem/1.4 var(--sans); color: var(--ink-soft); margin: 0 0 14px; }
.tpl-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0; padding-top: 14px; border-top: 2px dashed var(--line); }
.tpl-facts dt { font: 600 .66rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--coral-ink); margin-bottom: 4px; }
.tpl-facts dd { margin: 0; font: 400 .92rem/1.45 var(--sans); color: var(--ink); white-space: pre-line; }

/* the waiting list */
.wl-cta { min-height: 52px; }
.badges.soon .wl-cta { flex: 0 0 100%; max-width: 336px; justify-content: center; }
.wl-dialog {
  border: 0; padding: 0; width: min(92vw, 460px); max-height: calc(100dvh - 32px); overflow: auto;
  border-radius: 26px; background: var(--paper); color: var(--ink-2); box-shadow: var(--shadow-3);
}
.wl-dialog::backdrop { background: rgba(10, 28, 46, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.wl-dialog[open] { animation: wl-in .5s var(--ease-out-back); }
@keyframes wl-in { from { opacity: 0; transform: translateY(24px) scale(.96); } }
.wl-close {
  position: absolute; top: 12px; right: 12px; z-index: 3; width: 38px; height: 38px; border: 0; border-radius: 50%;
  background: rgba(255, 247, 233, .92); color: var(--ink); font: 400 1.6rem/1 var(--sans); cursor: pointer; box-shadow: var(--shadow-1);
}
.wl-close:hover { background: #fff; }
.wl-art { position: relative; height: 200px; background-color: var(--sky); background-size: 100% auto; background-position: center 38%; overflow: hidden; }
.wl-floor { position: absolute; left: 0; right: 0; bottom: 0; height: 34%; background: linear-gradient(180deg, #f3dcc2 0, var(--floor) 14%, #fdf0e1 100%); box-shadow: 0 -6px 14px -8px rgba(60, 30, 10, .35); }
.wl-travi { position: absolute; left: 50%; bottom: -2px; width: 250px; transform: translateX(-50%); filter: drop-shadow(0 8px 8px rgba(70, 35, 10, .25)); }
.wl-body { padding: 22px 26px 26px; }
.wl-title { font-size: 1.75rem; letter-spacing: -.025em; margin: 0 0 8px; font-weight: 650; }
.wl-lede { color: var(--ink-soft); font-size: 1.02rem; margin: 0 0 18px; }
.wl-form { display: grid; gap: 12px; }
.wl-label { font: 600 .72rem/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); padding: 0; margin: 0 0 -4px; }
.wl-email {
  font: 500 1.05rem/1.3 var(--sans); color: var(--ink); background: #fff; border: 0; border-radius: 12px;
  padding: 14px; min-height: 52px; width: 100%; box-shadow: inset 0 0 0 1.5px var(--line);
}
.wl-email:focus { outline: none; box-shadow: inset 0 0 0 2px var(--ink); }
.wl-platform { border: 0; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.wl-platform legend { float: left; width: 100%; margin-bottom: 8px; }
.wl-platform label { position: relative; cursor: pointer; }
.wl-platform input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.wl-platform span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 999px; font: 600 .9rem/1 var(--sans); color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); transition: background .2s, color .2s, box-shadow .2s; }
.wl-platform input:checked + span { background: var(--ink); color: #fff; box-shadow: none; }
.wl-platform input:focus-visible + span { outline: 3px solid var(--coral); outline-offset: 2px; }
.wl-submit { justify-content: center; width: 100%; margin-top: 4px; }
.wl-submit:disabled { opacity: .7; cursor: progress; }
.wl-error { margin: 0; font: 600 .9rem/1.4 var(--sans); color: var(--coral-ink); }
.wl-fine { margin: 2px 0 0; font: 400 .78rem/1.5 var(--sans); color: var(--ink-faint); }
.wl-fine a { color: var(--ink-soft); }
.wl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wl-done { text-align: left; }
.wl-done p { color: var(--ink-soft); }
.wl-done b { color: var(--ink); word-break: break-all; }
.wl-next { font: 600 .95rem/1.3 var(--sans); }
.wl-again { border: 0; background: none; padding: 0; font: 500 .86rem/1 var(--sans); color: var(--ink-soft); text-decoration: underline; cursor: pointer; }
@media (max-width: 560px) {
  .wl-dialog { width: 100%; max-width: 100%; margin: auto 0 0; border-radius: 26px 26px 0 0; max-height: 94dvh; }
  .wl-dialog[open] { animation: wl-up .45s var(--ease-out); }
  .wl-art { height: 170px; }
  .wl-travi { width: 210px; }
  .wl-body { padding: 20px 20px calc(22px + env(safe-area-inset-bottom)); }
}
@keyframes wl-up { from { transform: translateY(100%); } }

.early { padding: clamp(28px, 6vw, 72px) 0 clamp(36px, 6vw, 80px); }
.early-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.early h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); letter-spacing: -.035em; font-weight: 650; margin: 0 0 16px; line-height: 1; }
.wl-card { padding: 24px; margin-top: 22px; max-width: 520px; }
.early-keep { margin-top: 34px; max-width: 520px; }
.early-keep h2 { font-size: 1.35rem; margin-bottom: 10px; }
.early-keep ul { padding-left: 1.2em; margin: 0 0 12px; }
.early-keep li { margin: 6px 0; }
.early-keep li::marker { color: var(--coral-deep); }
.early-keep p { color: var(--ink-soft); font-size: .98rem; }
.early-art { position: sticky; top: 96px; justify-self: center; width: min(100%, 420px); }
@media (max-width: 900px) {
  .early-grid { grid-template-columns: minmax(0, 1fr); }
  .early-art { position: static; width: min(72%, 320px); }
}

/* 404 */
.lost { text-align: center; padding: clamp(40px, 8vw, 100px) var(--gutter); max-width: 720px; }
.lost-travi { width: 240px; margin: 0 auto 20px; }
.lost h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 14px; }
.lost-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 26px; }

/* -------------------------------------------------------------- footer */
.site-footer { margin-top: clamp(20px, 4vw, 40px); padding: 0 0 36px; background: rgba(255, 247, 233, .6); }
.site-footer .perf { margin-bottom: 48px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand p { color: var(--ink-soft); font-size: .98rem; max-width: 30em; margin-top: 14px; }
.site-footer h2 { font: 600 .72rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--coral-ink); margin: 0 0 12px; }
.site-footer h2 + ul + h2, .site-footer ul + h2 { margin-top: 24px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer li a { font: 500 .92rem/1.35 var(--sans); color: var(--ink); text-decoration: none; }
.site-footer li a:hover { color: var(--coral-ink); text-decoration: underline; }
.site-footer .badges { margin-top: 18px; }
.site-footer .badge { min-height: 44px; padding: 6px 14px 6px 10px; }
.site-footer .badge span { font-size: .95rem; }
.footnote { margin-top: 40px; padding-top: 18px; border-top: 1px dashed var(--line); }
.footnote p { font: 400 .78rem/1.55 var(--sans); color: var(--ink-faint); margin: 0; max-width: 70em; }

/* ---------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .article-grid { grid-template-columns: minmax(0, 720px); }
  .article-side { display: none; }
  .stubs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .hero-grid, .feature, .tool, .article-hero-grid, .cta-grid { grid-template-columns: minmax(0, 1fr); }
  .feature.flip .feature-art { order: 0; }
  .hero-stage { width: min(88%, 400px); }
  .steps-row, .trio, .passes, .guide-grid { grid-template-columns: minmax(0, 1fr); }
  .guide-grid.wide { grid-template-columns: minmax(0, 1fr); }
  .pass.is-featured { transform: none; }
  .article-hero-art { width: min(80%, 380px); margin: 10px 0 20px; }
  .hub-travi { position: static; width: 170px; margin: 18px 0 0 auto; }
  .cta-art img { width: 220px; }
  .callout { max-width: 150px; font-size: .74rem; }
  .callout[style*="left"] { left: 0 !important; }
  .callout[style*="right"] { right: 0 !important; }
  .lug { right: 0; }
  .hero-tag { right: 0; }
}
@media (min-width: 640px) and (max-width: 900px) {
  .guide-grid, .trio { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .prose { font-size: 1.06rem; }
  .stubs { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .answer { padding: 20px 20px 18px 22px; }
  .answer::after { display: none; }
  .answer p:last-child { padding-right: 0; }
  .appbox { grid-template-columns: minmax(0, 1fr); text-align: left; }
  .appbox-art { width: 140px; }
  .note { padding: 18px 18px 18px 60px; }
  .note::before { left: 16px; width: 28px; height: 36px; }
  .rail { padding: 16px 14px 6px; }
  .rail::before { left: 72px; }
  .rail > li { grid-template-columns: 48px 20px minmax(0, 1fr); gap: 8px; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .tpl-row { grid-template-columns: 74px minmax(0, 1fr) 32px; }
  .tpl-row input[data-k="ref"] { grid-column: 2 / 3; }
  .hero-tag { right: -4%; width: 34%; }
  .badge { min-height: 48px; }
  .wall-card { width: 190px; }
  ol.steps > li { padding-left: 64px; }
  ol.steps > li::before { left: 14px; width: 36px; height: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .wall-track { animation: none; }
}

/* ---------------------------------------------------------------- print */
@media print {
  @page { size: A4; margin: 14mm; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .site-header, .site-footer, .cta-band, .tool-form, .tool-hero .lede, .badges, .tool-content, .noprint, .skip { display: none !important; }
  .paper, .day, .tpl-day { box-shadow: none !important; border: 1px solid #bbb !important; break-inside: avoid; }
  .tool { display: block; }
  .tool-hero { padding: 0 0 6mm; }
  .tool-hero h1, .tool-hero .crumbs, .tool-hero .tag-label { display: none; }
  .tpl-head { border-top: 3px solid #000 !important; }
  .tpl-day h3 small { color: #000; }
  .tpl-row input { box-shadow: none; border-bottom: 1px solid #999; border-radius: 0; }
  .tpl-row button, .tpl-add { display: none; }
  a { color: #000; text-decoration: none; }
}
