@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700&display=swap');

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: #000000;
  color: #ffffff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Header ──────────────────────────────────────────────────────────── */

#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 40px;
}

.header-wordmark {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #ffffff;
  white-space: nowrap;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-right: 140px; /* keeps nav clear of clock area */
}

.header-nav a {
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
  opacity: 0.5;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.header-nav a:hover {
  opacity: 1;
}

/* ── Clock ───────────────────────────────────────────────────────────── */

#clock {
  position: fixed;
  top: 56px;
  right: 40px;
  z-index: 101;
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.clock-city {
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #555555;
}

.clock-time {
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: #666666;
  font-variant-numeric: tabular-nums;
}

/* ── Hero ────────────────────────────────────────────────────────────── */

#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  background: #000000;
  overflow: hidden;
}

#hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

.hero-caption {
  position: absolute;
  bottom: 40px;
  left: 40px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.hero-title {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #ffffff;
}

.hero-location {
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: #888888;
}

/* ── About ───────────────────────────────────────────────────────────── */

#about {
  background: #000000;
  padding: 140px 40px;
}

.about-inner {
  display: flex;
  align-items: flex-start;
}

.about-left {
  width: 40%;
  flex-shrink: 0;
}

.about-ish {
  display: block;
  font-size: 200px;
  font-weight: 100;
  line-height: 1;
  color: #111111;
  white-space: nowrap;
  user-select: none;
}

.about-right {
  width: 60%;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-top: 8px;
}

.about-right p {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: #dddddd;
}

.about-credit {
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.4em;
  color: #555555;
  text-transform: uppercase;
  margin-top: 40px !important;
}

@media (max-width: 768px) {
  .about-inner {
    flex-direction: column;
  }
  .about-left,
  .about-right {
    width: 100%;
  }
  .about-ish {
    font-size: 100px;
  }
}

/* ── Film ────────────────────────────────────────────────────────────── */

#film {
  background: #000000;
  padding: 120px 40px;
}

.film-header {
  margin-bottom: 80px;
}

.film-label {
  display: block;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #555555;
  margin-bottom: 24px;
}

.film-title {
  font-size: 72px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 24px;
}

.film-desc {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
  color: #888888;
  max-width: 600px;
  margin-bottom: 1.4em;
}

/* Featured */
.film-featured {
  width: 100%;
  height: 80vh;
  overflow: hidden;
  margin-bottom: 80px;
}

.film-featured video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Selected Works */
.film-works {
  display: flex;
  gap: 20px;
  height: 56vh;
}

.film-works-left {
  width: 60%;
  flex-shrink: 0;
}

.film-works-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.film-works-right .film-tile {
  flex: 1;
}

/* Tile base */
.film-tile {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.film-tile video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.film-tile:hover video {
  transform: scale(1.03);
}

.film-tile-label {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 40px 20px 18px;
  width: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 100%);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.film-tile:hover .film-tile-label {
  opacity: 1;
}

/* Keem full-width */
.film-keem {
  height: 40vh;
  margin-top: 20px;
}

/* Fragments */
.film-frags {
  display: flex;
  overflow-x: auto;
  gap: 16px;
  margin-top: 100px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.film-frags::-webkit-scrollbar {
  display: none;
}

.film-frag {
  flex-shrink: 0;
  width: 300px;
}

.film-frag-media {
  width: 300px;
  height: 200px;
  overflow: hidden;
}

.film-frag-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.film-frag-label {
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #555555;
  margin-top: 8px;
}

@media (max-width: 768px) {
  .film-works {
    flex-direction: column;
    height: auto;
  }
  .film-works-left {
    width: 100%;
    height: 50vw;
  }
  .film-works-right {
    height: 100vw;
  }
  .film-keem {
    height: 40vw;
  }
}

/* ── Generative Lab ──────────────────────────────────────────────────── */

#genlab {
  background: #000000;
  padding: 120px 40px;
}

.gl-header {
  margin-bottom: 80px;
}

.gl-label {
  display: block;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #555555;
  margin-bottom: 24px;
}

.gl-title {
  font-size: 72px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 24px;
}

.gl-desc {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
  color: #888888;
  max-width: 600px;
  margin-bottom: 1.4em;
}

/* Subsection structure */
.gl-sub {
  margin-top: 0;
}

.gl-sub-header {
  margin-bottom: 60px;
}

.gl-sub-title {
  font-size: 32px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0;
  margin-bottom: 16px;
}

.gl-sub-meta {
  display: block;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #555555;
  margin-bottom: 20px;
}

.gl-sub-desc {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
  color: #888888;
  max-width: 600px;
  margin-bottom: 1.4em;
}

/* Divider between subsections */
.gl-divider {
  height: 1px;
  background: #111111;
  margin: 120px 0;
}

/* Shared media container */
.gl-media {
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.gl-media img,
.gl-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.gl-media:hover img,
.gl-media:hover video {
  transform: scale(1.03);
}

/* Label below media */
.gl-media-label {
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #555555;
  margin-top: 8px;
}

/* Wrapper for media + label pair */
.gl-media-item {
  display: flex;
  flex-direction: column;
}

/* ── CT: Hero ── */
.ct-hero {
  width: 100%;
  height: 70vh;
  overflow: hidden;
  margin-bottom: 20px;
}

.ct-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.ct-hero:hover img {
  transform: scale(1.03);
}

/* ── CT: System layer ── */
.ct-system {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.ct-sys-left {
  width: 50%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

.ct-sys-left .gl-media {
  height: 360px;
}

.ct-sys-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ct-sys-right .gl-media-item {
  flex: 1;
}

.ct-sys-right .gl-media {
  height: 170px;
}

/* ── CT: Motion layer ── */
.ct-motion {
  display: flex;
  gap: 20px;
}

.ct-motion-main {
  width: 60%;
  flex-shrink: 0;
}

.ct-motion-main .gl-media {
  height: 360px;
}

.ct-motion-side {
  flex: 1;
}

.ct-motion-side .gl-media {
  height: 360px;
}

/* ── 1988: Hero ── */
.s88-hero {
  width: 100%;
  height: 80vh;
  overflow: hidden;
  margin-bottom: 0;
}

.s88-hero video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── 1988: Scene strip ── */
.s88-strip {
  display: flex;
  overflow-x: auto;
  gap: 16px;
  margin-top: 40px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.s88-strip::-webkit-scrollbar {
  display: none;
}

.s88-item {
  flex-shrink: 0;
  width: 320px;
}

.s88-media {
  width: 320px;
  height: 220px;
  overflow: hidden;
}

.s88-media video,
.s88-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.s88-media:hover video,
.s88-media:hover img {
  transform: scale(1.03);
}

/* ── Generative Studies ── */
.gs-works {
  display: flex;
  gap: 20px;
}

.gs-left {
  width: 55%;
  flex-shrink: 0;
}

.gs-left .gl-media {
  height: 400px;
}

.gs-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gs-right .gl-media-item {
  flex: 1;
}

.gs-right .gl-media {
  height: 190px;
}

/* ── Art Division ────────────────────────────────────────────────────── */

#art-division {
  background: #000000;
  padding: 120px 40px;
}

.ad-header {
  margin-bottom: 80px;
}

.ad-label {
  display: block;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #555555;
  margin-bottom: 24px;
}

.ad-title {
  font-size: 72px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 24px;
}

.ad-desc {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: #888888;
  max-width: 600px;
}

/* Subsection */
.ad-sub-header {
  margin-bottom: 60px;
}

.ad-sub-title {
  font-size: 32px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 20px;
}

.ad-sub-desc {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
  color: #888888;
  max-width: 600px;
  margin-bottom: 1.4em;
}

.ad-divider {
  height: 1px;
  background: #111111;
  margin: 120px 0;
}

/* Shared media */
.ad-media {
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.ad-media img,
.ad-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.ad-media:hover img,
.ad-media:hover video {
  transform: scale(1.03);
}

.ad-media-item {
  display: flex;
  flex-direction: column;
}

.ad-media-label {
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #555555;
  margin-top: 8px;
}

/* ISH: hero row */
.ad-hero-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.ad-ish-dominant {
  width: 62%;
  flex-shrink: 0;
}

.ad-ish-dominant .ad-media {
  height: 70vh;
}

.ad-ish-supporting {
  flex: 1;
}

.ad-ish-supporting .ad-media {
  height: 70vh;
}

/* ISH: supporting row */
.ad-support-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.ad-support-left {
  width: 40%;
  flex-shrink: 0;
}

.ad-support-left .ad-media {
  height: 300px;
}

.ad-support-right {
  flex: 1;
}

.ad-support-right .ad-media {
  height: 300px;
}

/* ISH: motion */
.ad-motion .ad-media {
  height: 42vh;
}

/* DOBLEM: hero */
.ad-doblem-hero .ad-media {
  height: 72vh;
}

.ad-doblem-hero {
  margin-bottom: 20px;
}

/* DOBLEM: supporting row */
.ad-doblem-row {
  display: flex;
  gap: 20px;
}

.ad-doblem-left {
  width: 60%;
  flex-shrink: 0;
}

.ad-doblem-left .ad-media {
  height: 360px;
}

.ad-doblem-stack {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ad-doblem-stack .ad-media {
  height: 170px;
}

/* Inquiry */
.ad-inquiry {
  margin-top: 48px;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ad-inquiry p {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.8;
  color: #888888;
}

.ad-inquiry a {
  color: #ffffff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  transition: border-color 0.2s ease;
}

.ad-inquiry a:hover {
  border-color: #ffffff;
}

/* ── Theory × Logic × Abstract ──────────────────────────────────────── */

#theory {
  background: #000000;
  padding: 120px 40px;
}

.th-header {
  margin-bottom: 80px;
}

.th-label {
  display: block;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #555555;
  margin-bottom: 24px;
}

.th-title {
  font-size: 60px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 24px;
}

.th-desc {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
  color: #888888;
  max-width: 600px;
  margin-bottom: 1.4em;
}

.th-item {
  display: flex;
  flex-direction: column;
}

.th-media {
  overflow: hidden;
}

.th-media video,
.th-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.th-media:hover video,
.th-media:hover img {
  transform: scale(1.03);
}

.th-media-label {
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #555555;
  margin-top: 8px;
}

/* I — full width */
.th-large .th-media {
  width: 100%;
  height: 80vh;
}

/* II — workspace image, 60% offset right */
.th-workspace {
  width: 60%;
  margin-left: auto;
  margin-top: 40px;
}

.th-workspace img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.6s ease;
}

.th-workspace img:hover {
  transform: scale(1.03);
}

/* III — video, left aligned, small */
.th-small {
  max-width: 420px;
  width: 100%;
  margin-top: 40px;
}

.th-small .th-media {
  height: 280px;
}

.theory-label {
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #555555;
  margin-top: 8px;
}

@media (max-width: 768px) {
  .th-title {
    font-size: 36px;
  }
  .th-large .th-media {
    height: 60vw;
  }
  .th-medium {
    width: 100%;
    margin-left: 0;
    margin-top: 20px;
  }
  .th-medium .th-media {
    height: 56vw;
  }
}

@media (max-width: 768px) {
  .ad-hero-row,
  .ad-support-row,
  .ad-doblem-row {
    flex-direction: column;
  }
  .ad-ish-dominant,
  .ad-ish-supporting,
  .ad-support-left,
  .ad-support-right,
  .ad-doblem-left {
    width: 100%;
  }
  .ad-ish-dominant .ad-media,
  .ad-ish-supporting .ad-media {
    height: 60vw;
  }
  .ad-support-left .ad-media,
  .ad-support-right .ad-media {
    height: 50vw;
  }
  .ad-doblem-hero .ad-media {
    height: 65vw;
  }
  .ad-doblem-left .ad-media {
    height: 55vw;
  }
  .ad-doblem-stack .ad-media {
    height: 45vw;
  }
}

/* ── Collaborations ──────────────────────────────────────────────────── */

#collaborations {
  background: #000000;
  padding: 160px 40px;
  text-align: center;
}

.co-label {
  display: block;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #555555;
  margin-bottom: 80px;
}

.co-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}

.co-name {
  font-size: 48px;
  font-weight: 200;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #ffffff;
}

.co-role {
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.2em;
  color: #555555;
  margin-top: 8px;
}

/* ── Contact ─────────────────────────────────────────────────────────── */

#contact {
  background: #000000;
  padding: 160px 40px;
}

.ct-label {
  display: block;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #555555;
  margin-bottom: 40px;
}

.ct-title {
  font-size: 90px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1;
}

.ct-desc {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: #888888;
  max-width: 500px;
  margin-top: 24px;
}

.ct-email {
  display: block;
  font-size: 18px;
  font-weight: 300;
  color: #ffffff;
  text-decoration: none;
  margin-top: 40px;
  width: fit-content;
}

.ct-email:hover {
  text-decoration: underline;
}

.ct-social {
  display: block;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.2em;
  color: #555555;
  margin-top: 16px;
}

.ct-social + .ct-social {
  margin-top: 8px;
}

/* ── Footer ──────────────────────────────────────────────────────────── */

#footer {
  background: #000000;
  padding: 40px;
  border-top: 1px solid #111111;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.ft-copy,
.ft-social {
  font-size: 10px;
  font-weight: 300;
  color: #333333;
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .co-name {
    font-size: 28px;
    letter-spacing: 0.25em;
  }
  .ct-title {
    font-size: 52px;
  }
  #footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (max-width: 768px) {
  .ct-system,
  .ct-motion,
  .gs-works {
    flex-direction: column;
  }
  .ct-sys-left,
  .ct-motion-main,
  .gs-left {
    width: 100%;
  }
  .ct-sys-left .gl-media,
  .ct-sys-right .gl-media,
  .ct-motion-main .gl-media,
  .ct-motion-side .gl-media {
    height: 56vw;
  }
  .gs-left .gl-media {
    height: 60vw;
  }
  .gs-right .gl-media {
    height: 50vw;
  }
  .ct-hero,
  .s88-hero {
    height: 60vw;
  }
}

/* ── Theory Triple Video ── */
.theory-triple-video {
  display: flex;
  gap: 24px;
  margin-top: 80px;
}
.theory-triple-video video {
  width: 100%;
  height: 40vh;
  object-fit: cover;
}
@media (max-width: 768px) {
  .theory-triple-video {
    flex-direction: column;
  }
  .theory-triple-video video {
    height: 30vh;
  }
}

/* ── Section scroll offset ── */
#film,
#generative-lab,
#art-division,
#theory,
#contact {
  scroll-margin-top: 120px;
}

/* ── Mobile responsive (max-width: 768px) ── */
@media (max-width: 768px) {

  /* Header */
  #header {
    padding: 16px 20px;
    flex-wrap: wrap;
    gap: 10px;
  }
  .header-nav {
    gap: 12px;
    margin-right: 0;
    flex-wrap: wrap;
  }
  .header-nav a {
    font-size: 8px;
    letter-spacing: 0.15em;
  }

  /* Clock — move below header, clear of nav */
  #clock {
    top: auto;
    bottom: 20px;
    right: 20px;
  }

  /* Hero */
  .hero-caption {
    bottom: 24px;
    left: 20px;
    right: 20px;
  }
  .hero-title {
    font-size: 11px;
  }
  .hero-location {
    font-size: 10px;
  }

  /* About */
  #about {
    padding: 80px 20px;
  }

  /* Film */
  #film {
    padding: 80px 20px;
  }
  .film-header {
    margin-bottom: 48px;
  }
  .film-title {
    font-size: 36px;
  }
  .film-desc {
    max-width: 100%;
  }
  .film-featured {
    height: 50vh;
    margin-bottom: 48px;
  }
  .film-frags {
    margin-top: 48px;
  }
  .film-frag {
    width: 220px;
  }
  .film-frag-media {
    width: 220px;
    height: 150px;
  }
  .film-keem {
    height: 35vw;
  }

  /* Generative Lab */
  #generative-lab {
    padding: 80px 20px;
  }
  .gl-header {
    margin-bottom: 48px;
  }
  .gl-title {
    font-size: 36px;
  }
  .gl-desc {
    max-width: 100%;
  }
  .gl-sub-title {
    font-size: 22px;
  }
  .gl-sub-desc {
    max-width: 100%;
  }
  .gl-divider {
    margin: 60px 0;
  }
  .s88-item {
    width: 240px;
  }
  .s88-media {
    width: 240px;
    height: 160px;
  }

  /* Art Division */
  #art-division {
    padding: 80px 20px;
  }
  .ad-header {
    margin-bottom: 48px;
  }
  .ad-title {
    font-size: 36px;
  }
  .ad-desc {
    max-width: 100%;
  }
  .ad-sub-title {
    font-size: 22px;
  }
  .ad-sub-desc {
    max-width: 100%;
  }
  .ad-divider {
    margin: 60px 0;
  }
  .ad-motion .ad-media {
    height: 35vh;
  }
  .ad-inquiry {
    max-width: 100%;
  }

  /* Theory */
  #theory {
    padding: 80px 20px;
  }
  .th-header {
    margin-bottom: 48px;
  }
  .th-desc {
    max-width: 100%;
  }
  .th-large .th-media {
    height: 50vh;
  }

  /* Collaborations */
  #collaborations {
    padding: 80px 20px;
  }

  /* Contact */
  #contact {
    padding: 80px 20px;
  }
  .ct-title {
    font-size: 48px;
  }
  .ct-desc {
    max-width: 100%;
  }

  /* Footer */
  #footer {
    padding: 32px 20px;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* ── Final mobile polish ── */
@media (max-width: 768px) {

  /* Clock — fixed bottom-right, non-intrusive */
  #clock {
    position: fixed;
    top: auto;
    bottom: 20px;
    right: 20px;
    opacity: 0.5;
    pointer-events: none;
    text-align: right;
  }

  /* Theory — show first video only, full width */
  .theory-triple-video {
    flex-direction: column;
    overflow: visible;
  }
  .theory-triple-video video:nth-child(2),
  .theory-triple-video video:nth-child(3) {
    display: none;
  }
  .theory-triple-video video:nth-child(1) {
    width: 100%;
    height: 40vh;
    object-fit: cover;
  }

  /* General — prevent overflow */
  body {
    overflow-x: hidden;
  }
  section {
    overflow: hidden;
  }
}

/* ── Still image visibility refinement ── */

/* CT hero */
.ct-hero img {
  object-fit: contain;
  background: #000;
}

/* Generative Lab — images only (videos keep cover) */
.gl-media img {
  object-fit: contain;
  background: #000;
}

/* Art Division — images only (videos keep cover) */
.ad-media img {
  object-fit: contain;
  background: #000;
}

/* ── Mobile — let image wrappers breathe ── */
@media (max-width: 768px) {

  /* CT — image containers go auto height */
  .ct-hero {
    height: auto;
  }
  .ct-sys-left .gl-media,
  .ct-sys-right .gl-media,
  .ct-motion-side .gl-media {
    height: auto;
  }

  /* Art Division ISH — image containers auto height */
  .ad-ish-dominant .ad-media,
  .ad-ish-supporting .ad-media,
  .ad-support-left .ad-media,
  .ad-support-right .ad-media {
    height: auto;
  }

  /* DOBLEM — image containers auto height */
  .ad-doblem-hero .ad-media,
  .ad-doblem-left .ad-media,
  .ad-doblem-stack .ad-media {
    height: auto;
  }

  /* Images — natural dimensions, no cropping */
  .ct-hero img,
  .gl-media img,
  .ad-media img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}

/* ── Desktop image composition restore ── */

/* CT hero — editorial fill, restore cover */
.ct-hero img {
  object-fit: cover;
  background: transparent;
}

/* GL media — product/scene photography, restore cover */
.gl-media img {
  object-fit: cover;
  background: transparent;
}

/* AD media — editorial photography, restore cover */
.ad-media img {
  object-fit: cover;
  background: transparent;
}

/* ISH illustration panels — contain to preserve full artwork */
.ad-ish-dominant .ad-media img,
.ad-ish-supporting .ad-media img {
  object-fit: contain;
  background: #000;
}

/* ── Mobile — Art Division video fix ── */
@media (max-width: 768px) {
  .ad-motion {
    display: block;
  }
  .ad-motion .ad-media {
    height: 35vh;
    overflow: hidden;
  }
  .ad-motion .ad-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
}

/* ── Tap-to-play video state ── */
[data-tapplay] {
  cursor: pointer;
}

[data-tapplay].is-playing {
  cursor: default;
}

/* Ensure tap-play videos fill their container the same as autoplay */
[data-tapplay] {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Video poster fill ── */
/* Poster must fill container identically to video */
video[poster] {
  object-fit: cover;
  background: #000;
}

/* ── Desktop hover-play cue ── */
.video-hover-ready {
  cursor: pointer;
  position: relative;
}
.video-play-cue {
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 5;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ffffff;
  opacity: 0.6;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.video-hover-ready:hover .video-play-cue {
  opacity: 0;
}
.video-is-playing .video-play-cue {
  opacity: 0;
}

/* ── Mobile — video fallback background + tap cursor ── */
@media (max-width: 768px) {
  .film-tile video,
  .film-frag-media video,
  .s88-media video,
  .gl-media video,
  .ad-media video,
  .th-media video,
  .theory-triple-video video {
    background: #111111;
    cursor: pointer;
  }
}

/* ── Generative Lab contact block ── */
.gl-contact-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: #555555;
  margin: 32px 0 8px;
}
.gl-contact-email {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: #ffffff;
  text-decoration: none;
  margin-bottom: 4px;
}
.gl-contact-email:hover { text-decoration: underline; }
.gl-contact-social {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: #555555;
}

/* ── Theory bishxish block ── */
.th-bishxish {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 24px;
}
.th-bishxish-link {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: #ffffff;
  text-decoration: none;
}
.th-bishxish-link:hover { text-decoration: underline; }
.th-bishxish-social {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: #555555;
}
.th-bishxish-powered {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: #333333;
  text-transform: uppercase;
  margin-top: 4px;
}

.ct-new-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ct-new-row {
  display: flex;
  gap: 16px;
}

.ct-new-item {
  flex: 1;
  height: 400px;
  overflow: hidden;
}

@media (max-width: 768px) {
  .ct-new-row {
    flex-direction: column;
  }
  .ct-new-item {
    height: 260px;
  }
}

.ct-video-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin-bottom: 16px;
}
.ct-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ct-image-row {
  display: flex;
  gap: 16px;
}
.ct-image-item {
  flex: 1;
  overflow: hidden;
}
.ct-image-item img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}
@media (max-width: 768px) {
  .ct-image-row {
    flex-direction: column;
  }
}

/* ── Cynthia Tracy — refined layout ── */
.ct-new-video {
  width: 100%;
  height: 70vh;
  overflow: hidden;
  margin-bottom: 0;
}
.ct-new-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ct-new-row {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}
.ct-new-item {
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.ct-new-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}
.ct-new-label {
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #555555;
  margin-top: 8px;
}
@media (max-width: 768px) {
  .ct-new-video {
    height: 45vh;
  }
  .ct-new-row {
    flex-direction: column;
  }
  .ct-new-item img {
    height: 220px;
  }
}

/* ── Cynthia Tracy — lead image + supporting row ── */
.ct-new-lead {
  width: 100%;
  height: 70vh;
  overflow: hidden;
  margin-bottom: 0;
}
.ct-new-lead img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ct-new-row {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}
.ct-new-item {
  flex: 1;
  height: 260px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.ct-new-item video,
.ct-new-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ct-new-label {
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #555555;
  margin-top: 8px;
}
@media (max-width: 768px) {
  .ct-new-lead {
    height: 45vh;
  }
  .ct-new-row {
    flex-direction: column;
  }
  .ct-new-item {
    height: 220px;
  }
}

/* ── Strip drag cursor ── */
.film-frags,
.s88-strip {
  cursor: grab;
}
.film-frags.is-dragging,
.s88-strip.is-dragging {
  cursor: grabbing;
  user-select: none;
}

/* ── Description typography ── */
.film-desc p,
.gl-sub-desc p,
.ad-sub-desc p,
.ct-desc p,
.s88-desc p,
.section-desc p {
  margin-bottom: 1.4em;
  line-height: 1.85;
}

.film-desc,
.gl-sub-desc,
.ad-sub-desc,
.ct-desc,
.s88-desc,
.section-desc {
  display: flex;
  flex-direction: column;
  gap: 0;
}

a[href^="mailto"] {
  color: inherit;
  text-decoration: none;
  pointer-events: none;
}

span.contact-email,
span.contact-handle {
  display: block;
  margin-top: 4px;
}

/* ── Contact / inquiry blocks — unified across all sections ── */
.film-contact-label,
.ad-contact-label,
.gl-contact-label {
  display: block;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
  color: #888888;
  max-width: 600px;
  margin-top: 1.6em;
  margin-bottom: 0.5em;
}

.film-contact-email,
.film-contact-social,
.ad-contact-studio,
.ad-contact-email,
.ad-contact-social,
.gl-contact-email,
.gl-contact-social {
  display: block;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
  color: #888888;
  margin-top: 2px;
}

/* ── Global: kill all mailto/link styling on spans and emails ── */
a[href^="mailto"],
a[href^="mailto"]:visited,
a[href^="mailto"]:hover,
a[href^="mailto"]:focus {
  color: inherit;
  text-decoration: none;
  pointer-events: none;
}

/* ── Alignment: all text blocks flush to section left gutter ── */
.film-desc,
.gl-sub-header,
.gl-sub-desc,
.ad-sub-header,
.ad-sub-desc,
.ct-desc,
.section-desc,
.ad-inquiry,
.film-inquiry {
  padding-left: 0;
  margin-left: 0;
}

/* ── Spans inherit section color — no browser default blue ── */
span {
  color: inherit;
}

/* ── Section header alignment fix ── */
.gl-header,
.gl-sub-header {
  padding: 0 40px;
}

/* ── Inquiry text — white, no link styling ── */
.film-contact-label,
.film-contact-email,
.film-contact-social,
.gl-contact-label,
.gl-contact-email,
.gl-contact-social,
.gl-sub-contact-label,
.gl-sub-contact-email,
.gl-sub-contact-social,
.ad-sub-contact-label,
.ad-sub-contact-email,
.ad-sub-contact-social,
.th-bishxish-social,
.th-bishxish-powered {
  color: #ffffff;
  display: block;
  margin-top: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.8;
  text-decoration: none;
}

.film-contact-email,
.gl-contact-email,
.gl-sub-contact-email,
.ad-sub-contact-email {
  margin-top: 16px;
}

/* ── Kill all link color inheritance issues ── */
a.th-bishxish-link {
  color: #ffffff;
  text-decoration: none;
}

a.th-bishxish-link:hover,
a.th-bishxish-link:visited {
  color: #ffffff;
  text-decoration: none;
}

@media (max-width: 768px) {
  .gl-header,
  .gl-sub-header {
    padding: 0 20px;
  }
}

/* ── ISH + DOBLEM inquiry white text ── */
.ad-contact-label,
.ad-contact-email,
.ad-contact-social,
.ad-contact-studio {
  color: #ffffff;
  display: block;
  margin-top: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.8;
  text-decoration: none;
}

/* ── CONTACT section white text ── */
.ct-label,
.ct-title,
.ct-desc,
.ct-email,
.ct-social {
  color: #ffffff;
  display: block;
  text-decoration: none;
}

.ct-email,
.ct-social {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.8;
  margin-top: 8px;
}

/* ── Kill any remaining link color ── */
.ad-contact-email,
.ad-contact-social,
.ad-contact-studio,
.ct-email,
.ct-social {
  color: #ffffff !important;
  text-decoration: none !important;
}

/* ── In-app browser compatibility ── */
* { -webkit-tap-highlight-color: transparent; }

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

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

@media (max-width: 768px) {
  .video-play-cue,
  .mobile-play-overlay,
  .mobile-play-btn {
    display: none !important;
  }
  video {
    max-width: 100%;
    display: block;
    -webkit-playsinline: true;
    background: #111;
  }
  .s88-strip,
  .film-frags {
    -webkit-overflow-scrolling: touch;
    overflow-x: auto;
  }
  .film-tile:hover video { transform: none; }
  .film-tile:hover .film-tile-label { opacity: 0; }
  .summer-24-hide { display: none !important; }
  .ct-frames-label { display: none !important; }
  .mobile-hide { display: none !important; }
}

