/* ============================================================
   ERA SCAFFOLD — Homepage revamp
   Palette: deep graphite slate + warm paper + industrial red
   Type:    Barlow Condensed (display) / Barlow (text)
   ============================================================ */

:root {
  --ink:        #171B21;   /* deep slate */
  --graphite:   #1F242C;   /* dark section bg */
  --graphite-2: #272D37;   /* dark card bg */
  --paper:      #F5F4F1;   /* light section bg */
  --paper-2:    #ECEBE6;   /* trust band bg */
  --line:       #DBD9D2;   /* light hairline */
  --line-dark:  #39404B;   /* dark hairline */
  --body:       #3C424B;   /* body text on light */
  --muted:      #6B717B;
  --muted-dark: #9AA1AC;   /* muted on dark */
  --accent:     #B42025;   /* industrial red */
  --accent-hi:  #D03238;
  --wa:         #1FA855;   /* whatsapp green */
  --overlay-alpha: 0.45;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --text: "Barlow", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--text);
  color: var(--body);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 48px; }

/* ---------- Pinned video backdrop ---------- */
.video-stage {
  position: fixed; inset: 0; z-index: 0; overflow: hidden;
  background: var(--ink);
}
.video-stage video {
  position: absolute; left: 50%; top: 50%;
  width: 100vw; height: 100vh;
  object-fit: cover;
  transform: translate(-50%, -50%) scale(1.12);
  will-change: transform;
}
.video-stage .veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(18, 22, 28, 0.92) 0%, rgba(18, 22, 28, 0.55) 48%, rgba(18, 22, 28, 0.30) 100%);
  opacity: 1;
}
.video-stage .veil-flat {
  position: absolute; inset: 0;
  background: #12161C;
  opacity: var(--overlay-alpha);
}

/* All scrolling content sits above the stage */
.page { position: relative; z-index: 1; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.site-header.scrolled {
  background: rgba(23, 27, 33, 0.94);
  backdrop-filter: blur(10px);
  border-bottom-color: rgba(255, 255, 255, 0.07);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}
.header-inner {
  max-width: 1400px; margin: 0 auto; padding: 0 32px;
  height: 76px; display: flex; align-items: center; gap: 32px;
}
.brand { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.brand .brand-name {
  font-family: var(--display); font-weight: 700; font-size: 22px;
  letter-spacing: 0.04em; color: #fff; line-height: 1; text-transform: uppercase;
}
.brand .brand-name span { color: var(--accent-hi); }
.brand .brand-sub {
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted-dark); margin-top: 4px;
}

.main-nav { display: flex; align-items: center; gap: 2px; margin: 0 auto; flex-wrap: nowrap; }
.nav-item { position: relative; }
.nav-item > a {
  display: flex; align-items: center; gap: 6px; white-space: nowrap;
  padding: 10px 12px; font-size: 14px; font-weight: 500;
  color: rgba(255, 255, 255, 0.85); border-radius: 4px;
  transition: color 0.15s, background 0.15s;
}
.nav-item > a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.nav-item > a .caret, .dd-toggle .caret {
  width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px); opacity: 0.6;
}
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 250px;
  background: #fff; border-radius: 6px; padding: 8px;
  box-shadow: 0 18px 50px rgba(10, 14, 20, 0.35);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown a {
  display: block; padding: 10px 14px; border-radius: 4px;
  font-size: 14px; font-weight: 500; color: var(--ink);
}
.dropdown a:hover { background: var(--paper); color: var(--accent); }

.header-cta { flex: 0 0 auto; }

/* ---------- Mobile nav toggle + drawer ---------- */
.nav-toggle {
  display: none; flex: 0 0 auto; width: 40px; height: 40px; margin-left: 8px;
  background: none; border: none; cursor: pointer; padding: 0;
}
.nav-toggle .bar {
  display: block; width: 22px; height: 2px; margin: 5px auto; background: #fff;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.dd-toggle { display: none; }
.mobile-nav-cta { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--text); font-weight: 600; font-size: 15px;
  padding: 14px 26px; border-radius: 4px; border: 1.5px solid transparent;
  cursor: pointer; transition: background 0.18s, border-color 0.18s, transform 0.18s, box-shadow 0.18s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hi); box-shadow: 0 10px 26px rgba(180, 32, 37, 0.35); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn-outline-light-dark { background: transparent; color: var(--ink); border-color: var(--line-dark, #C7C4BC); }
.btn-outline-light-dark:hover { border-color: var(--ink); background: rgba(0, 0, 0, 0.04); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #23BD61; box-shadow: 0 10px 26px rgba(31, 168, 85, 0.35); }
.btn .arrow { transition: transform 0.18s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Type helpers ---------- */
.kicker {
  font-family: var(--display); font-weight: 600; font-size: 15px;
  letter-spacing: 0.26em; text-transform: uppercase; color: var(--accent-hi);
  display: flex; align-items: center; gap: 14px;
}
.kicker::before { content: ""; width: 34px; height: 2px; background: var(--accent); flex: 0 0 auto; }
.kicker.on-light { color: var(--accent); }

h1, h2, h3 { font-family: var(--display); text-transform: uppercase; color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh; display: flex; flex-direction: column; justify-content: center;
  padding: 150px 0 110px;
}
.hero h1 {
  font-size: clamp(52px, 6.2vw, 88px); font-weight: 700; line-height: 0.98;
  letter-spacing: 0.005em; color: #fff; max-width: 880px; margin: 26px 0 28px;
  text-wrap: balance;
}
.hero .sub {
  font-size: 19px; line-height: 1.6; color: rgba(255, 255, 255, 0.82);
  max-width: 620px; margin-bottom: 40px; text-wrap: pretty;
}
.hero .cta-row { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-foot {
  margin-top: auto; padding-top: 70px;
  display: flex; align-items: center; gap: 14px;
  color: rgba(255, 255, 255, 0.6); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
}
.hero-foot .tick { width: 1px; height: 34px; background: rgba(255,255,255,0.4); }
.hero-foot .mouse {
  width: 20px; height: 32px; border: 1.5px solid rgba(255,255,255,0.5); border-radius: 10px;
  position: relative;
}
.hero-foot .mouse::after {
  content: ""; position: absolute; left: 50%; top: 6px; width: 3px; height: 7px;
  background: rgba(255,255,255,0.7); border-radius: 2px; transform: translateX(-50%);
}
@media (prefers-reduced-motion: no-preference) {
  .hero-foot .mouse::after { animation: scroll-nudge 2s ease-in-out infinite; }
  @keyframes scroll-nudge {
    0%, 100% { transform: translate(-50%, 0); opacity: 1; }
    55% { transform: translate(-50%, 9px); opacity: 0; }
    56% { transform: translate(-50%, 0); opacity: 0; }
  }
}

/* ---------- Trust band ---------- */
.trust { background: var(--paper-2); padding: 52px 0 58px; border-top: 4px solid var(--accent); }
.trust .label {
  text-align: center; font-size: 13px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 34px;
}
.logo-row {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 28px; align-items: center;
}
.logo-cell { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.logo-cell .logo-name {
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
}

/* ---------- Section scaffolding ---------- */
.section-light { background: var(--paper); }
.section-head { max-width: 760px; margin-bottom: 64px; }
.section-head h2 {
  font-size: clamp(38px, 3.6vw, 54px); font-weight: 700; line-height: 1.02;
  margin-top: 20px; text-wrap: balance;
}
.section-head p { margin-top: 18px; font-size: 17px; line-height: 1.65; color: var(--muted); }

/* ---------- Capabilities ---------- */
.capabilities { padding: 110px 0 120px; }
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.cap-card {
  background: #fff; border: 1px solid var(--line); border-radius: 6px;
  padding: 38px 34px 34px; display: flex; flex-direction: column; gap: 18px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.cap-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(23, 27, 33, 0.12);
  border-color: transparent;
}
.cap-card .icon {
  width: 56px; height: 56px; border-radius: 4px;
  background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.cap-card:hover .icon { background: var(--accent); }
.cap-card .icon { transition: background 0.25s ease; }
.cap-card .card-no {
  font-family: var(--display); font-weight: 600; font-size: 14px;
  letter-spacing: 0.2em; color: var(--muted);
}
.cap-card h3 { font-size: 28px; font-weight: 700; line-height: 1.05; }
.cap-card p { font-size: 15.5px; line-height: 1.65; color: var(--body); flex: 1; }
.cap-card .card-link {
  font-weight: 600; font-size: 15px; color: var(--accent);
  display: inline-flex; align-items: center; gap: 8px;
  border-top: 1px solid var(--line); padding-top: 20px;
}
.cap-card .card-link .arrow { transition: transform 0.18s; }
.cap-card .card-link:hover .arrow { transform: translateX(4px); }

/* ---------- Video reveal band (parallax window) ---------- */
.reveal-band {
  min-height: 64vh; display: flex; align-items: center;
  /* transparent — the pinned video shows through */
}
.reveal-band .inner { padding: 110px 0; }
.reveal-band .big-line {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(40px, 4.6vw, 68px); line-height: 1.02; color: #fff;
  max-width: 820px; text-wrap: balance;
}
.reveal-band .big-line em { font-style: normal; color: var(--accent-hi); }
.reveal-band .band-kicker { margin-bottom: 22px; }

/* ---------- Pillars (50/50 split) ---------- */
.pillars { padding: 110px 0 120px; }
.pillars-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 80px; align-items: center;
}
.blueprint {
  background: #15355C; border-radius: 6px; overflow: hidden;
  box-shadow: 0 30px 70px rgba(23, 27, 33, 0.25);
  position: relative;
}
.blueprint svg { width: 100%; height: auto; }
.blueprint .bp-tag {
  position: absolute; left: 20px; bottom: 16px;
  font-family: "Courier New", monospace; font-size: 11px; letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.55); text-transform: uppercase;
}
.pillar-list { display: flex; flex-direction: column; }
.pillar {
  display: grid; grid-template-columns: 60px 1fr; gap: 24px;
  padding: 30px 0; border-bottom: 1px solid var(--line);
}
.pillar:first-of-type { padding-top: 0; }
.pillar:last-of-type { border-bottom: none; padding-bottom: 0; }
.pillar .p-no {
  font-family: var(--display); font-weight: 700; font-size: 34px; line-height: 1;
  color: var(--accent);
}
.pillar h3 { font-size: 24px; font-weight: 700; margin-bottom: 10px; }
.pillar p { font-size: 15.5px; line-height: 1.65; }

/* ---------- Conversion zone ---------- */
.convert { background: var(--graphite); padding: 110px 0 120px; border-top: 4px solid var(--accent); }
.convert .section-head h2 { color: #fff; }
.convert .section-head p { color: var(--muted-dark); }
.convert-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px; align-items: stretch; }
.convert-card {
  background: var(--graphite-2); border: 1px solid var(--line-dark); border-radius: 6px;
  padding: 44px 40px; display: flex; flex-direction: column;
}
.convert-card .cc-kicker {
  font-family: var(--display); font-weight: 600; font-size: 13px;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted-dark); margin-bottom: 18px;
}
.convert-card h3 { color: #fff; font-size: 30px; font-weight: 700; line-height: 1.05; margin-bottom: 16px; }
.convert-card > p { color: var(--muted-dark); font-size: 15.5px; line-height: 1.65; margin-bottom: 30px; }
.convert-card .contact-rows { margin: 0 0 30px; display: flex; flex-direction: column; gap: 0; }
.contact-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 13px 0; border-bottom: 1px solid var(--line-dark);
  font-size: 14.5px; color: #E7E9EC;
}
.contact-row:first-child { border-top: 1px solid var(--line-dark); }
.contact-row .role { color: var(--muted-dark); }
.convert-card .push { margin-top: auto; }

/* Form */
.rfp-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-dark); }
.field label .req { color: var(--accent-hi); }
.field input, .field select {
  background: #1A1F26; border: 1px solid var(--line-dark); border-radius: 4px;
  color: #fff; font-family: var(--text); font-size: 15px; padding: 13px 14px;
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: none; -webkit-appearance: none; width: 100%;
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--muted-dark) 50%), linear-gradient(135deg, var(--muted-dark) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
}
.field input:focus, .field select:focus {
  outline: none; border-color: var(--accent-hi); box-shadow: 0 0 0 3px rgba(180, 32, 37, 0.25);
}
.field input.invalid { border-color: var(--accent-hi); }
.field .err { font-size: 12px; color: var(--accent-hi); display: none; }
.field.show-err .err { display: block; }
.dropzone {
  border: 1.5px dashed var(--line-dark); border-radius: 4px; padding: 22px;
  display: flex; align-items: center; gap: 16px; cursor: pointer;
  transition: border-color 0.15s, background 0.15s; color: var(--muted-dark);
}
.dropzone:hover, .dropzone.armed { border-color: var(--accent-hi); background: rgba(180, 32, 37, 0.06); }
.dropzone .dz-icon {
  width: 42px; height: 42px; border-radius: 4px; background: #1A1F26;
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
}
.dropzone .dz-text strong { display: block; color: #E7E9EC; font-size: 14.5px; font-weight: 600; margin-bottom: 3px; }
.dropzone .dz-text span { font-size: 13px; }
.form-actions { grid-column: 1 / -1; margin-top: 6px; }
.form-success {
  grid-column: 1 / -1; background: rgba(31, 168, 85, 0.12); border: 1px solid rgba(31, 168, 85, 0.45);
  color: #7BE0A4; border-radius: 4px; padding: 16px 18px; font-size: 14.5px; display: none;
}
.rfp-form.submitted .form-success { display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--muted-dark); }
.footer-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr);
  gap: 60px; padding: 80px 0 60px;
}
.site-footer h4 {
  font-family: var(--display); font-weight: 600; font-size: 16px;
  letter-spacing: 0.18em; text-transform: uppercase; color: #fff; margin-bottom: 22px;
}
.site-footer p { font-size: 14.5px; line-height: 1.7; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 14.5px; transition: color 0.15s; }
.footer-links a:hover { color: #fff; }
.footer-contact { display: flex; flex-direction: column; gap: 14px; font-size: 14.5px; line-height: 1.6; }
.footer-contact .fc-row strong { color: #E7E9EC; font-weight: 600; display: block; }
.footer-brand-line { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.footer-bottom {
  border-top: 1px solid var(--line-dark); padding: 24px 0;
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-size: 13px;
}
.footer-bottom .badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: 12px; color: #E7E9EC;
}
.footer-bottom .badge::before { content: ""; width: 8px; height: 8px; background: var(--accent); }

/* ---------- Scroll reveals ---------- */
@media (prefers-reduced-motion: no-preference) {
  .rv { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
  .rv.in { opacity: 1; transform: none; }
  .rv-d1 { transition-delay: 0.1s; }
  .rv-d2 { transition-delay: 0.2s; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav-toggle { display: block; margin-left: auto; }
  /* backdrop-filter on an ancestor creates a new containing block for
     position:fixed descendants — that would make the drawer below resolve
     its top/bottom against the ~76px header box instead of the viewport
     once .scrolled is active, collapsing it. Disable it at this breakpoint. */
  .site-header.scrolled { backdrop-filter: none; }
  .header-cta { display: none; }
  .header-inner { gap: 16px; }

  .main-nav {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: fixed; top: 76px; left: 0; right: 0; bottom: 0; z-index: 49;
    margin: 0; padding: 12px 24px 32px; overflow-y: auto;
    background: rgba(23, 27, 33, 0.98); backdrop-filter: blur(10px);
    opacity: 0; visibility: hidden; transform: translateY(-8px); pointer-events: none;
    transition: opacity 0.12s ease, transform 0.12s ease, visibility 0.12s;
  }
  .main-nav.nav-open { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }

  .nav-item {
    width: 100%; display: flex; flex-wrap: wrap; align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .nav-item > a { flex: 1 1 auto; padding: 16px 4px; font-size: 16px; }
  .nav-item > a .caret { display: none; }

  .dd-toggle {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; flex: 0 0 auto; background: none; border: none; color: #fff; cursor: pointer;
  }
  .dd-toggle .caret { transition: transform 0.2s ease; }
  .dd-toggle[aria-expanded="true"] .caret { transform: rotate(225deg); }

  .dropdown {
    position: static; width: 100%; opacity: 1; visibility: visible; transform: none;
    background: transparent; box-shadow: none; padding: 0 0 10px 10px;
    display: none;
  }
  .nav-item.dd-open .dropdown { display: block; }
  .dropdown a { color: rgba(255, 255, 255, 0.75); }
  .dropdown a:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }

  .mobile-nav-cta { display: block; margin-top: 20px; }
  .mobile-nav-cta .btn { width: 100%; }

  .cap-grid { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; gap: 50px; }
  .convert-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .logo-row { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
}
@media (max-width: 640px) {
  .container { padding: 0 24px; }
  .rfp-form { grid-template-columns: 1fr; }
  .logo-row { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Nav active state ---------- */
.nav-item.current > a { color: #fff; background: rgba(255, 255, 255, 0.1); }

/* ---------- Sub-page hero ---------- */
.page-hero { min-height: 52vh; display: flex; align-items: flex-end; padding: 170px 0 64px; }
.page-hero .crumb {
  display: flex; align-items: center; gap: 10px; font-size: 13px;
  letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); margin-bottom: 20px;
}
.page-hero .crumb a { color: rgba(255, 255, 255, 0.6); transition: color 0.15s; }
.page-hero .crumb a:hover { color: #fff; }
.page-hero h1 {
  font-size: clamp(40px, 5.2vw, 64px); font-weight: 700; line-height: 1.02;
  color: #fff; max-width: 840px; text-wrap: balance;
}
.page-hero .sub { margin-top: 22px; font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, 0.8); max-width: 620px; }

/* ---------- Feature blocks (sub-page detail sections) ---------- */
.feature-block { padding: 100px 0; border-bottom: 1px solid var(--line); }
.feature-block:last-of-type { border-bottom: none; }
.feature-block.alt { background: var(--paper-2); }
.feature-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 70px; align-items: start; }
.feature-grid .f-icon {
  width: 60px; height: 60px; border-radius: 4px; background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: center; margin-bottom: 22px;
}
.feature-grid .f-no { font-family: var(--display); font-weight: 700; font-size: 76px; line-height: 1; color: var(--line); }
.feature-content h2 { font-size: clamp(30px, 3vw, 42px); font-weight: 700; margin-bottom: 18px; line-height: 1.05; }
.feature-content > p { font-size: 16px; line-height: 1.7; color: var(--body); margin-bottom: 24px; max-width: 640px; }
.gallery-grid-sm { grid-template-columns: repeat(3, 1fr) !important; grid-auto-rows: 160px !important; margin-top: 28px; max-width: 640px; }
.spec-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 28px; margin-top: 6px; }
.spec-list li { display: flex; flex-direction: column; gap: 4px; font-size: 14.5px; color: var(--body); padding: 14px 0; border-top: 1px solid var(--line); }
.spec-list li strong { color: var(--ink); font-weight: 600; font-family: var(--display); letter-spacing: 0.04em; text-transform: uppercase; font-size: 13px; }

/* ---------- Director cards ---------- */
.director-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.director-card { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 40px; }
.director-card .d-role {
  font-family: var(--display); font-weight: 600; font-size: 13px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
}
.director-card h3 { font-size: 26px; font-weight: 700; margin-bottom: 16px; }
.director-card p { font-size: 15px; line-height: 1.7; color: var(--body); }

@media (max-width: 1100px) {
  .feature-grid { grid-template-columns: 1fr; gap: 30px; }
  .director-grid { grid-template-columns: 1fr !important; }
  .spec-list { grid-template-columns: 1fr; }
}

/* ---------- Project gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 16px; }
.gallery-item { border-radius: 6px; overflow: hidden; min-width: 0; min-height: 0; width: 100%; height: 100%; display: block; }
.gallery-item.span-2 { grid-column: span 2; }
@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gallery-item.span-2 { grid-column: span 2; }
}
@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .gallery-item.span-2 { grid-column: span 1; }
}

/* ---------- Lightbox ---------- */
.era-lightbox{position:fixed;inset:0;z-index:999;display:none;align-items:center;justify-content:center;background:rgba(10,12,15,.92);padding:40px}
.era-lightbox.open{display:flex}
.era-lightbox img{max-width:90vw;max-height:88vh;border-radius:6px;box-shadow:0 20px 60px rgba(0,0,0,.5)}
.era-lightbox .lb-close{position:absolute;top:24px;right:32px;width:40px;height:40px;border-radius:50%;border:1px solid rgba(255,255,255,.3);background:rgba(255,255,255,.05);color:#fff;font-size:20px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center}
.era-lightbox .lb-close:hover{background:rgba(255,255,255,.15)}
.gallery-item[data-filled]{cursor:zoom-in}
.feature-hero-img{display:block;width:100%;height:auto;aspect-ratio:3/4;border-radius:6px;margin-top:20px}

/* ---------- Empty image slots (spot for the client to drop real photography in later) ---------- */
.img-slot-empty{
  width:100%; height:100%; min-height:100%;
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px;
  background:var(--paper-2); border:1px dashed var(--line); border-radius:6px;
  color:var(--muted); text-align:center; padding:16px;
}
.img-slot-empty svg{ opacity:0.55; }
.img-slot-empty span{
  font-size:11.5px; font-weight:600; letter-spacing:0.04em; text-transform:uppercase;
  line-height:1.45; max-width:220px;
}

/* ---------- Comparison / spec tables ---------- */
.data-table-wrap{overflow-x:auto;margin-top:10px;border:1px solid var(--line);border-radius:6px}
.data-table{width:100%;border-collapse:collapse;font-size:14.5px;min-width:640px}
.data-table th,.data-table td{padding:16px 18px;text-align:left;border-bottom:1px solid var(--line)}
.data-table thead th{font-family:var(--display);font-weight:600;letter-spacing:0.04em;text-transform:uppercase;font-size:12.5px;color:var(--muted);background:var(--paper-2)}
.data-table tbody tr:last-child td{border-bottom:none}
.data-table tbody th{font-weight:600;color:var(--ink);background:var(--paper-2)}
.data-table td,.data-table tbody th{color:var(--body)}
.verify-tag{font-size:11px;color:var(--accent);font-weight:600;letter-spacing:0.02em}

/* ---------- Benefit list ---------- */
.benefit-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px 32px;margin-top:10px}
.benefit-item{display:flex;gap:14px;align-items:flex-start;padding:18px 0;border-top:1px solid var(--line)}
.benefit-item .b-ico{flex:none;width:34px;height:34px;border-radius:50%;background:var(--ink);color:#fff;display:flex;align-items:center;justify-content:center}
.benefit-item h4{font-size:15.5px;font-weight:600;margin-bottom:4px}
.benefit-item p{font-size:14px;color:var(--body);line-height:1.6}

/* ---------- Applications grid ---------- */
.app-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:10px}
.app-card{border:1px solid var(--line);border-radius:6px;overflow:hidden;background:#fff}
.app-card img,.app-card .img-slot-empty{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}
.app-card .app-body{padding:20px 22px}
.app-card h4{font-size:17px;font-weight:600;margin-bottom:8px}
.app-card p{font-size:14px;color:var(--body);line-height:1.6}

/* ---------- Numbered steps ---------- */
.steps-list{counter-reset:step;display:flex;flex-direction:column;gap:0;margin-top:10px}
.step-item{counter-increment:step;display:grid;grid-template-columns:56px 1fr;gap:20px;padding:24px 0;border-top:1px solid var(--line)}
.step-item::before{content:counter(step);font-family:var(--display);font-weight:700;font-size:24px;color:var(--accent);width:56px;height:56px;border:2px solid var(--accent);border-radius:50%;display:flex;align-items:center;justify-content:center}
.step-item h4{font-size:16.5px;font-weight:600;margin-bottom:6px}
.step-item p{font-size:14.5px;color:var(--body);line-height:1.6}

/* ---------- FAQ accordion ---------- */
.faq-list{display:flex;flex-direction:column;margin-top:10px}
.faq-item{border-top:1px solid var(--line)}
.faq-item:last-child{border-bottom:1px solid var(--line)}
.faq-q{width:100%;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 4px;background:none;border:none;text-align:left;font-family:var(--body-font,inherit);font-size:16px;font-weight:600;color:var(--ink);cursor:pointer}
.faq-q .faq-plus{flex:none;width:22px;height:22px;position:relative}
.faq-q .faq-plus::before,.faq-q .faq-plus::after{content:"";position:absolute;background:var(--ink);top:50%;left:50%;transform:translate(-50%,-50%)}
.faq-q .faq-plus::before{width:14px;height:2px}
.faq-q .faq-plus::after{width:2px;height:14px;transition:transform .2s}
.faq-item.open .faq-plus::after{transform:translate(-50%,-50%) rotate(90deg) scaleX(0)}
.faq-a{max-height:0;overflow:hidden;transition:max-height .25s ease}
.faq-a p{padding:0 4px 22px;font-size:15px;color:var(--body);line-height:1.7;max-width:800px}
.faq-item.open .faq-a{max-height:400px}

/* ---------- Related products ---------- */
.related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:10px}
.related-card{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:20px 22px;border:1px solid var(--line);border-radius:6px;background:#fff;transition:border-color .15s,transform .15s}
.related-card:hover{border-color:var(--accent);transform:translateY(-2px)}
.related-card h4{font-size:15px;font-weight:600;color:var(--ink)}
.related-card p{font-size:13px;color:var(--muted);margin-top:4px}
.related-card .arrow{flex:none;color:var(--accent)}

@media (max-width: 900px) {
  .benefit-grid{grid-template-columns:1fr}
  .app-grid{grid-template-columns:repeat(2,1fr) !important}
  .related-grid{grid-template-columns:1fr}
}
@media (max-width: 640px) {
  .app-grid{grid-template-columns:1fr !important}
  .step-item{grid-template-columns:44px 1fr}
  .step-item::before{width:44px;height:44px;font-size:19px}
}
