.studio-page {
  --studio-paper: #f5f3ee;
  --studio-ink: #242623;
  --studio-muted: #595b56;
  --studio-line: #d8d8cf;
  --studio-type: "STIX Two Text", "Iowan Old Style", Georgia, serif;
}
.studio-page .detail {
  --pdp-gutter: clamp(22px, 3.65vw, 62px);
  --pdp-ink: var(--studio-ink);
  --pdp-sticky: 62px;
}
.studio-page .studio-hero, .studio-page .detail-inner, .studio-page .product-nav-inner {max-width: 1640px;}
.studio-hero {padding-bottom: clamp(24px, 3vw, 50px);}
.studio-hero .crumb {font-size: 13px;min-height: 52px;}
.studio-spread {display: grid;grid-template-columns: minmax(0,.76fr) minmax(0,1.24fr);align-items:stretch;min-width:0;}
.studio-heading {display:flex;flex-direction:column;align-items:flex-start;justify-content:center;background:var(--studio-paper);padding:clamp(30px,4.2vw,76px);}
.studio-heading .studio-kind {margin:0 0 16px;color:var(--studio-muted);font-size:clamp(16px,1.5vw,22px);font-weight:400;line-height:1.2;}
.studio-page .studio-heading h1 {margin:0;color:var(--studio-ink);font:normal clamp(45px,5.6vw,89px)/1.02 var(--studio-type);letter-spacing:-.055em;}
.studio-heading .studio-intro {border-top:1px solid #bcbdb3;padding-top:20px;margin:24px 0 28px;max-width:32ch;color:var(--studio-muted);font-size:clamp(16px,1.3vw,20px);line-height:1.55;}
.studio-enquire {display:inline-flex;align-items:center;gap:20px;border-bottom:1px solid var(--studio-ink);color:var(--studio-ink);padding:5px 0;font-weight:500;font-size:15px;line-height:1.4;}
.studio-enquire:hover {color:var(--pdp-red);border-color:currentColor;}
.studio-enquire span {font-size:20px;font-weight:400;}
.studio-gallery {width:100%;margin:0;min-width:0;display:flex;flex-direction:column;background:#e7e6df;}
.studio-gallery .open-photo {aspect-ratio:auto;height:clamp(334px,39vw,465px);background:#e7e6df;}
.studio-gallery #active-photo {padding:clamp(9px,1.1vw,20px);display:block;}
.studio-expand {position:absolute;bottom:13px;right:15px;display:grid;place-items:center;width:35px;height:35px;border:1px solid #c6c7bf;background:#f7f7f1;color:#32352d;border-radius:50%;font:22px/1 Arial,sans-serif;}
.studio-gallery .thumbs {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch;gap:0;margin:0;overflow:visible;}
.studio-gallery .thumb {background:#faf9f6;display:flex;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:56px;border:0;border-top:1px solid #d6d7ce;border-right:1px solid #e0e1d9;border-radius:0;padding:5px 7px;color:#545650;}
.studio-gallery .thumb:last-child {border-right:0;}
.studio-gallery .thumb[aria-pressed=true] {background:#eeede7;box-shadow:inset 0 -3px #6a3025;color:#252722;}
.studio-gallery .thumb img {width:39px;height:39px;aspect-ratio:1;object-fit:contain;background:transparent;}
.studio-gallery .thumb span {font-size:12px;line-height:1.2;text-align:left;}
.studio-page .product-nav {box-shadow:none;border-top:1px solid var(--studio-line);border-bottom:1px solid var(--studio-line);}
.studio-page .nav-model {color:var(--studio-ink);font-size:19px;}
.studio-page .detail-inner #features {padding-block:clamp(38px,5vw,76px);}
.studio-page .detail-inner h2 {font:normal clamp(31px,3.5vw,54px)/1.12 var(--studio-type);letter-spacing:-.035em;}
.studio-detail-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(18px,3vw,48px);}
.studio-detail-grid figure {min-width:0;margin:0;}
.studio-detail-photo {background:#efeee9;overflow:hidden;aspect-ratio:1.85;}
.studio-detail-grid figure:nth-child(2) .studio-detail-photo {background:#e6e5df;}
.studio-detail-photo img {display:block;width:100%;height:100%;object-fit:cover;mix-blend-mode:multiply;}
.studio-detail-grid figcaption {padding:15px 0 0;}
.studio-detail-grid h3 {margin:0 0 5px;color:var(--studio-ink);font-family:inherit;font-weight:500;font-size:clamp(19px,1.6vw,25px);line-height:1.25;}
.studio-detail-grid p {margin:0;max-width:54ch;line-height:1.55;font-size:15px;color:var(--studio-muted);}
.studio-page .detail-inner #contact-box {background:white;}
@media(max-width:1199px) { .studio-page .detail {--pdp-sticky:52px;} }
@media(max-width:991px) and (min-width:701px) {
  .studio-page .studio-heading {padding:25px;}
  .studio-gallery .thumb {flex-direction:column;}
}
@media(max-width:700px) {
  .studio-page .detail {--pdp-gutter:16px;}
  .studio-page .detail .crumb {min-height:34px;}
  .studio-spread {grid-template-columns:minmax(0,1fr);}
  .studio-heading {padding:20px 21px 18px;}
  .studio-heading .studio-kind {font-size:14px;margin:0 0 6px;}
  .studio-page .studio-heading h1 {font-size:clamp(39px,10.7vw,55px);}
  .studio-heading .studio-intro {border:0;padding:0;margin:9px 0 8px;font-size:15px;line-height:1.42;max-width:48ch;}
  .studio-enquire {gap:9px;font-size:13px;padding:4px 0;min-height:32px;}
  .studio-gallery .open-photo {height:clamp(256px,min(82vw,42svh),405px);}
  .studio-gallery #active-photo {padding:7px;}
  .studio-gallery .thumb {flex-direction:column;padding:5px 2px 7px;gap:2px;min-height:55px;}
  .studio-gallery .thumb img {width:29px;height:29px;}
  .studio-gallery .thumb span {font-size:10px;line-height:1.2;text-align:center;}
  .studio-expand {width:29px;height:29px;bottom:9px;right:9px;font-size:18px;}
  .studio-page .studio-hero {padding-bottom:20px;}
  .studio-page .detail-inner #features {padding-block:33px;}
  .studio-detail-grid {grid-template-columns:1fr;gap:24px;}
  .studio-detail-photo {aspect-ratio:1.75;}
  .studio-detail-grid figcaption {padding-top:10px;}
  .studio-detail-grid p {font-size:14px;}
}

/* Keep all four views in reach while inspecting the selected photograph. */
@media (min-width:992px) {
  .studio-gallery {display:grid;grid-template-columns:clamp(79px,6.5vw,110px) minmax(0,1fr);}
  .studio-gallery .open-photo {grid-column:2;grid-row:1;height:clamp(385px,min(39vw,59svh),620px);}
  .studio-gallery .thumbs {grid-column:1;grid-row:1;grid-template-columns:1fr;grid-template-rows:repeat(4,minmax(0,1fr));}
  .studio-gallery .thumb {flex-direction:column;gap:2px;padding:5px 4px;border:0;border-bottom:1px solid #d7d8ce;}
  .studio-gallery .thumb[aria-pressed=true] {box-shadow:inset 3px 0 #713b2d;}
  .studio-gallery .thumb img {width:clamp(36px,4vw,60px);height:clamp(36px,4vw,60px);}
  .studio-gallery .thumb span {text-align:center;font-size:11px;}
}
.studio-gallery .studio-expand {display:inline-flex;gap:6px;width:auto;height:auto;padding:5px 11px;border-radius:20px;font:500 13px/1.3 Roboto,Arial,sans-serif;}
.studio-expand b {font-size:16px;line-height:1;font-weight:400;}
body:has(.studio-viewer[open]) {overflow:hidden;}
#photo-viewer.studio-viewer {
  width:min(92vw,980px);max-height:96dvh;overflow:auto;
  background:#f6f5f0;color:#272b25;box-shadow:0 18px 70px #12141040;
}
#photo-viewer.studio-viewer::backdrop {background:rgb(15 18 16 / .8);}
.zoom-heading,.zoom-footer {display:flex;align-items:center;justify-content:space-between;gap:8px;padding:5px 15px;}
.zoom-heading strong {font-weight:500;font-size:16px;}
.zoom-stage {position:relative;isolation:isolate;overflow:hidden;width:100%;height:min(64dvh,620px);background:#e9e8e1;touch-action:none;user-select:none;-webkit-user-select:none;}
.zoom-stage.is-zoomed {cursor:grab;}.zoom-stage.is-zoomed:active {cursor:grabbing;}
#photo-viewer.studio-viewer #viewer-photo {display:block;width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply;pointer-events:none;transform-origin:center;background:transparent;}
.zoom-footer {border-top:1px solid #d0d1c6;}
.zoom-tools,.zoom-pages {display:flex;align-items:center;gap:3px;}
.zoom-readout,.zoom-pages .viewer-counter {font:500 13px/1.2 Roboto,Arial,sans-serif;font-variant-numeric:tabular-nums;text-align:center;min-width:4ch;color:#3d4239;}
#photo-viewer.studio-viewer button {
  position:static;transform:none;display:grid;place-items:center;flex:0 0 auto;
  min-width:44px;width:44px;height:44px;padding:0;border:0;border-radius:2px;background:transparent;
  color:#34392f;font:400 24px/1 Arial,sans-serif;cursor:pointer;
}
#photo-viewer.studio-viewer button::after {display:none;}
#photo-viewer.studio-viewer [data-zoom="reset"] {font-size:13px;width:auto;min-width:46px;border-left:1px solid #c7c9bf;}
#photo-viewer.studio-viewer button:is(:hover,:focus-visible):not(:disabled) {background:#e4e5dc;color:#20241e;}
#photo-viewer.studio-viewer button:focus-visible {outline-color:#86332d;}
#photo-viewer.studio-viewer button:disabled {opacity:.38;cursor:default;}
@media(max-width:600px){
  #photo-viewer.studio-viewer {width:calc(100% - 16px);}
  .zoom-stage {height:min(59dvh,110vw);}
  .zoom-heading,.zoom-footer {padding:4px 6px;}
  .zoom-heading strong {padding-left:5px;font-size:14px;}
  .zoom-tools,.zoom-pages {gap:0;}
}
@media(max-height:420px){.zoom-stage{height:calc(94dvh - 108px);}}
