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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

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

picture {
  display: block;
}

a {
  color: inherit;
}

ul, ol {
  list-style: none;
  padding-left: 1.5em;
}

ul > li::before {
  content: '◇';
  display: inline-block;
  width: 1.5em;
  margin-left: -1.5em;
  color: var(--text);
  font-size: 0.6em;
  vertical-align: middle;
}

.unstyled-list {
  list-style: none;
  padding-left: 0;

  & > li::before {
    content: none;
  }
}

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

/* =============================================
   Custom Properties
   ============================================= */
:root {
  --bg: #0d0a0a;
  --primary: #c40a01;
  --border: #565454;
  --text: #ffffff;
  --secondary: color-mix(in srgb, var(--text) 80%, var(--bg));
  --tertiary: color-mix(in srgb, var(--text) 65%, var(--bg));
  --popover: #332e2e;
  --text-dark: #1c1a1b;
  --container-width: 1310px;
  --container-padding: 16px;

  --font-body: adobe-caslon-pro, Georgia, serif;
  --font-heading: big-caslon-fb, Georgia, serif;
  --font-pronunciation: 'EB Garamond', Georgia, serif;

  --primary-font-size: 21px/26px;
  --secondary-font-size: 18px/22px;

  @media (min-width: 800px) {
    --primary-font-size: 22px/30px;
    --secondary-font-size: 19px/24px;
  }
}

/* =============================================
   Typography
   ============================================= */
body {
  background-color: var(--bg);
  color: var(--text);
  font: var(--primary-font-size) var(--font-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h2, .h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 44px;
  line-height: 1;

  @media (min-width: 800px) {
    font-size: 80px;
  }
}

h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 30px;
  line-height: 1;

  @media (min-width: 800px) {
    font-size: 40px;
  }
}

.label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 19px;
  line-height: 23px;
  font-variant: small-caps;
  text-transform: lowercase;
}

.pronunciation {
  font-family: var(--font-pronunciation);
  font-style: italic;
  font-size: 29px;
  line-height: 28px;
  color: var(--tertiary);
  letter-spacing: -0.29px;
}

em {
  font-style: italic;
}

p + p {
  margin-top: 16px;
}

/* =============================================
   Layout
   ============================================= */
.container {
  max-width: calc(var(--container-width) + var(--container-padding) * 2);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  min-height: 100vh;
  padding: 60px 0;
  position: relative;
  overflow: hidden;

  @media (min-width: 800px) {
    padding: 100px 0;
  }
}

.main--secondary {
  padding-top: 20px;

  @media (min-width: 800px) {
    padding-top: 70px;
  }
}

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

.sr-only--focusable:focus {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 10000;
  width: auto;
  height: auto;
  margin: 0;
  padding: 12px 20px;
  overflow: visible;
  clip: auto;
  white-space: normal;
  background: var(--bg);
  color: var(--text);
  border: 2px solid var(--primary);
  font: var(--secondary-font-size) var(--font-body);
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* =============================================
   Reveal Animation
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   Decorative Elements
   ============================================= */
.heading-underline {
  display: block;
  width: 100%;
  height: 14px;
  margin-top: 2px;
}

.underlined {
  position: relative;
  white-space: nowrap;

  .heading-underline {
    position: absolute;
    left: 0;
    bottom: -11px;
    width: 100%;
    height: 39px;
    margin: 0;
    z-index: -1;

    @media (min-width: 800px) {
      height: 39px;
      bottom: -6px;
    }
  }

  .heading-underline--long {
    position: absolute;
    left: 20px;
    bottom: -8px;
    width: calc(90% - 40px);
    height: auto;
    margin: 0;
    z-index: -1;

    @media (min-width: 800px) {
      width: auto;
      height: 50px;
      left: 86px;
      bottom: -6px;
    }

    @media (min-width: 1000px) {
      height: 61px;
    }
  }
}

hr, .hr {
  border: none;
  display: block;
  height: 1px;
  background: var(--border);
  margin-inline: 8px;
}

.diamond-left,
.diamond-right,
.diamond-both {
  position: relative;
}

h2 + .hr,
.h2 + .hr,
h3 + .hr {
  margin-top: 12px;
  margin-bottom: 24px;
}

.diamond-left::before,
.diamond-right::after,
.diamond-both::before,
.diamond-both::after {
  content: '';
  position: absolute;
  width: 11px;
  height: 11px;
  top: 50%;
  border: 1px solid var(--border);
  background: var(--bg);
  transform: translate(-50%, -50%) rotate(45deg);
}

.diamond-left::before,
.diamond-both::before {
  left: 0;
}

.diamond-right::after,
.diamond-both::after {
  right: 0;
  transform: translate(50%, -50%) rotate(45deg);
}

.star-bg {
  position: absolute;
  height: 150vh;
  width: 150vh;
  inset: 0;
  left: calc(50vw - 75vh);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  mask-image: radial-gradient(circle, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle, black 0%, transparent 70%);
  opacity: 0.5;
  pointer-events: none;

  @media (dynamic-range: high) {
    opacity: 0.3;
  }
}

.star-bg__svg {}

.ring {
  will-change: transform;
}

/* =============================================
   Buttons
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.64px;
  padding: 14px 20px 10px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.15s ease-out;
}

.btn--primary {
  color: color-mix(in srgb, var(--text) 90%, transparent);
  background: var(--primary);

  &:hover {
    color: var(--text);
    background-color: color-mix(in srgb, var(--primary) 95%, white);
  }
}

.btn--outline {
  color: color-mix(in srgb, var(--text) 90%, transparent);
  background: color-mix(in srgb, var(--bg) 50%, transparent);
  border: 2px solid var(--primary);

  &:hover {
    color: var(--text);
    background: color-mix(in srgb, var(--bg) 70%, transparent);
    border-color: color-mix(in srgb, var(--primary) 95%, white);
  }
}

.btn--full {
  width: 100%;
}

/* =============================================
   Float-Label Textbox
   ============================================= */
.float-field {
  position: relative;
  flex: 1;
}

.float-field input {
  width: 100%;
  height: 54px;
  padding: 16px 12px 0px;
  font: var(--secondary-font-size) var(--font-body);
  color: var(--text-dark);
  background: white;
  border: none;
  border-radius: 1px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);

  &::placeholder {
    color: transparent;
    font: var(--secondary-font-size) var(--font-body);
  }

  &:focus-visible {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25), 0 0 0 2px var(--primary);
    outline: 2px solid transparent;
    outline-offset: 2px;
  }
}

.float-field label {
  position: absolute;
  left: 12px;
  top: 18px;
  font: var(--secondary-font-size) var(--font-body);
  color: var(--text-dark);
  opacity: 0.5;
  pointer-events: none;
  transition: all 0.2s ease;
  transform-origin: left top;
}

.float-field input:focus + label,
.float-field input:not(:placeholder-shown) + label {
  top: 4px;
  transform: translateY(0);
  font-size: 12px;
  opacity: 0.7;
}

/* =============================================
   Header
   ============================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 50px;
  background: linear-gradient(to bottom,
      color-mix(in srgb, var(--bg) 100%, transparent), 
      color-mix(in srgb, var(--bg) 0%, transparent));
  z-index: 100;

  @media (min-width: 800px) {
    height: 62px;
  }
}

.site-header__inner {
  display: flex;
  align-items: center;
  height: 100%;
  max-width: calc(1310px + 32px);
  padding: 0 16px;
  margin: 0 auto;
  position: relative;

  @media (min-width: 800px) {
    justify-content: space-between;
  }
}

.site-header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.site-header__logomark {
  height: 40px;
  width: auto;

  @media (min-width: 800px) {
    height: 50px;
  }
}

.site-header__brand {
  font-size: 21px;
  white-space: nowrap;
}

.site-header__hamburger {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;

  @media (min-width: 800px) {
    display: none;
  }
}

.hamburger-line {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 1px;
  margin-left: -10px;
  margin-top: 0px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger-top {
  transform: translateY(-6px);
}

.hamburger-bottom {
  transform: translateY(6px);
}

.site-header__hamburger.is-open .hamburger-top {
  transform: rotate(45deg);
}

.site-header__hamburger.is-open .hamburger-middle {
  opacity: 0;
}

.site-header__hamburger.is-open .hamburger-bottom {
  transform: rotate(-45deg);
}

.site-header__nav {
  display: none;
  position: fixed;
  top: 50px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg);
  z-index: 200;
  padding: 28px 0;
  flex-direction: column;

  @media (min-width: 800px) {
    display: flex;
    position: static;
    flex-direction: row;
    padding: 0;
    background: none;
    align-items: stretch;
    height: 100%;
  }
}

.site-header.is-open {
  background: var(--bg);
}

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

.site-header__nav a {
  font-family: var(--font-body);
  font-size: 24px;
  text-decoration: none;
  color: var(--text);
  padding: 12px 16px;
  position: relative;

  @media (min-width: 800px) {
    font-size: 18px;
    padding: 0 16px;
    display: flex;
    align-items: center;
  }
}

.site-header__nav a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(to right, var(--text) calc(50% - 3px), transparent calc(50% - 3px), transparent calc(50% + 3px), var(--text) calc(50% + 3px));
  transform: translateX(-50%);
  transition: width 0.2s ease-out;
}

.site-header__nav a::before {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  border: 1px solid var(--text);
  transform: translate(-50%, 50%) rotate(45deg);
  opacity: 0;
  transition-delay: 0.2s;
  bottom: 0;
  left: 50%;

  @media (min-width: 800px) {
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%) rotate(45deg);
  }
}

.site-header__nav a:hover::after {
  width: 100%;
}

.site-header__nav a:hover::before {
  opacity: 1;
  transition-delay: 0s;
}

@media (max-width: 799px) {
  .site-header__nav a::after {
    left: 6px;
    bottom: auto;
    right: auto;
    top: 50%;
    width: 1px;
    height: 0;
    background: linear-gradient(to bottom, var(--text) calc(50% - 4px), transparent calc(50% - 4px), transparent calc(50% + 4px), var(--text) calc(50% + 4px));
    transform: translateY(-50%);
    transition: height 0.2s ease-out;
  }

  .site-header__nav a::before {
    left: 6px;
    bottom: auto;
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .site-header__nav a:hover::after {
    left: 5px;
    width: 1px;
    height: 100%;
  }
}

/* =============================================
   Footer
   ============================================= */
.site-footer {
  position: relative;
  overflow: hidden;
}

.site-footer__star {
  display: none;

  @media (min-width: 800px) {
    display: block;
    position: absolute;
    left: calc(50% + 250px);
    top: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: auto;
    pointer-events: none;
    mask-image: radial-gradient(circle, black 0%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle, black 0%, transparent 80%);
    opacity: 0.6;

    @media (dynamic-range: high) {
      opacity: 0.3;
    }
  }
}

.site-footer__inner {
  position: relative;
  max-width: 1310px;
  margin: 0 auto;
  padding: 16px;
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
  text-decoration: none;
  color: var(--text);
}

.site-footer__logomark {
  height: 70px;
  width: auto;

  @media (min-width: 800px) {
    height: 88px;
  }
}

.site-footer__brandname {
  font-size: 28px;
  white-space: nowrap;

  @media (min-width: 800px) {
    font-size: 35px;
  }
}

.site-footer__columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;

  @media (min-width: 800px) {
    max-width: 50%;
    gap: 40px;
  }
}

.site-footer__signup-wrapper {
  grid-column: 1 / -1;
}

.site-footer__col-title {
  color: var(--tertiary);
  margin-bottom: 12px;
}

.site-footer__links {}

.site-footer__links a {
  display: block;
  font-size: 19px;
  line-height: 26px;
  text-decoration: none;
  padding: 5px 0;

  &:hover {
    text-decoration: underline;
  }
}

a.site-footer__social-link {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-footer__social-link img {
  width: 24px;
  height: 24px;
}

.site-footer__signup-label {
  margin-bottom: 8px;
  color: var(--tertiary);
}

.site-footer__signup {
  display: flex;
  max-width: 400px;
}

.site-footer__signup .float-field {
  flex: 1;
}

.site-footer__signup .float-field input {
  border-radius: 1px 0 0 1px;
}

/* =============================================
   Hero Section
   ============================================= */
.section-hero {
  --hero-btns-height: 140px;

  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 0;
  overflow: visible;

  @media (min-width: 600px) {
    align-items: start;
  }
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: calc(100% - var(--hero-btns-height));
  object-fit: cover;
  z-index: 0;

  @media (min-width: 600px) {
    height: 100vh;
  }
}

.hero__fg {
  display: none;

  @media (min-width: 1000px) {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100vh;        /* match .hero__bg desktop height exactly */
    object-fit: cover;    /* match .hero__bg so the dancer overlays the bg dancer */
    z-index: 3;           /* above .hero__content (z-index 2) → dancer over text */
    pointer-events: none; /* clicks pass through to the CTA buttons */
  }
}

.hero__content {
  position: relative;
  /* No z-index here: keeping this out of its own stacking context lets the
     wordmark and the CTA straddle the .hero__fg dancer (z-index 3) — title
     below it, buttons above it. */
  padding: 0 16px 16px;
  width: 100%;

  @media (min-width: 600px) {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
    padding-block: 60px;
  }
}

.hero__title {
  position: relative;
  z-index: 2;           /* above .hero__bg (0), below .hero__fg (3): dancer over the wordmark */
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;

  @media (min-width: 600px) and (min-height: 500px) {
    height: 35vh;
    justify-content: flex-end;
  }
}

.hero__flamenco {
  width: 100%;
  height: auto;

  @media (min-width: 1000px) {
    width: auto;
    max-height: 180px;
  }

  @media (min-width: 1200px) {
    max-height: 220px;
  }
}

.hero__pure {
  width: 50.5%;
  height: auto;

  @media (min-width: 1000px) {
    width: auto;
    max-height: 180px;
  }

  @media (min-width: 1200px) {
    max-height: 220px;
  }
}

.hero__cta {
  position: relative;
  z-index: 4;           /* above .hero__fg (3): buttons render in front of the dancer */
  display: flex;
  flex-direction: column;
  gap: 12px;

  @media (min-width: 600px) {
    flex-direction: row;
    justify-content: center;
    gap: 16px;
  }
}

.hero__cta .btn {
  @media (min-width: 1000px) {
    width: 320px;
  }
}

/* =============================================
   Big Idea Section
   ============================================= */
.section-big-idea {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 150vh;
}

.big-idea__text {
  font-size: 24px;
  line-height: 30px;
  max-width: 650px;
  margin: 0 auto;
  position: relative;
  z-index: 1;

  @media (min-width: 800px) {
    font-size: 32px;
    line-height: 45px;
  }
}

/* =============================================
   What is Flamenco Section
   ============================================= */
.section-what-is {
  position: relative;
  min-height: 120vh;

  &::before,
  &::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 44px;
    background: url('/assets/mask.png');
    z-index: 1;
  }

  &::before {
    top: 0;
  }

  &::after {
    bottom: 0;
    transform: scaleY(-1);
  }
}

.what-is__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.what-is__content {
  position: relative;
  margin-top: 10vh;
  z-index: 1;

  @media (min-width: 800px) {
    margin-top: 50vh;
  }
}

.what-is__content h2 {
  margin-bottom: 16px;
}

.what-is__text {
  max-width: 650px;

  @media (min-width: 800px) {
    padding: 40px 30px 0 90px;
  }
}

/* =============================================
   Who is Oleaje Section
   ============================================= */
.section-who-is {
  padding-top: 150px;

  @media (min-width: 1000px) {
    padding-block: 300px;
  }
}

.section-who-is h2 {
  margin-bottom: 8px;

  @media (min-width: 1000px) {
    margin-left: 50%;
  }
}

.section-who-is .pronunciation {
  margin-bottom: 40px;

  @media (min-width: 1000px) {
    margin-left: 58%;
    margin-top: 24px;
    font-size: 33px;
  }
}

.who-is__text {
  max-width: 650px;
  margin-bottom: 40px;

  @media (min-width: 800px) {
    margin-bottom: 20px;
  }

  @media (min-width: 1000px) {
    margin-left: 58%;
    max-width: 540px;
  }
}

.who-is__team {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;

  @media (min-width: 600px) {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  @media (min-width: 1000px) {
    grid-template-columns: minmax(0, 430px) minmax(0, 430px) minmax(0, 430px);
    gap: 10px;
  }
}

.team-card {
  display: flex;
  flex-direction: column;

  @media (min-width: 1000px) {
    &:nth-child(2) {
      margin-top: 140px;
    }
    &:nth-child(3) {
      margin-top: 280px;
    }
  }
}

.team-card picture,
.team-card .demo-reel {
  aspect-ratio: 4 / 3;
  overflow: hidden;

  @media (min-width: 1000px) {
    aspect-ratio: 430 / 312;
  }
}

.team-card__photo,
.demo-reel__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
}

.team-card__name {
  font-size: 30px;
  order: -1;
  text-align: right;

  @media (min-width: 1000px) {
    order: unset;
    text-align: left;
    font-size: 40px;
    margin-top: 12px;
  }
}

.team-card__role {
  font-style: italic;
  color: var(--secondary);
  font-size: 21px;
  order: -1;
  text-align: right;

  @media (min-width: 1000px) {
    order: unset;
    text-align: left;
    font-size: 22px;
  }
}

.demo-reel {
  position: relative;
  cursor: pointer;
  padding: 0;
  width: 100%;
  box-shadow: inset 0 0 0 12px rgba(255, 255, 255, 0.25);
  overflow: hidden;
  transition: box-shadow 0.2s ease;

  &:hover {
    box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.5);
  }

  &:hover .demo-reel__thumb {
    opacity: 0.85;
  }
}

.demo-reel__thumb {
  opacity: 0.7;
  transition: opacity 0.2s ease;

  @media (min-width: 1000px) {
  }
}

.demo-reel__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));

  @media (min-width: 1000px) {
    width: 96px;
    height: 96px;
  }
}

.team-card__label {
  font-weight: 600;
  font-size: 19px;
  line-height: 23px;
  text-align: center;
  margin-top: 8px;

  @media (min-width: 1000px) {
    text-align: left;
    font-style: italic;
    font-weight: 400;
    color: var(--secondary);
  }
}

/* =============================================
   Social Proof Section
   ============================================= */
.section-social-proof {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 150vh;
}

.section-social-proof .container {
  position: relative;
  z-index: 1;
}

.quote {
  text-align: center;
  margin-bottom: 50px;

  &:last-child {
    margin-bottom: 0;
  }

  @media (min-width: 800px) {
  }
}

.quote__mark {
  width: 25px;
  height: 19px;
  margin: 0 auto 8px;

  @media (min-width: 800px) {
    display: none;
  }
}

.quote__text {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 30px;
  line-height: 1.3;
  margin-bottom: 8px;

  @media (min-width: 800px) {
    margin-bottom: 0;
    font-size: 48px;

    &:before {
      content: "“";
    }
  }
}

.quote__cite {
  display: block;
  font-style: normal;
  font-size: 19px;
  color: var(--secondary);
}

/* =============================================
   Upcoming Shows Section
   ============================================= */
.section-shows {
  @media (min-width: 800px) {
    padding-block: 200px;
  }
}

.section-shows h2 {
  margin-bottom: 30px;

  @media (min-width: 800px) {
    margin-bottom: 50px;
  }
}

.timeline {
  --date-width: 90px;
  --marker-width: 13px;
  --gap: 8px;
  --side-margin: max(var(--container-padding), 50vw - var(--container-width) / 2 - var(--container-padding));
  --line-left: calc(var(--container-padding) + var(--date-width) + var(--gap) + var(--marker-width)/2);

  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);

  @media (min-width: 800px) {
    --marker-width: 16px;
    --gap: 24px;
    --thumb-width: 120px;
    --line-left: calc(var(--side-margin) + var(--marker-width)/2);
  }
}

.timeline::before,
.timeline::after {
  content: '';
  position: absolute;
  left: var(--line-left);
  width: 1px;
  height: 50px;
  pointer-events: none;
}

.timeline::before {
  bottom: 100%;
  background: linear-gradient(to bottom, transparent, var(--border));
}

.timeline::after {
  top: 100%;
  background: linear-gradient(to bottom, var(--border), transparent);
}

.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: var(--date-width) var(--marker-width) 1fr;
  gap: 0 var(--gap);
  padding: 20px var(--container-padding);
  text-decoration: none;
  color: inherit;
  transition: background .5s ease-out;

  &:hover {
    background: rgba(255, 255, 255, 0.1);
    transition-duration: 0.15s;

    .timeline__marker {
      background: color-mix(in srgb, var(--bg), white 10%);
      transition-duration: 0.15s;
    }
  }

  @media (min-width: 800px) {
    grid-template-columns: var(--marker-width) var(--date-width) var(--thumb-width) 1fr;
    grid-template-rows: auto 1fr;
    padding: 25px var(--side-margin);
  }
}

.timeline__item::before {
  content: '';
  position: absolute;
  left: calc(var(--container-padding) + var(--date-width) + var(--gap) + var(--marker-width)/2);
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border);

  @media (min-width: 800px) {
    left: calc(var(--side-margin) + var(--marker-width)/2);
  }
}

.timeline__marker {
  grid-column: 2;
  grid-row: 2;
  position: relative;
  top: 4px;
  width: var(--marker-width);
  height: var(--marker-width);
  background: var(--bg);
  border: 1px solid var(--border);
  transform: rotate(45deg);
  transition: background 0.15s ease-out;

  @media (min-width: 800px) {
    grid-column: 1;
    grid-row: 1 / -1;
    top: 14px;
  }
}

.timeline__date {
  grid-column: 1;
  grid-row: 2;
  text-align: right;

  @media (min-width: 800px) {
    grid-column: 2;
    grid-row: 1 / -1;
  }
}

.timeline__title {
  grid-column: 3;
  grid-row: 1;
  margin-bottom: 8px;

  @media (min-width: 800px) {
    grid-column: 4;
    grid-row: 1;
  }
}

.timeline__body {
  grid-column: 3;
  grid-row: 2;

  @media (min-width: 800px) {
    grid-column: 4;
    grid-row: 2;
  }
}

.timeline__desc {
  font-style: italic;
  color: var(--secondary);

  @media (min-width: 800px) {
  }
}

.timeline__venue {
  margin-top: 0;
  color: var(--secondary);
}

.timeline__thumb {
  display: none;

  @media (min-width: 800px) {
    display: block;
    grid-column: 3;
    grid-row: 1 / -1;
    width: var(--thumb-width);
    height: var(--thumb-width);
    object-fit: cover;
  }
}

/* =============================================
   Get Updates Section
   ============================================= */
.section-updates {
  position: relative;
  min-height: auto;
  background-image: url('/assets/colored-tiles-bg.png');
  background-size: 510px;
  background-repeat: repeat;
  padding-block: 150px 170px;

  @media (min-width: 800px) {
    padding-block: 250px 280px;
  }

  &::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--bg);
    opacity: 0.85;
  }

  & > * {
    position: relative;
  }
}

.section-updates .container {
  max-width: 500px;
}

.section-updates h2 {
  margin-bottom: 12px;

  @media (min-width: 800px) {
    text-align: center;
  }
}

.section-updates p {
  margin-bottom: 16px;

  @media (min-width: 800px) {
    text-align: center;
  }
}

.signup-form .float-field {
  margin-bottom: 12px;
}


/* =============================================
   Hire Us Section
   ============================================= */
.section-hire-us {
  padding-block: 150px;

  @media (min-width: 800px) {
    padding-block: 300px 200px;
  }
}

.section-hire-us h2 {
  margin-bottom: 24px;
  text-align: center;

  @media (min-width: 800px) {
    margin-bottom: 40px;
  }
}

.hire-us__logos {
  text-align: center;
  margin-bottom: 40px;

  @media (min-width: 800px) {
    margin-bottom: 60px;
    position: relative;
    padding: 20px 0;
  }
}

.hire-us__label-line {
  display: flex;
  align-items: center;
  gap: 16px;

  & .hr {
    flex: 1;
  }

  & .label {
    color: var(--tertiary);
    flex-shrink: 0;
  }
}

.client-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-block: 35px 40px;

  @media (min-width: 800px) {
    gap: 90px;
  }
}

.client-logos img {
  height: calc(50px * var(--scale, 1));
  width: auto;

  @media (min-width: 800px) {
    height: calc(70px * var(--scale, 1));
  }
}

.hire-us__body {
  margin-bottom: 30px;

  @media (min-width: 800px) {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 0;
  }
}

.hire-us__text {
  margin-bottom: 40px;

  @media (min-width: 800px) {
    margin-bottom: 0;
  }
}

.hire-us__event-types {
  margin: 10px 0;
  padding-left: 2em;
}

.hire-us__event-types li {
  line-height: 30px;
}

.hire-us__text .btn {
  margin-top: 24px;
}

.hire-us__email {
  margin-top: 16px;
  font-size: 19px;
}

.hire-us__email a {
  text-decoration: underline;
}

.hire-us__testimonial {
  padding: 20px 0;
}

.hire-us__testimonial .quote__mark {
  display: block;
  margin: 0 0 8px;
}

.hire-us__testimonial p {
  font-size: 25px;
  line-height: 1.2;
  font-style: italic;

  @media (min-width: 800px) {
    font-size: 30px;
  }
}

.hire-us__testimonial cite {
  display: block;
  font-style: normal;
  font: var(--secondary-font-size) var(--font-body);
  color: var(--secondary);
  margin-top: 12px;
}

/* =============================================
   Video Modal
   ============================================= */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-modal[hidden] {
  display: none;
}

.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
}

.video-modal__content {
  position: relative;
  width: 90vw;
  max-width: 900px;
}

.video-modal__close {
  position: absolute;
  top: -56px;
  right: -8px;
  color: white;
  font-size: 44px;
  line-height: 1;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 12px;

  &:hover {
    opacity: 0.7;
  }
}

.video-modal__player {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  box-shadow: 0 0 64px 32px rgba(255, 255, 255, 0.25);
}

.video-modal__player iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* =============================================
   Show Modal
   ============================================= */
.show-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  overflow-y: auto;

  @media (min-width: 800px) {
    padding: 40px 0;
  }
}

.show-modal[hidden] {
  display: none;
}

.show-modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
}

.show-modal__content {
  position: relative;
  width: 100%;
  max-width: 1330px;
  margin: 0 auto;
  background: var(--popover);
  min-height: 100vh;

  @media (min-width: 800px) {
    min-height: auto;
  }
}

.show-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
  color: white;
  padding: 8px;

  & svg {
    width: 28px;
    height: 28px;
  }

  &:hover {
    opacity: 0.7;
  }

  @media (min-width: 800px) {
    top: 36px;
    right: 36px;

    & svg {
      width: 32px;
      height: 32px;
    }
  }
}

.show-modal__body {
  padding: 46px 16px 40px;

  @media (min-width: 800px) {
    display: grid;
    grid-template-columns: 1fr 540px;
    column-gap: 80px;
    padding: 41px;
  }

  & .label + p {
    margin-top: 4px;
  }
}

.show-modal__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 44px;
  line-height: 1;
  margin-bottom: 24px;

  @media (min-width: 800px) {
    grid-column: 1 / -1;
    font-size: 80px;
    margin-bottom: 30px;
  }
}

.show-modal__description {
  display: none;

  @media (min-width: 800px) {
    display: block;
    font-style: italic;
    font: italic 22px/30px var(--font-body);
    margin-bottom: 40px;
  }
}

.show-modal__text {
  @media (min-width: 800px) {
    grid-column: 1;
    grid-row: 2;
  }
}

.show-modal__image {
  display: none;

  @media (min-width: 800px) {
    display: block;
    grid-column: 2;
    grid-row: 2;
    align-self: start;

    & img {
      width: 100%;
      height: 721px;
      object-fit: cover;
    }
  }
}

.show-modal__info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 0;

  @media (min-width: 800px) {
    grid-template-columns: auto auto auto;
    gap: 24px 40px;
  }
}

.show-modal__info-group {
  & .label {
    margin-bottom: 0;
  }

  & p:not(.label), & a:not(.btn) {
    font: var(--secondary-font-size) var(--font-body);
  }

  & p + p {
    margin-top: 4px;
  }
}

.show-modal__venue-link {
  text-decoration: underline;
}

.show-modal__info-group--tickets {
  display: none;

  @media (min-width: 800px) {
    display: block;
  }
}

.show-modal__price {
  opacity: 0.8;
  margin-top: 8px;
}

.show-modal__tickets-mobile {
  margin-top: 24px;

  & .label {
    margin-bottom: 8px;
  }

  @media (min-width: 800px) {
    display: none;
  }
}

.show-modal__image-mobile {
  margin: 24px 0;

  & img {
    width: 100%;
    object-fit: cover;
  }

  @media (min-width: 800px) {
    display: none;
  }
}

.show-modal__about {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);

  & .label {
    margin-bottom: 12px;
  }

  & p:not(.label), & ul, & ol, & li {
    font: var(--secondary-font-size) var(--font-body);
  }

  & ul,
  & ul + p {
    margin-top: 16px;
  }

  @media (min-width: 800px) {
    margin-top: 32px;
    padding-top: 32px;
  }
}

.show-modal__organized-by {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);

  & .label {
    margin-bottom: 0;
  }

  & p:not(.label) {
    font: var(--secondary-font-size) var(--font-body);
  }

  & a {
    text-decoration: underline;
  }

  @media (min-width: 800px) {
    margin-top: 32px;
    padding-top: 32px;
  }
}

/* =============================================
   Learn Page
   ============================================= */
.learn-intro {
  margin-bottom: 40px;
}

.learn-intro h2 {
  margin-bottom: 8px;
}

.learn-intro ul {
  margin-top: 16px;
}

.learn-intro p,
.learn-intro ul {
  @media (min-width: 800px) {
    max-width: calc(100% - 400px);
  }
}

.learn-intro a {
  text-decoration: underline;
}

.learn-section {
  margin-bottom: 60px;

  &:last-child {
    margin-bottom: 0;
  }

  @media (min-width: 800px) {
    margin-bottom: 80px;
  }
}

.learn-section h3 {
  margin-bottom: 8px;
}

.learn-section__body {
  @media (min-width: 800px) {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 60px;
    align-items: start;
  }
}

.learn-section__text {
  margin-bottom: 30px;

  @media (min-width: 800px) {
    margin-bottom: 0;
  }
}

.learn-section__text ul {
  margin: 16px 0;
}

.learn-section__text li {
  line-height: 30px;
}

.learn-section__text .btn {
  margin-top: 20px;
}

.learn-section__images {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.learn-section__images img {
  width: 100%;
  height: 196px;
  object-fit: cover;
  border-radius: 2px;
}

.learn-section__images img.learn-section__logo {
  object-fit: contain;
}

.learn-section__images iframe {
  width: 100%;
  height: 196px;
  border: 0;
  border-radius: 2px;
}

/* =============================================
   Show Detail Page
   ============================================= */
.show-detail {
  max-width: 800px;
}

.show-detail h1 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 36px;
  line-height: 1.1;
  margin-bottom: 24px;

  @media (min-width: 800px) {
    font-size: 48px;
  }
}

.show-detail dl {
  margin-bottom: 24px;
}

.show-detail dt {
  font-weight: 600;
  margin-top: 16px;
  font-size: 17px;
  color: var(--tertiary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.show-detail dd {
  margin-left: 0;
  margin-bottom: 4px;
}

.show-detail dd a {
  text-decoration: underline;
}

.show-detail .show-image {
  max-width: 100%;
  border-radius: 2px;
  margin-bottom: 24px;
}

.show-detail .back-link {
  display: inline-block;
  margin-top: 30px;
  text-decoration: underline;
  opacity: 0.7;

  &:hover {
    opacity: 1;
  }
}
