:root{
    --ink:#15130f;
    --ink-soft:#1c1914;
    --steel:#252119;
    --steel-2:#2e291f;
    --brass:#c9a227;
    --brass-bright:#e8c158;
    --walnut:#9a6a3a;
    --bone:#ede7d8;
    --bone-dim:#b6ad99;
    --line: rgba(237,231,216,0.12);
    --r-card: 6px;
    --shadow-soft: 0 18px 40px -20px rgba(0,0,0,0.55);
    --ease: cubic-bezier(.2,.7,.2,1);
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --f-body: 'Work Sans', system-ui, sans-serif;
    --f-mono: 'JetBrains Mono', monospace;
  }

  *{box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  body{
    margin:0;
    background:var(--ink);
    color:var(--bone);
    font-family:'Work Sans', system-ui, sans-serif;
    font-size:16px;
    line-height:1.5;
    -webkit-font-smoothing:antialiased;
  }
  img,svg{display:block;max-width:100%;}
  a{color:inherit;text-decoration:none;}
  ul{margin:0;padding:0;list-style:none;}
  h1,h2,h3,h4{margin:0;font-family:'Big Shoulders Display', sans-serif;font-weight:800;letter-spacing:0.01em;line-height:0.98;text-transform:uppercase;}
  p{margin:0;}
  button{font-family:inherit;cursor:pointer;}
  .mono{font-family:'JetBrains Mono', monospace;}

  :focus-visible{outline:2px solid var(--brass-bright); outline-offset:3px; border-radius:3px;}

  .wrap{max-width:1120px;margin:0 auto;padding:0 24px;}
  .eyebrow{
    font-family:'JetBrains Mono', monospace;
    font-size:12px;
    letter-spacing:0.14em;
    text-transform:uppercase;
    color:var(--brass);
  }

  /* ---------- header ---------- */
  header.site{
    position:sticky; top:0; z-index:50;
    background:rgba(21,19,15,0.86);
    backdrop-filter:blur(10px);
    border-bottom:1px solid var(--line);
  }
  .nav{
    display:flex; align-items:center; justify-content:space-between;
    height:74px;
  }
  .brand{display:flex; align-items:center; gap:12px;}
  .brand-mark{
    width:42px;height:42px;border-radius:50%;
    background:radial-gradient(circle at 30% 25%, #2c2719, var(--ink) 70%);
    border:1.5px solid var(--brass);
    display:flex;align-items:center;justify-content:center;
    font-family:'Big Shoulders Display';font-weight:900;font-size:15px;color:var(--brass-bright);
    flex-shrink:0;
  }
  .brand-name{font-family:'Big Shoulders Display';font-weight:800;font-size:19px;letter-spacing:0.02em;text-transform:uppercase;}
  .brand-name span{color:var(--brass);}
  nav.links{display:flex; gap:32px; align-items:center;}
  nav.links a{font-size:14px;font-weight:500;color:var(--bone-dim);transition:color .2s var(--ease);}
  nav.links a:hover{color:var(--bone);}
  .cta-btn{
    display:inline-flex;align-items:center;gap:8px;
    background:var(--brass); color:var(--ink); font-weight:700; font-size:14px;
    padding:11px 20px; border-radius:3px; border:none;
    transition:transform .2s var(--ease), background .2s var(--ease);
    white-space:nowrap;
  }
  .cta-btn:hover{background:var(--brass-bright); transform:translateY(-2px);}
  .cta-btn.ghost{background:transparent;color:var(--bone);border:1.5px solid var(--line);}
  .cta-btn.ghost:hover{border-color:var(--brass); color:var(--brass-bright); background:transparent;}
  .nav-toggle{display:none; background:none;border:none;color:var(--bone);font-size:26px;}

  @media (max-width:760px){
    nav.links{
      position:fixed; inset:74px 0 0 0; background:var(--ink);
      flex-direction:column; padding:32px 24px; gap:22px; align-items:flex-start;
      transform:translateX(100%); transition:transform .3s var(--ease);
      border-top:1px solid var(--line);
    }
    nav.links.open{transform:translateX(0);}
    nav.links a{font-size:18px;}
    .nav-toggle{display:block;}
    .nav .cta-btn.header-cta{display:none;}
  }

  /* ---------- hero ---------- */
  .hero{position:relative; overflow:hidden; padding:88px 0 64px; border-bottom:1px solid var(--line);}
  .hero::before{
    content:""; position:absolute; inset:0;
    pointer-events:none;
  }
  .hero-grid{display:grid; grid-template-columns:1.1fr 0.9fr; gap:56px; align-items:center; position:relative;}
  @media (max-width:900px){.hero-grid{grid-template-columns:1fr; gap:40px;}}

  .hero h1{font-size:clamp(40px,6.4vw,72px); margin-top:14px;}
  .hero h1 .gold{color:var(--brass-bright);}
  .hero p.lede{
    margin-top:22px; max-width:480px; color:var(--bone-dim); font-size:17px; line-height:1.6;
  }
  .hero-ctas{display:flex; gap:14px; margin-top:32px; flex-wrap:wrap;}

  .rail{position:relative; height:300px;}
  .rail svg{width:100%;height:100%;}
  @media (prefers-reduced-motion: no-preference){
    .hanger{animation:swing var(--dur) ease-in-out infinite; transform-origin:50% 0%;}
  }
  @keyframes swing{
    0%,100%{transform:rotate(var(--from));}
    50%{transform:rotate(var(--to));}
  }

  .trust-strip{border-bottom:1px solid var(--line); background:var(--ink-soft);}
  .trust-row{
    display:flex; flex-wrap:wrap; gap:28px; justify-content:space-between;
    padding:20px 0; font-family:'JetBrains Mono', monospace; font-size:12.5px;
    color:var(--bone-dim); letter-spacing:0.02em;
  }
  .trust-row b{color:var(--brass-bright); font-weight:600;}

  /* ---------- section heading ---------- */
  .section{padding:88px 0;}
  .section.tight{padding:64px 0;}
  .head{max-width:620px; margin-bottom:48px;}
  .head h2{font-size:clamp(30px,4.4vw,44px); margin-top:12px;}
  .head p{margin-top:16px; color:var(--bone-dim); font-size:16px; line-height:1.65;}

  /* ---------- product tag cards ---------- */
  .tag-grid{
    display:grid; grid-template-columns:repeat(auto-fit, minmax(230px,1fr)); gap:34px 26px;
  }
  .tag-card{
    position:relative;
    background:linear-gradient(160deg, var(--steel-2), var(--steel));
    border:1px solid var(--line);
    border-radius:3px 16px 3px 3px;
    padding:30px 22px 24px;
    transform:rotate(var(--rot,0deg));
    transition:transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
    box-shadow:var(--shadow-soft);
  }
  .tag-card:hover, .tag-card:focus-within{
    transform:rotate(0deg) translateY(-6px);
    border-color:rgba(201,162,39,0.5);
  }
  .tag-card:nth-child(1){--rot:-1.4deg;}
  .tag-card:nth-child(2){--rot:1.1deg;}
  .tag-card:nth-child(3){--rot:-0.8deg;}
  .tag-card:nth-child(4){--rot:1.6deg;}
  .tag-card:nth-child(5){--rot:-1.1deg;}
  .tag-card:nth-child(6){--rot:0.9deg;}

  .tag-hole{
    position:absolute; top:14px; left:22px;
    width:12px;height:12px;border-radius:50%;
    background:var(--ink);
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.7), 0 1px 0 rgba(237,231,216,0.06);
  }
  .tag-hole::before{
    content:""; position:absolute; left:50%; top:-13px; width:1px; height:14px;
    background:var(--line); transform:translateX(-50%) rotate(8deg);
  }
  .tag-icon{
    width:46px;height:46px; margin:6px 0 18px 0; color:var(--brass-bright);
  }
  .tag-card h3{font-size:21px; letter-spacing:0.01em;}
  .tag-card p{margin-top:10px; font-size:14.5px; color:var(--bone-dim); line-height:1.55;}
  .tag-spec{
    margin-top:16px; padding-top:14px; border-top:1px dashed var(--line);
    font-family:'JetBrains Mono', monospace; font-size:11.5px; color:var(--brass);
    letter-spacing:0.04em; text-transform:uppercase;
  }

  /* ---------- why us ---------- */
  .why-grid{display:grid; grid-template-columns:repeat(auto-fit, minmax(220px,1fr)); gap:2px; background:var(--line); border:1px solid var(--line); border-radius:4px; overflow:hidden;}
  .why-card{background:var(--ink-soft); padding:30px 26px;}
  .why-card .mark{color:var(--brass); font-size:22px; font-weight:800; font-family:'Big Shoulders Display';}
  .why-card p{margin-top:14px; font-size:15.5px; color:var(--bone); font-weight:500; line-height:1.5;}

  /* ---------- AI order assistant ---------- */
  .assistant{
    background:var(--steel); border:1px solid var(--line); border-radius:6px;
    padding:clamp(24px,4vw,44px); display:grid; grid-template-columns:1fr 1fr; gap:40px;
  }
  @media (max-width:840px){.assistant{grid-template-columns:1fr;}}
  .assistant-form .field{margin-bottom:18px;}
  .assistant-form label{display:block; font-size:12.5px; text-transform:uppercase; letter-spacing:0.08em; color:var(--bone-dim); margin-bottom:8px; font-family:'JetBrains Mono', monospace;}
  .assistant-form select, .assistant-form input, .assistant-form textarea{
    width:100%; background:var(--ink); border:1px solid var(--line); color:var(--bone);
    padding:12px 14px; border-radius:3px; font-size:15px; font-family:inherit; resize:vertical;
  }
  .assistant-form select:focus, .assistant-form input:focus, .assistant-form textarea:focus{border-color:var(--brass);}
  .assistant-form textarea{min-height:96px;}
  .gen-btn{
    width:100%; background:var(--brass); color:var(--ink); border:none; font-weight:700;
    padding:13px 18px; border-radius:3px; font-size:15px; display:flex; align-items:center; justify-content:center; gap:10px;
    transition:background .2s var(--ease);
  }
  .gen-btn:hover{background:var(--brass-bright);}
  .gen-btn:disabled{opacity:0.6; cursor:not-allowed;}

  .draft-panel{
    background:var(--ink); border:1px solid var(--line); border-radius:4px; padding:22px;
    display:flex; flex-direction:column; min-height:280px;
  }
  .draft-panel .ph{color:var(--bone-dim); font-size:14.5px; margin:auto; text-align:center; max-width:260px;}
  .draft-text{
    white-space:pre-wrap; font-size:14.5px; line-height:1.6; color:var(--bone); flex:1;
    font-family:'Work Sans', sans-serif;
  }
  .draft-actions{display:flex; gap:10px; margin-top:18px;}
  .draft-actions button, .draft-actions a{
    flex:1; text-align:center; padding:10px 12px; border-radius:3px; font-size:13.5px; font-weight:600;
    border:1.5px solid var(--line); background:transparent; color:var(--bone);
    transition:border-color .2s, color .2s;
  }
  .draft-actions button:hover, .draft-actions a:hover{border-color:var(--brass); color:var(--brass-bright);}
  .dots{display:flex; gap:5px; margin:auto;}
  .dots span{width:8px;height:8px;border-radius:50%; background:var(--brass); animation:pulse 1.1s infinite ease-in-out;}
  .dots span:nth-child(2){animation-delay:.15s;} .dots span:nth-child(3){animation-delay:.3s;}
  @keyframes pulse{0%,80%,100%{opacity:0.25; transform:scale(0.85);} 40%{opacity:1; transform:scale(1);}}

  /* ---------- contact ---------- */
  .contact-grid{display:grid; grid-template-columns:1.1fr 0.9fr; gap:48px;}
  @media (max-width:840px){.contact-grid{grid-template-columns:1fr;}}
  .contact-list{display:flex; flex-direction:column; gap:14px; margin-top:8px;}
  .contact-row{
    display:flex; align-items:center; gap:14px; padding:16px 18px; background:var(--steel);
    border:1px solid var(--line); border-radius:4px; font-size:15px;
  }
  .contact-row .ic{width:20px;height:20px; color:var(--brass); flex-shrink:0;}
  .contact-row a{font-weight:600;}
  .contact-row a:hover{color:var(--brass-bright);}
  .note-card{
    background:var(--ink-soft); border:1px dashed var(--line); border-radius:4px; padding:22px;
    font-size:14px; color:var(--bone-dim); line-height:1.6;
  }
  .note-card b{color:var(--bone);}

  /* ---------- footer ---------- */
  footer{border-top:1px solid var(--line); padding:40px 0; }
  .foot-row{display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px;}
  .foot-row .brand-name{font-size:16px;}
  footer p{color:var(--bone-dim); font-size:13px;}

  /* ---------- reveal ---------- */
  .reveal{opacity:0; transform:translateY(18px); transition:opacity .6s var(--ease), transform .6s var(--ease);}
  .reveal.show{opacity:1; transform:translateY(0);}
  @media (prefers-reduced-motion: reduce){
    .reveal{opacity:1; transform:none; transition:none;}
    .hanger{animation:none;}
  }

  /* ---------- chat widget ---------- */
  .chat-bubble{
    position:fixed; bottom:24px; right:24px; z-index:80;
    background:var(--brass); color:var(--ink); border:none; border-radius:32px;
    padding:14px 20px 14px 16px; display:flex; align-items:center; gap:10px;
    font-weight:700; font-size:14.5px; box-shadow:0 14px 30px -10px rgba(0,0,0,0.6);
    transition:transform .25s var(--ease), background .2s;
  }
  .chat-bubble:hover{transform:translateY(-3px); background:var(--brass-bright);}
  .chat-bubble svg{width:20px;height:20px;}

  .chat-panel{
    position:fixed; bottom:24px; right:24px; z-index:90;
    width:min(380px, calc(100vw - 32px)); height:min(560px, calc(100vh - 48px));
    background:var(--ink-soft); border:1px solid var(--line); border-radius:10px;
    box-shadow:0 30px 70px -20px rgba(0,0,0,0.7);
    display:flex; flex-direction:column; overflow:hidden;
    transform:translateY(16px) scale(0.97); opacity:0; pointer-events:none;
    transition:transform .25s var(--ease), opacity .25s var(--ease);
  }
  .chat-panel.open{transform:translateY(0) scale(1); opacity:1; pointer-events:auto;}
  .chat-head{
    background:var(--steel); padding:16px 18px; display:flex; align-items:center; justify-content:space-between;
    border-bottom:1px solid var(--line);
  }
  .chat-head-info{display:flex; align-items:center; gap:10px;}
  .chat-head-info .dot{width:8px;height:8px;border-radius:50%;background:#5fc987; box-shadow:0 0 0 3px rgba(95,201,135,0.18);}
  .chat-head-title{font-weight:700; font-size:14.5px;}
  .chat-head-sub{font-size:11.5px; color:var(--bone-dim); font-family:'JetBrains Mono', monospace;}
  .chat-close{background:none; border:none; color:var(--bone-dim); font-size:20px; line-height:1;}
  .chat-close:hover{color:var(--bone);}

  .chat-body{flex:1; overflow-y:auto; padding:16px; display:flex; flex-direction:column; gap:12px;}
  .msg{max-width:86%; padding:10px 13px; border-radius:10px; font-size:14px; line-height:1.5;}
  .msg.bot{background:var(--steel); align-self:flex-start; border:1px solid var(--line);}
  .msg.user{background:var(--brass); color:var(--ink); align-self:flex-end; font-weight:500;}
  .msg.typing{display:flex; gap:5px; padding:14px 16px;}
  .msg.typing span{width:6px;height:6px;border-radius:50%;background:var(--bone-dim); animation:pulse 1.1s infinite ease-in-out;}
  .msg.typing span:nth-child(2){animation-delay:.15s;} .msg.typing span:nth-child(3){animation-delay:.3s;}

  .chat-foot{border-top:1px solid var(--line); padding:12px; display:flex; gap:8px;}
  .chat-foot input{
    flex:1; background:var(--ink); border:1px solid var(--line); color:var(--bone);
    padding:10px 13px; border-radius:20px; font-size:14px; font-family:inherit;
  }
  .chat-foot input:focus{border-color:var(--brass);}
  .chat-foot button{
    background:var(--brass); border:none; color:var(--ink); width:38px;height:38px; border-radius:50%;
    display:flex; align-items:center; justify-content:center; flex-shrink:0;
  }
  .chat-foot button:hover{background:var(--brass-bright);}
  .chat-foot button:disabled{opacity:0.5; cursor:not-allowed;}

/* ================= FAQ ACCORDION ================= */
.faq-section { padding-bottom: 80px; }
.faq-list {
  max-width: 800px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background: var(--steel);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.faq-item summary {
  padding: 20px;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--bone);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
.faq-item summary::after {
  content: '+';
  color: var(--gold);
  font-size: 1.5rem;
  font-family: 'JetBrains Mono', monospace;
  transition: transform 0.3s ease;
}
.faq-item[open] summary::after {
  content: '−';
}
.faq-content {
  padding: 0 20px 20px;
  color: var(--text-muted);
  line-height: 1.6;
}
