﻿:root {
  color-scheme: light;
  --black: #070708;
  --ink: #111216;
  --smoke: #eceef1;
  --paper: #f7f7f4;
  --muted: #767b83;
  --red: #ff2323;
  --orange: #ff7a1a;
  --blue: #2877d8;
  --cyan: #42d2e8;
  --max: 1240px;
  --display: "Bahnschrift", "Aptos Display", "Segoe UI", Arial, sans-serif;
  --text: "Aptos", "Segoe UI", Arial, sans-serif;
}

.tech-model-page {
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 12%, rgba(255, 35, 35, 0.18), transparent 30%),
    linear-gradient(180deg, #070708 0 780px, #e7e7e1 780px 100%);
}

.tech-model-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: center;
  padding: 22px max(22px, calc((100vw - var(--max)) / 2));
  background: rgba(7, 7, 8, 0.84);
  backdrop-filter: blur(18px);
}

.tech-model-header .brand img {
  width: 54px;
}

.tech-model-header .nav {
  justify-content: end;
}

.tech-model-header .nav a {
  color: rgba(255, 255, 255, 0.84);
}

.tech-models {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 82px 0 110px;
}

.tech-model-intro {
  max-width: 900px;
  margin-bottom: 54px;
  color: #fff;
}

.tech-model-intro h1 {
  max-width: 880px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(58px, 7vw, 104px);
  font-weight: 330;
  line-height: 0.92;
  letter-spacing: 0;
}

.tech-model-intro p:not(.kicker) {
  max-width: 720px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 20px;
  line-height: 1.55;
}

.tech-sheet {
  position: relative;
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 0;
  min-height: 1020px;
  margin: 38px 0;
  overflow: hidden;
  scroll-margin-top: 118px;
  background: #f8f8f4;
  border: 1px solid rgba(17, 18, 22, 0.12);
  box-shadow: 0 34px 92px rgba(0, 0, 0, 0.22);
}

.tech-sheet::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 76px;
  height: 8px;
  background: linear-gradient(90deg, var(--red), var(--orange), var(--cyan), var(--blue));
}

.sheet-rail {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 24px;
  padding: 24px 18px;
  color: #fff;
  background: #08090c;
}

.sheet-rail img {
  width: 42px;
}

.sheet-rail span {
  align-self: end;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: rgba(255, 255, 255, 0.74);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.sheet-hero {
  grid-column: 2;
  display: grid;
  grid-template-columns: minmax(340px, 0.95fr) minmax(300px, 0.8fr);
  gap: 30px;
  min-height: 390px;
  padding: 52px 50px 30px;
  background:
    radial-gradient(circle at 82% 38%, rgba(255, 35, 35, 0.14), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f5f5f0 100%);
}

.sheet-copy h2 {
  max-width: 640px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 330;
  line-height: 0.95;
  letter-spacing: 0;
}

.sheet-copy p:not(.kicker) {
  max-width: 620px;
  margin: 24px 0 0;
  color: #555b63;
  font-size: 18px;
  line-height: 1.58;
}

.sheet-visual {
  position: relative;
  display: grid;
  min-height: 310px;
  margin: 0;
  place-items: center;
}

.sheet-visual::before {
  content: "";
  position: absolute;
  inset: 12% 0 0 4%;
  background: radial-gradient(circle, rgba(255, 35, 35, 0.2), rgba(66, 210, 232, 0.08), transparent 68%);
  filter: blur(28px);
}

.sheet-visual img {
  position: relative;
  z-index: 1;
  width: min(115%, 430px);
  max-height: 310px;
  object-fit: contain;
  filter: drop-shadow(0 26px 32px rgba(0, 0, 0, 0.22));
}

.sheet-visual.linear img {
  width: min(112%, 500px);
}

.sheet-visual.wide img {
  width: min(118%, 470px);
}

.sheet-grid {
  grid-column: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 24px 50px 34px;
}

.sheet-panel {
  min-height: 210px;
  padding: 24px;
  background: #fff;
  border: 1px solid rgba(17, 18, 22, 0.1);
}

.sheet-panel h3 {
  margin: 0 0 18px;
  color: var(--red);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.sheet-panel p {
  margin: 0;
  color: #4e545c;
  font-size: 16px;
  line-height: 1.58;
}

.sheet-drawing {
  display: grid;
  gap: 14px;
  align-content: start;
}

.sheet-drawing figcaption {
  margin: 0;
  color: var(--red);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.sheet-drawing img {
  width: 100%;
  max-height: 260px;
  object-fit: contain;
  background: #fff;
  border: 1px solid rgba(17, 18, 22, 0.08);
}

.sheet-drawing p {
  color: #686e76;
  font-size: 14px;
  line-height: 1.45;
}

.sheet-panel dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 0;
  border-top: 1px solid rgba(17, 18, 22, 0.12);
  border-left: 1px solid rgba(17, 18, 22, 0.12);
}

.sheet-panel dl div {
  min-height: 76px;
  padding: 13px 14px;
  border-right: 1px solid rgba(17, 18, 22, 0.12);
  border-bottom: 1px solid rgba(17, 18, 22, 0.12);
}

.sheet-panel dt {
  margin: 0 0 8px;
  color: #858a91;
  font-family: var(--display);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sheet-panel dd {
  margin: 0;
  color: #111216;
  font-size: 17px;
  line-height: 1.2;
}

.key-data {
  grid-row: span 2;
}

.sheet-panel.system {
  color: #fff;
  background: #111216;
}

.sheet-panel.system h3 {
  color: var(--cyan);
}

.sheet-panel.system ul {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.sheet-panel.system li {
  display: grid;
  gap: 6px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.sheet-panel.system li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.sheet-panel.system strong {
  color: #fff;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 350;
}

.sheet-panel.system span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 15px;
  line-height: 1.45;
}

.sheet-footer {
  grid-column: 2;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 50px 28px;
  color: #686e76;
  border-top: 1px solid rgba(17, 18, 22, 0.12);
}

.sheet-footer strong {
  color: #111216;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .tech-model-header .nav {
    display: none;
  }

  .tech-sheet {
    grid-template-columns: 1fr;
  }

  .tech-sheet::before {
    left: 0;
  }

  .sheet-rail {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto;
    align-items: center;
  }

  .sheet-rail span {
    writing-mode: initial;
    transform: none;
  }

  .sheet-hero,
  .sheet-grid {
    grid-template-columns: 1fr;
    padding-right: 24px;
    padding-left: 24px;
  }

  .key-data {
    grid-row: auto;
  }

  .sheet-footer {
    grid-column: 1;
    flex-direction: column;
    padding-right: 24px;
    padding-left: 24px;
  }
}

@media print {
  body.tech-model-page {
    background: #fff !important;
  }

  body.tech-model-page > * {
    display: block !important;
  }

  body.tech-model-page .tech-model-header,
  body.tech-model-page .tech-model-intro {
    display: none !important;
  }

  body.tech-model-page .tech-models {
    width: auto !important;
    padding: 0 !important;
  }

  body.tech-model-page .tech-sheet {
    min-height: 287mm;
    margin: 0 !important;
    box-shadow: none !important;
    page-break-after: always;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--paper);
  background:
    linear-gradient(180deg, #060607 0%, #101115 38%, #f4f4ef 66%, #080809 100%);
  font-family: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(20px, 4vw, 58px);
  color: rgba(255, 255, 255, 0.9);
  background: linear-gradient(180deg, rgba(5, 5, 6, 0.82), rgba(5, 5, 6, 0));
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.brand {
  position: relative;
  display: block;
  width: 54px;
  height: 56px;
}

.brand img {
  position: absolute;
  inset: 0;
  width: 54px;
  height: auto;
  transition: opacity 180ms ease;
}

.logo-dark {
  opacity: 0;
}

.logo-light {
  opacity: 1;
}

.topbar.is-light {
  color: rgba(14, 15, 18, 0.92);
  background: rgba(247, 247, 244, 0.84);
  box-shadow: 0 1px 0 rgba(10, 10, 10, 0.08);
  backdrop-filter: blur(18px);
}

.topbar.is-light .logo-dark {
  opacity: 1;
}

.topbar.is-light .logo-light {
  opacity: 0;
}

.nav {
  display: flex;
  justify-content: flex-end;
  gap: clamp(18px, 3vw, 44px);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav a,
.contact-link {
  padding: 10px 0;
  border-bottom: 1px solid transparent;
}

.nav a:hover,
.contact-link:hover {
  border-bottom-color: var(--red);
}

.contact-link {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-tray-trigger {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 10px;
  color: inherit;
  background: transparent;
  border: 0;
  border-bottom: 1px solid transparent;
  cursor: pointer;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-tray-trigger:hover {
  border-bottom-color: var(--red);
}

.project-tray-trigger span {
  display: inline-grid;
  min-width: 24px;
  height: 24px;
  place-items: center;
  color: #fff;
  background: var(--red);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0;
}

.page {
  overflow: hidden;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(28px, 5vw, 76px);
  width: min(var(--max), calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 150px 0 86px;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  left: -12vw;
  top: 16vh;
  width: 2px;
  height: 58vh;
  background: linear-gradient(180deg, var(--red), var(--orange), #b8ff2c, var(--blue));
}

.kicker {
  margin: 0 0 22px;
  color: var(--cyan);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.craft-copy h2,
.contact h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 350;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 700px;
  font-size: clamp(58px, 8.8vw, 126px);
  line-height: 0.86;
}

.hero h1 span {
  display: block;
  color: var(--red);
  font-weight: 700;
}

.hero-copy > p:not(.kicker) {
  max-width: 610px;
  margin: 34px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 42px;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-actions a {
  padding-bottom: 8px;
  border-bottom: 2px solid var(--red);
}

.inline-link {
  display: inline-block;
  width: max-content;
  margin-top: 26px;
  padding-bottom: 8px;
  color: var(--red);
  border-bottom: 2px solid var(--red);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-stage {
  position: relative;
  min-height: 680px;
}

.hero-main {
  position: absolute;
  right: 0;
  top: 12%;
  width: 78%;
  height: 62%;
  object-fit: cover;
  box-shadow: 0 38px 90px rgba(0, 0, 0, 0.48);
}

.hero-float {
  position: absolute;
  object-fit: contain;
  filter: drop-shadow(0 24px 38px rgba(0, 0, 0, 0.42));
}

.hero-float.top {
  left: 0;
  top: 0;
  width: 48%;
}

.hero-float.bottom {
  left: 6%;
  bottom: 2%;
  width: 68%;
}

.statement {
  display: grid;
  grid-template-columns: minmax(340px, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(28px, 6vw, 86px);
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 70px 0 120px;
}

.statement > p {
  margin: 0;
  color: var(--paper);
  font-family: var(--display);
  font-size: clamp(32px, 4.6vw, 68px);
  font-weight: 320;
  line-height: 1.02;
}

.statement strong {
  color: var(--red);
  font-weight: 700;
}

.facts {
  display: grid;
  align-content: end;
  gap: 22px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
}

.facts span {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.facts strong {
  color: var(--paper);
  font-family: var(--display);
  font-size: 18px;
}

.visual-river {
  padding: 88px 0 120px;
  color: var(--ink);
  background: var(--paper);
}

.section-heading {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto 58px;
}

.section-heading h2,
.craft-copy h2,
.contact h2 {
  max-width: 940px;
  color: currentColor;
  font-size: clamp(42px, 6vw, 86px);
  line-height: 0.95;
}

.visual-river .kicker,
.products-flow .kicker,
.references .kicker {
  color: var(--red);
}

.river {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 92px;
  gap: 18px;
}

.river-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #d9d9d4;
}

.river-item.large {
  grid-column: 1 / span 6;
  grid-row: 1 / span 5;
}

.river-item.portrait {
  grid-column: 7 / span 3;
  grid-row: 1 / span 7;
}

.river-item:nth-child(3) {
  grid-column: 10 / span 3;
  grid-row: 1 / span 3;
}

.river-item:nth-child(4) {
  grid-column: 1 / span 4;
  grid-row: 6 / span 3;
}

.river-item.tall {
  grid-column: 10 / span 3;
  grid-row: 4 / span 5;
}

.river-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.river-item figcaption {
  position: absolute;
  left: 18px;
  bottom: 16px;
  color: #fff;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.8);
}

.craft-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(340px, 0.85fr) minmax(280px, 0.65fr);
  gap: clamp(32px, 7vw, 92px);
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 132px 0;
  color: var(--paper);
}

.craft-band::before {
  content: "";
  position: absolute;
  inset: 54px -18vw;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 7, 8, 0.96), rgba(7, 7, 8, 0.64)),
    url("assets/projects/red-linear-detail.png") center / cover;
}

.craft-copy p:not(.kicker) {
  max-width: 660px;
  margin: 32px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 19px;
  line-height: 1.7;
}

.craft-terms {
  display: flex;
  flex-wrap: wrap;
  align-content: end;
  gap: 12px;
}

.craft-terms span {
  padding: 10px 0;
  color: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.26);
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 58px);
  font-weight: 320;
  line-height: 1;
}

.products-flow {
  padding: 120px 0;
  color: var(--ink);
  background: var(--paper);
}

.product-line {
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(280px, 0.74fr);
  gap: clamp(28px, 7vw, 100px);
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 42px 0;
  align-items: center;
}

.product-line.reverse {
  grid-template-columns: minmax(280px, 0.74fr) minmax(320px, 0.86fr);
}

.product-line.reverse img {
  order: 2;
}

.product-line img {
  width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.14));
}

.product-line img[src*="catalog-transparent-assets"] {
  width: min(118%, 700px);
  justify-self: center;
}

.product-line span {
  color: var(--red);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.product-line h3 {
  margin: 14px 0 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(34px, 4.5vw, 64px);
  font-weight: 360;
  line-height: 0.96;
}

.product-line p {
  max-width: 520px;
  margin: 22px 0 0;
  color: #555b63;
  font-size: 19px;
  line-height: 1.55;
}

.references {
  padding: 112px 0 128px;
  color: var(--ink);
  background: #fff;
}

.reference-cloud {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 4vw, 58px);
}

.reference-cloud img {
  width: auto;
  max-width: 150px;
  max-height: 78px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.76;
}

.reference-cloud img:nth-child(1),
.reference-cloud img:nth-child(5) {
  max-width: 190px;
}

.reference-cloud img:hover {
  filter: grayscale(0);
  opacity: 1;
}

.contact {
  display: grid;
  grid-template-columns: minmax(340px, 0.95fr) minmax(280px, 0.55fr);
  gap: clamp(32px, 7vw, 98px);
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 116px 0 132px;
  color: var(--paper);
}

.contact p:not(.kicker) {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 20px;
  line-height: 1.55;
}

.contact a {
  align-self: end;
  width: max-content;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--red);
  font-family: var(--display);
  font-size: 22px;
}

.product-page {
  color: var(--paper);
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 35, 35, 0.28), transparent 26%),
    linear-gradient(180deg, #060607 0%, #111217 44%, #f4f4ef 44%, #f4f4ef 78%, #070708 78%, #070708 100%);
}

.linear-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(420px, 1.05fr);
  gap: clamp(32px, 6vw, 92px);
  width: min(var(--max), calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 150px 0 92px;
  align-items: center;
}

.linear-hero::before {
  content: "";
  position: absolute;
  left: -11vw;
  top: 18vh;
  width: 2px;
  height: 54vh;
  background: linear-gradient(180deg, var(--red), var(--orange), #c8ff2a, var(--blue));
}

.linear-hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(58px, 8vw, 118px);
  font-weight: 340;
  line-height: 0.88;
  letter-spacing: 0;
}

.linear-hero-copy > p:not(.kicker) {
  max-width: 640px;
  margin: 34px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.58;
}

.linear-hero-product {
  position: relative;
  min-height: 560px;
}

.linear-hero-product::before {
  content: "";
  position: absolute;
  inset: 18% -6% 16% 4%;
  background:
    linear-gradient(90deg, rgba(255, 35, 35, 0.88), rgba(255, 122, 26, 0.24), rgba(40, 119, 216, 0.15));
  filter: blur(38px);
  opacity: 0.72;
}

.linear-hero-product img {
  position: relative;
  width: 112%;
  max-width: none;
  margin-left: -10%;
  object-fit: contain;
  filter: drop-shadow(0 38px 44px rgba(0, 0, 0, 0.46));
}

.linear-statement {
  display: grid;
  grid-template-columns: minmax(340px, 1.1fr) minmax(300px, 0.7fr);
  gap: clamp(30px, 7vw, 98px);
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 64px 0 120px;
}

.linear-statement > p {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(34px, 5.2vw, 78px);
  font-weight: 320;
  line-height: 0.98;
}

.linear-statement strong {
  color: var(--red);
  font-weight: 720;
}

.linear-facts {
  display: grid;
  align-content: end;
  gap: 22px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
}

.linear-facts span {
  display: grid;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.linear-facts strong {
  color: var(--paper);
  font-family: var(--display);
  font-size: 22px;
}

.family-map {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 8px 0 122px;
  color: var(--paper);
}

.family-map .section-heading {
  width: 100%;
  margin-bottom: 42px;
}

.family-map .section-heading h2 {
  max-width: 1040px;
}

.family-flow {
  position: relative;
  display: grid;
  grid-template-columns: 0.85fr 1.05fr 0.95fr;
  gap: clamp(18px, 3vw, 42px);
  align-items: stretch;
}

.family-flow::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 50%;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--orange), var(--cyan), var(--blue));
  transform: translateY(-50%);
  opacity: 0.78;
}

.family-flow article {
  position: relative;
  min-height: 260px;
  padding: 30px 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
}

.family-flow article:nth-child(2) {
  transform: translateY(34px);
}

.family-flow span {
  color: var(--cyan);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.family-flow strong {
  display: block;
  margin-top: 58px;
  color: var(--paper);
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 58px);
  font-weight: 340;
  line-height: 0.94;
}

.family-flow p {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
  line-height: 1.56;
}

.effect-section,
.technical-section,
.configuration-section,
.archive-section,
.associated-projects {
  color: var(--ink);
  background: var(--paper);
}

.effect-section {
  padding: 118px 0 96px;
}

.effect-grid {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(10, 10, 10, 0.16);
}

.effect-grid article {
  min-height: 280px;
  padding: 28px 26px;
  border-bottom: 1px solid rgba(10, 10, 10, 0.16);
}

.effect-grid article + article {
  border-left: 1px solid rgba(10, 10, 10, 0.16);
}

.effect-grid span,
.product-page .product-line span {
  color: var(--red);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.effect-grid h3 {
  margin: 72px 0 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(30px, 3.6vw, 54px);
  font-weight: 350;
  line-height: 0.95;
}

.effect-grid p {
  margin: 18px 0 0;
  color: #555b63;
  font-size: 17px;
  line-height: 1.55;
}

.linear-anatomy {
  position: relative;
  display: grid;
  grid-template-columns: minmax(340px, 0.75fr) minmax(360px, 1fr);
  gap: clamp(32px, 7vw, 92px);
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 116px clamp(20px, 4vw, 48px);
  align-items: center;
  color: var(--paper);
  background:
    linear-gradient(135deg, rgba(8, 9, 12, 0.98), rgba(19, 22, 28, 0.96)),
    radial-gradient(circle at 80% 20%, rgba(255, 35, 35, 0.22), transparent 32%);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.linear-anatomy::before {
  content: "";
  position: absolute;
  inset: auto -18vw -120px -18vw;
  height: 42%;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 7, 8, 0.94), rgba(7, 7, 8, 0.58)),
    url("assets/projects/red-linear-detail.png") center / cover;
}

.anatomy-copy h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(42px, 5.6vw, 82px);
  font-weight: 340;
  line-height: 0.95;
}

.anatomy-copy p:not(.kicker) {
  max-width: 620px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 18px;
  line-height: 1.68;
}

.anatomy-specs {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.anatomy-specs span {
  padding: 14px 0;
  color: rgba(255, 255, 255, 0.82);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-family: var(--display);
  font-size: 15px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.anatomy-stage {
  position: relative;
  min-height: 460px;
  background:
    radial-gradient(circle at 48% 42%, rgba(255, 255, 255, 0.94), rgba(231, 235, 241, 0.78) 48%, rgba(78, 84, 94, 0.16) 70%, transparent 72%);
}

.anatomy-stage img {
  position: absolute;
  left: -8%;
  top: 20%;
  width: 112%;
  max-width: none;
  filter: drop-shadow(0 32px 38px rgba(0, 0, 0, 0.48));
}

.note {
  position: absolute;
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.94);
  background: rgba(8, 9, 12, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.note.n1 {
  left: 8%;
  top: 12%;
}

.note.n2 {
  right: 6%;
  top: 22%;
}

.note.n3 {
  left: 0;
  bottom: 18%;
}

.note.n4 {
  right: 14%;
  bottom: 10%;
}

.configuration-section {
  padding: 112px 0;
}

.technical-section {
  padding: 118px 0 78px;
}

.spec-panel {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(10, 10, 10, 0.16);
  border-left: 1px solid rgba(10, 10, 10, 0.16);
}

.spec-panel article {
  min-height: 310px;
  padding: 28px 24px 30px;
  border-right: 1px solid rgba(10, 10, 10, 0.16);
  border-bottom: 1px solid rgba(10, 10, 10, 0.16);
}

.spec-panel span {
  color: var(--red);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.spec-panel strong {
  display: block;
  min-height: 94px;
  margin-top: 54px;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(28px, 3.4vw, 46px);
  font-weight: 350;
  line-height: 0.98;
}

.spec-panel p {
  margin: 18px 0 0;
  color: #555b63;
  font-size: 16px;
  line-height: 1.55;
}

.config-list {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  border-top: 1px solid rgba(10, 10, 10, 0.16);
}

.config-list div {
  display: grid;
  grid-template-columns: minmax(240px, 0.45fr) minmax(0, 1fr);
  gap: 30px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(10, 10, 10, 0.16);
}

.config-list strong {
  color: var(--ink);
  font-family: var(--display);
  font-size: 30px;
  font-weight: 350;
  line-height: 1;
}

.config-list span {
  color: #555b63;
  font-size: 18px;
  line-height: 1.5;
}

.archive-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.54fr) minmax(420px, 1fr);
  gap: clamp(30px, 6vw, 82px);
  padding: 48px max(20px, calc((100vw - var(--max)) / 2)) 118px;
  align-items: start;
}

.archive-copy {
  position: sticky;
  top: 118px;
}

.archive-copy h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(40px, 5vw, 76px);
  font-weight: 340;
  line-height: 0.96;
}

.archive-copy p:not(.kicker) {
  margin: 28px 0 0;
  color: #555b63;
  font-size: 18px;
  line-height: 1.6;
}

.archive-docs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.archive-docs figure {
  margin: 0;
  background: #fff;
  box-shadow: 0 22px 48px rgba(10, 10, 10, 0.12);
}

.archive-docs img {
  width: 100%;
  height: min(72vh, 780px);
  object-fit: contain;
  background: #fff;
}

.archive-docs figcaption {
  padding: 14px 16px 16px;
  color: #555b63;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.associated-projects {
  padding: 86px 0 124px;
}

.associated-strip {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.25fr 0.85fr;
  gap: 18px;
  align-items: end;
}

.associated-strip figure {
  position: relative;
  min-height: 360px;
  margin: 0;
  overflow: hidden;
}

.associated-strip figure:nth-child(2) {
  min-height: 480px;
}

.associated-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.associated-strip figcaption {
  position: absolute;
  left: 20px;
  bottom: 18px;
  color: #fff;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.78);
}

.linear-contact {
  display: grid;
  grid-template-columns: minmax(340px, 0.95fr) minmax(280px, 0.55fr) auto;
  gap: clamp(30px, 5vw, 72px);
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 116px 0 132px;
  color: var(--paper);
  align-items: end;
}

.linear-contact h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(42px, 5.6vw, 82px);
  font-weight: 340;
  line-height: 0.95;
}

.linear-contact p:not(.kicker) {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 19px;
  line-height: 1.6;
}

.linear-contact a {
  width: max-content;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--red);
  font-family: var(--display);
  font-size: 22px;
}

.product-page {
  background:
    radial-gradient(circle at 74% 14%, rgba(255, 35, 35, 0.24), transparent 28%),
    radial-gradient(circle at 18% 38%, rgba(66, 210, 232, 0.12), transparent 30%),
    #070708;
}

.linear-intro {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(300px, 0.75fr);
  gap: clamp(30px, 6vw, 86px);
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 42px 0 132px;
  color: var(--paper);
}

.intro-title h2,
.configurator-heading h2,
.technical-memory h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(42px, 6vw, 86px);
  font-weight: 340;
  line-height: 0.95;
}

.intro-copy {
  display: grid;
  gap: 24px;
  align-content: end;
}

.intro-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 19px;
  line-height: 1.64;
}

.intro-facts {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.intro-facts span {
  min-height: 138px;
  padding: 22px 22px 0 0;
  color: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 15px;
  line-height: 1.45;
}

.intro-facts span + span {
  padding-left: 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.intro-facts strong {
  display: block;
  margin-bottom: 12px;
  color: var(--paper);
  font-family: var(--display);
  font-size: 22px;
  font-weight: 360;
  line-height: 1;
}

.variant-section,
.configurator-section,
.technical-memory {
  color: var(--ink);
  background: var(--paper);
}

.variant-section {
  padding: 116px 0 86px;
}

.variant-list {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  gap: 28px;
}

.variant-item {
  display: grid;
  grid-template-columns: minmax(260px, 0.46fr) minmax(0, 1fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: center;
  min-height: 280px;
  padding: 28px 0;
  border-top: 1px solid rgba(10, 10, 10, 0.14);
}

.variant-item:last-child {
  border-bottom: 1px solid rgba(10, 10, 10, 0.14);
}

.variant-visual {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.variant-visual::before,
.variant-visual::after {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  height: 18px;
  border-radius: 999px;
  transform: rotate(-8deg);
  filter: blur(0.2px);
}

.variant-visual::before {
  top: 54px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.variant-visual::after {
  top: 92px;
  opacity: 0.74;
}

.variant-visual.classic::before,
.variant-visual.classic::after {
  background: linear-gradient(90deg, #ffba42, #fff2c4);
}

.variant-visual.dual::before {
  background: linear-gradient(90deg, #ff8f1f 0 48%, #fff4d8 52% 100%);
}

.variant-visual.dual::after {
  background: linear-gradient(90deg, #fff7e3 0 48%, #ffae33 52% 100%);
}

.variant-visual.rgb::before {
  background: linear-gradient(90deg, #ff2323, #4cff56, #2877d8);
}

.variant-visual.rgb::after {
  background: linear-gradient(90deg, #ff2323, #4cff56, #2877d8, #fff);
}

.variant-item span {
  color: var(--red);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.variant-item h3 {
  max-width: 780px;
  margin: 14px 0 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 70px);
  font-weight: 340;
  line-height: 0.96;
}

.variant-item p {
  max-width: 720px;
  margin: 22px 0 0;
  color: #555b63;
  font-size: 19px;
  line-height: 1.58;
}

.project-effects {
  display: grid;
  grid-template-columns: 0.88fr 1.2fr 0.92fr;
  gap: 18px;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 104px;
  color: var(--paper);
  align-items: end;
}

.project-effects figure {
  position: relative;
  min-height: 330px;
  margin: 0;
  overflow: hidden;
}

.project-effects figure:nth-child(2) {
  min-height: 440px;
}

.project-effects img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-effects figcaption {
  position: absolute;
  left: 20px;
  bottom: 18px;
  color: #fff;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.78);
}

.configurator-section {
  padding: 118px 0 126px;
}

.configurator-heading {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto 58px;
}

.configurator-heading .kicker,
.variant-section .kicker,
.technical-memory .kicker {
  color: var(--red);
}

.configurator-heading p:not(.kicker) {
  max-width: 680px;
  margin: 26px 0 0;
  color: #555b63;
  font-size: 18px;
  line-height: 1.58;
}

.configurator {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.42fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.config-form {
  display: grid;
  gap: 0;
}

.config-form fieldset {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 26px 0;
  border: 0;
  border-top: 1px solid rgba(10, 10, 10, 0.14);
}

.config-form fieldset:last-child {
  border-bottom: 1px solid rgba(10, 10, 10, 0.14);
}

.config-form legend {
  flex: 0 0 100%;
  margin-bottom: 12px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 30px;
  font-weight: 350;
  line-height: 1;
}

.config-form label {
  cursor: pointer;
}

.config-form input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.config-form label span {
  display: flex;
  min-height: 46px;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  color: #333840;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(10, 10, 10, 0.18);
  border-radius: 6px;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.config-form label small {
  color: #767b83;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.config-form input:checked + span {
  color: #fff;
  background: #111216;
  border-color: #111216;
  box-shadow: inset 4px 0 0 var(--red);
}

.config-form input:checked + span small {
  color: rgba(255, 255, 255, 0.68);
}

.config-output {
  position: sticky;
  top: 112px;
  padding: 28px;
  color: var(--paper);
  background:
    linear-gradient(145deg, rgba(8, 9, 12, 0.98), rgba(20, 22, 28, 0.96)),
    radial-gradient(circle at 90% 8%, rgba(255, 35, 35, 0.24), transparent 34%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.config-output .kicker {
  margin-bottom: 20px;
}

.output-code {
  margin-bottom: 26px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  font-family: var(--display);
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 360;
  line-height: 1;
  overflow-wrap: anywhere;
}

.config-output dl {
  display: grid;
  gap: 0;
  margin: 0;
}

.config-output dl div {
  display: grid;
  grid-template-columns: 0.55fr 1fr;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.config-output dt {
  color: rgba(255, 255, 255, 0.56);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.config-output dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  line-height: 1.45;
}

.config-output p:not(.kicker) {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
  line-height: 1.55;
}

.system-proposal {
  display: grid;
  gap: 18px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.system-proposal-head {
  display: grid;
  gap: 8px;
}

.system-proposal-head span,
.system-proposal h4,
.system-choice > span > span {
  font-family: var(--display);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.system-proposal-head span,
.system-proposal h4 {
  color: var(--cyan);
}

.system-proposal-head strong {
  color: var(--paper);
  font-family: var(--display);
  font-size: 26px;
  font-weight: 360;
  line-height: 1;
}

.system-proposal section {
  display: grid;
  gap: 10px;
}

.system-proposal h4 {
  margin: 0;
}

.system-items {
  display: grid;
  gap: 8px;
}

.system-choice {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: start;
  padding: 13px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  cursor: pointer;
}

.system-choice > span > span {
  color: var(--red);
}

.system-choice input {
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  accent-color: var(--red);
}

.system-choice > span {
  display: block;
}

.system-choice input:not(:checked) + span {
  opacity: 0.48;
}

.system-choice strong {
  display: block;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.94);
  font-family: var(--display);
  font-size: 20px;
  font-weight: 360;
  line-height: 1;
}

.system-choice small {
  display: block;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.system-choice em {
  display: block;
  margin-top: 8px;
  color: var(--cyan);
  font-size: 12px;
  font-style: normal;
  line-height: 1.35;
}

.config-output .system-choice p,
.config-output .system-note,
.config-output .system-empty {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
  line-height: 1.45;
}

.config-output .system-note {
  margin-top: 0;
}

.config-output a {
  display: inline-block;
  margin-top: 28px;
  padding-bottom: 8px;
  color: var(--paper);
  border-bottom: 2px solid var(--red);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.output-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.output-actions button,
.tray-checkout-actions button {
  min-height: 44px;
  padding: 0 16px;
  color: var(--paper);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px;
  cursor: pointer;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
}

.output-actions button:first-child,
.tray-checkout-actions button[type="submit"] {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}

.output-actions button:hover,
.tray-checkout-actions button:hover {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}

.tray-backdrop {
  position: fixed;
  inset: 0;
  z-index: 28;
  background: rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(5px);
}

.project-tray {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: block;
  width: min(760px, 100vw);
  padding: 28px;
  overflow: auto;
  color: var(--paper);
  background:
    linear-gradient(145deg, rgba(8, 9, 12, 0.98), rgba(20, 22, 28, 0.98)),
    radial-gradient(circle at 92% 0%, rgba(255, 35, 35, 0.22), transparent 32%);
  box-shadow: -28px 0 78px rgba(0, 0, 0, 0.38);
  transform: translateX(100%);
  transition: transform 220ms ease;
}

.project-tray[aria-hidden="false"] {
  transform: translateX(0);
}

body.tray-open {
  overflow: hidden;
}

.tray-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.tray-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 340;
  line-height: 0.95;
}

.tray-close {
  width: 42px;
  height: 42px;
  color: rgba(255, 255, 255, 0.82);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  cursor: pointer;
  font-size: 0;
  line-height: 1;
}

.tray-close::before {
  content: "\00d7";
  font-size: 28px;
}

.tray-empty {
  padding: 28px 0;
  color: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.tray-empty p {
  margin: 0 0 14px;
  font-size: 17px;
  line-height: 1.5;
}

.tray-empty a {
  color: var(--cyan);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tray-items {
  padding: 20px 0 28px;
}

.tray-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  padding: 22px;
  margin-bottom: 16px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

.tray-item span,
.tray-system h4 {
  color: var(--cyan);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tray-item-title > strong {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 350;
  line-height: 1;
  overflow-wrap: anywhere;
}

.tray-item p,
.tray-system li small {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
  line-height: 1.45;
}

.tray-system {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.tray-system > strong {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--display);
  font-size: 24px;
  font-weight: 350;
  line-height: 1;
}

.tray-system-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.tray-system section {
  min-height: 150px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
}

.tray-system h4 {
  margin: 0 0 12px;
  color: var(--red);
}

.tray-system ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tray-system li {
  display: grid;
  gap: 5px;
}

.tray-system li strong {
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--display);
  font-size: 18px;
  font-weight: 360;
  line-height: 1;
}

.tray-system li small {
  display: block;
  margin: 0;
}

.tray-item button {
  align-self: start;
  padding: 8px 0;
  color: rgba(255, 255, 255, 0.72);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  cursor: pointer;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.family-tray-item {
  grid-template-columns: 1fr;
}

.tray-item-head {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 16px;
  align-items: start;
}

.tray-item-head img {
  width: 92px;
  height: 78px;
  padding: 8px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 6px;
}

.tray-item-head strong {
  display: block;
  margin-top: 7px;
  color: #fff;
  font-family: var(--display);
  font-size: 26px;
  font-weight: 350;
  line-height: 1;
}

.tray-item-head small {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
  line-height: 1.35;
}

.tray-main-qty,
.tray-system li label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tray-main-qty {
  max-width: 180px;
}

.tray-main-qty input,
.tray-system li input {
  width: 100%;
  height: 38px;
  padding: 0 10px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  font: inherit;
  letter-spacing: 0;
}

.family-tray-options {
  display: grid;
  gap: 14px;
  padding: 4px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.family-tray-options details {
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

.family-tray-options summary {
  cursor: pointer;
  color: #fff;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 350;
}

.family-tray-options p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 14px;
  line-height: 1.45;
}

.quote-estimate {
  padding: 2px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.tray-next-actions {
  padding: 8px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.tray-next-actions h3,
.tray-option-panel h3 {
  margin: 0;
  color: #fff;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 350;
  line-height: 1;
}

.tray-action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}

.tray-action-card {
  display: grid;
  gap: 10px;
  min-height: 150px;
  padding: 18px;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
}

.tray-action-card span {
  color: var(--cyan);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tray-action-card strong {
  color: #fff;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 350;
  line-height: 1;
}

.tray-action-card small,
.tray-option-panel p {
  color: rgba(255, 255, 255, 0.64);
  font-size: 14px;
  line-height: 1.45;
}

.tray-action-card:hover,
.tray-action-card.is-active {
  border-color: rgba(255, 35, 35, 0.78);
  box-shadow: inset 4px 0 0 var(--red);
}

.tray-option-panel {
  margin-bottom: 18px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

.tray-option-panel > button {
  min-height: 44px;
  margin-top: 14px;
  padding: 0 16px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #fff;
  border-radius: 6px;
  cursor: pointer;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tray-option-panel > button:hover:not(:disabled) {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}

.tray-option-panel > button:disabled,
.tray-checkout-actions button:disabled,
.tray-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.tray-option-panel .quote-estimate {
  padding: 0;
  border-top: 0;
}

.tray-option-panel .quote-head {
  padding-top: 0;
}

.quote-head {
  padding-top: 24px;
}

.quote-head span,
.quote-card span {
  color: var(--cyan);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.quote-head h3 {
  margin: 8px 0 0;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 350;
  line-height: 1;
}

.quote-head p {
  max-width: 620px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 15px;
  line-height: 1.5;
}

.quote-cards {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.quote-card {
  padding: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

.quote-fixture {
  display: grid;
  grid-template-columns: 1fr 120px;
  gap: 18px;
  align-items: start;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.quote-fixture strong {
  display: block;
  margin-top: 7px;
  color: #fff;
  font-family: var(--display);
  font-size: 26px;
  font-weight: 350;
  line-height: 1;
  overflow-wrap: anywhere;
}

.quote-fixture p {
  margin: 9px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  line-height: 1.4;
}

.quote-fixture label,
.quote-lines label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.66);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.quote-fixture input,
.quote-lines input {
  width: 100%;
  height: 40px;
  padding: 0 10px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  font: inherit;
  letter-spacing: 0;
}

.quote-lines {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.quote-lines label {
  grid-template-columns: 1fr 96px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.quote-lines label > span {
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.35;
  text-transform: none;
}

.tray-checkout {
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.tray-contact-fields {
  padding-top: 4px;
}

.tray-checkout h3 {
  margin: 0;
  color: #fff;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 350;
  line-height: 1;
}

.tray-checkout > p,
.tray-contact-fields > p {
  margin: 12px 0 18px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 14px;
  line-height: 1.45;
}

.tray-checkout label {
  display: grid;
  gap: 7px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.74);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tray-checkout label span {
  color: rgba(255, 255, 255, 0.42);
  font-weight: 700;
}

.tray-checkout input,
.tray-checkout textarea {
  width: 100%;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  font: 16px var(--text);
}

.tray-checkout input {
  height: 42px;
  padding: 0 12px;
}

.tray-checkout textarea {
  resize: vertical;
  padding: 10px 12px;
}

.tray-checkout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.tray-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 22px 0 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.tray-actions button,
.tray-checkout-actions button {
  min-height: 54px;
  padding: 0 22px;
  border-radius: 6px;
  cursor: pointer;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.tray-actions button {
  color: var(--paper);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.tray-actions button:not(:disabled):hover {
  color: var(--ink);
  background: #fff;
  border-color: #fff;
}

.tray-actions #email-tray {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 18px 42px rgba(255, 35, 35, 0.22);
}

.tray-actions #email-tray:not(:disabled):hover {
  color: #fff;
  background: #ff3b33;
  border-color: #ff3b33;
}

.print-sheets {
  display: none;
}

.technical-memory {
  display: grid;
  grid-template-columns: minmax(300px, 0.54fr) minmax(420px, 1fr);
  gap: clamp(30px, 6vw, 82px);
  padding: 24px max(20px, calc((100vw - var(--max)) / 2)) 118px;
  align-items: start;
}

.memory-copy {
  position: sticky;
  top: 118px;
}

.memory-copy p:not(.kicker) {
  margin: 28px 0 0;
  color: #555b63;
  font-size: 18px;
  line-height: 1.6;
}

.memory-docs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.memory-docs figure {
  margin: 0;
  background: #fff;
  box-shadow: 0 22px 48px rgba(10, 10, 10, 0.12);
}

.memory-docs img {
  width: 100%;
  height: min(72vh, 780px);
  object-fit: contain;
  background: #fff;
}

.memory-docs figcaption {
  padding: 14px 16px 16px;
  color: #555b63;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.connected-page {
  color: var(--paper);
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 35, 35, 0.28), transparent 26%),
    linear-gradient(180deg, #060607 0%, #111217 44%, #f4f4ef 44%, #f4f4ef 78%, #070708 78%, #070708 100%);
  overflow-x: hidden;
}

.connected-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(420px, 1.05fr);
  gap: clamp(32px, 6vw, 92px);
  width: min(var(--max), calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 150px 0 92px;
  align-items: center;
  overflow: visible;
}

.connected-hero::before {
  content: "";
  position: absolute;
  left: -11vw;
  top: 18vh;
  width: 2px;
  height: 54vh;
  background: linear-gradient(180deg, var(--red), var(--orange), #c8ff2a, var(--blue));
}

.connected-hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(54px, 7.2vw, 104px);
  font-weight: 340;
  line-height: 0.9;
  letter-spacing: 0;
}

.connected-hero-copy {
  position: relative;
  z-index: 2;
}

.connected-hero-copy > p:not(.kicker) {
  max-width: 640px;
  margin: 34px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.58;
}

.connected-hero-media {
  position: relative;
  min-height: 560px;
  z-index: 1;
}

.connected-hero-media::before {
  content: "";
  position: absolute;
  inset: 18% -6% 16% 4%;
  background: linear-gradient(90deg, rgba(255, 35, 35, 0.88), rgba(255, 122, 26, 0.24), rgba(40, 119, 216, 0.15));
  filter: blur(38px);
  opacity: 0.72;
}

.connected-hero-media img {
  position: absolute;
  width: min(78%, 560px);
  object-fit: contain;
  filter: drop-shadow(0 34px 46px rgba(0, 0, 0, 0.46));
}

.connected-hero-media img:first-child {
  right: -4%;
  top: 8%;
  width: min(82%, 580px);
}

.connected-hero-media img:last-child {
  left: -5%;
  bottom: 3%;
  width: min(70%, 500px);
}

.connected-hero-media.is-single {
  min-height: 720px;
}

.connected-hero-media.is-single::before {
  inset: 8% -26% 8% -32%;
  background: radial-gradient(circle at 48% 52%, rgba(255, 35, 35, 0.92), rgba(255, 122, 26, 0.28) 38%, rgba(40, 119, 216, 0.12) 68%, transparent 78%);
  filter: blur(46px);
  opacity: 0.82;
}

.connected-hero-media.is-single img,
.connected-hero-media.is-single img:first-child,
.connected-hero-media.is-single img:last-child {
  top: 50%;
  right: -14%;
  bottom: auto;
  left: auto;
  width: min(120%, 920px);
  max-height: 82vh;
  transform: translateY(-46%);
}

.connected-hero-media.is-single .family-hero-image,
.connected-hero-media.is-single img.family-hero-image:first-child,
.connected-hero-media.is-single img.family-hero-image:last-child {
  right: auto;
  left: -22vw;
  width: min(92vw, 1320px);
  max-width: none;
  max-height: 88vh;
  object-position: center;
}

body[data-family-config="projecteurs"] .connected-hero-media.is-single .family-hero-image {
  left: -14vw;
  width: min(76vw, 1080px);
}

body[data-family-config="encastres"] .connected-hero-media.is-single .family-hero-image {
  left: -18vw;
  width: min(70vw, 1160px);
  max-height: 80vh;
}

body[data-family-config="immerges"] .connected-hero-media.is-single .family-hero-image {
  left: -20vw;
  width: min(78vw, 1200px);
}

.connected-intro {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(300px, 0.75fr);
  gap: clamp(30px, 6vw, 86px);
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 42px 0 132px;
  color: var(--paper);
}

.connected-intro > p {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(34px, 4.8vw, 72px);
  font-weight: 320;
  line-height: 1;
}

.connected-facts {
  display: grid;
  align-content: end;
  gap: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.connected-facts span {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 20px;
  min-height: 86px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.connected-facts strong {
  color: var(--paper);
  font-family: var(--display);
  font-size: 24px;
}

.product-selector-section,
.compatibility-flow {
  color: var(--ink);
  background: var(--paper);
}

.product-selector-section {
  padding: 118px 0 126px;
}

.selector-heading {
  display: grid;
  grid-template-columns: 1fr;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto 58px;
}

.selector-heading h2 {
  max-width: 940px;
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(42px, 6vw, 86px);
  font-weight: 340;
  line-height: 0.95;
}

.selector-heading > p {
  max-width: 680px;
  margin: 26px 0 0;
  color: #555b63;
  font-size: 18px;
  line-height: 1.58;
}

.selector-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.42fr);
  gap: clamp(28px, 5vw, 72px);
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  align-items: start;
}

.selector-sidebar,
.product-choice {
  background: transparent;
  border: 0;
}

.selector-sidebar {
  position: static;
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(260px, 0.58fr) minmax(220px, 0.46fr);
  gap: 28px;
  padding: 0 0 28px;
  border-top: 1px solid rgba(10, 10, 10, 0.14);
  border-bottom: 1px solid rgba(10, 10, 10, 0.14);
}

.selector-question-form.selector-sidebar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 0;
  border: 0;
}

.selector-question {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 26px 0;
  border: 0;
  border-top: 1px solid rgba(10, 10, 10, 0.14);
}

.selector-question:last-of-type {
  border-bottom: 1px solid rgba(10, 10, 10, 0.14);
}

.selector-question legend {
  flex: 0 0 100%;
  margin-bottom: 12px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 30px;
  font-weight: 350;
  line-height: 1;
}

.selector-sidebar span,
.choice-head span,
.catalog-product-card span,
.recommendation-group span,
.selected-card span {
  color: var(--red);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 860;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.segmented-control {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.segmented-control label {
  cursor: pointer;
}

.selector-question input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.segmented-control label span,
.mode-list label span {
  display: flex;
  min-height: 46px;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  color: #333840;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(10, 10, 10, 0.18);
  border-radius: 6px;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: none;
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.segmented-control label small,
.mode-list label small {
  color: #767b83;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.segmented-control input:checked + span,
.mode-list input:checked + span {
  color: #fff;
  background: #111216;
  border-color: #111216;
  box-shadow: inset 4px 0 0 var(--red);
}

.segmented-control input:checked + span small,
.mode-list input:checked + span small {
  color: rgba(255, 255, 255, 0.68);
}

.segmented-control button {
  min-height: 44px;
  padding: 11px 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(10, 10, 10, 0.18);
  border-radius: 6px;
  cursor: pointer;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 820;
  letter-spacing: 0.04em;
  text-align: left;
  text-transform: uppercase;
}

.segmented-control button[aria-pressed="true"] {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.mode-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 0;
}

.mode-list label {
  cursor: pointer;
}

.mode-list input {
  accent-color: var(--red);
  margin-top: 2px;
}

.selector-note {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid rgba(10, 10, 10, 0.14);
}

.selector-note strong {
  color: var(--ink);
  font-family: var(--display);
  font-size: 24px;
  font-weight: 360;
}

.selector-note p {
  margin: 12px 0 0;
  color: #555b63;
  font-size: 15px;
  line-height: 1.5;
}

.product-choice {
  padding: 28px 0 0;
}

.choice-head {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.choice-head h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: 30px;
  font-weight: 350;
}

.product-card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
}

.variant-card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
}

.catalog-product-card {
  display: grid;
  gap: 7px;
  min-height: 72px;
  max-width: 280px;
  padding: 13px 15px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(10, 10, 10, 0.18);
  border-radius: 6px;
  cursor: pointer;
  text-align: left;
}

.catalog-product-card:last-child {
  border-bottom: 1px solid rgba(10, 10, 10, 0.18);
}

.catalog-product-card:hover,
.catalog-product-card.is-active {
  color: #fff;
  background: #111216;
  box-shadow: inset 4px 0 0 var(--red);
}

.catalog-product-card strong {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
}

.catalog-product-card small {
  color: inherit;
  opacity: 0.72;
  font-size: 14px;
}

.variant-card {
  display: grid;
  gap: 8px;
  min-width: 150px;
  max-width: 220px;
  min-height: 108px;
  padding: 14px 15px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(10, 10, 10, 0.18);
  border-radius: 6px;
  cursor: pointer;
  text-align: left;
}

.variant-card:hover,
.variant-card.is-active {
  color: #fff;
  background: #111216;
  box-shadow: inset 4px 0 0 var(--red);
}

.variant-card span {
  color: var(--red);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 860;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.variant-card:hover span,
.variant-card.is-active span {
  color: var(--red);
}

.variant-card strong {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
}

.variant-card small,
.variant-card em {
  color: inherit;
  opacity: 0.72;
  font-size: 13px;
  font-style: normal;
  line-height: 1.25;
}

.family-product-card {
  grid-template-columns: 96px minmax(0, 1fr);
  max-width: 430px;
  min-height: 128px;
  column-gap: 14px;
  align-items: center;
}

.family-product-card img {
  grid-row: 1 / span 3;
  width: 96px;
  height: 92px;
  object-fit: contain;
  background: transparent;
  border: 1px solid rgba(10, 10, 10, 0.06);
  border-radius: 6px;
}

.family-product-card.is-active img,
.family-product-card:hover img {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
}

.recommendation-panel {
  position: sticky;
  top: 112px;
  grid-column: 2;
  grid-row: 1 / span 2;
  padding: 28px;
  color: var(--paper);
  background:
    linear-gradient(145deg, rgba(8, 9, 12, 0.98), rgba(20, 22, 28, 0.96)),
    radial-gradient(circle at 90% 8%, rgba(255, 35, 35, 0.24), transparent 34%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.selected-card {
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.selected-card h3 {
  margin: 14px 0 0;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(34px, 3.8vw, 52px);
  font-weight: 340;
  line-height: 0.95;
}

.selected-visuals {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(120px, 0.9fr);
  gap: 12px;
  margin-top: 20px;
}

.selected-visuals figure {
  min-height: 150px;
  margin: 0;
  padding: 12px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  border-radius: 6px;
}

.selected-visuals img {
  width: 100%;
  height: 100%;
  max-height: 220px;
  object-fit: contain;
}

.selected-tech {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
}

.selected-card dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 22px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.selected-card dl div {
  min-height: 74px;
  padding: 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.selected-card dt {
  color: rgba(255, 255, 255, 0.56);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.selected-card dd {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 17px;
}

.selected-card p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 16px;
  line-height: 1.5;
}

.recommendation-groups {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.validation-note {
  padding: 14px 16px;
  color: #674200;
  background: #fff0ca;
  border: 1px solid #e4bd66;
  font-size: 14px;
  line-height: 1.45;
}

.selected-card .validation-note {
  color: #4b3300;
}

.family-current-note {
  margin-top: 16px;
  color: #555b63;
  font-size: 15px;
  line-height: 1.5;
}

.recommendation-group h4 {
  margin: 0 0 12px;
  color: #fff;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 350;
}

.recommendation-group > div {
  display: grid;
  gap: 10px;
}

.recommendation-choice {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  cursor: pointer;
}

.recommendation-choice input {
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  accent-color: var(--red);
}

.recommendation-choice > span {
  display: block;
}

.recommendation-choice > span > span {
  color: var(--red);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 860;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.recommendation-choice input:not(:checked) + span {
  opacity: 0.48;
}

.recommendation-group section {
  padding: 14px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.recommendation-group strong {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--display);
  font-size: 22px;
  font-weight: 360;
  line-height: 1;
}

.recommendation-group small {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.recommendation-group p,
.recommendation-group.is-empty p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  line-height: 1.45;
}

.recommendation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.recommendation-actions button {
  min-height: 42px;
  padding: 0 14px;
  color: var(--paper);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px;
  cursor: pointer;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.recommendation-actions button:first-child {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}

.recommendation-actions button:hover {
  color: var(--ink);
  background: #fff;
  border-color: #fff;
}

.compatibility-flow {
  padding: 0 0 124px;
}

.compatibility-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  border-top: 1px solid rgba(10, 10, 10, 0.16);
  border-left: 1px solid rgba(10, 10, 10, 0.16);
}

.compatibility-steps article {
  min-height: 280px;
  padding: 28px 24px;
  border-right: 1px solid rgba(10, 10, 10, 0.16);
  border-bottom: 1px solid rgba(10, 10, 10, 0.16);
}

.compatibility-steps span {
  color: var(--red);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.compatibility-steps strong {
  display: block;
  margin-top: 70px;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(30px, 3.4vw, 48px);
  font-weight: 350;
  line-height: 0.96;
}

.compatibility-steps p {
  margin: 18px 0 0;
  color: #555b63;
  font-size: 16px;
  line-height: 1.55;
}

.catalogue-archive,
.catalogue-showcase {
  color: var(--ink);
  background: var(--paper);
}

.catalogue-archive {
  padding: 110px 0;
}

.archive-ribbon {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr 1.15fr;
  gap: 18px;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  align-items: stretch;
}

.archive-ribbon figure,
.catalogue-showcase-grid figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #e5e5df;
}

.archive-ribbon .catalogue-object,
.catalogue-showcase-grid .catalogue-object {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 18px;
  background:
    linear-gradient(180deg, #fff 0%, #f1f1ec 100%);
  border: 1px solid rgba(10, 10, 10, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

.archive-ribbon figure {
  min-height: 340px;
}

.archive-ribbon figure:nth-child(2),
.archive-ribbon figure:nth-child(3) {
  min-height: 260px;
  align-self: end;
}

.archive-ribbon img,
.catalogue-showcase-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.archive-ribbon .catalogue-object img,
.catalogue-showcase-grid .catalogue-object img {
  min-height: 0;
  object-fit: contain;
}

.archive-ribbon figcaption,
.catalogue-showcase-grid figcaption {
  position: absolute;
  left: 16px;
  bottom: 14px;
  color: #fff;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.78);
}

.archive-ribbon .catalogue-object figcaption,
.catalogue-showcase-grid .catalogue-object figcaption {
  position: static;
  color: #4c5259;
  text-shadow: none;
}

.catalogue-showcase {
  display: grid;
  grid-template-columns: minmax(300px, 0.55fr) minmax(460px, 1fr);
  gap: clamp(32px, 6vw, 86px);
  padding: 96px max(20px, calc((100vw - var(--max)) / 2));
  align-items: center;
}

.connected-showcase {
  padding-top: 40px;
}

.catalogue-showcase-copy h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(40px, 5vw, 76px);
  font-weight: 340;
  line-height: 0.96;
}

.catalogue-showcase-copy p:not(.kicker) {
  margin: 26px 0 0;
  color: #555b63;
  font-size: 18px;
  line-height: 1.6;
}

.catalogue-showcase-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-auto-rows: 190px;
  gap: 14px;
}

.catalogue-showcase-grid figure.large {
  grid-row: span 2;
}

@media (max-width: 980px) {
  .topbar {
    grid-template-columns: auto auto;
  }

  .nav {
    display: none;
  }

  .hero,
  .statement,
  .craft-band,
  .product-line,
  .product-line.reverse,
  .contact,
  .linear-hero,
  .linear-intro,
  .linear-statement,
  .linear-anatomy,
  .family-flow,
  .variant-item,
  .project-effects,
  .configurator,
  .technical-memory,
  .linear-contact,
  .connected-hero,
  .connected-intro,
  .selector-heading,
  .selector-shell,
  .catalogue-showcase {
    grid-template-columns: 1fr;
  }

  .connected-hero {
    min-height: 100svh;
    padding: 128px 0 78px;
    align-items: center;
    overflow: hidden;
  }

  .connected-hero-copy {
    max-width: 660px;
    text-shadow: 0 16px 34px rgba(0, 0, 0, 0.74);
  }

  .selector-sidebar,
  .recommendation-panel {
    position: static;
  }

  .selector-sidebar {
    grid-template-columns: 1fr;
  }

  .recommendation-panel {
    grid-column: auto;
    grid-row: auto;
  }

  .segmented-control {
    display: flex;
  }

  .intro-facts {
    grid-template-columns: 1fr 1fr;
  }

  .intro-facts span:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .family-flow::before {
    left: 22px;
    right: auto;
    top: 0;
    bottom: 0;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, var(--red), var(--orange), var(--cyan), var(--blue));
    transform: none;
  }

  .family-flow article {
    min-height: 0;
    padding-left: 56px;
  }

  .family-flow article:nth-child(2) {
    transform: none;
  }

  .family-flow strong {
    margin-top: 32px;
  }

  .spec-panel {
    grid-template-columns: 1fr 1fr;
  }

  .archive-section {
    grid-template-columns: 1fr;
    padding-right: 20px;
    padding-left: 20px;
  }

  .archive-copy {
    position: static;
  }

  .config-output,
  .memory-copy {
    position: static;
  }

  .memory-docs {
    grid-template-columns: 1fr 1fr;
  }

  .hero-stage {
    min-height: 560px;
  }

  .hero-main {
    width: 82%;
    height: 58%;
  }

  .product-line.reverse img {
    order: 0;
  }

  .linear-hero-product {
    min-height: 430px;
  }

  .connected-hero-media {
    position: absolute;
    inset: 0;
    min-height: 0;
    pointer-events: none;
    opacity: 0.58;
  }

  .connected-hero-media.is-single {
    min-height: 0;
  }

  .connected-hero-media::before,
  .connected-hero-media.is-single::before {
    inset: 18% -22% 6% 16%;
    opacity: 0.86;
  }

  .connected-hero-media.is-single img,
  .connected-hero-media.is-single img:first-child,
  .connected-hero-media.is-single img:last-child {
    top: 54%;
    left: 58%;
    right: auto;
    width: min(128vw, 920px);
    max-height: 82vh;
    transform: translate(-50%, -44%);
  }

  .connected-hero-media.is-single .family-hero-image,
  .connected-hero-media.is-single img.family-hero-image:first-child,
  .connected-hero-media.is-single img.family-hero-image:last-child {
    left: 64%;
    right: auto;
    width: min(136vw, 980px);
    max-height: 82vh;
    transform: translate(-50%, -44%);
  }

  body[data-family-config="projecteurs"] .connected-hero-media.is-single .family-hero-image,
  body[data-family-config="encastres"] .connected-hero-media.is-single .family-hero-image,
  body[data-family-config="immerges"] .connected-hero-media.is-single .family-hero-image {
    left: 64%;
    right: auto;
    width: min(140vw, 1040px);
    max-height: 82vh;
    transform: translate(-50%, -44%);
  }

  .linear-hero-product img,
  .anatomy-stage img {
    width: 100%;
    margin-left: 0;
    left: 0;
  }

  .effect-grid {
    grid-template-columns: 1fr 1fr;
  }

  .effect-grid article:nth-child(3) {
    border-left: 0;
  }

  .associated-strip {
    grid-template-columns: 1fr;
  }

  .archive-ribbon {
    grid-template-columns: 1fr 1fr;
  }

  .archive-ribbon figure,
  .archive-ribbon figure:nth-child(2),
  .archive-ribbon figure:nth-child(3) {
    min-height: 280px;
  }

  .compatibility-steps {
    grid-template-columns: 1fr 1fr;
  }

  .tray-action-grid {
    grid-template-columns: 1fr;
  }

  .config-list div {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .river {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 240px;
  }

  .river-item.large,
  .river-item.portrait,
  .river-item:nth-child(3),
  .river-item:nth-child(4),
  .river-item.tall {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 620px) {
  .topbar {
    padding: 14px 18px;
  }

  .brand img {
    width: 46px;
  }

  .contact-link {
    font-size: 11px;
  }

  .project-tray-trigger {
    font-size: 11px;
  }

  .hero {
    padding-top: 116px;
  }

  .hero h1 {
    font-size: 52px;
  }

  .linear-hero h1 {
    font-size: 50px;
  }

  .connected-hero h1 {
    font-size: 48px;
  }

  .hero-stage {
    min-height: 420px;
  }

  .connected-hero {
    width: min(var(--max), calc(100% - 28px));
    min-height: 100svh;
    padding-top: 108px;
    padding-bottom: 54px;
  }

  .connected-hero-copy > p:not(.kicker) {
    max-width: 34ch;
    margin-top: 24px;
    font-size: 17px;
  }

  .hero-actions {
    gap: 20px;
  }

  .connected-hero-media {
    min-height: 0;
    opacity: 0.5;
  }

  .connected-hero-media.is-single {
    min-height: 0;
  }

  .connected-hero-media.is-single img,
  .connected-hero-media.is-single img:first-child,
  .connected-hero-media.is-single img:last-child {
    top: 50%;
    left: 70%;
    right: auto;
    width: min(172vw, 760px);
    max-height: 74vh;
    transform: translate(-50%, -42%);
  }

  .connected-hero-media.is-single .family-hero-image,
  .connected-hero-media.is-single img.family-hero-image:first-child,
  .connected-hero-media.is-single img.family-hero-image:last-child {
    left: 72%;
    right: auto;
    width: min(176vw, 820px);
    max-height: 76vh;
    transform: translate(-50%, -42%);
  }

  body[data-family-config="projecteurs"] .connected-hero-media.is-single .family-hero-image,
  body[data-family-config="encastres"] .connected-hero-media.is-single .family-hero-image,
  body[data-family-config="immerges"] .connected-hero-media.is-single .family-hero-image {
    left: 72%;
    right: auto;
    width: min(180vw, 840px);
    max-height: 76vh;
    transform: translate(-50%, -42%);
  }

  .connected-hero-media img:first-child {
    width: 88%;
  }

  .connected-hero-media img:last-child {
    width: 78%;
  }

  .hero-main {
    width: 92%;
    height: 56%;
  }

  .hero-float.top {
    width: 56%;
  }

  .hero-float.bottom {
    width: 82%;
  }

  .statement > p,
  .section-heading h2,
  .craft-copy h2,
  .contact h2 {
    font-size: 38px;
  }

  .facts span {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .connected-facts span,
  .selected-card dl,
  .compatibility-steps,
  .archive-ribbon,
  .catalogue-showcase-grid {
    grid-template-columns: 1fr;
  }

  .catalogue-showcase-grid {
    grid-auto-rows: 240px;
  }

  .catalogue-showcase-grid figure.large {
    grid-row: auto;
  }

  .segmented-control {
    grid-template-columns: 1fr;
  }

  .choice-head {
    display: grid;
  }

  .catalog-product-card strong {
    font-size: 24px;
  }

  .compatibility-steps article {
    min-height: 0;
  }

  .compatibility-steps strong {
    margin-top: 42px;
  }

  .river {
    grid-template-columns: 1fr;
  }

  .craft-terms span {
    font-size: 34px;
  }

  .product-line h3 {
    font-size: 36px;
  }

  .reference-cloud {
    gap: 26px;
  }

  .effect-grid {
    grid-template-columns: 1fr;
  }

  .intro-facts {
    grid-template-columns: 1fr;
  }

  .intro-facts span,
  .intro-facts span + span,
  .intro-facts span:nth-child(3) {
    min-height: 0;
    padding: 20px 0;
    border-left: 0;
  }

  .variant-item h3 {
    font-size: 36px;
  }

  .variant-visual {
    height: 130px;
  }

  .project-effects figure,
  .project-effects figure:nth-child(2) {
    min-height: 260px;
  }

  .config-form legend {
    font-size: 24px;
  }

  .config-form label {
    width: 100%;
  }

  .config-form label span {
    justify-content: space-between;
  }

  .config-output {
    padding: 22px;
  }

  .config-output dl div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .spec-panel {
    grid-template-columns: 1fr;
  }

  .spec-panel strong {
    min-height: 0;
    margin-top: 34px;
  }

  .archive-docs {
    grid-template-columns: 1fr;
  }

  .memory-docs {
    grid-template-columns: 1fr;
  }

  .archive-docs img {
    height: auto;
  }

  .memory-docs img {
    height: auto;
  }

  .effect-grid article + article {
    border-left: 0;
  }

  .effect-grid h3 {
    margin-top: 42px;
  }

  .linear-contact {
    gap: 26px;
  }

  .project-tray {
    padding: 22px;
  }

  .tray-item,
  .tray-system-grid,
  .quote-fixture,
  .quote-lines label {
    grid-template-columns: 1fr;
  }

  .tray-system section {
    min-height: 0;
  }
}

@media print {
  @page {
    size: A4;
    margin: 14mm;
  }

  body {
    background: #fff;
  }

  body > *:not(.print-sheets) {
    display: none !important;
  }

  .print-sheets {
    display: block;
    color: #111216;
    font-family: Arial, sans-serif;
  }

  .print-sheet {
    break-after: page;
    min-height: 250mm;
    padding: 0;
  }

  .print-sheet header {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 24px;
    align-items: start;
    padding-bottom: 18px;
    border-bottom: 2px solid #111216;
  }

  .print-sheet header img {
    width: 70px;
  }

  .print-sheet header span {
    color: #777;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .print-sheet h1 {
    margin: 8px 0 6px;
    font-size: 34px;
    line-height: 1;
  }

  .print-sheet header p {
    margin: 0;
    font-size: 20px;
  }

  .print-sheet h2 {
    margin: 28px 0 14px;
    font-size: 22px;
  }

  .print-sheet dl {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin: 0;
    border-top: 1px solid #ccc;
    border-left: 1px solid #ccc;
  }

  .print-sheet dl div {
    padding: 12px;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
  }

  .print-sheet dt {
    color: #666;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .print-sheet dd {
    margin: 6px 0 0;
    font-size: 15px;
  }

  .print-sheet footer {
    margin-top: 28px;
    padding-top: 16px;
    border-top: 1px solid #ccc;
    color: #444;
    font-size: 12px;
    line-height: 1.45;
  }
}



