/* ============ &Entertainment ============ */

:root {
  --bg: #0b0b0c;
  --bg-raised: #131315;
  --text: #f2f1ee;
  --text-dim: #8b8a86;
  --line: #232326;
  --serif: "Bodoni Moda", "Didot", "Bodoni MT", serif;
  --serif-body: "Source Serif 4", Georgia, serif;
  --sans: "Archivo", Helvetica, Arial, sans-serif;
  --max: 1440px;
  --pad: clamp(20px, 4vw, 56px);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--text); color: var(--bg); }

a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }

/* ---------- header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px var(--pad);
  mix-blend-mode: difference;
}

.site-header .brand img { height: 34px; width: auto; }

.site-nav { display: flex; gap: clamp(16px, 3vw, 40px); }

.site-nav a {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
  opacity: 0.75;
  transition: opacity 0.2s;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { opacity: 1; }

/* ---------- filmstrip landing (Kargo-style, full-bleed) ---------- */

.strip-stage { position: relative; }

.strip-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
}

.strip {
  display: flex;
  align-items: stretch;
  height: 100svh;
  gap: 6px;
  will-change: transform;
}

/* logo + tags that stick over the work */
.strip-veil {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  mix-blend-mode: difference;
  display: grid;
  place-items: center;
}

.strip-veil .veil-logo {
  width: clamp(130px, 17vw, 260px);
  opacity: 0.92;
}

.veil-tag {
  position: absolute;
  top: 64px;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text);
  opacity: 0.8;
}
.tag-left { left: var(--pad); }
.tag-right { right: var(--pad); }

.strip-card {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  height: 100svh;
  width: clamp(280px, 36svh, 460px);
  cursor: pointer;
}

.strip-card .frame {
  position: relative;
  overflow: hidden;
  flex: 1;
  background: var(--bg-raised);
}

.strip-card .frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95);
  transition: transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1), filter 0.4s;
}
.strip-card:hover .frame img { transform: scale(1.045); filter: saturate(1.05); }

.strip-card .meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  padding: 11px 4px 13px;
}

.strip-card .client {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.strip-card .credit {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
}

/* mobile: strip becomes a vertical feed */
@media (max-width: 820px), (pointer: coarse) and (max-width: 1024px) {
  .strip-stage { height: auto !important; }
  .strip-sticky { position: static; height: auto; overflow: visible; }
  .strip { flex-direction: column; align-items: stretch; height: auto; transform: none !important; padding: 0 0 40px; gap: 28px; }
  .strip-veil {
    position: static;
    mix-blend-mode: normal;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 110px var(--pad) 48px;
  }
  .veil-tag { position: static; }
  .tag-right { display: none; }
  .strip-card { width: 100%; height: auto; }
  .strip-card .frame { aspect-ratio: 16 / 11; flex: none; }
  .strip-card .meta { padding: 10px var(--pad) 0; }
}

/* ---------- sections ---------- */

.section {
  padding: clamp(64px, 10vw, 140px) var(--pad);
  max-width: var(--max);
  margin: 0 auto;
}

.statement {
  font-family: var(--serif-body);
  font-size: clamp(22px, 2.8vw, 38px);
  line-height: 1.4;
  font-weight: 340;
  max-width: 26ch;
  text-wrap: balance;
}
.statement .dim { color: var(--text-dim); }

.kicker {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 28px;
}

/* ---------- work grid (inner pages) ---------- */

.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(16px, 2.5vw, 40px);
  row-gap: clamp(40px, 5vw, 88px);
}

.work-card { cursor: pointer; }
.work-card.span-7 { grid-column: span 7; }
.work-card.span-5 { grid-column: span 5; }
.work-card.span-6 { grid-column: span 6; }
.work-card.span-12 { grid-column: span 12; }

.work-card .frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--bg-raised);
}

.work-card .frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1), filter 0.6s;
}

.work-card:hover .frame img { transform: scale(1.04); filter: saturate(1.05); }

.work-card .frame .play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 0.3s;
  background: rgba(11,11,12,0.25);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.work-card:hover .frame .play { opacity: 1; }

.work-card .meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-top: 14px;
}

.work-card .client {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.work-card .credit {
  font-size: 13px;
  color: var(--text-dim);
  white-space: nowrap;
}

.badge {
  display: inline-block;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  padding: 3px 8px;
  border-radius: 99px;
  color: var(--text-dim);
  margin-left: 10px;
  vertical-align: middle;
}

/* ---------- big link ---------- */

.big-link {
  display: block;
  text-align: center;
  font-family: var(--serif);
  font-weight: 500;
  text-transform: uppercase;
  font-size: clamp(28px, 5vw, 68px);
  letter-spacing: 0.03em;
  padding: clamp(48px, 8vw, 120px) var(--pad);
  border-top: 1px solid var(--line);
  transition: letter-spacing 0.4s;
}
.big-link:hover { letter-spacing: 0.07em; }
.big-link span { color: var(--text-dim); }

/* ---------- creatives index ---------- */

.roster { display: flex; flex-direction: column; }

.roster-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: clamp(28px, 4vw, 48px) 0;
  border-top: 1px solid var(--line);
  position: relative;
}
.roster-row:last-child { border-bottom: 1px solid var(--line); }

.roster-row .name {
  font-family: var(--sans);
  font-weight: 600;
  text-transform: uppercase;
  font-size: clamp(20px, 3.6vw, 54px);
  line-height: 1.1;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: color 0.3s;
}
.roster-row:hover .name { color: var(--text-dim); }

.roster-row .role {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-align: right;
}

/* ---------- creative page ---------- */

.page-head {
  padding: calc(72px + clamp(48px, 8vw, 110px)) var(--pad) 0;
  max-width: var(--max);
  margin: 0 auto;
}

.page-head h1 {
  font-family: var(--serif);
  font-weight: 500;
  text-transform: uppercase;
  font-size: clamp(38px, 6.5vw, 100px);
  line-height: 1.05;
  letter-spacing: 0.02em;
}

.page-head h1.sans-title {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: clamp(32px, 5.5vw, 84px);
}

.page-head .role-line {
  margin-top: 16px;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.bio {
  max-width: 58ch;
  color: var(--text);
  font-family: var(--serif-body);
  font-size: clamp(17px, 1.5vw, 20px);
  font-weight: 340;
  line-height: 1.75;
  display: grid;
  gap: 1em;
  margin-top: clamp(32px, 4vw, 56px);
}
.bio .clients { color: var(--text-dim); font-family: var(--sans); font-size: 14px; line-height: 1.8; }

.portfolio-link {
  display: inline-block;
  margin-top: 28px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  border-bottom: 1px solid var(--line);
  padding-bottom: 3px;
  transition: color 0.3s, border-color 0.3s;
}
.portfolio-link:hover { color: var(--text); border-color: var(--text); }

/* ---------- about ---------- */

.about-logo { width: clamp(96px, 12vw, 160px); margin-bottom: 48px; }

.services { margin-top: 4px; display: grid; gap: 14px; }

.service h3 {
  font-family: var(--sans);
  font-weight: 500;
  text-transform: uppercase;
  font-size: clamp(16px, 1.6vw, 21px);
  letter-spacing: 0.08em;
}

/* ---------- contact ---------- */

.contact-block { display: grid; gap: 8px; margin-top: clamp(40px, 5vw, 72px); }

.contact-block a.mail {
  font-family: var(--sans);
  font-weight: 600;
  text-transform: uppercase;
  font-size: clamp(17px, 2.6vw, 34px);
  letter-spacing: 0.04em;
  line-height: 1.2;
  white-space: nowrap;
  transition: color 0.3s;
}
.contact-block a.mail:hover { color: var(--text-dim); }

.contact-block .sub {
  margin-top: 20px;
  color: var(--text-dim);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.contact-block .sub a { border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.contact-block .sub a:hover { border-color: var(--text); }

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px var(--pad) 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.site-footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
.site-footer a:hover { color: var(--text); }
.site-footer .amp-mark img { height: 28px; width: auto; }

/* ---------- lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(5,5,6,0.92);
  backdrop-filter: blur(6px);
  display: none;
  place-items: center;
  padding: 4vw;
}
.lightbox.open { display: grid; }

.lightbox .player {
  width: min(1200px, 100%);
  aspect-ratio: 16 / 9;
  background: #000;
}
.lightbox .player iframe { width: 100%; height: 100%; border: 0; }
.lightbox .player video { width: 100%; height: 100%; object-fit: contain; }

.lightbox .close {
  position: absolute;
  top: 20px;
  right: var(--pad);
  background: none;
  border: 0;
  color: var(--text);
  font-family: inherit;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 10px;
}

/* ---------- reveal ---------- */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */

@media (max-width: 820px) {
  .work-card.span-7, .work-card.span-5, .work-card.span-6 { grid-column: span 12; }
  .roster-row { grid-template-columns: 1fr; gap: 8px; }
  .roster-row .role { text-align: left; }
  .service { grid-template-columns: 1fr; gap: 8px; }
  .site-nav a { font-size: 11px; }
  .site-header .brand img { height: 26px; }
}
