:root {
    --nuqta-ink: #212121;
    --nuqta-cream: #f5efe6;
    --nuqta-mist: #b4b4b4;
    --nuqta-amber: #c98c3a;
    --nuqta-slate: #62707c;
    --nuqta-panel: rgba(33, 33, 33, 0.72);
    --nuqta-panel-soft: rgba(245, 239, 230, 0.1);
    --nuqta-border: rgba(245, 239, 230, 0.18);
    --nuqta-carousel-gray: #9a9a94;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--nuqta-cream);
    background: #0a0a0a;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.58;
    background:
        repeating-radial-gradient(
            circle at 22% 18%,
            rgba(255, 246, 227, 0.18) 0 0.7px,
            transparent 0.7px 1.8px
        ),
        repeating-radial-gradient(
            circle at 74% 34%,
            rgba(8, 7, 6, 0.18) 0 0.8px,
            transparent 0.8px 2px
        ),
        repeating-radial-gradient(
            circle at 48% 76%,
            rgba(255, 255, 255, 0.08) 0 0.6px,
            transparent 0.6px 1.4px
        ),
        repeating-linear-gradient(
            0deg,
            rgba(255, 248, 232, 0.035) 0 1px,
            rgba(14, 11, 9, 0.035) 1px 2px
        );
    background-size:
        140px 140px,
        120px 120px,
        88px 88px,
        3px 3px;
    mix-blend-mode: overlay;
    filter: contrast(185%) saturate(74%);
}

/* hero photo background — sits behind nuqta-shell */
.hero-photo-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: calc(100vh + 32rem);
    z-index: 0;
    background-image:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.18) 0%,
            rgba(0, 0, 0, 0.22) 35%,
            rgba(10, 10, 10, 0.88) 68%,
            #0a0a0a 82%
        ),
        url('assets/backgrounds/hero-bg.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    pointer-events: none;
}

/* support page photo background scaffold */
.support-photo-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url('assets/backgrounds/support-bg.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    pointer-events: none;
}

/* join community page photo background scaffold */
.connect-photo-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url('assets/backgrounds/connect-bg.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    pointer-events: none;
}

.program-photo-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url('assets/backgrounds/3-web.jpg');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    pointer-events: none;
}

a,
button,
summary {
    transition:
        color 160ms ease,
        border-color 160ms ease,
        background-color 160ms ease,
        transform 160ms ease,
        opacity 160ms ease;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 2px solid var(--nuqta-cream);
    outline-offset: 3px;
}

.nuqta-shell {
    position: relative;
    z-index: 1;
}

.home-page .site-header {
    position: fixed;
    inset: 0 0 auto 0;
}

.nuqta-shell::before {
    display: none;
}

.nuqta-logo {
    font-family: "Poppins", sans-serif;
    font-size: clamp(2.5rem, 7vw, 5.4rem);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.07em;
    color: var(--nuqta-ink);
}

.nuqta-logo--light {
    color: var(--nuqta-cream);
}

.nuqta-mark {
    color: var(--nuqta-cream);
}

.eyebrow {
    font-family: "Anonymous Pro", monospace;
    font-size: 0.9rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.editorial-title {
    font-family: var(--font-heading);
    font-size: clamp(2.9rem, 6.4vw, 5.4rem);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: 0.015em;
    text-wrap: balance;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3vw, 3.4rem);
    font-weight: 800;
    line-height: 0.96;
    letter-spacing: 0.015em;
}

.supporting-copy {
    max-width: 42rem;
    color: rgba(245, 239, 230, 0.84);
}

.glass-panel {
    background: linear-gradient(
        180deg,
        rgba(33, 33, 33, 0.7),
        rgba(33, 33, 33, 0.48)
    );
    border: 1px solid var(--nuqta-border);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
    overflow: hidden;
    isolation: isolate;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.glass-panel--light {
    background: linear-gradient(
        180deg,
        rgba(245, 239, 230, 0.2),
        rgba(245, 239, 230, 0.08)
    );
}

.card-grid > * {
    height: 100%;
}

.pillar-card,
.program-card,
.quote-card,
.support-card,
.founder-card {
    border: 1px solid var(--nuqta-border);
    background: #212121;
}

.pillar-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.icon-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4.25rem;
    height: 4.25rem;
    border-radius: 1.1rem;
    background: #f5efe6;
    color: var(--nuqta-ink);
    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.12),
        inset 0 -1px 0 rgba(33, 33, 33, 0.08);
}

.icon-badge::before {
    content: "";
    position: absolute;
    inset: 0.45rem;
    border-radius: 0.75rem;
    pointer-events: none;
}

.icon-badge svg {
    width: 1.75rem;
    height: 1.75rem;
    stroke-width: 2;
}

.pillar-label {
    margin: 0.65rem 0 0;
}

.pillar-title,
.ideal-title {
    margin: 0;
    line-height: 0.94;
}

.pillar-copy,
.ideal-copy {
    margin: 0.15rem 0 0;
    max-width: 19rem;
}

.ideal-card {
    position: relative;
    overflow: hidden;
    gap: 1rem;
}

.ideal-card::after {
    content: "";
    position: absolute;
    inset: auto -8% -38% 38%;
    height: 10rem;
    background: radial-gradient(
        circle,
        rgba(230, 143, 78, 0.18),
        transparent 68%
    );
    pointer-events: none;
}

.highlight-line {
    color: var(--nuqta-cream);
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.hero-logo {
    height: auto;
    width: min(24rem, 100%);
    filter: drop-shadow(0 16px 36px rgba(0, 0, 0, 0.18));
}

.hero-subheading {
    width: min(24rem, 100%);
    max-width: 100%;
    margin: 0;
}

.hero-subheading__svg {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

.hero-subheading__svg text {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 400;
    letter-spacing: 0.015em;
    fill: rgba(245, 239, 230, 0.94);
}

.hero-subheading__bold {
    font-weight: 800;
}

.hero-bottom {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.25rem;
    width: min(38rem, 90vw);
}

.hero-blurb {
    font-size: clamp(0.9rem, 1.4vw, 1.05rem);
    line-height: 1.85;
    color: rgba(245, 239, 230, 0.55);
    margin: 0;
}

.hero-scroll-hint {
    display: flex;
    justify-content: center;
}

.hero-arrow {
    width: 1.75rem;
    height: 1.75rem;
    color: rgba(245, 239, 230, 0.4);
    transform: translateZ(0);
    animation: arrow-bounce 2.2s ease-in-out infinite;
}

@keyframes arrow-bounce {
    0%, 100% { transform: translate3d(0, 0, 0); opacity: 0.4; }
    50% { transform: translate3d(0, 6px, 0); opacity: 0.8; }
}

.home-hero {
    min-height: 100svh;
    padding-top: 0;
    padding-bottom: 0;
    justify-content: center;
}

.home-hero__content {
    display: flex;
    flex-direction: column;
    width: 100%;
    text-align: left;
    align-items: flex-start;
}

@supports (height: 100dvh) {
    .home-hero {
        min-height: 100dvh;
    }
}

.soft-line {
    border-color: rgba(245, 239, 230, 0.18);
}

.step-row {
    position: relative;
}

.step-row::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 1.15rem;
    height: 1px;
    background: linear-gradient(
        90deg,
        rgba(245, 239, 230, 0.1),
        rgba(245, 239, 230, 0.45),
        rgba(245, 239, 230, 0.1)
    );
}

.step-item {
    position: relative;
}

.step-item::before {
    content: "";
    position: absolute;
    top: 0.65rem;
    left: 0;
    width: 0.95rem;
    height: 0.95rem;
    border-radius: 999px;
    background: var(--nuqta-cream);
    box-shadow: 0 0 0 8px rgba(245, 239, 230, 0.08);
}

.gradient-button {
    background: linear-gradient(
        135deg,
        rgba(245, 239, 230, 0.96),
        rgba(229, 212, 187, 0.9)
    );
    color: var(--nuqta-ink);
}

.gradient-button:hover,
.gradient-button:focus-visible {
    transform: translateY(-1px);
}

.ghost-button {
    background: rgba(245, 239, 230, 0.06);
    border: 1px solid rgba(245, 239, 230, 0.24);
    color: var(--nuqta-cream);
}

.ghost-button:hover,
.ghost-button:focus-visible {
    background: rgba(245, 239, 230, 0.12);
}

.nav-link[aria-current="page"] {
    color: var(--nuqta-cream);
    border-bottom: 1px solid rgba(245, 239, 230, 0.42);
}

.menu-panel {
    background: linear-gradient(
        180deg,
        rgba(33, 33, 33, 0.92),
        rgba(33, 33, 33, 0.82)
    );
    border: 1px solid var(--nuqta-border);
    backdrop-filter: blur(14px);
}

.menu-summary {
    list-style: none;
}

.menu-summary::-webkit-details-marker {
    display: none;
}

.placeholder-photo {
    background:
        radial-gradient(
            circle at 50% 32%,
            rgba(245, 239, 230, 0.38),
            transparent 20%
        ),
        linear-gradient(
            180deg,
            rgba(245, 239, 230, 0.06),
            rgba(245, 239, 230, 0.02)
        );
}

.page-section {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 680ms ease,
        transform 680ms ease;
}

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

.about-hero {
    position: relative;
}

.about-hero::after {
    content: "";
    position: absolute;
    inset: auto 8% -1.5rem auto;
    width: min(22rem, 38vw);
    height: min(22rem, 38vw);
    border-radius: 999px;
    background: radial-gradient(
        circle,
        rgba(201, 140, 58, 0.18),
        transparent 70%
    );
    pointer-events: none;
    filter: blur(10px);
}

.problem-funnel {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--nuqta-border);
    background:
        radial-gradient(
            circle at top,
            rgba(245, 239, 230, 0.08),
            transparent 30%
        ),
        linear-gradient(180deg, rgba(33, 33, 33, 0.76), rgba(33, 33, 33, 0.52));
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.22);
    isolation: isolate;
}

.problem-funnel::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 2.5rem;
    bottom: 8.5rem;
    width: 1px;
    background: linear-gradient(
        180deg,
        rgba(245, 239, 230, 0.14),
        rgba(245, 239, 230, 0.04) 72%,
        transparent
    );
    transform: translateX(-50%);
    pointer-events: none;
}

.problem-funnel__problems {
    position: relative;
    display: grid;
    gap: 1.15rem;
}

.problem-chip {
    position: relative;
    width: min(26rem, calc(50% - 2rem));
    padding: 1.1rem 1.15rem 1.2rem;
    border: 1px solid rgba(245, 239, 230, 0.18);
    border-radius: 1.6rem;
    background: rgba(245, 239, 230, 0.05);
    backdrop-filter: blur(10px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.problem-chip::after {
    content: "";
    position: absolute;
    top: 50%;
    width: clamp(1.6rem, 4vw, 2.8rem);
    height: 1px;
    background: linear-gradient(
        90deg,
        rgba(245, 239, 230, 0.28),
        rgba(245, 239, 230, 0.08)
    );
    transform: translateY(-50%);
}

.problem-chip--left {
    justify-self: start;
    text-align: right;
}

.problem-chip--right {
    justify-self: end;
}

.problem-chip--left::after {
    right: calc(-1 * clamp(1.6rem, 4vw, 2.8rem));
}

.problem-chip--right::after {
    left: calc(-1 * clamp(1.6rem, 4vw, 2.8rem));
    background: linear-gradient(
        90deg,
        rgba(245, 239, 230, 0.08),
        rgba(245, 239, 230, 0.28)
    );
}

.problem-chip--center {
    justify-self: center;
    width: min(22rem, 100%);
    margin-top: 0.55rem;
    text-align: center;
}

.problem-chip--center::after {
    left: 50%;
    top: auto;
    bottom: -2.4rem;
    width: 1px;
    height: 2.4rem;
    transform: translateX(-50%);
    background: linear-gradient(180deg, rgba(245, 239, 230, 0.28), transparent);
}

.problem-chip--drift-1 {
    width: min(29rem, calc(50% - 3.75rem));
    margin-right: 4.5rem;
}

.problem-chip--drift-2 {
    width: min(27rem, calc(50% - 3rem));
    margin-left: 4rem;
}

.problem-chip--drift-3 {
    width: min(24.5rem, calc(50% - 2.2rem));
    margin-right: 3rem;
}

.problem-chip--drift-4 {
    width: min(22rem, calc(50% - 1.4rem));
    margin-left: 2.5rem;
}

.problem-chip--drift-5 {
    width: min(19.5rem, 100%);
}

.point-reveal {
    position: relative;
    z-index: 1;
    margin: 4rem auto 0;
    max-width: 34rem;
    padding-top: 1rem;
    text-align: center;
}

.point-reveal__dot {
    width: 1.25rem;
    height: 1.25rem;
    margin: 0 auto;
    border-radius: 999px;
    background: var(--nuqta-amber);
    box-shadow:
        0 0 0 18px rgba(201, 140, 58, 0.08),
        0 0 36px rgba(201, 140, 58, 0.18);
}

.point-reveal__logo {
    display: block;
    width: min(18rem, 62vw);
    height: auto;
    margin: 1.5rem auto 0;
}

.point-reveal__summary {
    margin: 1rem 0 0;
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(245, 239, 230, 0.88);
}

.point-reveal__support {
    margin: 0.5rem auto 0;
    max-width: 28rem;
    font-size: 0.98rem;
    line-height: 1.7;
    color: rgba(245, 239, 230, 0.66);
}

@keyframes rise-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 767px) {
    .about-hero::after {
        inset: auto 0 -2rem auto;
        width: 12rem;
        height: 12rem;
    }

    .problem-funnel {
        padding-bottom: 2.5rem;
    }

    .problem-funnel::before {
        top: 2rem;
        bottom: 7.5rem;
    }

    .problem-funnel__problems {
        gap: 0.85rem;
    }

    .problem-chip,
    .problem-chip--drift-1,
    .problem-chip--drift-2,
    .problem-chip--drift-3,
    .problem-chip--drift-4,
    .problem-chip--center {
        justify-self: stretch;
        width: 100%;
        text-align: left;
        margin-left: 0;
        margin-right: 0;
    }

    .problem-chip::after,
    .problem-chip--left::after,
    .problem-chip--right::after {
        top: auto;
        left: 50%;
        right: auto;
        bottom: -0.95rem;
        width: 1px;
        height: 1rem;
        transform: translateX(-50%);
        background: linear-gradient(
            180deg,
            rgba(245, 239, 230, 0.34),
            transparent
        );
    }

    .problem-chip--center {
        margin-top: 0;
    }

    .point-reveal {
        margin-top: 3.25rem;
    }

    .point-reveal__logo {
        width: min(15rem, 72vw);
    }

    .hero-logo {
        width: min(18rem, 100%);
    }

    .hero-subheading {
        width: min(18rem, 100%);
    }

    .home-hero {
        min-height: 100dvh;
    }

    .step-row::before {
        left: 0.6rem;
        right: auto;
        top: 0;
        bottom: 0;
        width: 1px;
        height: auto;
    }

    .step-item::before {
        top: 0.3rem;
    }
}

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

    a,
    button,
    summary,
    body::before {
        transition: none;
    }

    .page-section {
        transition: none;
        transform: none;
        opacity: 1;
    }
}

.context-section {
    position: relative;
    background: #0a0a0a;
    overflow: hidden;
    isolation: isolate;
}

.context-section::before {
    display: none;
}

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

.context-heading {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4.8vw, 4rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.01em;
    color: #e7e5e4;
    margin: 0;
}

.context-right {
    border-left: 1px solid rgba(72, 72, 72, 0.45);
    padding-left: 3rem;
}

.context-body {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    font-weight: 300;
    line-height: 1.75;
    color: rgba(172, 171, 170, 0.9);
    margin: 0;
}

@media (max-width: 767px) {
    .context-right {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid rgba(72, 72, 72, 0.45);
        padding-top: 2rem;
    }
}

/* Design System Skill Override: content-first tokens and component primitives */
:root {
    --content-max: 960px;

    --type-display: clamp(2.4rem, 5.2vw, 4.8rem);
    --type-h1: clamp(2.1rem, 4.2vw, 3.8rem);
    --type-h2: clamp(1.6rem, 3.2vw, 2.7rem);
    --type-h3: clamp(1.3rem, 2.4vw, 2rem);
    --type-body-lg: 1.125rem;
    --type-body: 1rem;
    --type-body-sm: 0.9375rem;

    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.5rem;
    --space-6: 2rem;
    --space-7: 3rem;
    --space-8: 4rem;

    --text-ink-900: #000000;
    --text-ink-800: #1e1e1e;
    --text-ink-700: #212121;
    --text-light-700: #b4b4b4;
    --text-light-800: #f5e5e6;
    --text-light-900: #f6f4f1;
    --text-white: #ffffff;

    --panel-dark: #111111;
    --panel-light: #f6f4f1;
    --panel-border-dark: rgba(255, 255, 255, 0.14);
    --panel-border-light: rgba(0, 0, 0, 0.14);
    --panel-radius-pill: 999px;
    --panel-radius-card: 24px;

    --font-heading:
        "Open Sauce One", "Open Sauce", "Poppins", "Avenir Next", "Segoe UI",
        sans-serif;
    --font-body: "Poppins", system-ui, sans-serif;
    --font-mono: "Anonymous Pro", monospace;
}

body {
    font-family: var(--font-body);
    color: var(--text-light-900);
    font-size: var(--type-body);
}

.eyebrow {
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: clamp(1.02rem, 1.1vw, 1.16rem);
    line-height: 1.2;
    color: var(--text-light-700);
}

.headline-all-caps,
.ds-heading {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.015em;
    line-height: 1.03;
    text-wrap: balance;
}

.font-serif {
    font-family: var(--font-heading) !important;
    font-weight: 800 !important;
}

.supporting-copy,
p.text-cream\/84,
p.text-cream\/82,
p.text-cream\/80,
p.text-cream\/78,
p.text-cream\/76,
p.text-cream\/74,
p.text-cream\/72,
p.text-cream\/66 {
    color: var(--text-light-800);
}

.glass-panel,
.quote-card,
.support-card,
.program-card,
.founder-card,
.problem-funnel,
.menu-panel {
    background: var(--panel-dark);
    border: 1px solid var(--panel-border-dark);
    border-radius: var(--panel-radius-card);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.2);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.glass-panel--light {
    background: var(--panel-light);
    border-color: var(--panel-border-light);
    color: var(--text-ink-800);
}

.glass-panel--light [class*="text-cream"],
.glass-panel--light .eyebrow,
.glass-panel--light .section-title,
.glass-panel--light .font-serif {
    color: var(--text-ink-800) !important;
}

.pillar-card,
.ideal-card,
.problem-chip {
    background: #111111;
    border: 1px solid var(--panel-border-dark);
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.problem-chip {
    border-radius: var(--panel-radius-card);
}

.icon-badge {
    border-radius: 1rem;
    background: #f6f4f1;
    color: var(--text-ink-800);
}

.gradient-button,
.ghost-button,
.menu-summary {
    border-radius: var(--panel-radius-pill);
}

.gradient-button {
    background: var(--panel-light);
    color: var(--text-ink-800);
    border: 1px solid var(--panel-border-light);
}

.gradient-button:hover,
.gradient-button:focus-visible {
    transform: translateY(-1px);
    background: #ffffff;
}

.ghost-button {
    background: rgba(0, 0, 0, 0.56);
    border: 1px solid var(--panel-border-dark);
    color: var(--text-white);
}

.ghost-button:hover,
.ghost-button:focus-visible {
    background: rgba(0, 0, 0, 0.68);
}

.nav-link {
    color: var(--text-light-800);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: var(--type-body-sm);
}

.nav-link[aria-current="page"] {
    color: var(--text-white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.48);
}

.point-reveal__summary,
.point-reveal__support {
    color: var(--text-light-900);
}

.placeholder-photo {
    background:
        radial-gradient(
            circle at 50% 32%,
            rgba(246, 244, 241, 0.32),
            transparent 20%
        ),
        linear-gradient(
            180deg,
            rgba(246, 244, 241, 0.09),
            rgba(246, 244, 241, 0.04)
        );
    border-color: var(--panel-border-dark);
}

@media (prefers-reduced-motion: reduce) {
    .page-section {
        transition: none;
        transform: none;
        opacity: 1;
    }
}

.deck-band {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--panel-border-dark);
    border-radius: 0;
    isolation: isolate;
    background:
        radial-gradient(
            circle at 18% 16%,
            rgba(255, 255, 255, 0.08),
            transparent 36%
        ),
        linear-gradient(180deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.72));
}

.deck-band::before {
    display: none;
}

.deck-band > * {
    position: relative;
    z-index: 1;
}

.deck-band--dark,
.deck-band--warm,
.deck-band--neutral,
.deck-band--mist,
.deck-band--red,
.deck-band--orange,
.deck-band--blue {
    background: inherit;
    border-color: inherit;
}

.statement-card {
    padding: 1.6rem 1.7rem;
    border-radius: 1.8rem;
    border: 1px solid var(--panel-border-dark);
    background: #111111;
    color: #f6f4f1;
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 2.1vw, 2.2rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.015em;
    text-wrap: balance;
}

.statement-card--dark {
    background: #111111;
    color: #f6f4f1;
}

.statement-card--light {
    background: #111111;
    color: #f6f4f1;
}

.vision-card {
    border: 0;
    background: #111111;
    border-radius: 1.5rem;
    padding: 1.35rem 1.25rem;
}

.vision-headline {
    margin: clamp(1.2rem, 3.4vw, 2.7rem) auto 0;
    max-width: 24ch;
    text-align: center;
    color: #f3efe6;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.85vw, 4.1rem);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: 0.005em;
    text-wrap: balance;
}

.vision-headline strong {
    font-weight: 800;
}

.vision-points-grid {
    margin-top: clamp(2.8rem, 6vw, 5.2rem);
    display: grid;
    gap: clamp(2rem, 3vw, 3.8rem);
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.vision-point {
    padding: 0;
    background: transparent;
    border: 0;
}

.vision-number {
    margin: 0;
    color: #141414;
    font-family: var(--font-heading);
    font-size: clamp(4rem, 7vw, 7rem);
    font-weight: 800;
    line-height: 1;
}

.vision-title {
    margin: 0.65rem 0 0;
    color: #171717;
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 1.7vw, 2rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.035em;
}

.vision-copy {
    margin: 1.4rem 0 0;
    color: #f3efe6;
    font-family: var(--font-mono);
    font-size: clamp(1.45rem, 1.8vw, 2rem);
    font-weight: 400;
    line-height: 1.42;
    letter-spacing: 0.01em;
}

.vision-copy strong {
    font-weight: 700;
}

@media (max-width: 1023px) {
    .vision-points-grid {
        grid-template-columns: 1fr;
        gap: 2.6rem;
    }

    .vision-headline {
        text-align: left;
        margin-left: 0;
        margin-right: 0;
    }
}

.program-pill {
    margin: 0;
    padding: 1.2rem 1.3rem;
    border-radius: 1.6rem;
    text-align: left;
    border: 1px solid var(--panel-border-dark);
    background: #111111;
    color: #f6f4f1;
    font-family: var(--font-heading);
    font-size: clamp(1rem, 2vw, 1.8rem);
    font-weight: 700;
    line-height: 1.1;
}

.solution-tree {
    border: 1px solid var(--panel-border-dark);
    border-radius: 1.8rem;
    padding: 1.2rem 1rem 2rem;
    background:
        radial-gradient(
            circle at 50% -26%,
            rgba(245, 239, 230, 0.08),
            transparent 50%
        ),
        linear-gradient(180deg, rgba(0, 0, 0, 0.56), rgba(0, 0, 0, 0.74));
}

.solution-tree__graph {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: clamp(2.25rem, 6vw, 5rem);
    row-gap: 1rem;
    padding: 1rem 0.5rem 0;
}

.solution-tree__graph::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0.25rem;
    bottom: 0.35rem;
    width: 1px;
    transform: translateX(-50%);
    background: linear-gradient(
        180deg,
        rgba(245, 239, 230, 0.18),
        rgba(245, 239, 230, 0.03) 85%,
        transparent
    );
    pointer-events: none;
}

.solution-node {
    position: relative;
    border: 1px solid var(--panel-border-dark);
    border-radius: 1.45rem;
    background: #111111;
    padding: 1rem 1.1rem 1.05rem;
    min-height: 6.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.solution-node__copy {
    margin: 0.35rem 0 0;
    color: #f6f4f1;
    font-size: clamp(1.02rem, 1.65vw, 1.2rem);
    line-height: 1.42;
}

.solution-node::after {
    content: "";
    position: absolute;
    top: 50%;
    width: clamp(1.2rem, 3.2vw, 2.2rem);
    height: 1px;
    transform: translateY(-50%);
    background: rgba(245, 239, 230, 0.2);
}

.solution-node--left {
    grid-column: 1;
    justify-self: end;
    text-align: right;
    width: min(100%, 27rem);
}

.solution-node--left::after {
    right: calc(-1 * clamp(1.2rem, 3.2vw, 2.2rem));
}

.solution-node--right {
    grid-column: 2;
    justify-self: start;
    width: min(100%, 27rem);
}

.solution-node--right::after {
    left: calc(-1 * clamp(1.2rem, 3.2vw, 2.2rem));
}

.solution-node--r1 {
    grid-row: 1;
}

.solution-node--r2 {
    grid-row: 2;
}

.solution-node--r3 {
    grid-row: 3;
}

.solution-node--r4 {
    grid-row: 4;
}

.solution-node--center {
    grid-column: 1 / -1;
    grid-row: 5;
    justify-self: center;
    width: min(25rem, 100%);
    text-align: center;
    margin-top: 0.25rem;
}

.solution-node--center::after {
    left: 50%;
    top: auto;
    bottom: -2.25rem;
    width: 1px;
    height: 2.25rem;
    transform: translateX(-50%);
    background: linear-gradient(180deg, rgba(245, 239, 230, 0.24), transparent);
}

.solution-tree__point {
    margin: 2.9rem auto 0;
    max-width: 32rem;
    text-align: center;
}

.solution-tree__dot {
    display: block;
    width: 0.9rem;
    height: 0.9rem;
    margin: 0 auto;
    border-radius: 999px;
    background: #f5efe6;
    box-shadow:
        0 0 0 10px rgba(245, 239, 230, 0.05),
        0 0 24px rgba(245, 239, 230, 0.14);
}

.solution-tree__logo {
    display: block;
    width: min(14rem, 58vw);
    height: auto;
    margin: 1.05rem auto 0;
}

.solution-tree__title {
    margin: 0.85rem 0 0;
    color: #f6f4f1;
    font-family: var(--font-heading);
    font-size: clamp(1.08rem, 1.8vw, 1.35rem);
    line-height: 1.2;
    display: flex;
    justify-content: center;
    gap: 0.9rem;
    flex-wrap: wrap;
}

.connect-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(160px, 24vw);
    align-items: center;
    gap: clamp(1.25rem, 3.5vw, 3rem);
}

.connect-hero-copy {
    max-width: 52rem;
}

.connect-hero-mark {
    width: min(100%, 320px);
    height: auto;
    display: block;
    justify-self: end;
    filter: brightness(0) invert(1);
}

@media (max-width: 767px) {
    .connect-hero-layout {
        grid-template-columns: minmax(0, 1fr) minmax(100px, 26vw);
        gap: 1rem;
    }
}

.home-post-quote-group {
    position: relative;
    isolation: isolate;
    padding-top: 1.25rem;
}

.home-post-quote-group > .deck-band + .deck-band {
    margin-top: 1.25rem;
}

.home-post-quote-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: url('assets/backgrounds/4-web.jpg');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    pointer-events: none;
}

.program-page main {
    padding-bottom: clamp(2rem, 4vw, 4rem);
}

/* What is Nuqta carousel */
.nuqta-carousel-section {
    background:
        radial-gradient(circle at 18% 8%, rgba(255, 236, 214, 0.09), transparent 42%),
        radial-gradient(circle at 86% 88%, rgba(0, 0, 0, 0.2), transparent 44%),
        linear-gradient(180deg, #342d27, #2b2520);
    border-bottom: 1px solid rgba(243, 232, 214, 0.12);
    padding: clamp(1.25rem, 3vw, 2.5rem) 0 clamp(1rem, 2.4vw, 2rem);
    min-height: calc(100dvh - var(--about-header-height, 6.25rem));
    display: flex;
}

.nuqta-carousel {
    position: relative;
    width: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.nuqta-carousel__viewport {
    overflow: hidden;
    padding: 0.55rem 0.55rem 1.15rem;
    user-select: none;
    width: 100%;
}

.nuqta-carousel__track {
    display: flex;
    align-items: stretch;
    gap: clamp(1rem, 1.8vw, 1.5rem);
    will-change: transform;
}

.nuqta-polaroid {
    flex: 0 0 clamp(430px, 33vw, 660px);
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    border: 0;
}

.nuqta-polaroid__image {
    display: block;
    width: 100%;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center;
    background: transparent;
}

.nuqta-polaroid--tilt-left {
    transform: rotate(-2deg);
}

.nuqta-polaroid--tilt-left-soft {
    transform: rotate(-0.9deg);
}

.nuqta-polaroid--tilt-right {
    transform: rotate(1.8deg);
}

.nuqta-polaroid--tilt-right-soft {
    transform: rotate(0.95deg);
}

.nuqta-carousel__dots {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.44rem;
    margin-top: 0.65rem;
}

.nuqta-carousel__dot {
    appearance: none;
    border: 0;
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 999px;
    background: rgba(245, 239, 230, 0.42);
    cursor: pointer;
    padding: 0;
}

.nuqta-carousel__dot.is-active {
    background: rgba(245, 239, 230, 0.95);
    width: 1.05rem;
    transform: none;
}

@media (max-width: 1023px) {
    .nuqta-carousel-section {
        padding: 0.9rem 0 1.15rem;
    }

    .nuqta-carousel {
        min-height: auto;
    }

    .nuqta-carousel__viewport {
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 0;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.6rem;
        padding-left: 0;
        padding-right: 0;
    }

    .nuqta-carousel__viewport::-webkit-scrollbar {
        display: none;
    }

    .nuqta-carousel__viewport {
        scrollbar-width: none;
    }

    .nuqta-carousel__track {
        gap: 0;
        will-change: auto;
    }

    .nuqta-polaroid,
    .nuqta-polaroid--tilt-left,
    .nuqta-polaroid--tilt-left-soft,
    .nuqta-polaroid--tilt-right,
    .nuqta-polaroid--tilt-right-soft {
        transform: none;
        flex-basis: 100%;
        scroll-snap-align: start;
    }

    .nuqta-polaroid:nth-child(2) {
        order: -1;
    }

    .nuqta-carousel__dots {
        display: flex;
        margin-top: 0.4rem;
        padding-bottom: 0.55rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nuqta-carousel__track {
        transform: none !important;
    }
}

/* Problem + Solution section photo background */
.problem-solution-group {
    position: relative;
    isolation: isolate;
    scroll-margin-top: 5.5rem;
}

.problem-solution-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: url('assets/backgrounds/about-bg.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    pointer-events: none;
}

/* Vision + Mission section photo background */
.vision-mission-group {
    position: relative;
    isolation: isolate;
}

.vision-mission-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url('assets/backgrounds/vision-mission-bg.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    pointer-events: none;
}

.vision-mission-section {
    background: transparent;
    border: 0;
}

.founder-feature {
    display: grid;
    gap: clamp(1.25rem, 2.5vw, 2rem);
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
}

.founder-feature__image {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
    border: 0;
}

.founder-feature__image--top {
    object-position: top center;
}

.nuqta-is-section {
    border: 0;
}

@media (max-width: 767px) {
    .deck-band {
        border-radius: 0;
    }

    .solution-tree {
        border-radius: 1.25rem;
        padding: 1rem 0.8rem 1.55rem;
    }

    .solution-tree__graph {
        grid-template-columns: 1fr;
        row-gap: 0.7rem;
        column-gap: 0;
        padding: 0.6rem 0 0;
    }

    .solution-tree__graph::before {
        left: 0.7rem;
        top: 0.4rem;
        bottom: 0.4rem;
        transform: none;
    }

    .solution-node,
    .solution-node--left,
    .solution-node--right,
    .solution-node--center {
        grid-column: 1;
        justify-self: stretch;
        width: 100%;
        text-align: left;
        min-height: auto;
        padding: 0.85rem 0.95rem 0.9rem 1.5rem;
        margin: 0;
    }

    .solution-node--r1 {
        grid-row: 1;
    }

    .solution-node--r2 {
        grid-row: 2;
    }

    .solution-node--r3 {
        grid-row: 3;
    }

    .solution-node--r4 {
        grid-row: 4;
    }

    .solution-node--r5 {
        grid-row: 5;
    }

    .solution-node::after,
    .solution-node--left::after,
    .solution-node--right::after,
    .solution-node--center::after {
        left: -0.82rem;
        right: auto;
        width: 0.82rem;
        top: 50%;
        bottom: auto;
        height: 1px;
        transform: translateY(-50%);
        background: rgba(245, 239, 230, 0.25);
    }

    .solution-tree__point {
        margin-top: 1.9rem;
    }

    .solution-tree__logo {
        width: min(11.5rem, 63vw);
    }

    .statement-card {
        padding: 1.35rem 1.2rem;
    }

    .program-pill {
        border-radius: 1.1rem;
        line-height: 1.22;
    }
}

@media (min-width: 900px) {
    .founder-feature {
        grid-template-columns: minmax(260px, 34%) minmax(0, 1fr);
    }
}

@media (max-width: 767px) {
    .site-header {
        position: relative;
        z-index: 120;
    }

    .site-header details {
        position: static;
    }

    .menu-summary {
        min-height: 44px;
        padding: 0.65rem 1rem !important;
        letter-spacing: 0.12em;
        border-radius: 0.45rem !important;
    }

    .menu-panel {
        position: fixed;
        top: 4.75rem;
        left: 50%;
        right: auto;
        width: min(22rem, calc(100vw - 1.5rem));
        transform: translateX(-50%);
        max-height: calc(100dvh - 5rem);
        padding: 0.75rem;
        overflow-y: auto;
        margin-top: 0 !important;
        border-radius: 0.65rem !important;
        z-index: 240;
        background: #070707;
        box-shadow: 0 24px 56px rgba(0, 0, 0, 0.58);
    }

    .menu-panel nav {
        gap: 0.35rem !important;
    }

    .menu-panel .nav-link {
        display: flex;
        align-items: center;
        min-height: 44px;
        padding: 0.65rem 0.4rem;
    }

    .menu-panel .gradient-button {
        width: 100%;
        min-height: 44px;
        margin-top: 0.75rem;
    }

    .nav-link {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    .page-section {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .deck-band {
        margin-left: 0;
        margin-right: 0;
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    .home-post-quote-group > .deck-band + .deck-band {
        margin-top: 0.75rem;
    }

    .quote-bridge {
        padding-top: 3.5rem !important;
        padding-bottom: 3.5rem !important;
    }

    .editorial-title {
        font-size: clamp(2rem, 10.4vw, 2.8rem);
        line-height: 1.05;
    }

    .section-title {
        font-size: clamp(1.55rem, 8vw, 2.2rem);
        line-height: 1.06;
    }

    .page-section h2.font-serif.text-4xl {
        font-size: clamp(1.9rem, 9vw, 2.55rem) !important;
        line-height: 1.08;
    }

    .page-section h3.font-serif.text-3xl {
        font-size: clamp(1.4rem, 6.8vw, 1.95rem) !important;
        line-height: 1.16;
    }

    .page-section p.text-xl {
        font-size: 1.05rem !important;
        line-height: 1.65 !important;
    }

    .page-section p.text-lg {
        font-size: 1rem !important;
        line-height: 1.6 !important;
    }

    .connect-hero-layout {
        grid-template-columns: 1fr;
        gap: 1.1rem;
        align-items: start;
    }

    .connect-hero-mark {
        justify-self: center;
        width: min(56vw, 240px);
    }

    .connect-hero-mark--mobile {
        display: block;
        margin: 0.15rem auto 0.2rem;
    }

    .statement-card {
        font-size: clamp(1.05rem, 5.5vw, 1.35rem);
        line-height: 1.24;
        padding: 1.05rem 1rem;
    }

    .solution-tree {
        padding: 0.9rem 0.7rem 1.3rem;
    }

    .solution-tree__graph {
        row-gap: 0.55rem;
    }

    .solution-node__copy {
        font-size: 0.97rem;
        line-height: 1.48;
    }

    .solution-tree__title {
        gap: 0.45rem;
    }

    .solution-tree__hero-graphic {
        display: block;
        margin: 0 auto 0.7rem;
        position: relative;
        z-index: 2;
    }

    .support-hero-graphic-mobile {
        position: relative;
        z-index: 4;
        margin-top: 0.25rem;
        margin-bottom: 0.85rem;
    }

    .nuqta-carousel-section {
        padding: 0.75rem 0 1rem;
    }

    .nuqta-carousel__viewport {
        padding-bottom: 0.45rem;
    }

    .nuqta-carousel__dots {
        margin-top: 0.35rem;
        padding-bottom: 0.45rem;
    }

    .program-photo-bg {
        background-position: center 44%;
    }
}
