:root {
  --ink: #05080d;
  --navy: #071523;
  --panel: #0b1119;
  --white: #f7f9fb;
  --muted: #a9b0ba;
  --orange: #ff6a00;
  --orange-soft: #ff9d43;
  --blue: #00bfff;
  --red: #ff244f;
  --line: rgba(255, 106, 0, .26);
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; }

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 40px), var(--max));
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 900; letter-spacing: .14em; }
.brand img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 22px rgba(255,106,0,.35); }
nav { display: flex; align-items: center; gap: 28px; }
nav a { color: #d8dce2; text-decoration: none; font-size: .88rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
nav a:hover, nav a:focus-visible { color: var(--orange-soft); }
.nav-contact { padding: 10px 17px; border: 1px solid var(--orange); }
.menu-button { display: none; color: white; background: transparent; border: 1px solid rgba(255,255,255,.25); padding: 8px 13px; font-weight: 800; }

.hero {
  position: relative;
  min-height: 760px;
  height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #03070b;
}
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: -3; }
.hero-shade {
  position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(90deg, rgba(3,7,11,.98) 0%, rgba(3,7,11,.88) 30%, rgba(3,7,11,.25) 60%, rgba(3,7,11,.12) 100%),
              linear-gradient(0deg, rgba(3,7,11,.72) 0%, transparent 40%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .18; pointer-events: none;
  background-image: linear-gradient(rgba(255,106,0,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(255,106,0,.18) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(90deg, black, transparent 52%);
}
.hero-copy { width: min(calc(100% - 40px), var(--max)); margin: 70px auto 0; }
.hero-copy > * { max-width: 610px; }
.eyebrow { margin: 0 0 14px; color: var(--orange-soft); font-size: .85rem; font-weight: 900; letter-spacing: .24em; }
h1, h2, h3 { margin-top: 0; font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-weight: 900; text-transform: uppercase; line-height: .93; letter-spacing: .02em; }
h1 { margin-bottom: 24px; font-size: clamp(4.3rem, 8.3vw, 8.3rem); text-shadow: 0 8px 40px rgba(0,0,0,.58); }
h1 span { color: var(--orange); -webkit-text-stroke: 1px rgba(255,255,255,.15); }
.hero-description { margin-bottom: 30px; color: #d9dde4; font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: 540px; }
.hero-actions, .contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 0 24px; text-decoration: none; text-transform: uppercase; font-weight: 900; letter-spacing: .07em; border: 1px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-primary { color: #090a0c; background: var(--orange); box-shadow: 0 0 30px rgba(255,106,0,.25); }
.button-primary:hover { background: #ff872f; box-shadow: 0 0 38px rgba(255,106,0,.42); }
.button-ghost { border-color: rgba(255,255,255,.32); background: rgba(5,8,13,.44); backdrop-filter: blur(8px); }
.scroll-cue { position: absolute; bottom: 24px; left: 50%; display: flex; align-items: center; gap: 9px; color: #bbc0c8; font-size: .7rem; letter-spacing: .2em; }
.scroll-cue span { width: 36px; height: 1px; background: var(--orange); }

.metrics { display: grid; grid-template-columns: repeat(4, 1fr); max-width: var(--max); margin: -1px auto 0; border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.metrics article { min-height: 140px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; }
.metrics strong { color: var(--orange); font-family: Impact, sans-serif; font-size: clamp(2rem, 3vw, 3rem); letter-spacing: .04em; line-height: 1; }
.metrics span { color: var(--muted); font-size: .8rem; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }

.section { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; padding: 120px 0; }
.section-heading { max-width: 750px; margin-bottom: 48px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
h2 { margin-bottom: 20px; font-size: clamp(3rem, 6vw, 5.8rem); }
.section-heading > p:last-child { color: var(--muted); font-size: 1.08rem; }

.formula { position: relative; }
.formula::after { content: "X"; position: absolute; right: -60px; top: 40px; color: rgba(255,106,0,.035); font-family: Impact, sans-serif; font-size: 34rem; line-height: 1; z-index: -1; }
.formula-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.formula-card { position: relative; min-height: 360px; padding: 32px; overflow: hidden; background: linear-gradient(155deg, rgba(18,26,36,.96), rgba(7,11,17,.96)); border: 1px solid rgba(255,255,255,.1); }
.formula-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--orange); box-shadow: 0 0 22px var(--orange); }
.card-index { position: absolute; right: 24px; top: 20px; color: rgba(255,255,255,.24); font-size: .8rem; letter-spacing: .15em; }
.formula-symbol { width: 84px; height: 84px; display: grid; place-items: center; margin-bottom: 62px; border: 1px solid var(--orange); color: var(--orange); font-family: Impact, sans-serif; font-size: 1.9rem; transform: rotate(-3deg); box-shadow: inset 0 0 18px rgba(255,106,0,.12); }
.formula-card h3 { margin-bottom: 16px; font-size: 2.2rem; }
.formula-card p { margin: 0; color: var(--muted); }

.flavors { width: 100%; max-width: none; padding-inline: max(20px, calc((100% - var(--max))/2)); background: #080c12; border-block: 1px solid rgba(255,255,255,.07); }
.flavor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: var(--max); margin: 0 auto; }
.flavor-card { position: relative; min-height: 520px; padding: clamp(28px, 5vw, 62px); display: flex; flex-direction: column; justify-content: end; overflow: hidden; isolation: isolate; border: 1px solid rgba(255,255,255,.13); background: radial-gradient(circle at 70% 20%, var(--glow), transparent 35%), linear-gradient(145deg, #101721, #06090e 70%); }
.flavor-card::before { content: "X"; position: absolute; right: -10px; top: 0; z-index: -1; color: transparent; -webkit-text-stroke: 2px var(--accent); opacity: .14; font-family: Impact, sans-serif; font-size: clamp(17rem, 30vw, 29rem); line-height: .85; transform: rotate(-8deg); }
.flavor-blue { --accent: var(--blue); --glow: rgba(0,191,255,.28); }
.flavor-red { --accent: var(--red); --glow: rgba(255,36,79,.25); }
.flavor-electric { --accent: var(--orange); --glow: rgba(255,106,0,.32); }
.single-flavor { grid-template-columns: minmax(0, 820px); justify-content: center; }
.flavor-light { position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--accent); box-shadow: 0 0 28px var(--accent); }
.flavor-code { margin: 0 0 12px; color: var(--accent); font-weight: 900; letter-spacing: .2em; }
.flavor-card h3 { margin-bottom: 18px; font-size: clamp(4rem, 8vw, 7rem); color: var(--white); }
.flavor-card > p:not(.flavor-code) { max-width: 360px; margin-top: 0; color: #c1c7d0; font-size: 1.08rem; }
.flavor-tag { align-self: flex-start; margin-top: 12px; padding: 8px 12px; border: 1px solid color-mix(in srgb, var(--accent), transparent 48%); color: var(--accent); font-size: .78rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }

.technical-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 18px; }
.panel { padding: clamp(24px, 4vw, 42px); background: #0a0f16; border: 1px solid rgba(255,106,0,.33); }
.panel h3 { margin-bottom: 14px; color: var(--orange-soft); font-size: 2rem; }
.portion { color: var(--muted); }
table { width: 100%; border-collapse: collapse; font-size: .93rem; }
th, td { padding: 10px 8px; border-bottom: 1px solid rgba(255,255,255,.12); text-align: right; }
th:first-child, td:first-child { text-align: left; }
th { color: var(--orange-soft); font-size: .76rem; text-transform: uppercase; letter-spacing: .07em; }
.amino-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.amino-list span { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.11); color: #cbd0d7; }
.amino-list b { color: white; white-space: nowrap; }
.electro-title { margin-top: 30px !important; }
.detail-panel { margin-top: 18px; padding: 0 clamp(24px, 4vw, 42px); background: #0a0f16; border: 1px solid rgba(255,255,255,.12); }
.detail-panel summary { padding: 22px 0; cursor: pointer; color: var(--orange-soft); font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.detail-panel p { padding: 0 0 26px; color: var(--muted); }
.warning { display: flex; align-items: center; gap: 20px; margin-top: 18px; padding: 24px; border: 1px solid var(--orange); background: rgba(255,106,0,.07); }
.warning > span { flex: 0 0 52px; width: 52px; height: 52px; display: grid; place-items: center; border: 2px solid var(--orange); color: var(--orange); font-size: 2rem; font-weight: 900; transform: rotate(45deg); }
.warning > span::first-line { transform: rotate(-45deg); }

.contact { width: min(calc(100% - 40px), var(--max)); margin: 0 auto 80px; padding: 52px; display: grid; grid-template-columns: 140px 1fr auto; gap: 34px; align-items: center; background: linear-gradient(100deg, rgba(255,106,0,.14), #0b1119 45%, #070a0f); border: 1px solid var(--line); }
.contact img { width: 130px; height: 130px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 38px rgba(255,106,0,.32); }
.contact h2 { margin-bottom: 10px; font-size: clamp(2.5rem, 5vw, 4.4rem); }
.contact p { margin-top: 0; color: var(--muted); }
footer { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; padding: 28px 0; display: flex; justify-content: space-between; gap: 20px; color: #7f8792; border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }

@media (max-width: 900px) {
  .site-header { height: 78px; }
  .brand img { width: 48px; height: 48px; }
  .menu-button { display: block; }
  nav { position: absolute; top: 78px; left: 0; right: 0; display: none; padding: 20px; flex-direction: column; align-items: stretch; gap: 0; background: rgba(5,8,13,.98); border: 1px solid rgba(255,255,255,.12); }
  nav.open { display: flex; }
  nav a { padding: 13px 8px; }
  .hero { min-height: 800px; height: 100svh; align-items: end; }
  .hero-art { object-position: 68% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(3,7,11,.98) 8%, rgba(3,7,11,.78) 48%, rgba(3,7,11,.2) 100%); }
  .hero-copy { margin-bottom: 76px; }
  .hero-copy > * { max-width: 580px; }
  h1 { font-size: clamp(3.8rem, 15vw, 6.4rem); }
  .metrics { grid-template-columns: 1fr 1fr; }
  .formula-grid { grid-template-columns: 1fr; }
  .formula-card { min-height: 300px; }
  .formula-symbol { margin-bottom: 46px; }
  .technical-grid { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 100px 1fr; padding: 34px; }
  .contact img { width: 96px; height: 96px; }
  .contact-actions { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .site-header { width: calc(100% - 28px); }
  .brand span { display: none; }
  .hero { min-height: 760px; }
  .hero-art { height: 58%; object-position: 80% center; }
  .hero-shade { background: linear-gradient(0deg, #03070b 35%, rgba(3,7,11,.25) 76%, rgba(3,7,11,.05)); }
  .hero-copy { width: calc(100% - 32px); margin-bottom: 45px; }
  .hero-description { font-size: 1rem; }
  .hero-actions .button { flex: 1 1 160px; }
  .scroll-cue { display: none; }
  .metrics { margin-inline: 16px; }
  .metrics article { min-height: 112px; padding: 20px; }
  .section { width: calc(100% - 32px); padding: 84px 0; }
  h2 { font-size: 3.2rem; }
  .section-heading,
  .formula-card,
  .metrics article,
  .contact > div { min-width: 0; }
  .formula .section-heading h2 { font-size: clamp(2.25rem, 10.8vw, 2.7rem); letter-spacing: 0; }
  .flavors { width: 100%; padding-inline: 16px; }
  .flavor-grid { grid-template-columns: 1fr; }
  .flavor-card { min-height: 410px; }
  .amino-list { grid-template-columns: 1fr; }
  table { font-size: .79rem; }
  th, td { padding: 9px 4px; }
  .warning { align-items: flex-start; font-size: .85rem; }
  .warning > span { flex-basis: 42px; width: 42px; height: 42px; }
  .contact { width: calc(100% - 32px); grid-template-columns: 1fr; justify-items: center; gap: 20px; padding: 28px 20px; text-align: center; }
  .contact img { width: 88px; height: 88px; }
  .contact > div:not(.contact-actions) { width: 100%; }
  .contact h2 { font-size: clamp(2.35rem, 11.5vw, 2.8rem); }
  .contact-actions { grid-column: 1; width: 100%; display: grid; grid-template-columns: 1fr; }
  .contact-actions .button { width: 100%; }
  footer { width: calc(100% - 32px); flex-direction: column; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-art { animation: hero-breathe 8s ease-in-out infinite alternate; }
  .flavor-light { animation: pulse 2.8s ease-in-out infinite alternate; }
  @keyframes hero-breathe { from { transform: scale(1); } to { transform: scale(1.025); } }
  @keyframes pulse { from { opacity: .6; } to { opacity: 1; } }
}
