/* ═══════════════════════════════════════════════════════════
   SUNSKRS — Design System
   ═══════════════════════════════════════════════════════════ */

/* ─── CUSTOM PROPERTIES ──────────────────────────────────── */
:root {
  --white: #FFFFFF;
  --black: #0A0A0A;
  --gray-100: #F5F5F5;
  --gray-200: #E5E5E5;
  --gray-400: #9E9E9E;
  --gray-600: #555555;
  --gray-800: #1A1A1A;
  --eclipse-green: #4b573e;
  --nova-clear: #8E8E8E;
  --lightspeed-pink: #B73B6E;
  --comet-purple: #583061;
  --accent: #B73B6E;
  --accent-purple: #583061;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --section-pad: 120px;
  --section-pad-mobile: 80px;
  --grid-gap: 32px;
  --grid-gap-mobile: 16px;
  --max-width: 1200px;
  --nav-height: 72px;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-circ: cubic-bezier(0.0, 0.55, 0.45, 1);
  --transition-reveal: transform 0.8s var(--ease-out-expo), opacity 0.6s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
}

/* Grain texture overlay — premium feel */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  background-size: 128px 128px;
  opacity: 0.028;
  mix-blend-mode: overlay;
}

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

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

button {
  cursor: pointer;
  font-family: var(--font);
  border: none;
  background: none;
}

ul {
  list-style: none;
}

/* ─── UTILITY ────────────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 64px;
}

.section-title--light {
  color: var(--white);
}

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 0;
  transition: all 0.3s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.btn:hover::after {
  opacity: 1;
}

.btn--primary {
  background: var(--black);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(183, 59, 110, 0.35);
}

.btn--primary:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn--outline {
  background: transparent;
  color: var(--black);
  border: 1.5px solid var(--black);
}

.btn--outline:hover {
  background: var(--black);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10, 10, 10, 0.15);
}

.btn--outline:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn--large {
  padding: 16px 40px;
  font-size: 1rem;
  width: 100%;
}

/* ─── BADGES ─────────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 6px 16px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--gray-400);
  color: var(--gray-600);
  margin: 4px;
}

.badge--accent {
  border-color: var(--accent);
  color: var(--accent);
}

/* ─── REVEAL ANIMATIONS ──────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(70px) scale(0.96);
  transition: transform 1s var(--ease-out-expo), opacity 0.8s ease;
  will-change: transform, opacity;
}

.reveal--left {
  transform: translateX(-100px) scale(0.96) rotate(-1deg);
}

.reveal--right {
  transform: translateX(100px) scale(0.96) rotate(1deg);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1) rotate(0deg);
}

/* Section titles get special treatment */
.section-title.reveal {
  transform: translateY(48px) scale(0.88);
  letter-spacing: 0.18em;
  transition: transform 1.3s var(--ease-out-expo), opacity 1s ease, letter-spacing 1.3s var(--ease-out-expo);
}

.section-title.revealed {
  transform: translateY(0) scale(1);
  letter-spacing: 0.08em;
}

/* Catalog cards — dramatic entrance with rotation */
.catalog__card.reveal {
  transform: translateY(100px) scale(0.88) rotateX(8deg);
  transform-origin: center bottom;
  transition: transform 1.1s var(--ease-out-expo), opacity 0.9s ease, box-shadow 0.4s ease;
}

.catalog__card.revealed {
  transform: translateY(0) scale(1) rotateX(0deg);
}

/* Story blocks slide + blur */
.story__block.reveal {
  transform: translateY(60px);
  filter: blur(6px);
  transition: transform 1.1s var(--ease-out-expo), opacity 0.9s ease, filter 0.9s ease;
}

.story__block.revealed {
  filter: blur(0);
}

/* ─── NAVIGATION ─────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px) saturate(1.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: background 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease;
}

.nav--dark {
  background: rgba(10, 10, 10, 0.94);
  border-bottom-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 32px rgba(0,0,0,0.4);
}

/* ─── SCROLL PROGRESS BAR ────────────────────────────────── */
.scroll-progress {
  position: absolute;
  bottom: -1px;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-purple));
  transition: width 0.05s linear;
  z-index: 101;
}

.nav--dark .nav__links a {
  color: var(--white);
}

.nav--dark .nav__burger span {
  background: var(--white);
}

.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo-img {
  height: 36px;
  width: auto;
}

.nav--dark .nav__logo-img {
  filter: brightness(0) invert(1);
}

.nav__links {
  display: flex;
  gap: 32px;
}

.nav__links a {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--black);
  transition: color 0.3s ease;
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav__links a:hover::after {
  width: 100%;
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  transition: all 0.3s ease;
}

.nav__burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__burger.active span:nth-child(2) {
  opacity: 0;
}

.nav__burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: var(--nav-height);
  background: var(--white);
  overflow: hidden;
}

/* Breathing glow behind 3D model */
.hero__glow {
  position: absolute;
  width: 60vw;
  max-width: 700px;
  height: 60vw;
  max-height: 700px;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    rgba(183, 59, 110, 0.12) 0%,
    rgba(88, 48, 97, 0.07) 40%,
    transparent 70%
  );
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  animation: glowPulse 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes glowPulse {
  0%, 100% { transform: translate(-50%, -55%) scale(1); opacity: 0.8; }
  50% { transform: translate(-50%, -55%) scale(1.15); opacity: 1; }
}

.hero__3d {
  width: 100%;
  max-width: 700px;
  height: 45vh;
  min-height: 300px;
  opacity: 0;
  transform: scale(0.8);
  animation: heroModelIn 1.4s var(--ease-out-expo) 0.5s forwards;
  position: relative;
  z-index: 1;
}

@keyframes heroModelIn {
  0% {
    opacity: 0;
    transform: scale(0.65) translateY(40px);
    filter: blur(12px);
  }
  50% {
    filter: blur(2px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0);
  }
}

.hero__content {
  text-align: center;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Per-line clip-path text reveal */
.hero__claim {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  line-height: 1.15;
  color: var(--black);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__claim-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.05em; /* prevent descender clipping */
}

.hero__claim-inner {
  display: block;
  transform: translateY(110%);
  animation: lineReveal 1s var(--ease-out-expo) forwards;
}

.hero__claim-line:nth-child(1) .hero__claim-inner {
  animation-delay: 0.85s;
}
.hero__claim-line:nth-child(2) .hero__claim-inner {
  animation-delay: 1.05s;
}

@keyframes lineReveal {
  0% { transform: translateY(110%); }
  100% { transform: translateY(0); }
}

.hero__sub {
  margin-top: 20px;
  font-size: 1rem;
  font-weight: 400;
  color: var(--gray-400);
  letter-spacing: 0.04em;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out-expo) 1.35s forwards;
}

@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(16px); }
  100% { opacity: 1; transform: translateY(0); }
}

.hero__scroll-arrow {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--gray-400);
  opacity: 0;
  cursor: pointer;
  animation: scrollArrowIn 0.6s ease 1.8s forwards, scrollBounce 2.2s ease-in-out 2.4s infinite;
  z-index: 1;
  transition: color 0.3s ease;
}

.hero__scroll-arrow:hover {
  color: var(--accent);
}

@keyframes scrollArrowIn {
  0% { opacity: 0; transform: translateX(-50%) translateY(10px); }
  100% { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* ─── SECTION TRANSITION ─────────────────────────────────── */
.section-transition {
  height: 120px;
  pointer-events: none;
}

.section-transition--dark {
  background: linear-gradient(to bottom, var(--white) 0%, var(--black) 100%);
  margin-top: -1px; /* prevent hairline gap */
}

/* ─── STORY ──────────────────────────────────────────────── */
.story {
  position: relative;
  padding: var(--section-pad) 0;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
  margin-top: -1px; /* flush with transition */
}

/* ─── WAVE CANVAS — shared base ─────────────────────────────
   Used in hero (light) and story (dark) sections.
   Canvas fills its parent absolutely; content sits above (z-index 1).
   ─────────────────────────────────────────────────────────── */
.waves-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  display: block;
}

/* Story accent line — grows from center on reveal */
.story__accent-line {
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  margin: 0 auto 28px;
  transition: width 1.2s var(--ease-out-expo) 0.2s;
}

.story__block.revealed .story__accent-line {
  width: 120px;
}

.story__block {
  max-width: 700px;
  margin: 0 auto 96px;
  text-align: center;
}

.story__block:last-child {
  margin-bottom: 0;
}

.story__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.story__title {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.story__text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--gray-400);
  margin-bottom: 24px;
}

.story__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.story .badge {
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.6);
}

.story .badge--accent {
  border-color: var(--accent);
  color: var(--accent);
}

/* Pipeline */
.story__pipeline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.pipeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.pipeline-icon {
  width: 64px;
  height: 64px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--white);
}

.pipeline-step span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-400);
}

.pipeline-arrow {
  font-size: 1.25rem;
  color: var(--gray-400);
  margin-bottom: 20px;
}

/* ─── CATALOG ────────────────────────────────────────────── */
.catalog {
  padding: var(--section-pad) 0;
  background: var(--white);
}

.catalog__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--grid-gap);
}

.catalog__card {
  background: var(--gray-100);
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s ease;
  position: relative;
  overflow: hidden;
}

/* Color tint overlay per model */
.catalog__card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 0;
}

.catalog__card[data-model="eclipse"]::before {
  background: radial-gradient(ellipse at top center, rgba(75, 87, 62, 0.12) 0%, transparent 70%);
}
.catalog__card[data-model="nova"]::before {
  background: radial-gradient(ellipse at top center, rgba(142, 142, 142, 0.1) 0%, transparent 70%);
}
.catalog__card[data-model="comet"]::before {
  background: radial-gradient(ellipse at top center, rgba(183, 59, 110, 0.12) 0%, transparent 70%);
}
.catalog__card[data-model="nimbus"]::before {
  background: radial-gradient(ellipse at top center, rgba(88, 48, 97, 0.14) 0%, transparent 70%);
}

.catalog__card:hover::before {
  opacity: 1;
}

.catalog__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.1);
}

.catalog__viewer {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: transparent;
  position: relative;
  z-index: 1;
}

.catalog__info {
  padding: 24px;
  position: relative;
  z-index: 1;
}

.catalog__name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-block;
  position: relative;
}

/* Underline slide-in on hover */
.catalog__name::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.4s var(--ease-out-expo);
}

.catalog__card:hover .catalog__name::after {
  width: 100%;
}

.catalog__color {
  font-size: 0.8125rem;
  color: var(--gray-400);
  margin-top: 4px;
}

.catalog__price {
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: 12px;
}

.catalog__actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.catalog__actions .btn {
  flex: 1;
  padding: 10px 16px;
  font-size: 0.8125rem;
}

/* ─── CONFIGURATOR ───────────────────────────────────────── */
.configurator {
  padding: var(--section-pad) 0;
  background: var(--gray-100);
}

.configurator__layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  align-items: start;
}

.configurator__viewer {
  aspect-ratio: 4 / 3;
  background: var(--white);
  border: 1px solid var(--gray-200);
  position: sticky;
  top: calc(var(--nav-height) + 24px);
}

.configurator__controls {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.config-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.config-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-600);
}

.config-models {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.config-model-btn {
  padding: 12px 8px;
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  text-align: center;
  transition: all 0.3s ease;
}

.config-model-btn:hover {
  border-color: var(--black);
}

.config-model-btn.active {
  border-color: var(--black);
  background: var(--black);
  color: var(--white);
}

.config-model-name {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Swatches */
.config-swatches {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.swatch {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s var(--ease-out-expo);
  position: relative;
}

.swatch:hover {
  transform: scale(1.2);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.swatch.active {
  border-color: var(--black);
  box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--black);
  animation: swatchPulse 0.5s var(--ease-out-expo) forwards;
}

@keyframes swatchPulse {
  0% { transform: scale(1); }
  40% { transform: scale(1.25); }
  70% { transform: scale(0.95); }
  100% { transform: scale(1); }
}

/* Price value — flash on change */
.config-price-value {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
}

.config-price-value.price-updating {
  opacity: 0;
  transform: translateY(-8px);
}

.config-price-value.price-updated {
  opacity: 1;
  transform: translateY(0);
  color: var(--accent);
  transition: color 0.4s ease 0.2s, transform 0.3s var(--ease-out-expo), opacity 0.3s ease;
}

.config-price-value.price-settled {
  color: var(--black);
  transition: color 0.6s ease;
}

/* Config CTA */
.config-group--cta {
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
}

.config-price {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
}

.config-price-label {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--gray-400);
}

/* ─── COLLAB ─────────────────────────────────────────────── */
.collab {
  padding: var(--section-pad) 0;
  background: var(--gray-800);
  color: var(--white);
}

.collab__grid {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.collab__card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  padding: 32px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: border-color 0.4s ease, box-shadow 0.5s ease, transform 0.4s var(--ease-out-expo);
  position: relative;
}

.collab__card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(183, 59, 110, 0) 0%,
    rgba(183, 59, 110, 0.5) 50%,
    rgba(88, 48, 97, 0.4) 100%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 0;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: xor;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  padding: 1px;
}

.collab__card:hover::before {
  opacity: 1;
}

.collab__card:hover {
  border-color: rgba(183, 59, 110, 0.35);
  box-shadow:
    0 0 20px rgba(183, 59, 110, 0.08),
    0 0 60px rgba(88, 48, 97, 0.06),
    0 24px 48px rgba(0,0,0,0.3);
  transform: translateY(-4px);
}

.collab__card:nth-child(even) {
  direction: rtl;
}

.collab__card:nth-child(even) > * {
  direction: ltr;
}

.collab__card-viewer {
  aspect-ratio: 16 / 10;
  background: rgba(255, 255, 255, 0.02);
}

.collab__card-icon {
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.collab__card-logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--gray-400);
}

.collab__card-name {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.collab__card-sub {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 4px;
}

.collab__card-desc {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--gray-400);
  margin-top: 12px;
}

/* ─── PARTNERS ───────────────────────────────────────────── */
.partners {
  padding: var(--section-pad) 0;
  background: var(--white);
}

.partners__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--grid-gap);
  max-width: 800px;
  margin: 0 auto 64px;
}

.partner-card {
  text-align: center;
  padding: 40px 24px;
  border: 1px solid var(--gray-200);
  transition: border-color 0.3s ease, transform 0.4s var(--ease-out-expo);
}

.partner-card:hover {
  border-color: var(--black);
  transform: translateY(-4px);
}

.partner-card__icon {
  margin-bottom: 20px;
  color: var(--gray-400);
}

.partner-card__icon svg {
  margin: 0 auto;
}

.partner-card:hover .partner-card__icon {
  color: var(--black);
}

.partner-card__name {
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.partner-card__desc {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--gray-400);
}

.partners__badge {
  text-align: center;
}

/* Printed in Italy badge — typographic */
.printed-in-italy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin: 0 auto;
}

.printed-in-italy__text {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--black);
  line-height: 1.05;
  opacity: 0.12;
  transition: opacity 0.6s ease;
}

.partners__badge:hover .printed-in-italy__text {
  opacity: 0.25;
}

/* ─── ABOUT ──────────────────────────────────────────────── */
.about {
  padding: var(--section-pad) 0;
  background: var(--gray-100);
}

.about__intro {
  text-align: center;
  max-width: 600px;
  margin: -32px auto 64px;
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--gray-600);
}

.about__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap);
}

.about__card {
  text-align: center;
  padding: 48px 24px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  transition: transform 0.4s var(--ease-out-expo);
}

.about__card:hover {
  transform: translateY(-4px);
}

.about__avatar {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
}

.about__name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.about__role {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 4px;
}

.about__bio {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--gray-400);
  margin-top: 12px;
}

/* ─── FOOTER ─────────────────────────────────────────────── */
.footer {
  padding: 64px 0 32px;
  background: var(--black);
  color: var(--white);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__logo {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 12px;
}

.footer__tagline {
  font-size: 0.8125rem;
  color: var(--gray-400);
}

.footer__links {
  display: flex;
  gap: 24px;
}

.footer__links a {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-400);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.footer__links a:hover {
  color: var(--white);
}

.footer__bottom {
  padding-top: 24px;
  text-align: center;
}

.footer__bottom p {
  font-size: 0.75rem;
  color: var(--gray-400);
}

/* ─── SHADEFORCE OVERLAY ─────────────────────────────────── */
.shadeforce-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
}

.shadeforce-overlay.active {
  display: flex;
}

.shadeforce-close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 2rem;
  color: var(--white);
  background: none;
  border: none;
  z-index: 1001;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.shadeforce-close:hover {
  opacity: 1;
}

.shadeforce-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 768px) {
  :root {
    --section-pad: var(--section-pad-mobile);
    --grid-gap: var(--grid-gap-mobile);
  }

  .section-title {
    margin-bottom: 40px;
  }

  /* Nav mobile */
  .nav__links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
  }

  .nav--dark .nav__links {
    background: var(--black);
  }

  .nav__links.open {
    display: flex;
  }

  .nav__links a {
    font-size: 1.25rem;
  }

  .nav__burger {
    display: flex;
  }

  /* Hero mobile */
  .hero__3d {
    height: 35vh;
    min-height: 240px;
  }

  .hero__claim {
    letter-spacing: 0.08em;
  }

  /* Catalog mobile */
  .catalog__grid {
    grid-template-columns: 1fr;
  }

  /* Configurator mobile */
  .configurator__layout {
    grid-template-columns: 1fr;
  }

  .configurator__viewer {
    position: static;
    aspect-ratio: 1 / 1;
  }

  .config-models {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Collab mobile */
  .collab__card {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .collab__card:nth-child(even) {
    direction: ltr;
  }

  /* Partners mobile */
  .partners__grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  /* About mobile */
  .about__grid {
    grid-template-columns: 1fr;
  }

  /* Footer mobile */
  .footer__inner {
    flex-direction: column;
    gap: 24px;
    align-items: center;
    text-align: center;
  }

  .footer__links {
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Pipeline mobile */
  .pipeline-arrow {
    display: none;
  }

  .story__pipeline {
    gap: 24px;
  }

  /* Section transition mobile */
  .section-transition--dark {
    height: 72px;
  }

  /* Disable hover-heavy animations on touch */
  .catalog__card:hover {
    transform: translateY(-4px);
  }
}

/* ─── PAGE LOADER ────────────────────────────────────────── */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, transform 0.6s var(--ease-out-expo);
  transform-origin: center;
}

.page-loader.hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(1.04);
}

.page-loader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.page-loader__logo {
  height: 48px;
  width: auto;
  animation: loaderLogoIn 0.8s var(--ease-out-expo) 0.1s both;
}

@keyframes loaderLogoIn {
  0% { opacity: 0; transform: translateY(20px) scale(0.9); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.page-loader__bar {
  width: 120px;
  height: 2px;
  background: var(--gray-200);
  overflow: hidden;
}

.page-loader__fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-purple));
  animation: loaderFill 0.9s var(--ease-out-expo) 0.2s forwards;
}

@keyframes loaderFill {
  0% { width: 0%; }
  70% { width: 90%; }
  100% { width: 100%; }
}

/* ─── PARALLAX CONTAINERS ────────────────────────────────── */
.story__parallax-inner {
  will-change: transform;
}

.hero__glow {
  will-change: transform, opacity;
}

/* ─── NAV LINKS HOVER MICRO-INTERACTION ──────────────────── */
.nav__links a {
  position: relative;
  display: inline-block;
  transition: color 0.3s ease, transform 0.2s ease;
}

.nav__links a:hover {
  transform: translateY(-1px);
}

/* ─── PARTNER CARD MICRO-INTERACTION ─────────────────────── */
.partner-card {
  transition: border-color 0.3s ease, transform 0.4s var(--ease-out-expo), box-shadow 0.4s ease;
}

.partner-card:hover {
  box-shadow: 0 16px 40px rgba(0,0,0,0.06);
}

/* ─── ABOUT CARD MICRO-INTERACTION ──────────────────────── */
.about__card {
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s ease;
}

.about__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.08);
}

/* ─── PIPELINE ICON HOVER ────────────────────────────────── */
.pipeline-step:hover .pipeline-icon {
  border-color: var(--accent);
  color: var(--accent);
  transition: border-color 0.3s ease, color 0.3s ease;
}

