/* =========================================================
   LIGHTSYNCEVENT — Stylesheet
   ========================================================= */

:root {
  --bg: #050507;
  --bg-deep: #020203;
  --ink: #f4f6fb;
  --ink-dim: #d2d6e0;
  --ink-faint: #8d93a2;

  --accent: #6ad8ff;    /* cyan light */
  --accent-2: #ff4ed8;  /* magenta */
  --accent-3: #ffd76a;  /* warm filament */

  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.18);

  --glass: rgba(255, 255, 255, 0.04);
  --glass-strong: rgba(255, 255, 255, 0.08);

  --radius: 14px;

  --font: 'Orbitron', system-ui, -apple-system, Segoe UI, sans-serif;

  --max: 1240px;
}

* { box-sizing: border-box; }

/* Lenis is in charge of scrolling — turn off native smooth-scroll so
   they don't fight each other. Native anchor jumps go through Lenis. */
html.lenis,
html.lenis body {
  height: auto;
}
html.lenis-smooth { scroll-behavior: auto; }
html.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
html.lenis-stopped { overflow: clip; }
html.lenis-scrolling iframe { pointer-events: none; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body { min-height: 100vh; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--accent); color: #000; }

/* ============================ CANVAS ============================ */

#webgl {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  display: block;
  pointer-events: none;
}

/* Atmosphere overlay: vignette + faint color grading.
   Pulls the edges into shadow so text always reads against
   a darkened patch, while the centre still shows the glass. */
.atmosphere {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background:
    /* corner shading — darkens behind nav & footer */
    radial-gradient(120% 80% at 50% 10%, transparent 0%, rgba(0,0,0,0.25) 45%, rgba(0,0,0,0.9) 100%),
    /* faint colour wash */
    radial-gradient(60% 40% at 20% 90%, rgba(106, 216, 255, 0.05), transparent 60%),
    radial-gradient(60% 40% at 80% 30%, rgba(255, 78, 216, 0.04), transparent 60%);
}

/* Reading layer: a softer, content-side darkening that sits
   below sections so paragraphs/labels stay legible over the
   moving glass tetrahedron. Lives behind content but in front
   of the canvas. */
.read-veil {
  position: fixed; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(180deg,
      rgba(5,5,7,0.55) 0%,
      rgba(5,5,7,0.15) 18%,
      rgba(5,5,7,0.15) 82%,
      rgba(5,5,7,0.7) 100%);
}

.scanlines {
  position: fixed; inset: 0; z-index: 2; pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.012) 0px,
    rgba(255,255,255,0.012) 1px,
    transparent 1px,
    transparent 3px
  );
  mix-blend-mode: overlay;
  opacity: 0.6;
}

/* ============================ LOADER ============================ */

#loader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--bg-deep);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 28px;
  transition: opacity .6s ease, visibility .6s ease;
}
#loader.gone { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-bulb {
  animation: float 2.4s ease-in-out infinite;
  filter: drop-shadow(0 0 18px rgba(255, 215, 106, 0.45));
}
.loader-bulb .rays {
  transform-origin: 50px 60px;
  animation: spin 8s linear infinite;
  opacity: 0.85;
}

.loader-text {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.6em;
  padding-left: 0.6em;
}
.loader-text span { color: var(--accent); }

.loader-bar {
  width: 200px; height: 1px;
  background: rgba(255,255,255,0.1);
  overflow: hidden;
}
.loader-bar span {
  display: block; height: 100%; width: 30%;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: load 1.2s linear infinite;
}

@keyframes float { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-6px) } }
@keyframes spin { to { transform: rotate(360deg) } }
@keyframes load { 0% { transform: translateX(-100%) } 100% { transform: translateX(400%) } }

/* ============================ NAV ============================ */

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 48px);
  backdrop-filter: blur(10px);
  background: linear-gradient(180deg, rgba(5,5,7,0.6), rgba(5,5,7,0));
  transition: background .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(5, 5, 7, 0.7);
  border-bottom-color: var(--line);
}

.nav-brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 800; letter-spacing: 0.18em;
  color: var(--ink);
  font-size: 14px;
}
.nav-brand em {
  font-style: normal;
  color: var(--accent);
  font-weight: 800;
}
.nav-bulb { color: #fff; filter: drop-shadow(0 0 6px rgba(255,215,106,0.35)); }

.nav-links {
  display: flex; align-items: center; gap: 6px;
}
.nav-links a {
  font-size: 12px;
  letter-spacing: 0.22em;
  font-weight: 500;
  padding: 10px 14px;
  color: var(--ink-dim);
  transition: color .2s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255,255,255,0.02);
  position: relative;
  overflow: hidden;
}
.nav-cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 120% at 0% 50%, rgba(106,216,255,0.35), transparent 60%);
  opacity: 0; transition: opacity .3s ease;
}
.nav-cta:hover::before { opacity: 1; }

@media (max-width: 640px) {
  .nav-links a:not(.nav-cta) { display: none; }
}

/* ============================ LAYOUT ============================ */

main {
  position: relative;
  z-index: 3;
}

section {
  position: relative;
  padding: clamp(80px, 12vw, 160px) clamp(20px, 5vw, 64px);
  max-width: var(--max);
  margin: 0 auto;
}

.section-head {
  max-width: 720px;
  margin-bottom: 56px;
  position: relative;
  isolation: isolate;
}
.section-head::before {
  content: "";
  position: absolute;
  inset: -30px -60px -30px -40px;
  background: radial-gradient(70% 80% at 20% 50%, rgba(5,5,8,0.7) 0%, rgba(5,5,8,0.3) 50%, transparent 85%);
  z-index: -1;
  pointer-events: none;
  filter: blur(6px);
}
.section-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--accent);
  margin-bottom: 18px;
  font-weight: 600;
}
.section-head h2 {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.05;
  margin: 0 0 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.section-head p {
  color: var(--ink-dim);
  font-size: 16px;
  line-height: 1.6;
  max-width: 56ch;
  margin: 0;
}

/* ============================ HERO ============================ */

/* Hubtown-style pinned scene: outer wrapper is multi-viewport tall,
   inner stage is sticky-pinned and 100vh.  GSAP ScrollTrigger scrubs
   animations against the outer scroll length. */
.hero-scene {
  position: relative;
  height: 220vh;
  max-width: none;
  margin: 0;
  padding: 0;
}
.hero-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  align-items: center;
  padding: 100px clamp(20px, 5vw, 64px) 40px;
  max-width: var(--max);
  margin: 0 auto;
  will-change: transform, opacity;
}

/* Legacy class kept for any nested rules that still target .hero */
.hero {
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(80% 70% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(80% 70% at 50% 50%, black 30%, transparent 100%);
  pointer-events: none;
  opacity: 0.6;
}

.hero-content {
  position: relative;
  max-width: 900px;
}
.hero-content::before {
  content: "";
  position: absolute;
  inset: -60px -80px -40px -60px;
  background: radial-gradient(80% 70% at 25% 55%, rgba(5,5,8,0.78) 0%, rgba(5,5,8,0.45) 45%, transparent 80%);
  z-index: -1;
  pointer-events: none;
  filter: blur(8px);
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 0.35em;
  color: var(--ink-dim);
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(8px);
  margin-bottom: 28px;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1) } 50% { opacity: 0.5; transform: scale(0.85) } }

.hero-title {
  font-size: clamp(54px, 10vw, 148px);
  line-height: 0.9;
  margin: 0 0 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.hero-title .line {
  display: block;
  position: relative;
}
.hero-title .line-accent {
  background: linear-gradient(90deg, #fff 0%, var(--accent) 40%, var(--accent-2) 75%, #fff 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: 200% 0; } }

.hero-sub {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--ink-dim);
  line-height: 1.6;
  max-width: 56ch;
  margin: 0 0 26px;
  font-weight: 400;
}

.hero-actions {
  display: flex; flex-wrap: wrap; gap: 16px;
  margin-bottom: 32px;
}

.hero-meta {
  display: flex; flex-wrap: wrap; gap: clamp(20px, 5vw, 64px);
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.hero-meta div {
  display: flex; flex-direction: column;
}
.hero-meta strong {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  background: linear-gradient(180deg, #fff, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 8px;
}
.hero-meta span {
  font-size: 10px; letter-spacing: 0.3em;
  color: var(--ink-dim);
  text-transform: uppercase;
  text-shadow: 0 1px 6px rgba(0,0,0,0.85);
}
.hero-meta strong {
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}

.scroll-cue {
  position: absolute;
  bottom: 32px; left: 50%; transform: translateX(-50%);
  display: inline-flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 10px; letter-spacing: 0.4em;
  color: var(--ink-dim);
}
.scroll-line {
  width: 1px; height: 36px;
  background: linear-gradient(180deg, var(--ink-dim), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: "";
  position: absolute; top: -100%; left: 0; width: 100%; height: 100%;
  background: linear-gradient(180deg, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0% { top: -100%; } 100% { top: 100%; } }

/* ============================ BUTTONS ============================ */

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 26px;
  font-family: var(--font);
  font-size: 12px;
  letter-spacing: 0.3em;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 6px;
  transition: transform .2s ease, box-shadow .3s ease, background .3s ease, color .3s ease, border-color .3s ease;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
}
.btn-primary {
  color: #050507;
  background: linear-gradient(135deg, #fff 0%, var(--accent) 100%);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.4) inset,
    0 8px 32px rgba(106, 216, 255, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.6) inset,
    0 12px 40px rgba(106, 216, 255, 0.55);
}
.btn-primary svg { transition: transform .2s ease; }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-ghost {
  color: var(--ink);
  background: rgba(255,255,255,0.02);
  border-color: var(--line-strong);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.06);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* ============================ SERVICES ============================ */

.services { padding-top: 60px; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.service-card {
  position: relative;
  padding: 36px 30px 40px;
  background: rgba(8, 8, 12, 0.55);
  backdrop-filter: blur(12px);
  transition: background .35s ease;
  overflow: hidden;
  isolation: isolate;
}
.service-card::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(120% 80% at 50% 0%, rgba(106, 216, 255, 0.18), transparent 60%);
  opacity: 0;
  transition: opacity .4s ease;
}
.service-card:hover { background: rgba(20, 20, 28, 0.55); }
.service-card:hover::before { opacity: 1; }
.service-card:nth-child(2)::before { background: radial-gradient(120% 80% at 50% 0%, rgba(255, 78, 216, 0.18), transparent 60%); }
.service-card:nth-child(3)::before { background: radial-gradient(120% 80% at 50% 0%, rgba(255, 215, 106, 0.18), transparent 60%); }
.service-card:nth-child(4)::before { background: radial-gradient(120% 80% at 50% 0%, rgba(120, 255, 168, 0.16), transparent 60%); }

.service-icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  margin-bottom: 24px;
  color: var(--accent);
  background: rgba(255,255,255,0.02);
}
.service-card:nth-child(2) .service-icon { color: var(--accent-2); }
.service-card:nth-child(3) .service-icon { color: var(--accent-3); }
.service-card:nth-child(4) .service-icon { color: #78ffa8; }

.service-card h3 {
  font-size: 18px;
  margin: 0 0 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.service-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-dim);
  font-weight: 400;
}

/* ============================ SHOWS ============================ */

.show-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.show-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(8, 8, 12, 0.5);
  transition: transform .4s cubic-bezier(.2,.7,.2,1), border-color .3s ease, box-shadow .4s ease;
  isolation: isolate;
}
.show-card::after {
  content: "";
  position: absolute; inset: -1px;
  border-radius: var(--radius);
  padding: 1px;
  background: conic-gradient(
    from 180deg at 50% 50%,
    transparent 0deg,
    hsl(var(--hue), 90%, 65%) 80deg,
    transparent 160deg,
    transparent 360deg
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
  animation: rotateBorder 8s linear infinite;
}
@keyframes rotateBorder { to { transform: rotate(360deg); } }

.show-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: 0 30px 60px -20px hsla(var(--hue), 90%, 55%, 0.35);
}
.show-card:hover::after { opacity: 1; }

.show-image {
  aspect-ratio: 4 / 3;
  position: relative;
  background:
    radial-gradient(60% 60% at 50% 35%, hsla(var(--hue), 95%, 70%, 0.55), transparent 70%),
    radial-gradient(80% 40% at 50% 100%, hsla(var(--hue), 95%, 55%, 0.45), transparent 70%),
    linear-gradient(180deg, hsla(var(--hue), 50%, 8%, 1), hsla(var(--hue), 60%, 3%, 1));
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.show-image::before {
  content: "";
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(
      to bottom,
      transparent 0,
      transparent 6px,
      rgba(255,255,255,0.04) 6px,
      rgba(255,255,255,0.04) 7px
    );
  mix-blend-mode: overlay;
}
.show-image::after {
  content: "";
  position: absolute;
  width: 200%; height: 60%;
  top: -20%; left: -50%;
  background: conic-gradient(
    from 90deg at 50% 100%,
    transparent 0deg,
    hsla(var(--hue), 95%, 80%, 0.25) 30deg,
    transparent 60deg,
    transparent 120deg,
    hsla(var(--hue), 95%, 80%, 0.25) 150deg,
    transparent 180deg,
    transparent 360deg
  );
  mix-blend-mode: screen;
  opacity: 0.7;
  filter: blur(20px);
  animation: beamSweep 9s ease-in-out infinite;
}
@keyframes beamSweep {
  0%, 100% { transform: rotate(-6deg); }
  50% { transform: rotate(6deg); }
}

/* When a real image is set, hide the gradient look */
.show-image.has-image {
  background-image: var(--img);
  background-size: cover;
  background-position: center;
}
.show-image.has-image::after { opacity: 0; }
.show-image.has-image::before { opacity: 0.5; }

.show-meta {
  padding: 20px 22px 24px;
  position: relative;
}
.show-tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: hsl(var(--hue), 90%, 70%);
  margin-bottom: 10px;
  font-weight: 600;
}
.show-meta h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.show-meta p {
  margin: 0;
  font-size: 13px;
  color: var(--ink-dim);
  line-height: 1.6;
  font-weight: 400;
}

.shows-foot {
  margin-top: 40px;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--ink-dim);
  text-align: center;
}
.shows-foot a {
  color: var(--accent);
  display: inline-flex; align-items: center; gap: 6px;
}

/* ============================ ABOUT ============================ */

.about-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 880px) {
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
}

.about-text {
  position: relative;
  isolation: isolate;
}
.about-text::before {
  content: "";
  position: absolute;
  inset: -40px -60px -40px -40px;
  background: radial-gradient(70% 80% at 25% 50%, rgba(5,5,8,0.72) 0%, rgba(5,5,8,0.3) 55%, transparent 90%);
  z-index: -1;
  pointer-events: none;
  filter: blur(6px);
}
.about-text h2 {
  font-size: clamp(40px, 6vw, 80px);
  margin: 18px 0 24px;
  font-weight: 800;
}
.about-text .lead {
  font-size: 18px;
  line-height: 1.6;
  margin: 0 0 18px;
  color: var(--ink);
  font-weight: 500;
}
.about-text p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-dim);
  margin: 0 0 14px;
}

.about-frame {
  position: relative;
  padding: 2px;
  border-radius: 18px;
  isolation: isolate;
}
.frame-glow {
  position: absolute; inset: 0;
  border-radius: 18px;
  background: conic-gradient(
    from 0deg,
    rgba(106, 216, 255, 0.6),
    rgba(255, 78, 216, 0.6),
    rgba(255, 215, 106, 0.6),
    rgba(106, 216, 255, 0.6)
  );
  filter: blur(20px);
  opacity: 0.45;
  animation: spin 14s linear infinite;
  z-index: -1;
}
.frame-inner {
  background: rgba(8, 8, 12, 0.85);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  padding: 32px;
  backdrop-filter: blur(16px);
  display: grid;
  gap: 24px;
}
.frame-stat {
  display: flex; flex-direction: column;
  border-left: 2px solid var(--accent);
  padding-left: 16px;
}
.frame-stat:nth-child(2) { border-color: var(--accent-2); }
.frame-stat:nth-child(3) { border-color: var(--accent-3); }
.frame-stat:nth-child(4) { border-color: #78ffa8; }
.frame-stat strong {
  font-size: 10px;
  letter-spacing: 0.35em;
  color: var(--ink-faint);
  font-weight: 700;
  margin-bottom: 6px;
}
.frame-stat span {
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
}

/* ============================ CONTACT ============================ */

.contact { padding-top: 80px; padding-bottom: 120px; }

.contact-inner {
  display: grid;
  gap: 56px;
}

.contact-head h2 {
  font-size: clamp(34px, 5.5vw, 64px);
  margin: 18px 0 16px;
  font-weight: 800;
  line-height: 1.05;
}
.contact-head p {
  color: var(--ink-dim);
  margin: 0;
  font-size: 16px;
  max-width: 50ch;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: rgba(8, 8, 12, 0.65);
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}
.contact-form::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 40% at 0% 0%, rgba(106, 216, 255, 0.1), transparent 50%),
    radial-gradient(60% 40% at 100% 100%, rgba(255, 78, 216, 0.08), transparent 50%);
  pointer-events: none;
}
@media (max-width: 640px) {
  .contact-form { grid-template-columns: 1fr; padding: 24px; }
}

.field { display: flex; flex-direction: column; gap: 8px; position: relative; }
.field-wide { grid-column: 1 / -1; }

.field label {
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--ink-dim);
  font-weight: 600;
}
.field input,
.field select,
.field textarea {
  font-family: var(--font);
  font-size: 14px;
  color: var(--ink);
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  outline: none;
  transition: border-color .25s ease, background .25s ease, box-shadow .25s ease;
  font-weight: 400;
  letter-spacing: 0.02em;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  background: rgba(106, 216, 255, 0.04);
  box-shadow: 0 0 0 3px rgba(106, 216, 255, 0.12);
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-dim) 50%), linear-gradient(135deg, var(--ink-dim) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }

.field-actions {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  margin-top: 8px;
}
.form-note {
  margin: 0;
  font-size: 12px;
  color: var(--ink-dim);
  letter-spacing: 0.05em;
}
.form-note.success { color: #78ffa8; }
.form-note.error { color: #ff7878; }

.contact-direct {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.direct-card {
  display: flex; flex-direction: column; gap: 6px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(8, 8, 12, 0.5);
  backdrop-filter: blur(8px);
  transition: border-color .25s ease, transform .25s ease, background .25s ease;
}
.direct-card:not(.direct-static):hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  background: rgba(106, 216, 255, 0.05);
}
.direct-label {
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--ink-faint);
  font-weight: 600;
}
.direct-value {
  font-size: 15px;
  color: var(--ink);
  font-weight: 500;
}

/* ============================ FOOTER ============================ */

.footer {
  position: relative; z-index: 3;
  padding: 32px clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  background: rgba(2, 2, 3, 0.6);
  backdrop-filter: blur(8px);
}
.footer-mark {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; letter-spacing: 0.18em; font-size: 13px;
  color: var(--ink-dim);
}
.footer-mark em { font-style: normal; color: var(--accent); }
.footer-meta {
  font-size: 11px; letter-spacing: 0.2em;
  color: var(--ink-faint);
  display: inline-flex; align-items: center; gap: 10px;
}
.footer-meta a:hover { color: var(--accent); }

/* ============================ REVEAL ANIM ============================ */

/* Initial state — GSAP ScrollTrigger animates these in. If GSAP fails
   to load, the JS fallback adds `.gsap-ready` to <html> only when GSAP
   is actually present, so without JS we just show everything. */
html.gsap-ready .reveal {
  opacity: 0;
  transform: translateY(24px);
  will-change: opacity, transform;
}

@media (prefers-reduced-motion: reduce) {
  html.gsap-ready .reveal { opacity: 1; transform: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
