body {
    background-color: black;
    width: 100%;
    overflow-x: hidden;
}

.ms25-relative {
    position: relative;
}

.ms-page-homepage main#app {
    position: relative;
    width: 100%;
    height: 100%;       
    overflow-x: hidden;
    overflow-y: auto; 
    -webkit-overflow-scrolling: touch; 
}

.ms-page-homepage main#app #bg-video {
    height: 90vh;
    width: 100%;
    object-fit: cover;
    position: absolute;
    top: 5vh;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.ms-page-homepage .ms25-header {
    background-color: #000;
}

.ms-page-homepage .ms25-header + .ms25-container {
    margin-top: 5vh;
}

.ms25-header {
    width: 100%;
    position: fixed;
    top: 0px;
    z-index: 100;
}

.ms25-header .ms25-nav-link {
    color: white;
    text-decoration: none;
    display: inline-block;
    padding: 4px 8px;
}

.ms25-primary-cta {
    background-color: var(--ms25-primary);
    color: black;
    padding: 12px 24px;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: bold;
}

/* === Footer base === */
.ms25-footer {
  overflow: hidden;
  /* Generous vertical rhythm; you can increase using your larger utilities if desired */
}

.ms25-footer .ms25-container {
  position: relative;
}


.footer-left {
    padding-top: 80px;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
}

/* Dotted grid background on dark surface */
.footer-bg {
  background-color: #0d0d0d; /* Dark canvas */
  background-image: radial-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px);
    background-size: 40px 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;    /* Mobile: single column */
  gap: calc(var(--ms25-space-multiplier) * 10);
  padding-block: clamp(2rem, 9vw, 10rem);
}

/* ≥768px: left/right columns (2:1) */
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr; }
}

/* ≥1200px: scale spacing slightly */
@media (min-width: 1200px) {
  .footer-grid { gap: calc(var(--ms25-space-multiplier) * 14); }
}

/* Kicker labels like “GIVE A RING”, “DROP A LINE”, “FIND US”, “FOLLOW US AT” */
.footer-kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* Main lines (phone, email) */
.footer-line {
  line-height: 1.35;
}

/* Links: white by default, accent on hover/focus */
.footer-link,
.footer-address a,
.footer-icons a {
  color: var(--ms25-primary);
  text-decoration: none;
}
.footer-link:hover,
.footer-link:focus,
.footer-icons a:hover svg,
.footer-icons a:focus svg {
  color: var(--ms25-accent);
  fill: var(--ms25-accent);
}

/* Address styling */
.footer-address {
  font-style: normal; /* avoid italic on <address> */
  opacity: 0.9;
  font-size: 22px;
}

/* Social icons row */
.footer-icons .footer-icon svg {
  display: block;
  width: 24px;
  height: 24px;
  fill: var(--ms25-primary);
  transition: fill 160ms ease, transform 160ms ease;
}
.footer-icons .footer-icon:hover svg {
  transform: translateY(-1px);
}

/* Giant watermark text behind content */
.footer-watermark {
  position: absolute;
  pointer-events: none;
  user-select: none;
  right: 5%;
  top: 8%;
  line-height: 0.9;
  font-weight: 800;
  text-transform: uppercase;
  color: rgba(255,255,255,0.1); /* subtle, like in the image */
  /* Responsive size using clamp to adapt to screens */
  font-size: clamp(3rem, 10vw, 10rem);
  letter-spacing: 0.02em;
  text-align: right;
}

/* Scale watermark more on larger screens */
@media (min-width: 768px) {
  .footer-watermark { font-size: clamp(5rem, 8vw, 12rem); }
}

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

/* Shared section rhythm */
.ms25-section { padding-block: clamp(2rem, 8vw, 6rem); }

/* Dotted dark canvas */
.hero-bg {
  background-color: #0d0d0d;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 22px 22px;
}

/* Grid: mobile 1col → tablet+ 2:1 split */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr; /* mobile */
  gap: calc(var(--ms25-space-multiplier) * 12);
}
@media (min-width: 768px) {
  .hero-grid { grid-template-columns: 2fr 1fr; }
}

/* Headline scale & weight */
.hero-heading {
  font-weight: 800;
  line-height: 0.98;
  /* Use your responsive utilities for size; this is a safety default */
  font-size: clamp(2rem, 5vw, 4.5rem);
}

/* Each line stays on its own row */
.hero-line { display: inline-block; }

/* Right column divider: vertical on tablet+, subtle on mobile */
.hero-right {
  color: rgba(255,255,255,0.82);
  max-width: 40ch;
}
@media (min-width: 768px) {
  .hero-right {
    
  }

  .hero-right .hero-copy {
    margin-top: 8rem;
    padding-left: clamp(1rem, 2.6vw, 2rem);
    border-left: 1px solid rgba(255,255,255,0.25);
  }
}
/* On mobile, use a top divider instead */
@media (max-width: 767.98px) {
  .hero-right {
    border-top: 1px solid rgba(255,255,255,0.18);
    padding-top: 1rem;
    margin-top: 1rem;
  }
}
.spacer { height: 1.5rem; }
.hero-copy { font-weight: 500; }


/* Light surface */
.section-light { background-color: #ffffff; }

/* Grid: mobile 1col → tablet+ 60/40 */
.content-grid {
  display: grid;
  grid-template-columns: 1fr; /* mobile */
  gap: clamp(1.25rem, 3vw, 2rem);
}
@media (min-width: 768px) {
  .content-grid { grid-template-columns: 3fr 2fr; }
}

/* Kicker */
.content-kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

/* Title scale and rhythm */
.content-title {
  font-weight: 800;
  line-height: 1.05;
  /* default clamp; you can override with your utilities if needed */
  font-size: clamp(1.8rem, 4.6vw, 3.2rem);
}

/* Body copy */
.content-body {
  max-width: 60ch;
  color: #222;
  opacity: 0.92;
  line-height: 1.6;
}

/* Result cards */
.result-list { list-style: none; padding: 0; margin: 0; }

.result-card {
  display: grid;
  grid-template-columns: 1fr; /* label stacked above main text */
  gap: 0.35rem;
  background-color: #f8f8f8;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  padding: clamp(0.9rem, 2.4vw, 1.25rem);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}
.result-card:hover {
  border-color: #dcdcdc;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.result-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  color: #6a6a6a;
  font-weight: 700;
}

.result-text {
  font-weight: 700;
  color: #111;
  /* feel free to bump using your utilities: ms25-text-md → md:ms25-text-lg */
  font-size: clamp(1rem, 2.6vw, 1.125rem);
}


/* Base rhythm shared across sections */
.ms25-section { padding-block: clamp(2rem, 8vw, 10rem); }

/* Dark dotted canvas */
.team-bg {
  background-color: #0d0d0d;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  position: relative;
  overflow: hidden;
}

/* Grid: mobile = 1 column (stacked rows); tablet+ = 3 columns */
.team-grid {
  display: grid;
  grid-template-columns: 1fr; /* mobile */
  gap: clamp(1.25rem, 3vw, 2rem);
}
@media (min-width: 768px) {
  .team-grid { grid-template-columns: 1fr 0.25fr 1fr; } /* 3 columns with narrow spine */
}
@media (min-width: 1200px) {
  .team-grid { gap: clamp(1.5rem, 2.6vw, 2.5rem); }
}

/* Watermark "founding team" behind content */
.team-watermark {
  position: absolute;
  pointer-events: none;
  user-select: none;
  right: 4%;
  top: 6%;
  color: rgba(255,255,255,0.06);
  font-weight: 800;
  text-transform: lowercase; /* as in the reference image */
  letter-spacing: 0.02em;
  font-size: clamp(3rem, 12vw, 9rem);
  line-height: 0.9;
}

/* Team cards (left & right columns) */
.team-card {
  position: relative;
  z-index: 1; /* sit above watermark */
  max-width: 62ch; /* comfortable text width */
}

/* Names & roles */
.team-name {
  font-weight: 800;
  line-height: 1.05;
  font-size: clamp(1.8rem, 4.6vw, 3rem); /* use utilities if you prefer */
}

.team-role {
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Bio blocks */
.team-bio-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem; /* or ms25-text-sm */
}

.team-bio-text {
  line-height: 1.65;
  color: rgba(255,255,255,0.92);
}

/* Middle spine column */
.team-spine {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Vertical divider line (hidden on mobile to avoid clutter) */
.spine-line {
  display: none;
}
@media (min-width: 768px) {
  .spine-line {
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 78%;
    background: rgba(255,255,255,0.18);
  }
}

/* Vertical "AJAYS" text */
.spine-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-weight: 800;
  color: rgba(255,255,255,0.08);
  font-size: clamp(2rem, 6vw, 3.6rem);
  letter-spacing: 0.25em;
  position: relative;
}

/* Spacing adjustments when stacked on mobile to keep hierarchy clean */
@media (max-width: 767.98px) {
  .team-card + .team-spine { margin-top: 1.5rem; }
  .team-spine + .team-card { margin-top: 1.5rem; }
}


/* Section canvas */
.contact-bg {
  background-color: #0d0d0d;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  position: relative;
}

/* Headline scale; swap to your utilities if you prefer */
.contact-heading {
  font-weight: 800;
  line-height: 1;
  font-size: clamp(2.2rem, 6.5vw, 4.5rem);
  margin-bottom: 3rem;
}

/* Quick actions & social links */
.contact-actions a {
  color: var(--ms25-primary);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.22);
  padding-bottom: 0.25rem;
}
.contact-actions a:hover { color: var(--ms25-accent); border-color: var(--ms25-accent); }

.contact-social a svg {
  fill: var(--ms25-primary);
  transition: transform 160ms ease, fill 160ms ease;
}
.contact-social a:hover svg { transform: translateY(-1px); fill: var(--ms25-accent); }

/* Form styles */
.contact-form { margin-top: clamp(1.5rem, 4vw, 3rem); }

.form-field { display: flex; flex-direction: column; justify-content: flex-end; margin-bottom: 16px; }

.form-field-full { 
    grid-column: span 3;
}

.form-label {
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem; /* or use .ms25-text-sm */
  letter-spacing: 0.02em;
  margin-bottom: 0.35rem;
}

/* Underline input style */
.form-input {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.25);
  color: var(--ms25-primary);
  padding: 0.5rem 0;
  outline: none;
  transition: border-color 160ms ease;
}
.form-input::placeholder { color: rgba(255,255,255,0.45); }
.form-input:focus { border-bottom-color: var(--ms25-accent); }

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

/* Divider line */
.form-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.18);
  height: 1px;
}

/* Submit button – right aligned, minimalist */
.submit-btn {
  background: transparent;
  border: none;
  letter-spacing: 0.08em;
  font-weight: 700;
  padding: 0.75rem 0;
  cursor: pointer;
}
.submit-btn:hover { color: var(--ms25-accent); }
.submit-btn:focus-visible {
  outline: 2px solid var(--ms25-accent);
  outline-offset: 2px;
}

/* Simple inline error slot (optional JS can populate) */
.form-error {
  color: #ff6b6b;
  font-size: 0.8rem;
  min-height: 1em;
}



/* === Section background (dark + dotted) === */
.two-ajays-bg {
  background-color: #0d0d0d;
  background-image: radial-gradient(rgba(255,255,255,0.15) 1px, transparent 1px);
  background-size: 40px 40px;
  position: relative;
  overflow: hidden;
  padding-block: 2rem;
}

/* === Composition wrapper === */
/* Mobile: stacked column; Tablet+: three areas (left image / center text / right image) */
.two-ajays-wrap {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr; /* mobile */
  gap: clamp(1rem, 3vw, 2rem);
}
@media (min-width: 768px) {
  .two-ajays-wrap {
    grid-template-columns: 1fr 1fr 1fr; /* left / center / right */
  }
}

/* === Portraits === */
.two-ajays-portrait {
  display: flex;
  align-items: flex-end;
}
.portrait-img {
  width: 100%;
  max-width: 480px;           /* cap size to avoid overflow on desktop */
  height: auto;
  object-fit: cover;
  filter: grayscale(100%);     /* match monochrome tone */
  opacity: 0.95;
}

.two-ajays-right { justify-content: flex-end; }


@media only screen and (min-width: 768px) {
   .team-card-padding-top {
      margin-top: 70px;
   }   
}

/* On mobile, show portraits above and below the text with controlled spacing */
@media (max-width: 767.98px) {
  .two-ajays-left { order: 1; }
  .two-ajays-center { order: 2; }
  .two-ajays-right { order: 3; }
}

/* === Center text block === */
.two-ajays-center {
  padding-inline: clamp(0.5rem, 3vw, 1.25rem);
}

/* Title scale; use your utilities if you prefer (e.g., ms25-text-5xl md:ms25-text-7xl) */
.two-ajays-title {
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
  font-size: clamp(2rem, 6.5vw, 4rem);
  margin-bottom: clamp(0.5rem, 1.5vw, 1rem);
}

/* Subline (director/producer) */
.two-ajays-sub {
  font-weight: 700;
  letter-spacing: 0.16em;
  opacity: 0.9;
  font-size: clamp(0.9rem, 2.2vw, 1.1rem);
}

/* Tagline intro */
.two-ajays-tag {
  opacity: 0.8;
  font-weight: 600;
  font-size: clamp(0.85rem, 2vw, 1rem);
}

/* CTA headline */
.two-ajays-cta {
  font-weight: 900;
  letter-spacing: 0.06em;
  font-size: clamp(1.2rem, 3.5vw, 1.6rem);
  margin-top: 0.35rem;
}

/* Subtle animation on hover (optional) */
.two-ajays-cta:hover {
  color: var(--ms25-accent);
}

/* === Spacing tweaks on wide screens === */
@media only screen and (max-width: 768px) {
  .team-spine {
      display: none;
  }
  .team-card-padding-top {
      padding-top: 5rem;
  }
    
  .two-ajays-bg {
    position: relative;
    z-index: 0;
    min-height: 90vh;
    padding-block: 10rem 4rem;
  }
  figure.two-ajays-portrait {
    position: absolute;
    z-index: -1;
  }
  
  figure.two-ajays-portrait.two-ajays-left {
    left: -41vw;
    top: 0px;
  }
  
  figure.two-ajays-portrait.two-ajays-right {
    right: -50vw;
    top: 0px;
  }
}

.ms-page-directors .two-ajays-wrap {
        grid-template-columns: 3fr 2fr;
}


/* Reveal Animations */
.reveal-up { opacity: 0; transform: translateY(70px); transition: opacity 1.5s ease, transform 1.5s ease; }
.reveal-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { animation-delay: 1s; }
.delay-2 { animation-delay: 2.5s; }
.delay-3 { animation-delay: 4s; }

.reveal-left { opacity: 0; transform: translateX(-70px); transition: opacity 1.5s ease, transform 1.5s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right { opacity: 0; transform: translateX(70px); transition: opacity 1.5s ease, transform 1.5s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.type-writer-cursor {
  animation: blink 0.7s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* 1. The Mask Container */
.slide-up-reveal .mask-container {
  overflow: hidden; /* This hides anything outside the box */
  display: inline-block; /* Fits the width of the content */
  line-height: 1.2; /* Adjust spacing */
}

/* 2. The Text */
.slide-up-reveal .text-reveal {
  
  /* Start position: pushed down 100% of its own height */
  transform: translateY(120%); 
  
  /* The Animation */
  animation: revealText 1.5s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

/* 3. The Animation Keyframes */
@keyframes revealText {
  0% {
    transform: translateY(120%); /* Start hidden below */
  }
  100% {
    transform: translateY(0);    /* End visible in place */
  }
}

.slide-down-reveal .mask-container {
  overflow: hidden; /* This hides anything outside the box */
  display: inline-block; /* Fits the width of the content */
  line-height: 1.2; /* Adjust spacing */
}

/* 2. The Text */
.slide-down-reveal .text-reveal {
  
  /* Start position: pushed down 100% of its own height */
  transform: translateY(-120%); 
  
  /* The Animation */
  animation: revealTextDown 1.5s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

/* 3. The Animation Keyframes */
@keyframes revealTextDown {
  0% {
    transform: translateY(-120%); /* Start hidden below */
  }
  100% {
    transform: translateY(0);    /* End visible in place */
  }
}



