/* ============================================
   FACULTY — Components
   ============================================ */

/* ══════════════════════════════════════════
   NAV
   Fixed, full-width, black 50% opacity always
   ══════════════════════════════════════════ */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: var(--color-nav-bg);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: var(--z-nav);
  display: flex;
  align-items: center;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 var(--content-pad-h);
}

.nav__logo img {
  height: 40px;
  width: auto;
  display: block;
  /* PLACEHOLDER: swap src for real logo SVG */
}

.nav__logo-placeholder {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--color-white);
  letter-spacing: 0.05em;
  /* Remove when real logo image is in */
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav__links a {
  font-family: var(--font-body);
  font-size: var(--text-nav);
  color: var(--color-white);
  transition: opacity var(--transition-fast);
}

.nav__links a:hover {
  opacity: 0.6;
}

/* Mobile nav */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: var(--space-xs);
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: var(--transition-fast);
}

@media (max-width: 768px) {
  .nav__links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.95);
    flex-direction: column;
    padding: var(--space-md);
    gap: var(--space-md);
    align-items: flex-start;
  }

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

  .nav__hamburger {
    display: flex;
  }
}

/* ══════════════════════════════════════════
   SOCIAL ICONS — Fixed left sidebar
   ══════════════════════════════════════════ */
#social-sidebar {
  position: fixed;
  right: var(--space-md);
  top: 50%;
  transform: translateY(-50%);
  z-index: var(--z-social);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.social-icon {
  display: block;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  overflow: hidden;
  filter: brightness(0) invert(1) opacity(0.5);
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.social-icon:hover {
  opacity: 0.7;
  transform: scale(1.08);
}

.social-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.social-icon--placeholder {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.2);
  /* Remove when real icons are in */
}

@media (max-width: 768px) {
  #social-sidebar {
    right: var(--space-sm);
    gap: var(--space-xs);
  }

  .social-icon {
    width: 28px;
    height: 28px;
  }
}

/* ══════════════════════════════════════════
   IMAGE CYCLER (How We Work)
   Fades through 7-8 images, 5s hold / 1s fade
   ══════════════════════════════════════════ */
.img-cycler {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: #111;
}

.img-cycler__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.img-cycler__slide.is-active {
  opacity: 1;
}

.img-cycler__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: ken-burns 6s ease-in-out forwards;
}

@keyframes ken-burns {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}

/* Placeholder slides */
.img-cycler__slide--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #222;
  color: rgba(255,255,255,0.3);
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ══════════════════════════════════════════
   HOW WE WORK — right column copy
   ══════════════════════════════════════════ */
.how-we-work__copy {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.how-we-work__copy h2 {
  margin-bottom: var(--space-sm);
}

.how-we-work__copy p {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
}

.how-we-work-tight {
  line-height: 0.0 !important;
  margin: 0;
}

/* ══════════════════════════════════════════
   LOGO MARQUEE STRIP
   Infinite horizontal scroll
   ══════════════════════════════════════════ */
.marquee {
  display: flex;
  overflow: hidden;
  user-select: none;
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  animation: marquee-scroll 120s linear infinite;
  white-space: nowrap;
  flex-shrink: 0;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.marquee__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: 0.3;
  transition: opacity var(--transition-fast);
}

.marquee__logo:hover {
  opacity: .6;
}

.marquee__logo img {
  height: 50px;
  width: auto;
  object-fit: contain;
  /*filter: brightness(0) invert(0);  force white logos */
}

/* Placeholder logos */
.marquee__logo--placeholder {
  height: 32px;
  padding: 0 var(--space-sm);
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  display: flex;
  align-items: center;
  text-transform: uppercase;
}

/* ══════════════════════════════════════════
   CASE STUDY GRID (Documentary/Experiential/Studio pages)
   16:9 cards, square corners, rollover w/ title + tag
   ══════════════════════════════════════════ */
.case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.case-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #1a1a1a;
  cursor: pointer;
}

.case-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform var(--transition-med);
}

.case-card:hover .case-card__bg {
  transform: scale(1.04);
}

/* Placeholder fill — remove when real images are in */
/*.case-card--placeholder .case-card__bg {
  background-color: #FF00FF;
}*/

.case-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
  opacity: 0;
  transition: opacity var(--transition-med);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-md);
  z-index: var(--z-content);
}

.case-card:hover .case-card__overlay {
  opacity: 1;
}

.case-card__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.5rem;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: var(--space-xs);
}

.case-card__tag {
  font-family: var(--font-body);
  font-size: var(--text-caption);
  color: rgba(255,255,255,0.8);
  max-width: 320px;
}

@media (max-width: 768px) {
  .case-grid {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }
}

/* ══════════════════════════════════════════
   CASE STUDY PAGE HEADER
   Centered title + body copy
   ══════════════════════════════════════════ */
.page-header {
  text-align: center;
  padding: calc(var(--nav-height) + var(--space-xxl)) var(--content-pad-h) var(--space-lg);
  max-width: 800px;
  margin: 0 auto;
}

.page-header h1 {
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.page-header p {
  font-family: var(--font-body);
  font-size: var(--text-body);
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .page-header {
    padding: calc(var(--nav-height) + var(--space-lg)) var(--space-md) var(--space-md);
  }
}

/* ══════════════════════════════════════════
   CONTACT — Image left / copy right
   ══════════════════════════════════════════ */
.contact__image {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: #1a1a1a;
}

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

.contact__image--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.2);
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact__copy {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact__copy h2 {
  text-transform: uppercase;
}

.contact__copy p {
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  max-width: 420px;
}
.contact__email-link {
  display: inline-block;
  margin-top: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-style: normal;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--color-white);
  text-decoration: none;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  transition: opacity var(--transition-fast);
}

.contact__email-link:hover {
  color: rgb(236, 179, 33);
  opacity: 1;
}

/* ══════════════════════════════════════════
   CASE STUDY DETAIL PAGES
   ══════════════════════════════════════════ */

/* ── Header ── */
.cs-header {
  padding: calc(var(--nav-height) + var(--space-xl)) 0 var(--space-lg);
  text-align: center;
}

.cs-back {
  display: inline-block;
  margin-bottom: var(--space-md);
  font-family: var(--font-body);
  font-size: var(--text-caption);
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color var(--transition-fast);
}

.cs-back:hover {
  color: var(--color-white);
}

.cs-client {
  font-family: var(--font-body);
  font-size: var(--text-caption);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.5);
  margin-bottom: var(--space-xs);
}

.cs-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.5rem, 6vw, 5rem);
  text-transform: uppercase;
  color: var(--color-white);
}

/* ── Section spacing ── */
.cs-section {
  padding: var(--space-md) 0;
}

/* ── Video embed ── */
.cs-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #fff;
  margin-top: var(--space-sm);
}

.cs-video-1column {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #111;
  margin-top: var(--space-sm);
}

.cs-video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ── Hero image (Template 2) ── */
.cs-hero-img {
  width: 100%;
  aspect-ratio: 16/6;
  overflow: hidden;
  background: #111;
}

.cs-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── 2-col image grid ── */
.cs-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.cs-img {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #111;
}

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

.cs-img-full {
  width: 100%;
  aspect-ratio: 21/9;
  overflow: hidden;
  background: #111;
  position: relative;
  margin-top: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.cs-img-full--wide {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #111;
  position: relative;
  margin-top: var(--space-sm);
}

.cs-img-full img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Placeholder fills — remove when real images in */
.cs-img--placeholder {
  background: #FF00FF;
}

.cs-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FF00FF;
  color: rgba(0,0,255,0.6);
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cs-placeholder--video {
  aspect-ratio: 16/9;
}

/* ── Body copy left column ── */
.cs-copy-left {
  max-width: 50%;
  padding: var(--space-xs) 0;
}

.cs-copy-left p {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
}

/* ── Narrative sections (Ask / Approach) ── */
.cs-narrative {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: start;
  padding: var(--space-xs) 0;
}

.cs-narrative__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3.5rem);
  text-transform: uppercase;
  color: var(--color-white);
  line-height: 1.05;
}

.cs-narrative__title-right {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3.5rem);
  text-transform: uppercase;
  color: var(--color-white);
  line-height: 1.05;
  text-align: right;
}

.cs-narrative__copy {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
}

/* ── The Result — centered ── */
.cs-result {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: var(--space-xs) 0;
}

.cs-result__left {
  text-align: left;
  max-width: 100%;
  margin: 0 auto;
  padding: var(--space-xs) 0;
}

.cs-result__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3.5rem);
  text-transform: capitalize;
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.cs-result__copy {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.5;
  color: rgba(255,255,255,0.85);
}

.cs-narrative--result-split {
  display: grid;
  grid-template-columns: 1fr 1.03fr;
  gap: var(--space-md);
  align-items: start;
  padding: var(--space-xs) 0;
}

.cs-narrative--result-split .cs-img {
  aspect-ratio: 1/1;
}

@media (max-width: 768px) {
  .cs-narrative--result-split {
    grid-template-columns: 1fr;
  }
}

.cs-caption {
  padding: var(--space-md) 0;
}

.cs-caption p {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  max-width: 100%;
}
/* ── Decorative dots divider ── */
.cs-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  padding: var(--space-xl) 0;
}

.cs-dots span {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-white);
}

/* ── View More ── */
.cs-view-more {
  padding: var(--space-xs) 0;
}

.cs-view-more__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .cs-copy-left {
    max-width: 100%;
  }

  .cs-grid-2col {
    grid-template-columns: 1fr;
  }

  .cs-narrative {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .cs-narrative--approach .cs-narrative__title {
    order: -1;
  }

  .cs-hero-img {
    aspect-ratio: 16/9;
  }
}

.cs-back--bottom {
  display: block;
  margin-bottom: var(--space-xs);
}

/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */
#footer {
  width: 100%;
  padding: var(--space-md) var(--content-pad-h);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-body);
  font-size: var(--text-caption);
  color: rgba(255,255,255,0.4);
  max-width: var(--content-max);
  margin: 0 auto;
}

.footer__inner a {
  color: rgba(255,255,255,0.4);
  transition: color var(--transition-fast);
}

.footer__inner a:hover {
  color: var(--color-white);
}

@media (max-width: 768px) {
  .footer__inner {
    flex-direction: column;
    gap: var(--space-xs);
    text-align: center;
  }
}