:root {
  --bg: #f6f8fc;
  --bg-warm: #eef2f9;
  --bg-section: #ffffff;
  --surface: #ffffff;
  --text: #0f1923;
  --text-body: #2c3340;
  --muted: #6b7280;
  --line: #dde4ee;
  --line-strong: #c8d3e0;
  --navy: #0a1628;
  --navy-mid: #152238;
  --gold: #c9a84c;
  --gold-light: #f5e9c8;
  --brand: #1a3a6b;
  --brand-hover: #122d55;
  --accent: #eef2f9;
  --shadow-sm: 0 2px 8px rgba(10, 22, 40, 0.06);
  --shadow-md: 0 8px 24px rgba(10, 22, 40, 0.10);
  --shadow-lg: 0 20px 48px rgba(10, 22, 40, 0.13);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Sans 3', 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-y: scroll;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.72;
  color: var(--text-body);
  background: #f6f8fc;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--text);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0.2rem 0 0.9rem;
}

h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 700;
  margin: 0 0 0.7rem;
}

h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.45rem;
}

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  display: inline-block;
  margin-bottom: 0.6rem;
}

.lead {
  font-size: 1.08rem;
  color: var(--muted);
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  color: var(--brand-hover);
  text-decoration: none;
}

.cards-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cards-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.container {
  width: min(1380px, calc(100% - 56px));
  margin: 0 auto;
}

.grid {
  display: grid;
  gap: 1.25rem;
}

.narrow {
  width: min(1200px, calc(100% - 56px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 2px solid rgba(201, 168, 76, 0.25);
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 1rem;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.01em;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand::after {
  content: "Associate Professor of Accounting";
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 400;
  color: rgba(201, 168, 76, 0.85);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 0;
  align-items: stretch;
  height: 68px;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  cursor: pointer;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #ffffff;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav a {
  display: flex;
  align-items: center;
  padding: 0 1.1rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255,255,255,0.72);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  position: relative;
}

.nav a.active {
  color: #ffffff;
  border-bottom-color: var(--gold);
}

.nav a:hover {
  color: #ffffff;
  border-bottom-color: var(--gold);
  background: rgba(255,255,255,0.04);
  text-decoration: none;
}

.hero {
  background: var(--navy);
  color: white;
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(201, 168, 76, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(26, 58, 107, 0.4) 0%, transparent 50%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  gap: 1.4rem;
}

.hero-shell {
  display: grid;
  gap: 1.4rem;
}

.hero .eyebrow {
  color: var(--gold);
}

.hero .lead {
  color: rgba(255,255,255,0.75);
}

.hero h1 {
  color: #ffffff;
  font-size: clamp(2.6rem, 4vw, 4rem);
}

.page-hero {
  padding: 3.5rem 0 2.5rem;
  background: var(--bg-section);
  border-bottom: 1px solid var(--line);
  position: relative;
}

.page-hero::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--brand), rgba(26,58,107,0.2));
  display: none;
}

.page-hero .eyebrow {
  color: var(--gold);
}

.page-hero .lead {
  color: var(--text-body);
  font-size: 1.1rem;
}

.page-hero h1 {
  color: var(--text);
  font-size: clamp(2rem, 3.5vw, 3rem);
}

.page-hero p {
  color: var(--muted);
}

.section {
  padding: 3.5rem 0;
  background: #ffffff;
}

.section-alt {
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 1.25rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--brand);
  letter-spacing: 0.02em;
  border-bottom: 1px solid transparent;
  transition: border-color 0.18s ease;
}

.section-link:hover {
  border-bottom-color: var(--brand);
  text-decoration: none;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--line-strong, #c8d3e0);
}

.card.pub-card {
  border-left: 4px solid var(--brand);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding-left: 1.4rem;
}

.compact-card {
  margin-bottom: 1rem;
}

.badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.22rem 0.65rem;
  border-radius: var(--radius-xs, 4px);
  background: var(--accent);
  color: var(--brand);
  border: 1px solid rgba(26,58,107,0.15);
}

.badge-gold {
  background: var(--gold-light);
  color: #7a5a10;
  border-color: rgba(201,168,76,0.3);
}

.btn {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-sm);
  transition: all 0.18s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
}

.btn-primary:hover {
  background: #b8963e;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
  color: var(--navy);
}

.btn-secondary {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.3);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.08);
  color: white;
  text-decoration: none;
}

.hero-link,
.social-link {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.38rem 0.8rem;
  border-radius: var(--radius-sm);
  background: var(--accent);
  border: 1px solid var(--line);
  color: var(--brand);
  transition: all 0.18s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.hero-link:hover,
.social-link:hover {
  background: var(--brand);
  color: #ffffff;
  border-color: var(--brand);
  text-decoration: none;
}

.meta {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 500;
}

.page-hero-divider {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), rgba(201,168,76,0.3));
  border-radius: 2px;
  margin: 1rem 0 1.4rem;
}

.stat-box {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  backdrop-filter: blur(4px);
}

.stat-box span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.stat-box strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.3rem;
  font-weight: 800;
}

.timeline-item {
  position: relative;
  padding: 0 0 1.8rem 1.75rem;
  border-left: 2px solid var(--line-strong, #c8d3e0);
  margin-left: 0.5rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 0.45rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 2px var(--gold);
}

.timeline-item:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}

.timeline-item h3 {
  margin-bottom: 0.15rem;
  color: var(--text);
  font-size: 1.1rem;
}

.timeline-item p {
  margin-bottom: 0.2rem;
  color: var(--text-body);
}

.timeline-item .meta {
  font-size: 0.84rem;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.card .meta {
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.03em;
}

.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.58);
  border-top: 3px solid var(--gold);
  padding: 3.5rem 0 0;
}

.site-footer p {
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.site-footer h4 {
  font-family: var(--font-display);
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 0.6rem;
}

.site-footer a {
  color: rgba(255,255,255,0.55);
  transition: color 0.18s;
}

.site-footer a:hover {
  color: var(--gold);
  text-decoration: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
  text-align: center;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

main {
  animation: fadeUp 0.45s ease both;
}

@media (max-width: 900px) {
  .nav-wrap {
    height: auto;
    min-height: 68px;
    padding: 0.75rem 0;
    align-items: center;
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    width: 100%;
    height: auto;
    margin-top: 0.85rem;
    padding: 0.45rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
  }

  .site-header.nav-open .nav {
    display: flex;
  }

  .site-header.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav a {
    width: 100%;
    justify-content: flex-start;
    font-size: 0.82rem;
    padding: 0.8rem 0.9rem;
    min-height: 44px;
    border-radius: 10px;
    border-bottom: none;
  }

  .nav a:hover,
  .nav a.active {
    background: rgba(255,255,255,0.09);
    border-bottom-color: transparent;
  }

  .cards-3,
  .hero-grid,
  .hero-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 800px) {
  .cards-2,
  .cards-3 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container,
  .narrow {
    width: calc(100% - 32px);
  }

  .hero,
  .page-hero,
  .section {
    padding-top: calc(70% * 0.1 + 2.45rem);
  }

  .section {
    padding-bottom: 2.45rem;
  }

  .card {
    padding: 1.1rem;
  }
}
