/* (c) Adrian Ranta. All rights reserved. Unauthorised use, reproduction and or distribution is strictly prohibited. */

:root {
  --primary: #6845c7;
  --primary-dark: #4e35a0;
  --primary-light: #ede9f7;
  --accent: #ff9500;
  --success: #22c55e;
  --danger: #ef4444;
  --ink: #1f1a2e;
  --ink-soft: #4a4458;
  --mute: #7a758a;
  --line: #e8e4f0;
  --bg: #fafaff;
  --white: #ffffff;
  --radius: 14px;
  --shadow-sm: 0 2px 8px rgba(31, 26, 46, 0.06);
  --shadow-md: 0 10px 30px rgba(31, 26, 46, 0.08);
  --shadow-lg: 0 30px 60px rgba(31, 26, 46, 0.12);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- Header ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
}
.brand {
  font-weight: 700; font-size: 18px; color: var(--ink);
  display: flex; align-items: center; gap: 10px;
}
.brand-logo {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: grid; place-items: center;
  color: white; font-weight: 800; font-size: 14px;
  box-shadow: 0 6px 16px rgba(104, 69, 199, 0.3);
}
nav.scene-nav { display: flex; gap: 6px; flex-wrap: wrap; }
nav.scene-nav a {
  font-size: 13px; color: var(--mute);
  padding: 6px 10px; border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
nav.scene-nav a:hover { background: var(--primary-light); color: var(--primary); text-decoration: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(ellipse at top right, #7e5fd9 0%, #4e35a0 50%, #2d1e70 100%);
  color: white; padding: 90px 24px 120px;
  text-align: center;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255, 149, 0, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 60%, rgba(255, 255, 255, 0.08) 0%, transparent 40%);
  pointer-events: none;
}
.hero-inner { max-width: 820px; margin: 0 auto; position: relative; }
.tag-pill {
  display: inline-block;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 13px; letter-spacing: 0.03em;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 800; line-height: 1.05; letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.hero .sub {
  font-size: 18px; opacity: 0.9; max-width: 640px; margin: 0 auto;
}
.hero .acronym {
  margin-top: 18px; font-size: 14px; opacity: 0.78;
}
.hero .acronym b { color: #ffd580; }

/* ---------- Scope panel ---------- */
.scope {
  max-width: 1080px; margin: -60px auto 60px;
  background: white; border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 36px 40px;
  position: relative; z-index: 2;
}
.scope h2 {
  font-size: 15px; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--primary); margin-bottom: 18px;
}
.scope-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}
.scope-col h3 {
  font-size: 14px; margin-bottom: 10px; color: var(--ink);
  display: flex; align-items: center; gap: 8px;
}
.dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.dot.ok { background: var(--success); }
.dot.skip { background: var(--mute); }
.dot.star { background: var(--accent); }
.scope-col ul { list-style: none; font-size: 13.5px; color: var(--ink-soft); }
.scope-col li { margin-bottom: 8px; padding-left: 14px; position: relative; }
.scope-col li::before {
  content: '·'; position: absolute; left: 2px; top: -2px;
  color: var(--mute); font-weight: 700;
}

@media (max-width: 760px) { .scope-grid { grid-template-columns: 1fr; } }

/* ---------- Scenes ---------- */
main { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

section.scene {
  margin: 80px 0;
  scroll-margin-top: 90px;
}
.scene-num {
  font-size: 13px; color: var(--primary); font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 8px;
}
.scene h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800; letter-spacing: -0.01em;
  color: var(--ink); margin-bottom: 10px;
}
.scene .lead {
  font-size: 17px; color: var(--ink-soft);
  max-width: 760px; margin-bottom: 28px;
}
.scene-shot {
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: white;
  box-shadow: var(--shadow-md);
  margin-bottom: 22px;
}
.scene-shot.stack { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; border: 0; background: transparent; box-shadow: none; }
.scene-shot.stack img {
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
@media (max-width: 720px) { .scene-shot.stack { grid-template-columns: 1fr; } }

.capabilities {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.cap {
  background: white; border: 1px solid var(--line);
  border-radius: 12px; padding: 18px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.cap:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.cap h4 {
  font-size: 15px; color: var(--ink); margin-bottom: 6px;
  display: flex; align-items: center; gap: 8px;
}
.cap-icon {
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--primary-light); color: var(--primary);
  display: grid; place-items: center;
  font-weight: 700; font-size: 14px; flex-shrink: 0;
}
.cap p { font-size: 13.5px; color: var(--ink-soft); }

/* ---------- Pull quote ---------- */
.quote {
  margin: 30px 0 0;
  border-left: 3px solid var(--primary);
  padding: 8px 0 8px 20px;
  font-style: italic; color: var(--ink-soft);
  font-size: 16px;
}

/* ---------- Close ---------- */
.close {
  margin: 100px auto 0; max-width: 980px; padding: 0 24px;
  text-align: center;
}
.close .panel {
  background: linear-gradient(135deg, #6845c7, #4e35a0);
  color: white; border-radius: 20px;
  padding: 60px 40px;
  box-shadow: var(--shadow-lg);
}
.close h2 { font-size: 32px; margin-bottom: 14px; letter-spacing: -0.01em; }
.close p { opacity: 0.92; max-width: 640px; margin: 0 auto 28px; }
.cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: white; color: var(--primary-dark);
  padding: 14px 26px; border-radius: 999px;
  font-weight: 700; font-size: 15px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.cta:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,0.2); text-decoration: none; }

/* ---------- Footer ---------- */
footer.site-footer {
  margin-top: 80px; padding: 40px 24px;
  text-align: center; color: var(--mute);
  font-size: 13px;
  border-top: 1px solid var(--line);
}

/* ---------- Utilities ---------- */
.badge {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.02em;
  background: var(--primary-light); color: var(--primary);
  margin-left: 8px; vertical-align: middle;
}
.badge.accent { background: #fff1d9; color: #a05a00; }
