:root {
  --bg: #050505;
  --ink: #ecebe4;
  --muted: #9a998f;
  --accent: #9dff7a;
  --line: #262626;
  --glow: 0 0 6px rgba(157, 255, 122, .55), 0 0 18px rgba(157, 255, 122, .25);
  --hand: "Architects Daughter", "Comic Sans MS", cursive;
  --mono: "Lucida Console", Monaco, ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.7 var(--mono); }
a { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }

.site-header, .site-footer {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  max-width: 1200px; margin: 0 auto; padding: 24px 4vw;
}
.brand { margin-right: auto; display: inline-flex; }
.brand img { height: 84px; width: auto; margin: -12px 0; }
.site-header nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.site-header nav a { color: var(--ink); text-decoration: none; font-size: 14px; }
.site-header nav a[aria-current] { text-decoration: underline; text-underline-offset: 6px; }
.social { display: inline-flex; gap: 12px; }
.social a { color: var(--ink); display: inline-flex; }
.btn {
  display: inline-block; border: 2px solid var(--accent); padding: 12px 18px;
  color: var(--accent) !important; text-decoration: none; font: 14px var(--mono); background: transparent;
}
.btn:hover { background: var(--accent); color: var(--bg) !important; }
.burger { display: none; font-size: 26px; cursor: pointer; }

main { max-width: 1000px; margin: 0 auto; padding: 16px 4vw 64px; }
.prose { max-width: 760px; margin: 0 auto 28px; }
h1, h2, h3, h4 { font-family: var(--hand); font-weight: 400; line-height: 1.25; }
h1 { font-size: 44px; } h2 { font-size: 34px; } h3 { font-size: 26px; } h4 { font-size: 22px; }
.prose li { margin-bottom: 8px; }
figure { margin: 0 0 28px; }
figure.wide img { width: 100%; }
figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.btn-row { text-align: center; margin: 12px 0 32px; }
.back { margin: 0 0 16px; font-size: 14px; }
.video { position: relative; aspect-ratio: 16 / 9; margin: 0 0 28px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.home-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 1200px; }
main:has(.home-grid) { max-width: 1200px; }
.home-tile, .tile { position: relative; display: block; color: var(--ink); text-decoration: none; }
.home-tile img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.home-tile span {
  display: block; text-align: center; font: 28px var(--hand); margin-top: 10px;
}
.home-tile:hover img, .tile:hover img { opacity: .85; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; margin-bottom: 28px; }
.tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tile span { display: block; font: 22px var(--hand); margin-top: 8px; }
figure.tile { margin: 0; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.card h3 { margin-top: 0; }
.card img { width: 100%; aspect-ratio: 1; object-fit: cover; }

.gallery { columns: 3 260px; column-gap: 20px; }
.gallery figure { break-inside: avoid; margin-bottom: 20px; }

.site-footer { border-top: 1px solid var(--line); margin-top: 32px; }
.site-footer a { color: var(--ink); }

@media (max-width: 760px) {
  body { font-size: 14px; }
  .site-header { padding: 16px; }
  main { padding: 8px 16px 48px; }
  .burger { display: block; }
  .site-header nav { display: none; width: 100%; flex-direction: column; align-items: flex-start; gap: 14px; }
  #menu:checked ~ nav { display: flex; }
  .home-grid { grid-template-columns: 1fr; }
  h1 { font-size: 34px; } h2 { font-size: 28px; }
  .site-footer { padding: 24px 16px; }
}

/* Hub front page */
main:has(.hero) { max-width: 1100px; }
.hero { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: center; margin: 16px 0 48px; }
.hero > img { width: 280px; aspect-ratio: 1; object-fit: cover; border-radius: 50%; background: var(--line); }
.hero h1 { margin: 0 0 12px; }
.hero p { max-width: 560px; }
.btn.ghost { border-color: var(--ink); color: var(--ink) !important; }
.btn.ghost:hover { background: var(--ink); color: var(--bg) !important; }
section h2 { border-bottom: 1px solid var(--line); padding-bottom: 8px; margin-top: 48px; }
.chans { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.chan {
  display: grid; grid-template-columns: 24px 1fr; column-gap: 12px; align-items: center;
  border: 1px solid var(--ink); padding: 14px 16px; color: var(--ink); text-decoration: none;
}
.chan svg { grid-row: span 2; width: 22px; height: 22px; }
.chan small { color: var(--muted); font-size: 12px; }
.chan:hover { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.chan:hover small { color: var(--bg); }
.projects { display: grid; gap: 28px; }
.project { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; }
.project .cover img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--line); }
.project h3 { margin: 0 0 6px; }
.project h3 a { color: var(--ink); text-decoration: none; }
.project h3 a:hover { text-decoration: underline; }
.project p { margin: 0 0 8px; }
.status { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); }
.more { font-size: 14px; }
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; gap: 20px; text-align: center; }
  .hero > img { width: 180px; margin: 0 auto; }
  .hero p { margin-left: auto; margin-right: auto; }
  .project { grid-template-columns: 1fr; gap: 12px; }
}
.booking { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.book-card { border: 2px solid var(--accent); padding: 20px 24px; }
.book-card h3 { margin: 0 0 8px; }
.book-card p { margin: 0; }

/* Brand: neon signature on near-black */
.btn { border-color: var(--accent); }
.btn:hover { box-shadow: var(--glow); }
.site-header nav a[aria-current] { color: var(--accent); }
h1, h2, h3, h4 { color: var(--ink); }
.status { text-shadow: var(--glow); }
.hero > img { border: 3px solid var(--accent); box-shadow: var(--glow); }
.hero h1.signature { margin: 0 0 8px; }
.hero h1.signature img { border: 0; box-shadow: none; border-radius: 0; width: min(440px, 100%); height: auto; aspect-ratio: auto; object-fit: contain; background: none; margin-left: -20px; }
.chan { border-color: var(--line); background: #0d0d0d; }
.chan svg { color: var(--accent); }
.chan:hover { color: var(--bg); }
.chan:hover svg { color: var(--bg); }
.book-card { background: #0d0d0d; }
.project .cover img, .tile img, .home-tile img { border: 1px solid var(--line); }
.site-footer { align-items: center; }
.site-footer .stamp img { width: 96px; height: 96px; }
.site-footer .copy { margin-right: auto; color: var(--muted); font-size: 13px; }
::selection { background: var(--accent); color: var(--bg); }
@media (max-width: 760px) {
  .brand img { height: 48px; }
  .hero h1.signature img { margin: 0 auto; width: min(320px, 100%); }
  .hero > img { width: 180px; }
}
.hero h1.signature img { width: min(400px, 100%); margin: -30px 0 -20px -24px; }

/* ---------- A2: starry sky, softer and rounder ---------- */
:root { --card: rgba(255,255,255,.045); --card-line: rgba(255,255,255,.09); --radius: 20px; }
html { scroll-behavior: smooth; }
#sky { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
body { background: radial-gradient(ellipse at 50% -10%, #0d1a10 0%, #050505 55%) fixed; }
.site-header { position: sticky; top: 0; z-index: 10; max-width: none; padding: 14px max(4vw, calc((100vw - 1200px) / 2));
  background: rgba(5,5,5,.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.brand img { height: 64px; margin: -8px 0; }
.btn { border-radius: 999px; padding: 11px 22px; background: rgba(157,255,122,.06); }
.btn:hover { background: var(--accent); color: #050505 !important; box-shadow: var(--glow); }
.btn.ghost { border-color: rgba(255,255,255,.4); background: transparent; }
.btn.ghost:hover { background: #ecebe4; color: #050505 !important; box-shadow: none; }
.spark { color: var(--accent); text-shadow: var(--glow); font-size: .7em; vertical-align: .15em; margin-right: .2em; }
main:has(.hero) { max-width: 1100px; padding-top: 0; }
.hero { display: flex !important; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  min-height: calc(100vh - 96px); margin: 0 !important; grid-template-columns: none !important; position: relative; }
.hero h1.logo { margin: 0; }
.hero h1.logo img { width: min(620px, 92vw); height: auto; border: 0 !important; box-shadow: none !important; border-radius: 0 !important; aspect-ratio: auto !important; background: none !important; filter: drop-shadow(0 0 24px rgba(157,255,122,.18)); }
.tagline { font: 14px/1 var(--mono); letter-spacing: .35em; text-transform: uppercase; color: var(--muted); margin: 8px 0 32px; }
.hero-cta .btn { margin: 4px; }
.scroll { position: absolute; bottom: 18px; color: var(--muted); text-decoration: none; font-size: 22px; animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .scroll { animation: none; } html { scroll-behavior: auto; } }
section.band { margin: 0 0 88px; }
section.band h2 { border: 0; font-size: 36px; margin: 0 0 24px; }
.about { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: center;
  background: var(--card); border: 1px solid var(--card-line); border-radius: 28px; padding: 36px; backdrop-filter: blur(4px); }
.about .portrait { width: 220px; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 3px solid var(--accent); box-shadow: var(--glow); }
.about h2 { margin-top: 0 !important; }
.booking { gap: 20px; }
.book-card { position: relative; background: var(--card); border: 1px solid var(--card-line); border-radius: var(--radius); padding: 28px; transition: transform .2s, border-color .2s; }
.book-card:hover { transform: translateY(-3px); border-color: rgba(157,255,122,.5); }
.book-card .spark { position: absolute; top: 18px; right: 22px; font-size: 18px; }
.projects { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.project { display: flex !important; flex-direction: column; gap: 0 !important; background: var(--card); border: 1px solid var(--card-line);
  border-radius: var(--radius); overflow: hidden; transition: transform .2s, border-color .2s, box-shadow .2s; }
.project:hover { transform: translateY(-4px); border-color: rgba(157,255,122,.45); box-shadow: 0 10px 40px rgba(157,255,122,.08); }
.project .cover img { border: 0 !important; aspect-ratio: 16 / 9; border-radius: 0; }
.project .body { padding: 18px 22px 22px; }
.status { display: inline-block; font-size: 11px; padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(157,255,122,.4); text-shadow: none; margin-bottom: 10px !important; }
.chans { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.chan { display: flex; align-items: center; gap: 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--card-line); padding: 12px 20px; }
.chan span { display: flex; flex-direction: column; line-height: 1.3; }
.chan svg { grid-row: auto; flex: none; }
.chan:hover { background: var(--accent); border-color: var(--accent); box-shadow: var(--glow); }
/* subpages */
main .prose, main figure.wide, main .video, main .grid, main .cards, main .gallery { position: relative; }
.prose { background: rgba(5,5,5,.55); border-radius: var(--radius); padding: 4px 4px; }
figure.wide img, .tile img, .card img, .gallery img { border-radius: 14px; border: 0 !important; }
.video iframe { border-radius: 14px; }
.site-footer { border-top: 1px solid var(--card-line); background: rgba(5,5,5,.6); max-width: none; padding: 28px max(4vw, calc((100vw - 1200px) / 2)); }
@media (max-width: 760px) {
  .brand img { height: 50px; }
  .about { grid-template-columns: 1fr; text-align: center; padding: 24px; }
  .about .portrait { width: 160px; margin: 0 auto; }
  .tagline { letter-spacing: .2em; font-size: 12px; }
  section.band h2 { font-size: 30px; }
  .hero { min-height: calc(100svh - 80px); }
}
html { background: #050505; }
.hero { min-height: calc(92vh - 96px); }
/* Paint the sky on html so the fixed starfield canvas (z-index -1) sits above it. */
html { background: radial-gradient(ellipse at 50% -10%, #0d1a10 0%, #050505 55%) fixed, #050505; }
body { background: transparent; }

/* ---- Language switch in the header ---- */
.site-header nav a.lang { font-weight: 700; letter-spacing: .08em; opacity: .8; }
.site-header nav a.lang:hover { opacity: 1; }

/* ---- Big "under construction" rubber stamp (set "stamp" in links.json to "" to remove) ---- */
.stamp-overlay {
  position: fixed; inset: 0; z-index: 50; pointer-events: none;
  display: grid; place-items: center; overflow: hidden;
}
.stamp-overlay span {
  transform: rotate(-14deg);
  font: 700 clamp(2rem, 9vw, 6.5rem)/1 "Architects Daughter", system-ui, sans-serif;
  text-transform: uppercase; letter-spacing: .06em; white-space: nowrap;
  color: #ff4d4d; padding: .15em .45em;
  border: .09em solid currentColor; border-radius: .18em;
  box-shadow: inset 0 0 0 .04em currentColor;
  opacity: .72; mix-blend-mode: screen;
  text-shadow: 0 0 .25em rgba(255, 77, 77, .5);
  -webkit-mask-image: repeating-linear-gradient(115deg, #000 0 7px, rgba(0,0,0,.72) 7px 9px);
          mask-image: repeating-linear-gradient(115deg, #000 0 7px, rgba(0,0,0,.72) 7px 9px);
}
@media (max-width: 600px) { .stamp-overlay span { font-size: 8vw; } }
