/* ============================================================
   TOKENS
   ============================================================ */
:root{
  --ink:        #15171A;
  --ink-soft:   #2A2D31;
  --paper:      #F7F6F3;
  --paper-dim:  #EFEDE8;
  --steel:      #6B7178;
  --amber:      #C97C3D;
  --amber-deep: #A8602A;
  --line:       rgba(21,23,26,0.10);
  --line-dark:  rgba(247,246,243,0.14);

  --font-display: 'Archivo', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'Space Mono', monospace;

  --max: 1200px;
  --radius: 2px;
}

*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  *{animation-duration:0.001ms !important; transition-duration:0.001ms !important;}
}

body{
  font-family:var(--font-body);
  background:var(--paper);
  color:var(--ink);
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
}

a{color:inherit;text-decoration:none;}
ul{list-style:none;}
img{max-width:100%;display:block;}
button{font-family:inherit;cursor:pointer;border:none;background:none;}

.eyebrow{
  font-family:var(--font-mono);
  font-size:0.72rem;
  letter-spacing:0.12em;
  text-transform:uppercase;
  color:var(--amber-deep);
  margin-bottom:14px;
  display:block;
}

h1,h2,h3{
  font-family:var(--font-display);
  font-weight:800;
  letter-spacing:-0.01em;
  line-height:1.08;
}

:focus-visible{
  outline:2px solid var(--amber);
  outline-offset:3px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:14px 28px;
  font-family:var(--font-body);
  font-weight:600;
  font-size:0.95rem;
  border-radius:var(--radius);
  transition:transform 0.15s ease, background 0.2s ease, color 0.2s ease;
}
.btn-primary{
  background:var(--ink);
  color:var(--paper);
}
.btn-primary:hover{
  background:var(--amber-deep);
  transform:translateY(-1px);
}
.btn-ghost{
  color:var(--ink);
  border-bottom:1px solid var(--ink);
  padding:14px 4px;
}
.btn-ghost:hover{ color:var(--amber-deep); border-color:var(--amber-deep); }

/* ============================================================
   NAV
   ============================================================ */
.nav{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(247,246,243,0.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.nav-inner{
  max-width:var(--max);
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:18px 32px;
}
.nav-logo{
  font-family:var(--font-display);
  font-weight:900;
  font-size:1.15rem;
  letter-spacing:0.01em;
}
.nav-logo span{ color:var(--amber-deep); }
.nav-links{
  display:flex;
  gap:32px;
  font-size:0.92rem;
  font-weight:500;
}
.nav-links a{ opacity:0.78; transition:opacity 0.15s; }
.nav-links a:hover{ opacity:1; }
.nav-cta{
  font-size:0.88rem;
  font-weight:600;
  background:var(--ink);
  color:var(--paper);
  padding:10px 20px;
  border-radius:var(--radius);
  transition:background 0.2s;
}
.nav-cta:hover{ background:var(--amber-deep); }
.nav-toggle{
  display:none;
  flex-direction:column;
  gap:5px;
  width:24px;
}
.nav-toggle span{
  display:block;
  height:2px;
  background:var(--ink);
  width:100%;
}

/* ============================================================
   HERO
   ============================================================ */
.hero{
  padding:100px 32px 0;
  max-width:var(--max);
  margin:0 auto;
}
.hero-inner{
  max-width:680px;
  padding-bottom:64px;
}
.hero-title{
  font-size:clamp(2.6rem, 6vw, 4.6rem);
  margin-bottom:28px;
}
.hero-title em{
  font-style:normal;
  color:var(--amber-deep);
}
.hero-sub{
  font-size:1.1rem;
  color:var(--steel);
  max-width:520px;
  margin-bottom:36px;
}
.hero-actions{
  display:flex;
  align-items:center;
  gap:28px;
  flex-wrap:wrap;
}

/* Signature spec strip */
.spec-strip{
  display:flex;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  overflow-x:auto;
}
.spec-item{
  flex:1 0 auto;
  min-width:160px;
  padding:22px 28px;
  border-right:1px solid var(--line);
  display:flex;
  flex-direction:column;
  gap:6px;
}
.spec-item:last-child{ border-right:none; }
.spec-val{
  font-family:var(--font-mono);
  font-size:1.4rem;
  font-weight:500;
  color:var(--ink);
}
.spec-label{
  font-size:0.76rem;
  color:var(--steel);
  text-transform:uppercase;
  letter-spacing:0.04em;
}

/* ============================================================
   SECTION HEAD (shared)
   ============================================================ */
.section-head{
  max-width:var(--max);
  margin:0 auto;
  padding:0 32px;
  text-align:left;
}
.section-head h2{
  font-size:clamp(1.8rem, 3.4vw, 2.6rem);
  max-width:640px;
}

/* ============================================================
   PRODUCTS
   ============================================================ */
.products{
  padding:120px 0 100px;
}
.product-grid{
  max-width:var(--max);
  margin:48px auto 0;
  padding:0 32px;
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:1px;
  background:var(--line);
  border:1px solid var(--line);
}
.product-card{
  background:var(--paper);
  padding:36px;
  display:flex;
  flex-direction:column;
  transition:background 0.25s ease;
}
.product-card:hover{ background:#fff; }

.product-visual{
  height:280px;
  border-radius:var(--radius);
  margin-bottom:24px;
  position:relative;
  overflow:hidden;
}

/* Real uploaded product photo (used when image path isn't a grad-N placeholder) */
.product-visual-photo{
  background:var(--paper-dim);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:16px;
}
.product-visual-photo img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}
.grad-1{ background:linear-gradient(135deg,#2A2D31 0%, #C97C3D 140%); }
.grad-2{ background:linear-gradient(135deg,#15171A 0%, #6B7178 100%, #C97C3D 160%); }
.grad-3{ background:linear-gradient(135deg,#A8602A 0%, #15171A 120%); }
.grad-4{ background:linear-gradient(135deg,#6B7178 0%, #2A2D31 100%); }
.grad-5{ background:linear-gradient(135deg,#15171A 0%, #A8602A 100%, #6B7178 170%); }
.grad-6{ background:linear-gradient(135deg,#3A3D42 0%, #C97C3D 80%, #2A2D31 150%); }
.grad-7{ background:linear-gradient(135deg,#6B7178 0%, #A8602A 130%); }
.grad-8{ background:linear-gradient(135deg,#2A2D31 0%, #6B7178 90%, #C97C3D 180%); }
.grad-9{ background:linear-gradient(135deg,#15171A 0%, #C97C3D 60%, #A8602A 140%); }
.grad-10{ background:linear-gradient(135deg,#A8602A 0%, #6B7178 110%, #15171A 170%); }

.product-visual::after{
  content:attr(data-tag);
  position:absolute;
  top:14px; left:14px;
  font-family:var(--font-mono);
  font-size:0.68rem;
  letter-spacing:0.06em;
  color:rgba(247,246,243,0.85);
  text-transform:uppercase;
  background:rgba(21,23,26,0.35);
  padding:5px 10px;
  border-radius:2px;
}

.product-top{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  margin-bottom:4px;
}
.product-card h3{
  font-size:1.3rem;
}
.product-price{
  font-family:var(--font-mono);
  font-size:1.05rem;
  white-space:nowrap;
}
.product-price .old{
  color:var(--steel);
  text-decoration:line-through;
  font-size:0.85rem;
  margin-right:6px;
}
.product-tagline{
  color:var(--steel);
  font-size:0.92rem;
  margin-bottom:18px;
}
.product-specs{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  margin-bottom:20px;
}
.product-specs div{
  padding:10px 0;
  border-right:1px solid var(--line);
  text-align:center;
}
.product-specs div:last-child{ border-right:none; }
.product-specs strong{
  display:block;
  font-family:var(--font-mono);
  font-size:0.95rem;
}
.product-specs span{
  font-size:0.68rem;
  color:var(--steel);
  text-transform:uppercase;
  letter-spacing:0.03em;
}
.product-desc{
  font-size:0.92rem;
  color:var(--steel);
  margin-bottom:24px;
  flex:1;
}
.product-foot{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
}
.flavor-tag{
  font-size:0.8rem;
  color:var(--steel);
  font-family:var(--font-mono);
}
.add-btn{
  background:var(--ink);
  color:var(--paper);
  padding:11px 22px;
  font-size:0.88rem;
  font-weight:600;
  border-radius:var(--radius);
  transition:background 0.2s, transform 0.15s;
}
.add-btn:hover{ background:var(--amber-deep); transform:translateY(-1px); }
.add-btn.added{ background:#3D5A40; }

/* ============================================================
   PANEL SECTION (signature)
   ============================================================ */
.panel-section{
  background:var(--ink);
  color:var(--paper);
  display:grid;
  grid-template-columns:1.1fr 0.9fr;
  align-items:stretch;
}
.panel-text{
  padding:100px 60px;
  max-width:560px;
}
.panel-section .eyebrow{ color:var(--amber); }
.panel-text h2{
  color:var(--paper);
  font-size:clamp(1.8rem,3vw,2.4rem);
  margin-bottom:24px;
}
.panel-text > p{
  color:rgba(247,246,243,0.7);
  font-size:1rem;
  margin-bottom:36px;
}
.panel-points li{
  display:flex;
  gap:18px;
  padding:18px 0;
  border-top:1px solid var(--line-dark);
  font-size:0.95rem;
  color:rgba(247,246,243,0.88);
}
.panel-points li:last-child{ border-bottom:1px solid var(--line-dark); }
.panel-points span{
  font-family:var(--font-mono);
  color:var(--amber);
  font-size:0.85rem;
  flex-shrink:0;
}

.panel-visual{
  position:relative;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(247,246,243,0.05) 0px,
      rgba(247,246,243,0.05) 1px,
      transparent 1px,
      transparent 40px
    ), var(--ink-soft);
  min-height:420px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:48px;
}
.panel-visual-label{
  font-family:var(--font-mono);
  font-size:0.7rem;
  letter-spacing:0.1em;
  text-transform:uppercase;
  color:var(--amber);
  margin-bottom:28px;
}
.panel-visual-row{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  padding:16px 0;
  border-top:1px solid var(--line-dark);
  font-family:var(--font-mono);
  color:rgba(247,246,243,0.85);
  font-size:0.95rem;
}
.panel-visual-row:last-child{
  border-bottom:1px solid var(--line-dark);
  color:var(--amber);
}
.panel-visual-row span:first-child{
  color:rgba(247,246,243,0.55);
  text-transform:uppercase;
  font-size:0.78rem;
  letter-spacing:0.04em;
}

/* ============================================================
   TRUST
   ============================================================ */
.trust{
  padding:110px 0;
}
.trust-grid{
  max-width:var(--max);
  margin:48px auto 0;
  padding:0 32px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1px;
  background:var(--line);
  border:1px solid var(--line);
}
.trust-card{
  background:var(--paper);
  padding:40px 32px;
}
.trust-mark{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:32px;height:32px;
  border:1px solid var(--ink);
  border-radius:50%;
  font-size:0.85rem;
  margin-bottom:24px;
}
.trust-card h3{
  font-size:1.15rem;
  margin-bottom:12px;
}
.trust-card p{
  color:var(--steel);
  font-size:0.92rem;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq{
  padding:0 0 120px;
}
.faq-list{
  max-width:840px;
  margin:48px auto 0;
  padding:0 32px;
}
.faq-item{
  border-top:1px solid var(--line);
}
.faq-list .faq-item:last-child{ border-bottom:1px solid var(--line); }
.faq-q{
  width:100%;
  text-align:left;
  padding:24px 4px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-family:var(--font-display);
  font-weight:700;
  font-size:1.02rem;
}
.faq-q .plus{
  font-family:var(--font-mono);
  font-size:1.2rem;
  color:var(--amber-deep);
  transition:transform 0.2s ease;
  flex-shrink:0;
  margin-left:16px;
}
.faq-item.open .faq-q .plus{ transform:rotate(45deg); }
.faq-a{
  max-height:0;
  overflow:hidden;
  transition:max-height 0.25s ease;
}
.faq-a p{
  padding:0 4px 24px;
  color:var(--steel);
  font-size:0.95rem;
  max-width:680px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer{
  background:var(--ink);
  color:rgba(247,246,243,0.85);
  padding:80px 32px 32px;
}
.footer-top{
  max-width:var(--max);
  margin:0 auto;
  display:grid;
  grid-template-columns:1.6fr 1fr 1fr;
  gap:48px;
  padding-bottom:56px;
  border-bottom:1px solid var(--line-dark);
}
.footer-brand .nav-logo{ color:var(--paper); }
.footer-brand p{
  margin-top:14px;
  color:rgba(247,246,243,0.55);
  font-size:0.9rem;
  max-width:280px;
}
.footer-col h4{
  font-family:var(--font-mono);
  font-size:0.75rem;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:rgba(247,246,243,0.5);
  margin-bottom:18px;
}
.footer-col a{
  display:block;
  padding:6px 0;
  font-size:0.92rem;
  color:rgba(247,246,243,0.82);
  transition:color 0.15s;
}
.footer-col a:hover{ color:var(--amber); }
.footer-bottom{
  max-width:var(--max);
  margin:0 auto;
  display:flex;
  justify-content:space-between;
  padding-top:24px;
  font-size:0.8rem;
  color:rgba(247,246,243,0.4);
  font-family:var(--font-mono);
}

/* ============================================================
   CART
   ============================================================ */
.cart-fab{
  position:fixed;
  bottom:28px; right:28px;
  width:58px; height:58px;
  background:var(--ink);
  color:var(--paper);
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 8px 24px rgba(21,23,26,0.25);
  z-index:90;
  transition:transform 0.15s;
}
.cart-fab:hover{ transform:scale(1.06); }
.cart-fab svg{ width:22px; height:22px; }
.cart-count{
  position:absolute;
  top:-4px; right:-4px;
  background:var(--amber-deep);
  color:var(--paper);
  font-size:0.68rem;
  font-family:var(--font-mono);
  width:20px;height:20px;
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
}
.cart-overlay{
  position:fixed; inset:0;
  background:rgba(21,23,26,0.4);
  z-index:98;
  opacity:0;
  pointer-events:none;
  transition:opacity 0.25s;
}
.cart-overlay.open{ opacity:1; pointer-events:auto; }
.cart-drawer{
  position:fixed;
  top:0; right:0;
  height:100%;
  width:min(420px, 92vw);
  background:var(--paper);
  z-index:99;
  display:flex;
  flex-direction:column;
  transform:translateX(100%);
  transition:transform 0.3s ease;
  box-shadow:-12px 0 32px rgba(0,0,0,0.12);
}
.cart-drawer.open{ transform:translateX(0); }
.cart-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:24px 24px 20px;
  border-bottom:1px solid var(--line);
}
.cart-head h3{ font-size:1.1rem; }
.cart-head button{ font-size:1.6rem; line-height:1; color:var(--steel); }
.cart-items{
  flex:1;
  overflow-y:auto;
  padding:12px 24px;
}
.cart-empty{
  color:var(--steel);
  font-size:0.9rem;
  padding:40px 0;
  text-align:center;
}
.cart-line{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding:16px 0;
  border-bottom:1px solid var(--line);
}
.cart-line-name{ font-size:0.92rem; font-weight:600; }
.cart-line-meta{ font-size:0.8rem; color:var(--steel); }
.cart-line-price{ font-family:var(--font-mono); font-size:0.9rem; white-space:nowrap; }
.cart-line-remove{ color:var(--steel); font-size:0.78rem; text-decoration:underline; margin-top:4px; }
.cart-foot{
  padding:20px 24px 28px;
  border-top:1px solid var(--line);
}
.cart-total{
  display:flex;
  justify-content:space-between;
  font-family:var(--font-mono);
  font-size:1.1rem;
  margin-bottom:16px;
}
.cart-checkout{ width:100%; justify-content:center; margin-bottom:10px; }
.cart-note{ font-size:0.76rem; color:var(--steel); text-align:center; }

/* ============================================================
   CHECKOUT MODAL
   ============================================================ */
.checkout-overlay{
  position:fixed; inset:0;
  background:rgba(21,23,26,0.55);
  z-index:198;
  opacity:0;
  pointer-events:none;
  transition:opacity 0.25s;
}
.checkout-overlay.open{ opacity:1; pointer-events:auto; }

.checkout-modal{
  position:fixed;
  top:50%; left:50%;
  transform:translate(-50%, -48%) scale(0.97);
  width:min(560px, 92vw);
  max-height:88vh;
  overflow-y:auto;
  background:var(--paper);
  border-radius:6px;
  z-index:199;
  opacity:0;
  pointer-events:none;
  transition:opacity 0.22s ease, transform 0.22s ease;
  box-shadow:0 24px 64px rgba(0,0,0,0.25);
}
.checkout-modal.open{
  opacity:1;
  pointer-events:auto;
  transform:translate(-50%, -50%) scale(1);
}

.checkout-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:24px 28px 16px;
  border-bottom:1px solid var(--line);
  position:sticky;
  top:0;
  background:var(--paper);
}
.checkout-head h3{ font-size:1.2rem; }
.checkout-head button{ font-size:1.7rem; line-height:1; color:var(--steel); }

.checkout-form{ padding:24px 28px 32px; }

.checkout-order-summary{
  background:var(--paper-dim);
  border-radius:4px;
  padding:16px 18px;
  margin-bottom:24px;
  font-size:0.88rem;
}
.checkout-order-summary .order-line{
  display:flex;
  justify-content:space-between;
  padding:6px 0;
  color:var(--ink-soft);
}
.checkout-order-summary .order-total{
  display:flex;
  justify-content:space-between;
  margin-top:10px;
  padding-top:10px;
  border-top:1px solid var(--line);
  font-family:var(--font-mono);
  font-weight:600;
}

.form-group{ margin-bottom:18px; }
.form-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}
.form-group label{
  display:block;
  font-size:0.82rem;
  font-weight:600;
  margin-bottom:6px;
  color:var(--ink-soft);
}
.form-group input,
.form-group textarea{
  width:100%;
  padding:12px 14px;
  border:1px solid var(--line);
  border-radius:4px;
  font-family:var(--font-body);
  font-size:0.95rem;
  background:#fff;
  color:var(--ink);
  resize:vertical;
}
.form-group input:focus,
.form-group textarea:focus{
  outline:none;
  border-color:var(--amber-deep);
}

.checkout-submit{
  width:100%;
  justify-content:center;
  margin-top:8px;
}
.checkout-submit:disabled{
  opacity:0.6;
  cursor:not-allowed;
}
.checkout-note{
  font-size:0.78rem;
  color:var(--steel);
  text-align:center;
  margin-top:12px;
}
.checkout-error{
  font-size:0.84rem;
  color:#B0413E;
  margin-top:10px;
  text-align:center;
}

.checkout-success{
  display:none;
  flex-direction:column;
  align-items:center;
  text-align:center;
  padding:56px 32px 48px;
}
.checkout-success.open{ display:flex; }
.success-mark{
  width:56px; height:56px;
  border-radius:50%;
  background:#3D5A40;
  color:#fff;
  font-size:1.6rem;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:20px;
}
.checkout-success h3{ margin-bottom:12px; }
.checkout-success p{
  color:var(--steel);
  font-size:0.95rem;
  max-width:380px;
  margin-bottom:28px;
}

@media (max-width: 560px){
  .form-row{ grid-template-columns:1fr; gap:0; }
  .checkout-form{ padding:20px 20px 28px; }
  .checkout-head{ padding:20px 20px 14px; }
}
@media (max-width: 900px){
  .nav-links{ display:none; }
  .nav-toggle{ display:flex; }
  .panel-section{ grid-template-columns:1fr; }
  .panel-text{ padding:72px 28px 48px; }
  .panel-visual{ min-height:280px; }
  .trust-grid{ grid-template-columns:1fr; }
  .product-grid{ grid-template-columns:1fr; }
  .footer-top{ grid-template-columns:1fr; gap:32px; }
}

@media (max-width: 560px){
  .nav-inner{ padding:14px 20px; }
  .nav-cta{ display:none; }
  .hero{ padding:60px 20px 0; }
  .hero-title{ font-size:2.2rem; }
  .section-head{ padding:0 20px; }
  .product-grid, .trust-grid{ padding:0 20px; }
  .product-specs{ grid-template-columns:repeat(2,1fr); }
  .product-specs div:nth-child(2){ border-right:none; }
  .footer{ padding:60px 20px 24px; }
  .footer-bottom{ flex-direction:column; gap:8px; }
}
