/* ============================================================
   AGOBEE — Design System
   Tokens: .claude/skills/agobee-brand/SKILL.md
   ============================================================ */

:root {
  /* Core */
  --noir: #0B0B0C;
  --noir-soft: #141416;
  --gold: #C6A15B;
  --gold-light: #E8CE8F;
  --gold-deep: #97742F;
  --ivory: #F4EFE6;
  --ivory-dim: rgba(244, 239, 230, 0.72);

  /* Segments */
  --seg-military: #0B0B0C;
  --seg-daily: #7E1F2B;
  --seg-health: #1E3D4A;
  --seg-outdoor: #1F3A2D;
  --seg-hotel: #1C2440;

  /* Effects */
  --gold-gradient: linear-gradient(135deg, #E8CE8F 0%, #C6A15B 45%, #97742F 100%);
  --hairline: rgba(198, 161, 91, 0.35);
  --hairline-soft: rgba(198, 161, 91, 0.18);

  /* Type */
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", sans-serif;

  /* Rhythm */
  --section-pad: clamp(72px, 10vw, 140px);
  --content-w: 1240px;
  --ease-lux: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--noir);
  color: var(--ivory);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

::selection { background: var(--gold-deep); color: var(--noir); }

/* Accessible focus — gold ring, always visible */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 24px;
  z-index: 200;
  background: var(--noir-soft);
  color: var(--gold-light);
  border: 1px solid var(--gold);
  padding: 12px 24px;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: top 0.3s var(--ease-lux);
}
.skip-link:focus { top: 16px; }

/* ---------- Typography ---------- */
h1, h2, h3, .serif {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ivory);
}

.display {
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  letter-spacing: clamp(0.12em, 2vw, 0.3em);
  text-transform: uppercase;
  line-height: 1.15;
  text-indent: clamp(0.12em, 2vw, 0.3em); /* optically recenter tracked text */
}

.h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-indent: 0.18em;
  line-height: 1.3;
}

.h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--ivory-dim);
  font-weight: 300;
}

/* ---------- Ornaments ---------- */
.rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--gold);
}
.rule::before, .rule::after {
  content: "";
  height: 1px;
  width: clamp(48px, 8vw, 120px);
  background: linear-gradient(90deg, transparent, var(--gold));
}
.rule::after { background: linear-gradient(90deg, var(--gold), transparent); }
.rule .hex {
  width: 7px; height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
  flex: none;
}

.honeycomb {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='55.4' height='96' viewBox='0 0 55.4 96'%3E%3Cpath fill='none' stroke='%23C6A15B' stroke-opacity='0.055' d='M27.7 0 L55.4 16 L55.4 48 L27.7 64 L0 48 L0 16 Z M27.7 64 L27.7 96'/%3E%3C/svg%3E");
  background-size: 55.4px 96px;
}

/* ---------- Layout ---------- */
.container {
  width: min(var(--content-w), 92vw);
  margin-inline: auto;
}

.section { padding-block: var(--section-pad); position: relative; }

.section-head {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: clamp(48px, 6vw, 88px);
  display: grid;
  gap: 20px;
  justify-items: center;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  transition: background 0.4s var(--ease-lux), border-color 0.4s var(--ease-lux);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(11, 11, 12, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--hairline-soft);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--gold);
}
.brand svg { width: 34px; height: auto; }
.brand-name {
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: 0.32em;
  text-indent: 0.32em;
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
}
.nav-links a {
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  padding: 8px 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.3s, border-color 0.3s;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--gold-light);
  border-bottom-color: var(--gold-deep);
}

.nav-links a.lang {
  border: 1px solid var(--hairline);
  padding: 8px 16px;
  color: var(--gold);
}
.nav-links a.lang:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--hairline);
  color: var(--gold);
  width: 46px; height: 46px;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

@media (max-width: 900px) {
  .nav-toggle { display: grid; place-items: center; order: 10; margin-left: auto; }
  .nav-links {
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    height: 100vh;
    height: 100dvh;
    z-index: 98;
    padding: 104px 24px calc(40px + env(safe-area-inset-bottom));
    flex-direction: column;
    justify-content: center;
    gap: clamp(22px, 4.5vh, 36px);
    overflow-y: auto;
    background: #0B0B0C;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s var(--ease-lux), transform 0.35s var(--ease-lux), visibility 0.35s;
  }
  :root[data-theme="light"] .nav-links { background: #F2EDE3; }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { font-size: 15px; }
  .site-header .brand,
  .site-header .nav-toggle { position: relative; z-index: 99; }

  /* While the drawer is open the header must never carry transform or
     backdrop-filter — on iOS they turn the fixed drawer into a trapped box. */
  .site-header.menu-open,
  .site-header.menu-open.scrolled {
    transform: none !important;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: rgba(11, 11, 12, 0.98);
  }
  :root[data-theme="light"] .site-header.menu-open,
  :root[data-theme="light"] .site-header.menu-open.scrolled {
    background: rgba(242, 237, 227, 0.98);
  }
}

/* Body scroll lock while the mobile drawer is open */
html.nav-open, html.nav-open body { overflow: hidden; }
html.nav-open .agb-top,
html.nav-open .scroll-hint { opacity: 0 !important; visibility: hidden !important; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  position: relative;
  padding-block: 140px 100px;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 55% at 50% 42%, rgba(198, 161, 91, 0.10), transparent 70%),
    radial-gradient(ellipse 100% 60% at 50% 110%, rgba(198, 161, 91, 0.05), transparent 60%);
}
.hero-inner { display: grid; justify-items: center; gap: 28px; max-width: 820px; }
.hero-bee { width: clamp(84px, 12vw, 128px); color: var(--gold); }
.hero .tagline {
  font-size: clamp(12px, 1.4vw, 14px);
  letter-spacing: 0.55em;
  text-indent: 0.55em;
  text-transform: uppercase;
  color: var(--ivory-dim);
}
.hero .lead { max-width: 560px; }
.hero-ctas { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; margin-top: 16px; }

.scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  translate: -50% 0;
  width: 1px;
  height: 56px;
  background: linear-gradient(var(--gold), transparent);
  opacity: 0.6;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 14px 36px;
  border: 1px solid var(--gold);
  border-radius: 2px;
  background: transparent;
  color: var(--gold-light);
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.4s var(--ease-lux), color 0.4s, border-color 0.4s;
}
.btn:hover {
  background: var(--gold-gradient);
  color: var(--noir);
  border-color: var(--gold-light);
}
.btn.ghost { border-color: rgba(244, 239, 230, 0.25); color: var(--ivory-dim); }
.btn.ghost:hover { border-color: var(--gold); background: none; color: var(--gold-light); }

.btn-dark {
  border-color: #F4EFE6;
  color: #F4EFE6;
}
.btn-dark:hover { background: #F4EFE6; color: #151310; border-color: #F4EFE6; }

/* ---------- Sachet (packaging recreation) ---------- */
.sachet {
  aspect-ratio: 16 / 9.2;
  border-radius: 10px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.8);
  background:
    radial-gradient(ellipse 80% 90% at 50% 18%, rgba(255, 255, 255, 0.07), transparent 55%),
    var(--sachet-bg, var(--noir));
}
.sachet::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid var(--sachet-line, var(--hairline));
  border-radius: 5px;
  pointer-events: none;
}
.sachet::after {
  content: "";
  position: absolute;
  inset: 15px;
  border: 1px solid var(--sachet-line, var(--hairline));
  opacity: 0.45;
  border-radius: 3px;
  pointer-events: none;
}
.sachet-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 7px;
  color: var(--sachet-ink, var(--gold));
  padding: 24px;
}
.sachet-inner svg { width: 30px; color: inherit; }
.sachet-brand {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  line-height: 1;
  margin-top: 4px;
}
.sachet-sub {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  text-transform: uppercase;
  opacity: 0.95;
}
.sachet-sub::before, .sachet-sub::after {
  content: "";
  width: 26px; height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.sachet-micro {
  font-size: 8.5px;
  letter-spacing: 0.4em;
  text-indent: 0.4em;
  text-transform: uppercase;
  opacity: 0.75;
}
.sachet-product {
  margin-top: 10px;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-indent: 0.32em;
  text-transform: uppercase;
}

/* ---------- Segment cards ---------- */
.segment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: clamp(24px, 3vw, 40px);
}
.segment-card {
  display: grid;
  gap: 22px;
  transition: transform 0.5s var(--ease-lux);
}
.segment-card:hover { transform: translateY(-6px); }
.segment-card:hover .sachet { box-shadow: 0 26px 50px -22px rgba(0, 0, 0, 0.9); }
.segment-meta { text-align: center; display: grid; gap: 8px; justify-items: center; }
.segment-meta .h3 { font-size: 1.1rem; letter-spacing: 0.22em; text-indent: 0.22em; }
.segment-meta p { font-size: 14.5px; color: var(--ivory-dim); max-width: 30ch; }
.segment-link {
  font-size: 11.5px;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--gold-deep);
  padding-bottom: 4px;
  transition: color 0.3s;
}
.segment-card:hover .segment-link { color: var(--gold-light); }

/* ---------- Bottles (Hotel Collection) ---------- */
.bottle-row {
  display: flex;
  gap: clamp(16px, 2.5vw, 30px);
  justify-content: center;
  align-items: flex-end;
  flex-wrap: wrap;
}
.bottle {
  --bottle-bg: #17171a;
  width: clamp(96px, 11vw, 128px);
  aspect-ratio: 1 / 2.6;
  position: relative;
  border-radius: 12px 12px 9px 9px;
  border: 1px solid var(--hairline);
  background:
    linear-gradient(100deg, rgba(255,255,255,0.10) 0%, transparent 28%, transparent 72%, rgba(0,0,0,0.35) 100%),
    var(--bottle-bg);
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 6px;
  text-align: center;
  padding: 14px 8px;
  margin-top: 58px;
  box-shadow: 0 22px 44px -20px rgba(0, 0, 0, 0.85);
}
.bottle.navy { --bottle-bg: #1C2440; }
.bottle::before { /* pump neck */
  content: "";
  position: absolute;
  top: -34px;
  left: 50%;
  translate: -50% 0;
  width: 18px;
  height: 36px;
  background: linear-gradient(90deg, #232326, #0d0d0f);
  border-radius: 3px 3px 0 0;
}
.bottle::after { /* pump head */
  content: "";
  position: absolute;
  top: -52px;
  left: 50%;
  translate: -32% 0;
  width: 46px;
  height: 20px;
  background: linear-gradient(180deg, #2a2a2e, #101012);
  border-radius: 4px 10px 3px 3px;
  clip-path: polygon(0 40%, 28% 40%, 34% 0, 100% 0, 100% 100%, 34% 100%, 28% 100%, 0 78%);
}
.bottle svg { width: 24px; color: var(--gold); }
.bottle-brand {
  font-family: var(--serif);
  color: var(--gold);
  font-size: 0.95rem;
  letter-spacing: 0.22em;
  text-indent: 0.22em;
}
.bottle-line {
  font-size: 6.5px;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.9;
  display: flex;
  align-items: center;
  gap: 5px;
}
.bottle-line::before, .bottle-line::after {
  content: ""; width: 10px; height: 1px; background: var(--gold); opacity: 0.6;
}
.bottle-name {
  margin-top: 8px;
  font-size: 8px;
  letter-spacing: 0.26em;
  text-indent: 0.26em;
  text-transform: uppercase;
  color: var(--ivory);
}
.bottle-ml {
  font-size: 7.5px;
  letter-spacing: 0.2em;
  color: var(--ivory-dim);
  margin-top: 6px;
}

/* ---------- Split editorial section ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.split-copy { display: grid; gap: 22px; max-width: 520px; }
.split-copy .rule { justify-content: flex-start; }
.split-copy .rule::before { display: none; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split-copy { max-width: none; }
}

/* ---------- Accent section (warm charcoal in both themes) ---------- */
.section-ivory {
  background: linear-gradient(180deg, rgba(198, 161, 91, 0.05), transparent 35%), #151310;
  border-block: 1px solid var(--hairline-soft);
  color: rgba(244, 239, 230, 0.85);
}
.section-ivory h2, .section-ivory h3 { color: #F4EFE6; }
.section-ivory .lead { color: rgba(244, 239, 230, 0.75); }
.section-ivory .eyebrow { color: #C6A15B; }

/* ---------- Feature list ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(28px, 4vw, 56px);
  text-align: center;
}
.feature { display: grid; gap: 14px; justify-items: center; }
.feature-icon {
  width: 58px; height: 58px;
  border: 1px solid var(--hairline);
  transform: rotate(45deg);
  display: grid;
  place-items: center;
  margin-bottom: 8px;
}
.feature-icon > * { transform: rotate(-45deg); }
.feature-icon svg { width: 24px; height: 24px; color: var(--gold); }
.feature h3 { font-size: 1rem; letter-spacing: 0.2em; text-indent: 0.2em; text-transform: uppercase; }
.feature p { font-size: 14.5px; color: var(--ivory-dim); max-width: 28ch; }
.section-ivory .feature p { color: rgba(244, 239, 230, 0.72); }
.section-ivory .feature-icon { border-color: rgba(198, 161, 91, 0.4); }
.section-ivory .feature-icon svg { color: #C6A15B; }

/* ---------- Stats / trust strip ---------- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  text-align: center;
}
.trust-item { display: grid; gap: 6px; }
.trust-item .num {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--gold);
}
.trust-item .label {
  font-size: 11.5px;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.65);
}

/* ---------- Segment page hero ---------- */
.seg-hero {
  padding-top: clamp(140px, 18vh, 200px);
  padding-bottom: var(--section-pad);
  position: relative;
  isolation: isolate;
}
.seg-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, transparent 0%, var(--noir) 96%),
    radial-gradient(ellipse 90% 70% at 50% 0%, var(--seg-tint, rgba(198,161,91,0.12)), transparent 72%);
}
.seg-hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
@media (max-width: 900px) {
  .seg-hero .container { grid-template-columns: 1fr; }
}
.seg-hero-copy { display: grid; gap: 22px; }
.seg-hero-copy .rule { justify-content: flex-start; }
.seg-hero-copy .rule::before { display: none; }
.seg-hero-copy h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.25;
}

/* ---------- Spec table ---------- */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  max-width: 680px;
  margin-inline: auto;
}
.spec-table th, .spec-table td {
  padding: 18px 8px;
  border-bottom: 1px solid var(--hairline-soft);
  font-weight: 300;
  text-align: left;
  font-size: 15px;
}
.spec-table th {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  width: 42%;
}
.spec-table td { color: var(--ivory-dim); }

/* ---------- CTA band ---------- */
.cta-band {
  text-align: center;
  display: grid;
  gap: 26px;
  justify-items: center;
  border-block: 1px solid var(--hairline-soft);
  padding-block: clamp(64px, 8vw, 110px);
}
.cta-band .h2 { max-width: 700px; }

/* ---------- Forms ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px 40px;
  max-width: 780px;
  margin-inline: auto;
}
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }

.field { display: grid; gap: 10px; }
.field label {
  font-size: 11.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
}
.field input, .field select, .field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(244, 239, 230, 0.3);
  color: var(--ivory);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  padding: 10px 2px;
  border-radius: 0;
  transition: border-color 0.3s;
}
.field select { cursor: pointer; }
.field select option { background: var(--noir-soft); color: var(--ivory); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-bottom-color: var(--gold);
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}
.field textarea { min-height: 120px; resize: vertical; }

.checkbox-field {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 13.5px;
  color: var(--ivory-dim);
}
.checkbox-field input {
  accent-color: var(--gold);
  width: 18px; height: 18px;
  margin-top: 4px;
  flex: none;
}

.form-note { font-size: 13px; color: var(--ivory-dim); text-align: center; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--hairline-soft);
  padding: clamp(56px, 7vw, 90px) 0 36px;
  text-align: center;
}
.footer-grid {
  display: grid;
  gap: 40px;
  justify-items: center;
}
.footer-bee { width: 44px; color: var(--gold); }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 36px;
}
.footer-nav a {
  font-size: 11.5px;
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  transition: color 0.3s;
}
.footer-nav a:hover { color: var(--gold-light); }
.footer-legal {
  font-size: 12px;
  color: rgba(244, 239, 230, 0.45);
  letter-spacing: 0.08em;
  border-top: 1px solid var(--hairline-soft);
  padding-top: 28px;
  width: 100%;
}

/* ---------- Reveal animation ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s var(--ease-lux), transform 0.7s var(--ease-lux);
    transition-delay: var(--reveal-delay, 0s);
  }
  .reveal.in { opacity: 1; transform: none; }

  .hero-inner > * {
    animation: heroIn 1s var(--ease-lux) both;
  }
  .hero-inner > *:nth-child(2) { animation-delay: 0.12s; }
  .hero-inner > *:nth-child(3) { animation-delay: 0.24s; }
  .hero-inner > *:nth-child(4) { animation-delay: 0.36s; }
  .hero-inner > *:nth-child(5) { animation-delay: 0.48s; }
  .hero-inner > *:nth-child(6) { animation-delay: 0.6s; }
  @keyframes heroIn {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: none; }
  }
}

/* ============================================================
   Light theme — toggled via data-theme on <html>
   ============================================================ */
:root[data-theme="light"] {
  --noir: #F2EDE3;
  --noir-soft: #FFFDF6;
  --gold: #8F6B22;
  --gold-light: #6E5119;
  --gold-deep: #B08A3E;
  --ivory: #221D15;
  --ivory-dim: rgba(34, 29, 21, 0.72);
  --gold-gradient: linear-gradient(135deg, #A37E2C 0%, #8F6B22 45%, #6E5119 100%);
  --hairline: rgba(143, 107, 34, 0.4);
  --hairline-soft: rgba(143, 107, 34, 0.18);
}
:root[data-theme="light"] body { background: var(--noir); }

:root[data-theme="light"] .site-header.scrolled {
  background: rgba(242, 237, 227, 0.92);
}

:root[data-theme="light"] .hero::before {
  background:
    radial-gradient(ellipse 70% 55% at 50% 42%, rgba(143, 107, 34, 0.08), transparent 70%),
    radial-gradient(ellipse 100% 60% at 50% 110%, rgba(143, 107, 34, 0.05), transparent 60%);
}

:root[data-theme="light"] ::selection { background: #E3D5B3; color: #221D15; }

/* Accent section stays warm charcoal in light mode too */
:root[data-theme="light"] .section-ivory {
  background: linear-gradient(180deg, rgba(198, 161, 91, 0.05), transparent 35%), #151310;
  color: rgba(244, 239, 230, 0.85);
}
:root[data-theme="light"] .section-ivory h2,
:root[data-theme="light"] .section-ivory h3 { color: #F4EFE6; }
:root[data-theme="light"] .section-ivory .lead { color: rgba(244, 239, 230, 0.75); }
:root[data-theme="light"] .section-ivory .eyebrow { color: #C6A15B; }
:root[data-theme="light"] .section-ivory .feature p { color: rgba(244, 239, 230, 0.72); }
:root[data-theme="light"] .section-ivory .feature-icon { border-color: rgba(198, 161, 91, 0.4); }
:root[data-theme="light"] .section-ivory .feature-icon svg { color: #C6A15B; }
:root[data-theme="light"] .section-ivory .trust-item .num { color: #C6A15B; }
:root[data-theme="light"] .section-ivory .trust-item .label { color: rgba(244, 239, 230, 0.65); }
:root[data-theme="light"] .btn-dark { border-color: #F4EFE6; color: #F4EFE6; }
:root[data-theme="light"] .btn-dark:hover { background: #F4EFE6; color: #131315; border-color: #F4EFE6; }

/* Product recreations keep their packaging colors in both themes */
.sachet, .bottle { color-scheme: dark; }

/* ---------- Theme toggle ---------- */
.theme-toggle {
  background: none;
  border: 1px solid var(--hairline);
  color: var(--gold);
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  border-radius: 2px;
  transition: border-color 0.3s, color 0.3s;
}
.theme-toggle:hover { border-color: var(--gold); color: var(--gold-light); }

/* ---------- Brand mark images (real logo) ---------- */
.brand img { width: 38px; height: auto; display: block; }
.sachet-inner img { width: 34px; height: auto; }
.bottle img { width: 26px; height: auto; }
img.hero-bee, img.footer-bee { height: auto; }

/* ---------- Product photography ---------- */
.product-photo {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--hairline-soft);
  box-shadow: 0 26px 52px -26px rgba(0, 0, 0, 0.75);
  background: #0d0d0f;
}
.product-photo img { width: 100%; height: auto; display: block; }

.photo-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2.5vw, 28px);
  align-items: start;
}
.photo-duo .offset { margin-top: clamp(28px, 4vw, 56px); }

.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(14px, 2vw, 24px);
}
@media (max-width: 520px) {
  .photo-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Premium visual effects
   ============================================================ */

/* Scroll progress hairline */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0;
  z-index: 200;
  background: var(--gold-gradient);
  pointer-events: none;
}

/* Gold dust particle canvas (injected by JS into heroes) */
.dust {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

/* Nav underline grows from the left */
.nav-links a:not(.lang) {
  border-bottom: none;
  padding-bottom: 9px;
  background-image: linear-gradient(var(--gold-light), var(--gold-light));
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 0% 1px;
  transition: color 0.3s, background-size 0.45s var(--ease-lux);
}
.nav-links a:not(.lang):hover,
.nav-links a:not(.lang)[aria-current="page"] {
  background-size: 100% 1px;
}

/* Sheen sweep on segment cards & product photos */
.segment-card > a,
.product-photo {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  display: block;
}
.segment-card > a::after,
.product-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(110deg, transparent 42%, rgba(255, 255, 255, 0.09) 50%, transparent 58%);
  transform: translateX(-130%);
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .segment-card > a::after,
  .product-photo::after { transition: transform 1.1s var(--ease-lux); }
  .segment-card:hover > a::after,
  .product-photo:hover::after { transform: translateX(130%); }

  /* Page fade-in */
  body { animation: pageIn 0.9s var(--ease-lux) both; }
  @keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }

  /* Hero wordmark shimmer */
  .hero .gold-text {
    background-size: 220% 220%;
    animation: shimmer 8s ease-in-out infinite;
  }
  @keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
  }

  /* Hero logo breathing glow */
  .hero-bee { animation: beeGlow 7s ease-in-out infinite; }
  @keyframes beeGlow {
    0%, 100% { filter: drop-shadow(0 0 12px rgba(198, 161, 91, 0.15)); }
    50% { filter: drop-shadow(0 0 28px rgba(198, 161, 91, 0.4)); }
  }

  /* Footer bee gentle float */
  .footer-bee { animation: floaty 7s ease-in-out infinite; }
  @keyframes floaty {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
  }

  /* Scroll hint pulse */
  .scroll-hint { animation: hintPulse 2.6s ease-in-out infinite; }
  @keyframes hintPulse {
    0%, 100% { opacity: 0.25; transform: translateY(0); }
    50% { opacity: 0.7; transform: translateY(8px); }
  }

  /* Gold rules draw in from the center ornament */
  .reveal .rule::before, .reveal .rule::after {
    transform: scaleX(0);
    transition: transform 1.2s var(--ease-lux) 0.25s;
  }
  .reveal .rule::before { transform-origin: right; }
  .reveal .rule::after { transform-origin: left; }
  .reveal.in .rule::before, .reveal.in .rule::after { transform: scaleX(1); }

  /* Section headings sharpen as they appear */
  .section-head.reveal {
    filter: blur(7px);
    transition: opacity 0.85s var(--ease-lux), transform 0.85s var(--ease-lux), filter 0.85s var(--ease-lux);
  }
  .section-head.reveal.in { filter: blur(0); }

  /* Product photos: slow zoom on hover */
  .product-photo img { transition: transform 1.5s var(--ease-lux); }
  .product-photo:hover img { transform: scale(1.045); }

  /* Tilt targets ease back smoothly */
  .sachet, .product-photo {
    transition: transform 0.6s var(--ease-lux), box-shadow 0.6s var(--ease-lux);
    will-change: transform;
  }

  /* Buttons: light sweep on hover */
  .btn { position: relative; overflow: hidden; }
  .btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 40%, rgba(255, 255, 255, 0.14) 50%, transparent 60%);
    transform: translateX(-130%);
    transition: transform 0.9s var(--ease-lux);
    pointer-events: none;
  }
  .btn:hover::before { transform: translateX(130%); }
}

/* ============================================================
   Cinematic layer — Teralis-inspired, AGOBEE-noir signature
   ============================================================ */
:root { --ease-power: cubic-bezier(0.645, 0.045, 0.355, 1); }

/* ---------- Preloader ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 400;
  background: #0B0B0C url("../assets/logo-mark.png") center / clamp(64px, 10vw, 110px) no-repeat;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s var(--ease-power), visibility 0.7s;
}
body::after {
  content: "";
  position: fixed;
  left: 50%;
  top: calc(50% + 92px);
  translate: -50% 0;
  height: 1px;
  width: 0;
  z-index: 401;
  background: var(--gold-gradient);
  opacity: 0;
  visibility: hidden;
}
html.agb-loading body::before { opacity: 1; visibility: visible; transition: none; }
html.agb-loading body::after {
  opacity: 1;
  visibility: visible;
  animation: agbLine 2s var(--ease-power) infinite;
}
@keyframes agbLine {
  0% { width: 0; opacity: 0.4; }
  50% { width: 200px; opacity: 1; }
  100% { width: 0; opacity: 0.4; }
}
html.agb-loading { overflow: hidden; }

/* ---------- Heading line-mask reveals ---------- */
.lm { display: block; overflow: hidden; }
.lm > span { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .lm > span {
    transform: translateY(118%);
    transition: transform 1.05s var(--ease-power) 0.12s;
  }
  .reveal.in .lm > span,
  html.agb-loaded .seg-hero-copy .lm > span { transform: none; }

  /* Hero wordmark: curtain clip + shimmer */
  .hero .hero-inner > .display.gold-text {
    background-size: 220% 220%;
    animation:
      heroTitle 1.4s var(--ease-power) 0.15s both,
      shimmer 8s ease-in-out 2.2s infinite;
  }
  @keyframes heroTitle {
    from { opacity: 0; clip-path: inset(0 100% -12% 0); }
    to { opacity: 1; clip-path: inset(0 -2% -12% 0); }
  }
}

/* ---------- Hero rotating ritual words ---------- */
.agb-rotator {
  font-size: clamp(13px, 1.6vw, 16px);
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  display: grid;
  justify-items: center;
}
.agb-rotator .stack { display: grid; min-height: 1.7em; }
.agb-rotator .stack span {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(90%);
  transition: opacity 0.6s var(--ease-power), transform 0.6s var(--ease-power);
}
.agb-rotator .stack span.on { opacity: 1; transform: none; }
.agb-rotator .stack span.out { opacity: 0; transform: translateY(-90%); }

/* ---------- Scroll word-paint ---------- */
.agb-paint .pw { opacity: 0.22; transition: opacity 0.35s linear; }
.agb-paint .pw.on { opacity: 1; }

/* ---------- Giant assembling watermark ---------- */
.agb-assemble {
  overflow: hidden;
  padding-block: clamp(40px, 8vw, 130px);
}
.agb-assemble .word {
  display: flex;
  justify-content: center;
  gap: 0.05em;
  font-family: var(--serif);
  font-size: clamp(68px, 16.5vw, 235px);
  line-height: 1;
  letter-spacing: 0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(198, 161, 91, 0.5);
}
:root[data-theme="light"] .agb-assemble .word { -webkit-text-stroke-color: rgba(143, 107, 34, 0.5); }
.agb-assemble .word span { display: block; will-change: transform, opacity; }

/* ---------- Marquee band ---------- */
.agb-marquee {
  overflow: hidden;
  border-block: 1px solid var(--hairline-soft);
  padding-block: clamp(16px, 3vw, 32px);
}
.agb-marquee .track {
  display: flex;
  align-items: center;
  gap: 3rem;
  width: max-content;
}
@media (prefers-reduced-motion: no-preference) {
  .agb-marquee .track { animation: agbMarq 48s linear infinite; }
  .agb-marquee:hover .track { animation-play-state: paused; }
}
@keyframes agbMarq { to { transform: translateX(-50%); } }
.agb-marquee .mi {
  display: flex;
  align-items: center;
  gap: 3rem;
  font-family: var(--serif);
  font-size: clamp(26px, 4vw, 52px);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px var(--hairline);
}
.agb-marquee .mi b { color: var(--gold); -webkit-text-stroke: 0; font-weight: 500; }
.agb-marquee .mi i { font-style: normal; color: var(--gold); -webkit-text-stroke: 0; font-size: 0.5em; }

/* ---------- Custom cursor halo ---------- */
.agb-ring {
  position: fixed;
  z-index: 500;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(198, 161, 91, 0.55);
  border-radius: 50%;
  translate: -50% -50%;
  pointer-events: none;
  transition: width 0.35s var(--ease-power), height 0.35s var(--ease-power),
              border-color 0.35s, opacity 0.35s;
  opacity: 0;
}
.agb-ring.show { opacity: 1; }
.agb-ring.hov { width: 58px; height: 58px; border-color: var(--gold-light); }
:root[data-theme="light"] .agb-ring { border-color: rgba(143, 107, 34, 0.55); }

/* ---------- Smart sticky header ---------- */
.site-header {
  transition: background 0.4s var(--ease-lux), border-color 0.4s var(--ease-lux),
              transform 0.55s var(--ease-power);
}
.site-header.agb-hide { transform: translateY(-110%); }

/* ---------- Scroll-top diamond ---------- */
.agb-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 46px;
  height: 46px;
  z-index: 150;
  display: grid;
  place-items: center;
  border: 1px solid var(--hairline);
  background: rgba(11, 11, 12, 0.55);
  backdrop-filter: blur(6px);
  color: var(--gold);
  cursor: pointer;
  transform: rotate(45deg) translate(10px, 10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--ease-power), transform 0.45s var(--ease-power),
              visibility 0.45s, border-color 0.3s;
}
.agb-top.on { opacity: 1; visibility: visible; transform: rotate(45deg); }
.agb-top:hover { border-color: var(--gold); }
.agb-top span { transform: rotate(-45deg); font-size: 15px; line-height: 1; }
:root[data-theme="light"] .agb-top { background: rgba(242, 237, 227, 0.55); }

/* ---------- Page-transition veil ---------- */
.agb-veil {
  position: fixed;
  inset: 0;
  z-index: 390;
  background: var(--noir);
  transform: translateY(-102%);
  transition: transform 0.5s var(--ease-power);
  pointer-events: none;
}
.agb-veil.on { transform: none; pointer-events: auto; }

/* ---------- Outline numerals on feature cards ---------- */
.features { counter-reset: agbfeat; }
.feature { position: relative; counter-increment: agbfeat; }
.feature::before {
  content: "0" counter(agbfeat);
  position: absolute;
  top: -18px;
  left: 50%;
  translate: -50% 0;
  z-index: -1;
  font-family: var(--serif);
  font-size: clamp(64px, 7vw, 96px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(198, 161, 91, 0.22);
  pointer-events: none;
}
:root[data-theme="light"] .feature::before { -webkit-text-stroke-color: rgba(143, 107, 34, 0.25); }
.section-ivory .feature::before { -webkit-text-stroke-color: rgba(198, 161, 91, 0.25); }

/* Magnetic hero CTA spring */
@media (prefers-reduced-motion: no-preference) {
  .hero .hero-ctas .btn { transition-property: background, color, border-color, transform; }
  .hero .hero-ctas .btn.agb-mag { transition: background 0.4s var(--ease-lux), color 0.4s, border-color 0.4s, transform 0.9s cubic-bezier(0.2, 1.6, 0.3, 1); }
}

/* ---------- Footer credit (Arkesoft) ---------- */
.footer-credit {
  display: block;
  margin-top: 10px;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: rgba(244, 239, 230, 0.4);
}
.footer-credit a {
  color: var(--gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-bottom: 1px solid transparent;
  transition: color 0.3s, border-color 0.3s;
}
.footer-credit a:hover {
  color: var(--gold-light);
  border-bottom-color: var(--gold-deep);
}

/* ---------- Adaptive polish (responsive-engineer pass) ---------- */
.agb-top { bottom: calc(26px + env(safe-area-inset-bottom)); right: calc(26px + env(safe-area-inset-right)); }
@media (pointer: coarse) {
  .segment-card > a::after, .product-photo::after { display: none; } /* no sheen on touch */
}
@media (max-width: 480px) {
  .hero-ctas { width: 100%; }
  .hero-ctas .btn { width: 100%; }
  .display { letter-spacing: 0.14em; text-indent: 0.14em; }
}

/* ---------- Bee cursor companion (replaces the plain ring) ---------- */
.agb-ring { display: none !important; }
.agb-bee {
  position: fixed;
  z-index: 500;
  width: 30px;
  height: auto;
  pointer-events: none;
  translate: -50% -50%;
  opacity: 0;
  transition: opacity 0.35s, width 0.25s var(--ease-lux), filter 0.3s;
  filter: drop-shadow(0 2px 8px rgba(198, 161, 91, 0.45));
  will-change: transform, left, top;
}
.agb-bee.show { opacity: 0.95; }
.agb-bee.hov {
  width: 42px;
  filter: drop-shadow(0 2px 16px rgba(232, 206, 143, 0.85));
}
.agb-pollen {
  position: fixed;
  z-index: 499;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  pointer-events: none;
  translate: -50% -50%;
  background: radial-gradient(circle, #E8CE8F 0%, rgba(198, 161, 91, 0) 70%);
  animation: pollenFade 0.8s ease-out forwards;
}
:root[data-theme="light"] .agb-pollen {
  background: radial-gradient(circle, #8F6B22 0%, rgba(143, 107, 34, 0) 70%);
}
@keyframes pollenFade {
  from { opacity: 0.9; scale: 1; }
  to { opacity: 0; scale: 0.2; margin-top: 16px; }
}

/* ---------- Article / Rehber ---------- */
.article {
  max-width: 760px;
  margin-inline: auto;
  display: grid;
  gap: 22px;
}
.article h2 {
  font-size: clamp(1.35rem, 2.6vw, 1.8rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 18px;
  color: var(--ivory);
}
.article p { color: var(--ivory-dim); }
.article ul { display: grid; gap: 10px; padding-left: 0; }
.article ul li {
  color: var(--ivory-dim);
  padding-left: 22px;
  position: relative;
}
.article ul li::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 9px;
  color: var(--gold);
}
.article a { color: var(--gold); border-bottom: 1px solid var(--gold-deep); }
.article a:hover { color: var(--gold-light); }
.article-meta {
  font-size: 12px;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin-inline: auto; display: grid; gap: 14px; }
.faq details {
  border: 1px solid var(--hairline-soft);
  background: var(--noir-soft);
  border-radius: 6px;
  padding: 0 22px;
  transition: border-color 0.3s;
}
.faq details[open] { border-color: var(--hairline); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  color: var(--ivory);
  position: relative;
  padding-right: 30px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 2px;
  top: 50%;
  translate: 0 -50%;
  color: var(--gold);
  font-size: 20px;
  transition: rotate 0.3s var(--ease-lux);
}
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { color: var(--ivory-dim); padding-bottom: 20px; font-size: 15.5px; }

/* ---------- Blog cards ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(20px, 3vw, 32px);
  max-width: 1000px;
  margin-inline: auto;
}
.blog-card {
  border: 1px solid var(--hairline-soft);
  background: var(--noir-soft);
  border-radius: 8px;
  padding: 30px 28px;
  display: grid;
  gap: 14px;
  align-content: start;
  transition: transform 0.5s var(--ease-lux), border-color 0.3s;
}
.blog-card:hover { transform: translateY(-5px); border-color: var(--hairline); }
.blog-card h2 {
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  line-height: 1.45;
}
.blog-card p { font-size: 14.5px; color: var(--ivory-dim); }
