/* Slide 03: four product groups, followed by all six models. */
.models {
  --models-opacity: 1;
  --models-lift: 0px;
  padding: 96px var(--edge) clamp(32px,4vw,64px);
  background: var(--paper);
  scroll-margin-top: 0;
}
.models__intro, .models__bottom { max-width: 1240px; margin: 0 auto; }
.comparison { width: 100%; margin: 0 auto; }
.has-flow .models__intro {
  opacity: var(--models-opacity);
  transform: translateY(var(--models-lift));
  transition: opacity .25s ease-out,transform .4s var(--ease);
}
.models__header { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-bottom: 30px; }
.models h2 { margin: 0; font-size: clamp(28px,2.4vw,42px); line-height: 1.1; }
.models__header > span { font-size: 10px; line-height: 1.5; letter-spacing: .06em; text-transform: uppercase; color: rgba(21,32,23,.6); }
.model-gallery { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)) minmax(0,1.6fr); gap: clamp(20px,3vw,48px); }
.model-group { margin: 0; min-width: 0; text-align: center; }
.model-group__visual { position: relative; width: 100%; height: clamp(180px,20vw,285px); background: var(--paper); isolation: isolate; }
.model-group__visual img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: darken; }
/* Match WE-700's visible tool bounds despite the extra canvas space in WE-750. */
.model-group__machine--750 { transform: translateY(-1%) scale(1.1); transform-origin: center; }
.model-group__visual .model-group__award { position: absolute; right: 8px; bottom: 8px; width: min(148px,72%); height: auto; mix-blend-mode: normal; }
.model-group--770 .model-group__visual img { object-fit: contain; mix-blend-mode: normal; }
.model-group figcaption { padding-top: 22px; }
/* Align the caption to a 1fr column while keeping WE-770's 1.6fr photo. */
.model-group--770 figcaption { width: 62.5%; }
.model-group p { margin: 0; font-size: clamp(12px,.9vw,14px); line-height: 1.6; color: rgba(21,32,23,.7); }
.model-group .model-group__name { display: flex; flex-direction: column; justify-content: center; min-height: 2.6em; margin: 0 0 9px; font-size: clamp(17px,1.2vw,22px); font-weight: 400; line-height: 1.3; letter-spacing: .01em; color: var(--ink); }
.model-group__name span { display: block; white-space: nowrap; }
/* The agreed red accent sits below the model and power-type captions. */
.model-group .model-group__type { min-height: 3em; line-height: 1.5; }
.model-group .model-group__benefit { display: flex; flex-direction: column; align-items: center; margin: 17px 0 0; font: 500 18px/1.28 Geologica,Gilroy,Arial,sans-serif; letter-spacing: .015em; text-transform: uppercase; color: #ac252a; }
.model-group__benefit::before { content: ""; display: block; flex: none; width: 26px; height: 3px; margin: 0 auto 12px; background: currentColor; }
.model-group__benefit span { display: block; white-space: nowrap; }
.comparison { padding-top: 80px; padding-bottom: 8px; scroll-margin-top: 0; }
.comparison__heading { display: flex; align-items: baseline; justify-content: flex-start; gap: clamp(24px,3vw,40px); max-width: 1240px; margin: 0 auto 10px; scroll-margin-top: 104px; }
.comparison__heading h3 { margin: 0; font: 200 clamp(30px,2.4vw,44px)/1.12 "TT Ramillas",Georgia,serif; letter-spacing: -.03em; }
.comparison__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 28px; }
.comparison__action { display: inline-flex; align-items: center; gap: 8px; padding: 8px 0; border: 0; background: none; color: var(--ink); font-size: 11px; line-height: 1.5; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; cursor: pointer; transition: opacity .25s ease; }
.comparison__action[hidden], .comparison__panel[hidden] { display: none; }
.comparison__action:hover { opacity: .6; }
.comparison__action:focus-visible { outline: 1px solid currentColor; outline-offset: 5px; }
.comparison__action svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.2; flex: none; }
.comparison__file-type { font-size: 8px; opacity: .6; }
.comparison__toggle-icon { transition: transform .25s ease; }
.comparison__action[aria-expanded="true"] .comparison__toggle-icon { transform: rotate(45deg); }
.comparison__panel:not([hidden]) { animation: comparison-in .3s ease-out; }
@keyframes comparison-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.comparison__hint { display: none; margin: 0 0 8px; font-size: 11px; line-height: 1.6; color: rgba(21,32,23,.65); }
/* At the vertical edges, continue scrolling the page without trapping the wheel. */
.comparison__scroll { overflow: auto; width: 100%; max-height: max(80px,calc(100svh - 200px)); overscroll-behavior-x: contain; overscroll-behavior-y: auto; scrollbar-gutter: stable; scrollbar-color: rgba(21,32,23,.3) var(--paper); }
.comparison__scroll:focus-visible { outline: 1px solid rgba(21,32,23,.5); outline-offset: 6px; }
.comparison table { width: 100%; min-width: 1220px; border-collapse: separate; border-spacing: 0; table-layout: fixed; font-size: 12px; line-height: 1.42; }
.comparison caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.comparison col:first-child { width: clamp(190px,15vw,220px); }
.comparison th, .comparison td { padding: 2px 8px; border-bottom: 1px solid rgba(21,32,23,.12); vertical-align: top; text-align: center; font-weight: 400; }
.comparison thead th { position: sticky; top: 0; z-index: 3; padding-top: 4px; padding-bottom: 4px; background: var(--paper); border-top: 1px solid rgba(21,32,23,.4); border-bottom-color: rgba(21,32,23,.4); font-weight: 500; letter-spacing: .025em; white-space: nowrap; }
.comparison thead th:first-child { left: 0; z-index: 4; }
.comparison th:first-child { text-align: left; }
.comparison tbody th[scope="row"], .comparison__section th { position: sticky; left: 0; z-index: 1; background: var(--paper); color: rgba(21,32,23,.8); }
.comparison th:first-child { box-shadow: 1px 0 0 rgba(21,32,23,.12); }
.comparison__section td { background: var(--paper); }
.comparison__section th, .comparison tbody th.comparison__section-label { padding-top: 5px; padding-bottom: 2px; background: var(--paper); font-size: 10px; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; color: rgba(21,32,23,.6); }
.comparison td[colspan="6"] { text-align: left; padding-left: 12px; }
.models__bottom { padding-top: 48px; }
@media (max-width: 1272px) {
  .comparison__hint { display: block; }
}
@media (max-height: 650px) {
  .comparison__hint { display: block; }
}
@media (max-width: 850px) {
  .comparison__heading { flex-direction: column; align-items: flex-start; gap: 10px; }
  .comparison__scroll { max-height: max(80px,calc(100svh - 260px)); }
  .comparison__actions { gap: 12px 24px; }
  .model-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 24px; row-gap: 40px; }
  .model-group--770 figcaption { width: auto; }
  .model-group__visual { max-width: 280px; margin: 0 auto; }
  .model-group__visual { height: clamp(120px,40vw,280px); }
  .model-group--770 .model-group__visual { max-width: 360px; }
}
@media (max-width: 760px) {
  .models { padding-top: 86px; }
  .models h2 { font-size: clamp(28px,6.6vw,38px); margin: 0; }
  .models__header { gap: 16px; margin-bottom: 24px; }
  .models__header > span { max-width: 82px; font-size: 9px; text-align: right; }
  .model-gallery { column-gap: 16px; }
  .model-group figcaption { padding-top: 16px; }
  .model-group .model-group__name { min-height: 2.6em; font-size: 17px; margin-bottom: 6px; }
  .model-group p { font-size: 12px; }
  .comparison { padding-top: 86px; }
  .comparison__heading { margin-bottom: 10px; scroll-margin-top: 94px; }
  .comparison col:first-child { width: 190px; }
}
@media (max-width: 480px) {
  .model-group .model-group__benefit { margin-top: 10px; font-size: 17px; }
  .model-group__benefit::before { margin-bottom: 10px; }
}
@media (max-width: 360px) {
  .model-group .model-group__benefit { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .comparison__panel:not([hidden]) { animation: none; }
  .comparison__toggle-icon { transition: none; }
  .has-flow .models__intro { opacity: 1; transform: none; transition: none; }
}
