:root {
  --paper: #f7f4ed;
  --paper-2: #eee9df;
  --ink: #121212;
  --muted: #625f59;
  --line: rgba(18, 18, 18, 0.18);
  --brand: #e4582f;
  --brand-dark: #b83818;
  --mint: #b9d8cb;
  --yellow: #f2cf67;
  --white: #fff;
  --max: 1440px;
  --gutter: clamp(1.15rem, 4vw, 4.5rem);
  --radius: 1.4rem;
  --shadow: 0 20px 60px rgba(18,18,18,.12);
  --font-display: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* HEADER LOGO VERTICAL POSITION
     Positive values move the transparent Quik-Clip logo lower without changing header height. */
  --header-logo-drop-desktop: 6px;
  --header-logo-drop-mobile: 6px;

  /* SVG MASK ICON FINE-TUNING
     Positive X = move right; negative X = move left.
     Positive Y = move down; negative Y = move up.
     These move only the visible artwork, NOT the larger clickable button. */
  --chevron-shift-x: 0px;
  --chevron-shift-y: 0px;
  --close-shift-x: 0px;
  --close-shift-y: 0px;
  --faq-icon-shift-x: 0px;
  --faq-icon-shift-y: 0px;

  /* SVG MASK COLORS. Change these without editing the SVG files. */
  --chevron-color: currentColor;
  --close-icon-color: currentColor;
  --faq-icon-color-closed: #121212;
  --faq-icon-color-open: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 7rem; }
html.route-scroll-active { scroll-behavior: auto !important; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--font-body); font-size: 16px; line-height: 1.55; overflow-x: hidden; }
body.cart-open { overflow: hidden; }
html.modal-open,
body.modal-open { overflow: hidden; overscroll-behavior: none; }
body.promo-open { overflow: hidden; overscroll-behavior: none; }
img, svg { display: block; max-width: 100%; }
.hero-clip-vector { height: auto; max-width: none; }
button, input, select, textarea { font: inherit; }
a { color: inherit; }
button { color: inherit; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: .87em; background: rgba(18,18,18,.07); padding: .15em .35em; border-radius: .3em; }

::selection { background: var(--yellow); color: var(--ink); }

.skip-link { position: fixed; left: 1rem; top: -6rem; z-index: 999; background: var(--ink); color: #fff; padding: .8rem 1rem; border-radius: .4rem; }
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

.announcement { min-height: 2.25rem; padding: .4rem var(--gutter); display: flex; justify-content: center; align-items: center; gap: 1.5rem; background: var(--ink); color: var(--white); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
.announcement a { text-underline-offset: 3px; }

.site-header { position: sticky; top: 0; z-index: 90; height: 4.75rem; padding: 0 var(--gutter); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; font-family: var(--font-display); letter-spacing: -.035em; white-space: nowrap; }
.brand sup { font-family: var(--font-body); font-size: .4em; top: -.7em; position: relative; margin-left: .15em; }
.brand-mark { width: 2.25rem; height: 1.45rem; position: relative; display: inline-block; }
.brand-mark > span { position: absolute; width: 1.05rem; height: 1.05rem; border: .25rem solid var(--brand); border-radius: 50%; top: .2rem; }
.brand-mark > span:first-child { left: 0; }
.brand-mark > span:last-child { right: 0; }
.brand-mark::after { content: ""; position: absolute; left: .82rem; right: .82rem; top: .63rem; height: .16rem; background: var(--ink); transform: rotate(-18deg); transform-origin: center; }

.site-nav { grid-column: 2; justify-self: center; display: flex; align-items: center; gap: clamp(.8rem, 1.7vw, 1.75rem); }
.site-nav a { text-decoration: none; font-size: .78rem; font-weight: 650; letter-spacing: .035em; text-transform: uppercase; position: relative; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -.45rem; height: 2px; background: var(--brand); transition: right .2s ease; }
.site-nav a:hover::after, .site-nav a.active::after { right: 0; }

.cart-button, .nav-toggle, .icon-button { border: 0; background: none; cursor: pointer; }
.cart-button { display: flex; align-items: center; gap: .6rem; font-size: .78rem; font-weight: 750; text-transform: uppercase; letter-spacing: .05em; }
.cart-count { min-width: 1.75rem; height: 1.75rem; padding: 0 .4rem; display: inline-grid; place-items: center; color: #fff; background: var(--brand); border-radius: 999px; }
.nav-toggle { grid-column: 3; justify-self: end; display: none; }

.section { padding: clamp(5rem, 9vw, 9rem) var(--gutter); }
.section > * { width: min(100%, var(--max)); margin-inline: auto; }
.section-light { background: #fff; }
.section-ink { background: var(--ink); color: var(--paper); }
.section-accent { background: var(--brand); color: var(--ink); }

.eyebrow { margin: 0 0 1.15rem; font-weight: 800; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--font-display); letter-spacing: -.065em; line-height: .94; text-wrap: balance; }
h1 { margin-bottom: 1.65rem; font-size: clamp(3.7rem, 8.2vw, 9rem); }
h1 em { color: var(--brand); font-style: normal; }
h2 { margin-bottom: 0; font-size: clamp(3rem, 6.3vw, 7rem); }
h3 { line-height: 1.1; }

.button { min-height: 3.3rem; padding: .85rem 1.35rem; border: 1.5px solid currentColor; display: inline-flex; justify-content: center; align-items: center; gap: .55rem; text-decoration: none; font-size: .77rem; font-weight: 800; letter-spacing: .055em; text-transform: uppercase; cursor: pointer; transition: transform .15s ease, background .15s ease, color .15s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--brand); border-color: var(--brand); color: var(--ink); }
.button-primary:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
/* Isolated styling for the PDF Instructions button.
   Change this without affecting Buy Now or other primary buttons. */
.instructions-download-button { background: var(--brand); border-color: var(--brand); color: var(--ink); }
.instructions-download-button:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.button-secondary { background: transparent; color: var(--ink); }
.button-secondary:hover { background: var(--ink); color: #fff; }
.button-dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.button-dark:hover { background: #fff; border-color: #fff; color: var(--ink); }
.text-link { display: inline-flex; gap: .5rem; align-items: center; font-weight: 750; text-decoration-thickness: 1px; text-underline-offset: 5px; }

.hero { min-height: calc(100svh - 7.25rem); display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(420px, .98fr); align-items: center; gap: clamp(2rem, 6vw, 7rem); padding-top: clamp(4rem, 7vw, 7rem); }
.hero > * { width: auto; margin: 0; }
.hero-lede { max-width: 42rem; margin-bottom: 2rem; font-size: clamp(1.05rem, 1.5vw, 1.35rem); color: var(--muted); }
.hero-actions { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.trust-row { display: flex; flex-wrap: wrap; gap: .7rem 1.4rem; padding: 2.2rem 0 0; margin: 0; list-style: none; font-size: .75rem; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; }
.trust-row li::before { content: "✦"; margin-right: .55rem; color: var(--brand); }

.hero-visual { position: relative; min-height: clamp(32rem, 58vw, 48rem); }
.wall-card { position: absolute; width: min(78%, 31rem); aspect-ratio: .78; border: 1px solid var(--ink); box-shadow: var(--shadow); overflow: visible; }
.wall-card-back { left: 6%; top: 8%; background: var(--mint); transform: rotate(-8deg); }
.wall-card-middle { right: 4%; top: 15%; background: var(--yellow); transform: rotate(7deg); }
.wall-card-front { left: 15%; top: 17%; background: #fff; transform: rotate(-1.5deg); padding: clamp(2rem, 4vw, 4rem) clamp(1.7rem, 3vw, 3.2rem); }
.wall-card > span { position: absolute; left: 1.2rem; bottom: 1rem; font-family: var(--font-display); font-size: .8rem; letter-spacing: .08em; }
.wall-card-front p { font-family: var(--font-display); font-size: clamp(2.1rem, 4.1vw, 4.5rem); line-height: .98; letter-spacing: -.06em; }
.wall-card-front strong { color: var(--brand); }
.clip-illustration { position: absolute; top: -1.7rem; left: 50%; width: 6.5rem; height: 5.4rem; transform: translateX(-50%); }
.clip-illustration .magnet { position: absolute; width: 2.7rem; height: 2.7rem; border-radius: 50%; background: radial-gradient(circle at 38% 32%, #555 0, #1a1a1a 42%, #000 70%); box-shadow: inset 0 0 0 .22rem #333, 0 .5rem 1rem rgba(0,0,0,.2); z-index: 2; }
.magnet-a { left: .1rem; top: .15rem; }
.magnet-b { right: .1rem; top: 2.3rem; }
.clip-illustration .ribbon { position: absolute; width: 5.5rem; height: 1.35rem; left: .5rem; top: 1.95rem; background: var(--brand); transform: rotate(21deg); border-radius: .2rem; }
.visual-note { position: absolute; padding: .6rem .8rem; background: var(--ink); color: #fff; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; box-shadow: .45rem .45rem 0 var(--brand); }
.note-one { right: 2%; top: 10%; transform: rotate(4deg); }
.note-two { left: 0; bottom: 12%; transform: rotate(-5deg); }

.marquee { display: grid; grid-template-columns: minmax(0, 1fr) auto; overflow: hidden; border-block: 1px solid var(--ink); background: var(--yellow); }
.marquee.controls-hidden { grid-template-columns: minmax(0, 1fr); }
.marquee-window { min-width: 0; overflow: hidden; }
.marquee-window.is-interactive { cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.marquee-window.is-interactive.is-dragging { cursor: grabbing; }
.marquee-track { width: max-content; display: flex; align-items: center; font-family: var(--font-display); font-size: clamp(1.2rem, 2.2vw, 2.3rem); letter-spacing: -.03em; transform: translate3d(0, 0, 0); will-change: transform; pointer-events: none; }
.marquee-segment { flex: 0 0 auto; display: flex; align-items: center; }
.marquee-group { flex: 0 0 auto; display: flex; align-items: center; gap: 1.5rem; padding: .55rem 1.5rem .55rem 0; }
.marquee-track i { font-style: normal; color: var(--brand); }
.marquee[data-marquee-mode="bounce"] .marquee-segment-copy { display: none; }
.marquee-controls { display: flex; align-items: center; gap: .35rem; padding: .45rem .65rem; border-left: 1px solid var(--ink); background: color-mix(in srgb, var(--paper) 88%, var(--yellow)); }
.marquee-controls[hidden] { display: none; }
.marquee-controls-label { margin-right: .2rem; font-size: .63rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.marquee-mode { min-height: 2rem; padding: .35rem .65rem; border: 1px solid var(--ink); border-radius: 999px; background: transparent; font-size: .66rem; font-weight: 800; letter-spacing: .055em; text-transform: uppercase; cursor: pointer; }
.marquee-mode:hover,
.marquee-mode.is-active { background: var(--ink); color: var(--white); }
.marquee-mode:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }

.section-heading { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(20rem, .7fr); gap: clamp(2rem, 8vw, 8rem); align-items: end; margin-bottom: clamp(3rem, 6vw, 6rem); }
.section-heading > p { margin-bottom: .4rem; color: var(--muted); font-size: 1.05rem; }
.section-ink .section-heading > p { color: rgba(247,244,237,.68); }

.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
/* Product count is added by script.js. Up to four products fill one desktop row;
   products 5–8 naturally create a second row without hiding inventory off-screen. */
.product-grid.product-count-1 { width: min(100%, 28rem); grid-template-columns: minmax(0, 1fr); }
.product-grid.product-count-2 { width: min(100%, 58rem); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.product-grid.product-count-3 { width: min(100%, 86rem); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.shop-empty-state { grid-column: 1 / -1; padding: 3rem; border: 1px solid var(--line); background: var(--paper); text-align: center; }
.shop-empty-state h3 { margin-bottom: .6rem; font-family: var(--font-display); font-size: 1.8rem; }
.product-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); min-width: 0; transition: transform .25s ease, box-shadow .25s ease; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.product-media { position: relative; aspect-ratio: 1 / 1.12; overflow: hidden; background: var(--product-bg, var(--mint)); }
.product-badges { position: absolute; z-index: 6; top: .85rem; left: .85rem; display: flex; flex-wrap: wrap; gap: .4rem; pointer-events: none; }
.product-badge { position: static; padding: .35rem .55rem; background: var(--ink); color: #fff; font-size: .63rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; pointer-events: none; }
.product-status-badge { padding: .35rem .55rem; background: var(--brand); color: #fff; font-size: .63rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.product-gallery { position: absolute; inset: 0; overflow: hidden; }
.product-gallery-track { width: 100%; height: 100%; display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; touch-action: pan-x pan-y; cursor: grab; overscroll-behavior-inline: contain; -webkit-overflow-scrolling: touch; }
.product-gallery-track::-webkit-scrollbar { display: none; }
.product-gallery-track.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.product-gallery-slide { flex: 0 0 100%; width: 100%; height: 100%; padding: 0; border: 0; background: var(--product-bg, var(--mint)); scroll-snap-align: start; scroll-snap-stop: always; cursor: zoom-in; overflow: hidden; touch-action: pan-x pan-y; }
.product-gallery-slide img { width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; transition: transform .45s ease; }
.product-gallery-slide:hover img { transform: scale(1.025); }
.product-gallery-arrow { position: absolute; z-index: 5; top: 50%; width: 2.5rem; height: 2.5rem; padding: 0; display: grid; place-items: center; border: 1px solid rgba(18,18,18,.55); border-radius: 50%; background: rgba(247,244,237,.86); color: var(--ink); box-shadow: 0 .4rem 1.2rem rgba(0,0,0,.14); cursor: pointer; transform: translateY(-50%); backdrop-filter: blur(8px); transition: background .2s ease, color .2s ease, opacity .2s ease; }
.product-gallery-prev { left: .7rem; }
.product-gallery-next { right: .7rem; }
.product-gallery-arrow:hover, .product-gallery-arrow:focus-visible { background: var(--ink); color: #fff; }
/* External SVG icons are rendered as CSS masks so CSS controls their visible color. */
.ui-icon-mask {
  width: var(--ui-icon-size, 18px);
  height: var(--ui-icon-size, 18px);
  display: block;
  flex: 0 0 auto;
  pointer-events: none;
  background-color: currentColor;
  -webkit-mask: var(--ui-mask-image) center / contain no-repeat;
  mask: var(--ui-mask-image) center / contain no-repeat;
}
.nav-chevron {
  background-color: var(--chevron-color);
  transform: translate(var(--chevron-shift-x), var(--chevron-shift-y));
}
.nav-chevron.is-prev {
  transform: translate(var(--chevron-shift-x), var(--chevron-shift-y)) rotate(180deg);
}
.close-icon {
  background-color: var(--close-icon-color);
  transform: translate(var(--close-shift-x), var(--close-shift-y));
}
.faq-icon {
  background-color: var(--faq-icon-color-closed);
  transform: translate(var(--faq-icon-shift-x), var(--faq-icon-shift-y));
}
.faq-item.open .faq-icon { background-color: var(--faq-icon-color-open); }
.ui-icon-image { display: block; max-width: 72%; max-height: 72%; object-fit: contain; pointer-events: none; }
.ui-icon-symbol { display: grid; place-items: center; line-height: 1; pointer-events: none; }
.product-gallery-arrow[hidden], .product-gallery-dots[hidden] { display: none !important; }
.product-gallery-dots { position: absolute; z-index: 5; left: 50%; bottom: .8rem; display: flex; gap: .38rem; align-items: center; transform: translateX(-50%); }
.product-gallery-dot { width: .58rem; height: .58rem; padding: 0; border: 1px solid var(--ink); border-radius: 50%; background: rgba(255,255,255,.62); cursor: pointer; transition: transform .2s ease, background .2s ease; }
.product-gallery-dot.is-active { background: var(--ink); transform: scale(1.18); }
.product-enlarge-hint { position: absolute; z-index: 4; right: .75rem; bottom: .68rem; padding: .28rem .45rem; background: rgba(18,18,18,.72); color: #fff; font-size: .58rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; pointer-events: none; }
.product-tin { display: none; }
.product-card-body { flex: 1; padding: 1.25rem; display: flex; flex-direction: column; }
.product-kicker { margin-bottom: .4rem; color: var(--muted); font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.product-title { margin-bottom: .45rem; font-family: var(--font-display); font-size: 1.25rem; letter-spacing: -.045em; }
.product-description { flex: 1; color: var(--muted); font-size: .9rem; }
.product-meta { margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.product-price { font-weight: 800; }
.product-price-wrap { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: .5rem; }
.product-price-regular { color: var(--muted); font-size: .84em; font-weight: 650; text-decoration: line-through; text-decoration-thickness: 1.5px; }
.product-price-sale { color: var(--brand-dark); font-weight: 900; }
.product-actions { display: grid; grid-template-columns: 1fr auto; gap: .55rem; margin-top: 1rem; }
.product-actions .button { min-height: 2.9rem; padding: .65rem .8rem; }
.product-actions-buy-now { display: block; }
.product-actions-buy-now .square-buy-now { width: 100%; min-height: 3.25rem; }
.square-buy-now:disabled,
.square-buy-now.is-disabled { border-color: #a8a8a8; background: #c7c7c7; color: #666; cursor: not-allowed; box-shadow: none; transform: none; }
.square-buy-now:disabled:hover { border-color: #a8a8a8; background: #c7c7c7; color: #666; transform: none; }
.product-status-message { margin: .65rem 0 0; color: var(--muted); font-size: .76rem; line-height: 1.4; text-align: center; }
.secure-checkout-note { margin: .65rem 0 0; color: var(--muted); font-size: .72rem; line-height: 1.35; text-align: center; }
.secure-checkout-note span { margin-right: .25rem; color: var(--brand-dark); }
.shop-note { margin-top: 2rem; padding: 1.25rem 1.5rem; display: flex; align-items: flex-start; gap: 1rem; border: 1px solid var(--line); background: var(--paper); }
.shop-note p { margin: 0; }
.shop-note-icon { font-size: 1.3rem; color: var(--brand); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.step-card { position: relative; min-height: 38rem; padding: 1.5rem; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.step-number { font-family: var(--font-display); font-size: 1.25rem; }
.step-card h3 { font-family: var(--font-display); font-size: 2rem; margin: 0 0 .7rem; letter-spacing: -.04em; }
.step-card p { color: var(--muted); max-width: 24rem; }
.step-visual { position: relative; height: clamp(21rem, 27vw, 26rem); margin: 2rem 0 2.5rem; overflow: hidden; display: grid; place-items: center; }
/* The Ready / Insert / Clip artwork should always be visible in full, never cropped. */
.step-visual > img { width: 100%; height: 100%; max-width: 100%; object-fit: contain; object-position: center; transform: none !important; }
.step-wall { position: absolute; width: 43%; height: 74%; left: 28%; top: 7%; background: #e6e0d4; border: 1px solid var(--ink); }
.step-ribbon { position: absolute; width: 8.5rem; height: 1.4rem; left: 50%; top: 35%; background: var(--brand); transform-origin: left center; transform: rotate(68deg); z-index: 3; }
.step-magnet { position: absolute; width: 2.9rem; height: 2.9rem; border-radius: 50%; background: #161616; border: .26rem solid #444; z-index: 4; left: calc(50% - 1.45rem); }
.step-magnet.one { top: 25%; }
.step-magnet.two { top: 70%; left: calc(50% + 2.65rem); }
.step-paper { position: absolute; width: 55%; height: 65%; left: 22%; top: 27%; background: #fff; border: 1px solid var(--ink); z-index: 2; }
.insert-state .step-paper { top: 35%; }
.insert-state .step-magnet.two { top: 61%; left: calc(50% + .7rem); }
.insert-state .step-ribbon { transform: rotate(53deg); }
.clipped-state .step-paper { top: 20%; }
.clipped-state .step-magnet.one, .clipped-state .step-magnet.two { top: 25%; }
.clipped-state .step-magnet.two { left: calc(50% - 1.05rem); }
.clipped-state .step-ribbon { transform: rotate(11deg); top: 31%; width: 4rem; }
/* Optional video directly beneath the Ready / Insert / Clip panels. */
.how-video-card { margin-top: 2rem; display: grid; grid-template-columns: minmax(17rem, .52fr) minmax(0, 1.48fr); border: 1px solid var(--ink); background: var(--paper); overflow: hidden; }
.how-video-card[hidden] { display: none !important; }
.how-video-card.video-only { grid-template-columns: 1fr; }
.how-video-card.video-only .how-video-copy { display: none; }
.how-video-copy { padding: clamp(1.5rem, 3.5vw, 3.5rem); display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--ink); }
.how-video-copy h3 { margin: 0 0 1rem; font-family: var(--font-display); font-size: clamp(2rem, 3.4vw, 4rem); letter-spacing: -.055em; }
/* Small usage cue shown directly under the How It Works video title.
   Text + visibility are controlled in site-config.js via showSoundHint / soundHint. */
.how-video-sound-hint { margin: -.35rem 0 .85rem; color: var(--muted); font-size: .72rem; line-height: 1.35; font-weight: 650; }
.how-video-sound-hint[hidden] { display: none !important; }
.how-video-copy > p:last-child { margin-bottom: 0; color: var(--muted); }
.how-video-frame { min-width: 0; background: var(--ink); display: grid; place-items: center; }
.how-video-mount { width: 100%; min-height: clamp(20rem, 38vw, 34rem); display: grid; place-items: center; background: var(--ink); }
.how-video-mp4, .how-video-youtube { width: 100%; height: 100%; min-height: clamp(20rem, 38vw, 34rem); display: block; border: 0; background: var(--ink); }
.how-video-mp4 { object-fit: contain; }
.how-video-youtube { aspect-ratio: 16 / 9; }
.how-video-placeholder { padding: 2rem; display: grid; gap: .55rem; color: #fff; text-align: center; }
.how-video-placeholder span { color: rgba(255,255,255,.72); font-size: .85rem; }

.feature-band { margin-top: 2rem; padding: clamp(1.7rem, 4vw, 3.4rem); display: flex; align-items: center; justify-content: space-between; gap: 2rem; background: var(--yellow); border: 1px solid var(--ink); }
.feature-band p { margin: 0; font-size: clamp(1.3rem, 2vw, 2.1rem); max-width: 48rem; }
.feature-band a { font-size: 1.5rem; font-weight: 800; text-underline-offset: 5px; white-space: nowrap; }

.use-grid { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-flow: dense; gap: 1rem; }
.use-card { min-height: 38rem; display: grid; grid-template-rows: minmax(0, 1fr) auto; background: #252525; border: 1px solid rgba(255,255,255,.18); overflow: hidden; }
.use-card-large { grid-row: span 2; min-height: 78rem; }
.use-card-wide { grid-column: 2; }
.use-card-copy { padding: 1.5rem; border-top: 1px solid rgba(255,255,255,.18); }
.use-card-copy > span { color: var(--brand); font-family: var(--font-display); font-size: .75rem; }
.use-card h3 { margin: .35rem 0 .7rem; font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 3.1rem); letter-spacing: -.05em; }
.use-card p { max-width: 35rem; color: rgba(247,244,237,.65); }

.use-gallery { position: relative; min-height: 24rem; overflow: hidden; background: #d8d5ca; isolation: isolate; }
.use-card-large .use-gallery { min-height: 60rem; }
.use-gallery-stage { position: absolute; inset: 0; touch-action: pan-y; cursor: grab; user-select: none; }
.use-gallery-stage.is-dragging { cursor: grabbing; }
.use-slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transform: scale(1.025); transition: opacity .7s ease, transform 1.2s ease, visibility 0s linear .7s; }
.use-slide.is-active { opacity: 1; visibility: visible; transform: scale(1); transition-delay: 0s; }
.use-gallery-stage.is-dragging .use-slide.is-active { transform: translateX(var(--gallery-swipe-x, 0px)) scale(1.01); transition: none; }
.use-slide img { width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; pointer-events: none; }
.use-card-large .use-slide img { object-position: center; }

.use-gallery::after { content: ""; position: absolute; z-index: 1; inset: 48% 0 0; pointer-events: none; background: linear-gradient(to bottom, transparent, rgba(18,18,18,.76)); }
.use-gallery-ui { position: absolute; z-index: 2; left: 1.15rem; right: 1.15rem; bottom: 1rem; display: flex; align-items: end; justify-content: space-between; gap: 1rem; }
.use-gallery-caption { margin: 0; max-width: 55%; color: #fff !important; font-size: .82rem; font-weight: 800; letter-spacing: .055em; line-height: 1.25; text-transform: uppercase; text-shadow: 0 2px 12px rgba(0,0,0,.45); }
.use-gallery-actions { display: flex; align-items: center; gap: .5rem; }
.use-gallery-arrow { width: 2.35rem; height: 2.35rem; padding: 0; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.75); border-radius: 50%; background: rgba(18,18,18,.42); color: #fff; cursor: pointer; backdrop-filter: blur(8px); transition: background .2s ease, transform .2s ease; }
.use-gallery-arrow:hover, .use-gallery-arrow:focus-visible { background: #fff; color: var(--ink); transform: translateY(-2px); }
.use-gallery-dots { display: flex; align-items: center; gap: .35rem; }
.use-gallery-dot { width: .55rem; height: .55rem; padding: 0; border: 1px solid rgba(255,255,255,.9); border-radius: 50%; background: transparent; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.use-gallery-dot:hover, .use-gallery-dot:focus-visible { transform: scale(1.25); }
.use-gallery-dot.is-active { background: #fff; }
.use-gallery-note { margin: 1.2rem auto 0; color: rgba(247,244,237,.62); font-size: .78rem; text-align: right; }

@media (prefers-reduced-motion: reduce) {
  .use-slide { transition: none; transform: none; }
}

.instruction-video-card { margin-bottom: clamp(3rem, 6vw, 6rem); display: grid; grid-template-columns: minmax(17rem, .55fr) minmax(0, 1.45fr); border: 1px solid var(--ink); background: var(--paper); overflow: hidden; }
.instruction-video-card[hidden] { display: none; }
.instruction-video-copy { padding: clamp(1.5rem, 3.5vw, 3.5rem); display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--ink); }
.instruction-video-copy h3 { margin: 0 0 1rem; font-family: var(--font-display); font-size: clamp(2rem, 3.4vw, 4rem); letter-spacing: -.055em; }
.instruction-video-copy > p:last-child { margin-bottom: 0; color: var(--muted); }
.instruction-video-frame { min-width: 0; background: var(--ink); display: grid; place-items: center; }
.instruction-video-mount { width: 100%; height: 100%; min-height: 24rem; display: grid; place-items: center; background: var(--ink); }
.instruction-mp4, .instruction-youtube { width: 100%; height: 100%; min-height: 24rem; display: block; border: 0; background: var(--ink); }
.instruction-mp4 { object-fit: contain; }
.instruction-youtube { aspect-ratio: 16 / 9; }
.instruction-video-placeholder { padding: 2rem; display: grid; gap: .55rem; color: #fff; text-align: center; }
.instruction-video-placeholder span { color: rgba(255,255,255,.72); font-size: .85rem; }

.instruction-layout { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.instruction-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.instruction-list li { padding: 1.6rem 0; display: grid; grid-template-columns: 4rem 1fr; gap: 1rem; border-bottom: 1px solid var(--ink); }
.instruction-list li > span { font-family: var(--font-display); font-size: .8rem; }
.instruction-list h3 { margin: 0 0 .4rem; font-family: var(--font-display); font-size: 1.55rem; letter-spacing: -.04em; }
.instruction-list p { margin: 0; color: var(--muted); }
.limit-card { position: sticky; top: 7rem; padding: clamp(2rem, 4vw, 3rem); background: var(--yellow); border: 1px solid var(--ink); box-shadow: 1rem 1rem 0 var(--ink); }
.limit-label { font-size: 1.25rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.limit-card > strong { display: block; margin: 1rem 0 0; font-family: var(--font-display); font-size: clamp(6rem, 12vw, 10rem); line-height: .8; letter-spacing: -.08em; }
.limit-card > strong small { font-size: .25em; letter-spacing: -.02em; }
.limit-card > p { font-size: 1.15rem; }
.limit-rule { height: 1px; background: var(--ink); margin: 1.5rem 0; }
.limit-card .small { font-size: .78rem; }

.story { padding-block: 0; background: var(--brand); }
.story-panel { min-height: 100svh; padding: clamp(5rem, 10vw, 10rem) 0; display: flex; flex-direction: column; justify-content: center; }
.story-panel h2 { max-width: 70rem; }
.story-lede { max-width: 65rem; margin: 3rem 0; font-size: clamp(1.3rem, 2.2vw, 2.2rem); line-height: 1.35; }
.story-columns { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 7vw, 7rem); max-width: 75rem; }
.story-columns p { font-size: 1.03rem; }
.story-signature { margin-top: 4rem; padding-top: 1.1rem; border-top: 1px solid var(--ink); display: flex; justify-content: space-between; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; }

.faq-list { border-top: 1px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--ink); }
.faq-question { width: 100%; padding: 1.6rem 0; border: 0; background: none; display: grid; grid-template-columns: 4rem 1fr auto; align-items: center; text-align: left; cursor: pointer; }
.faq-question .faq-number { font-family: var(--font-display); font-size: .75rem; }
.faq-question strong { font-family: var(--font-display); font-size: clamp(1.25rem, 2.2vw, 2rem); letter-spacing: -.04em; }
.faq-plus { width: 2.2rem; height: 2.2rem; border: 1px solid var(--ink); border-radius: 50%; display: grid; place-items: center; font-size: 1.3rem; transition: background .2s ease, color .2s ease; }
.faq-item.open .faq-plus { background: var(--ink); color: var(--paper); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.faq-answer > div { overflow: hidden; }
.faq-answer p { max-width: 48rem; margin: 0 0 1.7rem 4rem; color: var(--muted); white-space: pre-line; }
.faq-item.open .faq-answer { grid-template-rows: 1fr; }

.policy-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-left: 1px solid var(--ink); border-top: 1px solid var(--ink); }
.policy-card { min-height: 24rem; padding: 1.4rem; display: flex; flex-direction: column; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.policy-card > span { font-family: var(--font-display); font-size: .75rem; }
.policy-card h3 { margin: 4rem 0 1rem; font-family: var(--font-display); font-size: 1.7rem; letter-spacing: -.04em; }
.policy-card p { color: var(--muted); }
.policy-link { margin-top: auto; padding: 0; border: 0; background: none; text-align: left; text-decoration: underline; text-underline-offset: 4px; font-weight: 750; cursor: pointer; }

.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(24rem, .72fr); gap: clamp(3rem, 8vw, 9rem); align-items: start; }
.contact > * { width: auto; margin: 0; }
.contact-copy h2 { font-size: clamp(3.3rem, 6.7vw, 7.3rem); }
.contact-copy > p:not(.eyebrow) { max-width: 40rem; font-size: 1.1rem; }
.contact-meta { margin-top: 3rem; display: flex; flex-direction: column; gap: .4rem; font-weight: 800; }
.contact-form { padding: clamp(1.5rem, 3vw, 2.5rem); background: var(--paper); border: 1px solid var(--ink); box-shadow: 1rem 1rem 0 var(--ink); }
.contact-form label { display: block; margin-bottom: 1rem; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; margin-top: .5rem; padding: .85rem .2rem; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; background: transparent; color: var(--ink); outline: none; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-bottom-width: 3px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-status { min-height: 1.5rem; margin: .8rem 0 0; font-size: .85rem; }

.site-footer { padding: clamp(3rem, 6vw, 6rem) var(--gutter) 1.5rem; background: var(--ink); color: var(--paper); }
.site-footer > * { width: min(100%, var(--max)); margin-inline: auto; }
.footer-brand { font-size: clamp(2rem, 4vw, 4rem); }
.site-footer > p { margin-top: 1rem; color: rgba(247,244,237,.65); }
.site-footer nav { padding: 3rem 0; display: flex; flex-wrap: wrap; gap: 1.5rem; border-bottom: 1px solid rgba(255,255,255,.2); }
.site-footer nav a { text-underline-offset: 5px; }
.footer-bottom { padding-top: 1.2rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: rgba(247,244,237,.55); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; }

.drawer-backdrop { position: fixed; inset: 0; z-index: 110; background: rgba(0,0,0,.45); opacity: 0; visibility: hidden; transition: .25s ease; }
.cart-drawer { position: fixed; z-index: 120; top: 0; right: 0; width: min(100%, 31rem); height: 100dvh; padding: 1.4rem; background: var(--paper); transform: translateX(100%); transition: transform .3s ease; display: flex; flex-direction: column; }
body.cart-open .drawer-backdrop { opacity: 1; visibility: visible; }
body.cart-open .cart-drawer { transform: translateX(0); }
.drawer-header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 1rem; border-bottom: 1px solid var(--ink); }
.drawer-header h2 { font-size: 2rem; }
.icon-button { width: 2.8rem; height: 2.8rem; border: 1px solid var(--ink); border-radius: 50%; font-size: 1.7rem; }
.cart-items { flex: 1; overflow-y: auto; }
.cart-item { padding: 1rem 0; display: grid; grid-template-columns: 5rem 1fr auto; gap: .9rem; border-bottom: 1px solid var(--line); }
.cart-item-thumb { aspect-ratio: 1; background: var(--mint); display: grid; place-items: center; overflow: hidden; }
.cart-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-item h3 { margin: 0 0 .2rem; font-size: .95rem; }
.cart-item p { margin: 0; font-size: .8rem; color: var(--muted); }
.qty-control { margin-top: .6rem; display: inline-flex; border: 1px solid var(--line); }
.qty-control button, .qty-control span { width: 2rem; height: 1.8rem; border: 0; background: transparent; display: grid; place-items: center; }
.qty-control button { cursor: pointer; }
.cart-item-remove { padding: 0; border: 0; background: none; text-decoration: underline; cursor: pointer; font-size: .72rem; align-self: start; }
.cart-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.cart-empty[hidden], .cart-summary[hidden] { display: none; }
.empty-icon { width: 5rem; height: 5rem; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; font-size: 3rem; }
.cart-empty h3 { margin: 1rem 0 .4rem; font-family: var(--font-display); font-size: 1.6rem; }
.cart-summary { padding-top: 1rem; border-top: 1px solid var(--ink); }
.cart-summary > .cart-subtotal-row { display: flex; justify-content: space-between; font-size: 1.15rem; }
.cart-summary > p { color: var(--muted); font-size: .75rem; }
.checkout-button { width: 100%; }
.checkout-note { text-align: center; }

.product-dialog { width: min(calc(100% - 2rem), 76rem); max-width: 76rem; max-height: calc(100dvh - 2rem); padding: 0; border: 1px solid var(--ink); background: var(--paper); box-shadow: var(--shadow); overflow: auto; }
.product-dialog.dialog-fallback-open { position: fixed; inset: 1rem; z-index: 220; display: block; margin: auto; }
.product-dialog::backdrop { background: rgba(0,0,0,.72); backdrop-filter: blur(4px); }
.product-dialog-close { z-index: 15; background: rgba(247,244,237,.94) !important; }
.product-dialog-layout { min-height: min(48rem, calc(100dvh - 2rem)); display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(21rem, .65fr); }
.product-dialog-gallery { position: relative; min-width: 0; min-height: 34rem; overflow: hidden; background: var(--paper-2); }
.product-dialog-track { width: 100%; height: 100%; display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; touch-action: pan-x pan-y; cursor: grab; -webkit-overflow-scrolling: touch; }
.product-dialog-track.zoom-active { overflow-x: hidden; scroll-snap-type: none; cursor: default; }
.product-dialog-track::-webkit-scrollbar { display: none; }
.product-dialog-track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.product-dialog-slide { flex: 0 0 100%; width: 100%; height: 100%; min-height: 34rem; margin: 0; scroll-snap-align: start; scroll-snap-stop: always; touch-action: pan-x pan-y; overflow: hidden; }
.product-zoom-stage { width: 100%; height: 100%; min-height: 34rem; display: grid; place-items: center; overflow: hidden; cursor: zoom-in; touch-action: pan-y; }
.product-zoom-stage.is-zoomed { cursor: grab; touch-action: none; }
.product-zoom-stage.is-panning { cursor: grabbing; }
.product-zoom-stage img { width: 100%; height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; transform-origin: center center; will-change: transform; transition: transform .12s ease-out; }
.product-zoom-stage.is-panning img { transition: none; }
.product-zoom-controls { position: absolute; z-index: 8; left: 1rem; top: 1rem; display: flex; align-items: center; gap: .35rem; padding: .32rem; border: 1px solid rgba(18,18,18,.45); border-radius: 999px; background: rgba(247,244,237,.9); box-shadow: 0 .35rem 1rem rgba(0,0,0,.12); backdrop-filter: blur(8px); }
.product-zoom-controls button { min-width: 2.25rem; height: 2.25rem; padding: 0 .55rem; display: grid; place-items: center; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font-weight: 850; cursor: pointer; }
.product-zoom-controls button:hover, .product-zoom-controls button:focus-visible { background: var(--ink); color: #fff; }
.product-zoom-controls [data-product-zoom-reset] { min-width: 3.5rem; font-size: .72rem; }
.product-dialog-gallery .product-gallery-arrow { width: 3rem; height: 3rem; }
.product-dialog-dots { bottom: 1.25rem; }
.product-dialog-copy { padding: clamp(2rem, 4vw, 4rem); display: flex; flex-direction: column; justify-content: center; border-left: 1px solid var(--ink); }
.product-dialog-copy h2 { margin: 0 0 1.5rem; font-size: clamp(2.35rem, 4.2vw, 4.8rem); line-height: .94; text-wrap: balance; overflow-wrap: anywhere; }
.product-dialog-copy h2.is-long-title { font-size: clamp(1.85rem, 3vw, 3.15rem); line-height: 1; }
.product-dialog-copy h2.is-very-long-title { font-size: clamp(1.55rem, 2.45vw, 2.55rem); line-height: 1.04; }
.product-dialog-copy > p:not(.product-kicker):not(.product-dialog-help) { color: var(--muted); }
.product-dialog-price { margin: 1.5rem 0; padding-top: 1.2rem; border-top: 1px solid var(--line); font-family: var(--font-display); font-size: 2rem; }
.product-dialog-actions { display: grid; grid-template-columns: 1fr; gap: .75rem; }
.product-dialog-actions .button { width: 100%; }
.product-dialog-secure-note { margin: .75rem 0 0; color: var(--muted); font-size: .75rem; text-align: center; }
.product-dialog-help { margin: 1rem 0 0; color: var(--muted); font-size: .75rem; }

/* Full-fit popup gallery for Ways to Use photos.
   The dialog itself owns the viewport height; the gallery flexes into the remaining
   space so Firefox never clips the photo behind the caption area. */
.use-gallery.can-enlarge .use-gallery-stage { cursor: zoom-in; }
.use-gallery.can-enlarge .use-gallery-stage.is-dragging { cursor: grabbing; }
.use-dialog {
  width: min(calc(100% - 1rem), 96rem);
  max-width: 96rem;
  height: calc(100dvh - 1rem);
  max-height: calc(100dvh - 1rem);
  padding: 0;
  border: 1px solid var(--ink);
  background: var(--paper);
  box-shadow: var(--shadow);
  overflow: hidden;
  flex-direction: column;
}
.use-dialog[open] { display: flex; }
.use-dialog::backdrop { background: rgba(0,0,0,.82); backdrop-filter: blur(4px); }
.use-dialog-close { z-index: 20; background: rgba(247,244,237,.94) !important; }
.use-dialog-gallery { position: relative; flex: 1 1 auto; min-height: 0; overflow: hidden; background: #111; }
.use-dialog-zoom-stage { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; cursor: zoom-in; touch-action: none; }
.use-dialog-zoom-stage.is-zoomed { cursor: grab; }
.use-dialog-zoom-stage.is-panning { cursor: grabbing; }
/* At 100%, the ACTUAL image box fits completely inside the available stage.
   This is intentionally width/height:auto rather than a 100% x 100% image box. */
.use-dialog-zoom-stage img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  user-select: none;
  -webkit-user-drag: none;
  transform-origin: center center;
  will-change: transform;
  transition: transform .12s ease-out;
}
.use-dialog-zoom-stage.is-panning img { transition: none; }
.use-dialog-zoom-controls { position: absolute; z-index: 8; left: 1rem; top: 1rem; display: flex; align-items: center; gap: .35rem; padding: .32rem; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; background: rgba(247,244,237,.92); box-shadow: 0 .35rem 1rem rgba(0,0,0,.2); backdrop-filter: blur(8px); }
.use-dialog-zoom-controls button { min-width: 2.25rem; height: 2.25rem; padding: 0 .55rem; display: grid; place-items: center; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font-weight: 850; cursor: pointer; }
.use-dialog-zoom-controls button:hover, .use-dialog-zoom-controls button:focus-visible { background: var(--ink); color: #fff; }
.use-dialog-zoom-controls [data-use-zoom-reset] { min-width: 3.5rem; font-size: .72rem; }
.use-dialog-arrow { position: absolute; z-index: 8; top: 50%; width: 3rem; height: 3rem; padding: 0; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; background: rgba(18,18,18,.5); color: #fff; cursor: pointer; transform: translateY(-50%); backdrop-filter: blur(8px); }
.use-dialog-arrow:hover, .use-dialog-arrow:focus-visible { background: #fff; color: var(--ink); }
.use-dialog-prev { left: 1rem; }
.use-dialog-next { right: 1rem; }
.use-dialog-arrow[hidden], .use-dialog-dots[hidden] { display: none !important; }
.use-dialog-dots { position: absolute; z-index: 8; left: 50%; bottom: 1rem; display: flex; align-items: center; gap: .42rem; transform: translateX(-50%); }
.use-dialog-dot { width: .62rem; height: .62rem; padding: 0; border: 1px solid #fff; border-radius: 50%; background: rgba(18,18,18,.28); cursor: pointer; }
.use-dialog-dot.is-active { background: #fff; transform: scale(1.15); }
.use-dialog-copy { flex: 0 0 auto; padding: 1.25rem clamp(1.25rem, 3vw, 2.5rem) 1.5rem; display: grid; grid-template-columns: minmax(12rem, .45fr) minmax(0, 1fr); align-items: end; gap: 1rem 2rem; border-top: 1px solid var(--ink); background: var(--paper); }
.use-dialog-copy .eyebrow { grid-column: 1; margin-bottom: .45rem; }
.use-dialog-copy h2 { grid-column: 1; margin: 0; font-size: clamp(1.8rem, 3.2vw, 3.5rem); line-height: .95; }
.use-dialog-copy > #use-dialog-caption { grid-column: 2; grid-row: 1 / span 2; align-self: center; margin: 0; color: var(--muted); font-size: 1rem; }
.use-dialog-help { grid-column: 1 / -1; margin: .15rem 0 0; color: var(--muted); font-size: .72rem; }

.site-dialog { width: min(calc(100% - 2rem), 46rem); max-height: calc(100dvh - 2rem); padding: clamp(1.7rem, 4vw, 3.5rem); border: 1px solid var(--ink); background: var(--paper); box-shadow: var(--shadow); }
.site-dialog::backdrop { background: rgba(0,0,0,.58); }
.dialog-close { position: absolute; top: 1rem; right: 1rem; width: 2.6rem; height: 2.6rem; padding: 0; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; background: transparent; font-size: 1.5rem; cursor: pointer; }
.site-dialog h2 { padding-right: 3rem; font-size: clamp(2.5rem, 5vw, 4rem);  margin-bottom: 2rem; }
.site-dialog h3 { margin-top: 1.7rem; }
.site-dialog p, .site-dialog li { color: var(--muted); }

/* Optional sale/coupon/email popup. Controlled entirely from site-config.js. */
.promo-overlay { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 1rem; background: rgba(0,0,0,var(--promo-backdrop-opacity,.66)); backdrop-filter: blur(3px); }
.promo-overlay[hidden] { display: none !important; }
.promo-panel { position: relative; width: min(100%, 38rem); max-height: calc(100dvh - 2rem); overflow: auto; padding: clamp(2rem, 6vw, 4rem); border: 1px solid var(--ink); background: var(--paper); box-shadow: var(--shadow); }
.promo-panel h2 { margin: .25rem 0 1rem; font-size: clamp(2.4rem, 7vw, 5rem); }
.promo-panel > p { color: var(--muted); }
.promo-close { position: absolute; top: .85rem; right: .85rem; width: 2.6rem; height: 2.6rem; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; background: var(--paper); cursor: pointer; }
.promo-coupon { margin: 1.5rem 0; padding: 1rem; border: 1px dashed var(--ink); background: var(--yellow); }
.promo-coupon span { display: block; margin-bottom: .25rem; font-size: .67rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.promo-coupon strong { font-family: var(--font-display); font-size: 1.6rem; letter-spacing: .04em; }
.promo-email-form { display: grid; gap: .75rem; margin-top: 1.5rem; }
.promo-email-form input { width: 100%; padding: .9rem 1rem; border: 1px solid var(--ink); background: #fff; }
.promo-email-note, .promo-form-status { margin: 0; color: var(--muted); font-size: .72rem; }

.noscript { position: fixed; z-index: 999; left: 1rem; right: 1rem; bottom: 1rem; padding: 1rem; background: #fff; border: 2px solid #b00; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1120px) {
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; padding: 1.25rem var(--gutter) 2rem; background: var(--paper); border-bottom: 1px solid var(--ink); flex-direction: column; align-items: flex-start; }
  .site-nav.open { display: flex; }
  .nav-toggle { grid-column: 3; justify-self: end; width: 2.75rem; height: 2.75rem; padding: .55rem; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: .3rem; }
  .nav-toggle-line { width: 1.65rem; height: 2px; display: block; background: var(--ink); transform-origin: center; transition: transform .2s ease, opacity .15s ease; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-of-type(2) { transform: translateY(.4rem) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-of-type(3) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-of-type(4) { transform: translateY(-.4rem) rotate(-45deg); }
  .product-grid { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid.product-count-1 { width: min(100%, 28rem); grid-template-columns: 1fr; }
  .product-grid.product-count-2,
  .product-grid.product-count-3 { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .policy-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-visual { min-height: 38rem; }
  .section-heading, .instruction-layout, .contact { grid-template-columns: 1fr; }
  .instruction-video-card, .product-dialog-layout { grid-template-columns: 1fr; }
  .instruction-video-copy { border-right: 0; border-bottom: 1px solid var(--ink); }
  .product-dialog-copy { border-left: 0; border-top: 1px solid var(--ink); }
  .product-dialog-gallery, .product-dialog-slide { min-height: min(62vw, 34rem); }
  .section-heading { align-items: start; gap: 1.5rem; }
  .steps { grid-template-columns: 1fr; }
  .step-card { min-height: auto; }
  .step-visual { height: min(72vw, 26rem); }
  .how-video-card { grid-template-columns: 1fr; }
  .how-video-copy { border-right: 0; border-bottom: 1px solid var(--ink); }
  .use-dialog-copy { grid-template-columns: 1fr; }
  .use-dialog-copy .eyebrow, .use-dialog-copy h2, .use-dialog-copy > #use-dialog-caption, .use-dialog-help { grid-column: 1; grid-row: auto; }
  .use-grid { grid-template-columns: 1fr; }
  .use-card-large { grid-row: auto; min-height: 46rem; }
  .use-card-large .use-gallery { min-height: 30rem; }
  .use-card-wide { grid-column: auto; }
  .limit-card { position: static; }
  .story-columns { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .marquee { grid-template-columns: minmax(0, 1fr); }
  .marquee-controls { justify-content: center; border-left: 0; border-top: 1px solid var(--ink); }

  .announcement { justify-content: space-between; gap: .6rem; font-size: .62rem; }
  .site-header { height: 3.55rem; grid-template-columns: auto 1fr auto; gap: .7rem; }
  .brand { font-size: .86rem; }
  .brand-mark { width: 1.85rem; transform: scale(.84); transform-origin: left center; margin-right: -.25rem; }
  .cart-button { font-size: 0; gap: .3rem; }
  .cart-count { font-size: .72rem; }
  .hero { padding-top: 3.5rem; }
  h1 { font-size: clamp(3.45rem, 18vw, 5.5rem); }
  .hero-visual { min-height: 31rem; }
  .wall-card { width: 82%; }
  .wall-card-front { left: 10%; }
  .visual-note { font-size: .58rem; }
  .product-grid, .product-grid.product-count-1, .product-grid.product-count-2, .product-grid.product-count-3, .policy-grid { width: 100%; grid-template-columns: 1fr; }
  .product-media { aspect-ratio: 1.2; }
  .product-gallery-arrow { width: 2.25rem; height: 2.25rem; }
  .product-enlarge-hint { display: none; }
  .instruction-video-mount, .instruction-mp4, .instruction-youtube { min-height: 14rem; }
  .how-video-mount, .how-video-mp4, .how-video-youtube { min-height: 14rem; }
  .use-dialog { width: calc(100% - .5rem); height: calc(100dvh - .5rem); max-height: calc(100dvh - .5rem); }
  .use-dialog-gallery { min-height: 0; }
  .use-dialog-zoom-stage { min-height: 0; }
  .use-dialog-close { top: .65rem; right: .65rem; }
  .use-dialog-zoom-controls { left: .55rem; top: .55rem; }
  .use-dialog-arrow { width: 2.55rem; height: 2.55rem; }
  .use-dialog-prev { left: .55rem; }
  .use-dialog-next { right: .55rem; }
  .product-dialog { width: calc(100% - 1rem); max-height: calc(100dvh - 1rem); }
  .product-dialog-close { top: .9rem; right: .9rem; }
  .product-zoom-controls { left: .65rem; top: .65rem; }
  .product-dialog-gallery, .product-dialog-slide { min-height: 72vw; }
  .product-dialog-copy { padding: 1.5rem; }
  .product-dialog-actions { grid-template-columns: 1fr; }
  .feature-band { align-items: flex-start; flex-direction: column; }
  .use-gallery-ui { left: .8rem; right: .8rem; bottom: .75rem; align-items: flex-end; }
  .use-gallery-caption { max-width: 46%; font-size: .66rem; }
  .use-gallery-arrow { width: 2rem; height: 2rem; }
  .use-gallery-dots { gap: .25rem; }
  .use-gallery-dot { width: .45rem; height: .45rem; }
  .use-gallery-note { text-align: left; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .story-signature { flex-direction: column; gap: .5rem; }
  .faq-question { grid-template-columns: 2rem 1fr auto; }
  .faq-answer p { margin-left: 2rem; }
}

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

/* --- v1.4 commerce flow + real logo --- */
.brand-logo { display: inline-flex; align-items: center; }
.brand-logo img { width: clamp(9.4rem, 12vw, 12.25rem); height: auto; }
/* Move only the HEADER logo down; the footer logo keeps its normal position.
   Increase/decrease --header-logo-drop-desktop in :root to fine-tune the Q descender. */
.site-header .brand-logo img { position: relative; top: var(--header-logo-drop-desktop); z-index: 2; }
.footer-brand.brand-logo img { width: clamp(11rem, 16vw, 15rem); }

.drawer-header > div { min-width: 0; }
.drawer-kicker { margin: 0 0 .15rem; color: var(--muted); font-size: .64rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.cart-added-confirmation { margin: .2rem 0 1rem; padding: .9rem 1rem; display: grid; grid-template-columns: 2rem 1fr; gap: .75rem; align-items: center; background: color-mix(in srgb, var(--mint) 48%, white); border: 1px solid rgba(18,18,18,.14); }
.cart-added-confirmation[hidden] { display: none; }
.cart-added-check { width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: white; font-weight: 900; }
.cart-added-confirmation strong, .cart-added-confirmation span { display: block; }
.cart-added-confirmation strong { font-size: .83rem; text-transform: uppercase; letter-spacing: .04em; }
.cart-added-confirmation div > span { margin-top: .1rem; color: var(--muted); font-size: .76rem; }
.cart-summary > .cart-subtotal-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.15rem; }
.cart-drawer-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; margin-top: 1rem; }
.cart-drawer-actions .button { width: 100%; }

@media (max-width: 640px) {
  .brand-logo img { width: 8.8rem; }
  /* Separate mobile control for how far the Q descender hangs below the header. */
  .site-header .brand-logo img { top: var(--header-logo-drop-mobile); }
  .cart-drawer-actions { grid-template-columns: 1fr; }
}
