/* ==========================================================================
   6 Minute Solar Eclipse — Egypt, 2 August 2027
   Visual language: lapis night, desert sand, temple gold, faience turquoise.
   ========================================================================== */

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

:root {
    /* Night sky / lapis lazuli */
    --night:        #070f20;
    --night-2:      #0c1930;
    --night-3:      #132441;
    --lapis:        #1d3a6b;

    /* Sand & papyrus */
    --papyrus:      #f6ecd8;
    --papyrus-2:    #efe0c4;
    --sand:         #d9c49a;

    /* Temple gold / carnelian / faience */
    --gold:         #d9a441;
    --gold-bright:  #f5c96b;
    --gold-deep:    #a8761f;
    --carnelian:    #c8563a;
    --faience:      #2fa8a0;
    --faience-deep: #1b7a76;

    /* Text */
    --ink:          #1a1710;
    --ink-soft:     #4a4235;
    --cream:        #ece4d4;
    --cream-dim:    #a9a290;

    --line:         rgba(217,164,65,0.22);
    --line-solid:   #23385e;

    --shadow:       0 10px 40px rgba(0,0,0,0.45);
    --shadow-soft:  0 4px 18px rgba(0,0,0,0.18);
    --radius:       14px;
    --radius-sm:    8px;
    --max:          1120px;
    --ease:         0.25s cubic-bezier(.4,0,.2,1);

    --font-display: 'Cinzel', 'Trajan Pro', 'Optima', Georgia, serif;
    --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-body);
    background: var(--night);
    color: var(--cream);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--gold); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--gold-bright); }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.22;
    letter-spacing: 0.01em;
}

::selection { background: var(--gold); color: var(--night); }

.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 3000;
    background: var(--gold); color: var(--night); padding: 0.75rem 1.25rem;
    font-weight: 700; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; }

/* ==========================================================================
   Decorative primitives
   ========================================================================== */

/* Cavetto cornice — the flared, ribbed crown of an Egyptian temple gateway. */
.cornice {
    height: 14px;
    background:
        repeating-linear-gradient(90deg,
            var(--gold-deep) 0 3px,
            var(--gold) 3px 6px,
            var(--faience-deep) 6px 9px,
            var(--gold) 9px 12px);
    opacity: 0.5;
    border-top: 1px solid rgba(245,201,107,0.45);
    border-bottom: 1px solid rgba(0,0,0,0.4);
}

/* Repeating hieroglyphic-style key band used as a section rule. */
.glyph-rule {
    height: 26px;
    margin: 2.5rem auto;
    max-width: 320px;
    background-repeat: repeat-x;
    background-position: center;
    background-size: auto 22px;
    opacity: 0.55;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='22' viewBox='0 0 120 22'%3E%3Cg fill='none' stroke='%23d9a441' stroke-width='1.4'%3E%3Ccircle cx='12' cy='11' r='5'/%3E%3Cpath d='M2 11h5M17 11h6'/%3E%3Cpath d='M31 4v14M27 4h8'/%3E%3Cpath d='M45 18c0-6 3-10 7-10s7 4 7 10' /%3E%3Cpath d='M68 5h10l-3 13h-4z'/%3E%3Cpath d='M88 11a6 6 0 0 1 12 0a6 6 0 0 1-12 0z'/%3E%3Cpath d='M108 4v14M104 8h8M104 14h8'/%3E%3C/g%3E%3C/svg%3E");
}
.glyph-rule.wide { max-width: 640px; }

/* Thin gold hairline with a lotus diamond in the middle. */
.rule-lotus {
    display: flex; align-items: center; gap: 0.9rem;
    margin: 2rem 0;
    color: var(--gold);
}
.rule-lotus::before, .rule-lotus::after {
    content: ''; flex: 1; height: 1px;
    background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.rule-lotus span { font-size: 0.85rem; letter-spacing: 0.25em; text-transform: uppercase; font-family: var(--font-display); }

/* Starfield backdrop for dark sections. */
.starfield { position: relative; isolation: isolate; }
.starfield::before {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background-image:
        radial-gradient(1.4px 1.4px at 12% 22%, rgba(255,255,255,.55) 50%, transparent 51%),
        radial-gradient(1.2px 1.2px at 28% 68%, rgba(255,255,255,.4) 50%, transparent 51%),
        radial-gradient(1.6px 1.6px at 47% 14%, rgba(255,255,255,.5) 50%, transparent 51%),
        radial-gradient(1.1px 1.1px at 63% 51%, rgba(255,255,255,.35) 50%, transparent 51%),
        radial-gradient(1.5px 1.5px at 79% 29%, rgba(255,255,255,.45) 50%, transparent 51%),
        radial-gradient(1.2px 1.2px at 88% 74%, rgba(255,255,255,.4) 50%, transparent 51%),
        radial-gradient(1.3px 1.3px at 36% 88%, rgba(255,255,255,.35) 50%, transparent 51%),
        radial-gradient(1.1px 1.1px at 70% 90%, rgba(255,255,255,.3) 50%, transparent 51%);
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.main-nav {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(7,15,32,0.92);
    backdrop-filter: saturate(1.4) blur(12px);
    border-bottom: 1px solid var(--line);
}

.nav-container {
    max-width: var(--max); margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; padding: 0 1.5rem; height: 70px;
}

.nav-logo {
    display: flex; align-items: center; gap: 0.6rem;
    font-family: var(--font-display); font-weight: 700;
    font-size: 1.02rem; letter-spacing: 0.03em;
    color: var(--papyrus); white-space: nowrap;
}
.nav-logo:hover { color: var(--gold-bright); }
.nav-logo .mark { flex: 0 0 30px; width: 30px; height: 30px; }
.nav-logo b { color: var(--gold); font-weight: 700; }
.nav-logo small {
    display: block; font-family: var(--font-body); font-weight: 500;
    font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--cream-dim); line-height: 1;
}

.nav-menu { display: flex; align-items: center; gap: 0.15rem; }

.nav-link {
    color: var(--cream); padding: 0.5rem 0.85rem;
    border-radius: var(--radius-sm); font-size: 0.92rem; font-weight: 500;
    white-space: nowrap; transition: all var(--ease);
}
.nav-link:hover { color: var(--gold-bright); background: rgba(217,164,65,0.1); }
.nav-link.active { color: var(--gold); background: rgba(217,164,65,0.13); }

.nav-cta {
    margin-left: 0.4rem; padding: 0.5rem 1.05rem;
    background: linear-gradient(180deg, var(--gold-bright), var(--gold));
    color: var(--night) !important; font-weight: 700; font-size: 0.9rem;
    border-radius: 999px; box-shadow: 0 2px 12px rgba(217,164,65,0.3);
}
.nav-cta:hover { filter: brightness(1.08); }

.nav-toggle {
    display: none; background: none; border: 0; cursor: pointer;
    width: 42px; height: 42px; padding: 9px; border-radius: var(--radius-sm);
}
.nav-toggle span {
    display: block; height: 2px; background: var(--gold);
    border-radius: 2px; margin: 4px 0; transition: var(--ease);
}

@media (max-width: 900px) {
    .nav-toggle { display: block; }
    .nav-menu {
        display: none; position: absolute; top: 70px; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 0;
        background: var(--night-2); border-bottom: 1px solid var(--line);
        padding: 0.5rem 1rem 1.25rem; box-shadow: var(--shadow);
        max-height: calc(100vh - 70px); overflow-y: auto;
    }
    .nav-menu.open { display: flex; }
    .nav-link { padding: 0.8rem 0.6rem; border-bottom: 1px solid rgba(255,255,255,0.05); }
    .nav-cta { margin: 0.9rem 0 0; text-align: center; }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
    position: relative; overflow: hidden;
    padding: 4.5rem 1.5rem 3.5rem;
    text-align: center;
    background:
        radial-gradient(120% 90% at 50% 0%, #16294a 0%, #0a1428 45%, var(--night) 100%);
    border-bottom: 1px solid var(--line);
}
.hero > * { position: relative; z-index: 2; }

.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 0.55rem;
    font-family: var(--font-display); font-size: 0.76rem; font-weight: 600;
    letter-spacing: 0.3em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 1.5rem;
    padding: 0.4rem 1.1rem; border: 1px solid var(--line);
    border-radius: 999px; background: rgba(217,164,65,0.07);
}

.hero h1 {
    font-size: clamp(2.1rem, 6vw, 4rem);
    max-width: 16ch; margin: 0 auto 1.1rem;
    color: var(--papyrus);
    text-shadow: 0 2px 30px rgba(0,0,0,0.6);
}
.hero h1 .accent {
    background: linear-gradient(180deg, var(--gold-bright), var(--gold-deep));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lede {
    font-size: clamp(1rem, 2.1vw, 1.2rem);
    max-width: 62ch; margin: 0 auto; color: var(--cream);
    opacity: 0.92;
}

.hero-art {
    max-width: 1000px; margin: 2.25rem auto 0;
    border-radius: var(--radius) var(--radius) 0 0;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.hero-home { padding-bottom: 0; }

/* Page hero (interior pages) */
.hero-page { padding: 3.2rem 1.5rem 2.6rem; }
.hero-page h1 { font-size: clamp(1.8rem, 4.6vw, 2.9rem); max-width: 22ch; }

/* ==========================================================================
   Layout
   ========================================================================== */

.section { padding: 4rem 1.5rem; }
.section-tight { padding: 2.5rem 1.5rem; }
.section-alt { background: var(--night-2); border-block: 1px solid var(--line-solid); }
.section-sand {
    background: linear-gradient(180deg, var(--papyrus) 0%, var(--papyrus-2) 100%);
    color: var(--ink);
    border-block: 1px solid var(--gold-deep);
}
.section-sand h2, .section-sand h3 { color: #3a2c14; }
.section-sand a { color: #8a5a12; }
.section-sand a:hover { color: var(--carnelian); }
.section-sand .rule-lotus::before, .section-sand .rule-lotus::after {
    background: linear-gradient(90deg, transparent, rgba(138,90,18,0.4), transparent);
}
.section-sand .rule-lotus { color: #8a5a12; }

.container { max-width: var(--max); margin: 0 auto; }
.container-narrow { max-width: 760px; margin: 0 auto; }

.prose { max-width: 760px; margin: 0 auto; }
.prose > * + * { margin-top: 1.15rem; }
.prose h2 {
    font-size: clamp(1.5rem, 3.2vw, 2.1rem);
    margin-top: 2.6rem; color: var(--papyrus);
}
.prose h3 {
    font-size: clamp(1.15rem, 2.4vw, 1.4rem);
    margin-top: 2rem; color: var(--gold);
}
.section-sand .prose h2 { color: #3a2c14; }
.section-sand .prose h3 { color: #8a5a12; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li + li { margin-top: 0.5rem; }
.prose li::marker { color: var(--gold); }
.prose strong { color: var(--papyrus); font-weight: 650; }
.section-sand .prose strong { color: #2c2109; }
.prose blockquote {
    border-left: 3px solid var(--gold);
    padding: 0.4rem 0 0.4rem 1.3rem;
    font-style: italic; color: var(--cream-dim);
}
.section-sand .prose blockquote { color: var(--ink-soft); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section-head h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); color: var(--papyrus); }
.section-sand .section-head h2 { color: #3a2c14; }
.section-head p { margin-top: 0.85rem; color: var(--cream-dim); }
.section-sand .section-head p { color: var(--ink-soft); }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.8rem 1.6rem; border-radius: 999px;
    font-weight: 650; font-size: 0.97rem; cursor: pointer;
    border: 1px solid transparent; transition: all var(--ease);
}
.btn-primary {
    background: linear-gradient(180deg, var(--gold-bright), var(--gold));
    color: var(--night); box-shadow: 0 4px 20px rgba(217,164,65,0.28);
}
.btn-primary:hover { color: var(--night); filter: brightness(1.08); transform: translateY(-1px); }
.btn-outline { border-color: var(--gold); color: var(--gold); }
.btn-outline:hover { background: rgba(217,164,65,0.12); color: var(--gold-bright); }
.section-sand .btn-outline { border-color: var(--gold-deep); color: #8a5a12; }
.section-sand .btn-outline:hover { background: rgba(168,118,31,0.1); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; margin-top: 2rem; }

/* ==========================================================================
   Countdown
   ========================================================================== */

.countdown-section { padding: 3rem 1.5rem; text-align: center; }
.countdown-section h2 {
    font-size: 0.8rem; letter-spacing: 0.32em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 1.6rem; font-family: var(--font-display);
}
.countdown {
    display: flex; justify-content: center; flex-wrap: wrap; gap: 0.75rem;
}
.countdown-item {
    min-width: 96px; padding: 1rem 0.9rem;
    background: linear-gradient(180deg, rgba(29,58,107,0.55), rgba(12,25,48,0.7));
    border: 1px solid var(--line); border-radius: var(--radius);
    position: relative; overflow: hidden;
}
.countdown-item::before {
    content: ''; position: absolute; inset: 0 0 auto 0; height: 3px;
    background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright), var(--gold-deep));
}
.countdown-number {
    font-family: var(--font-display); font-size: clamp(1.7rem, 4.5vw, 2.5rem);
    font-weight: 700; color: var(--gold-bright); line-height: 1.1;
    font-variant-numeric: tabular-nums;
}
.countdown-label {
    font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--cream-dim); margin-top: 0.3rem;
}

/* ==========================================================================
   Key facts strip
   ========================================================================== */

.facts {
    display: grid; gap: 1px;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    background: var(--line-solid);
    border: 1px solid var(--line-solid); border-radius: var(--radius);
    overflow: hidden; margin: 2rem auto; max-width: var(--max);
}
.fact { background: var(--night-2); padding: 1.5rem 1.25rem; text-align: center; }
.fact-value {
    font-family: var(--font-display); font-size: 1.7rem; font-weight: 700;
    color: var(--gold-bright); line-height: 1.15;
}
.fact-label {
    font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--cream-dim); margin-top: 0.45rem;
}

/* ==========================================================================
   Cards / grids
   ========================================================================== */

.grid { display: grid; gap: 1.4rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }

.card {
    position: relative; display: flex; flex-direction: column;
    background: linear-gradient(170deg, var(--night-3), var(--night-2));
    border: 1px solid var(--line-solid); border-radius: var(--radius);
    padding: 1.5rem 1.4rem; overflow: hidden;
    transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}
a.card:hover {
    transform: translateY(-3px); border-color: var(--gold);
    box-shadow: 0 12px 34px rgba(0,0,0,0.45);
}
.card::after {
    content: ''; position: absolute; inset: auto 0 0 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0; transition: opacity var(--ease);
}
a.card:hover::after { opacity: 1; }
.card h3 { font-size: 1.25rem; color: var(--papyrus); margin-bottom: 0.5rem; }
.card p { color: var(--cream-dim); font-size: 0.94rem; flex: 1; }
.card .card-link {
    margin-top: 1rem; color: var(--gold); font-weight: 650; font-size: 0.9rem;
}
a.card:hover .card-link { color: var(--gold-bright); }
.card-icon { width: 40px; height: 40px; margin-bottom: 0.9rem; color: var(--gold); }

.section-sand .card {
    background: rgba(255,255,255,0.55);
    border-color: rgba(168,118,31,0.28);
}
.section-sand .card h3 { color: #3a2c14; }
.section-sand .card p { color: var(--ink-soft); }
.section-sand a.card:hover { border-color: var(--gold-deep); box-shadow: var(--shadow-soft); }

/* Location card extras */
.badge {
    display: inline-flex; align-items: center; gap: 0.35rem;
    align-self: flex-start; margin-bottom: 0.75rem;
    padding: 0.25rem 0.7rem; border-radius: 999px;
    font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em;
    text-transform: uppercase;
}
.badge-total   { background: rgba(217,164,65,0.16); color: var(--gold-bright); border: 1px solid rgba(217,164,65,0.4); }
.badge-edge    { background: rgba(200,86,58,0.16);  color: #e9866a; border: 1px solid rgba(200,86,58,0.4); }
.badge-partial { background: rgba(255,255,255,0.07); color: var(--cream-dim); border: 1px solid rgba(255,255,255,0.16); }
.section-sand .badge-total { background: rgba(168,118,31,0.14); color: #7a5310; border-color: rgba(168,118,31,0.45); }
.section-sand .badge-partial { background: rgba(0,0,0,0.05); color: var(--ink-soft); border-color: rgba(0,0,0,0.15); }
.section-sand .badge-edge { background: rgba(200,86,58,0.12); color: #97402a; border-color: rgba(200,86,58,0.4); }

.region-tag {
    font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--faience); margin-bottom: 0.3rem;
}

/* ==========================================================================
   Data table
   ========================================================================== */

.table-wrap { overflow-x: auto; margin: 1.75rem 0; border-radius: var(--radius); border: 1px solid var(--line-solid); }
table.data { width: 100%; border-collapse: collapse; font-size: 0.92rem; min-width: 560px; background: var(--night-2); }
table.data caption { caption-side: bottom; padding: 0.85rem 1rem; font-size: 0.8rem; color: var(--cream-dim); text-align: left; }
table.data th, table.data td { padding: 0.7rem 0.95rem; text-align: left; border-bottom: 1px solid var(--line-solid); }
table.data thead th {
    background: var(--lapis); color: var(--papyrus);
    font-family: var(--font-display); font-size: 0.8rem;
    letter-spacing: 0.09em; text-transform: uppercase; font-weight: 600;
    position: sticky; top: 0;
}
table.data tbody tr:hover { background: rgba(217,164,65,0.06); }
table.data tbody tr:last-child td { border-bottom: 0; }
table.data td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
table.data .hl { color: var(--gold-bright); font-weight: 650; }

.section-sand .table-wrap { border-color: rgba(168,118,31,0.3); }
.section-sand table.data { background: rgba(255,255,255,0.6); color: var(--ink); }
.section-sand table.data th, .section-sand table.data td { border-bottom-color: rgba(168,118,31,0.2); }
.section-sand table.data thead th { background: #3a2c14; color: var(--papyrus); }
.section-sand table.data caption { color: var(--ink-soft); }
.section-sand table.data .hl { color: #8a5a12; }

/* ==========================================================================
   Map
   ========================================================================== */

.map-wrap {
    position: relative; width: 100%; height: 620px;
    border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow); background: var(--night-2);
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-wrap.tall { height: 78vh; min-height: 560px; }
.map-wrap.short { height: 420px; }
@media (max-width: 640px) { .map-wrap { height: 500px; } .map-wrap.tall { height: 72vh; } }

.map-legend {
    display: flex; flex-wrap: wrap; gap: 1.1rem; justify-content: center;
    margin: 1.1rem 0 0; font-size: 0.85rem; color: var(--cream-dim);
}
.map-legend span { display: inline-flex; align-items: center; gap: 0.45rem; }
.map-legend i {
    width: 16px; height: 10px; border-radius: 2px; display: inline-block;
}
.section-sand .map-legend { color: var(--ink-soft); }

/* ==========================================================================
   Callouts
   ========================================================================== */

.callout {
    display: flex; gap: 1rem; align-items: flex-start;
    padding: 1.25rem 1.35rem; margin: 1.75rem 0;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(217,164,65,0.09), rgba(217,164,65,0.03));
}
.callout .callout-icon { flex: 0 0 26px; width: 26px; height: 26px; color: var(--gold); margin-top: 2px; }
.callout h4 { font-size: 1.02rem; color: var(--gold-bright); margin-bottom: 0.3rem; }
.callout p { font-size: 0.94rem; color: var(--cream); }
.callout.warn {
    border-color: rgba(200,86,58,0.45);
    background: linear-gradient(180deg, rgba(200,86,58,0.13), rgba(200,86,58,0.04));
}
.callout.warn h4, .callout.warn .callout-icon { color: #f08a6b; }
.section-sand .callout {
    border-color: rgba(168,118,31,0.35);
    background: linear-gradient(180deg, rgba(168,118,31,0.1), rgba(168,118,31,0.03));
}
.section-sand .callout h4 { color: #7a5310; }
.section-sand .callout p { color: var(--ink-soft); }
.section-sand .callout .callout-icon { color: var(--gold-deep); }
.section-sand .callout.warn { border-color: rgba(200,86,58,0.4); background: rgba(200,86,58,0.08); }
.section-sand .callout.warn h4, .section-sand .callout.warn .callout-icon { color: #a8402a; }

/* ==========================================================================
   Timeline (contact times)
   ========================================================================== */

.timeline { list-style: none; padding: 0; margin: 1.75rem 0; position: relative; }
.timeline::before {
    content: ''; position: absolute; left: 11px; top: 8px; bottom: 8px;
    width: 2px; background: linear-gradient(180deg, var(--line-solid), var(--gold), var(--line-solid));
}
.timeline li { position: relative; padding: 0 0 1.3rem 2.6rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
    content: ''; position: absolute; left: 4px; top: 8px;
    width: 16px; height: 16px; border-radius: 50%;
    background: var(--night); border: 2px solid var(--gold);
}
.timeline li.peak::before { background: var(--gold); box-shadow: 0 0 0 5px rgba(217,164,65,0.2); }
.timeline .t-time {
    font-family: var(--font-display); font-weight: 700; color: var(--gold-bright);
    font-variant-numeric: tabular-nums; margin-right: 0.6rem;
}
.timeline .t-name { color: var(--papyrus); font-weight: 600; }
.timeline .t-desc { display: block; font-size: 0.9rem; color: var(--cream-dim); margin-top: 0.15rem; }
.section-sand .timeline li::before { background: var(--papyrus); border-color: var(--gold-deep); }
.section-sand .timeline li.peak::before { background: var(--gold-deep); box-shadow: 0 0 0 5px rgba(168,118,31,0.18); }
.section-sand .timeline .t-time { color: #8a5a12; }
.section-sand .timeline .t-name { color: #3a2c14; }
.section-sand .timeline .t-desc { color: var(--ink-soft); }

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq details {
    border: 1px solid var(--line-solid); border-radius: var(--radius);
    background: var(--night-2); margin-bottom: 0.75rem; overflow: hidden;
}
.faq summary {
    cursor: pointer; padding: 1.05rem 1.3rem; font-weight: 650;
    color: var(--papyrus); list-style: none; position: relative; padding-right: 3rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: '+'; position: absolute; right: 1.3rem; top: 50%; transform: translateY(-50%);
    font-size: 1.5rem; color: var(--gold); line-height: 1; transition: transform var(--ease);
}
.faq details[open] summary::after { content: '\2212'; }
.faq details[open] summary { color: var(--gold-bright); }
.faq .faq-body { padding: 0 1.3rem 1.2rem; color: var(--cream-dim); font-size: 0.96rem; }
.faq .faq-body > * + * { margin-top: 0.8rem; }
.section-sand .faq details { background: rgba(255,255,255,0.55); border-color: rgba(168,118,31,0.25); }
.section-sand .faq summary { color: #3a2c14; }
.section-sand .faq .faq-body { color: var(--ink-soft); }

/* ==========================================================================
   Quick links / breadcrumbs / pills
   ========================================================================== */

.quick-links {
    display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center;
    margin: 1.5rem auto; max-width: 900px;
}
.quick-links a {
    padding: 0.35rem 0.85rem; border-radius: 999px; font-size: 0.85rem;
    border: 1px solid var(--line-solid); color: var(--cream);
    background: var(--night-2); transition: all var(--ease);
}
.quick-links a:hover { border-color: var(--gold); color: var(--gold-bright); }
.section-sand .quick-links a { background: rgba(255,255,255,0.5); border-color: rgba(168,118,31,0.28); color: var(--ink-soft); }
.section-sand .quick-links a:hover { border-color: var(--gold-deep); color: #8a5a12; }

.breadcrumb {
    max-width: var(--max); margin: 0 auto; padding: 0.9rem 1.5rem;
    font-size: 0.83rem; color: var(--cream-dim);
}
.breadcrumb a { color: var(--cream-dim); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { margin: 0 0.45rem; opacity: 0.5; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background: var(--night-2); border-top: 1px solid var(--line);
    padding: 3.5rem 1.5rem 1.5rem; margin-top: 0;
}
.footer-grid {
    max-width: var(--max); margin: 0 auto;
    display: grid; gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.footer-col h4 {
    font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 0.9rem;
}
.footer-col p { font-size: 0.9rem; color: var(--cream-dim); }
.footer-col a { display: block; font-size: 0.9rem; color: var(--cream-dim); padding: 0.22rem 0; }
.footer-col a:hover { color: var(--gold); }
.footer-note {
    max-width: var(--max); margin: 2.5rem auto 0; padding-top: 1.25rem;
    border-top: 1px solid var(--line-solid);
    font-size: 0.78rem; color: var(--cream-dim); opacity: 0.8;
}
.footer-bottom {
    max-width: var(--max); margin: 1rem auto 0;
    display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem;
    font-size: 0.82rem; color: var(--cream-dim);
}
.footer-bottom a { color: var(--cream-dim); }
.footer-bottom a:hover { color: var(--gold); }

/* ==========================================================================
   Utilities
   ========================================================================== */

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.muted { color: var(--cream-dim); }
.section-sand .muted { color: var(--ink-soft); }
.small { font-size: 0.86rem; }
.nowrap { white-space: nowrap; }
.visually-hidden {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

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