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

:root {
    --gold:      #ffd633;
    --gold-dim:  rgba(255,214,51,0.15);
    --gold-line: rgba(255,214,51,0.22);
    --black:     #000000;
    --ink:       #0a0a0a;
    --surface:   #111111;
    --surface2:  #1a1a1a;
    --border:    #262626;
    --text:      #e2e2e2;
    --text-soft: rgba(226,226,226,0.6);
    --muted:     #737373;
}

html { scroll-behavior: smooth; }

body {
    background: var(--black);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Grain texture */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 200px 200px;
}

ul{
    padding-left: 5%;
}

/* ── Typography ── */
.gradient-text {
    background: linear-gradient(to right, #e8e8e8, #ffd633);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
}

/* ── Divider ── */
.sig-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #1e1e1e, var(--gold), #1e1e1e, transparent);
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 15px 36px;
    cursor: pointer;
    border: none;
    transition: all 0.25s ease;
    white-space: nowrap;
}
.btn-gold {
    background: var(--gold);
    color: #000;
}
.btn-gold:hover {
    background: #ffe566;
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(255,214,51,0.2);
}
.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid rgba(226,226,226,0.25);
}
.btn-ghost:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-1px);
}
.btn-underline {
    background: none;
    border: none;
    padding: 0 0 4px;
    color: var(--gold);
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    text-decoration: none;
    border-bottom: 1px solid var(--gold-line);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-underline:hover { color: #ffe566; border-bottom-color: #ffe566; }
.btn-underline .arrow { transition: transform 0.2s; font-size: 14px; }
.btn-underline:hover .arrow { transform: translateX(4px); }

/* ── Scroll reveal ── */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(.22,1,.36,1), transform 0.8s cubic-bezier(.22,1,.36,1);
}
.reveal.from-left  { transform: translateX(-20px); }
.reveal.from-right { transform: translateX(20px); }
.reveal.visible    { opacity: 1; transform: translate(0); }
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; }
.d5 { transition-delay: 0.5s; }

/* ════════════════════════════
   NAV — fixed, glass
════════════════════════════ */
#main-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 80px;
    background: rgba(0,0,0,0.92);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.nav-logo img { height: 44px; width: auto; display: block; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}
.nav-links a {
    font-family: 'Inter', sans-serif;
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-soft);
    text-decoration: none;
    transition: color 0.2s;
}
.nav-links a:hover  { color: var(--text); }
.nav-links a.active { color: var(--gold); }

.nav-cta {
    color: #000 !important;
    background: var(--gold);
    padding: 10px 26px;
    letter-spacing: 0.14em;
    transition: background 0.2s !important;
}
.nav-cta:hover { background: #ffe566 !important; color: #000 !important; }

/* ── Hamburger ── */
.nav-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}
.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ════════════════════════════
   HERO — page header with image
════════════════════════════ */
#guides-hero {
    margin-top: 85px;
    position: relative;
    height: 580px;
    overflow: hidden;
    background: #000;
}

.guides-hero-img {
    position: absolute;
    inset: 0;
}

.guides-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    filter: grayscale(0.75) brightness(0.5);
    display: block;
}

/* Heavy directional overlay — dark left, fades right */
.guides-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right,
        rgba(0,0,0,0.96) 0%,
        rgba(0,0,0,0.82) 40%,
        rgba(0,0,0,0.5)  70%,
        rgba(0,0,0,0.2)  100%),
        linear-gradient(to bottom,
        rgba(0,0,0,0.35) 0%,
        rgba(0,0,0,0.0)  40%,
        rgba(0,0,0,0.0)  60%,
        rgba(0,0,0,0.7)  100%);
}

/* Ghost word behind hero text */
.guides-hero-ghost {
    position: absolute;
    right: 6%;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Noto Serif', serif;
    font-size: clamp(120px, 18vw, 260px);
    font-weight: 300;
    letter-spacing: 0.1em;
    color: rgba(255,214,51,0.04);
    line-height: 1;
    user-select: none;
    pointer-events: none;
}

.guides-hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0 80px 72px;
    z-index: 2;
}

.guides-hero-content .eyebrow {
    display: block;
    margin-bottom: 20px;
}

.guides-hero-headline {
    font-family: 'Noto Serif', serif;
    font-size: clamp(38px, 5vw, 68px);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -0.02em;
    /*color: var(--text);*/
    background: linear-gradient(90deg, #ffd633 0%, #e2e2e2 100%);
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    max-width: 700px;
}

.guides-hero-subheadline {
    font-family: 'Noto Serif', serif;
    font-size: clamp(18px, 5vw, 38px);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: 20px;
    max-width: 700px;
}

.clear-space{
    margin-top: 20px;
    margin-bottom: 20px;
}

#quote-band {
    width: 100%;
    padding: 100px 40px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--ink);
    display: flex;
    justify-content: center;
    align-items: center;
}

#quote-band blockquote {
    font-family: 'Noto Serif', serif;
    font-size: clamp(18px, 4vw, 28px);
    font-weight: 400;
    font-style: italic;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: var(--text);
    text-align: center;
    max-width: 700px;
    opacity: 0.92;
}

.reveal.visible {
    opacity: 1;
    transform: translate(0);
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(.22, 1, .36, 1), transform 0.8s cubic-bezier(.22, 1, .36, 1);
}


#article-info, #article-info-2{
    max-width: 820px;
    margin: 0 auto;
    padding: 100px 40px;
}

.guides-hero-sub {
    font-size: 16px;
    font-weight: 300;
    color: rgba(226,226,226,0.55);
    line-height: 1.75;
    max-width: 520px;
}

/* ════════════════════════════
   COMMUNITY CTA
════════════════════════════ */
#join-cta {
    background: var(--black);
    border-top: 1px solid var(--gold-line);
    padding: 120px 80px 110px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

#join-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(255,214,51,0.055) 0%, transparent 70%);
    pointer-events: none;
}

#join-cta .eyebrow {
    display: block;
    margin-bottom: 28px;
    position: relative;
}

#join-cta h2 {
    font-family: 'Noto Serif', serif;
    font-weight: 400;
    font-size: clamp(40px, 5.5vw, 68px);
    letter-spacing: -0.02em;
    line-height: 1.05;
    color: var(--text);
    margin-bottom: 20px;
    position: relative;
}

#join-cta > p {
    font-size: 16px;
    color: var(--text-soft);
    max-width: 460px;
    margin: 0 auto 52px;
    line-height: 1.85;
    position: relative;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 28px;
    flex-wrap: wrap;
    position: relative;
}

.cta-signin {
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 0.05em;
    position: relative;
}
.cta-signin a {
    color: rgba(226,226,226,0.45);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}
.cta-signin a:hover { color: var(--text); }

/* ════════════════════════════
   FOOTER
════════════════════════════ */
footer {
    background: var(--black);
    border-top: 1px solid var(--border);
    padding: 64px 80px 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    text-align: center;
}

.footer-wordmark {
    font-family: 'Noto Serif', serif;
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 0.5em;
    color: var(--text);
    text-transform: uppercase;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 40px;
}
.footer-nav a {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-nav a:hover { color: var(--gold); text-decoration: underline; text-underline-offset: 4px; }

.footer-copy {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #3a3a3a;
}

/* ════════════════════════════
   RESPONSIVE
════════════════════════════ */
@media (max-width: 1100px) {
    .guide-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
    #main-nav { padding: 20px 32px; }

    .nav-hamburger { display: flex; }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        z-index: 100;
        background: rgba(0,0,0,0.97);
        flex-direction: column;
        padding: 24px 32px;
        gap: 0;
        border-bottom: 1px solid var(--border);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
    }
    .nav-links.open { display: flex; }
    .nav-links a:not(.nav-cta) {
        display: block;
        padding: 14px 0;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        color: var(--text);
        font-size: 12px;
    }
    .nav-links a:not(.nav-cta):last-of-type { border-bottom: none; }
    .nav-cta { display: inline-flex; margin-top: 16px; justify-content: center; }

    #guides-hero { height: 480px; }
    .guides-hero-content { padding: 0 32px 56px; }
    .guides-hero-ghost { display: none; }

    #join-cta { padding: 88px 32px; }
    footer { padding: 48px 32px; }
}

@media (max-width: 768px) {
    #guides-hero { height: 420px; }
    .btn { width: 100%; justify-content: center; }
    .cta-actions { flex-direction: column; }
    #join-cta h2 { font-size: 36px; }
}

@media (max-width: 600px) {
    .featured-meta { gap: 20px; flex-wrap: wrap; }
}

@media (max-width: 900px) {
    #article-info, #article-info-2 {
        padding: 72px 32px;
    }

    #quote-band {
        padding: 72px 32px;
    }
}
