/* =========================================================
   EPX Asia — site stylesheet
   2026 brand: navy + orange (all colours are tokens in :root)
   ========================================================= */

:root {
  /* 2026 brand (from the EPX brochure): navy + orange. Change the whole palette here. */
  --primary: #0f1735;        /* button fill on light backgrounds */
  --primary-hover: #1c2550;
  --dark: #0f1735;           /* dark sections, footer */
  --dark-2: #18214a;
  --dark-rgb: 15, 23, 53;
  --overlay-rgb: 10, 14, 34; /* photo overlays */

  --accent: #f15b2b;         /* EPX orange: lines, icons, fills (navy text on it) */
  --accent-hover: #ff7a4d;
  --accent-rgb: 241, 91, 43;
  --accent-text: #b8401a;    /* orange dark enough for text on light (AA) */
  --accent-on-dark: #ff8a5f; /* orange for text on dark (AA) */

  --surface: #eef0f4;        /* cool grey sections */
  --surface-2: #dfe3eb;
  --surface-3: #f7f8fa;
  --placeholder: #e6e9ef;

  --on-dark: #eef0f6;        /* text on dark */
  --on-dark-rgb: 238, 240, 246;
  --on-dark-2: #c6cbdb;
  --on-dark-3: #aab0c4;
  --on-dark-4: #8f96ad;

  --ink: #121628;
  --ink-2: #474d60;
  --ink-3: #5d6378;
  --line: #dde1e8;
  --white: #ffffff;

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 18px 50px -20px rgba(var(--dark-rgb), .4);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); letter-spacing: -.03em; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
::selection { background: var(--accent); color: var(--dark); }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--cream { background: var(--surface); }
.section--dark { background: var(--dark); color: var(--on-dark); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 200; border-radius: 6px; }
.skip:focus { left: 8px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent-text); margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.section--dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--accent-on-dark); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--ink-2); max-width: 60ch; }
.section--dark .lead { color: var(--on-dark-2); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  padding: 15px 26px; border-radius: 999px; border: 1.5px solid transparent;
  font: 700 .95rem/1 var(--font); text-decoration: none; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--primary); color: var(--white); }
.btn--primary:hover { background: var(--primary-hover); }
.btn--light { background: var(--accent); color: var(--dark); }
.btn--light:hover { background: var(--accent-hover); }
.btn--ghost { border-color: rgba(var(--on-dark-rgb), .5); color: var(--on-dark); }
.btn--ghost:hover { background: rgba(var(--on-dark-rgb), .12); border-color: var(--on-dark); }
.btn--outline { border-color: var(--primary); color: var(--primary); }
.btn--outline:hover { background: var(--primary); color: var(--white); }
.link-arrow { display: inline-flex; align-items: center; gap: .45em; font-weight: 700; color: var(--accent-text); text-decoration: none; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  transition: background .3s var(--ease), box-shadow .3s var(--ease), color .3s;
  color: var(--on-dark);
}
.header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header.is-solid, .header--solid, .page-light .header { background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 1px 0 var(--line); color: var(--ink); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; position: relative; z-index: 2; }
.brand img { height: 44px; width: auto; }
.brand .logo-dark { display: none; }
.header.is-solid .logo-dark, .header--solid .logo-dark, .page-light .logo-dark { display: block; }
.header.is-solid .logo-light, .header--solid .logo-light, .page-light .header .logo-light { display: none; }
.brand-text { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; line-height: 1.25; opacity: .85; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) { padding: 10px 14px; text-decoration: none; font-weight: 600; font-size: .95rem; border-radius: 999px; opacity: .9; transition: opacity .2s, background .2s; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { opacity: 1; background: rgba(127, 127, 127, .12); }
.nav .btn { margin-left: 10px; padding: 12px 20px; }
.nav-toggle { display: none; background: none; border: 0; color: inherit; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: currentColor; margin: 5px 0; transition: transform .3s var(--ease), opacity .2s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 881px) {
  .nav a.active:not(.btn) { opacity: 1; background: rgba(127, 127, 127, .12); }
}
@media (max-width: 880px) {
  .nav-toggle { display: block; position: relative; z-index: 2; }
  .brand-text { display: none; }
  .nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 8px;
    background: var(--dark); color: var(--on-dark);
    opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
  }
  .nav a:not(.btn) { font-size: 1.6rem; font-weight: 700; }
  .nav .btn { margin: 18px 0 0; }
  .nav .btn--primary { background: var(--accent); color: var(--dark); }
  .nav .btn--primary:hover { background: var(--accent-hover); }
  .nav-open .nav { opacity: 1; visibility: visible; }
  .nav-open .header { color: var(--on-dark); background: transparent; box-shadow: none; backdrop-filter: none; }
  .nav-open .header .logo-dark { display: none; }
  .nav-open .header .logo-light { display: block; }
  .nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end; color: var(--on-dark);
  padding: calc(var(--header-h) + 60px) 0 0; isolation: isolate; overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; transform: scale(1.06); animation: heroZoom 14s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(var(--overlay-rgb), .88) 0%, rgba(var(--overlay-rgb), .55) 45%, rgba(var(--overlay-rgb), .15) 100%),
    linear-gradient(0deg, rgba(var(--overlay-rgb), .85) 0%, rgba(var(--overlay-rgb), 0) 45%);
}
.hero-content { max-width: 760px; padding-bottom: clamp(48px, 8vw, 96px); }
.hero h1 { margin-bottom: .35em; }
.hero h1 em { font-style: normal; color: var(--accent-on-dark); }
.hero p { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--on-dark-2); max-width: 56ch; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(var(--on-dark-rgb), .2);
}
.hero-facts div { padding: 24px 24px 28px 0; }
.hero-facts div + div { padding-left: 24px; border-left: 1px solid rgba(var(--on-dark-rgb), .2); }
.hero-facts strong { display: block; font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 800; letter-spacing: -.02em; color: var(--white); }
.hero-facts span { font-size: .9rem; color: var(--on-dark-3); }
@media (max-width: 640px) {
  .hero::before { background: linear-gradient(0deg, rgba(var(--overlay-rgb), .92) 0%, rgba(var(--overlay-rgb), .7) 60%, rgba(var(--overlay-rgb), .45) 100%); }
  .hero-facts { grid-template-columns: 1fr; }
  .hero-facts div, .hero-facts div + div { padding: 14px 0; border-left: 0; border-top: 1px solid rgba(var(--on-dark-rgb), .15); }
  .hero-facts div:first-child { border-top: 0; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; color: var(--on-dark); isolation: isolate; overflow: hidden;
  padding: calc(var(--header-h) + clamp(80px, 12vw, 150px)) 0 clamp(64px, 9vw, 110px);
}
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(var(--overlay-rgb), .9), rgba(var(--overlay-rgb), .45)); }
.page-hero p { color: var(--on-dark-2); font-size: clamp(1.05rem, 1.5vw, 1.2rem); max-width: 58ch; }
.crumbs { font-size: .85rem; color: var(--accent-on-dark); margin-bottom: 1.2rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- About / split ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.split--rev > :first-child { order: 2; }
@media (max-width: 900px) { .split, .split--rev { grid-template-columns: 1fr; } .split--rev > :first-child { order: 0; } }
.media-frame { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3.4; }
.media-badge {
  position: absolute; left: 20px; bottom: 20px; background: var(--white); color: var(--ink);
  border-radius: 12px; padding: 16px 20px; display: flex; align-items: center; gap: 14px; box-shadow: var(--shadow);
}
.media-badge strong { font-size: 2.2rem; line-height: 1; color: var(--accent-text); font-weight: 800; letter-spacing: -.03em; }
.media-badge span { font-size: .85rem; line-height: 1.35; color: var(--ink-2); font-weight: 600; }

.values { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 32px; margin-top: 36px; }
@media (max-width: 540px) { .values { grid-template-columns: 1fr; } }
.value { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.value h3 { font-size: 1.05rem; margin: 2px 0 .3em; }
.value p { font-size: .95rem; color: var(--ink-2); margin: 0; }
.icon-chip { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); color: var(--accent-text); }
.icon-chip svg { width: 22px; height: 22px; }

/* ---------- Systems cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1080px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }
.card {
  background: var(--white); border-radius: var(--radius); overflow: hidden; text-decoration: none;
  display: flex; flex-direction: column; border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--placeholder); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card-num { font-size: .78rem; font-weight: 700; color: var(--accent-text); letter-spacing: .12em; margin-bottom: 6px; }
.card h3 { margin-bottom: .4em; }
.card p { font-size: .95rem; color: var(--ink-2); flex: 1; }
.card .link-arrow { font-size: .92rem; }

/* ---------- Feature band (door) ---------- */
.feature { display: grid; grid-template-columns: 1fr 1.1fr; min-height: 560px; }
.feature-media { position: relative; min-height: 380px; }
.feature-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-body { padding: clamp(48px, 7vw, 100px) clamp(24px, 6vw, 88px); display: flex; flex-direction: column; justify-content: center; }
.feature-body h2 { color: var(--white); }
.checklist { list-style: none; padding: 0; margin: 1.6rem 0 2.2rem; display: grid; gap: 14px; }
.checklist li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; }
.checklist svg { width: 22px; height: 22px; color: var(--accent-on-dark); margin-top: 2px; }
.section:not(.section--dark) .checklist svg, .system .checklist svg, .prose .checklist svg { color: var(--accent-text); }
.feature--light { background: var(--white); color: var(--ink); }
.feature--light .feature-body h2 { color: var(--ink); }
.feature--light .feature-media { margin: clamp(24px, 4vw, 48px) 0 clamp(24px, 4vw, 48px) clamp(16px, 4vw, 48px); border-radius: var(--radius); overflow: hidden; }

.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 1.8rem 0 2.2rem; }
.versus-col { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.versus-col h3 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.versus-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .95rem; color: var(--ink-2); }
.versus-col li { position: relative; padding-left: 24px; }
.versus-col li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 10px; height: 2px; background: var(--ink-3); }
.versus-col--epx { background: var(--dark); border-color: var(--dark); }
.versus-col--epx h3 { color: var(--accent-on-dark); }
.versus-col--epx ul { color: var(--on-dark); }
.versus-col--epx li::before { width: 12px; height: 7px; top: .38em; background: none; border: solid var(--accent-on-dark); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
@media (max-width: 560px) { .versus { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; } .feature--light .feature-media { margin: 24px var(--gutter) 0; } .feature-media { aspect-ratio: 4 / 3; min-height: 0; } }

/* ---------- Sectors ---------- */
.sectors { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.sector { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 300px; color: var(--white); display: flex; align-items: flex-end; isolation: isolate; }
.sector img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s var(--ease); }
.sector::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(var(--overlay-rgb), .82), rgba(var(--overlay-rgb), 0) 60%); }
.sector:hover img { transform: scale(1.05); }
.sector div { padding: 24px; }
.sector h3 { margin-bottom: .25em; }
.sector p { margin: 0; font-size: .92rem; color: var(--on-dark-2); }
.sector:nth-child(1) { grid-column: span 7; min-height: 420px; }
.sector:nth-child(2) { grid-column: span 5; min-height: 420px; }
.sector:nth-child(3), .sector:nth-child(4), .sector:nth-child(5) { grid-column: span 4; }
@media (max-width: 900px) {
  .sector:nth-child(n) { grid-column: span 6; min-height: 300px; }
  .sector:nth-child(5) { grid-column: span 12; }
}
@media (max-width: 560px) { .sector:nth-child(n) { grid-column: span 12; min-height: 260px; } }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 28px; }
.step { padding: 32px 8px 8px 0; border-top: 2px solid var(--line); position: relative; }
.step::before { content: ""; position: absolute; top: -2px; left: 0; width: 48px; height: 2px; background: var(--accent); }
.step-num { font-size: 2.6rem; font-weight: 800; color: var(--surface-2); letter-spacing: -.04em; line-height: 1; margin-bottom: 16px; -webkit-text-stroke: 1.5px var(--accent); color: transparent; }
.step h3 { font-size: 1.15rem; }
.step p { font-size: .95rem; color: var(--ink-2); }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; gap: 0 28px; }
  .step { padding: 28px 0 12px; }
}
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta {
  position: relative; border-radius: calc(var(--radius) + 6px); overflow: hidden; color: var(--on-dark);
  padding: clamp(48px, 7vw, 88px) clamp(24px, 6vw, 80px); isolation: isolate;
  display: grid; grid-template-columns: 1.4fr auto; align-items: center; gap: 32px;
}
.cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(var(--dark-rgb), .95), rgba(var(--dark-rgb), .62)); }
.cta h2 { color: var(--white); margin-bottom: .3em; }
.cta p { color: var(--on-dark-2); margin: 0; max-width: 52ch; }
.cta .hero-actions { justify-content: flex-end; }
@media (max-width: 800px) { .cta { grid-template-columns: 1fr; } .cta .hero-actions { justify-content: flex-start; } }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 6vw, 80px); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 2rem 0; display: grid; gap: 22px; }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: center; }
.contact-list small { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; color: var(--ink-3); }
.contact-list a { text-decoration: none; font-weight: 700; font-size: 1.05rem; }
.contact-list a:hover { color: var(--accent-text); }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--ink-2); transition: all .25s var(--ease); }
.socials a:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }
.socials svg { width: 18px; height: 18px; }
.map { margin-top: 28px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; background: var(--surface); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

.form { background: var(--white); border-radius: calc(var(--radius) + 4px); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.form h3 { font-size: 1.5rem; }
.form > p { color: var(--ink-2); font-size: .95rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .85rem; font-weight: 700; margin-bottom: 6px; }
.field label span { color: var(--ink-3); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; font: 500 1rem/1.4 var(--font); color: var(--ink);
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-3);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent-text); background: var(--white); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .22); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { margin: 0; position: relative; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 9px 15px; border-radius: 999px; border: 1.5px solid var(--line); font-size: .88rem; font-weight: 600; cursor: pointer; transition: all .2s; color: var(--ink-2); }
.chips input:checked + span { background: var(--primary); border-color: var(--primary); color: var(--white); }
.chips input:focus-visible + span { outline: 2px solid var(--accent-text); outline-offset: 2px; }
.form .btn { margin-top: 22px; width: 100%; justify-content: center; }
.form-note { font-size: .82rem; color: var(--ink-3); margin: 14px 0 0; text-align: center; }
.form-status { margin-top: 14px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--surface); font-size: .92rem; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: #e6f1eb; color: #1f4d38; }
.form-status.err { background: #fdecea; color: #8a1c14; }
.form .btn[disabled] { opacity: .7; cursor: wait; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- Systems page ---------- */
.subnav { position: sticky; top: var(--header-h); z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.subnav .container { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav .container::-webkit-scrollbar { display: none; }
.subnav a { padding: 18px 16px; white-space: nowrap; text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--ink-2); border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.subnav a:hover { color: var(--ink); }
.subnav a.active { color: var(--accent-text); border-color: var(--accent); }

.system { padding: clamp(64px, 9vw, 110px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 58px); }
.system:nth-of-type(even) { background: var(--surface-3); }
.system-tag { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); background: rgba(var(--accent-rgb), .14); padding: 6px 12px; border-radius: 999px; margin-bottom: 1rem; }
.system .lead { margin-bottom: 1rem; }
.options { display: flex; flex-wrap: wrap; gap: 8px; margin: 1.4rem 0 0; padding: 0; list-style: none; }
.options li { font-size: .85rem; font-weight: 600; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); }

.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gallery button { all: unset; cursor: zoom-in; border-radius: var(--radius); overflow: hidden; position: relative; background: var(--placeholder); display: block; }
.gallery button:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform .6s var(--ease); }
.gallery button:hover img { transform: scale(1.04); }
.gallery .wide { grid-column: 1 / -1; }
.gallery .wide img { aspect-ratio: 16 / 9; }
.gallery .tall img { aspect-ratio: 3 / 4; }

.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(var(--overlay-rgb), .94); display: none; align-items: center; justify-content: center; padding: 60px 16px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 100%; max-width: min(1400px, 100%); border-radius: 8px; object-fit: contain; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .1); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; font-size: 22px; }
.lightbox button:hover { background: rgba(255, 255, 255, .2); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: #aab; font-size: .85rem; }

.compare { width: 100%; border-collapse: collapse; font-size: .95rem; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.compare th, .compare td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--dark); color: var(--on-dark); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.compare tbody th { font-weight: 700; width: 22%; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); }

/* ---------- System finder ---------- */
.finder { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 960px) { .finder { grid-template-columns: 1fr; } }
.finder-intro h2 { color: var(--white); }
.finder-note { font-size: .88rem; color: var(--on-dark-3); margin-top: 1.4rem; }
.finder-card { background: rgba(var(--on-dark-rgb), .05); border: 1px solid rgba(var(--on-dark-rgb), .14); border-radius: calc(var(--radius) + 4px); padding: clamp(20px, 3.5vw, 36px); }
.finder-q { border: 0; margin: 0 0 22px; padding: 0; min-width: 0; }
.finder-q legend { font-weight: 700; font-size: .95rem; margin-bottom: 10px; padding: 0; color: var(--on-dark); }
.chips--dark span { border-color: rgba(var(--on-dark-rgb), .25); color: var(--on-dark-2); }
.chips--dark span:hover { border-color: rgba(var(--on-dark-rgb), .6); }
.chips--dark input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--dark); }
.chips--dark input:focus-visible + span { outline-color: var(--on-dark); }
.finder-result { border-top: 1px solid rgba(var(--on-dark-rgb), .14); padding-top: 22px; margin-top: 6px; }
.finder-empty { color: var(--on-dark-3); margin: 0; font-size: .95rem; }
.finder-pick { display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: start; }
.finder-pick img { width: 96px; height: 96px; object-fit: cover; border-radius: 12px; }
.finder-pick small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-on-dark); margin-bottom: 4px; }
.finder-pick h3 { color: var(--white); font-size: 1.5rem; margin-bottom: .3em; }
.finder-pick p { color: var(--on-dark-2); font-size: .95rem; margin-bottom: .8em; }
.finder-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; list-style: none; }
.finder-tags li { font-size: .8rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: rgba(var(--accent-rgb), .18); color: var(--accent-on-dark); }
.finder-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.finder-actions .btn { padding: 13px 20px; }
@media (max-width: 480px) { .finder-pick { grid-template-columns: 1fr; } .finder-pick img { width: 100%; height: 140px; } }

/* ---------- Projects ---------- */
.projects { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 900px) { .projects { grid-template-columns: 1fr; } }
.project { border-radius: calc(var(--radius) + 4px); overflow: hidden; background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; }
.project-media { all: unset; cursor: zoom-in; position: relative; display: block; overflow: hidden; }
.project-media:focus-visible { outline: 2px solid var(--accent-text); outline-offset: -4px; }
.project-media img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .6s var(--ease); }
.project-media:hover img { transform: scale(1.04); }
.project-count { position: absolute; right: 14px; bottom: 14px; background: rgba(var(--dark-rgb), .85); color: var(--on-dark); font-size: .8rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.project-body { padding: 24px 26px 28px; }
.project-body small { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 8px; }
.project-body h2 { font-size: 1.5rem; }
.project-body p { color: var(--ink-2); margin: 0; }
.project-tags { margin: 16px 0 0; }
.project-tags li { background: var(--surface); color: var(--accent-text); }
.project--cta { background: var(--surface); border-color: transparent; padding: clamp(28px, 4vw, 48px); justify-content: center; }
.project--cta h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.project--cta p { color: var(--ink-2); }

/* ---------- Insights / articles ---------- */
.cards--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1080px) { .cards--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards--3 { grid-template-columns: 1fr; } }
.article-hero { background: var(--surface); padding: calc(var(--header-h) + clamp(40px, 7vw, 88px)) 0 clamp(40px, 6vw, 72px); }
.article-hero .crumbs { color: var(--ink-3); }
.article-hero h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); max-width: 20ch; }
.article-wrap { max-width: 820px; }
.article-meta { font-size: .9rem; color: var(--ink-3); margin: 1.4rem 0 0; font-weight: 600; }
.article-figure { margin: clamp(-48px, -4vw, -24px) 0 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.article-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.prose { padding: clamp(32px, 5vw, 56px) 0 8px; font-size: 1.06rem; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); margin: 2em 0 .6em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-2); }
.prose strong { color: var(--ink); }
.prose ul:not(.checklist) { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose ul:not(.checklist) li { margin-bottom: .45em; }
.prose ul:not(.checklist) li::marker { color: var(--accent); }
.prose a:not(.link-arrow) { color: var(--accent-text); font-weight: 600; text-underline-offset: 3px; }
.prose .table-wrap { margin: 1.4em 0; }
.prose .compare tbody th { width: 90px; }
.article-cta { background: var(--dark); color: var(--on-dark); border-radius: calc(var(--radius) + 4px); padding: clamp(28px, 4vw, 44px); margin: 40px 0; }
.article-cta h2 { color: var(--white); font-size: 1.6rem; }
.article-cta p { color: var(--on-dark-2); }
.article-more { border-top: 1px solid var(--line); padding: 32px 0 clamp(64px, 8vw, 100px); }
.article-more h2 { font-size: 1.1rem; }
.article-more ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.article-more a { color: var(--accent-text); font-weight: 700; text-decoration: none; }
.article-more a:hover { text-decoration: underline; }

/* ---------- 2026: brochure components ---------- */
.trust { background: var(--white); border-bottom: 1px solid var(--line); }
.trust .container { display: flex; align-items: center; gap: clamp(16px, 4vw, 48px); padding-top: 22px; padding-bottom: 22px; flex-wrap: wrap; justify-content: center; }
.trust small { font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.trust ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(18px, 4vw, 52px); flex-wrap: wrap; justify-content: center; }
.trust li { font-size: clamp(1.05rem, 1.8vw, 1.35rem); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }

.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(var(--on-dark-rgb), .14); border: 1px solid rgba(var(--on-dark-rgb), .14); border-radius: var(--radius); overflow: hidden; }
@media (max-width: 900px) { .adv-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .adv-grid { grid-template-columns: 1fr; } }
.adv { background: var(--dark); padding: clamp(24px, 3vw, 34px); }
.adv-num { font-size: 2.4rem; font-weight: 800; line-height: 1; color: var(--accent); letter-spacing: -.03em; margin-bottom: 14px; }
.adv h3 { color: var(--white); font-size: 1.12rem; margin-bottom: .45em; }
.adv p { color: var(--on-dark-2); font-size: .95rem; margin: 0; }
.adv strong { color: var(--white); }

.track { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 900px) { .track { grid-template-columns: 1fr; } }
.track-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.track-stats div { background: var(--white); padding: clamp(22px, 3vw, 34px); }
.track-stats strong { display: block; font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--ink); }
.track-stats strong::after { content: ""; display: block; width: 28px; height: 3px; background: var(--accent); margin-top: 14px; }
.track-stats span { display: block; margin-top: 12px; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.regions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.regions span { font-size: .85rem; font-weight: 700; padding: 7px 14px; border-radius: 999px; background: var(--surface); color: var(--ink-2); }

.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .proj-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .proj-grid { grid-template-columns: 1fr; } }
.proj-card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; isolation: isolate; color: var(--white); text-decoration: none; }
.proj-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--ease); }
.proj-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(var(--overlay-rgb), .85), rgba(var(--overlay-rgb), 0) 55%); }
.proj-card:hover img { transform: scale(1.05); }
.proj-card div { position: absolute; left: 20px; right: 20px; bottom: 18px; }
.proj-card small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-on-dark); }
.proj-card h3 { margin: 4px 0 0; font-size: 1.3rem; color: var(--white); }

.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 22px 16px; margin: 0; padding: 0; list-style: none; }
.swatch { text-align: center; }
.swatch i { display: block; width: 84px; height: 84px; margin: 0 auto 10px; border-radius: 50%; background-size: cover; background-position: center; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08), 0 8px 18px -10px rgba(var(--dark-rgb), .5); }
.swatch span { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }

.stc-table td.stc { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stc-table td.stc b { display: inline-block; min-width: 64px; padding: 4px 10px; border-radius: 999px; color: var(--white); font-size: .85rem; text-align: center; }
.stc-table .lvl-1 b { background: #8f96ad; }
.stc-table .lvl-2 b { background: #5d6378; }
.stc-table .lvl-3 b { background: #18214a; }
.stc-table .lvl-4 b { background: var(--accent-text); }
.stc-table .lvl-5 b { background: #0f1735; box-shadow: inset 0 0 0 2px var(--accent); }
.stc-scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 18px; }
.stc-scale div { border-radius: 10px; padding: 12px; font-size: .8rem; line-height: 1.35; color: var(--ink-2); background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--c); }
.stc-scale strong { display: block; font-size: .95rem; color: var(--ink); }
@media (max-width: 760px) { .stc-scale { grid-template-columns: 1fr 1fr; } }

.drawings { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.drawings--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .drawings, .drawings--3 { grid-template-columns: 1fr 1fr; } }
.drawing { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px 16px; display: flex; flex-direction: column; }
.drawing img { width: 100%; height: 150px; object-fit: contain; margin-bottom: 14px; }
.drawings--3 .drawing img { height: 200px; }
.drawing figcaption { font-size: .82rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.drawing figcaption span { display: block; text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--ink-3); margin-top: 4px; font-size: .88rem; }

.db-scale { display: grid; gap: 4px; }
.db-row { display: grid; grid-template-columns: 52px 1fr; gap: 12px; align-items: center; font-size: .86rem; }
.db-row b { text-align: right; font-variant-numeric: tabular-nums; color: var(--on-dark-2); }
.db-bar { height: 26px; border-radius: 6px; display: flex; align-items: center; padding: 0 10px; color: var(--white); font-weight: 700; font-size: .8rem; background: rgba(var(--accent-rgb), var(--o)); width: var(--w); min-width: max-content; }
.freq { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 8px; }
@media (max-width: 640px) { .freq { grid-template-columns: 1fr; } }
.freq div { border: 1px solid rgba(var(--on-dark-rgb), .16); border-radius: var(--radius-sm); padding: 16px; }
.freq strong { display: block; color: var(--white); }
.freq small { color: var(--accent-on-dark); font-weight: 700; letter-spacing: .08em; }
.freq p { margin: 8px 0 0; font-size: .9rem; color: var(--on-dark-2); }
.ab-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .ab-grid { grid-template-columns: 1fr; } }
.ab { border: 1px solid rgba(var(--on-dark-rgb), .16); border-radius: var(--radius); padding: 22px; }
.ab h3 { color: var(--white); margin-bottom: .3em; }
.ab small { color: var(--accent-on-dark); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .72rem; }
.ab p { color: var(--on-dark-2); margin: .4em 0 0; font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 4px; font-weight: 700; font-size: 1.1rem; letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a5c2e' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .3s var(--ease), background-color .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--surface-2); }
.faq summary:hover { color: var(--accent-text); }
.faq details p { margin: -6px 4px 24px; color: var(--ink-2); max-width: 70ch; }

/* ---------- Form validation ---------- */
.field [aria-invalid="true"] { border-color: #b3261e; background: #fff8f7; }
.field-error { display: block; color: #b3261e; font-size: .82rem; font-weight: 600; margin-top: 6px; }

/* ---------- Mobile action bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 880px) {
  .mobile-bar {
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 90;
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; padding: 8px;
    background: rgba(var(--dark-rgb), .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-radius: 999px; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .5);
    transform: translateY(140%); transition: transform .4s var(--ease);
  }
  .mobile-bar.show { transform: none; }
  .mobile-bar .btn { justify-content: center; padding: 13px 16px; }
  .nav-open .mobile-bar { transform: translateY(140%); }
  .footer { padding-bottom: 100px; }
}

/* ---------- 404 ---------- */
.notfound { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 40px) var(--gutter) 60px; background: var(--surface); }
.notfound .big { font-size: clamp(5rem, 18vw, 10rem); font-weight: 800; letter-spacing: -.06em; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--accent); margin-bottom: 12px; }
.notfound .hero-actions { justify-content: center; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: var(--on-dark-3); padding: 72px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.footer img { height: 54px; width: auto; margin-bottom: 18px; }
.footer h4 { color: var(--on-dark); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.1em; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--white); }
.footer .socials a:hover { background: var(--accent); border-color: var(--accent); color: var(--dark); }
.footer .socials a { border-color: rgba(var(--on-dark-rgb), .2); color: var(--on-dark); }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(var(--on-dark-rgb), .12); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; color: var(--on-dark-4); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-media img { animation: none; transform: none; }
  * { transition-duration: .01ms !important; }
}
