/* ============================================================================
   FAJAR MANPOWER — HOMEPAGE PREMIUM REDESIGN  (v2 — "Avarisé" white edition)
   Modeled on /ui/1.webp: clean white canvas, oversized organic display type
   (Bricolage Grotesque), full-bleed full-height cinematic hero, a floating
   job-search bar, generous full-width rhythm, and refined monochrome detailing.
   Loaded AFTER style.css on index.html only — authoritative for every home
   section.
   ============================================================================ */

:root {
  /* ---- Clean premium palette (white canvas + ink) ---- */
  --ink:        #0b0b0c;   /* near-black — headings, buttons, accents */
  --ink-soft:   #18181a;
  --bg:         #ffffff;   /* page white */
  --bg-soft:    #f5f4f1;   /* alternating light panel */
  --bg-soft-2:  #efece6;   /* deeper light panel / fills */
  --paper:      #ffffff;
  --muted:      #6e6c68;   /* body grey */
  --muted-2:    #9a978f;   /* faint grey */
  --line:       #e9e6df;   /* hairline */
  --line-soft:  #f0eee9;
  --accent:     #b08c54;   /* refined warm accent — used sparingly */
  --accent-2:   #9a7741;

  /* Glass */
  --glass-bg:        rgba(255, 255, 255, 0.12);
  --glass-bg-solid:  rgba(255, 255, 255, 0.92);
  --glass-border:    rgba(255, 255, 255, 0.40);
  --glass-blur:      20px;

  /* Radii — generous & premium */
  --r-sm:   14px;
  --r-card: 22px;
  --r-lg:   30px;
  --r-xl:   40px;
  --r-pill: 999px;

  /* Soft shadows */
  --sh-soft:  0 18px 46px -24px rgba(18, 16, 12, 0.26);
  --sh-card:  0 34px 70px -34px rgba(18, 16, 12, 0.36);
  --sh-glass: 0 30px 64px -28px rgba(8, 8, 10, 0.55);

  /* Type — Geist (Vercel) across the whole site; 400 body, 500–700 headings */
  --font-display: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body:    'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Rhythm — wider, fuller layout */
  --pad-section: clamp(80px, 9vw, 150px);
  --gutter:      clamp(22px, 4.5vw, 76px);
  --wrap:        1520px;
}

/* ----------------------------------------------------------------------------
   GLOBAL RESETS FOR HOMEPAGE
   ---------------------------------------------------------------------------- */
body.home {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

.home .wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.home h1, .home h2, .home h3, .home h4, .home h5 {
  font-family: var(--font-display);
  color: var(--ink);
  letter-spacing: -0.022em;
  line-height: 1.08;
  margin: 0;
  font-weight: 400;
}

/* Geist body — set the default weight to 400 site-wide, incl. form controls */
body.home,
.home input, .home textarea, .home select, .home button {
  font-family: var(--font-body);
  font-weight: 400;
}

.home p { margin: 0; }
.home a { text-decoration: none; }
.home img { display: block; max-width: 100%; }
.home section { position: relative; }

/* Eyebrow label with bullet dot (reference uses "• About us") */
.home .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: capitalize;
  color: var(--muted);
}
.home .eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.home .eyebrow.on-dark { color: rgba(255,255,255,.72); }
.home .eyebrow.on-dark::before { background: var(--accent); }

/* Display headings */
.home .display {
  font-size: clamp(2.8rem, 6.2vw, 5.6rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.home .h-section {
  font-size: clamp(2.1rem, 4.4vw, 3.9rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.08;
}
.home .lead {
  font-size: clamp(1rem, 1.15vw, 1.14rem);
  line-height: 1.72;
  color: var(--muted);
}

/* ----------------------------------------------------------------------------
   BUTTONS
   ---------------------------------------------------------------------------- */
.home .btn-ink,
.home .btn-ghost,
.home .btn-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), background .3s ease, color .3s ease, box-shadow .35s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}
.home .btn-ink {
  background: var(--ink);
  color: #fff;
  padding: 17px 32px;
  box-shadow: 0 16px 34px -18px rgba(0,0,0,.7);
}
.home .btn-ink:hover { transform: translateY(-3px); background: #000; box-shadow: 0 24px 48px -20px rgba(0,0,0,.8); }
.home .btn-ink i { transition: transform .35s ease; }
.home .btn-ink:hover i { transform: translateX(4px); }

.home .btn-light { background: #fff; color: var(--ink); }
.home .btn-light:hover { transform: translateY(-3px); box-shadow: 0 24px 48px -20px rgba(0,0,0,.5); }

.home .btn-ghost {
  background: transparent;
  color: var(--ink);
  padding: 16px 30px;
  border-color: var(--line);
}
.home .btn-ghost:hover { background: var(--ink); color:#fff; transform: translateY(-3px); border-color: var(--ink); }
.home .btn-ghost.on-dark { color:#fff; border-color: rgba(255,255,255,.3); }
.home .btn-ghost.on-dark:hover { background:#fff; color: var(--ink); border-color:#fff; }

.home .btn-link {
  padding: 14px 4px;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1.5px;
}
.home .btn-link:hover { color: var(--accent-2); }
.home .btn-link.on-dark { color:#fff; }
.home .btn-link.on-dark:hover { color: var(--accent); }

/* Circular icon-only nav arrows (reference carousels) */
.home .circ-btn {
  width: 58px; height: 58px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all .3s ease;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
}
.home .circ-btn:hover { background: var(--ink); color:#fff; border-color: var(--ink); }
.home .circ-btn.solid { background: var(--ink); color:#fff; border-color: var(--ink); }
.home .circ-btn.solid:hover { background: var(--accent-2); border-color: var(--accent-2); }

/* ============================================================================
   NAVBAR — floating glassmorphism pill
   ============================================================================ */
.home .navbar {
  position: fixed;
  top: 22px;
  /* Centred with auto margins rather than translateX(-50%): a transform here
     would make the navbar the containing block for the position:fixed mobile
     drawer, leaving it stranded on screen when closed. */
  left: 0; right: 0;
  margin-inline: auto;
  width: calc(100% - 2 * var(--gutter));
  max-width: var(--wrap);
  z-index: 1000;
  padding: 0;
  background: transparent;
  transition: top .4s ease;
}
.home .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 14px 11px 24px;
  border-radius: var(--r-pill);
  background: rgba(16, 15, 14, 0.30);
  backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 50px -26px rgba(0,0,0,.6);
  transition: background .4s ease, border-color .4s ease, box-shadow .4s ease;
}
/* Solid state after scroll. The generic `.navbar.scrolled` rule in style.css
   paints a full-width white bar with a 16px backdrop-filter; on the pill layout
   that leaked out as a grey blurred band beside the pill (and made the navbar a
   containing block for the position:fixed drawer), so it is cleared here. Only
   .nav-inner — the pill itself — ever carries a background. */
.home .navbar,
.home .navbar.scrolled {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  border: 0;
}
.home .navbar.scrolled { top: 12px; }
.home .navbar.scrolled .nav-inner {
  background: rgba(255, 255, 255, 0.86);
  border-color: var(--line);
  box-shadow: var(--sh-soft);
}
.home .nav-logo { height: 38px; width: auto; }

.home .nav-menu { display: flex; align-items: center; gap: 28px; }
.home .nav-links {
  display: flex; align-items: center; gap: 4px;
  list-style: none; margin: 0; padding: 0;
}
.home .nav-links .nav-link {
  display: inline-block;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  font-size: 0.94rem;
  font-weight: 500;
  color: rgba(255,255,255,.92);
  transition: all .25s ease;
}
.home .nav-links .nav-link:hover,
.home .nav-links .nav-link.active { background: rgba(255,255,255,.18); color:#fff; }
.home .navbar.scrolled .nav-links .nav-link { color: var(--ink); }
.home .navbar.scrolled .nav-links .nav-link:hover,
.home .navbar.scrolled .nav-links .nav-link.active { background: var(--ink); color:#fff; }

.home .btn-nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px;
  border-radius: var(--r-pill);
  background: #fff; color: var(--ink);
  font-weight: 600; font-size: 0.94rem;
  transition: all .3s ease;
}
.home .btn-nav-cta:hover { background: var(--ink); color:#fff; transform: translateY(-2px); }
.home .navbar.scrolled .btn-nav-cta { background: var(--ink); color:#fff; }
.home .navbar.scrolled .btn-nav-cta:hover { background: var(--accent-2); }
.home .btn-nav-cta i { transition: transform .3s ease; }
.home .btn-nav-cta:hover i { transform: translateX(3px); }

/* Dropdown */
.home .nav-links .dropdown { position: relative; }
.home .dropdown-menu-custom {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 250px;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 10px;
  box-shadow: var(--sh-card);
  opacity: 0; visibility: hidden;
  transition: all .3s ease;
}
.home .nav-links .dropdown:hover .dropdown-menu-custom {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.home .dropdown-menu-custom a {
  display: block;
  padding: 11px 16px;
  border-radius: 12px;
  font-size: 0.9rem; font-weight: 500;
  color: var(--ink);
  transition: all .2s ease;
}
.home .dropdown-menu-custom a:hover { background: var(--bg-soft); color: var(--accent-2); padding-left: 22px; }

/* Hamburger */
.home .hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.25);
  cursor: pointer;
  align-items: center; justify-content: center;
}
.home .navbar.scrolled .hamburger { background: var(--ink); border-color: var(--ink); }
.home .hamburger span { width: 20px; height: 2px; background:#fff; border-radius: 2px; transition: all .3s ease; }

/* ============================================================================
   HERO — full-bleed, full-height cinematic banner
   ============================================================================ */
.home .hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
}
.home .hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  transform: scale(1.06);
  animation: heroZoom 16s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.home .hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(8,8,10,.60) 0%, rgba(8,8,10,.10) 26%, rgba(8,8,10,0) 44%),
    linear-gradient(0deg,   rgba(8,8,10,.88) 0%, rgba(8,8,10,.34) 48%, rgba(8,8,10,0) 80%),
    linear-gradient(90deg,  rgba(8,8,10,.72) 0%, rgba(8,8,10,.34) 34%, rgba(8,8,10,0) 68%);
}
.home .hero-content {
  width: 100%;
  max-width: none;
  flex: 1 1 auto;
  display: flex;
  align-items: stretch;
  padding: 140px var(--gutter) clamp(40px, 5vw, 72px);
}
.home .hero-content-inner {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(40px, 8vw, 96px);
}
.home .hero-head { align-self: flex-start; max-width: 940px; }
.home .hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  align-self: flex-start;
  color: rgba(255,255,255,.92);
  font-size: 0.84rem; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase;
}
.home .hero-eyebrow::before {
  content:""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 4px rgba(176,140,84,.25);
}
.home .hero-title {
  color: #fff;
  margin-top: 22px;
  font-family: var(--font-display);
  font-size: clamp(3rem, 7.4vw, 6.6rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.032em;
  text-wrap: balance;
}

/* Floating glass info / CTA card (bottom-right) */
.home .hero-card {
  align-self: flex-end;
  width: 100%;
  max-width: 470px;
  background: var(--glass-bg-solid);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: var(--r-lg);
  padding: clamp(26px, 2.4vw, 34px);
  box-shadow: var(--sh-glass);
}
.home .hero-card-text {
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.6;
}
.home .hero-card-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 20px;
}
.home .hero-card-tags span {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 15px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: .82rem; font-weight: 500; color: var(--ink);
}
.home .hero-card-tags i { color: var(--accent); font-size: .92rem; }
.home .hero-card-actions {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 24px;
}
.home .hero-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border-radius: var(--r-pill);
  padding: 14px 26px;
  font-family: var(--font-body); font-weight: 600; font-size: .96rem;
  cursor: pointer; white-space: nowrap;
  transition: all .3s ease;
}
.home .hero-btn.primary { background: var(--ink); color: #fff; border: 1.5px solid var(--ink); }
.home .hero-btn.primary i { transition: transform .3s ease; }
.home .hero-btn.primary:hover { background: #000; transform: translateY(-2px); }
.home .hero-btn.primary:hover i { transform: translateX(4px); }
.home .hero-btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.home .hero-btn.ghost:hover { border-color: var(--ink); }

/* Scroll cue */
.home .hero-scroll {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  width: 46px; height: 46px; border-radius: 50%; z-index: 2;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; border: 1px solid rgba(255,255,255,.4);
  background: rgba(255,255,255,.08); backdrop-filter: blur(6px);
  animation: heroBob 2.4s ease-in-out infinite;
}
.home .hero-scroll:hover { background: rgba(255,255,255,.2); color:#fff; }
@keyframes heroBob { 0%,100% { transform: translate(-50%,0);} 50% { transform: translate(-50%,7px);} }

/* ============================================================================
   TRUST BAND beneath hero
   ============================================================================ */
.home .trust-band { background: var(--bg); padding: clamp(40px, 5vw, 72px) 0; border-bottom: 1px solid var(--line-soft); }
.home .trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 44px); }
.home .trust-item { display: flex; align-items: flex-start; gap: 16px; }
.home .trust-ic {
  flex: 0 0 auto;
  width: 52px; height: 52px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg-soft); color: var(--ink); font-size: 1.4rem; line-height: 1;
  border: 1px solid var(--line);
  transition: all .35s ease;
}
.home .trust-ic i { font-size: 1.4rem; color: var(--ink); line-height: 1; }
.home .trust-item:hover .trust-ic { background: var(--ink); color:#fff; border-color: var(--ink); transform: translateY(-3px); }
.home .trust-item:hover .trust-ic i { color: #fff; }
.home .trust-tx { min-width: 0; }
.home .trust-item strong { display: block; font-family: var(--font-display); font-size: 1.04rem; font-weight: 600; color: var(--ink); line-height: 1.25; }
.home .trust-item span { display: block; margin-top: 4px; color: var(--muted); font-size: .88rem; line-height: 1.45; }

/* ============================================================================
   SECTION SHELL
   ============================================================================ */
.home .section { padding: var(--pad-section) 0; }
.home .section.cream   { background: var(--bg); }
.home .section.cream-2 { background: var(--bg-soft); }
.home .section.paper   { background: var(--paper); }
.home .section.ink     { background: var(--ink); }

.home .section-head { max-width: 760px; margin-bottom: clamp(44px, 5vw, 76px); }
.home .section-head.center { margin-inline: auto; text-align: center; }
.home .section-head .h-section { margin-top: 16px; }
.home .section-head .lead { margin-top: 20px; }
.home .section.ink .h-section,
.home .section.ink .h-section * { color:#fff; }
.home .section.ink .lead { color: rgba(255,255,255,.68); }

/* split header: title left, action right */
.home .head-split {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 30px; flex-wrap: wrap;
  margin-bottom: clamp(44px, 5vw, 68px);
}
.home .head-split .h-section { margin-top: 14px; max-width: 680px; }

/* ============================================================================
   ABOUT — editorial split (label/heading left, body + stats right)
   ============================================================================ */
.home .about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 110px);
  align-items: start;
}
.home .about-left .h-section { margin-top: 18px; }
.home .about-body p + p { margin-top: 18px; }
.home .about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 40px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.home .about-stat .num {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}
.home .about-stat .lbl { display:block; margin-top: 8px; color: var(--muted); font-size: .9rem; }

.home .about-visual {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  min-height: 460px;
  box-shadow: var(--sh-card);
}
.home .about-visual img { width:100%; height:100%; object-fit: cover; position:absolute; inset:0; }
.home .about-visual .float-badge {
  position: absolute;
  left: 24px; bottom: 24px;
  background: rgba(255,255,255,.16);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 18px 22px;
  color:#fff;
  box-shadow: var(--sh-glass);
}
.home .about-visual .float-badge .b-num { font-family: var(--font-display); font-size: 2.1rem; font-weight: 400; line-height: 1; }
.home .about-visual .float-badge .b-lbl { display:block; margin-top: 6px; font-size: .82rem; color: rgba(255,255,255,.82); }

/* ============================================================================
   SERVICES — premium image-first rounded cards
   ============================================================================ */
.home .services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.home .svc-card {
  position: relative;
  border-radius: var(--r-card);
  overflow: hidden;
  min-height: 400px;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px;
  color:#fff;
  isolation: isolate;
  box-shadow: var(--sh-soft);
  transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s ease;
}
.home .svc-card:hover { transform: translateY(-8px); box-shadow: var(--sh-card); }
.home .svc-card img {
  position:absolute; inset:0; width:100%; height:100%;
  object-fit: cover; z-index:-2;
  transition: transform .8s ease;
}
.home .svc-card:hover img { transform: scale(1.08); }
.home .svc-card::after {
  content:""; position:absolute; inset:0; z-index:-1;
  background: linear-gradient(180deg, rgba(8,8,10,.05) 0%, rgba(8,8,10,.32) 46%, rgba(8,8,10,.86) 100%);
}
.home .svc-card .svc-icon {
  position: absolute; top: 24px; left: 24px;
  width: 50px; height: 50px; border-radius: 50%;
  display:inline-flex; align-items:center; justify-content:center;
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.3);
  font-size: 1.25rem; color:#fff;
}
.home .svc-card h3 { color:#fff; font-size: 1.34rem; font-weight: 400; }
.home .svc-card p {
  color: rgba(255,255,255,.84);
  font-size: .92rem; line-height: 1.55;
  margin-top: 10px;
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .5s ease, opacity .4s ease, margin .4s ease;
}
.home .svc-card:hover p { max-height: 140px; opacity: 1; }
.home .svc-card .svc-more {
  margin-top: 16px;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .9rem; font-weight: 600; color:#fff;
}
.home .svc-card .svc-more i { transition: transform .3s ease; }
.home .svc-card:hover .svc-more i { transform: translateX(5px); }

/* ============================================================================
   INDUSTRIES — refined tiles
   ============================================================================ */
.home .industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.home .ind-tile {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 26px;
  display: flex; align-items: center; gap: 16px;
  transition: all .35s ease;
}
.home .ind-tile:hover { background: var(--ink); border-color: var(--ink); transform: translateY(-5px); box-shadow: var(--sh-soft); }
.home .ind-tile i { font-size: 1.6rem; color: var(--accent-2); transition: color .3s ease; }
.home .ind-tile:hover i { color: var(--accent); }
.home .ind-tile span { font-family: var(--font-display); font-weight: 600; font-size: 1.04rem; color: var(--ink); transition: color .3s ease; }
.home .ind-tile:hover span { color:#fff; }

/* ============================================================================
   WHY CHOOSE — dark editorial cards
   ============================================================================ */
.home .why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.home .why-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--r-card);
  padding: 36px 32px;
  transition: all .4s ease;
}
.home .why-card:hover { background: rgba(255,255,255,.08); transform: translateY(-6px); border-color: rgba(255,255,255,.2); }
.home .why-card .why-ic {
  width: 56px; height: 56px; border-radius: 16px;
  display:inline-flex; align-items:center; justify-content:center;
  background: #fff; color: var(--ink); font-size: 1.4rem;
  margin-bottom: 22px;
}
.home .why-card:hover .why-ic { background: var(--accent); }
.home .why-card h4 { color:#fff; font-size: 1.24rem; font-weight: 400; margin-bottom: 12px; }
.home .why-card p { color: rgba(255,255,255,.62); font-size: .95rem; line-height: 1.62; }

/* ============================================================================
   PROCESS — numbered editorial steps
   ============================================================================ */
.home .process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.home .step-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 40px 34px 36px;
  overflow: hidden;
  transition: all .4s ease;
}
.home .step-card:hover { transform: translateY(-6px); box-shadow: var(--sh-card); border-color: transparent; }
.home .step-card .step-no {
  font-family: var(--font-display);
  font-size: 3.6rem; font-weight: 400;
  color: var(--bg-soft-2);
  line-height: 1;
  letter-spacing: -0.04em;
  transition: color .4s ease;
}
.home .step-card:hover .step-no { color: var(--accent); }
.home .step-card .step-ic { font-size: 1.6rem; color: var(--ink); margin: 18px 0 14px; }
.home .step-card h4 { font-size: 1.24rem; font-weight: 400; margin-bottom: 10px; }
.home .step-card p { color: var(--muted); font-size: .94rem; line-height: 1.6; }

/* ============================================================================
   JOBS — premium list cards
   ============================================================================ */
.home .jobs-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.home .job-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 28px 30px;
  transition: all .4s ease;
}
.home .job-card:hover { transform: translateY(-5px); box-shadow: var(--sh-card); border-color: transparent; }
.home .job-category-icon {
  width: 62px; height: 62px; border-radius: 18px;
  display:inline-flex; align-items:center; justify-content:center;
  background: var(--bg-soft); color: var(--ink); font-size: 1.5rem;
  transition: all .35s ease;
}
.home .job-card:hover .job-category-icon { background: var(--ink); color:#fff; }
.home .job-card-body { min-width: 0; }
.home .job-card-header { display:flex; align-items:center; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.home .job-badge-urgency {
  font-size: .72rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase;
  background: #d9483b; color:#fff; padding: 4px 10px; border-radius: var(--r-pill);
}
.home .tag.tag-primary {
  font-size: .76rem; font-weight: 600;
  background: var(--bg-soft); color: var(--muted);
  padding: 4px 12px; border-radius: var(--r-pill);
}
.home .job-title { font-size: 1.24rem; font-weight: 400; margin-bottom: 10px; }
.home .job-meta { display:flex; flex-wrap: wrap; gap: 16px; color: var(--muted); font-size: .86rem; }
.home .job-meta i { color: var(--accent-2); margin-right: 4px; }
.home .job-salary { margin-top: 12px; font-weight: 600; color: var(--ink); font-size: .92rem; }
.home .job-salary i { color: var(--accent-2); margin-right: 5px; }
.home .job-card-actions .btn-apply,
.home .job-card-actions .btn-primary {
  display:inline-flex; align-items:center; gap:8px;
  background: var(--ink); color:#fff;
  padding: 14px 24px; border-radius: var(--r-pill);
  font-weight: 600; font-size: .9rem; white-space: nowrap;
  transition: all .3s ease;
}
.home .job-card-actions .btn-apply:hover { background: var(--accent-2); transform: translateX(3px); }

/* ============================================================================
   TESTIMONIALS — big editorial quote + circular arrow nav
   ============================================================================ */
.home .tst-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
.home .tst-left { min-width: 0; }
.home .tst-left .h-section { margin-top: 16px; }
.home .tst-nav { display:flex; gap: 14px; margin-top: 34px; }

.home .tst-right { min-width: 0; }
.home .swiper-testimonials { overflow: hidden; width: 100%; max-width: 100%; }
.home .swiper-testimonials .swiper-slide { height: auto; }
.home .testimonial-card { background: transparent; padding: 0; }
.home .testimonial-stars { color: var(--accent-2); font-size: 1rem; margin-bottom: 22px; display:flex; gap: 4px; }
.home .testimonial-text {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.3vw, 2.05rem);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.home .testimonial-author { display:flex; align-items:center; gap: 16px; margin-top: 30px; }
.home .author-avatar {
  width: 58px; height: 58px; border-radius: 50%;
  display:inline-flex; align-items:center; justify-content:center;
  background: var(--ink); color:#fff; font-family: var(--font-display); font-weight: 400;
}
.home .author-name { display:block; font-family: var(--font-display); font-weight: 400; color: var(--ink); }
.home .author-role { display:block; color: var(--muted); font-size: .9rem; }
.home .swiper-testimonials .swiper-pagination { position: static; margin-top: 30px; text-align: left; }
.home .swiper-testimonials .swiper-pagination-bullet { background: var(--muted-2); opacity: .4; width: 8px; height: 8px; }
.home .swiper-testimonials .swiper-pagination-bullet-active { background: var(--ink); opacity: 1; width: 26px; border-radius: 6px; }

/* ============================================================================
   BLOG — premium editorial cards
   ============================================================================ */
.home .blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.home .blog-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
  transition: all .4s ease;
}
.home .blog-card:hover { transform: translateY(-6px); box-shadow: var(--sh-card); border-color: transparent; }
.home .blog-card-img { display:block; aspect-ratio: 16/10; overflow: hidden; }
.home .blog-card-img img { width:100%; height:100%; object-fit: cover; transition: transform .7s ease; }
.home .blog-card:hover .blog-card-img img { transform: scale(1.07); }
.home .blog-card-body { padding: 28px 28px 32px; }
.home .blog-category-tag {
  display:inline-block; font-size: .76rem; font-weight: 600;
  color: var(--accent-2); background: var(--bg-soft);
  padding: 5px 14px; border-radius: var(--r-pill); margin-bottom: 16px;
}
.home .blog-card-title { font-size: 1.26rem; font-weight: 400; line-height: 1.25; margin-bottom: 12px; }
.home .blog-card-title a { color: var(--ink); transition: color .3s ease; }
.home .blog-card:hover .blog-card-title a { color: var(--accent-2); }
.home .blog-card-excerpt { color: var(--muted); font-size: .94rem; line-height: 1.6; margin-bottom: 20px; }
.home .blog-card-footer { display:flex; gap: 18px; color: var(--muted-2); font-size: .84rem; padding-top: 18px; border-top: 1px solid var(--line); }
.home .blog-card-footer i { margin-right: 5px; }

/* ============================================================================
   CTA — bold rounded ink panel with imagery
   ============================================================================ */
.home .cta-panel {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  padding: clamp(58px, 8vw, 120px) clamp(30px, 5vw, 84px);
  isolation: isolate;
  box-shadow: var(--sh-card);
}
.home .cta-panel img { position:absolute; inset:0; width:100%; height:100%; object-fit: cover; z-index:-2; }
.home .cta-panel::after {
  content:""; position:absolute; inset:0; z-index:-1;
  background: linear-gradient(110deg, rgba(8,8,10,.9) 0%, rgba(8,8,10,.64) 50%, rgba(8,8,10,.30) 100%);
}
.home .cta-panel .cta-inner { max-width: 720px; }
.home .cta-panel .h-section { color:#fff; }
.home .cta-panel .lead { color: rgba(255,255,255,.82); margin-top: 22px; }
.home .cta-panel .cta-actions { display:flex; gap: 16px; margin-top: 38px; flex-wrap: wrap; }

/* ============================================================================
   CONTACT STRIP
   ============================================================================ */
.home .contact-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.home .contact-tile {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 36px 32px;
  display:flex; align-items: center; gap: 18px;
  transition: all .35s ease;
}
.home .contact-tile:hover { transform: translateY(-5px); box-shadow: var(--sh-soft); }
.home .contact-tile .ct-ic {
  width: 54px; height: 54px; border-radius: 16px; flex: 0 0 auto;
  display:inline-flex; align-items:center; justify-content:center;
  background: var(--bg-soft); color: var(--accent-2); font-size: 1.3rem;
}
.home .contact-tile .ct-lbl { display:block; font-size: .82rem; color: var(--muted); margin-bottom: 3px; }
.home .contact-tile .ct-val { display:block; font-family: var(--font-display); font-weight: 600; color: var(--ink); }

/* ============================================================================
   FOOTER — refined dark
   ============================================================================ */
.home .site-footer { background: var(--ink); color: rgba(255,255,255,.7); }
.home .footer-top { padding: clamp(64px, 7vw, 100px) 0 58px; }
.home .footer-logo { height: 44px; margin-bottom: 22px; }
.home .footer-desc { color: rgba(255,255,255,.6); line-height: 1.7; font-size: .95rem; max-width: 340px; }
.home .footer-social { display:flex; gap: 12px; margin-top: 24px; }
.home .footer-social a {
  width: 42px; height: 42px; border-radius: 50%;
  display:inline-flex; align-items:center; justify-content:center;
  background: rgba(255,255,255,.08); color:#fff; transition: all .3s ease;
}
.home .footer-social a:hover { background: var(--accent); color: var(--ink); transform: translateY(-3px); }
.home .footer-heading { color:#fff; font-family: var(--font-display); font-size: 1.06rem; font-weight: 400; margin-bottom: 22px; }
.home .footer-links, .home .footer-contact { list-style:none; padding:0; margin:0; }
.home .footer-links li, .home .footer-contact li { margin-bottom: 13px; }
.home .footer-links a { color: rgba(255,255,255,.6); font-size: .94rem; transition: all .25s ease; }
.home .footer-links a:hover { color:#fff; padding-left: 6px; }
.home .footer-contact li { display:flex; gap: 12px; color: rgba(255,255,255,.6); font-size: .92rem; line-height: 1.5; }
.home .footer-contact i { color: var(--accent); margin-top: 3px; }
.home .footer-newsletter { border-top: 1px solid rgba(255,255,255,.1); padding: 40px 0; }
.home .newsletter-inner { display:flex; align-items:center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.home .newsletter-text h4 { color:#fff; font-size: 1.32rem; }
.home .newsletter-text p { color: rgba(255,255,255,.6); margin-top: 6px; }
.home .newsletter-input-group { display:flex; gap: 10px; background: rgba(255,255,255,.08); padding: 8px; border-radius: var(--r-pill); }
.home .newsletter-input-group input {
  background: transparent; border: none; outline: none; color:#fff;
  padding: 12px 18px; min-width: 240px; font-size: .94rem;
}
.home .newsletter-input-group input::placeholder { color: rgba(255,255,255,.45); }
.home .btn-primary-sm {
  display:inline-flex; align-items:center; gap: 8px;
  background:#fff; color: var(--ink); border:none;
  padding: 12px 24px; border-radius: var(--r-pill); font-weight: 600; cursor: pointer;
  transition: all .3s ease;
}
.home .btn-primary-sm:hover { background: var(--accent); }
.home .footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 28px 0; }
.home .footer-bottom-inner { display:flex; align-items:center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.home .copyright { color: rgba(255,255,255,.5); font-size: .88rem; }
.home .footer-bottom-links { display:flex; gap: 24px; }
.home .footer-bottom-links a { color: rgba(255,255,255,.5); font-size: .88rem; transition: color .25s ease; }
.home .footer-bottom-links a:hover { color:#fff; }

/* Back to top */
.home .back-to-top {
  position: fixed; right: 28px; bottom: 28px; z-index: 900;
  width: 52px; height: 52px; border-radius: 50%;
  display:inline-flex; align-items:center; justify-content:center;
  background: var(--ink); color:#fff; font-size: 1.1rem;
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: all .35s ease; box-shadow: var(--sh-soft);
}
.home .back-to-top.visible { display: inline-flex !important; opacity: 1; visibility: visible; transform: translateY(0); }
.home .back-to-top:hover { background: var(--accent-2); transform: translateY(-3px); }

/* ============================================================================
   SCROLL REVEAL
   ============================================================================ */
.home [data-aos] { will-change: transform, opacity; }

/* ============================================================================
   HERO VIDEO — full-bleed looping film behind the headline
   ============================================================================ */
.home .hero.hero-video {
  display: block;            /* content column is positioned, not flexed */
  position: relative;
  height: 100svh;
  min-height: 620px;
}

/* ---- Media layer ---------------------------------------------------------- */
.home .hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--ink);
}
.home .hero-vid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* Slow push-in keeps a looping clip feeling cinematic rather than repetitive */
  transform: scale(1.08);
  animation: heroVidZoom 24s ease-out forwards;
  filter: saturate(1.02) contrast(1.04) brightness(.82);
}
@keyframes heroVidZoom { to { transform: scale(1); } }

/* Scrim tuned for live footage: dark at the top (navbar), heavy on the left
   (headline column) and along the bottom edge (fact strip).                 */
.home .hero-video .hero-overlay {
  background:
    linear-gradient(180deg, rgba(8,8,10,.78) 0%, rgba(8,8,10,.30) 24%, rgba(8,8,10,0) 46%),
    linear-gradient(0deg,   rgba(8,8,10,.86) 0%, rgba(8,8,10,.32) 34%, rgba(8,8,10,0) 62%),
    linear-gradient(90deg,  rgba(8,8,10,.86) 0%, rgba(8,8,10,.52) 34%, rgba(8,8,10,.08) 72%);
}

/* Vignette + fine grain so white type stays legible over any frame */
.home .hero-grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: .5;
  background:
    radial-gradient(120% 90% at 50% 45%, rgba(0,0,0,0) 42%, rgba(0,0,0,.55) 100%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, rgba(0,0,0,0) 1px 3px);
}

/* ---- Content layer -------------------------------------------------------- */
.home .hero-video .hero-content {
  position: relative;
  z-index: 3;
  height: 100%;
  padding: clamp(130px, 14vw, 180px) var(--gutter) clamp(34px, 4vw, 60px);
}
.home .hero-video .hero-content-inner {
  height: 100%;
  gap: clamp(32px, 5vw, 64px);
}
.home .hero-video .hero-head { max-width: 1000px; }
.home .hero-video .hero-title {
  max-width: 15ch;
  font-size: clamp(2.7rem, 6.4vw, 5.8rem);
  margin-top: 18px;
  text-shadow: 0 2px 40px rgba(0,0,0,.35);
}
.home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 14px;
  margin-top: clamp(26px, 2.8vw, 38px);
}
.home .hero-video .hero-btn.ghost {
  color: #fff;
  border-color: rgba(255,255,255,.45);
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.home .hero-video .hero-btn.ghost:hover { border-color:#fff; background: rgba(255,255,255,.16); }
.home .hero-video .hero-btn.primary { background:#fff; color: var(--ink); border-color:#fff; }
.home .hero-video .hero-btn.primary:hover { background: var(--accent); border-color: var(--accent); color:#fff; }

/* ---- Foot: fact strip (left) + video toggle (right) ----------------------- */
.home .hero-video .hero-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(20px, 4vw, 56px);
}
.home .hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(22px, 3.4vw, 56px);
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.18);
  flex: 1 1 auto;
}
.home .hero-fact { display: flex; flex-direction: column; gap: 4px; }
.home .hero-fact .hf-num {
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
}
.home .hero-fact .hf-lbl {
  color: rgba(255,255,255,.66);
  font-size: .82rem;
  letter-spacing: .02em;
}
.home .hero-vid-toggle {
  flex: 0 0 auto;
  width: 46px; height: 46px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.34);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  transition: background .3s ease, border-color .3s ease, transform .3s ease;
}
.home .hero-vid-toggle:hover { background: rgba(255,255,255,.22); border-color:#fff; transform: translateY(-2px); }
.home .hero-vid-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---- Staggered entrance --------------------------------------------------- */
.home .hero-video [data-anim] {
  opacity: 0;
  transform: translateY(26px);
  animation: heroRise .9s cubic-bezier(.2,.8,.2,1) forwards;
}
@keyframes heroRise { to { opacity: 1; transform: none; } }
.home .hero-video .hero-eyebrow[data-anim] { animation-delay: .35s; }
.home .hero-video .hero-title[data-anim]   { animation-delay: .48s; }
.home .hero-video .hero-sub[data-anim]     { animation-delay: .61s; }
.home .hero-video .hero-actions[data-anim] { animation-delay: .74s; }
.home .hero-video .hero-facts[data-anim]   { animation-delay: .88s; }

.home .hero-sub {
  margin-top: clamp(16px, 1.6vw, 24px);
  max-width: 54ch;
  color: rgba(255,255,255,.86);
  font-size: clamp(1rem, 1.15vw, 1.16rem);
  line-height: 1.65;
  text-wrap: pretty;
}
.home .hero-meta {
  display: flex; flex-wrap: wrap; gap: 10px 26px;
  margin-top: clamp(20px, 2vw, 30px);
}
.home .hero-meta span {
  display: inline-flex; align-items: center; gap: 9px;
  color: rgba(255,255,255,.82);
  font-size: .88rem; font-weight: 500; letter-spacing: .01em;
}
.home .hero-meta i { color: var(--accent); font-size: .95rem; }

@media (prefers-reduced-motion: reduce) {
  .home .hero-video [data-anim] { opacity: 1; transform: none; animation: none; }
  .home .hero-vid { animation: none; transform: none; }
  .home .hero-scroll { animation: none; }
}

/* ============================================================================
   DROPDOWN — pseudo-element bridge fills the 14px hover gap
   ============================================================================ */
.home .nav-links .dropdown { position: relative; }
.home .nav-links .dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 16px; /* bridges the gap to the dropdown panel */
}

/* ============================================================================
   TRUST BAND — media object: icon in column 1 (top-aligned with the title),
   title + description stacked in column 2. The icon spans both text rows so its
   top lines up with the title and the description tucks right under the title,
   regardless of how many lines either wraps to.
   ============================================================================ */
.home .trust-item {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 16px;
  align-items: start;
}
.home .trust-tx { display: contents; }      /* let strong + span become grid cells */
.home .trust-item .trust-ic { grid-column: 1; grid-row: 1 / span 2; align-self: start; }
.home .trust-item strong { grid-column: 2; grid-row: 1; align-self: start; }
.home .trust-item span   { grid-column: 2; grid-row: 2; align-self: start; }

/* ============================================================================
   GROUP COMPANIES SECTION — single sister-company spotlight
   ============================================================================ */
.home .sister-spotlight {
  display: flex;
  align-items: stretch;
  max-width: 760px;
  margin: 0 auto;
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--sh-soft);
  text-decoration: none;
  color: inherit;
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s ease;
}
.home .sister-spotlight:hover { transform: translateY(-6px); box-shadow: var(--sh-card); color: inherit; }
.home .sister-spotlight-mark {
  flex: 0 0 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--cc-from), var(--cc-to));
  border-right: 1px solid var(--line);
}
.home .cc-logo {
  display: block;
  width: clamp(76px, 7vw, 100px);
  height: auto;
}
.home .cc-abbr {
  font-family: var(--font-display);
  font-size: clamp(3rem, 4vw, 4.2rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
  color: rgba(255,255,255,.85);
}
.home .sister-spotlight-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 30px 36px;
  min-width: 0;
}
.home .cc-llc {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--accent-2);
}
.home .cc-wordmark {
  display: block;
  width: 100%;
  max-width: 360px;
  height: auto;
  margin: 4px 0 2px;
}
.home .cc-name {
  margin: 0;
  font-size: .95rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}
.home .sister-spotlight-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 8px;
  color: var(--muted);
  font-size: .86rem;
}
.home .sister-spotlight-meta i { color: var(--accent-2); margin-right: 5px; }
.home .sister-spotlight-arrow {
  flex: 0 0 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--muted);
  border-left: 1px solid var(--line);
  transition: all .3s ease;
}
.home .sister-spotlight:hover .sister-spotlight-arrow { color: #fff; background: var(--ink); }

/* ============================================================================
   RESPONSIVE
   ============================================================================ */
@media (max-width: 1200px) {
  .home .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}

@media (max-width: 1100px) {
  .home .services-grid { grid-template-columns: repeat(2, 1fr); }
  .home .industries-grid { grid-template-columns: repeat(3, 1fr); }
  .home .why-grid { grid-template-columns: repeat(2, 1fr); }
  .home .process-grid { grid-template-columns: 1fr; }
  .home .blog-grid { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 992px) {
  /* The pill's backdrop-filter would make it the containing block for the
     position:fixed drawer below, leaving the closed drawer stranded on screen.
     Swap the blur for a solid tint at drawer widths. */
  .home .nav-inner {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(16, 15, 14, 0.62);
  }
  .home .navbar.scrolled .nav-inner { background: rgba(255, 255, 255, 0.95); }

  .home .nav-menu {
    position: fixed;
    top: 0; right: 0;
    height: 100vh; width: min(360px, 86vw);
    background: rgba(16,15,13,.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 100px 32px 40px;
    gap: 6px;
    transform: translateX(110%);
    transition: transform .45s cubic-bezier(.2,.8,.2,1);
    box-shadow: -30px 0 60px -30px rgba(0,0,0,.6);
  }
  .home .nav-menu.active { transform: translateX(0); }
  .home .nav-links { flex-direction: column; align-items: flex-start; width:100%; gap: 4px; }
  .home .nav-links .nav-link { color: rgba(255,255,255,.9); width: 100%; padding: 14px 16px; font-size: 1.05rem; }
  .home .navbar.scrolled .nav-links .nav-link { color: rgba(255,255,255,.9); }
  .home .dropdown-menu-custom {
    position: static; transform: none; opacity: 1; visibility: visible;
    background: transparent; border: none; box-shadow: none; padding: 0 0 0 12px;
    min-width: auto;
  }
  .home .dropdown-menu-custom a { color: rgba(255,255,255,.7); padding: 9px 12px; }
  .home .dropdown-menu-custom a:hover { background: rgba(255,255,255,.06); color:#fff; }
  .home .btn-nav-cta { margin-top: 18px; width: 100%; justify-content: center; background:#fff; color: var(--ink); }
  .home .hamburger { display: inline-flex; }
  .home .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .home .hamburger.open span:nth-child(2) { opacity: 0; }
  .home .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .home .hero-card { align-self: flex-start; max-width: 560px; }

  /* Hero: foot bar owns the bottom edge, so the scroll cue steps aside */
  .home .hero-scroll { display: none; }
  .home .hero-video .hero-title { max-width: 18ch; }
  .home .hero-sub { max-width: 60ch; }
  .home .hero-facts { gap: 20px 34px; }

  .home .about-split { grid-template-columns: 1fr; gap: 40px; }
  .home .tst-wrap { grid-template-columns: 1fr; gap: 30px; }
  .home .contact-strip { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .home .services-grid { grid-template-columns: 1fr; }
  .home .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .home .why-grid { grid-template-columns: 1fr; }
  .home .jobs-list { grid-template-columns: 1fr; }
  .home .trust-grid { grid-template-columns: 1fr; gap: 22px; }
  .home .about-stats { grid-template-columns: 1fr 1fr; }
  .home .hero-content { padding: 120px 22px 32px; }
  .home .hero-card { max-width: 100%; }
  /* Phones: trim the hero to essentials so nothing collides on short screens */
  .home .hero.hero-video { min-height: 560px; }
  .home .hero-video .hero-content { padding: 112px 22px 28px; }
  .home .hero-video .hero-title { max-width: none; }
  .home .hero-sub { font-size: .98rem; margin-top: 14px; }
  .home .hero-meta { display: none; }
  .home .hero-card-text { display: none; }
  .home .hero-card-tags { margin-top: 0; }
  .home .hero-card-actions { margin-top: 16px; }
  .home .hero-video .hero-foot { gap: 14px; align-items: center; }
  .home .hero-facts { gap: 14px 26px; padding-top: 16px; }
  .home .hero-facts .hero-fact:nth-child(3) { display: none; }
  /* style.css stacks + centres .hero-actions at this width — keep it a
     left-aligned row of two equal buttons instead. */
  .home .hero-actions {
    flex-direction: row;
    align-items: stretch;
    justify-content: flex-start;
    gap: 10px;
    margin-top: 22px;
  }
  .home .hero-actions .hero-btn { flex: 1 1 0; padding-inline: 16px; }
  .home .sister-spotlight { flex-direction: column; }
  .home .sister-spotlight-mark { flex: 0 0 110px; border-right: none; border-bottom: 1px solid var(--line); }
  .home .cc-logo { width: 74px; }
  .home .sister-spotlight-body { padding: 24px 24px 20px; }
  .home .cc-wordmark { max-width: 280px; }
  .home .sister-spotlight-arrow { flex: 0 0 52px; border-left: none; border-top: 1px solid var(--line); }
  .home .cc-abbr { font-size: 3rem; }
  .home .hero-card-actions .hero-btn { flex: 1 1 auto; }
  .home .hero-scroll { display: none; }
  .home .job-card { grid-template-columns: 1fr; text-align: left; gap: 16px; }
  .home .job-card-actions .btn-apply { width: 100%; justify-content: center; }
  .home .newsletter-input-group { flex-direction: column; border-radius: 20px; }
  .home .newsletter-input-group input { min-width: 0; width: 100%; }
  .home .btn-primary-sm { width: 100%; justify-content: center; }
}

/* ============================================================================
   TRUSTED BY — client logo strip
   ============================================================================ */
.home .trusted-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 44px;
}
.home .trusted-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 110px;
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  filter: grayscale(1);
  opacity: .7;
  transition: filter .25s ease, opacity .25s ease, transform .25s ease, box-shadow .25s ease;
}
.home .trusted-logo:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(-3px);
  box-shadow: var(--sh-soft);
}
.home .trusted-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

@media (max-width: 768px) {
  .home .trusted-logos { grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 30px; }
  .home .trusted-logo { height: 90px; padding: 14px; }
}
