/*
  WAMDON: colours, shapes and motion live here.
  Ivory, forest green and walnut, taken from the logo. Brass is a tiny touch only.
  Everything is rounded: pills for buttons, circles for swatches and collections.
  Dark mode follows the visitor's device, and the moon/sun button overrides it.
*/
@font-face { font-family: "Fraunces"; src: url("/static/fonts/fraunces.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/static/fonts/manrope.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }

:root {
  --bg: #F6F1E8; --surface: #FBF8F3; --tint: #EEE7D9;
  --primary: #1F4A36; --on-primary: #FBF8F3;
  --secondary: #5A3420; --accent: #B08D57;
  --text: #1E1B17; --muted: #6E665C; --line: #E4DCCF;
  --footer-bg: #1F4A36; --footer-fg: #F6F1E8;
  --danger: #A3392B;
  --shadow: 0 1px 2px rgba(30, 27, 23, 0.04), 0 14px 36px rgba(30, 27, 23, 0.08);
  --r-lg: 28px; --r-md: 20px; --pill: 999px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --max: 1200px;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #121512; --surface: #1B201C; --tint: #232823;
  --primary: #7FB59A; --on-primary: #0F1A14;
  --secondary: #C9A27E; --accent: #D2B37E;
  --text: #EEE8DD; --muted: #A39B8F; --line: #2A302B;
  --footer-bg: #1B201C; --footer-fg: #EEE8DD;
  --danger: #E58E80;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 14px 36px rgba(0, 0, 0, 0.35);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121512; --surface: #1B201C; --tint: #232823;
    --primary: #7FB59A; --on-primary: #0F1A14;
    --secondary: #C9A27E; --accent: #D2B37E;
    --text: #EEE8DD; --muted: #A39B8F; --line: #2A302B;
    --footer-bg: #1B201C; --footer-fg: #EEE8DD;
    --danger: #E58E80;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 14px 36px rgba(0, 0, 0, 0.35);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16.5px/1.65 var(--sans); -webkit-font-smoothing: antialiased;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; letter-spacing: -0.015em; color: var(--text); margin: 0 0 0.6em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
::selection { background: color-mix(in srgb, var(--primary) 28%, transparent); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
[id] { scroll-margin-top: 100px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--primary); color: var(--on-primary); padding: 0.6rem 1.1rem; border-radius: var(--pill); transition: top 0.2s; }
.skip:focus { top: 12px; }
.small { font-size: 0.88rem; } .muted { color: var(--muted); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
main { min-height: 60vh; padding-bottom: 2rem; }
.js-only { display: none !important; } .js .js-only { display: inline-flex !important; }
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.eyebrow { display: inline-flex; align-items: center; gap: 0.6rem; margin: 0 0 1rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--secondary); }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 38rem; }

/* Buttons and round icon buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; padding: 0.9rem 1.7rem; border: 1.5px solid var(--primary); border-radius: var(--pill);
  background: var(--primary); color: var(--on-primary); font: 700 0.98rem/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background-color 0.3s, color 0.3s;
}
.button:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--on-primary); }
.button:active { transform: translateY(0); }
.button .ico { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.button:hover .ico { transform: translateX(3px); }
.button.ghost { background: transparent; color: var(--primary); }
.button.ghost:hover { background: var(--primary); color: var(--on-primary); }
.button.block { width: 100%; }
.button.grow { flex: 1; }
.button:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }
.link { background: none; border: 0; padding: 0; font: inherit; color: var(--primary); text-decoration: underline; cursor: pointer; }
.icon-btn {
  position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--surface); color: var(--text); cursor: pointer; text-decoration: none; padding: 0;
  transition: background-color 0.3s, transform 0.3s var(--ease), border-color 0.3s;
}
.icon-btn:hover { background: var(--tint); transform: translateY(-1px); color: var(--text); }
.badge {
  position: absolute; top: -3px; right: -3px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--primary); color: var(--on-primary);
  font: 700 0.7rem/20px var(--sans); text-align: center;
}
.bag.pulse .badge, .bag.pulse > .ico { animation: pulse 0.6s var(--ease); }
@keyframes pulse { 0% { transform: scale(1); } 35% { transform: scale(1.28); } 100% { transform: scale(1); } }
.pill-btn, .select-pill {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.6rem 1.1rem; border: 1.5px solid var(--line); border-radius: var(--pill); background: var(--surface);
  color: var(--text); font: 600 0.92rem/1 var(--sans); cursor: pointer; transition: border-color 0.3s, background-color 0.3s;
}
.pill-btn:hover, .select-pill:hover { border-color: var(--primary); }
.select-pill { position: relative; padding: 0; }
.select-pill select { appearance: none; border: 0; background: transparent; color: inherit; font: inherit; padding: 0.7rem 2.4rem 0.7rem 1.1rem; cursor: pointer; border-radius: var(--pill); }
.select-pill .ico { position: absolute; right: 0.8rem; width: 16px; height: 16px; pointer-events: none; }

/* Announcement bars */
.announce { background: var(--primary); color: var(--on-primary); text-align: center; font-size: 0.88rem; padding: 0.55rem 1rem; }
.announce p { margin: 0; } .announce a { color: inherit; font-weight: 700; }
.announce.soon { background: var(--tint); color: var(--text); border-bottom: 1px solid var(--line); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 84%, transparent); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color 0.3s, box-shadow 0.3s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 8px 28px rgba(30, 27, 23, 0.05); }
.bar { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.5rem; min-height: 78px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.logo { height: 40px; width: auto; }
.logo-dark { display: none; }
.logo-cms { border-radius: var(--pill); }
.site-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.2rem; }
.site-nav a { padding: 0.55rem 1.05rem; border-radius: var(--pill); color: var(--text); font-weight: 600; font-size: 0.95rem; text-decoration: none; transition: background-color 0.3s, color 0.3s; }
.site-nav a:hover { background: var(--tint); }
.site-nav a[aria-current] { background: var(--tint); color: var(--primary); }
.actions { display: flex; align-items: center; gap: 0.5rem; }
.menu-btn { display: none; }
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.when-light { display: inline-flex; } .when-dark { display: none; }
:root[data-theme="dark"] .when-light { display: none; } :root[data-theme="dark"] .when-dark { display: inline-flex; }
:root[data-theme="dark"] .logo-light { display: none; } :root[data-theme="dark"] .logo-dark { display: block; }
:root[data-theme="dark"] .logo-cms { background: #F6F1E8; padding: 6px 16px; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .when-light { display: none; } :root:not([data-theme="light"]) .when-dark { display: inline-flex; }
  :root:not([data-theme="light"]) .logo-light { display: none; } :root:not([data-theme="light"]) .logo-dark { display: block; }
  :root:not([data-theme="light"]) .logo-cms { background: #F6F1E8; padding: 6px 16px; }
}
@media (max-width: 900px) {
  .bar { grid-template-columns: 1fr auto; min-height: 68px; gap: 0.75rem; }
  .logo { height: 34px; }
  .menu-btn { display: inline-grid; }
  .site-nav { display: none; position: absolute; top: calc(100% + 6px); left: 16px; right: 16px; flex-direction: column; gap: 0.15rem; padding: 0.6rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
  .nav-toggle:checked ~ .site-nav { display: flex; animation: drop 0.35s var(--ease); }
  .site-nav a { padding: 0.8rem 1.1rem; font-size: 1.05rem; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* Front page */
.hero { padding: clamp(2rem, 5vw, 4.5rem) 0 0; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3rem; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.7rem); line-height: 1.03; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.8rem; }
.hero-art { position: relative; width: 100%; max-width: 520px; margin-left: auto; }
.orbit { aspect-ratio: 1; }
.orb { position: absolute; border-radius: 50%; overflow: hidden; box-shadow: var(--shadow); animation: float 9s ease-in-out infinite; }
.orb img, .orb .ph { width: 100%; height: 100%; object-fit: cover; }
.o1 { width: 68%; aspect-ratio: 1; right: 0; bottom: 0; }
.o2 { width: 42%; aspect-ratio: 1; left: 0; top: 6%; animation-delay: -3s; }
.o3 { width: 26%; aspect-ratio: 1; left: 15%; bottom: 3%; animation-delay: -6s; }
.ring { position: absolute; width: 88%; aspect-ratio: 1; top: 3%; left: 6%; border: 1.5px solid var(--accent); border-radius: 50%; opacity: 0.45; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.arch { aspect-ratio: 4 / 5; border-radius: 260px 260px var(--r-lg) var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.section { padding-top: clamp(3rem, 7vw, 5.5rem); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.8rem; }
.section-head h2 { margin: 0; }
.more { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 700; text-decoration: none; }
.more .ico { width: 18px; height: 18px; transition: transform 0.3s var(--ease); } .more:hover .ico { transform: translateX(4px); }
.section-lead { color: var(--muted); max-width: 40rem; margin: -0.2rem 0 1.8rem; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-art { margin: 0 auto; max-width: 400px; order: -1; }
}

/* Placeholder picture: a soft circle in the product's colour, until it has a photo */
.ph { position: relative; display: grid; place-items: center; width: 100%; height: 100%; overflow: hidden; background: radial-gradient(120% 120% at 25% 15%, color-mix(in srgb, var(--c) 26%, var(--surface)), color-mix(in srgb, var(--c) 50%, var(--tint))); }
.ph::before { content: ""; position: absolute; width: 64%; aspect-ratio: 1; right: -15%; bottom: -15%; border-radius: 50%; background: color-mix(in srgb, var(--c) 38%, transparent); }
.ph::after { content: ""; position: absolute; width: 30%; aspect-ratio: 1; left: 12%; top: 13%; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--c) 55%, transparent); }
.ph > span { position: relative; z-index: 1; font-family: var(--serif); font-size: clamp(2.2rem, 6vw, 3.8rem); color: color-mix(in srgb, var(--c) 80%, var(--text)); opacity: 0.5; }

/* Collections as circles */
.circles { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem 2.6rem; }
.circle-link { display: grid; justify-items: center; gap: 0.5rem; width: 168px; text-align: center; text-decoration: none; color: var(--text); }
.circle { width: 160px; height: 160px; border-radius: 50%; overflow: hidden; background: var(--tint); box-shadow: 0 0 0 1px var(--line); transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease); }
.circle img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.circle-link:hover .circle { transform: translateY(-5px); box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.circle-link:hover img { transform: scale(1.05); }
.circle-name { font-family: var(--serif); font-size: 1.25rem; margin-top: 0.3rem; }
.circle-count { font-size: 0.85rem; color: var(--muted); margin-top: -0.35rem; }
@media (max-width: 560px) { .circle, .circle-link { width: 132px; } .circle { height: 132px; } .circles { gap: 1.6rem 1.2rem; } }

/* Product grid and cards */
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.4rem 1.5rem; }
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 1.8rem 0.9rem; } }
.card-wrap { min-width: 0; }
.card { display: block; text-decoration: none; color: var(--text); }
.card-media { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--tint); box-shadow: 0 0 0 1px var(--line); }
.card-media img, .card-media .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease), opacity 0.5s var(--ease); }
.card:hover .card-media .main { transform: scale(1.04); }
.card-media .alt { opacity: 0; } .card:hover .card-media .alt { opacity: 1; transform: scale(1.03); }
.tag { position: absolute; left: 0.8rem; top: 0.8rem; z-index: 2; padding: 0.3rem 0.8rem; border-radius: var(--pill); background: var(--surface); color: var(--text); font-size: 0.75rem; font-weight: 700; }
.card-body { display: flex; justify-content: space-between; gap: 0.8rem; padding: 0.9rem 0.3rem 0; }
.card-name { font-family: var(--serif); font-size: 1.12rem; line-height: 1.25; }
.card-price { color: var(--secondary); font-weight: 700; font-size: 0.95rem; white-space: nowrap; }
.dots { display: flex; gap: 0.4rem; padding: 0.5rem 0.3rem 0; }
.dots .dot { width: 13px; height: 13px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.16); }
.list .grid .card-wrap { animation: rise 0.7s var(--ease) both; animation-delay: calc(var(--i, 0) * 50ms); }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Lists: heading, toolbar, filters */
.list-top { padding-top: 1.6rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: 0.85rem; color: var(--muted); margin-bottom: 1.2rem; }
.crumbs a { color: var(--muted); text-decoration: none; } .crumbs a:hover { color: var(--primary); }
.list-head { display: flex; align-items: center; gap: 1.4rem; margin-bottom: 1.4rem; }
.list-head h1 { margin-bottom: 0.3em; } .list-head .lead { margin: 0; }
.list-pic { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; flex: none; box-shadow: 0 0 0 1px var(--line); } .list-pic img { width: 100%; height: 100%; object-fit: cover; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 0; margin-bottom: 2rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.toolbar .count { margin: 0; color: var(--muted); font-size: 0.92rem; }
.tools { display: flex; gap: 0.6rem; }
.empty, .empty-state { text-align: center; color: var(--muted); padding: 3rem 0; }
.search-form { display: flex; gap: 0.6rem; max-width: 560px; margin: 0.4rem 0 1.6rem; }
.search-form input { flex: 1; min-width: 0; }
input[type="search"], input[type="text"], input[type="email"], input[type="tel"], textarea, select {
  width: 100%; padding: 0.85rem 1.3rem; border: 1.5px solid var(--line); border-radius: var(--pill); background: var(--surface); color: var(--text); font: inherit; transition: border-color 0.3s, box-shadow 0.3s;
}
textarea { border-radius: var(--r-md); resize: vertical; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 20%, transparent); }

/* Drawers (the bag and the filters) */
.scrim { position: fixed; inset: 0; z-index: 55; background: rgba(18, 21, 18, 0.45); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; transition: opacity 0.35s var(--ease); }
.scrim.show { opacity: 1; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 60; width: min(440px, 100%); display: flex; flex-direction: column; background: var(--surface); border-radius: 32px 0 0 32px; box-shadow: -24px 0 70px rgba(0, 0, 0, 0.18); visibility: hidden; transform: translateX(105%); transition: transform 0.45s var(--ease), visibility 0s linear 0.45s; }
.drawer.open { visibility: visible; transform: none; transition: transform 0.45s var(--ease), visibility 0s; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 1.4rem; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font-size: 1.5rem; }
.drawer-body { flex: 1; overflow: auto; padding: 1.2rem 1.4rem; }
.drawer-foot { display: grid; gap: 0.7rem; padding: 1.2rem 1.4rem; border-top: 1px solid var(--line); }
.drawer-foot.row { display: flex; } .drawer-foot.row .button { flex: 1; }
.cart-empty { text-align: center; color: var(--muted); padding: 3rem 0; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; margin: 0; font-size: 1.1rem; } .cart-total strong { font-family: var(--serif); font-size: 1.5rem; }
.line { display: grid; grid-template-columns: 78px 1fr auto; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); animation: rise 0.45s var(--ease) both; }
.line-pic { width: 78px; height: 96px; border-radius: var(--r-md); overflow: hidden; background: var(--tint); } .line-pic img, .line-pic .ph { width: 100%; height: 100%; object-fit: cover; }
.line-name { font-family: var(--serif); font-size: 1.05rem; line-height: 1.25; margin: 0; text-decoration: none; color: var(--text); }
.line-meta { font-size: 0.85rem; color: var(--muted); margin: 0.15rem 0 0.5rem; }
.line-price { font-weight: 700; color: var(--secondary); text-align: right; }
.mini-qty { display: inline-flex; align-items: center; gap: 0.3rem; border: 1.5px solid var(--line); border-radius: var(--pill); padding: 0.12rem; }
.mini-qty button, .qty button { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 0; background: transparent; color: var(--text); cursor: pointer; transition: background-color 0.25s; }
.mini-qty button:hover, .qty button:hover { background: var(--tint); }
.mini-qty button .ico, .qty button .ico { width: 16px; height: 16px; }
.mini-qty output, .qty output { min-width: 1.6rem; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.remove { background: none; border: 0; color: var(--muted); font: inherit; font-size: 0.82rem; text-decoration: underline; cursor: pointer; margin-top: 0.4rem; display: block; padding: 0; }
.group { border: 0; padding: 0; margin: 0 0 1.8rem; } .group legend { font-weight: 700; margin-bottom: 0.8rem; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip, .pill { position: relative; display: inline-block; }
.chip input, .pill input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span, .pill span { display: inline-block; padding: 0.55rem 1.1rem; border: 1.5px solid var(--line); border-radius: var(--pill); font-weight: 600; font-size: 0.92rem; background: var(--surface); transition: background-color 0.25s, border-color 0.25s, color 0.25s, transform 0.25s var(--ease); }
.chip:hover span, .pill:hover span { border-color: var(--primary); }
.chip input:checked + span, .pill input:checked + span { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.chip input:focus-visible + span, .pill input:focus-visible + span { outline: 2px solid var(--primary); outline-offset: 3px; }
.pill span { min-width: 56px; text-align: center; padding: 0.7rem 1.1rem; }
.pill input:disabled { cursor: not-allowed; } .pill input:disabled + span { opacity: 0.4; text-decoration: line-through; }
.check { display: flex; align-items: center; gap: 0.7rem; cursor: pointer; font-weight: 600; } .check input { width: 20px; height: 20px; accent-color: var(--primary); }
.range { width: 100%; accent-color: var(--primary); padding: 0; border: 0; box-shadow: none; }
.swatches { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.swatch { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; cursor: pointer; }
.swatch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.swatch .dot { width: 30px; height: 30px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.14); transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.swatch:hover .dot { transform: scale(1.1); }
.swatch input:checked + .dot { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.14), 0 0 0 3px var(--bg), 0 0 0 5px var(--primary); }
.swatch input:focus-visible + .dot { outline: 2px solid var(--primary); outline-offset: 6px; }
.swatch input:disabled + .dot { opacity: 0.35; }

/* Product page */
.pdp { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(1.6rem, 4vw, 4rem); padding-top: 0.4rem; align-items: start; }
.gallery-main { aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--tint); box-shadow: 0 0 0 1px var(--line); }
.gallery-main img, .gallery-main .ph { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease), opacity 0.3s; cursor: zoom-in; }
.gallery-main:hover img { transform: scale(1.05); }
.thumbs { list-style: none; display: flex; gap: 0.7rem; padding: 0; margin: 1rem 0 0; }
.thumbs button { width: 72px; height: 72px; padding: 0; border-radius: 50%; overflow: hidden; border: 2px solid transparent; background: var(--tint); cursor: pointer; transition: border-color 0.3s, transform 0.3s var(--ease); }
.thumbs button:hover { transform: translateY(-2px); } .thumbs button[aria-current="true"] { border-color: var(--primary); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.buy { position: sticky; top: 104px; }
.buy h1 { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 0.25em; }
.price { font-family: var(--serif); font-size: 1.75rem; color: var(--secondary); margin-bottom: 0.8rem; transition: opacity 0.2s; }
.summary { color: var(--muted); }
.opt { border: 0; padding: 0; margin: 1.5rem 0 0; } .opt legend { font-weight: 700; font-size: 0.92rem; margin-bottom: 0.6rem; padding: 0; }
.val { font-weight: 500; color: var(--muted); }
.pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.buy-row { display: flex; align-items: center; gap: 0.8rem; margin-top: 1.8rem; }
.qty { display: inline-flex; align-items: center; gap: 0.2rem; border: 1.5px solid var(--line); border-radius: var(--pill); padding: 0.2rem; background: var(--surface); }
.qty button { width: 38px; height: 38px; }
.note { min-height: 1.4em; margin: 0.8rem 0 0; }
.details { margin-top: 1.6rem; }
details { border-top: 1px solid var(--line); }
.details details:last-child, .faq-item:last-child { border-bottom: 1px solid var(--line); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.05rem 0; font-weight: 700; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary .chev, .faq-chev { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
details[open] > summary .chev, details[open] > summary .faq-chev { transform: rotate(180deg); }
details > .content, .faq-answer { padding-bottom: 1.1rem; animation: drop 0.4s var(--ease); }
@media (max-width: 860px) { .pdp { grid-template-columns: 1fr; } .buy { position: static; } }

/* Footer */
.site-footer { margin-top: 5rem; padding: 3.6rem 0 1.6rem; background: var(--footer-bg); color: var(--footer-fg); border-radius: 44px 44px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.4rem; }
.footer-name { font-family: var(--serif); font-size: 1.9rem; margin: 0 0 0.4rem; }
.footer-about p { max-width: 30rem; opacity: 0.88; }
.footer-head { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.65; margin-bottom: 0.6rem; }
.footer-links a { display: block; padding: 0.22rem 0; color: inherit; text-decoration: none; opacity: 0.9; transition: opacity 0.2s, transform 0.3s var(--ease); }
.footer-links a:hover { opacity: 1; transform: translateX(3px); }
.footer-contact { display: flex; align-items: center; gap: 0.6rem; margin: 0.35rem 0 0; } .footer-contact a { color: inherit; }
.footer-social { display: flex; gap: 0.6rem; margin-top: 1.6rem; }
.site-footer .icon-btn { background: transparent; color: inherit; border-color: color-mix(in srgb, currentColor 30%, transparent); }
.site-footer .icon-btn:hover { background: color-mix(in srgb, currentColor 12%, transparent); }
.footer-base { margin-top: 2.2rem; padding-top: 1.2rem; border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent); font-size: 0.85rem; opacity: 0.8; } .footer-base p { margin: 0; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } .site-footer { border-radius: 32px 32px 0 0; } }

/* Pages and blocks from the CMS */
.content { max-width: 760px; } .wrap.content, .content.wrap { margin: 0 auto; padding: clamp(2rem, 5vw, 3.5rem) 24px 0; }
.content h2 { margin-top: 1.6em; } .content h3 { margin-top: 1.4em; }
.content img { border-radius: var(--r-lg); margin: 1.4rem 0; }
.content blockquote { margin: 1.5rem 0; padding: 0.4rem 0 0.4rem 1.4rem; border-left: 3px solid var(--accent); font-family: var(--serif); font-size: 1.25rem; }
.content ul, .content ol { padding-left: 1.3rem; } .content li { margin-bottom: 0.4rem; }
.feature { border-radius: var(--r-lg); margin: 1.4rem 0; }
.page-hero { padding: clamp(2.4rem, 6vw, 4.4rem) 0 0; } .page-hero h1 { font-size: clamp(2.3rem, 5.5vw, 3.8rem); max-width: 18ch; }
.page-hero-img { width: 100%; max-height: 460px; object-fit: cover; border-radius: var(--r-lg); margin-top: 2rem; }
.jump { display: flex; flex-wrap: wrap; gap: 0.5rem; } .jump a { padding: 0.45rem 1rem; border: 1.5px solid var(--line); border-radius: var(--pill); text-decoration: none; font-weight: 600; font-size: 0.9rem; }
.textimg { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 5vw, 4rem); align-items: center; } .textimg.no-pic { grid-template-columns: 1fr; max-width: 760px; }
.textimg.left .textimg-pic { order: -1; } .textimg-pic img { width: 100%; border-radius: var(--r-lg); aspect-ratio: 4 / 5; object-fit: cover; }
.cta-box { text-align: center; padding: clamp(2.2rem, 5vw, 3.8rem) 1.6rem; border-radius: 40px; background: var(--tint); } .cta-box p { max-width: 34rem; margin-left: auto; margin-right: auto; color: var(--muted); }
.feat-grid, .values, .related, .svc-grid, .about-grid, .reviews, .gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; }
.feat, .value, .svc, .about-card, .review, .related-card { padding: 1.6rem; border-radius: var(--r-lg); background: var(--surface); box-shadow: 0 0 0 1px var(--line); text-decoration: none; color: var(--text); }
.feat-icon, .value-icon, .svc-icon, .step-dot { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--tint); color: var(--primary); margin-bottom: 0.9rem; flex: none; }
.related-card { display: flex; gap: 1rem; align-items: center; } .related-card .feat-icon { margin: 0; }
.related-card span { display: block; } .related-card strong { display: block; }
.services-band { background: var(--tint); padding: 3.5rem 0; margin-top: 3rem; border-radius: 44px; }
.svc-more { color: var(--primary); font-weight: 700; }
.faq { max-width: 760px; } .faq-item[open] summary { color: var(--primary); } .faq-answer p:last-child { margin: 0; }
.about-strip-inner { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; padding: 1.2rem 1.6rem; border-radius: var(--pill); background: var(--tint); margin-top: 3rem; } .about-strip-inner p { margin: 0; flex: 1; min-width: 200px; } .about-strip-inner .feat-icon { margin: 0; width: 40px; height: 40px; background: var(--surface); }
.about-link { font-weight: 700; text-decoration: none; }
.gallery figure, .review { margin: 0; } .gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-lg); } .gallery figcaption { font-size: 0.85rem; color: var(--muted); padding: 0.4rem 0.4rem 0; }
.review blockquote { margin: 0 0 1rem; font-family: var(--serif); font-size: 1.1rem; } .review figcaption { display: flex; align-items: center; gap: 0.8rem; font-size: 0.9rem; } .review figcaption img { border-radius: 50%; }
.icon-list, .ticks { list-style: none; padding: 0; margin: 0; } .icon-list li, .ticks li { display: flex; align-items: center; gap: 0.7rem; padding: 0.4rem 0; }
.icon-list .feat-icon { margin: 0; width: 38px; height: 38px; }
.ticks li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--primary); flex: none; } .ticks.plus li::before { background: var(--accent); }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; }
.stats-band { margin-top: 3rem; padding: 2.4rem 0; background: var(--tint); border-radius: 44px; }
.stats { display: flex; flex-wrap: wrap; justify-content: space-around; gap: 1.6rem; text-align: center; } .stat p { margin: 0; color: var(--muted); } .stat .stat-num { font-family: var(--serif); font-size: 2.6rem; color: var(--primary); line-height: 1.1; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.2rem; max-width: 760px; } .step { display: flex; gap: 1.2rem; align-items: flex-start; } .step-dot { margin: 0; } .step h3 { margin-bottom: 0.2em; } .step p { margin: 0; } .step-num { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--secondary); }
.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(1.6rem, 5vw, 4rem); align-items: start; } @media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-form { display: grid; gap: 1rem; } .contact-form label { display: block; font-weight: 600; font-size: 0.92rem; } .contact-form label input, .contact-form label textarea { margin-top: 0.4rem; font-weight: 400; } .optional { font-weight: 400; color: var(--muted); }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.notice { padding: 1.6rem; border-radius: var(--r-lg); } .success { background: var(--tint); } .error-box { background: color-mix(in srgb, var(--danger) 12%, var(--surface)); color: var(--danger); margin-bottom: 1.2rem; } .error-box ul { margin: 0; padding-left: 1.2rem; }
.contact-info, .next-steps { padding: 1.8rem; border-radius: var(--r-lg); background: var(--surface); box-shadow: 0 0 0 1px var(--line); margin-bottom: 1.2rem; }
.info-row { display: flex; gap: 1rem; align-items: flex-start; margin-top: 1rem; } .info-row .feat-icon { margin: 0; } .info-row p { margin: 0; } .info-row strong { display: block; }
.next-steps ol { list-style: none; padding: 0; margin: 0; } .next-steps li { display: flex; gap: 0.8rem; margin-bottom: 0.8rem; } .next-steps li span { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--primary); color: var(--on-primary); font-size: 0.8rem; font-weight: 700; flex: none; }
.error { padding-top: clamp(3rem, 9vw, 6rem); text-align: left; }

/* Things fade up gently as they come into view */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
