/* rox.ae, the ten pages that are not the homepage, in the round 3 system
   ("The Cut", 11 Nov 2026). Loaded AFTER next.css and never without it:
   every token, the type, the buttons, the nav, the dark band, the call
   sheet, the process, the questions, the brief and the footer are next.css's.
   This file holds only what those pages have and the homepage does not: the
   page head, a few lists, and the dark band used for something other than
   films. No colour is written here; no shadows; one typeface and one mono. */

/* Anchors land under the nav. (next.css may move this for the homepage's
   phone layout; these pages have no strip, so they say it again.) */
html { scroll-padding-top: 72px; }

/* ── The page head ─────────────────────────────────────────────────────── */
.ph { position: relative; min-height: 100svh; padding: calc(var(--nav-h) + 12px) var(--pad) 18px; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto auto; column-gap: var(--pad); row-gap: clamp(18px, 2.4vw, 34px); }
/* the stone's place: pages.js puts the live stone here, the still holds it until then */
.ph__stage { grid-column: 2; grid-row: 1; position: relative; min-height: clamp(200px, 30svh, 520px); container-type: size; pointer-events: none; }
.ph__still { position: absolute; left: 50%; top: 47%; width: 100%; max-width: none; height: auto; transform: translate(-50%, -49%); transition: opacity 0.5s; }
@supports (width: 1cqw) { .ph__still { width: calc(min(100cqw, 100cqh) * 1.04); } .ph__still--plates { width: calc(min(100cqw, 100cqh) * 1.08); } }
.has-stone .ph__still { opacity: 0; }
.ph__tag { grid-column: 1; grid-row: 1; justify-self: start; align-self: start; display: grid; gap: 4px; color: var(--ink-2); padding-top: 10px; }
.ph__tag span:first-child { color: var(--ink); }
@media (min-width: 901px) { .has-stone .ph__tag { visibility: hidden; } }   /* the callout says it instead */
.no-js .ph__tag span:nth-child(n+3), .no-stone .ph__tag span:nth-child(n+3) { display: none; }   /* a still cannot be turned */
.ph__h1 { grid-column: 1; grid-row: 1 / span 2; align-self: end; font-weight: 400; pointer-events: none; }
.ph .disp { font-size: calc(clamp(44px, 7.7vw, 148px) * var(--ds)); }
.js .rvh.is-in .ln:nth-child(3) > span { transition-delay: 0.18s; }
.ph__foot { grid-column: 2; grid-row: 2; align-self: end; display: grid; gap: 22px; padding-bottom: 0.9vw; }
.ph__note { color: var(--ink-2); }
.ph__bar { grid-column: 1 / -1; grid-row: 3; display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; border-top: 1px solid var(--line); padding-top: 12px; min-height: 58px; }
.ph__meta { color: var(--ink-2); }
.top__links a[aria-current="page"]::after { transform: scaleX(1); }

@media (max-width: 900px) {
  .ph { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(32svh, 1fr) auto auto auto; row-gap: 16px; padding-bottom: 10px; }
  .ph__stage { grid-column: 1; grid-row: 1; min-height: 0; }
  .ph__tag { grid-column: 1; grid-row: 1; padding-top: 4px; }
  .ph__h1 { grid-column: 1; grid-row: 2; }
  .ph .disp { font-size: calc(clamp(38px, 12.6vw, 104px) * var(--ds)); }
  .ph__foot { grid-column: 1; grid-row: 3; padding-bottom: 0; gap: 18px; }
  .ph__bar { grid-row: 4; flex-direction: column; align-items: flex-start; gap: 0; padding-top: 10px; }
  .ph__bar .looks { width: 100%; justify-content: space-between; text-align: left; }
}
/* a phone: the stone sits right of centre, so its tag has the left to itself */
@media (max-width: 560px) { .ph__stage { margin-left: 24%; } }
@media (max-width: 900px) and (max-height: 620px) and (orientation: portrait) { .ph { grid-template-rows: minmax(24svh, 1fr) auto auto auto; } }
@media (max-width: 900px) and (orientation: landscape) and (max-height: 520px) {
  .ph { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); grid-template-rows: auto auto auto; }
  .ph__stage { grid-column: 2; grid-row: 1; min-height: 46svh; }
  .ph__h1 { grid-column: 1; grid-row: 1; }
  .ph__foot { grid-column: 1 / -1; grid-row: 2; }
  .ph__bar { grid-row: 3; }
  .ph .disp { font-size: calc(clamp(36px, 7.4vw, 70px) * var(--ds)); }
}

/* ── Sections ──────────────────────────────────────────────────────────── */
.sec { padding-block: clamp(80px, 11vw, 190px) 0; }
/* a long right-hand tag wraps under itself, never under the section's number */
.page .sec__n span:first-child { white-space: nowrap; }
.page .sec__n span + span { text-align: right; }
.page .sec__head .h2--m { max-width: 14em; }
.sec__more { display: flex; flex-wrap: wrap; gap: 6px 28px; margin-top: clamp(28px, 4vw, 56px); }
.sec__more--btn { gap: 10px; }
.stamps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.page .stamps { row-gap: clamp(40px, 5vw, 80px); }
@media (max-width: 900px) { .stamps--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .stamps--4 { grid-template-columns: minmax(0, 1fr); } .page .stamps { row-gap: 28px; } }

/* what we do: one job a row */
.jobs { margin-top: clamp(40px, 6vw, 100px); border-bottom: 1px solid var(--line); }
.job { display: grid; grid-template-columns: 44px minmax(0, 1fr) minmax(0, 1.2fr) auto; column-gap: var(--pad); align-items: start; padding-block: clamp(22px, 2.6vw, 40px); border-top: 1px solid var(--line); }
.job__n { color: var(--ink-2); padding-top: 0.55em; }
.job__name { font-size: calc(clamp(28px, 3.3vw, 56px) * var(--dm)); line-height: 1; letter-spacing: -0.04em; font-weight: var(--disp); margin-left: -0.03em; text-wrap: balance; }
.job__body { display: grid; gap: 12px; }
.job__text { font-size: clamp(17px, 1.28vw, 21px); line-height: 1.42; max-width: 34em; }
.job__meta { color: var(--ink-2); }
@media (max-width: 900px) {
  .job { grid-template-columns: 34px minmax(0, 1fr); column-gap: 8px; row-gap: 12px; padding-block: 22px 14px; }
  .job__n { padding-top: 0.3em; }
  .job__body, .job__go { grid-column: 2; }
}

/* ── The dark band, used for something other than films ────────────────── */
.band { margin-top: clamp(72px, 10vw, 170px); }
.ph + .band { margin-top: clamp(28px, 4vw, 64px); }
.work .btn { background: var(--night-ink); border-color: var(--night-ink); color: var(--night); }
.work .btn .btn__arrow { background: var(--night); color: var(--night-ink); }
.work .btn:hover { background: var(--accent-n); border-color: var(--accent-n); color: var(--night); }
.work .btn:hover .btn__arrow { background: var(--night); color: var(--accent-n); }
.has-ptr .work .btn:hover { background: var(--night-ink); border-color: var(--night-ink); color: var(--night); }
.has-ptr .work .btn:hover .btn__arrow { background: var(--night); color: var(--night-ink); }
.work .link--quiet { color: var(--night-ink-2); border-bottom-color: var(--night-line); }
.work .link--quiet:hover { color: var(--night-ink); border-bottom-color: var(--night-ink); }

.price__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px) var(--pad); margin-top: clamp(40px, 6vw, 100px); align-items: start; }
.price__lead { font-size: clamp(21px, 2.05vw, 33px); line-height: 1.24; letter-spacing: -0.022em; max-width: 31em; }
.price__side { display: grid; gap: 22px; border-top: 1px solid var(--night-line); padding-top: 14px; color: var(--night-ink-2); }
.price__side > p:first-child { color: var(--night-ink); max-width: 30em; }
@media (max-width: 900px) { .price__grid { grid-template-columns: minmax(0, 1fr); } .price__cta .btn { width: 100%; justify-content: space-between; } }

.nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--pad); margin-top: clamp(40px, 6vw, 100px); }
.num { border-top: 1px solid var(--night-line); padding-top: 12px; display: grid; gap: 10px; align-content: start; }
.num__k, .num__t { color: var(--night-ink-2); }
.num__v { display: flex; align-items: baseline; gap: 0.07em; font-size: calc(clamp(96px, 14vw, 250px) * var(--ds)); line-height: 0.84; letter-spacing: -0.06em; font-weight: var(--disp); margin: clamp(10px, 2vw, 30px) 0 clamp(4px, 1vw, 14px) -0.04em; }
.num__v .mono { letter-spacing: 0.04em; color: var(--night-ink-2); }
.num__t { max-width: 24em; }
@media (max-width: 760px) { .nums { grid-template-columns: minmax(0, 1fr); row-gap: 34px; } }

/* ── Work: films that play in place, reels as a contact sheet ──────────── */
.frame iframe, .row__img iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 2; background: var(--black); }
.films__note { color: var(--night-ink-2); margin-top: 18px; }
.reelsec { margin-top: clamp(72px, 10vw, 160px); }
.sheetgrid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; margin-top: clamp(36px, 5vw, 80px); }
.sheetgrid__more { display: flex; align-items: flex-end; gap: 8px; padding: 14px; border: 1px solid var(--night-line); border-radius: 6px; color: var(--night-ink-2); line-height: 1.5; transition: color 0.3s, border-color 0.3s; }
.sheetgrid__more:hover { color: var(--night-ink); border-color: var(--night-ink-2); }
.sheetgrid__more svg { flex: 0 0 14px; width: 14px; height: 14px; margin-bottom: 3px; }
@media (max-width: 900px) { .sheetgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; } }
@media (max-width: 560px) { .sheetgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; } .sheetgrid .reel__n { left: 8px; top: 6px; } .sheetgrid__more { padding: 10px; } }

/* ── Work: concept projects, as a grid, and each on its own page ───────── */
/* Briefs the studio set itself, for invented brands. Every tile carries a
   CONCEPT mark. The frames are captures of pages kept in _build/concepts/. */
.grid__filter { margin-top: clamp(32px, 4vw, 64px); }
.grid__filter .chip { gap: 10px; font: inherit; font-size: 16px; color: inherit; cursor: pointer; }
.grid__filter .chip b { font-weight: 400; color: var(--ink-2); }
.grid__filter .chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.grid__filter .chip[aria-pressed="true"] b { color: var(--paper); }
.grid__filter .chip:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.grid { list-style: none; margin: clamp(28px, 3.4vw, 56px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-flow: dense; column-gap: var(--pad); row-gap: clamp(36px, 4vw, 64px); align-items: start; }
.tile { grid-column: span 2; }
.tile--big { grid-column: span 4; grid-row: span 2; }
.tile--big-r { grid-column: 3 / span 4; }
.tile--l { grid-column: 1 / span 2; }
.grid.is-filtered .tile { grid-column: span 2; grid-row: auto; }
.tile[hidden] { display: none; }
.tile a { display: block; color: inherit; }
.tile__img { display: block; position: relative; overflow: hidden; aspect-ratio: 16 / 10; border: 1px solid var(--line); border-radius: 6px; background: var(--paper-2); }
.tile__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.tile a:hover .tile__img img, .case__next:hover .tile__img img { transform: scale(1.035); }
.tile__cap { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; row-gap: 6px; align-items: baseline; padding-top: 12px; }
.tile__n { color: var(--ink-2); }
.tile__flag { display: flex; align-items: center; gap: 8px; color: var(--ink); }
.tile__flag::before { content: ''; flex: 0 0 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.tile__name { grid-column: 1; font-size: calc(clamp(34px, 3.6vw, 59px) * var(--ds)); line-height: 0.86; margin-top: 6px; text-wrap: balance; }
.tile--big .tile__name { font-size: calc(clamp(47px, 6.2vw, 104px) * var(--ds)); }
.grid.is-filtered .tile--big .tile__name { font-size: calc(clamp(34px, 3.6vw, 59px) * var(--ds)); }
.tile__line { grid-column: 1; font-size: clamp(16px, 1.15vw, 19px); line-height: 1.4; color: var(--ink-2); }
.tile__go { grid-column: 2; grid-row: 2 / span 2; align-self: end; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); transition: background 0.3s, color 0.3s, border-color 0.3s; }
.tile__go svg { width: 16px; height: 16px; }
.tile a:hover .tile__go { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.cpt__note { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 28px; margin-top: clamp(40px, 5vw, 80px); color: var(--ink-2); }
@media (max-width: 900px) {
  .grid { grid-template-columns: minmax(0, 1fr); row-gap: 32px; }
  .tile, .tile--big, .tile--big-r, .tile--l, .grid.is-filtered .tile { grid-column: auto; grid-row: auto; }
  .grid__filter { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); scrollbar-width: none; }
  .grid__filter::-webkit-scrollbar { display: none; }
  .grid__filter .chip { flex: 0 0 auto; }
  .tile__name, .tile--big .tile__name, .grid.is-filtered .tile--big .tile__name { font-size: calc(clamp(40px, 11vw, 68px) * var(--ds)); }
  .cpt__note { flex-direction: column; }
}

/* a project's own page */
.case__facts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); column-gap: var(--pad); row-gap: 32px; margin-top: clamp(36px, 5vw, 80px); align-items: start; }
.case__dl { display: grid; margin: 0; border-bottom: 1px solid var(--line); }
.case__dl div { display: grid; grid-template-columns: 110px minmax(0, 1fr); column-gap: 16px; padding-block: 13px; border-top: 1px solid var(--line); align-items: baseline; }
.case__dl dt { color: var(--ink-2); }
.case__dl dd { margin: 0; font-size: 17px; line-height: 1.4; }
.case__say { font-size: clamp(22px, 2.5vw, 40px); line-height: 1.16; letter-spacing: -0.025em; max-width: 24em; }
.case__say + .case__say { margin-top: 0.7em; color: var(--ink-2); }
.case__shots { display: grid; row-gap: clamp(14px, 1.4vw, 22px); margin-top: clamp(36px, 5vw, 80px); }
.case__shot { margin: 0; }
.case__shot figcaption { display: flex; justify-content: space-between; gap: 16px; padding-top: 10px; color: var(--ink-2); }
.case__shot figcaption span:first-child { color: var(--ink); }
.case__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(14px, 1.4vw, 22px); row-gap: 14px; }
.case__next { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); column-gap: var(--pad); align-items: end; margin-top: clamp(48px, 7vw, 120px); border-top: 1px solid var(--line); padding-top: 12px; color: inherit; }
.case__next-n { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 16px; color: var(--ink-2); }
.case__next b { font-weight: 400; font-size: calc(clamp(60px, 12.6vw, 218px) * var(--ds)); line-height: 0.82; margin-top: clamp(10px, 1.6vw, 26px); text-wrap: balance; }
.case__next .tile__img { margin-bottom: 0.6vw; }
@media (max-width: 900px) {
  .case__facts, .case__next { grid-template-columns: minmax(0, 1fr); }
  .case__pair { grid-template-columns: minmax(0, 1fr); }
  .case__next .tile__img { margin-top: 16px; }
}

/* ── Studio ────────────────────────────────────────────────────────────── */
.beliefs { margin-top: clamp(40px, 6vw, 100px); border-bottom: 1px solid var(--line); }
.belief { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: var(--pad); padding-block: clamp(22px, 2.8vw, 44px); border-top: 1px solid var(--line); }
.belief__n { color: var(--ink-2); padding-top: 0.7em; }
.belief p { font-size: clamp(26px, 3.7vw, 64px); line-height: 1.04; letter-spacing: -0.04em; font-weight: var(--disp); max-width: 19em; margin-left: -0.03em; }
.belief em { font-style: normal; color: var(--ink-2); }
.who__more { margin-top: clamp(20px, 2.4vw, 34px); font-size: clamp(17px, 1.28vw, 21px); line-height: 1.42; max-width: 34em; color: var(--ink-2); }
.who__link { margin-top: 18px; }
@media (max-width: 900px) { .belief { grid-template-columns: 34px minmax(0, 1fr); column-gap: 8px; } .belief__n { padding-top: 0.5em; } }

/* ── Contact ───────────────────────────────────────────────────────────── */
.page--contact .start { margin-top: clamp(28px, 4vw, 64px); }
.ways { margin-top: clamp(40px, 6vw, 100px); border-bottom: 1px solid var(--line); }
.way { display: grid; grid-template-columns: minmax(0, 0.42fr) minmax(0, 1.1fr) minmax(0, 1fr); column-gap: var(--pad); align-items: center; padding-block: 12px; border-top: 1px solid var(--line); min-height: 76px; }
.way dt { color: var(--ink-2); }
.way__v { font-size: clamp(24px, 2.6vw, 44px); letter-spacing: -0.035em; line-height: 1.1; font-weight: var(--disp); }
.way__v a { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; transition: color 0.3s; }
.way__v a i { display: block; width: 0.5em; height: 0.5em; }
.way__v a i svg { width: 100%; height: 100%; }
.way__v a:hover { color: var(--ink-2); }
.way__d { color: var(--ink-2); max-width: 30em; }
@media (max-width: 900px) { .way { grid-template-columns: minmax(0, 1fr); row-gap: 2px; padding-block: 16px; } }

/* ── Small things ──────────────────────────────────────────────────────── */
.page .start__say .h2 { font-size: clamp(42px, 5.7vw, 104px); }
.faq__ask { margin-top: -6px; }
.foot__sub { font-size: clamp(17px, 1.28vw, 21px); line-height: 1.42; max-width: 30ch; color: var(--ink-2); }
.page--thanks .foot { padding-top: clamp(40px, 6vw, 96px); }

/* the headline face on the inner pages' own headings (see the end of next.css) */
.job__name, .num__v, .tile__name, .case__next b {
  font-family: var(--font-disp); font-variation-settings: 'wght' 86, 'wdth' 62; font-weight: 400;
  text-transform: uppercase; letter-spacing: 0.004em; margin-left: 0;
}
.job__name { line-height: 0.9; }
