/* ══ Tokens ═══════════════════════════════════════════════════════════════ */
:root {
  --tin:        #14342B;
  --tin-deep:   #0E241D;
  --paper:      #EFE6D2;
  --paper-edge: #E2D6BB;
  --ink:        #1B1A17;
  --oxblood:    #8C2B22;
  --brass:      #C99A2E;
  --comb:       #D6452F;

  --display: "Alfa Slab One", Georgia, serif;
  --flourish: "Bodoni Moda", Didot, serif;
  --body: "Crimson Pro", Georgia, serif;
  --utility: "Courier Prime", ui-monospace, monospace;

  --measure: 62ch;
  --gutter: clamp(1.25rem, 5vw, 4rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background-color: var(--tin);
  /* Faint paper grain over the tin. Generated, not fetched. */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
  color: var(--paper);
  font-family: var(--body);
  font-size: clamp(1.0625rem, 0.98rem + 0.4vw, 1.1875rem);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

:where(a, button, summary):focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ══ Top bar ══════════════════════════════════════════════════════════════ */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem var(--gutter);
  border-bottom: 1px solid rgba(201, 154, 46, 0.28);
  font-family: var(--utility);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
}
.topbar__notice { color: var(--paper); opacity: 0.72; text-align: center; }
.topbar__est--right { text-align: right; }
@media (max-width: 46rem) {
  .topbar__est { display: none; }
  .topbar__notice { text-align: center; width: 100%; }
}

/* ══ Hero ═════════════════════════════════════════════════════════════════ */
.hero {
  padding: clamp(2rem, 6vw, 4.5rem) var(--gutter) clamp(2.5rem, 5vw, 4rem);
  display: grid;
  justify-items: center;
  gap: 2.25rem;
}

.label {
  position: relative;
  width: min(600px, 100%);
  padding: clamp(2.25rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 3rem) clamp(1.75rem, 4vw, 2.75rem);
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-edge) 100%);
  color: var(--ink);
  text-align: center;
  border-radius: 3px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.4) inset,
    0 24px 60px -20px rgba(0, 0, 0, 0.7);
}

.label__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.label__frame rect { fill: none; stroke: var(--oxblood); }
.label__frame .frame-outer { stroke-width: 3; }
.label__frame .frame-inner { stroke-width: 1; opacity: 0.65; }

/* The frame draws itself once, on load. */
@media (prefers-reduced-motion: no-preference) {
  .label__frame rect {
    stroke-dasharray: 2700;
    stroke-dashoffset: 2700;
    animation: draw 1.6s cubic-bezier(0.65, 0, 0.35, 1) forwards;
  }
  .label__frame .frame-inner { animation-delay: 0.35s; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }

.label__eyebrow {
  margin: 0 0 1.1rem;
  font-family: var(--utility);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--oxblood);
}

.label__wordmark {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  line-height: 0.86;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--ink);
  display: grid;
}
.label__wordmark span { font-size: clamp(3.4rem, 13vw, 6.6rem); }
.label__wordmark span:last-child { color: var(--oxblood); }

.label__rule,
.footer__rule {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.25rem auto;
  width: min(320px, 80%);
}
.label__rule span,
.footer__rule span { flex: 1; height: 1px; background: currentColor; opacity: 0.45; }
.label__rule { color: var(--oxblood); }
.footer__rule { color: var(--brass); }
.diamond { width: 9px; height: 9px; flex: none; fill: currentColor; }

.rooster { width: min(270px, 66%); height: auto; margin: 0.25rem auto 0.5rem; display: block; }

/* Paper keylines between the sickle feathers read as engraved separation. */
.rooster__tail path {
  fill: var(--ink);
  stroke: var(--paper);
  stroke-width: 2.5;
  stroke-linejoin: round;
}

.rooster__body path,
.rooster__body circle { fill: var(--ink); }
.rooster__body .leg {
  fill: none;
  stroke: var(--ink);
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rooster__detail .stroked {
  fill: none;
  stroke: var(--paper);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.rooster__detail .hatch { stroke-width: 1.4; opacity: 0.55; }

.rooster__eye-white { fill: var(--paper); }
.rooster__eye { fill: var(--ink); }

.label__flourish {
  margin: 0.75rem 0 1.4rem;
  font-family: var(--flourish);
  font-style: italic;
  font-size: clamp(1.15rem, 3.4vw, 1.6rem);
  line-height: 1.35;
  color: var(--oxblood);
}

.label__netwt {
  margin: 0;
  font-family: var(--utility);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.6;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; justify-content: center; }

/* ══ Buttons ══════════════════════════════════════════════════════════════ */
.btn {
  display: inline-block;
  padding: 0.85em 1.9em;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--utility);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, background-color 0.18s ease, color 0.18s ease;
}
.btn:active { transform: translateY(1px); }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }

.btn--primary { background: var(--comb); color: #fff; }
.btn--primary:hover { background: var(--oxblood); }

.btn--ghost { background: transparent; color: var(--paper); border-color: rgba(239, 230, 210, 0.4); }
.btn--ghost:hover { background: rgba(239, 230, 210, 0.08); border-color: var(--paper); }

.btn[disabled] { opacity: 0.55; cursor: progress; }

/* ══ Section scaffold ═════════════════════════════════════════════════════ */
.section {
  max-width: 1080px;
  margin-inline: auto;
  padding: clamp(3rem, 7vw, 5.5rem) var(--gutter);
  border-top: 1px solid rgba(201, 154, 46, 0.2);
}

.section__eyebrow {
  margin: 0 0 0.4rem;
  font-family: var(--utility);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brass);
}

.section__title {
  margin: 0 0 1.75rem;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2rem, 5.4vw, 3.1rem);
  line-height: 1;
  letter-spacing: -0.005em;
  color: var(--paper);
}

.section__lede {
  max-width: var(--measure);
  margin: -0.75rem 0 2.5rem;
  color: rgba(239, 230, 210, 0.78);
}

/* ══ Directions ═══════════════════════════════════════════════════════════ */
.directions { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.6rem; max-width: var(--measure); }
.directions li { display: grid; grid-template-columns: 3rem 1fr; align-items: baseline; gap: 1rem; }
.directions p { margin: 0; }
.numeral {
  font-family: var(--flourish);
  font-style: italic;
  font-size: 1.9rem;
  line-height: 1;
  color: var(--brass);
  text-align: right;
}

/* ══ Varieties ════════════════════════════════════════════════════════════ */
.varieties {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.25rem);
}
.variety { text-align: center; }
.drop { width: 34px; height: 54px; display: block; margin: 0 auto 1rem; }
.variety h3 {
  margin: 0 0 0.4rem;
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.25;
  letter-spacing: 0.01em;
  color: var(--paper);
}
.variety p { margin: 0; font-size: 0.94rem; color: rgba(239, 230, 210, 0.68); }

/* ══ Pre-order ════════════════════════════════════════════════════════════ */
.tins {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  align-items: start;
}

.tin {
  position: relative;
  padding: 2rem 1.5rem 1.75rem;
  background: var(--paper);
  color: var(--ink);
  border-radius: 3px;
  text-align: center;
  box-shadow: 0 14px 34px -18px rgba(0, 0, 0, 0.75);
}
.tin--featured { outline: 2px solid var(--brass); outline-offset: 4px; }

.tin__badge {
  position: absolute;
  top: 0; left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 0.35em 0.9em;
  background: var(--brass);
  color: var(--tin-deep);
  border-radius: 2px;
  font-family: var(--utility);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}

.tin__name { margin: 0 0 0.75rem; font-family: var(--display); font-weight: 400; font-size: 1.1rem; line-height: 1.2; }
.tin__price { margin: 0; font-family: var(--display); font-size: 3.2rem; line-height: 1; color: var(--oxblood); }
.tin__price span { font-size: 1.35rem; vertical-align: 0.85rem; margin-right: 0.1em; }
.tin__qty {
  margin: 0.6rem 0 1rem;
  font-family: var(--utility);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.6;
}
.tin__blurb { margin: 0 0 1.6rem; font-size: 0.95rem; line-height: 1.5; opacity: 0.85; }

.tins__fine {
  margin: 1.75rem 0 0;
  text-align: center;
  font-family: var(--utility);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  color: rgba(239, 230, 210, 0.5);
}

.notice {
  margin: 1.5rem auto 0;
  max-width: 46ch;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--brass);
  border-radius: 2px;
  background: rgba(201, 154, 46, 0.09);
  text-align: center;
  font-size: 0.95rem;
  color: var(--paper);
}

/* ══ Ingredients ══════════════════════════════════════════════════════════ */
.facts {
  max-width: 640px;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  background: var(--paper);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 2px;
  font-family: var(--utility);
  font-size: 0.86rem;
  line-height: 1.55;
}
.facts__head {
  margin: 0 0 0.5rem;
  font-family: var(--display);
  font-size: 1.65rem;
  line-height: 1;
}
.facts__rule { border: none; border-top: 1px solid var(--ink); margin: 0.7rem 0; opacity: 0.75; }
.facts__rule--thick { border-top-width: 5px; opacity: 1; }
.facts__row { display: flex; justify-content: space-between; gap: 1.5rem; }
.facts__row--head { font-weight: 700; }
.facts__row--head em { font-style: italic; font-weight: 400; }
.facts__row span:last-child { text-align: right; }
.facts__label { margin: 0.7rem 0 0.2rem; font-weight: 700; }
.facts__body { margin: 0; }
@media (max-width: 34rem) {
  .facts__row { flex-direction: column; gap: 0.15rem; }
  .facts__row span:last-child { text-align: left; }
}

/* ══ Warnings ═════════════════════════════════════════════════════════════ */
.qa { max-width: var(--measure); }
.qa details { border-bottom: 1px solid rgba(201, 154, 46, 0.22); }
.qa summary {
  padding: 1.05rem 2rem 1.05rem 0;
  position: relative;
  cursor: pointer;
  list-style: none;
  font-family: var(--display);
  font-weight: 400;
  font-size: 1rem;
  color: var(--paper);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "+";
  position: absolute;
  right: 0.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--utility);
  font-size: 1.2rem;
  color: var(--brass);
}
.qa details[open] summary::after { content: "\2013"; }
.qa p { margin: 0 0 1.2rem; max-width: 58ch; color: rgba(239, 230, 210, 0.75); }

/* ══ Footer ═══════════════════════════════════════════════════════════════ */
.footer {
  padding: clamp(2.5rem, 6vw, 4rem) var(--gutter) 3rem;
  background: var(--tin-deep);
  text-align: center;
}
.footer__mark {
  margin: 0 0 1.25rem;
  font-family: var(--display);
  font-size: 1.4rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--paper);
}
.footer__fine {
  max-width: 60ch;
  margin: 0 auto 1.5rem;
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(239, 230, 210, 0.45);
}
.footer__copy {
  margin: 0;
  font-family: var(--utility);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(201, 154, 46, 0.6);
}
