/* ============================================================
   eyewa — design tokens
   Swap colors here to retheme the whole site.
============================================================ */
:root {
  --bg:        #0a0e27;
  --bg-2:      #11163a;
  --surface:   #161b40;
  --surface-2: #1d2350;
  --line:      rgba(245, 240, 232, 0.1);

  --text:      #f5f0e8;
  --text-dim:  #a8adc7;
  --text-mute: #6a6f8e;

  --accent:    #ff5c1f;
  --accent-2:  #ffd60a;
  --accent-3:  #ff3b8b;

  --font-display: 'Anton', 'Archivo Black', system-ui, sans-serif;
  --font-body:    'Space Grotesk', system-ui, -apple-system, sans-serif;

  --max-w: 1280px;
  --pad-x: clamp(20px, 5vw, 64px);
  --section-py: clamp(80px, 12vw, 160px);
  --radius: 18px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ============================================================
   base
============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

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

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ============================================================
   shared
============================================================ */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 16px;
  padding: 6px 12px;
  border: 1px solid var(--accent);
  border-radius: 999px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 9vw, 128px);
  line-height: 0.92;
  letter-spacing: -0.01em;
  margin: 0 0 24px;
  text-transform: uppercase;
}

.section-title .accent { color: var(--accent); font-style: italic; }

.section-sub {
  font-size: clamp(16px, 1.4vw, 20px);
  color: var(--text-dim);
  margin: 0 0 48px;
  max-width: 540px;
}

/* ============================================================
   nav
============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--pad-x);
  background: rgba(10, 14, 39, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 0.02em;
  color: var(--text);
  text-transform: lowercase;
}
.nav__logo {
  width: 38px;
  height: auto;
  color: var(--accent);
}

.nav__links {
  display: flex;
  gap: clamp(8px, 2vw, 28px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  display: inline-block;
  padding: 8px 12px;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-dim);
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}
.nav__links a:hover { color: var(--text); }
.nav__cta {
  background: var(--accent);
  color: var(--bg) !important;
}
.nav__cta:hover { background: var(--accent-2); }

@media (max-width: 520px) {
  .nav__links li:not(:last-child) { display: none; }
}

/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 120px var(--pad-x) 80px;
  overflow: hidden;
  isolation: isolate;
}

.hero__layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  will-change: transform;
}
.hero__layer--fg { position: relative; pointer-events: auto; text-align: center; z-index: 3; }
.hero__layer--mid { z-index: 2; }
.hero__layer--bg { z-index: 1; }

.hero__kicker {
  font-size: 13px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 24px;
  opacity: 0;
  animation: fade-up 0.8s var(--ease) 0.1s forwards;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(96px, 26vw, 360px);
  line-height: 0.85;
  letter-spacing: -0.02em;
  margin: 0;
  text-transform: uppercase;
  color: var(--text);
  text-shadow: 0 0 60px rgba(255, 92, 31, 0.18);
}
.hero__title span {
  display: inline-block;
  transform: translateY(110%);
  animation: drop 0.9s var(--ease) forwards;
}
.hero__title span:nth-child(1) { animation-delay: 0.20s; }
.hero__title span:nth-child(2) { animation-delay: 0.30s; }
.hero__title span:nth-child(3) { animation-delay: 0.40s; }
.hero__title span:nth-child(4) { animation-delay: 0.50s; color: var(--accent); }
.hero__title span:nth-child(5) { animation-delay: 0.60s; }

.hero__tagline {
  font-family: var(--font-body);
  font-size: clamp(18px, 2.4vw, 28px);
  font-weight: 500;
  margin: 24px 0 0;
  color: var(--text-dim);
  opacity: 0;
  animation: fade-up 0.8s var(--ease) 0.9s forwards;
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  z-index: 4;
  opacity: 0;
  animation: fade-up 0.8s var(--ease) 1.2s forwards;
}
.hero__scroll:hover { color: var(--accent); }
.hero__scroll-arrow {
  display: inline-block;
  animation: bob 1.8s ease-in-out infinite;
}

/* hero background blobs */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}
.blob--1 {
  top: -10%; left: -10%;
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, var(--accent), transparent 60%);
}
.blob--2 {
  bottom: -20%; right: -10%;
  width: 55vw; height: 55vw;
  background: radial-gradient(circle, var(--accent-3), transparent 60%);
  opacity: 0.4;
}
.blob--3 {
  top: 40%; left: 40%;
  width: 35vw; height: 35vw;
  background: radial-gradient(circle, var(--accent-2), transparent 60%);
  opacity: 0.25;
}

.grid-noise {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245, 240, 232, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 240, 232, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 75%);
}

/* hero floating mid-layer shapes */
.float {
  position: absolute;
  color: var(--accent);
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.3));
}
.float--shades-a { top: 18%; left: 8%; width: clamp(80px, 14vw, 200px); transform: rotate(-12deg); }
.float--shades-b { bottom: 16%; right: 9%; width: clamp(80px, 13vw, 180px); transform: rotate(8deg); }
.float--eye { top: 22%; right: 14%; width: clamp(70px, 10vw, 140px); transform: rotate(6deg); }

.float--star {
  font-family: var(--font-display);
  color: var(--accent-2);
  font-size: clamp(20px, 3vw, 40px);
  top: 70%;
  left: 18%;
  text-shadow: 0 0 20px var(--accent-2);
}
.float--star-2 { top: 12%; right: 30%; color: var(--accent); font-size: clamp(16px, 2vw, 28px); }

.float--dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--text);
}
.float--dot-1 { top: 60%; right: 22%; }
.float--dot-2 { bottom: 26%; left: 32%; background: var(--accent); width: 14px; height: 14px; }

/* ============================================================
   STORY
============================================================ */
.story {
  position: relative;
  padding: var(--section-py) var(--pad-x);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  overflow: hidden;
  isolation: isolate;
}

.story__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}
.story__quote {
  position: absolute;
  top: -10%;
  left: -3%;
  font-family: var(--font-display);
  font-size: clamp(300px, 50vw, 700px);
  line-height: 0.7;
  color: var(--accent);
  opacity: 0.06;
}
.story__bg-word {
  position: absolute;
  bottom: 8%;
  right: -5%;
  font-family: var(--font-display);
  font-size: clamp(200px, 36vw, 500px);
  color: var(--text);
  opacity: 0.03;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.story__content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  will-change: transform;
}

.story__lead {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.1;
  margin: 0 0 24px;
  color: var(--accent-2);
  letter-spacing: -0.01em;
}

.story__body {
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.65;
  margin: 0 0 20px;
  color: var(--text);
}
.story__body em {
  color: var(--accent);
  font-style: italic;
  font-weight: 600;
}

.story__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  list-style: none;
  margin: 56px 0 0;
  padding: 32px 0 0;
  border-top: 1px solid var(--line);
}
.story__stats li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.story__stats strong {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
}
.story__stats span {
  font-size: 13px;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ============================================================
   COLLECTIE
============================================================ */
.collectie {
  position: relative;
  padding: var(--section-py) var(--pad-x);
  background: var(--bg-2);
  overflow: hidden;
}

.collectie__head {
  max-width: var(--max-w);
  margin: 0 auto 64px;
}

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

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  will-change: transform, opacity;
  transition: transform 0.5s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.card:hover {
  border-color: var(--card-tint, var(--accent));
  box-shadow: 0 24px 48px -16px color-mix(in srgb, var(--card-tint, var(--accent)) 40%, transparent);
  transform: translateY(-4px) !important;
}

.card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse at center, color-mix(in srgb, var(--card-tint) 22%, transparent), transparent 70%),
    linear-gradient(135deg, var(--surface-2), var(--surface));
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.card__media::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.4;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

.card__shades {
  position: relative;
  width: 70%;
  max-width: 320px;
  color: var(--card-tint);
  filter: drop-shadow(0 12px 24px rgba(0,0,0,0.4));
  transition: transform 0.5s var(--ease);
}
.card:hover .card__shades { transform: scale(1.06) rotate(-2deg); }

.card__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--card-tint);
  color: var(--bg);
  padding: 6px 10px;
  border-radius: 999px;
}

.card__body { padding: 24px 28px 28px; }
.card__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}
.card__name {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 400;
  margin: 0;
  letter-spacing: 0.01em;
}
.card__price {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 28px);
  margin: 0;
  color: var(--card-tint);
}
.card__desc {
  margin: 0;
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.5;
}

@media (max-width: 720px) {
  .cards { grid-template-columns: 1fr; gap: 20px; }
}

/* ============================================================
   WAAROM
============================================================ */
.waarom {
  position: relative;
  padding: var(--section-py) var(--pad-x);
  background: var(--bg);
  overflow: hidden;
  isolation: isolate;
}

.waarom__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}
.waarom__bg-word {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, 0);
  font-family: var(--font-display);
  font-size: clamp(280px, 50vw, 700px);
  color: var(--accent);
  opacity: 0.05;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  line-height: 1;
}

.waarom__head {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto 64px;
  text-align: center;
}

.features {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  will-change: transform;
}

.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: border-color 0.3s, transform 0.3s;
}
.feature:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.feature__icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--accent);
  border-radius: 14px;
  margin-bottom: 24px;
}
.feature__icon svg { width: 28px; height: 28px; }

.feature__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(22px, 2vw, 28px);
  margin: 0 0 10px;
  letter-spacing: 0.01em;
}
.feature__copy {
  margin: 0;
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.55;
}

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

/* ============================================================
   SIGNUP
============================================================ */
.signup {
  position: relative;
  padding: var(--section-py) var(--pad-x);
  background: var(--bg-2);
  overflow: hidden;
  isolation: isolate;
}

.signup__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 50%),
    radial-gradient(ellipse at 80% 70%, color-mix(in srgb, var(--accent-3) 22%, transparent), transparent 50%);
  opacity: 0.6;
  filter: blur(20px);
  z-index: 0;
  will-change: transform;
}

.signup__inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  will-change: transform;
}
.signup__inner .eyebrow,
.signup__inner .section-title { display: inline-block; }

.signup__sub {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--text-dim);
  margin: 0 auto 36px;
  max-width: 520px;
}

.signup__form {
  display: flex;
  gap: 8px;
  max-width: 540px;
  margin: 0 auto;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.signup__form:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent);
}

.signup__form input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  padding: 12px 18px;
  font: inherit;
  color: var(--text);
}
.signup__form input::placeholder { color: var(--text-mute); }

.signup__form button {
  background: var(--accent);
  color: var(--bg);
  border: 0;
  border-radius: 999px;
  padding: 12px 24px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.2s;
}
.signup__form button:hover {
  background: var(--accent-2);
  transform: translateX(2px);
}

.signup__success,
.signup__error {
  margin: 32px auto 0;
  padding: 16px 24px;
  border-radius: 999px;
  font-weight: 600;
  display: inline-block;
  animation: fade-up 0.5s var(--ease);
}
.signup__success {
  background: color-mix(in srgb, var(--accent-2) 14%, transparent);
  color: var(--accent-2);
  border: 1px solid var(--accent-2);
}
.signup__error {
  background: color-mix(in srgb, var(--accent-3) 14%, transparent);
  color: var(--accent-3);
  border: 1px solid var(--accent-3);
}

.signup__form button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

@media (max-width: 540px) {
  .signup__form { flex-direction: column; padding: 12px; border-radius: 18px; }
  .signup__form button { padding: 14px; }
}

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: var(--bg);
  padding: 48px var(--pad-x) 32px;
  border-top: 1px solid var(--line);
}
.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 16px;
}
.footer__brand {
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: 0.02em;
  text-transform: lowercase;
}
.footer__socials {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer__socials a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.footer__socials a:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.footer__bot {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
  font-size: 13px;
  color: var(--text-mute);
}
.heart { color: var(--accent); }

/* ============================================================
   animations
============================================================ */
@keyframes drop {
  from { transform: translateY(110%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(6px); }
}

/* ============================================================
   reduced motion — disable parallax + animations
============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero__title span { transform: none; opacity: 1; animation: none; }
  .hero__kicker, .hero__tagline, .hero__scroll { opacity: 1; animation: none; }
  [data-parallax], [data-parallax-card] { transform: none !important; opacity: 1 !important; }
}

/* JS-driven no-parallax fallback (set when reduced-motion detected) */
.no-parallax [data-parallax],
.no-parallax [data-parallax-card] {
  transform: none !important;
  opacity: 1 !important;
}

/* ============================================================
   mobile fine-tunes
============================================================ */
@media (max-width: 600px) {
  .float--shades-a { left: -4%; }
  .float--shades-b { right: -4%; }
  .float--eye { right: -2%; }
  .blob { filter: blur(60px); }
  .story__stats { grid-template-columns: 1fr 1fr; }
  .story__stats li:last-child { grid-column: span 2; }
  .footer__bot { flex-direction: column; }
}
