:root {
  --wine: #7a1024;
  --wine-dark: #3f0712;
  --wine-soft: #a83c4d;
  --cream: #fbf7f4;
  --white: #ffffff;
  --ink: #241417;
  --muted: #66595c;
  --line: #e8dedf;
  --panel: #f6eeee;
}

* {
  box-sizing: border-box;
}

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

a {
  color: var(--wine);
}

a:hover {
  color: var(--wine-dark);
}

/* Top strip */
.top-strip {
  position: sticky;
  top: 0;
  z-index: 1001;
  background: var(--wine-dark);
  color: var(--white);
  font-size: 0.9rem;
  padding: 8px 20px;
  text-align: center;
  font-weight: 600;
}

header {
  position: sticky;
  top: 38px;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid #e6dede;
}

/* Header layout */
.nav-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 24px;
  display: grid;
  grid-template-columns: 240px 1fr 65px;
  align-items: center;
  gap: 20px;
}

/* Logo links */
.site-name {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
}

/* Main left logo */
.site-logo {
  width: 220px;
  height: auto;
  display: block;
}

/* Small right logo */
.site-logo-abrev {
  width: 55px;
  height: auto;
  display: block;
}

/* Move small logo slightly closer to nav */
.abrev-link {
  justify-self: end;
  margin-left: -8px;
}

/* Navigation */
.nav-wrap nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 13px;
  border: 1px solid transparent;
  border-radius: 4px;
}

nav a:hover {
  color: var(--wine);
  border-color: var(--line);
  background: #fffafa;
}

nav a[href="apply.html"] {
  color: var(--wine-dark);
  background: #f8ecef;
  border-color: #ead1d7;
}

nav a[href="apply.html"]:hover {
  color: var(--wine);
  background: #f4e1e6;
  border-color: #dfbdc6;
}

nav a.active {
  color: var(--white);
  background: var(--wine);
  border-color: var(--wine);
}

nav a[href="apply.html"].active {
  background: var(--wine-dark);
  border-color: var(--wine-dark);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--wine-dark), var(--wine));
  color: var(--white);
  border-bottom: 8px solid var(--wine-soft);
}

.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 56px 20px;
}

.eyebrow {
  margin: 0 0 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 700;
  color: #f4d6dc;
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 1.08;
  font-weight: 700;
  max-width: 850px;
}

.hero p:not(.eyebrow) {
  color: #f9e9ec;
  max-width: 760px;
  margin: 18px 0 0;
  font-size: 1.06rem;
}

/* Main layout */
main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 44px 20px 70px;
}

.page-intro {
  max-width: 780px;
  font-size: 1.08rem;
  color: #3b2d30;
  margin-top: 0;
}

/* Section headings */
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 2px solid var(--line);
  padding-bottom: 12px;
  margin: 42px 0 24px;
}

.section-heading:first-child {
  margin-top: 0;
}

.section-heading h2 {
  margin: 0;
  color: var(--wine-dark);
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.1;
}

.section-heading span {
  color: var(--muted);
  font-size: 0.95rem;
  white-space: nowrap;
}

/* Cards */
.card,
.member,
.project,
.subcard {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(40, 10, 15, 0.05);
}

.card {
  padding: 28px;
}

.card + .card,
.project + .project {
  margin-top: 20px;
}

.lead {
  font-size: 1.1rem;
  color: #3b2d30;
  margin-top: 0;
}

/* Grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.subcard {
  background: var(--panel);
  padding: 20px;
}

.subcard h3,
.member h3,
.project h3 {
  margin: 0 0 8px;
  color: var(--wine-dark);
}

.subcard p,
.member p,
.project p {
  margin: 0.45rem 0;
  color: var(--muted);
}

/* Photos */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.photo-placeholder,
.member-photo,
.project-video {
  border: 1px dashed #b9989f;
  background: #f1e5e7;
  color: #7c6d70;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px;
  border-radius: 6px;
}

.photo-placeholder {
  min-height: 190px;
}

/* Member cards */
.member {
  padding: 22px;
}

.member-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  margin-bottom: 16px;
  object-fit: cover;
}

.member .role,
.project-meta {
  color: var(--wine);
  font-weight: 700;
  font-size: 0.93rem;
  margin-bottom: 4px;
}

.student-card {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 22px;
  align-items: start;
}

.student-card .member-photo {
  width: 170px;
  height: 170px;
  aspect-ratio: 1 / 1;
  margin-bottom: 0;
  object-fit: cover;
}

/* Group titles */
.group-title {
  margin: 34px 0 14px;
  color: var(--wine-dark);
  font-size: 1.25rem;
  font-family: Georgia, "Times New Roman", serif;
}

/* Projects */
.project {
  border-left: 5px solid var(--wine);
  padding: 24px;
}

.project-video {
  margin-top: 18px;
  min-height: 210px;
}

/* Notice */
.notice {
  border-left: 5px solid var(--wine);
  background: #fffafa;
  padding: 18px 20px;
  margin-top: 18px;
}

/* Buttons */
.button-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.button {
  display: inline-block;
  padding: 11px 16px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid var(--wine);
}

.button.primary {
  background: var(--wine);
  color: var(--white);
}

.button.secondary {
  background: var(--white);
  color: var(--wine);
}

.button:hover {
  text-decoration: underline;
}

/* Footer */
.footer {
  background: var(--wine-dark);
  color: #f5e6e9;
  padding: 34px 20px;
  text-align: center;
  font-size: 0.94rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.footer-links a:hover {
  background: var(--white);
  color: var(--wine-dark);
}

/* Mobile */
@media (max-width: 900px) {
  .nav-wrap {
    display: block;
    margin: 0 auto;
    padding: 14px 20px;
  }

  .site-logo {
    width: 200px;
  }

  .site-logo-abrev {
    display: none;
  }

  .nav-wrap nav {
    justify-content: flex-start;
    margin-top: 14px;
  }

  .section-heading {
    display: block;
  }

  .section-heading span {
    display: block;
    margin-top: 8px;
    white-space: normal;
  }

  .grid-2,
  .grid-3,
  .photo-grid {
    grid-template-columns: 1fr;
  }

  .student-card {
    display: block;
  }

  .student-card .member-photo {
    width: 220px;
    height: 220px;
    max-width: 100%;
    margin-bottom: 16px;
  }
}
.home-hero {
  min-height: calc(100vh - 130px);
  background:
    linear-gradient(rgba(63, 7, 18, 0.68), rgba(63, 7, 18, 0.74)),
    url("images/iStock-949946968.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

.home-overlay {
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: 90px 20px;
  color: var(--white);
}

.home-overlay h1 {
  max-width: 850px;
  font-size: clamp(2.7rem, 6vw, 5.2rem);
}

.home-overlay p:not(.eyebrow) {
  max-width: 720px;
  font-size: 1.12rem;
  color: #f9e9ec;
  margin-top: 18px;
}

.home-button {
  background: rgba(255, 255, 255, 0.92);
}
.google-form-container {
  width: 100%;
  overflow: hidden;
}

.google-form-container iframe {
  width: 100%;
  height: 900px;
  border: 0;
}
