/* ============================================================
   Five Star Bait Bombs — vintage cannery-label storefront
   ============================================================ */
:root {
  --red: #a81c22;
  --red-dark: #7c1116;
  --red-ink: #5e0d11;
  --cream: #faf3e3;
  --cream-dark: #f0e5cd;
  --paper: #fdf8ec;
  --ink: #2b1a17;
  --ink-soft: #5c4a44;
  --gold: #c9972f;
  --shadow: 0 10px 30px rgba(43, 26, 23, 0.14);
  --radius: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  font-family: "Barlow", system-ui, sans-serif;
  color: var(--ink);
  /* vintage chart-paper grid */
  background:
    repeating-linear-gradient(0deg, rgba(168, 28, 34, .035) 0 1px, transparent 1px 32px),
    repeating-linear-gradient(90deg, rgba(168, 28, 34, .035) 0 1px, transparent 1px 32px),
    var(--paper);
  line-height: 1.6;
}

/* ---------- nautical trimmings ---------- */
.section h2::after {
  content: ""; display: block; width: 208px; max-width: 60%; height: 11px;
  margin-top: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='11' viewBox='0 0 26 11'%3E%3Cpath d='M0 5.5 Q6.5 0 13 5.5 T26 5.5' fill='none' stroke='%23a81c22' stroke-width='2.6'/%3E%3Cpath d='M0 5.5 Q6.5 11 13 5.5 T26 5.5' fill='none' stroke='%23a81c22' stroke-width='2.6' opacity='.45'/%3E%3C/svg%3E") repeat-x left center;
  background-size: 26px 11px;
}
.section-red h2.light::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='11' viewBox='0 0 26 11'%3E%3Cpath d='M0 5.5 Q6.5 0 13 5.5 T26 5.5' fill='none' stroke='%23faf3e3' stroke-width='2.6'/%3E%3Cpath d='M0 5.5 Q6.5 11 13 5.5 T26 5.5' fill='none' stroke='%23faf3e3' stroke-width='2.6' opacity='.45'/%3E%3C/svg%3E");
}
.kicker::before, .kicker-light::before {
  content: ""; display: inline-block; width: 15px; height: 15px;
  margin-right: 9px; vertical-align: -2px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a81c22' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='5' r='3'/%3E%3Cpath d='M12 22V8'/%3E%3Cpath d='M5 12H2a10 10 0 0 0 20 0h-3'/%3E%3C/svg%3E") no-repeat center / contain;
}
.kicker-light::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23faf3e3' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='5' r='3'/%3E%3Cpath d='M12 22V8'/%3E%3Cpath d='M5 12H2a10 10 0 0 0 20 0h-3'/%3E%3C/svg%3E");
}
.hero-compass {
  position: absolute; right: -70px; top: -50px; width: 360px; height: 360px;
  opacity: .1; pointer-events: none;
}
.rope-divider {
  height: 11px; width: 200px; margin: 0 auto 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='11' viewBox='0 0 26 11'%3E%3Cpath d='M0 5.5 Q6.5 0 13 5.5 T26 5.5' fill='none' stroke='%23faf3e3' stroke-width='2.6'/%3E%3Cpath d='M0 5.5 Q6.5 11 13 5.5 T26 5.5' fill='none' stroke='%23faf3e3' stroke-width='2.6' opacity='.45'/%3E%3C/svg%3E") repeat-x center;
  background-size: 26px 11px; opacity: .7;
}
.coords {
  font-family: "Barlow Condensed", sans-serif; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; font-size: .8rem;
  opacity: .75; margin-top: 6px;
}

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: "Alfa Slab One", serif; font-weight: 400; line-height: 1.12; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); margin-bottom: 0.5em; color: var(--red-dark); }

a { color: var(--red); }

.btn {
  display: inline-block; padding: 14px 28px; border-radius: 999px;
  font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 1.05rem;
  letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--red); color: var(--cream); box-shadow: 0 6px 16px rgba(168, 28, 34, .35); }
.btn-primary:hover { background: var(--red-dark); }
.btn-ghost { border-color: var(--red); color: var(--red); background: transparent; }
.btn-ghost:hover { background: rgba(168, 28, 34, .08); }
.btn-cream { background: var(--cream); color: var(--red-dark); }
.btn-cream:hover { background: #fff; }
.btn-block { display: block; width: 100%; text-align: center; }

/* ---------- ticker ---------- */
.ticker {
  background: var(--red-ink); color: var(--cream); overflow: hidden;
  font-family: "Barlow Condensed", sans-serif; font-weight: 600; font-size: .82rem;
  letter-spacing: .18em; white-space: nowrap;
}
.ticker-track {
  display: inline-flex; gap: 28px; padding: 7px 0;
  animation: tick 28s linear infinite;
}
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--cream); border-bottom: 3px solid var(--red);
}
.header-inner { display: flex; align-items: center; gap: 28px; padding: 12px 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--red-dark); }
.brand-mark { width: 46px; height: 46px; border-radius: 50%; clip-path: circle(48.4%); }
.brand-name {
  font-family: "Alfa Slab One", serif; font-size: 1.05rem; letter-spacing: .02em; line-height: 1.05;
}
.brand-name em { font-style: normal; color: var(--red); display: block; font-size: .92rem; }
.main-nav { margin-left: auto; display: flex; gap: 22px; }
.main-nav a {
  font-family: "Barlow Condensed", sans-serif; font-weight: 600; font-size: 1rem;
  letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: var(--ink);
}
.main-nav a:hover { color: var(--red); }
.cart-btn {
  position: relative; display: grid; place-items: center; width: 46px; height: 46px;
  border-radius: 50%; border: 2px solid var(--red); background: transparent; color: var(--red);
  cursor: pointer; transition: background .15s;
}
.cart-btn:hover { background: rgba(168, 28, 34, .08); }
.cart-count {
  position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px;
  border-radius: 999px; background: var(--red); color: var(--cream);
  font-size: .72rem; font-weight: 700; display: grid; place-items: center; padding: 0 5px;
}

/* ---------- hero ---------- */
.hero { position: relative; background: var(--red); color: var(--cream); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .07; pointer-events: none;
  background-image: radial-gradient(circle at 2px 2px, var(--cream) 1.2px, transparent 0);
  background-size: 26px 26px;
}
.hero-inner {
  position: relative; display: grid; grid-template-columns: minmax(260px, 380px) 1fr;
  gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 96px;
}
.hero-badge { filter: drop-shadow(0 14px 30px rgba(0,0,0,.3)); }
.hero-badge svg { width: 100%; height: auto; }
#heroBadge circle:first-of-type { stroke: var(--cream); stroke-width: 3; }
.eyebrow, .kicker {
  font-family: "Barlow Condensed", sans-serif; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; font-size: .85rem; margin-bottom: 14px;
}
.eyebrow { color: var(--cream-dark); }
.kicker { color: var(--red); }
.kicker-light { color: var(--cream-dark); }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 20px; text-shadow: 0 3px 0 rgba(0,0,0,.18); }
.lede { font-size: 1.12rem; max-width: 56ch; color: var(--cream); opacity: .95; margin-bottom: 28px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.hero .btn-primary { background: var(--cream); color: var(--red-dark); box-shadow: 0 6px 16px rgba(0,0,0,.25); }
.hero .btn-primary:hover { background: #fff; }
.hero .btn-ghost { border-color: var(--cream); color: var(--cream); }
.hero .btn-ghost:hover { background: rgba(250, 243, 227, .12); }
.hero-points { display: flex; gap: 26px; flex-wrap: wrap; list-style: none; }
.hero-points li {
  font-family: "Barlow Condensed", sans-serif; font-size: 1rem; letter-spacing: .04em;
  text-transform: uppercase; border-top: 2px solid rgba(250,243,227,.4); padding-top: 8px;
}
.hero-wave { position: absolute; bottom: -1px; left: 0; right: 0; line-height: 0; }
.hero-wave svg { width: 100%; height: 42px; }
.hero-wave path { fill: var(--paper); }

/* badge text */
.badge-arc-text { font-family: "Alfa Slab One", serif; letter-spacing: 2.5px; }
.badge-bomb-text { font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 7.5px; letter-spacing: .5px; }

/* real logo drop-in (assets/logo.png) — clip just inside the disc edge
   so the white anti-aliased fringe never shows */
.hero-logo-img {
  width: 100%; height: auto;
  clip-path: circle(48.4%);
}

/* ---------- sections ---------- */
.section { padding: 84px 0; }
.section-red { background: var(--red); color: var(--cream); }
.section-red h2.light { color: var(--cream); }
.section-cream { background: var(--cream-dark); }
.light-lede { color: var(--cream); opacity: .92; max-width: 50ch; }
.section-lede { max-width: 62ch; color: var(--ink-soft); margin-bottom: 36px; }

.cols { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: start; margin-top: 12px; }
.col-text p { margin-bottom: 1em; font-size: 1.05rem; color: var(--ink-soft); }
.col-text p:first-child { color: var(--ink); }

.spec-card {
  background: var(--cream); border: 2px solid var(--red); border-radius: var(--radius);
  padding: 26px 28px; box-shadow: var(--shadow); position: relative;
  outline: 2px solid rgba(168, 28, 34, .3); outline-offset: 5px;
}
.spec-card::before {
  content: "★"; position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  background: var(--red); color: var(--cream); width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; font-size: .9rem;
}
.spec-card h3 { color: var(--red-dark); font-size: 1.1rem; margin-bottom: 14px; text-align: center; }
.spec-card dl div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px dashed rgba(168,28,34,.35); }
.spec-card dl div:last-child { border-bottom: none; }
.spec-card dt { font-family: "Barlow Condensed", sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; color: var(--red); }
.spec-card dd { text-align: right; font-size: .95rem; }
.spec-card .warn { color: var(--red); font-weight: 700; text-transform: uppercase; font-size: .85rem; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; }
.step {
  background: rgba(250, 243, 227, .08); border: 2px solid rgba(250,243,227,.35);
  border-radius: var(--radius); padding: 30px 26px;
}
.step-num {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--cream); color: var(--red-dark); font-family: "Alfa Slab One", serif;
  font-size: 1.3rem; margin-bottom: 16px;
}
.step h3 { font-size: 1.25rem; margin-bottom: 10px; }
.step p { opacity: .92; font-size: .98rem; }

/* ---------- products ---------- */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.product {
  background: var(--cream); border: 2px solid var(--red); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .18s;
}
.product:hover { transform: translateY(-4px); }
.product-art {
  background: var(--red); padding: 26px 0 20px; display: grid; place-items: center; position: relative;
}
.product-art svg { height: 110px; }
.product-flag {
  position: absolute; top: 12px; right: -34px; transform: rotate(38deg);
  background: var(--gold); color: var(--ink); font-family: "Barlow Condensed", sans-serif;
  font-weight: 700; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase;
  padding: 4px 40px;
}
.product-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.product h3 { font-size: 1.15rem; color: var(--red-dark); margin-bottom: 6px; }
.product-desc { font-size: .93rem; color: var(--ink-soft); margin-bottom: 18px; flex: 1; }
.product-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price { font-family: "Alfa Slab One", serif; font-size: 1.5rem; color: var(--red); }
.price small { font-family: "Barlow", sans-serif; font-size: .72rem; color: var(--ink-soft); display: block; font-weight: 600; letter-spacing: .04em; }
.add-btn {
  padding: 10px 20px; border-radius: 999px; border: none; background: var(--red); color: var(--cream);
  font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: .95rem;
  letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: background .15s;
}
.add-btn:hover { background: var(--red-dark); }
.shop-note { margin-top: 30px; font-family: "Barlow Condensed", sans-serif; letter-spacing: .04em; text-transform: uppercase; font-weight: 600; color: var(--red-dark); }

/* ---------- review ---------- */
.review {
  background: var(--paper); border-left: 6px solid var(--red); border-radius: 0 var(--radius) var(--radius) 0;
  padding: 34px 40px; box-shadow: var(--shadow); max-width: 820px;
}
.review blockquote { font-size: 1.15rem; color: var(--ink); font-style: italic; margin-bottom: 16px; }
.review figcaption { font-family: "Barlow Condensed", sans-serif; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }

/* ---------- faq ---------- */
.faq-list { max-width: 780px; }
.faq-list details {
  border: 2px solid var(--cream-dark); border-radius: 10px; margin-bottom: 12px;
  background: var(--cream); overflow: hidden;
}
.faq-list details[open] { border-color: var(--red); }
.faq-list summary {
  cursor: pointer; padding: 16px 20px; font-family: "Barlow Condensed", sans-serif;
  font-weight: 700; font-size: 1.08rem; letter-spacing: .03em; color: var(--red-dark);
  list-style: none; position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 20px; font-size: 1.3rem; color: var(--red); }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { padding: 0 20px 18px; color: var(--ink-soft); }

/* ---------- contact ---------- */
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-form label, #orderForm label {
  display: flex; flex-direction: column; gap: 6px;
  font-family: "Barlow Condensed", sans-serif; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; font-size: .85rem;
}
.contact-form input, .contact-form textarea, #orderForm input, #orderForm textarea {
  font-family: "Barlow", sans-serif; font-size: 1rem; padding: 12px 14px;
  border-radius: 8px; border: 2px solid transparent; background: var(--cream); color: var(--ink);
}
#orderForm input, #orderForm textarea { border-color: var(--cream-dark); background: var(--paper); }
.contact-form input:focus, .contact-form textarea:focus, #orderForm input:focus, #orderForm textarea:focus {
  outline: none; border-color: var(--gold);
}
.form-status { font-size: .95rem; min-height: 1.4em; font-family: "Barlow", sans-serif; text-transform: none; letter-spacing: 0; }
.form-status.ok { color: #1c6b34; }
.section-red .form-status.ok { color: var(--cream); }
.form-status.err { color: #ffd7d7; }
#orderStatus.err { color: var(--red); }

/* ---------- footer ---------- */
.site-footer { background: var(--red-ink); color: var(--cream); padding: 48px 0; text-align: center; }
.footer-badge { width: 74px; height: 74px; margin-bottom: 16px; border-radius: 50%; clip-path: circle(48.4%); }
.footer-inner a { color: var(--cream); font-weight: 700; }
.fine { opacity: .65; font-size: .85rem; margin-top: 8px; }

/* ---------- cart drawer ---------- */
.cart-overlay, .modal-overlay {
  position: fixed; inset: 0; background: rgba(43, 26, 23, .55); z-index: 90;
}
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(400px, 92vw); z-index: 95;
  background: var(--paper); box-shadow: -12px 0 40px rgba(0,0,0,.25);
  display: flex; flex-direction: column;
}
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 3px solid var(--red); }
.cart-head h3 { color: var(--red-dark); }
.icon-btn { border: none; background: none; font-size: 1.2rem; cursor: pointer; color: var(--ink); padding: 6px; }
.cart-items { flex: 1; overflow-y: auto; padding: 18px 24px; }
.cart-empty { color: var(--ink-soft); text-align: center; padding: 40px 0; }
.cart-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px dashed rgba(168,28,34,.3); }
.cart-item-name { flex: 1; }
.cart-item-name strong { display: block; font-size: .95rem; }
.cart-item-name span { font-size: .82rem; color: var(--ink-soft); }
.qty { display: flex; align-items: center; gap: 8px; }
.qty button {
  width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--red); background: none;
  color: var(--red); font-weight: 700; cursor: pointer; line-height: 1;
}
.qty button:hover { background: rgba(168,28,34,.08); }
.cart-item-price { font-weight: 700; min-width: 64px; text-align: right; }
.rm-btn { border: none; background: none; color: var(--ink-soft); cursor: pointer; font-size: 1rem; }
.rm-btn:hover { color: var(--red); }
.cart-foot { padding: 20px 24px; border-top: 3px solid var(--red); background: var(--cream); }
.cart-total-row { display: flex; justify-content: space-between; font-size: 1.15rem; margin-bottom: 14px; }
.cart-total-row strong { font-family: "Alfa Slab One", serif; color: var(--red-dark); }
.cart-fine { font-size: .8rem; color: var(--ink-soft); margin-top: 10px; text-align: center; }

/* ---------- checkout modal ---------- */
.modal-overlay { display: grid; place-items: center; padding: 20px; z-index: 100; }
.modal {
  background: var(--paper); border-radius: var(--radius); width: min(480px, 100%);
  max-height: 90vh; overflow-y: auto; box-shadow: 0 24px 60px rgba(0,0,0,.35);
}
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px 0; }
.modal-head h3 { color: var(--red-dark); }
.modal-body { padding: 16px 24px 24px; }
.order-summary { background: var(--cream); border-radius: 10px; padding: 14px 18px; margin-bottom: 18px; font-size: .95rem; }
.order-summary div { display: flex; justify-content: space-between; padding: 3px 0; }
.order-summary .sum-total { border-top: 2px solid var(--red); margin-top: 8px; padding-top: 8px; font-weight: 700; }
#orderForm { display: flex; flex-direction: column; gap: 12px; }

/* ---------- toast ---------- */
.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translate(-50%, 20px); z-index: 120;
  background: var(--ink); color: var(--cream); padding: 12px 22px; border-radius: 999px;
  font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; padding-top: 44px; }
  .hero-badge { max-width: 280px; margin: 0 auto; }
  .cols, .contact-inner { grid-template-columns: 1fr; gap: 36px; }
  .steps, .products { grid-template-columns: 1fr; }
  .main-nav { display: none; }
}
