/* ── Design tokens (from exerevno.co.nz) ───────────────────────── */
    :root {
      --sage:        #7E9680;
      --sage-soft:   #8a9e90;
      --sage-tint:   #b8cbb9;
      --green-deep:  #3D4F42;
      --green-dark:  #2c3b30;
      --green-night: #1e2b22;
      --cream:       #F7F4EF;
      --cream-2:     #eeebe5;
      --cream-3:     #ece8e0;
      --line:        #ddd8cf;
      --paper:       #ffffff;
      --ink:         #1e2b22;
      --ink-soft:    #526058;

      --radius:   18px;
      --radius-l: 28px;
      --maxw:     1120px;
      --ease:     cubic-bezier(.22,.61,.36,1);
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }

    /* Anchored sections land below the 70px sticky header */
    section[id] { scroll-margin-top: 84px; }

    a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
      outline: 2px solid var(--sage); outline-offset: 3px;
    }
    .band a:focus-visible, .band button:focus-visible,
    footer a:focus-visible, .app.live a:focus-visible {
      outline-color: var(--cream);
    }

    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      *, *::before, *::after { transition-duration: .01ms !important; }
    }

    body {
      font-family: 'Inter', system-ui, -apple-system, sans-serif;
      background: var(--cream);
      color: var(--ink);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
      text-rendering: optimizeLegibility;
    }

    a { color: inherit; text-decoration: none; }
    .wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

    /* ── Brand mark ─────────────────────────────────────────────────── */
    .mark { width: 30px; height: 30px; display: block; flex: none; }
    /* Stacked lockup: logo + name on one row, "by Exerevno" tucked underneath */
    .brand { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; font-weight: 700; letter-spacing: -.02em; font-size: 1.12rem; }
    .brand-top { display: flex; align-items: center; gap: 10px; }
    /* Indent past the 30px mark + 10px gap so the byline left-aligns with the wordmark */
    .brand small { font-weight: 500; color: var(--ink-soft); letter-spacing: .04em; text-transform: uppercase; font-size: .62rem; line-height: 1; margin-left: 40px; }

    /* ── Nav ────────────────────────────────────────────────────────── */
    header {
      position: sticky; top: 0; z-index: 50;
      background: rgba(247,244,239,.82);
      -webkit-backdrop-filter: saturate(140%) blur(12px);
      backdrop-filter: saturate(140%) blur(12px);
      border-bottom: 1px solid var(--line);
    }
    nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
    .nav-links { display: flex; align-items: center; gap: 34px; }
    /* :not(.btn) so the rule doesn't override .btn-primary's cream text/weight
       (it has higher specificity than .btn-primary). */
    .nav-links a:not(.btn) { font-size: .92rem; font-weight: 500; color: var(--ink-soft); transition: color .2s var(--ease); }
    .nav-links a:not(.btn):hover { color: var(--green-deep); }
    .btn {
      display: inline-flex; align-items: center; gap: 8px;
      font-family: inherit; font-weight: 600; font-size: .9rem;
      padding: 11px 20px; border-radius: 999px;
      transition: transform .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
    }
    .btn-primary { background: var(--green-deep); color: var(--cream); }
    .btn-primary:hover { background: var(--green-night); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(30,43,34,.22); }
    .btn-ghost { border: 1px solid var(--line); color: var(--green-deep); background: var(--paper); }
    .btn-ghost:hover { border-color: var(--sage); transform: translateY(-1px); }
    .nav-toggle {
      display: none; width: 42px; height: 42px; border: 1px solid var(--line);
      background: var(--paper); border-radius: 12px; color: var(--green-deep);
      align-items: center; justify-content: center; cursor: pointer;
      transition: border-color .2s var(--ease);
    }
    .nav-toggle:hover { border-color: var(--sage); }
    /* Hamburger → close (X) morph when the menu is open */
    .nav-toggle svg line { transition: transform .25s var(--ease), opacity .2s var(--ease); transform-origin: center; }
    .nav-toggle[aria-expanded="true"] .nt-top { transform: translateY(5px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] .nt-mid { opacity: 0; }
    .nav-toggle[aria-expanded="true"] .nt-bot { transform: translateY(-5px) rotate(-45deg); }

    /* ── Section scaffolding ────────────────────────────────────────── */
    section { padding: 96px 0; }
    .eyebrow {
      display: inline-flex; align-items: center; gap: 10px;
      font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
      color: var(--sage); margin-bottom: 18px;
    }
    .eyebrow::before { content: ""; width: 26px; height: 1.5px; background: var(--sage); display: inline-block; }
    h2.title { font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; color: var(--green-deep); }
    .lead { font-size: 1.08rem; color: var(--ink-soft); max-width: 60ch; margin-top: 18px; }
    /* Underline so colour isn't the only affordance (sage on cream is low-contrast) */
    .sage-link { color: var(--sage); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
    .sage-link:hover { color: var(--green-deep); }

    /* ── Hero ───────────────────────────────────────────────────────── */
    .hero { position: relative; overflow: hidden; padding: 120px 0 104px; }
    .hero::after {
      content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
      background:
        radial-gradient(55% 55% at 88% 18%, rgba(126,150,128,.16), transparent 62%),
        radial-gradient(48% 50% at 6% 96%, rgba(184,203,185,.28), transparent 62%);
    }
    .hero .wrap { position: relative; z-index: 1; }
    .hero h1 {
      font-size: clamp(2.6rem, 6.4vw, 4.6rem);
      font-weight: 900; letter-spacing: -.045em; line-height: 1.02;
      color: var(--green-deep); max-width: 16ch;
    }
    .hero h1 em { font-style: normal; color: var(--sage); }
    .hero p.lead { font-size: 1.2rem; max-width: 54ch; }
    .hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 38px; }
    .pill {
      display: inline-flex; align-items: center; gap: 8px;
      font-size: .8rem; font-weight: 600; color: var(--green-deep);
      background: var(--paper); border: 1px solid var(--line);
      padding: 7px 14px; border-radius: 999px; margin-bottom: 26px;
    }
    .pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 4px rgba(126,150,128,.2); }

    /* ── Stat strip ─────────────────────────────────────────────────── */
    .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 64px; }
    .stat { background: var(--cream); padding: 26px 28px; }
    .stat b { display: block; font-size: 1.8rem; font-weight: 800; color: var(--green-deep); letter-spacing: -.02em; }
    .stat span { font-size: .86rem; color: var(--ink-soft); }

    /* ── Apps ───────────────────────────────────────────────────────── */
    .apps { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
    .app-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 52px; }
    .app {
      position: relative; display: flex; flex-direction: column;
      background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-l);
      padding: 30px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
    }
    .app:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(30,43,34,.10); border-color: var(--sage-tint); }
    .app.live { grid-column: 1 / -1; flex-direction: row; gap: 36px; align-items: center; background: linear-gradient(120deg, var(--green-deep), var(--green-night)); border: none; color: var(--cream); }
    .app.live .app-icon { background: rgba(255,255,255,.10); }
    .app-icon-img { background: transparent !important; padding: 0; overflow: hidden; }
    .app-icon-img img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; display: block; }
    .app.live h3 { color: #fff; }
    .app.live p { color: rgba(255,255,255,.78); }
    .app-icon {
      width: 58px; height: 58px; border-radius: 16px; flex: none;
      display: grid; place-items: center; background: var(--cream-3);
      font-size: 1.6rem;
    }
    .app-live-body { flex: 1; }
    .app-head { display: flex; align-items: center; gap: 16px; }
    .app h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; color: var(--green-deep); }
    .app .tag { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
    .tag-live { background: var(--sage); color: #fff; }
    .tag-soon { background: var(--cream-3); color: var(--ink-soft); }
    .app p { margin-top: 14px; font-size: .98rem; color: var(--ink-soft); max-width: 62ch; }
    .app .app-link { margin-top: 18px; display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: .92rem; color: var(--sage); }
    .app.live .app-link { color: var(--cream); }
    .app-link svg { transition: transform .2s var(--ease); }
    .app:hover .app-link svg { transform: translateX(4px); }
    /* Half-width next to the idea card; dashed border signals "placeholder". */
    .app.soon { border-style: dashed; }
    .app.soon:hover { transform: none; box-shadow: none; border-color: var(--sage-tint); }
    .app-soon-body { flex: 1; display: flex; flex-direction: column; }
    .app.soon .app-head { margin-top: 18px; }
    .app.idea .app-head { margin-top: 18px; }
    .app.soon .app-head h3 { color: var(--ink-soft); }
    .app.soon p { margin-top: 12px; }

    /* Launch-notification capture inside the coming-soon card */
    .notify-form { margin-top: 20px; }
    .notify-label { display: block; font-size: .82rem; font-weight: 600; color: var(--green-deep); margin-bottom: 8px; }
    .notify-row { display: flex; gap: 10px; flex-wrap: wrap; }
    .notify-row input {
      flex: 1; min-width: 180px; font-family: inherit; font-size: .9rem; color: var(--ink);
      background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
      padding: 10px 16px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
    }
    .notify-row input:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px rgba(126,150,128,.18); }
    .notify-row .btn { border: none; cursor: pointer; padding: 10px 18px; font-size: .85rem; }

    /* ── About / values ─────────────────────────────────────────────── */
    .about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start; }
    .values { display: flex; flex-direction: column; gap: 4px; counter-reset: v; }
    .value { display: grid; grid-template-columns: auto 1fr; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); }
    .value:last-child { border-bottom: 1px solid var(--line); }
    .value .num { counter-increment: v; font-variant-numeric: tabular-nums; font-weight: 700; color: var(--sage); font-size: .9rem; }
    .value .num::before { content: "0" counter(v); }
    .value h3 { font-size: 1.05rem; font-weight: 700; color: var(--green-deep); margin-bottom: 4px; }
    .value p { font-size: .94rem; color: var(--ink-soft); }

    /* ── CTA band ───────────────────────────────────────────────────── */
    .band { background: var(--green-deep); color: var(--cream); border-radius: var(--radius-l); padding: 64px 56px; text-align: center; position: relative; overflow: hidden; }
    .band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 80% at 50% 0%, rgba(126,150,128,.4), transparent 70%); pointer-events: none; }
    .band > * { position: relative; z-index: 1; }
    .band h1, .band h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -.03em; color: #fff; }
    .band-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
    .band p { color: rgba(255,255,255,.8); max-width: 50ch; margin: 16px auto 32px; }
    .band .btn-primary { background: var(--cream); color: var(--green-night); }
    .band .btn-primary:hover { background: #fff; }

    /* ── Contact ────────────────────────────────────────────────────── */
    .contact { background: var(--paper); border-top: 1px solid var(--line); }
    .contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
    .contact-aside p.lead { margin-top: 14px; }
    .contact-direct { margin-top: 30px; display: flex; flex-direction: column; gap: 16px; }
    .contact-item { display: flex; gap: 14px; align-items: flex-start; }
    .contact-item .ci-ico { width: 40px; height: 40px; border-radius: 11px; background: var(--cream-3); display: grid; place-items: center; flex: none; color: var(--green-deep); }
    .contact-item h3 { font-size: .82rem; font-weight: 700; color: var(--green-deep); letter-spacing: -.01em; }
    .contact-item a, .contact-item span { font-size: .92rem; color: var(--ink-soft); }
    .contact-item a:hover { color: var(--sage); }

    form.contact-form { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 32px; }
    .field { margin-bottom: 18px; }
    .field:last-of-type { margin-bottom: 24px; }
    .field label { display: block; font-size: .82rem; font-weight: 600; color: var(--green-deep); margin-bottom: 7px; }
    .field label .req { color: var(--sage); }
    .field input, .field textarea, .field select {
      width: 100%; font-family: inherit; font-size: .95rem; color: var(--ink);
      background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
      padding: 12px 14px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
    }
    .field textarea { resize: vertical; min-height: 130px; }
    .field input:focus, .field textarea:focus, .field select:focus {
      outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px rgba(126,150,128,.18);
    }
    .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
    .hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
    form.contact-form .btn-primary { width: 100%; justify-content: center; padding: 14px; font-size: .98rem; cursor: pointer; border: none; }
    .consent { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 22px; }
    .consent input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--sage); }
    .consent label { font-size: .82rem; color: var(--ink-soft); font-weight: 400; line-height: 1.5; }
    .consent a { color: var(--sage); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
    .form-note { font-size: .78rem; color: var(--ink-soft); margin-top: 14px; text-align: center; }
    .form-status { display: none; padding: 14px 16px; border-radius: 12px; font-size: .9rem; margin-bottom: 18px; }
    .form-status.ok { display: block; background: rgba(126,150,128,.15); color: var(--green-deep); border: 1px solid var(--sage-tint); }
    .form-status.err { display: block; background: #fbeaea; color: #8a2c2c; border: 1px solid #e3b9b9; }
    form.contact-form.sent .form-body { display: none; }

    /* ── Footer ─────────────────────────────────────────────────────── */
    footer { background: var(--green-night); color: rgba(255,255,255,.7); padding: 64px 0 40px; }
    .foot-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
    .foot-brand-col { max-width: 320px; }
    .foot-blurb { margin-top: 16px; font-size: .9rem; line-height: 1.6; }
    footer .brand { color: #fff; }
    footer .brand small { color: rgba(255,255,255,.55); }
    .foot-cols { display: flex; gap: 72px; flex-wrap: wrap; }
    .foot-col h3 { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 14px; font-weight: 600; }
    .foot-col a { display: block; font-size: .92rem; color: rgba(255,255,255,.75); margin-bottom: 9px; transition: color .2s var(--ease); }
    .foot-col a:hover { color: var(--sage-tint); }
    .foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 26px; font-size: .82rem; color: rgba(255,255,255,.5); }
    .foot-bottom a:hover { color: var(--sage-tint); }

    /* ── Responsive ─────────────────────────────────────────────────── */
    @media (max-width: 820px) {
      .nav-toggle { display: inline-flex; }
      /* Mobile dropdown panel — collapsed by default, revealed via .open */
      .nav-links {
        position: absolute; top: 70px; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 6px;
        background: rgba(247,244,239,.96);
        backdrop-filter: saturate(140%) blur(12px);
        border-bottom: 1px solid var(--line);
        padding: 14px 28px 22px;
        transform: translateY(-8px); opacity: 0; pointer-events: none;
        transition: transform .22s var(--ease), opacity .22s var(--ease);
      }
      .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
      .nav-links a:not(.btn) { font-size: 1rem; padding: 10px 2px; }
      .nav-links .btn { align-self: flex-start; margin-top: 8px; }
      .stats { grid-template-columns: 1fr; }
      .app-grid { grid-template-columns: 1fr; }
      .app.live, .app.soon { flex-direction: column; align-items: flex-start; }
      .about-grid { grid-template-columns: 1fr; gap: 40px; }
      .contact-grid { grid-template-columns: 1fr; gap: 36px; }
      .field-row { grid-template-columns: 1fr; gap: 0; }
      section { padding: 72px 0; }
      .band { padding: 48px 26px; }
      form.contact-form { padding: 24px; }
    }

    @media (max-width: 520px) {
      /* Decorative badge wraps awkwardly in a pill at phone widths — hide it;
         the headline already states the studio's positioning. */
      .pill { display: none; }
    }
