* {
  box-sizing: border-box;
}

:root {
  --ink: #212121;
  --muted: #5f6368;
  --paper: #f5f2f0;
  --surface: #ffffff;
  --charcoal: #4f474e;
  --accent: #ffd54f;
  --teal: #3f7f7b;
  --line: rgba(33, 33, 33, 0.14);
  --shadow: 0 18px 40px rgba(33, 33, 33, 0.11);
  --max: 1120px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Droid Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 28px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 1.05rem;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--ink);
  background: var(--accent);
  border: 1px solid rgba(33, 33, 33, 0.18);
  font-family: "Droid Sans", Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  width: 100%;
}

.site-nav a,
.nav-group > button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 4px solid transparent;
  font: 700 0.84rem/1.25 "Droid Sans", Arial, sans-serif;
  text-decoration: none;
  cursor: pointer;
}

.site-nav a:hover,
.nav-group > button:hover,
.site-nav a[aria-current="page"],
.nav-group.is-active > button {
  border-bottom-color: var(--accent);
}

.nav-group {
  position: relative;
}

.nav-group > button::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 8px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
}

.nav-menu {
  position: absolute;
  top: 100%;
  right: 0;
  display: none;
  min-width: 280px;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.nav-group:hover .nav-menu,
.nav-group:focus-within .nav-menu,
.nav-group.is-open .nav-menu {
  display: grid;
}

.nav-menu a {
  justify-content: flex-start;
  min-height: 38px;
  border-bottom-width: 0;
}

.nav-menu a:hover,
.nav-menu a[aria-current="page"] {
  background: rgba(255, 213, 79, 0.22);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 430px;
  display: grid;
  align-items: end;
  background-color: var(--charcoal);
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(33, 33, 33, 0.58);
}

.hero-content {
  position: relative;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 96px 0 84px;
  color: white;
}

.eyebrow {
  width: fit-content;
  margin: 0 0 18px;
  padding: 6px 10px;
  color: var(--ink);
  background: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 900px;
  margin: 0;
  font-family: "Roboto Slab", Georgia, serif;
  font-size: clamp(2.4rem, 6vw, 4.7rem);
  font-weight: 300;
  line-height: 1.08;
}

.hero p:last-child {
  max-width: 760px;
  margin: 22px 0 0;
  font-size: 1.12rem;
}

.page-band {
  padding: 68px 0;
  background: var(--surface);
}

.page-band.alternate {
  background: var(--paper);
}

.content-shell {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.content-shell.narrow {
  width: min(760px, calc(100% - 48px));
  text-align: center;
}

.section-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 34px;
}

.split-band .section-layout {
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.85fr);
  align-items: start;
}

.section-copy > *:first-child,
.section-media > *:first-child {
  margin-top: 0;
}

.section-copy,
.section-media {
  min-width: 0;
}

h2,
h3 {
  font-family: "Roboto Slab", Georgia, serif;
  font-weight: 300;
  line-height: 1.22;
}

h2 {
  margin: 0 0 22px;
  font-size: clamp(1.9rem, 4vw, 3rem);
}

h3 {
  margin: 30px 0 12px;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
}

p {
  margin: 0 0 18px;
}

.content-list {
  margin: 0 0 20px;
  padding-left: 1.2rem;
}

.content-list li + li {
  margin-top: 10px;
}

.media-frame,
.image-card {
  overflow: hidden;
  margin: 0;
  background: #e9e4df;
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(33, 33, 33, 0.08);
}

.media-frame img,
.image-card img {
  width: 100%;
  height: auto;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.resource-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.resource-link,
.primary-action,
.related-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 14px;
  color: var(--ink);
  background: var(--accent);
  border: 1px solid rgba(33, 33, 33, 0.18);
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.resource-link:hover,
.primary-action:hover,
.related-links a:hover {
  background: #ffe27a;
}

.primary-action {
  min-height: 54px;
  padding: 13px 22px;
}

.contact-band {
  background: var(--charcoal);
}

.embed-wrap {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #ffffff;
}

.embed-wrap iframe {
  width: 100%;
  min-height: 360px;
  border: 0;
}

.carousel {
  position: relative;
  overflow: hidden;
  background: #161616;
  border: 1px solid var(--line);
}

.carousel-track {
  position: relative;
  aspect-ratio: 16 / 10;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  display: none;
  margin: 0;
}

.carousel-slide.is-active {
  display: block;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-control {
  position: absolute;
  top: 50%;
  width: 42px;
  height: 42px;
  color: white;
  background: rgba(0, 0, 0, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transform: translateY(-50%);
  cursor: pointer;
}

.carousel-prev {
  left: 12px;
}

.carousel-next {
  right: 12px;
}

.carousel-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(0, 0, 0, 0.24);
  border-radius: 50%;
  cursor: pointer;
}

.carousel-dot.is-active {
  background: var(--accent);
}

.related-band {
  background: var(--charcoal);
  color: white;
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 28px;
  color: white;
  background: #212121;
}

.site-footer p {
  margin: 6px 0 0;
}

.site-footer a {
  color: white;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

@media (max-width: 1020px) {
  .site-header {
    align-items: flex-start;
    padding: 14px 20px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    max-height: calc(100vh - 72px);
    overflow: auto;
    padding: 10px 20px 20px;
    background: white;
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: grid;
    justify-content: stretch;
  }

  .site-nav a,
  .nav-group > button {
    justify-content: space-between;
    width: 100%;
    min-height: 42px;
    padding: 0 4px;
  }

  .nav-group {
    width: 100%;
  }

  .nav-menu {
    position: static;
    display: none;
    min-width: 0;
    box-shadow: none;
    border: 0;
    border-left: 3px solid var(--accent);
  }

  .nav-group.is-open .nav-menu {
    display: grid;
  }

  .split-band .section-layout {
    grid-template-columns: 1fr;
  }

  .resource-links {
    align-items: flex-start;
    flex-direction: column;
  }

  .resource-link {
    max-width: 100%;
  }
}

@media (max-width: 700px) {
  .brand {
    min-width: 0;
    max-width: calc(100% - 60px);
    font-size: 0.95rem;
  }

  .hero {
    min-height: 360px;
  }

  .hero-content {
    width: min(100% - 32px, var(--max));
    padding: 76px 0 58px;
  }

  .hero h1 {
    font-size: 2.45rem;
  }

  .page-band {
    padding: 48px 0;
  }

  .content-shell,
  .content-shell.narrow {
    width: calc(100% - 32px);
  }

  .site-footer {
    display: grid;
    padding: 28px 20px;
  }
}


.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}
