@import url("fonts.css");
@import url("logo-masks.css");

/* FUX Productions
   Palette: stage black, logo grey, haze, rig, tungsten amber (the one accent). */
:root {
  --black: #000;
  --rig: #161616;
  --line: #2a2a2a;
  --haze: #9a9a9a;
  --grey: #dcdcdc;
  --amber: #ffa51f;
  --amber-ink: #1a1000;

  --font-display: "Big Shoulders Stencil", "Big Shoulders Stencil Display", "Archivo Narrow", Impact, sans-serif;
  --font-body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--black);
  color: var(--grey);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 800; }
p { margin: 0; }

:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--amber); color: var(--amber-ink); padding: 10px 16px; font-weight: 700;
}
.skip:focus { top: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter);
  background: linear-gradient(to bottom, rgba(0,0,0,.85), rgba(0,0,0,0));
  transition: background-color .25s ease;
}
.site-header.is-scrolled { background: rgba(0,0,0,.92); border-bottom: 1px solid var(--line); }
.brand img { height: 40px; width: auto; }

.site-nav { display: flex; align-items: center; gap: clamp(16px, 2.6vw, 40px); }
.site-nav > a {
  text-decoration: none; font-weight: 600; font-size: .95rem; white-space: nowrap;
  padding: 8px 0; border-bottom: 2px solid transparent;
  transition: border-color .2s ease, color .2s ease;
}
.site-nav > a:hover, .site-nav > a.is-active { border-color: var(--amber); color: #fff; }

.lang { display: flex; border: 1px solid var(--line); }
.lang button {
  font: 600 .85rem var(--font-body); color: var(--haze);
  background: none; border: 0; padding: 6px 10px; cursor: pointer;
  min-height: 36px; min-width: 40px;
}
.lang button[aria-pressed="true"] { background: var(--grey); color: var(--black); }
.lang button:hover:not([aria-pressed="true"]) { color: #fff; }

.menu-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 48px; height: 48px; padding: 12px; color: var(--grey);
}
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after {
  display: block; width: 24px; height: 2px; background: currentColor; position: relative;
  transition: transform .25s ease, background-color .25s ease;
}
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle__bars::before { top: -7px; }
.menu-toggle__bars::after { top: 7px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 24px;
  font: 700 1rem var(--font-body); text-decoration: none; cursor: pointer;
  border: 2px solid transparent;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn--primary { background: var(--amber); color: var(--amber-ink); }
.btn--primary:hover { background: #ffbb52; }
.btn--ghost { border-color: var(--grey); color: var(--grey); }
.btn--ghost:hover { background: var(--grey); color: var(--black); }

/* ---------- Hero: a follow spot over a dark stage ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 40px) var(--gutter) clamp(48px, 9vh, 96px);
  overflow: hidden; isolation: isolate;
  --x: 73%; --y: 40%; --r: clamp(220px, 30vmax, 520px);
}
.hero__stage { position: absolute; inset: 0; z-index: -1; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* outside the beam: black & white; inside the beam (--lit): full colour */
.hero__img--dark { filter: grayscale(1) brightness(.42) contrast(1.05); }
.hero__img--lit {
  -webkit-mask-image: radial-gradient(circle var(--r) at var(--x) var(--y), #000 0%, #000 45%, transparent 100%);
          mask-image: radial-gradient(circle var(--r) at var(--x) var(--y), #000 0%, #000 45%, transparent 100%);
  filter: saturate(1.15) brightness(1.35) contrast(1.05);
}
.hero::after { /* keep the copy readable wherever the spot lands */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.35) 45%, rgba(0,0,0,0) 70%);
}
/* Front page: the photo stays fixed behind the whole page while the content scrolls over it */
.page-home .hero { isolation: auto; }
.page-home .hero__stage { position: fixed; inset: 0; }
.page-home .pj-cta { background: rgba(0,0,0,.6); }
.page-home .site-footer { background: rgba(0,0,0,.8); }

.hero__content { max-width: 60rem; }
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 10.5vw, 9.5rem);
  line-height: .86; letter-spacing: -.005em; text-transform: uppercase;
  color: #fff;
}
.hero__lead { margin-top: 28px; max-width: 34rem; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--grey); }
.hero__actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__hint {
  position: absolute; right: var(--gutter); bottom: clamp(48px, 9vh, 96px);
  font-size: .85rem; color: var(--haze); writing-mode: vertical-rl;
}

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 12vw, 160px) var(--gutter); max-width: var(--max); margin: 0 auto; }
.section__head {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 24px 48px;
  align-items: end; margin-bottom: clamp(40px, 6vw, 72px);
}
.section__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem); line-height: .9; text-transform: uppercase; color: #fff;
}
.section__intro { max-width: 34rem; color: var(--haze); font-size: 1.125rem; }

/* ---------- Work grid (asymmetric) ---------- */
.work__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 56px) clamp(16px, 2vw, 28px);
}
.project { display: block; text-decoration: none; color: inherit; }
.project figure { margin: 0; }
.project__more {
  display: inline-block; margin-top: 10px; font-weight: 600; font-size: .95rem; color: var(--amber);
  border-bottom: 1px solid transparent; transition: border-color .2s ease;
}
.project:hover .project__more, .project:focus-visible .project__more { border-color: currentColor; }
.project--a { grid-column: 1 / span 7; }
.project--b { grid-column: 9 / span 4; align-self: end; }
.project--c { grid-column: 2 / span 4; }
.project--d { grid-column: 7 / span 6; margin-top: clamp(0px, 8vw, 120px); }
.project--e { grid-column: 1 / span 5; }
.project--f { grid-column: 6 / span 7; margin-top: clamp(0px, 5vw, 72px); }
.project--g { grid-column: 2 / span 7; }
.project--h { grid-column: 9 / span 4; align-self: end; }
.project--a .project__frame, .project--f .project__frame, .project--g .project__frame { aspect-ratio: 16 / 10; }
.project--b .project__frame, .project--c .project__frame, .project--h .project__frame { aspect-ratio: 4 / 5; }
.project--d .project__frame, .project--e .project__frame { aspect-ratio: 4 / 3; }

.project__frame { overflow: hidden; background: var(--rig); }
.project__frame img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) brightness(.6);
}
.project__frame { position: relative; }
.project figcaption { padding-top: 14px; border-top: 2px solid var(--line); margin-top: 14px; transition: border-color .35s ease; }
.project:hover figcaption { border-color: var(--amber); }
.project h3 { font-family: var(--font-display); font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1; text-transform: uppercase; color: #fff; }
.project p { margin-top: 6px; color: var(--haze); font-size: .95rem; }

/* ---------- Services: running order ---------- */
.services { border-top: 1px solid var(--line); }
.cues { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--grey); }
.cue {
  display: grid; grid-template-columns: 5rem minmax(0, 5fr) minmax(0, 6fr);
  gap: 8px 48px; align-items: baseline;
  padding: clamp(24px, 3vw, 36px) 0;
  border-bottom: 1px solid var(--line);
}
.cue__no { font-family: var(--font-display); font-size: 1.5rem; color: var(--amber); }
.cue__title { font-family: var(--font-display); font-size: clamp(1.8rem, 3.4vw, 2.9rem); line-height: 1; text-transform: uppercase; color: #fff; }
.cue__title a { color: inherit; text-decoration: none; transition: color .2s ease; }
.cue__title a:hover { color: var(--amber); }
.cue__text { color: var(--haze); max-width: 36rem; }
.cue__more { grid-column: 3; justify-self: start; font-weight: 600; color: var(--amber); text-underline-offset: 4px; }
.partners {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 16px 48px;
  margin-top: clamp(56px, 7vw, 96px);
}
.partners__title { font-family: var(--font-display); font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: .95; text-transform: uppercase; color: #fff; }
.partners__text { max-width: 38rem; }

/* ---------- About ---------- */
.about {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(32px, 6vw, 96px); align-items: center;
  border-top: 1px solid var(--line);
}
.about__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about__body .section__title { margin-bottom: 32px; }
.about__body p + p { margin-top: 18px; }
.about__body p { max-width: 34rem; }

/* ---------- Contact ---------- */
.contact {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(96px, 16vw, 200px) var(--gutter);
}
.contact__bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; filter: brightness(.28) grayscale(1); }
.contact__inner { max-width: var(--max); margin: 0 auto; }
.contact__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7.5vw, 7rem); line-height: .9; text-transform: uppercase; color: #fff;
  max-width: 14ch;
}
.contact__mail {
  display: inline-block; margin-top: 40px;
  font-size: clamp(1.4rem, 3.6vw, 2.8rem); font-weight: 700; color: var(--amber);
  text-decoration: none; border-bottom: 2px solid currentColor; overflow-wrap: anywhere;
}
.contact__mail:hover { color: #ffbb52; }
.contact__phone { display: block; margin-top: 16px; font-size: 1.25rem; text-decoration: none; color: var(--grey); }
.contact__phone:hover { color: #fff; }
.contact__place { margin-top: 16px; color: var(--haze); max-width: 36rem; }
.contact__actions { margin-top: 40px; }

/* ---------- Footer ---------- */
.site-footer {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 40px;
  padding: 40px var(--gutter); border-top: 1px solid var(--line);
  font-size: .95rem; color: var(--haze);
}
/* The full logo, nearly invisible until the beam reaches it */
.site-footer__mark {
  --fx: 28%; --fy: 45%;
  flex: 0 0 100%; aspect-ratio: 211 / 84; margin-bottom: 24px;
  background: radial-gradient(circle clamp(180px, 24vw, 380px) at var(--fx) var(--fy),
    #ffc46e 0%, var(--amber) 35%, #1f1f1f 100%);
  -webkit-mask: var(--mask-logo) center / contain no-repeat;
          mask: var(--mask-logo) center / contain no-repeat;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; }
.site-footer a { text-decoration: none; display: inline-block; padding: 8px 0; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Separate pages ---------- */
.page-first.section { padding-top: calc(var(--header-h) + clamp(48px, 7vw, 96px)); }
.page-first.services, .page-first.about { border-top: 0; }
.contact.page-first { min-height: calc(100svh - 120px); display: flex; align-items: center; padding-top: calc(var(--header-h) + 64px); }
.contact.page-first .contact__inner { width: 100%; }

/* Start page tiles */
.notfound { min-height: 60vh; }
.notfound .section__intro { margin-top: 24px; }
.notfound .btn { margin-top: 32px; }

/* Start page services: one photo tile per service */
.home-services { padding-bottom: 0; }
.home-services .section__intro { color: var(--grey); }
.svc-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); }
.svc-grid .svc { grid-column: span 2; }
.svc-grid .svc:nth-child(-n+2) { grid-column: span 3; }
.svc {
  position: relative; display: flex; align-items: flex-end; overflow: hidden;
  aspect-ratio: 3 / 2; padding: clamp(16px, 1.8vw, 26px);
  background: var(--rig); text-decoration: none;
}
.svc img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) brightness(.6);
}
.svc::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,.8), rgba(0,0,0,0) 55%);
}
.svc__title {
  position: relative; z-index: 1;
  font-family: var(--font-display); font-size: clamp(1.6rem, 2.5vw, 2.4rem); line-height: 1;
  text-transform: uppercase; color: #fff;
}

.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.tile {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: clamp(320px, 38vw, 520px); padding: clamp(20px, 2.4vw, 32px);
  text-decoration: none; background: var(--rig);
}
.tile img {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.5) saturate(.85); transition: filter .35s ease;
}
.tile::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(0,0,0,.85), rgba(0,0,0,0) 60%);
}
.tile:hover img, .tile:focus-visible img { filter: brightness(.85) saturate(1); }
.tile__title {
  font-family: var(--font-display); font-size: clamp(2.2rem, 3.6vw, 3.4rem); line-height: .95;
  text-transform: uppercase; color: #fff;
  border-bottom: 2px solid var(--line); padding-bottom: 12px; transition: border-color .35s ease;
}
.tile:hover .tile__title, .tile:focus-visible .tile__title { border-color: var(--amber); }
.tile__text { margin-top: 12px; color: var(--grey); max-width: 28rem; }

/* ---------- Project page ---------- */
.pj-hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(78svh, 760px); display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 40px) var(--gutter) clamp(40px, 7vh, 72px);
}
.pj-hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.pj-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(0,0,0,.9) 0%, rgba(0,0,0,.4) 50%, rgba(0,0,0,.15) 100%);
}
.pj-hero__content { max-width: var(--max); width: 100%; margin: 0 auto; }
.pj-back {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--grey); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--haze);
}
.pj-back:hover { color: #fff; border-color: #fff; }
.pj-hero__title {
  margin-top: 16px;
  font-family: var(--font-display); font-size: clamp(3rem, 9vw, 8rem);
  line-height: .88; text-transform: uppercase; color: #fff; max-width: 16ch;
}
.pj-hero__meta { margin-top: 16px; font-size: 1.125rem; color: var(--grey); }

.pj-body {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 96px); align-items: start;
}
.pj-facts { margin: 0; border-top: 2px solid var(--grey); }
.pj-facts > div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.pj-facts dt { color: var(--haze); font-size: .95rem; }
.pj-facts dd { margin: 4px 0 0; color: #fff; font-weight: 600; }
.pj-roles { list-style: none; margin: 0; padding: 0; }
.pj-roles li + li { margin-top: 4px; }
.pj-roles a { color: inherit; text-underline-offset: 4px; text-decoration-color: var(--amber); }
.pj-roles a:hover { color: var(--amber); }
.pj-summary { font-size: clamp(1.2rem, 1.9vw, 1.5rem); line-height: 1.5; color: #fff; max-width: 40rem; }
.pj-subtitle {
  margin-top: clamp(40px, 5vw, 64px);
  font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1; text-transform: uppercase; color: #fff;
}
.pj-done { list-style: none; margin: 24px 0 0; padding: 0; border-top: 1px solid var(--line); }
.pj-done li {
  position: relative; padding: 14px 0 14px 28px; border-bottom: 1px solid var(--line);
}
.pj-done li::before {
  content: ""; position: absolute; left: 0; top: 1.4em; width: 10px; height: 10px; background: var(--amber);
}

.pj-videos { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.pj-videos:empty { display: none; }

.pj-gallery { border-top: 1px solid var(--line); }
.pj-gallery .section__title { margin-bottom: clamp(32px, 5vw, 56px); }
.pj-grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(220px, 30vw, 480px); gap: clamp(12px, 1.6vw, 24px);
}
.pj-shot {
  grid-column: span 6; padding: 0; border: 0; background: var(--rig); cursor: zoom-in;
  overflow: hidden;
}
.pj-shot:nth-child(4n+1) { grid-column: span 7; }
.pj-shot:nth-child(4n+2) { grid-column: span 5; }
.pj-shot:nth-child(4n+3) { grid-column: span 5; }
.pj-shot:nth-child(4n+4) { grid-column: span 7; }
.pj-shot:last-child:nth-child(odd) { grid-column: 1 / -1; }
.pj-shot { position: relative; }
.pj-shot img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.6); }

/* Colour sweep: the colour copy opens as a circle from the centre outwards */
.project__frame .img-color, .pj-shot .img-color, .svc .img-color {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: none; pointer-events: none;
  clip-path: circle(0% at 50% 50%);
  /* closing: starts gently, then speeds up so the last bit doesn't linger */
  transition: clip-path .5s cubic-bezier(.3, .15, .7, .55);
}
.project:hover .img-color, .project:focus-visible .img-color,
.pj-shot:hover .img-color, .pj-shot:focus-visible .img-color,
.svc:hover .img-color, .svc:focus-visible .img-color {
  clip-path: circle(72% at 50% 50%);
  /* opening: fast start, soft landing at the edges */
  transition: clip-path .7s cubic-bezier(.22, .7, .2, 1);
}

.pj-next { border-top: 1px solid var(--line); }
.pj-next a {
  display: block; max-width: var(--max); margin: 0 auto;
  padding: clamp(56px, 8vw, 104px) var(--gutter); text-decoration: none;
}
.pj-next__label { display: block; color: var(--haze); font-weight: 600; }
.pj-next__title {
  display: block; margin-top: 8px;
  font-family: var(--font-display); font-size: clamp(2.6rem, 7vw, 6rem); line-height: .9; text-transform: uppercase; color: #fff;
  transition: color .2s ease;
}
.pj-next a:hover .pj-next__title { color: var(--amber); }

.pj-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  max-width: var(--max); margin: 0 auto; padding: 40px var(--gutter) 72px;
  border-top: 1px solid var(--line);
}
.pj-cta__title { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.6rem); text-transform: uppercase; color: #fff; line-height: 1; }

.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0;
  border: 0; background: rgba(0,0,0,.95); color: var(--grey);
}
.lightbox::backdrop { background: rgba(0,0,0,.85); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox__img { max-width: calc(100vw - 160px); max-height: calc(100vh - 120px); object-fit: contain; }
.lightbox__count { position: absolute; left: 24px; top: 20px; font-weight: 600; }
.lightbox__btn {
  position: absolute; display: grid; place-items: center; width: 56px; height: 56px;
  background: rgba(0,0,0,.5); color: #fff; border: 1px solid var(--line); cursor: pointer;
}
.lightbox__btn:hover { border-color: var(--amber); color: var(--amber); }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .section__head, .partners { grid-template-columns: 1fr; }
  .work__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .project--a, .project--d, .project--f, .project--g, .project--h { grid-column: 1 / -1; margin-top: 0; }
  .project--b, .project--e { grid-column: 1 / span 3; }
  .project--c { grid-column: 4 / span 3; }
  .project--e { grid-column: 4 / span 3; }
  .project--b { grid-column: 1 / span 3; }
  .project--d .project__frame, .project--e .project__frame { aspect-ratio: 4 / 5; }
  .project--d .project__frame { aspect-ratio: 16 / 10; }
  .about { grid-template-columns: 1fr; }
  .about__media img { aspect-ratio: 1 / 1; object-position: 50% 15%; }
  .pj-body { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr; }
  .tile { min-height: 280px; }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-grid .svc, .svc-grid .svc:nth-child(-n+2) { grid-column: auto; }
  .svc-grid .svc:last-child { grid-column: 1 / -1; aspect-ratio: 3 / 1.4; }
}

@media (max-width: 760px) {
  :root { --header-h: 64px; }
  .brand img { height: 32px; }
  .menu-toggle { display: block; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--black); border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }
  .site-nav.is-open { opacity: 1; transform: none; visibility: visible; transition: opacity .2s ease, transform .2s ease; }
  .site-nav > a { padding: 14px 0; font-size: 1.25rem; border-bottom: 1px solid var(--line); }
  .lang { margin-top: 20px; align-self: flex-start; }
  .lang button { min-height: 44px; min-width: 52px; }

  .hero { --x: 50%; --y: 24%; --r: 60vmax; }
  .hero::after { background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.75) 45%, rgba(0,0,0,0) 68%); }
  .hero__hint { display: none; }
  .hero__actions .btn { flex: 1 1 auto; }

  .work__grid { grid-template-columns: 1fr; }
  .project--a, .project--b, .project--c, .project--d, .project--e, .project--f, .project--g, .project--h { grid-column: 1 / -1; margin-top: 0; }
  .project .project__frame { aspect-ratio: 4 / 3; }

  .cue { grid-template-columns: 3rem minmax(0, 1fr); }
  .cue__text, .cue__more { grid-column: 2; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc-grid .svc:last-child { grid-column: auto; aspect-ratio: 3 / 2; }
  .pj-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .pj-shot, .pj-shot:nth-child(n) { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  .lightbox__img { max-width: 100vw; max-height: calc(100vh - 160px); }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 16px; transform: none; }
}

@media (hover: none) {
  .hero__hint { display: none; }
  /* No mouse to hover with: show project photos in colour */
  .project__frame img, .pj-shot img, .svc img { filter: none; }
  .project__frame .img-color, .pj-shot .img-color, .svc .img-color { display: none; }
}

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