/* ===== Shereen Surya — Portfolio Design System ===== */

:root {
  --navy: #332E2C;
  --navy-light: #6B7C98;
  --teal: #56677F;
  --teal-light: #A7B4C6;
  --orange: #8F7A6E;
  --orange2: #B3A093;
  --orange3: #DED2C9;
  --cream: #E9E6E7;
  --ink: #211E1C;
  --muted: #635E5A;
  --line: #DAD5D2;
  --white: #FFFFFF;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 8px 24px rgba(51, 46, 44, 0.12);
  --shadow-lg: 0 16px 40px rgba(51, 46, 44, 0.20);
  --maxw: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ---------- Nav ---------- */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 20px; color: var(--navy); }
.brand .dot { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--orange3), var(--orange)); display: flex; align-items: center; justify-content: center; color: white; font-weight: 800; font-size: 16px; }
.nav-links { display: flex; align-items: center; gap: 24px; font-weight: 600; font-size: 15px; color: var(--muted); }
.nav-links a:hover { color: var(--teal); }
.nav-cta {
  background: var(--navy); color: white !important; padding: 11px 20px; border-radius: 999px;
  font-weight: 700; font-size: 14px; white-space: nowrap;
}
.nav-cta-alt {
  background: var(--teal); color: white !important; padding: 11px 20px; border-radius: 999px;
  font-weight: 700; font-size: 14px; white-space: nowrap;
}
.nav-links a.active { color: var(--navy); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 28px; border-radius: 999px; font-weight: 700; font-size: 15px;
  border: none; cursor: pointer;
}
.btn-primary { background: var(--navy); color: white; }
.btn-secondary { background: var(--white); color: var(--navy); border: 2px solid var(--navy); }
.btn-teal { background: var(--teal); color: white; }
.btn-sm { padding: 10px 20px; font-size: 14px; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--cream) 0%, #FFFFFF 100%); padding: 84px 0 60px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 60px; align-items: center; }
.eyebrow { font-size: 14px; font-weight: 800; letter-spacing: 2.5px; text-transform: uppercase; color: var(--teal); margin: 0 0 16px; }
.hero h1 { font-size: 52px; line-height: 1.15; color: var(--navy); margin: 0 0 20px; font-weight: 800; }
.hero h1 .hi { display: inline-block; }
.hero p.lead { font-size: 19px; color: var(--muted); line-height: 1.6; max-width: 520px; margin: 0 0 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.avatar-hero {
  width: 100%; aspect-ratio: 1/1; border-radius: 32px;
  background: linear-gradient(150deg, var(--orange3), var(--orange));
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.avatar-hero .initial { font-size: 160px; font-weight: 800; color: rgba(255,255,255,0.92); }
.avatar-hero .ring { position: absolute; border: 4px solid rgba(255,255,255,0.35); border-radius: 50%; }
.avatar-hero img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; position: relative; z-index: 1; }

/* ---------- Supporting photos ---------- */
.timeline-photo {
  float: right; width: 88px; height: 88px; border-radius: 16px; object-fit: cover;
  box-shadow: var(--shadow); margin: 0 0 10px 16px; border: 3px solid white;
}
.competition-photos { display: flex; gap: 14px; margin-bottom: 24px; }
.competition-photos img { width: 50%; border-radius: 14px; object-fit: cover; aspect-ratio: 4/3; box-shadow: var(--shadow); }
@media (max-width: 640px) {
  .timeline-photo { width: 64px; height: 64px; margin-left: 10px; }
}

/* ---------- Stat strip ---------- */
.stat-strip { background: var(--navy); padding: 26px 0; }
.stat-strip .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 18px; }
.stat-item { color: white; font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.stat-item b { color: var(--teal-light); font-size: 17px; }

/* ---------- Section ---------- */
.section { padding: 80px 0; }
.section-head { max-width: 640px; margin: 0 0 44px; }
.section-head h2 { font-size: 36px; color: var(--navy); margin: 0 0 12px; font-weight: 800; }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }
.section.bg-cream { background: var(--cream); }

/* ---------- Filter pills ---------- */
.filter-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.pill {
  font-family: inherit; font-size: 14px; font-weight: 700; color: var(--muted);
  background: var(--cream); border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 20px; cursor: pointer;
}
.pill.active { background: var(--navy); color: white; border-color: var(--navy); }
.pill:hover:not(.active) { border-color: var(--teal); color: var(--teal); }

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.pillar-card {
  background: white; border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow);
  border-top: 6px solid var(--teal);
}
.pillar-card .icon-badge {
  width: 62px; height: 62px; border-radius: 18px; background: var(--cream);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.pillar-card .icon-badge svg { width: 32px; height: 32px; }
.pillar-card h3 { font-size: 20px; color: var(--navy); margin: 0 0 10px; }
.pillar-card p { font-size: 15px; color: var(--muted); margin: 0; line-height: 1.55; }

.article-card {
  display: flex; flex-direction: column; background: white; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); transition: none;
}
.article-card .thumb { width: 100%; aspect-ratio: 16/10; overflow: hidden; background: var(--orange3); }
.article-card .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.article-card .body { padding: 26px 28px 30px; }
.article-card .tag { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }
.article-card h3 { font-size: 21px; color: var(--navy); margin: 0 0 10px; line-height: 1.3; }
.article-card p { font-size: 15px; color: var(--muted); margin: 0 0 16px; }
.article-card .readmore { font-weight: 700; color: var(--navy); font-size: 14px; }

.mini-card {
  background: white; border-radius: var(--radius-sm); padding: 24px; box-shadow: var(--shadow);
  display: flex; gap: 16px; align-items: flex-start;
}
.mini-card .icon-badge { width: 48px; height: 48px; border-radius: 14px; background: var(--cream); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mini-card .icon-badge svg { width: 24px; height: 24px; }
.mini-card h4 { margin: 0 0 6px; font-size: 16px; color: var(--navy); }
.mini-card p { margin: 0; font-size: 14px; color: var(--muted); }

/* ---------- Callout ---------- */
.callout { background: var(--teal); color: white; border-radius: var(--radius); padding: 32px 36px; font-size: 17px; line-height: 1.6; }
.callout b { color: #F3EFEC; }
.callout.navy { background: var(--navy); }
.callout.light { background: var(--cream); color: var(--ink); border: 1px solid var(--line); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--orange3), var(--orange)); border-radius: 28px; padding: 56px; text-align: center; }
.cta-band h2 { color: var(--navy); font-size: 32px; margin: 0 0 14px; font-weight: 800; }
.cta-band p { color: rgba(51,46,44,0.78); font-size: 17px; margin: 0 0 28px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); padding: 56px 0 34px; margin-top: 40px; }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 30px; }
.site-footer .brand { color: white; }
.site-footer p { color: rgba(255,255,255,0.6); font-size: 14px; max-width: 320px; margin: 12px 0 0; }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,0.8); font-size: 14px; font-weight: 600; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 40px; padding-top: 24px; }
.footer-bottom .wrap { color: rgba(255,255,255,0.45); font-size: 13px; }

/* ---------- Article page ---------- */
.article-header { background: var(--cream); padding: 64px 0 50px; }
.article-header .wrap { max-width: 760px; }
.article-header .eyebrow { color: var(--teal); }
.article-header h1 { font-size: 42px; color: var(--navy); margin: 0 0 18px; font-weight: 800; line-height: 1.2; }
.article-meta { display: flex; gap: 18px; align-items: center; font-size: 14px; color: var(--muted); font-weight: 600; }
.article-body { max-width: 760px; margin: 0 auto; padding: 56px 28px 40px; }
.article-body h2 { font-size: 28px; color: var(--navy); margin: 48px 0 18px; font-weight: 800; }
.article-body h3 { font-size: 21px; color: var(--teal); margin: 34px 0 10px; font-weight: 700; }
.article-body p { font-size: 18px; color: #3A3532; line-height: 1.7; margin: 0 0 20px; }
.article-body img.article-img { border-radius: var(--radius); margin: 28px auto; box-shadow: var(--shadow); }
.article-body .callout { margin: 28px 0; }
.article-body table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; }
.article-body th { background: var(--navy); color: white; text-align: left; padding: 14px 16px; font-size: 14px; }
.article-body td { padding: 14px 16px; border-bottom: 1px solid var(--line); }
.article-body tr:nth-child(even) td { background: var(--cream); }
.article-body ul { padding-left: 22px; }
.article-body li { font-size: 17px; color: #3A3532; margin-bottom: 10px; line-height: 1.6; }
.badge-pill { display: inline-block; background: var(--navy); color: white; font-size: 14px; font-weight: 700; padding: 10px 20px; border-radius: 999px; margin-top: 6px; }

/* ---------- Timeline (about page) ---------- */
.timeline { position: relative; padding-left: 34px; border-left: 3px solid var(--line); }
.timeline-item { position: relative; padding-bottom: 40px; }
.timeline-item::after { content: ""; display: table; clear: both; }
.timeline-item::before { content:""; position: absolute; left: -42px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--teal); border: 4px solid var(--cream); }
.timeline-item .yr { font-size: 13px; font-weight: 800; color: var(--teal); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 6px; }
.timeline-item h4 { font-size: 19px; color: var(--navy); margin: 0 0 8px; }
.timeline-item p { font-size: 15px; color: var(--muted); margin: 0; line-height: 1.6; }

/* ---------- Bar chart (reused pattern) ---------- */
.bar-wrap { width: 100%; max-width: 520px; height: 280px; margin: 30px auto; position: relative; }
.bar-pct { position: absolute; width: 44%; text-align: center; font-size: 24px; font-weight: 800; color: var(--navy); }
.bar-rect { position: absolute; border-radius: 12px 12px 0 0; width: 44%; }
.bar-caption { position: absolute; width: 44%; top: 240px; font-size: 15px; text-align: center; color: #3A3532; font-weight: 700; line-height: 1.4; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 38px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .stat-strip .wrap { flex-direction: column; }
  .article-header h1 { font-size: 30px; }
  .cta-band { padding: 40px 26px; }
  .cta-band h2 { font-size: 26px; }
}
