﻿    /* ---------- DESIGN TOKENS (60-30-10) ---------- */

    /* SINGLE THEME — 60% Dust Grey + Amethyst (bg shades) · 30% Taupe shades (elements) · 10% Royal Blue */
    :root {
      /* 60% — Dust Grey main bg + Amethyst dark alt-sections */
      --bg:           #E4D6D4;        /* Dust Grey — main bg */
      --bg-rgb:       228, 214, 212;
      --bg-deep:      #2E0750;        /* Dark Amethyst — alt dark sections */
      --bg-light:     #F0E5E3;        /* lighter dust */

      /* 30% — Light warm beige (matches the dust grey bg, just warmer) */
      --surface:      #D4C2AE;        /* main light warm taupe */
      --surface-2:    #DCCDBC;        /* even lighter */
      --surface-3:    #C2AE99;        /* slightly darker variant */
      --border:       rgba(46,7,80,0.18);

      /* 10% — Royal Blue accent */
      --accent:       #4D73D3;
      --accent-rgb:   77, 115, 211;
      --accent-warm:  #7C9EE8;        /* lighter royal blue for gradient depth */
      --accent-warm-rgb: 124, 158, 232;

      --text:         #2E0750;        /* Dark Amethyst — text on dust grey bg */
      --text-muted:   rgba(46,7,80,0.72);
      --text-soft:    rgba(46,7,80,0.5);

      /* Text on taupe surface (mid-tone — dark text reads well) */
      --text-on-surface:       #2E0750;
      --text-on-surface-muted: rgba(46,7,80,0.72);
      --text-on-surface-soft:  rgba(46,7,80,0.5);

      /* Text on dark amethyst sections (process, footer if used) */
      --text-on-dark:       #E4D6D4;
      --text-on-dark-muted: rgba(228,214,212,0.72);
      --text-on-dark-soft:  rgba(228,214,212,0.5);

      /* CTA = solid dark amethyst, no gradient */
      --cta-bg:       #2E0750;
      --cta-text:     #E4D6D4;
      --cta-text-soft: rgba(228,214,212,0.85);
      --cta-btn-bg:   #4D73D3;
      --cta-btn-text: #E4D6D4;

      /* No shadows — fully flat */
      --shadow:       none;
      --shadow-glow:  none;

      --input-bg:     #F0E5E3;

      /* Icon colors — DEFAULT palette (icons on Dust Grey bg → need dark fills) */
      --ico-bright:   #4D73D3;        /* royal blue */
      --ico-mid:      #2E0750;        /* dark amethyst main */
      --ico-shadow:   #1A0330;
      --ico-deep:     #0F0119;
      --ico-cream:    #AB9080;        /* taupe accent */
      --ico-dark:     #1A0330;
      --ico-purple:   #4D73D3;

      --radius-sm: 8px;
      --radius:    12px;
      --radius-lg: 18px;
      --container: 1200px;
    }

    /* ---------- RESET ---------- */
    * { margin:0; padding:0; box-sizing:border-box; }

    html { scroll-behavior:smooth; }

    body {
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Inter, Arial, sans-serif;
      background: var(--bg);
      color: var(--text);
      overflow-x: hidden;
      letter-spacing: 0.2px;
      line-height: 1.6;
      transition: background-color 0.3s ease, color 0.3s ease;
      position: relative;
      min-height: 100vh;
    }

    /* ---- TEXT SELECTION (theme-aware) ---- */
    ::selection {
      background: rgba(var(--accent-rgb), 0.45);
      color: var(--text);
      text-shadow: none;
    }
    ::-moz-selection {
      background: rgba(var(--accent-rgb), 0.45);
      color: var(--text);
    }

    /* Flat — no ambient gradient */
    body::before { display: none; }

    .container {
      width: 90%;
      max-width: var(--container);
      margin: 0 auto;
    }

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

    /* ---------- TYPOGRAPHY ---------- */
    h1, h2, h3, h4 {
      letter-spacing: -0.5px;
      line-height: 1.15;
      color: var(--text);
    }

    h2 { font-size: clamp(32px, 4vw, 48px); }
    h3 { font-size: 22px; }

    p {
      color: var(--text-muted);
      font-size: 16px;
      line-height: 1.75;
    }

    /* WizardZ-style solid pill: royal blue bg + dust grey text, sharp corners */
    .eyebrow {
      display: inline-block;
      padding: 6px 14px;
      border-radius: 6px;
      background: var(--accent);
      border: none;
      color: var(--text-on-dark);
      font-size: 13px;
      letter-spacing: 0.5px;
      text-transform: none;
      margin-bottom: 22px;
      font-weight: 700;
    }

.section-title {
      max-width: 720px;
      margin-bottom: 60px;
    }

    .section-title h2 { margin-bottom: 16px; }
    .section-title p { font-size: 18px; }

    /* ---------- HEADER ---------- */
    header {
      position: sticky;
      top: 0;
      background: rgba(var(--bg-rgb), 0.85);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      border-bottom: 1px solid var(--border);
      z-index: 100;
      transition: background-color 0.3s ease, border-color 0.3s ease;
    }

    .navbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 18px 0;
    }

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

    .logo {
      flex-direction: column;
      align-items: flex-start;
      gap: 2px;
      line-height: 1;
    }

    .logo-mark {
      font-family: 'Orbitron', 'Bahnschrift', 'Eurostile', system-ui, sans-serif;
      font-size: 26px;
      font-weight: 700;
      letter-spacing: 6px;
      color: var(--text);
    }

    .logo-sub {
      font-family: 'Orbitron', 'Bahnschrift', 'Eurostile', system-ui, sans-serif;
      font-size: 9px;
      font-weight: 400;
      letter-spacing: 5px;
      color: var(--accent);
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .logo-sub::before,
    .logo-sub::after {
      content: "";
      display: inline-block;
      width: 10px;
      height: 1.5px;
      background: var(--accent);
      border-radius: 2px;
    }

    nav {
      display: flex;
      align-items: center;
      gap: 4px;
    }

    nav a {
      color: var(--text-muted);
      text-decoration: none;
      padding: 10px 16px;
      border-radius: 10px;
      font-size: 15px;
      transition: all 0.25s ease;
      letter-spacing: 0.4px;
    }

    nav a:hover {
      color: var(--accent);
      background: rgba(var(--accent-rgb),0.1);
    }

    nav .nav-cta {
      background: var(--accent);
      color: var(--bg-deep);
      font-weight: 600;
      margin-left: 8px;
    }

nav .nav-cta:hover {
      background: var(--text);
      color: var(--bg);
      transform: translateY(-1px);
    }

    /* ---------- HERO ---------- */
    .hero {
      padding: 100px 0 80px;
      position: relative;
      overflow: hidden;
    }

    /* Hero corner blobs replaced by .mesh class (see ANIMATIONS section) */

    .hero-content {
      display: grid;
      grid-template-columns: 1.1fr 1fr;
      gap: 80px;
      align-items: center;
      position: relative;
    }

    .hero h2 {
      font-size: clamp(40px, 5.5vw, 64px);
      line-height: 1.05;
      margin-bottom: 24px;
      font-weight: 700;
    }

    .hero h2 span {
      display: inline-block;
      color: var(--accent);
    }

.hero p.lead {
      font-size: 19px;
      line-height: 1.7;
      margin-bottom: 36px;
      max-width: 540px;
    }

    .buttons {
      display: flex;
      gap: 14px;
      flex-wrap: wrap;
    }

    .btn {
      padding: 14px 26px;
      border-radius: 8px;
      text-decoration: none;
      font-weight: 700;
      font-size: 15px;
      letter-spacing: 0;
      transition: all 0.2s ease;
      display: inline-flex;
      align-items: center;
      gap: 10px;
      cursor: pointer;
      border: none;
      font-family: inherit;
    }

    .btn-primary {
      background: var(--accent);
      color: var(--text-on-dark);
      border-radius: 8px;
    }

    .btn-primary:hover {
      background: var(--accent-warm);
      transform: translateY(-2px);
    }

    .btn-secondary {
      background: transparent;
      color: var(--text);
      border: 1.5px solid var(--text);
      border-radius: 8px;
    }

    .btn-secondary:hover {
      background: var(--text);
      color: var(--bg);
      transform: translateY(-1px);
    }

    .hero-meta {
      display: flex;
      gap: 32px;
      margin-top: 50px;
      padding-top: 30px;
      border-top: 1px solid var(--border);
    }

    .hero-meta .item h4 {
      font-size: 28px;
      color: var(--accent);
      margin-bottom: 4px;
    }

.hero-meta .item p {
      font-size: 13px;
      color: var(--text-soft);
      letter-spacing: 0.6px;
      text-transform: uppercase;
    }

    /* ---------- DASHBOARD MOCK ---------- */
    .dashboard {
      background: var(--bg-deep);            /* solid dark amethyst */
      border: 1.5px solid var(--bg-deep);
      border-radius: 16px;
      overflow: hidden;
      position: relative;
      z-index: 1;
      color: var(--text-on-dark);
    }

    .dashboard::before { display: none; }

    .dashboard-top,
    .dashboard-content { position: relative; z-index: 1; }

    .dashboard-top {
      padding: 14px 20px;
      border-bottom: 1.5px solid rgba(228,214,212,0.15);
      display: flex;
      gap: 8px;
      background: var(--bg-deep);
    }

    .dot {
      width: 12px;
      height: 12px;
      border-radius: 50%;
    }

    .red    { background: #ff5f57; }
    .yellow { background: var(--accent); }
    .green  { background: #28c840; }

    .dashboard-content { padding: 28px; }

    .stats {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 14px;
      margin-bottom: 22px;
    }

    .card {
      background: var(--bg-deep);
      padding: 20px;
      border-radius: var(--radius-sm);
      border: 1px solid var(--border);
    }

    .card p {
      font-size: 12px;
      color: var(--text-soft);
      text-transform: uppercase;
      letter-spacing: 1px;
      margin-bottom: 6px;
    }

    .card h3 {
      font-size: 28px;
      color: var(--text);
    }

    .card .delta {
      font-size: 12px;
      color: var(--accent);
      margin-top: 4px;
    }

.chart {
      background: var(--bg-deep);
      border-radius: var(--radius-sm);
      border: 1px solid var(--border);
      padding: 22px;
    }

    .chart-header {
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      margin-bottom: 18px;
    }

    .chart-header p {
      font-size: 13px;
      color: var(--text-soft);
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    .chart-header span {
      color: var(--accent);
      font-size: 14px;
      font-weight: 600;
    }

.bars {
      display: flex;
      gap: 8px;
      align-items: flex-end;
      height: 90px;
    }

    .bar {
      flex: 1;
      background: var(--accent);
      opacity: 1;
    }

    /* ---------- TRUSTED / LOGO BAR ---------- */
    .trust {
      padding: 40px 0;
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
    }

    .trust p {
      text-align: center;
      font-size: 12px;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: var(--text-soft);
      margin-bottom: 24px;
    }

    .trust-row {
      display: flex;
      justify-content: space-around;
      align-items: center;
      flex-wrap: wrap;
      gap: 30px;
    }

    .trust-row span {
      color: var(--text-muted);
      font-size: 18px;
      font-weight: 600;
      letter-spacing: 1px;
      opacity: 0.5;
      transition: opacity 0.3s;
    }

    .trust-row span:hover { opacity: 1; }

    /* ---------- SERVICES ---------- */
    .services { padding: 120px 0; }

    .service-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
    }

    /* WizardZ-style cards: sharp, alternating, no shadow */
    .service-card {
      background: var(--surface);                 /* taupe = light variant */
      border: 1.5px solid var(--text);
      padding: 32px 28px;
      border-radius: 16px;
      transition: transform 0.25s ease;
      position: relative;
      overflow: hidden;
      color: var(--text-on-surface);
    }

    /* Alternating: every 2nd card is dark amethyst */
    .service-grid .service-card:nth-child(even) {
      background: var(--bg-deep);
      border-color: var(--bg-deep);
      color: var(--text-on-dark);
    }
    .service-grid .service-card:nth-child(even) h3 { color: var(--text-on-dark); }
    .service-grid .service-card:nth-child(even) p { color: var(--text-on-dark-muted); }
    .service-grid .service-card:nth-child(even) ul li { color: var(--text-on-dark-muted); }
    .service-grid .service-card:nth-child(even) ul li::before { color: var(--accent); }
    .service-grid .service-card:nth-child(even) {
      --ico-bright:   #E4D6D4;
      --ico-mid:      #4D73D3;
      --ico-shadow:   #3D5BAE;
      --ico-deep:     #1A0330;
      --ico-cream:    #E4D6D4;
      --ico-dark:     #1A0330;
      --ico-purple:   #4D73D3;
    }

    .service-card::before { display: none; }

    .service-card:hover { transform: translateY(-3px); }

    .service-icon {
      width: 56px;
      height: 56px;
      border-radius: 14px;
      background: rgba(var(--accent-rgb),0.14);
      color: var(--accent);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 24px;
      margin-bottom: 24px;
      position: relative;
    }

.service-card h3 { margin-bottom: 12px; position: relative; }
    .service-card p  { position: relative; margin-bottom: 18px; }

    .service-card ul {
      list-style: none;
      position: relative;
    }

    .service-card ul li {
      color: var(--text-muted);
      font-size: 14px;
      padding: 6px 0;
      padding-left: 22px;
      position: relative;
    }

    .service-card ul li::before {
      content: "→";
      color: var(--accent);
      position: absolute;
      left: 0;
      font-weight: bold;
    }

/* ---------- PROCESS ---------- */
    .process {
      padding: 100px 0;
      background: var(--bg-deep);  /* subtle bg shade for visual rhythm (60% in shades) */
      position: relative;
      overflow: hidden;
    }

    .process::before {
      content: "";
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 120%;
      height: 200%;
      background:
        radial-gradient(ellipse at 20% 30%, rgba(var(--accent-rgb),0.10) 0%, transparent 40%),
        radial-gradient(ellipse at 80% 70%, rgba(var(--accent-warm-rgb),0.08) 0%, transparent 45%);
      pointer-events: none;
    }

    .process .container { position: relative; z-index: 1; }

    .process-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
    }

    .step { position: relative; }

    .step-num {
      font-size: 48px;
      color: var(--accent);
      font-weight: 700;
      line-height: 1;
      margin-bottom: 16px;
      opacity: 0.9;
    }

.step h3 { font-size: 18px; margin-bottom: 10px; }
    .step p  { font-size: 14px; line-height: 1.7; }

    /* ---------- TESTIMONIALS ---------- */
    .testimonials { padding: 120px 0; }

    .testimonial-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 24px;
    }

    .testimonial {
      background: var(--surface);
      border: 1.5px solid var(--text);
      padding: 32px;
      border-radius: 16px;
      position: relative;
    }

.testimonial::before {
      content: "“";
      position: absolute;
      top: 10px;
      right: 30px;
      font-size: 100px;
      color: var(--accent);
      opacity: 0.25;
      line-height: 1;
      font-family: Georgia, serif;
    }

    .testimonial blockquote {
      font-size: 17px;
      line-height: 1.7;
      color: var(--text);
      margin-bottom: 24px;
      font-style: italic;
    }

    .testimonial .author {
      display: flex;
      align-items: center;
      gap: 14px;
    }

    .avatar {
      width: 46px;
      height: 46px;
      border-radius: 50%;
      background: var(--accent);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--bg-deep);
      font-weight: 700;
    }

.author-info strong {
      display: block;
      color: var(--text);
      font-size: 15px;
    }

    .author-info span {
      color: var(--text-soft);
      font-size: 13px;
    }

    /* ---------- CTA ---------- */
    .cta { padding: 0 0 120px; }

    .cta-box {
      background: var(--cta-bg);              /* solid dark amethyst */
      padding: 56px 48px;
      border-radius: 16px;
      color: var(--cta-text);
      display: grid;
      grid-template-columns: 1.5fr 1fr;
      gap: 40px;
      align-items: center;
      position: relative;
      overflow: hidden;
    }

    /* Flat — no glow blobs behind CTA */
    .cta-box::before,
    .cta-box::after { display: none; }

    .cta-box h2 {
      color: var(--cta-text);
      font-size: clamp(28px, 3vw, 38px);
      margin-bottom: 14px;
      position: relative;
    }

    .cta-box p {
      color: var(--cta-text-soft);
      font-size: 17px;
      position: relative;
    }

    .cta-box .buttons {
      justify-content: flex-end;
      position: relative;
    }

    .cta-box .btn-primary {
      background: var(--cta-btn-bg);
      color: var(--cta-btn-text);
      box-shadow: none;
    }

    .cta-box .btn-primary:hover {
      filter: brightness(0.95);
    }

    /* ---------- CONTACT ---------- */
    .contact { padding: 100px 0; }

    .contact-box {
      background: var(--surface);
      border: 1.5px solid var(--text);
      border-radius: 16px;
      padding: 44px;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 50px;
    }

.contact h2 { margin-bottom: 16px; }
    .contact p  { line-height: 1.7; }

    .contact-info {
      margin-top: 32px;
      display: flex;
      flex-direction: column;
      gap: 14px;
    }

    .contact-info .item {
      display: flex;
      gap: 14px;
      align-items: center;
      color: var(--text-muted);
      font-size: 15px;
    }

    .contact-info .icon {
      width: 38px;
      height: 38px;
      border-radius: 10px;
      background: rgba(var(--accent-rgb),0.14);
      color: var(--accent);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

form {
      display: flex;
      flex-direction: column;
      gap: 14px;
    }

    label {
      font-size: 13px;
      color: var(--text-soft);
      margin-bottom: -8px;
      letter-spacing: 0.5px;
    }

    input, textarea {
      padding: 14px 16px;
      border-radius: 12px;
      border: 1px solid var(--border);
      background: var(--input-bg);
      color: var(--text);
      outline: none;
      font-family: inherit;
      font-size: 15px;
      transition: border-color 0.25s;
    }

    input::placeholder, textarea::placeholder { color: var(--text-soft); }

    input:focus, textarea:focus { border-color: var(--accent); }

    textarea {
      min-height: 130px;
      resize: vertical;
    }

    /* ---------- FOOTER ---------- */
    footer {
      padding: 50px 0 30px;
      border-top: 1px solid var(--border);
      background: var(--bg-deep);
      color: var(--text-on-dark);
    }

    footer p,
    footer .footer-brand p,
    footer .footer-col a,
    footer .footer-bottom { color: var(--text-on-dark-muted); }
    footer .footer-col h4 { color: var(--text-on-dark-soft); }
    footer .footer-col a:hover { color: var(--accent); }
    footer .footer-bottom { border-color: rgba(228,214,212,0.15); }

    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 50px;
      margin-bottom: 40px;
    }

    .footer-brand p {
      margin-top: 16px;
      font-size: 14px;
      max-width: 320px;
    }

    .footer-col h4 {
      font-size: 13px;
      color: var(--text-soft);
      letter-spacing: 2px;
      text-transform: uppercase;
      margin-bottom: 18px;
    }

    .footer-col a {
      display: block;
      color: var(--text-muted);
      text-decoration: none;
      padding: 6px 0;
      font-size: 14px;
      transition: color 0.25s;
    }

    .footer-col a:hover { color: var(--accent); }

    .footer-bottom {
      padding-top: 24px;
      border-top: 1px solid var(--border);
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 14px;
      font-size: 13px;
      color: var(--text-soft);
    }

    /* ---------- RESPONSIVE ---------- */
    @media (max-width: 900px) {
      .hero { padding: 60px 0; }
      .hero-content,
      .service-grid,
      .stats,
      .testimonial-grid,
      .contact-box,
      .cta-box,
      .footer-grid { grid-template-columns: 1fr; }

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

      .cta-box { padding: 40px 30px; }
      .cta-box .buttons { justify-content: flex-start; }

      .contact-box { padding: 30px; }

      nav a:not(.nav-cta) { display: none; }

      .hero-meta { flex-wrap: wrap; gap: 18px; }
    }

    /* ---------- ANIMATIONS / TRANSITIONS ---------- */

    [data-reveal] {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
      transition-delay: var(--reveal-delay, 0ms);
      will-change: opacity, transform;
    }

    [data-reveal].is-revealed {
      opacity: 1;
      transform: translateY(0);
    }

    [data-reveal="fade"]  { transform: none; }
    [data-reveal="left"]  { transform: translateX(-32px); }
    [data-reveal="left"].is-revealed  { transform: translateX(0); }
    [data-reveal="right"] { transform: translateX(32px); }
    [data-reveal="right"].is-revealed { transform: translateX(0); }
    [data-reveal="scale"] { transform: scale(0.94); }
    [data-reveal="scale"].is-revealed { transform: scale(1); }

    .stagger > *:nth-child(1) { --reveal-delay: 0ms; }
    .stagger > *:nth-child(2) { --reveal-delay: 90ms; }
    .stagger > *:nth-child(3) { --reveal-delay: 180ms; }
    .stagger > *:nth-child(4) { --reveal-delay: 270ms; }
    .stagger > *:nth-child(5) { --reveal-delay: 360ms; }
    .stagger > *:nth-child(6) { --reveal-delay: 450ms; }

    @media (prefers-reduced-motion: reduce) {
      [data-reveal] {
        opacity: 1 !important;
        transform: none !important;
        transition: none;
      }
    }

    /* View transitions for HTMX boost */
    @view-transition { navigation: auto; }

    ::view-transition-old(root) { animation: 0.2s cubic-bezier(0.4, 0, 1, 1) both fade-out; }
    ::view-transition-new(root) { animation: 0.35s cubic-bezier(0, 0, 0.2, 1) both fade-in; }

    @keyframes fade-out { to { opacity: 0; transform: translateY(-8px); } }
    @keyframes fade-in  { from { opacity: 0; transform: translateY(12px); } }

    /* Active nav link */
    nav a.is-active {
      color: var(--accent);
      background: rgba(var(--accent-rgb), 0.1);
    }

    /* Floating gradient blobs */
    @keyframes float-blob {
      0%, 100% { transform: translate(0, 0); }
      50% { transform: translate(-20px, 30px); }
    }

    /* Mesh blob now handles hero atmospheric gradient (animated via mesh-shift) */

    /* Page enter animation */
    main {
      animation: page-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
    }

    @keyframes page-in {
      from { opacity: 0; transform: translateY(10px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    body.htmx-request main {
      opacity: 0.55;
      transition: opacity 0.2s ease;
    }

    /* Logo mark micro-interaction */
    .logo .logo-mark { transition: letter-spacing 0.3s ease; }
    .logo:hover .logo-mark { letter-spacing: 8px; }

    /* ---------- INTERNAL PAGE HERO ---------- */
    .page-hero {
      padding: 100px 0 60px;
      position: relative;
      overflow: hidden;
      text-align: center;
    }

    /* Page-hero atmospheric gradient handled by .mesh class */

    .page-hero .container { position: relative; z-index: 1; }

    .page-hero h1 {
      font-size: clamp(40px, 5.5vw, 64px);
      font-weight: 700;
      line-height: 1.05;
      margin-bottom: 20px;
      letter-spacing: -0.5px;
    }

    .page-hero h1 .grad {
      display: inline-block;
      color: var(--accent);
    }

.page-hero p.lead {
      font-size: 19px;
      max-width: 640px;
      margin: 0 auto;
      color: var(--text-muted);
    }

    /* ---------- SERVICE DETAIL BLOCK ---------- */
    .service-detail {
      padding: 100px 0;
      border-bottom: 1px solid var(--border);
    }
    .service-detail:last-of-type { border-bottom: none; }

    .service-detail-grid {
      display: grid;
      grid-template-columns: 1fr 1.1fr;
      gap: 80px;
      align-items: center;
    }

    .service-detail.alt .service-detail-grid {
      grid-template-columns: 1.1fr 1fr;
    }
    .service-detail.alt .service-detail-text   { order: 2; }
    .service-detail.alt .service-detail-visual { order: 1; }

    .service-detail h2 {
      font-size: clamp(28px, 3.5vw, 40px);
      margin-bottom: 18px;
    }

    .service-detail p { font-size: 17px; margin-bottom: 24px; }

    .service-detail .features {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 14px 24px;
      list-style: none;
    }

    .service-detail .features li {
      color: var(--text-muted);
      font-size: 15px;
      padding-left: 26px;
      position: relative;
      line-height: 1.6;
    }

    .service-detail .features li::before {
      content: "✓";
      position: absolute;
      left: 0;
      top: 0;
      color: var(--accent);
      font-weight: 700;
    }

    .service-detail-visual {
      background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 50px 40px;
      position: relative;
      overflow: hidden;
      min-height: 320px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    /* Flat — no gradient blob behind big icons */
    .service-detail-visual::before { display: none; }

    .visual-emoji {
      font-size: 120px;
      position: relative;
      z-index: 1;
      opacity: 1;
    }

    @media (max-width: 900px) {
      .service-detail-grid,
      .service-detail.alt .service-detail-grid { grid-template-columns: 1fr; gap: 30px; }
      .service-detail.alt .service-detail-text   { order: 0; }
      .service-detail.alt .service-detail-visual { order: 0; }
      .service-detail .features { grid-template-columns: 1fr; }
    }

    /* ---------- TIMELINE (Aanpak page) ---------- */
    .timeline {
      padding: 60px 0 120px;
      position: relative;
    }

    .timeline-list {
      position: relative;
      max-width: 760px;
      margin: 0 auto;
      padding-left: 60px;
    }

    .timeline-list::before {
      content: "";
      position: absolute;
      left: 20px;
      top: 0;
      bottom: 0;
      width: 2px;
      background: linear-gradient(to bottom,
        transparent,
        rgba(var(--accent-rgb), 0.5) 10%,
        rgba(var(--accent-rgb), 0.5) 90%,
        transparent);
    }

    .timeline-step {
      position: relative;
      padding: 0 0 56px 0;
    }
    .timeline-step:last-child { padding-bottom: 0; }

    .timeline-step::before {
      content: "";
      position: absolute;
      left: -47px;
      top: 6px;
      width: 14px;
      height: 14px;
      border-radius: 50%;
      background: var(--accent);
      box-shadow: none;
    }

    .timeline-step .step-label {
      font-size: 12px;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: var(--accent);
      font-weight: 600;
      margin-bottom: 6px;
    }

    .timeline-step h3 {
      font-size: 22px;
      margin-bottom: 10px;
    }

    .timeline-step p {
      font-size: 15px;
      margin-bottom: 14px;
    }

    .timeline-step .duration {
      font-size: 12px;
      color: var(--text-soft);
      display: inline-block;
      padding: 4px 12px;
      border: 1px solid var(--border);
      border-radius: 20px;
      letter-spacing: 0.5px;
    }

    @media (max-width: 700px) {
      .timeline-list { padding-left: 40px; }
      .timeline-step::before { left: -32px; }
    }

    /* ---------- TECH STACK ---------- */
    .tech-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
      gap: 14px;
      margin-top: 40px;
    }

    .tech-pill {
      background: var(--surface);
      border: 1.5px solid var(--text);
      border-radius: 10px;
      padding: 18px;
      text-align: center;
      font-size: 13px;
      color: var(--text-muted);
      transition: all 0.25s ease;
    }

    .tech-pill:hover {
      border-color: rgba(var(--accent-rgb), 0.4);
      color: var(--text);
      transform: translateY(-3px);
    }

    .tech-pill strong {
      display: block;
      color: var(--text);
      font-size: 16px;
      margin-bottom: 4px;
      font-weight: 600;
    }

    /* ---------- BIG STATS ---------- */
    .big-stats {
      padding: 80px 0;
    }

    .big-stats-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 30px;
    }

    .big-stat {
      text-align: center;
      padding: 30px;
    }

    .big-stat .num {
      font-size: clamp(48px, 6vw, 76px);
      font-weight: 700;
      color: var(--accent);
      line-height: 1;
      margin-bottom: 10px;
    }

    .big-stat .label {
      font-size: 13px;
      color: var(--text-muted);
      letter-spacing: 1.5px;
      text-transform: uppercase;
    }

    /* ---------- FAQ ---------- */
    .faq {
      padding: 40px 0 100px;
      max-width: 800px;
      margin: 0 auto;
    }

    details.faq-item {
      background: var(--surface);
      border: 1.5px solid var(--text);
      border-radius: 12px;
      padding: 0;
      margin-bottom: 10px;
      overflow: hidden;
      transition: border-color 0.25s ease;
    }

    details.faq-item[open] {
      border-color: rgba(var(--accent-rgb), 0.4);
    }

    details.faq-item summary {
      padding: 20px 24px;
      cursor: pointer;
      font-weight: 600;
      font-size: 16px;
      list-style: none;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
    }

    details.faq-item summary::-webkit-details-marker { display: none; }

    details.faq-item summary::after {
      content: "+";
      color: var(--accent);
      font-size: 26px;
      font-weight: 400;
      transition: transform 0.3s ease;
      flex-shrink: 0;
    }

    details.faq-item[open] summary::after {
      transform: rotate(45deg);
    }

    details.faq-item .faq-body {
      padding: 0 24px 22px;
      color: var(--text-muted);
      font-size: 15px;
      line-height: 1.7;
    }

    /* ---------- ICONS (chunky flat vector — large & graphical) ---------- */
    .ico {
      width: 64px;
      height: 64px;
      display: inline-block;
      vertical-align: middle;
      flex-shrink: 0;
      transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    .ico-lg  { width: 140px; height: 140px; }
    .ico-xl  { width: 220px; height: 220px; }
    .ico-2xl { width: 320px; height: 320px; }

    /* Service-icon: now BIG and graphical, no bg block */
    .service-icon {
      width: auto;
      height: auto;
      background: none;
      padding: 0;
      margin-bottom: 16px;
      color: inherit;
      font-size: 0;
      display: block;
      overflow: visible;
    }

    .service-icon .ico {
      width: 200px;
      height: 200px;
      margin-left: -10px;       /* nudge so it doesn't crop on left padding */
    }

    /* Playful rotation per card position (scherp blijft, alleen lichte tilt) */
    .service-grid > .service-card:nth-child(3n+1) .service-icon .ico { transform: rotate(-4deg); }
    .service-grid > .service-card:nth-child(3n+2) .service-icon .ico { transform: rotate(3deg); }
    .service-grid > .service-card:nth-child(3n+3) .service-icon .ico { transform: rotate(-2deg); }

    .service-card:hover .service-icon .ico {
      transform: rotate(0deg) scale(1.06);
    }

    /* Subtle float for service-card icons (alternating direction) */
    .service-grid > .service-card:nth-child(odd)  .service-icon .ico { animation: ico-float-a 5.5s ease-in-out infinite; }
    .service-grid > .service-card:nth-child(even) .service-icon .ico { animation: ico-float-b 6s ease-in-out infinite; }

    @keyframes ico-float-a {
      0%, 100% { translate: 0 0; }
      50%      { translate: 0 -6px; }
    }
    @keyframes ico-float-b {
      0%, 100% { translate: 0 0; }
      50%      { translate: 0 4px; }
    }

    /* Big visual icon (service-detail pages) — huge, floating, no bg card */
    .visual-emoji {
      font-size: 0;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .visual-emoji .ico {
      width: clamp(280px, 38vw, 480px) !important;
      height: clamp(280px, 38vw, 480px) !important;
      transform: rotate(-5deg);
      animation: ico-float-big 7s ease-in-out infinite;
    }

    .service-detail.alt .visual-emoji .ico {
      transform: rotate(5deg);
      animation: ico-float-big 7s ease-in-out infinite 1.2s;
    }

    .service-detail:hover .visual-emoji .ico {
      transform: rotate(0deg) scale(1.04);
    }

    @keyframes ico-float-big {
      0%, 100% { translate: 0 0; }
      50%      { translate: 0 -12px; }
    }

    /* Service-detail visual: kill the bg card, let icon float */
    .service-detail-visual {
      background: transparent !important;
      border: none !important;
      box-shadow: none !important;
      padding: 30px !important;
      min-height: auto !important;
      position: relative;
      overflow: visible;
    }
    .service-detail-visual::before { display: none !important; }

    /* Decorative sparkles around big icons */
    .visual-emoji {
      position: relative;
    }
    /* Sharp vector accents around big icons (no glow, hard shapes) */
    .visual-emoji::before {
      content: "";
      position: absolute;
      width: 16px;
      height: 16px;
      top: 10%;
      right: 8%;
      background: var(--accent);
      transform: rotate(45deg);
      animation: sparkle-pulse 4s ease-in-out infinite;
    }
    .visual-emoji::after {
      content: "";
      position: absolute;
      width: 24px;
      height: 24px;
      bottom: 14%;
      left: 6%;
      background: var(--accent-warm);
      border-radius: 50%;
      animation: sparkle-pulse 4s ease-in-out infinite 1.5s;
    }

    @keyframes sparkle-pulse {
      0%, 100% { opacity: 1; }
      50%      { opacity: 0.5; }
    }

    @media (max-width: 900px) {
      .service-icon .ico { width: 160px; height: 160px; }
    }

    /* Background decoration icons */
    .bg-deco {
      position: absolute;
      pointer-events: none;
      opacity: 0.08;
      z-index: 0;
      filter: blur(0.5px);
    }

.bg-deco--tr { top: -40px;  right: -40px; }
    .bg-deco--bl { bottom: -40px; left: -40px; }
    .bg-deco--tl { top: -40px;  left: -40px; }
    .bg-deco--br { bottom: -40px; right: -40px; }

    @keyframes bg-float {
      0%, 100% { transform: translate(0, 0) rotate(0deg); }
      50%      { transform: translate(-12px, 16px) rotate(4deg); }
    }
    .bg-deco { animation: bg-float 14s ease-in-out infinite; }
    .bg-deco--bl, .bg-deco--br { animation-direction: reverse; animation-duration: 18s; }

    /* ---------- ANIMATED MESH GRADIENT ---------- */
    @property --mesh-p1x { syntax: '<percentage>'; initial-value: 20%; inherits: false; }
    @property --mesh-p1y { syntax: '<percentage>'; initial-value: 30%; inherits: false; }
    @property --mesh-p2x { syntax: '<percentage>'; initial-value: 80%; inherits: false; }
    @property --mesh-p2y { syntax: '<percentage>'; initial-value: 70%; inherits: false; }
    @property --mesh-p3x { syntax: '<percentage>'; initial-value: 60%; inherits: false; }
    @property --mesh-p3y { syntax: '<percentage>'; initial-value: 20%; inherits: false; }
    @property --mesh-rot { syntax: '<angle>'; initial-value: 0deg; inherits: false; }

    .mesh {
      position: relative;
      overflow: hidden;
      isolation: isolate;
    }

    /* Flat — no mesh */
    .mesh::before { display: none; }

@keyframes mesh-shift {
      0% {
        --mesh-p1x: 20%; --mesh-p1y: 30%;
        --mesh-p2x: 80%; --mesh-p2y: 70%;
        --mesh-p3x: 60%; --mesh-p3y: 20%;
      }
      33% {
        --mesh-p1x: 70%; --mesh-p1y: 50%;
        --mesh-p2x: 30%; --mesh-p2y: 30%;
        --mesh-p3x: 20%; --mesh-p3y: 80%;
      }
      66% {
        --mesh-p1x: 50%; --mesh-p1y: 80%;
        --mesh-p2x: 60%; --mesh-p2y: 20%;
        --mesh-p3x: 90%; --mesh-p3y: 50%;
      }
      100% {
        --mesh-p1x: 20%; --mesh-p1y: 30%;
        --mesh-p2x: 80%; --mesh-p2y: 70%;
        --mesh-p3x: 60%; --mesh-p3y: 20%;
      }
    }

    /* Conic gradient ring (animated rotation) — for buttons / accents */
    @keyframes conic-spin {
      to { --mesh-rot: 360deg; }
    }

    /* Flat — no conic ring */
    .conic-ring { display: none; }

    /* Hero: keep corner blobs AND let mesh overlay */
    .hero {
      background: transparent;
    }
    .hero > .container {
      position: relative;
      z-index: 1;
    }

    .hero.mesh::before { inset: -5%; opacity: 1; }
    .page-hero.mesh::before { inset: -10%; }

    /* CTA box gets a moving conic ring underneath */
    .cta-box {
      position: relative;
      isolation: isolate;
    }
    .cta-box .conic-ring {
      inset: -30%;
      mix-blend-mode: screen;
      opacity: 0.85;
    }

    /* Reduced motion: disable mesh animation */
    @media (prefers-reduced-motion: reduce) {
      .mesh::before, .conic-ring, .bg-deco, body::before,
      .service-icon .ico, .visual-emoji .ico,
      .visual-emoji::before, .visual-emoji::after {
        animation: none !important;
      }
    }

    /* ---- SECTION DIVIDERS (sharp solid line + accent square) ---- */
    .section-divider {
      position: relative;
      height: 1.5px;
      width: min(960px, 80%);
      margin: 0 auto;
      background: var(--text);
      opacity: 0.15;
    }

    .section-divider::after {
      content: "";
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 10px;
      height: 10px;
      background: var(--accent);
    }

    /* ============================================================
       ICON PALETTE OVERRIDE for icons on TAUPE surface (service-cards)
       — taupe is mid-tone; use dark amethyst body + dust-grey highlights
       ============================================================ */
    .service-card {
      --ico-bright:   #4D73D3;    /* royal blue highlight */
      --ico-mid:      #2E0750;    /* dark amethyst main body */
      --ico-shadow:   #1A0330;    /* deeper amethyst */
      --ico-deep:     #0F0119;    /* darkest */
      --ico-cream:    #E4D6D4;    /* dust grey accent (pops against taupe) */
      --ico-dark:     #1A0330;
      --ico-purple:   #4D73D3;
    }

    /* ============================================================
       DARK SECTION OVERRIDES — sections on bg-deep (Amethyst)
       need light text. Currently used by .process.
       ============================================================ */
    .process {
      color: var(--text-on-dark);
    }
    .process h2,
    .process h3,
    .process .step h3,
    .process .step-num,
    .process .section-title h2 { color: var(--text-on-dark); }
    .process p,
    .process .step p,
    .process .section-title p { color: var(--text-on-dark-muted); }
    .process .timeline-step .duration { color: var(--text-on-dark-soft); border-color: rgba(228,214,212,0.2); }

    /* Dashboard mock inner cards (.card, .chart) sit on bg-deep amethyst → light text */
    .dashboard .card,
    .dashboard .chart { color: var(--text-on-dark); }
    .dashboard .card p,
    .dashboard .chart-header p { color: var(--text-on-dark-soft); }
    .dashboard .card h3 { color: var(--text-on-dark); }
    .dashboard .card .delta { color: var(--accent); }

    /* ============================================================
       TEXT COLOR OVERRIDES on light beige surfaces
       (cards/testimonials/FAQ/contact-box sit on --surface = beige,
        so text needs to flip to dark navy for readability)
       ============================================================ */
    .service-card,
    .service-card h3,
    .service-card p,
    .service-card ul li { color: var(--text-on-surface); }
    .service-card p { color: var(--text-on-surface-muted); }
    .service-card ul li { color: var(--text-on-surface-muted); }

    .testimonial,
    .testimonial blockquote { color: var(--text-on-surface); }
    .testimonial .author-info strong { color: var(--text-on-surface); }
    .testimonial .author-info span   { color: var(--text-on-surface-soft); }

    .tech-pill         { color: var(--text-on-surface-muted); }
    .tech-pill strong  { color: var(--text-on-surface); }

    .contact-box,
    .contact-box p   { color: var(--text-on-surface-muted); }
    .contact-box h2  { color: var(--text-on-surface); }
    .contact-info .item { color: var(--text-on-surface-muted); }

    details.faq-item             { color: var(--text-on-surface-muted); }
    details.faq-item summary     { color: var(--text-on-surface); }
    details.faq-item .faq-body   { color: var(--text-on-surface-muted); }

    /* Form inputs sit on dark --input-bg → keep light text */
    input, textarea { color: var(--text); }

    /* Service-detail visual block has transparent bg → it's on dark body bg */
    .service-detail-visual { color: var(--text); }