@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300;1,400&family=Jost:wght@300;400;500&display=swap');

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: #faf9f7;
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  color: #1a1a18;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 34px 52px 22px;
  position: sticky;
  top: 0;
  background: #faf9f7;
  z-index: 100;
  border-bottom: 1px solid rgba(26,26,24,.18);
}
.nav-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 27px;
  font-weight: 400;
  letter-spacing: .04em;
  color: #1a1a18;
  line-height: 1;
}
.nav-name a {
  color: inherit;
  text-decoration: none;
}
.nav-sub {
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #999;
  margin-top: 4px;
}
.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}
.nav-links a {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #1a1a18;
  text-decoration: none;
  font-weight: 400;
  transition: color .2s;
}
.nav-links a:hover { color: #666; }
.nav-links a.dim { color: #aaa; }
.nav-links a.dim:hover { color: #666; }
.nav-divider {
  display: none;
}

/* Hamburger (mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 200;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #1a1a18;
  transition: all .3s;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* ── HERO / REEL ── */
.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16/7;
  overflow: hidden;
  margin: 0 52px;
  width: calc(100% - 104px);
  cursor: pointer;
}
.hero video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(.85) brightness(.95);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(8,8,7,.55) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px 48px;
  pointer-events: none;
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 42px;
  font-weight: 300;
  color: #fff;
  line-height: 1.15;
  letter-spacing: .02em;
}
.hero-subtitle {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-top: 8px;
}
.hero-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border: 1.5px solid rgba(255,255,255,.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s;
  pointer-events: none;
}
.hero-play::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent rgba(255,255,255,.8);
  margin-left: 3px;
}
.hero:hover .hero-play {
  border-color: #fff;
  transform: translate(-50%, -50%) scale(1.08);
}

/* ── SECTIONS ── */
.section { padding: 0 52px; }
.hero-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 300;
  color: #1a1a18;
  line-height: 1.5;
  max-width: 620px;
  padding: 24px 0 20px;
}
.section-divider-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 0 14px;
}
.section-title {
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #1a1a18;
  font-weight: 400;
  white-space: nowrap;
  line-height: 1;
}
.divider-line {
  flex: 1;
  height: .5px;
  background: rgba(26,26,24,.13);
}

/* ── GRID ── */
.grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  padding-bottom: 8px;
}

/* ── CARD ── */
.card { cursor: pointer; text-decoration: none; color: inherit; display: block; }
.thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: #e8e6e2;
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s ease;
  filter: saturate(.9);
}
.card:hover .thumb img { transform: scale(1.04); }

/* Card info — beneath thumbnail */
.card-info {
  padding: 8px 2px 14px;
}
.card-info-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  font-weight: 400;
  color: #1a1a18;
  line-height: 1.25;
  margin-bottom: 3px;
}
.card-info-sub {
  font-size: 8px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #1a1a18;
  line-height: 1.5;
}

/* Card placeholder (no image) */
.thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12px 14px;
  background: #e0ddd8;
}
.thumb-placeholder .ph-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  font-weight: 400;
  color: #1a1a18;
  line-height: 1.2;
}
.thumb-placeholder .ph-sub {
  font-size: 7.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #999;
  margin-top: 3px;
}

/* ── PARTNERS ── */
.partners {
  padding: 0 52px;
}
.partners-grid {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-bottom: 16px;
}
.partner-tag {
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #999;
  border: .5px solid rgba(26,26,24,.18);
  padding: 6px 14px;
  white-space: nowrap;
}

/* ── ABOUT ── */
.about { padding: 0 52px; }
.about-body { padding-bottom: 32px; }
.about-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.65;
  color: #1a1a18;
  margin-bottom: 18px;
  max-width: 680px;
}
.about-text em { font-style: italic; }
.about-full {
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: #555;
  max-width: 680px;
  margin-bottom: 24px;
}
.creds {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.cred {
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #999;
  border: .5px solid rgba(26,26,24,.18);
  padding: 4px 10px;
}

/* ── ABOUT PAGE ── */
.about-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 52px 48px;
}

/* ── ABOUT PORTRAIT ── */
.about-portrait {
  float: right;
  width: 280px;
  margin: 0 0 24px 32px;
}
.about-portrait img {
  width: 100%;
  display: block;
  filter: saturate(.9);
}

/* ── ABOUT ROLES ── */
.about-roles {
  padding-bottom: 24px;
}
.about-role-item {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 300;
  color: #1a1a18;
  line-height: 1.8;
}
.about-role-logo {
  display: inline-block;
  transition: opacity .2s;
}
.about-role-logo img {
  height: 28px;
}
.about-role-logo:hover { opacity: .6; }

/* ��─ LOGO GRID ── */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px 24px;
  padding-bottom: 32px;
}
.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 4px;
}
.logo-item img {
  width: auto;
  height: auto;
  max-width: 110px;
  max-height: 36px;
  object-fit: contain;
  opacity: .5;
  transition: opacity .25s;
}
.logo-item:hover img { opacity: 1; }

/* ── A.I. CARDS ── */
.ai-card {
  border-bottom: .5px solid rgba(26,26,24,.1);
  padding: 28px 0;
}
.ai-card:last-of-type { border-bottom: none; }
.ai-card-header {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 10px;
}
.ai-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 300;
  color: #1a1a18;
  line-height: 1.2;
}
.ai-card-role {
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #999;
}
.ai-card-description {
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: #555;
  max-width: 580px;
  margin-bottom: 12px;
}
.ai-card-link {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #1a1a18;
  text-decoration: none;
  transition: color .2s;
}
.ai-card-link:hover { color: #666; }

/* ── FOOTER ── */
.footer {
  border-top: .5px solid rgba(26,26,24,.1);
  margin: 0 52px;
  padding: 18px 0 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-copy {
  font-size: 9px;
  letter-spacing: .14em;
  color: #ccc;
  text-transform: uppercase;
}
.footer-links {
  display: flex;
  gap: 20px;
}
.footer-links a {
  font-size: 9px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #aaa;
  text-decoration: none;
  transition: color .2s;
}
.footer-links a:hover { color: #1a1a18; }

/* ── PROJECT SUBPAGE ── */
.project-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 52px 48px;
}
.project-back {
  padding: 20px 0 8px;
}
.project-back a {
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #999;
  text-decoration: none;
  transition: color .2s;
}
.project-back a:hover { color: #1a1a18; }
.project-header {
  padding-bottom: 28px;
}
.project-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 42px;
  font-weight: 300;
  color: #1a1a18;
  line-height: 1.15;
  margin-bottom: 8px;
}
.project-meta {
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 10px;
}
.project-accolades {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  font-style: italic;
  color: #666;
  margin-bottom: 16px;
}
.project-description {
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  color: #444;
  max-width: 640px;
  margin-bottom: 16px;
}
.project-cast {
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #999;
}
.project-media {
  margin-bottom: 24px;
}
.project-media video,
.project-media img {
  width: 100%;
  display: block;
  background: #111;
}
.project-media video {
  aspect-ratio: 16/9;
  object-fit: contain;
}
.project-media img {
  object-fit: cover;
}
.project-keyart {
  margin-bottom: 24px;
}
.project-keyart img {
  width: 100%;
  display: block;
  object-fit: cover;
}
.project-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 24px;
}
.project-gallery img {
  width: 100%;
  display: block;
  object-fit: contain;
}
.project-gallery video {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
  background: #111;
}
.project-sub-section {
  margin-bottom: 40px;
}
.project-sub-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 300;
  color: #1a1a18;
  margin-bottom: 16px;
}
.project-sub-image {
  margin-bottom: 16px;
}
.project-sub-image img {
  width: 100%;
  display: block;
  object-fit: cover;
}

/* ── VIDEO CARD + LIGHTBOX ── */
.video-card {
  cursor: pointer;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}
.video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
  filter: saturate(.9);
}
.video-card:hover img { transform: scale(1.04); }
.video-card .play-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  pointer-events: none;
  transition: opacity .3s;
  opacity: .7;
}
.video-card .play-icon::after {
  content: '';
  display: block;
  width: 0; height: 0;
  border-style: solid;
  border-width: 9px 0 9px 16px;
  border-color: transparent transparent transparent #fff;
}
.video-card:hover .play-icon { opacity: 1; }
.video-card .play-icon.centered {
  top: 50%;
  left: 50%;
  right: auto;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border: 1.5px solid rgba(255,255,255,.5);
  border-radius: 50%;
  background: rgba(0,0,0,.25);
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-card .play-icon.centered::after {
  margin-left: 3px;
}
.video-card:hover .play-icon.centered {
  border-color: rgba(255,255,255,.9);
  background: rgba(255,255,255,.12);
}
.video-card-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px 10px;
  background: linear-gradient(transparent, rgba(0,0,0,.5));
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  color: #fff;
  pointer-events: none;
}
.video-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 8px;
}
.video-single {
  max-width: 50%;
  margin-bottom: 24px;
}
.video-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 600;
  display: none;
  align-items: center;
  justify-content: center;
}
.video-lightbox.active { display: flex; }
.video-lightbox video {
  max-width: 88vw;
  max-height: 82vh;
  box-shadow: 0 8px 60px rgba(0,0,0,.6);
}
.video-lightbox .lb-close {
  position: fixed;
  top: 24px;
  right: 32px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  z-index: 610;
}
.video-lightbox .lb-close::before,
.video-lightbox .lb-close::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 22px; height: 1px;
  background: rgba(255,255,255,.6);
  transition: background .2s;
}
.video-lightbox .lb-close::before { transform: translate(-50%,-50%) rotate(45deg); }
.video-lightbox .lb-close::after { transform: translate(-50%,-50%) rotate(-45deg); }
.video-lightbox .lb-close:hover::before,
.video-lightbox .lb-close:hover::after { background: #fff; }

/* ── PROJECT LINKS ── */
.project-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 16px;
  margin-bottom: 16px;
}
.project-links a {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #1a1a18;
  text-decoration: none;
  transition: color .2s;
}
.project-links a:hover { color: #666; }

/* ── PROJECT SPLIT: text left, video right ── */
.project-split {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}
.project-split .project-text {
  flex: 1;
  min-width: 0;
}
.project-split .video-single {
  flex-shrink: 0;
  width: 45%;
  max-width: 45%;
  margin-bottom: 0;
}

/* ── MOBILE RESPONSIVE ── */

/* Tablet */
@media (max-width: 1024px) {
  nav { padding: 28px 32px 18px; }
  .nav-divider { margin: 0 32px; }
  .section, .about, .partners { padding: 0 32px; }
  .footer { margin: 0 32px; }
  .hero { margin: 0 32px; width: calc(100% - 64px); }
  .hero-overlay { padding: 30px 32px; }
  .hero-title { font-size: 34px; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .project-page { padding: 0 32px 48px; }
  .about-page { padding: 0 32px 48px; }
  .logo-grid { grid-template-columns: repeat(3, 1fr); gap: 24px 20px; }
}

/* Mobile */
@media (max-width: 640px) {
  nav { padding: 20px 20px 14px; }
  .nav-name { font-size: 22px; }
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: #faf9f7;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    z-index: 150;
    transform: translateX(100%);
    transition: transform .35s ease;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a {
    font-size: 13px;
    letter-spacing: .25em;
  }
  .hamburger { display: flex; }
  .nav-divider { margin: 0 20px; }
  .section, .about, .partners { padding: 0 20px; }
  .footer {
    margin: 0 20px;
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .hero {
    margin: 0 20px;
    width: calc(100% - 40px);
    aspect-ratio: 16/9;
  }
  .hero-overlay { padding: 20px; }
  .hero-title { font-size: 24px; }
  .hero-subtitle { font-size: 9px; }
  .hero-play { width: 48px; height: 48px; }
  .hero-play::after { border-width: 7px 0 7px 12px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 3px; }
  .ov { opacity: 1; background: rgba(8,8,7,.35); }
  .ov-title { font-size: 11px; }
  .ov-sub { font-size: 6.5px; }
  .about-portrait { float: none; width: 100%; max-width: 280px; margin: 0 0 20px 0; }
  .about-text { font-size: 16px; }
  .project-page { padding: 0 20px 40px; }
  .about-page { padding: 0 20px 40px; }
  .project-title { font-size: 28px; }
  .ai-card-title { font-size: 22px; }
  .logo-grid { grid-template-columns: repeat(3, 1fr); gap: 20px 16px; }
  .project-gallery { grid-template-columns: 1fr; }
  .project-split { flex-direction: column; }
  .project-split .video-single { width: 100%; max-width: 100%; }
  .video-row { grid-template-columns: 1fr; gap: 8px; }
  .video-single { max-width: 100%; }
  .video-lightbox video { max-width: 95vw; }
  .section-divider-row { padding: 18px 0 10px; }
}

/* Small mobile */
@media (max-width: 380px) {
  .grid { grid-template-columns: 1fr; }
  .nav-name { font-size: 19px; }
}
