/* ============================================================
   MDRM UTILITY SOLUTION — Design System v2
   "Designing the world in motion."
   ============================================================ */

/* ---------- 1. TOKENS ---------- */
:root {
  /* Brand (sampled from logo) */
  --teal:       #12707F;
  --teal-mid:   #0C5A66;
  --teal-deep:  #06343B;
  --teal-abyss: #041F24;
  --green:      #8CC63F;
  --green-deep: #6FA22C;
  --ink:        #1A2226;
  --graphite:   #3C4247;
  --grey:       #525D65;   /* darkened so body copy clears WCAG AA on the deeper section grounds */
  --grey-soft:  #8A959B;
  --orange:     #FF6A2B;

  /* Component surfaces (cards, inputs, image wells) */
  --card:       #FCFDFD;
  --mist:       #EDF3F5;
  --tint:       #E7EFF1;
  --steel:      #E1EBEF;

  /* Section grounds — a vibrant pastel spectrum, one hue per section.
     Every ground stays light enough for AA body copy in --grey. */
  --c-green:    #E2F7E6;   /* mint green   -> Engineering in Motion */
  --c-blue:     #DBEBFC;   /* sky blue     -> Why Choose Us         */
  --c-white-c:  #F4F6F7;   /* soft cool white -> Industries         */
  --c-peach:    #FDEDE2;   /* peach        -> Clients               */
  --c-cyan:     #DAF1F8;   /* aqua         -> Product Categories    */
  --c-rose:     #FDE7E7;   /* light red    -> Trending Products     */
  --c-white-w:  #F8F7F4;   /* soft warm white -> Our Team           */
  --c-lime:     #ECF8DC;   /* light green  -> Questions Answered    */
  --c-peri:     #E7EBFA;   /* periwinkle   -> Testimonials          */
  --c-yellow:   #FCF5D8;   /* light yellow -> Contact Us            */
  --porcelain:  #F7FAFB;   /* neutral fallback                      */

  /* Alphas */
  --teal-06:  rgba(18,112,127,.06);
  --teal-10:  rgba(18,112,127,.10);
  --teal-18:  rgba(18,112,127,.18);
  --green-12: rgba(140,198,63,.12);
  --green-30: rgba(140,198,63,.30);
  --line:     rgba(26,34,38,.12);
  --line-soft:rgba(26,34,38,.07);

  /* Typography */
  --f-display: "Space Grotesk", "Archivo", system-ui, sans-serif;
  --f-body:    "Inter", "Work Sans", system-ui, sans-serif;
  --f-script:  "Cormorant Garamond", Georgia, serif;
  --f-num:     "Space Grotesk", "Inter", system-ui, sans-serif;

  --h1:    clamp(2.5rem, 1.2rem + 5.2vw, 4.6rem);
  --h2:    clamp(1.95rem, 1.3rem + 2.9vw, 3.1rem);
  --h3:    clamp(1.14rem, 1rem + .62vw, 1.42rem);
  --body:  clamp(1rem, .97rem + .15vw, 1.08rem);

  --lh-tight: 1.04;
  --lh-snug:  1.28;
  --lh-body:  1.68;
  --tr-display: -.028em;
  --tr-tight:   -.015em;
  --tr-eyebrow: .26em;

  /* Structure */
  --r-lg: 22px;
  --r:    16px;
  --r-sm: 12px;
  --bw:   2px;                    /* the universal bold card outline */
  --shadow-sm: 0 4px 16px rgba(6,52,59,.06);
  --shadow-md: 0 16px 38px rgba(6,52,59,.11);
  --shadow-lg: 0 30px 70px rgba(6,52,59,.20);

  --ease:      cubic-bezier(0.22,1,0.36,1);
  --ease-out:  cubic-bezier(0.16,1,0.3,1);
  --dur:       380ms;

  --maxw: 1280px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --topbar-h: 42px;
  --header-h: 76px;
}

/* ---------- 2. RESET ---------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
/* Stops the browser's rubber-band overscroll glow past the very bottom of
   the page: without this, scrolling past the footer briefly paints a
   stretchy fill in the footer's own teal, which reads as a phantom gap. */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); overscroll-behavior-y: none; }
body {
  font-family: var(--f-body);
  font-size: var(--body);
  line-height: var(--lh-body);
  color: var(--ink);
  background: var(--porcelain);
  font-optical-sizing: auto;
  font-feature-settings: "kern" 1,"liga" 1,"calt" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img,svg,video,iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
ul { list-style: none; padding: 0; }
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--green); color: #06343B; }

/* ---------- 3. LAYOUT ---------- */
.wrap { width: min(100% - (var(--gutter) * 2), var(--maxw)); margin-inline: auto; }
.section { padding: clamp(3.6rem, 6.4vw, 7rem) 0; }
.bg-green   { background: var(--c-green); }
.bg-blue    { background: var(--c-blue); }
.bg-white-c { background: var(--c-white-c); }
.bg-peach   { background: var(--c-peach); }
.bg-cyan    { background: var(--c-cyan); }
.bg-rose    { background: var(--c-rose); }
.bg-white-w { background: var(--c-white-w); }
.bg-lime    { background: var(--c-lime); }
.bg-peri    { background: var(--c-peri); }
.bg-yellow  { background: var(--c-yellow); }
.bg-deep      { background: linear-gradient(160deg, var(--teal-deep), var(--teal-abyss)); color: #fff; }

/* ---------- 4. TYPE PRIMITIVES ---------- */
h1,h2,h3,h4 {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: var(--lh-tight);
  letter-spacing: var(--tr-display);
  color: var(--ink);
  text-wrap: balance;
}
h3,h4 { line-height: var(--lh-snug); letter-spacing: var(--tr-tight); }

/* The elegant cursive accent — used sparingly */
.script {
  font-family: var(--f-script);
  font-style: italic;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--green);
  /* optical: serif italic sits small next to a grotesque */
  font-size: 1.13em;
  line-height: .9;
  padding-right: .06em;
}
.bg-deep .script, .hero .script { color: var(--green); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .65rem;
  font-family: var(--f-display);
  font-size: .74rem; font-weight: 600;
  letter-spacing: var(--tr-eyebrow); text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 30px; height: 2px; background: var(--green); flex: 0 0 auto; }
.bg-deep .eyebrow, .hero .eyebrow, .showcase .eyebrow { color: var(--green); }

/* Section header block — LEFT ALIGNED sitewide */
.s-head { max-width: 760px; margin-bottom: clamp(2.2rem, 3.4vw, 3.2rem); }
.s-head h2 { font-size: var(--h2); }
.s-head .subhead {
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(1.02rem,.98rem + .3vw,1.14rem);
  letter-spacing: var(--tr-tight); color: var(--teal);
  margin-top: .7rem;
}
.s-head p { color: var(--grey); margin-top: .85rem; max-width: 60ch; }
/* Any section painted on a dark ground needs the inverted text ramp. */
.bg-deep .s-head h2 { color: #fff; }
.bg-deep .s-head .subhead { color: var(--green); }
.bg-deep .s-head p { color: rgba(255,255,255,.74); }

/* Header row with arrows on the right */
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; margin-bottom: clamp(2.2rem,3.4vw,3.2rem); }
.head-row .s-head { margin-bottom: 0; }

/* ---------- 5. BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .95rem 1.6rem; border-radius: 999px;
  font-family: var(--f-display); font-weight: 600; font-size: .95rem;
  letter-spacing: -.01em; position: relative; overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.btn svg { width: 18px; height: 18px; transition: transform var(--dur) var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-orange { background: var(--orange); color: #fff; box-shadow: 0 12px 26px rgba(255,106,43,.30); }
.btn-orange:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(255,106,43,.42); }
.btn-teal { background: var(--teal); color: #fff; box-shadow: 0 12px 26px rgba(18,112,127,.25); }
.btn-teal:hover { transform: translateY(-3px); background: var(--teal-mid); box-shadow: 0 18px 36px rgba(18,112,127,.34); }
.btn-light { background: rgba(255,255,255,.96); color: var(--teal-deep); }
.btn-light:hover { transform: translateY(-3px); background: #fff; box-shadow: var(--shadow-md); }
.btn-ghost { border: 2px solid rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.12); transform: translateY(-3px); }
.btn-outline { border: 2px solid var(--teal); color: var(--teal); }
.btn-outline:hover { background: var(--teal); color: #fff; transform: translateY(-3px); }

/* Arrow nav buttons */
.nav-arrows { display: flex; gap: .65rem; }
.nav-arrows button {
  width: 50px; height: 50px; border-radius: 50%;
  border: var(--bw) solid var(--teal); color: var(--teal);
  display: grid; place-items: center;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav-arrows button svg { width: 20px; height: 20px; }
.nav-arrows button:hover { background: var(--teal); color: #fff; transform: translateY(-2px); }
.nav-arrows button.swiper-button-disabled { opacity: .3; pointer-events: none; }
.bg-deep .nav-arrows button { border-color: rgba(255,255,255,.5); color: #fff; }
.bg-deep .nav-arrows button:hover { background: #fff; color: var(--teal-deep); }

/* ---------- 6. TOP CONTACT STRIP ---------- */
.topbar {
  background: linear-gradient(90deg, var(--teal-deep) 0%, var(--teal-mid) 60%, var(--teal) 100%);
  color: #fff; font-size: .82rem; position: relative; z-index: 950;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--topbar-h); }
.tb-group { display: flex; align-items: center; gap: 1.5rem; }
.tb-item { display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap; color: rgba(255,255,255,.94); font-weight: 500; transition: color var(--dur) var(--ease); }
.tb-item .ic {
  width: 24px; height: 24px; flex: 0 0 auto; border-radius: 7px;
  background: rgba(255,255,255,.14); display: grid; place-items: center;
  transition: background var(--dur) var(--ease);
}
.tb-item .ic svg { width: 13px; height: 13px; color: var(--green); }
a.tb-item:hover { color: var(--green); }
a.tb-item:hover .ic { background: rgba(140,198,63,.25); }
.tb-sep { width: 1px; height: 18px; background: rgba(255,255,255,.18); }
.tb-social { display: flex; gap: .45rem; }
.tb-social a { width: 27px; height: 27px; border-radius: 8px; background: rgba(255,255,255,.12); display: grid; place-items: center; transition: background var(--dur) var(--ease), transform var(--dur) var(--ease); }
.tb-social a svg { width: 14px; height: 14px; color: #fff; }
.tb-social a:hover { background: var(--green); transform: translateY(-2px); }
.tb-mobile { display: none; }

/* ---------- 7. HEADER (very light green glass) ---------- */
.header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(243,249,233,.86);          /* #F3F9E9 */
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid rgba(140,198,63,.26);
  transition: box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}
.header.scrolled { background: rgba(243,249,233,.96); box-shadow: 0 10px 34px rgba(6,52,59,.10); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--header-h); }
.brand img { height: 46px; width: auto; }
.menu { display: flex; align-items: center; gap: clamp(1.1rem, 2.2vw, 2.1rem); }
.menu a {
  font-family: var(--f-display); font-weight: 500; font-size: .95rem;
  letter-spacing: -.005em; color: var(--graphite);
  position: relative; padding: .45rem 0;
  transition: color var(--dur) var(--ease);
}
.menu a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--green); transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.menu a:hover, .menu a.active { color: var(--teal); }
.menu a:hover::after, .menu a.active::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: .8rem; }
.burger { display: none; width: 46px; height: 46px; align-items: center; justify-content: center; color: var(--ink); border-radius: 12px; border: 1.5px solid var(--line); }
.burger svg { width: 24px; height: 24px; }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 1000;
  background: linear-gradient(165deg, var(--teal-deep), var(--teal-abyss));
  display: flex; flex-direction: column; padding: 1.3rem var(--gutter) 2rem;
  transform: translateX(100%); visibility: hidden;
  transition: transform 460ms var(--ease), visibility 460ms;
  overflow-y: auto;
}
.mobile-menu.open { transform: none; visibility: visible; }
.mm-top { display: flex; align-items: center; justify-content: space-between; }
.mm-top img { height: 42px; background: #fff; padding: 6px 10px; border-radius: 10px; }
.mm-close { width: 46px; height: 46px; color: #fff; display: grid; place-items: center; border-radius: 12px; border: 1px solid rgba(255,255,255,.2); }
.mm-close svg { width: 24px; height: 24px; }
.mobile-menu nav { margin-top: 2.2rem; display: flex; flex-direction: column; }
.mobile-menu nav a {
  font-family: var(--f-display); font-weight: 600; font-size: 1.5rem; color: #fff;
  padding: .85rem 0; border-bottom: 1px solid rgba(255,255,255,.10);
  opacity: 0; transform: translateX(26px);
}
.mobile-menu.open nav a { animation: mmIn .55s var(--ease) forwards; }
@keyframes mmIn { to { opacity: 1; transform: none; } }
.mm-foot { margin-top: auto; padding-top: 2rem; }
.mm-foot .btn { width: 100%; justify-content: center; }
.mm-contact { margin-top: 1.4rem; display: grid; gap: .6rem; color: rgba(255,255,255,.75); font-size: .92rem; }
.mm-contact a { display: flex; gap: .6rem; align-items: center; }
.mm-contact svg { width: 16px; height: 16px; color: var(--green); }

/* ---------- 8. HERO (video) ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  min-height: clamp(560px, calc(100svh - var(--header-h) - var(--topbar-h)), 860px);
  display: flex; align-items: center;
  background: var(--teal-abyss);
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
/* Light, purely black scrim: the footage stays clearly visible while the
   left hand copy keeps a readable contrast ratio. Text carries its own
   shadow (below), so the wash itself can stay this thin. */
.hero-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(95deg, rgba(0,0,0,.56) 0%, rgba(0,0,0,.34) 40%, rgba(0,0,0,.08) 70%, rgba(0,0,0,.16) 100%),
    linear-gradient(to top, rgba(0,0,0,.34) 0%, transparent 46%);
}
/* NB: no width here — .wrap already sets the centred track width. */
.hero-inner { position: relative; z-index: 2; padding-block: clamp(3.2rem, 7vw, 5.6rem); }
.hero-copy { max-width: 820px; }

.hero .kick {
  display: inline-flex; align-items: center; gap: .55rem;
  background: rgba(140,198,63,.13); border: 1px solid rgba(140,198,63,.42);
  color: #cfeeae; font-family: var(--f-display); font-weight: 600;
  font-size: .74rem; letter-spacing: .2em; text-transform: uppercase;
  padding: .5rem 1rem; border-radius: 999px; backdrop-filter: blur(6px);
}
.hero .kick svg { width: 14px; height: 14px; color: var(--green); }

.hero h1 {
  font-size: var(--h1); color: #fff; margin-top: 1.5rem;
  letter-spacing: -.035em; line-height: 1.02;
  text-shadow: 0 2px 10px rgba(0,0,0,.55), 0 2px 30px rgba(0,0,0,.45);
}
.hero h1 .line { display: block; overflow: hidden; }
.hero .sub {
  margin-top: 1.5rem; max-width: 52ch;
  font-size: clamp(1.02rem,.98rem + .34vw,1.18rem);
  line-height: 1.62; color: rgba(255,255,255,.9);
  text-shadow: 0 1px 8px rgba(0,0,0,.6), 0 1px 18px rgba(0,0,0,.45);
}
.hero .cta-row { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.1rem; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 18px; z-index: 3; transform: translateX(-50%);
  display: grid; justify-items: center; gap: 4px;
}
.scroll-cue span { font-size: .64rem; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.scroll-cue svg { width: 20px; height: 20px; color: var(--green); animation: cue 1.9s var(--ease) infinite; }
@keyframes cue { 0%,100%{transform:translateY(0);opacity:.65} 50%{transform:translateY(7px);opacity:1} }

/* Cinematic hero entrance — only hidden when JS is active, so content
   never gets stranded invisible if scripts fail or are delayed. */
.js .hero [data-hero] { opacity: 0; transform: translateY(26px); }
.js .hero.ready [data-hero] { animation: heroIn .95s var(--ease-out) forwards; }
.hero.ready [data-hero="1"] { animation-delay: .12s; }
.hero.ready [data-hero="2"] { animation-delay: .24s; }
.hero.ready [data-hero="3"] { animation-delay: .40s; }
.hero.ready [data-hero="4"] { animation-delay: .54s; }
.hero.ready [data-hero="5"] { animation-delay: .68s; }
.hero.ready [data-hero="6"] { animation-delay: .82s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* ---------- 9. MARQUEES ---------- */
.marquee { overflow: hidden; white-space: nowrap; }
.marquee-track { display: inline-flex; align-items: center; animation: scrollX 38s linear infinite; will-change: transform; }
.marquee.rev .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: .8rem; padding: .95rem 2rem; font-family: var(--f-display); font-weight: 600; letter-spacing: -.01em; }
@keyframes scrollX { to { transform: translateX(-50%); } }

.m-teal { background: linear-gradient(90deg,var(--teal-deep),var(--teal),var(--teal-deep)); color: #fff; }
.m-teal .marquee-item { font-size: 1rem; }
.m-teal .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

.m-outline { background: var(--porcelain); border-block: 1.5px solid var(--teal-18); }
.m-outline .marquee-item { font-size: clamp(1rem,2.2vw,1.35rem); color: transparent; -webkit-text-stroke: 1px var(--teal); }
.m-outline .marquee-item svg { width: 22px; height: 22px; color: var(--green); -webkit-text-stroke: 0; }

/* ---------- 10. UNIVERSAL CARD OUTLINE ---------- */
.card-outline { border: var(--bw) solid var(--ink); border-radius: var(--r); background: var(--card); }

/* ---------- 11. ENGINEERING IN MOTION (video gallery) ---------- */
.work-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: clamp(.9rem,1.6vw,1.5rem); }
.work-item { display: flex; flex-direction: column; gap: .95rem; }
.work-frame {
  position: relative; aspect-ratio: 4/5; border-radius: var(--r-lg); overflow: hidden;
  border: var(--bw) solid var(--ink); background: var(--tint);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.work-frame video { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s var(--ease), transform 900ms var(--ease); }
.work-frame video.loaded { opacity: 1; }
.work-frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(6,52,59,.42), transparent 46%);
  opacity: .9; transition: opacity var(--dur) var(--ease);
}
.work-item:hover .work-frame { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.work-item:hover .work-frame video { transform: scale(1.05); }
.work-item:hover .work-frame::after { opacity: .45; }
/* Sound toggle — videos start muted so autoplay is always permitted. */
.v-mute {
  position: absolute; top: 12px; right: 12px; z-index: 3;
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: rgba(6,52,59,.55); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.28);
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.v-mute:hover { background: var(--green); border-color: var(--green); color: var(--teal-deep); transform: scale(1.08); }
.v-mute svg { width: 18px; height: 18px; }
.v-mute .ic-on { display: none; }
.v-mute.on .ic-on { display: block; }
.v-mute.on .ic-off { display: none; }
.work-cap b { display: block; font-family: var(--f-display); font-weight: 600; font-size: 1.04rem; letter-spacing: var(--tr-tight); color: var(--ink); }
.work-cap span { display: block; color: var(--grey); font-size: .88rem; margin-top: .18rem; }

/* ---------- 12. WHY CHOOSE US (static outline; bg/text/icon animate) ---------- */
.why-card {
  height: 100%; padding: clamp(1.5rem,2.4vw,1.95rem);
  border: var(--bw) solid var(--ink); border-radius: var(--r);
  background: var(--card);
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.why-card:hover { background: linear-gradient(158deg, var(--teal) 0%, var(--teal-deep) 100%); transform: translateY(-6px); box-shadow: var(--shadow-md); }
.why-card .ic {
  width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center;
  background: var(--teal-06); margin-bottom: 1.2rem;
  transition: background var(--dur) var(--ease), transform 520ms var(--ease);
}
.why-card .ic svg { width: 28px; height: 28px; color: var(--teal); transition: color var(--dur) var(--ease); }
.why-card:hover .ic { background: rgba(140,198,63,.20); transform: rotate(-7deg) scale(1.08); }
.why-card:hover .ic svg { color: var(--green); }
.why-card h3 { font-size: 1.16rem; transition: color var(--dur) var(--ease); }
.why-card p { color: var(--grey); font-size: .93rem; margin-top: .55rem; transition: color var(--dur) var(--ease); }
.why-card:hover h3 { color: #fff; }
.why-card:hover p { color: rgba(255,255,255,.8); }

/* ---------- 13. INDUSTRIES (two counter-scrolling rows) ---------- */
.ind-rows { display: grid; gap: clamp(.9rem,1.5vw,1.3rem); }
.ind-row { overflow: hidden; }
.ind-track {
  display: flex; gap: clamp(.9rem,1.5vw,1.3rem); width: max-content;
  animation: indScroll 46s linear infinite; will-change: transform;
}
.ind-row.rev .ind-track { animation-direction: reverse; }
@keyframes indScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.ind-card {
  flex: 0 0 auto; width: clamp(230px, 24vw, 310px);
  position: relative; aspect-ratio: 4/3; border-radius: var(--r);
  padding: 3px;                       /* the animated outline lives in here */
  background: var(--ink);             /* fallback ring before the gradient paints */
  box-shadow: var(--shadow-sm); overflow: hidden; isolation: isolate;
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.ind-card:hover { box-shadow: var(--shadow-md); transform: translateY(-5px); }

/* Continuously rotating conic gradient = one consistent moving outline. */
.ind-card::before {
  content: ""; position: absolute; inset: -60%; z-index: 0;
  background: conic-gradient(from 0deg,
    var(--teal) 0deg, var(--green) 70deg, #38BDF8 140deg,
    var(--teal) 210deg, var(--green) 285deg, var(--teal) 360deg);
  animation: indSpin 4.5s linear infinite; will-change: transform;
}
@keyframes indSpin { to { transform: rotate(360deg); } }

.ind-media {
  position: relative; z-index: 1; width: 100%; height: 100%;
  border-radius: calc(var(--r) - 3px); overflow: hidden; background: var(--steel);
}
.ind-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 760ms var(--ease); }
.ind-card:hover .ind-media img { transform: scale(1.09); }
.ind-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(4,31,36,.94) 4%, rgba(4,31,36,.45) 42%, rgba(4,31,36,.06) 72%);
  transition: background var(--dur) var(--ease);
}
.ind-card:hover .ind-media::after { background: linear-gradient(to top, rgba(4,31,36,.97) 6%, rgba(6,52,59,.66) 50%, rgba(18,112,127,.22) 100%); }
.ind-card .lbl { position: absolute; left: 1.05rem; right: 1.05rem; bottom: 1rem; z-index: 2; }
.ind-card .lbl b {
  display: block; font-family: var(--f-display); font-weight: 600;
  font-size: clamp(.86rem,1.05vw,1rem); text-transform: uppercase; letter-spacing: .07em; color: #fff;
}
.ind-card .lbl b::after { content: ""; display: block; width: 0; height: 2px; background: var(--green); margin-top: 8px; transition: width 460ms var(--ease); }
.ind-card:hover .lbl b::after { width: 42px; }

/* ---------- 14. CLIENTS ---------- */
/* Linear timing turns the autoplay into one continuous glide rather than
   a series of eased hops, so the row never appears to stop. */
.cli-swiper .swiper-wrapper { transition-timing-function: linear !important; }

.client-card {
  height: 100%; display: flex; flex-direction: column;
  border: var(--bw) solid var(--ink); border-radius: var(--r);
  background: linear-gradient(165deg, var(--tint), var(--steel));
  padding: 1.15rem; box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}
.client-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); background: linear-gradient(165deg, #fff, var(--tint)); }
.client-logo {
  background: #fff; border-radius: var(--r-sm); border: 1px solid var(--line-soft);
  height: 112px; display: grid; place-items: center; padding: 1rem; margin-bottom: 1.05rem;
}
/* Logos stay in full brand colour at rest; hover just adds a gentle scale. */
.client-logo img { max-height: 74px; width: auto; max-width: 100%; object-fit: contain; transition: transform var(--dur) var(--ease); }
.client-card:hover .client-logo img { transform: scale(1.06); }
.client-card b { font-family: var(--f-display); font-weight: 600; font-size: .98rem; letter-spacing: var(--tr-tight); color: var(--ink); }
.client-card .meta { color: var(--grey); font-size: .84rem; margin-top: .15rem; }
.pill {
  align-self: flex-start; margin-top: .8rem;
  font-size: .68rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--green-deep); border: 1.5px solid var(--green-30); background: var(--green-12);
  border-radius: 999px; padding: .28rem .7rem;
}

/* ---------- 15. PRODUCT CATEGORIES (always-visible content) ---------- */
/* Single image tile: name, description and Learn More sit in an
   always-visible overlay on the artwork, not in a separate panel. */
.cat-card {
  position: relative; aspect-ratio: 1; overflow: hidden; isolation: isolate;
  border: var(--bw) solid var(--ink); border-radius: var(--r-lg);
  background: var(--steel); box-shadow: var(--shadow-sm); display: block;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.cat-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.cat-card > img { width: 100%; height: 100%; object-fit: cover; transition: transform 820ms var(--ease); }
.cat-card:hover > img { transform: scale(1.07); }
/* premium lighting sweep */
.cat-card::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.34) 48%, transparent 64%);
  transform: translateX(-120%); transition: transform 950ms var(--ease);
}
.cat-card:hover::before { transform: translateX(120%); }
.cat-overlay {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  padding: 1.5rem 1.25rem 1.25rem;
  background: linear-gradient(to top, rgba(3,20,24,.96) 12%, rgba(3,20,24,.82) 46%, rgba(3,20,24,.34) 78%, transparent 100%);
  transition: background var(--dur) var(--ease);
}
.cat-card:hover .cat-overlay { background: linear-gradient(to top, rgba(3,20,24,.98) 14%, rgba(6,52,59,.9) 52%, rgba(18,112,127,.4) 84%, transparent 100%); }
.cat-overlay h3 { font-size: 1.08rem; color: #fff; }
.cat-overlay p {
  color: rgba(255,255,255,.8); font-size: .86rem; line-height: 1.5; margin-top: .4rem;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.cat-link {
  display: inline-flex; align-items: center; gap: .4rem; margin-top: .85rem;
  font-family: var(--f-display); font-weight: 600; font-size: .88rem; color: var(--green);
  transition: gap var(--dur) var(--ease);
}
.cat-link svg { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.cat-card:hover .cat-link svg { transform: translateX(5px); }

/* ---------- 16. TRENDING PRODUCTS ---------- */
.prod-tile {
  position: relative; aspect-ratio: 1; overflow: hidden; background: #fff;
  border: var(--bw) solid var(--ink); border-radius: var(--r);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.prod-tile img { width: 100%; height: 100%; object-fit: contain; transition: transform 760ms var(--ease); }
.prod-tile:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.prod-tile:hover img { transform: scale(1.07); }

/* ---------- 17. CINEMATIC SHOWCASE VIDEO ---------- */
.showcase { position: relative; overflow: hidden; background: var(--teal-abyss); min-height: clamp(340px, 52vw, 560px); display: grid; }
.showcase video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
/* Reduced overlay so the plant footage reads clearly through it. */
.showcase::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0,0,0,.40) 0%, rgba(0,0,0,.16) 48%, rgba(0,0,0,.01) 80%, rgba(0,0,0,.08) 100%),
    linear-gradient(to top, rgba(0,0,0,.22), transparent 55%);
}
.showcase-inner { position: relative; z-index: 2; align-self: center; padding-block: clamp(3.2rem,7vw,5.5rem); }
.showcase .eyebrow { color: var(--green); text-shadow: 0 2px 12px rgba(0,0,0,.6); }
.showcase h2 { color: #fff; font-size: var(--h2); max-width: 20ch; text-shadow: 0 2px 22px rgba(0,0,0,.55); }
.showcase p { color: rgba(255,255,255,.86); margin-top: 1rem; max-width: 52ch; text-shadow: 0 1px 14px rgba(0,0,0,.6); }

/* ---------- 17b. OUR TEAM ---------- */
.team-card {
  border: var(--bw) solid var(--ink); border-radius: var(--r-lg);
  overflow: hidden; background: var(--card); box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.team-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.team-media { position: relative; aspect-ratio: 1.414 / 1; overflow: hidden; background: var(--steel); }
.team-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 820ms var(--ease); }
.team-card:hover .team-media img { transform: scale(1.06); }
.team-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(4,31,36,.30), transparent 45%);
  opacity: 0; transition: opacity var(--dur) var(--ease);
}
.team-card:hover .team-media::after { opacity: 1; }

/* ---------- 17c. DIRECTORS ---------- */
/* One card per row at every width: the contact block below each bio needs
   the full measure, otherwise the address wraps to a ragged column. */
.directors-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 3vw, 2.2rem);
}
.director-card {
  display: flex;
  align-items: stretch;
  border: 3px solid var(--ink);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.director-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lg);
}
.dir-teal { background: #E8F4F6; }
.dir-peach { background: #FFF0E8; }
/* The frame carries the photo's own 207x248 ratio, so `contain` fills it
   edge to edge: nothing is cropped and no mat shows around it. Same box on
   desktop and mobile. */
.director-media {
  flex: 0 0 286px;
  align-self: center;
  aspect-ratio: 207 / 248;
  margin: clamp(1rem, 2vw, 1.4rem);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,.6);
}
.director-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 820ms var(--ease);
}
.director-card:hover .director-media img {
  transform: scale(1.05);
}
.director-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.3rem, 2.4vw, 2.1rem);
}
.director-info h3 {
  font-family: var(--f-display);
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.3rem;
  letter-spacing: var(--tr-tight);
}
.director-post {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 0.7rem;
}
.director-info p {
  color: var(--graphite);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ---------- 18. FAQ (light green) ---------- */
.faq { background: var(--c-lime); }
.faq-list { max-width: 1180px; }
.faq-item {
  border: var(--bw) solid var(--ink); border-radius: var(--r);
  margin-bottom: .9rem; overflow: hidden; background: var(--card);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.faq-item.open { box-shadow: var(--shadow-md); }
/* Question and answer keep visibly separate grounds. */
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.2rem;
  text-align: left; padding: 1.25rem 1.4rem;
  font-family: var(--f-display); font-weight: 600; font-size: clamp(1rem,1.5vw,1.1rem);
  letter-spacing: var(--tr-tight); color: var(--ink);
  background: #FFFFFF;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.faq-q:hover { background: #F4FBEA; }
.faq-item.open .faq-q { background: linear-gradient(90deg, rgba(140,198,63,.34), rgba(140,198,63,.12)); color: var(--teal-deep); }
.faq-q .pm {
  flex: 0 0 auto; width: 34px; height: 34px; border-radius: 10px;
  background: rgba(18,112,127,.10); color: var(--teal); display: grid; place-items: center;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.faq-q .pm svg { width: 18px; height: 18px; }
.faq-item.open .pm { transform: rotate(135deg); background: var(--green-deep); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 480ms var(--ease); background: #F3F9E6; }
.faq-a .inner { padding: 1.2rem 1.4rem 1.35rem; border-top: 1px solid rgba(26,34,38,.10); }
.faq-a p { color: var(--graphite); font-size: .96rem; }

/* ---------- 19. TESTIMONIALS ---------- */
.testi-card {
  height: 100%; display: flex; flex-direction: column;
  border: var(--bw) solid var(--ink); border-radius: var(--r-lg);
  background: var(--card); padding: clamp(1.5rem,2.4vw,1.9rem);
  box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}
.testi-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); background: linear-gradient(170deg,#fff,var(--mist)); }
.testi-card .qmark {
  font-family: var(--f-script); font-style: italic; font-size: 5.4rem; line-height: .68;
  color: var(--green-30); position: absolute; top: 1rem; right: 1.3rem;
  transition: color var(--dur) var(--ease);
}
.testi-card:hover .qmark { color: rgba(140,198,63,.5); }
.testi-quote { position: relative; z-index: 1; color: var(--graphite); font-size: .98rem; line-height: 1.68; flex: 1; }
.testi-rating { display: flex; gap: .18rem; margin-bottom: .95rem; }
.testi-rating svg { width: 16px; height: 16px; color: var(--green); }
.testi-foot { display: flex; align-items: center; gap: .9rem; margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line-soft); }
.testi-ava {
  width: 50px; height: 50px; border-radius: 50%; flex: 0 0 auto;
  background: linear-gradient(150deg,var(--teal),var(--green));
  display: grid; place-items: center; color: #fff;
  font-family: var(--f-display); font-weight: 600; font-size: 1.05rem; letter-spacing: -.02em;
}
.testi-foot b { display: block; font-family: var(--f-display); font-weight: 600; font-size: .95rem; letter-spacing: var(--tr-tight); }
.testi-foot span { display: block; color: var(--grey); font-size: .82rem; }

/* ---------- 20. CONTACT ---------- */
.contact-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(1.4rem,2.6vw,2.4rem); align-items: start; }
.form-card { border: var(--bw) solid var(--ink); border-radius: var(--r-lg); background: var(--card); padding: clamp(1.5rem,2.8vw,2.3rem); box-shadow: var(--shadow-sm); }
.form-card h3 { font-size: 1.28rem; margin-bottom: .35rem; }
.form-card .hint { color: var(--grey); font-size: .92rem; margin-bottom: 1.6rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { position: relative; margin-bottom: 1.05rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 1.35rem .95rem .55rem; border: 1.5px solid var(--line);
  border-radius: var(--r-sm); font: inherit; font-size: .96rem; color: var(--ink);
  background: var(--mist);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}
.field textarea { min-height: 122px; resize: vertical; }
.field select { appearance: none; cursor: pointer; }
.field label {
  position: absolute; left: .95rem; top: 1.02rem; color: var(--grey); font-size: .95rem;
  pointer-events: none; transition: transform 220ms var(--ease), font-size 220ms var(--ease), color 220ms var(--ease);
  transform-origin: left top;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px var(--teal-10); }
.field input:focus ~ label, .field input:not(:placeholder-shown) ~ label,
.field textarea:focus ~ label, .field textarea:not(:placeholder-shown) ~ label,
.field select:focus ~ label, .field select.filled ~ label {
  transform: translateY(-.62rem) scale(.74); color: var(--teal); font-weight: 700; letter-spacing: .04em;
}
.field .arr { position: absolute; right: 1rem; top: 1.15rem; color: var(--grey); pointer-events: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--orange); }
.form-card .btn { width: 100%; justify-content: center; margin-top: .5rem; }
.form-success { display: none; text-align: center; padding: 1.5rem .5rem; }
.form-success.show { display: block; animation: mmIn .55s var(--ease); }
.form-success .ok { width: 68px; height: 68px; border-radius: 50%; background: var(--green-12); border: 2px solid var(--green-30); display: grid; place-items: center; margin: 0 auto 1.1rem; }
.form-success .ok svg { width: 34px; height: 34px; color: var(--green-deep); }
.form-success p { color: var(--grey); margin-top: .5rem; }

/* Inline send-error banner shown when the SMTP relay returns an error. */
.form-error {
  background: rgba(255,106,43,.08);
  border: 1px solid rgba(255,106,43,.35);
  color: #B04510;
  padding: .75rem 1rem;
  border-radius: 10px;
  margin: .25rem 0 .75rem;
  font-size: .92rem;
  font-weight: 500;
}
.form-card .btn.is-sending { opacity: .75; cursor: progress; }

/* ---------- Thank You confirmation modal (contact / product enquiry) ---------- */
.ty-modal {
  position: fixed; inset: 0; z-index: 9999;
  display: none; align-items: center; justify-content: center;
  padding: 1rem;
  background: rgba(9, 40, 48, .55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.ty-modal.open { display: flex; animation: mmFade .3s var(--ease) both; }
.ty-card {
  position: relative;
  width: min(460px, 100%);
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 30px 80px rgba(9,40,48,.35), 0 6px 18px rgba(9,40,48,.15);
  padding: 2.2rem 1.75rem 1.9rem;
  text-align: center;
  animation: tyPop .45s var(--ease) both;
}
.ty-close {
  position: absolute; top: 12px; right: 12px;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: transparent; color: #6b8792; border: 0;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.ty-close:hover { background: rgba(9,40,48,.08); color: #123a44; }
.ty-check {
  width: 78px; height: 78px; margin: 0 auto 1.15rem;
  border-radius: 50%;
  background: #22B573;
  display: grid; place-items: center;
  color: #fff;
  box-shadow: 0 12px 30px rgba(34,181,115,.35);
  animation: tyCheckPop .5s var(--ease) .05s both;
}
.ty-card h3 {
  margin: 0 0 .55rem;
  font-size: clamp(1.55rem, 3vw, 1.9rem);
  color: #123A5A;
  font-weight: 800;
  letter-spacing: -.01em;
}
.ty-card p {
  margin: 0 auto 1.45rem;
  max-width: 34ch;
  color: #5A6b73;
  font-size: 1rem;
  line-height: 1.55;
}
.ty-ok {
  min-width: 130px;
  padding: .8rem 1.9rem;
  border: 0; border-radius: 999px;
  background: var(--orange);
  color: #fff; font-weight: 700; letter-spacing: .04em;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(255,106,43,.32);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}
.ty-ok:hover  { transform: translateY(-2px); box-shadow: 0 18px 32px rgba(255,106,43,.38); }
.ty-ok:active { transform: translateY(0); }
.ty-ok:focus-visible { outline: 3px solid rgba(255,106,43,.45); outline-offset: 3px; }

@keyframes mmFade  { from { opacity: 0; } to { opacity: 1; } }
@keyframes tyPop   { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes tyCheckPop {
  0%   { transform: scale(.4); opacity: 0; }
  60%  { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .ty-modal.open, .ty-card, .ty-check { animation: none; }
}

.contact-side { display: flex; flex-direction: column; gap: 1.1rem; }
/* Same lifted deep teal as the footer, with the accent rebound lighter so
   the icons and labels stay above AA on the brighter ground. */
.info-card { --green: #A8DB63; border: var(--bw) solid var(--ink); border-radius: var(--r-lg); background: linear-gradient(165deg, #0E5D69 0%, #0A4550 100%); color: #fff; padding: clamp(1.3rem,2.2vw,1.7rem); }
.info-card .row { display: flex; gap: 1rem; align-items: flex-start; padding: .95rem 0; }
.info-card .row + .row { border-top: 1px solid rgba(255,255,255,.18); }
.info-card .row:first-child { padding-top: 0; }
.info-card .row:last-child { padding-bottom: 0; }
.info-card .ic { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px; background: rgba(168,219,99,.20); border: 1px solid rgba(168,219,99,.36); display: grid; place-items: center; }
.info-card .ic svg { width: 19px; height: 19px; color: var(--green); }
.info-card .lbl { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.74); margin-bottom: .3rem; }
.info-card .val { display: flex; flex-wrap: wrap; gap: .2rem 1rem; }
.info-card .val a, .info-card .val span { color: #fff; font-weight: 500; font-size: .95rem; transition: color var(--dur) var(--ease); }
.info-card .val a:hover { color: var(--green); }
.map-frame { border: var(--bw) solid var(--ink); border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16/10; background: var(--steel); }
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* ---------- 21. FOOTER ---------- */
/* A readable deep teal rather than near black, so the footer reads as part
   of the brand instead of a dark slab. */
.footer { background: linear-gradient(170deg, #0E5D69 0%, #0A4550 55%, #073A44 100%); color: rgba(255,255,255,.80); padding-top: clamp(3.2rem,5vw,4.8rem); }
/* The lighter ground needs a lighter accent: rebinding --green inside the
   footer lifts every accent (tagline, link hovers, icons) past AA at once. */
.footer { --green: #A8DB63; }
.f-social a:hover svg { color: #07333C; }   /* dark glyph on the light green chip */
.footer-grid { display: grid; grid-template-columns: 1.55fr .85fr 1fr 1.25fr; gap: clamp(1.6rem,3vw,2.6rem); padding-bottom: 2.8rem; }
.f-logo { background: #fff; border-radius: 12px; padding: .7rem .9rem; display: inline-block; margin-bottom: 1.1rem; }
.f-logo img { height: 44px; width: auto; }
.footer .f-tag { font-family: var(--f-script); font-style: italic; font-weight: 600; font-size: 1.22rem; color: var(--green); margin-bottom: .7rem; }
.footer p { font-size: .92rem; max-width: 36ch; }
.f-social { display: flex; gap: .55rem; margin-top: 1.4rem; }
.f-social a { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); display: grid; place-items: center; transition: background var(--dur) var(--ease), transform var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.f-social a svg { width: 18px; height: 18px; color: #fff; }
.f-social a:hover { background: var(--green); border-color: var(--green); transform: translateY(-3px); }
.footer h4 { font-family: var(--f-display); font-weight: 600; color: #fff; font-size: 1.02rem; letter-spacing: var(--tr-tight); margin-bottom: 1.15rem; }
.footer li { margin-bottom: .6rem; }
.footer li a { font-size: .92rem; display: inline-block; transition: color var(--dur) var(--ease), transform var(--dur) var(--ease); }
.footer li a:hover { color: var(--green); transform: translateX(5px); }
.f-contact .row { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: .95rem; font-size: .92rem; }
.f-contact .row svg { width: 17px; height: 17px; color: var(--green); flex: 0 0 auto; margin-top: 4px; }
.f-contact .row a:hover { color: var(--green); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.16); padding: 1.4rem 0; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; font-size: .84rem; }
.footer-bottom .badges { display: flex; gap: .55rem; flex-wrap: wrap; }
.footer-bottom .badges span { border: 1px solid rgba(255,255,255,.26); border-radius: 8px; padding: .3rem .72rem; font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.footer-bottom .legal { display: flex; gap: 1.2rem; align-items: center; flex-wrap: wrap; }
/* Staff entry point: present but deliberately quiet. */
.footer-bottom .legal .admin-link {
  display: inline-flex; align-items: center; gap: .4rem;
  border: 1px solid rgba(255,255,255,.22); border-radius: 999px;
  padding: .28rem .8rem; font-size: .78rem; font-weight: 600;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.footer-bottom .legal .admin-link::before {
  content: ""; width: 11px; height: 11px; flex: 0 0 auto;
  background: currentColor;
  -webkit-mask: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Crect x='4' y='10' width='16' height='11' rx='2.5'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E");
          mask: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Crect x='4' y='10' width='16' height='11' rx='2.5'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E");
}
.footer-bottom .legal .admin-link:hover {
  background: var(--green); border-color: var(--green); color: var(--teal-abyss);
}
.footer-bottom a:hover { color: var(--green); }

/* ---------- 22. SOCIAL RAIL ---------- */
.social-rail { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 850; display: flex; flex-direction: column; }
.social-rail a {
  display: flex; align-items: center; gap: .6rem; padding: .85rem .95rem; color: #fff;
  font-family: var(--f-display); font-weight: 600; font-size: .82rem; white-space: nowrap;
  transform: translateX(calc(100% - 48px)); transition: transform var(--dur) var(--ease);
}
.social-rail a svg { width: 22px; height: 22px; flex: 0 0 auto; }
.social-rail a:hover, .social-rail a:focus-visible { transform: translateX(0); }
.social-rail .ig { background: linear-gradient(135deg,#833AB4,#C13584,#E1306C); }
.social-rail .wa { background: #25D366; }
.social-rail .li { background: #0A66C2; }
.social-rail a:first-child { border-top-left-radius: 14px; }
.social-rail a:last-child { border-bottom-left-radius: 14px; }

/* ---------- 22b. CATALOGUE RAIL (mirrors the social rail, left edge) ----------
   Parked as an icon tab; the label slides out of the left edge on hover.
   translateY centres it, so the slide has to ride in the same transform. */
.catalog-rail {
  --peek: 52px;                 /* how much stays on screen at rest */
  position: fixed; left: 0; top: 50%;
  transform: translateY(-50%) translateX(calc(-100% + var(--peek)));
  z-index: 850; display: flex; align-items: center; gap: .6rem;
  padding: .95rem 1.05rem; color: #fff; background: var(--orange);
  border-top-right-radius: 14px; border-bottom-right-radius: 14px;
  font-family: var(--f-display); font-weight: 600; font-size: .84rem;
  white-space: nowrap; box-shadow: 0 10px 26px rgba(255,106,43,.32);
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}
/* The tab is pulled left, so it is the element's RIGHT edge that stays on
   screen: the icon has to be last in the row to be the part that peeks. */
.catalog-rail svg { width: 22px; height: 22px; flex: 0 0 auto; order: 1; }
.catalog-rail:hover, .catalog-rail:focus-visible {
  transform: translateY(-50%) translateX(0);
  background: var(--teal); box-shadow: 0 12px 30px rgba(18,112,127,.36); color: #fff;
}
@media (max-width: 900px) {
  /* No hover on touch, so keep it as a permanent icon tab. */
  .catalog-rail { --peek: 46px; padding: .8rem .85rem; }
  .catalog-rail span { display: none; }
  .catalog-rail, .catalog-rail:hover, .catalog-rail:focus-visible { transform: translateY(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .catalog-rail { transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
}

/* ---------- 23. SWIPER ---------- */
/* Looped slides would otherwise stretch the document. Clip on X only so
   card lift and shadows still breathe vertically. Fallback clips both. */
.swiper { overflow: hidden; padding: 14px 0 30px; margin: -14px 0 -30px; }
@supports (overflow-x: clip) {
  .swiper { overflow-x: clip; overflow-y: visible; padding: 0; margin: 0; }
}
.swiper-wrapper { align-items: stretch; }
.swiper-slide { height: auto; }
.swiper-pagination { position: static; margin-top: 1.8rem; }
/* Dynamic bullets are a fixed width window Swiper centres with
   position:absolute + left:50% + translateX(-50%). We put pagination back in
   normal flow, so re-centre with auto margins and drop the offset transform.
   Selector strength matches Swiper's own rule; ours simply loads later. */
.swiper-horizontal > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic {
  left: auto;
  transform: none;
  margin-inline: auto;
}
.swiper-pagination-bullet { background: var(--teal); opacity: .28; transition: all var(--dur) var(--ease); }
.swiper-pagination-bullet-active { opacity: 1; background: var(--green); width: 26px; border-radius: 4px; }

/* ---------- 24. REVEAL ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .75s var(--ease-out), transform .75s var(--ease-out); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* Progressive image loading */
.img-load { opacity: 0; transition: opacity .6s var(--ease); }
.img-load.loaded { opacity: 1; }

/* Scroll progress bar */
.progress { position: fixed; top: 0; left: 0; height: 3px; z-index: 999; background: linear-gradient(90deg,var(--teal),var(--green)); width: 0; transition: width 120ms linear; }

/* ---------- 25. RESPONSIVE ---------- */
@media (max-width: 1180px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
}
@media (max-width: 1024px) {
  :root { --header-h: 70px; }
  .work-grid { grid-template-columns: repeat(2,1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .menu, .nav-cta .btn { display: none; }
  .burger { display: flex; }
  .tb-group.desk { display: none; }
  .tb-mobile { display: flex; align-items: center; justify-content: space-between; gap: .6rem; width: 100%; }
  .topbar .wrap { justify-content: center; }
  /* Phone, email and socials all have to share one narrow row, so drop the
     icon chips down to bare glyphs and tighten the type. */
  .topbar { font-size: .72rem; }
  .tb-mobile .tb-item { gap: .34rem; min-width: 0; }
  .tb-mobile .tb-item .ic { width: auto; height: auto; background: none; border-radius: 0; }
  .tb-mobile .tb-item .ic svg { width: 13px; height: 13px; }
  .tb-mobile .tb-social { gap: .3rem; }
  .tb-mobile .tb-social a { width: 24px; height: 24px; border-radius: 7px; }
  .tb-mobile .tb-social a svg { width: 12px; height: 12px; }
  .director-card { flex-direction: column; align-items: stretch; }
  .director-media { flex: none; width: 286px; max-width: calc(100% - 2rem); align-self: center; }
  .director-info { width: 100%; display: flex; flex-direction: column; justify-content: center; padding: 1.4rem; }
}
@media (max-width: 400px) {
  .topbar { font-size: .66rem; }
  .tb-mobile { gap: .45rem; }
  .tb-mobile .tb-social a { width: 22px; height: 22px; }
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: auto; }
  .marquee-track { animation-duration: 26s; }
  .m-outline .marquee-item { font-size: 1rem; }
  .m-teal .marquee-item { font-size: .9rem; padding-inline: 1.3rem; }
}
@media (max-width: 620px) {
  .work-grid { grid-template-columns: repeat(2,1fr); gap: .8rem; }
  .work-cap b { font-size: .9rem; }
  .work-cap span { font-size: .78rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .social-rail a { padding: .8rem .85rem; transform: translateX(calc(100% - 42px)); }
  .social-rail a svg { width: 20px; height: 20px; }
}
@media (max-width: 420px) {
}

@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal], .hero [data-hero] { opacity: 1 !important; transform: none !important; }
  .marquee-track, .ind-track, .ind-card::before { animation: none !important; }
}

/* ============================================================
   NEW PAGES — About / Applications / Gallery / Contact
   ============================================================ */

/* ---------- 26. BREADCRUMBS ---------- */
.crumbs {
  display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
  font-family: var(--f-display); font-weight: 500; font-size: .84rem;
  color: rgba(255,255,255,.68); margin-bottom: 1.1rem;
}
.crumbs a { color: rgba(255,255,255,.68); transition: color var(--dur) var(--ease); }
.crumbs a:hover { color: var(--green); }
.crumbs span[aria-current] { color: #fff; font-weight: 600; }
.crumbs .sep { color: rgba(255,255,255,.4); }

/* ---------- 27. ABOUT HERO (static image, Ken Burns) ---------- */
.hero-bg-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
  animation: kenburns 22s ease-in-out infinite alternate; will-change: transform;
}
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.09); } }

/* ---------- 28. SECONDARY PAGE HERO (Contact / Gallery / Applications) ---------- */
.page-hero {
  position: relative; overflow: hidden; color: #fff;
  min-height: clamp(280px, 34vw, 400px);
  display: flex; align-items: center;
  background: linear-gradient(150deg, var(--teal-deep) 0%, var(--teal-abyss) 100%);
}
.page-hero img.page-hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; opacity: .34;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(100deg, rgba(4,31,36,.92) 0%, rgba(6,52,59,.72) 55%, rgba(6,52,59,.5) 100%);
}
.page-hero-grid { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .16;
  background-image: linear-gradient(rgba(140,198,63,.4) 1px, transparent 1px), linear-gradient(90deg, rgba(140,198,63,.4) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(80% 90% at 85% 20%, #000 10%, transparent 70%);
          mask-image: radial-gradient(80% 90% at 85% 20%, #000 10%, transparent 70%);
}
.page-hero-inner { position: relative; z-index: 2; width: 100%; padding-block: clamp(2.4rem, 5vw, 3.6rem); }
.page-hero .kick {
  display: inline-flex; align-items: center; gap: .55rem;
  background: rgba(140,198,63,.13); border: 1px solid rgba(140,198,63,.42);
  color: #cfeeae; font-family: var(--f-display); font-weight: 600;
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  padding: .45rem .95rem; border-radius: 999px; margin-bottom: 1.1rem;
}
.page-hero h1 {
  font-size: clamp(2rem, 1.3rem + 3vw, 3.3rem); color: #fff; letter-spacing: -.03em; line-height: 1.05;
  text-shadow: 0 2px 24px rgba(0,0,0,.35); max-width: 22ch;
}
.page-hero h1 .script { color: var(--green); }
.page-hero p { margin-top: 1.1rem; max-width: 58ch; font-size: clamp(1rem,.97rem + .3vw,1.12rem); color: rgba(255,255,255,.82); line-height: 1.6; }

/* ---------- 29. MISSION AND VISION ---------- */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.2rem,2.4vw,1.8rem); }
.mv-card {
  border: var(--bw) solid var(--ink); border-radius: var(--r-lg);
  padding: clamp(1.8rem,3vw,2.6rem); background: var(--card); box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  position: relative; overflow: hidden;
}
.mv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.mv-card.is-mission { background: linear-gradient(160deg, #fff 0%, var(--c-blue) 130%); }
.mv-card.is-vision  { background: linear-gradient(160deg, #fff 0%, var(--c-green) 130%); }
.mv-card .ic {
  width: 62px; height: 62px; border-radius: 16px; display: grid; place-items: center;
  background: rgba(18,112,127,.10); margin-bottom: 1.3rem;
}
.mv-card.is-vision .ic { background: rgba(140,198,63,.18); }
.mv-card .ic svg { width: 30px; height: 30px; color: var(--teal); }
.mv-card.is-vision .ic svg { color: var(--green-deep); }
.mv-card h3 { font-size: 1.4rem; }
.mv-card p { color: var(--grey); margin-top: .8rem; font-size: 1rem; line-height: 1.7; }
.mv-card .num { position: absolute; right: 1.4rem; top: 1rem; font-family: var(--f-num); font-weight: 700; font-size: 4.2rem; color: rgba(18,112,127,.08); line-height: 1; }

/* ---------- 30. INSTAGRAM FOLLOW BAND ---------- */
.insta-band {
  border: var(--bw) solid var(--ink); border-radius: var(--r-lg);
  padding: clamp(2rem,4vw,3rem); text-align: center;
  background: linear-gradient(135deg, #FCE0E8 0%, #FDEFD8 46%, #E4E0FB 100%);
  box-shadow: var(--shadow-sm);
}
.insta-band .ic {
  width: 64px; height: 64px; border-radius: 18px; margin: 0 auto 1.2rem;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg,#F58529,#DD2A7B 45%,#8134AF 75%,#515BD4);
}
.insta-band .ic svg { width: 32px; height: 32px; }
.insta-band h2 { font-size: clamp(1.5rem,1.2rem + 1.6vw,2.1rem); }
.insta-band p { color: var(--grey); margin-top: .7rem; max-width: 52ch; margin-inline: auto; }
.btn-insta {
  margin-top: 1.6rem; color: #fff;
  background: linear-gradient(135deg,#F58529,#DD2A7B 45%,#8134AF 75%,#515BD4);
  box-shadow: 0 14px 30px rgba(221,42,123,.30);
}
.btn-insta:hover { transform: translateY(-3px); box-shadow: 0 20px 40px rgba(221,42,123,.4); }

/* ---------- 31. GALLERY GRID + LIGHTBOX ---------- */
.gal-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px; gap: clamp(.8rem,1.4vw,1.2rem);
}
.gal-item {
  position: relative; border: var(--bw) solid var(--ink); border-radius: var(--r);
  overflow: hidden; cursor: pointer; background: var(--steel); box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.gal-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.gal-item.span-2r { grid-row: span 2; }
.gal-item.span-2c { grid-column: span 2; }
.gal-item img, .gal-item video { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.gal-item:hover img, .gal-item:hover video { transform: scale(1.07); }
.gal-item::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(4,31,36,.55) 0%, transparent 45%);
  opacity: 0; transition: opacity var(--dur) var(--ease);
}
.gal-item:hover::after { opacity: 1; }
.gal-badge {
  position: absolute; z-index: 2; display: grid; place-items: center; color: #fff;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(4,31,36,.5); border: 1.5px solid rgba(255,255,255,.5); backdrop-filter: blur(4px);
  opacity: 0; transform: scale(.7); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  top: 50%; left: 50%; margin: -23px 0 0 -23px;
}
.gal-item:hover .gal-badge { opacity: 1; transform: scale(1); }
.gal-badge svg { width: 20px; height: 20px; }
.gal-tag {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  font-family: var(--f-display); font-weight: 600; font-size: .68rem; letter-spacing: .06em; text-transform: uppercase;
  color: #fff; background: rgba(4,31,36,.55); border: 1px solid rgba(255,255,255,.25);
  padding: .22rem .55rem; border-radius: 7px;
}

.gal-filters { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: 1.8rem; }
.gal-filter {
  font-family: var(--f-display); font-weight: 600; font-size: .88rem;
  padding: .55rem 1.15rem; border-radius: 999px; border: var(--bw) solid var(--ink);
  color: var(--ink); background: transparent; transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.gal-filter.active, .gal-filter:hover { background: var(--ink); color: #fff; }

.lightbox {
  position: fixed; inset: 0; z-index: 1200; display: none;
  background: rgba(3,15,18,.94); backdrop-filter: blur(6px);
  align-items: center; justify-content: center; padding: clamp(1rem,4vw,3rem);
}
.lightbox.open { display: flex; }
.lightbox-stage { position: relative; width: min(92vw, 980px); max-height: 88vh; display: grid; place-items: center; }
.lightbox-stage img, .lightbox-stage video {
  max-width: 100%; max-height: 88vh; border-radius: var(--r); box-shadow: var(--shadow-lg);
  border: var(--bw) solid rgba(255,255,255,.2);
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: fixed; z-index: 1210; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.3); transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: var(--green); color: var(--teal-deep); }
.lightbox-close { top: clamp(1rem,3vw,2rem); right: clamp(1rem,3vw,2rem); }
.lightbox-prev { left: clamp(.6rem,3vw,2rem); top: 50%; transform: translateY(-50%); }
.lightbox-next { right: clamp(.6rem,3vw,2rem); top: 50%; transform: translateY(-50%); }
.lightbox-prev svg, .lightbox-next svg, .lightbox-close svg { width: 22px; height: 22px; }
.lightbox-caption { position: absolute; left: 0; right: 0; bottom: -2.4rem; text-align: center; color: rgba(255,255,255,.7); font-size: .88rem; }

/* ---------- 32. APPLICATIONS (detailed industry rows) ---------- */
.app-list { display: flex; flex-direction: column; gap: clamp(2.6rem,5vw,4rem); }
.app-row {
  display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(1.6rem,3.4vw,3rem); align-items: center;
}
.app-row.rev { grid-template-columns: 1.05fr .95fr; }
.app-row.rev .app-media { order: 2; }
.app-row.rev .app-content { order: 1; }
.app-media {
  position: relative; aspect-ratio: 4/3; border-radius: var(--r-lg); overflow: hidden;
  border: var(--bw) solid var(--ink); box-shadow: var(--shadow-sm); background: var(--steel);
}
.app-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 760ms var(--ease); }
.app-row:hover .app-media img { transform: scale(1.06); }
.app-media .idx {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-family: var(--f-num); font-weight: 700; font-size: 1.4rem; color: #fff;
  background: rgba(4,31,36,.55); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(6px);
  border-radius: 12px; width: 46px; height: 46px; display: grid; place-items: center;
}
.app-content h3 { font-size: clamp(1.35rem,1.1rem + 1vw,1.8rem); }
.app-content .lede { font-family: var(--f-display); font-weight: 500; color: var(--teal); font-size: 1rem; margin-top: .5rem; }
.app-content p { color: var(--grey); margin-top: .9rem; font-size: .98rem; line-height: 1.75; }
.app-chips { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.2rem; }
.app-chips .chip {
  font-family: var(--f-display); font-weight: 600; font-size: .78rem;
  color: var(--teal); background: var(--teal-06); border: 1.5px solid var(--teal-18);
  padding: .38rem .85rem; border-radius: 999px;
}
.app-content .chip svg { width: 13px; height: 13px; margin-right: .3rem; vertical-align: -2px; color: var(--green-deep); }

/* ---------- 33. WHO WE ARE (about page split) ---------- */
.who-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.4rem, 2.4vw, 2rem); }
.who-media { position: relative; }
.who-media.offset { margin-top: clamp(1.6rem, 4vw, 2.8rem); }
.who-frame {
  border-radius: var(--r-lg); overflow: hidden; border: var(--bw) solid var(--ink);
  box-shadow: var(--shadow-md); aspect-ratio: 5/6; position: relative;
}
.who-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 760ms var(--ease); }
.who-frame:hover img { transform: scale(1.05); }
.who-copy { max-width: 640px; }
.who-pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.4rem; margin: 1.8rem 0; }
.who-pillar { display: flex; gap: .7rem; align-items: flex-start; }
.who-pillar .tick { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 8px; background: var(--green-12); display: grid; place-items: center; }
.who-pillar .tick svg { width: 16px; height: 16px; color: var(--green-deep); }
.who-pillar b { font-family: var(--f-display); font-size: .98rem; display: block; }
.who-pillar span { color: var(--grey); font-size: .85rem; }

/* ---------- 34. RESPONSIVE (new pages) ---------- */
@media (max-width: 1024px) {
  .app-row, .app-row.rev { grid-template-columns: 1fr; }
  .app-row.rev .app-media, .app-row.rev .app-content { order: initial; }
  .gal-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .mv-grid { grid-template-columns: 1fr; }
  .who-grid { grid-template-columns: 1fr; }
  .who-media.offset { margin-top: 0; }
}
@media (max-width: 768px) {
  .gal-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .gal-item.span-2c { grid-column: span 2; }
}
@media (max-width: 620px) {
  .who-pillars { grid-template-columns: 1fr; }
  .lightbox-prev, .lightbox-next { width: 40px; height: 40px; }
  .lightbox-prev svg, .lightbox-next svg { width: 18px; height: 18px; }
}

/* ============================================================
   29. IMAGE ZOOM LIGHTBOX (system diagram, certificates)
   The overlay itself is built once by main.js, so any page that
   carries a .zoomable trigger gets it without extra markup.
   ============================================================ */
.zoomable {
  display: block; width: 100%; padding: 0; border: 0; background: none;
  cursor: zoom-in; position: relative; border-radius: var(--r);
  overflow: hidden; line-height: 0;
}
.zoomable img { width: 100%; height: auto; display: block; }
.zoomable .zoom-hint {
  position: absolute; right: 12px; bottom: 12px;
  display: inline-flex; align-items: center; gap: .45rem;
  background: rgba(4,31,36,.82); color: #fff;
  font-family: var(--f-body); font-size: .78rem; font-weight: 600; line-height: 1;
  padding: .5rem .75rem; border-radius: 999px;
  opacity: 0; transform: translateY(6px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  pointer-events: none;
}
.zoomable .zoom-hint svg { width: 14px; height: 14px; flex: 0 0 auto; }
.zoomable:hover .zoom-hint,
.zoomable:focus-visible .zoom-hint { opacity: 1; transform: translateY(0); }
.zoomable:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }

.zoom-lb {
  position: fixed; inset: 0; z-index: 2000; display: none;
  background: rgba(4,31,36,.94);
  padding: clamp(1rem, 3vw, 2.4rem);
  overscroll-behavior: contain;
}
.zoom-lb.open { display: grid; grid-template-rows: 1fr auto; gap: 1rem; }
.zoom-lb-stage {
  overflow: auto; display: grid; place-items: center;
  -webkit-overflow-scrolling: touch;
}
.zoom-lb-stage img {
  max-width: 100%; max-height: 100%; object-fit: contain;
  border-radius: var(--r-sm); background: #fff; cursor: zoom-in;
}
/* Second click pushes past fit-to-screen so fine print stays readable. */
.zoom-lb-stage.zoomed { place-items: start; }
.zoom-lb-stage.zoomed img { max-width: none; max-height: none; width: min(2400px, 260%); cursor: zoom-out; }
.zoom-lb-cap {
  color: rgba(255,255,255,.82); font-size: .9rem; line-height: 1.55;
  max-width: 78ch; margin-inline: auto; text-align: center;
}
.zoom-lb-close {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.28);
  background: rgba(0,0,0,.42); color: #fff; cursor: pointer;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.zoom-lb-close:hover { background: var(--orange); transform: rotate(90deg); border-color: transparent; }
.zoom-lb-close svg { width: 20px; height: 20px; }

/* ============================================================
   30. SYSTEM DIAGRAM SECTION
   ============================================================ */
.diagram-grid {
  display: grid; gap: clamp(1.8rem, 3.6vw, 3.2rem);
  grid-template-columns: 1fr; align-items: start;
}
@media (min-width: 980px) {
  /* Desktop brief: diagram on the left, the explanation on the right. */
  .diagram-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); }
}
.diagram-media { margin: 0; position: sticky; top: calc(var(--header-h) + 20px); }
@media (max-width: 979px) { .diagram-media { position: static; } }
.diagram-btn {
  border: var(--bw) solid var(--line); background: #fff;
  border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}
.diagram-btn:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--teal-18); }
.diagram-btn img { padding: clamp(.5rem, 1.4vw, 1rem); }
.diagram-media figcaption {
  margin-top: .75rem; text-align: center;
  font-size: .82rem; font-weight: 600; color: var(--grey);
}
.diagram-copy .subhead { margin-top: .45rem; }
.diagram-copy > p { color: var(--grey); margin-top: 1rem; line-height: var(--lh-body); }
.diagram-copy .btn { margin-top: 1.8rem; }

.btn-ghost-dark { background: transparent; color: var(--ink); border: var(--bw) solid var(--line); }
.btn-ghost-dark:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Contact side card: name the person behind each desk. */
.info-card .val .who {
  display: block; margin-top: .18rem;
  font-size: .82rem; color: var(--grey-soft); font-weight: 500;
}
