
/* ===== ESPAT TV — Premium Content Studio ===== */
/* Dark-mode aesthetic matching the live site */

/* --- Design Tokens --- */
:root {
  /* Type Scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);
  --text-hero: clamp(2rem, 0.5rem + 5vw, 4.5rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Colors — Dark Mode (ESPAT TV aesthetic) */
  --color-bg: #0a0a0a;
  --color-surface: #121212;
  --color-surface-2: #1a1a1a;
  --color-surface-offset: #1e1e1e;
  --color-divider: #2a2a2a;
  --color-border: #333333;
  --color-text: #ffffff;
  --color-text-muted: #a0a0a0;
  --color-text-faint: #666666;

  /* Brand Colors */
  --color-red: #e10600;
  --color-red-hover: #ff1a0a;
  --color-red-dim: #b00500;

  /* Layout */
  --page-width: 1200px;
  --page-width-narrow: 800px;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 300ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 600ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Fonts */
  --font-body: 'Roboto', 'Open Sans', 'Helvetica Neue', sans-serif;
  --font-display: 'Oswald', 'Roboto Condensed', 'Helvetica Neue', sans-serif;
  --font-heading: 'Roboto', 'Helvetica Neue', sans-serif;

  /* Radius */
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;

  /* Shadows */
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.5);
  --shadow-hover: 0 8px 40px rgba(0, 0, 0, 0.7);
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  min-height: 100dvh;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
}

img, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

ul, ol {
  list-style: none;
}

input, button, textarea, select {
  font: inherit;
  color: inherit;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast), opacity var(--transition-fast);
}

h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
  line-height: 1.15;
}

p, li {
  text-wrap: pretty;
}

::selection {
  background: rgba(225, 6, 0, 0.3);
  color: var(--color-text);
}

:focus-visible {
  outline: 2px solid var(--color-red);
  outline-offset: 3px;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.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;
}

/* ===== HERO BANNER (Video Only) ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.4) 0%,
    rgba(10, 10, 10, 0.3) 50%,
    rgba(10, 10, 10, 0.9) 100%
  );
}

.hero__scroll-indicator {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}

.hero__scroll-indicator span {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--color-text-muted), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.8); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ===== HERO TEXT SECTION (About Us — matches espat.tv exactly) ===== */
.hero-text {
  background: #ffffff;
  padding: 40px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-text__content {
  max-width: 991px;
  text-align: center;
  padding: 20px 0;
}

.hero-text__heading {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 24pt;
  line-height: 1;
  text-transform: uppercase;
  color: #cab585;
  margin: 0 0 40px;
  text-align: center;
  max-width: 991px;
}

.hero-text__highlight {
  font-weight: 800;
  color: #cab585;
}

.hero-text__divider {
  width: 100%;
  max-width: calc(100% - 300px);
  height: 2px;
  background: #c9b384;
  margin: 0 auto;
}

.hero-text__desc {
  font-family: 'Assistant', sans-serif;
  font-weight: 400;
  font-size: 16.5pt;
  line-height: 1;
  color: #000000;
  max-width: 767px;
  margin: 20px auto 40px;
  padding: 10px;
  text-align: center;
}

.hero-text__btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: uppercase;
  color: #000000;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0);
  border: 3px solid #b00000;
  border-radius: 25px;
  margin: 0 auto;
  cursor: pointer;
  transition: all var(--transition-base);
}

.hero-text__btn:hover {
  background: #b00000;
  color: #fff;
}

.hero-text__btn svg {
  transition: transform var(--transition-fast);
}

.hero-text__btn:hover svg {
  transform: translateX(4px);
}

/* ===== SECTION HEADER ===== */
.section-header {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: var(--space-20) var(--space-6) var(--space-8);
  text-align: center;
}

.section-eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: var(--space-3);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-2xl);
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.section-subtitle {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== STUDIO / CARD GALLERY ===== */
.studio {
  background: var(--color-bg);
  padding-bottom: var(--space-20);
}

.card-gallery {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2);
}

.card {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  background: var(--color-surface);
  transition: transform var(--transition-base);
}

.card:hover {
  transform: translateY(-4px);
}

.card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow), filter var(--transition-base);
  filter: brightness(0.85);
}

.card:hover .card__media img {
  transform: scale(1.05);
  filter: brightness(1);
}

.card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgba(255, 255, 255, 0.8);
  opacity: 0;
  transition: opacity var(--transition-base), transform var(--transition-base);
  z-index: 2;
}

.card:hover .card__play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}

.card__content {
  padding: var(--space-4) var(--space-3);
  background: var(--color-surface);
}

.card__title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-sm);
  letter-spacing: 0.5px;
  color: var(--color-text);
  margin-bottom: var(--space-1);
}

.card__credit {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

/* ===== ABOUT US SECTION (matches espat.tv) ===== */
.about {
  background: #ffffff;
  padding: 0;
}

.about__inner {
  max-width: 1170px;
  margin: 0 auto;
  padding: 40px 20px;
}

.about__heading {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: var(--text-2xl);
  color: #b00900;
  text-align: center;
  margin: 0 0 40px;
  line-height: 1;
}

.about__heading-highlight {
  color: #000000;
}

.about__body {
  max-width: 100%;
  text-align: center;
}

.about__paragraph {
  font-family: 'Assistant', sans-serif;
  font-weight: 400;
  font-size: 22px;
  line-height: 35px;
  color: #000000;
  text-align: center;
  margin: 0;
  max-width: 75%;
  margin-left: auto;
  margin-right: auto;
}

.about__paragraph:nth-child(1),
.about__paragraph:nth-child(2) {
  padding-bottom: 20px;
}

.about__divider {
  width: 100%;
  height: 2px;
  background: #e6e6e6;
  margin: 40px 0 0;
}

@media (max-width: 768px) {
  .about__inner {
    padding: 24px 16px;
  }

  .about__paragraph {
    max-width: 100%;
    font-size: 18px;
    line-height: 1.5;
  }
}

/* ===== NEWS SECTION ===== */
.news {
  background: var(--color-surface);
  padding-bottom: var(--space-20);
}

.news-grid {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.news-card {
  background: var(--color-surface-2);
  border: 1px solid var(--color-divider);
  padding: var(--space-8);
  transition: border-color var(--transition-base), transform var(--transition-base);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  border-color: var(--color-red);
  transform: translateY(-2px);
}

.news-card__tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: var(--space-3);
}

.news-card__title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: var(--text-lg);
  line-height: 1.3;
  margin-bottom: var(--space-3);
}

.news-card__title a {
  color: var(--color-text);
  transition: color var(--transition-fast);
}

.news-card__title a:hover {
  color: var(--color-red);
}

.news-card__excerpt {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-4);
  flex: 1;
}

.news-card__readmore {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-red);
  align-self: flex-start;
  transition: color var(--transition-fast);
}

.news-card__readmore:hover {
  color: var(--color-red-hover);
}

/* ===== CONTACT SECTION ===== */
.contact {
  background: var(--color-bg);
  padding-bottom: var(--space-20);
}

.contact-grid {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-12);
  align-items: start;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.contact-list li {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.contact-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-text-faint);
}

.contact-email {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  color: var(--color-text);
  transition: color var(--transition-fast);
}

.contact-email:hover {
  color: var(--color-red);
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.form-field {
  position: relative;
}

.form-field input,
.form-field textarea {
  width: 100%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  padding: var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-base);
  transition: border-color var(--transition-fast);
  border-radius: var(--radius-sm);
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-red);
}

.form-field textarea {
  resize: vertical;
  font-family: var(--font-body);
}

.form-field label {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text-faint);
  pointer-events: none;
  transition: all var(--transition-fast);
}

.form-field input:focus + label,
.form-field input:not(:placeholder-shown) + label,
.form-field textarea:focus + label,
.form-field textarea:not(:placeholder-shown) + label {
  top: -10px;
  left: var(--space-2);
  font-size: 11px;
  color: var(--color-red);
  background: var(--color-bg);
  padding: 0 4px;
}

.form-submit {
  align-self: flex-start;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-text);
  background: var(--color-red);
  padding: var(--space-3) var(--space-8);
  border: none;
  transition: background var(--transition-fast), transform var(--transition-fast);
  border-radius: var(--radius-sm);
}

.form-submit:hover {
  background: var(--color-red-hover);
  transform: translateY(-1px);
}

/* ===== VIDEO MODAL ===== */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

.video-modal.open {
  display: flex;
}

.video-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
}

.video-modal__content {
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: 850px;
  aspect-ratio: 16 / 9;
  background: var(--color-bg);
  border: 1px solid var(--color-divider);
  animation: modalIn var(--transition-base);
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.video-modal__content video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.video-modal__close {
  position: absolute;
  top: -50px;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--color-text);
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.video-modal__close:hover {
  color: var(--color-red);
  transform: rotate(90deg);
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .card-gallery {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-12);
  }
}

@media (max-width: 768px) {
  .header__menu-toggle {
    display: flex;
  }

  .header__nav {
    display: none;
  }

  .header__right {
    display: none;
  }

  .mobile-drawer {
    display: block;
  }

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

  .news-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .hero-text {
    padding: 24px 20px;
  }

  .hero-text__heading {
    font-size: 20pt;
    line-height: 1;
  }

  .hero-text__desc {
    margin: 20px 0 !important;
    max-width: 100% !important;
    line-height: 1.4 !important;
  }

  .section-header {
    padding: var(--space-12) var(--space-6) var(--space-6);
  }
}

@media (max-width: 480px) {
  .card-gallery {
    grid-template-columns: 1fr;
  }

  .header {
    padding: var(--space-3) var(--space-4);
  }

  .hero-text__heading {
    font-size: 18pt;
    line-height: 1.2;
  }

  .hero-text__desc {
    font-size: 15pt;
  }

  .hero-text {
    padding: var(--space-12) var(--space-4);
  }

  .footer__bottom-inner {
    flex-direction: column;
  }
}

/* ===== NEWS PAGE (matches espat.tv/pages/news) ===== */
.news-page {
  background: #000;
  min-height: 100vh;
  padding-top: 83px;
}

.news-page__list {
  display: flex;
  flex-wrap: wrap;
  padding: 100px 50px;
  max-width: 1400px;
  margin: 0 auto;
}

.news-page__article {
  width: calc(50% - 25px);
  margin: 0 12.5px;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.news-page__article-title {
  font-family: 'Roboto', sans-serif;
  font-size: 35px;
  font-style: italic;
  font-weight: 400;
  color: #f2f2f2;
  text-align: center;
  line-height: 1.2;
  margin-bottom: 25px;
}

.news-page__article-title a {
  color: #f2f2f2;
  transition: color 150ms ease;
}

.news-page__article-title a:hover {
  color: #b72325;
}

.news-page__article-excerpt {
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  color: #b7b3b3;
  line-height: 1.6;
  margin-bottom: 15px;
}

.news-page__article-readmore {
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  color: #fff;
  transition: color 150ms ease;
}

.news-page__article-readmore:hover {
  color: #b72325;
}

@media (max-width: 767px) {
  .news-page__list {
    padding: 100px 0;
  }

  .news-page__article {
    width: calc(100% - 25px);
  }

  .news-page__article-title {
    font-size: 24px;
  }
}

/* ===== CONTACT PAGE (matches espat.tv/pages/contact) ===== */
.contact-page {
  background: #000;
  min-height: 100vh;
  padding-top: 83px;
}

.contact-page__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 20px 30px;
}

.contact-page__heading {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 47px;
  color: #666;
  margin-bottom: 30px;
  line-height: 1;
}

.contact-page__details {
  margin: 20px 0 0;
  padding: 0;
}

.contact-page__detail-item {
  line-height: 1.4;
  margin-bottom: 14px;
  font-family: 'Roboto', sans-serif;
  font-size: 23px;
  color: #666;
}

.contact-page__detail-label {
  color: #666;
  font-weight: 400;
}

.contact-page__detail-email {
  color: #666;
  transition: color 150ms ease;
}

.contact-page__detail-email:hover {
  color: #b72325;
}

.contact-page__form {
  max-width: 600px;
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-page__field {
  position: relative;
}

.contact-page__field input,
.contact-page__field textarea {
  width: 100%;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 0;
  color: #fff;
  padding: 12px 16px;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  transition: border-color 150ms ease;
}

.contact-page__field input::placeholder,
.contact-page__field textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.contact-page__field input:focus,
.contact-page__field textarea:focus {
  outline: none;
  border-color: #b72325;
}

.contact-page__field textarea {
  resize: vertical;
  font-family: 'Roboto', sans-serif;
  min-height: 120px;
}

.contact-page__submit {
  align-self: flex-start;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #b72325;
  background: transparent;
  border: 2px solid #b72325;
  padding: 12px 40px;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease;
  letter-spacing: 1px;
}

.contact-page__submit:hover {
  background: #b72325;
  color: #fff;
}

@media (max-width: 767px) {
  .contact-page__heading {
    font-size: 32px;
  }

  .contact-page__detail-item {
    font-size: 18px;
  }
}

/* ===== PILL NAV (floating glass header) ===== */
.pillnav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  align-items: center;
  height: 56px;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border: 1px solid var(--color-divider);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  white-space: nowrap;
  transition: width .5s cubic-bezier(.34,1.3,.4,1), transform .25s ease;
  will-change: width;
}

.pillnav .pn-in {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0 8px 0 22px;
}

.pillnav .pn-mark {
  flex: none;
  display: flex;
  align-items: center;
}

.pillnav .pn-mark img {
  height: 24px;
  width: auto;
  display: block;
}

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

.pillnav ul a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  padding: 4px 0;
  border-bottom: 1px solid transparent;
}

.pillnav ul a:hover,
.pillnav ul a[aria-current="page"] {
  color: var(--color-text);
  border-bottom-color: var(--color-red);
}

.pillnav .pn-acts {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pillnav .pn-soc {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  display: grid;
  place-items: center;
  color: var(--color-text);
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.pillnav .pn-soc:hover {
  background: var(--color-red);
  border-color: var(--color-red);
}

.pillnav .pn-soc svg {
  width: 15px;
  height: 15px;
}

.pillnav .pn-cta {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--color-red);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  transition: background var(--transition-fast);
}

.pillnav .pn-cta:hover {
  background: var(--color-red-hover);
}

.pillnav .pn-menu {
  display: none;
  border: 1px solid var(--color-border);
  background: transparent;
  border-radius: 999px;
  height: 40px;
  padding: 0 16px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--color-text);
  cursor: pointer;
}

.pillnav ul a,
.pillnav .pn-acts > * {
  transition: opacity .3s ease, transform .35s cubic-bezier(.34,1.3,.4,1), color .2s, border-color .2s, background .2s;
}

.pillnav.collapsed {
  cursor: pointer;
}

.pillnav.collapsed .pn-in {
  padding: 0;
}

.pillnav.collapsed .pn-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.pillnav.collapsed ul a,
.pillnav.collapsed .pn-acts > * {
  opacity: 0;
  transform: translateX(-14px) scale(.95);
  pointer-events: none;
}

.pillnav.collapsed:hover {
  transform: translateX(-50%) scale(1.05);
}

.pillnav.collapsed:active {
  transform: translateX(-50%) scale(.96);
}

/* Mobile dropdown */
.pn-drop {
  display: none;
  position: fixed;
  z-index: 999;
  top: 84px;
  left: 16px;
  right: 16px;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--color-divider);
  border-radius: 16px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6);
  padding: 8px 20px 12px;
  flex-direction: column;
}

.pn-drop.open {
  display: flex;
}

.pn-drop a {
  padding: 14px 0;
  border-top: 1px solid var(--color-divider);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--color-text);
}

.pn-drop a:first-child {
  border-top: 0;
}

@media (max-width: 1000px) {
  .pillnav ul { display: none; }
  .pillnav .pn-cta { display: none; }
  .pillnav .pn-menu { display: inline-flex; align-items: center; }
}

@media (max-width: 480px) {
  .pillnav { top: 12px; }
  .pn-drop { top: 78px; }
}

/* ===== FOOTER (column layout) ===== */
.footer {
  background: var(--color-bg);
  border-top: 1px solid var(--color-divider);
  color: var(--color-text-muted);
}

.ft {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: var(--space-16) var(--space-6) var(--space-8);
}

.ft .cols {
  display: grid;
  gap: var(--space-10);
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
}

.ft .col1 img {
  height: 30px;
  width: auto;
}

.ft .col1 p {
  max-width: 36ch;
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  line-height: 1.7;
}

.ft h3 {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  margin-bottom: var(--space-4);
}

.ft nav a,
.ft address p,
.ft address a {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding: 4px 0;
  font-style: normal;
  transition: color var(--transition-fast);
}

.ft nav a:hover,
.ft address a:hover {
  color: var(--color-text);
}

.ft address {
  font-style: normal;
}

.ft .ft-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  height: 44px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--color-red);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: var(--space-6);
  transition: background var(--transition-fast);
}

.ft .ft-cta:hover {
  background: var(--color-red-hover);
}

.ft .socials {
  display: flex;
  gap: var(--space-3);
}

.ft .socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  display: grid;
  place-items: center;
  color: var(--color-text-muted);
  transition: color var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}

.ft .socials a:hover {
  color: #fff;
  background: var(--color-red);
  border-color: var(--color-red);
}

.ft .bottom {
  margin-top: var(--space-10);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-divider);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

@media (max-width: 1024px) {
  .ft .cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .ft .cols { grid-template-columns: 1fr; gap: var(--space-8); }
  .ft .bottom { flex-direction: column; text-align: center; }
}

/* ===== CONTACT FORM STATUS ===== */
.form-status {
  display: none;
  margin-top: var(--space-4);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
}

.form-status.ok {
  display: block;
  background: rgba(38, 166, 91, 0.12);
  border: 1px solid rgba(38, 166, 91, 0.4);
  color: #7fd6a4;
}

.form-status.err {
  display: block;
  background: rgba(225, 6, 0, 0.1);
  border: 1px solid rgba(225, 6, 0, 0.4);
  color: #ff8a85;
}

.contact-page__submit[disabled] {
  opacity: 0.6;
  cursor: default;
}

/* honeypot */
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

/* page containers clear the floating nav */
.news-page, .contact-page { padding-top: 120px; }

/* ===== V2 — hero fit, glow CTAs, about tilt card, news cards ===== */

/* hero: always show the full video frame, never crop the sides */
.hero { min-height: 260px; height: min(38vw, 90vh); }
.hero__video-bg { display: flex; align-items: center; }
.hero__video-bg video { object-fit: cover; height: min(33vw, 100%); }
@media (max-width: 768px) { .hero__scroll-indicator { display: none; } }

/* --- glow CTA (conic-gradient border shine) --- */
@property --gradient-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@property --gradient-percent { syntax: "<percentage>"; initial-value: 8%; inherits: false; }
@property --gradient-shine { syntax: "<color>"; initial-value: #ff4d45; inherits: false; }

.shiny-cta {
  --sc-bg: #151010;
  --sc-bg-subtle: #2a1414;
  --sc-hl: #e10600;
  --sc-hl-subtle: #ff4d45;
  isolation: isolate;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  outline-offset: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .74rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  line-height: 1.2;
  background: linear-gradient(var(--sc-bg), var(--sc-bg)) padding-box,
    conic-gradient(from var(--gradient-angle), transparent, var(--sc-hl) var(--gradient-percent), var(--gradient-shine) calc(var(--gradient-percent) * 2), var(--sc-hl) calc(var(--gradient-percent) * 3), transparent calc(var(--gradient-percent) * 4)) border-box;
  box-shadow: inset 0 0 0 1px var(--sc-bg-subtle), 0 10px 30px rgba(0, 0, 0, .25);
  animation: gradient-angle 3.2s linear infinite;
  transition: --gradient-percent .8s cubic-bezier(.25, 1, .5, 1), --gradient-shine .8s cubic-bezier(.25, 1, .5, 1), transform .2s;
}

.shiny-cta:active { transform: translateY(1px); }

.shiny-cta::after {
  content: "";
  pointer-events: none;
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  z-index: -1;
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(-50deg, transparent, rgba(225, 6, 0, .55), transparent);
  mask-image: radial-gradient(circle at bottom, transparent 40%, black);
  -webkit-mask-image: radial-gradient(circle at bottom, transparent 40%, black);
  opacity: .5;
  animation: shimmer 6s linear infinite;
}

.shiny-cta:is(:hover, :focus-visible) { --gradient-percent: 20%; --gradient-shine: var(--sc-hl-subtle); }
.shiny-cta svg { width: 18px; height: 12px; }

@keyframes gradient-angle { to { --gradient-angle: 360deg; } }
@keyframes shimmer { to { rotate: 360deg; } }
@media (prefers-reduced-motion: reduce) { .shiny-cta, .shiny-cta::after { animation: none; } }

.ft .shiny-cta { padding: 12px 24px; font-size: .66rem; margin-bottom: var(--space-6); }
.contact-page__submit.shiny-cta { align-self: flex-start; }

/* --- about: tilt-card section --- */
.philo {
  position: relative;
  overflow: hidden;
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
  padding: var(--space-24) var(--space-6);
}

.philo .phi-glow {
  position: absolute;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(225, 6, 0, .12), transparent 65%);
  right: -200px;
  top: -200px;
  pointer-events: none;
}

.philo .phi-grid {
  max-width: var(--page-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.philo .phi-intro .section-eyebrow { display: inline-block; margin-bottom: 16px; }

.philo .phi-intro h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text);
}

.philo .phi-intro p {
  margin-top: 20px;
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text-muted);
  max-width: 48ch;
}

.philo .phi-intro .note {
  margin-top: 26px;
  font-size: .66rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--color-text-faint);
}

@media (hover: none) { .philo .phi-intro .note { display: none; } }

.persp { perspective: 1200px; --rx: 0deg; --ry: 0deg; --lift: 0; justify-self: center; width: 100%; max-width: 520px; }
.persp .stage { transform-style: preserve-3d; }

.persp .pcard {
  padding: 44px;
  will-change: transform;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .45);
}

.pcard p {
  font-family: var(--font-body);
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--color-text);
  margin-bottom: 1em;
  font-weight: 500;
}

.pcard p:last-of-type { margin-bottom: 0; }

.hl {
  display: inline-block;
  border-radius: 3px;
  padding: 0 6px;
  color: #fff;
  background: var(--hl-bg);
  will-change: transform, box-shadow;
  transform: translate(calc(-8px * var(--lift)), calc(-6px * var(--lift)));
  box-shadow: rgba(var(--hl-ring), calc(.8 * var(--lift))) 2px 1.5px 0 .75px, rgba(var(--hl-ring), calc(.3 * var(--lift))) 8px 4px 4px 0;
  font-style: italic;
}

.hl.a { --hl-bg: #e10600; --hl-ring: 225, 6, 0; }
.hl.b { --hl-bg: #8f0803; --hl-ring: 143, 8, 3; }
.hl.c { --hl-bg: #4f0502; --hl-ring: 79, 5, 2; }

.pcard .sig { margin-top: 26px; display: flex; align-items: center; gap: 12px; color: var(--color-text-faint); }
.pcard .sig img { height: 16px; width: auto; opacity: .9; }
.pcard .sig span { font-size: .62rem; letter-spacing: .26em; text-transform: uppercase; font-weight: 500; }

@media (max-width: 900px) {
  .philo .phi-grid { grid-template-columns: 1fr; gap: 40px; }
  .persp .pcard { padding: 30px; }
}

/* --- news: article cards --- */
.news-page__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  padding: 60px 24px 90px;
  max-width: 1100px;
}

.news-page__article {
  width: auto;
  margin: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: transform .35s cubic-bezier(.22, 1, .36, 1), border-color .35s, box-shadow .35s;
}

.news-page__article:hover {
  transform: translateY(-5px);
  border-color: rgba(225, 6, 0, .55);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .45);
}

.news-page__article-title {
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  font-style: normal;
  font-weight: 500;
  text-align: left;
  line-height: 1.35;
  margin-bottom: 14px;
}

.news-page__article-excerpt { margin-bottom: 20px; }

.news-page__article-readmore {
  margin-top: auto;
  align-self: flex-start;
  color: var(--color-red);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.news-page__article-readmore::after { content: "\2192"; transition: transform .3s; }
.news-page__article:hover .news-page__article-readmore::after { transform: translateX(4px); }
.news-page__article-readmore:hover { color: var(--color-red-hover); }

@media (max-width: 767px) {
  .news-page__list { grid-template-columns: 1fr; padding: 40px 16px 60px; }
  .news-page__article { width: auto; }
}

/* ===== V3 — bigger mission section, GB-style contact form ===== */
.hero-text { padding: 90px 24px; }
.hero-text__heading { font-size: clamp(26pt, 3.6vw, 38pt); line-height: 1.08; }
.hero-text__desc { font-size: clamp(14pt, 1.7vw, 19pt); line-height: 1.45; max-width: 860px; }
@media (max-width: 768px) {
  .hero-text { padding: 60px 20px; }
  .hero-text__heading { font-size: 22pt; line-height: 1.15; }
}
@media (max-width: 480px) {
  .hero-text__heading { font-size: 19pt; line-height: 1.2; }
}

/* --- contact: two-column layout with form card --- */
.contact-grid2 {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 0 var(--space-6) var(--space-20);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.formcard {
  background: var(--color-surface-2);
  border: 1px solid var(--color-divider);
  border-radius: 18px;
  padding: 32px 30px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}

.formcard h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: 1px;
  line-height: 1.15;
}

.formcard .fsub { color: var(--color-text-muted); font-size: .9rem; margin: 8px 0 22px; }

.field { margin-bottom: 14px; }

.field label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 9px;
  color: var(--color-text);
  font-family: inherit;
  font-size: 15px;
  padding: 12px 14px;
  outline: none;
  transition: border-color .15s;
  -webkit-appearance: none;
  appearance: none;
}

.field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' stroke='%23a0a0a0' stroke-width='2' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.field select:invalid { color: var(--color-text-faint); }
.field textarea { resize: vertical; min-height: 130px; }

.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--color-red); }

.split2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 420px) { .split2 { grid-template-columns: 1fr; } }

.formcard .shiny-cta { width: 100%; margin-top: 8px; }

.contact-left .contact-page__details { margin-bottom: 0; }

@media (max-width: 900px) {
  .contact-grid2 { grid-template-columns: 1fr; gap: 40px; }
}

/* ===== V4 — centered contact page with ambient background ===== */
.contact-page--center {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 150px 24px 110px;
}

.contact-bg { position: absolute; inset: 0; pointer-events: none; }


.contact-bg .glow { position: absolute; border-radius: 50%; filter: blur(90px); }

.contact-bg .g1 {
  width: 520px; height: 520px; top: -120px; left: 6%;
  background: radial-gradient(circle, rgba(225, 6, 0, .34), transparent 65%);
  animation: drift-a 16s ease-in-out infinite alternate;
}

.contact-bg .g2 {
  width: 640px; height: 640px; bottom: -220px; right: 2%;
  background: radial-gradient(circle, rgba(140, 10, 8, .42), transparent 65%);
  animation: drift-b 20s ease-in-out infinite alternate;
}

@keyframes drift-a { to { transform: translate(70px, 50px) scale(1.1); } }
@keyframes drift-b { to { transform: translate(-80px, -40px) scale(1.06); } }
@media (prefers-reduced-motion: reduce) { .contact-bg .glow { animation: none; } }

.formcard--center {
  position: relative;
  width: 100%;
  max-width: 620px;
  background: rgba(26, 26, 26, .82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.formcard--center h1 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 600;
  font-size: 1.7rem;
  letter-spacing: 1px;
  line-height: 1.15;
}

/* ===== V5 — floating paths background (ported from 21st.dev background-paths) ===== */
.contact-bg .glow { opacity: .7; }

.contact-bg .fpaths { position: absolute; inset: 0; color: #fff; }

.contact-bg .fpaths svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  will-change: opacity, transform;
}

.contact-bg .fpaths .fp-a { animation: fp-breathe-a 16s ease-in-out infinite; }
.contact-bg .fpaths .fp-b { animation: fp-breathe-b 22s ease-in-out infinite; }

@keyframes fp-breathe-a {
  0%, 100% { opacity: .35; transform: translate3d(0, 0, 0); }
  50% { opacity: .7; transform: translate3d(-14px, 8px, 0); }
}

@keyframes fp-breathe-b {
  0%, 100% { opacity: .6; transform: translate3d(0, 0, 0); }
  50% { opacity: .3; transform: translate3d(12px, -6px, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .contact-bg .fpaths .fp-a, .contact-bg .fpaths .fp-b { animation: none; opacity: .5; }
}

/* ===== V6 — studio cards: chrome, overlay captions, hover video previews ===== */
.card-gallery { gap: 16px; }

.card {
  border: 1px solid var(--color-divider);
  border-radius: 12px;
  transition: transform .35s cubic-bezier(.22, 1, .36, 1), border-color .35s, box-shadow .35s;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(225, 6, 0, .55);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .5);
}

.card:focus-visible {
  outline: 2px solid var(--color-red);
  outline-offset: 3px;
}

/* the media fills the card; caption overlays a scrim */
.card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, .35) 70%, rgba(0, 0, 0, .88) 100%);
  z-index: 2;
  transition: opacity var(--transition-base);
  pointer-events: none;
}

.card__preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .45s ease;
  z-index: 1;
}

.card__preview.on { opacity: 1; }

.card__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  background: none;
  padding: var(--space-4);
}

.card__title { margin-bottom: 2px; }
.card__credit { color: var(--color-text-muted); }

.card__play {
  z-index: 3;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(10, 10, 10, .45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .35);
  color: #fff;
}

.card__play svg { width: 22px; height: 22px; }
.card__play svg circle { display: none; }

.card:hover .card__play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--color-red);
  border-color: var(--color-red);
}

/* touch devices: no hover, keep the affordance visible */
@media (hover: none) {
  .card__play { opacity: .85; }
}
