:root {
  --ink: #07172f;
  --ink-2: #163153;
  --cream: #f5efe6;
  --paper: #fcfaf6;
  --sand: #d8c6ae;
  --gold: #ae8a52;
  --line: rgba(7, 23, 47, .16);
  --muted: #5c6470;
  --white: #fff;
  --danger: #a23535;
  --shadow: 0 24px 60px rgba(7, 23, 47, .09);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { letter-spacing: -.035em; line-height: 1.08; }
h1 { font-family: Didot, "Bodoni MT", Georgia, serif; font-size: clamp(2.7rem, 6vw, 5.8rem); font-weight: 400; }
h2 { font-size: clamp(2rem, 4vw, 3.8rem); font-weight: 500; }
.shell { width: min(100% - 40px, 1440px); margin-inline: auto; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.section-pad { padding-block: clamp(68px, 9vw, 140px); }
.eyebrow { margin-bottom: 14px; color: var(--gold); font-size: .75rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.lead { font-size: clamp(1.14rem, 2.2vw, 1.45rem); line-height: 1.7; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; top: 8px; left: 8px; padding: 10px 14px; transform: translateY(-150%); background: #fff; border: 2px solid var(--ink); }
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid #d29a42; outline-offset: 3px; }

.announcement { padding: 8px 20px; background: var(--ink); color: #fff; text-align: center; font-size: .78rem; letter-spacing: .07em; }
.site-header { position: sticky; z-index: 50; top: 0; border-bottom: 1px solid rgba(7, 23, 47, .08); background: rgba(252, 250, 246, .94); backdrop-filter: blur(18px); }
.header-inner { display: grid; grid-template-columns: 170px 1fr 170px; align-items: center; min-height: 78px; }
.wordmark { display: inline-flex; width: max-content; flex-direction: column; color: var(--ink); font-weight: 800; letter-spacing: .05em; line-height: .82; text-decoration: none; }
.wordmark span:first-child { font-size: 1.2rem; }
.wordmark span:last-child { font-size: 1.55rem; }
.wordmark.light { color: #fff; }
.primary-nav { display: flex; justify-content: center; gap: clamp(20px, 3vw, 46px); }
.primary-nav a { position: relative; font-size: .88rem; font-weight: 600; text-decoration: none; }
.primary-nav a::after { position: absolute; right: 0; bottom: -6px; left: 0; height: 1px; transform: scaleX(0); background: var(--gold); content: ""; transition: transform .2s ease; }
.primary-nav a:hover::after { transform: scaleX(1); }
.bag-link { display: flex; justify-self: end; align-items: center; gap: 7px; font-size: .86rem; font-weight: 600; text-decoration: none; }
.bag-link svg { width: 22px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.bag-link b { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; font-size: .7rem; }
.menu-toggle { display: none; border: 0; background: transparent; }
.menu-toggle span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--ink); }

.message-stack { position: fixed; z-index: 80; top: 106px; right: 0; left: 0; pointer-events: none; }
.message { width: min(100%, 620px); margin: 8px auto; padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow); pointer-events: auto; }
.message.success { border-color: #6c947c; }
.message.error { border-color: #c77777; }

.hero { position: relative; overflow: hidden; background: #ede5db; }
.hero-image-wrap img { width: 100%; }
.hero-mobile-copy { display: none; }
.product-section { background: #f7f3ec; }
.product-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(380px, .88fr); gap: clamp(36px, 6vw, 100px); align-items: center; }
.product-visual { overflow: hidden; border-radius: var(--radius); background: #eee5db; box-shadow: var(--shadow); }
.product-visual img { width: 100%; min-height: 520px; object-fit: cover; object-position: 100% center; }
.product-panel h2 { margin-bottom: 10px; }
.product-subtitle { color: var(--gold); font-weight: 600; }
.product-description { max-width: 610px; color: var(--muted); font-size: 1.05rem; }
.benefit-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 30px; }
.benefit-row span { padding: 8px 12px; border: 1px solid var(--line); border-radius: 100px; background: rgba(255, 255, 255, .65); font-size: .76rem; }
.variant-list { margin: 0 0 20px; padding: 0; border: 0; }
.variant-list legend { margin-bottom: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.variant-option { display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: center; margin-bottom: 9px; padding: 15px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; transition: border .2s, box-shadow .2s; }
.variant-option:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.variant-option input { width: 17px; height: 17px; accent-color: var(--ink); }
.variant-option strong, .variant-option small { display: block; }
.variant-option strong { font-size: .91rem; }
.variant-option small { color: var(--muted); font-size: .72rem; }
.variant-price { font-weight: 700; text-align: right; }
.variant-price s { display: block; color: #8b9098; font-size: .75rem; font-weight: 400; }
.variant-option.sold-out { opacity: .55; cursor: not-allowed; }
.buy-row { display: flex; align-items: center; gap: 10px; }
.buy-row label { font-size: .8rem; font-weight: 700; text-transform: uppercase; }
.quantity-select, .qty-input { min-height: 50px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.quantity-select { width: 64px; padding: 0 10px; }
.qty-input { width: 70px; padding: 8px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 0 25px; border: 1px solid transparent; border-radius: 4px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; cursor: pointer; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--ink); color: #fff; }
.button-dark:hover { background: var(--ink-2); }
.button-light { background: #fff; color: var(--ink); }
.button-grow { flex: 1; }
.button.full { width: 100%; }
.purchase-notes { display: grid; gap: 7px; margin-top: 24px; color: var(--muted); font-size: .76rem; }

.ritual-intro { background: var(--ink); color: #fff; }
.ritual-intro .eyebrow { color: #d6b47d; }
.ritual-intro p:last-child { margin: 0 auto; max-width: 660px; color: #c7d0dc; font-size: 1.12rem; }
.banner-gallery { padding-block: clamp(28px, 5vw, 70px); background: #ece4d9; }
.banner-stack { display: grid; gap: clamp(18px, 3vw, 40px); }
.banner-stack figure { margin: 0; overflow: hidden; border-radius: 18px; background: #eee7de; box-shadow: 0 16px 44px rgba(52, 43, 31, .08); }
.banner-stack img { width: 100%; }
.closing-cta { background: #ede4d8; }
.closing-card { display: flex; min-height: 340px; align-items: center; justify-content: space-between; gap: 40px; padding: clamp(38px, 7vw, 100px); border-radius: var(--radius); background: linear-gradient(120deg, #07172f, #19385e); color: #fff; }
.closing-card h2 { max-width: 740px; }
.closing-card p:not(.eyebrow) { color: #c9d1dc; }

.page-hero { padding-block: clamp(80px, 11vw, 160px); background: linear-gradient(135deg, #f0e8de, #fbf8f2); }
.page-hero.compact { padding-block: clamp(55px, 7vw, 90px); }
.page-hero h1 { margin-bottom: 15px; }
.page-hero p:last-child { max-width: 680px; color: var(--muted); }
.cart-layout, .checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: clamp(30px, 5vw, 70px); align-items: start; }
.cart-line { display: grid; grid-template-columns: 150px 1fr auto; gap: 24px; align-items: center; padding-block: 24px; border-bottom: 1px solid var(--line); }
.cart-line:first-child { padding-top: 0; }
.cart-line img { width: 150px; height: 112px; object-fit: cover; object-position: 70% center; border-radius: 10px; }
.cart-line h2 { margin-bottom: 4px; font-size: 1.25rem; }
.cart-line p { color: var(--muted); font-size: .86rem; }
.line-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.line-actions label { font-size: .78rem; }
.text-button { padding: 5px; border: 0; background: transparent; color: var(--ink); font-size: .78rem; text-decoration: underline; cursor: pointer; }
.text-button.danger { color: var(--danger); }
.order-summary { position: sticky; top: 110px; padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
.order-summary h2 { font-size: 1.5rem; }
.order-summary dl { margin: 24px 0; }
.order-summary dl div { display: flex; justify-content: space-between; gap: 20px; padding: 9px 0; }
.order-summary dt, .order-summary dd { margin: 0; }
.order-summary dd { font-weight: 600; }
.summary-total { margin-top: 9px; padding-top: 18px !important; border-top: 1px solid var(--line); font-size: 1.1rem; }
.microcopy { margin: 16px 0 0; color: var(--muted); font-size: .75rem; text-align: center; }
.empty-state { padding: 60px 0; }

.checkout-form fieldset { margin: 0 0 32px; padding: 0; border: 0; }
.checkout-form legend { width: 100%; margin-bottom: 18px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: 1.25rem; font-weight: 600; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 7px; font-size: .82rem; font-weight: 600; }
.full-field { grid-column: 1 / -1; }
.field-input { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #b8bcc3; border-radius: 8px; background: #fff; color: var(--ink); }
.field-input:focus { border-color: var(--ink); outline: 3px solid rgba(174, 138, 82, .25); }
textarea.field-input { resize: vertical; }
.errorlist { margin: 6px 0 0; padding: 0; color: var(--danger); font-size: .78rem; list-style: none; }
.check-row { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0; font-size: .82rem; }
.check-row input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ink); }
.payment-notice { margin-bottom: 24px; padding: 18px; border-left: 3px solid var(--gold); background: #f3ede4; }
.payment-notice p { margin: 5px 0 0; color: var(--muted); font-size: .85rem; }
.checkout-line { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.checkout-line span { display: block; margin-top: 3px; color: var(--muted); font-size: .75rem; }
.confirmation { min-height: 70vh; display: grid; align-items: center; }
.success-mark { display: grid; width: 64px; height: 64px; margin: 0 auto 24px; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; font-size: 1.6rem; }
.reference-card { display: grid; grid-template-columns: 1fr; gap: 4px; margin: 32px 0; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.reference-card span { color: var(--muted); font-size: .74rem; text-transform: uppercase; }
.reference-card strong { margin-bottom: 12px; overflow-wrap: anywhere; }

.policy-content { max-width: 880px; font-size: 1.02rem; }
.policy-content h2 { margin: 2.1em 0 .65em; font-size: clamp(1.5rem, 2.7vw, 2.15rem); }
.policy-content p, .policy-content li { color: #394353; }
.policy-content li { margin-bottom: .6em; }
.policy-contact { margin-top: 60px; padding: 26px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.policy-contact h2 { margin-top: 0; }
.contact-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(35px, 8vw, 110px); max-width: 1080px; }
.contact-form { padding: clamp(24px, 4vw, 48px); border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow); }

.site-footer { padding-top: 74px; background: #061326; color: #cad1dc; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1.25fr; gap: clamp(28px, 5vw, 70px); padding-bottom: 60px; }
.footer-grid h2 { margin-bottom: 18px; color: #fff; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; }
.footer-grid > div:not(.footer-brand) a { display: block; margin-bottom: 9px; color: #cad1dc; font-size: .8rem; text-decoration: none; }
.footer-grid > div:not(.footer-brand) a:hover { color: #fff; text-decoration: underline; }
.footer-grid p { font-size: .82rem; }
.footer-brand p { max-width: 300px; margin-top: 22px; }
.footer-brand .since { color: #9ca8b7; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-block: 20px; border-top: 1px solid rgba(255, 255, 255, .12); color: #8e9bac; font-size: .72rem; }

@media (max-width: 960px) {
  .header-inner { grid-template-columns: 1fr auto auto; min-height: 66px; gap: 18px; }
  .menu-toggle { display: block; grid-column: 2; grid-row: 1; }
  .primary-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; flex-direction: column; gap: 0; padding: 18px 20px 28px; border-top: 1px solid var(--line); background: var(--paper); box-shadow: 0 18px 30px rgba(7, 23, 47, .1); }
  .primary-nav.open { display: flex; }
  .primary-nav a { padding: 11px 0; }
  .bag-link { grid-column: 3; grid-row: 1; }
  .bag-link span { display: none; }
  .product-grid, .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .product-visual img { min-height: 0; object-fit: contain; object-position: center; }
  .order-summary { position: static; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 28px, 1440px); }
  .announcement { font-size: .67rem; }
  .hero-image-wrap img { min-height: 0; object-fit: contain; object-position: center; }
  .hero-mobile-copy { display: block; padding-block: 36px 44px; }
  .hero-mobile-copy h1 { font-size: 2.5rem; }
  .product-grid { gap: 38px; }
  .product-visual img { min-height: 0; object-position: center; }
  .variant-option { grid-template-columns: 20px 1fr; }
  .variant-price { grid-column: 2; text-align: left; }
  .buy-row { flex-wrap: wrap; }
  .button-grow { flex-basis: 100%; }
  .banner-stack { gap: 14px; }
  .banner-stack figure { overflow-x: auto; border-radius: 10px; }
  .banner-stack img { min-width: 650px; }
  .closing-card { display: block; min-height: 0; }
  .closing-card .button { margin-top: 25px; }
  .cart-line { grid-template-columns: 90px 1fr; gap: 14px; }
  .cart-line img { width: 90px; height: 90px; }
  .cart-line > strong { grid-column: 2; }
  .field-grid { grid-template-columns: 1fr; gap: 0; }
  .full-field { grid-column: auto; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
