/* A28 corporate site (a28.ca/corporate), the design Mark approved 2026-11-14: the footage is the page, the words are a handful.
   Nothing pins and nothing scrolls sideways; movement comes from the video, big type and a little drift.
   No CSS filters or blend modes on anything that moves (iPhone Safari dropped those on the logo banner).
   Light theme only (house rule): no dark-mode block. The older scroll-animated page is in archive/. */
:root {
  color-scheme: light;
  --bg: #F0EEE9; --ink: #2B2B2D; --muted: rgba(43, 43, 45, .72); /* .72 reads at about 5:1 on the cream for the small grey text (audit 2026-11-17) */ --line: rgba(43, 43, 45, .14);
  --olive: #343426; --night: #1b1b14; --gold: #BD9A4D; --white: #FFFFFF;
  /* Small gold text on the cream needs a darker gold to be readable (4.9:1); the bright gold stays for rules, big type
     and anything on the dark sections or the film. The photo captions get a stronger grey for the same reason (5.6:1). */
  --gold-ink: #7D6228; --caption: rgba(43, 43, 45, .74);
  --serif: 'The One', serif;
  --sans: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, monospace;
  --gutter: clamp(16px, 4vw, 56px); --radius: 22px; --max: 1360px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -0.015em; }
p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
/* No transitions while the page first draws: Safari animated from the unstyled page (a blue "Get a quote", a grey
   "Corporate" fading out) for the first half second. site.js takes the class off once the page is on screen. */
.no-anim *, .no-anim *::before, .no-anim *::after { transition: none !important; }

/* Nav: clear over the footage, a cream pill once you are past it. On a screen wider than the page's column it stays over
   the column, edge to edge with every section and the footer (it used to run out to the window's edges from 1440 px). */
.nav { position: fixed; z-index: 30; top: 14px; left: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))); right: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 8px 8px 22px; border-radius: 999px; color: var(--white); transition: background .4s, color .4s, box-shadow .4s; }
.nav.solid { background: rgba(240, 238, 233, .9); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.nav-id { margin: 0; display: flex; align-items: center; gap: 12px; }
/* The padding makes the logo a 44 px tall tap target; the negative margin keeps the nav the same size */
.nav .brand { font-family: var(--serif); font-size: 24px; text-decoration: none; padding: 4px 6px; margin: -4px -6px; }
/* "Corporate" beside the logo once the title card is behind you, so every screen says which wing this is */
.wing { font: 500 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; line-height: 1; padding: 3px 0 3px 12px; border-left: 1px solid var(--line); opacity: 0; transition: opacity .4s; }
.nav.solid .wing { opacity: 1; }
/* While the nav is clear it sits on the film: a soft shadow keeps the white A28 readable on a bright frame */
.nav:not(.solid) .brand, .nav:not(.solid) .hud { text-shadow: 0 1px 10px rgba(0, 0, 0, .6), 0 0 2px rgba(0, 0, 0, .45); }
.pill { display: inline-flex; align-items: center; text-decoration: none; white-space: nowrap; font: 600 14px var(--sans); border-radius: 999px; padding: 12px 22px; background: var(--white); color: var(--ink); transition: background .4s, color .4s, transform .2s; }
/* Lifts under a mouse only: on a touch screen a hover style sticks after the tap */
@media (hover: hover) { .pill:hover { transform: translateY(-1px); } }
.nav.solid .pill { background: var(--olive); color: var(--white); }
/* The camera readout: a running timecode, the one bit of chrome on the page. It sits on the true centre of the nav
   (the two sides are different widths, so letting the row space it out put it off centre). */
.hud { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); white-space: nowrap; font: 500 12px var(--mono); letter-spacing: .08em; display: flex; align-items: center; gap: 8px; }
.hud i { width: 8px; height: 8px; border-radius: 50%; background: #e5372c; animation: blink 1.2s steps(2, start) infinite; }
.nav.solid .hud { opacity: .55; }
@keyframes blink { to { visibility: hidden; } }

/* 1. Title card: one film, full screen, the word Corporate and three chapters. It must never look like the choice page
   at a28.ca (rounded panels of footage side by side), which the three-panel first screen did (Mark, 2026-11-17). */
.hero { position: relative; display: flex; flex-direction: column; justify-content: flex-end; height: 100vh; height: 100svh; min-height: 560px;
  padding: 0 var(--gutter) clamp(26px, 5vh, 52px); background: var(--night); color: var(--white); overflow: hidden; }
.hero-still img, .hero-film, .hero-peek { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-peek { opacity: 0; transition: opacity .6s ease; }
.hero-peek.on { opacity: 1; }
img.hero-peek { object-position: 50% 30%; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0) 32%, rgba(0, 0, 0, .42) 56%, rgba(0, 0, 0, .84)); }
/* The film fills the screen, but the words line up with the column every section below sits in */
.hero-title, .chapters { position: relative; z-index: 2; width: 100%; max-width: calc(var(--max) - 2 * var(--gutter)); margin-left: auto; margin-right: auto; }
.hero-title { display: grid; grid-template-columns: 1fr auto; align-items: end; column-gap: 32px; }
.hero-where { grid-column: 1 / -1; font: 500 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px; text-wrap: balance;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .9), 0 0 3px rgba(0, 0, 0, .7); }
/* The extra padding gives the descender of the p room inside the rising line; the negative margin takes it back out of
   the layout, so nothing moves */
.hero h1 { font-size: clamp(96px, 17.5vw, 310px); line-height: .84; letter-spacing: -0.035em; white-space: nowrap; padding-bottom: .22em; margin-bottom: -.12em; }
/* A line that keeps running down: there is more below */
.hero-scroll { display: flex; flex-direction: column; align-items: center; gap: 12px; padding-bottom: 2.2vw; font: 500 11px var(--mono); letter-spacing: .16em; text-transform: uppercase; text-shadow: 0 1px 8px rgba(0, 0, 0, .7); }
.hero-scroll i { position: relative; width: 1px; height: 54px; overflow: hidden; background: rgba(255, 255, 255, .3); }
.hero-scroll i::after { content: ''; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--white); animation: drip 1.9s cubic-bezier(.6, 0, .3, 1) infinite; }
@keyframes drip { to { top: 100%; } }
.chapters { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 2.4vw, 40px); margin-top: clamp(18px, 3.4vh, 36px); }
.chapters a { display: block; text-decoration: none; border-top: 1.5px solid rgba(255, 255, 255, .5); padding-top: 14px; transition: border-color .4s, opacity .4s; }
.chapters small { display: flex; align-items: center; justify-content: space-between; font: 500 12px var(--mono); letter-spacing: .1em; color: var(--gold); margin-bottom: 8px; }
.chapters svg { width: 16px; height: 16px; fill: none; stroke: var(--white); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s; }
.chapters b { display: block; font: 400 clamp(26px, 2.7vw, 46px)/1.02 var(--serif); letter-spacing: -0.015em; }
.chapters em { display: block; font-style: normal; font-size: clamp(13px, 1.05vw, 15px); margin-top: 8px; opacity: .8; text-wrap: balance; }
@media (hover: hover) {
  /* Only when the pointer is on a chapter, not in the gaps between them */
  .chapters:has(a:hover) a:not(:hover) { opacity: .45; }
  .chapters a:hover { border-color: var(--white); }
  .chapters a:hover svg { transform: translateY(4px); }
}
.corner { position: absolute; z-index: 3; width: 22px; height: 22px; border: 1.5px solid rgba(255, 255, 255, .8); pointer-events: none; }
.c1 { top: 84px; left: 18px; border-right: 0; border-bottom: 0; }
.c2 { top: 84px; right: 18px; border-left: 0; border-bottom: 0; }
.c3 { bottom: 18px; left: 18px; border-right: 0; border-top: 0; }
.c4 { bottom: 18px; right: 18px; border-left: 0; border-top: 0; }

/* 3 to 5. The acts */
.act { max-width: var(--max); margin: 0 auto; padding: clamp(64px, 13vh, 150px) var(--gutter); }
.act-dark { max-width: none; background: var(--night); color: var(--white); }
.act-dark > * { max-width: calc(var(--max) - 2 * var(--gutter)); margin-left: auto; margin-right: auto; }
.act-head { display: grid; grid-template-columns: 1fr auto; align-items: end; column-gap: 32px; margin-bottom: clamp(28px, 5vh, 56px); }
.act-no { grid-column: 1 / -1; font: 500 13px var(--mono); letter-spacing: .1em; color: var(--gold-ink); margin-bottom: 6px; }
.act-dark .act-no { color: var(--gold); }
/* Capped at 226 px: the column stops growing at the page's max width, and any bigger and "Brand films" ran out of
   room beside its line */
/* The top padding (taken back out by the margin, so nothing moves) keeps the tall letters of "Brand films" clear of the
   top of the clip: they came within half a pixel of it, and a sliver could be shaved off */
.act-title { font-size: clamp(76px, 15.5vw, 226px); line-height: .84; letter-spacing: -0.035em; white-space: nowrap; overflow: hidden; padding: .06em 0 .09em; margin-top: -.06em; }
.act-line { font-family: var(--serif); font-size: clamp(20px, 2vw, 32px); line-height: 1.15; max-width: 14ch; text-align: right; padding-bottom: .5em; text-wrap: balance; }
/* A line of its own: a sentence or a phrase in a span.ln starts a new line, so the words break between them, never across
   them ("here." used to start the line of the next sentence) */
.ln { display: block; }
/* Events: "We shoot the room," over "not just the stage." (it broke as "We shoot the / room, not / just the stage.") */
.act-line.split { max-width: none; }
.act-line.split .ln { white-space: nowrap; }
/* Big titles rise out of their own line. They start far enough down that no tip of a tall letter shows under the line
   before they rise (at 105% the tops of the d, f and l of "Brand films" and the k and l of "Let's talk." peeked out) */
.rise { overflow: hidden; }
.rise span { display: inline-block; transform: translateY(125%); transition: transform 1.1s cubic-bezier(.2, .7, .1, 1); }
.rise.in span { transform: none; }
/* The hero title's line is taller at the bottom (room for the p), so it starts a little lower to stay out of sight */
.hero h1 span { transform: translateY(130%); }

/* The film you can watch */
.stage { position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: pointer; overflow: hidden; border-radius: var(--radius); aspect-ratio: 16 / 9; background: #111; color: var(--white); text-align: left; }
.stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(var(--zoom, 1.12)); }
.stage::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, .6)); }
.stage-cap { position: absolute; z-index: 1; left: clamp(16px, 2vw, 30px); bottom: clamp(14px, 2vw, 28px); font: 500 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.stage-cap { display: grid; max-width: 62%; }
/* One caption at a time when the shot changes: the old one goes quickly, the new one comes in after it */
.stage-cap .cap { grid-area: 1 / 1; align-self: end; opacity: 0; transition: opacity .18s; }
.stage-cap .cap.on { opacity: 1; transition: opacity .25s .18s; }
.stage-cap b { display: block; font: 400 clamp(24px, 2.6vw, 40px) var(--serif); letter-spacing: -0.01em; text-transform: none; margin-bottom: 4px; text-wrap: balance; }
.stage-play { position: absolute; z-index: 1; right: clamp(16px, 2vw, 30px); bottom: clamp(14px, 2vw, 28px); display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer;
  background: var(--white); color: var(--ink); font: 600 14px var(--sans); padding: 12px 20px; border-radius: 999px; }
.stage-play svg { width: 11px; height: 11px; fill: currentColor; }

/* The contact sheet: uneven on purpose, each frame drifts a little as you scroll */
.sheet { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(10px, 1.6vw, 24px); margin-top: clamp(40px, 9vh, 110px); align-items: start; }
.sheet figure { will-change: transform; }
.sheet img { width: 100%; height: auto; border-radius: 10px; }
.sheet figcaption { font: 500 11px var(--mono); letter-spacing: .1em; color: var(--caption); margin-top: 8px; }
.f1 { grid-column: 1 / span 5; }
.f2 { grid-column: 7 / span 4; margin-top: 14%; }
.f3 { grid-column: 11 / span 2; margin-top: 60%; }
.f4 { grid-column: 2 / span 3; margin-top: -6%; }
.f5 { grid-column: 5 / span 5; margin-top: 8%; }
.f6 { grid-column: 10 / span 3; margin-top: -14%; }

/* Three facts in big type instead of a paragraph */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 48px); margin-top: clamp(48px, 10vh, 120px); }
.facts-head { margin-top: clamp(48px, 10vh, 120px); font: 500 13px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); }
.facts-avg { margin-top: 16px; }
.facts li { border-top: 1.5px solid currentColor; padding-top: 14px; font-size: 15px; color: var(--muted); text-wrap: pretty; }
.act-dark .facts li { color: rgba(255, 255, 255, .68); border-color: rgba(255, 255, 255, .5); }
.facts b { display: block; width: fit-content; font: 400 clamp(34px, 4.6vw, 76px)/1 var(--serif); letter-spacing: -0.02em; color: var(--ink); margin-bottom: 10px; }
.act-dark .facts b { color: var(--white); }

/* 4. The reel: names on one side, the screen on the other */
.reel { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(24px, 4vw, 72px); align-items: center; }
.reel-screen { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; background: #000; }
.reel-screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s; }
.reel-screen video.on { opacity: 1; }
.reel-row { display: block; width: 100%; text-align: left; background: none; border: 0; border-top: 1px solid rgba(255, 255, 255, .22); padding: clamp(16px, 2.6vh, 28px) 0; cursor: pointer; color: rgba(255, 255, 255, .42); transition: color .4s, padding-left .5s cubic-bezier(.2, .7, .1, 1); }
.reel-list li:last-child .reel-row { border-bottom: 1px solid rgba(255, 255, 255, .22); }
/* Capped at 52 px so "Fairmont and Vellamo" stays on one line on a wide screen */
.reel-row b { display: block; font: 400 clamp(30px, 3.9vw, 52px)/1.02 var(--serif); letter-spacing: -0.02em; }
.reel-row span { display: block; font: 500 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; margin-top: 8px; }
.reel-row.on { color: var(--white); padding-left: clamp(10px, 1.4vw, 22px); }

/* 5. Portraits: the photo fills the width (wide version on a laptop, tall version on a phone), the words under it */
.portrait { border-radius: var(--radius); overflow: hidden; position: relative; aspect-ratio: 16 / 9; background: #eee; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform: scale(var(--zoom, 1.1)); }
.portrait-say { display: grid; grid-template-columns: 1fr auto; align-items: end; column-gap: 32px; margin-top: clamp(24px, 4vh, 44px); }
.portrait-say .act-no { grid-column: 1 / -1; margin-bottom: 14px; text-transform: uppercase; }
.portrait-say h2 { font-size: clamp(30px, 3.8vw, 58px); line-height: 1.04; max-width: 16ch; text-wrap: balance; }
/* :not(.act-no) so "03 · Portraits" keeps the small gold label of 01 and 02 */
.portrait-say p:not(.act-no) { color: var(--muted); font-size: 17px; padding-bottom: .4em; }

/* 6. One crew: outline type running across the page (text only, so it is safe on a phone) */
.crew { overflow: hidden; padding: clamp(24px, 6vh, 70px) 0 clamp(40px, 9vh, 100px); border-top: 1px solid var(--line); }
.crew-track { display: flex; width: max-content; animation: crew 26s linear infinite; }
.crew-track p { font: 400 clamp(64px, 11vw, 190px)/1.1 var(--serif); letter-spacing: -0.03em; white-space: nowrap; padding-right: .3em; color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.crew-track i { font-style: normal; color: var(--gold); -webkit-text-stroke: 0; }
@keyframes crew { to { transform: translateX(-50%); } }
.crew-combos { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px; padding: clamp(20px, 4vh, 40px) var(--gutter) 0; }
.crew-combos li { font-size: 14px; font-weight: 500; border: 1.5px solid var(--ink); border-radius: 999px; padding: 9px 18px; }

/* 7. Contact: a sentence to fill in */
.contact { background: var(--olive); color: var(--white); padding: clamp(64px, 13vh, 150px) var(--gutter); text-align: center; }
.contact h2 { font-size: clamp(64px, 13vw, 230px); line-height: .9; letter-spacing: -0.035em; padding-bottom: .1em; }
/* A regular contact form: labelled white boxes, two columns on a laptop, one on a phone */
.inquiry { max-width: 760px; margin: clamp(28px, 5vh, 56px) auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; text-align: left; }
.inquiry label { display: flex; flex-direction: column; gap: 7px; font-size: 14px; color: rgba(255, 255, 255, .86); }
.inquiry .wide, .inquiry-actions { grid-column: 1 / -1; }
.inquiry input, .inquiry select { font: 16px/1.4 var(--sans); color: var(--ink); background: var(--white); border: 0; border-radius: 12px; padding: 14px; width: 100%; margin: 0; }
.inquiry input, .inquiry select { height: 52px; }
.inquiry input::placeholder { color: rgba(43, 43, 45, .45); }
.inquiry select { -webkit-appearance: none; appearance: none; cursor: pointer; padding-right: 44px;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232B2B2D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px; }
.inquiry select.empty { color: rgba(43, 43, 45, .45); }
.inquiry select option { color: var(--ink); }
.inquiry input:focus, .inquiry select:focus { outline: 2px solid var(--gold); outline-offset: 2px; }
.inquiry-actions { text-align: center; }
.send { margin-top: 10px; }
.send { margin-top: clamp(10px, 2vh, 20px); border: 0; cursor: pointer; background: var(--white); color: var(--olive); font: 600 16px var(--sans); padding: 17px 38px; border-radius: 999px; transition: transform .2s; }
@media (hover: hover) { .send:hover { transform: translateY(-2px); } }
.contact-direct { margin-top: clamp(28px, 5vh, 56px); font-size: 14px; color: rgba(255, 255, 255, .8); line-height: 2; }
/* The padding makes the phone number and the email easy to tap; the negative margin keeps the line where it was */
.contact-direct a { display: inline-block; text-decoration: none; white-space: nowrap; padding: 12px 4px; margin: -12px -4px; }

/* The footer's words line up with the column of the sections above */
.foot { max-width: var(--max); margin: 0 auto; padding: 24px var(--gutter); display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 14px; }
.foot .brand { font-family: var(--serif); font-size: 24px; color: var(--ink); }

/* Film player */
.player { position: fixed; inset: 0; z-index: 100; background: #12120d; display: flex; align-items: center; justify-content: center; padding: 64px 16px 24px; }
.player[hidden] { display: none; }
.player-in { width: 100%; max-width: 1280px; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.player-video { max-width: 100%; max-height: calc(100vh - 170px); border-radius: 14px; background: #111; }
.player-meta { color: #fff; text-align: center; margin-top: 14px; }
.player-client { display: block; font: 500 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .62); }
.player-title { font-family: var(--serif); font-size: 28px; }
.player-close { position: fixed; top: 16px; right: 16px; width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(255, 255, 255, .16); color: #fff; display: grid; place-items: center; }
.player-close svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; }
.player-loop { position: absolute; }

/* A round "Play" that follows the mouse over anything you can watch (mouse only) */
.cursor { position: fixed; z-index: 90; top: 0; left: 0; width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%; background: var(--white); color: var(--ink);
  display: grid; place-items: center; font: 600 13px var(--sans); pointer-events: none; opacity: 0; transform: translate3d(var(--x, 0), var(--y, 0), 0) scale(.3); transition: opacity .25s, transform .12s linear; }
.cursor.on { opacity: 1; transform: translate3d(var(--x, 0), var(--y, 0), 0) scale(1); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise span, .hero h1 span { transform: none; transition: none; }
  .crew-track { animation: none; }
  .hud i { animation: none; }
  .hero-scroll i::after { animation: none; top: 0; height: 100%; }
}

@media (max-width: 820px) {
  .hud { display: none; }
  /* On a phone the title card stops short, so the top of the next section shows: there is more, keep going */
  .hero { height: calc(100vh - 72px); height: calc(100svh - 72px); min-height: 500px; padding-bottom: 22px; }
  .corner { display: none; }
  .hero-title { grid-template-columns: 1fr; }
  .hero-where { font-size: 10px; margin-bottom: 8px; }
  /* As wide as it can go: it cannot wrap, and stays at least 6 px inside the right edge on a 320 px phone */
  .hero h1 { font-size: 24.4vw; }
  .hero-scroll { display: none; }
  .chapters { gap: 10px; margin-top: 16px; }
  .chapters a { padding-top: 10px; }
  .chapters small { font-size: 11px; margin-bottom: 4px; }
  .chapters svg { width: 14px; height: 14px; }
  .chapters b { font-size: clamp(18px, 5.2vw, 26px); }
  .chapters em { display: none; }
  /* A chapter link or Get a quote lands its heading clear of the nav: 13vh alone is 74 px on a 320 x 568 phone, which
     put the heading 2 to 3 px under the 71 px nav */
  .act, .contact { padding-top: max(clamp(64px, 13vh, 150px), 92px); }
  .act-head { grid-template-columns: 1fr; }
  /* The Events line runs on as one sentence here, as there is room for it on one line from 340 px */
  .act-line.split .ln { display: inline; white-space: normal; }
  /* Small enough that "Brand films" stays on one line on a 320 px phone */
  .act-title { font-size: clamp(56px, 20.5vw, 150px); white-space: normal; }
  .act-line { text-align: left; max-width: none; padding: 14px 0 0; }
  .stage { aspect-ratio: 4 / 5; }
  /* The caption can run to two lines here (Strive), so Watch moves to the top corner */
  .stage .stage-play { top: 14px; bottom: auto; right: 14px; }
  .stage-cap { max-width: calc(100% - 32px); }
  /* The bigger row gap leaves room for the drift, so no photo ever slides over the caption above it */
  .sheet { grid-template-columns: repeat(6, 1fr); row-gap: 36px; }
  .f1 { grid-column: 1 / span 6; } .f2 { grid-column: 3 / span 4; margin-top: 0; } .f3 { grid-column: 1 / span 3; margin-top: 0; }
  .f4 { grid-column: 1 / span 4; margin-top: 0; } .f5 { grid-column: 1 / span 6; margin-top: 0; } .f6 { grid-column: 3 / span 4; margin-top: 0; }
  .facts { grid-template-columns: 1fr; gap: 22px; }
  .reel { grid-template-columns: 1fr; }
  .reel-screen { aspect-ratio: 4 / 3; }
  .portrait { aspect-ratio: 4 / 5; }
  .portrait-say { grid-template-columns: 1fr; }
  .portrait-say h2 { max-width: none; }
  .portrait-say p:not(.act-no) { margin-top: 14px; padding-bottom: 0; }
  .inquiry { grid-template-columns: 1fr; }
  .send { width: 100%; }
  /* "We reply within one business day." gets a line of its own instead of breaking in the middle */
  .contact-reply { display: block; }
  .contact-reply .sep { display: none; }
}

/* A tablet held upright (601 to 820 px): the phone layout, but the frames stay wide (a 4:5 frame this big cropped the
   slide out of the Events film) and the form has two columns like on a laptop */
@media (min-width: 601px) and (max-width: 820px) {
  .stage, .portrait { aspect-ratio: 16 / 9; }
  .stage .stage-play { top: auto; bottom: clamp(14px, 2vw, 28px); right: clamp(16px, 2vw, 30px); }
  .stage-cap { max-width: 62%; }
  .inquiry { grid-template-columns: 1fr 1fr; }
  .send { width: auto; }
}
/* The chapter subtitles come back from 720 px, at 12 px so all three keep one line ("Conferences, galas, company days"
   is 212 px long and wrapped at 13 px up to 768 px). Narrower than 720 its column is too short even at 11 px, so there
   they stay hidden like on a phone. */
@media (min-width: 720px) and (max-width: 820px) {
  .chapters em { display: block; font-size: 12px; }
}

/* 821 to 1000 px: the gaps in the contact sheet are narrow, so frame 0285 starts a little in from its column to keep
   clear of the 0196 caption beside it (they were 1 to 3 px apart), and frame 0679 sits a little lower so the 0253
   caption above it stays 12 px or more clear while the two drift towards each other (it came to 8 px) */
@media (min-width: 821px) and (max-width: 1000px) {
  .f4 { margin-left: 16px; }
  .f5 { margin-top: 11%; }
}
/* 821 to 940 px: the fact lines get just small enough that "Wide for your site, vertical for social" keeps one line
   like the other two (the 1.6vw keeps it about 4 px inside its column) */
@media (min-width: 821px) and (max-width: 940px) {
  .facts li { font-size: min(15px, 1.6vw); }
}

/* A phone on its side (about 340 to 430 px tall): the title card fits the screen with all three chapters, each big
   frame fits too so its caption and Watch button show together, and the film player gets the whole screen */
@media (orientation: landscape) and (max-height: 500px) {
  .hero { height: 100vh; height: 100svh; min-height: 0; padding-bottom: 14px; }
  .hero h1 { font-size: min(23.5vw, 30vh); font-size: min(23.5vw, 30svh); }
  .chapters em, .hero-scroll, .corner { display: none; }
  .stage, .portrait, .reel-screen { aspect-ratio: auto; height: calc(100vh - 100px); height: calc(100svh - 100px); }
  .stage .stage-play { top: auto; bottom: clamp(14px, 2vw, 28px); right: clamp(16px, 2vw, 30px); }
  .stage-cap { max-width: 55%; }
  .player { padding: 8px 64px 8px 8px; }
  .player-video { max-height: calc(100vh - 16px); max-height: calc(100svh - 16px); }
  .player-meta { display: none; }
  /* The chapter links and Get a quote land below the nav, not under it */
  .act, .contact { padding-top: 96px; }
}

/* The narrowest phones (320 px): "Corporate" beside the logo goes, so Get a quote keeps its one line and its 44 px
   height, and the line over the title keeps its one line too */
@media (max-width: 340px) {
  .wing { display: none; }
  .pill { padding: 12px 16px; }
  /* .04em: at .06em it still broke as "Photo and film for / companies · Vancouver" below 304 px in Safari */
  .hero-where { letter-spacing: .04em; }
}
