/* aaronblomberg.com, 2026
   colors are set by assets/app.js from the sky over san diego.
   the values below are the midday fallback for when javascript is off. */

@property --bg { syntax: '<color>'; inherits: true; initial-value: #f6f8f4; }
@property --ink { syntax: '<color>'; inherits: true; initial-value: #17201d; }
@property --muted { syntax: '<color>'; inherits: true; initial-value: #59625e; }
@property --accent { syntax: '<color>'; inherits: true; initial-value: #1c7462; }
@property --sky-top { syntax: '<color>'; inherits: true; initial-value: #c9dcea; }
@property --sun { syntax: '<color>'; inherits: true; initial-value: #fff1b8; }

@font-face {
  font-family: "Atkinson Next";
  src: url("fonts/atkinson-hyperlegible-next-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Atkinson Next";
  src: url("fonts/atkinson-hyperlegible-next-latin-wght-italic.woff2") format("woff2");
  font-weight: 200 800; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Existence";
  src: url("fonts/existence-light-webfont.woff") format("woff");
  font-display: swap;
}
@font-face {
  font-family: "Existence Stencil";
  src: url("fonts/existence-stencillight-webfont.woff") format("woff");
  font-display: swap;
}

:root {
  --bg: #f6f8f4;
  --ink: #17201d;
  --muted: #59625e;
  --accent: #1c7462;
  --mint: #6eccb7;
  --sun: #fff1b8;
  --card: color-mix(in oklab, var(--ink) 4.5%, var(--bg));
  --line: color-mix(in oklab, var(--ink) 14%, var(--bg));
  --edge: color-mix(in oklab, var(--accent) 38%, var(--bg));
  --sky-top: color-mix(in oklab, var(--bg) 70%, #9fc6e8);
  --stars: 0;
  --fade: 2.4s;
  --head: "Existence", "Avenir Next", "Century Gothic", sans-serif;
  --stencil: "Existence Stencil", var(--head);
  --body: "Atkinson Next", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
  /* the palette fades as a whole: every color on the page (including the hero's gradient)
     reads these variables, so they all move together */
  transition: --bg var(--fade) ease, --ink var(--fade) ease, --muted var(--fade) ease,
              --accent var(--fade) ease, --sky-top var(--fade) ease, --sun var(--fade) ease;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-mode]) {
    --bg: #10111d; --ink: #eef3f0; --muted: #a5abb8; --accent: #7fdcc6;
    --sky-top: #070810; --stars: 1; color-scheme: dark;
  }
}
:root[data-mode="dark"] { color-scheme: dark; }

*, *::before, *::after { box-sizing: border-box; }
/* no fade on first load: the page should open already in the right colors */
.no-fade, .no-fade *, .no-fade *::before, .no-fade *::after { transition: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--body);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
button { font: inherit; color: inherit; }

.wrap { width: min(100% - 32px, 60rem); margin-inline: auto; }
.small { font-size: .875rem; }
.muted { color: var(--muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: var(--bg); padding: .5rem .9rem; border-radius: 8px; z-index: 50; }
.skip:focus { top: 12px; }

h1, h2, h3, h4 { font-weight: 400; line-height: 1.15; margin: 0; }
h2 {
  font-family: var(--head);
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem);
  color: var(--accent);
  margin-bottom: 1rem;
  letter-spacing: .01em;
}
h3 { font-family: var(--head); font-size: 1.5rem; }
h3.sub { margin: 3rem 0 1.25rem; font-size: 1.75rem; }
h4 { font-family: var(--body); font-weight: 700; font-size: 1.125rem; }
.intro { font-size: 1.1875rem; max-width: 38rem; margin: 0 0 2rem; }

/* ---------- hero + sky ---------- */
.hero {
  position: relative;
  min-height: min(68svh, 40rem);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(to bottom, var(--sky-top), var(--bg) 92%);
  isolation: isolate;
}
.sky {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  /* fade the sky layers out before the hero ends, so glows and rain never stop at a hard edge */
  -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 98%);
  mask-image: linear-gradient(to bottom, #000 62%, transparent 98%);
}
.stars { position: absolute; inset: 0 0 25% 0; opacity: var(--stars); transition: opacity var(--fade) ease; }
.stars i {
  position: absolute; width: 2px; height: 2px; border-radius: 50%;
  background: #fff; opacity: .8;
  animation: twinkle var(--tw, 4s) ease-in-out infinite alternate;
  animation-delay: var(--d, 0s);
}
.stars i.big { width: 3px; height: 3px; }
@keyframes twinkle { from { opacity: .25; } to { opacity: .95; } }

.sun {
  position: absolute; left: var(--sun-x, 70%); top: var(--sun-y, 20%);
  width: clamp(56px, 9vw, 96px); aspect-ratio: 1; border-radius: 50%;
  translate: -50% -50%;
  background: radial-gradient(circle, #fffdf3 0 38%, var(--sun) 68%);
  opacity: calc(var(--sun-o, 1) * var(--sun-dim, 1));
  transition: left 1.2s ease, top 1.2s ease, opacity var(--fade) ease;
}
.sun::before {
  content: ""; position: absolute; inset: -220%; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, color-mix(in srgb, var(--sun) 55%, transparent) 0, color-mix(in srgb, var(--sun) 22%, transparent) 30%, transparent 68%);
}
.moon {
  position: absolute; left: var(--moon-x, 30%); top: var(--moon-y, 20%);
  width: clamp(40px, 6vw, 64px); translate: -50% -50%;
  opacity: var(--moon-o, 0);
  filter: drop-shadow(0 0 18px rgba(240, 240, 220, .35));
  transition: left 1.2s ease, top 1.2s ease, opacity var(--fade) ease;
  overflow: visible;
}
.moon-dark { fill: rgba(220, 225, 240, .12); }
.moon-lit { fill: #f3f0e2; }

.clouds, .fog, .rain { position: absolute; inset: 0; opacity: 0; transition: opacity var(--fade) ease; }
[data-sky="clouds"] .clouds, [data-sky="rain"] .clouds { opacity: 1; }
[data-sky="partly"] .clouds { opacity: .55; }
[data-sky="fog"] .fog { opacity: 1; }
[data-sky="rain"] .rain { opacity: 1; }
[data-mode="dark"][data-sky="rain"] .rain { opacity: .8; }
[data-sky="fog"] .sun, [data-sky="clouds"] .sun, [data-sky="rain"] .sun { --sun-dim: .35; filter: blur(6px); }
[data-sky="fog"] .stars, [data-sky="clouds"] .stars, [data-sky="rain"] .stars { opacity: calc(var(--stars) * .15); }

.clouds span {
  position: absolute; height: 5.5rem; width: 22rem; border-radius: 999px;
  background: color-mix(in oklab, var(--ink) 8%, var(--bg));
  filter: blur(14px); opacity: .7;
  animation: drift 90s linear infinite;
}
.clouds span:nth-child(1) { top: 12%; left: -10%; }
.clouds span:nth-child(2) { top: 26%; left: 40%; width: 30rem; animation-duration: 120s; animation-delay: -40s; }
.clouds span:nth-child(3) { top: 6%; left: 70%; width: 16rem; animation-duration: 75s; animation-delay: -20s; }
@keyframes drift { from { translate: -20vw 0; } to { translate: 120vw 0; } }

.fog span {
  position: absolute; left: -50%; width: 200%; height: 55%;
  background: radial-gradient(ellipse at center, color-mix(in oklab, var(--bg) 60%, #fff) 0%, transparent 65%);
  opacity: .75;
  animation: fogdrift 40s ease-in-out infinite alternate;
}
.fog span:nth-child(1) { top: 30%; }
.fog span:nth-child(2) { top: 55%; animation-duration: 55s; animation-direction: alternate-reverse; opacity: .55; }
@keyframes fogdrift { from { translate: -12% 0; } to { translate: 12% 0; } }

.rain i {
  position: absolute; top: -30px; width: 2px; height: 28px; border-radius: 2px;
  background: linear-gradient(transparent, color-mix(in srgb, var(--ink) 62%, transparent));
  rotate: 12deg;
  animation: fall var(--t, .9s) linear infinite; animation-delay: var(--d, 0s);
}
.rain i.far { width: 1.5px; height: 18px; opacity: .55; }
@keyframes fall { to { translate: -14vh 110vh; } }
.rain i, .clouds span, .fog span { animation-play-state: paused; }
[data-sky="rain"] .rain i, [data-sky="rain"] .clouds span, [data-sky="clouds"] .clouds span, [data-sky="partly"] .clouds span, [data-sky="fog"] .fog span { animation-play-state: running; }

.hero-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding-block: 4rem 3.5rem;
}
.hero h1 {
  font-family: var(--stencil);
  font-size: clamp(4rem, 2.5rem + 7vw, 8rem);
  line-height: .95;
  letter-spacing: .01em;
  margin-bottom: 1rem;
}
.lede { font-size: clamp(1.1875rem, 1rem + .6vw, 1.4375rem); max-width: 34rem; margin: 0 0 1.25rem; }
.skyline {
  display: inline-flex; align-items: center; gap: .6rem;
  margin: 0 0 1.5rem; padding: .35rem .85rem;
  border: 1px solid var(--edge); border-radius: 999px;
  background: color-mix(in oklab, var(--bg) 70%, transparent);
  backdrop-filter: blur(6px);
  font-size: .9375rem; color: var(--muted);
}
.skyline { --wx-fill: color-mix(in oklab, var(--bg) 70%, transparent); }
.skyline .wx { width: 1.25rem; height: 1.25rem; color: var(--accent); flex: none; }
.jump { display: flex; flex-wrap: wrap; gap: .6rem; }
.jump a {
  display: inline-block; padding: .5rem 1.15rem; border-radius: 999px;
  border: 1.5px solid var(--accent); background: transparent;
  color: var(--accent); font-weight: 700; text-decoration: none;
  transition: background-color .2s ease, color .2s ease, translate .2s ease;
}
.jump a:hover { background: var(--accent); color: var(--bg); translate: 0 -2px; }

/* ---------- ghost ---------- */
.ghost {
  position: relative;
  width: clamp(120px, 18vw, 220px);
  padding: 0; border: 0; background: none; cursor: pointer;
  animation: float 6s ease-in-out infinite;
  -webkit-tap-highlight-color: transparent;
}
.ghost svg { width: 100%; overflow: visible; transition: filter var(--fade) ease, opacity var(--fade) ease; }
.ghost-body { fill: var(--mint); }
.ghost-eye { fill: #fff; }
.ghost-pupil { fill: #1c2a3a; transition: cx .15s ease-out, cy .15s ease-out; }
.ghost-eyes { transform-origin: 50px 48px; transform-box: view-box; transition: transform .08s ease; }
.ghost-eyes.blink { transform: scaleY(.1); }
.ghost-cheeks ellipse { fill: #ff9fb2; opacity: 0; transition: opacity .3s ease; }
.ghost.blush .ghost-cheeks ellipse { opacity: .7; }
.ghost.wiggle svg { animation: wiggle .5s ease; }
[data-mode="dark"] .ghost svg { filter: drop-shadow(0 0 22px color-mix(in srgb, var(--mint) 55%, transparent)); }
[data-sky="fog"] .ghost svg { opacity: .82; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes wiggle { 25% { rotate: -8deg; } 50% { rotate: 6deg; } 75% { rotate: -3deg; } }

.bubble {
  position: absolute; left: 50%; bottom: calc(100% + .5rem);
  translate: -50% 6px;
  white-space: nowrap;
  background: var(--ink); color: var(--bg);
  font: 600 .9375rem/1.2 var(--body);
  padding: .45rem .8rem; border-radius: 14px;
  opacity: 0; pointer-events: none;
  transition: opacity .2s ease, translate .2s ease;
}
.bubble::after { content: ""; position: absolute; left: 50%; top: 100%; translate: -50% -1px; border: 7px solid transparent; border-top-color: var(--ink); }
.bubble.show { opacity: 1; translate: -50% 0; }

/* ---------- sections ---------- */
main > section { padding-block: clamp(3.5rem, 8vw, 6rem); }
main > section + section { border-top: 1px solid var(--line); }
main > section:first-child { padding-top: 1.5rem; }

.services {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: 1rem;
}
.services li {
  background: var(--card); border: 1px solid var(--edge); border-radius: 18px;
  padding: 1.25rem 1.35rem 1.1rem;
  transition: translate .25s ease;
}
.services li:hover { translate: 0 -3px; border-color: var(--accent); }
.services h3 { font-size: 1.5rem; margin-bottom: .35rem; color: var(--ink); }
.services p { margin: 0; color: var(--muted); }

.cta { margin: 2.5rem 0 0; }
.button {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .7rem 1.25rem; border-radius: 999px;
  border: 1.5px solid var(--accent); background: transparent; color: var(--accent);
  font-weight: 700; text-decoration: none;
  transition: background-color .2s ease, color .2s ease, translate .2s ease;
}
.button:hover { translate: 0 -2px; background: var(--accent); color: var(--bg); }
.button span { transition: translate .2s ease; }
.button:hover span { translate: 4px 0; }

/* ---------- icons ---------- */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 1.2rem; height: 1.2rem; display: inline-block; vertical-align: middle; fill: currentColor; }

/* ---------- music ---------- */
.icon-links { list-style: none; padding: 0; margin: -.75rem 0 2rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.icon-links a {
  width: 3rem; height: 3rem; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--edge); color: var(--accent);
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, translate .2s ease;
}
.icon-links a:hover, .icon-links a:focus-visible { background: var(--accent); border-color: var(--accent); color: var(--bg); translate: 0 -2px; }
.icon-links .ic { width: 1.15rem; height: 1.15rem; }
.albums { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); gap: 1.5rem; }
.album {
  display: grid; grid-template-columns: 9rem 1fr; gap: 1.25rem; align-items: start;
  background: var(--card); border: 1px solid var(--edge); border-radius: 20px; padding: 1rem;
}
.album img { border-radius: 12px; box-shadow: 0 10px 24px -14px rgba(0,0,0,.45); transition: rotate .4s ease, scale .4s ease; }
.album:hover img { rotate: -2deg; scale: 1.03; }
.album h3 { font-size: 1.5rem; margin: .25rem 0 .1rem; }
.album-body > p { margin: 0 0 .9rem; }
.player { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
.player iframe { width: 100%; height: 120px; border: 0; border-radius: 10px; }
.play {
  display: inline-flex; align-items: center; gap: .55rem;
  border: 1px solid var(--accent); color: var(--accent); background: transparent;
  border-radius: 999px; padding: .45rem 1rem .45rem .8rem; cursor: pointer; font-weight: 700;
  transition: background-color .2s ease, color .2s ease;
}
.play:hover { background: var(--accent); color: var(--bg); }
.play-icon { width: 0; height: 0; border-style: solid; border-width: .38rem 0 .38rem .62rem; border-color: transparent transparent transparent currentColor; }

.videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: 1.5rem; margin-bottom: 1rem; }
.video { margin: 0; }
.video figcaption { margin-top: .6rem; color: var(--muted); font-size: .9375rem; }
.video figcaption strong { color: var(--ink); font-weight: 700; }
.facade {
  display: block; position: relative; width: 100%; aspect-ratio: 16 / 9;
  border: 0; border-radius: 16px; overflow: hidden; padding: 0; cursor: pointer;
  background: linear-gradient(135deg, color-mix(in oklab, var(--accent) 45%, var(--bg)), color-mix(in oklab, var(--ink) 70%, var(--bg)));
}
.facade img { width: 100%; height: 100%; object-fit: cover; transition: scale .5s ease, filter .3s ease; filter: saturate(.85); }
.facade:hover img { scale: 1.04; filter: saturate(1.05); }
.facade-play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: 4.25rem; aspect-ratio: 1; border-radius: 50%;
  background: color-mix(in srgb, #000 45%, transparent); backdrop-filter: blur(4px);
  border: 2px solid rgba(255,255,255,.85);
  transition: scale .2s ease, background-color .2s ease;
}
.facade-play::after { content: ""; position: absolute; left: 54%; top: 50%; translate: -50% -50%; border-style: solid; border-width: .75rem 0 .75rem 1.2rem; border-color: transparent transparent transparent #fff; }
.facade:hover .facade-play { scale: 1.08; background: color-mix(in srgb, var(--accent) 80%, transparent); }

/* ---------- video modal ---------- */
.modal {
  width: min(100vw - 32px, 68rem, (100svh - 9rem) * 16 / 9);
  max-width: none; max-height: none;
  padding: 0; border: 0; background: transparent; color: #fff; overflow: visible;
}
.modal::backdrop { background: rgba(8, 9, 16, .82); backdrop-filter: blur(6px); }
.modal[open] { animation: pop .25s ease; }
@keyframes pop { from { opacity: 0; scale: .96; } }
.modal-inner { position: relative; }
.modal-frame { aspect-ratio: 16 / 9; background: #000; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 80px -20px rgba(0,0,0,.7); }
.modal-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.modal-title { margin: .75rem 0 0; font-weight: 600; color: rgba(255,255,255,.85); }
.modal-close {
  position: absolute; right: 0; top: -3.25rem;
  width: 2.6rem; height: 2.6rem; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.08); color: #fff;
  font-size: 1.6rem; line-height: 1; cursor: pointer;
  transition: background-color .2s ease;
}
.modal-close:hover { background: rgba(255,255,255,.22); }

/* ---------- contact ---------- */
.contact { position: relative; }
.email-row { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin: 0 0 1.5rem; }
.email { font-family: var(--head); font-size: clamp(1.5rem, 1rem + 2.6vw, 2.75rem); text-decoration: none; word-break: break-word; }
.email:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.copy { border: 1px solid var(--edge); background: var(--card); border-radius: 999px; padding: .35rem .9rem; cursor: pointer; font-size: .875rem; font-weight: 600; transition: background-color .2s ease; }
.copy:hover { border-color: var(--accent); }
.elsewhere { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.elsewhere a {
  display: inline-flex; align-items: center; gap: .5rem; padding: .5rem 1.1rem .5rem .9rem; border-radius: 999px;
  border: 1px solid var(--edge); text-decoration: none; font-weight: 600;
  transition: border-color .2s ease, background-color .2s ease;
}
.elsewhere a:hover { border-color: var(--accent); background: var(--card); }
.elsewhere .ic { width: 1.1rem; height: 1.1rem; }

.peek {
  position: fixed; right: 0; bottom: 14vh; width: 92px; z-index: 30;
  translate: 110% 0; rotate: -18deg;
  transition: translate .6s cubic-bezier(.3, 1.4, .5, 1);
  pointer-events: none;
}
.peek.out { translate: 42% 0; }
.peek .bubble { left: auto; right: 70%; bottom: 95%; translate: 0 6px; rotate: 18deg; }
.peek.out .bubble { opacity: 1; translate: 0 0; }

/* ---------- sky toggle (top right) ---------- */
.sky-toggle { position: fixed; top: 14px; right: 14px; z-index: 35; }
.sky-btn {
  width: 2.9rem; height: 2.9rem; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  border: 1px solid var(--edge); color: var(--accent);
  background: color-mix(in oklab, var(--bg) 72%, transparent); backdrop-filter: blur(8px);
  transition: background-color .25s ease, color .25s ease, rotate .4s ease;
}
.sky-btn:hover, .sky-btn[aria-expanded="true"] { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.sky-btn[aria-expanded="true"] { rotate: -12deg; }
.sky-btn .ic { width: 1.4rem; height: 1.4rem; }
.sky-panel {
  position: absolute; right: 0; top: calc(100% + .6rem);
  width: min(21rem, 100vw - 28px); padding: 1.1rem 1.2rem 1.2rem !important;
  background: color-mix(in oklab, var(--bg) 92%, transparent); backdrop-filter: blur(12px);
  border: 1px solid var(--edge); border-radius: 18px;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.35);
}
.sky-panel[hidden] { display: none; }
.sky-panel-title { margin: 0; font-family: var(--head); font-size: 1.35rem; color: var(--accent); }

/* ---------- footer + sky lab ---------- */
.footer { border-top: 1px solid var(--line); padding-block: 2.5rem 3.5rem; display: grid; gap: 1rem; }
.footer p { margin: 0; }
.foot-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .7rem; margin-top: .75rem !important; }
.foot-line .pipe { color: var(--accent); opacity: .55; }
.lab summary { cursor: pointer; font-weight: 700; color: var(--accent); width: fit-content; }
.lab-body { display: grid; gap: .9rem; padding: 1rem 0 .25rem; max-width: 32rem; }
.lab-body label { font-weight: 600; display: flex; justify-content: space-between; gap: 1rem; }
.lab-body output { font-weight: 400; color: var(--muted); }
.lab-body input[type="range"] { width: 100%; accent-color: var(--accent); }
.lab-body fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.lab-body legend { font-weight: 600; padding: 0; margin-bottom: .4rem; }
.lab-body button { border: 1px solid var(--edge); background: transparent; border-radius: 999px; padding: .3rem .8rem; cursor: pointer; font-size: .875rem; }
.lab-body button[aria-pressed="true"] { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.lab-reset { justify-self: start; }

/* ---------- konami ghosts ---------- */
.flock { position: fixed; inset: 0; pointer-events: none; z-index: 40; overflow: hidden; }
.flock svg { position: absolute; bottom: -120px; width: var(--s, 60px); animation: rise var(--t, 6s) ease-in forwards; animation-delay: var(--d, 0s); }
.flock .ghost-body { fill: var(--c, var(--mint)); }
@keyframes rise {
  0% { translate: 0 0; opacity: 0; }
  10% { opacity: 1; }
  50% { translate: var(--x1, 30px) -60vh; }
  100% { translate: var(--x2, -20px) -130vh; opacity: .9; }
}

/* ---------- small screens ---------- */
@media (max-width: 640px) {
  .hero { min-height: 0; }
  .hero-inner { grid-template-columns: 1fr; padding-block: 4.25rem 3rem; gap: 1.25rem; }
  .ghost { width: 110px; }
  .album { grid-template-columns: 6.5rem 1fr; gap: 1rem; }
  .album h3 { font-size: 1.3rem; }
  .peek { width: 72px; }
  .foot-line { flex-direction: column; gap: .15rem; }
  .foot-line .pipe { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .ghost, .stars i, .clouds span, .fog span, .rain i { animation: none !important; }
  :root { --fade: .01s; }
}

@media print {
  .sky, .ghost, .lab, .peek, .skip, .sky-toggle, .modal { display: none !important; }
  .hero { min-height: 0; background: none; }
}
