/* ============================================
   FACULTY — Layout
   ============================================ */

/* ── Page wrapper ── */
.page-wrapper {
  width: 100%;
  overflow-x: hidden;
}

/* ── Content container ── */
.container {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--content-pad-h);
}

/* ── Two-column layout (How We Work / Contact) ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

/* ── Section base ── */
.section {
  position: relative;
  width: 100%;
}

/* ── Full-bleed sections ── */
.section--fullbleed {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: var(--space-xl);
}

/* ── Hero ── */
#hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  padding-top: calc(var(--nav-height) + var(--space-lg));
}

@media (max-width: 768px) {
  #hero {
    height: 100svh;
    align-items: flex-start;
    padding-top: calc(var(--nav-height) + var(--space-md));
  }
}

.hero__bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: var(--z-base);
  /* PLACEHOLDER: swap src for real video */
}

.hero__bg-mobile {
  display: none;
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: var(--z-base);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.2);
  z-index: var(--z-overlay);
}

.hero__content {
  position: relative;
  z-index: var(--z-content);
  padding: 0 var(--content-pad-h);
}

/* ── WE ARE section ── */
#we-are {
  background: var(--color-black);
  padding: var(--space-xxl) 0;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.we-are__inner {
  max-width: 700px;
}

.we-are__headline {
  margin-bottom: var(--space-md);
  line-height: 1.1;
}

/* ── Bucket sections (Documentary / Experiential / Studio) ── */
.section--bucket {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: var(--space-xl) var(--content-pad-h);
  overflow: hidden;
}

.bucket__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: var(--z-base);
  /* Individual images set inline or via page-specific CSS */
}

/* Placeholder color fills — remove when real images are in */
/*#documentary .bucket__bg  { background-color: #CC00CC; }
#experiential .bucket__bg { background-color: #FF99DD; }
#studio .bucket__bg       { background-color: #FF00FF; }*/

.bucket__overlay {
  position: absolute;
  inset: 0;
  background: var(--color-overlay);
  z-index: var(--z-overlay);
}

.bucket__content {
  position: relative;
  z-index: var(--z-content);
  max-width: 560px;
}

.bucket__content .text-section-title {
  margin-bottom: var(--space-sm);
}

/* ── How We Work ── */
#how-we-work {
  background: var(--color-black);
  padding: var(--space-xl) 0;
}

/* ── Logo Marquee strip ── */
#logo-strip {
  background: #1a1a1a;
  padding: var(--space-md) 0;
  overflow: hidden;
}

/* ── Contact ── */
#contact {
  background: var(--color-black);
  padding: var(--space-xl) 0;
}

/* ── Mobile layout ── */
@media (max-width: 768px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .section--fullbleed {
    min-height: 70vh;
  }

  .section--bucket {
    min-height: 70vh;
    padding: var(--space-lg) var(--space-md);
  }

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

}

/* ============================================
   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);
}

/* ── 3-col image grid ── */
.cs-grid-3col {
  display: grid;
  grid-template-columns: 1fr 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--square {
  aspect-ratio: 1 / 1;
}

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

.cs-grid-3col--tall {
  margin-top: var(--space-sm);
}
.cs-img video {
  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--superwide {
  width: 100%;
  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;
  }
}

/* ============================================
   FACULTY — Typography
   ============================================ */

/* Display / Headlines — Playfair Display Black */
h1, h2, h3, h4,
.display {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); }

/* Body — DM Sans */
p, span, a, li, label, input, textarea {
  font-family: var(--font-body);
  font-weight: 400;
}

.text-hero {
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  font-size: var(--text-hero);
  line-height: 1.05;
  color: var(--color-white);
}

.text-section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.5rem, 5vw, 4rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--color-white);
}

.text-body-block {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.7;
  color: var(--color-white);
  max-width: 480px;
}

.text-bucket-body-block {
  font-family: var(--font-body);
  font-size: var(--text-bucket-body);
  font-weight: 500;
  line-height: 1.7;
  color: var(--color-white);
  max-width: 480px;
}

.text-nav-link {
  font-family: var(--font-body);
  font-size: var(--text-nav);
  font-weight: 400;
  color: var(--color-white);
  letter-spacing: 0.02em;
  transition: opacity var(--transition-fast);
}

.text-link {
  font-family: var(--font-body);
  font-size: var(--text-link);
  font-weight: 400;
  color: var(--color-white);
  letter-spacing: 0.02em;
  transition: opacity var(--transition-fast);
}

.text-nav-link:hover {
  opacity: 0.6;
}

/* WE ARE — animated text inline */
.we-are-static {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.5rem, 5vw, 4rem);
  text-transform: uppercase;
  color: var(--color-white);
  display: inline;
}

.we-are-animated {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.5rem, 5vw, 4rem);
  text-transform: uppercase;
  color: var(--color-white);
  display: inline-block;
  min-width: 280px;
  vertical-align: bottom;
}

/* Mobile type scale */
@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.25rem; }

  .text-section-title {
    font-size: 2rem;
  }

  .we-are-static,
  .we-are-animated {
    font-size: 2rem;
  }
}

/* ============================================
   FACULTY — Animations
   All keyframes and animation classes
   ============================================ */

/* ══════════════════════════════════════════
   HERO TEXT — slide in from left + opacity
   Triggered by JS adding .is-visible on load
   ══════════════════════════════════════════ */
.hero__headline {
  animation: hero-in 1s ease 0.1s both;
}

@keyframes hero-in {
  from { opacity: 0; transform: translateX(-60px); }
  to   { opacity: 1; transform: translateX(0); }
}

.hero__headline.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* ══════════════════════════════════════════
   WE ARE — text swap animation
   No fade — instant swap every 2s
   ══════════════════════════════════════════ */
.we-are-animated {
  position: relative;
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

.we-are-animated__word {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  white-space: nowrap;
  pointer-events: none;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: inherit;
  text-transform: uppercase;
  color: var(--color-white);
  transition: none; /* instant swap */
}

.we-are-animated__word.is-active {
  opacity: 1;
  position: relative;
}

/* ══════════════════════════════════════════
   SCROLL REVEAL — generic
   Elements animate in when entering viewport
   JS adds .is-visible via IntersectionObserver
   ══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Stagger delay helpers */
.reveal--delay-1 { transition-delay: 0.05s; }
.reveal--delay-2 { transition-delay: 0.1s; }
.reveal--delay-3 { transition-delay: 0.15s; }
.reveal--delay-4 { transition-delay: 0.2s; }
.reveal--delay-5 { transition-delay: 0.25s; }
.reveal--delay-6 { transition-delay: 0.3s; }
.reveal--delay-7 { transition-delay: 0.35s; }
.reveal--delay-8 { transition-delay: 0.4s; }
.reveal--delay-9 { transition-delay: 0.45s; }
.reveal--delay-10 { transition-delay: 0.5s; }
.reveal--delay-11 { transition-delay: 0.55s; }
.reveal--delay-12 { transition-delay: 0.6s; }
/* ══════════════════════════════════════════
   IMAGE ROLLOVER OVERLAY (future use)
   ══════════════════════════════════════════ */
.img-rollover {
  position: relative;
  overflow: hidden;
}

.img-rollover__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  transition: opacity var(--transition-med);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--z-content);
}

.img-rollover:hover .img-rollover__overlay {
  opacity: 1;
}

/* ══════════════════════════════════════════
   BUCKET SECTIONS — static background
   ══════════════════════════════════════════ */

/* ══════════════════════════════════════════
   MARQUEE — pause on hover
   ══════════════════════════════════════════ */
/*.marquee:hover .marquee__track {
  animation-play-state: paused;
}*/

/* ══════════════════════════════════════════
   REDUCED MOTION — already in reset.css
   Redundant safety net for animation props
   ══════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .hero__headline,
  .reveal {
    transition: none;
    opacity: 1;
    transform: none;
  }

  .marquee__track {
    animation: none;
  }
}

/* ============================================
   FACULTY — Responsive
   Breakpoints: mobile < 768 / tablet 768-1024 / desktop > 1024
   ============================================ */

/* ── Tablet ── */
@media (max-width: 1024px) {
  :root {
    --content-pad-h: var(--space-md);
    --space-xxl:     6rem;
  }

  .two-col {
    gap: var(--space-md);
  }

  .section--bucket {
    min-height: 80vh;
  }
}

/* ── Mobile ── */
@media (max-width: 768px) {
  :root {
    --content-pad-h: var(--space-sm);
    --nav-height:    60px;
  }

  /* Hero */
 #hero {
  height: 100svh;
  align-items: flex-start;
  padding-top: calc(var(--nav-height) + var(--space-md));
}
.hero__bg-video {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
}
.hero__bg-mobile { 
  display: block;
  background-image: url('../assets/video/bg-portrait.mp4');
}

  /* Two-col stacks */
  .two-col {
    grid-template-columns: 1fr;
  }

  /* How We Work — image on top, copy below */
  #how-we-work .two-col {
    grid-template-areas:
      "image"
      "copy";
  }

  #how-we-work .img-cycler {
    grid-area: image;
  }

  #how-we-work .how-we-work__copy {
    grid-area: copy;
  }

  /* Contact — image on top, copy below */
  #contact .two-col {
    grid-template-areas:
      "image"
      "copy";
  }

  #contact .contact__image {
    grid-area: image;
  }

  #contact .contact__copy {
    grid-area: copy;
  }

  /* Logo marquee — slow down slightly on mobile */
  .marquee__track {
    animation-duration: 70s;
  }

  /* Bucket sections */
  .section--bucket {
    min-height: 60vh;
    padding: var(--space-lg) var(--space-sm);
  }

  /* WE ARE section */
  #we-are {
    padding: var(--space-xl) 0;
    min-height: auto;
  }
}

/* ── Large desktop ── */
@media (min-width: 1600px) {
  :root {
    --content-pad-h: 6rem;
  }
}
/* ── 3-col image grid ── */
@media (max-width: 768px) {
  .cs-grid-3col {
    grid-template-columns: 1fr;
  }
}

/* keep the three vertical loops side by side on mobile */
.cs-grid-3col.cs-grid-3col--tall {
  grid-template-columns: 1fr 1fr 1fr;
}

/* ============================================
   FACULTY — Design Tokens
   All values sourced here. Never hardcode elsewhere.
   ============================================ */

:root {

  /* Colors */
  --color-black:       #000000;
  --color-white:       #FFFFFF;
  --color-nav-bg:      rgba(0, 0, 0, 0.5);   /* 50% opacity black nav bar */
  --color-overlay:     rgba(0, 0, 0, 0.35);  /* section image overlay */
  --color-link-hover:  rgb(236, 179, 33);

  /* Typography */
  --font-display:      'Playfair Display', serif;
  --font-body:         'DM Sans', sans-serif;

  /* Type Scale */
  --text-nav:          1rem;           /* 16px */
  --text-link:   1.25rem;        /* 16px */ 
  --text-body:         0.9375rem;      /* 15px */
  --text-bucket-body:  1.125rem;       /* 18px */
  --text-caption:      0.8125rem;      /* 13px */
  --text-h3:           1.5rem;         /* 24px */
  --text-h2:           2.5rem;         /* 40px */
  --text-h1:           3.75rem;        /* 60px */
  --text-hero:         clamp(2.5rem, 6vw, 5rem);

  /* Spacing */
  --space-xs:          0.5rem;
  --space-sm:          1rem;
  --space-md:          2rem;
  --space-lg:          4rem;
  --space-xl:          6rem;
  --space-xxl:         10rem;

  /* Layout */
  --nav-height:        70px;
  --section-pad-v:     var(--space-xl);
  --content-max:       1200px;
  --content-pad-h:     var(--space-lg);

  /* Breakpoints (reference only — use in media queries) */
  /* mobile:  < 768px  */
  /* tablet:  768–1024px */
  /* desktop: > 1024px */

  /* Borders */
  --radius-card:       20px;

  /* Transitions */
  --transition-fast:   0.2s ease;
  --transition-med:    0.5s ease;
  --transition-slow:   1s ease;

  /* Z-index layers */
  --z-base:            0;
  --z-content:         10;
  --z-nav:             100;
  --z-social:          90;
  --z-overlay:         5;
}

/* ============================================
   FACULTY — Reset
   ============================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--color-black);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

a:hover,
a:focus-visible {
  color: var(--color-link-hover);
}

/* nav keeps its own opacity hover */
#nav a:hover,
#nav a:focus-visible {
  color: var(--color-white);
}

/* underline links inside case study copy */
.cs-copy-left a,
.cs-caption a {
  text-decoration: underline;
  text-decoration-thickness: .5px;
  text-underline-offset: 3px;
}

ul, ol {
  list-style: none;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

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