/* Barsan Ambalaj, 2026
   One font (Inter Tight), sentence case everywhere, hairline grids, 8px controls / 14-20px surfaces.
   Brand plum #840b55 is the only accent. */

:root {
  --bg: #f6f6f7;
  --surface: #ffffff;
  --sunk: #eeedef;
  --ink: #141215;
  --ink-2: #4f4b53;
  --ink-3: #6b6770;
  --quiet: #a19da5;
  --line: rgba(20, 18, 21, 0.09);
  --line-2: rgba(20, 18, 21, 0.14);
  --plum: #840b55;
  --plum-2: #a3236f;
  --plum-deep: #400529;
  --night: #130a10;
  --night-2: #1d1119;
  --on-night: #f5f1f4;
  --on-night-2: rgba(245, 241, 244, 0.64);
  --on-night-q: rgba(245, 241, 244, 0.4);
  --night-line: rgba(245, 241, 244, 0.12);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --shadow: 0 1px 2px rgba(64, 5, 41, 0.04), 0 8px 24px -12px rgba(64, 5, 41, 0.14);
  --ring: 0 0 0 1px var(--line);

  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --header-h: 64px;
  --gutter: clamp(20px, 4vw, 48px);
  --max: 1320px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
ul, ol { margin: 0; padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }
::selection { background: var(--plum); color: #fff; }

:focus-visible {
  outline: 2px solid var(--plum);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--r-sm);
  transition: top 0.2s var(--ease);
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */
.display {
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.038em;
  font-weight: 500;
}
.h2 {
  font-size: clamp(30px, 3.5vw, 48px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 500;
}
.h3 {
  font-size: 17px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  font-weight: 500;
}
.h4 { font-size: 15px; font-weight: 500; letter-spacing: -0.005em; }
.q { color: var(--quiet); }
.dark .q, .q-dark { color: var(--on-night-q); }
.lead {
  font-size: clamp(16px, 1.25vw, 18.5px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 34em;
}
.dark .lead { color: var(--on-night-2); }
.body { color: var(--ink-2); max-width: 62ch; }
.small { font-size: 14px; color: var(--ink-3); }
.meta { font-size: 13px; color: var(--ink-3); letter-spacing: 0; }
.num { font-variant-numeric: tabular-nums; }
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  height: 26px; padding: 0 10px; border-radius: 6px;
  background: var(--sunk); color: var(--ink-2);
  font-size: 13px; font-weight: 500; white-space: nowrap;
}
.dark .tag { background: rgba(245, 241, 244, 0.08); color: var(--on-night-2); }
.tag i { font-size: 15px; color: var(--plum); }
.dark .tag i { color: #e58fc0; }

/* ---------- Buttons ---------- */
.btn {
  --b-bg: var(--ink); --b-fg: #fff; --b-ring: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 16px; border-radius: var(--r-sm);
  background: var(--b-bg); color: var(--b-fg);
  box-shadow: inset 0 0 0 1px var(--b-ring);
  font-size: 14.5px; font-weight: 500; letter-spacing: -0.005em; white-space: nowrap;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.15s var(--ease), box-shadow 0.2s var(--ease);
}
.btn i { font-size: 16px; transition: transform 0.25s var(--ease); }
.btn:hover i.ph-arrow-right, .btn:hover i.ph-arrow-up-right { transform: translateX(3px); }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-ink:hover { --b-bg: #2b272d; }
.btn-plum { --b-bg: var(--plum); }
.btn-plum:hover { --b-bg: #6e0947; }
.btn-white { --b-bg: #fff; --b-fg: var(--ink); }
.btn-white:hover { --b-bg: #efe9ed; }
.btn-ghost { --b-bg: var(--surface); --b-fg: var(--ink); --b-ring: var(--line-2); }
.btn-ghost:hover { --b-bg: #fbfafb; --b-ring: rgba(20, 18, 21, 0.24); }
.btn-ghost-dark { --b-bg: transparent; --b-fg: var(--on-night); --b-ring: rgba(245, 241, 244, 0.24); }
.btn-ghost-dark:hover { --b-bg: rgba(245, 241, 244, 0.06); --b-ring: rgba(245, 241, 244, 0.4); }
.btn-sm { height: 34px; padding: 0 12px; font-size: 13.5px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

.arrow-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14.5px; font-weight: 500; color: var(--ink);
}
.arrow-link i { transition: transform 0.25s var(--ease); }
.arrow-link:hover i { transform: translateX(3px); }
.arrow-link:hover { color: var(--plum); }
.dark .arrow-link { color: var(--on-night); }
.dark .arrow-link:hover { color: #f2b6d6; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  color: var(--ink);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(246, 246, 247, 0.82);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: inset 0 -1px 0 var(--line);
}
.site-header.on-dark { color: var(--on-night); }
.site-header.on-dark.is-scrolled {
  background: rgba(19, 10, 16, 0.72);
  box-shadow: inset 0 -1px 0 var(--night-line);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; height: 48px; }
.logo { width: clamp(136px, 11vw, 156px); height: auto; }
.logo .logo-a { fill: var(--plum); transition: fill 0.3s var(--ease); }
.logo .logo-b { fill: var(--ink); transition: fill 0.3s var(--ease); }
.on-dark .logo .logo-a, .dark .logo .logo-a { fill: #fff; }
.on-dark .logo .logo-b, .dark .logo .logo-b { fill: rgba(255, 255, 255, 0.62); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: 4px;
  height: 36px; padding: 0 12px; border-radius: var(--r-sm);
  font-size: 14.5px; font-weight: 500; color: inherit; opacity: 0.86;
  transition: opacity 0.2s var(--ease), background-color 0.2s var(--ease);
}
.nav-link:hover, .nav-link[aria-expanded="true"] { opacity: 1; background: rgba(20, 18, 21, 0.05); }
.on-dark .nav-link:hover, .on-dark .nav-link[aria-expanded="true"] { background: rgba(245, 241, 244, 0.08); }
.nav-link[aria-current="page"] { opacity: 1; }
.nav-link[aria-current="page"]::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1.5px;
  background: currentColor; opacity: 0.5; border-radius: 1px;
}
.nav-link .ph-caret-down { font-size: 12px; transition: transform 0.25s var(--ease); }
.nav-link[aria-expanded="true"] .ph-caret-down { transform: rotate(180deg); }
.lang-link { gap: 6px; }
.lang-link i { font-size: 16px; }
.nav-sep { width: 1px; height: 18px; background: currentColor; opacity: 0.18; margin: 0 10px; }
.on-dark .btn-head { --b-bg: #fff; --b-fg: var(--ink); }
.icon-btn.menu-btn { display: none; }

/* Mega menu */
.mega {
  position: absolute; left: 0; right: 0; top: calc(var(--header-h) - 6px);
  pointer-events: none;
}
.mega-panel {
  margin-left: auto; width: min(880px, calc(100vw - 2 * var(--gutter)));
  background: var(--surface); color: var(--ink);
  border-radius: var(--r-md);
  box-shadow: 0 0 0 1px var(--line), 0 24px 48px -20px rgba(64, 5, 41, 0.28);
  padding: 10px;
  clip-path: inset(0 0 100% 0 round var(--r-md));
  opacity: 0;
  transition: clip-path 0.38s var(--ease), opacity 0.2s var(--ease);
}
.mega.is-open { pointer-events: auto; }
.mega.is-open .mega-panel { clip-path: inset(0 0 0 0 round var(--r-md)); opacity: 1; }
.mega-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.mega-col { padding: 12px 10px 8px; }
.mega-col h3 { font-size: 13px; font-weight: 500; color: var(--ink-3); margin: 0 0 8px 8px; }
.mega-item {
  display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 10px;
  font-size: 14px; font-weight: 500; line-height: 1.25;
  transition: background-color 0.2s var(--ease);
}
.mega-item:hover { background: var(--bg); }
.mega-item img { width: 40px; height: 40px; object-fit: cover; border-radius: 8px; background: var(--sunk); flex: none; }
.mega-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 6px; padding: 12px 16px; border-radius: 10px; background: var(--bg);
  font-size: 13.5px; color: var(--ink-2);
}

/* Mobile sheet */
.sheet {
  position: fixed; inset: 0; z-index: 60; background: var(--night); color: var(--on-night);
  display: flex; flex-direction: column;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path 0.45s var(--ease), visibility 0s linear 0.45s;
}
.sheet.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 0.45s var(--ease), visibility 0s; }
.sheet-top { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; }
.sheet-body { flex: 1; overflow-y: auto; padding-top: 16px; padding-bottom: 32px; }
.sheet-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; border-bottom: 1px solid var(--night-line);
  font-size: 22px; letter-spacing: -0.02em;
}
.sheet-sub { padding: 6px 0 14px; display: grid; gap: 2px; border-bottom: 1px solid var(--night-line); }
.sheet-sub a { padding: 7px 0; color: var(--on-night-2); font-size: 15.5px; }
.sheet-foot { padding: 20px 0; border-top: 1px solid var(--night-line); display: grid; gap: 12px; }
.icon-btn {
  width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: var(--r-sm);
  font-size: 22px;
}
.icon-btn:hover { background: rgba(127, 127, 127, 0.12); }

/* ---------- Sections ---------- */
main { display: block; }
.section { padding: clamp(80px, 10vw, 136px) 0; }
.section + .section, .hair { border-top: 1px solid var(--line); }
.section-tight { padding: clamp(56px, 7vw, 88px) 0; }
.dark { background: var(--night); color: var(--on-night); }
.head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 64px); }
.head-row .head { margin-bottom: 0; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--bg); color: var(--ink);
  padding-top: calc(var(--header-h) + clamp(24px, 4vw, 56px));
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(55% 55% at 84% 34%, rgba(132, 11, 85, 0.09), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, rgba(132, 11, 85, 0.05), transparent 70%);
}
.hero-top {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(24px, 4vw, 64px); align-items: start;
  padding-top: 22px; margin-top: clamp(16px, 3vw, 40px);
}
.hero-copy { display: grid; gap: 22px; }
.hero-copy > * { justify-self: start; }
.hero-copy .display { font-size: clamp(40px, 4.6vw, 66px); max-width: 12em; }
.hero-side { display: grid; gap: 22px; padding-top: 0.6em; }
.hero-video {
  position: relative; margin-top: clamp(32px, 4vw, 56px);
  aspect-ratio: 21 / 9; max-height: 78vh; width: 100%; overflow: hidden;
  background: var(--sunk) url("../video/hero-1920.webp") center / cover no-repeat;
}
.hero-video video { width: 100%; height: 100%; object-fit: cover; }
.video-toggle {
  position: absolute; right: var(--gutter); bottom: 20px; width: 38px; height: 38px; border-radius: var(--r-sm);
  display: grid; place-items: center; font-size: 17px; color: #fff;
  background: rgba(19, 10, 16, 0.42); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  transition: background-color 0.2s var(--ease);
}
.video-toggle:hover { background: rgba(19, 10, 16, 0.62); }

/* Page head (inner pages) */
.page-head { padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 clamp(40px, 5vw, 64px); }
.page-head .display { max-width: 13em; }
.page-head .lead { margin-top: 22px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13.5px; color: var(--ink-3); margin-bottom: 22px; }
.crumbs a:hover { color: var(--ink); }
.crumbs i { font-size: 11px; opacity: 0.6; }

/* ---------- Value strip ---------- */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.strip-cell { display: flex; align-items: center; gap: 12px; padding: 22px 24px; font-size: 14.5px; font-weight: 500; }
.strip-cell + .strip-cell { border-left: 1px solid var(--line); }
.strip-cell i { font-size: 22px; color: var(--plum); flex: none; }
.strip-cell span { color: var(--ink-3); font-weight: 400; display: block; font-size: 13.5px; }

/* ---------- Product families (home bento) ---------- */
.families { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.family {
  position: relative; display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0;
  background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--ring), var(--shadow);
  overflow: hidden;
}
.family:nth-child(1) { grid-column: span 7; }
.family:nth-child(2) { grid-column: span 5; }
.family:nth-child(3) { grid-column: span 5; }
.family:nth-child(4) { grid-column: span 7; }
.family-media { position: relative; height: clamp(220px, 23vw, 320px); overflow: hidden; background: #f1f0f2; }
.family-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.family:hover .family-media img { transform: scale(1.035); }
.family-media.split { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line); }
.family-media.split img { height: 100%; }
.family-body { display: grid; align-content: start; gap: 8px; padding: 22px 24px 0; }
.family-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.family-title h3 { font-size: 22px; letter-spacing: -0.02em; font-weight: 500; }
.family-title sup { font-size: 12px; color: var(--plum); font-weight: 500; margin-left: 3px; vertical-align: super; }
.family-links { display: grid; grid-auto-rows: min-content; align-content: start; column-gap: 28px; margin: 16px 24px 0; padding-bottom: 14px; border-top: 1px solid var(--line); }
.family-links.cols { grid-template-columns: 1fr 1fr; }
.family-links.cols a:nth-last-child(2) { border-bottom: 0; }
.family-links a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; font-weight: 500;
  transition: color 0.2s var(--ease);
}
.family-links a:last-child { border-bottom: 0; }
.family-links a span { color: var(--ink-3); font-weight: 400; font-size: 13.5px; margin-left: auto; margin-right: 10px; }
.family-links a i { color: var(--quiet); transition: transform 0.25s var(--ease), color 0.2s; }
.family-links a:hover { color: var(--plum); }
.family-links a:hover i { transform: translateX(3px); color: var(--plum); }

/* ---------- Numbers ---------- */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.number { padding: 32px 28px 30px 0; display: grid; gap: 10px; align-content: start; }
.number + .number { padding-left: 28px; border-left: 1px solid var(--line); }
.number-val {
  font-size: clamp(42px, 5vw, 68px); line-height: 1; letter-spacing: -0.045em; font-weight: 500;
  font-variant-numeric: tabular-nums; display: flex; align-items: baseline; gap: 2px; white-space: nowrap;
}
.number-val small { font-size: 0.42em; letter-spacing: -0.01em; font-weight: 400; color: var(--ink-3); margin-left: 6px; }
.number p { font-size: 15px; color: var(--ink); font-weight: 500; max-width: 22ch; }
.number a { font-size: 13.5px; color: var(--ink-3); }
.number a:hover { color: var(--plum); }

/* Odometer */
.odo { display: inline-flex; overflow: hidden; height: 1em; line-height: 1; }
.odo-reel { display: flex; flex-direction: column; transition: transform 1.6s cubic-bezier(0.16, 1, 0.3, 1); }
.odo-reel span { height: 1em; }

/* ---------- Process (pinned) ---------- */
.process { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: stretch; }
.process-steps { display: grid; }
.process-col { position: relative; }
.process-more { margin-top: 28px; }
/* Pinned: the link hangs under the last step without stretching the photo, and appears when the steps finish. */
html.pin-steps .process-more {
  position: absolute; left: 0; top: calc(100% + 22px); margin: 0;
  opacity: 0; transform: translateY(8px); filter: blur(4px); pointer-events: none;
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), filter 0.6s var(--ease);
}
html.pin-steps .process-more.is-in { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.step {
  display: grid; grid-template-columns: 44px 1fr; gap: 4px 12px;
  padding: 22px 0; border-top: 1px solid var(--line);
  transition: opacity 0.4s var(--ease);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step-n { font-size: 13px; color: var(--ink-3); padding-top: 4px; font-variant-numeric: tabular-nums; }
.step h3 { font-size: 21px; letter-spacing: -0.02em; font-weight: 500; }
.step p { grid-column: 2; color: var(--ink-2); font-size: 15px; max-width: 46ch; }
/* The step's own top hairline doubles as its progress bar. */
.step { position: relative; }
.step-bar { position: absolute; left: 0; right: 0; top: -1px; height: 2px; overflow: hidden; pointer-events: none; }
.step-bar span { display: block; height: 100%; width: 100%; background: var(--plum); transform-origin: left; transform: scaleX(0); }
.step:not(.is-on) .step-bar span { opacity: 0.45; }
.process-stage {
  position: relative; height: 100%; min-height: 480px; width: 100%;
  border-radius: var(--r-lg); overflow: hidden; background: var(--sunk); box-shadow: var(--ring);
}
.process-stage img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.06); transition: opacity 0.7s var(--ease), transform 1.4s var(--ease);
}
.process-stage img.is-on { opacity: 1; transform: scale(1); }
.step-photo { display: none; }
html.pin-steps .step:not(.is-on) { opacity: 0.38; }
/* Pinned on desktop: spacing follows the viewport height so the whole block fits under the header. */
html.pin-steps .step { padding: clamp(12px, 1.9vh, 22px) 0; }
html.pin-steps .step h3 { font-size: clamp(17px, 2.3vh, 21px); }
html.pin-steps .step p { font-size: clamp(13.5px, 1.7vh, 15px); }
html.pin-steps .process-head { margin-bottom: clamp(16px, 2.6vh, 28px); gap: clamp(10px, 1.6vh, 16px); }
html.pin-steps .process-head .h2 { font-size: min(3.5vw, 5.4vh, 48px); }
@media (max-height: 999px) { html.pin-steps .process-head .lead { display: none; } }
@media (max-height: 820px) {
  html.pin-steps .step p { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
}

/* ---------- Facility split ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.split-rev { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
.frame { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--ring); background: var(--sunk); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.ticks { display: grid; margin-top: 32px; border-top: 1px solid var(--line); }
.tick { display: grid; grid-template-columns: 40px 1fr; gap: 2px 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.tick i { grid-row: span 2; font-size: 24px; color: var(--plum); padding-top: 2px; }
.tick p { color: var(--ink-2); font-size: 15px; }
.ticks-2 { grid-template-columns: 1fr 1fr; column-gap: 32px; }
.bip { display: grid; justify-items: center; text-align: center; }
.bip-logo { width: clamp(240px, 28vw, 380px); margin-bottom: clamp(28px, 4vw, 44px); }
.bip .h2 { max-width: 16em; }
.bip .lead { margin-top: 18px; max-width: 36em; }
.bip-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 26px; }
.bip-tags .tag { height: 34px; padding: 0 12px; font-size: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 0.2s var(--ease), color 0.2s; }
.bip-tags .tag:hover { box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink); }
.bip-tags .tag i { color: #2b3091; }
.ticks-3 { width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(48px, 6vw, 72px); border-top: 0; text-align: left; }
.ticks-3 .tick { border-bottom: 0; border-top: 1px solid var(--line); padding: 22px 24px 0 0; }
.ticks-3 .tick + .tick { padding-left: 24px; border-left: 1px solid var(--line); }

/* ---------- BİPOŞET rail ---------- */
.rail-wrap { position: relative; }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: auto; gap: 16px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  --edge: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  padding: 4px var(--edge) 24px; scroll-padding: 0 var(--edge);
  scrollbar-width: none; cursor: grab;
}
.rail::-webkit-scrollbar { display: none; }
.rail.is-drag { cursor: grabbing; scroll-snap-type: none; }
.rail figure { margin: 0; scroll-snap-align: start; border-radius: var(--r-md); overflow: hidden; background: #f1f0f2; width: clamp(280px, 42vw, 600px); aspect-ratio: 16 / 10; }
.rail figure img { height: 100%; width: 100%; object-fit: cover; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.rail-ctrl { display: flex; gap: 8px; }
.round-btn {
  width: 42px; height: 42px; border-radius: var(--r-sm); display: inline-grid; place-items: center;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 18px;
  transition: background-color 0.2s var(--ease), opacity 0.2s;
}
.round-btn:hover { background: #fbfafb; }
.round-btn:disabled { opacity: 0.35; cursor: default; }

/* ---------- Manifesto ---------- */
.manifesto { text-align: center; display: grid; justify-items: center; gap: 28px; }
.manifesto-text {
  font-size: clamp(30px, 4.2vw, 58px); line-height: 1.1; letter-spacing: -0.032em; max-width: 18em;
font-weight: 500; }
.manifesto-text .w { color: var(--ink); transition: color 0.2s linear; }
html.pin .manifesto-text .w { color: #cfcbd1; }
html.pin .manifesto-text .w.is-lit { color: var(--ink); }
.manifesto .body { text-align: center; }

/* ---------- CTA panel ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(163, 35, 111, 0.55), transparent 60%),
    linear-gradient(160deg, #1a0b14 0%, #2c0920 55%, #5a0a3a 100%);
  color: var(--on-night);
  padding: clamp(40px, 6vw, 80px);
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 32px; align-items: end;
}
.cta .h2 { max-width: 13em; }
.cta .lead { color: var(--on-night-2); margin-top: 18px; }
.cta-side { display: grid; gap: 18px; justify-items: end; justify-self: end; text-align: right; }
.cta-contact { display: grid; gap: 4px; font-size: 14.5px; color: var(--on-night-2); }
.cta-contact a { color: var(--on-night); }
.cta-contact a:hover { color: #f2b6d6; }
.cta-dots { position: absolute; right: 0; top: 0; width: 46%; height: 100%; opacity: 0.5; pointer-events: none; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 28px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-brand p { margin-top: 16px; color: var(--ink-3); font-size: 14.5px; max-width: 30ch; }
.foot-col h3 { font-size: 13px; font-weight: 500; color: var(--ink-3); margin-bottom: 14px; }
.foot-col li + li { margin-top: 8px; }
.foot-col a, .foot-col li { font-size: 14px; color: var(--ink-2); }
.foot-col a:hover { color: var(--plum); }
.foot-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--ink-3);
}

/* ---------- Product index ---------- */
.catalog { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.cat-nav { position: sticky; top: calc(var(--header-h) + 28px); display: grid; gap: 2px; }
.cat-nav a {
  display: flex; justify-content: space-between; padding: 8px 10px; border-radius: var(--r-sm);
  font-size: 14.5px; color: var(--ink-2); transition: background-color 0.2s, color 0.2s;
}
.cat-nav a:hover { background: var(--sunk); color: var(--ink); }
.cat-nav a.is-on { background: var(--surface); color: var(--ink); box-shadow: var(--ring); font-weight: 500; }
.cat-nav a span { color: var(--ink-3); font-variant-numeric: tabular-nums; }
.cat-nav .btn { margin-top: 18px; }
.cat-group { scroll-margin-top: calc(var(--header-h) + 28px); }
.cat-group + .cat-group { margin-top: clamp(56px, 7vw, 96px); }
.cat-group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.cat-group-head h2 { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -0.025em;  font-weight: 500;}
.cat-group-head h2 sup { font-size: 13px; color: var(--plum); font-weight: 500; margin-left: 4px; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.card {
  display: grid; grid-template-rows: auto 1fr; border-radius: var(--r-lg); overflow: hidden;
  background: var(--surface); box-shadow: var(--ring), var(--shadow);
}
.card-media { aspect-ratio: 16 / 10; overflow: hidden; background: #f1f0f2; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card-media img { transform: scale(1.035); }
.card-body { padding: 20px 22px 22px; display: grid; gap: 10px; align-content: start; }
.card-body h3 { font-size: 20px; letter-spacing: -0.02em; font-weight: 500; display: flex; justify-content: space-between; gap: 12px; }
.card-body h3 i { color: var(--quiet); font-size: 18px; transition: transform 0.25s var(--ease), color 0.2s; }
.card:hover .card-body h3 i { transform: translateX(3px); color: var(--plum); }
.card-body p { color: var(--ink-2); font-size: 14.5px; }
.card-specs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }

/* ---------- Product detail ---------- */
.pd-hero { padding: calc(var(--header-h) + clamp(28px, 4vw, 48px)) 0 clamp(56px, 7vw, 96px); }
.pd-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.gallery { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 10px; }
.gallery-main { aspect-ratio: 1 / 1; border-radius: var(--r-lg); overflow: hidden; background: #f1f0f2; box-shadow: var(--ring); position: relative; }
.gallery-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.45s var(--ease); }
.gallery-main img.is-on { opacity: 1; }
.thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.thumb {
  width: 72px; height: 72px; border-radius: 10px; overflow: hidden; background: #f1f0f2;
  box-shadow: inset 0 0 0 1px var(--line); opacity: 0.6; transition: opacity 0.2s, box-shadow 0.2s;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { opacity: 1; }
.thumb[aria-pressed="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--plum); }
.pd-info { display: grid; gap: 22px; padding-top: 6px; }
.pd-info .display { font-size: clamp(36px, 4.4vw, 58px); }
.pd-brand { display: flex; align-items: center; gap: 10px; }
.keyspecs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--ring); }
.keyspec { background: var(--surface); padding: 16px 18px; display: grid; gap: 4px; }
.keyspec:last-child:nth-child(odd) { grid-column: span 2; }
.keyspec dt { font-size: 13px; color: var(--ink-3); }
.keyspec dd { margin: 0; font-size: 19px; letter-spacing: -0.015em; font-variant-numeric: tabular-nums; }
.pd-note { font-size: 14px; color: var(--ink-3); display: flex; gap: 8px; align-items: flex-start; }
.pd-note i { color: var(--plum); font-size: 17px; margin-top: 1px; }

.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.feature { padding: 28px 28px 28px 0; display: grid; grid-template-columns: 44px 1fr; gap: 4px 12px; border-bottom: 1px solid var(--line); }
.feature:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line); padding-right: 0; }
.feature:last-child:nth-child(odd) { grid-column: span 2; border-left: 0; padding-left: 0; }
.feature i { grid-row: span 2; font-size: 26px; color: var(--plum); }
.feature p { color: var(--ink-2); font-size: 15px; }

.specs-wrap > *, .pd-grid > *, .split > *, .contact-grid > *, .catalog > * { min-width: 0; }
.specs-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(24px, 4vw, 56px); align-items: start; }
.spec-list { display: grid; border-top: 1px solid var(--line-2); }
.spec-row { display: grid; grid-template-columns: minmax(140px, 0.4fr) 1fr; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.spec-row dt { color: var(--ink-3); }
.spec-row dd { margin: 0; }
.tabs { display: inline-flex; gap: 2px; padding: 3px; border-radius: 10px; background: var(--sunk); margin-bottom: 18px; flex-wrap: wrap; }
.tab { height: 32px; padding: 0 12px; border-radius: 8px; font-size: 13.5px; font-weight: 500; color: var(--ink-2); transition: background-color 0.2s, color 0.2s, box-shadow 0.2s; }
.tab[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(20, 18, 21, 0.08), 0 0 0 1px var(--line); }
.tab-panel[hidden] { display: none; }
.table-scroll { overflow-x: auto; border-radius: var(--r-md); box-shadow: var(--ring); background: var(--surface); }
.data { font-size: 14.5px; font-variant-numeric: tabular-nums; min-width: 560px; }
.data th { text-align: left; font-weight: 500; font-size: 13px; color: var(--ink-3); padding: 13px 16px; background: #fbfafb; border-bottom: 1px solid var(--line); white-space: nowrap; }
.data td { padding: 13px 16px; white-space: nowrap; }
.data tbody tr:nth-child(even) td { background: #fbfafb; }
.data td:first-child { font-weight: 500; }
.data caption { caption-side: bottom; text-align: left; padding: 12px 16px; font-size: 13px; color: var(--ink-3); border-top: 1px solid var(--line); }
.aside-card { border-radius: var(--r-md); background: var(--surface); box-shadow: var(--ring); padding: 8px; display: grid; gap: 2px; position: sticky; top: calc(var(--header-h) + 20px); }
.aside-card h3 { font-size: 13px; font-weight: 500; color: var(--ink-3); padding: 10px 12px 6px; }
.aside-link { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 10px; font-size: 14.5px; font-weight: 500; transition: background-color 0.2s; }
.aside-link:hover { background: var(--bg); }
.aside-link i { font-size: 20px; color: var(--plum); }
.aside-link span { display: block; font-weight: 400; color: var(--ink-3); font-size: 13px; }
.aside-link .ph-arrow-up-right, .aside-link .ph-arrow-right, .aside-link .ph-download-simple { margin-left: auto; color: var(--quiet); font-size: 16px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: var(--r-sm); background: var(--surface); box-shadow: var(--ring); font-size: 14.5px; }
.chip i { color: var(--plum); font-size: 17px; }
.uses { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 32px; align-items: start; }

.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.related .card-media { aspect-ratio: 4 / 3; }

/* ---------- Production page ---------- */
.wide-photo { aspect-ratio: 21 / 9; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--ring); background: var(--sunk); }
.wide-photo img { width: 100%; height: 100%; object-fit: cover; }
.timeline { position: relative; display: grid; gap: clamp(48px, 7vw, 96px); }
.timeline::before { content: ""; position: absolute; left: 50%; top: 8px; bottom: 8px; width: 1px; background: var(--line-2); }
.tl-item { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 112px); align-items: center; position: relative; }
.tl-item::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px;
  border-radius: 50%; background: var(--bg); box-shadow: 0 0 0 1.5px var(--plum);
}
.tl-item:nth-child(even) .tl-text { order: 2; }
.tl-text { display: grid; gap: 14px; max-width: 30em; }
.tl-item:nth-child(odd) .tl-text { justify-self: end; text-align: right; }
.tl-item:nth-child(odd) .tl-text .chips { justify-content: flex-end; }
.tl-n { font-size: 13px; color: var(--plum); font-weight: 500; font-variant-numeric: tabular-nums; }
.tl-text h3 { font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -0.025em; font-weight: 500; line-height: 1.1; }
.tl-text p { color: var(--ink-2); }
.tl-photo { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--ring); background: var(--sunk); }
.tl-photo img { width: 100%; height: 100%; object-fit: cover; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.gallery-grid button { display: block; aspect-ratio: 4 / 3; border-radius: var(--r-md); overflow: hidden; background: var(--sunk); }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery-grid button:hover img { transform: scale(1.03); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1200px, 94vw); max-height: 92vh; width: auto; overflow: visible; }
.lightbox::backdrop { background: rgba(19, 10, 16, 0.86); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lightbox img { max-height: 84vh; width: auto; border-radius: var(--r-md); margin: 0 auto; }
.lightbox-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; color: var(--on-night-2); font-size: 14px; }
.lightbox-bar .icon-btn { color: var(--on-night); background: rgba(255, 255, 255, 0.08); }
.lightbox-bar .icon-btn:hover { background: rgba(255, 255, 255, 0.16); }
.lb-nav { display: flex; gap: 8px; }

/* ---------- About ---------- */
.vm { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.vm-item { padding: 40px 40px 8px 0; display: grid; gap: 14px; align-content: start; }
.vm-item + .vm-item { padding-left: 40px; border-left: 1px solid var(--line); }
.vm-item .label { font-size: 13.5px; color: var(--plum); font-weight: 500; }
.vm-item h3 { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -0.025em; line-height: 1.12; font-weight: 500; max-width: 16em; }
.vm-item p { color: var(--ink-2); }
.mosaic { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 260px 260px; gap: 14px; }
.mosaic .frame:first-child { grid-row: span 2; }
.brand-card { border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--ring); padding: clamp(28px, 4vw, 48px); display: grid; gap: 18px; align-content: start; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact-list { display: grid; border-top: 1px solid var(--line); }
.contact-row { display: grid; grid-template-columns: 40px 1fr; gap: 2px 12px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-row i { grid-row: span 2; font-size: 22px; color: var(--plum); padding-top: 2px; }
.contact-row dt { font-size: 13px; color: var(--ink-3); }
.contact-row dd { margin: 0; font-size: 17px; letter-spacing: -0.01em; }
.contact-row dd a:hover { color: var(--plum); }
.form { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--ring), var(--shadow); padding: clamp(24px, 3.5vw, 40px); display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.field label span { color: var(--ink-3); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; height: 44px; padding: 0 13px; border-radius: var(--r-sm); border: 0;
  background: var(--bg); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink); font-size: 15px;
  transition: box-shadow 0.2s var(--ease), background-color 0.2s;
  appearance: none; -webkit-appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%), linear-gradient(135deg, var(--ink-3) 50%, transparent 50%); background-position: calc(100% - 18px) 19px, calc(100% - 13px) 19px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.field textarea { height: 136px; padding: 11px 13px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #8b878f; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 1.5px var(--plum); }
.field .err { font-size: 13px; color: #b42318; display: none; }
.field.is-invalid input, .field.is-invalid textarea { box-shadow: inset 0 0 0 1.5px #b42318; background: #fff; }
.field.is-invalid .err { display: block; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.form-status { font-size: 14px; color: var(--ink-2); display: none; align-items: center; gap: 8px; }
.form-status.is-on { display: inline-flex; }
.form-status i { color: #1a7f4b; font-size: 18px; }
.map { aspect-ratio: 21 / 8; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--ring); background: var(--sunk); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.85) contrast(1.02); }

/* ---------- 404 ---------- */
.nf { min-height: 80dvh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 40px) 0 80px; }
.nf .display { font-size: clamp(64px, 10vw, 140px); color: var(--plum); font-weight: 300; }

/* ---------- Reveal ---------- */
html.js [data-reveal] {
  opacity: 0; transform: translateY(10px); filter: blur(6px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), filter 0.8s var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms);
  animation: reveal-safety 0s linear 2.4s forwards;
}
html.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; animation: none; }
@keyframes reveal-safety { to { opacity: 1; transform: none; filter: none; } }

html.js .hero [data-hero] { opacity: 0; transform: translateY(12px); filter: blur(8px); animation: hero-in 1s var(--ease) forwards; animation-delay: calc(120ms + var(--i, 0) * 120ms); }
@keyframes hero-in { to { opacity: 1; transform: none; filter: none; } }
html.js .hero-video[data-hero] { transform: translateY(20px) scale(0.985); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .mega-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: span 2; }
  .specs-wrap { grid-template-columns: 1fr; }
  .aside-card { position: static; }
  .related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .related > :nth-child(3) { display: none; }
}
@media (max-width: 960px) {
  .nav, .nav-sep, .header-cta { display: none; }
  .icon-btn.menu-btn { display: inline-grid; }
  .hero-top { grid-template-columns: 1fr; align-items: start; }
  .strip { grid-template-columns: 1fr 1fr; }
  .strip-cell:nth-child(3) { border-left: 0; }
  .strip-cell:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .families { grid-template-columns: 1fr; }
  .family:nth-child(n) { grid-column: auto; }
  .family { grid-row: auto; grid-template-rows: auto; }
  .numbers { grid-template-columns: 1fr 1fr; }
  .number:nth-child(3) { border-left: 0; padding-left: 0; }
  .number:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .process { grid-template-columns: 1fr; }
  .process-stage { display: none; }
  .step-photo { display: block; grid-column: 2; margin-top: 14px; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4 / 3; }
  .step-photo img { width: 100%; height: 100%; object-fit: cover; }
  .split, .split-rev { grid-template-columns: 1fr; }
  .cta { grid-template-columns: 1fr; }
  .cta-side { justify-items: start; justify-self: start; text-align: left; }
  .catalog { grid-template-columns: 1fr; }
  .cat-nav { position: static; display: flex; flex-wrap: wrap; gap: 6px; }
  .cat-nav a { box-shadow: var(--ring); background: var(--surface); }
  .cat-nav .btn { margin-top: 0; }
  .pd-grid { grid-template-columns: 1fr; }
  .gallery { position: static; }
  .uses { grid-template-columns: 1fr; }
  .timeline::before, .tl-item::before { display: none; }
  .tl-item { grid-template-columns: 1fr; gap: 20px; }
  .tl-item:nth-child(even) .tl-text { order: 0; }
  .tl-item:nth-child(odd) .tl-text { justify-self: start; text-align: left; }
  .tl-item:nth-child(odd) .tl-text .chips { justify-content: flex-start; }
  .vm { grid-template-columns: 1fr; }
  .vm-item + .vm-item { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 300px 200px 200px; }
  .mosaic .frame:first-child { grid-column: span 2; grid-row: auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .ticks-3 { grid-template-columns: 1fr; }
  .ticks-3 .tick + .tick { padding-left: 0; border-left: 0; }
  .ticks-3 .tick { padding: 18px 0; }
  .map { aspect-ratio: 4 / 3; }
}
@media (max-width: 640px) {
  .strip, .numbers, .features, .cards, .related { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .ticks-2 { grid-template-columns: 1fr; }
  .family-links.cols { grid-template-columns: 1fr; }
  .family-links.cols a:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .strip-cell + .strip-cell { border-left: 0; border-top: 1px solid var(--line); }
  .number:nth-child(n) { padding-left: 0; border-left: 0; }
  .number + .number { border-top: 1px solid var(--line); }
  .feature:nth-child(even) { padding-left: 0; border-left: 0; }
  .feature { padding-right: 0; }
  .related > :nth-child(3) { display: grid; }
  .form-row { grid-template-columns: 1fr; }
  .hero-video { aspect-ratio: 4 / 5; background-image: url("../video/hero-720.webp"); }
  .wide-photo { aspect-ratio: 4 / 3; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-brand { grid-column: auto; }
  .head-row { align-items: flex-start; }
  .keyspecs { grid-template-columns: 1fr 1fr; }
}

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

/* ---------- Certificates ---------- */
.certs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cert { display: grid; grid-template-rows: auto 1fr; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); box-shadow: var(--ring), var(--shadow); }
.cert-media { display: block; width: 100%; padding: 28px 28px 0; background: #f1f0f2; border: 0; cursor: zoom-in; aspect-ratio: 4 / 3.4; overflow: hidden; }
.cert-media img { width: 100%; height: auto; box-shadow: 0 1px 2px rgba(20, 18, 21, 0.08), 0 8px 24px -8px rgba(20, 18, 21, 0.18); transition: transform 0.6s var(--ease); }
.cert-media:hover img { transform: translateY(-4px); }
.cert-body { padding: 20px 22px 22px; display: grid; gap: 12px; align-content: start; }
.cert-title { font-size: 20px; letter-spacing: -0.02em; font-weight: 500; line-height: 1.25; }
.cert-title span { display: block; color: var(--ink-3); font-size: 15px; letter-spacing: 0; margin-top: 2px; }
.cert-body > p { color: var(--ink-2); font-size: 14.5px; }
.cert-meta { display: grid; border-top: 1px solid var(--line); }
.cert-meta div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.cert-meta dt { color: var(--ink-3); }
.cert-meta dd { color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }
.cert-body .btn-row { margin-top: 4px; }
/* fit to screen: width follows the A4 page ratio (0.707) of the free height, so the page never needs scrolling */
.cert-dialog { width: min(calc((100dvh - 104px) * 0.707), calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--ring), 0 24px 64px -16px rgba(20, 18, 21, 0.35); overflow: hidden; }
.cert-dialog[open] { display: flex; flex-direction: column; }
.cert-dialog-view { flex: 1 1 auto; min-height: 0; overflow: auto; overscroll-behavior: contain; }
html.modal-open { overflow: hidden; }
.cert-dialog::backdrop { background: rgba(20, 18, 21, 0.5); }
.cert-dialog[open] { animation: cert-in 0.28s var(--ease); }
@keyframes cert-in { from { opacity: 0; transform: translateY(10px) scale(0.98); } }
.cert-dialog-bar { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 20px; background: var(--surface); border-bottom: 1px solid var(--line); font-weight: 500; }
.cert-dialog-bar > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cert-dialog img { display: block; width: 100%; height: auto; }
@media (max-width: 960px) { .certs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .certs { grid-template-columns: 1fr; } .cert-media { padding: 20px 20px 0; } }
@media (prefers-reduced-motion: reduce) { .cert-dialog[open] { animation: none; } }
.cert-dialog-bar .btn-row { flex: none; flex-wrap: nowrap; gap: 4px; }
sup.reg { font-size: 0.55em; line-height: 0; vertical-align: super; margin-left: 0.05em; font-weight: 400; }
.display, .h2, .manifesto-text, .vm-item h3 { text-wrap: balance; }
.lead { text-wrap: pretty; }
/* bag galleries: landscape studio packshots show whole; portrait shots fit inside instead of being cropped */
.gallery-main.gallery-wide { aspect-ratio: 16 / 9; }
.gallery-wide img[height="2844"], .gallery-wide img[height="2867"] { object-fit: contain; }
