/* Content Collective by TK
   Layout concept: a contact sheet. Quiet olive-and-paper chrome, footage carries the colour,
   every clip labelled with its real format and running time like a frame on a proof sheet. */
:root {
  --paper: #f7f6f1;
  --paper-2: #efede5;
  --ink: #26241c;
  --olive: #4a4536;
  --muted: #6c6858;
  --line: #dfdbcf;
  --sand: #9c8758;
  --on-olive: #f3efe4;
  --ph: #d9d4c4;

  --display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --body: "Karla", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --wrap: 1240px;
  --radius: 4px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #16150f; --paper-2: #1f1d16; --ink: #ece8dc; --olive: #d4cbb0; --muted: #a29d8b;
    --line: #322f25; --sand: #c4ad7c; --on-olive: #1a1912; --ph: #2a281f; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #16150f; --paper-2: #1f1d16; --ink: #ece8dc; --olive: #d4cbb0; --muted: #a29d8b;
  --line: #322f25; --sand: #c4ad7c; --on-olive: #1a1912; --ph: #2a281f; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; }

.wrap {
  max-width: var(--wrap); margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

/* Logos swap with theme */
.logo-dark { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo-light { display: none; } :root:not([data-theme="light"]) .logo-dark { display: block; } }
:root[data-theme="dark"] .logo-light { display: none; }
:root[data-theme="dark"] .logo-dark { display: block; }

/* Type */
.eyebrow {
  font-family: var(--display); font-weight: 600; font-size: 0.72rem;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin: 0;
}
h1, h2, h3 { text-wrap: balance; margin: 0; }
.h-display {
  font-family: var(--display); font-weight: 600; letter-spacing: -0.01em;
  font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.08; color: var(--ink);
}
.h-section {
  font-family: var(--display); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.16em; font-size: clamp(1rem, 1.6vw, 1.15rem); color: var(--olive);
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; margin: 0; }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--paper); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 14px; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  font-family: var(--display); font-weight: 500; font-size: 0.78rem; letter-spacing: 0.14em;
  text-transform: uppercase; text-decoration: none; color: var(--ink);
}
.nav a[aria-current="page"], .nav a:hover { color: var(--sand); }
.btn {
  display: inline-flex; align-items: center; gap: 10px; border-radius: 999px;
  font-family: var(--display); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; padding: 13px 22px; border: 1px solid var(--olive); color: var(--olive); background: transparent;
  cursor: pointer; transition: background .2s ease, color .2s ease;
}
.btn:hover { background: var(--olive); color: var(--on-olive); }
.btn--solid { background: var(--olive); color: var(--on-olive); }
.btn--solid:hover { background: var(--sand); border-color: var(--sand); color: var(--on-olive); }
.nav .btn { padding: 10px 18px; color: var(--olive); }
.nav .btn:hover { color: var(--on-olive); }
@media (max-width: 760px) {
  .nav a:not(.btn) { display: none; }
  .brand img { height: 38px; }
}

/* Hero */
.hero .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding-block: clamp(40px, 7vw, 88px) clamp(36px, 5vw, 64px); }
.hero__copy { display: grid; gap: 22px; min-width: 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero__feature { min-width: 0; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }

/* Clients strip */
.clients { border-block: 1px solid var(--line); }
.clients .wrap { padding-block: 22px; display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: baseline; }
.clients .eyebrow { margin-right: 6px; }
.clients ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.clients li { font-family: var(--display); font-weight: 500; font-size: 0.86rem; color: var(--ink); white-space: nowrap; }

/* Sections */
.section .wrap { padding-block: clamp(52px, 8vw, 96px); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.section-head > div { display: grid; gap: 10px; min-width: 0; }
.section-head .text-link { font-family: var(--display); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--olive); text-decoration-color: var(--sand); text-underline-offset: 5px; }
.section--tint { background: var(--paper-2); }

/* Clips */
.grid-films { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 22px; }
.grid-reels { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 26px 16px; }
.work-reels-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid-films { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-reels, .work-reels-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grid-films { grid-template-columns: 1fr; } .grid-reels, .work-reels-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.clip { display: grid; gap: 12px; min-width: 0; }
.clip__frame {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius);
  background: var(--ph); aspect-ratio: 16 / 9; max-width: 100%; text-decoration: none; isolation: isolate;
}
.clip--reel .clip__frame { aspect-ratio: 9 / 16; }
.clip__ph { position: absolute; inset: 0; display: grid; place-items: center; padding: 12px; text-align: center; font-family: var(--display); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); z-index: 0; }
.clip__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s ease, transform .6s ease; z-index: 1; }
.clip__frame img.is-in { opacity: 1; }
.clip__frame:hover img { transform: scale(1.03); }
.clip__play {
  position: absolute; left: 14px; bottom: 14px; z-index: 2; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(247, 243, 234, 0.92); color: #3c3829;
  transition: transform .2s ease, background .2s ease;
}
.clip--reel .clip__play { width: 38px; height: 38px; left: 10px; bottom: 10px; }
.clip__frame:hover .clip__play { transform: scale(1.08); background: #fff; }
.clip__tc {
  position: absolute; right: 10px; top: 10px; z-index: 2; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.04em;
  padding: 3px 7px; border-radius: 3px; background: rgba(22, 21, 15, 0.72); color: #efeadd;
}
.clip__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; background: #000; }
.clip__frame.is-playing .clip__play, .clip__frame.is-playing .clip__tc { display: none; }
.clip__meta { display: grid; gap: 2px; min-width: 0; }
.clip__client { margin: 0; font-family: var(--display); font-weight: 600; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sand); }
.clip__title { font-family: var(--body); font-weight: 500; font-size: 1.02rem; line-height: 1.35; color: var(--ink); }
.clip--reel .clip__title { font-size: 0.94rem; }
.hero__feature .clip__title { font-size: 1.15rem; }

/* Photo band */
.photo-band { position: relative; }
.photo-band img { width: 100%; height: clamp(280px, 46vw, 620px); object-fit: cover; }
.photo-band figcaption { position: absolute; left: 0; right: 0; bottom: 0; }
.photo-band figcaption .wrap { padding-block: 18px; }
.photo-band figcaption span {
  display: inline-block; font-family: var(--display); font-weight: 600; font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
  background: rgba(22, 21, 15, 0.7); color: #efeadd; padding: 7px 11px; border-radius: 3px;
}

/* Services */
.services { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 80px); }
.services__intro { display: grid; gap: 16px; align-content: start; }
.service-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.service-list li { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 8px 32px; padding-block: 22px; border-bottom: 1px solid var(--line); }
.service-list h3 { font-family: var(--display); font-weight: 600; font-size: 1.02rem; color: var(--ink); }
.service-list p { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .services { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .service-list li { grid-template-columns: 1fr; } }

/* Process — a real sequence, so it is numbered */
.process { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.process li { counter-increment: step; display: grid; gap: 8px; align-content: start; padding-top: 16px; border-top: 2px solid var(--olive); }
.process li::before { content: "Step " counter(step); font-family: var(--mono); font-size: 0.74rem; color: var(--sand); }
.process h3 { font-family: var(--display); font-weight: 600; font-size: 0.98rem; }
.process p { margin: 0; color: var(--muted); font-size: 0.95rem; }
@media (max-width: 860px) { .process { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .process { grid-template-columns: 1fr; } }

/* About */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 80px); align-items: center; }
.about__mark { display: grid; place-items: center; aspect-ratio: 1 / 1; width: 100%; max-width: 380px; justify-self: center; border: 1px solid var(--line); border-radius: 50%; padding: 18%; }
.about__copy { display: grid; gap: 16px; }
.about__copy p { margin: 0; max-width: 34em; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; margin: 8px 0 0; }
.facts div { display: grid; gap: 2px; }
.facts dt { font-family: var(--display); font-weight: 600; font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; font-weight: 500; }
.about__mark img { width: 100%; height: auto; }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; } .about__mark { max-width: 220px; } }

/* Contact */
.contact { background: var(--olive); color: var(--on-olive); }
.contact .wrap { padding-block: clamp(56px, 8vw, 104px); display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 6vw, 72px); align-items: end; }
.contact .eyebrow { color: color-mix(in srgb, var(--on-olive) 70%, transparent); }
.contact .h-display { color: var(--on-olive); }
.contact__copy { display: grid; gap: 18px; }
.contact__copy p { margin: 0; max-width: 32em; color: color-mix(in srgb, var(--on-olive) 82%, transparent); }
.contact-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid color-mix(in srgb, var(--on-olive) 25%, transparent); }
.contact-lines li { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding-block: 16px; border-bottom: 1px solid color-mix(in srgb, var(--on-olive) 25%, transparent); flex-wrap: wrap; }
.contact-lines .label { font-family: var(--display); font-weight: 600; font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: color-mix(in srgb, var(--on-olive) 70%, transparent); display: block; }
.contact-lines a { font-size: 1.12rem; font-weight: 500; text-decoration: none; color: var(--on-olive); overflow-wrap: anywhere; }
.contact-lines a:hover { text-decoration: underline; }
.copy-btn { font: inherit; font-family: var(--display); font-weight: 600; font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; background: transparent; color: var(--on-olive); border: 1px solid color-mix(in srgb, var(--on-olive) 40%, transparent); border-radius: 999px; padding: 6px 12px; cursor: pointer; }
.copy-btn:hover { background: color-mix(in srgb, var(--on-olive) 14%, transparent); }
@media (max-width: 860px) { .contact .wrap { grid-template-columns: 1fr; } }

/* Footer */
.site-footer .wrap { padding-block: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; color: var(--muted); font-size: 0.86rem; }
.site-footer img { height: 34px; width: auto; max-width: none; }
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--sand); }

/* Work page */
.page-intro .wrap { padding-block: clamp(40px, 6vw, 72px) 20px; display: grid; gap: 18px; }
.chips-bar { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 75px); z-index: 10; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.chips-bar .wrap { padding-block: 14px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; font: inherit; font-family: var(--display); font-weight: 500; font-size: 0.78rem; letter-spacing: 0.04em;
  padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; white-space: nowrap;
}
.chip span { font-family: var(--mono); font-size: 0.7rem; color: var(--muted); margin-left: 4px; }
.chip:hover { border-color: var(--olive); }
.chip[aria-pressed="true"] { background: var(--olive); border-color: var(--olive); color: var(--on-olive); }
.chip[aria-pressed="true"] span { color: color-mix(in srgb, var(--on-olive) 70%, transparent); }
.work-block .wrap { padding-block: 40px 20px; }
.work-block h2 { margin-bottom: 22px; }
.work-cta .wrap { padding-block: 40px 80px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); margin-top: 40px; }
@media (max-width: 760px) { .chips-bar { top: calc(env(safe-area-inset-top, 0px) + 67px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Case study */
.case__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 6vw, 80px); align-items: center; }
.case__copy { display: grid; gap: 18px; }
.stats { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.stats div { display: grid; gap: 4px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.stats div:nth-child(odd) { padding-right: 16px; }
.stats div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
.stats dt { font-family: var(--display); font-weight: 600; font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.stats dd { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.1; color: var(--olive); font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .case__grid { grid-template-columns: 1fr; } }
