/* ==================================================================
   GEFELL MMC — v4 "Architectural"
   Light · precise · blueprint-datasheet · premium engineering
   ================================================================== */

:root {
  --ink: #14181f; /* near-black text */
  --ink-2: #3a414d;
  --paper: #fbfaf7; /* warm architectural white */
  --panel: #f2f0ea; /* soft panel */
  --panel-2: #ece9e1;
  --line: #dbd7cc; /* hairline, drafting-paper feel */
  --line-2: #c7c2b4;
  --muted: #6a7180;
  --accent: #1f5aae; /* architectural blueprint blue */
  --accent-ink: #123a73;
  --brass: #9a7b4f; /* secondary warm accent, used sparingly */

  --font-display: "Archivo", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  --container: 1320px;
  --pad: clamp(20px, 4.5vw, 72px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
::selection {
  background: var(--accent);
  color: #fff;
}

.wrap {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.mono {
  font-family: var(--font-mono);
}

/* Blueprint grid backdrop utility */
.grid-bg {
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: -1px -1px;
}

/* ---- Type ---- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
}
.eyebrow--brass {
  color: var(--brass);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 500;
  font-size: 15px;
  padding: 15px 26px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  transition: 0.35s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover {
  background: transparent;
  color: var(--ink);
}
.btn--accent {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.btn--accent:hover {
  background: var(--accent-ink);
  border-color: var(--accent-ink);
  color: #fff;
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
}
.btn--ghost:hover {
  background: var(--ink);
  color: var(--paper);
}
.btn .arw {
  transition: transform 0.35s var(--ease);
}
.btn:hover .arw {
  transform: translateX(5px);
}

/* ---- Header ---- */
.hdr {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(251, 250, 247, 0.9);
  backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s;
}
.hdr.is-scrolled {
  box-shadow: 0 6px 20px rgba(20, 24, 31, 0.05);
}
.hdr__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--pad);
  gap: 24px;
  max-width: var(--container);
  margin-inline: auto;
}
.hdr__logo img {
  height: 28px;
}
.hdr__nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.hdr__nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
  position: relative;
  padding: 4px 0;
}
.hdr__nav a:hover {
  color: var(--ink);
}
.hdr__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}
.hdr__nav a:hover::after {
  width: 100%;
}
.hdr__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hdr__phone {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-2);
}
.hdr__actions .btn {
  padding: 10px 18px;
  font-size: 13.5px;
}
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.burger span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  display: block;
  transition: 0.3s;
}
@media (max-width: 1000px) {
  .hdr__nav,
  .hdr__phone {
    display: none;
  }
  .burger {
    display: flex;
  }
}

.mmenu {
  position: fixed;
  inset: 0;
  z-index: 79;
  background: var(--paper);
  padding: 90px var(--pad) var(--pad);
  transform: translateX(100%);
  transition: transform 0.5s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mmenu.is-open {
  transform: none;
}
.mmenu a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 7vw, 44px);
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.mmenu__foot {
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mmenu__lang {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 22px;
  margin-top: 10px;
  border-top: 1px solid var(--line);
}
.mmenu__lang-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.mmenu__lang-links {
  display: flex;
  gap: 8px;
}
.mmenu__lang-links a {
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 7px 14px;
  border: 1px solid var(--line-2);
  color: var(--ink-2);
}
.mmenu__lang-links a.is-active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

/* ---- HERO ---- */
.hero {
  position: relative;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: calc(100svh - 58px);
}
.hero__left {
  padding: clamp(40px, 6vw, 88px) var(--pad);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line);
  position: relative;
}
.sysph {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 44%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1.5px dashed var(--line-2);
  background: rgba(251, 250, 247, 0.7);
  color: var(--muted);
  text-align: center;
}
.sysph i {
  font-size: 30px;
}
.sysph span {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
}
.hero__eyebrow {
  margin-bottom: 26px;
}
.hero__title {
  font-size: clamp(40px, 5.6vw, 74px);
  letter-spacing: -0.03em;
}
.hero__title .accent {
  color: var(--accent);
}
.hero__desc {
  margin: 26px 0 34px;
  max-width: 48ch;
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--ink-2);
}
.hero__desc .ink-strong {
  color: var(--ink);
  font-weight: 700;
}
.hero__desc .accent-text {
  color: var(--ink);
  font-weight: 700;
  border-bottom: 2px solid var(--brass);
}
.hero__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero__specs {
  margin-top: auto;
  padding-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.hero__specs--6 {
  row-gap: 22px;
}
.hspec {
  padding-top: 18px;
  padding-right: 16px;
}
.hspec__n {
  font-family: var(--font-mono);
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.hspec__l {
  font-size: 11.5px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 4px;
  line-height: 1.3;
}

/* Brand logo cards in hero slider */

/* Language switcher */
.lang-v4 {
  position: relative;
}
.lang-v4__btn {
  font-family: var(--font-mono);
  font-size: 13px;
  background: none;
  border: 1px solid var(--line-2);
  padding: 9px 12px;
  cursor: pointer;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 6px;
}
.lang-v4__btn:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.lang-v4__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  min-width: 150px;
  list-style: none;
  margin: 0;
  padding: 6px;
  box-shadow: 0 14px 30px rgba(20, 24, 31, 0.12);
  z-index: 10;
}
.lang-v4__menu li {
  font-family: var(--font-mono);
  font-size: 12.5px;
  padding: 0;
  color: var(--ink-2);
  cursor: default;
}
.lang-v4__menu li[aria-current="true"] {
  color: var(--ink);
  font-weight: 600;
  padding: 9px 10px;
}
.lang-v4__menu li.is-soon {
  color: var(--muted);
  font-style: italic;
  padding: 9px 10px;
}
.lang-v4__menu li a {
  display: block;
  padding: 9px 10px;
  color: var(--ink-2);
}
.lang-v4__menu li a:hover {
  background: var(--panel);
  color: var(--ink);
}
@media (max-width: 1000px) {
  .lang-v4 {
    display: none;
  }
}

.hero__right {
  position: relative;
  background: var(--panel);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__right .grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.5;
}
.hero__stage {
  position: relative;
  width: 100%;
  height: 100%;
}
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s var(--ease);
}
.hero__slide.is-active {
  opacity: 1;
}
.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero__slide.ph-missing img {
  display: none;
}
.hero__slide.ph-missing .sysph {
  display: flex;
}
.hero__tag {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 4;
  background: rgba(251, 250, 247, 0.92);
  border: 1px solid var(--line);
  padding: 12px 16px;
  max-width: 64%;
}
.hero__tag .b {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.hero__tag .n {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  margin-top: 3px;
}
.hero__dots {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 4;
  display: flex;
  gap: 8px;
}
.hero__dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: 0.3s;
}
.hero__dots button[aria-current="true"] {
  background: var(--accent);
  border-color: var(--accent);
}
@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .hero__left {
    border-right: none;
    border-bottom: 1px solid var(--line);
    min-height: auto;
  }
  .hero__right {
    min-height: 56vh;
    order: -1;
  }
  .hero__specs--6 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---- Ticker ---- */
.ticker {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
  mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
}
.ticker__row {
  display: flex;
  gap: 64px;
  width: max-content;
  align-items: center;
  padding: 18px 0;
  animation: tick 26s linear infinite;
}
.ticker__row img {
  height: 30px;
  width: auto;
  object-fit: contain;
  opacity: 0.75;
  transition: opacity 0.3s;
}
.ticker__row img:hover {
  opacity: 1;
}
@keyframes tick {
  to {
    transform: translateX(-50%);
  }
}

/* ---- Section scaffold ---- */
.sec {
  padding: clamp(64px, 9vw, 128px) 0;
}
.sec--panel {
  background: var(--panel);
}
.sec--ink {
  background: var(--ink);
  color: var(--paper);
}
.sec__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: clamp(36px, 5vw, 64px);
  flex-wrap: wrap;
}
.sec__title {
  font-size: clamp(30px, 4.6vw, 58px);
}
.sec--ink .sec__title {
  color: var(--paper);
}
.sec__lead {
  max-width: 46ch;
  color: var(--muted);
  font-size: 16px;
}
.sec--ink .sec__lead {
  color: rgba(251, 250, 247, 0.66);
}

/* ---- Statement ---- */
.statement {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 24ch;
}
.statement .dim {
  color: var(--muted);
}

/* ---- Product spotlight rows ---- */
.prow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}
.prow__media {
  background: var(--panel);
  position: relative;
  overflow: hidden;
  aspect-ratio: 1/1;
}
.prow__media .grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.4;
}
.prow__media img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.prow:hover .prow__media img {
  transform: scale(1.04);
}
.prow__num {
  position: absolute;
  top: 20px;
  left: 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  background: rgba(251, 250, 247, 0.9);
  padding: 5px 10px;
  border: 1px solid var(--line);
}
.prow__body {
  padding: clamp(32px, 4.5vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.prow--flip .prow__media {
  order: 2;
}
.prow__brand {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.prow__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 46px);
  letter-spacing: -0.02em;
  margin: 8px 0 24px;
}
.prow__specs {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  border-top: 1px solid var(--line);
  max-width: 460px;
}
.prow__specs li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
.prow__specs .v {
  font-family: var(--font-mono);
  color: var(--ink);
  font-weight: 600;
}
.prow__link {
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--accent);
}
.prow__link .arw {
  transition: transform 0.3s var(--ease);
}
.prow:hover .prow__link .arw {
  transform: translateX(5px);
}
@media (max-width: 900px) {
  .prow {
    grid-template-columns: 1fr;
  }
  .prow--flip .prow__media {
    order: 0;
  }
}

/* ---- Projects ---- */
.pgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.pcard {
  position: relative;
  display: block;
}
.pcard__idx {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  font-size: 11px;
  color: var(--accent);
  background: rgba(251, 250, 247, 0.92);
  border: 1px solid var(--line);
  padding: 4px 9px;
}
.pcard img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.pcard:hover img {
  transform: scale(1.05);
}
.pcard__info {
  padding: 16px 2px 0;
  border-top: 1px solid var(--line);
  margin-top: 14px;
}
.pcard__info h3 {
  font-size: 16px;
  margin-bottom: 4px;
}
.pcard__info .loc {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
}
.pcard__info .sys {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--accent-ink);
  margin-top: 8px;
}
@media (max-width: 900px) {
  .pgrid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  .pgrid {
    grid-template-columns: 1fr;
  }
}

/* ---- Brand matrix cards (replaces old .matrix rows) ---- */
.bmatrix {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.bcard {
  background: var(--paper);
  padding: clamp(28px, 3.2vw, 44px);
  border: 1px solid transparent;
  transition:
    transform 0.35s var(--ease),
    border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
  position: relative;
  z-index: 1;
  display: block;
}
.bcard:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 20px 40px rgba(20, 24, 31, 0.08);
}
.bcard__clip {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.bcard__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(1) blur(0.5px);
  opacity: 0.1;
  transition:
    opacity 0.4s var(--ease),
    transform 0.6s var(--ease);
  transform: scale(1.02);
  background-color: var(--panel-2);
}
.bcard:hover .bcard__bg {
  opacity: 0.16;
  transform: scale(1.06);
}
.bcard__wash {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    var(--paper) 30%,
    rgba(251, 250, 247, 0.62) 72%,
    rgba(251, 250, 247, 0.88) 100%
  );
}
.bcard__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.bcard__facts {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.bcard__facts div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
}
.bcard__facts .k {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.bcard__facts .v {
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 500;
  text-align: right;
}

/* Per-brand background images — PLACEHOLDER PATHS.
   Add these files to /assets/brands/ for the effect to appear (graceful no-op if missing):
   - facility-gealan.jpg    (PVC profile production / extrusion line, industrial, premium)
   - facility-kng.jpg       (aluminium hardware production / factory floor)
   - facility-siegenia.jpg  (clean German engineering / production line)
   - facility-axor.jpg      (hardware manufacturing plant)
   Landscape, min 1200px wide, will be grayscaled + faded automatically. */
.bcard__bg--gealan {
  background-image: url("/assets/brands/facility-gealan.jpg");
}
.bcard__bg--kng {
  background-image: url("/assets/brands/facility-kng.jpg");
}
.bcard__bg--siegenia {
  background-image: url("/assets/brands/facility-siegenia.jpg");
}
.bcard__bg--axor {
  background-image: url("/assets/brands/facility-axor.jpg");
}
.bcard__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}
.bcard__name {
  font-size: clamp(24px, 2.6vw, 30px);
  letter-spacing: -0.01em;
}
.bcard__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.btag {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 5px 10px;
  border: 1px solid var(--line-2);
  color: var(--muted);
  white-space: nowrap;
}
.btag--type {
  color: var(--accent-ink);
  border-color: rgba(31, 90, 174, 0.3);
  background: rgba(31, 90, 174, 0.06);
}
.bcard__desc {
  color: var(--ink-2);
  font-size: 14.5px;
  margin: 0;
  line-height: 1.6;
}
.bcard__block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bcard__mini {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.bcard__points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bcard__points li {
  font-size: 14px;
  color: var(--ink-2);
  padding-left: 16px;
  position: relative;
}
.bcard__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--brass);
}
.bcard__chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.bcard__chips span {
  font-family: var(--font-mono);
  font-size: 12px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  padding: 6px 11px;
  color: var(--ink-2);
}
.bcard:hover .bcard__chips span {
  background: var(--paper);
}
.bcard__link {
  margin-top: auto;
  padding-top: 6px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.bcard__link .arw {
  transition: transform 0.3s var(--ease);
}
.bcard:hover .bcard__link .arw {
  transform: translateX(5px);
}
@media (max-width: 820px) {
  .bmatrix {
    grid-template-columns: 1fr;
  }
}

/* ---- Why (ink section value list) ---- */
.vlist {
  border-top: 1px solid rgba(251, 250, 247, 0.16);
}
.vrow {
  display: grid;
  grid-template-columns: 70px 1fr 1.5fr;
  gap: 28px;
  padding: clamp(26px, 3.6vw, 44px) 0;
  border-bottom: 1px solid rgba(251, 250, 247, 0.16);
  align-items: start;
  transition: padding-left 0.35s var(--ease);
}
.vrow:hover {
  padding-left: 14px;
}
.vrow__n {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--brass);
}
.vrow__t {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(21px, 2.4vw, 30px);
  color: var(--paper);
}
.vrow__d {
  color: rgba(251, 250, 247, 0.66);
  font-size: 15px;
  max-width: 48ch;
}
@media (max-width: 760px) {
  .vrow {
    grid-template-columns: 40px 1fr;
  }
  .vrow__d {
    grid-column: 1/-1;
  }
}

/* ---- CTA ---- */
.cta {
  text-align: center;
  padding: clamp(72px, 10vw, 140px) var(--pad);
  border-top: 1px solid var(--line);
}
.cta__eyebrow {
  margin-bottom: 24px;
}
.cta h2 {
  font-size: clamp(34px, 7vw, 104px);
  letter-spacing: -0.03em;
  margin: 0 0 36px;
}
.cta__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- Footer ---- */
.ftr {
  background: var(--ink);
  color: rgba(251, 250, 247, 0.82);
  padding: clamp(52px, 7vw, 88px) var(--pad) 32px;
}
.ftr__inner {
  max-width: var(--container);
  margin-inline: auto;
}
.ftr__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 38px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(251, 250, 247, 0.16);
}
.ftr__brand img {
  height: 26px;
  margin-bottom: 18px;
}
.ftr__brand p {
  color: rgba(251, 250, 247, 0.6);
  max-width: 34ch;
  font-size: 14px;
  margin-bottom: 20px;
}
.ftr__social {
  display: flex;
  gap: 10px;
}
.ftr__social a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(251, 250, 247, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: rgba(251, 250, 247, 0.8);
  transition: 0.3s;
}
.ftr__social a:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}
.ftr h4 {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(251, 250, 247, 0.5);
  margin-bottom: 16px;
}
.ftr ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
  font-size: 15px;
}
.ftr ul a:hover {
  color: var(--paper);
}
.ftr__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(251, 250, 247, 0.5);
  flex-wrap: wrap;
  gap: 12px;
}
@media (max-width: 820px) {
  .ftr__top {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---- Reveal ---- */
[data-r] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}
[data-r].in {
  opacity: 1;
  transform: none;
}

/* ---- Dock ---- */
.dock {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dock a {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--paper);
  font-size: 19px;
  box-shadow: 0 8px 20px rgba(20, 24, 31, 0.22);
  transition: transform 0.3s var(--ease);
}
.dock a:hover {
  transform: translateY(-3px);
}
.dock a.wa {
  background: #25d366;
  color: #fff;
}
.dock a.ig {
  background: radial-gradient(
    circle at 30% 110%,
    #fdf497 0%,
    #fdf497 10%,
    #fd5949 45%,
    #d6249f 60%,
    #285aeb 90%
  );
  color: #fff;
}
.dock a.tt {
  background: #000;
  color: #fff;
}

/* ==================================================================
   ABOUT PAGE — intro split, timeline accordion, 3-col grid, FAQ
   ================================================================== */
.abt-intro {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.abt-intro__media img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  filter: grayscale(0.1);
}
@media (max-width: 860px) {
  .abt-intro {
    grid-template-columns: 1fr;
  }
  .abt-intro__media {
    order: -1;
  }
}

/* Timeline expandable details — sits inside .bcard__content */
.tcard {
  border-top: 1px solid var(--line);
  margin-top: 2px;
}
.tcard__toggle {
  list-style: none;
  cursor: pointer;
  padding: 14px 0 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.tcard__toggle::-webkit-details-marker {
  display: none;
}
.tcard__chev {
  transition: transform 0.3s var(--ease);
}
.tcard[open] .tcard__chev {
  transform: rotate(180deg);
}
.tcard__body {
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.tcard__body p {
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}
.tcard__official {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--muted);
}
.tcard__official a {
  color: var(--accent);
  text-decoration: underline;
}

/* 3-column project grid (about page has 6 items) */
.pgrid--3 {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) {
  .pgrid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .pgrid--3 {
    grid-template-columns: 1fr;
  }
}

/* FAQ accordion */
.faq-v4 {
  border-top: 1px solid var(--line);
  max-width: 900px;
}
.faq-v4__item {
  border-bottom: 1px solid var(--line);
}
.faq-v4__item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--ink);
  transition: color 0.25s;
}
.faq-v4__item summary::-webkit-details-marker {
  display: none;
}
.faq-v4__item:hover summary {
  color: var(--accent);
}
.faq-v4__ic {
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
}
.faq-v4__item[open] .faq-v4__ic {
  transform: rotate(45deg);
}
.faq-v4__item p {
  padding: 0 4px 24px;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.7;
  max-width: 70ch;
  margin: 0;
}

/* ==================================================================
   CATEGORIES PAGE — brand intros, catalog rows, chip nav
   ================================================================== */
.cat-chips {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.cat-chip {
  font-family: var(--font-mono);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid var(--line-2);
  padding: 10px 20px;
  color: var(--ink-2);
  transition: 0.25s var(--ease);
}
.cat-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.ncard__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.ncard__meta .date {
  color: var(--muted);
  font-weight: 500;
}

/* ==================================================================
   CONTACT PAGE
   ================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-left {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.info-card,
.map-card,
.form-card {
  border: 1px solid var(--line);
  background: var(--paper);
}
.info-card {
  padding: clamp(28px, 3.5vw, 44px);
}
.info-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(19px, 2.1vw, 23px);
  margin-bottom: 8px;
}

.info-list {
  margin-top: 24px;
}
.info-row {
  padding: 16px 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.info-row:first-child {
  border-top: none;
  padding-top: 0;
}
.info-row__label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.info-row__value {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.6;
}
.info-row__value a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.info-row__value a:hover {
  color: var(--accent);
}

.map-card__head {
  padding: 24px 24px 0;
}
.map-card__head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  margin-bottom: 4px;
}
.map-card__head p {
  font-size: 13.5px;
  color: var(--muted);
}
.map-card iframe {
  width: 100%;
  aspect-ratio: 4/3;
  border: 0;
  display: block;
  margin-top: 18px;
  filter: grayscale(0.15);
}
.map-card__footer {
  padding: 18px 24px;
  border-top: 1px solid var(--line);
}
.map-card__footer a {
  font-family: var(--font-mono);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.map-card__footer a:hover .arw {
  transform: translateX(3px);
}

.form-card {
  padding: clamp(28px, 3.5vw, 44px);
  background: var(--panel);
}
.form-card h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(19px, 2.1vw, 23px);
  margin-bottom: 8px;
}
.form-card > p {
  font-size: 14px;
  color: var(--ink-2);
}

.cform {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 28px;
}
.cform label {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
}
.cform input,
.cform textarea {
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--ink);
  padding: 14px 16px;
  border: 1px solid var(--line-2);
  background: var(--paper);
  transition:
    border-color 0.25s,
    box-shadow 0.25s;
}
.cform input:focus,
.cform textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(31, 90, 174, 0.1);
}
.cform textarea {
  resize: vertical;
  min-height: 130px;
  font-family: var(--font-body);
}
.cform button {
  align-self: flex-start;
  margin-top: 4px;
}
.cform button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.form-status {
  font-family: var(--font-mono);
  font-size: 12.5px;
  min-height: 16px;
}
.form-status.ok {
  color: var(--accent);
}
.form-status.err {
  color: #b3453a;
}

/* ==================================================================
   DOWNLOADS PAGE — video grid, doc grid, placeholder states
   ================================================================== */
.dl-subtitle {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 36px 0 16px;
}
.dl-subtitle:first-of-type {
  margin-top: 28px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.video-box {
  aspect-ratio: 16/9;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
}
.video-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.video-box--empty {
  border: 1.5px dashed var(--line-2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.vph {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  text-align: center;
  padding: 20px;
}
.vph i {
  font-size: 26px;
}
.vph span {
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  max-width: 220px;
}
@media (max-width: 760px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
}

.doc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.doc-card {
  border: 1px solid var(--line);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--paper);
}
.doc-card h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15.5px;
  letter-spacing: -0.005em;
}
.doc-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  flex: 1;
}
.doc-action {
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 11px 16px;
  text-align: center;
  transition:
    background 0.2s,
    color 0.2s;
}
.doc-action:hover {
  background: var(--accent);
  color: #fff;
}
.doc-card--empty {
  border-style: dashed;
  border-color: var(--line-2);
}
.doc-action--pending {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  border: 1px dashed var(--line-2);
  padding: 11px 16px;
  text-align: center;
  cursor: default;
}
@media (max-width: 860px) {
  .doc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .doc-grid {
    grid-template-columns: 1fr;
  }
}

/* ==================================================================
   BRAND SHOWCASE — richer brand intro with stats + certificate
   ================================================================== */
.bshow {
  border: 1px solid var(--line);
  margin: 48px 0 36px;
  background: var(--paper);
}
.bshow:first-of-type {
  margin-top: 8px;
}
.bshow__top {
  padding: clamp(32px, 4vw, 52px) clamp(28px, 4vw, 52px) 0;
}
.bshow__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.bshow__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -0.01em;
  line-height: 1;
}
.bshow__desc {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.75;
  max-width: 78ch;
  margin-bottom: 28px;
}
.bshow__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-bottom: 0;
}
.bshow__stat {
  background: var(--paper);
  padding: 18px 20px;
}
.bshow__stat .k {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  margin-bottom: 7px;
}
.bshow__stat .v {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15.5px;
  color: var(--ink);
  line-height: 1.3;
}
.bshow__bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: end;
  padding: 28px clamp(28px, 4vw, 52px) clamp(28px, 4vw, 44px);
}
.bshow__points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 11px 26px;
  padding: 0;
  margin: 0;
}
.bshow__points li {
  font-size: 13.5px;
  color: var(--ink-2);
  padding-left: 19px;
  position: relative;
}
.bshow__points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 12px;
}
.bshow__cert {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
}
.bshow__cert .cert-card {
  width: 84px;
}
.bshow__cert .cert-card__media {
  aspect-ratio: 3/4;
}
.bshow__cert span {
  font-family: var(--font-mono);
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  text-align: center;
  max-width: 110px;
  line-height: 1.4;
}
.bshow__official {
  font-family: var(--font-mono);
  font-size: 12px;
  margin-top: 6px;
}
.bshow__official a {
  color: var(--accent);
  text-decoration: underline;
}
@media (max-width: 700px) {
  .bshow__bottom {
    grid-template-columns: 1fr;
  }
  .bshow__cert {
    flex-direction: row;
    align-self: flex-start;
  }
}

.brand-intro {
  padding: 44px 0 6px;
  border-top: 1px solid var(--line);
}
.brand-intro:first-of-type {
  border-top: none;
  padding-top: 8px;
}
.brand-intro__name {
  font-size: clamp(26px, 3vw, 36px);
  margin-bottom: 16px;
}
.brand-intro p {
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.75;
  max-width: 78ch;
  margin: 0 0 10px;
}
.brand-intro p:last-child {
  margin-bottom: 0;
}

.crow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}
.crow__media {
  background: var(--panel);
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.crow__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.crow:hover .crow__media img {
  transform: scale(1.04);
}
.crow--flip .crow__media {
  order: 2;
}
.crow__body {
  padding: clamp(28px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.crow__title {
  font-size: clamp(19px, 2.1vw, 25px);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.crow__meta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}
.crow__bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.crow__bullets li {
  font-size: 14px;
  color: var(--ink-2);
  padding-left: 16px;
  position: relative;
}
.crow__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  background: var(--brass);
}
@media (max-width: 860px) {
  .crow {
    grid-template-columns: 1fr;
  }
  .crow--flip .crow__media {
    order: 0;
  }
}

/* ---- Certificates ---- */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cert-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cert-card__media {
  position: relative;
  aspect-ratio: 3/4;
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  transition:
    border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.cert-card:hover .cert-card__media {
  border-color: var(--accent);
  box-shadow: 0 16px 32px rgba(20, 24, 31, 0.08);
}
.cert-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}
.cert-card.ph-missing .cert-card__media img {
  display: none;
}
.cert-card__media .sysph {
  display: none;
}
.cert-card.ph-missing .cert-card__media .sysph {
  display: flex;
  position: absolute;
  inset: 10px;
  top: 10px;
  left: 10px;
  width: auto;
  height: auto;
  transform: none;
}
.cert-card__brand {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}
@media (max-width: 860px) {
  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .cert-grid {
    grid-template-columns: 1fr;
    max-width: 280px;
    margin-inline: auto;
  }
}
.cert-card {
  cursor: pointer;
}
.cert-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.cert-card.ph-missing {
  cursor: default;
}
.prow__media.ph-missing img {
  display: none;
}
.prow__media.ph-missing .sysph {
  display: flex;
}

/* ---- Certificate lightbox ---- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  padding: clamp(20px, 6vw, 64px);
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}
.lightbox__img {
  max-width: min(90vw, 900px);
  max-height: 88vh;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55);
  transform: scale(0.94);
  transition: transform 0.35s var(--ease);
}
.lightbox.is-open .lightbox__img {
  transform: scale(1);
}
.lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.25s,
    transform 0.25s var(--ease);
}
.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: rotate(90deg);
}
