:root {
  --paper: #f1f0ec;
  --ink: #0a0a0a;
  --muted: #66655f;
  --line: rgba(10, 10, 10, .18);
  --surface: #deddd7;
  --radius: 18px;
  --pad: clamp(18px, 3vw, 48px);
  --section-heading-size: clamp(43px, 6vw, 88px);
  --detail-section-heading-size: var(--section-heading-size);
  --editorial-copy-size: clamp(22px, 2.3vw, 35px);
  --catalogue-copy-size: 19px;
  --detail-product-heading-size: clamp(51.6px, 7.2vw, 105.6px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 100; padding: .7rem 1rem; background: #fff; }
.skip-link:focus { top: 1rem; }
main { scroll-margin-top: 76px; }
main:focus { outline: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 14px var(--pad);
  background: rgba(241, 240, 236, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.brand { flex: 0 0 auto; width: clamp(142px, 16vw, 213px); }
.brand img { width: 100%; }
.main-nav { display: flex; margin-left: auto; justify-content: flex-end; gap: clamp(16px, 2.2vw, 34px); font-size: 13px; letter-spacing: .08em; text-align: right; text-transform: uppercase; }
.main-nav a { text-decoration: none; }
.main-nav a:hover, .main-nav a:focus-visible { text-decoration: underline; text-underline-offset: 5px; }
.menu-button { display: none; flex: 0 0 auto; margin-left: auto; border: 0; background: transparent; padding: .5rem 0; text-align: right; letter-spacing: .08em; }

.hero {
  min-height: min(720px, calc(100vh - 76px));
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(420px, 1.15fr);
  gap: var(--pad);
  align-items: start;
  padding: clamp(36px, 5vw, 72px) var(--pad) var(--pad);
  overflow: hidden;
}
.hero-copy { position: relative; z-index: 2; }
.kicker, .section-label, .card-type, .eyebrow, .gallery-count {
  margin: 0 0 14px;
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(55.9px, 7.28vw, 117px);
  line-height: .92;
  letter-spacing: -.075em;
  font-weight: 700;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
.hero-copy > p:last-child { max-width: 610px; margin: 28px 0 0; font-size: clamp(17px, 1.6vw, 24px); line-height: 1.25; }
.hero-object {
  position: relative;
  width: min(100%, 760px);
  aspect-ratio: 4 / 3;
  justify-self: end;
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
.hero-object img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.category-hero--text-only {
  min-height: 0;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  padding-top: clamp(54px, 6.5vw, 96px);
  padding-bottom: clamp(72px, 8vw, 118px);
}
.category-hero--text-only .hero-copy { width: 100%; max-width: 1180px; }
.category-hero--text-only h1 { max-width: none; font-size: clamp(55.9px, 8.19vw, 128.7px); }
.statement-hero { padding-bottom: clamp(64px, 7vw, 104px); }
.editorial-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
  gap: var(--pad);
  align-items: stretch;
  padding: 0 var(--pad) clamp(28px, 3vw, 44px);
}
.editorial-intro-media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.editorial-intro-media img { width: 100%; height: 100%; object-fit: cover; }
.editorial-intro--about .editorial-intro-media img { object-position: center 58%; }
.editorial-intro-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: var(--radius);
  padding: clamp(26px, 3.5vw, 54px) 0;
  background: transparent;
}
.editorial-intro-copy > p:last-child {
  width: 100%;
  max-width: none;
  margin: 0;
  font-size: var(--editorial-copy-size);
  line-height: 1.16;
  letter-spacing: -.025em;
  text-align: left;
}
/* home has no small label above its headline; this keeps the headline where every other page has it */
.hero.index-statement .hero-copy { padding-top: 31px; }
.index-intro, .scenario-intro { padding-bottom: clamp(70px, 8vw, 120px); }
.index-divisions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--pad);
  border-top: 1px solid var(--ink);
  padding: clamp(34px, 4vw, 58px) var(--pad);
}
.index-feature,
.index-feature {
  display: grid;
  grid-template-columns: minmax(220px, .68fr) minmax(0, 1.32fr);
  gap: var(--pad);
  align-items: stretch;
  border-top: 1px solid var(--ink);
  padding-top: clamp(34px, 4vw, 58px);
  padding-bottom: clamp(34px, 4vw, 58px);
}
.index-divisions .index-feature {
  grid-template-columns: 1fr;
  gap: 0;
  border: 0;
  border-radius: var(--radius);
  background: #e4e3de;
  padding: 0;
  overflow: hidden;
}
.index-divisions .index-feature-media { width: 100%; max-width: none; border-radius: 0; }
.index-divisions .index-feature-copy { min-height: 280px; padding: clamp(24px, 3vw, 42px); }
.index-divisions .index-feature-copy h2 { font-size: clamp(40px, 4.8vw, 72px); }
/* the whole division card is clickable: its link is stretched over the card */
.index-division-card { position: relative; }
.index-division-card .index-feature-copy a::after { content: ""; position: absolute; inset: 0; }
.index-division-card .index-feature-media img { transition: transform .4s ease; }
.index-division-card:hover .index-feature-media img { transform: scale(1.025); }
.index-feature-media { width: min(100%, 460px); aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.index-feature-media img { width: 100%; height: 100%; object-fit: cover; }
.index-feature-copy { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; justify-content: flex-end; }
.index-feature-copy h2 { margin: 0 0 24px; font-size: var(--section-heading-size); line-height: .9; letter-spacing: -.065em; }
.index-feature-copy > p { max-width: 42ch; margin: 0 0 34px; font-size: clamp(18px, 1.8vw, 27px); line-height: 1.18; letter-spacing: -.02em; }
.index-feature-copy > a { padding-bottom: 4px; border-bottom: 1px solid var(--ink); font-size: 13px; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.index-feature-copy > a:hover,
.index-feature-copy > a:focus-visible { border-bottom-width: 2px; }
.index-feature-copy > a:focus-visible { outline: 2px solid var(--ink); outline-offset: 6px; }
.catalogue { padding: 80px var(--pad) 120px; }
.catalogue { scroll-margin-top: 76px; }
/* index: "Products and services" heading, then the Systems and Agency cards, then three entries */
.catalogue--index-head { border-top: 1px solid var(--ink); padding-top: clamp(34px, 4vw, 58px); padding-bottom: 0; }
.catalogue--index-head .catalogue-head { margin-bottom: clamp(30px, 3.4vw, 48px); }
.index-catalogue .index-divisions { border-top: 0; padding-top: 0; padding-bottom: clamp(40px, 4.6vw, 66px); }
.catalogue--index-grid { padding-top: 0; padding-bottom: clamp(70px, 8vw, 120px); }
/* index: the floating filter button only appears while this part of the page is on screen */
.filters { transition: opacity .2s ease, visibility .2s; }
.filters.is-away { opacity: 0; visibility: hidden; pointer-events: none; }
.category-hero .hero-copy { padding-top: 4px; }
.category-hero .hero-copy > p:last-child { max-width: 620px; }
.catalogue-head { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--pad); align-items: end; margin-bottom: 48px; }
.catalogue-head h2, .about h2 { margin: 0; font-size: var(--section-heading-size); line-height: .9; letter-spacing: -.065em; }
.catalogue-head > div { min-width: 0; }
.catalogue-intro { width: 100%; min-width: 0; max-width: none; margin: 0; font-size: var(--catalogue-copy-size); line-height: 1.35; text-align: left; }
.catalogue-head--systems { display: block; margin-bottom: 34px; }
.catalogue-head--editorial { align-items: end; }
.system-groups { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 0 0 18px; }
.system-group { padding: 8px 0; border: 0; border-bottom: 1px solid transparent; background: transparent; color: var(--muted); font-size: clamp(17px, 1.35vw, 21px); line-height: 1.2; cursor: pointer; }
.system-group.is-active { border-bottom-color: var(--ink); color: var(--ink); }
.system-group:hover { color: var(--ink); }
.system-group:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.series-suffix { font-style: normal; font-weight: 400; }
.research-origin { color: var(--muted); }
.catalogue-head--systems .catalogue-intro { max-width: 760px; font-size: clamp(22px, 2.5vw, 36px); line-height: 1.2; letter-spacing: -.02em; }
.filters {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: calc(max(18px, env(safe-area-inset-bottom)) + var(--notice-height, 0px));
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  max-width: calc(100vw - 36px);
  margin: 0;
}
.filter-toggle {
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  padding: 10px 16px 9px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.filter-toggle:hover, .filter-toggle:focus-visible, .filter-toggle[aria-expanded="true"] {
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--ink);
}
.filter-panel {
  max-width: 100%;
  padding-top: 10px;
}
.filter-panel[hidden] { display: none; }
.filter-row {
  display: flex;
  width: max-content;
  max-width: 100%;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(241, 240, 236, .94);
  box-shadow: 0 9px 24px rgba(10, 10, 10, .12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.filter {
  flex: 0 0 auto;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  padding: 10px 16px 9px;
  cursor: pointer;
}
.filter:hover, .filter:focus-visible, .filter.is-active {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}
.filter.is-active { font-weight: 700; }
.results-line { margin: 0 0 18px; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.catalogue-line { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin: 0 0 18px; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.catalogue-line-left { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .9em; }
.catalogue-line .results-line { margin: 0; }
.catalogue-line .catalogue-from::after { content: "·"; margin-left: .9em; }
.catalogue-line:not(.is-featured) .catalogue-from, .catalogue-line:not(.is-featured) .see-all { display: none; }
.catalogue-line .see-all { white-space: nowrap; }
@media (max-width: 700px) { .catalogue-line-left { flex-direction: column; row-gap: 6px; } .catalogue-line .catalogue-from::after { content: none; } }
.catalogue-line .see-all { padding-bottom: 3px; border-bottom: 1px solid var(--ink); color: var(--ink); text-decoration: none; }
.catalogue-line .see-all:hover, .catalogue-line .see-all:focus-visible { border-bottom-color: transparent; }
.solution-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.solution-card { min-width: 0; border-radius: var(--radius); overflow: hidden; background: #e4e3de; }
.solution-card a { display: flex; height: 100%; flex-direction: column; text-decoration: none; }
.card-image { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #d8d7d1; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.solution-card:hover .card-image img { transform: scale(1.025); }
.card-body { flex: 1; min-height: 0; display: grid; grid-template-rows: auto auto auto; align-content: start; padding: 18px 20px 20px; }
.card-type { min-height: 0; margin-bottom: 16px; color: var(--muted); white-space: nowrap; font-size: clamp(10px, .72vw, 11px); letter-spacing: .07em; }
.card-body h3 { margin: 0 0 12px; font-size: clamp(28px, 2.7vw, 46px); line-height: .98; letter-spacing: -.045em; overflow-wrap: normal; word-break: normal; }
.card-body p { max-width: 31ch; margin: 0; line-height: 1.35; }
.card-description { min-height: 0; }
/* the label above a card title keeps its space (the general ".card-body p" rule would otherwise remove it) */
.card-body .card-type { margin: 0 0 12px; }
.empty { padding: 100px 0; border-top: 1px solid var(--line); font-size: 32px; }

.detail { padding-bottom: 110px; }
.detail-hero { display: grid; grid-template-columns: 1fr; align-items: start; }
.detail-title { min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--pad); align-items: end; padding: 30px var(--pad) clamp(46px, 5vw, 76px); overflow: hidden; }
.back { width: fit-content; margin-bottom: clamp(34px, 5vw, 72px); font-size: 13px; text-decoration: none; }
.back:hover { text-decoration: underline; }
.detail-title h1 { grid-column: 1; max-width: 100%; margin: 0; padding-bottom: .04em; font-size: var(--detail-product-heading-size); line-height: .92; letter-spacing: -.065em; overflow-wrap: normal; word-break: normal; hyphens: none; }
.detail-title .eyebrow {
  grid-column: 1 / -1;
  display: block;
  width: 100%;
  max-width: 100%;
  margin-bottom: clamp(34px, 5vw, 72px);
  white-space: nowrap;
  font-size: 11px;
  letter-spacing: .08em;
}
.detail-title .promise { grid-column: 2; align-self: end; max-width: 520px; margin: 0; padding-bottom: .25em; font-size: clamp(20px, 2vw, 31px); line-height: 1.15; }
.detail-media-rail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}
.detail-media-rail::-webkit-scrollbar { display: none; width: 0; height: 0; }
.detail-media-item {
  flex: 0 0 min(calc(100vw - var(--pad) - var(--pad)), 933.333px);
  max-height: 700px;
  margin: 0;
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  background: var(--surface);
}
.detail-media-item.is-landscape { aspect-ratio: 4 / 3; }
.detail-media-item.is-portrait {
  flex-basis: min(calc(100vw - var(--pad) - var(--pad)), 525px);
  aspect-ratio: 3 / 4;
}
/* rows that mix landscape and portrait images: the portraits take the landscape's height, so the row is even */
.detail-media-rail.is-mixed .detail-media-item.is-portrait { flex: 0 0 auto; width: auto; height: min(calc((100vw - var(--pad) - var(--pad)) * .75), 700px); }
.detail-media-item img { display: block; width: 100%; height: 100%; object-fit: cover; }
.detail-media-nav { padding: 12px var(--pad) 0; }
/* desktop: the image row starts on the same left margin as the text; it still scrolls sideways */
@media (min-width: 701px) { .detail-media-rail { padding-inline: var(--pad); scroll-padding-inline: var(--pad); } }
.detail-content { padding: 100px var(--pad); }
.overview { display: grid; grid-template-columns: 1fr 1fr; gap: var(--pad); margin-bottom: 110px; }
.overview h2, .gallery h2, .related h2, .technical-drawing h2 { margin: 0; font-size: var(--detail-section-heading-size); line-height: .9; letter-spacing: -.06em; }
.overview-copy { max-width: 650px; font-size: clamp(19px, 2vw, 28px); line-height: 1.28; }
.overview-copy p { margin: 0 0 1.2em; }
.specs { margin: 0; border-top: 1px solid var(--ink); }
.specs div { display: grid; grid-template-columns: 1fr 1.4fr; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; }
.gallery { margin: 20px 0 120px; }
.gallery-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; }
.gallery-note { margin: 14px 0 0; color: var(--muted); font-size: 12px; line-height: 1.3; letter-spacing: .08em; text-transform: uppercase; }
.gallery-stage { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(300px, .7fr); min-height: 610px; background: #e2e1dc; border-radius: var(--radius); overflow: hidden; }
.gallery-image-wrap { min-width: 0; min-height: 610px; background: #d8d7d1; }
.gallery-stage img { width: 100%; height: 610px; object-fit: cover; }
.gallery--portrait .gallery-stage { grid-template-columns: minmax(340px, .82fr) minmax(320px, 1.18fr); }
.gallery--portrait .gallery-image-wrap { display: grid; place-items: center; padding: clamp(18px, 3vw, 40px); }
.gallery--portrait .gallery-stage img { width: auto; max-width: 100%; height: min(72vw, 570px); aspect-ratio: 3 / 4; object-fit: cover; border-radius: calc(var(--radius) * .65); }
.gallery-info { display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(24px, 4vw, 54px); background: var(--surface); }
.gallery-info h3 { margin: 0 0 12px; font-size: clamp(35px, 4.5vw, 70px); line-height: .92; letter-spacing: -.05em; }
.gallery-info p { margin: 0; font-size: 18px; line-height: 1.35; }
.family-details { width: 100%; margin: 28px 0 0; border-top: 1px solid var(--ink); }
.family-details:empty { display: none; }
.family-details div { display: grid; grid-template-columns: .8fr 1.2fr; gap: 14px; padding: 7px 0; border-bottom: 1px solid rgba(10,10,10,.22); }
.family-details dt { color: rgba(10,10,10,.62); }
.family-details dd { margin: 0; }
.thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 10px 0; scrollbar-width: thin; }
.thumb { flex: 0 0 106px; border: 0; border-radius: 8px; overflow: hidden; padding: 0; opacity: .55; cursor: pointer; background: #ddd; }
.thumb.is-active { opacity: 1; outline: 2px solid var(--ink); outline-offset: -2px; }
.thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery--portrait .thumb { flex-basis: 82px; }
.gallery--portrait .thumb img { aspect-ratio: 3 / 4; }
.family-card-rail { display: flex; align-items: stretch; gap: 12px; width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; padding: 0 0 12px; }
.family-card { flex: 0 0 min(48vw, 570px); display: grid; grid-template-rows: auto 1fr; min-width: 0; border-radius: var(--radius); overflow: hidden; background: var(--surface); scroll-snap-align: start; }
.gallery--portrait .family-card { flex-basis: min(48vw, 570px); }
.family-card-image { display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden; padding: 0; background: #fff; }
.gallery--portrait .family-card-image { aspect-ratio: 4 / 3; }
.family-card-image img { width: 100%; height: 100%; object-fit: cover; }
.family-card-image.is-missing { background: #fff; }
.family-card-info { display: flex; height: 100%; flex-direction: column; align-items: stretch; padding: clamp(20px, 2.5vw, 30px); background: var(--surface); }
.family-card-info h3 { margin: 0 0 8px; font-size: clamp(22.8px, 2.52vw, 34.8px); line-height: .96; letter-spacing: -.05em; }
.family-description { min-height: 0; margin: 0; font-size: 18px; line-height: 1.35; }
.family-card .family-details { margin-top: 18px; }
.gallery-mobile-nav { display: flex; align-items: center; justify-content: flex-end; gap: 18px; padding-top: 12px; }
.gallery-mobile-nav--compact { justify-content: flex-end; }
.gallery-mobile-nav > span { color: var(--muted); font-size: 11px; line-height: 1; letter-spacing: .1em; text-transform: uppercase; }
.gallery-dots { display: flex; align-items: center; gap: 7px; }
.gallery-dot { position: relative; width: 7px; height: 7px; border: 1px solid var(--ink); border-radius: 50%; padding: 0; background: transparent; cursor: pointer; }
.gallery-dot::after { content: ""; position: absolute; inset: -9px -3.5px; }
.gallery-dot.is-active { background: var(--ink); }
.related { border-top: 1px solid var(--ink); padding-top: 28px; }
.related h2 { margin-bottom: 34px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
@media (min-width: 951px) { .related-grid[data-count="6"] { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.related-card { display: grid; grid-template-rows: auto 1fr; min-height: 180px; border-radius: var(--radius); padding: 22px; background: #dfded8; text-decoration: none; }
.related-card > span { display: block; margin: 0; white-space: nowrap; font-size: clamp(10px, .72vw, 11px); line-height: 1.2; text-transform: uppercase; letter-spacing: .07em; }
.related-card strong { align-self: center; display: block; max-width: 100%; font-size: clamp(22px, 2.4vw, 36px); line-height: .98; letter-spacing: -.04em; overflow-wrap: normal; word-break: normal; hyphens: none; }
.enquire { display: inline-block; margin-top: 48px; border: 1px solid var(--ink); border-radius: 999px; padding: 14px 20px; text-decoration: none; }
.enquire:hover { background: var(--ink); color: var(--paper); }

/* Smart City page */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.scenario { border-top: 1px solid var(--ink); padding: clamp(34px, 4vw, 58px) var(--pad) clamp(70px, 8vw, 120px); }
.scenario-overview { margin-bottom: clamp(44px, 5vw, 72px); }
.scenario-overview .overview-copy p:last-child { margin-bottom: 0; }
.scenario-map { display: flex; flex-direction: column; }
.scenario-image { border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.scenario-image img { display: block; width: 100%; height: auto; }
/* caption and layers read as one block: the caption is its title, one continuous rule runs under it */
.scenario-layers { margin-top: clamp(16px, 1.7vw, 24px); }
.scenario-caption { margin: 0 0 clamp(12px, 1.2vw, 16px); font-size: var(--catalogue-copy-size); line-height: 1.35; }
/* the layers: a labelled list of the systems in the scenario, in as many columns as fit */
.scenario-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0; }
.scenario-group { border-top: 1px solid var(--ink); padding: 14px var(--pad) 10px 0; }
.scenario-group-label { margin: 0 0 4px; color: var(--muted); font-size: 11px; line-height: 12px; letter-spacing: .08em; text-transform: uppercase; }
.scenario-thumb { display: flex; align-items: center; gap: 16px; padding: 9px 0; text-decoration: none; }
.scenario-thumb + .scenario-thumb { border-top: 1px solid var(--line); }
.scenario-thumb:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.scenario-thumb-image { flex: 0 0 auto; width: 56px; height: 56px; border-radius: 6px; overflow: hidden; background: var(--surface); }
.scenario-thumb-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.scenario-thumb:hover .scenario-thumb-image img { transform: scale(1.06); }
.scenario-thumb-image.is-round { border-radius: 50%; }
.scenario-thumb-image.is-hex { border-radius: 0; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.scenario-thumb-name { font-size: clamp(18px, 1.5vw, 22px); font-weight: 700; line-height: 1.02; letter-spacing: -.04em; }
.scenario + .catalogue { border-top: 1px solid var(--ink); padding-top: clamp(34px, 4vw, 58px); }

/* Privacy policy */
.policy { padding: 0 var(--pad) clamp(70px, 8vw, 120px); }
.policy-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: var(--pad); border-top: 1px solid var(--ink); padding: 24px 0 clamp(26px, 3vw, 44px); }
.policy-row h2 { margin: 0; font-size: clamp(20px, 2vw, 30px); line-height: 1.05; letter-spacing: -.035em; }
.policy-row p { max-width: 64ch; margin: 0 0 1em; font-size: 16px; line-height: 1.5; }
.policy-row p:last-child { margin-bottom: 0; }
.policy-row a { text-underline-offset: 3px; }
.policy-todo { padding: 1px 4px; background: #ffe45c; color: var(--ink); }

/* Cookie notice */
.cookie-notice { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 14px var(--pad); padding: 14px var(--pad) max(14px, env(safe-area-inset-bottom)); background: #0a0a0a; color: #f1f0ec; font-size: 14px; line-height: 1.4; }
.cookie-notice p { margin: 0; }
.cookie-notice a { color: inherit; text-underline-offset: 3px; }
.cookie-notice button { flex: 0 0 auto; border: 1px solid currentColor; border-radius: 999px; padding: 8px 22px; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.cookie-notice button:hover { background: #f1f0ec; color: #0a0a0a; }
.cookie-notice button:focus-visible, .cookie-notice a:focus-visible { outline: 2px solid #f1f0ec; outline-offset: 3px; }

/* Request the catalogue */
/* the catalogue section on the About page: same rhythm as the other pages (space, rule, space) */
.about--company { padding-bottom: clamp(70px, 8vw, 120px); }
.about.request { scroll-margin-top: 76px; border-top: 1px solid var(--ink); padding-top: clamp(34px, 4vw, 58px); }
.request-cover { width: min(100%, 340px); aspect-ratio: 612 / 811; margin-top: clamp(30px, 3.4vw, 52px); border: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.request-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.request-side { display: grid; align-content: start; gap: clamp(52px, 6vw, 88px); min-width: 0; }
.request-panel { scroll-margin-top: 100px; min-width: 0; border-top: 1px solid var(--ink); padding-top: 22px; }
.request-intro { margin: 0 0 34px; font-size: clamp(20px, 2vw, 31px); line-height: 1.15; letter-spacing: -.025em; }
.request-label { display: block; margin-bottom: 10px; color: var(--muted); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.request-input { display: block; width: 100%; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; padding: 6px 0 12px; background: transparent; color: var(--ink); font: inherit; font-size: clamp(20px, 2vw, 31px); letter-spacing: -.025em; -webkit-appearance: none; appearance: none; }
.request-input + .request-label { margin-top: 30px; }
.request-field + .request-field { margin-top: 30px; }
.request-input:focus-visible { outline: 2px solid var(--ink); outline-offset: 6px; }
.request-input[aria-invalid="true"] { border-bottom-width: 2px; }
/* About: the form uses the same thin grey rules as the tables; no extra black line above it */
.request-panel { border-top: 0; padding-top: 0; }
.request-input { border-bottom-color: var(--line); }
.request-input:focus, .request-input[aria-invalid="true"] { border-bottom-color: var(--ink); }
.request-check { display: flex; align-items: flex-start; gap: 12px; margin-top: 24px; cursor: pointer; }
.request-check input { flex: 0 0 auto; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ink); }
.request-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.request-error { margin: 12px 0 0; font-weight: 700; }
.request-submit { margin-top: 34px; background: transparent; color: var(--ink); font: inherit; cursor: pointer; }
.request-submit:hover { background: var(--ink); color: var(--paper); }
.request-submit:disabled { opacity: .5; cursor: progress; }
.request-submit:focus-visible, .request-done .enquire:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.request-note { max-width: 46ch; margin: 26px 0 0; color: var(--muted); font-size: 13px; line-height: 1.4; }
.request-preview { color: var(--ink); }
.request-done:focus { outline: none; }
.request-done .request-intro { margin-bottom: 0; }
.request-done .enquire { margin-top: 34px; }
.request-purchase .request-intro { margin-bottom: 26px; }
.request-shop { border-top-color: var(--line); }
.request-buy { margin-top: 30px; }
.request-buy:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.request-buy[aria-disabled="true"] { opacity: .5; pointer-events: none; }

.about { min-height: 0; padding: 80px var(--pad) clamp(90px, 10vw, 150px); }
.editorial-intro + .catalogue,
.editorial-intro + .about, .editorial-intro + .about-sections > .about:first-child { padding-top: clamp(28px, 3vw, 44px); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--pad); margin-top: 0; }
.about-heading .section-label { margin-bottom: 14px; }
.about-grid dl { margin: 0; }
.about-grid dl div { display: grid; grid-template-columns: 1fr 1.5fr; padding: 14px 0; border-top: 1px solid var(--line); }
.about-grid dd { margin: 0; }

.technical-drawing { margin: 0 0 120px; border-top: 1px solid var(--ink); padding-top: 28px; }
.technical-drawing-head { display: grid; grid-template-columns: 1fr 1fr; gap: var(--pad); align-items: end; margin-bottom: 28px; }
.technical-drawing-head p:last-child { max-width: 580px; margin: 0; font-size: 18px; line-height: 1.35; }
.technical-sheet { width: min(72%, 880px); aspect-ratio: 4 / 3; margin-left: auto; border-radius: var(--radius); overflow: hidden; background: #e2e1dc; }
.technical-sheet img { width: 100%; height: 100%; object-fit: contain; }

.site-footer { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--pad); row-gap: 0; min-height: 224px; padding: 34px var(--pad); background: #0a0a0a; color: #f1f0ec; }
.site-footer p { margin: 0 0 6px; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover, .site-footer a:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
.footer-nav, .footer-contact { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 8px; line-height: 1.2; }
.footer-nav { font-size: 12px; letter-spacing: .08em; }
.footer-contact { font-size: 16px; line-height: 1.25; letter-spacing: 0; }
.footer-nav { text-transform: uppercase; }
.footer-contact p { margin: 0; }
/* the two standing actions, on every page */
.footer-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.footer-actions a { border: 1px solid rgba(241, 240, 236, .75); border-radius: 999px; padding: 12px 20px; font-size: 15px; line-height: 1.1; }
.site-footer .footer-actions a:hover, .site-footer .footer-actions a:focus-visible { background: #f1f0ec; color: #0a0a0a; text-decoration: none; }
.footer-actions a:focus-visible { outline: 2px solid #f1f0ec; outline-offset: 3px; }
.footer-credit { grid-column: 1 / -1; align-self: end; margin: 42px 0 0 !important; padding-top: 14px; border-top: 1px solid rgba(241, 240, 236, .28); font-size: 10px; line-height: 1.3; letter-spacing: .08em; text-transform: uppercase; }

@media (max-width: 950px) {
  .site-header { min-height: 64px; }
  .menu-button { display: block; margin-left: auto; }
  .main-nav { display: none; position: absolute; inset: 64px 0 auto; max-height: calc(100dvh - 64px); overflow-y: auto; flex-direction: column; align-items: flex-end; gap: 0; margin-left: 0; padding: 12px var(--pad) 24px; background: var(--paper); border-bottom: 1px solid var(--line); text-align: right; }
  .main-nav.is-open { display: flex; }
  .main-nav a { width: fit-content; padding: 11px 0; font-size: 20px; text-align: right; }
  .hero { grid-template-columns: 1fr; align-items: start; }
  .hero-object { min-height: 0; width: min(68vw, 460px); justify-self: start; }
  .editorial-intro { grid-template-columns: 1fr; }
  .editorial-intro-copy { min-height: 0; padding: 24px 0 0; }
  .editorial-intro-copy > p:last-child { max-width: none; }
  .solution-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* index: keep the three featured entries in one row on tablets instead of 2 + 1 */
  .solution-grid.is-featured { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .solution-grid.is-featured .card-body h3 { font-size: clamp(22px, 3.1vw, 28px); }
  .detail-hero { grid-template-columns: 1fr; }
  .detail-title { min-height: 0; }
  .detail-media-rail { gap: 10px; }
  .gallery-stage, .gallery--portrait .gallery-stage { grid-template-columns: 1fr; }
  .gallery-image-wrap { min-height: 0; }
  .gallery-stage img { height: min(70vw, 600px); }
  .gallery--portrait .gallery-stage img { height: min(100vw, 570px); }
  .gallery-info { min-height: 230px; }
  .family-card, .gallery--portrait .family-card { flex-basis: min(64vw, 560px); }
}

@media (max-width: 700px) {
  .hero { min-height: auto; padding-top: 28px; }
  .hero h1 { font-size: clamp(52px, 14.95vw, 83.2px); }
  .hero-object { min-height: 0; width: min(88vw, 390px); }
  .category-hero--text-only { min-height: 0; padding-top: 42px; padding-bottom: 58px; }
  .category-hero--text-only h1 { font-size: clamp(52px, 14.95vw, 83.2px); }
  .statement-hero { padding-bottom: 54px; }
  .editorial-intro { gap: 8px; padding-bottom: 30px; }
  .editorial-intro-copy { min-height: 0; padding: 24px 0 0; }
  :root { --editorial-copy-size: clamp(22px, 7vw, 30px); }
  .index-intro, .scenario-intro { padding-bottom: 74px; }
  .index-divisions { grid-template-columns: 1fr; gap: 18px; padding-top: 28px; padding-bottom: 28px; }
  .index-feature { grid-template-columns: 1fr; gap: 24px; }
  .index-divisions .index-feature { gap: 0; }
  .index-divisions .index-feature-copy { min-height: 0; padding: 24px 22px 26px; }
  .index-feature-media { width: min(72vw, 360px); }
  .index-divisions .index-feature-media { width: 100%; }
  .index-feature-copy h2 { margin-bottom: 18px; }
  .index-feature-copy > p { margin-bottom: 26px; }
  .catalogue--index-grid { padding-bottom: 74px; }
  .catalogue { padding-top: 55px; }
  .editorial-intro + .catalogue,
  .editorial-intro + .about, .editorial-intro + .about-sections > .about:first-child { padding-top: 26px; }
  .system-groups { gap: 8px 20px; margin-bottom: 16px; }
  .filters {
    right: max(12px, env(safe-area-inset-right));
    bottom: calc(max(12px, env(safe-area-inset-bottom)) + var(--notice-height, 0px));
    max-width: calc(100vw - 24px);
  }
  .filter-row {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    width: min(430px, calc(100vw - 24px));
    max-width: 100%;
    gap: 7px;
    padding: 10px;
  }
  .filter-toggle {
    max-width: 100%;
    padding: 9px 13px 8px;
    font-size: 11px;
    text-align: left;
  }
  .filter { grid-column: span 4; }
  .filter-row:has(.filter:nth-child(6)) .filter:nth-child(1),
  .filter-row:has(.filter:nth-child(6)) .filter:nth-child(2) { grid-column: span 3; }
  .filter-row:has(.filter:nth-child(6)) .filter:nth-child(3) { grid-column: span 6; }
  .filter {
    width: 100%;
    min-width: 0;
    padding: 9px clamp(4px, 1.8vw, 9px) 8px;
    font-size: 11px;
    white-space: nowrap;
  }
  .catalogue-head, .overview, .about-grid { grid-template-columns: 1fr; }
  .request-cover { width: min(56%, 230px); margin-top: 26px; }
  .catalogue-head { gap: 24px; }
  .solution-grid, .solution-grid.is-featured { grid-template-columns: 1fr; }
  .policy-row { grid-template-columns: 1fr; gap: 12px; }
  .cookie-notice { gap: 14px; padding-top: 12px; font-size: 13px; }
  .cookie-notice button { padding: 8px 18px; }
  .scenario-image { aspect-ratio: 4 / 5; }
  .scenario-image img { height: 100%; object-fit: cover; object-position: 47% 50%; }
  .scenario-groups { grid-template-columns: 1fr; }
  .scenario-group { padding-right: 0; }
  .scenario-thumb-name { font-size: 22px; }
  .solution-grid.is-featured .card-body h3 { font-size: clamp(28px, 2.7vw, 46px); }
  .card-body { min-height: 0; padding: 17px 18px 19px; }
  .detail-title { min-height: 0; grid-template-columns: minmax(0, 1fr); padding-top: 24px; padding-bottom: 42px; }
  .detail-title .eyebrow { grid-column: 1; margin-bottom: 38px; }
  .back { margin-bottom: 38px; }
  .detail-title h1 { grid-column: 1; margin-bottom: 22px; }
  .detail-title .promise { grid-column: 1; padding-bottom: 0; }
  .detail-media-rail { align-items: flex-start; gap: 12px; }
  /* phones: each photograph is shown large and swiped one at a time. Landscape images fill the width;
     portrait images take most of it, leaving the edge of the next one visible. */
  .detail-media-item,
  .detail-media-item.is-landscape,
  .detail-media-item.is-portrait {
    flex: 0 0 auto;
    height: auto;
    max-height: none;
  }
  .detail-media-item.is-landscape { width: 100vw; aspect-ratio: 4 / 3; }
  .detail-media-item.is-portrait { width: 82vw; aspect-ratio: 3 / 4; }
  .detail-media-rail.is-single .detail-media-item.is-portrait { width: 100vw; }
  /* rows that mix landscape and portrait: every image the same height (that of a full-width landscape),
     so nothing moves while swiping and there is no empty space */
  .detail-media-rail.is-mixed .detail-media-item.is-portrait { width: auto; height: 75vw; }
  .detail-content { padding-top: 70px; }
  .overview { margin-bottom: 80px; }
  .specs div { grid-template-columns: 1fr; gap: 5px; }
  .gallery { margin-bottom: 85px; }
  .gallery-head { align-items: center; }
  .gallery-stage { min-height: 0; }
  .gallery-stage img { height: 78vw; }
  .gallery--portrait .gallery-image-wrap { padding: 18px; }
  .gallery--portrait .gallery-stage img { height: min(118vw, 540px); }
  .family-card, .gallery--portrait .family-card { flex-basis: min(88vw, 430px); }
  .family-card-image, .gallery--portrait .family-card-image { padding: 0; }
  .family-card-info { padding: 24px; }
  .technical-drawing { margin-bottom: 85px; }
  .technical-drawing-head { grid-template-columns: 1fr; }
  .technical-sheet { width: 82%; aspect-ratio: 4 / 3; }
  .related-grid { grid-template-columns: 1fr; gap: 8px; }
  .related-card { min-height: 110px; padding: 16px 18px; }
  .related-card strong { font-size: clamp(20px, 6.4vw, 28px); }
  .site-footer { grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: 224px; }
  .footer-contact { flex-direction: column; flex-wrap: nowrap; }
}

@media (max-width: 430px) {
  .site-footer { grid-template-columns: 1fr; row-gap: 30px; }
  .footer-nav { display: flex; }
  .footer-credit { grid-column: auto; margin-top: 10px !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card-image img { transition: none; }
}

/* LARGE SCREENS: above 1600px the layout stops growing and stays centred.
   Backgrounds (header, footer) still run edge to edge; only the content is held to 1600px. */
@media (min-width: 1601px) {
  main { padding-inline: calc((100% - 1600px) / 2); }
  .site-header, .site-footer { padding-left: calc((100% - 1600px) / 2 + var(--pad)); padding-right: calc((100% - 1600px) / 2 + var(--pad)); }
}


/* CAREERS (About page) */
.about.careers { scroll-margin-top: 76px; border-top: 1px solid var(--ink); padding-top: clamp(34px, 4vw, 58px); }
.careers-intro { max-width: 36ch; margin: 0 0 24px; font-size: clamp(18px, 1.6vw, 24px); line-height: 1.25; }
.about-grid .careers dt span, .careers dt span { display: block; color: var(--muted); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; margin-top: 4px; }
.careers .enquire { margin-top: 28px; }
.careers-check { max-width: 46ch; font-size: 14px; line-height: 1.4; }
.careers-check a { text-underline-offset: 3px; }
.careers-apply.is-disabled { opacity: .45; }
.careers-apply.is-disabled:hover { background: transparent; color: var(--ink); }

/* About: section heights on desktop */
@media (min-width: 951px) {
  /* Company information keeps its own (short) height; Newsletter and Work with us match each other */
  .about-sections { display: grid; grid-template-rows: auto 1fr 1fr; }
  /* kept compact: the same space above and below each section, name and email side by side */
  .about-sections > .about { padding-bottom: clamp(34px, 4vw, 58px); }
  .about-sections .request-intro { margin-bottom: 22px; }
  .about-sections .request-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .about-sections .request-field + .request-field { margin-top: 0; }
  .about-sections .request-submit { margin-top: 24px; }
  .about-sections .request-note { margin-top: 16px; }
}
