/* styles.css */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: #222222;
  background-color: #f5f5f7;
  line-height: 1.6;
}

a {
  color: #d4a017;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

header {
  background-color: #0b1f33;
  color: #ffffff;
  padding: 1rem 0;
}

.nav-container {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
}

.site-title {
  font-weight: 600;
  font-size: 18px;
  color: #ffffff;
  text-decoration: none;
}

.site-title:hover {
  opacity: 0.85;
}

nav a {
  margin-left: 1.2rem;
  font-size: 0.95rem;
}

main {
  max-width: 960px;
  margin: 0 auto;
  padding: 2.5rem 1rem 3rem;
}

.hero {
  padding: 3rem 0 2rem;
}

.hero h1 {
  font-family: "Playfair Display", "Georgia", serif;
  font-size: 2.4rem;
  margin-bottom: 0.4rem;
}

.hero-subtitle {
  font-size: 1.1rem;
  margin-bottom: 1.3rem;
  color: #444;
}

.hero p {
  max-width: 700px;
}

.button-row {
  margin-top: 1.8rem;
}

.button {
  display: inline-block;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  border: 1px solid #d4a017;
  margin-right: 0.8rem;
  font-size: 0.95rem;
}

.button.primary {
  background-color: #d4a017;
  color: #0b1f33;
}

.button.secondary {
  background-color: transparent;
  color: #d4a017;
}

.cred-strip {
  margin-top: 2.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid #dddddd;
  font-size: 0.95rem;
}

.cred-strip span {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: #555;
}

.cred-list {
  margin-top: 0.5rem;
  color: #333;
}

section {
  margin-bottom: 2.4rem;
}

section h2 {
  font-family: "Playfair Display", "Georgia", serif;
  font-size: 1.6rem;
  margin-bottom: 0.7rem;
}

section h3 {
  font-size: 1.1rem;
  margin-top: 1.1rem;
  margin-bottom: 0.2rem;
}

.section-note {
  font-size: 0.95rem;
  color: #555;
}

footer {
  background-color: #0b1f33;
  color: #ffffff;
  font-size: 0.85rem;
  padding: 1rem 0;
  margin-top: 2rem;
}

footer .footer-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 640px) {
  .nav-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  nav a {
    margin-left: 0;
    margin-right: 0.9rem;
  }

  .hero h1 {
    font-size: 2rem;
  }
}
.profile-pic {
  width: 260px;          /* whatever size you want */
  height: 260px;
  border-radius: 50%;
  object-fit: cover;     /* zoom/crop to fit */
  object-position: center 32%; /* center the face */
  border: 5px solid #c49815;
  box-shadow: 0 8px 18px rgba(0,0,0,0.1);
}


.profile-container {
  text-align: center;
}

/* Hero layout with photo + text */
.hero {
  max-width: 1100px;
  margin: 60px auto 40px;
  padding: 0 24px;
}

.hero-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.hero-photo {
  flex: 0 0 260px;
  text-align: center;
}

.profile-pic {
  width: 260px;
  height: 260px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #f4c55a;      /* matches your button color */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}

.hero-text {
  flex: 1 1 320px;
}

/* Mobile: stack photo above text */
@media (max-width: 768px) {
  .hero {
    margin-top: 30px;
  }

  .hero-inner {
    flex-direction: column;
    text-align: left;
  }

  .hero-photo {
    order: -1;
  }
}

.contact-minimal {
  max-width: 700px;
  margin: 60px auto;
  padding: 0 24px;
}

.contact-links {
  list-style: none;
  padding-left: 0;
  margin-top: 20px;
}

.contact-links li {
  margin: 8px 0;
}

.contact-links a {
  color: #c49815;
  font-weight: 600;
  text-decoration: none;
}

.contact-links a:hover {
  text-decoration: underline;
}

/* === In the Media page === */

/* === Media Mentions page === */

.media-page {
  max-width: 820px;
  margin: 80px auto;
  padding: 0 20px 80px;
}

.media-page h2 {
  font-size: 32px;
  margin-bottom: 16px;
}

.media-intro {
  max-width: 640px;
  margin-bottom: 32px;
  color: #555;
  font-size: 15px;
}

.paper-block {
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eee;
}

.paper-block:last-of-type {
  border-bottom: none;
}

.paper-block h3 {
  font-size: 18px;
  margin: 0 0 4px;
}

.paper-ref {
  margin: 0 0 10px;
  font-size: 14px;
  color: #666;
}

.media-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.media-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #d8c26a;
  font-size: 13px;
  text-decoration: none;
  color: #544000;
  background: #fffdf4;
  transition: background 0.15s ease, border-color 0.15s ease,
              transform 0.1s ease;
}

.media-badge:hover {
  background: #f3e0a6;
  border-color: #c49815;
  transform: translateY(-1px);
}

.media-note {
  margin-top: 40px;
  font-size: 13px;
  color: #777;
}

/* Active nav highlight */
nav a.active {
  color: #e7c045;
  font-weight: 600;
}

/* Mobile tweaks */
@media (max-width: 700px) {
  .media-page {
    margin-top: 60px;
  }
}

/* === Teaching Page === */

.teaching-page {
  max-width: 820px;
  margin: 80px auto;
  padding: 0 20px 80px;
}

/* Intro paragraph */
.page-intro {
  max-width: 680px;
  margin: 0 auto 2.4rem;
  color: #444;
  font-size: 1.02rem;
}

.page-intro h1 {
  font-family: "Playfair Display", "Georgia", serif;
  font-size: 2.2rem;
  margin-bottom: 0.6rem;
  color: #0b1f33;
}

/* Section blocks */
.teaching-section {
  max-width: 680px;
  margin: 0 auto 2.4rem;
}

.teaching-section h2 {
  font-family: "Playfair Display", "Georgia", serif;
  font-size: 1.45rem;
  margin-bottom: 0.75rem;
  color: #0b1f33;
}

/* Remove default bullet look and align nicely */
.teaching-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.teaching-list li {
  margin-bottom: 0.55rem;
  padding-left: 1.1rem;
  position: relative;
}

/* Custom gold bullet */
.teaching-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #d4a017;
  font-weight: bold;
}

/* Course designer tag */
.teaching-tag {
  font-size: 0.9rem;
  font-style: italic;
  color: #444;
}

/* Mobile tightening */
@media (max-width: 640px) {
  .page-intro h1 {
    font-size: 1.9rem;
  }
  .teaching-section h2 {
    font-size: 1.25rem;
  }
}

