/* Intelligence Pending — Phase 1 site styles
   Brand tokens come from the supplied spec. Do not change these values
   without the branding guide. */
:root {
  --ip-cyan: #00C2FF;   /* Electric Cyan */
  --ip-blue: #007BFF;   /* Electric Blue */
  --ip-black: #0B0D10;  /* Carbon Black */
  --ip-steel: #3A3F46;  /* Steel Gray */
  --ip-white: #FFFFFF;  /* White */
  --ip-orange: #FF7A00; /* Accent Orange */

  --ip-text: var(--ip-white);
  --ip-text-dim: #C4CAD2;
  --ip-surface: #12161B;
  --ip-line: var(--ip-steel);

  --font-head: "Orbitron", "Segoe UI", system-ui, sans-serif;
  --font-body: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --font-tech: "Roboto", "Segoe UI", system-ui, sans-serif;

  --radius: 14px;
  --max: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  background: var(--ip-black);
  color: var(--ip-text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ip-cyan); text-underline-offset: 3px; }
a:hover { color: var(--ip-white); }
:focus-visible { outline: 3px solid var(--ip-orange); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.15; letter-spacing: 0.01em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.5rem, 3.6vw, 2.25rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.tech { font-family: var(--font-tech); }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ip-orange); color: var(--ip-black); padding: 10px 14px; font-weight: 700; z-index: 100; }
.skip-link:focus { left: 12px; top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11, 13, 16, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--ip-line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.wordmark { font-family: var(--font-head); font-weight: 700; color: var(--ip-white); text-decoration: none; font-size: 1.05rem; letter-spacing: 0.04em; text-transform: uppercase; }
.wordmark span { color: var(--ip-cyan); }
.nav-toggle { display: none; background: none; border: 1px solid var(--ip-line); color: var(--ip-white); border-radius: 10px; padding: 8px 12px; font: 600 0.95rem var(--font-body); cursor: pointer; min-height: 44px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.site-nav a { display: block; padding: 10px 12px; color: var(--ip-text-dim); text-decoration: none; font-weight: 600; font-size: 0.95rem; border-radius: 10px; }
.site-nav a:hover { color: var(--ip-white); background: var(--ip-surface); }
.site-nav a[aria-current="page"] { color: var(--ip-cyan); }
@media (max-width: 820px) {
  .nav-toggle { display: inline-block; }
  .site-nav { position: absolute; left: 0; right: 0; top: 64px; background: var(--ip-black); border-bottom: 1px solid var(--ip-line); display: none; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; padding: 8px var(--gutter) 16px; }
  .site-nav a { padding: 14px 8px; font-size: 1.05rem; }
}

/* Sections */
section { padding: clamp(48px, 8vw, 96px) 0; }
.section-alt { background: var(--ip-surface); border-top: 1px solid var(--ip-line); border-bottom: 1px solid var(--ip-line); }
.eyebrow { font-family: var(--font-tech); text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.8rem; color: var(--ip-cyan); margin-bottom: 12px; display: inline-block; }
.lead { font-size: clamp(1.1rem, 2.2vw, 1.3rem); color: var(--ip-text-dim); max-width: 60ch; }

.hero { padding-top: clamp(56px, 10vw, 120px); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; background: radial-gradient(circle, rgba(0,194,255,0.18), rgba(0,123,255,0.06) 45%, transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
@media (max-width: 820px) { .hero .wrap { grid-template-columns: 1fr; } }
.hero h1 .accent { color: var(--ip-cyan); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; }
.btn-primary { background: var(--ip-cyan); color: var(--ip-black); }
.btn-primary:hover { background: var(--ip-white); color: var(--ip-black); }
.btn-ghost { border-color: var(--ip-line); color: var(--ip-white); }
.btn-ghost:hover { border-color: var(--ip-cyan); color: var(--ip-white); }

/* Artwork slot: shown until approved art from the incoming-assets pipeline is placed.
   It never draws a character or logo of its own. */
.art-slot { aspect-ratio: 4 / 5; border-radius: var(--radius); border: 1px solid var(--ip-line); background:
  linear-gradient(var(--ip-black), var(--ip-black)) padding-box,
  repeating-linear-gradient(0deg, transparent 0 23px, rgba(58,63,70,0.45) 23px 24px),
  repeating-linear-gradient(90deg, transparent 0 23px, rgba(58,63,70,0.45) 23px 24px);
  background-blend-mode: normal; position: relative; display: grid; place-items: center; text-align: center; padding: 24px; overflow: hidden; }
.art-slot::after { content: ""; position: absolute; inset: 0; background:
  repeating-linear-gradient(0deg, transparent 0 23px, rgba(58,63,70,0.35) 23px 24px),
  repeating-linear-gradient(90deg, transparent 0 23px, rgba(58,63,70,0.35) 23px 24px); pointer-events: none; }
.art-slot .slot-label { position: relative; z-index: 1; font-family: var(--font-head); font-size: clamp(1.2rem, 3vw, 1.8rem); color: var(--ip-white); }
.art-slot .slot-sub { position: relative; z-index: 1; display: block; font-family: var(--font-tech); font-size: 0.85rem; color: var(--ip-text-dim); margin-top: 8px; letter-spacing: 0.08em; text-transform: uppercase; }
.art-slot.wide { aspect-ratio: 16 / 9; }
.art-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; }

/* Cards */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 820px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.card { background: var(--ip-surface); border: 1px solid var(--ip-line); border-radius: var(--radius); padding: clamp(20px, 3vw, 28px); }
.section-alt .card { background: var(--ip-black); }
.card h3 { color: var(--ip-white); }
.card p:last-child { margin-bottom: 0; }
.card .tag { font-family: var(--font-tech); font-size: 0.78rem; color: var(--ip-orange); text-transform: uppercase; letter-spacing: 0.14em; display: block; margin-bottom: 8px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

.status { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-tech); font-size: 0.9rem; color: var(--ip-white); border: 1px solid var(--ip-line); border-radius: 999px; padding: 8px 14px; background: var(--ip-surface); }
.status .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ip-orange); box-shadow: 0 0 0 0 rgba(255,122,0,0.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,122,0,0.55); } 70% { box-shadow: 0 0 0 10px rgba(255,122,0,0); } 100% { box-shadow: 0 0 0 0 rgba(255,122,0,0); } }

.quote-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.quote-list li { border-left: 3px solid var(--ip-cyan); padding: 4px 0 4px 16px; color: var(--ip-text-dim); }

.faq details { border-bottom: 1px solid var(--ip-line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; min-height: 32px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ip-cyan); font-family: var(--font-tech); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--ip-text-dim); }

/* Bubbles (decorative, fish page only) */
.bubbles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.bubbles span { position: absolute; bottom: -40px; width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid rgba(0,194,255,0.55); animation: rise linear infinite; }
.bubbles span:nth-child(1) { left: 8%; animation-duration: 11s; }
.bubbles span:nth-child(2) { left: 22%; width: 8px; height: 8px; animation-duration: 8s; animation-delay: 2s; }
.bubbles span:nth-child(3) { left: 41%; width: 16px; height: 16px; animation-duration: 13s; animation-delay: 4s; }
.bubbles span:nth-child(4) { left: 63%; animation-duration: 10s; animation-delay: 1s; }
.bubbles span:nth-child(5) { left: 78%; width: 7px; height: 7px; animation-duration: 7s; animation-delay: 3s; }
.bubbles span:nth-child(6) { left: 91%; width: 14px; height: 14px; animation-duration: 12s; animation-delay: 5s; }
@keyframes rise { to { transform: translateY(-110vh) translateX(20px); opacity: 0; } }

/* Social */
.social-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.social-list a, .social-list span { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border: 1px solid var(--ip-line); border-radius: 999px; text-decoration: none; color: var(--ip-white); font-weight: 600; font-size: 0.95rem; }
.social-list a:hover { border-color: var(--ip-cyan); }
.social-list span { color: var(--ip-text-dim); }

/* Footer */
.site-footer { border-top: 1px solid var(--ip-line); padding: 40px 0 48px; color: var(--ip-text-dim); font-size: 0.92rem; }
.site-footer .wrap { display: grid; gap: 20px; }
.site-footer .foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: flex-start; }
.site-footer nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-footer nav a { color: var(--ip-text-dim); text-decoration: none; }
.site-footer nav a:hover { color: var(--ip-white); }
.fine { font-family: var(--font-tech); font-size: 0.8rem; color: #9AA2AC; }

.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
