:root {
  --navy: #061e4f;
  --pink: #f324db;
  --pink-soft: rgba(243, 36, 219, 0.86);
  --purple: #4a3055;
  --lavender: #d8d2fc;
  --blue: #4e4aff;
  --peach: #e8b89a;
  --ink: #111;
  --muted: #4a4a4a;
  --nav-active: #605e5e;
  --success: #05c8a1;
  --white: #fff;
  --header-h: 96px;
  --rail-w: 56px;
  --max: 800px;
  --hero-left: 80px;
  --hero-right: 64px;
  --photo-w: 400px;
  --photo-gutter: 56px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Raleway, "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

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

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--white);
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 28px 72px 28px 80px;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 40px;
  height: 32px;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  margin: 7px 0;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0;
}

.site-nav a {
  font-family: Anton, Impact, sans-serif;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--ink);
  text-transform: uppercase;
}

.site-nav a.is-active,
.site-nav a[aria-current="page"] {
  color: var(--nav-active);
}

.site-nav a:hover {
  color: var(--pink);
}

/* ---------- Side rail ---------- */

.side-rail {
  position: fixed;
  left: 0;
  top: 38%;
  z-index: 35;
  width: 52px;
  background: linear-gradient(180deg, #ff4ae8 0%, var(--pink) 55%, #d91bc4 100%);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 32px 0;
  min-height: 250px;
}

.side-rail a {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: Anton, Impact, sans-serif;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-decoration: none;
  color: var(--white);
}

.side-rail .rail-dash {
  width: 28px;
  height: 2px;
  background: var(--white);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 56px 0 28px;
}

.hero-navy {
  position: relative;
  margin: 0 var(--hero-right) 0 var(--hero-left);
  min-height: 700px;
  background: var(--navy);
  overflow: visible;
  display: flex;
  justify-content: center;
  padding: 0 72px 150px;
}

.hero-inner {
  display: grid;
  grid-template-columns: var(--photo-w) auto;
  column-gap: 72px;
  align-items: start;
  position: relative;
  z-index: 3;
  width: max-content;
  max-width: 100%;
}

.hero-navy::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 22px;
  background: var(--white);
  z-index: 4;
  pointer-events: none;
}

.hero-tear {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: none;
  height: 86px;
  object-fit: fill;
  z-index: 5;
  pointer-events: none;
}

.hero-bats {
  position: relative;
  width: var(--photo-w);
  height: 590px;
  transform: translateY(-56px);
  object-fit: cover;
  object-position: 40% 18%;
  z-index: 3;
}

.hero-copy {
  position: relative;
  z-index: 3;
  padding-top: 52px;
}

.hero-title {
  font-family: Oswald, Anton, sans-serif;
  font-weight: 500;
  font-size: clamp(52px, 6.2vw, 80px);
  line-height: 1.12;
  color: var(--pink);
  letter-spacing: 0;
}

.hero-tagline {
  margin-top: 44px;
  font-family: Oswald, Anton, sans-serif;
  font-weight: 400;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.34;
  letter-spacing: 0.06em;
  color: var(--white);
  transform: rotate(-14.3deg);
  transform-origin: left 40%;
  width: max-content;
  max-width: 100%;
}

.hero-social {
  position: absolute;
  right: 18px;
  top: 150px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 4;
}

.icon {
  width: 22px;
  height: 22px;
  display: block;
  fill: currentColor;
}

.hero-social a {
  color: #111;
}

.btn-video,
.btn-listen {
  display: inline-block;
  background: #000;
  color: var(--white);
  text-decoration: none;
  font-family: Raleway, sans-serif;
}

.btn-video {
  position: absolute;
  left: 50%;
  bottom: 92px;
  transform: translateX(-50%);
  z-index: 6;
  font-size: 22px;
  font-style: italic;
  padding: 8px 16px;
  white-space: nowrap;
}

.btn-listen {
  position: absolute;
  left: calc(var(--hero-left) + (100% - var(--hero-left) - var(--hero-right)) / 2);
  bottom: 40px;
  transform: translateX(-50%) rotate(-6.7deg);
  z-index: 6;
  display: block;
  width: fit-content;
  font-size: 16px;
  padding: 10px 16px;
  white-space: nowrap;
}

.btn-video:hover,
.btn-listen:hover {
  background: var(--pink);
}

/* ---------- Content blocks ---------- */

.blocks {
  padding: 72px 40px 80px;
  max-width: var(--max);
  margin: 0 auto;
}

.block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  column-gap: 48px;
  align-items: start;
  position: relative;
  margin-bottom: 88px;
}

.block h2,
.lead-title {
  font-family: Anton, Impact, sans-serif;
  font-size: 34px;
  line-height: 1.15;
  font-weight: 400;
  max-width: 9.2em;
}

.block p,
.body-copy {
  font-family: Raleway, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  color: #5a5a5a;
  max-width: 34ch;
}

.img-card {
  position: relative;
  width: 100%;
  max-width: 360px;
}

.img-card img {
  width: 100%;
  height: 455px;
  object-fit: cover;
}

.img-card.ear img {
  object-position: 50% 38%;
}

.img-card.flower img {
  object-position: 70% 10%;
}

.img-card.owl img {
  object-position: 50% 18%;
}

.label {
  position: absolute;
  z-index: 2;
  top: -22px;
  left: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  font-family: Anton, Impact, sans-serif;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--white);
  line-height: 1.15;
  text-align: center;
}

.label::before {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
  flex-shrink: 0;
}

.label-lavender {
  background: var(--lavender);
  color: var(--ink);
  width: 168px;
  white-space: normal;
  align-items: flex-start;
  padding-top: 16px;
}

.label-text {
  display: block;
  text-align: center;
  line-height: 1.2;
}

.label-purple {
  background: var(--purple);
}

.label-pink {
  background: var(--pink-soft);
}

.block-repolitiser .img-card {
  justify-self: end;
}

.block-repolitiser .label {
  left: auto;
  right: 36px;
  top: -36px;
  white-space: normal;
  width: 148px;
  justify-content: center;
  flex-direction: row;
}

.scribble,
.leaf {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.img-card .scribble {
  right: 6%;
  top: 2%;
  width: 100px;
  z-index: 2;
}

.leaf {
  right: 8%;
  bottom: -70px;
  width: 170px;
}

.block-explorons,
.block-educ {
  grid-template-columns: 360px minmax(0, 1fr);
}

.block-explorons .body-copy,
.block-educ .body-copy {
  padding-top: 72px;
}

/* ---------- About ---------- */

.about {
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px 24px 48px;
}

.about h2 {
  font-family: Anton, Impact, sans-serif;
  font-size: 34px;
  letter-spacing: 0.18em;
  text-align: center;
  margin-bottom: 28px;
}

.bio {
  font-family: Raleway, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 22px;
}

.bio .who {
  font-size: 28px;
  font-weight: 400;
}

.bio .juliette {
  color: var(--pink);
}

.bio .caroline {
  color: var(--navy);
}

.contact-box {
  display: block;
  width: fit-content;
  margin: 36px auto 0;
  border: 3px solid var(--ink);
  padding: 14px 36px;
  font-family: Anton, Impact, sans-serif;
  font-size: 16px;
  letter-spacing: 0.42em;
  text-decoration: none;
}

.contact-box:hover {
  background: var(--pink);
  border-color: var(--pink);
  color: var(--white);
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 48px 24px 28px;
  max-width: var(--max);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.footer-contacts {
  font-family: Anton, Impact, sans-serif;
  font-size: 15px;
  line-height: 1.55;
}

.footer-contacts a {
  text-decoration: none;
}

.footer-contacts a:hover {
  color: var(--pink);
}

.footer-contacts p + p {
  margin-top: 18px;
}

.newsletter h3 {
  font-family: Anton, Impact, sans-serif;
  font-size: 15px;
  letter-spacing: 0.18em;
  margin-bottom: 12px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.newsletter-form input {
  border: 2px solid var(--ink);
  padding: 12px 14px;
  min-width: 220px;
  font-family: Raleway, sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.newsletter-form input:focus {
  outline: 2px solid var(--pink);
  border-color: var(--pink);
}

.newsletter-form button {
  background: #000;
  color: var(--white);
  border: 0;
  padding: 12px 22px;
  font-family: "Barlow Condensed", Oswald, sans-serif;
  font-size: 18px;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.newsletter-form button:hover {
  background: var(--pink);
}

.newsletter-thanks {
  display: none;
  margin-top: 10px;
  color: var(--success);
  font-size: 16px;
}

.newsletter.is-sent .newsletter-thanks {
  display: block;
}

.newsletter.is-sent .newsletter-form {
  display: none;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 48px;
}

.footer-social a {
  color: #111;
}

.footer-note {
  margin-top: 36px;
  font-family: Anton, Impact, sans-serif;
  font-size: 12px;
  color: #888;
}

/* ---------- Stages ---------- */

.quote-hero {
  background: var(--navy);
  color: var(--white);
  padding: 48px 24px 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.quote-hero blockquote {
  margin: 0;
  max-width: 640px;
  font-family: Raleway, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  font-style: italic;
  overflow-wrap: break-word;
}

.quote-hero cite {
  display: block;
  max-width: 640px;
  width: 100%;
  margin-top: 20px;
  font-family: "Barlow Condensed", Oswald, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
}

.events {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px 48px;
}

.event {
  display: grid;
  grid-template-columns: 280px 1fr;
  align-items: stretch;
}

.event-media img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

.event-media.octopus img {
  object-position: 20% 40%;
}

.event-media.crow img {
  object-position: 50% 20%;
}

.event-media.owl-stage img {
  object-position: 50% 20%;
}

.event-body {
  padding: 36px 32px 36px 28px;
}

.event-date {
  font-family: Anton, Impact, sans-serif;
  font-size: 20px;
  margin-bottom: 6px;
}

.event-body h2 {
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.05;
  margin-bottom: 20px;
  font-weight: 400;
}

.event-body p {
  font-family: "Barlow Condensed", Oswald, sans-serif;
  font-size: 17px;
  line-height: 1.45;
  max-width: none;
  margin-bottom: 12px;
}

.event-body .highlight {
  font-size: 32px;
  line-height: 1.05;
}

.event-meta {
  font-family: Raleway, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  margin-top: 18px;
}

.event-meta a {
  color: var(--ink);
}

.btn-book {
  display: inline-block;
  margin-top: 18px;
  background: #000;
  color: var(--white);
  text-decoration: none;
  font-family: Raleway, sans-serif;
  font-size: 16px;
  padding: 12px 22px;
}

.btn-book:hover {
  background: var(--pink);
}

.program {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 80px 80px 96px;
}

.program h2 {
  font-family: Anton, Impact, sans-serif;
  font-size: 38px;
  line-height: 1.1;
  font-weight: 400;
}

.program h3 {
  font-family: "Barlow Condensed", Oswald, sans-serif;
  font-size: 28px;
  font-weight: 500;
  margin: 22px 0 8px;
}

.program p,
.program li {
  font-family: Raleway, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

.program ul {
  margin: 0 0 8px;
  padding-left: 22px;
}

.program .note {
  margin-top: 28px;
}

@media (max-width: 1200px) {
  :root {
    --hero-left: 64px;
    --hero-right: 48px;
    --photo-w: 340px;
    --photo-gutter: 40px;
  }

  .hero-title {
    font-size: 60px;
  }

  .hero-tagline {
    font-size: 32px;
  }
}

/* ---------- Mobile ---------- */

@media (max-width: 900px) {
  .side-rail {
    display: none;
  }

  .site-header {
    justify-content: flex-end;
    padding: 16px 20px;
  }

  .nav-toggle {
    display: block;
    z-index: 50;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    background: var(--navy);
    display: none;
    align-items: center;
    justify-content: center;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 28px;
    text-align: center;
  }

  .site-nav a {
    color: var(--white);
    font-size: 22px;
  }

  .hero {
    padding-top: 0;
  }

  .hero-navy {
    margin: 0;
    display: block;
    overflow: hidden;
    padding: 0 24px 140px;
    min-height: 0;
  }

  .hero-inner {
    display: block;
    width: 100%;
  }

  .hero-bats {
    width: calc(100% + 48px);
    max-width: none;
    margin: 0 -24px 28px;
    height: 340px;
    transform: none;
  }

  .hero-copy {
    padding-top: 0;
  }

  .hero-title {
    font-size: 48px;
  }

  .hero-tagline {
    transform: none;
    width: auto;
    max-width: none;
    margin-top: 24px;
    font-size: 28px;
    letter-spacing: 0.04em;
    line-height: 1.28;
  }

  .hero-social {
    display: none;
  }

  .btn-video {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    margin-top: 28px;
    white-space: normal;
  }

  .btn-listen {
    left: auto;
    margin: 20px 24px 0;
    transform: none;
  }

  .blocks,
  .about,
  .site-footer,
  .program,
  .quote-hero {
    padding-left: 24px;
    padding-right: 24px;
  }

  .block,
  .block-explorons,
  .block-educ,
  .event,
  .program,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .img-card,
  .block-repolitiser .img-card {
    width: 100%;
    justify-self: stretch;
  }

  .img-card img,
  .event-media img {
    height: 320px;
    min-height: 0;
  }

  .event-body {
    padding: 28px 24px 40px;
  }

  .scribble,
  .leaf {
    display: none;
  }
}
