/* Mutt & Mile. Phone first; one light theme in the brand palette. Colors and type are tokens on :root. */
@font-face { font-family: 'Fraunces'; src: url('/assets/fonts/fraunces-latin.woff2') format('woff2'); font-weight: 600 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('/assets/fonts/figtree-latin.woff2') format('woff2'); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --ink: #1e2421; --ink-soft: #3a423d; --muted: #5d655f; --line: #e3ddd1; --paper: #f7f3ec; --surface: #ffffff;
  --sand: #ece3d2; --sand-deep: #dfd2bb; --forest: #1f4d3f; --forest-deep: #163a2f; --moss: #6f8f74; --clay: #b9582f; --clay-soft: #f3dfd3;
  --ok: #2f6b4f; --warn: #8a5a12; --bad: #a3361f;
  --display: 'Fraunces', Georgia, 'Times New Roman', serif; --body: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --r-sm: 8px; --r: 14px; --r-lg: 22px; --shadow: 0 1px 2px rgba(30, 36, 33, .06), 0 8px 24px rgba(30, 36, 33, .06);
  --wrap: 1180px; --gutter: 16px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 var(--body); text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); text-underline-offset: 3px; }
a:hover { color: var(--forest-deep); }
h1, h2, h3 { font-family: var(--display); font-weight: 650; line-height: 1.12; letter-spacing: -0.01em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(34px, 7.4vw, 60px); }
h2 { font-size: clamp(26px, 4.6vw, 38px); }
h3 { font-size: 19px; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 100; border-radius: var(--r-sm); }
.skip:focus { left: 8px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--clay); margin: 0 0 10px; }
.lede { font-size: 18px; color: var(--ink-soft); max-width: 60ch; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* announcement + header */
.announce { background: var(--forest); color: #eef3ee; font-size: 13.5px; text-align: center; padding: 8px var(--gutter); }
.site-head { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; gap: 12px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -0.01em; white-space: nowrap; }
.logo svg { width: 34px; height: 34px; flex: none; }
.logo:hover { color: var(--ink); }
.nav { display: none; margin-left: auto; gap: 26px; }
.nav a { color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--forest); }
.head-actions { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 50%; color: var(--ink); cursor: pointer; }
.icon-btn:hover { background: var(--sand); }
.icon-btn svg { width: 24px; height: 24px; }
.count { position: absolute; top: 4px; right: 2px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--clay); color: #fff; font-size: 11.5px; font-weight: 700; line-height: 19px; text-align: center; }
.count[data-zero] { display: none; }
.mobile-nav { border-top: 1px solid var(--line); background: var(--surface); padding: 8px var(--gutter) 16px; }
.mobile-nav a { display: block; padding: 12px 0; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) {
  .nav { display: flex; }
  .head-actions { margin-left: 18px; }
  .menu-btn, .mobile-nav { display: none !important; }
}

/* buttons, chips */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 2px solid var(--forest); background: var(--forest); color: #fff; font: 700 16px/1.1 var(--body); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, transform .05s; }
.btn:hover { background: var(--forest-deep); border-color: var(--forest-deep); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { background: #9aa39d; border-color: #9aa39d; cursor: not-allowed; }
.btn-ghost { background: transparent; color: var(--forest); }
.btn-ghost:hover { background: var(--forest); color: #fff; }
.btn-block { width: 100%; }
.btn-small { min-height: 38px; padding: 8px 15px; font-size: 14.5px; }
.btn-clay { background: var(--clay); border-color: var(--clay); }
.btn-clay:hover { background: #9c4724; border-color: #9c4724; }
.chip { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--clay-soft); color: #7f3517; font-size: 13px; font-weight: 700; border: 0; }
.chip-muted { background: var(--sand); color: var(--muted); }
.chip-filter { background: var(--surface); color: var(--ink-soft); border: 1.5px solid var(--line); height: 38px; padding: 0 16px; font-size: 14.5px; cursor: pointer; }
.chip-filter.is-on { background: var(--forest); border-color: var(--forest); color: #fff; }

/* sections */
section { padding: 44px 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.section-head h2 { margin: 0; }
.band { background: var(--sand); }
.band-forest { background: var(--forest); color: #eef3ee; }
.band-forest h2, .band-forest h3 { color: #fff; }
@media (min-width: 900px) { section { padding: 72px 0; } }

/* hero */
.hero { padding: 28px 0 40px; }
.hero-grid { display: grid; gap: 26px; align-items: center; }
.hero h1 { margin-bottom: 14px; }
.hero h1 em { font-style: normal; color: var(--clay); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 18px; }
.hero-art { border-radius: var(--r-lg); overflow: hidden; background: var(--sand); box-shadow: var(--shadow); }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--ink-soft); font-size: 14.5px; font-weight: 600; }
.hero-points li { display: inline-flex; align-items: center; gap: 7px; }
.hero-points svg { width: 18px; height: 18px; color: var(--ok); flex: none; }
@media (min-width: 900px) { .hero { padding: 56px 0 72px; } .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 48px; } }

/* value props */
.props { display: grid; gap: 14px; grid-template-columns: 1fr; }
.prop { background: var(--surface); border-radius: var(--r); padding: 20px; border: 1px solid var(--line); }
.prop svg { width: 30px; height: 30px; color: var(--forest); margin-bottom: 10px; }
.prop h3 { margin-bottom: 6px; }
.prop p { margin: 0; color: var(--muted); font-size: 15px; }
@media (min-width: 640px) { .props { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .props { grid-template-columns: repeat(4, 1fr); } }

/* routine steps */
.steps { display: grid; gap: 16px; counter-reset: step; }
.step { position: relative; padding: 22px 20px 20px 70px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--r); }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 20px; top: 20px; width: 34px; height: 34px; border-radius: 50%; background: var(--clay); color: #fff; font-weight: 700; display: grid; place-items: center; }
.step p { margin: 0; color: #d6e2d8; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* product grid + cards */
.grid { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; } }
@media (min-width: 1150px) { .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-img { position: relative; display: block; background: var(--sand); aspect-ratio: 1; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-img .chip { position: absolute; top: 10px; left: 10px; z-index: 1; }
.card-body { padding: 12px 12px 14px; display: flex; flex-direction: column; flex: 1; }
.card-title { font-size: 16.5px; margin: 0 0 4px; }
.card-title a { color: var(--ink); text-decoration: none; }
.card-short { color: var(--muted); font-size: 14px; margin: 0 0 12px; line-height: 1.45; flex: 1; }
.card-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.price { font-weight: 800; font-size: 16.5px; }
@media (max-width: 420px) { .card-foot .btn { width: 100%; } .card-short { display: none; } }

/* shop toolbar */
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 20px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.search { flex: 1 1 220px; max-width: 340px; margin-left: auto; }
.search input { width: 100%; }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* forms */
input[type="text"], input[type="email"], input[type="search"] { height: 48px; padding: 0 14px; border-radius: var(--r-sm); border: 1.5px solid var(--sand-deep); background: var(--surface); font: 16px var(--body); color: var(--ink); width: 100%; }
input:focus { border-color: var(--forest); outline: none; box-shadow: 0 0 0 3px rgba(31, 77, 63, .18); }
label.field { display: block; font-weight: 600; font-size: 14.5px; margin-bottom: 14px; }
label.field input { margin-top: 6px; }
.form-msg { min-height: 1.5em; font-size: 15px; margin: 10px 0 0; }
.form-msg.is-bad { color: var(--bad); }
.form-msg.is-ok { color: var(--ok); }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }

/* product page */
.crumbs { font-size: 14px; color: var(--muted); padding: 16px 0 0; }
.crumbs a { color: var(--muted); }
.pdp { display: grid; gap: 22px; padding: 16px 0 30px; }
.gallery-main { background: var(--sand); border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 1; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 10px; overflow-x: auto; }
.thumb { flex: none; width: 74px; height: 74px; padding: 0; border-radius: var(--r-sm); border: 2px solid transparent; overflow: hidden; background: var(--sand); cursor: pointer; }
.thumb.is-on { border-color: var(--forest); }
.pdp-info h1 { font-size: clamp(30px, 5.6vw, 44px); margin: 10px 0 8px; }
.pdp-short { font-size: 17.5px; color: var(--ink-soft); }
.pdp-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; font-size: 26px; font-weight: 800; margin: 6px 0 18px; }
.save { font-size: 14.5px; font-weight: 700; color: var(--ok); background: #e3efe7; padding: 3px 10px; border-radius: 999px; }
.variants { border: 0; padding: 0; margin: 0 0 16px; }
.variants legend { font-weight: 700; font-size: 14.5px; margin-bottom: 8px; }
.variant { display: inline-block; margin: 0 8px 8px 0; }
.variant input { position: absolute; opacity: 0; pointer-events: none; }
.variant span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: var(--r-sm); border: 1.5px solid var(--sand-deep); background: var(--surface); font-weight: 600; cursor: pointer; }
.variant input:checked + span { border-color: var(--forest); box-shadow: inset 0 0 0 1px var(--forest); background: #eef4f0; }
.variant input:focus-visible + span { outline: 3px solid var(--clay); outline-offset: 2px; }
.variant.is-out span { color: #9aa39d; text-decoration: line-through; cursor: not-allowed; }
.buy-row { display: flex; gap: 10px; align-items: stretch; }
.buy-row .btn { flex: 1; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--sand-deep); border-radius: 999px; background: var(--surface); }
.qty button { width: 42px; height: 46px; border: 0; background: transparent; font-size: 20px; cursor: pointer; color: var(--ink); border-radius: 999px; }
.qty button:hover { background: var(--sand); }
.qty output, .qty span { min-width: 26px; text-align: center; font-weight: 700; }
.assure { list-style: none; padding: 16px 0 0; margin: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 15px; color: var(--ink-soft); }
.assure li { display: flex; gap: 10px; align-items: flex-start; }
.assure svg { width: 20px; height: 20px; color: var(--forest); flex: none; margin-top: 2px; }
.bullets { padding-left: 20px; margin: 18px 0 0; }
.bullets li { margin-bottom: 8px; }
.pdp-details { display: grid; gap: 14px; padding-bottom: 30px; }
.detail-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.detail-block h2 { font-size: 22px; }
.specs { width: 100%; border-collapse: collapse; font-size: 15px; }
.specs th, .specs td { text-align: left; padding: 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { width: 42%; color: var(--muted); font-weight: 600; padding-right: 12px; }
.plain { padding-left: 20px; margin: 0; }
.includes { list-style: none; padding: 0; margin: 0; }
.includes li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); padding: 12px 0; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: '+'; font-size: 22px; line-height: 1; color: var(--forest); }
.faq[open] summary::after { content: '\2212'; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { margin: 10px 0 0; color: var(--ink-soft); }
.related { padding-top: 10px; }
@media (min-width: 900px) {
  .pdp { grid-template-columns: 1.1fr 1fr; gap: 48px; padding-top: 24px; }
  .pdp-gallery { position: sticky; top: 88px; align-self: start; }
  .pdp-details { grid-template-columns: 1fr 1fr; }
}

/* prose pages */
.prose { max-width: 760px; padding-top: 36px; padding-bottom: 56px; }
.prose h1 { font-size: clamp(32px, 6vw, 46px); }
.prose h2 { font-size: 24px; margin-top: 1.6em; }
.prose li { margin-bottom: 6px; }
.prose table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: 15px; }
.prose th, .prose td { text-align: left; border-bottom: 1px solid var(--line); padding: 10px 8px 10px 0; }
.note { background: var(--surface); border-left: 4px solid var(--clay); padding: 14px 16px; border-radius: var(--r-sm); margin: 18px 0; }
.updated { color: var(--muted); font-size: 14px; }

/* promise + signup */
.promise { display: grid; gap: 18px; align-items: center; }
.signup { display: flex; flex-wrap: wrap; gap: 10px; max-width: 520px; }
.signup input { flex: 1 1 220px; }
@media (min-width: 900px) { .promise { grid-template-columns: 1.2fr 1fr; gap: 40px; } }

/* track / thank-you / cart page */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; max-width: 560px; }
.status-list { list-style: none; padding: 0; margin: 16px 0; }
.status-list li { padding: 8px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 10px; }
.status-pill { display: inline-block; padding: 4px 12px; border-radius: 999px; background: #e3efe7; color: var(--ok); font-weight: 700; font-size: 14px; }

/* cart drawer + cart page lines */
.overlay { position: fixed; inset: 0; background: rgba(20, 26, 23, .45); z-index: 40; opacity: 0; transition: opacity .2s; }
.overlay.is-open { opacity: 1; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--paper); z-index: 50; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .25s ease; box-shadow: -10px 0 30px rgba(0, 0, 0, .12); }
.drawer.is-open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); background: var(--surface); }
.drawer-head h2 { font-size: 22px; margin: 0; }
.drawer-body { flex: 1; overflow-y: auto; padding: 14px 16px; }
.drawer-foot { padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--surface); }
.ship-meter { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px 12px; font-size: 14px; margin-bottom: 12px; }
.meter { height: 7px; background: var(--sand); border-radius: 4px; margin-top: 7px; overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--forest); border-radius: 4px; transition: width .3s; }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.line img { width: 72px; height: 72px; border-radius: var(--r-sm); background: var(--sand); object-fit: cover; }
.line-name { font-weight: 700; font-size: 15px; line-height: 1.3; text-decoration: none; color: var(--ink); }
.line-meta { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.line .qty button { width: 34px; height: 34px; font-size: 17px; }
.line-price { font-weight: 700; text-align: right; }
.link-btn { border: 0; background: none; color: var(--muted); font: 13.5px var(--body); text-decoration: underline; cursor: pointer; padding: 4px; }
.totals { display: grid; gap: 4px; margin-bottom: 12px; font-size: 15px; }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { font-size: 18px; font-weight: 800; }
.upsell { margin-top: 18px; }
.upsell h3 { font-size: 16px; margin-bottom: 8px; }
.upsell-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 10px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 8px; margin-bottom: 8px; }
.upsell-item img { width: 56px; height: 56px; border-radius: 6px; background: var(--sand); }
.upsell-item b { display: block; font-size: 14.5px; line-height: 1.3; }
.upsell-item span { font-size: 13.5px; color: var(--muted); }
.cart-error { color: var(--bad); font-size: 14.5px; margin: 0 0 10px; }
.secure { text-align: center; font-size: 13px; color: var(--muted); margin: 10px 0 0; }

/* footer */
.site-foot { background: var(--forest-deep); color: #c9d6cc; padding: 44px 0 calc(28px + env(safe-area-inset-bottom)); font-size: 15px; }
.foot-grid { display: grid; gap: 26px; grid-template-columns: repeat(2, 1fr); }
.foot-brand { grid-column: 1 / -1; }
.foot-brand .logo { color: #fff; }
.foot-brand p { margin-top: 10px; max-width: 36ch; }
.site-foot h3 { color: #fff; font-family: var(--body); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li { margin-bottom: 8px; }
.site-foot a { color: #e4ece6; text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.foot-base { border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 30px; padding-top: 18px; font-size: 13.5px; color: #a9bbae; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.6fr repeat(3, 1fr); } .foot-brand { grid-column: auto; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
.hero h1 em { white-space: nowrap; }
