/* Argus Media: minimal video-first portfolio */
:root {
  --ink: #0d0d0d;
  --ink-soft: #6b6b6b;
  --bg: #ffffff;
  --line: #e6e6e6;
  --pad: clamp(16px, 2.2vw, 32px);
  --font: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--pad);
  background: var(--bg);
}
.site-header.over-hero {
  background: transparent;
  color: #fff;
  transition: background 0.3s ease, color 0.3s ease;
}
.site-header.over-hero.scrolled { background: var(--bg); color: var(--ink); }

.wordmark {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav { display: flex; gap: 22px; font-size: 14px; font-weight: 500; }
.site-nav a { padding-bottom: 2px; border-bottom: 1px solid transparent; }
.site-nav a:hover,
.site-nav a[aria-current="page"] { border-color: currentColor; }

main.page { padding-top: 64px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 480px;
  overflow: hidden;
  background: #000;
}
.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.25), rgba(0,0,0,0.05) 60%),
              linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0) 20%);
}
.hero-mark {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  color: #fff;
  text-align: center;
  pointer-events: none;
  transition: opacity 0.5s ease;
}
.hero-mark.is-hidden { opacity: 0; }
.hero-mark h1 {
  margin: 0;
  font-weight: 700;
  font-size: clamp(30px, 6vw, 76px);
  letter-spacing: 0.3em;
  margin-right: -0.3em; /* balance trailing letter-spacing */
  line-height: 1;
}
.hero-mark p {
  margin: 14px 0 0;
  font-size: clamp(11px, 1.1vw, 13px);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  opacity: 0.85;
}

/* ---------- Page intro ---------- */
.intro {
  padding: 28px var(--pad) 26px;
  font-size: clamp(26px, 3.4vw, 44px);
  font-weight: 300;
  line-height: 1.18;
  letter-spacing: -0.01em;
}
.intro strong { font-weight: 700; }
.intro-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

/* ---------- Buttons ---------- */
.pill {
  display: inline-block;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 10px 34px;
  font-size: 15px;
  font-family: var(--font);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.pill:hover { background: var(--ink); color: #fff; }

/* ---------- CTA strip ---------- */
.cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 44px var(--pad);
}
.cta p {
  margin: 0;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 300;
  line-height: 1.2;
}
.cta strong { font-weight: 700; display: block; }
.cta .pill { min-width: 260px; text-align: center; }

/* ---------- Image strip ---------- */
.strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.strip.five { grid-template-columns: 1fr 2fr 2.2fr 2fr 1fr; }
.strip.five img { aspect-ratio: auto; height: clamp(180px, 26vw, 380px); }
.strip .mono { filter: grayscale(1); }

/* ---------- Prose ---------- */
.prose {
  padding: 34px var(--pad) 80px;
  max-width: 1200px;
  font-size: clamp(16px, 1.3vw, 18px);
}
.prose p { margin: 0 0 22px; }

/* ---------- Work grid ---------- */
.filters {
  display: flex;
  gap: 22px;
  padding: 0 var(--pad) 18px;
  font-size: 14px;
  font-weight: 500;
}
.filters button {
  background: none;
  border: 0;
  padding: 0 0 2px;
  font: inherit;
  color: var(--ink-soft);
  cursor: pointer;
  border-bottom: 1px solid transparent;
}
.filters button[aria-pressed="true"] { color: var(--ink); border-color: var(--ink); }

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
  background: #fff;
}
.work-heading {
  margin: 0;
  padding: 26px var(--pad) 12px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.work-grid.vertical { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.work-tile {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111;
  border: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
  color: #fff;
  text-align: left;
}
.work-tile img,
.work-tile video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter 0.45s ease, transform 0.8s ease;
}
.work-tile video { opacity: 0; transition: opacity 0.3s ease, filter 0.45s ease; }
.work-tile:hover img,
.work-tile:focus-visible img { filter: none; transform: scale(1.03); }
.work-tile.playing video { opacity: 1; filter: none; }
.work-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,0.55) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.work-tile:hover::after,
.work-tile:focus-visible::after { opacity: 1; }
.work-label {
  position: absolute;
  left: 18px;
  bottom: 14px;
  z-index: 2;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.work-label b { display: block; font-size: 17px; font-weight: 500; }
.work-label span { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.8; }
.work-tile:hover .work-label,
.work-tile:focus-visible .work-label { opacity: 1; transform: none; }
.work-grid.vertical .work-tile { aspect-ratio: 9 / 16; }
.work-tile:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }

/* Touch screens: no hover, so show colour and titles all the time */
@media (hover: none) {
  .work-tile img { filter: none; }
  .work-tile::after, .work-label { opacity: 1; transform: none; }
}

/* ---------- Player ---------- */
.player {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 56px 16px 24px;
}
.player.open { display: flex; }
.player video {
  max-width: min(92vw, 1600px);
  max-height: 82vh;
  background: #000;
}
.player-embed {
  width: min(92vw, 1600px, calc(82vh * 16 / 9));
  aspect-ratio: 16 / 9;
  background: #000;
}
.player-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.player p { color: rgba(255,255,255,0.75); font-size: 14px; margin: 12px 0 0; }
.player-close {
  position: absolute;
  top: 16px;
  right: 22px;
  background: none;
  border: 0;
  color: #fff;
  font: 500 14px var(--font);
  cursor: pointer;
}
.player-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 0;
  color: #fff;
  font-size: 34px;
  padding: 12px 18px;
  cursor: pointer;
}
.player-nav.prev { left: 6px; }
.player-nav.next { right: 6px; }

/* ---------- Contact form ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  padding: 56px var(--pad) 90px;
}
.contact-wrap h2 { margin: 0 0 10px; font-size: 26px; font-weight: 700; }
.contact-wrap .muted { color: var(--ink-soft); margin: 0 0 6px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; }
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fafafa;
  padding: 12px 14px;
  font: 15px var(--font);
  color: var(--ink);
}
.field textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: 13px; color: var(--ink-soft); margin-top: 12px; }

/* ---------- Footer ---------- */
.site-footer {
  background: #000;
  color: #fff;
  padding: 36px var(--pad) 28px;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 32px;
  font-size: 13px;
}
.site-footer h4 { margin: 0 0 12px; font-size: 14px; font-weight: 700; }
.site-footer .muted { color: rgba(255,255,255,0.65); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a:hover { text-decoration: underline; }
.footer-bottom { grid-column: 1 / -1; font-weight: 700; margin-top: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .work-grid.vertical { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-grid.vertical { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .strip.five { grid-template-columns: 1fr 1.6fr 1fr; }
  .strip.five img:nth-child(1), .strip.five img:nth-child(5) { display: none; }
}
@media (max-width: 680px) {
  .site-nav { gap: 16px; font-size: 13px; }
  .wordmark { font-size: 13px; letter-spacing: 0.2em; }
  .work-grid { grid-template-columns: 1fr; }
  .work-grid.vertical { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-grid.vertical .work-label { left: 10px; bottom: 10px; }
  .work-grid.vertical .work-label b { font-size: 14px; }
  .strip:not(.five) { grid-template-columns: 1fr 1fr; }
  .strip:not(.five) img:nth-child(3) { display: none; }
  .strip.five { grid-template-columns: 1fr; }
  .strip.five img:not(:nth-child(3)) { display: none; }
  .contact-wrap { grid-template-columns: 1fr; gap: 28px; }
  .site-footer { grid-template-columns: 1fr; }
  .cta .pill { min-width: 0; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
