[data-category="data-center"] { --category: #a31b32; }
[data-category="standing"] { --category: #225488; }
[data-category="wall-mount"] { --category: #176456; }
[data-category="outdoor"] { --category: #865115; }
[data-category="specialist"] { --category: #6c3d8c; }
[data-category="accessories"] { --category: #3b4c58; }
:root {
  --editorial-gap: 24px;
  --editorial-inset: clamp(18px, 2.4vw, 32px);
}
@media (max-width: 1360px) { :root { --editorial-gap: 20px; } }
@media (max-width: 700px) { :root { --editorial-gap: 16px; } }
.site-icon {
  display: inline-block;
  inline-size: 20px;
  block-size: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
}
.site-icon.with-label { margin-inline-end: .45em; inline-size: 18px; block-size: 18px; }
#theme-toggle {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  border-radius: 10px;
  color: var(--ink);
}
#theme-toggle:hover, #menu-toggle:hover { background: var(--surface); }
#menu-toggle { border-radius: 10px; }
:is(.theme-sun, .nav-close-icon),
body[data-theme=dark] .theme-moon,
#menu-toggle[aria-expanded=true] .nav-menu-icon { display: none; }
body[data-theme=dark] .theme-sun, #menu-toggle[aria-expanded=true] .nav-close-icon { display: inline-block; }
.dialog-close .site-icon, .view-controls .site-icon { inline-size: 19px; block-size: 19px; }

/* The original full-width camera framing keeps the zoom centered. */
@media (min-height: 651px) and (prefers-reduced-motion: no-preference) {
  body:not(.cinema-static) .cinema-hero .hero-copy {
    inset: 32px 20px auto;
    margin: 0 auto;
    width: auto;
    max-width: 1120px;
    text-align: center;
  }
  body:not(.cinema-static) .cinema-hero #hero-stage {
    inset: 0;
    width: 100%;
  }
}

.cinema-hero #hero-stage > #hero-image {
  position: absolute;
  top: 0;
  left: 50%;
  width: auto;
  height: 100%;
  max-width: none;
  padding: 0;
  transform: translateX(-50%);
}
.cinema-hero .hero-sub, .cinema-hero .eyebrow { max-width: none; }
.cinema-hero .hero-sub { margin-inline: auto; }

.homepage #details {
  --detail-block-gap: clamp(30px, 6svh, 72px);
  scroll-margin-block-start: 60px;
  background: transparent;
}

.homepage #details .detail-sticky {
  background: #111113;
}

.homepage #details.model-ready .detail-sticky {
  background:
    radial-gradient(ellipse 47% 66% at 68% 52%,
      #511c29 0%, #39171f 28%, #231419 49%, transparent 79%),
    #111113;
}

@media (min-height: 651px) and (prefers-reduced-motion: no-preference) {
  .homepage #details .detail-sticky {
    inset-block-start: calc(60px + var(--detail-block-gap));
    block-size: calc(100svh - 60px - 2 * var(--detail-block-gap));
    min-block-size: 0;
  }
}

@media (max-width: 760px) {
  .homepage #details #anatomy-stage { inset: 37% -12% 1%; }
  .homepage #details.model-ready .detail-sticky {
    background:
      radial-gradient(ellipse 65% 55% at 50% 68%,
        #511c29 0%, #39171f 28%, #231419 49%, transparent 79%),
      #111113;
  }
}

.hero-copy .hero-proof { justify-content: center; margin-top: 19px; }
.cinema-hero h1 br { display: none; }
.cinema-hero h1 span { display: inline; }
@media (max-width: 800px) {
  .cinema-hero h1 br { display: initial; }
}

.range-section.section-space { height: auto; padding: 0; }
.range-section[data-rail] { height: var(--range-height); }
.range-pin {
  position: relative;
  top: auto;
  height: auto;
  min-height: 0;
  padding-block: clamp(28px, 5vh, 65px) clamp(28px, 4vh, 48px);
  overflow: clip;
}
.range-section[data-rail] .range-pin { position: sticky; top: 60px; }
.range-grid { gap: 22px; width: auto; overflow-x: auto; scroll-snap-type: x mandatory; will-change: auto; }
.range-section[data-rail] .range-grid { width: max-content; overflow: visible; scroll-snap-type: none; will-change: transform; }
.range-card { width: min(390px, 52vw);
  min-height: 0;
  color: var(--ink);
  background: var(--bg);
  padding: 21px !important;
  border: 1px solid var(--line);
  border-radius: 10px;
  scroll-snap-align: start; }
.range-card p:not(.eyebrow) { color: var(--muted); font-size: 15px; }
.range-card .card-link { color: var(--ink); margin-top: auto; padding-top: 17px; }
.range-photo { display: grid;
  place-items: center;
  height: clamp(155px, 22vh, 226px);
  background: var(--studio-neutral);
  overflow: hidden;
  border-radius: 5px;
  margin-bottom: 21px; }
.range-card .range-photo img { width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  margin: 0;
  mix-blend-mode: normal;
  background: transparent; }
.range-card h3 { margin: 0 0 8px; font-size: 26px; color: var(--category-ink); }
.range-foot { display: none; }
#range + .about-section { padding-top: clamp(56px, 7vw, 90px); }
@media (max-width: 800px) {
  .range-section { height: auto; }
  .range-pin { padding: 40px 24px; }
  .range-grid {
    display: flex;
    width: auto;
    overflow: auto;
    scroll-snap-type: x mandatory;
    transform: none !important;
    padding-bottom: 14px;
  }
  .range-card { width: min(330px, 81vw); scroll-snap-align: start; }
  .range-photo { height: 175px; }
}
@media (min-width: 801px) and (max-height: 760px), (prefers-reduced-motion: reduce) {
  .range-grid { display: grid; width: auto; grid-template-columns: repeat(auto-fit, minmax(min(265px, 100%), 1fr)); transform: none !important; }
  .range-card { width: auto; }
}

.category-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 25px; }
.category-tile.filter-chip { text-align: left;
  padding: 21px;
  border: 1px solid var(--line);
  border-bottom: 2px solid var(--category);
  min-height: 123px;
  color: var(--ink);
  background: var(--bg); }
.category-tile.filter-chip strong { display: block; font-size: 18px; margin-bottom: 8px; color: var(--category-ink); }
.category-tile.filter-chip span { display: block; font-size: 14px; line-height: 1.45; }
.category-tile.filter-chip[aria-pressed=true] { background: var(--surface);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--category);
  border-color: var(--category); }
.category-filter-controls { display: flex; margin-bottom: 12px; }
.category-filter-controls .filter-chip { min-height: 44px; }
.search-control, .select-control { display: block; position: relative; }
.search-control input { width: 100%; padding-inline-start: 42px; }
.search-control .site-icon, .select-control .site-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}
.search-control .site-icon { inset-inline-start: 14px; color: var(--muted); }
.explorer-panel .select-control { margin-bottom: 0; }
.explorer-panel .select-control select { appearance: none; padding-inline-end: 40px; }
.select-control .site-icon { inset-inline-end: 14px; }
#product-detail .breadcrumbs { padding-top: 16px; }
@media (max-width: 760px) { #product-detail .breadcrumbs { padding-top: 12px; } }
#product-detail[aria-busy=true] { min-block-size: calc(100svh - 60px); }
.icon-reference h3 { margin-top: 28px; }
.icon-reference p { color: var(--muted); margin-top: 10px; }
.icon-reference ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr));
  gap: 8px;
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
}
.icon-reference li {
  min-height: 80px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
}
.icon-reference .site-icon { width: 22px; height: 22px; }
.product-card .product-photo { height: auto; aspect-ratio: 1; background: var(--studio-neutral); }
.product-card .product-photo img { width: 100%; height: 100%; padding: 0; object-fit: contain; mix-blend-mode: normal; }
.product-card .category-caption { display: inline-block; color: var(--category-ink); padding: 0; }
.product-summary .category-caption { color: #fff; background: var(--category); display: inline-block; padding: 6px 10px; border-radius: 3px; }
body[data-theme=dark] .product-card .product-photo { background: var(--studio-neutral); }

.image-frame {
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  background: #181b1e;
  align-self: start;
  min-width: 0;
}
.image-frame img { display: block; width: 100%; height: auto; object-fit: contain; }
.image-frame[data-ratio="2:1"] { aspect-ratio: 2 / 1; }
.image-frame[data-ratio="2:3"] { aspect-ratio: 2 / 3; }
.image-frame[data-ratio="1:1"] { aspect-ratio: 1; }
.image-frame[data-ratio="3:2"] { aspect-ratio: 3 / 2; }
.image-frame img { height: 100%; }
.visual-credit { margin: 13px 0 30px; }
.factory-hero { margin-bottom: 56px; }
.fabrication-grid, .finish-grid { display: grid; gap: var(--editorial-gap); margin-top: var(--editorial-gap); align-items: start; }
.fabrication-grid { grid-template-columns: 1fr 1.3fr; align-items: stretch; }
.fabrication-aside { display: flex; flex-direction: column; gap: var(--editorial-gap); }
.finish-grid { grid-template-columns: 1.5fr 1fr; }
.fabrication-grid h3, .finish-grid h3 { margin-top: 19px; margin-bottom: 9px; font-size: 25px; }
.fabrication-grid p, .finish-grid p { color: var(--muted); max-width: 64ch; }
.ink-panel { background: #1d1d1f; color: #fff; padding: clamp(25px, 4vw, 48px); border-radius: 6px; }
.ink-panel h2 { font-size: clamp(30px, 3.5vw, 47px); }
.ink-panel h3 { margin-top: 0; }
.ink-panel p { margin-top: 16px; color: #d2d2d7; }
.ink-panel .text-link { display: inline-block; margin-top: 24px; color: #fff; }
.cutting-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--editorial-gap);
  padding: var(--editorial-inset);
}
.cutting-panel .cutting-photo { width: 100%; aspect-ratio: 1672 / 941; }
.material-panel { display: grid; grid-template-columns: 1fr 1fr; align-items: center; background: var(--surface); border-radius: 6px; overflow: hidden; }
.material-panel .image-frame { border-radius: 0; }
.material-panel > div { padding: 18px; }
.material-panel h3 { margin-top: 0; }
.engineering-lead { display: grid; grid-template-columns: 1.5fr 1fr; gap: var(--editorial-gap); align-items: stretch; }
.engineering-lead .ink-panel { display: flex; flex-direction: column; justify-content: center; align-items: start; }
.page-wrap :is(.editorial-grid, .application-grid, .technical-notes, .mini-timeline) { gap: var(--editorial-gap); }
.company-story .editorial-grid { grid-template-columns: 1.22fr .78fr; }
.company-story .image-frame { max-width: 440px; justify-self: end; width: 100%; }
.resources-lead { display: grid; grid-template-columns: 1.8fr 1fr; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; align-items: stretch; }
.resources-lead .resource-card { margin: 0; border: 0; border-inline-start: 3px solid var(--red); border-radius: 0; gap: 18px; grid-template-columns: 1fr; align-content: center; padding: clamp(24px, 3.5vw, 48px); }
.resources-lead .resource-card .button { justify-self: start; }
.resources-lead .image-frame { border-radius: 0; align-self: stretch; background: var(--studio-neutral); }

@media (max-width: 940px) {
  .engineering-lead { grid-template-columns: 1fr; }
}
@media (801px <= width <= 980px) {
  .fabrication-grid { grid-template-columns: 1fr 1.12fr; }
}
@media (max-width: 800px) {
  .resources-lead { grid-template-columns: 1fr; }
  .category-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .company-story .editorial-grid { grid-template-columns: 1fr; }
  .fabrication-grid, .finish-grid { grid-template-columns: 1fr; }
  .company-story .image-frame { justify-self: start; max-width: 340px; }
}
@media (max-width: 580px) {
  .category-tile.filter-chip { min-height: 108px; padding: 14px; }
  .category-tile.filter-chip strong { font-size: 15px; }
  .category-tile.filter-chip span { font-size: 13px; }
}

/* Display, reading and utility sizes are deliberately distinct. */
:root {
  --text-caption: .75rem;
  --text-small: .875rem;
  --text-body: 1.0625rem;
  --text-lead: 1.3125rem;
  --text-subhead: 1.75rem;
  --text-section: clamp(2rem, 4vw, 3rem);
  --text-display: clamp(2.6rem, 6vw, 5rem);
}
body { font-size: var(--text-body); }
.global-nav nav a, .edition-label, .footer-bottom, .footer-top a:not(.brand), .footer-top p,
.image-note, figcaption, .resource-meta, .studio-caption, .hero-copy .hero-proof {
  font-size: var(--text-caption);
}
.eyebrow, .category-caption, .table-footnote, .form-note, .spec-table th, .spec-table td,
.product-tabs a, .product-links a, .product-links button, .studio-thumbs button,
.button, .text-link, .filter-chip, .card-action, .range-card .card-link { font-size: var(--text-small); }
.page-intro h1, .cinema-hero h1 { font-size: var(--text-display); line-height: 1.055; }
.page-intro .lead, .cinema-hero .hero-sub, .intro-section .lead { font-size: var(--text-lead); }
.page-section h2, .detail-block h2, .section-heading h2, .section-head-row h2 { font-size: var(--text-section); }
.product-summary h1 { font-size: clamp(2.25rem, 4.6vw, 3.65rem); }
.product-summary .lead, .product-card .product-description, .technical-notes p, .finish-grid p { font-size: var(--text-body); }
.product-card h2, .range-card h3, .fabrication-grid h3, .finish-grid h3 { font-size: var(--text-subhead); }
.filter-bar .search-row { grid-template-columns: minmax(200px, 1.5fr) repeat(3, minmax(135px, 1fr)); }
@media (max-width: 910px) {
  .filter-bar .search-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search-row > .field:first-child { grid-column: auto; }
}
@media (max-width: 490px) {
  .filter-bar .search-row { grid-template-columns: 1fr; }
  .page-intro .lead, .cinema-hero .hero-sub { font-size: var(--text-body); }
}

.company-page {
  background: radial-gradient(ellipse 75% 460px at 54% 2%, #f8e9ed, transparent 100%), var(--bg);
}
.company-page[data-theme=dark] {
  background: radial-gradient(ellipse 75% 460px at 54% 2%, #331b22, transparent 100%), var(--bg);
}

.location-grid { display: grid; grid-template-columns: .75fr 1.4fr; gap: clamp(24px, 5vw, 66px); align-items: stretch; margin-top: 24px; }
.location-details { padding: 26px; background: var(--surface); border-radius: 8px; }
.location-details h3, .support-grid h3 { font-size: 22px; margin-bottom: 12px; }
.location-details h3:not(:first-child) { margin-top: 26px; }
.location-details address { font-style: normal; line-height: 1.65; }
.location-details .button, .location-details .text-link { display: inline-flex; margin-top: 15px; }
.office-map { width: 100%; height: 100%; min-height: 350px; border: 0; border-radius: 8px; background: var(--surface); }
.support-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; margin-top: 25px; }
.support-grid article { padding: 27px; background: var(--surface); border-radius: 8px; }
.support-grid .text-link { display: inline-block; margin-top: 17px; }
.resource-support { margin-top: 25px; }
@media (max-width: 700px) {
  .location-grid, .support-grid { grid-template-columns: 1fr; }
  .office-map { height: 340px; }
}

.product-detail-visual.studio-gallery {
  display: block;
  position: static;
  padding: 0;
  min-height: 0;
  background: transparent;
}
.studio-view { position: relative; display: block; width: 100%; padding: 0; }
.studio-frame {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  background: var(--studio-matte, var(--studio-neutral));
  overflow: hidden;
}
.studio-image { border-radius: 8px; }
.studio-gallery .studio-frame img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  mix-blend-mode: normal;
}
.studio-gallery .studio-frame[data-shape="portrait"] img {
  width: auto;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.studio-gallery .studio-frame[data-shape="landscape"] img {
  height: auto;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 7%, #000 93%, transparent);
}
.studio-zoom-label {
  position: absolute;
  inset: auto 13px 13px auto;
  background: #23282b;
  color: #fff;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: var(--text-caption);
}
.studio-zoom-label .site-icon { inline-size: 16px; block-size: 16px; }
.studio-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-block: 8px 12px; }
.studio-caption { margin: 0; }
.studio-arrows { display: flex; gap: 6px; }
.studio-arrows[hidden] { display: none; }
.studio-arrows button { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); }
.studio-arrows button:hover { background: var(--surface); }
.studio-thumbs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 90px), 1fr)); gap: 8px; }
.studio-thumbs button { min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 6px; padding: 6px; }
.studio-thumbs button[aria-pressed=true] { border-color: var(--category); box-shadow: inset 0 0 0 1px var(--category); }
.studio-thumbs .studio-frame { width: 100%; border-radius: 3px; }
.studio-thumb-label { align-self: center; padding: 6px 0 1px; font-size: var(--text-caption); text-wrap: balance; }
.studio-dialog {
  width: min(950px, calc(100% - 24px));
  max-height: 92svh;
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
}
.studio-dialog::backdrop { background: #101114d9; }
.studio-dialog h2 { font-size: clamp(21px, 3vw, 30px); }
.studio-dialog figure { margin: 12px 0; }
.studio-gallery .enlarged-photo img { width: 100%; height: 60svh; max-height: none; object-fit: contain; background: var(--studio-neutral); }
.studio-dialog-controls, .drawing-links { display: flex; flex-wrap: wrap; gap: 10px; }
.drawing-links { margin-top: 18px; }
.installation-note {
  margin-block-start: var(--editorial-gap);
  padding: var(--editorial-inset);
  background: var(--surface);
  border-radius: 8px;
}
.installation-note h3 { margin-bottom: 14px; }
.installation-note p { max-width: 65ch; color: var(--muted); }
.installation-note p + p { margin-top: 10px; }
.installation-note .text-link { display: inline-block; margin-top: 15px; }

.footprint-comparison { margin-block: var(--editorial-gap) 0; }
.footprint-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--editorial-gap);
  padding: 0;
  list-style: none;
}
.footprint-grid li {
  display: grid;
  place-items: center;
  gap: 14px;
  padding: var(--editorial-inset);
  border-radius: 8px;
  background: var(--surface);
}
.footprint-diagram {
  inline-size: min(108px, 100%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.footprint-diagram span {
  display: block;
  inline-size: var(--plan-width);
  block-size: var(--plan-depth);
  border: 1px solid var(--muted);
  border-block-end: 3px solid var(--red);
  border-radius: 3px;
  background: var(--bg);
  box-shadow: inset 0 0 0 4px var(--surface);
}
.footprint-grid strong { font-size: var(--text-small); font-variant-numeric: tabular-nums; text-align: center; }
.footprint-comparison figcaption { margin-top: 12px; color: var(--muted); }
.document-checklist {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--editorial-gap);
  margin-block: var(--editorial-gap);
}
.document-checklist > div {
  padding: var(--editorial-inset);
  background: var(--surface);
  border-radius: 8px;
  border-block-start: 2px solid var(--red);
}
.document-checklist dt { font-weight: 740; margin-bottom: 10px; }
.document-checklist dd { margin: 0; color: var(--muted); line-height: 1.65; }
@media (max-width: 700px) {
  .footprint-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .document-checklist { grid-template-columns: 1fr; }
}

@media print {
  .studio-thumbs, .studio-zoom-label, .detail-explorer { display: none !important; }
}

.workflow { position: relative; margin-top: 28px; }
.workflow-window { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 16px; }
.workflow-cards { display: flex; gap: var(--editorial-gap); width: max-content; margin: 0; padding: 0; list-style: none; }
.workflow-cards li {
  width: clamp(235px, 30vw, 345px);
  background: #191c21;
  color: #f7f7f8;
  padding: 26px;
  min-height: 172px;
  border-radius: 8px;
  scroll-snap-align: start;
}
.workflow-cards h3 { font-size: 24px; margin-bottom: 12px; color: var(--step-ink, #fff); }
.workflow-cards p { color: #d2d7da; font-size: var(--text-small); }
.workflow-cards li:nth-child(1) { --step-ink: #a2c1ef; }
.workflow-cards li:nth-child(2) { --step-ink: #c7b3ed; }
.workflow-cards li:nth-child(3) { --step-ink: #eac28e; }
.workflow-cards li:nth-child(4) { --step-ink: #9fd7c7; }
.workflow-cards li:nth-child(5) { --step-ink: #e0afb4; }
.workflow-cards li:nth-child(6) { --step-ink: #b8c1e4; }
.workflow-cards li:nth-child(7) { --step-ink: #cbd5df; }
.workflow-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.workflow[data-pinned] .workflow-frame { position: sticky; top: min(23vh, 165px); }
.workflow[data-pinned] .workflow-window { overflow: hidden; padding-bottom: 4px; }
.workflow[data-pinned] .workflow-cards { transform: translateX(var(--workflow-shift, 0px)); will-change: transform; }
@media (prefers-reduced-motion: reduce) {
  .detail-dot span { transition: none; }
}
@media (max-width: 800px) {
  .global-nav nav a { font-size: var(--text-body); padding: 4px 0; }
}

:root { --studio-neutral: #e6e6e6; }

.viewer-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: auto;
  min-height: 0;
  padding-bottom: 22px;
  background: radial-gradient(ellipse at 48% 35%, #f5f5f5, #dedede 86%);
}
.explore-section { background: #f0f0f2; }
.explorer { border: 1px solid #d0d0d3; }
.explorer-panel { background: #fff; border-inline-start: 1px solid #d0d0d3; }
body[data-theme="dark"] .explore-section { background: #141416; }
body[data-theme="dark"] .explorer { border-color: #454548; }
body[data-theme="dark"] .viewer-wrap { background: radial-gradient(ellipse at 48% 35%, #e9e9e9, #c8c8c8 86%); }
body[data-theme="dark"] .viewer-wrap .viewer-hint { color: #424244; }
body[data-theme="dark"] .explorer-panel { background: #262628; border-color: #454548; }
.dimension-overlay { font-size: clamp(10px, 1vw, 14px); }
.dimension-line { position: absolute; inset: 0; border: 1px solid var(--red); }
.dimension-height .dimension-line { border-left: 0; transform: scaleY(var(--height-line, 0)); transform-origin: top; }
.dimension-width .dimension-line { border-top: 0; transform: scaleX(var(--width-line, 0)); transform-origin: left; }
.dimension-overlay span { opacity: var(--dimension-label, 0); }
.dimension-height span { top: 50%; transform: translateY(-50%); }
.viewer-wrap #rack-viewer { width: 100%; height: clamp(410px, 46vw, 500px); min-height: 0; }
.viewer-wrap .viewer-hint {
  position: static;
  margin: 12px 0 8px;
  padding: 0 16px;
  background: transparent;
}
.viewer-wrap .view-controls { position: static; transform: none; }
.about-year strong { font-variant-numeric: tabular-nums; }
.about-year [data-count-from] { font: inherit; }
.stats strong { position: relative; width: max-content; flex: none; white-space: nowrap; }
.stats strong b { display: inline-block; font: inherit; }
.stats strong b span { display: inline-block; font: inherit; }
.stats strong b .metric-unit { font-size: 30px; letter-spacing: -.03em; }
.metric-load b .metric-unit { margin-inline-start: .16em; }
@media (max-width: 760px) {
  .explorer-panel { border-inline-start: 0; border-block-start: 1px solid #d0d0d3; }
  .viewer-wrap #rack-viewer { height: clamp(270px, 77vw, 350px); }
  .viewer-wrap .view-controls {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr)) minmax(0, 1.1fr);
    gap: 0;
    width: calc(100% - 14px);
    max-width: 344px;
    padding: 4px;
  }
  .viewer-wrap .view-controls button { min-width: 0; padding-inline: 2px; }
}
@media (max-width: 360px) {
  .viewer-wrap .view-controls { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .viewer-wrap .view-controls [data-view=reset] { grid-column: 1 / -1; }
}
[data-category] { --category-ink: var(--category, var(--ink)); }
body[data-theme=dark] [data-category] {
  --category-ink: color-mix(in srgb, var(--category, #9fa5aa) 45%, #fff);
}
body[data-theme=dark] .range-card .range-photo img { background: transparent; }
.product-summary .category-caption { color: var(--category-ink); background: none; padding-inline: 0; }
.category-links a { color: var(--category-ink); border-color: var(--line); }

.manufacturing-intro {
  display: grid;
  grid-template-columns: 2fr 1fr;
  align-items: end;
  gap: clamp(20px, 4vw, 56px);
  margin-bottom: 28px;
}
.manufacturing-intro h2 { font-size: var(--text-section); }
.manufacturing-intro .eyebrow { margin-bottom: 16px; }
.manufacturing-intro p:not(.eyebrow), .access-copy p:not(.eyebrow) { color: var(--muted); }
.manufacturing-intro .text-link, .access-copy .text-link { display: inline-block; margin-top: 15px; }
.manufacturing-pair { display: grid; grid-template-columns: 2fr 1fr; gap: var(--editorial-gap); }
.manufacturing-pair figure, .access-study figure { min-width: 0; margin: 0; }
.manufacturing-pair figcaption { margin-top: 9px; color: var(--ink); font-weight: 650; }
.manufacturing-pair + .image-note { margin-top: 16px; }
.feature-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px var(--editorial-gap); margin-top: 30px; }
.feature-actions .site-icon { margin-inline-start: 3px; inline-size: 16px; block-size: 16px; }
.access-study { display: grid; grid-template-columns: .82fr 1.2fr; align-items: center; gap: var(--editorial-gap); }
.access-copy h2 { margin: 14px 0 16px; }
@media (max-width: 660px) {
  .manufacturing-intro, .manufacturing-pair, .access-study { grid-template-columns: 1fr; }
  .manufacturing-pair figure:nth-child(2) { max-width: 370px; }
}

@media (prefers-reduced-motion: no-preference) {
  .content-pending { opacity: 0; }
  @keyframes enter-content {
    from { opacity: 0; transform: translate3d(0, 30px, 0); }
    to { opacity: 1; transform: none; }
  }
  @keyframes enter-brand-ps {
    from { opacity: 0; transform: translateY(22px); clip-path: inset(100% 0 0); }
    to { opacity: 1; transform: none; clip-path: inset(0); }
  }
  @keyframes enter-brand-hpa {
    from { opacity: 0; transform: translateX(24px) scale(.95); }
    to { opacity: 1; transform: none; }
  }
  @keyframes unfold-pager {
    0% { opacity: 0; clip-path: inset(0 calc(50% - 22px) round 22px); transform: translateY(18px) scale(.78); }
    34% { opacity: 1; clip-path: inset(0 calc(50% - 22px) round 22px); transform: none; }
    93%, 100% { opacity: 1; clip-path: inset(0 round 24px); transform: none; }
  }
  @keyframes pager-seed {
    0% { opacity: 0; scale: .35; }
    30% { opacity: 1; scale: 1; }
    54%, 100% { opacity: 0; scale: .65; }
  }
  @keyframes seat-indicator {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: none; }
  }
  .content-entered { animation: enter-content .82s cubic-bezier(.24,.64,.26,1) var(--enter-delay, 0ms) both; }
  .brand-pair > .content-entered[data-brand="ps"] { animation-name: enter-brand-ps; }
  .brand-pair > .content-entered[data-brand="hpa"] { animation-name: enter-brand-hpa; }
  .pager-entered .detail-progress { animation: unfold-pager .95s cubic-bezier(.22,.75,.24,1) var(--enter-delay, 0ms) both; }
  .pager-entered .detail-progress::after { animation: pager-seed .95s ease-out var(--enter-delay, 0ms) both; }
  .pager-entered .detail-step, .pager-entered .detail-dots, .pager-entered .detail-play {
    animation: seat-indicator .32s ease-out calc(var(--enter-delay, 0ms) + .53s) both;
  }
  .pager-entered .detail-play { animation-delay: calc(var(--enter-delay, 0ms) + .62s); }
  .homepage .hero-copy > * { animation: enter-content .64s cubic-bezier(.21,.67,.23,1) backwards; }
  .homepage .hero-copy > :nth-child(2) { animation-delay: 70ms; }
  .homepage .hero-copy > :nth-child(3) { animation-delay: 140ms; }
  .homepage .hero-copy > :nth-child(4) { animation-delay: 205ms; }
}
@media screen and (prefers-reduced-motion: no-preference) {
  .stats { --metric-ease: cubic-bezier(.35,.08,.24,1); }
  .metric-load strong { --metric-delay: 290ms; }
  .metric-width strong { --metric-delay: 550ms; }

  .metric-height [data-rack-units] { min-inline-size: 2ch; font-variant-numeric: tabular-nums; text-align: end; }
  .metric-height .metric-ready b { clip-path: inset(100% -3px 0); }
  .metric-height .metric-playing b {
    animation: metric-height-reveal 660ms var(--metric-ease) both;
  }
  .metric-height .metric-playing::after {
    content: '';
    position: absolute;
    inset: 19% -.23em 18% auto;
    width: .14em;
    border-inline-end: 1px solid var(--red);
    background: repeating-linear-gradient(to top, var(--red) 0 1px, transparent 1px 7px);
    animation: metric-ruler 1350ms var(--metric-ease) both;
  }
  @keyframes metric-height-reveal {
    0%, 12% { clip-path: inset(100% -3px 0); transform: translateY(.24em); }
    100% { clip-path: inset(0 -3px); transform: none; }
  }
  @keyframes metric-ruler {
    0%, 100% { opacity: 0; }
    14%, 88% { opacity: 1; }
  }

  .metric-load .metric-ready b, .metric-load .metric-playing b { clip-path: inset(0 -3px); }
  .metric-load .metric-ready b span { transform: translateY(110%); }
  .metric-load .metric-playing b span {
    animation: metric-drum 755ms var(--metric-ease) calc(var(--metric-delay, 0ms) + var(--digit-delay, 0ms)) both;
  }
  .metric-load b span:nth-child(2) { --digit-delay: 108ms; }
  .metric-load b span:nth-child(3) { --digit-delay: 216ms; }
  .metric-load b span:nth-child(4) { --digit-delay: 324ms; }
  .metric-load b span:nth-child(5) { --digit-delay: 432ms; }
  @keyframes metric-drum {
    from { transform: translateY(110%); }
    to { transform: none; }
  }

  .metric-width .metric-ready b { clip-path: inset(0 50%); }
  .metric-width .metric-playing b {
    animation: metric-width-reveal 920ms var(--metric-ease) var(--metric-delay, 0ms) both;
  }
  .metric-width .metric-playing::before, .metric-width .metric-playing::after {
    content: '';
    position: absolute;
    inset: 20% auto 20%;
    inline-size: .14em;
    border-block: 1px solid var(--red);
    pointer-events: none;
    animation: metric-caliper 1150ms var(--metric-ease) var(--metric-delay, 0ms) both;
  }
  .metric-width .metric-playing::before {
    left: -.14em;
    border-left: 1px solid var(--red);
    --caliper-start: 2.9;
  }
  .metric-width .metric-playing::after {
    right: -.14em;
    border-right: 1px solid var(--red);
    --caliper-start: -2.9;
  }
  @keyframes metric-width-reveal {
    0%, 10% { clip-path: inset(0 50%); }
    100% { clip-path: inset(0 -3px); }
  }
  @keyframes metric-caliper {
    0% { transform: translateX(calc(var(--caliper-start) * .25em)); clip-path: inset(50% 0); }
    20% { clip-path: inset(0); }
    68%, 79% { transform: none; clip-path: inset(0); }
    100% { transform: none; clip-path: inset(50% 0); }
  }
}
@media (max-width: 760px) {
  .stats > div { gap: 16px; align-items: center; }
  .stats strong { font-size: clamp(30px, 11vw, 48px); }
  .stats strong b .metric-unit { font-size: .54em; }
  .metric-load strong { --metric-delay: 0ms; }
  .metric-width strong { --metric-delay: 0ms; }
}
@media print {
  .content-pending { opacity: 1 !important; }
  .content-entered { animation: none !important; }
}

.homepage .global-nav {
  position: sticky;
  top: 0;
  z-index: 35;
  background: var(--nav);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--line);
}
.homepage .global-nav .nav-inner { height: 59px; }
.homepage .global-nav nav { top: 59px; }
.homepage .brand img { width: 36px; height: 36px; }
.homepage .product-nav { position: relative; top: auto; }

.installation-preview {
  display: grid;
  grid-template-columns: 1.16fr 1fr;
  align-items: center;
  gap: var(--editorial-gap);
}
.installation-photo { margin: 0; min-width: 0; }
.installation-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}
.installation-photo figcaption { margin-top: 9px; color: var(--muted); }
.installation-copy { padding: 8px 0 8px min(4vw, 48px); }
.installation-copy > p { color: var(--muted); margin-top: 15px; max-width: 47ch; }
.installation-routes {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}
.installation-routes li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 11px;
  padding-block: 13px;
  border-block-end: 1px solid var(--line);
}
.installation-routes .site-icon { color: var(--red); margin-top: 2px; }
.installation-routes p { font-size: var(--text-small); color: var(--muted); margin-top: 3px; }
@media (max-width: 800px) {
  .installation-preview { grid-template-columns: 1fr; }
  .installation-copy { padding: 0; }
}

/* Scroll-linked details use the decorative layer or image, keeping layout stable. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    @keyframes trace-width { from { transform: scaleX(0); } to { transform: scaleX(1); } }
    @keyframes trace-height { from { transform: scaleY(0); } to { transform: scaleY(1); } }
    @keyframes settle-image { from { scale: 1.035; } to { scale: 1; } }

    :is(.resources-lead, .access-study, .mini-timeline, .category-tiles, .location-details, .detail-block) {
      view-timeline-name: --section-progress;
    }
    :is(.resources-lead .resource-card, .access-study .image-frame, .mini-timeline, .category-tile, .location-details, .detail-block) {
      position: relative;
    }
    :is(.resources-lead .resource-card, .access-study .image-frame, .mini-timeline, .category-tile, .location-details, .detail-block)::after {
      content: '';
      position: absolute;
      pointer-events: none;
      background: var(--red);
      animation: trace-width auto linear both;
      animation-timeline: --section-progress;
      animation-range: entry 14% cover 38%;
      transform-origin: left;
    }
    .resources-lead .resource-card { border-inline-start-color: transparent; }
    .resources-lead .resource-card::after {
      inset-block: 0;
      inset-inline-start: -3px;
      inline-size: 3px;
      animation-name: trace-height;
      transform-origin: top;
    }
    .access-study .image-frame::after {
      inset: auto auto 20px 22px;
      inline-size: clamp(40px, 15%, 115px);
      block-size: 2px;
      background: #fff;
    }
    .factory-hero .image-frame img {
      animation: settle-image auto linear both;
      animation-timeline: view();
      animation-range: entry 15% cover 45%;
    }
    .footprint-diagram span {
      animation: settle-image auto linear both;
      animation-timeline: view();
      animation-range: entry 10% cover 30%;
    }
    .mini-timeline::after {
      inset: 0 auto 0 -1px;
      inline-size: 2px;
      animation-name: trace-height;
      transform-origin: top;
    }
    .category-tile.filter-chip { border-bottom-color: transparent; }
    .category-tile::after { inset: auto 20px 0; block-size: 2px; background: var(--category); }
    .location-details::after { inset: auto 26px 0; block-size: 2px; }
    .detail-block::after {
      inset: 0 auto auto 0;
      inline-size: min(70px, 16%);
      block-size: 2px;
      background: var(--category, var(--red));
    }
  }
}

.construction-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; }
.construction-link .site-icon { inline-size: 16px; block-size: 16px; }
.detail-explorer {
  width: 100%;
  margin: 56px 0 42px;
  scroll-margin-top: 135px;
}
.detail-introduction { margin-bottom: var(--editorial-gap); }
.detail-introduction h2 { font-size: var(--text-section); }
.detail-introduction p { margin-top: 10px; color: var(--muted); }
.detail-stage {
  --detail-inset: clamp(18px, 3.1vw, 42px);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  aspect-ratio: 16 / 10;
  min-height: 560px;
  overflow: hidden;
  isolation: isolate;
  border-radius: 12px;
  background: #161617;
  color: #f5f5f7;
}
.detail-media { position: absolute; inset: 0; margin: 0; }
.detail-image { position: absolute; inset: 0; }
.detail-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.detail-image img.detail-portrait { object-position: 65% 46%; }
.detail-media::after {
  position: absolute;
  inset: 0;
  content: '';
  pointer-events: none;
  background: linear-gradient(90deg, #111113 0%, #111113e8 26%, #1111137d 47%, transparent 70%), linear-gradient(0deg, #111113cc, transparent 22%);
}
.detail-view-caption {
  position: absolute;
  inset: auto var(--detail-inset) var(--detail-inset) auto;
  z-index: 1;
  max-width: 45%;
  margin: 0;
  color: #f5f5f7;
  text-align: end;
  font-size: var(--text-caption);
}
.detail-choices {
  position: relative;
  display: grid;
  align-content: center;
  gap: 8px;
  width: min(39%, 360px);
  margin: var(--detail-inset);
  padding-bottom: 52px;
}
.detail-option { min-width: 0; }
.detail-option.is-active {
  border: 1px solid #ffffff3a;
  border-radius: 10px;
  background: #212125e8;
}
.detail-choice {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 7px 13px 7px 8px;
  border: 1px solid #ffffff33;
  border-radius: 24px;
  background: #242427e8;
  color: #f5f5f7;
  text-align: start;
  font-size: var(--text-small);
  font-weight: 675;
}
.detail-choice:hover { border-color: #f5f5f7; }
.detail-choice[aria-expanded=true] { background: none; border-color: transparent; }
.detail-sign {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: none;
  border: 1px solid #8e9197;
  border-radius: 50%;
}
.detail-sign .site-icon { width: 15px; height: 15px; }
.detail-choice[aria-expanded=true] .detail-sign { background: #a51631; border-color: #e6b0bb; }
.detail-option-text { display: grid; grid-template-rows: 0fr; opacity: 0; }
.detail-option-text > div { min-height: 0; overflow: hidden; }
.detail-option-text p {
  padding: 0 12px 12px 44px;
  color: #e5e5e9;
  font-size: var(--text-small);
  line-height: 1.55;
}
.detail-option.is-active .detail-option-text { grid-template-rows: 1fr; opacity: 1; }
.detail-controls {
  position: absolute;
  inset: auto auto var(--detail-inset) var(--detail-inset);
  display: flex;
  gap: 8px;
  align-items: center;
}
.detail-progress, .detail-play {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 44px;
  border: 1px solid #ffffff42;
  border-radius: 24px;
  background: #26262a;
}
.detail-progress { padding-inline: 3px; }
.detail-progress::after {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 10px;
  height: 10px;
  margin: -5px;
  border-radius: 50%;
  background: #ed5571;
  opacity: 0;
  pointer-events: none;
  content: '';
}
.detail-dots { display: flex; }
.detail-step, .detail-play {
  display: grid;
  place-items: center;
  min-height: 44px;
  min-width: 44px;
  color: #fff;
}
.detail-step { min-width: 39px; border-radius: 100%; }
.detail-step:hover, .detail-play:hover { background: #39393e; }
.detail-step .site-icon, .detail-play .site-icon { width: 18px; height: 18px; }
.detail-dot { display: grid; place-items: center; min-width: 28px; height: 44px; color: #fff; }
.detail-dot span { width: 7px; height: 7px; border-radius: 8px; background: #a4a4aa; }
.detail-dot[aria-pressed=true] span { width: 17px; background: #ed5571; }
.detail-credit { margin: 10px 0 0; color: var(--muted); font-size: var(--text-caption); }
@media (prefers-reduced-motion: no-preference) {
  .detail-option-text { transition: grid-template-rows .29s cubic-bezier(.22,.75,.24,1), opacity .27s ease; }
  .detail-dot span { transition: width .22s ease, background-color .22s ease; }
}
@media (max-width: 850px) {
  .detail-stage { display: block; min-height: 0; aspect-ratio: auto; }
  .detail-media { position: relative; aspect-ratio: 16 / 10; }
  .detail-media::after { background: linear-gradient(0deg, #111113d9, transparent 36%); }
  .detail-view-caption { inset-block-end: 10px; max-width: 85%; }
  .detail-choices { width: auto; padding-bottom: 0; margin-block: 15px; }
  .detail-controls { position: static; margin: 15px var(--detail-inset) var(--detail-inset); flex-wrap: wrap; }
  .detail-dot { min-width: 24px; }
  .detail-step { min-width: 34px; }
}

.language-switch { display: grid; place-items: center; min-height: 44px; white-space: nowrap; }
.language-switch[lang=fa] { font-family: IRANYekanX, sans-serif; }

:root { --field-focus: #68686f; }
body[data-theme=dark] { --field-focus: #a8a8af; }

:is(input:not([type]), input[type=text], input[type=email], input[type=tel], input[type=search], input[type=number], select, textarea):focus {
  outline: 2px solid var(--field-focus);
  outline-offset: -2px;
}

html[lang=en] .connection-node h3 { font-size: clamp(1.0625rem, 2vw, 1.4375rem); }

@media (min-width: 901px) {
  html[lang=en] .connection-map {
    /* With the SVG at 75% width, its branch ends sit 23% in from each edge. */
    --branch-inset: 23%;
    --label-gap: clamp(16px, 2vw, 28px);
    --label-position: calc(100% - var(--branch-inset) + var(--label-gap));
    aspect-ratio: 200 / 57;
    height: auto;
    margin-block: 30px 22px;
  }

  html[lang=en] .connection-map > svg {
    inset-block: 0 auto;
    height: auto;
    aspect-ratio: 50 / 19;
  }

  html[lang=en] .connection-node {
    bottom: auto;
    width: calc(var(--branch-inset) - var(--label-gap));
    translate: 0 -50%;
  }

  html[lang=en] :is(.node-power, .node-cooling) { top: calc(100% * 80 / 380); }
  html[lang=en] :is(.node-monitor, .node-cable) { top: calc(100% * 320 / 380); }

  html[lang=en] :is(.node-power, .node-monitor) {
    left: auto;
    right: var(--label-position);
    text-align: right;
  }

  html[lang=en] :is(.node-cooling, .node-cable) {
    left: var(--label-position);
    right: auto;
    text-align: left;
  }
}

@media (max-width: 900px) {
  html[lang=en] .connection-map {
    grid-template-rows: auto auto auto;
    row-gap: clamp(12px, 3vw, 20px);
  }

  html[lang=en] .connection-map > svg {
    height: auto;
    max-height: 155px;
    aspect-ratio: 50 / 19;
  }

  html[lang=en] .connection-node h3 { font-size: clamp(1.0625rem, 4.3vw, 1.375rem); }
  html[lang=en] :is(.node-power, .node-cooling) { align-self: end; }
  html[lang=en] :is(.node-monitor, .node-cable) { align-self: start; }
}
