/* =========================================================================
   SHARED DESIGN — used by BOTH the decoy test page and the final real page.
   This file IS the look-and-feel. Approve it once; the real page links the
   exact same file, so the static elements can never drift from what's signed off.
   Only the HTML *content* differs between decoy and final.
   ========================================================================= */

:root {
  --bg: #0e0e12;
  --bg2: #14141b;
  --card: #1a1a22;
  --ink: #f4f4f6;
  --muted: #a0a0ad;
  --accent: #ff5a3c;
  --accent2: #ffb03c;
  --accent3: #ff5d8f;
  --line: #2a2a36;
  --chip: #24242f;
  --radius: 16px;
  --maxw: 640px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at 50% -10%, #1d1d28 0%, transparent 60%),
    var(--bg);
  background-attachment: fixed;
  color: var(--ink);
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 24px 18px 64px; position: relative; z-index: 1; }

/* ---- faint photo backdrop (image is per-page content) ---- */
.bg-photo {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: var(--bg-image, none) center top / cover no-repeat;
  opacity: .3;
}
/* darken top + bottom so text/cards keep contrast over the photo */
.bg-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,14,18,.55) 0%, rgba(14,14,18,0) 35%, rgba(14,14,18,.7) 100%);
}

/* ---- gentle drifting backdrop (static element; glyphs are set per-page) ---- */
.sky { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.blob { position: absolute; font-size: 2.4rem; opacity: .22; filter: saturate(.7);
        animation: drift 20s ease-in-out infinite; }
.blob:nth-child(1){ left:7%;  top:16%; animation-delay:0s;   }
.blob:nth-child(2){ left:84%; top:12%; animation-delay:-5s;  font-size:1.8rem; }
.blob:nth-child(3){ left:72%; top:62%; animation-delay:-10s; }
.blob:nth-child(4){ left:14%; top:74%; animation-delay:-15s; font-size:2.6rem; }
@keyframes drift {
  0%,100% { transform: translateY(0) rotate(-4deg); }
  50%     { transform: translateY(-22px) rotate(4deg); }
}

/* ---- header ---- */
header { text-align: center; padding: 18px 0 8px; animation: rise .6s ease both; }
header .kicker {
  display: inline-block; color: var(--accent); font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; font-size: .78rem;
}
header h1 {
  font-size: 2.4rem; margin: 8px 0 2px; line-height: 1.05;
  background: linear-gradient(90deg, var(--accent2), var(--accent), var(--accent3), var(--accent2));
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 8s linear infinite;
}
@keyframes shimmer { to { background-position: 300% 0; } }
header .date { color: var(--ink); font-size: 1.05rem; font-weight: 600; }
header .tag { color: var(--muted); font-size: .95rem; margin-top: 10px; }

/* ---- banner ---- */
.banner {
  background: linear-gradient(180deg, #20202b, var(--chip));
  border: 1px solid var(--line);
  border-radius: var(--radius); padding: 14px 16px; margin: 22px 0;
  font-size: .95rem; text-align: center;
}
.banner strong { color: var(--accent); }

/* ---- timeline ---- */
.timeline { list-style: none; margin: 0; padding: 0; }
.stop {
  background: rgba(26, 26, 34, .42);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius); padding: 18px; margin-bottom: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
  opacity: 0; transform: translateY(16px);
  transition: opacity .55s ease, transform .55s ease, box-shadow .2s ease, border-color .2s ease;
}
.stop.show { opacity: 1; transform: translateY(0); }
.stop:hover { box-shadow: 0 16px 40px rgba(0,0,0,.4); transform: scale(1.02); }
.stop .time { color: var(--accent); font-weight: 700; font-size: .92rem; letter-spacing: .02em; }
.stop .title { font-size: 1.25rem; font-weight: 700; margin: 4px 0 8px; }
.stop .desc { color: var(--muted); font-size: .95rem; margin: 10px 0 0; }

.meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.chip {
  background: var(--chip); border: 1px solid var(--line);
  border-radius: 999px; padding: 4px 12px; font-size: .82rem; color: var(--ink);
}

.map-link, .call-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--accent); text-decoration: none; font-weight: 600; font-size: .92rem;
}
.map-link:hover, .call-link:hover { text-decoration: underline; }

/* plain, non-clickable location line */
.loc {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--muted); font-size: .9rem; margin-top: 2px;
}

/* ---- contacts ---- */
.contacts {
  margin-top: 28px;
  background: rgba(26, 26, 34, .42);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px;
}
.contacts h2 { font-size: 1.1rem; margin: 0 0 10px; }
.contacts ul { list-style: none; margin: 0; padding: 0; }
.contacts li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .95rem;
}
.contacts li:last-child { border-bottom: 0; }
.contacts .who { color: var(--muted); }

footer { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 36px; }
footer .big { font-size: 1.4rem; display: block; margin-bottom: 6px; opacity: .9; }

@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ---- mobile: tiles are near full-width, so push the drifting glyphs to the
   edges + top/bottom and size them up so they read around/through the tiles ---- */
@media (max-width: 680px) {
  /* nudge the photo down the frame so his head doesn't poke the first tile's edge */
  .bg-photo { background-position: center 28%; }
  .blob { opacity: .28; font-size: 3rem; }
  .blob:nth-child(1){ left: 2%;  top: 9%;  }
  .blob:nth-child(2){ left: 84%; top: 5%;  font-size: 2.6rem; }
  .blob:nth-child(3){ left: 82%; top: 88%; }
  .blob:nth-child(4){ left: 2%;  top: 92%; font-size: 3.2rem; }
}

/* ---- respect reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  .blob, header h1, header { animation: none !important; }
  .stop { opacity: 1 !important; transform: none !important; transition: box-shadow .2s ease; }
}
