/* ============================================================
   FARASIS EUROPE — Dark theme redesign
   ============================================================ */

:root {
  /* Surfaces — warm near-black */
  --bg-0: oklch(0.118 0.006 60);
  --bg-1: oklch(0.155 0.006 60);
  --bg-2: oklch(0.195 0.008 60);
  --bg-3: oklch(0.240 0.008 60);
  --line: oklch(0.30 0.010 60 / 0.65);
  --line-soft: oklch(0.30 0.010 60 / 0.30);

  /* Text */
  --fg-0: oklch(0.97 0.005 80);
  --fg-1: oklch(0.85 0.006 75);
  --fg-2: oklch(0.66 0.008 70);
  --fg-3: oklch(0.48 0.008 70);

  /* Brand */
  --orange: #F39200;          /* logo orange */
  --orange-hi: #FFB046;
  --orange-lo: #C97600;
  --silver: oklch(0.78 0.004 70);

  /* Type */
  --font-display: "Space Grotesk", "Helvetica Neue", sans-serif;
  --font-body: "Manrope", "Helvetica Neue", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  /* Geometry */
  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --container: 1320px;
  --pad: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg-0); color: var(--fg-1); }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

/* Selection */
::selection { background: var(--orange); color: #16110a; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-0); }
::-webkit-scrollbar-thumb { background: var(--bg-3); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--orange-lo); }

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--orange);
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--fg-0);
  margin: 0;
  text-wrap: balance;
}
.h-display {
  font-size: clamp(54px, 8.4vw, 132px);
  line-height: 0.82;
  letter-spacing: -0.035em;
  font-weight: 500;
}
.h-1 { font-size: clamp(38px, 4.4vw, 68px); line-height: 1.02; letter-spacing: -0.025em; }
.h-2 { font-size: clamp(28px, 2.4vw, 38px); line-height: 1.1; }
.h-3 { font-size: 22px; line-height: 1.2; }
.lead { font-size: clamp(17px, 1.3vw, 20px); color: var(--fg-1); max-width: 64ch; line-height: 1.55; }
.muted { color: var(--fg-2); }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}
section { position: relative; }
.section-pad { padding: clamp(80px, 9vw, 140px) 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 26px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: transform .25s cubic-bezier(.2,.7,.2,1), background .25s, color .25s, border-color .25s;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn .arrow {
  width: 18px; height: 18px;
  display: inline-block;
  transition: transform .3s cubic-bezier(.2,.7,.2,1);
}
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary {
  background: var(--orange);
  color: #1a1208;
}
.btn-primary:hover { background: var(--orange-hi); }
.btn-ghost {
  background: transparent;
  color: var(--fg-0);
  border-color: var(--line);
}
.btn-ghost:hover { background: var(--bg-2); border-color: oklch(0.45 0.01 60); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  padding: 4px 0;
  transition: background .4s, backdrop-filter .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: oklch(0.118 0.006 60 / 0.78);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom-color: var(--line-soft);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img { height: 140px; width: auto; }
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  position: relative;
  padding: 10px 14px;
  font-size: 14.5px;
  color: var(--fg-1);
  border-radius: 8px;
  transition: color .2s, background .2s;
}
.nav a:hover { color: var(--fg-0); background: var(--bg-2); }
.nav a .caret {
  display: inline-block; margin-left: 6px; opacity: .6;
  font-size: 10px; transform: translateY(-1px);
}
.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.lang {
  display: inline-flex;
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 3px;
  font-family: var(--font-mono);
  font-size: 11px;
}
.lang button {
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--fg-2);
  letter-spacing: 0.1em;
}
.lang button.active { background: var(--orange); color: #16110a; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 210px 0 90px;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, oklch(0.118 0.006 60 / 0.85) 0%, oklch(0.118 0.006 60 / 0.55) 35%, oklch(0.118 0.006 60 / 0.20) 60%, oklch(0.118 0.006 60 / 0.35) 100%),
    radial-gradient(80% 60% at 75% 20%, oklch(0.27 0.08 50 / 0.30), transparent 60%),
    linear-gradient(180deg, oklch(0.118 0.006 60 / 0.30) 0%, oklch(0.118 0.006 60 / 0.20) 50%, oklch(0.118 0.006 60 / 0.85) 95%, var(--bg-0) 100%);
  pointer-events: none;
}
.hero-bg::after {
  /* subtle film grain */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.55'/></svg>");
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: saturate(0.9) contrast(1.04) brightness(0.82);
}
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.15;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  min-height: calc(100vh - 230px);
}
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--fg-3);
  text-transform: uppercase;
}
.hero-meta .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--orange);
  box-shadow: 0 0 0 4px oklch(0.74 0.16 60 / 0.18);
}
.hero h1.h-display .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.16em;
  margin-bottom: -0.16em;
  line-height: 0.9;
}
.hero h1 .word span {
  display: inline-block;
  transform: translateY(120%);
  animation: word-rise .9s cubic-bezier(.2,.7,.2,1) forwards;
  padding-bottom: 0.04em;
}
.hero h1 .word:nth-child(2) span { animation-delay: .08s; }
.hero h1 .word:nth-child(3) span { animation-delay: .16s; }
.hero h1 .accent { color: var(--orange); font-style: italic; font-family: "Instrument Serif", "Times New Roman", serif; font-weight: 400; }

@keyframes word-rise {
  to { transform: translateY(0); }
}
.hero-sub {
  margin-top: 32px;
  font-size: clamp(16px, 1.2vw, 18.5px);
  color: var(--fg-1);
  max-width: 52ch;
  line-height: 1.55;
}
.hero-ctas {
  margin-top: 40px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-corner-stats {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 560px;
}
.hero-corner-stats .stat {
  border-left: 1px solid var(--line);
  padding-left: 14px;
}
.hero-corner-stats .stat .v {
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: -0.02em;
  color: var(--fg-0);
  font-weight: 500;
  line-height: 1;
}
.hero-corner-stats .stat .l {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--fg-3);
  text-transform: uppercase;
  margin-top: 8px;
}

/* Hero visual */
.hero-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 580px;
  margin-left: auto;
}
.cell-ring {
  position: absolute; inset: 0;
}
.cell-pulse-ring {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 1px solid var(--line);
}
.cell-pulse-ring::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1px solid var(--orange);
  opacity: 0.6;
  animation: ringPulse 3.6s ease-in-out infinite;
}
@keyframes ringPulse {
  0% { transform: scale(.9); opacity: .7; }
  100% { transform: scale(1.2); opacity: 0; }
}
.cell-ticks {
  position: absolute; inset: 0;
  animation: spin 60s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Hero scroll cue */
.scroll-cue {
  position: absolute;
  left: var(--pad);
  bottom: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--fg-3);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.scroll-cue .bar {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, var(--orange), transparent);
  animation: scrollPulse 2.4s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* ---------- Marquee ---------- */
.marquee {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 22px 0;
  overflow: hidden;
  position: relative;
  background: var(--bg-1);
}
.marquee-track {
  display: flex;
  gap: 80px;
  animation: marquee 38s linear infinite;
  width: max-content;
  will-change: transform;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.marquee-item .star {
  color: var(--orange);
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- KPI strip ---------- */
.kpis {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(80% 100% at 50% 0%, oklch(0.20 0.02 50 / 0.6), transparent 70%),
    var(--bg-0);
}
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}
@media (max-width: 900px) {
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
}
.kpi {
  padding: 56px 30px;
  border-right: 1px solid var(--line-soft);
}
.kpi:last-child { border-right: 0; }
.kpi .num {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.5vw, 64px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--fg-0);
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.kpi .num .unit {
  font-size: 0.4em;
  color: var(--orange);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  font-weight: 400;
}
.kpi .lbl {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
}

/* ---------- Solutions ---------- */
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 70px;
}
@media (max-width: 900px) {
  .section-head { grid-template-columns: 1fr; gap: 28px; }
}
.section-head .right { padding-bottom: 10px; }

.solutions-stage {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 48px;
  min-height: 580px;
}
@media (max-width: 980px) {
  .solutions-stage { grid-template-columns: 1fr; }
}
.solutions-list {
  display: flex;
  flex-direction: column;
}
.sol-item {
  display: grid;
  grid-template-columns: 32px 1fr 18px;
  gap: 16px;
  align-items: center;
  padding: 22px 4px;
  border-top: 1px solid var(--line-soft);
  cursor: pointer;
  transition: padding .3s, color .25s;
  position: relative;
}
.sol-item:last-child { border-bottom: 1px solid var(--line-soft); }
.sol-item .idx {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--fg-3);
}
.sol-item .name {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--fg-1);
  letter-spacing: -0.01em;
  transition: color .25s, transform .35s cubic-bezier(.2,.7,.2,1);
}
.sol-item .arrow {
  opacity: 0;
  transform: translateX(-4px);
  color: var(--orange);
  transition: opacity .3s, transform .3s;
}
.sol-item:hover .name { color: var(--fg-0); }
.sol-item.active .name { color: var(--orange); transform: translateX(8px); }
.sol-item.active .idx { color: var(--orange); }
.sol-item.active .arrow { opacity: 1; transform: translateX(0); }
.sol-item .bar {
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%) scaleY(0);
  width: 2px; height: 70%;
  background: var(--orange);
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
  transform-origin: center;
}
.sol-item.active .bar { transform: translateY(-50%) scaleY(1); }

.sol-detail {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-1);
  border: 1px solid var(--line-soft);
  min-height: 580px;
}
.sol-detail .visual {
  position: absolute;
  inset: 0;
}
.sol-detail .visual .placeholder {
  width: 100%; height: 100%;
}
.sol-detail .visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, oklch(0.10 0.006 60 / 0.92) 100%);
}
.sol-detail .body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 36px;
  z-index: 2;
}
.sol-detail .body h3 {
  font-size: clamp(28px, 3vw, 40px);
  margin-bottom: 14px;
}
.sol-detail .body p {
  color: var(--fg-1);
  max-width: 56ch;
  font-size: 16px;
  line-height: 1.55;
}
.sol-detail .body .meta {
  display: flex;
  gap: 28px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.sol-detail .body .meta .m {
  display: flex;
  flex-direction: column;
}
.sol-detail .body .meta .m .v {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--fg-0);
}
.sol-detail .body .meta .m .l {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--fg-3);
  text-transform: uppercase;
}
.sol-detail .body .link {
  margin-top: 28px;
}

/* Placeholder image surface */
.placeholder {
  background:
    repeating-linear-gradient(135deg,
      oklch(0.22 0.008 60 / 0.6) 0 12px,
      oklch(0.18 0.008 60 / 0.6) 12px 24px);
  position: relative;
  overflow: hidden;
}
.placeholder::after {
  content: attr(data-label);
  position: absolute;
  left: 16px; top: 16px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: oklch(0.6 0.008 60);
  text-transform: uppercase;
  padding: 4px 8px;
  background: oklch(0.118 0.006 60 / 0.75);
  border: 1px solid var(--line-soft);
  border-radius: 4px;
}

/* ---------- Products v2 ---------- */
.products-stack {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* Hero product card */
.prod-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  min-height: 540px;
  transition: border-color .4s, box-shadow .4s;
}
.prod-hero:hover {
  border-color: oklch(0.40 0.05 55);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.65);
}
.prod-hero::before {
  /* top corner accent line */
  content: "";
  position: absolute;
  top: 22px; left: 22px;
  width: 36px; height: 1px;
  background: var(--orange);
  z-index: 5;
}
.prod-hero::after {
  content: "";
  position: absolute;
  top: 22px; left: 22px;
  width: 1px; height: 36px;
  background: var(--orange);
  z-index: 5;
}
.prod-hero-body {
  padding: clamp(36px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
}
.prod-hero-body h3 {
  font-size: clamp(36px, 4vw, 54px);
  letter-spacing: -0.025em;
}
.prod-lead {
  color: var(--fg-1);
  max-width: 50ch;
  font-size: 15.5px;
  line-height: 1.6;
}

/* Tag pill */
.prod-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
}
.prod-tag-dot {
  width: 7px; height: 7px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 0 3px oklch(0.74 0.16 60 / 0.18);
}
.prod-tag-divider {
  width: 18px;
  height: 1px;
  background: var(--line);
}

/* Specs grid (hero card) */
.prod-hero-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 6px;
  padding: 22px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
@media (max-width: 760px) {
  .prod-hero-specs { grid-template-columns: repeat(2, 1fr); }
}
.prod-spec {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.prod-spec-v {
  font-family: var(--font-display);
  font-size: 30px;
  letter-spacing: -0.02em;
  color: var(--fg-0);
  line-height: 1;
  font-weight: 500;
  display: inline-flex;
  align-items: baseline;
}
.prod-spec.sm .prod-spec-v { font-size: 22px; }
.prod-spec-v .u {
  font-family: var(--font-mono);
  font-size: 0.4em;
  margin-left: 4px;
  color: var(--orange);
  letter-spacing: 0.06em;
  font-weight: 400;
}
.prod-spec-l {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--fg-3);
  text-transform: uppercase;
  margin-top: 6px;
}

.prod-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.prod-certs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 8px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
}
.prod-cert {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--fg-3);
}

/* Hero visual side */
.prod-hero-visual {
  position: relative;
  background:
    radial-gradient(60% 80% at 50% 50%, oklch(0.22 0.025 55 / 0.6), transparent 70%),
    var(--bg-2);
  border-left: 1px solid var(--line-soft);
  overflow: hidden;
}
@media (max-width: 980px) {
  .prod-hero { grid-template-columns: 1fr; }
  .prod-hero-visual {
    border-left: 0;
    border-top: 1px solid var(--line-soft);
    aspect-ratio: 4 / 3;
  }
}

/* Pouch cell showcase */
.ps-stage {
  position: absolute;
  inset: 0;
}
.ps-tilt {
  position: absolute;
  inset: 0;
  transition: transform .4s cubic-bezier(.2,.7,.2,1);
  transform-style: preserve-3d;
}
.ps-rings, .ps-cell {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.ps-rings {
  animation: spin 100s linear infinite;
}
.ps-annot {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-2);
  display: flex;
  align-items: center;
  gap: 10px;
}
.ps-annot.top { top: 14%; right: 8%; }
.ps-annot.bottom { bottom: 14%; left: 8%; }
.ps-line {
  width: 22px; height: 1px;
  background: var(--orange);
  display: inline-block;
}

/* Side product cards */
.prod-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
@media (max-width: 900px) { .prod-grid { grid-template-columns: 1fr; } }

.prod-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color .35s, transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s;
}
.prod-card:hover {
  border-color: oklch(0.42 0.06 55);
  transform: translateY(-3px);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6);
}
.prod-card::before {
  content: "";
  position: absolute;
  top: 18px; left: 18px;
  width: 28px; height: 1px;
  background: var(--orange);
  z-index: 5;
}
.prod-card::after {
  content: "";
  position: absolute;
  top: 18px; left: 18px;
  width: 1px; height: 28px;
  background: var(--orange);
  z-index: 5;
}
.prod-card-visual {
  position: relative;
  aspect-ratio: 5 / 3;
  background:
    radial-gradient(60% 80% at 50% 50%, oklch(0.22 0.025 55 / 0.55), transparent 70%),
    var(--bg-3);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
}
.ms-stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ms-stage svg {
  width: 100%;
  height: 100%;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.prod-card:hover .ms-stage svg {
  transform: scale(1.04);
}

.prod-card-body {
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-grow: 1;
}
.prod-card-body h3 {
  font-size: 24px;
  margin-top: 4px;
}
.prod-card-body p {
  color: var(--fg-2);
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0;
}
.prod-card-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  margin-top: 6px;
}

.prod-arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  transition: gap .25s;
  margin-top: auto;
}
.prod-arrow-link:hover { gap: 14px; }
.prod-arrow-link .arrow {
  width: 16px; height: 16px;
  transition: transform .3s cubic-bezier(.2,.7,.2,1);
}
.prod-arrow-link:hover .arrow { transform: translateX(4px); }

/* ---------- R&D / Chemistry ---------- */
.rd-stage {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: start;
}

.chem-chart {
  background: var(--bg-1);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 36px clamp(28px, 4vw, 56px);
  position: relative;
}
.chem-chart .frame {
  aspect-ratio: 21 / 9;
  position: relative;
  width: 100%;
}
.chem-axis {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--fg-3);
  text-transform: uppercase;
}
.advantage-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px 36px;
  margin-top: 0;
}
@media (max-width: 900px) {
  .advantage-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .advantage-list { grid-template-columns: 1fr; }
}
.advantage {
  border-top: 1px solid var(--line-soft);
  padding: 22px 0;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  align-items: start;
}
.advantage .ix {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--fg-3);
}
.advantage h4 { font-family: var(--font-display); font-size: 18px; color: var(--fg-0); margin-bottom: 4px; }
.advantage p { color: var(--fg-2); font-size: 14px; line-height: 1.5; }

/* Certifications row */
.certs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.certs .chip {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--fg-1);
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-1);
}

/* ---------- Globe / Footprint ---------- */
.footprint {
  background:
    radial-gradient(60% 80% at 50% 30%, oklch(0.18 0.03 55 / 0.6), transparent 70%),
    var(--bg-0);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.footprint-stage {
  position: relative;
  aspect-ratio: 21 / 10;
  margin-top: 60px;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-1);
  border: 1px solid var(--line-soft);
}
.dotmap {
  position: absolute;
  inset: 0;
  opacity: 0.7;
}
.footprint-poi {
  position: absolute;
  transform: translate(-50%, -50%);
  cursor: pointer;
}
.footprint-poi .poi-dot {
  width: 12px; height: 12px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 0 4px oklch(0.74 0.16 60 / 0.2);
  position: relative;
  transition: transform .25s;
}
.footprint-poi:hover .poi-dot { transform: scale(1.3); }
.footprint-poi .poi-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--orange);
  animation: poiPulse 2.4s ease-out infinite;
}
@keyframes poiPulse {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(2.6); opacity: 0; }
}
.footprint-poi .poi-label {
  position: absolute;
  left: 18px; top: -10px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 6px 10px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-1);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .25s, transform .25s;
  pointer-events: none;
}
.footprint-poi:hover .poi-label,
.footprint-poi.active .poi-label { opacity: 1; transform: translateX(0); }

/* ---------- Sustainability ---------- */
.sus-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
}
@media (max-width: 980px) { .sus-grid { grid-template-columns: 1fr; } }
.sus-card {
  position: relative;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-soft);
  background: var(--bg-1);
  padding: 36px;
}
.cycle-stage {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 480px;
  margin: 0 auto;
}

/* ---------- News ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 980px) { .news-grid { grid-template-columns: 1fr; } }
.news-card {
  background: var(--bg-1);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color .3s, transform .3s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.news-card:hover { border-color: oklch(0.40 0.05 55); transform: translateY(-3px); }
.news-card .img {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-2);
}
.news-card .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .4s;
  filter: saturate(0.92) brightness(0.92);
}
.news-card:hover .img img {
  transform: scale(1.06);
  filter: saturate(1.05) brightness(1);
}
.news-card .news-label {
  position: absolute;
  left: 14px; top: 14px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  padding: 5px 10px;
  background: oklch(0.118 0.006 60 / 0.78);
  border: 1px solid var(--line);
  border-radius: 4px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.news-card .body { padding: 22px; }
.news-card .date {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--orange);
  text-transform: uppercase;
}
.news-card h3 {
  font-size: 18px;
  margin-top: 12px;
  line-height: 1.3;
}
.news-card .read {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--fg-2);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  padding: clamp(80px, 10vw, 140px) 0;
  background:
    radial-gradient(60% 100% at 50% 50%, oklch(0.27 0.10 55 / 0.55), transparent 60%),
    var(--bg-0);
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
}
.cta-band .accent-ring {
  position: absolute;
  width: 800px; height: 800px;
  border-radius: 50%;
  border: 1px solid oklch(0.74 0.16 60 / 0.20);
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.cta-band .accent-ring:nth-child(2) { width: 1200px; height: 1200px; }
.cta-band .accent-ring:nth-child(3) { width: 1600px; height: 1600px; opacity: 0.6; }
.cta-inner {
  position: relative;
  text-align: center;
  z-index: 2;
}
.cta-inner h2 {
  font-size: clamp(48px, 7vw, 96px);
  letter-spacing: -0.035em;
  line-height: 0.96;
  margin-bottom: 24px;
}
.cta-inner h2 .accent { color: var(--orange); font-style: italic; font-family: "Instrument Serif", "Times New Roman", serif; font-weight: 400; }

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-1);
  padding: 80px 0 40px;
  border-top: 1px solid var(--line-soft);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 36px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--line-soft);
}
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
.footer-brand { max-width: 320px; }
.footer-brand img { height: 160px; }
.footer-brand p { color: var(--fg-2); margin-top: 18px; font-size: 14px; line-height: 1.6; }
.footer h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--fg-3);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer ul a {
  font-size: 14px; color: var(--fg-1);
  transition: color .2s;
}
.footer ul a:hover { color: var(--orange); }
.footer-bottom {
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--fg-3);
}
.footer-bottom a { color: var(--fg-3); }
.footer-bottom a:hover { color: var(--orange); }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* number counter */
.counter { display: inline-block; }

/* ---------- Hero video card (cinematic showcase) ---------- */
.video-card {
  width: 100%;
  max-width: 580px;
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.video-cap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4px 10px;
}
.video-cap.bottom { padding: 10px 4px 0; }
.video-cap-left, .video-cap-right {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.video-cap-left { color: var(--orange); }
.rec-dot {
  width: 7px; height: 7px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 0 4px oklch(0.74 0.16 60 / 0.18);
  animation: hudPulse 1.6s ease-in-out infinite;
}

.video-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--bg-1);
  border: 1px solid var(--line);
  box-shadow:
    0 1px 0 0 rgba(255,255,255,0.04) inset,
    0 40px 80px -30px rgba(0,0,0,0.8);
}
.video-el {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.04);
}
.video-frame::after {
  /* subtle inner vignette */
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 80% at 50% 50%, transparent 60%, oklch(0.10 0.006 60 / 0.55) 100%),
    linear-gradient(180deg, oklch(0.10 0.006 60 / 0.18) 0%, transparent 30%);
  pointer-events: none;
}

/* Corner brackets */
.bracket {
  position: absolute;
  width: 18px; height: 18px;
  border: 1px solid var(--orange);
  pointer-events: none;
  opacity: 0.95;
}
.bracket.tl { top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
.bracket.tr { top: 12px; right: 12px; border-left: 0; border-bottom: 0; }
.bracket.bl { bottom: 12px; left: 12px; border-right: 0; border-top: 0; }
.bracket.br { bottom: 12px; right: 12px; border-left: 0; border-top: 0; }

/* Floating annotation pills */
.vid-pill {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  background: oklch(0.118 0.006 60 / 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  color: var(--fg-1);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  animation: floatPill 6s ease-in-out infinite;
}
.vid-pill .pill-dot {
  width: 7px; height: 7px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 0 3px oklch(0.74 0.16 60 / 0.22);
}
.pill-1 { top: 12%;  right: -14%; animation-delay: 0s; }
.pill-2 { top: 50%;  left: -8%;  animation-delay: 1.5s; }
.pill-3 { bottom: 18%; right: -10%; animation-delay: 3s; }
@keyframes floatPill {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
@media (max-width: 1100px) {
  .pill-1, .pill-2, .pill-3 {
    left: auto; right: 12px; top: auto;
  }
  .pill-1 { top: 14px; }
  .pill-2 { top: 56px; }
  .pill-3 { bottom: 14px; }
}

/* Mute toggle */
.vid-mute {
  position: absolute;
  bottom: 14px; right: 14px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: oklch(0.118 0.006 60 / 0.72);
  border: 1px solid var(--line);
  color: var(--fg-1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background .2s, color .2s, transform .2s;
  z-index: 4;
}
.vid-mute:hover {
  background: var(--orange);
  color: #16110a;
  transform: scale(1.06);
}

@media (max-width: 980px) {
  .video-card { max-width: 100%; margin-top: 40px; margin-left: 0; }
  .video-frame { aspect-ratio: 16 / 10; }
}
.hud-panel {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin-left: auto;
  background: oklch(0.118 0.006 60 / 0.62);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 24px 26px 22px;
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow:
    0 1px 0 0 rgba(255,255,255,0.04) inset,
    0 30px 60px -20px rgba(0,0,0,0.6);
}
.hud-panel::before {
  /* corner brackets */
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid var(--orange);
  opacity: 0.25;
  pointer-events: none;
  clip-path: polygon(
    0 0, 22px 0, 22px 1px, 1px 1px, 1px 22px, 0 22px,
    0 100%, 22px 100%, 22px calc(100% - 1px), 1px calc(100% - 1px), 1px calc(100% - 22px), 0 calc(100% - 22px),
    100% 100%, calc(100% - 22px) 100%, calc(100% - 22px) calc(100% - 1px), calc(100% - 1px) calc(100% - 1px), calc(100% - 1px) calc(100% - 22px), 100% calc(100% - 22px),
    100% 0, calc(100% - 22px) 0, calc(100% - 22px) 1px, calc(100% - 1px) 1px, calc(100% - 1px) 22px, 100% 22px
  );
}
.hud-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.hud-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.hud-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px oklch(0.74 0.16 60 / 0.18);
  animation: hudPulse 1.6s ease-in-out infinite;
}
@keyframes hudPulse {
  0%, 100% { box-shadow: 0 0 0 4px oklch(0.74 0.16 60 / 0.18); }
  50%      { box-shadow: 0 0 0 8px oklch(0.74 0.16 60 / 0.05); }
}
.hud-time {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--fg-0);
  letter-spacing: -0.01em;
}
.hud-bars {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hud-bar {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hud-bar-head {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-1);
  font-weight: 500;
}
.hud-bar-track {
  position: relative;
  height: 6px;
  border-radius: 3px;
  background: oklch(0.22 0.006 60 / 0.6);
  overflow: hidden;
}
.hud-bar-fill {
  position: absolute;
  inset: 0 auto 0 0;
  background: linear-gradient(90deg, var(--orange-lo), var(--orange), var(--orange-hi));
  width: 0;
  border-radius: 3px;
  animation: hudFill 1.6s cubic-bezier(.2,.7,.2,1) forwards;
  box-shadow: 0 0 12px oklch(0.74 0.16 60 / 0.5);
}
@keyframes hudFill {
  from { width: 0; }
  to   { width: var(--w); }
}
.hud-footer {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
}

@media (max-width: 980px) {
  .hud-panel { max-width: 100%; margin-left: 0; margin-top: 40px; }
}
