/* A lightweight illustrated journey, served as plain HTML, CSS, and JavaScript. */
:root { --paper:#faf5e9; --card:#fffdf7; --ink:#313a30; --muted:#666e5f; --yellow:#f5cb4b; --orange:#d56d38; --sage:#dce5ce; --border:#dedfce; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:18px; }
body { margin:0; background:var(--paper); color:var(--ink); font-family:'Trebuchet MS',Verdana,sans-serif; padding-bottom:calc(92px + env(safe-area-inset-bottom)); }
a { color:inherit; text-underline-offset:4px; }
button,a { -webkit-tap-highlight-color:transparent; }
button { font:inherit; color:inherit; }
[hidden] { display:none !important; }
a:focus-visible,button:focus-visible { outline:3px solid var(--orange); outline-offset:5px; }
h2:focus { outline:none; }
.svg-defs { position:absolute; width:0; height:0; overflow:hidden; }
.icon { display:inline-block; width:22px; height:22px; flex:none; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; vertical-align:middle; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
.skip-link { position:fixed; top:-80px; left:16px; padding:12px; background:var(--card); z-index:20; }
.skip-link:focus { top:10px; }
.site-header { max-width:1320px; margin:auto; min-height:84px; padding:16px 36px; display:flex; align-items:center; justify-content:space-between; gap:14px; }
.brand { display:flex; align-items:center; gap:12px; text-decoration:none; font-size:10px; line-height:1.45; letter-spacing:.11em; }
.brand strong { font-weight:900; }
.brand-mark { display:flex; align-items:center; justify-content:center; gap:1px; flex:none; height:42px; width:42px; background:var(--yellow); border:2px solid var(--ink); border-radius:10px; box-shadow:2px 3px 0 var(--ink); transform:rotate(-8deg); font-size:23px; font-weight:900; letter-spacing:0; }
.brand-mark span { font-size:14px; }
.rsvp-shortcut { display:flex; align-items:center; gap:5px; min-height:38px; font-size:12px; font-weight:900; text-decoration:none; padding:8px 13px; border:1px solid #e3b53d; border-radius:10px; background:var(--yellow); white-space:nowrap; color:var(--ink); }
.rsvp-shortcut .icon { width:17px; height:17px; }
.journey { max-width:1248px; margin:0 auto; padding:12px 32px 0; }
.journey-intro { text-align:center; margin-bottom:26px; }
.eyebrow { margin:0 0 9px; font-size:10px; font-weight:900; letter-spacing:.2em; color:#a9552c; }
h1 { font-size:clamp(33px,4vw,56px); line-height:1.06; letter-spacing:-.055em; margin:0; font-weight:900; }
h1 span { color:var(--orange); }
.intro-copy { margin:10px 0 0; font-size:14px; color:var(--muted); }
.journey-layout { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,1fr); align-items:center; gap:38px; }
.scene-frame { position:relative; margin:0; min-width:0; height:490px; border-radius:34px; overflow:hidden; background:radial-gradient(ellipse at 50% 52%,#fff3c9,#f3ecd8 76%); border:1px solid #eae1ca; touch-action:pan-y; }
.scene-badge { position:absolute; top:22px; left:24px; display:flex; gap:7px; align-items:center; font-size:9px; letter-spacing:.12em; font-weight:900; z-index:2; }
.badge-dot { width:7px; height:7px; border-radius:50%; background:var(--orange); }
.birthday-art { display:block; width:100%; height:100%; object-fit:contain; padding:44px 12px 35px; }
.scene-caption { position:absolute; bottom:23px; left:24px; right:24px; display:flex; align-items:center; gap:14px; font-size:11px; font-weight:700; color:#697159; pointer-events:none; }
.scene-caption-line { height:1px; background:#c8cdb6; flex:1; }
.stop-area { min-width:0; }
.stop-card { margin-bottom:22px; padding:28px; border:1px solid var(--border); border-radius:24px; background:var(--card); box-shadow:0 8px 0 rgba(207,206,185,.35); }
.journey-ready .stop-card { margin-bottom:0; }
.journey-ready .stop-card.is-active { animation:card-in .3s ease-out; }
.stop-heading { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:19px; }
.stop-label { font-size:9px; font-weight:900; letter-spacing:.13em; color:#a9552c; }
.stop-count { flex:none; background:#f1f1e5; border-radius:20px; padding:5px 8px; font-size:10px; color:var(--muted); }
h2 { font-size:clamp(29px,3.1vw,43px); line-height:1.1; letter-spacing:-.055em; font-weight:900; margin:0 0 14px; }
.accent-three { color:var(--orange); white-space:nowrap; }
.card-copy { font-size:14px; line-height:1.55; margin:0 0 20px; color:#697060; }
.party-facts { margin:18px 0 12px; }
.party-facts>div { display:flex; align-items:center; gap:14px; padding:10px 0; }
.party-facts dt { display:flex; align-items:center; justify-content:center; width:39px; height:39px; background:#f8edc9; border-radius:12px; color:#a46b27; flex:none; }
.party-facts dd { margin:0; min-width:0; }
.party-facts strong { display:block; font-size:14px; line-height:1.4; }
.party-facts dd>span { display:block; font-size:12px; line-height:1.4; color:var(--muted); margin-top:2px; }
.small-links { display:flex; flex-wrap:wrap; gap:16px; margin:0 0 20px 53px; font-size:11px; font-weight:700; }
.small-links .icon { width:14px; height:14px; }
.button { display:flex; align-items:center; justify-content:space-between; gap:12px; width:100%; min-height:52px; border:1px solid transparent; border-radius:12px; padding:14px 17px; text-decoration:none; font-size:13px; font-weight:900; transition:transform .18s,background .18s; }
.button:hover { transform:translateY(-2px); }
.button-primary { background:var(--ink); color:var(--card); }
.button-primary:hover { background:#4b5b45; }
.button-note { margin:9px 0 0; font-size:10px; line-height:1.5; color:var(--muted); }
.gift-note { display:flex; gap:12px; padding:18px 0; margin:16px 0 21px; border-top:1px dashed var(--border); border-bottom:1px dashed var(--border); }
.gift-note>.icon { width:19px; height:19px; color:#a49b7c; margin-top:2px; }
.gift-note h3 { font-size:13px; line-height:1.4; margin:0 0 7px; font-weight:700; }
.gift-note p { margin:0; font-size:12px; line-height:1.65; color:var(--muted); }
.gift-note a { font-weight:700; color:var(--ink); }.gift-note a .icon { width:13px; height:13px; }
.card-symbol { display:grid; place-items:center; width:48px; height:48px; margin-bottom:16px; background:#f8edc9; border-radius:14px; color:var(--orange); transform:rotate(-6deg); }
.card-symbol .icon { width:28px; height:28px; }
.back-link { display:inline-block; padding:12px 0 2px; font-size:11px; color:var(--muted); text-decoration:none; }
.back-link:hover { text-decoration:underline; }
.crew-summary { display:flex; flex-direction:column; gap:4px; padding:16px 0; margin:18px 0 0; border-top:1px dashed var(--border); font-size:12px; }
.crew-summary span { color:var(--muted); }
.family-signoff { margin:4px 0 0; font-size:12px; line-height:1.6; color:var(--muted); }
.family-signoff strong { color:var(--ink); }
.journey-footer { margin:26px 0 8px; font-size:10px; letter-spacing:.03em; color:var(--muted); text-align:center; }
.route-nav { position:fixed; z-index:5; bottom:0; left:0; right:0; display:flex; justify-content:center; gap:8px; padding:12px 18px calc(12px + env(safe-area-inset-bottom)); background:rgba(250,245,233,.97); border-top:1px solid var(--border); }
.route-nav a { display:flex; align-items:center; justify-content:center; gap:8px; padding:9px 17px; min-height:44px; border-radius:12px; text-decoration:none; font-size:12px; font-weight:900; color:var(--muted); }
.route-number { display:grid; place-items:center; width:23px; height:23px; border:1px solid #d5dac8; border-radius:50%; font-size:11px; }
.route-nav a[aria-current="step"] { background:var(--ink); color:var(--card); }
.route-nav a[aria-current="step"] .route-number { background:var(--yellow); border-color:var(--yellow); color:var(--ink); }
.route-nav a.is-visited:not([aria-current="step"]) .route-number { background:var(--sage); border-color:#becbac; color:var(--ink); }
@keyframes card-in { from { opacity:.45; transform:translateY(8px); } to { opacity:1; transform:none; } }
@media (min-width:1200px) and (min-height:850px) { .journey { padding-top:28px; }.journey-intro { margin-bottom:36px; }.scene-frame { height:530px; } }
@media (max-width:800px) {
  .site-header { min-height:63px; padding:12px 20px; }.brand { gap:9px; font-size:8px; }.brand-mark { width:34px; height:34px; font-size:20px; }.brand-mark span { font-size:12px; }.rsvp-shortcut { font-size:11px; }
  .journey { max-width:560px; padding:7px 18px 0; }.journey-intro { margin-bottom:13px; }.eyebrow { font-size:8px; margin-bottom:6px; } h1 { font-size:34px; }.intro-copy { font-size:11px; margin-top:6px; }
  .journey-layout { grid-template-columns:1fr; gap:14px; }.scene-frame { height:190px; border-radius:22px; }.scene-badge { left:16px; top:14px; font-size:7px; }.scene-caption { left:16px; right:16px; bottom:12px; font-size:9px; }.birthday-art { padding:4px 8px 14px; }
  .stop-card { border-radius:19px; padding:20px; }.stop-heading { margin-bottom:13px; }.stop-label { font-size:8px; letter-spacing:.08em; }.stop-count { font-size:9px; padding:4px 7px; } h2 { font-size:30px; margin-bottom:10px; }.card-copy { font-size:12px; line-height:1.5; margin-bottom:13px; }
  .party-facts { margin:10px 0 8px; }.party-facts>div { padding:7px 0; gap:11px; }.party-facts dt { width:33px; height:33px; border-radius:10px; }.party-facts dt .icon { width:19px; height:19px; }.party-facts strong { font-size:12px; }.party-facts dd>span { font-size:11px; }.small-links { margin:0 0 14px 44px; font-size:10px; }.button { min-height:48px; padding:12px 14px; font-size:12px; }.button-note { font-size:9px; }
  .gift-note { padding:14px 0; margin:13px 0 17px; }.gift-note h3 { font-size:12px; }.gift-note p { font-size:11px; }.card-symbol { width:38px; height:38px; margin-bottom:12px; }.card-symbol .icon { width:24px; height:24px; }.crew-summary { margin-top:14px; padding:12px 0; }.family-signoff { font-size:11px; }.journey-footer { margin-top:18px; font-size:9px; }
  .route-nav { gap:5px; padding:9px 12px calc(9px + env(safe-area-inset-bottom)); }.route-nav a { gap:6px; padding:9px 12px; font-size:11px; }.route-number { width:21px; height:21px; font-size:10px; }
}
@media (max-width:800px) and (max-height:760px) { .site-header { min-height:57px; padding-top:9px; padding-bottom:9px; }.scene-frame { height:105px; }.intro-copy { display:none; }.journey-intro { margin-bottom:8px; }.stop-card { padding:17px; } h2 { font-size:27px; }.journey-footer { margin-top:13px; } #details .button-note { display:none; }.scene-badge { display:none; }.scene-caption { font-size:8px; bottom:7px; } }
@media (max-width:800px) and (max-height:620px) { .site-header { min-height:52px; padding-top:7px; padding-bottom:7px; }.scene-frame { height:85px; }.journey-intro .eyebrow { display:none; }.stop-card { padding:14px; } #details .card-copy { display:none; } .scene-caption { display:none; }.gift-note { padding:11px 0; margin:10px 0 14px; }.back-link { padding-top:8px; } }
@media (max-width:800px) and (min-height:621px) and (max-height:760px) { .journey-ready[data-current-stop="0"] .scene-frame { height:145px; } #details .card-copy { display:none; } }
@media (max-width:800px) and (max-height:620px) { #notes h2 { font-size:21px; } #notes h2 br { display:none; } }
@media (max-width:360px) { .journey { padding-left:12px; padding-right:12px; }.site-header { padding-left:15px; padding-right:15px; } h1 { font-size:31px; }.route-nav a { font-size:10px; padding-left:8px; padding-right:8px; }.stop-label { font-size:7px; } }
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; }.journey-ready .stop-card.is-active { animation:none; }.button { transition:none; } }
