/* HPN — Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Sacramento&family=Caveat:wght@400;700&family=Cinzel+Decorative:wght@400;700&family=Cinzel:wght@400;600;700&family=Engagement&family=Great+Vibes&family=Pinyon+Script&family=Uncial+Antiqua&family=Inter:wght@300;400;500;600&family=Rajdhani:wght@400;600;700&family=Bebas+Neue&display=swap');

:root {
    /* Logo background color used as header bg */
    --header-bg:  #0d0d0d;
    --bg:         #111111;
    --surface:    #191919;
    --border:     #282828;

    /* Silver-flake text */
    --text:       #c8cace;
    --text-bright: #dde0e6;
    --muted:      #686870;

    /* Sandy tan accent */
    --accent:     #c2ae8a;
    --accent-dim: #9e8b68;

    --radius:     4px;
    --max-width:  1080px;

    --font-display: 'Bebas Neue', 'Cinzel', serif;
    --font-heading: 'Cinzel', serif;
    --font-sigil:   'Rajdhani', sans-serif;
    --font-body:    'Inter', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    overflow-x: hidden;
    color-scheme: dark;
    scrollbar-color: #2a2a2a #0d0d0d;
    scrollbar-width: thin;
}

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #0d0d0d; }
::-webkit-scrollbar-thumb { background: #2a2a2a; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #3a3a3a; }

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

/* Galaxy light from the top — wide arc anchored to page top, fades as you scroll */
body::before {
    content: '';
    position: absolute;
    top: -10vh;
    left: 0;
    width: 100%;
    height: 90vh;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(ellipse 90% 55% at 50% 0%,
            rgba(194, 174, 138, 0.22) 0%,
            rgba(160, 140, 105, 0.10) 45%,
            transparent 72%),
        radial-gradient(ellipse 60% 35% at 20% 0%,
            rgba(194, 174, 138, 0.10) 0%,
            transparent 60%),
        radial-gradient(ellipse 60% 35% at 80% 0%,
            rgba(194, 174, 138, 0.10) 0%,
            transparent 60%);
    animation: bg-breathe 16s ease-in-out infinite alternate;
    will-change: opacity;
}

@keyframes bg-breathe {
    0%   { opacity: 0.8; }
    100% { opacity: 1;   }
}

a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.15s ease, opacity 0.15s ease;
}

a:hover {
    color: var(--accent);
    opacity: 1;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* -----------------------------------------------
   NAV
----------------------------------------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--header-bg);
    border-bottom: 1px solid #1e1e1e;
    padding: 0.85rem 0;
}
/* When the banner is present it becomes the visual bottom edge */
.site-header:has(.limited-banner) {
    border-bottom: none;
    padding-bottom: 0;
}

/* Limited-availability banner — shown inside .site-header when enabled */
.limited-banner {
    position: relative;
    height: 28px;
    overflow: hidden;
    background: var(--bg);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    color: var(--text);
    font-size: 11px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}
.limited-banner-ticker {
    position: absolute;
    inset: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    /* soft fade behind the centered CTA */
    -webkit-mask-image: linear-gradient(to right,
        transparent 0%, #000 5%,
        #000 38%, transparent 44%,
        transparent 56%, #000 62%,
        #000 95%, transparent 100%);
    mask-image: linear-gradient(to right,
        transparent 0%, #000 5%,
        #000 38%, transparent 44%,
        transparent 56%, #000 62%,
        #000 95%, transparent 100%);
}
.limited-banner-track {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    will-change: transform;
    backface-visibility: hidden;
    animation: banner-scroll 8s linear infinite;
}
.limited-banner-text {
    white-space: nowrap;
    display: inline-block;
}
@keyframes banner-scroll {
    from { transform: translate3d(calc(-1 * var(--span-w, 50%)), 0, 0); }
    to   { transform: translate3d(0, 0, 0); }
}
/* Centered CTA — sits above the scrolling text */
.limited-banner-cta-wrap {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    align-items: center;
}
.limited-banner-cta {
    display: inline-flex;
    align-items: center;
    height: 100%;
    padding: 0 1.1rem;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    white-space: nowrap;
    background: var(--bg);
    border-left:  1px solid var(--border);
    border-right: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    transition: color 0.1s;
}
/* Glitch on hover */
.limited-banner-cta::before,
.limited-banner-cta::after {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    opacity: 0;
    pointer-events: none;
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 0 1.1rem;
}
.limited-banner-cta:hover {
    color: var(--text-bright);
    animation: cta-glitch 1.4s infinite;
    animation-delay: 0s;
}
.limited-banner-cta:hover::before {
    animation: glitch-slice-top 1.4s steps(1) infinite;
    animation-delay: 0s;
    color: var(--accent);
    opacity: 1;
}
.limited-banner-cta:hover::after {
    animation: glitch-slice-bot 1.4s steps(1) infinite;
    animation-delay: 0s;
    color: var(--muted);
    opacity: 1;
}
@keyframes cta-glitch {
    0%              { transform: skewX(-4deg) translateX(-2px); filter: brightness(1.5); }
    2%              { transform: skewX(3deg)  translateX(2px);  filter: none; }
    4%              { transform: skewX(0)    translateX(-1px); filter: brightness(0.7); }
    6%, 14%         { transform: skewX(0)    translateX(0);    filter: none; }
    15%             { transform: skewX(2deg)  translateX(1px);  filter: brightness(1.3); }
    16%             { transform: skewX(-1deg) translateX(-2px); }
    18%, 100%       { transform: skewX(0)    translateX(0);    filter: none; }
}
@keyframes glitch-slice-top {
    0%             { clip-path: inset(0 0 55% 0);  transform: translateX(-3px); }
    2%             { clip-path: inset(10% 0 50% 0); transform: translateX(3px); }
    4%             { clip-path: inset(0 0 70% 0);  transform: translateX(0); }
    6%, 14%        { clip-path: inset(0 0 100% 0); transform: translateX(0); }
    15%            { clip-path: inset(0 0 60% 0);  transform: translateX(2px); }
    18%, 100%      { clip-path: inset(0 0 100% 0); transform: translateX(0); }
}
@keyframes glitch-slice-bot {
    0%             { clip-path: inset(60% 0 0 0);  transform: translateX(3px); }
    2%             { clip-path: inset(50% 0 10% 0); transform: translateX(-2px); }
    4%             { clip-path: inset(75% 0 0 0);  transform: translateX(0); }
    6%, 14%        { clip-path: inset(100% 0 0 0); transform: translateX(0); }
    15%            { clip-path: inset(55% 0 5% 0);  transform: translateX(-3px); }
    18%, 100%      { clip-path: inset(100% 0 0 0); transform: translateX(0); }
}
@media (max-width: 480px) {
    .limited-banner-ticker { -webkit-mask-image: none; mask-image: none; }
}

.nav {
    width: 100%;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img,
.nav-logo-img {
    height: 58px;
    width: auto;
    display: block;
    flex-shrink: 0;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    margin-right: auto;
}

.nav-brand-text {
    font-family: var(--font-sigil);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
    line-height: 1.4;
    white-space: nowrap;
    display: flex;
    flex-direction: column;
}

.nav-brand-text span {
    display: block;
}

.nav-brand-text .brand-line1 {
    font-size: 0.78rem;
    color: var(--muted);
    letter-spacing: 0.28em;
}

.nav-brand-text .brand-line2 {
    font-size: 1.05rem;
    color: var(--accent);
    letter-spacing: 0.18em;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-links .btn-join,
.btn-join {
    background-color: var(--accent);
    color: #0d0d0d;
    padding: 0.45rem 1.2rem;
    border-radius: var(--radius);
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transition: background-color 0.15s ease;
}

.btn-join:hover {
    background-color: var(--accent-dim);
    color: #0d0d0d;
    opacity: 1;
}

/* Member Login nav button — outlined variant */
.btn-join.btn-login {
    background-color: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
}

.btn-join.btn-login:hover {
    background-color: var(--accent);
    color: #0d0d0d;
    opacity: 1;
}

.btn-verify {
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 0.4rem 1.1rem;
    border-radius: var(--radius);
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.btn-verify:hover {
    background-color: var(--accent);
    color: #0d0d0d;
    opacity: 1;
}

.btn-legal {
    background: transparent;
    border: 1px solid #2a2a2a;
    color: var(--muted);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.3rem 0.8rem;
    cursor: pointer;
    transition: color 0.15s, border-color 0.15s;
    border-radius: var(--radius);
}

.btn-legal:hover {
    color: var(--accent);
    border-color: var(--accent);
}

/* Legal Page */
.section-legal {
    padding: 4rem 0 6rem;
}

.container--narrow {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.legal-block {
    border-bottom: 1px solid var(--border);
    padding: 2rem 0;
}

.legal-block:last-child {
    border-bottom: none;
}

.legal-block h2 {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

.legal-block p {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.8;
}

/* -----------------------------------------------
   BUTTONS
----------------------------------------------- */

.btn {
    display: inline-block;
    padding: 0.7rem 1.8rem;
    border-radius: var(--radius);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}

.btn-primary {
    background-color: var(--accent);
    color: #0d0d0d;
    border: 1px solid var(--accent);
}

.btn-primary:hover {
    background-color: var(--accent-dim);
    border-color: var(--accent-dim);
    color: #0d0d0d;
    opacity: 1;
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid var(--border);
    color: var(--text);
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    opacity: 1;
}

.social-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--accent);
    transition: background 0.15s, border-color 0.15s, color 0.15s;
    text-decoration: none;
}
.social-icon-btn svg {
    width: 22px;
    height: 22px;
}
.social-icon-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #0d0d0d;
}

/* -----------------------------------------------
   SECTIONS
----------------------------------------------- */

section {
    padding: 5rem 0;
}

/* -----------------------------------------------
   HERO
----------------------------------------------- */

.hero {
    position: relative;
    overflow: hidden;
    padding: 7rem 0 6rem;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    font-family: var(--font-sigil);
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.hero-heading {
    font-family: var(--font-display);
    font-size: clamp(2.3rem, 5.75vw, 4.2rem);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: 0.06em;
    color: var(--text-bright);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

/* Artists & Producers reveal */
.word-twirl {
    display: inline-block;
}

@keyframes word-reveal {
    0%   { opacity: 0; filter: blur(6px); transform: translateY(6px); color: var(--muted); }
    60%  { opacity: 1; filter: blur(0px); transform: translateY(-1px); color: var(--accent); }
    100% { opacity: 1; filter: blur(0px); transform: translateY(0);    color: var(--accent); }
}

.word-twirl.twirled {
    animation: word-reveal 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-sub {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    font-weight: 300;
    color: var(--muted);
    max-width: 520px;
    margin: 0 auto 2.75rem;
    line-height: 1.75;
}

/* -----------------------------------------------
   HERO SIGIL
----------------------------------------------- */

.hero-sigil {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

.hero-sigil svg {
    width: min(920px, 105vw);
    height: min(920px, 105vw);
    opacity: 0.13;
}

/* Twinkling stars — separate element, not inside the dimmed sigil SVG */
.hero-stars {
    position: absolute;
    inset: 0;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}
.hero-stars svg {
    width: 100%;
    height: 100%;
}
@keyframes star-pulse-a {
    0%, 100% { opacity: 0.03; }
    12%, 18%  { opacity: 0.32; }
    30%       { opacity: 0.03; }
}
@keyframes star-pulse-b {
    0%, 100% { opacity: 0.02; }
    6%, 10%   { opacity: 0.24; }
    22%       { opacity: 0.02; }
}
@keyframes star-pulse-c {
    0%, 100% { opacity: 0.03; }
    20%, 26%  { opacity: 0.36; }
    40%       { opacity: 0.03; }
}
@keyframes star-pulse-d {
    0%, 100% { opacity: 0.02; }
    8%, 13%   { opacity: 0.22; }
    28%       { opacity: 0.02; }
}
@keyframes star-pulse-e {
    0%, 100% { opacity: 0.03; }
    15%, 20%  { opacity: 0.28; }
    35%       { opacity: 0.03; }
}
.hero-stars use {
    opacity: 0.03;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-fill-mode: both;
}
.star-a { animation-name: star-pulse-a; animation-duration: 9.4s; }
.star-b { animation-name: star-pulse-b; animation-duration: 13.2s; }
.star-c { animation-name: star-pulse-c; animation-duration: 7.8s; }
.star-d { animation-name: star-pulse-d; animation-duration: 11.6s; }
.star-e { animation-name: star-pulse-e; animation-duration: 15.3s; }

/* Sigil rotations are driven by JS (rAF + SVG transform attribute)
   to guarantee cross-browser reliability. */

/* -----------------------------------------------
   CONTENT SECTIONS
----------------------------------------------- */

.section-label {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
}
.section-what      .section-label,
.section-who       .section-label,
.section-mission   .section-label,
.section-culture   .section-label,
.section-faq-teaser .section-label,
.faq-group         .section-label {
    font-size: 0.85rem;
    letter-spacing: 0.25em;
}

.section-heading {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--text-bright);
    margin-bottom: 1.25rem;
}

.section-body {
    font-size: 1rem;
    font-weight: 300;
    color: var(--muted);
    max-width: 600px;
    line-height: 1.8;
}

.section-what {
    background-color: var(--surface);
    border-bottom: 1px solid var(--border);
}

.section-who {
    border-bottom: 1px solid var(--border);
}

.section-mission {
    background-color: var(--surface);
}

.section-cta {
    background-color: var(--surface);
    text-align: center;
}

.section-cta .section-heading {
    margin-bottom: 0.75rem;
}

.section-cta p {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

/* -----------------------------------------------
   SECTION — DOCTRINE (homepage)
----------------------------------------------- */

.section-doctrine {
    padding: 4.5rem 0;
    text-align: center;
    border-top: 1px solid #191919;
    border-bottom: 1px solid var(--border);
    background-color: var(--bg);
}

.doctrine-orn {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.doctrine-orn-top { margin-bottom: 2.75rem; }
.doctrine-orn-bot { margin-top: 2.75rem; }

.doctrine-orn-line {
    flex: 1;
    display: block;
    height: 1px;
    background: #353330;
}

.doctrine-orn svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

.doctrine-eyebrow {
    font-family: var(--font-heading);
    font-size: 0.55rem;
    letter-spacing: 0.42em;
    text-transform: uppercase;
    color: #504840;
    margin-bottom: 1.6rem;
}

.doctrine-heading {
    font-family: 'Cinzel', var(--font-heading), serif;
    font-size: clamp(0.65rem, 1.4vw, 1.1rem);
    font-weight: 400;
    letter-spacing: 0.12em;
    color: #6b5e4a;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}
.doctrine-heading .dh-left   { text-align: right; white-space: nowrap; }
.doctrine-heading .dh-center { text-align: center; white-space: nowrap; }
.doctrine-heading .dh-right  { text-align: left; white-space: nowrap; }
.doctrine-heading .dh-left::first-letter,
.doctrine-heading .dh-center::first-letter,
.doctrine-heading .dh-right::first-letter {
    text-shadow: 0 0 10px rgba(194,174,138,0.6), 0 0 24px rgba(194,174,138,0.25);
    color: #c2ae8a;
}

.doctrine-copy {
    font-size: 0.875rem;
    font-weight: 300;
    color: var(--muted);
    max-width: 440px;
    margin: 0 auto;
    line-height: 1.95;
}

/* -----------------------------------------------
   SECTION — PILLARS (homepage)
----------------------------------------------- */

.section-pillars {
    padding: 5rem 0;
    border-bottom: 1px solid var(--border);
    background-color: var(--bg);
}

.pillars-grid {
    display: grid;
    grid-template-columns: 1fr 1px 1fr 1px 1fr;
    align-items: start;
}

.pillar-divider {
    background: #1e1e1e;
    align-self: stretch;
}

.pillar {
    padding: 0 2.5rem;
    padding-top: 1.75rem;
    border-top: 1px solid #222;
}

.pillar:first-child { padding-left: 0; }
.pillar:last-child  { padding-right: 0; }

.pillar-num {
    display: block;
    font-size: 0.58rem;
    letter-spacing: 0.3em;
    color: var(--accent-dim);
    margin-bottom: 1rem;
    font-variant-numeric: tabular-nums;
}

.pillar-title {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--text-bright);
    margin-bottom: 0.9rem;
}

.pillar-desc {
    font-size: 0.82rem;
    font-weight: 300;
    color: var(--muted);
    line-height: 1.8;
}

@media (max-width: 640px) {
    .pillars-grid {
        grid-template-columns: 1fr;
    }
    .pillar-divider { display: none; }
    .pillar {
        padding: 1.75rem 0;
        border-top: 1px solid #222;
    }
    .pillar:first-child { padding-top: 1.75rem; }
}

/* Who grid */
.who-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.who-card {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.who-card-title {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.who-card-desc {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.7;
}

/* -----------------------------------------------
   PAGE HERO (About, Support, etc.)
----------------------------------------------- */

.page-hero {
    padding: 5rem 0 3.5rem;
    border-bottom: 1px solid var(--border);
}

.page-hero .section-label {
    margin-bottom: 0.75rem;
}

.page-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--text-bright);
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1rem;
    font-weight: 300;
    color: var(--muted);
    max-width: 580px;
    line-height: 1.8;
}

.page-hero p + p {
    margin-top: 0.75rem;
}

.page-hero strong {
    color: var(--text);
    font-weight: 500;
}

/* -----------------------------------------------
   SUPPORT PAGE
----------------------------------------------- */

.support-box {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem;
    max-width: 580px;
    margin-top: 3rem;
}

.support-box h2 {
    font-family: var(--font-heading);
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-bright);
    margin-bottom: 0.75rem;
}

.support-box p {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--muted);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

/* -----------------------------------------------
   DIVIDER
----------------------------------------------- */

.divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 0;
}

/* -----------------------------------------------
   FOOTER
----------------------------------------------- */

.site-footer {
    border-top: 1px solid var(--border);
    padding: 2.5rem 0;
    margin-top: 0;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-logo img {
    height: 32px;
    width: auto;
    display: block;
    opacity: 0.7;
}

.footer-nav {
    display: flex;
    gap: 1.75rem;
    align-items: center;
    flex-wrap: wrap;
}

.footer-nav a {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

.footer-nav a:hover {
    color: var(--accent);
}

.footer-note,
.footer-copy {
    font-size: 0.78rem;
    color: var(--muted);
    font-weight: 300;
}

.footer-note a {
    color: var(--accent);
}

.footer-note a:hover {
    color: var(--text-bright);
}

.footer-associate-link {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #333;
    text-decoration: none;
    margin-top: 4px;
    display: inline-block;
    transition: color 0.2s;
}

.footer-associate-link:hover {
    color: var(--muted);
}

/* -----------------------------------------------
   UTILITIES
----------------------------------------------- */

.muted {
    color: var(--muted);
}

.accent {
    color: var(--accent);
}

/* -----------------------------------------------
   HAMBURGER BUTTON (hidden on desktop)
----------------------------------------------- */

.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
    margin-left: auto;
}

.nav-hamburger span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--text);
    transition: transform 0.22s ease, opacity 0.22s ease;
    transform-origin: center;
}

/* X state when open */
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* -----------------------------------------------
   RESPONSIVE
----------------------------------------------- */

@media (max-width: 768px) {

    /* --- Logo --- */
    .nav-logo-img {
        height: 36px;
    }

    .nav-brand-text .brand-line1 { font-size: 0.6rem; }
    .nav-brand-text .brand-line2 { font-size: 0.82rem; }

    /* --- Show hamburger, hide inline nav --- */
    .nav-hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--header-bg);
        border-bottom: 1px solid #1e1e1e;
        flex-direction: column;
        gap: 0;
        padding: 0.5rem 0 1rem;
        z-index: 99;
        list-style: none;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 0.75rem 1.75rem;
        font-size: 0.8rem;
        border-bottom: 1px solid #181818;
    }

    .nav-links li:last-child a {
        border-bottom: none;
    }

    /* Verify: pill button left-aligned so its text matches other nav items */
    .nav-links .btn-verify {
        display: inline-block;
        margin: 0.6rem 0 0.6rem 0.65rem;
        padding: 0.4rem 1.1rem;
        border: 1px solid var(--accent) !important;
        border-radius: var(--radius);
    }

    /* Join: keep full-width centered CTA */
    .nav-links .btn-join {
        display: block;
        margin: 0.35rem 1.25rem 0;
        padding: 0.55rem 1rem;
        text-align: center;
        border-radius: var(--radius);
    }

    /* --- General layout --- */
    .who-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero {
        padding: 4rem 0 3.5rem;
    }

    .hero-heading {
        font-size: clamp(1.825rem, 9.75vw, 2.9rem);
    }

    section {
        padding: 3.5rem 0;
    }
}

/* -----------------------------------------------
   PRODUCTS PAGE
----------------------------------------------- */

.section-products {
    padding: 4rem 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s;
}

.product-card:hover {
    border-color: var(--accent-dim);
}

.product-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #0d0d0d;
    position: relative;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.6rem;
}

.product-name {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    color: var(--text-bright);
}

.product-tagline {
    font-size: 0.875rem;
    color: var(--accent);
    font-weight: 400;
    line-height: 1.55;
}

.product-desc {
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--muted);
    line-height: 1.75;
    flex: 1;
}

.product-cta {
    align-self: flex-start;
    margin-top: 0.75rem;
    font-size: 0.78rem;
    padding: 0.6rem 1.25rem;
    letter-spacing: 0.1em;
}

.product-meta {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.product-price {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.03em;
}

.product-price.free {
    color: #6dbf6d;
}

.product-members {
    font-size: 0.75rem;
    color: var(--muted);
    letter-spacing: 0.04em;
}

.products-empty {
    font-size: 0.95rem;
    color: var(--muted);
    font-weight: 300;
}

.products-empty a {
    color: var(--accent);
    text-decoration: none;
}

.products-empty a:hover {
    text-decoration: underline;
}

/* -----------------------------------------------
   FAQ ACCORDION
----------------------------------------------- */

.section-faq {
    padding: 4rem 0;
}

.faq-group {
    max-width: 720px;
    margin-bottom: 3rem;
}

.faq-group .section-label {
    margin-bottom: 1.25rem;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-item:first-of-type {
    border-top: 1px solid var(--border);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 0;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    letter-spacing: 0.04em;
    color: var(--text-bright);
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.faq-question::-webkit-details-marker { display: none; }

.faq-question::after {
    content: '+';
    flex-shrink: 0;
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--accent);
    transition: transform 0.22s ease;
    line-height: 1;
}

.faq-item[open] > .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 0 1.25rem;
    max-width: 640px;
}

.faq-answer p {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--muted);
    line-height: 1.8;
}

.faq-answer p + p {
    margin-top: 0.75rem;
}

.faq-answer a {
    color: var(--accent);
    text-decoration: none;
}

.faq-answer a:hover {
    text-decoration: underline;
}

/* -----------------------------------------------
   HONEYPOT — bot-bait fields (public forms)
----------------------------------------------- */

/* Applied to forms via the shared header/footer pages.
   login.php and verify.php use equivalent inline styles. */
.hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

/* -----------------------------------------------
   BLOG — listing page
----------------------------------------------- */

.blog-list-section {
    padding: 4rem 0 5rem;
}

.blog-empty {
    color: var(--muted);
    font-size: 0.95rem;
    padding: 3rem 0;
    text-align: center;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
}

.blog-card {
    background: var(--surface);
    transition: background 0.18s;
}

.blog-card:hover {
    background: #1e1e1e;
}

.blog-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.blog-card-img {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #111;
    flex-shrink: 0;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.03);
}

.blog-card-img-placeholder {
    background: #111;
    background-image: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 8px,
        #161616 8px,
        #161616 9px
    );
}

.blog-card-body {
    padding: 1.4rem 1.5rem 1.6rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-date {
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    display: block;
    margin-bottom: 0.6rem;
}

.blog-card-title {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 600;
    color: var(--text-bright);
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

.blog-card-excerpt {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.65;
    flex: 1;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-read {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-dim);
    margin-top: auto;
    transition: color 0.15s;
}

.blog-card:hover .blog-card-read {
    color: var(--accent);
}

/* Pagination */
.blog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.blog-pag-btn {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    text-decoration: none;
    transition: color 0.15s;
}

.blog-pag-btn:hover {
    color: var(--text-bright);
}

.blog-pag-info {
    font-size: 0.75rem;
    color: var(--muted);
    letter-spacing: 0.1em;
}

/* -----------------------------------------------
   HOW-TO PAGE — terminal / command prompt
----------------------------------------------- */

.how-step-section {
    padding: 4.5rem 0;
    border-bottom: 1px solid var(--border);
}

/* fancy section separator */
.how-sep {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 0;
    overflow: hidden;
    height: 24px;
    position: relative;
}

.how-sep::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            90deg,
            transparent 0px,
            transparent 4px,
            #1a1a1a 4px,
            #1a1a1a 5px
        );
    opacity: 0.6;
}

.how-sep-inner {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--bg);
    padding: 0 12px;
    z-index: 1;
    font-family: 'Courier New', 'Consolas', monospace;
    font-size: 0.55rem;
    letter-spacing: 0.22em;
    color: #484440;
    text-transform: lowercase;
    white-space: nowrap;
}

.how-sep-inner::before,
.how-sep-inner::after {
    content: '';
    display: block;
    width: 5px;
    height: 5px;
    border: 1px solid #2e2a26;
    transform: rotate(45deg);
    flex-shrink: 0;
}

/* monospace section label */
.how-step-label {
    font-family: 'Courier New', 'Consolas', monospace;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    color: var(--accent-dim);
    margin-bottom: 1rem;
    text-transform: lowercase;
}

.how-step-label::before {
    content: '// ';
    color: var(--muted);
    opacity: 0.5;
}

/* bullet list with > prompt */
.how-bullet-list {
    margin-top: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 640px;
}

.how-bullet {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
}

.how-bullet-prompt {
    font-family: 'Courier New', 'Consolas', monospace;
    color: var(--accent-dim);
    font-size: 0.72rem;
    margin-top: 0.22rem;
    flex-shrink: 0;
    user-select: none;
}

.how-bullet p {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.75;
    margin: 0;
}

/* -----------------------------------------------
   SOCIAL PROOF ACTIVITY POPUP
   Mini terminal widget, bottom-left, non-members
----------------------------------------------- */
#hpn-sp {
    position: fixed;
    bottom: 24px;
    left: 20px;
    z-index: 9000;
    background: #080808;
    border: 1px solid #1e1e1e;
    border-radius: 5px;
    overflow: hidden;
    font-family: 'Courier New', 'Consolas', monospace;
    min-width: 260px;
    max-width: 360px;
    transform: translateY(calc(100% + 32px));
    opacity: 0;
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.38s ease;
    pointer-events: none;
}
#hpn-sp.hpn-sp--in {
    transform: translateY(0);
    opacity: 1;
}
#hpn-sp.hpn-sp--out {
    transform: translateY(calc(100% + 32px));
    opacity: 0;
}
.hpn-sp-titlebar {
    background: #101010;
    border-bottom: 1px solid #1a1a1a;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.hpn-sp-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}
.hpn-sp-title {
    font-size: 9px;
    letter-spacing: 0.14em;
    color: #2e2e2e;
    margin: 0 auto;
    text-transform: lowercase;
}
.hpn-sp-body {
    padding: 11px 16px;
    font-size: 12px;
    color: #a8a4a0;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}
.hpn-sp-prompt {
    color: #c2ae8a;
    flex-shrink: 0;
}
.hpn-sp-cursor {
    display: inline-block;
    width: 6px;
    height: 11px;
    background: #c2ae8a88;
    vertical-align: text-bottom;
    animation: cmd-blink 1.1s steps(1) infinite;
    flex-shrink: 0;
}
.hpn-sp-time {
    color: #383838;
    font-size: 9px;
    letter-spacing: 0.05em;
    margin-left: auto;
    padding-left: 10px;
    flex-shrink: 0;
}

/* terminal window */
.cmd-window {
    background: #080808;
    border: 1px solid #1e1e1e;
    border-radius: 5px;
    overflow: hidden;
    max-width: 680px;
    margin-top: 2.5rem;
    font-family: 'Courier New', 'Consolas', monospace;
}

.cmd-titlebar {
    background: #101010;
    border-bottom: 1px solid #1a1a1a;
    padding: 0.55rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.cmd-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}
.cmd-dot--red    { background: #2e1515; }
.cmd-dot--yellow { background: #262010; }
.cmd-dot--green  { background: #102010; }

.cmd-title {
    font-size: 0.6rem;
    letter-spacing: 0.14em;
    color: #2e2e2e;
    margin: 0 auto;
    text-transform: lowercase;
}

.cmd-body {
    padding: 1.5rem 1.75rem 2rem;
    min-height: 220px;
    font-size: 0.78rem;
    line-height: 1.9;
    color: #444;
}

.cmd-line {
    display: block;
    white-space: pre-wrap;
}

.cmd-line-prompt {
    color: var(--accent-dim);
}

.cmd-line-cmd {
    color: #b8b4ae;
}

.cmd-line-output {
    color: #3e3e3e;
    padding-left: 1.5em;
}

.cmd-cursor {
    display: inline-block;
    width: 0.45em;
    height: 0.85em;
    background: var(--accent-dim);
    vertical-align: text-bottom;
    animation: cmd-blink 1.1s steps(1) infinite;
}

@keyframes cmd-blink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

/* -----------------------------------------------
   BLOG — single post page
----------------------------------------------- */

.blog-post-header {
    padding: 3.5rem 0 2.5rem;
    border-bottom: 1px solid var(--border);
}

.blog-post-header-inner {
    max-width: 760px;
}

.blog-back {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    text-decoration: none;
    margin-bottom: 1.5rem;
    transition: color 0.15s;
}

.blog-back:hover {
    color: var(--accent);
}

.blog-post-date {
    display: block;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.9rem;
}

.blog-post-title {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 4vw, 2.6rem);
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--text-bright);
    line-height: 1.25;
    margin-bottom: 1rem;
}

.blog-post-excerpt {
    font-size: 1.05rem;
    color: var(--muted);
    line-height: 1.7;
    max-width: 640px;
}

.blog-post-cover {
    padding: 2.5rem 0 0;
}

.blog-post-cover img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    display: block;
    border: 1px solid var(--border);
}

.blog-post-body {
    padding: 3rem 0 4rem;
}

.blog-prose {
    max-width: 760px;
    font-size: 1rem;
    line-height: 1.85;
    color: var(--text);
}

.blog-prose p {
    margin-bottom: 1.4rem;
}

.blog-prose h2 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--text-bright);
    margin: 2.4rem 0 0.9rem;
    letter-spacing: 0.03em;
}

.blog-prose h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--text-bright);
    margin: 2rem 0 0.75rem;
}

.blog-prose a {
    color: var(--accent);
    text-decoration: none;
}

.blog-prose a:hover {
    text-decoration: underline;
}

.blog-prose strong {
    color: var(--text-bright);
    font-weight: 600;
}

.blog-prose ul,
.blog-prose ol {
    padding-left: 1.5rem;
    margin-bottom: 1.4rem;
}

.blog-prose li {
    margin-bottom: 0.4rem;
}

.blog-prose blockquote {
    border-left: 3px solid var(--accent);
    padding: 0.75rem 0 0.75rem 1.25rem;
    color: var(--muted);
    font-style: italic;
    margin: 1.8rem 0;
}

.blog-prose img {
    max-width: 100%;
    height: auto;
    border: 1px solid var(--border);
    display: block;
    margin: 1.6rem 0;
}

/* Extra images gallery */
.blog-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 8px;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.blog-gallery-item {
    margin: 0;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #111;
}

.blog-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
    border: none;
    margin: 0;
}

.blog-gallery-item:hover img {
    transform: scale(1.04);
}

/* Post footer */
.blog-post-footer {
    padding: 2rem 0 3rem;
    border-top: 1px solid var(--border);
}

