/* Pink Goldfish: coming-soon page shown to the public while the site is built behind the gate.
   Colours and the brick wall come from mockups/assets/css/tokens.css and base.css (.hero__wall),
   so the page matches the real site. No scripts, no cookies, no third-party requests. */

@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 700; font-display: swap; src: url('unbounded-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 100 900; font-display: swap; src: url('fraunces-latin-wght-italic.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('inter-latin-wght-normal.woff2') format('woff2'); }

:root {
  color-scheme: dark;
  --bg-deep: #08080c;
  --text: #f0f0f5;
  --text-muted: #9a9ab0;
  --pink: #ff2d7a;
  --pink-text: #ff6ea8;
  --pink-core: #ffd6e6;
  --pink-glow: rgba(255, 45, 122, .45);
  --cyan: #06b6d4;
  --cyan-bright: #00e5ff;
  --cyan-glow: rgba(0, 229, 255, .35);
  --gold: #ffb547;
  --gold-glow: rgba(255, 181, 71, .4);
  --wall-brick: #1a1317;
  --wall-brick-2: #21181e;
  --wall-mortar: #0a090c;
  --wall-dark: rgba(8, 8, 12, .5);
  --wall-tint-pink: rgba(255, 45, 122, .22);
  --wall-tint-cyan: rgba(0, 229, 255, .14);
  --fish-glow: drop-shadow(0 0 4px var(--pink)) drop-shadow(0 0 14px var(--pink-glow)) drop-shadow(0 0 36px var(--pink-glow));
  --font-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --font-title: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  min-height: 100dvh; display: flex; flex-direction: column;
  background: var(--bg-deep); color: var(--text);
  font: 400 1rem/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}

/* ---- The brick wall (same recipe as base.css .hero__wall) ---------------- */
.wall {
  position: relative; isolation: isolate; flex: 1;
  display: grid; place-items: center;
  padding: clamp(32px, 6vh, 72px) 16px;
  overflow: hidden;
  background-color: var(--wall-brick);
  background-image:
    radial-gradient(70% 60% at 50% 42%, transparent 30%, rgba(8, 8, 12, .85) 100%),
    linear-gradient(var(--wall-dark), var(--wall-dark)),
    radial-gradient(55% 50% at 50% 36%, var(--wall-tint-pink), transparent 70%),
    radial-gradient(45% 60% at 0% 100%, var(--wall-tint-cyan), transparent 70%),
    radial-gradient(40% 50% at 100% 0%, var(--wall-tint-cyan), transparent 70%),
    repeating-linear-gradient(180deg, var(--wall-mortar) 0 3px, transparent 3px 32px),
    conic-gradient(from 0deg at 3px 32px, transparent 0deg 270deg, var(--wall-mortar) 270deg 360deg),
    conic-gradient(from 0deg at 47px 32px, transparent 0deg 90deg, var(--wall-brick-2) 90deg 180deg, transparent 180deg),
    conic-gradient(from 0deg at 44px 32px, transparent 0deg 90deg, var(--wall-mortar) 90deg 180deg, transparent 180deg);
  background-size: auto, auto, auto, auto, auto, auto, 88px 64px, 88px 64px, 88px 64px;
}
.wall::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("noise.svg"); opacity: .5; mix-blend-mode: overlay;
}

/* ---- The sign ------------------------------------------------------------ */
.sign { text-align: center; max-width: 760px; }
.fish {
  display: block; width: min(78vw, 460px); height: auto; margin: 0 auto clamp(12px, 3vh, 28px);
  filter: var(--fish-glow);
  animation: switch-on 1.6s steps(1, end) .2s both, hum 6s ease-in-out 2s infinite;
  user-select: none;
}

.name {
  margin: 0; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2rem, 8.5vw, 4.25rem); line-height: 1.05; letter-spacing: .02em; text-transform: uppercase;
}
.name__pink {
  color: var(--pink-core);
  text-shadow: 0 0 2px #fff, 0 0 8px var(--pink), 0 0 24px var(--pink-glow), 0 0 56px var(--pink-glow);
}
.name__gold {
  color: #fff1d6;
  text-shadow: 0 0 2px #fff, 0 0 8px var(--gold), 0 0 24px var(--gold-glow), 0 0 56px var(--gold-glow);
}

.soon {
  display: inline-block; margin: clamp(18px, 4vh, 36px) 0 0; padding: .35em 1.1em .4em;
  font-family: var(--font-title); font-style: italic; font-weight: 400;
  font-size: clamp(1.5rem, 5vw, 2.4rem); line-height: 1.1;
  color: #d9fbff;
  border: 2px solid var(--cyan-bright); border-radius: 999px;
  box-shadow: 0 0 6px var(--cyan-bright), 0 0 22px var(--cyan-glow), inset 0 0 12px var(--cyan-glow);
  text-shadow: 0 0 2px #fff, 0 0 8px var(--cyan-bright), 0 0 22px var(--cyan-glow);
}
.soon__flicker { animation: flicker 7s linear 2.4s infinite; }

.hook {
  margin: clamp(18px, 4vh, 32px) auto 0; max-width: 34ch;
  color: var(--text-muted); font-size: clamp(1rem, 2.6vw, 1.15rem);
  text-wrap: balance;
}

.foot {
  padding: 16px; text-align: center; font-size: .8125rem; color: var(--text-muted);
  background: var(--bg-deep); border-top: 1px solid #2a2a38;
}
.foot p { margin: 0; }

/* ---- The 404 page (404.html): the same sign with the tube switched off -------- */
.fish--lost {
  width: min(56vw, 300px); opacity: .55;
  filter: drop-shadow(0 0 2px var(--pink)) drop-shadow(0 0 8px var(--pink-glow)) grayscale(.35);
  animation: none;
}
.eyebrow {
  margin: 0 0 .6em; font-size: .8125rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--cyan-bright); text-shadow: 0 0 8px var(--cyan-glow);
}
.name--lost { font-size: clamp(1.6rem, 6.5vw, 3.25rem); }
.back { margin: clamp(22px, 4vh, 36px) 0 0; }
.btn {
  display: inline-block; min-height: 44px; padding: .7em 1.6em;
  font: 600 1rem/1.3 var(--font-body); color: var(--pink-core); text-decoration: none;
  border: 2px solid var(--pink); border-radius: 999px;
  box-shadow: 0 0 6px var(--pink), 0 0 20px var(--pink-glow), inset 0 0 10px var(--pink-glow);
  transition: background-color .15s, color .15s;
}
.btn:hover { background: var(--pink); color: var(--bg-deep); }
.btn:focus-visible { outline: 3px solid var(--cyan-bright); outline-offset: 4px; }

/* ---- Neon behaviour -------------------------------------------------------- */
@keyframes switch-on {            /* the tube catches on page load */
  0%   { opacity: 0; }
  12%  { opacity: .8; }
  16%  { opacity: .1; }
  24%  { opacity: 1; }
  28%  { opacity: .3; }
  36%, 100% { opacity: 1; }
}
@keyframes hum {                  /* a slow breath in the glow */
  0%, 100% { filter: var(--fish-glow); }
  50% { filter: drop-shadow(0 0 3px var(--pink)) drop-shadow(0 0 10px var(--pink-glow)) drop-shadow(0 0 26px var(--pink-glow)); }
}
@keyframes flicker {              /* "soon" stutters now and then, like a tired tube */
  0%, 90%, 100% { opacity: 1; }
  91% { opacity: .25; }
  92% { opacity: 1; }
  93.5% { opacity: .4; }
  94.5% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .fish, .soon__flicker { animation: none; }
}
