/* ==========================================================================
   MARK 1 Technology Limited - Design System
   Sections:
     01 Tokens             05 Section furniture   09 Stat band     13 Footer
     02 Reset / Base       06 Buttons             10 Feature blocks 14 Motion
     03 Typography         07 Header / Nav        11 Cards
     04 Layout             08 Hero / Edges        12 Forms
   ========================================================================== */

/* 01 - TOKENS ============================================================= */
/*
  Color system derived from the MARK 1 logo mark.
  The logo was sampled pixel-by-pixel (excluding anti-aliased edge blends):
    - logo green (ink)     #1cac5f  -> hue 148 deg, the site's one brand hue
    - logo red (checkmark) #d8221e  -> hue   2 deg, used only as the accent
  Every green and every neutral gray below sits on hue 148 so nothing in the
  interface reads as an unrelated color. --brand is a darkened, WCAG-checked
  step on that same hue (5.28:1 on white) rather than the raw logo green,
  which only reaches 2.95:1 and is unsafe for text or button fills.
*/
:root {
  /* ---- Primary: logo green family (hue 148) ------------------------------ */
  --brand: #0e7c41;          /* 5.28:1 on white - default buttons, links, icons */
  --brand-600: #0c733c;      /* link/icon hover step */
  --brand-700: #0a5c30;      /* button hover/active, 8.12:1 white-on-brand-700 */
  --brand-bright: #1cac5f;   /* the TRUE measured logo green - dark-bg icons only */
  --deep: #123b25;           /* dark section bands (stat band, CTA, footer accents) */
  --deep-2: #0b2819;         /* darkest band / hero base */

  /* Tint of the same hue (NOT a second, unrelated yellow-green) - used for
     accents that need to read brightly on the dark bands: stat numbers, the
     hatched rule, chip borders, "lime" buttons. */
  --lime: #69d39b;
  --lime-2: #85e0af;

  /* ---- Accent: logo checkmark red (hue 2) -------------------------------- */
  /* Used sparingly and only where a second color is expected: form errors,
     required-field marks. Never used for primary actions or navigation. */
  --accent: #d8221e;
  --accent-dark: #ab1c17;
  --accent-bright: #ff7f7a;  /* light tint for use on dark backgrounds - 5.1:1 on --deep */

  /* RGB triplets so rgba() calls can derive from these same source colors
     instead of hardcoding drifted literals (an old #0f8a43-vs-#0d7c3c
     inconsistency in this file is exactly the bug this prevents). */
  --brand-rgb: 14, 124, 65;
  --deep-rgb: 18, 59, 37;
  --deep-2-rgb: 11, 40, 25;
  --accent-rgb: 216, 34, 30;

  /* ---- Primary/secondary/accent aliases (design-system vocabulary) ------- */
  --primary: var(--brand);
  --primary-hover: var(--brand-700);
  --primary-light: var(--lime);
  --secondary: var(--deep);
  --background: var(--bg);
  --surface: var(--bg-soft);
  --border-color: var(--line);

  /* ---- Neutrals - tinted toward the logo's green hue, not generic gray --- */
  --ink: #161d19;
  --text: #46534c;
  --muted: #66756d;       /* 4.85:1 on white */
  --muted-rgb: 102, 117, 109;
  --line: #e5ebe8;
  --line-2: #d2dad6;
  --bg: #ffffff;
  --bg-soft: #f6f9f7;
  --bg-soft-2: #edf2f0;

  /* ---- State -------------------------------------------------------------- */
  --success: #1f9d55;
  --danger: var(--accent);   /* the logo's own red already reads as "error" */

  /* Radius */
  --r-xs: 3px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-pill: 999px;

  /* Elevation - shadows tinted with the deep-green rgb rather than plain black,
     so even a drop shadow feels like part of the brand. */
  --sh-sm: 0 1px 2px rgba(var(--deep-rgb), .06), 0 2px 6px rgba(var(--deep-rgb), .05);
  --sh-md: 0 6px 18px rgba(var(--deep-rgb), .09), 0 2px 6px rgba(var(--deep-rgb), .05);
  --sh-lg: 0 22px 48px rgba(var(--deep-rgb), .14), 0 6px 14px rgba(var(--deep-rgb), .07);
  --sh-focus: 0 0 0 3px rgba(var(--brand-rgb), .28);

  /* Motion */
  --t-fast: .18s cubic-bezier(.4, 0, .2, 1);
  --t: .32s cubic-bezier(.4, 0, .2, 1);
  --t-slow: .6s cubic-bezier(.16, 1, .3, 1);

  /* Metrics */
  --container: 1240px;
  --gutter: clamp(18px, 4vw, 32px);
  --section-y: clamp(60px, 7vw, 112px);
  --header-h: 96px;
  --edge: clamp(34px, 5.5vw, 86px);

  /* Type */
  --f-display: "Oswald", "Arial Narrow", system-ui, sans-serif;
  --f-body: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* 02 - RESET / BASE ======================================================= */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: clamp(.94rem, .3vw + .86rem, 1rem);
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; display: block; user-select: none; -webkit-user-drag: none; }

/* Custom SVG sprite icons. Sized in em so they inherit the font-size already
   set on their container, exactly as the old icon font did. */
.ico {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: -.125em;
  flex: none;
}
a { color: var(--brand); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--brand-700); }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }
figure { margin: 0; }
button { font: inherit; }
::selection { background: var(--lime); color: var(--deep); }

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
  border-radius: var(--r-xs);
}

.skip-link {
  position: absolute;
  left: 14px;
  top: -80px;
  z-index: 2000;
  background: var(--deep);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-weight: 600;
  transition: top var(--t);
}
.skip-link:focus { top: 0; color: #fff; }

/* 03 - TYPOGRAPHY ========================================================= */
h1, h2, h3, h4, h5, h6, .display {
  font-family: var(--f-display);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: .005em;
  margin: 0 0 .5em;
}

h1, .h1 { font-size: clamp(2.05rem, 4.4vw, 3.75rem); line-height: 1.06; }
h2, .h2 { font-size: clamp(1.65rem, 3vw, 2.6rem); }
h3, .h3 { font-size: clamp(1.28rem, 1.9vw, 1.7rem); }
h4, .h4 { font-size: clamp(1.06rem, 1.2vw, 1.24rem); }
p { margin: 0 0 1.1rem; }
p:last-child { margin-bottom: 0; }
strong, b { font-weight: 600; color: var(--ink); }

.eyebrow {
  display: block;
  font-family: var(--f-body);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 .85rem;
}
.eyebrow--light { color: var(--lime); }

.lead {
  font-size: clamp(1rem, .5vw + .9rem, 1.14rem);
  line-height: 1.8;
}

.text-brand { color: var(--brand); }
.text-lime { color: var(--lime); }
.text-ink { color: var(--ink); }
.text-soft { color: var(--muted); }

/* Hatched rule under headings - signature element of the reference design */
.rule {
  display: block;
  height: 9px;
  width: min(100%, 620px);
  margin: -.15rem 0 1.5rem;
  border-top: 1px solid var(--lime);
  border-bottom: 1px solid var(--lime);
  background: repeating-linear-gradient(115deg, var(--lime) 0 2px, transparent 2px 7px);
}
.rule--sm { width: min(100%, 300px); }
.rule--light {
  border-color: rgba(255, 255, 255, .6);
  background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .85) 0 2px, transparent 2px 7px);
}

/* 04 - LAYOUT ============================================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 920px; }

/* `clip` (not `hidden`) so no scroll container is created and the vertical
   axis stays visible - keeps off-screen reveal transforms from widening the
   page on browsers that ignore the overflow-x propagated from <body>. */
main { overflow-x: clip; }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(44px, 4.5vw, 76px); }
.section--soft { background: var(--bg-soft); }

/* Bootstrap supplies the responsive grid (.row / .col-*). Columns already
   stretch to equal height, so cards only need height:100% (see section 11). */

/* 05 - SECTION FURNITURE ================================================== */
.section-head {
  max-width: 780px;
  margin-bottom: clamp(28px, 3vw, 48px);
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.section-head--center .rule { margin-inline: auto; }

/* Chevron edges used for band transitions */
.edge-valley { clip-path: polygon(0 0, 50% var(--edge), 100% 0, 100% 100%, 0 100%); }
.edge-peak { clip-path: polygon(0 var(--edge), 50% 0, 100% var(--edge), 100% 100%, 0 100%); }
.edge-peak-b { clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - var(--edge)), 0 100%); }

.skyline {
  height: clamp(46px, 5vw, 72px);
  background: url("../img/skyline.svg") repeat-x center bottom / auto 100%;
  opacity: .9;
  /* Very slow drift - one tile width per cycle, so the loop is seamless. */
  animation: skylineDrift 120s linear infinite;
}
@keyframes skylineDrift {
  from { background-position-x: 0; }
  to { background-position-x: -480px; }
}

/* 06 - BUTTONS ============================================================ */
.btn {
  --btn-bg: var(--brand);
  --btn-fg: #fff;
  --btn-bd: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  min-height: 52px;
  padding: .85rem 2rem;
  font-family: var(--f-body);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
  line-height: 1.2;
  text-align: center;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 2px solid var(--btn-bd);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast),
              transform var(--t-fast), box-shadow var(--t-fast);
}
.btn:hover {
  color: #fff;
  background: var(--brand-700);
  border-color: var(--brand-700);
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
}
.btn:active { transform: translateY(0); box-shadow: none; }
.btn:focus-visible { outline: none; box-shadow: var(--sh-focus); }
.btn .ico { transition: transform var(--t-fast); }
.btn:hover .ico--arrow { transform: translateX(4px); }

.btn--outline { --btn-bg: transparent; --btn-fg: var(--brand); --btn-bd: var(--brand); }
.btn--outline:hover { background: var(--brand); border-color: var(--brand); }

.btn--light { --btn-bg: #fff; --btn-fg: var(--deep); --btn-bd: #fff; }
.btn--light:hover { background: var(--lime); border-color: var(--lime); color: var(--deep); }

.btn--ghost { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .7); }
.btn--ghost:hover { background: #fff; border-color: #fff; color: var(--deep); }

.btn--lime { --btn-bg: var(--lime); --btn-fg: var(--deep); --btn-bd: var(--lime); }
.btn--lime:hover { background: var(--lime-2); border-color: var(--lime-2); color: var(--deep); }

.btn--sm { min-height: 44px; padding: .6rem 1.35rem; font-size: .74rem; }
.btn--lg { min-height: 60px; padding: 1rem 2.6rem; font-size: .86rem; }
.btn--block { display: flex; width: 100%; }

.btn[disabled], .btn.is-loading { opacity: .65; pointer-events: none; }
.btn.is-loading::after {
  content: "";
  width: 1em;
  height: 1em;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.link-underline { position: relative; font-weight: 500; color: var(--ink); }
.link-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--t);
}
.link-underline:hover { color: var(--brand); }
.link-underline:hover::after { transform: scaleX(1); transform-origin: left; }

/* 07 - HEADER / NAV ======================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1030;
  background: rgba(255, 255, 255, .93);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid rgba(var(--brand-rgb), .16);
  transition: background var(--t), box-shadow var(--t), border-color var(--t);
}
.site-header.is-stuck {
  background: #fff;
  box-shadow: var(--sh-md);
  border-bottom-color: transparent;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 32px);
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  margin-right: auto;
}
.brand img {
  height: clamp(56px, 6vw, 76px);
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .06));
}

.nav { display: flex; align-items: center; gap: clamp(4px, 1.2vw, 10px); }
.nav__link {
  position: relative;
  display: block;
  padding: .55rem .7rem;
  font-size: .93rem;
  font-weight: 500;
  color: var(--ink);
  transition: color var(--t-fast);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: .7rem;
  right: .7rem;
  bottom: .12rem;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--t);
}
.nav__link:hover,
.nav__link[aria-current="page"] { color: var(--brand); }
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.header-actions { display: flex; align-items: center; gap: .55rem; flex: 0 0 auto; }
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1.5px solid var(--line-2);
  border-radius: var(--r-sm);
  color: var(--ink);
  background: #fff;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.icon-btn:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  background: var(--brand);
  border: 0;
  border-radius: var(--r-sm);
  color: #fff;
  font-size: 1.35rem;
}

@media (max-width: 1099.98px) {
  .nav,
  .header-actions .icon-btn,
  .header-actions .btn { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(370px, 88vw);
  z-index: 1050;
  background: var(--deep);
  color: #fff;
  padding: 24px var(--gutter) 36px;
  transform: translateX(102%);
  /* visibility:hidden keeps the closed drawer out of the tab order - a purely
     transformed panel is off-screen but still focusable. The zero-duration
     visibility step is delayed until the slide-out finishes, and applied
     instantly on open, rather than relying on how visibility interpolates. */
  visibility: hidden;
  transition: transform var(--t-slow), visibility 0s linear var(--t-slow);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.drawer.is-open {
  transform: none;
  visibility: visible;
  transition: transform var(--t-slow), visibility 0s linear 0s;
}
.drawer__top { display: flex; align-items: center; justify-content: space-between; }
.drawer__top img { height: 62px; width: auto; background: #fff; padding: 6px 10px; border-radius: var(--r-sm); }
.drawer__close {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, .4);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}
.drawer__close:hover { background: rgba(255, 255, 255, .12); }
.drawer__nav a {
  display: block;
  padding: .8rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .13);
  font-family: var(--f-display);
  font-size: 1.18rem;
  color: #fff;
  transition: color var(--t-fast), padding-left var(--t-fast);
}
.drawer__nav a:hover,
.drawer__nav a[aria-current="page"] { color: var(--lime); padding-left: .4rem; }
.drawer__meta { font-size: .88rem; color: rgba(255, 255, 255, .72); line-height: 1.8; }
.drawer__meta a { color: var(--lime); display: block; }

.backdrop {
  position: fixed;
  inset: 0;
  z-index: 1040;
  background: rgba(var(--deep-2-rgb), .65);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t), visibility 0s linear var(--t);
}
.backdrop.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity var(--t), visibility 0s linear 0s;
}
body.no-scroll { overflow: hidden; }

/* 08 - HERO =============================================================== */
.hero {
  position: relative;
  margin-top: var(--header-h);
  min-height: clamp(340px, 44vw, 540px);
  display: flex;
  align-items: flex-end;
  padding-block: clamp(56px, 9vw, 118px);
  background: var(--deep-2);
  isolation: isolate;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  /* Luminous daylight gradient overlay so the Bangladeshi structure reads clearly while text stays crisp */
  background:
    linear-gradient(100deg, rgba(var(--deep-2-rgb), .82) 0%, rgba(var(--deep-2-rgb), .62) 35%,
                            rgba(var(--deep-2-rgb), .32) 70%, rgba(var(--deep-2-rgb), .12) 100%),
    var(--hero-img, linear-gradient(135deg, var(--deep), var(--deep-2))) center / cover no-repeat;
  transform: scale(1.05);
  animation: heroZoom 14s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }

.hero__inner { position: relative; z-index: 2; max-width: 820px; color: #fff; }
.hero h1 { color: #fff; text-shadow: 0 2px 24px rgba(0, 0, 0, .35); margin-bottom: .35em; }
.hero p {
  color: rgba(255, 255, 255, .9);
  max-width: 620px;
  font-size: clamp(1rem, .5vw + .9rem, 1.12rem);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.9rem; }
.hero--tall { min-height: clamp(420px, 56vw, 640px); }
.hero--site { --hero-img: url('../img/hero-engineering-site.jpg'); }
.hero--drafting { --hero-img: url('../img/hero-drafting-design.jpg'); }
.hero--facility { --hero-img: url('../img/hero-facility-inspection.jpg'); }
.hero--systems { --hero-img: url('../img/hero-systems-mep.jpg'); }
.hero--sub { min-height: clamp(280px, 32vw, 420px); }

/* Card & Portfolio Photographic Image Enhancements */
.card-x__media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
  transition: transform var(--t, 0.4s ease);
}
.card-x:hover .card-x__media img {
  transform: scale(1.05);
}
.card-x__media {
  position: relative;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
  background: var(--deep-2);
}
.member__photo img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: top center;
  border-radius: 8px;
  transition: transform var(--t, 0.4s ease);
}
.member:hover .member__photo img {
  transform: scale(1.03);
}

/* Staged hero entrance. Gated on .js so a no-script visitor sees the text
   immediately, and neutralised by the reduced-motion block further down. */
/* `backwards` (not `forwards`) with no base opacity:0 - the element holds the
   `from` state only during the delay, then returns to its normal visible style.
   If animations never execute, the text is simply visible. */
.js .hero__inner > * {
  animation: heroIn .8s cubic-bezier(.16, 1, .3, 1) backwards;
}
.js .hero__inner > .breadcrumbs { animation-delay: .05s; }
.js .hero__inner > .eyebrow { animation-delay: .15s; }
.js .hero__inner > h1 { animation-delay: .28s; }
.js .hero__inner > p { animation-delay: .42s; }
.js .hero__inner > .hero__actions { animation-delay: .56s; }
@keyframes heroIn {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  align-items: center;
  font-size: .76rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .74);
  margin-bottom: 1.05rem;
}
.breadcrumbs a {
  color: rgba(255, 255, 255, .74);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding-inline: .25rem;
}
.breadcrumbs a:hover { color: var(--lime); }
.breadcrumbs .ico { width: .7em; height: .7em; opacity: .7; }

/* 09 - STAT BAND ========================================================== */
.stat-band {
  position: relative;
  margin-top: calc(var(--edge) * -1);
  padding-block: calc(var(--edge) + 26px) clamp(38px, 4vw, 62px);
  background: linear-gradient(180deg, var(--brand-700) 0%, var(--deep) 100%);
  color: #fff;
}
.stat-band__grid {
  display: grid;
  gap: clamp(24px, 3vw, 48px);
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  text-align: center;
}
.stat { display: flex; flex-direction: column; align-items: center; gap: .3rem; }
.stat__icon { color: var(--lime); font-size: 2.2rem; line-height: 1; margin-bottom: .25rem; }
.stat__label {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .88);
}
.stat__value {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(2.1rem, 4.2vw, 3.3rem);
  line-height: 1.1;
  color: var(--lime);
}

/* 10 - FEATURE BLOCKS ===================================================== */
.split-feature {
  position: relative;
  background: var(--deep-2) center / cover no-repeat;
  padding-block: clamp(46px, 6vw, 96px);
}
.split-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(var(--deep-2-rgb), .62), rgba(var(--deep-2-rgb), .28));
}
.split-feature .container { position: relative; z-index: 2; }

.panel {
  background: #fff;
  border-radius: var(--r-md);
  box-shadow: var(--sh-lg);
  padding: clamp(26px, 3.6vw, 54px);
}
.panel--wide { max-width: 1080px; margin-inline: auto; }
.join-panel {
  border-left: 4px solid var(--lime);
  box-shadow: var(--sh-md);
}

.pillar { display: flex; gap: 1.05rem; align-items: flex-start; }
.pillar__icon {
  flex: 0 0 auto;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border: 1.5px solid rgba(var(--brand-rgb), .28);
  border-radius: var(--r-md);
  color: var(--brand);
  background: radial-gradient(135deg, rgba(var(--brand-rgb), .14) 0%, rgba(var(--deep-rgb), .03) 100%);
  box-shadow: 0 4px 12px rgba(var(--brand-rgb), .1);
  transition: all var(--t);
}
.pillar__icon .ico,
.pillar__icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.85;
}
.pillar:hover .pillar__icon {
  background: linear-gradient(135deg, var(--brand-bright), var(--brand-700));
  border-color: transparent;
  color: #fff;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 22px rgba(var(--brand-rgb), .35);
}
.pillar h3 {
  font-size: 1rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: .4rem;
}
.pillar p { font-size: .92rem; line-height: 1.7; margin: 0; }

.check-list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: .55rem;
  font-size: .95rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .5em;
  width: .72rem;
  height: .38rem;
  border-left: 2.5px solid var(--brand);
  border-bottom: 2.5px solid var(--brand);
  transform: rotate(-45deg);
}

/* Two-column check list for the long service lists */
.check-list--2col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 1.5rem;
}
@media (max-width: 575.98px) {
  .check-list--2col { grid-template-columns: minmax(0, 1fr); }
}

/* Numbered service division block */
.service-group {
  padding-block: clamp(28px, 3.4vw, 52px);
  border-top: 1px solid var(--line);
}
.service-group:first-of-type { border-top: 0; padding-top: 0; }
.service-group__num {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 600;
  line-height: 1;
  color: var(--lime);
  margin-bottom: .3rem;
}
.service-group h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.service-group h4 {
  font-size: .82rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

.chips { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; }
.chip {
  font-family: var(--f-display);
  font-size: .95rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--brand);
  background: #fff;
  border: 1.5px solid var(--line-2);
  padding: .65rem 1.35rem;
  border-radius: var(--r-sm);
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}
.chip:hover { border-color: var(--brand); transform: translateY(-3px); box-shadow: var(--sh-sm); }

.quote-band {
  position: relative;
  padding-block: clamp(58px, 7vw, 108px);
  background: var(--deep-2) center / cover no-repeat fixed;
  text-align: center;
  color: #fff;
}
.quote-band::before { content: ""; position: absolute; inset: 0; background: rgba(var(--deep-2-rgb), .7); }
.quote-band .container { position: relative; z-index: 2; }
.quote-band p {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(1.3rem, 2.5vw, 2.1rem);
  line-height: 1.32;
  color: #fff;
  max-width: 920px;
  margin-inline: auto;
}
.quote-band p.quote-band__cite {
  font-family: var(--f-body);
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .65);
  margin-top: 1.1rem;
}

.cta-band {
  position: relative;
  text-align: center;
  color: #fff;
  padding-block: calc(var(--edge) + 34px) clamp(48px, 5.5vw, 86px);
  background: linear-gradient(180deg, var(--brand-700), var(--deep));
}
.cta-band h2 {
  font-size: clamp(1.85rem, 4.2vw, 3rem);
  text-transform: uppercase;
  color: #fff;
  margin-bottom: .25em;
}
.cta-band h2 em { font-style: normal; color: var(--lime); }
.cta-band p { color: rgba(255, 255, 255, .85); max-width: 640px; margin: 0 auto 1.8rem; }

/* 11 - CARDS ============================================================== */
.card-x {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.card-x:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-lg);
  border-color: rgba(var(--brand-rgb), .35);
}
.card-x__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-soft-2);
}
.card-x__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.card-x:hover .card-x__media img { transform: scale(1.06); }
.card-x__body {
  padding: 1.2rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  flex: 1;
}
.card-x__title { font-size: 1.14rem; margin: 0; color: var(--brand-700); }
.card-x__scope {
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand);
  margin: -.2rem 0 0;
}
.card-x__note { font-size: .9rem; font-style: italic; color: var(--muted); margin: 0; line-height: 1.6; }
.card-x__meta { font-size: .86rem; line-height: 1.9; margin: 0; }
.card-x__meta div { display: flex; gap: .35rem; }
.card-x__meta dt { font-weight: 600; color: var(--ink); }
.card-x__meta dd { margin: 0; }

.badge-x {
  position: absolute;
  left: .9rem;
  top: .9rem;
  z-index: 2;
  background: rgba(var(--deep-rgb), .9);
  color: #fff;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .34rem .7rem;
  border-radius: var(--r-xs);
}

.svc {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: clamp(22px, 2.4vw, 32px);
  height: 100%;
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.svc::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, var(--brand), var(--lime));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t);
}
.svc:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: transparent; }
.svc:hover::after { transform: scaleX(1); }
.svc__icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  border: 1.5px solid rgba(var(--brand-rgb), .28);
  background: radial-gradient(135deg, rgba(var(--brand-rgb), .14) 0%, rgba(var(--deep-rgb), .03) 100%);
  color: var(--brand);
  font-size: 1.5rem;
  margin-bottom: 1.15rem;
  box-shadow: 0 4px 14px rgba(var(--brand-rgb), .12);
  transition: all var(--t);
}
.svc__icon .ico,
.svc__icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.85;
}
.svc:hover .svc__icon {
  background: linear-gradient(135deg, var(--brand-bright), var(--brand-700));
  border-color: transparent;
  color: #fff;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 24px rgba(var(--brand-rgb), .38);
}
.svc h3 { font-size: 1.12rem; margin-bottom: .5rem; }
.svc p { font-size: .93rem; line-height: 1.7; margin: 0 0 .9rem; }
.svc .check-list li { font-size: .88rem; margin-bottom: .35rem; }

.member {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.member:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-lg);
  border-color: rgba(var(--brand-rgb), .35);
}
.member__body {
  padding: 1.1rem 1.2rem 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.member__cat {
  align-self: flex-start;
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--brand);
  background: rgba(var(--brand-rgb), .09);
  padding: .28rem .6rem;
  border-radius: var(--r-xs);
  margin-bottom: .6rem;
}
.member__bio {
  font-size: .87rem;
  line-height: 1.7;
  color: var(--text);
  margin: .5rem 0 0;
}
.member__links {
  display: flex;
  gap: .4rem;
  margin-top: 1rem;
  padding-top: .9rem;
  border-top: 1px solid var(--line);
}
.member__links a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-2);
  border-radius: var(--r-xs);
  color: var(--muted);
  font-size: .9rem;
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.member__links a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

/* Vacant slot - an obvious editorial placeholder, never a fabricated person */
.member--open { border-style: dashed; border-color: var(--line-2); background: var(--bg-soft); }
.member--open:hover { transform: none; box-shadow: none; border-color: var(--brand); }
.member--open .member__photo { background: var(--bg-soft-2); }
.member--open .member__photo img { opacity: .45; }
.member--open .member__name { color: var(--muted); font-style: italic; }
.member--open .member__cat { color: var(--muted); background: rgba(var(--muted-rgb), .1); }

/* Leadership spotlight */
.member--lead { border-color: rgba(var(--brand-rgb), .3); }
.member--lead .member__photo { aspect-ratio: 1 / 1; }

.member__photo {
  position: relative;
  aspect-ratio: 1 / 1.08;
  overflow: hidden;
  border-radius: var(--r-sm);
  background: var(--bg-soft-2);
  border: 1px solid var(--line);
}
.member__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.member:hover .member__photo img { transform: scale(1.05); }
.member__name {
  display: block;
  margin: 0 0 .15rem;
  font-family: var(--f-display);
  font-size: 1.14rem;
  line-height: 1.25;
  color: var(--brand-700);
}
.member__role {
  font-size: .84rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
  margin: 0;
}
.member__contact { margin-top: .45rem; font-size: .83rem; display: grid; gap: .1rem; }
.member__contact a { color: var(--muted); }
.member__contact a:hover { color: var(--brand); }

.logo-rail { position: relative; overflow: hidden; padding-block: .5rem; }
.logo-rail__track {
  display: flex;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  width: max-content;
  animation: rail 34s linear infinite;
}
.logo-rail:hover .logo-rail__track { animation-play-state: paused; }
@keyframes rail { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.logo-rail__item {
  flex: 0 0 auto;
  font-family: var(--f-display);
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  letter-spacing: .06em;
  color: var(--muted);
  white-space: nowrap;
  opacity: .7;
  transition: opacity var(--t), color var(--t);
}
.logo-rail__item:hover { opacity: 1; color: var(--brand); }
.logo-rail::before,
.logo-rail::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 70px;
  z-index: 2;
  pointer-events: none;
}
.logo-rail::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.logo-rail::after { right: 0; background: linear-gradient(270deg, var(--bg), transparent); }

/* Filter bar */
.filter {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: clamp(24px, 3vw, 40px);
}
.filter__btn {
  padding: .6rem 1.15rem;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line-2);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.filter__btn:hover { border-color: var(--brand); color: var(--brand); }
.filter__btn.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }

/* 12 - FORMS ============================================================== */
.form-panel {
  background: var(--deep);
  color: #fff;
  padding: clamp(26px, 3.6vw, 50px);
  border-radius: var(--r-md);
}
.form-panel h2, .form-panel h3 { color: #fff; }
.form-panel .rule { margin-bottom: 1.6rem; }

.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .88rem; font-weight: 500; margin-bottom: .4rem; }
.form-panel .field label { color: rgba(255, 255, 255, .94); }
.field .req { color: var(--accent-bright); margin-left: .15rem; }

.input, .textarea, .select {
  width: 100%;
  min-height: 52px;
  padding: .8rem 1rem;
  font-family: var(--f-body);
  font-size: .95rem;
  color: var(--ink);
  background: var(--bg-soft);
  border: 1.5px solid var(--line-2);
  border-radius: var(--r-sm);
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.textarea { min-height: 148px; resize: vertical; line-height: 1.6; }
.input::placeholder, .textarea::placeholder { color: #96a69e; }
.input:hover, .textarea:hover, .select:hover { border-color: var(--brand); }
.input:focus, .textarea:focus, .select:focus {
  outline: none;
  background: #fff;
  border-color: var(--brand);
  box-shadow: var(--sh-focus);
}
.field.is-invalid .input,
.field.is-invalid .textarea,
.field.is-invalid .select {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .18);
}
.field__error { display: none; margin-top: .4rem; font-size: .82rem; color: #ffc4c2; }
.field.is-invalid .field__error { display: flex; align-items: center; gap: .35rem; }

.form-note { font-size: .82rem; color: rgba(255, 255, 255, .66); margin-top: .9rem; }
.form-status {
  display: none;
  margin-top: 1rem;
  padding: .85rem 1.1rem;
  border-radius: var(--r-sm);
  font-size: .9rem;
  align-items: flex-start;
  gap: .55rem;
}
.form-status.is-visible { display: flex; }
.form-status--ok { background: rgba(105, 211, 155, .18); border: 1px solid var(--lime); color: #d6ffe9; }
.form-status--err { background: rgba(var(--accent-rgb), .16); border: 1px solid #f76964; color: #ffd3d1; }

.info-list { display: grid; gap: 1.35rem; }
.info-list__row { display: flex; gap: 1rem; align-items: flex-start; }
.info-list__ico {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  background: rgba(var(--brand-rgb), .1);
  color: var(--brand);
  font-size: 1.15rem;
}
.info-list h3 {
  font-size: .8rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: .25rem;
}
.info-list p, .info-list a { font-size: .95rem; line-height: 1.75; margin: 0; color: var(--text); display: block; }
.info-list a:hover { color: var(--brand); }

.map-frame {
  border: 0;
  width: 100%;
  height: clamp(280px, 32vw, 420px);
  border-radius: var(--r-md);
  filter: grayscale(.3);
  transition: filter var(--t);
  display: block;
}
.map-frame:hover { filter: none; }

/* 13 - FOOTER ============================================================= */
.site-footer {
  position: relative;
  background: radial-gradient(circle at 50% 0%, #12241a 0%, #070d0a 100%);
  color: rgba(255, 255, 255, .78);
  padding-top: clamp(48px, 6vw, 80px);
  border-top: 3px solid;
  border-image: linear-gradient(90deg, var(--brand-bright), var(--brand), var(--lime)) 1;
}
.site-footer h2, .site-footer h3 {
  font-size: .86rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.15rem;
}
.footer-grid {
  display: grid;
  gap: clamp(28px, 3.5vw, 52px);
  grid-template-columns: 1.7fr 1fr 1fr 1.2fr;
}
@media (max-width: 991.98px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575.98px) { .footer-grid { grid-template-columns: 1fr; } }

.site-footer p, .site-footer li { font-size: .92rem; line-height: 1.85; }
.site-footer a { color: rgba(255, 255, 255, .78); }
.site-footer a:hover { color: var(--lime); }

.footer-brand img {
  background: #fff;
  padding: 8px 14px;
  border-radius: var(--r-sm);
  height: clamp(62px, 6vw, 80px);
  width: auto;
  margin-bottom: 1.15rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .2);
}
.footer-tagline {
  font-family: var(--f-display);
  font-size: 1.05rem;
  letter-spacing: .05em;
  color: var(--lime);
  margin-bottom: .9rem;
}
.footer-address p {
  display: flex;
  gap: .65rem;
  align-items: flex-start;
  color: rgba(255, 255, 255, .8);
  font-style: normal;
  margin-bottom: 0;
}
.footer-address .ico {
  color: var(--lime);
  flex: 0 0 auto;
  margin-top: .3rem;
}

.footer-links li { margin-bottom: .35rem; }
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  transition: transform var(--t-fast), color var(--t-fast);
}
.footer-links a:hover {
  transform: translateX(5px);
  color: var(--lime);
}
.footer-contact-list .ico {
  color: var(--lime);
  width: 1rem;
  height: 1rem;
}

.social { display: flex; gap: .6rem; margin-top: 1.1rem; }
.social a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  border: 1.5px solid rgba(255, 255, 255, .25);
  color: #fff;
  background: rgba(255, 255, 255, .04);
  transition: all var(--t-fast);
}
.social a:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(var(--brand-rgb), .4);
}

.footer-bottom {
  margin-top: clamp(36px, 4vw, 56px);
  padding-block: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.6rem;
  align-items: center;
  justify-content: space-between;
  font-size: .86rem;
  color: rgba(255, 255, 255, .72);
}

.to-top {
  position: fixed;
  right: clamp(14px, 2vw, 26px);
  bottom: clamp(14px, 2vw, 26px);
  z-index: 1020;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: var(--r-sm);
  background: var(--brand);
  color: #fff;
  font-size: 1.15rem;
  cursor: pointer;
  box-shadow: var(--sh-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--t), transform var(--t), background var(--t-fast),
              visibility 0s linear var(--t);
}
.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity var(--t), transform var(--t), background var(--t-fast),
              visibility 0s linear 0s;
}
.to-top:hover { background: var(--deep); }

/* Floating WhatsApp Quick Contact Button */
.whatsapp-btn {
  position: fixed;
  right: clamp(14px, 2vw, 26px);
  bottom: clamp(76px, 6.2vw, 92px);
  z-index: 1030;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .68rem 1.15rem;
  background: #25d366;
  color: #fff;
  font-family: var(--f-body);
  font-size: .88rem;
  font-weight: 600;
  border-radius: var(--r-pill);
  box-shadow: 0 6px 22px rgba(37, 211, 102, .45), 0 2px 6px rgba(0, 0, 0, .15);
  text-decoration: none;
  transition: transform var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
}
.whatsapp-btn .ico {
  width: 1.35rem;
  height: 1.35rem;
  flex: 0 0 auto;
}
.whatsapp-btn:hover {
  background: #20ba5a;
  color: #fff;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 28px rgba(37, 211, 102, .55), 0 4px 10px rgba(0, 0, 0, .2);
}
@media (max-width: 575.98px) {
  .whatsapp-btn {
    padding: .65rem;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    justify-content: center;
  }
  .whatsapp-btn__text { display: none; }
}

/* 14 - MOTION / UTILITIES ================================================= */
/* Reveal animations are opt-in via the .js class on <html>, so that a visitor
   with JavaScript disabled (or a crawler) still sees every element. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.16, 1, .3, 1);
}
.js [data-reveal="left"] { transform: translateX(-30px); }
.js [data-reveal="right"] { transform: translateX(30px); }
.js [data-reveal="scale"] { transform: scale(.96); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

.js [data-delay="1"] { transition-delay: .09s; }
.js [data-delay="2"] { transition-delay: .18s; }
.js [data-delay="3"] { transition-delay: .27s; }
.js [data-delay="4"] { transition-delay: .36s; }
.js [data-delay="5"] { transition-delay: .45s; }

/* The hatched rule draws itself in with its heading - the signature accent of
   the design, so it earns a dedicated motion. */
.js [data-reveal] .rule {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .75s cubic-bezier(.16, 1, .3, 1) .18s;
}
.js .section-head--center[data-reveal] .rule,
.js [data-reveal] .section-head--center .rule,
.js [data-reveal] .rule.u-center-x { transform-origin: center; }
.js [data-reveal].is-in .rule { transform: scaleX(1); }

/* Background variants. These live here rather than in a style attribute because
   a url() inside a custom property is resolved against the stylesheet that
   consumes it, which makes document-relative inline paths break. */
.hero--site { --hero-img: url("../img/project-akr-fashion.jpg"); }
.hero--drafting { --hero-img: url("../img/hero-drafting-design.jpg"); }
.hero--systems { --hero-img: url("../img/hero-systems-mep.jpg"); }
.hero--facility { --hero-img: url("../img/hero-facility-inspection.jpg"); }
.hero--compact { min-height: clamp(240px, 28vw, 360px); }

.bg-site { background-image: url("../img/project-akr-fashion.jpg"); }
.bg-drafting { background-image: url("../img/hero-drafting-design.jpg"); }
.bg-systems { background-image: url("../img/hero-systems-mep.jpg"); }
.bg-facility { background-image: url("../img/hero-facility-inspection.jpg"); }

/* Small helpers, used instead of style attributes */
.u-round { border-radius: var(--r-sm); }
.u-center-x { margin-inline: auto; }
.address { font-style: normal; }
.social--light a { border-color: var(--line-2); color: var(--ink); }
.social--light a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 1.4rem; }
.mt-3 { margin-top: 2rem; }
.text-center { text-align: center; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js [data-reveal] .rule { transform: scaleX(1); }
  .js .hero__inner > * { opacity: 1; animation: none; }
  .quote-band { background-attachment: scroll; }
  .logo-rail__track { animation: none; }
}

/* Responsive refinements ================================================== */
@media (max-width: 1099.98px) { :root { --header-h: 84px; } }

@media (max-width: 767.98px) {
  :root { --edge: 30px; }
  .hero { min-height: auto; padding-block: clamp(44px, 12vw, 72px); }
  .hero__actions .btn { flex: 1 1 100%; }
  .quote-band { background-attachment: scroll; }
  .stat-band__grid { grid-template-columns: 1fr 1fr; gap: 24px; }

  /* iOS Safari zooms the whole page when a focused field is under 16px. */
  .input, .textarea, .select { font-size: 16px; }

  /* Touch targets: 44px minimum on the primary tappable elements. */
  .footer-links a,
  .info-list a,
  .footer-brand a {
    display: flex;
    align-items: center;
    min-height: 44px;
  }
  .icon-btn,
  .social a,
  .member__links a { width: 44px; height: 44px; }
  .brand { min-height: 44px; }
  .breadcrumbs a { padding-block: .35rem; }

  /* Stacked on one column, staggered delays just feel like lag. */
  .js [data-delay="1"], .js [data-delay="2"], .js [data-delay="3"],
  .js [data-delay="4"], .js [data-delay="5"] { transition-delay: 0s; }
}

@media (max-width: 420px) {
  .stat-band__grid { grid-template-columns: 1fr; }
  .btn { padding-inline: 1.3rem; }
  .logo-rail::before, .logo-rail::after { width: 36px; }
  .hero h1 { font-size: clamp(1.6rem, 7vw, 2.2rem); }
  .section-head h2 { font-size: clamp(1.4rem, 6vw, 1.9rem); }
}
