/* variables */
:root {
  --background: 0 0% 3%;
  --foreground: 0 0% 100%;
  --card: 0 0% 7%;
  --muted: 0 0% 15%;
  --border: 0 0% 20%;
  --primary: 348 89% 50%;
  --input: 0 0% 12%;
  --secondary: 0 0% 15%;
  --secondary-foreground: 0 0% 100%;
}

/* base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

/* main */
.main-container {
  min-height: 100vh;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
}

/* main header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  transition: all 300ms;
  backdrop-filter: blur(16px);
  background-color: hsl(var(--background) / 0.8);
  border-bottom: 1px solid hsl(var(--border) / 0.5);
}

.site-header.header-solid {
  background-color: hsl(var(--background));
  border-bottom: 1px solid hsl(var(--border));
}

.header-container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.nav-toggle-btn {
  padding: 0.5rem;
  border-radius: 0.5rem;
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-toggle-btn:hover {
  background-color: rgb(255 255 255 / 0.1);
}

/* nav */
.nav-overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgb(0 0 0 / 0.95);
  backdrop-filter: blur(16px);
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: navSlideIn 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.nav-overlay.hidden {
  display: none !important;
}

@keyframes navSlideIn {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.nav-overlay-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.nav-close-btn {
  position: absolute;
  top: 2rem;
  right: 2rem;
  padding: 0.5rem;
  border-radius: 0.5rem;
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-close-btn:hover {
  background-color: rgb(255 255 255 / 0.1);
}

.nav-menu {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.nav-link {
  display: block;
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 300;
  color: #FFFFFF;
  width: -webkit-fill-available;
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  transition: color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
  color: hsl(var(--primary));
}

/* hero */
.hero-section {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-fallback-img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: linear-gradient(to bottom, transparent, rgb(0 0 0));
}

.hero-content {
  position: relative;
  text-align: center;
  z-index: 10;
  padding-left: 1rem;
  padding-right: 1rem;
}

.hero-title {
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
}

.hero-title-accent {
  color: hsl(var(--primary));
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.75rem;
  color: rgb(255 255 255);
  margin-bottom: 2rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta-btn {
  background-color: hsl(var(--primary));
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-cta-btn:hover {
  background-color: hsl(var(--primary) / 0.9);
}

/* work/projects */
.work-section {
  padding: 2.5rem 0;
}

.work-container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.work-title {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
  margin-bottom: 3rem;
  text-align: center;
}

.work-category {
  margin-bottom: 4rem;
}

.work-category-title {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.work-carousel {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

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

.work-carousel-item {
  flex: none;
  scroll-snap-align: start;
  width: min(40vw, 220px);
}

.work-poster-card {
  position: relative;
  aspect-ratio: 2 / 3;
  border-radius: 0.5rem;
  overflow: hidden;
  cursor: pointer;
}

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

.work-poster-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgb(0 0 0 / 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.work-poster-play-icon {
  color: white;
  flex-shrink: 0;
}

/* brands */
.brands-section {
  padding: 2.5rem 0;
  background-color: hsl(var(--muted) / 0.2);
}

.brands-container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.brands-title {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
  margin-bottom: 3rem;
  text-align: center;
}

.brands-desktop-grid {
  display: none;
}

.brands-mobile-container {
  display: flex;
  gap: 1rem;
  overflow: hidden;
  width: 100%;
}

.brands-marquee {
  display: flex;
  gap: 3rem;
  animation: brandsMarquee linear infinite;
  width: calc(300% + 6rem);
  align-items: center;
}

@keyframes brandsMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-33.333%);
  }
}

.brands-marquee-item {
  flex-shrink: 0;
  text-align: center;
  opacity: 0.6;
  transition: opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);
  width: 120px;
}

.brands-marquee-item:hover {
  opacity: 1;
}

.brand-item {
  text-align: center;
  opacity: 0.6;
  transition: opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.brand-item:hover {
  opacity: 1;
}

.brand-logo {
  margin-left: auto;
  margin-right: auto;
  width: 9rem;
  height: auto;
  object-fit: contain;
  cursor: pointer;
  border-radius: 15px;
}

.brands-marquee-logo {
  width: 100%;
  height: auto;
  align-items: center;
  object-fit: contain;
  cursor: pointer;
  border-radius: 15px;
}

/* press */
.press-section {
  padding: 2.5rem 0;
}

.press-container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.press-title {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
  margin-bottom: 3rem;
  text-align: center;
}

.press-grid {
  display: grid;
  gap: 1.5rem;
}

.press-card {
  background-color: hsl(var(--card) / 0.5);
  backdrop-filter: blur(4px);
  border-radius: 0.5rem;
  padding: 1.5rem;
  border: 1px solid hsl(var(--border) / 0.2);
}

.press-quote {
  font-size: 1.125rem;
  line-height: 1.75rem;
  margin-bottom: 1rem;
  font-style: italic;
}

.press-citation {
  color: hsl(var(--primary));
  font-weight: 600;
}

/* socials */
.social-section {
  padding: 2.5rem 0;
  background-color: hsl(var(--muted) / 0.2);
}

.social-container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.social-title {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
  margin-bottom: 3rem;
  text-align: center;
}

.social-desktop-grid {
  display: none;
  width: 100%;
  overflow: hidden;
}

.social-desktop-marquee {
  display: flex;
  gap: 1rem;
  animation: socialDesktopMarquee linear infinite;
  align-items: center;
}

@keyframes socialDesktopMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-33.333%);
  }
}

.social-clip-link {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 0.5rem;
  overflow: hidden;
  background-color: rgb(0 0 0 / 0.4);
  flex: 0 0 300px;
}

.social-mobile-container {
  display: flex;
  gap: 1rem;
  overflow: hidden;
  width: 100%;
}

.social-marquee {
  display: flex;
  gap: 1rem;
  animation: socialMarquee linear infinite;
  align-items: center;
}

@keyframes socialMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-33.333%);
  }
}

.social-marquee-item {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 0.5rem;
  overflow: hidden;
  flex: 0 0 160px;
  background-color: rgb(0 0 0 / 0.4);
}

/* connect form */
.connect-section {
  padding: 2.5rem 0;
}

.connect-container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.connect-inner {
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

.connect-title {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
  margin-bottom: 3rem;
  text-align: center;
}

.connect-content {
  display: grid;
  gap: 3rem;
}

.connect-info-title {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.connect-info-text {
  color: white;
  margin-bottom: 2rem;
}

.connect-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.connect-email-btn {
  background-color: hsl(var(--primary));
  color: white;
  padding: 0.75rem 1.25rem;
  border-radius: 0.375rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: inherit;
  cursor: pointer;
  border: none;
  text-decoration: none;
  justify-content: center;
}

.connect-social-links {
  display: flex;
  gap: 2rem;
  padding-top: 1rem;
}

.connect-social-link {
  color: white;
  transition: color 150ms cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.connect-social-link:hover {
  color: hsl(var(--primary));
}

.connect-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 32rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: white;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: hsl(var(--input));
  border: 1px solid hsl(var(--border));
  border-radius: 0.375rem;
  outline: 2px solid transparent;
  outline-offset: 2px;
  font-family: inherit;
  color: hsl(var(--foreground));
  transition: border-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: hsl(var(--primary));
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
  --tw-ring-color: hsl(var(--primary) / 0.2);
}

.form-textarea {
  min-height: 120px;
  resize: none;
}

.form-submit-btn {
  background-color: hsl(var(--primary));
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 600;
  width: 100%;
  font-family: inherit;
  cursor: pointer;
  border: none;
}

/* footer */
.site-footer {
  padding: 2.5rem 0;
  border-top: 1px solid hsl(var(--border));
}

.footer-container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-copyright {
  color: white;
}

.footer-representation {
  color: white;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.footer-link {
  color: hsl(var(--primary));
  text-decoration: none;
  transition: text-decoration 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-link:hover {
  text-decoration: underline;
}

.brand-logo-footer {
  margin-left: auto;
  margin-right: auto;
  width: 9rem;
  height: auto;
  object-fit: contain;
  cursor: pointer;
  border-radius: 15px;
  transition: all ease 0.3s;
}
.brand-logo-footer:hover {
  transform: scale(1.125);
}

/* modal */
.project-modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgb(0 0 0 / 0.9);
  backdrop-filter: blur(4px);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.project-modal.hidden {
  display: none !important;
}

.modal-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: hsl(var(--card));
  border-radius: 0.75rem;
  max-width: 56rem;
  width: 100%;
  height: 95vh;
  overflow-y: auto;
  position: relative;
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.modal-close-btn:hover {
  background-color: rgb(255 255 255 / 0.1);
}

.modal-video-container {
  background-color: rgb(0 0 0);
  border-top-left-radius: 0.75rem;
  border-top-right-radius: 0.75rem;
  overflow: hidden;
}

.modal-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-body {
  padding: 1rem;
}

.modal-info {
  display: flex;
  flex-direction: column;
  gap: 0;
}


.modal-header {
  display: flex;
  align-items: center;
}

.modal-title-section {
  flex: 1 1 0%;
  margin: auto 0;
}

.modal-title {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.modal-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: white;
  margin-bottom: 0.5rem;
}

.modal-runtime.hidden {
  display: none;
}

.modal-roles {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.modal-role-tag {
  background-color: hsl(var(--primary) / 0.2);
  color: hsl(var(--primary));
  padding: 0.25rem 0.5rem;
  border-radius: 0.13rem;
  font-size: 0.75rem;
  line-height: 1.25rem;
}

.modal-role-spec {
  color: hsl(var(--primary));
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0;
}

.modal-poster {
  flex-shrink: 0;
  width: 4rem;
}

.modal-poster-img {
  width: 4rem;
  height: 6rem;
  object-fit: cover;
  border-radius: 0.25rem;
}

.modal-synopsis {
  font-size: 0.875rem;
  line-height: 1.25rem;
  margin-bottom: 1rem;
  line-height: 1.625;
}

.modal-synopsis.hidden {
  display: none !important;
}

.modal-sidebar {
  width: 100%;
}

.modal-credits-title {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 600;
  margin-bottom: 0;
}

.modal-credits {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0;
}

.modal-credit {
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  margin: 0.5rem 0;
}

.modal-credit-role {
  color: white;
  font-weight: 500;
}

.modal-actions {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.modal-watch-btn {
  background-color: hsl(var(--primary));
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 0.375rem;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  cursor: pointer;
  border: none;
}

.modal-discuss-btn {
  background-color: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
  padding: 0.75rem 1rem;
  border-radius: 0.375rem;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  cursor: pointer;
  border: none;
}

.hidden {
  display: none !important;
}

/* focus states */
:root {
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-ring-inset: ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
}

svg {
  flex-shrink: 0;
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@media (min-width: 768px) {
  .header-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  .hero-video {
    object-fit: contain !important;
  }  
  .hero-title {
    font-size: 3.75rem;
    line-height: 1;
  }
  .hero-subtitle {
    font-size: 1.5rem;
    line-height: 2rem;
  }

  .work-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  .work-title {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }
  .work-carousel {
    gap: 3rem;
  }
  .work-carousel-item {
    width: min(280px, 500px);
  }

  .brands-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  .brands-title {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }
  .brands-desktop-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5rem 10rem;
    align-items: center;
    width: fit-content;
    margin: 0 auto;
  }
  .brands-mobile-container {
    display: none;
  }

  .press-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  .press-title {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }
  .press-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .social-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  .social-title {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }
  .social-desktop-grid {
    display: flex;
    gap: 1rem;
  }
  .social-mobile-container {
    display: none;
  }
  .social-marquee-item {
    width: min(160px, 40vw);
    height: auto;
  }
  
  .connect-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  .connect-title {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }
  .connect-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .press-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  
  .footer-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  .footer-content {
    flex-direction: row;
  }

  .modal-content {
    height: 90vh;
  }
  .modal-video-container {
    aspect-ratio: 8 / 9;
  }
  .modal-video {
    object-fit: contain !important;
  }
  .modal-body {
    padding: 1.5rem;
  }  
  .modal-info {
    flex-direction: row;
    gap: 5rem;
  }
  .modal-main-info {
    width: 50%;
  }
  .modal-header {
    gap: 0;
  }
  .modal-title {
    font-size: 1.5rem;
    line-height: 2rem;
  }
  .modal-poster-img {
    width: 5rem;
    height: 7.5rem;
  }
  .modal-role-tag {
    font-size: 0.875rem;
  }
  .modal-synopsis {
    font-size: 1rem;
    line-height: 1.5rem;
  }
  .modal-sidebar {
    width: 20rem;
    margin: auto 0;
  }
  .modal-credit {
    gap: 0.75rem;
  }
}

@media (max-width: 768px) {
  .work-carousel-item {
    width: min(40vw, 180px);
  }
  .connect-social-links {
    align-items: center;
    justify-content: center;
  }
  
  .modal-video-container {
    aspect-ratio: 6 / 9;
  }
  .modal-main-info {
    width: 100%;
  }
  .modal-header {
    justify-content: space-between;
  }
}