:root {
  --ink: #202224;
  --muted: #62666b;
  --line: #d6d8da;
  --paper: #f5f5f2;
  --yellow: #ffdc12;
}
* { box-sizing: border-box }
[hidden] { display: none !important }
body { margin: 0; color: var(--ink); background: white; font: 16px/1.5 Arial, Helvetica, sans-serif }
button, a { color: inherit; font: inherit }
button { cursor: pointer }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #967700; outline-offset: 3px }
h1, h2, h3, p { margin: 0 }
button { border: 0 }
header { border-bottom: 1px solid var(--line); }
.header-inner, main, footer { width: min(1248px, 94%); margin-inline: auto }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 0 }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; font-size: 22px; font-weight: 800; line-height: 1; letter-spacing: -.03em }
.logo small { display: block; margin-top: 7px; font-size: 10px; letter-spacing: .22em }
.thumbnails { display: flex; gap: 8px }
.breadcrumb { display: flex; gap: 9px; flex-wrap: wrap; margin: 22px 0; font-size: 13px; color: var(--muted) }
.hero { display: grid; grid-template-columns: 7fr 5fr; grid-template-rows: auto 1fr; grid-template-areas: "media title" "media summary"; column-gap: max(28px, 3.4%); align-items: start }
.media { grid-area: media; min-width: 0 }
.intro { grid-area: title; padding-top: 12px }
#brand { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--muted) }
h1 { margin: 6px 0 15px; font-size: clamp(32px, 3.2vw, 49px); line-height: 1.06; letter-spacing: -.045em }
.summary { grid-area: summary; min-width: 0 }
#description { line-height: 1.55 }
.stage { height: clamp(315px, 33vw, 455px); position: relative; border: 1px solid var(--line); overflow: hidden; background: white }
#enlarge { background: white; width: 100%; height: 100%; padding: 8px 38px 24px; cursor: zoom-in }
#main-photo, .thumb img, #poster { width: 100%; height: 100%; object-fit: contain }
.arrow { display: grid; place-items: center; padding: 0; width: 37px; height: 37px; font-size: 26px; line-height: 1; border-radius: 50%; border: 1px solid var(--line); background: white }
.stage .arrow { position: absolute; top: calc(50% - 19px) }
.prev { left: 12px } .next { right: 12px }
.count, #zoom-hint { position: absolute; bottom: 12px; font-size: 12px; pointer-events: none }
.count { left: 16px; font-weight: 700 } #zoom-hint { right: 16px; color: var(--muted) }
#no-photo { height: 100%; display: grid; align-content: center; justify-items: center; gap: 8px; text-align: center; background: var(--paper) }
#no-photo span { color: var(--muted); font-size: 13px }
.gallery-foot { display: flex; align-items: center; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line) }
.signature { display: grid; justify-items: center; gap: 4px; min-width: 102px }
.signature strong { font-size: 11px; line-height: 1; letter-spacing: .03em }
#variants { border-left: 1px solid var(--line); padding-left: 20px }
.variant-heading { font-size: 13px; color: var(--muted); margin-bottom: 5px }
.variant-heading strong { color: var(--ink); margin-left: 6px }
.thumb { background: white; padding: 2px 6px; border: 1px solid var(--line); width: 66px; height: 42px }
.thumb[aria-pressed=true] { border-color: var(--ink); box-shadow: inset 0 -3px var(--yellow) }
.color-picker { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 5px }
.color-picker .thumb { width: 100%; min-width: 0; height: auto; padding: 3px 4px 6px }
.color-picker .thumb img { display: block; height: 35px }
.swatch { display: block; background: var(--swatch); border-radius: 3px }
.thumb .swatch { width: 38px; height: 27px; margin: 4px auto }
#no-photo .swatch { width: 90px; height: 64px }
.color-picker .thumb span { display: block; font-size: 12px; line-height: 1.25; overflow-wrap: anywhere }
#color-extra:not(:empty) { color: var(--ink); font-size: 14px; font-weight: 600 }
@media (max-width: 520px) {
  .gallery-foot:has(.color-picker) { display: grid; grid-template-columns: auto 1fr; gap: 8px 12px }
  .gallery-foot:has(.color-picker) #variants { display: contents }
  .gallery-foot:has(.color-picker) .signature { grid-row: 1 }
  .gallery-foot:has(.color-picker) .variant-heading { grid-column: 2 }
  .color-picker { grid-column: 1 / -1 }
}
.highlights { display: grid; gap: 0; margin-top: 18px }
.highlights div { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 7px 0; border-bottom: 1px solid var(--line) }
.highlights small { color: var(--muted); font-size: 14px }
.highlights strong { font-size: 15px }
.purchase { margin-top: 18px }
.price { font-size: 36px; font-weight: 800; letter-spacing: -.04em; line-height: 1.15 }
.price-source, .availability, .video-status { font-size: 12px; color: var(--muted) }
.price-source { margin: 4px 0 18px }
.primary, .secondary { border-radius: 4px; padding: 13px 22px; font-weight: 700; background: var(--yellow) }
.primary { min-width: min(100%, 260px) }
.availability { margin-top: 8px }
.details { margin-top: 38px }
#section-menu { display: flex; flex-wrap: wrap; gap: 4px 18px; position: sticky; top: 0; z-index: 2; padding: 3px 0; border-block: 1px solid var(--line); background: white }
#section-menu a { padding: 9px 2px 6px; border-bottom: 3px solid transparent; font-weight: 700; text-decoration: none }
#section-menu a:hover, #section-menu a[aria-current] { border-color: var(--yellow) }
.product-section { padding: 23px 0; scroll-margin-top: 54px; border-bottom: 1px solid var(--line) }
.product-section h2 { margin-bottom: 13px; font-size: 26px; letter-spacing: -.03em; line-height: 1.2 }
.product-section:target h2 { text-decoration: underline; text-decoration-color: var(--yellow); text-underline-offset: 5px }
#story { max-width: 82ch }
#spec-groups { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; align-items: start }
.video-summary { display: grid; grid-template-columns: minmax(220px, 380px) 1fr; align-items: center; gap: 22px }
#video-player { max-width: 720px; margin-top: 16px }
#document-list { max-width: 820px }
#faq-list { max-width: 82ch; margin: 0 }
#faq-list dt { border-top: 1px solid var(--line); padding-top: 14px; font-weight: 700 }
#faq-list dd { margin: 4px 0 14px }
.spec-group { border: 1px solid var(--line) }
.spec-group + .spec-group { border-top: 0 }
.spec-row:nth-child(even) { background: #f8f9f7 }
.spec-group summary { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 15px; font-weight: 700; background: var(--paper); cursor: pointer; list-style: none }
.spec-group summary::-webkit-details-marker { display: none }
.spec-group summary::after { content: "+" } .spec-group[open] summary::after { content: "−" }
.spec-group dl { margin: 0 }
.spec-row { display: grid; grid-template-columns: minmax(0,40%) minmax(0,1fr); gap: 15px; padding: 9px 15px; border-top: 1px solid var(--line); font-size: 14px }
.spec-row dt { color: #53575a } .spec-row dd { margin: 0; overflow-wrap: anywhere; font-weight: 600 }
.video-cover { position: relative; width: 100%; aspect-ratio: 16/8; background: var(--paper); display: block; padding: 0; overflow: hidden }
#poster { display: block }
.play-symbol { position: absolute; inset: 0; margin: auto; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); color: var(--ink); font-size: 17px }
#video-title { margin: 10px 0 2px; font-size: 14px; font-weight: 600 }
#video-mount { aspect-ratio: 16/9; background: var(--ink) }
#video-mount iframe { width: 100%; height: 100%; border: none }
.secondary { margin-top: 10px; background: var(--ink); color: white }
.document { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); text-decoration: none; font-size: 14px }
.document > :last-child { margin-left: auto }
.pdf { border: 1px solid #999c9e; padding: 3px 5px; font-size: 10px; font-weight: 700 }
footer { display: flex; justify-content: space-between; gap: 12px; align-items: center; border-top: 1px solid var(--line); padding: 20px 0; margin-top: 24px; font-size: 12px; color: var(--muted) }
dialog { color: var(--ink); width: min(540px, 92vw); padding: 24px; border: 0 }
dialog::backdrop { background: #141617dc } dialog h2 { margin-bottom: 12px }
.dialog-close { float: right } .dialog-close, .lightbox-head button { width: 40px; height: 40px; background: var(--paper) }
#lightbox { width: min(1200px, 96vw); max-width: none; padding: 16px }
.lightbox-head, .lightbox-stage { display: flex; align-items: center; justify-content: space-between; gap: 10px }
.lightbox-stage img { min-width: 0; flex: 1; height: 70vh; object-fit: contain }
.lightbox-stage .arrow { flex: none }
#large-caption { text-align: center } body.modal-open { overflow: hidden }
@media(max-width: 760px) {
  .header-inner, main, footer { width: calc(100% - 32px) }
  .header-inner { padding: 12px 0 }
  .logo img { width: 42px; height: 42px } .logo { font-size: 19px }
  .breadcrumb { margin: 15px 0; font-size: 12px }
  .hero { grid-template-columns: 1fr; grid-template-areas: "title" "media" "summary" }
  .intro { padding-top: 0 } .stage { height: clamp(230px, 70vw, 365px) }
  #enlarge { padding: 6px 20px 18px }
  .gallery-foot { padding-block: 10px }
  .signature { min-width: 85px } .signature img { width: 52px; height: 52px }
  .summary { padding-top: 16px }
  .details { margin-top: 30px }
  #section-menu { gap: 0 10px }
  #section-menu a { font-size: 13px; padding-inline: 0 }
  .product-section { padding: 18px 0; scroll-margin-top: 92px }
  .product-section h2 { font-size: 23px }
  .video-summary { grid-template-columns: 1fr; gap: 6px }
  footer { flex-wrap: wrap }
}

@media(max-width: 355px) { #section-menu { position: static } .product-section { scroll-margin-top: 10px } }

/* Product photography and purchasing */
@media(min-width:761px) {
  .hero { grid-template-columns: minmax(0, 1.55fr) minmax(310px, 1fr) }
  .stage { height: auto; aspect-ratio: 1.42 }
  #enlarge { padding: 8px 16px 20px }
}
.purchase-actions { display:flex; flex-wrap:wrap; gap:8px }
.purchase-actions .primary { min-width:0 }
.outline-action { background:white; border:1px solid #a1a5a6; border-radius:4px; padding:11px 15px; font-weight:650 }
.offer-lines { display:flex; flex-wrap:wrap; gap:7px 14px; align-items:center; margin:10px 0 16px; font-size:14px }
.offer-lines span:not([aria-hidden])::before { content:"✓ "; font-weight:700 }
#installment-line { padding:5px 10px; background:#fff2a8; border-bottom:1px solid #ae8c00; font-weight:700 }
.detail-count { color:var(--muted); font-size:13px }
.detail-layout,.film-layout { display:grid; grid-template-columns:minmax(0,1.65fr) minmax(0,1fr); gap:clamp(16px,3vw,40px); align-items:center }
.detail-stage,.film-stage { position:relative; border:1px solid var(--line); min-width:0; background:white }
#detail-zoom,#play { position:relative; background:white; display:block; width:100%; padding:0 }
#detail-zoom { cursor:zoom-in; touch-action:pan-y }
.photo-crop { position:relative; display:block; width:100%; aspect-ratio:16/9; overflow:hidden; background:white }
.photo-crop img { position:absolute; max-width:none; left:50%; top:50%; width:var(--crop-width); height:auto; transform:translate(var(--crop-x),var(--crop-y)) }
.detail-stage .arrow { position:absolute; top:calc(50% - 19px) }
.detail-magnify { position:absolute; bottom:9px; right:10px; padding:3px 8px; background:white; border-radius:3px; font-size:12px }
.detail-info h3,.film-info h3 { font-size:clamp(21px,2.3vw,29px); line-height:1.15; margin:9px 0 }
#detail-tabs { display:flex; flex-wrap:wrap; gap:8px; margin-top:18px }
#detail-tabs button { width:62px; padding:2px; border:1px solid var(--line); background:white }
#detail-tabs button[aria-pressed=true] { border:2px solid var(--ink); border-bottom:3px solid var(--yellow) }
#equipment-items { margin:0; display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,225px),1fr)); gap:20px }
#equipment-items div { border-top:2px solid var(--ink); padding:12px 0 }
#equipment-items dt { font-weight:700 } #equipment-items dd { margin:5px 0 }
.film-stage,#play,#video-mount { aspect-ratio:16/9 }
#video-mount video,#video-mount iframe { display:block; width:100%; height:100%; border:0 }
.film-info .outline-action { margin-top:12px }
#video-title { font-size:clamp(21px,2.3vw,29px) }
#video-status,#request-note { font-size:14px; color:var(--muted); margin-block:10px }
#large-crop { flex:1; min-width:0; max-width: min(100%, 112vh) }
.lightbox-stage #large-detail { height:auto; width:var(--crop-width); object-fit:fill }
.editor { width:min(1248px,94%); margin:24px auto; color:var(--ink) }
.editor summary { cursor:pointer; font-size:14px; font-weight:650; color:var(--muted) }
#card-settings { max-width:760px; margin:12px 0; padding:15px; border:1px solid var(--line); background:#fafaf8 }
#card-settings fieldset { border:0; margin:15px 0; padding:0 }
#card-settings legend { font-weight:bold; margin-bottom:4px }
#card-settings label,#question-field { display:block; font-size:14px; margin:8px 0 }
#card-settings input:not([type=checkbox]),#card-settings select,#card-settings textarea,#question-text { display:block; font:inherit; color:inherit; width:100%; border:1px solid #9fa4a4; border-radius:4px; padding:8px; margin-top:3px; background:white }
#card-settings textarea:disabled { background:#eee }
#settings-status:not(:empty) { margin-top:8px }
#section-menu { flex-wrap:nowrap; overflow-x:auto; scrollbar-width:thin }
#section-menu a { white-space:nowrap }
@media(max-width:760px) {
  .detail-layout,.film-layout { grid-template-columns:1fr; gap:8px }
  .editor { width:calc(100% - 32px) }
  .purchase-actions button { flex:1; padding-inline:10px }
  #section-menu { gap:14px }
  .product-section { scroll-margin-top:52px }
  #card-settings .outline-action { margin-top:8px }
  .lightbox-stage { gap:2px } .lightbox-stage .arrow { width:28px; height:28px }
}

/* Photography with dimension lines */
.machine-diagram { display:block; width:100%; line-height:0 }
.machine-diagram svg { display:block; width:100%; height:auto; font-family:Arial,Helvetica,sans-serif; overflow:visible }
.measure-rule { stroke:#4c5559; stroke-width:1.6; stroke-linecap:round }
.measure-guide { fill:none; stroke:#81898a; stroke-width:1.1; stroke-dasharray:3 3 }
.machine-diagram text { paint-order:stroke; stroke:white; stroke-width:3; stroke-linejoin:round }
.measure-value.has-tolerance { font-size:17px }
.measure-key { fill:#40494c; font-size:16px; font-weight:500 }
.measure-value { fill:#111b1e; font-size:19px; font-weight:750 }
.spec-layout.with-measurements { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); align-items:start; gap:clamp(16px,2vw,30px) }
#measure-figure { margin:0; border:1px solid var(--line); border-radius:8px; overflow:hidden }
.measure-open { display:block; width:100%; background:white; padding:0; cursor:zoom-in; color:var(--ink); text-align:left }
.measure-link { display:flex; align-items:center; justify-content:space-between; padding:10px 15px; border-top:1px solid var(--line); font-size:14px; font-weight:650 }
.measure-link span { font-size:18px }
#measure-dialog { width:min(940px,96vw); max-width:none; max-height:92vh; padding:14px; overflow:auto }
#measure-dialog h2 { margin:0; font-size:19px } #measure-dialog .lightbox-head { margin-bottom:8px }
#measure-scroll { overflow:auto; max-height:66vh; border:1px solid var(--line); touch-action:pan-x pan-y pinch-zoom }
#zoom-diagram { width:min(100%,83vh); margin:auto }
#measure-scroll.is-zoomed #zoom-diagram { width:max(125%,740px); max-width:none }
#measure-scale { margin-top:10px }
@media(max-width:760px) {
 .spec-layout.with-measurements { grid-template-columns:1fr }
 .measure-link { padding:8px 12px }
}

.series-heading, .series-controls { display:flex; align-items:center; gap:10px }
.series-heading { justify-content:space-between; margin-bottom:14px }
.series-heading h2 { margin:0 }
.series-controls .arrow:disabled { opacity:.4; cursor:default }
#series-strip { display:grid; grid-auto-flow:column; grid-auto-columns:clamp(220px,32%,360px); gap:12px; overflow-x:auto; scroll-snap-type:x mandatory; padding:3px 3px 10px }
#series-strip button { background:transparent; padding:0; text-align:left; scroll-snap-align:start }
#series-strip img { display:block; width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:5px }
#series-strip span { display:block; margin-top:6px; font-size:14px }
#poster { object-fit:cover }
.film-info a { display:inline-block; margin-top:12px }
@media(max-width:600px) {
  #series-strip { grid-auto-columns:78% }
  .series-heading h2 { font-size:22px }
}
