/* =========================================================================
   VANTA — Premium blender product site
   Design language: dark, cinematic, editorial. High-contrast serif display +
   letter-spaced technical mono metadata. Near-black canvas, warm copper light.
   ========================================================================= */

:root {
  /* palette */
  --bg:        #0a0a0c;
  --bg-2:      #0e0e11;
  --bg-elev:   #141418;
  --line:      rgba(255,255,255,0.09);
  --line-2:    rgba(255,255,255,0.05);
  --text:      #f2efe9;
  --muted:     #9a9aa2;
  --muted-2:   #62626b;
  --copper:    #c98f5f;
  --copper-hi: #e6b184;
  --ember:     #e8482f;   /* the "FRESH BLEND" hot red */

  /* type */
  --serif: "Bodoni Moda", "Playfair Display", Georgia, serif;
  --sans:  "Schibsted Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono:  "Space Mono", ui-monospace, "SFMono-Regular", monospace;

  /* rhythm */
  --pad: clamp(20px, 5vw, 88px);
  --maxw: 1360px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--copper); color: #0a0a0c; }

/* ---- shared type utilities ---------------------------------------------- */
.mono {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.mono--copper { color: var(--copper-hi); }
.serif { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; }
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--copper-hi);
}

/* section framing */
.section { position: relative; padding: clamp(80px, 12vh, 160px) var(--pad); }
.container { max-width: var(--maxw); margin: 0 auto; }
.hairline { height: 1px; background: var(--line); border: 0; width: 100%; }

/* ---- top metadata bar / nav --------------------------------------------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--pad);
  transition: background .4s var(--ease), border-color .4s var(--ease), padding .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10,10,12,0.72);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border-bottom-color: var(--line);
  padding-top: 14px; padding-bottom: 14px;
}
.brand {
  font-family: var(--serif); font-weight: 600;
  font-size: 22px; letter-spacing: 0.32em; text-indent: 0.32em;
  text-transform: uppercase;
}
.nav-links { display: flex; gap: 34px; align-items: center; }
.nav-links a {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted);
  transition: color .25s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  border: 1px solid var(--line); border-radius: 100px;
  padding: 9px 20px !important; color: var(--text) !important;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.nav-cta:hover { border-color: var(--copper); background: rgba(201,143,95,0.1); }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); cursor: pointer; }

/* ============================ HERO ======================================= */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 120px var(--pad) 56px;
  overflow: hidden;
}
/* FULL-BLEED product: the render IS the screen */
.hero__media {
  position: absolute; inset: 0; z-index: 0;
  display: grid; place-items: center;
  will-change: transform;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover !important;
  object-position: 68% 60%;   /* keep the blender (right-of-centre) in frame as it scales */
}
/* scrim so the type stays legible over the image: dark on the left + bottom */
.hero__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10,10,12,0.92) 0%, rgba(10,10,12,0.55) 34%, rgba(10,10,12,0) 62%),
    linear-gradient(0deg, rgba(10,10,12,0.85) 0%, rgba(10,10,12,0.12) 34%, rgba(10,10,12,0) 60%),
    radial-gradient(120% 120% at 60% 40%, transparent 55%, rgba(0,0,0,0.55) 100%);
}
/* placeholder shown until a render is dropped in */
.product-ph {
  width: 100%; height: 100%; border-radius: 8px;
  background:
    radial-gradient(70% 50% at 50% 78%, rgba(201,143,95,0.18), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0));
  display: grid; place-items: center; position: relative;
}
.product-ph:empty::after {
  content: "PRODUCT RENDER · UNIT 01";
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.28em;
  color: var(--muted-2);
}

.hero__inner { position: relative; z-index: 3; max-width: var(--maxw);
  margin: 0 auto; width: 100%; }

/* corner metadata like the ad */
.hero__meta { position: absolute; z-index: 3; inset: 108px var(--pad) auto var(--pad);
  display: flex; justify-content: space-between; pointer-events: none; }
.hero__meta .mono { color: var(--muted); text-shadow: 0 1px 12px rgba(0,0,0,0.6); }

.hero__headline {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(58px, 13vw, 188px); line-height: 0.84;
  letter-spacing: -0.02em; text-transform: uppercase;
  max-width: 11ch;
  text-shadow: 0 2px 40px rgba(0,0,0,0.5);
}
.hero__headline .dot { color: var(--copper); }
.hero__row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 32px; flex-wrap: wrap; margin-top: 34px;
}
.hero__sub { max-width: 40ch; color: var(--muted); font-size: 16px;
  text-shadow: 0 1px 16px rgba(0,0,0,0.5); }
.hero__sub strong { color: var(--text); font-weight: 500; }

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase; cursor: pointer;
  padding: 15px 26px; border-radius: 100px; border: 1px solid var(--copper);
  background: var(--copper); color: #120b05;
  transition: transform .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(201,143,95,0.3);
  background: var(--copper-hi); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--text); background: transparent; box-shadow: none; }

.scroll-cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.scroll-cue .line { width: 1px; height: 44px; background: linear-gradient(var(--copper), transparent);
  animation: cue 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0%,100% { transform: scaleY(0.4); opacity:.5 } 50% { transform: scaleY(1); opacity:1 } }

/* ============================ SCRUB HERO ================================= */
/* tall section; the stage pins while scroll scrubs the assembly frames */
.scrub { position: relative; height: 440vh; background: var(--bg); }
.scrub__stage {
  position: sticky; top: 0; height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 120px var(--pad) 56px;
}
.scrub__canvas { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%;
  display: block; }
.scrub__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10,10,12,0.92) 0%, rgba(10,10,12,0.5) 32%, rgba(10,10,12,0) 60%),
    linear-gradient(0deg, rgba(10,10,12,0.82) 0%, rgba(10,10,12,0.1) 32%, rgba(10,10,12,0) 58%),
    radial-gradient(120% 120% at 62% 42%, transparent 55%, rgba(0,0,0,0.5) 100%);
}
/* AI-render wipe — a diagonal reveal sweeps the rendered hero in from the
   bottom-right corner up to the top-left, once on load (echoes the ad's "turns AI" sweep) */
.render-wipe { position: absolute; inset: 0; z-index: 2; background: var(--bg); pointer-events: none;
  clip-path: polygon(0 0, 240% 0, 0 240%);
  animation: renderWipe 1.75s cubic-bezier(.66,0,.22,1) forwards; }
.render-scan { position: absolute; z-index: 2; left: 50%; top: 50%; width: 300%; height: 2px;
  transform-origin: center; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, transparent, var(--copper-hi) 45%, #fff 50%, var(--copper-hi) 55%, transparent);
  box-shadow: 0 0 26px 7px rgba(201,143,95,0.45);
  animation: renderScan 1.75s cubic-bezier(.66,0,.22,1) forwards; }
@keyframes renderWipe {
  0%   { clip-path: polygon(0 0, 240% 0, 0 240%); }
  100% { clip-path: polygon(0 0, 0 0, 0 0); }
}
@keyframes renderScan {
  0%   { opacity: 1; transform: translate(-50%,-50%) rotate(-45deg) translateY(78vh); }
  88%  { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%,-50%) rotate(-45deg) translateY(-78vh); }
}
@media (prefers-reduced-motion: reduce) { .render-wipe, .render-scan { display: none; } }

.scrub__intro { position: relative; z-index: 3; max-width: var(--maxw); margin: 0 auto;
  width: 100%; will-change: transform, opacity; }

/* teardown callouts, anchored lower-left, revealed per scroll range */
.anno {
  position: absolute; z-index: 3; left: var(--pad); bottom: 21vh; max-width: 34ch;
  opacity: 0; transform: translateY(20px); pointer-events: none;
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.anno.in { opacity: 1; transform: none; }
.anno__k { display: block; font-family: var(--mono); font-size: 13px; letter-spacing: 0.2em;
  color: var(--copper-hi); }
.anno__t { display: block; font-family: var(--serif); font-weight: 500;
  font-size: clamp(26px, 3.4vw, 40px); line-height: 1.02; letter-spacing: -0.01em;
  margin: 10px 0 10px; text-shadow: 0 2px 30px rgba(0,0,0,0.55); }
.anno__d { display: block; color: var(--muted); font-size: 15px; max-width: 30ch;
  text-shadow: 0 1px 14px rgba(0,0,0,0.5); }
.scrub__stage .scroll-cue { z-index: 3; }
@media (max-width: 900px) {
  .scrub { height: 380vh; }
  .anno { bottom: 30vh; }
  /* lift the hero copy so the scroll cue sits clearly BELOW the buttons (no overlap) */
  .scrub__stage { padding-bottom: 98px; }
  .scroll-cue { bottom: 18px; gap: 6px; }
  .scroll-cue .line { height: 24px; }
}

/* ============================ MARQUEE ==================================== */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  overflow: hidden; padding: 22px 0; background: var(--bg-2); }
.marquee__track { display: flex; gap: 60px; white-space: nowrap; width: max-content;
  animation: slide 32s linear infinite; }
.marquee__track span { font-family: var(--serif); font-style: italic; font-size: 26px;
  color: var(--muted); }
.marquee__track span b { color: var(--copper-hi); font-style: normal; font-weight: 500; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ============================ MANIFESTO ================================== */
.manifesto .container { display: grid; grid-template-columns: 1fr; gap: 40px; }
.manifesto h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(30px, 5vw, 64px); line-height: 1.05; letter-spacing: -0.02em;
  max-width: 20ch;
}
.manifesto h2 em { font-style: italic; color: var(--copper-hi); }
.manifesto .meta-row { display: flex; justify-content: space-between; align-items: baseline;
  border-top: 1px solid var(--line); padding-top: 18px; flex-wrap: wrap; gap: 16px; }

/* ============================ PRECISION / SPLIT ========================== */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(30px,5vw,80px);
  align-items: center; }
.split__media { position: relative; aspect-ratio: 4/5; border: 1px solid var(--line);
  border-radius: 10px; overflow: hidden; background: var(--bg-elev); }
.split__media .product-ph { border-radius: 0; }
.split__media .tag { position: absolute; top: 16px; left: 16px; z-index: 2; }
.split__media .tag-br { position: absolute; bottom: 16px; right: 16px; z-index: 2; }
.split__body h3 { font-family: var(--serif); font-weight: 500;
  font-size: clamp(28px,4vw,50px); line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 22px; }
.split__body p { color: var(--muted); max-width: 46ch; margin-bottom: 28px; }
.speclist { display: grid; gap: 0; margin-top: 8px; }
.speclist .row { display: grid; grid-template-columns: 40px 1fr auto; gap: 18px;
  align-items: baseline; padding: 16px 0; border-top: 1px solid var(--line); }
.speclist .row .n { font-family: var(--mono); font-size: 11px; color: var(--muted-2); }
.speclist .row .k { font-size: 15px; }
.speclist .row .v { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em;
  color: var(--copper-hi); }

/* ============================ FEATURE GRID ============================== */
.features .head { display: flex; justify-content: space-between; align-items: flex-end;
  gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
.features h2 { font-family: var(--serif); font-weight: 500;
  font-size: clamp(30px,5vw,60px); line-height: 1.0; letter-spacing: -0.02em; }
.grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.card {
  border: 1px solid var(--line); border-radius: 12px; padding: 30px;
  background: linear-gradient(180deg, var(--bg-elev), var(--bg-2));
  min-height: 260px; display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden;
  transition: border-color .35s var(--ease), transform .35s var(--ease);
}
.card:hover { border-color: rgba(201,143,95,0.5); transform: translateY(-4px); }
.card::before { content: ""; position: absolute; inset: 0; opacity: 0;
  background: radial-gradient(60% 50% at 50% 0%, rgba(201,143,95,0.12), transparent 70%);
  transition: opacity .35s var(--ease); }
.card:hover::before { opacity: 1; }
.card .num { font-family: var(--mono); font-size: 11px; color: var(--muted-2); letter-spacing: 0.2em; }
.card .big { font-family: var(--serif); font-size: clamp(38px,5vw,64px); line-height: 1;
  letter-spacing: -0.02em; }
.card .big small { font-size: 0.34em; font-family: var(--mono); color: var(--muted);
  letter-spacing: 0.1em; vertical-align: super; }
.card h4 { font-size: 17px; font-weight: 500; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14px; }
.card.wide { grid-column: span 6; } .card.third { grid-column: span 4; }
.card.half { grid-column: span 6; } .card.full { grid-column: span 12; }

/* programs strip (HI/LO/P icon row from the ad) */
.programs { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  border: 1px solid var(--line); border-radius: 100px; padding: 8px 14px; color: var(--muted); }
.chip.on { border-color: var(--copper); color: var(--copper-hi); }

/* ============================ FRESH BLEND (hot band) ==================== */
.fresh { background: var(--ember); color: #140302; padding: clamp(70px,11vh,150px) var(--pad);
  position: relative; overflow: hidden; }
.fresh__word { font-family: var(--serif); font-weight: 700; text-transform: uppercase;
  font-size: clamp(72px, 20vw, 320px); line-height: 0.82; letter-spacing: -0.03em;
  color: #150402; mix-blend-mode: multiply; }
.fresh__word em { font-style: italic; }
.fresh .container { position: relative; z-index: 2; }
.fresh__row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px;
  margin-top: 30px; align-items: flex-end; }
.fresh__row p { max-width: 42ch; font-size: 16px; color: #2a0906; font-weight: 500; }
.fresh .mono { color: #3a0d08; }
.fresh .btn { background: #150402; border-color: #150402; color: var(--ember); }
.fresh .btn:hover { background: #000; border-color:#000; box-shadow: 0 14px 40px rgba(0,0,0,0.3); }

/* ============================ GALLERY =================================== */
/* clean 2x2 of 4:5 cells — matches the portrait product shots so every image
   fills its cell edge-to-edge (no slivers, no empty boxes) */
.gallery .grid { grid-template-columns: repeat(2, 1fr); gap: clamp(14px,2vw,24px);
  grid-auto-rows: auto; }
.shot { position: relative; border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  background: var(--bg-elev); aspect-ratio: 4 / 5; grid-column: auto; grid-row: auto; }
.shot .product-ph:empty::after { content: attr(data-label); }
.shot .cap { position: absolute; left: 14px; bottom: 12px; z-index: 2; }

/* ============================ SPECS TABLE =============================== */
.specs .container { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(30px,5vw,80px); }
.specs h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(30px,5vw,60px);
  line-height: 1.0; letter-spacing: -0.02em; }
.specs__tbl { display: grid; }
.specs__tbl .r { display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  padding: 18px 0; border-top: 1px solid var(--line); }
.specs__tbl .r:last-child { border-bottom: 1px solid var(--line); }
.specs__tbl .r dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted); }
.specs__tbl .r dd { font-size: 16px; text-align: right; }

/* ============================ CTA ====================================== */
.cta { text-align: center; padding: clamp(90px,16vh,200px) var(--pad); position: relative; overflow: hidden; }
.cta__glow { position: absolute; left: 50%; top: 60%; transform: translate(-50%,-50%);
  width: 90vw; height: 60vh;
  background: radial-gradient(50% 50% at 50% 50%, rgba(201,143,95,0.18), transparent 70%); }
.cta .container { position: relative; z-index: 2; }
.cta h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(44px,9vw,140px);
  line-height: 0.9; letter-spacing: -0.02em; text-transform: uppercase; }
.cta h2 .dot { color: var(--copper); }
.cta p { color: var(--muted); max-width: 46ch; margin: 24px auto 40px; }
.price { font-family: var(--mono); font-size: 13px; letter-spacing: 0.16em; color: var(--muted);
  margin-top: 26px; }
.price b { color: var(--text); font-size: 16px; }
/* closing hero bookend — a faint product hero shot + a giant italic word behind the CTA */
.cta__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url("assets/hero-cta.webp") center/cover no-repeat;
  opacity: 0.20; filter: grayscale(0.15) contrast(1.05);
  -webkit-mask-image: radial-gradient(125% 95% at 50% 48%, #000 26%, transparent 76%);
          mask-image: radial-gradient(125% 95% at 50% 48%, #000 26%, transparent 76%); }
.cta__word { position: absolute; z-index: 1; left: 50%; top: 40%; transform: translate(-50%,-50%);
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(78px, 19vw, 300px); line-height: 0.8; letter-spacing: -0.03em;
  color: rgba(255,255,255,0.045); white-space: nowrap; pointer-events: none; user-select: none; }
@media (max-width: 700px) { .cta__word { white-space: normal; text-align: center; } }

/* ============================ FOOTER =================================== */
.footer { border-top: 1px solid var(--line); padding: 70px var(--pad) 40px; }
.footer .top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap;
  padding-bottom: 50px; }
.footer .brand { font-size: 40px; }
.footer .cols { display: flex; gap: 70px; flex-wrap: wrap; }
.footer .col h5 { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--muted-2); margin-bottom: 16px; }
.footer .col a { display: block; color: var(--muted); font-size: 14px; padding: 5px 0;
  transition: color .2s var(--ease); }
.footer .col a:hover { color: var(--text); }
.footer .bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  border-top: 1px solid var(--line); padding-top: 26px; }
.footer .bottom a { color: var(--muted); transition: color .2s var(--ease); }
.footer .bottom a:hover { color: var(--copper-hi); }

/* ============================ REVEAL ANIM =============================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease),
  transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }

/* ============================ RESPONSIVE =============================== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .split { grid-template-columns: 1fr; }
  .specs .container { grid-template-columns: 1fr; }
  .manifesto .container { gap: 28px; }
  .card.wide, .card.third, .card.half { grid-column: span 12; }
  .gallery .grid { grid-template-columns: 1fr; }
  .hero__meta { display: none; }   /* mobile: drop the UNIT/PRECISION/readout strip */
  .hero { padding-top: 100px; }
}
@media (max-width: 560px) {
  .grid { gap: 12px; }
  .hero__row { flex-direction: column; align-items: flex-start; }
  .footer .top { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
