/* ============================================================
   seemabanalytics.com
   Single stylesheet, static site, no build step
   Locked design system per source-of-truth document
   ============================================================ */

/* ---------- Reset and base ---------- */

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

html {
  font-size: 17px;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: "EB Garamond", "Garamond", "Georgia", serif;
  font-weight: 400;
  line-height: 1.6;
  color: #1a1a1a;
  background: #ffffff;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: #14213d;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}

a:hover {
  border-bottom-color: #14213d;
}

/* ---------- Typography ---------- */

h1, h2, h3, h4, .nav, .stat-number, .eyebrow, .footer, .card-num {
  font-family: "Helvetica Neue", "Inter", "Arial", sans-serif;
  font-weight: 500;
  line-height: 1.2;
  color: #14213d;
}

h1 { font-size: 48px; letter-spacing: -0.01em; }
h2 { font-size: 32px; letter-spacing: -0.005em; }
h3 { font-size: 24px; }
h4 { font-size: 19px; }

p {
  margin-bottom: 1.2em;
}

p:last-child { margin-bottom: 0; }

.eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7a7a7a;
  margin-bottom: 24px;
}

.muted {
  color: #7a7a7a;
}

/* ---------- Layout ---------- */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

.container-narrow {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 32px;
}

section {
  padding: 96px 0;
}

section.tight {
  padding: 64px 0;
}

.section-rule {
  border-top: 1px solid #e5e5e5;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  background: #ffffff;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.site-header.scrolled {
  border-bottom-color: #e5e5e5;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  padding-bottom: 22px;
}

.site-title {
  font-family: "Helvetica Neue", "Inter", "Arial", sans-serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: #14213d;
  border-bottom: none;
}

.site-title:hover { border-bottom: none; }

.nav {
  display: flex;
  gap: 32px;
  font-size: 15px;
}

.nav a {
  color: #4a4a4a;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}

.nav a:hover, .nav a.active {
  color: #14213d;
  border-bottom-color: #14213d;
}

/* ---------- Hero ---------- */

.hero {
  padding: 128px 0 96px;
}

.hero h1 {
  margin-bottom: 16px;
}

.hero .subtitle {
  font-family: "EB Garamond", "Garamond", "Georgia", serif;
  font-size: 24px;
  line-height: 1.4;
  color: #4a4a4a;
  font-weight: 400;
  max-width: 760px;
  margin-bottom: 32px;
}

.hero .lead {
  font-size: 19px;
  color: #4a4a4a;
  max-width: 700px;
}

/* ---------- Stats row ---------- */

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  padding: 64px 0;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
}

.stat-block .stat-number {
  font-size: 40px;
  font-weight: 500;
  margin-bottom: 8px;
  line-height: 1;
}

.stat-block .stat-label {
  font-size: 14px;
  color: #7a7a7a;
  line-height: 1.4;
}

/* ---------- Feature blocks (home page) ---------- */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.feature h3 {
  margin-bottom: 12px;
}

.feature p {
  color: #4a4a4a;
  margin-bottom: 16px;
}

.feature .link-arrow {
  font-family: "Helvetica Neue", "Inter", "Arial", sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #14213d;
  border-bottom: 1px solid #14213d;
}

/* ---------- Section heading ---------- */

.section-heading {
  margin-bottom: 48px;
}

.section-heading h2 {
  margin-bottom: 12px;
}

.section-heading p {
  font-size: 19px;
  color: #4a4a4a;
  max-width: 680px;
}

/* ---------- Project cards (work hub) ---------- */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.project-card {
  border: 1px solid #e5e5e5;
  padding: 32px;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  transition: border-color 0.2s ease, transform 0.2s ease;
  text-decoration: none;
  color: inherit;
}

.project-card:hover {
  border-color: #14213d;
  border-bottom: 1px solid #14213d;
  transform: translateY(-2px);
}

.project-card .card-num {
  font-size: 13px;
  color: #7a7a7a;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

.project-card h3 {
  font-size: 21px;
  line-height: 1.3;
  margin-bottom: 16px;
}

.project-card .card-desc {
  font-size: 15px;
  color: #4a4a4a;
  line-height: 1.5;
  flex-grow: 1;
  margin-bottom: 24px;
}

.project-card .card-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  border-top: 1px solid #e5e5e5;
  padding-top: 20px;
}

.project-card .card-stat-num {
  font-family: "Helvetica Neue", "Inter", "Arial", sans-serif;
  font-size: 22px;
  font-weight: 500;
  color: #14213d;
  line-height: 1;
  margin-bottom: 4px;
}

.project-card .card-stat-label {
  font-size: 11px;
  color: #7a7a7a;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

/* ---------- Earlier work cards ---------- */

.earlier-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 64px;
}

.earlier-card {
  padding: 32px;
  border: 1px solid #e5e5e5;
}

.earlier-card h4 {
  margin-bottom: 12px;
}

.earlier-card p {
  font-size: 15px;
  color: #4a4a4a;
  margin: 0;
}

/* ---------- Project detail page ---------- */

.project-header {
  padding: 128px 0 64px;
}

.project-header .eyebrow {
  margin-bottom: 16px;
}

.project-header h1 {
  font-size: 40px;
  margin-bottom: 24px;
  max-width: 800px;
}

.project-header .abstract {
  font-size: 19px;
  line-height: 1.55;
  color: #4a4a4a;
  max-width: 760px;
}

.project-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  padding: 48px 0;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
}

.project-body h2 {
  font-size: 28px;
  margin-bottom: 24px;
  margin-top: 64px;
}

.project-body h2:first-child {
  margin-top: 0;
}

.project-body p {
  font-size: 18px;
  line-height: 1.7;
  color: #1a1a1a;
  max-width: 720px;
  margin-bottom: 1.2em;
}

.findings {
  border-left: 2px solid #14213d;
  padding-left: 24px;
  margin: 32px 0;
}

.findings p {
  margin-bottom: 1em;
}

.figure-block {
  margin: 48px 0;
}

.figure-block img {
  border: 1px solid #e5e5e5;
  width: 100%;
  height: auto;
}

.figure-caption {
  font-family: "Helvetica Neue", "Inter", "Arial", sans-serif;
  font-size: 13px;
  color: #7a7a7a;
  margin-top: 12px;
  line-height: 1.5;
  max-width: 720px;
}

.downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 32px 0;
}

.download-link {
  border: 1px solid #14213d;
  padding: 14px 24px;
  font-family: "Helvetica Neue", "Inter", "Arial", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #14213d;
  text-decoration: none;
  letter-spacing: 0.02em;
  border-bottom: 1px solid #14213d;
  transition: background 0.15s ease, color 0.15s ease;
}

.download-link:hover {
  background: #14213d;
  color: #ffffff;
}

.citation {
  background: #fafafa;
  border: 1px solid #e5e5e5;
  padding: 24px;
  font-family: "Helvetica Neue", "Inter", "Arial", sans-serif;
  font-size: 14px;
  color: #4a4a4a;
  line-height: 1.6;
  margin: 32px 0;
}

/* ---------- About page ---------- */

.about-section {
  max-width: 680px;
  margin: 0 auto;
}

.about-section h2 {
  font-size: 24px;
  margin-top: 64px;
  margin-bottom: 16px;
  color: #14213d;
}

.about-section h2:first-child {
  margin-top: 0;
}

.about-section p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 1.2em;
}

.commitments {
  counter-reset: commitment;
  list-style: none;
  margin: 24px 0;
}

.commitments > div {
  counter-increment: commitment;
  position: relative;
  padding-left: 56px;
  margin-bottom: 32px;
}

.commitments > div::before {
  content: counter(commitment, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-family: "Helvetica Neue", "Inter", "Arial", sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #7a7a7a;
  letter-spacing: 0.05em;
}

.commitments h4 {
  font-size: 17px;
  margin-bottom: 8px;
}

.commitments p {
  font-size: 16px;
  margin-bottom: 0;
  color: #4a4a4a;
}

/* ---------- Recognition page ---------- */

.rec-group {
  margin-bottom: 64px;
}

.rec-group h2 {
  font-size: 24px;
  color: #14213d;
  margin-bottom: 32px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e5e5e5;
}

.rec-item {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid #f0f0f0;
}

.rec-item:last-child {
  border-bottom: none;
}

.rec-item .rec-title {
  font-family: "Helvetica Neue", "Inter", "Arial", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #14213d;
  margin-bottom: 4px;
}

.rec-item .rec-meta {
  font-family: "Helvetica Neue", "Inter", "Arial", sans-serif;
  font-size: 13px;
  color: #7a7a7a;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.rec-item .rec-desc {
  font-size: 16px;
  color: #4a4a4a;
  line-height: 1.55;
  max-width: 640px;
}

/* ---------- Contact page ---------- */

.contact-blocks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.contact-block {
  padding: 40px;
  border: 1px solid #e5e5e5;
}

.contact-block .contact-label {
  font-family: "Helvetica Neue", "Inter", "Arial", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7a7a7a;
  margin-bottom: 12px;
}

.contact-block .contact-value {
  font-family: "Helvetica Neue", "Inter", "Arial", sans-serif;
  font-size: 22px;
  font-weight: 500;
  color: #14213d;
}

.contact-block .contact-value a {
  color: #14213d;
  border-bottom: 1px solid transparent;
}

.contact-block .contact-value a:hover {
  border-bottom-color: #14213d;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid #e5e5e5;
  padding: 64px 0 32px;
  margin-top: 96px;
}

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.site-footer .footer-col h4 {
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: #7a7a7a;
}

.site-footer .footer-col .brand {
  font-family: "Helvetica Neue", "Inter", "Arial", sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #14213d;
  margin-bottom: 8px;
}

.site-footer .footer-col p,
.site-footer .footer-col a,
.site-footer .footer-col li {
  font-size: 14px;
  color: #4a4a4a;
  line-height: 1.8;
}

.site-footer .footer-col ul {
  list-style: none;
}

.site-footer .footer-col a {
  border-bottom: 1px solid transparent;
}

.site-footer .footer-col a:hover {
  color: #14213d;
  border-bottom-color: #14213d;
}

.site-footer .copyright {
  font-family: "Helvetica Neue", "Inter", "Arial", sans-serif;
  font-size: 13px;
  color: #7a7a7a;
  padding-top: 24px;
  border-top: 1px solid #e5e5e5;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  html { font-size: 16px; }
  h1 { font-size: 40px; }
  h2 { font-size: 28px; }
  .hero { padding: 96px 0 64px; }
  .hero .subtitle { font-size: 22px; }
  section { padding: 64px 0; }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  .features-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .earlier-grid {
    grid-template-columns: 1fr;
  }
  .contact-blocks {
    grid-template-columns: 1fr;
  }
  .site-footer .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 600px) {
  html { font-size: 15px; }
  h1 { font-size: 34px; }
  h2 { font-size: 26px; }
  .container, .container-narrow { padding: 0 24px; }
  section { padding: 48px 0; }
  .hero { padding: 72px 0 48px; }

  .nav {
    gap: 20px;
    font-size: 14px;
  }
  .site-title {
    font-size: 16px;
  }
  .stats-row {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 48px 0;
  }
  .stat-block .stat-number { font-size: 36px; }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .project-card { padding: 24px; }
  .site-footer .footer-grid {
    grid-template-columns: 1fr;
  }
  .contact-block { padding: 28px; }
}

/* ---------- Print ---------- */

@media print {
  .site-header, .site-footer { display: none; }
  body { font-size: 11pt; }
  a { color: #14213d; border: none; }
  section { padding: 24pt 0; page-break-inside: avoid; }
}
