/* ── POPUP DRAWER VARIANT (if used) ── */
    .ast-mobile-popup-drawer.active .ast-mobile-popup-inner {
      background-color: #ffffff;
    }

    .ast-mobile-header-wrap .ast-mobile-header-content,
    .ast-desktop-header-content {
      background-color: #ffffff;
    }

    /* ── GLOBAL h2 em STYLE ── */
    h2 em {
      font-family: 'Outfit', sans-serif;
      font-style: normal;
      color: var(--accent2);
      font-weight: 700;
      -webkit-text-fill-color: var(--accent2);
      text-transform: uppercase;
    }

    /* h1 em keeps accent2 (orange) as used in hero */
    .page-hero h1 em {
      font-family: 'Outfit', sans-serif;
      font-style: normal;
      color: var(--accent2);
      font-weight: 700;
      text-transform: uppercase;

      -webkit-text-fill-color: var(--accent2);
    }

    .btn-ghost {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      border: 1px solid var(--border);
      color: var(--muted);
      padding: 13px 28px;
      border-radius: 999px;
      font-weight: 500;
      font-size: .88rem;
      transition: all .3s;
    }

    .btn-ghost:hover {
      border-color: var(--muted);
      color: var(--text);
    }

    .page-hero {
      padding: 0;
      min-height: 100vh;
      position: relative;
      overflow: hidden;
      text-align: center;
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding-top: 200px;
    }

    .hero-bg {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      z-index: 0;
    }

    .hero-bg img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center center;
      display: block;
      background:
                linear-gradient(to bottom,
                    rgba(0, 0, 0, .55),
                    rgba(0, 0, 0, .65));
    }

    .hero-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(to bottom, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.25) 45%, rgba(0, 0, 0, 0.85) 100%);
      z-index: 1;
    }

    .page-hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(ellipse at 60% 40%, rgba(168, 232, 50, .07) 0%, transparent 65%),
        radial-gradient(ellipse at 20% 80%, rgba(249, 115, 22, .05) 0%, transparent 55%);
      pointer-events: none;
      z-index: 2;
    }

    .page-hero-inner {
      position: relative;
      bottom: 0;
      left: 0;
      right: 0;
      z-index: 3;
      padding: 0 5% 48px;
      text-align: center;
      width: 100%;
    }

    .page-hero-eyebrow {
      font-size: .72rem;
      font-weight: 700;
      letter-spacing: 4px;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 16px;
      display: block;
    }

    .page-hero h1 {
      font-family: var(--font-head);
      font-size: clamp(2rem, 8vw, 7.5rem);
      line-height: .88;
      letter-spacing: .01em;
      color: #fff;
      margin-bottom: 18px;
    }

    .page-hero-sub {
      color: rgba(255, 255, 255, .72);
      font-size: .88rem;
      line-height: 1.75;
      max-width: 520px;
      margin: 0 auto 28px;
    }

    .hero-btns {
      display: flex;
      gap: 14px;
      justify-content: center;
      flex-wrap: wrap;
      margin-bottom: 44px;
    }

    .hero-meta {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 32px;
    }

    .hero-meta-item {
      text-align: center;
    }

    .hero-meta-item strong {
      display: block;
      font-family: var(--font-head);
      font-size: 2rem;
      color: #fff;
      line-height: 1;
    }

    .hero-meta-item span {
      font-size: .68rem;
      color: rgba(255, 255, 255, .5);
      letter-spacing: 2px;
      text-transform: uppercase;
    }

    .hero-meta-divider {
      width: 1px;
      height: 36px;
      background: rgba(255, 255, 255, .18);
    }

    .marquee-strip {
      background: var(--accent2);
      overflow: hidden;
      padding: 16px 0;
    }

    .marquee-track {
      display:     flex;
      gap:         36px;
      white-space: nowrap;
      width:       max-content;
      will-change: transform;
      animation:   ticker 40s linear infinite;
    }

    .marquee-strip:hover .marquee-track {
      animation-play-state: paused;
    }

    .marquee-track span {
      font-family: var(--font-head);
      font-size: 1rem;
      letter-spacing: 3px;
      color: #0a0a0f;
    }

    .marquee-track .dot {
      color: rgba(0, 0, 0, .3);
    }

    @keyframes ticker {
      from { transform: translateX(0); }
      to   { transform: translateX(var(--tw, -50%)); }
    }

    .who-section {
      background: var(--bg);
      padding: 80px 0;
    }

    .who-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 22px;
      margin-top: 44px;
    }

    .who-card {
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 32px 26px;
      transition: all .35s;
      position: relative;
      overflow: hidden;
      display: flex;
      flex-direction: column;
    }

    .who-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 3px;
      background: linear-gradient(90deg, var(--accent), var(--accent2));
      transform: scaleX(0);
      transform-origin: left;
      transition: transform .4s;
    }

    .who-card:hover::before {
      transform: scaleX(1);
    }

    .who-card:hover {
      transform: translateY(-5px);
      border-color: rgba(168, 232, 50, .25);
      box-shadow: 0 14px 36px rgba(168, 232, 50, .1);
    }

    .who-card-icon {
      width: 50px;
      height: 50px;
      border-radius: 14px;
      background: rgba(168, 232, 50, .1);
      border: 1px solid rgba(168, 232, 50, .2);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.3rem;
      color: var(--accent);
      margin-bottom: 18px;
      flex-shrink: 0;
    }

    .who-card h3 {
      font-family: var(--font-head);
      font-size: 1.3rem;
      letter-spacing: 1px;
      color: var(--text);
      margin-bottom: 14px;
    }

    .who-card ul {
      list-style: none;
      padding: 0;
      margin: 0;
      display: flex;
      flex-direction: column;
      gap: 8px;
      flex: 1;
    }

    .who-card ul li {
      display: flex;
      align-items: flex-start;
      gap: 8px;
      color: var(--muted);
      font-size: .84rem;
      line-height: 1.55;
    }

    .who-card ul li::before {
      content: '';
      display: block;
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--accent);
      margin-top: 5px;
      flex-shrink: 0;
    }

    .founders-section {
      background: var(--bg2);
      padding: 80px 0;
    }

    .portrait-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 26px;
      margin-top: 44px;
      max-width: 1100px;
      margin-left: auto;
      margin-right: auto;
    }

    .pcard {
      position: relative;
      overflow: hidden;
      cursor: pointer;
      aspect-ratio: 3/4;
      background: var(--card2);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
    }

    .pcard-ph {
      position: absolute;
      inset: 0;
      z-index: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: var(--font-head);
      font-size: 5rem;
      color: rgba(255, 255, 255, .12);
      transition: transform .55s;
    }

    .pcard-photo {
      position: absolute;
      inset: 0;
      z-index: 1;
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform .55s;
    }

    .pcard:hover .pcard-photo,
    .pcard:hover .pcard-ph {
      transform: scale(1.06);
    }

    .pcard-strip {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      padding: 26px 20px 20px;
      background: linear-gradient(to top, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .5) 55%, transparent 100%);
      z-index: 2;
      transition: opacity .35s;
    }

    .pcard:hover .pcard-strip {
      opacity: 0;
    }

    .pcard-strip h3 {
      font-family: var(--font-head);
      font-size: 1.25rem;
      letter-spacing: 1px;
      color: #fff;
      margin: 0 0 4px;
    }

    .pcard-strip p {
      font-size: .72rem;
      color: rgba(255, 255, 255, .6);
      letter-spacing: 1px;
      text-transform: uppercase;
    }

    .pcard-hover {
      position: absolute;
      inset: 0;
      z-index: 3;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      pointer-events: none;
      overflow: hidden;
    }

    .pcard-hover-inner {
      background: rgba(168, 232, 50, .92);
      backdrop-filter: blur(6px);
      padding: 26px 22px 24px;
      transform: translateY(100%);
      transition: transform .42s cubic-bezier(.22, 1, .36, 1);
    }

    .pcard:hover .pcard-hover {
      pointer-events: auto;
    }

    .pcard:hover .pcard-hover-inner {
      transform: translateY(0);
    }

    .phover-name {
      font-family: var(--font-head);
      font-size: 1.35rem;
      letter-spacing: 1.5px;
      color: #0a0a0f;
      margin: 0 0 4px;
    }

    .phover-role {
      font-size: .7rem;
      font-weight: 700;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: rgba(0, 0, 0, .6);
      margin: 0 0 10px;
    }

    .phover-bio {
      font-size: .82rem;
      color: rgba(0, 0, 0, .75);
      line-height: 1.7;
      margin: 0 0 12px;
    }

    .phover-socials {
      display: flex;
      gap: 8px;
    }

    .phover-socials a {
      width: 30px;
      height: 30px;
      border-radius: 50%;
      border: 1.5px solid rgba(0, 0, 0, .2);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: .82rem;
      color: rgba(0, 0, 0, .7);
      transition: background .2s;
    }

    .phover-socials a:hover {
      background: rgba(0, 0, 0, .1);
    }

    .why-section {
      position: relative;
      width: 100vw;
      margin-left: calc(50% - 50vw);
      padding: 85px 0;
      overflow: hidden;
      isolation: isolate;
      background-image: linear-gradient(rgba(0, 0, 0, .45), rgba(0, 0, 0, .45)), url('../../images/office.png');
      background-size: cover;
      background-position: center;
      clip-path: polygon(0 3%, 100% 0, 100% 97%, 0 100%);
    }

    .why-section .wrap {
      position: relative;
      z-index: 2;
    }

    .why-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 18px;
      margin-top: 44px;
    }

    .why-card {
      background: rgba(255, 255, 255, .06);
      border: 1px solid rgba(255, 255, 255, .1);
      border-radius: var(--radius-lg);
      padding: 28px 22px;
      transition: transform .35s, border-color .35s, background .35s;
      display: flex;
      flex-direction: column;
    }

    .why-card:hover {
      transform: translateY(-5px);
      border-color: rgba(168, 232, 50, .4);
      background: rgba(168, 232, 50, .08);
    }

    .why-card-num {
      font-family: var(--font-head);
      font-size: 3rem;
      color: rgba(168, 230, 53, 0.502);
      line-height: 1;
      margin-bottom: 12px;
    }

    .why-card h4 {
      color: #fff;
      font-size: .95rem;
      font-weight: 700;
      margin-bottom: 14px;
    }

    .why-card ul {
      list-style: none;
      padding: 0;
      margin: 0;
      display: flex;
      flex-direction: column;
      gap: 8px;
      flex: 1;
    }

    .why-card ul li {
      display: flex;
      align-items: flex-start;
      gap: 8px;
      color: rgba(255, 255, 255, .72);
      font-size: .80rem;
      line-height: 1.55;
    }

    .why-card ul li::before {
      content: '';
      display: block;
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: var(--accent);
      margin-top: 5px;
      flex-shrink: 0;
    }

    .timeline-section {
      background: var(--bg);
      padding: 80px 0 100px;
      overflow: hidden;
    }

    .year-tabs {
      display: flex;
      justify-content: flex-start;
      gap: 0;
      margin-bottom: 40px;
      overflow-x: auto;
      scrollbar-width: none;
      -webkit-overflow-scrolling: touch;
      border-bottom: 2px solid var(--border);
    }

    .year-tabs::before,
    .year-tabs::after {
      content: '';
      margin: auto;
    }

    .year-tabs::-webkit-scrollbar {
      display: none;
    }

    .year-tab {
      flex-shrink: 0;
      padding: 10px 16px;
      font-family: var(--font-head);
      font-size: 1.1rem;
      letter-spacing: 1px;
      color: var(--muted2);
      background: none;
      border: none;
      cursor: pointer;
      border-bottom: 3px solid transparent;
      margin-bottom: -2px;
      transition: all .3s;
    }

    .year-tab:hover {
      color: var(--text);
    }

    .year-tab.active {
      color: var(--accent);
      border-bottom-color: var(--accent);
    }

    .year-panel {
      display: none;
      opacity: 0;
    }

    .year-panel.active {
      display: block;
      animation: panelIn .5s cubic-bezier(.22, 1, .36, 1) forwards;
    }

    @keyframes panelIn {
      from {
        opacity: 0;
        transform: translateY(18px)
      }

      to {
        opacity: 1;
        transform: translateY(0)
      }
    }

    .year-panel-header {
      display: flex;
      align-items: flex-start;
      gap: 28px;
      margin-bottom: 28px;
      padding-bottom: 22px;
      border-bottom: 1px solid var(--border);
    }

    .year-big {
      font-family: var(--font-head);
      font-size: clamp(3.5rem, 7vw, 6rem);
      line-height: .9;
      color: var(--accent);
      letter-spacing: -2px;
      flex-shrink: 0;
    }

    .year-text-block {
      padding-top: 4px;
    }

    .year-tag {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      padding: 4px 13px;
      border-radius: 999px;
      font-size: .68rem;
      font-weight: 700;
      letter-spacing: 2px;
      text-transform: uppercase;
      background: rgba(168, 232, 50, .12);
      color: var(--accent);
      border: 1px solid rgba(168, 232, 50, .2);
      margin-bottom: 10px;
      width: fit-content;
    }

    .year-title {
      font-family: var(--font-head);
      font-size: clamp(1.3rem, 2.2vw, 1.8rem);
      letter-spacing: 1px;
      color: var(--text);
      margin-bottom: 6px;
      line-height: 1.1;
    }

    .year-body {
      color: var(--muted);
      font-size: .86rem;
      line-height: 1.8;
      max-width: 600px;
    }

    /* ══════════════════════════════════════════════════════════
       CLIENT LOGO SLIDER — replaces the old project-photo grid.
       Shows 4 client logos at a time per year; if a year has more
       than 4 clients, prev/next arrows + dots page through them in
       groups of 4. Name always visible below the logo; a one-line
       description slides up over the logo itself on hover.
       ══════════════════════════════════════════════════════════ */

    .yr-clients-wrap {
      margin-top: 4px;
    }

    .yrc-section-label {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: .72rem;
      font-weight: 700;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: var(--muted2);
      margin-bottom: 18px;
    }

    .yrc-section-label i {
      color: var(--accent);
      font-size: .9rem;
    }

    .yr-clients {
      display: flex;
      align-items: center;
      gap: 14px;
    }

    .yrc-nav {
      flex-shrink: 0;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: var(--card);
      border: 1px solid var(--border);
      color: var(--text);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.2rem;
      cursor: pointer;
      transition: background .25s, border-color .25s, transform .2s, color .25s;
    }

    .yrc-nav:hover {
      background: var(--accent);
      border-color: var(--accent);
      color: #0a0a0f;
      transform: scale(1.08);
    }

    .yr-clients.single-page .yrc-nav {
      display: none;
    }

    .yrc-grid {
      flex: 1;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 18px;
      min-width: 0;
      transition: opacity .22s ease, transform .22s ease;
    }

    .yrc-grid.switching {
      opacity: 0;
      transform: translateY(6px);
    }

    .yrc-card {
      display: flex;
      flex-direction: column;
      align-items: center;
      animation: yrcCardIn .45s cubic-bezier(.22, 1, .36, 1) both;
    }

    .yrc-card:nth-child(1) { animation-delay: .03s; }
    .yrc-card:nth-child(2) { animation-delay: .08s; }
    .yrc-card:nth-child(3) { animation-delay: .13s; }
    .yrc-card:nth-child(4) { animation-delay: .18s; }

    @keyframes yrcCardIn {
      from { opacity: 0; transform: translateY(14px) scale(.96); }
      to   { opacity: 1; transform: translateY(0) scale(1); }
    }

    .yrc-logo-wrap {
      position: relative;
      width: 100%;
      aspect-ratio: 4/3;
      background: #ffffff;
      border-radius: 14px;
      border: 1px solid var(--border);
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 16px;
      box-shadow: 0 4px 16px rgba(0, 0, 0, .18);
      transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s;
    }

    .yrc-logo-wrap:hover {
      transform: translateY(-6px);
      box-shadow: 0 16px 40px rgba(0, 0, 0, .3);
    }

    .yrc-logo-wrap img {
      max-width: 100%;
      max-height: 100%;
      object-fit: contain;
      transition: opacity .3s ease, filter .3s ease;
    }

    .yrc-logo-wrap:hover img {
      opacity: .12;
      filter: blur(1px);
    }

    /* Text fallback if a logo image fails to load — keeps the card
       intact instead of showing a broken-image icon. */
    .yrc-fallback-text {
      display: none;
      position: relative;
      z-index: 1;
      font-family: var(--font-head);
      font-size: 1rem;
      letter-spacing: 1px;
      text-align: center;
      color: #0a0a0f;
      padding: 0 8px;
      text-transform: uppercase;
    }

    .yrc-logo-wrap.yrc-fallback .yrc-fallback-text {
      display: block;
    }

    /* One-line description — slides up over the logo on hover */
    .yrc-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(168, 232, 50, .96), rgba(10, 10, 15, .94));
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 14px;
      opacity: 0;
      transform: translateY(10px);
      transition: opacity .3s ease, transform .35s cubic-bezier(.22, 1, .36, 1);
      pointer-events: none;
    }

    .yrc-logo-wrap:hover .yrc-overlay {
      opacity: 1;
      transform: translateY(0);
    }

    .yrc-overlay p {
      margin: 0;
      font-size: .72rem;
      line-height: 1.45;
      font-weight: 600;
      color: #0a0a0f;
      text-align: center;
    }

    .yrc-name {
      margin-top: 10px;
      font-size: .82rem;
      font-weight: 600;
      color: var(--text);
      text-align: center;
      letter-spacing: .2px;
    }

    /* Page dots */
    .yrc-dots {
      display: flex;
      justify-content: center;
      gap: 7px;
      margin-top: 22px;
    }

    .yrc-dot {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: var(--border);
      border: none;
      padding: 0;
      cursor: pointer;
      transition: background .25s, width .25s;
    }

    .yrc-dot.active {
      background: var(--accent);
      width: 20px;
      border-radius: 4px;
    }

    .join-cta {
      text-align: center;
      padding: 80px 5%;
      background: var(--bg2);
      border-top: 1px solid var(--border);
      position: relative;
      overflow: hidden;
    }

    .join-cta::before {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(ellipse at center, rgba(168, 232, 50, .06) 0%, transparent 70%);
      pointer-events: none;
    }

    .join-cta h2 {
      font-family: var(--font-head);
      font-size: clamp(2rem, 4vw, 3.5rem);
      letter-spacing: 1px;
      color: var(--text);
      margin-bottom: 10px;
      position: relative;
      z-index: 1;
    }

    .join-cta p {
      color: var(--muted);
      font-size: .88rem;
      margin-bottom: 30px;
      position: relative;
      z-index: 1;
    }

    .join-btns {
      display: flex;
      gap: 14px;
      justify-content: center;
      flex-wrap: wrap;
      position: relative;
      z-index: 1;
    }

    @media(max-width:1100px) {
      .yrc-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .who-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .why-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media(max-width:960px) {
      .page-hero h1 {
        white-space: normal;
        font-size: clamp(2rem, 7vw, 3.5rem);
      }

      .portrait-grid {
        max-width: 100%;
      }

      .hero-meta {
        gap: 18px;
        flex-wrap: wrap;
        justify-content: center;
      }

      .hero-meta-divider {
        display: none;
      }

      .page-hero-inner {
        padding: 0 5% 10px;
      }
    }

    @media(max-width:768px) {
      .page-hero {
        min-height: auto;
      }

      .page-hero-inner {
        padding: 0 4% 8px;
      }

      .page-hero h1 {
        font-size: clamp(1.8rem, 8vw, 3rem);
        letter-spacing: 1px;
      }

      .page-hero-sub {
        font-size: 0.82rem;
      }

      .hero-btns {
        gap: 10px;
        margin-bottom: 32px;
      }

      .hero-meta {
        gap: 16px;
      }

      .hero-meta-item strong {
        font-size: 1.5rem;
      }
    }

    @media(max-width:640px) {
      .why-grid {
        grid-template-columns: 1fr;
      }

      .who-grid {
        grid-template-columns: 1fr;
      }

      .join-btns {
        flex-direction: column;
        align-items: center;
      }

      .year-panel-header {
        flex-direction: column;
        gap: 12px;
      }

      .year-big {
        font-size: 3.2rem;
      }

      .portrait-grid {
        grid-template-columns: 1fr;
      }

      .yrc-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
      }

      .yr-clients {
        gap: 8px;
      }

      .yrc-nav {
        width: 32px;
        height: 32px;
        font-size: 1rem;
      }

      .hero-meta {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px;
        text-align: center;
      }

      .hero-btns {
        flex-direction: column;
        align-items: center;
      }

      .page-hero-eyebrow {
        font-size: 0.65rem;
      }
    }

    /* ══════════════════════════════════════
       PREMIUM LIGHT MODE OVERRIDES
    ══════════════════════════════════════ */

    /* Who-cards — elevated with real shadows */
    [data-theme="light"] .who-card {
      box-shadow: 0 2px 12px rgba(15,23,42,0.07), 0 1px 3px rgba(15,23,42,0.04);
      border-color: rgba(15,23,42,0.09);
    }
    [data-theme="light"] .who-card:hover {
      box-shadow: 0 10px 32px rgba(15,23,42,0.12), 0 2px 8px rgba(15,23,42,0.07);
      border-color: rgba(168,232,50,0.35);
    }

    /* Who-card icon — better light mode contrast */
    [data-theme="light"] .who-card-icon {
      background: rgba(168,232,50,0.12);
      border-color: rgba(168,232,50,0.25);
    }

    /* Timeline client logos — elevated */
    [data-theme="light"] .yrc-logo-wrap {
      box-shadow: 0 4px 18px rgba(15,23,42,0.10);
      border-color: rgba(15,23,42,0.09);
    }
    [data-theme="light"] .yrc-logo-wrap:hover {
      box-shadow: 0 14px 40px rgba(15,23,42,0.15);
    }
    [data-theme="light"] .yrc-nav {
      background: #ffffff;
      box-shadow: 0 2px 8px rgba(15,23,42,0.08);
    }

    /* Portrait cards — shadow */
    [data-theme="light"] .pcard {
      box-shadow: 0 4px 20px rgba(15,23,42,0.10);
      border-color: rgba(15,23,42,0.10);
    }

    /* Who & founders sections */
    [data-theme="light"] .who-section {
      background: #f1f5f9;
    }
    [data-theme="light"] .founders-section {
      background: #ffffff;
    }
    [data-theme="light"] .timeline-section {
      background: #f1f5f9;
    }

    /* Join CTA section */
    [data-theme="light"] .join-cta {
      background: linear-gradient(135deg, #f1f5f9 0%, #e8eef8 100%);
      border-top-color: rgba(15,23,42,0.08);
    }

    /* Year tabs — better contrast */
    [data-theme="light"] .year-tab.active {
      color: #a8e832;
      border-bottom-color: #a8e832;
    }
    [data-theme="light"] .year-big {
      color: #a8e832;
    }
    [data-theme="light"] .year-tag {
      background: rgba(168,232,50,0.14);
      border-color: rgba(168,232,50,0.28);
    }

/* ============================================================
   HERO BACKGROUND VIDEO — themed lime-green duotone
   ============================================================ */
.hero-bg video.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  filter: grayscale(1) contrast(1.06) brightness(0.96);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  mix-blend-mode: color;
  opacity: 0.82;
  pointer-events: none;
  z-index: 1;
}
.hero-tint-depth {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 38%, transparent 30%, rgba(8,14,4,0.55) 100%);
}

/* ============================================================
   MOBILE HERO FIX & POLISH  (appended last to win the cascade)
   Repairs the collapsed hero on phones (old min-height:auto +
   absolutely-positioned children gave it 0 height) and tidies
   the spacing of the heading, sub-text, button and stats.
   ============================================================ */
@media (max-width: 768px) {
  .page-hero {
    min-height: 100vh;            /* fallback for old browsers */
    min-height: 100svh;           /* mobile-safe: excludes the address bar */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;    /* content sits toward the bottom, video above */
    padding-top: 0;
  }

  /* back into normal flow (was position:absolute; bottom:0) so it can
     never collapse and gets clean, predictable spacing */
  .page-hero-inner {
    position: static;
    padding: 0 6% 46px;
  }

  .page-hero-eyebrow {
    margin-bottom: 12px;
  }

  .page-hero h1 {
    white-space: normal;
    font-size: clamp(2rem, 8.5vw, 3rem);
    line-height: 1.04;
    letter-spacing: 1px;
    margin-bottom: 14px;
  }

  .page-hero-sub {
    font-size: 0.85rem;
    line-height: 1.65;
    max-width: 440px;
    margin: 0 auto 24px;
  }

  .hero-btns {
    margin-bottom: 30px;
  }

  /* stats as a clean centred 2-column grid */
  .hero-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 10px;
    max-width: 320px;
    margin: 0 auto;
  }
  .hero-meta-divider { display: none; }
  .hero-meta-item strong { font-size: 1.7rem; }
}

@media (max-width: 400px) {
  .page-hero h1 { font-size: clamp(1.7rem, 9vw, 2.4rem); }
  .page-hero-inner { padding: 0 5% 38px; }
  .hero-meta { gap: 16px 8px; }
}
/* --- MOBILE FIX 10 --- */
@media (max-width: 768px) {
  .page-hero {
    padding-top: 160px !important;
    padding-bottom: 50px !important;
  }
  .about-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .timeline-item {
    flex-direction: column !important;
    gap: 12px;
  }
  .timeline-year {
    font-size: 1.2rem !important;
  }
  .values-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;
  }
}

@media (max-width: 480px) {
  .page-hero {
    padding-top: 140px !important;
  }
  .values-grid {
    grid-template-columns: 1fr !important;
  }
  .timeline-section {
    padding: 40px 0 !important;
  }
}

/* === AGGRESSIVE MOBILE COMPRESSION === */
@media (max-width: 1024px) {
  body[data-page="about"] .footer-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 16px;
  }
  body[data-page="about"] .hide-on-mobile {
    display: none;
  }
  body[data-page="about"] .footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 0;
    margin-bottom: 0;
  }
  body[data-page="about"] .footer-brand p {
    margin: 0;
  }
  body[data-page="about"] .footer-list a {
    min-height: 24px;
    font-size: 0.75rem;
  }
  body[data-page="about"] .footer-head {
    font-size: 0.8rem;
    margin-bottom: 6px;
  }
  body[data-page="about"] .svc-card {
    height: 120px;
    min-height: 120px;
    border-radius: 8px;
  }
  body[data-page="about"] .svc-card h3 {
    font-size: 0.95rem;
    margin-bottom: 2px;
  }
  body[data-page="about"] .svc-content {
    padding: 12px;
  }
  body[data-page="about"] .flip-cards-grid {
    gap: 10px;
    padding: 0 4px;
  }
  body[data-page="about"] .flip-card {
    height: auto;
    border-radius: 8px;
  }
  body[data-page="about"] .flip-card-inner {
    border-radius: 8px;
  }
  body[data-page="about"] .flip-face-img {
    height: 60px;
  }
  body[data-page="about"] .flip-face-img .face-overlay {
    padding: 6px 10px;
  }
  body[data-page="about"] .flip-face-img .face-num {
    font-size: 0.6rem;
    margin-bottom: 2px;
  }
  body[data-page="about"] .flip-face-img .face-title {
    font-size: 0.95rem;
  }
  body[data-page="about"] .flip-front-icon {
    font-size: 1.4rem;
    margin-bottom: 2px;
  }
  body[data-page="about"] .flip-face-text {
    padding: 10px 10px 12px;
    border-radius: 0 0 8px 8px;
  }
  body[data-page="about"] .flip-face-text p {
    font-size: 0.75rem;
    margin-bottom: 8px;
    line-height: 1.3;
  }
  body[data-page="about"] .flip-face-text .face-link {
    padding: 6px 10px;
    font-size: 0.75rem;
    min-height: 32px;
    margin: 0;
  }
  body[data-page="about"] section:not([class*="-hero"]):not(.hero) {
    padding: 30px 0;
  }
  body[data-page="about"] .sec-heading {
    font-size: 1.5rem;
    margin-bottom: 12px;
    font-size: clamp(2rem, 8vw, 2.5rem);
    line-height: 1.1;
  }
  body[data-page="about"] .sec-sub {
    font-size: 0.85rem;
    margin-bottom: 20px;
  }
  body[data-page="about"] .sec-body {
    font-size: 0.82rem;
    line-height: 1.5;
    margin-bottom: 14px;
  }
  body[data-page="about"] .about-list {
    gap: 8px;
    margin: 12px 0 16px;
  }
  body[data-page="about"] .about-list li {
    font-size: 0.8rem;
    gap: 8px;
  }
}

/* --- MOBILE SWIPE CAROUSEL FOR CARDS --- */
@media (max-width: 768px) {
  .who-grid, .why-grid {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    gap: 16px !important;
    padding-bottom: 20px !important;
    /* Optional: Make it bleed to the edge of the screen */
    margin-right: -6% !important;
    padding-right: 6% !important;
  }
  .who-grid::-webkit-scrollbar, .why-grid::-webkit-scrollbar {
    display: none !important;
  }
  .who-card, .why-card {
    min-width: 75vw !important;
    max-width: 75vw !important;
    width: 75vw !important;
    min-height: 360px !important;
    padding: 40px 24px !important;
    scroll-snap-align: start !important;
    flex-shrink: 0 !important;
    border-radius: 0 !important;
    justify-content: center !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  
  /* Force visibility on mobile so off-screen cards are visible to peek and swipe */
  .who-card.reveal, .why-card.reveal, 
  .who-card[style], .why-card[style] {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  .who-card-icon {
    width: 40px !important;
    height: 40px !important;
    border-radius: 0 !important;
    font-size: 1.1rem !important;
    margin-bottom: 14px !important;
  }
  .who-nav-arrows, .why-nav-arrows {
    display: none !important;
  }
}

/* ══════════════════════════════════════════════════════════
   AGENCY MANIFESTO — Origin / Culture / Aim / Goals
   A four-chapter editorial scroll with a live progress rail.
   Deliberately NOT another card grid (who-grid/why-grid already
   own that pattern on this page) — this is a narrative reveal
   with a signature scroll-tracking index instead.
   ══════════════════════════════════════════════════════════ */

.manifesto-section {
  background: var(--bg2);
  padding: 90px 0 100px;
  position: relative;
  overflow: hidden;
}

.manifesto-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 85% 10%, rgba(249, 115, 22, .05) 0%, transparent 55%),
    radial-gradient(ellipse at 5% 90%, rgba(168, 232, 50, .06) 0%, transparent 55%);
  pointer-events: none;
}

.manifesto-body {
  position: relative;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 60px;
  margin-top: 54px;
}

/* ── Progress rail (signature element) ── */
.manifesto-rail {
  position: sticky;
  top: 130px;
  align-self: start;
  display: flex;
  flex-direction: column;
  z-index: 2;
}

.manifesto-rail-line {
  position: absolute;
  left: 5px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.manifesto-rail-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(var(--accent), var(--accent2));
  transition: height .2s linear;
}

.manifesto-rail-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 0;
  text-decoration: none;
}

.manifesto-rail-dot {
  position: relative;
  z-index: 1;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--card2);
  border: 2px solid var(--border);
  flex-shrink: 0;
  transition: all .3s;
}

.manifesto-rail-label {
  font-family: var(--font-head);
  letter-spacing: 1.5px;
  font-size: .92rem;
  text-transform: uppercase;
  color: var(--muted2);
  transition: color .3s;
}

.manifesto-rail-item.active .manifesto-rail-dot {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 5px rgba(168, 232, 50, .15);
}

.manifesto-rail-item.active .manifesto-rail-label {
  color: var(--accent);
}

.manifesto-rail-item:hover .manifesto-rail-label {
  color: var(--text);
}

/* ── Chapters ── */
.manifesto-chapters {
  display: flex;
  flex-direction: column;
  gap: 90px;
}

.manifesto-chapter {
  position: relative;
  display: grid;
  grid-template-columns: .9fr 1.15fr;
  gap: 50px;
  align-items: center;
}

.manifesto-chapter.reverse {
  grid-template-columns: 1.15fr .9fr;
}

.manifesto-chapter.reverse .manifesto-visual {
  order: 2;
}

.manifesto-chapter.reverse .manifesto-text {
  order: 1;
}

.manifesto-ghost {
  position: absolute;
  top: -46px;
  left: -4px;
  font-family: var(--font-head);
  font-size: clamp(4rem, 9vw, 8.5rem);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .035);
  line-height: 1;
  white-space: nowrap;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.manifesto-visual {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.manifesto-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 28% 22%, rgba(255, 255, 255, .22), transparent 60%);
}

.manifesto-visual i {
  position: relative;
  z-index: 1;
  font-size: 3.2rem;
  color: rgba(255, 255, 255, .95);
}

.mv-origin {
  background: linear-gradient(135deg, #10200a, var(--accent) 130%);
}

.mv-culture {
  background: linear-gradient(135deg, #2b1604, var(--accent2) 130%);
}

.mv-aim {
  background: linear-gradient(135deg, var(--accent2), var(--accent));
}

.mv-goals {
  background: linear-gradient(135deg, #0a0a0f, #163205 60%, var(--accent));
}

.manifesto-text {
  position: relative;
  z-index: 1;
}

.manifesto-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 13px;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: rgba(168, 232, 50, .12);
  color: var(--accent);
  border: 1px solid rgba(168, 232, 50, .2);
  margin-bottom: 16px;
}

.manifesto-text h3 {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  letter-spacing: .5px;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 14px;
}

.manifesto-text p {
  color: var(--muted);
  font-size: .89rem;
  line-height: 1.85;
  max-width: 540px;
}

.manifesto-text p em {
  color: var(--muted2);
  font-style: normal;
  font-size: .74rem;
  letter-spacing: .5px;
  display: block;
  margin-bottom: 6px;
}

.manifesto-quote {
  margin: 20px 0 0;
  padding-left: 18px;
  border-left: 3px solid var(--accent);
  font-family: var(--font-body);
  font-style: italic;
  color: var(--text);
  font-size: .95rem;
  line-height: 1.6;
}

.manifesto-quote cite {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-size: .7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted2);
}

.manifesto-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.manifesto-pill {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--muted);
  font-size: .76rem;
  font-weight: 500;
}

.manifesto-roadmap {
  display: flex;
  gap: 26px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.mr-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mr-eyebrow {
  font-family: var(--font-head);
  font-size: .68rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

.mr-label {
  font-size: .8rem;
  color: var(--muted);
  line-height: 1.45;
}

.mr-divider {
  width: 1px;
  background: var(--border);
  flex-shrink: 0;
}

/* ── Light mode ── */
[data-theme="light"] .manifesto-section {
  background: #ffffff;
}

[data-theme="light"] .manifesto-ghost {
  color: rgba(15, 23, 42, .045);
}

[data-theme="light"] .manifesto-tag {
  color: #a8e832;
  background: rgba(168, 232, 50, .14);
  border-color: rgba(168, 232, 50, .28);
}

[data-theme="light"] .manifesto-rail-item.active .manifesto-rail-label {
  color: #a8e832;
}

[data-theme="light"] .manifesto-rail-item.active .manifesto-rail-dot {
  background: #a8e832;
  border-color: #a8e832;
}

[data-theme="light"] .mr-eyebrow {
  color: #a8e832;
}

[data-theme="light"] .manifesto-visual {
  border-color: rgba(15, 23, 42, .10);
  box-shadow: 0 6px 22px rgba(15, 23, 42, .12);
}

[data-theme="light"] .manifesto-pill {
  box-shadow: 0 1px 4px rgba(15, 23, 42, .05);
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .manifesto-chapter,
  .manifesto-chapter.reverse {
    grid-template-columns: .8fr 1.2fr;
    gap: 36px;
  }
}

@media (max-width: 960px) {
  .manifesto-body {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 30px;
  }

  .manifesto-rail {
    position: sticky;
    top: 62px;
    flex-direction: row;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    background: var(--bg2);
    z-index: 5;
    padding: 8px 0 14px;
    margin-bottom: 26px;
    border-bottom: 1px solid var(--border);
  }

  .manifesto-rail::-webkit-scrollbar {
    display: none;
  }

  .manifesto-rail-line {
    display: none;
  }

  .manifesto-rail-item {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 4px 20px;
    flex-shrink: 0;
  }

  .manifesto-chapters {
    gap: 60px;
  }

  .manifesto-chapter,
  .manifesto-chapter.reverse {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .manifesto-chapter.reverse .manifesto-visual,
  .manifesto-chapter.reverse .manifesto-text {
    order: initial;
  }

  .manifesto-visual {
    order: -1;
    aspect-ratio: 16 / 9;
  }

  .manifesto-ghost {
    top: -22px;
    font-size: clamp(2.4rem, 11vw, 4rem);
  }

  .manifesto-text p {
    max-width: none;
  }
}

[data-theme="light"] .manifesto-rail {
  background: #ffffff;
}

@media (max-width: 640px) {
  .manifesto-roadmap {
    flex-direction: column;
    gap: 16px;
  }

  .mr-divider {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .manifesto-rail-fill {
    transition: none;
  }
}