/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1.875; /* ~30px at 16px base */
  color: #818181;
  background: #fff;
}

/* ===== Navigation ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  z-index: 1000;
  border-bottom: 1px solid #e8e8e8;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 32px;
}

.nav-logo {
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 1px;
  color: #333;
  text-transform: uppercase;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav-links a {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #818181;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #333;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #e8e8e8;
  list-style: none;
  min-width: 180px;
  padding: 8px 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  font-size: 12px;
  letter-spacing: 1px;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 32px 80px;
}

.hero-content {
  max-width: 800px;
}

.hero h1 {
  font-family: 'Lora', serif;
  font-size: clamp(42px, 7vw, 90px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 1px;
  color: #333;
  margin-bottom: 32px;
}

.hero p {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1.875;
  color: #818181;
  max-width: 680px;
  margin: 0 auto;
}

/* ===== Content Sections ===== */
.content-section {
  padding: 100px 32px;
  background: #fff;
}

.content-section.alt {
  background: #f9f9f9;
}

.section-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.section-inner h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #333;
  margin-bottom: 24px;
  line-height: 1.3;
}

.section-inner p {
  font-size: 16px;
  line-height: 1.875;
  color: #818181;
}

/* ===== Footer ===== */
.site-footer {
  background: #fff;
  border-top: 1px solid #e8e8e8;
  padding: 40px 32px;
  text-align: center;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.footer-nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #818181;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: #333;
}

.footer-copy {
  font-size: 13px;
  color: #aaa;
}

/* ===== Research index page ===== */
.paper {
  margin-bottom: 40px;
}

.paper h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
  text-transform: none;
  letter-spacing: 0;
}

.paper h3 a {
  color: #333;
  text-decoration: none;
  transition: color 0.2s;
}

.paper h3 a:hover {
  color: #818181;
}

/* ===== Active nav link ===== */
.nav-links a.active {
  color: #333;
}

/* ===== Inner pages ===== */
.page-main {
  padding-top: 70px; /* offset for fixed header */
}

.page-hero {
  padding: 80px 32px 60px;
  text-align: center;
  border-bottom: 1px solid #e8e8e8;
}

.page-hero h1 {
  font-family: 'Lora', serif;
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 700;
  letter-spacing: 1px;
  color: #333;
}

.text-left {
  text-align: left;
}

.text-left h2,
.text-left h3 {
  text-align: left;
}

.text-left p + p {
  margin-top: 16px;
}

/* About page */
.founder-card {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-top: 32px;
  text-align: left;
}

.founder-photo {
  width: 160px;
  height: 160px;
  object-fit: cover;
  flex-shrink: 0;
}

.founder-info h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin-bottom: 4px;
}

.founder-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 16px;
}

.founder-edu {
  margin-top: 16px;
  font-size: 13px;
  color: #aaa;
}

/* Contact page */
.contact-intro {
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.contact-form {
  max-width: 560px;
  margin: 0 auto;
  text-align: left;
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-row .form-group {
  flex: 1;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #818181;
  margin-bottom: 8px;
}

.required {
  color: #c00;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  color: #333;
  background: #fff;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #818181;
}

.form-group textarea {
  resize: vertical;
}

.btn-submit {
  display: inline-block;
  padding: 14px 40px;
  background: #333;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-submit:hover {
  background: #555;
}

/* Research pages */
.research-meta {
  font-size: 13px;
  color: #aaa;
  font-style: italic;
  margin-bottom: 32px;
}

.section-inner h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #333;
  margin: 32px 0 12px;
}

.research-links {
  display: flex;
  gap: 16px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.btn-link {
  display: inline-block;
  padding: 12px 28px;
  border: 1px solid #333;
  color: #333;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.btn-link:hover {
  background: #333;
  color: #fff;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    gap: 16px;
    padding: 16px 20px;
  }

  .nav-links {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    padding: 160px 24px 60px;
  }

  .content-section {
    padding: 60px 24px;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .research-links {
    flex-direction: column;
  }
}
