:root{
  --cream:#faf8f4;
  --white:#ffffff;
  --ink:#231f1c;
  --muted:#726b62;
  --ember:#c1440e;
  --ember-2:#e0672c;
  --umber:#2b211b;
  --line:#e7e0d5;
}
*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{font-family:'Inter', sans-serif; background:var(--cream); color:var(--ink); -webkit-font-smoothing:antialiased;}
h1,h2,h3,.serif{font-family:'Lora', serif;}
.mono{font-family:'IBM Plex Mono', monospace;}
a{color:inherit;}
img{max-width:100%; display:block;}

.top-strip{ text-align:center; padding:14px 20px 0; }
.top-strip span{
  display:inline-block; background:var(--white); border:1px solid var(--line);
  border-radius:999px; padding:10px 22px; font-size:14px; font-weight:500;
  color:var(--ink); letter-spacing:0.01em;
}

/* ---------- Header ---------- */
header{
  background:var(--cream); padding:18px 24px 24px;
  display:flex; align-items:center; justify-content:space-between;
  max-width:1280px; margin:0 auto; position:relative;
  transition:padding .25s ease;
}
header.stuck{ padding-top:12px; padding-bottom:12px; }
#hamburger{ background:none; border:none; cursor:pointer; padding:8px; display:flex; flex-direction:column; gap:5px; }
#hamburger span{width:24px; height:2px; background:var(--ink); display:block;}
.brand{ display:flex; align-items:center; gap:4px; text-decoration:none; position:absolute; left:50%; transform:translateX(-50%); }
.brand-text{display:flex; flex-direction:column; line-height:1;}
.brand-text .word{
  font-family:'Lora', serif; font-weight:700; letter-spacing:-0.02em;
  font-size:clamp(30px, 6vw, 42px);
  background:linear-gradient(120deg, #f2a93b 0%, #e0672c 55%, #c1440e 100%);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.brand-text .sub{ font-family:'IBM Plex Mono', monospace; font-size:10px; letter-spacing:0.14em; text-transform:uppercase; color:var(--ember); margin-top:4px; }
#cart-btn{
  display:flex; align-items:center; gap:8px; background:var(--white);
  border:1px solid var(--line); color:var(--ink); padding:9px 16px; border-radius:999px;
  font-family:'IBM Plex Mono', monospace; font-size:13px; cursor:pointer;
  transition:border-color .15s, transform .15s;
}
#cart-btn:hover{ border-color:var(--ember); transform:translateY(-1px); }
#cart-count{background:var(--ember); color:var(--white); font-weight:600; padding:1px 7px; border-radius:10px; font-size:12px; transition:transform .2s;}
#cart-count.bump{ transform:scale(1.35); }

#nav-drawer{
  position:fixed; top:0; left:0; height:100%; width:280px; background:var(--white);
  transform:translateX(-100%); transition:transform .3s ease; z-index:120;
  box-shadow:8px 0 30px rgba(0,0,0,0.1); padding:28px 26px;
}
#nav-drawer.open{transform:translateX(0);}
#nav-drawer h4{font-family:'Lora'; font-size:18px; margin-bottom:22px;}
#nav-drawer ul{list-style:none;}
#nav-drawer li{margin-bottom:16px;}
#nav-drawer a{text-decoration:none; font-size:15px; color:var(--ink); font-weight:500; transition:color .15s;}
#nav-drawer a:hover{color:var(--ember);}
#nav-drawer .close{background:none; border:none; font-size:24px; position:absolute; top:20px; right:20px; cursor:pointer;}

/* ---------- Hero ---------- */
.hero-photo{
  max-width:none; margin:0; padding:0; position:relative; overflow:hidden;
  min-height:clamp(420px,58vw,560px); display:flex; align-items:center; justify-content:center;
}
.hero-photo .hero-bg{ position:absolute; inset:0; background-size:cover; background-position:center; }
.hero-photo .hero-overlay{ position:absolute; inset:0; background:linear-gradient(180deg, rgba(35,31,28,0.30) 0%, rgba(35,31,28,0.78) 100%); }
.hero-photo .hero-inner{ position:relative; z-index:2; max-width:720px; margin:0 auto; padding:60px 24px; text-align:center; }
.hero-photo .eyebrow{ color:var(--ember-2); }
.hero-mark{
  font-family:'Lora', serif; font-weight:700; letter-spacing:-0.02em; line-height:0.9;
  font-size:clamp(64px,14vw,128px);
  background:linear-gradient(120deg, #f2a93b 0%, #e0672c 55%, #c1440e 100%);
  -webkit-background-clip:text; background-clip:text; color:transparent;
  margin-bottom:2px;
}
.hero-sub-mark{ font-family:'IBM Plex Mono', monospace; font-size:12px; letter-spacing:0.18em; text-transform:uppercase; color:rgba(250,248,244,0.85); margin-bottom:28px; }
.hero-photo h1{ color:#fff; }
.hero-photo p{ color:rgba(250,248,244,0.82); }
.hero-photo .btn-ghost{ color:#fff; border-color:rgba(255,255,255,0.4); }
.hero-photo .btn-ghost:hover{ border-color:var(--ember-2); color:var(--ember-2); }
.hero .eyebrow{ font-family:'IBM Plex Mono', monospace; font-size:12px; letter-spacing:0.14em; text-transform:uppercase; color:var(--ember); display:block; margin-bottom:16px; }
.hero h1{ font-size:clamp(30px,5vw,48px); font-weight:600; line-height:1.15; letter-spacing:-0.01em; max-width:780px; margin:0 auto 18px; }
.hero p{color:var(--muted); font-size:16px; max-width:520px; margin:0 auto 30px; line-height:1.6;}
.hero-ctas{display:flex; gap:14px; justify-content:center; flex-wrap:wrap;}
.btn{ font-family:'Inter'; font-weight:600; font-size:14px; padding:14px 26px; border-radius:999px; border:none; cursor:pointer; text-decoration:none; display:inline-flex; align-items:center; gap:8px; transition:transform .15s, box-shadow .15s, opacity .15s; }
.btn-primary{background:var(--ember); color:var(--white);}
.btn-primary:hover{ transform:translateY(-2px); box-shadow:0 10px 24px rgba(193,68,14,0.28); }
.btn-ghost{background:transparent; color:var(--ink); border:1px solid var(--line);}
.btn-ghost:hover{ border-color:var(--ember); color:var(--ember); }

/* ---------- Breadcrumb ---------- */
.breadcrumb{ max-width:1280px; margin:0 auto; padding:18px 24px 0; font-family:'IBM Plex Mono', monospace; font-size:12px; color:var(--muted); }
.breadcrumb a{ text-decoration:none; color:var(--muted); }
.breadcrumb a:hover{ color:var(--ember); }

/* ---------- Sections ---------- */
section{padding:20px 24px 60px;}
.section-inner{max-width:1280px; margin:0 auto;}
.section-title{text-align:center; margin-bottom:36px;}
.section-title .eyebrow{ font-family:'IBM Plex Mono', monospace; font-size:12px; letter-spacing:0.14em; text-transform:uppercase; color:var(--ember); display:block; margin-bottom:10px; }
.section-title h2{font-size:30px; font-weight:600;}
.section-title p{color:var(--muted); font-size:15px; max-width:520px; margin:12px auto 0;}

/* ---------- Scroll reveal ---------- */
.reveal{ opacity:0; transform:translateY(18px); transition:opacity .6s ease, transform .6s ease; }
.reveal.in-view{ opacity:1; transform:translateY(0); }
.reveal-stagger.in-view > *{ transition-delay:calc(var(--i, 0) * 80ms); }

/* ---------- Stats bar ---------- */
.stats-bar{ background:var(--umber); }
.stats-grid{ display:grid; grid-template-columns:repeat(auto-fit, minmax(150px,1fr)); gap:1px; background:rgba(255,255,255,0.08); }
.stat-cell{ background:var(--umber); padding:32px 20px; text-align:center; }
.stat-cell .num{ font-family:'Lora'; font-weight:700; font-size:clamp(28px,4vw,38px); color:var(--ember-2); }
.stat-cell .label{ font-family:'IBM Plex Mono', monospace; font-size:11px; letter-spacing:0.06em; text-transform:uppercase; color:rgba(250,248,244,0.6); margin-top:8px; }

/* ---------- Product grid / cards ---------- */
.card-grid{ display:grid; grid-template-columns:repeat(auto-fit, minmax(300px,1fr)); gap:36px; }
.cat-card{ background:var(--white); border:1px solid var(--line); border-radius:6px; overflow:hidden; display:flex; flex-direction:column; text-align:center; text-decoration:none; color:inherit; transition:box-shadow .25s ease, transform .25s ease; }
.cat-card:hover{ box-shadow:0 18px 40px rgba(43,33,27,0.12); transform:translateY(-4px); }
.cat-visual{ height:220px; position:relative; overflow:hidden; background-size:cover; background-position:center; }
.cat-visual::before{ content:""; position:absolute; inset:0; background-size:cover; background-position:center; background-image:inherit; transform:scale(1); transition:transform .5s ease; }
.cat-card:hover .cat-visual::before{ transform:scale(1.06); }
.cat-visual .shade{ position:absolute; inset:0; background:linear-gradient(180deg, rgba(43,33,27,0.04) 0%, rgba(43,33,27,0.28) 100%); }
.cat-visual .wm{ position:absolute; inset:0; display:flex; align-items:center; justify-content:center; opacity:0.5; }
.cat-visual .wm-inner{ display:flex; align-items:center; gap:8px; }
.cat-visual .wm svg{width:46px; height:46px;}
.cat-visual .wm span{ font-family:'Lora', serif; font-weight:700; font-size:26px; color:#fff; letter-spacing:-0.01em; text-shadow:0 1px 6px rgba(0,0,0,0.25); }
.cat-body{padding:26px 24px 30px;}
.cat-cat{ font-family:'IBM Plex Mono', monospace; font-size:10.5px; color:var(--ember); text-transform:uppercase; letter-spacing:0.1em; margin-bottom:8px; display:block; }
.cat-card h3{font-size:21px; font-weight:600; margin-bottom:12px;}
.rule{width:56px; height:2px; background:var(--ember); margin:0 auto 16px; transition:width .3s ease;}
.cat-card:hover .rule{ width:88px; }
.cat-specs{ font-family:'IBM Plex Mono', monospace; font-size:11.5px; color:var(--muted); display:flex; justify-content:center; gap:12px; flex-wrap:wrap; margin-bottom:18px; }
.cat-footer{display:flex; align-items:center; justify-content:center; gap:14px;}
.add-link{ font-weight:600; font-size:14px; color:var(--ember); text-decoration:none; background:none; border:none; cursor:pointer; font-family:'Inter'; letter-spacing:0.01em; position:relative; z-index:2; }
.add-link:hover{text-decoration:underline;}
.add-link.added{color:#1a7a3c;}
.view-link{ font-weight:600; font-size:14px; color:var(--ink); }

/* ---------- Why / trust ---------- */
.why{background:var(--umber); color:var(--cream);}
.why .section-title h2, .why .section-title .eyebrow{color:var(--cream);}
.why .section-title .eyebrow{color:var(--ember-2);}
.why-grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:1px; background:rgba(255,255,255,0.08);}
.why-card{background:var(--umber); padding:30px 26px; transition:background .25s ease;}
.why-card:hover{ background:#352922; }
.why-card .num{font-family:'IBM Plex Mono'; color:var(--ember-2); font-size:13px; margin-bottom:14px; display:block;}
.why-card h4{font-size:16px; margin-bottom:10px; font-weight:600; font-family:'Lora';}
.why-card p{font-size:13.5px; color:rgba(250,248,244,0.65); line-height:1.6;}

/* ---------- Certifications / compliance strip ---------- */
.compliance{ background:var(--white); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.compliance-grid{ display:flex; flex-wrap:wrap; justify-content:center; gap:36px 56px; align-items:center; padding:14px 0; }
.compliance-item{ display:flex; align-items:center; gap:10px; color:var(--muted); font-family:'IBM Plex Mono', monospace; font-size:12px; letter-spacing:0.03em; }
.compliance-item svg{ width:20px; height:20px; color:var(--ember); flex-shrink:0; }

/* ---------- Testimonials ---------- */
.testimonial-grid{ display:grid; grid-template-columns:repeat(auto-fit, minmax(280px,1fr)); gap:24px; }
.testimonial-card{ background:var(--white); border:1px solid var(--line); border-radius:8px; padding:28px; }
.testimonial-card .quote{ font-family:'Lora'; font-size:16px; line-height:1.6; margin-bottom:18px; }
.testimonial-card .quote::before{ content:"\201C"; color:var(--ember); font-size:28px; line-height:0; vertical-align:-4px; margin-right:2px; }
.testimonial-card .who{ font-size:13px; color:var(--muted); font-weight:600; }
.testimonial-card .who span{ display:block; font-weight:400; font-family:'IBM Plex Mono', monospace; font-size:11px; margin-top:2px; }

/* ---------- Contact ---------- */
.contact-wrap{ background:var(--white); border:1px solid var(--line); border-radius:8px; padding:36px; max-width:640px; margin:0 auto; }
.contact-form textarea{ width:100%; padding:11px 12px; border:1px solid var(--line); border-radius:4px; font-family:'Inter'; font-size:14px; resize:vertical; }
.contact-form textarea:focus{ outline:2px solid var(--ember); outline-offset:-1px; border-color:var(--ember); }
#contact-success{ margin-top:14px; font-size:14px; color:#1a7a3c; font-weight:500; }
@media (max-width:720px){ .contact-wrap{ padding:24px; } }

/* ---------- About page ---------- */
.about-hero{ max-width:900px; margin:0 auto; padding:10px 24px 20px; text-align:center; }
.about-split{ display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center; max-width:1100px; margin:0 auto; }
.about-split img{ border-radius:8px; }
.about-split .copy p{ color:var(--muted); font-size:15px; line-height:1.75; margin-bottom:14px; }
@media (max-width:800px){ .about-split{ grid-template-columns:1fr; } }
.values-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:24px; }
.value-card{ background:var(--white); border:1px solid var(--line); border-radius:8px; padding:26px; transition:transform .25s ease, box-shadow .25s ease; }
.value-card:hover{ transform:translateY(-4px); box-shadow:0 16px 34px rgba(43,33,27,0.1); }
.value-card h4{ font-size:16px; margin-bottom:8px; }
.value-card p{ font-size:13.5px; color:var(--muted); line-height:1.6; }

/* ---------- Product detail page ---------- */
.product-detail{ display:grid; grid-template-columns:1fr 1fr; gap:48px; max-width:1100px; margin:0 auto; align-items:start; }
.product-detail .pd-visual{ position:relative; border-radius:8px; overflow:hidden; height:420px; background-size:cover; background-position:center; }
.product-detail .pd-visual .shade{ position:absolute; inset:0; background:linear-gradient(180deg, rgba(43,33,27,0.02) 0%, rgba(43,33,27,0.32) 100%); }
.product-detail .pd-visual .wm{ position:absolute; inset:0; display:flex; align-items:center; justify-content:center; opacity:0.45; }
.product-detail .pd-visual .wm svg{ width:64px; height:64px; }
.pd-cat{ font-family:'IBM Plex Mono', monospace; font-size:12px; color:var(--ember); text-transform:uppercase; letter-spacing:0.1em; }
.pd-title{ font-size:clamp(26px,4vw,36px); margin:10px 0 18px; }
.pd-desc{ color:var(--muted); font-size:15px; line-height:1.75; margin-bottom:24px; }
.pd-spec-table{ width:100%; border-collapse:collapse; margin-bottom:28px; }
.pd-spec-table tr{ border-bottom:1px solid var(--line); }
.pd-spec-table td{ padding:12px 4px; font-size:14px; }
.pd-spec-table td:first-child{ color:var(--muted); font-family:'IBM Plex Mono', monospace; font-size:12px; text-transform:uppercase; letter-spacing:0.04em; width:40%; }
.pd-actions{ display:flex; gap:12px; flex-wrap:wrap; }
.related-title{ font-size:20px; margin:70px 0 24px; text-align:center; }
@media (max-width:800px){ .product-detail{ grid-template-columns:1fr; } .product-detail .pd-visual{ height:280px; } }

/* ---------- Footer ---------- */
footer{background:var(--white); border-top:1px solid var(--line); padding:46px 24px 30px;}
.footer-inner{max-width:1280px; margin:0 auto; display:flex; justify-content:space-between; flex-wrap:wrap; gap:24px; font-size:13px; color:var(--muted);}
.footer-inner .word{font-family:'Lora'; font-weight:700; font-size:18px; color:var(--umber); margin-bottom:10px;}
.footer-inner h5{font-size:13px; font-weight:600; color:var(--ink); margin-bottom:10px;}
.footer-inner a{ text-decoration:none; }
.footer-inner ul{ list-style:none; }
.footer-inner li{ margin-bottom:6px; }
.footer-inner li a:hover{ color:var(--ember); }

/* ---------- Cart drawer ---------- */
#overlay{position:fixed; inset:0; background:rgba(35,31,28,0.5); opacity:0; pointer-events:none; transition:opacity .25s; z-index:90;}
#overlay.open{opacity:1; pointer-events:all;}
#cart-drawer{
  position:fixed; top:0; right:0; height:100%; width:420px; max-width:92vw; background:var(--cream);
  z-index:100; transform:translateX(100%); transition:transform .3s cubic-bezier(.4,0,.2,1);
  display:flex; flex-direction:column; box-shadow:-8px 0 30px rgba(0,0,0,0.15);
}
#cart-drawer.open{transform:translateX(0);}
.cart-header{padding:22px 24px; border-bottom:1px solid var(--line); display:flex; justify-content:space-between; align-items:center; background:var(--white);}
.cart-header h3{font-family:'Lora'; font-size:18px; font-weight:600;}
.cart-header button{background:none; border:none; font-size:22px; cursor:pointer; color:var(--muted); line-height:1;}
#cart-items{flex:1; overflow-y:auto; padding:10px 24px;}
.cart-line{display:flex; gap:14px; padding:16px 0; border-bottom:1px solid var(--line); align-items:center; animation:fadeSlideIn .3s ease;}
@keyframes fadeSlideIn{ from{opacity:0; transform:translateX(8px);} to{opacity:1; transform:translateX(0);} }
.cart-line .swatch{width:52px; height:52px; border-radius:4px; background-size:cover; background-position:center; flex-shrink:0;}
.cart-line .info{flex:1;}
.cart-line .info h5{font-size:14px; font-weight:600; margin-bottom:4px;}
.cart-line .info .mono{font-size:12px; color:var(--muted);}
.qty-control{display:flex; align-items:center; gap:8px; margin-top:6px;}
.qty-control button{width:22px; height:22px; border:1px solid var(--line); background:var(--white); cursor:pointer; font-size:13px; border-radius:4px; line-height:1;}
.qty-control span{font-family:'IBM Plex Mono'; font-size:13px; min-width:16px; text-align:center;}
.remove-line{font-size:11px; color:var(--muted); text-decoration:underline; cursor:pointer; background:none; border:none; margin-top:6px; font-family:'Inter';}
#cart-empty{padding:60px 10px; text-align:center; color:var(--muted); font-size:14px;}
.cart-footer{padding:22px 24px; border-top:1px solid var(--line); background:var(--white);}
.btn-full{width:100%; justify-content:center;}

/* ---------- Checkout modal ---------- */
#checkout-overlay{
  position:fixed; inset:0; background:rgba(35,31,28,0.6); z-index:110; display:none;
  align-items:flex-start; justify-content:center; overflow-y:auto; padding:60px 20px;
}
#checkout-overlay.open{display:flex;}
.checkout-box{background:var(--cream); width:560px; max-width:100%; border-radius:8px; overflow:hidden; animation:popIn .25s ease;}
@keyframes popIn{ from{opacity:0; transform:translateY(10px) scale(.98);} to{opacity:1; transform:translateY(0) scale(1);} }
.checkout-head{background:var(--umber); color:var(--cream); padding:26px 30px; display:flex; justify-content:space-between; align-items:center;}
.checkout-head h3{font-family:'Lora'; font-size:19px; font-weight:600;}
.checkout-head button{background:none; border:none; color:var(--cream); font-size:22px; cursor:pointer;}
.checkout-steps{display:flex; font-family:'IBM Plex Mono'; font-size:11px; background:var(--umber); padding:0 30px 18px; gap:18px; color:rgba(250,248,244,0.4);}
.checkout-steps .step.active{color:var(--ember-2);}
.checkout-body{padding:28px 30px;}
.form-row{display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-bottom:14px;}
.form-row.full{grid-template-columns:1fr;}
label{font-size:12px; font-weight:600; color:var(--muted); display:block; margin-bottom:6px; text-transform:uppercase; letter-spacing:0.04em;}
input, select{width:100%; padding:11px 12px; border:1px solid var(--line); border-radius:4px; font-family:'Inter'; font-size:14px; background:#fff;}
input:focus, select:focus{outline:2px solid var(--ember); outline-offset:-1px; border-color:var(--ember);}
#order-confirm{text-align:center; padding:20px 0;}
#order-confirm .check{width:56px; height:56px; border-radius:50%; background:var(--ember); color:var(--white); display:flex; align-items:center; justify-content:center; font-size:26px; margin:0 auto 20px; animation:popIn .3s ease;}
#order-confirm h4{font-family:'Lora'; font-size:20px; margin-bottom:10px;}
#order-confirm p{color:var(--muted); font-size:14px; margin-bottom:6px;}

@media (max-width:720px){
  .form-row{grid-template-columns:1fr;}
  .brand{position:static; transform:none; margin:0 auto;}
  header{flex-wrap:wrap; justify-content:center; gap:14px;}
  #cart-btn{position:absolute; right:20px; top:22px;}
  #hamburger{position:absolute; left:20px; top:22px;}
}
:focus-visible{outline:2px solid var(--ember); outline-offset:2px;}
@media (prefers-reduced-motion: reduce){ *{transition:none !important; scroll-behavior:auto !important; animation:none !important;} }
