/* ==========================================================================
   Forecoat India Industries — 2026 Website
   Design system + components. Zero dependencies.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand — taken from the Forecoat mark: deep navy + foundry gold */
  --navy-900: #08203c;
  --navy-800: #0d2c50;
  --navy-700: #123a6b;
  --navy-600: #1b4c86;
  --navy-100: #e8eef6;
  --navy-50: #f3f7fc;

  --gold-600: #b8801a;
  --gold-500: #d99e2b;
  --gold-400: #ecbb55;
  --gold-100: #fbf1da;

  /* Neutrals — warm porcelain, keeps the page light and calm */
  --bg: #fbfaf7;
  --bg-alt: #f5f3ee;
  --surface: #ffffff;
  --ink: #131a25;
  --ink-soft: #3b4657;
  --muted: #6b7686;
  --line: #e7e3da;
  --line-soft: #f0ede6;

  /* Semantic */
  --brand: var(--navy-700);
  --brand-deep: var(--navy-900);
  --accent: var(--gold-500);
  --ring: rgba(18, 58, 107, 0.35);

  /* Type */
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-head: "Sora", var(--font-body);

  /* Space + shape */
  --wrap: 1240px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 9vw, 8rem);
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;

  /* Elevation — soft, never heavy */
  --sh-1: 0 1px 2px rgba(16, 26, 42, 0.04), 0 2px 8px rgba(16, 26, 42, 0.04);
  --sh-2: 0 2px 6px rgba(16, 26, 42, 0.05), 0 12px 32px rgba(16, 26, 42, 0.07);
  --sh-3: 0 8px 20px rgba(16, 26, 42, 0.07), 0 28px 64px rgba(16, 26, 42, 0.1);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 84px;
}

/* --------------------------------------------------------------------------
   2. Reset / base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  /* `clip` (unlike `hidden`) also clips the fixed off-canvas nav panel, which
     otherwise widens the document and lets phones scroll sideways. */
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg, video { display: block; max-width: 100%; height: auto; }

a { color: var(--brand); text-decoration: none; transition: color 0.25s var(--ease); }
a:hover { color: var(--gold-600); }

ul, ol { padding: 0; list-style: none; }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.25rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.85rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
h4 { font-size: 1.125rem; }

p { text-wrap: pretty; }

::selection { background: var(--gold-100); color: var(--navy-900); }

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

.skip-link {
  position: absolute;
  left: 50%;
  top: -100px;
  transform: translateX(-50%);
  z-index: 999;
  background: var(--brand);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  transition: top 0.25s var(--ease);
}
.skip-link:focus { top: 0; color: #fff; }

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.wrap {
  width: min(var(--wrap), 100% - (var(--gutter) * 2));
  margin-inline: auto;
}
.wrap--narrow { width: min(880px, 100% - (var(--gutter) * 2)); }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--alt { background: var(--bg-alt); }
.section--paper {
  background:
    radial-gradient(1000px 420px at 88% -10%, var(--navy-50), transparent 62%),
    radial-gradient(760px 380px at 4% 108%, var(--gold-100), transparent 60%),
    var(--bg);
}

.grid { display: grid; gap: clamp(1.25rem, 2.6vw, 2rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(228px, 1fr)); }

.stack > * + * { margin-top: 1.1rem; }
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mt-3 { margin-top: 2rem; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--ink-soft); }
.muted { color: var(--muted); }

/* --------------------------------------------------------------------------
   4. Bits: eyebrow, headings, buttons, chips
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 0.9rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-400), var(--gold-600));
  border-radius: 2px;
}
.eyebrow--center { justify-content: center; }
.eyebrow--light { color: var(--gold-400); }

.section-head { max-width: 720px; margin-bottom: clamp(2.25rem, 4vw, 3.25rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 1rem; font-size: 1.05rem; }

.btn {
  --btn-bg: var(--brand);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.85rem;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease),
    background-color 0.28s var(--ease), color 0.28s var(--ease), border-color 0.28s var(--ease);
  white-space: nowrap;
}
.btn:hover {
  color: var(--btn-fg);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(18, 58, 107, 0.22);
}
.btn:active { transform: translateY(0); }
.btn svg { width: 17px; height: 17px; flex: none; }

.btn--gold { --btn-bg: var(--gold-500); --btn-fg: var(--navy-900); }
.btn--gold:hover { box-shadow: 0 10px 24px rgba(217, 158, 43, 0.34); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--brand);
  border-color: var(--line);
  background: var(--surface);
}
.btn--ghost:hover { border-color: var(--brand); box-shadow: var(--sh-2); }

.btn--light {
  --btn-bg: rgba(255, 255, 255, 0.1);
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(6px);
}
.btn--light:hover { --btn-bg: #fff; --btn-fg: var(--navy-900); border-color: #fff; }

.btn--sm { padding: 0.65rem 1.35rem; font-size: 0.82rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--brand);
}
.link-arrow svg { width: 16px; transition: transform 0.3s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.32rem 0.85rem;
  border-radius: 999px;
  background: var(--navy-50);
  color: var(--brand);
  font-size: 0.72rem;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.chip--gold { background: var(--gold-100); color: var(--gold-600); }

/* --------------------------------------------------------------------------
   5. Header
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 42px;
  flex-wrap: wrap;
}
.topbar a { color: rgba(255, 255, 255, 0.78); }
.topbar a:hover { color: var(--gold-400); }
.topbar__links { display: flex; gap: 1.3rem; flex-wrap: wrap; }
.topbar__contact { display: flex; gap: 1.4rem; flex-wrap: wrap; align-items: center; }
.topbar__contact span { display: inline-flex; align-items: center; gap: 0.45rem; }
.topbar__contact svg { width: 14px; height: 14px; opacity: 0.75; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow 0.3s var(--ease), background-color 0.3s var(--ease);
}
.site-header.is-stuck { box-shadow: var(--sh-2); background: rgba(255, 255, 255, 0.96); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
  transition: min-height 0.3s var(--ease);
}
.site-header.is-stuck .nav { min-height: 70px; }

.brand { display: flex; align-items: center; gap: 0.75rem; flex: none; }
.brand img { height: 46px; width: auto; transition: height 0.3s var(--ease); }
.site-header.is-stuck .brand img { height: 40px; }

.nav__menu { display: flex; align-items: center; gap: 0.35rem; }
.nav__item { position: relative; }

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.7rem 0.95rem;
  border-radius: var(--r-sm);
  font-family: var(--font-head);
  font-size: 0.895rem;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}
.nav__link:hover, .nav__item:focus-within > .nav__link { color: var(--brand); background: var(--navy-50); }
.nav__link[aria-current="page"] { color: var(--brand); font-weight: 600; }
.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0.95rem;
  right: 0.95rem;
  bottom: 0.3rem;
  height: 2px;
  border-radius: 2px;
  background: var(--gold-500);
}
.nav__caret { width: 11px; height: 11px; opacity: 0.55; transition: transform 0.28s var(--ease); }
.nav__item:hover .nav__caret { transform: rotate(180deg); }

/* Dropdown / mega panel */
.nav__panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  translate: -50% 0;
  min-width: 280px;
  padding: 0.7rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.24s var(--ease), transform 0.24s var(--ease), visibility 0.24s;
}
.nav__item:hover > .nav__panel,
.nav__item:focus-within > .nav__panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav__panel--wide { min-width: 640px; display: grid; grid-template-columns: 1fr 1fr; gap: 0.25rem 1rem; }
.nav__panel a {
  display: block;
  padding: 0.55rem 0.85rem;
  border-radius: var(--r-sm);
  font-size: 0.86rem;
  color: var(--ink-soft);
}
.nav__panel a:hover { background: var(--navy-50); color: var(--brand); }
.nav__panel-title {
  grid-column: 1 / -1;
  padding: 0.35rem 0.85rem 0.5rem;
  font-family: var(--font-head);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 0.3rem;
}

.nav__actions { display: flex; align-items: center; gap: 0.6rem; flex: none; }

.nav__toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  align-items: center;
  justify-content: center;
  background: var(--surface);
}
.nav__toggle span {
  display: block;
  position: relative;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: background 0.2s var(--ease);
}
.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }
body.nav-open .nav__toggle span { background: transparent; }
body.nav-open .nav__toggle span::before { top: 0; transform: rotate(45deg); }
body.nav-open .nav__toggle span::after { top: 0; transform: rotate(-45deg); }

/* Scroll progress */
.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--navy-700), var(--gold-500));
  z-index: 400;
  transition: width 0.1s linear;
}

/* --------------------------------------------------------------------------
   6. Hero slider
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: clamp(560px, 82vh, 820px);
  overflow: hidden;
  background: var(--navy-900);
  isolation: isolate;
}

.hero__slides { position: absolute; inset: 0; }

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s var(--ease), visibility 1s;
}
.hero__slide.is-active { opacity: 1; visibility: visible; }

.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 8s linear;
}
.hero__slide.is-active .hero__media img { transform: scale(1); }

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(8, 32, 60, 0.92) 0%, rgba(8, 32, 60, 0.74) 42%, rgba(8, 32, 60, 0.3) 100%),
    linear-gradient(180deg, rgba(8, 32, 60, 0.5), transparent 45%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: clamp(560px, 82vh, 820px);
  padding-block: 6rem 8rem;
}

.hero__content { max-width: 720px; color: #fff; }
.hero__content h1 { color: #fff; }
.hero__content h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--gold-400), var(--gold-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__content p {
  margin-top: 1.35rem;
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: rgba(255, 255, 255, 0.82);
  max-width: 58ch;
}
.hero__content .btn-row { margin-top: 2.25rem; }

/* staged entrance for the active slide */
.hero__slide .anim { opacity: 0; transform: translateY(26px); }
.hero__slide.is-active .anim {
  opacity: 1;
  transform: none;
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}
.hero__slide.is-active .anim:nth-child(1) { transition-delay: 0.2s; }
.hero__slide.is-active .anim:nth-child(2) { transition-delay: 0.34s; }
.hero__slide.is-active .anim:nth-child(3) { transition-delay: 0.48s; }
.hero__slide.is-active .anim:nth-child(4) { transition-delay: 0.62s; }

/* controls */
/* Controls sit as one row at the bottom-left, clear of the floating
   WhatsApp / back-to-top stack in the bottom-right corner. */
.hero__nav {
  position: absolute;
  z-index: 4;
  bottom: clamp(1.75rem, 5vh, 3.25rem);
  left: var(--gutter);
  display: flex;
  gap: 0.65rem;
}
.hero__arrow {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  display: grid;
  place-items: center;
  backdrop-filter: blur(6px);
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.28s var(--ease), color 0.28s var(--ease), border-color 0.28s var(--ease);
}
.hero__arrow:hover { background: #fff; color: var(--navy-900); border-color: #fff; }
.hero__arrow svg { width: 18px; height: 18px; }

.hero__dots {
  position: absolute;
  z-index: 4;
  bottom: clamp(1.75rem, 5vh, 3.25rem);
  left: calc(var(--gutter) + 132px);
  height: 52px;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.hero__dot {
  position: relative;
  width: 46px;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.28);
  overflow: hidden;
}
.hero__dot::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 0;
  background: var(--gold-500);
  border-radius: 3px;
}
.hero__dot.is-active::after { width: 100%; transition: width var(--slide-duration, 6s) linear; }

/* stats strip beneath the hero */
.hero-stats {
  position: relative;
  z-index: 5;
  margin-top: -78px;
}
.hero-stats__card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-3);
  padding: clamp(1.75rem, 3vw, 2.6rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}
.stat { text-align: center; padding-inline: 0.5rem; position: relative; }
.stat + .stat::before {
  content: "";
  position: absolute;
  left: -0.75rem;
  top: 12%;
  bottom: 12%;
  width: 1px;
  background: var(--line);
}
.stat__num {
  font-family: var(--font-head);
  font-size: clamp(2rem, 3.4vw, 2.7rem);
  font-weight: 700;
  color: var(--brand);
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat__num sup { color: var(--gold-500); font-size: 0.5em; top: -0.7em; }
.stat__label {
  margin-top: 0.6rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   7. Page banner (inner pages)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding-block: clamp(4.5rem, 10vw, 7.5rem);
  background: var(--navy-900);
  overflow: hidden;
  isolation: isolate;
}
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(95deg, rgba(8, 32, 60, 0.94), rgba(8, 32, 60, 0.62));
}
.page-hero h1 { color: #fff; max-width: 20ch; }
.page-hero p { color: rgba(255, 255, 255, 0.78); max-width: 62ch; margin-top: 1rem; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-top: 1.5rem;
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.6);
}
.crumbs a { color: rgba(255, 255, 255, 0.85); }
.crumbs a:hover { color: var(--gold-400); }
.crumbs li { display: inline-flex; align-items: center; gap: 0.5rem; }
.crumbs li + li::before { content: "/"; opacity: 0.45; }

/* --------------------------------------------------------------------------
   8. Cards
   -------------------------------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--sh-3); border-color: var(--navy-100); }

.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-alt); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.75s var(--ease); }
.card:hover .card__media img { transform: scale(1.07); }
.card__badge {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  z-index: 2;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(4px);
}
.card__body { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.65rem; flex: 1; }
.card__body h3 { font-size: 1.08rem; letter-spacing: -0.01em; }
.card__body h3 a { color: inherit; }
.card__body h3 a:hover { color: var(--brand); }
.card__body p { font-size: 0.92rem; color: var(--muted); }
.card__body .link-arrow { margin-top: auto; padding-top: 0.4rem; }

/* Feature (icon) card */
.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.6rem, 2.6vw, 2.1rem);
  height: 100%;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.feature::before {
  content: "";
  position: absolute;
  inset: auto auto 0 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--navy-700), var(--gold-500));
  transition: width 0.5s var(--ease);
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--sh-2); }
.feature:hover::before { width: 100%; }
.feature__icon {
  width: 54px;
  height: 54px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  background: var(--navy-50);
  color: var(--brand);
  margin-bottom: 1.15rem;
}
.feature__icon svg { width: 25px; height: 25px; }
.feature h3 { font-size: 1.06rem; margin-bottom: 0.5rem; }
.feature p { font-size: 0.92rem; color: var(--muted); }

/* Division card (large split) */
.division {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}
.division img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.8s var(--ease); }
.division::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(8, 32, 60, 0.1) 20%, rgba(8, 32, 60, 0.88) 92%);
}
.division:hover img { transform: scale(1.06); }
.division__body { padding: clamp(1.75rem, 3vw, 2.5rem); color: #fff; }
.division__body h3 { color: #fff; font-size: clamp(1.4rem, 2.4vw, 1.85rem); }
.division__body p { color: rgba(255, 255, 255, 0.8); margin: 0.75rem 0 1.35rem; font-size: 0.95rem; max-width: 46ch; }
.division__body .link-arrow { color: var(--gold-400); }

/* --------------------------------------------------------------------------
   9. Split content blocks
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split--reverse > *:first-child { order: 2; }

.figure-stack { position: relative; }
.figure-stack__main {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-3);
  aspect-ratio: 4 / 3.2;
}
.figure-stack__main img { width: 100%; height: 100%; object-fit: cover; }
.figure-stack__sub {
  position: absolute;
  right: -1.5rem;
  bottom: -2rem;
  width: 46%;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 6px solid var(--surface);
  box-shadow: var(--sh-3);
  aspect-ratio: 1 / 1;
}
.figure-stack__sub img { width: 100%; height: 100%; object-fit: cover; }
.figure-stack__tag {
  position: absolute;
  left: -1.25rem;
  top: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-2);
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.figure-stack__tag strong {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--brand);
  line-height: 1;
}
.figure-stack__tag span { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }

.tick-list { display: grid; gap: 0.8rem; }
.tick-list li { display: flex; gap: 0.8rem; align-items: flex-start; font-size: 0.96rem; }
.tick-list svg { flex: none; width: 20px; height: 20px; margin-top: 0.22rem; color: var(--gold-600); }

.numbered { display: grid; gap: 1.75rem; counter-reset: step; }
.numbered li { display: grid; grid-template-columns: auto 1fr; gap: 1.15rem; align-items: start; }
.numbered li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brand);
  background: var(--navy-50);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
}
.numbered h4 { margin-bottom: 0.3rem; }
.numbered p { font-size: 0.93rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   10. Product filter grid
   -------------------------------------------------------------------------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.filter-btn {
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: all 0.28s var(--ease);
}
.filter-btn:hover { border-color: var(--brand); color: var(--brand); }
.filter-btn.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: 0 8px 18px rgba(18, 58, 107, 0.2);
}

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: clamp(1.25rem, 2.4vw, 1.9rem); }
.product-grid > .is-hidden { display: none; }
.product-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.9rem;
  font-size: 0.78rem;
  color: var(--muted);
  border-top: 1px solid var(--line-soft);
  padding-top: 0.8rem;
  margin-top: 0.2rem;
}
.product-card__meta span { display: inline-flex; align-items: center; gap: 0.35rem; }

.search-field { position: relative; max-width: 420px; margin: 0 auto 1.5rem; }
.search-field input {
  width: 100%;
  padding: 0.9rem 1.1rem 0.9rem 2.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 0.92rem;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.search-field input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--navy-50); }
.search-field svg { position: absolute; left: 1.1rem; top: 50%; translate: 0 -50%; width: 18px; height: 18px; color: var(--muted); }

.empty-state { text-align: center; padding: 3.5rem 1rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   11. Product detail
   -------------------------------------------------------------------------- */
.product-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(2rem, 4.5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .product-detail { grid-template-columns: 1fr; } }

.product-detail__media {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-2);
  border: 1px solid var(--line);
  position: sticky;
  top: calc(var(--header-h) + 24px);
  background: var(--surface);
}
@media (max-width: 900px) { .product-detail__media { position: static; } }
.product-detail__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

.prose h2 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); margin-top: 2.25rem; margin-bottom: 0.85rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.08rem; margin-top: 1.75rem; margin-bottom: 0.6rem; }
.prose p + p { margin-top: 0.9rem; }
.prose ul { display: grid; gap: 0.6rem; margin-top: 0.75rem; }
.prose ul li { position: relative; padding-left: 1.6rem; font-size: 0.95rem; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.68rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-500);
}
.prose ol { display: grid; gap: 0.6rem; margin-top: 0.75rem; counter-reset: n; }
.prose ol li { counter-increment: n; position: relative; padding-left: 1.9rem; font-size: 0.95rem; }
.prose ol li::before {
  content: counter(n) ".";
  position: absolute;
  left: 0;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--brand);
}
.prose strong { color: var(--ink); font-weight: 600; }

.spec-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; margin-top: 0.5rem; }
.spec-table th, .spec-table td { padding: 0.8rem 1rem; text-align: left; border-bottom: 1px solid var(--line-soft); }
.spec-table th { font-family: var(--font-head); font-weight: 600; color: var(--ink); width: 45%; background: var(--bg-alt); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); }

.side-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.6rem;
  box-shadow: var(--sh-1);
}
.side-card h4 { margin-bottom: 0.5rem; }
.side-card p { font-size: 0.9rem; color: var(--muted); margin-bottom: 1.1rem; }

/* --------------------------------------------------------------------------
   12. Marquee (client logos)
   -------------------------------------------------------------------------- */
.marquee { overflow: hidden; position: relative; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 3.5rem; width: max-content; animation: slide-left 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee img {
  height: 52px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.5;
  transition: filter 0.35s var(--ease), opacity 0.35s var(--ease);
}
.marquee img:hover { filter: none; opacity: 1; }
@keyframes slide-left { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   13. Testimonials
   -------------------------------------------------------------------------- */
.quote-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.75rem, 3vw, 2.4rem);
  height: 100%;
  position: relative;
}
.quote-card::before {
  content: "\201C";
  position: absolute;
  top: 0.4rem;
  right: 1.5rem;
  font-family: Georgia, serif;
  font-size: 5.5rem;
  line-height: 1;
  color: var(--gold-100);
}
.quote-card p { font-size: 1rem; position: relative; }
.quote-card footer { margin-top: 1.5rem; display: flex; align-items: center; gap: 0.9rem; }
.quote-card cite { font-style: normal; font-family: var(--font-head); font-weight: 600; color: var(--ink); display: block; font-size: 0.94rem; }
.quote-card small { color: var(--muted); font-size: 0.82rem; }
.avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy-50);
  color: var(--brand);
  font-family: var(--font-head);
  font-weight: 700;
  flex: none;
}

/* --------------------------------------------------------------------------
   14. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--r-xl);
  padding: clamp(2.5rem, 5vw, 4rem);
  color: #fff;
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700) 62%, var(--navy-600));
}
.cta-band::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto -8% -60% auto;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 158, 43, 0.4), transparent 66%);
}
.cta-band h2 { color: #fff; max-width: 20ch; }
.cta-band p { color: rgba(255, 255, 255, 0.78); margin-top: 0.9rem; max-width: 52ch; }
.cta-band__inner { display: flex; flex-wrap: wrap; gap: 2rem; align-items: center; justify-content: space-between; }

/* --------------------------------------------------------------------------
   15. Accordion (FAQ)
   -------------------------------------------------------------------------- */
.accordion { display: grid; gap: 0.85rem; }
.acc-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.acc-item.is-open { box-shadow: var(--sh-2); border-color: var(--navy-100); }
.acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}
.acc-trigger:hover { color: var(--brand); }
.acc-icon { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--navy-50); display: grid; place-items: center; position: relative; }
.acc-icon::before, .acc-icon::after {
  content: "";
  position: absolute;
  background: var(--brand);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.acc-icon::before { width: 12px; height: 2px; }
.acc-icon::after { width: 2px; height: 12px; }
.acc-item.is-open .acc-icon::after { transform: rotate(90deg); opacity: 0; }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.38s var(--ease); }
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }
.acc-panel > div { overflow: hidden; }
.acc-panel p { padding: 0 1.5rem 1.4rem; font-size: 0.95rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   16. Gallery + lightbox
   -------------------------------------------------------------------------- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.15rem; }
.gallery-item {
  position: relative;
  display: block;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-alt);
  cursor: zoom-in;
}
.gallery-item:nth-child(6n + 1) { grid-column: span 2; aspect-ratio: 8 / 5; }
@media (max-width: 620px) { .gallery-item:nth-child(6n + 1) { grid-column: span 1; aspect-ratio: 4/3; } }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(8, 32, 60, 0.68));
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item__label {
  position: absolute;
  left: 1.1rem;
  bottom: 1rem;
  z-index: 2;
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.gallery-item:hover .gallery-item__label { opacity: 1; transform: none; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(8, 20, 34, 0.92);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-height: 82vh; max-width: 100%; border-radius: var(--r-md); box-shadow: var(--sh-3); }
.lightbox__caption { color: rgba(255, 255, 255, 0.8); text-align: center; margin-top: 1rem; font-size: 0.9rem; }
.lightbox__btn {
  position: absolute;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.lightbox__btn:hover { background: #fff; color: var(--navy-900); }
.lightbox__btn svg { width: 18px; height: 18px; }
.lightbox__close { top: 1.25rem; right: 1.25rem; }
.lightbox__prev { left: clamp(0.75rem, 3vw, 2rem); top: 50%; translate: 0 -50%; }
.lightbox__next { right: clamp(0.75rem, 3vw, 2rem); top: 50%; translate: 0 -50%; }

/* --------------------------------------------------------------------------
   17. Forms
   -------------------------------------------------------------------------- */
.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.6rem, 3vw, 2.5rem);
  box-shadow: var(--sh-2);
}
.field { display: grid; gap: 0.45rem; margin-bottom: 1.15rem; }
.field label { font-family: var(--font-head); font-size: 0.83rem; font-weight: 600; color: var(--ink); }
.field label .req { color: #c0392b; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--bg);
  font-size: 0.94rem;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: var(--surface);
  box-shadow: 0 0 0 4px var(--navy-50);
}
.field .error { font-size: 0.78rem; color: #c0392b; display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #c0392b; }
.field.has-error .error { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.1rem; }
@media (max-width: 620px) { .field-row { grid-template-columns: 1fr; } }
.form-note { font-size: 0.8rem; color: var(--muted); margin-top: 0.9rem; }
.form-status {
  display: none;
  margin-top: 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--r-sm);
  font-size: 0.9rem;
  background: var(--gold-100);
  border: 1px solid var(--gold-400);
  color: var(--navy-900);
}
.form-status.is-visible { display: block; }

/* Contact info tiles */
.info-tile {
  display: flex;
  gap: 1.1rem;
  padding: 1.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}
.info-tile:hover { box-shadow: var(--sh-2); transform: translateY(-3px); }
.info-tile__icon {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  background: var(--navy-50);
  color: var(--brand);
}
.info-tile__icon svg { width: 21px; height: 21px; }
.info-tile h4 { font-size: 0.95rem; margin-bottom: 0.25rem; }
.info-tile p, .info-tile a { font-size: 0.9rem; color: var(--muted); }
.info-tile a:hover { color: var(--brand); }

.map-frame {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--sh-1);
  line-height: 0;
}
.map-frame iframe { width: 100%; height: 420px; border: 0; filter: grayscale(0.25) contrast(1.05); }

/* --------------------------------------------------------------------------
   18. Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, 0.68); font-size: 0.92rem; }
.site-footer h4 {
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1.3rem;
}
.site-footer a { color: rgba(255, 255, 255, 0.68); }
.site-footer a:hover { color: var(--gold-400); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: clamp(2rem, 4vw, 3.25rem);
  padding-block: clamp(3.25rem, 6vw, 4.75rem);
}
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { height: 44px; background: #fff; padding: 0.5rem 0.7rem; border-radius: var(--r-sm); }
.footer-brand p { margin-top: 1.25rem; font-size: 0.9rem; line-height: 1.75; }
.footer-list { display: grid; gap: 0.65rem; font-size: 0.9rem; }
.footer-contact { display: grid; gap: 1rem; font-size: 0.9rem; }
.footer-contact li { display: flex; gap: 0.75rem; align-items: flex-start; }
.footer-contact svg { flex: none; width: 17px; height: 17px; margin-top: 0.28rem; color: var(--gold-500); }
.socials { display: flex; gap: 0.6rem; margin-top: 1.6rem; }
.socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: background 0.28s var(--ease), border-color 0.28s var(--ease), color 0.28s var(--ease);
}
.socials a:hover { background: var(--gold-500); border-color: var(--gold-500); color: var(--navy-900); }
.socials svg { width: 16px; height: 16px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: 0.82rem;
}
.footer-bottom ul { display: flex; gap: 1.25rem; flex-wrap: wrap; }

.area-tags { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.area-tags span {
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.76rem;
}

/* --------------------------------------------------------------------------
   19. Floating actions
   -------------------------------------------------------------------------- */
.float-stack { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 300; display: grid; gap: 0.65rem; }
.float-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: var(--sh-2);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), visibility 0.3s;
}
.float-btn:hover { transform: translateY(-3px); }
.float-btn svg { width: 22px; height: 22px; }
.float-btn--wa { background: #25d366; color: #fff; }
.float-btn--wa:hover { color: #fff; }
.float-btn--top { background: var(--brand); color: #fff; opacity: 0; visibility: hidden; }
.float-btn--top:hover { color: #fff; }
.float-btn--top.is-visible { opacity: 1; visibility: visible; }

/* --------------------------------------------------------------------------
   20. Scroll reveal
   -------------------------------------------------------------------------- */
/* Gated on `.js` (set by an inline script in <head>) so that if scripting is
   off or fails, the content is simply visible rather than stuck at opacity 0. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal][data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal][data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal][data-reveal-delay="3"] { transition-delay: 0.3s; }
[data-reveal][data-reveal-delay="4"] { transition-delay: 0.4s; }

/* --------------------------------------------------------------------------
   21. Responsive: mobile navigation
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .nav__toggle { display: flex; }
  .nav__actions .btn { display: none; }

  .nav__menu {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(400px, 88vw);
    background: var(--surface);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 5.5rem 1.25rem 2.5rem;
    overflow-y: auto;
    box-shadow: -18px 0 50px rgba(16, 26, 42, 0.16);
    transform: translateX(100%);
    transition: transform 0.42s var(--ease);
    z-index: 210;
  }
  body.nav-open .nav__menu { transform: none; }

  .nav__link { padding: 0.95rem 0.5rem; font-size: 1rem; border-bottom: 1px solid var(--line-soft); border-radius: 0; justify-content: space-between; }
  .nav__link[aria-current="page"]::after { display: none; }

  .nav__panel {
    position: static;
    transform: none;
    translate: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    min-width: 0;
    padding: 0.35rem 0 0.85rem 0.5rem;
    display: none;
    background: transparent;
  }
  .nav__panel--wide { grid-template-columns: 1fr; }
  .nav__item.is-open .nav__panel { display: block; }
  .nav__item.is-open .nav__panel--wide { display: grid; }
  .nav__item.is-open .nav__caret { transform: rotate(180deg); }
  .nav__panel-title { padding-left: 0.85rem; }
  .nav__panel a { border-left: 2px solid var(--line); border-radius: 0; margin-left: 0.35rem; }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(11, 22, 38, 0.45);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s var(--ease), visibility 0.35s;
    z-index: 205;
  }
  body.nav-open .nav-backdrop { opacity: 1; visibility: visible; }
  body.nav-open { overflow: hidden; }
}

@media (max-width: 780px) {
  .topbar__links { display: none; }
  .topbar__inner { justify-content: center; }
  .hero-stats { margin-top: -46px; }
  .stat + .stat::before { display: none; }
  .hero__dots { display: none; }
  .hero__nav { left: var(--gutter); right: auto; }
  .split--reverse > *:first-child { order: 0; }
  .figure-stack__tag { left: 0.5rem; }
  .figure-stack__sub { right: 0; width: 42%; }
}

/* --------------------------------------------------------------------------
   22. Motion / print
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .hero__slide .anim { opacity: 1; transform: none; }
}

@media print {
  .site-header, .topbar, .site-footer, .float-stack, .hero__nav, .hero__dots { display: none !important; }
  body { background: #fff; color: #000; }
}
