/* ===== SH Finmart — Stylesheet ===== */
:root {
  --navy: #0b1f3a;
  --navy-deep: #071528;
  --blue: #1d4ed8;
  --blue-bright: #3b82f6;
  --gold: #d4af37;
  --gold-soft: #e7c66b;
  --ink: #0f172a;
  --slate: #475569;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(11, 31, 58, 0.08);
  --shadow-lg: 0 24px 60px rgba(11, 31, 58, 0.16);
  --maxw: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand-text {
  font-family: "Sora", "Inter", sans-serif;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px; border-radius: 999px; font-weight: 600;
  font-size: 0.98rem; cursor: pointer; border: 1.5px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-bright));
  color: #fff; box-shadow: 0 10px 24px rgba(29, 78, 216, 0.32);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(29, 78, 216, 0.4); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.brand-mark {
  display: grid; place-items: center; width: 38px; height: 38px;
  border-radius: 10px; background: linear-gradient(135deg, var(--navy), var(--blue));
  color: #fff; font-family: "Sora", sans-serif; font-weight: 800; font-size: 0.95rem;
  letter-spacing: -0.04em;
}
.brand-text { font-size: 1.25rem; color: var(--navy); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--slate); font-weight: 500; font-size: 0.96rem; transition: color 0.15s; }
.nav-links a:hover { color: var(--blue); }
.nav-links a.active { color: var(--blue); }
.nav-cta {
  background: var(--navy); color: #fff !important; padding: 9px 20px;
  border-radius: 999px; font-weight: 600 !important;
}
.nav-cta:hover { background: var(--blue); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: 0.2s; }

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 500px at 80% -10%, rgba(59, 130, 246, 0.16), transparent 60%),
    radial-gradient(800px 400px at 0% 20%, rgba(212, 175, 55, 0.1), transparent 60%),
    linear-gradient(180deg, #fbfdff, #ffffff);
}
.hero-inner { padding: 96px 24px 104px; max-width: 920px; }
.hero-eyebrow {
  display: inline-block; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; font-size: 0.78rem; color: var(--blue);
  background: rgba(59, 130, 246, 0.1); padding: 8px 16px; border-radius: 999px;
  margin-bottom: 26px;
}
.hero-title { font-size: clamp(2.4rem, 6vw, 4.1rem); font-weight: 800; color: var(--navy); }
.hero-title .accent {
  background: linear-gradient(120deg, var(--blue), var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { font-size: 1.2rem; color: var(--slate); margin-top: 26px; max-width: 760px; }
.hero-sub { font-size: 1.05rem; color: var(--muted); margin-top: 16px; max-width: 760px; }
.hero-sub strong, .hero-lead strong { color: var(--navy); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

/* Compact hero variant for inner pages */
.hero-compact .hero-inner { padding: 72px 24px 64px; }

/* ===== Sections ===== */
.section { padding: 88px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-tag {
  display: inline-block; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; font-size: 0.76rem; color: var(--blue);
  margin-bottom: 16px;
}
.section-tag.light { color: var(--gold-soft); }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); color: var(--navy); }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 1.06rem; }

/* ===== Cards ===== */
.card-grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(59, 130, 246, 0.4); }
.card-icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  font-size: 1.5rem; background: var(--bg-soft); margin-bottom: 18px;
}
.card h3 { font-size: 1.2rem; color: var(--navy); margin-bottom: 14px; }
.card ul { list-style: none; }
.card li {
  position: relative; padding-left: 22px; color: var(--slate);
  font-size: 0.96rem; margin-bottom: 8px;
}
.card li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 7px; height: 7px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--gold));
}

/* ===== Philosophy ===== */
.section-philosophy {
  background:
    radial-gradient(900px 400px at 50% 0%, rgba(59, 130, 246, 0.18), transparent 60%),
    linear-gradient(160deg, var(--navy), var(--navy-deep));
  color: #fff; text-align: center;
}
.philosophy-inner { max-width: 760px; margin: 0 auto; }
.philosophy-title {
  font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; margin: 10px 0 22px;
  background: linear-gradient(120deg, #fff, var(--gold-soft));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.philosophy-lead { font-size: 1.18rem; color: #c9d6ea; }
.philosophy-lead strong { color: #fff; }
.philosophy-pills { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 32px; }
.pill {
  padding: 10px 22px; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16);
  color: #eaf1fb;
}

/* ===== Publications ===== */
.pub-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.pub-item {
  display: flex; align-items: center; gap: 18px;
  padding: 24px 26px; border-radius: var(--radius);
  background: var(--bg-soft); border: 1px solid var(--line);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pub-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pub-num {
  font-family: "Sora", sans-serif; font-weight: 800; font-size: 1.5rem;
  background: linear-gradient(135deg, var(--blue), var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  min-width: 44px;
}
.pub-item p { font-weight: 600; color: var(--navy); }

/* ===== Vision ===== */
.section-vision {
  background: var(--bg-soft); text-align: center;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.vision-inner { max-width: 820px; margin: 0 auto; }
.vision-statement {
  font-family: "Sora", sans-serif; font-weight: 600;
  font-size: clamp(1.4rem, 3.2vw, 2.1rem); color: var(--navy);
  line-height: 1.4; margin-top: 14px;
}

/* ===== Contact ===== */
.contact-card {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 36px; align-items: center;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: #fff; border-radius: 24px; padding: 50px 48px; box-shadow: var(--shadow-lg);
}
.contact-text h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 12px; }
.contact-text p { color: #d4e0f5; }
.contact-form { display: flex; gap: 10px; flex-wrap: wrap; }
.contact-form input {
  flex: 1; min-width: 200px; padding: 14px 18px; border-radius: 999px;
  border: none; font-size: 1rem; font-family: inherit; outline: none;
}
.contact-form input:focus { box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.5); }

/* ===== Research page ===== */
.report-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.report-card {
  display: flex; flex-direction: column;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.report-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(59, 130, 246, 0.4); }
.report-top {
  padding: 22px 26px; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.report-cat {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--blue); background: rgba(59, 130, 246, 0.1);
  padding: 6px 12px; border-radius: 999px;
}
.report-date { font-size: 0.84rem; color: var(--muted); font-weight: 500; }
.report-body { padding: 24px 26px; flex: 1; display: flex; flex-direction: column; }
.report-body h3 { font-size: 1.22rem; color: var(--navy); margin-bottom: 12px; }
.report-body p { color: var(--slate); font-size: 0.98rem; margin-bottom: 20px; }
.report-link {
  margin-top: auto; font-weight: 600; color: var(--blue); font-size: 0.95rem;
  display: inline-flex; align-items: center; gap: 6px;
}
.report-link:hover { gap: 10px; }
.report-tag {
  display: inline-block; font-size: 0.78rem; font-weight: 600; color: var(--slate);
  background: var(--bg-soft); border: 1px solid var(--line);
  padding: 5px 12px; border-radius: 999px; margin: 0 6px 8px 0;
}

/* Coverage strip */
.coverage { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* Process steps */
.steps { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: step; }
.step {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; box-shadow: var(--shadow); position: relative;
}
.step-num {
  font-family: "Sora", sans-serif; font-weight: 800; font-size: 1.1rem;
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; margin-bottom: 16px;
}
.step h3 { font-size: 1.08rem; color: var(--navy); margin-bottom: 10px; }
.step p { color: var(--slate); font-size: 0.95rem; }

/* CTA band */
.cta-band {
  background:
    radial-gradient(900px 400px at 50% 0%, rgba(59, 130, 246, 0.2), transparent 60%),
    linear-gradient(160deg, var(--navy), var(--navy-deep));
  color: #fff; text-align: center; border-radius: 24px; padding: 56px 40px;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 14px; }
.cta-band p { color: #c9d6ea; max-width: 560px; margin: 0 auto 28px; }

/* ===== Footer ===== */
.site-footer { background: var(--navy-deep); color: #c9d6ea; padding-top: 56px; }
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 24px; padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand .brand-text { color: #fff; }
.footer-brand p { margin-top: 8px; font-size: 0.94rem; color: #8ea3c4; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-nav a { color: #c9d6ea; font-size: 0.95rem; transition: color 0.15s; }
.footer-nav a:hover { color: var(--gold-soft); }

.disclaimer { padding: 40px 24px; }
.disclaimer h3 {
  font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--gold-soft); margin-bottom: 16px;
}
.disclaimer p { font-size: 0.88rem; color: #8ea3c4; margin-bottom: 12px; max-width: 900px; }

.footer-bottom {
  padding: 24px; border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center; font-size: 0.86rem; color: #6b80a3;
}

/* ===== Reveal animation ===== */
.section, .card, .pub-item { will-change: transform; }
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .nav-links {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px 0; transform: translateY(-120%); transition: transform 0.28s ease;
    box-shadow: var(--shadow);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 14px 24px; width: 100%; }
  .nav-cta { margin: 8px 24px; text-align: center; }
  .nav-toggle { display: flex; }
  .contact-card { grid-template-columns: 1fr; padding: 38px 28px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
