/* ─────────────────────────────────────────────────────────────
   ABOUT PAGE — /about/

   The landing page (templates/website/home_services.html) carries its
   design system in a ~2280-line inline <style> block. Rather than paste a
   third copy of it into another template, the shared layer is lifted here
   verbatim so /about/ renders in the same visual language: same tokens,
   same navbar, same page loader, same section primitives.

   Blocks below are copied from home_services.html at the line ranges noted.
   If the landing page's tokens or navbar change, these must change with them.
   Page-specific rules live at the bottom, under "ABOUT — PAGE SPECIFIC".
───────────────────────────────────────────────────────────── */

/* ══ tokens · reset · layout helpers · announce bar — home_services.html:49-134 ══ */
    /* ─────────────────────────────────────────────
       DESIGN TOKENS
    ───────────────────────────────────────────── */
    :root {
      --black:          #0a0a0a;
      --black-2:        #111111;
      --black-3:        #161616;
      --white:          #ffffff;
      --gray-1:         #e8e8e8;
      --gray-2:         #b0b0b0;
      --gray-3:         #6a6a6a;
      --gray-4:         #2a2a2a;
      --border:         rgba(255, 255, 255, 0.12);
      --border-hover:   rgba(255, 255, 255, 0.28);

      --radius-sm:      4px;
      --radius-md:      8px;
      --radius-lg:      14px;
      --radius-xl:      20px;

      --shadow-card:    0 4px 32px rgba(0, 0, 0, 0.5);
      --shadow-hover:   0 12px 48px rgba(0, 0, 0, 0.7);

      --transition:     0.25s ease;
      --transition-slow:0.6s ease;

      --font-main:      'Outfit', sans-serif;
      --font-mono:      'JetBrains Mono', monospace;

      --section-v:      7rem;

      /* Navbar (immutable) */
      --primary-black:  #0a0a0a;
      --secondary-white:#ffffff;
      --transition-duration: 0.6s;
      --menu-z-index:   9999;
    }

    /* ─────────────────────────────────────────────
       RESET & BASE
    ───────────────────────────────────────────── */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }

    body {
      font-family: var(--font-main);
      background-color: var(--black);
      color: var(--gray-1);
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
    }

    a { color: inherit; text-decoration: none; }
    img { display: block; max-width: 100%; }

    /* ─────────────────────────────────────────────
       LAYOUT HELPERS
    ───────────────────────────────────────────── */
    .site-wrap {
      position: relative;
      z-index: 1;
    }

    .container {
      width: 100%;
      margin: 0 auto;
      padding: 0 2rem;
    }

    section { position: relative; z-index: 1; }

    /* ─────────────────────────────────────────────
       ANNOUNCE BAR
    ───────────────────────────────────────────── */
    .announce-bar {
      text-align: center;
      padding: 9px 2rem;
      font-family: var(--font-mono);
      font-size: 0.68rem;
      letter-spacing: 0.16em;
      color: var(--gray-3);
      text-transform: uppercase;
      border-bottom: 1px solid var(--border);
      background: rgba(10,10,10,0.7);
    }


/* ══ navbar (immutable source of truth) — home_services.html:135-380 ══ */
    /* ─────────────────────────────────────────────
       NAVBAR — IMMUTABLE SOURCE OF TRUTH
    ───────────────────────────────────────────── */
    .navbar {
      position: sticky;
      top: 20px;
      z-index: var(--menu-z-index);
      border-radius: 8px;
      margin: 16px auto;
      border: 1px solid rgba(255, 255, 255, 0.18);
      max-width: 720px;
      padding: 10px 20px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
      backdrop-filter: blur(9px);
      background-color: transparent;
    }

    .navbar-logo {
      display: flex;
      align-items: center;
      text-decoration: none;
    }

    .navbar-logo-img {
      height: 28px;
      width: 28px;
      border-radius: 4px;
      margin-right: 8px;
    }

    .navbar-logo-text {
      color: #fff;
      font-family: Outfit, sans-serif;
      font-size: 18px;
      font-weight: 600;
    }

    .navbar-links {
      display: flex;
      gap: 16px;
    }

    .navbar-links a {
      color: #fff;
      text-decoration: none;
      font-family: Outfit, sans-serif;
      font-size: 14px;
      display: inline-block;
    }

    .navbar-cta {
      background: linear-gradient(259deg, #242424 0%, #101010 100%);
      color: #fff;
      padding: 6px 14px;
      border-radius: 4px;
      font-family: Outfit, sans-serif;
      font-size: 14px;
      text-decoration: none;
      border: 1px solid rgba(255, 255, 255, 0.2);
      margin-left: 16px;
      display: inline-block;
    }

    .menu-toggle {
      display: none;
      cursor: pointer;
      z-index: calc(var(--menu-z-index) + 1);
      padding: 0.5rem;
      position: relative;
    }

    .toggle-wrapper {
      position: relative;
      width: 60px;
      height: 27px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      align-items: flex-end;
    }

    .toggle-text {
      color: var(--secondary-white);
      font-size: 16px;
      font-weight: 500;
      letter-spacing: 1px;
      line-height: 1;
      transition: transform var(--transition-duration) ease, opacity var(--transition-duration) ease;
      position: absolute;
      right: 0;
    }

    .toggle-text.show { transform: translateY(0); opacity: 1; pointer-events: auto; }
    .toggle-text.hide { transform: translateY(100%); opacity: 0; pointer-events: none; }
    .menu-toggle.active .toggle-text.show { transform: translateY(-100%); opacity: 0; pointer-events: none; }
    .menu-toggle.active .toggle-text.hide { transform: translateY(0); opacity: 1; pointer-events: auto; }

    .navbar-hamburger {
      display: none;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      width: 40px;
      height: 30px;
      background: none;
      border: none;
      cursor: pointer;
      margin-left: 10px;
      z-index: calc(var(--menu-z-index) + 1);
    }

    .navbar-hamburger .bar {
      display: block;
      width: 28px;
      height: 4px;
      margin: 4px 0;
      background: #fff;
      border-radius: 2px;
      transition: 0.3s;
    }

    .close-btn {
      position: relative;
      width: 28px;
      height: 28px;
      cursor: pointer;
    }

    .bar2 {
      position: absolute;
      width: 28px;
      height: 4px;
      background: #000;
      border-radius: 2px;
      transition: 0.3s;
      top: 50%; left: 50%;
      transform: translate(-50%, -50%);
    }
    .bar2.line1 { transform: translate(-50%, -50%) rotate(45deg); }
    .bar2.line2 { transform: translate(-50%, -50%) rotate(-45deg); }

    .menu-overlay {
      position: fixed;
      top: 0; left: 0;
      width: 100vw; height: 100vh;
      z-index: calc(var(--menu-z-index) - 1);
      visibility: hidden;
      opacity: 0;
      transition: visibility 0s var(--transition-duration), opacity var(--transition-duration) ease;
    }

    .menu-overlay.active {
      visibility: visible;
      opacity: 1;
      transition: visibility 0s, opacity var(--transition-duration) ease;
    }

    .background-panels {
      position: absolute;
      top: 0; left: 0;
      width: 100%; height: 100%;
      display: grid;
      grid-template-rows: 1fr 1fr 1fr;
      perspective: 1000px;
    }

    .panel {
      background-color: var(--secondary-white);
      width: 100%; height: 0;
      transform-origin: 50% 0%;
      transform: perspective(1800px) rotateX(-115deg);
      transition: height 0.8s ease, transform 0.8s ease;
      backface-visibility: hidden;
    }

    .panel-top { transform-origin: 50% 100%; }
    .panel-middle { transform-origin: 50% 50%; }
    .panel-bottom { transform-origin: 50% 0%; }

    .menu-overlay.active .panel { height: 100%; transform: perspective(1800px) rotateX(0deg); }
    .menu-overlay.active .panel-top    { transition-delay: 0.1s; }
    .menu-overlay.active .panel-middle { transition-delay: 0.2s; }
    .menu-overlay.active .panel-bottom { transition-delay: 0.3s; }

    .navigation-links {
      position: absolute;
      top: 50%; left: 50%;
      transform: translate(-50%, -50%);
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
      z-index: 2;
    }

    .link-container {
      overflow: hidden;
      position: relative;
      height: 5rem;
    }

    .navigation-link {
      text-decoration: none;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      height: 100%;
      position: relative;
      overflow: hidden;
    }

    .link-text {
      font-family: Impact, "Arial Black", sans-serif;
      font-size: 3rem;
      font-weight: 400;
      line-height: 0.8;
      color: var(--primary-black);
      transition: transform var(--transition-duration) ease;
      transform: translateY(170%);
    }

    .menu-overlay.active .link-text { transform: translateY(0); }
    .menu-overlay.active .link-container:nth-child(1) .link-text { transition-delay: 0.4s; }
    .menu-overlay.active .link-container:nth-child(2) .link-text { transition-delay: 0.5s; }
    .menu-overlay.active .link-container:nth-child(3) .link-text { transition-delay: 0.6s; }
    .menu-overlay.active .link-container:nth-child(4) .link-text { transition-delay: 0.7s; }

    @media (max-width: 900px) {
      .navbar-links, .navbar-cta { display: none; }
      .menu-toggle { display: block; }
      .navbar-hamburger { display: flex; }
    }

    @media (max-width: 768px) {
      .link-text { font-size: 2rem; }
    }

    @media (max-width: 480px) {
      .link-text { font-size: 1.3rem; }
      .navigation-links { gap: 1rem; }
      .link-container { height: 4rem; }
    }
    /* ─── END IMMUTABLE NAVBAR ─── */

/* ══ hero motion keyframes — home_services.html:549-568 ══ */
/*    hero-sweep is required by .loader-word span, below. */
    /* ── HERO MOTION ──
       Entrance: each element rises out of a blur, staggered.
       Sweep: a slow highlight travels across the headline, built from the
       text's own colour so the palette is unchanged.
       Sheen: a diagonal gloss crosses the buttons on a loop. */
    @keyframes hero-rise {
      from { opacity: 0; filter: blur(8px); transform: translateY(30px); }
      to   { opacity: 1; filter: blur(0);   transform: translateY(0); }
    }

    @keyframes hero-sweep {
      from { background-position: 200% 0; }
      to   { background-position: -200% 0; }
    }

    @keyframes hero-sheen {
      from { left: -100%; }
      to   { left: 150%; }
    }


/* ══ buttons + stat primitives — home_services.html:877-948 ══ */
    .btn-primary {
      background: var(--white);
      color: var(--black);
      font-family: var(--font-main);
      font-weight: 600;
      font-size: 0.9rem;
      padding: 13px 28px;
      border-radius: var(--radius-md);
      border: 1px solid var(--white);
      cursor: pointer;
      transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    }

    .btn-primary:hover {
      background: var(--gray-1);
      transform: translateY(-2px);
      box-shadow: 0 8px 32px rgba(255,255,255,0.15);
    }

    .btn-secondary {
      background: transparent;
      color: var(--white);
      font-family: var(--font-main);
      font-weight: 500;
      font-size: 0.9rem;
      padding: 13px 28px;
      border-radius: var(--radius-md);
      border: 1px solid var(--border);
      cursor: pointer;
      transition: border-color var(--transition), transform var(--transition), background var(--transition);
    }

    .btn-secondary:hover {
      border-color: var(--border-hover);
      background: rgba(255,255,255,0.04);
      transform: translateY(-2px);
    }

    .hero-stats {
      display: flex;
      align-items: center;
      gap: 3rem;
      margin-top: 4rem;
      padding-top: 2.4rem;
      border-top: 1px solid var(--border);
      opacity: 0;
      animation: fade-up 0.9s 0.75s ease forwards;
      flex-wrap: wrap;
    }

    .stat-item { display: flex; flex-direction: column; gap: 4px; }

    .stat-num {
      font-family: var(--font-main);
      font-size: 2rem;
      font-weight: 700;
      color: var(--white);
      line-height: 1;
    }

    .stat-label {
      font-size: 0.74rem;
      color: var(--gray-3);
      letter-spacing: 0.06em;
      text-transform: uppercase;
      font-family: var(--font-mono);
    }

    .stat-divider {
      width: 1px; height: 40px;
      background: var(--border);
    }

/* ══ section shared · card · services grid · project cards — home_services.html:993-1268 ══ */
    /* ─────────────────────────────────────────────
       SECTION SHARED
    ───────────────────────────────────────────── */
    .section { padding: var(--section-v) 0; }

    .section-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-family: var(--font-mono);
      font-size: 0.66rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--gray-3);
      margin-bottom: 1.2rem;
    }

    .section-eyebrow::before {
      content: '';
      display: block;
      width: 20px; height: 1px;
      background: var(--gray-3);
    }

    .section-title {
      font-family: var(--font-main);
      font-size: clamp(2rem, 4vw, 3.2rem);
      font-weight: 700;
      color: var(--white);
      line-height: 1.1;
      letter-spacing: -0.025em;
    }

    .section-desc {
      font-size: 1rem;
      color: var(--gray-2);
      line-height: 1.75;
      max-width: 520px;
    }

    /* ─────────────────────────────────────────────
       TRANSPARENT CARD — BASE
    ───────────────────────────────────────────── */
    .card {
      background: transparent;
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 2.2rem;
      backdrop-filter: blur(0px);
      transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
    }

    .card:hover {
      transform: translateY(-5px);
      border-color: var(--border-hover);
      box-shadow: var(--shadow-hover);
    }

    /* ─────────────────────────────────────────────
       CAPABILITIES / SERVICES
    ───────────────────────────────────────────── */
    .services-header {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 4rem;
      align-items: end;
      margin-bottom: 4rem;
    }

    /* Full-bleed wrapper — same edge padding as the hero, no max-width. */
    .container-bleed {
      width: 100%;
      padding: 0 clamp(1.25rem, 4vw, 4.5rem);
    }

    .services-grid {
      position: relative;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1px;
      background: var(--border);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      overflow: hidden;
    }

    /* The six cards read as one interlocking sheet: a circular tab straddles
       every internal seam, painted over the cards (z-index 2) so the tab's
       fill hides the seam line running under it. Positions are percentages,
       so they track the grid at any width — see the breakpoint overrides. */
    .services-grid::after {
      content: '';
      position: absolute;
      inset: 0;
      pointer-events: none;
      z-index: 2;
      background-repeat: no-repeat;
      background-image:
        radial-gradient(circle 11px at 33.333% 25%, var(--black) 0 10px, var(--border) 10px 11px, transparent 11px),
        radial-gradient(circle 11px at 33.333% 75%, var(--black) 0 10px, var(--border) 10px 11px, transparent 11px),
        radial-gradient(circle 11px at 66.667% 25%, var(--black) 0 10px, var(--border) 10px 11px, transparent 11px),
        radial-gradient(circle 11px at 66.667% 75%, var(--black) 0 10px, var(--border) 10px 11px, transparent 11px),
        radial-gradient(circle 11px at 16.667% 50%, var(--black) 0 10px, var(--border) 10px 11px, transparent 11px),
        radial-gradient(circle 11px at 50%     50%, var(--black) 0 10px, var(--border) 10px 11px, transparent 11px),
        radial-gradient(circle 11px at 83.333% 50%, var(--black) 0 10px, var(--border) 10px 11px, transparent 11px);
    }

    .service-card {
      background: var(--black);
      padding: 2.4rem 2rem;
      transition: background var(--transition);
      position: relative;
    }

    .service-card::after {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 1px;
      background: linear-gradient(90deg, var(--white), transparent);
      opacity: 0;
      transition: opacity var(--transition);
    }

    .service-card:hover { background: var(--black-3); }
    .service-card:hover::after { opacity: 0.3; }

    .svc-num {
      font-family: var(--font-mono);
      font-size: 0.62rem;
      color: var(--gray-3);
      letter-spacing: 0.12em;
      margin-bottom: 1.2rem;
    }

    .svc-icon { font-size: 1.4rem; margin-bottom: 1rem; display: block; }

    .svc-title {
      font-size: 1.05rem;
      font-weight: 600;
      color: var(--white);
      margin-bottom: 0.7rem;
    }

    .svc-desc {
      font-size: 0.86rem;
      color: var(--gray-3);
      line-height: 1.65;
    }

    /* ─────────────────────────────────────────────
       PROJECTS / PORTFOLIO
    ───────────────────────────────────────────── */
    .projects-header {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      margin-bottom: 3.5rem;
      gap: 2rem;
    }

    .projects-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1px;
      background: var(--border);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      overflow: hidden;
    }

    .proj-card {
      background: var(--black);
      padding: 2.4rem;
      display: flex;
      flex-direction: column;
      transition: background var(--transition);
    }

    .proj-card:hover { background: var(--black-3); }
    .proj-card.featured { grid-column: span 2; }

    .proj-status {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      font-family: var(--font-mono);
      font-size: 0.62rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--gray-3);
      margin-bottom: 1.6rem;
    }

    .proj-status-dot {
      width: 6px; height: 6px;
      border-radius: 50%;
      background: currentColor;
    }

    .proj-status.live   { color: #5dff8f; }
    .proj-status.dev    { color: var(--gray-2); }
    .proj-status.ship   { color: var(--gray-3); }

    .proj-status.live .proj-status-dot { animation: blink 2s infinite; }

    @keyframes blink {
      0%, 100% { opacity: 1; }
      50% { opacity: 0.3; }
    }

    .proj-title {
      font-size: 1.5rem;
      font-weight: 700;
      color: var(--white);
      margin-bottom: 0.7rem;
      line-height: 1.2;
    }

    .proj-card.featured .proj-title { font-size: 1.9rem; }

    .proj-featured-stats {
      display: flex; gap: 2.5rem;
      margin-bottom: 1.5rem; flex-wrap: wrap;
    }

    .feat-stat { display: flex; flex-direction: column; gap: 3px; }

    .feat-stat-num {
      font-size: 1.6rem;
      font-weight: 700;
      color: var(--white);
      line-height: 1;
    }

    .feat-stat-label {
      font-size: 0.72rem;
      color: var(--gray-3);
      font-family: var(--font-mono);
    }

    .proj-desc {
      font-size: 0.9rem;
      color: var(--gray-2);
      line-height: 1.7;
      margin-bottom: 1.8rem;
      flex: 1;
    }

    .proj-tags {
      display: flex; flex-wrap: wrap; gap: 7px;
      margin-bottom: 1.8rem;
    }

    .proj-tag {
      font-family: var(--font-mono);
      font-size: 0.62rem;
      color: var(--gray-3);
      border: 1px solid var(--border);
      padding: 4px 10px;
      border-radius: 20px;
      letter-spacing: 0.05em;
    }

    .proj-link {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 0.84rem;
      font-weight: 600;
      color: var(--white);
      transition: gap var(--transition);
    }

    .proj-link:hover { gap: 14px; }


/* ══ infrastructure nodes — home_services.html:1325-1369 ══ */
    /* ─────────────────────────────────────────────
       INFRASTRUCTURE SECTION
    ───────────────────────────────────────────── */
    .infra-wrap {
      display: grid;
      grid-template-columns: 1fr 1.1fr;
      gap: 5rem;
      align-items: center;
    }

    .infra-nodes {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1px;
      background: var(--border);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      overflow: hidden;
    }

    .infra-node {
      background: var(--black);
      padding: 1.6rem;
      display: flex;
      flex-direction: column;
      gap: 8px;
      transition: background var(--transition);
    }

    .infra-node:hover { background: var(--black-3); }

    .infra-node-icon { font-size: 1.2rem; }

    .infra-node-title {
      font-size: 0.88rem;
      font-weight: 600;
      color: var(--white);
    }

    .infra-node-desc {
      font-size: 0.78rem;
      color: var(--gray-3);
      line-height: 1.5;
    }


/* ══ CTA section — home_services.html:1370-1411 ══ */
    /* ─────────────────────────────────────────────
       CTA SECTION
    ───────────────────────────────────────────── */
    .cta-section {
      padding: 6rem 0;
      border-top: 1px solid var(--border);
      text-align: center;
    }

    .cta-title {
      font-family: var(--font-main);
      font-size: clamp(2.2rem, 5vw, 3.8rem);
      font-weight: 700;
      color: var(--white);
      line-height: 1.1;
      margin-bottom: 1.2rem;
    }

    .cta-sub {
      font-size: 1.05rem;
      color: var(--gray-2);
      max-width: 500px;
      margin: 0 auto 2.5rem;
      line-height: 1.7;
    }

    .cta-actions {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 1rem;
      flex-wrap: wrap;
      margin-bottom: 1.5rem;
    }

    .cta-meta {
      font-family: var(--font-mono);
      font-size: 0.65rem;
      color: var(--gray-3);
      letter-spacing: 0.12em;
    }


/* ══ animations · page loader · scroll reveal — home_services.html:1412-1528 ══ */
    /* ─────────────────────────────────────────────
       ANIMATIONS
    ───────────────────────────────────────────── */
    @keyframes fade-up {
      from { opacity: 0; transform: translateY(24px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    /* ─────────────────────────────────────────────
       PAGE LOADER
       Three beats: the mark scales in, the wordmark wipes open beside it,
       then the whole overlay fades away and stops intercepting clicks.
    ───────────────────────────────────────────── */
    .loader {
      position: fixed;
      inset: 0;
      z-index: 10000;              /* above --menu-z-index (9999) */
      display: flex;
      align-items: center;
      justify-content: center;
      background: var(--black);
      animation: loader-dismiss 0.6s 2.7s ease forwards;
    }

    .loader-row {
      display: flex;
      align-items: center;
    }

    .loader-mark {
      flex-shrink: 0;
      /* Larger than the reference's mark: this logo is dark-on-black, so it
         needs the size for its rim to read. */
      width: clamp(52px, 8vw, 92px);
      opacity: 0;
      animation: loader-mark-in 1.1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    }

    /* Wipes open from zero width, which reads as the word being written out. */
    .loader-word {
      overflow: hidden;
      white-space: nowrap;
      max-width: 0;
      animation: loader-word-open 1.4s 0.65s cubic-bezier(0.65, 0.05, 0.36, 1) forwards;
    }

    .loader-word span {
      display: block;
      padding-left: 1rem;
      /* Same face and weight as the hero headline (Outfit 800), so the loader
         hands off to the page rather than introducing a second voice. */
      font-family: var(--font-main);
      /* Sized for the full company name on one line, mark included. */
      font-size: clamp(0.95rem, 3vw, 2.5rem);
      font-weight: 800;
      letter-spacing: -0.02em;
      user-select: none;
      /* Same light sweep as the headline, so the two feel related. */
      color: transparent;
      background-image: linear-gradient(100deg,
        rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.45) 40%,
        #fff 50%, #fff 60%,
        rgba(255, 255, 255, 0.45) 100%);
      background-size: 220% 100%;
      -webkit-background-clip: text;
      background-clip: text;
      animation: hero-sweep 3.5s linear infinite;
    }

    @keyframes loader-mark-in {
      from { opacity: 0; transform: scale(0.5); }
      to   { opacity: 1; transform: scale(1); }
    }

    /* The target only has to exceed the rendered width of the name; the wipe
       finishes when it passes it. */
    @keyframes loader-word-open {
      from { max-width: 0; }
      to   { max-width: 760px; }
    }

    /* visibility is a discrete property — it would flip at the midpoint and pop
       the overlay out mid-fade, so it is held until the very last frame. */
    @keyframes loader-dismiss {
      0%   { opacity: 1; visibility: visible; }
      99%  { opacity: 0; visibility: visible; }
      100% { opacity: 0; visibility: hidden; }
    }

    @media (prefers-reduced-motion: reduce) {
      .loader { animation: loader-dismiss 0.01s forwards; }
    }

    /* Android / small screens: the 52px clamp floor dwarfs the ~15px word — pin
       the mark to just a touch larger than the text instead. */
    @media (max-width: 640px) {
      .loader-mark { width: 26px; }
    }

    .reveal {
      opacity: 0;
      transform: translateY(28px);
      transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .reveal.visible {
      opacity: 1;
      transform: translateY(0);
    }

    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
      }
    }


/* ══ responsive · focus states — home_services.html:2217-2288 ══ */
    /* ─────────────────────────────────────────────
       RESPONSIVE
    ───────────────────────────────────────────── */
    @media (max-width: 900px) {
      .services-header  { grid-template-columns: 1fr; gap: 2rem; }
      .services-grid    { grid-template-columns: 1fr 1fr; }
      /* 2 × 3: one vertical seam, two horizontal ones. */
      .services-grid::after {
        background-image:
          radial-gradient(circle 11px at 50% 16.667%, var(--black) 0 10px, var(--border) 10px 11px, transparent 11px),
          radial-gradient(circle 11px at 50% 50%,     var(--black) 0 10px, var(--border) 10px 11px, transparent 11px),
          radial-gradient(circle 11px at 50% 83.333%, var(--black) 0 10px, var(--border) 10px 11px, transparent 11px),
          radial-gradient(circle 11px at 25% 33.333%, var(--black) 0 10px, var(--border) 10px 11px, transparent 11px),
          radial-gradient(circle 11px at 75% 33.333%, var(--black) 0 10px, var(--border) 10px 11px, transparent 11px),
          radial-gradient(circle 11px at 25% 66.667%, var(--black) 0 10px, var(--border) 10px 11px, transparent 11px),
          radial-gradient(circle 11px at 75% 66.667%, var(--black) 0 10px, var(--border) 10px 11px, transparent 11px);
      }
      .projects-grid    { grid-template-columns: 1fr; }
      .proj-card.featured { grid-column: span 1; }
      .sp-grid          { grid-template-columns: 1fr 1fr; }
      .infra-wrap       { grid-template-columns: 1fr; gap: 3rem; }
      :root { --section-v: 5rem; }
    }

    @media (max-width: 768px) {
      .hero-section { padding: 4rem 2rem 4rem; min-height: auto; }
      .sp-grid      { grid-template-columns: 1fr; }
      .hero-stats   { gap: 1.5rem; }
      .stat-divider { display: none; }
      /* Comment cards stack on mobile — handled by JS */
      #cmnt-layout  { height: auto !important; display: flex !important; flex-direction: column !important; gap: 1.5rem !important; align-items: center !important; perspective: none !important; }
      .cmnt-wrap    { position: relative !important; top: 0 !important; left: 0 !important; width: 100% !important; max-width: 520px !important; }
      /* Arch stack scale down */
      #arch-stack   { transform: rotateX(60deg) rotateZ(-35deg) scale(0.72) !important; }
    }

    @media (max-width: 600px) {
      .services-grid { grid-template-columns: 1fr; }
      /* Single column: five horizontal seams, tabs down the middle. */
      .services-grid::after {
        background-image:
          radial-gradient(circle 10px at 50% 16.667%, var(--black) 0 9px, var(--border) 9px 10px, transparent 10px),
          radial-gradient(circle 10px at 50% 33.333%, var(--black) 0 9px, var(--border) 9px 10px, transparent 10px),
          radial-gradient(circle 10px at 50% 50%,     var(--black) 0 9px, var(--border) 9px 10px, transparent 10px),
          radial-gradient(circle 10px at 50% 66.667%, var(--black) 0 9px, var(--border) 9px 10px, transparent 10px),
          radial-gradient(circle 10px at 50% 83.333%, var(--black) 0 9px, var(--border) 9px 10px, transparent 10px);
      }
      .infra-nodes   { grid-template-columns: 1fr; }
      .projects-header { flex-direction: column; align-items: flex-start; }
    }

    @media (max-width: 480px) {
      .navbar-2 { font-size: 0.72rem;}
      .hero-section {padding:1rem 1rem 4rem; min-height:auto; text-align:left;}
      .container {width: 100%; margin:0 auto; padding: 0 1rem;}
      .btn-primary, .btn-secondary { width: 100%; justify-content: center; text-align: center; }
      .hero-actions { flex-direction: column; }
      .cta-actions  { flex-direction: column; align-items: stretch; }
      .cta-actions .btn-primary,
      .cta-actions .btn-secondary { width: 100%; text-align: center; }
    }

    @media (max-width: 360px) {
      h1.hero-title { font-size: 2.4rem; }
    }

    /* Focus states */
    :focus-visible {
      outline: 2px solid var(--white);
      outline-offset: 3px;
    }
                      

    /* ═════════════════════════════════════════════════════════
       ABOUT — PAGE SPECIFIC
       Everything above is shared with the landing page. Everything
       below exists only on /about/.
    ═════════════════════════════════════════════════════════ */

    /* The landing page's status vocabulary is live / dev / ship. This page
       also has products that have not been started, which must not borrow
       the "shipped" class just because the colour happens to suit. */
    .proj-status.planned { color: var(--gray-3); }

    /* ── Hero ──
       Deliberately quieter than the landing page hero: no mascot, no
       pinned rail, no sheen on the buttons. The job of this block is to
       answer "what is Dimroid" in the first paragraph a crawler reads. */
    .about-hero {
      padding: 9rem 0 4rem;
      border-bottom: 1px solid var(--border);
    }

    .about-title {
      font-family: var(--font-main);
      font-size: clamp(2.6rem, 6vw, 4.6rem);
      font-weight: 800;
      line-height: 1.02;
      letter-spacing: -0.035em;
      color: var(--white);
      margin: 1.4rem 0 1.8rem;
      max-width: 16ch;
    }

    /* The answer sentence. It is the first prose on the page on purpose —
       it is what Google quotes for "what is dimroid". */
    .about-lede {
      font-size: clamp(1.02rem, 1.5vw, 1.22rem);
      line-height: 1.65;
      color: var(--gray-1);
      max-width: 62ch;
    }

    .about-lede strong { color: var(--white); font-weight: 600; }

    /* ── Fact strip ── */
    .fact-strip {
      display: flex;
      flex-wrap: wrap;
      gap: 1px;
      margin-top: 3rem;
      background: var(--border);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      overflow: hidden;
    }

    .fact {
      flex: 1 1 190px;
      background: var(--black);
      padding: 1.5rem 1.6rem;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .fact-k {
      font-family: var(--font-mono);
      font-size: 0.62rem;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--gray-3);
    }

    .fact-v {
      font-size: 1.06rem;
      font-weight: 600;
      color: var(--white);
      line-height: 1.25;
    }

    /* ── Prose blocks ── */
    .prose { max-width: 68ch; }
    .prose p { color: var(--gray-2); line-height: 1.8; margin-bottom: 1.3rem; }
    .prose p:last-child { margin-bottom: 0; }
    .prose strong { color: var(--white); font-weight: 600; }
    .prose a { color: var(--white); border-bottom: 1px solid var(--border); }
    .prose a:hover { border-bottom-color: var(--white); }

    /* A pulled-out statement — mission, thesis. Reads as the company
       speaking rather than describing itself. */
    .pull {
      border-left: 2px solid var(--white);
      padding: 0.3rem 0 0.3rem 1.6rem;
      margin: 2.2rem 0;
      font-size: clamp(1.1rem, 1.8vw, 1.45rem);
      font-weight: 500;
      line-height: 1.45;
      color: var(--white);
      letter-spacing: -0.015em;
      max-width: 46ch;
    }

    /* ── Two-column body: prose left, supporting panel right ── */
    .split {
      display: grid;
      grid-template-columns: 1.15fr 1fr;
      gap: 4.5rem;
      align-items: start;
    }

    .side-panel {
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 2.2rem;
      background: var(--black-2);
    }

    .side-panel-title {
      font-family: var(--font-mono);
      font-size: 0.64rem;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--gray-3);
      margin-bottom: 1.4rem;
    }

    .side-panel ul { list-style: none; display: grid; gap: 1rem; }

    .side-panel li {
      display: grid;
      grid-template-columns: auto 1fr;
      gap: 0.9rem;
      align-items: baseline;
      font-size: 0.92rem;
      color: var(--gray-2);
      line-height: 1.6;
    }

    .side-panel li::before {
      content: '';
      width: 5px; height: 5px;
      border-radius: 50%;
      background: var(--gray-3);
      transform: translateY(-3px);
    }

    .side-panel li strong { color: var(--white); font-weight: 600; }

    /* ── Founder ── */
    .founder {
      display: grid;
      grid-template-columns: auto 1fr;
      gap: 2.2rem;
      align-items: start;
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 2.6rem;
    }

    .founder-mark {
      width: 76px; height: 76px;
      border-radius: var(--radius-md);
      border: 1px solid var(--border);
      display: grid;
      place-items: center;
      font-family: var(--font-main);
      font-size: 1.6rem;
      font-weight: 700;
      color: var(--white);
      background: var(--black-3);
      flex-shrink: 0;
    }

    .founder-name {
      font-size: 1.5rem;
      font-weight: 700;
      color: var(--white);
      letter-spacing: -0.02em;
    }

    .founder-role {
      font-family: var(--font-mono);
      font-size: 0.66rem;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--gray-3);
      margin: 0.6rem 0 1.3rem;
    }

    .founder p { color: var(--gray-2); line-height: 1.75; max-width: 62ch; }

    /* ── Grant panel — the credibility block ── */
    .grant {
      border: 1px solid var(--border-hover);
      border-radius: var(--radius-lg);
      padding: 2.6rem;
      background:
        radial-gradient(120% 140% at 0% 0%, rgba(255,255,255,0.05), transparent 60%),
        var(--black-2);
    }

    .grant-amount {
      font-family: var(--font-main);
      font-size: clamp(2.6rem, 6vw, 4rem);
      font-weight: 800;
      letter-spacing: -0.04em;
      color: var(--white);
      line-height: 1;
    }

    .grant-caption {
      font-family: var(--font-mono);
      font-size: 0.66rem;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--gray-3);
      margin-top: 1rem;
    }

    /* ── Roadmap timeline ── */
    .tl { display: grid; gap: 1px; background: var(--border); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

    .tl-row {
      display: grid;
      grid-template-columns: 190px 1fr;
      gap: 2rem;
      background: var(--black);
      padding: 1.8rem 0.2rem;
      align-items: baseline;
    }

    .tl-when {
      font-family: var(--font-mono);
      font-size: 0.68rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--gray-3);
    }

    .tl-what { font-size: 1rem; color: var(--gray-1); line-height: 1.6; }
    .tl-what em { display: block; font-style: normal; color: var(--gray-3); font-size: 0.88rem; margin-top: 6px; }

    /* ── Reading links ── */
    .read-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }

    .read-card {
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 2rem;
      transition: border-color var(--transition), transform var(--transition);
      display: block;
    }

    .read-card:hover { border-color: var(--border-hover); transform: translateY(-3px); }
    .read-card h3 { font-size: 1.1rem; font-weight: 600; color: var(--white); margin-bottom: 0.7rem; }
    .read-card p { font-size: 0.9rem; color: var(--gray-2); line-height: 1.65; }

    .read-go {
      display: inline-flex; align-items: center; gap: 8px;
      margin-top: 1.3rem;
      font-family: var(--font-mono);
      font-size: 0.66rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--white);
    }

    /* ── About breakpoints ── */
    @media (max-width: 900px) {
      .about-hero { padding: 7rem 0 3rem; }
      .split      { grid-template-columns: 1fr; gap: 2.5rem; }
      .read-grid  { grid-template-columns: 1fr; }
      .tl-row     { grid-template-columns: 1fr; gap: 0.6rem; }
    }

    @media (max-width: 600px) {
      .about-title { max-width: none; }
      .founder     { grid-template-columns: 1fr; gap: 1.6rem; padding: 2rem; }
      .fact        { flex-basis: 100%; }
      .grant       { padding: 2rem; }
    }

    /* ═════════════════════════════════════════════════════════
       FOUNDER PAGE — /about/ukwedje-taiwo-goodness/
       Shares everything above with /about/. Only what is unique to
       the person page lives here.
    ═════════════════════════════════════════════════════════ */

    /* The portrait slot. Currently a monogram; swapping in a real photo
       means replacing the inner text with an <img> and nothing else —
       the frame, size and radius already suit a square crop. */
    .portrait {
      width: clamp(104px, 14vw, 148px);
      aspect-ratio: 1;
      border-radius: var(--radius-lg);
      border: 1px solid var(--border);
      background: var(--black-3);
      display: grid;
      place-items: center;
      font-family: var(--font-main);
      font-size: clamp(2rem, 4vw, 2.9rem);
      font-weight: 700;
      letter-spacing: -0.03em;
      color: var(--white);
      overflow: hidden;
      flex-shrink: 0;
    }

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

    .person-head {
      display: flex;
      align-items: flex-end;
      gap: 2.2rem;
      flex-wrap: wrap;
      margin-bottom: 2rem;
    }

    /* The name is the H1 and the query — it gets the largest type on
       the page, and never wraps mid-name if it can be helped. */
    .person-name {
      font-family: var(--font-main);
      font-size: clamp(2.4rem, 5.6vw, 4.4rem);
      font-weight: 800;
      line-height: 1;
      letter-spacing: -0.038em;
      color: var(--white);
      text-wrap: balance;
    }

    .person-role {
      font-family: var(--font-mono);
      font-size: 0.7rem;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--gray-3);
      margin-top: 1rem;
    }

    /* Name variants, stated in visible copy rather than only in schema —
       people search "Dimeji Ukwedje" far more than the full legal name,
       and a page that never writes the variant cannot rank for it. */
    .aka {
      margin-top: 1.6rem;
      font-size: 0.95rem;
      color: var(--gray-3);
    }

    .aka strong { color: var(--gray-1); font-weight: 500; }

    /* ── Recognition rows ── */
    .awards {
      display: grid;
      gap: 1px;
      background: var(--border);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      overflow: hidden;
    }

    .award {
      background: var(--black);
      padding: 1.7rem 1.9rem;
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 1.2rem;
      align-items: baseline;
    }

    .award-what { font-size: 1rem; color: var(--white); font-weight: 600; }
    .award-note { display: block; font-weight: 400; color: var(--gray-2); font-size: 0.9rem; margin-top: 6px; line-height: 1.6; }

    .award-when {
      font-family: var(--font-mono);
      font-size: 0.66rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--gray-3);
      white-space: nowrap;
    }

    /* ── Elsewhere / profile links ── */
    /* auto-fit rather than a fixed count: the number of verified profiles
       changes, and a hard 3-column grid leaves a gap when one is dropped. */
    .elsewhere { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }

    .link-card {
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 1.8rem;
      display: block;
      transition: border-color var(--transition), transform var(--transition);
    }

    .link-card:hover { border-color: var(--border-hover); transform: translateY(-3px); }

    .link-card .where {
      font-family: var(--font-mono);
      font-size: 0.64rem;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--gray-3);
    }

    .link-card .handle {
      display: block;
      margin-top: 0.8rem;
      font-size: 1rem;
      font-weight: 600;
      color: var(--white);
      word-break: break-word;
    }

    @media (max-width: 900px) {
      .elsewhere { grid-template-columns: 1fr; }
    }

    @media (max-width: 600px) {
      .person-head { gap: 1.4rem; }
      .award       { grid-template-columns: 1fr; gap: 0.6rem; }
    }
