:root {
  --orange: #BF5700;
  --orange-dark: #9D4700;
  --black: #181818;
  --gray: #666666;
  --light-gray: #dedbd6;
  --off-white: #faf9f7;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #ffffff;
  color: var(--black);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

/* HEADER */

.hero {
  min-height: 62vh;
  padding: 0 6%;
  display: flex;
  flex-direction: column;
  border-bottom: 2px solid var(--black);
}

nav {
  min-height: 90px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--black);
}

nav h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

nav div {
  display: flex;
  gap: 30px;
}

nav a {
  color: var(--black);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

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

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 75px 0;
}

.hero-content p {
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.hero-content h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 9vw, 7.5rem);
  line-height: 0.92;
  font-weight: 500;
  letter-spacing: -0.04em;
}

/* MAIN */

main {
  width: min(1180px, 88%);
  margin: auto;
}

section {
  padding: 90px 0;
  border-bottom: 1px solid var(--black);
}

section h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.25rem;
  font-weight: 500;
  margin-bottom: 40px;
}

/* EVENTS */

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--black);
}

.card {
  min-height: 160px;
  padding: 28px;
}

.card + .card {
  border-left: 1px solid var(--black);
}

.card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 500;
  margin-bottom: 10px;
}

.card p {
  color: var(--gray);
}

.card:hover {
  border-top: 4px solid var(--orange);
  padding-top: 25px;
}

/* MEMBERS */

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

.member {
  border: 1px solid var(--black);
  padding: 14px 14px 20px;
}

.photo-placeholder,
.member img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--off-white);
  border: 1px solid var(--black);
  margin-bottom: 18px;
}

.member h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 500;
}

.member p {
  color: var(--gray);
  font-size: 0.92rem;
  margin-top: 5px;
}

.member a {
  display: inline-block;
  margin-top: 16px;
  color: var(--orange);
  text-decoration: none;
  font-size: 0.87rem;
  font-weight: bold;
  border-bottom: 1px solid var(--orange);
}

.member a:hover {
  color: var(--orange-dark);
}

/* GALLERY */

#gallery p {
  color: var(--gray);
}

/* FOOTER */

footer {
  width: min(1180px, 88%);
  margin: auto;
  padding: 35px 0 50px;
  font-size: 0.85rem;
  color: var(--gray);
}

/* MOBILE */

@media (max-width: 800px) {
  nav {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 15px;
    padding: 20px 0;
  }

  nav div {
    gap: 20px;
  }

  .hero-content h2 {
    font-size: clamp(3.5rem, 16vw, 5.5rem);
  }

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

  .card + .card {
    border-left: none;
    border-top: 1px solid var(--black);
  }

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

@media (max-width: 520px) {
  .member-grid {
    grid-template-columns: 1fr;
  }
}
