  :root {
    --bg: #ffffff;
    --surface: #f6f8fb;
    --surface2: #eef2f7;
    --card: #ffffff;
    --border: #e3e8ef;
    --border-soft: rgba(15,23,42,0.06);
    --text: #0f172a;
    --muted: #526075;
    --faint: #8b96a8;

    --navy: #0b1a30;
    --navy2: #10243f;
    --navy3: #183358;

    --accent: #f45c10;
    --accent-hover: #e04f08;
    --btn: #c94a0a;        /* button orange: 4.7:1 with white text (WCAG AA) */
    --btn-hover: #b93d0b;
    --accent-text: #c2410c;
    --accent-soft: rgba(244,92,16,0.08);

    --icon-bg: #edf2fb;
    --icon-fg: #1f3a68;
    --icon-border: #dbe4f3;

    --adobe: #eb1000;
    --ok: #16a34a;

    --shadow-sm: 0 1px 2px rgba(15,23,42,0.05);
    --shadow: 0 1px 2px rgba(15,23,42,0.04), 0 8px 24px -12px rgba(15,23,42,0.12);
    --shadow-lg: 0 24px 60px -24px rgba(11,26,48,0.35);

    --font-head: 'Plus Jakarta Sans', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;
    --radius: 16px;
    --max: 1200px;
  }

  /* Navy bands: nav, hero, stats, CTA, footer */
  .dark {
    --bg: var(--navy);
    --surface: var(--navy2);
    --surface2: var(--navy3);
    --card: rgba(255,255,255,0.035);
    --border: rgba(255,255,255,0.10);
    --border-soft: rgba(255,255,255,0.07);
    --text: #f1f5fb;
    --muted: #a5b3c8;
    --faint: #7385a0;
    --accent-text: #ff9a62;
    --accent-soft: rgba(244,92,16,0.14);
    --icon-bg: rgba(255,255,255,0.06);
    --icon-fg: #ffb48a;
    --icon-border: rgba(255,255,255,0.10);
    --shadow: none;
    --shadow-sm: none;
    color: var(--text);
  }

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

  html { scroll-behavior: smooth; scroll-padding-top: 80px; }

  body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  a { color: inherit; }
  img { max-width: 100%; }

  .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

  .icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

  .container { max-width: var(--max); margin: 0 auto; padding: 0 2rem; }

  /* ── SCROLL PROGRESS ── */
  .progress {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    width: 100%;
    transform-origin: 0 50%;
    transform: scaleX(0);
    background: linear-gradient(90deg, var(--accent), #ffb000);
    z-index: 200;
  }

  /* ── NAVBAR ── */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(11,26,48,0.94);
    border-bottom: 1px solid transparent;
    transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
  }

  nav.scrolled {
    background: rgba(11,26,48,0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom-color: var(--border-soft);
    box-shadow: 0 10px 30px -15px rgba(0,0,0,0.5);
  }

  .nav-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: padding 0.3s;
  }

  nav.scrolled .nav-inner { padding-top: 0.7rem; padding-bottom: 0.7rem; }

  .nav-logo { display: flex; align-items: center; }
  .nav-logo img { height: 40px; width: auto; display: block; }

  .nav-links { display: flex; align-items: center; gap: 0.35rem; list-style: none; }

  .nav-links a {
    position: relative;
    display: block;
    color: var(--muted);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    padding: 0.5rem 0.85rem;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
  }

  .nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.05); }
  .nav-links a.active { color: var(--text); }
  .nav-links a.active::after {
    content: '';
    position: absolute;
    left: 0.85rem; right: 0.85rem; bottom: 2px;
    height: 2px;
    border-radius: 2px;
    background: var(--accent);
  }

  .nav-links .nav-cta {
    margin-left: 0.75rem;
    background: var(--btn);
    color: #fff;
    font-weight: 600;
    padding: 0.55rem 1.15rem;
  }

  .nav-links .nav-cta:hover { background: var(--btn-hover); color: #fff; }

  /* ── BUTTONS ── */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.85rem 1.5rem;
    border-radius: 10px;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s, color 0.2s;
  }

  .btn .icon { width: 18px; height: 18px; }
  .btn .arrow { transition: transform 0.2s; }
  .btn:hover .arrow { transform: translateX(3px); }

  .btn-primary { background: var(--btn); color: #fff; box-shadow: 0 10px 24px -10px rgba(244,92,16,0.65); }
  .btn-primary:hover { background: var(--btn-hover); transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(244,92,16,0.7); }

  .btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
  .btn-ghost:hover { border-color: var(--text); transform: translateY(-2px); }

  .btn-light { background: #fff; color: var(--text); border-color: var(--border); box-shadow: var(--shadow-sm); }
  .btn-light:hover { border-color: #c9d2df; transform: translateY(-2px); box-shadow: var(--shadow); }

  /* ── HERO ── */
  .hero {
    position: relative;
    overflow: hidden;
    padding: 9.5rem 0 5.5rem;
    background:
      radial-gradient(ellipse 55% 60% at 85% 10%, rgba(244,92,16,0.16), transparent 60%),
      radial-gradient(ellipse 50% 60% at 0% 100%, rgba(56,107,214,0.20), transparent 60%),
      var(--navy);
  }

  .hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, black 20%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, black 20%, transparent 100%);
    pointer-events: none;
  }

  .hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 4rem;
    align-items: center;
  }

  .hero-inner > * { min-width: 0; }

  .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 0.9rem 0.4rem 0.45rem;
    border-radius: 100px;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 500;
    margin-bottom: 1.6rem;
    max-width: 100%;
  }

  .eyebrow b {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--adobe);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 0.2rem 0.55rem;
    border-radius: 100px;
  }

  .eyebrow b .icon { width: 12px; height: 12px; stroke-width: 2.5; }

  .hero h1 {
    font-family: var(--font-head);
    font-size: clamp(2.6rem, 5.4vw, 4.2rem);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.035em;
    margin-bottom: 0.6rem;
  }

  .hero-role {
    display: block;
    margin-top: 0.6rem;
    line-height: 1.3;
    font-family: var(--font-head);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--muted);
    margin-bottom: 1.5rem;
    min-height: 1.3em;
  }

  .hero-role .typed {
    background: linear-gradient(100deg, #ff7a2f, #ffb35c);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .caret {
    display: inline-block;
    width: 3px;
    height: 0.95em;
    margin-left: 4px;
    background: var(--accent);
    vertical-align: -0.1em;
  }

  .motion .caret { animation: blink 1s steps(1) infinite; }

  @keyframes blink { 50% { opacity: 0; } }

  .hero-sub {
    font-size: 1.1rem;
    color: var(--muted);
    max-width: 540px;
    line-height: 1.75;
    margin-bottom: 2.25rem;
  }

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

  .hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 1.75rem;
    margin-top: 2.75rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--border-soft);
  }

  .trust-item { display: flex; align-items: center; gap: 0.7rem; }
  .trust-item strong { font-family: var(--font-head); font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
  .trust-item span { font-size: 0.8rem; color: var(--muted); line-height: 1.3; }

  /* Code window */
  .hero-visual { position: relative; }

  .code-window {
    position: relative;
    background: #0d1f38;
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 16px;
    box-shadow: 0 40px 80px -30px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.02) inset;
    overflow: hidden;
    transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
    transition: transform 0.4s ease;
  }

  .hero-visual:hover .code-window { transform: perspective(1400px) rotateY(0) rotateX(0); }

  .code-bar {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.8rem 1rem;
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }

  .code-bar i { width: 11px; height: 11px; border-radius: 50%; display: block; }
  .code-bar i:nth-child(1) { background: #ff5f57; }
  .code-bar i:nth-child(2) { background: #febc2e; }
  .code-bar i:nth-child(3) { background: #28c840; }

  .code-bar span {
    margin-left: 0.75rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: #8193ad;
  }

  .code-body {
    padding: 1.25rem 1.4rem 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    line-height: 1.85;
    color: #cdd8e8;
    white-space: pre;
    overflow: hidden;
    counter-reset: ln;
  }

  .code-body .ln { display: block; }
  .code-body .ln::before {
    counter-increment: ln;
    content: counter(ln);
    display: inline-block;
    width: 1.6rem;
    margin-right: 0.9rem;
    text-align: right;
    color: #4a5d7a;
  }

  .t-k { color: #ff9e64; }
  .t-c { color: #7dcfff; }
  .t-f { color: #82aaff; }
  .t-s { color: #c3e88d; }
  .t-v { color: #f78c6c; }
  .t-m { color: #7d90ad; font-style: italic; }

  .float-chip {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    background: #fff;
    color: #0f172a;
    border-radius: 14px;
    padding: 0.75rem 1rem;
    box-shadow: 0 20px 40px -18px rgba(0,0,0,0.55);
    font-size: 0.8rem;
    line-height: 1.3;
    animation: float 6s ease-in-out infinite;
  }

  .float-chip strong { display: block; font-family: var(--font-head); font-size: 0.92rem; }
  .float-chip small { color: #64748b; }

  .float-chip .chip-icon {
    width: 36px; height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
  }

  .float-chip .chip-icon .icon { width: 18px; height: 18px; stroke-width: 2.2; }

  .chip-1 { left: -2.25rem; bottom: -1.75rem; }
  .chip-1 .chip-icon { background: var(--adobe); }
  .chip-2 { right: -1.5rem; top: -1.4rem; animation-delay: -3s; }
  .chip-2 .chip-icon { background: var(--accent); }

  @keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
  }

  /* ── TECH MARQUEE ── */
  .marquee {
    position: relative;
    background: var(--navy2);
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
    overflow: hidden;
    padding: 1.15rem 0;
  }

  .marquee::before, .marquee::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 12%;
    z-index: 1;
    pointer-events: none;
  }

  .marquee::before { left: 0; background: linear-gradient(90deg, var(--navy2), transparent); }
  .marquee::after { right: 0; background: linear-gradient(-90deg, var(--navy2), transparent); }

  .marquee-track {
    display: flex;
    gap: 3rem;
    width: max-content;
    animation: marquee 38s linear infinite;
  }

  .marquee:hover .marquee-track { animation-play-state: paused; }

  .marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-head);
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--muted);
    white-space: nowrap;
  }

  .marquee-item::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.8;
  }

  @keyframes marquee { to { transform: translateX(-50%); } }

  /* ── SECTIONS ── */
  section { position: relative; padding: 6.5rem 0; }
  .section-alt { background: var(--surface); }

  .section-head { max-width: 640px; margin-bottom: 3.25rem; }
  .section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

  .section-label {
    display: inline-block;
    font-family: var(--font-head);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-text);
    margin-bottom: 0.85rem;
  }

  .section-title {
    font-family: var(--font-head);
    font-size: clamp(1.9rem, 3.4vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.18;
    margin-bottom: 1rem;
  }

  .section-sub { color: var(--muted); font-size: 1.06rem; line-height: 1.75; }

  .icon-box {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: var(--icon-bg);
    border: 1px solid var(--icon-border);
    color: var(--icon-fg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
  }

  /* Cards with cursor spotlight */
  .card {
    position: relative;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    overflow: hidden;
    isolation: isolate;
  }

  .card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: inherit;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(244,92,16,0.07), transparent 45%);
  }

  .card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #d3dbe7; }
  .card:hover::before { opacity: 1; }
  .card:hover .icon-box { background: var(--accent); border-color: var(--accent); color: #fff; transform: rotate(-4deg) scale(1.05); }

  /* ── EXPERTISE ── */
  .expertise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
  .expertise-card { padding: 2rem; }
  .expertise-card .icon-box { margin-bottom: 1.4rem; }
  .expertise-card h3 { font-family: var(--font-head); font-size: 1.12rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 0.6rem; }
  .expertise-card p { font-size: 0.93rem; color: var(--muted); line-height: 1.7; }

  /* ── ABOUT / CERT ── */
  .cert-strip {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2.5rem;
    padding: 1.5rem 1.75rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-left: 4px solid var(--adobe);
    border-radius: 14px;
    box-shadow: var(--shadow);
  }

  .cert-logo {
    width: 52px; height: 52px;
    border-radius: 12px;
    background: var(--adobe);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .cert-logo .icon { width: 26px; height: 26px; }
  .cert-text { flex: 1; min-width: 240px; }
  .cert-text h3 { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; }
  .cert-text p { font-size: 0.9rem; color: var(--muted); }

  .btn-adobe { background: var(--adobe); color: #fff; padding: 0.7rem 1.2rem; font-size: 0.88rem; }
  .btn-adobe:hover { background: #c90e00; transform: translateY(-2px); }

  /* ── SKILLS ── */
  .skills-columns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .skill-group { padding: 1.75rem; }
  .skill-group-title { display: flex; align-items: center; gap: 0.85rem; font-family: var(--font-head); font-size: 1.02rem; font-weight: 700; margin-bottom: 1.2rem; }
  .skill-group-title .icon-box { width: 40px; height: 40px; border-radius: 10px; }
  .skill-group-title .icon-box .icon { width: 19px; height: 19px; }
  .skill-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }

  .skill-tag {
    background: var(--surface);
    border: 1px solid var(--border);
    color: #334155;
    padding: 0.42rem 0.85rem;
    border-radius: 8px;
    font-size: 0.86rem;
    font-weight: 500;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
  }

  .skill-tag:hover { border-color: var(--accent); color: var(--accent-text); background: var(--accent-soft); }

  /* ── EXPERIENCE TIMELINE ── */
  .timeline { position: relative; display: grid; gap: 1.25rem; padding-left: 2.5rem; }

  .timeline-line {
    position: absolute;
    left: 9px; top: 1.9rem; bottom: 1.9rem;
    width: 2px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
  }

  .timeline-line span {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, var(--accent), #ffb000);
    transform-origin: top;
    transform: scaleY(var(--p, 0));
  }

  .timeline-item { padding: 1.6rem 1.8rem; }

  .timeline-dot {
    position: absolute;
    left: calc(-2.5rem + 3px);
    top: 1.75rem;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--accent);
    box-shadow: 0 0 0 5px rgba(244,92,16,0.15);
  }

  .timeline-item { position: relative; overflow: visible; }
  .timeline-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; margin-bottom: 0.7rem; }
  .timeline-role { font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
  .timeline-company { display: flex; align-items: center; gap: 0.35rem; font-size: 0.9rem; color: var(--muted); }
  .timeline-company .icon { width: 15px; height: 15px; }

  .timeline-period {
    font-family: var(--font-head);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--icon-fg);
    background: var(--icon-bg);
    border: 1px solid var(--icon-border);
    padding: 0.3rem 0.8rem;
    border-radius: 100px;
    white-space: nowrap;
  }

  .timeline-desc { font-size: 0.94rem; color: var(--muted); line-height: 1.75; }

  /* ── STATS BAND ── */
  .stats-band {
    padding: 5.5rem 0;
    background:
      radial-gradient(ellipse 40% 80% at 100% 50%, rgba(244,92,16,0.14), transparent 70%),
      radial-gradient(ellipse 40% 80% at 0% 50%, rgba(56,107,214,0.18), transparent 70%),
      var(--navy);
  }

  .stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }

  .stat {
    padding: 1.9rem 1.6rem;
    border-radius: var(--radius);
    background: var(--card);
    border: 1px solid var(--border);
    transition: transform 0.3s, border-color 0.3s, background 0.3s;
  }

  .stat:hover { transform: translateY(-4px); border-color: rgba(244,92,16,0.45); background: rgba(255,255,255,0.05); }

  .stat-num {
    font-family: var(--font-head);
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 0.85rem;
  }

  .stat-num em { font-style: normal; color: var(--accent); }
  .stat-title { font-family: var(--font-head); font-size: 1rem; font-weight: 700; margin-bottom: 0.35rem; }
  .stat-desc { font-size: 0.86rem; color: var(--muted); line-height: 1.6; }

  /* ── MODULES ── */
  .modules-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; margin-bottom: 2rem; }
  .modules-head .section-head { margin-bottom: 0; }

  .module-filters {
    display: inline-flex;
    flex-wrap: nowrap;
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    gap: 0.35rem;
    padding: 0.35rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
  }

  .module-filter {
    background: transparent;
    border: 0;
    color: var(--muted);
    font-family: var(--font-head);
    font-size: 0.86rem;
    font-weight: 600;
    padding: 0.55rem 0.95rem;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
  }

  .module-filters::-webkit-scrollbar { display: none; }
  .module-filter { flex: 0 0 auto; white-space: nowrap; }
  .module-filter:hover { color: var(--text); background: var(--surface); }
  .module-filter.active { background: var(--navy); color: #fff; }
  .module-filter .count { color: var(--muted); font-weight: 500; margin-left: 0.3rem; }
  .module-filter.active .count { color: rgba(255,255,255,0.8); }

  .modules-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }

  .module-card {
    display: flex;
    flex-direction: column;
    padding: 1.6rem;
    text-decoration: none;
    color: var(--text);
  }

  .module-card[hidden] { display: none; }
  .module-card.pop { animation: pop 0.45s ease both; }

  @keyframes pop {
    from { opacity: 0; transform: translateY(14px) scale(0.98); }
    to { opacity: 1; transform: none; }
  }

  .module-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
  .module-card .icon-box { width: 46px; height: 46px; }

  .module-tag {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--muted);
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 0.22rem 0.65rem;
    border-radius: 100px;
  }

  .module-card h3 { font-family: var(--font-head); font-size: 1.06rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 0.5rem; }
  .module-card p { font-size: 0.89rem; color: var(--muted); line-height: 1.65; flex: 1; }

  .module-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-soft);
    font-family: var(--font-head);
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--accent-text);
  }

  .module-link::after, .expertise-card .more::after { content: ''; width: 16px; height: 16px; flex-shrink: 0; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform 0.2s; }
  .card-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--border-soft); }
  .card-foot .module-link { margin: 0; padding: 0; border: 0; }
  .card-price { font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; color: var(--text); letter-spacing: -0.01em; }
  .card-price.free { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #15803d; background: rgba(22,163,74,0.1); border: 1px solid rgba(22,163,74,0.3); padding: 0.2rem 0.6rem; border-radius: 100px; }
  .card:hover .module-link::after, .expertise-card .more:hover::after { transform: translateX(4px); }

  .modules-more { display: flex; justify-content: center; margin-top: 2.25rem; }
  .modules-more[hidden] { display: none; }

  .custom-banner {
    margin-top: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding: 1.6rem 1.9rem;
    border-radius: var(--radius);
    background: linear-gradient(100deg, #fff4ed, #ffffff 70%);
    border: 1px solid #fbd9c4;
  }

  .custom-banner h3 { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; margin-bottom: 0.15rem; }
  .custom-banner p { color: var(--muted); font-size: 0.93rem; }

  /* ── CONTACT / CTA ── */
  .cta-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    padding: 3.5rem;
    background:
      radial-gradient(ellipse 60% 90% at 100% 0%, rgba(244,92,16,0.22), transparent 60%),
      radial-gradient(ellipse 50% 70% at 0% 100%, rgba(56,107,214,0.22), transparent 60%),
      var(--navy);
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 3.5rem;
    align-items: center;
    box-shadow: var(--shadow-lg);
  }

  .cta-card .section-sub { margin-bottom: 2rem; }

  .availability {
    display: flex;
    width: fit-content;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: #86efac;
    background: rgba(22,163,74,0.12);
    border: 1px solid rgba(22,163,74,0.35);
    padding: 0.35rem 0.9rem;
    border-radius: 100px;
    margin-bottom: 1.25rem;
  }

  .availability span {
    position: relative;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #22c55e;
  }

  .availability span::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid #22c55e;
    animation: ping 1.8s cubic-bezier(0,0,0.2,1) infinite;
  }

  @keyframes ping { 75%, 100% { transform: scale(2); opacity: 0; } }

  .services-list { display: grid; gap: 0.85rem; }

  .service-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.15rem 1.25rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: 14px;
    text-decoration: none;
    color: var(--text);
    transition: border-color 0.25s, transform 0.25s, background 0.25s;
  }

  .service-item:hover { border-color: rgba(244,92,16,0.5); background: rgba(255,255,255,0.07); transform: translateX(6px); }
  .service-item .icon-box { width: 42px; height: 42px; border-radius: 10px; }
  .service-item .icon-box .icon { width: 19px; height: 19px; }
  .service-item:hover .icon-box { background: var(--accent); border-color: var(--accent); color: #fff; }
  .service-item h3 { font-family: var(--font-head); font-size: 0.98rem; font-weight: 700; margin-bottom: 0.15rem; }
  .service-item p { font-size: 0.85rem; color: var(--muted); line-height: 1.55; }

  .contact-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 1.25rem; }

  .contact-item {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1.1rem 1.25rem;
    text-decoration: none;
    color: var(--text);
    min-width: 0;
  }

  .contact-item .icon-box { width: 40px; height: 40px; border-radius: 10px; }
  .contact-item .icon-box .icon { width: 18px; height: 18px; }
  .contact-item-text { min-width: 0; }
  .contact-item-text small { display: block; font-size: 0.72rem; color: var(--faint); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
  .contact-item-text span { display: block; font-size: 0.9rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

  /* ── FOOTER ── */
  footer { background: var(--navy); padding: 4rem 0 2rem; }

  .footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 0.8fr; gap: 2.5rem; }
  .footer-logo img { height: 38px; width: auto; display: block; margin-bottom: 1.1rem; }
  .footer-about { font-size: 0.9rem; color: var(--muted); max-width: 360px; line-height: 1.7; }
  .footer-title { font-family: var(--font-head); font-size: 0.88rem; font-weight: 700; margin-bottom: 1rem; }
  .footer-links { list-style: none; display: grid; gap: 0.6rem; }
  .footer-links a { font-size: 0.9rem; color: var(--muted); text-decoration: none; transition: color 0.2s, padding 0.2s; }
  .footer-links a:hover { color: #fff; padding-left: 4px; }

  .footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-soft);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.83rem;
    color: var(--faint);
  }

  /* ── BACK TO TOP ── */
  .to-top {
    position: fixed;
    right: 1.5rem; bottom: 1.5rem;
    width: 46px; height: 46px;
    border-radius: 12px;
    border: 0;
    background: var(--accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 12px 28px -10px rgba(244,92,16,0.7);
    opacity: 0;
    transform: translateY(16px);
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s, background 0.2s;
    z-index: 90;
  }

  .has-chat .to-top { right: 6.25rem; bottom: 27px; } /* sits left of the Tawk.to chat bubble, clear of its greeting */
  .to-top.show { opacity: 1; transform: none; pointer-events: auto; }
  .to-top:hover { background: var(--accent-hover); }
  .to-top .icon { width: 20px; height: 20px; stroke-width: 2.4; }

  /* ── REVEAL ANIMATIONS ── */
  /* Content is visible by default (crawlers, no-JS, tall viewports). site.js marks only below-the-fold
     blocks as .pending and fades them in as they scroll into view. */
  .reveal { transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2,0.7,0.2,1); transition-delay: var(--d, 0s); }
  .reveal.pending { opacity: 0; transform: translateY(28px); }

  /* The first screen renders static (best Speed Index); decorative loops start once .motion is set by site.js */
  .marquee-track, .float-chip { animation-play-state: paused; }
  .motion .marquee-track, .motion .float-chip { animation-play-state: running; }
  .marquee:hover .marquee-track { animation-play-state: paused; }

  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: none; }
  }

  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal.pending { opacity: 1; transform: none; }
    .code-window { transform: none; }
  }

  /* ── RESPONSIVE ── */
  @media (max-width: 1080px) {
    .module-filters { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); }
    .hero-inner { grid-template-columns: 1fr; gap: 4rem; }
    .hero-visual { max-width: 620px; }
    .code-window { transform: none; }
    .expertise-grid, .modules-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-strip { grid-template-columns: repeat(2, 1fr); }
    .cta-card { grid-template-columns: 1fr; gap: 2.5rem; padding: 2.75rem; }
  }

  @media (max-width: 900px) {
    .skills-columns { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .footer-inner > :first-child { grid-column: 1 / -1; }
  }

  @media (max-width: 640px) {
    .container { padding: 0 1rem; }
    .nav-inner { padding: 0.8rem 1rem; }
    nav.scrolled .nav-inner { padding: 0.6rem 1rem; }
    .nav-logo img { height: 34px; }
    section { padding: 4.5rem 0; }
    .hero { padding: 7.5rem 0 4rem; }
    .hero-trust { gap: 1.25rem; }
    .code-body { font-size: 0.66rem; padding: 1rem 0.9rem 1.2rem; }
    .eyebrow { font-size: 0.74rem; flex-wrap: wrap; border-radius: 14px; }
    .hero-actions .btn { flex: 1 1 auto; }
    .code-body .ln::before { width: 1.1rem; margin-right: 0.6rem; }
    .chip-1 { left: -0.25rem; bottom: -1.75rem; }
    .chip-2 { right: -0.25rem; top: -1.75rem; }
    .expertise-grid, .modules-grid, .contact-strip { grid-template-columns: 1fr; }
    .stats-grid { gap: 0.85rem; }
    .stat { padding: 1.3rem 1.1rem; }
    .stat-num { font-size: 2.1rem; }
    .module-filters { display: flex; }
    .cta-card { padding: 2rem 1.25rem; border-radius: 18px; }
    .timeline { padding-left: 2rem; }
    .timeline-dot { left: calc(-2rem + 3px); }
    .timeline-item { padding: 1.3rem; }
    .to-top { right: 1rem; bottom: 1rem; }
    .has-chat .to-top { right: 6rem; bottom: 27px; }
  }

  /* ═════════ INNER PAGES ═════════ */

  /* Mobile menu toggle */
  .nav-toggle {
    display: none;
    width: 42px; height: 42px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text);
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  .nav-toggle .icon { width: 22px; height: 22px; }

  /* Page hero */
  .page-hero {
    position: relative;
    overflow: hidden;
    padding: 8.5rem 0 4rem;
    background:
      radial-gradient(ellipse 55% 80% at 90% 0%, rgba(244,92,16,0.16), transparent 60%),
      radial-gradient(ellipse 50% 80% at 0% 100%, rgba(56,107,214,0.20), transparent 60%),
      var(--navy);
  }

  .page-hero .container { position: relative; z-index: 1; }
  .page-hero h1 { font-family: var(--font-head); font-size: clamp(2.1rem, 4.4vw, 3.2rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; margin-bottom: 1rem; max-width: 860px; }
  .page-hero .lead { font-size: 1.12rem; color: var(--muted); max-width: 720px; line-height: 1.75; }
  .page-hero .hero-actions { margin-top: 2rem; }

  .breadcrumbs { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; font-size: 0.85rem; color: var(--faint); margin-bottom: 1.4rem; }
  .breadcrumbs a { color: var(--muted); text-decoration: none; }
  .breadcrumbs a:hover { color: #fff; }
  .breadcrumbs li + li::before { content: '/'; margin-right: 0.4rem; color: var(--faint); }

  .ext-hero { display: flex; align-items: center; gap: 1.75rem; }
  .ext-hero-icon { width: 96px; height: 96px; border-radius: 22px; background: #fff; padding: 8px; flex-shrink: 0; box-shadow: 0 20px 40px -20px rgba(0,0,0,0.6); }
  .ext-hero-icon img { width: 100%; height: 100%; object-fit: contain; border-radius: 16px; display: block; }

  .meta-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.4rem; }
  .meta-pill { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.8rem; font-weight: 500; color: var(--muted); background: rgba(255,255,255,0.06); border: 1px solid var(--border); padding: 0.3rem 0.8rem; border-radius: 100px; }
  .meta-pill .icon { width: 14px; height: 14px; color: var(--icon-fg); }

  /* Two-column content */
  .content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 3.5rem; align-items: start; }
  .content-grid > * { min-width: 0; }
  .sidebar { position: sticky; top: 96px; display: grid; gap: 1.25rem; }
  .side-card { padding: 1.5rem; }
  .side-card h3 { font-family: var(--font-head); font-size: 1rem; font-weight: 700; margin-bottom: 0.9rem; }
  .side-card .btn { width: 100%; }
  .side-card .btn + .btn { margin-top: 0.6rem; }
  .side-list { list-style: none; display: grid; gap: 0.6rem; font-size: 0.9rem; color: var(--muted); }
  .side-list li { display: flex; gap: 0.55rem; align-items: flex-start; }
  .side-list .icon { width: 17px; height: 17px; color: var(--ok); margin-top: 3px; }
  .price-box { display: flex; align-items: baseline; gap: 0.5rem; margin: -0.2rem 0 1rem; }
  .price-box strong { font-family: var(--font-head); font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; color: var(--text); }
  .price-box span { font-size: 0.82rem; color: var(--muted); }
  .meta-pill.price-pill { color: #fff; border-color: rgba(244,92,16,0.5); background: rgba(244,92,16,0.18); font-weight: 600; }
  .side-card.accent { background: linear-gradient(160deg, #fff4ed, #fff 70%); border-color: #fbd9c4; }
  .side-card p { font-size: 0.9rem; color: var(--muted); margin-bottom: 1rem; }

  /* Long-form text */
  .prose { font-size: 1.04rem; line-height: 1.8; color: #283548; overflow-wrap: break-word; }
  .prose > * + * { margin-top: 1.1rem; }
  .prose h2 { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.3; color: var(--text); margin-top: 2.6rem; }
  .prose h3 { font-family: var(--font-head); font-size: 1.22rem; font-weight: 700; color: var(--text); margin-top: 2rem; }
  .prose > h2:first-child, .prose > h3:first-child { margin-top: 0; }
  .prose a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
  .prose strong { color: var(--text); }
  .prose ul, .prose ol { padding-left: 1.4rem; }
  .prose li + li { margin-top: 0.5rem; }
  .prose ul li::marker { color: var(--accent); }
  .prose code { overflow-wrap: anywhere; font-family: var(--font-mono); font-size: 0.88em; background: var(--surface2); border: 1px solid var(--border); padding: 0.1em 0.4em; border-radius: 6px; }
  .prose pre { background: #0d1f38; color: #cdd8e8; border-radius: 12px; padding: 1.1rem 1.25rem; overflow-x: auto; font-size: 0.85rem; line-height: 1.7; }
  .prose pre code { background: none; border: 0; padding: 0; color: inherit; font-size: inherit; overflow-wrap: normal; }
  .prose .highlight-box { background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--accent); border-radius: 0 12px 12px 0; padding: 1rem 1.25rem; }
  .prose blockquote { border-left: 4px solid var(--accent); background: var(--surface); padding: 1rem 1.25rem; border-radius: 0 12px 12px 0; color: var(--muted); }
  .prose table { width: 100%; border-collapse: collapse; font-size: 0.93rem; display: block; overflow-x: auto; }
  .prose th, .prose td { text-align: left; padding: 0.7rem 0.85rem; border-bottom: 1px solid var(--border); vertical-align: top; }
  .prose th { font-family: var(--font-head); background: var(--surface); }
  .prose .feature-list { list-style: none; padding: 0; display: grid; gap: 0.75rem; }
  .prose .feature-list li { margin: 0; padding: 0.9rem 1.1rem 0.9rem 2.6rem; position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; }
  .prose .feature-list li::before { content: ''; position: absolute; left: 1rem; top: 1.25rem; width: 14px; height: 14px; border-radius: 50%; background: var(--accent-soft); border: 2px solid var(--accent); }

  /* About */
  .about-hero { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 4rem; align-items: center; }
  .about-hero > * { min-width: 0; }
  .about-photo { position: relative; max-width: 440px; justify-self: end; width: 100%; }
  .about-photo img { display: block; width: 100%; height: auto; border-radius: 24px; box-shadow: 0 40px 80px -30px rgba(0,0,0,0.6); border: 1px solid rgba(255,255,255,0.12); }
  .about-photo .chip-1 { left: -1.75rem; bottom: 2rem; }
  .about-home { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 4rem; align-items: center; }
  .about-home > * { min-width: 0; }
  .about-home .about-photo { justify-self: start; }
  .about-home .about-photo img { box-shadow: var(--shadow-lg); border-color: var(--border); }
  .about-home .side-list { margin: 1.25rem 0 1.75rem; }
  .author-box p a { color: var(--accent-text); font-weight: 600; text-decoration: none; }
  @media (max-width: 1080px) {
    .about-hero, .about-home { grid-template-columns: 1fr; gap: 3rem; }
    .about-photo { justify-self: start; max-width: 380px; }
  }
  @media (max-width: 640px) {
    .about-photo .chip-1 { left: 0.75rem; bottom: -1.25rem; }
  }

  .ext-intro { background: linear-gradient(160deg, #fff4ed, #fff 65%); border: 1px solid #fbd9c4; border-left: 4px solid var(--accent); border-radius: 16px; padding: 1.75rem 2rem; margin-bottom: 2.25rem; }
  .ext-intro h2 { margin-top: 0; font-size: 1.35rem; }

  /* Screenshot slider + lightbox */
  .slider { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-lg); background: var(--navy); }
  .slider-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; outline: none; }
  .slider-track::-webkit-scrollbar { display: none; }
  .slide { flex: 0 0 100%; scroll-snap-align: start; display: block; cursor: zoom-in; }
  .slide img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }

  .slider-btn {
    position: absolute; top: 50%;
    width: 46px; height: 46px;
    margin-top: -23px;
    border-radius: 50%;
    border: 0;
    background: rgba(255,255,255,0.92);
    color: var(--navy);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 25px -8px rgba(0,0,0,0.45);
    opacity: 0;
    transition: opacity 0.25s, transform 0.25s, background 0.2s, color 0.2s;
  }
  .slider-btn .icon { width: 20px; height: 20px; stroke-width: 2.2; }
  .slider-btn.prev { left: 1rem; transform: translateX(-8px); }
  .slider-btn.prev .icon { transform: rotate(180deg); }
  .slider-btn.next { right: 1rem; transform: translateX(8px); }
  .slider:hover .slider-btn, .slider:focus-within .slider-btn { opacity: 1; transform: none; }
  .slider-btn:hover { background: var(--accent); color: #fff; }
  .slider-btn:disabled { opacity: 0 !important; pointer-events: none; }

  .slider-count {
    position: absolute; right: 1rem; bottom: 1rem;
    background: rgba(11,26,48,0.75);
    color: #fff;
    font-family: var(--font-head);
    font-size: 0.8rem; font-weight: 600;
    padding: 0.3rem 0.75rem;
    border-radius: 100px;
    backdrop-filter: blur(6px);
  }

  .slider-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,0.15); }
  .slider-progress span { display: block; height: 100%; width: 0; background: var(--accent); }
  .slider.playing .slider-progress span { animation: slideProgress var(--autoplay, 5s) linear forwards; }
  @keyframes slideProgress { to { width: 100%; } }

  .slider-thumbs { display: flex; gap: 0.6rem; margin: 0.85rem 0 3rem; overflow-x: auto; padding: 0.15rem 0.1rem 0.4rem; scroll-behavior: smooth; scrollbar-width: thin; }
  .thumb { flex: 0 0 auto; width: 112px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: var(--surface); cursor: pointer; opacity: 0.55; transition: opacity 0.2s, border-color 0.2s, transform 0.2s; }
  .thumb img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
  .thumb:hover { opacity: 0.9; }
  .thumb.active { opacity: 1; border-color: var(--accent); transform: translateY(-2px); }
  .slider.single { margin-bottom: 3rem; }

  .lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(6,14,28,0.92); display: none; align-items: center; justify-content: center; padding: 3rem 4rem; }
  .lightbox.open { display: flex; animation: fadeIn 0.2s ease; }
  .lightbox img { max-width: 100%; max-height: 100%; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,0.6); }
  .lightbox button { position: absolute; background: rgba(255,255,255,0.1); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 1.8rem; line-height: 1; cursor: pointer; }
  .lightbox button:hover { background: var(--accent); }
  .lb-close { top: 1rem; right: 1rem; }
  .lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
  .lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
  @keyframes fadeIn { from { opacity: 0; } }

  /* FAQ */
  .faq { display: grid; gap: 0.75rem; }
  .faq details { background: var(--card); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-sm); transition: border-color 0.2s; }
  .faq details[open] { border-color: rgba(244,92,16,0.4); }
  .faq summary { cursor: pointer; list-style: none; padding: 1.15rem 1.35rem; font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary::after { content: '+'; font-size: 1.4rem; font-weight: 500; color: var(--accent); transition: transform 0.25s; }
  .faq details[open] summary::after { transform: rotate(45deg); }
  .faq .faq-a { padding: 0 1.35rem 1.25rem; color: var(--muted); line-height: 1.75; }

  /* Process steps */
  .steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: step; }
  .step { padding: 1.6rem; }
  .step::after { counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; top: 1.1rem; right: 1.3rem; font-family: var(--font-head); font-size: 2rem; font-weight: 800; color: var(--surface2); }
  .step h3 { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; margin: 1.1rem 0 0.4rem; }
  .step p { font-size: 0.9rem; color: var(--muted); line-height: 1.65; }

  /* Generic link cards (services, blog) */
  .link-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
  .link-card { display: flex; flex-direction: column; padding: 1.75rem; text-decoration: none; color: var(--text); }
  .link-card .icon-box { margin-bottom: 1.25rem; }
  .link-card h3 { font-family: var(--font-head); font-size: 1.12rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 0.5rem; }
  .link-card p { font-size: 0.92rem; color: var(--muted); line-height: 1.7; flex: 1; }
  .link-card .module-link { margin-top: 1.25rem; }
  .card-meta { display: flex; gap: 0.75rem; flex-wrap: wrap; font-size: 0.8rem; color: var(--faint); margin-bottom: 0.75rem; }
  .card-meta span { display: inline-flex; align-items: center; gap: 0.3rem; }
  .card-meta .icon { width: 14px; height: 14px; }

  .expertise-card .more { display: inline-flex; align-items: center; gap: 0.35rem; margin-top: 1rem; font-family: var(--font-head); font-size: 0.86rem; font-weight: 600; color: var(--accent-text); text-decoration: none; }

  /* Article */
  .article-wrap { max-width: 760px; margin: 0 auto; }
  .article-meta { display: flex; flex-wrap: wrap; gap: 1.25rem; font-size: 0.9rem; color: var(--muted); margin-top: 1.25rem; }
  .article-meta span { display: inline-flex; align-items: center; gap: 0.4rem; }
  .article-meta .icon { width: 16px; height: 16px; color: var(--icon-fg); }
  .toc { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 1.25rem 1.5rem; margin-bottom: 2.5rem; }
  .toc strong { font-family: var(--font-head); display: block; margin-bottom: 0.5rem; }
  .toc ol { padding-left: 1.2rem; display: grid; gap: 0.3rem; font-size: 0.93rem; }
  .toc a { color: var(--muted); text-decoration: none; }
  .toc a:hover { color: var(--accent-text); }
  .author-box { display: flex; gap: 1.25rem; align-items: center; margin-top: 3rem; padding: 1.5rem; }
  .author-box img { width: 64px; height: 64px; border-radius: 16px; background: #fff; border: 1px solid var(--border); padding: 6px; }
  .author-name { font-family: var(--font-head); font-size: 1rem; }
  .author-box p { font-size: 0.9rem; color: var(--muted); }

  .section-cta { text-align: center; }
  .section-cta .hero-actions { justify-content: center; margin-top: 1.75rem; }

  @media (max-width: 1080px) {
    .content-grid { grid-template-columns: 1fr; }
    .sidebar { position: static; grid-template-columns: repeat(2, 1fr); }
    .steps, .link-grid { grid-template-columns: repeat(2, 1fr); }
  }

  @media (max-width: 900px) {
    .nav-toggle { display: inline-flex; }
    .nav-links { display: none; }
    nav.open { background: var(--navy); }
    nav.open .nav-links {
      display: flex;
      position: absolute;
      top: 100%; left: 0; right: 0;
      flex-direction: column;
      align-items: stretch;
      gap: 0.25rem;
      padding: 0.75rem 1rem 1.25rem;
      background: var(--navy);
      border-bottom: 1px solid var(--border-soft);
      box-shadow: 0 20px 40px -10px rgba(0,0,0,0.5);
    }
    nav.open .nav-links li { display: block !important; }
    nav.open .nav-links .nav-cta { margin: 0.5rem 0 0; text-align: center; }
  }

  @media (max-width: 640px) {
    .page-hero { padding: 7rem 0 3rem; }
    .ext-hero { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
    .ext-hero-icon { width: 76px; height: 76px; border-radius: 18px; }
    .slider-btn { opacity: 1; transform: none; width: 38px; height: 38px; margin-top: -19px; }
    .slider-btn.prev { left: 0.5rem; } .slider-btn.next { right: 0.5rem; }
    .thumb { width: 84px; }
    .sidebar, .steps, .link-grid { grid-template-columns: 1fr; }
    .lightbox { padding: 1rem; }
  }

  /* Extension reference sections */
  .feature-chips { list-style: none; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 0.5rem; }
  .feature-chips li { margin: 0 !important; padding: 0.4rem 0.85rem; font-size: 0.88rem; font-weight: 500; color: var(--text); background: var(--surface); border: 1px solid var(--border); border-radius: 100px; }
  .prose table.glance th { width: 34%; background: var(--surface); }
  .prose table.glance { display: table; }
  .config-ref summary .count { margin-left: auto; margin-right: 0.75rem; font-size: 0.75rem; font-weight: 600; color: var(--muted); background: var(--surface2); border-radius: 100px; padding: 0.1rem 0.55rem; }
  .config-ref .faq-a { padding-top: 0; }
  .config-ref table { font-size: 0.86rem; }
  .config-ref td:first-child { font-weight: 600; color: var(--text); width: 36%; }
  .module-tag.is-new { color: #fff; background: var(--btn); border-color: var(--btn); }
  .skip-link { position: absolute; left: 1rem; top: -100px; z-index: 300; background: var(--btn); color: #fff; padding: 0.6rem 1rem; border-radius: 8px; font-weight: 600; text-decoration: none; }
  .skip-link:focus { top: 1rem; }

  /* Training */
  .training-band { padding: 2.5rem; display: grid; grid-template-columns: 1.1fr 1fr; gap: 1.5rem 3rem; align-items: center; }
  .training-band > div:last-child { grid-column: 1 / -1; }
  .training-band .section-sub { margin-bottom: 0; }
  .course-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
  .course-chip { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.6rem 0.95rem; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); color: var(--text); text-decoration: none; font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; transition: border-color 0.2s, background 0.2s; }
  .course-chip .icon { width: 18px; height: 18px; color: var(--icon-fg); }
  .course-chip:hover { border-color: rgba(244,92,16,0.5); background: var(--accent-soft); }
  .trainer-mini { display: flex; gap: 0.85rem; align-items: center; margin-bottom: 0.6rem; }
  .trainer-mini img { width: 56px; height: 56px; border-radius: 14px; border: 1px solid var(--border); }
  .trainer-mini p { margin: 0; font-size: 0.88rem; color: var(--muted); line-height: 1.45; }
  .trainer-mini strong { color: var(--text); }
  @media (max-width: 900px) { .training-band { grid-template-columns: 1fr; padding: 1.75rem 1.25rem; } }

