.types-clean-section {
  overflow: hidden;
  padding: clamp(5rem, 10vw, 9rem) 0;
  background: #e5dfd4;
  color: #201f1b;
}

.types-clean { text-align: center; }
.types-clean-heading { width: min(100%, 780px); margin: 0 auto clamp(2.5rem, 5vw, 4rem); }
.types-clean-heading h2 { max-width: none; margin: .7rem auto 1.25rem; font: clamp(3.8rem, 6.3vw, 7rem)/.92 "Instrument Serif", serif; letter-spacing: -.05em; }
.types-clean-heading > p:last-child { max-width: 440px; margin: 0 auto; color: #625e56; font-size: 1rem; line-height: 1.65; }

.types-clean-carousel { position:relative; width:min(100%,1080px); margin:0 auto; overflow:visible; }
.types-clean-window { overflow: visible; padding-left: 8%; background: transparent; touch-action: pan-y; cursor: grab; }
.types-clean-window:active { cursor: grabbing; }
.types-clean-track { display: grid; grid-auto-flow: column; grid-auto-columns: 84%; gap: 2%; width: 100%; padding-left: 0; transition: transform .7s cubic-bezier(.76, 0, .24, 1); }
.types-clean-track figure { position: relative; width: 100%; margin: 0; background: #f7f3eb; box-shadow: 0 22px 44px rgba(57, 51, 41, .14); }
.types-clean-track img { display: block; width: 100%; height: min(54vw, 610px); object-fit: contain; }
.types-clean-carousel .types-clean-track figure { cursor: zoom-in; }
.types-clean-track figure span { position: absolute; z-index: 1; top: 1rem; left: 1rem; padding: .65rem .75rem; background: #292821; color: #f7f3eb; font: 500 .68rem/1 "DM Mono", monospace; letter-spacing: .12em; }

.types-clean-controls { display:flex; width:100%; align-items:center; justify-content:center; gap:1.1rem; margin-top:1.7rem; }.types-clean-carousel > .types-clean-controls { position:absolute; z-index:3; left:50%; bottom:0; width:auto; gap:.65rem; margin:0; transform:translate(-50%,50%); }
.types-clean-controls button { display: grid; place-items: center; width: 4.5rem; height: 4.5rem; border: 1px solid rgba(41, 39, 33, .25); border-radius: 50%; background: #f8f5ef; color: #25241f; box-shadow: 0 10px 24px rgba(62, 56, 46, .14); font-size: 1.45rem; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.types-clean-controls button:hover { transform: scale(1.06); background: #fffdfa; }
.types-clean-controls span { min-width: 4rem; font: 500 .72rem/1 "DM Mono", monospace; letter-spacing: .1em; }

.types-clean-renders { width: min(100%, 1080px); margin: clamp(3.5rem, 7vw, 6rem) auto 0; padding-top: 2rem; border-top: 1px solid rgba(41, 39, 33, .2); }
.types-clean-renders-head { display: flex; align-items: baseline; justify-content: space-between; text-align: left; }
.types-clean-renders-head p:last-child { margin: 0; font: 500 .75rem/1 "DM Mono", monospace; letter-spacing: .12em; }
.types-clean-carousel > .types-clean-controls .types-clean-toggle { display:flex; align-items:center; justify-content:center; flex:0 0 auto; width:9.6rem; height:4.5rem; margin:0; padding:.35rem 1.1rem; border:1px solid rgba(245,241,233,.2); border-radius:999px; background:rgba(25,24,22,.84); color:#f5f1e9; box-shadow:0 14px 38px rgba(0,0,0,.24); backdrop-filter:blur(18px) saturate(130%); -webkit-backdrop-filter:blur(18px) saturate(130%); font:500 .52rem/1 "DM Mono", monospace; letter-spacing:.08em; text-transform:uppercase; cursor:pointer; transition:transform .2s ease,background .2s ease,color .2s ease,box-shadow .2s ease; }.types-clean-carousel > .types-clean-controls .types-clean-toggle small{margin-left:.62rem;font:500 .92rem/1 "DM Mono",monospace;letter-spacing:.04em}.types-clean-carousel > .types-clean-controls .types-clean-toggle:hover{transform:scale(1.025);background:rgba(61,58,52,.9);color:#fffdf8;box-shadow:0 16px 32px rgba(0,0,0,.28)}
.types-clean-render-panel { margin-top: 1.8rem; }
.types-clean-render-panel[hidden] { display: none; }
.types-clean-render-window { overflow: hidden; padding-left: 0; box-shadow: 0 18px 36px rgba(57, 51, 41, .12); }
.types-clean-render-window .types-clean-track { grid-auto-columns: 100%; gap: 0; padding-left: 0; }
.types-clean-render-window .types-clean-track figure { width: 100%; box-shadow: none; }
.types-clean-render-window .types-clean-track img { height: min(54vw, 610px); }

.types-lightbox { position:fixed; z-index:30; inset:0; display:grid; place-items:center; padding:clamp(1rem,4vw,4rem); background:rgba(13,12,10,.9); opacity:0; pointer-events:none; transition:opacity .25s ease; }
.types-lightbox.is-open { opacity:1; pointer-events:auto; }
.types-lightbox-panel { position:relative; width:min(100%,1500px); max-height:92vh; }
.types-lightbox img { display:block; width:100%; max-height:92vh; object-fit:contain; }
.types-lightbox button { position:absolute; z-index:1; top:.7rem; right:.7rem; display:grid; place-items:center; width:44px; height:44px; border:0; border-radius:50%; background:rgba(30,29,26,.9); color:#f7f3eb; cursor:pointer; font:2rem/1 "DM Sans", sans-serif; }

@media (max-width: 720px) {
  .types-clean-section { padding: 4.5rem 0; }
  .types-clean { width: calc(100% - 2rem); }
  .types-clean-heading h2 { font-size: 3.9rem; }
  .types-clean-heading > p:last-child { font-size: .95rem; }
  .types-clean-carousel, .types-clean-renders { width: 100%; }
  .types-clean-window { overflow: hidden; padding-left: 0; }
  .types-clean-track { grid-auto-columns: 100%; gap: 0; }
  .types-clean-track img, .types-clean-render-window .types-clean-track img { height: 72vw; min-height: 270px; }
  .types-clean-carousel > .types-clean-controls { position:static; width:100%; gap:.65rem; margin-top:1rem; transform:none; }
  .types-clean-controls button { width: 4rem; height: 4rem; }
  .types-clean-renders-head { gap: 1rem; }
  .types-clean-carousel > .types-clean-controls .types-clean-toggle { width:8.4rem; height:4rem; margin:0; }
}

@media (prefers-reduced-motion: reduce) {
  .types-clean-track, .types-clean-controls button, .types-clean-toggle { transition: none; }
}
