/* =========================================================
   COVPU — Global Green Textile & Apparel Trade Platform
   Design System · International luxury brand aesthetic
   ========================================================= */

:root {
  /* Palette */
  --ink:       #0a1f1a;   /* deep green-black */
  --green:     #0e3b2e;   /* primary deep emerald */
  --emerald:   #1b5e4a;   /* mid emerald */
  --sage:      #3f7d63;   /* lighter green */
  --gold:      #c6a15b;   /* refined bronze gold */
  --gold-soft: #e3c98f;
  --ivory:     #f5f1e8;   /* warm off-white */
  --mist:      #e9ede6;   /* pale green-grey */
  --ink-soft:  #34443d;   /* muted body text */
  --line:      rgba(14, 59, 46, 0.12);

  /* Type */
  --serif: "Cormorant Garamond", "Noto Serif SC", "Songti SC", "STSong", serif;
  --sans:  "Inter", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;

  /* Rhythm */
  --maxw: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-pad: clamp(84px, 11vw, 150px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

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

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

/* ---------- Typography ---------- */
h1, h2, h3, .serif {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.display {
  font-size: clamp(2.6rem, 6.4vw, 5.4rem);
  font-weight: 500;
}

h2.section-title {
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 500;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}

.lede {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 60ch;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.95rem 2.1rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.45s var(--ease);
  border: 1px solid transparent;
}

.btn .arrow { transition: transform 0.4s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }

.btn-solid {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}
.btn-solid:hover { background: var(--gold-soft); box-shadow: 0 10px 30px rgba(198,161,91,0.35); }

.btn-ghost {
  background: transparent;
  color: var(--ivory);
  border-color: rgba(245,241,232,0.45);
}
.btn-ghost:hover { background: rgba(245,241,232,0.1); border-color: var(--ivory); }

.btn-dark {
  background: var(--ink);
  color: var(--ivory);
  border-color: var(--ink);
}
.btn-dark:hover { background: var(--green); }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: var(--section-pad) 0; }

.hairline {
  width: 56px;
  height: 1px;
  background: var(--gold);
  margin: 1.4rem 0;
}

/* ---------- Navigation ---------- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: all 0.5s var(--ease);
  color: var(--ivory);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  transition: height 0.5s var(--ease);
}

.site-nav.scrolled {
  background: rgba(10, 31, 26, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(245,241,232,0.08);
}
.site-nav.scrolled .nav-inner { height: 68px; }

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand .wordmark {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.22em;
}
.brand .tagline {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.65;
  margin-top: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.4rem, 3vw, 2.6rem);
}
.nav-links a {
  position: relative;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  opacity: 0.85;
  transition: opacity 0.3s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.35s var(--ease);
}
.nav-links a:hover, .nav-links a.active { opacity: 1; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 26px; height: 2px;
  background: var(--ivory);
  transition: all 0.35s var(--ease);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: var(--ivory);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media video,
.hero-media .hero-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-fallback {
  background:
    radial-gradient(120% 120% at 20% 10%, #1b5e4a 0%, transparent 55%),
    radial-gradient(120% 120% at 85% 90%, #0e3b2e 0%, transparent 60%),
    linear-gradient(160deg, #0a1f1a 0%, #0e3b2e 55%, #123026 100%);
  animation: drift 22s ease-in-out infinite alternate;
}
@keyframes drift {
  0%   { filter: hue-rotate(0deg) brightness(1); }
  100% { filter: hue-rotate(-12deg) brightness(1.08); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(10,31,26,0.72) 0%, rgba(10,31,26,0.35) 45%, rgba(10,31,26,0.82) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 140px 0 120px;
}

.hero .eyebrow { margin-bottom: 2rem; }

.hero h1 { margin-bottom: 1.6rem; }
.hero h1 .accent { color: var(--gold-soft); font-style: italic; }

.hero .lede {
  color: rgba(245,241,232,0.82);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  margin-bottom: 2.8rem;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(245,241,232,0.7);
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.scroll-cue .line {
  width: 1px; height: 46px;
  background: linear-gradient(var(--gold), transparent);
  animation: cue 2s var(--ease) infinite;
}
@keyframes cue {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.01% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding: 210px 0 110px;
  color: var(--ivory);
  overflow: hidden;
  background: var(--ink);
}
.page-hero .hero-media { opacity: 0.5; }
.page-hero .hero-overlay { background: linear-gradient(180deg, rgba(10,31,26,0.82), rgba(10,31,26,0.9)); }
.page-hero h1 { margin-bottom: 1.2rem; }
.page-hero .lede { color: rgba(245,241,232,0.78); }

.breadcrumb {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
}

/* ---------- Stats strip ---------- */
.stats {
  border-bottom: 1px solid var(--line);
  background: var(--ivory);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: clamp(2rem, 4vw, 3.2rem) var(--gutter);
  border-left: 1px solid var(--line);
  text-align: center;
}
.stat:first-child { border-left: none; }
.stat .num {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 500;
  color: var(--green);
  line-height: 1;
}
.stat .num .unit { font-size: 0.5em; color: var(--gold); }
.stat .label {
  margin-top: 0.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2.5vw, 2rem);
}

.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: clamp(2.2rem, 4vw, 3.2rem);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
  overflow: hidden;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(10,31,26,0.1);
  border-color: rgba(198,161,91,0.4);
}

.card .card-icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--mist);
  color: var(--green);
  margin-bottom: 1.6rem;
}
.card .card-icon svg { width: 26px; height: 26px; }

.card h3 {
  font-size: 1.45rem;
  margin-bottom: 0.9rem;
}
.card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-bottom: 1.6rem;
}

.card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
}
.card .card-link .arrow { transition: transform 0.4s var(--ease); }
.card:hover .card-link .arrow { transform: translateX(5px); }

.card .card-topline {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}
.card:hover .card-topline { transform: scaleX(1); }

/* ---------- Split / feature section ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.split .eyebrow { margin-bottom: 1.2rem; }
.split h2 { margin-bottom: 1.4rem; }
.split p { color: var(--ink-soft); margin-bottom: 1.2rem; }

.split-media {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--green);
}
.split-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.split:hover .split-media img { transform: scale(1.05); }
.split-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(14,59,46,0.15), transparent 60%);
}

/* ---------- List rows (numbered) ---------- */
.num-list { counter-reset: item; }
.num-item {
  counter-increment: item;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.6rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.num-item:first-child { border-top: 1px solid var(--line); }
.num-item .idx {
  font-family: var(--serif);
  font-size: 1.9rem;
  color: var(--gold);
  line-height: 1;
  min-width: 2.2rem;
}
.num-item h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.num-item p { color: var(--ink-soft); font-size: 0.96rem; }

/* ---------- Ticks / bullet list ---------- */
.tick-list li {
  position: relative;
  padding: 0.85rem 0 0.85rem 2.1rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}
.tick-list li:last-child { border-bottom: none; }
.tick-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 1.3rem;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(198,161,91,0.18);
}
.tick-list strong { color: var(--ink); font-weight: 600; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background: var(--green);
  color: var(--ivory);
  overflow: hidden;
}
.cta-band .cta-inner {
  position: relative;
  z-index: 1;
  padding: clamp(4rem, 8vw, 7rem) var(--gutter);
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.cta-band h2 { margin-bottom: 1.2rem; }
.cta-band p { color: rgba(245,241,232,0.78); margin-bottom: 2.2rem; }
.cta-band .hairline { margin: 1.4rem auto; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(245,241,232,0.8);
  padding: clamp(3.5rem, 7vw, 6rem) 0 2.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(245,241,232,0.1);
}
.footer-brand .wordmark {
  font-family: var(--serif);
  font-size: 1.6rem;
  letter-spacing: 0.22em;
  color: var(--ivory);
}
.footer-brand p {
  margin-top: 1.2rem;
  font-size: 0.9rem;
  color: rgba(245,241,232,0.55);
  max-width: 34ch;
}
.footer-col h4 {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
}
.footer-col a {
  display: block;
  padding: 0.4rem 0;
  font-size: 0.9rem;
  color: rgba(245,241,232,0.7);
  transition: color 0.3s, transform 0.3s;
}
.footer-col a:hover { color: var(--gold-soft); transform: translateX(3px); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  font-size: 0.78rem;
  color: rgba(245,241,232,0.4);
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in-view { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.12s; }
.reveal[data-delay="2"] { transition-delay: 0.24s; }
.reveal[data-delay="3"] { transition-delay: 0.36s; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(10,31,26,0.97);
    flex-direction: column;
    justify-content: center;
    gap: 2.4rem;
    transform: translateX(100%);
    transition: transform 0.5s var(--ease);
    font-size: 1.2rem;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-toggle { display: flex; z-index: 101; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }

  .card-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* ============ Logo ============ */
.brand__logo { height: 42px; width: auto; }
.site-footer .brand__logo { height: 38px; }

/* ============ Contact form ============ */
.form-wrap { max-width: 680px; margin: 0 auto; }
.field { margin-bottom: 1.8rem; }
.field label { display: block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; margin-bottom: 0.5rem; color: var(--ink); }
.field label em { color: var(--gold); font-style: normal; }
.field input, .field textarea {
  width: 100%; background: transparent; border: none; border-bottom: 1px solid var(--line);
  padding: 0.6rem 0; font-family: var(--sans); font-size: 1rem; color: var(--ink);
  transition: border-color 0.3s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field textarea { resize: vertical; min-height: 88px; }

/* ============ Products ============ */
.product-search { max-width: 420px; margin: 0 auto 3rem; display: flex; align-items: center; border-bottom: 1px solid var(--line); }
.product-search input { flex: 1; background: none; border: none; padding: 0.7rem 0; font-family: var(--sans); font-size: 1rem; color: var(--ink); }
.product-search input:focus { outline: none; }
.product-search button { background: none; border: none; color: var(--green); cursor: pointer; padding: 0 0.5rem; }
.product-search svg { width: 20px; height: 20px; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2.5vw, 2rem); }
.pcard { background: #fff; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease); }
.pcard:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(10,31,26,0.1); }
.pcard__media { aspect-ratio: 4/3; overflow: hidden; background: var(--mist); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.06); }
.pcard__body { padding: 1.3rem 1.5rem 1.5rem; }
.pcard__brand { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.pcard__body h3 { font-size: 1.25rem; margin: 0.4rem 0 0.7rem; }
.pcard__action { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; color: var(--green); }

/* ============ Enterprise dashboard ============ */
.dash { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: clamp(1.6rem, 3vw, 2.6rem); }
.dash-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-bottom: 1px solid var(--line); padding-bottom: 1rem; margin-bottom: 1.6rem; flex-wrap: wrap; }
.dash-head h2 { font-size: 1.3rem; }
.dash-badge { background: var(--mist); color: var(--green); padding: 0.3rem 0.9rem; border-radius: 999px; font-size: 0.78rem; font-weight: 600; }
.dash-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 2rem; font-size: 0.95rem; color: var(--ink-soft); }
.dash-grid p { margin: 0; }
.dash-grid strong { color: var(--ink); }
.dash-grid .full { grid-column: 1 / -1; background: var(--ivory); padding: 0.9rem 1rem; border-radius: 6px; }

.prod-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.4rem; margin-top: 1.6rem; }
.prod-item { border: 1px solid var(--line); border-radius: 6px; padding: 1.3rem; }
.prod-item h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.prod-item .meta { font-size: 0.86rem; color: var(--ink-soft); margin: 0.3rem 0; }
.prod-item .tags { display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 0.8rem 0; }
.prod-item .tags span { border: 1px solid var(--line); color: var(--ink-soft); font-size: 0.72rem; padding: 0.15rem 0.55rem; border-radius: 4px; }
.prod-item .tags span.green { border-color: var(--green); color: var(--green); }
.prod-foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px dashed var(--line); padding-top: 0.8rem; margin-top: 1rem; }
.prod-foot .price { color: #b0473a; font-weight: 700; }
.prod-foot a { font-size: 0.82rem; color: var(--green); font-weight: 600; }

/* ============ Empty state (news) ============ */
.empty-state { text-align: center; padding: 3.5rem 1rem; }
.empty-state .icon { width: 68px; height: 68px; margin: 0 auto 1.4rem; color: var(--gold); }
.empty-state h2 { margin-bottom: 0.6rem; }
.empty-state p { color: var(--ink-soft); }

/* ============ Product detail ============ */
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.gallery { position: relative; }
.gallery__badge { position: absolute; top: 1rem; left: 1rem; z-index: 2; background: var(--green); color: #fff; font-size: 0.74rem; padding: 0.3rem 0.8rem; border-radius: 999px; letter-spacing: 0.06em; }
.gallery__frame { aspect-ratio: 1/1; border-radius: 4px; overflow: hidden; background: var(--mist); }
.gallery__frame img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: flex; gap: 0.6rem; margin-top: 0.8rem; overflow-x: auto; }
.gallery__thumbs button { width: 64px; height: 64px; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; padding: 0; cursor: pointer; background: var(--mist); opacity: 0.6; transition: opacity 0.3s, border-color 0.3s; }
.gallery__thumbs button.is-active { opacity: 1; border-color: var(--gold); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }

.detail-summary .eyebrow { margin-bottom: 1rem; }
.detail-summary h1 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 1rem; }
.price-card { background: var(--ivory); border-radius: 6px; padding: 1.2rem 1.4rem; margin: 1.4rem 0; }
.price-card .label { font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }
.price-card .value { font-family: var(--serif); font-size: 2rem; color: #b0473a; line-height: 1; margin: 0.3rem 0; }
.price-card .value span { font-size: 0.5em; }
.price-card .hint { font-size: 0.82rem; color: var(--ink-soft); margin: 0; }
.opt-block { margin: 1.6rem 0; }
.opt-block h2 { font-size: 1rem; margin-bottom: 0.8rem; }
.opt-list { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.opt-list button { border: 1px solid var(--line); background: #fff; border-radius: 6px; padding: 0.6rem 1rem; cursor: pointer; font-family: var(--sans); font-size: 0.88rem; text-align: left; color: var(--ink); transition: border-color 0.3s; }
.opt-list button small { display: block; color: var(--ink-soft); font-size: 0.74rem; margin-top: 0.2rem; }
.opt-list button.is-active { border-color: var(--green); color: var(--green); }
.feature-strip { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.2rem 0; }
.feature-strip span { background: var(--mist); color: var(--green); font-size: 0.78rem; padding: 0.3rem 0.7rem; border-radius: 999px; }

.detail-panels { margin-top: 3rem; display: grid; gap: 1.4rem; }
.detail-panel { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 1.6rem 1.8rem; }
.detail-panel h2 { font-size: 1.15rem; margin-bottom: 1rem; }
.detail-panel ul { padding-left: 1.2rem; list-style: disc; }
.detail-panel li { margin: 0.5rem 0; color: var(--ink-soft); font-size: 0.95rem; }

@media (max-width: 960px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-grid { grid-template-columns: 1fr; }
  .dash-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .product-grid { grid-template-columns: 1fr; }
}

/* ============ Forest scrollytelling hero ============ */
.forest-hero {
  position: relative;
  height: 220vh;
}
.forest-scene {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  background: #0d1a14;
}
.forest-layer {
  position: absolute;
  top: -12%;
  left: -12%;
  right: -12%;
  bottom: -12%;
  will-change: transform, opacity, filter;
}
.forest-bg {
  background: url('../assets/forest-hero.jpg') center/cover no-repeat;
}
.forest-mist {
  background: url('../assets/forest-mist.jpg') center/cover no-repeat;
  opacity: 0;
}
.forest-light {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(90% 60% at 50% 12%, rgba(255, 224, 160, 0.42), transparent 60%);
  mix-blend-mode: screen;
  pointer-events: none;
}
.forest-vignette {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(130% 120% at 50% 45%, transparent 42%, rgba(7, 18, 13, 0.62) 100%);
  opacity: 0.35;
  pointer-events: none;
}
.forest-top {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 34%;
  background: linear-gradient(180deg, rgba(6, 16, 12, 0.62) 0%, rgba(6, 16, 12, 0) 100%);
  pointer-events: none;
}
.forest-particles {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
}
.fp {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 234, 180, 0.9);
  box-shadow: 0 0 10px rgba(255, 222, 150, 0.85);
  opacity: 0;
  animation-name: fp-float;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  will-change: transform, opacity;
}
@keyframes fp-float {
  0%   { transform: translate(0, 0) scale(1); opacity: 0; }
  12%  { opacity: 0.85; }
  50%  { transform: translate(26px, -70px) scale(1.2); opacity: 0.65; }
  88%  { opacity: 0.85; }
  100% { transform: translate(-18px, -140px) scale(0.85); opacity: 0; }
}

.forest-content {
  position: relative;
  z-index: 6;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--ivory);
  padding: 0 24px;
  will-change: transform, opacity;
}
.forest-content h1,
.forest-content .lede {
  text-shadow: 0 4px 30px rgba(6, 16, 12, 0.55), 0 1px 3px rgba(6, 16, 12, 0.5);
}
.forest-content .eyebrow { color: #e9cb8d; }
.forest-content .lede { color: rgba(255, 252, 244, 0.92); }
.forest-hero .scroll-cue { position: absolute; z-index: 6; }
