/* Icarus Machines — stealth page styles
 * Identity:
 *   ink       #0A0908
 *   gold      #C29B61
 *   gold-dim  #7A6038
 * Type: Saira (display) + JetBrains Mono (system labels)
 */

:root {
  --ink: #0A0908;
  --gold: #C29B61;
  --gold-dim: #7A6038;
  --gold-soft: rgba(194, 155, 97, 0.15);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: var(--ink); }
body {
  min-height: 100svh;
  background: var(--ink);
  color: var(--gold);
  font-family: 'Saira', system-ui, sans-serif;
  font-weight: 500;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Page is a single column: status (top), hero (centered), footer (bottom). */
main {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: clamp(20px, 4vw, 40px);
  gap: 0;
}

/* Top — status dot, right-aligned */
.top {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--gold-dim);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.status .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-soft);
  animation: pulse 3.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px var(--gold-soft); }
  50%      { box-shadow: 0 0 0 5px var(--gold-soft); }
}

/* Hero — centered mark, wordmark, tagline */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(36px, 5vw, 64px);
  padding: clamp(40px, 8vh, 80px) 0;
}
.mark {
  width: clamp(180px, 22vw, 280px);
  height: auto;
  display: block;
}
.wm-block {
  display: flex; flex-direction: column; align-items: center;
  gap: clamp(20px, 3vw, 30px);
}
.wm-top {
  font-size: clamp(40px, 5.4vw, 64px);
  letter-spacing: 0.34em;
  padding-left: 0.34em;
  font-weight: 600;
  line-height: 1;
  text-align: center;
}
.wm-bot {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(12px, 2vw, 18px);
  margin-top: clamp(12px, 1.6vw, 18px);
}
.wm-bot .bar {
  height: 1px;
  width: clamp(28px, 5vw, 56px);
  background: var(--gold-dim);
}
.wm-bot .sub {
  font-size: clamp(14px, 1.6vw, 22px);
  letter-spacing: 0.5em;
  padding-left: 0.5em;
  color: var(--gold-dim);
  font-weight: 500;
}

/* Tagline — three monospace labels separated by dots */
.tagline {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(10px, 0.95vw, 12px);
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(10px, 1.4vw, 18px);
}
.tagline .sep {
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--gold-dim);
}

/* Footer — slogan + locale/email */
.foot {
  display: flex; flex-direction: column; align-items: center;
  gap: clamp(20px, 3vw, 36px);
  padding-top: clamp(40px, 6vh, 64px);
}
.slogan {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(11px, 1vw, 13px);
  letter-spacing: 0.26em;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 500;
}
.meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(10px, 0.85vw, 12px);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dim);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(14px, 2vw, 24px);
}
.meta .dot-sep {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--gold-dim);
}
.meta a {
  color: var(--gold);
  text-decoration: none;
  transition: color 160ms ease;
}
.meta a:hover, .meta a:focus-visible {
  color: #E0BE8A;
  outline: none;
}

/* Quiet entrance — page fades up once, no looping motion */
.hero, .top, .foot { opacity: 0; animation: rise 900ms 100ms cubic-bezier(0.2, 0.7, 0.3, 1) forwards; }
.hero { animation-delay: 220ms; }
.foot { animation-delay: 340ms; }
@keyframes rise {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero, .top, .foot { opacity: 1; animation: none; transform: none; }
  .status .dot { animation: none; }
}

/* Small-screen polish: hide secondary structure that adds clutter */
@media (max-width: 480px) {
  main { padding: 20px 18px; }
  .tagline { font-size: 10px; letter-spacing: 0.28em; gap: 10px; }
  .tagline .sep { width: 2px; height: 2px; }
}
