:root {
  --bg: #f2efe6;
  --ink: #1b1b1f;
  --white: #ffffff;
  --green: #2f6b3a;
  --red: #e8472b;
  --yellow: #f4c430;
  --muted: #5a5a63;
  --blue: #0b5cad;
  --paper: #f5ecd6;
  --head: "Archivo Black", "Arial Black", Impact, sans-serif;
  --body: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --pixel: "Silkscreen", "Courier New", monospace;
  --line: 3px;
  --shadow: 4px 4px 0 var(--ink);
  --pad: clamp(16px, 4vw, 40px);
  color-scheme: light;
}

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

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

body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--bg);
  background-image: radial-gradient(rgba(27, 27, 31, .13) 1.2px, transparent 1.4px);
  background-size: 24px 24px;
  -webkit-font-smoothing: antialiased;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select { font: inherit; color: inherit; }

.sr-only, .sr-defs {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 16px; top: -80px; z-index: 100;
  background: var(--yellow); border: var(--line) solid var(--ink); padding: 10px 16px; font-weight: 700;
}
.skip:focus { top: 16px; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding-inline: var(--pad); }

/* ---------- Type voices ---------- */
.eyebrow {
  font-family: var(--pixel);
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 12px; height: 12px; background: var(--red); border: 2px solid var(--ink); }
.eyebrow-light::before { background: var(--yellow); }
.eyebrow-yellow { color: var(--yellow); }
.eyebrow-yellow::before { background: var(--yellow); border-color: var(--yellow); }

.section-title {
  font-family: var(--head);
  font-weight: 400;
  font-size: clamp(2.25rem, 5vw, 4.25rem);
  line-height: .95;
  letter-spacing: -.02em;
  text-transform: uppercase;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 22px;
  font-family: var(--head); font-size: 15px; letter-spacing: .02em; text-transform: uppercase;
  text-decoration: none; color: var(--ink);
  background: var(--white);
  border: var(--line) solid var(--ink);
  border-radius: 0;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform .08s ease-in, box-shadow .08s ease-in, background-color .15s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--ink); }
.btn-small { min-height: 44px; padding: 0 16px; font-size: 13px; }
.btn-red { background: var(--red); }
.btn-yellow { background: var(--yellow); }
.btn-white { background: var(--white); }
.btn-ink { background: var(--ink); color: var(--white); box-shadow: 4px 4px 0 var(--c, var(--red)); }
.btn-ink:hover { box-shadow: 6px 6px 0 var(--c, var(--red)); }
.btn-ink:active { box-shadow: 0 0 0 var(--c, var(--red)); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: var(--line) solid var(--ink);
}
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { color: var(--ink); }
.brand-name { font-family: var(--head); text-transform: uppercase; font-size: 17px; line-height: .9; letter-spacing: -.01em; }
.site-nav { display: flex; gap: 4px; margin-left: auto; }
.site-nav a {
  font-family: var(--pixel); font-size: 14px; text-transform: uppercase; text-decoration: none;
  padding: 10px 12px; min-height: 44px; display: inline-flex; align-items: center;
  border: 2px solid transparent;
}
.site-nav a:hover { border-color: var(--ink); background: var(--yellow); }
.basket {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border: var(--line) solid var(--ink); background: var(--yellow);
  box-shadow: 3px 3px 0 var(--ink); text-decoration: none;
}
.basket-count {
  position: absolute; top: -10px; right: -10px; min-width: 24px; height: 24px; padding: 0 4px;
  background: var(--red); border: 2px solid var(--ink); font-family: var(--pixel); font-size: 12px;
  display: grid; place-items: center; line-height: 1;
}
.basket.bump { animation: bump .45s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes bump { 0% { transform: translateY(-10px); } 100% { transform: translateY(0); } }

.nav-toggle {
  display: none; margin-left: auto; width: 48px; height: 48px;
  border: var(--line) solid var(--ink); background: var(--white); cursor: pointer; padding: 0;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 20px; height: 3px; background: var(--ink); margin: 0 auto; position: relative;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(64px, 9vw, 128px); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 5.5fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero-title {
  font-family: var(--head); font-weight: 400;
  font-size: clamp(3rem, 7.4vw, 6.5rem);
  line-height: .9; letter-spacing: -.03em; text-transform: uppercase;
  margin-bottom: 28px;
}
.mark {
  display: inline-block; background: var(--yellow); padding: 0 .12em;
  border: var(--line) solid var(--ink); box-shadow: 6px 6px 0 var(--ink);
  transform: rotate(-2deg); margin: .04em 0;
}
.lede { font-size: clamp(17px, 1.6vw, 19px); max-width: 34em; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 40px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 24px; font-family: var(--pixel); font-size: 13px; text-transform: uppercase; }
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.sq { width: 12px; height: 12px; border: 2px solid var(--ink); display: inline-block; }
.sq-green { background: var(--green); } .sq-yellow { background: var(--yellow); } .sq-blue { background: var(--blue); }

/* ---------- The Drop ---------- */
.drop-panel {
  background: var(--white);
  border: var(--line) solid var(--ink);
  box-shadow: 10px 10px 0 var(--ink);
  justify-self: end; width: 100%; max-width: 560px;
}
.drop-bar {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  background: var(--ink); color: var(--white); padding: 12px 16px;
}
.drop-title { font-family: var(--pixel); font-weight: 700; font-size: 18px; text-transform: uppercase; color: var(--yellow); }
.drop-stats { display: flex; gap: 20px; margin: 0; font-family: var(--pixel); text-transform: uppercase; font-size: 12px; }
.drop-stats div { display: flex; align-items: baseline; gap: 8px; }
.drop-stats dt { opacity: .8; }
.drop-stats dd { margin: 0; font-size: 18px; color: var(--yellow); }
.drop-stage { border-bottom: var(--line) solid var(--ink); background: var(--bg); }
#drop-canvas { width: 100%; aspect-ratio: 12 / 14; cursor: crosshair; touch-action: manipulation; }
.drop-hint { padding: 12px 16px 0; font-size: 14px; color: var(--muted); }
.drop-controls { display: flex; flex-wrap: wrap; gap: 12px; padding: 12px 16px 20px; }

/* ---------- Bands ---------- */
.band { padding: clamp(72px, 10vw, 136px) 0; border-top: var(--line) solid var(--ink); }
.band-white { background: var(--white); }
.band-green { background: var(--green); color: var(--white); }
.band-yellow { background: var(--yellow); padding: clamp(48px, 7vw, 88px) 0; }
.band-blue { background: var(--blue); color: var(--white); }
.band-cream { background: transparent; }

.section-head {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px;
  align-items: end; margin-bottom: clamp(48px, 7vw, 88px);
}
.section-intro { max-width: 30em; justify-self: end; color: var(--muted); }

/* ---------- Blends ---------- */
.blend-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; align-items: start; }
.blend {
  background: var(--white);
  border: var(--line) solid var(--ink);
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  transition: transform .15s, box-shadow .15s;
}
.blend:nth-child(2) { margin-top: 72px; }
.blend:nth-child(3) { margin-top: 24px; }
.blend:nth-child(4) { margin-top: 112px; }
.blend:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--c); }
.blend-field {
  position: relative; background: var(--c);
  border-bottom: var(--line) solid var(--ink);
  padding: 32px 24px 20px;
  background-image:
    linear-gradient(rgba(255,255,255,.12) 2px, transparent 2px),
    linear-gradient(90deg, rgba(255,255,255,.12) 2px, transparent 2px);
  background-size: 24px 24px;
}
.blend-art { width: 72%; margin: 0 auto; aspect-ratio: 140 / 150; color: var(--c); }
.blend-tag {
  position: absolute; top: 12px; left: 12px;
  font-family: var(--pixel); font-size: 12px; text-transform: uppercase;
  background: var(--white); border: 2px solid var(--ink); padding: 2px 8px;
}
.blend-body { padding: 20px 20px 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.blend-name { font-family: var(--head); font-weight: 400; font-size: 22px; line-height: 1.05; text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.blend-name::before { content: ""; flex: none; width: 14px; height: 14px; background: var(--c); border: 2px solid var(--ink); }
.blend-body > p { font-size: 15px; color: var(--muted); }
.blend-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 8px; }
.price { font-family: var(--head); font-size: 20px; }
.price span { font-family: var(--body); font-size: 13px; color: var(--muted); }

/* ---------- Brew ---------- */
.brew-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 80px); align-items: end; }
.brew-head { align-self: start; position: sticky; top: 112px; }
.brew-note { margin-top: 24px; max-width: 24em; }
.stairs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: end; }
.step {
  background: var(--bg); color: var(--ink);
  border: var(--line) solid var(--ink); box-shadow: 6px 6px 0 var(--ink);
  padding: 20px 16px; display: flex; flex-direction: column; gap: 10px;
}
.step:nth-child(1) { min-height: 260px; }
.step:nth-child(2) { min-height: 330px; }
.step:nth-child(3) { min-height: 400px; }
.step:nth-child(4) { min-height: 470px; background: var(--yellow); }
.step-num { font-family: var(--head); font-size: 44px; line-height: 1; color: var(--green); }
.step:nth-child(4) .step-num { color: var(--ink); }
.step h3 { font-family: var(--head); font-weight: 400; font-size: 19px; line-height: 1.1; text-transform: uppercase; }
.step p { font-size: 15px; margin-top: auto; }

/* ---------- Numbers ---------- */
.numbers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.numbers li { padding: 8px 24px; border-left: var(--line) solid var(--ink); display: flex; flex-direction: column; gap: 8px; }
.numbers li:first-child { border-left: 0; padding-left: 0; }
.numbers strong { font-family: var(--head); font-weight: 400; font-size: clamp(2.75rem, 6vw, 5rem); line-height: .9; letter-spacing: -.03em; }
.numbers span { font-size: 15px; max-width: 16em; }

/* ---------- Subscribe ---------- */
.sub-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.sub-copy .section-title { margin-bottom: 24px; }
.sub-copy > p { max-width: 30em; }
.ticks { margin-top: 28px; display: grid; gap: 12px; }
.ticks li { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.ticks li::before { content: ""; width: 20px; height: 20px; flex: none; background: var(--yellow); border: var(--line) solid var(--ink);
  box-shadow: inset 0 0 0 3px var(--yellow), inset 0 0 0 10px var(--ink); }
.sub-form {
  background: var(--white); color: var(--ink);
  border: var(--line) solid var(--ink); box-shadow: 10px 10px 0 var(--ink);
  padding: clamp(20px, 3vw, 32px);
  display: grid; gap: 24px;
}
.sub-form fieldset { border: 0; margin: 0; padding: 0; }
.sub-form legend { font-family: var(--pixel); font-size: 14px; text-transform: uppercase; margin-bottom: 10px; padding: 0; }
.select-wrap { display: block; position: relative; }
.select-wrap::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 10px; height: 10px; margin-top: -8px;
  border-right: 3px solid var(--ink); border-bottom: 3px solid var(--ink); transform: rotate(45deg); pointer-events: none;
}
.sub-form select {
  width: 100%; min-height: 52px; padding: 0 48px 0 16px; appearance: none; -webkit-appearance: none;
  border: var(--line) solid var(--ink); border-radius: 0; background: var(--bg); font-weight: 700; cursor: pointer;
}
.choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 52px; padding: 6px 8px; font-size: 14px; font-weight: 700;
  border: var(--line) solid var(--ink); background: var(--white);
  transition: transform .08s, box-shadow .08s, background-color .12s;
}
.choice:hover span { background: var(--bg); }
.choice input:checked + span { background: var(--yellow); box-shadow: 4px 4px 0 var(--ink); transform: translate(-2px, -2px); }
.choice input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 3px; }
.sub-total { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; border-top: var(--line) dashed var(--ink); padding-top: 20px; }
.sub-price { font-family: var(--head); font-size: 36px; line-height: 1; }
.sub-save { font-family: var(--pixel); font-size: 12px; text-transform: uppercase; color: var(--green); }
.sub-status:empty { display: none; }
.sub-status { background: var(--bg); border: var(--line) solid var(--ink); padding: 12px 16px; font-weight: 500; }

/* ---------- Reviews ---------- */
.quotes { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; }
.quote {
  margin: 0; background: var(--white);
  border: var(--line) solid var(--ink); box-shadow: 6px 6px 0 var(--c);
  padding: 28px; display: grid; gap: 20px;
}
.quote blockquote { margin: 0; }
.quote p { font-size: 18px; }
.quote-lg { grid-column: 1 / span 6; grid-row: span 2; background: var(--c); }
.quote-lg p { font-family: var(--head); font-size: clamp(22px, 2.4vw, 30px); line-height: 1.15; text-transform: none; }
.quote:nth-child(2) { grid-column: 8 / span 5; margin-top: 48px; }
.quote:nth-child(3) { grid-column: 7 / span 5; }
.quote figcaption { font-size: 14px; color: var(--muted); }
.quote-lg figcaption { color: var(--ink); }
.quote figcaption strong { color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--white); padding: clamp(64px, 8vw, 104px) 0 32px; border-top: var(--line) solid var(--ink); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; }
.footer-title { font-family: var(--head); font-weight: 400; font-size: clamp(1.75rem, 3.4vw, 2.75rem); line-height: 1; text-transform: uppercase; margin-bottom: 28px; max-width: 16em; }
.news-form { display: flex; gap: 12px; max-width: 560px; }
.news-form input {
  flex: 1; min-width: 0; min-height: 52px; padding: 0 16px;
  border: var(--line) solid var(--white); border-radius: 0; background: var(--ink); color: var(--white);
}
.news-form input::placeholder { color: #a9a9b2; }
.news-form input[aria-invalid="true"] { border-color: var(--red); }
.news-form .btn { box-shadow: 4px 4px 0 var(--white); }
.news-form .btn:active { box-shadow: 0 0 0 var(--white); }
.news-msg { margin-top: 12px; min-height: 1.6em; font-size: 15px; }
.news-msg.is-error { color: #ff8f78; }
.news-msg.is-ok { color: var(--yellow); }
.footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.footer-links h3 { font-family: var(--pixel); font-weight: 400; font-size: 14px; text-transform: uppercase; color: var(--yellow); margin-bottom: 12px; }
.footer-links a { display: block; padding: 8px 0; text-decoration: none; overflow-wrap: anywhere; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 64px; padding-top: 24px; border-top: 2px solid #3a3a42; font-size: 14px; color: #c4c4cc; }
.to-top { font-family: var(--pixel); text-transform: uppercase; text-decoration: none; color: var(--yellow); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 80;
  transform: translate(-50%, 140%);
  background: var(--yellow); border: var(--line) solid var(--ink); box-shadow: var(--shadow);
  padding: 12px 20px; font-weight: 700; max-width: calc(100% - 32px);
  transition: transform .35s cubic-bezier(.3, 1.4, .5, 1);
}
.toast.is-visible { transform: translate(-50%, 0); }
.toast:empty { visibility: hidden; }

/* ---------- Landing motion ---------- */
.js .drop-in:not(.is-landed) { opacity: 0; }
.js .drop-in.is-landed { animation: land .8s backwards; animation-delay: var(--d, 0s); }
@keyframes land {
  0% { transform: translateY(-90px); opacity: 0; animation-timing-function: cubic-bezier(.55, 0, 1, .45); }
  55% { transform: translateY(0); opacity: 1; animation-timing-function: cubic-bezier(0, .55, .45, 1); }
  72% { transform: translateY(-14px); animation-timing-function: cubic-bezier(.55, 0, 1, .45); }
  100% { transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .js .drop-in:not(.is-landed) { opacity: 1; }
  .js .drop-in.is-landed { animation: none; }
  .btn, .blend, .toast, .choice span { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .blend-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blend:nth-child(2) { margin-top: 56px; }
  .blend:nth-child(3) { margin-top: 0; }
  .blend:nth-child(4) { margin-top: 56px; }
  .brew-grid { grid-template-columns: 1fr; }
  .brew-head { position: static; }
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; margin: 0;
    background: var(--white); border-bottom: var(--line) solid var(--ink);
    padding: 8px var(--pad) 16px; display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { min-height: 52px; border: 0; border-bottom: 2px solid var(--bg); font-size: 16px; }
  .basket { margin-left: 4px; }
  .header-inner { position: relative; }
  .hero-grid { grid-template-columns: 1fr; }
  .drop-panel { justify-self: stretch; max-width: none; }
  .section-head { grid-template-columns: 1fr; }
  .section-intro { justify-self: start; }
  .numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .numbers li:nth-child(3) { border-left: 0; padding-left: 0; }
  .sub-grid { grid-template-columns: 1fr; }
  .quotes { grid-template-columns: 1fr; }
  .quote-lg, .quote:nth-child(2), .quote:nth-child(3) { grid-column: auto; grid-row: auto; margin-top: 0; }
  .quote:nth-child(2) { margin-left: 32px; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .blend-grid { grid-template-columns: 1fr; }
  .blend:nth-child(n) { margin-top: 0; }
  .stairs { grid-template-columns: 1fr; }
  .step:nth-child(n) { min-height: 0; }
  .step:nth-child(2) { margin-left: 16px; }
  .step:nth-child(3) { margin-left: 32px; }
  .step:nth-child(4) { margin-left: 48px; }
  .choices { grid-template-columns: 1fr; }
  .news-form { flex-direction: column; }
  .drop-bar { flex-wrap: wrap; }
  .drop-controls .btn { flex: 1 1 auto; }
  .quote:nth-child(2) { margin-left: 0; }
  .hero-actions .btn { flex: 1 1 100%; }
  .mark { box-shadow: 4px 4px 0 var(--ink); }
}
@media (max-width: 420px) {
  .numbers { grid-template-columns: 1fr; }
  .numbers li { border-left: 0; padding-left: 0; }
}