
      :root {
        --bg: #07090d;
        --panel: #0f131a;
        --panel-soft: #151a23;
        --border: rgba(255, 255, 255, 0.09);
        --border-hover: rgba(99, 102, 241, 0.55);
        --text: #f5f7fb;
        --muted: #9ba4b4;
        --accent: #818cf8;
        --accent-strong: #6366f1;
        --success: #34d399;
        --radius: 22px;
        --max-width: 1180px;
      }

      * { box-sizing: border-box; }

      html { scroll-behavior: smooth; }

      body {
        margin: 0;
        min-height: 100vh;
        background:
          radial-gradient(circle at 15% 10%, rgba(99, 102, 241, 0.15), transparent 32%),
          radial-gradient(circle at 85% 18%, rgba(56, 189, 248, 0.08), transparent 28%),
          var(--bg);
        color: var(--text);
        font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      }

      body.gallery-open { overflow: hidden; }

      button, a { font: inherit; }
      a { color: inherit; }

      .page-shell {
        width: min(100% - 36px, var(--max-width));
        margin: 0 auto;
      }

      .site-header {
        position: sticky;
        top: 0;
        z-index: 30;
        border-bottom: 1px solid transparent;
        backdrop-filter: blur(18px);
        transition: background 180ms ease, border-color 180ms ease;
      }

      .site-header.is-scrolled {
        background: rgba(7, 9, 13, 0.82);
        border-bottom-color: var(--border);
      }

      .nav {
        min-height: 74px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
      }

      .brand {
        display: flex;
        align-items: center;
        gap: 12px;
        text-decoration: none;
      }

      .brand-mark {
        width: 38px;
        height: 38px;
        display: grid;
        place-items: center;
        border-radius: 12px;
        background: linear-gradient(135deg, var(--accent), var(--accent-strong));
        color: white;
        font-weight: 800;
      }

      .brand-name {
        font-size: 15px;
        font-weight: 700;
        letter-spacing: -0.01em;
      }

      .nav-links {
        display: flex;
        align-items: center;
        gap: 8px;
      }

      .nav-link {
        padding: 10px 13px;
        border-radius: 10px;
        color: var(--muted);
        text-decoration: none;
        font-size: 14px;
        transition: color 160ms ease, background 160ms ease;
      }

      .nav-link:hover {
        color: var(--text);
        background: rgba(255, 255, 255, 0.05);
      }

      .hero {
        padding: 108px 0 88px;
        display: grid;
        grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
        align-items: center;
        gap: 64px;
      }

      .eyebrow {
        margin: 0 0 20px;
        color: var(--accent);
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 0.16em;
      }

      .hero-title {
        margin: 0;
        max-width: 760px;
        font-size: clamp(46px, 7vw, 80px);
        line-height: 0.98;
        letter-spacing: -0.055em;
      }

      .hero-title span { color: var(--accent); }

      .hero-subtitle {
        margin: 24px 0 0;
        color: var(--muted);
        font-size: clamp(17px, 2vw, 21px);
        line-height: 1.55;
      }

      .hero-description {
        max-width: 680px;
        margin: 22px 0 0;
        color: #c5cbd5;
        line-height: 1.8;
      }

      .hero-actions {
        margin-top: 34px;
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
      }

      .button {
        min-height: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 9px;
        padding: 0 19px;
        border: 1px solid var(--border);
        border-radius: 13px;
        background: rgba(255, 255, 255, 0.03);
        color: var(--text);
        text-decoration: none;
        cursor: pointer;
        transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
      }

      .button:hover {
        transform: translateY(-2px);
        border-color: rgba(255, 255, 255, 0.2);
        background: rgba(255, 255, 255, 0.07);
      }

      .button-primary {
        border-color: transparent;
        background: var(--accent-strong);
        color: white;
      }

      .button-primary:hover {
        border-color: transparent;
        background: var(--accent);
      }

      .hero-visual { position: relative; }

      .dashboard-preview {
        position: relative;
        overflow: hidden;
        min-height: 390px;
        padding: 18px;
        border: 1px solid var(--border);
        border-radius: 28px;
        background: rgba(15, 19, 26, 0.85);
        box-shadow: 0 28px 90px rgba(0, 0, 0, 0.35);
      }

      .preview-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 16px;
        border-bottom: 1px solid var(--border);
      }

      .preview-dots { display: flex; gap: 6px; }

      .preview-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.22);
      }

      .preview-label { color: var(--muted); font-size: 12px; }

      .preview-metrics {
        margin-top: 18px;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
      }

      .preview-metric {
        min-height: 90px;
        padding: 14px;
        border: 1px solid var(--border);
        border-radius: 15px;
        background: rgba(255, 255, 255, 0.025);
      }

      .preview-metric-label { color: var(--muted); font-size: 11px; }

      .preview-metric-value {
        margin-top: 14px;
        font-size: 23px;
        font-weight: 800;
      }

      .preview-chart {
        position: relative;
        height: 170px;
        margin-top: 14px;
        overflow: hidden;
        border: 1px solid var(--border);
        border-radius: 16px;
        background:
          linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
          linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
        background-size: 36px 36px;
      }

      .chart-line { position: absolute; inset: 24px 14px 20px; }
      .chart-line svg { width: 100%; height: 100%; }

      .floating-chip {
        position: absolute;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 10px 13px;
        border: 1px solid var(--border);
        border-radius: 999px;
        background: rgba(21, 26, 35, 0.94);
        color: #d9ddea;
        font-size: 12px;
        box-shadow: 0 14px 35px rgba(0, 0, 0, 0.25);
      }

      .floating-chip-one { top: -20px; right: 25px; }
      .floating-chip-two { bottom: -18px; left: -20px; }

      .chip-icon {
        width: 22px;
        height: 22px;
        display: grid;
        place-items: center;
        border-radius: 7px;
        background: rgba(129, 140, 248, 0.15);
        color: var(--accent);
        font-weight: 800;
      }

      .stats {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        border-top: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
      }

      .stat { padding: 28px 20px; text-align: center; }
      .stat + .stat { border-left: 1px solid var(--border); }

      .stat-value {
        font-size: 28px;
        font-weight: 800;
        letter-spacing: -0.03em;
      }

      .stat-label {
        margin-top: 7px;
        color: var(--muted);
        font-size: 13px;
      }

      .section { padding: 100px 0; }

      .section-header {
        max-width: 720px;
        margin-bottom: 42px;
      }

      .section-kicker {
        margin: 0 0 12px;
        color: var(--accent);
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 0.14em;
      }

      .section-title {
        margin: 0;
        font-size: clamp(32px, 4vw, 48px);
        letter-spacing: -0.04em;
      }

      .section-description {
        margin: 16px 0 0;
        color: var(--muted);
        line-height: 1.75;
      }

      .projects-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
      }

      .project-card {
        overflow: hidden;
        border: 1px solid var(--border);
        border-radius: var(--radius);
        background: rgba(15, 19, 26, 0.74);
        transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
      }

      .project-card:hover {
        transform: translateY(-5px);
        border-color: var(--border-hover);
        background: rgba(21, 26, 35, 0.96);
      }

      .project-image-wrap {
        position: relative;
        aspect-ratio: 16 / 9;
        overflow: hidden;
        border-bottom: 1px solid var(--border);
        background:
          radial-gradient(circle at center, rgba(129, 140, 248, 0.13), transparent 58%),
          #0b0e14;
      }

      .project-image-wrap.has-gallery { cursor: pointer; }

      .project-image-wrap.has-gallery::after {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(7, 9, 13, 0);
        transition: background 180ms ease;
        pointer-events: none;
      }

      .project-image-wrap.has-gallery:hover::after {
        background: rgba(7, 9, 13, 0.12);
      }

      .project-image {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        transition: transform 240ms ease;
      }

      .project-card:hover .project-image { transform: scale(1.025); }

      .project-image-placeholder {
        width: 100%;
        height: 100%;
        display: grid;
        place-items: center;
        color: rgba(255, 255, 255, 0.28);
      }

      .placeholder-mark {
        width: 76px;
        height: 76px;
        display: grid;
        place-items: center;
        border: 1px solid var(--border);
        border-radius: 22px;
        background: rgba(255, 255, 255, 0.03);
        font-size: 26px;
        font-weight: 800;
      }

      .status-badge {
        position: absolute;
        top: 14px;
        right: 14px;
        z-index: 2;
        display: inline-flex;
        align-items: center;
        gap: 7px;
        padding: 8px 11px;
        border: 1px solid rgba(52, 211, 153, 0.25);
        border-radius: 999px;
        background: rgba(7, 9, 13, 0.8);
        color: #a7f3d0;
        font-size: 11px;
        font-weight: 700;
        backdrop-filter: blur(12px);
      }

      .status-dot {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: var(--success);
      }

      .gallery-count-badge {
        position: absolute;
        left: 14px;
        bottom: 14px;
        z-index: 2;
        padding: 8px 11px;
        border: 1px solid rgba(255, 255, 255, 0.13);
        border-radius: 999px;
        background: rgba(7, 9, 13, 0.82);
        color: #e8ebf4;
        font-size: 11px;
        font-weight: 700;
        backdrop-filter: blur(12px);
      }

      .project-content { padding: 25px; }

      .project-number {
        color: var(--accent);
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 0.1em;
      }

      .project-title {
        margin: 9px 0 0;
        font-size: 23px;
        letter-spacing: -0.025em;
      }

      .project-description {
        margin: 14px 0 0;
        color: var(--muted);
        line-height: 1.7;
      }

      .project-section-label {
        margin-top: 22px;
        margin-bottom: 10px;
        color: #d7dbe5;
        font-size: 12px;
        font-weight: 700;
      }

      .feature-list {
        margin: 0;
        padding: 0;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px 14px;
        list-style: none;
      }

      .feature-item {
        position: relative;
        padding-left: 17px;
        color: #c4cad5;
        font-size: 13px;
        line-height: 1.5;
      }

      .feature-item::before {
        content: "";
        position: absolute;
        top: 8px;
        left: 0;
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--accent);
      }

      .technology-list {
        display: flex;
        flex-wrap: wrap;
        gap: 7px;
      }

      .technology-chip {
        padding: 7px 10px;
        border: 1px solid var(--border);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.025);
        color: #b8c0ce;
        font-size: 11px;
      }

      .gallery-open-button {
        width: 100%;
        min-height: 43px;
        margin-top: 22px;
        padding: 0 16px;
        border: 1px solid rgba(129, 140, 248, 0.28);
        border-radius: 12px;
        background: rgba(129, 140, 248, 0.08);
        color: #c7d2fe;
        font-weight: 700;
        cursor: pointer;
        transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
      }

      .gallery-open-button:hover {
        transform: translateY(-1px);
        border-color: rgba(129, 140, 248, 0.62);
        background: rgba(129, 140, 248, 0.15);
      }

      .project-footer {
        margin-top: 24px;
        padding-top: 18px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        border-top: 1px solid var(--border);
      }

      .project-type { color: var(--muted); font-size: 12px; }

      .project-link {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        color: var(--accent);
        text-decoration: none;
        font-size: 13px;
        font-weight: 700;
      }

      .project-link:hover { text-decoration: underline; }

      .project-link.is-disabled {
        color: #656d7b;
        cursor: default;
        pointer-events: none;
        text-decoration: none;
      }

      .skills-grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 16px;
      }

      .skill-card {
        padding: 24px;
        border: 1px solid var(--border);
        border-radius: 18px;
        background: rgba(15, 19, 26, 0.64);
      }

      .skill-icon {
        width: 42px;
        height: 42px;
        display: grid;
        place-items: center;
        border-radius: 13px;
        background: rgba(129, 140, 248, 0.12);
        color: var(--accent);
        font-weight: 800;
      }

      .skill-title { margin: 19px 0 0; font-size: 17px; }

      .skill-copy {
        margin: 9px 0 0;
        color: var(--muted);
        font-size: 13px;
        line-height: 1.65;
      }

      .process-row {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 12px;
      }

      .process-item {
        position: relative;
        padding: 21px;
        border: 1px solid var(--border);
        border-radius: 17px;
        background: rgba(15, 19, 26, 0.6);
      }

      .process-number { color: var(--accent); font-size: 12px; font-weight: 800; }
      .process-title { margin-top: 13px; font-size: 15px; font-weight: 700; }

      .process-copy {
        margin-top: 8px;
        color: var(--muted);
        font-size: 12px;
        line-height: 1.6;
      }

      .contact-panel {
        padding: 56px;
        border: 1px solid var(--border);
        border-radius: 28px;
        background:
          radial-gradient(circle at top right, rgba(129, 140, 248, 0.16), transparent 40%),
          rgba(15, 19, 26, 0.8);
        text-align: center;
      }

      .contact-title {
        margin: 0;
        font-size: clamp(31px, 5vw, 52px);
        letter-spacing: -0.045em;
      }

      .contact-copy {
        max-width: 620px;
        margin: 18px auto 0;
        color: var(--muted);
        line-height: 1.75;
      }

      .contact-actions {
        margin-top: 28px;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
      }

      .footer {
        padding: 34px 0 42px;
        border-top: 1px solid var(--border);
      }

      .footer-row {
        display: flex;
        justify-content: space-between;
        gap: 18px;
        color: var(--muted);
        font-size: 12px;
      }

      .loading {
        min-height: 280px;
        display: grid;
        place-items: center;
        border: 1px solid var(--border);
        border-radius: var(--radius);
        background: rgba(15, 19, 26, 0.55);
        color: var(--muted);
      }

      .loading-inner {
        display: grid;
        justify-items: center;
        gap: 15px;
      }

      .spinner {
        width: 32px;
        height: 32px;
        border: 3px solid rgba(255, 255, 255, 0.1);
        border-top-color: var(--accent);
        border-radius: 50%;
        animation: spin 850ms linear infinite;
      }

      .error-box {
        padding: 30px;
        border: 1px solid rgba(248, 113, 113, 0.25);
        border-radius: 18px;
        background: rgba(127, 29, 29, 0.15);
        color: #fecaca;
      }

      .empty-state {
        padding: 48px;
        border: 1px dashed var(--border);
        border-radius: var(--radius);
        text-align: center;
        color: var(--muted);
      }

      .hidden { display: none !important; }

      .project-gallery-modal {
        position: fixed;
        inset: 0;
        z-index: 1000;
        display: none;
        align-items: center;
        justify-content: center;
        padding: 24px;
      }

      .project-gallery-modal.is-open { display: flex; }

      .project-gallery-backdrop {
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.84);
        backdrop-filter: blur(10px);
      }

      .project-gallery-dialog {
        position: relative;
        z-index: 1;
        width: min(1250px, 96vw);
        max-height: 94vh;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, 0.13);
        border-radius: 22px;
        background: #0f131a;
        box-shadow: 0 32px 100px rgba(0, 0, 0, 0.62);
      }

      .project-gallery-header {
        flex: 0 0 auto;
        min-height: 66px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 18px;
        padding: 14px 18px 14px 22px;
        border-bottom: 1px solid var(--border);
      }

      .project-gallery-heading { min-width: 0; }

      .project-gallery-title {
        margin: 0;
        overflow: hidden;
        color: var(--text);
        font-size: 18px;
        line-height: 1.3;
        white-space: nowrap;
        text-overflow: ellipsis;
      }

      .project-gallery-counter {
        margin-top: 4px;
        color: var(--muted);
        font-size: 12px;
      }

      .project-gallery-close {
        width: 40px;
        height: 40px;
        flex: 0 0 auto;
        display: grid;
        place-items: center;
        border: 1px solid var(--border);
        border-radius: 11px;
        background: rgba(255, 255, 255, 0.03);
        color: var(--text);
        font-size: 25px;
        line-height: 1;
        cursor: pointer;
      }

      .project-gallery-close:hover {
        border-color: rgba(255, 255, 255, 0.2);
        background: rgba(255, 255, 255, 0.07);
      }

      .project-gallery-stage {
        position: relative;
        flex: 1 1 auto;
        min-height: 420px;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        padding: 24px 78px;
        background:
          radial-gradient(circle at center, rgba(99, 102, 241, 0.08), transparent 52%),
          #080b10;
      }

      .project-gallery-image {
        display: block;
        max-width: 100%;
        max-height: 66vh;
        object-fit: contain;
        border-radius: 12px;
        box-shadow: 0 18px 58px rgba(0, 0, 0, 0.4);
      }

      .gallery-navigation-button {
        position: absolute;
        top: 50%;
        width: 46px;
        height: 46px;
        display: grid;
        place-items: center;
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 50%;
        background: rgba(15, 19, 26, 0.82);
        color: white;
        font-size: 25px;
        cursor: pointer;
        transform: translateY(-50%);
        backdrop-filter: blur(10px);
      }

      .gallery-navigation-button:hover {
        border-color: rgba(129, 140, 248, 0.62);
        background: rgba(99, 102, 241, 0.32);
      }

      .gallery-navigation-button:disabled {
        opacity: 0.3;
        cursor: default;
      }

      .gallery-navigation-previous { left: 18px; }
      .gallery-navigation-next { right: 18px; }

      .gallery-thumbnails {
        flex: 0 0 auto;
        display: flex;
        gap: 10px;
        overflow-x: auto;
        padding: 14px 18px 18px;
        border-top: 1px solid var(--border);
        scrollbar-width: thin;
      }

      .gallery-thumbnail-button {
        width: 145px;
        height: 84px;
        flex: 0 0 145px;
        padding: 0;
        overflow: hidden;
        border: 2px solid transparent;
        border-radius: 10px;
        background: #080b10;
        opacity: 0.62;
        cursor: pointer;
        transition: opacity 150ms ease, border-color 150ms ease, transform 150ms ease;
      }

      .gallery-thumbnail-button:hover {
        opacity: 0.9;
        transform: translateY(-2px);
      }

      .gallery-thumbnail-button.is-active {
        opacity: 1;
        border-color: var(--accent);
      }

      .gallery-thumbnail-button img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
      }

      @keyframes spin {
        to { transform: rotate(360deg); }
      }

      @media (max-width: 980px) {
        .hero {
          grid-template-columns: 1fr;
          gap: 58px;
        }

        .hero-visual { max-width: 650px; }
        .skills-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
        .process-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      }

      @media (max-width: 760px) {
        .nav-links .nav-link:not(.nav-contact) { display: none; }

        .hero {
          padding-top: 74px;
          padding-bottom: 70px;
        }

        .projects-grid { grid-template-columns: 1fr; }
        .stats { grid-template-columns: repeat(2, 1fr); }

        .stat:nth-child(3) {
          border-left: none;
          border-top: 1px solid var(--border);
        }

        .stat:nth-child(4) { border-top: 1px solid var(--border); }
        .preview-metrics { grid-template-columns: 1fr; }
        .dashboard-preview { min-height: 520px; }
        .feature-list { grid-template-columns: 1fr; }
        .contact-panel { padding: 42px 22px; }
        .footer-row { flex-direction: column; }

        .project-gallery-modal { padding: 10px; }

        .project-gallery-dialog {
          width: 100%;
          max-height: 96vh;
          border-radius: 17px;
        }

        .project-gallery-stage {
          min-height: 300px;
          padding: 18px 50px;
        }

        .project-gallery-image { max-height: 60vh; }

        .gallery-navigation-button {
          width: 38px;
          height: 38px;
          font-size: 21px;
        }

        .gallery-navigation-previous { left: 8px; }
        .gallery-navigation-next { right: 8px; }

        .gallery-thumbnail-button {
          width: 112px;
          height: 67px;
          flex-basis: 112px;
        }
      }

      @media (max-width: 520px) {
        .page-shell {
          width: min(100% - 24px, var(--max-width));
        }

        .hero-title { font-size: 44px; }
        .skills-grid, .process-row { grid-template-columns: 1fr; }
        .floating-chip-two { left: 5px; }
        .project-content { padding: 21px; }
      }

      /* Testimonials section */
      .testimonials-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
      .testimonial-card { height: 100%; padding: 30px; border: 1px solid var(--border); border-radius: var(--radius); background: rgba(15, 19, 26, 0.74); }
      .testimonial-quote { margin: 0 0 28px; color: var(--text); font-size: 16px; line-height: 1.75; }
      .testimonial-quote p { margin: 0 0 15px; }
      .testimonial-quote p:last-child { margin-bottom: 0; }
      .testimonial-author { display: flex; align-items: center; gap: 14px; padding-top: 22px; border-top: 1px solid var(--border); }
      .testimonial-avatar { width: 60px; height: 60px; flex: none; border-radius: 50%; background-image: url("assets/image-02.webp"); background-repeat: no-repeat; background-size: 969px 715px; background-position: -25px -15px; }
      .testimonial-avatar--feye { background-position: -25px -487px; }
      .testimonial-avatar--john { background-image: url("assets/image-03.webp"); background-size: cover; background-position: center; }
      .testimonial-name { margin: 0; font-size: 15px; font-weight: 700; }
      .testimonial-role { margin: 3px 0 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
      .testimonial-date { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
      @media (max-width: 760px) { .testimonials-grid { grid-template-columns: 1fr; } }
      @media (max-width: 520px) { .testimonial-card { padding: 22px; } }
    
      .testimonial-card { display: flex; flex-direction: column; min-width: 0; padding: 22px; }
      .testimonial-quote { margin: 0; font-size: 15px; line-height: 1.7; }
      .testimonial-excerpt { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; overflow: hidden; height: 9em; line-height: 1.5; }
      .testimonial-more { align-self: flex-start; margin: 10px 0 16px; padding: 0; border: 0; background: none; color: var(--accent); font-weight: 700; font-size: 13px; cursor: pointer; }
      .testimonial-more:hover { text-decoration: underline; }
      .testimonial-author { margin-top: auto; min-height: 0; padding-top: 15px; align-items: center; }
      .testimonial-dialog { width: min(680px, calc(100% - 32px)); max-height: 85vh; overflow: auto; padding: 30px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--panel); color: var(--text); }
      .testimonial-dialog::backdrop { background: rgba(0,0,0,.78); backdrop-filter: blur(5px); }
      .testimonial-dialog-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; }
      .testimonial-dialog-header h2 { margin: 0; font-size: 22px; }
      .testimonial-dialog .testimonial-author { margin-top: 24px; min-height: 0; }
      .testimonial-dialog .testimonial-quote { line-height: 1.75; }
      @media (min-width: 761px) and (max-width: 1000px) { .testimonial-card { padding: 18px; } }

    
      /* Preview: restrained pointer and surface interactions */
      .hero-title .hero-phrase { display: inline-block; white-space: nowrap; font-size: min(1em, 10.4vw); }
      .pointer-halo, .pointer-ring { display: none; pointer-events: none; position: fixed; top: 0; left: 0; z-index: 1100; opacity: 0; }
      @media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
        .pointer-halo, .pointer-ring { display: block; }
        .pointer-halo { width: 360px; height: 360px; margin: -180px 0 0 -180px; background: radial-gradient(circle, rgba(129,140,248,.075), transparent 68%); transition: opacity .25s; z-index: 1; }
        .pointer-ring { width: 30px; height: 30px; margin: -15px 0 0 -15px; border: 1px solid rgba(129,140,248,.65); border-radius: 50%; transition: width .18s, height .18s, margin .18s, opacity .2s, border-color .18s; }
        body.pointer-active .pointer-ring, body.pointer-active .pointer-halo { opacity: 1; }
        body.pointer-interactive .pointer-ring { width: 46px; height: 46px; margin: -23px 0 0 -23px; border-color: rgba(165,180,252,.9); }
        .testimonial-card, .skill-card, .process-item, .project-card, .experience-card, .stat, .dashboard-preview { position: relative; transition: border-color .22s, box-shadow .22s, transform .22s; }
        .testimonial-card:hover, .skill-card:hover, .process-item:hover, .project-card:hover, .experience-card:hover, .dashboard-preview:hover { border-color: rgba(129,140,248,.45); box-shadow: 0 12px 38px rgba(0,0,0,.22), inset 0 0 32px rgba(129,140,248,.035); transform: translateY(-3px); }
        .technology-chip { transition: border-color .18s, color .18s, background .18s, transform .18s; }
        .technology-chip:hover { border-color: rgba(129,140,248,.55); color: #e0e7ff; background: rgba(129,140,248,.1); transform: translateY(-2px); }
      }
      @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .pointer-halo, .pointer-ring { display: none !important; } }
      @media (max-width: 360px) { .hero-title .hero-phrase { font-size: 9.7vw; } }


      .automation-demo{padding:24px;border:1px solid var(--border);border-radius:28px;background:radial-gradient(ellipse at 95% 0%,rgba(99,102,241,.15),transparent 55%),#0f131a;box-shadow:0 28px 90px rgba(0,0,0,.3)}.demo-kicker{font-size:10px;font-weight:800;letter-spacing:.16em;color:#a5b4fc}.automation-demo h2{font-size:29px;letter-spacing:-.03em;margin:12px 0 10px}.demo-copy{color:var(--muted);font-size:14px;line-height:1.7;margin:0 0 18px}.demo-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.demo-tab{flex:1;min-width:120px;padding:11px 12px;border:1px solid rgba(255,255,255,.12);background:#151a23;color:var(--muted);border-radius:12px;font:600 13px/1.2 var(--body-font);cursor:pointer;transition:border-color .2s,background .2s,color .2s,transform .2s}.demo-tab:hover{border-color:#818cf8;color:#e6eaff;transform:translateY(-1px)}.demo-tab.is-active{background:rgba(129,140,248,.11);border-color:#818cf8;color:#dbe2ff}.demo-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0}.demo-metric{border:1px solid rgba(255,255,255,.09);border-radius:16px;background:#0b0e14;padding:16px}.demo-metric-label{font-size:10px;letter-spacing:.12em;color:var(--muted);font-weight:700}.demo-value{margin-top:8px;font-size:34px;line-height:1;font-weight:800;letter-spacing:-.04em;font-family:var(--body-font);font-variant-numeric:tabular-nums}.demo-value .unit{font-size:12px;color:var(--muted);font-weight:600;letter-spacing:0}.demo-value.is-green{color:#34d399}.demo-status{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:18px 0 12px}.demo-title{font-size:18px;font-weight:800}.demo-state{font-size:11px;color:var(--muted)}.demo-node{display:flex;align-items:center;gap:12px;border:1px solid rgba(255,255,255,.08);border-radius:14px;padding:13px;background:#151a23;transition:background .35s,border-color .35s,box-shadow .35s}.demo-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:rgba(129,140,248,.12);color:#a5b4fc;font-size:13px;font-weight:800;flex:none}.demo-node strong{display:block;font-size:13px}.demo-time{margin-left:auto;font-size:13px;font-weight:700;color:var(--muted);white-space:nowrap;font-variant-numeric:tabular-nums}.demo-wire{height:16px;width:2px;background:#343b55;margin:0 auto}.demo-wire.is-lit{background:#818cf8;box-shadow:0 0 10px #818cf8}.demo-node.is-running{border-color:#818cf8;box-shadow:0 0 20px rgba(129,140,248,.18);background:rgba(129,140,248,.09)}.demo-node.is-done{border-color:rgba(52,211,153,.42);background:rgba(18,52,46,.5)}.demo-node.is-done .demo-icon{background:rgba(52,211,153,.15);color:#6ee7b7}.demo-node.is-done .demo-time{color:#86efac}.demo-run{width:100%;margin-top:20px}.demo-run:disabled{opacity:.7;cursor:wait}.demo-progress{height:4px;margin-top:12px;background:rgba(255,255,255,.06);border-radius:999px;overflow:hidden}.demo-progress-bar{height:100%;width:0;background:linear-gradient(90deg,#6366f1,#c4b5fd);transition:width .55s}.demo-result{display:none;margin-top:18px;border:1px solid rgba(129,140,248,.22);background:rgba(129,140,248,.08);border-radius:16px;padding:16px}.demo-result.is-visible{display:block}.demo-savings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}.demo-savings strong{display:block;font-size:31px;line-height:1;color:#34d399;font-family:var(--body-font);font-variant-numeric:tabular-nums}.demo-savings small{font-size:11px;color:var(--muted)}.demo-compare{margin-top:16px}.demo-legend{display:flex;justify-content:space-between;gap:8px;font-size:11px;color:var(--muted)}.demo-track{height:7px;background:rgba(255,255,255,.06);border-radius:999px;overflow:hidden;margin:7px 0 13px}.demo-fill{height:100%;width:100%;background:#596173;border-radius:999px}.demo-fill.is-green{background:#34d399}.demo-benefit{margin:10px 0 0;color:#d7dbe5;line-height:1.65;font-size:13px}.demo-note{margin:12px 0 0;color:var(--muted);font-size:11px;line-height:1.55}.demo-foot{margin-top:14px;text-align:center;color:#7f8796;font-size:10px;line-height:1.55}@media (max-width:760px){.demo-metrics,.demo-savings{grid-template-columns:1fr}.demo-value{font-size:28px}}
      .about-panel{display:grid;grid-template-columns:minmax(210px,.65fr) minmax(0,1.6fr);gap:44px;padding:38px;border:1px solid var(--border);border-radius:28px;background:rgba(15,19,26,.74);align-items:center}.about-profile{text-align:center;border-right:1px solid var(--border);padding:14px 30px 14px 0}.about-photo{display:block;width:124px;height:124px;margin:0 auto 20px;border-radius:22px;object-fit:cover;object-position:center 18%;transform:scale(1.06);border:3px solid #818cf8;box-shadow:0 0 26px #818cf829}.about-profile h3{font-size:19px;margin:0}.about-profile p{font-size:13px;line-height:1.6;color:var(--muted);margin:8px 0 20px}.about-content>p:not(.section-kicker){color:#c5cbd5;line-height:1.75;font-size:15px}.about-content .section-title{font-size:clamp(27px,3vw,38px)}.about-content .technology-list{margin-top:20px}#about{scroll-margin-top:65px;padding-top:70px;padding-bottom:35px}.automation-demo:hover,.about-panel:hover{border-color:rgba(129,140,248,.4)}
      @media(max-width:760px){.about-panel{grid-template-columns:1fr;padding:25px;gap:25px}.about-profile{border-right:0;border-bottom:1px solid var(--border);padding:0 0 24px}.automation-demo{padding:20px}.demo-node{gap:8px;padding:10px}.demo-node strong{font-size:12px}.demo-node small{font-size:10px}}

    
      #contact { scroll-margin-top: 80px; }
      .booking-action { margin-top: 30px; }
      .booking-action .button { padding-inline: 28px; }
      .booking-note { margin: 12px 0 0; color: var(--muted); font-size: 13px; }
      .secondary-contact-actions { margin-top: 18px; }
      .secondary-contact-actions:has(> .hidden:first-child):not(:has(> :not(.hidden))) { display: none; }
      @media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
        .pointer-ring { width: 36px; height: 36px; margin:-18px 0 0 -18px; border:0; border-radius:0; color:#a5b4fc; }
        .pointer-ring svg { display:block; width:100%; height:100%; overflow:visible; }
        .pointer-ring .cursor-core { opacity:.8; transition:opacity .2s; }
        .pointer-ring .cursor-circuit { opacity:0; stroke-dasharray:4 4; transition:opacity .2s; }
        body.pointer-interactive .pointer-ring { width:48px; height:48px; margin:-24px 0 0 -24px; }
        body.pointer-interactive .cursor-circuit { opacity:.85; animation:cursor-flow 1s linear infinite; }
        body.pointer-interactive .cursor-core { opacity:1; filter:drop-shadow(0 0 3px #818cf8); }
        @keyframes cursor-flow { to { stroke-dashoffset:-16; } }
      }

    


  :root { --heading-font: 'Bebas Neue', 'Arial Narrow', sans-serif; --body-font: 'Sora', ui-sans-serif, system-ui, sans-serif; }
  body { font-family: var(--body-font); }
  h1, h2, h3, h4, h5, h6, .project-title, .skill-title, .process-title, .hero-title, .section-title, .contact-title, .project-gallery-title { font-family: var(--heading-font); font-weight: 400; letter-spacing: .015em; }
  .hero-title { line-height: 1.02; letter-spacing: .005em; }
  .hero-title .hero-phrase { white-space: nowrap; }
  .project-title, .skill-title, .process-title { letter-spacing: .025em; }
  .skill-title { font-size: 22px; }
  .process-title { font-size: 19px; }
  .project-title { font-size: 27px; }
  button, input, textarea, select { font-family: inherit; }
  code, pre { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }



/* Compact rhythm, with content-led section heights. */
.page-shell{width:min(calc(100% - 40px),var(--max-width))}
.hero{padding:48px 0 36px;gap:34px;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);align-items:start}
.hero>div,.hero-visual,.about-content,.about-profile{min-width:0}
.hero-title{font-size:clamp(46px,5.7vw,76px)}
.hero-title .hero-phrase{font-size:inherit}
.eyebrow{margin-bottom:12px}.hero-subtitle{margin-top:16px}.hero-description{margin-top:14px;line-height:1.65}.hero-actions{margin-top:22px}
.section{padding:32px 0;scroll-margin-top:85px}#about{padding:32px 0;scroll-margin-top:85px}
.section-header{margin-bottom:20px}.section-kicker{margin:0 0 8px}.section-description{margin-top:9px;line-height:1.65}
.nav{min-height:64px}.stat{padding:18px 12px}.stats{margin-bottom:4px}
.about-panel{padding:26px;gap:26px}.about-content>p:not(.section-kicker){margin:10px 0;line-height:1.65}.about-content .technology-list{margin-top:12px}.about-profile p{margin-bottom:12px}
.projects-grid,.testimonials-grid{gap:14px}.skills-grid,.process-row{gap:12px}.project-content,.skill-card,.process-item,.testimonial-card{padding:18px}.skill-title{margin-top:10px}.skill-copy{margin:7px 0 0}.process-title{margin-top:8px}.process-copy{margin-top:6px}
#experience .skills-grid{margin-bottom:14px!important}.project-description{margin-top:8px}.project-section-label{margin-top:14px;margin-bottom:8px}.project-footer{margin-top:15px;padding-top:12px}.gallery-open-button{margin-top:14px}
.testimonial-more{margin:8px 0 10px;min-height:32px}.testimonial-author{padding-top:10px;gap:10px}.testimonial-excerpt{height:auto;min-height:9em}.testimonial-role{overflow-wrap:anywhere}.testimonial-name{overflow-wrap:anywhere}
.contact-panel{padding:32px 24px}.contact-copy{margin-top:12px;line-height:1.65}.contact-actions{margin-top:18px}.footer{padding:20px 0 72px}.loading{min-height:120px}.empty-state{padding:20px}
.automation-demo{padding:20px}.demo-tabs{margin:12px 0}.demo-metrics{margin:12px 0}.demo-status{margin:12px 0 8px}.demo-wire{height:10px}.demo-node{padding:10px;min-height:48px}.demo-run{margin-top:13px}.demo-result{margin-top:12px}.demo-copy{margin-bottom:10px}.demo-foot{margin-top:8px}
.automation-demo .demo-node.is-done{background:rgba(129,140,248,.07);border-color:rgba(129,140,248,.35)}
@media(max-width:980px){.hero{grid-template-columns:1fr;gap:24px;padding-top:32px}.hero-visual{max-width:none;width:100%}.hero-title{font-size:clamp(44px,8vw,72px)}.nav{gap:10px}.nav-link{padding:9px 8px;font-size:12px}}
@media(max-width:760px){
.page-shell{width:calc(100% - 28px)}.nav{min-height:0;display:flex;flex-direction:column;align-items:stretch;gap:4px;padding:9px 0 5px}.brand{gap:8px}.brand-mark{width:30px;height:30px;border-radius:9px}.brand-name{font-size:13px}.nav-links{overflow-x:auto;scrollbar-width:none;gap:2px;white-space:nowrap}.nav-links::-webkit-scrollbar{display:none}.nav-links .nav-link:not(.nav-contact){display:block}.nav-link{flex:none;min-height:40px;display:flex;align-items:center;padding:8px 9px;font-size:12px}.section,#about{padding:24px 0;scroll-margin-top:108px}.hero{padding:24px 0;gap:20px}.hero-title{font-size:clamp(37px,9.7vw,60px);line-height:1.04}.hero-title .hero-phrase{font-size:inherit;max-width:100%}.hero-subtitle{font-size:15px;line-height:1.55;margin-top:12px}.hero-description{font-size:14px;margin-top:10px}.hero-actions{margin-top:16px;gap:8px}.hero-actions .button{flex:1;min-width:0;padding:0 10px;font-size:12px;min-height:46px}.eyebrow{font-size:10px;margin-bottom:10px}.hero .technology-list{margin-top:14px!important}.technology-list{gap:5px}.technology-chip{padding:6px 8px;font-size:10px}.section-header{margin-bottom:14px}.section-title{font-size:clamp(29px,7.7vw,40px)}.section-description{font-size:14px}.stat{padding:14px 8px}.stat-value{font-size:23px}.stat-label{font-size:11px}.about-panel{padding:18px;gap:16px;grid-template-columns:1fr}.about-profile{padding:0 0 14px;border-right:0;border-bottom:1px solid var(--border)}.about-photo{margin-bottom:12px}.about-content>p:not(.section-kicker){font-size:14px}.about-content .section-title{font-size:30px}.projects-grid,.testimonials-grid,.skills-grid,.process-row{gap:10px}.projects-grid,.testimonials-grid{grid-template-columns:1fr}.skills-grid,.process-row{grid-template-columns:repeat(2,minmax(0,1fr))}.project-content,.skill-card,.process-item,.testimonial-card{padding:15px}.skill-title{font-size:21px}.skill-copy,.process-copy{font-size:12px}.skill-icon{width:34px;height:34px}.testimonial-card{height:auto}.testimonial-excerpt{min-height:0;height:auto;-webkit-line-clamp:5;font-size:14px}.testimonial-more{min-height:40px;margin:3px 0 5px}.testimonial-avatar{width:60px;height:60px}.testimonial-dialog{padding:18px;max-height:85dvh}.testimonial-dialog-header{margin-bottom:12px}.contact-panel{padding:24px 16px}.contact-title{font-size:36px}.contact-copy{font-size:14px}.contact-actions{gap:8px}.contact-actions .button{min-height:44px}.footer{padding-bottom:85px}.automation-demo{padding:16px}.automation-demo h2{font-size:32px;margin:8px 0}.demo-copy{font-size:12px}.demo-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.demo-tab{min-width:0;font-size:11px;padding:9px 3px;min-height:42px}.demo-metrics,.demo-savings{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.demo-metric{padding:10px}.demo-metric-label{font-size:9px;letter-spacing:.04em}.demo-value{font-size:26px}.demo-value .unit{font-size:10px}.demo-title{font-size:14px}.demo-state{font-size:10px}.demo-node{gap:7px;padding:9px}.demo-node>div{min-width:0}.demo-node strong{font-size:11px;line-height:1.4;overflow-wrap:anywhere}.demo-icon{width:27px;height:27px}.demo-time{font-size:11px}.demo-savings strong{font-size:24px}.demo-result{padding:12px}.demo-note,.demo-foot{font-size:10px}.demo-run{min-height:44px;font-size:12px}.project-gallery-stage{min-height:0;padding:12px 45px}.project-gallery-dialog{max-height:90dvh}.project-gallery-image{max-height:55dvh}.project-gallery-title{white-space:normal}.project-gallery-header{padding:10px 12px}.project-gallery-modal{padding:8px}
}
@media(max-width:360px){.page-shell{width:calc(100% - 20px)}.hero-title{font-size:36px}.hero-title .hero-phrase{font-size:min(1em,10vw)}.skill-card,.process-item{padding:12px}.demo-value{font-size:23px}.demo-metric{padding:8px}.demo-title{font-size:12px}.demo-state{font-size:9px}}
@media(prefers-reduced-motion:reduce){.demo-node,.demo-progress-bar,.demo-tab{transition:none!important}}



.nav-links{min-width:0;overflow-x:auto;scrollbar-width:thin;white-space:nowrap}.nav-link{flex:none}.nav-link[aria-current="location"]{color:var(--text);background:rgba(129,140,248,.12)}
.faq-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}.faq-item{border:1px solid var(--border);border-radius:14px;background:rgba(15,19,26,.74);overflow:hidden;transition:border-color .2s}.faq-item:hover,.faq-item[open]{border-color:rgba(129,140,248,.48)}.faq-item summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:17px 18px;cursor:pointer;font-size:14px;font-weight:600;line-height:1.5}.faq-item summary::-webkit-details-marker{display:none}.faq-item summary:focus-visible{outline:2px solid var(--accent);outline-offset:-3px}.faq-plus{width:18px;height:18px;position:relative;flex:none;color:var(--accent)}.faq-plus:before,.faq-plus:after{content:"";position:absolute;top:8px;left:2px;width:14px;height:2px;background:currentColor;border-radius:2px;transition:transform .2s}.faq-plus:after{transform:rotate(90deg)}.faq-item[open] .faq-plus:after{transform:rotate(0)}.faq-item p{margin:0;padding:0 18px 17px;color:var(--muted);font-size:13px;line-height:1.75}@media(max-width:760px){.faq-grid{grid-template-columns:1fr}.faq-item summary{padding:14px;font-size:13px}.faq-item p{padding:0 14px 14px}.nav-links{scrollbar-width:none}}@media(prefers-reduced-motion:reduce){.faq-item,.faq-plus:after{transition:none}}



#projectsGrid.project-slider:not(.hidden){display:grid;grid-auto-flow:column;grid-template-columns:none;grid-auto-columns:calc((100% - 22px)/2);gap:22px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;overscroll-behavior-inline:contain;padding-bottom:10px;align-items:stretch}
#projectsGrid.project-slider>.project-card{scroll-snap-align:start;min-width:0}
.slider-controls:not(.hidden){display:flex;align-items:center;justify-content:flex-end;gap:12px;margin:0 0 12px;color:var(--muted);font-size:13px}
.slider-controls button{border:1px solid var(--border);border-radius:10px;background:transparent;color:inherit;width:42px;height:42px;cursor:pointer;font-size:20px}.slider-controls button:disabled{opacity:.35;cursor:default}.slider-controls button:focus-visible{outline:2px solid #818cf8}
@media(max-width:760px){#projectsGrid.project-slider:not(.hidden){grid-auto-columns:100%;gap:12px}}



.stats{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.stats .stat-value{color:#fff!important;font-variant-numeric:tabular-nums}
.stats .stat{min-width:0;border-bottom:0}
.stats .stat+.stat{border-left:1px solid var(--border)}
.project-slider-shell{position:relative;min-width:0}
#projectsGrid.project-slider:not(.hidden){scrollbar-width:none;padding-bottom:0}
#projectsGrid.project-slider::-webkit-scrollbar{display:none}
.slider-controls:not(.hidden){position:absolute;inset:0;display:block;margin:0;pointer-events:none;z-index:4}
.slider-controls button{position:absolute;top:50%;transform:translateY(-50%);pointer-events:auto;width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:rgba(17,14,30,.94);border:1px solid rgba(177,159,255,.5);color:white;font-size:32px;line-height:1;box-shadow:0 5px 20px #0008;transition:box-shadow .2s,background .2s,opacity .2s}
#projectPrev{left:-14px}#projectNext{right:-14px}
.slider-controls button:not(:disabled):hover{background:#30204d;box-shadow:0 0 20px #9370ff80}
.slider-controls button:disabled{opacity:.3;pointer-events:none}
@media(max-width:760px){#projectPrev{left:4px}#projectNext{right:4px}.slider-controls button{width:40px;height:40px}.stats .stat{padding:16px 5px}.stats .stat-label{font-size:11px}.stats .stat-value{font-size:26px}}



/* Keep the original top alignment; adapt to the actual available column width. */
@media (min-width:981px) {
 .hero { align-items:start; gap:clamp(22px,2.8vw,34px); grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr); }
 .hero > div:first-child { container-type:inline-size; }
 .hero-title { font-size:clamp(54px, 14cqi, 86px); line-height:1.02; }
 .hero-title .hero-phrase { font-size:inherit; white-space:nowrap; }
 .hero .automation-demo { padding:clamp(14px,1.4vw,20px); }
 .hero .demo-tabs { margin:9px 0; gap:6px; }
 .hero .demo-tab { min-width:0; padding:9px 7px; }
 .hero .demo-metrics { margin:9px 0; gap:8px; }
 .hero .demo-metric { padding:11px 12px; }
 .hero .demo-value { font-size:30px; margin-top:6px; }
 .hero .demo-status { margin:10px 0 7px; }
 .hero .demo-node { min-height:44px; padding:7px 10px; gap:9px; }
 .hero .demo-icon { width:30px; height:30px; }
 .hero .demo-wire { height:7px; }
 .hero .demo-run { margin-top:10px; min-height:44px; }
 .hero .demo-progress { margin-top:9px; }
 .hero .demo-note { margin-top:9px; }
 .hero .demo-foot { margin:6px 0 0; }
}



.project-data-disclaimer { font-size: 12px; line-height: 1.6; color: #a5a9bb; margin: 8px 0 12px; padding-left: 10px; border-left: 2px solid #7771d7; }
.project-data-disclaimer[hidden] { display: none !important; }
#galleryDataDisclaimer { margin: 10px 16px; }


#loomModal::backdrop{background:#000c;backdrop-filter:blur(8px)}#loomModal .button{min-height:36px;padding:0 12px}#projects .project-image{object-fit:contain}.project-link:focus-visible{outline:2px solid #818cf8}
:root{color-scheme:dark}
.theme-toggle{flex:none;width:40px;height:40px;display:grid;place-items:center;border:1px solid var(--border);border-radius:12px;background:var(--panel);color:var(--accent);cursor:pointer;font-size:23px;line-height:1}
.theme-toggle:hover{border-color:var(--accent)}.theme-toggle:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.nav{position:relative}.brand{flex-shrink:0}
@media(max-width:760px){.theme-toggle{position:absolute;right:0;top:5px;width:36px;height:36px}.nav .brand{padding-right:48px}.nav .nav-links{margin-top:4px}}
:root[data-theme="light"]{color-scheme:light;--bg:#f6f7fc;--panel:#fff;--panel-soft:#eef0f9;--border:rgba(39,40,80,.16);--border-hover:#7771d7;--text:#20243b;--muted:#50596c;--accent:#5145bb;--accent-strong:#5548cc;--success:#087c57}
[data-theme="light"] body{background:radial-gradient(circle at 15% 10%,#e8e5ff 0,transparent 35%),radial-gradient(circle at 85% 18%,#e5efff 0,transparent 28%),var(--bg)}
[data-theme="light"] .site-header.is-scrolled{background:rgba(246,247,252,.96)}
[data-theme="light"] :is(.project-card,.skill-card,.process-item,.testimonial-card,.about-panel,.faq-item,.dashboard-preview,.empty-state,.loading-inner){background:var(--panel)}
[data-theme="light"] .project-card:hover{background:#fff}
[data-theme="light"] .contact-panel,[data-theme="light"] .automation-demo{background:radial-gradient(ellipse at 95% 0%,#e6e2ff,transparent 55%),var(--panel);box-shadow:0 12px 38px #332b6a12}
[data-theme="light"] :is(.hero-description,.about-content>p:not(.section-kicker),.feature-item,.project-section-label,.demo-benefit,.project-data-disclaimer){color:#414b62}
[data-theme="light"] :is(.technology-chip,.demo-tab,.demo-node,.demo-metric,.preview-metric,.button:not(.button-primary),.project-gallery-close){background:var(--panel-soft);color:var(--text);border-color:var(--border)}
[data-theme="light"] :is(.technology-chip:hover,.demo-tab:hover,.demo-tab.is-active,.demo-kicker,.demo-icon,.gallery-open-button){color:var(--accent)}
[data-theme="light"] .demo-tab.is-active{background:#e6e3ff;border-color:var(--accent)}
[data-theme="light"] .button-primary:hover{background:#4034aa;color:#fff}
[data-theme="light"] :is(.demo-savings strong,.demo-value.is-green,.demo-node.is-done .demo-icon,.demo-node.is-done .demo-time){color:var(--success)}
[data-theme="light"] :is(.demo-progress,.demo-track){background:#dfe3f0}
[data-theme="light"] .demo-foot{color:var(--muted)}
[data-theme="light"] .stats .stat-value{color:var(--text)!important}
[data-theme="light"] .project-gallery-dialog{background:var(--panel);border-color:var(--border)}
[data-theme="light"] .slider-controls button{background:#fff;color:var(--accent);border-color:#aaa2e2;box-shadow:0 5px 20px #332b6a25}
[data-theme="light"] .slider-controls button:not(:disabled):hover{background:#e6e2ff}
[data-theme="light"] .nav-link:hover{background:#e8e5ff}
[data-theme="light"] .error-box{color:#9b2222}
[data-theme="light"] .pointer-ring{color:var(--accent)}

/* Editorial case study direction: restrained surfaces, actual project images. */
:root{--bg:#101113;--panel:#18191d;--panel-soft:#202126;--text:#f0f0f2;--muted:#a5a5b0;--accent:#aaa2e9;--accent-strong:#6355b8;--border:#303139;--radius:14px}
body,[data-theme="light"] body{background:var(--bg)}
:root[data-theme="light"]{--bg:#f7f6f3;--panel:#fff;--panel-soft:#efeeeb;--text:#232329;--muted:#65636e;--accent:#6252b1;--accent-strong:#6252b1;--border:#dedcd9}
#projects{padding-top:70px;padding-bottom:80px}#projects .section-header{max-width:740px;margin-bottom:28px}#projects .section-title{font-family:Sora,system-ui,sans-serif;font-size:clamp(30px,4vw,48px);font-weight:700;letter-spacing:-.045em;line-height:1.15}
#projectFilters{margin-bottom:28px!important}#projectFilters .button{border-radius:7px;min-height:36px;padding:0 13px;font-size:12px}.work-caption,.case-library-title{font:600 12px Sora,system-ui,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin:24px 0 14px}
#projectsGrid.case-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;overflow:visible}.case-card{border:1px solid var(--border);background:var(--panel);border-radius:14px;overflow:hidden;min-width:0;display:flex;flex-direction:column}.case-featured{grid-column:1/-1;display:grid;grid-template-columns:1.12fr 1fr;min-height:380px}.case-image{background:var(--panel-soft);min-height:145px;display:flex;align-items:center;justify-content:center;padding:14px;overflow:hidden;aspect-ratio:16/9}.case-image img{width:100%;height:100%;max-height:420px;object-fit:contain;border-radius:5px}.case-featured .case-image{aspect-ratio:auto;min-height:340px;padding:24px}.case-content{padding:24px;display:flex;flex-direction:column;gap:10px;flex:1}.case-kicker{font:600 10px Sora,system-ui,sans-serif;color:var(--accent);letter-spacing:.09em;text-transform:uppercase}.case-headline{font:650 clamp(20px,2.4vw,30px)/1.25 Sora,system-ui,sans-serif;letter-spacing:-.035em;margin:0;color:var(--text)}.case-featured .case-headline{font-size:clamp(27px,3vw,38px)}.case-original{font-size:12px;color:var(--muted);margin:0}.case-summary,.case-mini p,.case-detail p{font-size:14px;line-height:1.7;color:var(--muted);margin:0}.case-mini{border-left:2px solid var(--accent);padding:4px 12px;margin:4px 0}.case-mini strong{font-size:12px}.case-tags{display:flex;flex-wrap:wrap;gap:6px;margin:4px 0}.case-tags span{font-size:11px;color:var(--muted);padding:4px 8px;background:var(--panel-soft);border:1px solid var(--border);border-radius:5px}.case-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:auto;padding-top:12px}.case-action{border:1px solid var(--border);color:var(--text);background:transparent;border-radius:7px;padding:10px 13px;font-size:12px;font-weight:600;cursor:pointer}.case-primary{background:var(--accent-strong);color:white;border-color:transparent}.case-action:hover{border-color:var(--accent)}.case-library-title{grid-column:1/-1;margin:20px 0 0}.case-compact{display:grid;grid-template-columns:34% 1fr}.case-compact .case-image{aspect-ratio:auto;min-height:140px;padding:8px}.case-compact .case-content{padding:16px}.case-compact .case-headline{font-size:19px}.case-compact .case-summary{font-size:12px}.case-compact .case-tags span{font-size:10px}.case-image-note{color:var(--muted);font-size:12px;text-align:center}.case-dialog{background:var(--panel);color:var(--text);border:1px solid var(--border);border-radius:16px;width:min(850px,94vw);max-height:90vh;padding:24px;overflow:auto}.case-dialog::backdrop{background:#000a}.case-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.case-modal-title{font:700 clamp(24px,4vw,36px)/1.2 Sora,system-ui,sans-serif;margin:10px 0;letter-spacing:-.035em}.case-dialog .case-image{margin:18px 0;max-height:400px}.case-detail-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.case-detail{padding:14px;background:var(--panel-soft);border-radius:8px}.case-detail h3,.case-detail-heading{font:650 15px Sora,system-ui,sans-serif;margin:0 0 8px}.case-detail-heading{margin-top:22px}.case-feature-list{columns:2;padding-left:20px;color:var(--muted);font-size:14px;line-height:1.8}.case-dialog .case-actions{margin-top:20px}
@media(max-width:760px){#projects{padding:40px 0}#projectsGrid.case-grid{grid-template-columns:1fr}.case-featured,.case-compact{display:flex;grid-column:auto}.case-featured .case-image,.case-compact .case-image{aspect-ratio:16/9;min-height:0}.case-content{padding:18px}.case-detail-grid{grid-template-columns:1fr}.case-feature-list{columns:1}.case-dialog{padding:16px}.case-library-title{grid-column:auto}}


/* Compact editorial layout */
.section.page-shell{padding-top:48px;padding-bottom:48px}.section-header{margin-bottom:24px}.hero.page-shell{padding-top:44px;padding-bottom:40px;gap:32px}.stat{padding:18px 12px}#projects{padding-top:42px;padding-bottom:42px}#projects .section-header{margin-bottom:18px}#projectFilters{margin-bottom:14px!important}.work-caption{margin:12px 0 8px}#projectsGrid.case-grid{gap:12px}.case-featured{min-height:0;grid-template-columns:1fr 1fr}.case-featured .case-image{min-height:0;padding:10px;aspect-ratio:auto}.case-featured .case-image img{height:auto;max-height:290px}.case-content{padding:16px;gap:7px}.case-featured .case-headline{font-size:clamp(24px,2.4vw,32px)}.case-secondary{display:grid;grid-template-columns:40% 1fr}.case-secondary .case-image,.case-compact .case-image{aspect-ratio:auto;min-height:0;padding:8px}.case-secondary .case-image img,.case-compact .case-image img{height:auto;max-height:160px}.case-secondary .case-headline,.case-compact .case-headline{font-size:18px}.case-secondary .case-summary,.case-compact .case-summary{font-size:12px;line-height:1.5}.case-compact .case-content,.case-secondary .case-content{padding:12px;gap:6px}.case-actions{padding-top:4px;margin-top:4px;gap:6px}.case-action{padding:8px 10px}.case-library-title{margin:8px 0 0}.case-tags{margin:2px 0;gap:4px}.case-mini{margin:0;padding:2px 10px}.case-summary,.case-mini p{line-height:1.5}.case-original{line-height:1.4}.case-compact{grid-template-columns:34% 1fr}
@media(max-width:760px){.section.page-shell{padding-top:32px;padding-bottom:32px}.hero.page-shell{padding-top:30px;padding-bottom:28px;gap:24px}.case-featured,.case-secondary,.case-compact{display:flex}.case-featured .case-image,.case-secondary .case-image,.case-compact .case-image{aspect-ratio:auto;min-height:0;padding:10px}.case-featured .case-image img,.case-secondary .case-image img,.case-compact .case-image img{width:100%;height:auto;max-height:230px}.case-content{padding:14px}.case-featured .case-headline{font-size:24px}}


/* Full-width interactive hero preview */
.hero.page-shell{display:flex;flex-direction:column;align-items:stretch;gap:18px;padding:38px 0 28px;max-width:1180px}.hero .hero-intro{text-align:center;container-type:normal}.hero .eyebrow{margin:0 0 10px}.hero .hero-title{font-family:Sora,system-ui,sans-serif;font-weight:800;letter-spacing:-.055em;line-height:1.13;font-size:clamp(32px,4.5vw,57px);max-width:none;margin:0 auto}.hero .hero-title .hero-phrase{display:block;white-space:normal;font-size:inherit}.hero .hero-subtitle{margin:12px auto 0;font-size:16px}.hero .hero-description{margin:8px auto 0;max-width:760px;font-size:14px;line-height:1.6}.hero .hero-visual{width:100%;max-width:none}.hero .automation-demo{padding:20px 24px;border-radius:20px;background:var(--panel);box-shadow:none}.hero .automation-demo h2{font-family:Sora,system-ui,sans-serif;font-weight:700;font-size:23px;margin:6px 0}.hero .demo-copy{margin:0 0 10px;font-size:13px}.hero .demo-tabs{max-width:480px;margin:10px 0}.hero .demo-status{margin:10px 0 8px}.hero #demoFlow{display:flex;align-items:stretch;gap:0}.hero .demo-node{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:7px;padding:12px 8px;min-height:100px}.hero .demo-node strong{font-size:12px;line-height:1.4;white-space:normal}.hero .demo-time{margin:0;font-size:12px}.hero .demo-wire{width:18px;height:2px;align-self:center;margin:0;flex:none}.hero .demo-metrics{grid-template-columns:repeat(2,minmax(0,1fr));margin:12px 0}.hero .demo-metric{padding:10px 14px}.hero .demo-run{margin-top:12px}.hero .demo-note,.hero .demo-foot{text-align:center;margin-top:8px}.hero .hero-actions{justify-content:center;margin:0;gap:10px}.stats{max-width:1180px;width:calc(100% - 36px);margin:0 auto;border:1px solid var(--border);border-radius:14px;overflow:hidden}.stat{padding:14px 10px}#projects .section-header{max-width:none;text-align:center;margin:0 auto 14px}#projects .section-description{max-width:780px;margin:9px auto 0}#projectFilters{justify-content:center}#projects{padding-top:30px}
@media(max-width:760px){.hero.page-shell{padding:24px 0 20px;gap:14px}.hero .automation-demo{padding:14px}.hero .hero-title{font-size:clamp(28px,7.5vw,42px)}.hero #demoFlow{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.hero .demo-wire{display:none}.hero .demo-node{min-height:88px}.hero .demo-metrics{gap:6px}.hero .hero-actions{flex-wrap:wrap}.stats{width:calc(100% - 28px)}.stat{padding:10px 4px}.stat-label{font-size:10px}}


#projectFilters { display:flex; flex-wrap:wrap; justify-content:center; gap:10px !important; margin-bottom:22px !important; }
#projectFilters .button { min-height:48px; padding:0 22px; font-size:15px; font-weight:600; border-radius:10px; line-height:1.3; }
@media(max-width:600px){#projectFilters {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px !important;}#projectFilters .button{width:100%;min-height:46px;padding:8px 10px;font-size:13px;white-space:normal;}}
