:root {
  --ink: #141414;
  --bone: #FAFAF7;
  --stone: #E4E1D8;
  --paper: #F4F2EC;
  --juice: #E0A63A;
  --grey: #7C7972;
  --line: rgba(20, 20, 20, .14);
  --sans: "Instrument Sans", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --pad: clamp(20px, 4vw, 48px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body { font-family: var(--sans); background: var(--paper); color: var(--ink); line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
.mono { font-family: var(--mono); }
.muted { color: var(--grey); }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 10px; top: 10px; background: var(--ink); color: var(--bone); padding: 8px 12px; z-index: 100; }
:focus-visible { outline: 2px solid var(--juice); outline-offset: 2px; }

/* rows mark */
.rw { display: inline-flex; gap: .064em; height: .72em; vertical-align: baseline; }
.rw i { display: block; min-width: 1px; width: .0434em; background: currentColor; }
.rw i.on { background: var(--juice); }

/* header */
.hdr { position: sticky; top: 0; z-index: 30; background: rgba(244, 242, 236, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.hdr .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 20px; }
.hdr .logo img { height: 24px; }
.hdr nav { display: flex; gap: 26px; align-items: center; font-family: var(--mono); font-size: 12.5px; }
.hdr nav a { text-decoration: none; opacity: .75; }
.hdr nav a:hover, .hdr nav a.cartbtn { opacity: 1; }
.cartbtn { font-family: var(--mono); font-size: 12.5px; background: var(--ink); color: var(--bone); border: 0; padding: 9px 14px; cursor: pointer; }
.cartbtn b { font-weight: 500; color: var(--juice); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--mono); font-size: 12.5px; padding: 12px 18px; background: var(--ink); color: var(--bone); border: 1px solid var(--ink); text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { background: #2a2a2a; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--bone); }
.btn.sm { padding: 8px 12px; font-size: 11.5px; }
.btn:disabled { opacity: .35; cursor: not-allowed; }
.btn.juice { background: var(--juice); border-color: var(--juice); color: var(--ink); }

/* sections */
.sec { padding: clamp(70px, 9vw, 120px) 0; border-top: 1px solid var(--line); }
.eyebrow { font-family: var(--mono); font-size: 12px; color: var(--grey); margin-bottom: 18px; }
h1, h2 { font-weight: 500; letter-spacing: -.05em; line-height: .98; }
h2 { font-size: clamp(40px, 6vw, 80px); margin-bottom: 22px; }
h3 { font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; max-width: 50ch; }

/* hero */
.hero { padding: clamp(50px, 8vw, 100px) 0 clamp(50px, 7vw, 80px); }
.hero .wrap { display: grid; grid-template-columns: 1fr; gap: 30px; }
.hero .wrap > div:last-child { max-width: 480px; justify-self: end; }
.hero h1 { font-size: clamp(52px, 10.5vw, 138px); }
.hero .ctas { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }

/* edition list */
.elist { width: 100%; border-collapse: collapse; }
.elist th { font-family: var(--mono); font-weight: 400; font-size: 11px; color: var(--grey); text-align: left; padding: 0 12px 12px 0; border-bottom: 1px solid var(--ink); }
.elist td { padding: 18px 12px 18px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.elist tr.link { cursor: pointer; }
.elist tr.link:hover td { background: rgba(20,20,20,.03); }
.elist .n { font-size: clamp(34px, 4vw, 48px); font-weight: 500; letter-spacing: -.06em; line-height: 1; width: 1%; padding-right: 28px; white-space: nowrap; }
.elist .n a { text-decoration: none; }
.elist .v { font-size: 18px; font-weight: 500; letter-spacing: -.02em; }
.elist .d { font-family: var(--mono); font-size: 12.5px; }
.elist .act { text-align: right; white-space: nowrap; }
.elist tr.off td { color: var(--grey); }
.elist tr.blend .n { color: var(--juice); }
.stock { width: 110px; height: 4px; background: var(--stone); position: relative; }
.stock i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--ink); }
.status { font-family: var(--mono); font-size: 11.5px; }
.status.off { text-decoration: line-through; color: var(--grey); }
.status.hot { color: #B5651D; }
.pill { font-family: var(--mono); font-size: 10.5px; background: var(--juice); color: var(--ink); padding: 2px 7px; margin-left: 8px; vertical-align: middle; }
.sizes { display: inline-flex; gap: 6px; }

/* how */
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 50px; }
.how div { background: var(--paper); padding: 26px; }
.how b { font-family: var(--mono); font-weight: 500; font-size: 12px; color: var(--grey); display: block; margin-bottom: 30px; }

/* plans */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.plan { background: var(--bone); border: 1px solid var(--line); padding: 26px; display: flex; flex-direction: column; gap: 10px; cursor: pointer; position: relative; }
.plan input { position: absolute; opacity: 0; }
.plan .price { font-size: 44px; font-weight: 500; letter-spacing: -.05em; line-height: 1; margin-top: auto; padding-top: 20px; }
.plan .price small { font-family: var(--mono); font-size: 12px; letter-spacing: 0; color: var(--grey); }
.plan:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.plan:has(input:checked)::after { content: "ales"; position: absolute; top: 18px; right: 18px; font-family: var(--mono); font-size: 11px; background: var(--ink); color: var(--bone); padding: 2px 8px; }

/* forms */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .full { grid-column: 1 / -1; }
.field label { display: block; font-family: var(--mono); font-size: 11px; color: var(--grey); margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; background: var(--bone); border: 1px solid var(--line); padding: 11px 12px; font-size: 15px; border-radius: 0; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: none; }
.field .err { font-family: var(--mono); font-size: 11px; color: #B3261E; margin-top: 4px; min-height: 0; }
.field.bad input, .field.bad select { border-color: #B3261E; }

/* orchard */
.orch { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 34px; }
.facts div { background: var(--paper); padding: 18px; }
.facts b { display: block; font-size: 36px; font-weight: 500; letter-spacing: -.05em; line-height: 1; }
.facts span { font-family: var(--mono); font-size: 11px; color: var(--grey); }
.map { background: var(--stone); }
.map svg { display: block; width: 100%; height: auto; }

/* partners */
.partners { margin-top: 36px; border-top: 1px solid var(--ink); }
.partners div { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.partners b { font-weight: 500; }

/* newsletter */
.news { background: var(--ink); color: var(--bone); }
.news .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.news form { display: flex; gap: 0; }
.news input { flex: 1; background: transparent; border: 1px solid rgba(250,250,247,.4); border-right: 0; padding: 13px 14px; color: var(--bone); font-size: 15px; }
.news input::placeholder { color: rgba(250,250,247,.45); }
.news .btn { background: var(--juice); border-color: var(--juice); color: var(--ink); }
.news .ok { font-family: var(--mono); font-size: 12px; color: var(--juice); margin-top: 10px; min-height: 18px; }

footer { background: var(--ink); color: var(--bone); border-top: 1px solid rgba(250,250,247,.12); padding: 44px 0; font-family: var(--mono); font-size: 12px; }
footer .wrap { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 30px; }
footer a { text-decoration: none; opacity: .7; display: block; line-height: 2; }
footer a:hover { opacity: 1; }
footer .small { opacity: .5; margin-top: 30px; grid-column: 1 / -1; }

/* cart drawer */
.scrim { position: fixed; inset: 0; background: rgba(20,20,20,.4); opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 50; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(460px, 100vw); background: var(--paper); z-index: 51; transform: translateX(100%); transition: transform .25s ease; display: flex; flex-direction: column; }
body.cart-open .scrim { opacity: 1; pointer-events: auto; }
body.cart-open .drawer { transform: none; }
.drawer .top { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer .top h3 { font-size: 22px; }
.drawer .x { background: none; border: 0; font-family: var(--mono); font-size: 12px; cursor: pointer; }
.drawer .body { flex: 1; overflow: auto; padding: 8px 24px 24px; }
.drawer .foot { border-top: 1px solid var(--line); padding: 18px 24px 22px; background: var(--bone); }
.line { display: grid; grid-template-columns: 54px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line .num { font-size: 34px; font-weight: 500; letter-spacing: -.06em; line-height: 1; }
.line .num.blend { color: var(--juice); }
.line .t { font-weight: 500; letter-spacing: -.01em; }
.line .s { font-family: var(--mono); font-size: 11px; color: var(--grey); }
.qty { display: inline-flex; border: 1px solid var(--line); margin-top: 6px; }
.qty button { width: 28px; height: 28px; background: none; border: 0; cursor: pointer; font-family: var(--mono); }
.qty span { width: 30px; text-align: center; line-height: 28px; font-family: var(--mono); font-size: 12px; }
.line .p { font-family: var(--mono); font-size: 13px; text-align: right; }
.line .rm { background: none; border: 0; font-family: var(--mono); font-size: 10.5px; color: var(--grey); cursor: pointer; text-decoration: underline; margin-top: 6px; }
.sum { font-family: var(--mono); font-size: 12.5px; }
.sum div { display: flex; justify-content: space-between; padding: 3px 0; }
.sum .tot { font-size: 15px; font-weight: 500; border-top: 1px solid var(--ink); margin-top: 8px; padding-top: 10px; }
.hint { font-family: var(--mono); font-size: 11px; color: var(--grey); margin-top: 10px; }
.empty { padding: 50px 0; text-align: center; }
.empty .big { font-size: 90px; font-weight: 500; letter-spacing: -.06em; line-height: 1; color: var(--stone); }
.sendbox { display: grid; gap: 10px; margin-top: 16px; }
.done-num { font-size: 60px; font-weight: 500; letter-spacing: -.05em; line-height: 1; margin: 20px 0 8px; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 30px); background: var(--ink); color: var(--bone); font-family: var(--mono); font-size: 12.5px; padding: 12px 18px; opacity: 0; transition: all .25s; z-index: 60; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* edition page */
.crumb { font-family: var(--mono); font-size: 12px; padding: 26px 0 0; }
.crumb a { text-decoration: none; color: var(--grey); }
.ehero { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 5vw, 70px); padding: 30px 0 80px; align-items: start; }
.ehero .bignum { font-size: clamp(170px, 26vw, 360px); font-weight: 500; letter-spacing: -.075em; line-height: .76; margin-left: -.04em; }
.ehero .bignum.blend { color: var(--juice); }
.ehero .var { display: flex; justify-content: space-between; align-items: baseline; margin-top: 26px; font-size: clamp(34px, 4vw, 52px); font-weight: 500; letter-spacing: -.04em; border-bottom: 1px solid var(--ink); padding-bottom: 14px; }
.ehero .var .rw { font-size: 1.1em; }
.buy { background: var(--bone); border: 1px solid var(--line); padding: 26px; position: sticky; top: 84px; }
.buy .ed { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; color: var(--grey); }
.buy .price { font-size: 56px; font-weight: 500; letter-spacing: -.05em; line-height: 1; margin: 20px 0 4px; }
.buy .price small { font-family: var(--mono); font-size: 12px; letter-spacing: 0; color: var(--grey); }
.seg { display: flex; border: 1px solid var(--ink); margin-top: 18px; }
.seg button { flex: 1; background: none; border: 0; padding: 11px; font-family: var(--mono); font-size: 12.5px; cursor: pointer; }
.seg button + button { border-left: 1px solid var(--ink); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--bone); }
.seg button:disabled { color: var(--grey); text-decoration: line-through; cursor: not-allowed; }
.buyrow { display: flex; gap: 10px; margin-top: 12px; }
.buyrow .qty { margin: 0; border-color: var(--ink); }
.buyrow .qty button, .buyrow .qty span { height: 44px; line-height: 44px; }
.buyrow .btn { flex: 1; }
.dt { font-family: var(--mono); font-size: 12.5px; margin-top: 22px; }
.dt div { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); }
.dt div span:first-child { color: var(--grey); }
.soldout { background: var(--ink); color: var(--bone); padding: 18px 20px; margin-top: 16px; font-size: 14px; }
.soldout b { color: var(--juice); font-weight: 500; }

.egrid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); }
.photo { aspect-ratio: 4/3; background: repeating-linear-gradient(-8deg, #D9D5CA 0 16px, #D1CCC0 16px 32px); display: flex; align-items: flex-end; padding: 14px; font-family: var(--mono); font-size: 11px; color: var(--grey); }
.quote { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.3; letter-spacing: -.02em; }
.taste div { display: grid; grid-template-columns: 70px 1fr 40px; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 12px; }
.taste .bar { height: 6px; background: var(--stone); position: relative; }
.taste .bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--ink); }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 30px; }
.steps div { background: var(--paper); padding: 18px; font-size: 14px; }
.steps b { display: block; font-family: var(--mono); font-weight: 500; font-size: 11px; color: var(--grey); margin-bottom: 20px; }
.others { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 30px; }
.ocard { background: var(--bone); border: 1px solid var(--line); padding: 18px; text-decoration: none; display: flex; flex-direction: column; min-height: 200px; }
.ocard:hover { border-color: var(--ink); }
.ocard .n { font-size: 72px; font-weight: 500; letter-spacing: -.065em; line-height: .8; margin-top: auto; }
.ocard.blend .n { color: var(--juice); }
.ocard.off { opacity: .5; }
.ocard .v { display: flex; justify-content: space-between; align-items: baseline; margin-top: 10px; font-weight: 500; }
.notfound { padding-top: 120px; padding-bottom: 120px; }

@media (max-width: 900px) {
  .hdr nav a:not(.cartbtn) { display: none; }
  .hero .wrap > div:last-child { justify-self: start; }
  .orch, .news .wrap, .ehero, .egrid { grid-template-columns: 1fr; }
  .how, .plans, .steps { grid-template-columns: 1fr; }
  .others { grid-template-columns: 1fr 1fr; }
  .elist .hide-m { display: none; }
  .form { grid-template-columns: 1fr; }
  .partners div { grid-template-columns: 1fr; gap: 2px; }
  footer .wrap { grid-template-columns: 1fr 1fr; }
  .buy { position: static; }
}

/* edition list → stacked rows on phones */
@media (max-width: 700px) {
  .elist thead { display: none; }
  .elist, .elist tbody { display: block; }
  .elist tr { display: grid; grid-template-columns: auto 1fr auto; align-items: center; column-gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .elist td { padding: 0; border: 0; }
  .elist td.hide-m { display: none; }
  .elist .n { padding-right: 0; }
  .elist .act { grid-column: 1 / -1; text-align: left; margin-top: 12px; }
  .elist .sizes { flex-wrap: wrap; }
  .elist .act .btn { padding: 10px 12px; }
  .news form { flex-direction: column; gap: 8px; }
  .news input { border-right: 1px solid rgba(250,250,247,.4); }
  .ehero .var .rw { font-size: .9em; }
}

/* ---------- modes ---------- */
body.pre [data-live] { display: none !important; }
body:not(.pre) [data-pre] { display: none !important; }
.modebadge { position: fixed; left: 16px; bottom: 16px; z-index: 40; font-family: var(--mono); font-size: 11px; background: var(--juice); color: var(--ink); padding: 7px 10px; text-decoration: none; }

/* pre-launch hero */
.pre-hero h1 span[data-months] { color: var(--ink); }

/* timeline */
.timeline { list-style: none; margin-top: 44px; border-top: 1px solid var(--ink); }
.timeline li { display: grid; grid-template-columns: 170px 110px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.timeline .when { font-family: var(--mono); font-size: 12.5px; }
.timeline .st { font-family: var(--mono); font-size: 11px; justify-self: start; padding: 3px 8px; border: 1px solid var(--line); color: var(--grey); }
.timeline li.now .st { background: var(--juice); border-color: var(--juice); color: var(--ink); }
.timeline li.done .st { background: var(--ink); border-color: var(--ink); color: var(--bone); }
.timeline li.done .t, .timeline li.done p { color: var(--grey); }
.timeline .t { font-size: 24px; font-weight: 500; letter-spacing: -.03em; }
.timeline p { color: var(--grey); margin-top: 4px; max-width: 60ch; }
.timeline li.goal .t { font-size: 34px; }
.timeline li.goal .t::after { content: ""; display: inline-block; width: 12px; height: 12px; background: var(--juice); margin-left: 12px; vertical-align: middle; }

/* waitlist */
.wl { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.wlform { display: grid; gap: 16px; background: var(--bone); border: 1px solid var(--line); padding: 26px; }
.wlform fieldset { border: 0; }
.wlform legend { font-family: var(--mono); font-size: 11px; color: var(--grey); margin-bottom: 8px; }
.opts { display: grid; gap: 8px; }
.opts label { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); padding: 11px 12px; cursor: pointer; font-size: 15px; background: var(--paper); }
.opts label:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: var(--bone); }
.opts label, .consent label { font-family: var(--sans); color: var(--ink); margin: 0; }
.field .opts input, .field.consent input { width: auto; padding: 0; flex: none; background: none; border: 0; accent-color: var(--ink); }
.consent label { display: flex; gap: 10px; align-items: flex-start; font-family: var(--sans); font-size: 13px; color: var(--ink); cursor: pointer; }
.consent input { margin-top: 3px; accent-color: var(--ink); }
.field.bad.consent label { color: #B3261E; }
.wldone { background: var(--ink); color: var(--bone); padding: 30px; }
.wldone .done-num { margin-top: 0; }
.wldone .btn { background: var(--juice); border-color: var(--juice); color: var(--ink); }
.wldone .btn.ghost { background: transparent; color: var(--bone); border-color: rgba(250,250,247,.5); }
[hidden] { display: none !important; }

@media (max-width: 900px) {
  .wl { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 1fr; gap: 6px; }
}
