/* ==========================================================================
   KindCarbon — Design Tokens
   Signature system: the "laminate stack" — layered horizontal bands that
   mirror the product itself (bamboo / reclaimed core / bamboo). Used as
   dividers, hero graphics, and the base shape for every product icon.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Space+Mono:wght@400;700&display=swap');

:root{
  --forest:       #3C4C28;
  --forest-deep:  #232D16;
  --forest-mid:   #56693B;
  --gold:         #C3A966;
  --gold-soft:    #E7DAB6;
  --gold-dim:     #A98F4E;
  --tile:         #9A9C8E;
  --tile-dark:    #6E7063;
  --paper:        #F5F1E8;
  --paper-dim:    #ECE6D6;
  --ink:          #23261C;
  --ink-soft:     #63665A;
  --white:        #FFFDF9;

  --font-display: 'Poppins', sans-serif;
  --font-mono:    'Space Mono', monospace;

  --max: 1240px;
  --gutter: clamp(24px, 5vw, 64px);
}

*{ box-sizing: border-box; margin:0; padding:0; }
html{ scroll-behavior: smooth; }
body{
  font-family: var(--font-display);
  background: var(--paper);
  color: var(--ink);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; }
button{ font-family: inherit; cursor: pointer; }

.wrap{ max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* -------------------------------------------------- typography -------- */
h1,h2,h3,h4{ font-family: var(--font-display); color: var(--forest-deep); line-height: 1.08; letter-spacing: -0.01em; }
h1{ font-weight: 700; font-size: clamp(2.6rem, 5.2vw, 4.6rem); }
h2{ font-weight: 600; font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
h3{ font-weight: 600; font-size: clamp(1.25rem, 2vw, 1.6rem); }
p{ color: var(--ink-soft); }
.lede{ font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--ink-soft); max-width: 46em; }

.eyebrow{
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dim);
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
}
.eyebrow::before{
  content:"";
  width: 22px; height: 1px;
  background: var(--gold-dim);
  display: inline-block;
}
.on-dark .eyebrow{ color: var(--gold); }
.on-dark .eyebrow::before{ background: var(--gold); }

.mono{ font-family: var(--font-mono); }

/* -------------------------------------------------- buttons ----------- */
.btn{
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  font-size: 0.92rem; font-weight: 600;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn-primary{ background: var(--forest-deep); color: var(--white); }
.btn-primary:hover{ background: var(--forest); transform: translateY(-2px); }
.btn-gold{ background: var(--gold); color: var(--forest-deep); }
.btn-gold:hover{ background: var(--gold-dim); transform: translateY(-2px); }
.btn-ghost{ border-color: currentColor; color: var(--forest-deep); }
.btn-ghost:hover{ background: var(--forest-deep); color: var(--white); }
.on-dark .btn-ghost{ color: var(--white); }
.on-dark .btn-ghost:hover{ background: var(--white); color: var(--forest-deep); }

/* -------------------------------------------------- header ------------ */
header.site{
  position: sticky; top:0; z-index: 50;
  background: rgba(245,241,232,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(35,38,28,0.08);
}
.nav{ display:flex; align-items:center; justify-content:space-between; padding: 18px var(--gutter); max-width: var(--max); margin:0 auto; }
.logo{ display:flex; align-items:center; gap:10px; }
.logo-word{ font-weight: 700; font-size: 1.28rem; color: var(--forest-deep); }
.logo-word span{ font-weight: 500; color: var(--gold-dim); }
.k-accent{ color: var(--gold-dim); font-weight: 500; }
.nav-links{ display:flex; gap: 34px; align-items:center; }
.nav-links a{ font-size: 0.93rem; font-weight: 500; color: var(--ink); position:relative; padding: 4px 0; }
.nav-links a::after{
  content:""; position:absolute; left:0; right:0; bottom:-2px; height:2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .2s ease;
}
.nav-links a:hover::after, .nav-links a.active::after{ transform: scaleX(1); }
.nav-cta{ display:flex; align-items:center; gap:18px; }
.nav-toggle{ display:none; background:none; border:none; }

@media (max-width: 860px){
  .nav-links{
    position:fixed; inset: 66px 0 0 0; background: var(--paper);
    flex-direction: column; padding: 32px var(--gutter); gap: 22px;
    transform: translateY(-110%); transition: transform .3s ease;
  }
  .nav-links.open{ transform: translateY(0); }
  .nav-toggle{ display:block; }
  .nav-cta .btn-ghost{ display:none; }
}

/* -------------------------------------------------- laminate signature */
.laminate{
  display:flex; flex-direction:column; gap: 4px;
}
.laminate .band{ height: 10px; border-radius: 1px; }
.laminate .band.bamboo{ background: linear-gradient(90deg, var(--gold-soft), var(--gold)); }
.laminate .band.core{ background: linear-gradient(90deg, var(--tile), var(--tile-dark)); }

.divider-stack{ display:flex; flex-direction:column; gap:3px; width: 100%; margin: 64px 0; }
.divider-stack .band{ height: 6px; }
.divider-stack .band.bamboo{ background: var(--gold); opacity:.55; }
.divider-stack .band.core{ background: var(--forest); opacity:.35; }
.divider-stack .band:nth-child(1){ width: 100%; }
.divider-stack .band:nth-child(2){ width: 92%; }
.divider-stack .band:nth-child(3){ width: 100%; }

/* -------------------------------------------------- hero material art */
.material-hero{
  position: relative; border-radius: 3px; overflow:hidden;
  background: linear-gradient(155deg, var(--gold-soft) 0%, var(--gold) 38%, var(--tile) 39%, var(--tile-dark) 62%, var(--gold) 63%, var(--gold-soft) 100%);
  box-shadow: 0 40px 80px -30px rgba(35,38,28,0.45);
}
.material-hero::before{
  content:"";
  position:absolute; inset:0;
  background-image:
    repeating-linear-gradient(100deg, rgba(255,255,255,0.10) 0px, rgba(255,255,255,0.10) 1px, transparent 1px, transparent 14px),
    repeating-linear-gradient(15deg, rgba(35,38,28,0.06) 0px, rgba(35,38,28,0.06) 1px, transparent 1px, transparent 22px);
  mix-blend-mode: overlay;
}
.material-hero .tag{
  position:absolute; left:20px; bottom:18px;
  font-family: var(--font-mono); font-size:0.66rem; letter-spacing:.1em;
  color: rgba(255,253,249,0.85); background: rgba(35,38,28,0.45);
  padding: 6px 10px; border-radius: 2px; text-transform: uppercase;
  backdrop-filter: blur(3px);
}

/* real product photography — disables the synthetic gradient/texture and
   fills the frame with an actual image */
.material-hero.has-photo{ background: var(--paper-dim); }
.material-hero.has-photo::before{ content:none; }
.material-hero.has-photo img{
  position:absolute; inset:0; width:100%; height:100%;
  object-fit: cover; display:block;
}

/* -------------------------------------------------- sections ---------- */
section{ padding: clamp(56px, 9vw, 120px) 0; }
.on-dark{ background: var(--forest-deep); color: var(--white); }
.on-dark h1, .on-dark h2, .on-dark h3{ color: var(--white); }
.on-dark p{ color: rgba(255,253,249,0.72); }
.on-tile{ background: var(--paper-dim); }

.grid-2{ display:grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items:center; }
.grid-3{ display:grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
@media (max-width: 900px){ .grid-2, .grid-3{ grid-template-columns: 1fr; } }

/* -------------------------------------------------- product cards ----- */
.product-card{
  background: var(--white);
  border: 1px solid rgba(35,38,28,0.08);
  border-radius: 3px;
  overflow: hidden;
  display:flex; flex-direction:column;
  transition: transform .22s ease, box-shadow .22s ease;
}
.product-card:hover{ transform: translateY(-6px); box-shadow: 0 30px 50px -24px rgba(35,38,28,.35); }
.product-card .thumb{ aspect-ratio: 4/3; }
.product-card .body{ padding: 26px 24px 30px; display:flex; flex-direction:column; gap:10px; flex:1; }
.product-card .icon-chip{
  width:46px; height:46px; border-radius: 2px; background: var(--paper-dim);
  display:flex; align-items:center; justify-content:center; margin-bottom: 4px;
}
.product-card .name{ font-weight:700; font-size:1.15rem; color: var(--forest-deep); }
.product-card .kicker{ font-family: var(--font-mono); font-size:0.68rem; letter-spacing:.1em; color:var(--gold-dim); text-transform: uppercase; }
.product-card .desc{ font-size:0.92rem; color: var(--ink-soft); flex:1; }
.product-card .go{ font-family: var(--font-mono); font-size:0.72rem; letter-spacing:.06em; color: var(--forest); font-weight:700; display:flex; align-items:center; gap:6px; margin-top:6px; }
.product-card .go svg{ transition: transform .2s ease; }
.product-card:hover .go svg{ transform: translateX(4px); }

/* -------------------------------------------------- stat / spec table - */
.spec-table{ width:100%; border-collapse: collapse; font-family: var(--font-mono); font-size: 0.85rem; }
.spec-table tr{ border-bottom: 1px solid rgba(35,38,28,0.1); }
.spec-table td{ padding: 14px 4px; }
.spec-table td:first-child{ color: var(--ink-soft); width: 40%; text-transform: uppercase; letter-spacing: .06em; font-size:0.72rem; }
.spec-table td:last-child{ color: var(--forest-deep); font-weight: 700; }

.stat-row{ display:flex; gap: clamp(24px,5vw,64px); flex-wrap:wrap; }
.stat{ min-width: 140px; }
.stat .num{ font-family: var(--font-mono); font-weight:700; font-size: clamp(1.8rem,3vw,2.6rem); color: var(--gold); }
.stat .label{ font-size: 0.8rem; color: rgba(255,253,249,0.65); margin-top:4px; }

/* -------------------------------------------------- footer ------------ */
footer.site{ background: var(--forest-deep); color: rgba(255,253,249,0.7); padding: 70px 0 28px; }
.footer-grid{ display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 56px; }
.footer-grid h4{ color: var(--white); font-size: 0.85rem; letter-spacing: .04em; margin-bottom: 16px; font-weight:600; }
.footer-grid a{ display:block; font-size:0.9rem; color: rgba(255,253,249,0.65); margin-bottom: 10px; transition: color .15s ease; }
.footer-grid a:hover{ color: var(--gold); }
.footer-bottom{ border-top: 1px solid rgba(255,253,249,0.12); padding-top: 24px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; font-size:0.78rem; font-family: var(--font-mono); color: rgba(255,253,249,0.45); }
@media (max-width: 760px){ .footer-grid{ grid-template-columns: 1fr 1fr; } }

/* -------------------------------------------------- misc utilities ---- */
.tag-pill{
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: .06em; text-transform: uppercase;
  border: 1px solid rgba(35,38,28,0.2); padding: 6px 12px; border-radius: 20px; color: var(--ink-soft);
}
.cta-band{ background: var(--gold-soft); border-radius: 4px; padding: clamp(36px,6vw,64px); text-align:center; }
.reveal{ opacity:0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in{ opacity:1; transform: translateY(0); }
