/* ==========================================================================
   WUREC — Wharton Undergraduate Real Estate Club
   Static remake of the former Squarespace site (wurec.info)
   ========================================================================== */

:root {
  --navy: #011f5b;
  --navy-dark: #01143d;
  --red: #990000;
  --sky: #2b8fd6;
  --slate: #3a3f4b;
  --ink: #2b2b2b;
  --muted: #6b6b6b;
  --line: #e5e5e5;
  --bg-alt: #f5f6f8;
  --white: #ffffff;
  --font-head: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --header-h: 84px;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { padding-left: 1.2em; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 600;
  line-height: 1.25;
  color: var(--navy);
  margin: 0 0 .6em;
}
h1 { font-size: 2.3rem; letter-spacing: .16em; }
h2 { font-size: 1.55rem; }
h3 { font-size: 1rem; letter-spacing: .14em; }
p { margin: 0 0 1.25em; }
p:last-child { margin-bottom: 0; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 6vw; }
.narrow { max-width: 820px; margin-left: auto; margin-right: auto; }
.center { text-align: center; }
.lead { font-size: 1.12rem; line-height: 1.9; }
.eyebrow {
  font-family: var(--font-head);
  font-size: .72rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 1rem;
}
.note { font-size: .95rem; color: var(--muted); margin-top: 1.6rem; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--navy); color: #fff; padding: .6rem 1rem;
}
.skip-link:focus { left: 8px; top: 8px; }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .76rem;
  font-weight: 600;
  padding: 15px 34px;
  border: 2px solid var(--navy);
  background: var(--navy);
  color: #fff;
  transition: background .2s, color .2s, border-color .2s;
  cursor: pointer;
  line-height: 1.4;
}
.btn:hover { background: var(--navy-dark); border-color: var(--navy-dark); text-decoration: none; }
.btn--ghost { background: transparent; color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.btn--light { background: #fff; border-color: #fff; color: var(--navy); }
.btn--light:hover { background: transparent; border-color: #fff; color: #fff; }
.btn--outline-light { background: transparent; border-color: #fff; color: #fff; }
.btn--outline-light:hover { background: #fff; border-color: #fff; color: var(--navy); }
.btn--small { padding: 11px 22px; font-size: .68rem; }
.actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Header ----------------------------------------------------------------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: background .25s, box-shadow .25s, border-color .25s;
}
.site-header.scrolled { box-shadow: 0 2px 14px rgba(0, 0, 0, .06); }
.header-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 6vw; height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.site-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--navy);
  white-space: nowrap;
}
.site-title:hover { text-decoration: none; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2rem; align-items: center; }
.site-nav li { position: relative; }
.site-nav a, .site-nav .folder-toggle {
  font-family: var(--font-head);
  font-size: .74rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--navy);
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 2px solid transparent;
  line-height: 1.4;
}
.site-nav a:hover, .site-nav .folder-toggle:hover { text-decoration: none; color: var(--red); }
.site-nav a[aria-current="page"], .site-nav .is-active > .folder-toggle { border-bottom-color: var(--red); }
.site-nav .chevron { width: 10px; height: 10px; }

.folder .sub {
  position: absolute; top: calc(100% + 6px); left: -18px;
  min-width: 190px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .08);
  padding: 8px 0;
  margin: 0;
  list-style: none;
  display: none;
  flex-direction: column;
  gap: 0;
  z-index: 5;
}
.folder.open .sub, .folder:focus-within .sub { display: flex; }
@media (hover: hover) and (min-width: 961px) {
  .folder:hover .sub { display: flex; }
}
.folder .sub li { width: 100%; }
.folder .sub a {
  display: block; padding: 8px 18px; white-space: nowrap; border-bottom: 0;
  color: var(--navy);
}
.folder .sub a[aria-current="page"] { color: var(--red); }

.nav-toggle {
  display: none;
  background: none; border: 0; width: 44px; height: 44px; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 6px;
  padding: 0;
}
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--navy); transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Transparent header over the home hero */
body.home .site-header:not(.scrolled):not(.nav-open) { background: transparent; border-color: transparent; }
body.home .site-header:not(.scrolled):not(.nav-open) .site-title,
body.home .site-header:not(.scrolled):not(.nav-open) .site-nav > ul > li > a,
body.home .site-header:not(.scrolled):not(.nav-open) .folder-toggle { color: #fff; }
body.home .site-header:not(.scrolled):not(.nav-open) .site-nav > ul > li > a:hover,
body.home .site-header:not(.scrolled):not(.nav-open) .folder-toggle:hover { color: rgba(255, 255, 255, .75); }
body.home .site-header:not(.scrolled):not(.nav-open) .site-nav a[aria-current="page"],
body.home .site-header:not(.scrolled):not(.nav-open) .is-active > .folder-toggle { border-bottom-color: #fff; }
body.home .site-header:not(.scrolled):not(.nav-open) .nav-toggle span { background: #fff; }

main { padding-top: var(--header-h); }
body.home main { padding-top: 0; }

/* Hero ------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: #fff;
  background: var(--navy) url(../img/background.jpeg) center center / cover no-repeat;
  overflow: hidden;
  padding: calc(var(--header-h) + 40px) 0 80px;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(1, 20, 61, .62) 0%, rgba(1, 20, 61, .48) 45%, rgba(1, 20, 61, .72) 100%);
}
.hero .wrap { position: relative; z-index: 1; max-width: 1040px; }
.hero .eyebrow { color: rgba(255, 255, 255, .8); }
.hero h1 {
  color: #fff;
  text-shadow: 0 1px 6px rgba(1, 20, 61, .4);
  font-size: clamp(1.9rem, 4.6vw, 3.3rem);
  letter-spacing: .18em;
  margin-bottom: .5em;
  font-weight: 600;
}
.hero .lede {
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 300;
  max-width: 640px;
  margin: 0 auto 2.4em;
  color: rgba(255, 255, 255, .96);
  text-shadow: 0 1px 5px rgba(1, 20, 61, .45);
}
.scroll-cue {
  position: absolute; left: 50%; bottom: 28px; z-index: 1;
  width: 26px; height: 26px; margin-left: -13px;
  border-right: 2px solid rgba(255, 255, 255, .8);
  border-bottom: 2px solid rgba(255, 255, 255, .8);
  transform: rotate(45deg);
  animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue { 0%, 100% { transform: translateY(0) rotate(45deg); } 50% { transform: translateY(8px) rotate(45deg); } }

/* Page banner (interior pages) ------------------------------------------- */
.page-banner {
  position: relative;
  background: var(--navy) url(../img/background.jpeg) center 30% / cover no-repeat;
  color: #fff;
  padding: 84px 0 76px;
  text-align: center;
}
.page-banner::after { content: ""; position: absolute; inset: 0; background: rgba(1, 20, 61, .66); }
.page-banner .wrap { position: relative; z-index: 1; }
.page-banner h1 { color: #fff; margin: 0; text-shadow: 0 1px 4px rgba(1, 20, 61, .45); }
.page-banner .subtitle {
  margin: 1rem auto 0; max-width: 640px; color: rgba(255, 255, 255, .94); font-weight: 300;
  text-shadow: 0 1px 4px rgba(1, 20, 61, .45);
}

/* Mission (home) --------------------------------------------------------- */
.section-title--sky { color: var(--sky); letter-spacing: .06em; font-weight: 700; font-size: 1.75rem; margin-bottom: 2rem; }
.section-title.section-title--sky::after { display: none; }
.mission__inner { max-width: 1100px; }
.mission p { font-size: 1.15rem; line-height: 1.7; color: var(--slate); margin-bottom: 1.6em; }
.mission strong { font-weight: 700; color: #333846; }
.mission__rule { text-align: center; }
.mission .actions { margin-top: 2.2rem; }

/* Photo carousel (home) -------------------------------------------------- */
.carousel-section { padding-top: 0; }
.carousel { max-width: 960px; margin: 0 auto; }
.carousel__stage {
  position: relative; aspect-ratio: 3 / 2; overflow: hidden;
  background: var(--navy-dark);
}
.carousel__slides { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.carousel__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.carousel__slide.is-active { opacity: 1; z-index: 1; }
.carousel__slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel__arrow, .carousel__toggle {
  position: absolute; z-index: 2; display: flex; align-items: center; justify-content: center;
  border: 0; border-radius: 50%; cursor: pointer; padding: 0;
  transition: background .2s, color .2s, transform .2s;
}
.carousel__arrow {
  top: 50%; transform: translateY(-50%); width: 44px; height: 44px;
  background: rgba(255, 255, 255, .9); color: var(--navy);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .2);
}
.carousel__arrow--prev { left: 14px; }
.carousel__arrow--next { right: 14px; }
.carousel__arrow:hover { background: #fff; color: var(--red); }
.carousel__arrow svg { width: 20px; height: 20px; }
.carousel__toggle {
  right: 14px; bottom: 14px; width: 36px; height: 36px;
  background: rgba(1, 20, 61, .55); color: #fff; border: 1px solid rgba(255, 255, 255, .55);
}
.carousel__toggle:hover { background: rgba(1, 20, 61, .85); }
.carousel__toggle svg { width: 16px; height: 16px; }
.carousel .icon-play, .carousel.is-paused .icon-pause { display: none; }
.carousel.is-paused .icon-play { display: block; }
.carousel__arrow:focus-visible, .carousel__toggle:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.carousel__thumbs {
  display: flex; gap: 8px; margin-top: 8px;
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.carousel__thumbs::-webkit-scrollbar { display: none; }
.carousel__thumb {
  position: relative; flex: 1 1 0; min-width: 84px;
  padding: 0; border: 0; background: var(--bg-alt); cursor: pointer;
  opacity: .55; transition: opacity .2s;
}
.carousel__thumb img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.carousel__thumb:hover, .carousel__thumb.is-active { opacity: 1; }
.carousel__thumb.is-active::after { content: ""; position: absolute; inset: 0; border: 2px solid var(--red); }
.carousel__thumb:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  .carousel__slide { transition: none; }
}

/* Sections --------------------------------------------------------------- */
.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.section--alt { background: var(--bg-alt); }
.section--navy { background: var(--navy); color: #fff; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy p { color: rgba(255, 255, 255, .9); }
.section--navy .note { color: rgba(255, 255, 255, .7); }
.section--navy a:not(.btn) { color: #fff; text-decoration: underline; }
.section-title { text-align: center; margin-bottom: 2.6rem; }
.section-title::after { content: ""; display: block; width: 46px; height: 3px; background: var(--red); margin: 1.1rem auto 0; }
.section--navy .section-title::after { background: #fff; }
.section-title--left { text-align: left; }
.section-title--left::after { margin-left: 0; }

/* Cards / tiles ---------------------------------------------------------- */
.grid { display: grid; gap: 2.2rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.card__img { aspect-ratio: 3 / 2; background: var(--bg-alt); overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card__img img { transform: scale(1.04); }
.card__body { padding: 1.6rem 1.6rem 1.8rem; flex: 1; display: flex; flex-direction: column; }
.card__body h3 { margin-bottom: .6rem; }
.card__body h3 a { color: inherit; }
.card__body p { flex: 1; color: var(--muted); margin-bottom: 1.2rem; font-size: .96rem; }
.card--plain .card__body { padding: 2rem; }
.card--plain .card__body .btn { align-self: flex-start; }
.more {
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: .16em;
  font-size: .72rem; font-weight: 600; color: var(--red);
}
.more::after { content: " \2192"; }
.more:hover { text-decoration: none; color: var(--navy); }

/* Feature rows (image + text, alternating) ------------------------------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; padding: 3.2rem 0; border-bottom: 1px solid var(--line); }
.feature:last-child { border-bottom: 0; }
.feature:nth-child(even) .feature__img { order: 2; }
.feature__img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--bg-alt); }
.feature__img img { width: 100%; height: 100%; object-fit: cover; }
.feature h3 { font-size: 1.15rem; }
.feature .meta { font-family: var(--font-head); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--red); font-weight: 600; margin-bottom: .6rem; }

/* Committees ------------------------------------------------------------- */
.committees { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2.2rem 3rem; }
.committee { border-top: 3px solid var(--navy); padding-top: 1.2rem; }
.committee h3 { margin-bottom: .5rem; }
.committee p { color: var(--muted); font-size: .96rem; }

.benefits { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.benefits li { position: relative; padding-left: 1.8rem; margin-bottom: .7rem; }
.benefits li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 10px; background: var(--red); }

/* Executive board -------------------------------------------------------- */
.board { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3.4rem 4rem; }
.board-group { border-top: 3px solid var(--navy); padding-top: 1.4rem; }
.board-group__title {
  font-size: .74rem; letter-spacing: .28em; color: var(--red);
  text-align: center; margin-bottom: 1.6rem;
}
.board-group__members { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.member { text-align: center; }
.member__photo-link {
  position: relative; display: block; width: 100%; max-width: 180px;
  margin: 0 auto 1.1rem; border-radius: 50%;
}
.member__photo-link:hover { text-decoration: none; }
.member__photo-link:focus-visible { outline: 2px solid var(--red); outline-offset: 5px; }
.member__photo {
  width: 100%; aspect-ratio: 1 / 1; border-radius: 50%; object-fit: cover;
  background: var(--bg-alt); border: 1px solid var(--line);
}
/* Email overlay, revealed when the photo is hovered or keyboard-focused */
.member__email {
  position: absolute; inset: 0; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 0 12%;
  background: rgba(1, 31, 91, .88); color: #fff;
  font-family: var(--font-head); font-size: .72rem; font-weight: 500; line-height: 1.4;
  text-align: center; overflow-wrap: anywhere;
  opacity: 0; transition: opacity .2s;
}
.member__email::before {
  content: ""; width: 24px; height: 24px; margin-bottom: .4rem;
  background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='5' width='18' height='14' rx='2'/><path d='M3.5 7.5 12 13.5l8.5-6'/></svg>") center / contain no-repeat;
}
.member__photo-link:hover .member__email,
.member__photo-link:focus-visible .member__email { opacity: 1; }
/* Touch screens cannot hover: show a small mail badge on the photo instead */
.member__photo-link::after {
  content: ""; position: absolute; right: 5%; bottom: 5%; width: 30px; height: 30px;
  border-radius: 50%; border: 2px solid #fff; display: none;
  background: var(--navy) url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='5' width='18' height='14' rx='2'/><path d='M3.5 7.5 12 13.5l8.5-6'/></svg>") center / 16px no-repeat;
}
@media (hover: none) { .member__photo-link::after { display: block; } }
.member h3 { margin-bottom: .2rem; font-size: 1rem; }
.member .role {
  font-family: var(--font-head); font-size: .7rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--red); font-weight: 600; margin-bottom: .9rem;
}
.member p { font-size: .94rem; color: var(--muted); text-align: left; }
.member .meta { font-size: .84rem; color: var(--muted); text-align: center; margin: 0; }
.member .email { display: inline-block; margin-top: .6rem; font-size: .85rem; }

/* Gallery ---------------------------------------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-alt); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }

/* Calendar --------------------------------------------------------------- */
.calendar-embed { position: relative; min-height: 640px; border: 1px solid var(--line); background: #fff; }
.calendar-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.calendar-embed .fallback { padding: 3rem; text-align: center; color: var(--muted); }
.calendar-embed.has-embed .fallback { display: none; }

/* Link list -------------------------------------------------------------- */
.link-list { list-style: none; padding: 0; margin: 0; max-width: 720px; margin: 0 auto; }
.link-list li { border-bottom: 1px solid var(--line); }
.link-list a { display: flex; justify-content: space-between; align-items: center; padding: 1.1rem 0; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .12em; font-size: .82rem; font-weight: 600; }
.link-list a::after { content: "\2197"; color: var(--red); }
.link-list a:hover { text-decoration: none; color: var(--red); }

/* Footer ----------------------------------------------------------------- */
.site-footer { background: var(--navy-dark); color: rgba(255, 255, 255, .8); padding: 64px 0 44px; text-align: center; font-size: .9rem; }
.footer-title { font-family: var(--font-head); font-weight: 700; letter-spacing: .34em; font-size: 1.3rem; color: #fff; display: inline-block; margin-bottom: .4rem; }
.footer-title:hover { text-decoration: none; }
.footer-tagline { color: rgba(255, 255, 255, .6); font-size: .82rem; margin-bottom: 1.8rem; }
.social { list-style: none; padding: 0; margin: 0 0 1.8rem; display: flex; justify-content: center; gap: 1rem; }
.social a {
  color: #fff; display: inline-flex; width: 42px; height: 42px;
  border: 1px solid rgba(255, 255, 255, .35); border-radius: 50%;
  align-items: center; justify-content: center; transition: background .2s, color .2s;
}
.social a:hover { background: #fff; color: var(--navy); text-decoration: none; }
.social svg { width: 20px; height: 20px; }
.footer-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: .4rem 1.8rem; margin-bottom: 1.8rem; }
.footer-nav a { color: rgba(255, 255, 255, .85); font-family: var(--font-head); text-transform: uppercase; letter-spacing: .16em; font-size: .68rem; font-weight: 600; }
.footer-nav a:hover { color: #fff; }
.copyright { color: rgba(255, 255, 255, .7); margin-bottom: .6rem; }
.site-footer small { display: block; max-width: 720px; margin: 0 auto; color: rgba(255, 255, 255, .5); font-size: .76rem; line-height: 1.6; }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1100px) {
  .site-nav ul { gap: 1.4rem; }
  .site-nav a, .site-nav .folder-toggle { font-size: .68rem; letter-spacing: .14em; }
}
@media (max-width: 960px) {
  :root { --header-h: 70px; }
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: #fff; transform: translateX(100%); transition: transform .25s;
    overflow-y: auto; padding: 1.4rem 6vw 3rem;
  }
  .site-nav.open { transform: none; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav > ul > li { border-bottom: 1px solid var(--line); }
  .site-nav a, .site-nav .folder-toggle { font-size: .95rem; letter-spacing: .14em; color: var(--navy) !important; padding: 14px 0; width: 100%; justify-content: space-between; border-bottom: 0; }
  .site-nav a[aria-current="page"] { color: var(--red) !important; }
  .folder .sub { position: static; display: none; border: 0; box-shadow: none; padding: 0 0 .6rem 1rem; min-width: 0; }
  .folder.open .sub, .folder:focus-within .sub { display: flex; }
  .folder .sub a { padding: 8px 0; }
  .folder.open .chevron { transform: rotate(180deg); }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .board { grid-template-columns: 1fr; gap: 3rem; }
  .board-group__members { max-width: 560px; margin: 0 auto; }
  .feature { grid-template-columns: 1fr; gap: 2rem; }
  .feature:nth-child(even) .feature__img { order: 0; }
  .section { padding: 64px 0; }
  .hero { min-height: 86vh; }
  .carousel__arrow { width: 38px; height: 38px; }
  .carousel__arrow--prev { left: 8px; }
  .carousel__arrow--next { right: 8px; }
}
@media (max-width: 600px) {
  .mission p { font-size: 1.02rem; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .board-group__members { gap: 1.2rem; }
  .member__email { font-size: .66rem; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  h1 { font-size: 1.7rem; }
  .btn { padding: 13px 26px; }
}
