/* =========================================================================
   Ninefold Coffee — concept website (fictional brand)
   Built by Snyder Creative Studio as a portfolio concept. Mobile-first;
   desktop layouts layer on at 760px / 1050px. No dependencies.
   ========================================================================= */
:root {
  --ink: #1c1a17; --ink-soft: #3a3631; --muted: #7a746a; --muted-2: #a39c90;
  --bg: #f7f3ec; --bg-2: #efe9df; --card: #fffdf9; --line: #e6dfd3; --line-2: #d9d0c2;
  --green: #2f5d50; --green-deep: #1f4238; --green-soft: #e3ece7;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --r: 14px; --r-lg: 20px; --max: 1180px;
  --shadow: 0 10px 30px -12px rgba(28, 26, 23, 0.25);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.015em; line-height: 1.05; text-wrap: balance; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.kicker { font-family: var(--sans); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; color: var(--green); margin-bottom: 14px; }
.muted { color: var(--muted); }
.serif { font-family: var(--serif); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 22px; border-radius: 14px; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; transition: transform 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease); white-space: nowrap; }
.btn:active { transform: scale(0.98); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2c2925; }
.btn-line { box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); }
.btn-line:hover { background: rgba(28, 26, 23, 0.05); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-deep); }
.btn-block { width: 100%; }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: 14px; border-radius: 11px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(247, 243, 236, 0.86); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid rgba(28, 26, 23, 0.06); }
.header-inner { height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.wordmark { font-family: var(--serif); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; display: inline-flex; align-items: center; }
.wordmark i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); margin-left: 6px; }
.site-nav { display: none; }
.site-nav ul { display: flex; gap: 28px; }
.site-nav a { font-size: 14.5px; font-weight: 500; color: var(--ink-soft); padding: 6px 0; position: relative; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.tap { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--ink); transition: background 0.2s var(--ease); }
.tap:hover { background: rgba(28, 26, 23, 0.06); }
.burger { width: 20px; height: 12px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; }
.cart-pill { display: none; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13.5px; font-weight: 600; }
.cart-pill[data-count="0"] { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.cart-pill .count { min-width: 20px; height: 20px; border-radius: 999px; background: var(--green); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; padding: 0 6px; }
.cart-pill[data-count="0"] .count { display: none; }

/* ---------- Mobile navigation layer ---------- */
.nav-layer { position: fixed; inset: 0; z-index: 60; background: var(--green); color: #fff; display: flex; flex-direction: column; padding: 0 20px 36px; transform: translateY(-6px); opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s; overflow: auto; }
.nav-layer.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); }
.nav-layer .header-inner { flex: none; }
.nav-layer .wordmark i { background: #fff; }
.nav-layer .tap { color: #fff; }
.nav-layer .tap:hover { background: rgba(255, 255, 255, 0.12); }
.nav-links { margin-top: 24px; }
.nav-links a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.18); font-family: var(--serif); font-size: 38px; line-height: 1; }
.nav-links a small { font-family: var(--sans); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; opacity: 0.6; }
.nav-foot { margin-top: auto; padding-top: 28px; display: grid; gap: 18px; }
.nav-foot .hours { font-size: 15px; line-height: 1.5; opacity: 0.9; }
.nav-foot .hours b { display: block; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; opacity: 0.7; margin-bottom: 6px; }
.nav-foot .btn { background: #fff; color: var(--green); }
.x { width: 20px; height: 20px; position: relative; }
.x::before, .x::after { content: ""; position: absolute; left: -2px; right: -2px; top: 9px; height: 2px; background: currentColor; transform: rotate(45deg); }
.x::after { transform: rotate(-45deg); }

/* ---------- Page layout ---------- */
main { padding-bottom: 96px; } /* room for the sticky order bar on mobile */
.section { padding: 56px 0; }
.section-tight { padding: 36px 0; }
.section-head { margin-bottom: 22px; }
.section-head h2 { font-size: 30px; }
.section-head p { margin-top: 8px; color: var(--muted); }
.section-head.split { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.link { font-size: 14px; font-weight: 600; border-bottom: 1.5px solid var(--line-2); padding-bottom: 2px; white-space: nowrap; }
.link:hover { border-color: var(--ink); }

/* ---------- Hero ---------- */
.hero { padding: 28px 0 8px; }
.hero h1 { font-size: clamp(42px, 11vw, 56px); }
.hero .sub { font-size: 17px; color: var(--muted); margin-top: 14px; }
.hero .sub b { color: var(--ink); font-weight: 600; }
.hero-actions { display: grid; gap: 10px; margin-top: 26px; }
.hero-art { display: block; position: relative; margin-top: 28px; height: 220px; border-radius: var(--r-lg); overflow: hidden; background: radial-gradient(120% 90% at 20% 15%, #3f7a68 0%, var(--green) 45%, var(--green-deep) 100%); color: #fff; }
.hero-art::before { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; right: -70px; bottom: -130px; background: rgba(255, 255, 255, 0.08); }
.hero-art::after { content: ""; position: absolute; width: 150px; height: 150px; border-radius: 50%; right: 50px; bottom: -50px; background: rgba(255, 255, 255, 0.08); }
.hero-art .art-copy { position: absolute; left: 22px; bottom: 20px; right: 22px; font-family: var(--serif); font-size: 22px; line-height: 1.15; max-width: 240px; }
.hero-art .art-copy small { display: block; font-family: var(--sans); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; opacity: 0.75; margin-bottom: 6px; }
.hero-art .art-cup { position: absolute; right: 22px; top: 22px; width: 96px; }

/* Latte-art cup illustration (inline SVG uses these) */
.cup-art { width: 100%; height: auto; }

/* ---------- Cards / rows ---------- */
.card-row { display: grid; grid-auto-flow: column; grid-auto-columns: 176px; gap: 12px; overflow-x: auto; padding: 2px 2px 8px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.card-row::-webkit-scrollbar { display: none; }
.mini { scroll-snap-align: start; display: block; padding: 14px; border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.mini:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.mini .art { display: block; height: 84px; border-radius: 10px; margin-bottom: 12px; }
.mini b { display: block; font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em; }
.mini small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.art { background: #e6dcc9; position: relative; overflow: hidden; }
.art.g1 { background: linear-gradient(135deg, #efe4d0, #dcc9aa); }
.art.g2 { background: linear-gradient(135deg, #e2d2b8, #c9ad86); }
.art.g3 { background: linear-gradient(135deg, #d9c7a9, #b89a72); }
.art.green { background: radial-gradient(90% 80% at 30% 20%, #4c8a76 0%, var(--green) 55%, var(--green-deep) 100%); }
.art.ink { background: radial-gradient(90% 80% at 30% 20%, #4a453f 0%, #2a2724 55%, #1c1a17 100%); }
.art .cup-art { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 56%; }

/* Menu list */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 40px; padding: 0 16px; border-radius: 999px; display: inline-flex; align-items: center; font-size: 14px; font-weight: 600; color: var(--ink); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); transition: background 0.2s var(--ease), color 0.2s var(--ease); }
.chip:hover { background: var(--bg-2); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.menu-group + .menu-group { margin-top: 28px; }
.menu-group h2 { font-size: 26px; margin-bottom: 4px; }
.menu-group .desc { color: var(--muted); font-size: 14.5px; margin-bottom: 6px; }
.item { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.item a { display: block; }
.item b { display: block; font-size: 17px; font-weight: 600; letter-spacing: -0.015em; }
.item small { display: block; font-size: 13.5px; color: var(--muted); margin-top: 3px; line-height: 1.4; }
.item .price { display: block; font-size: 15px; font-weight: 600; margin-top: 8px; font-variant-numeric: tabular-nums; }
.item .tag { display: inline-block; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--green); margin-left: 8px; vertical-align: 2px; }
.plus { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 22px; font-weight: 500; line-height: 1; transition: transform 0.2s var(--ease), background 0.2s var(--ease); }
.plus:hover { background: #2c2925; }
.plus:active { transform: scale(0.92); }
.plus.count { background: var(--green); font-size: 15px; font-weight: 700; }
.menu-group[hidden] { display: none; }
.menu-empty { padding: 40px 0; color: var(--muted); text-align: center; }

/* ---------- Item detail ---------- */
.detail-art { height: 300px; position: relative; background: radial-gradient(90% 80% at 30% 20%, #4c8a76 0%, var(--green) 55%, var(--green-deep) 100%); color: #fff; margin: 0 -20px; }
.detail-art .cup-art { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); width: 170px; }
.detail-art .tap { position: absolute; top: 14px; color: #fff; background: rgba(255, 255, 255, 0.14); }
.detail-art .tap.back { left: 16px; } .detail-art .tap.close { right: 16px; }
.detail-art.pastry { background: linear-gradient(135deg, #e6d6bd, #c9ad86); color: var(--ink); }
.detail-art.pastry .tap { background: rgba(28, 26, 23, 0.08); color: var(--ink); }
.detail-art.beans { background: radial-gradient(90% 80% at 30% 20%, #4a453f 0%, #2a2724 55%, #1c1a17 100%); }
.detail-art.tea { background: radial-gradient(90% 80% at 30% 20%, #7a9a6a 0%, #4f6f44 55%, #354d2e 100%); }
.detail { padding: 22px 0 0; }
.detail h1 { font-size: 32px; }
.detail .meta { display: flex; justify-content: space-between; align-items: baseline; margin-top: 6px; color: var(--muted); font-size: 14.5px; }
.detail .meta b { font-size: 22px; color: var(--ink); font-variant-numeric: tabular-nums; }
.detail .blurb { margin-top: 14px; color: var(--ink-soft); line-height: 1.6; }
.label { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; color: var(--muted); margin: 24px 0 10px; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 4px; border-radius: 12px; background: #ebe4d8; }
.seg button { height: 42px; border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--muted); transition: background 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.seg button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08); }
.opt { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 50px; border-bottom: 1px solid var(--line); font-size: 15.5px; text-align: left; }
.opt span:last-child { color: var(--muted); font-size: 14px; display: flex; align-items: center; gap: 12px; }
.opt i { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid #c9c1b3; transition: background 0.2s var(--ease), border-color 0.2s var(--ease); }
.opt.is-check i { border-radius: 7px; }
.opt[aria-checked="true"] i, .opt[aria-pressed="true"] i { border-color: var(--green); background: var(--green); box-shadow: inset 0 0 0 3px #fff; }
.opt.is-check[aria-pressed="true"] i { box-shadow: none; position: relative; }
.opt.is-check[aria-pressed="true"] i::after { content: ""; position: absolute; left: 7px; top: 3px; width: 5px; height: 10px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); }
.stepper { display: inline-flex; align-items: center; gap: 16px; font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; }
.stepper button { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--line-2); font-size: 20px; font-weight: 400; transition: background 0.2s var(--ease); }
.stepper button:hover { background: var(--bg-2); }
.add-row { display: flex; gap: 12px; align-items: center; margin-top: 28px; }
.add-row .btn { flex: 1; }

/* ---------- Sticky order bar (mobile) + order sheet ---------- */
.order-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 12px 20px calc(16px + env(safe-area-inset-bottom)); background: linear-gradient(to top, var(--bg) 70%, rgba(247, 243, 236, 0)); transform: translateY(0); transition: transform 0.3s var(--ease); }
.order-bar .bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 56px; padding: 0 8px 0 18px; border-radius: 16px; background: var(--ink); color: #fff; font-size: 14.5px; font-weight: 600; white-space: nowrap; overflow: hidden; box-shadow: 0 10px 30px -10px rgba(28, 26, 23, 0.45); width: 100%; text-align: left; }
.order-bar .bar b { flex: 1; text-align: left; font-weight: 600; }
.order-bar .bar span { opacity: 0.75; font-weight: 500; }
.order-bar .bar em { flex: none; font-style: normal; background: #fff; color: var(--ink); height: 40px; padding: 0 14px; border-radius: 11px; display: flex; align-items: center; }
.order-bar[data-count="0"] .bar { background: var(--green); }
.order-bar[data-count="0"] .bar em { color: var(--green); }
.order-bar.is-hidden { transform: translateY(120%); }

.sheet-scrim { position: fixed; inset: 0; z-index: 70; background: rgba(28, 26, 23, 0.45); opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease), visibility 0s linear 0.3s; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 71; background: var(--bg); border-radius: 22px 22px 0 0; padding: 14px 20px calc(24px + env(safe-area-inset-bottom)); max-height: 86vh; overflow: auto; transform: translateY(105%); visibility: hidden; transition: transform 0.35s var(--ease), visibility 0s linear 0.35s; box-shadow: 0 -20px 60px rgba(28, 26, 23, 0.25); }
.sheet::before { content: ""; display: block; width: 40px; height: 4px; border-radius: 2px; background: var(--line-2); margin: 0 auto 14px; }
body.sheet-open .sheet-scrim { opacity: 1; visibility: visible; transition: opacity 0.3s var(--ease); }
body.sheet-open .sheet { transform: none; visibility: visible; transition: transform 0.35s var(--ease); }
.sheet h2 { font-size: 26px; display: flex; justify-content: space-between; align-items: center; }
.sheet .order-lines { margin-top: 10px; }
.order-line { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.order-line b { display: block; font-size: 15.5px; font-weight: 600; }
.order-line small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.order-line .stepper { gap: 10px; font-size: 15px; }
.order-line .stepper button { width: 34px; height: 34px; font-size: 18px; }
.order-total { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 0 6px; font-size: 15px; color: var(--muted); }
.order-total b { font-size: 22px; color: var(--ink); font-variant-numeric: tabular-nums; }
.order-empty { padding: 28px 0; color: var(--muted); text-align: center; }
.order-note { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 12px; line-height: 1.5; }
.order-done { text-align: center; padding: 18px 0 8px; }
.order-done .mark { width: 56px; height: 56px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; margin: 0 auto 14px; }
.order-done h3 { font-size: 26px; margin-bottom: 8px; }
.order-done p { color: var(--muted); font-size: 14.5px; line-height: 1.55; max-width: 34ch; margin: 0 auto; }

.toast { position: fixed; left: 50%; bottom: 96px; transform: translate(-50%, 12px); z-index: 80; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-size: 14px; font-weight: 600; opacity: 0; visibility: hidden; transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s; white-space: nowrap; box-shadow: var(--shadow); }
.toast.is-on { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity 0.25s var(--ease), transform 0.25s var(--ease); }

/* ---------- Content sections ---------- */
.feature { display: grid; gap: 16px; }
.feature .art { height: 220px; border-radius: var(--r-lg); }
.feature h2 { font-size: 30px; }
.feature p { color: var(--ink-soft); line-height: 1.6; margin-top: 10px; }
.feature .btn { margin-top: 18px; }
.beans-grid { display: grid; gap: 12px; }
.bean { display: grid; grid-template-columns: 84px 1fr; gap: 14px; align-items: center; padding: 14px; border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.bean:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.bean .bag { width: 84px; height: 96px; border-radius: 10px 10px 14px 14px; position: relative; }
.bean .bag::before { content: ""; position: absolute; left: 12px; right: 12px; top: 0; height: 10px; background: rgba(0, 0, 0, 0.12); border-radius: 0 0 6px 6px; }
.bean .bag::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 16px; height: 34px; background: rgba(255, 255, 255, 0.85); border-radius: 6px; }
.bean b { display: block; font-size: 16px; font-weight: 600; }
.bean small { display: block; color: var(--muted); font-size: 13px; margin-top: 3px; line-height: 1.4; }
.bean .price { font-weight: 600; font-size: 14px; margin-top: 8px; }
.visit { display: grid; gap: 18px; }
.map { position: relative; height: 200px; border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(#e7e1d5 1px, transparent 1px) 0 0/32px 32px, linear-gradient(90deg, #e7e1d5 1px, transparent 1px) 0 0/32px 32px, #efe9df; }
.map::before { content: ""; position: absolute; left: 18%; right: 8%; top: 48%; height: 6px; border-radius: 3px; background: #dcd3c4; transform: rotate(-6deg); }
.map::after { content: ""; position: absolute; left: 56%; top: 36%; width: 18px; height: 18px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 6px rgba(47, 93, 80, 0.2); }
.map .pin-label { position: absolute; left: 50%; top: 36%; transform: translate(-50%, 28px); background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 8px; white-space: nowrap; }
.hours { display: grid; gap: 0; }
.hours div { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.hours div span:last-child { font-variant-numeric: tabular-nums; color: var(--ink-soft); }
.hours div.today { font-weight: 600; }
.hours div.today span:last-child { color: var(--green); }
.address { font-size: 16px; line-height: 1.55; }
.address b { display: block; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.cta-band { background: var(--green); color: #fff; border-radius: var(--r-lg); padding: 32px 24px; }
.cta-band h2 { font-size: 30px; }
.cta-band p { margin-top: 10px; opacity: 0.85; line-height: 1.55; }
.cta-band .btn { margin-top: 20px; background: #fff; color: var(--green); }
.page-head { padding: 28px 0 8px; }
.page-head h1 { font-size: clamp(38px, 9vw, 52px); }
.page-head p { margin-top: 12px; color: var(--muted); font-size: 17px; max-width: 48ch; }
.prose p { color: var(--ink-soft); line-height: 1.7; }
.prose p + p { margin-top: 16px; }
.prose h2 { font-size: 28px; margin: 36px 0 12px; }
.values { display: grid; gap: 12px; margin-top: 8px; }
.value { padding: 20px; border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.value b { display: block; font-family: var(--serif); font-size: 22px; font-weight: 500; margin-bottom: 6px; }
.value p { color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.value small { display: block; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; color: var(--green); margin-bottom: 10px; }
.team { display: grid; gap: 12px; }
.person { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: center; }
.person i { width: 56px; height: 56px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 16px; }
.person b { display: block; font-size: 16px; font-weight: 600; }
.person small { display: block; color: var(--muted); font-size: 13.5px; }
.steps { display: grid; gap: 0; counter-reset: step; }
.step { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--serif); font-size: 22px; color: var(--muted-2); padding-top: 2px; }
.step b { display: block; font-size: 16.5px; font-weight: 600; margin-bottom: 4px; }
.step p { color: var(--muted); font-size: 14.5px; line-height: 1.55; }

/* Forms */
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 13px; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; border: 1.5px solid var(--line-2); border-radius: 12px; padding: 14px 15px; background: var(--card); font-size: 16px; outline: none; transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(47, 93, 80, 0.15); }
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.contact-grid { display: grid; gap: 32px; }
.contact-details { display: grid; gap: 18px; }
.contact-details div b { display: block; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; color: var(--muted); margin-bottom: 4px; }
.contact-details div span { font-size: 16px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 28px; margin-top: 24px; }
.footer-grid { display: grid; gap: 28px; }
.footer-brand p { color: var(--muted); font-size: 14px; margin-top: 10px; max-width: 30ch; line-height: 1.55; }
.footer-col h3 { font-family: var(--sans); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; color: var(--muted); margin-bottom: 12px; }
.footer-col ul { display: grid; gap: 8px; }
.footer-col a { font-size: 14.5px; }
.footer-col a:hover { color: var(--green); }
.footer-bottom { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================================
   Tablet / desktop
   ========================================================================= */
@media (min-width: 760px) {
  .container { width: min(calc(100% - 64px), var(--max)); }
  .header-inner { height: 72px; }
  .wordmark { font-size: 24px; }
  main { padding-bottom: 0; }
  .order-bar { display: none; }
  .cart-pill { display: inline-flex; }
  .section { padding: 80px 0; }
  .section-head h2 { font-size: 38px; }
  .hero { padding: 64px 0 24px; }
  .hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
  .hero h1 { font-size: clamp(52px, 6vw, 84px); max-width: 10ch; }
  .hero .sub { font-size: 18px; margin-top: 18px; }
  .hero-actions { grid-auto-flow: column; justify-content: start; gap: 12px; }
  .hero-art { margin-top: 0; height: 440px; }
  .hero-art .art-copy { left: 32px; bottom: 30px; font-size: 28px; max-width: 320px; }
  .hero-art .art-cup { right: 40px; top: 40px; width: 160px; }
  .card-row { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(3, 1fr); gap: 18px; overflow: visible; }
  .mini { padding: 18px; }
  .mini .art { height: 150px; }
  .mini b { font-size: 16px; }
  .feature { grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
  .feature .art { height: 380px; }
  .feature h2 { font-size: 38px; }
  .beans-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .visit { grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
  .map { height: 100%; min-height: 320px; }
  .cta-band { padding: 56px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 32px; }
  .cta-band .btn { margin: 0; }
  .page-head { padding: 64px 0 16px; }
  .page-head h1 { font-size: clamp(52px, 6vw, 76px); }
  .menu-layout { display: grid; grid-template-columns: 220px 1fr; gap: 56px; align-items: start; }
  .menu-side { position: sticky; top: 92px; }
  .chips { flex-direction: column; overflow: visible; gap: 6px; padding: 0; }
  .chip { justify-content: flex-start; height: 44px; border-radius: 12px; }
  .menu-group h2 { font-size: 30px; }
  .item { padding: 20px 0; }
  .item b { font-size: 18px; }
  .detail-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; padding-top: 40px; }
  .detail-art { height: 520px; border-radius: var(--r-lg); margin: 0; position: sticky; top: 92px; }
  .detail-art .cup-art { width: 240px; bottom: 60px; }
  .detail-art .tap.close { display: none; }
  .detail { padding-top: 0; }
  .detail h1 { font-size: 44px; }
  .add-row .btn { flex: none; min-width: 260px; }
  .sheet { left: auto; right: 24px; bottom: 24px; width: 420px; border-radius: 22px; max-height: 80vh; }
  .sheet::before { display: none; }
  .prose { max-width: 62ch; }
  .prose-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
  .values { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .team { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .contact-grid { grid-template-columns: 0.8fr 1.2fr; gap: 64px; }
  .site-footer { padding: 56px 0 28px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
  .toast { bottom: 40px; }
}
@media (min-width: 1050px) {
  .site-nav { display: block; }
  .nav-toggle { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .nav-layer, .sheet, .sheet-scrim, .toast, .order-bar, .btn, .mini, .bean, .plus { transition: none; }
}
