/* ---------- tokens ---------- */
:root {
  --ink: #1b0f42;
  --media-dark: #120a2e;
  --panel: #3c1f8f;
  --panel-2: #5228b8;
  --line: #7a4bf0;
  --line-soft: #6636cf;
  --signal: #9d5bff;
  --signal-2: #c14fe6;
  --flare: #ddc8ff;
  --accent-2: #ff6ec7;
  --spark: #ffffff;
  --paper: #f3ecff;
  --fog: #cdb8f0;
  --fog-dim: #9078bd;

  --display: 'Unbounded', 'Arial', sans-serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', 'Consolas', monospace;

  --wrap: 1180px;
}

/* ---------- reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.bg-layer {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 850px 650px at var(--blob1-x, 90%) var(--blob1-y, 0%), rgba(221,200,255,0.34), transparent 58%),
    radial-gradient(ellipse 750px 850px at var(--blob2-x, -10%) var(--blob2-y, 35%), rgba(157,91,255,0.4), transparent 58%),
    radial-gradient(ellipse 850px 650px at var(--blob3-x, 100%) var(--blob3-y, 75%), rgba(255,255,255,0.28), transparent 58%),
    radial-gradient(ellipse 700px 700px at var(--blob4-x, 40%) var(--blob4-y, 100%), rgba(221,200,255,0.26), transparent 58%),
    var(--ink);
  transition: background-color 0.4s ease;
}
@media (prefers-reduced-motion: reduce) {
  .bg-layer { transition: none !important; }
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { font-family: var(--display); margin: 0; font-weight: 800; letter-spacing: -0.02em; }
p { margin: 0; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--flare);
  color: var(--ink);
  padding: 10px 16px;
  z-index: 999;
  font-family: var(--mono);
  font-size: 13px;
}
.skip-link:focus { left: 12px; top: 12px; }

:focus-visible {
  outline: 2px solid var(--flare);
  outline-offset: 3px;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 500;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.eyebrow {
  font-family: var(--mono);
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin: 0 0 14px;
}

.section-sub {
  color: var(--fog);
  font-size: 17px;
  max-width: 620px;
  margin: 14px 0 0;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 14.5px;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  background-clip: padding-box;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-solid { border: none; background-clip: border-box; background: linear-gradient(135deg, var(--signal), var(--flare)); color: #22104f; box-shadow: 0 8px 24px -8px rgba(157,91,255,0.65); }
.btn-solid:hover { box-shadow: 0 10px 30px -6px rgba(221,200,255,0.55); }
.btn-outline { border-color: var(--line); color: var(--paper); }
.btn-outline:hover { border-color: var(--flare); color: var(--flare); }
.btn-ghost { color: var(--fog); font-family: var(--mono); font-size: 13px; letter-spacing: 0.02em; }
.btn-ghost:hover { color: var(--flare); }
.btn-lg { padding: 15px 28px; font-size: 15.5px; }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: linear-gradient(to bottom, rgba(27,15,66,0.85), rgba(27,15,66,0));
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(27,15,66,0.92);
  border-bottom-color: var(--line-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 76px;
}

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark { width: 38px; height: 38px; }
.brand-word { font-family: var(--display); font-weight: 800; font-size: 18px; letter-spacing: -0.02em; color: var(--paper); }
.brand-word em {
  font-style: normal;
  background: linear-gradient(100deg, var(--signal-2), var(--flare));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.main-nav { display: flex; gap: 30px; margin-left: 12px; flex: 1; }
.main-nav a {
  font-size: 14.5px;
  color: var(--fog);
  font-weight: 500;
  transition: color 0.15s ease;
  position: relative;
}
.main-nav a:hover { color: var(--paper); }

.header-cta { display: flex; align-items: center; gap: 18px; margin-left: auto; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-left: auto;
  cursor: pointer;
}
.nav-toggle span { width: 18px; height: 2px; background: var(--paper); margin: 0 auto; transition: transform 0.2s ease, opacity 0.2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 10px 28px 22px;
  background: rgba(27,15,66,0.97);
  border-bottom: 1px solid var(--line-soft);
}
.mobile-nav a:not(.btn) { padding: 12px 4px; color: var(--fog); font-size: 15px; border-bottom: 1px solid var(--line-soft); }
.mobile-nav .btn { margin-top: 12px; width: fit-content; }
.mobile-nav.open {
  display: flex;
  position: fixed;
  top: 76px;
  left: 0;
  right: 0;
  height: calc(100vh - 76px);
  height: calc(100dvh - 76px);
  overflow-y: auto;
  background: var(--ink);
}
@media (max-height: 500px) {
  .mobile-nav.open {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 28px;
    align-content: start;
    padding: 6px 28px 14px;
  }
  .mobile-nav a:not(.btn) { padding: 8px 4px; }
  .mobile-nav .btn { grid-column: 1 / -1; justify-self: start; margin-top: 8px; }
}
.site-header:has(.mobile-nav.open) {
  background: rgba(27,15,66,0.97);
  border-bottom-color: var(--line-soft);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
  background: transparent;
}

.letterbox {
  position: absolute;
  left: 0; right: 0;
  height: clamp(14px, 3.2vw, 34px);
  background: #000;
  z-index: 5;
}
.letterbox-top { top: 0; }
.letterbox-bottom { bottom: 0; }

.hero-inner { position: relative; z-index: 3; max-width: 780px; }
.hero-title {
  font-size: clamp(48px, 8.4vw, 96px);
  line-height: 0.98;
  color: var(--paper);
}
.accent-text {
  background: linear-gradient(100deg, var(--signal-2), var(--flare));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  margin-top: 26px;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--fog);
  max-width: 560px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 38px; }

.scrub-track {
  position: absolute;
  left: 28px; right: 28px;
  bottom: clamp(46px, 7vw, 70px);
  height: 3px;
  background: var(--line);
  border-radius: 3px;
  z-index: 4;
}
.scrub-fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 0%;
  background: linear-gradient(90deg, var(--signal), var(--flare));
  border-radius: 3px;
}
.scrub-head {
  position: absolute; top: 50%; left: 0%;
  width: 11px; height: 11px;
  background: var(--flare);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.22);
}

/* ---------- showcase / marquee ---------- */
.showcase {
  padding: 90px 0 70px;
  border-top: 1px solid var(--line-soft);
  background: radial-gradient(ellipse 800px 500px at 85% 10%, rgba(157,91,255,0.07), transparent 60%), var(--media-dark);
}
.showcase-head h2 { font-size: clamp(28px, 4vw, 40px); color: var(--paper); margin-top: 6px; }

.marquee {
  margin-top: 40px;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 18px;
  padding: 4px 28px 20px;
  width: max-content;
  animation: marquee-scroll 90s linear infinite;
}
.marquee.is-paused .marquee-track { animation-play-state: paused; }

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.reel-card {
  position: relative;
  height: min(56vw, 360px);
  width: auto;
  border-radius: 16px;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  flex-shrink: 0;
}
.reel-video { width: 100%; height: 100%; object-fit: cover; }
.reel-meta {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px 18px;
  background: linear-gradient(to top, rgba(20,11,50,0.92), transparent);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.reel-tag { font-family: var(--mono); font-size: 13px; color: var(--accent-2); letter-spacing: 0.06em; }
.reel-title { font-weight: 600; font-size: 19px; color: var(--paper); }

.showcase-note { margin: 26px 28px 0; color: var(--fog-dim); font-size: 14px; max-width: 640px; }
.showcase-note em { color: var(--fog); font-style: normal; }

/* ---------- services / timeline ---------- */
.services { padding: 100px 0; border-top: 1px solid var(--line-soft); }
.services h2 { font-size: clamp(30px, 4.4vw, 44px); color: var(--paper); margin-top: 6px; }

.timeline { margin-top: 56px; display: flex; flex-direction: column; gap: 26px; }
.timeline-row {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 24px;
  align-items: stretch;
}
.timeline-label { display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.timeline-index { font-family: var(--mono); font-size: 12px; color: var(--fog-dim); letter-spacing: 0.08em; }
.timeline-name { font-family: var(--display); font-weight: 700; font-size: 19px; color: var(--paper); }

.timeline-track {
  display: flex;
  gap: 14px;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  padding: 14px;
}
.clip {
  display: block;
  width: 100%;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 24px;
  position: relative;
  text-align: left;
  font-family: inherit;
  color: inherit;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.15s ease;
}
.clip:hover, .clip:focus-visible { border-color: var(--flare); transform: translateY(-2px); }
.clip h3 { font-size: 18px; color: var(--paper); margin-bottom: 6px; }
.clip-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 12px; }
.clip-dur { font-family: var(--mono); font-size: 11.5px; color: var(--flare); letter-spacing: 0.05em; }
.clip-price { font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--paper); }
.clip p { margin-top: 12px; color: var(--fog); font-size: 14.5px; line-height: 1.55; }
.clip-more {
  display: block;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--flare);
}
.clip-full { flex: 1; }

.timeline-track-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }

@media (max-width: 980px) {
  .timeline-row { grid-template-columns: 1fr; }
  .timeline-track { flex-direction: column; }
  .timeline-track-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .timeline-track-4 { grid-template-columns: 1fr; }
}

/* ---------- why ---------- */
.why { padding: 90px 0; background: var(--panel); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.why-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 50px; align-items: start; }
.why-head h2 { font-size: clamp(28px, 3.6vw, 38px); color: var(--paper); margin-top: 6px; }
.why-list { display: flex; flex-direction: column; gap: 22px; }
.why-list li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  font-size: 16.5px;
  color: var(--paper);
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-soft);
}
.why-list li:last-child { border-bottom: none; padding-bottom: 0; }
.why-mark { font-family: var(--mono); font-size: 13px; color: var(--accent-2); flex-shrink: 0; padding-top: 3px; }

@media (max-width: 820px) { .why-grid { grid-template-columns: 1fr; gap: 30px; } }

/* ---------- proof: before / after ---------- */
.proof { padding: 100px 0; border-top: 1px solid var(--line-soft); }
.proof h2 { font-size: clamp(30px, 4.4vw, 44px); color: var(--paper); margin-top: 6px; }

.proof-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}
.proof-col { display: flex; flex-direction: column; gap: 16px; }

.proof-label {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--accent-2);
  padding: 7px 16px;
  border-radius: 999px;
}

.proof-media {
  position: relative;
  height: 480px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--panel);
}
.proof-scroll { height: 100%; overflow: hidden; }
.proof-scroll-track {
  display: flex;
  flex-direction: column;
  gap: 0;
  animation: proof-scroll 30s linear infinite;
}

@keyframes proof-scroll {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}
.proof-scroll-track img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: top;
  display: block;
}
.proof-video { width: 100%; height: 100%; object-fit: cover; }

.proof-caption {
  text-align: center;
  font-family: var(--mono);
  font-size: 18px;
  letter-spacing: 0.02em;
  color: var(--paper);
}

.proof-arrow {
  color: var(--accent-2);
  width: 44px;
  flex-shrink: 0;
}
.proof-arrow svg { width: 100%; height: auto; display: block; }

@media (max-width: 820px) {
  .proof-grid { grid-template-columns: 1fr; }
  .proof-arrow { width: 28px; margin: 0 auto; transform: rotate(90deg); }
  .proof-media { height: 380px; }
  .proof-scroll-track img { height: 360px; }
}

/* ---------- work / filmstrip ---------- */
.work {
  padding: 100px 0;
  background: radial-gradient(ellipse 800px 500px at 15% 90%, rgba(157,91,255,0.07), transparent 60%), var(--media-dark);
}
.work h2 { font-size: clamp(30px, 4.4vw, 44px); color: var(--paper); margin-top: 6px; }

.filmstrip { margin-top: 50px; position: relative; }
.filmstrip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--panel);
  cursor: pointer;
  padding: 0;
}
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease, opacity 0.35s ease; }
.frame:hover img, .frame:focus-visible img { transform: scale(1.06); }
.frame-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.frame-video.is-active { opacity: 1; }
.frame-tag {
  position: absolute;
  left: 12px; bottom: 12px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--paper);
  background: rgba(27,15,66,0.6);
  padding: 5px 10px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}
.frame-cta {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(135deg, var(--panel-2), var(--panel));
  padding: 22px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  color: var(--paper);
}
.frame-cta-link { font-family: var(--mono); font-weight: 400; font-size: 13px; color: var(--accent-2); }

@media (max-width: 820px) { .filmstrip-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .filmstrip-grid { grid-template-columns: 1fr 1fr; } .frame { aspect-ratio: 1; } }

/* ---------- photos ---------- */
.photos {
  padding: 100px 0;
  border-top: 1px solid var(--line-soft);
  background: radial-gradient(ellipse 800px 500px at 85% 15%, rgba(157,91,255,0.07), transparent 60%), var(--media-dark);
}
.photos h2 { font-size: clamp(30px, 4.4vw, 44px); color: var(--paper); margin-top: 6px; }

.photo-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.photo-card {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(221,200,255,0.15);
  background: var(--panel);
}
.photo-card img { width: 100%; aspect-ratio: 4 / 3; display: block; transition: transform 0.5s ease; }
.photo-card:hover img { transform: scale(1.03); }
.photo-card figcaption {
  padding: 14px 18px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--fog);
}

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

/* ---------- techniques ---------- */
.techniques {
  padding: 100px 0;
  border-top: 1px solid var(--line-soft);
  background: radial-gradient(ellipse 800px 500px at 15% 10%, rgba(157,91,255,0.07), transparent 60%), var(--media-dark);
}
.techniques h2 { font-size: clamp(28px, 4vw, 40px); color: var(--paper); margin-top: 6px; }

.technique-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.technique-card {
  display: flex;
  flex-direction: column;
}
.technique-media {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--panel);
}
.technique-video { width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.technique-media::after, .proof-after::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 56px; height: 56px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(14,8,37,0.55) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M8 5v14l11-7z' fill='white'/></svg>") no-repeat center / 22px;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}
.technique-media:not(.is-playing)::after, .proof-after:not(.is-playing)::after { opacity: 1; }
.technique-card h3 { font-size: 17px; color: var(--paper); margin: 16px 0 6px; }
.technique-card p { color: var(--fog); font-size: 14px; line-height: 1.55; margin: 0; }

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

/* ---------- about ---------- */
.about { padding: 100px 0; border-top: 1px solid var(--line-soft); }
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 50px; align-items: center; }
.about h2 { font-size: clamp(28px, 3.8vw, 40px); color: var(--paper); margin-top: 6px; }
.about p { color: var(--fog); font-size: 16px; margin-top: 18px; max-width: 520px; line-height: 1.65; }

.about-badge {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.about-badge-eyebrow { font-family: var(--mono); font-size: 12px; color: var(--accent-2); letter-spacing: 0.08em; text-transform: uppercase; }
.about-badge-main { font-family: var(--display); font-weight: 800; font-size: 34px; color: var(--paper); }
.about-badge-sub { color: var(--fog); font-size: 14px; }

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

/* ---------- contact ---------- */
.contact { padding: 100px 0 110px; border-top: 1px solid var(--line-soft); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact h2 { font-size: clamp(30px, 4.2vw, 44px); color: var(--paper); margin-top: 6px; }
.contact-intro p { color: var(--fog); margin-top: 16px; max-width: 440px; font-size: 16px; }

.contact-links { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; }
.contact-phone {
  display: inline-flex;
  flex-direction: column;
  padding: 20px 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: border-color 0.2s ease, transform 0.15s ease;
}
.contact-phone:hover { border-color: var(--flare); transform: translateY(-2px); }
.contact-phone-label { font-family: var(--mono); font-size: 12px; color: var(--fog-dim); letter-spacing: 0.06em; text-transform: uppercase; }
.contact-phone-number { font-family: var(--display); font-weight: 800; font-size: 26px; color: var(--flare); margin-top: 4px; }
.contact-email { font-size: 18px; word-break: break-all; }

.contact-form { display: flex; flex-direction: column; gap: 18px; }
.contact-form label { display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; color: var(--fog); font-family: var(--mono); letter-spacing: 0.03em; }
.contact-form input, .contact-form textarea {
  font-family: var(--body);
  font-size: 15px;
  color: var(--paper);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 16px;
  resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--flare); outline: none; }
.contact-form .btn { margin-top: 6px; align-self: flex-start; }
.form-note { font-size: 13px; color: var(--fog-dim); font-family: var(--body); margin-top: -6px; }

@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- footer ---------- */
.site-footer { padding: 46px 0; border-top: 1px solid var(--line-soft); }
.footer-inner { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; justify-content: space-between; }
.brand-footer .brand-mark { width: 30px; height: 30px; }
.brand-footer .brand-word { font-size: 17px; }
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-nav a { font-size: 14px; color: var(--fog-dim); }
.footer-nav a:hover { color: var(--flare); }
.footer-copy { font-size: 13px; color: var(--fog-dim); font-family: var(--mono); width: 100%; margin-top: 8px; text-align: center; }
@media (min-width: 720px) { .footer-copy { width: auto; margin-top: 0; text-align: right; } }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(20,11,50,0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox[hidden] { display: none; }
.lightbox video { max-width: min(90vw, 1000px); max-height: 82vh; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,0.6); }
.lightbox-close {
  position: absolute;
  top: 24px; right: 28px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--paper);
  font-size: 18px;
  cursor: pointer;
}
.lightbox-close:hover { border-color: var(--flare); color: var(--flare); }

/* ---------- tier detail modal ---------- */
.tier-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(14,8,37,0.75);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.tier-modal-backdrop[hidden] { display: none; }

.tier-modal {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: 88vh;
  overflow-y: auto;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.tier-modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(14,8,37,0.4);
  border: 1px solid var(--line);
  color: var(--paper);
  font-size: 15px;
  cursor: pointer;
  z-index: 2;
}
.tier-modal-close:hover { border-color: var(--flare); color: var(--flare); }

.tier-modal-banner {
  padding: 36px 28px 28px;
  background:
    radial-gradient(ellipse 320px 200px at 15% 0%, rgba(221,200,255,0.25), transparent 60%),
    linear-gradient(135deg, var(--signal), var(--panel-2) 75%);
  border-bottom: 1px solid var(--line);
}
.tier-modal-banner-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: #22104f;
  background: rgba(255,255,255,0.85);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.tier-modal-banner h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 30px;
  color: var(--paper);
  margin: 0;
}

.tier-modal-body { padding: 24px 28px 28px; }
.tier-modal-price {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
  color: var(--paper);
  margin-bottom: 18px;
}
.tier-modal-blurb { color: var(--fog); font-size: 14.5px; line-height: 1.6; margin: 18px 0 20px; }
.tier-modal-includes-label {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--flare);
  margin-bottom: 12px;
}
.tier-modal-list { display: flex; flex-direction: column; gap: 10px; }
.tier-modal-list li {
  position: relative;
  padding-left: 20px;
  color: var(--paper);
  font-size: 14.5px;
  line-height: 1.5;
}
.tier-modal-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--flare);
}

/* ---------- responsive nav swap ---------- */
@media (max-width: 1060px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
}
@media (min-width: 1061px) { .mobile-nav { display: none !important; } }
