* {
  box-sizing: border-box;
}

:root {
  --bg: #f5f0e8;
  --paper: #fffaf4;
  --ink: #151515;
  --muted: #65605b;
  --red: #990000;
  --red-dark: #5c0000;
  --navy: #1b2230;
  --border: rgba(21, 21, 21, 0.11);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.15);
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: linear-gradient(180deg, #f6f1e9 0%, #f0e6d9 100%);
  color: var(--ink);
  line-height: 1.6;
}

a { color: inherit; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 16px 4vw;
  background: rgba(250, 245, 238, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(21,21,21,0.09);
}

.wordmark {
  text-decoration: none;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.08em;
}

.topbar nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.topbar nav a {
  text-decoration: none;
  font-weight: 800;
  color: #4f4b47;
}

.topbar nav a:hover {
  color: var(--red);
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11,17,26,0.70) 0%, rgba(11,17,26,0.55) 34%, rgba(11,17,26,0.20) 62%, rgba(11,17,26,0.34) 100%),
    linear-gradient(180deg, rgba(17,17,17,0.20), rgba(17,17,17,0.42));
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.72fr;
  gap: 26px;
  align-items: end;
  padding: 7vw 4vw 4vw;
  min-height: 92vh;
}

.hero-card {
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.intro-card {
  max-width: 820px;
  padding: 40px;
  background: rgba(255, 250, 244, 0.93);
  backdrop-filter: blur(10px);
}

.photo-card {
  justify-self: end;
  width: min(100%, 420px);
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  padding: 14px;
}

.photo-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 22px;
  display: block;
}

.photo-meta {
  padding: 16px 6px 4px;
  color: white;
}

.photo-meta strong,
.photo-meta span { display: block; }

.photo-meta strong { font-size: 1.1rem; }

.photo-meta span {
  margin-top: 6px;
  color: rgba(255,255,255,0.82);
  font-size: 0.92rem;
}

.eyebrow,
.section-label {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 900;
}

.light-label { color: #ffd7d7; }

h1 {
  margin: 0;
  font-size: clamp(4rem, 8vw, 7.3rem);
  line-height: 0.86;
  letter-spacing: -0.09em;
}

.hero h2 {
  margin: 20px 0 18px;
  font-size: clamp(1.55rem, 2.8vw, 2.45rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.lead {
  margin: 0;
  font-size: 1.1rem;
  color: #37322f;
  max-width: 660px;
}

.hero-actions,
.contact-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  transition: transform .2s ease, background .2s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: white;
}

.btn-secondary {
  background: white;
  color: var(--ink);
  border: 1px solid var(--border);
}

.btn-light {
  background: white;
  color: var(--red-dark);
}

.btn-outline-light {
  color: white;
  border: 1px solid rgba(255,255,255,0.38);
}

.section { padding: 78px 4vw; }

.section-title {
  max-width: 900px;
  margin-bottom: 24px;
}

.section h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 0.9fr;
  gap: 18px;
}

.profile-panel {
  padding: 28px;
  background: rgba(255,255,255,0.68);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.accent-panel {
  background: linear-gradient(135deg, #fff6f2 0%, #f7ece2 100%);
}

.accent-panel h3 {
  margin: 0 0 10px;
  font-size: 1.45rem;
}

.mini-label {
  margin: 0 0 8px;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 900;
}

.muted { color: var(--muted); }

.campus-frame {
  background: white;
  border-radius: 28px;
  padding: 12px;
  box-shadow: var(--shadow);
}

.campus-frame img {
  width: 100%;
  display: block;
  border-radius: 20px;
}

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

.work-card {
  padding: 28px;
  background: rgba(255,255,255,0.75);
  border-radius: 26px;
  border: 1px solid var(--border);
  box-shadow: 0 12px 34px rgba(0,0,0,0.05);
}

.work-card.standout {
  background: linear-gradient(180deg, rgba(153,0,0,0.06), rgba(255,255,255,0.82));
  border-color: rgba(153,0,0,0.22);
}

.work-meta {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--red);
  font-size: 0.83rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.work-card h3 {
  margin: 16px 0 6px;
  font-size: 1.4rem;
  letter-spacing: -0.04em;
}

.company {
  margin: 0 0 12px;
  color: #3f3a35;
  font-weight: 800;
}

.company a {
  text-decoration: none;
  border-bottom: 1px solid rgba(153, 0, 0, 0.35);
}

.company a:hover {
  color: var(--red);
  border-bottom-color: var(--red);
}

.work-card ul,
.volunteer-card ul {
  margin: 0;
  padding-left: 20px;
  color: #433e39;
}

.dark-section {
  background: #19202b;
  color: white;
}

.dark-section .skills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.skills-wrap span {
  display: inline-flex;
  align-items: center;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  font-weight: 800;
}

.volunteer-card {
  padding: 34px;
  background: linear-gradient(135deg, #fffaf4 0%, #efe4d7 100%);
  border: 1px solid var(--border);
  border-radius: 30px;
  box-shadow: 0 12px 34px rgba(0,0,0,0.05);
}

.contact-card {
  padding: 42px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: white;
  border-radius: 34px;
  box-shadow: var(--shadow);
  text-align: center;
}

.contact-card p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255,255,255,0.88);
}

.footer {
  padding: 18px 4vw 44px;
  text-align: center;
  color: var(--muted);
}

@media (max-width: 1100px) {
  .hero-inner,
  .profile-grid,
  .work-grid {
    grid-template-columns: 1fr;
  }

  .photo-card {
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .topbar nav { gap: 14px; }

  .hero-inner { padding-top: 95px; }

  h1 { font-size: clamp(3.2rem, 15vw, 5rem); }

  .btn,
  .btn-outline-light,
  .btn-light { width: 100%; }

  .contact-actions,
  .hero-actions { flex-direction: column; }
}
