/* Global */
:root {
  --sa-bg: #000000;
  --sa-bg-elevated: #050505;
  --sa-bg-soft: #080808;
  --sa-text: #f5f5f5;
  --sa-muted: #8c8c8c;
  --sa-border-subtle: #222222;
  --sa-accent: #5cff9c; /* terminal green accent */
  --sa-radius-lg: 18px;
  --sa-radius-md: 12px;
  --sa-radius-sm: 8px;
  --sa-shadow-soft: 0 20px 45px rgba(0, 0, 0, 0.55);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at top, #151520 0, var(--sa-bg) 40%, #02020a 100%);
  color: var(--sa-text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  min-height: 100vh;
  position: relative;
}

body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.04) 0,
    rgba(255, 255, 255, 0.04) 1px,
    transparent 1px,
    transparent 3px
  );
  mix-blend-mode: soft-light;
  opacity: 0.08;
  z-index: 0;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* Header */
.sa-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(5, 5, 9, 0.96), rgba(5, 5, 9, 0.78));
}

.sa-header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sa-logo img {
  height: 72px;
}

.sa-nav {
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 0.9rem;
}

.sa-nav a {
  color: var(--sa-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  font-size: 0.78rem;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}

.sa-nav a:hover {
  color: var(--sa-text);
  border-color: rgba(255, 255, 255, 0.12);
}

.sa-nav a.sa-nav-active {
  color: var(--sa-text);
  border-color: rgba(255, 255, 255, 0.4);
}

/* Hamburger button */
.sa-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 20;
}

.sa-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--sa-text);
  border-radius: 2px;
  transition: all 0.2s ease;
}

/* Mobile nav */
@media (max-width: 768px) {
  .sa-hamburger {
    display: flex;
  }

  .sa-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(5, 5, 9, 0.98);
    padding: 16px 24px 24px;
    gap: 0;
    border: 1px solid var(--sa-border-subtle);
    border-radius: 0 0 var(--sa-radius-md) var(--sa-radius-md);
    z-index: 100;
    min-width: 180px;
  }

  .sa-nav.sa-nav-open {
    display: flex;
  }

  .sa-nav a {
    padding: 12px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--sa-border-subtle);
  }

  .sa-nav a:last-child {
    border-bottom: none;
  }

  .sa-header-inner {
    position: relative;
  }
}

/* (header CTA pill removed; using standard nav link for Lets Talk) */

/* Main */
.sa-main {
  max-width: 1120px;
  margin: 0 auto 80px;
  padding: 0 20px 80px;
  min-height: calc(100vh - 200px);
}

/* Hero */
.sa-hero {
  padding: 56px 0 40px;
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
}

.sa-hero::before,
.sa-hero::after {
  content: none;
}

.sa-hero-content {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.sa-tagline {
  margin: 0 0 10px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--sa-muted);
}

.sa-hero h1 {
  margin: 0 0 8px;
  font-family: "Anton", system-ui, sans-serif;
  font-size: clamp(2.4rem, 4vw, 3.1rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.sa-hero-subtitle {
  margin: 0 0 20px;
  font-family: "Anton", system-ui, sans-serif;
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ff7b4a;
  font-weight: normal;
}

/* Contact / Let's Talk page hero */
.sa-contact-hero {
  min-height: calc(100vh - 120px);
  align-items: flex-start;
  padding-top: 60px;
}

@media (max-width: 768px) {
  .sa-hero {
    padding: 0;
    align-items: center;
  }

  .sa-contact-hero {
    padding-top: 40px;
    justify-content: flex-start;
  }
}

.sa-contact-hero-info {
  font-size: 1.1rem;
  color: var(--sa-text);
  letter-spacing: 0.04em;
}

.sa-contact-hero-info a {
  color: var(--sa-text);
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.sa-contact-hero-info a:hover {
  color: #ff7b4a;
  border-color: #ff7b4a;
}

/* (hero services line removed per design tweak) */

.sa-hero-copy {
  margin: 20px 0 0;
  color: var(--sa-text);
  max-width: none;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
}

.sa-hero-copy a {
  color: var(--sa-text);
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.sa-hero-copy a:hover {
  color: #ff7b4a;
  border-color: #ff7b4a;
}

.sa-hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.sa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, border 0.12s ease;
}

.sa-btn-primary {
  background: transparent;
  border-color: #ffffff;
  color: #ffffff;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.6);
}

.sa-btn-hero {
  font-size: 0.9rem;
  letter-spacing: 0.22em;
}

.sa-btn-primary:hover {
  background: #ff7b4a;
  border-color: #ff7b4a;
  color: #000;
}

.sa-btn-ghost {
  background: rgba(16, 16, 23, 0.95);
  border-color: rgba(255, 255, 255, 0.12);
}

.sa-btn-ghost:hover {
  background: rgba(22, 22, 32, 1);
}

/* Sections */
.sa-section {
  margin-top: 60px;
  scroll-margin-top: 120px; /* slightly more breathing room below sticky header */
}

/* No gap between header and first section on content pages */
.sa-main > .sa-section:first-of-type {
  margin-top: 0 !important;
  padding-top: 16px;
}

.sa-section-header {
  margin-bottom: 24px;
}

.sa-section-header h2 {
  margin: 0 0 6px;
  font-size: 1.1rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  /* Use the original header font, just update the color to match the logo */
  color: #ff7b4a;
}

.sa-section-header p {
  margin: 0;
  color: var(--sa-muted);
  max-width: 520px;
}

.sa-grid {
  display: grid;
  gap: 18px;
}

.sa-grid-2 {
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.3fr);
}



/* Map chooser modal */
.sa-map-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 200;
  align-items: flex-end;
  justify-content: center;
  padding: 0 0 24px;
}

.sa-map-modal.sa-map-modal-open {
  display: flex;
}

.sa-map-modal-box {
  background: var(--sa-bg-elevated);
  border-radius: var(--sa-radius-lg);
  width: 100%;
  max-width: 420px;
  padding: 20px 20px 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sa-map-modal-title {
  font-size: 0.8rem;
  color: var(--sa-muted);
  text-align: center;
  margin: 0 0 4px;
  letter-spacing: 0.04em;
}

.sa-map-modal-btns {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sa-map-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  background: #fff;
  border-radius: 999px;
  font-size: 0.95rem;
  color: #111;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
  width: 200px;
  margin: 0 auto;
  font-weight: 600;
}

.sa-map-btn img {
  flex-shrink: 0;
}

.sa-map-btn:hover {
  background: var(--sa-accent);
  color: #000;
}

.sa-map-cancel {
  background: none;
  border: none;
  color: var(--sa-muted);
  font-size: 0.9rem;
  padding: 12px;
  cursor: pointer;
  text-align: center;
  width: 100%;
}

.sa-map-cancel:hover {
  color: var(--sa-text);
}

/* Lazy-load video placeholders */
.sa-lazy-video {
  cursor: pointer;
}

.sa-lazy-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.7);
  color: #fff;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  padding-left: 5px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.sa-lazy-video:hover .sa-lazy-play {
  background: rgba(255,255,255,0.28);
  transform: translate(-50%, -50%) scale(1.08);
}

.sa-lazy-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Flush section (no top margin) */
.sa-section-flush {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Select Casting portal */
.sa-casting-portal {
  position: relative;
  width: 100%;
  border-radius: var(--sa-radius-lg);
  overflow: hidden;
  border: 1px solid var(--sa-border-subtle);
  background: #fff;
}

.sa-casting-iframe {
  width: 100%;
  height: 80vh;
  border: none;
  display: block;
}

.sa-casting-fallback {
  padding: 16px;
  text-align: center;
  background: var(--sa-bg-elevated);
}

/* People grid: force 2 x 2 equal-height pills */
.sa-people-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sa-people-grid .sa-person-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
}

/* Commercial section: 2-up grid of spots on desktop */
#commercial .sa-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* No border on video panels — clean edge */
#commercial .sa-panel {
  border: none;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.sa-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sa-panel {
  background: #050505;
  border-radius: var(--sa-radius-lg);
  border: 1px solid var(--sa-border-subtle);
  padding: 18px 18px 18px;
  box-shadow: var(--sa-shadow-soft);
}

.sa-panel h3 {
  margin: 0 0 8px;
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* Select Casting panel (keep in line with other panels, no extra orange pill) */
.sa-panel-select-casting {
  /* Inherit default .sa-panel background and border */
}

#casting .sa-select-headline {
  margin: 0 0 10px;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
}

/* Fine-tune spacing inside Select Casting panel */
#casting .sa-panel-select-casting .sa-panel-copy:first-of-type {
  margin-top: 6px; /* space between headline and first sentence */
}

#casting .sa-panel-select-casting .sa-bullet-checklist {
  margin: 10px 0 12px;
}

.sa-panel h4 {
  margin: 10px 0 4px;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sa-muted);
}

.sa-panel-copy {
  margin: 0 0 12px;
  color: var(--sa-muted);
}

/* Make Select Casting copy white for readability */
.sa-panel-select-casting .sa-panel-copy,
.sa-panel-select-casting .sa-bullet-checklist {
  color: var(--sa-text);
}

.sa-panel-list ul {
  margin: 0;
  padding-left: 18px;
  color: var(--sa-muted);
}

.sa-panel-list li + li {
  margin-top: 4px;
}

/* Checklist bullets for Select Casting block */
.sa-bullet-checklist {
  list-style: none;
  margin: 6px 0 10px;
  padding: 0;
}

.sa-bullet-checklist li {
  position: relative;
  padding-left: 20px;
}

.sa-bullet-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #ff7b4a;
  font-size: 0.8rem;
  line-height: 1.4;
}

/* Video */
.sa-video-frame {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  border: none;
  background: #000;
  aspect-ratio: 16 / 9;
  width: 100%;
}

.sa-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ADR/Animation credits section label */
.sa-credits-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--sa-muted);
  text-transform: uppercase;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--sa-border-subtle);
}

/* Voiceover credits columns */
.sa-vo-credits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 2.5rem;
}

.sa-vo-column h3 {
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sa-muted);
  margin-bottom: 0.5rem;
}

.sa-vo-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
}

.sa-vo-column li {
  margin-bottom: 0.3rem;
}

@media (max-width: 768px) {
  .sa-vo-credits {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ADR Photos */
.sa-panel-photo {
  display: flex;
  flex-direction: column;
  padding: 0;
}

.sa-photo-placeholder {
  border-radius: var(--sa-radius-lg);
  border: none;
  overflow: hidden;
  background: #050505;
  flex: 1;
  min-height: 200px;
}

.sa-photo-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Voiceover photo gallery — dedicated square grid, no shared class conflicts */
.sa-vo-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sa-gap);
  margin-bottom: var(--sa-gap);
}

.sa-vo-photo-tile {
  position: relative;
  width: 100%;
  padding-top: 100%;
  overflow: hidden;
  border-radius: var(--sa-radius-lg);
  background: #050505;
}

.sa-vo-photo-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}


.sa-photo-caption {
  margin: 10px 0 0;
  font-size: 0.78rem;
  color: var(--sa-muted);
}

/* Parking previews */
.sa-parking-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 10px;
}

.sa-parking-item {
  display: flex;
  flex-direction: column;
}

.sa-parking-preview {
  border-radius: var(--sa-radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  background: #050505;
  margin-bottom: 8px;
}

.sa-parking-preview iframe,
.sa-parking-preview img {
  width: 100%;
  height: 420px; /* unified window size for both locations */
  border: none;
  /* Center-crop so both maps fill the frame similarly */
  object-fit: cover;
}

/* Argyle map: shift right to show building front on Argyle Ave */
.sa-argyle-map {
  object-position: 20% center;
}

/* Animation & ADR tiles */
.sa-grid-animation {
  align-items: stretch;
}

.sa-show-toggle-row {
  margin-top: 10px;
  text-align: right;
}

.sa-show-toggle {
  background: none;
  border: none;
  color: var(--sa-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
}

.sa-show-toggle:hover {
  color: var(--sa-text);
}

/* Extra show tiles are hidden until expanded */
#commercial-videos .sa-show-extra,
#adr-shows .sa-show-extra,
#animation-shows .sa-show-extra {
  display: none;
}

#commercial-videos.sa-expanded .sa-show-extra,
#adr-shows.sa-expanded .sa-show-extra,
#animation-shows.sa-expanded .sa-show-extra {
  display: block;
}

.sa-panel-select {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  background: radial-gradient(circle at top left, rgba(255, 123, 74, 0.25), #050505);
  border-color: rgba(255, 123, 74, 0.5);
}

.sa-select-logo-row {
  margin-bottom: 8px;
}

.sa-select-logo-row-main {
  margin-bottom: 10px;
}

.sa-select-logo {
  height: 32px;
}

.sa-select-headline {
  margin: 0 0 6px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sa-select-actions {
  margin-top: 4px;
  text-align: center;
}

.sa-select-btn {
  font-size: 0.75rem;
}

.sa-show-tile {
  border-radius: var(--sa-radius-lg);
  border: 1px solid var(--sa-border-subtle);
  padding: 16px;
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.06), rgba(8, 8, 14, 1));
  box-shadow: var(--sa-shadow-soft);
}

.sa-show-image {
  border-radius: var(--sa-radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #050505;
  overflow: hidden;
  margin-bottom: 8px;
  aspect-ratio: 2/3;
}

.sa-show-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sa-show-tile h3 {
  margin: 4px 0 2px;
  font-size: 0.96rem;
}

.sa-show-meta {
  margin: 0;
  font-size: 0.8rem;
  color: var(--sa-muted);
}

/* People */
.sa-people-grid {
  gap: 16px;
}

.sa-person-card {
  border-radius: var(--sa-radius-lg);
  border: 1px solid var(--sa-border-subtle);
  padding: 16px;
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.04), rgba(8, 8, 14, 1));
  box-shadow: var(--sa-shadow-soft);
}

.sa-person-card h3 {
  margin: 0 0 4px;
  font-size: 0.95rem;
}

.sa-person-role {
  margin: 0;
  font-size: 0.8rem;
  color: var(--sa-muted);
}

/* Contact */
.sa-section-contact {
  margin-top: 80px;
}

.sa-contact-box {
  margin-top: 12px;
  padding: 18px 18px 16px;
  border-radius: var(--sa-radius-lg);
  background: rgba(10, 10, 16, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.85);
}

.sa-contact-line {
  margin: 0 0 6px;
}

.sa-contact-line.small {
  font-size: 0.8rem;
  color: var(--sa-muted);
}

.sa-contact-box a {
  color: var(--sa-text);
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

/* Footer */
.sa-footer {
  border-top: none;
  padding: 12px 20px;
  text-align: center;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.2);
  background: transparent;
  letter-spacing: 0.04em;
}

/* Responsive */
@media (max-width: 820px) {
  .sa-header-inner {
    padding-inline: 16px;
  }

  .sa-nav {
    display: none; /* keep it ultra-minimal for now on mobile */
  }

  .sa-main {
    padding-inline: 16px;
  }

  .sa-grid-2,
  .sa-grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  #adr-shows,
  #animation-shows {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* On mobile, keep Commercial videos stacked 1-up */
  #commercial .sa-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .sa-contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}
