/* ============================================================
   ShineCraft Digital — Scroll-Driven Canvas Site
   Design: Ultra-Editorial Precision — Raleway 100, dark, automotive
   ============================================================ */

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

:root {
  --bg:         #000000;
  --text:       #ffffff;
  --steel:      rgb(143, 164, 188);
  --steel-60:   rgba(143, 164, 188, 0.60);
  --steel-40:   rgba(143, 164, 188, 0.40);
  --steel-20:   rgba(143, 164, 188, 0.20);
  --steel-10:   rgba(143, 164, 188, 0.10);
  --muted-50:   rgba(255, 255, 255, 0.50);
  --muted-35:   rgba(255, 255, 255, 0.35);
  --muted-20:   rgba(255, 255, 255, 0.20);
  --muted-10:   rgba(255, 255, 255, 0.10);
  --muted-06:   rgba(255, 255, 255, 0.06);
  --muted-03:   rgba(255, 255, 255, 0.03);
  --font-disp:  'Exo 2', sans-serif;
  --font-mono:  'Space Mono', monospace;
  --shadow-hd:  0 4px 60px rgba(0,0,0,0.97), 0 2px 12px rgba(0,0,0,0.85);
  --shadow-bd:  0 2px 30px rgba(0,0,0,0.90);
  --shadow-txt: 0 0 40px rgba(0,0,0,0.95), 0 2px 8px rgba(0,0,0,0.8);
}

html { scroll-behavior: auto; cursor: none; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-disp);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Noise grain overlay ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9990;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* ── Custom Cursor ── */
#cursor-dot {
  position: fixed;
  width: 4px;
  height: 4px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.08s ease, opacity 0.2s;
  will-change: left, top;
}
#cursor-ring {
  position: fixed;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9997;
  transform: translate(-50%, -50%);
  transition: left 0.12s ease, top 0.12s ease, width 0.3s, height 0.3s, border-color 0.3s;
  will-change: left, top;
}
body:has(a:hover) #cursor-ring,
body:has(button:hover) #cursor-ring {
  width: 44px;
  height: 44px;
  border-color: var(--steel-40);
}

/* ── Loader ── */
#loader {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 9995;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  transition: opacity 0.9s cubic-bezier(0.4,0,0.2,1),
              visibility 0.9s cubic-bezier(0.4,0,0.2,1);
}
#loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-brand {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.42em;
  color: rgba(255,255,255,0.35);
  margin-right: -0.42em;
}
.loader-bar-wrap {
  width: 200px;
  height: 1px;
  background: rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
}
#loader-bar {
  position: absolute;
  inset: 0;
  width: 0%;
  background: linear-gradient(90deg, var(--steel-20), rgba(255,255,255,0.5));
  transition: width 0.12s linear;
}
#loader-percent {
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.22);
}

/* ── Fixed Header ── */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 44px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(0,0,0,0.60) 0%, transparent 100%);
}

/* Logo */
.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  pointer-events: auto;
  transition: opacity 0.4s;
}
.header-logo:hover { opacity: 0.8; }

.logo-mark {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--steel);
  line-height: 1;
}
.logo-sep {
  display: block;
  width: 1px;
  height: 16px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}
.logo-name {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.32em;
  color: rgba(255,255,255,0.85);
  margin-right: -0.32em;
}
.logo-img {
  height: 80px;
  width: auto;
  display: block;
  mix-blend-mode: screen;
  filter: brightness(1.2) contrast(1.1);
}
.logo-wordmark {
  font-family: var(--font-disp);
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
  line-height: 1.1;
}
.logo-wordmark-sub {
  display: block;
  font-size: 0.7rem;
  font-weight: 300;
  color: var(--steel);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* Nav */
.header-nav {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-link {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  padding: 10px 18px;
  transition: color 0.3s;
  margin-right: -0.22em;
}
.nav-link:hover { color: rgba(255,255,255,0.75); }

/* KONTAKT button — filled, accent */
.nav-cta {
  color: #000;
  background: var(--steel);
  padding: 10px 20px;
  letter-spacing: 0.18em;
  transition: background 0.3s, color 0.3s, letter-spacing 0.3s;
}
.nav-cta:hover {
  background: #fff;
  color: #000;
  letter-spacing: 0.22em;
}

/* ── Hero Standalone ── */
.hero-standalone {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  z-index: 10;
  overflow: hidden;
}

/* Dark vignette for readability */
.hero-standalone::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 85% at 50% 50%, rgba(0,0,0,0.60), rgba(0,0,0,0.12)),
    linear-gradient(to bottom, rgba(0,0,0,0.35) 0%, transparent 40%);
  z-index: 1;
  pointer-events: none;
}
/* Bottom fade into scroll */
.hero-standalone::after {
  content: '';
  position: absolute;
  inset-x: 0;
  bottom: 0;
  height: 45%;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  z-index: 1;
  pointer-events: none;
}

/* Architectural vertical line */
.hero-arch-line {
  position: absolute;
  left: 40px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom,
    transparent 0%,
    rgba(255,255,255,0.06) 15%,
    rgba(143,164,188,0.20) 50%,
    rgba(255,255,255,0.06) 85%,
    transparent 100%
  );
  z-index: 2;
  pointer-events: none;
}

/* Corner coordinates */
.hero-coord {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.46rem;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.16);
  z-index: 2;
  pointer-events: none;
}
.hero-coord--tl { top: 32px; left: 60px; }
.hero-coord--br { bottom: 32px; right: 44px; }

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 32px;
  max-width: 1100px;
  position: relative;
  z-index: 2;
}

.hero-label {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
  opacity: 0;
  animation: fadeUp 0.9s 0.2s forwards cubic-bezier(0.4,0,0.2,1);
}
.label-line {
  display: block;
  width: 32px;
  height: 1px;
  background: var(--steel-20);
}
.label-text {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.20em;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  margin-right: -0.20em;
}

.hero-heading {
  font-family: var(--font-disp);
  font-size: clamp(2.8rem, 6.5vw, 7.5rem);
  font-weight: 700;
  font-style: normal;
  line-height: 1.05;
  letter-spacing: -0.02em;
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
  text-shadow:
    0 0 80px rgba(0,0,0,1),
    0 0 40px rgba(0,0,0,0.98),
    0 4px 16px rgba(0,0,0,0.9);
}
.hero-heading .word { display: block; overflow: hidden; padding-bottom: 0.08em; }
.hero-heading .muted { color: rgba(255,255,255,0.68); }

/* Staggered word animations */
.hero-heading .word:nth-child(1) { opacity:0; animation: slideUp 1.3s 0.38s forwards cubic-bezier(0.16,1,0.3,1); }
.hero-heading .word:nth-child(2) { opacity:0; animation: slideUp 1.3s 0.52s forwards cubic-bezier(0.16,1,0.3,1); }
.hero-heading .word:nth-child(3) { opacity:0; animation: slideUp 1.3s 0.66s forwards cubic-bezier(0.16,1,0.3,1); }
.hero-heading .word:nth-child(4) { opacity:0; animation: slideUp 1.3s 0.80s forwards cubic-bezier(0.16,1,0.3,1); }

/* Decorative rule between heading and tagline */
.hero-rule {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
  max-width: 380px;
  margin: 16px auto 14px;
  opacity: 0;
  animation: fadeIn 0.9s 1.0s forwards ease;
}
.hero-rule-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--steel-20), transparent);
}
.hero-rule-node {
  width: 5px;
  height: 5px;
  border: 1px solid var(--steel-40);
  border-radius: 50%;
  flex-shrink: 0;
  margin: 0 14px;
}

.hero-tagline {
  font-family: var(--font-disp);
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  font-weight: 400;
  color: rgba(255,255,255,0.82);
  line-height: 1.8;
  max-width: 440px;
  margin-bottom: 22px;
  opacity: 0;
  animation: fadeUp 0.9s 1.05s forwards cubic-bezier(0.4,0,0.2,1);
  text-shadow: 0 0 30px rgba(0,0,0,1), 0 1px 12px rgba(0,0,0,0.95);
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: fadeUp 0.9s 1.25s forwards cubic-bezier(0.4,0,0.2,1);
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 48px;
  background: rgba(255,255,255,0.95);
  color: #000;
  font-family: var(--font-mono);
  font-size: 0.80rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.35s, letter-spacing 0.35s, color 0.35s;
}
.btn-primary:hover {
  background: var(--steel);
  color: #000;
  letter-spacing: 0.22em;
}
.btn-arrow {
  display: inline-block;
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1);
}
.btn-primary:hover .btn-arrow { transform: translateX(5px); }

.btn-ghost {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.30);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  padding-bottom: 3px;
  transition: color 0.3s, border-color 0.3s;
}
.btn-ghost:hover { color: rgba(255,255,255,0.65); border-color: rgba(255,255,255,0.35); }

/* ── Scroll Indicator ── */
.scroll-indicator {
  position: absolute;
  bottom: 38px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: fadeIn 1s 1.9s forwards ease;
}
.scroll-mouse {
  width: 18px;
  height: 28px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 9px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 5px;
}
.scroll-dot {
  width: 1.5px;
  height: 5px;
  background: var(--steel-40);
  border-radius: 1px;
  animation: scrollBounce 2.8s infinite cubic-bezier(0.4,0,0.2,1);
}
.scroll-label {
  font-family: var(--font-mono);
  font-size: 0.44rem;
  letter-spacing: 0.26em;
  color: rgba(255,255,255,0.16);
  text-transform: uppercase;
  margin-right: -0.26em;
}

/* ── Canvas ── */
#canvas-wrap {
  position: fixed;
  inset: 0;
  z-index: 1;
  will-change: transform;
  transform-origin: center center;
}
#canvas { width: 100%; height: 100%; display: block; }

/* ── Dark Overlay ── */
#dark-overlay {
  position: fixed;
  inset: 0;
  z-index: 2;
  background: #000;
  opacity: 0;
  pointer-events: none;
}

/* ── Marquee ── */
.marquee-wrap {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,0.03);
}
.marquee-text {
  font-family: var(--font-disp);
  font-size: clamp(10vw, 12vw, 14vw);
  font-weight: 800;
  font-style: italic;
  white-space: nowrap;
  color: rgba(255,255,255,0.038);
  line-height: 1;
  letter-spacing: -0.01em;
  will-change: transform;
}

/* ── Scroll Container ── */
#scroll-container {
  position: relative;
  height: 1000vh;
  z-index: 5;
}

/* ── Scroll Sections ── */
.scroll-section {
  position: absolute;
  width: 100%;
  transform: translateY(-50%);
  padding: 0 5vw;
  visibility: hidden;
  pointer-events: none;
}
.scroll-section.is-active { visibility: visible; pointer-events: auto; }

/* Side alignment — text on edge, video in center */
.align-left  { padding-right: 54vw; }
.align-right { padding-left: 54vw; padding-right: 5vw; }
.align-left  .section-inner,
.align-right .section-inner { max-width: 42vw; }

/* ── Section Inner Panel ── */
/* Subtle dark backing for readability over video */
.section-inner {
  position: relative;
  padding: 38px 36px 38px 0;
}
.section-inner::before {
  content: '';
  position: absolute;
  inset: 0 -20px 0 -20px;
  background: linear-gradient(
    105deg,
    rgba(0,0,0,0.92) 0%,
    rgba(0,0,0,0.78) 60%,
    rgba(0,0,0,0) 100%
  );
  z-index: -1;
  pointer-events: none;
}
.align-right .section-inner { padding: 38px 0 38px 36px; }
.align-right .section-inner::before {
  background: linear-gradient(
    -105deg,
    rgba(0,0,0,0.92) 0%,
    rgba(0,0,0,0.78) 60%,
    rgba(0,0,0,0) 100%
  );
}

/* Left accent bar */
.section-inner::after {
  content: '';
  position: absolute;
  left: -20px;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--steel-20), transparent);
  pointer-events: none;
}
.align-right .section-inner::after {
  left: auto;
  right: -20px;
}

/* ── Section Typography ── */
.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.20em;
  color: rgba(143, 164, 188, 0.90);
  text-transform: uppercase;
  margin-bottom: 22px;
}
.section-label::before {
  content: '';
  display: block;
  width: 18px;
  height: 1px;
  background: var(--steel-40);
  flex-shrink: 0;
}

/* Section heading with icon */
.section-heading {
  font-family: var(--font-disp);
  font-size: clamp(1.8rem, 3.2vw, 4.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: #ffffff;
  margin-bottom: 26px;
  text-shadow:
    0 0 80px rgba(0,0,0,1),
    0 0 40px rgba(0,0,0,0.98),
    0 2px 12px rgba(0,0,0,0.9);
}
.heading-line { display: block; }
.heading-muted { color: rgba(255,255,255,0.65); }

/* Icon next to heading — sits inline before first line */
.heading-icon {
  display: inline-flex;
  align-items: center;
  color: var(--steel);
  margin-bottom: 12px;
  opacity: 0.85;
}
.heading-icon svg {
  display: block;
}

.section-body {
  font-family: var(--font-disp);
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  font-weight: 400;
  color: rgba(255,255,255,0.82);
  line-height: 1.85;
  margin-bottom: 28px;
  text-shadow: 0 1px 20px rgba(0,0,0,0.95), 0 0 8px rgba(0,0,0,0.8);
}

.section-note {
  font-family: var(--font-disp);
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255,255,255,0.82);
  letter-spacing: 0.01em;
  line-height: 2.2;
  list-style: none;
  text-shadow: 0 1px 12px rgba(0,0,0,0.9);
}

/* ── Pain list ── */
.pain-list { display: flex; flex-direction: column; margin-top: 8px; }
.pain-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  text-shadow: var(--shadow-bd);
}
.pain-item:first-child { border-top: 1px solid rgba(255,255,255,0.05); }
.pain-num {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: rgba(143,164,188,0.90);
  letter-spacing: 0.20em;
}
.pain-text {
  font-family: var(--font-disp);
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255,255,255,0.82);
  letter-spacing: 0.01em;
  text-shadow: 0 1px 12px rgba(0,0,0,0.9);
}

/* ── Badges ── */
.badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.72);
  border: 1px solid rgba(255,255,255,0.14);
  padding: 7px 14px;
  text-transform: uppercase;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}
.badge:hover {
  border-color: var(--steel-20);
  color: var(--steel-60);
  background: var(--steel-10);
}

.feature-list { list-style: none; }

/* ── Stats Section ── */
.section-stats {
  padding: 0 8vw;
  visibility: hidden;
}
.section-stats.is-active { visibility: visible; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 52px 28px;
  position: relative;
}
.stat::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: linear-gradient(to bottom,
    transparent,
    rgba(143,164,188,0.15),
    transparent
  );
}
.stat:last-child::after { display: none; }

.stat-value-wrap {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 18px;
}
.stat-prefix,
.stat-suffix {
  font-family: var(--font-disp);
  font-size: clamp(1.8rem, 3.5vw, 4.5rem);
  font-weight: 300;
  color: var(--steel-60);
  line-height: 1;
  text-shadow: var(--shadow-hd);
}
.stat-number {
  font-family: var(--font-disp);
  font-size: clamp(4.2rem, 9vw, 11rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
  text-shadow: var(--shadow-hd);
}
.stat-label {
  font-family: var(--font-disp);
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255,255,255,0.82);
  margin-bottom: 8px;
  text-shadow: 0 1px 16px rgba(0,0,0,0.9);
}
.stat-sublabel {
  font-family: var(--font-mono);
  font-size: 0.70rem;
  letter-spacing: 0.16em;
  color: rgba(143, 164, 188, 0.85);
  text-transform: uppercase;
}

/* ── CTA / Contact ── */
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 38px;
}
.contact-link {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-disp);
  font-size: 1.05rem;
  font-weight: 400;
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  transition: color 0.35s;
  text-shadow: 0 1px 16px rgba(0,0,0,0.9);
}
.contact-link:hover { color: var(--steel); }
.contact-line {
  display: block;
  width: 22px;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
  transition: width 0.4s cubic-bezier(0.16,1,0.3,1);
}
.contact-link:hover .contact-line { width: 38px; }

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 17px 40px;
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.20);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.35s, color 0.35s, border-color 0.35s, letter-spacing 0.35s;
}
.cta-button:hover {
  background: rgba(255,255,255,0.95);
  color: #000;
  border-color: transparent;
  letter-spacing: 0.22em;
}
.cta-button:hover .btn-arrow { transform: translateX(5px); }

/* ── Site Footer ── */
.site-footer {
  position: relative;
  z-index: 5;
  background: #000;
  padding: 0 44px 28px;
}
.footer-top-line {
  height: 1px;
  background: linear-gradient(to right,
    transparent,
    rgba(143,164,188,0.15) 20%,
    rgba(255,255,255,0.06) 50%,
    rgba(143,164,188,0.15) 80%,
    transparent
  );
  margin-bottom: 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 24px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-col--center { align-items: center; text-align: center; }
.footer-col--right  { align-items: flex-end; text-align: right; }

.footer-logo {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  color: rgba(255,255,255,0.55);
}
.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.42);
  text-transform: uppercase;
}
.footer-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.42);
  text-transform: uppercase;
}
.footer-sub {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
}
.footer-link {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.48);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.3s;
}
.footer-link:hover { color: var(--steel); }
.footer-back-top {
  color: rgba(255,255,255,0.12);
  margin-top: 4px;
}

/* ── Contact Form ── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 32px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-label {
  font-family: var(--font-mono);
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.82);
  text-transform: uppercase;
}

.form-req {
  color: var(--steel);
  margin-left: 2px;
}

.form-input {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.14);
  color: #ffffff;
  font-family: var(--font-disp);
  font-weight: 300;
  font-size: 0.88rem;
  padding: 10px 0;
  outline: none;
  width: 100%;
  transition: border-color 0.3s;
  caret-color: var(--steel);
}
.form-input::placeholder {
  color: rgba(255,255,255,0.18);
  font-size: 0.82rem;
}
.form-input:focus {
  border-bottom-color: rgba(143, 164, 188, 0.65);
}

.form-textarea {
  background: rgba(255,255,255,0.018);
  border: 1px solid rgba(255,255,255,0.08);
  color: #ffffff;
  font-family: var(--font-disp);
  font-weight: 300;
  font-size: 0.88rem;
  padding: 12px 14px;
  outline: none;
  width: 100%;
  resize: vertical;
  min-height: 96px;
  transition: border-color 0.3s, background 0.3s;
  caret-color: var(--steel);
  line-height: 1.7;
}
.form-textarea::placeholder {
  color: rgba(255,255,255,0.18);
  font-size: 0.82rem;
}
.form-textarea:focus {
  border-color: rgba(143, 164, 188, 0.42);
  background: rgba(143, 164, 188, 0.035);
}

.form-submit-row {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.form-note {
  font-family: var(--font-mono);
  font-size: 0.44rem;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.20);
  text-transform: uppercase;
}

/* ── Keyframes ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(55px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50%       { transform: translateY(9px); opacity: 0.15; }
}

/* ── Mobile (<768px) ── */
@media (max-width: 768px) {
  html { cursor: auto; }
  #cursor-dot, #cursor-ring { display: none; }

  .site-header { padding: 14px 20px; }
  .logo-sep { display: none; }
  .logo-img { height: 52px; }
  .logo-wordmark { font-size: 0.95rem; }
  .logo-wordmark-sub { font-size: 0.60rem; }

  .header-nav { gap: 4px; }
  .nav-link { display: none; }
  .nav-cta  { display: inline-flex; padding: 9px 16px; font-size: 0.65rem; }

  .hero-heading { font-size: clamp(2.4rem, 10vw, 5rem); }
  .hero-tagline { font-size: clamp(0.88rem, 3.5vw, 1rem); max-width: 100%; }
  .hero-arch-line { display: none; }
  .hero-coord { display: none; }

  #scroll-container { height: 600vh; }

  .align-left,
  .align-right { padding-left: 0; padding-right: 0; }

  .align-left .section-inner,
  .align-right .section-inner {
    max-width: 100%;
    padding: 32px 20px;
  }
  .section-inner::before {
    background: rgba(0,0,0,0.80);
    inset: 0;
  }
  .align-right .section-inner::before {
    background: rgba(0,0,0,0.80);
    inset: 0;
  }
  .section-inner::after,
  .align-right .section-inner::after { display: none; }

  .section-heading { font-size: clamp(1.7rem, 7vw, 3rem); }
  .section-body { font-size: clamp(0.92rem, 3.5vw, 1rem); }
  .section-note { font-size: 0.92rem; }

  .stats-grid { grid-template-columns: 1fr; }
  .stat::after { display: none; }
  .stat { border-bottom: 1px solid rgba(255,255,255,0.05); padding: 36px 20px; }
  .stat-number { font-size: clamp(3.5rem, 18vw, 8rem); }

  .form-row { grid-template-columns: 1fr; }
  .form-submit-row { flex-direction: column; align-items: flex-start; }
  .form-label { font-size: 0.65rem; }
  .cta-button { font-size: 0.70rem; padding: 15px 28px; }

  .contact-link { font-size: 0.95rem; }

  .marquee-text { font-size: 18vw; }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 16px;
  }
  .footer-col--center { align-items: center; }
  .footer-col--right  { align-items: center; }
  .site-footer { padding: 0 24px 28px; }
}

/* ── Small phones (<480px) ── */
@media (max-width: 480px) {
  .logo-img { height: 44px; }
  .logo-wordmark { font-size: 0.85rem; }
  .logo-wordmark-sub { display: none; }

  .hero-heading { font-size: clamp(2rem, 9.5vw, 4rem); }
  .hero-tagline { font-size: 0.88rem; }

  .section-heading { font-size: clamp(1.5rem, 7.5vw, 2.5rem); }
  .stat-number { font-size: clamp(3rem, 20vw, 6rem); }

  .marquee-text { font-size: 20vw; }
  .btn-primary { font-size: 0.72rem; padding: 15px 28px; }
}
