/* =========================================================================
   EURABELT FUELS — LEADERSHIP PORTAL  ·  public stylesheet
   Aesthetic: institutional "custodial" — midnight navy, warm gold,
   cream contrast band, editorial serif display, hairline gold detailing,
   layered depth, staggered reveal on load.
   ========================================================================= */

:root {
    /* Core palette */
    --navy-900: #0a1326;
    --navy-800: #0e1a30;
    --navy-700: #14233f;
    --navy-600: #1b2e4f;
    --navy-500: #243a61;

    --gold-400: #e3c178;
    --gold-300: #d4af6c;
    --gold-200: #c39a52;
    --gold-100: #b3884a;

    --cream-100: #f4efe4;
    --cream-200: #ece4d2;
    --paper:     #faf7f0;

    --ink:       #1a2236;
    --ink-soft:  #46506a;
    --ink-faint: #8a93a8;

    --text:      #eef1f7;
    --text-dim:  #b3bccf;
    --text-faint:#7e8aa3;

    --line-gold: rgba(212, 175, 108, .28);
    --line-soft: rgba(212, 175, 108, .14);
    --rule:      rgba(212, 175, 108, .5);

    --shadow-card: 0 1px 0 rgba(255,255,255,.02),
                   0 18px 40px -18px rgba(0,0,0,.6),
                   0 4px 12px -6px rgba(0,0,0,.5);
    --shadow-deep: 0 40px 80px -30px rgba(0,0,0,.7);

    --serif: "Cormorant Garamond", "Hoefler Text", Georgia, serif;
    --sans:  "Outfit", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    --maxw: 1280px;
    --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background:
        radial-gradient(1200px 600px at 78% -8%, rgba(212,175,108,.10), transparent 60%),
        radial-gradient(900px 500px at -5% 12%, rgba(36,58,97,.55), transparent 55%),
        linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 40%, var(--navy-900) 100%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
a { color: var(--gold-300); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--gold-400); }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

/* fine grain overlay for atmosphere ------------------------------------- */
body::before {
    content: "";
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
    opacity: .035;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body > * { position: relative; z-index: 1; }

/* ============================ HEADER ==================================== */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(10,19,38,.72);
    backdrop-filter: blur(14px) saturate(140%);
    border-bottom: 1px solid var(--line-soft);
}
.header-row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 32px; gap: 24px; max-width: var(--maxw); margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 14px; color: var(--text); }
.brand-mark {
    width: 44px; height: 44px; display: grid; place-items: center;
    font-family: var(--serif); font-weight: 700; font-size: 19px; letter-spacing: .04em;
    color: var(--navy-900);
    background: linear-gradient(145deg, var(--gold-400), var(--gold-200));
    border-radius: 6px;
    box-shadow: 0 6px 16px -6px rgba(212,175,108,.6), inset 0 1px 0 rgba(255,255,255,.4);
}
.brand-text { font-family: var(--serif); font-size: 24px; font-weight: 600; letter-spacing: .03em; line-height: 1; }
.brand-text span { color: var(--gold-300); }
.brand-sub {
    font-size: 10px; letter-spacing: .34em; text-transform: uppercase;
    color: var(--text-faint); border-left: 1px solid var(--line-gold);
    padding-left: 14px; margin-left: 2px;
}
.site-nav { display: flex; gap: 8px; align-items: center; }
.site-nav a {
    color: var(--text-dim); font-size: 13px; letter-spacing: .06em;
    text-transform: uppercase; padding: 8px 14px; border-radius: 4px;
    transition: color .2s var(--ease), background .2s var(--ease);
}
.site-nav a:hover { color: var(--gold-300); background: rgba(212,175,108,.08); }
.site-nav .home-btn {
    color: var(--navy-900);
    background: linear-gradient(145deg, var(--gold-400), var(--gold-200));
    font-weight: 600; letter-spacing: .05em;
    box-shadow: 0 8px 20px -10px rgba(212,175,108,.8);
}
.site-nav .home-btn:hover { color: var(--navy-900); filter: brightness(1.06); }

/* ============================ HERO ===================================== */
.hero { padding: 96px 0 56px; position: relative; }
.hero .wrap { position: relative; }
.hero .eyebrow {
    font-size: 12px; letter-spacing: .42em; text-transform: uppercase;
    color: var(--gold-300); margin: 0 0 22px; font-weight: 500;
    opacity: 0; animation: rise .9s var(--ease) .05s forwards;
}
.hero h1 {
    font-family: var(--serif); font-weight: 600;
    font-size: clamp(48px, 7.5vw, 92px); line-height: .98;
    margin: 0 0 26px; letter-spacing: .005em;
    background: linear-gradient(120deg, var(--gold-400) 10%, #f3e2b8 45%, var(--gold-200) 80%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0; animation: rise 1s var(--ease) .15s forwards;
}
.hero-lead {
    font-size: clamp(17px, 1.6vw, 21px); color: var(--text-dim);
    max-width: 660px; margin: 0; font-style: italic; line-height: 1.55;
    opacity: 0; animation: rise 1s var(--ease) .28s forwards;
}
.hero::after {
    content: ""; position: absolute; left: 32px; bottom: 18px;
    width: 96px; height: 2px;
    background: linear-gradient(90deg, var(--gold-300), transparent);
    opacity: 0; animation: rise 1s var(--ease) .4s forwards;
}

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

/* ============================ BANDS ==================================== */
.band { margin: 64px 0; }
.band-head { display: flex; align-items: baseline; gap: 22px; margin-bottom: 30px; }
.band-head h2 {
    font-family: var(--serif); font-size: clamp(26px, 3vw, 36px); margin: 0;
    color: var(--gold-300); font-weight: 600; letter-spacing: .01em; white-space: nowrap;
}
.band-rule { flex: 1; height: 1px;
    background: linear-gradient(90deg, var(--rule), transparent); }

.country-head {
    font-size: 11px; letter-spacing: .34em; text-transform: uppercase;
    color: var(--text-faint); margin: 40px 0 16px; font-weight: 600;
    display: flex; align-items: center; gap: 12px;
}
.country-head::before {
    content: ""; width: 18px; height: 1px; background: var(--gold-200);
}

/* ============================ GRID / CARDS ============================= */
.grid {
    display: grid; gap: 26px;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.grid-lg { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }

.card {
    position: relative; display: flex; flex-direction: column;
    background: linear-gradient(180deg, var(--navy-700), var(--navy-800));
    border: 1px solid var(--line-soft);
    border-radius: 10px; overflow: hidden; color: var(--text);
    box-shadow: var(--shadow-card);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
    opacity: 0; transform: translateY(16px);
}
.card.in { opacity: 1; transform: translateY(0); }
.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-deep);
    border-color: var(--line-gold);
}
.card-band { height: 3px; background: linear-gradient(90deg, var(--gold-200), var(--gold-400), var(--gold-100)); }

.card-photo {
    aspect-ratio: 4 / 3; position: relative; overflow: hidden;
    background:
        radial-gradient(120% 120% at 50% 0%, var(--navy-600), var(--navy-800) 70%);
    display: grid; place-items: center;
}
.card-photo img { width: 100%; height: 100%; object-fit: cover; }

/* monogram crest when no photo */
.crest {
    width: 96px; height: 96px; display: grid; place-items: center;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, rgba(212,175,108,.22), rgba(212,175,108,.04) 70%);
    border: 1px solid var(--line-gold);
    font-family: var(--serif); font-size: 44px; font-weight: 600;
    color: var(--gold-300);
    box-shadow: inset 0 0 24px rgba(212,175,108,.12);
}
.crest::after {
    content: ""; position: absolute; width: 132px; height: 132px;
    border: 1px solid var(--line-soft); border-radius: 50%;
}

.card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 7px; }
.eyebrow {
    font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase;
    color: var(--gold-200); margin: 0; font-weight: 600;
}
.card-body h3 {
    font-family: var(--serif); font-size: 25px; line-height: 1.15;
    margin: 2px 0 2px; font-weight: 600; letter-spacing: .01em;
}
.card-role { font-style: italic; color: var(--gold-300); font-size: 14.5px; margin: 0; }
.card-sub { color: var(--text-faint); font-size: 13px; margin: 4px 0 0; }
.card::after {
    content: ""; position: absolute; right: 18px; bottom: 18px;
    width: 22px; height: 22px; opacity: 0; transform: translateX(-6px);
    background: no-repeat center/contain
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4af6c' stroke-width='2'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E");
    transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.card:hover::after { opacity: 1; transform: translateX(0); }

/* ====================== VERIFICATION / NOTICE ========================= */
.notice {
    position: relative; margin: 72px 0;
    background: linear-gradient(180deg, var(--navy-700), var(--navy-800));
    border: 1px solid var(--line-soft); border-left: 3px solid var(--gold-300);
    border-radius: 10px; padding: 30px 34px; box-shadow: var(--shadow-card);
}
.notice h3 { font-family: var(--serif); margin: 0 0 10px; color: var(--gold-300); font-size: 23px; }
.notice p { margin: 0; color: var(--text-dim); max-width: 80ch; }

/* ============================ PROFILE ================================== */
.profile { padding-bottom: 40px; }
.profile-nav {
    display: flex; align-items: center; gap: 14px; padding: 30px 0 8px; flex-wrap: wrap;
}
.profile-nav .back { color: var(--text-dim); font-size: 13px; letter-spacing: .05em;
    text-transform: uppercase; }
.profile-nav .spacer { flex: 1; }
.prevnext {
    padding: 9px 15px; border: 1px solid var(--line-gold); border-radius: 5px;
    color: var(--text-dim); font-size: 12.5px; letter-spacing: .02em;
    transition: all .25s var(--ease);
}
.prevnext:hover { border-color: var(--gold-300); color: var(--gold-300);
    background: rgba(212,175,108,.07); }

.profile-grid {
    display: grid; grid-template-columns: 340px 1fr; gap: 56px; margin: 18px 0 64px;
}
.profile-photo { position: relative; }
.profile-photo img {
    width: 100%; border-radius: 12px; box-shadow: var(--shadow-deep);
    border: 1px solid var(--line-soft);
}
.profile-photo .crest-lg {
    aspect-ratio: 1; border-radius: 12px;
    background:
        radial-gradient(130% 130% at 50% 0%, var(--navy-600), var(--navy-800) 72%);
    border: 1px solid var(--line-gold);
    display: grid; place-items: center; position: relative;
    box-shadow: var(--shadow-deep);
}
.profile-photo .crest-lg span {
    font-family: var(--serif); font-size: 130px; font-weight: 600;
    color: var(--gold-300); line-height: 1;
}
.profile-photo .crest-lg::after {
    content: ""; position: absolute; inset: 22px; border: 1px solid var(--line-soft);
    border-radius: 8px;
}
.profile-photo .pin {
    position: absolute; top: -10px; left: -10px;
    background: linear-gradient(145deg, var(--gold-400), var(--gold-200));
    color: var(--navy-900); font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
    font-weight: 700; padding: 6px 12px; border-radius: 4px;
    box-shadow: 0 8px 18px -8px rgba(0,0,0,.6);
}

.profile-body .eyebrow { font-size: 12px; letter-spacing: .3em; margin-bottom: 12px; }
.profile-body h1 {
    font-family: var(--serif); font-size: clamp(38px, 5vw, 56px); line-height: 1;
    margin: 0 0 12px; letter-spacing: .01em;
    background: linear-gradient(120deg, var(--gold-400), #f1deb1 55%, var(--gold-200));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.profile-body .role { font-style: italic; color: var(--gold-300); font-size: 19px; margin: 0 0 6px; }
.profile-body .subtitle { color: var(--text-faint); margin: 0 0 28px; font-size: 14px;
    letter-spacing: .02em; }
.meta {
    display: grid; grid-template-columns: 130px 1fr; gap: 10px 18px;
    margin: 0 0 30px; font-size: 14.5px;
    border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
    padding: 22px 0;
}
.meta dt { color: var(--text-faint); text-transform: uppercase; letter-spacing: .14em;
    font-size: 11px; align-self: center; }
.meta dd { margin: 0; color: var(--text); }
.bio { font-size: 16.5px; line-height: 1.75; color: var(--text-dim); max-width: 70ch; }
.bio p { margin: 0 0 16px; }
.bio p:first-letter { } /* reserved */

/* verifications */
.verifs { margin: 48px 0 72px; }
.verifs h2 { font-family: var(--serif); color: var(--gold-300); margin: 0 0 6px; font-size: 28px; }
.verifs-note { color: var(--text-faint); font-style: italic; font-size: 14px; margin: 0 0 24px; }
.verif-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.verif {
    margin: 0; background: linear-gradient(180deg, var(--navy-700), var(--navy-800));
    border: 1px solid var(--line-soft); border-radius: 10px; padding: 14px;
    box-shadow: var(--shadow-card);
}
.verif-thumb { display: block; aspect-ratio: 1; background: var(--navy-600);
    border-radius: 6px; overflow: hidden; border: 1px solid var(--line-soft); }
.verif-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.verif-thumb:hover img { transform: scale(1.05); }
.verif figcaption { display: flex; flex-direction: column; gap: 3px; margin-top: 12px; }
.verif figcaption strong { color: var(--text); font-size: 13.5px; }
.verif figcaption span { color: var(--text-faint); font-size: 12px; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 92vw; max-height: 92vh; }
.lightbox::backdrop { background: rgba(5,9,18,.86); backdrop-filter: blur(4px); }
.lightbox img { display: block; max-width: 92vw; max-height: 84vh; border-radius: 8px;
    box-shadow: var(--shadow-deep); }
.lb-close { position: absolute; top: -6px; right: 4px; background: none; border: 0;
    color: var(--gold-300); font-size: 38px; line-height: 1; cursor: pointer; }

/* ============================ FOOTER ================================== */
.site-footer {
    margin-top: 96px; padding: 56px 0 44px; text-align: center;
    background: linear-gradient(180deg, transparent, rgba(10,19,38,.7));
    border-top: 1px solid var(--line-soft);
}
.foot-brand { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.foot-tag { color: var(--text-dim); font-style: italic; margin: 0 0 26px;
    font-family: var(--serif); font-size: 19px; }
.foot-codes { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap;
    margin-bottom: 24px; font-size: 11.5px; color: var(--text-faint); letter-spacing: .12em; }
.foot-codes strong { color: var(--gold-300); letter-spacing: .06em; }
.foot-links { display: flex; gap: 26px; justify-content: center; flex-wrap: wrap;
    margin-bottom: 18px; font-size: 13px; }
.foot-links a { color: var(--text-dim); letter-spacing: .04em; }
.foot-links a:hover { color: var(--gold-300); }
.foot-copy { color: var(--text-faint); font-size: 12.5px; margin: 0; letter-spacing: .03em; }

/* ====================== COOKIE BAR ==================================== */
.cookie-bar {
    position: fixed; left: 24px; right: 24px; bottom: 24px; z-index: 100;
    background: rgba(14,26,48,.92); backdrop-filter: blur(16px);
    border: 1px solid var(--line-gold); border-radius: 12px;
    padding: 20px 26px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
    box-shadow: var(--shadow-deep);
    max-width: 1000px; margin: 0 auto;
    transform: translateY(140%); transition: transform .5s var(--ease);
}
.cookie-bar.show { transform: translateY(0); }
.cookie-bar p { margin: 0; flex: 1; min-width: 240px; color: var(--text-dim); font-size: 13.5px; }
.cookie-actions { display: flex; gap: 12px; }
.cookie-bar button {
    border: 0; padding: 11px 22px; border-radius: 6px; font: inherit; font-weight: 600;
    letter-spacing: .04em; cursor: pointer; transition: all .2s var(--ease);
}
.cookie-bar button[data-cookie="accept"] {
    color: var(--navy-900);
    background: linear-gradient(145deg, var(--gold-400), var(--gold-200));
    box-shadow: 0 8px 20px -10px rgba(212,175,108,.8);
}
.cookie-bar button[data-cookie="accept"]:hover { filter: brightness(1.07); }
.cookie-bar button.ghost { background: transparent; border: 1px solid var(--line-gold);
    color: var(--text-dim); }
.cookie-bar button.ghost:hover { color: var(--gold-300); border-color: var(--gold-300); }

/* small re-open link in footer */
.cookie-reopen { background: none; border: 0; color: var(--text-dim);
    font: inherit; font-size: 13px; cursor: pointer; letter-spacing: .04em; }
.cookie-reopen:hover { color: var(--gold-300); }

/* ============================ DOC PAGES =============================== */
.doc { padding: 56px 0 72px; max-width: 820px; }
.doc h1 { font-family: var(--serif); font-size: clamp(36px,5vw,52px); color: var(--gold-300);
    margin: 0 0 28px;
    background: linear-gradient(120deg, var(--gold-400), #f1deb1 55%, var(--gold-200));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.doc h2 { font-family: var(--serif); font-size: 24px; color: var(--gold-300); margin: 36px 0 10px; }
.doc p { color: var(--text-dim); line-height: 1.75; }
.doc a { color: var(--gold-300); }

/* ============================ REVEAL =================================== */
.reveal { opacity: 0; transform: translateY(20px);
    transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============================ RESPONSIVE ============================== */
@media (max-width: 860px) {
    .profile-grid { grid-template-columns: 1fr; gap: 32px; }
    .profile-photo .crest-lg span { font-size: 96px; }
    .header-row { flex-wrap: wrap; padding: 14px 20px; gap: 14px; }
    .brand-sub { display: none; }
    .site-nav { width: 100%; justify-content: flex-start; flex-wrap: wrap; }
    .hero { padding: 60px 0 36px; }
    .wrap { padding: 0 20px; }
    .cookie-bar { left: 12px; right: 12px; bottom: 12px; padding: 16px 18px; }
}

/* ============================ PRINT =================================== */
@media print {
    body { background: #fff; color: #000; }
    .site-header, .site-footer, .cookie-bar, .profile-nav, .home-btn { display: none !important; }
    .profile-grid { grid-template-columns: 200px 1fr; gap: 24px; }
    .profile-body h1, .doc h1 { -webkit-text-fill-color: #1a2236; color: #1a2236; }
}