/* ============================================================
   Timeless Tales home v2
   Language: paper-cut collage. Palette comes from the mascot:
   navy coat, gold buttons, cream head. One accent only (gold).
   Shape rule: buttons are full pills, every card and photo frame uses --r.
   Motion: CSS scroll-driven animations only, no scroll listeners, no JS.
   ============================================================ */

@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url(../assets/fonts/barlow-condensed-700.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-display: swap; src: url(../assets/fonts/barlow-condensed-800.woff2) format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 400; font-display: swap; src: url(../assets/fonts/atkinson-hyperlegible-400.woff2) format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 700; font-display: swap; src: url(../assets/fonts/atkinson-hyperlegible-700.woff2) format("woff2"); }

:root {
  color-scheme: light dark;
  --paper: #F9EFDC;
  --paper-2: #FFF8EA;
  --ink: #0F1B33;
  --ink-soft: #3B4761;
  --panel: #14264A;
  --panel-ink: #F6EAD0;
  --gold: #E7AD47;
  --line: rgba(15, 27, 51, .16);
  --shadow: 0 18px 40px -18px rgba(var(--sh), .45);
  --frame: #FFF9EC;      /* polaroids and tickets stay cream in both themes */
  --frame-ink: #0F1B33;
  --sh: 15, 27, 51;       /* shadow tint: navy on paper, black in dark mode */
  --r: 20px;
  --f-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --f-body: "Atkinson Hyperlegible", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --bar: 68px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0E1729;
    --paper-2: #16233F;
    --ink: #F3E9D2;
    --ink-soft: #C3CAD9;
    --panel: #1D3260;
    --line: rgba(243, 233, 210, .18);
    --shadow: 0 18px 40px -18px rgba(0, 0, 0, .7);
    --sh: 0, 0, 0;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--bar) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure, ol, ul { margin: 0; padding: 0; }
ol, ul { list-style: none; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; line-height: .95; letter-spacing: .005em; }
h2 { font-size: clamp(2.2rem, 5vw, 4.25rem); }
h3 { font-size: 1.6rem; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 999px; z-index: 100; }
.skip:focus { top: 12px; }
.wrap { max-width: 1320px; margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; min-height: 52px; padding: 0 28px; border-radius: 999px; font-family: var(--f-body); font-weight: 700; font-size: 1.05rem; text-decoration: none; border: 2px solid transparent; transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s cubic-bezier(.16,1,.3,1), background-color .25s; }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-gold { background: var(--gold); color: #0F1B33; box-shadow: 0 10px 20px -14px rgba(var(--sh), .55); }
.btn-gold:hover { box-shadow: 0 16px 26px -14px rgba(var(--sh), .6); }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: .98rem; }

/* ---------- Banner + header (one line, 68px) ---------- */
.banner { background: var(--panel); color: var(--panel-ink); text-align: center; font-size: .9rem; padding: 9px var(--gutter); }
.banner b { color: var(--gold); }
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bar { max-width: 1320px; margin-inline: auto; padding: 0 var(--gutter); height: var(--bar); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--f-display); font-weight: 800; font-size: 1.55rem; text-transform: uppercase; letter-spacing: .01em; white-space: nowrap; }
.brand img { width: 40px; height: auto; }
.nav { display: flex; gap: clamp(16px, 2.4vw, 34px); }
.nav a, .gear-links a { position: relative; text-decoration: none; font-weight: 700; }
.nav a::after, .gear-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 3px; border-radius: 3px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s cubic-bezier(.16,1,.3,1); }
.nav a:hover::after, .gear-links a:hover::after, .nav a:focus-visible::after, .gear-links a:focus-visible::after { transform: scaleX(1); }
.nav a { color: var(--ink-soft); padding: 8px 2px; white-space: nowrap; transition: color .2s; }
.nav a:hover { color: var(--ink); }
@media (max-width: 1000px) { .nav { display: none; } }
@media (max-width: 420px) { .brand span { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: min(86dvh, 840px); display: grid; align-items: center; padding: clamp(20px, 4vh, 56px) 0 clamp(20px, 4vh, 48px); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url(../assets/tt/bg-hero.webp) center / cover no-repeat; }
/* dark: multiply the paper-cut art over the navy page colour, so the cream turns navy and the shapes stay in palette */
@media (prefers-color-scheme: dark) { .hero { background: var(--paper); } .hero::before { mix-blend-mode: multiply; } }
.hero-grid { max-width: 1320px; width: 100%; margin-inline: auto; padding-inline: var(--gutter); display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: clamp(8px, 3vw, 48px); }
.hero-figure { justify-self: center; }
.nap { height: min(66dvh, 620px); width: auto; filter: drop-shadow(0 22px 22px rgba(var(--sh), .22)); }
.hero-copy h1 { font-size: clamp(2.9rem, 6.1vw, 5.75rem); }
.hero-copy p { margin-top: 22px; max-width: 34ch; font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--ink-soft); }
.cta-row { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; }
.stick { position: absolute; z-index: 0; width: clamp(56px, 8vw, 128px); height: auto; rotate: var(--rot, 0deg); pointer-events: none; filter: drop-shadow(0 12px 12px rgba(var(--sh), .25)); }
.s1 { left: 3%; top: 8%; }
.s2 { right: 4%; top: 7%; }
.s3 { right: 3%; bottom: 8%; }
.s4 { left: 42%; bottom: 4%; width: clamp(48px, 6vw, 96px); }
.s5 { left: 1.2%; bottom: 34%; width: clamp(48px, 6.5vw, 104px); }
@media (prefers-reduced-motion: no-preference) {
  .stick { animation: bob 6.5s ease-in-out infinite; animation-delay: var(--d, 0s); }
  @keyframes bob { 50% { translate: 0 -12px; } }
  .hero-copy > *, .hero-figure { animation: rise .9s cubic-bezier(.16,1,.3,1) both; }
  .hero-copy p { animation-delay: .12s; } .cta-row { animation-delay: .24s; } .hero-figure { animation-delay: .05s; }
  @keyframes rise { from { opacity: 0; transform: translateY(26px); } }
}
@media (max-width: 860px) {
  .hero { min-height: 0; padding-top: 20px; }
  .hero-grid { grid-template-columns: 1fr; gap: 14px; }
  .hero-figure { order: -1; }
  .nap { height: min(34dvh, 300px); }
  .hero-copy { text-align: left; }
  .hero-copy h1 { font-size: clamp(2.6rem, 12vw, 3.6rem); }
  .s2, .s3, .s4 { display: none; }
  .s1 { left: 4%; top: 3%; } .s5 { left: auto; right: 6%; top: 5%; bottom: auto; }
}

/* ---------- Shelves: bento, three cells, real visual variation ---------- */
.shelves { padding: clamp(64px, 9vw, 130px) 0; }
.bento { margin-top: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: 1fr 1fr; gap: 20px; }
.tile { position: relative; overflow: hidden; border-radius: var(--r); padding: clamp(22px, 3vw, 38px); text-decoration: none; display: grid; grid-template-columns: 1fr; align-content: end; gap: 6px; min-height: 260px; transition: transform .45s cubic-bezier(.16,1,.3,1), box-shadow .45s; box-shadow: var(--shadow); }
.tile:hover { transform: translateY(-6px) rotate(-.6deg); }
.tile img { position: absolute; z-index: 0; pointer-events: none; transition: transform .6s cubic-bezier(.16,1,.3,1); }
.tile:hover img { transform: scale(1.06) rotate(3deg); }
.tile h3, .tile p { position: relative; z-index: 1; }
.tile h3 { font-size: clamp(2.2rem, 3.6vw, 3.4rem); }
.tile p { max-width: 26ch; font-weight: 700; }
.tile-history { grid-row: 1 / span 2; background: var(--gold); color: #0F1B33; min-height: 540px; }
.tile-history img { width: min(64%, 330px); right: 6%; top: 6%; rotate: 6deg; }
.tile-geo { background: var(--panel); color: var(--panel-ink); }
.tile-geo img { width: min(34%, 190px); right: 6%; top: 10%; rotate: -8deg; }
.tile-mystery { background: var(--paper-2) url(../assets/tt/bg-tile.webp) center / cover no-repeat; color: #0F1B33; }
.tile-mystery img { width: min(26%, 140px); right: 8%; top: 8%; rotate: 8deg; }
@media (prefers-color-scheme: dark) { .tile-mystery { background: var(--paper-2); color: var(--ink); outline: 1px solid var(--line); outline-offset: -1px; } }
@media (max-width: 860px) {
  .bento { grid-template-columns: 1fr; grid-template-rows: none; }
  .tile-history { grid-row: auto; min-height: 380px; }
  .tile { min-height: 240px; }
}

/* ---------- Cast: cartoon video stage + figurine lineup on a shelf ---------- */
.cast { padding: clamp(40px, 6vw, 90px) 0 clamp(60px, 8vw, 110px); }
.cast-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: stretch; }
.cast-side { display: flex; flex-direction: column; justify-content: space-between; gap: clamp(28px, 4vw, 48px); }
.stage-card { position: relative; background: #F2E0C0; border-radius: calc(var(--r) * 1.4); aspect-ratio: 1 / 1; overflow: hidden; box-shadow: var(--shadow); outline: 3px solid var(--ink); outline-offset: -3px; }
.stage-card video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lineup { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(8px, 1.6vw, 22px); align-items: end; padding-bottom: 34px; }
.lineup::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: 0; height: 18px; border-radius: 8px; background: linear-gradient(var(--gold) 0 55%, #B98524 55%); box-shadow: 0 12px 16px -10px rgba(var(--sh), .5); }
.lineup li { text-align: center; }
.lineup img { width: 100%; max-width: 190px; margin: 0 auto 12px; filter: drop-shadow(0 12px 10px rgba(var(--sh), .22)); transition: transform .45s cubic-bezier(.16,1,.3,1); }
.lineup li:hover img { transform: translateY(-10px) rotate(-3deg); }
.lineup h3 { font-size: clamp(1.2rem, 1.8vw, 1.7rem); white-space: nowrap; }
.lineup p { margin-top: 4px; color: var(--ink-soft); font-weight: 700; font-size: .95rem; }
@media (max-width: 860px) {
  .cast-grid { grid-template-columns: 1fr; }
  .stage-card { max-width: 440px; width: 100%; margin-inline: auto; }
  .lineup { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .lineup::after { display: none; }
}

/* ---------- Where: the ribbon draws itself between photo cards ---------- */
.where { padding: clamp(40px, 6vw, 90px) 0 clamp(70px, 10vw, 140px); }
/* Transparent clips: the still frame sits under the video and fades out once it plays */
.alpha { display: grid; }
.alpha > img, .alpha > video { grid-area: 1 / 1; width: 100%; height: auto; transition: opacity .4s ease; }
.alpha > video { opacity: 0; }
.alpha.is-live > video { opacity: 1; }
.alpha.is-live > img { opacity: 0; }
.where-head { display: flex; align-items: flex-end; justify-content: space-between; gap: clamp(16px, 4vw, 48px); }
.where-toy { flex: 0 0 auto; width: clamp(110px, 14vw, 190px); filter: drop-shadow(0 14px 12px rgba(var(--sh), .25)); }
.stories-head { display: flex; align-items: flex-end; gap: clamp(10px, 2vw, 20px); }
.stories-head { align-items: center; }
.stories-hat { position: relative; flex: 0 0 auto; width: clamp(76px, 8vw, 108px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--gold); outline: 3px solid var(--ink); outline-offset: -3px; box-shadow: var(--shadow); }
.stories-hat > img, .stories-hat > video { position: absolute; width: 112%; left: -6%; bottom: -2%; }
.lede { margin-top: 16px; max-width: 46ch; color: var(--ink-soft); font-size: 1.15rem; }
.trail { position: relative; margin-top: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 8vw, 140px); row-gap: clamp(36px, 8vw, 120px); align-items: start; isolation: isolate; }
.ribbon { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.ribbon path { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.ribbon-base { stroke: color-mix(in srgb, var(--gold) 26%, transparent); stroke-width: 30px; }
.ribbon-draw { stroke: var(--gold); stroke-width: 30px; stroke-dasharray: 1; stroke-dashoffset: 0; filter: drop-shadow(0 4px 0 rgba(var(--sh), .18)); }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .ribbon-draw { stroke-dashoffset: 1; animation: draw linear both; animation-timeline: view(); animation-range: entry 8% exit 62%; }
    @keyframes draw { to { stroke-dashoffset: 0; } }
    .polaroid { animation: settle linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
    @keyframes settle { from { opacity: 0; translate: 0 70px; rotate: calc(var(--r, 0deg) * 3); } to { opacity: 1; translate: 0 0; rotate: var(--r, 0deg); } }
  }
}
.polaroid { background: var(--frame); color: var(--frame-ink); padding: 12px 12px 0; border-radius: var(--r); box-shadow: var(--shadow); rotate: var(--r, 0deg); transition: transform .5s cubic-bezier(.16,1,.3,1); }
.polaroid:hover { transform: scale(1.03); }
.polaroid img, .polaroid video { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: calc(var(--r) - 8px); }
.polaroid figcaption { padding: 14px 6px 16px; font-weight: 700; }
.p1 { grid-column: 1; }
.p2 { grid-column: 2; margin-top: 9vw; }
.p3 { grid-column: 1; }
.p4 { grid-column: 2; margin-top: 9vw; }
.p5 { grid-column: 1; }
.p6 { grid-column: 2; margin-top: 9vw; }
.p1 video, .p2 img { aspect-ratio: 1 / 1; }
.p1 video { object-position: 30% 50%; }
.p2 img { object-position: 30% 50%; }
.p4 video { object-position: 70% 50%; }
@media (max-width: 760px) {
  .trail { grid-template-columns: 1fr; }
  .p1, .p2, .p3, .p4, .p5, .p6 { grid-column: 1; margin-top: 0; }
  .ribbon-base, .ribbon-draw { stroke-width: 18px; }
}

/* ---------- Stories: sideways ticket row (the only horizontal scroller) ---------- */
.stories { padding: clamp(40px, 6vw, 90px) 0; }
.tickets { margin-top: clamp(24px, 4vw, 44px); display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 18px var(--gutter) 34px; scroll-padding-inline: var(--gutter); scrollbar-width: thin; scrollbar-color: var(--gold) transparent; }
.tickets > li { flex: 0 0 min(300px, 78vw); scroll-snap-align: start; filter: drop-shadow(0 14px 14px rgba(var(--sh), .22)); }
.tickets > li:nth-child(odd) { rotate: -1.6deg; }
.tickets > li:nth-child(even) { rotate: 1.4deg; margin-top: 14px; }
.ticket { position: relative; display: grid; grid-template-rows: auto 1fr auto; gap: 14px; height: 100%; min-height: 340px; padding: 26px 24px 20px; background: var(--frame); color: var(--frame-ink); text-decoration: none;
  -webkit-mask: radial-gradient(circle 13px at 0 62%, #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 13px at 100% 62%, #0000 97%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 13px at 0 62%, #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 13px at 100% 62%, #0000 97%, #000) right / 51% 100% no-repeat;
  border-radius: var(--r); transition: transform .4s cubic-bezier(.16,1,.3,1); }
.ticket:hover { transform: translateY(-6px); }
.ticket img { width: 92px; height: auto; }
.ticket h3 { font-size: 1.75rem; line-height: 1; align-self: start; }
.ticket .go { justify-self: end; border-top: 2px dashed rgba(15, 27, 51, .3); width: 100%; text-align: right; padding-top: 10px; font-size: 1.5rem; font-weight: 700; }

/* ---------- About: phone playing a reel of the latest shorts ---------- */
.about { padding: clamp(50px, 8vw, 110px) 0; }
.about-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(32px, 7vw, 110px); }
.phone { justify-self: center; width: min(300px, 70vw); padding: 12px; border-radius: 42px; background: var(--ink); rotate: -3deg; box-shadow: var(--shadow); }
.phone video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 30px; background: #fff; }
.about-copy h2 { font-size: clamp(2.3rem, 5vw, 4.4rem); }
.about-copy > p { margin-top: 18px; max-width: 52ch; color: var(--ink-soft); font-size: 1.1rem; }
.facts { margin-top: 30px; display: flex; flex-wrap: wrap; gap: clamp(22px, 4vw, 48px); }
.facts li { display: grid; }
.facts strong { font-family: var(--f-display); font-size: clamp(2.4rem, 4.5vw, 3.4rem); font-weight: 800; line-height: 1; color: var(--ink); }
.facts span { color: var(--ink-soft); font-weight: 700; }
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .phone { width: min(240px, 64vw); }
}

/* ---------- Gear: one deliberate navy color block ---------- */
.gear { padding: clamp(60px, 9vw, 120px) 0; }
.gear-panel { position: relative; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr) minmax(0, .9fr); align-items: center; gap: clamp(16px, 3vw, 44px); background: var(--panel); color: var(--panel-ink); border-radius: calc(var(--r) * 1.6); padding: clamp(28px, 4vw, 56px); box-shadow: var(--shadow); }
.gear-nap { width: min(100%, 320px); justify-self: center; margin-top: clamp(-90px, -6vw, -30px); filter: drop-shadow(0 18px 18px rgba(0, 0, 0, .35)); }
.gear-copy h2 { font-size: clamp(2.1rem, 4.2vw, 3.7rem); }
.gear-copy > p { margin-top: 16px; max-width: 44ch; color: color-mix(in srgb, var(--panel-ink) 86%, transparent); }
.gear-links { margin: 22px 0 26px; display: grid; gap: 4px; }
.gear-links a { display: inline-block; padding: 8px 0; }
.fine { margin-top: 16px; font-size: .9rem; color: color-mix(in srgb, var(--panel-ink) 78%, transparent); }
.fine a { color: var(--gold); }
.gear-photo { background: var(--frame); color: var(--frame-ink); padding: 10px 10px 0; border-radius: var(--r); rotate: 3deg; box-shadow: 0 20px 30px -16px rgba(0, 0, 0, .55); }
.gear-photo img, .gear-photo video { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: calc(var(--r) - 8px); }
.gear-photo figcaption { padding: 12px 6px 14px; font-weight: 700; }
@media (max-width: 980px) {
  .gear-panel { grid-template-columns: 1fr; padding-top: 70px; }
  .gear-nap { width: 200px; margin-top: -120px; }
  .gear-photo { rotate: 0deg; }
}

/* ---------- Join: copy on the paper, mascot standing on the arches below ---------- */
.join { position: relative; overflow: hidden; text-align: center; padding: clamp(70px, 10vw, 130px) var(--gutter) 0; }
.join-copy h2 { font-size: clamp(2.6rem, 6.5vw, 5.6rem); }
.join-copy > p { margin: 16px auto 26px; max-width: 40ch; color: var(--ink-soft); font-size: 1.15rem; }
.socials { margin-top: 26px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.socials a { display: inline-flex; align-items: center; min-height: 46px; padding: 0 22px; border-radius: 999px; background: var(--frame); color: var(--frame-ink); font-weight: 700; text-decoration: none; box-shadow: 0 10px 18px -12px rgba(var(--sh), .6); transition: transform .3s cubic-bezier(.16,1,.3,1); }
.socials a:hover { transform: translateY(-3px); }
.stage { position: relative; width: min(980px, 100%); height: clamp(290px, 33vw, 420px); margin: clamp(30px, 4vw, 54px) auto 0; overflow: hidden; }
.arches { position: absolute; left: 50%; top: clamp(150px, 15vw, 200px); width: min(900px, 150vw); aspect-ratio: 2 / 1; translate: -50% 0; }
.arches span { position: absolute; left: 50%; bottom: 0; translate: -50% 0; border-radius: 999px 999px 0 0; aspect-ratio: 2 / 1; }
.arches span:nth-child(1) { width: 100%; background: var(--panel); }
.arches span:nth-child(2) { width: 80%; background: var(--gold); }
.arches span:nth-child(3) { width: 60%; background: var(--paper-2); }
.arches span:nth-child(4) { width: 40%; background: var(--panel); }
@media (prefers-color-scheme: dark) { .arches span:nth-child(1) { background: #24407a; } .arches span:nth-child(3) { background: #F3E9D2; } }
.join-nap { position: absolute; z-index: 1; left: 50%; top: clamp(10px, 2vw, 24px); translate: -50% 0; width: clamp(170px, 19vw, 250px); filter: drop-shadow(0 16px 16px rgba(var(--sh), .3)); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 34px 0 44px; }
.foot { display: grid; gap: 18px; justify-items: start; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.foot nav a { font-weight: 700; text-decoration: none; padding: 6px 0; }
.foot nav a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 6px; text-decoration-thickness: 3px; }
.foot p { color: var(--ink-soft); font-size: .92rem; max-width: 70ch; }
