    /* =========================================================
       BASE — design tokens + reset
       ========================================================= */
    :root {
      color-scheme: light dark;

      --bg: #ffffff;
      --bg-secondary: #f8f6f2;
      --text: #1f1a17;
      --text-body: #3d3630;
      --text-secondary: #7d7468;
      --border: #eae5df;

      --accent: #e67817;
      --accent-hover: #c96410;
      --accent-contrast: #ffffff;

      --font-heading: "Space Grotesk", "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
      --font-body: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

      --header-height: 92px;
      --content-max: 1200px;
      --radius: 8px;
      --radius-lg: 16px;
      --transition: 200ms cubic-bezier(0.16, 1, 0.3, 1);

      --glow-accent: rgba(230, 120, 23, 0.22);
      --card-border: rgba(0, 0, 0, 0.08);

      --ink: #17110c;
      --ink-contrast: #f7f2ea;
      --ink-secondary: #6f6459;
      --card-bg: #ffffff;
    }

    @media (prefers-color-scheme: dark) {
      :root:not([data-theme="light"]) {
        --bg: #120f0c;
        --bg-secondary: #1c1713;
        --text: #f5f1ea;
        --text-body: #d2cabe;
        --text-secondary: #a89f92;
        --border: #302921;

        --accent: #f2903a;
        --accent-hover: #ffab5c;
        --accent-contrast: #16110d;
      }
    }

    :root[data-theme="dark"] {
      color-scheme: dark;
      --bg: #120f0c;
      --bg-secondary: #1c1713;
      --text: #f5f1ea;
      --text-body: #d2cabe;
      --text-secondary: #a89f92;
      --border: #302921;

      --accent: #f2903a;
      --accent-hover: #ffab5c;
      --accent-contrast: #16110d;
    }

    :root[data-theme="light"] {
      color-scheme: light;
    }

    *, *::before, *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html { scroll-behavior: smooth; }

    body {
      background: var(--bg);
      color: var(--text-body);
      font-family: var(--font-body);
      font-size: 16px;
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
      text-rendering: optimizeLegibility;
    }

    h1, h2, h3, h4 {
      font-family: var(--font-heading);
      font-weight: 800;
      letter-spacing: -0.02em;
      line-height: 1.15;
      color: var(--text);
    }

    img { display: block; max-width: 100%; }
    a { color: inherit; text-decoration: none; }
    button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
    ul { list-style: none; }

    :focus-visible {
      outline: 2px solid var(--accent);
      outline-offset: 2px;
    }

    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
      }
    }

    .skip-link {
      position: absolute;
      top: -40px;
      left: 0;
      background: var(--accent);
      color: var(--accent-contrast);
      padding: 0.75rem 1.25rem;
      z-index: 1000;
      transition: top var(--transition);
    }

    .skip-link:focus { top: 0; }

    /* A touch more breathing room on larger screens — sections
       feel airier without changing anything on mobile. */
    @media (min-width: 1024px) {
      .about,
      .services,
      .mission,
      .contact {
        padding-block: 6.5rem;
      }
    }



/* =========================================================================
   MODULE: css/preloader.css
   ========================================================================= */

/* =========================================================
   PRELOADER — brief branded splash shown while the page and
   its images finish loading, then fades to reveal the site.
   ========================================================= */

.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    160deg,
    var(--ink) 0%,
    color-mix(in srgb, var(--ink) 55%, var(--accent) 45%) 100%
  );
  transition: opacity 500ms ease, visibility 500ms ease;
}

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-content {
  text-align: center;
}

.preloader-mark {
  width: 88px;
  height: 88px;
  padding: 14px;
  background: #ffffff;
  object-fit: contain;
  border-radius: 20px;
  margin-inline: auto;
  margin-bottom: 1.5rem;
  box-shadow: 0 14px 34px rgb(0 0 0 / 40%);
}

.preloader-content h2 {
  color: var(--ink-contrast);
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

.preloader-tagline {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
}

.preloader-line {
  display: inline-block;
  width: 64px;
  height: 2px;
  background: var(--accent);
  animation: preloaderPulse 1.3s ease-in-out infinite;
}

@keyframes preloaderPulse {
  0%,
  100% {
    opacity: 0.35;
    transform: scaleX(0.7);
  }
  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .preloader {
    transition: none;
  }
  .preloader-line {
    animation: none;
    opacity: 1;
  }
}


/* =========================================================================
   NAV
   ========================================================================= */
    .site-header {
      position: fixed;
      inset-block-start: 0;
      inset-inline: 0;
      height: var(--header-height);
      z-index: 100;
      background: color-mix(in srgb, var(--bg) 90%, transparent);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border-bottom: 1px solid var(--border);
      padding-inline: 1.5rem;
    }

    .nav-container {
      max-width: var(--content-max);
      height: 100%;
      margin-inline: auto;
      padding-inline: 0;
      display: flex;
      align-items: center;
      gap: 1.5rem;
    }

    .nav-container .logo {
      margin-right: auto;
    }

    .logo {
      display: flex;
      align-items: center;
      margin-left: -0.9rem;
    }

    .logo-chip {
      display: flex;
      align-items: center;
      padding: 0.5rem 0.9rem;
      border-radius: 14px;
      box-shadow: 0 8px 20px rgb(0 0 0 / 8%);
      transition: transform 220ms ease, box-shadow 220ms ease;
    }

    .logo:hover .logo-chip,
    .logo:focus-visible .logo-chip {
      transform: translateY(-2px);
      box-shadow: 0 12px 26px rgb(0 0 0 / 14%);
    }

    @media (prefers-color-scheme: dark) {
      :root:not([data-theme="light"]) .logo-chip {
        background: #ffffff;
        box-shadow: 0 10px 26px rgb(0 0 0 / 45%);
      }

      :root:not([data-theme="light"]) .logo:hover .logo-chip,
      :root:not([data-theme="light"]) .logo:focus-visible .logo-chip {
        box-shadow: 0 14px 32px rgb(0 0 0 / 55%);
      }
    }

    :root[data-theme="dark"] .logo-chip {
      background: #ffffff;
      box-shadow: 0 10px 26px rgb(0 0 0 / 45%);
    }

    :root[data-theme="dark"] .logo:hover .logo-chip,
    :root[data-theme="dark"] .logo:focus-visible .logo-chip {
      box-shadow: 0 14px 32px rgb(0 0 0 / 55%);
    }

    .logo-image {
      height: 68px;
      width: auto;
    }

    /* --- Desktop links (hidden on mobile) --- */
    .nav-links {
      display: none;
      align-items: center;
      gap: 2.25rem;
    }

    .nav-link {
      position: relative;
      font-size: 0.95rem;
      font-weight: 600;
      color: var(--text-secondary);
      padding-block: 0.25rem;
      transition: color var(--transition);
    }

    .nav-link::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -2px;
      width: 100%;
      height: 1.5px;
      background: var(--accent);
      transform: scaleX(0);
      transform-origin: left;
      transition: transform var(--transition);
    }

    .nav-link:hover,
    .nav-link:focus-visible,
    .nav-link.is-active {
      color: var(--text);
    }

    .nav-link:hover::after,
    .nav-link:focus-visible::after,
    .nav-link.is-active::after {
      transform: scaleX(1);
    }

    /* --- Mobile hamburger toggle --- */
    .menu-toggle {
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 5px;
      width: 40px;
      height: 40px;
      padding: 8px;
    }

    .menu-toggle span {
      display: block;
      height: 2px;
      width: 100%;
      background: var(--text);
      border-radius: 2px;
      transition: transform var(--transition), opacity var(--transition);
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    /* --- Mobile slide-in panel --- */
    .menu-overlay {
      position: fixed;
      inset: 0;
      background: rgb(0 0 0 / 45%);
      opacity: 0;
      pointer-events: none;
      transition: opacity var(--transition);
      z-index: 101;
    }

    .menu-overlay.is-open { opacity: 1; pointer-events: auto; }

    .mobile-menu {
      position: fixed;
      inset-block: 0;
      inset-inline-end: 0;
      width: min(320px, 85vw);
      background: var(--bg);
      border-left: 1px solid var(--border);
      transform: translateX(100%);
      transition: transform var(--transition);
      z-index: 102;
      display: flex;
      flex-direction: column;
      padding: 1.5rem;
    }

    .mobile-menu.is-open { transform: translateX(0); }

    .mobile-menu-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 2rem;
    }

    .mobile-menu-close {
      width: 40px;
      height: 40px;
      font-size: 1.5rem;
      color: var(--text);
    }

    .mobile-nav-links {
      display: flex;
      flex-direction: column;
      gap: 1.75rem;
    }

    .mobile-nav-link {
      font-family: var(--font-heading);
      font-size: 1.25rem;
      font-weight: 700;
      color: var(--text-secondary);
    }

    .mobile-nav-link.is-active { color: var(--text); }

    body.menu-open { overflow: hidden; }

    @media (min-width: 768px) {
      .nav-links { display: flex; }
      .menu-toggle, .menu-overlay, .mobile-menu { display: none; }
    }

    .nav-container > .theme-toggle {
      display: none;
    }

    @media (min-width: 768px) {
      .nav-container > .theme-toggle {
        display: flex;
      }
    }



/* =========================================================================
   HERO
   ========================================================================= */
    .hero {
      position: relative;
      padding-top: calc(var(--header-height) + 3rem);
      padding-bottom: 4rem;
      padding-inline: 1.5rem;
      overflow: hidden;
    }

    .hero::before {
      content: "";
      position: absolute;
      inset: 0;
      pointer-events: none;
      z-index: 0;
      background: radial-gradient(
        380px circle at var(--mouse-x, 75%) var(--mouse-y, 25%),
        color-mix(in srgb, var(--accent) 10%, transparent),
        transparent 70%
      );
    }

    .hero-container {
      position: relative;
      z-index: 1;
      max-width: var(--content-max);
      margin-inline: auto;
      display: grid;
      grid-template-columns: 1fr;
      gap: 2.5rem;
      align-items: center;
    }


    .hero-heading {
      font-size: clamp(2.25rem, 5vw, 3.25rem);
      margin-bottom: 1.25rem;
    }

    .hero-heading .highlight {
      color: var(--accent);
    }

    .hero-tagline {
      font-family: var(--font-heading);
      font-weight: 700;
      font-size: 1.05rem;
      color: var(--text-secondary);
      letter-spacing: 0.01em;
      margin-bottom: 1.5rem;
    }

    .hero-description {
      max-width: 62ch;
      font-size: 1.05rem;
      color: var(--text-body);
      margin-bottom: 2rem;
      text-align: justify;
      text-justify: inter-word;
      hyphens: auto;
      -webkit-hyphens: auto;
    }

    .hero-description strong {
      color: var(--text);
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0.85rem 1.75rem;
      border-radius: var(--radius);
      font-weight: 700;
      font-size: 0.95rem;
      transition: background var(--transition), color var(--transition),
        border-color var(--transition), transform var(--transition);
      border: 1.5px solid transparent;
    }

    .btn:hover, .btn:focus-visible {
      transform: translateY(-1px);
    }

    .btn .arrow {
      display: inline-block;
      margin-left: 0.45rem;
      transition: transform var(--transition);
    }

    .btn:hover .arrow {
      transform: translateX(4px);
    }

    .btn-primary {
      background: var(--accent);
      color: var(--accent-contrast);
    }

    .btn-primary:hover, .btn-primary:focus-visible {
      background: var(--accent-hover);
    }

    .btn-secondary {
      background: transparent;
      border-color: var(--text);
      color: var(--text);
    }

    .btn-secondary:hover, .btn-secondary:focus-visible {
      background: var(--bg-secondary);
    }

    /* --- Hero Media Card --- */
    .hero-media-card {
      position: relative;
      aspect-ratio: 4 / 3;
      border-radius: var(--radius-lg);
      background: linear-gradient(155deg, var(--bg-secondary), var(--border));
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      border: 1.5px solid var(--border);
      box-shadow: 0 20px 48px rgba(0, 0, 0, 0.16);
      transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
    }

    .hero-media-card:hover {
      transform: translateY(-4px);
      border-color: var(--accent);
      box-shadow: 0 24px 54px var(--glow-accent);
    }

    .hero-media-card img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 380ms ease;
    }

    .hero-media-card:hover img {
      transform: scale(1.02);
    }

    .hero-media-card svg {
      width: 78%;
      height: 78%;
    }

    @media (min-width: 900px) {
      .hero-container {
        grid-template-columns: 1.05fr 1fr;
        gap: 3.5rem;
      }
    }




/* =========================================================================
   ABOUT
   ========================================================================= */
    .about {
      padding-block: 4rem;
      padding-inline: 1.5rem;
      background: var(--bg-secondary);
    }

    .about-container {
      max-width: var(--content-max);
      margin-inline: auto;
      display: grid;
      grid-template-columns: 1fr;
      gap: 3rem;
      align-items: center;
    }

    .about-media {
      position: relative;
      width: 100%;
      max-width: 460px;
      aspect-ratio: 6 / 5;
      margin-inline: auto;
      transform: translateY(var(--reveal-ty, 0px));
      transition: opacity 600ms ease, transform 600ms ease;
    }

    .about-content {
      transform: translateY(var(--reveal-ty, 0px));
      transition: opacity 600ms ease, transform 600ms ease;
      transition-delay: 100ms;
    }

    .about-media-box {
      position: absolute;
      border-radius: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      transition: transform 240ms ease, box-shadow 240ms ease;
    }

    .about-media-box:hover {
      transform: translateY(-6px);
    }

    .about-media-box svg {
      width: 32%;
      height: 32%;
      color: var(--text-secondary);
      opacity: 0.5;
    }

    .about-media-box img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    /* Zero-network-dependency placeholder — used everywhere a real
       client photo will eventually go. Guaranteed to render with
       no external requests, unlike hotlinked stock photos. */
    .image-placeholder {
      width: 100%;
      height: 100%;
      background: linear-gradient(155deg, var(--bg-secondary), var(--border));
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .image-placeholder svg {
      width: 30%;
      height: 30%;
      color: var(--text-secondary);
      opacity: 0.55;
    }

    .about-media-back {
      right: 0;
      bottom: 0;
      width: 72%;
      aspect-ratio: 4 / 3;
      background: linear-gradient(155deg, var(--border), var(--bg-secondary));
    }

    .about-media-front {
      left: 0;
      top: 0;
      width: 48%;
      aspect-ratio: 3 / 4;
      background: linear-gradient(155deg, var(--accent), var(--accent-hover));
      border: 4px solid var(--bg);
      box-shadow: 0 12px 28px rgb(0 0 0 / 15%);
    }

    .about-media-front svg { color: var(--accent-contrast); opacity: 0.7; }

    .placeholder-tag {
      position: absolute;
      top: 0.6rem;
      left: 0.6rem;
      font-size: 0.65rem;
      font-weight: 700;
      letter-spacing: 0.04em;
      color: var(--text-secondary);
      background: color-mix(in srgb, var(--bg) 85%, transparent);
      border: 1px solid var(--border);
      padding: 0.25rem 0.55rem;
      border-radius: 999px;
    }

    /* --- Copy --- */
    .about-heading {
      font-size: clamp(1.8rem, 3.5vw, 2.4rem);
      margin-bottom: 0.75rem;
    }

    .about-underline {
      width: 56px;
      height: 4px;
      background: var(--accent);
      border-radius: 2px;
      margin-bottom: 1.5rem;
    }

    .about-copy p {
      font-size: 1.02rem;
      color: var(--text-body);
      margin-bottom: 1.25rem;
      text-align: justify;
      text-justify: inter-word;
      hyphens: auto;
      -webkit-hyphens: auto;
    }

    .about-copy strong {
      color: var(--text);
    }

    .about-more {
      max-height: 0;
      opacity: 0;
      overflow: hidden;
      transition: max-height 320ms ease, opacity 240ms ease;
    }

    .about-more.is-open {
      max-height: 500px;
      opacity: 1;
    }

    .about-toggle {
      margin-top: 0.25rem;
    }

    @media (min-width: 900px) {
      .about-container {
        grid-template-columns: 0.9fr 1.1fr;
        gap: 4rem;
      }
    }



/* =========================================================================
   MODULE: css/services.css
   ========================================================================= */

    /* =========================================================
       SERVICES
       ========================================================= */
    .services {
      padding-block: 5rem;
      padding-inline: 1.5rem;
      background: linear-gradient(
        160deg,
        var(--ink) 0%,
        color-mix(in srgb, var(--ink) 55%, var(--accent) 45%) 100%
      );
    }

    .services-container {
      max-width: var(--content-max);
      margin-inline: auto;
    }

    .services-intro {
      max-width: 760px;
      margin-inline: auto;
      text-align: center;
      transform: translateY(var(--reveal-ty, 0px));
      transition: opacity 600ms ease, transform 600ms ease;
    }

    .services-intro h2 {
      color: var(--ink-contrast);
      font-size: clamp(1.9rem, 4vw, 2.6rem);
      margin-bottom: 1.25rem;
    }

    .services-intro p {
      color: color-mix(in srgb, var(--ink-contrast) 78%, transparent);
      font-size: 1.05rem;
      line-height: 1.7;
      text-align: justify;
      text-justify: inter-word;
      text-align-last: center;
      hyphens: auto;
      -webkit-hyphens: auto;
    }

    .services-intro p strong {
      color: var(--ink-contrast);
    }

    .services-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 2rem;
      margin-top: 3.5rem;
    }

    .service-card {
      background: var(--card-bg);
      border-radius: 16px;
      padding: 2.75rem 2.25rem 2.5rem;
      text-align: center;
      box-shadow: 0 20px 40px rgb(0 0 0 / 25%);
      display: flex;
      flex-direction: column;
      align-items: center;
      border: 1.5px solid transparent;
      --hover-ty: 0px;
      transform: translateY(calc(var(--reveal-ty, 0px) + var(--hover-ty)));
      transition: opacity 600ms ease, transform 240ms ease,
        box-shadow 240ms ease, border-color 240ms ease;
    }

    .service-card:hover,
    .service-card:focus-within {
      --hover-ty: -8px;
      box-shadow: 0 32px 55px rgb(0 0 0 / 32%);
      border-color: var(--accent);
    }

    .service-icon {
      width: 92px;
      height: 92px;
      border-radius: 50%;
      overflow: hidden;
      margin-bottom: 1.5rem;
      flex-shrink: 0;
      box-shadow: 0 6px 18px rgb(0 0 0 / 18%);
      transition: transform 240ms ease;
    }

    .service-card:hover .service-icon {
      transform: scale(1.07);
    }

    .service-icon img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .service-card h3 {
      color: var(--accent);
      font-size: 1.35rem;
      margin-bottom: 0.85rem;
    }

    .service-card > p {
      color: var(--ink-secondary);
      font-size: 0.98rem;
      max-width: 40ch;
      text-align: justify;
      text-justify: inter-word;
      text-align-last: center;
      hyphens: auto;
      -webkit-hyphens: auto;
    }

    .service-card > p strong {
      color: var(--ink);
    }

    .service-more {
      max-height: 0;
      overflow: hidden;
      width: 100%;
      transition: max-height 320ms ease;
    }

    .service-more.is-open {
      max-height: 420px;
    }

    .service-more ul {
      margin-top: 1.25rem;
      text-align: left;
      display: inline-block;
    }

    .service-more li {
      position: relative;
      padding-left: 1.25rem;
      margin-bottom: 0.6rem;
      color: var(--ink);
      font-size: 0.95rem;
    }

    .service-more li::before {
      content: "";
      position: absolute;
      left: 0;
      top: 0.55em;
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--accent);
    }

    .service-toggle {
      margin-top: 1.75rem;
    }

    @media (min-width: 800px) {
      .services-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.25rem;
      }
    }



/* =========================================================================
   MODULE: css/pillars.css
   ========================================================================= */

/* =========================================================
   PILLARS.CSS — Technical Engineering Pillars / Why Choose Bharg
   ========================================================= */

.pillars {
  padding-block: 5.5rem;
  padding-inline: 1.5rem;
  background: var(--bg-secondary);
  position: relative;
}

.pillars-container {
  max-width: var(--content-max);
  margin-inline: auto;
}

.pillars-intro {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 3.5rem;
}

.pillars-intro h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin-bottom: 0.75rem;
}

.pillars-underline {
  display: block;
  width: 56px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
  margin-inline: auto;
  margin-bottom: 1.25rem;
}

.pillars-intro p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.6;
}

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

.pillar-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
  position: relative;
}

.pillar-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 16px 36px var(--glow-accent);
}

.pillar-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
  flex-shrink: 0;
  transition: transform 220ms ease;
}

.pillar-card:hover .pillar-icon-box {
  transform: scale(1.08);
}

.pillar-icon-box svg {
  width: 26px;
  height: 26px;
}

.pillar-card h3 {
  font-size: 1.25rem;
  color: var(--text);
  margin-bottom: 0.75rem;
  font-family: var(--font-heading);
}

.pillar-card p {
  font-size: 0.94rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.pillar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pillar-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: color 180ms ease, border-color 180ms ease;
}

.pillar-card:hover .pillar-tag {
  border-color: color-mix(in srgb, var(--accent) 35%, transparent);
  color: var(--text);
}

@media (min-width: 680px) {
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1040px) {
  .pillars-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}


/* =========================================================================
   MODULE: css/mission.css
   ========================================================================= */

    /* =========================================================
       MISSION
       ========================================================= */
    .mission {
      padding-block: 5rem;
      padding-inline: 1.5rem;
      background: var(--bg);
    }

    .mission-container {
      max-width: var(--content-max);
      margin-inline: auto;
      display: grid;
      grid-template-columns: 1fr;
      gap: 3rem;
      align-items: start;
    }

    .mission-media {
      position: relative;
      min-height: 320px;
      transform: translateY(var(--reveal-ty, 0px));
      transition: opacity 600ms ease, transform 600ms ease;
    }

    .mission-content {
      transform: translateY(var(--reveal-ty, 0px));
      transition: opacity 600ms ease, transform 600ms ease;
      transition-delay: 100ms;
    }

    .mission-photo {
      position: absolute;
      border-radius: 14px;
      overflow: hidden;
      box-shadow: 0 18px 34px rgb(0 0 0 / 14%);
      transition: transform 240ms ease, box-shadow 240ms ease;
    }

    .mission-photo:hover {
      transform: translateY(-6px);
      box-shadow: 0 24px 44px rgb(0 0 0 / 20%);
    }

    .mission-photo img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .mission-photo--a {
      top: 0;
      left: 0;
      width: 78%;
      aspect-ratio: 4 / 3;
      z-index: 1;
    }

    .mission-photo--b {
      bottom: 0;
      right: 0;
      width: 58%;
      aspect-ratio: 5 / 4;
      border: 4px solid var(--bg);
      z-index: 2;
    }

    .mission-heading {
      font-size: clamp(1.9rem, 3.8vw, 2.5rem);
      margin-bottom: 0.9rem;
    }

    .mission-underline {
      width: 56px;
      height: 4px;
      background: var(--accent);
      border-radius: 2px;
      margin-bottom: 2rem;
    }

    .mission-item {
      border-left: 3px solid var(--accent);
      padding-left: 1.25rem;
      margin-bottom: 2rem;
    }

    .mission-item:last-child {
      margin-bottom: 0;
    }

    .mission-item h3 {
      color: var(--accent);
      font-size: 1.2rem;
      margin-bottom: 0.6rem;
    }

    .mission-item p {
      color: var(--text-body);
      font-size: 1rem;
      text-align: justify;
      text-justify: inter-word;
      hyphens: auto;
      -webkit-hyphens: auto;
    }

    .mission-item p strong {
      color: var(--text);
    }

    .mission-item p em {
      color: var(--text);
      font-style: italic;
    }

    @media (min-width: 900px) {
      .mission-container {
        grid-template-columns: 1fr 1.05fr;
        gap: 4rem;
      }

      .mission-media {
        min-height: 420px;
      }
    }



/* =========================================================================
   MODULE: css/faq.css
   ========================================================================= */

/* =========================================================
   FAQ.CSS — Interactive FAQ Accordion
   ========================================================= */

.faq {
  padding-block: 5.5rem;
  padding-inline: 1.5rem;
  background: var(--bg);
}

.faq-container {
  max-width: 860px;
  margin-inline: auto;
}

.faq-intro {
  text-align: center;
  margin-bottom: 3.5rem;
}

.faq-intro h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin-bottom: 0.75rem;
}

.faq-underline {
  display: block;
  width: 56px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
  margin-inline: auto;
  margin-bottom: 1.25rem;
}

.faq-intro p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 600px;
  margin-inline: auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-secondary);
  transition: border-color var(--transition), box-shadow var(--transition);
  overflow: hidden;
}

.faq-item.is-open {
  border-color: color-mix(in srgb, var(--accent) 55%, transparent);
  box-shadow: 0 8px 24px var(--glow-accent);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.4rem 1.75rem;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  transition: color var(--transition);
}

.faq-question:hover,
.faq-question:focus-visible {
  color: var(--accent);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 260ms ease, background 260ms ease, color 260ms ease;
}

.faq-icon svg {
  width: 16px;
  height: 16px;
  transition: transform 260ms ease;
}

.faq-item.is-open .faq-icon {
  background: var(--accent);
  color: var(--accent-contrast);
}

.faq-item.is-open .faq-icon svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 320ms cubic-bezier(0.16, 1, 0.3, 1), opacity 240ms ease, padding 320ms ease;
  padding-inline: 1.75rem;
}

.faq-item.is-open .faq-answer {
  max-height: 400px;
  opacity: 1;
  padding-bottom: 1.5rem;
}

.faq-answer p {
  color: var(--text-body);
  font-size: 0.96rem;
  line-height: 1.65;
}

.faq-answer strong {
  color: var(--text);
}


/* =========================================================================
   MODULE: css/contact.css
   ========================================================================= */

    /* =========================================================
       CONTACT
       ========================================================= */
    .contact {
      padding-block: 5rem;
      padding-inline: 1.5rem;
      background: var(--bg-secondary);
    }

    .contact-container {
      max-width: var(--content-max);
      margin-inline: auto;
    }

    .contact-card {
      display: grid;
      grid-template-columns: 1fr;
      border-radius: 20px;
      overflow: hidden;
      box-shadow: 0 30px 60px rgb(0 0 0 / 16%);
      transform: translateY(var(--reveal-ty, 0px));
      transition: opacity 600ms ease, transform 600ms ease;
    }

    /* --- Left: info panel (fixed dark, matches Services) --- */
    .contact-info {
      background: linear-gradient(
        160deg,
        var(--ink) 0%,
        color-mix(in srgb, var(--ink) 55%, var(--accent) 45%) 100%
      );
      color: var(--ink-contrast);
      padding: 3.25rem 2.5rem;
    }

    .contact-info h2 {
      color: var(--ink-contrast);
      font-size: clamp(1.8rem, 3.5vw, 2.3rem);
      margin-bottom: 0.75rem;
    }

    .contact-underline {
      display: block;
      width: 52px;
      height: 4px;
      background: var(--accent);
      border-radius: 2px;
      margin-bottom: 1.5rem;
    }

    .contact-blurb {
      color: color-mix(in srgb, var(--ink-contrast) 78%, transparent);
      margin-bottom: 2.5rem;
      max-width: 34ch;
      line-height: 1.6;
      text-align: justify;
      text-justify: inter-word;
      hyphens: auto;
      -webkit-hyphens: auto;
    }

    .contact-details {
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
    }

    .contact-details li {
      display: flex;
      align-items: flex-start;
      gap: 0.9rem;
    }

    .contact-icon {
      width: 38px;
      height: 38px;
      border-radius: 10px;
      background: color-mix(in srgb, var(--ink-contrast) 12%, transparent);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      color: var(--accent);
    }

    .contact-icon svg {
      width: 18px;
      height: 18px;
    }

    .contact-details .label {
      display: block;
      font-size: 0.72rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.07em;
      color: color-mix(in srgb, var(--ink-contrast) 60%, transparent);
      margin-bottom: 0.2rem;
    }

    .contact-details .value {
      color: var(--ink-contrast);
      font-weight: 600;
      font-size: 0.96rem;
      text-decoration: none;
      transition: color var(--transition);
    }

    .contact-details a.value:hover,
    .contact-details a.value:focus-visible {
      color: var(--accent);
      text-decoration: underline;
    }

    /* --- Right: form panel (fixed white, matches Services cards) --- */
    .contact-form-panel {
      background: var(--card-bg);
      padding: 3.25rem 2.5rem;
    }

    #contact-form {
      display: flex;
      flex-direction: column;
      gap: 1.4rem;
    }

    .form-row {
      display: grid;
      grid-template-columns: 1fr;
      gap: 1.4rem;
    }

    .field label {
      display: block;
      font-size: 0.8rem;
      font-weight: 700;
      color: var(--ink-secondary);
      margin-bottom: 0.5rem;
    }

    .field input,
    .field select,
    .field textarea {
      width: 100%;
      border: 1.5px solid var(--border);
      border-radius: 10px;
      padding: 0.8rem 1rem;
      font: inherit;
      font-size: 0.95rem;
      color: var(--ink);
      background: var(--card-bg);
      transition: border-color var(--transition), box-shadow var(--transition);
    }

    .field input:focus,
    .field select:focus,
    .field textarea:focus {
      outline: none;
      border-color: var(--accent);
      box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
    }

    .field textarea {
      resize: vertical;
      min-height: 120px;
    }

    .services-field {
      border: none;
      padding: 0;
      margin: 0;
    }

    .services-field legend {
      font-size: 0.8rem;
      font-weight: 700;
      color: var(--ink-secondary);
      margin-bottom: 0.75rem;
      padding: 0;
    }

    .chip-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0.75rem;
    }

    .service-chip {
      position: relative;
      cursor: pointer;
    }

    .service-chip input {
      position: absolute;
      opacity: 0;
      width: 1px;
      height: 1px;
    }

    .service-chip span {
      display: flex;
      align-items: center;
      gap: 0.6rem;
      border: 1.5px solid var(--border);
      border-radius: 10px;
      padding: 0.7rem 0.9rem;
      font-size: 0.88rem;
      font-weight: 600;
      color: var(--ink-secondary);
      transition: all var(--transition);
    }

    .service-chip span::before {
      content: "";
      width: 16px;
      height: 16px;
      border-radius: 5px;
      border: 1.5px solid var(--border);
      flex-shrink: 0;
      transition: all var(--transition);
      background: var(--card-bg);
    }

    .service-chip input:checked + span {
      border-color: var(--accent);
      color: var(--ink);
      background: color-mix(in srgb, var(--accent) 8%, transparent);
    }

    .service-chip input:checked + span::before {
      background: var(--accent);
      border-color: var(--accent);
      box-shadow: inset 0 0 0 3px var(--card-bg);
    }

    .service-chip input:focus-visible + span {
      outline: 2px solid var(--accent);
      outline-offset: 2px;
    }

    /* Honeypot — off-screen but present in the DOM. Bots that fill
       every field get caught; real users never see or tab to it. */
    .hp-field {
      position: absolute;
      left: -9999px;
      width: 1px;
      height: 1px;
      overflow: hidden;
    }

    .contact-submit {
      align-self: flex-start;
      margin-top: 0.25rem;
    }

    .contact-submit:disabled {
      opacity: 0.7;
      cursor: not-allowed;
      transform: none;
    }

    .form-status {
      font-size: 0.9rem;
      min-height: 1.2em;
      font-weight: 600;
    }

    .form-status.is-success {
      color: #2f7a3d;
    }

    .form-status.is-error {
      color: #c23b3b;
    }

    @media (min-width: 560px) {
      .form-row {
        grid-template-columns: 1fr 1fr;
      }
    }

    @media (min-width: 900px) {
      .contact-card {
        grid-template-columns: 0.85fr 1.15fr;
      }
    }



/* =========================================================================
   MODULE: css/footer.css
   ========================================================================= */

    /* =========================================================
       FOOTER
       ========================================================= */
    .site-footer {
      background: linear-gradient(
        150deg,
        var(--ink) 0%,
        color-mix(in srgb, var(--ink) 55%, var(--accent) 45%) 100%
      );
      color: var(--ink-contrast);
      padding-block: 4rem 2rem;
      padding-inline: 1.5rem;
    }

    .footer-container {
      max-width: var(--content-max);
      margin-inline: auto;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 2.5rem;
    }

    .footer-col h3 {
      color: var(--accent);
      font-size: 0.95rem;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      margin-bottom: 1.1rem;
    }

    .footer-about p {
      color: color-mix(in srgb, var(--ink-contrast) 78%, transparent);
      line-height: 1.65;
      max-width: 32ch;
    }

    .footer-links {
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
    }

    .footer-links a {
      color: color-mix(in srgb, var(--ink-contrast) 85%, transparent);
      font-size: 0.95rem;
      transition: color var(--transition);
    }

    .footer-links a:hover,
    .footer-links a:focus-visible {
      color: var(--accent);
    }

    .footer-contact address {
      font-style: normal;
      color: color-mix(in srgb, var(--ink-contrast) 85%, transparent);
      line-height: 1.65;
      font-size: 0.95rem;
      margin-bottom: 0.9rem;
    }

    .footer-contact a {
      color: color-mix(in srgb, var(--ink-contrast) 85%, transparent);
      font-size: 0.95rem;
      transition: color var(--transition);
    }

    .footer-contact a:hover,
    .footer-contact a:focus-visible {
      color: var(--accent);
    }

    .footer-bottom {
      margin-top: 3rem;
      padding-top: 1.5rem;
      border-top: 1px solid color-mix(in srgb, var(--ink-contrast) 18%, transparent);
      font-size: 0.85rem;
      color: color-mix(in srgb, var(--ink-contrast) 65%, transparent);
    }

    .footer-bottom strong {
      color: var(--ink-contrast);
    }

    @media (min-width: 700px) {
      .footer-grid {
        grid-template-columns: 1.2fr 1fr 1fr;
        gap: 3rem;
      }
    }

    /* --- Pre-Footer Assessment CTA Banner --- */
    .cta-banner {
      background: var(--bg);
      padding-block: 2rem 5rem;
      padding-inline: 1.5rem;
    }

    .cta-banner-card {
      max-width: var(--content-max);
      margin-inline: auto;
      background: linear-gradient(135deg, var(--ink) 0%, color-mix(in srgb, var(--ink) 70%, var(--accent) 30%) 100%);
      border: 1.5px solid color-mix(in srgb, var(--accent) 35%, transparent);
      border-radius: var(--radius-lg);
      padding: 3.5rem 2.5rem;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 1.75rem;
      box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
      position: relative;
      overflow: hidden;
    }

    .cta-banner-card::before {
      content: "";
      position: absolute;
      top: -50%;
      left: -50%;
      width: 200%;
      height: 200%;
      background: radial-gradient(circle at center, color-mix(in srgb, var(--accent) 15%, transparent) 0%, transparent 60%);
      pointer-events: none;
    }

    .cta-banner-content {
      position: relative;
      z-index: 1;
      max-width: 720px;
    }

    .cta-badge {
      display: inline-block;
      font-size: 0.75rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: var(--accent);
      background: color-mix(in srgb, var(--accent) 15%, transparent);
      border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
      padding: 0.35rem 0.85rem;
      border-radius: 999px;
      margin-bottom: 1.25rem;
    }

    .cta-banner-content h2 {
      color: var(--ink-contrast);
      font-size: clamp(1.8rem, 3.8vw, 2.6rem);
      font-family: var(--font-heading);
      margin-bottom: 1rem;
      line-height: 1.2;
    }

    .cta-banner-content p {
      color: color-mix(in srgb, var(--ink-contrast) 85%, transparent);
      font-size: 1.05rem;
      line-height: 1.6;
    }

    .cta-banner-action {
      position: relative;
      z-index: 1;
    }

    .cta-banner-action .btn-primary {
      padding: 1rem 2.25rem;
      font-size: 1.05rem;
      box-shadow: 0 8px 24px var(--glow-accent);
    }

    /* --- Floating Back to Top Button --- */
    .back-to-top {
      position: fixed;
      bottom: 2rem;
      right: 2rem;
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: var(--bg);
      border: 1.5px solid var(--border);
      color: var(--text);
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
      cursor: pointer;
      z-index: 99;
      opacity: 0;
      visibility: hidden;
      transform: translateY(16px);
      transition: opacity 240ms ease, transform 240ms ease, visibility 240ms ease, border-color 240ms ease, background 240ms ease;
    }

    .back-to-top.is-visible {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }

    .back-to-top:hover,
    .back-to-top:focus-visible {
      background: var(--accent);
      border-color: var(--accent);
      color: var(--accent-contrast);
      transform: translateY(-3px);
      box-shadow: 0 12px 28px var(--glow-accent);
    }

    .back-to-top svg {
      width: 20px;
      height: 20px;
    }


/* =========================================================================
   MODULE: css/reveal.css
   ========================================================================= */

/* =========================================================
   REVEAL.CSS — subtle fade-up as sections enter the viewport.
   IMPORTANT: elements are fully visible by default. The hidden
   starting state only applies once reveal.js adds ".reveal-init"
   — so if JS fails to load, nothing stays invisible.
   ========================================================= */

.reveal.reveal-init {
  --reveal-ty: 28px;
  opacity: 0;
}

.reveal.reveal-init.is-visible {
  --reveal-ty: 0px;
  opacity: 1;
}

/* Staggered entrance for the four service cards */
.services-grid .service-card:nth-child(1) {
  transition-delay: 0ms;
}
.services-grid .service-card:nth-child(2) {
  transition-delay: 80ms;
}
.services-grid .service-card:nth-child(3) {
  transition-delay: 160ms;
}
.services-grid .service-card:nth-child(4) {
  transition-delay: 240ms;
}

/* No reduced-motion override needed here — reveal.js itself skips
   adding ".reveal-init" entirely when the user prefers reduced
   motion, so this selector never even matches for them. */


/* =========================================================================
   MODULE: css/chrome.css
   ========================================================================= */

/* =========================================================
   CHROME.CSS — scroll progress bar, side dot-navigation,
   and the manual light/dark theme toggle button.
   ========================================================= */

/* --- Scroll progress bar --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--accent);
  z-index: 200; /* above the header (100) */
  transition: width 120ms ease-out;
}

@media (prefers-reduced-motion: reduce) {
  .scroll-progress {
    transition: none;
  }
}

/* --- Side dot-navigation (desktop only — mobile already has the
   hamburger menu, dots would just be clutter at that size) --- */
.section-dots {
  position: fixed;
  right: 1.75rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: none;
  flex-direction: column;
  gap: 1rem;
}

.section-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1.5px solid var(--text-secondary);
  transition: background 200ms ease, border-color 200ms ease,
    transform 200ms ease;
  position: relative;
}

.section-dots .dot::after {
  content: attr(aria-label);
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--ink);
  color: var(--ink-contrast);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
}

.section-dots .dot:hover::after,
.section-dots .dot:focus-visible::after {
  opacity: 1;
}

.section-dots .dot:hover,
.section-dots .dot:focus-visible {
  border-color: var(--accent);
  transform: scale(1.15);
}

.section-dots .dot.is-active {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.15);
}

@media (min-width: 1100px) {
  .section-dots {
    display: flex;
  }
}

/* --- Theme toggle button --- */
.theme-toggle {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: var(--text-secondary);
  transition: color 200ms ease, background 200ms ease;
  flex-shrink: 0;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  color: var(--text);
  background: var(--bg-secondary);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
}

.theme-toggle .icon-sun {
  display: none;
}

.theme-toggle .icon-moon {
  display: block;
}

:root[data-theme="dark"] .theme-toggle .icon-sun {
  display: block;
}

:root[data-theme="dark"] .theme-toggle .icon-moon {
  display: none;
}

.mobile-menu .theme-toggle {
  align-self: flex-end;
  margin-right: 0.5rem;
}


