/* ==========================================================================
   Polimeri — polimeribg.com
   Palette is taken from the three RAL profile colours Polimeri stocks:
   9016 traffic white (paper), 7016 anthracite (ink) and 8014 sepia — plus
   one signal red, the colour of the draughtsman's annotation on their drawings.
   ========================================================================== */

:root {
  --paper: #f3f1ec;
  --paper-2: #eae7e0;
  --paper-3: #dfdbd2;
  --white: #fbfaf8;
  --ink: #1c2023;
  --ink-2: #383e42;            /* RAL 7016 */
  --muted: #62686c;
  --line: rgba(28, 32, 35, .13);
  --line-2: rgba(28, 32, 35, .28);
  --signal: #d6432a;
  --signal-deep: #b3361f;
  --dark: #202528;
  --dark-2: #2a3034;
  --dark-line: rgba(237, 235, 230, .14);
  --on-dark: #edebe6;
  --on-dark-muted: #a1a7ab;

  --serif: "Noto Serif Display", "Didot", "Times New Roman", serif;
  --sans: "Sofia Sans", "Helvetica Neue", Arial, sans-serif;
  --cond: "Sofia Sans Condensed", "Sofia Sans", "Arial Narrow", sans-serif;

  --gutter: clamp(16px, 4.2vw, 64px);
  --max: 1480px;
  --header-h: 76px;
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);

  --mesh: repeating-linear-gradient(0deg, rgba(28, 32, 35, .07) 0 1px, transparent 1px 5px),
          repeating-linear-gradient(90deg, rgba(28, 32, 35, .07) 0 1px, transparent 1px 5px);
  --mesh-dark: repeating-linear-gradient(0deg, rgba(237, 235, 230, .045) 0 1px, transparent 1px 6px),
               repeating-linear-gradient(90deg, rgba(237, 235, 230, .045) 0 1px, transparent 1px 6px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 64px); }
body { margin: 0; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
table { border-collapse: collapse; }
[hidden] { display: none !important; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
/* paper grain */
body::before {
  content: "";
  position: fixed; inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: .5;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.1  0 0 0 0 0.1  0 0 0 0 0.1  0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--signal); color: #fff; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--paper); padding: 10px 16px; text-decoration: none;
}
.skip:focus { top: 12px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(80px, 11vw, 168px); position: relative; }
.section--tight { padding-block: clamp(56px, 7vw, 104px); }
.section--dark { background: var(--dark); color: var(--on-dark); }
.section--dark::before { content: ""; position: absolute; inset: 0; background: var(--mesh-dark); pointer-events: none; }
.section--dark > * { position: relative; }

/* ---------- Type ---------- */
.label, .eyebrow {
  font-family: var(--cond);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  line-height: 1.3;
}
.eyebrow { display: inline-flex; align-items: center; gap: 14px; color: var(--muted); }
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; opacity: .6; }
.eyebrow b { color: var(--signal); font-weight: 700; }
.section--dark .eyebrow { color: var(--on-dark-muted); }

.display, .h2, .h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.015em; }
.display { font-size: clamp(3rem, 6.5vw, 6.9rem); line-height: .94; letter-spacing: -.025em; }
.h2 { font-size: clamp(2.3rem, 4.8vw, 4.6rem); line-height: 1; }
.h3 { font-size: clamp(1.5rem, 2.2vw, 2.1rem); line-height: 1.1; }
.display em, .h2 em, .h3 em { font-style: italic; font-weight: 300; }
.lead { font-size: clamp(1.12rem, 1.35vw, 1.3rem); line-height: 1.55; color: var(--ink-2); max-width: 38em; }
.section--dark .lead { color: var(--on-dark-muted); }
.muted { color: var(--muted); }
.num { font-family: var(--cond); font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }

.section-head { display: grid; gap: 28px; margin-bottom: clamp(40px, 6vw, 88px); }
.section-head--split { grid-template-columns: 1fr; align-items: end; }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 64px; }
}

/* ---------- Dimension line (the drawing motif) ---------- */
.dim {
  --c: var(--ink-2);
  display: flex; align-items: center; gap: 10px;
  color: var(--c);
  font-family: var(--cond); font-size: .78rem; letter-spacing: .08em; font-weight: 500;
  white-space: nowrap;
}
.dim::before, .dim::after {
  content: ""; flex: 1; height: 7px;
  border-inline: 1px solid currentColor;
  background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat;
  opacity: .55;
}
.dim::before { border-right: 0; }
.dim::after { border-left: 0; }
.section--dark .dim { --c: var(--on-dark-muted); }

/* ---------- Buttons & links ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  display: inline-flex; align-items: center; gap: 14px;
  min-height: 54px; padding: 0 26px;
  background: var(--bg); color: var(--fg);
  border: 1px solid var(--bg);
  border-radius: var(--radius);
  font-family: var(--cond); font-weight: 600; font-size: .9rem; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .4s var(--ease), border-color .4s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--signal);
  transform: scaleX(0); transform-origin: right;
  transition: transform .55s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); transform-origin: left; }
.btn:hover, .btn:focus-visible { border-color: var(--signal); color: #fff; }
.btn svg { width: 18px; height: 18px; transition: transform .45s var(--ease); flex: none; }
.btn:hover svg { transform: translateX(4px); }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: var(--line-2); }
.btn--light { --bg: var(--on-dark); --fg: var(--ink); }
.section--dark .btn--ghost, .cta-band .btn--ghost { --fg: var(--on-dark); border-color: var(--dark-line); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: .8rem; }

.link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--cond); font-weight: 600; font-size: .86rem; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  padding-bottom: 3px;
  transition: background-size .45s var(--ease), color .3s;
}
.link:hover { color: var(--signal-deep); background-size: 0 1px; background-position: right bottom; }
.section--dark .link:hover { color: #ff8a70; }
.link svg { width: 15px; height: 15px; }

.arrow { width: 18px; height: 18px; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease), transform .45s var(--ease);
}
.site-header::after {
  content: ""; position: absolute; inset: auto 0 0; height: 1px; background: var(--line);
  opacity: 0; transition: opacity .4s;
}
.site-header.is-solid { background: rgba(243, 241, 236, .9); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); }
.site-header.is-solid::after { opacity: 1; }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }

.brand { display: block; flex: none; margin-right: auto; line-height: 0; }
.brand img { width: 132px; height: auto; }

.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 40px); }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 0; padding: 8px 0;
  font-family: var(--cond); font-weight: 600; font-size: .86rem; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; color: var(--ink);
  position: relative;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--signal);
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav__link:hover::after, .nav__link[aria-expanded="true"]::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__link svg { width: 10px; height: 10px; transition: transform .3s var(--ease); }
.nav__link[aria-expanded="true"] svg { transform: rotate(180deg); }

.header-tel {
  display: none;
  font-family: var(--cond); font-weight: 600; font-size: .95rem; letter-spacing: .06em; text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.header-tel:hover { color: var(--signal-deep); }
.header-cta { display: none; }

.burger {
  width: 48px; height: 48px; display: grid; place-items: center; margin-right: -12px;
  background: none; border: 0;
}
.burger span { display: block; width: 24px; height: 1.5px; background: var(--ink); position: relative; transition: background .2s; }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 24px; height: 1.5px; background: var(--ink);
  transition: transform .35s var(--ease), top .35s var(--ease);
}
.burger span::before { top: -7px; }
.burger span::after { top: 7px; }
.nav-open .burger span { background: transparent; }
.nav-open .burger span::before { top: 0; transform: rotate(45deg); }
.nav-open .burger span::after { top: 0; transform: rotate(-45deg); }

@media (min-width: 1080px) {
  .nav { display: block; }
  .burger { display: none; }
  .header-tel { display: inline; }
  .header-cta { display: inline-flex; }
}

/* Mega menu */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(28, 32, 35, .25);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s .35s;
}
.mega.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .35s var(--ease), transform .35s var(--ease); }
.mega .wrap { display: grid; grid-template-columns: 1.2fr 1fr .9fr; gap: 56px; height: auto; padding-block: 44px 52px; align-items: start; }
.mega__col h3 { margin-bottom: 18px; color: var(--muted); }
.mega__list { columns: 2; column-gap: 32px; }
.mega__col--blinds .mega__list { columns: 1; }
.mega__list a {
  display: flex; align-items: baseline; gap: 12px; padding: 9px 0;
  text-decoration: none; font-family: var(--serif); font-size: 1.35rem; line-height: 1.2;
  break-inside: avoid;
  transition: color .25s;
}
.mega__list a .num { font-size: .72rem; color: var(--muted); letter-spacing: .08em; min-width: 18px; transition: color .25s; }
.mega__list a:hover { color: var(--signal-deep); }
.mega__list a:hover .num { color: var(--signal); }
.mega__feature { display: block; text-decoration: none; }
.mega__feature figure { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.mega__feature img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.mega__feature:hover img { transform: scale(1.04); }
.mega__feature p { margin-top: 12px; font-size: .95rem; color: var(--muted); }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 45;
  background: var(--paper);
  padding: calc(var(--header-h) + 16px) var(--gutter) 40px;
  overflow-y: auto;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .6s var(--ease-in-out);
  visibility: hidden;
}
.nav-open .drawer { clip-path: inset(0 0 0 0); visibility: visible; }
.nav-open { overflow: hidden; }
.drawer__group { border-top: 1px solid var(--line); padding-block: 18px; }
.drawer__group > .label { color: var(--muted); display: block; margin-bottom: 10px; }
.drawer a { text-decoration: none; }
.drawer__big { display: block; font-family: var(--serif); font-size: 2.2rem; line-height: 1.25; }
.drawer__list { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 16px; }
.drawer__list a { font-family: var(--serif); font-size: 1.2rem; line-height: 1.6; }
.drawer__contact { display: grid; gap: 6px; margin-top: 8px; font-family: var(--cond); font-size: 1.1rem; letter-spacing: .04em; }

/* ==========================================================================
   Hero (home)
   ========================================================================== */
.hero { position: relative; padding-top: var(--header-h); min-height: 100svh; display: flex; }
.hero .wrap { display: grid; gap: 40px; padding-bottom: 40px; }
.hero__copy { display: flex; flex-direction: column; justify-content: flex-end; gap: 24px; padding-top: clamp(24px, 6vh, 72px); }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero__title .line > span { display: inline-block; transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; }
.hero__title .line:nth-child(2) > span { animation-delay: .12s; }
.hero__title .line:nth-child(3) > span { animation-delay: .24s; }
.hero__title em { color: var(--ink-2); }
.hero__lead { opacity: 0; animation: fade-up .9s var(--ease) .5s forwards; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; opacity: 0; animation: fade-up .9s var(--ease) .65s forwards; }

.hero__stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 24px;
  border-top: 1px solid var(--line); padding-top: 20px; margin-top: 2px;
  opacity: 0; animation: fade-up .9s var(--ease) .8s forwards;
}
.stat__value { font-family: var(--serif); font-size: clamp(2.2rem, 3.4vw, 3.2rem); line-height: 1; letter-spacing: -.02em; }
.stat__value sup { font-size: .45em; vertical-align: top; position: relative; top: .25em; color: var(--signal); margin-left: 2px; }
.stat__label { margin-top: 8px; color: var(--muted); font-size: .92rem; line-height: 1.35; }

.hero__media {
  position: relative; min-height: 62svh; overflow: hidden; background: var(--paper-3);
  opacity: 0; animation: fade .8s var(--ease) .1s forwards;
}
.hero__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 40%; transform: scale(1.08); animation: settle 2.6s var(--ease) .3s forwards; }

@media (min-width: 900px) {
  .hero .wrap { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(40px, 5vw, 88px); padding-bottom: clamp(28px, 4vh, 48px); }
  .hero__media { min-height: 0; height: calc(100svh - var(--header-h) - clamp(28px, 4vh, 48px) - 12px); margin-top: 12px; }
  .hero__stats { grid-template-columns: repeat(4, 1fr); }
}

/* Plissé screen that folds away over the hero photo */
.plisse { position: absolute; inset: 0; pointer-events: none; }
.plisse__frame { position: absolute; left: 0; right: 0; height: 9px; background: linear-gradient(#4a5256, #2b3134); z-index: 3; }
.plisse__frame--top { top: 0; }
.plisse__frame--bottom { bottom: 0; }
.plisse__jamb { position: absolute; top: 0; bottom: 0; right: 0; width: 9px; background: linear-gradient(90deg, #2b3134, #4a5256); z-index: 3; }
.plisse__mesh {
  position: absolute; inset: 9px 9px 9px 0;
  transform-origin: right center;
  background:
    repeating-linear-gradient(90deg, rgba(24, 28, 30, .5) 0 .6px, transparent .6px 3px),
    repeating-linear-gradient(0deg, rgba(24, 28, 30, .34) 0 .6px, transparent .6px 3px),
    repeating-linear-gradient(90deg, #f6f4ef 0, #dcd8d0 13px, #a9a59d 14px, #ece9e3 15px, #cfcbc3 28px);
  opacity: .93;
  box-shadow: inset 12px 0 18px -10px rgba(0, 0, 0, .25);
}
.is-play .plisse__mesh { animation: plisse-open 2.2s var(--ease-in-out) .5s forwards; }
html:not(.js) .plisse { display: none; }
.plisse__rail {
  position: absolute; top: 9px; bottom: 9px; left: 0; width: 12px; z-index: 2;
  background: linear-gradient(90deg, #262b2e, #5b6368 45%, #30363a);
  box-shadow: 4px 0 14px rgba(0, 0, 0, .28);
}
.is-play .plisse__rail { animation: plisse-rail 2.2s var(--ease-in-out) .5s forwards; }
.plisse__rail::after { /* the handle */
  content: ""; position: absolute; top: 50%; left: 3px; width: 6px; height: 64px; margin-top: -32px;
  background: var(--signal); border-radius: 1px;
}
@keyframes plisse-open { to { transform: scaleX(.045); } }
@keyframes plisse-rail { to { left: calc(95.5% - 21px); } }

.callout {
  position: absolute; left: 22%; top: 50%; z-index: 4;
  opacity: 0;
}
.is-play .callout { animation: fade .8s var(--ease) 2.6s forwards; }
html:not(.js) .callout, html:not(.js) .hero__caption { opacity: 1; }
.callout__dot { width: 14px; height: 14px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 5px rgba(214, 67, 42, .28); position: relative; }
.callout__dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--signal); }
.is-play .callout__dot::after { animation: ping 2.4s var(--ease) 3s infinite; }
.callout__line { position: absolute; left: 7px; top: 7px; width: 84px; height: 1px; background: #fff; transform-origin: left; transform: scaleX(0); }
.is-play .callout__line { animation: draw .6s var(--ease) 2.8s forwards; }
html:not(.js) .callout__line { transform: none; }
.callout__card {
  position: absolute; left: 90px; top: -18px; width: max-content; max-width: 240px;
  background: rgba(251, 250, 248, .94); backdrop-filter: blur(6px);
  padding: 10px 14px 11px; border-left: 2px solid var(--signal);
  font-size: .86rem; line-height: 1.35; color: var(--ink);
  opacity: 0; transform: translateX(-6px);
}
.is-play .callout__card { animation: slide-in .6s var(--ease) 3.1s forwards; }
html:not(.js) .callout__card { opacity: 1; transform: none; }
@media (max-width: 600px) {
  .callout__line { width: 36px; }
  .callout__card { left: 44px; max-width: 150px; }
}
.callout__card b { display: block; font-family: var(--cond); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .72rem; color: var(--signal-deep); margin-bottom: 2px; }
.callout__card a { text-decoration: none; }
.callout__card a:hover { text-decoration: underline; }

.hero__caption {
  position: absolute; left: 22px; bottom: 22px; z-index: 4;
  color: #fff; font-family: var(--cond); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .5);
  opacity: 0;
}
.is-play .hero__caption { animation: fade .8s var(--ease) 2.8s forwards; }

@keyframes rise { to { transform: none; } }
@keyframes fade { to { opacity: 1; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes settle { to { transform: scale(1); } }
@keyframes draw { to { transform: scaleX(1); } }
@keyframes slide-in { to { opacity: 1; transform: none; } }
@keyframes ping { 0% { transform: scale(1); opacity: .9; } 80%, 100% { transform: scale(2.6); opacity: 0; } }

/* ==========================================================================
   Intro strip
   ========================================================================== */
.manifest { border-bottom: 1px solid var(--line); }
.manifest .wrap { display: grid; gap: 28px; padding-block: clamp(56px, 8vw, 110px); }
.manifest__text { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.75rem); line-height: 1.2; letter-spacing: -.01em; max-width: 26em; }
.manifest__text em { font-style: italic; font-weight: 300; }
.manifest__text .hl { color: var(--signal-deep); }
@media (min-width: 900px) { .manifest .wrap { grid-template-columns: 220px 1fr; } }

/* ==========================================================================
   Catalogue
   ========================================================================== */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 42px; padding: 0 16px;
  border: 1px solid var(--line-2); border-radius: 999px; background: transparent;
  font-family: var(--cond); font-weight: 600; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase;
  transition: background .3s, color .3s, border-color .3s;
}
.chip sup { font-size: .7rem; color: var(--muted); letter-spacing: 0; top: -.35em; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip[aria-pressed="true"] sup { color: var(--on-dark-muted); }

.grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.grid--cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }

.card { background: var(--paper); position: relative; }
.card.is-hidden { display: none; }
.card.is-entering { animation: card-in .6s var(--ease) both; }
@keyframes card-in { from { opacity: 0; transform: translateY(12px); } }
.card__link { display: flex; flex-direction: column; height: 100%; padding: 22px 22px 26px; text-decoration: none; gap: 14px; }
.card__meta { display: flex; justify-content: space-between; align-items: center; color: var(--muted); }
.card__num { font-family: var(--cond); font-size: .8rem; letter-spacing: .1em; color: var(--ink); }
.card__num::after { content: " / 13"; color: var(--muted); }
.card__media { position: relative; aspect-ratio: 5 / 4; background: var(--paper-2); overflow: hidden; margin-inline: -1px; }
.card__media::before { content: ""; position: absolute; inset: 0; background: var(--mesh); opacity: 0; transition: opacity .6s var(--ease); }
.card__media img {
  position: absolute; inset: 8%; width: 84%; height: 84%; object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform .9s var(--ease);
}
.card__title { font-family: var(--serif); font-size: 1.85rem; line-height: 1.05; letter-spacing: -.01em; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card__title svg { width: 20px; height: 20px; flex: none; transform: rotate(-45deg); transition: transform .5s var(--ease), color .3s; }
.card__text { color: var(--muted); font-size: .98rem; line-height: 1.5; flex: 1; }
.card .dim { --c: var(--muted); }
.card__link:hover .card__media::before { opacity: 1; }
.card__link:hover .card__media img { transform: scale(1.05) translateY(-2%); }
.card__link:hover .card__title svg { transform: rotate(0); color: var(--signal); }
.card__link:hover .dim { --c: var(--signal-deep); }
.card--ask .card__num::after { content: " / 13"; }
.card__tag {
  position: absolute; top: 12px; right: 12px; z-index: 1;
  background: var(--paper); padding: 4px 8px;
  font-family: var(--cond); font-weight: 600; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--signal-deep);
}

.catalogue__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-top: 36px; }
.catalogue__count { color: var(--muted); font-size: .95rem; }

/* ==========================================================================
   Projects rail
   ========================================================================== */
.rail { position: relative; }
.rail__track {
  display: flex; gap: clamp(14px, 1.6vw, 24px);
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  scrollbar-width: none; padding-inline: var(--gutter);
  scroll-padding-inline: var(--gutter);
  cursor: grab;
}
.rail__track::-webkit-scrollbar { display: none; }
.rail__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.rail__track.is-dragging a { pointer-events: none; }
@media (min-width: 1480px) { .rail__track { padding-inline: calc((100vw - var(--max)) / 2 + var(--gutter)); scroll-padding-inline: calc((100vw - var(--max)) / 2 + var(--gutter)); } }

.project { flex: none; scroll-snap-align: start; width: min(78vw, 560px); }
.project--tall { width: min(62vw, 400px); }
.project__media { position: relative; height: clamp(360px, 58vh, 560px); overflow: hidden; background: var(--dark-2); }
.project__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); user-select: none; -webkit-user-drag: none; }
.project:hover .project__media img { transform: scale(1.035); }
.project--logo .project__media { background: #f2efe8; display: grid; place-items: center; }
.project--logo .project__media img { width: 52%; height: auto; object-fit: contain; }
.project__index { position: absolute; top: 16px; left: 16px; font-family: var(--cond); font-size: .76rem; letter-spacing: .14em; color: #fff; mix-blend-mode: difference; }
.project__body { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-top: 18px; }
.project__name { font-family: var(--serif); font-size: 1.7rem; line-height: 1.05; }
.project__place { color: var(--on-dark-muted); margin-top: 6px; }
.project__systems { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; }
.project__systems .label { color: var(--on-dark-muted); font-size: .68rem; }
.project__systems a { font-family: var(--cond); font-size: .95rem; font-weight: 600; letter-spacing: .04em; text-decoration: none; color: var(--on-dark); border-bottom: 1px solid var(--signal); padding-bottom: 1px; }
.project__systems a:hover { color: #ff8a70; }

.rail__controls { display: flex; align-items: center; gap: 20px; margin-top: 36px; }
.rail__progress { flex: 1; height: 1px; background: var(--dark-line); position: relative; overflow: hidden; }
.rail__progress span { position: absolute; inset: 0; background: var(--on-dark); transform-origin: left; transform: scaleX(.2); transition: transform .3s linear; }
.rail__count { font-family: var(--cond); letter-spacing: .12em; font-size: .85rem; color: var(--on-dark-muted); min-width: 64px; }
.round-btn {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--dark-line); background: transparent; color: var(--on-dark);
  transition: background .3s, color .3s, border-color .3s;
}
.round-btn:hover:not(:disabled) { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }
.round-btn:disabled { opacity: .35; cursor: default; }
.round-btn svg { width: 18px; height: 18px; }

/* ==========================================================================
   About
   ========================================================================== */
.about__grid { display: grid; gap: clamp(40px, 6vw, 96px); }
.about__quote { font-family: var(--serif); font-size: clamp(2.4rem, 5.2vw, 5rem); line-height: 1; letter-spacing: -.02em; }
.about__quote em { font-style: italic; font-weight: 300; color: var(--ink-2); }
.about__body { display: grid; gap: 20px; align-content: start; }
.about__body p { max-width: 36em; }
.about__powers { font-family: var(--cond); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: .88rem; padding: 18px 0; border-block: 1px solid var(--line); }
.about__powers span { color: var(--signal-deep); }
@media (min-width: 980px) { .about__grid { grid-template-columns: 1.1fr .9fr; } }

.pillars { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: clamp(56px, 8vw, 110px); }
.pillar { background: var(--paper); padding: 32px 28px 36px; display: grid; gap: 22px; }
.pillar__num { font-family: var(--cond); font-size: .8rem; letter-spacing: .14em; color: var(--signal-deep); }
.pillar__title { font-family: var(--serif); font-size: clamp(1.7rem, 2.6vw, 2.4rem); line-height: 1.05; }
@media (min-width: 760px) { .pillars { grid-template-columns: repeat(3, 1fr); } }

.specs { display: grid; gap: clamp(40px, 5vw, 80px); margin-top: clamp(56px, 8vw, 110px); }
.spec h3 { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--ink); }
.spec h3 .h3 { font-size: clamp(1.5rem, 2vw, 1.9rem); }
.spec li { display: grid; grid-template-columns: 44px 1fr auto; align-items: baseline; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
.spec li .num { font-size: .8rem; color: var(--muted); letter-spacing: .08em; }
.spec li svg { width: 16px; height: 16px; color: var(--signal); align-self: center; }
@media (min-width: 900px) { .specs { grid-template-columns: 1fr 1fr; } }

/* ==========================================================================
   Reach / map
   ========================================================================== */
.reach .wrap { display: grid; gap: 48px; }
.reach__map { position: relative; }
.reach__map svg { width: 100%; height: auto; overflow: visible; }
.map-base { stroke: rgba(237, 235, 230, .2); stroke-linecap: round; stroke-width: .56; fill: none; }
.map-mark circle { fill: var(--signal); }
.map-mark .pulse { fill: none; stroke: var(--signal); stroke-width: .18; transform-box: fill-box; transform-origin: center; animation: map-ping 3s var(--ease) infinite; animation-delay: var(--d, 0s); opacity: 0; }
.map-home text { fill: var(--on-dark); font-family: var(--cond); font-size: 1.5px; letter-spacing: .12px; text-transform: uppercase; font-weight: 600; }
.map-home line { stroke: var(--on-dark); stroke-width: .08; }
@keyframes map-ping { 0% { transform: scale(.6); opacity: 1; } 70%, 100% { transform: scale(3.2); opacity: 0; } }
.reach__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 28px; }
.reach__list h3 { color: var(--on-dark-muted); margin-bottom: 12px; }
.reach__list li { font-family: var(--serif); font-size: 1.35rem; line-height: 1.5; }
.reach__list li.home { color: #ff8a70; }
@media (min-width: 1000px) {
  .reach .wrap { grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr); align-items: center; }
  .reach__map { margin-right: calc(var(--gutter) * -1); }
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-actions { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.action {
  position: relative; display: grid; gap: 10px; align-content: start;
  padding: clamp(26px, 3vw, 40px) clamp(22px, 2.6vw, 36px) clamp(30px, 3.4vw, 44px);
  background: var(--paper); text-decoration: none; overflow: hidden; isolation: isolate;
}
.action::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--paper-2); opacity: 0; transition: opacity .45s var(--ease); }
.action::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--mesh); opacity: 0; transition: opacity .6s var(--ease); }
.action:hover::before, .action:hover::after, .action:focus-visible::before { opacity: 1; }
.action .label { color: var(--muted); }
.action__value { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 2.3vw, 2.2rem); line-height: 1.1; letter-spacing: -.01em; margin-top: 18px; overflow-wrap: anywhere; }
.action__value.num { font-family: var(--cond); font-weight: 500; letter-spacing: .01em; }
.action__note { color: var(--muted); font-size: .95rem; }
.action .arrow { position: absolute; top: clamp(24px, 3vw, 38px); right: clamp(22px, 2.6vw, 34px); width: 22px; height: 22px; transform: rotate(-45deg); transition: transform .5s var(--ease), color .3s; }
.action:hover .arrow, .action:focus-visible .arrow { transform: rotate(0); color: var(--signal); }

.contact-meta { display: grid; gap: 28px 64px; margin-top: clamp(40px, 5vw, 64px); align-items: start; }
.contact-meta .doc-card { margin-top: 0; }
@media (min-width: 900px) { .contact-meta { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } }
.contact-list { display: grid; }
.contact-list > div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.contact-list > div:first-child { border-top: 1px solid var(--ink); }
.contact-list dt { color: var(--muted); }
.contact-list dd { font-size: 1.15rem; }
.contact-list dd a { text-decoration: none; background: linear-gradient(var(--signal), var(--signal)) left bottom / 0 1px no-repeat; transition: background-size .4s var(--ease); }
.contact-list dd a:hover { background-size: 100% 1px; }
.contact-list .num { font-size: 1.2rem; letter-spacing: .03em; }

.doc-card {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px;
  margin-top: 36px; padding: 20px 22px; background: var(--paper-2); text-decoration: none;
  position: relative; overflow: hidden;
  transition: background .3s;
}
.doc-card::before { content: ""; position: absolute; inset: 0; background: var(--mesh); opacity: 0; transition: opacity .5s; }
.doc-card:hover::before { opacity: 1; }
.doc-card > * { position: relative; }
.doc-card__icon { width: 46px; height: 58px; border: 1px solid var(--ink); display: grid; place-items: end start; padding: 5px; font-family: var(--cond); font-size: .6rem; font-weight: 700; letter-spacing: .1em; background: var(--white); position: relative; }
.doc-card__icon::before { content: ""; position: absolute; top: -1px; right: -1px; width: 12px; height: 12px; background: var(--paper-2); border-left: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.doc-card strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.3rem; line-height: 1.2; }
.doc-card small { color: var(--muted); font-size: .88rem; }
.doc-card svg { width: 22px; height: 22px; transition: transform .4s var(--ease); }
.doc-card:hover svg { transform: translateY(3px); color: var(--signal); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--dark); color: var(--on-dark); position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; inset: 0; background: var(--mesh-dark); pointer-events: none; }
.site-footer .wrap { position: relative; }
.footer__top { display: grid; gap: 44px; padding-block: clamp(64px, 8vw, 110px) 48px; }
.footer__brand img { width: 170px; opacity: .9; }
.footer__brand p { margin-top: 18px; color: var(--on-dark-muted); max-width: 26em; font-size: .98rem; }
.footer__col h3 { color: var(--on-dark-muted); margin-bottom: 16px; }
.footer__col li { padding: 4px 0; }
.footer__col a { text-decoration: none; transition: color .25s; }
.footer__col a:hover { color: #ff8a70; }
.footer__col--systems ul { columns: 2; column-gap: 24px; }
@media (min-width: 900px) { .footer__top { grid-template-columns: 1.3fr 1.4fr .7fr 1fr; gap: 48px; } }
.footer__word {
  font-family: var(--serif); font-weight: 500; letter-spacing: -.03em; line-height: .78;
  font-size: clamp(4.5rem, 19vw, 19rem); color: transparent;
  -webkit-text-stroke: 1px rgba(237, 235, 230, .16);
  text-align: center; user-select: none; margin-bottom: -.1em; white-space: nowrap;
}
.footer__bottom { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; padding-block: 22px 28px; border-top: 1px solid var(--dark-line); color: var(--on-dark-muted); font-size: .88rem; }
.footer__bottom a { text-decoration: none; }
.footer__bottom a:hover { color: var(--on-dark); }

/* ==========================================================================
   Product page
   ========================================================================== */
.p-hero { padding-top: calc(var(--header-h) + clamp(20px, 4vw, 48px)); padding-bottom: clamp(48px, 7vw, 96px); }
.p-hero .wrap { display: grid; gap: clamp(36px, 5vw, 80px); }
.p-hero .crumbs { grid-column: 1 / -1; margin-bottom: 0; }
@media (min-width: 980px) { .p-hero .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; row-gap: clamp(28px, 3vw, 44px); } }
@media (max-width: 979px) {
  .p-hero .wrap { gap: 28px; }
  .p-hero .plate--hero { order: 1; min-height: 0; aspect-ratio: 4 / 3; }
  .p-hero .plate--hero img { max-height: 78%; }
  .p-hero .p-hero__copy { order: 2; }
}

.crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; font-family: var(--cond); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: clamp(28px, 4vw, 56px); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--signal-deep); }
.crumbs li + li::before { content: "/"; margin-right: 10px; opacity: .5; }

.p-hero__copy { display: flex; flex-direction: column; gap: 22px; }
.p-hero__title { font-family: var(--serif); font-weight: 400; font-size: clamp(3.4rem, 8.5vw, 8.2rem); line-height: .9; letter-spacing: -.035em; }
.p-hero__kicker { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.35rem, 2vw, 1.8rem); line-height: 1.2; color: var(--ink-2); }
.p-hero__intro { display: grid; gap: 14px; max-width: 40em; }
.p-hero__intro p:first-child { font-size: 1.15rem; color: var(--ink); }
.p-hero__intro p + p { color: var(--muted); }
.p-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

.facts { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--ink); margin-top: 8px; }
.fact { padding: 16px 16px 18px 0; border-bottom: 1px solid var(--line); }
.fact:nth-child(odd) { border-right: 1px solid var(--line); }
.fact:nth-child(even) { padding-left: 18px; }
.fact dt { color: var(--muted); font-size: .7rem; }
.fact dd { font-family: var(--serif); font-size: clamp(1.25rem, 1.8vw, 1.6rem); line-height: 1.15; margin-top: 6px; }

.plate {
  position: relative; background: var(--paper-2); min-height: 420px;
  display: grid; place-items: center; overflow: hidden;
}
.plate::before { content: ""; position: absolute; inset: 0; background: var(--mesh); opacity: .7; }
.plate img { position: relative; width: 78%; max-height: 82%; object-fit: contain; mix-blend-mode: multiply; }
.plate__corner { position: absolute; width: 22px; height: 22px; border-color: var(--ink-2); border-style: solid; border-width: 0; }
.plate__corner--tl { top: 16px; left: 16px; border-top-width: 1px; border-left-width: 1px; }
.plate__corner--tr { top: 16px; right: 16px; border-top-width: 1px; border-right-width: 1px; }
.plate__corner--bl { bottom: 16px; left: 16px; border-bottom-width: 1px; border-left-width: 1px; }
.plate__corner--br { bottom: 16px; right: 16px; border-bottom-width: 1px; border-right-width: 1px; }
.plate__label { position: absolute; left: 48px; bottom: 18px; right: 48px; display: flex; justify-content: space-between; gap: 12px; color: var(--muted); }
.plate__label b { color: var(--signal-deep); font-weight: 700; }
.plate--hero { opacity: 0; animation: fade-up 1s var(--ease) .15s forwards; }
.plate--hero img { animation: plate-in 1.4s var(--ease) .2s both; }
@keyframes plate-in { from { opacity: 0; transform: translateY(24px) scale(.97); } }

/* sticky in-page nav */
.p-nav { position: sticky; top: 0; z-index: 40; background: rgba(243, 241, 236, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-block: 1px solid var(--line); transition: top .45s var(--ease); }
.has-header .p-nav { top: var(--header-h); }
.has-header.header-hidden .p-nav { top: 0; }
.p-nav .wrap { display: flex; align-items: center; gap: 24px; }
.p-nav__list { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; flex: 1; }
.p-nav__list::-webkit-scrollbar { display: none; }
.p-nav__list a {
  display: block; white-space: nowrap; padding: 17px 14px 15px;
  font-family: var(--cond); font-weight: 600; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; color: var(--muted);
  border-bottom: 2px solid transparent;
  transition: color .25s, border-color .25s;
}
.p-nav__list a:hover { color: var(--ink); }
.p-nav__list a.is-active { color: var(--ink); border-color: var(--signal); }
.p-nav__name { font-family: var(--serif); font-size: 1.25rem; white-space: nowrap; display: none; }
.p-nav .btn { flex: none; }
@media (min-width: 1080px) { .p-nav__name { display: block; } }
@media (max-width: 640px) { .p-nav .btn { display: none; } }

.block { padding-block: clamp(64px, 8vw, 120px); border-bottom: 1px solid var(--line); }
.block .wrap { display: grid; gap: 36px; }
.block__head { display: grid; gap: 12px; align-content: start; }
.block__num { font-family: var(--cond); font-size: .8rem; letter-spacing: .14em; color: var(--signal-deep); }
.block__title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 3.6vw, 3.4rem); line-height: 1; letter-spacing: -.015em; }
.block__sub { color: var(--muted); max-width: 22em; }
.block__body { display: grid; gap: clamp(40px, 5vw, 72px); min-width: 0; }
@media (min-width: 1000px) {
  .block .wrap { grid-template-columns: minmax(220px, 3fr) minmax(0, 9fr); gap: 56px; }
  .block__head { position: sticky; top: calc(var(--header-h) + 90px); align-self: start; }
}
.sub-title { font-family: var(--serif); font-size: clamp(1.45rem, 2vw, 1.85rem); line-height: 1.1; margin-bottom: 20px; display: flex; align-items: baseline; gap: 14px; }
.sub-title .num { font-size: .8rem; color: var(--muted); letter-spacing: .1em; }
.note { font-size: .95rem; color: var(--muted); margin-top: 14px; }
.note::before { content: "* "; color: var(--signal); }

/* models */
.model { border-top: 1px solid var(--ink); padding-top: 22px; display: grid; gap: 24px; }
.model__head { display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; align-items: start; }
.model__num { font-family: var(--cond); font-size: .8rem; letter-spacing: .14em; color: var(--signal-deep); padding-top: .55em; }
.model__title { font-family: var(--serif); font-size: clamp(1.7rem, 2.6vw, 2.4rem); line-height: 1.05; }
.model__note { grid-column: 2; color: var(--muted); max-width: 38em; }
.model__icon { grid-column: 2; margin-top: 8px; }
.model__icon img { height: 44px; width: auto; }
.model__media { display: grid; gap: 14px; }
@media (min-width: 760px) { .model__media--split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); align-items: stretch; } }

.fig { position: relative; background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; min-width: 0; }
.fig--paper { background: var(--paper-2); border-color: transparent; }
.fig__img { flex: 1; display: grid; place-items: center; padding: 18px; min-height: 160px; }
.fig__img img { max-height: 420px; width: auto; max-width: 100%; object-fit: contain; }
.fig--paper .fig__img img { mix-blend-mode: multiply; }
.fig figcaption { display: flex; justify-content: space-between; gap: 12px; padding: 11px 14px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--ink-2); line-height: 1.35; }
.fig figcaption .num { color: var(--muted); font-size: .75rem; letter-spacing: .1em; white-space: nowrap; padding-top: .2em; }
.fig figcaption small { display: block; color: var(--muted); font-size: .85rem; margin-top: 2px; }
.zoom { position: absolute; inset: 0; z-index: 1; background: none; border: 0; padding: 0; cursor: zoom-in; }
.zoom:focus-visible { outline-offset: -3px; }
.fig__hint { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; opacity: 0; transform: scale(.8); transition: opacity .3s, transform .3s var(--ease); }
.fig__hint svg { width: 14px; height: 14px; }
.fig:hover .fig__hint { opacity: 1; transform: none; }

.figs { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.figs--lg { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.figs--sm { grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr)); }
.figs--sm .fig__img { min-height: 120px; padding: 10px; }
.figs--sm .fig__img img { max-height: 160px; }
.fig--wide { grid-column: 1 / -1; }

/* advantages */
.adv { counter-reset: adv; display: grid; }
.adv li { counter-increment: adv; display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; line-height: 1.45; }
.adv li:first-child { border-top: 1px solid var(--ink); }
.adv li::before { content: counter(adv, decimal-leading-zero); font-family: var(--cond); font-size: .8rem; letter-spacing: .12em; color: var(--signal-deep); padding-top: .3em; }
.adv li b { font-weight: 600; }
.callouts { display: grid; gap: 14px; }
@media (min-width: 760px) { .callouts { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); } }
.callout-box { padding: 22px 24px; background: var(--paper-2); border-left: 2px solid var(--signal); }
.callout-box h3 { margin-bottom: 8px; color: var(--ink-2); }
.callout-box p { color: var(--ink-2); }

/* sizes */
.measure { display: grid; gap: 28px; padding: clamp(22px, 3vw, 36px); background: var(--white); border: 1px solid var(--line); }
@media (min-width: 760px) { .measure { grid-template-columns: 220px 1fr; align-items: center; } }
.measure svg { width: 100%; max-width: 250px; }
.measure svg .wall { fill: var(--paper-2); }
.measure svg .open { fill: var(--white); stroke: var(--ink); stroke-width: 1.2; }
.measure svg .dimline { stroke: var(--signal); stroke-width: 1; fill: none; }
.measure svg .dimtext { fill: var(--signal-deep); font-family: var(--cond); font-size: 11px; letter-spacing: .4px; }
.measure svg .mark { fill: var(--signal); }
.measure__formula { display: grid; gap: 8px; }
.measure__formula p { font-family: var(--serif); font-size: clamp(1.15rem, 1.8vw, 1.5rem); line-height: 1.25; }
.measure__formula .label { color: var(--muted); margin-bottom: 4px; }

.tables { display: grid; gap: 28px; }
@media (min-width: 760px) { .tables { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); } }
.t-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.t { width: 100%; font-variant-numeric: tabular-nums; }
.t caption { text-align: left; font-family: var(--cond); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; color: var(--ink-2); padding-bottom: 12px; caption-side: top; }
.t caption .num { color: var(--signal-deep); margin-right: 8px; }
.t th, .t td { padding: 13px 12px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
.t th:first-child, .t td:first-child { text-align: left; padding-left: 0; }
.t thead th { font-family: var(--cond); font-weight: 600; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--ink); vertical-align: bottom; white-space: normal; }
.t tbody th { font-weight: 400; }
.t td { font-family: var(--cond); font-size: 1.15rem; font-weight: 500; }
.t td.dash { color: var(--muted); }
.t tbody tr { transition: background .2s; }
.t tbody tr:hover { background: rgba(214, 67, 42, .05); }
.t--acc td, .t--acc th { white-space: normal; text-align: left; vertical-align: top; }
.t--acc td { font-family: var(--sans); font-size: .98rem; font-weight: 400; }
.t--acc td.codes { font-family: var(--cond); font-size: 1rem; font-weight: 500; letter-spacing: .02em; white-space: nowrap; }
.t--acc .thumb { width: 64px; height: 64px; background: var(--white); border: 1px solid var(--line); display: grid; place-items: center; padding: 4px; }
.t--acc .thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.t--acc .thumb-cell { width: 80px; }
.t--acc th.name { font-weight: 600; }

/* tabs */
.tabs__list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.tab {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px;
  border: 1px solid var(--line-2); border-radius: 999px; background: transparent;
  font-family: var(--cond); font-weight: 600; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
  transition: background .3s, color .3s, border-color .3s;
}
.tab:hover { border-color: var(--ink); }
.tab[aria-selected="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
[role="tabpanel"]:focus-visible { outline-offset: 8px; }
.tab-note { color: var(--muted); margin: -8px 0 18px; }

/* mounting variants */
.variants { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (min-width: 640px) { .variants { grid-template-columns: repeat(6, 1fr); } }
.variant { display: grid; gap: 10px; justify-items: center; padding: 18px 8px 14px; background: var(--white); border: 1px solid var(--line); }
.variant svg { width: 64px; height: 88px; }
.variant svg .ghost { fill: none; stroke: var(--line-2); stroke-dasharray: 3 3; stroke-width: 1; }
.variant svg .prof { fill: var(--ink-2); }
.variant__letter { font-family: var(--serif); font-size: 1.4rem; line-height: 1; }
.variant__label { font-size: .78rem; color: var(--muted); text-align: center; line-height: 1.3; }

/* install steps */
.steps { counter-reset: step; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
.step { counter-increment: step; background: var(--paper); padding: 24px 24px 26px; display: grid; gap: 8px; align-content: start; }
.step::before { content: counter(step, decimal-leading-zero); font-family: var(--cond); font-size: .8rem; letter-spacing: .14em; color: var(--signal-deep); }
.step h3 { font-family: var(--serif); font-weight: 400; font-size: 1.4rem; line-height: 1.15; }
.step p { color: var(--muted); font-size: .98rem; }

/* swatches */
.swatches { display: grid; gap: 18px 12px; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); }
.swatch { display: grid; gap: 10px; }
.swatch__chip { aspect-ratio: 1; border: 1px solid var(--line); position: relative; overflow: hidden; background: var(--c, #ccc); }
.swatch__chip img { width: 100%; height: 100%; object-fit: cover; }
.swatch__chip--mesh::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255,255,255,.28) 0 1px, transparent 1px 4px), repeating-linear-gradient(90deg, rgba(255,255,255,.28) 0 1px, transparent 1px 4px); }
.swatch__chip--weave::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, rgba(0,0,0,.06) 0 2px, transparent 2px 4px), repeating-linear-gradient(-45deg, rgba(255,255,255,.18) 0 2px, transparent 2px 4px); }
.swatch__chip--clear { background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(214, 226, 230, .7)); }
.swatch__chip--clear::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 40%, rgba(255,255,255,.9) 48%, transparent 56%); }
.swatch__name { font-size: .92rem; line-height: 1.3; }
.swatch__name .num { display: block; font-size: .72rem; color: var(--muted); letter-spacing: .1em; }
.swatches--mesh { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }

/* guide catalogue */
.guides { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); }
.guide { background: var(--white); display: grid; position: relative; }
.guide .fig__img { min-height: 130px; padding: 10px; }
.guide img { max-height: 120px; width: auto; }
.guide span { padding: 8px 12px 10px; font-family: var(--cond); font-weight: 600; letter-spacing: .06em; font-size: .92rem; border-top: 1px solid var(--line); }

/* spare list */
.spares { columns: 1; column-gap: 40px; }
@media (min-width: 760px) { .spares { columns: 2; } }
.spares li { break-inside: avoid; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .98rem; display: grid; grid-template-columns: 40px 1fr; }
.spares li .num { color: var(--muted); font-size: .76rem; letter-spacing: .08em; padding-top: .2em; }

/* related + CTA band */
.related { padding-block: clamp(72px, 9vw, 128px); }
.cta-band { background: var(--dark); color: var(--on-dark); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: var(--mesh-dark); }
.cta-band .wrap { position: relative; display: grid; gap: 32px; padding-block: clamp(72px, 9vw, 128px); }
.cta-band .h2 { max-width: 14em; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-band__tel { font-family: var(--cond); font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: .02em; text-decoration: none; margin-right: 16px; }
.cta-band__tel:hover { color: #ff8a70; }
@media (min-width: 1000px) { .cta-band .wrap { grid-template-columns: 1.3fr 1fr; align-items: end; } .cta-band__actions { justify-content: flex-end; } }

/* lightbox */
.lightbox { padding: 0; border: 0; background: transparent; max-width: none; max-height: none; width: 100vw; height: 100vh; height: 100dvh; margin: 0; }
.lightbox::backdrop { background: rgba(20, 23, 25, .92); backdrop-filter: blur(4px); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; animation: fade .3s var(--ease); }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; padding: 14px var(--gutter); color: var(--on-dark); }
.lightbox__count { font-family: var(--cond); letter-spacing: .14em; font-size: .8rem; color: var(--on-dark-muted); }
.lightbox__stage { display: grid; place-items: center; padding: 0 var(--gutter); min-height: 0; }
.lightbox__stage img { max-width: 100%; max-height: calc(100dvh - 160px); object-fit: contain; background: var(--white); padding: clamp(8px, 2vw, 24px); }
.lightbox__caption { text-align: center; color: var(--on-dark); padding: 14px var(--gutter) 22px; font-family: var(--serif); font-size: 1.2rem; }
.lightbox .round-btn { color: var(--on-dark); }
.lightbox__nav { position: fixed; top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 12px; }
.lightbox__nav--next { right: 12px; }
@media (max-width: 640px) { .lightbox__nav { top: auto; bottom: 12px; transform: none; } }

/* 404 */
.lost { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 40px) var(--gutter) 80px; }
.lost .display { margin: 20px 0 24px; }
.lost p { margin: 0 auto 32px; max-width: 30em; color: var(--muted); }

/* ==========================================================================
   Scroll reveals
   ========================================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--delay, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="line"] { opacity: 1; transform: none; }
.js [data-reveal="line"]::after { content: ""; display: block; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .site-header, .p-nav, .cta-band, .site-footer, .drawer, body::before { display: none !important; }
  .block { break-inside: avoid; }
}
