/* NOVEA — concept storefront. White ground, olive ink, scroll-driven film. */

:root {
  color-scheme: light;
  --white: #ffffff;
  --paper: #fbfbf9;
  --ink: #1c1e19;
  --muted: #6d7168;
  --faint: #a4a89e;
  --rule: #e6e6e0;
  --olive: #4a5535;
  --olive-soft: #eef0e8;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, .wordmark, .foot-mark, .price {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0.01em;
}

a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--olive); outline-offset: 3px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px clamp(18px, 4vw, 48px);
  background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,255,255,0));
  pointer-events: none;
}
.nav a { pointer-events: auto; }
.wordmark { font-size: 20px; letter-spacing: 0.4em; text-indent: 0.4em; color: var(--olive); }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 3vw, 30px); }
.nav-links a { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.nav-links a:hover { color: var(--olive); }
@media (max-width: 560px) { .nav-links a { display: none; } }

/* ---------- intro ---------- */
.intro {
  min-height: 92vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 clamp(20px, 6vw, 90px);
  max-width: 1100px;
}
.eyebrow {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--faint); margin: 0 0 18px;
}
h1 {
  font-size: clamp(40px, 8vw, 92px);
  line-height: 1.02; margin: 0 0 26px; color: var(--olive);
}
.lede { font-size: clamp(16px, 2vw, 19px); color: var(--muted); max-width: 46ch; margin: 0; font-weight: 300; }
.scrollcue {
  margin-top: 44px; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--faint);
}
.scrollcue::after { content: ""; display: block; width: 1px; height: 46px; background: var(--rule); margin-top: 12px; }
.filmnote {
  margin: 30px 0 0; font-size: 13px; color: var(--muted);
  border-left: 2px solid var(--olive); padding-left: 14px; max-width: 60ch;
}

/* ---------- the film ---------- */
.scrubwrap { position: relative; }
.sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; background: var(--white); }
.film { display: block; width: 100%; height: 100%; }
.hud {
  position: absolute; left: clamp(18px, 4vw, 48px); bottom: 26px;
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint);
  display: flex; gap: 8px; align-items: baseline;
}
.hud b { font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.hud em { font-style: normal; }

.copy, .specs {
  position: absolute; z-index: 20;
  width: min(420px, 78vw);
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(6px);
  padding: 26px 28px;
  border: 1px solid var(--rule);
}
.copy.left, .specs.left { left: clamp(18px, 6vw, 90px); }
.copy.right, .specs.right { right: clamp(18px, 6vw, 90px); }
.copy h2 { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.1; margin: 0 0 14px; color: var(--olive); }
.copy p { margin: 0; color: var(--muted); font-weight: 300; }
.copy .eyebrow { margin-bottom: 12px; }

.specs { display: grid; gap: 0; }
.specs div {
  display: grid; grid-template-columns: 118px 1fr; gap: 14px;
  padding: 11px 0; border-bottom: 1px solid var(--rule); align-items: baseline;
}
.specs div:last-child { border-bottom: 0; }
.specs dt { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); margin: 0; }
.specs dd { margin: 0; font-size: 15px; color: var(--ink); }
@media (max-width: 720px) {
  .copy, .specs { width: min(420px, 86vw); left: 7vw; right: auto; padding: 20px 22px; }
  .specs div { grid-template-columns: 96px 1fr; gap: 10px; }
}

/* no film: drop the empty canvases and let the copy flow normally */
.scrubwrap.nofilm .sticky { display: none; }
.scrubwrap.nofilm { padding: clamp(40px, 7vw, 90px) 0; }
.scrubwrap.nofilm .copy, .scrubwrap.nofilm .specs {
  position: static; width: min(560px, 86vw);
  margin: 0 clamp(18px, 6vw, 90px) 20px; backdrop-filter: none;
}

/* ---------- shop ---------- */
.shop { padding: clamp(80px, 12vw, 150px) clamp(20px, 6vw, 90px) 40px; }
.shop-head h2 { font-size: clamp(30px, 4.6vw, 54px); margin: 0 0 46px; color: var(--olive); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; max-width: 1000px; }
.card {
  border: 1px solid var(--rule); padding: 26px 24px 24px; background: var(--paper);
  display: flex; flex-direction: column; align-items: flex-start; position: relative;
}
.card.feature { background: var(--olive-soft); border-color: #dfe3d6; }
.swatch { width: 46px; height: 92px; border-radius: 5px; background: var(--olive); margin-bottom: 22px; }
.swatch.s15 { height: 66px; }
.swatch.s50 { height: 108px; }
.card h3 { font-size: 26px; margin: 0 0 2px; }
.ml { margin: 0 0 14px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.price { font-size: 30px; margin: 0 0 20px; color: var(--olive); }
.buy {
  font: inherit; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 12px 22px; border: 1px solid var(--olive); background: transparent; color: var(--olive);
  cursor: pointer; transition: background .2s ease, color .2s ease;
}
.buy:hover { background: var(--olive); color: var(--white); }
.tag {
  position: absolute; top: 16px; right: 18px; margin: 0;
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.demo-note {
  margin: 22px 0 0; font-size: 13px; color: var(--muted);
  border-left: 2px solid var(--olive); padding-left: 14px; max-width: 60ch;
}

/* ---------- ingredients ---------- */
.ing { padding: clamp(60px, 9vw, 110px) clamp(20px, 6vw, 90px); max-width: 900px; }
.ing h2 { font-size: clamp(24px, 3vw, 36px); margin: 0 0 18px; color: var(--olive); }
.ing-list { margin: 0; color: var(--muted); font-size: 15px; font-weight: 300; line-height: 2; }

/* ---------- footer ---------- */
.foot {
  border-top: 1px solid var(--rule);
  padding: 54px clamp(20px, 6vw, 90px) 70px;
  color: var(--muted); font-size: 13px; max-width: 760px;
}
.foot-mark { font-size: 20px; letter-spacing: 0.4em; color: var(--olive); margin-bottom: 18px; }
.foot p { margin: 0 0 10px; }
.foot-meta { color: var(--faint); font-size: 12px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
