/* Orsó Kávé — demo landing page (AVANT Marketing) */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/fraunces-latin-opsz-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/fraunces-latin-ext-opsz-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/fraunces-latin-opsz-italic.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/fraunces-latin-ext-opsz-italic.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/instrument-sans-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/instrument-sans-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --paper: #F3EADB;
  --paper-2: #EADDC7;
  --paper-3: #E2D0B4;
  --card: #FBF6EC;
  --ink: #241914;
  --ink-2: #4A372C;
  --muted: #6F5A4A;
  --line: rgba(36, 25, 20, .14);
  --forest: #2F4A3A;
  --forest-2: #263D30;
  --sage: #A9B596;
  --mustard: #D9A441;
  --mustard-light: #E6B95A;
  --rose: #C98F84;
  --berry: #7D2E3E;
  --focus: #2F4A3A;

  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 18px;
  --radius-sm: 10px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 68px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.05; letter-spacing: -.02em; margin: 0; font-optical-sizing: auto; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible, .drawer .btn-primary:focus-visible { outline-color: var(--mustard-light); }

.sr-only { 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-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 999px; text-decoration: none; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 12px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .32;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .14 0 0 0 0 .09 0 0 0 0 .06 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 10vw, 128px); }

.eyebrow {
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: currentColor; opacity: .7; }
.on-dark .eyebrow { color: var(--mustard-light); }

.fine { font-size: .82rem; color: var(--muted); }
.center { text-align: center; }

/* Buttons */
.btn {
  --bg: transparent; --fg: var(--ink); --bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px;
  background: var(--bg); color: var(--fg); border: 1.5px solid var(--bd);
  font-weight: 600; font-size: .98rem; letter-spacing: .005em; text-decoration: none; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { --bg: var(--ink); --fg: var(--paper); --bd: var(--ink); }
.btn-primary:hover { --bg: var(--forest); --bd: var(--forest); }
.on-dark .btn-primary, .sub-card .btn-primary { --bg: var(--ink); }
.btn-ghost:hover { --bg: var(--ink); --fg: var(--paper); }
.btn-block { width: 100%; }

/* Top bar */
.topbar { background: var(--ink); color: var(--paper); font-size: .8rem; letter-spacing: .02em; }
.topbar p { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 12px; padding: 8px var(--gutter); text-align: center; }
.topbar strong { color: var(--mustard-light); font-weight: 600; }
.topbar-sep { opacity: .5; }

/* Header */
.site-header {
  position: sticky; top: 0; left: 0; right: 0; width: 100%; z-index: 60;
  background: rgba(243, 234, 219, .86);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo-mark { width: 30px; height: 30px; color: var(--berry); }
.logo-word { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; line-height: 1; }
.logo-word span { font-style: italic; font-weight: 400; }
.logo-light { color: var(--paper); }
.logo-light .logo-mark { color: var(--mustard-light); }

.main-nav ul { list-style: none; display: flex; gap: 6px; }
.main-nav a { display: block; padding: 10px 14px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .96rem; transition: background-color .2s; }
.main-nav a:hover { background: rgba(36, 25, 20, .07); }

.header-actions { display: flex; align-items: center; gap: 8px; }
.cart-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 10px 8px 14px;
  border-radius: 999px; border: 1.5px solid var(--ink); background: transparent; cursor: pointer; font-weight: 600; font-size: .95rem;
  transition: background-color .2s, color .2s;
}
.cart-btn:hover { background: var(--ink); color: var(--paper); }
.cart-btn svg { width: 20px; height: 20px; }
.cart-count {
  min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px; display: inline-grid; place-items: center;
  background: var(--mustard); color: var(--ink); font-size: .8rem; font-weight: 700; font-variant-numeric: tabular-nums;
}
.cart-count.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

.menu-btn { display: none; width: 44px; height: 44px; border-radius: 999px; border: 1.5px solid var(--line); background: transparent; cursor: pointer; place-items: center; }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 18px; height: 1.8px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.menu-icon { position: relative; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -6px; }
.menu-icon::after { top: 6px; }
.menu-btn[aria-expanded="true"] .menu-icon { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-icon::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-icon::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 820px) {
  .menu-btn { display: inline-grid; }
  .cart-btn-label { display: none; }
  .js .main-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px -20px rgba(36, 25, 20, .35);
    display: none;
  }
  .js .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; padding: 8px var(--gutter) 16px; gap: 0; }
  .main-nav a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 1.35rem; }
  .main-nav li:last-child a { border-bottom: 0; }
  html:not(.js) .main-nav { display: none; }
}

/* Hero */
.hero { padding-block: clamp(32px, 6vw, 72px) clamp(48px, 7vw, 96px); position: relative; }
.hero-grid { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); } }
.hero h1 { font-size: clamp(2.6rem, 6.2vw, 5.1rem); font-weight: 450; letter-spacing: -.03em; line-height: 1.0; }
.hero h1 em { font-style: italic; font-weight: 400; color: var(--berry); }
.lede { font-size: clamp(1.06rem, 1.4vw, 1.22rem); color: var(--ink-2); max-width: 36em; margin-top: 24px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-facts { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); max-width: 560px; }
.hero-facts strong { display: block; font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.1; }
.hero-facts span { display: block; font-size: .85rem; color: var(--muted); line-height: 1.35; margin-top: 4px; }

.hero-visual { position: relative; max-width: 560px; width: 100%; margin-inline: auto; }
.hero-arch {
  position: absolute; inset: 6% 8% 4% 8%;
  border-radius: 999px 999px 28px 28px;
  background:
    radial-gradient(120% 80% at 30% 15%, rgba(255, 255, 255, .45), transparent 60%),
    linear-gradient(170deg, #E9C3A6 0%, #D9A07F 55%, #C98468 100%);
  box-shadow: inset 0 0 0 1px rgba(36, 25, 20, .06);
}
.hero-arch::after {
  content: ""; position: absolute; inset: 14px; border-radius: inherit; border: 1px solid rgba(255, 255, 255, .45);
}
.hero-bags { position: relative; width: 100%; height: auto; }
.hero-bags > g { filter: drop-shadow(0 24px 22px rgba(60, 30, 15, .22)); }
.stamp { position: absolute; width: clamp(96px, 22%, 128px); left: 0; top: 4%; transform: rotate(-8deg); }
.stamp svg { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 10px 14px rgba(36, 25, 20, .18)); }
.stamp-ring { transform-origin: 60px 60px; animation: spin 28s linear infinite; }
.stamp-text { font-family: var(--sans); font-size: 9.6px; font-weight: 700; letter-spacing: .14em; fill: var(--ink); }
.stamp-small { font-family: var(--sans); font-size: 8px; font-weight: 700; letter-spacing: .18em; fill: var(--ink); opacity: .7; }
.stamp-date { font-family: var(--serif); font-size: 15px; font-weight: 600; fill: var(--ink); letter-spacing: .01em; }
@keyframes spin { to { transform: rotate(360deg); } }

/* SVG bag label typography */
.b-brand { font-family: var(--sans); font-size: 8.5px; font-weight: 700; letter-spacing: .26em; fill: #241914; }
.b-name { font-family: var(--serif); font-size: 23px; font-weight: 500; font-style: italic; fill: #241914; letter-spacing: -.01em; }
.b-origin { font-family: var(--sans); font-size: 8.5px; font-weight: 500; fill: #4A372C; letter-spacing: .04em; }
.b-meta { font-family: var(--sans); font-size: 7.5px; font-weight: 700; letter-spacing: .16em; fill: #4A372C; }

/* Ticker */
.ticker { border-block: 1px solid var(--line); overflow: hidden; background: var(--paper-2); }
.ticker-track { display: flex; width: max-content; animation: ticker 48s linear infinite; }
.ticker span { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2.4vw, 1.9rem); padding: 14px 0; white-space: nowrap; color: var(--ink-2); }
.ticker span::after { content: "✺"; font-style: normal; font-size: .6em; color: var(--berry); margin-inline: 28px; vertical-align: .25em; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Section heads */
.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2, .sub-copy h2, .story-text h2, .news-copy h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
.section-head > p:not(.eyebrow) { color: var(--ink-2); margin-top: 18px; font-size: 1.08rem; }
.section-head-row { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }

/* Products */
.product-grid { list-style: none; display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.product {
  display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius);
  border: 1px solid var(--line); overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.product:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(36, 25, 20, .45); }
.product-media { position: relative; background: var(--tint); padding: 28px 18% 14px; aspect-ratio: 5 / 4.6; display: grid; place-items: center; overflow: hidden; }
.product-media::before {
  content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; left: 11%; top: 14%;
  background: radial-gradient(circle, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 70%);
}
.product-media svg { position: relative; height: 100%; width: auto; transition: transform .6s var(--ease); }
.product:hover .product-media svg { transform: rotate(-3deg) translateY(-4px); }
.product-tag {
  position: absolute; z-index: 1; top: 14px; left: 14px; padding: 5px 11px; border-radius: 999px;
  background: var(--ink); color: var(--paper); font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
}
.product-body { display: flex; flex-direction: column; gap: 12px; padding: 20px 20px 22px; flex: 1; }
.product-origin { font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.product h3 { font-size: 1.55rem; line-height: 1.1; }
.notes { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.notes li { font-size: .82rem; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); }
.roast { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: .84rem; }
.roast-label { color: var(--ink-2); font-weight: 500; }
.roast-scale { display: inline-flex; gap: 4px; }
.roast-scale i { width: 20px; height: 6px; border-radius: 3px; background: var(--paper-3); }
.roast-scale i:nth-child(1) { --c: #C99A6B; }
.roast-scale i:nth-child(2) { --c: #A9744A; }
.roast-scale i:nth-child(3) { --c: #855333; }
.roast-scale i:nth-child(4) { --c: #5E3A24; }
.roast-scale i:nth-child(5) { --c: #3A2216; }
.roast-scale[data-lvl="1"] i:nth-child(-n+1),
.roast-scale[data-lvl="2"] i:nth-child(-n+2),
.roast-scale[data-lvl="3"] i:nth-child(-n+3),
.roast-scale[data-lvl="4"] i:nth-child(-n+4),
.roast-scale[data-lvl="5"] i:nth-child(-n+5) { background: var(--c); }
.product-use { font-size: .88rem; color: var(--muted); }
.product-foot { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price span { font-family: var(--serif); font-size: 1.45rem; font-weight: 500; letter-spacing: -.01em; font-variant-numeric: lining-nums; }
.price small { color: var(--muted); font-size: .82rem; }
.btn-add { --bg: var(--ink); --fg: var(--paper); --bd: var(--ink); min-height: 44px; padding: 10px 18px; font-size: .92rem; }
.btn-add:hover { --bg: var(--forest); --bd: var(--forest); }
.btn-add.is-added { --bg: var(--forest); --bd: var(--forest); }

/* Subscription */
.subscription { background: var(--forest); color: var(--paper); position: relative; overflow: hidden; }
.subscription::before {
  content: ""; position: absolute; right: -180px; top: -180px; width: 520px; height: 520px; border-radius: 50%;
  border: 1px solid rgba(243, 234, 219, .12); box-shadow: 0 0 0 60px rgba(243, 234, 219, .025), 0 0 0 120px rgba(243, 234, 219, .02);
}
.sub-grid { display: grid; gap: clamp(36px, 5vw, 72px); align-items: start; position: relative; }
@media (min-width: 960px) { .sub-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; } }
.sub-copy > p:not(.eyebrow) { margin-top: 20px; color: rgba(243, 234, 219, .82); max-width: 32em; font-size: 1.08rem; }
.checklist { list-style: none; margin-top: 28px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background-color: var(--mustard-light);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6.5 11.5l3 3 6-7' fill='none' stroke='%23241914' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.sub-card { background: var(--card); color: var(--ink); border-radius: calc(var(--radius) + 6px); padding: clamp(20px, 3.2vw, 36px); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .55); display: grid; gap: 22px; }
.sub-card :focus-visible { outline-color: var(--focus); }
.sub-card h3 { font-size: 1.8rem; }
.choice-group { border: 0; margin: 0; padding: 0; min-width: 0; }
.choice-group legend { font-weight: 600; font-size: .9rem; margin-bottom: 10px; padding: 0; }
.choices { display: grid; gap: 8px; }
.choices-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice-box {
  display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 14px 12px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line); background: var(--paper); transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.choice:hover .choice-box { border-color: rgba(36, 25, 20, .4); }
.choice-title { font-family: var(--serif); font-size: 1.2rem; font-weight: 500; line-height: 1.15; }
.choice-sub { font-size: .8rem; color: var(--muted); line-height: 1.3; }
.choice input:checked + .choice-box { border-color: var(--ink); background: var(--card); box-shadow: inset 0 0 0 1px var(--ink); }
.choice input:checked + .choice-box .choice-sub { color: var(--ink-2); }
.choice input:focus-visible + .choice-box { outline: 3px solid var(--focus); outline-offset: 2px; }
.sub-selects { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field { display: grid; gap: 6px; font-size: .9rem; font-weight: 600; }
.field select {
  appearance: none; -webkit-appearance: none; width: 100%; min-height: 48px; padding: 10px 40px 10px 14px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line); background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23241914' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center / 12px 8px;
  font-weight: 500; font-size: .95rem; cursor: pointer;
}
.field select:hover { border-color: rgba(36, 25, 20, .4); }
.sub-summary { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 20px; padding: 18px 20px; border-radius: var(--radius-sm); background: var(--paper-2); }
.sub-price-label { font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.sub-price { display: flex; align-items: baseline; gap: 10px; margin-top: 2px; }
.sub-price span { font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 500; letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums lining-nums; }
.sub-price s { color: var(--muted); font-size: .95rem; }
.sub-meta { font-size: .88rem; color: var(--ink-2); text-align: right; }
.sub-meta span:last-child { color: var(--forest); font-weight: 600; }
.sub-card .fine { text-align: center; margin-top: -10px; }
@media (max-width: 480px) {
  .sub-selects { grid-template-columns: 1fr; }
  .choices { gap: 6px; }
  .choice-box { padding: 11px 9px; }
  .choice-title { font-size: .98rem; letter-spacing: -.01em; }
  .sub-card { padding: 20px 16px; }
  .sub-meta { text-align: left; }
}

/* Story */
.story-grid { display: grid; gap: clamp(36px, 5vw, 72px); align-items: center; }
@media (min-width: 960px) { .story-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.story-text p:not(.eyebrow) { color: var(--ink-2); margin-top: 20px; max-width: 34em; }
.dropcap::first-letter { float: left; font-family: var(--serif); font-size: 4.2em; line-height: .86; padding: 6px 10px 0 0; color: var(--berry); font-weight: 500; }
.curve-card { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(16px, 3vw, 28px); }
.curve-card svg { width: 100%; height: auto; overflow: visible; }
.curve-grid path { stroke: var(--line); stroke-width: 1; fill: none; }
.curve-axis text { font-family: var(--sans); font-size: 12px; fill: var(--muted); }
.curve-fill { fill: var(--rose); opacity: .18; }
.curve-line { fill: none; stroke: var(--berry); stroke-width: 3; stroke-linecap: round; }
.js .curve-line { stroke-dasharray: 520; stroke-dashoffset: 520; transition: stroke-dashoffset 1.8s var(--ease) .2s; }
.js .is-in .curve-line { stroke-dashoffset: 0; }
.curve-mark line { stroke: var(--ink); stroke-opacity: .35; stroke-dasharray: 3 3; }
.curve-mark circle { fill: var(--card); stroke: var(--ink); stroke-width: 2; }
.curve-mark text { font-family: var(--sans); font-size: 13px; font-weight: 600; fill: var(--ink); }
.curve-end circle { fill: var(--berry); stroke: var(--berry); }
.curve-end text:last-child { font-family: var(--serif); font-size: 18px; font-weight: 500; }
.curve-card figcaption { font-size: .85rem; color: var(--muted); margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }

.week { margin-top: clamp(56px, 8vw, 96px); }
.week-title { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 24px; }
.week-steps { list-style: none; display: grid; gap: 0; grid-template-columns: 1fr; border-top: 1.5px solid var(--ink); counter-reset: step; }
@media (min-width: 720px) { .week-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .week-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.week-steps li { padding: 22px 24px 24px 0; border-bottom: 1px solid var(--line); counter-increment: step; position: relative; }
@media (min-width: 720px) { .week-steps li { padding-right: 28px; } .week-steps li + li { padding-left: 0; } }
.week-steps li::before { content: "0" counter(step); position: absolute; right: 24px; top: 20px; font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--berry); }
.week-day { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.week-steps strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.4rem; letter-spacing: -.01em; margin-top: 6px; }
.week-steps p { font-size: .95rem; color: var(--ink-2); margin-top: 8px; max-width: 28em; }

/* Reviews */
.reviews { background: var(--paper-2); }
.rating { display: inline-flex; align-items: center; gap: 10px; font-size: .95rem; padding: 10px 16px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); }
.stars { color: var(--mustard); letter-spacing: .1em; }
.review-grid { list-style: none; display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .review-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.review { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: clamp(22px, 3vw, 32px); background: var(--card); border-radius: var(--radius); border: 1px solid var(--line); }
.review blockquote { margin: 0; }
.review blockquote p { font-family: var(--serif); font-size: clamp(1.15rem, 1.6vw, 1.32rem); line-height: 1.4; letter-spacing: -.005em; font-weight: 400; }
.review-by { display: flex; align-items: center; gap: 12px; font-size: .92rem; line-height: 1.35; }
.review-by small { color: var(--muted); font-size: .82rem; }
.avatar { flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--a); color: var(--ink); display: grid; place-items: center; font-family: var(--serif); font-weight: 600; font-size: 1rem; }
.reviews .fine { margin-top: 28px; }

/* FAQ */
.faq-grid { display: grid; gap: clamp(28px, 5vw, 72px); }
@media (min-width: 960px) { .faq-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; } .faq .section-head { position: sticky; top: calc(var(--header-h) + 32px); } }
.accordion { border-top: 1.5px solid var(--ink); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 4px; font-family: var(--serif); font-size: clamp(1.15rem, 1.8vw, 1.4rem); font-weight: 500; letter-spacing: -.01em; line-height: 1.25;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--line);
  background:
    linear-gradient(var(--ink), var(--ink)) center / 12px 1.6px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.6px 12px no-repeat;
  transition: transform .3s var(--ease), background-color .2s, border-color .2s;
}
.accordion summary:hover::after { border-color: var(--ink); }
.accordion details[open] summary::after { transform: rotate(45deg); background-color: var(--mustard); border-color: var(--mustard); }
.accordion summary:focus-visible { outline-offset: -2px; border-radius: 4px; }
.acc-body { padding: 0 52px 24px 4px; color: var(--ink-2); }
.accordion details[open] .acc-body { animation: fadeDown .35s var(--ease); }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-6px); } }

/* Newsletter */
.newsletter { padding-top: 0; }
.news-card {
  position: relative; overflow: hidden; display: grid; gap: 24px; align-items: center;
  padding: clamp(28px, 5vw, 64px); border-radius: calc(var(--radius) + 10px);
  background: radial-gradient(120% 120% at 100% 0%, #F0D9A3 0%, #E6B95A 45%, #D9A441 100%);
}
@media (min-width: 960px) { .news-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 64px; } .news-card .news-form, .news-card .news-success { grid-column: 2; grid-row: 1; } }
.news-beans { position: absolute; width: 150px; right: -44px; top: -46px; opacity: .45; pointer-events: none; }
@media (min-width: 960px) { .news-beans { right: auto; top: auto; left: 42%; bottom: -50px; width: 200px; opacity: .55; } }
.news-copy { position: relative; }
.news-copy .eyebrow { color: var(--ink-2); }
.news-copy > p:not(.eyebrow) { margin-top: 16px; color: var(--ink-2); max-width: 30em; }
.news-form { position: relative; display: grid; gap: 10px; }
.news-row { display: flex; gap: 8px; padding: 6px; background: var(--card); border-radius: 999px; box-shadow: 0 16px 30px -20px rgba(36, 25, 20, .5); }
.news-row input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 16px; min-height: 48px; font-size: 1rem; border-radius: 999px; }
.news-row input::placeholder { color: #8E7A69; }
.news-row input:focus-visible { outline: none; }
.news-row:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.news-row:has(input[aria-invalid="true"]) { box-shadow: 0 0 0 2px var(--berry), 0 16px 30px -20px rgba(36, 25, 20, .5); }
.news-error { color: var(--berry); font-weight: 600; font-size: .9rem; min-height: 0; padding-left: 18px; }
.news-error:empty { display: none; }
.news-form .fine { color: var(--ink-2); padding-left: 18px; }
@media (max-width: 480px) {
  .news-row { flex-direction: column; border-radius: 18px; }
  .news-row input { min-height: 52px; }
  .news-row .btn { width: 100%; }
}
.news-success { position: relative; display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--radius); background: var(--card); }
.news-success:focus { outline: none; }
.news-success svg { flex: none; width: 44px; height: 44px; color: var(--forest); }
.news-success-title { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; margin-bottom: 4px; }
.news-success p:not(.news-success-title) { color: var(--ink-2); font-size: .95rem; }
.news-success.is-shown { animation: pop .5s var(--ease); }
@keyframes pop { from { opacity: 0; transform: scale(.97); } }

/* Footer */
.site-footer { background: var(--ink); color: var(--paper); padding: clamp(56px, 8vw, 88px) 0 calc(28px + 64px); }
.footer-top { display: grid; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(243, 234, 219, .14); }
@media (min-width: 820px) { .footer-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); } }
.footer-brand p { margin-top: 14px; color: rgba(243, 234, 219, .7); max-width: 26em; }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.footer-cols h2 { font-family: var(--sans); font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mustard-light); margin-bottom: 14px; }
.footer-cols ul { list-style: none; display: grid; gap: 8px; }
.footer-cols a { text-decoration: none; color: rgba(243, 234, 219, .85); font-size: .95rem; }
.footer-cols a:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 40px; padding-top: 24px; font-size: .85rem; color: rgba(243, 234, 219, .6); }
.disclaimer { max-width: 46em; }
.disclaimer strong { color: var(--paper); font-weight: 600; }
.disclaimer a { color: var(--mustard-light); text-underline-offset: 3px; }
@media (max-width: 480px) { .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Demo badge */
.demo-badge {
  position: fixed; z-index: 70; left: 16px; bottom: max(16px, env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 12px; border-radius: 999px;
  background: rgba(36, 25, 20, .9); color: var(--paper); text-decoration: none; font-size: .78rem; line-height: 1.2;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 10px 24px -12px rgba(36, 25, 20, .6); border: 1px solid rgba(243, 234, 219, .14);
  transition: transform .25s var(--ease), background-color .25s;
}
.demo-badge strong { font-weight: 700; }
.demo-badge:hover { background: var(--ink); transform: translateY(-2px); }
.demo-badge.is-tucked { transform: translateY(calc(100% + 28px)); opacity: 0; transition: transform .35s var(--ease), opacity .35s; }
.demo-badge.is-tucked:focus-visible { transform: none; opacity: 1; }
@media (max-width: 480px) { .demo-badge { font-size: .74rem; padding: 7px 12px 7px 10px; } }
.demo-badge:focus-visible { outline-color: var(--ink); }
.demo-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 3px rgba(169, 181, 150, .3); }

/* Cart drawer */
.drawer-overlay { position: fixed; inset: 0; z-index: 80; background: rgba(36, 25, 20, .45); opacity: 0; transition: opacity .3s var(--ease); }
.drawer-overlay.is-open { opacity: 1; }
.drawer {
  position: fixed; z-index: 85; top: 0; right: 0; bottom: 0; width: min(440px, 100%);
  background: var(--paper); display: flex; flex-direction: column;
  box-shadow: -30px 0 60px -30px rgba(36, 25, 20, .5);
  transform: translateX(100%); transition: transform .4s var(--ease);
}
.drawer.is-open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.7rem; }
.drawer-count { font-family: var(--sans); font-size: .9rem; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: transparent; display: grid; place-items: center; cursor: pointer; transition: background-color .2s, border-color .2s; }
.icon-btn:hover { border-color: var(--ink); }
.icon-btn svg { width: 20px; height: 20px; }
.ship-meter { padding: 14px 20px; background: var(--paper-2); font-size: .88rem; }
.ship-meter strong { font-weight: 700; }
.ship-bar { height: 6px; border-radius: 3px; background: rgba(36, 25, 20, .1); margin-top: 8px; overflow: hidden; }
.ship-bar span { display: block; height: 100%; width: 0; background: var(--forest); border-radius: inherit; transition: width .5s var(--ease); }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 20px; overscroll-behavior: contain; }
.cart-list { list-style: none; }
.cart-item { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.cart-thumb { width: 64px; height: 76px; border-radius: 10px; background: var(--tint, var(--paper-2)); display: grid; place-items: center; padding: 6px; }
.cart-thumb svg { height: 100%; width: auto; }
.cart-item h3 { font-size: 1.1rem; line-height: 1.2; }
.cart-item-meta { font-size: .8rem; color: var(--muted); margin-top: 2px; }
.cart-item-price small { display: block; font-weight: 400; font-size: .76rem; color: var(--muted); }
.cart-item-price { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.qty { display: inline-flex; align-items: center; margin-top: 10px; border: 1.5px solid var(--line); border-radius: 999px; }
.qty button { width: 36px; height: 36px; border: 0; background: transparent; border-radius: 50%; cursor: pointer; font-size: 1.1rem; line-height: 1; display: grid; place-items: center; }
.qty button:hover { background: rgba(36, 25, 20, .07); }
.qty output { min-width: 28px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.remove-btn { display: block; margin-top: 10px; margin-left: auto; background: none; border: 0; padding: 4px 0; font-size: .8rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.remove-btn:hover { color: var(--berry); }
.cart-empty { text-align: center; padding: 48px 12px; display: grid; justify-items: center; gap: 16px; color: var(--ink-2); }
.cart-empty svg { width: 90px; height: auto; opacity: .8; }
.drawer-foot { padding: 16px 20px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--card); }
.totals { margin: 0 0 16px; display: grid; gap: 6px; font-size: .95rem; }
.totals div { display: flex; justify-content: space-between; }
.totals dd { margin: 0; font-variant-numeric: tabular-nums; }
.totals .total { margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--line); font-weight: 700; }
.totals .total dd { font-family: var(--serif); font-size: 1.45rem; font-weight: 500; }
.checkout-note { margin-top: 12px; font-size: .86rem; color: var(--ink-2); background: var(--paper-2); border-radius: var(--radius-sm); padding: 12px 14px; }
.checkout-note a { color: var(--berry); font-weight: 600; }
body.drawer-open { overflow: hidden; }

/* Reveal on scroll */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.product-grid > [data-reveal]:nth-child(2), .review-grid > [data-reveal]:nth-child(2) { transition-delay: .08s; }
.product-grid > [data-reveal]:nth-child(3), .review-grid > [data-reveal]:nth-child(3) { transition-delay: .16s; }
.product-grid > [data-reveal]:nth-child(4) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .curve-line { stroke-dashoffset: 0; }
  .ticker-track { animation: none; }
  .stamp-ring { animation: none; }
}

@media print {
  .grain, .demo-badge, .drawer, .drawer-overlay, .topbar { display: none !important; }
}
