/* Showcase site. Minimal: dark, white frosted-glass accent (same recipe as the HUD's .glass in extension/hud.js), no small print. System fonts only (no third-party requests). */
:root {
  color-scheme: dark;
  --bg: #07080c;
  --ink: #f4f6f9;
  --ink-2: #b9c1cc;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #ffffff;
  --accent-glow: rgba(255, 255, 255, 0.45);
  /* HUD glass recipe */
  --glass-bg: linear-gradient(155deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.04) 45%, rgba(255, 255, 255, 0.08) 100%), rgba(15, 18, 24, 0.48);
  --glass-blur: blur(32px) saturate(190%);
  --glass-border: rgba(255, 255, 255, 0.24);
  --glass-border-top: rgba(255, 255, 255, 0.42);
  --glass-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38), inset 0 -1px 0 rgba(255, 255, 255, 0.08), 0 24px 56px rgba(0, 0, 0, 0.38), 0 4px 16px rgba(0, 0, 0, 0.22);
  --sans: "SF Pro Text", system-ui, -apple-system, "Segoe UI Variable Text", "Segoe UI", Roboto, sans-serif;
  --display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --wrap: min(1120px, 100% - 48px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 18px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
::selection { background: rgba(255, 255, 255, 0.85); color: var(--bg); }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 500; letter-spacing: -0.03em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ambient light */
.aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.aurora span { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; animation: drift 26s var(--ease) infinite alternate; }
.aurora span:nth-child(1) { width: 50vw; height: 50vw; left: -14vw; top: -20vw; background: radial-gradient(circle, rgba(203, 213, 225, 0.22), transparent 65%); }
.aurora span:nth-child(2) { width: 44vw; height: 44vw; right: -14vw; top: 40vh; background: radial-gradient(circle, rgba(99, 102, 241, 0.2), transparent 65%); animation-duration: 34s; }
@keyframes drift { to { transform: translate3d(6vw, 5vh, 0) scale(1.15); } }

/* frosted glass, same as the HUD cards */
.btn, .call {
  background: var(--glass-bg); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border); border-top-color: var(--glass-border-top); box-shadow: var(--glass-shadow);
}

.btn { padding: 11px 22px; border-radius: 999px; color: var(--ink); font: 600 16px/1 var(--sans); cursor: pointer; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45); transition: background 0.25s, transform 0.25s var(--ease); }
.btn:hover { background: linear-gradient(rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.08)), var(--glass-bg); transform: translateY(-1px); }

/* nav */
.nav { width: var(--wrap); margin: 0 auto; padding: 24px 0; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; font-size: 20px; letter-spacing: -0.01em; }
.brand-mark { width: 26px; height: 26px; fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 8px var(--accent-glow)); }
@keyframes breathe { 50% { transform: scale(0.6); opacity: 0.7; } }

/* hero */
.hero { width: var(--wrap); margin: 0 auto; padding: 48px 0 40px; display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: center; }
h1 { font-size: clamp(46px, 5.4vw, 78px); line-height: 1; }
h1 em { white-space: nowrap; font-style: italic; background: linear-gradient(100deg, #ffffff, #aeb8c6 50%, #ffffff); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 0.06em; }
.lede { margin-top: 26px; color: var(--ink-2); font-size: 20px; max-width: 26em; }

.stage { margin: 0; perspective: 1600px; }
.call {
  display: block; width: 100%; padding: 10px; border-radius: 24px; cursor: zoom-in; color: inherit; font: inherit; text-align: left;
  transform: rotateY(-9deg) rotateX(4deg); transition: transform 0.8s var(--ease);
}
.stage:hover .call { transform: rotateY(-3deg) rotateX(1deg); }
.call-bar { display: flex; align-items: center; gap: 10px; padding: 4px 8px 12px; color: var(--ink-2); font-size: 16px; }
.rec { width: 9px; height: 9px; border-radius: 50%; background: #f87171; box-shadow: 0 0 10px #f87171; animation: breathe 1.6s ease-in-out infinite; }
.call img { display: block; width: 100%; height: auto; border-radius: 16px; }

/* sections */
.section { width: var(--wrap); margin: 0 auto; padding: 56px 0; }
h2 { font-size: clamp(34px, 4vw, 48px); line-height: 1.08; }
.sub { margin-top: 12px; color: var(--ink-2); font-size: 18px; }

/* features: subgrid keeps every title and every description on the same lines across columns */
.features { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto; column-gap: 40px; row-gap: 10px; }
.feature { display: grid; grid-row: span 2; grid-template-rows: subgrid; }
.features h3 { font: 500 26px/1.2 var(--display); letter-spacing: -0.02em; }
.features p { color: var(--ink-2); text-wrap: balance; }

/* sponsor: photo + one line, no card */
.sponsor { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.sponsor-photo { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 24px; }
.sponsor p { margin-top: 12px; color: var(--ink-2); font-size: 20px; }

/* logo strip under the hero */
.logos-strip { width: var(--wrap); margin: 0 auto; padding: 22px 0; border-block: 1px solid var(--line); }
.marquee { flex: 1; min-width: 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 56px; width: max-content; padding: 4px 0; animation: scroll 36s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee a { flex: none; display: block; opacity: 0.6; transition: opacity 0.3s, transform 0.3s var(--ease); }
.marquee a:hover { opacity: 1; transform: scale(1.05); }
.marquee img { display: block; width: auto; object-fit: contain; filter: brightness(0) invert(1); zoom: 0.6; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* team: round photos, centred, with name and role underneath; no card */
.team-section h2 { text-align: center; }
.team { display: flex; flex-wrap: wrap; justify-content: center; gap: 48px 80px; margin-top: 40px; }
.member { margin: 0; width: 470px; text-align: center; }
.member-photo { width: 240px; aspect-ratio: 1; margin: 0 auto; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: rgba(255, 255, 255, 0.06); font: 500 72px/1 var(--display); color: var(--ink); box-shadow: 0 0 0 1px var(--glass-border), 0 20px 50px rgba(0, 0, 0, 0.45); }
.member-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.member-name { margin-top: 24px; font: 500 30px/1.1 var(--display); }
.member-role { margin-top: 8px; color: var(--ink-2); font-size: 18px; line-height: 1.4; }

.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 24px; background: rgba(5, 6, 9, 0.88); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); animation: fade 0.35s var(--ease); }
.modal[hidden] { display: none; }
.modal-inner { display: grid; justify-items: center; gap: 22px; animation: pop 0.5s var(--ease); }
.shot-lg { max-width: min(94vw, 1500px); max-height: 82vh; border-radius: 18px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(0.95) translateY(10px); } }

.footer { width: var(--wrap); margin: 0 auto; padding: 32px 0 44px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--ink-2); font-size: 15px; opacity: 0.75; }
.footer a { color: inherit; }

/* scroll reveal */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 16px; }
  .call { transform: none; }
  .features { grid-template-columns: 1fr; grid-template-rows: none; row-gap: 28px; }
  .feature { grid-row: auto; grid-template-rows: none; gap: 8px; }
  .sponsor { grid-template-columns: 1fr; gap: 24px; }
  .team { gap: 40px; }
  .member { width: min(470px, 100%); }
  .marquee-track { gap: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee { overflow-x: auto; }
}
