:root {
  --bg: #f2f2f2;
  --bg-2: #f7f7f7;
  --surface: #ffffff;
  --surface-soft: #fbfbfc;
  --text: #262626;
  --muted: #595959;
  --line: #d8d8d8;
  --line-soft: #e7e7e7;
  --accent: #d8852e;
  --accent-deep: #9a5a1f;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: radial-gradient(950px 520px at 95% -10%, rgba(216, 133, 46, 0.16), transparent 58%),
    linear-gradient(160deg, var(--bg-2) 0%, var(--bg) 62%, #eceef1 100%);
  color: var(--text);
  font-family: "Inter", "Segoe UI", sans-serif;
  line-height: 1.6;
}

.container {
  width: min(1160px, calc(100% - 2rem));
  margin-inline: auto;
}

.section {
  padding: 5rem 0;
  border-top: 1px solid var(--line-soft);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 247, 247, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(38, 38, 38, 0.08);
}

.nav-row {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 999px;
}

nav {
  display: flex;
  gap: 1.1rem;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
}

nav a:hover {
  color: var(--accent-deep);
}

.hero {
  padding-top: 7rem;
}

.kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 600;
}

.kicker::before {
  content: "";
  display: inline-block;
  width: 30px;
  height: 1px;
  background: var(--accent);
  margin-right: 0.85rem;
  vertical-align: middle;
}

h1,
h2,
h3 {
  margin: 0.75rem 0 0.9rem;
  line-height: 1.08;
}

h1,
h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  color: #1f1f1f;
}

h1 {
  font-size: clamp(2.65rem, 7vw, 5rem);
  letter-spacing: -0.01em;
}

h1 em,
h2 em {
  color: var(--accent);
  font-style: italic;
  font-weight: 500;
}

h2 {
  font-size: clamp(2rem, 4.3vw, 3.4rem);
  max-width: 16ch;
}

h3 {
  font-size: 2rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  color: #222;
}

p {
  margin: 0 0 1.1rem;
  color: var(--muted);
}

.hero-copy {
  margin-top: 1rem;
  max-width: 64ch;
  font-size: 1.06rem;
}

.metrics {
  margin-top: 2.3rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.metrics article {
  padding: 1.45rem 0.6rem 0 0;
}

.metric-label {
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #7a7a7a;
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}

.metric-value {
  color: #1f1f1f;
  font-size: clamp(1.85rem, 3.8vw, 3rem);
  font-family: "Cormorant Garamond", Georgia, serif;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
}

.feature-list article {
  padding: 0.2rem 0 1.25rem 1rem;
  border-left: 1px solid rgba(216, 133, 46, 0.55);
  margin-bottom: 1rem;
}

.feature-list h3,
.thesis-grid h3,
.team-card h3,
.credential-grid h3 {
  margin-top: 0;
  margin-bottom: 0.3rem;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 1.45rem;
  color: #1f1f1f;
}

.thesis-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.thesis-grid article {
  padding: 2rem;
  background: var(--surface-soft);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.thesis-grid article:nth-child(2n) {
  border-right: 0;
}

.thesis-grid article:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.thesis-grid article:nth-child(5) {
  grid-column: 1 / -1;
  border-right: 0;
  border-bottom: 0;
}

.thesis-no {
  color: var(--accent-deep);
  font-size: 3rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  margin-bottom: 0.4rem;
}

.team-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.team-card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.4rem;
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(38, 38, 38, 0.06);
}

.avatar {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(216, 133, 46, 0.13);
  color: var(--accent-deep);
  font-weight: 600;
  margin-bottom: 1rem;
}

.role {
  color: var(--accent-deep);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  font-size: 0.92rem;
}

.credential-grid {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.4rem;
}

.credential-grid article {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line-soft);
}

a {
  color: var(--accent-deep);
}

.contact-wrap {
  text-align: center;
  max-width: 980px;
}

.contact-wrap h2 {
  margin-inline: auto;
}

.contact-wrap .hero-copy {
  margin-inline: auto;
}

.contact-form {
  display: grid;
  gap: 0.8rem;
  max-width: 620px;
  margin: 0.6rem auto 1.2rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(216, 133, 46, 0.35);
  border-radius: 8px;
  padding: 0.9rem 1rem;
  font: inherit;
  background: #fff;
  color: #1f2937;
}

.contact-form textarea {
  resize: vertical;
}

.contact-button {
  display: inline-block;
  border: 1px solid rgba(216, 133, 46, 0.55);
  color: var(--accent-deep);
  text-decoration: none;
  background: #fff;
  padding: 1rem 2.6rem;
  margin: 0.2rem 0 0;
  font-weight: 600;
  font-size: 1.2rem;
  border-radius: 8px;
  cursor: pointer;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.3rem 0 1.7rem;
  background: #f8f8f8;
}

.site-footer p {
  margin: 0.3rem 0;
  color: #666;
  font-size: 0.92rem;
}

@media (max-width: 1040px) {
  .about-grid,
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .section {
    padding: 3.4rem 0;
  }

  nav {
    gap: 0.7rem;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  h1 {
    font-size: clamp(2.15rem, 11vw, 3.15rem);
  }

  h2 {
    font-size: clamp(1.8rem, 8vw, 2.6rem);
  }

  .metrics,
  .about-grid,
  .thesis-grid,
  .team-grid,
  .credential-grid {
    grid-template-columns: 1fr;
  }

  .thesis-grid article {
    border-right: 0;
  }

  .thesis-grid article:nth-child(3) {
    border-bottom: 1px solid var(--line);
  }

  .thesis-grid article:nth-child(5) {
    grid-column: auto;
  }
}
