@font-face { font-family: "Baloo 2"; font-weight: 400 800; font-display: swap; src: url(/fonts/Baloo2.woff2) format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 200 1000; font-display: swap; src: url(/fonts/Nunito.woff2) format("woff2"); }

:root {
  --night: #0e1430;
  --night-2: #151d42;
  --night-3: #1f2a5c;
  --ink: #fdf6ea;
  --muted: #b8bfdf;
  --gold: #ffcf5c;
  --amber: #f5a54a;
  --pajama: #aebdf0;
  --cream: #fff7ea;
  --cocoa: #4a2f1c;
  --radius: 20px;
  --wrap: 1120px;
  --display: "Baloo 2", ui-rounded, "Nunito", system-ui, sans-serif;
  --text: "Nunito", ui-rounded, system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--night);
  background-image:
    radial-gradient(1px 1px at 12% 18%, #fff8 50%, transparent 51%),
    radial-gradient(1px 1px at 72% 8%, #fff6 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 38% 42%, #fff5 50%, transparent 51%),
    radial-gradient(1px 1px at 88% 36%, #fff7 50%, transparent 51%),
    radial-gradient(1px 1px at 22% 78%, #fff5 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 62% 68%, #fff4 50%, transparent 51%),
    radial-gradient(1px 1px at 94% 88%, #fff6 50%, transparent 51%);
  background-size: 600px 600px;
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--text);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: #ffe29a; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 860px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.eyebrow { font: 700 .8rem/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--pajama); margin-bottom: .9em; }
.eyebrow a { color: inherit; }
.lead { font-size: clamp(1.1rem, 2vw, 1.3rem); color: #e6e9fb; max-width: 40ch; }
.page-top .lead { max-width: 60ch; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--night); padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 16px; }

.star { width: 1em; height: 1em; fill: var(--gold); flex: none; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  background: var(--gold); color: var(--night);
  font: 800 1rem/1 var(--display); padding: .95em 1.4em; border-radius: 999px;
  text-decoration: none; border: 2px solid var(--gold);
  box-shadow: 0 8px 30px -8px #ffcf5c88;
  transition: transform .2s ease, box-shadow .2s ease, background .2s;
}
.btn:hover { color: var(--night); transform: translateY(-2px); box-shadow: 0 12px 34px -8px #ffcf5caa; }
.btn svg { width: 1.3em; height: 1.3em; fill: currentColor; }
.btn-ghost { background: transparent; color: var(--ink); border-color: #ffffff55; box-shadow: none; }
.btn-ghost:hover { color: var(--ink); border-color: var(--ink); box-shadow: none; }
.btn-sm { padding: .65em 1.1em; font-size: .92rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: #0e1430d9; backdrop-filter: blur(10px); border-bottom: 1px solid #ffffff12; }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: .35em; font: 800 1.55rem/1 var(--display); color: var(--ink); text-decoration: none; }
.logo:hover { color: var(--ink); }
.logo .star { width: .95em; height: .95em; filter: drop-shadow(0 0 8px #ffcf5c99); }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 700; opacity: .85; }
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; color: var(--gold); }
@media (max-width: 720px) {
  .header-row { gap: 12px; }
  .nav { gap: 14px; font-size: .95rem; }
  .nav a:nth-child(2) { display: none; }
  .site-header .btn-sm { display: none; }
}

/* hero */
.hero { position: relative; min-height: min(86vh, 760px); display: grid; align-items: end; isolation: isolate; overflow: hidden; }
/* still is mirrored so Jobo sits on the right and the copy gets the quiet wall/window side */
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 40%; transform: scaleX(-1); z-index: -2; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, #0e1430f0 0%, #0e1430b0 38%, #0e143000 68%),
    linear-gradient(0deg, var(--night) 0%, #0e143000 35%);
}
.hero-content { padding: 120px 0 72px; }
.hero h1 { max-width: 12ch; text-shadow: 0 4px 30px #0008; }
/* phones: image stacked above the copy so Jobo's face is never under text */
@media (max-width: 800px) {
  .hero { min-height: 0; display: block; }
  .hero-bg {
    position: relative; height: auto; aspect-ratio: 4 / 3; object-position: 30% 50%;
    -webkit-mask-image: linear-gradient(#000 72%, transparent); mask-image: linear-gradient(#000 72%, transparent);
  }
  .hero::after { display: none; }
  .hero-content { padding: 0 0 36px; margin-top: -24px; }
}

/* sections */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.page-top { padding-top: clamp(40px, 6vw, 72px); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 20px; }
.section-head h2 { margin: 0; }

/* player (click-to-load) */
.player {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
  background: var(--night-2); margin: 24px 0 18px; box-shadow: 0 30px 80px -30px #000c, 0 0 0 1px #ffffff14;
}
.player img, .player iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.player .play {
  position: absolute; inset: 0; margin: auto; width: 88px; height: 62px; border: 0; padding: 0; cursor: pointer;
  background: none; color: var(--gold); filter: drop-shadow(0 6px 20px #0009); transition: transform .2s;
}
.player .play:hover { transform: scale(1.08); }
.player .play svg { width: 100%; height: 100%; }
.player noscript .btn { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }

/* cards */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); margin-top: 8px; }
.card {
  display: block; text-decoration: none; color: var(--ink); background: var(--night-2);
  border-radius: var(--radius); overflow: hidden; box-shadow: 0 0 0 1px #ffffff14; transition: transform .25s, box-shadow .25s;
}
.card:hover { color: var(--ink); transform: translateY(-4px); box-shadow: 0 0 0 1px #ffcf5c66, 0 20px 50px -20px #000c; }
.card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.card-body { display: block; padding: 16px 18px 20px; }
.card-tag { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--pajama); }
.card-title { display: block; font: 800 1.35rem/1.2 var(--display); margin-top: 4px; }

/* meet jobo */
.meet { background: linear-gradient(180deg, transparent, #151d4299 30%, #151d4299 70%, transparent); }
.meet-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 72px); align-items: center; }
.meet-card { background: radial-gradient(circle at 50% 40%, #fffdf8, var(--cream) 60%, #f4e6cf); border-radius: 32px; padding: 12px 24px 0; box-shadow: 0 0 0 6px #ffcf5c33, 0 30px 80px -30px #000; }
.meet-card img { mix-blend-mode: multiply; margin-inline: auto; max-height: 520px; width: auto; }
@media (max-width: 760px) { .meet-grid { grid-template-columns: 1fr; } .meet-card { max-width: 340px; margin-inline: auto; } }

/* promise */
.promise { background: var(--night-2); border-radius: 28px; padding: clamp(28px, 5vw, 56px); box-shadow: 0 0 0 1px #ffffff14; }
.promise-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.promise-list li { display: flex; gap: 12px; color: #dfe3f7; }
.promise-list .star { margin-top: .3em; }
.promise-list strong { color: var(--ink); }

/* song page */
.song-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin: 40px 0; }
@media (max-width: 760px) { .song-cols { grid-template-columns: 1fr; gap: 24px; } }
.lyrics { background: var(--cream); color: var(--cocoa); border-radius: var(--radius); padding: 28px 30px; font-size: 1.15rem; }
.lyrics h2 { color: var(--cocoa); font-size: 1.4rem; }
.lyrics p { font-family: var(--display); font-weight: 600; font-size: 1.3rem; line-height: 1.5; }
.spot { display: flex; align-items: center; gap: .5em; justify-content: center; color: var(--gold); font-weight: 700; }
.gallery { display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); margin-bottom: 36px; }
.gallery img { border-radius: 14px; aspect-ratio: 16 / 9; object-fit: cover; }
@media (max-width: 600px) { .gallery { grid-template-columns: 1fr 1fr; } .gallery img:last-child { display: none; } }

/* prose */
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }

/* footer */
.site-footer { border-top: 1px solid #ffffff14; padding: 48px 0 28px; margin-top: 40px; background: #0b1027; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-h { font: 700 .8rem/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--pajama); margin-bottom: 14px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-links a { color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.footer-links a:hover { color: var(--gold); }
.social { display: flex; flex-direction: column; gap: 10px; }
.social a { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.social a:hover { color: var(--gold); }
.social svg { width: 22px; height: 22px; fill: currentColor; }
.copyright { color: #8a92b8; font-size: .9rem; margin-top: 32px; }

/* twinkle */
@media (prefers-reduced-motion: no-preference) {
  .logo .star { animation: twinkle 4s ease-in-out infinite; }
  @keyframes twinkle { 50% { opacity: .65; transform: scale(.9) rotate(8deg); } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
