/*
Theme Name: NZ Greenroom
Description: Custom theme for Chris Kirkham, NZ Greenroom Productions. Built from the nzgreen.tv brand: white, navy #0C2439, logo blue #008BCB, warm grey, Mulish and the circle of the blue g.
Author: Jackson Brocklebank
Version: 0.5.6
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: nzgreenroom
*/

:root {
  --paper: #ffffff;
  --mist: #f3f4f5;
  --line: #e3e6e9;
  --navy: #0C2439;
  --grey: #656265;
  --blue: #008BCB;      /* logo blue: the g, rings and large type */
  --blue-ink: #0079B3;  /* the same blue, deep enough for small text and for white text on it */
  --gutter: clamp(20px, 4.2vw, 64px);
  --wrap: 1360px;
  --radius: 4px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: rgba(12, 36, 57, .35) transparent; scrollbar-width: thin; }
body { font-family: "Mulish", "Helvetica Neue", Arial, sans-serif; font-size: 17px; line-height: 1.6; background: var(--paper); color: var(--navy); -webkit-font-smoothing: antialiased; caret-color: var(--blue); }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
::selection { background: rgba(0, 139, 203, .22); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Anything the scripts hide stays hidden, even buttons styled as flex (Sound on on phones, Behind the shot on films without a photo). */
[hidden] { display: none !important; }
.skip { position: fixed; z-index: 100; left: 12px; top: -80px; padding: 12px 18px; border-radius: 12px; background: var(--navy); color: #fff; font-weight: 700; }
.skip:focus { top: 12px; }
.lg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap-wide { width: min(1640px, 100% - 2 * var(--gutter)); margin-inline: auto; }

/* TYPE */
.display { font-weight: 900; font-size: clamp(60px, 9.6vw, 136px); line-height: .86; letter-spacing: -.04em; text-wrap: balance; }
.section-title { font-weight: 900; font-size: clamp(38px, 5vw, 76px); line-height: .98; letter-spacing: -.04em; text-wrap: balance; }
.sub { margin-top: 18px; font-weight: 600; font-size: clamp(17px, 1.5vw, 21px); color: var(--grey); }

/* LIQUID GLASS. Used where controls sit over footage or photos, so the picture carries on behind them. */
.glass {
  --tint: rgba(255, 255, 255, .14);
  --rim-a: rgba(255, 255, 255, .85);
  --rim-b: rgba(255, 255, 255, .06);
  --sheen: rgba(255, 255, 255, .42);
  --drop: rgba(4, 14, 24, .42);
  position: relative;
  isolation: isolate;
  background: var(--tint);
  -webkit-backdrop-filter: blur(18px) saturate(185%);
  backdrop-filter: blur(18px) saturate(185%);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .5), inset 0 -1px 1px rgba(255, 255, 255, .1), 0 14px 34px -14px var(--drop);
  transition: background-color .4s, box-shadow .4s, color .4s;
}
/* light that follows the pointer across the surface */
.glass::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(170px 120px at var(--mx, 26%) var(--my, -12%), var(--sheen), transparent 70%);
}
/* the rim, bright where the light catches the edge */
.glass::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(155deg, var(--rim-a), var(--rim-b) 40%, var(--rim-b) 62%, var(--rim-a));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: .9;
}
.lg-refract .glass { backdrop-filter: url(#lg-refract) blur(5px) saturate(185%); }

/* BUTTONS */
.btn { border: 0; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 800; font-size: 16px; line-height: 1; white-space: nowrap; transition: transform .5s var(--ease), box-shadow .4s, background-color .3s; }
.btn svg { width: 16px; height: 16px; fill: currentColor; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { background: var(--blue-ink); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 12px 26px -12px rgba(0, 121, 179, .75); }
.btn-primary:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 18px 34px -14px rgba(0, 121, 179, .85); }
.btn-glass { color: #fff; }
.btn-ghost { color: var(--blue-ink); padding: 0 6px; min-height: 44px; }
.btn-quiet { background: var(--mist); color: var(--navy); }
.ring { width: 22px; height: 22px; border-radius: 50%; border: 2px solid currentColor; display: inline-block; flex: none; }
.link-ring { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-weight: 800; color: var(--blue-ink); }
.link-ring .ring { transition: transform .5s var(--ease); }
.link-ring:hover .ring { transform: scale(1.18); }

/* NAV: a glass capsule floating over the page */
.nav { position: fixed; z-index: 50; top: 14px; left: 0; right: 0; padding: 0 var(--gutter); display: flex; justify-content: center; pointer-events: none; }
.admin-bar .nav { top: 46px; }
.nav-bar {
  --tint: rgba(255, 255, 255, .7);
  --rim-a: #fff;
  --rim-b: rgba(12, 36, 57, .1);
  --sheen: rgba(255, 255, 255, .8);
  --drop: rgba(12, 36, 57, .28);
  pointer-events: auto; width: min(var(--wrap), 100%); display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 8px 8px 8px 22px; border-radius: 999px; color: var(--navy);
}
.nav.on-dark .nav-bar { --tint: rgba(255, 255, 255, .12); --rim-a: rgba(255, 255, 255, .85); --rim-b: rgba(255, 255, 255, .06); --sheen: rgba(255, 255, 255, .42); --drop: rgba(4, 14, 24, .4); color: #fff; }
.logo { position: relative; display: block; width: 116px; height: 32px; flex: none; }
.logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: left center; transition: opacity .4s; }
.logo-white { opacity: 0; }
.nav.on-dark .logo-white { opacity: 1; }
.nav.on-dark .logo-dark { opacity: 0; }
.nav-links .menu { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; font-weight: 700; font-size: 15px; transition: background-color .3s; }
.nav-links a:hover, .nav-links .current-menu-item > a { background: rgba(12, 36, 57, .07); }
.nav.on-dark .nav-links a:hover, .nav.on-dark .nav-links .current-menu-item > a { background: rgba(255, 255, 255, .16); }
.nav-links .menu-cta > a, .nav.on-dark .nav-links .menu-cta > a { margin-left: 6px; padding: 0 22px; background: var(--blue-ink); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28); }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; place-items: center; }
.menu-toggle svg { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; transition: transform .4s var(--ease); }
.menu-toggle path { transition: transform .4s var(--ease); transform-origin: 12px 12px; }
.menu-open .menu-toggle .l1 { transform: translateY(3px) rotate(45deg); }
.menu-open .menu-toggle .l2 { transform: translateY(-3px) rotate(-45deg); }
.js-anim .is-home .nav { opacity: 0; }

.menu-sheet { position: fixed; inset: 0; z-index: 45; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: 120px var(--gutter) 40px; background: rgba(255, 255, 255, .95); -webkit-backdrop-filter: blur(30px) saturate(180%); backdrop-filter: blur(30px) saturate(180%); }
.menu-sheet[hidden] { display: none; }
.menu-sheet .menu { list-style: none; }
.menu-sheet .menu a { display: block; padding: 4px 0; font-weight: 900; font-size: clamp(44px, 13vw, 72px); line-height: 1.08; letter-spacing: -.04em; color: var(--navy); }
.menu-sheet .menu-cta a { color: var(--blue-ink); }
.sheet-contact { display: grid; gap: 8px; font-weight: 700; color: var(--grey); }

/* HERO */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; background: var(--paper); }
.stage { position: absolute; inset: 0; overflow: hidden; background: #000; will-change: clip-path; }
.media { position: absolute; inset: 0; transform: scale(1.04); }
.media video, .bts img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.bts { position: absolute; inset: 0; visibility: hidden; }
.bts img { opacity: 0; transform: scale(1.03); transition: opacity 1s ease; }
.bts img.on { opacity: 1; animation: push 4s linear forwards; }
@keyframes push { from { transform: scale(1.03); } to { transform: scale(1.1); } }
.mode-bts .bts { visibility: visible; }
.mode-bts .media video { visibility: hidden; }
.shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, .38) 0%, rgba(0, 0, 0, 0) 22%),
              linear-gradient(16deg, rgba(0, 0, 0, .62) 0%, rgba(0, 0, 0, .2) 38%, rgba(0, 0, 0, 0) 60%); }

.copy { position: absolute; z-index: 5; left: var(--gutter); right: var(--gutter); bottom: clamp(100px, 15vh, 156px); color: #fff; }
.hero-name { font-weight: 900; font-size: clamp(76px, 12.4vw, 208px); line-height: .82; letter-spacing: -.04em; margin-left: -.05em; }
.who { margin-top: clamp(18px, 2.2vw, 30px); font-weight: 700; font-size: clamp(18px, 1.7vw, 26px); letter-spacing: -.01em; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(22px, 3vw, 36px); }

.corner { position: absolute; z-index: 5; right: var(--gutter); bottom: clamp(100px, 15vh, 156px); display: flex; align-items: center; padding: 5px; border-radius: 999px; color: #fff; }
.place { max-width: 0; overflow: hidden; white-space: nowrap; font-weight: 700; font-size: 14px; opacity: 0; transition: max-width .7s var(--ease), opacity .4s, padding .7s var(--ease); }
.place.on { max-width: 300px; padding: 0 14px 0 12px; opacity: .95; }
.pause { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, .12); }
.pause svg { width: 12px; height: 12px; }

.strip { position: absolute; z-index: 5; left: var(--gutter); right: var(--gutter); bottom: 44px; display: grid; gap: 6px; }
.seg { position: relative; height: 18px; display: flex; align-items: center; }
.seg i { position: relative; display: block; width: 100%; height: 2px; background: rgba(255, 255, 255, .28); overflow: hidden; border-radius: 2px; }
.seg b { position: absolute; inset: 0; background: rgba(255, 255, 255, .95); transform: scaleX(0); transform-origin: 0 50%; }
.seg span { position: absolute; bottom: 20px; left: 0; white-space: nowrap; font-weight: 700; font-size: 13px; color: #fff; opacity: 0; transform: translateY(4px); transition: opacity .25s, transform .25s; pointer-events: none; }
.seg:hover span, .seg:focus-visible span { opacity: 1; transform: none; }

.intro { position: absolute; z-index: 40; inset: 0; display: none; place-items: center; pointer-events: none; }
.js-anim .intro { display: grid; }
.intro img { width: 240px; height: auto; }
.js-anim .copy > *, .js-anim .strip, .js-anim .corner { opacity: 0; }

.reelcap { position: absolute; z-index: 6; left: 10vw; right: 10vw; bottom: 5vh; display: flex; justify-content: flex-end; opacity: 0; visibility: hidden; }

.theatre { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 90px var(--gutter) 40px; background: rgba(255, 255, 255, .84); -webkit-backdrop-filter: blur(26px) saturate(170%); backdrop-filter: blur(26px) saturate(170%); }
.theatre[hidden] { display: none; }
.theatre-screen { width: min(88vw, 1400px, (100vh - 160px) * 16 / 9); aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: 0 50px 100px -40px rgba(12, 36, 57, .55); }
.theatre-screen video, .theatre-screen iframe { width: 100%; height: 100%; border: 0; }
.theatre .close { float: none; opacity: 1; text-shadow: none; position: absolute; top: 24px; right: var(--gutter); color: var(--navy); --tint: rgba(255, 255, 255, .7); --rim-b: rgba(12, 36, 57, .1); --drop: rgba(12, 36, 57, .25); }
.admin-bar .theatre .close { top: 56px; }

/* STATEMENT: who Chris is, beside a photo of him in the circle from his logo */
.statement { padding: clamp(104px, 14vw, 210px) 0 clamp(72px, 10vw, 150px); }
.statement-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.statement-line { font-weight: 800; font-size: clamp(38px, 5vw, 80px); line-height: 1; letter-spacing: -.04em; text-wrap: balance; }
.statement-text { margin-top: clamp(24px, 3vw, 40px); max-width: 34em; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.6; color: var(--grey); }
.statement-text p + p { margin-top: 1em; }
.statement .link-ring { margin-top: 28px; }
.statement-photo { position: relative; aspect-ratio: 1; }
.lens { position: absolute; inset: 5.5%; border-radius: 50%; overflow: hidden; background: var(--mist); }
.lens img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.lens-ring { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--blue); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 80 20; transform: rotate(-28deg); }

/* WORK */
.work-home { padding: clamp(24px, 4vw, 60px) 0 clamp(104px, 13vw, 190px); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 16px 32px; margin-bottom: clamp(36px, 4.6vw, 64px); }
.mosaic { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(44px, 4.4vw, 72px) clamp(16px, 2vw, 28px); }
.mosaic .card { grid-column: span 2; }
.mosaic .card:nth-child(5n+1), .mosaic .card:nth-child(5n+2) { grid-column: span 3; }
.mosaic .card:nth-child(5n+1) .card-title, .mosaic .card:nth-child(5n+2) .card-title { font-size: clamp(22px, 2.3vw, 34px); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(40px, 4vw, 60px) clamp(16px, 2vw, 28px); padding-bottom: clamp(96px, 12vw, 170px); }
.card { display: block; min-width: 0; border: 0; border-radius: 0; background: none; }   /* plain, even where a plugin loads Bootstrap's .card */
.card[hidden] { display: none; }
.card-link { display: block; }
.card-media { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); background: var(--mist); }
.card-media img, .card-preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-media img { transition: transform 1.2s var(--ease); }
.card-preview { opacity: 0; transition: opacity .5s; }
.card.is-playing .card-preview { opacity: 1; }
.card-empty { position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, transparent 0 21%, var(--blue) 21.4% 22.6%, transparent 23%), var(--mist); }
.card-link:hover .card-media img { transform: scale(1.045); }
.card-play { position: absolute; left: 50%; top: 50%; width: 78px; height: 78px; margin: -39px 0 0 -39px; border-radius: 50%; display: grid; place-items: center; color: #fff; opacity: 0; transform: scale(.82); transition: opacity .4s, transform .7s var(--ease); --tint: rgba(6, 24, 42, .22); }
.card-play svg { width: 28px; height: 28px; fill: currentColor; margin-left: 3px; }
.card-link:hover .card-play, .card-link:focus-visible .card-play { opacity: 1; transform: none; }
.card-title { margin-top: 18px; font-weight: 800; font-size: clamp(19px, 1.6vw, 24px); line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; transition: color .3s; }
.card-link:hover .card-title { color: var(--blue-ink); }
.card-line { margin-top: 6px; font-size: 15px; line-height: 1.45; color: var(--grey); }
@media (hover: none) { .card-play { opacity: 1; transform: scale(.8); } }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(28px, 3vw, 40px); }
.chip { min-height: 44px; padding: 0 20px; border-radius: 999px; font-weight: 700; font-size: 15px; background: var(--mist); color: var(--navy); transition: background-color .3s, color .3s; }
.chip:hover { background: #e7eaec; }
.chip[aria-pressed="true"] { background: var(--navy); color: #fff; }

/* FILMS: projects whose video is a file on the site. 16:9 cards that play on hover and open big on click (films.js).
   Homepage: the lead film full width, then a pair, a row of three and a pair. Work page: three across. */
.work-home { overflow-x: clip; }
.work-actions { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.sound-toggle[aria-pressed="false"] .ring { background: none; opacity: .55; }
.sound-toggle[aria-pressed="true"] .ring { background: currentColor; box-shadow: inset 0 0 0 4px var(--paper); }
.films-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(44px, 4.4vw, 72px) clamp(16px, 2vw, 28px); }
.films-grid .card { grid-column: span 3; }
.films-grid .card .card-title { font-size: clamp(21px, 2vw, 30px); }
.films-grid.selected .card.is-lead { grid-column: 1 / -1; }
.films-grid.selected .card.is-lead .card-title { font-size: clamp(26px, 2.6vw, 40px); }
.films-grid.selected .card:nth-child(4), .films-grid.selected .card:nth-child(5), .films-grid.selected .card:nth-child(6),
.films-grid.all .card { grid-column: span 2; }
.films-grid.selected .card:nth-child(4) .card-title, .films-grid.selected .card:nth-child(5) .card-title, .films-grid.selected .card:nth-child(6) .card-title,
.films-grid.all .card .card-title { font-size: clamp(19px, 1.6vw, 24px); }
.films-grid.all { padding-bottom: clamp(96px, 12vw, 170px); }
.films-grid .card-media, .film .card-media { aspect-ratio: 16 / 9; background: #000; }
.all-films { margin-top: clamp(44px, 5vw, 76px); }
/* Card zoom (a project setting) crops black bars off films shot wider than 16:9. */
.film .card-media img, .film .card-media .film-video { transform: scale(var(--zoom, 1)); }
.film .card-link:hover .card-media img { transform: scale(calc(var(--zoom, 1) * 1.045)); }
.film-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s; }
.film.is-previewing .film-video, .film.is-running .lead-video { opacity: 1; }
.film .card-play { opacity: .94; transform: none; --tint: rgba(6, 24, 42, .34); }
.film.is-previewing .card-play, .film.is-running .card-play { opacity: 0; transform: scale(.8); }
.film.is-running .card-link:hover .card-play { opacity: .94; transform: none; }
.film-hint { position: absolute; left: 12px; bottom: 12px; padding: 8px 14px; border-radius: 999px; color: #fff; font-size: 14px; font-weight: 700; --tint: rgba(6, 24, 42, .4); opacity: 0; transition: opacity .3s; pointer-events: none; }
.film.needs-click .film-hint { opacity: 1; }
/* The lead film opens out to the full width of the screen as it scrolls up (home.js turns --open from 0 to 1). */
@media (min-width: 861px) {
  .films-grid .film.is-lead .card-media {
    --gx: max(var(--gutter), (100vw - var(--wrap)) / 2);
    --shut: calc(1 - var(--open, 0));
    width: 100vw; margin-left: calc(50% - 50vw); border-radius: 0;
    clip-path: inset(0 calc(var(--gx) * var(--shut)) round calc(var(--radius) * var(--shut)));
  }
  .films-grid .film.is-lead .film-hint { left: calc(var(--gx) * var(--shut) + 14px); }
}
@media (max-width: 760px) {
  .films-grid { grid-template-columns: 1fr; }
  .films-grid .card, .films-grid.selected .card:nth-child(n), .films-grid.all .card { grid-column: 1 / -1; }
}

.film-layer { position: fixed; inset: 0; z-index: 80; pointer-events: none; }
.film-layer.is-open { pointer-events: auto; }
.film-layer:not(.is-open) { visibility: hidden; }
.film-veil { position: absolute; inset: 0; background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(26px) saturate(170%); backdrop-filter: blur(26px) saturate(170%); opacity: 0; transition: opacity .55s var(--ease); }
.film-layer.is-open .film-veil { opacity: 1; }
.film-stage { position: fixed; overflow: hidden; border-radius: var(--radius); background: #000; box-shadow: 0 50px 100px -40px rgba(12, 36, 57, .55); cursor: pointer; transition: background-color .5s; }
.film-layer:not(.is-open) .film-stage { visibility: hidden; }
.film-stage.bts-light { background: var(--paper); }
/* The plate holds the Behind the shot photo, with the film in a box where Chris's camera was pointing. */
.film-plate { position: absolute; left: 0; top: 0; width: 100%; height: 100%; transform-origin: 0 0; }
.film-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s; will-change: filter; }
.film-layer.is-behind .film-photo { opacity: 1; }
.film-shot { position: absolute; inset: 0; overflow: hidden; background: #000; transition: opacity .22s; }
.film-shot::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 var(--frame, 0px) rgba(255, 255, 255, .95); pointer-events: none; }
.film-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film-shot .film-video { opacity: 1; transition: opacity .35s; }
.film-layer.is-loading .film-shot .film-video { opacity: 0; transition: none; }
.film-layer.is-switching .film-shot, .film-layer.is-switching .film-cap-text { opacity: 0; }
.film-cap { position: fixed; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px 24px; flex-wrap: wrap; opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .6s var(--ease); }
.film-cap-text { transition: opacity .22s; }
.film-cap .card-title { margin: 0; font-size: clamp(20px, 2vw, 28px); }
.film-cap .card-line { margin-top: 4px; }
.film-bts { min-height: 40px; }
.film-bts[aria-pressed="true"] .ring { background: currentColor; box-shadow: inset 0 0 0 4px var(--paper); }
.film-arrow { position: fixed; z-index: 2; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: var(--navy); --tint: rgba(255, 255, 255, .72); --rim-b: rgba(12, 36, 57, .1); --drop: rgba(12, 36, 57, .25); opacity: 0; transition: opacity .4s, transform .5s var(--ease); }
.film-arrow svg { width: 24px; height: 24px; }
.film-arrow:hover { transform: scale(1.06); }
.film-layer.is-settled .film-arrow { opacity: 1; }
.film-layer .film-arrow:disabled { opacity: 0; pointer-events: none; }
.film-layer.single .film-arrow { display: none; }
.film-upnext { position: absolute; right: 16px; bottom: 18px; display: flex; align-items: center; gap: 12px; padding: 8px 20px 8px 8px; border-radius: 999px; color: #fff; text-align: left; --tint: rgba(6, 24, 42, .45); }
.film-upnext[hidden] { display: none; }
.upnext-ring { width: 40px; height: 40px; transform: rotate(-90deg); flex: none; }
.upnext-ring circle { fill: none; stroke-width: 3; }
.upnext-ring .track { stroke: rgba(255, 255, 255, .25); }
.upnext-ring .count { stroke: #fff; stroke-dasharray: 100; stroke-dashoffset: 100; stroke-linecap: round; }
.film-layer.is-counting .upnext-ring .count { animation: nzg-count 4s linear forwards; }
@keyframes nzg-count { to { stroke-dashoffset: 0; } }
.upnext-text { display: grid; font-size: 13px; line-height: 1.3; font-weight: 700; opacity: .9; }
.upnext-text b { font-size: 16px; font-weight: 800; opacity: 1; }
/* When the film's card is off screen, the player fades instead of shrinking back into it. */
.film-layer.is-fading .film-veil, .film-layer.is-fading .film-stage, .film-layer.is-fading .film-cap, .film-layer.is-fading .film-arrow, .film-layer.is-fading .film-close { opacity: 0; transition: opacity .4s var(--ease); }
.film-layer.is-fading .film-stage { transform: scale(.97); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.film-close { position: fixed; top: 24px; right: var(--gutter); color: var(--navy); --tint: rgba(255, 255, 255, .7); --rim-b: rgba(12, 36, 57, .1); --drop: rgba(12, 36, 57, .25); opacity: 0; transition: opacity .4s; }
.admin-bar .film-close { top: 56px; }
.film-layer.is-settled .film-cap, .film-layer.is-settled .film-close { opacity: 1; transform: none; }
.film-bar { position: absolute; left: 14px; bottom: 14px; display: flex; gap: 8px; opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .5s var(--ease); }
.film-layer.is-settled .film-stage:hover .film-bar, .film-layer.is-paused .film-bar, .film-layer.show-bar .film-bar { opacity: 1; transform: none; }
.film-bar button { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; --tint: rgba(6, 24, 42, .3); }
.film-bar svg { width: 20px; height: 20px; fill: currentColor; }
.film-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .18); }
.film-progress span { display: block; height: 100%; width: 0; background: var(--blue); }

/* INNER PAGES */
.page-head { padding-top: clamp(140px, 15vw, 210px); padding-bottom: clamp(36px, 4.4vw, 64px); }
.back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-bottom: 14px; font-weight: 800; color: var(--blue-ink); }
.back svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.back:hover svg { transform: translateX(-4px); }
.project-title { font-weight: 900; font-size: clamp(46px, 7vw, 112px); line-height: .92; letter-spacing: -.04em; text-wrap: balance; max-width: 15ch; overflow-wrap: anywhere; }
.project-title.is-caps { font-size: clamp(38px, 5.2vw, 84px); letter-spacing: -.02em; max-width: 18ch; }
.project-stage { margin-bottom: clamp(48px, 6vw, 96px); }
.screen { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: #000; box-shadow: 0 50px 90px -50px rgba(12, 36, 57, .6); }
.screen iframe, .screen video, .screen > img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.screen.is-still { width: min(100%, 760px); aspect-ratio: 1; margin-inline: auto; background: var(--mist); }

.entry { font-size: clamp(17px, 1.25vw, 19px); line-height: 1.65; padding-bottom: clamp(80px, 10vw, 140px); }
.entry > * + * { margin-top: 1.1em; }
.entry > :where(p, h2, h3, h4, ul, ol, blockquote, .wp-block-buttons) { max-width: 68ch; }
.entry h2 { margin-top: 2em; font-weight: 900; font-size: clamp(28px, 3vw, 44px); line-height: 1.05; letter-spacing: -.03em; }
.entry h3 { margin-top: 1.8em; font-weight: 800; font-size: 24px; letter-spacing: -.02em; }
.entry a { color: var(--blue-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.entry ul, .entry ol { padding-left: 1.2em; }
.entry li + li { margin-top: .4em; }
.entry img { border-radius: var(--radius); }
.entry iframe { width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); background: #000; }
.entry blockquote { padding-left: 1em; font-size: 1.2em; font-weight: 700; }

.about-photo { margin-bottom: clamp(56px, 7vw, 100px); }
.about-photo img { width: 100%; max-height: 84vh; object-fit: cover; object-position: 50% 30%; border-radius: var(--radius); }
.about-photo figcaption { margin-top: 12px; font-size: 14px; color: var(--grey); }
.about .entry { padding-bottom: 0; }

/* ABOUT: the story as photo and text pairs (Media & Text blocks), alternating sides */
.about .entry > .chapter { max-width: none; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 5vw, 88px); margin-block: clamp(56px, 8vw, 128px); }
.about .entry > .chapter:first-child { margin-top: 0; }
.about .entry > .chapter.has-media-on-the-right { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
.about .chapter .wp-block-media-text__media { margin: 0; }
.about .chapter .wp-block-media-text__media img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: 0 50px 90px -50px rgba(12, 36, 57, .5); }
.about .chapter .wp-block-media-text__content { padding: 0; }
.about .chapter .wp-block-media-text__content > p:first-child { font-size: clamp(19px, 1.55vw, 23px); line-height: 1.55; }
.about .entry > .chapter:first-child .wp-block-media-text__content > p:first-child { font-size: clamp(21px, 1.8vw, 27px); font-weight: 700; line-height: 1.42; letter-spacing: -.01em; }
.photo-place { margin-top: 18px; display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: var(--grey); }
.photo-place::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--blue); flex: none; }
.chapter { opacity: 1; }
.js .chapter.is-waiting { opacity: 0; transform: translateY(28px); }
.js .chapter.is-in { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
@media (max-width: 760px) {
  .about .entry > .chapter, .about .entry > .chapter.has-media-on-the-right { grid-template-columns: 1fr; gap: 22px; }
  .about .chapter.has-media-on-the-right .wp-block-media-text__media { order: -1; }
}
/* ABOUT, from 0.5.0: each part of the story is a Columns block with a Gallery of photos and the words.
   The photos sit in one 4:3 frame and take turns as the section scrolls past (site.js); with one photo,
   or before the script runs, the frame simply shows the first. */
.about .entry > .wp-block-columns.chapter { max-width: none; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 5vw, 88px); margin-block: clamp(64px, 9vw, 140px); }
.about .entry > .wp-block-columns.chapter:first-child { margin-top: 0; }
.about .entry > .wp-block-columns.chapter:has(> .chapter-text:first-child) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
.about .entry > .chapter > .wp-block-column { min-width: 0; margin: 0; flex-basis: auto; }
.about .chapter-text > p:first-child { font-size: clamp(19px, 1.55vw, 23px); line-height: 1.55; }
.about .entry > .chapter:first-child .chapter-text > p:first-child { font-size: clamp(21px, 1.8vw, 27px); font-weight: 700; line-height: 1.42; letter-spacing: -.01em; }
.about .entry .wp-block-gallery.chapter-photos { position: relative; display: block; aspect-ratio: 4 / 3; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--mist); box-shadow: 0 50px 90px -50px rgba(12, 36, 57, .5); isolation: isolate; }
/* !important because WordPress sizes gallery photos as grid tiles with an id selector (:not(#individual-image)). */
.about .entry .wp-block-gallery.chapter-photos > figure.wp-block-image { position: absolute; inset: 0; width: auto !important; height: auto; max-width: none; margin: 0 !important; display: block; }
.about .entry .wp-block-gallery.chapter-photos > figure.wp-block-image img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; border-radius: 0; }
.about .entry .wp-block-gallery.chapter-photos > figure.wp-block-image figcaption { display: none; }
.about .entry .wp-block-gallery.chapter-photos > figure.wp-block-image:not(:first-child) { clip-path: inset(0 0 0 100%); }
/* The turn: the next photo wipes in from the right and settles, the one beneath drifts left and dims. */
.about .entry .chapter-photos.deck > figure.slide { clip-path: inset(0 0 0 100%); transition: clip-path 1.05s var(--ease); }
.about .entry .chapter-photos.deck > figure.slide.is-on, .about .entry .chapter-photos.deck > figure.slide.is-past { clip-path: inset(0 0 0 0); }
.about .entry .chapter-photos.deck > figure.slide img { transform: translateX(12%) scale(1.08); transition: transform 1.4s var(--ease), filter 1.05s var(--ease); will-change: transform; }
.about .entry .chapter-photos.deck > figure.slide.is-on img { transform: none; }
.about .entry .chapter-photos.deck > figure.slide.is-past img { transform: translateX(-9%) scale(1.03); filter: brightness(.66); }
.deck-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 16px; }
.about .entry .deck-foot .photo-place { margin: 0; min-height: 22px; transition: opacity .2s; }
.deck-caption.is-changing { opacity: 0; }
.deck-caption.is-empty::before { visibility: hidden; }
.deck-bar { display: flex; gap: 6px; flex: none; width: clamp(72px, 9vw, 132px); }
.deck-bar i { position: relative; flex: 1; height: 2px; border-radius: 2px; background: rgba(12, 36, 57, .14); overflow: hidden; }
.deck-bar b { position: absolute; inset: 0; background: var(--blue); transform: scaleX(0); transform-origin: 0 50%; }
@media (max-width: 760px) {
  .about .entry > .wp-block-columns.chapter, .about .entry > .wp-block-columns.chapter:has(> .chapter-text:first-child) { grid-template-columns: 1fr; gap: 22px; }
  .about .chapter > .chapter-media { order: -1; }
}

/* ABOUT, the story as a flight through space past his photos (about-3d.js). The scene sits in a full screen
   stage that stays put while the page scrolls past it; --space (0 to 1, set by the script) takes it from
   the white page into deep space and back. The sections it was built from are hidden. */
.story-source { display: none; }
.story { position: relative; }
.story-stage { --space: 0; position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: color-mix(in srgb, #050b14 calc(var(--space) * 100%), #fff); color: color-mix(in srgb, #fff calc(var(--space) * 100%), var(--navy)); }
.story-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* a soft shadow behind the words, so they read over the photos drifting past */
.story-stage::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: var(--space); background: radial-gradient(70% 90% at 0% 50%, rgba(5, 11, 20, .82), rgba(5, 11, 20, .45) 45%, rgba(5, 11, 20, 0) 75%); }
.story-text { position: absolute; z-index: 2; left: var(--gutter); top: 0; bottom: 0; width: min(34rem, 40vw); display: grid; align-items: center; pointer-events: none; }
.story-part { grid-area: 1 / 1; opacity: 0; transform: translateY(26px); filter: blur(6px); transition: opacity .7s var(--ease), transform 1s var(--ease), filter .8s var(--ease); }
.story-part.is-on { opacity: 1; transform: none; filter: none; transition-delay: .15s; }
.story-part p { font-size: clamp(19px, 1.5vw, 23px); line-height: 1.55; text-shadow: 0 2px 24px rgba(5, 11, 20, calc(var(--space) * .9)); }
.story-part p + p { margin-top: .8em; }
.story-part.is-first p:first-child { font-size: clamp(21px, 1.75vw, 27px); font-weight: 700; line-height: 1.42; letter-spacing: -.01em; }
.story-foot { position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); bottom: clamp(20px, 3vw, 36px); display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
.story-foot .photo-place { margin: 0; min-height: 22px; color: inherit; opacity: .85; transition: opacity .2s; }
.story-cap.is-changing { opacity: 0; }
.story-cap.is-empty::before { visibility: hidden; }
.story-bar { display: flex; gap: 6px; width: clamp(110px, 14vw, 200px); flex: none; }
.story-bar i { position: relative; flex: 1; height: 2px; border-radius: 2px; background: color-mix(in srgb, currentColor 22%, transparent); overflow: hidden; }
.story-bar b { position: absolute; inset: 0; background: var(--blue); transform: scaleX(0); transform-origin: 0 50%; }
.has-story .about .page-head { padding-bottom: clamp(24px, 4vw, 56px); }
@media (max-aspect-ratio: 9 / 10) {
  .story-stage::before { background: linear-gradient(rgba(5, 11, 20, 0) 35%, rgba(5, 11, 20, .78) 62%, rgba(5, 11, 20, .9)); }
  .story-text { top: auto; bottom: 76px; left: var(--gutter); right: var(--gutter); width: auto; align-items: end; }
  .story-part p { font-size: 17px; }
  .story-part.is-first p:first-child { font-size: 19px; }
}

.entry .specialisms { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; max-width: 70ch; }
.entry .specialisms li { margin: 0; padding: 9px 16px; border-radius: 999px; background: var(--mist); font-weight: 700; font-size: 16px; }
.entry .lead { font-weight: 800; font-size: clamp(21px, 1.8vw, 27px); color: var(--blue-ink); }
.entry .four-steps { max-width: none; margin-top: clamp(40px, 5vw, 64px); }
/* WordPress wraps a group's blocks in an inner container on classic themes; the grid goes on whichever holds the steps */
.entry .four-steps:not(:has(> .wp-block-group__inner-container)), .entry .four-steps > .wp-block-group__inner-container { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 36px); }
.entry .four-steps .step { padding-top: 18px; border-top: 2px solid var(--blue); }
.entry .four-steps h3 { margin-top: 0; font-size: 21px; }
.entry .four-steps p { margin-top: .6em; font-size: 16px; line-height: 1.6; }
@media (max-width: 1000px) { .entry .four-steps:not(:has(> .wp-block-group__inner-container)), .entry .four-steps > .wp-block-group__inner-container { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .entry .four-steps:not(:has(> .wp-block-group__inner-container)), .entry .four-steps > .wp-block-group__inner-container { grid-template-columns: 1fr; } }

/* TESTIMONIALS in full, About page */
.voices { padding: clamp(80px, 10vw, 150px) 0; background: var(--mist); }
.voices-head { margin-bottom: clamp(36px, 4.6vw, 64px); }
.voices-head p { margin-top: 10px; color: var(--grey); }
.voices-grid { columns: 2 380px; column-gap: clamp(20px, 2.6vw, 40px); }
.voice { break-inside: avoid; margin: 0 0 clamp(20px, 2.6vw, 40px); padding: clamp(24px, 2.6vw, 36px); border-radius: 18px; background: var(--paper); }
.voice blockquote p { font-size: 16.5px; line-height: 1.62; }
.voice blockquote p + p { margin-top: .8em; }
.voice blockquote p:first-child::before { content: "\201C"; display: block; height: .55em; margin-bottom: 4px; font-weight: 900; font-size: 54px; line-height: 1; color: var(--blue); }
.voice figcaption { margin-top: 18px; font-size: 15px; line-height: 1.45; color: var(--grey); }
.voice figcaption b { display: block; font-weight: 800; color: var(--navy); }

/* hero: where he works, under the title line */
.who .where { display: block; margin-top: 6px; font-weight: 600; font-size: .78em; opacity: .85; }

/* hero: the film the shot on screen is from. Clicking it plays that film in the big player. */
.now { display: inline-flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 16px 0 6px; border-radius: 999px; color: #fff; font-weight: 700; font-size: 15px; white-space: nowrap; transition: background-color .3s; }
.now[hidden] { display: none; }
.now:hover { background: rgba(255, 255, 255, .12); }
.now-play { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .2); transition: background-color .3s, color .3s; }
.now-play svg { width: 12px; height: 12px; fill: currentColor; margin-left: 2px; }
.now:hover .now-play { background: #fff; color: var(--navy); }
.now-name { display: inline-block; animation: now-in .5s var(--ease); }
@keyframes now-in { from { opacity: 0; transform: translateY(6px); } }
.corner .now + .place.on { margin-left: -6px; }
.reelcap .watch-now[hidden] { display: none; }
.btn-ghost-light { color: #fff; padding: 0 10px; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.hero + .statement { padding-top: clamp(24px, 3vw, 48px); }

/* PAGE CHANGES: moving between pages, the new page opens out of the circle of the g in the logo.
   Browsers without cross page transitions change page as normal. */
:root { --g-x: calc(var(--gutter) + 52px); --g-y: 44px; }
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: nzg-page-out .9s var(--ease) both; }
::view-transition-new(root) { animation: nzg-page-in .9s var(--ease) both; }
@keyframes nzg-page-out { to { opacity: .35; transform: scale(.985); } }
@keyframes nzg-page-in { from { clip-path: circle(0 at var(--g-x) var(--g-y)); } to { clip-path: circle(150vmax at var(--g-x) var(--g-y)); } }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* ABOUT: Working across locations runs full width between the story and NZ Greenroom */
.about .places { margin-top: clamp(24px, 4vw, 64px); }
.about .entry-after { padding-top: clamp(64px, 8vw, 112px); padding-bottom: 0; }
.about .entry-after > :first-child { margin-top: 0; }

.not-found { min-height: 70vh; }
.not-found-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* PLACES: the two clocks over Chris's ski shot */
.places { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: min(96vh, 920px); overflow: hidden; color: #fff; background: #1d6fae; }
.places-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.places::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4, 22, 40, .32), rgba(4, 22, 40, 0) 38%, rgba(4, 22, 40, .42)); }
.places-inner { padding: clamp(130px, 15vw, 210px) 0 clamp(56px, 7vw, 100px); }
.places-title { max-width: 12ch; font-weight: 900; font-size: clamp(46px, 7vw, 112px); line-height: .9; letter-spacing: -.04em; text-wrap: balance; text-shadow: 0 2px 40px rgba(0, 30, 60, .25); }
.places-panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 900px; margin-top: clamp(40px, 5vw, 76px); }
.zone { --tint: rgba(6, 26, 46, .26); --sheen: rgba(255, 255, 255, .3); padding: 24px 28px 26px; border-radius: 30px; }
.zone-name { font-weight: 800; font-size: 19px; }
.zone-time { margin-top: 4px; font-weight: 900; font-size: clamp(60px, 7.4vw, 112px); line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.zone-phone { display: inline-flex; align-items: center; min-height: 44px; margin-top: 6px; font-weight: 700; font-size: 17px; }
.zone-phone:hover { text-decoration: underline; text-underline-offset: 4px; }
.places-note { margin-top: 22px; font-weight: 700; font-size: clamp(16px, 1.3vw, 19px); text-shadow: 0 1px 20px rgba(0, 30, 60, .35); }

/* CLIENTS */
.clients { padding: clamp(104px, 13vw, 190px) 0 clamp(48px, 6vw, 90px); }
/* Sixteen credits: four rows of four, so no name is left on a row by itself. */
.logo-wall { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(104px, 11.5vw, 168px); margin-top: clamp(36px, 4.4vw, 64px); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.logo-wall li { display: grid; place-items: center; min-height: 0; padding: 0 16px; text-align: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.logo-wall img { width: auto; max-width: min(58%, 168px); max-height: 64%; object-fit: contain; opacity: .82; transition: opacity .3s; }
.logo-wall li:hover img { opacity: 1; }
.logo-word { font-weight: 900; font-size: clamp(20px, 2.2vw, 32px); letter-spacing: -.03em; color: #2b2b2b; opacity: .8; }

/* QUOTES */
.quotes { padding: clamp(64px, 8vw, 120px) 0 clamp(104px, 13vw, 190px); }
.quote { max-width: 16em; font-size: clamp(32px, 4.4vw, 68px); }
.quote + .quote { margin-top: clamp(64px, 8vw, 120px); }
.quote:nth-child(2) { margin-left: auto; }
.quote blockquote p { font-weight: 800; font-size: 1em; line-height: 1.04; letter-spacing: -.035em; text-wrap: balance; text-indent: -.42em; }
.quote blockquote p::before { content: "\201C"; color: var(--blue); }
.quote blockquote p::after { content: "\201D"; color: var(--blue); }
.quote figcaption { margin-top: 20px; font-size: 16px; line-height: 1.5; color: var(--grey); }
.quote figcaption b { display: block; font-weight: 800; color: var(--navy); }

/* ENQUIRY */
.enquiry { padding: clamp(100px, 12vw, 170px) 0; background: var(--mist); }
.contact-page .enquiry { padding-top: clamp(150px, 16vw, 230px); }
.enquiry-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.enquiry-intro > p { margin-top: 22px; max-width: 26em; font-size: clamp(17px, 1.3vw, 20px); color: var(--grey); }
.direct { list-style: none; display: grid; gap: 4px; margin-top: 30px; font-weight: 800; font-size: 18px; }
.direct a { display: inline-flex; align-items: center; min-height: 40px; }
.direct a:hover { color: var(--blue-ink); }
.enquiry-form { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
.field-message, .form-status, .form-send { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 8px; font-weight: 800; font-size: 15px; }
.optional { font-weight: 600; color: var(--grey); }
.field input, .field textarea { width: 100%; padding: 15px 16px; border: 1px solid #d3d8dc; border-radius: 16px; background: #fff; font: inherit; font-size: 17px; color: var(--navy); transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 139, 203, .18); }
.form-send { margin-top: 6px; }
.form-send .btn { min-width: 200px; }
.form-status { padding: 14px 18px; border-radius: 16px; font-weight: 700; }
.form-status.is-ok { background: #def0fa; color: #00527a; }
.form-status.is-error { background: #fbe6e3; color: #8a2414; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* NEXT PROJECT */
.next-project { position: relative; display: block; height: min(72vh, 660px); overflow: hidden; background: #000; }
.next-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .92; transform: scale(1.02); transition: transform 1.6s var(--ease); }
.next-project:hover .next-bg { transform: scale(1.06); }
.next-plate { position: absolute; left: var(--gutter); bottom: var(--gutter); display: flex; align-items: center; gap: 18px; max-width: calc(100% - 2 * var(--gutter)); padding: 22px 26px 22px 30px; border-radius: 30px; color: #fff; --tint: rgba(6, 24, 42, .3); }
.next-title { font-weight: 900; font-size: clamp(26px, 3.4vw, 54px); line-height: 1; letter-spacing: -.035em; }
.next-plate svg { width: 38px; height: 38px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .6s var(--ease); }
.next-project:hover .next-plate svg { transform: translateX(6px); }

/* FOOTER */
.site-footer { padding: clamp(64px, 8vw, 110px) 0 36px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-logo img { width: 150px; }
.footer-col ul { list-style: none; display: grid; gap: 6px; font-weight: 700; font-size: 15px; }
.footer-col a { display: inline-flex; align-items: center; min-height: 32px; }
.footer-col a:hover { color: var(--blue-ink); }
.footer-small { margin-top: 56px; font-size: 14px; color: var(--grey); }
.footer-small p + p { margin-top: 4px; }
.footer-small b { color: var(--navy); }

/* PLUGINS that stay on the site */
.vp-portfolio { margin-top: 1em; }
.wp-block-buttons .wp-block-button__link { border-radius: 999px; background: var(--blue-ink); font-weight: 800; }

@media (max-width: 1100px) {
  .mosaic .card, .mosaic .card:nth-child(5n+1), .mosaic .card:nth-child(5n+2) { grid-column: span 3; }
  .mosaic .card:nth-child(5n+1) .card-title, .mosaic .card:nth-child(5n+2) .card-title { font-size: clamp(19px, 1.6vw, 24px); }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logo-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .menu-toggle { display: grid; }
  .statement-grid, .enquiry-grid { grid-template-columns: 1fr; }
  .statement-photo { width: min(78vw, 420px); order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-logo { grid-column: 1 / -1; }
}
@media (max-width: 782px) { .admin-bar .nav { top: 60px; } }
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav { top: 10px; }
  .nav-bar { padding: 6px 6px 6px 18px; }
  .copy { bottom: 108px; }
  .hero-name { font-size: 20vw; }
  .actions .btn { min-height: 48px; padding: 0 20px; font-size: 15px; }
  .corner { bottom: auto; top: 86px; }
  .strip { bottom: 30px; gap: 4px; }
  .mosaic .card, .mosaic .card:nth-child(5n+1), .mosaic .card:nth-child(5n+2) { grid-column: 1 / -1; }
  .grid { grid-template-columns: 1fr; }
  .places-panels { grid-template-columns: 1fr; }
  .zone { padding: 20px 22px 20px; border-radius: 26px; }
  .logo-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logo-wall li { aspect-ratio: 3 / 2; }
  .quote:nth-child(2) { margin-left: 0; }
  .enquiry-form { grid-template-columns: 1fr; }
  .next-plate { padding: 16px 18px 16px 22px; border-radius: 24px; }
  :root { --g-x: calc(var(--gutter) + 48px); --g-y: 39px; }
  .now { font-size: 14px; }
  .film-upnext { right: 10px; bottom: 10px; padding-right: 14px; }
  .film-upnext .upnext-ring { width: 32px; height: 32px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
