:root{
  --paper:#F7F3EC;
  --paper-2:#EFE8DA;
  --ink:#161C24;
  --navy:#1B2A41;
  --steel:#5B6472;
  --accent:#D6572A;
  --brass:#9C7A3C;
  --line:#DED5C2;
  --white:#FFFFFF;
}
*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  background:var(--paper);
  color:var(--ink);
  font-family:'IBM Plex Sans', sans-serif;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
h1,h2,h3{
  font-family:'Fraunces', serif;
  font-weight:600;
  line-height:1.08;
  letter-spacing:-0.01em;
  color:var(--navy);
}
.mono{font-family:'IBM Plex Mono', monospace;}
a{color:inherit; text-decoration:none;}
img,svg{display:block; max-width:100%;}
.wrap{max-width:1180px; margin:0 auto; padding:0 32px;}
::selection{background:var(--accent); color:var(--white);}
:focus-visible{outline:2px solid var(--accent); outline-offset:3px;}

/* ---------- NAV ---------- */
header{
  position:sticky; top:0; z-index:50;
  background:rgba(247,243,236,0.9);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line);
}
nav.wrap{display:flex; align-items:center; justify-content:space-between; height:76px;}
.brand{display:flex; align-items:center; gap:10px; font-family:'Fraunces'; font-weight:600; font-size:19px; color:var(--navy);}
.navlinks{display:flex; gap:32px; font-size:14.5px; font-weight:500; color:var(--steel);}
.navlinks a{transition:color .2s;}
.navlinks a:hover{color:var(--navy);}
.nav-cta{
  background:var(--navy); color:var(--paper); font-weight:600; font-size:14px;
  padding:10px 20px; border-radius:3px; transition:transform .18s ease;
}
.nav-cta:hover{transform:translateY(-2px);}
@media (max-width:860px){ .navlinks{display:none;} }

/* ---------- HERO ---------- */
.hero{padding:88px 0 56px;}
.hero-grid{display:grid; grid-template-columns:1.05fr 0.95fr; gap:48px; align-items:center;}
.eyebrow{
  font-family:'IBM Plex Mono'; font-size:12px; letter-spacing:0.12em; text-transform:uppercase;
  color:var(--accent); margin-bottom:18px; display:flex; align-items:center; gap:10px;
}
.eyebrow::before{content:""; width:20px; height:2px; background:var(--accent); display:inline-block;}
.eyebrow.small{margin-bottom:10px;}
.hero h1{font-size:clamp(38px,5vw,60px); color:var(--navy);}
.hero p.lead{margin-top:20px; font-size:17px; color:var(--steel); max-width:46ch; line-height:1.65;}
.hero-ctas{display:flex; gap:14px; margin-top:30px; flex-wrap:wrap;}
.btn{
  font-family:'IBM Plex Sans'; font-weight:600; font-size:14.5px; padding:14px 24px;
  border-radius:3px; display:inline-block; transition:transform .18s ease, background .18s ease;
}
.btn-primary{background:var(--accent); color:var(--white);}
.btn-primary:hover{transform:translateY(-2px);}
.btn-ghost{border:1px solid var(--line); color:var(--navy);}
.btn-ghost:hover{border-color:var(--steel); transform:translateY(-2px);}

.chip-row{display:flex; gap:10px; margin-top:34px; flex-wrap:wrap;}
.chip{
  font-family:'IBM Plex Mono'; font-size:11.5px; letter-spacing:0.03em; color:var(--steel);
  border:1px solid var(--line); border-radius:20px; padding:7px 14px; background:var(--paper-2);
}

.hero-art{aspect-ratio:480/420;}
#mover{ offset-path:path('M60 340 C 140 340, 150 200, 230 190 S 360 90, 420 70'); animation:ship 6s linear infinite; }
@keyframes ship{ 0%{offset-distance:0%;} 100%{offset-distance:100%;} }
@media (prefers-reduced-motion: reduce){ #mover{animation:none; offset-distance:35%;} }

/* ---------- TRUST RAIL ---------- */
.trust-rail{
  display:grid; grid-template-columns:repeat(4,1fr); gap:1px;
  background:var(--line); border:1px solid var(--line); border-radius:6px; overflow:hidden;
  margin-bottom:8px;
}
.trust-item{
  background:var(--paper-2); padding:20px 22px; display:flex; align-items:center; gap:12px;
  font-size:13.5px; color:var(--navy); font-weight:500;
}
@media (max-width:900px){ .trust-rail{grid-template-columns:1fr 1fr;} }
@media (max-width:560px){ .trust-rail{grid-template-columns:1fr;} }

/* ---------- SECTIONS ---------- */
section{padding:92px 0;}
.sec-head{display:flex; justify-content:space-between; align-items:flex-end; gap:24px; margin-bottom:48px; flex-wrap:wrap;}
.sec-head h2{font-size:clamp(28px,3.2vw,40px);}
.sec-head p{color:var(--steel); max-width:36ch; font-size:15px; line-height:1.6;}

/* ---------- INVENTORY CARDS ---------- */
.cards{display:grid; grid-template-columns:repeat(4,1fr); gap:20px;}
.card{
  background:var(--white); border:1px solid var(--line); border-radius:6px; padding:30px 26px;
  transition:transform .22s ease, box-shadow .22s ease;
}
.card:hover{transform:translateY(-5px); box-shadow:0 14px 30px -18px rgba(27,42,65,0.35);}
.card-icon{height:60px; display:flex; align-items:center; margin-bottom:18px;}
.card h3{font-size:20px; margin-bottom:8px;}
.card p{color:var(--steel); font-size:14px; line-height:1.55; margin-bottom:16px;}
.card .cta{
  font-size:13px; font-weight:600; color:var(--accent); display:inline-flex; align-items:center; gap:6px;
}
.card .cta::after{content:"→"; transition:transform .2s;}
.card:hover .cta::after{transform:translateX(4px);}
@media (max-width:960px){ .cards{grid-template-columns:1fr 1fr;} }
@media (max-width:560px){ .cards{grid-template-columns:1fr;} }

/* ---------- INVENTORY CONTROLS ---------- */
.inventory-controls{
  display:flex; justify-content:space-between; align-items:center; gap:20px;
  margin-bottom:28px; flex-wrap:wrap;
}
.filter-bar{display:flex; gap:8px; flex-wrap:wrap;}
.filter-pill{
  font-family:'IBM Plex Sans'; font-size:13px; font-weight:500; color:var(--steel);
  background:var(--white); border:1px solid var(--line); border-radius:20px; padding:8px 16px;
  cursor:pointer; transition:all .18s ease;
}
.filter-pill:hover{border-color:var(--steel); color:var(--navy);}
.filter-pill.active{background:var(--navy); border-color:var(--navy); color:var(--paper);}
.sort-select{
  display:flex; align-items:center; gap:8px; font-size:13px; color:var(--steel); font-weight:500;
}
.sort-select select{
  font-family:'IBM Plex Sans'; font-size:13.5px; color:var(--navy); background:var(--white);
  border:1px solid var(--line); border-radius:4px; padding:8px 12px; cursor:pointer;
}

/* ---------- LISTINGS ---------- */
.listings{display:grid; grid-template-columns:repeat(4,1fr); gap:20px;}
.listing-card{
  position:relative; background:var(--white); border:1px solid var(--line); border-radius:8px;
  overflow:hidden; transition:transform .22s ease, box-shadow .22s ease;
  display:flex; flex-direction:column;
}
.listing-card.hidden{display:none;}
.listing-card:hover{transform:translateY(-5px); box-shadow:0 16px 32px -20px rgba(27,42,65,0.4);}
.wishlist{
  position:absolute; top:14px; right:14px; z-index:2; width:34px; height:34px; border-radius:50%;
  background:rgba(255,255,255,0.85); border:1px solid var(--line); color:var(--steel);
  display:flex; align-items:center; justify-content:center; cursor:pointer; transition:color .18s ease, border-color .18s ease;
}
.wishlist:hover{color:var(--accent); border-color:var(--accent);}
.wishlist.active{color:var(--accent); border-color:var(--accent);}
.wishlist.active svg{fill:var(--accent);}
.listing-art{background:var(--paper-2); padding:22px 20px 14px; border-bottom:1px solid var(--line);}
.listing-body{padding:20px 22px 24px; display:flex; flex-direction:column; gap:12px; flex:1;}
.brand-badge{
  font-family:'IBM Plex Mono'; font-size:10.5px; letter-spacing:0.1em; text-transform:uppercase;
  color:var(--brass); border-bottom:1px solid var(--line); padding-bottom:10px;
}
.listing-body h3{font-size:19px; margin-top:-4px;}
.spec-grid{
  display:grid; grid-template-columns:repeat(4,1fr); gap:6px; font-size:12px; color:var(--ink);
}
.spec-grid .lbl{display:block; color:var(--steel); font-size:9.5px; text-transform:uppercase; letter-spacing:0.05em; margin-bottom:2px;}
.feature-chips{display:flex; flex-wrap:wrap; gap:6px;}
.feature-chips span{
  font-size:11.5px; color:var(--navy); background:var(--paper-2); border-radius:12px; padding:4px 10px;
}
.listing-footer{margin-top:auto; padding-top:12px; border-top:1px solid var(--line); display:flex; justify-content:space-between; align-items:center; gap:10px; flex-wrap:wrap;}
.price{font-size:15px; color:var(--steel);}
.price strong{font-family:'Fraunces'; font-size:19px; color:var(--navy); font-weight:600;}
.price sup{color:var(--steel); font-size:11px;}
.btn.sm{padding:9px 16px; font-size:13px;}
.listing-note{margin-top:22px; font-size:12.5px; color:var(--steel); font-style:italic;}
.empty-state{margin-top:22px; font-size:14px; color:var(--steel); text-align:center; padding:40px 0;}
@media (max-width:1080px){ .listings{grid-template-columns:1fr 1fr;} }
@media (max-width:640px){ .listings{grid-template-columns:1fr;} }

/* ---------- SHIPPING STEPS ---------- */
.shipping-section{background:var(--paper-2); border-top:1px solid var(--line); border-bottom:1px solid var(--line);}
.steps{display:grid; grid-template-columns:repeat(4,1fr); gap:0; position:relative;}
.step{position:relative; padding-right:24px;}
.step:not(:last-child)::after{
  content:""; position:absolute; top:20px; right:0; width:100%; height:1px; background:var(--line);
}
.step-num{font-size:13px; color:var(--brass); margin-bottom:16px; letter-spacing:0.05em;}
.step h3{font-size:18px; margin-bottom:8px;}
.step p{color:var(--steel); font-size:14px; line-height:1.55;}
@media (max-width:900px){ .steps{grid-template-columns:1fr 1fr; row-gap:36px;} .step:nth-child(2)::after{display:none;} }
@media (max-width:560px){ .steps{grid-template-columns:1fr;} .step::after{display:none;} }

/* ---------- TRACKING ---------- */
.tracking-grid{display:grid; grid-template-columns:0.9fr 1.1fr; gap:56px; align-items:center;}
.body-text{color:var(--steel); font-size:15.5px; line-height:1.7; margin-top:18px; max-width:48ch;}
.manifest-card{
  background:var(--white); border:1px solid var(--line); border-radius:8px; padding:30px;
}
.manifest-head{display:flex; justify-content:space-between; align-items:center; margin-bottom:24px; font-size:13px; color:var(--steel);}
.status-pill{
  background:var(--accent); color:var(--white); font-family:'IBM Plex Mono'; font-size:11px;
  padding:4px 10px; border-radius:20px; text-transform:uppercase; letter-spacing:0.04em;
}
.manifest-route{display:flex; align-items:center; gap:12px; margin-bottom:24px;}
.point{display:flex; align-items:center; gap:10px; font-size:14px;}
.dot{width:12px; height:12px; border-radius:50%; border:2px solid var(--navy); flex-shrink:0;}
.dot.filled{background:var(--navy);}
.route-line{flex:1; height:1px; background:repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px);}
.mono.small{font-size:10.5px; color:var(--steel); letter-spacing:0.06em;}
.timeline{list-style:none; border-top:1px solid var(--line);}
.timeline li{
  padding:13px 0; border-bottom:1px solid var(--line); font-size:14.5px; color:var(--steel);
  display:flex; gap:12px; align-items:baseline;
}
.timeline li.done{color:var(--ink);}
.timeline li.active{color:var(--accent); font-weight:600;}
.timeline li .mono.small{min-width:56px;}
.sample-note{margin-top:18px; font-size:12.5px; color:var(--steel); font-style:italic;}
@media (max-width:900px){ .tracking-grid{grid-template-columns:1fr;} }

/* ---------- CTA ---------- */
.cta-section{background:var(--navy);}
.cta-inner{display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center;}
.cta-inner h2{color:var(--paper); font-size:clamp(28px,3.4vw,38px);}
.cta-inner p{color:#B9C2D0; margin-top:12px; font-size:15px; max-width:36ch;}
.quote-form{display:flex; flex-direction:column; gap:10px;}
.quote-form input{
  background:#24344B; border:1px solid #354863; border-radius:4px; padding:14px 16px;
  color:var(--paper); font-family:'IBM Plex Sans'; font-size:14px;
}
.quote-form input::placeholder{color:#8592A8;}
.quote-form input:focus{outline:none; border-color:var(--accent);}
.quote-form button{
  background:var(--accent); color:var(--white); border:none; padding:14px 20px; border-radius:4px;
  font-weight:600; font-size:14.5px; cursor:pointer; transition:transform .18s ease;
}
.quote-form button:hover{transform:translateY(-2px);}
@media (max-width:800px){ .cta-inner{grid-template-columns:1fr;} }

/* ---------- FOOTER ---------- */
footer{background:var(--navy); color:#C7CEDA; padding:64px 0 28px;}
footer .brand{color:var(--paper);}
.foot-grid{display:grid; grid-template-columns:1.5fr 1fr 1fr 1fr; gap:40px; padding-bottom:44px;}
.foot-about p{margin-top:14px; font-size:14px; line-height:1.6; max-width:32ch; color:#9AA5B8;}
.foot-col h4{font-family:'IBM Plex Mono'; font-size:11px; text-transform:uppercase; letter-spacing:0.08em; color:#8592A8; margin-bottom:14px;}
.foot-col a, .foot-col p{display:block; font-size:14px; margin-bottom:10px; color:#C7CEDA;}
.foot-col a:hover{color:var(--accent);}
.foot-bottom{
  border-top:1px solid #2A3B54; padding-top:22px; display:flex; justify-content:space-between;
  flex-wrap:wrap; gap:10px; font-family:'IBM Plex Mono'; font-size:11.5px; color:#8592A8; text-transform:uppercase; letter-spacing:0.05em;
}
@media (max-width:900px){ .foot-grid{grid-template-columns:1fr 1fr;} }
@media (max-width:560px){ .foot-grid{grid-template-columns:1fr;} .hero-grid{grid-template-columns:1fr;} }
