/* ─────────────────────────────────────────────────────────────
   tylerlonergan.com — shared styles
   index.html (homepage / two doors) + toys.html (launchpad)
   ───────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy-darkest: #080f22;
  --navy-dark:    #0d1b3e;
  --navy-mid:     #162952;
  --navy-line:    rgba(69,184,232,0.08);
  --blue-bright:  #45b8e8;
  --white:        #f0f6ff;
  --white-80:     rgba(240,246,255,0.80);
  --white-60:     rgba(240,246,255,0.60);
  --white-45:     rgba(240,246,255,0.45);
  --white-32:     rgba(240,246,255,0.32);
  --white-22:     rgba(240,246,255,0.22);
  --white-12:     rgba(240,246,255,0.12);

  --whiskey:  #f0a030;
  --ammo:     #7ec87e;
  --n8n:      #ea4b71;
  --football: #38bdf8;
}

html, body {
  width: 100%; min-height: 100%;
  background: var(--navy-darkest);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Atmospheric layers ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(69,184,232,0.08), transparent 60%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(69,184,232,0.04), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ── Header ── */
.site-header {
  padding: 36px 0 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.wordmark {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--blue-bright);
}

.wordmark a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s;
}
.wordmark a:hover { opacity: 0.7; }

/* ── Status slot ── */
.status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: var(--white-32);
  letter-spacing: 0.08em;
  white-space: nowrap;
  padding: 6px 12px;
  border: 1px solid var(--navy-line);
  background: rgba(13,27,62,0.4);
  clip-path: polygon(0 6px, 6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #7ec87e;
  box-shadow: 0 0 6px #7ec87e;
  animation: pulse 2.4s infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

/* ── Footer ── */
.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--navy-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.site-footer span {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--white-22);
}

/* ── Animations ── */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── Mobile ── */
@media (max-width: 720px) {
  .page { padding: 0 20px; }
  .site-header { padding: 24px 0 0; }
  .status { display: none; }
  .site-footer { padding: 24px 0 28px; }
}
