/* Arlo Radford — site styles.
   One sheet for every page. Tokens first, then the shared pieces (header,
   footer, links, loader, cursor), then each section in page order. */

@font-face {
  font-family: 'Lexend';
  font-style: normal;
  font-weight: 300 400;
  font-display: swap;
  src: url('/assets/fonts/lexend-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* macrons (Pūkeko, Kererū, Whakatū) live in latin-ext */
@font-face {
  font-family: 'Lexend';
  font-style: normal;
  font-weight: 300 400;
  font-display: swap;
  src: url('/assets/fonts/lexend-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #111111;
  --paper: #F6F4F0;
  --muted: #6B6B6B;
  --muted-on-dark: #9A9A9A;
  --frame: #1A1A1A;
  --slide: #3A3A3A;
  --placeholder: #E2E0DB;
  --placeholder-2: #D6D3CD;
  --placeholder-3: #CBC8C1;
  --rule: rgba(17, 17, 17, 0.25);

  --font: 'Lexend', ui-sans-serif, system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --gutter: 16px;
  --section: clamp(4rem, 3rem + 4vw, 6rem);
  --header-h: 72px;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-curtain: cubic-bezier(0.76, 0, 0.24, 1);

  /* client logo base height; each logo scales off it (see .logo-*) */
  --lh: 40px;

  /* the cursor: a plain 16px dot, ink on paper and paper on ink */
  --dot-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='8' fill='%23111111'/%3E%3C/svg%3E") 8 8, auto;
  --dot-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='8' fill='%23F6F4F0'/%3E%3C/svg%3E") 8 8, auto;
}

/* ---------- base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--paper);
}
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--ink);
  background: var(--paper);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video, svg { display: block; max-width: 100%; }
/* width/height attributes are there for layout stability; CSS decides the size */
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure { margin: 0; }
button { font: inherit; color: inherit; letter-spacing: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
::selection { background: var(--ink); color: var(--paper); }

/* nothing scrolls behind an open lightbox or menu */
html:has(dialog[open]) { overflow: hidden; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

/* ---------- type ---------- */

.h1 {
  font-size: clamp(2rem, 1rem + 4vw, 3.75rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.05em;
}
.h2 {
  font-size: clamp(1.625rem, 1.1rem + 2.2vw, 2.625rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.05em;
}
.h3 {
  font-size: clamp(1rem, 0.92rem + 0.35vw, 1.25rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.05em;
}
.lede {
  max-width: 52ch;
  font-size: clamp(0.9375rem, 0.85rem + 0.35vw, 1.125rem);
  line-height: 1.6;
  color: var(--muted);
}
.body {
  font-size: clamp(0.875rem, 0.82rem + 0.25vw, 1rem);
  line-height: 1.6;
  color: var(--muted);
}
.body-narrow { max-width: 48ch; }
.body-cta { max-width: 46ch; }

/* ---------- layout helpers ---------- */

.section { padding: var(--section) var(--gutter); }
.section-flush-top { padding-top: 0; }
.stack-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}
.section-head { margin-bottom: 40px; gap: 24px; }
.section-head > div { display: flex; flex-direction: column; align-items: center; gap: 16px; }

/* page titles on the inner pages */
.page-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: calc(var(--section) * 0.75) var(--gutter) var(--section);
}

/* ---------- text link with the arrow ---------- */

.link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--rule);
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
}
.link svg { width: 12px; height: 12px; transition: transform 0.3s ease-out; }
.link:hover svg, .link:focus-visible svg { transform: rotate(45deg); }
.cta .link { margin-top: 8px; }

/* ---------- header ---------- */

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
  padding: 0 var(--gutter);
  flex-shrink: 0;
}
.brand { display: flex; align-items: center; }
.brand img { height: 28px; width: auto; }
.nav { display: flex; gap: 28px; font-size: 14px; }
.nav a { display: block; }
.nav a[aria-current='page'] { border-bottom: 1px solid var(--ink); }

/* hover: the word climbs out the top and a copy climbs in behind it
   (the same label swap as the Tui Media nav) */
.swap { display: inline-grid; overflow: hidden; line-height: 1.3; }
.swap > span { grid-area: 1 / 1; transition: transform 380ms var(--ease-out); }
.swap > span:nth-child(2) { transform: translateY(115%); }
@media (hover: hover) and (pointer: fine) {
  .nav a:hover .swap > span:nth-child(1) { transform: translateY(-115%); }
  .nav a:hover .swap > span:nth-child(2) { transform: translateY(0); }
}

.menu-open {
  display: none;
  min-height: 44px;
  padding: 0 0 0 16px;
  border: 0;
  background: transparent;
  font-size: 14px;
}

/* phone menu: a full-screen ink sheet */
.menu {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--ink);
  color: var(--paper);
}
.menu::backdrop { background: var(--ink); }
.menu[open] { display: flex; flex-direction: column; }
.menu-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding: 0 var(--gutter);
}
.menu-bar img { height: 28px; width: auto; }
.menu-close {
  min-height: 44px;
  padding: 0 0 0 16px;
  border: 0;
  background: transparent;
  font-size: 14px;
}
.menu-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  padding: 32px var(--gutter);
  list-style: none;
  font-size: clamp(2rem, 1.4rem + 4vw, 2.75rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1.2;
}
.menu-links li { overflow: hidden; }
.menu-links a { display: inline-block; }
.menu-links a[aria-current='page'] { color: var(--muted-on-dark); }
.menu[open] .menu-links a { animation: menu-in 600ms var(--ease-expo) both; }
.menu[open] .menu-links li:nth-child(2) a { animation-delay: 50ms; }
.menu[open] .menu-links li:nth-child(3) a { animation-delay: 100ms; }
.menu[open] .menu-links li:nth-child(4) a { animation-delay: 150ms; }
.menu[open] .menu-links li:nth-child(5) a { animation-delay: 200ms; }
@keyframes menu-in { from { transform: translateY(110%); } to { transform: none; } }
.menu-foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px var(--gutter) 32px;
  font-size: 14px;
  color: var(--muted-on-dark);
}

@media (max-width: 720px) {
  .nav { display: none; }
  .menu-open { display: block; }
}

/* ---------- footer ---------- */

.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  padding: 48px var(--gutter) 24px;
  background: var(--ink);
  color: var(--paper);
}
.site-footer .footer-logo { height: clamp(28px, 4.5vw, 60px); width: auto; }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  font-size: 14px;
}
.footer-nav a { transition: color 0.2s ease; }
.footer-nav a:hover { color: var(--muted-on-dark); }
.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted-on-dark);
}

/* ---------- loader ----------
   Ink curtain with the wordmark rising letter by letter and a bar that
   fills as the page's images and videos actually load. Only shown on the
   first page of a visit (boot.js decides before first paint). */

.loader {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  pointer-events: none;
  transition: transform 900ms var(--ease-curtain);
}
.show-loader .loader { display: flex; }
.show-loader body { overflow: hidden; }
.loader.is-lifted { transform: translateY(-100%); }
.loader-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.loader-word { position: relative; height: clamp(26px, 3.4vw, 40px); aspect-ratio: 982 / 142; }
.loader-word span { position: absolute; top: 0; bottom: 0; overflow: hidden; }
.loader-word img {
  width: 100%;
  height: 100%;
  transform: translateY(125%);
  transition: transform 620ms var(--ease-expo);
}
.loader.is-playing .loader-word img { transform: none; }
/* letter slots across the 982-wide wordmark, 70ms apart */
.loader-word span:nth-child(1)  { left: 0%;      width: 9.267%; }
.loader-word span:nth-child(2)  { left: 9.674%;  width: 7.637%; }
.loader-word span:nth-child(3)  { left: 18.228%; width: 6.415%; }
.loader-word span:nth-child(4)  { left: 24.644%; width: 9.572%; }
.loader-word span:nth-child(5)  { left: 38.697%; width: 7.434%; }
.loader-word span:nth-child(6)  { left: 46.130%; width: 9.165%; }
.loader-word span:nth-child(7)  { left: 55.703%; width: 8.452%; }
.loader-word span:nth-child(8)  { left: 65.173%; width: 6.415%; }
.loader-word span:nth-child(9)  { left: 71.894%; width: 9.572%; }
.loader-word span:nth-child(10) { left: 82.485%; width: 7.637%; }
.loader-word span:nth-child(11) { left: 90.937%; width: 8.452%; }
.loader-word span:nth-child(2) img  { transition-delay: 70ms; }
.loader-word span:nth-child(3) img  { transition-delay: 140ms; }
.loader-word span:nth-child(4) img  { transition-delay: 210ms; }
.loader-word span:nth-child(5) img  { transition-delay: 280ms; }
.loader-word span:nth-child(6) img  { transition-delay: 350ms; }
.loader-word span:nth-child(7) img  { transition-delay: 420ms; }
.loader-word span:nth-child(8) img  { transition-delay: 490ms; }
.loader-word span:nth-child(9) img  { transition-delay: 560ms; }
.loader-word span:nth-child(10) img { transition-delay: 630ms; }
.loader-word span:nth-child(11) img { transition-delay: 700ms; }
.loader-bar {
  align-self: stretch;
  height: 2px;
  overflow: hidden;
  background: rgba(246, 244, 240, 0.18);
  transition: opacity 300ms ease;
}
.loader-bar span {
  display: block;
  height: 100%;
  background: var(--paper);
  transform-origin: 0 50%;
  transform: scaleX(var(--progress, 0));
  transition: transform 500ms var(--ease-out);
}
.loader.is-lifted .loader-bar { opacity: 0; }

/* ---------- home: hero tiles ---------- */

/* the header sits above the tiles; together they fill the first screen */
.hero {
  height: calc(min(100svh, 48vw + 160px) - var(--header-h));
  min-height: calc(560px - var(--header-h));
}
.tiles {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 0 8px 16px;
  transition: grid-template-columns 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.tiles:has(.tile:nth-child(1):hover), .tiles:has(.tile:nth-child(1):focus-visible) { grid-template-columns: 4fr 1fr 1fr; }
.tiles:has(.tile:nth-child(2):hover), .tiles:has(.tile:nth-child(2):focus-visible) { grid-template-columns: 1fr 4fr 1fr; }
.tiles:has(.tile:nth-child(3):hover), .tiles:has(.tile:nth-child(3):focus-visible) { grid-template-columns: 1fr 1fr 4fr; }
.tile { min-width: 0; padding: 0 8px; color: var(--paper); }
.tile:focus-visible { outline: none; }
.tile:focus-visible .tile-frame { outline: 2px solid var(--ink); outline-offset: 2px; }
.tile-frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  overflow: hidden;
  background: var(--placeholder);
}
.tile:nth-child(2) .tile-frame { background: var(--placeholder-2); }
.tile:nth-child(3) .tile-frame { background: var(--placeholder-3); }
.tile-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shade {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.35);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.tile-label {
  position: relative;
  font-size: 15px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease 0.15s, transform 0.5s cubic-bezier(0.25, 1, 0.5, 1) 0.15s;
}
.tile:not(:hover):not(:focus-visible) .tile-label { transition-delay: 0s; }
.tile:hover .shade, .tile:focus-visible .shade { opacity: 1; }
.tile:hover .tile-label, .tile:focus-visible .tile-label { opacity: 1; transform: none; }

/* ---------- home: about ---------- */

.about-intro { gap: 40px; }
.about-intro .h2 { max-width: 18ch; }
.about-grid {
  width: 100%;
  max-width: 880px;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 40px;
  align-items: stretch;
  text-align: left;
}
.about-grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--frame); }
.about-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}
.about-copy > div { display: flex; flex-direction: column; gap: 18px; }

/* ---------- client logos ---------- */

.clients { gap: 40px; }
.logos {
  width: 100%;
  max-width: 1040px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 40px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.logos li {
  display: flex;
  align-items: center;
  justify-content: center;
  height: calc(var(--lh) * 1.6);
}
/* each mark sized by eye so they read at about the same weight */
.logos img { width: auto; max-width: 100%; height: calc(var(--lh) * var(--k, 1)); object-fit: contain; }
.logo-nikon { --k: 0.75; }
.logo-sky-automotive { --k: 1.3; }
.logo-team-bainbridge { --k: 1.15; }
.logo-moana { --k: 1.1; }
.logo-nelson-city-council { --k: 1.15; }
.logo-johnson-residential { --k: 0.425; }
.logo-zebratech { --k: 0.8; }
.logo-nelson-english-centre { --k: 1.05; }
.logo-mac-hops { --k: 0.875; }
.logo-nelson-auto-glass { --k: 0.85; }

/* ---------- home: commercial reel ---------- */

.reel-section {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
  padding: var(--section) 0;
  background: var(--ink);
  color: var(--paper);
}
.reel-section .stack-center { padding: 0 var(--gutter); }
.reel-section .body { color: var(--muted-on-dark); }
.reel {
  --w: 70cqw;
  --gap: 16px;
  position: relative;
  width: 100%;
  overflow: hidden;
  container-type: inline-size;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.reel-track {
  display: flex;
  gap: var(--gap);
  transform: translateX(calc(50cqw - var(--i, 0) * (var(--w) + var(--gap)) - var(--w) / 2 + var(--dx, 0px)));
  transition: transform 0.7s var(--ease-expo);
}
.reel-track.is-dragging { transition: none; }
.slide {
  flex: none;
  width: var(--w);
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: var(--slide);
}
.slide video { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.slide:focus-visible { outline: 2px solid var(--paper); outline-offset: 4px; }
.reel-cursor {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  font-size: 16px;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.reel.has-label .reel-cursor { opacity: 1; }
.dots { display: flex; justify-content: center; align-items: center; }
.dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 3px;
  border: 0;
  background: transparent;
}
.dot span {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--muted);
  transition: width 0.4s ease, background 0.4s ease;
}
.dot[aria-current='true'] span { width: 22px; background: var(--paper); }
.dot:focus-visible { outline: 2px solid var(--paper); outline-offset: 2px; border-radius: 6px; }

/* ---------- media blocks ---------- */

.still { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--frame); }
.placeholder { aspect-ratio: 16 / 9; background: var(--placeholder); }
.placeholder + .placeholder { background: var(--placeholder-2); }
.pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

/* ---------- photo grid (home + photography) ---------- */

.photos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(max(240px, calc((100% - 48px) / 4)), 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.photo {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--frame);
}
.photo img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.25s ease; }
.photo .shade { background: rgba(17, 17, 17, 0.25); }
a.photo:hover .shade, a.photo:focus-visible .shade { opacity: 1; }
figure.photo:hover img { opacity: 0.85; }
a.photo:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* ---------- commercial page: film grid ---------- */

.films {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 16px;
}
.film { display: flex; flex-direction: column; gap: 16px; }
.film-play {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: var(--frame);
}
.film-play video { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.film-caption { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.pill {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 12px;
  line-height: 1;
}

/* ---------- about page ---------- */

.about-page { padding-top: calc(var(--section) * 0.75); }
.about-page .h1 { margin-bottom: calc(var(--section) * 0.6); text-align: center; }
.about-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}
.about-page-grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--frame); }
.about-page-copy { display: flex; flex-direction: column; gap: 18px; max-width: 620px; }
.about-page-copy .lead {
  font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  line-height: 1.3;
  letter-spacing: -0.05em;
}
.about-page-copy .link { margin-top: 8px; align-self: flex-start; }

/* ---------- lightbox ---------- */

.lightbox {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 72px var(--gutter);
  border: 0;
  background: transparent;
  color: var(--paper);
}
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(17, 17, 17, 0.94); }
.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
}
.lightbox-close svg { width: 20px; height: 20px; }
.lightbox-media {
  position: relative;
  display: block;
  padding: 0;
  border: 0;
  background: #000;
}
.lightbox-media video {
  width: auto;
  height: auto;
  max-width: min(calc(100vw - 2 * var(--gutter)), 1280px);
  max-height: calc(100dvh - 144px);
  pointer-events: none;
}
.sound {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.7);
  font-size: 12px;
  line-height: 1;
}

/* ---------- 404 ---------- */

.not-found { min-height: 60vh; justify-content: center; }

/* ---------- cursor ----------
   Only where there is a real pointer. Over ink (footer, reel, lightbox,
   menu) the dot flips to paper so it never disappears. Over the reel the
   moving label (View / Next / Previous / Drag) replaces the dot. */

@media (hover: hover) and (pointer: fine) {
  html, a, button, label, select, summary { cursor: var(--dot-dark); }
  .on-dark, .on-dark a, .on-dark button { cursor: var(--dot-light); }
  input, textarea { cursor: text; }
  .reel.has-label, .reel.has-label * { cursor: none; }
}
@media (hover: none) {
  .reel-cursor { display: none; }
  /* no hover on touch: the labels and their shade are always on */
  .tile-label { opacity: 1; transform: none; }
  .tile .shade { opacity: 1; }
}

/* ---------- breakpoints ---------- */

@media (max-width: 900px) {
  :root { --lh: 32px; }
  .reel { --w: 86cqw; --gap: 12px; }
  .about-grid, .about-page-grid, .films, .pair { grid-template-columns: minmax(0, 1fr); }
  .about-page-grid img { max-width: 420px; }
}
@media (max-width: 720px) {
  :root { --lh: 30px; }
  .hero { height: auto; min-height: 0; }
  .tiles {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 16px;
    padding: 0 var(--gutter) var(--gutter);
  }
  .tile { height: 90vw; padding: 0; }
  .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-grid img { max-width: 320px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 1ms !important;
    animation-delay: 0ms !important;
    transition-duration: 1ms !important;
    transition-delay: 0ms !important;
  }
  .swap > span:nth-child(2) { display: none; }
}

/* ---------- maintenance ---------- */

.maintenance {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: var(--section) var(--gutter);
  text-align: center;
}
.maintenance-logo { height: clamp(24px, 3vw, 36px); width: auto; }
.maintenance-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 28px; }
