:root {
  --site-bg: #EFF483;
  --cream: #F6F4EA;
  --text: #2D2D2D;
  --muted: #686868;
  --eyebrow: #557EA8;
  --eyebrow-dark: #2F5276;
  --eyebrow-light: #6B90B5;
  --link: var(--eyebrow);
  --link-hover: var(--eyebrow-light);
  --button: #2D2D2D;
  --button-hover: #1F1F1F;
  --line: rgba(45, 45, 45, 0.18);
  --soft: rgba(45, 45, 45, 0.08);
  --white: #FFFFFF;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--site-bg);
  color: var(--text);
  font-family: "Rubik", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
}

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

a {
  color: var(--link);
  text-decoration: none;
}

a:hover,
a:focus,
a:active {
  color: var(--link-hover);
}

a:not(.btn):not(.navbar-brand):not(.footer-brand):not(.casting-networks-link):not(.social-icon-link):not(.active):hover,
a:not(.btn):not(.navbar-brand):not(.footer-brand):not(.casting-networks-link):not(.social-icon-link):not(.active):focus,
a:not(.btn):not(.navbar-brand):not(.footer-brand):not(.casting-networks-link):not(.social-icon-link):not(.active):focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

h1,
h2,
h3,
.navbar-brand,
.footer-brand {
  color: var(--text);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.25rem, 5.4vw, 4rem);
}

h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.625rem);
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.65rem);
}

p {
  margin-bottom: 1rem;
}

.skip-link {
  background: var(--white);
  color: var(--text);
  padding: 0.75rem 1rem;
}

.site-nav {
  background: var(--site-bg);
  padding: 1.4rem 0;
}

.navbar-brand,
.footer-brand {
  font-size: clamp(1.1rem, 2.4vw, 1.45rem);
  text-decoration: none;
}

.navbar-brand:hover,
.navbar-brand:focus,
.navbar-brand:focus-visible {
  color: var(--link-hover);
}

.footer-brand {
  display: block;
  padding: var(--bs-navbar-brand-padding-y, 0.3125rem) 0;
}

.brand-subtitle {
  display: inline-flex;
  gap: 0.35rem;
  font-weight: 400;
  vertical-align: bottom;
}

.brand-icon {
  --clapper-close-duration: 140ms;
  align-self: center;
  display: inline-block;
  height: 0.95em;
  margin-left: 0.5rem;
  margin-right: 0.5rem;
  width: 0.95em;
}

.brand-icon-stick {
  transform: rotate(0deg);
  transform-box: view-box;
  transform-origin: 62px 345px;
  transition: transform 180ms ease-out;
}

:is(.navbar-brand, .footer-brand):is(:hover, :focus) .brand-icon-stick {
  transform: rotate(22deg);
  transition-duration: var(--clapper-close-duration);
  transition-timing-function: ease-in;
}

:is(.navbar-brand, .footer-brand):is(:hover, :focus) .brand-icon {
  animation: clapper-impact 210ms ease-out var(--clapper-close-duration);
}

@keyframes clapper-impact {
  0% {
    transform: translateY(0);
  }

  30% {
    animation-timing-function: ease-in-out;
    transform: translateY(3px);
  }

  100% {
    transform: translateY(0);
  }
}

.navbar-toggler {
  border-color: var(--line);
}

.nav-link {
  color: var(--eyebrow);
  font-size: 1rem;
  padding: 0.35rem 0.85rem !important;
}

.nav-link.active,
.nav-link:hover,
.nav-link:focus {
  color: var(--link-hover);
}

.nav-link.active,
.nav-link.active:hover,
.nav-link.active:focus,
.footer-links a.active,
.footer-links a.active:hover,
.footer-links a.active:focus {
  color: var(--eyebrow-dark);
  cursor: default;
  text-decoration: none;
}

.site-nav .nav-link.active,
.site-nav .nav-link.active:hover,
.site-nav .nav-link.active:focus,
.site-nav .nav-link.active:focus-visible {
  color: var(--eyebrow-dark) !important;
}

.section-pad {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-cream {
  background: var(--cream);
}

.eyebrow,
.meta-line {
  color: var(--eyebrow);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.lead-copy {
  color: var(--text);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.55;
}

.hero {
  padding-top: 1rem;
}

.hero-frame {
  position: relative;
}

.hero-video-wrap {
  position: relative;
}

.hero-video {
  border-radius: 0.45rem;
  display: block;
  height: auto;
  width: 100%;
}

.hero-video-toggle {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0.45rem;
  bottom: 1rem;
  box-shadow: 0 0 0.2rem 0.1rem rgba(255, 255, 255, 0.6);
  color: rgba(255, 255, 255, 0.6);
  display: inline-flex;
  height: 2.75rem;
  justify-content: center;
  padding: 0;
  position: absolute;
  right: 1rem;
  transition: transform 160ms ease;
  width: 2.75rem;
  z-index: 2;
}

.hero-video-toggle:hover,
.hero-video-toggle:focus-visible {
  transform: scale(1.06);
}

.hero-video-toggle:focus-visible {
  outline: 3px solid var(--site-bg);
  outline-offset: 3px;
}

.hero-video-toggle-icon {
  fill: none;
  height: 1.35rem;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 1.35rem;
}

.hero-video-toggle-icon-play,
.hero-video-toggle:not(.is-playing) .hero-video-toggle-icon-pause {
  display: none;
}

.hero-video-toggle:not(.is-playing) .hero-video-toggle-icon-play {
  display: block;
}

.hero-panel {
  background: linear-gradient(rgba(45, 45, 45, 0.4), rgba(45, 45, 45, 0.9));
  border-radius: 0.45rem;
  color: var(--site-bg);
  left: 50%;
  max-width: 760px;
  padding: clamp(1.5rem, 4vw, 3rem);
  position: absolute;
  text-align: center;
  top: 60%;
  transform: translateX(-50%);
  width: min(82%, 760px);
}

.hero-panel h1,
.hero-panel p {
  color: var(--white);
}

.hero-panel .eyebrow {
  color: #EFF483;
}

.hero-panel h1 {
  font-size: clamp(1.5rem, 5.4vw, 4rem);
}

.hero-panel h1 + p {
  text-wrap: balance;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.btn {
  border-radius: 999px;
  font-weight: 700;
  padding: 0.85rem 1.35rem;
}

.btn-primary {
  --bs-btn-bg: var(--eyebrow);
  --bs-btn-border-color: var(--eyebrow);
  --bs-btn-hover-bg: var(--eyebrow-light);
  --bs-btn-hover-border-color: var(--eyebrow-light);
  --bs-btn-hover-color: var(--white);
  --bs-btn-active-bg: var(--eyebrow);
  --bs-btn-active-border-color: var(--eyebrow);
  --bs-btn-active-color: var(--white);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:focus-visible {
  background-color: var(--eyebrow-light);
  border-color: var(--eyebrow-light);
  color: var(--white);
}

.btn-outline-primary {
  --bs-btn-color: var(--white);
  --bs-btn-border-color: var(--white);
  --bs-btn-hover-bg: var(--white);
  --bs-btn-hover-border-color: var(--white);
  --bs-btn-hover-color: var(--text);
  --bs-btn-active-bg: var(--site-bg);
  --bs-btn-active-border-color: var(--site-bg);
  --bs-btn-active-color: var(--text);
}

.hero-panel .btn-outline-primary {
  --bs-btn-bg: var(--text);
  --bs-btn-border-color: var(--text);
  --bs-btn-color: var(--white);
  --bs-btn-hover-bg: var(--white);
  --bs-btn-hover-border-color: var(--white);
  --bs-btn-hover-color: var(--text);
  --bs-btn-active-bg: var(--white);
  --bs-btn-active-border-color: var(--white);
  --bs-btn-active-color: var(--text);
}

.hero-panel .btn-outline-primary:hover,
.hero-panel .btn-outline-primary:focus,
.hero-panel .btn-outline-primary:focus-visible {
  background-color: var(--white);
  border-color: var(--white);
  color: var(--text);
}

.page-header {
  padding-top: clamp(3rem, 6vw, 5rem);
}

.page-header h1 {
  margin-bottom: 1.4rem;
}

.page-header p:not(.eyebrow) {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  max-width: 34rem;
}

.page-header-image,
.rounded-image {
  aspect-ratio: 4 / 5;
  border-radius: 0.45rem;
  object-fit: cover;
  width: 100%;
}

.media-page-header-image {
  object-position: 42%;
}

.section-heading {
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
  max-width: 720px;
}

.feature-card,
.news-card,
.quote-card,
.content-panel,
.info-block,
.contact-form {
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid var(--line);
  border-radius: 0.45rem;
}

.feature-card,
.news-card,
.quote-card,
.info-block,
.contact-form,
.content-panel {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.news-card>p:not(.meta-line) {
	font-size: 1.25rem;
}

.news-card .tag-list>span {
	font-size: .875rem;
	padding: 0.15rem 0.6rem;
}

.news-tags-wrapper {
	margin-top: auto;
	padding-top: 3rem;
}

.profile-panel {
  align-items: center;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
}

.profile-panel p:last-child {
  margin-bottom: 0;
}

.casting-networks-link {
  align-items: center;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  display: inline-flex;
  gap: 0.85rem;
  max-width: 100%;
  padding: 0.85rem 1rem;
  text-decoration: none;
}

.casting-networks-link:hover,
.casting-networks-link:focus {
  background: var(--white);
}

.casting-networks-link-icon {
  padding: 0.85rem 1.1rem;
}

.casting-networks-link img {
  height: 1.7rem;
  width: auto;
}

.casting-networks-link span {
  font-weight: 500;
}

.footer-social-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.social-icon-link {
  align-items: center;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  color: var(--text);
  display: inline-flex;
  min-height: 3.4rem;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.85rem 1rem;
  text-decoration: none;
}

.social-icon-link:hover,
.social-icon-link:focus {
  background: var(--white);
  color: var(--link-hover);
}

.social-icon-link svg {
  flex: 0 0 auto;
  fill: currentColor;
  height: 1.55rem;
  width: 1.55rem;
}

.social-icon-link span {
  font-weight: 500;
}

.youtube-channel-panel {
  align-items: center;
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  grid-template-columns: auto minmax(0, 1fr);
}

.youtube-channel-avatar {
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  width: clamp(7rem, 16vw, 11rem);
}

.youtube-channel-panel p:not(.eyebrow) {
  max-width: 42rem;
}

.feature-card {
  height: 100%;
}

.feature-card img {
  aspect-ratio: 4 / 3;
  margin-bottom: 1.35rem;
  object-fit: cover;
  width: 100%;
}

.quote-card {
  height: 100%;
  margin: 0;
}

.quote-card p {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.45;
}

.quote-card cite {
  color: var(--muted);
  font-style: normal;
  font-weight: 700;
}

.review-feedback-link {
  margin: 2rem 0 0;
}

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

.stats-grid div,
.info-block {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.stats-grid dt,
.info-block span {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
}

.stats-grid dd,
.info-block strong {
  color: var(--text);
  display: block;
  font-size: 1.25rem;
  font-weight: 500;
  margin: 0.25rem 0 0;
}

.credits-table {
  --bs-table-bg: transparent;
  --bs-table-color: var(--text);
  border-color: var(--line);
  table-layout: fixed;
  margin-bottom: 0;
}

.credits-table th:nth-child(-n+3),
.credits-table td:nth-child(-n+3) {
  width: 30%;
}

.credits-table th:nth-child(4),
.credits-table td:nth-child(4) {
  width: 10%;
}

.credits-table th {
  color: var(--text);
  font-size: 0.85rem;
  text-transform: uppercase;
}

.credits-table th,
.credits-table td {
  vertical-align: top;
}

.credits-table tbody tr:nth-child(odd) {
  background: rgba(45, 45, 45, 0.08);
}

.small-heading {
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
  margin-bottom: 0.8rem;
  padding-bottom: 0.5rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-list span {
  background: var(--text);
  border-radius: 999px;
  color: var(--white);
  display: inline-flex;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.35rem 0.85rem;
}

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

.gallery-item {
  background: var(--soft);
  border-radius: 0.45rem;
  margin: 0;
  overflow: hidden;
}

.gallery-lightbox-trigger {
  background: transparent;
  border: 0;
  cursor: zoom-in;
  display: block;
  padding: 0;
  width: 100%;
}

.gallery-lightbox-trigger:focus-visible {
  outline: 3px solid var(--link-hover);
  outline-offset: 4px;
}

.gallery-item img {
  aspect-ratio: 1 / 1;
  border-radius: 0.45rem;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

/* Magic 107.7 pic - this will need to be updated later */
.gallery-item:first-child img {
	object-position: left;
}

.lightbox {
  align-items: center;
  background: rgba(0, 0, 0, 0.82);
  display: none;
  inset: 0;
  justify-content: center;
  padding: clamp(1.25rem, 4vw, 3rem);
  position: fixed;
  z-index: 1080;
}

.lightbox.is-open {
  display: flex;
}

.lightbox-inner {
  align-items: center;
  display: grid;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  grid-template-columns: auto minmax(0, 1fr) auto;
  max-height: 100%;
  width: min(100%, 1280px);
}

.lightbox-image {
  border-radius: 0.45rem;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.42);
  justify-self: center;
  max-height: calc(100vh - clamp(2.5rem, 8vw, 6rem));
  max-width: 100%;
  object-fit: contain;
}

.lightbox-arrow {
  align-items: center;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  color: var(--text);
  display: inline-flex;
  font-size: clamp(2.5rem, 6vw, 4rem);
  height: clamp(3rem, 7vw, 4.5rem);
  justify-content: center;
  line-height: 1;
  padding: 0;
  width: clamp(3rem, 7vw, 4.5rem);
}

.lightbox-arrow:hover,
.lightbox-arrow:focus-visible {
  background: var(--white);
}

.video-list {
  display: grid;
  gap: 2rem;
}

.video-item {
  display: grid;
  gap: clamp(1.25rem, 4vw, 3rem);
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.video-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.video-specs {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.form-label {
  color: var(--text);
  font-weight: 700;
}

.form-label span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 500;
}

.form-control {
  background: var(--cream);
  border: 2px solid rgba(45, 45, 45, 0.45);
  border-radius: 0.8rem;
  color: var(--text);
  padding: 0.8rem 1rem;
}

.form-control:focus {
  background: var(--white);
  border-color: var(--text);
  box-shadow: 0 0 0 0.2rem rgba(45, 45, 45, 0.16);
  color: var(--text);
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%232D2D2D' viewBox='0 0 16 16'%3E%3Cpath d='M3.2 5.8a1 1 0 0 1 1.4 0L8 9.2l3.4-3.4a1 1 0 1 1 1.4 1.4l-4.1 4.1a1 1 0 0 1-1.4 0L3.2 7.2a1 1 0 0 1 0-1.4Z'/%3E%3C/svg%3E");
  background-position: right 1rem center;
  background-repeat: no-repeat;
  background-size: 1rem;
  padding-right: 3rem;
}

.contact-details {
  border-top: 1px solid var(--line);
  margin-top: 2rem;
  padding-top: 1.25rem;
}

.site-footer {
  background: var(--site-bg);
  border-top: 1px solid var(--line);
}

.footer-copy {
  color: var(--muted);
  margin-top: 1rem;
  max-width: 34rem;
}

.footer-heading {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li + li {
  margin-top: 0.45rem;
}

.copyright-line {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  margin: 3rem 0 0;
  padding-top: 1.25rem;
}

@media (max-width: 991.98px) {
  .hero-panel {
    margin: -6rem auto 0;
    position: relative;
    top: auto;
    transform: none;
    left: auto;
    width: calc(100% - 2rem);
  }

  .video-item {
    grid-template-columns: 1fr;
  }

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

  .youtube-channel-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .site-nav {
    padding: 1rem 0;
  }

  .section-pad {
    padding: 3.25rem 0;
  }

  .gallery-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .lightbox {
    padding-left: 12px;
    padding-right: 12px;
  }

  .lightbox-inner {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "image image"
      "prev next";
    justify-items: center;
    width: 100%;
  }

  .lightbox-image {
    align-self: center;
    display: block;
    grid-area: image;
    height: auto;
    max-height: calc(100vh - 9rem);
    max-width: calc(100vw - 24px);
    object-fit: initial;
    width: auto;
  }

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

  .lightbox-arrow-next {
    grid-area: next;
    justify-self: start;
  }
  
  .nav-link {
	background-color: var(--cream);
	border: 1px solid var(--line);
	border-radius: .25rem;
	cursor: pointer;
	font-size: 1.25rem;
	margin-top: 1px;
	margin-bottom: 1px;
  }
  
  .nav-link:focus,
  .nav-link:hover {
	background-color: white;
	text-decoration: none !important;
  }
  
  .navbar-brand,
  .footer-brand {
	font-size: 1.375rem;
  }
  
  .navbar-collapse {
	margin-top: .75rem;
  }
  
	.credits-table th:nth-child(-n+3),
	.credits-table td:nth-child(-n+3) {
		width: 28.333%;
	}
	
	.credits-table th:nth-child(4), .credits-table td:nth-child(4) {
		width: 15%;
	}
	
	.credits-table tbody {
		font-size: .875rem;
	}
	
	.credits-table thead th {
		font-size: .75rem;
	}
}

@media (prefers-reduced-motion: reduce) {
  :is(.navbar-brand, .footer-brand):is(:hover, :focus) .brand-icon {
    animation: none;
  }

  .brand-icon-stick,
  :is(.navbar-brand, .footer-brand):is(:hover, :focus) .brand-icon-stick {
    transition: none;
  }
}
