/* Treblemaker Tackle: one stylesheet, no scripts. */
:root {
  --lid: #941e22;        /* the bee logo's disc red; the hero is printed in it */
  --hook: #c1272d;       /* the treble mark red */
  --ink: #1d1416;        /* lure-box black */
  --paper: #ffffff;
  --mist: #efe9e4;       /* soft panel, a little warm */
  --chartreuse: #d7e34a; /* the one bright lure color, used for focus only */
  --display: "Alfa Slab One", "Rockwell", "Roboto Slab", Georgia, serif;
  --body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-variation-settings: "wdth" 100;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--chartreuse); outline-offset: 3px; border-radius: 2px; }

.skip {
  position: absolute; left: -999px; top: 8px;
  background: var(--paper); color: var(--ink); padding: 8px 12px; z-index: 10;
}
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Lid (hero): printed like an old lure-box lid ---------- */
.lid {
  background: var(--lid);
  color: var(--paper);
  padding: clamp(12px, 2vw, 22px);
}
.lid__frame {
  /* the double printed border of a vintage tackle box */
  border: 3px solid var(--paper);
  outline: 1.5px solid var(--paper);
  outline-offset: 5px;
  margin: 6px;
}
.bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px clamp(16px, 3vw, 32px);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 40px; height: 40px; }
.brand span { font-family: var(--display); font-size: 1.05rem; letter-spacing: .01em; }
.nav { display: flex; gap: clamp(14px, 3vw, 28px); }
.nav a {
  text-decoration: none; font-weight: 600; font-size: .98rem;
  border-bottom: 2px solid transparent; padding-bottom: 2px;
}
.nav a:hover { border-bottom-color: var(--paper); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
  gap: clamp(8px, 3vw, 40px);
  padding: clamp(8px, 2vw, 24px) clamp(16px, 3vw, 32px) clamp(28px, 5vw, 56px);
}
.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  line-height: .86;
  letter-spacing: -.01em;
  font-size: clamp(3.4rem, 10.5vw, 8.6rem);
}
.hero h1 .line { display: block; }
.hero h1 .small {
  font-size: .36em;
  letter-spacing: .32em;
  margin-top: .45em;
  padding-left: .08em;
}
.hero p {
  margin: clamp(18px, 3vw, 28px) 0 0;
  max-width: 30ch;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.4;
}
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(22px, 3vw, 32px); }

.btn {
  display: inline-block;
  font-family: var(--body); font-weight: 700; font-size: 1.05rem;
  text-decoration: none;
  padding: 14px 26px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn--shop { background: var(--paper); color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.btn--shop:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn--shop:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn--ghost { color: var(--paper); border-color: var(--paper); }
.btn--ghost:hover { background: rgba(255,255,255,.1); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--hook); border-color: var(--hook); }

/* The bee is the one thing that moves: a slow bob, like a lure on a slack line. */
.bee { justify-self: center; width: min(100%, 460px); }
.bee img { width: 100%; animation: bob 4.5s ease-in-out infinite; transform-origin: 40% 60%; }
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-10px) rotate(2deg); }
}
@media (prefers-reduced-motion: reduce) {
  .bee img { animation: none; }
  .btn { transition: none; }
}

/* ---------- Content ---------- */
main section { padding: clamp(48px, 8vw, 96px) 0; }
h2 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(1.9rem, 4.2vw, 2.8rem); line-height: 1.05;
  margin: 0 0 .5em;
}
.lead { max-width: 40ch; font-size: 1.2rem; margin: 0; }

.box {
  /* three compartments of a tackle tray, not three cards */
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 3px solid var(--ink); margin-top: clamp(28px, 4vw, 44px);
}
.box > div { padding: clamp(20px, 3vw, 32px); }
.box > div + div { border-left: 3px solid var(--ink); }
.box h3 { font-size: 1.2rem; margin: 0 0 .35em; line-height: 1.2; }
.box p { margin: 0; max-width: 34ch; }
.box img { width: 34px; height: 34px; margin-bottom: 14px; }

.live { background: var(--ink); color: var(--paper); }
.live .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 32px; align-items: end; }
.live p { max-width: 44ch; margin: 0; font-size: 1.15rem; }
.live .ctas { justify-content: flex-end; margin: 0; }
.live .btn--shop { box-shadow: 4px 4px 0 var(--hook); border-color: var(--paper); }
.live .btn--shop:hover { box-shadow: 6px 6px 0 var(--hook); }

.contact .mail {
  display: inline-block; margin-top: 18px;
  font-family: var(--display); font-size: clamp(1.25rem, 4.4vw, 2.3rem);
  color: var(--hook); text-decoration-thickness: 3px; text-underline-offset: 6px;
  overflow-wrap: anywhere;
}
.contact .mail:hover { color: var(--lid); }

footer { background: var(--lid); color: var(--paper); font-size: .95rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-top: 22px; padding-bottom: 22px; }
footer a { text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* ---------- Simple pages (shop, 404) ---------- */
.solo { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.solo .lid { flex: 1; display: flex; }
.solo .lid__frame { flex: 1; display: flex; flex-direction: column; }
.solo .hero { flex: 1; }
.solo .hero h1 { font-size: clamp(2.8rem, 8vw, 6rem); line-height: .95; }

/* ---------- Small screens ---------- */
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; }
  .bee { order: -1; width: min(70%, 300px); margin-bottom: -8px; }
  .box { grid-template-columns: 1fr; }
  .box > div + div { border-left: 0; border-top: 3px solid var(--ink); }
  .live .wrap { grid-template-columns: 1fr; align-items: start; }
  .live .ctas { justify-content: flex-start; }
  .brand span { display: none; }
}
@media (max-width: 380px) {
  .btn { padding: 12px 20px; }
}
