:root {
  --ink: #12292b;
  --ink-2: #1d3a3c;
  --paper: #f5f2ea;
  --surface: #ffffff;
  --line: #e1dccf;
  --muted: #5b6a67;
  --accent: #2e7d6b;
  --accent-ink: #1f5d4f;
  --accent-soft: #e3efe9;
  --brass: #b9853a;
  --warn: #a2482b;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(18, 41, 43, .05), 0 8px 24px rgba(18, 41, 43, .06);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, Segoe UI, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 var(--font-body); display: flex; flex-direction: column; min-height: 100vh; }
body.no-scroll { overflow: hidden; }
main { flex: 1; }
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.15; letter-spacing: -.01em; margin: 0; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.center { text-align: center; }
.accent { color: var(--accent); }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.pad { padding: 20px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 999px; padding: 12px 22px; font: 600 .95rem/1 var(--font-body); text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; background: var(--ink); color: #fff; }
.btn:hover { background: var(--ink-2); }
.btn-primary { background: var(--accent); }
.btn-primary:hover { background: var(--accent-ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface); border-color: var(--ink); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-small { padding: 9px 16px; font-size: .85rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
button.link { background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; font-size: .82rem; }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(245, 242, 234, .92); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(8px)) { .site-header { backdrop-filter: blur(8px); } }
.header-row { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 600 1.15rem var(--font-display); letter-spacing: -.01em; }
.brand em { font-style: italic; color: var(--accent); font-weight: 400; }
.brand.light em { color: #9fd3c4; }
.mark { width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--paper) 0 28%, transparent 29%), var(--accent); box-shadow: inset 0 0 0 2px var(--accent); }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a[aria-current="page"], .nav a:hover { color: var(--accent); }
.cart-btn { position: relative; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.cart-btn svg { width: 20px; height: 20px; }
.badge[hidden] { display: none; }
.badge { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: #fff; font-size: .72rem; font-weight: 700; display: grid; place-items: center; }

/* hero */
.hero { padding: clamp(48px, 9vw, 110px) 0 clamp(40px, 6vw, 72px); }
.hero-grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: 48px; align-items: center; }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero .lede { font-size: 1.15rem; color: var(--muted); max-width: 34rem; margin: 22px 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ledger { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: var(--shadow); }
.ledger h2 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 700; margin-bottom: 14px; }
.ledger ol { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.ledger li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 14px 0; border-top: 1px dashed var(--line); }
.ledger li::before { content: counter(s, decimal-leading-zero); font: 500 .95rem var(--font-display); color: var(--brass); padding-top: 2px; }
.ledger li strong { display: block; font-size: .98rem; }
.ledger li span { color: var(--muted); font-size: .9rem; }

/* sections */
.section { padding: clamp(48px, 7vw, 88px) 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head p { color: var(--muted); max-width: 36rem; margin-top: 10px; }
.band { background: var(--ink); color: var(--paper); }
.band .muted, .muted-light { color: #b7c6c2; }

/* feature card */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
.feature-art { background: var(--accent-soft); display: grid; place-items: center; min-height: 260px; color: var(--accent); }
.feature-art .icon { width: 120px; height: 120px; stroke-width: 1; }
.feature-body { padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.feature-body .price { font-size: 1.3rem; }

/* tiles */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.grid.is-loading { opacity: .5; pointer-events: none; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s, border-color .15s; }
.tile:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: #d2ccbc; }
.tile-link { text-decoration: none; padding: 22px 22px 0; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.tile-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.tile-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.tile-icon .icon { width: 26px; height: 26px; }
.tile-img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 10px; }
.tile h3 { font-size: 1.12rem; }
.tile-blurb { color: var(--muted); font-size: .92rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tile-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px 20px; margin-top: 12px; border-top: 1px solid var(--line); }
.price { font-weight: 700; font-variant-numeric: tabular-nums; }
.price s, .line-price s { color: var(--muted); font-weight: 500; margin-right: 6px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.chip { font-size: .72rem; font-weight: 700; letter-spacing: .04em; padding: 4px 10px; border-radius: 999px; background: var(--ink); color: #fff; }
.chip-soft { background: #f3ead9; color: #7a5520; }
.skeleton { min-height: 230px; padding: 22px; gap: 14px; }
.sk { background: linear-gradient(90deg, #eeeae0, #f7f4ee, #eeeae0); background-size: 200% 100%; animation: sh 1.2s infinite; border-radius: 8px; }
.sk-icon { width: 48px; height: 48px; }
.sk-line { height: 16px; width: 85%; } .sk-line.short { width: 55%; }
@keyframes sh { to { background-position: -200% 0; } }

/* shop toolbar */
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.toolbar .controls { display: flex; gap: 10px; flex-wrap: wrap; }
.field { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 10px 16px; font: inherit; font-size: .92rem; color: var(--ink); }
input.field { min-width: 220px; }
.state { background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); padding: 40px 24px; text-align: center; display: grid; gap: 14px; justify-items: center; }

/* service page */
.crumbs { font-size: .85rem; color: var(--muted); padding: 22px 0 0; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--accent); }
.pdp { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; padding: 28px 0 80px; align-items: start; }
.pdp-main h1 { font-size: clamp(2rem, 4.4vw, 3rem); margin: 14px 0 22px; }
.pdp-art { width: 64px; height: 64px; border-radius: 16px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.pdp-art .icon { width: 34px; height: 34px; }
.prose { font-size: 1.05rem; color: #2c403f; display: grid; gap: 14px; }
.prose ul { margin: 0; padding-left: 1.2em; }
.info { margin-top: 28px; border-top: 1px solid var(--line); }
.info details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.info summary { font-weight: 700; cursor: pointer; }
.buy { position: sticky; top: 92px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 26px; box-shadow: var(--shadow); display: grid; gap: 16px; }
.buy .price { font-size: 1.8rem; font-family: var(--font-display); font-weight: 500; }
.buy .reason { color: var(--muted); font-size: .9rem; }
.opt-group { display: grid; gap: 8px; }
.opt-group label { font-weight: 700; font-size: .9rem; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 8px 14px; cursor: pointer; font: inherit; font-size: .9rem; }
.pill[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-ink); font-weight: 700; }
.pill:disabled { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.qty-row { display: flex; align-items: center; gap: 14px; }
.stepper { display: inline-flex; align-items: center; gap: 4px; }
.stepper button:not(.link) { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-size: 1rem; }
.stepper button:disabled { opacity: .4; cursor: not-allowed; }
.stepper span { min-width: 26px; text-align: center; font-weight: 700; }
.stepper .link { margin-left: 10px; }
.assure { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: .88rem; color: var(--muted); }
.assure li::before { content: "—"; color: var(--brass); margin-right: 8px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 56px 0 90px; align-items: start; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; box-shadow: var(--shadow); display: grid; gap: 14px; }
.card form { display: grid; gap: 12px; }
.card label { font-weight: 700; font-size: .88rem; display: grid; gap: 6px; }
.card input, .card textarea, .card select { border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px; font: inherit; color: var(--ink); background: #fff; }
.card textarea { min-height: 130px; resize: vertical; }
.card > *, .card form > * { min-width: 0; }
.card input, .card textarea, .card select { width: 100%; min-width: 0; }

/* drawer */
#cart-root[hidden] { display: none; }
.scrim { position: fixed; inset: 0; background: rgba(18, 41, 43, .45); z-index: 40; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--paper); z-index: 41; display: flex; flex-direction: column; box-shadow: -10px 0 40px rgba(0, 0, 0, .15); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.4rem; }
.drawer-close { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); font-size: 1.3rem; cursor: pointer; line-height: 1; }
.alert { margin: 14px 20px 0; padding: 12px 14px; border-radius: 10px; background: #f8e7e0; color: var(--warn); font-size: .9rem; }
.lines { list-style: none; margin: 0; padding: 6px 20px; overflow-y: auto; flex: 1; }
.lines.is-busy { opacity: .6; }
.line { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.line-icon .icon { width: 22px; height: 22px; }
.line-name { font-weight: 700; text-decoration: none; font-size: .93rem; line-height: 1.35; display: block; }
.line-meta { font-size: .82rem; color: var(--muted); margin: 2px 0 8px; }
.line-price { font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.warn { color: var(--warn); font-weight: 700; }
.totals { padding: 16px 20px 22px; border-top: 1px solid var(--line); background: var(--surface); display: grid; gap: 8px; }
.row { display: flex; justify-content: space-between; gap: 12px; font-size: .95rem; }
.row.total { font-weight: 800; font-size: 1.05rem; padding-top: 8px; border-top: 1px solid var(--line); }
.empty { display: grid; gap: 14px; justify-items: start; }

/* footer */
.site-footer { background: var(--ink); color: var(--paper); padding: 48px 0 24px; margin-top: auto; }
.footer-row { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-row p { margin-top: 12px; max-width: 28rem; font-size: .92rem; }
.footer-links { display: grid; gap: 8px; align-content: start; }
.footer-links a { text-decoration: none; color: #d8e3e0; } .footer-links a:hover { color: #fff; }
.fine { margin-top: 32px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .82rem; color: #93a7a2; }

.hero-grid > *, .pdp > *, .contact-grid > *, .feature > * { min-width: 0; }
@media (max-width: 860px) {
  .hero-grid, .pdp, .contact-grid, .feature { grid-template-columns: minmax(0, 1fr); }
  .card select { max-width: 100%; }
  .brand { font-size: 1.02rem; }
  .buy { position: static; }
  .feature-art { min-height: 160px; }
  .nav { gap: 14px; }
  input.field { min-width: 0; width: 100%; }
  .toolbar .controls { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
