:root {
  --bg: #030308;
  --cyan: #00ffe0;
  --cyan-dim: rgba(0, 255, 224, .35);
  --gold: #c9a227;
  --text: #e8e8f0;
  --dim: rgba(232, 232, 240, .62);
  --line: rgba(232, 232, 240, .12);
  --card: rgba(8, 10, 16, .72);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { background: var(--bg); color: var(--text); }
body {
  font-family: 'Share Tech Mono', ui-monospace, monospace;
  overflow-x: hidden;
  min-height: 100%;
}
img { max-width: 100%; display: block; }
a { color: var(--cyan); }
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 1px solid var(--cyan); outline-offset: 3px;
}

#shader, #constellation {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  transition: opacity .7s ease;
}
#shader { z-index: 0; background: transparent; }
#constellation { z-index: 1; }
.wrap { position: relative; z-index: 2; }

/* Always-on poster so a missing context or reduced motion still has a field. */
body {
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 70% 60% at 68% 42%, rgba(0, 255, 224, .10), transparent 58%),
    radial-gradient(ellipse 50% 45% at 22% 28%, rgba(255, 0, 80, .07), transparent 55%),
    radial-gradient(ellipse 40% 35% at 78% 78%, rgba(201, 162, 39, .05), transparent 60%),
    linear-gradient(180deg, #030308 0%, #070710 50%, #030308 100%);
  background-attachment: fixed;
}
html.no-webgl #shader { display: none; }
html.hero-away #shader { opacity: .18; }
html.hero-away #constellation { opacity: .12; }

/* Shader-like section rules and package hover accents. */
section { position: relative; }
section + section::before {
  content: '';
  position: absolute; left: clamp(24px, 6vw, 88px); right: clamp(24px, 6vw, 88px); top: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(0, 255, 224, .28) 22%,
    rgba(255, 0, 80, .16) 58%,
    rgba(201, 162, 39, .14) 78%,
    transparent 100%);
  pointer-events: none;
}
.pack {
  position: relative;
  transition: border-color .35s, box-shadow .35s;
}
.pack::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(600px 200px at var(--mx, 50%) var(--my, 0%),
    rgba(0, 255, 224, .10), transparent 60%);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.pack:hover { border-color: var(--cyan-dim); box-shadow: 0 0 42px rgba(0, 255, 224, .08); }
.pack:hover::after { opacity: 1; }

/* NAV */
.site-nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 14px 28px;
  background: linear-gradient(to bottom, rgba(3,3,8,.92), rgba(3,3,8,.55) 70%, transparent);
  backdrop-filter: blur(6px);
}
.logo {
  font-family: 'Special Elite', serif;
  color: #fff; text-decoration: none;
  letter-spacing: .18em; font-size: 14px;
}
.logo span { color: var(--cyan); }
.site-nav nav { display: flex; gap: clamp(12px, 2vw, 28px); flex-wrap: wrap; }
.site-nav nav a {
  color: var(--dim); text-decoration: none;
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
}
.site-nav nav a:hover { color: var(--cyan); }

/* HERO */
.hero {
  position: relative;
  min-height: calc(100vh - 56px);
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(48px, 8vw, 120px) clamp(24px, 6vw, 88px) 80px;
  max-width: 1100px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 8% 40% 10% -8%;
  background: radial-gradient(ellipse at 20% 50%, rgba(3, 3, 8, .72), rgba(3, 3, 8, .28) 55%, transparent 75%);
  pointer-events: none; z-index: -1;
}
.eyebrow {
  font-size: 11px; letter-spacing: .46em; text-transform: uppercase;
  color: var(--cyan-dim); margin-bottom: 18px;
}
.hero h1 {
  font-family: 'Special Elite', serif;
  font-size: clamp(36px, 7vw, 86px);
  line-height: .95; font-weight: 400;
  color: #fff; max-width: 14ch;
  text-shadow: -2px 0 0 rgba(255,0,80,.28), 2px 0 0 rgba(0,255,224,.2);
}
.lede {
  margin-top: 22px; max-width: 52ch;
  color: var(--dim); font-size: 14px; line-height: 1.7;
}
.shader-line {
  margin-top: 16px; max-width: 52ch;
  color: var(--cyan); font-size: 13px; letter-spacing: .04em;
  opacity: .88;
}
.cta-row { margin-top: 32px; display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.cta {
  display: inline-block;
  color: #030308; background: var(--cyan);
  text-decoration: none; border: 1px solid var(--cyan);
  padding: 12px 22px;
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
}
.cta:hover { background: transparent; color: var(--cyan); }
.cta-ghost {
  color: var(--dim); text-decoration: none;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
}
.cta-ghost:hover { color: var(--cyan); }

/* SECTIONS */
section { padding: 88px clamp(24px, 6vw, 88px); }
section h2 {
  font-family: 'Special Elite', serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 400; margin-bottom: 12px;
}
.section-intro { color: var(--dim); max-width: 58ch; margin-bottom: 40px; line-height: 1.7; font-size: 14px; }

/* PACKAGES */
.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pack {
  border: 1px solid var(--line);
  background: var(--card);
  padding: 28px 24px 32px;
  display: flex; flex-direction: column; gap: 14px;
}
.pack.featured { border-color: var(--cyan-dim); box-shadow: 0 0 0 1px rgba(0,255,224,.12); }
.pack h3 { font-family: 'Special Elite', serif; font-size: 26px; font-weight: 400; }
.price {
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan);
}
.price strong { font-size: 28px; letter-spacing: 0; font-family: 'Special Elite', serif; font-weight: 400; color: #fff; }
.pack p { color: var(--dim); font-size: 13px; line-height: 1.6; }
.pack ul { list-style: none; color: var(--text); font-size: 13px; line-height: 1.7; }
.pack ul li::before { content: '— '; color: var(--cyan); }
.pack .cta { margin-top: auto; align-self: flex-start; }
.vat-note { margin-top: 22px; color: var(--dim); font-size: 12px; max-width: 70ch; line-height: 1.6; }

/* WORK */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}
.case {
  display: block; text-decoration: none; color: inherit;
  border: 1px solid var(--line); background: var(--card);
  overflow: hidden; transition: border-color .2s, transform .2s;
}
.case:hover { border-color: var(--cyan-dim); transform: translateY(-2px); }
.case img { width: 100%; aspect-ratio: 16/10; object-fit: cover; object-position: top center; background: #000; }
.case figcaption { padding: 14px 16px 16px; }
.case h3 { font-family: 'Special Elite', serif; font-size: 20px; font-weight: 400; }
.case p { color: var(--dim); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; margin-top: 4px; }

/* HOW */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { border-top: 1px solid var(--cyan-dim); padding-top: 18px; }
.step .n { color: var(--cyan); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.step h3 { font-family: 'Special Elite', serif; font-size: 24px; font-weight: 400; margin: 8px 0 10px; }
.step p { color: var(--dim); font-size: 13px; line-height: 1.7; }

/* FORM */
.inquiry { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
form { display: grid; gap: 14px; }
label { display: grid; gap: 6px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
input, select, textarea {
  font: inherit; color: var(--text); background: rgba(0,0,0,.45);
  border: 1px solid var(--line); padding: 10px 12px; width: 100%;
}
textarea { min-height: 140px; resize: vertical; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-status { min-height: 1.4em; font-size: 13px; color: var(--cyan); }
.form-status.error { color: #ff6b8a; }
button.cta { cursor: pointer; border: 1px solid var(--cyan); justify-self: start; }

/* FOOTER */
footer { padding: 72px clamp(24px, 6vw, 88px) 40px; border-top: 1px solid var(--line); }
.worlds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 20px 0 48px; }
.world {
  border: 1px solid var(--line); padding: 20px; text-decoration: none; color: inherit;
  display: block;
}
a.world:hover { border-color: var(--cyan-dim); }
.world h3 { font-family: 'Special Elite', serif; font-size: 22px; font-weight: 400; }
.world p { color: var(--dim); font-size: 12px; margin-top: 8px; line-height: 1.6; }
.world .soon { color: var(--gold); letter-spacing: .14em; text-transform: uppercase; font-size: 10px; }
.log { border-left: 2px solid var(--cyan-dim); padding: 4px 0 4px 18px; max-width: 62ch; margin-bottom: 40px; }
.log time { color: var(--cyan); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.log p { color: var(--dim); font-size: 13px; line-height: 1.7; margin-top: 6px; }
.legal { color: var(--dim); font-size: 11px; letter-spacing: .06em; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.legal a { color: inherit; text-decoration: none; }
.legal a:hover { color: var(--cyan); }

@media (max-width: 900px) {
  .packages, .steps, .worlds, .inquiry { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 72px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .case, .pack { transition: none; }
  #shader, #constellation { transition: none; }
}
