/* ============================================================
   ATELIER PROCURE — design system
   Ported 1:1 from the Relats visual language, re-branded with
   the Atelier orange (#f15e3f). Instrument Sans stands in for
   Roobert; DM Mono is the technical/label face.
   ============================================================ */

:root {
  --font-primary: "Instrument Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-secondary: "DM Mono", "SF Mono", Menlo, monospace;

  --bg-light: #eae4df;
  --bg-light-alt: #d3cac3;
  --bg-dark: #1c1c1c;
  --bg-dark-alt: #252525;
  --white: #fff;
  --light: #f3f3f3;
  --medium: #757474;
  --dark: #1c1c1c;
  --black: #000;

  --main: #f15e3f;          /* Atelier brand orange (sampled from logo) */
  --main-alt: #d3492c;

  --border-light: hsla(0, 0%, 100%, .2);
  --border-dark: rgba(0, 0, 0, .2);
  --shadow: 0px 10px 30px 0px rgba(0, 0, 0, .12);

  --radius: clamp(7px, .556vw, 10.6px);
  --radius-lg: clamp(12px, 1.1vw, 20px);

  --expoInOut: cubic-bezier(.895, 0, .18, 1);
  --expoOut: cubic-bezier(.16, 1, .3, 1);
  --expoIn: cubic-bezier(.7, 0, .84, 0);
  --easeOut: cubic-bezier(.05, .76, .38, 1.015);

  --gutter: clamp(35px, 2.778vw, 53px);
  --gap: clamp(10px, 1.042vw, 20px);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  background-color: var(--bg-light);
  color: var(--dark);
  font-family: var(--font-primary);
  font-size: clamp(15.8px, 1.25vw, 23.94px);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  scrollbar-width: none;
}
html::-webkit-scrollbar { display: none; }
body { line-height: 1; min-height: 100%; overflow-x: clip; }
img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input { font: inherit; color: inherit; }
strong { font-weight: inherit; color: var(--main); }
::selection { background: var(--main); color: var(--white); }

/* ---------- layout ---------- */
.container {
  margin: auto;
  max-width: calc(100% - clamp(70px, 5.556vw, 106px));
  position: relative;
}
.columns { display: flex; gap: var(--gap); }
.columns.--centered { align-items: center; }

/* ---------- type ---------- */
.title {
  font-family: var(--font-primary);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1.12;
  color: inherit;
  font-size: clamp(28px, 2.361vw, 45.22px);
}
.title.--jumbo {
  font-size: clamp(52px, 9.7vw, 186px);
  letter-spacing: -.05em;
  line-height: .96;
}
.title.--xlarge {
  font-size: clamp(40px, 4.86vw, 93px);
  letter-spacing: -.05em;
  line-height: 1;
}
.title.--large { font-size: clamp(34px, 3.472vw, 66.5px); line-height: 1.08; }
.title.--medium { font-size: clamp(24px, 2.361vw, 45.22px); }
.title.--small { font-size: clamp(19px, 1.667vw, 32px); letter-spacing: -.03em; }
.title.--xsmall { font-size: clamp(16px, 1.25vw, 24px); letter-spacing: -.02em; line-height: 1.2; }

.wysiwyg { line-height: 1.45; letter-spacing: -.01em; }
.wysiwyg p + p { margin-top: .9em; }
.wysiwyg.--large { font-size: clamp(17px, 1.389vw, 26.6px); letter-spacing: -.02em; line-height: 1.38; }
.wysiwyg.--labeled {
  font-family: var(--font-secondary);
  font-size: clamp(10.5px, .833vw, 15.96px);
  letter-spacing: .02em;
  line-height: 1.5;
  text-transform: uppercase;
}

/* split-text reveal (words rise from a masked line) */
/* mask extends beyond the text box on all sides (margin-compensated):
   .18em below for descenders at tight line-heights (.9–.96 jumbo),
   .12em left/right for glyph overhang from -.05em letter-spacing,
   .08em above for cap/ascender overshoot */
.split .line { display: block; overflow: hidden; padding: .08em .12em .18em; margin: -.08em -.12em -.18em; }
.split .word {
  display: inline-block;
  transform: translateY(145%) rotate(5deg);
  transform-origin: 0 100%;
  transition: transform 1.1s var(--expoOut);
  will-change: transform;
}
.split.--in .word { transform: translateY(0) rotate(0deg); }

.fade { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--expoOut), transform 1s var(--expoOut); }
.fade.--in { opacity: 1; transform: none; }

/* ---------- label pill ---------- */
.label {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-secondary);
  font-size: clamp(10.5px, .833vw, 15.96px);
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  background-color: var(--white);
  color: var(--dark);
  border: 1px solid var(--white);
  border-radius: 999px;
  height: clamp(26px, 2.083vw, 40px);
  padding: 0 clamp(12px, 1.042vw, 20px);
  white-space: nowrap;
}
.label.--over-main, .label.--over-black {
  background: transparent;
  color: var(--white);
  border-color: var(--border-light);
}
.label.--plain { background: transparent; border-color: var(--border-dark); color: inherit; }
.label.--new { background: #42ec8b; border-color: #42ec8b; color: var(--dark); }

/* ---------- buttons ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  background-color: var(--white);
  color: var(--black);
  border: 1px solid var(--white);
  border-radius: 999px;
  cursor: pointer;
  font-size: clamp(14px, 1.25vw, 24px);
  font-weight: 400;
  letter-spacing: -.01em;
  height: clamp(44px, 3.333vw, 64px);
  padding: 0 clamp(22px, 1.667vw, 32px);
  white-space: nowrap;
  transition: background-color .45s var(--expoOut), color .45s var(--expoOut), border-color .45s var(--expoOut), transform .45s var(--expoOut);
}
.button:hover { background-color: var(--main); border-color: var(--main); color: var(--white); }
.button.--main { background-color: var(--main); border-color: var(--main); color: var(--white); }
.button.--main:hover { background-color: var(--dark); border-color: var(--dark); }
.button.--over-main:hover { background-color: var(--dark); border-color: var(--dark); color: var(--white); }
.button.--over-white:hover { background-color: var(--main); border-color: var(--main); color: var(--white); }
.button.--blur {
  -webkit-backdrop-filter: blur(30px);
  backdrop-filter: blur(30px);
  background-color: hsla(0, 0%, 100%, .1);
  border-color: transparent;
  color: var(--white);
  padding-left: clamp(5px, .35vw, 7px);
}
.button.--blur:hover { background-color: var(--white); border-color: var(--white); color: var(--dark); }
.button.--outline { background: transparent; border-color: var(--border-dark); color: inherit; }
.button.--outline:hover { background: var(--main); border-color: var(--main); color: var(--white); }

/* mini video thumb inside the blur button */
.button .thumb {
  position: relative;
  width: clamp(34px, 2.64vw, 50px);
  height: clamp(34px, 2.64vw, 50px);
  border-radius: 999px;
  overflow: hidden;
  flex: none;
}
.button .thumb video, .button .thumb img { width: 100%; height: 100%; object-fit: cover; }
.button .thumb .play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.25);
  color: #fff;
}
.button .thumb .play svg { width: 30%; height: 30%; }

/* ---------- media helpers ---------- */
.video.--cover, .image.--cover { position: absolute; inset: 0; overflow: hidden; }
.video.--cover video, .image.--cover img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.image.--cover .gradient {
  position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.55) 100%);
}
.image.--cover .overlay { position: absolute; inset: 0; background: rgba(0,0,0,.35); }

.floating { position: absolute; }
.floating.--bottomleft { left: 0; bottom: 0; }
.floating.--bottomright { right: 0; bottom: 0; }
.floating.--center { left: 50%; top: 50%; transform: translate(-50%, -50%); }

/* ---------- boxes ---------- */
.box {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  height: 100%;
  padding: clamp(22px, 2.083vw, 40px);
}
.box.--dark { background-color: var(--bg-dark); color: var(--white); }
.box.--main { background-color: var(--main); color: var(--white); }
.box.--white { background-color: var(--white); color: var(--dark); }
.box.--fvertical {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(30px, 3vw, 60px);
}
.box.--fvertical .top { display: flex; flex-direction: column; gap: clamp(18px, 1.7vw, 33px); align-items: flex-start; position: relative; z-index: 2; }
.box.--fvertical .bottom { position: relative; z-index: 2; }
.box.--arrow .arrow {
  position: absolute;
  right: clamp(22px, 2.083vw, 40px);
  top: clamp(22px, 2.083vw, 40px);
  width: clamp(40px, 3.47vw, 66px);
  height: clamp(40px, 3.47vw, 66px);
  z-index: 2;
  transition: transform .6s var(--expoOut);
}
.box.--arrow:hover .arrow { transform: translate(6px, -6px); }

/* ============================================================
   LOADER
   ============================================================ */
.loader {
  position: fixed; inset: 0;
  z-index: 9999;
  background: var(--bg-light);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .9s var(--expoOut), filter .9s var(--expoOut), visibility 0s linear .9s;
}
.loader.--hidden { opacity: 0; filter: blur(8px); visibility: hidden; pointer-events: none; }
.loader .mark {
  color: #231f20;
  animation: loaderPulse 1.6s var(--expoInOut) infinite;
}
.loader .mark .lockup {
  width: clamp(220px, 26vw, 420px);
  height: auto;
  display: block;
}
@keyframes loaderPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(.92); } }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 90;
  padding: clamp(16px, 1.6vw, 30px) 0;
  transition: transform .6s var(--expoOut);
}
.header .container { display: flex; align-items: center; gap: var(--gap); }

.header .logo {
  display: inline-flex;
  align-items: center;
  gap: clamp(10px, .8vw, 15px);
  flex: none;
}
.header .logo .wordmark {
  display: flex;
  align-items: center;
  color: var(--white);
  transition: opacity .5s var(--expoOut), transform .5s var(--expoOut);
}
.header .logo .wordmark .lockup {
  height: clamp(15px, 1.25vw, 24px);
  width: auto;
  display: block;
}

.header .nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 1.6vw, 30px);
  margin-left: auto;
  transition: opacity .5s var(--expoOut), transform .5s var(--expoOut);
}
.header .nav a {
  color: var(--white);
  font-size: clamp(14px, 1.11vw, 21px);
  letter-spacing: -.01em;
  opacity: .92;
  transition: opacity .3s;
}
.header .nav a:hover { opacity: 1; color: var(--main); }

.header .cluster {
  display: flex;
  align-items: center;
  gap: clamp(6px, .5vw, 10px);
  background: var(--white);
  border-radius: 999px;
  padding: clamp(5px, .42vw, 8px);
  box-shadow: var(--shadow);
  flex: none;
}
.header .cluster .new-thumb {
  position: relative;
  width: clamp(34px, 2.8vw, 52px);
  height: clamp(34px, 2.8vw, 52px);
  border-radius: 999px;
  overflow: hidden;
  flex: none;
}
.header .cluster .new-thumb img { width: 100%; height: 100%; object-fit: cover; }
.header .cluster .new-thumb .chip {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  background: #42ec8b;
  color: var(--dark);
  font-family: var(--font-secondary);
  font-size: clamp(7px, .55vw, 10px);
  font-weight: 500;
  padding: .3em .6em;
  border-radius: 999px;
  letter-spacing: .04em;
}
.header .cluster .pill {
  border: 1px solid var(--border-dark);
  border-radius: 999px;
  height: clamp(34px, 2.8vw, 52px);
  display: inline-flex;
  align-items: center;
  padding: 0 clamp(16px, 1.3vw, 25px);
  font-size: clamp(13px, 1.04vw, 20px);
  color: var(--dark);
  transition: background .4s var(--expoOut), color .4s var(--expoOut), border-color .4s var(--expoOut);
}
.header .cluster .pill:hover { background: var(--main); color: var(--white); border-color: var(--main); }
.header .cluster .iconbtn {
  width: clamp(34px, 2.8vw, 52px);
  height: clamp(34px, 2.8vw, 52px);
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  color: var(--dark);
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: background .3s;
}
.header .cluster .iconbtn:hover { background: var(--light); }
.header .cluster .iconbtn svg { width: clamp(15px, 1.15vw, 21px); height: clamp(15px, 1.15vw, 21px); }

.header .burger {
  flex: none;
  width: clamp(40px, 3.2vw, 58px);
  height: clamp(40px, 3.2vw, 58px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px;
  background: transparent;
  border: 0;
  cursor: pointer;
  margin-left: clamp(4px, .4vw, 8px);
}
.header .burger span {
  display: block;
  width: clamp(20px, 1.7vw, 31px);
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .5s var(--expoOut), background .5s, width .5s var(--expoOut);
}
.header .burger:hover span:nth-child(1) { width: clamp(14px, 1.2vw, 22px); }

/* dark-on-light pages (catalog, company) */
.header.--dark-text .logo .wordmark, .header.--dark-text .nav a { color: var(--dark); }
.header.--dark-text .burger span { background: var(--dark); }
.header.--dark-text .nav a:hover { color: var(--main); }

/* scrolled state: nav collapses, the lockup stays as the home link */
.header.--scrolled .nav {
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
}
.header.--scrolled .logo .wordmark { color: var(--dark); }
.header.--scrolled .burger span { background: var(--dark); }
.header.--hidden { transform: translateY(-120%); }

/* ============================================================
   MENU OVERLAY
   ============================================================ */
.menu {
  position: fixed; inset: 0;
  z-index: 95;
  background: var(--bg-light);
  display: flex;
  align-items: flex-end;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .6s var(--expoOut), visibility 0s linear .6s;
}
.menu.--open { opacity: 1; visibility: visible; pointer-events: all; transition-delay: 0s; }
.menu .container { padding: clamp(90px, 9vw, 160px) 0 clamp(40px, 4vw, 70px); width: 100%; }
.menu .cols { display: flex; gap: clamp(40px, 6vw, 120px); align-items: flex-end; flex-wrap: wrap; }
.menu .primary li { overflow: hidden; padding: .06em .12em .14em; margin: -.06em -.12em -.14em; }
.menu .primary a {
  display: inline-block;
  font-size: clamp(40px, 4.5vw, 86px);
  font-weight: 500;
  letter-spacing: -.05em;
  line-height: 1.18;
  transform: translateY(140%);
  transition: transform .9s var(--expoOut), color .3s;
}
.menu.--open .primary a { transform: translateY(0); }
.menu .primary a:hover { color: var(--main); }
.menu .primary li:nth-child(1) a { transition-delay: .05s; }
.menu .primary li:nth-child(2) a { transition-delay: .1s; }
.menu .primary li:nth-child(3) a { transition-delay: .15s; }
.menu .primary li:nth-child(4) a { transition-delay: .2s; }
.menu .primary li:nth-child(5) a { transition-delay: .25s; }
.menu .secondary { display: flex; flex-direction: column; gap: .9em; }
.menu .secondary a {
  font-size: clamp(16px, 1.39vw, 27px);
  letter-spacing: -.02em;
  color: var(--medium);
  transition: color .3s;
}
.menu .secondary a:hover { color: var(--main); }
.menu .meta {
  margin-top: clamp(40px, 4.5vw, 80px);
  display: flex;
  justify-content: space-between;
  gap: var(--gap);
  flex-wrap: wrap;
  font-family: var(--font-secondary);
  font-size: clamp(10.5px, .833vw, 16px);
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--medium);
}
.menu .closer {
  position: absolute;
  top: clamp(20px, 2vw, 38px);
  right: var(--gutter);
  width: clamp(44px, 3.6vw, 64px);
  height: clamp(44px, 3.6vw, 64px);
  border-radius: 999px;
  background: var(--dark);
  color: var(--white);
  border: 0;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .4s, transform .6s var(--expoOut);
}
.menu .closer:hover { background: var(--main); transform: rotate(90deg); }
.menu .closer svg { width: 40%; height: 40%; }

/* ============================================================
   HOME — HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 620px;
  background: var(--bg-dark);
  color: var(--white);
  overflow: hidden;
  will-change: clip-path;
}
.hero .video.--cover::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(10deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 45%);
}
.hero .container { height: 100%; }
.hero .floating.--bottomleft { padding-bottom: clamp(30px, 2.8vw, 54px); max-width: 80%; }
.hero .floating.--bottomright { padding-bottom: clamp(30px, 2.8vw, 54px); }
.hero h1 { text-wrap: balance; }
.hero .actions { display: flex; gap: clamp(8px, .7vw, 14px); align-items: center; }
.hero .scroll-hint {
  position: absolute;
  left: 50%; bottom: clamp(18px, 1.6vw, 30px);
  transform: translateX(-50%);
  font-family: var(--font-secondary);
  font-size: clamp(9px, .7vw, 13px);
  letter-spacing: .3em;
  text-transform: uppercase;
  opacity: .6;
  animation: hint 2.4s var(--expoInOut) infinite;
}
@keyframes hint { 0%,100% { transform: translate(-50%, 0); opacity:.6; } 50% { transform: translate(-50%, 8px); opacity:.25; } }

/* film lightbox */
.player {
  position: fixed; inset: 0;
  z-index: 98;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .5s var(--expoOut), visibility 0s linear .5s;
}
.player.--open { opacity: 1; visibility: visible; pointer-events: all; transition-delay: 0s; }
.player .mask { position: absolute; inset: 0; background: rgba(14,13,12,.9); }
.player .frame {
  position: relative;
  width: min(1100px, 86vw);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.player .frame video { width: 100%; height: auto; }
.player .closer {
  position: absolute;
  top: clamp(20px, 2vw, 38px); right: clamp(20px, 2vw, 38px);
  width: clamp(44px, 3.6vw, 64px); height: clamp(44px, 3.6vw, 64px);
  border-radius: 999px;
  background: var(--white); color: var(--dark);
  border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.player .closer:hover { background: var(--main); color: #fff; }
.player .closer svg { width: 40%; height: 40%; }

/* ============================================================
   HOME — SCROLL-SCRUB ANIMATION (200vh, sticky canvas)
   ============================================================ */
.animation {
  position: relative;
  height: 300vh;
  background: var(--bg-dark);
}
.animation .sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}
.animation canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.animation .sticky::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 50% 50%, rgba(0,0,0,0) 45%, rgba(0,0,0,.42) 100%);
  pointer-events: none;
}
.animation .title.--jumbo {
  position: absolute;
  z-index: 2;
  color: var(--white);
  text-shadow: 0 4px 60px rgba(0,0,0,.35);
}
.animation .title.--jumbo.--1 { left: var(--gutter); top: 18%; }
.animation .title.--jumbo.--2 { right: var(--gutter); bottom: 16%; text-align: right; }
.animation .progress {
  position: absolute;
  left: 50%; bottom: clamp(20px, 2vw, 36px);
  transform: translateX(-50%);
  width: clamp(120px, 10vw, 190px);
  height: 2px;
  background: var(--border-light);
  border-radius: 2px;
  overflow: hidden;
  z-index: 2;
}
.animation .progress i {
  display: block; height: 100%; width: 100%;
  background: var(--main);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

/* ============================================================
   HOME — SYSTEMS LIST (industries)
   ============================================================ */
.industries { padding: clamp(70px, 8.333vw, 160px) 0; }
.industries .label { margin-bottom: clamp(30px, 3vw, 58px); }
.industries .list li { border-bottom: 1px solid var(--border-dark); }
.industries .list li:first-child { border-top: 1px solid var(--border-dark); }
.industries .list a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--gap);
  padding: clamp(20px, 2.08vw, 40px) 0;
  position: relative;
}
.industries .list .title { transition: transform .7s var(--expoOut), color .4s; }
.industries .list a:hover .title { transform: translateX(clamp(14px, 1.4vw, 27px)); color: var(--main); }
.industries .list .count {
  font-family: var(--font-secondary);
  font-size: clamp(11px, .9vw, 17px);
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--medium);
  flex: none;
  transition: color .4s;
}
.industries .list a:hover .count { color: var(--main); }

/* ============================================================
   HOME — FEATURED (pinned horizontal)
   ============================================================ */
.featured { position: relative; background: var(--bg-light); }
.featured .pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.featured .track {
  display: flex;
  align-items: center;
  gap: clamp(30px, 3vw, 60px);
  padding: 0 var(--gutter);
  will-change: transform;
}
.featured .lead-image {
  flex: none;
  width: clamp(320px, 38vw, 730px);
  height: clamp(420px, 72vh, 860px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.featured .lead-image img { width: 100%; height: 100%; object-fit: cover; }
.featured .center-title { flex: none; max-width: clamp(420px, 44vw, 850px); }
.featured .cards { display: flex; gap: var(--gap); flex: none; align-items: center; }
.card.--featured {
  position: relative;
  flex: none;
  width: clamp(240px, 21vw, 400px);
  height: clamp(330px, 30vw, 570px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-dark);
  color: var(--white);
  display: flex;
  align-items: flex-end;
}
.card.--featured .image.--cover img { transition: transform 1s var(--expoOut); }
.card.--featured:hover .image.--cover img { transform: scale(1.08); }
.card.--featured .image.--cover::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(12deg, rgba(0,0,0,.62) 8%, rgba(0,0,0,.05) 55%);
}
.card.--featured .content {
  position: relative;
  z-index: 2;
  padding: clamp(18px, 1.7vw, 33px);
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1vw, 19px);
  align-items: flex-start;
}
.card.--featured .icon {
  width: clamp(30px, 2.5vw, 47px);
  height: clamp(30px, 2.5vw, 47px);
  color: var(--white);
}
.card.--featured .icon svg { width: 100%; height: 100%; }

/* ============================================================
   HOME — COMBO (about / launch boxes)
   ============================================================ */
.combo { padding: clamp(40px, 4.167vw, 80px) 0; }
.combo .columns { margin-bottom: var(--gap); align-items: stretch; }
.combo .columns.--1 .columns__item:first-child { width: 58%; }
.combo .columns.--1 .columns__item:last-child { width: 42%; }
.combo .columns.--2 .columns__item:first-child { width: 42%; }
.combo .columns.--2 .columns__item:last-child { width: 58%; }
.combo .box { min-height: clamp(420px, 36vw, 690px); }

/* slider */
.slider { position: absolute; inset: 0; }
.slider__item {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1s var(--expoOut);
}
.slider__item.--active { opacity: 1; }
.slider__item img { width: 100%; height: 100%; object-fit: cover; }
.slider__arrows {
  position: absolute;
  right: clamp(18px, 1.7vw, 33px);
  bottom: clamp(18px, 1.7vw, 33px);
  display: flex;
  gap: clamp(6px, .5vw, 10px);
  z-index: 3;
}
.slider__arrows button {
  width: clamp(40px, 3.33vw, 62px);
  height: clamp(40px, 3.33vw, 62px);
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  background: var(--white);
  color: var(--dark);
  display: flex; align-items: center; justify-content: center;
  transition: background .4s, color .4s, transform .4s var(--expoOut);
}
.slider__arrows button:hover { background: var(--main); color: #fff; }
.slider__arrows svg { width: 36%; height: 36%; }

.combo .box.--dark .floating.--bottomleft {
  padding: clamp(22px, 2.083vw, 40px);
  z-index: 2;
}

/* ============================================================
   HOME — POSTS (news, dark)
   ============================================================ */
.posts {
  background: var(--bg-dark);
  color: var(--white);
  padding: clamp(70px, 8.333vw, 160px) 0;
}
.posts .label { margin-bottom: clamp(22px, 2vw, 40px); }
.posts .columns { margin-top: clamp(44px, 3.472vw, 66px); align-items: stretch; }
.posts .columns__item { width: 33.333%; }
.card.--post { display: block; }
.card.--post .image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin-bottom: clamp(16px, 1.5vw, 29px);
}
.card.--post .image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--expoOut);
}
.card.--post:hover .image img { transform: scale(1.06); }
.card.--post .link {
  margin-top: clamp(12px, 1.1vw, 21px);
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-family: var(--font-secondary);
  font-size: clamp(11px, .9vw, 17px);
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--main);
}
.card.--post .link svg { width: .9em; height: .9em; transition: transform .5s var(--expoOut); }
.card.--post:hover .link svg { transform: translateX(5px); }

/* ============================================================
   HOME — CTA (dark, two boxes)
   ============================================================ */
.call-to-action {
  background: var(--bg-dark);
  color: var(--white);
  padding: 0 0 clamp(40px, 4.167vw, 80px);
}
.call-to-action .columns { align-items: stretch; }
.call-to-action .columns__item { width: 50%; }
.call-to-action .box { height: clamp(440px, 34.722vw, 665px); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--bg-dark); color: var(--white); }
.footer .fat {
  padding: clamp(50px, 5.5vw, 105px) 0 clamp(30px, 3vw, 58px);
  display: flex;
  gap: clamp(40px, 6vw, 120px);
  flex-wrap: wrap;
}
.footer .fat .logo { display: flex; align-items: center; color: var(--white); }
.footer .fat .logo .lockup { height: clamp(20px, 1.8vw, 34px); width: auto; display: block; }
.footer .fat nav { display: flex; flex-direction: column; gap: .8em; }
.footer .fat nav .head {
  font-family: var(--font-secondary);
  font-size: clamp(10px, .8vw, 15px);
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--medium);
  margin-bottom: .5em;
}
.footer .fat nav a { font-size: clamp(14px, 1.11vw, 21px); opacity: .85; transition: opacity .3s, color .3s; }
.footer .fat nav a:hover { opacity: 1; color: var(--main); }
.footer .bar {
  border-top: 1px solid var(--border-light);
  padding: clamp(18px, 1.8vw, 34px) 0;
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 40px);
  flex-wrap: wrap;
  font-size: clamp(12px, .97vw, 18px);
}
.footer .bar .links { display: flex; gap: 1.4em; opacity: .7; }
.footer .bar .links a:hover { color: var(--main); }
.footer .bar .contact { display: flex; gap: 1.6em; margin-left: auto; }
.footer .bar .contact span {
  font-family: var(--font-secondary);
  color: var(--medium);
  margin-right: .5em;
}
.footer .bar .copyright { font-family: var(--font-secondary); letter-spacing: .06em; color: var(--medium); }
.footer .bar .lang {
  display: flex; gap: .8em;
  font-family: var(--font-secondary);
  color: var(--medium);
}
.footer .bar .lang .--active { color: var(--white); }

/* ============================================================
   CATALOG PAGE
   ============================================================ */
.page-light { background: var(--bg-light); }
.hero-jumbo { padding: clamp(140px, 14vw, 260px) 0 clamp(30px, 3vw, 56px); }
.hero-jumbo .title.--jumbo { line-height: .9; }
.hero-jumbo .count-note {
  font-family: var(--font-secondary);
  font-size: clamp(11px, .9vw, 17px);
  color: var(--medium);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-top: clamp(14px, 1.4vw, 27px);
}

.products-archive { padding-bottom: clamp(80px, 8vw, 150px); }
.products-archive .navigation {
  display: flex;
  gap: clamp(20px, 2.2vw, 42px);
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border-dark);
  padding-bottom: clamp(16px, 1.5vw, 29px);
  margin-bottom: clamp(30px, 3vw, 58px);
}
.products-archive .navigation button {
  background: none; border: 0; cursor: pointer;
  display: inline-flex;
  align-items: flex-start;
  gap: .4em;
  font-size: clamp(16px, 1.53vw, 29px);
  font-weight: 500;
  letter-spacing: -.03em;
  color: var(--medium);
  transition: color .3s;
  padding: 0;
}
.products-archive .navigation button:hover { color: var(--dark); }
.products-archive .navigation button.--active { color: var(--dark); }
.products-archive .navigation button.--active::after {
  content: "";
  display: block;
  width: .45em; height: .45em;
  border-radius: 999px;
  background: var(--main);
  margin-top: .2em;
}
.products-archive .navigation .count {
  font-family: var(--font-secondary);
  font-size: .55em;
  font-weight: 400;
  color: var(--medium);
  letter-spacing: 0;
}

.products-archive .list { display: flex; gap: clamp(30px, 3vw, 58px); align-items: flex-start; }
.products-archive .sidebar {
  width: clamp(220px, 21vw, 400px);
  flex: none;
  position: sticky;
  top: clamp(90px, 9vw, 160px);
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 2.2vw, 42px);
}
.products-archive .sidebar .group .label { margin-bottom: clamp(12px, 1.1vw, 21px); }
.products-archive .sidebar .group ul { display: flex; flex-direction: column; gap: clamp(8px, .7vw, 14px); }
.products-archive .sidebar .group li { display: flex; align-items: center; gap: .6em; }
.products-archive .sidebar input[type="checkbox"] {
  appearance: none;
  width: clamp(16px, 1.25vw, 24px);
  height: clamp(16px, 1.25vw, 24px);
  border: 1px solid var(--border-dark);
  border-radius: 5px;
  cursor: pointer;
  position: relative;
  transition: background .3s, border-color .3s;
  flex: none;
}
.products-archive .sidebar input[type="checkbox"]:checked { background: var(--main); border-color: var(--main); }
.products-archive .sidebar input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 50%; top: 45%;
  width: 30%; height: 55%;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: translate(-50%, -50%) rotate(45deg);
}
.products-archive .sidebar label { font-size: clamp(13px, 1.04vw, 20px); cursor: pointer; letter-spacing: -.01em; }

.products-archive .products {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.card.--product {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow .5s var(--expoOut), transform .5s var(--expoOut);
}
.card.--product:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.card.--product.--hidden { display: none; }
.card.--product .image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: linear-gradient(160deg, #f6f2ee 0%, #e5ddd6 100%);
  display: flex; align-items: center; justify-content: center;
}
.card.--product .image svg {
  width: 62%; height: 62%;
  transition: transform .9s var(--expoOut);
}
.card.--product:hover .image svg { transform: scale(1.1); }
.card.--product .content {
  padding: clamp(16px, 1.5vw, 29px);
  display: flex; flex-direction: column; gap: .6em;
  flex: 1;
}
.card.--product .content .desc {
  font-size: clamp(12px, .97vw, 18px);
  color: var(--medium);
  line-height: 1.4;
  letter-spacing: -.01em;
}
.card.--product .compare {
  display: flex; align-items: center; gap: .5em;
  padding: 0 clamp(16px, 1.5vw, 29px) clamp(16px, 1.5vw, 29px);
  font-family: var(--font-secondary);
  font-size: clamp(10px, .8vw, 15px);
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--medium);
}
.card.--product .compare input {
  appearance: none;
  width: 16px; height: 16px;
  border: 1px solid var(--border-dark);
  border-radius: 4px;
  cursor: pointer;
  position: relative;
}
.card.--product .compare input:checked { background: var(--main); border-color: var(--main); }
.card.--product .compare input:checked::after {
  content: "";
  position: absolute; left: 50%; top: 45%;
  width: 4px; height: 8px;
  border: solid #fff; border-width: 0 2px 2px 0;
  transform: translate(-50%, -50%) rotate(45deg);
}

/* comparator bar */
.comparator {
  position: fixed;
  left: 50%; bottom: clamp(14px, 1.3vw, 25px);
  transform: translate(-50%, 150%);
  z-index: 80;
  background: var(--bg-dark);
  color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
  padding: clamp(14px, 1.3vw, 25px) clamp(18px, 1.7vw, 33px);
  display: flex;
  align-items: center;
  gap: clamp(16px, 1.5vw, 29px);
  transition: transform .7s var(--expoOut);
  max-width: calc(100% - 2 * var(--gutter));
}
.comparator.--visible { transform: translate(-50%, 0); }
.comparator .slots { display: flex; gap: clamp(6px, .5vw, 10px); }
.comparator .hole {
  min-width: clamp(34px, 2.8vw, 52px);
  height: clamp(34px, 2.8vw, 52px);
  border-radius: 999px;
  border: 1px dashed var(--border-light);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-secondary);
  font-size: clamp(10px, .8vw, 15px);
  color: var(--medium);
  padding: 0 .6em;
  transition: all .4s var(--expoOut);
}
.comparator .hole.--filled { border-style: solid; border-color: var(--main); color: var(--white); background: rgba(240,82,61,.15); }

/* ============================================================
   COMPANY PAGE
   ============================================================ */
.about-hero { padding: clamp(140px, 14vw, 260px) 0 clamp(50px, 5vw, 95px); }
.about-hero .label { margin-bottom: clamp(20px, 2vw, 38px); }
.about-hero .title.--jumbo { max-width: 12em; }
.about-hero .media {
  margin-top: clamp(40px, 4vw, 76px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 21 / 9;
  position: relative;
}
.about-hero .media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.section { padding: clamp(60px, 6.5vw, 125px) 0; }
.section .label { margin-bottom: clamp(22px, 2.2vw, 42px); }
.section.--dark { background: var(--bg-dark); color: var(--white); }

.two-col { display: flex; gap: clamp(40px, 5vw, 96px); align-items: flex-start; }
.two-col .col-l { width: 40%; flex: none; }
.two-col .col-r { flex: 1; }

.statement { max-width: 20em; text-wrap: balance; }

/* values grid */
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(30px, 3vw, 58px) var(--gap);
  margin-top: clamp(30px, 3vw, 58px);
}
.values .value .icon {
  width: clamp(34px, 2.9vw, 55px);
  height: clamp(34px, 2.9vw, 55px);
  color: var(--main);
  margin-bottom: clamp(14px, 1.3vw, 25px);
}
.values .value .icon svg { width: 100%; height: 100%; }
.values .value h3 { margin-bottom: .5em; }
.values .value p {
  font-size: clamp(13px, 1.04vw, 20px);
  line-height: 1.45;
  color: var(--medium);
  letter-spacing: -.01em;
}
.section.--dark .values .value p { color: #9c9b99; }

/* statistics */
.statistics { background: var(--bg-dark); color: var(--white); padding: clamp(60px, 6.5vw, 125px) 0; }
.statistics .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.statistics .stat { border-left: 1px solid var(--border-light); padding-left: clamp(16px, 1.5vw, 29px); }
.statistics .stat .k {
  font-family: var(--font-secondary);
  font-size: clamp(10.5px, .833vw, 16px);
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #9c9b99;
  display: block;
  margin-bottom: clamp(10px, 1vw, 19px);
}
.statistics .stat .v {
  font-size: clamp(40px, 4.5vw, 86px);
  font-weight: 500;
  letter-spacing: -.05em;
  line-height: 1;
}
.statistics .stat .v em { font-style: normal; color: var(--main); }
.statistics .stat .u {
  display: block;
  margin-top: .35em;
  font-size: clamp(13px, 1.11vw, 21px);
  color: #cfc9c3;
  letter-spacing: -.01em;
}

/* story timeline */
.story .years {
  display: flex;
  gap: clamp(14px, 1.4vw, 27px);
  flex-wrap: wrap;
  margin-bottom: clamp(26px, 2.5vw, 48px);
}
.story .years button {
  background: none; border: 0; cursor: pointer;
  font-family: var(--font-secondary);
  font-size: clamp(13px, 1.11vw, 21px);
  color: var(--medium);
  padding: .4em .9em;
  border: 1px solid var(--border-dark);
  border-radius: 999px;
  transition: all .4s var(--expoOut);
}
.story .years button.--active { background: var(--dark); color: var(--white); border-color: var(--dark); }
.story .years button:hover:not(.--active) { border-color: var(--dark); color: var(--dark); }
.story .entry { display: none; }
.story .entry.--active { display: flex; gap: clamp(30px, 4vw, 77px); align-items: baseline; }
.story .entry .year {
  font-size: clamp(52px, 6.9vw, 133px);
  font-weight: 500;
  letter-spacing: -.05em;
  color: var(--main);
  flex: none;
  line-height: 1;
}
.story .entry p { font-size: clamp(17px, 1.53vw, 29px); line-height: 1.4; letter-spacing: -.02em; max-width: 24em; }

/* innovation / quote */
.innovation blockquote {
  font-size: clamp(24px, 2.5vw, 48px);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: 1.22;
  max-width: 24em;
  text-wrap: balance;
}
.innovation blockquote footer {
  margin-top: 1em;
  font-family: var(--font-secondary);
  font-size: clamp(11px, .9vw, 17px);
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--medium);
}
.innovation .visual {
  margin-top: clamp(40px, 4vw, 76px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 21 / 9;
}
.innovation .visual img { width: 100%; height: 100%; object-fit: cover; }

/* addresses */
.addresses .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  margin-top: clamp(30px, 3vw, 58px);
}
.addresses .card-location {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 2.083vw, 40px);
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.3vw, 25px);
  min-height: clamp(260px, 22vw, 420px);
}
.addresses .card-location .tag {
  font-family: var(--font-secondary);
  font-size: clamp(10px, .8vw, 15px);
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--main);
}
.addresses .card-location address {
  font-style: normal;
  line-height: 1.5;
  color: var(--medium);
  font-size: clamp(13px, 1.04vw, 20px);
  flex: 1;
}
.addresses .card-location .go {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-size: clamp(13px, 1.04vw, 20px);
  color: var(--dark);
}
.addresses .card-location .go svg { width: .85em; height: .85em; transition: transform .5s var(--expoOut); }
.addresses .card-location .go:hover { color: var(--main); }
.addresses .card-location .go:hover svg { transform: translateX(4px); }

/* cta strip */
.cta-strip { padding: clamp(50px, 5vw, 95px) 0; }
.cta-strip .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  flex-wrap: wrap;
  padding: clamp(20px, 2vw, 38px) 0;
  border-top: 1px solid var(--border-dark);
}
.cta-strip .row:last-child { border-bottom: 1px solid var(--border-dark); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .header .nav { display: none; }
  .header .burger span { background: var(--white); }
  .header.--dark-text .burger span { background: var(--dark); }
  .header.--scrolled .burger span { background: var(--dark); }
  .combo .columns { flex-direction: column; }
  .combo .columns.--1 .columns__item, .combo .columns.--2 .columns__item { width: 100% !important; }
  .posts .columns { flex-wrap: wrap; }
  .posts .columns__item { width: 100%; }
  .call-to-action .columns { flex-direction: column; }
  .call-to-action .columns__item { width: 100%; }
  .products-archive .products { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: repeat(2, 1fr); }
  .statistics .grid { grid-template-columns: repeat(2, 1fr); gap: clamp(30px, 4vw, 50px) var(--gap); }
  .addresses .grid { grid-template-columns: 1fr; }
  .two-col { flex-direction: column; }
  .two-col .col-l { width: 100%; }
}
@media (max-width: 760px) {
  .header .cluster .pill, .header .cluster .new-thumb { display: none; }
  .hero .floating.--bottomleft { max-width: 100%; position: absolute; }
  .hero .floating.--bottomright { display: none; }
  .featured .pin { height: auto; position: static; display: block; overflow: visible; }
  .featured { height: auto !important; }
  .featured .track {
    transform: none !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: clamp(60px, 12vw, 90px) var(--gutter);
  }
  .featured .track > * { scroll-snap-align: center; }
  .products-archive .list { flex-direction: column; }
  .products-archive .sidebar { position: static; width: 100%; }
  .products-archive .products { grid-template-columns: 1fr; }
  .animation .title.--jumbo.--1 { top: 12%; }
  .animation .title.--jumbo.--2 { bottom: 12%; }
  .story .entry.--active { flex-direction: column; gap: 20px; }
  .footer .bar { flex-direction: column; align-items: flex-start; }
  .footer .bar .contact { margin-left: 0; flex-direction: column; gap: .5em; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  .split .word, .fade { transition: none !important; transform: none !important; opacity: 1 !important; }
  .loader { transition: none; }
  .hero { clip-path: none !important; }
}

/* ============================================================
   PRODUCT PAGE (Meridian Pivot)
   ============================================================ */
.product-hero { padding: clamp(120px, 11vw, 200px) 0 clamp(40px, 4vw, 76px); position: relative; }
.product-hero .top { display: flex; align-items: flex-start; gap: clamp(16px, 1.5vw, 29px); }
.product-hero .back {
  flex: none;
  width: clamp(44px, 3.6vw, 64px);
  height: clamp(44px, 3.6vw, 64px);
  border-radius: 999px;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
  transition: transform .5s var(--expoOut), background .4s, color .4s;
  margin-top: clamp(8px, 1vw, 20px);
}
.product-hero .back:hover { background: var(--main); color: #fff; transform: translateX(-4px); }
.product-hero .back svg { width: 34%; height: 34%; }
.product-hero h1 { max-width: 9em; }
.product-hero .categories { display: flex; gap: .5em; margin-top: clamp(14px, 1.3vw, 25px); }
.product-hero .tag {
  font-family: var(--font-secondary);
  font-size: clamp(10.5px, .833vw, 16px);
  text-transform: uppercase;
  letter-spacing: .05em;
  border: 1px solid var(--border-dark);
  border-radius: 999px;
  padding: .5em 1em;
  transition: all .4s var(--expoOut);
}
.product-hero .tag:hover { background: var(--dark); color: var(--white); border-color: var(--dark); }
.product-hero .layout { display: flex; gap: clamp(30px, 3vw, 58px); margin-top: clamp(30px, 3vw, 58px); align-items: stretch; }
.product-hero .info { width: 34%; flex: none; display: flex; flex-direction: column; gap: clamp(18px, 1.7vw, 33px); justify-content: flex-end; }
.product-hero .info .lede { font-size: clamp(17px, 1.389vw, 26.6px); line-height: 1.4; letter-spacing: -.02em; }
.product-hero .colors .text {
  font-family: var(--font-secondary);
  font-size: clamp(10.5px, .833vw, 16px);
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--medium);
  margin-bottom: .8em;
}
.swatches { display: flex; gap: clamp(8px, .7vw, 14px); flex-wrap: wrap; }
.swatch {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-size: clamp(12px, .97vw, 18px);
  border: 1px solid var(--border-dark);
  border-radius: 999px;
  padding: .45em 1em .45em .5em;
  cursor: pointer;
  background: transparent;
  transition: all .4s var(--expoOut);
}
.swatch .dot { width: 1.2em; height: 1.2em; border-radius: 999px; border: 1px solid rgba(0,0,0,.15); }
.swatch:hover { border-color: var(--dark); }
.swatch.--active { background: var(--dark); color: var(--white); border-color: var(--dark); }
.product-hero .media {
  flex: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  min-height: clamp(380px, 40vw, 720px);
}
.product-hero .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s var(--expoOut); }
.product-hero .buttons { display: flex; gap: clamp(8px, .7vw, 14px); margin-top: clamp(18px, 1.7vw, 33px); flex-wrap: wrap; }
.product-hero .buttons .pro-chip {
  font-family: var(--font-secondary);
  font-size: .65em;
  background: var(--main);
  color: #fff;
  border-radius: 999px;
  padding: .3em .8em;
  margin-left: .6em;
  letter-spacing: .06em;
}

/* configurator */
.configurator { padding: clamp(50px, 5vw, 95px) 0; }
.configurator .layout { display: flex; gap: clamp(30px, 3vw, 58px); align-items: flex-start; margin-top: clamp(30px, 3vw, 58px); }
.configurator .visual {
  width: 46%;
  flex: none;
  position: sticky;
  top: clamp(90px, 9vw, 150px);
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 2.5vw, 48px);
}
.configurator .visual svg { width: 100%; height: auto; display: block; }
.configurator .visual .meta {
  display: flex;
  justify-content: space-between;
  margin-top: clamp(14px, 1.3vw, 25px);
  font-family: var(--font-secondary);
  font-size: clamp(10.5px, .833vw, 16px);
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--medium);
}
.configurator .options { flex: 1; display: flex; flex-direction: column; gap: clamp(26px, 2.4vw, 46px); }
.configurator .group .head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: clamp(12px, 1.1vw, 21px);
}
.configurator .group .head .name { font-weight: 500; font-size: clamp(17px, 1.389vw, 26.6px); letter-spacing: -.02em; }
.configurator .group .head .hint {
  font-family: var(--font-secondary);
  font-size: clamp(10px, .8vw, 15px);
  color: var(--medium);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.configurator .choices { display: flex; gap: clamp(8px, .7vw, 14px); flex-wrap: wrap; }
.choice {
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
  padding: clamp(12px, 1.1vw, 21px) clamp(16px, 1.5vw, 29px);
  text-align: left;
  transition: all .4s var(--expoOut);
  min-width: clamp(120px, 11vw, 210px);
}
.choice .t { display: block; font-weight: 500; font-size: clamp(14px, 1.11vw, 21px); letter-spacing: -.02em; margin-bottom: .3em; }
.choice .d {
  display: block;
  font-family: var(--font-secondary);
  font-size: clamp(10px, .8vw, 15px);
  color: var(--medium);
  letter-spacing: .02em;
}
.choice:hover { border-color: var(--dark); }
.choice.--active { border-color: var(--main); background: rgba(241, 94, 63, .06); }
.choice.--active .d { color: var(--main); }
.configurator .sliders { display: flex; gap: clamp(20px, 2vw, 38px); flex-wrap: wrap; }
.configurator .slider-field { flex: 1; min-width: 220px; }
.configurator .slider-field .val {
  font-weight: 500;
  font-size: clamp(20px, 1.8vw, 34px);
  letter-spacing: -.03em;
  margin-bottom: .4em;
  display: block;
}
.configurator input[type="range"] {
  width: 100%;
  appearance: none;
  height: 2px;
  background: var(--border-dark);
  border-radius: 2px;
  outline: none;
}
.configurator input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 22px; height: 22px;
  border-radius: 999px;
  background: var(--main);
  border: 3px solid var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
  cursor: grab;
}
.summary-card {
  background: var(--bg-dark);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 2.083vw, 40px);
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 1.5vw, 29px);
}
.summary-card .rows { display: flex; flex-direction: column; gap: .7em; }
.summary-card .row { display: flex; justify-content: space-between; gap: 1em; font-size: clamp(13px, 1.04vw, 20px); }
.summary-card .row .k { color: #9c9b99; }
.summary-card .row.--total {
  border-top: 1px solid var(--border-light);
  padding-top: .9em;
  font-size: clamp(17px, 1.389vw, 26.6px);
  font-weight: 500;
}
.summary-card .row .price em { font-style: normal; color: var(--main); }
.summary-card .lead {
  font-family: var(--font-secondary);
  font-size: clamp(10.5px, .833vw, 16px);
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #42ec8b;
}
.summary-card .actions { display: flex; gap: clamp(8px, .7vw, 14px); flex-wrap: wrap; }
.summary-card .note { font-family: var(--font-secondary); font-size: clamp(9.5px, .75vw, 14px); color: #9c9b99; line-height: 1.5; }

/* product specs (relats-style) */
.product-specs { padding: clamp(50px, 5vw, 95px) 0; }
.product-specs > .container > .label { margin-bottom: clamp(26px, 2.4vw, 46px); }
.product-specs .cols { display: flex; gap: clamp(40px, 4vw, 77px); align-items: flex-start; }
.product-specs .left { width: 40%; flex: none; position: sticky; top: clamp(90px, 9vw, 150px); }
.product-specs .left .gallery {
  margin-top: clamp(22px, 2vw, 38px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.product-specs .left .gallery img { width: 100%; height: 100%; object-fit: cover; }
.product-specs .right { flex: 1; }
.product-specs .spec { border-top: 1px solid var(--border-dark); padding: clamp(20px, 1.9vw, 36px) 0; display: flex; gap: clamp(20px, 2vw, 38px); }
.product-specs .spec:last-child { border-bottom: 1px solid var(--border-dark); }
.product-specs .spec .spec-name { width: 36%; flex: none; font-weight: 500; font-size: clamp(15px, 1.25vw, 24px); letter-spacing: -.02em; }
.product-specs .spec .spec-body { flex: 1; }
.product-specs .spec ul.icons { display: flex; flex-direction: column; gap: .8em; }
.product-specs .spec ul.icons li { display: flex; align-items: center; gap: .7em; font-size: clamp(13px, 1.11vw, 21px); }
.product-specs .spec ul.icons .icon { width: 1.5em; height: 1.5em; color: var(--main); flex: none; }
.product-specs .spec ul.icons .icon svg { width: 100%; height: 100%; }
.product-specs table { width: 100%; border-collapse: collapse; }
.product-specs table td {
  padding: .7em 0;
  font-size: clamp(13px, 1.04vw, 20px);
  border-bottom: 1px solid rgba(0,0,0,.08);
  vertical-align: top;
}
.product-specs table td:first-child { color: var(--medium); width: 46%; padding-right: 1em; }
.product-specs table tr:last-child td { border-bottom: 0; }
.downloads { display: flex; flex-wrap: wrap; gap: clamp(8px, .7vw, 14px); }
.dl-chip {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  border: 1px solid var(--border-dark);
  border-radius: 999px;
  padding: .6em 1.1em;
  font-size: clamp(12px, .97vw, 18px);
  transition: all .4s var(--expoOut);
}
.dl-chip svg { width: 1em; height: 1em; flex: none; }
.dl-chip:hover { background: var(--main); border-color: var(--main); color: #fff; }
.dl-chip .ext {
  font-family: var(--font-secondary);
  font-size: .75em;
  color: var(--medium);
  letter-spacing: .04em;
}
.dl-chip:hover .ext { color: rgba(255,255,255,.8); }

/* pro band */
.pro-band { background: var(--bg-dark); color: var(--white); padding: clamp(50px, 5vw, 95px) 0; }
.pro-band .row { display: flex; align-items: center; justify-content: space-between; gap: clamp(20px, 2vw, 38px); flex-wrap: wrap; }
.pro-band .pro-chip {
  font-family: var(--font-secondary);
  background: var(--main);
  color: #fff;
  border-radius: 999px;
  padding: .4em 1em;
  font-size: clamp(10.5px, .833vw, 16px);
  letter-spacing: .08em;
}
.pro-band .t { font-size: clamp(22px, 2.2vw, 42px); font-weight: 500; letter-spacing: -.03em; max-width: 18em; }

/* related */
.product-related { padding: clamp(50px, 5vw, 95px) 0 clamp(80px, 8vw, 150px); }
.product-related .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-top: clamp(26px, 2.4vw, 46px); }

@media (max-width: 1024px) {
  .product-hero .layout, .configurator .layout, .product-specs .cols { flex-direction: column; }
  .product-hero .info, .configurator .visual, .product-specs .left { width: 100%; position: static; }
  .product-related .grid { grid-template-columns: 1fr; }
  .product-specs .spec { flex-direction: column; gap: 1em; }
  .product-specs .spec .spec-name { width: 100%; }
}

/* whole product card is clickable; compare checkbox stays on top */
.card.--product { position: relative; }
.card.--product .card-link { position: absolute; inset: 0; z-index: 1; }
.card.--product .compare { position: relative; z-index: 2; }
.card.--product .content, .card.--product .image { position: relative; }

/* ============================================================
   PLATFORM UI — asides, search, project drawer, compare
   ============================================================ */
.aside {
  position: fixed; inset: 0;
  z-index: 96;
  visibility: hidden;
  pointer-events: none;
}
.aside.--open { visibility: visible; pointer-events: all; }
.aside .mask {
  position: absolute; inset: 0;
  background: rgba(24, 24, 26, .5);
  opacity: 0;
  transition: opacity .5s var(--expoOut);
}
.aside.--open .mask { opacity: 1; }
.aside .panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(520px, 94vw);
  background: var(--bg-light);
  transform: translateX(102%);
  transition: transform .7s var(--expoOut);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: clamp(70px, 6vw, 110px) clamp(24px, 2.2vw, 42px) clamp(24px, 2.2vw, 42px);
}
.aside.--open .panel { transform: translateX(0); }
.aside .closer {
  position: absolute;
  top: clamp(16px, 1.5vw, 28px);
  right: clamp(16px, 1.5vw, 28px);
  width: clamp(40px, 3.2vw, 56px);
  height: clamp(40px, 3.2vw, 56px);
  border-radius: 999px;
  background: var(--dark);
  color: var(--white);
  border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .4s, transform .5s var(--expoOut);
  z-index: 2;
}
.aside .closer:hover { background: var(--main); transform: rotate(90deg); }
.aside .closer svg { width: 38%; height: 38%; }
.aside .panel .head-label { margin-bottom: clamp(16px, 1.5vw, 28px); }
.aside .panel h3.title { margin-bottom: clamp(18px, 1.7vw, 32px); }

/* forms (asides + contact) */
.field { display: flex; flex-direction: column; gap: .5em; margin-bottom: clamp(14px, 1.3vw, 24px); }
.field label {
  font-family: var(--font-secondary);
  font-size: clamp(10px, .8vw, 15px);
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--medium);
}
.field input, .field textarea, .field select {
  background: var(--white);
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: .9em 1em;
  font-size: clamp(14px, 1.11vw, 21px);
  outline: none;
  transition: border-color .3s;
  font-family: var(--font-primary);
  resize: vertical;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--main); }
.form-note {
  font-family: var(--font-secondary);
  font-size: clamp(9.5px, .75vw, 14px);
  color: var(--medium);
  line-height: 1.5;
  margin-top: 1em;
}
.form-success {
  background: rgba(66, 236, 139, .15);
  border: 1px solid rgba(66, 236, 139, .5);
  border-radius: var(--radius);
  padding: 1em 1.2em;
  font-size: clamp(14px, 1.11vw, 21px);
  line-height: 1.4;
}

/* header project button badge */
.header .cluster .iconbtn { position: relative; }
.header .cluster .iconbtn .badge {
  position: absolute;
  top: 2px; right: 0;
  min-width: 16px; height: 16px;
  border-radius: 999px;
  background: var(--main);
  color: #fff;
  font-family: var(--font-secondary);
  font-size: 10px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
}
.header .cluster .iconbtn .badge:empty { display: none; }
.header .cluster .iconbtn .pro-dot {
  position: absolute;
  top: 4px; right: 4px;
  width: 8px; height: 8px;
  border-radius: 999px;
  background: #42ec8b;
}

/* search overlay */
.search-overlay .panel { width: min(720px, 96vw); }
.search-overlay .search-input {
  width: 100%;
  background: var(--white);
  border: 0;
  border-radius: var(--radius);
  padding: 1em 1.2em;
  font-size: clamp(18px, 1.67vw, 32px);
  font-weight: 500;
  letter-spacing: -.02em;
  outline: none;
  margin-bottom: clamp(16px, 1.5vw, 28px);
}
.search-overlay .popular {
  display: flex; gap: .5em; flex-wrap: wrap;
  margin-bottom: clamp(18px, 1.7vw, 32px);
}
.search-overlay .results { display: flex; flex-direction: column; gap: clamp(8px, .7vw, 14px); }
.search-hit {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.1vw, 21px);
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(10px, 1vw, 18px);
  transition: transform .4s var(--expoOut), box-shadow .4s var(--expoOut);
}
.search-hit:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.search-hit img {
  width: clamp(52px, 4.5vw, 80px);
  height: clamp(52px, 4.5vw, 80px);
  border-radius: var(--radius);
  object-fit: cover;
  flex: none;
}
.search-hit .t { font-weight: 500; font-size: clamp(15px, 1.25vw, 24px); letter-spacing: -.02em; }
.search-hit .c {
  font-family: var(--font-secondary);
  font-size: clamp(10px, .8vw, 15px);
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--main);
  margin-top: .3em;
}
.search-empty { color: var(--medium); font-size: clamp(14px, 1.11vw, 21px); line-height: 1.5; }

/* project drawer */
.project-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(14px, 1.3vw, 24px);
  margin-bottom: clamp(8px, .7vw, 14px);
}
.project-item .row1 { display: flex; justify-content: space-between; align-items: baseline; gap: 1em; }
.project-item .name { font-weight: 500; font-size: clamp(15px, 1.25vw, 24px); letter-spacing: -.02em; }
.project-item .name:hover { color: var(--main); }
.project-item .remove {
  background: none; border: 0; cursor: pointer;
  color: var(--medium);
  font-family: var(--font-secondary);
  font-size: clamp(10px, .8vw, 15px);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.project-item .remove:hover { color: #d30000; }
.project-item .spec-line {
  font-family: var(--font-secondary);
  font-size: clamp(10.5px, .833vw, 16px);
  color: var(--medium);
  margin-top: .6em;
  line-height: 1.5;
}
.project-item .room-row {
  display: flex; align-items: center; gap: .6em;
  margin-top: .8em;
}
.project-item .room-row select {
  background: var(--bg-light);
  border: 1px solid var(--border-dark);
  border-radius: 999px;
  padding: .35em .9em;
  font-family: var(--font-secondary);
  font-size: clamp(10px, .8vw, 15px);
  text-transform: uppercase;
  letter-spacing: .04em;
  cursor: pointer;
}
.project-drawer .actions-row {
  display: flex; gap: clamp(8px, .7vw, 14px);
  flex-wrap: wrap;
  margin-top: clamp(18px, 1.7vw, 32px);
}
.project-drawer .empty {
  color: var(--medium);
  line-height: 1.5;
  font-size: clamp(14px, 1.11vw, 21px);
}

/* compare overlay */
.compare-overlay .panel {
  width: min(1200px, 97vw);
  left: 50%; right: auto;
  transform: translate(-50%, 4%) scale(.98);
  opacity: 0;
  top: 3vh; bottom: 3vh;
  border-radius: var(--radius-lg);
  transition: transform .6s var(--expoOut), opacity .6s var(--expoOut);
}
.compare-overlay.--open .panel { transform: translate(-50%, 0) scale(1); opacity: 1; }
.compare-table-wrap { overflow-x: auto; }
.compare-table { border-collapse: collapse; min-width: 640px; width: 100%; }
.compare-table th, .compare-table td {
  text-align: left;
  padding: clamp(10px, 1vw, 18px) clamp(12px, 1.1vw, 21px);
  border-bottom: 1px solid rgba(0,0,0,.08);
  vertical-align: top;
  font-size: clamp(12.5px, 1vw, 19px);
  line-height: 1.4;
  min-width: 150px;
}
.compare-table th {
  font-weight: 500;
  font-size: clamp(15px, 1.25vw, 24px);
  letter-spacing: -.02em;
}
.compare-table th .cat {
  display: block;
  font-family: var(--font-secondary);
  font-size: clamp(9.5px, .75vw, 14px);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--main);
  margin-top: .4em;
}
.compare-table td:first-child, .compare-table th:first-child {
  color: var(--medium);
  font-family: var(--font-secondary);
  font-size: clamp(10px, .8vw, 15px);
  text-transform: uppercase;
  letter-spacing: .06em;
  min-width: 110px;
}

/* accessibility: visible keyboard focus */
:focus-visible {
  outline: 2px solid var(--main);
  outline-offset: 3px;
  border-radius: 4px;
}
.choice .d { color: #6a6968; }
.choice.--active .d { color: var(--main); }
