:root {
  --bg: #f5f3ee;
  --surface: #ffffff;
  --ink: #12241f;
  --muted: #5a6964;
  --line: #e1ddd2;
  --accent: #17694f;
  --accent-ink: #ffffff;
  --soft: #e3eee8;
  --warm: #f0e7d8;
  --danger: #a8432a;
  --logo-tile: #12241f;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(18, 36, 31, .05), 0 12px 32px rgba(18, 36, 31, .08);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1513;
    --surface: #15211e;
    --ink: #ebf1ee;
    --muted: #9bada6;
    --line: #26352f;
    --accent: #5fd0a5;
    --accent-ink: #06231a;
    --soft: #1b2e28;
    --warm: #232a22;
    --logo-tile: #1f3a31;
    --danger: #f0907a;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px rgba(0, 0, 0, .35);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }

.black-friday-banner {
  color: #f5f3ee;
  background: #0c211a url("images/black-friday-backdrop.webp") center / cover;
}
.black-friday-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(1.5rem, 5vw, 5rem);
  padding-block: clamp(2.4rem, 5vw, 5rem);
}
:root { --black-friday-mint: #a1efd1; }
.black-friday-label, .black-friday-actions strong { color: var(--black-friday-mint); }
.black-friday-eligibility { text-decoration: underline var(--black-friday-mint); text-underline-offset: 0.22em; }
.black-friday-label { font-weight: 700; }
.black-friday-banner h2 { font-size: clamp(1.6rem, 3vw, 2.8rem); line-height: 1.1; margin: .18em 0; }
.black-friday-discount { font-size: clamp(3.5rem, 8vw, 7rem); font-weight: 800; line-height: 1; margin: .12em 0 .25em; }
.black-friday-products { font-size: clamp(1.1rem, 2.3vw, 1.6rem); }
.black-friday-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem 1.2rem; margin-top: 1.5rem; }
.black-friday-actions a { background: #a1efd1; color: #11281f; }
.black-friday-media { position: relative; }
.black-friday-media img {
  display: block;
  height: auto;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 14px 35px #0005;
}
.black-friday-runner { width: 100%; aspect-ratio: 4 / 3; object-position: 66% center; }
.black-friday-ring {
  position: absolute;
  bottom: .75rem;
  left: .75rem;
  width: 30%;
  aspect-ratio: 1;
}
@media (max-width: 700px) {
  .black-friday-layout { grid-template-columns: 1fr; }
}

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 50; }

/* Header */
.announce { background: var(--ink); color: var(--bg); text-align: center; font-size: .85rem; padding: 8px 16px; }
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--serif); font-size: 1.9rem; font-weight: 600; }
.logo-mark { flex: none; width: 48px; height: 48px; }
.logo-text { display: grid; line-height: 1; }
.logo-text small { font: 600 .68rem var(--sans); letter-spacing: .34em; text-transform: uppercase; color: var(--accent); margin-top: 4px; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a, .nav-sizer { text-decoration: none; color: var(--muted); font-size: .95rem; }
.nav a:hover, .nav-sizer:hover { color: var(--ink); }
.nav-sizer { padding: 0; border: 0; background: none; white-space: nowrap; }
.cart-btn { display: flex; align-items: center; gap: 8px; background: #ffa34d; color: #241306; border: 1px solid transparent; border-radius: 999px; padding: 8px 14px; }
.cart-btn:hover { background: #ffb66f; }
.cart-count { background: #241306; color: #ffa34d; border-radius: 999px; min-width: 22px; height: 22px; display: grid; place-items: center; font-size: .78rem; font-weight: 700; padding: 0 6px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 13px 24px; font-weight: 600; text-decoration: none; border: 1.5px solid transparent; transition: transform .15s, background .15s, border-color .15s; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 86%, var(--ink)); }
.btn-add-to-cart { background: #ffa34d; color: #241306; }
.btn-add-to-cart:hover { background: #ffb66f; }
.btn-ghost { background: transparent; border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn-small { padding: 9px 16px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* Hero */
.hero { padding: clamp(40px, 7vw, 88px) 0; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--accent); margin-bottom: 16px; }
.lede { font-size: 1.15rem; color: var(--muted); margin-top: 20px; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.trust { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: .9rem; }
.trust li::before { content: "✓"; color: var(--accent); font-weight: 700; margin-right: 7px; }

.hero-visual { display: grid; gap: 12px; }
.hero-product { position: relative; margin: 0; overflow: hidden; border-radius: 24px; background: #e7efea; }
.hero-product img { display: block; width: 100%; height: clamp(245px, 32vw, 380px); object-fit: cover; }
.hero-product figcaption { position: absolute; bottom: 12px; left: 18px; color: #263c32; background: #f0f4ed; border-radius: 999px; padding: 4px 10px; font-weight: 700; }
.hero-reading { display: flex; justify-content: space-between; align-items: center; gap: 6px 16px; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; background: var(--surface); }
.hero-reading div { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.hero-reading span { color: var(--muted); font-size: .88rem; }
.hero-reading strong { color: var(--accent); }

/* How */
/* The ring film fills the section, with a gradient behind the instructions. */
.how {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: clamp(520px, 88svh, 920px);
  padding: clamp(64px, 7vw, 100px) 0 clamp(32px, 5vw, 64px);
  background: var(--surface);
  border-block: 1px solid var(--line);
  color: #fff;
}
.how-film {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.how::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 20%, rgba(9, 18, 15, .24) 42%, rgba(9, 18, 15, .92) 81%, #09120f 100%);
}
.how-content { align-self: end; }
.how .steps p { color: #e4eeea; }
.how-film-toggle {
  position: absolute;
  top: 16px;
  right: max(16px, env(safe-area-inset-right));
  padding: 8px 14px;
  border: 1px solid #ffffff75;
  border-radius: 999px;
  background: #09120fd9;
  color: #fff;
  font: inherit;
  cursor: pointer;
}
@media (max-width: 760px) {
  .how { padding-top: max(260px, 42vw); }
  .how-film { height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
  .how::before { background: linear-gradient(180deg, transparent 5%, #09120f 40%); }
}
.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.steps p { color: var(--muted); margin-top: 8px; }
.step-n { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--soft); color: var(--accent); font-weight: 700; margin-bottom: 14px; }

/* Video feature */
.feature { padding: clamp(40px, 6vw, 80px) 0 0; }
.feature-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.feature-video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 22px; box-shadow: var(--shadow); }
@media (max-width: 860px) { .feature-grid { grid-template-columns: 1fr; } }

.feature .lede { font-size: 1.05rem; margin-top: 14px; }
.feature-slides { position: relative; aspect-ratio: 1; background: #fff; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
.feature-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: slide-fade 14s infinite; }
.feature-slides img:nth-child(1) { animation-delay: 0s; }
.feature-slides img:nth-child(2) { animation-delay: 3.5s; }
.feature-slides img:nth-child(3) { animation-delay: 7s; }
.feature-slides img:nth-child(4) { animation-delay: 10.5s; }
@keyframes slide-fade { 0% { opacity: 0; } 5% { opacity: 1; } 25% { opacity: 1; } 31% { opacity: 0; } 100% { opacity: 0; } }
.track { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.track li { display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.track svg { flex: 0 0 22px; width: 22px; height: 22px; margin-top: 2px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.track strong { display: block; font-size: .95rem; }
.track span { display: block; font-size: .84rem; color: var(--muted); line-height: 1.35; }
@media (min-width: 861px) { .feature-flip { grid-template-columns: .95fr 1.05fr; } }
@media (max-width: 860px) { .feature-flip .feature-slides { order: -1; } }
@media (max-width: 420px) { .track { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .feature-slides img { animation: none; } .feature-slides img:first-child { opacity: 1; } }

.ring-scene { aspect-ratio: 1; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); background: radial-gradient(circle at 50% 42%, #1c4a41 0%, #0e2420 48%, #07110f 100%); }
.ring-scene canvas { display: block; width: 100%; height: 100%; }
.track li { transition: border-color .4s, box-shadow .4s; }
.track li.on { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }

/* Shop */
.shop { padding: clamp(48px, 7vw, 88px) 0; }
.shop-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.sort { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--muted); }
.sort select { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 28px; }
.chip { background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: .92rem; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 22px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-art { position: relative; background: var(--soft); border: 0; padding: 0; display: block; width: 100%; color: var(--ink); }
.card-art svg, .pd-art svg { display: block; width: 100%; height: auto; }
.card-art img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; padding: 12px; background: #fff; }
.pd-art { overflow: hidden; }
.pd-art img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.pd-art img.full { aspect-ratio: auto; object-fit: contain; max-height: 72vh; background: #0b0b0b; }
.pd-art video { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; background: #000; }
.thumbs .thumb-video { position: relative; }
.thumb-video span { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 1rem; background: rgba(0, 0, 0, .35); }
.pd-media { align-self: start; min-width: 0; display: flex; gap: 10px; align-items: flex-start; }
.pd-view { position: relative; flex: 1; min-width: 0; }
.thumbs { display: flex; flex-direction: column; gap: 6px; flex: 0 0 clamp(40px, 5vw, 54px); max-height: min(440px, 58vh); overflow-y: auto; padding: 2px; }
.thumbs button { flex: 0 0 auto; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--soft); }
.thumbs button:hover, .thumbs button[aria-pressed="true"] { border-color: var(--ink); }
.pd-actions { position: absolute; top: 8px; right: 8px; display: flex; gap: 6px; }
.pd-actions > button, .product-share summary { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: #fff; color: #18231f; box-shadow: 0 1px 5px #0003; }
.product-share { position: relative; }
.product-share summary { cursor: pointer; list-style: none; }
.product-share summary::-webkit-details-marker { display: none; }
.product-share-links { position: absolute; z-index: 3; top: calc(100% + 8px); right: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 204px; max-height: min(300px, 48vh); overflow-y: auto; padding: 6px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); }
.product-share-links a, .product-share-links button { display: block; width: 100%; padding: 8px 10px; border: 0; border-radius: 6px; background: transparent; color: var(--ink); text-align: left; text-decoration: none; white-space: nowrap; }
.product-share-links a:hover, .product-share-links button:hover { background: var(--soft); }
.product-share-links [role="status"] { grid-column: 1 / -1; }
.product-share-links [role="status"]:not(:empty) { padding: 4px 10px; color: var(--accent); font-size: .8rem; }
.pd-actions svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pd-actions [aria-pressed="true"] { color: #a82247; }
.pd-actions [aria-pressed="true"] svg { fill: currentColor; }
.thumbs img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.line-art img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.badge { position: absolute; top: 12px; left: 12px; background: var(--ink); color: var(--bg); font-size: .72rem; font-weight: 700; letter-spacing: .04em; border-radius: 999px; padding: 4px 10px; }
.card-body { padding: 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.cat { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.card-title { background: none; border: 0; padding: 0; text-align: left; font: 600 1.25rem var(--serif); }
.card-title:hover { text-decoration: underline; text-underline-offset: 3px; }
.blurb { color: var(--muted); font-size: .93rem; flex: 1; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; }
.price { font-weight: 700; font-size: 1.08rem; }
.price s { color: var(--muted); font-weight: 400; font-size: .9rem; margin-left: 6px; }

/* Reviews */
.stars { color: #d99a1c; letter-spacing: .08em; white-space: nowrap; }
.stars i { font-style: normal; color: var(--line); }
.rating { display: block; font-size: .88rem; color: var(--muted); }
.rating b, .reviews-sum b { color: var(--ink); }
.reviews { padding: clamp(40px, 6vw, 80px) 0; border-top: 1px solid var(--line); }
.reviews-sum { color: var(--muted); margin-top: 8px; }
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin-top: 26px; }
.review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: grid; gap: 8px; align-content: start; }
.review-text { overflow-wrap: anywhere; }
.review-by { font-size: .92rem; margin-top: 4px; }
.review-meta { font-size: .82rem; color: var(--muted); }
.reviews-fine { margin-top: 22px; font-size: .85rem; color: var(--muted); max-width: 70ch; }
.pd-reviews { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.pd-reviews .review-grid { margin-top: 14px; }
.pd-reviews .review { background: var(--bg); border: 0; }
.text-link { background: none; border: 0; padding: 0; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; font-size: inherit; }
.text-link:hover { color: var(--accent); }

.modal-narrow { width: min(520px, calc(100vw - 24px)); }
.rv-lede { color: var(--muted); margin: 10px 0 20px; padding-right: 24px; }
.co-form[data-review-form] { display: grid; gap: 14px; }
.co-form[data-review-form] fieldset { margin: 0; }
.co-form select, .co-form textarea { width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; font: inherit; color: var(--ink); }
.co-form textarea { resize: vertical; min-height: 110px; }
.co-form select:focus, .co-form textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.rate legend { font-weight: 400 !important; font-size: .88rem; color: var(--muted); margin-bottom: 2px !important; }
.rate-stars { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.rate-stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.co-form .rate-stars label { display: block; cursor: pointer; font-size: 2rem; line-height: 1; color: var(--line); }
.rate-stars label::before { content: "★"; }
.rate-stars label span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.co-form .rate-stars input:checked ~ label, .co-form .rate-stars label:hover, .co-form .rate-stars label:hover ~ label { color: #d99a1c; }
.rate-stars input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.co-form .rv-note { text-align: left; margin-top: -6px; }

/* FAQ */
.faq { padding: clamp(40px, 6vw, 80px) 0; background: var(--surface); border-top: 1px solid var(--line); }
.faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; }
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
details:first-child { padding-top: 0; }
summary { font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin-top: 10px; max-width: 60ch; }

/* Footer */
.site-footer { padding: 36px 0 48px; font-size: .88rem; color: var(--muted); border-top: 1px solid var(--line); }
.footer-row { display: grid; gap: 16px; }
.footer-row strong { color: var(--ink); font-family: var(--serif); font-size: 1.1rem; }
.footer-row p { max-width: 70ch; margin-top: 6px; }

.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-links a { color: var(--ink); text-decoration: none; }
.footer-links a:hover, .footer-links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 3px; }

/* Policy pages */
.policy { padding: clamp(36px, 6vw, 72px) 0; }
.policy-wrap { max-width: 720px; }
.policy h1 { font-size: clamp(2rem, 4.4vw, 3rem); margin-top: 8px; }
.policy h2 { font-size: 1.35rem; margin: 34px 0 10px; }
.policy p, .policy ul, .policy ol, .policy dl, .policy table { margin: 0 0 14px; }
.policy ul, .policy ol { padding-left: 22px; }
.policy li { margin-bottom: 6px; }
.policy a { color: var(--accent); text-underline-offset: 3px; }
.policy-date { color: var(--muted); font-size: .9rem; margin: 10px 0 26px !important; }
.policy-back { margin-left: auto; }
.policy-table { border-collapse: collapse; width: min(360px, 100%); }
.policy-table th, .policy-table td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.policy-table th { color: var(--muted); font-size: .85rem; font-weight: 600; }
.policy-facts { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.policy-facts dt { color: var(--muted); }
.policy-facts dd { margin: 0; overflow-wrap: anywhere; }
.todo { background: #ffe58a; color: #3a2c00; border-radius: 5px; padding: 1px 6px; }

/* Dialogs */
dialog { border: 0; padding: 0; color: var(--ink); background: var(--surface); }
dialog::backdrop { background: rgba(10, 20, 17, .55); backdrop-filter: blur(2px); }
.close { background: var(--bg); border: 0; width: 36px; height: 36px; border-radius: 50%; font-size: 1.3rem; line-height: 1; display: grid; place-items: center; }
.close:hover { background: var(--line); }

.modal { width: min(860px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); border-radius: 22px; padding: clamp(20px, 3vw, 36px); box-shadow: var(--shadow); }
.modal > .close { position: absolute; top: 14px; right: 14px; z-index: 2; }
.modal-wide { width: min(960px, calc(100vw - 24px)); }

.pd { display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; }
.pd-art { background: var(--soft); border-radius: 16px; align-self: start; }
.pd h2 { margin: 6px 0 8px; padding-right: 36px; }
.pd-desc { color: var(--muted); margin: 12px 0 16px; }
.pd ul { margin: 0 0 16px; padding-left: 20px; }
.pd li { margin-bottom: 5px; }
.specs { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: .9rem; margin: 0 0 20px; padding: 14px; background: var(--bg); border-radius: 12px; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; }
.opt { display: flex; align-items: center; gap: 12px; font-weight: 600; margin-bottom: 6px; }
.opt select { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; font-weight: 400; }
.opt-msg:empty { margin: 0; min-height: 0; }
.opt-msg { color: var(--danger); font-size: .88rem; min-height: 1.4em; margin-bottom: 8px; }
.line-opt { color: var(--muted); font-size: .85rem; }
.pd-buy { margin: 10px 0 18px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.qty button { background: none; border: 0; width: 34px; height: 34px; font-size: 1.1rem; }
.qty span { min-width: 24px; text-align: center; font-weight: 600; }

.drawer { margin: 0 0 0 auto; width: min(430px, 100vw); height: 100dvh; max-height: none; max-width: none; }
.drawer[open] { display: flex; flex-direction: column; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.4rem; }
.drawer-body { flex: 1; overflow: auto; padding: 8px 22px; }
.drawer-foot { padding: 18px 22px 22px; border-top: 1px solid var(--line); }
.empty { text-align: center; color: var(--muted); padding: 56px 0; display: grid; gap: 16px; justify-items: center; }

.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.line-art { background: var(--soft); border-radius: 12px; overflow: hidden; }
.line-art svg { display: block; width: 100%; }
.line-name { font-weight: 600; }
.line-meta { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.link { background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; font-size: .85rem; }
.link:hover { color: var(--danger); }

.totals { display: grid; gap: 6px; font-size: .95rem; margin-bottom: 14px; }
.totals div { display: flex; justify-content: space-between; gap: 12px; }
.totals .muted { color: var(--muted); }
.totals .grand { font-weight: 700; font-size: 1.1rem; padding-top: 10px; margin-top: 4px; border-top: 1px solid var(--line); }
.ship-hint { font-size: .85rem; color: var(--accent); margin-bottom: 12px; }
.promo { display: flex; gap: 8px; margin-bottom: 6px; }
.promo input { flex: 1; min-width: 0; }
.promo-msg { font-size: .83rem; min-height: 1.3em; margin-bottom: 10px; color: var(--muted); }
.promo-msg.bad { color: var(--danger); }
.pay-note { font-size: .82rem; color: var(--muted); text-align: center; margin-top: 10px; }
.pay-note.bad { color: var(--danger); }

input[type="text"], input[type="email"] { width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; }
input:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }

/* Checkout */
.co-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 28px; margin-top: 20px; }
.co-form fieldset { border: 0; padding: 0; margin: 0 0 22px; display: grid; gap: 12px; }
.co-form legend { font-weight: 700; padding: 0; margin-bottom: 10px; }
.co-form label { display: grid; gap: 5px; font-size: .88rem; color: var(--muted); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.radios { display: grid; gap: 8px; }
.radio { display: flex !important; grid-template-columns: none; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; color: var(--ink) !important; font-size: .95rem !important; cursor: pointer; }
.radio:has(input:checked) { border-color: var(--accent); background: var(--soft); }
.radio span:last-child { margin-left: auto; font-weight: 600; }
.radio input { accent-color: var(--accent); }
.notice { background: var(--warm); border-radius: 12px; padding: 12px 14px; font-size: .9rem; }
.co-summary { background: var(--bg); border-radius: 16px; padding: 20px; align-self: start; }
.co-summary h3 { margin-bottom: 12px; }
.sum-line { display: flex; justify-content: space-between; gap: 12px; font-size: .93rem; padding: 6px 0; }
.sum-line span:first-child { color: var(--muted); }
.co-summary .totals { margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--line); }
.co-done { text-align: center; display: grid; gap: 14px; justify-items: center; padding: 28px 0 12px; }
.co-done p { color: var(--muted); max-width: 44ch; }
.tick { width: 64px; height: 64px; border-radius: 50%; background: var(--soft); color: var(--accent); display: grid; place-items: center; font-size: 1.8rem; font-weight: 700; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: var(--bg); padding: 11px 20px; border-radius: 999px; font-size: .92rem; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 100; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.ring-buy-bar {
  position: fixed;
  inset: auto 0 0;
  z-index: 30;
  padding: 10px 0 calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 -8px 28px #0004;
}
.ring-buy-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(8px, 2vw, 16px); }
.ring-buy-row img { object-fit: cover; border-radius: 8px; }
.ring-buy-summary { display: grid; line-height: 1.25; }
.ring-buy-summary span { color: var(--muted); font-size: .9rem; }
.ring-buy-row .btn { white-space: nowrap; }
@media (max-width: 420px) {
  .ring-buy-row.wrap { width: calc(100% - 20px); }
  .ring-buy-row img { width: 36px; height: 36px; }
  .ring-buy-row .btn { padding-inline: 12px; }
}
body:has(.ring-buy-bar:not([hidden])) { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
body:has(.ring-buy-bar:not([hidden])) .toast { bottom: calc(90px + env(safe-area-inset-bottom)); }
body:has(dialog[open]) .ring-buy-bar { display: none; }

@media (max-width: 860px) {
  .hero-grid, .faq-wrap, .pd, .co-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .header-row { gap: 12px; }
  .nav a:not([href="#shop"]) { display: none; }
  .nav { gap: 12px; }
  .co-summary { order: -1; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

.grid-featured { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-featured .card-art img { aspect-ratio: 4 / 3; }
.grid-featured .featured-product-video {
  aspect-ratio: 4 / 3;
  align-self: start;
  object-fit: contain;
  background: #10231d;
}
.grid-featured .card-art .card-feature-image { object-fit: cover; padding: 0; }
.grid-featured [data-open="pulse"].card-art {
  isolation: isolate;
  background: radial-gradient(ellipse at 62% 28%, #c9cdb3, transparent 72%),
    linear-gradient(165deg, #bfc3a8, #c6c9b1 78%, #b8bca1);
}
.grid-featured [data-open="pulse"].card-art::before {
  content: "";
  position: absolute;
  inset: 86% 23% 4%;
  background: radial-gradient(ellipse, rgba(54, 61, 39, .5), transparent 72%);
  transform: translateX(7%);
}
.grid-featured [data-open="pulse"].card-art img { position: relative; mix-blend-mode: multiply; }
.grid-featured [data-open="pulse"].card-art .badge { z-index: 1; }

[data-product-dialog] { width: min(1110px, calc(100vw - 24px)); padding: 0; overflow: hidden; }
[data-product-dialog][open] { display: flex; flex-direction: column; }
[data-product-body] { overflow-y: auto; min-height: 0; padding: clamp(20px, 3vw, 36px); }
[data-product-dialog] .pd { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
[data-product-dialog] .pd-art img:not(.full) { object-fit: contain; background: #fff; }
.pd-purchase {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  padding: 12px clamp(16px, 3vw, 36px);
  padding-bottom: max(12px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.pd-purchase-heading { display: flex; flex-wrap: wrap; gap: 4px 10px; }
.pd-purchase-heading span { color: var(--muted); }
.pd-purchase-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.pd-purchase-controls .opt, .pd-purchase-controls .pd-buy { margin: 0; }
.pd-purchase-controls .opt select { max-width: 100%; }
.pd-purchase-controls .opt-msg { flex-basis: 100%; order: 1; margin: 0; min-height: 0; }
.pd-purchase-controls .opt-msg:empty { display: none; }

.ring-size-link { padding: 8px 0; border: 0; background: none; color: var(--accent); text-align: left; text-decoration: underline; }
#ring-size-dialog { padding: 0; overflow: hidden; color-scheme: light dark; }
#ring-size-dialog[open] { display: flex; flex-direction: column; }
[data-ring-size-body] { min-height: 0; overflow-y: auto; padding: 54px clamp(16px, 3vw, 36px) 24px; }
.ring-size-guide h3 { margin: 0 0 16px; }
.ring-size-guide h2 { margin: 0 0 16px; }
.ring-screen-sizer { padding: 16px; margin-bottom: 24px; border: 1px solid var(--line); border-radius: 12px; }
.ring-screen-sizer [hidden] { display: none; }
.ring-screen-sizer p { color: var(--muted); }
.ring-screen-sizer label { display: grid; gap: 8px; margin: 12px 0; }
.ring-screen-sizer input[type="range"] { width: 100%; accent-color: var(--accent); }
.ring-screen-sizer output { display: block; margin-bottom: 12px; font-weight: 700; color: var(--accent); }
.sizer-stage { display: grid; place-items: center; min-height: 168px; background: var(--bg); border-radius: 8px; }
.sizer-card-guide { box-sizing: content-box; height: 148px; border-inline: 2px solid var(--accent); }
.sizer-ring-guide { box-sizing: content-box; aspect-ratio: 1; border: 2px solid var(--accent); border-radius: 50%; }
.ring-sizer { display: flex; flex-wrap: wrap; gap: 12px; padding: 16px; margin-bottom: 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); }
.ring-sizer label { display: grid; gap: 6px; flex: 1 1 200px; min-width: 0; }
.ring-sizer :is(select, input) {
  width: 100%;
  min-width: 0;
  padding: 9px 12px;
  border: 1px solid var(--muted);
  border-radius: 10px;
  background: var(--bg);
  color: var(--ink);
}
.ring-sizer output { flex-basis: 100%; color: var(--accent); font-weight: 700; }
.ring-sizer output:empty { display: none; }
.ring-size-match { background: var(--soft); color: var(--accent); }
.ring-size-steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; }
.ring-size-steps li { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); }
.ring-size-art { display: grid; place-items: center; min-height: 96px; color: var(--accent); background: radial-gradient(ellipse, #59cfa833, transparent 75%); }
.ring-size-art svg { width: 72px; height: 72px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ring-size-steps h4 { margin: 0 12px 6px; font: inherit; font-weight: 700; }
.ring-size-steps p { margin: 0 12px 12px; color: var(--muted); font-size: .9rem; }
.ring-size-tip { padding: 12px; border-radius: 8px; background: var(--soft); color: var(--muted); }
.ring-size-tip strong { color: var(--accent); margin-right: 6px; }
.ring-size-guide table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.ring-size-guide caption { margin: 12px 0 8px; text-align: left; font-size: 1.1rem; font-weight: 700; }
.ring-size-guide :is(th, td) { padding: 8px; border-bottom: 1px solid var(--line); text-align: left; }
.ring-size-guide thead { background: var(--soft); }

.ring-tracking { padding: clamp(24px, 5vw, 64px) 0; }
.ring-tracking h2 { margin: 0 0 24px; }
.ring-tracking-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.ring-tracking-grid article { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.ring-tracking-grid img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.ring-tracking-card { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--surface); color: #fff; text-align: left; }
.ring-tracking-card:focus-visible { outline-offset: -4px; }
.ring-tracking-label { position: absolute; inset: auto 0 0; display: flex; align-items: end; justify-content: space-between; gap: 12px; padding: 50px clamp(14px, 2vw, 24px) 18px; background: linear-gradient(transparent, #0e1714f5); }
.ring-tracking-label strong { align-self: center; font-size: clamp(1rem, 1.6vw, 1.3rem); line-height: 1.2; }
.ring-tracking-plus { flex: 0 0 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: #18231f; font-size: 1.45rem; line-height: 1; }
.ring-tracking-card:hover .ring-tracking-plus { background: var(--accent); }
.ring-feature-dialog h2 { margin-top: 0; padding-right: 42px; }
.ring-feature-dialog p { margin-bottom: 0; color: var(--muted); }
.ring-feature-dialog h3 { margin-top: 20px; }
.ring-feature-dialog ul { margin: 10px 0 0; padding-left: 20px; color: var(--muted); }
.ring-feature-dialog li + li { margin-top: 10px; }
.ring-feature-dialog li strong { display: block; color: var(--ink); }

@media (max-width: 720px) {
  .grid-featured { grid-template-columns: 1fr; }
  [data-product-body] { padding-top: 60px; }
  [data-product-dialog] .pd { grid-template-columns: 1fr; gap: 16px; }
  [data-product-dialog] .pd-art img:not(.full) { max-height: 42vh; }
  .pd-purchase { align-items: start; flex-direction: column; }
  .pd-purchase-controls { width: 100%; }
  .pd-purchase-controls .pd-buy { flex: 1; }
  .pd-purchase-controls .pd-buy .btn { flex: 1; white-space: nowrap; }
  .ring-size-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ring-tracking-grid { grid-template-columns: 1fr; }
}

.film-card { display: flex; margin: 12px clamp(12px, 2vw, 24px) 12px auto; align-items: center; gap: 14px; width: min(400px, calc(100% - 24px)); padding: 12px 12px 12px 14px; background: #fff; color: #12241f; border-radius: 6px; box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.film-card img { width: 56px; height: 56px; object-fit: contain; flex: none; }
.film-card-text { display: grid; line-height: 1.25; flex: 1; min-width: 0; }
.film-card-text b { font-size: .95rem; font-weight: 600; }
.film-card-text small { font-size: .74rem; color: #7b8580; }
.film-card-text span { font-size: .9rem; margin-top: 2px; }
.film-card .btn { background: #111; border-color: #111; color: #fff; border-radius: 999px; white-space: nowrap; }

/* Olva Pulse film, full width */
.pulse-bleed { position: relative; display: flow-root; margin-top: clamp(40px, 6vw, 80px); background: #050506; }
.pulse-bleed-video { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: contain; background: #050506; }
.sound-btn { position: absolute; left: clamp(12px, 2vw, 24px); top: clamp(12px, 2vw, 24px); z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px 10px 12px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; background: rgba(10,12,14,.55); color: #fff; font: 600 .9rem var(--sans); cursor: pointer; backdrop-filter: blur(8px); }
.sound-btn:hover { background: rgba(10,12,14,.75); }
.sound-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.sound-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sound-btn svg path:first-child { fill: currentColor; }
@media (max-width: 760px) {
  .pulse-bleed .film-card { width: auto; margin: 0; border-radius: 0; box-shadow: none; border-top: 1px solid #e6e6e6; }
  .sound-btn { top: 10px; left: 10px; padding: 7px 12px 7px 9px; font-size: .8rem; }
}
