/*
  Kinetix Org
  https://templatemo.com/tm-631-kinetic
*/

:root {
    --bg-main: #03060b;
    --text-main: #eff8ff;
    --accent-1: #13caff;
    --accent-2: #ffe52b;
    --accent-2-bg: #010308;

    /* derived onyx surfaces (kept near-black, never mid-tone) */
    --surf-1: #080d15;
    --surf-2: #101a29;

    --ease-out: cubic-bezier(.16, 1, .3, 1);
    --ease-io: cubic-bezier(.86, 0, .07, 1);

    --edge-1: rgba(19, 202, 255, .24);
    --edge-2: rgba(255, 94, 32, .48);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-main);
    color: var(--text-main);
    font-family: 'DM Sans', 'Segoe UI', sans-serif;
    font-weight: 500;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

::selection {
    background: var(--accent-1);
    color: var(--bg-main);
}

h1,
h2,
h3,
.syne {
    font-family: 'DM Sans', 'Segoe UI', sans-serif;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -.03em;
}

p,
li,
button,
input,
select,
textarea,
summary,
label,
td,
th,
.nav-index a,
.contact-link,
.contact-meta,
.cell-detail,
.mono-label,
.cart-message,
.faq-list,
.legal-content {
    font-family: 'DM Sans', 'Segoe UI', sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

.mono-label {
    font-size: .7rem;
    font-weight: 500;
    letter-spacing: .34em;
    text-transform: uppercase;
    color: var(--accent-1);
}

/* ---------- Fixed top bar ---------- */
.topbar {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px clamp(18px, 4vw, 46px);
    mix-blend-mode: difference;
    pointer-events: none;
}

.topbar a {
    pointer-events: auto;
}

.brand {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: .04em;
    color: var(--text-main);
}

.brand span {
    color: var(--accent-1);
}

.nav-index {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav-index a {
    font-size: .64rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--text-main);
    padding: 6px 10px;
    border: 1px solid transparent;
    transition: background .35s var(--ease-out), color .35s var(--ease-out), transform .35s var(--ease-out);
}

.nav-index a:hover {
    background: var(--accent-1);
    color: var(--bg-main);
    transform: skewX(-8deg);
}

/* over the light footer: drop the difference blend, use solid dark text */
.topbar.on-light {
    mix-blend-mode: normal;
}

.topbar.on-light .brand,
.topbar.on-light .brand span,
.topbar.on-light .nav-index a {
    color: var(--bg-main);
}

.topbar.on-light .nav-index a:hover {
    background: var(--bg-main);
    color: var(--accent-1);
}

/* =========================================================
   01  //  HERO - ELASTIC STRING PHYSICS
   ========================================================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 620px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-title {
    font-family: 'Anton', 'Arial Black', sans-serif;
    font-size: clamp(4.5rem, 12vw, 14rem);
    font-weight: 400;
    line-height: .82;
    letter-spacing: .04em;
    text-align: center;
    color: #001f86;
    position: relative;
    z-index: 2;
    user-select: none;
    text-shadow: 0 0 60px rgba(8, 8, 10, .9);
}

.hero-title span {
    display: block;
}

.hero-title b {
    color: var(--accent-2);
    font-family: 'Anton', 'Arial Black', sans-serif;
    font-weight: 400;
}

.hero-org {
    font-family: 'DM Sans', 'Segoe UI', sans-serif;
    font-weight: 800;
    letter-spacing: .12em;
    font-size: clamp(1.3rem, 3vw, 2.7rem);
    line-height: 1.1;
    text-transform: uppercase;
    margin-top: .3rem;
}

/* kinetic box field - subtle outlined shapes shoved aside by the string */
.field {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.box {
    position: absolute;
    border: 1px solid rgba(239, 239, 239, .22);
    will-change: transform;
}

.box.acid {
    border-color: rgba(208, 255, 0, .40);
}

.box.warm {
    border-color: rgba(255, 158, 94, .42);
}

.string-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.string-path {
    fill: none;
    stroke: var(--accent-1);
    stroke-width: 3;
    stroke-linecap: round;
    filter: drop-shadow(0 0 10px rgba(208, 255, 0, .65));
}

.string-anchor {
    fill: var(--accent-1);
}

.string-grip {
    fill: var(--accent-2);
    filter: drop-shadow(0 0 8px rgba(255, 158, 94, .8));
}

.hero-foot {
    position: absolute;
    left: clamp(18px, 4vw, 46px);
    right: 84px;
    bottom: 30px;
    z-index: 4;
    display: flex;
    gap: 26px;
    flex-wrap: nowrap;
    align-items: center;
    max-width: none;
}

.hero-foot p {
    font-size: .72rem;
    letter-spacing: .04em;
    color: var(--text-main);
    opacity: .8;
    max-width: none;
    white-space: nowrap;
}

.hero-hint {
    position: absolute;
    right: clamp(18px, 4vw, 46px);
    bottom: 30px;
    z-index: 4;
    font-size: .64rem;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--accent-2);
}

/* =========================================================
   02  //  2D MATRIX ACCORDION
   ========================================================= */
.matrix-wrap {
    padding: clamp(60px, 9vh, 120px) clamp(18px, 4vw, 46px) clamp(40px, 7vh, 90px);
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.section-head h2 {
    font-size: clamp(2rem, 6vw, 4.4rem);
    color: var(--text-main);
}

.section-head h2 i {
    color: var(--accent-1);
    font-style: normal;
}

.section-head p {
    font-size: .95rem;
    letter-spacing: .04em;
    opacity: .7;
    max-width: 70ch;
}

.matrix {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    gap: 8px;
    height: 80vh;
    min-height: 520px;
    transition: grid-template-columns .75s var(--ease-io), grid-template-rows .75s var(--ease-io);
}

.cell {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: var(--surf-1);
    border: 1px solid var(--edge-1);
    padding: 16px;
    outline: none;
    transition: background .5s var(--ease-out), border-color .5s var(--ease-out);
}

.cell:focus-visible {
    border-color: var(--accent-1);
    box-shadow: inset 0 0 0 2px var(--accent-1);
}

.cell::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--accent-2);
    transform: translateY(101%);
    transition: transform .45s var(--ease-io);
    z-index: 0;
}

.cell:hover::before {
    transform: translateY(0);
}

.cell:hover {
    border-color: var(--accent-2);
}

.cell:hover .cell-num,
.cell:hover .cell-name,
.cell:hover .cell-cat {
    color: var(--bg-main);
}

.cell-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.14);
    filter: grayscale(.4) contrast(1.06);
    transition: opacity .6s var(--ease-out), transform 1s var(--ease-out);
    pointer-events: none;
}

.cell-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(8, 8, 10, .30) 0%,
            rgba(8, 8, 10, .55) 50%,
            rgba(255, 158, 94, .55) 100%);
}

.cell.is-active .cell-media {
    opacity: 1;
    transform: scale(1);
}

.cell-num {
    position: relative;
    z-index: 1;
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: clamp(1.2rem, 2.4vw, 2rem);
    color: var(--accent-1);
    transition: color .4s var(--ease-out);
}

.cell-name {
    position: relative;
    z-index: 1;
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: clamp(.95rem, 1.6vw, 1.5rem);
    color: var(--text-main);
    margin-top: 6px;
    transition: color .4s var(--ease-out);
}

.cell-cat {
    position: absolute;
    left: 16px;
    bottom: 14px;
    z-index: 1;
    font-size: .6rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--text-main);
    opacity: .7;
    transition: color .4s var(--ease-out);
}

.cell-detail {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 38px;
    z-index: 1;
    font-size: .62rem;
    line-height: 1.4;
    color: var(--text-main);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .5s var(--ease-out) .15s, transform .5s var(--ease-out) .15s;
    max-width: 42ch;
}

.cell.is-active {
    background: var(--surf-2);
    border-color: var(--accent-1);
}

.cell.is-active::before {
    transform: translateY(101%);
}

.cell.is-active .cell-num {
    color: var(--accent-1);
}

.cell.is-active .cell-detail {
    opacity: 1;
    transform: translateY(0);
}

.cell.is-dim {
    opacity: .55;
}

.cell.is-dim .cell-name,
.cell.is-dim .cell-cat,
.cell.is-dim .cell-detail {
    display: none;
}

/* =========================================================
   03  //  LENTICULAR STRIP REVEAL
   ========================================================= */
.reveal {
    height: 100vh;
    min-height: 620px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 26px;
    padding: 80px clamp(18px, 4vw, 46px);
}

.reveal-cap {
    text-align: center;
}

.reveal-cap h2 {
    font-size: clamp(1.8rem, 5vw, 3.6rem);
    color: var(--text-main);
}

.reveal-cap h2 i {
    color: var(--accent-2);
    font-style: normal;
}

.lenti-stage {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 clamp(70px, 12vw, 150px);
    /* extra room L/R so edge slices flip fully */
    touch-action: pan-y;
}

.lenti {
    width: 60vw;
    height: 80vh;
    max-width: 760px;
    perspective: 1000px;
    display: flex;
    touch-action: pan-y;
}

.slice {
    flex: 1 0 0;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    will-change: transform;
}

.face {
    position: absolute;
    top: 0;
    bottom: 0;
    left: -1px;
    right: -1px;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    background-size: 60vw 80vh;
    background-repeat: no-repeat;
}

.face.back {
    transform: rotateY(180deg);
}

.face.front {
    background-blend-mode: luminosity;
}

.face.back {
    background-blend-mode: luminosity;
}

@media(max-width:760px) {
    .lenti {
        width: 88vw;
        height: 64vh;
    }

    .face {
        background-size: 88vw 64vh;
    }
}

/* =========================================================
   04  //  TYPOGRAPHIC SCATTER & SIGNATURE
   ========================================================= */
.initiate {
    position: relative;
    min-height: 130vh;
    background: var(--accent-2-bg);
    color: var(--bg-main);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px clamp(18px, 4vw, 46px);
    overflow: hidden;
}

.initiate-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.scatter {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: clamp(1.65rem, 8vw, 7rem);
    line-height: .92;
    text-align: center;
    color: var(--bg-main);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1200px;
}

.scatter-line {
    display: flex;
    width: 100%;
    flex-wrap: nowrap;
    justify-content: center;
    white-space: nowrap;
}

.scatter .glyph {
    display: inline-block;
    will-change: transform;
    cursor: pointer;
}

.scatter .glyph.space {
    width: .32em;
}

.scatter .glyph.slash {
    color: var(--accent-1);
}

/* subscribe form - present only while the type is assembled */
.sub-wrap {
    margin-top: 40px;
    text-align: center;
    will-change: opacity, transform;
}

.subscribe {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
}

.sub-input {
    font-family: 'JetBrains Mono', monospace;
    font-size: .9rem;
    background: transparent;
    color: var(--bg-main);
    border: 2px solid var(--bg-main);
    padding: 13px 18px;
    min-width: clamp(200px, 52vw, 300px);
    outline: none;
}

.sub-input::placeholder {
    color: rgba(8, 8, 10, .5);
}

.sub-input:focus {
    border-color: var(--accent-1);
}

.sub-btn {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: .95rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    background: var(--bg-main);
    color: var(--accent-1);
    border: 2px solid var(--bg-main);
    padding: 13px 28px;
    cursor: pointer;
    transition: transform .3s var(--ease-out), background .3s var(--ease-out), color .3s var(--ease-out);
}

.sub-btn:hover {
    background: transparent;
    color: var(--bg-main);
    transform: skewX(-8deg);
}

.sub-note {
    margin-top: 14px;
    min-height: 1em;
    font-size: .66rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--bg-main);
}

.sig-foot {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    padding: 18px clamp(18px, 4vw, 46px);
    font-size: .66rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--bg-main);
}

.sig-foot a {
    border-bottom: 2px solid var(--bg-main);
    padding-bottom: 1px;
    transition: background .3s var(--ease-out), color .3s var(--ease-out), padding .3s var(--ease-out);
}

.sig-foot a:hover {
    background: var(--bg-main);
    color: var(--accent-1);
    padding: 2px 6px;
    border-color: transparent;
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .scatter .glyph {
        transform: none !important;
        transition: none;
    }

    .slice {
        transform: none !important;
    }
}

.hero-foot {
    right: 84px;
    bottom: 30px;
    max-width: none;
    flex-wrap: wrap;
}

.hero-foot p {
    max-width: none;
    line-height: 1.55;
    white-space: normal;
}
body,
.topbar,
.matrix-wrap,
.reveal {
    font-family: 'DM Sans', 'Segoe UI', sans-serif;
    letter-spacing: 0;
}

h1,
h2,
h3,
.syne,
.brand,
.cell-name,
.cell-num,
.sub-btn {
    font-family: 'DM Sans', 'Segoe UI', sans-serif;
    font-weight: 700;
    letter-spacing: 0;
}

.mono-label,
.nav-index a,
.cell-cat,
.hero-hint,
.sig-foot {
    letter-spacing: .08em;
}

.topbar {
    mix-blend-mode: normal;
    background: rgba(245, 247, 251, .92);
    border-bottom: 1px solid rgba(20, 43, 77, .1);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.topbar.on-light {
    background: rgba(20, 43, 77, .96);
    border-bottom-color: rgba(245, 247, 251, .15);
}

.hero {
    background-color: var(--bg-main);
    background-image: linear-gradient(rgba(20, 43, 77, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(20, 43, 77, .035) 1px, transparent 1px);
    background-size: 48px 48px;
}

.hero-title {
    font-family: 'Anton', 'Arial Black', sans-serif;
    font-size: clamp(4.5rem, 12vw, 14rem);
    font-weight: 400;
    line-height: .82;
    letter-spacing: .04em;
    color: #001f86;
    text-shadow: 0 12px 40px rgba(20, 43, 77, .1);
}

.hero-title span {
    display: block;
}

.hero-title b {
    font-family: 'Anton', 'Arial Black', sans-serif;
    font-weight: 400;
}

.hero-foot p,
.section-head p {
    line-height: 1.75;
}

.box {
    border-color: rgba(20, 43, 77, .19);
}

.box.acid {
    border-color: rgba(242, 201, 76, .72);
}

.box.warm {
    border-color: rgba(40, 100, 173, .38);
}

.string-path {
    filter: drop-shadow(0 0 8px rgba(40, 100, 173, .28));
}

.string-grip {
    filter: drop-shadow(0 0 8px rgba(242, 201, 76, .45));
}

.section-head {
    margin-bottom: 38px;
}

.section-head h2 {
    max-width: 12ch;
    line-height: 1;
}

.section-head p {
    color: rgba(20, 43, 77, .76);
}

.matrix {
    height: min(78vh, 860px);
    min-height: 620px;
}

.cell {
    padding: 20px;
    box-shadow: 0 8px 24px rgba(20, 43, 77, .06);
    transition: background .5s var(--ease-out), border-color .5s var(--ease-out), box-shadow .5s var(--ease-out);
}

.cell::before {
    background: transparent;
}

.cell:hover::before,
.cell.is-active::before {
    transform: translateY(101%);
}

.cell:hover {
    border-color: var(--accent-2);
    box-shadow: 0 14px 32px rgba(20, 43, 77, .14);
}

.cell:hover .cell-num,
.cell:hover .cell-name,
.cell:hover .cell-cat {
    color: #ffffff;
}

.cell-media {
    opacity: .92;
    transform: scale(1.04);
    filter: saturate(.78) contrast(1.02);
}

.cell-media::after {
    background: linear-gradient(180deg, rgba(15, 37, 69, .12) 0%, rgba(15, 37, 69, .38) 45%, rgba(15, 37, 69, .84) 100%);
}

.cell-num,
.cell.is-active .cell-num {
    color: var(--accent-2);
}

.cell-name,
.cell-cat,
.cell-detail {
    color: #ffffff;
}

.cell-cat {
    opacity: .84;
}

.cell.is-active {
    background: var(--text-main);
    border-color: var(--accent-1);
    box-shadow: 0 16px 36px rgba(20, 43, 77, .2);
}

.cell.is-dim {
    opacity: .42;
}

.reveal {
    height: auto;
    min-height: 0;
    gap: 34px;
    padding: 110px clamp(18px, 4vw, 46px);
}

.reveal-cap {
    max-width: 850px;
}

.reveal-cap h2 {
    margin-top: 14px;
}

.reveal-cap p {
    max-width: 72ch;
    margin: 18px auto 0;
    color: rgba(20, 43, 77, .78);
    font-size: 1rem !important;
    line-height: 1.8;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

.lenti-stage {
    padding: 0;
}

.lenti {
    width: min(78vw, 860px);
    height: clamp(280px, 42vw, 470px);
    max-width: 860px;
}

.purpose-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(28px, 7vw, 96px);
    width: min(100%, 900px);
    padding-top: 26px;
    border-top: 1px solid var(--edge-1);
}

.purpose-item p {
    max-width: 42ch;
    margin-top: 12px !important;
    color: rgba(20, 43, 77, .8) !important;
    font-size: .96rem !important;
    line-height: 1.8;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

.initiate {
    min-height: 88vh;
    padding: 120px clamp(18px, 4vw, 46px) 150px;
}

.initiate-inner > .mono-label {
    position: static;
    display: block;
    margin-bottom: 24px;
    color: var(--accent-2);
    text-align: center;
}

.scatter {
    color: var(--bg-main);
    font-size: clamp(2rem, 8vw, 6.5rem);
}

.sub-wrap {
    margin-top: 34px;
}

.contact-wrap {
    width: min(100%, 1120px);
    margin-top: 42px;
    text-align: left;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(19, 202, 255, .34);
}

.contact-item {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    padding-right: 18px;
    border-right: 1px solid rgba(239, 248, 255, .16);
}

.contact-item:last-child {
    padding-right: 0;
    border-right: 0;
}

.contact-item h3 {
    margin-bottom: 4px;
    color: var(--accent-2);
    font-family: 'DM Sans', sans-serif;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    line-height: 1.3;
    text-transform: uppercase;
}

.contact-item a,
.contact-item p {
    color: var(--text-main);
    font-size: .9rem;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.contact-link,
.contact-meta,
.contact-social a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.contact-link,
.contact-meta {
    min-width: 0;
}

.contact-link span,
.contact-meta span,
.contact-social span {
    min-width: 0;
}

.contact-icon {
    display: block;
    flex: 0 0 19px;
    width: 19px;
    height: 19px;
    fill: none;
    stroke: var(--accent-1);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke .2s ease, transform .2s var(--ease-out);
}

.contact-item a {
    text-decoration-color: rgba(19, 202, 255, .45);
    text-underline-offset: 3px;
}

.contact-item a:hover,
.contact-item a:focus-visible {
    color: var(--accent-1);
}

.contact-item a:hover .contact-icon,
.contact-item a:focus-visible .contact-icon {
    stroke: var(--accent-2);
    transform: translateY(-1px);
}

.contact-social {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.contact-social a {
    text-decoration: none;
}

.legal-section {
    padding: 0 clamp(18px, 4vw, 46px) 110px;
    background: rgba(4, 8, 14, .94);
}

.legal-wrap {
    width: min(100%, 1200px);
    margin: 0 auto;
    padding-top: 26px;
    border-top: 1px solid rgba(19, 202, 255, .35);
}

.legal-intro {
    margin-bottom: 26px;
    text-align: center;
}

.legal-intro h2 {
    margin-top: 12px;
    color: var(--text-main);
    font-family: 'Anton', Impact, sans-serif;
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 400;
    line-height: .96;
}

.legal-list {
    display: grid;
    gap: 18px;
}

.legal-item {
    border: 1px solid rgba(19, 202, 255, .26);
    background: rgba(5, 9, 16, .9);
    color: var(--text-main);
}

.legal-item summary {
    position: relative;
    padding: 18px 52px 18px 20px;
    color: var(--accent-2);
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    list-style: none;
}

.legal-item summary::-webkit-details-marker {
    display: none;
}

.legal-item summary::after {
    position: absolute;
    right: 20px;
    top: 50%;
    font-size: 1.4rem;
    color: var(--accent-1);
    content: "+";
    transform: translateY(-50%);
}

.legal-item[open] summary::after {
    content: "−";
}

.legal-content {
    padding: 0 20px 24px;
    color: rgba(239, 248, 255, .82);
    font-size: .96rem;
    line-height: 1.8;
}

.legal-content h3 {
    margin: 20px 0 8px;
    color: var(--text-main);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.legal-content p,
.legal-content li {
    margin: 0 0 12px;
}

.legal-content ul {
    margin: 12px 0 18px 1.2rem;
    padding: 0;
}

.legal-content a {
    color: var(--accent-1);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-content strong {
    color: var(--text-main);
    font-weight: 700;
}

@media (max-width: 760px) {
    .legal-section {
        padding-bottom: 80px;
    }

    .legal-item summary {
        font-size: .9rem;
        padding-right: 46px;
    }

    .legal-content {
        font-size: .9rem;
        line-height: 1.7;
    }
}

.sub-input {
    border: 1px solid rgba(245, 247, 251, .62);
    border-radius: 2px;
}

.sub-btn {
    background: var(--accent-2);
    color: var(--text-main);
    border: 1px solid var(--accent-2);
    border-radius: 2px;
}

.sub-btn:hover {
    color: var(--accent-2);
    transform: translateY(-2px);
}

.sig-foot {
    border-top: 1px solid rgba(245, 247, 251, .2);
    letter-spacing: .04em;
}

@media (max-width: 760px) {
    .topbar {
        align-items: flex-start;
        padding: 14px 18px;
    }

    .brand {
        flex: 0 0 auto;
        font-size: .94rem;
    }

    .brand span {
        display: block;
        margin-top: 3px;
        font-size: .6rem;
    }

    .nav-index {
        gap: 0;
        max-width: 58%;
    }

    .nav-index a {
        padding: 5px 7px;
        font-size: .55rem;
    }

    .hero {
        min-height: 680px;
    }

    .hero-title {
        font-size: clamp(3.4rem, 18vw, 8rem);
    }

    .hero-foot {
        left: 20px;
        right: 58px;
        bottom: 24px;
        gap: 0;
        max-width: none;
    }

    .hero-foot p {
        font-size: .68rem;
        line-height: 1.45;
    }

    .hero-hint {
        bottom: 24px;
    }

    .matrix-wrap {
        padding-top: 76px;
    }

    .section-head {
        align-items: flex-start;
        margin-bottom: 24px;
    }

    .section-head h2 {
        font-size: clamp(2.1rem, 11vw, 3.4rem);
    }

    .section-head p {
        font-size: .88rem;
    }

    .matrix {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(5, minmax(0, 1fr));
        height: min(105vh, 900px);
        min-height: 700px;
        gap: 6px;
    }

    .cell {
        min-width: 0;
        padding: 14px;
    }

    .cell-name {
        font-size: clamp(.8rem, 3.4vw, 1.15rem);
        overflow-wrap: anywhere;
    }

    .cell-num {
        font-size: 1.1rem;
    }

    .cell-cat {
        left: 14px;
        bottom: 12px;
        max-width: calc(100% - 28px);
        font-size: .53rem;
    }

    .cell-detail {
        left: 14px;
        right: 14px;
        bottom: 38px;
        font-size: .67rem;
    }

    .reveal {
        gap: 26px;
        padding-top: 82px;
        padding-bottom: 82px;
    }

    .reveal-cap h2 {
        font-size: clamp(2rem, 9vw, 3.3rem);
    }

    .reveal-cap p {
        font-size: .92rem !important;
    }

    .lenti {
        width: 100%;
        height: clamp(240px, 68vw, 360px);
    }

    .purpose-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .initiate {
        min-height: 78vh;
        padding-top: 100px;
    }

    .contact-wrap {
        margin-top: 30px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        padding-top: 20px;
    }

    .contact-item {
        gap: 7px;
        padding: 0 0 16px;
        border-right: 0;
        border-bottom: 1px solid rgba(239, 248, 255, .16);
    }

    .contact-item:last-child {
        padding-bottom: 0;
        border-bottom: 0;
    }

    .contact-item a,
    .contact-item p {
        font-size: .86rem;
    }

    .initiate-inner > .mono-label {
        top: 18%;
    }

    .scatter {
        font-size: clamp(2.1rem, 11vw, 4rem);
    }

    .sig-foot {
        justify-content: flex-start;
        gap: 10px 20px;
        font-size: .58rem;
    }
}

@media (min-width: 761px) {
    body {
        padding-left: 248px;
    }

    .topbar {
        inset: 0 auto 0 0;
        width: 248px;
        height: 100vh;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding: 38px 22px;
        background: var(--text-main);
        border-right: 1px solid rgba(245, 247, 251, .14);
        border-bottom: 0;
    }

    .topbar.on-light {
        background: var(--text-main);
        border-right-color: rgba(245, 247, 251, .14);
    }

    .brand,
    .topbar.on-light .brand {
        color: var(--bg-main);
        font-size: 1.12rem;
    }

    .brand span,
    .topbar.on-light .brand span {
        display: block;
        margin-top: 5px;
        color: var(--accent-2);
        font-size: .68rem;
    }

    .nav-index {
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
        gap: 6px;
        width: 100%;
        margin: auto 0;
    }

    .nav-index a,
    .topbar.on-light .nav-index a {
        padding: 12px 10px;
        border: 0;
        border-left: 2px solid transparent;
        color: var(--bg-main);
        font-size: .68rem;
        text-align: left;
    }

    .nav-index a:hover,
    .topbar.on-light .nav-index a:hover {
        transform: none;
        border-left-color: var(--accent-2);
        background: rgba(245, 247, 251, .1);
        color: var(--accent-2);
    }

    .nav-index a:focus-visible {
        outline: 2px solid var(--accent-2);
        outline-offset: 2px;
    }
}

@media (max-width: 760px) {
    body {
        padding-left: 0;
    }

    .topbar {
        inset: 0 0 auto;
        width: auto;
        height: auto;
        flex-direction: row;
        justify-content: space-between;
        background: rgba(20, 43, 77, .96);
        border-right: 0;
        border-bottom: 1px solid rgba(245, 247, 251, .15);
    }

    .topbar.on-light {
        background: rgba(20, 43, 77, .96);
    }

    .nav-index {
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        width: auto;
        margin: 0;
    }

    .nav-index a,
    .topbar.on-light .nav-index a {
        border: 1px solid transparent;
        color: var(--bg-main);
        text-align: center;
    }
}

.nav-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
}

.nav-toggle {
    position: relative;
    display: inline-flex;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(245, 247, 251, .3);
    background: transparent;
    color: var(--bg-main);
    cursor: pointer;
    pointer-events: auto;
    transition: background .25s var(--ease-out), border-color .25s var(--ease-out);
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
    border-color: var(--accent-2);
    background: rgba(245, 247, 251, .1);
}

.nav-toggle:focus-visible {
    outline: 2px solid var(--accent-2);
    outline-offset: 3px;
}

.nav-toggle span {
    position: absolute;
    left: 11px;
    width: 18px;
    height: 2px;
    background: currentColor;
    transition: transform .25s var(--ease-out), opacity .2s ease;
}

.nav-toggle span:nth-child(1) {
    transform: translateY(-6px);
}

.nav-toggle span:nth-child(3) {
    transform: translateY(6px);
}

@media (min-width: 761px) {
    .nav-head {
        align-items: center;
    }

    body.nav-collapsed {
        padding-left: 72px;
    }

    .topbar.is-collapsed {
        width: 72px;
        align-items: center;
        padding: 30px 12px;
    }

    .topbar.is-collapsed .nav-head {
        justify-content: center;
    }

    .topbar.is-collapsed .brand,
    .topbar.is-collapsed .nav-index {
        display: none;
    }
}

@media (max-width: 760px) {
    .topbar {
        flex-direction: column;
        align-items: stretch;
    }

    .nav-head {
        align-items: center;
    }

    .nav-index {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        max-width: none;
        padding: 10px 18px 18px;
        border-top: 1px solid rgba(245, 247, 251, .15);
        background: rgba(20, 43, 77, .98);
        box-shadow: 0 14px 24px rgba(20, 43, 77, .16);
    }

    .topbar.is-open .nav-index {
        display: flex;
    }

    .nav-index a,
    .topbar.on-light .nav-index a {
        width: 100%;
        padding: 12px 10px;
        text-align: left;
    }

    .nav-toggle.is-open span:nth-child(1) {
        transform: rotate(45deg);
    }

    .nav-toggle.is-open span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.is-open span:nth-child(3) {
        transform: rotate(-45deg);
    }

    body.nav-open::after {
        position: fixed;
        z-index: 55;
        inset: 0;
        background: rgba(20, 43, 77, .22);
        content: "";
    }
}

body,
body.nav-collapsed {
    padding-left: 0 !important;
}

.hero-title {
    width: 100%;
    padding-inline: clamp(8px, 1.5vw, 22px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    white-space: normal;
    font-family: 'Anton', Impact, sans-serif;
    font-size: clamp(4.5rem, 19vw, 15rem);
    font-weight: 400;
    line-height: .95;
    color: var(--accent-1);
    text-shadow: 0 5px 16px rgba(0, 0, 0, .38);
}

.hero-title > span:first-child {
    display: inline-block;
    color: var(--accent-1);
    transform: scaleX(1.2);
    transform-origin: center;
}

.hero-org {
    margin-top: 8px;
    width: 100%;
    color: var(--accent-1);
    font-family: inherit;
    font-size: clamp(1.8rem, 5.5vw, 4rem);
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: 0;
    text-transform: uppercase;
    text-shadow: inherit;
}

.nav-toggle {
    position: fixed;
    z-index: 70;
    top: 22px;
    right: 22px;
    border-color: rgba(245, 247, 251, .28);
    background: var(--text-main);
    color: var(--bg-main);
    box-shadow: 0 8px 22px rgba(20, 43, 77, .16);
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
    background: var(--accent-1);
}

.nav-toggle:active {
    transform: scale(.94);
}

.nav-toggle.is-open span:nth-child(1) {
    transform: rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
    transform: rotate(-45deg);
}

.topbar,
.topbar.on-light {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 65;
    display: flex;
    width: min(440px, 100vw);
    height: 100vh;
    height: 100dvh;
    max-height: 100dvh;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    overflow-y: auto;
    padding: 100px 34px 34px;
    border: 0;
    border-left: 1px solid rgba(245, 247, 251, .16);
    background: rgba(20, 43, 77, .98);
    box-shadow: -18px 0 56px rgba(20, 43, 77, .24);
    opacity: 0;
    pointer-events: none;
    transform: translateX(16px);
    visibility: hidden;
    transition: opacity .32s var(--ease-out), transform .32s var(--ease-out), visibility 0s linear .32s;
}

.topbar.is-open,
.topbar.on-light.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
    visibility: visible;
    transition-delay: 0s;
}

.topbar .nav-index,
.topbar.on-light .nav-index {
    position: static;
    display: flex;
    width: 100%;
    max-width: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 10px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.topbar .nav-index a,
.topbar.on-light .nav-index a {
    width: 100%;
    padding: 17px 16px;
    border: 0;
    border-left: 3px solid transparent;
    color: var(--bg-main);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    text-align: left;
    transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s var(--ease-out);
}

.topbar .nav-index a:hover,
.topbar.on-light .nav-index a:hover {
    transform: translateX(4px);
    border-left-color: var(--accent-2);
    background: rgba(245, 247, 251, .09);
    color: var(--accent-2);
}

.topbar .nav-index a:active,
.topbar.on-light .nav-index a:active {
    background: var(--accent-2);
    color: var(--bg-main);
}

.topbar .nav-index a:active,
.topbar.on-light .nav-index a:active {
    transform: translateX(2px) scale(.985);
    border-left-color: var(--accent-2);
    background: var(--accent-2);
    color: var(--text-main);
}

body.nav-open::after {
    position: fixed;
    z-index: 60;
    inset: 0;
    background: rgba(20, 43, 77, .22);
    content: "";
}

@media (max-width: 760px) {
    .nav-toggle {
        top: 14px;
        right: 14px;
    }

    .topbar,
    .topbar.on-light {
        inset: 0 0 0 auto;
        width: min(420px, 100vw);
        height: 100vh;
        height: 100dvh;
        max-height: 100dvh;
        padding: 82px 22px 22px;
    }

    .hero-org {
        margin-top: 6px;
        font-size: clamp(1.35rem, 7vw, 2rem);
    }

    .hero-title {
        font-size: clamp(3.5rem, 18vw, 8rem);
        transform: none;
    }

    .hero-title > span:first-child {
        transform: scaleX(1.12);
    }

}

@media (max-width: 360px) {
    .hero-foot {
        right: 68px;
    }

    .hero-foot p {
        font-size: .62rem;
    }
}

body {
    background: var(--bg-main);
    color: var(--text-main);
}

::selection {
    background: var(--accent-1);
    color: var(--bg-main);
}

.topbar,
.topbar.on-light,
.topbar.is-open,
.topbar.on-light.is-open {
    background: rgba(5, 9, 16, .98);
    border-color: rgba(19, 202, 255, .22);
    box-shadow: -18px 0 56px rgba(0, 0, 0, .48);
}

.topbar .nav-index a,
.topbar.on-light .nav-index a {
    color: var(--text-main);
}

.topbar .nav-index a:hover,
.topbar.on-light .nav-index a:hover {
    border-left-color: var(--accent-2);
    background: rgba(19, 202, 255, .1);
    color: var(--accent-2);
}

.nav-toggle {
    border-color: rgba(19, 202, 255, .55);
    background: #080d15;
    color: var(--text-main);
    box-shadow: 0 0 20px rgba(19, 202, 255, .2);
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
    border-color: var(--accent-2);
    background: #101a29;
    color: var(--accent-2);
}

.hero {
    background-color: var(--bg-main);
    background-image: linear-gradient(rgba(19, 202, 255, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(19, 202, 255, .055) 1px, transparent 1px);
}

.hero-title,
.hero-org {
    color: var(--accent-1);
}

.hero-title b {
    color: var(--accent-2);
}

.hero-title,
.hero-org {
    text-shadow: 0 4px 20px rgba(0, 0, 0, .75), 0 0 24px rgba(19, 202, 255, .18);
}

.string-path {
    stroke: var(--accent-1);
    filter: drop-shadow(0 0 9px rgba(19, 202, 255, .62));
}

.string-anchor {
    fill: var(--accent-1);
}

.string-grip {
    fill: var(--accent-2);
    filter: drop-shadow(0 0 9px rgba(255, 229, 43, .75));
}

.box {
    border-color: rgba(239, 248, 255, .18);
}

.box.acid {
    border-color: rgba(19, 202, 255, .58);
}

.box.warm {
    border-color: rgba(255, 94, 32, .62);
}

.section-head h2,
.reveal-cap h2 {
    color: var(--text-main);
}

.section-head p,
.reveal-cap p,
.purpose-item p {
    color: rgba(239, 248, 255, .76) !important;
}

.cell {
    background: var(--surf-1);
    border-color: rgba(19, 202, 255, .26);
}

.cell:hover {
    border-color: var(--accent-2);
    box-shadow: 0 14px 32px rgba(19, 202, 255, .16);
}

.cell-media::after {
    background: linear-gradient(180deg, rgba(2, 5, 10, .08) 0%, rgba(2, 5, 10, .34) 45%, rgba(2, 5, 10, .88) 100%);
}

.cell.is-active {
    background: var(--surf-2);
    border-color: var(--accent-1);
    box-shadow: 0 16px 36px rgba(19, 202, 255, .18);
}

.reveal {
    color: var(--text-main);
}

.purpose-grid {
    border-top-color: rgba(19, 202, 255, .3);
}

.initiate {
    background: var(--accent-2-bg);
    color: var(--text-main);
}

.initiate-inner > .mono-label {
    color: var(--accent-2);
}

.scatter {
    color: var(--text-main);
}

.scatter .glyph.slash {
    color: var(--accent-1);
}

.sub-input {
    color: var(--text-main);
    border-color: rgba(19, 202, 255, .62);
}

.sub-input::placeholder {
    color: rgba(239, 248, 255, .54);
}

.sub-input:focus {
    border-color: var(--accent-2);
}

.sub-btn {
    background: var(--accent-2);
    color: var(--bg-main);
    border-color: var(--accent-2);
}

.sub-btn:hover {
    background: transparent;
    color: var(--accent-2);
}

.sub-note,
.sig-foot {
    color: var(--text-main);
}

.sig-foot {
    border-top-color: rgba(19, 202, 255, .28);
}

.sig-foot a {
    border-bottom-color: var(--accent-1);
}

.sig-foot a:hover {
    background: var(--accent-2);
    color: var(--bg-main);
}

body.nav-open::after {
    background: rgba(0, 2, 6, .68);
}

.matrix.category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: none;
    align-items: start;
    gap: clamp(12px, 2vw, 24px);
    height: auto;
    min-height: 0;
    transition: none;
}

.category-column {
    min-width: 0;
    border-top: 1px solid rgba(19, 202, 255, .38);
    padding-top: 16px;
}

.category-heading {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: baseline;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(239, 248, 255, .16);
}

.category-index,
.category-count {
    color: var(--accent-2);
    font-family: 'DM Sans', sans-serif;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .08em;
}

.category-heading h3 {
    color: var(--text-main);
    font-size: 1.25rem;
    line-height: 1.1;
    text-transform: uppercase;
}

.category-items {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    margin-top: 14px;
}

.product-card {
    display: grid;
    min-width: 0;
    gap: 8px;
}

.product-card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.product-price {
    color: var(--accent-1);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .04em;
}

.product-flavor-picker {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 2px;
}

.product-flavor-picker label {
    color: rgba(239, 248, 255, .7);
    font-size: .62rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.product-flavor-picker select {
    width: 100%;
    max-width: 120px;
    height: 30px;
    border: 1px solid rgba(19, 202, 255, .42);
    background: rgba(5, 9, 16, .9);
    color: var(--text-main);
    font-size: .72rem;
    padding: 0 8px;
}

.cart-status {
    margin: 0;
    color: rgba(239, 248, 255, .68);
    font-size: .72rem;
    letter-spacing: .04em;
}

.cart-status span {
    color: var(--accent-2);
    font-weight: 700;
}

.add-to-cart {
    justify-self: start;
    min-height: 30px;
    padding: 6px 10px;
    border: 1px solid rgba(19, 202, 255, .55);
    background: transparent;
    color: var(--text-main);
    font-family: 'DM Sans', sans-serif;
    font-size: .68rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s var(--ease-out);
}

.add-to-cart:hover,
.add-to-cart:focus-visible {
    border-color: var(--accent-2);
    background: var(--accent-2);
    color: var(--bg-main);
}

.add-to-cart:active {
    transform: scale(.96);
}

.add-to-cart.is-added {
    border-color: var(--accent-1);
    color: var(--accent-1);
}

.category-items .cell {
    min-width: 0;
    height: 180px;
    min-height: clamp(170px, 16vw, 220px);
    padding: 16px;
    transition: height .65s var(--ease-io), opacity .4s ease, border-color .4s ease, box-shadow .5s var(--ease-out);
}

.category-items .cell-media {
    opacity: .5;
    transform: scale(1.08);
    filter: saturate(.82) contrast(1.02);
    transition: opacity .6s var(--ease-out), transform 1s var(--ease-out), filter .6s ease;
}

.category-items .cell.is-active {
    position: fixed;
    inset: clamp(28px, 6vh, 64px) clamp(20px, 7vw, 110px);
    z-index: 80;
    width: auto;
    height: auto;
    min-height: 0;
    max-height: 88vh;
    padding: clamp(22px, 4vw, 48px);
    border-color: var(--accent-2);
    background: var(--surf-2);
    box-shadow: 0 24px 90px rgba(0, 0, 0, .72), 0 0 42px rgba(19, 202, 255, .22);
}

.category-items .cell.is-active .cell-media {
    opacity: 1;
    transform: scale(1.15);
    filter: saturate(1.12) contrast(1.08);
}

.category-items .cell.is-active .cell-detail {
    right: clamp(22px, 4vw, 52px);
    bottom: clamp(58px, 9vh, 92px);
    left: clamp(22px, 4vw, 52px);
    max-width: 50ch;
    font-size: clamp(.76rem, 1.4vw, 1.02rem);
    line-height: 1.5;
    opacity: 1;
    transform: translateY(0);
}

.category-items .cell.is-active .cell-name {
    font-size: clamp(1.5rem, 3vw, 2.8rem);
}

.category-items .cell.is-active .cell-num {
    font-size: clamp(1.8rem, 4vw, 3rem);
}

.category-items .cell.is-active .cell-cat {
    bottom: 28px;
    left: clamp(24px, 5vw, 64px);
    font-size: .72rem;
}

.category-items .cell.is-dim {
    opacity: .36;
}

@media (max-width: 760px) {
    .matrix.category-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 26px;
    }

    .category-items .cell {
        height: 190px;
        min-height: 190px;
    }

    .add-to-cart {
        min-height: 36px;
    }

    .category-items .cell.is-active {
        inset: 68px 12px 12px;
        max-height: none;
        padding: 20px;
    }

    .category-items .cell.is-active .cell-detail {
        right: 20px;
        bottom: 66px;
        left: 20px;
        font-size: 1rem;
    }

    .category-items .cell.is-active .cell-cat {
        bottom: 20px;
        left: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .category-items .cell,
    .category-items .cell-media {
        transition: none;
    }
}

.section-head {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    text-align: center;
}

.section-head h2 {
    width: 100%;
    max-width: none;
    font-size: clamp(1.35rem, 4.2vw, 3.5rem);
    line-height: 1;
    text-align: center;
    white-space: nowrap;
}

.section-head p {
    width: 100%;
    max-width: 110ch;
    margin: 0 auto;
    color: rgba(239, 248, 255, .92);
    font-size: 1.05rem;
    line-height: 1.8;
    opacity: 1;
    text-align: center;
}

@media (max-width: 760px) {
    .section-head {
        align-items: center;
    }

    .section-head h2 {
        font-size: clamp(1.25rem, 6vw, 2rem);
    }

    .section-head p {
        font-size: .98rem;
        line-height: 1.65;
    }

}

body.has-expanded-card {
    overflow: hidden;
}

body.has-expanded-card::before {
    position: fixed;
    z-index: 75;
    inset: 0;
    background: rgba(0, 2, 6, .84);
    backdrop-filter: blur(5px);
    content: "";
}

.lenti-stage {
    width: min(100%, 1280px);
    padding: 0 clamp(12px, 2vw, 28px);
}

.lenti {
    flex: 0 0 auto;
    width: min(62vw, 760px);
    height: auto;
    max-width: 760px;
    aspect-ratio: 3 / 4;
    min-height: 0;
}

@media (max-width: 760px) {
    .lenti {
        width: min(88vw, 520px);
        height: auto;
        max-width: none;
        aspect-ratio: 3 / 4;
    }
}

.hero {
    isolation: isolate;
}

.hero-logo {
    position: absolute;
    z-index: 1;
    top: 46%;
    left: 50%;
    width: min(54vw, 560px);
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    opacity: .22;
    pointer-events: none;
    user-select: none;
}

.hero-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: screen;
    filter: drop-shadow(0 0 24px rgba(19, 202, 255, .2));
}

@media (max-width: 760px) {
    .hero-logo {
        top: 43%;
        width: min(82vw, 420px);
        opacity: .18;
    }
}

.reveal-cap {
    width: min(100%, 1200px);
    max-width: 1200px;
    margin-inline: auto;
}

.reveal-cap h2 {
    font-size: clamp(2.1rem, 4.5vw, 3.6rem);
}

.reveal-cap p {
    max-width: 72ch;
    font-size: clamp(.9rem, 1.6vw, 1.02rem) !important;
    line-height: 1.7;
}

.purpose-grid {
    width: min(100%, 1200px);
    margin-inline: auto;
}

.purpose-item p {
    max-width: 50ch;
    font-size: 1.08rem !important;
    line-height: 1.85;
}

@media (max-width: 760px) {
    .reveal-cap h2 {
        font-size: clamp(2.1rem, 9vw, 3.2rem);
    }

    .reveal-cap p {
        font-size: 1rem !important;
        line-height: 1.7;
    }

    .purpose-item p {
        font-size: .98rem !important;
    }
}

.section-head h2,
.reveal-cap > .mono-label,
.reveal-cap h2 {
    font-family: 'Anton', Impact, sans-serif;
    font-weight: 400;
    letter-spacing: 0;
}

.faq-widget {
    position: fixed;
    z-index: 90;
    right: 24px;
    bottom: 24px;
}

.faq-toggle {
    display: flex;
    width: 64px;
    height: 64px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    border: 1px solid rgba(19, 202, 255, .72);
    border-radius: 50%;
    background: #07111c;
    color: var(--accent-2);
    box-shadow: 0 0 24px rgba(19, 202, 255, .32), 0 10px 28px rgba(0, 0, 0, .42);
    cursor: pointer;
    transition: transform .2s var(--ease-out), border-color .2s ease, box-shadow .2s ease;
}

.faq-toggle:hover,
.faq-toggle:focus-visible {
    transform: translateY(-3px);
    border-color: var(--accent-2);
    box-shadow: 0 0 30px rgba(255, 229, 43, .34), 0 12px 30px rgba(0, 0, 0, .48);
}

.faq-toggle:focus-visible,
.faq-close:focus-visible {
    outline: 2px solid var(--accent-2);
    outline-offset: 4px;
}

.faq-toggle-mark {
    font-family: 'Anton', Impact, sans-serif;
    font-size: 1.75rem;
    line-height: 1;
}

.faq-toggle-label {
    font-size: .52rem;
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1;
}

.faq-panel {
    position: absolute;
    right: 0;
    bottom: calc(100% + 14px);
    display: flex;
    width: min(380px, calc(100vw - 32px));
    max-height: min(70vh, 560px);
    flex-direction: column;
    overflow-y: auto;
    padding: 22px;
    border: 1px solid rgba(19, 202, 255, .36);
    background: rgba(5, 9, 16, .98);
    color: var(--text-main);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .62), 0 0 32px rgba(19, 202, 255, .12);
    transform-origin: bottom right;
    animation: faq-panel-in .24s var(--ease-out) both;
}

.faq-panel[hidden] {
    display: none;
}

@keyframes faq-panel-in {
    from {
        opacity: 0;
        transform: translateY(8px) scale(.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.faq-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(19, 202, 255, .28);
}

.faq-panel-head h2 {
    margin: 0;
    color: var(--text-main);
    font-family: 'Anton', Impact, sans-serif;
    font-size: 1.65rem;
    font-weight: 400;
    line-height: 1.08;
}

.faq-close {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(239, 248, 255, .24);
    background: transparent;
    color: var(--text-main);
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
}

.faq-close:hover {
    border-color: var(--accent-2);
    color: var(--accent-2);
}

.faq-list details {
    border-bottom: 1px solid rgba(239, 248, 255, .14);
}

.faq-list summary {
    position: relative;
    padding: 15px 24px 15px 0;
    color: var(--accent-2);
    font-size: .92rem;
    font-weight: 700;
    line-height: 1.45;
    cursor: pointer;
    list-style: none;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    position: absolute;
    top: 50%;
    right: 2px;
    color: var(--accent-1);
    content: "+";
    font-size: 1.2rem;
    transform: translateY(-50%);
}

.faq-list details[open] summary::after {
    content: "-";
}

.faq-list p {
    margin: -2px 0 16px;
    color: rgba(239, 248, 255, .78);
    font-size: .84rem;
    line-height: 1.6;
}

@media (max-width: 760px) {
    .faq-widget {
        right: 14px;
        bottom: 14px;
    }

    .faq-toggle {
        width: 58px;
        height: 58px;
    }

    .faq-panel {
        width: min(360px, calc(100vw - 28px));
        max-height: min(65vh, 520px);
        padding: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .faq-toggle,
    .faq-panel {
        animation: none;
        transition: none;
    }
}

.cart-widget {
    position: fixed;
    z-index: 89;
    right: 24px;
    bottom: 100px;
}

.cart-toggle {
    position: relative;
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    border: 1px solid rgba(19, 202, 255, .72);
    border-radius: 50%;
    background: #07111c;
    color: var(--accent-1);
    cursor: pointer;
    box-shadow: 0 0 24px rgba(19, 202, 255, .28), 0 10px 28px rgba(0, 0, 0, .42);
    transition: transform .2s var(--ease-out), border-color .2s ease, box-shadow .2s ease;
}

.cart-toggle:hover,
.cart-toggle:focus-visible {
    transform: translateY(-3px);
    border-color: var(--accent-2);
    color: var(--accent-2);
    box-shadow: 0 0 28px rgba(255, 229, 43, .3), 0 12px 30px rgba(0, 0, 0, .48);
}

.cart-toggle:focus-visible,
.cart-close:focus-visible,
.cart-panel button:focus-visible {
    outline: 2px solid var(--accent-2);
    outline-offset: 3px;
}

.cart-toggle svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    display: grid;
    min-width: 22px;
    height: 22px;
    padding: 0 5px;
    place-items: center;
    border: 1px solid var(--bg-main);
    border-radius: 999px;
    background: var(--accent-2);
    color: var(--bg-main);
    font-size: .68rem;
    font-weight: 800;
}

.cart-badge[hidden] {
    display: none;
}

.cart-panel {
    position: absolute;
    right: 0;
    bottom: calc(100% + 14px);
    display: flex;
    width: min(390px, calc(100vw - 32px));
    max-height: min(68vh, 560px);
    flex-direction: column;
    overflow-y: auto;
    padding: 20px;
    border: 1px solid rgba(19, 202, 255, .38);
    background: rgba(5, 9, 16, .98);
    color: var(--text-main);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .66), 0 0 32px rgba(19, 202, 255, .12);
    animation: faq-panel-in .24s var(--ease-out) both;
}

.cart-panel[hidden] {
    display: none;
}

.cart-panel-head,
.cart-panel-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.cart-panel-head {
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(19, 202, 255, .26);
}

.cart-panel-head h2 {
    margin: 0;
    color: var(--text-main);
    font-family: 'Anton', Impact, sans-serif;
    font-size: 1.6rem;
    font-weight: 400;
}

.cart-close {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(239, 248, 255, .24);
    background: transparent;
    color: var(--text-main);
    font-size: 1.3rem;
    cursor: pointer;
}

.cart-close:hover {
    border-color: var(--accent-2);
    color: var(--accent-2);
}

.cart-empty,
.cart-message {
    margin: 14px 0;
    color: rgba(239, 248, 255, .72);
    font-size: .84rem;
    line-height: 1.5;
}

.cart-message:empty {
    display: none;
}

.cart-items {
    display: grid;
}

.cart-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(239, 248, 255, .14);
}

.cart-item-name {
    color: var(--text-main);
    font-size: .9rem;
    font-weight: 700;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 7px;
}

.cart-item-controls button {
    min-width: 30px;
    height: 30px;
    padding: 0 7px;
    border: 1px solid rgba(19, 202, 255, .36);
    background: transparent;
    color: var(--text-main);
    cursor: pointer;
}

.cart-item-controls button:hover {
    border-color: var(--accent-2);
    color: var(--accent-2);
}

.cart-item-quantity {
    min-width: 16px;
    color: var(--accent-2);
    font-size: .82rem;
    font-weight: 700;
    text-align: center;
}

.cart-panel-foot {
    padding-top: 14px;
    color: var(--text-main);
    font-size: .84rem;
}

.cart-clear {
    padding: 7px 10px;
    border: 1px solid rgba(19, 202, 255, .42);
    background: transparent;
    color: var(--text-main);
    font-size: .76rem;
    cursor: pointer;
}

.cart-clear:hover:not(:disabled) {
    border-color: var(--accent-2);
    color: var(--accent-2);
}

.cart-clear:disabled {
    opacity: .45;
    cursor: default;
}

.cart-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid rgba(19, 202, 255, .2);
    color: var(--text-main);
    font-size: .88rem;
}

.cart-summary strong {
    color: var(--accent-2);
    font-size: 1.14rem;
}

.checkout-btn {
    width: 100%;
    margin-top: 14px;
    padding: 10px 12px;
    border: 1px solid var(--accent-2);
    background: var(--accent-2);
    color: var(--bg-main);
    font-family: 'DM Sans', sans-serif;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: filter .2s ease, transform .2s var(--ease-out);
}

.checkout-btn:hover:not(:disabled),
.checkout-btn:focus-visible:not(:disabled) {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.checkout-btn:disabled {
    opacity: .45;
    cursor: default;
}

.cart-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(19, 202, 255, .2);
    font-size: .9rem;
    color: var(--text-main);
}

.cart-summary strong {
    color: var(--accent-2);
    font-size: 1.15rem;
}

.checkout-btn {
    width: 100%;
    margin-top: 14px;
    padding: 10px 14px;
    border: 1px solid var(--accent-2);
    background: var(--accent-2);
    color: var(--bg-main);
    font-family: 'DM Sans', sans-serif;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: filter .2s ease, transform .2s var(--ease-out);
}

.checkout-btn:hover:not(:disabled),
.checkout-btn:focus-visible:not(:disabled) {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.checkout-btn:disabled {
    opacity: .45;
    cursor: default;
}

@media (max-width: 760px) {
    .cart-widget {
        right: 14px;
        bottom: 84px;
    }

    .cart-toggle {
        width: 58px;
        height: 58px;
    }

    .cart-panel {
        width: min(360px, calc(100vw - 28px));
        max-height: min(62vh, 500px);
        padding: 17px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cart-toggle,
    .cart-panel {
        animation: none;
        transition: none;
    }
}

body.one-page {
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
}

.one-page #mainContent {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    overflow: hidden;
}

.one-page #mainContent > [data-page-view] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    padding-top: max(82px, env(safe-area-inset-top));
    scroll-behavior: smooth;
    scrollbar-color: var(--accent-1) var(--surf-1);
}

.one-page #mainContent > [data-page-view][hidden],
.one-page .category-column[hidden] {
    display: none !important;
}

.one-page #mainContent > #hero {
    height: 100%;
    min-height: 0;
    padding-top: 0;
    overflow: hidden;
}

.one-page #mainContent > #projects {
    padding: 92px clamp(18px, 4vw, 46px) 28px;
}

.one-page #projects .section-head[hidden] {
    display: none;
}

.one-page #projects .category-grid {
    display: grid;
    height: auto;
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    gap: 14px;
}

.one-page #projects .category-column {
    min-width: 0;
}

.one-page #projects .category-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 10px;
}

.one-page #projects .category-items .cell {
    min-height: 180px;
}

.one-page #projects .category-items .product-cart-status {
    grid-column: 1 / -1;
}

.one-page #mainContent > #reveal {
    justify-content: flex-start;
    gap: 28px;
    padding: 92px clamp(18px, 4vw, 46px) 40px;
}

.one-page #mainContent > #initiate {
    min-height: 0;
    padding: 92px clamp(18px, 4vw, 46px) 120px;
}

.one-page #mainContent > #legal {
    padding: 92px clamp(18px, 4vw, 46px) 40px;
}

.one-page #reveal .reveal-cap p {
    max-width: 78ch;
    margin-top: 22px;
    color: rgba(239, 248, 255, .88);
    font-size: clamp(1.15rem, 2vw, 1.4rem) !important;
    line-height: 1.8;
}

.team-section {
    width: min(100%, 1200px);
    margin: 0 auto;
}

.team-heading {
    margin-bottom: 26px;
    text-align: center;
}

.team-heading h2 {
    margin-top: 12px;
    color: var(--text-main);
    font-family: 'Anton', Impact, sans-serif;
    font-size: clamp(2rem, 4.5vw, 3.6rem);
    font-weight: 400;
    line-height: 1;
}

.team-section .purpose-grid {
    margin-bottom: 34px;
}

.team-section .purpose-item h3 {
    color: var(--accent-1);
    font-family: 'JetBrains Mono', monospace;
    font-size: .7rem;
    font-weight: 500;
    letter-spacing: .34em;
    line-height: 1.4;
    text-transform: uppercase;
}

.team-section .purpose-item p {
    color: rgba(239, 248, 255, .82) !important;
}

.team-table-wrap {
    width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    border: 1px solid var(--edge-1);
    background: rgba(8, 13, 21, .82);
    scrollbar-color: var(--accent-1) var(--surf-1);
}

.team-table-wrap:focus-visible {
    outline: 2px solid var(--accent-2);
    outline-offset: 3px;
}

.team-table {
    width: 100%;
    min-width: 780px;
    border-collapse: collapse;
    color: var(--text-main);
    font-size: .9rem;
    line-height: 1.65;
    text-align: left;
}

.team-table caption {
    padding: 14px 16px;
    color: var(--accent-2);
    font-family: 'Syne', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-align: left;
}

.team-table th,
.team-table td {
    padding: 14px 16px;
    border-top: 1px solid rgba(19, 202, 255, .16);
    vertical-align: top;
}

.team-table thead th {
    background: rgba(19, 202, 255, .1);
    color: var(--accent-2);
    font-size: .74rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.team-table tbody th {
    width: 48px;
    color: var(--accent-1);
    font-weight: 700;
}

.team-table tbody td:nth-child(2) {
    min-width: 190px;
    font-weight: 700;
}

.team-table tbody td:nth-child(3) {
    min-width: 175px;
    color: var(--accent-2);
}

.team-table tbody tr:nth-child(even) {
    background: rgba(19, 202, 255, .035);
}

.team-table tbody tr:hover {
    background: rgba(19, 202, 255, .09);
}

.one-page .nav-index a[aria-current="page"] {
    border-color: var(--accent-1);
    color: var(--accent-2);
}

@media (max-width: 760px) {
    .one-page #reveal .reveal-cap p {
        font-size: 1.12rem !important;
        line-height: 1.75;
    }

    .team-heading h2 {
        font-size: clamp(1.9rem, 8vw, 2.7rem);
    }

    .team-section .purpose-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .team-table {
        font-size: .84rem;
    }

    .team-table th,
    .team-table td {
        padding: 12px;
    }

    .one-page #mainContent > #projects {
        padding: 78px 14px 20px;
    }

    .one-page #mainContent > #reveal {
        padding: 78px 16px 30px;
    }

    .one-page #mainContent > #initiate {
        padding: 78px 16px 100px;
    }

    .one-page #mainContent > #legal {
        padding: 78px 16px 28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .one-page #mainContent > [data-page-view] {
        scroll-behavior: auto;
    }
}

/* ---------- Theme toggle ---------- */
.theme-toggle {
    position: fixed;
    z-index: 70;
    right: 24px;
    bottom: 24px;
    width: 76px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #2b2f36;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
    transition: background .3s var(--ease-out), transform .2s var(--ease-out);
}

.theme-toggle:focus-visible {
    outline: 2px solid var(--accent-2);
    outline-offset: 3px;
}

.theme-toggle:active {
    transform: scale(.96);
}

.theme-knob {
    position: absolute;
    top: 4px;
    left: 42px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .3);
    transition: left .3s var(--ease-out);
}

.theme-icon {
    position: absolute;
    top: 9px;
    width: 20px;
    height: 20px;
    stroke: #ef6a6a;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.theme-icon-sun {
    left: 9px;
    fill: none;
}

.theme-icon-moon {
    right: 9px;
    fill: #ef6a6a;
    display: none;
}

html[data-theme="light"] .theme-toggle {
    background: #c4c6ca;
    box-shadow: 0 6px 18px rgba(20, 43, 77, .2);
}

html[data-theme="light"] .theme-knob {
    left: 4px;
}

html[data-theme="light"] .theme-icon-sun {
    display: none;
}

html[data-theme="light"] .theme-icon-moon {
    display: block;
}

@media (max-width: 760px) {
    .theme-toggle {
        right: 16px;
        bottom: 16px;
    }
}

/* ---------- Light theme ---------- */
html[data-theme="light"] {
    --bg-main: #f5f7fb;
    --text-main: #142b4d;
    --accent-1: #1e63c4;
    --accent-2: #b8860b;
    --accent-2-bg: #e8eef8;
    --surf-1: #ffffff;
    --surf-2: #eaf0fa;
    --edge-1: rgba(20, 43, 77, .22);
}

html[data-theme="light"] .theme-toggle {
    box-shadow: 0 8px 22px rgba(20, 43, 77, .16);
}

html[data-theme="light"] .nav-toggle {
    background: var(--surf-1);
    color: var(--text-main);
    border-color: var(--edge-1);
}

html[data-theme="light"] .hero-title,
html[data-theme="light"] .hero-title > span:first-child,
html[data-theme="light"] .hero-org {
    color: var(--accent-1);
    text-shadow: 0 5px 16px rgba(20, 43, 77, .18);
}

html[data-theme="light"] .hero-foot p,
html[data-theme="light"] .section-head p,
html[data-theme="light"] .reveal-cap p,
html[data-theme="light"] .purpose-item p,
html[data-theme="light"] .team-section .purpose-item p {
    color: rgba(20, 43, 77, .82) !important;
}

html[data-theme="light"] .cell.is-active {
    background: var(--surf-2);
}

html[data-theme="light"] .team-table-wrap {
    background: var(--surf-1);
}

html[data-theme="light"] .team-table tbody tr:nth-child(even) {
    background: rgba(30, 99, 196, .05);
}

html[data-theme="light"] .team-table th,
html[data-theme="light"] .team-table td {
    border-top-color: rgba(20, 43, 77, .14);
}

html[data-theme="light"] .initiate,
html[data-theme="light"] .legal-section {
    background: var(--accent-2-bg);
    color: var(--text-main);
}

html[data-theme="light"] .legal-item {
    background: var(--surf-1);
    border-color: var(--edge-1);
}

html[data-theme="light"] .legal-content {
    color: rgba(20, 43, 77, .86);
}

html[data-theme="light"] .contact-item {
    border-color: rgba(20, 43, 77, .16);
}

html[data-theme="light"] .sig-foot {
    border-top-color: rgba(20, 43, 77, .2);
}

html[data-theme="light"] .sub-input {
    border-color: rgba(20, 43, 77, .4);
}

/* ---------- Visual polish ---------- */
:root {
    --bg-main: #0b1118;
    --text-main: #f4f1e8;
    --accent-1: #62dbc5;
    --accent-2: #f5bc73;
    --accent-2-bg: #151d20;
    --surf-1: #111a24;
    --surf-2: #192635;
    --edge-1: rgba(98, 219, 197, .2);
    --edge-2: rgba(245, 188, 115, .4);
    --logo-blue: #08b9ff;
    --logo-green: #00d99a;
    --logo-yellow: #f4e82a;
    --logo-orange: #ff9227;
    --logo-red: #f23845;
    --logo-purple: #e625b7;
}

html[data-theme="light"] {
    --bg-main: #EDE6D6;
    --text-main: #18303b;
    --accent-1: #24766c;
    --accent-2: #b7793c;
    --accent-2-bg: #f6f0e5;
    --surf-1: #fffdf8;
    --surf-2: #f5f0e6;
    --edge-1: rgba(36, 118, 108, .2);
    --edge-2: rgba(183, 121, 60, .36);
    --logo-blue: #007fae;
    --logo-green: #087d59;
    --logo-yellow: #917100;
    --logo-orange: #b65b12;
    --logo-red: #b92d3e;
    --logo-purple: #a51a84;
}

body {
    background:
        radial-gradient(ellipse at 12% 0, rgba(98, 219, 197, .055), transparent 35%),
        var(--bg-main);
}

:focus-visible {
    outline: 2px solid var(--accent-2);
    outline-offset: 4px;
}

.topbar,
.topbar.on-light,
.topbar.is-open,
.topbar.on-light.is-open {
    border-left: 1px solid var(--edge-1);
    background: rgba(11, 17, 24, .97);
    box-shadow: -22px 0 64px rgba(0, 0, 0, .36);
}

.topbar::before {
    position: absolute;
    top: 38px;
    left: 34px;
    color: var(--accent-1);
    content: "KINETIX  /  EXPLORE";
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .22em;
}

.topbar .nav-index a,
.topbar.on-light .nav-index a {
    border-left-width: 2px;
    border-radius: 0 10px 10px 0;
    color: var(--text-main);
    font-size: .95rem;
    letter-spacing: .1em;
}

.topbar .nav-index a:hover,
.topbar.on-light .nav-index a:hover,
.one-page .nav-index a[aria-current="page"] {
    border-left-color: var(--accent-1);
    background: rgba(98, 219, 197, .1);
    color: var(--accent-1);
}

.nav-toggle {
    border-color: var(--edge-1);
    border-radius: 14px;
    background: var(--surf-1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
    border-color: var(--accent-1);
    background: var(--surf-2);
    color: var(--accent-1);
}

body.nav-open::after {
    background: rgba(2, 6, 12, .56);
    backdrop-filter: blur(4px);
}

.hero {
    background-color: var(--bg-main);
    background-image:
        radial-gradient(ellipse at 50% 40%, rgba(98, 219, 197, .1), transparent 48%),
        radial-gradient(ellipse at 84% 78%, rgba(245, 188, 115, .055), transparent 36%),
        linear-gradient(rgba(98, 219, 197, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(98, 219, 197, .035) 1px, transparent 1px);
    background-size: auto, auto, 56px 56px, 56px 56px;
}

.hero-logo {
    z-index: 1;
    top: 48%;
    width: min(78vw, 820px);
    opacity: .5;
    transform: translate(-50%, -50%);
}

.hero-logo img {
    filter: saturate(1.12) drop-shadow(0 0 28px rgba(8, 185, 255, .18));
}

.string-svg {
    z-index: 1;
    opacity: .64;
    transform: translateY(12vh);
}

.string-path {
    stroke-width: 2.5;
    filter: drop-shadow(0 0 8px rgba(98, 219, 197, .36));
}

.string-grip {
    filter: drop-shadow(0 0 8px rgba(245, 188, 115, .42));
}

.box.acid {
    border-color: rgba(98, 219, 197, .5);
}

.box.warm {
    border-color: rgba(245, 188, 115, .46);
}

html[data-theme="light"] .box {
    border-width: 2px;
    border-color: rgba(10, 30, 70, .75);
}

html[data-theme="light"] .box.acid {
    border-color: rgba(0, 95, 120, .8);
}

html[data-theme="light"] .box.warm {
    border-color: rgba(140, 90, 0, .8);
}

.hero-title {
    z-index: 2;
    gap: clamp(12px, 2vh, 22px);
    font-size: clamp(4rem, 14vw, 12rem);
    line-height: .88;
    text-shadow: 0 8px 36px rgba(0, 0, 0, .24);
    transform: translateY(-6vh);
}

.hero-title > span:first-child {
    background-image: linear-gradient(
        100deg,
        var(--logo-blue) 0%,
        var(--logo-blue) 15%,
        var(--logo-green) 34%,
        var(--logo-yellow) 53%,
        var(--logo-orange) 71%,
        var(--logo-red) 87%,
        var(--logo-purple) 100%
    );
    background-clip: text;
    transform: scaleX(1.06);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-title b {
    color: var(--logo-green);
}

.hero-org {
    width: auto;
    margin-top: 0;
    background-image: linear-gradient(
        100deg,
        var(--logo-blue),
        var(--logo-green) 30%,
        var(--logo-yellow) 52%,
        var(--logo-orange) 72%,
        var(--logo-red) 88%,
        var(--logo-purple)
    );
    background-clip: text;
    font-family: 'Space Grotesk', 'DM Sans', sans-serif;
    font-size: clamp(.82rem, 1.6vw, 1.12rem);
    font-weight: 600;
    letter-spacing: .36em;
    line-height: 1.2;
    text-shadow: none;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-foot {
    right: auto;
    bottom: max(22px, env(safe-area-inset-bottom));
    left: 50%;
    width: min(880px, calc(100% - 48px));
    max-width: 880px;
    justify-content: center;
    padding: 18px clamp(18px, 3vw, 32px);
    border: 1px solid var(--edge-1);
    border-radius: 18px;
    background: rgba(17, 26, 36, .76);
    box-shadow: 0 14px 50px rgba(0, 0, 0, .18);
    backdrop-filter: blur(14px);
    transform: translateX(-50%);
}

.hero-foot p {
    max-width: 72ch;
    color: var(--text-main);
    font-size: .88rem;
    letter-spacing: .01em;
    line-height: 1.7;
    opacity: .86;
    text-align: center;
    white-space: normal;
}

.section-head {
    width: min(100%, 1200px);
    margin-inline: auto;
    padding-inline: 4px;
}

.section-head h2,
.reveal-cap h2,
.team-heading h2,
.legal-intro h2 {
    font-family: 'Space Grotesk', 'DM Sans', sans-serif;
    font-weight: 700;
    letter-spacing: -.045em;
}

.section-head h2 {
    white-space: normal;
}

.section-head h2 i,
.reveal-cap h2 i {
    color: var(--accent-1);
}

.section-head p,
.reveal-cap p {
    letter-spacing: 0;
}

.reveal {
    background: linear-gradient(180deg, transparent, rgba(98, 219, 197, .025) 48%, transparent);
}

.reveal-cap h2 {
    line-height: 1.08;
}

.reveal-cap p {
    max-width: 68ch;
}

.purpose-grid {
    gap: clamp(24px, 5vw, 72px);
    border-top-color: var(--edge-1);
}

.purpose-item {
    padding: 22px;
    border: 1px solid var(--edge-1);
    border-radius: 16px;
    background: var(--surf-1);
}

.purpose-item p {
    margin-top: 12px !important;
}

.team-table-wrap,
.legal-item {
    border: 1px solid var(--edge-1);
    border-radius: 16px;
    box-shadow: 0 16px 42px rgba(0, 0, 0, .08);
}

.team-table {
    border-collapse: separate;
    border-spacing: 0;
}

.team-table thead th {
    background: var(--surf-2);
    color: var(--accent-1);
}

.matrix-wrap {
    background: linear-gradient(180deg, transparent, rgba(98, 219, 197, .025) 24%, transparent);
}

.category-heading {
    border-bottom-color: var(--edge-1);
    display: block;
}

.category-index,
.category-count {
    display: none;
}

.category-items .cell {
    border-radius: 16px;
}

.category-items .cell-media {
    opacity: .74;
    filter: saturate(.9) contrast(1.08);
}

.category-items .cell-media::after {
    background: linear-gradient(180deg, rgba(9, 15, 22, .62) 0%, rgba(9, 15, 22, .72) 48%, rgba(9, 15, 22, .92) 100%);
}

.contact-grid {
    gap: 16px;
    border-top: 0;
}

.contact-item,
.contact-item:last-child {
    padding: 22px;
    border: 1px solid var(--edge-1);
    border-radius: 16px;
    background: var(--surf-1);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .1);
}

.contact-item h3 {
    color: var(--accent-1);
}

.contact-link,
.contact-meta {
    min-height: 32px;
}

.contact-icon {
    stroke: var(--accent-1);
}

.legal-section {
    background: linear-gradient(180deg, rgba(98, 219, 197, .025), transparent);
}

.legal-wrap {
    border-top-color: var(--edge-1);
}

.legal-item {
    overflow: hidden;
    background: var(--surf-1);
}

.legal-item summary {
    padding: 18px 22px;
}

.theme-toggle {
    top: auto;
    right: 24px;
    bottom: 24px;
    width: 68px;
    height: 36px;
    border: 1px solid var(--edge-1);
    background: var(--surf-1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
}

.theme-knob {
    top: 3px;
    left: 37px;
    width: 28px;
    height: 28px;
    background: var(--accent-1);
}

.theme-icon {
    stroke: var(--accent-2);
}

.theme-icon-moon {
    fill: var(--accent-2);
}

html[data-theme="light"] .theme-knob {
    left: 3px;
}

html[data-theme="light"] .topbar,
html[data-theme="light"] .topbar.on-light,
html[data-theme="light"] .topbar.is-open,
html[data-theme="light"] .topbar.on-light.is-open {
    border-left-color: var(--edge-1);
    background: rgba(237, 230, 214, .98);
    box-shadow: -22px 0 64px rgba(24, 48, 59, .16);
}

html[data-theme="light"] .topbar .nav-index a,
html[data-theme="light"] .topbar.on-light .nav-index a {
    color: var(--text-main);
}

html[data-theme="light"] .topbar .nav-index a:hover,
html[data-theme="light"] .topbar.on-light .nav-index a:hover,
html[data-theme="light"] .one-page .nav-index a[aria-current="page"] {
    background: rgba(36, 118, 108, .08);
    color: var(--accent-1);
}

html[data-theme="light"] .nav-toggle {
    border-color: var(--edge-1);
    background: var(--surf-1);
    color: var(--text-main);
}

html[data-theme="light"] .hero {
    background-image:
        radial-gradient(ellipse at 50% 40%, rgba(36, 118, 108, .09), transparent 48%),
        radial-gradient(ellipse at 84% 78%, rgba(183, 121, 60, .06), transparent 36%),
        linear-gradient(rgba(24, 48, 59, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(24, 48, 59, .035) 1px, transparent 1px);
}

html[data-theme="light"] .hero-foot {
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 14px 50px rgba(24, 48, 59, .08);
}

html[data-theme="light"] .hero-foot p {
    color: var(--text-main);
}

html[data-theme="light"] .purpose-item,
html[data-theme="light"] .contact-item,
html[data-theme="light"] .contact-item:last-child,
html[data-theme="light"] .legal-item,
html[data-theme="light"] .team-table-wrap {
    border-color: var(--edge-1);
    background: var(--surf-1);
    box-shadow: 0 12px 32px rgba(24, 48, 59, .06);
}

html[data-theme="light"] .team-table thead th {
    background: var(--surf-2);
    color: var(--accent-1);
}

@media (max-width: 760px) {
    .theme-toggle {
        right: 16px;
        bottom: 16px;
    }

    .hero-title {
        font-size: clamp(3.8rem, 16vw, 7.5rem);
        transform: translateY(-7vh);
    }

    .hero-logo {
        top: 47%;
        width: min(104vw, 560px);
        opacity: .5;
    }

    .hero-org {
        font-size: clamp(.74rem, 3vw, .98rem);
        letter-spacing: .28em;
    }

    .hero-foot {
        width: calc(100% - 32px);
        padding: 14px 16px;
    }

    .hero-foot p {
        font-size: .8rem;
        line-height: 1.6;
    }

    .purpose-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .purpose-item {
        padding: 18px;
    }

    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .contact-item,
    .contact-item:last-child {
        padding: 18px;
    }

    .legal-item summary {
        padding: 16px 18px;
    }
}

@media (max-height: 600px) {
    .hero-logo {
        top: 46%;
        width: min(62vw, 400px);
    }

    .hero-title {
        gap: 10px;
        font-size: clamp(3.5rem, 12vw, 7rem);
        transform: translateY(8vh);
    }

    .hero-org {
        font-size: .78rem;
        letter-spacing: .24em;
    }

    .hero-foot {
        bottom: max(12px, env(safe-area-inset-bottom));
        padding: 10px 14px;
    }

    .hero-foot p {
        font-size: .75rem;
        line-height: 1.5;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* Black outline for title visibility */
.hero-title > span:first-child {
    -webkit-text-stroke: clamp(2px, .45vw, 6px) #000;
    paint-order: stroke fill;
}

.hero-org {
    -webkit-text-stroke: 0;
    font-weight: 900;
    font-size: clamp(1.3rem, 3.4vw, 2.6rem);
    filter: drop-shadow(1.5px 0 0 #000) drop-shadow(-1.5px 0 0 #000) drop-shadow(0 1.5px 0 #000) drop-shadow(0 -1.5px 0 #000);
}

/* Team member cards */
.team-heading h2 {
    color: var(--accent-2, #f5bc73);
    font-family: 'Anton', Impact, sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 400;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 22px;
    margin: 36px 0 0;
    padding: 0;
    list-style: none;
}

.team-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 28px 20px 24px;
    border: 1px solid var(--edge-1);
    border-radius: 18px;
    background: var(--surface-1, rgba(255, 255, 255, .04));
    box-shadow: 0 12px 34px rgba(0, 0, 0, .2);
    text-align: center;
    transition: transform .25s ease, box-shadow .25s ease;
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .3);
}

.team-avatar {
    display: grid;
    width: 128px;
    height: 128px;
    margin-bottom: 18px;
    border: 3px solid #f5a623;
    border-radius: 50%;
    background: linear-gradient(140deg, #0a4fb8, #08b9ff 55%, #ffd24a);
    color: #fff;
    font-family: 'Anton', Impact, sans-serif;
    font-size: 2.6rem;
    letter-spacing: .04em;
    place-items: center;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .35);
    overflow: hidden;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h3 {
    margin: 0 0 10px;
    font-family: 'Space Grotesk', 'DM Sans', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
}

.team-card p {
    flex: 1;
    margin: 0 0 16px;
    font-size: .85rem;
    font-style: italic;
    line-height: 1.6;
    opacity: .8;
}

.team-role {
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(245, 166, 35, .16);
    color: #f5a623;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

html[data-theme="light"] .team-card {
    background: #fff;
    box-shadow: 0 10px 30px rgba(20, 43, 77, .14);
}

html[data-theme="light"] .team-heading h2 {
    color: #c8741a;
}

html[data-theme="light"] .team-role {
    background: rgba(184, 134, 11, .14);
    color: #8a5d00;
}

/* Services: always-visible descriptions */
.services-intro {
    max-width: 78ch;
    margin: 18px 0 22px;
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    line-height: 1.75;
}

.services-list {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-auto-rows: auto;
}

.services-list .cell {
    display: flex;
    min-height: 330px;
    height: auto;
    flex-direction: column;
    justify-content: flex-end;
    gap: 8px;
    padding: 24px;
}

.services-list .cell > * {
    position: relative;
}

.services-list .cell-media {
    position: absolute;
}

.services-list .cell-detail {
    display: none;
    position: static;
    max-height: none;
    margin: 0;
    opacity: 1;
    transform: none;
    font-size: .9rem;
    line-height: 1.6;
}

.services-list .cell.is-active .cell-detail {
    display: block;
}

.services-list .cell:not(.is-active) .cell-cat {
    display: none;
}

.services-list .cell {
    cursor: pointer;
}

.services-list .cell-cat {
    position: static;
    inset: auto;
    margin-top: 6px;
}

.services-list .cell-name {
    font-size: 1.35rem;
}

/* About Us: larger text in the home page font (Anton) */
.one-page #reveal .reveal-cap {
    width: min(100%, 1800px);
    max-width: 1800px;
}

.one-page #reveal .reveal-cap > .mono-label {
    font-size: clamp(1.6rem, 3vw, 2.8rem) !important;
    letter-spacing: .18em;
}

.one-page #reveal .reveal-cap h2 {
    font-family: 'Anton', Impact, sans-serif;
    font-size: clamp(1.8rem, 4vw, 3.2rem) !important;
    line-height: 1.05;
    letter-spacing: .01em;
    text-transform: uppercase;
    white-space: nowrap;
}

.one-page #reveal .reveal-cap p {
    max-width: none !important;
    width: 100% !important;
    font-family: 'Anton', Impact, sans-serif;
    font-size: clamp(1rem, 1.9vw, 2.2rem) !important;
    font-weight: 400;
    line-height: 1.5 !important;
    letter-spacing: .03em;
}

@media (max-width: 760px) {
    .one-page #reveal .reveal-cap h2 {
        font-size: 6vw !important;
    }

    .one-page #reveal .reveal-cap p {
        font-size: 1rem !important;
    }
}

/* Centered, larger, bolder section headings */
.category-column .category-heading {
    display: block;
    width: 100%;
    text-align: center;
}

.category-column .category-heading h3 {
    margin: 0 auto 18px;
    text-align: center;
    font-family: 'Anton', Impact, sans-serif !important;
    font-size: clamp(2.8rem, 8vw, 6.5rem) !important;
    font-weight: 900 !important;
    line-height: 1.05;
    letter-spacing: .04em;
    text-transform: uppercase;
    -webkit-text-stroke: 1.5px currentColor;
}

/* Gallery & achievement wall */
.gallery-section .legal-intro {
    text-align: center;
}

.gallery-section .legal-intro h2 {
    margin: 0 auto 18px;
    text-align: center;
    font-family: 'Anton', Impact, sans-serif !important;
    font-size: clamp(2.8rem, 8vw, 6.5rem) !important;
    font-weight: 900 !important;
    line-height: 1.05;
    letter-spacing: .04em;
    text-transform: uppercase;
    -webkit-text-stroke: 1.5px currentColor;
}

.gal-subhead {
    margin-top: 72px;
}

.gal-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 12px 0 28px;
}

.gal-chip {
    padding: 8px 18px;
    border-radius: 999px;
    border: 1px solid currentColor;
    background: transparent;
    color: inherit;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    opacity: .75;
}

.gal-chip.is-active {
    background: #62dbc5;
    border-color: #62dbc5;
    color: #06201c;
    opacity: 1;
}

.gal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}

.gal-item {
    position: relative;
    margin: 0;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    background: #10201f;
}

.gal-item[hidden] {
    display: none;
}

.gal-item.is-featured {
    grid-column: span 2;
}

.gal-item img,
.gal-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.gal-item:hover img,
.gal-item:focus-visible img,
.gal-item:hover video {
    transform: scale(1.06);
}

.gal-lightbox video {
    max-width: min(92vw, 1000px);
    max-height: 75vh;
    border-radius: 10px;
}

.gal-lightbox video[hidden],
.gal-lightbox img[hidden] {
    display: none;
}

.gal-item figcaption {
    position: absolute;
    inset: auto 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 28px 14px 12px;
    color: #fff;
    background: linear-gradient(transparent, rgba(0, 0, 0, .75));
}

.gal-item figcaption span {
    font-size: .8rem;
    opacity: .85;
}

.gal-empty {
    text-align: center;
    opacity: .7;
}

.ach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

.ach-card {
    padding: 22px;
    border-radius: 12px;
    border: 1px solid rgba(98, 219, 197, .35);
    background: rgba(98, 219, 197, .06);
}

.ach-card h3 {
    margin: 6px 0 8px;
}

.ach-card p {
    margin: 0;
    opacity: .85;
    line-height: 1.5;
}

.ach-year {
    display: inline-block;
    padding: 2px 12px;
    border-radius: 999px;
    background: #62dbc5;
    color: #06201c;
    font-weight: 700;
    font-size: .8rem;
}

.gal-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px;
    background: rgba(0, 0, 0, .88);
    color: #fff;
}

.gal-lightbox[hidden] {
    display: none;
}

.gal-lightbox img {
    max-width: min(92vw, 1000px);
    max-height: 75vh;
    border-radius: 10px;
}

.gal-close {
    position: absolute;
    top: 16px;
    right: 22px;
    background: none;
    border: 0;
    color: #fff;
    font-size: 2.6rem;
    cursor: pointer;
}

@media (max-width: 560px) {
    .gal-item.is-featured {
        grid-column: auto;
    }
}

/* Poster carousel */
.gal-title {
    text-align: center;
    margin: 6px 0 18px;
    font-family: 'Anton', Impact, sans-serif;
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #62dbc5;
}

.gal-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gal-grid {
    position: relative;
    display: block;
    width: 100%;
    height: clamp(220px, 34vw, 400px);
    overflow: hidden;
}

.gal-item {
    position: absolute;
    top: 50%;
    left: 50%;
    width: clamp(220px, 40vw, 480px);
    height: auto;
    aspect-ratio: 16 / 9;
    transform: translate(-50%, -50%) scale(.7);
    opacity: 0;
    pointer-events: none;
    transition: transform .45s ease, opacity .45s ease, filter .45s ease;
    filter: brightness(.65);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
}

.gal-item[data-pos="0"] { transform: translate(-50%, -50%) scale(1); opacity: 1; filter: none; z-index: 3; pointer-events: auto; }
.gal-item[data-pos="-1"] { transform: translate(-135%, -50%) scale(.78); opacity: 1; z-index: 2; pointer-events: auto; }
.gal-item[data-pos="1"] { transform: translate(35%, -50%) scale(.78); opacity: 1; z-index: 2; pointer-events: auto; }
.gal-item[data-pos="-2"] { transform: translate(-190%, -50%) scale(.6); opacity: .8; z-index: 1; pointer-events: auto; }
.gal-item[data-pos="2"] { transform: translate(90%, -50%) scale(.6); opacity: .8; z-index: 1; pointer-events: auto; }

.gal-item figcaption {
    opacity: 0;
    transition: opacity .3s ease;
}

.gal-item.is-current figcaption {
    opacity: 1;
}

.gal-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .5);
    background: rgba(0, 0, 0, .55);
    color: #fff;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
}

.gal-prev { left: 0; }
.gal-next { right: 0; }

.gal-video-card {
    max-width: 900px;
    margin: 0 auto;
}

.gal-video-card video {
    display: block;
    width: 100%;
    border-radius: 12px;
    background: #000;
    aspect-ratio: 16 / 9;
}

.gal-video-card video[hidden] {
    display: none;
}

.gal-video-card .gal-filters {
    margin: 16px 0 0;
}

.gal-video-card .gal-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 9;
    margin: 0;
    border: 1px dashed rgba(98, 219, 197, .5);
    border-radius: 12px;
}

.gal-video-card .gal-empty[hidden] {
    display: none;
}

/* Register title matches other page headings */
.register-section .legal-intro {
    text-align: center;
}

.register-section .legal-intro h2 {
    margin: 0 auto 18px;
    text-align: center;
    font-family: 'Anton', Impact, sans-serif !important;
    font-size: clamp(2.8rem, 8vw, 6.5rem) !important;
    font-weight: 900 !important;
    line-height: 1.05;
    letter-spacing: .04em;
    text-transform: uppercase;
    -webkit-text-stroke: 1.5px currentColor;
}

.services-intro {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* Light flavor picker in light mode */
html[data-theme="light"] .product-flavor-picker label {
    color: #3f5560;
}

html[data-theme="light"] .product-flavor-picker select {
    background: #fff;
    color: #0b1b2b;
    border: 1px solid #2a7f7a;
    border-radius: 6px;
    font-weight: 600;
}

/* Cart visibility, light theme and billing */
.cart-widget { display: none; }
body[data-current-view="products"] .cart-widget { display: block; }
html[data-theme="light"] .cart-panel {
    background: #fff;
    color: #0b1b2b;
    border: 1px solid rgba(11, 27, 43, 0.18);
    box-shadow: 0 14px 40px rgba(11, 27, 43, 0.22);
}
html[data-theme="light"] .cart-panel * { color: inherit; }
.cart-item-flavor { display: block; opacity: 0.8; font-size: 0.8em; font-weight: 500; }
.receipt-mail { display: block; text-align: center; text-decoration: none; margin-bottom: 10px; }
.receipt-thanks { font-weight: 600; margin: 12px 0; }
.faq-btn {
    display: none;
    position: fixed;
    right: 24px;
    bottom: 84px;
    z-index: 89;
    padding: 12px 22px;
    border-radius: 999px;
    border: 2px solid var(--accent-2, #ffc978);
    background: var(--accent-2, #ffc978);
    color: #0b1b2b;
    font-weight: 800;
    letter-spacing: 0.08em;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
body[data-current-view="initiate"] .faq-btn { display: block; }
.faq-item { border-bottom: 1px solid rgba(128, 128, 128, 0.3); padding: 10px 0; }
.faq-item summary { cursor: pointer; font-weight: 700; }
.faq-item p { margin: 8px 0 0; opacity: 0.9; line-height: 1.5; }
.faq-item a { color: inherit; text-decoration: underline; }
.one-page #mainContent > #register { padding: 92px clamp(18px, 4vw, 46px) 40px; }
.reg-card {
    margin-bottom: 18px;
    padding: 22px 26px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.05);
}
.reg-card[hidden] { display: none; }
.reg-card h3 { margin: 0 0 10px; font-size: 1.4rem; }
.reg-card label { display: flex; flex-direction: column; gap: 4px; font-size: 0.85rem; }
.reg-card input, .reg-card select {
    padding: 9px 10px;
    border-radius: 6px;
    border: 1px solid rgba(128, 128, 128, 0.5);
    background: rgba(255, 255, 255, 0.08);
    color: inherit;
    font: inherit;
}
.reg-card select option { color: #0b1b2b; }
.reg-pass { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; margin: 14px 0; }
.reg-qr { background: #fff; padding: 6px; border-radius: 10px; line-height: 0; }
.reg-qr img { width: 200px; height: 200px; image-rendering: pixelated; }
.reg-info p { margin: 6px 0; }
.reg-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.reg-actions .checkout-btn { width: auto; padding-left: 22px; padding-right: 22px; }
.reg-checkin { display: flex; gap: 10px; flex-wrap: wrap; }
.reg-checkin input { flex: 1 1 220px; }
.reg-checkin .checkout-btn { width: auto; padding-left: 22px; padding-right: 22px; }
.reg-checkin-result { margin-top: 10px; font-weight: 700; }
.reg-checkin-result.is-ok { color: #3ecf8e; }
.reg-checkin-result.is-bad { color: #ff6b6b; }
html[data-theme="light"] .reg-card { background: #fff; border-color: rgba(11, 27, 43, 0.15); color: #0b1b2b; }
html[data-theme="light"] .reg-card input, html[data-theme="light"] .reg-card select { background: #fff; border-color: rgba(11, 27, 43, 0.3); }
@media (max-width: 560px) { .reg-card .billing-grid { grid-template-columns: 1fr; } }
.billing-modal {
    position: fixed;
    inset: 0;
    z-index: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.65);
}
.billing-modal[hidden] { display: none; }
.billing-card {
    position: relative;
    width: min(560px, 100%);
    max-height: 90vh;
    overflow-y: auto;
    padding: 28px;
    border-radius: 14px;
    background: var(--bg-main, #0b1b2b);
    color: var(--text-main, #fff);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.billing-card h3 { margin: 6px 0 14px; font-size: 1.6rem; }
.billing-close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: none;
    border: 0;
    color: inherit;
    font-size: 1.8rem;
    cursor: pointer;
}
.billing-line, .billing-total {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(128, 128, 128, 0.3);
}
.billing-total { font-size: 1.15rem; border-bottom: 0; margin-bottom: 12px; }
.billing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.billing-grid label { display: flex; flex-direction: column; gap: 4px; font-size: 0.85rem; }
.billing-grid input, .billing-grid select {
    padding: 9px 10px;
    border-radius: 6px;
    border: 1px solid rgba(128, 128, 128, 0.5);
    background: rgba(255, 255, 255, 0.08);
    color: inherit;
    font: inherit;
}
.billing-grid select option { color: #0b1b2b; }
.billing-error { color: #ff6b6b; min-height: 1.2em; margin: 10px 0; font-size: 0.9rem; }
.receipt-meta { opacity: 0.8; font-size: 0.9rem; margin: 8px 0; }
html[data-theme="light"] .billing-card { background: #fff; color: #0b1b2b; border-color: rgba(11, 27, 43, 0.2); }
html[data-theme="light"] .billing-grid input, html[data-theme="light"] .billing-grid select { background: #fff; border-color: rgba(11, 27, 43, 0.3); }
@media (max-width: 560px) { .billing-grid { grid-template-columns: 1fr; } }

/* Maximized KINETIX width */
.hero-title,
.hero-title > span:first-child {
    font-size: min(31vw, 56vh);
}

.hero-title > span:first-child {
    width: 100%;
    text-align: center;
    white-space: nowrap;
}

/* Wider blue and gold title */
.hero-title {
    width: 100vw;
    max-width: 100vw;
    align-items: center;
}

.hero-title > span:first-child {
    background-image: linear-gradient(100deg, #1e8fff 0%, #08b9ff 30%, #ffd24a 65%, #f5a623 100%);
    letter-spacing: .04em;
    transform: scaleX(1.1);
}

.hero-title b {
    color: #ffd24a;
    -webkit-text-fill-color: #ffd24a;
}

.hero-org {
    background-image: linear-gradient(90deg, #1e8fff, #08b9ff 35%, #ffd24a 70%, #f5a623);
    font-size: clamp(1rem, 2.6vw, 1.9rem);
    font-weight: 700;
    letter-spacing: .85em;
    margin-right: -.85em;
}

html[data-theme="light"] .hero-title > span:first-child,
html[data-theme="light"] .hero-org {
    background-image: linear-gradient(100deg, #0a4fb8 0%, #0077c8 35%, #b8860b 70%, #9a6a00 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

html[data-theme="light"] .hero-logo {
    opacity: .95;
}

html[data-theme="light"] .hero-logo img {
    filter: brightness(.45) saturate(1.7) contrast(1.25) drop-shadow(0 6px 18px rgba(10, 40, 90, .3));
}

html[data-theme="light"] .hero-title {
    text-shadow: none;
    filter: drop-shadow(0 8px 14px rgba(8, 30, 70, .3));
}

html[data-theme="light"] .hero-title > span:first-child,
html[data-theme="light"] .hero-org {
    background-image: linear-gradient(100deg, #062f7a 0%, #0a4fb8 35%, #8a5d00 70%, #6b4600 100%);
}

html[data-theme="light"] .hero-org {
    font-weight: 900;
}

html[data-theme="light"] .hero-title b {
    color: #b8860b;
    -webkit-text-fill-color: #b8860b;
}

@media (max-width: 760px) {
    .hero-title,
    .hero-title > span:first-child {
        font-size: min(31vw, 52vh);
    }

    .hero-title > span:first-child {
        transform: scaleX(1.05);
    }

    .hero-org {
        font-size: clamp(.78rem, 3.4vw, 1.1rem);
        letter-spacing: .5em;
        margin-right: -.5em;
    }
}

/* Cute aesthetic hero title */
.hero-title,
.hero-title > span:first-child {
    font-family: 'Lilita One', 'Fredoka', 'Baloo 2', 'Nunito', sans-serif;
    font-size: min(13vw, 38vh);
}

.hero-title {
    text-shadow: none;
    filter: drop-shadow(0 6px 18px rgba(255, 210, 74, .35)) drop-shadow(0 2px 10px rgba(30, 143, 255, .45));
}

.hero-title > span:first-child {
    font-weight: 700;
    letter-spacing: .05em;
    transform: none;
    -webkit-text-stroke: clamp(3px, .6vw, 8px) rgba(255, 255, 255, .92);
    paint-order: stroke fill;
    stroke-linejoin: round;
    background-image: linear-gradient(100deg, #5cc8ff 0%, #8fd8ff 28%, #ffe27a 62%, #ffbf5e 100%);
}

.hero-title b {
    font-family: inherit;
    font-weight: inherit;
    -webkit-text-stroke: inherit;
    color: #ffe27a;
    -webkit-text-fill-color: #ffe27a;
}

.hero-org {
    font-family: 'Lilita One', 'Fredoka', 'Nunito', sans-serif;
    font-size: clamp(1rem, 2.8vw, 2.1rem);
    font-weight: 400;
    letter-spacing: .6em;
    margin-right: -.6em;
    margin-top: .3em;
    background-image: linear-gradient(90deg, #5cc8ff, #b9e6ff 35%, #ffe27a 70%, #ffbf5e);
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, .55));
}

.hero-org::before,
.hero-org::after {
    content: "\2726";
    display: inline-block;
    margin: 0 .9em;
    font-size: .8em;
    letter-spacing: 0;
    color: #ffe27a;
    -webkit-text-fill-color: #ffe27a;
    animation: heroTwinkle 2.4s ease-in-out infinite;
}

.hero-org::after {
    animation-delay: 1.2s;
}

@keyframes heroTwinkle {
    0%, 100% { opacity: .35; transform: scale(.8) rotate(0deg); }
    50% { opacity: 1; transform: scale(1.2) rotate(20deg); }
}

html[data-theme="light"] .hero-title {
    filter: drop-shadow(0 6px 14px rgba(10, 79, 184, .35));
}

html[data-theme="light"] .hero-title > span:first-child {
    -webkit-text-stroke: clamp(3px, .6vw, 8px) rgba(255, 255, 255, .95);
    background-image: linear-gradient(100deg, #1e8fff 0%, #4db4ff 30%, #ffc531 65%, #ff9f1c 100%);
}

html[data-theme="light"] .hero-org {
    background-image: linear-gradient(90deg, #1e7fe0, #2fa0f0 35%, #e6a100 70%, #d98200);
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, .9));
}

html[data-theme="light"] .hero-title b {
    color: #ffc531;
    -webkit-text-fill-color: #ffc531;
}

@media (max-width: 760px) {
    .hero-title,
    .hero-title > span:first-child {
        font-size: min(13vw, 34vh);
    }

    .hero-org {
        letter-spacing: .35em;
        margin-right: -.35em;
    }
}

@media (min-width: 761px) {
    .hero-title > span:first-child {
        font-size: min(21vw, 40vh);
        transform: scaleX(1.08);
    }

    .hero-org {
        font-size: clamp(1.4rem, 5vw, 5rem);
        letter-spacing: .55em;
        margin-right: -.55em;
    }
}

@media (max-width: 760px) {
    .hero-title > span:first-child {
        font-size: min(16vw, 34vh);
        transform: scaleX(1.05);
    }

    .hero-org {
        font-size: clamp(1.2rem, 5vw, 2.8rem);
        letter-spacing: .28em;
        margin-right: -.28em;
    }
}

.hero-title > span:first-child,
.hero-title > span:first-child b {
    -webkit-text-stroke: clamp(1px, .18vw, 2px) #fff;
    paint-order: stroke fill;
}

html[data-theme="light"] .hero-title > span:first-child,
html[data-theme="light"] .hero-title > span:first-child b {
    -webkit-text-stroke: clamp(1px, .18vw, 2px) #000;
}

.hero-org {
    margin-right: 0 !important;
    text-align: center;
}

.hero-org::after {
    margin-left: calc(.9em - .35em);
}

@media (max-width: 760px) {
    .hero-org::before,
    .hero-org::after {
        margin: 0 .6em;
    }

    .hero-org::after {
        margin-left: .25em;
    }
}

.hero-title > span:first-child,
.hero-title > span:first-child b {
    background: none !important;
    color: #0b2a6f !important;
    -webkit-text-fill-color: #0b2a6f !important;
}

.hero-org {
    background: none !important;
    color: #ffd23f !important;
    -webkit-text-fill-color: #ffd23f !important;
}

html[data-theme="light"] .hero-title > span:first-child,
html[data-theme="light"] .hero-title > span:first-child b {
    color: #ffc531 !important;
    -webkit-text-fill-color: #ffc531 !important;
}

html[data-theme="light"] .hero-org {
    color: #0b2a6f !important;
    -webkit-text-fill-color: #0b2a6f !important;
}
