/*
  Kinetix Org
  https://templatemo.com/tm-631-kinetic
*/

:root {
    --bg-main: #071426;
    --text-main: #eff8ff;
    --text-muted: #a7afb8;
    --accent-1: #5ca6ff;
    --accent-2: #FFAE42;
    --accent-2-bg: #091a30;

    /* 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(92, 166, 255, .24);
    --edge-2: rgba(255, 174, 66, .93);
}

* {
    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 ---------- */
.site-header {
    position: fixed;
    top: 16px;
    left: clamp(14px, 2vw, 28px);
    right: clamp(14px, 2vw, 28px);
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 20px;
    background: rgba(5, 12, 20, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 18px 28px rgba(0, 0, 0, 0.18);
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    padding: 0;
    background: transparent;
    border: 0;
    pointer-events: none;
}

.topbar a {
    pointer-events: auto;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: fantasy;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: .04em;
    color: var(--text-main);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
    transition: color .35s var(--ease-out);
}

.brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.12);
}

.brand span {
    color: var(--accent-2);
    transition: color .35s var(--ease-out);
}

.brand:hover,
.brand:focus-visible,
.brand:hover span,
.brand:focus-visible span,
.topbar.on-light .brand:hover,
.topbar.on-light .brand:focus-visible,
.topbar.on-light .brand:hover span,
.topbar.on-light .brand:focus-visible span {
    color: var(--accent-1);
}

.nav-index {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
    padding: 0 4px;
}

.nav-index a {
    font-size: .64rem;
    line-height: 1.2;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.94);
    padding: 8px 10px;
    border: 1px solid transparent;
    border-radius: 999px;
    transition: background .35s var(--ease-out), color .35s var(--ease-out), border-color .35s var(--ease-out), transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.32);
}

.nav-index a:hover,
.nav-index a:focus-visible {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.12);
}

.nav-index a.active {
    background: rgba(92, 166, 255, 0.16);
    border-color: rgba(92, 166, 255, 0.42);
    color: var(--accent-2);
}

/* on light sections keep the header readable without losing transparency */
.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);
    text-shadow: none;
}

.topbar.on-light .nav-index a:hover,
.topbar.on-light .nav-index a:focus-visible {
    background: rgba(9, 18, 30, 0.08);
    border-color: rgba(9, 18, 30, 0.14);
    color: var(--bg-main);
}

.topbar.on-light .nav-index a.active {
    background: rgba(92, 166, 255, 0.11);
    border-color: rgba(92, 166, 255, 0.28);
    color: #0c1d35;
}

/* =========================================================
   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: fantasy;
    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);
    transition: color .35s var(--ease-out);
}

.hero-title:hover,
.hero-title:focus-visible {
    color: var(--accent-2);
}

.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: fantasy;
    font-weight: 800;
    letter-spacing: .12em;
    font-size: clamp(1.3rem, 3vw, 2.7rem);
    line-height: 1.1;
    text-transform: uppercase;
    margin-top: .3rem;
    transition: color .35s var(--ease-out);
}

.hero-org:hover {
    color: var(--accent-2);
}

/* 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--seminar {
    background-image: url("images/SEMINAR/next-level-pe-seminar.jpg");
}

.cell-media--workshop {
    background-image: url("images/WORKSHOP/workshop-session.jpg");
}

.cell-media--officiating {
    background-image: url("images/OFFICIATING/off.jpg");
}

.cell-media--pe-days {
    background-image: url("images/PE%20DAYS/pe.jpg");
}

.cell-media--college-days-services {
    background-image: url("images/COLLEGE%20DAYS/FB_IMG_1791287598201.jpg");
}

.cell-media--folk-dance {
    background-image: url("images/WORKSHOP/workshop-event.jpg");
}

.cell-media--officiating-event {
    background-image: url("images/OFFICIATING/received_1262844935321020.jpeg");
}

.cell-media--college-days-events {
    background-image: url("images/COLLEGE%20DAYS/FB_IMG_1791287600342.jpg");
}

.cell-media--pe-days-event {
    background-image: url("images/PE%20DAYS/received_1102563565812285.jpeg");
}

.cell-media--soya-pop {
    background-image: url("images/product/soya.jpg");
}

.cell-media--nutflix {
    background-image: url("images/product/nut.jpg");
}

.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: 55vh;
    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 55vh;
    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: 48vh;
    }

    .face {
        background-size: 88vw 48vh;
    }
}

/* =========================================================
   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(92, 166, 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(92, 166, 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(92, 166, 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(92, 166, 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(92, 166, 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(92, 166, 255, .1);
    color: var(--accent-2);
}

.nav-toggle {
    border-color: rgba(92, 166, 255, .55);
    background: #080d15;
    color: var(--text-main);
    box-shadow: 0 0 20px rgba(92, 166, 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(92, 166, 255, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(92, 166, 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(92, 166, 255, .18);
}

.string-path {
    stroke: var(--accent-1);
    filter: drop-shadow(0 0 9px rgba(92, 166, 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(92, 166, 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(92, 166, 255, .26);
}

.cell:hover {
    border-color: var(--accent-2);
    box-shadow: 0 14px 32px rgba(92, 166, 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(92, 166, 255, .18);
}

.reveal {
    color: var(--text-main);
}

.purpose-grid {
    border-top-color: rgba(92, 166, 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(92, 166, 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(92, 166, 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(92, 166, 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-videos {
    margin-top: clamp(48px, 8vw, 88px);
}

.product-videos-heading {
    margin-bottom: 24px;
    text-align: center;
}

.product-videos .product-videos-heading h2 {
    margin: 0 auto 18px;
    color: var(--text-main);
    font-family: 'Anton', Impact, sans-serif;
    font-size: clamp(2.8rem, 8vw, 6.5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: .04em;
    text-transform: uppercase;
    -webkit-text-stroke: 1.5px currentColor;
}

.product-videos-list {
    display: grid;
    gap: clamp(28px, 5vw, 52px);
}

.product-video-card {
    width: min(100%, 900px);
    margin: 0 auto;
    padding: clamp(12px, 2vw, 20px);
    border: 1px solid var(--gold-soft);
    border-radius: 12px;
    background: var(--surf-1);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .22), inset 0 1px 0 var(--gold-faint);
}

.product-video-card h3 {
    margin: 0 0 12px;
    color: var(--gold);
    font-family: 'DM Sans', sans-serif;
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-align: center;
    text-transform: uppercase;
}

.youtube-link-card {
    display: grid;
    width: 100%;
    aspect-ratio: 16 / 9;
    place-items: center;
    padding: 24px;
    border: 1px solid var(--gold-soft);
    border-radius: 12px;
    background: var(--surf-1);
    color: var(--gold);
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

.product-video-player {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 1px solid var(--gold-soft);
    border-radius: 12px;
    background: #000;
    object-fit: contain;
}

.youtube-link-card.is-playing {
    display: block;
    overflow: hidden;
    padding: 0;
}

.youtube-video-frame {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 180px;
    border: 0;
}

.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(92, 166, 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(92, 166, 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(92, 166, 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(92, 166, 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(92, 166, 255, .72);
    border-radius: 50%;
    background: #07111c;
    color: var(--accent-2);
    box-shadow: 0 0 24px rgba(92, 166, 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(92, 166, 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(92, 166, 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(92, 166, 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(92, 166, 255, .72);
    border-radius: 50%;
    background: #07111c;
    color: var(--accent-1);
    cursor: pointer;
    box-shadow: 0 0 24px rgba(92, 166, 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(92, 166, 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(92, 166, 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(92, 166, 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(92, 166, 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(92, 166, 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(92, 166, 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(92, 166, 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(700%, 700px), 1fr));
    gap: 23px;
    grid-auto-flow: row;
}

.one-page #projects .category-items.services-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.one-page #projects .category-items.events-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.one-page #projects .category-items .cell {
    min-height: 180px;
}

.one-page #projects .category-items .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 > #reveal > .team-section {
    flex-shrink: 0;
}

.one-page #mainContent > #initiate {
    display: block;
    min-height: 0;
    padding: 92px clamp(18px, 4vw, 46px) 120px;
}

.one-page #initiate > #legal {
    padding: 36px 0 28px;
    scroll-margin-top: 24px;
}

.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(92, 166, 255, .16);
    vertical-align: top;
}

.team-table thead th {
    background: rgba(92, 166, 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(92, 166, 255, .035);
}

.team-table tbody tr:hover {
    background: rgba(92, 166, 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 #projects .category-items {
        grid-template-columns: minmax(0, 1fr);
    }

    .one-page #projects .category-items.services-list {
        grid-template-columns: minmax(0, 1fr);
    }

    .one-page #projects .category-items.events-list {
        grid-template-columns: minmax(0, 1fr);
    }

    .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 #initiate > #legal {
        padding: 28px 0 20px;
    }
}

@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: #eef4fc;
    --text-main: #183454;
    --accent-1: #2b64ad;
    --accent-2: #FFAE42;
    --accent-2-bg: #e2ebf7;
    --surf-1: #ffffff;
    --surf-2: #e5eef9;
    --edge-1: rgba(24, 52, 84, .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: #08172d;
    --text-main: #f2f6fc;
    --accent-1: #6aa9ff;
    --accent-2: #FFAE42;
    --accent-2-bg: #0c1e36;
    --surf-1: #0d203a;
    --surf-2: #142c4c;
    --edge-1: rgba(106, 169, 255, .22);
    --edge-2: rgba(255, 174, 66, .4);
    --logo-blue: #5ba3ff;
    --logo-green: #91c4ff;
    --logo-yellow: #FFAE42;
    --logo-orange: #FFAE42;
    --logo-red: #527fbd;
    --logo-purple: #FFAE42;
}

html[data-theme="light"] {
    --bg-main: #eef4fc;
    --text-main: #183454;
    --accent-1: #2b64ad;
    --accent-2: #FFAE42;
    --accent-2-bg: #e2ebf7;
    --surf-1: #ffffff;
    --surf-2: #e5eef9;
    --edge-1: rgba(43, 100, 173, .2);
    --edge-2: rgba(255, 174, 66, .36);
    --logo-blue: #245c9f;
    --logo-green: #5b83b8;
    --logo-yellow: #FFAE42;
    --logo-orange: #FFAE42;
    --logo-red: #416caa;
    --logo-purple: #FFAE42;
}

body {
    background:
        radial-gradient(ellipse at 12% 0, rgba(106, 169, 255, .07), 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(8, 23, 45, .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(106, 169, 255, .12);
    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(106, 169, 255, .12), transparent 48%),
        radial-gradient(ellipse at 84% 78%, rgba(255, 174, 66, .07), transparent 36%),
        linear-gradient(rgba(106, 169, 255, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(106, 169, 255, .04) 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(106, 169, 255, .4));
}

.string-grip {
    filter: drop-shadow(0 0 8px rgba(255, 174, 66, .48));
}

.box.acid {
    border-color: rgba(106, 169, 255, .5);
}

.box.warm {
    border-color: rgba(255, 174, 66, .48);
}

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(106, 169, 255, .03) 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(106, 169, 255, .03) 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(106, 169, 255, .03), 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(238, 244, 252, .98);
    box-shadow: -22px 0 64px rgba(24, 52, 84, .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(43, 100, 173, .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(43, 100, 173, .09), transparent 48%),
        radial-gradient(ellipse at 84% 78%, rgba(255, 174, 66, .07), transparent 36%),
        linear-gradient(rgba(24, 52, 84, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(24, 52, 84, .035) 1px, transparent 1px);
}

html[data-theme="light"] .hero-foot {
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 14px 50px rgba(24, 52, 84, .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, 52, 84, .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;
    }
}

/* Animated robotics atmosphere, applied without changing homepage content. */
body {
    isolation: isolate;
}

.kinetix-particles {
    position: fixed;
    z-index: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    color: var(--gold);
    pointer-events: none;
}

.site-header,
#mainContent,
.scroll-progress,
.back-to-top {
    position: relative;
    z-index: 2;
}

body::before,
body::after {
    position: fixed;
    z-index: 3;
    inset: 0;
    pointer-events: none;
    content: "";
}

body::before {
    background: repeating-linear-gradient(
        0deg,
        transparent 0 3px,
        rgba(0, 0, 0, .055) 3px 4px
    );
    opacity: .3;
}

body::after {
    background: radial-gradient(ellipse at 50% 0, transparent 45%, rgba(0, 0, 0, .22) 100%);
}

#hero.hero {
    isolation: isolate;
}

#hero::before,
#hero::after {
    position: absolute;
    z-index: 1;
    inset: 0;
    content: "";
    pointer-events: none;
}

#hero::before {
    background:
        linear-gradient(var(--gold-faint) 1px, transparent 1px),
        linear-gradient(90deg, var(--gold-faint) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at 55% 40%, #000 24%, transparent 78%);
    opacity: .34;
}

#hero::after {
    inset: -25% 0 auto;
    height: 22%;
    background: linear-gradient(180deg, transparent, rgba(255, 174, 66, .075), transparent);
    animation: kinetix-scan 8s linear infinite;
}

#hero .hero-visual {
    z-index: 2;
    border: 1px solid var(--gold-soft);
    box-shadow: 0 0 52px rgba(255, 174, 66, .08), inset 0 0 36px rgba(255, 174, 66, .08);
    transform-style: preserve-3d;
}

#hero .hero-visual::before {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    width: min(72%, 420px);
    aspect-ratio: 1;
    border: 1px dashed rgba(230, 201, 138, .44);
    border-radius: 50%;
    content: "";
    pointer-events: none;
    transform: translate(-50%, -50%);
    animation: kinetix-orbit 32s linear infinite;
}

#hero .hero-visual::after {
    z-index: 2;
    border: 1px solid rgba(255, 174, 66, .14);
    background:
        linear-gradient(180deg, rgba(3, 6, 11, .02) 20%, rgba(3, 6, 11, .72) 100%),
        linear-gradient(90deg, rgba(3, 6, 11, .12), transparent 28%, transparent 72%, rgba(3, 6, 11, .12));
    box-shadow: inset 0 0 34px rgba(255, 174, 66, .08);
}

#hero .hero-visual img {
    position: relative;
    z-index: 0;
    animation: kinetix-image-breathe 18s ease-in-out infinite alternate;
}

.hero-photo-caption {
    z-index: 3;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .8);
}

.hero-content {
    animation: kinetix-hero-enter .9s cubic-bezier(.2, .7, .2, 1) both;
}

#hero .hero-title b {
    text-shadow: 0 0 24px rgba(255, 174, 66, .28);
}

.site-header .brand-mark {
    box-shadow: 0 0 0 4px var(--gold-faint), 0 0 26px rgba(255, 174, 66, .2);
    transition: box-shadow .3s ease, transform .3s ease;
}

.site-header .brand:hover .brand-mark {
    box-shadow: 0 0 0 6px var(--gold-faint), 0 0 32px rgba(255, 174, 66, .34);
    transform: rotate(-4deg);
}

.hero-ticker {
    z-index: 3;
    border-color: var(--gold-soft);
    background: linear-gradient(90deg, transparent, rgba(255, 174, 66, .045), transparent);
}

.hero-ticker i {
    text-shadow: 0 0 12px rgba(255, 174, 66, .52);
}

.purpose-item,
.team-face,
.category-items .cell,
.product-card,
.gal-item,
.contact-item,
.reg-card {
    transition: transform .3s cubic-bezier(.16, 1, .3, 1), border-color .3s, box-shadow .3s;
}

.purpose-item:hover,
.team-face:hover,
.category-items .cell:hover,
.product-card:hover,
.gal-item:hover,
.contact-item:hover,
.reg-card:hover {
    border-color: var(--gold);
    box-shadow: 0 20px 56px rgba(0, 0, 0, .28), 0 0 24px var(--gold-faint);
    transform: translateY(-4px);
}

.kinetix-scroll-reveal {
    opacity: 0;
    translate: 0 18px;
    transition: opacity .65s ease, translate .65s cubic-bezier(.16, 1, .3, 1);
}

.kinetix-scroll-reveal.is-visible {
    opacity: 1;
    translate: 0 0;
}

@keyframes kinetix-scan {
    from { transform: translateY(0); }
    to { transform: translateY(620%); }
}

@keyframes kinetix-orbit {
    to { rotate: 1turn; }
}

@keyframes kinetix-image-breathe {
    from { transform: scale(1); }
    to { transform: scale(1.045); }
}

@keyframes kinetix-hero-enter {
    from { opacity: 0; translate: 0 18px; }
    to { opacity: 1; translate: 0 0; }
}

html[data-theme="light"] body::before {
    opacity: .08;
}

html[data-theme="light"] body::after {
    background: radial-gradient(ellipse at 50% 0, transparent 48%, rgba(82, 61, 28, .08) 100%);
}

html[data-theme="light"] #hero .hero-visual::before {
    border-color: rgba(255, 174, 66, .55);
}

html[data-theme="light"] #hero .hero-visual::after {
    border-color: rgba(255, 174, 66, .22);
    background:
        linear-gradient(180deg, rgba(34, 32, 27, .02) 20%, rgba(34, 32, 27, .62) 100%),
        linear-gradient(90deg, rgba(34, 32, 27, .08), transparent 28%, transparent 72%, rgba(34, 32, 27, .08));
}

html[data-theme="light"] .purpose-item:hover,
html[data-theme="light"] .team-face:hover,
html[data-theme="light"] .category-items .cell:hover,
html[data-theme="light"] .product-card:hover,
html[data-theme="light"] .gal-item:hover,
html[data-theme="light"] .contact-item:hover,
html[data-theme="light"] .reg-card:hover {
    box-shadow: 0 18px 46px rgba(60, 42, 10, .16), 0 0 20px var(--gold-faint);
}

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

    .kinetix-scroll-reveal {
        opacity: 1;
        translate: none;
    }
}

@media (max-width: 768px) {
    #hero .hero-visual::before {
        width: min(76%, 300px);
    }
}

/* 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, #FFAE42);
    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 #FFAE42;
    border-radius: 50%;
    background: linear-gradient(140deg, #0a4fb8, #08b9ff 55%, #FFAE42);
    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(255, 174, 66, .16);
    color: #FFAE42;
    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: #FFAE42;
}

html[data-theme="light"] .team-role {
    background: rgba(255, 174, 66, .14);
    color: #FFAE42;
}

/* 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 > h2:not(.about-section-title) {
    color: var(--page-title-color) !important;
    font-family: 'Space Grotesk', 'DM Sans', sans-serif !important;
    font-size: clamp(1.8rem, 4vw, 3rem) !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    line-height: 1.2;
    text-align: center;
    text-transform: none !important;
    -webkit-text-fill-color: var(--page-title-color) !important;
}

.one-page #reveal .reveal-cap > h2:not(.about-section-title) .kinetix-title-letter,
.one-page #reveal .reveal-cap > h2:not(.about-section-title) .kinetix-title-letter.is-accent {
    color: var(--page-title-color) !important;
    -webkit-text-fill-color: var(--page-title-color) !important;
}

.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;
}

.one-page #reveal > .purpose-grid .purpose-item h3 {
    font-weight: 700 !important;
    text-align: center;
}

@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: var(--accent-1);
    border-color: var(--accent-1);
    color: var(--bg-main);
    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 var(--edge-1);
    background: var(--surf-1);
}

.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: var(--accent-2);
    color: var(--bg-main);
    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: var(--accent-1);
}

.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 {
    width: min(100%, 900px);
    margin: 0 auto;
    padding: clamp(10px, 1.5vw, 16px);
    border: 1px solid var(--gold-soft);
    border-radius: 12px;
    background: var(--surf-1);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .22), inset 0 1px 0 var(--gold-faint);
}

.gal-video-label {
    display: block;
    margin-bottom: 8px;
    color: var(--gold);
    font-family: 'DM Sans', sans-serif;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.gal-video-select {
    display: block;
    width: 100%;
    min-height: 42px;
    margin-bottom: 14px;
    padding: 0 12px;
    border: 1px solid var(--gold-soft);
    border-radius: 8px;
    background: var(--surf-2);
    color: var(--text-main);
    font: 600 .85rem 'DM Sans', 'Segoe UI', sans-serif;
}

.gal-video-select:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

.gal-video-select option {
    background: var(--surf-1);
    color: var(--text-main);
}

/* 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, #FFAE42);
    background: var(--accent-2, #FFAE42);
    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; }
#services > #register {
    padding: clamp(38px, 6vw, 64px) 0 12px;
    scroll-margin-top: 96px;
}
.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%, #FFAE42 65%, #FFAE42 100%);
    letter-spacing: .04em;
    transform: scaleX(1.1);
}

.hero-title b {
    color: #FFAE42;
    -webkit-text-fill-color: #FFAE42;
}

.hero-org {
    background-image: linear-gradient(90deg, #1e8fff, #08b9ff 35%, #FFAE42 70%, #FFAE42);
    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%, #FFAE42 70%, #FFAE42 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%, #FFAE42 70%, #FFAE42 100%);
}

html[data-theme="light"] .hero-org {
    font-weight: 900;
}

html[data-theme="light"] .hero-title b {
    color: #FFAE42;
    -webkit-text-fill-color: #FFAE42;
}

@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%, #FFAE42 62%, #FFAE42 100%);
}

.hero-title b {
    font-family: inherit;
    font-weight: inherit;
    -webkit-text-stroke: inherit;
    color: #FFAE42;
    -webkit-text-fill-color: #FFAE42;
}

.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%, #FFAE42 70%, #FFAE42);
    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: #FFAE42;
    -webkit-text-fill-color: #FFAE42;
    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, var(--logo-blue) 0%, var(--accent-1) 30%, var(--accent-2) 65%, var(--gold) 100%);
}

html[data-theme="light"] .hero-org {
    background-image: linear-gradient(90deg, var(--logo-blue), var(--accent-1) 35%, var(--accent-2) 70%, var(--gold));
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, .9));
}

html[data-theme="light"] .hero-title b {
    color: var(--accent-2);
    -webkit-text-fill-color: var(--accent-2);
}

@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: var(--accent-1) !important;
    -webkit-text-fill-color: var(--accent-1) !important;
}

.hero-org {
    background: none !important;
    color: var(--accent-2) !important;
    -webkit-text-fill-color: var(--accent-2) !important;
}

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

html[data-theme="light"] .hero-org {
    color: var(--accent-2) !important;
    -webkit-text-fill-color: var(--accent-2) !important;
}

/* ---------- Homepage shell and layout ---------- */
body {
    padding-left: 0 !important;
    background: var(--bg-main);
    color: var(--text-main);
}

.site-header {
    position: fixed;
    z-index: 80;
    inset: 0 0 auto;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: 64px;
    align-items: center;
    height: 64px;
    min-height: 64px;
    padding: 0 clamp(18px, 3.3vw, 48px);
    border-bottom: 1px solid rgba(20, 22, 26, .055);
    background: rgba(242, 243, 245, .94);
    backdrop-filter: blur(14px);
}

.site-header .brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #17181b;
    font-family: 'DM Sans', sans-serif;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: -.02em;
}

.brand-mark {
    display: block;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border: 1px solid var(--accent-2);
    background: #050608;
    object-fit: cover;
}

.topbar,
.topbar.on-light {
    position: static;
    inset: auto;
    width: auto;
    height: auto;
    padding: 0 40px 0 18px;
    border: 0;
    background: transparent;
    mix-blend-mode: normal;
}

.site-header .topbar,
.site-header .topbar.on-light {
    display: flex;
    height: auto;
    max-height: none;
    overflow: visible;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    visibility: visible;
}

.nav-index {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(2px, .55vw, 10px);
    width: 100%;
    margin: 0;
}

.site-header .topbar .nav-index,
.site-header .topbar.on-light .nav-index {
    position: static;
    display: flex;
    width: 100%;
    max-width: none;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(2px, .55vw, 10px);
    flex-wrap: nowrap;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.site-header .topbar::before {
    display: none;
    content: none;
}

.site-header .topbar .nav-index a,
.site-header .topbar.on-light .nav-index a {
    width: auto;
    flex: 0 0 auto;
    padding: 7px clamp(2px, .4vw, 6px);
    color: #5f6268;
    font-size: clamp(.43rem, .56vw, .6rem);
    letter-spacing: .11em;
    white-space: nowrap;
}

.nav-index a,
.topbar.on-light .nav-index a {
    padding: 8px clamp(3px, .45vw, 8px);
    border: 0;
    color: #5f6268;
    font-size: clamp(.48rem, .58vw, .64rem);
    font-weight: 600;
    letter-spacing: .16em;
    white-space: nowrap;
}

.nav-index a:hover,
.topbar.on-light .nav-index a:hover,
.one-page .nav-index a[aria-current="page"] {
    background: transparent;
    color: #17181b;
}

.site-header .topbar .nav-index a[aria-current="page"],
.site-header .topbar.on-light .nav-index a[aria-current="page"] {
    border: 0;
    background: transparent;
    box-shadow: inset 0 -2px #FFAE42;
    color: #17181b;
}

.one-page .nav-index a[aria-current="page"] {
    transform: none;
}

.theme-toggle {
    top: 15px;
    right: clamp(18px, 3.3vw, 48px);
    bottom: auto;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(23, 24, 27, .12);
    border-radius: 3px;
    background: transparent;
    box-shadow: none;
}

.theme-toggle .theme-knob {
    display: none;
}

.theme-toggle .theme-icon {
    top: 7px;
    left: 7px;
    right: auto;
    width: 15px;
    height: 15px;
    stroke: #17181b;
}

.theme-toggle .theme-icon-sun {
    display: none;
}

.theme-toggle .theme-icon-moon {
    display: block;
    fill: none;
}

.nav-toggle {
    display: none;
}

#hero.hero {
    position: relative;
    display: block;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: 580px;
    padding: 0;
    overflow: hidden;
    background: var(--bg-main);
    color: var(--text-main);
}

#hero .hero-visual {
    position: absolute;
    top: 8.5%;
    right: 3.2%;
    bottom: 13%;
    width: 38%;
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
}

#hero .hero-visual::before,
#hero .hero-visual::after {
    display: none;
}

#hero .hero-photo-caption {
    display: none;
    position: absolute;
    z-index: 1;
    right: 18px;
    bottom: 15px;
    left: 18px;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: #f3f3ef;
    font-size: clamp(.43rem, .55vw, .62rem);
    font-weight: 700;
    letter-spacing: .18em;
}

.hero-photo-caption b {
    color: var(--accent-2);
    font-size: 1.5rem;
}

.hero-content {
    position: absolute;
    z-index: 2;
    top: 22%;
    left: clamp(20px, 3.4vw, 54px);
    width: min(67%, 860px);
}

.hero-kicker,
#hero .hero-org {
    color: #74777d;
    font-size: clamp(.55rem, .65vw, .72rem);
    font-weight: 600;
    letter-spacing: .34em;
    line-height: 1.4;
    text-transform: uppercase;
}

.hero-kicker span {
    color: #9da0a5;
    margin: 0 .35em;
}

#hero .hero-title {
    display: block;
    width: auto;
    max-width: none;
    margin: 8px 0 0 -.015em;
    transform: none;
    color: var(--accent-1);
    font-family: 'Anton', Impact, sans-serif;
    font-size: clamp(5rem, 12.6vw, 12rem);
    font-weight: 400;
    letter-spacing: -.015em;
    line-height: .92;
    text-align: left;
    text-shadow: none;
    filter: none;
    white-space: nowrap;
}

#hero .hero-title b {
    color: var(--accent-2) !important;
    font: inherit;
    -webkit-text-fill-color: var(--accent-2) !important;
    -webkit-text-stroke: 0;
}

#hero .hero-org {
    margin: 7px 0 13px;
    background: none;
    color: #74777d !important;
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(.56rem, .68vw, .74rem);
    font-weight: 700;
    letter-spacing: .36em;
    text-align: left;
    -webkit-text-fill-color: #74777d !important;
}

#hero .hero-org::before,
#hero .hero-org::after {
    display: none;
}

.hero-description {
    width: min(38rem, 42vw);
    max-width: 38rem;
    color: #666a71;
    font-size: clamp(.78rem, .94vw, .98rem);
    font-weight: 400;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 20px;
}

.hero-cta {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border: 1px solid rgba(23, 24, 27, .12);
    color: #27292d;
    font-size: .58rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.hero-cta:hover {
    border-color: #17181b;
    background: #17181b;
    color: #fff;
}

.hero-cta-primary {
    border-color: var(--accent-2);
    background: var(--accent-2);
    color: var(--bg-main);
}

.hero-cta-primary:hover {
    border-color: var(--accent-1);
    background: var(--accent-1);
    color: var(--bg-main);
}

.hero-scroll {
    position: absolute;
    z-index: 2;
    right: 49%;
    bottom: 17%;
    display: grid;
    justify-items: center;
    gap: 2px;
    color: #7b7e83;
    font-size: .55rem;
    font-weight: 600;
    letter-spacing: .24em;
}

.hero-scroll b {
    color: #373a3e;
    font-size: .85rem;
}

.hero-ticker {
    position: absolute;
    right: 0;
    bottom: 7.5%;
    left: 0;
    display: flex;
    align-items: center;
    gap: clamp(14px, 2.8vw, 42px);
    min-height: 42px;
    padding: 5px 14px;
    overflow: hidden;
    border-top: 1px solid rgba(23, 24, 27, .08);
    color: #a0a2a6;
    font-family: 'Anton', Impact, sans-serif;
    font-size: clamp(1rem, 1.55vw, 1.75rem);
    line-height: 1;
    white-space: nowrap;
}

.hero-ticker i {
    color: var(--accent-2);
    font-style: normal;
    font-size: 1.4em;
}

html:not([data-theme="light"]) .site-header {
    border-color: rgba(255, 255, 255, .1);
    background: rgba(8, 23, 45, .96);
}

html:not([data-theme="light"]) .site-header .brand,
html:not([data-theme="light"]) .nav-index a,
html:not([data-theme="light"]) .theme-toggle .theme-icon {
    color: #f2f3f5;
    stroke: #f2f3f5;
}

html:not([data-theme="light"]) .brand-mark {
    background: var(--accent-1);
}

html:not([data-theme="light"]) .site-header .brand-name {
    color: var(--accent-2);
    font-size: .9rem;
    letter-spacing: .025em;
}

html:not([data-theme="light"]) #hero.hero {
    background: var(--bg-main);
    color: #f2f3f5;
}

html:not([data-theme="light"]) #hero .hero-title {
    color: #f2f3f5;
}

html:not([data-theme="light"]) #hero .hero-description,
html:not([data-theme="light"]) #hero .hero-org {
    color: #aeb0b4;
}

html:not([data-theme="light"]) .hero-cta-secondary {
    border-color: rgba(255, 255, 255, .22);
    color: #f2f3f5;
}

@media (max-width: 900px) and (min-width: 761px) {
    .nav-index {
        gap: 0;
    }

    .nav-index a,
    .topbar.on-light .nav-index a {
        padding-inline: 3px;
        font-size: .46rem;
        letter-spacing: .1em;
    }

    .topbar,
    .topbar.on-light {
        padding-right: 36px;
        padding-left: 10px;
    }

    #hero .hero-title {
        font-size: clamp(5.2rem, 13vw, 8rem);
    }

    #hero .hero-visual {
        width: 40%;
    }
}

@media (max-width: 760px) {
    .site-header {
        min-height: 58px;
        padding-inline: 16px;
    }

    .site-header .brand {
        font-size: .75rem;
    }

    .site-header .brand-mark {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }

    .theme-toggle {
        top: 13px;
        right: 16px;
    }

    .nav-toggle {
        position: absolute;
        top: 11px;
        right: 54px;
        display: inline-flex;
        width: 34px;
        height: 34px;
        min-height: 34px;
        border: 1px solid rgba(23, 24, 27, .12);
        border-radius: 3px;
        background: transparent;
        color: #17181b;
        box-shadow: none;
    }

    .nav-toggle span {
        left: 8px;
        width: 16px;
    }

    .topbar,
    .topbar.on-light {
        position: absolute;
        inset: 58px 0 auto;
        width: 100%;
        height: auto;
        padding: 0;
        background: transparent;
    }

    .site-header .topbar .nav-index,
    .site-header .topbar.on-light .nav-index {
        position: static;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 16px 14px;
        border-top: 1px solid rgba(23, 24, 27, .08);
        background: #f2f3f5;
    }

    .site-header .topbar::before {
        display: none;
        content: none;
    }

    .site-header .topbar .nav-index a,
    .site-header .topbar.on-light .nav-index a {
        width: 100%;
        flex: 0 0 auto;
        padding: 11px 5px;
        font-size: .62rem;
        letter-spacing: .1em;
    }

    .site-header .topbar.is-open .nav-index,
    .site-header .topbar.on-light.is-open .nav-index {
        display: flex;
    }

    .nav-index a,
    .topbar.on-light .nav-index a {
        width: 100%;
        padding: 11px 5px;
        border-bottom: 1px solid rgba(23, 24, 27, .07);
        color: #54575d;
        font-size: .62rem;
        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);
    }

    #hero.hero {
        min-height: 680px;
    }

    #hero .hero-visual {
        top: 10%;
        right: 4%;
        bottom: auto;
        width: 55%;
        height: 34%;
    }

    .hero-photo-caption {
        right: 10px;
        bottom: 10px;
        left: 10px;
        font-size: .42rem;
        letter-spacing: .1em;
    }

    .hero-content {
        top: 44%;
        left: 5%;
        width: 90%;
    }

    .hero-kicker {
        font-size: .53rem;
        letter-spacing: .22em;
    }

    #hero .hero-title {
        margin-top: 7px;
        font-size: clamp(4.4rem, 19vw, 8.6rem);
    }

    #hero .hero-org {
        margin-top: 4px;
        font-size: .58rem;
    }

    .hero-description {
        width: auto;
        max-width: 32rem;
        font-size: .82rem;
    }

    .hero-actions {
        margin-top: 14px;
    }

    .hero-cta {
        min-height: 34px;
        padding-inline: 11px;
        font-size: .52rem;
    }

    .hero-scroll {
        right: 8%;
        bottom: 15%;
    }

    .hero-ticker {
        bottom: 6%;
        gap: 18px;
        min-height: 38px;
        font-size: 1.1rem;
    }

    html:not([data-theme="light"]) .nav-toggle {
        border-color: rgba(255, 255, 255, .18);
        color: #f2f3f5;
    }

    html:not([data-theme="light"]) .nav-index {
        border-color: rgba(255, 255, 255, .1);
        background: var(--bg-main);
    }

    html:not([data-theme="light"]) .nav-index a {
        border-color: rgba(255, 255, 255, .1);
        color: #dedfe1;
    }
}

@media (max-width: 420px) {
    #hero .hero-visual {
        width: 62%;
        height: 32%;
    }

    .hero-content {
        top: 42%;
    }

    #hero .hero-title {
        font-size: 18vw;
    }

    .hero-description {
        max-width: 90%;
        font-size: .76rem;
    }

    .hero-scroll {
        display: none;
    }
}

/* ---------- Theme-aware component overrides ---------- */
body {
    background: var(--bg-main);
    color: var(--text-main);
}

#hero.hero {
    background: var(--bg-main);
    color: var(--text-main);
}

.team-card {
    background: var(--surf-1);
    color: var(--text-main);
}

.category-items .cell {
    color: var(--text-main);
}

.reg-card {
    border-color: var(--edge-1);
    background: var(--surf-1);
    color: var(--text-main);
}

.reg-card input,
.reg-card select {
    border-color: var(--edge-1);
    background: var(--bg-main);
    color: var(--text-main);
}

.initiate {
    color: var(--text-main);
}

/* Keep the Contact footer on the same gold palette and let legal content flow
   before the signature instead of clipping beneath an absolutely positioned footer. */
.initiate {
    background: var(--bg-main);
    color: var(--text-main);
    overflow-x: hidden;
}

.scatter,
.scatter .glyph.slash {
    color: var(--gold);
}

.contact-grid {
    border-top-color: var(--edge-1);
}

.contact-item {
    border-right-color: var(--edge-1);
}

.contact-item h3,
.contact-item a:hover,
.contact-item a:focus-visible {
    color: var(--gold);
}

.contact-item a {
    text-decoration-color: var(--gold-soft);
}

.legal-section {
    background: var(--surf-1);
    color: var(--text-main);
}

.legal-wrap {
    border-top-color: var(--edge-1);
}

.legal-item summary {
    color: var(--gold);
}

.legal-content {
    color: var(--text-muted);
}

.sig-foot {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    border-top: 1px solid var(--edge-1);
    color: var(--text-muted);
}

.sig-foot a {
    border-bottom-color: var(--gold);
    color: var(--gold);
}

html:not([data-theme="light"]) body {
    background:
        radial-gradient(ellipse at 12% 0, rgba(106, 169, 255, .07), transparent 35%),
        var(--bg-main);
}

html:not([data-theme="light"]) .site-header {
    background: rgba(8, 23, 45, .96);
}

html:not([data-theme="light"]) #hero .hero-kicker,
html:not([data-theme="light"]) #hero .hero-org {
    color: #c1c6cb !important;
    -webkit-text-fill-color: #c1c6cb !important;
}

html:not([data-theme="light"]) .hero-ticker {
    border-top-color: rgba(255, 255, 255, .12);
    color: #aeb5bb;
}

html:not([data-theme="light"]) .hero-scroll {
    color: #c1c6cb;
}

html:not([data-theme="light"]) .hero-scroll b {
    color: #f2f3f5;
}

html[data-theme="light"] body {
    background: var(--bg-main);
}

html[data-theme="light"] .site-header {
    background: rgba(238, 244, 252, .96);
}

html[data-theme="light"] .hero-ticker {
    border-top-color: rgba(24, 52, 84, .14);
    color: #72777b;
}

html[data-theme="light"] .hero-scroll {
    color: #59656b;
}

html[data-theme="light"] .hero-scroll b {
    color: #183454;
}

/* Team flip cards */
.team-card {
    display: block;
    height: 340px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    perspective: 1000px;
    cursor: pointer;
}

.team-card:hover {
    transform: none;
    box-shadow: none;
}

.team-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform .6s cubic-bezier(.4, .2, .2, 1);
    transform-style: preserve-3d;
}

.team-card:hover .team-card-inner,
.team-card:focus-visible .team-card-inner,
.team-card.is-flipped .team-card-inner {
    transform: rotateY(180deg);
}

.team-face {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 20px;
    border: 1px solid var(--edge-1);
    border-radius: 18px;
    background: var(--surf-1);
    box-shadow: 0 12px 34px rgba(0, 0, 0, .2);
    color: var(--text-main);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.team-back {
    gap: 14px;
    transform: rotateY(180deg);
    background: var(--surf-2);
    overflow-y: auto;
}

.team-back p {
    flex: none;
    margin: 0;
    opacity: .92;
}

.team-card:focus-visible {
    outline: 2px solid #FFAE42;
    outline-offset: 4px;
    border-radius: 18px;
}

html[data-theme="light"] .team-face {
    background: #fff;
    box-shadow: 0 10px 30px rgba(20, 43, 77, .14);
}

html[data-theme="light"] .team-back {
    background: #f7f1e3;
}

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

/* Moving ticker */
.hero-ticker {
    bottom: 0;
    display: block;
    padding: 0;
    min-height: 0;
}

.ticker-track {
    display: flex;
    width: max-content;
    padding: 12px 0;
    animation: ticker-left 28s linear infinite;
}

.ticker-group {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: clamp(14px, 2.8vw, 42px);
    padding-right: clamp(14px, 2.8vw, 42px);
}

@keyframes ticker-left {
    to {
        transform: translateX(-50%);
    }
}

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

/* ===== Premium polish: refined gold, serif display, hairlines ===== */
:root {
    --gold: #FFAE42;
    --gold-soft: rgba(255, 174, 66, .32);
    --gold-faint: rgba(255, 174, 66, .14);
    --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

html[data-theme="light"] {
    --gold: #FFAE42;
    --gold-soft: rgba(255, 174, 66, .38);
    --gold-faint: rgba(255, 174, 66, .12);
}

/* Header */
.site-header {
    border-bottom: 1px solid var(--gold-soft) !important;
    backdrop-filter: blur(14px);
}

.site-header .brand {
    font-family: var(--serif);
    letter-spacing: .14em;
}

.site-header .brand-mark {
    border-color: var(--gold);
}

.site-header .topbar .nav-index a {
    letter-spacing: .18em;
}

.site-header .topbar .nav-index a[aria-current="page"],
.site-header .topbar.on-light .nav-index a[aria-current="page"] {
    box-shadow: inset 0 -1px var(--gold);
    color: var(--gold);
}

.theme-toggle {
    border-color: var(--gold-soft);
    border-radius: 50%;
}

/* Hero: gold replaces lime */
#hero .hero-title b {
    color: var(--gold) !important;
    -webkit-text-fill-color: var(--gold) !important;
}

.hero-ticker {
    border-top-color: var(--gold-soft);
}

.hero-ticker i {
    color: var(--gold);
    font-family: var(--serif);
    font-style: italic;
}

.hero-cta {
    border-color: var(--gold-soft);
    color: var(--text-main);
    letter-spacing: .2em;
    transition: all .3s ease;
}

.hero-cta:hover {
    border-color: var(--gold);
    background: transparent;
    color: var(--gold);
}

.hero-cta-primary {
    border-color: var(--gold);
    background: #FFAE42;
    color: #1a1407;
}

.hero-cta-primary:hover {
    background: transparent;
    color: var(--gold);
}

.hero-visual img {
    filter: saturate(.92) contrast(1.04);
}

/* Section headings: serif with gold hairline */
.legal-intro h2,
.team-heading h2,
.reveal h2,
.category-heading h3,
.gal-title {
    font-family: var(--serif);
    font-weight: 600;
    letter-spacing: .01em;
    text-transform: none;
    color: var(--text-main);
    -webkit-text-fill-color: currentColor;
    text-shadow: none;
}

.reveal h2 i,
.legal-intro h2 i {
    color: var(--gold);
    -webkit-text-fill-color: var(--gold);
}

.mono-label {
    position: relative;
    color: var(--gold) !important;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .32em;
    text-transform: uppercase;
}

.legal-intro .mono-label,
.team-heading .mono-label {
    display: inline-block;
    padding: 0 38px;
}

.legal-intro .mono-label::before,
.legal-intro .mono-label::after,
.team-heading .mono-label::before,
.team-heading .mono-label::after {
    position: absolute;
    top: 50%;
    width: 26px;
    height: 1px;
    background: var(--gold);
    content: '';
}

.legal-intro .mono-label::before,
.team-heading .mono-label::before {
    left: 0;
}

.legal-intro .mono-label::after,
.team-heading .mono-label::after {
    right: 0;
}

/* Cards */
.team-face,
.reg-card,
.product-card,
.category-items .cell,
.gal-video-card,
.mission-card {
    border: 1px solid var(--gold-soft);
    border-radius: 6px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .22), inset 0 1px 0 var(--gold-faint);
}

html[data-theme="light"] .team-face,
html[data-theme="light"] .reg-card,
html[data-theme="light"] .product-card {
    box-shadow: 0 16px 40px rgba(60, 42, 10, .12), inset 0 1px 0 rgba(255, 255, 255, .8);
}

.team-avatar {
    border: 2px solid var(--gold);
    box-shadow: 0 0 0 5px var(--gold-faint);
}

.team-front h3 {
    font-family: var(--serif);
    font-weight: 600;
}

.team-role {
    border: 1px solid var(--gold-soft);
    background: transparent !important;
    color: var(--gold) !important;
    letter-spacing: .2em;
}

.team-back p {
    font-family: var(--serif);
    font-style: italic;
    line-height: 1.75;
}

.team-card:focus-visible {
    outline-color: var(--gold);
}

/* Buttons */
.add-to-cart,
.checkout-btn {
    border: 1px solid var(--gold);
    border-radius: 2px;
    background: #FFAE42;
    color: #1a1407;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    transition: filter .25s ease, transform .25s ease;
}

.add-to-cart:hover,
.checkout-btn:hover:not(:disabled) {
    background: #FFAE42;
    color: #1a1407;
    filter: brightness(1.05);
    transform: translateY(-1px);
}

.product-price,
.cell-cat,
.achievement-year {
    color: var(--gold);
}

/* Gallery */
.gal-item {
    border: 1px solid var(--gold-soft);
}

.gal-chip.is-active {
    border-color: var(--gold);
    background: var(--gold);
    color: #1a1407;
}

.gal-arrow {
    border-color: var(--gold-soft);
    color: var(--gold);
}

/* Smooth, consistent focus and selection */
.reveal-cap h2,
.reveal-cap h2 i,
.matrix-cap h2,
.contact-wrap h2 {
    font-family: var(--serif) !important;
    font-style: normal;
    font-weight: 600 !important;
    letter-spacing: .005em !important;
    text-transform: none !important;
    text-shadow: none !important;
    -webkit-text-stroke: 0 !important;
    filter: none !important;
}

.reveal-cap h2 {
    color: var(--text-main) !important;
    -webkit-text-fill-color: var(--text-main) !important;
}

.reveal-cap h2 i {
    color: var(--gold) !important;
    -webkit-text-fill-color: var(--gold) !important;
    font-style: italic;
}

.reveal-cap p {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 1.05rem;
    line-height: 1.85;
    letter-spacing: 0 !important;
    text-shadow: none !important;
    text-transform: none !important;
    color: var(--text-main);
    opacity: .82;
}

/* Match the About Us heading to the Services section heading. */
.reveal-cap > .about-section-title {
    width: 100%;
    margin: 0 0 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--gold-soft);
    color: var(--text-main) !important;
    font-family: 'Space Grotesk', 'DM Sans', sans-serif !important;
    font-size: clamp(2rem, 6vw, 4.4rem) !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: -.045em !important;
    text-align: center;
    text-transform: none !important;
    -webkit-text-fill-color: var(--text-main) !important;
}

.purpose-item {
    border: 1px solid var(--gold-soft);
    border-radius: 6px;
}

.category-heading h3,
.legal-intro h2,
.team-heading h2,
.matrix-cap h2,
.category-column .category-heading h3 {
    font-family: var(--serif) !important;
    font-size: clamp(2rem, 4.4vw, 3.4rem) !important;
    font-weight: 600 !important;
    letter-spacing: .01em !important;
    text-transform: none !important;
    text-shadow: none !important;
    -webkit-text-stroke: 0 !important;
    -webkit-text-fill-color: currentColor !important;
}

.cell-num,
.category-index,
.category-count {
    color: var(--gold) !important;
    font-family: var(--serif);
    font-style: italic;
}

.cell-name {
    letter-spacing: .14em;
}
.hero-photo-caption b {
    color: var(--gold);
    font-family: var(--serif);
    font-style: italic;
}
:focus-visible {
    outline-color: var(--gold);
}

::selection {
    background: var(--gold);
    color: #1a1407;
}

/* Interactive layer */
.scroll-progress{position:fixed;top:0;left:0;right:0;height:3px;z-index:9999;transform:scaleX(0);transform-origin:left;background:linear-gradient(90deg,var(--gold),var(--gold-soft,#FFAE42));pointer-events:none;transition:transform .12s linear}
.back-to-top{position:fixed;right:22px;bottom:22px;z-index:9000;width:46px;height:46px;border-radius:50%;border:1px solid var(--gold);background:rgba(10,14,20,.85);color:var(--gold);font-size:20px;cursor:pointer;opacity:0;transform:translateY(14px);pointer-events:none;transition:opacity .3s,transform .3s,background .2s,color .2s;backdrop-filter:blur(8px)}
.back-to-top.show{opacity:1;transform:none;pointer-events:auto}
.back-to-top:hover{background:var(--gold);color:#111}
html[data-theme="light"] .back-to-top{background:rgba(255,252,245,.92)}
.cursor-glow{position:fixed;left:0;top:0;width:360px;height:360px;margin:-180px 0 0 -180px;border-radius:50%;background:radial-gradient(circle,var(--gold-faint,rgba(255,174,66,.16)),transparent 65%);pointer-events:none;z-index:1;opacity:0;transition:opacity .4s;will-change:transform}
.cursor-glow.on{opacity:1}
.product-card,.cell,.gallery-item,.hero-photo,.purpose-item{transition:transform .25s ease,box-shadow .3s ease,border-color .3s ease}
.is-tilting{transform:perspective(800px) rotateX(var(--tilt-x,0)) rotateY(var(--tilt-y,0)) translateY(-4px)!important;box-shadow:0 18px 40px rgba(0,0,0,.28),0 0 0 1px var(--gold)!important}
.hero-cta,.add-to-cart,.checkout-btn{transition:transform .2s ease,box-shadow .3s ease,filter .2s}
.hero-cta:hover,.add-to-cart:hover,.checkout-btn:hover{filter:brightness(1.08)}
.hero-cta:active,.add-to-cart:active,.checkout-btn:active{filter:brightness(.95)}
@keyframes view-in{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
[data-page-view]:not([hidden]){animation:view-in .5s ease both}
@media (prefers-reduced-motion:reduce){[data-page-view]:not([hidden]){animation:none}.is-tilting{transform:none!important}}

/* ---------- Homepage announcements ---------- */
.announcements-section {
    position: relative;
    display: grid;
    grid-template-columns: minmax(180px, .7fr) minmax(0, 1.8fr);
    gap: clamp(20px, 5vw, 72px);
    align-items: start;
    padding: clamp(30px, 6vw, 72px) clamp(20px, 7vw, 100px);
    border-top: 1px solid var(--edge-1);
    border-bottom: 1px solid var(--edge-1);
    background: var(--surf-1);
}

.announcements-heading h2 {
    margin-top: 10px;
    font-size: clamp(1.6rem, 3vw, 2.5rem);
}

.announcements-list {
    display: grid;
    gap: 12px;
}

.announcement-card {
    padding: 18px 20px;
    border-left: 3px solid var(--accent-1);
    background: var(--surf-2);
}

.announcement-card-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
}

.announcement-card h3 {
    margin-bottom: 8px;
    font-size: 1.08rem;
}

.announcement-card time,
.product-inventory {
    color: var(--accent-1);
    font-size: .76rem;
    font-weight: 700;
}

.announcement-card p,
.announcements-empty {
    margin: 0;
    color: var(--text-main);
    opacity: .78;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.product-inventory {
    margin: 0;
}

.product-inventory.is-sold-out {
    color: var(--accent-2);
}

@media (max-width: 760px) {
    .announcements-section {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .announcement-card-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 0;
    }
}

/* Shared blue-and-gold palette */
:root {
    --bg-main: #08172d;
    --text-main: #f2f6fc;
    --accent-1: #6aa9ff;
    --accent-2: #FFAE42;
    --accent-2-bg: #0c1e36;
    --surf-1: #0d203a;
    --surf-2: #142c4c;
    --edge-1: rgba(106, 169, 255, .22);
    --edge-2: rgba(255, 174, 66, .4);
    --gold: #FFAE42;
    --gold-soft: rgba(255, 174, 66, .32);
    --gold-faint: rgba(255, 174, 66, .14);
    --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --logo-blue: #5ba3ff;
    --logo-green: #91c4ff;
    --logo-yellow: #FFAE42;
    --logo-orange: #FFAE42;
    --logo-red: #527fbd;
    --logo-purple: #FFAE42;
}

html[data-theme="light"] {
    --bg-main: #eef4fc;
    --text-main: #183454;
    --text-muted: #586e88;
    --accent-1: #2b64ad;
    --accent-2: #FFAE42;
    --accent-2-bg: #e2ebf7;
    --surf-1: #ffffff;
    --surf-2: #e5eef9;
    --edge-1: rgba(43, 100, 173, .2);
    --edge-2: rgba(255, 174, 66, .36);
    --gold: #FFAE42;
    --gold-soft: rgba(255, 174, 66, .32);
    --gold-faint: rgba(255, 174, 66, .12);
    --logo-blue: #245c9f;
    --logo-green: #5b83b8;
    --logo-yellow: #FFAE42;
    --logo-orange: #FFAE42;
    --logo-red: #416caa;
    --logo-purple: #FFAE42;
}

body {
    color: var(--text-main);
    font-family: 'DM Sans', sans-serif;
    background:
        radial-gradient(ellipse at 12% 0, rgba(106, 169, 255, .07), transparent 35%),
        var(--bg-main);
}

.site-header .brand {
    color: var(--text-main);
    font-family: 'Space Grotesk', 'DM Sans', sans-serif;
}

.brand-mark {
    border-color: var(--gold);
}

.site-header .topbar .nav-index a,
.site-header .topbar.on-light .nav-index a {
    color: var(--text-main);
}

.site-header .topbar .nav-index a:hover,
.site-header .topbar.on-light .nav-index a:hover {
    color: var(--gold);
}

.site-header .topbar .nav-index a[aria-current="page"],
.site-header .topbar.on-light .nav-index a[aria-current="page"] {
    box-shadow: inset 0 -2px var(--gold);
    color: var(--gold);
}

.theme-toggle {
    color: var(--gold);
}

.theme-toggle:hover {
    background: var(--gold);
    color: var(--bg-main);
}

#hero .hero-title {
    color: var(--text-main);
    font-family: 'Anton', Impact, sans-serif;
    filter: none;
    text-shadow: none;
}

#hero .hero-title > span:first-child {
    background: none;
    color: var(--text-main);
    -webkit-text-fill-color: var(--text-main);
    -webkit-text-stroke: 0;
}

#hero .hero-title b,
#hero .hero-ticker i,
.product-price,
.cell-cat,
.achievement-year,
.category-index,
.category-count {
    color: var(--gold) !important;
}

#hero .hero-title b {
    -webkit-text-fill-color: var(--gold) !important;
}

#hero .hero-org {
    background: none;
    color: var(--text-main);
    font-family: 'Space Grotesk', 'DM Sans', sans-serif;
    -webkit-text-fill-color: var(--text-main);
}

.hero-org::before,
.hero-org::after {
    display: none;
}

html:not([data-theme="light"]) #hero .hero-kicker,
html:not([data-theme="light"]) #hero .hero-org,
html:not([data-theme="light"]) .hero-description,
html:not([data-theme="light"]) .hero-scroll {
    color: var(--text-main);
    opacity: .78;
}

html:not([data-theme="light"]) #hero .hero-org {
    color: var(--text-main) !important;
    -webkit-text-fill-color: var(--text-main) !important;
}

.hero-photo-caption b {
    color: var(--gold);
}

.section-head h2,
.reveal-cap h2,
.matrix-cap h2,
.contact-wrap h2,
.legal-intro h2,
.team-heading h2,
.category-heading h3,
.announcements-heading h2,
.gal-title {
    color: var(--text-main);
    font-family: var(--serif);
    font-weight: 600;
    letter-spacing: .01em;
    text-transform: none;
    text-shadow: none;
    -webkit-text-fill-color: currentColor;
    -webkit-text-stroke: 0;
}

.section-head h2 i,
.reveal-cap h2 i,
.matrix-cap h2 i,
.contact-wrap h2 i {
    color: var(--gold);
    -webkit-text-fill-color: var(--gold);
}

.mono-label,
.reveal-cap > .mono-label,
.initiate-inner > .mono-label {
    color: var(--gold);
}

.team-card,
.purpose-item,
.announcement-card,
.reg-card,
.product-card,
.category-items .cell,
.gallery-item,
.legal-item,
.contact-item {
    border-color: var(--gold-soft);
}

.announcement-card,
.purpose-item,
.reg-card,
.product-card,
.category-items .cell,
.gallery-item,
.legal-item,
.contact-item {
    background-color: var(--surf-1);
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
:focus-visible {
    outline-color: var(--gold);
}

::selection {
    background: var(--gold);
    color: #1a1407;
}

#hero .hero-cta-primary {
    border-color: var(--gold);
    background: #FFAE42;
    color: #1a1407;
}

#hero .hero-cta-primary:hover {
    background: transparent;
    color: var(--gold);
}

html:not([data-theme="light"]) .site-header {
    background: rgba(8, 10, 14, .96);
}

html:not([data-theme="light"]) body {
    background:
        radial-gradient(ellipse at 12% 0, rgba(255, 174, 66, .055), transparent 35%),
        var(--bg-main);
}

html:not([data-theme="light"]) #hero.hero {
    background:
        radial-gradient(ellipse at 50% 40%, rgba(255, 174, 66, .1), transparent 48%),
        radial-gradient(ellipse at 84% 78%, rgba(255, 174, 66, .055), transparent 36%),
        linear-gradient(rgba(255, 174, 66, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 174, 66, .035) 1px, transparent 1px),
        var(--bg-main);
    background-size: auto, auto, 56px 56px, 56px 56px, auto;
}

html:not([data-theme="light"]) .site-header .topbar .nav-index a,
html:not([data-theme="light"]) .site-header .topbar.on-light .nav-index a {
    color: var(--text-main);
}

html:not([data-theme="light"]) .hero-ticker {
    border-top-color: var(--gold-soft);
}

html[data-theme="light"] body {
    background: var(--bg-main);
}

html[data-theme="light"] .site-header {
    background: rgba(247, 244, 236, .96);
}

html[data-theme="light"] .site-header .brand,
html[data-theme="light"] .site-header .topbar .nav-index a,
html[data-theme="light"] .site-header .topbar.on-light .nav-index a {
    color: var(--text-main);
}

html[data-theme="light"] #hero .hero-title,
html[data-theme="light"] #hero .hero-title > span:first-child {
    color: var(--text-main);
    -webkit-text-fill-color: var(--text-main);
}

html[data-theme="light"] #hero.hero {
    background:
        radial-gradient(ellipse at 82% 34%, rgba(255, 174, 66, .09), transparent 42%),
        linear-gradient(rgba(255, 174, 66, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 174, 66, .045) 1px, transparent 1px),
        var(--bg-main);
    background-size: auto, 56px 56px, 56px 56px, auto;
}

html[data-theme="light"] #hero .hero-org {
    color: var(--text-main) !important;
    -webkit-text-fill-color: var(--text-main) !important;
}

html[data-theme="light"] #hero .hero-title b {
    color: var(--gold) !important;
    -webkit-text-fill-color: var(--gold) !important;
}

html[data-theme="light"] #hero .hero-cta-primary:hover {
    color: var(--gold);
}

html[data-theme="light"] .announcements-section {
    background: var(--surf-1);
}

/* Extend the robotics reference styling across homepage sections. */
.section-head p,
.reveal-cap p,
.purpose-item p,
.team-front p,
.team-back p,
.cell-detail,
.gal-item figcaption,
.legal-content,
.contact-meta,
.announcement-card p,
.announcements-empty,
.reg-card label,
.receipt-meta {
    color: var(--text-muted);
}

.reveal,
.matrix-wrap,
.legal-section {
    background:
        linear-gradient(180deg, transparent, rgba(255, 174, 66, .025) 48%, transparent);
}

.purpose-item,
.team-face,
.team-back,
.category-items .cell,
.reg-card,
.product-card,
.gal-item,
.gal-video-card,
.legal-item,
.contact-item,
.announcement-card {
    border: 1px solid var(--gold-soft);
    border-radius: 6px;
    background: var(--surf-1);
    color: var(--text-main);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .22), inset 0 1px 0 var(--gold-faint);
}

.team-card {
    border: 0;
    background: transparent;
    box-shadow: none;
}

.team-avatar {
    border-color: var(--gold);
    box-shadow: 0 0 0 5px var(--gold-faint);
}

.team-front h3,
.category-heading h3,
.legal-item summary,
.announcement-card h3,
.reg-card h3 {
    font-family: var(--serif);
    font-weight: 600;
}

.team-role,
.gal-chip,
.contact-icon {
    border-color: var(--gold-soft);
    color: var(--gold);
}

.team-role {
    background: transparent;
}

.category-heading {
    border-color: var(--gold-soft);
}

.category-items .cell {
    overflow: hidden;
}

.category-items .cell-num,
.category-items .cell-cat,
.cell-detail a,
.product-inventory,
.achievement-year,
.gal-title,
.contact-item h3,
.contact-link:hover {
    color: var(--gold);
}

.category-items .cell-media::after {
    background: linear-gradient(180deg, rgba(3, 6, 11, .5), rgba(3, 6, 11, .92));
}

.team-table-wrap,
.legal-wrap,
.legal-item,
.contact-item,
.reg-card,
.product-card {
    border-color: var(--gold-soft);
}

.team-table thead th {
    background: var(--surf-2);
    color: var(--gold);
}

.team-table th,
.team-table td,
.legal-wrap,
.purpose-grid {
    border-color: var(--edge-1);
}

.add-to-cart,
.checkout-btn {
    border: 1px solid var(--gold);
    border-radius: 2px;
    background: #FFAE42;
    color: #1a1407;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.add-to-cart:hover,
.checkout-btn:hover:not(:disabled) {
    background: #FFAE42;
    color: #1a1407;
}

.gal-chip.is-active {
    border-color: var(--gold);
    background: var(--gold);
    color: #1a1407;
}

.gal-arrow {
    border-color: var(--gold-soft);
    color: var(--gold);
}

.reg-card input,
.reg-card select,
.reg-card textarea {
    border-color: var(--edge-1);
    background: var(--bg-main);
    color: var(--text-main);
}

.reg-card select option {
    background: var(--surf-1);
    color: var(--text-main);
}

.site-footer,
footer {
    border-color: var(--gold-soft);
    background: var(--bg-main);
    color: var(--text-muted);
}

html:not([data-theme="light"]) .site-header .brand-name {
    color: var(--gold);
}

html:not([data-theme="light"]) .topbar,
html:not([data-theme="light"]) .topbar.on-light,
html:not([data-theme="light"]) .topbar.is-open,
html:not([data-theme="light"]) .topbar.on-light.is-open {
    border-color: var(--gold-soft);
    background: rgba(3, 6, 11, .97);
}

html:not([data-theme="light"]) .hero-ticker,
html:not([data-theme="light"]) #hero .hero-scroll {
    color: var(--text-muted);
}

html:not([data-theme="light"]) .team-back,
html:not([data-theme="light"]) .reg-pass-card {
    background: var(--surf-2);
}

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-front p,
html[data-theme="light"] .team-back p,
html[data-theme="light"] .cell-detail,
html[data-theme="light"] .legal-content,
html[data-theme="light"] .contact-meta {
    color: var(--text-muted) !important;
}

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-color: var(--gold-soft);
    background: rgba(247, 244, 236, .98);
}

html[data-theme="light"] .team-face,
html[data-theme="light"] .team-back,
html[data-theme="light"] .reg-card,
html[data-theme="light"] .product-card,
html[data-theme="light"] .category-items .cell,
html[data-theme="light"] .legal-item,
html[data-theme="light"] .contact-item,
html[data-theme="light"] .announcement-card {
    background: var(--surf-1);
    box-shadow: 0 16px 40px rgba(60, 42, 10, .12), inset 0 1px 0 rgba(255, 255, 255, .8);
}

html[data-theme="light"] .team-table tbody tr:nth-child(even) {
    background: rgba(255, 174, 66, .05);
}

html[data-theme="light"] .team-table th,
html[data-theme="light"] .team-table td {
    border-top-color: var(--edge-1);
}

html[data-theme="light"] .category-items .cell-media::after {
    background: linear-gradient(180deg, rgba(34, 32, 27, .22), rgba(34, 32, 27, .84));
}

html[data-theme="light"] .gal-chip.is-active {
    color: #1a1407;
}

html[data-theme="light"] .reg-card input,
html[data-theme="light"] .reg-card select,
html[data-theme="light"] .reg-card textarea {
    background: #fffdf8;
    color: var(--text-main);
}

html[data-theme="light"] .site-footer,
html[data-theme="light"] footer {
    background: var(--bg-main);
    color: var(--text-muted);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

.site-header {
    border-color: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

html[data-theme="light"] .site-header,
html:not([data-theme="light"]) .site-header,
.site-header .topbar,
.site-header .topbar.on-light,
.site-header .nav-index {
    background: #091e3c !important;
    box-shadow: none;
}

.site-search-form {
    position: absolute;
    top: 15px;
    right: 58px;
    z-index: 2;
    width: 76px;
    height: 30px;
    transition: width .28s ease;
}

.site-search-form.is-open {
    width: 190px;
}

.site-search-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.site-search-form input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 30px;
    padding: 0 36px 0 12px;
    border: 1px solid var(--gold-soft);
    border-radius: 18px;
    outline: none;
    background: rgba(7, 20, 38, .42);
    color: var(--text-main);
    font: 500 .72rem 'DM Sans', 'Segoe UI', sans-serif;
    opacity: 0;
    transition: opacity .16s ease, border-color .2s ease, box-shadow .2s ease;
}

.site-search-form.is-open input {
    opacity: 1;
}

.site-search-form input::placeholder {
    color: var(--text-muted);
}

.site-search-form input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 2px var(--gold-faint);
}

.site-search-toggle {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    display: inline-flex;
    height: 30px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0 7px;
    border: 0;
    border-radius: 15px;
    background: transparent;
    color: var(--text-main);
    font: 500 .72rem 'DM Sans', 'Segoe UI', sans-serif;
    cursor: pointer;
}

.site-search-toggle:hover,
.site-search-toggle:focus-visible {
    color: var(--gold);
}

.site-search-toggle svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

.site-search-form.is-open .site-search-toggle {
    width: 30px;
    padding: 0;
    color: var(--text-muted);
}

.site-search-form.is-open .site-search-toggle span {
    display: none;
}

.site-header .topbar,
.site-header .topbar.on-light {
    position: relative;
    z-index: 1;
    padding-right: 210px;
}

.site-search-results {
    position: absolute;
    top: 38px;
    right: 0;
    width: min(280px, calc(100vw - 32px));
    overflow: auto;
    border: 1px solid var(--gold-soft);
    border-radius: 8px;
    background: rgba(7, 20, 38, .98);
    color: var(--text-main);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .35);
}

.site-search-results[hidden] {
    display: none;
}

.site-search-results > p {
    padding: 12px;
    font-size: .75rem;
}

.site-search-results ul {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 6px;
    list-style: none;
}

.site-search-results a {
    display: block;
    padding: 10px 12px;
    border: 1px solid transparent;
    border-radius: 6px;
    color: var(--text-main);
}

.site-search-results a:hover,
.site-search-results a:focus-visible {
    border-color: var(--gold-soft);
    background: var(--gold-faint);
    color: var(--gold);
}

@media (max-width: 760px) {
    .site-header .topbar,
    .site-header .topbar.on-light {
        position: absolute;
        padding-right: 0;
    }

    .site-search-form {
        right: 94px;
        width: 76px;
    }

    .site-search-form.is-open {
        width: min(190px, calc(100vw - 190px));
    }
}

@media (max-width: 420px) {
    .site-search-form.is-open {
        width: min(164px, calc(100vw - 190px));
    }
}

@media (min-width: 761px) and (max-width: 820px) {
    .site-header .topbar,
    .site-header .topbar.on-light {
        position: absolute;
        inset: 58px 0 auto;
        width: 100%;
        height: auto;
        padding: 0;
    }

    .site-header .topbar .nav-index,
    .site-header .topbar.on-light .nav-index {
        position: static;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 16px 14px;
        border-top: 1px solid rgba(23, 24, 27, .08);
    }

    .site-header .topbar.is-open .nav-index,
    .site-header .topbar.on-light.is-open .nav-index {
        display: flex;
    }

    .site-header .topbar .nav-index a,
    .site-header .topbar.on-light .nav-index a {
        width: 100%;
        flex: 0 0 auto;
        padding: 11px 5px;
        font-size: .62rem;
        letter-spacing: .1em;
        text-align: left;
    }

    .nav-toggle {
        position: absolute;
        top: 11px;
        right: 54px;
        display: inline-flex;
        width: 34px;
        height: 34px;
        min-height: 34px;
        border: 1px solid rgba(23, 24, 27, .12);
        border-radius: 3px;
        background: transparent;
        color: #17181b;
        box-shadow: none;
    }

    .nav-toggle span {
        left: 8px;
        width: 16px;
    }

    .theme-toggle {
        top: 13px;
        right: 16px;
    }

    .site-search-form {
        right: 94px;
    }
}

@media (max-width: 760px) {
    #hero.hero {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
    }

    #hero .hero-content {
        position: relative;
        top: auto;
        right: auto;
        left: auto;
        order: 1;
        width: min(90%, 520px);
        margin: clamp(72px, 10vh, 88px) auto 0;
    }

    #hero .hero-visual {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        order: 2;
        width: min(72%, 300px);
        height: clamp(190px, 30vh, 245px);
        margin: 8px auto 62px;
    }
}

@media (max-width: 820px) {
    .site-header .nav-toggle {
        z-index: 3;
    }

    .site-header .nav-toggle span {
        height: 2px;
        border-radius: 2px;
        background: currentColor;
    }

    .site-header .nav-toggle {
        border-color: rgba(255, 255, 255, .56) !important;
        background-color: rgba(12, 15, 20, .94) !important;
        color: #fff !important;
    }
}

.site-header .topbar .nav-index a[aria-current="page"],
.site-header .topbar.on-light .nav-index a[aria-current="page"] {
    border-radius: 999px;
    background: var(--gold-faint) !important;
    color: var(--gold) !important;
}

/* Tonemaki-inspired charcoal, coral, cream, and electric-green theme. */
:root {
    --bg-main: #121212;
    --text-main: #f5f2e9;
    --text-muted: #b7b3aa;
    --accent-1: #ff7055;
    --accent-2: #45f582;
    --accent-2-bg: #19251d;
    --surf-1: #1b1b1b;
    --surf-2: #252525;
    --edge-1: rgba(245, 242, 233, .16);
    --edge-2: rgba(255, 112, 85, .7);
    --gold: #ff7055;
    --gold-soft: rgba(255, 112, 85, .28);
    --gold-faint: rgba(255, 112, 85, .1);
}

html[data-theme="light"] {
    --bg-main: #f5f2e9;
    --text-main: #171717;
    --text-muted: #625f59;
    --accent-1: #d84f39;
    --accent-2: #20cf63;
    --accent-2-bg: #e4f2e7;
    --surf-1: #fffdf7;
    --surf-2: #ebe7dc;
    --edge-1: rgba(23, 23, 23, .16);
    --edge-2: rgba(216, 79, 57, .7);
    --gold: #d84f39;
    --gold-soft: rgba(216, 79, 57, .24);
    --gold-faint: rgba(216, 79, 57, .08);
}

html:not([data-theme="light"]) body,
html[data-theme="light"] body {
    background: var(--bg-main);
    color: var(--text-main);
}

html:not([data-theme="light"]) #hero.hero,
html[data-theme="light"] #hero.hero {
    background:
        radial-gradient(ellipse at 50% 42%, rgba(255, 112, 85, .08), transparent 48%),
        var(--bg-main);
    color: var(--text-main);
}

.site-header {
    border-color: var(--edge-1);
    border-radius: 999px;
    background: rgba(18, 18, 18, .9);
    box-shadow: 0 12px 36px rgba(0, 0, 0, .2);
}

html[data-theme="light"] .site-header {
    background: rgba(245, 242, 233, .92);
    box-shadow: 0 12px 36px rgba(23, 23, 23, .08);
}

.hero-content {
    top: 20%;
    left: 50%;
    width: min(90%, 1000px);
    transform: translateX(-50%);
    text-align: center;
}

#hero .hero-kicker,
#hero .hero-org {
    color: var(--text-muted);
}

#hero .hero-title {
    margin: 14px 0 0;
    color: var(--text-main);
    font-size: clamp(4.5rem, 14vw, 11rem);
    letter-spacing: -.035em;
    line-height: .95;
    text-align: center;
}

#hero .hero-title b {
    color: var(--accent-1) !important;
    -webkit-text-fill-color: var(--accent-1) !important;
}

#hero .hero-org {
    margin: 12px 0 18px;
    color: var(--text-main) !important;
    -webkit-text-fill-color: var(--text-main) !important;
}

.hero-description {
    width: min(90%, 590px);
    max-width: 590px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: clamp(.9rem, 1.3vw, 1.05rem);
}

.hero-actions {
    justify-content: center;
    gap: 12px;
    margin-top: 26px;
}

#hero .hero-cta {
    min-height: 46px;
    padding: 0 22px;
    border-color: var(--edge-1);
    border-radius: 999px;
    color: var(--text-main);
    font-size: .68rem;
    letter-spacing: .08em;
}

#hero .hero-cta-primary,
#hero .hero-cta-primary:hover {
    border-color: var(--accent-2);
    background: var(--accent-2);
    color: #101510;
}

#hero .hero-cta-secondary:hover {
    border-color: var(--accent-1);
    background: var(--accent-1);
    color: #17110f;
}

#hero .hero-visual {
    top: 8%;
    right: 50%;
    bottom: 14%;
    width: min(72%, 820px);
    transform: translateX(50%);
    opacity: .22;
    filter: saturate(.65);
}

.hero-ticker {
    border-top-color: var(--gold-soft);
    color: var(--text-muted);
}

.hero-ticker i,
.mono-label,
.section-head h2 i,
.reveal-cap h2 i {
    color: var(--accent-1);
}

.purpose-item,
.team-face,
.team-back,
.category-items .cell,
.reg-card,
.product-card,
.gal-item,
.gal-video-card,
.legal-item,
.contact-item,
.announcement-card {
    border-color: var(--gold-soft);
    background-color: var(--surf-1);
    color: var(--text-main);
}

.theme-toggle {
    border: 1px solid var(--edge-1);
}

html[data-theme="light"] .theme-toggle {
    background: var(--surf-2);
}

@media (max-width: 820px) {
    .hero-content {
        top: 19%;
        width: min(92%, 680px);
    }

    #hero .hero-title {
        font-size: clamp(4rem, 15vw, 7rem);
    }

    #hero .hero-visual {
        width: 100%;
        opacity: .17;
    }
}

@media (max-width: 480px) {
    .hero-content {
        top: 17%;
    }

    #hero .hero-title {
        font-size: clamp(3.6rem, 16vw, 5rem);
    }

    .hero-description {
        width: 100%;
    }

    #hero .hero-cta {
        padding: 0 16px;
        font-size: .62rem;
    }
}

#hero .hero-title {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Space Grotesk', 'DM Sans', sans-serif;
    font-weight: 700;
    letter-spacing: -.075em;
}

/* Keep the organization label aligned with the centered hero title. */
#hero .hero-org {
    text-align: center;
}

#hero .hero-title .hero-title-letter {
    display: inline-block;
    color: var(--text-main);
    -webkit-text-fill-color: currentColor;
    transform: rotate(var(--letter-tilt, 0deg));
    transform-origin: 50% 70%;
    animation: kinetix-letter-intro .8s cubic-bezier(.2, .8, .2, 1.35) both;
    animation-delay: calc(var(--letter-index, 0) * 75ms);
    will-change: transform, opacity;
    transition: color .2s ease, transform .25s cubic-bezier(.2, .8, .2, 1.3);
}

#hero .hero-title .hero-title-letter:nth-child(1) {
    --letter-index: 0;
    --letter-tilt: -3deg;
    color: #ff7055;
}

#hero .hero-title .hero-title-letter:nth-child(2) {
    --letter-index: 1;
    --letter-tilt: 2deg;
    color: #fff8e7;
}

#hero .hero-title .hero-title-letter:nth-child(3) {
    --letter-index: 2;
    --letter-tilt: -2deg;
    color: #8cc951;
}

#hero .hero-title .hero-title-letter:nth-child(4) {
    --letter-index: 3;
    --letter-tilt: 2deg;
    color: #ff7055;
}

#hero .hero-title .hero-title-letter:nth-child(5) {
    --letter-index: 4;
    --letter-tilt: -1deg;
    color: #fff8e7;
}

#hero .hero-title .hero-title-letter:nth-child(6) {
    --letter-index: 5;
    --letter-tilt: 3deg;
    color: #f16d79;
}

#hero .hero-title .hero-title-letter:nth-child(7) {
    --letter-index: 6;
    --letter-tilt: -2deg;
    color: #fff8e7;
}

#hero .hero-title .hero-title-letter:hover {
    transform: translateY(-.12em) rotate(0deg) scale(1.08);
}

@keyframes kinetix-letter-intro {
    from {
        opacity: 0;
        transform: translateY(.55em) rotate(calc(var(--letter-tilt, 0deg) - 18deg)) scale(.72);
    }

    to {
        opacity: 1;
        transform: translateY(0) rotate(var(--letter-tilt, 0deg)) scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    #hero .hero-title .hero-title-letter {
        animation: none;
        will-change: auto;
    }
}

/* Tonemaki-inspired typography with a navy and amber Kinetix palette. */
:root {
    --bg-main: #0d1b35;
    --text-main: #f4f0e6;
    --text-muted: #c0c7d1;
    --accent-1: #19365f;
    --accent-2: #d38a25;
    --accent-2-bg: #142849;
    --surf-1: #112649;
    --surf-2: #1a3458;
    --edge-1: rgba(211, 138, 37, .26);
    --edge-2: rgba(211, 138, 37, .72);
    --gold: #d38a25;
    --gold-soft: rgba(211, 138, 37, .3);
    --gold-faint: rgba(211, 138, 37, .12);
    --serif: 'Space Grotesk', 'DM Sans', sans-serif;
    --logo-blue: #19365f;
    --logo-green: #19365f;
    --logo-yellow: #d38a25;
    --logo-orange: #d38a25;
    --logo-red: #19365f;
    --logo-purple: #d38a25;
}

html[data-theme="light"] {
    --bg-main: #f4f0e6;
    --text-main: #10294d;
    --text-muted: #53627a;
    --accent-1: #19365f;
    --accent-2: #b97718;
    --accent-2-bg: #e9dfcb;
    --surf-1: #fffdf7;
    --surf-2: #eae3d5;
    --edge-1: rgba(16, 41, 77, .18);
    --edge-2: rgba(185, 119, 24, .66);
    --gold: #b97718;
    --gold-soft: rgba(185, 119, 24, .28);
    --gold-faint: rgba(185, 119, 24, .1);
    --logo-blue: #19365f;
    --logo-green: #19365f;
    --logo-yellow: #b97718;
    --logo-orange: #b97718;
    --logo-red: #19365f;
    --logo-purple: #b97718;
}

body,
body * {
    font-family: 'Space Grotesk', 'DM Sans', sans-serif !important;
}

body {
    background: var(--bg-main);
    color: var(--text-main);
}

#hero.hero,
html[data-theme="light"] #hero.hero {
    background:
        radial-gradient(ellipse at 50% 42%, rgba(211, 138, 37, .09), transparent 48%),
        var(--bg-main);
    color: var(--text-main);
}

#hero .hero-title {
    display: flex !important;
    width: 100%;
    max-width: 100%;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 14px auto 0;
    overflow: visible;
    font-family: 'Space Grotesk', 'DM Sans', sans-serif !important;
    font-size: clamp(3.8rem, 11vw, 10rem);
    font-weight: 700;
    letter-spacing: -.075em;
    line-height: .95;
    white-space: nowrap;
}

#hero .hero-title > .hero-title-letter,
#hero .hero-title > .hero-title-letter:first-child {
    display: inline-block !important;
    width: auto !important;
    max-width: none !important;
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
    background: none !important;
    background-image: none !important;
    color: var(--accent-2) !important;
    font: inherit !important;
    letter-spacing: inherit !important;
    -webkit-text-fill-color: var(--accent-2) !important;
    -webkit-text-stroke: 0 !important;
    paint-order: normal;
}

html[data-theme="light"] #hero .hero-title > .hero-title-letter:nth-child(odd) {
    color: var(--accent-1) !important;
    -webkit-text-fill-color: var(--accent-1) !important;
}

html[data-theme="light"] #hero .hero-title > .hero-title-letter:nth-child(even) {
    color: var(--accent-2) !important;
    -webkit-text-fill-color: var(--accent-2) !important;
}

#hero .hero-title .hero-title-letter {
    animation-name: kinetix-letter-intro;
    animation-duration: .72s;
    animation-timing-function: cubic-bezier(.2, .8, .2, 1.2);
    animation-delay: calc(var(--letter-index, 0) * 70ms);
    transition: color .2s ease, transform .25s cubic-bezier(.2, .8, .2, 1.2);
    will-change: transform, opacity;
}

#hero .hero-title .hero-title-letter:hover {
    color: var(--accent-2) !important;
    -webkit-text-fill-color: var(--accent-2) !important;
    transform: translateY(-.1em) rotate(0deg) scale(1.06);
}

/* Full-bleed home background video. */
#hero .hero-background-video,
#hero .hero-background-overlay {
    position: absolute;
    z-index: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

#hero .hero-background-video {
    object-fit: cover;
    opacity: .42;
}

#hero .hero-background-overlay {
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(8, 23, 45, .86), rgba(8, 23, 45, .32) 58%, rgba(8, 23, 45, .68)),
        linear-gradient(180deg, rgba(8, 23, 45, .2), rgba(8, 23, 45, .62));
}

#hero .hero-visual,
#hero .hero-content,
#hero .hero-ticker,
#hero .hero-scroll,
#hero .string-svg {
    z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
    #hero .hero-background-video {
        display: none;
    }
}

.site-header {
    border-color: var(--gold-soft) !important;
    background: rgba(13, 27, 53, .94);
}

html[data-theme="light"] .site-header {
    background: rgba(244, 240, 230, .96);
}

/* Keep the navigation background opaque over page imagery. */
.site-header,
html[data-theme="light"] .site-header,
html:not([data-theme="light"]) .site-header {
    background: color-mix(in srgb, var(--bg-main) 92%, var(--surf-1) 8%) !important;
}

.site-header .topbar,
.site-header .topbar.on-light {
    background: inherit !important;
    background-image: none !important;
}

html[data-theme="light"] .site-header .topbar,
html[data-theme="light"] .site-header .topbar.on-light,
html:not([data-theme="light"]) .site-header .topbar,
html:not([data-theme="light"]) .site-header .topbar.on-light {
    background: transparent !important;
    background-image: none !important;
}

html[data-theme="light"] .site-header .nav-index,
html:not([data-theme="light"]) .site-header .nav-index {
    background: transparent !important;
    box-shadow: none !important;
}

.site-header .nav-index a,
.site-header .topbar.on-light .nav-index a {
    padding: 9px 8px !important;
    font-size: clamp(.62rem, 1.1vw, .78rem) !important;
    letter-spacing: .12em !important;
}

/* Display Updates as part of the Events tab, not as a standalone page section. */
.category-column#events .announcements-section {
    display: block;
    padding: 20px 0 28px;
    border: 0;
    background: transparent;
}

.category-column#events .announcements-heading h2 {
    margin: 0 0 14px;
    font-size: clamp(1.35rem, 2.4vw, 2rem);
}

/* Attach the top navigation to the website edge instead of floating above it. */
.site-header {
    top: 0;
    right: 0;
    left: 0;
    border-top: 0;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none !important;
}

/* Bold, dimensional hero wordmark inspired by the supplied reference. */
#hero .hero-title {
    font-family: Impact, 'Arial Black', sans-serif !important;
    font-weight: 900 !important;
    gap: .035em;
    letter-spacing: 0;
    transform: none;
}

#hero .hero-title > .hero-title-letter,
html[data-theme="light"] #hero .hero-title > .hero-title-letter:nth-child(odd),
html[data-theme="light"] #hero .hero-title > .hero-title-letter:nth-child(even) {
    color: #ff263b !important;
    -webkit-text-fill-color: #ff263b !important;
    -webkit-text-stroke: 2px #0a1822 !important;
    paint-order: stroke fill;
    text-shadow:
        3px 3px 0 #0a1822,
        6px 6px 0 #0a1822,
        9px 9px 0 #0a1822,
        12px 12px 0 rgba(10, 24, 34, .92);
    --letter-tilt: 0deg !important;
    animation: none !important;
    transform: none !important;
}

#hero .hero-org {
    color: #ffb347 !important;
    -webkit-text-fill-color: #ffb347 !important;
    -webkit-text-stroke: 1px #0d1b35 !important;
    font-family: Impact, 'Arial Black', sans-serif !important;
    font-weight: 700;
    font-size: clamp(1rem, 2vw, 1.65rem);
    letter-spacing: .18em;
    paint-order: stroke fill;
    text-shadow:
        2px 2px 0 #0d1b35,
        4px 4px 0 #0d1b35;
}

/* Navy blue and light yellow-orange wordmark palette. */
#hero .hero-title > .hero-title-letter:nth-child(odd),
html[data-theme="light"] #hero .hero-title > .hero-title-letter:nth-child(odd) {
    color: #19365f !important;
    -webkit-text-fill-color: #19365f !important;
}

#hero .hero-title > .hero-title-letter:nth-child(even),
html[data-theme="light"] #hero .hero-title > .hero-title-letter:nth-child(even) {
    color: #ffb347 !important;
    -webkit-text-fill-color: #ffb347 !important;
}

html[data-theme="light"] #hero .hero-org {
    color: #d98200 !important;
    -webkit-text-fill-color: #d98200 !important;
    -webkit-text-stroke-color: #19365f !important;
    text-shadow:
        1px 1px 0 #19365f,
        3px 3px 0 #19365f;
}

#hero .hero-description {
    width: min(100%, 760px);
    margin-inline: auto;
    padding: 12px 18px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 10px;
    background: rgba(7, 18, 32, .68);
    color: #ffffff !important;
    font-weight: 600;
    line-height: 1.65;
    opacity: 1 !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .75);
}

/* 3D player-card team carousel. */
.team-section {
    position: relative;
    overflow: hidden;
    padding: clamp(48px, 7vw, 84px) 0;
    background: linear-gradient(135deg, #19365f, #081427 72%);
}

html[data-theme="light"] .team-section {
    background: linear-gradient(135deg, #dce9f8, #f5f8fc 72%, #e4eef9);
}

.team-section::before {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 42%, rgba(255, 179, 71, .2), transparent 42%);
    content: "";
    pointer-events: none;
}

html[data-theme="light"] .team-section::before {
    background: radial-gradient(ellipse at 50% 42%, rgba(211, 138, 37, .12), transparent 46%);
}

.team-section > * {
    position: relative;
    z-index: 1;
}

.team-heading {
    padding-inline: clamp(18px, 4vw, 46px);
    text-align: center;
}

.team-heading h2 {
    max-width: 18ch;
    margin: 12px auto 0;
    font-size: clamp(2rem, 4.5vw, 3.6rem);
    text-wrap: balance;
}

.team-section .team-grid[hidden] {
    display: none !important;
}

.team-carousel {
    width: min(100%, 1040px);
    margin: clamp(24px, 4vw, 42px) auto 0;
}

.team-player-stage {
    position: relative;
    height: clamp(390px, 48vw, 500px);
    perspective: 1400px;
    perspective-origin: 50% 42%;
    overflow: hidden;
}

.team-player-card {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: clamp(250px, 29vw, 340px);
    height: clamp(340px, 41vw, 440px);
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 179, 71, .56);
    border-radius: 10px;
    background: #0b1628;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .52), 0 0 24px rgba(255, 179, 71, .1);
    color: #fff;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(.68);
    transform-style: preserve-3d;
    transition: transform .55s cubic-bezier(.2, .75, .25, 1), opacity .45s ease, filter .45s ease, box-shadow .45s ease;
}

.team-player-card.is-active {
    z-index: 3;
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
}

.team-player-card.is-previous,
.team-player-card.is-next {
    z-index: 2;
    opacity: .68;
    pointer-events: auto;
    filter: brightness(.72) saturate(.75);
    transform: translate(calc(-50% - 245px), -50%) perspective(1100px) rotateY(30deg) scale(.78);
}

.team-player-card.is-next {
    transform: translate(calc(-50% + 245px), -50%) perspective(1100px) rotateY(-30deg) scale(.78);
}

.team-player-card.is-previous:hover,
.team-player-card.is-next:hover {
    opacity: .9;
    filter: brightness(.9);
}

.team-player-card.is-hidden {
    visibility: hidden;
}

.team-player-card:focus-visible,
.team-carousel-arrow:focus-visible,
.team-carousel-choice:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 4px;
}

.team-player-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 22%;
    filter: saturate(.88) contrast(1.08);
    user-select: none;
}

.team-player-card::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4, 12, 25, .08) 30%, rgba(4, 12, 25, .18) 48%, rgba(4, 12, 25, .96) 100%);
    content: "";
}

.team-player-content {
    position: absolute;
    z-index: 1;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    padding: 18px 20px 20px;
    text-align: left;
    transform: translateZ(32px);
}

.team-player-number {
    color: #ffb347;
    font-size: .64rem;
    font-weight: 700;
    letter-spacing: .2em;
}

.team-player-name {
    font-family: Impact, 'Arial Black', sans-serif;
    font-size: clamp(1.35rem, 2.5vw, 2rem);
    letter-spacing: .025em;
    line-height: 1.02;
    text-transform: uppercase;
    text-wrap: balance;
}

.team-player-role {
    color: #ffb347;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.team-player-description {
    margin-top: 3px;
    color: rgba(255, 255, 255, .88);
    font-size: .76rem;
    line-height: 1.5;
}

.team-carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    margin: 4px auto 20px;
}

.team-carousel-arrow {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid var(--gold-soft);
    border-radius: 50%;
    background: rgba(8, 20, 39, .8);
    color: var(--gold);
    cursor: pointer;
    font-size: 1.3rem;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.team-carousel-arrow:hover {
    background: var(--gold);
    color: #081427;
    transform: scale(1.06);
}

.team-carousel-counter {
    min-width: 68px;
    color: var(--text-main);
    font-size: .76rem;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    letter-spacing: .18em;
    text-align: center;
}

.team-carousel-selector {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 8px 8px 14px;
    scrollbar-color: var(--accent-1) var(--surf-1);
    scroll-snap-type: x mandatory;
}

.team-carousel-choice {
    display: flex;
    flex: 0 0 84px;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    padding: 5px;
    border: 1px solid rgba(255, 179, 71, .28);
    border-radius: 7px;
    background: rgba(6, 15, 29, .68);
    color: var(--text-main);
    cursor: pointer;
    opacity: .66;
    scroll-snap-align: center;
    transition: opacity .2s ease, border-color .2s ease, transform .2s ease;
}

.team-carousel-choice:hover {
    opacity: .9;
    transform: translateY(-2px);
}

.team-carousel-choice.is-selected {
    border-color: var(--gold);
    box-shadow: 0 0 0 1px var(--gold-faint);
    opacity: 1;
}

.team-carousel-choice img {
    width: 70px;
    height: 74px;
    border-radius: 4px;
    object-fit: cover;
    object-position: center 22%;
}

.team-carousel-choice span {
    max-width: 100%;
    overflow: hidden;
    font-size: .58rem;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 760px) {
    .team-player-stage {
        height: 400px;
    }

    .team-player-card {
        width: min(270px, 70vw);
        height: 360px;
    }

    .team-player-card.is-previous {
        transform: translate(calc(-50% - 160px), -50%) perspective(1100px) rotateY(28deg) scale(.74);
    }

    .team-player-card.is-next {
        transform: translate(calc(-50% + 160px), -50%) perspective(1100px) rotateY(-28deg) scale(.74);
    }

    .team-player-description {
        font-size: .7rem;
    }

    .team-carousel-selector {
        gap: 7px;
    }
}

@media (max-width: 480px) {
    .team-player-stage {
        height: 380px;
    }

    .team-player-card {
        width: min(260px, 74vw);
        height: 350px;
    }

    .team-player-card.is-previous,
    .team-player-card.is-next {
        opacity: .36;
    }

    .team-player-card.is-previous {
        transform: translate(calc(-50% - 120px), -50%) perspective(1100px) rotateY(24deg) scale(.7);
    }

    .team-player-card.is-next {
        transform: translate(calc(-50% + 120px), -50%) perspective(1100px) rotateY(-24deg) scale(.7);
    }
}

/* Match section titles to the KINETIX wordmark. */
.kinetix-display-title {
    font-family: 'Anton', Impact, 'Arial Narrow', 'Arial Black', sans-serif !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
    line-height: 1.08;
    text-transform: uppercase !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
}

.kinetix-title-letter {
    display: inline-block;
    color: var(--page-title-color) !important;
    -webkit-text-fill-color: var(--page-title-color) !important;
    -webkit-text-stroke: 2px var(--page-title-outline) !important;
    paint-order: stroke fill;
    text-shadow: var(--page-title-shadow);
}

.kinetix-title-letter.is-accent {
    color: var(--page-title-color) !important;
    -webkit-text-fill-color: var(--page-title-color) !important;
}

.team-heading h2.kinetix-display-title {
    width: 100%;
    max-width: none;
    font-size: clamp(1rem, 4.8vw, 2.4rem) !important;
    letter-spacing: -.025em !important;
    white-space: nowrap !important;
    overflow-wrap: normal;
    transform: scaleX(.88);
    transform-origin: center top;
}

.reveal-cap > .about-section-title.kinetix-display-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .14em;
    letter-spacing: .025em !important;
    white-space: nowrap !important;
}

.reveal-cap > .about-section-title.kinetix-display-title .kinetix-title-word-space {
    flex: 0 0 .55em;
}

.reveal-cap > .about-section-title.kinetix-display-title .kinetix-title-letter {
    font: inherit !important;
    letter-spacing: inherit !important;
}

@media (prefers-reduced-motion: reduce) {
    .team-player-card,
    .team-carousel-arrow,
    .team-carousel-choice {
        transition: none;
    }
}

#hero .hero-cta-primary,
#hero .hero-cta-primary:hover,
.add-to-cart,
.checkout-btn {
    border-color: var(--accent-2);
    background: var(--accent-2);
    color: #10294d;
}

#hero .hero-cta-secondary,
.hero-cta,
.add-to-cart,
.checkout-btn,
button,
input,
select,
textarea {
    font-family: 'Space Grotesk', 'DM Sans', sans-serif !important;
}

input:not([type="checkbox"]):not([type="radio"]),
textarea,
select,
.site-search-form input {
    border-color: var(--edge-1);
    background-color: var(--surf-1);
    color: var(--text-main);
    font-family: 'Space Grotesk', 'DM Sans', sans-serif !important;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease, transform .2s ease;
}

input:not([type="checkbox"]):not([type="radio"]):hover,
textarea:hover,
select:hover {
    border-color: var(--accent-1);
}

input:not([type="checkbox"]):not([type="radio"]):focus,
textarea:focus,
select:focus,
.site-search-form input:focus {
    border-color: var(--accent-2);
    background-color: var(--surf-1);
    box-shadow: 0 0 0 3px var(--gold-faint);
    outline: none;
    transform: translateY(-1px);
    animation: kinetix-input-focus .32s ease-out;
}

input::placeholder,
textarea::placeholder,
.site-search-form input::placeholder {
    color: var(--text-muted);
    opacity: .8;
}

.reg-card label:focus-within,
.billing-grid label:focus-within,
.product-flavor-picker:focus-within {
    color: var(--accent-2);
    transition: color .2s ease;
}

@keyframes kinetix-input-focus {
    0% { box-shadow: 0 0 0 0 rgba(211, 138, 37, 0); }
    65% { box-shadow: 0 0 0 4px var(--gold-faint); }
    100% { box-shadow: 0 0 0 3px var(--gold-faint); }
}

@media (max-width: 820px) {
    #hero .hero-title {
        font-size: clamp(3.5rem, 13vw, 7rem);
    }
}

@media (max-width: 480px) {
    #hero .hero-title {
        font-size: clamp(3rem, 13.5vw, 4.2rem);
        letter-spacing: -.08em;
    }
}

#products .product-carousel {
    position: relative;
    isolation: isolate;
    width: 100%;
    height: clamp(520px, 72vh, 760px);
    min-height: 520px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 22px;
    background: #315778;
    background-image:
        radial-gradient(ellipse at 68% 26%, rgba(190, 222, 247, .2), transparent 46%),
        linear-gradient(145deg, rgba(13, 39, 66, .04), rgba(12, 35, 58, .3));
    color: #fff;
    box-shadow: 0 22px 60px rgba(0, 0, 0, .22);
    transition: background-color .65s cubic-bezier(.4, 0, .2, 1), background-image .65s cubic-bezier(.4, 0, .2, 1);
}

#products .product-carousel-ghost {
    position: absolute;
    z-index: 1;
    top: 7%;
    left: 0;
    width: 100%;
    overflow: hidden;
    color: rgba(255, 255, 255, .24);
    font-family: 'Anton', Impact, sans-serif;
    font-size: clamp(5rem, 18vw, 15rem);
    font-weight: 900;
    line-height: .9;
    letter-spacing: -.04em;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
}

#products .product-carousel-stage {
    position: absolute;
    z-index: 2;
    inset: 0;
    pointer-events: none;
}

#products .product-carousel-item {
    position: absolute;
    bottom: 4%;
    left: 65%;
    display: block;
    width: min(34%, 380px);
    height: 82%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    opacity: .6;
    pointer-events: auto;
    transform: translateX(-50%) scale(.68);
    filter: blur(2px) drop-shadow(0 18px 22px rgba(0, 0, 0, .22));
    transition: left .65s cubic-bezier(.4, 0, .2, 1), bottom .65s cubic-bezier(.4, 0, .2, 1), width .65s cubic-bezier(.4, 0, .2, 1), height .65s cubic-bezier(.4, 0, .2, 1), transform .65s cubic-bezier(.4, 0, .2, 1), filter .65s cubic-bezier(.4, 0, .2, 1), opacity .65s cubic-bezier(.4, 0, .2, 1);
}

#products .product-carousel-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom center;
    -webkit-user-drag: none;
}

#products .product-carousel-item.is-current {
    z-index: 4;
    left: 67%;
    bottom: 3%;
    width: min(39%, 440px);
    height: 87%;
    opacity: 1;
    transform: translateX(-50%) scale(1);
    filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .24));
}

#products .product-carousel-item.is-previous {
    z-index: 2;
    left: 32%;
}

#products .product-carousel-item.is-next {
    z-index: 2;
    left: 94%;
}

#products .product-carousel-item.is-behind {
    z-index: 1;
    left: 50%;
    bottom: 18%;
    height: 55%;
    opacity: .4;
    filter: blur(4px) drop-shadow(0 18px 22px rgba(0, 0, 0, .18));
}

#products .product-carousel-controls {
    position: absolute;
    z-index: 6;
    top: 22px;
    right: 24px;
    display: flex;
    gap: 10px;
}

#products .product-carousel-arrow {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .88);
    border-radius: 50%;
    background: rgba(35, 24, 20, .12);
    color: #fff;
    font-size: 1.55rem;
    line-height: 1;
    cursor: pointer;
    transition: background-color .2s ease, transform .2s ease;
}

#products .product-carousel-arrow:hover {
    background: rgba(35, 24, 20, .28);
    transform: scale(1.06);
}

#products .product-carousel-info {
    position: absolute;
    z-index: 5;
    bottom: 30px;
    left: 34px;
    width: min(46%, 460px);
    text-shadow: 0 2px 12px rgba(0, 0, 0, .3);
}

#products .product-carousel-info h4 {
    margin: 0 0 8px;
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(1.1rem, 2vw, 1.65rem);
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
}

#products .product-carousel-info > p {
    max-width: 40ch;
    margin: 0 0 16px;
    color: rgba(255, 255, 255, .94);
    font-size: .92rem;
    line-height: 1.5;
}

#products .product-carousel-buy {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 14px;
}

#products .product-carousel-price {
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
}

#products .product-carousel-stock {
    color: rgba(255, 255, 255, .88);
    font-size: .82rem;
    font-weight: 600;
}

#products .product-carousel-stock.is-sold-out {
    color: #ffd1c8;
}

#products .product-carousel .product-flavor-picker {
    padding: 0;
}

#products .product-carousel .product-flavor-picker label {
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
}

#products .product-carousel .product-flavor-picker select {
    width: auto;
    max-width: 140px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, .75);
    border-radius: 4px;
    background: rgba(35, 24, 20, .16);
    color: #fff;
    font-size: .8rem;
}

#products .product-carousel .product-flavor-picker select option {
    color: #111;
}

#products .product-carousel .add-to-cart {
    min-height: 40px;
    padding: 9px 16px;
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 3px;
    background: rgba(35, 24, 20, .14);
    color: #fff;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-shadow: none;
}

#products .product-carousel .add-to-cart:hover,
#products .product-carousel .add-to-cart.is-added {
    background: rgba(35, 24, 20, .3);
}

#products .product-carousel .product-flavor-picker[hidden],
#products .product-carousel .add-to-cart[hidden] {
    display: none;
}

#products .product-carousel :focus-visible {
    outline: 3px solid #fff;
    outline-offset: 4px;
}

@media (max-width: 700px) {
    #products .product-carousel {
        height: clamp(560px, 76vh, 700px);
        min-height: 560px;
    }

    #products .product-carousel-ghost {
        top: 11%;
        font-size: clamp(4.5rem, 20vw, 8rem);
    }

    #products .product-carousel-item {
        bottom: 32%;
        left: 50%;
        width: 52%;
        height: 56%;
    }

    #products .product-carousel-item.is-current {
        left: 50%;
        bottom: 31%;
        width: 62%;
        height: 60%;
    }

    #products .product-carousel-item.is-previous {
        left: 16%;
    }

    #products .product-carousel-item.is-next {
        left: 84%;
    }

    #products .product-carousel-item.is-behind {
        bottom: 39%;
        height: 36%;
    }

    #products .product-carousel-controls {
        top: 16px;
        right: 16px;
    }

    #products .product-carousel-arrow {
        width: 42px;
        height: 42px;
    }

    #products .product-carousel-info {
        right: 16px;
        bottom: 18px;
        left: 16px;
        width: auto;
        padding-top: 12px;
        background: linear-gradient(transparent, rgba(0, 0, 0, .13));
    }

    #products .product-carousel-info > p {
        margin-bottom: 10px;
        font-size: .84rem;
    }

    #products .product-carousel-buy {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 8px;
    }

    #products .product-carousel-stock {
        grid-column: 1 / -1;
    }

    #products .product-carousel .product-flavor-picker {
        justify-content: flex-end;
        gap: 5px;
    }

    #products .product-carousel .product-flavor-picker label {
        font-size: .58rem;
    }

    #products .product-carousel .product-flavor-picker select {
        max-width: 106px;
        height: 36px;
        padding: 0 5px;
        font-size: .72rem;
    }

    #products .product-carousel .add-to-cart {
        padding: 8px 10px;
        font-size: .67rem;
        white-space: nowrap;
    }
}

@media (max-width: 360px) {
    #products .product-carousel-buy {
        grid-template-columns: auto minmax(0, 1fr);
    }

    #products .product-carousel .add-to-cart {
        grid-column: 1 / -1;
        justify-self: stretch;
    }
}

@media (prefers-reduced-motion: reduce) {
    #products .product-carousel,
    #products .product-carousel-item,
    #products .product-carousel-arrow {
        transition-duration: .01ms;
    }
}

@media (prefers-reduced-motion: reduce) {
    #hero .hero-title .hero-title-letter,
    input:not([type="checkbox"]):not([type="radio"]):focus,
    textarea:focus,
    select:focus {
        animation: none;
        transition: none;
        will-change: auto;
    }
}

@media (max-width: 760px) {
    #hero .hero-content {
        transform: none;
    }

    .team-card h3 {
        bottom: 36px;
        font-size: clamp(.68rem, 3.4vw, .86rem);
        line-height: 1.12;
        text-wrap: balance;
    }

    .team-card .team-role {
        font-size: clamp(.5rem, 2.4vw, .62rem);
        line-height: 1.25;
    }
}

@media (max-width: 420px) {
    .site-search-form.is-open {
        width: min(164px, calc(100vw - 210px));
    }
}

:root {
    --page-title-color: #d38a25;
    --page-title-outline: #a87319;
    --page-title-shadow: 1px 1px 0 rgba(111, 72, 8, .72), 2px 2px 0 rgba(111, 72, 8, .54), 4px 4px 0 rgba(9, 25, 43, .46), 0 7px 12px rgba(0, 0, 0, .2);
}

html[data-theme="light"] {
    --page-title-color: #183454;
    --page-title-outline: #eef4fc;
    --page-title-shadow: 1px 1px 0 rgba(24, 52, 84, .24), 2px 2px 0 rgba(24, 52, 84, .2), 4px 4px 0 rgba(24, 52, 84, .14), 0 6px 10px rgba(24, 52, 84, .12);
}

.kinetix-display-title {
    font-family: 'Anton', Impact, 'Arial Narrow', 'Arial Black', sans-serif !important;
    font-weight: 900 !important;
    letter-spacing: .015em !important;
}

.kinetix-title-letter,
.kinetix-title-letter.is-accent {
    color: var(--page-title-color) !important;
    -webkit-text-fill-color: var(--page-title-color) !important;
    -webkit-text-stroke-color: var(--page-title-outline) !important;
    -webkit-text-stroke-width: 1px !important;
    text-shadow: var(--page-title-shadow);
}

.one-page #reveal .purpose-item h3.kinetix-display-title {
    margin-bottom: 12px;
    font-size: clamp(1.15rem, 2vw, 1.45rem) !important;
    line-height: 1.08;
    letter-spacing: .05em !important;
    text-align: center;
}

@media (max-width: 760px) {
    .one-page #mainContent > [data-page-view] {
        -webkit-overflow-scrolling: touch;
        padding-bottom: max(24px, env(safe-area-inset-bottom));
    }

    .site-header .nav-toggle {
        width: 44px;
        height: 44px;
        right: 62px;
    }

    .site-header .theme-toggle {
        width: 46px;
        height: 44px;
    }

    .site-header .site-search-form,
    .site-header .site-search-form input {
        height: 44px;
    }

    .site-header .site-search-form {
        right: 110px;
    }

    .site-header .site-search-toggle {
        min-height: 44px;
    }

    .site-header .topbar,
    .site-header .topbar.on-light {
        padding-bottom: max(22px, env(safe-area-inset-bottom));
    }

    .site-header .nav-index a,
    .site-header .topbar.on-light .nav-index a {
        display: flex;
        min-height: 44px;
        align-items: center;
    }
}
