@import url("https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap");

:root {
  --cream: #f6f2e7;
  --paper: #fffdf8;
  --white: #ffffff;
  --vanilla: #f2c75c; 
    /* --accent: #227354; */
  /* --accent-deep: #154734; */
  --accent: #1D839D;
  --accent-deep: #125161;
  --ink: #282a29;
  --ink-soft: #4b514f;
  --line: rgba(29, 131, 157, 0.14);
  --shadow: 0 24px 60px rgba(29, 131, 157, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: min(1180px, calc(100vw - 2rem));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Instrument Sans", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(242, 199, 92, 0.22), transparent 28rem),
    radial-gradient(circle at right 15%, rgba(22, 104, 125, 0.12), transparent 30rem),
    linear-gradient(180deg, #fbf7ee 0%, #ffffff 32%, #f8faf8 100%);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(22, 104, 125, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 104, 125, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.58), transparent 88%);
  z-index: -1;
}

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

a {
  color: inherit;
  text-decoration: none;
}

p,
li {
  color: var(--ink-soft);
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

main {
  display: block;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 1rem 0;
  transition: padding 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  padding: 0.65rem 0;
  background: rgba(255, 253, 248, 0.86);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 35px rgba(29, 131, 157, 0.08);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  border-radius: 999px;
  box-shadow: 0 10px 25px rgba(29, 131, 157, 0.05);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  order: 0;
}

.brand img {
width: 65px;
  max-width: 42vw;
  height: auto;
  border-radius: 100px;
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  max-width: 10.5rem;
  min-width: 0;
}

.brand__eyebrow {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.brand__name {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.16;
  color: var(--ink);
}

.nav-toggle {
  display: none;
  border: 0;
  background: var(--accent-deep);
  color: var(--white);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  order: 3;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  order: 1;
}

.site-nav a {
  padding: 0.68rem 0.82rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--accent-deep);
  background: rgba(22, 104, 125, 0.08);
}

.site-nav a.is-current {
  color: var(--accent-deep);
  background: rgba(242, 199, 92, 0.24);
}

.site-nav .site-nav__button {
  color: var(--white);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  box-shadow: 0 16px 28px rgba(22, 104, 125, 0.18);
}

.site-nav .site-nav__button:hover,
.site-nav .site-nav__button:focus-visible {
  color: var(--white);
  background: linear-gradient(135deg, var(--accent-deep) 0%, var(--accent) 100%);
  transform: translateY(-1px);
}

.site-social {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.site-social--header {
  flex: 0 0 auto;
  order: 2;
}

.site-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid rgba(29, 131, 157, 0.16);
  border-radius: 50%;
  color: var(--accent-deep);
  background: rgba(255, 255, 255, 0.72);
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.site-social a:hover,
.site-social a:focus-visible {
  color: var(--white);
  border-color: transparent;
  background: var(--accent-deep);
  transform: translateY(-1px);
}

.site-social svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
}

.page {
  padding-bottom: 1rem;
}

.hero {
  padding: 1.4rem 0 2rem;
}

.hero__panel {
  display: grid;
  /* grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr); */
  gap: 1.5rem;
  align-items: stretch;
  /* padding: 1.5rem; */
  border-radius: calc(var(--radius-xl) + 8px);
}

.hero__copy,
.hero__media {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero__copy {
  padding: clamp(2rem, 4vw, 4rem);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(246, 242, 231, 0.98)),
    var(--paper);
  border: 1px solid rgba(22, 104, 125, 0.1);
}

.hero__copy > * {
  position: relative;
  z-index: 1;
}

.hero__copy::after {
  content: "";
  position: absolute;
  inset: auto -5rem -5rem auto;
  width: 14rem;
  height: 14rem;
  border-radius: 50%;
  background: rgba(242, 199, 92, 0.28);
  filter: blur(8px);
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.eyebrow::before {
  content: "";
  width: 46px;
  height: 1px;
  background: currentColor;
}

.display {
  margin: 0;
  font-family: "Manrope", "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  /* font-size: clamp(2.7rem, 6vw, 5.4rem); */
  font-size: clamp(2rem, 2.7vw, 3.4rem);
  line-height: 1.1;
  /* letter-spacing: -0.04em; */
  color: var(--ink);
}

.lead {
  font-size: 1.1rem;
  /* max-width: 62ch; */
}

.hero__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 1.8rem 0 2rem;
}

.hero__meta div {
  padding: 0.95rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
}

.hero__meta dt {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.hero__meta dd {
  margin: 0.35rem 0 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.button,
.button-secondary,
.button-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.35rem;
  margin-left: 10px; 
  border-radius: 24px;
  font-weight: 500;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease;
}

.button {
  color: var(--white);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 80%);
  box-shadow: 0 18px 30px rgba(22, 104, 125, 0.18);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 22px 35px rgba(22, 104, 125, 0.24);
}

.button-secondary {
  color: var(--accent-deep);
  background: linear-gradient(135deg, var(--white) 0%, var(--cream) 100%);
  box-shadow:
    inset 0 0 0 2px rgba(242, 199, 92, 0.9),
    0 18px 30px rgba(8, 42, 51, 0.22);
}

.button-secondary:hover,
.button-secondary:focus-visible,
.button-ghost:hover,
.button-ghost:focus-visible {
  transform: translateY(-1px);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  color: var(--ink);
  background: linear-gradient(135deg, var(--vanilla) 0%, #ffe7a1 100%);
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.88),
    0 22px 35px rgba(8, 42, 51, 0.28);
}

.button-ghost {
  color: var(--ink);
  background: rgba(242, 199, 92, 0.3);
}

.hero__media {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  margin: 0;
  width: 100%;
  height: 100%;
  min-height: 540px;
  background: var(--ink);
}

.home-image-frame {
  position: relative;
  display: block;
  min-height: 0;
  overflow: hidden;
  background: rgba(29, 131, 157, 0.12);
}

.hero__media .home-image-frame {
  height: 100%;
}

.home-image-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-image-credit {
  margin: 0;
  padding-top: 0.42rem;
  padding-bottom: 0.42rem;
  padding-left: 1.5rem;
  padding-right: 0.55rem;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.25;
}

.home-image-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.home-image-card .home-image-frame,
.home-image-card .home-image-credit {
  border-radius: 0;
  box-shadow: none;
}

.media-badge {
  position: absolute;
  z-index: 1;
  line-height: 1.2;
  left: 1.2rem;  
  bottom: 0.4rem;
  right : 1.2rem;
  /* max-width: 100%; */
  padding: 0.8rem 0.8rem;
  /* max-width: 18rem;
  padding: 1rem 1.1rem; */
  border-radius: var(--radius-md);
  background: rgba(29, 131, 157, 0.84);
  backdrop-filter: blur(10px);
  color: var(--white);

}

.media-badge strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--vanilla);
}

.section {
  padding: 1.35rem 0;
}

.section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}


.section-header h1 {
  /* margin: 0.2rem 0 0;
  font-family: "Manrope", "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(2rem, 4.1vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.04em; */

  margin: 0;
  font-family: "Manrope", "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  /* font-size: clamp(2.7rem, 6vw, 5.4rem); */
  font-size: clamp(2rem, 2.7vw, 3.4rem);
  line-height: 1.1;
  /* letter-spacing: -0.04em; */
  color: var(--ink);

}
.section-header h2
{
  margin: 0.2rem 0 0;
  font-family: "Manrope", "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  /* font-size: clamp(2.7rem, 6vw, 5.4rem); */
  font-size: clamp(2rem, 2vw, 3.4rem);
  line-height: 1.1;
  /* letter-spacing: -0.04em; */
  color: var(--ink);
}

.page-home h2 {
  font-family: "Manrope", "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(2rem, 2vw, 3.4rem);
  line-height: 1.1;
}

.section-header p {
  max-width: 40rem;
  margin: calc((0.82rem * 1.6) + 1.25rem + 0.2rem) 0 0;
}

.metric-grid,
.card-grid,
.resource-grid,
.story-grid,
.gallery-grid,
.contact-grid {
  display: grid;
  gap: 1rem;
}

.metric-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.metric-card,
.card,
.resource-card,
.contact-card,
.story-card,
.timeline-card {
  padding: 1.35rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  box-shadow: 0 18px 32px rgba(29, 131, 157, 0.06);
}

.metric-card strong {
  display: block;
  font-family: "Manrope", "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 2.4rem;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--accent-deep);
}

.metric-card span {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card h3,
.resource-card h3,
.story-card h3,
.timeline-card h3,
.contact-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
}

.card p,
.resource-card p,
.story-card p,
.timeline-card p,
.contact-card p {
  margin: 0 0 1rem;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(88, 122, 131, 0.767);
  color: var(--white);
  font-weight: 700;
  font-size: 0.88rem;
}

.band {
  margin: 1.7rem auto;
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(29, 131, 157, 0.96), rgba(22, 104, 125, 0.92)),
    var(--accent-deep);
  color: var(--white);
  box-shadow: 0 26px 55px rgba(29, 131, 157, 0.2);
}

.band p,
.band li {
  color: rgba(255, 255, 255, 0.82);
}

.band h2,
.band h3 {
  margin: 0 0 0.75rem;
  color: var(--white);
}

.band .eyebrow,
.band .eyebrow::before {
  color: rgba(242, 199, 92, 0.95);
}

.band-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 1.2rem;
  align-items: center;
}

.band-list li + li,
.stack > * + * {
  margin-top: 0.75rem;
}

.about-cta-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.about-cta-stack .button-secondary {
  width: min(100%, 20rem);
  text-align: center;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.95fr);
  gap: 1rem;
  align-items: stretch;
}

.split--reverse {
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1fr);
}

.split__media,
.split__copy {
  min-height: 100%;
}

.split__media {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
}

.split__media img {
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.split__media .home-image-frame {
  min-height: 18rem;
}

.split__media .home-image-frame img {
  border-radius: 0;
  box-shadow: none;
}

.split__media .home-image-credit {
  box-shadow: none;
}

.story-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.timeline {
  display: grid;
  gap: 1rem;
}

.timeline-card {
  position: relative;
  padding-left: 4.4rem;
}

.timeline-card::before {
  content: attr(data-year);
  position: absolute;
  left: 1.25rem;
  top: 1.4rem;
  font-family: "Manrope", "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.15rem;
  color: var(--accent);
}

.timeline-card::after {
  content: "";
  position: absolute;
  left: 2rem;
  top: 1.25rem;
  bottom: 1.25rem;
  width: 1px;
  background: linear-gradient(180deg, rgba(22, 104, 125, 0.25), rgba(22, 104, 125, 0));
}

.history-post {
  /* max-width: 46rem; */
  margin: 0 auto;
  padding: clamp(1.35rem, 3vw, 2.5rem);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  box-shadow: 0 18px 32px rgba(29, 131, 157, 0.06);
}

.history-post__section + .history-post__section {
  margin-top: 2rem;
  /* padding-top: 2rem; */
  /* border-top: 1px solid var(--line); */
}

.history-post__meta {
  margin: 0 0 0.45rem;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.history-post h3 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.2;
  color: var(--ink);
}

.history-post p {
  margin: 0 0 1rem;
  font-size: 1.02rem;
  line-height: 1.75;
}

.history-post p:last-child {
  margin-bottom: 0;
}

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

.resource-card {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.resource-card__tag {
  display: inline-flex;
  width: fit-content;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(242, 199, 92, 0.24);
  color: var(--accent-deep);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.download-dropdown {
  margin-top: auto;
}

.download-dropdown summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.95rem 1.35rem;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--white) 0%, var(--cream) 100%);
  box-shadow:
    inset 0 0 0 2px rgba(242, 199, 92, 0.9),
    0 18px 30px rgba(8, 42, 51, 0.16);
  color: var(--accent-deep);
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}

.download-dropdown summary::-webkit-details-marker {
  display: none;
}

.download-dropdown summary::after {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-0.12rem);
  transition: transform 180ms ease;
}

.download-dropdown[open] summary::after {
  transform: rotate(225deg) translate(-0.1rem, -0.1rem);
}

.download-dropdown__menu {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.65rem;
  padding: 0.65rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.9);
}

.download-dropdown__menu a {
  padding: 0.7rem 0.8rem;
  border-radius: var(--radius-sm);
  color: var(--accent-deep);
  font-weight: 700;
}

.download-dropdown__menu a:hover,
.download-dropdown__menu a:focus-visible {
  background: rgba(242, 199, 92, 0.24);
}

.link-inline {
  color: var(--accent-deep);
  font-weight: 700;
}

.link-inline::after {
  content: " →";
}

.season-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.season-block {
  padding: 1.3rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
}

.season-block h3 {
  margin: 0 0 0.6rem;
}

.season-block ul li + li {
  margin-top: 0.55rem;
}

.gallery-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.gallery-stack {
  display: grid;
  gap: 1rem;
}

.gallery-media,
.gallery-stack > img,
.gallery-grid > img {
  /* border-radius: var(--radius-sm); */
  box-shadow: var(--shadow);
}

.gallery-media {
  position: relative;
  margin: 0;
  overflow: hidden;
}

.gallery-media img,
.gallery-stack > img,
.gallery-grid > img {
  width: 100%;
  height: auto;
}

.gallery-grid > img[data-home-gallery-image],
.gallery-grid [data-home-gallery-image] {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.contact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card--highlight {
  background:
    linear-gradient(135deg, rgba(242, 199, 92, 0.28), rgba(255, 255, 255, 0.94)),
    var(--white);
}

.note {
  padding: 1rem 1.15rem;
  border-left: 4px solid var(--vanilla);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: rgba(242, 199, 92, 0.16);
}

.footer {
  padding: 1rem 0 2rem;
}

.footer__panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.4rem;
  border-radius: var(--radius-xl);
  background: rgba(29, 131, 157, 0.95);
  color: var(--white);
  box-shadow: 0 30px 60px rgba(29, 131, 157, 0.16);
}

.footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.footer__intro {
  min-width: 0;
}

.footer__intro h2,
.footer__intro p,
.footer__copyright,
.footer__host {
  margin: 0;
}

.footer__panel p,
.footer__panel a {
  color: rgba(255, 255, 255, 0.82);
}

.footer_smallprint-notice {
  font-size: 0.78rem;
  line-height: 1.35;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.footer__links a:hover,
.footer__links a:focus-visible {
  color: var(--white);
}

.site-social--footer {
  flex: 0 0 auto;
  margin-left: auto;
  margin-top: 0.15rem;
}

.site-social--footer a {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
}

.site-social--footer a:hover,
.site-social--footer a:focus-visible {
  color: var(--accent-deep);
  background: var(--white);
}

.footer__host {
  align-self: flex-start;
  text-align: left;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.is-visible {
  /* padding-bottom: 40px; */
  opacity: 1;
  transform: translateY(0);
}

.page-hero {
  padding: 1.2rem 0 0.8rem;
}

.page-hero__panel {
  position: relative;
  padding: clamp(2rem, 4vw, 3.5rem);
  border-radius: calc(var(--radius-xl) + 6px);
  background:
    linear-gradient(130deg, rgba(29, 131, 157, 0.95), rgba(22, 104, 125, 0.9)),
    var(--accent-deep);
  color: var(--white);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(29, 131, 157, 0.18);
}

.page-hero__panel::after {
  content: "";
  position: absolute;
  inset: auto -3rem -5rem auto;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: rgba(49, 151, 187, 0.26);
  pointer-events: none;
}

.page-hero__panel > * {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  margin: 0.15rem 0 0.85rem;
  font-family: "Manrope", "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.page-hero p {
  max-width: 42rem;
  color: rgba(255, 255, 255, 0.84);
}

.crumbs {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.compact-list li {
  position: relative;
  padding-left: 1rem;
}

.compact-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--vanilla);
}

.compact-list li + li {
  margin-top: 0.7rem;
}

.caption {
  /* font-size: 0.86rem; */
  color: var(--ink-soft);
  padding-top: 0.5rem;
}

.gallery-page .page-hero__panel {
  border-radius: calc(var(--radius-xl) + 6px);
}

.gallery-socials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1rem;
}

.gallery-socials__label {
  /* color: var(--ink-soft); */
  font-size: 1rem;
  /* font-weight: 400; */
  color: rgba(255, 255, 255, 0.84);
}

.gallery-socials__link {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid rgba(40, 42, 41, 0.16);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.gallery-socials__link:hover,
.gallery-socials__link:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--white);
  transform: translateY(-1px);
}

.gallery-socials__link svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gallery-status {
  margin-bottom: 1rem;
  color: var(--ink-soft);
  font-weight: 700;
}

.contact-sheet {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 1.35rem 1rem;
  align-items: start;
}

.contact-sheet__item {
  margin: 0;
  min-width: 0;
}

.contact-sheet__image-button {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 0.25rem;
  border: 1px solid rgba(40, 42, 41, 0.22);
  border-radius: 0;
  background: #333;
  /* background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 50%, transparent 50%) 0 0 / 28px 100%,
    #161817; */
  cursor: pointer;
  box-shadow: 0 16px 32px rgba(29, 131, 157, 0.1);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.contact-sheet__image-button:hover,
.contact-sheet__image-button:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 22px 38px rgba(29, 131, 157, 0.18);
  transform: translateY(-2px);
}

.contact-sheet__image-button img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
}

.contact-sheet__caption {
  display: grid;
  gap: 0.18rem;
  padding-top: 0.65rem;
}

.contact-sheet__caption strong {
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.25;
}

.contact-sheet__caption span {
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.3;
}

.contact-sheet__caption a {
  color: var(--accent-deep);
  font-size: 0.9rem;
  line-height: 1.3;
  text-decoration: none;
}

.contact-sheet__caption a:hover,
.contact-sheet__caption a:focus-visible {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 1rem;
  align-items: start;
}

.contact-form-panel h2 {
  margin: 0 0 1rem;
  font-family: "Manrope", "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.8rem, 2vw, 2.6rem);
  line-height: 1.1;
  color: var(--ink);
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.42rem;
  color: var(--ink);
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.88rem 0.95rem;
  border: 1px solid rgba(40, 42, 41, 0.22);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  font: inherit;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.contact-form textarea {
  resize: vertical;
  min-height: 11rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(29, 131, 157, 0.12);
}

.contact-form__note {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  text-align: center;
}

.contact-details {
  display: grid;
  gap: 1rem;
}

.contact-venue {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1rem;
  align-items: stretch;
}

.contact-venue__image,
.contact-venue__map {
  min-height: 360px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.contact-venue__image img,
.contact-venue__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-venue__image img {
  object-fit: cover;
}

.join-details-page {
  min-height: 100vh;
  padding-bottom: 0;
}

.join-details-frame {
  height: calc(100vh - 7.5rem);
  min-height: 720px;
  padding: 0 1rem 1rem;
}

.join-details-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}

.gallery-directory__nav {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.35rem;
}

.gallery-directory__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.65rem;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  transition: background 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.gallery-directory__nav a:hover,
.gallery-directory__nav a:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.72);
  transform: translateY(-1px);
}

.gallery-directory__section {
  scroll-margin-top: 5rem;
}

.gallery-directory .section-heading {
  margin-bottom: 1.45rem;
}

.gallery-directory .section-heading h2 {
  margin: 0;
  font-family: "Manrope", "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(2rem, 2vw, 3.4rem);
  line-height: 1.1;
  color: var(--ink);
}

.gallery-directory__groups {
  display: grid;
  gap: clamp(2.4rem, 5vw, 4.25rem);
}

.gallery-directory__group {
  display: grid;
  gap: 1.1rem;
  min-width: 0;
}

.gallery-directory__group h3 {
  margin: 0;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
  color: var(--accent-deep);
  font-family: "Manrope", "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.45rem, 1.8vw, 2.1rem);
  line-height: 1.1;
}

.gallery-directory__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 1.6rem 1.15rem;
  align-items: start;
}

.gallery-directory__grid--members {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
}

.gallery-directory__card {
  min-width: 0;
}

.gallery-directory__media {
  display: block;
  aspect-ratio: 4 / 3;
  padding: 0.3rem;
  border: 1px solid rgba(40, 42, 41, 0.22);
  background: #333;
  /* background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 50%, transparent 50%) 0 0 / 28px 100%,
    #161817; */
  box-shadow: 0 16px 32px rgba(29, 131, 157, 0.1);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.gallery-directory__media:hover,
.gallery-directory__media:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 22px 38px rgba(29, 131, 157, 0.18);
  transform: translateY(-2px);
}

.gallery-directory__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-directory__caption {
  display: grid;
  gap: 0.22rem;
  padding-top: 0.72rem;
}

.gallery-directory__caption span {
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.gallery-directory__caption h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.2;
}

.gallery-directory__caption a {
  color: var(--ink);
  text-decoration: none;
}

.gallery-directory__caption a:hover,
.gallery-directory__caption a:focus-visible {
  color: var(--accent-deep);
}

.has-lightbox {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(0.5rem, 2vw, 1rem);
  padding: clamp(1rem, 3vw, 2rem);
  background: rgba(10, 12, 12, 0.94);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox__figure {
  display: grid;
  gap: 1rem;
  justify-items: center;
  min-width: 0;
  margin: 0;
}

.lightbox__figure img {
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - 9rem);
  object-fit: contain;
  border-radius: 0;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
}

.lightbox__caption {
  display: grid;
  gap: 0.15rem;
  text-align: center;
  color: var(--white);
}

.lightbox__caption strong {
  color: var(--white);
  font-size: 1.05rem;
}

.lightbox__caption span {
  color: rgba(255, 255, 255, 0.72);
}

.lightbox__caption span a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.lightbox__caption span a:hover,
.lightbox__caption span a:focus-visible {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.lightbox__close,
.lightbox__nav {
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  cursor: pointer;
  transition: background-color 180ms ease, transform 180ms ease;
}

.lightbox__close:hover,
.lightbox__close:focus-visible,
.lightbox__nav:hover,
.lightbox__nav:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  line-height: 1;
}

.lightbox__nav {
  width: clamp(44px, 5vw, 58px);
  height: clamp(44px, 5vw, 58px);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 0.8;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1040px) {
  .hero__panel,
  .split,
  .split--reverse,
  .gallery-grid,
  .band-grid,
  .contact-layout,
  .contact-venue {
    grid-template-columns: 1fr;
  }

  .metric-grid,
  .card-grid,
  .story-grid,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .resource-grid,
  .season-grid {
    grid-template-columns: 1fr;
  }

  .hero__media {
    aspect-ratio: 16 / 10;
    height: auto;
    min-height: 420px;
  }
}

@media (max-width: 1046px) {
  .site-header__inner {
    border-radius: 28px;
  }

  .brand__text {
    display: flex;
    max-width: min(10.5rem, calc(100vw - 10.5rem));
  }

  .brand__eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
  }

  .brand__name {
    font-size: 0.88rem;
    line-height: 1.15;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  .site-social--header {
    margin-left: auto;
    order: 2;
  }

  .site-social--header a {
    width: 2.75rem;
    height: 2.75rem;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.7rem);
    left: 0;
    right: 0;
    display: grid;
    gap: 0.35rem;
    padding: 0.9rem;
    border-radius: 26px;
    background: rgba(255, 253, 248, 0.98);
    box-shadow: var(--shadow);
    border: 1px solid rgba(29, 131, 157, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
    order: 4;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-nav a {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 820px) {
  .metric-grid,
  .card-grid,
  .story-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .section-header {
    grid-template-columns: 1fr;
  }

  .section-header {
    flex-direction: column;
  }

  .section-header p {
    margin-top: 0;
  }

  .footer__panel {
    text-align: left;
  }

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

  .site-social--footer {
    margin-left: 0;
    margin-top: 0;
  }

  .lightbox {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "figure figure"
      "prev next";
    align-content: center;
  }

  .lightbox__figure {
    grid-area: figure;
  }

  .lightbox__nav--prev {
    grid-area: prev;
    justify-self: end;
  }

  .lightbox__nav--next {
    grid-area: next;
    justify-self: start;
  }

  .lightbox__figure img {
    max-height: calc(100vh - 12rem);
  }
}

@media (max-width: 560px) {
  .site-header {
    padding-top: 0.7rem;
  }

  .site-header__inner {
    padding: 0.8rem 0.9rem;
    gap: 0.65rem;
  }

  .brand {
    gap: 0.65rem;
  }

  .brand img {
    width: 54px;
  }

  .brand__text {
    max-width: min(10rem, calc(100vw - 9.5rem));
  }

  .brand__eyebrow {
    font-size: 0.62rem;
    letter-spacing: 0.08em;
  }

  .brand__name {
    font-size: 0.84rem;
  }

  .site-social--header {
    gap: 0.25rem;
  }

  .site-social--header a {
    width: 2.45rem;
    height: 2.45rem;
  }

  .hero__panel {
    padding: 0.5rem;
  }

  .hero__copy {
    padding: 1.6rem;
  }

  .hero__media {
    aspect-ratio: 4 / 3;
    height: auto;
    min-height: 300px;
  }

  .media-badge {
    padding: 0.55rem 0.65rem;
    font-size: 0.78rem;
  }

  .media-badge strong {
    margin-bottom: 0.1rem;
    font-size: 0.62rem;
  }

  .button-row {
    flex-direction: column;
  }

  .button,
  .button-secondary,
  .button-ghost {
    width: 100%;
    margin-left: 0;
  }

  .contact-venue__image,
  .contact-venue__map {
    min-height: 280px;
  }

  .join-details-frame {
    height: calc(100vh - 6.5rem);
    min-height: 620px;
    padding: 0 0.5rem 0.5rem;
  }

  .join-details-frame iframe {
    border-radius: var(--radius-sm);
  }
}

@media (max-width: 380px) {
  .site-header__inner {
    gap: 0.45rem;
  }

  .brand img {
    width: 48px;
  }

  .brand__eyebrow {
    display: none;
  }

  .brand__name {
    font-size: 0.82rem;
  }

  .site-social--header a {
    width: 2.25rem;
    height: 2.25rem;
  }

  .nav-toggle {
    width: 44px;
    height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
