/* ── Colour tokens — adjust here to match your brand exactly ── */
    :root {
      --bg:        #0b0f1e;
      --bg-card:   rgba(255,255,255,0.04);
      --border:    rgba(255,255,255,0.08);
      --accent:    #2979ff;
      --accent-lo: rgba(41,121,255,0.12);
      --cyan:      #6ee63a;
      --green:     #479f28;
      --text:      #f0f4ff;
      --muted:     #7a88a8;
      --radius:    10px;
    }

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

    html { scroll-behavior: smooth; }

    body {
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
      background: var(--bg);
      color: var(--text);
      line-height: 1.6;
      min-height: 100vh;
      overflow-x: hidden;
    }

    /* ── Canvas background ── */
    #bg-canvas {
      position: fixed;
      inset: 0;
      z-index: 0;
      pointer-events: none;
    }

    /* ── Layout wrapper ── */
    .site {
      position: relative;
      z-index: 1;
      max-width: 1100px;
      margin: 0 auto;
      padding: 0 2rem;
    }

    /* ── Nav ── */
    nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1.75rem 0;
      border-bottom: 1px solid var(--border);
    }

    .logo img {
      height: 40px;
      display: block;
    }

    .nav-links {
      display: flex;
      gap: 2rem;
      list-style: none;
    }

    .nav-links a {
      font-size: 14px;
      color: var(--muted);
      text-decoration: none;
      transition: color .2s;
    }

    .nav-links a:hover { color: var(--text); }

    /* ── Hero ── */
    .hero {
      padding: 7rem 0 5rem;
      max-width: 680px;
    }

    .hero-label {
      display: inline-flex;
      align-items: center;
      gap: .5rem;
      font-size: 12px;
      letter-spacing: .1em;
      text-transform: uppercase;
      color: var(--cyan);
      margin-bottom: 1.5rem;
    }


    .hero h1 {
      font-size: clamp(2.2rem, 5vw, 3.2rem);
      font-weight: 600;
      line-height: 1.15;
      letter-spacing: -.03em;
      margin-bottom: 1.5rem;
    }

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

    /* Hero headline carousel: crossfades + slides between taglines */
    .hero-headline {
      transition: opacity .4s ease, transform .4s ease;
    }

    .hero-headline.is-leaving {
      opacity: 0;
      transform: translateY(-14px);
    }

    .hero-headline.is-entering {
      opacity: 0;
      transform: translateY(14px);
    }

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

    /* Hero subtext carousel: same slide + fade treatment as the headline */
    .hero-subtext {
      transition: opacity .4s ease, transform .4s ease;
    }

    .hero-subtext.is-leaving {
      opacity: 0;
      transform: translateY(-14px);
    }

    .hero-subtext.is-entering {
      opacity: 0;
      transform: translateY(14px);
    }

    /* The headline/subtext start hidden (is-entering, set in the HTML) so the
       very first thing visitors see is them animating in, not a flash of
       static text followed by a jump. Reduced-motion visitors just get the
       content immediately, with no transition to sit through. */
    @media (prefers-reduced-motion: reduce) {
      .hero-headline,
      .hero-subtext {
        transition: none;
      }
    }

    .hero-cta {
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      gap: .5rem;
      padding: .75rem 1.5rem;
      border-radius: var(--radius);
      font-size: 14px;
      font-weight: 500;
      text-decoration: none;
      cursor: pointer;
      border: none;
      transition: opacity .2s, transform .15s;
    }

    .btn:hover { opacity: .85; transform: translateY(-1px); }

    .btn-primary {
      background: var(--accent);
      color: #fff;
    }

    .btn-ghost {
      background: var(--bg-card);
      color: var(--text);
      border: 1px solid var(--border);
    }

    /* ── Stats strip ── */
    .stats {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      border-top: 1px solid var(--border);
      border-left: 1px solid var(--border);
    }

    .stat {
      padding: 1.75rem 1.5rem;
      border-right: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      opacity: 0;
      transform: translateY(14px);
      transition: opacity .5s ease, transform .5s ease;
    }

    .stat.is-visible {
      opacity: 1;
      transform: translateY(0);
    }

    @media (prefers-reduced-motion: reduce) {
      .stat {
        transition: none;
      }
    }

    .stats-disclaimer {
      font-size: 11px;
      color: var(--muted);
      text-align: center;
      margin: .75rem 0 5rem;
    }

    @media (max-width: 750px) {
      .stats { grid-template-columns: repeat(2, 1fr); }
    }

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

    .stat-num {
      font-size: 2rem;
      font-weight: 600;
      color: var(--accent);
      letter-spacing: -.04em;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

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

    /* ── Section headings ── */
    .section { padding: 0 0 5rem; }

    .section-tag {
      font-size: 11px;
      letter-spacing: .12em;
      text-transform: uppercase;
      color: var(--cyan);
      margin-bottom: .75rem;
    }

    .section-title {
      font-size: clamp(1.5rem, 3vw, 2rem);
      font-weight: 600;
      letter-spacing: -.02em;
      margin-bottom: 2.5rem;
    }

    /* ── Services grid ── */
    .services-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1px;
      background: var(--border);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      overflow: hidden;
    }

    .service-card {
      background: var(--bg);
      padding: 2rem;
      transition: background .2s;
    }

    .service-card:hover { background: var(--bg-card); }

    .service-icon {
      width: 44px;
      height: 44px;
      border-radius: 10px;
      background: var(--accent-lo);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 1.25rem;
    }

    .service-icon svg {
      width: 22px;
      height: 22px;
      stroke: var(--accent);
      fill: none;
      stroke-width: 1.75;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .service-card h3 {
      font-size: 1rem;
      font-weight: 600;
      margin-bottom: .5rem;
    }

    .service-card p {
      font-size: 14px;
      color: var(--muted);
      line-height: 1.7;
    }

    /* ── Footer ── */
    footer {
      border-top: 1px solid var(--border);
      padding: 1.75rem 0;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 13px;
      color: var(--muted);
    }

    footer a {
      color: var(--muted);
      text-decoration: none;
    }

    footer a:hover { color: var(--text); }

    /* ── Contact form ── */
    .contact-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 4rem;
    }

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

    .contact-copy p {
      font-size: 15px;
      color: var(--muted);
      line-height: 1.75;
      margin-bottom: 1rem;
    }

    .contact-form {
      display: flex;
      flex-direction: column;
      border: 1px solid var(--border);
      border-radius: 16px;
      background: var(--bg-card);
      padding: 2rem;
      transition: height .45s ease;
      overflow: hidden;
    }

    .contact-form-fields {
      transition: opacity .3s ease;
    }

    .contact-form-fields.fading {
      opacity: 0;
    }

    .form-row {
      margin-bottom: 1.1rem;
    }

    .form-row label {
      display: block;
      font-size: 13px;
      color: var(--muted);
      margin-bottom: .4rem;
    }

    .form-row input,
    .form-row textarea {
      width: 100%;
      padding: .7rem .85rem;
      border-radius: 8px;
      border: 1px solid var(--border);
      background: rgba(255,255,255,0.03);
      color: var(--text);
      font-family: inherit;
      font-size: 14px;
      resize: vertical;
    }

    .form-row input:focus,
    .form-row textarea:focus {
      outline: none;
      border-color: var(--accent);
    }

    .form-row textarea { min-height: 120px; }

    /* Honeypot field: hidden from real visitors, visible to bots */
    .form-hp {
      position: absolute;
      left: -9999px;
      width: 1px;
      height: 1px;
      overflow: hidden;
    }

    .contact-form .btn {
      width: 100%;
      justify-content: center;
    }

    .contact-form .btn:disabled {
      opacity: .4;
      cursor: not-allowed;
      transform: none;
      pointer-events: none;
    }

    .form-status {
      margin-top: 1rem;
      font-size: 13px;
      display: none;
    }

    .form-status.success {
      display: block;
      color: var(--cyan);
    }

    .form-status.error {
      display: block;
      color: #ff6b6b;
    }

    /* Success state: replaces the form fields, bottom-aligned and centered */
    .contact-success {
      display: none;
      flex: 1;
      flex-direction: column;
      align-items: center;
      justify-content: flex-end;
      gap: 1rem;
      text-align: center;
      padding-bottom: .5rem;
    }

    .contact-success.visible {
      display: flex;
    }

    .success-check {
      width: 60px;
      height: 60px;
      flex-shrink: 0;
    }

    .success-check-circle {
      fill: none;
      stroke: var(--cyan);
      stroke-width: 2;
      stroke-dasharray: 151;
      stroke-dashoffset: 151;
      animation: success-circle .5s ease-out forwards;
    }

    .success-check-mark {
      fill: none;
      stroke: var(--cyan);
      stroke-width: 3;
      stroke-linecap: round;
      stroke-linejoin: round;
      stroke-dasharray: 40;
      stroke-dashoffset: 40;
      animation: success-mark .3s ease-out .4s forwards;
    }

    .contact-success p {
      color: var(--text);
      font-size: 15px;
      line-height: 1.6;
      opacity: 0;
      animation: success-fade .4s ease-out .5s forwards;
    }

    @keyframes success-circle {
      to { stroke-dashoffset: 0; }
    }

    @keyframes success-mark {
      to { stroke-dashoffset: 0; }
    }

    @keyframes success-fade {
      to { opacity: 1; }
    }

    /* ── Responsive nav ── */
    @media (max-width: 600px) {
      .nav-links { gap: 1.25rem; }
footer { flex-direction: column; gap: .5rem; text-align: center; }
    }
