:root {
  --white: #fff;
  --soft: #f7f7f6;
  --ink: #111;
  --muted: #656565;
  --line: #dedede;
  --font: "Avenir Next", "Neue Haas Grotesk Text Pro", "Helvetica Neue", sans-serif;
  --page: min(92vw, 1440px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, summary { font: inherit; color: inherit; }
button { cursor: pointer; }

.skip-link { position: fixed; z-index: 100; top: 1rem; left: 1rem; padding: .7rem 1rem; background: var(--ink); color: white; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }

.site-header { width: var(--page); height: 76px; margin: auto; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.site-title { font-size: .88rem; font-weight: 650; letter-spacing: -.01em; }
.site-header nav { display: flex; align-items: center; gap: clamp(1.2rem, 3vw, 2.6rem); font-size: .77rem; }
.site-header nav a, .header-ask { min-height: 44px; display: flex; align-items: center; border: 0; background: transparent; }
.header-ask { padding: 0; }
.site-header nav a:hover, .header-ask:hover { opacity: .55; }

.product { width: var(--page); margin: auto; display: grid; grid-template-columns: minmax(0, 1.38fr) minmax(360px, .62fr); gap: clamp(3rem, 6vw, 7rem); align-items: start; padding: clamp(2rem, 4vw, 4.5rem) 0 clamp(5rem, 9vw, 9rem); }
.gallery-stage { aspect-ratio: 1; overflow: hidden; background: var(--soft); }
.gallery-stage img { width: 100%; height: 100%; object-fit: contain; transition: opacity .16s ease; }
.gallery-stage img.is-changing { opacity: .16; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: .55rem; margin-top: .55rem; }
.thumb { aspect-ratio: 1; padding: 0; border: 1px solid transparent; background: var(--soft); overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb:hover { opacity: .7; }
.thumb.is-active { border-color: var(--ink); }

.product-info { position: sticky; top: 1.5rem; padding-top: .2rem; }
.product-type, .section-label { margin: 0 0 .75rem; color: #7a644e; font-size: .67rem; font-weight: 650; letter-spacing: .13em; text-transform: uppercase; }
.product-info h1 { margin: 0; font-size: clamp(2.25rem, 3.6vw, 3.65rem); line-height: 1.03; letter-spacing: -.045em; }
.product-lede { max-width: 31rem; margin: 1rem 0 1.35rem; color: var(--muted); font-size: 1.02rem; }
.price { margin: 0 0 1.4rem; font-size: 1.55rem; font-weight: 600; letter-spacing: -.02em; }

.policy-glance { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 1rem; border-block: 1px solid var(--line); }
.policy-glance p { min-width: 0; min-height: 82px; margin: 0; display: flex; align-items: center; gap: .7rem; padding: .9rem .9rem .9rem 0; font-size: .72rem; line-height: 1.35; }
.policy-glance p + p { padding-left: .9rem; border-left: 1px solid var(--line); }
.policy-glance svg { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.policy-glance strong { font-size: .75rem; font-weight: 650; }

.primary-button, .secondary-button { min-height: 56px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--ink); font-size: .78rem; font-weight: 650; letter-spacing: .02em; }
.primary-button { width: 100%; background: var(--ink); color: white; }
.primary-button:hover { background: #2b2b2b; }
.secondary-button { min-width: 180px; padding: 0 1.5rem; background: white; }
.secondary-button:hover { background: var(--ink); color: white; }
.payment-note { margin: .8rem 0 1.5rem; color: var(--muted); font-size: .68rem; }

.quick-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 0 .7rem; padding: 1.2rem 0; border-block: 1px solid var(--line); }
.quick-facts div { min-width: 0; text-align: center; }
.quick-facts div + div { border-left: 1px solid var(--line); }
.quick-facts dt { font-size: .78rem; font-weight: 650; }
.quick-facts dd { margin: .18rem 0 0; color: var(--muted); font-size: .68rem; }

.product-accordions { border-top: 1px solid var(--line); }
.product-accordions details, .faq details { border-bottom: 1px solid var(--line); scroll-margin-top: 1rem; }
.product-accordions summary, .faq summary { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; list-style: none; cursor: pointer; font-size: .82rem; font-weight: 600; }
.product-accordions summary::-webkit-details-marker, .faq summary::-webkit-details-marker { display: none; }
.product-accordions summary span, .faq summary span { position: relative; width: 13px; height: 13px; flex: 0 0 auto; }
.product-accordions summary span::before, .product-accordions summary span::after, .faq summary span::before, .faq summary span::after { content: ""; position: absolute; top: 6px; left: 0; width: 13px; height: 1px; background: currentColor; transition: transform .18s; }
.product-accordions summary span::after, .faq summary span::after { transform: rotate(90deg); }
.product-accordions details[open] summary span::after, .faq details[open] summary span::after { transform: rotate(0); }
.product-accordions details p { margin: 0; padding: 0 2rem 1.2rem 0; color: var(--muted); font-size: .78rem; }

.feature { display: grid; grid-template-columns: 1.15fr .85fr; background: var(--soft); }
.feature-image { min-width: 0; aspect-ratio: 1; }
.feature-image img { width: 100%; height: 100%; object-fit: contain; }
.feature-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(3rem, 8vw, 9rem); }
.feature h2, .detail-grid h2, .in-hand h2, .faq h2, .closing h2 { margin: 0; font-weight: 600; letter-spacing: -.04em; line-height: 1.08; }
.feature h2 { max-width: 600px; font-size: clamp(2.5rem, 4.8vw, 5rem); }
.feature-copy > p:last-child { max-width: 31rem; margin: 1.5rem 0 0; color: var(--muted); font-size: 1rem; }

.detail-grid { width: var(--page); margin: clamp(5rem, 10vw, 10rem) auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2vw, 2rem); }
.detail-grid article { min-width: 0; }
.detail-image { aspect-ratio: 1; overflow: hidden; background: var(--soft); }
.detail-image img { width: 100%; height: 100%; object-fit: contain; }
.detail-grid h2 { margin-top: 1.25rem; font-size: clamp(1.55rem, 2.4vw, 2.25rem); }
.detail-grid p { margin: .55rem 0 0; color: var(--muted); font-size: .82rem; }

.in-hand { display: grid; grid-template-columns: .85fr 1.15fr; background: var(--soft); }
.in-hand-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(3rem, 8vw, 9rem); }
.in-hand h2 { max-width: 600px; font-size: clamp(2.4rem, 4.6vw, 4.8rem); }
.in-hand-copy > p:last-child { max-width: 29rem; margin: 1.3rem 0 0; color: var(--muted); }
.in-hand-image { aspect-ratio: 1; }
.in-hand-image img { width: 100%; height: 100%; object-fit: cover; }

.faq { width: min(92vw, 980px); margin: clamp(5rem, 10vw, 10rem) auto; display: grid; grid-template-columns: .55fr 1.45fr; gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.faq h2 { font-size: clamp(2.2rem, 4vw, 4rem); }
.faq > div { border-top: 1px solid var(--ink); }
.faq summary { min-height: 68px; font-size: .9rem; }
.faq details p { margin: 0; padding: 0 2.5rem 1.35rem 0; color: var(--muted); font-size: .8rem; }

.closing { width: var(--page); margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 4rem 0; border-top: 1px solid var(--line); }
.closing h2 { max-width: 680px; font-size: clamp(1.8rem, 3vw, 3rem); }

footer { min-height: 125px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 2rem; align-items: center; padding: 2rem max(4vw, calc((100vw - 1440px) / 2)); border-top: 1px solid var(--line); color: var(--muted); font-size: .68rem; }
footer > p:first-child { color: var(--ink); font-weight: 600; }
footer nav { display: flex; gap: 1.5rem; }
footer nav button { padding: 0; border: 0; background: transparent; }
.image-note { justify-self: end; max-width: 320px; text-align: right; }

.sticky-order { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; min-height: 72px; display: grid; grid-template-columns: 48px 1fr auto; gap: .9rem; align-items: center; padding: .55rem max(4vw, calc((100vw - 1440px) / 2)); border-top: 1px solid var(--line); background: rgba(255,255,255,.96); backdrop-filter: blur(14px); opacity: 0; pointer-events: none; transform: translateY(100%); transition: opacity .2s, transform .2s; }
.sticky-order.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.sticky-order img { width: 48px; height: 48px; object-fit: contain; background: var(--soft); }
.sticky-order p { margin: 0; font-size: .75rem; }
.sticky-order p span { display: block; color: var(--muted); }
.sticky-order button { min-width: 150px; min-height: 46px; padding: 0 1rem; border: 1px solid var(--ink); background: var(--ink); color: white; font-size: .75rem; font-weight: 650; }

.contact-dialog { width: min(92vw, 520px); padding: clamp(1.5rem, 4vw, 2.7rem); border: 0; background: white; color: var(--ink); box-shadow: 0 28px 90px rgba(0,0,0,.24); }
.contact-dialog::backdrop { background: rgba(0,0,0,.54); backdrop-filter: blur(4px); }
.dialog-close { position: absolute; top: 1.2rem; right: 1.2rem; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: white; font-size: 1.5rem; }
.contact-dialog h2 { margin: .3rem 0 1.5rem; font-size: clamp(2.5rem, 7vw, 4.2rem); line-height: 1; letter-spacing: -.05em; }
.contact-dialog > p:not(.section-label) { color: var(--muted); font-size: .82rem; }
.support-status { display: flex; align-items: center; gap: .75rem; padding: 1rem 0; border-block: 1px solid var(--line); }
.support-status span { width: .55rem; height: .55rem; flex: 0 0 auto; border-radius: 50%; background: #aaa; }
.support-status p { margin: 0; font-size: .75rem; }
.contact-dialog .primary-button { margin-top: 1.3rem; }
.primary-button.is-disabled { opacity: .42; pointer-events: none; }
.contact-dialog small { display: block; margin-top: .8rem; color: var(--muted); font-size: .65rem; }

:focus-visible { outline: 2px solid #2962ff; outline-offset: 3px; }

@media (max-width: 980px) {
  .product { grid-template-columns: 1fr; gap: 2.5rem; }
  .product-info { position: static; max-width: 720px; }
  .feature, .in-hand { grid-template-columns: 1fr; }
  .feature-copy { min-height: 520px; }
  .in-hand-copy { min-height: 470px; order: 2; }
  .in-hand-image { order: 1; }
  footer { grid-template-columns: 1fr 1fr; }
  .image-note { grid-column: span 2; justify-self: start; text-align: left; }
}

@media (max-width: 640px) {
  .site-header { height: 64px; }
  .site-header nav a { display: none; }
  .product { width: 100%; padding-top: 0; }
  .gallery-thumbs { width: 92vw; margin: .45rem auto 0; display: flex; overflow-x: auto; gap: .45rem; padding-bottom: .15rem; scrollbar-width: none; }
  .gallery-thumbs::-webkit-scrollbar { display: none; }
  .thumb { width: 72px; flex: 0 0 72px; }
  .product-info { width: 92vw; margin: auto; }
  .product-info h1 { font-size: 2.4rem; }
  .policy-glance { grid-template-columns: 1fr; }
  .policy-glance p { min-height: 68px; }
  .policy-glance p + p { padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
  .quick-facts { font-size: .7rem; }
  .quick-facts dt { font-size: .7rem; }
  .quick-facts dd { font-size: .6rem; }
  .feature-copy, .in-hand-copy { min-height: auto; padding: 4.5rem 4vw; }
  .feature h2, .in-hand h2 { font-size: 2.55rem; }
  .detail-grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .faq { grid-template-columns: 1fr; gap: 2rem; }
  .closing { align-items: flex-start; flex-direction: column; padding-block: 3rem 7rem; }
  .secondary-button { width: 100%; }
  footer { grid-template-columns: 1fr; padding-bottom: 7rem; }
  .image-note { grid-column: auto; }
  footer nav { flex-wrap: wrap; }
  .sticky-order { grid-template-columns: 40px 1fr auto; min-height: 64px; padding: .45rem .65rem; }
  .sticky-order img { width: 40px; height: 40px; }
  .sticky-order button { min-width: 112px; min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .001ms !important; }
}

[hidden] { display: none !important; }
.view-switch { display: flex; gap: 1.5rem; border-bottom: 1px solid var(--line); margin-bottom: 1rem; }
.view-switch button { min-height: 44px; padding: .5rem 0; background: none; border: 0; border-bottom: 2px solid transparent; color: var(--muted); font-size: .8rem; }
.view-switch button[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.view-switch span { margin-left: .5rem; }
.media-caption { margin: .8rem 0; font-size: .7rem; color: var(--muted); }
.media-caption a { text-decoration: underline; text-underline-offset: 3px; }
#model-mount { aspect-ratio: 1; background: var(--soft); }
model-viewer { width: 100%; height: 100%; min-height: 300px; --poster-color: transparent; }
.model-tools { display: flex; gap: .5rem; margin-top: .7rem; }
.model-tools button { border: 1px solid var(--line); min-height: 44px; padding: .5rem 1rem; background: white; font-size: .75rem; }
.model-tools button:disabled { opacity: .4; cursor: default; }
#model-status { color: var(--muted); font-size: .7rem; min-height: 2.2em; }
.color-picker { margin: 0 0 1.5rem; padding: 0; border: 0; display: flex; gap: 1rem; }
.color-picker legend { margin-bottom: .6rem; font-size: .8rem; font-weight: 600; }
.color-picker label { position: relative; display: flex; flex-direction: column; align-items: center; gap: .35rem; font-size: .7rem; cursor: pointer; min-width: 54px; padding: .35rem; }
.color-picker input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.swatch { display: block; width: 28px; height: 28px; border-radius: 50%; background: var(--swatch); box-shadow: inset 0 0 0 1px #0001; }
.color-picker input:checked + .swatch { outline: 1px solid var(--ink); outline-offset: 4px; }
.color-picker input:focus-visible + .swatch { outline: 2px solid #2962ff; outline-offset: 5px; }
.real-sample { width: min(92vw,1100px); margin: 7rem auto; display: grid; grid-template-columns: 1fr .8fr; gap: 6rem; align-items: center; }
.sample-copy h2 { font-size: clamp(2.2rem,4vw,4rem); font-weight: 600; line-height: 1.08; letter-spacing: -.04em; margin: 0 0 1.5rem; }
.sample-copy p { color: var(--muted); }
.real-sample video { width: 100%; max-height: 650px; background: var(--soft); object-fit: contain; }
.info-page { max-width: 740px; width: 92vw; margin: 5rem auto 9rem; }
.info-page h1 { font-size: 3rem; line-height: 1.1; letter-spacing: -.04em; }
.info-page h2 { margin-top: 2.5rem; font-size: 1.3rem; }
.info-page a { text-decoration: underline; }
@media (max-width:640px) {
  .view-switch, .gallery > .media-caption, .model-tools, #model-status { margin-left: 4vw; margin-right: 4vw; }
  .view-switch { margin-top: .5rem; }
  .real-sample { grid-template-columns: 1fr; gap: 2rem; margin-block: 4rem; }
}
.site-title { font-size: 1.65rem; letter-spacing: -.055em; font-weight: 700; }
.brand-dot { color: #c47b36; }

/* Host-owned chrome keeps mobile visitors on the product page. */
html.chat-panel-open { overflow: hidden; }
.chat-panel { padding: 0; width: min(94vw, 460px); height: min(850px, 92dvh); max-width: none; max-height: none; overflow: hidden; border-radius: 16px; }
.chat-panel[open] { display: flex; flex-direction: column; }
.chat-panel-header { display: flex; flex: 0 0 auto; align-items: center; gap: .6rem; padding: .65rem .9rem; border-bottom: 1px solid var(--line); background: #fff; }
.chat-panel .chat-panel-header h2 { margin: 0; font-size: .86rem; line-height: 1.2; letter-spacing: -.02em; font-weight: 650; }
.chat-back, .chat-close { min-height: 44px; border: 0; background: transparent; padding: .45rem; font-size: .75rem; }
.chat-back { margin-right: auto; }
.chat-close { min-width: 44px; font-size: 1.55rem; }
.chat-panel-status { flex: 0 0 auto; padding: .5rem 1rem; background: #f7f7f6; font-size: .71rem; color: var(--muted); }
.chat-panel-status p { margin: 0; }
.chat-panel-status button, .chat-help button { min-height: 40px; padding: .4rem .7rem; border: 1px solid var(--line); background: white; margin-top: .35rem; font: inherit; }
.chat-frame-mount { flex: 1; min-height: 160px; background: #fff; }
.chat-frame-mount iframe { display: block; width: 100%; height: 100%; border: 0; }
.chat-help { flex: 0 0 auto; max-height: 35%; overflow-y: auto; padding: .45rem 1rem; border-top: 1px solid var(--line); font-size: .72rem; background: white; }
.chat-help summary { min-height: 32px; display: flex; align-items: center; cursor: pointer; }
.chat-help a { display: block; padding: .6rem 0; text-decoration: underline; }
.chat-help p { margin: .4rem 0; color: var(--muted); }
@media(max-width:640px) {
  .chat-panel { width: 100%; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; }
  .chat-panel-header { padding-top: max(.5rem, env(safe-area-inset-top)); }
  .chat-help { padding-bottom: max(.45rem, env(safe-area-inset-bottom)); }
}
