    :root {
      color-scheme: light dark;
      --bg: #f3f7f4;
      --bg-rgb: 243,247,244;
      --surface: #ffffff;
      --surface-2: #e9f0eb;
      --text: #0a1712;
      --muted: #4f6259;
      --line: rgba(10,23,18,.13);
      --line-strong: rgba(10,23,18,.25);
      --green: #087c50;
      --green-bright: #10b879;
      --green-soft: #d7f6e8;
      --amber: #b36800;
      --danger: #d44c38;
      --shadow: 0 24px 70px rgba(22,60,42,.14);
      --nav: rgba(243,247,244,.78);
      --grid: rgba(10,23,18,.06);
      --code: #07110e;
      --code-text: #dff8ea;
      --radius-l: 28px;
      --radius-m: 18px;
      --radius-s: 10px;
    }
    @media (prefers-color-scheme: dark) {
      :root {
        --bg: #06100c;
        --bg-rgb: 6,16,12;
        --surface: #0b1913;
        --surface-2: #10251c;
        --text: #e8f4ed;
        --muted: #9eafa6;
        --line: rgba(210,255,232,.12);
        --line-strong: rgba(210,255,232,.23);
        --green: #43dc98;
        --green-bright: #58eda9;
        --green-soft: #102f22;
        --amber: #ffc366;
        --danger: #ff7866;
        --shadow: 0 30px 100px rgba(0,0,0,.4);
        --nav: rgba(6,16,12,.78);
        --grid: rgba(175,255,214,.055);
        --code: #030a07;
        --code-text: #dff8ea;
      }
    }
    *, *::before, *::after { box-sizing: border-box; }
    html { scroll-behavior: smooth; scroll-padding-top: 92px; }
    body {
      margin: 0;
      min-width: 320px;
      background:
        linear-gradient(var(--grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid) 1px, transparent 1px),
        var(--bg);
      background-size: 56px 56px;
      color: var(--text);
      font-family: "Manrope", sans-serif;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }
    a { color: inherit; text-decoration: none; }
    button { font: inherit; }
    ::selection { background: var(--green); color: #031009; }
    .wrap { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
    .mono { font-family: "IBM Plex Mono", monospace; }
    .skip { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 12px 16px; background: var(--text); color: var(--bg); border-radius: 8px; }
    .skip:focus { top: 12px; }

    .nav-shell {
      position: fixed; inset: 0 0 auto; z-index: 50;
      background: var(--nav); backdrop-filter: blur(18px);
      border-bottom: 1px solid transparent;
      transition: border-color .25s ease, box-shadow .25s ease;
    }
    .nav-shell.scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px rgba(0,0,0,.05); }
    nav { height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
    .wordmark { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: -.03em; }
    .mark { width: 28px; height: 32px; position: relative; display: inline-grid; place-items: center; }
    .mark::before { content: ""; position: absolute; inset: 0; border: 2px solid var(--green); clip-path: polygon(50% 0,95% 18%,86% 77%,50% 100%,14% 77%,5% 18%); }
    .mark::after { content: "JB"; color: var(--green); font: 600 8px/1 "IBM Plex Mono", monospace; }
    .nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 600; }
    .nav-links a:not(.nav-cta) { position: relative; color: var(--muted); }
    .nav-links a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; bottom: -7px; width: 100%; height: 2px; background: var(--green); transform: scaleX(0); transform-origin: right; transition: transform .25s ease; }
    .nav-links a:hover::after, .nav-links a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
    .nav-links a:hover, .nav-links a:focus-visible { color: var(--text); }
    .nav-cta { display: inline-flex; align-items: center; justify-content: center; height: 42px; padding: 0 17px; background: var(--text); color: var(--bg); border-radius: 8px; }
    .nav-cta:hover { background: var(--green); color: #031009; }
    .menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--text); align-items: center; justify-content: center; cursor: pointer; }
    .menu-icon, .menu-icon::before, .menu-icon::after { width: 18px; height: 2px; background: currentColor; display: block; transition: .25s ease; }
    .menu-icon { position: relative; }
    .menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
    .menu-icon::before { top: -6px; }
    .menu-icon::after { top: 6px; }
    .menu-btn[aria-expanded="true"] .menu-icon { background: transparent; }
    .menu-btn[aria-expanded="true"] .menu-icon::before { top: 0; transform: rotate(45deg); }
    .menu-btn[aria-expanded="true"] .menu-icon::after { top: 0; transform: rotate(-45deg); }

    .hero { min-height: 860px; padding: 150px 0 88px; display: grid; align-items: center; position: relative; }
    .hero::before { content: ""; position: absolute; width: 540px; height: 540px; right: -280px; top: 160px; border: 1px solid var(--line); border-radius: 50%; box-shadow: 0 0 0 100px transparent, 0 0 0 101px var(--line), 0 0 0 210px transparent, 0 0 0 211px var(--line); pointer-events: none; }
    .hero-grid { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(420px, .94fr); gap: 66px; align-items: center; }
    .status { display: inline-flex; align-items: center; gap: 10px; padding: 8px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font: 500 12px/1 "IBM Plex Mono", monospace; box-shadow: 0 10px 30px rgba(0,0,0,.05); }
    .status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-bright); box-shadow: 0 0 0 5px color-mix(in srgb, var(--green-bright) 18%, transparent); animation: pulse 2.2s ease-in-out infinite; }
    h1 { margin: 27px 0 22px; max-width: 720px; font-size: clamp(47px, 6.2vw, 84px); line-height: .98; letter-spacing: -.065em; font-weight: 800; }
    h1 span { color: var(--green); }
    .hero-copy > p { margin: 0; max-width: 620px; color: var(--muted); font-size: clamp(17px, 1.5vw, 20px); line-height: 1.7; }
    .hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
    .btn { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 11px; padding: 0 20px; border-radius: 10px; font-weight: 700; font-size: 14px; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
    .btn:hover { transform: translateY(-2px); }
    .btn-primary { background: var(--green); color: #031009; }
    .btn-primary svg { transition: transform .2s ease; }
    .btn-primary:hover svg { transform: translate(3px,-3px); }
    .btn-ghost { background: var(--surface); border: 1px solid var(--line); }
    .btn-ghost:hover { border-color: var(--green); }
    .trust-line { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 44px; color: var(--muted); font: 500 12px/1.4 "IBM Plex Mono", monospace; }
    .trust-line span { display: inline-flex; align-items: center; gap: 8px; }
    .trust-line svg { color: var(--green); }

    .hero-visual { position: relative; min-height: 575px; perspective: 1000px; }
    .console {
      position: absolute; inset: 18px 0 34px 12px; overflow: hidden;
      background: var(--code); color: var(--code-text); border: 1px solid rgba(110,255,180,.2); border-radius: 24px;
      box-shadow: 0 40px 100px rgba(0,0,0,.38), inset 0 0 70px rgba(35,214,126,.035);
      transform: rotateY(-4deg) rotateX(1.5deg); transform-style: preserve-3d;
    }
    .console::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 50%, rgba(255,255,255,.014) 50%); background-size: 100% 4px; pointer-events: none; opacity: .75; }
    .console-bar { height: 52px; padding: 0 18px; border-bottom: 1px solid rgba(194,255,222,.1); display: flex; align-items: center; justify-content: space-between; }
    .traffic { display: flex; gap: 7px; }
    .traffic i { width: 8px; height: 8px; border-radius: 50%; display: block; background: #31473d; }
    .traffic i:first-child { background: #f07162; }
    .traffic i:nth-child(2) { background: #e5bd68; }
    .traffic i:last-child { background: #5ee3a0; }
    .console-label { font: 500 10px/1 "IBM Plex Mono", monospace; color: #769184; letter-spacing: .08em; text-transform: uppercase; }
    .console-body { padding: 27px 26px; font: 500 12px/1.7 "IBM Plex Mono", monospace; }
    .console-title { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: #79eeb0; margin-bottom: 30px; }
    .console-title strong { font-size: 13px; }
    .shield-core { position: relative; height: 225px; display: grid; place-items: center; margin-bottom: 20px; }
    .rings { position: absolute; width: 208px; aspect-ratio: 1; border: 1px solid rgba(104,242,168,.18); border-radius: 50%; animation: spin 18s linear infinite; }
    .rings::before, .rings::after { content: ""; position: absolute; border-radius: 50%; border: 1px dashed rgba(104,242,168,.25); }
    .rings::before { inset: 20px; animation: spinBack 12s linear infinite; }
    .rings::after { inset: 48px; border-style: solid; box-shadow: 0 0 28px rgba(72,232,148,.12); }
    .node { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: #54eca0; box-shadow: 0 0 16px #54eca0; }
    .node.n1 { top: -4px; left: 98px; }
    .node.n2 { right: 8px; bottom: 49px; }
    .node.n3 { left: 14px; bottom: 65px; }
    .shield-svg { position: relative; width: 106px; filter: drop-shadow(0 0 22px rgba(78,233,153,.36)); z-index: 1; }
    .score { position: absolute; text-align: center; z-index: 2; }
    .score strong { display: block; color: #effff6; font: 600 26px/1 "IBM Plex Mono", monospace; }
    .score span { color: #6d9380; font-size: 9px; letter-spacing: .12em; }
    .telemetry { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; }
    .telemetry-item { background: rgba(211,255,231,.045); border: 1px solid rgba(211,255,231,.08); padding: 13px 12px; border-radius: 8px; }
    .telemetry-item span { display: block; color: #638273; font-size: 8px; letter-spacing: .1em; text-transform: uppercase; }
    .telemetry-item strong { display: block; color: #d7f9e7; font-size: 12px; margin-top: 7px; }
    .log { margin-top: 16px; min-height: 67px; color: #779487; font-size: 10px; }
    .log div { opacity: 0; transform: translateY(5px); animation: logIn .4s ease forwards; }
    .log div:nth-child(2) { animation-delay: .5s; }
    .log div:nth-child(3) { animation-delay: 1s; }
    .ok { color: #63eaa4; }
    .float-chip { position: absolute; z-index: 4; padding: 13px 16px; background: var(--surface); color: var(--text); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 12px; font: 600 11px/1 "IBM Plex Mono", monospace; animation: float 4s ease-in-out infinite; }
    .float-chip.top { right: -20px; top: 0; }
    .float-chip.bottom { left: -16px; bottom: 0; animation-delay: -2s; }
    .float-chip b { color: var(--green); }

    .ticker { border-block: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 60%, transparent); overflow: hidden; }
    .ticker-track { width: max-content; display: flex; align-items: center; padding: 17px 0; animation: marquee 24s linear infinite; }
    .ticker-track span { display: flex; align-items: center; gap: 22px; padding-right: 22px; color: var(--muted); font: 500 11px/1 "IBM Plex Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }
    .ticker-track i { width: 5px; height: 5px; background: var(--green); transform: rotate(45deg); }

    section { position: relative; padding: 120px 0; }
    .section-head { display: grid; grid-template-columns: .7fr 1.3fr; gap: 64px; align-items: end; margin-bottom: 52px; }
    .section-index { color: var(--green); font: 600 12px/1 "IBM Plex Mono", monospace; }
    h2 { margin: 0; font-size: clamp(36px,4.6vw,64px); line-height: 1.06; letter-spacing: -.055em; }
    .section-head p { margin: 20px 0 0; max-width: 620px; color: var(--muted); line-height: 1.75; }

    .expertise-grid { display: grid; grid-template-columns: 1.25fr .75fr .75fr; gap: 14px; }
    .expertise-card { position: relative; min-height: 330px; padding: 28px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); transition: border-color .25s ease, transform .25s ease; }
    .expertise-card:hover { border-color: var(--green); transform: translateY(-4px); }
    .expertise-card:first-child { min-height: 440px; background: var(--text); color: var(--bg); grid-row: span 2; }
    .expertise-card:nth-child(4) { grid-column: 2 / span 2; }
    .card-no { color: var(--green); font: 500 11px/1 "IBM Plex Mono", monospace; }
    .expertise-card h3 { margin: 90px 0 12px; font-size: 23px; letter-spacing: -.035em; }
    .expertise-card:first-child h3 { margin-top: 166px; max-width: 300px; font-size: 36px; }
    .expertise-card p { margin: 0; max-width: 430px; color: var(--muted); font-size: 14px; line-height: 1.7; }
    .expertise-card:first-child p { color: color-mix(in srgb, var(--bg) 68%, transparent); }
    .card-icon { position: absolute; right: 24px; top: 24px; width: 48px; height: 48px; color: var(--green); }
    .expertise-card:first-child .card-icon { width: 170px; height: 170px; right: 16px; top: 18px; opacity: .8; }
    .fingerprint { position: absolute; right: -10px; top: 0; width: 250px; opacity: .18; color: var(--green); }

    .proof { background: var(--text); color: var(--bg); overflow: hidden; }
    .proof::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 70% 45%, color-mix(in srgb,var(--green) 20%,transparent), transparent 32%); }
    .proof .section-index { color: var(--green-bright); }
    .proof-grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 88px; align-items: center; }
    .proof h2 { max-width: 520px; }
    .proof-copy > p { color: color-mix(in srgb, var(--bg) 64%, transparent); line-height: 1.8; max-width: 560px; }
    .stats { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: color-mix(in srgb, var(--bg) 14%, transparent); border: 1px solid color-mix(in srgb,var(--bg) 14%,transparent); }
    .stat { min-height: 185px; padding: 28px; background: var(--text); }
    .stat strong { display: block; font-size: clamp(44px,5vw,68px); line-height: 1; letter-spacing: -.06em; color: var(--green-bright); }
    .stat span { display: block; margin-top: 16px; color: color-mix(in srgb, var(--bg) 65%, transparent); font-size: 13px; line-height: 1.5; }
    .method-list { list-style: none; margin: 36px 0 0; padding: 0; }
    .method-list li { padding: 16px 0; border-top: 1px solid color-mix(in srgb, var(--bg) 14%, transparent); display: flex; align-items: center; gap: 14px; font-size: 14px; }
    .method-list i { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--green-bright); color: #031009; font-style: normal; font-size: 12px; }

    .process-rail { position: relative; margin-top: 12px; }
    .process-rail::before { content: ""; position: absolute; left: 25px; top: 26px; bottom: 26px; width: 1px; background: var(--line); }
    .step { position: relative; display: grid; grid-template-columns: 52px 180px 1fr; gap: 28px; align-items: start; padding: 28px 0; border-bottom: 1px solid var(--line); }
    .step:first-child { border-top: 1px solid var(--line); }
    .step-dot { width: 52px; height: 52px; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--line-strong); border-radius: 50%; color: var(--green); font: 600 11px/1 "IBM Plex Mono", monospace; z-index: 1; transition: background .25s, color .25s; }
    .step:hover .step-dot { background: var(--green); color: #031009; }
    .step h3 { margin: 13px 0 0; font-size: 18px; }
    .step p { margin: 10px 0 0; max-width: 700px; color: var(--muted); line-height: 1.75; }

    .contact-card { position: relative; overflow: hidden; padding: clamp(38px,7vw,84px); background: var(--green); color: #031009; border-radius: var(--radius-l); }
    .contact-card::after { content: ""; position: absolute; width: 380px; height: 380px; right: -100px; top: -180px; border: 55px solid rgba(3,16,9,.1); border-radius: 50%; }
    .contact-card h2 { max-width: 780px; font-size: clamp(40px,6vw,76px); position: relative; z-index: 1; }
    .contact-row { position: relative; z-index: 1; margin-top: 40px; display: flex; align-items: end; justify-content: space-between; gap: 30px; }
    .contact-row p { margin: 0; max-width: 540px; font-weight: 600; line-height: 1.7; opacity: .75; }
    .contact-btn { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 12px; min-height: 58px; padding: 0 24px; background: #031009; color: #e9fff3; border-radius: 10px; font-weight: 700; }
    .contact-btn:hover svg { transform: translateX(4px); }
    .contact-btn svg { transition: transform .2s ease; }

    footer { padding: 0 0 34px; }
    .footer-row { display: flex; justify-content: space-between; gap: 30px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
    .footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
    .footer-links a:hover { color: var(--green); }

    [data-reveal] { opacity: 1; transform: none; }
    [data-reveal].visible { animation: revealIn .7s cubic-bezier(.2,.7,.2,1) both; }
    @keyframes revealIn { from { opacity: .12; transform: translateY(24px); } to { opacity: 1; transform: none; } }
    @keyframes pulse { 50% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--green-bright) 0%, transparent); } }
    @keyframes spin { to { transform: rotate(360deg); } }
    @keyframes spinBack { to { transform: rotate(-720deg); } }
    @keyframes float { 50% { transform: translateY(-10px); } }
    @keyframes logIn { to { opacity: 1; transform: none; } }
    @keyframes marquee { to { transform: translateX(-50%); } }

    @media (max-width: 980px) {
      .hero { min-height: auto; padding-top: 132px; }
      .hero-grid { grid-template-columns: 1fr; gap: 56px; }
      .hero-copy { max-width: 790px; }
      .hero-visual { min-height: 545px; width: min(620px, 100%); margin: 0 auto; }
      .section-head, .proof-grid { grid-template-columns: 1fr; gap: 28px; }
      .proof-grid { gap: 56px; }
      .expertise-grid { grid-template-columns: 1fr 1fr; }
      .expertise-card:first-child { grid-column: 1 / -1; grid-row: auto; min-height: 380px; }
      .expertise-card:nth-child(4) { grid-column: auto; }
      .step { grid-template-columns: 52px 140px 1fr; gap: 20px; }
    }
    @media (max-width: 760px) {
      .wrap { width: calc(100% - 30px); max-width: 1180px; }
      nav.wrap { width: calc(100% - 30px); }
      .nav-links { display: none; position: absolute; left: 15px; right: auto; width: min(360px, calc(100vw - 30px)); top: 66px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); flex-direction: column; align-items: stretch; gap: 4px; }
      .nav-links.open { display: flex; }
      .nav-links a { padding: 12px; }
      .nav-links a::after { display: none; }
      .nav-cta { margin-top: 5px; }
      .menu-btn { display: inline-flex; position: absolute; left: min(330px, calc(100vw - 59px)); right: auto; top: 15px; z-index: 2; }
      h1 { font-size: clamp(48px,14vw,70px); }
      .hero { padding: 120px 0 70px; }
      .hero-visual { min-height: 490px; }
      .console { inset: 10px 2px 24px; transform: none; }
      .console-body { padding: 22px 18px; }
      .shield-core { height: 190px; }
      .rings { width: 178px; }
      .float-chip.top { right: -5px; top: -5px; }
      .float-chip.bottom { left: -5px; }
      section { padding: 90px 0; }
      .section-head { margin-bottom: 36px; }
      .expertise-grid { grid-template-columns: 1fr; }
      .expertise-card, .expertise-card:first-child { min-height: 300px; }
      .expertise-card:nth-child(4) { grid-column: auto; }
      .expertise-card:first-child h3 { margin-top: 140px; font-size: 31px; }
      .stats { grid-template-columns: 1fr 1fr; }
      .stat { min-height: 160px; padding: 22px; }
      .step { grid-template-columns: 48px 1fr; gap: 16px; }
      .step-dot { width: 48px; height: 48px; }
      .step h3 { margin-top: 11px; }
      .step p { grid-column: 2; margin-top: -8px; }
      .process-rail::before { left: 23px; }
      .contact-row { align-items: stretch; flex-direction: column; }
      .contact-btn { justify-content: center; align-self: flex-start; }
      .footer-row { flex-direction: column; }
    }
    @media (max-width: 470px) {
      .wordmark span:last-child { display: none; }
      .hero-actions .btn { width: 100%; }
      .hero-visual { min-height: 475px; }
      .console-body { padding: 20px 13px; }
      .console-title { font-size: 10px; }
      .telemetry { gap: 5px; }
      .telemetry-item { padding: 10px 7px; }
      .telemetry-item strong { font-size: 10px; }
      .telemetry-item span { font-size: 7px; }
      .float-chip { font-size: 9px; padding: 11px; }
      .stats { grid-template-columns: 1fr; }
      .stat { min-height: 135px; }
    }
    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
      [data-reveal] { opacity: 1; transform: none; }
    }

    /* Editorial refinement: fewer effects, stronger contrast, quieter motion. */
    body {
      background:
        linear-gradient(var(--grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid) 1px, transparent 1px),
        var(--bg);
      background-size: 72px 72px;
    }
    .nav-shell { background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(12px); }
    nav { height: 80px; }
    .wordmark { letter-spacing: -.02em; }
    .nav-cta { min-width: 132px; border-radius: 6px; }
    .hero { min-height: 900px; padding: 154px 0 96px; }
    .hero::before { display: none; }
    .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(430px, .82fr); gap: 88px; }
    .status { padding: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; color: var(--green); letter-spacing: .09em; }
    .status-dot { width: 6px; height: 6px; box-shadow: none; animation: none; }
    h1 { margin: 30px 0 26px; max-width: 760px; font-size: clamp(54px, 6.5vw, 90px); line-height: .97; letter-spacing: -.065em; }
    h1 span { display: inline-block; color: var(--green); }
    .hero-copy > p { max-width: 650px; font-size: clamp(17px, 1.45vw, 19px); line-height: 1.75; }
    .hero-actions { margin-top: 38px; }
    .btn { min-height: 52px; border-radius: 7px; transition: background .18s ease, border-color .18s ease, color .18s ease; }
    .btn:hover { transform: none; }
    .btn-primary:hover { background: var(--text); color: var(--bg); }
    .btn-primary:hover svg { transform: none; }
    .trust-line { margin-top: 48px; padding-top: 23px; border-top: 1px solid var(--line); }

    .hero-visual { min-height: 592px; perspective: none; }
    .hero-visual::before {
      content: ""; position: absolute; inset: -24px -28px 10px 44px;
      border: 1px solid var(--line); border-radius: 26px; background: color-mix(in srgb, var(--surface) 42%, transparent);
    }
    .console {
      inset: 14px 0 36px 8px; border-radius: 14px; transform: none;
      border-color: rgba(110,255,180,.16);
      box-shadow: 0 34px 80px rgba(0,0,0,.28), 0 1px 0 rgba(255,255,255,.04) inset;
    }
    .console::after { opacity: .35; }
    .console-bar { height: 56px; }
    .console-body { padding: 30px 30px 26px; }
    .console-title { margin-bottom: 24px; }
    .shield-core { height: 232px; margin-bottom: 22px; }
    .rings, .rings::before { animation: none; }
    .rings { width: 210px; border-style: dashed; }
    .shield-svg { width: 110px; }
    .score strong { font-size: 20px; letter-spacing: -.03em; color: #8fffc2; }
    .score span { display: block; margin-top: 6px; }
    .telemetry { gap: 10px; }
    .telemetry-item { border-radius: 4px; padding: 14px 13px; }
    .log div { opacity: 1; transform: none; animation: none; }
    .float-chip { border-radius: 6px; animation: none; box-shadow: 0 16px 44px rgba(0,0,0,.16); }
    .float-chip.top { right: -14px; top: -5px; }
    .float-chip.bottom { left: -16px; bottom: 2px; }

    .ticker { background: var(--surface); }
    .ticker-track { width: auto; min-height: 62px; justify-content: center; padding: 14px 24px; animation: none; }
    .ticker-track span { justify-content: center; flex-wrap: wrap; row-gap: 10px; padding: 0; }
    .ticker-track span[aria-hidden="true"] { display: none; }

    section { padding: 132px 0; }
    .section-head { grid-template-columns: 210px 1fr; gap: 72px; margin-bottom: 60px; }
    .section-index { letter-spacing: .09em; }
    h2 { max-width: 760px; font-size: clamp(40px,4.8vw,66px); }
    .expertise-grid { grid-template-columns: 1.15fr .85fr .85fr; gap: 18px; }
    .expertise-card { border-radius: 10px; transition: border-color .18s ease, background .18s ease; }
    .expertise-card:hover { transform: none; border-color: var(--line-strong); background: color-mix(in srgb, var(--surface) 90%, var(--green-soft)); }
    .expertise-card:first-child { border-radius: 10px; }
    .expertise-card:first-child:hover { background: var(--text); border-color: var(--green); }
    .proof::before { display: none; }
    .proof-grid { gap: 100px; }
    .stats { border-color: color-mix(in srgb,var(--bg) 18%,transparent); }
    .stat { min-height: 200px; }
    .step-dot { border-radius: 8px; transition: background .18s ease, color .18s ease; }
    .contact-card { border-radius: 12px; }
    .contact-btn { border-radius: 6px; }
    [data-reveal], [data-reveal].visible { opacity: 1; transform: none; animation: none; }

    @media (max-width: 980px) {
      .hero { min-height: auto; }
      .hero-grid { gap: 72px; }
      .section-head { grid-template-columns: 150px 1fr; gap: 36px; }
    }
    @media (max-width: 760px) {
      nav { height: 72px; }
      .hero { padding-top: 124px; }
      .hero-grid { gap: 54px; }
      h1 { font-size: clamp(48px, 14vw, 68px); }
      .hero-visual { min-height: 510px; }
      .hero-visual::before { inset: -14px 8px 14px 28px; }
      .console { inset: 8px 0 28px; }
      .ticker-track { justify-content: flex-start; padding: 18px 15px; }
      .ticker-track span { justify-content: flex-start; }
      section { padding: 96px 0; }
      .section-head { grid-template-columns: 1fr; gap: 18px; }
      .float-chip.top { right: 5px; }
      .float-chip.bottom { left: 5px; }
    }
    @media (max-width: 470px) {
      .hero-visual { min-height: 492px; }
      .hero-visual::before { inset: -10px 5px 18px 18px; }
      .console-body { padding: 22px 14px; }
    }

    /* Dark cyber portfolio direction */
    :root {
      color-scheme: dark;
      --bg: #07100d;
      --bg-rgb: 7,16,13;
      --surface: #0d1915;
      --surface-2: #12231c;
      --text: #edf7f1;
      --muted: #98aba1;
      --line: rgba(204,255,226,.12);
      --line-strong: rgba(204,255,226,.24);
      --green: #41e59a;
      --green-bright: #77ffb8;
      --green-soft: #113326;
      --amber: #ffc46b;
      --danger: #ff7664;
      --shadow: 0 30px 90px rgba(0,0,0,.45);
      --nav: rgba(7,16,13,.84);
      --grid: rgba(168,255,208,.045);
      --code: #020906;
      --code-text: #e5fff0;
    }
    @media (prefers-color-scheme: dark) {
      :root {
        --bg: #030907;
        --surface: #09130f;
        --surface-2: #0d1d16;
        --grid: rgba(168,255,208,.04);
      }
    }
    body { background-size: 80px 80px; }
    .nav-shell { background: rgba(3,9,7,.8); }
    .nav-shell.scrolled { box-shadow: 0 14px 34px rgba(0,0,0,.25); }
    .nav-cta { background: var(--green); color: #04110b; }
    .nav-cta:hover { background: #9affca; color: #04110b; }
    .hero { min-height: 960px; overflow: hidden; }
    .hero::after {
      content: ""; position: absolute; width: 680px; height: 680px; right: -260px; top: 80px;
      border: 1px solid rgba(99,244,169,.12); border-radius: 50%;
      box-shadow: 0 0 0 120px rgba(99,244,169,.025), 0 0 0 121px rgba(99,244,169,.08), 0 0 120px rgba(65,229,154,.06);
      animation: haloBreathe 7s ease-in-out infinite; pointer-events: none;
    }
    .hero-grid { position: relative; z-index: 1; }
    .hero-kicker { display: flex; align-items: center; gap: 14px; color: var(--text); font: 600 12px/1 "IBM Plex Mono", monospace; letter-spacing: .16em; }
    .hero-kicker::before { content: ""; width: 42px; height: 1px; background: var(--green); }
    .hero-kicker span { color: var(--green); }
    h1 { font-size: clamp(58px, 6.8vw, 96px); }
    h1 .line-two { display: block; margin-top: 12px; color: var(--green); font-size: .58em; line-height: 1.1; letter-spacing: -.045em; }
    .status { margin-top: 28px; color: var(--muted); letter-spacing: .06em; }
    .hero-copy > p { color: #b7c7bf; }
    .btn-primary { background: var(--green); color: #04110b; }
    .btn-primary:hover { background: #a0ffcf; color: #04110b; }
    .btn-ghost { background: rgba(255,255,255,.025); }
    .trust-line { color: #aabbb2; }

    .hero-visual { min-height: 650px; isolation: isolate; }
    .hero-visual::before { inset: 8px -24px 0 46px; background: rgba(14,34,25,.5); border-color: rgba(116,255,180,.14); border-radius: 14px; transform: rotate(3deg); }
    .portrait-shell { position: absolute; inset: 28px 12px 20px 28px; border: 1px solid rgba(116,255,180,.2); background: #06100c; overflow: hidden; box-shadow: 0 40px 100px rgba(0,0,0,.5); }
    .portrait-shell::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 35%, rgba(81,242,157,.12), transparent 66%); transform: translateX(-100%); animation: sheen 6s ease-in-out infinite; z-index: 3; pointer-events: none; }
    .portrait-grid { position: absolute; inset: 0; opacity: .36; background: linear-gradient(rgba(95,237,160,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(95,237,160,.08) 1px, transparent 1px); background-size: 34px 34px; }
    .portrait-placeholder { position: absolute; inset: 42px 42px 0; display: grid; place-items: end center; overflow: hidden; border-bottom: 1px solid rgba(116,255,180,.16); }
    .portrait-silhouette { position: relative; width: 68%; height: 88%; opacity: .68; filter: drop-shadow(0 20px 34px rgba(0,0,0,.45)); }
    .portrait-silhouette::before { content: ""; position: absolute; width: 34%; aspect-ratio: 1; border-radius: 50%; top: 4%; left: 33%; background: linear-gradient(145deg,#497064,#14271f); border: 1px solid rgba(136,255,192,.22); }
    .portrait-silhouette::after { content: ""; position: absolute; width: 100%; height: 65%; bottom: -10%; left: 0; border-radius: 48% 48% 0 0; background: linear-gradient(145deg,#38584d,#0c1b15 70%); border: 1px solid rgba(136,255,192,.18); }
    .portrait-note { position: absolute; left: 24px; right: 24px; bottom: 23px; z-index: 4; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 16px; border: 1px solid rgba(154,255,203,.16); background: rgba(2,9,6,.84); backdrop-filter: blur(12px); font: 500 10px/1.5 "IBM Plex Mono", monospace; color: #a8bdb2; }
    .portrait-note strong { color: var(--green); letter-spacing: .08em; }
    .orbit { position: absolute; width: 310px; aspect-ratio: 1; right: -72px; top: -58px; border: 1px solid rgba(119,255,184,.18); border-radius: 50%; animation: orbitSpin 14s linear infinite; z-index: 4; pointer-events: none; }
    .orbit::before { content: ""; position: absolute; width: 9px; height: 9px; background: var(--green); border-radius: 50%; left: 44px; top: 31px; box-shadow: 0 0 24px var(--green); }
    .signal-card { position: absolute; z-index: 6; min-width: 160px; padding: 15px 17px; border: 1px solid rgba(154,255,203,.18); background: rgba(7,18,13,.9); box-shadow: 0 20px 55px rgba(0,0,0,.34); backdrop-filter: blur(12px); font: 600 10px/1.4 "IBM Plex Mono", monospace; }
    .signal-card b { display: block; color: var(--green); font-size: 18px; margin-bottom: 5px; }
    .signal-card.one { right: -22px; top: 110px; animation: floatSlow 5s ease-in-out infinite; }
    .signal-card.two { left: -22px; bottom: 95px; animation: floatSlow 6s ease-in-out -2s infinite; }

    .ticker { border-color: rgba(204,255,226,.1); background: #06100c; }
    .ticker-track { width: max-content; justify-content: flex-start; animation: marquee 30s linear infinite; }
    .ticker-track span { flex-wrap: nowrap; padding-right: 22px; }
    .ticker-track span[aria-hidden="true"] { display: flex; }
    .ticker:hover .ticker-track { animation-play-state: paused; }

    .section-head { align-items: start; }
    .expertise-card { background: linear-gradient(145deg, rgba(19,39,30,.92), rgba(8,18,13,.92)); }
    .expertise-card:first-child { background: #07150f; color: var(--text); border-color: rgba(105,245,172,.18); }
    .expertise-card:first-child p { color: var(--muted); }
    .expertise-card:hover { border-color: rgba(105,245,172,.52); background: #10251b; transform: translateY(-4px); }
    .expertise-card:first-child:hover { background: #07150f; }
    [data-reveal] { opacity: 1; transform: none; }
    [data-reveal].visible { animation: revealIn .8s cubic-bezier(.2,.75,.2,1) both; }

    .skills-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
    .skill-intro p { color: var(--muted); line-height: 1.8; max-width: 500px; }
    .skill-list { border-top: 1px solid var(--line); }
    .skill { padding: 23px 0; border-bottom: 1px solid var(--line); }
    .skill-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 12px; }
    .skill-top strong { font-size: 15px; }
    .skill-top span { color: var(--green); font: 600 11px/1 "IBM Plex Mono", monospace; }
    .skill-track { height: 4px; background: rgba(255,255,255,.07); overflow: hidden; }
    .skill-fill { height: 100%; width: 0; background: linear-gradient(90deg, #20b979, var(--green-bright)); box-shadow: 0 0 20px rgba(65,229,154,.4); transition: width 1.15s cubic-bezier(.2,.8,.2,1); }
    .skill-list.visible .skill-fill { width: var(--level); }

    .articles-grid, .testimonials-grid, .social-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
    .article-card, .testimonial-card, .social-card { position: relative; padding: 28px; border: 1px solid var(--line); background: rgba(12,27,20,.72); overflow: hidden; transition: transform .25s ease, border-color .25s ease, background .25s ease; }
    .article-card:hover, .testimonial-card:hover, .social-card:hover { transform: translateY(-6px); border-color: rgba(105,245,172,.48); background: #10251b; }
    .article-card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
    .article-card:hover::before { transform: scaleX(1); }
    .article-meta, .placeholder-label { color: var(--green); font: 600 10px/1.4 "IBM Plex Mono", monospace; letter-spacing: .09em; text-transform: uppercase; }
    .article-card h3 { margin: 46px 0 16px; font-size: 24px; line-height: 1.25; letter-spacing: -.03em; }
    .article-card p, .testimonial-card p, .social-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
    .article-foot { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-top: 28px; color: #c1d0c8; font: 500 10px/1 "IBM Plex Mono", monospace; }
    .article-foot i { color: var(--green); font-style: normal; }

    .testimonial-card { min-height: 280px; display: flex; flex-direction: column; justify-content: space-between; }
    .quote-mark { color: var(--green); font: 600 54px/1 Georgia, serif; opacity: .6; }
    .testimonial-card p { margin: 24px 0 30px; font-size: 16px; }
    .review-slot { padding-top: 18px; border-top: 1px solid var(--line); }
    .review-slot strong { display: block; font-size: 13px; }
    .review-slot span { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; }

    .social-grid { grid-template-columns: repeat(4, 1fr); }
    .social-card { min-height: 220px; display: flex; flex-direction: column; }
    .social-icon { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line-strong); color: var(--green); font: 700 13px/1 "IBM Plex Mono", monospace; }
    .social-card h3 { margin: 34px 0 8px; font-size: 19px; }
    .social-card .social-handle { margin-top: auto; padding-top: 20px; color: #d3e0d9; font: 500 11px/1.4 "IBM Plex Mono", monospace; }
    a.social-card:hover .social-handle { color: var(--green); }

    .cv-card { position: relative; padding: clamp(38px, 7vw, 82px); border: 1px solid rgba(119,255,184,.25); background: linear-gradient(125deg, #0c2a1d, #07110d 64%); overflow: hidden; }
    .cv-card::after { content: "CV"; position: absolute; right: -10px; bottom: -56px; color: rgba(119,255,184,.055); font-size: clamp(180px,28vw,360px); font-weight: 800; letter-spacing: -.12em; line-height: 1; }
    .cv-card h2 { position: relative; z-index: 1; max-width: 720px; }
    .cv-card p { position: relative; z-index: 1; max-width: 600px; margin: 22px 0 34px; color: #adc1b6; line-height: 1.75; }
    .cv-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 14px; }
    .cv-note { align-self: center; color: #849b8f; font: 500 10px/1.5 "IBM Plex Mono", monospace; }

    .contact-card { background: var(--green); }
    .counter-pop { animation: counterPop .45s cubic-bezier(.2,.9,.25,1) both; }
    .parallax-item { will-change: transform; }
    @keyframes sheen { 0%,35% { transform: translateX(-110%); } 65%,100% { transform: translateX(110%); } }
    @keyframes orbitSpin { to { transform: rotate(360deg); } }
    @keyframes floatSlow { 50% { transform: translateY(-10px); } }
    @keyframes haloBreathe { 50% { transform: scale(1.04); opacity: .72; } }
    @keyframes counterPop { 50% { transform: translateY(-4px); color: #a7ffd1; } }

    @media (max-width: 980px) {
      .hero-grid, .skills-layout { grid-template-columns: 1fr; }
      .hero-visual { width: min(650px,100%); }
      .articles-grid, .testimonials-grid { grid-template-columns: 1fr 1fr; }
      .social-grid { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 760px) {
      .hero { min-height: auto; }
      .hero-kicker { letter-spacing: .1em; }
      .hero-visual { min-height: 560px; }
      .portrait-shell { inset: 24px 8px 20px; }
      .signal-card.one { right: -4px; top: 88px; }
      .signal-card.two { left: -4px; bottom: 74px; }
      .articles-grid, .testimonials-grid, .social-grid { grid-template-columns: 1fr; }
      .article-card h3 { margin-top: 34px; }
      .testimonial-card { min-height: 250px; }
      [data-reveal] { transform: translateY(20px); }
    }
    @media (max-width: 470px) {
      h1 { font-size: clamp(50px,15vw,64px); }
      .hero-visual { min-height: 500px; }
      .portrait-placeholder { inset: 34px 22px 0; }
      .portrait-note { left: 14px; right: 14px; bottom: 14px; }
      .signal-card { min-width: 135px; padding: 12px; }
      .signal-card b { font-size: 15px; }
      .orbit { width: 240px; }
    }

    /* Security operations hero — complete without a placeholder portrait. */
    .security-display { isolation: isolate; }
    .security-scan {
      position: absolute; inset: 0; z-index: 2; pointer-events: none;
      background: linear-gradient(180deg, transparent 0%, rgba(86,255,169,.02) 45%, rgba(86,255,169,.24) 50%, rgba(86,255,169,.02) 55%, transparent 100%);
      background-size: 100% 190px; animation: scanField 4.8s linear infinite;
    }
    .security-emblem { position: absolute; inset: 78px 24px 146px; z-index: 2; display: grid; place-items: center; color: var(--green); }
    .security-emblem svg { width: min(210px, 52%); filter: drop-shadow(0 0 28px rgba(65,229,154,.25)); }
    .security-emblem span { margin-top: 18px; color: #bfffdc; font: 600 11px/1 "IBM Plex Mono", monospace; letter-spacing: .28em; }
    .security-readout { position: absolute; left: 24px; right: 24px; bottom: 94px; z-index: 4; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
    .security-readout span { min-width: 0; padding: 10px 8px; border: 1px solid rgba(154,255,203,.12); background: rgba(2,9,6,.66); color: #9fb8ab; font: 500 8px/1.35 "IBM Plex Mono", monospace; white-space: nowrap; text-align: center; }
    .security-readout i { display: inline-block; width: 5px; height: 5px; margin-right: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
    @keyframes scanField { to { background-position: 0 190px; } }

    /* Final responsive pass: every content card gets full readable width on phones. */
    @media (max-width: 760px) {
      html { scroll-padding-top: 78px; }
      .wrap, nav.wrap { width: min(100% - 32px, 1180px); }
      .nav-links { left: 16px; width: calc(100vw - 32px); }
      .menu-btn { left: auto; right: 16px; }
      .hero { padding: 108px 0 64px; }
      .hero-grid { gap: 42px; }
      .hero-kicker { align-items: flex-start; font-size: 10px; line-height: 1.55; }
      .hero-kicker::before { flex: 0 0 28px; margin-top: 7px; }
      h1 { margin: 22px 0 20px; font-size: clamp(42px, 13vw, 58px); line-height: 1; }
      h1 .line-two { margin-top: 9px; font-size: .55em; line-height: 1.14; }
      .status { align-items: flex-start; font-size: 10px; line-height: 1.55; }
      .status-dot { flex: 0 0 auto; margin-top: 4px; }
      .hero-copy > p { font-size: 16px; line-height: 1.7; }
      .hero-actions { margin-top: 28px; }
      .hero-actions .btn { width: 100%; }
      .trust-line { display: grid; gap: 13px; margin-top: 34px; padding-top: 20px; }

      .hero-visual { min-height: 470px; width: 100%; margin: 0; }
      .hero-visual::before { inset: 2px 8px 16px 22px; }
      .portrait-shell { inset: 18px 0 26px; }
      .orbit { width: 220px; right: -72px; top: -54px; }
      .security-emblem { inset: 62px 18px 142px; }
      .security-emblem svg { width: min(168px, 52%); }
      .security-readout { left: 12px; right: 12px; bottom: 91px; gap: 5px; }
      .security-readout span { padding: 8px 3px; font-size: 6.5px; }
      .portrait-note { left: 12px; right: 12px; bottom: 12px; padding: 11px 12px; font-size: 8px; }
      .signal-card { min-width: 122px; padding: 11px 12px; font-size: 8px; }
      .signal-card b { font-size: 15px; }
      .signal-card.one { right: -3px; top: 64px; }
      .signal-card.two { left: -3px; bottom: 74px; }

      section { padding: 84px 0; }
      .section-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 32px; }
      h2 { font-size: clamp(34px, 10.5vw, 48px); line-height: 1.08; }
      .section-head p { margin-top: 15px; font-size: 15px; line-height: 1.7; }
      .expertise-grid, .articles-grid, .testimonials-grid, .social-grid { grid-template-columns: minmax(0,1fr); gap: 12px; }
      .expertise-card, .expertise-card:first-child { grid-column: auto; grid-row: auto; min-height: 0; padding: 23px; }
      .expertise-card h3 { margin: 72px 0 12px; font-size: 22px; }
      .expertise-card:first-child { min-height: 350px; }
      .expertise-card:first-child h3 { margin-top: 160px; font-size: 29px; }
      .expertise-card:first-child .card-icon { width: 132px; height: 132px; }
      .fingerprint { width: 205px; }
      .skills-layout, .proof-grid { grid-template-columns: minmax(0,1fr); gap: 44px; }
      .skill-intro p { font-size: 15px; }
      .stats { grid-template-columns: 1fr 1fr; }
      .stat { min-width: 0; min-height: 148px; padding: 20px; }
      .stat strong { font-size: 45px; }
      .step { grid-template-columns: 44px minmax(0,1fr); gap: 14px; }
      .step-dot { width: 44px; height: 44px; }
      .step p { grid-column: 2; margin-top: -4px; }
      .process-rail::before { left: 21px; }
      .article-card, .testimonial-card, .social-card { width: 100%; min-width: 0; padding: 22px; }
      .article-card h3 { margin-top: 30px; font-size: 22px; }
      .testimonial-card { min-height: 238px; }
      .social-card { min-height: 200px; }
      .cv-card { padding: 34px 24px; }
      .cv-card::after { font-size: 170px; bottom: -26px; }
      .cv-actions .btn { width: 100%; }
      .contact-card { padding: 34px 24px; }
      .contact-card h2 { font-size: clamp(36px, 11vw, 48px); }
      .contact-btn { width: 100%; }
    }
    @media (max-width: 390px) {
      .stats { grid-template-columns: 1fr; }
      .stat { min-height: 128px; }
      .security-readout span { font-size: 6px; letter-spacing: -.02em; }
    }
    @media (prefers-reduced-motion: reduce) {
      .hero::after, .portrait-shell::before, .orbit, .signal-card, .ticker-track { animation: none !important; }
      [data-reveal] { opacity: 1; transform: none; }
      .skill-fill { transition: none; width: var(--level); }
      .parallax-item { transform: none !important; }
    }
    /* Research-led authority pass: proof first, restrained hacker cues, outcome-led work. */
    .terminal-id {
      display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
      color: #b6c9bf; font: 500 12px/1.4 "IBM Plex Mono", monospace;
    }
    .terminal-id b { color: var(--green); font-weight: 600; }
    .terminal-id i { width: 8px; height: 16px; background: var(--green); animation: caretBlink 1s steps(1) infinite; }
    .audit-ribbon { border-block: 1px solid var(--line); background: #eaf4ee; color: #102119; }
    .audit-ribbon .wrap { min-height: 112px; display: grid; grid-template-columns: 1fr auto; gap: 36px; align-items: center; }
    .audit-ribbon strong { display: block; font-size: clamp(22px,2.8vw,34px); letter-spacing: -.04em; }
    .audit-ribbon p { margin: 7px 0 0; color: #4d6257; font-size: 14px; }
    .audit-ribbon .btn { background: #0b1812; color: #effaf3; }
    .work-grid { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 18px; }
    .work-card { position: relative; min-height: 420px; grid-column: span 4; padding: 30px; border: 1px solid var(--line); background: #0b1712; overflow: hidden; display: flex; flex-direction: column; }
    .work-card:first-child { grid-column: span 7; background: #eaf4ee; color: #102119; }
    .work-card:nth-child(2) { grid-column: span 5; }
    .work-card:nth-child(3) { grid-column: 4 / span 6; min-height: 340px; }
    .work-card::after { content: attr(data-code); position: absolute; right: -10px; bottom: -26px; color: rgba(78,225,152,.055); font: 800 124px/1 "Manrope", sans-serif; letter-spacing: -.12em; }
    .work-card:first-child::after { color: rgba(14,68,42,.07); }
    .work-kind { color: var(--green); font: 600 10px/1.4 "IBM Plex Mono", monospace; letter-spacing: .12em; }
    .work-card:first-child .work-kind { color: #087c50; }
    .work-card h3 { position: relative; z-index: 1; margin: auto 0 16px; max-width: 440px; font-size: clamp(27px,3vw,42px); line-height: 1.05; letter-spacing: -.045em; }
    .work-card p { position: relative; z-index: 1; margin: 0; max-width: 520px; color: var(--muted); line-height: 1.7; }
    .work-card:first-child p { color: #4d6257; }
    .work-tags { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
    .work-tags span { padding: 7px 9px; border: 1px solid currentColor; color: #8fb1a0; font: 500 9px/1 "IBM Plex Mono", monospace; }
    .work-card:first-child .work-tags span { color: #315d48; }
    .belief { background: #eaf4ee; color: #102119; }
    .belief-grid { display: grid; grid-template-columns: 240px 1fr; gap: 72px; align-items: start; }
    .belief .section-index { color: #087c50; }
    .belief-quote { margin: 0; max-width: 890px; font-size: clamp(36px,5.5vw,72px); line-height: 1.03; letter-spacing: -.06em; font-weight: 700; }
    .belief-quote span { color: #087c50; }
    .belief-note { max-width: 670px; margin: 34px 0 0; color: #4d6257; font-size: 17px; line-height: 1.8; }
    .proof .stats { box-shadow: inset 0 0 0 1px rgba(234,244,238,.05); }
    .social-grid { grid-template-columns: repeat(3,1fr); }
    .capability-ledger { border-top: 1px solid var(--line); }
    .capability-row { display: grid; grid-template-columns: 220px 1fr auto; gap: 28px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); }
    .capability-row strong { font-size: 17px; }
    .capability-row p { margin: 0; color: var(--muted); line-height: 1.65; }
    .capability-row span { color: var(--green); font: 600 10px/1 "IBM Plex Mono", monospace; letter-spacing: .1em; }
    .references-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; padding: clamp(34px,6vw,70px); border: 1px solid var(--line); background: #0c1914; }
    .references-panel h2 { font-size: clamp(38px,5vw,64px); }
    .references-copy p { margin: 0 0 26px; color: var(--muted); font-size: 17px; line-height: 1.8; }
    .reference-types { display: flex; flex-wrap: wrap; gap: 9px; }
    .reference-types span { padding: 10px 12px; border: 1px solid var(--line-strong); color: #bfd0c7; font: 500 10px/1 "IBM Plex Mono", monospace; }
    @keyframes caretBlink { 50% { opacity: 0; } }
    @media (max-width: 980px) {
      .work-card, .work-card:first-child, .work-card:nth-child(2), .work-card:nth-child(3) { grid-column: span 6; }
      .work-card:last-child { grid-column: 1 / -1; }
      .belief-grid { grid-template-columns: 1fr; gap: 24px; }
    }
    @media (max-width: 760px) {
      .audit-ribbon .wrap { padding-block: 26px; grid-template-columns: 1fr; gap: 20px; }
      .audit-ribbon .btn { width: 100%; }
      .work-grid { grid-template-columns: minmax(0,1fr); gap: 12px; }
      .work-card, .work-card:first-child, .work-card:nth-child(2), .work-card:nth-child(3), .work-card:last-child { grid-column: auto; min-height: 320px; padding: 24px; }
      .work-card h3 { font-size: 31px; }
      .belief-note { font-size: 16px; }
      .social-grid { grid-template-columns: 1fr; }
      .capability-row { grid-template-columns: 1fr; gap: 9px; padding: 22px 0; }
      .references-panel { grid-template-columns: 1fr; gap: 28px; padding: 32px 24px; }
      .references-copy p { font-size: 16px; }
    }
    @media (prefers-reduced-motion: reduce) { .terminal-id i { animation: none; } }

    /* Useful strengths retained from the live portfolio: concrete service scope,
       a real client voice, and a human profile — expressed in this system. */
    .response-section { padding-top: 24px; }
    .response-shell { border-top: 1px solid var(--line); }
    .response-brief {
      display: grid; grid-template-columns: 220px minmax(0, .82fr) minmax(300px, 1fr);
      gap: 36px; align-items: start; padding: 42px 0; border-bottom: 1px solid var(--line);
    }
    .response-code { color: var(--green); font: 600 11px/1.4 "IBM Plex Mono", monospace; letter-spacing: .12em; }
    .response-brief h3 { margin: 0; font-size: clamp(28px,3vw,42px); line-height: 1.08; letter-spacing: -.045em; }
    .scope-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; margin: 0; padding: 0; list-style: none; }
    .scope-list li { position: relative; padding: 12px 0 12px 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 1.5; }
    .scope-list li::before { content: ""; position: absolute; left: 0; top: 18px; width: 6px; height: 6px; border: 1px solid var(--green); transform: rotate(45deg); }

    .operator-profile { padding-block: 0 132px; }
    .operator-shell { display: grid; grid-template-columns: minmax(300px,.78fr) minmax(0,1.22fr); min-height: 620px; border: 1px solid var(--line); background: #0a1611; }
    .operator-portrait { position: relative; overflow: hidden; min-height: 620px; background: radial-gradient(circle at 50% 35%, #18372a, #07100c 67%); }
    .operator-portrait::before { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg,transparent 52%,rgba(3,9,7,.92)), linear-gradient(90deg,rgba(65,229,154,.1) 1px,transparent 1px), linear-gradient(rgba(65,229,154,.08) 1px,transparent 1px); background-size: auto, 44px 44px, 44px 44px; }
    .operator-portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; filter: saturate(.82) contrast(1.05); }
    .operator-tag { position: absolute; z-index: 3; left: 24px; bottom: 24px; right: 24px; display: flex; justify-content: space-between; gap: 18px; padding: 14px 16px; border: 1px solid rgba(154,255,203,.18); background: rgba(3,9,7,.78); backdrop-filter: blur(10px); color: #a9bdb2; font: 500 10px/1.5 "IBM Plex Mono", monospace; }
    .operator-tag strong { color: var(--green); }
    .operator-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(38px,7vw,86px); }
    .operator-copy h2 { margin-top: 22px; }
    .operator-copy > p { max-width: 650px; margin: 24px 0 34px; color: var(--muted); font-size: 17px; line-height: 1.8; }
    .operator-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
    .operator-fact { min-height: 105px; padding: 20px; background: #0a1611; }
    .operator-fact strong { display: block; color: var(--green); font: 600 11px/1.4 "IBM Plex Mono", monospace; letter-spacing: .08em; }
    .operator-fact span { display: block; margin-top: 10px; color: #c2d0c8; font-size: 13px; line-height: 1.5; }

    .client-quote { margin: 0; }
    .client-quote p { margin: 0 0 26px; color: #e9f5ee; font-size: clamp(24px,3vw,36px); line-height: 1.35; letter-spacing: -.035em; }
    .client-quote p::before { content: "“"; color: var(--green); }
    .client-quote p::after { content: "”"; color: var(--green); }
    .client-quote footer { padding: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
    .client-quote strong { color: var(--text); }

    @media (max-width: 980px) {
      .response-brief { grid-template-columns: 150px minmax(0,.75fr) minmax(320px,1fr); gap: 26px; }
      .operator-shell { grid-template-columns: minmax(280px,.85fr) minmax(0,1.15fr); }
    }
    @media (max-width: 760px) {
      .response-section { padding-top: 0; }
      .response-brief { grid-template-columns: minmax(0,1fr); gap: 14px; padding: 30px 0; }
      .scope-list { grid-template-columns: 1fr; margin-top: 8px; }
      .operator-profile { padding-bottom: 84px; }
      .operator-shell { grid-template-columns: minmax(0,1fr); min-height: 0; }
      .operator-portrait { min-height: 400px; }
      .operator-copy { padding: 34px 24px; }
      .operator-copy > p { font-size: 15px; }
      .operator-facts { grid-template-columns: 1fr; }
      .operator-fact { min-height: 90px; }
    }
    @media (max-width: 390px) {
      .operator-portrait { min-height: 380px; }
      .operator-tag { left: 12px; right: 12px; bottom: 12px; font-size: 8px; }
    }

    /* ============ Theme system: switchable light / dark ============
       Dark stays the design above. Light is a full token + component
       layer keyed off [data-theme] on <html>, set by the toggle and
       initialised from the visitor's system preference. */
    :root[data-theme="dark"] {
      color-scheme: dark;
      --bg: #07100d;
      --bg-rgb: 7,16,13;
      --surface: #0d1915;
      --surface-2: #12231c;
      --text: #edf7f1;
      --muted: #98aba1;
      --line: rgba(204,255,226,.12);
      --line-strong: rgba(204,255,226,.24);
      --green: #41e59a;
      --green-bright: #77ffb8;
      --green-soft: #113326;
      --amber: #ffc46b;
      --danger: #ff7664;
      --shadow: 0 30px 90px rgba(0,0,0,.45);
      --nav: rgba(7,16,13,.84);
      --grid: rgba(168,255,208,.045);
      --code: #020906;
      --code-text: #e5fff0;
    }
    :root[data-theme="light"] {
      color-scheme: light;
      --bg: #f4f8f5;
      --bg-rgb: 244,248,245;
      --surface: #ffffff;
      --surface-2: #e9f1ec;
      --text: #0a1712;
      --muted: #4c6156;
      --line: rgba(10,23,18,.13);
      --line-strong: rgba(10,23,18,.26);
      --green: #087c50;
      --green-bright: #0d9d66;
      --green-soft: #dcf3e7;
      --amber: #b36800;
      --danger: #cf4633;
      --shadow: 0 24px 60px rgba(18,52,36,.13);
      --nav: rgba(244,248,245,.86);
      --grid: rgba(10,23,18,.055);
      --code: #07110e;
      --code-text: #e2f8ec;
    }

    /* Light theme: components that hard-coded the dark palette. */
    :root[data-theme="light"] .nav-shell { background: rgba(244,248,245,.86); }
    :root[data-theme="light"] .nav-shell.scrolled { box-shadow: 0 12px 30px rgba(18,52,36,.08); }
    :root[data-theme="light"] .terminal-id { color: var(--muted); }
    :root[data-theme="light"] .hero-copy > p { color: var(--muted); }
    :root[data-theme="light"] .trust-line { color: var(--muted); }
    :root[data-theme="light"] .btn-ghost { background: var(--surface); }
    :root[data-theme="light"] .hero-visual::before { background: rgba(255,255,255,.55); border-color: var(--line); }
    :root[data-theme="light"] .portrait-shell { background: #eaf3ed; border-color: var(--line-strong); box-shadow: 0 34px 80px rgba(18,52,36,.16); }
    :root[data-theme="light"] .portrait-note { background: rgba(255,255,255,.9); color: var(--muted); border-color: var(--line); }
    :root[data-theme="light"] .security-emblem span { color: var(--green); }
    :root[data-theme="light"] .security-readout span { background: rgba(255,255,255,.78); color: var(--muted); border-color: var(--line); }
    :root[data-theme="light"] .signal-card { background: var(--surface); color: var(--text); border-color: var(--line); box-shadow: var(--shadow); }
    :root[data-theme="light"] .ticker { background: var(--surface); }
    :root[data-theme="light"] .expertise-card { background: var(--surface); }
    :root[data-theme="light"] .expertise-card:hover { background: var(--green-soft); }
    :root[data-theme="light"] .expertise-card:first-child { background: var(--text); color: var(--bg); border-color: var(--text); }
    :root[data-theme="light"] .expertise-card:first-child p { color: color-mix(in srgb, var(--bg) 68%, transparent); }
    :root[data-theme="light"] .expertise-card:first-child .card-no,
    :root[data-theme="light"] .expertise-card:first-child .fingerprint { color: #43dc98; }
    :root[data-theme="light"] .expertise-card:first-child:hover { background: var(--text); border-color: var(--green); }
    :root[data-theme="light"] .work-card { background: var(--surface); }
    :root[data-theme="light"] .article-card,
    :root[data-theme="light"] .testimonial-card,
    :root[data-theme="light"] .social-card { background: var(--surface); }
    :root[data-theme="light"] .article-card:hover,
    :root[data-theme="light"] .testimonial-card:hover,
    :root[data-theme="light"] .social-card:hover { background: var(--surface-2); }
    :root[data-theme="light"] .social-card .social-handle { color: var(--text); }
    :root[data-theme="light"] .article-foot { color: var(--muted); }
    :root[data-theme="light"] .references-panel { background: var(--surface); }
    :root[data-theme="light"] .client-quote p { color: var(--text); }
    :root[data-theme="light"] .reference-types span { color: var(--muted); }
    :root[data-theme="light"] .cv-card { color: #e9f5ee; }
    :root[data-theme="light"] .cv-card .section-index { color: #77ffb8; }
    :root[data-theme="light"] .operator-shell { background: var(--surface); }
    :root[data-theme="light"] .operator-fact { background: var(--surface); }
    :root[data-theme="light"] .operator-fact span { color: var(--text); }
    :root[data-theme="light"] .skill-track { background: var(--line); }

    /* Theme toggle control */
    .theme-toggle {
      flex: 0 0 auto; width: 42px; height: 42px; display: grid; place-items: center;
      border: 1px solid var(--line); border-radius: 10px; background: var(--surface);
      color: var(--text); cursor: pointer;
      transition: border-color .2s ease, color .2s ease, background .2s ease;
    }
    .theme-toggle:hover { border-color: var(--green); color: var(--green); }
    .theme-toggle svg { width: 18px; height: 18px; display: block; }
    .theme-toggle .icon-sun { display: none; }
    :root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
    :root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
    @media (min-width: 761px) {
      .nav-links { margin-left: auto; }
      .theme-toggle { margin-left: 16px; }
    }
    @media (max-width: 760px) {
      .theme-toggle { margin-left: auto; margin-right: 54px; }
    }
    @media (prefers-reduced-motion: no-preference) {
      html.theme-fade *, html.theme-fade *::before, html.theme-fade *::after {
        transition: background-color .35s ease, color .35s ease, border-color .35s ease, box-shadow .35s ease !important;
      }
    }

    /* Professional finish: visible keyboard focus, balanced display
       type, a themed scrollbar, and a tactile press state. */
    a:focus-visible, button:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }
    h1, h2 { text-wrap: balance; }
    .btn:active, .contact-btn:active, .nav-cta:active { transform: translateY(1px); }
    ::-webkit-scrollbar { width: 10px; }
    ::-webkit-scrollbar-track { background: var(--bg); }
    ::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 8px; }
    ::-webkit-scrollbar-thumb:hover { background: var(--green); }

    /* Color grading for the pale accent panels (audit ribbon, featured
       work card, belief band). Flat #eaf4ee read as washed white: in
       dark mode a stark flat slab, in light mode nearly identical to
       the page background. Replaced with directional mint grades —
       subtle depth in dark mode, a deeper, edged grade in light mode
       so the panels sit as intentional surfaces, not white holes. */
    .audit-ribbon { background: linear-gradient(100deg, #f2f8f4 0%, #e6f1e9 55%, #ddefe3 100%); }
    .belief { background: linear-gradient(155deg, #f2f8f4 0%, #e7f2ea 58%, #e0efe5 100%); }
    .work-card:first-child { background: linear-gradient(155deg, #f6faf7 0%, #e9f3ec 55%, #e1efe6 100%); }
    :root[data-theme="light"] .audit-ribbon {
      background: linear-gradient(100deg, #ddefe1 0%, #cfe7d6 55%, #bedcc7 100%);
      border-block-color: rgba(8,124,80,.24);
    }
    :root[data-theme="light"] .belief {
      background: linear-gradient(155deg, #e3f1e8 0%, #d2e9da 55%, #c1decb 100%);
      border-block: 1px solid rgba(8,124,80,.16);
    }
    :root[data-theme="light"] .work-card:first-child {
      background: linear-gradient(155deg, #eef6f1 0%, #ddefe3 55%, #cde6d5 100%);
      border-color: rgba(8,124,80,.26);
      box-shadow: 0 20px 46px rgba(18,52,36,.09);
    }

    /* ============ Recreate: full-spectrum security specialist ============
       Six disciplines up front (not hardening alone), a real 3D hero
       emblem, and animated text: staggered headline words, a flipping
       specialty rotator, and a typed terminal line. */
    .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

    /* Headline word reveal */
    h1 .w { display: inline-block; overflow: hidden; vertical-align: bottom; color: inherit; }
    h1 .w > span { display: inline-block; color: inherit; opacity: 0; transform: translateY(112%) rotate(5deg); animation: wordUp .85s cubic-bezier(.19,.75,.22,1) both; animation-delay: var(--d, 0s); }
    @keyframes wordUp { to { opacity: 1; transform: translateY(0) rotate(0); } }

    /* Rotating specialty line */
    .role-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin-top: 8px; color: var(--muted); font: 600 12px/1.5 "IBM Plex Mono", monospace; letter-spacing: .14em; }
    .role-slash { color: var(--green); }
    .rotator { display: inline-block; perspective: 420px; }
    #rotatorWord { display: inline-block; color: var(--green); font-size: 17px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; transform-origin: 50% 100%; }
    #rotatorWord.flip-out { animation: flipOut .3s ease-in both; }
    #rotatorWord.flip-in { animation: flipIn .45s cubic-bezier(.2,.8,.3,1.15) both; }
    @keyframes flipOut { to { transform: rotateX(-86deg) translateY(-5px); opacity: 0; } }
    @keyframes flipIn { from { transform: rotateX(82deg) translateY(5px); opacity: 0; } to { transform: rotateX(0) translateY(0); opacity: 1; } }

    /* 3D hero emblem: spinning shield with gyroscope rings */
    .hero-visual { perspective: 1200px; }
    .portrait-shell { transition: transform .35s ease-out; transform-style: preserve-3d; }
    .shield-stage { position: relative; width: min(232px, 60%); aspect-ratio: 1; perspective: 900px; display: grid; place-items: center; }
    .shield-rotor { position: absolute; inset: 0; transform-style: preserve-3d; animation: shieldSpin 18s linear infinite; will-change: transform; }
    .shield-face { position: absolute; inset: 0; display: grid; place-items: center; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
    .shield-face svg { width: 60%; }
    .shield-face.back { transform: rotateY(180deg); }
    .shield-face.mid { transform: translateZ(-18px); backface-visibility: visible; -webkit-backface-visibility: visible; }
    .shield-face.mid svg { opacity: .38; }
    .shield-glow { position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle, rgba(65,229,154,.28), transparent 66%); transform: translateZ(-72px); }
    .ring3d { position: absolute; border-radius: 50%; pointer-events: none; }
    .ring3d.r1 { inset: 1%; border: 1px solid rgba(119,255,184,.4); transform: rotateX(71deg); }
    .ring3d.r1::after { content: ""; position: absolute; top: -4px; left: 50%; width: 7px; height: 7px; border-radius: 50%; background: var(--green-bright); box-shadow: 0 0 14px var(--green-bright); }
    .ring3d.r2 { inset: 11%; border: 1px dashed rgba(119,255,184,.24); transform: rotateX(71deg) rotateY(38deg); }
    @keyframes shieldSpin { from { transform: rotateX(-7deg) rotateY(0); } to { transform: rotateX(-7deg) rotateY(360deg); } }

    /* Orbit ring tilted into a 3D plane */
    .orbit { animation: orbitSpin3d 16s linear infinite; }
    @keyframes orbitSpin3d { from { transform: rotateX(63deg) rotateZ(0); } to { transform: rotateX(63deg) rotateZ(360deg); } }

    /* Six-discipline services grid */
    .expertise-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
    .expertise-card, .expertise-card:first-child { min-height: 330px; grid-row: auto; grid-column: auto; }
    .expertise-card:nth-child(4) { grid-column: auto; }
    .expertise-card h3, .expertise-card:first-child h3 { margin: 86px 0 12px; max-width: none; font-size: 24px; }
    .expertise-card .card-icon, .expertise-card:first-child .card-icon { width: 48px; height: 48px; right: 24px; top: 24px; opacity: 1; }
    @media (max-width: 980px) {
      .expertise-grid { grid-template-columns: 1fr 1fr; }
      .expertise-card:first-child { grid-column: auto; }
    }
    @media (max-width: 760px) {
      .expertise-grid { grid-template-columns: minmax(0,1fr); }
      .expertise-card, .expertise-card:first-child { min-height: 0; }
      .expertise-card h3, .expertise-card:first-child h3 { margin-top: 74px; font-size: 22px; }
      .shield-stage { width: min(196px, 62%); }
      #rotatorWord { font-size: 15px; }
    }
    @media (prefers-reduced-motion: reduce) {
      .shield-rotor, .orbit { animation: none !important; }
      h1 .w > span { animation: none; opacity: 1; transform: none; }
      #rotatorWord { animation: none !important; }
      .portrait-shell { transition: none; }
    }

    /* ============ Sub-pages, blog reader & contact (router views) ============ */
    .articles-grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
    a.article-card { display: block; color: inherit; }
    .page-view { padding: 138px 0 110px; min-height: 70vh; }
    .page-view[hidden] { display: none; }
    .page-view .section-head { margin-bottom: 44px; }
    .back-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 30px; color: var(--green); font: 600 12px/1 "IBM Plex Mono", monospace; letter-spacing: .06em; }
    .back-link:hover { text-decoration: underline; }
    .page-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 48px; padding: 28px; border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 72%, transparent); }
    .page-cta p { flex: 1 1 320px; margin: 0; color: var(--muted); line-height: 1.7; }

    .prose { max-width: 780px; color: var(--muted); font-size: 16px; line-height: 1.85; }
    .prose p { margin: 0 0 20px; }
    .prose strong { color: var(--text); }
    .prose h3 { margin: 36px 0 12px; color: var(--text); font-size: 22px; letter-spacing: -.02em; }
    .prose ul { margin: 0 0 22px; padding-left: 22px; }
    .prose li { margin-bottom: 9px; }
    .prose a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
    .prose code { padding: 2px 6px; border: 1px solid var(--line); border-radius: 5px; background: var(--surface-2); color: var(--text); font: 500 13px/1.5 "IBM Plex Mono", monospace; }

    .about-grid { display: grid; grid-template-columns: minmax(280px,.8fr) minmax(0,1.2fr); gap: 56px; align-items: start; }
    .about-photo { position: relative; margin: 0; min-height: 460px; overflow: hidden; border: 1px solid var(--line); background: radial-gradient(circle at 50% 35%, #18372a, #07100c 67%); }
    .about-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; filter: saturate(.85) contrast(1.05); }
    :root[data-theme="light"] .about-photo { background: radial-gradient(circle at 50% 35%, #dcefe3, #eef5f0 68%); }
    .about-facts { margin-top: 56px; }
    .about-grid .page-cta { margin-top: 8px; padding: 0; border: 0; background: none; }

    .bio-intro { margin-bottom: 14px; }
    .timeline { position: relative; margin-top: 26px; border-top: 1px solid var(--line); }
    .bio-step { display: grid; grid-template-columns: 200px 240px 1fr; gap: 30px; padding: 30px 0; border-bottom: 1px solid var(--line); align-items: start; }
    .bio-phase { color: var(--green); font: 600 11px/1.5 "IBM Plex Mono", monospace; letter-spacing: .12em; }
    .bio-step h3 { margin: 0; font-size: 21px; letter-spacing: -.02em; }
    .bio-step p { margin: 0; color: var(--muted); line-height: 1.75; }

    .contact-grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 56px; align-items: start; }
    .contact-method { padding: 24px 0; border-top: 1px solid var(--line); }
    .contact-method:first-child { padding-top: 4px; border-top: 0; }
    .contact-method a { display: inline-block; margin: 10px 0 6px; font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
    .contact-method a:hover { color: var(--green); }
    .contact-method p { margin: 6px 0 0; color: var(--muted); line-height: 1.7; font-size: 14px; }
    .contact-form { padding: 30px; border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 78%, transparent); }
    .contact-form h3 { margin: 0 0 22px; font-size: 22px; letter-spacing: -.02em; }
    .contact-form label { display: block; margin-bottom: 16px; color: var(--muted); font-size: 13px; font-weight: 600; }
    .contact-form input, .contact-form select, .contact-form textarea {
      display: block; width: 100%; margin-top: 7px; padding: 12px 13px;
      border: 1px solid var(--line-strong); border-radius: 8px;
      background: var(--bg); color: var(--text); font: inherit; font-size: 15px;
    }
    .contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--green); outline-offset: 1px; border-color: var(--green); }
    .contact-form textarea { resize: vertical; }
    .form-note { margin: 14px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }

    .article-wrap { max-width: 860px; }
    .article-wrap .article-meta { display: block; margin-top: 2px; }
    .article-title { margin: 16px 0 18px; max-width: 800px; }
    .article-lede { margin: 0 0 40px; max-width: 720px; color: var(--muted); font-size: 19px; line-height: 1.65; }
    .article-end { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 54px; padding: 28px; border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 72%, transparent); }
    .article-end p { flex: 1 1 260px; margin: 0; font-weight: 700; font-size: 17px; }

    @media (max-width: 980px) {
      .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
      .about-photo { min-height: 420px; }
      .bio-step { grid-template-columns: 150px 1fr; }
      .bio-step p { grid-column: 2; }
    }
    @media (max-width: 760px) {
      .articles-grid-4 { grid-template-columns: minmax(0,1fr); }
      .page-view { padding: 106px 0 84px; }
      .bio-step { grid-template-columns: 1fr; gap: 8px; padding: 24px 0; }
      .bio-step p { grid-column: auto; }
      .contact-form { padding: 24px 20px; }
      .about-photo { min-height: 380px; }
      .article-lede { font-size: 17px; }
    }
    /* Imagery pass: service visuals, work proof, blog thumbnails, article hero, client avatar. */
    .card-media, .work-media, .article-media, .brief-media, .article-hero { background: #07130d; }
    .card-media img, .work-media img, .article-media img, .brief-media img, .article-hero img { display: block; width: 100%; height: 100%; object-fit: cover; }

    .card-media { position: relative; height: 168px; margin: -28px -28px 22px; overflow: hidden; border-bottom: 1px solid var(--line); }
    .expertise-card:first-child .card-media { height: 252px; }
    .card-media img { transition: transform .6s cubic-bezier(.2,.8,.2,1); }
    .expertise-card:hover .card-media img { transform: scale(1.05); }
    .card-media::after { content: ""; position: absolute; inset: auto 0 0; height: 52%; background: linear-gradient(180deg, transparent, rgba(3,10,6,.42)); pointer-events: none; }
    .expertise-card, .expertise-card:first-child { min-height: 0; }
    .expertise-card h3, .expertise-card:first-child h3 { margin-top: 0; }
    .expertise-card .card-icon { top: 20px; right: 20px; width: 48px; height: 48px; padding: 10px; color: #8affc7; background: rgba(5,15,10,.68); border: 1px solid rgba(125,255,196,.32); border-radius: 12px; backdrop-filter: blur(6px); }
    .expertise-card:first-child .card-icon { top: 22px; right: 22px; width: 64px; height: 64px; padding: 13px; opacity: 1; }

    .work-media { height: 208px; margin: -30px -30px 26px; overflow: hidden; border-bottom: 1px solid var(--line); }
    .work-card:first-child .work-media { height: 248px; }
    .work-media img { transition: transform .6s cubic-bezier(.2,.8,.2,1); }
    .work-card:hover .work-media img { transform: scale(1.04); }

    .article-media { aspect-ratio: 16/9; margin: -28px -28px 20px; overflow: hidden; border-bottom: 1px solid var(--line); }
    .article-media img { transition: transform .6s cubic-bezier(.2,.8,.2,1); }
    .article-card:hover .article-media img { transform: scale(1.05); }
    .article-card h3 { margin-top: 2px; }

    .brief-media { aspect-ratio: 16/10; margin: 18px 0 2px; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; }

    .article-hero { aspect-ratio: 21/9; margin: 0 0 42px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; }

    .client-byline { display: flex; align-items: center; gap: 15px; }
    .client-byline strong { color: var(--text); font-size: 14px; }
    .client-avatar { position: relative; flex: 0 0 auto; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, #0d6e46, #12a56a 55%, #0a4a30); color: #eafff3; font: 800 17px/1 "Manrope", sans-serif; letter-spacing: .02em; box-shadow: 0 0 0 2px rgba(67,220,152,.4), 0 10px 24px rgba(0,0,0,.35); }
    .client-avatar::after { content: "✓"; position: absolute; right: -2px; bottom: -2px; width: 19px; height: 19px; display: grid; place-items: center; border-radius: 50%; background: var(--green-bright); color: #04120b; font-size: 11px; font-weight: 800; border: 2px solid #0c1914; }

    @media (max-width: 760px) {
      .card-media { margin: -23px -23px 18px; height: 150px; }
      .expertise-card:first-child .card-media { height: 205px; }
      .work-media { margin: -24px -24px 22px; height: 180px; }
      .work-card:first-child .work-media { height: 200px; }
      .article-media { margin: -22px -22px 18px; }
      .article-hero { aspect-ratio: 16/10; margin-bottom: 32px; }
    }
    @media (prefers-reduced-motion: reduce) {
      .card-media img, .work-media img, .article-media img { transition: none; }
    }
/* ============ JB Security theme additions: PJAX, forms, singles ============ */
html.pjax-leaving #main { opacity: 0; transform: translateY(10px); transition: opacity .18s ease, transform .18s ease; }
html.pjax-enter #main { animation: pjaxIn .32s ease; }
@keyframes pjaxIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.contact-form .hp { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }
.form-note { padding: 14px 16px; border-radius: 10px; font-size: 14px; margin: 0 0 18px; }
.form-ok { background: var(--green-soft); color: var(--green); border: 1px solid var(--green); }
.form-err { background: rgba(212,76,56,.1); color: var(--danger); border: 1px solid var(--danger); }

.brief-content { color: var(--muted); font-size: 14px; line-height: 1.75; }
.brief-content ul { margin: 0; padding-left: 20px; }
.brief-content li { margin-bottom: 8px; }

.client-avatar-photo { width: 52px; height: 52px; border-radius: 50%; overflow: hidden; flex: none; }
.client-avatar-photo img { width: 100%; height: 100%; object-fit: cover; }

.pagination { margin-top: 44px; display: flex; gap: 10px; flex-wrap: wrap; }
.pagination .page-numbers { padding: 10px 16px; border: 1px solid var(--line); border-radius: 10px; font-size: 13px; }
.pagination .page-numbers.current { background: var(--green); color: #031009; border-color: var(--green); }

.article-full { max-width: 780px; }
.article-full h1 { font-size: clamp(34px, 4.6vw, 56px); letter-spacing: -.04em; margin: 18px 0 26px; }
.article-hero { margin: 0 0 34px; border-radius: var(--radius-m); overflow: hidden; border: 1px solid var(--line); }
.article-hero img { display: block; width: 100%; height: auto; }
.article-body { font-size: 17px; line-height: 1.85; color: var(--text); }
.article-body h2, .article-body h3 { letter-spacing: -.02em; margin: 1.8em 0 .7em; }
.article-body p { margin: 0 0 1.3em; }
.article-body ul, .article-body ol { margin: 0 0 1.3em; padding-left: 24px; }
.article-body li { margin-bottom: .5em; }
.article-body code { font-family: "IBM Plex Mono", monospace; font-size: .88em; background: var(--surface-2); padding: 2px 7px; border-radius: 6px; }
.article-body img { max-width: 100%; height: auto; border-radius: var(--radius-s); }
.article-end { margin-top: 52px; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--surface); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.article-end p { margin: 0; font-size: 17px; font-weight: 600; }

.prose h3 { margin: 1.6em 0 .6em; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: .6em; line-height: 1.7; }
.legal-prose h2 { font-size: 22px; margin: 1.8em 0 .6em; }
