.zp-product { background: var(--paper); color: var(--ink); }
.product-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(36rem, 88svh, 60rem);
  text-align: center;
  color: #faf8ef;
  background: #242721;
  overflow: hidden;
}
.product-hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    radial-gradient(ellipse at 50% 53%, #10140e94 0%, #1517104d 51%, transparent 80%),
    linear-gradient(180deg, #0f14124f, #10130e14 24%, #1116102e 73%, #10141078);
}
.product-hero-body { padding-block: clamp(7rem, 13svh, 12rem) clamp(4rem, 8svh, 7rem); }
.product-hero h1 {
  margin: 0 auto clamp(1.3rem, 2.2vw, 2.1rem);
  color: inherit;
  font: 400 clamp(4.3rem, 7.5vw, 8.4rem)/.99 var(--serif);
  letter-spacing: -.055em;
}
.product-hero h1 em { display: block; font-weight: 400; }
.product-hero-body > p {
  max-width: 33rem;
  margin: 0 auto 1.75rem;
  color: #fbf9f3;
  font-size: clamp(1.07rem, 1.4vw, 1.35rem);
  line-height: 1.42;
  text-wrap: pretty;
}
.product-down { rotate: 90deg; }
.product-hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .45rem 1.5rem; }
.film-scenes { position: absolute; z-index: 1; top: 17px; left: var(--gutter); display: inline-flex; align-items: center; gap: .6rem; padding: .35rem .65rem; border: 1px solid #cdcabc; color: #fff; background: #20231eee; font: 400 .95rem/1.25 var(--sans); }
.film-scenes select { width: min(10rem, 27vw); min-height: 30px; padding-right: .3rem; border: 0; background: #20231e; color: inherit; font: inherit; }
.zp-product #product-film .film-cover:has(.film-player:not([hidden])) { padding-top: 75px; background: #131512; }
.zp-product #product-film .film-cover:has(.film-player:not([hidden])) :is(.film-body,.film-poster,.film-shade) { display: none; }
.zp-product #product-film .film-player:not([hidden]) {
  position: relative; inset: auto; display: block; height: auto; aspect-ratio: 16 / 9;
  max-height: calc(90svh - 75px); margin-inline: auto;
}
@media (max-width: 420px) {
  .film-scenes { left: .6rem; gap: .35rem; padding-inline: .45rem; max-width: calc(100% - 8rem); }
  .film-scenes select { width: 8.75rem; min-width: 0; }
  .film-feature .film-close { right: .6rem; padding-inline: .65rem; }
}
.product-approach, .product-map { padding-block: clamp(4rem, 6.8vw, 7.4rem); }
.product-approach-grid, .product-map-grid, .product-resource-grid {
  display: grid;
  align-items: start;
  gap: clamp(2.4rem, 7vw, 7.8rem);
}
.product-chapters { border-bottom: 1px solid #c8c6b8; background: #efede3; }
.product-chapter-links { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 0 clamp(1.7rem, 4vw, 4.5rem); padding-block: .45rem; }
.product-chapter-links a { display: inline-flex; align-items: center; min-height: 42px; color: #41483e; font-size: 1rem; text-decoration: none; }
.product-chapter-links a:hover { text-decoration: underline; text-underline-offset: .23em; }
.product-approach-grid { grid-template-columns: minmax(0,1.28fr) minmax(0,.83fr); column-gap: clamp(2.6rem, 6vw, 7rem); row-gap: clamp(2rem, 4vw, 4.5rem); }
.product-approach-head { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0,1.28fr) minmax(0,.83fr); align-items: end; gap: inherit; }
.product-approach-head .product-lead { margin-top: 0; }
.product-capability-image { margin: 0; }
.product-capability-image img { display: block; width: 100%; height: auto; aspect-ratio: 16/11; object-fit: cover; }
.product-capability-image figcaption { padding-top: .65rem; color: #595f51; font-size: .95rem; }
.product-contact { padding-block: clamp(3rem, 7vw, 7rem); background: #dddacc; }
.product-contact-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.product-contact .product-enquiry { flex: none; margin: 0; min-height: 47px; padding: .65rem 1.1rem; color: #faf8ef; background: #292e26; border: 1px solid #292e26; }
.product-contact .product-enquiry:hover { background: #444a3e; color: #fff; }
.zp-product main h2 {
  margin: 0;
  max-width: 12em;
  font: 400 clamp(2.45rem, 4.2vw, 4.75rem)/1.06 var(--serif);
  letter-spacing: -.048em;
  text-wrap: balance;
}
.product-approach-grid h2::before, .product-map-grid h2::before {
  display: block;
  width: 2.4rem;
  height: 2px;
  background: #ab7a45;
  margin-bottom: 1.15rem;
  content: "";
}
.product-lead {
  max-width: 36rem;
  margin: 1.35rem 0 0;
  color: #454940;
  font-size: clamp(1.04rem, 1.2vw, 1.18rem);
  line-height: 1.55;
  text-wrap: pretty;
}
.product-features { margin: 0; border-top: 1px solid #c9c7b8; }
.product-features > div {
  display: grid;
  gap: .35rem;
  padding: clamp(1.25rem, 1.7vw, 1.9rem) 0;
  border-bottom: 1px solid #c9c7b8;
}
.product-features dt {
  font: 400 clamp(1.33rem, 1.65vw, 1.85rem)/1.18 var(--serif);
  letter-spacing: -.035em;
}
.product-features dd { margin: 0; color: #454940; font-size: 1.02rem; line-height: 1.45; }
.keypad-study { background: #242723; color: #f4f1e5; padding-block: clamp(2.8rem, 5vw, 5.5rem); }
.keypad-layout { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.45fr); align-items: center; gap: clamp(2rem, 6vw, 7rem); }
.keypad-study .product-lead { color: #deded0; }
.keypad-kicker { margin-bottom: 1.2rem; color: #d6c59f; font: 500 .78rem/1.2 var(--sans); text-transform: uppercase; letter-spacing: .15em; }
.keypad-study h2 em, .keypad-view strong { font-weight: 400; }
.keypad-views { display: flex; flex-wrap: wrap; gap: .45rem; padding: 0; border: 0; margin: 1.8rem 0 0; }
.keypad-views label { position: relative; cursor: pointer; }
.keypad-views input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.keypad-views span { display: flex; align-items: center; min-height: 44px; padding: .5rem .85rem; border: 1px solid #93998b; color: #eeeee2; font-size: .95rem; }
.keypad-views input:checked + span { background: #f1eee3; border-color: #f1eee3; color: #292f25; }
.keypad-views input:focus-visible + span { outline: 2px solid #e4c88a; outline-offset: 3px; }
.keypad-stage { min-width: 0; background: #242722; color: #fffaf0; }
.keypad-view { display: none; margin: 0; }
.keypad-front,
.keypad-layout:has(input[value="assembly"]:checked) .keypad-assembly,
.keypad-layout:has(input[value="room"]:checked) .keypad-room { display: block; }
.keypad-layout:has(input:not([value="front"]):checked) .keypad-front { display: none; }
.keypad-view img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.keypad-film { position: relative; isolation: isolate; }
.keypad-film .film-copy { max-width: none; }
.keypad-film .keypad-play { position: absolute; bottom: .85rem; left: .85rem; padding: .55rem .85rem; min-height: 44px; border: 1px solid #d0ccba99; color: white; background: #22251eee; }
.keypad-film .film-close { right: .85rem; top: .85rem; }
.keypad-view figcaption { display: grid; gap: .25rem; padding: 1.15rem clamp(1.2rem, 2.3vw, 2.3rem) 1.4rem; border-top: 1px solid #ffffff27; }
.keypad-view strong { font: 400 clamp(1.35rem, 1.65vw, 2rem)/1.2 var(--serif); }
.keypad-view figcaption span { color: #e0e1d7; font-size: 1rem; }
@media (prefers-reduced-motion: no-preference) {
  .keypad-view img { animation: keypad-reveal .4s ease-out; }
  @keyframes keypad-reveal { from { opacity: .55; } to { opacity: 1; } }
}
@media (max-width: 760px) {
  .keypad-layout { grid-template-columns: 1fr; gap: 1.4rem; }
  .keypad-views { margin-top: 1.15rem; }
  .keypad-views span { padding-inline: .7rem; }
}
.product-map { background: #eae8de; scroll-margin-top: 1rem; }
@media (pointer: coarse) {
  /* A tap on a scene should land on its control even immediately after the floor-map link. */
  html:has(.product-map:target) { scroll-behavior: auto; }
}
.product-map-grid { grid-template-columns: minmax(0, .7fr) minmax(0, 1.6fr); align-items: center; gap: clamp(2rem, 4.3vw, 5.2rem); }
.product-map-fallback { padding: 1.5rem; border: 1px solid #c9c7b8; }
.product-enquiry, .product-resource-grid nav a {
  display: inline-flex;
  gap: 1rem;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
}
.product-enquiry { margin-top: 1.5rem; border-bottom: 1px solid #848775; }
.product-enquiry:hover, .product-resource-grid nav a:hover { color: #74532b; }
.product-resources { padding-block: clamp(3.5rem, 5.8vw, 6rem); }
.product-resource-grid { grid-template-columns: .96fr 1fr; align-items: center; }
.product-resource-grid nav { display: grid; border-top: 1px solid #c9c7b8; }
.product-resource-grid nav a {
  min-height: 3.4rem;
  justify-content: space-between;
  border-bottom: 1px solid #c9c7b8;
  font-size: 1.11rem;
}
.product-next { background: #292d25; color: var(--paper); }
.product-next-link {
  display: grid;
  grid-template-columns: minmax(7rem, .37fr) 1fr auto;
  align-items: center;
  column-gap: 1.5rem;
  padding-block: clamp(2.2rem, 4.3vw, 4.5rem);
  color: inherit;
  text-decoration: none;
}
.product-next-type { color: #d2c8ae; font: 500 .78rem/1.1 var(--sans); text-transform: uppercase; letter-spacing: .13em; }
.product-next-title { font: 400 clamp(2.1rem, 4vw, 4.25rem)/1.1 var(--serif); letter-spacing: -.04em; }
.product-next-link:hover .product-next-title { text-decoration: underline; text-underline-offset: .13em; text-decoration-thickness: 1px; }
.zp-product .product-next-link .arrow { width: 2rem; }
@media (max-width: 940px) {
  .product-approach-grid, .product-approach-head { column-gap: 2.2rem; }
  .product-map-grid { grid-template-columns: minmax(0, .72fr) minmax(0, 1.22fr); }
}
@media (max-width: 700px) {
  .product-hero { min-height: clamp(31rem, 79svh, 43rem); }
  .product-hero::before { background: linear-gradient(0deg, #11150fb8, #11150f68 42%, #11150f4a 70%, #10140f53); }
  .product-hero-body { padding-block: 7rem 3.5rem; }
  .product-hero h1 { font-size: clamp(3.2rem, 10.7vw, 5.3rem); }
  .product-hero-body > p { max-width: 28rem; }
  .zp-vms .product-hero-image { object-position: 66% center; }
  .zp-ums .product-hero-image { object-position: 39% center; }
  .product-chapter-links { column-gap: clamp(.65rem, 2.4vw, 1rem); }
  .product-chapter-links a { min-height: 40px; }
  .product-approach-grid, .product-resource-grid, .product-map-grid { grid-template-columns: 1fr; gap: 2rem; }
  .product-approach-head { grid-template-columns: 1fr; gap: 1rem; }
  .product-capability-image img { aspect-ratio: 16/10; }
  .product-contact-inner { flex-direction: column; align-items: flex-start; gap: 1.35rem; }
  .product-features > div { grid-template-columns: minmax(6.5rem, .73fr) 1.27fr; gap: 1rem; }
  .product-map-grid { gap: 1.7rem; }
  .product-next-link { grid-template-columns: 1fr auto; row-gap: .7rem; }
  .product-next-type { grid-column: 1 / -1; }
  .product-enquiry { margin-top: .7rem; }
}
@media (max-width: 360px) {
  .product-approach-grid, .product-approach-head { column-gap: 2.2rem; }
  .product-next-title { font-size: 1.8rem; }
}
