:root {
  --navy-950: #020817;
  --navy-900: #031026;
  --navy-800: #071a38;
  --white: #f7fbff;
  --muted: #9dacbf;
  --line: rgba(255, 255, 255, 0.12);
  --lime: #caff00;
  --cyan: #00e6f2;
  --magenta: #ef36f2;
  --brand-accent: #ff3eb5;
  --display: "Barlow Condensed", sans-serif;
  --body: "Manrope", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--white);
  background: var(--navy-950);
  font-family: var(--body);
  overflow-x: hidden;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem clamp(1.25rem, 5vw, 5rem);
  background: linear-gradient(180deg, rgba(2, 8, 23, 0.94), rgba(2, 8, 23, 0));
  transition: background 220ms ease, backdrop-filter 220ms ease;
}

.site-header.scrolled {
  background: rgba(2, 8, 23, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.brand { position: relative; display: inline-flex; align-items: center; width: 10.6rem; height: 4.8rem; overflow: hidden; }
.brand-lockup { display: block; width: 100%; height: auto; mix-blend-mode: screen; }
.site-header .brand-lockup { mix-blend-mode: lighten; }

nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.6rem); font-size: 0.88rem; font-weight: 600; }
nav a { color: #c9d3df; transition: color 180ms ease; }
nav a:hover { color: white; }
.nav-cta { padding: 0.78rem 1.15rem; border: 1px solid rgba(255,255,255,.34); }

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(440px, 1.15fr);
  align-items: center;
  gap: 2rem;
  padding: 8rem clamp(1.25rem, 5vw, 5rem) 3rem;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(2,8,23,.98) 0%, rgba(3,16,38,.82) 46%, rgba(3,16,38,.38) 100%),
    radial-gradient(circle at 74% 42%, #123367 0%, var(--navy-900) 52%, var(--navy-950) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .12;
  background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(to right, black, transparent 82%);
}

.hero-copy { z-index: 3; max-width: 680px; }
.eyebrow { margin: 0 0 1.25rem; color: var(--brand-accent); font-size: 0.72rem; font-weight: 700; letter-spacing: .25em; text-transform: uppercase; }

h1, h2, h3 { margin: 0; font-family: var(--display); text-transform: uppercase; }
h1 { font-size: clamp(4rem, 7.3vw, 7.8rem); line-height: .84; letter-spacing: -.035em; }
h1 em { color: transparent; font-style: normal; -webkit-text-stroke: 1.5px rgba(247,251,255,.88); }
.hero-text { max-width: 570px; margin: 2rem 0 0; color: #bdc9d7; font-size: clamp(1rem, 1.3vw, 1.16rem); line-height: 1.75; }

.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: .9rem 1.35rem; border: 1px solid transparent; font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; transition: transform 180ms ease, background 180ms ease, border-color 180ms ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #180313; background: var(--brand-accent); }
.button-primary:hover { background: #ff79ce; }
.button-ghost { border-color: rgba(255,255,255,.26); }
.button-ghost:hover { border-color: white; }

.hero-product { position: relative; z-index: 2; width: min(100%, 860px); margin: 0; justify-self: end; overflow: hidden; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 35px 90px rgba(0,0,0,.38); }
.hero-product::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; box-shadow: inset 0 0 70px rgba(2,8,23,.28); }
.hero-product img { position: relative; z-index: 2; display: block; width: 100%; height: auto; filter: contrast(1.06) saturate(1.08); }
.product-halo { display: none; }
.hero-glow { position: absolute; z-index: 0; width: 20rem; height: 20rem; border-radius: 50%; filter: blur(100px); opacity: .13; }
.hero-glow-lime { right: 40%; bottom: 8%; background: var(--lime); }
.hero-glow-cyan { right: 20%; top: 18%; background: var(--cyan); }
.hero-glow-magenta { right: 2%; bottom: 18%; background: var(--magenta); }
.hero-index { position: absolute; right: clamp(1.25rem, 5vw, 5rem); bottom: 2.2rem; display: flex; align-items: center; gap: .8rem; color: #6e7f95; font: 600 .68rem var(--body); }
.hero-index div { width: 72px; height: 1px; background: linear-gradient(90deg, var(--brand-accent), var(--magenta)); }

.section { padding: clamp(5.5rem, 10vw, 9rem) clamp(1.25rem, 7vw, 7rem); }
.section-heading { display: grid; grid-template-columns: .5fr 1fr 1fr; align-items: end; gap: 2rem; margin-bottom: 3rem; }
.section-heading .eyebrow { align-self: start; }
.section-heading h2, .identity-copy h2, .contact h2 { font-size: clamp(3rem, 5vw, 5.5rem); line-height: .9; }
.section-heading > p:last-child { max-width: 420px; margin: 0; color: var(--muted); line-height: 1.7; }

.flavors { position: relative; background: #071329; }
.flavor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.flavor-card { --accent: white; position: relative; min-height: 810px; padding: clamp(1.6rem, 2.6vw, 2.4rem); overflow: hidden; background: linear-gradient(155deg, rgba(255,255,255,.045), transparent 48%), var(--navy-900); }
.flavor-card::after { content: ""; position: absolute; right: -5rem; bottom: -7rem; width: 18rem; height: 18rem; border: 1px solid var(--accent); border-radius: 50%; opacity: .12; box-shadow: 0 0 90px var(--accent); }
.flavor-lime { --accent: var(--lime); }
.flavor-cyan { --accent: var(--cyan); }
.flavor-magenta { --accent: var(--magenta); }
.flavor-topline { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.flavor-number { color: #6d7d91; font-size: .72rem; font-weight: 700; }
.flavor-detail { color: var(--accent); font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.flavor-line { width: 2.2rem; height: 2px; margin: 3.3rem 0 1.5rem; background: var(--accent); box-shadow: 0 0 18px var(--accent); }
.flavor-card h3 { min-height: 2em; color: var(--accent); font-size: clamp(3rem, 5vw, 5.2rem); line-height: .8; }
.flavor-card .flavor-intro { max-width: 330px; min-height: 6.5rem; margin: 1.7rem 0 0; color: #aebac9; font-size: .92rem; line-height: 1.68; }
.nutrition-panel { position: relative; z-index: 2; margin-top: 1.8rem; border: 1px solid rgba(255,255,255,.14); background: rgba(1,8,20,.42); }
.nutrition-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 1rem; color: var(--accent); border-bottom: 1px solid rgba(255,255,255,.12); text-transform: uppercase; }
.nutrition-heading span { font-size: .66rem; font-weight: 700; letter-spacing: .13em; }
.nutrition-heading strong { font: 700 1.25rem/1 var(--display); letter-spacing: .04em; }
.nutrition-table { padding: .45rem 1rem .3rem; }
.nutrition-table > div { display: grid; grid-template-columns: minmax(90px, 1.35fr) minmax(54px, .8fr) minmax(54px, .8fr); align-items: center; gap: .55rem; min-height: 2rem; border-bottom: 1px solid rgba(255,255,255,.075); }
.nutrition-table > div:last-child { border-bottom: 0; }
.nutrition-table span { color: #7f90a5; font-size: .64rem; }
.nutrition-table b, .nutrition-table strong { color: var(--white); font-size: .68rem; font-weight: 700; text-align: right; white-space: nowrap; }
.nutrition-table .nutrition-table-head { min-height: 2.3rem; }
.nutrition-table-head span, .nutrition-table-head strong { color: var(--accent); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; }
.nutrition-table .nutrition-divider { grid-template-columns: 1fr; min-height: 2.2rem; margin-top: .15rem; border-bottom-color: rgba(255,255,255,.12); }
.nutrition-divider span { color: var(--accent); font-size: .61rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.nutrition-footnote { margin: 0; padding: .25rem 1rem .85rem; color: #62738a; font-size: .57rem; line-height: 1.45; }
.flavor-card .flavor-basis { position: relative; z-index: 2; margin: 1.25rem 0 0; color: var(--accent); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.product-notice { display: grid; grid-template-columns: minmax(150px, .35fr) 1fr; gap: 2rem; margin-top: 1.5rem; padding: 1.25rem 1.4rem; border: 1px solid var(--line); }
.product-notice span { color: var(--brand-accent); font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.product-notice p { margin: 0; color: #7e8da1; font-size: .74rem; line-height: 1.65; }

.identity { display: grid; grid-template-columns: 1.15fr .85fr; min-height: 720px; padding-right: 0; padding-left: 0; background: var(--navy-950); }
.identity-visual { position: relative; display: grid; place-items: center; min-height: 620px; overflow: hidden; background: linear-gradient(145deg, #071b3d, #020817); }
.identity-visual::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(255,62,181,.18), transparent 43%); }
.identity-visual span { position: absolute; font: 800 clamp(7rem, 15vw, 16rem)/1 var(--display); letter-spacing: -.04em; }
.solid-word { z-index: 2; color: white; }
.contour { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.15); }
.contour-one { transform: translateY(-68%); }
.contour-two { transform: translateY(68%); }
.identity-copy { align-self: center; padding: clamp(4rem, 8vw, 8rem); }
.identity-copy > p:not(.eyebrow) { max-width: 520px; margin: 2rem 0 0; color: var(--muted); line-height: 1.8; }
.identity-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.identity-points div { display: flex; flex-direction: column; }
.identity-points strong { font: 700 2.4rem var(--display); }
.identity-points span { color: #7f8da0; font-size: .7rem; text-transform: uppercase; }

.contact { background: linear-gradient(135deg, #081d40, #030b1a); }
.contact-card { position: relative; max-width: 1200px; margin: 0 auto; padding: clamp(2.2rem, 6vw, 5rem); border: 1px solid var(--line); overflow: hidden; }
.contact-card::after { content: ""; position: absolute; width: 26rem; height: 26rem; right: -12rem; top: -14rem; border-radius: 50%; background: var(--magenta); filter: blur(130px); opacity: .18; }
.contact-card > p:not(.eyebrow) { max-width: 620px; margin: 1.5rem 0 2rem; color: var(--muted); line-height: 1.7; }

footer { display: grid; grid-template-columns: auto 1fr minmax(280px, 480px); align-items: center; gap: 2rem; padding: 2rem clamp(1.25rem, 5vw, 5rem); color: #718096; background: #01050e; font-size: .72rem; }
.brand-footer { width: 9.4rem; height: 4.25rem; }
footer > p:nth-child(2) { text-align: center; }
.footer-signature { text-align: right; letter-spacing: .08em; text-transform: uppercase; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms ease, transform 700ms ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .site-header nav a:not(.nav-cta) { display: none; }
  .hero { grid-template-columns: 1fr; align-content: center; padding-top: 7.2rem; }
  .hero-copy { padding-top: 1.5rem; }
  .hero-product { width: min(115%, 700px); margin: -1rem -7.5% 0; justify-self: center; }
  .hero-index { display: none; }
  .section-heading { grid-template-columns: 1fr; gap: .8rem; }
  .section-heading .eyebrow { margin-bottom: .4rem; }
  .flavor-grid { grid-template-columns: 1fr; }
  .flavor-card { min-height: 0; }
  .flavor-line { margin-top: 2.2rem; }
  .flavor-card .flavor-intro { min-height: 0; }
  .product-notice { grid-template-columns: 1fr; gap: .55rem; }
  .identity { grid-template-columns: 1fr; }
  .identity-visual { min-height: 390px; }
  .identity-copy { padding: 5rem 1.25rem; }
  footer { grid-template-columns: 1fr; }
  footer > p:nth-child(2), .footer-signature { text-align: left; }
}

@media (max-width: 520px) {
  .site-header { padding-block: .9rem; }
  .nav-cta { padding: .68rem .8rem; font-size: .72rem; }
  .brand { width: 9.2rem; height: 4.15rem; }
  h1 { font-size: clamp(3.65rem, 18vw, 5rem); }
  .hero { min-height: auto; padding-bottom: 4.5rem; }
  .hero-text { margin-top: 1.4rem; }
  .hero-actions { margin-top: 1.6rem; }
  .hero-product { width: 130%; margin-top: 0; margin-left: -15%; margin-right: -15%; }
  .button { width: 100%; }
  .section { padding-top: 4.5rem; padding-bottom: 4.5rem; }
  .flavor-card h3 { font-size: 3.8rem; }
  .identity-points { gap: .5rem; }
  .identity-points strong { font-size: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .button { transition: none; }
}
