/* Prometheome
   Near-black ground with navy, violet and pink light. Archivo (wide display) / Geist Mono.
   Fonts are bundled in css/fonts so the page works offline, opened straight from disk. */

@font-face {
  font-family: 'Archivo';
  src: url('fonts/archivo.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: 'Geist Mono';
  src: url('fonts/geist-mono.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --void: #05050F;
  --text: #EEEAF4;
  --soft: #BDB8D6;
  --muted: #8F8BB2;
  --rule: rgba(238, 234, 244, .12);
  --pink: #E9AEE3;
  --lilac: #BDB5F4;
  --display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'Cascadia Mono', Menlo, monospace;
  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --max: 78rem;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
html {
  background: var(--void);
  color: var(--text);
  font-family: var(--display);
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
body { margin: 0; min-height: 100vh; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
::selection { background: #954F9A; color: #fff; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 4px; }
main:focus { outline: none; }

.skip {
  position: fixed; left: 1rem; top: 1rem; z-index: 30;
  padding: .7rem 1rem; background: var(--text); color: var(--void);
  font-family: var(--mono); font-size: .85rem; text-decoration: none;
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

/* Background canvas sits behind everything; content scrolls over it. */
.field { position: fixed; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
.no-webgl body {
  background:
    radial-gradient(60% 45% at 50% 0%, rgba(110, 70, 180, .28), transparent 70%),
    radial-gradient(50% 40% at 85% 85%, rgba(149, 79, 154, .18), transparent 70%),
    radial-gradient(45% 40% at 10% 70%, rgba(20, 24, 110, .3), transparent 70%),
    var(--void);
}
main, .footer, .bar { position: relative; z-index: 1; }

/* Top bar: hidden over the hero, appears once you scroll into the content. */
.bar {
  position: fixed; inset: 0 0 auto; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  background: rgba(5, 5, 15, .74);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
  opacity: 0; transform: translateY(-.5rem); pointer-events: none;
  transition: opacity .45s, transform .6s var(--ease);
}
.bar.is-on { opacity: 1; transform: none; pointer-events: auto; }
.bar-mark { font-size: 1.15rem; font-weight: 400; font-stretch: 112%; letter-spacing: -.02em; text-decoration: none; }
.bar nav { display: flex; gap: 1.75rem; font-family: var(--mono); font-size: .8rem; }
.bar nav a { text-decoration: none; color: var(--soft); }
.bar nav a:hover { color: var(--text); }

/* Hero */
.hero {
  min-height: 100svh;
  display: grid; place-content: center; justify-items: center;
  padding: 6rem var(--gutter) 5rem;
  text-align: center;
}
.hero h1 {
  font-weight: 330; font-stretch: 112%;
  font-size: clamp(3.4rem, 10.5vw, 9.5rem); line-height: .92; letter-spacing: -.045em;
  text-shadow: 0 0 60px rgba(5, 5, 15, .65);
}
.lede {
  max-width: 44rem; margin-top: clamp(1.75rem, 4vh, 2.5rem);
  font-family: var(--mono); font-size: clamp(.86rem, 1.05vw, .96rem); line-height: 1.8;
  color: var(--soft);
  text-shadow: 0 0 24px rgba(5, 5, 15, .9);
  text-wrap: pretty;
}
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .85rem; margin-top: clamp(2rem, 5vh, 2.75rem); }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 10rem; padding: 1rem 2rem;
  border-radius: 6px;
  font-family: var(--mono); font-size: .85rem; letter-spacing: .02em; text-decoration: none;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s, background-color .3s;
}
.button:hover { transform: translateY(-1px); }
.button-solid {
  color: #12102E;
  background: linear-gradient(105deg, #F4D9F1 0%, #DCC6F4 48%, #BFC2F8 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .2) inset, 0 10px 40px -12px rgba(201, 150, 230, .55);
}
.button-solid:hover { box-shadow: 0 0 0 1px rgba(255, 255, 255, .35) inset, 0 14px 50px -10px rgba(201, 150, 230, .75); }
.button-line {
  color: var(--text);
  border: 1px solid rgba(238, 234, 244, .45);
  background: rgba(5, 5, 15, .45);
  backdrop-filter: blur(6px);
}
.button-line:hover { border-color: var(--text); background: rgba(5, 5, 15, .6); }

/* Sections */
.section {
  max-width: var(--max); margin-inline: auto;
  padding: clamp(6rem, 16vh, 10rem) var(--gutter) clamp(2rem, 6vh, 4rem);
}
.section h2 {
  font-weight: 330; font-stretch: 112%;
  font-size: clamp(2.75rem, 6.5vw, 6rem); line-height: .95; letter-spacing: -.04em;
}

.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem clamp(2.5rem, 5vw, 5rem); margin-top: clamp(2.5rem, 6vh, 4rem); }
.person { padding-top: 1.75rem; border-top: 1px solid var(--rule); }
.person h3 { font-weight: 450; font-stretch: 104%; font-size: clamp(1.4rem, 2vw, 1.75rem); line-height: 1.15; letter-spacing: -.02em; }
.meta { display: flex; flex-wrap: wrap; gap: .35rem 1.25rem; margin-top: .85rem; font-family: var(--mono); font-size: .8rem; color: var(--muted); }
.meta .creds { color: var(--pink); }
.bio { margin-top: 1.5rem; max-width: 36rem; font-size: 1rem; line-height: 1.75; color: var(--soft); }
.bio p + p { margin-top: 1em; }

.contact { margin-top: clamp(2.5rem, 6vh, 4rem); padding-top: 1.75rem; border-top: 1px solid var(--rule); }
.contact-label { font-family: var(--mono); font-size: .8rem; color: var(--muted); }
.email { margin-top: .75rem; font-weight: 300; font-stretch: 112%; font-size: clamp(1.6rem, 3.6vw, 3rem); letter-spacing: -.03em; color: var(--soft); }

.footer {
  max-width: var(--max); margin: clamp(4rem, 12vh, 8rem) auto 0;
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 1.5rem var(--gutter) 2rem;
  font-family: var(--mono); font-size: .75rem; color: var(--muted);
}
.footer a { text-decoration: none; }
.footer a:hover { color: var(--text); }

@media (max-width: 760px) {
  .people { grid-template-columns: 1fr; }
  .lede { text-align: left; }
  .hero { justify-items: stretch; text-align: left; }
  .hero h1 { font-size: 12.2vw; }
  .actions { justify-content: flex-start; }
  .button { min-width: 0; flex: 1 1 8rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bar, .button { transition: none; }
}
