/* ==========================================================================
   Start From Scratch — global styles
   Pages: index, purpose, partners, artists, attendees, gallery
   ========================================================================== */

:root {
  --green: #abc80c;
  --green-light: #cbdd66;
  --black: #0b0b0b;
  --near-black: #161616;
  --white: #fff;
  --grey: #b5b5b5;
  --grey-dark: #2a2a2a;
  --font-main: "akshar", "Arial Narrow", sans-serif;
  --font-scratch: "Permanent Marker", cursive;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  font-weight: 300;
  line-height: 1.6;
  background: var(--black);
  color: var(--white);
}

img {
  display: block;
  max-width: 100%;
  background: #1d1d1d; /* placeholder tone while images load / are missing */
}

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

ul {
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

h1,
h2,
h3 {
  text-transform: uppercase;
  font-weight: 400;
  line-height: 1.15;
}

blockquote p,
.split p,
.partner-bio p {
  margin-bottom: 0.6em;
}

p {
  font-size: 1.2rem;
  line-height: 1.3;
}

strong {
  font-weight: 500;
}

p.intro-p {
  font-size: 1.3rem;
  line-height: 1.3;
}

/* Layout helpers
   ========================================================================== */

.wrap {
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: 2rem;
}

.narrow {
  max-width: 780px;
}

.center {
  text-align: center;
}

.text-green {
  color: var(--green);
}

.text-white {
  color: var(--white);
}

.section-green {
  background-color: var(--green);
  color: var(--black);
}

.section-green-border {
  border-bottom: 80px solid var(--green);
}

.section-white {
  background-color: var(--white);
  color: var(--black);
}

.section-title {
  font-size: 2.2rem;
  letter-spacing: 0.06em;
  font-weight: 300;
  margin-bottom: 2.5rem;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
}

/* Section divider waves — add .wave-bottom to a section to draw the wavy
   edge + fine-line artwork at its bottom edge. Modifiers:
   .wave-bottom-black  solid edge in black (default is green)
   .wave-bottom-alt    alternate line artwork
   ========================================================================== */

.wave-bottom {
  position: relative;
  --wave-color: var(--green);
}

/* fine-line wave artwork — fixed natural size (1440x125), repeats on wider
   screens, artwork axis (y77) sits on the section edge */
.wave-bottom::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -48px;
  height: 125px;
  z-index: 2;
  background: url(../assets/section-wave-1.png) repeat-x center bottom / 1440px auto;
  pointer-events: none;
}

.wave-bottom-black {
  --wave-color: var(--black);
}

.wave-bottom-alt::after {
  background-image: url(../assets/section-wave-2.png);
}

.wave-bg {
  background-image: url(../assets/wave-bg.svg);
  background-size: 3500px auto;
  background-position: center;
}

.wave-bg-gray {
  background-image: url(../assets/wave-bg-gray.svg);
  background-size: 3500px auto;
  background-position: center;
}

/* Header
   ========================================================================== */

.site-header {
  background: #000;
  border-top: 6px solid var(--green);
}

.header-band {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 1rem 0 0; /* tall enough for the 137px wave artwork to clear the top */
}

/* waveform artwork flanking the logo — fixed natural size (553x137),
   repeats outwards on wider screens, axis sits on the black/green boundary */
.wave-band {
  position: absolute;
  width: calc(70% - 170px);
  height: 137px;
  background-repeat: repeat-x;
  background-size: 553px 137px;
  pointer-events: none;
  z-index: 1;
}

.wave-band.wave-left {
  left: 0;
  bottom: -64px; /* artwork axis at y72.7 of 137 */
  background-image: url(../assets/wave-left.png);
  background-position: right bottom;
}

.wave-band.wave-right {
  right: 0;
  bottom: -73px; /* artwork axis at y64.3 of 137 */
  background-image: url(../assets/wave-right.png);
  background-position: left bottom;
}

.logo {
  display: block;
  position: relative;
  z-index: 2;
  margin-bottom: -24px; /* logo hangs over the green nav band */
  line-height: 1;
}

.logo img {
  display: block;
  width: 150px;
  height: auto;
  background-color: transparent;
}

.site-nav {
  background: var(--green);
  padding-top: 1.9rem; /* keeps the green strip under the overhanging logo */
}

/* mobile: collapsible panel that expands when .nav-open is set */
.site-nav ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  transition:
    max-height 0.4s var(--ease),
    padding 0.4s var(--ease);
}

.nav-open .site-nav ul {
  max-height: 320px;
  padding-bottom: 1.6rem;
}

/* keep items hidden while the panel opens, then fade them in once open */
.site-nav li {
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}

.nav-open .site-nav li {
  opacity: 1;
  transition: opacity 0.3s var(--ease);
}

/* gentle stagger, starting after the panel has expanded (~.4s) */
.nav-open .site-nav li:nth-child(1) {
  transition-delay: 0.35s;
}
.nav-open .site-nav li:nth-child(2) {
  transition-delay: 0.42s;
}
.nav-open .site-nav li:nth-child(3) {
  transition-delay: 0.49s;
}
.nav-open .site-nav li:nth-child(4) {
  transition-delay: 0.56s;
}
.nav-open .site-nav li:nth-child(5) {
  transition-delay: 0.63s;
}

.site-nav a {
  color: var(--black);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--white);
}

/* mobile nav toggle — burger animates to a cross; hidden from tablet up */
.nav-toggle {
  display: flex;
  position: absolute;
  top: 50%;
  right: 16px;
  z-index: 3;
  width: 44px;
  height: 44px;
  translate: 0 -50%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 7px;
}

.nav-toggle-bar {
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--green);
  transition:
    transform 0.3s var(--ease),
    opacity 0.2s;
}

.nav-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.nav-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* Footer
   ========================================================================== */

.site-footer {
  background: #000;
  border-top: 6px solid var(--green);
}

.footer-brands {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  padding-block: 1.4rem;
}

.brand-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  color: #cfcfcf;
  font-weight: 500;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.social-list {
  display: flex;
  gap: 0.8rem;
}

.social-list a {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--white);
  color: #000;
  font-size: 0.75rem;
  font-weight: 600;
  transition: background 0.2s;
}

.social-list a:hover {
  background: var(--green);
}

.footer-legal {
  border-top: 1px solid var(--grey-dark);
  padding-block: 1rem;
  font-size: 0.78rem;
  color: #8a8a8a;
}

.footer-legal .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2.5rem;
}

.footer-legal ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-legal a:hover {
  color: var(--white);
}

main.footer-wave {
  background-position: center bottom;
  background-repeat: repeat-x;
  padding-bottom: 100px;
  background-size: 150% auto;
}

main.footer-wave--gray {
  background-image: url(../assets/footer-bg-gray.png);
  background-color: white;
}

main.footer-wave--white {
  background-image: url(../assets/footer-bg-white.png);
  background-color: var(--green);
}

main.footer-wave--green {
  background-image: url(../assets/footer-bg-green.png);
}

/* CTA pill buttons — bar slides over left → right on hover
   ========================================================================== */

.cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-width: 240px;
  padding: 0.45em 0.5em 0.45em 1.8em;
  border-radius: 999px;
  overflow: hidden;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
}

/* the sliding bar */
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  transform: translateX(-101%);
  transition: transform 0.45s var(--ease);
}

.cta:hover::before,
.cta:focus-visible::before {
  transform: translateX(0);
}

.cta-label {
  position: relative;
  z-index: 1;
  transition: color 0.45s var(--ease);
}

/* arrow icon — black circle with an inset white keyline ring in every state;
   only the arrow colour changes (white → green when the bar slides over) */
.cta-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 2.3em;
  height: 2.3em;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  transition: color 0.45s var(--ease);
}

.cta-icon::after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1.5px solid var(--white);
  border-radius: 50%;
}

.cta:hover .cta-icon,
.cta:focus-visible .cta-icon {
  color: var(--green);
}

/* white pill, black bar (testimonials) */
.cta-white {
  background: var(--white);
  color: var(--black);
}

.cta-white::before {
  background: var(--black);
}

.cta-white:hover .cta-label {
  color: var(--white);
}

/* black pill, green bar (view gallery) */
.cta-black {
  background: var(--black);
  color: var(--white);
}

.cta-black::before {
  background: var(--green);
}

.cta-black:hover .cta-label {
  color: var(--black);
}

/* triangle + pause glyphs (shared with play buttons) */
.tri {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 0.55em solid currentColor;
  border-top: 0.35em solid transparent;
  border-bottom: 0.35em solid transparent;
}

.pause-bars {
  display: inline-block;
  width: 0.5em;
  height: 0.75em;
  border-left: 0.18em solid currentColor;
  border-right: 0.18em solid currentColor;
}

/* Play / pause overlay button (videos)
   ========================================================================== */

.play-toggle {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  color: var(--white);
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.25);
  transition: background 0.3s;
}

.play-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3em;
  width: 70px;
  height: 70px;
  border: 3px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  font-size: 0.85rem;
  font-style: normal;
  transition:
    background 0.3s,
    border-color 0.3s,
    color 0.3s;
}

.play-label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
}

/* hover state — circle fills green (shown on row 3 in the design) */
.media-frame:hover .play-icon,
.tile-video:hover .play-icon,
.play-toggle.is-playing .play-icon {
  background: var(--green);
  border-color: var(--green);
  color: var(--black);
}

/* Home — hero
   ========================================================================== */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 540px;
  padding-block: 4rem;
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.65);
  object-position: center;
}

/* hero sections are flex containers — keep the wrap full-width so titles align left */
.hero .wrap,
.page-hero .wrap {
  width: 100%;
}

.hero-title {
  position: relative;
  max-width: 560px;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
}

/* Home — intro / stats
   ========================================================================== */

.intro {
  padding-block: 3.5rem;
  font-size: 1.75rem;
}

.intro p {
  text-align: center;
  font-weight: 400;
}

.intro p + p {
  margin-top: 1em;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 0;
  padding-block: 3.5rem;
  padding-inline: 0;
}

.stat {
  padding-inline: 1.5rem;
  text-align: center;
}

.stat + .stat {
  border-left: 1px solid #3a3a3a;
}

/* third stat starts a new row on the 2-up mobile grid */
.stat:nth-child(3) {
  border-left: 0;
}

.stat-number {
  display: block;
  font-size: 3.4rem;
  font-weight: 600;
  line-height: 1.1;
}

.stat-label {
  display: block;
  margin-top: 0.4rem;
  color: var(--green);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Home — communities
   ========================================================================== */

.communities {
  display: grid;
  grid-template-columns: 1fr;
}

.communities-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.communities-copy {
  padding: 3rem 24px;
}

.communities-copy h2 {
  max-width: 460px;
  font-size: 2.4rem;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}

/* black pill, green keyline border, white label left, fingerprint icon right */
.badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4em;
  padding: 0.3em 0.35em 0.3em 1.4em;
  background: var(--black);
  border: 2px solid var(--green);
  border-radius: 999px;
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.badge-icon {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  background: url(../assets/finger-print.png) center / contain no-repeat;
}

/* Home — testimonials
   ========================================================================== */

.testimonials {
  display: grid;
  grid-template-columns: 1fr;
}

.testimonials-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 1.3rem;
  padding: 3rem 24px;
}

.testimonials-copy h2 {
  font-size: 2.4rem;
  margin-bottom: 0.8rem;
}

.testimonials-copy .cta {
  align-self: stretch;
}

.testimonials-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Home — Start. Learn. Play.
   ========================================================================== */

.media-section {
  position: relative;
  padding: 4.5rem 0 7rem;
}

.media-row {
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
  gap: 1.5rem;
  border-bottom: 2px solid var(--green);
}

.media-row + .media-row {
  margin-top: 3.5rem;
}

.media-frame {
  position: relative;
}

.media-frame img,
.media-frame video {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.media-caption {
  margin-bottom: 20px;
}

.media-caption h3 {
  font-weight: 300;
  font-size: 2.5rem;
}

.media-caption p {
  margin-top: 0.3rem;
  color: var(--green);
  font-size: 1.8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Home — gallery preview carousel
   ========================================================================== */

.gallery-preview {
  position: relative;
  padding: 4rem 0 4rem;
}

/* light grey panel with the faint waveform artwork flowing across it */
.carousel {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
  background-repeat: no-repeat, no-repeat;
  background-position:
    left center,
    right center;
  background-size:
    55% 100%,
    55% 100%;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  flex: 1;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

/* one-and-a-bit tiles on mobile; three across on larger screens (the rest scroll) */
.carousel-track li {
  position: relative;
  flex: 0 0 65vw;
  aspect-ratio: 4 / 5;
  cursor: pointer;
}

/* green keyline centred in the gutter between slides */
.carousel-track li:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: calc(-0.625rem - 1px); /* half the 1.25rem gap, minus half the line width */
  width: 2px;
  background: var(--green);
  z-index: 2;
}

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

/* "label" slide — photo under a green tint with a corner caption */
.carousel-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--green);
  opacity: 0.82;
}

.carousel-cta-label {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  padding-inline: 1.6rem;
  color: var(--white);
  font-weight: 300;
  font-size: 1.5rem;
  line-height: 1.15;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background-color: rgba(172, 200, 16, 0.8);
  opacity: 0;
  transition-property: opacity;
  transition-duration: 0.6s;
}

.carousel-cta-label:hover {
  opacity: 1;
}

.carousel-arrow {
  align-self: stretch;
  width: 50px;
  display: block;
  position: relative;
}

.carousel-arrow::before {
  width: 0;
  height: 0;
  border-top: 18px solid transparent;
  border-bottom: 18px solid transparent;
  transition: opacity 0.2s;
  border-left: 30px solid var(--green);
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  left: 50%;
}

.carousel-prev::before {
  border-right: 30px solid var(--green);
  border-left: none;
}

.carousel-arrow::after {
  height: 100%;
  width: 100%;
  display: block;
  content: "";
  background-color: #000;
  opacity: 0.1;
}

.carousel-arrow:hover {
  opacity: 0.65;
}

.carousel-prev {
  border-right: 2px solid var(--green);
}

.carousel-next {
  border-left: 2px solid var(--green);
}

.carousel-prev::after {
  border-top-left-radius: 70px;
  border-bottom-left-radius: 70px;
}

.carousel-next::after {
  border-top-right-radius: 70px;
  border-bottom-right-radius: 70px;
}

/* Sub-pages — hero banner
   ========================================================================== */

.page-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 430px;
  padding-block: 4rem;
}

.page-hero .hero-media img {
  max-width: 100%;
}

.page-hero h1 {
  position: relative;
  font-size: clamp(2.6rem, 6vw, 4rem);
  letter-spacing: 0.04em;
}

/* Purpose — alternating split sections
   ========================================================================== */

.split-section {
  padding-block: 4.5rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 2.5rem;
}

/* keep the image above the copy when the split stacks on mobile */
.split-reverse figure {
  order: -1;
}

.split h2 {
  font-size: 3.625rem;
  margin-bottom: 1.4rem;
}

.split img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.section-white .split h2,
.split h2.text-green {
  color: var(--green);
}

/* Partners
   ========================================================================== */

.partner {
  padding-top: 4.5rem;
}

.partner {
  border-bottom: 2px solid white;
}

.partner-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: top;
}

.partner-head img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.partner-name {
  color: var(--green);
  font-size: 3.5rem;
}

.partner-brand {
  display: block;
  object-fit: none !important;
  background-color: transparent;
}

.brand-marker {
  font-family: var(--font-scratch);
  font-weight: 400;
}

.partner-bio {
  margin-top: 1.5rem;
  color: var(--green);
}

.partner-quote {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: start;
  margin-top: 3.5rem;
}

.partner-quote img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.partner-quote blockquote {
  padding-left: 2.5rem;
  position: relative;
}

.partner-quote blockquote::before {
  content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 31.8 23.2"><path d="M11.1,0L0,23.2h11.5L16,0h-4.9ZM26.9,0l-11,23.2h11.5L31.8,0h-4.9Z" fill="%23acc816" /></svg>');
  width: 32px;
  height: 23px;
  display: block;
  position: absolute;
  left: 0;
  top: 0.4rem;
}

/* Artists
   ========================================================================== */

.artists-list {
  padding-block: 2rem;
}

.artist {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  padding-top: 3.5rem;
}

.artist p:last-child {
  margin-bottom: 1.5rem;
}

.artist {
  border-bottom: 2px solid rgba(0, 0, 0, 0.75);
}

.artist img {
  height: 100%;
  object-fit: contain;
  object-position: top;
}

.artist h2 {
  color: var(--white);
  font-size: 2.2rem;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 0.625rem;
}

.artist h2 strong {
  font-weight: 300;
  text-wrap: nowrap;
  line-height: 0.5;
}

.artist-loc {
  font-size: 0.5em;
  letter-spacing: 0.12em;
  vertical-align: 0.25em;
  color: var(--black);
  text-wrap: nowrap;
}

.artist blockquote {
  display: flex;
  gap: 1.2rem;
  margin-top: 1.5rem;
  color: var(--black);
  position: relative;
  padding-left: 2.5rem;
}

.artist blockquote::before {
  content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 31.8 23.2"><path d="M11.1,0L0,23.2h11.5L16,0h-4.9ZM26.9,0l-11,23.2h11.5L31.8,0h-4.9Z" fill="%23fff" /></svg>');
  width: 32px;
  height: 23px;
  display: block;
  position: absolute;
  left: 0;
  top: 0.4rem;
}

.artist .quote-mark {
  color: var(--black);
  margin-bottom: 0;
  line-height: 1;
}

/* Attendees — Q&A
   ========================================================================== */

.attendees-list {
  background: var(--white);
  color: var(--black);
  overflow-x: hidden; /* clip the green block where it bleeds off the right edge */
}

/* stack photo → name → Q&A; green block bleeds full-width behind the list */
.qa-person {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "photo"
    "name"
    "list";
  grid-template-rows: auto auto auto;
  column-gap: 3.5rem;
  padding-top: 4.5rem;
}

.qa-person::before {
  margin-left: -24px;
  margin-right: -24px;
}

.qa-person + .qa-person {
  border-top: 2px solid var(--green);
}

.qa-person figure {
  grid-area: photo;
  position: relative;
  z-index: 1;
  align-self: start;
  height: 100%;
  background-color: var(--green);
}

.qa-person figure img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.qa-person h2 {
  grid-area: name;
  position: relative;
  z-index: 1;
  color: var(--green);
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
  margin-top: 1rem;
}

.qa-list {
  grid-area: list;
  position: relative;
  z-index: 1;
  padding: 1.5rem 0 0.5rem;
}

.qa {
  display: flex;
  gap: 1.3rem;
  margin-bottom: 1.6rem;
}

.qa:first-child {
  margin-top: 0;
}

.qa-letter {
  color: var(--green);
  font-size: 3.125rem;
  font-weight: 300;
  line-height: 1.2;
}

.qa-letter--question {
  color: var(--black);
}

.qa-question p {
  font-weight: 300;
  color: var(--green);
  font-size: 1.75rem;
}

.qa-answer p {
  color: #2b2b2b;
}

/* Gallery page — accordion bars
   ========================================================================== */

.gallery-item + .gallery-item {
  border-bottom: 1px solid white;
}

.gallery-item + .gallery-item:last-child {
  border-bottom: none;
}

.gallery-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
  padding: 1.4rem 0;
  background: var(--black);
  color: var(--white);
  text-align: left;
  text-transform: uppercase;
  transition:
    background 0.25s,
    color 0.25s;
}

.gallery-bar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex: 1;
}

.bar-title {
  font-size: 1.5rem;
  letter-spacing: 0.08em;
}

.bar-title strong {
  color: var(--green);
  font-weight: 300;
  transition: color 0.25s;
  font-size: 2rem;
}

.bar-chevron {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  color: var(--green);
  transition:
    transform 0.35s var(--ease),
    color 0.25s;
}

.bar-chevron svg {
  display: block;
  width: 100%;
  height: 100%;
  rotate: -90deg;
}

/* rollover — bar fills green */
.gallery-bar:hover,
.gallery-bar:focus-visible {
  background: var(--green);
  color: var(--black);
}

.gallery-bar:hover .bar-title strong,
.gallery-bar:hover .bar-chevron,
.gallery-bar:focus-visible .bar-title strong,
.gallery-bar:focus-visible .bar-chevron {
  color: var(--black);
}

/* open — chevron rotates to point down */
.gallery-item.is-open .bar-chevron {
  transform: rotate(90deg);
}

/* expanding panel */
.gallery-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease);
}

.gallery-item.is-open .gallery-panel {
  grid-template-rows: 1fr;
}

.gallery-panel-inner {
  overflow: hidden;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
  padding-block: 3.5rem;
}

/* Gallery tiles — green zoom / dark play-pause overlays
   ========================================================================== */

.tile {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
}

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

.tile-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  opacity: 0;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  transition: opacity 0.3s;
}

.tile:hover .tile-overlay,
.tile:focus-visible .tile-overlay {
  opacity: 1;
}

.tile-photo .tile-overlay {
  background: rgba(184, 210, 52, 0.88);
  color: var(--white);
}

.tile-video .tile-overlay {
  background: rgba(0, 0, 0, 0.55);
  color: var(--white);
}

.overlay-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3em;
  width: 56px;
  height: 56px;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-size: 0.8rem;
  font-style: normal;
}

.overlay-icon svg {
  width: 22px;
  height: 22px;
}

/* Lightbox
   ========================================================================== */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.9);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

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

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  background: none;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--white);
}

/* Video modal — YouTube embed for the Start. Learn. Play. frames
   and the gallery page's video tiles */
[data-video] {
  cursor: pointer;
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.9);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

.video-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.video-modal-inner {
  width: min(90vw, 1100px);
  aspect-ratio: 16 / 9;
}

.video-embed,
.video-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Responsive
   ========================================================================== */

/* Tablet and up — restore the horizontal nav and multi-column rows */
@media (min-width: 768px) {
  p {
    font-size: 1.375rem;
    line-height: 1.3;
  }

  p.intro-p {
    font-size: 1.75rem;
    line-height: 1.3;
  }

  main.footer-wave {
    background-position: center bottom;
    background-repeat: repeat-x;
    padding-bottom: 200px;
  }

  .logo img {
    width: 234px;
  }

  .section-title {
    font-size: 3.5rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .communities {
    grid-template-columns: 1fr 1.4fr;
  }

  .testimonials {
    grid-template-columns: 1fr 1.1fr;
  }

  .partner-head {
    grid-template-columns: 300px 1fr;
  }

  .partner-quote {
    grid-template-columns: 1.2fr 1fr;
  }

  .artist {
    grid-template-columns: 260px 1fr;
  }

  .hero-media img {
    object-fit: contain;
  }

  .hero-media--cover img {
    object-fit: cover;
  }

  .wave-band {
    width: calc(50% - 170px);
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    padding-top: 0;
  }

  .site-nav ul {
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2.5rem;
    max-height: none;
    overflow: visible;
    padding: 24px 0.8rem; /* top padding clears the overhanging logo */
  }

  .carousel {
    gap: 1.5rem;
  }

  /* nav items are always visible once the burger is gone */
  .site-nav li {
    opacity: 1;
  }

  .site-nav a {
    font-size: 1rem;
    font-weight: 300;
  }

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

  .stat:nth-child(3) {
    border-left: 1px solid #3a3a3a;
  }

  .split {
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    padding-block: 2rem;
  }

  .media-row {
    grid-template-columns: 1.1fr 1fr;
    gap: 3rem;
  }

  .carousel-track li {
    flex: 0 0 calc((100% - 2.5rem) / 3);
  }

  .carousel-arrow {
    width: 77px;
  }

  .partner-name {
    font-size: 5rem;
  }

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

  .footer-brands {
    justify-content: space-between;
  }

  .footer-legal .wrap {
    justify-content: flex-start;
  }

  main.footer-wave {
  background-size: 1440px auto;
}

  /* photo spans both rows; name and list sit alongside it */
  .qa-person {
    grid-template-columns: 280px 1fr;
    grid-template-areas:
      "photo name"
      "photo list";
    grid-template-rows: auto 1fr;
  }

  .qa-person h2 {
    margin-top: 0rem;
  }
}

/* Desktop — widest grids and the side-by-side split / Q&A layouts */
@media (min-width: 961px) {
  .media-caption h3 {
    font-size: 3rem;
  }

  .media-caption p {
    font-size: 2.3rem;
  }

  .wrap {
    padding-inline: 0;
  }

  .split {
    padding-block: 0;
  }

  .qa-person::before {
    margin-left: 0;
    margin-right: 0;
  }

  .communities-copy {
    padding: 4.5rem 4rem;
  }

  .testimonials-copy {
    padding: 4rem;
  }

  .split-reverse figure {
    order: 0;
  }

  .artist h2 {
    font-size: 5rem;
  }
}
