/* Dream Filter Media — site styles
   Colors and fonts live in :root. Change them here and the whole site updates. */

@font-face { font-family: "Peckham"; src: url("fonts/peckham.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Amsterdam"; src: url("fonts/amsterdam.woff2") format("woff2"); font-display: swap; }

:root {
  --black: #12110F;
  --black-2: #0B0A09;
  --cream: #F4EED1;
  --cream-line: #CFC6A6;
  --ink: #1B1A17;
  --ink-soft: #3A362E;
  --accent: #A8452A;      /* terracotta: buttons, CTA band */
  --accent-light: #E8875F;/* coral: script accents, numbers on dark */
  --muted: #A89F86;
  --body: #CFC8AE;
  --line: #2A2823;
  --line-2: #4A463C;
  --display: "Peckham", Impact, "Arial Narrow", sans-serif;
  --script: "Amsterdam", "Brush Script MT", cursive;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1280px;
  --pad: clamp(20px, 4vw, 48px);
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; background: var(--black); color: var(--cream); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-light); }
:focus-visible { outline: 2px solid var(--accent-light); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--cream); color: var(--ink); padding: 10px 14px; }

/* ---------- Type ---------- */
.display { overflow-wrap: break-word; font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .01em; line-height: .92; margin: 0; }
.h-xl { font-size: clamp(46px, 10vw, 152px); line-height: .88; }
.h-lg { font-size: clamp(44px, 6vw, 84px); line-height: .95; }
.h-md { font-size: clamp(36px, 4.6vw, 64px); }
.h-sm { font-size: clamp(26px, 2.6vw, 36px); }
.script { font-family: var(--script); color: var(--accent-light); font-weight: 400; line-height: 1.1; margin: 0; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0; }
.lead { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.65; color: var(--body); margin: 0; }
.body { font-size: 16px; line-height: 1.7; color: var(--body); margin: 0; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 500; margin: 0; }
.quote { font-size: clamp(28px, 3.4vw, 46px); line-height: 1.2; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 28px; border-radius: 999px; font-size: 15px; font-weight: 600; border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s; cursor: pointer; font-family: var(--sans); }
.btn-primary { background: var(--accent); color: var(--cream); }
.btn-primary:hover { background: #8F3920; color: var(--cream); }
.btn-ghost { border-color: var(--line-2); color: var(--cream); }
.btn-ghost:hover { border-color: var(--cream); color: var(--cream); }
.btn-dark { background: var(--black); color: var(--cream); }
.btn-dark:hover { background: #000; color: var(--cream); }
.btn-outline-light { border-color: var(--cream); color: var(--cream); }
.btn-outline-light:hover { background: var(--cream); color: var(--ink); }
.link-arrow { font-size: 15px; font-weight: 600; border-bottom: 1px solid currentColor; padding-bottom: 4px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(18,17,15,.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.nav-logo img { height: 30px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 34px; font-size: 14px; font-weight: 500; letter-spacing: .04em; }
.nav-links a[aria-current="page"] { color: var(--accent-light); }
.nav-cta { min-height: 44px; padding: 0 22px; border: 1px solid var(--cream); border-radius: 999px; display: inline-flex; align-items: center; }
.nav-cta:hover { background: var(--cream); color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; color: var(--cream); width: 44px; height: 44px; cursor: pointer; }
@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: flex-start; gap: 0; background: var(--black); border-bottom: 1px solid var(--line); padding: 8px var(--pad) 24px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; font-size: 18px; width: 100%; border-bottom: 1px solid var(--line); }
  .nav-links .nav-cta { margin-top: 18px; border: 1px solid var(--cream); width: auto; padding: 0 24px; }
}

/* ---------- Sections ---------- */
.section { padding-top: clamp(80px, 10vw, 130px); padding-bottom: clamp(80px, 10vw, 130px); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 56px; }
.section-head .eyebrow { margin-bottom: 18px; }
.rule-top { border-top: 1px solid var(--line); }
.cream { background: var(--cream); color: var(--ink); }
.cream .eyebrow { color: #6B6455; }
.cream .body, .cream .lead { color: var(--ink-soft); }
.cream a:hover { color: var(--accent); }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--black-2); }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 70% 40%, #2B241C 0%, var(--black-2) 70%); }
.hero > * { position: relative; }
.hero-inner { padding-top: clamp(72px, 10vw, 120px); padding-bottom: clamp(56px, 8vw, 100px); }
.hero .eyebrow { margin-bottom: 28px; }
.hero .script { font-size: clamp(40px, 5vw, 72px); margin: -4px 0 0 4px; }
.hero-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 36px; margin-top: clamp(56px, 6vw, 88px); }
.hero-foot .lead { max-width: 520px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Media frames (Vimeo slots) */
.media { position: relative; border-radius: var(--radius); overflow: hidden; background: linear-gradient(135deg, #3A2E22, #1A1612 55%, #2E1E17); }
.media iframe, .media img, .media video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.media .ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.media .ph-label { position: absolute; left: 18px; top: 16px; color: #E3DBBE; }
.play { width: 92px; height: 92px; border-radius: 50%; border: 1px solid var(--cream); display: flex; align-items: center; justify-content: center; }
.r-219 { aspect-ratio: 21 / 9; }
.r-169 { aspect-ratio: 16 / 9; }
.r-43 { aspect-ratio: 4 / 3; }
.r-45 { aspect-ratio: 4 / 5; }
.reel { padding-bottom: clamp(64px, 8vw, 96px); }

/* Clients strip */
.clients { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.clients .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 48px; padding-top: 34px; padding-bottom: 34px; }
.clients .serif { flex: 1 1 560px; font-size: clamp(20px, 2vw, 24px); line-height: 1.5; color: var(--cream); }

/* Work grid */
.grid-work { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 40px 28px; }
.card { display: block; }
.card .media img { transition: transform .5s ease; }
.card:hover .media { transform: scale(.985); }
.card:hover h3 { color: var(--accent-light); }
.card-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 18px; }
.card h3 { font-size: 28px; transition: color .2s; }
.card .serif { font-size: 20px; color: #BDB59B; margin-top: 4px; }

/* Services list */
.svc-intro { display: flex; flex-wrap: wrap; gap: 32px 80px; margin-bottom: 64px; }
.svc-intro > div { flex: 1 1 380px; }
.svc-intro .lead { flex: 1 1 420px; align-self: flex-end; }
.svc-list { border-top: 1px solid var(--ink); }
.svc { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px 40px; padding: 34px 0; border-bottom: 1px solid var(--cream-line); align-items: baseline; }
.svc-title { display: flex; gap: 22px; align-items: baseline; }
.num { font-family: var(--display); font-size: 18px; color: var(--accent); }
.on-dark .num { color: var(--accent-light); }

/* Studio */
.split { display: flex; flex-wrap: wrap; gap: clamp(40px, 6vw, 72px); align-items: center; }
.split > .media { flex: 1 1 360px; max-width: 480px; }
.split > .copy { flex: 1 1 460px; }
.sig { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 34px; }
.sig .script { font-size: 44px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 40px; }
.step { border-top: 1px solid var(--line-2); padding-top: 24px; }
.step h3 { margin: 12px 0; }
.step .body { font-size: 15px; }

/* CTA band */
.cta { background: var(--accent); text-align: center; }
.cta .eyebrow { color: var(--cream); margin-bottom: 26px; }
.cta .display { color: var(--cream); font-size: clamp(26px, 6vw, 88px); line-height: .9; }
.cta .lead { color: #F7EEDD; max-width: 560px; margin: 30px auto 0; }
.cta .btn-row { justify-content: center; margin-top: 44px; }
.cta a:hover { color: inherit; }

/* Footer */
.site-footer { padding-top: 64px; padding-bottom: 44px; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; align-items: flex-start; }
.foot-top img { height: 34px; width: auto; }
.foot-top .serif { font-size: 20px; color: var(--muted); margin-top: 14px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 14px 28px; font-size: 14px; font-weight: 500; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); }

/* Page header (inner pages) */
.page-head { padding-top: clamp(64px, 9vw, 110px); padding-bottom: clamp(40px, 5vw, 64px); }
.page-head .eyebrow { margin-bottom: 22px; }
.page-head .lead { max-width: 640px; margin-top: 28px; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }
.filter { min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line-2); background: none; color: var(--cream); font: 500 14px var(--sans); cursor: pointer; }
.filter[aria-pressed="true"] { background: var(--cream); color: var(--ink); border-color: var(--cream); }

/* Project page */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; border-top: 1px solid var(--line-2); padding-top: 24px; margin-top: 48px; }
.facts dt { margin-bottom: 8px; }
.facts dd { margin: 0; font-size: 16px; color: var(--cream); }
.stills { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 20px; }
.next-proj { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }
.next-proj:hover .display { color: var(--accent-light); }

/* Contact form */
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea { font: 16px var(--sans); color: var(--cream); background: #1A1916; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 14px 16px; min-height: 52px; width: 100%; }
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent-light); }
.hidden { display: none; }
.contact-aside { display: flex; flex-direction: column; gap: 28px; }
.contact-aside a { border-bottom: 1px solid var(--line-2); padding-bottom: 2px; }

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

/* Long project names */
.h-proj { font-size: clamp(32px, 8vw, 140px); line-height: .9; }
.h-next { font-size: clamp(30px, 6vw, 84px); line-height: .95; }
.hero h1 { font-size: clamp(46px, 7.4vw, 106px); }

/* ---------- Video players ---------- */
button.media { display: block; width: 100%; padding: 0; border: 0; cursor: pointer; color: inherit; font: inherit; }
.media img { transition: transform .6s ease, opacity .3s; }
.vplay:hover img { transform: scale(1.03); }
.vplay .play { background: rgba(18,17,15,.35); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); transition: transform .25s, background .25s; }
.vplay:hover .play { transform: scale(1.08); background: var(--accent); border-color: var(--accent); }
.vplay.playing { cursor: default; }
.r-916 { aspect-ratio: 9 / 16; }
.vtile { margin: 0; }
.vtile figcaption { margin-top: 14px; }
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 32px 20px; }
.hgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 32px 24px; margin-bottom: 48px; }
@media (max-width: 560px) { .vgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; } }
@media (min-width: 900px) { .vgrid { grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); } }
.card.soon { cursor: default; }
.card.soon:hover h3 { color: inherit; }
.card.soon:hover .media img { transform: none; }
@media (min-width: 900px) { .vgrid.few { grid-template-columns: repeat(var(--cols), minmax(0, 300px)); } }

/* Project cards: category sits above the title, always left-aligned */
.card-meta { display: block; padding-top: 18px; }
.card-meta .eyebrow { display: block; margin-bottom: 8px; }

/* Behind-the-scenes collage (About page) */
.collage { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.collage .col { display: flex; flex-direction: column; gap: 20px; }
.collage .offset { padding-top: clamp(40px, 6vw, 96px); }
.collage figure { margin: 0; }
.collage img { width: 100%; height: auto; display: block; border-radius: var(--radius); }
.collage figcaption { margin-top: 12px; }
@media (max-width: 720px) {
  .collage { display: block; columns: 2; column-gap: 12px; }
  .collage .col { display: contents; }
  .collage figure { break-inside: avoid; margin-bottom: 16px; }
  .collage .offset { padding-top: 0; }
}
.h-about { font-size: clamp(34px, 8vw, 118px); line-height: .9; }
.steps .h-sm { font-size: clamp(22px, 2.1vw, 30px); }
.hero .script { margin-top: clamp(10px, 1.6vw, 22px); }
