:root {
  --bg: #000;
  --fg: #fff;
  --muted: #8a8a8a;
  --muted-dim: #555;
  --line: #2a2a2a;
  --accent: #e8006b;
  --nav-h: 56px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
}

body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

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

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.85), rgba(0,0,0,0));
  z-index: 100;
}

.nav .logo {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--fg);
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.nav a {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--fg);
}

.nav .logo .accent { color: var(--accent); }

.nav .menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--fg);
  font-size: 11px;
  letter-spacing: 0.14em;
  cursor: pointer;
}

body { padding-top: var(--nav-h); }

/* ---------- Grid ---------- */

.grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  grid-auto-rows: 17vw;
  gap: 2px;
  background: var(--bg);
}

.tile {
  position: relative;
  overflow: hidden;
  grid-column: span 2;
  grid-row: span 1;
  cursor: pointer;
  background: #0a0a0a;
}

.tile.w2 { grid-column: span 4; }
.tile.h2 { grid-row: span 2; }

.tile video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform 0.6s ease;
}

.tile:hover video { transform: scale(1.06); }

.tile .overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0) 45%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tile:hover .overlay { opacity: 1; }

.tile .overlay .t-title {
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--fg);
}

.tile .overlay .t-client {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

/* ---------- Page heading ---------- */

.page-head {
  padding: 48px 24px 20px;
}

.page-head h1 {
  font-size: 13px;
  letter-spacing: 0.14em;
  font-weight: 600;
  margin: 0;
  color: var(--muted);
}

/* ---------- Project detail ---------- */

.project-hero {
  width: 100%;
  background: #000;
}

.project-hero video {
  width: 100%;
  max-height: 86vh;
  object-fit: contain;
  background: #000;
}

.project-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  padding: 28px 24px;
  border-bottom: 1px solid var(--line);
}

.project-info h1 {
  font-size: 20px;
  font-weight: 500;
  margin: 0 0 6px;
}

.project-info .client {
  color: var(--muted);
  font-size: 13px;
}

.project-info .meta {
  text-align: right;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted-dim);
}

.project-nav {
  display: flex;
  justify-content: space-between;
  padding: 20px 24px 60px;
  font-size: 11px;
  letter-spacing: 0.1em;
}

.project-nav a { color: var(--muted); transition: color 0.2s ease; }
.project-nav a:hover { color: var(--fg); }

/* ---------- Showreels ---------- */

.reel-section {
  padding: 0 24px 56px;
}

.reel-section h2 {
  font-size: 12px;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 16px;
}

.reel-section video {
  width: 100%;
  background: #000;
}

/* ---------- Contact ---------- */

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  padding: 64px 24px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-wrap h1 {
  font-size: 22px;
  font-weight: 400;
  margin: 0 0 40px;
  max-width: 320px;
}

.info-block { margin-bottom: 28px; }

.info-block .label {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--muted-dim);
  margin-bottom: 6px;
}

.info-block .value { font-size: 14px; }
.info-block a.value:hover { color: var(--muted); }

.field { margin-bottom: 28px; }

.field label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--muted-dim);
  margin-bottom: 10px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  color: var(--fg);
  font-family: inherit;
  font-size: 14px;
  padding: 6px 0 10px;
  outline: none;
  transition: border-color 0.2s ease;
}

.field select option { background: #111; color: #fff; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--fg);
}

.field textarea { resize: vertical; min-height: 80px; }

.submit-row { display: flex; justify-content: flex-end; }

.submit-row button {
  background: none;
  border: none;
  color: var(--fg);
  font-size: 11px;
  letter-spacing: 0.12em;
  cursor: pointer;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--fg);
}

.submit-row button:hover { color: var(--muted); border-color: var(--muted); }

.form-note {
  font-size: 12px;
  color: var(--muted-dim);
  margin-top: 16px;
}

/* ---------- Hero ---------- */

.hero {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}

.hero .eyebrow {
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--muted);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(48px, 10vw, 110px);
  line-height: 0.95;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 28px;
}

.hero h1 .accent { color: var(--accent); }

.hero p.tagline {
  font-size: 16px;
  color: var(--muted);
  max-width: 440px;
  margin: 0 0 28px;
}

.hero .cats {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted-dim);
  margin-bottom: 44px;
}

.hero .cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  padding: 14px 26px;
  font-size: 11px;
  letter-spacing: 0.16em;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.hero .cta:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Section heading ---------- */

.section {
  padding: 100px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-kicker {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 14px;
}

.section h2 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 400;
  margin: 0 0 32px;
  max-width: 600px;
}

/* ---------- About ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-grid p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 18px;
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.stats .stat-value {
  font-size: 32px;
  font-weight: 600;
  color: var(--accent);
}

.stats .stat-label {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted-dim);
  margin-top: 4px;
}

.location-tag {
  margin-top: 24px;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted-dim);
}

/* ---------- Specialisms ---------- */

.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.spec-card {
  background: var(--bg);
  padding: 32px 24px;
}

.spec-card .spec-label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 14px;
}

.spec-card .spec-copy {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* ---------- Selected work / Work filter ---------- */

.work-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 0;
}

.work-head .view-all {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.work-head .view-all:hover { color: var(--accent); }

.filter-bar {
  display: flex;
  gap: 24px;
  padding: 24px 24px 0;
  flex-wrap: wrap;
}

.filter-bar button {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.14em;
  padding: 0 0 6px;
  border-bottom: 2px solid transparent;
  cursor: pointer;
}

.filter-bar button:hover { color: var(--fg); }

.filter-bar button.active {
  color: var(--fg);
  border-bottom-color: var(--accent);
}

/* ---------- Press ---------- */

.press-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  padding: 48px 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.press-row span {
  font-size: 14px;
  color: var(--muted-dim);
  letter-spacing: 0.04em;
}

/* ---------- Footer ---------- */

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--muted-dim);
  text-align: center;
}

.site-footer a {
  color: var(--muted-dim);
  transition: color 0.2s ease;
}

.site-footer a:hover { color: var(--accent); }

/* ---------- Legal pages ---------- */

.legal-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px 100px;
}

.legal-wrap h1 {
  font-size: 24px;
  font-weight: 400;
  margin: 0 0 8px;
}

.legal-wrap .legal-updated {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted-dim);
  margin-bottom: 40px;
}

.legal-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.legal-list li {
  border-bottom: 1px solid var(--line);
}

.legal-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: 14px;
  color: var(--fg);
}

.legal-list a:hover { color: var(--accent); }
.legal-list a:hover .arrow { transform: translateX(4px); }

.legal-list .arrow {
  color: var(--muted-dim);
  transition: transform 0.2s ease;
}

.legal-notice {
  margin-top: 48px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}

.legal-notice strong { color: var(--fg); }

.legal-body h2 {
  font-size: 16px;
  font-weight: 600;
  margin: 40px 0 12px;
}

.legal-body h2:first-of-type { margin-top: 8px; }

.legal-body p,
.legal-body li {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.legal-body ul { padding-left: 20px; }

.legal-back {
  display: inline-block;
  margin-top: 40px;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.legal-back:hover { color: var(--accent); }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 34vw; }
  .tile { grid-column: span 2; }
  .tile.w2 { grid-column: span 4; }

  .contact-wrap { grid-template-columns: 1fr; gap: 40px; padding: 48px 20px 64px; }

  .nav ul {
    position: fixed;
    top: var(--nav-h);
    right: 0;
    left: 0;
    background: #000;
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
    border-top: 1px solid var(--line);
    transform: translateY(-120%);
    transition: transform 0.25s ease;
  }

  .nav ul.open { transform: translateY(0); }

  .nav ul li { padding: 12px 24px; }

  .nav .menu-toggle { display: block; }
}

@media (max-width: 560px) {
  .grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 52vw; }
  .tile { grid-column: span 2; }
  .tile.w2 { grid-column: span 2; }
  .tile.h2 { grid-row: span 1; }

  .project-info { flex-direction: column; }
  .project-info .meta { text-align: left; }
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 64px 20px; }
}

@media (max-width: 560px) {
  .spec-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .hero { padding: 64px 20px; }
}
