:root {
  --ink: #0b0c0c;
  --ink-2: #131514;
  --line: rgba(240, 234, 216, .16);
  --paper: #f0ead8;
  --muted: #a39d8c;
  --gold: #e3b85a;
  --gold-2: #f3d589;
  --print: #f4efe2;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --block: "Oswald", "Arial Narrow", sans-serif;
  --sans: "Jost", system-ui, sans-serif;
  --hand: "Caveat", cursive;
  --pad: clamp(1.2rem, 5vw, 5rem);
  --ease: cubic-bezier(.2, .7, .1, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--ink); color: var(--paper); font-family: var(--sans); font-weight: 300; line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
body.intro-on, body.locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1; text-wrap: balance; letter-spacing: -.01em; }
h2 { font-size: clamp(2.6rem, 6vw, 5.2rem); }
h2 em, h1 em { font-style: italic; }
.eyebrow { font-size: .7rem; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.lede { color: var(--muted); max-width: 44ch; margin-top: 1rem; }
.hand { font-family: var(--hand); font-size: 1.25rem; color: #2a2620; line-height: 1.1; }

.grain { position: fixed; inset: -50%; z-index: 60; pointer-events: none; opacity: .08;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0,0); } 20% { transform: translate(-3%,2%); } 40% { transform: translate(2%,-3%); } 60% { transform: translate(-2%,-2%); } 80% { transform: translate(3%,3%); } 100% { transform: translate(0,0); } }

/* ---------- nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem var(--pad); background: linear-gradient(#0b0c0cd9, transparent); }
.brand { font-family: var(--serif); font-size: 1.45rem; }
.nav nav { display: flex; gap: clamp(.9rem, 2.4vw, 2.2rem); }
.nav nav a { font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: #d6cfbd; position: relative; padding: .3rem 0; }
.nav nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--gold); transition: right .35s var(--ease); }
.nav nav a:hover::after { right: 0; }
.nav-cta { font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; padding: .55rem 1rem; border: 1px solid var(--line); border-radius: 99px; transition: all .3s; }
.nav-cta:hover { background: var(--paper); color: var(--ink); }

/* ---------- cold open ---------- */
#intro { position: fixed; inset: 0; z-index: 100; background: var(--ink); display: grid; place-items: center; transition: opacity 1.1s ease, transform 1.5s var(--ease), visibility 0s 1.5s; }
#intro.done { opacity: 0; transform: scale(1.25); visibility: hidden; pointer-events: none; }
.intro-title { text-align: center; padding: 0 1.2rem; perspective: 800px; }
.intro-pre { font-size: .68rem; letter-spacing: .5em; text-transform: uppercase; color: var(--muted); opacity: 0; animation: fadeUp 1.2s ease .3s forwards; }
.intro-name { font-family: var(--serif); font-size: clamp(3.4rem, 12vw, 10rem); line-height: 1; margin: .25em 0 .15em; }
.intro-name span { display: inline-block; opacity: 0; transform: translateY(.5em) rotateX(-80deg); transform-origin: 50% 100%; animation: letter 1s var(--ease) forwards; }
@keyframes letter { to { opacity: 1; transform: none; } }
.intro-tag { font-family: var(--serif); font-style: italic; font-size: clamp(1.1rem, 2.4vw, 1.7rem); color: var(--gold-2); opacity: 0; animation: fadeUp 1.2s ease 1.9s forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
#skipIntro { position: absolute; right: var(--pad); bottom: 1.6rem; font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); padding: .6rem 1rem; border: 1px solid var(--line); border-radius: 99px; }
#skipIntro:hover { color: var(--paper); border-color: var(--gold); }

/* ---------- prints (taped photos) ---------- */
.print { position: relative; display: block; background: var(--print); padding: 10px 10px 44px; box-shadow: 0 30px 60px -20px #000c, 0 2px 0 #fff3 inset; transform-style: preserve-3d; transition: transform .35s ease-out; }
.print img { width: 100%; height: auto; }
.print .hand { position: absolute; left: 0; right: 0; bottom: 9px; text-align: center; }
.tape { position: absolute; top: -14px; left: 50%; width: 92px; height: 28px; margin-left: -46px; background: #e9d98fcc; transform: rotate(-4deg); box-shadow: 0 2px 6px #0004; z-index: 2; }
.tape-b { top: auto; bottom: -12px; left: 12%; margin: 0; width: 70px; transform: rotate(8deg); }

/* ---------- hero ---------- */
#hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; perspective: 1400px; }
.hero-bg { position: absolute; inset: -3%; background-size: cover; background-position: 50% 66%; animation: heroDrift 24s ease-in-out infinite alternate; }
@keyframes heroDrift { from { transform: scale(1.04); } to { transform: scale(1.12) translateY(-1.5%); } }
.hero-shade { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 40%, transparent 20%, #0b0c0c99 100%), linear-gradient(#0b0c0c66, transparent 30%, transparent 62%, var(--ink) 100%); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr clamp(170px, 17vw, 250px) clamp(120px, 20vw, 300px) 1fr; align-items: center; gap: clamp(1rem, 2.4vw, 2.4rem); padding: 5.5rem var(--pad) 0; transform-style: preserve-3d; transition: transform .5s ease-out; }
.hero-line { font-family: var(--serif); font-weight: 400; font-size: clamp(2.8rem, 6.6vw, 6.4rem); line-height: .92; letter-spacing: -.02em; text-shadow: 0 6px 40px #000a; transform: translateZ(40px); }
.hero-line span { display: block; }
.hero-l { text-align: right; }
.hero-print { transform: rotate(-3deg) translateZ(80px); width: 100%; }
.hero-print:hover { transform: rotate(0deg) translateZ(110px) scale(1.04); }
.hero-foot { position: relative; z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; padding: clamp(2rem, 6vh, 4.5rem) var(--pad) 2.2rem; flex-wrap: wrap; }
.hero-note { max-width: 34ch; font-size: .92rem; color: #d6cfbd; }
.stats { list-style: none; display: flex; gap: clamp(1.4rem, 3.4vw, 3rem); }
.stats b { display: block; font-family: var(--block); font-weight: 500; font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1; }
.stats span { font-size: .62rem; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.scroll-cue { font-size: .62rem; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: .8rem; }
.scroll-cue span { width: 56px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); animation: cue 2.2s ease-in-out infinite; transform-origin: left; }
@keyframes cue { 0%, 100% { transform: scaleX(.3); } 50% { transform: scaleX(1); } }

/* ---------- journeys slider ---------- */
#journeys { position: relative; }
.j-stage { position: relative; height: 100vh; height: 100svh; min-height: 600px; overflow: hidden; background: #000; }
.j-bgs, .j-bg, .j-shade { position: absolute; inset: 0; }
.j-bg { background-size: cover; background-position: center; transition: clip-path .95s var(--ease), opacity .8s ease; will-change: clip-path; }
.j-shade { background: linear-gradient(90deg, #0b0c0ce6 0%, #0b0c0c80 38%, transparent 70%), linear-gradient(transparent 55%, #0b0c0ccc 100%); pointer-events: none; }
.j-head { position: absolute; top: 5.2rem; left: var(--pad); right: var(--pad); z-index: 3; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip { font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; padding: .42rem .9rem; border: 1px solid var(--line); border-radius: 99px; color: #d6cfbd; background: #0b0c0c55; backdrop-filter: blur(6px); transition: all .3s; }
.chip:hover { border-color: var(--paper); }
.chip.on { background: var(--gold); border-color: var(--gold); color: #1a1408; font-weight: 500; }
.j-info { position: absolute; left: var(--pad); bottom: 7.2rem; width: min(46vw, 620px); z-index: 3; }
.j-info > * { opacity: 0; transform: translateY(26px); animation: jIn .8s var(--ease) forwards; }
.j-info > *:nth-child(2) { animation-delay: .08s; } .j-info > *:nth-child(3) { animation-delay: .16s; } .j-info > *:nth-child(4) { animation-delay: .24s; }
@keyframes jIn { to { opacity: 1; transform: none; } }
.j-place { display: inline-block; font-size: .78rem; letter-spacing: .12em; padding-top: .9rem; position: relative; }
.j-place::before { content: ""; position: absolute; top: 0; left: 0; width: 34px; height: 3px; background: var(--paper); }
.j-title { font-family: var(--block); font-weight: 600; text-transform: uppercase; font-size: clamp(2.6rem, 6.4vw, 6rem); line-height: .98; letter-spacing: .01em; margin: .7rem 0 1rem; text-shadow: 0 8px 40px #0008; }
.j-title.long { font-size: clamp(2rem, 4.4vw, 4rem); }
.j-story { max-width: 46ch; color: #e2dccb; font-size: .95rem; }
.j-actions { display: flex; align-items: center; gap: 1rem; margin-top: 1.4rem; }
.j-open { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; padding: .85rem 1.5rem; border: 1px solid var(--paper); border-radius: 99px; transition: all .3s; }
.j-open:hover { background: var(--paper); color: var(--ink); }
.j-count { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.j-rail { position: absolute; left: 52%; right: 0; bottom: 7.2rem; z-index: 3; display: flex; gap: clamp(.8rem, 1.8vw, 1.6rem); perspective: 1200px; }
.j-card { flex: 0 0 clamp(120px, 12.5vw, 178px); aspect-ratio: 2 / 3; position: relative; border-radius: 12px; overflow: hidden; text-align: left; box-shadow: 0 30px 50px -18px #000d; background-size: cover; background-position: center;
  opacity: 0; transform: translateX(60px) rotateY(-18deg); animation: cardIn .8s var(--ease) forwards; transition: transform .35s var(--ease), box-shadow .35s; }
@keyframes cardIn { to { opacity: 1; transform: none; } }
.j-card:hover { transform: translateY(-12px) rotateY(6deg) scale(1.03); box-shadow: 0 40px 60px -18px #000; }
.j-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 45%, #0b0c0ce6); }
.j-card div { position: absolute; left: .8rem; right: .6rem; bottom: .8rem; z-index: 1; }
.j-card small { display: block; font-size: .58rem; letter-spacing: .08em; padding-top: .5rem; position: relative; color: #e2dccb; }
.j-card small::before { content: ""; position: absolute; top: 0; left: 0; width: 18px; height: 2px; background: var(--paper); }
.j-card b { display: block; font-family: var(--block); font-weight: 500; text-transform: uppercase; font-size: clamp(.8rem, 1.15vw, 1.05rem); line-height: 1.1; margin-top: .25rem; }
.j-ctl { position: absolute; left: 52%; right: var(--pad); bottom: 2.6rem; z-index: 3; display: flex; align-items: center; gap: 1rem; }
.j-ctl button { width: 46px; height: 46px; border: 1px solid #f0ead866; border-radius: 50%; font-size: 1.4rem; line-height: 1; transition: all .3s; }
.j-ctl button:hover { border-color: var(--gold); color: var(--gold-2); }
.j-bar { flex: 1; height: 2px; background: #f0ead833; margin: 0 .6rem; }
.j-bar i { display: block; height: 100%; background: var(--gold); width: 0; transition: width .6s var(--ease); }
.j-num { font-family: var(--block); font-weight: 500; font-size: clamp(1.8rem, 3vw, 2.6rem); min-width: 2ch; text-align: right; }

/* ---------- scenes ---------- */
.scene { position: relative; padding: clamp(5rem, 13vh, 9rem) var(--pad); }
.scene-head { margin-bottom: clamp(2rem, 5vh, 3.4rem); }
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s ease, transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- atlas ---------- */
.atlas-wrap { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, .8fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.map-stage { position: relative; aspect-ratio: 1 / 1.02; max-height: 86vh; width: 100%; }
#mapCanvas { width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; }
#mapCanvas:active { cursor: grabbing; }
.map-stage::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: 3%; height: 12%; z-index: -1; background: radial-gradient(ellipse, rgba(227, 184, 90, .22), transparent 68%); filter: blur(18px); }
.map-tip { position: absolute; pointer-events: none; z-index: 3; opacity: 0; transition: opacity .2s; transform: translate(-50%, calc(-100% - 18px)); white-space: nowrap; background: #0b0c0cee; border: 1px solid var(--line); padding: .5rem .85rem; border-radius: 6px; font-size: .76rem; letter-spacing: .06em; }
.map-tip b { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; display: block; color: var(--gold-2); }
.map-tip.on { opacity: 1; }
.map-hint { position: absolute; left: 0; right: 0; bottom: -.4rem; text-align: center; font-size: .62rem; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.atlas-panel { display: grid; perspective: 900px; }
.state-row { display: grid; grid-template-columns: 2.2rem 1fr auto; align-items: baseline; gap: .6rem; text-align: left; width: 100%; padding: .9rem .4rem; border-bottom: 1px solid var(--line); transition: transform .35s var(--ease), background .35s, padding .35s; }
.state-row:hover, .state-row.hot { transform: translateZ(26px) translateX(6px); background: linear-gradient(90deg, rgba(227, 184, 90, .14), transparent); padding-left: .9rem; }
.state-row i { font-style: normal; font-size: .66rem; color: var(--muted); letter-spacing: .1em; }
.state-row b { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; }
.state-row small { font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }

/* ---------- scattered prints ---------- */
#frames { padding-left: 0; padding-right: 0; overflow: hidden; }
.scatter { position: relative; height: min(96vh, 900px); min-height: 620px; perspective: 1600px; --mx: 0; --my: 0; }
.scatter-head { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(30vw, 420px); text-align: center; z-index: 3; pointer-events: none; }
.scatter-head h2 { font-size: clamp(2.2rem, 4.4vw, 4rem); }
.scatter-head .lede { margin: .9rem auto 0; font-size: .9rem; }
.pol { position: absolute; left: 50%; top: 50%; width: var(--w); background: var(--print); padding: 7px 7px 28px; box-shadow: 0 18px 34px -14px #000d; z-index: 1;
  transform: translate(-50%, -50%) rotate(var(--pr)) scale(.8); opacity: 0;
  transition: left 1.2s var(--ease), top 1.2s var(--ease), transform 1.2s var(--ease), opacity .6s ease, box-shadow .4s, filter .35s; transition-delay: var(--dl), var(--dl), var(--dl), var(--dl), 0s, 0s; }
.scatter.out .pol { left: var(--x); top: var(--y); opacity: 1;
  transform: translate(-50%, -50%) translate(calc(var(--mx) * var(--d) * 1px), calc(var(--my) * var(--d) * 1px)) rotate(var(--r)); }
.scatter.settled .pol { transition: transform .5s ease-out, opacity .35s, box-shadow .4s, filter .35s; transition-delay: 0s; }
.pol img { width: 100%; aspect-ratio: 1 / 1.08; object-fit: cover; }
.pol span { position: absolute; left: 6px; right: 6px; bottom: 4px; font-family: var(--hand); font-size: .92rem; color: #2a2620; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center; }
.scatter.out .pol:hover, .scatter.out .pol:focus-visible { transform: translate(-50%, -50%) rotate(0deg) translateZ(90px) scale(1.25); z-index: 6; box-shadow: 0 44px 70px -22px #000; }
.scatter.dim .pol:not(.lit) { opacity: .2; filter: grayscale(1); }
.scatter.dim .pol.lit { transform: translate(-50%, -50%) rotate(0deg) scale(1.14); z-index: 5; }
.trip-list { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .2rem 1.6rem; padding: 2.4rem var(--pad) 0; max-width: 1100px; margin: 0 auto; }
.trip-list button { display: flex; gap: .6rem; align-items: baseline; padding: .32rem 0; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); transition: color .25s, transform .25s; }
.trip-list button i { font-style: normal; font-size: .6rem; opacity: .7; }
.trip-list button:hover, .trip-list button.on { color: var(--gold-2); transform: translateY(-2px); }

/* ---------- about ---------- */
.about { text-align: center; border-top: 1px solid var(--line); }
.about h2 { max-width: 16ch; margin: 0 auto; }
.about-grid { display: grid; grid-template-columns: 1fr clamp(200px, 22vw, 300px) 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; margin: clamp(2.5rem, 7vh, 5rem) auto 0; max-width: 1100px; perspective: 1200px; }
.about-l { text-align: right; } .about-r { text-align: left; }
.about-l, .about-r { color: #d6cfbd; font-size: 1rem; }
.about-print { transform: rotate(2.5deg); }
.note { position: relative; display: inline-block; margin-top: clamp(4rem, 10vh, 7rem); background: var(--print); padding: 2.6rem 2.6rem 2rem; box-shadow: 0 30px 50px -22px #000c; transform: rotate(-2deg); transition: transform .4s var(--ease); }
.note:hover { transform: rotate(0deg) translateY(-6px); }
.pin { position: absolute; top: -12px; left: 50%; width: 26px; height: 26px; margin-left: -13px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ff8d7e, #c62a1c 60%, #7d140b); box-shadow: 4px 9px 8px #0006; }
.note .hand { font-size: 2rem; }
.note-links { display: flex; gap: .7rem; justify-content: center; flex-wrap: wrap; margin-top: 1.1rem; }
.note-links a { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: #1c1a16; font-weight: 400; padding: .7rem 1.2rem; border: 1px solid #1c1a16; border-radius: 99px; transition: all .3s; }
.note-links a:hover { background: #1c1a16; color: var(--print); }
.fineprint { margin-top: 4rem; font-size: .66rem; letter-spacing: .1em; color: #7a7466; }

/* ---------- overlays ---------- */
.overlay { position: fixed; inset: 0; z-index: 80; background: #0b0c0cf7; overflow-y: auto; animation: ovIn .5s ease; }
@keyframes ovIn { from { opacity: 0; } to { opacity: 1; } }
.close { position: fixed; top: 1rem; right: clamp(.8rem, 3vw, 2rem); z-index: 5; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; font-size: 1.5rem; line-height: 1; background: #0b0c0caa; }
.close:hover { border-color: var(--gold); color: var(--gold-2); }
.trip-inner { max-width: 1280px; margin: 0 auto; padding: 5rem var(--pad) 4rem; }
.trip-inner h2 { font-family: var(--block); font-weight: 600; text-transform: uppercase; font-size: clamp(2.4rem, 6vw, 5rem); }
.trip-story { font-family: var(--serif); font-size: clamp(1.25rem, 2.1vw, 1.7rem); line-height: 1.35; color: #e2dccb; max-width: 56ch; margin: 1.4rem 0 2.6rem; }
.trip-grid { columns: 3 260px; column-gap: 14px; perspective: 1400px; }
.frame { break-inside: avoid; margin-bottom: 14px; position: relative; display: block; width: 100%; border-radius: 4px; transform-style: preserve-3d; transition: transform .25s ease-out, box-shadow .4s; background: var(--ink-2); }
.frame img { width: 100%; height: auto; border-radius: 4px; }
.frame:hover { box-shadow: 0 30px 50px -22px #000; z-index: 2; }
.frame .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem .8rem .7rem; text-align: left; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; opacity: 0; transition: opacity .35s; background: linear-gradient(transparent, #0b0c0ce6); border-radius: 0 0 4px 4px; transform: translateZ(24px); }
.frame:hover .cap { opacity: 1; }

.lightbox { display: grid; grid-template-rows: 1fr auto; overflow: hidden; }
.flip-scene { perspective: 2200px; display: grid; place-items: center; padding: 4.4rem clamp(3.2rem, 7vw, 6rem) 1rem; min-height: 0; }
.flip { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 1s var(--ease); }
.flip.turned { transform: rotateY(180deg); }
.flip-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; display: grid; place-items: center; }
.flip-front { cursor: pointer; }
.flip-front img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border: 8px solid var(--print); box-shadow: 0 50px 90px -40px #000; }
.flip-back { transform: rotateY(180deg); align-content: center; justify-items: center; text-align: left; background: var(--print); color: #1c1a16; padding: clamp(1.4rem, 5vw, 4rem); overflow-y: auto; max-width: 820px; margin: 0 auto; box-shadow: 0 50px 90px -40px #000; }
.flip-back > * { max-width: 52ch; width: 100%; }
.flip-back .eyebrow { color: #8a6a1c; }
.flip-back h3 { font-size: clamp(2.2rem, 5vw, 4rem); margin-bottom: 1.1rem; font-style: italic; }
.flip-back p:not(.eyebrow) { font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.35; }
.flip-back a { margin-top: 1.8rem; font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: #8a6a1c; }
.lb-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding: .9rem var(--pad) 1.4rem; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.lb-bar button { padding: .8rem 1.4rem; border: 1px solid var(--gold); border-radius: 99px; color: var(--gold-2); letter-spacing: .2em; text-transform: uppercase; font-size: .66rem; transition: all .3s; }
.lb-bar button:hover { background: var(--gold); color: #1a1408; }
.lb-nav { position: fixed; top: 50%; transform: translateY(-50%); z-index: 4; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; background: #0b0c0caa; font-size: 1.4rem; line-height: 1; }
.lb-nav:hover { border-color: var(--gold); color: var(--gold-2); }
.lb-nav.prev { left: clamp(.4rem, 1.6vw, 1.4rem); } .lb-nav.next { right: clamp(.4rem, 1.6vw, 1.4rem); }

/* ---------- small screens ---------- */
@media (max-width: 860px) {
  .nav nav a[href$="#frames"], .nav nav a[href$="#about"], .nav-cta { display: none; }
  .nav nav { gap: 1rem; }
  .nav nav a { letter-spacing: .16em; }
  .hero-grid { grid-template-columns: 1fr 1fr; padding-top: 6rem; row-gap: 1.4rem; }
  .hero-l { grid-column: 1 / -1; text-align: left; }
  .hero-r { grid-column: 1 / -1; grid-row: 2; text-align: left; }
  .hero-print { grid-row: 3; grid-column: 1; max-width: 170px; }
  .hero-gap { display: none; }
  .hero-bg { background-position: 58% 60%; }
  .scroll-cue { display: none; }
  .j-info { width: auto; right: var(--pad); bottom: auto; top: 9.5rem; }
  .j-head { top: 4.6rem; right: 0; }
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-right: var(--pad); }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .j-story { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .j-rail { left: var(--pad); bottom: 6.2rem; }
  .j-card { flex-basis: 108px; }
  .j-ctl { left: var(--pad); bottom: 1.6rem; }
  .j-shade { background: linear-gradient(#0b0c0cd9 0%, #0b0c0c66 45%, #0b0c0ccc 100%); }
  .atlas-wrap, .about-grid { grid-template-columns: 1fr; }
  .scatter-head { width: 62vw; }
  .scatter-head .lede { display: none; }
  .about-l, .about-r { text-align: center; }
  .about-print { max-width: 240px; margin: 0 auto; }
  .flip-scene { padding-left: 1rem; padding-right: 1rem; }
  .lb-nav { top: auto; bottom: 5.4rem; transform: none; }
  .lb-bar { justify-content: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01s !important; animation-delay: 0s !important; transition-duration: .01s !important; }
  .grain, .hero-bg { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- birding page ---------- */
.nav nav a[aria-current] { color: var(--gold-2); }
.b-hero { position: relative; min-height: 78vh; display: flex; align-items: flex-end; overflow: hidden; }
.b-hero-bg { position: absolute; inset: -3%; background-size: cover; background-position: center; animation: heroDrift 24s ease-in-out infinite alternate; }
.b-hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, #0b0c0ce6, #0b0c0c66 55%, transparent), linear-gradient(transparent 50%, var(--ink)); }
.b-hero-copy { position: relative; z-index: 2; padding: 8rem var(--pad) clamp(2.5rem, 7vh, 5rem); max-width: 760px; }
.b-hero-copy h1 { font-size: clamp(3.2rem, 8vw, 7rem); }
.b-live { display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.6rem; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; padding: .55rem 1rem; border: 1px solid var(--line); border-radius: 99px; background: #0b0c0c88; backdrop-filter: blur(6px); }
.b-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.b-live[data-state="on"] i { background: #7ddc8a; box-shadow: 0 0 0 0 #7ddc8a99; animation: pulse 2s infinite; }
.b-live[data-state="off"] i { background: var(--gold); }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px #7ddc8a00; } 100% { box-shadow: 0 0 0 0 #7ddc8a00; } }
.b-scene { padding-top: clamp(2.5rem, 6vh, 4rem); }
.b-bar { display: flex; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; }
.b-count { margin: 1.4rem 0 1.6rem; color: var(--muted); font-size: .9rem; }
.b-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 14px; transition: opacity .3s; align-items: stretch; }
.b-grid.loading { opacity: .45; }
.b-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .15rem; padding: 1rem .8rem 1.1rem; background: var(--print); color: #1c1a16; border-radius: 6px; box-shadow: 0 18px 30px -18px #000c; transform-style: preserve-3d; transition: transform .25s ease-out, box-shadow .35s; }
.b-card:hover { box-shadow: 0 34px 50px -22px #000; z-index: 2; }
.b-card img, .b-noimg { width: 100%; max-width: 150px; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 8px 8px #0003); }
.b-noimg { display: grid; place-items: center; border-radius: 50%; background: #e3dccb; font-family: var(--serif); font-size: 3rem; color: #a39d8c; max-width: 110px; margin: 20px 0; }
.b-card b { font-family: var(--serif); font-weight: 400; font-size: 1.22rem; line-height: 1.1; margin-top: .4rem; }
.b-card i { font-size: .74rem; color: #6d6656; }
.b-card small { font-size: .66rem; letter-spacing: .04em; color: #6d6656; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: .3rem; }
.b-card .b-when { color: #8a6a1c; margin-top: .1rem; }
.b-empty { color: var(--muted); padding: 2rem 0; }
.b-list { margin-bottom: 3rem; }
.b-list header { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.b-list h3 { font-size: 1.8rem; }
.b-list header a { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-2); }
.fineprint a { text-decoration: underline; text-underline-offset: 3px; }
.b-modal { display: grid; place-items: center; padding: 1.2rem; }
.b-modal-in { display: grid; grid-template-columns: minmax(180px, 320px) minmax(0, 1fr); gap: clamp(1.2rem, 4vw, 3rem); align-items: center; background: var(--print); color: #1c1a16; padding: clamp(1.4rem, 4vw, 3rem); max-width: 860px; width: 100%; box-shadow: 0 50px 90px -40px #000; }
.b-modal-in img { width: 100%; filter: drop-shadow(0 16px 14px #0004); }
.b-modal-in .eyebrow { color: #8a6a1c; }
.b-modal-in h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
.b-sci { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: #6d6656; margin-top: .3rem; }
.b-facts { list-style: none; margin-top: 1.4rem; }
.b-facts li { display: grid; grid-template-columns: 5.5rem 1fr; gap: .8rem; padding: .55rem 0; border-top: 1px solid #1c1a1622; font-size: .92rem; }
.b-facts span { font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: #8a6a1c; padding-top: .25rem; }
.b-links { justify-content: flex-start; }
@media (max-width: 860px) {
  .b-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .b-modal-in { grid-template-columns: 1fr; text-align: center; }
  .b-modal-in img { max-width: 220px; margin: 0 auto; }
  .b-facts li { text-align: left; }
  .b-links { justify-content: center; }
}
.b-more { display: block; margin: 2rem auto 0; }
.b-live { margin-right: 1rem; }
.b-profile { display: inline-block; margin: 1.2rem 0 0 0; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); }
.b-mapwrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.b-map { position: relative; }
.b-map svg { width: 100%; height: auto; max-height: 78vh; display: block; filter: drop-shadow(0 30px 30px #0008); }
.b-map path { transition: opacity .2s, transform .2s; }
.b-map path.has { cursor: pointer; }
.b-map path:hover { opacity: .8; }
.b-stats { margin-bottom: 2rem; }
.b-states { list-style: none; }
.b-states li { display: grid; grid-template-columns: 9.5rem 1fr 2.2rem; align-items: center; gap: .8rem; padding: .6rem 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.b-states i { height: 6px; border-radius: 3px; background: linear-gradient(90deg, #e9dc8f, #cc5257); width: var(--w); min-width: 6px; }
.b-states b { font-family: var(--block); font-weight: 500; text-align: right; }
.b-legend { display: flex; align-items: center; gap: .7rem; margin-top: 1.4rem; font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.b-legend i { flex: 0 0 120px; height: 8px; border-radius: 4px; background: linear-gradient(90deg, #e9dc8f, #e3c877, #dcab6c, #d98a62, #cc5257); }
@media (max-width: 860px) { .b-mapwrap { grid-template-columns: 1fr; } }
.b-hero-bg { background-position: 62% 40%; }
.b-hero-shade { background: linear-gradient(90deg, #0b0c0cf2, #0b0c0c99 45%, #0b0c0c33), linear-gradient(#0b0c0c80, transparent 30%, transparent 55%, var(--ink)); }
@media (max-width: 860px) { .b-hero-bg { background-position: 60% 30%; } .b-hero-shade { background: linear-gradient(#0b0c0c99, #0b0c0c33 35%, #0b0c0cd9 62%, var(--ink)); } }
.b-card { justify-content: flex-start; height: 100%; }
.b-card b { min-height: 2.2em; display: flex; align-items: center; }
