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

:root {
--red: #c0392b;
--gold: #d4a820;
--gold-bright: #f0c040;
--border: rgba(0,0,0,0.09);
--radius: 14px;
--radius-sm: 8px;
--card-bg: #1a1f3c;
--card-bg-hover: #1e2445;
--card-border: rgba(212,168,32,0.25);
--card-border-hover: rgba(192,148,14,0.55);
--card-heading: #d4a820;
/* --card-text: #e8e4f0; */
--card-text: rgb(214, 202, 202);
--card-muted: #a09ab8;
--card-divider: rgba(212,168,32,0.3);
--milestone-bg: #242950;
}
html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; color: var(--card-text); font-size: 15px; line-height: 1.6; }

/* Background */
.page-bg { position: relative; min-height: 100vh; }
.page-bg::before {
content: ''; position: fixed; inset: 0;
background-image: url('https://www.shutterstock.com/image-photo/bank-building-600nw-574713295.jpg');
background-size: cover; background-position: center top; z-index: -2;
}
/* dark overlay */
.page-bg::after { content: ''; position: fixed; inset: 0; background: rgba(8,10,28,0.75); z-index: -1; }

/* Top navigation bar */
.navbar {
position: sticky; top: 0; z-index: 50;
display: flex; justify-content: space-between; align-items: center;
padding: 0 48px; height: 64px;
background: rgba(14,17,40,0.98); backdrop-filter: blur(14px);
border-bottom: 1px solid rgba(212,168,32,0.2);
box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.logo { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: #d4a820; letter-spacing: -0.02em; text-decoration: none; }
.logo em { color: var(--red); font-style: normal; }
.nav-links { display: flex; gap: 2px; align-items: center; }
.nav-links a {
font-family:'Times New Roman', Times, serif;
font-size: 11px; font-weight: 600;
letter-spacing: 0.09em; text-transform: uppercase;
color: rgba(232,228,240,0.72);
text-decoration: none;
padding: 8px 14px;
border-radius: 0;
border: 1px solid transparent;
position: relative;
transition: color 0.18s, background 0.18s, border-color 0.18s;
white-space: nowrap;
}
/* bottom accent line on hover */
.nav-links a::after {
content: '';
position: absolute; bottom: -1px; left: 0; right: 0; height: 2px;
background: var(--gold);
transform: scaleX(0);
transform-origin: left;
transition: transform 0.22s ease;
}
.nav-links a:hover {
color: #fff;
background: rgba(212,168,32,0.08);
border-color: rgba(212,168,32,0.18);
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a:active {
background: rgba(212,168,32,0.2);
border-color: rgba(212,168,32,0.45);
}
.nav-links a.active {
color: var(--gold-bright);
background: rgba(212,168,32,0.12);
border-color: rgba(212,168,32,0.35);
}
.nav-links a.active::after { transform: scaleX(1); }

/* FinSight — distinct CTA button with blink */
.nav-links a.nav-cta {
color: #0e1128;
background: var(--gold);
border-color: var(--gold);
font-weight: 700;
letter-spacing: 0.1em;
}
.nav-links a.nav-cta::after { display: none; }
@keyframes ctaBlink {
0%, 100% { background: var(--gold); border-color: var(--gold); box-shadow: none; color: #0e1128; }
50% { background: var(--gold-bright); border-color: var(--gold-bright); box-shadow: 0 0 12px rgba(240,192,64,0.6); color: #0a0e20; }
}
.nav-links a.nav-cta { animation: ctaBlink 1.3s ease-in-out infinite; }
.nav-links a.nav-cta:hover {
animation: none;
background: var(--gold-bright);
border-color: var(--gold-bright);
color: #0e1128;
box-shadow: 0 0 14px rgba(212,168,32,0.45);
}
.nav-links a.nav-cta:active {
animation: none;
background: #b8900e;
border-color: #b8900e;
box-shadow: none;
}

/* blinking animation — for other nav-blink links */
@keyframes tabBlink {
0%, 100% { background: rgba(212,168,32,0.12); border-color: rgba(212,168,32,0.35); color: #f0c040; }
50% { background: rgba(212,168,32,0.28); border-color: rgba(212,168,32,0.6); color: #fff; box-shadow: 0 0 8px rgba(212,168,32,0.3); }
}
.nav-blink { animation: tabBlink 1.3s ease-in-out infinite; }
.nav-blink:hover { animation: none !important; }

/* Hamburger */
.ham-btn { display: none; flex-direction: column; gap: 5px; background: none; border: 1px solid rgba(212,168,32,0.25); cursor: pointer; padding: 8px 9px; border-radius: 0; }
.ham-btn span { display: block; width: 20px; height: 2px; background: var(--gold-bright); }

/* Mobile dropdown */
.mobile-nav {
display: none; flex-direction: column;
position: fixed; top: 64px; right: 16px; width: 230px;
background: rgba(14,17,40,0.99); border: 1px solid rgba(212,168,32,0.25);
border-radius: 0; box-shadow: 0 12px 32px rgba(0,0,0,0.55);
padding: 6px; z-index: 100;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
font-family: 'DM Sans', sans-serif;
font-size: 11px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase;
color: rgba(232,228,240,0.75); text-decoration: none;
padding: 10px 14px; border-radius: 0;
border-left: 2px solid transparent;
transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.mobile-nav a:hover { background: rgba(212,168,32,0.1); color: #fff; border-left-color: var(--gold); }
.mob-label { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--card-muted); padding: 8px 14px 4px; border-bottom: 1px solid rgba(212,168,32,0.15); margin-bottom: 4px; }
@keyframes mobileCta { 0%,100% { background: var(--gold); } 50% { background: var(--gold-bright); box-shadow: 0 0 8px rgba(240,192,64,0.4); } }
.mobile-nav .nav-cta { background: var(--gold); color: #0e1128 !important; font-weight: 700; margin-top: 4px; border-left-color: transparent; animation: mobileCta 1.3s ease-in-out infinite; }
.mobile-nav .nav-cta:hover { animation: none; background: var(--gold-bright); border-left-color: transparent; }
.mobile-nav .nav-blink { color: #f0c040 !important; animation: mobileBlink 1.3s ease-in-out infinite; }
@keyframes mobileBlink { 0%, 100% { background: rgba(212,168,32,0.1); border-left-color: rgba(212,168,32,0.4); } 50% { background: rgba(212,168,32,0.25); border-left-color: var(--gold); } }

/* Hero - top introductionary section */
.hero { padding: 26px 48px 32px; color: white; }
.hero-inner { max-width: 800px; }
.hero-eyebrow { display: inline-flex; align-items: center; margin-left: 8px; font-size: 12px; font-weight: 500; letter-spacing: 0.8em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; font-family: 'Times New Roman', Times, serif;}
.hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(28px,5vw,44px); font-weight: 700; line-height: 1.15; letter-spacing: 0.05em; margin-bottom: 14px; }
.hero h1 span { color: #e8755a; }
.hero p { font-size: 14px; color: whitesmoke; line-height: 1.7; font-style: italic; margin-bottom: 10px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-tag { font-size: 12px; font-weight: 500; padding: 3px 12px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.15); color: rgba(255,255,255,0.75); background: rgba(255,255,255,0.06); }

/* Tab bar */
.tab-bar {
display: flex; gap: 4px; padding: 0 48px;
background: rgba(26,31,60,0.92); backdrop-filter: blur(10px);
border-bottom: 1px solid rgba(212,168,32,0.15);
position: sticky; top: 64px; z-index: 40;
}
.tab-btn {
font-family:'Times New Roman', Times, serif; font-size: 12px; font-weight: 600;
color: var(--card-muted); background: none; border: none;
padding: 14px 18px; cursor: pointer;
border-bottom: 2px solid transparent;
transition: color 0.15s, border-color 0.15s; white-space: nowrap;
}
.tab-btn:hover { color: var(--gold-bright); }
.tab-btn.active { color: var(--gold-bright); border-bottom-color: var(--gold); }

/* Panels */
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* Home panel */
.bg-section { max-width: 100%; padding: 40px 48px; }

.section-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 20px; margin-top: 44px; margin-left: 60px; }
.section-head:first-child { margin-top: 0; }
.section-head h1 { font-family:'Times New Roman', Times, serif; font-size: clamp(22px,3vw,30px); font-weight: 600; color: goldenrod; text-shadow: 0 2px 12px rgba(19,15,1,0.5); letter-spacing: 0.04em; }
.section-head h2 { font-family:'Times New Roman', Times, serif; font-size: clamp(17px,2.5vw,22px); font-weight: 600; color: var(--gold-bright); text-shadow: 0 2px 12px rgba(0,0,0,0.5); }
.section-head span { font-family: 'Playfair Display', serif; font-style: italic; font-size: 14px; color: rgba(255,255,255,0.6); font-weight: 400; }

/* story card */
.back-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-left: 20px; }
.back { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 20px; padding: 36px; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; backdrop-filter: blur(8px); }
.back:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(0,0,0,0.45), 0 0 0 1px rgba(212,168,32,0.3); border-color: var(--card-border-hover); }
.back h3 { font-family:'Times New Roman', Times, serif; font-size: clamp(18px,3vw,22px); font-weight: 700; margin-bottom: 4px; color: var(--card-heading); }
.story-subhead { font-family: 'Playfair Display', serif; font-style: italic; font-size: 14px; color: var(--card-muted); margin-bottom: 16px; }
.story-divider { width: 90px; height: 1px; background: var(--gold); border-radius: 2px; margin-bottom: 16px; }

/* Inline read more story */
.story-text { font-size: 14px; line-height: 1.75; font-style: italic; color: var(--card-text); text-align: justify; }
.story-rest { display: none; }
.story-rest.open { display: inline; }
.story-dots { font-style: normal; color: var(--card-muted); }
.read-more-inline {
background: none; border: none; cursor: pointer;
color: var(--gold-bright); font-size: 14px; font-weight: 600;
font-style: normal; font-family: 'Segoe UI', sans-serif;
padding: 0 2px; text-decoration: underline; text-underline-offset: 3px;
transition: color 0.15s;
}
.read-more-inline:hover { color: var(--gold); }
.show-less-inline {
background: none; border: none; cursor: pointer;
color: var(--card-muted); font-size: 12px; font-weight: 500;
font-style: normal; font-family: 'Segoe UI', sans-serif;
padding: 0 2px; text-decoration: underline; text-underline-offset: 2px;
transition: color 0.15s; margin-left: 4px;
}
.show-less-inline:hover { color: var(--gold-bright); }

.story-milestones { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin: 18px 0 4px; }
.story-milestone { background: var(--milestone-bg); border-radius: 6px; padding: 12px; border: 1px solid rgba(212,168,32,0.15); }
.story-milestone-label { font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; font-style: normal;}
.story-milestone-text { font-size: 13px; color: var(--card-text); line-height: 1.4; }

.story-sig { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--card-divider); }
.story-avatar { width: 38px; height: 38px; border-radius: 50%; background: rgba(212,168,32,0.15); border: 1px solid rgba(212,168,32,0.4); display: flex; align-items: center; justify-content: center; font-weight: 500; font-size: 13px; color: var(--gold-bright); flex-shrink: 0; font-family: 'Times New Roman', Times, serif;}
.story-sig-name { font-weight: 500; font-size: 14px; color: var(--card-heading); margin-bottom: 2px; font-family: 'Times New Roman', Times, serif;}
.story-sig-role { font-size: 12px; color: var(--card-muted); }

/* Cards grid */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(240px,1fr)); gap: 16px; margin-left: 30px; }
.card { border: 1px solid var(--card-border); border-radius: var(--radius); background: var(--card-bg); padding: 28px; text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; backdrop-filter: blur(8px); }
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 36px rgba(0,0,0,0.4), 0 0 0 1px rgba(212,168,32,0.35); border-color: var(--card-border-hover); background: var(--card-bg-hover); }
/* .card-icon { width: 38px; height: 38px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 17px; margin-bottom: 10px; background: rgba(212,168,32,0.12); border: 1px solid rgba(212,168,32,0.2); } */
.card h3 { font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--card-heading); text-transform: uppercase; font-family: 'Times New Roman', Times, serif; }
.card p { font-size: 13px; line-height: 1.55; flex: 1; font-style: normal; color: var(--card-text); }
.card-link { margin-top: 12px; font-size: 11px; font-weight: 600; color: var(--gold-bright); display: inline-flex; align-items: center; gap: 4px; font-family: 'Times New Roman', Times, serif; text-transform: uppercase; letter-spacing: 0.02em;}

/* Goto */
.goto-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(125px,1fr)); gap: 16px; margin-left: 60px; margin-top: 8px; margin-bottom: 24px; }
.goto { border: 1px solid var(--card-border); border-radius: var(--radius); background: var(--card-bg); padding: 18px; text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; backdrop-filter: blur(8px); }
.goto:hover { transform: translateY(-3px); box-shadow: 0 10px 36px rgba(0,0,0,0.959), 0 0 0 1px rgb(163,127,20); border-color: var(--card-border-hover); background: var(--card-bg-hover); }
.goto-link { font-size: 13px; font-weight: 600; color: var(--gold); display: inline-flex; align-items: center; gap: 4px; letter-spacing: 0.2em;  text-transform: uppercase; font-family: 'Times New Roman', Times, serif; }

/* About panel */
.about-main { max-width: 960px; margin: 0 auto; padding: 40px 48px 52px; display: flex; flex-direction: column; gap: 24px; }

.asc { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--radius); overflow: hidden; transition: box-shadow 0.2s, border-color 0.2s; backdrop-filter: blur(8px); }
.asc:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.45), 0 0 0 1px rgba(212,168,32,0.3); border-color: var(--card-border-hover); }
.asc-head { display: flex; align-items: center; gap: 16px; padding: 20px 26px; border-bottom: 1px solid rgba(212,168,32,0.2); }
.asc-icon { font-family: 'Playfair Display', serif; width: 42px; height: 42px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; background: rgba(212,168,32,0.12); border: 1px solid rgba(212,168,32,0.2); color: #e1dfdf; }
.asc-head h2 { font-family:'Times New Roman', Times, serif; font-size: 20px; font-weight: 600; margin-bottom: 2px; color: var(--card-heading); }
.asc-head p { font-family: 'Playfair Display', serif; font-style: italic; font-size: 14px; color: rgba(255,255,255,0.6); font-weight: 400; }
/* .asc-head p { font-size: 14px; color: var(--card-muted); font-style: italic; } */
.asc-body { padding: 22px 26px; display: flex; flex-direction: column; gap: 14px; }
.asc-body p { font-size: 14px; color: var(--card-text); line-height: 1.85; font-style: italic; text-align: justify; }
.asc-body a { color: var(--gold); text-decoration: none; }
.asc-body a:hover { color: var(--gold-bright); text-decoration: underline; }

.profile-card { display: flex; align-items: center; gap: 18px; background: rgba(255,255,255,0.04); border: 1px solid rgba(212,168,32,0.2); border-radius: var(--radius-sm); padding: 16px 20px; }
.profile-avatar { width: 42px; height: 44px; border-radius: 50%; background: linear-gradient(135deg,#524982,#37125f); display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--card-text); font-family: 'Playfair Display', serif; font-weight: 700; flex-shrink: 0; }
.profile-info strong { display: block; font-size: 16px; font-weight: 700; margin-bottom: 2px; color: var(--card-heading); font-family: 'Times New Roman', Times, serif;}
.profile-info span { font-size: 14px; color: var(--card-muted); }

.platform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.platform-item { background: rgba(255,255,255,0.04); border: 1px solid rgba(212,168,32,0.15); border-radius: var(--radius-sm); padding: 13px 16px; display: flex; align-items: flex-start; gap: 10px; }
.platform-item-icon { font-size: 26px; flex-shrink: 0; margin-top: 2px; }
.platform-item strong { display: block; font-size: 12px; font-weight: 600; margin-bottom: 2px; color: var(--card-heading); text-transform: uppercase; font-family: 'Times New Roman', Times, serif; }
.platform-item span { font-size: 13px; line-height: 1.45; color: var(--card-muted); }

.section-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px; color: var(--card-muted); font-family: 'Times New Roman', Times, serif;}

.timeline { display: flex; flex-direction: column; }
.tl-item { display: flex; gap: 16px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid rgba(212,168,32,0.12); }
.tl-item:last-child { border-bottom: none; padding-bottom: 0; }
.tl-item:first-child { padding-top: 0; }
.tl-dot { width: 8px; height: 8px; border-radius: 100%; background: var(--gold); flex-shrink: 0; margin-top: 10px; }
.tl-content strong { display: block; font-size: 13px; font-weight: 600; margin-bottom: 2px; color: var(--card-text); font-family: 'Times New Roman', Times, serif;}
.tl-content span { font-size: 13px; font-style: italic; color: var(--card-muted); }

/* Back to top */
#back-top { position: fixed; bottom: 24px; right: 24px; width: 40px; height: 40px; background: var(--card-bg); color: var(--gold-bright); border: 1px solid rgba(212,168,32,0.3); border-radius: 50%; font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.2s, background 0.2s; box-shadow: 0 4px 16px rgba(0,0,0,0.4); }
#back-top.visible { opacity: 1; pointer-events: all; }
#back-top:hover { background: rgba(212,168,32,0.2); }

/* Footer */
footer { background: rgba(26,31,60,0.97); text-align: center; padding: 28px 48px; border-top: 1px solid rgba(212,168,32,0.2); font-size: 13px; color: var(--card-muted); font-family: 'Times New Roman', Times, serif; word-spacing: 0.2em; letter-spacing: 0.04em;}
footer strong { color: var(--card-text); font-weight: 600; }

/* Responsive */
@media (max-width: 1024px) {
.navbar { padding: 0 24px; }
.nav-links a { font-size: 12px; padding: 6px 10px; }
.hero { padding: 24px 32px 28px; }
.tab-bar { padding: 0 24px; top: 54px; }
.bg-section { padding: 36px 32px; }
.about-main { padding: 36px 32px; }
footer { padding: 24px 32px; }
}
@media (max-width: 768px) {
.nav-links { display: none; }
.ham-btn { display: flex; }
.navbar { padding: 0 16px; height: 54px; }
.tab-bar { padding: 0 16px; top: 54px; }
.tab-btn { font-size: 13px; padding: 12px 12px; }
.hero { padding: 20px 20px 24px; }
.hero h1 { font-size: 26px; }
.bg-section { padding: 24px 16px 40px; }
.about-main { padding: 24px 16px 40px; gap: 16px; }
.section-head { flex-direction: column; gap: 4px; margin-left: 0; margin-top: 32px; }
.back { padding: 22px 18px; border-radius: 14px; }
.story-milestones { grid-template-columns: 1fr; }
.cards-grid { grid-template-columns: 1fr; gap: 12px; margin-left: 0; }
.card { padding: 18px; }
.back-grid { margin-left: 0; }
.platform-grid { grid-template-columns: 1fr; }
.asc-head { padding: 14px 16px; }
.asc-body { padding: 14px 16px; }
footer { padding: 20px 16px; }
.goto-grid { margin-left: 0; }
}
@media (max-width: 380px) {
.hero h1 { font-size: 22px; }
.back { padding: 16px 14px; }
}