:root {
    --bg-0: #050509;
    --bg-1: #0a0a12;
    /* Matches glass navbar + Safari iOS theme-color (blue-indigo, not flat black) */
    --ui-chrome: #131726;
    --text: #f4f7ff;
    --muted: #b1b8d0;
    --brand: #82a9ff;
    --brand-2: #6af3ff;
    --panel: rgba(255, 255, 255, 0.06);
    --border: rgba(255, 255, 255, 0.15);
  }

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

  html {
    scroll-behavior: smooth;
    color-scheme: dark;
    background-color: var(--ui-chrome);
  }

  body {
    font-family: "Play", sans-serif;
    color: var(--text);
    background: radial-gradient(circle at 10% 20%, #171a30 0%, transparent 45%),
      radial-gradient(circle at 90% 10%, #1c1335 0%, transparent 40%),
      linear-gradient(180deg, var(--bg-0), var(--bg-1));
    background-color: var(--ui-chrome);
    min-height: 100vh;
    line-height: 1.55;
    overflow-x: hidden;
    /* Lets fixed .page-background participate above canvas root; z-index alone stacks children */
    isolation: isolate;
  }

  /* z-index must be ≥ 0: negative z-index sits behind body’s own background (orbs vanish everywhere). */
  .page-background {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    isolation: isolate;
  }

  /* Orbs sit under .bg: big soft blobs that bleed through the blur layer above */
  .ambient-orbs {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
  }

  .ambient-orb {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    filter: blur(60px);
    animation: ambientOrbBreath 28s ease-in-out infinite;
  }

  .ambient-orb--primary {
    left: 15%;
    top: 18%;
    background: rgba(130, 169, 255, 0.55);
  }

  .ambient-orb--secondary {
    left: 80%;
    top: 58%;
    background: rgba(106, 243, 255, 0.48);
    animation-delay: -14s;
  }

  .bg {
    position: absolute;
    inset: -20%;
    z-index: 1;
    background:
      radial-gradient(circle at 30% 40%, rgba(130, 169, 255, 0.25), transparent 40%),
      radial-gradient(circle at 70% 55%, rgba(106, 243, 255, 0.18), transparent 40%),
      radial-gradient(circle at 50% 90%, rgba(179, 107, 255, 0.15), transparent 50%);
    filter: blur(35px) saturate(1.15);
    animation: slowMove 220s ease-in-out infinite;
    will-change: transform;
  }

  .bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(18px) saturate(130%);
    -webkit-backdrop-filter: blur(18px) saturate(130%);
  }

  @keyframes slowMove {
    0% { transform: scale(1.05) translate3d(0, 0, 0) rotate(0deg); }
    25% { transform: scale(1.11) translate3d(65px, -38px, 0) rotate(1deg); }
    50% { transform: scale(1.16) translate3d(-48px, -72px, 0) rotate(-1deg); }
    75% { transform: scale(1.12) translate3d(-82px, 32px, 0) rotate(0.8deg); }
    100% { transform: scale(1.08) translate3d(42px, 64px, 0) rotate(0deg); }
  }

  @keyframes ambientOrbBreath {
    0%, 100% { opacity: 0.45; }
    50% { opacity: 0.95; }
  }

  .container {
    width: min(1120px, 92%);
    margin-inline: auto;
  }

  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: var(--text);
    text-decoration: none;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    font-size: 0.95rem;
    font-family: inherit;
  }

  .btn:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-1px);
  }

  .btn-primary {
    background: linear-gradient(135deg, rgba(130, 169, 255, 0.3), rgba(106, 243, 255, 0.24));
    border-color: rgba(130, 169, 255, 0.55);
    box-shadow: 0 0 25px rgba(130, 169, 255, 0.25);
  }

  /* Main + footer above .page-background (z-index: 0). Header keeps sticky via .site-header (z-index: 15). */
  body > main,
  body > footer {
    position: relative;
    z-index: 1;
  }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 15;
    padding-top: env(safe-area-inset-top, 0px);
    background: rgba(8, 8, 14, 0.62);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 0;
  }

  .logo {
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 1rem;
    text-shadow: 0 0 16px rgba(255, 255, 255, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
  }

  .logo-icon {
    width: 1.45rem;
    height: 1.45rem;
    border-radius: 8px;
    display: inline-grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(130, 169, 255, 0.22), rgba(106, 243, 255, 0.12));
    border: 1px solid rgba(130, 169, 255, 0.4);
    box-shadow: 0 0 14px rgba(130, 169, 255, 0.2);
  }

  .logo-icon svg {
    width: 0.86rem;
    height: 0.86rem;
    fill: none;
    stroke: #dce7ff;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .nav-links {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    align-items: center;
    margin-left: auto;
  }

  .nav-links .nav-cta {
    text-decoration: none;
  }

  .menu-toggle {
    display: none;
    width: 2.65rem;
    height: 2.35rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    gap: 0.26rem;
    flex-direction: column;
    transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
  }

  .menu-toggle:hover {
    border-color: rgba(130, 169, 255, 0.55);
    background: rgba(130, 169, 255, 0.14);
  }

  .menu-toggle span {
    width: 1.15rem;
    height: 2px;
    border-radius: 2px;
    background: #dce7ff;
    transition: transform 0.42s ease, opacity 0.32s ease;
    transform-origin: center;
  }

  .menu-toggle.is-open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .nav-links a:not(.nav-cta) {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.95rem;
    padding: 0.35rem 0.6rem;
    border-radius: 8px;
    transition: color 0.2s ease, background 0.2s ease;
  }

  .nav-links a:not(.nav-cta):hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.08);
  }

  section {
    padding: 5.2rem 0;
  }

  .hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding-top: 6.5rem;
    padding-bottom: 5.5rem;
    background:
      linear-gradient(115deg, rgba(4, 5, 9, 0.78), rgba(7, 8, 15, 0.7)),
      linear-gradient(180deg, rgba(5, 6, 11, 0.7), rgba(6, 7, 12, 0.82)),
      url("img/server.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    backdrop-filter: blur(6px) saturate(125%);
    -webkit-backdrop-filter: blur(6px) saturate(125%);
    pointer-events: none;
  }

  .hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
      linear-gradient(to bottom, rgba(6, 7, 12, 0.95) 0%, rgba(6, 7, 12, 0) 14%),
      linear-gradient(to top, rgba(6, 7, 12, 0.95) 0%, rgba(6, 7, 12, 0) 16%);
    pointer-events: none;
  }

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

  .hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
    align-items: start;
  }

  .eyebrow {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--brand-2);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
  }

  h1, h2, h3 {
    line-height: 1.2;
  }

  h1 {
    font-size: clamp(2rem, 4vw, 4rem);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    text-shadow: 0 0 35px rgba(255, 255, 255, 0.75);
    margin-bottom: 1rem;
  }

  .hero p {
    color: var(--muted);
    max-width: 60ch;
    margin-bottom: 1.5rem;
  }

  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
  }

  .hero-meta {
    color: #cfd7ee;
    font-size: 0.95rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem 1rem;
  }

  .hero-meta > span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
  }

  .hero-meta .service-icon {
    display: inline-grid;
    place-items: center;
  }

  .hero-panel,
  .card,
  .about-panel,
  .contact-panel {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 18px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: inset 0 0 40px rgba(255, 255, 255, 0.02), 0 15px 35px rgba(0, 0, 0, 0.25);
    transition: border-color 1.8s ease-out, box-shadow 2.6s ease-out, transform 1s ease-out;
  }

  .hero-panel {
    padding: 1.5rem;
  }

  .hero-panel h3 {
    margin-bottom: 0.9rem;
    font-size: 1.1rem;
    color: #eaf0ff;
  }

  .hero-panel ul {
    list-style: none;
    display: grid;
    gap: 0.7rem;
    color: #ced6ee;
    font-size: 0.95rem;
  }

  .hero-panel li::before {
    content: "✦";
    color: var(--brand-2);
    margin-right: 0.55rem;
  }

  .section-head {
    margin-bottom: 1.7rem;
  }

  .section-head h2 {
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    letter-spacing: 1.2px;
    margin-bottom: 0.6rem;
    text-transform: uppercase;
  }

  .section-head p {
    color: var(--muted);
    max-width: 66ch;
  }

  .cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }

  #onawa-ecosystem .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .card--announcement {
    position: relative;
    border-color: rgba(106, 243, 255, 0.28);
    background: linear-gradient(135deg, rgba(106, 243, 255, 0.04), rgba(130, 169, 255, 0.05));
    overflow: visible;
  }

  .announce-badge {
    position: absolute;
    top: -0.65rem;
    right: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--brand-2);
    background: rgba(14, 20, 38, 0.92);
    border: 1px solid rgba(106, 243, 255, 0.4);
    border-radius: 20px;
    padding: 0.22rem 0.75rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .announce-badge::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand-2);
    animation: announcePing 2.4s ease-in-out infinite;
  }

  @keyframes announcePing {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.7); }
  }

  .btn-announce {
    background: rgba(106, 243, 255, 0.08);
    border-color: rgba(106, 243, 255, 0.25);
    color: var(--brand-2);
    cursor: default;
    opacity: 0.8;
  }

  .card {
    padding: 1.35rem;
    display: flex;
    flex-direction: column;
  }

  .card .btn,
  .card .btn-announce {
    margin-top: auto;
    align-self: flex-start;
  }

  .hero-panel:hover,
  .card:hover,
  .about-panel:hover,
  .contact-panel:hover {
    border-color: rgba(130, 169, 255, 0.46);
    box-shadow:
      0 0 0 1px rgba(130, 169, 255, 0.18),
      0 0 14px rgba(130, 169, 255, 0.2),
      0 0 26px rgba(106, 243, 255, 0.08),
      inset 0 0 28px rgba(130, 169, 255, 0.04);
    transform: translateY(-1px);
    animation: cardGlowPulse 4.8s ease-in-out infinite;
  }

  @keyframes cardGlowPulse {
    0% {
      box-shadow:
        0 0 0 1px rgba(130, 169, 255, 0.16),
        0 0 12px rgba(130, 169, 255, 0.16),
        0 0 20px rgba(106, 243, 255, 0.06),
        inset 0 0 22px rgba(130, 169, 255, 0.03);
    }
    50% {
      box-shadow:
        0 0 0 1px rgba(130, 169, 255, 0.22),
        0 0 16px rgba(130, 169, 255, 0.24),
        0 0 30px rgba(106, 243, 255, 0.1),
        inset 0 0 30px rgba(130, 169, 255, 0.05);
    }
    100% {
      box-shadow:
        0 0 0 1px rgba(130, 169, 255, 0.16),
        0 0 12px rgba(130, 169, 255, 0.16),
        0 0 20px rgba(106, 243, 255, 0.06),
        inset 0 0 22px rgba(130, 169, 255, 0.03);
    }
  }

  .card h3 {
    margin-bottom: 0.65rem;
    color: #eff4ff;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.55rem;
  }

  .service-icon {
    width: 2.85rem;
    height: 2.85rem;
    border-radius: 10px;
    display: inline-grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(130, 169, 255, 0.2), rgba(106, 243, 255, 0.14));
    border: 1px solid rgba(130, 169, 255, 0.38);
    box-shadow: 0 0 18px rgba(130, 169, 255, 0.18);
    flex-shrink: 0;
  }

  .service-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    fill: none;
    stroke: #d9e5ff;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .service-icon-logo {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
    display: block;
  }

  .service-icon--sm {
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 8px;
  }

  .service-icon--sm svg {
    width: 1.17rem;
    height: 1.17rem;
    stroke-width: 1.7;
  }

  .card p {
    color: var(--muted);
    margin-bottom: 1rem;
    font-size: 0.95rem;
  }

  .card ul {
    list-style: none;
    display: grid;
    gap: 0.45rem;
    font-size: 0.92rem;
    color: #d2daef;
    margin-bottom: 1rem;
  }

  .card ul li::before {
    content: "•";
    color: var(--brand);
    margin-right: 0.5rem;
  }

  .about-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .about-panel {
    padding: 1.3rem;
  }

  .about-panel p,
  .about-panel li {
    color: var(--muted);
  }

  .about-panel h3,
  .contact-panel h2 {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
  }

  .about-panel ul {
    list-style: none;
    display: grid;
    gap: 0.45rem;
    margin-top: 0.9rem;
  }

  .about-panel li::before {
    content: "✓";
    color: var(--brand-2);
    margin-right: 0.5rem;
  }

  .process .cards .card h3 {
    display: flex;
    align-items: center;
    gap: 0.45rem;
  }

  .step {
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    background: rgba(130, 169, 255, 0.22);
    border: 1px solid rgba(130, 169, 255, 0.45);
    font-size: 0.82rem;
    color: #dce7ff;
  }

  .contact-panel {
    padding: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }

  .contact-panel p {
    color: var(--muted);
    max-width: 60ch;
  }

  .contact-form-section {
    padding-top: 0;
  }

  .contact-form-panel {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 18px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: inset 0 0 40px rgba(255, 255, 255, 0.02), 0 15px 35px rgba(0, 0, 0, 0.25);
    padding: 1.5rem;
  }

  .contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem 1rem;
  }

  .form-status {
    display: none;
    margin-bottom: 0.9rem;
    padding: 0.75rem 0.9rem;
    border-radius: 10px;
    font-size: 0.92rem;
  }

  .form-status.is-success {
    display: block;
    background: rgba(63, 182, 124, 0.16);
    border: 1px solid rgba(85, 221, 148, 0.42);
    color: #d9ffea;
  }

  .form-status.is-error {
    display: block;
    background: rgba(216, 83, 83, 0.16);
    border: 1px solid rgba(255, 123, 123, 0.42);
    color: #ffe4e4;
  }

  .contact-form label {
    display: grid;
    gap: 0.45rem;
    color: #d3dbf2;
    font-size: 0.9rem;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: var(--text);
    padding: 0.72rem 0.8rem;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  }

  .contact-form select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image:
      linear-gradient(45deg, transparent 50%, #d9e5ff 50%),
      linear-gradient(135deg, #d9e5ff 50%, transparent 50%);
    background-position:
      calc(100% - 18px) calc(50% - 3px),
      calc(100% - 12px) calc(50% - 3px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 2.1rem;
    color: #e9efff;
  }

  .contact-form select option {
    background: #0b0d17;
    color: #d9e5ff;
  }

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

  .contact-form input:focus,
  .contact-form select:focus,
  .contact-form textarea:focus {
    border-color: rgba(130, 169, 255, 0.55);
    box-shadow: 0 0 0 1px rgba(130, 169, 255, 0.24), 0 0 16px rgba(130, 169, 255, 0.18);
    background: rgba(255, 255, 255, 0.11);
  }

  .contact-form-full {
    grid-column: 1 / -1;
  }

  .contact-form-submit {
    justify-self: start;
  }

  .turnstile-wrap {
    display: grid;
    gap: 0.45rem;
  }

  .turnstile-wrap p {
    margin: 0;
    color: #d3dbf2;
    font-size: 0.9rem;
  }

  .turnstile-wrap .cf-turnstile {
    width: fit-content;
    max-width: 100%;
    padding: 0.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: inset 0 0 18px rgba(130, 169, 255, 0.06);
  }

  .hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
  }

  footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.3rem 0 2rem;
    color: #b6bfd8;
    font-size: 0.9rem;
  }

  .footer-powered {
    margin-top: 0.35rem;
    font-size: 0.78rem;
    color: #9da8c8;
  }

  .footer-powered a {
    color: #b9c8ff;
    text-decoration: none;
    border-bottom: 1px dotted rgba(185, 200, 255, 0.45);
  }

  .footer-powered a:hover {
    color: #d9e2ff;
    border-bottom-color: rgba(217, 226, 255, 0.75);
  }

  .audio-controls {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 30;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
  }

  .audio-popup-panel {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: stretch;
    min-width: 8.5rem;
    margin-bottom: 0.55rem;
    padding: 0.55rem;
    border-radius: 16px;
    background: rgba(8, 8, 14, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), 0 0 24px rgba(130, 169, 255, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.94);
    pointer-events: none;
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
  }

  .audio-controls.is-open .audio-popup-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .audio-popup-panel .btn {
    width: 100%;
    justify-content: center;
  }

  .audio-fab {
    width: 3.35rem;
    height: 3.35rem;
    border-radius: 50%;
    border: 1px solid rgba(130, 169, 255, 0.45);
    background: linear-gradient(145deg, rgba(130, 169, 255, 0.28), rgba(106, 243, 255, 0.14));
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35), 0 0 22px rgba(130, 169, 255, 0.22);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
    display: grid;
    place-items: center;
    color: #e8eeff;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  }

  .audio-fab:hover {
    border-color: rgba(130, 169, 255, 0.65);
    box-shadow: 0 6px 26px rgba(0, 0, 0, 0.4), 0 0 28px rgba(130, 169, 255, 0.3);
    transform: scale(1.05);
  }

  .audio-controls.is-open .audio-fab {
    border-color: rgba(106, 243, 255, 0.55);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4), 0 0 32px rgba(106, 243, 255, 0.25);
  }

  .audio-fab-icon {
    display: grid;
    place-items: center;
    transition: transform 0.3s ease;
  }

  .audio-controls.is-open .audio-fab-icon {
    transform: rotate(12deg) scale(0.92);
  }

  .audio-fab-icon svg {
    width: 1.35rem;
    height: 1.35rem;
    fill: currentColor;
  }

  @media (max-width: 960px) {
    .hero-grid,
    .cards,
    .about-wrap {
      grid-template-columns: 1fr;
    }

    #onawa-ecosystem .cards {
      grid-template-columns: 1fr;
      justify-content: stretch;
    }

    .site-header {
      position: static;
    }
  }

  @media (max-width: 760px) {
    .nav-wrap {
      display: grid;
      grid-template-columns: 1fr auto;
      grid-template-rows: auto auto;
      align-items: center;
      gap: 0.8rem;
    }

    .logo {
      min-width: 0;
      grid-column: 1;
      grid-row: 1;
    }

    .menu-toggle {
      display: inline-flex;
      margin-left: 0;
      grid-column: 2;
      grid-row: 1;
      justify-self: end;
    }

    .nav-links {
      grid-column: 1 / -1;
      grid-row: 2;
      width: 100%;
      max-width: 100%;
      margin-left: 0;
      justify-self: stretch;
      display: flex;
      flex-direction: column;
      gap: 0.4rem;
      max-height: 0;
      opacity: 0;
      overflow: hidden;
      transform: translateY(-10px);
      pointer-events: none;
      transition: max-height 0.7s ease, opacity 0.45s ease, transform 0.55s ease;
      background: transparent;
      border: none;
      border-radius: 0;
      padding: 0;
      box-sizing: border-box;
    }

    .nav-links.is-open {
      max-height: 420px;
      opacity: 1;
      transform: translateY(0);
      pointer-events: auto;
      padding: 0.35rem 0 0;
      display: grid;
      grid-template-columns: 1fr;
    }

    .nav-links a:not(.nav-cta) {
      display: block;
      width: 100%;
      box-sizing: border-box;
      padding: 0.62rem 0.7rem;
      border-radius: 10px;
      color: var(--text);
      background: rgba(255, 255, 255, 0.1);
      border: 1px solid rgba(255, 255, 255, 0.2);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      box-shadow: 0 0 0 rgba(130, 169, 255, 0);
      transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.35s ease;
    }

    .nav-links a:not(.nav-cta):hover {
      background: rgba(255, 255, 255, 0.18);
      border-color: rgba(130, 169, 255, 0.52);
      box-shadow: 0 0 16px rgba(130, 169, 255, 0.22);
      transform: translateY(-1px);
    }

    .nav-links .nav-cta {
      display: flex;
      width: 100%;
      box-sizing: border-box;
      justify-content: center;
      text-align: center;
      margin-top: 0.25rem;
    }
  }

  @media (max-width: 560px) {
    section {
      padding: 4rem 0;
    }

    .contact-panel {
      align-items: flex-start;
    }

    .contact-form {
      grid-template-columns: 1fr;
    }

    .audio-controls {
      right: 12px;
      bottom: 12px;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .bg {
      animation: none;
    }

    .ambient-orb {
      animation: none;
      opacity: 0.5;
    }

    .audio-popup-panel {
      transition: opacity 0.15s ease, visibility 0.15s;
    }

    html {
      scroll-behavior: auto;
    }
  }