/* ============================================================
     TOKENS
     ============================================================ */
  :root {
    --d-bg:            #0F0F0F;
    --d-bg-2:          #0a0b0d;
    --d-card:          #0F0F0F;
    --d-fg:            #f6f6f8;
    --d-muted:         rgba(246,246,248,0.62);
    --d-dim:           rgba(246,246,248,0.36);
    --d-border:        rgba(255,255,255,0.10);
    --d-border-strong: rgba(255,255,255,0.20);

    --l-bg:            #F7F7F7;
    --l-bg-2:          #f3f3f3;
    --l-card:          #FFFFFF;
    --l-fg:            #0a0a0c;
    --l-muted:         rgba(10,10,12,0.62);
    --l-dim:           rgba(10,10,12,0.36);
    --l-border:        rgba(0,0,0,0.10);
    --l-border-strong: rgba(0,0,0,0.20);

    --blue:      #5aa7ff;
    --blue-deep: #2b7ce0;
    --green:     #3ddca4;
    --green-deep:#1fb085;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  html, body {
    background: var(--d-bg);
    color: var(--d-fg);
    min-height: 100svh;
  }
  body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.4;
    overflow-x: clip;
  }
  a { color: inherit; text-decoration: none; }
  button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
  img { max-width: 100%; display: block; }

  /* ============================================================
     SHARED UTILITIES
     ============================================================ */
  .btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 12px 20px; font-size: 13.5px; font-weight: 600;
    letter-spacing: -0.005em; border-radius: 4px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    cursor: pointer; border: 1px solid transparent;
  }
  .btn-primary {
    background: linear-gradient(95deg, #5aa7ff 0%, #4dc4cf 52%, #3ddca4 100%);
    color: #fff;
    box-shadow: 0 0 28px rgba(90,167,255,0.28), 0 6px 20px rgba(61,220,164,0.18), inset 0 1px 0 rgba(255,255,255,0.22);
  }
  .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 36px rgba(90,167,255,0.40), 0 8px 28px rgba(61,220,164,0.28), inset 0 1px 0 rgba(255,255,255,0.28);
  }
  .btn-ghost-dark {
    background: rgba(0,0,0,0.55); color: #fff;
    border-color: rgba(255,255,255,0.18);
  }
  .btn-ghost-dark:hover { background: rgba(0,0,0,0.7); border-color: rgba(255,255,255,0.32); }
  .btn-ghost-light {
    background: #fff; color: var(--l-fg);
    border-color: var(--l-border-strong);
  }
  .btn-ghost-light:hover { background: #f0f0f0; border-color: rgba(0,0,0,0.32); }
  .btn .arr { display: inline-block; transition: transform 0.18s; }
  .btn:hover .arr { transform: translateX(2px); }

  .kicker {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 11.5px; letter-spacing: 0.22em; text-transform: uppercase;
    display: inline-flex; align-items: center; gap: 10px;
    margin-bottom: 24px;
  }
  .kicker .num { font-weight: 600; }
  .kicker .sep { opacity: 0.30; }
  .kicker .label { font-weight: 400; }
  .dark .kicker { color: var(--d-muted); }
  .dark .kicker .num { color: var(--d-fg); }
  .light .kicker { color: var(--l-muted); }
  .light .kicker .num { color: var(--l-fg); }

  .section-title {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 700;
    font-size: clamp(2.2rem, 4.6vw, 4rem);
    letter-spacing: -0.045em; line-height: 1.02;
    max-width: 22ch;
  }
  .section-title.center { margin-left: auto; margin-right: auto; text-align: center; }
  .dark .section-title { color: var(--d-fg); }
  .light .section-title { color: var(--l-fg); }
  .section-subtitle {
    margin-top: 18px; font-size: clamp(0.95rem, 1.05vw, 1.05rem);
    line-height: 1.55; max-width: 60ch;
  }
  .section-subtitle.center { margin-left: auto; margin-right: auto; text-align: center; }
  .dark .section-subtitle { color: var(--d-muted); }
  .light .section-subtitle { color: var(--l-muted); }

  .module-break {
    position: absolute; top: 0; left: 0; right: 0;
    height: 1px; pointer-events: none; z-index: 5;
  }
  .dark .module-break  { background: rgba(255,255,255,0.10); }
  .light .module-break { background: rgba(0,0,0,0.10); }
  .module-break::before, .module-break::after {
    content: ''; position: absolute; top: 0; width: 1px; height: 9px;
  }
  .dark .module-break::before,  .dark .module-break::after  { background: rgba(255,255,255,0.28); }
  .light .module-break::before, .light .module-break::after { background: rgba(0,0,0,0.28); }
  .module-break::before { left: 0; }
  .module-break::after  { right: 0; }
  .module-break .ref, .module-break .dim {
    position: absolute; top: 14px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 9.5px; letter-spacing: 0.22em; text-transform: uppercase;
  }
  .module-break .ref { left: 48px; }
  .module-break .dim { right: 48px; }
  .dark .module-break .ref  { color: rgba(255,255,255,0.42); }
  .dark .module-break .dim  { color: rgba(255,255,255,0.32); }
  .light .module-break .ref { color: rgba(0,0,0,0.55); }
  .light .module-break .dim { color: rgba(0,0,0,0.45); }

  /* Corner bracket shorthand */
  .bf { position: relative; }
  .bf > .bk { position: absolute; width: 14px; height: 14px; pointer-events: none; }
  .bf > .bk-tl { top:-1px;    left:-1px;   border-top:1.5px solid currentColor; border-left:1.5px solid currentColor; }
  .bf > .bk-tr { top:-1px;    right:-1px;  border-top:1.5px solid currentColor; border-right:1.5px solid currentColor; }
  .bf > .bk-bl { bottom:-1px; left:-1px;   border-bottom:1.5px solid currentColor; border-left:1.5px solid currentColor; }
  .bf > .bk-br { bottom:-1px; right:-1px;  border-bottom:1.5px solid currentColor; border-right:1.5px solid currentColor; }

  .grain {
    position: fixed; inset: 0; z-index: 100; pointer-events: none;
    opacity: 0.18; mix-blend-mode: soft-light;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  }

  /* Cert badges (from homepage .proof section) */
  .cert {
    display: flex; align-items: center; justify-content: center;
    gap: 14px; padding: 18px 14px;
  }
  .cert-mark {
    width: 56px; height: 56px; border-radius: 50%;
    background: #d8d8dc;
    border: 1px solid rgba(0,0,0,0.12);
    display: grid; place-items: center;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 800; font-size: 12px; color: rgba(0,0,0,0.55);
    letter-spacing: 0.04em;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
    flex-shrink: 0;
  }
  .cert-mark.arai { color: #c1342c; background: #fff; }
  .cert-mark.iso  { background: #c1342c; color: #fff; border-color: rgba(0,0,0,0.2); }
  .cert-mark.cpcb { background: #1a4d6e; color: #fff; border-color: rgba(0,0,0,0.2); }
  .cert-mark.icat { background: #2a6d4a; color: #fff; border-color: rgba(0,0,0,0.2); }
  .cert-mark.undp { background: #009edb; color: #fff; border-color: rgba(0,0,0,0.2); font-size: 10px; }
  .cert-text strong {
    display: block; font-family: 'Inter', system-ui, sans-serif;
    font-weight: 700; font-size: 17px; color: var(--l-fg); letter-spacing: -0.01em;
  }
  .cert-text span {
    font-size: 12.5px; color: rgba(0,0,0,0.55);
    letter-spacing: 0.06em; text-transform: uppercase;
  }

  /* ============================================================
     HERO (DARK)
     ============================================================ */
  .about-hero {
    position: relative;
    background: var(--d-bg);
    display: flex; flex-direction: column; align-items: stretch;
  }

  /* Inline world map — pulls up behind the CTA buttons */
  .hero-dot-map {
    display: block;
    width: 100%;
    max-height: 540px;
    object-fit: contain;
    object-position: center;
    pointer-events: none;
    opacity: 0.68;
    margin-top: -110px; /* overlap with buttons area */
    position: relative; z-index: 0;
  }

  /* Gradient fade — bottom of SVG bleeds into foundation below */
  .about-hero-grad {
    position: relative; z-index: 1; pointer-events: none;
    height: 100px; margin-top: -100px;
    background: linear-gradient(180deg, transparent 0%, var(--d-bg) 100%);
  }

  .about-hero-inner {
    width: 100%; max-width: 1360px; margin: 0 auto;
    padding: 130px 56px 60px;
    display: flex; flex-direction: column; align-items: center;
    text-align: center; gap: 28px;
    position: relative; z-index: 1; /* stays above the map */
  }

  .hero-eyebrow {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 11.5px; letter-spacing: 0.22em; text-transform: uppercase;
    color: rgba(255,255,255,0.52);
    display: inline-flex; align-items: center; gap: 12px;
  }
  .hero-eyebrow::before {
    content: '';
    width: 28px; height: 1px;
    background: rgba(255,255,255,0.3);
  }
  .hero-eyebrow::after {
    content: '';
    width: 28px; height: 1px;
    background: rgba(255,255,255,0.3);
  }

  .about-hero-title {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 700;
    font-size: clamp(2.6rem, 6vw, 5.4rem);
    line-height: 1.01; letter-spacing: -0.046em;
    color: #fff; max-width: 18ch;
  }
  .about-hero-title em {
    font-style: italic; font-weight: 600;
    color: rgba(255,255,255,0.72);
  }

  .about-hero-sub {
    font-size: clamp(1rem, 1.1vw, 1.12rem);
    line-height: 1.58; color: rgba(255,255,255,0.68);
    max-width: 52ch;
  }

  .about-hero-actions {
    display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
    margin-top: 8px;
  }

  /* Scroll indicator */
  .hero-scroll-hint {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    margin: 0 auto 32px;
    position: relative; z-index: 1;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    animation: scrollHintFade 2.5s ease-in-out infinite;
  }
  .hero-scroll-hint svg { width: 18px; height: 18px; opacity: 0.5; }
  @keyframes scrollHintFade {
    0%,100% { opacity: 0.5; transform: translateY(0); }
    50%      { opacity: 1;   transform: translateY(4px); }
  }

  /* ============================================================
     FOUNDATION (DARK)
     ============================================================ */
  .foundation {
    position: relative;
    background: var(--d-bg);
    color: var(--d-fg);
    padding: 40px 56px 100px;
  }
  .foundation-inner { max-width: 1360px; margin: 0 auto; }
  .foundation-header { text-align: center; margin-bottom: 72px; }
  .foundation-header h2 {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 700;
    font-size: clamp(2.2rem, 4.6vw, 4rem);
    letter-spacing: -0.045em; line-height: 1.02;
    color: var(--d-fg); max-width: 28ch;
    margin: 0 auto 20px;
  }
  .foundation-header h2 em { font-style: italic; font-weight: 600; color: rgba(255,255,255,0.48); }
  .foundation-header p {
    font-size: 16px; line-height: 1.58; color: var(--d-muted);
    max-width: 56ch; margin: 0 auto;
  }

  .foundation-pillars {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .pillar-card {
    position: relative;
    background: #000;
    border: 1px solid rgba(255,255,255,0.10); border-radius: 4px;
    padding: 36px 30px 32px;
    color: var(--d-muted);
    transition: border-color 0.25s ease, transform 0.25s ease;
  }
  .pillar-card:hover { border-color: rgba(255,255,255,0.22); transform: translateY(-2px); }
  .pillar-card > .bk { position: absolute; width: 14px; height: 14px; pointer-events: none; color: rgba(255,255,255,0.55); }
  .pillar-card > .bk-tl { top:-1px; left:-1px; border-top:1.5px solid currentColor; border-left:1.5px solid currentColor; }
  .pillar-card > .bk-tr { top:-1px; right:-1px; border-top:1.5px solid currentColor; border-right:1.5px solid currentColor; }
  .pillar-card > .bk-bl { bottom:-1px; left:-1px; border-bottom:1.5px solid currentColor; border-left:1.5px solid currentColor; }
  .pillar-card > .bk-br { bottom:-1px; right:-1px; border-bottom:1.5px solid currentColor; border-right:1.5px solid currentColor; }
  .pillar-icon {
    width: 48px; height: 48px; margin-bottom: 20px;
    border-radius: 4px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.10);
    display: grid; place-items: center;
  }
  .pillar-icon svg { width: 22px; height: 22px; color: rgba(255,255,255,0.65); }
  .pillar-card h3 {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 600; font-size: 18px; letter-spacing: -0.015em;
    color: var(--d-fg); margin-bottom: 10px;
  }
  .pillar-card p {
    font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.55);
  }

  @media (max-width: 1024px) {
    .foundation { padding: 90px 24px 80px; }
    .pillar-card { padding: 28px 22px 24px; }
    .pillar-card h3 { font-size: 16px; }
    .pillar-card p { font-size: 13px; }
  }
  @media (max-width: 768px) {
    .foundation-pillars { grid-template-columns: 1fr; }
  }

  /* ============================================================
     OUR STORY — STICKY SCROLL TIMELINE (LIGHT)
     ============================================================ */
  .story {
    position: relative;
    background: var(--l-bg);
    color: var(--l-fg);
  }

  .story-header-wrap {
    padding: 100px 56px 64px;
    max-width: 1360px; margin: 0 auto;
    text-align: center;
  }
  .story-header-wrap h2 {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 700;
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    letter-spacing: -0.046em; line-height: 1.02;
    color: var(--l-fg);
  }
  .story-header-wrap h2 em {
    font-style: italic; font-weight: 600; color: rgba(0,0,0,0.48);
  }
  .story-header-wrap p {
    margin-top: 18px; font-size: 16px; line-height: 1.58;
    color: rgba(0,0,0,0.6); max-width: 52ch; margin-left: auto; margin-right: auto;
  }

  /* Scroll track — no longer needs inflated height, just wraps the body */
  .story-track {
    position: relative;
  }

  /* Tab + 2-col content — normal flow, not sticky */
  .story-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    column-gap: 80px;
    max-width: 1360px; margin: 0 auto;
    padding-left: 56px; padding-right: 56px;
    padding-bottom: 80px;
  }

  /* LEFT — sits in grid row 2, col 1 */
  .story-left {
    grid-row: 2;
    grid-column: 1;
    height: auto;
    align-self: start;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    padding: 40px 0 0 0;
  }

  /* Chapter counter moved to right panel — hide the old left-side one */
  .story-chapter-counter { display: none; }

  /* Caption below image */
  .story-img-caption {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 13px;
    letter-spacing: 0.01em;
    color: rgba(0,0,0,0.50);
    margin-top: 14px;
    transition: opacity 0.3s ease;
  }

  /* Nav row: prev · dots · next — flush with image left edge */
  .story-img-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
  }

  .story-img-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    border: 1.5px solid rgba(0,0,0,0.38);
    border-radius: 5px;
    background: #fff;
    color: rgba(0,0,0,0.72);
    cursor: pointer;
    flex-shrink: 0;
    transition: color 0.18s, border-color 0.18s, background 0.18s, box-shadow 0.18s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  }
  .story-img-arrow svg { display: block; width: 16px; height: 16px; }
  .story-img-arrow:hover:not(:disabled) {
    color: var(--l-fg);
    border-color: rgba(0,0,0,0.60);
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.13);
  }
  .story-img-arrow:disabled {
    opacity: 0.28;
    cursor: default;
    box-shadow: none;
  }

  /* Dots between arrows */
  .story-img-dots {
    display: flex;
    gap: 7px;
    align-items: center;
  }
  .story-img-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: rgba(0,0,0,0.15);
    transition: background 0.3s ease, transform 0.3s ease;
    flex-shrink: 0;
  }
  .story-img-dot.is-active {
    background: var(--l-fg);
    transform: scale(1.3);
  }

  /* Meta row — first line of each chapter on the right */
  .ms-meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
  }
  .ms-counter {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 10.5px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(0,0,0,0.40);
  }
  .ms-date {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 10.5px; letter-spacing: 0.20em; text-transform: uppercase;
    color: rgba(0,0,0,0.35);
    transition: color 0.3s;
  }
  .story-milestone.is-active .ms-counter { color: rgba(0,0,0,0.55); }
  .story-milestone.is-active .ms-date { color: var(--green-deep); }

  /* Image stack container */
  .story-img-stack {
    position: relative;
    width: 100%;
    height: min(58svh, 620px);
    margin-top: 8px;
  }

  /* Individual image cards */
  .story-img-card {
    position: absolute;
    height: 100%;       /* fills the stack height */
    width: auto;        /* aspect-ratio drives width */
    max-width: 100%;    /* never bleed past the column */
    aspect-ratio: 1/1;
    bottom: 0;
    left: 0;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.12);
    background: #c2c4c8 center/cover no-repeat url('../assets/images/shared/Factory-image-1200.webp');
    box-shadow: none;

    /* Start hidden below */
    transform: translateY(110%);
    opacity: 0;
    transition:
      transform 1.1s cubic-bezier(0.16, 1, 0.3, 1),
      opacity 0.75s ease;
    will-change: transform, opacity;
  }

  /* Engineering corner brackets on each card */
  .story-img-card::before,
  .story-img-card::after {
    content: '';
    position: absolute;
    width: 14px; height: 14px;
    z-index: 2; pointer-events: none;
  }
  .story-img-card::before {
    top: -1px; left: -1px;
    border-top: 1.5px solid rgba(0,0,0,0.25);
    border-left: 1.5px solid rgba(0,0,0,0.25);
  }
  .story-img-card::after {
    bottom: -1px; right: -1px;
    border-bottom: 1.5px solid rgba(0,0,0,0.25);
    border-right: 1.5px solid rgba(0,0,0,0.25);
  }

  /* Label strip on bottom of image */
  .story-img-label {
    position: absolute;
    bottom: 12px; left: 12px;
    background: rgba(0,0,0,0.72);
    color: rgba(255,255,255,0.88);
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase;
    padding: 6px 10px; border-radius: 2px;
    border: 1px solid rgba(255,255,255,0.08);
    pointer-events: none;
  }

  /* Year tab strip — horizontally scrollable at narrow viewports */
  .story-year-tabs {
    grid-column: 1 / -1;
    grid-row: 1;
    position: relative;
    z-index: 20;
    background: var(--l-bg);
    display: flex; align-items: center; justify-content: flex-start; gap: 0;
    padding: 0;
    border-bottom: 1px solid rgba(0,0,0,0.09);
    box-shadow: 0 1px 0 rgba(0,0,0,0.06);
    /* Scroll when tabs overflow */
    overflow-x: auto;
    overflow-y: visible;
    scrollbar-width: none; /* Firefox */
    -webkit-overflow-scrolling: touch;
  }
  .story-year-tabs::-webkit-scrollbar { display: none; }

  .year-tab {
    position: relative;
    padding: 16px 18px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 13px; font-weight: 600; letter-spacing: 0.01em;
    color: rgba(0,0,0,0.35);
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    cursor: pointer;
    transition: color 0.2s;
    white-space: nowrap;
    flex: 1 0 auto;  /* grow to fill equally; don't shrink below content width */
    text-align: center;
  }
  /* Grey track — inset 6px each side so adjacent bars don't merge visually */
  .year-tab::before {
    content: '';
    position: absolute;
    left: 6px; right: 6px; bottom: -1px;
    height: 2px;
    background: rgba(0,0,0,0.10);
  }
  /* Coloured fill — grows within the same inset bounds */
  .year-tab::after {
    content: '';
    position: absolute;
    left: 6px; bottom: -1px;
    height: 2px;
    width: calc(var(--tab-progress, 0) * (100% - 12px));
    background: var(--l-fg);
  }
  .year-tab:hover { color: rgba(0,0,0,0.65); }
  .year-tab.is-active { color: var(--l-fg); }
  .story-tabs-underline { display: none; }

  /* RIGHT — sits in grid row 2, col 2 */
  .story-right {
    grid-row: 2;
    grid-column: 2;
    align-self: start;
    position: relative;
    height: auto;
    overflow: visible;
    padding: 40px 0 0 0;
  }

  /* Year group */
  .story-year-group {
    position: relative;
  }
  .story-year-group + .story-year-group {
    margin-top: 0;
  }

  /* Year divider heading */
  .year-divider {
    display: flex; align-items: center; gap: 16px;
    padding: 56px 0 24px;
  }
  .year-divider:first-child { padding-top: 0; }
  .year-label-big {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 800;
    font-size: 13px; letter-spacing: 0.06em;
    color: rgba(0,0,0,0.22);
    white-space: nowrap;
  }
  .year-divider-line {
    flex: 1; height: 1px; background: rgba(0,0,0,0.08);
  }

  /* Individual chapter block — absolutely stacked, one visible at a time */
  .story-milestone {
    display: none;
    padding: 0;
    cursor: default;
  }
  .story-milestone::before { display: none; }
  .story-milestone.is-active {
    display: block;
    pointer-events: auto;
    animation: ms-fade-in 0.4s ease forwards;
  }
  @keyframes ms-fade-in {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .ms-title {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 700; font-size: 22px; letter-spacing: -0.022em;
    color: rgba(0,0,0,0.55);
    margin-bottom: 14px;
    transition: color 0.35s ease;
    line-height: 1.22;
  }
  .story-milestone.is-active .ms-title { color: var(--l-fg); }

  .ms-text {
    font-size: 14.5px; line-height: 1.65;
    color: rgba(0,0,0,0.55);
    max-height: none;
    transition: color 0.35s ease;
  }
  .ms-text + .ms-text { margin-top: 12px; }
  .story-milestone.is-active .ms-text { color: rgba(0,0,0,0.72); }
  .ms-list { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
  .ms-list li { font-size: 14.5px; line-height: 1.55; color: rgba(0,0,0,0.55); padding-left: 16px; position: relative; }
  .ms-list li::before { content: '·'; position: absolute; left: 0; color: var(--green-deep); font-weight: 700; }
  .story-milestone.is-active .ms-list li { color: rgba(0,0,0,0.72); }

  /* ============================================================
     RECOGNITION (LIGHT)
     ============================================================ */
  .recognition {
    position: relative;
    background: var(--l-bg);
    color: var(--l-fg);
    padding: 120px 56px 100px;
    border-top: 1px solid rgba(0,0,0,0.08);
  }
  .recognition-inner { max-width: 1360px; margin: 0 auto; }
  .recognition-header { text-align: center; margin-bottom: 64px; }
  .recognition-header h2 {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 700;
    font-size: clamp(2.2rem, 4.4vw, 3.8rem);
    letter-spacing: -0.045em; line-height: 1.04;
    color: var(--l-fg); margin: 0 auto; max-width: 24ch;
  }
  .recognition-header h2 em { font-style: italic; font-weight: 600; color: rgba(0,0,0,0.42); }

  /* Two-column recognition layout */
  .recognition-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid rgba(0,0,0,0.10);
    border-radius: 4px;
    overflow: hidden;
  }
  .recog-col {
    padding: 40px 44px;
  }
  .recog-col:first-child {
    border-right: 1px solid rgba(0,0,0,0.10);
  }
  .recog-col-label {
    font-family: var(--mono);
    font-size: 10px; letter-spacing: 0.20em; text-transform: uppercase;
    color: var(--green-deep);
    margin-bottom: 24px;
  }
  .recog-list {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 0;
  }
  .recog-list li {
    font-size: 14.5px; line-height: 1.5;
    color: var(--l-fg);
    padding: 13px 0;
    border-bottom: 1px solid rgba(0,0,0,0.07);
    padding-left: 18px;
    position: relative;
  }
  .recog-list li:last-child { border-bottom: none; }
  .recog-list li::before {
    content: '';
    position: absolute; left: 0; top: 50%; transform: translateY(-50%);
    width: 5px; height: 5px; border-radius: 50%;
    background: var(--green-deep);
  }

  @media (max-width: 1024px) {
    .cert-grid { grid-template-columns: repeat(3, 1fr); justify-items: center; }
    .cert-grid .cert-card:nth-child(4),
    .cert-grid .cert-card:nth-child(5) {
      grid-column: auto;
    }
    /* Center the last 2 cards: place them in columns 1-2 of a 3-col grid doesn't center.
       Use justify-content instead to center the incomplete row */
    .cert-grid { justify-content: center; display: flex; flex-wrap: wrap; gap: 16px; }
    .cert-grid .cert-card { flex: 0 0 calc(33.333% - 12px); }
  }
  @media (max-width: 480px) {
    .cert-grid .cert-card { flex: 0 0 calc(50% - 10px); }
  }

  /* Awards strip */
  .awards-strip {
    margin-top: 56px;
    padding-top: 48px;
    border-top: 1px solid rgba(0,0,0,0.08);
  }
  .awards-strip-label {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase;
    color: rgba(0,0,0,0.42); margin-bottom: 32px; text-align: center;
  }
  .awards-list {
    display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
  }
  .award-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 16px; border-radius: 4px;
    background: #fff; border: 1px solid rgba(0,0,0,0.10);
    font-size: 13px; font-weight: 500; color: var(--l-fg);
    transition: border-color 0.2s, transform 0.2s;
  }
  .award-badge:hover { border-color: rgba(0,0,0,0.22); transform: translateY(-1px); }
  .award-badge::before {
    content: ''; width: 6px; height: 6px; border-radius: 50%;
    background: var(--green);
    flex-shrink: 0;
  }

  /* ============================================================
     TEAM (DARK)
     ============================================================ */
  .team {
    position: relative;
    background: var(--d-bg);
    color: var(--d-fg);
    padding: 120px 56px 100px;
  }
  .team-inner { max-width: 1360px; margin: 0 auto; }
  .team-header { text-align: center; margin-bottom: 64px; }
  .team-header h2 {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 700;
    font-size: clamp(2.2rem, 4.4vw, 3.6rem);
    letter-spacing: -0.045em; line-height: 1.04;
    color: var(--d-fg);
  }
  .team-header p { margin-top: 18px; color: var(--d-muted); font-size: 15.5px; }

  .team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .team-card {
    position: relative;
    background: #000;
    border: 1px solid rgba(255,255,255,0.10); border-radius: 4px;
    overflow: hidden;
    transition: border-color 0.25s, transform 0.25s;
  }
  .team-card:hover { border-color: rgba(255,255,255,0.22); transform: translateY(-2px); }
  .team-card > .bk { position: absolute; width: 12px; height: 12px; pointer-events: none; color: rgba(255,255,255,0.55); z-index: 2; }
  .team-card > .bk-tl { top:-1px; left:-1px; border-top:1.5px solid currentColor; border-left:1.5px solid currentColor; }
  .team-card > .bk-tr { top:-1px; right:-1px; border-top:1.5px solid currentColor; border-right:1.5px solid currentColor; }
  .team-card > .bk-bl { bottom:-1px; left:-1px; border-bottom:1.5px solid currentColor; border-left:1.5px solid currentColor; }
  .team-card > .bk-br { bottom:-1px; right:-1px; border-bottom:1.5px solid currentColor; border-right:1.5px solid currentColor; }

  .team-photo {
    width: 100%; aspect-ratio: 3/3.2;
    background: var(--d-card);
    overflow: hidden; position: relative;
  }
  .team-photo picture {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    display: block;
  }
  .team-photo picture img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover; object-position: center top;
  }
  /* Placeholder silhouette */
  .team-photo-placeholder {
    width: 52px; height: 52px; border-radius: 50%;
    background: #1a1d24;
    border: 1px solid rgba(255,255,255,0.10);
    display: grid; place-items: center; opacity: 0.5;
  }
  .team-photo-placeholder svg { width: 28px; height: 28px; color: rgba(255,255,255,0.35); }

  .team-info {
    padding: 14px 16px 16px;
    border-top: 1px solid rgba(255,255,255,0.07);
  }
  .team-dept {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--green-deep); margin-bottom: 4px;
  }
  .team-name {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 600; font-size: 13px; letter-spacing: -0.01em;
    color: var(--d-fg); margin-bottom: 3px;
  }
  .team-role {
    font-size: 11.5px; color: var(--d-muted);
  }
  .team-linkedin {
    margin-top: 10px; display: inline-flex; align-items: center; gap: 5px;
    font-size: 11px; color: rgba(255,255,255,0.42);
    transition: color 0.2s;
  }
  .team-linkedin:hover { color: var(--green); }
  .team-linkedin svg { width: 12px; height: 12px; }

  /* Hiring strip */
  .team-hiring {
    margin-top: 72px;
    padding: 40px 44px;
    background: #000;
    border: 1px solid rgba(255,255,255,0.10); border-radius: 4px;
    display: flex; align-items: center; justify-content: space-between; gap: 32px;
  }
  .team-hiring h3 {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 600; font-size: clamp(1.3rem, 2vw, 1.7rem);
    letter-spacing: -0.025em; color: var(--d-fg);
  }
  .team-hiring p { margin-top: 6px; color: var(--d-muted); font-size: 14px; }

  /* ============================================================
     CONTACT FORM — shared solutions-page pattern (LIGHT)
     ============================================================ */
  .contact {
    position: relative;
    background: var(--l-bg);
    color: var(--l-fg);
    padding: 130px 56px 100px;
    border-top: 1px solid rgba(0,0,0,0.06);
  }
  .contact-inner {
    max-width: 1240px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 80px; align-items: start;
  }
  .contact-copy h2 {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 700;
    font-size: clamp(2.4rem, 4.8vw, 3.6rem);
    line-height: 1.04; letter-spacing: -0.045em;
    color: var(--l-fg); margin-bottom: 18px;
  }
  .contact-copy p {
    color: rgba(0,0,0,0.62); font-size: 16px;
    line-height: 1.6; max-width: 48ch; margin-bottom: 32px;
  }
  .contact-trust {
    border-top: 1px solid rgba(0,0,0,0.10);
    padding-top: 24px; margin-top: 24px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 11px; letter-spacing: 0.22em;
    text-transform: uppercase; color: rgba(0,0,0,0.55); line-height: 1.7;
  }
  .contact-trust strong { color: var(--l-fg); }
  .contact-form {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.10); border-radius: 4px;
    padding: 32px;
    box-shadow: 0 18px 56px rgba(0,0,0,0.06);
    position: relative;
  }
  .contact-form > .bk { color: rgba(0,0,0,0.45); }
  .contact-form .field {
    display: flex; flex-direction: column; margin-bottom: 18px;
  }
  .contact-form .field-row {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  }
  .contact-form label {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase;
    color: rgba(0,0,0,0.55); font-weight: 600; margin-bottom: 7px;
  }
  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    font-family: 'Inter', system-ui, sans-serif; font-size: 14px;
    color: var(--l-fg); padding: 12px 14px;
    border: 1px solid rgba(0,0,0,0.16); border-radius: 3px;
    background: #fafafa;
    width: 100%; box-sizing: border-box;
    transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
  }
  .contact-form select {
    cursor: pointer; -webkit-appearance: none; appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 5l3 3 3-3' stroke='%23000' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 14px) center; padding-right: 36px;
  }
  .contact-form textarea { resize: vertical; min-height: 96px; }
  .contact-form input:focus,
  .contact-form select:focus,
  .contact-form textarea:focus {
    outline: 0; border-color: var(--green-deep); background: #fff;
    box-shadow: 0 0 0 3px rgba(90,167,255,0.16);
  }
  .contact-form .submit-row {
    margin-top: 8px;
    display: flex; justify-content: space-between;
    align-items: center; gap: 14px; flex-wrap: wrap;
  }
  .contact-form .submit-row .small {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
    color: rgba(0,0,0,0.55);
  }
  @media (max-width: 1024px) {
    .contact-inner { grid-template-columns: 1fr; gap: 48px; }
    .contact-copy, .contact-form { min-width: 0; }
  }
  @media (max-width: 700px) {
    .contact { padding: 90px 20px 80px; }
    .contact-form .field-row { grid-template-columns: 1fr; gap: 0; }
    .contact-form { padding: 24px; }
  }

  /* ============================================================
     FOOTER (DARK)
     ============================================================ */
  /* ============================================================
     Site-wide motion utilities — matches other pages
     ============================================================ */
  .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 600ms cubic-bezier(0.22, 0.61, 0.36, 1),
                transform 600ms cubic-bezier(0.22, 0.61, 0.36, 1);
  }
  .reveal.is-in { opacity: 1; transform: translateY(0); }
  .stagger > * {
    transition: opacity 600ms cubic-bezier(0.22, 0.61, 0.36, 1),
                transform 600ms cubic-bezier(0.22, 0.61, 0.36, 1);
    opacity: 0;
    transform: translateY(22px);
  }
  .stagger.is-in > *:nth-child(1) { transition-delay:   0ms; opacity: 1; transform: none; }
  .stagger.is-in > *:nth-child(2) { transition-delay:  80ms; opacity: 1; transform: none; }
  .stagger.is-in > *:nth-child(3) { transition-delay: 160ms; opacity: 1; transform: none; }
  .stagger.is-in > *:nth-child(4) { transition-delay: 240ms; opacity: 1; transform: none; }
  .stagger.is-in > *:nth-child(5) { transition-delay: 320ms; opacity: 1; transform: none; }
  .stagger.is-in > *:nth-child(6) { transition-delay: 400ms; opacity: 1; transform: none; }
  [data-parallax] { will-change: auto; }
  @media (prefers-reduced-motion: reduce) {
    .reveal, .stagger > * { opacity: 1 !important; transform: none !important; transition: opacity 200ms ease !important; }
    [data-parallax]::before { transform: none !important; }
  }

  /* ── Team grid: responsive columns ── */
  @media (max-width: 1024px) {
    .team-grid { grid-template-columns: repeat(3, 1fr); }
  }
  @media (max-width: 680px) {
    .team-grid { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 420px) {
    .team-grid { grid-template-columns: 1fr; max-width: 280px; margin: 0 auto; }
  }

  /* ── Team hiring: stack vertically on mobile ── */
  @media (max-width: 480px) {
    .team-hiring {
      flex-direction: column;
      align-items: flex-start;
      padding: 28px 24px;
      gap: 20px;
    }
  }

  /* ── Hero map: shift up on mobile so India region is visible ── */
  @media (max-width: 480px) {
    .hero-dot-map { object-position: center 30%; }
  }

  /* ── Tablet: bring side padding in line with rest of site (56 → 24px) ── */
  @media (max-width: 1024px) {
    .about-hero-inner   { padding-left: 24px; padding-right: 24px; }
    .story-header-wrap  { padding-left: 24px; padding-right: 24px; }
    .story-body         { padding-left: 24px; padding-right: 24px; column-gap: 40px; }
    .recognition        { padding-left: 24px; padding-right: 24px; }
    .recognition .module-break { padding-left: 24px; padding-right: 24px; }
    .awards             { padding-left: 24px; padding-right: 24px; }
    #team               { padding-left: 24px; padding-right: 24px; }
    .contact            { padding-left: 24px; padding-right: 24px; }
  }

  /* ── Mobile: tighten further (24 → 20px) ── */
  @media (max-width: 480px) {
    .about-hero-inner   { padding-left: 20px; padding-right: 20px; }
    .foundation         { padding-left: 20px; padding-right: 20px; }
    .story-header-wrap  { padding-left: 20px; padding-right: 20px; }
    .recognition        { padding-left: 20px; padding-right: 20px; }
    .recognition .module-break { padding-left: 20px; padding-right: 20px; }
    .recognition-two-col { grid-template-columns: 1fr; }
    .recog-col:first-child { border-right: none; border-bottom: 1px solid rgba(0,0,0,0.10); }
    .recog-col          { padding: 28px 20px; }
    .awards             { padding-left: 20px; padding-right: 20px; }
    #team               { padding-left: 20px; padding-right: 20px; }
    .contact            { padding-left: 20px; padding-right: 20px; }
  }

  /* ============================================================
     STORY — MOBILE (≤ 768px)
     ============================================================ */
  @media (max-width: 768px) {
    .story-year-tabs { display: none; }

    .story-body {
      grid-template-columns: 1fr;
      padding: 40px 24px 80px;
      gap: 0;
    }

    .story-left { display: none; }

    .story-right {
      height: auto;
      overflow: visible;
      display: block;
    }

    .story-milestone {
      display: block !important;   /* all chapters visible on mobile (scroll layout) */
      animation: none !important;
      opacity: 1 !important;
      transform: none !important;
      pointer-events: auto !important;
      padding: 0 0 56px 0 !important;
      border-left: none;
    }
    .story-milestone::before { display: none; }

    /* text block */
    .ms-date   { margin-bottom: 6px; }
    .ms-title  { font-size: 18px; }
    .ms-text   { font-size: 14px; }

    /* carousel wrapper */
    .story-carousel-wrap { margin-top: 20px; }

    /* horizontal scroll track */
    .story-carousel {
      display: flex;
      overflow-x: scroll;
      scroll-snap-type: x mandatory;
      -webkit-overflow-scrolling: touch;
      scroll-behavior: smooth;
      gap: 0;
      border-radius: 8px;
      /* hide scrollbar */
      scrollbar-width: none;
    }
    .story-carousel::-webkit-scrollbar { display: none; }

    /* each slide */
    .story-carousel-slide {
      flex: 0 0 100%;
      scroll-snap-align: start;
      aspect-ratio: 4 / 3;
      background: #c2c4c8 center / cover no-repeat;
      border-radius: 8px;
    }

    /* dot strip */
    .story-carousel-dots {
      display: flex;
      gap: 7px;
      justify-content: center;
      margin-top: 10px;
    }
    .story-carousel-dot {
      width: 6px; height: 6px;
      border-radius: 50%;
      background: rgba(0,0,0,0.18);
      border: none;
      padding: 0; cursor: pointer;
      transition: background 0.2s, transform 0.2s;
    }
    .story-carousel-dot.is-active {
      background: var(--l-fg);
      transform: scale(1.3);
    }
  }

/* ── Mobile image swap (≤640px) ─────────────────────────────────────────── */
@media (max-width: 640px) {
  .story-img-card {
    background-image: url('../assets/images/shared/Factory-image-640.webp');
  }
}

