/* ============================================
   about.css — TIMBUKTU LLC About Page
   ============================================ */

@font-face {
    font-family: 'Cinzel';
    src: url('/assets/fonts/Cinzel-VariableFont_wght.ttf') format('truetype');
}

:root {
    --gold:     #FFD700;
    --gold-d:   #B8860B;
    --gold-l:   #FFC200;
    --black:    #000;
    --ink:      #0a0814;
    --dark:     #0d0d0d;
    --silver:   #C0C0C0;
    --white:    #fff;
    --header-h: 84px;
    --fade-dur: 1.25s;
    --radius:   20px;
}

html { scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none; }
::-webkit-scrollbar { display: none; }
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Cinzel', serif; }
body { overflow-x: hidden; background: var(--black); color: var(--white); }

/* ── PAGE LOAD ───────────────────────────────────────────── */
.header-container { animation: slideDown 1.25s ease .1s both; }
main              { animation: fadeUp   1.4s  ease .3s  both; }
@keyframes slideDown { from { opacity:0; transform:translateY(-10px); } to { opacity:1; transform:none; } }
@keyframes fadeUp    { from { opacity:0; transform:translateY(14px);  } to { opacity:1; transform:none; } }

/* ── SCROLL FADE ─────────────────────────────────────────── */
.fade-in, .fade-up {
    opacity: 0; transform: translateY(28px);
    transition: opacity var(--fade-dur) ease, transform var(--fade-dur) ease;
}
.fade-in.visible, .fade-up.visible { opacity: 1; transform: none; }

/* ══════════════════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════════════════ */
header { position: fixed; top:0; left:0; right:0; z-index:1000; }

.header-container {
    display: flex; align-items: center; justify-content: space-between;
    background: rgba(0,0,0,.85); backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,215,0,.22);
    padding: 10px 28px; gap: 16px; height: var(--header-h);
}

.logo-images { position:relative; width:60px; height:60px; flex:0 0 60px; }
.logo-images img { position:absolute; opacity:0; animation: switchImg 9s steps(1) infinite; }
.logo-rock { width:60px; height:60px; }
.logo-coin { width:34px; height:34px; top:50%; left:50%; transform:translate(-50%,-50%); }
.logo-bar  { width:60px; height:60px; }
.logo-images img:nth-child(1) { animation-delay:0s; }
.logo-images img:nth-child(2) { animation-delay:3s; }
.logo-images img:nth-child(3) { animation-delay:6s; }
@keyframes switchImg { 0%{opacity:1;} 33.5%{opacity:0;} 100%{opacity:0;} }

.header-logo {
    flex:1; text-align:center; font-size:24px; font-weight:700;
    color:var(--gold); letter-spacing:6px; white-space:nowrap;
    text-shadow: 0 0 18px rgba(255,215,0,.4);
}

.nav-toggle-input { display:none; }
.hamburger {
    display:none; flex-direction:column; gap:5px; cursor:pointer;
    padding:8px; flex:0 0 auto; border:1px solid rgba(255,215,0,.3);
    border-radius:8px; transition:border-color .2s;
}
.hamburger:hover { border-color:var(--gold); }
.hamburger .bar { display:block; width:22px; height:2px; background:var(--gold); border-radius:2px; }

.header-links { display:flex; align-items:center; flex:0 0 auto; }
.nav-list { display:flex; list-style:none; align-items:center; gap:4px; }
.nav-item a {
    display:block; position:relative; color:rgba(255,255,255,.75);
    text-decoration:none; padding:8px 13px; font-size:13px;
    white-space:nowrap; letter-spacing:1px; border-radius:6px;
    transition:color .2s, background .2s;
}
.nav-item a::after {
    content:''; position:absolute; bottom:3px; left:50%;
    width:0; height:2px; background:var(--gold); border-radius:2px;
    transform:translateX(-50%); transition:width .25s ease;
}
.nav-item a:hover { color:var(--gold); background:rgba(255,215,0,.07); }
.nav-item a:hover::after { width:calc(100% - 26px); }

@media (max-width:900px) {
    .header-container { flex-wrap:wrap; padding:10px 16px; height:auto; }
    .hamburger { display:flex; order:3; }
    .logo-images{ order:1; } .header-logo{ order:2; flex:1; }
    .header-links { order:4; width:100%; overflow:hidden; max-height:0; flex:1 0 100%; border-top:0 solid transparent; transition:max-height .4s ease, border-top .4s; }
    .nav-toggle-input:checked ~ .header-links { max-height:500px; border-top:1px solid rgba(255,215,0,.15); }
    .nav-list { flex-direction:column; gap:4px; padding:10px 0; width:100%; align-items:stretch; }
    .nav-item { width:100%; text-align:center; }
    .nav-item a { display:block; width:100%; padding:12px 0; font-size:15px; color:rgba(255,255,255,.85); }
    .nav-item a::after { display:none; }
    .nav-item a:hover { color:var(--gold); background:rgba(255,215,0,.08); }
}

/* ══════════════════════════════════════════════════════════
   SHARED UTILITIES
══════════════════════════════════════════════════════════ */
.section-eyebrow {
    display: block; font-size: 10px; letter-spacing: 3px;
    text-transform: uppercase; color: var(--silver); margin-bottom: 8px;
}
.section-eyebrow.gold   { color: var(--gold); }
.section-eyebrow.center { text-align: center; }

.section-heading {
    font-size: clamp(22px, 3vw, 34px); color: var(--gold);
    font-weight: 700; line-height: 1.25; margin-bottom: 20px;
}
.section-heading.center { text-align: center; }

.section-sub {
    font-size: 14px; color: var(--silver); line-height: 1.85;
    max-width: 620px; margin-bottom: 40px;
}
.section-sub.center { text-align: center; margin-inline: auto; }

.chip {
    font-size: 10px; letter-spacing: 1px; color: var(--gold);
    border: 1px solid rgba(255,215,0,.35); padding: 4px 12px;
    border-radius: 20px; background: rgba(255,215,0,.05);
    white-space: nowrap;
}

/* ══════════════════════════════════════════════════════════
   SECTION 1+3 — LANDING (hero + auto-quotes, full viewport)
══════════════════════════════════════════════════════════ */
.section-landing {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--ink);
    overflow: hidden;
    padding-top: var(--header-h);
}

/* Background shapes */
.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hshape { position: absolute; border: 1.5px solid; opacity: .09; animation: floatH 22s linear infinite; }
.hs1 { width:200px; height:200px; top:5%;  left:2%;  border-color:var(--gold);   clip-path:polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%); animation-duration:28s; filter:drop-shadow(0 0 12px var(--gold)); }
.hs2 { width:90px;  height:90px;  top:60%; left:87%; border-color:var(--gold-l); clip-path:polygon(50% 0%,0% 100%,100% 100%); animation-duration:18s; animation-delay:-8s; filter:drop-shadow(0 0 8px var(--gold-l)); }
.hs3 { width:140px; height:140px; top:20%; left:90%; border-color:var(--gold-d); clip-path:polygon(50% 0%,100% 50%,50% 100%,0% 50%); animation-duration:24s; animation-delay:-5s; filter:drop-shadow(0 0 8px var(--gold-d)); }
.hs4 { width:70px;  height:70px;  top:80%; left:10%; border-color:var(--gold);   clip-path:polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%); animation-duration:20s; animation-delay:-12s; opacity:.06; }
@keyframes floatH {
    0%   { transform: translateY(0) rotate(0deg); }
    50%  { transform: translateY(-26px) rotate(180deg); }
    100% { transform: translateY(0) rotate(360deg); }
}

/* Hero content block */
.landing-hero {
    position: relative; z-index: 1;
    display: flex; flex-direction: column;
    align-items: center; text-align: center;
    gap: 20px;
    padding: 60px 40px 40px;
    flex: 1;
    justify-content: center;
}

.about-tag {
    font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
    color: var(--gold); border: 1px solid rgba(255,215,0,.3);
    padding: 5px 18px; border-radius: 20px;
}

.about-headline {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700; color: var(--white); line-height: 1.12;
}

.about-sub {
    font-size: 16px; color: var(--silver);
    line-height: 1.85; max-width: 520px;
}

/* Section nav anchor buttons */
.section-nav {
    display: flex; flex-wrap: wrap; gap: 12px;
    justify-content: center; margin-top: 8px;
}

.snav-btn {
    font-family: 'Cinzel', serif;
    font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
    color: var(--white); text-decoration: none;
    border: 1px solid rgba(255,255,255,.25);
    padding: 9px 22px; border-radius: 30px;
    transition: border-color .2s, color .2s, background .2s, transform .18s;
    background: rgba(255,255,255,.04);
}
.snav-btn:hover {
    border-color: var(--gold); color: var(--gold);
    background: rgba(255,215,0,.07); transform: translateY(-2px);
}

/* Auto-rotating quote strip at bottom */
.landing-quotes {
    position: relative; z-index: 1;
    border-top: 1px solid rgba(255,215,0,.15);
    background: rgba(0,0,0,.35);
    backdrop-filter: blur(8px);
    padding: 28px 60px 0;
}

.lq-eyebrow {
    font-size: 9px; letter-spacing: 3px; text-transform: uppercase;
    color: var(--gold); text-align: center; margin-bottom: 16px;
}

/* Stage: fixed height, slides fade in/out absolutely */
.lq-stage {
    position: relative;
    height: 100px;
    overflow: hidden;
}

.lq-slide {
    position: absolute; inset: 0;
    display: flex; align-items: center; gap: 20px;
    opacity: 0; pointer-events: none;
    transition: opacity 1s ease;
}
.lq-slide.lq-active { opacity: 1; pointer-events: auto; }

.lq-portrait {
    width: 56px; height: 56px; border-radius: 50%;
    object-fit: cover; flex-shrink: 0;
    border: 2px solid rgba(255,215,0,.4);
    box-shadow: 0 0 0 3px rgba(255,215,0,.08);
}

.lq-body { display: flex; align-items: baseline; gap: 10px; flex: 1; flex-wrap: wrap; }

.lq-mark {
    font-size: 48px; line-height: .6; color: rgba(255,215,0,.25);
    font-family: Georgia, serif; user-select: none; flex-shrink: 0;
}

.lq-text {
    font-size: 14px; font-style: italic;
    color: rgba(240,236,224,.88); line-height: 1.7;
    flex: 1; min-width: 200px;
}

.lq-attr {
    display: flex; flex-direction: column; gap: 2px;
    flex-shrink: 0; text-align: right; min-width: 160px;
}

.lq-name {
    font-size: 11px; font-weight: 700; color: var(--gold);
    letter-spacing: 1.5px; text-transform: uppercase;
}
.lq-name a { color: inherit; text-decoration: none; }
.lq-name a:hover { text-decoration: underline; }
.lq-role { font-size: 10px; color: #777; letter-spacing: 1px; }

/* Progress bar */
.lq-progress-track {
    height: 2px; background: rgba(255,215,0,.12);
    margin-top: 16px; border-radius: 2px; overflow: hidden;
}
.lq-progress-bar {
    height: 100%; width: 0%;
    background: linear-gradient(to right, var(--gold-d), var(--gold));
    border-radius: 2px;
    /* JS sets the transition duration to match the timer interval */
}

@media (max-width: 768px) {
    .landing-hero    { padding: 50px 24px 30px; }
    .landing-quotes  { padding: 20px 24px 0; }
    .lq-stage        { height: 130px; }
    .lq-attr         { text-align: left; }
    .lq-body         { flex-direction: column; gap: 6px; }
}
@media (max-width: 480px) {
    .lq-portrait     { display: none; }
    .lq-stage        { height: 150px; }
}

/* ══════════════════════════════════════════════════════════
   SECTION 2 — LEADERSHIP (tab + spotlight panel)
══════════════════════════════════════════════════════════ */
.section-leadership {
    background: var(--dark);
    padding: 90px 60px;
    border-top: 1px solid rgba(255,215,0,.1);
}

.leadership-inner { max-width: 1160px; margin: 0 auto; }

/* Tab row */
.leader-tabs {
    display: flex; gap: 0;
    border: 1px solid rgba(255,215,0,.18);
    border-radius: 14px; overflow: hidden;
    margin-bottom: 40px; margin-top: 8px;
}

.ltab {
    flex: 1; display: flex; flex-direction: column;
    align-items: flex-start; gap: 3px;
    padding: 18px 24px;
    background: transparent; border: none; cursor: pointer;
    border-right: 1px solid rgba(255,215,0,.12);
    transition: background .2s;
    text-align: left;
}
.ltab:last-child { border-right: none; }
.ltab:hover { background: rgba(255,215,0,.05); }
.ltab.ltab-active { background: rgba(255,215,0,.08); }

.ltab-num  { font-size: 9px; color: var(--gold); letter-spacing: 3px; }
.ltab-name { font-size: 14px; font-weight: 700; color: var(--white); }
.ltab-title{ font-size: 11px; color: var(--silver); letter-spacing: .5px; }
.ltab.ltab-active .ltab-name { color: var(--gold); }

/* Spotlight panels */
.leader-panels { position: relative; }

.leader-panel {
    display: none;
    grid-template-columns: 280px 1fr;
    gap: 48px;
    border: 1px solid rgba(255,215,0,.15);
    border-radius: var(--radius);
    overflow: hidden;
    background: rgba(255,255,255,.015);
}
.leader-panel.lp-active {
    display: grid;
    animation: panelIn .4s ease forwards;
}
@keyframes panelIn { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:none; } }

/* Photo column */
.lp-photo-col {
    background: linear-gradient(160deg, #0d0d1a, #12122a);
    border-right: 1px solid rgba(255,215,0,.12);
    padding: 40px 28px;
    display: flex; flex-direction: column;
    align-items: center; gap: 22px;
}

.lp-img-frame {
    position: relative;
    width: 200px; height: 200px;
    border-radius: 50%; overflow: hidden;
    border: 3px solid rgba(255,215,0,.4);
    box-shadow: 0 0 0 8px rgba(255,215,0,.06), 0 0 40px rgba(255,215,0,.1);
    flex-shrink: 0;
}
.lp-img { width: 100%; height: 100%; object-fit: cover; display: block; }

.lp-img-placeholder {
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #1c1630, #2b2048);
    font-size: 72px;
}

.lp-img-accent {
    position: absolute; inset: 0; border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255,215,0,.08), transparent 60%);
    pointer-events: none;
}

.lp-id { text-align: center; }
.lp-name { font-size: 16px; font-weight: 700; color: var(--gold); letter-spacing: 1px; margin-bottom: 5px; }
.lp-role { font-size: 11px; color: var(--silver); letter-spacing: .8px; line-height: 1.5; }

.lp-creds { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }

/* Text column */
.lp-text-col {
    padding: 40px 44px 40px 0;
    display: flex; flex-direction: column; gap: 24px;
}

.lp-block { display: flex; flex-direction: column; gap: 10px; }
.lp-block p { font-size: 13px; color: var(--silver); line-height: 1.95; }
.lp-block p + p { margin-top: 6px; }

.lp-block-label {
    font-size: 9px; letter-spacing: 3px; text-transform: uppercase;
    color: var(--gold); padding-bottom: 6px;
    border-bottom: 1px solid rgba(255,215,0,.18);
}

.lp-two-col {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.lp-list { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.lp-list li {
    font-size: 13px; color: var(--silver);
    padding-left: 16px; position: relative; line-height: 1.65;
}
.lp-list li::before { content:'▸'; position:absolute; left:0; color:var(--gold); font-size:11px; top:1px; }
.lp-list em { font-style: normal; color: rgba(255,215,0,.7); font-size: 12px; }

@media (max-width: 960px) {
    .section-leadership { padding: 70px 32px; }
    .leader-panel { grid-template-columns: 1fr; }
    .lp-photo-col { border-right: none; border-bottom: 1px solid rgba(255,215,0,.12); padding: 32px; }
    .lp-img-frame { width: 160px; height: 160px; }
    .lp-text-col  { padding: 32px; }
    .lp-two-col   { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .section-leadership { padding: 60px 20px; }
    .leader-tabs { flex-direction: column; border-radius: 12px; }
    .ltab { border-right: none; border-bottom: 1px solid rgba(255,215,0,.12); }
    .ltab:last-child { border-bottom: none; }
}

/* ══════════════════════════════════════════════════════════
   SECTION 4 — CORE VALUES (numbered row design)
══════════════════════════════════════════════════════════ */
.section-values {
    background: var(--black);
    padding: 90px 60px;
    border-top: 1px solid rgba(255,215,0,.1);
}

.values-inner { max-width: 1100px; margin: 0 auto; }

.values-header {
    max-width: 480px;
    /* margin-bottom: 60px; */
}

.values-intro {
    font-size: 14px; color: var(--silver); line-height: 1.85;
}

/* Numbered row layout */
.values-rows { display: flex; flex-direction: column; gap: 0; }

.vrow {
    display: grid;
    grid-template-columns: 80px 60px 1fr;
    gap: 0 28px;
    align-items: start;
    padding: 36px 0;
    border-bottom: 1px solid rgba(255,215,0,.1);
    transition: background .2s;
    border-radius: 4px;
    position: relative;
}
.vrow:last-child { border-bottom: none; }
.vrow::before {
    content: '';
    position: absolute; left: -24px; top: 0; bottom: 0; width: 3px;
    background: transparent;
    border-radius: 3px;
    transition: background .3s;
}
.vrow:hover::before { background: var(--gold); }
.vrow:hover { background: rgba(255,215,0,.025); border-radius: 8px; }

.vrow-num {
    font-size: 48px; font-weight: 700; line-height: 1;
    color: rgba(255,215,0,.12);
    transition: color .3s;
    padding-top: 4px;
    letter-spacing: -2px;
}
.vrow:hover .vrow-num { color: rgba(255,215,0,.35); }

.vrow-icon { font-size: 28px; padding-top: 6px; }

.vrow-content { display: flex; flex-direction: column; gap: 8px; }

.vrow-title {
    font-size: 18px; font-weight: 700; color: var(--white);
    letter-spacing: .5px;
}
.vrow:hover .vrow-title { color: var(--gold); }

.vrow-desc {
    font-size: 13px; color: var(--silver); line-height: 1.9;
    max-width: 680px;
    transition: color .2s;
}

@media (max-width: 768px) {
    .section-values { padding: 70px 28px; }
    .vrow { grid-template-columns: 52px 44px 1fr; gap: 0 16px; padding: 28px 0; }
    .vrow-num { font-size: 36px; }
    .vrow-title { font-size: 15px; }
    .vrow::before { left: -12px; }
}
@media (max-width: 480px) {
    .section-values { padding: 60px 20px; }
    .vrow { grid-template-columns: 1fr; gap: 8px; }
    .vrow-num { font-size: 28px; }
    .vrow::before { display: none; }
}

/* ══════════════════════════════════════════════════════════
   SECTION 5 — MANIFESTO
══════════════════════════════════════════════════════════ */
.section-manifesto {
    background: linear-gradient(180deg, #060410, var(--ink) 30%, var(--ink) 70%, #060410);
    padding: 100px 60px;
    border-top: 1px solid rgba(255,215,0,.1);
    border-bottom: 1px solid rgba(255,215,0,.1);
}

.manifesto-inner { max-width: 960px; margin: 0 auto; display: flex; flex-direction: column; }

.manifesto-columns {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 44px; margin-bottom: 48px; margin-top: 8px;
}
.manifesto-columns p { font-size: 14px; color: var(--silver); line-height: 2; text-align: justify; }

.manifesto-quote {
    border-left: 3px solid var(--gold); padding: 22px 30px;
    background: rgba(255,215,0,.04); border-radius: 0 14px 14px 0;
    font-size: 15px; font-style: italic;
    color: rgba(240,236,224,.9); line-height: 1.9;
}
.manifesto-quote cite { display:block; margin-top:14px; font-style:normal; font-size:11px; color:var(--gold); letter-spacing:2.5px; text-transform: uppercase; }

@media (max-width: 640px) {
    .section-manifesto { padding: 70px 24px; }
    .manifesto-columns { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════
   SECTION 6 — LEGAL
══════════════════════════════════════════════════════════ */
.section-legal {
    background: var(--dark); padding: 100px 60px;
    border-top: 1px solid rgba(255,215,0,.1);
}
.legal-inner { max-width: 1200px; margin: 0 auto; }

.legal-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 20px; margin-top: 8px;
}

.legal-card {
    background: rgba(255,255,255,.02); border: 1px solid rgba(255,215,0,.12);
    border-radius: var(--radius); padding: 28px 24px;
    display: flex; flex-direction: column; gap: 12px;
    transition: border-color .2s, background .2s, transform .2s;
}
.legal-card:hover { border-color: rgba(255,215,0,.3); background: rgba(255,215,0,.03); transform: translateY(-3px); }
.legal-icon  { font-size: 26px; }
.legal-title { font-size: 13px; font-weight: 700; color: var(--gold); }
.legal-body  { font-size: 12px; color: var(--silver); line-height: 1.85; }

.legal-disclaimer {
    margin-top: 40px; padding: 16px 24px;
    background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.07);
    border-radius: 12px; font-size: 11px; color: #555; line-height: 1.8; text-align: center;
}

@media (max-width: 900px) { .legal-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
    .section-legal { padding: 70px 24px; }
    .legal-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════ */
.footer-bar {
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
    padding: 16px 32px; gap: 12px;
    background: var(--gold); color: var(--ink); font-size: 12px;
}
.footer-bar a { color: var(--ink); text-decoration: none; }
.footer-bar a:hover { text-decoration: underline; }