:root {
  --maroon: #6f1d1b;
  --deep-maroon: #4d1211;
  --gold: #c9a227;
  --ink: #1f2428;
  --muted: #626b73;
  --paper: #fffdf7;
  --line: #e2d8bd;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 5vw;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--deep-maroon);
  font-weight: 700;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 64px;
  height: 64px;
  border: 2px solid var(--gold);
  border-radius: 8px;
  object-fit: contain;
  background: var(--white);
}

.nav-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.nav-tabs a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--deep-maroon);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-tabs a:hover,
.nav-tabs a.active {
  border-color: var(--gold);
  background: #fff6d9;
}

main {
  min-height: 72vh;
}

.page-section {
  display: none;
  padding: 72px 5vw;
}

.active-section {
  display: block;
}

.hero.active-section {
  display: grid;
}

.hero {
  min-height: calc(100vh - 76px);
  align-items: center;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 44px;
  background: var(--maroon);
  color: var(--white);
}

.hero-copy {
  max-width: 680px;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.4rem, 6vw, 5.8rem);
  line-height: 0.95;
}

.hero p {
  max-width: 58ch;
  font-size: 1.08rem;
}

.hero img {
  width: 100%;
  height: min(62vh, 620px);
  object-fit: cover;
  border-radius: 8px;
  border: 4px solid var(--gold);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

h2 {
  margin: 0;
  color: var(--deep-maroon);
  font-size: clamp(2rem, 5vw, 3.6rem);
}

.heading-link {
  color: inherit;
  text-decoration: none;
}

.heading-link:hover {
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 6px;
}

.hero-title-link {
  color: var(--white);
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 14px;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--gold);
  color: var(--deep-maroon);
  font-weight: 800;
  text-decoration: none;
}

.subsection-heading {
  margin: 44px 0 18px;
}

.subsection-heading h3 {
  margin: 0;
  color: var(--deep-maroon);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
[data-list="members"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  min-height: 150px;
  padding: 20px;
  border: 1px solid var(--line);
  border-top: 6px solid var(--gold);
  border-radius: 8px;
  background: var(--white);
}

.member-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}

.member-photo {
  width: 96px;
  height: 96px;
  border: 3px solid var(--gold);
  border-radius: 8px;
  background: #fff6d9;
  object-fit: cover;
}

.member-photo-rohan {
  object-position: center 32%;
}

.member-photo-placeholder {
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--maroon);
  font-size: 1.3rem;
  font-weight: 800;
}

.section-intro {
  max-width: 760px;
  margin: -12px 0 28px;
  color: var(--muted);
}

.sponsor-card {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.sponsor-logo {
  width: 100%;
  max-width: 160px;
  height: auto;
  border: 3px solid var(--gold);
  border-radius: 8px;
  background: var(--white);
  object-fit: contain;
}
.card h3 {
  margin: 0 0 8px;
  color: var(--deep-maroon);
}
.card h3 a {
  color: inherit;
  text-decoration: none;
}

.card h3 a:hover {
  color: var(--maroon);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
}

.card p {
  margin: 6px 0;
  color: var(--muted);
}

.toolbar {
  display: grid;
  gap: 12px;
  max-width: 560px;
  margin-bottom: 12px;
}

.toolbar label {
  color: var(--deep-maroon);
  font-weight: 800;
}

.toolbar input {
  min-height: 44px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  min-height: 38px;
  padding: 6px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--deep-maroon);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.chip:hover {
  border-color: var(--gold);
}

.chip.active {
  border-color: var(--maroon);
  background: var(--maroon);
  color: var(--white);
}

.results-count {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.9rem;
}

.empty-state {
  padding: 32px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
}

.internship-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.internship-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.internship-card h3 {
  margin-top: 4px;
}

.internship-company {
  font-weight: 700;
  color: var(--ink);
}

.workplace-tag {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff6d9;
  color: var(--deep-maroon);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.workplace-tag-remote {
  background: #e4f3e6;
  color: #1f6b34;
}

.workplace-tag-hybrid {
  background: #fff6d9;
  color: var(--deep-maroon);
}

.workplace-tag-onsite {
  background: #f0e6e5;
  color: var(--maroon);
}

.apply-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  margin-top: auto;
  padding-top: 10px;
}

.apply-button {
  flex: 1 1 140px;
  justify-content: center;
  margin-top: 0;
  border: 2px solid transparent;
}

.button-outline {
  background: transparent;
  color: var(--maroon);
  border: 2px solid var(--maroon);
}

.button-outline:hover {
  background: var(--maroon);
  color: var(--white);
}

@media (max-width: 400px) {
  .apply-actions {
    flex-direction: column;
  }

  .apply-button {
    flex: 1 1 auto;
  }
}

.about-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 580px);
  align-items: start;
  gap: 28px;
}

.about-layout p {
  max-width: 34ch;
  font-size: 1.45rem;
  line-height: 1.7;
}

.about-images {
  display: grid;
  gap: 24px;
}

.about-image {
  width: 100%;
  max-height: 740px;
  object-fit: contain;
  border: 3px solid var(--gold);
  border-radius: 8px;
  background: var(--white);
}

.about-image-secondary {
  width: 80%;
  margin: 0 auto;
  justify-self: center;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 28px 5vw;
  background: var(--deep-maroon);
  color: var(--white);
}

footer p {
  margin: 0;
}

.footer-email {
  color: var(--white);
  font-weight: 700;
}

.footer-name {
  font-weight: 800;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-links a {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 8px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.social-links a:hover {
  background: var(--gold);
  color: var(--deep-maroon);
}

.social-links svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

@media (max-width: 700px) {
  [data-list="members"] {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 840px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-tabs {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 48px;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .hero img {
    height: 320px;
  }
}

@media (max-width: 520px) {
  .site-header,
  .page-section,
  footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .nav-tabs a {
    width: 100%;
  }
}
