/* =========================================================
   Cybond · Apple-minimal rebuild
   Mostly white, ample whitespace, one restrained accent,
   large editorial sans-serif, simple motion.
   ========================================================= */

:root {
  /* Cream + Cybond navy + red */
  --bg: #FBF7EF;
  --bg-alt: #F3ECDC;
  --bg-card: #F7F1E2;
  --fg: #1A1A1C;
  --fg-muted: #5F5A50;
  --fg-soft: #8A8377;
  --line: rgba(40, 28, 10, 0.09);
  --line-strong: rgba(40, 28, 10, 0.18);

  /* Cybond palette */
  --accent: #1E2F7E;        /* navy */
  --accent-deep: #152258;
  --accent-tint: rgba(30, 47, 126, 0.08);
  --accent-red: #B31E2A;
  --accent-red-tint: rgba(179, 30, 42, 0.08);

  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', system-ui, sans-serif;

  --maxw: 1200px;
  --maxw-narrow: 980px;
  --pad: 48px;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
}

body.accent-red { --accent: #B31E2A; --accent-deep: #821420; --accent-tint: rgba(179, 30, 42, 0.08); }
body.accent-ink { --accent: #1D1D1F; --accent-deep: #000000; --accent-tint: rgba(0,0,0,0.06); }

body.mode-warm {
  --bg: #FFFFFF;
  --bg-alt: #F5F5F7;
  --bg-card: #FAFAFA;
  --line: rgba(0, 0, 0, 0.08);
  --line-strong: rgba(0, 0, 0, 0.16);
}
body.mode-dark {
  --bg: #0B0B0D;
  --bg-alt: #141417;
  --bg-card: #17171A;
  --fg: #F5F5F7;
  --fg-muted: #A1A1A6;
  --fg-soft: #6E6E73;
  --line: rgba(255,255,255,0.08);
  --line-strong: rgba(255,255,255,0.18);
  --accent: #7B8FE8;
  --accent-deep: #5E74D4;
  --accent-tint: rgba(123, 143, 232, 0.14);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'cv11', 'ss01';
  letter-spacing: -0.005em;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
img { max-width: 100%; display: block; }

em {
  font-style: normal;
  color: var(--fg-muted);
  font-weight: inherit;
}

/* =================== TYPE =================== */
.eyebrow {
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-muted);
  letter-spacing: 0.02em;
  margin: 0 0 16px;
  text-transform: none;
}
.eyebrow.center { text-align: center; }

.section-title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin: 0;
  text-wrap: balance;
}
.section-sub {
  font-size: 19px;
  line-height: 1.45;
  color: var(--fg-muted);
  margin: 16px 0 0;
  max-width: 560px;
  text-wrap: pretty;
}

.section-title em { color: var(--accent-red); font-style: normal; font-weight: inherit; }

/* =================== NAV =================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: color-mix(in oklab, var(--bg) 80%, transparent);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  height: 56px;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}
.brand {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--fg);
}
.brand-mark { width: 26px !important; height: 26px !important; object-fit: contain; }
.brand-lockup {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1;
}
.brand-word { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.brand-sub {
  color: var(--fg-soft);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 36px;
}
.nav-links a {
  font-size: 13px;
  font-weight: 400;
  color: var(--fg);
  opacity: 0.86;
  transition: opacity .18s ease;
}
.nav-links a:hover { opacity: 1; }

.nav-cta { justify-self: end; display: flex; align-items: center; gap: 14px; }

/* Language switcher */
.lang-switch { position: relative; }
.lang-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 13px; color: var(--fg-muted);
  transition: color .15s, border-color .15s;
}
.lang-trigger:hover { color: var(--fg); border-color: var(--line-strong); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px);
  min-width: 160px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px; padding: 6px;
  box-shadow: 0 20px 40px -12px rgba(0,0,0,0.18);
  opacity: 0; transform: translateY(-4px); pointer-events: none;
  transition: opacity .15s, transform .15s;
  z-index: 30;
}
.lang-switch.is-open .lang-menu { opacity: 1; transform: none; pointer-events: auto; }
.lang-menu button {
  display: block; width: 100%; text-align: left;
  padding: 9px 12px; border-radius: 8px;
  font-size: 13.5px; color: var(--fg);
}
.lang-menu button:hover { background: var(--bg-elev); }
.lang-menu button.is-active { background: color-mix(in oklab, var(--accent) 8%, transparent); color: var(--accent); font-weight: 500; }

body.lang-ZH { font-family: 'Noto Sans SC', 'Inter', sans-serif; }
body.lang-KH { font-family: 'Noto Serif Khmer', 'Inter', sans-serif; }
body.lang-KH .hero-title, body.lang-KH .section-title, body.lang-KH .statement-title { letter-spacing: 0; }
.seg-lang button { font-size: 11px; }
@media (max-width: 680px) { .lang-switch { display: none; } }
.nav-quote {
  font-size: 13px;
  color: var(--accent-red);
  font-weight: 500;
}
.nav-quote:hover { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-inner { grid-template-columns: auto 1fr; }
}

/* =================== BUTTONS =================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: transform .2s ease, background .2s ease, color .2s ease, opacity .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-deep); }
.btn-link {
  color: var(--accent);
  background: transparent;
  padding: 14px 8px;
}
.btn-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.btn-full { width: 100%; padding: 16px 24px; }

.link {
  color: var(--accent);
  font-size: 15px;
  font-weight: 500;
  display: inline-flex; align-items: center; gap: 4px;
  transition: gap .2s;
}
.link:hover { gap: 8px; }
.link-lg { font-size: 17px; }

/* =================== HERO =================== */
.hero {
  padding: 88px var(--pad) 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-inner {
  max-width: var(--maxw);
  margin: 0 auto;
}
.hero-title {
  font-size: clamp(56px, 9vw, 112px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.045em;
  margin: 8px 0 0;
  text-wrap: balance;
}
.hero-title em {
  font-style: normal;
  color: var(--accent-red);
}
.hero-sub {
  font-size: clamp(19px, 1.8vw, 24px);
  line-height: 1.35;
  color: var(--fg-muted);
  margin: 24px auto 0;
  max-width: 620px;
  font-weight: 400;
  text-wrap: pretty;
}
.hero-ctas {
  display: inline-flex;
  gap: 24px;
  margin-top: 36px;
  flex-wrap: wrap;
  justify-content: center;
}

/* hero visual — true 3D bottle with scroll rotation */
.hero-visual {
  margin: 38px auto 0;
  max-width: 980px;
  perspective: 1600px;
}
.hero-stage {
  position: relative;
  height: 620px;
  display: flex; align-items: center; justify-content: center;
  transform-style: preserve-3d;
}
.hero-spot {
  position: absolute; left: 50%; top: 56%;
  width: min(760px, 86vw); height: 520px; transform: translate(-50%,-50%);
  background:
    radial-gradient(ellipse at center,
      color-mix(in oklab, var(--bg) 92%, white) 0%,
      color-mix(in oklab, var(--bg-alt) 70%, transparent) 42%,
      transparent 72%),
    radial-gradient(ellipse at center,
      color-mix(in oklab, var(--accent) 9%, transparent) 0%,
      transparent 60%);
  filter: blur(34px);
  pointer-events: none;
}

.hero-bottle-3d {
  position: relative;
  width: 200px;
  height: 440px;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 6deg)) rotateY(var(--ry, -14deg));
  animation: floatSoft 6s ease-in-out infinite;
  transition: transform 0.08s linear;
}

/* Photographic bottle — floats with a soft contact shadow on the floor.
   Source photo has a studio-gray background; we knock it out with multiply
   so only the bottle reads. The float is a gentle Y bob; scroll/mouse
   add subtle 2D parallax via --px / --py (set from JS via --rx/--ry). */
.hero-bottle-photo {
  position: relative;
  width: min(440px, 46vw);
  height: 560px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  /* Map the existing --rx / --ry from JS into a small translate offset.
     Falls back to 0 if unset. */
  --px: calc(var(--ry, 0deg) / 1deg * 0.6px);
  --py: calc(var(--rx, 0deg) / 1deg * -0.4px);
  transform: translate3d(var(--px), var(--py), 0);
  transition: transform 0.18s ease-out;
  will-change: transform;
  isolation: isolate;
}
.hero-bottle-photo > .hb-photo {
  animation: floatSoft 6s ease-in-out infinite;
}
.hero-bottle-photo::before {
  content: "";
  position: absolute;
  inset: 10% -6% 2%;
  background: radial-gradient(ellipse at center,
    color-mix(in oklab, var(--bg) 96%, white) 0%,
    color-mix(in oklab, var(--bg) 62%, transparent) 52%,
    transparent 74%);
  filter: blur(20px);
  z-index: 0;
}
.hero-bottle-photo::after {
  /* contact shadow on the floor — moves opposite to the float for depth */
  content: "";
  position: absolute;
  left: 50%;
  bottom: 34px;
  width: 250px;
  height: 32px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center,
    rgba(20, 22, 40, 0.22) 0%,
    rgba(20, 22, 40, 0.10) 38%,
    transparent 70%);
  filter: blur(8px);
  animation: shadowSoft 6s ease-in-out infinite;
  z-index: 0;
}
.hb-photo {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(ellipse at center,
    #000 0%,
    #000 54%,
    rgba(0,0,0,0.86) 68%,
    rgba(0,0,0,0.28) 82%,
    transparent 94%);
  mask-image: radial-gradient(ellipse at center,
    #000 0%,
    #000 54%,
    rgba(0,0,0,0.86) 68%,
    rgba(0,0,0,0.28) 82%,
    transparent 94%);
  filter:
    saturate(0.98)
    contrast(1.03)
    drop-shadow(0 28px 32px rgba(30, 47, 126, 0.08))
    drop-shadow(0 66px 78px rgba(20, 22, 40, 0.09));
  z-index: 1;
}
@keyframes floatSoft {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}
@keyframes shadowSoft {
  0%, 100% { transform: translateX(-50%) scale(1);    opacity: 0.85; }
  50%      { transform: translateX(-50%) scale(0.86); opacity: 0.55; }
}
.hb-face { position: absolute; }
.hb-front {
  inset: 0;
  transform: translateZ(45px);
  background: linear-gradient(180deg, #FFFFFF 0%, #F1EFE7 60%, #D6D1C0 100%);
  border-radius: 20px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,1),
    inset 18px 0 30px rgba(0,0,0,0.04),
    inset -18px 0 30px rgba(0,0,0,0.04),
    0 50px 80px -30px rgba(30,47,126,0.35);
  overflow: hidden;
}
.hb-back {
  inset: 0;
  transform: translateZ(-45px) rotateY(180deg);
  background: #E5E0CE;
  border-radius: 20px;
}
.hb-left {
  top: 0; bottom: 0; left: 0; width: 90px;
  transform: translateX(-45px) rotateY(-90deg);
  transform-origin: left center;
  background: linear-gradient(90deg, #C9C3AE, #EBE7D7);
  border-radius: 20px 0 0 20px;
}
.hb-right {
  top: 0; bottom: 0; right: 0; width: 90px;
  transform: translateX(45px) rotateY(90deg);
  transform-origin: right center;
  background: linear-gradient(270deg, #C9C3AE, #EBE7D7);
  border-radius: 0 20px 20px 0;
}

.hb-cap {
  position: absolute; left: 50%; top: -34px;
  transform: translateX(-50%);
  width: 64px; height: 42px;
  background: linear-gradient(180deg, #2A2A2C 0%, #1D1D1F 70%, #3A3A3C 100%);
  border-radius: 10px 10px 4px 4px;
  box-shadow: inset 0 2px 0 rgba(255,255,255,0.18), 0 6px 14px rgba(0,0,0,0.3);
}
.hb-cap::after {
  content: ''; position: absolute; left: 4px; right: 4px; bottom: 0; height: 10px;
  background: repeating-linear-gradient(90deg, #151517 0 2px, #2a2a2c 2px 4px);
  border-radius: 0 0 3px 3px;
}
.hb-neck {
  position: absolute; left: 50%; top: 4px;
  transform: translateX(-50%);
  width: 80px; height: 16px;
  background: linear-gradient(180deg, #1D1D1F, #2A2A2C);
  border-radius: 2px;
  z-index: 1;
}
.hb-shine {
  position: absolute; left: 10px; top: 40px; width: 14px; bottom: 40px;
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0));
  border-radius: 10px; filter: blur(1px);
  z-index: 2;
}
.hb-label {
  position: absolute; left: 24px; right: 24px; top: 38px; bottom: 40px;
  background: linear-gradient(180deg, var(--accent), var(--accent-deep));
  border-radius: 6px;
  padding: 22px 20px;
  color: #fff;
  display: flex; flex-direction: column; gap: 4px;
  box-shadow: 0 8px 22px rgba(30,47,126,0.45), inset 0 1px 0 rgba(255,255,255,0.14);
  z-index: 3;
}
.hb-label-top { font-size: 10px; letter-spacing: 0.22em; font-weight: 700; opacity: 0.75; }
.hb-label-num { font-size: 60px; font-weight: 700; line-height: 0.9; letter-spacing: -0.04em; margin-top: 6px; }
.hb-label-name { font-size: 13px; font-weight: 500; margin-top: 6px; }
.hb-label-foot { font-size: 10px; letter-spacing: 0.14em; opacity: 0.7; margin-top: auto; font-weight: 500; }

.hero-floor {
  display: none;
}

/* Floating spec callouts */
.hero-callout {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  opacity: 0; transform: translateY(8px);
  transition: opacity .6s ease .3s, transform .6s ease .3s;
}
.hero-callout.in { opacity: 1; transform: none; }
.hc-1 { left: 16%; top: 23%; }
.hc-2 { right: 13%; top: 38%; flex-direction: row-reverse; }
.hc-3 { left: 18%; bottom: 25%; }
.hc-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-red);
  box-shadow: 0 0 0 6px color-mix(in oklab, var(--accent-red) 14%, transparent);
  animation: dotPulse 2.4s ease-out infinite;
}
@keyframes dotPulse {
  0%,100% { box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent-red) 14%, transparent); }
  50%     { box-shadow: 0 0 0 10px color-mix(in oklab, var(--accent-red) 6%, transparent); }
}
.hc-card {
  padding: 11px 15px;
  background: color-mix(in oklab, var(--bg) 88%, white);
  border: 1px solid var(--line);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 38px -20px rgba(20, 22, 40, 0.22);
}
.hc-num { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; color: var(--fg); }
.hc-lbl { font-size: 11px; color: var(--fg-muted); letter-spacing: 0.04em; margin-top: 2px; }

@media (max-width: 820px) {
  .hero-callout { display: none; }
}

/* =================== SECTIONS =================== */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 140px var(--pad);
}
.section-head {
  max-width: 720px;
  margin-bottom: 72px;
}

/* Statement section (alt bg) */
.statement {
  background: var(--bg-alt);
  padding: 140px var(--pad);
  text-align: center;
}
.statement-inner { max-width: var(--maxw-narrow); margin: 0 auto; }
.statement-title {
  font-size: clamp(44px, 7vw, 84px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin: 0;
  text-wrap: balance;
}
.statement-title em { font-style: normal; color: var(--accent-red); }
.statement-title.center { text-align: center; }
.statement-sub {
  font-size: 21px;
  line-height: 1.45;
  color: var(--fg-muted);
  margin: 28px auto 0;
  max-width: 640px;
  text-wrap: pretty;
}

/* 3D bonding scene */
.bond-scene {
  position: relative;
  margin: 72px auto 0;
  width: min(720px, 100%);
  height: 320px;
  perspective: 1100px;
  display: flex; align-items: center; justify-content: center;
}
.bond-plate {
  position: absolute; left: 50%;
  width: 360px; height: 72px;
  transform-origin: center;
  border-radius: 10px;
  transition: transform 1.2s cubic-bezier(.2,.8,.2,1);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.25);
}
.bond-plate .bond-lbl {
  position: absolute; left: 0; font-size: 11px; color: var(--fg-muted);
  letter-spacing: 0.08em; text-transform: uppercase;
}
.bond-top {
  top: 30%;
  background: linear-gradient(180deg, #F8F3E6, #E4DCC2);
  transform: translateX(-50%) translateY(-60px) rotateX(22deg);
}
.bond-top .bond-lbl { top: -22px; }
.bond-bot {
  bottom: 30%;
  background: linear-gradient(180deg, #E4DCC2, #C9C0A3);
  transform: translateX(-50%) translateY(60px) rotateX(22deg);
}
.bond-bot .bond-lbl { bottom: -22px; }

.bond-drop {
  position: absolute; left: 50%; top: 50%;
  width: 80px; height: 80px;
  transform: translate(-50%,-50%) rotateX(22deg);
  opacity: 0;
  transition: opacity .6s ease, transform .8s cubic-bezier(.2,.8,.2,1);
  pointer-events: none;
}
.bond-drop-core {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 35% 30%, color-mix(in oklab, var(--accent) 60%, #fff), var(--accent));
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  box-shadow: 0 0 40px color-mix(in oklab, var(--accent) 40%, transparent);
}

/* States */
.bond-state-0 .bond-top { transform: translateX(-50%) translateY(-70px) rotateX(22deg); }
.bond-state-0 .bond-bot { transform: translateX(-50%) translateY(70px) rotateX(22deg); }
.bond-state-0 .bond-drop { opacity: 0; transform: translate(-50%,-50%) scale(0.4) rotateX(22deg); }

.bond-state-1 .bond-top { transform: translateX(-50%) translateY(-44px) rotateX(22deg); }
.bond-state-1 .bond-bot { transform: translateX(-50%) translateY(44px) rotateX(22deg); }
.bond-state-1 .bond-drop { opacity: 1; transform: translate(-50%,-50%) scale(1) rotateX(22deg); }

.bond-state-2 .bond-top { transform: translateX(-50%) translateY(-18px) rotateX(22deg); }
.bond-state-2 .bond-bot { transform: translateX(-50%) translateY(18px) rotateX(22deg); }
.bond-state-2 .bond-drop { opacity: 1; transform: translate(-50%,-50%) scale(0.7) scaleY(0.4) rotateX(22deg); }

.bond-state-3 .bond-top { transform: translateX(-50%) translateY(-4px) rotateX(22deg); }
.bond-state-3 .bond-bot { transform: translateX(-50%) translateY(4px) rotateX(22deg); }
.bond-state-3 .bond-drop { opacity: 0.9; transform: translate(-50%,-50%) scale(0.5) scaleY(0.15) rotateX(22deg); }

.bond-steps { display: inline-flex; gap: 6px; margin-top: 40px; padding: 4px; background: color-mix(in oklab, var(--bg) 80%, transparent); border-radius: 999px; border: 1px solid var(--line); }
.bs { padding: 10px 18px; font-size: 13px; border-radius: 999px; color: var(--fg-muted); transition: all .2s; font-weight: 500; }
.bs.is-active { background: var(--fg); color: var(--bg); }

/* =================== SOLUTIONS =================== */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.solution {
  background: var(--bg-alt);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex; flex-direction: column;
  border: 1px solid color-mix(in oklab, var(--line) 78%, transparent);
  box-shadow: 0 26px 70px -54px rgba(20, 22, 40, 0.38);
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s ease, border-color .4s ease;
}
.solution:hover {
  transform: translateY(-4px);
  border-color: color-mix(in oklab, var(--accent) 16%, var(--line));
  box-shadow: 0 34px 84px -56px rgba(20, 22, 40, 0.48);
}

.solution-visual {
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
}
.solution-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.14), transparent 48%),
    radial-gradient(circle at 72% 20%, rgba(255,255,255,0.32), transparent 30%);
  pointer-events: none;
}
.sv-shape {
  position: absolute;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 40px -12px rgba(0,0,0,0.12);
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}

/* Packaging — stacked cartons */
.solution-packaging { background: linear-gradient(160deg, #F0E9DC, #E3D8C1); }
.solution-packaging .sv-box {
  left: 28%; top: 32%; width: 140px; height: 100px;
  background: #E8DCC2;
  border-radius: 8px;
  transform: rotate(-6deg);
  box-shadow: 0 2px 0 rgba(0,0,0,0.04), 0 20px 36px -14px rgba(80,60,20,0.35);
}
.solution-packaging .sv-box::before {
  content: ''; position: absolute; left: 0; right: 0; top: 48%; height: 2px;
  background: rgba(80,60,20,0.15);
}
.solution-packaging .sv-box-2 {
  right: 20%; bottom: 20%; width: 110px; height: 80px;
  background: #D4C6A5;
  border-radius: 6px;
  transform: rotate(8deg);
  box-shadow: 0 2px 0 rgba(0,0,0,0.04), 0 20px 36px -14px rgba(80,60,20,0.4);
}
.solution:hover .solution-packaging .sv-box { transform: rotate(-4deg) translateY(-4px); }
.solution:hover .solution-packaging .sv-box-2 { transform: rotate(6deg) translateY(-6px); }

/* Construction — beams */
.solution-construction { background: linear-gradient(160deg, #E8ECF2, #D4DBE6); }
.solution-construction .sv-beam {
  left: 20%; top: 40%; width: 220px; height: 22px;
  background: #fff;
  transform: rotate(-12deg);
  border-radius: 4px;
}
.solution-construction .sv-beam-2 {
  right: 15%; top: 32%; width: 180px; height: 22px;
  background: #C7CFDB;
  transform: rotate(18deg);
  border-radius: 4px;
  box-shadow: 0 10px 20px -8px rgba(20,34,88,0.2);
}
.solution:hover .solution-construction .sv-beam { transform: rotate(-10deg) translateY(-3px); }
.solution:hover .solution-construction .sv-beam-2 { transform: rotate(16deg) translateY(-4px); }

/* Manufacturing — gear + dot */
.solution-manufacturing { background: linear-gradient(160deg, #ECEEF2, #DDE1E9); }
.solution-manufacturing .sv-gear {
  left: 26%; top: 24%;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #fff 0 8%, transparent 8% 12%, #fff 12% 20%, transparent 20% 24%, #fff 24% 32%, transparent 32% 36%, #fff 36% 44%, transparent 44% 48%, #fff 48% 56%, transparent 56% 60%, #fff 60% 68%, transparent 68% 72%, #fff 72% 80%, transparent 80% 84%, #fff 84% 92%, transparent 92% 96%, #fff 96% 100%);
  box-shadow: 0 18px 40px -16px rgba(0,0,0,0.18);
}
.solution-manufacturing .sv-gear::after {
  content: ''; position: absolute; inset: 20px; border-radius: 50%; background: var(--bg-alt);
}
.solution-manufacturing .sv-dot {
  right: 18%; bottom: 24%; width: 60px; height: 60px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 14px 30px -10px rgba(30,47,126,0.5);
}
.solution:hover .solution-manufacturing .sv-gear { transform: rotate(30deg); }
.solution:hover .solution-manufacturing .sv-dot { transform: translateY(-4px); }

.solution-body {
  padding: 32px 36px 40px;
  display: flex;
  min-height: 218px;
  flex-direction: column;
}
.solution-body h3 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}
.solution-body p {
  color: var(--fg-muted);
  font-size: 16px;
  margin: 0 0 20px;
  max-width: 32ch;
}
.solution-body .link { margin-top: auto; align-self: flex-start; }

.apps-strip-head {
  margin-top: 42px;
  padding-top: 8px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.apps-strip-head .eyebrow { margin-bottom: 0; }
.apps-strip-sub {
  margin: 0;
  max-width: 470px;
  color: var(--fg-muted);
  font-size: 16px;
  line-height: 1.5;
  text-align: right;
}
.apps-strip {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  overflow: visible;
  padding: 0;
}
.app-pill {
  min-height: 118px;
  padding: 18px 18px 16px;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto 1fr;
  gap: 8px 14px;
  align-items: start;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, color-mix(in oklab, var(--bg) 82%, white), var(--bg-alt));
  box-shadow: 0 20px 52px -42px rgba(20, 22, 40, 0.35);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.app-pill:hover {
  transform: translateY(-2px);
  border-color: color-mix(in oklab, var(--accent) 20%, var(--line));
  box-shadow: 0 26px 60px -44px rgba(20, 22, 40, 0.42);
}
.app-pill-num {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in oklab, var(--accent-red) 10%, var(--bg));
  color: var(--accent-red);
  font-size: 12px;
  font-weight: 700;
}
.app-pill-name {
  padding-top: 4px;
  color: var(--fg);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.25;
}
.app-pill-cta {
  grid-column: 2;
  align-self: end;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
}

@media (min-width: 1180px) {
  .app-pill:nth-child(5) { grid-column: 1 / span 2; }
  .app-pill:nth-child(6) { grid-column: 3; }
  .app-pill:nth-child(7) { grid-column: 4; }
}

@media (max-width: 900px) {
  .solutions-grid { grid-template-columns: 1fr; }
  .apps-strip-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .apps-strip-sub { text-align: left; }
  .apps-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .apps-strip { grid-template-columns: 1fr; }
  .app-pill { min-height: 104px; }
}

/* =================== PRODUCTS =================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.product {
  background: linear-gradient(180deg, var(--hue-a, #F5F5F7), var(--hue-b, #E8E8EB));
  border-radius: var(--r-xl);
  overflow: hidden;
  padding: 48px;
  min-height: 460px;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 32px;
  transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .4s;
  transform-style: preserve-3d;
  will-change: transform;
}
.product:hover {
  transform: perspective(1000px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)) translateY(-4px);
  box-shadow: 0 40px 60px -30px rgba(30,47,126,0.25);
}

.product-visual {
  position: relative;
  display: flex; align-items: center; justify-content: center;
}

.product-photo-wrap {
  width: min(100%, 360px);
  aspect-ratio: 1 / 1;
  border-radius: 22px;
  overflow: hidden;
  background: color-mix(in oklab, var(--bg) 55%, transparent);
  border: 1px solid color-mix(in oklab, var(--fg) 8%, transparent);
  box-shadow: 0 24px 46px -30px rgba(0,0,0,0.38);
  transform: translateZ(16px);
  transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .4s;
}
.product:hover .product-photo-wrap {
  transform: translateY(-8px) translateZ(26px);
  box-shadow: 0 34px 56px -34px rgba(0,0,0,0.44);
}
.product-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.product-price {
  display: flex;
  gap: 8px;
  align-items: baseline;
  margin-top: 12px;
}
.price-lbl {
  color: var(--fg-soft);
  font-size: 13px;
}
.price-val {
  color: var(--fg);
  font-weight: 500;
}

.pv-bottle {
  position: relative;
  width: 130px;
  height: 240px;
  transform-style: preserve-3d;
  transform: rotateX(4deg) rotateY(-10deg);
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.product:hover .pv-bottle { transform: rotateX(2deg) rotateY(4deg) translateY(-8px) translateZ(20px); }
.pv-cap {
  position: absolute; left: 50%; top: 0;
  transform: translateX(-50%);
  width: 42px; height: 30px;
  background: linear-gradient(180deg, #2A2A2C, #1D1D1F);
  border-radius: 6px 6px 3px 3px;
}
.pv-cap-dual {
  width: 72px;
  background: linear-gradient(90deg, #2A2A2C 0 50%, #B31E2A 50% 100%);
}
.pv-body {
  position: absolute; left: 0; right: 0; top: 34px; bottom: 0;
  background: linear-gradient(180deg, #FFFFFF 0%, #F0F0F2 80%, #E0E0E4 100%);
  border-radius: 14px 14px 8px 8px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.95),
    inset 12px 0 24px rgba(0,0,0,0.04),
    inset -12px 0 24px rgba(0,0,0,0.04),
    0 22px 40px -18px rgba(0,0,0,0.25);
  display: flex; flex-direction: column;
  padding: 22px 14px 18px;
  gap: 2px;
  align-items: center;
  color: var(--accent);
}
.pv-bottle.pv-502v .pv-body { background: linear-gradient(180deg, #EAF0FA, #D7E1F0); }
.pv-bottle.pv-wood .pv-body { background: linear-gradient(180deg, #F5EEE0, #E0D2B3); color: #7A5A20; }
.pv-bottle.pv-epoxy .pv-body { background: linear-gradient(180deg, #F3EEF6, #DED1E6); color: #3B2458; }

.pv-mark { font-size: 9px; letter-spacing: 0.22em; font-weight: 700; opacity: 0.55; }
.pv-num { font-size: 48px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.pv-sub { font-size: 10px; letter-spacing: 0.1em; font-weight: 500; opacity: 0.6; margin-top: auto; }

.custom-sample-wrap {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  overflow: hidden;
  background:
    radial-gradient(circle at 48% 42%, rgba(255,255,255,0.84), transparent 34%),
    linear-gradient(150deg, color-mix(in oklab, var(--bg) 70%, white), color-mix(in oklab, var(--hue-b) 72%, var(--bg)));
  border: 1px solid color-mix(in oklab, var(--fg) 8%, transparent);
  box-shadow: 0 24px 44px -34px rgba(0,0,0,0.34);
  transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .4s;
}
.product:hover .custom-sample-wrap {
  transform: translateY(-8px) translateZ(26px);
  box-shadow: 0 34px 56px -34px rgba(0,0,0,0.44);
}
.custom-sample-wrap::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 38px;
  width: 170px;
  height: 24px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(20,22,40,0.2), rgba(20,22,40,0.08) 42%, transparent 72%);
  filter: blur(8px);
}
.sample-sheet {
  position: absolute;
  border-radius: 12px;
  background: rgba(255,255,255,0.54);
  border: 1px solid rgba(255,255,255,0.56);
  box-shadow: 0 18px 34px -24px rgba(20,22,40,0.32);
}
.sample-sheet-a {
  width: 150px;
  height: 96px;
  left: 36px;
  top: 58px;
  transform: rotate(-8deg);
}
.sample-sheet-b {
  width: 118px;
  height: 74px;
  right: 42px;
  bottom: 66px;
  transform: rotate(9deg);
  background: color-mix(in oklab, var(--accent) 7%, rgba(255,255,255,0.62));
}
.pv-bottle.pv-custom {
  width: 158px;
  height: 248px;
  transform: rotateX(5deg) rotateY(-7deg);
  filter: drop-shadow(0 36px 34px rgba(20,22,40,0.16));
  z-index: 2;
}
.product:hover .pv-bottle.pv-custom { transform: rotateX(3deg) rotateY(4deg) translateY(-8px); }
.pv-custom .pv-cap {
  top: 2px;
  width: 78px;
  height: 32px;
  border-radius: 10px 10px 5px 5px;
  background:
    linear-gradient(90deg, #2A2A2C 0 49%, var(--accent-red) 49% 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.2),
    inset 0 -8px 12px rgba(20,22,40,0.12),
    0 10px 18px -12px rgba(20,22,40,0.45);
}
.pv-custom .pv-shoulder {
  position: absolute;
  left: 23px;
  right: 23px;
  top: 30px;
  height: 32px;
  border-radius: 24px 24px 9px 9px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.62), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,0.9), rgba(246,241,230,0.76));
  border: 1px solid rgba(255,255,255,0.62);
  z-index: 1;
}
.pv-custom .pv-body {
  top: 50px;
  left: 12px;
  right: 12px;
  bottom: 0;
  padding: 20px 18px 18px;
  align-items: flex-start;
  border-radius: 22px 22px 14px 14px;
  color: var(--accent);
  background:
    linear-gradient(100deg, rgba(255,255,255,0.72), transparent 24%),
    radial-gradient(circle at 82% 22%, rgba(255,255,255,0.5), transparent 22%),
    linear-gradient(180deg, #FFFCF5 0%, #F1E8D8 58%, #E3D2B1 100%);
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow:
    inset 16px 0 25px rgba(255,255,255,0.42),
    inset -14px 0 24px rgba(88,70,42,0.07),
    inset 0 -16px 22px rgba(92,70,36,0.05),
    0 28px 54px -34px rgba(20,22,40,0.44);
}
.pv-custom .pv-body::after {
  content: "";
  position: absolute;
  inset: 54px 15px 28px;
  border-radius: 15px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.68), rgba(255,255,255,0.36));
  border: 1px solid rgba(255,255,255,0.48);
  z-index: -1;
}
.pv-custom .pv-mark {
  color: var(--accent-red);
  opacity: 0.86;
}
.pv-label-lockup {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.pv-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 5px 8px rgba(20,22,40,0.12));
}
.pv-custom .pv-num {
  margin-top: 0;
  font-size: 54px;
  color: var(--accent);
}
.pv-custom .pv-sub {
  margin-top: 5px;
  color: var(--fg-soft);
  font-size: 8px;
  letter-spacing: 0.16em;
}
.pv-line {
  width: 54px;
  height: 3px;
  margin-top: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-red), var(--accent));
}
.pv-note {
  margin-top: auto;
  color: var(--fg-soft);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.sample-chip {
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  box-shadow: 0 14px 22px -14px rgba(20,22,40,0.5);
  z-index: 3;
}
.chip-red {
  right: 82px;
  top: 92px;
  background: var(--accent-red);
}
.chip-blue {
  left: 86px;
  bottom: 90px;
  background: var(--accent);
}

.product-body {
  text-align: left;
}
.product-kicker {
  font-size: 13px;
  color: var(--fg-muted);
  margin: 0 0 8px;
  font-weight: 500;
}
.product-body h3 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.product-body p {
  font-size: 16px;
  color: var(--fg-muted);
  margin: 0;
}
.product-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 20px;
}
.link-btn {
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid color-mix(in oklab, var(--fg) 12%, transparent);
  border-radius: 999px;
  background: color-mix(in oklab, var(--bg) 72%, transparent);
  color: var(--fg);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.1;
  text-align: center;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, color .2s ease;
}
.link-btn:hover {
  transform: translateY(-1px);
  border-color: color-mix(in oklab, var(--accent) 36%, transparent);
  background: var(--bg);
  color: var(--accent);
}
.link-btn[data-action="open-order"] {
  border-color: transparent;
  background: var(--accent);
  color: #fff;
}
.link-btn[data-action="open-order"]:hover {
  background: var(--accent-deep);
  color: #fff;
}

.products-foot {
  margin-top: 56px;
  text-align: center;
}

@media (max-width: 820px) {
  .products-grid { grid-template-columns: 1fr; }
  .product { padding: 36px 32px; min-height: 420px; }
}
@media (max-width: 520px) {
  .product-actions { grid-template-columns: 1fr; }
}

/* =================== WHY =================== */
.why {}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px 32px;
  border-top: 1px solid var(--line);
  padding-top: 48px;
}
.why-item {
  padding-top: 8px;
}
.why-num {
  font-size: 13px;
  color: var(--fg-soft);
  font-weight: 500;
  margin-bottom: 24px;
  font-variant-numeric: tabular-nums;
}
.why-item h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0 0 10px;
}
.why-item p {
  font-size: 15px;
  color: var(--fg-muted);
  margin: 0;
  max-width: 28ch;
}
@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
}
@media (max-width: 520px) {
  .why-grid { grid-template-columns: 1fr; }
}

/* =================== TRUST =================== */
.trust {
  background: var(--bg-alt);
  max-width: none;
  padding: 140px var(--pad);
}
.trust-inner {
  max-width: var(--maxw-narrow);
  margin: 0 auto;
  text-align: center;
}
.trust-marks {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  margin: 72px 0 72px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.tmark {
  padding: 36px 16px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  border-left: 1px solid var(--line);
}
.tmark:first-child { border-left: 0; }
.tmark span:first-child {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.tmark-sub {
  font-size: 12px;
  color: var(--fg-muted);
  letter-spacing: 0.02em;
}

.trust-quote {
  max-width: 640px;
  margin: 0 auto;
}
.trust-quote p {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
.trust-attrib {
  margin-top: 20px;
  font-size: 13px;
  color: var(--fg-muted);
  letter-spacing: 0.02em;
}

@media (max-width: 900px) {
  .trust-marks { grid-template-columns: repeat(3, 1fr); }
  .tmark:nth-child(4) { border-left: 0; }
}
@media (max-width: 520px) {
  .trust-marks { grid-template-columns: 1fr 1fr; }
  .tmark:nth-child(odd) { border-left: 0; }
  .tmark:nth-child(even) { border-left: 1px solid var(--line); }
}

/* =================== CONTACT =================== */
.contact {
  padding-bottom: 120px;
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-copy { padding-top: 12px; }
.contact-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
}
.cb-lbl {
  font-size: 12px;
  color: var(--fg-muted);
  font-weight: 500;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.cb-val {
  font-size: 15px;
  color: var(--fg);
  font-weight: 500;
  line-height: 1.55;
}
.cb-val + .cb-val { margin-top: 6px; }
.cb-val a { color: inherit; text-decoration: none; border-bottom: 1px solid color-mix(in oklab, var(--fg) 25%, transparent); transition: border-color .2s ease; }
.cb-val a:hover { border-bottom-color: var(--accent); }
.cb-phone { color: var(--fg-muted); font-weight: 500; font-variant-numeric: tabular-nums; }

.contact-form {
  background: var(--bg-alt);
  border-radius: var(--r-xl);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.f { display: flex; flex-direction: column; gap: 8px; }
.f > span {
  font-size: 13px;
  color: var(--fg-muted);
  font-weight: 500;
}
.f input, .f textarea, .f select {
  font-family: inherit;
  font-size: 15px;
  color: var(--fg);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.f select { appearance: none; }
.f textarea { resize: vertical; }
.f input:focus, .f textarea:focus, .f select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-tint);
}
.f input::placeholder, .f textarea::placeholder { color: var(--fg-soft); }

@media (max-width: 900px) {
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .contact-blocks { grid-template-columns: 1fr 1fr; }
}

/* =================== MODALS / FLOWS =================== */
body.modal-open { overflow: hidden; }
.modal-root {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 28px;
}
.modal-root[hidden] { display: none; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 12, 8, 0.42);
  backdrop-filter: blur(10px);
}
.modal-card {
  position: relative;
  width: min(760px, 100%);
  max-height: min(86vh, 860px);
  overflow: auto;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: 0 32px 90px -32px rgba(0,0,0,0.38);
  padding: 36px;
}
.order-modal-card { width: min(860px, 100%); }
.spec-modal-card { width: min(1080px, 100%); padding: 28px; }
.career-modal-card { width: min(760px, 100%); }
.modal-close {
  position: absolute;
  right: 22px;
  top: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--fg-muted);
  font-size: 24px;
  line-height: 1;
}
.modal-close:hover { background: var(--bg-alt); color: var(--fg); }
.modal-head { padding-right: 42px; margin-bottom: 22px; }
.modal-title {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 600;
  margin: 0;
}
.modal-sub {
  margin: 12px 0 0;
  color: var(--fg-muted);
  font-size: 16px;
  max-width: 620px;
}
.modal-tabs {
  display: flex;
  gap: 6px;
  padding: 5px;
  margin: 0 0 20px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.modal-tabs button {
  flex: 1;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--fg-muted);
  font-size: 13px;
  font-weight: 600;
}
.modal-tabs button.is-active {
  background: var(--bg);
  color: var(--accent);
  box-shadow: 0 8px 20px -16px rgba(0,0,0,0.35);
}
.order-stepper {
  display: flex;
  gap: 8px;
  margin: 0 0 24px;
}
.order-stepper span {
  flex: 1;
  min-width: 0;
  padding: 8px 10px;
  border-radius: 999px;
  background: var(--bg-alt);
  color: var(--fg-soft);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
}
.order-stepper span.is-active {
  background: var(--accent);
  color: #fff;
}
.order-stepper span.is-done {
  color: var(--accent);
  background: var(--accent-tint);
}
.flow-form { display: flex; flex-direction: column; gap: 22px; }
.flow-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.flow-grid .f-wide { grid-column: 1 / -1; }
.order-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.order-item-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1.5fr) minmax(150px, 0.65fr) 34px;
  gap: 12px;
  align-items: end;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg-alt);
}
.order-item-index {
  min-height: 50px;
  display: grid;
  place-items: center;
  color: var(--accent-red);
  font-size: 13px;
  font-weight: 700;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}
.order-item-remove {
  width: 34px;
  height: 34px;
  margin-bottom: 8px;
  border-radius: 999px;
  color: var(--fg-muted);
  border: 1px solid var(--line);
  background: var(--bg);
  font-size: 20px;
  line-height: 1;
}
.order-item-remove:hover {
  color: var(--accent-red);
  border-color: color-mix(in oklab, var(--accent-red) 28%, transparent);
}
.order-item-spacer { width: 34px; }
.order-add {
  align-self: flex-start;
}
.flow-note {
  margin-bottom: 18px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg-alt);
  color: var(--fg-muted);
  font-size: 14px;
}
.flow-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}
.btn-link-subtle {
  color: var(--fg-muted);
  padding-left: 10px;
  padding-right: 10px;
}
.btn-link-subtle:hover { color: var(--fg); }
.flow-review {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg-alt);
  padding: 24px;
}
.flow-review h3 {
  margin: 0 0 18px;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.review-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
  margin: 0;
}
.review-list div {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.review-list dt {
  color: var(--fg-soft);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.review-list dd {
  margin: 5px 0 0;
  color: var(--fg);
  font-size: 15px;
  line-height: 1.45;
  white-space: pre-line;
}
.flow-confirm {
  min-height: 300px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 14px;
  text-align: center;
}
.confirm-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}
.flow-confirm h3 {
  margin: 0;
  font-size: 30px;
  letter-spacing: -0.02em;
}
.flow-confirm p {
  max-width: 440px;
  margin: 0 0 10px;
  color: var(--fg-muted);
}
.confirm-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}
.confirm-actions .btn {
  min-width: 150px;
}
.confirm-hint {
  max-width: 520px;
  font-size: 14px;
  color: var(--fg-soft);
}
.cv-reminder {
  width: min(100%, 560px);
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-radius: var(--r-md);
  border: 1px solid color-mix(in oklab, var(--accent-red) 26%, var(--line));
  background: color-mix(in oklab, var(--accent-red) 9%, var(--bg));
  text-align: left;
}
.cv-reminder strong {
  color: var(--accent-red);
  font-size: 15px;
  letter-spacing: 0;
}
.cv-reminder span {
  color: var(--fg);
  font-size: 15px;
  line-height: 1.45;
}
.spec-layout {
  display: grid;
  grid-template-columns: minmax(300px, 42%) 1fr;
  gap: 30px;
  align-items: stretch;
}
.spec-media {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.spec-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.spec-head {
  padding: 12px 48px 0 0;
  margin-bottom: 24px;
}
.spec-head .modal-title {
  font-size: clamp(34px, 4.4vw, 56px);
}
.spec-head .modal-sub {
  max-width: 64ch;
  font-size: 17px;
  line-height: 1.55;
}
.spec-panel {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg-alt);
  padding: 24px;
}
.spec-list {
  grid-template-columns: 1fr;
}
.spec-list div:first-child {
  padding-top: 0;
  border-top: 0;
}
.spec-photo-wrap,
.spec-generated {
  width: 100%;
  min-height: 430px;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 44%, rgba(255,255,255,0.82), transparent 38%),
    var(--bg-alt);
}
.spec-photo {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: contain;
  object-position: center;
}
.spec-generated {
  display: grid;
  place-items: center;
  padding: 28px;
}
.spec-generated .custom-sample-wrap,
.spec-generated .product-photo-wrap {
  width: min(100%, 390px);
}
.spec-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0;
}
.spec-summary div {
  min-height: 82px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg-alt);
}
.spec-summary dt {
  color: var(--fg-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.spec-summary dd {
  margin: 8px 0 0;
  color: var(--fg);
  font-size: 16px;
  font-weight: 600;
}
.spec-actions {
  margin-top: auto;
  padding-top: 24px;
}
.spec-actions .btn {
  min-width: 170px;
}

/* =================== CAREERS =================== */
.careers-hero {
  min-height: 72vh;
  padding: 96px var(--pad) 72px;
  display: flex;
  align-items: center;
}
.careers-hero-inner {
  max-width: var(--maxw);
  width: 100%;
  margin: 0 auto;
}
.careers-section { padding-top: 40px; }
.career-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.career-card {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.career-kicker {
  margin: 0 0 10px;
  color: var(--accent-red);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.career-card h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: -0.025em;
}
.career-card p {
  margin: 12px 0 0;
  color: var(--fg-muted);
  font-size: 15px;
}
.career-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0;
}
.career-meta div {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.career-meta dt {
  color: var(--fg-soft);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.career-meta dd {
  margin: 4px 0 0;
  color: var(--fg);
  font-size: 14px;
  font-weight: 600;
}
.career-detail {
  color: var(--fg-muted);
  font-size: 14px;
}
.career-detail h4 {
  margin: 18px 0 8px;
  color: var(--fg);
  font-size: 13px;
}
.career-detail ul {
  margin: 0;
  padding-left: 18px;
}
.career-detail li + li { margin-top: 6px; }
.career-card .btn { margin-top: auto; }
.career-contact {
  padding-top: 40px;
}
.career-contact-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 44px;
  border-radius: var(--r-xl);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.career-contact-copy p {
  color: var(--fg-muted);
  margin: 0 0 22px;
  max-width: 480px;
}

@media (max-width: 980px) {
  .spec-layout { grid-template-columns: 1fr; }
  .spec-photo-wrap,
  .spec-generated,
  .spec-photo {
    min-height: 340px;
  }
  .spec-head { padding-top: 0; }
  .career-grid { grid-template-columns: 1fr; }
  .career-contact-inner { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .modal-root { padding: 12px; align-items: end; }
  .modal-card {
    max-height: 92vh;
    padding: 28px 22px;
    border-radius: 24px 24px 0 0;
  }
  .modal-tabs { flex-direction: column; border-radius: 18px; }
  .modal-tabs button { border-radius: 14px; }
  .order-stepper { overflow-x: auto; padding-bottom: 2px; }
  .order-stepper span { min-width: 110px; }
  .flow-grid, .review-list { grid-template-columns: 1fr; }
  .order-item-row {
    grid-template-columns: 38px 1fr 34px;
  }
  .order-item-row .f:first-of-type,
  .order-item-row .f:nth-of-type(2) {
    grid-column: 2 / -2;
  }
  .order-item-remove,
  .order-item-spacer {
    grid-column: 3;
    grid-row: 1;
    align-self: center;
    margin-bottom: 0;
  }
  .spec-summary { grid-template-columns: 1fr; }
  .spec-photo-wrap,
  .spec-generated,
  .spec-photo {
    min-height: 280px;
  }
  .spec-modal-card { padding: 22px; }
  .spec-head { padding-right: 42px; }
  .flow-actions { flex-wrap: wrap; justify-content: stretch; }
  .flow-actions .btn { flex: 1 1 100%; }
  .careers-hero { min-height: auto; padding-top: 72px; }
  .career-contact-inner { padding: 30px 24px; }
}

/* =================== FOOTER =================== */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 48px var(--pad);
}
.footer-top {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.footer-nav { display: flex; gap: 32px; }
.footer-nav a {
  font-size: 13px;
  color: var(--fg-muted);
  transition: color .2s;
}
.footer-nav a:hover { color: var(--fg); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px;
  font-size: 12px;
  color: var(--fg-muted);
}
.footer-legal { display: flex; gap: 24px; align-items: center; }
.footer-legal a { color: var(--fg-muted); }
.footer-legal a:hover { color: var(--fg); }
.footer-lang { color: var(--fg-soft); }

@media (max-width: 640px) {
  .footer-top { flex-direction: column; gap: 24px; align-items: flex-start; }
  .footer-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
}

/* =================== TWEAKS =================== */
.tweaks {
  position: fixed;
  right: 20px; bottom: 20px;
  width: 280px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: 0 20px 50px -10px rgba(0,0,0,0.18);
  z-index: 100;
  font-size: 13px;
}
.tweaks[hidden] { display: none; }
.tweaks-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 12px; font-weight: 500;
  color: var(--fg-muted);
}
.tweaks-close {
  font-size: 18px; line-height: 1; color: var(--fg-muted);
}
.tweaks-body { padding: 18px; display: flex; flex-direction: column; gap: 18px; }
.t-row { display: flex; flex-direction: column; gap: 8px; }
.t-lbl { font-size: 12px; color: var(--fg-muted); font-weight: 500; }
.seg {
  display: flex; gap: 4px;
  background: var(--bg-alt);
  padding: 3px;
  border-radius: 10px;
}
.seg button {
  flex: 1;
  padding: 7px 8px;
  font-size: 12px;
  color: var(--fg-muted);
  border-radius: 7px;
  transition: all .15s;
}
.seg button.is-active {
  background: var(--bg);
  color: var(--fg);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.t-check { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--fg-muted); cursor: pointer; }
.t-check input { accent-color: var(--accent); }

.grid-overlay {
  position: fixed; inset: 0;
  z-index: 99;
  pointer-events: none;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.grid-overlay[hidden] { display: none; }
.grid-overlay > div {
  background: color-mix(in oklab, var(--accent) 4%, transparent);
  border-left: 1px solid color-mix(in oklab, var(--accent) 10%, transparent);
  border-right: 1px solid color-mix(in oklab, var(--accent) 10%, transparent);
}

/* =================== SCROLL REVEAL =================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* Mobile tweaks */
@media (max-width: 700px) {
  :root { --pad: 24px; }
  .section { padding: 88px var(--pad); }
  .statement, .trust { padding: 88px var(--pad); }
  .hero { padding: 64px var(--pad) 20px; }
  .hero-visual { margin-top: 24px; }
  .hero-stage { height: 430px; }
  .hero-bottle-photo {
    width: min(82vw, 360px);
    height: 420px;
  }
  .hero-bottle-photo::after {
    bottom: 24px;
    width: 190px;
  }
  .hero-bottle { width: 150px; height: 360px; }
  .hb-label { padding: 16px 14px; top: 40px; bottom: 30px; left: 16px; right: 16px; }
  .hb-label-num { font-size: 42px; }
  .section-head { margin-bottom: 48px; }
}
