/* jordanestefan.com · design system B "Editorial frame" (see ../../design/DECISIONS.md) */
:root {
  --ground: #DDD9D1;
  --ink: #1B1B19;
  --muted: #5F5B53;
  --quiet: #6E6A62;
  --rule: rgba(27, 27, 25, 0.16);
  --panel: #111111;
  --light: #F3F1EC;
  --light-muted: rgba(243, 241, 236, 0.62);
  --light-rule: rgba(243, 241, 236, 0.24);
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Inter Tight', system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --rail: 88px;
  --gut: 20px;
  --pad: calc(var(--rail) + var(--gut));
  --radius: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.page { position: relative; max-width: 1600px; margin: 0 auto; overflow-x: clip; }

/* ---------- type ---------- */
.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.serif { font-family: var(--serif); font-weight: 400; }
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(46px, 5.3vw, 76px); line-height: 0.98; letter-spacing: -0.015em; text-wrap: balance; }
.lede { font-size: 18px; line-height: 1.5; color: var(--muted); max-width: 470px; }
.m-only { display: none; }

/* ---------- pills ---------- */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 999px; border: 0; text-decoration: none; font-size: 15px; font-weight: 500; cursor: pointer; transition: background-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease); }
.pill svg { width: 16px; height: 16px; transition: transform 0.4s var(--ease); }
.pill:hover svg { transform: translateX(3px); }
.pill--dark { background: var(--ink); color: var(--light); }
.pill--dark:hover { background: #000; }
.pill--light { background: var(--light); color: var(--panel); }
.pill--light:hover { background: #fff; }
.pill--outline { border: 1px solid rgba(27, 27, 25, 0.5); background: transparent; color: var(--ink); height: 46px; padding: 0 22px; font-size: 14px; }
.pill--outline:hover { background: var(--ink); color: var(--light); }
.pill--ghost { border: 1px solid rgba(255, 255, 255, 0.7); color: #fff; background: transparent; height: 46px; padding: 0 22px; font-size: 14px; }
.pill--ghost:hover { background: rgba(255, 255, 255, 0.14); }

/* ---------- header ---------- */
.top { height: 96px; display: grid; grid-template-columns: 360px 1fr 1fr 300px; border-bottom: 1px solid var(--rule); }
.top__cell { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 0 32px; border-right: 1px solid var(--rule); }
.top__cell .lbl { font-size: 12px; color: var(--muted); }
.top__cell .val { font-size: 18px; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }
.wordmark { font-family: var(--serif); font-size: 32px; line-height: 1; text-decoration: none; }
.top__cta { display: flex; align-items: center; justify-content: flex-end; padding: 0 32px; }
.top__cta .pill { height: 46px; padding: 0 24px; font-size: 14px; }
.live-dot { width: 6px; height: 6px; border-radius: 999px; background: currentColor; opacity: 0.8; animation: live 2s ease-in-out infinite; }
@keyframes live { 0%, 100% { opacity: 0.85; } 50% { opacity: 0.2; } }

.mtop, .mstrip, .menu { display: none; }

/* ---------- rails ---------- */
.frame { position: relative; }
.frame::before, .frame::after { content: ''; position: absolute; top: 0; bottom: 0; width: 1px; background: var(--rule); z-index: 1; pointer-events: none; }
.frame::before { left: var(--rail); }
.frame::after { right: var(--rail); }
.chap { position: relative; }
.rail { position: absolute; top: 0; bottom: 0; width: var(--rail); z-index: 2; }
.rail--l { left: 0; }
.rail--r { right: 0; }
.rail > span { position: sticky; top: 38vh; display: block; margin: 0 auto; width: max-content; writing-mode: vertical-rl; font-size: 22px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.rail--l > span { transform: rotate(180deg); }
.rail--r > span { color: var(--quiet); }
.rail a { text-decoration: none; }
.sec { border-top: 1px solid var(--rule); }
.wrap { padding-left: var(--pad); padding-right: var(--pad); }

/* ---------- hero ---------- */
.hero { padding: 20px var(--pad); height: calc(100vh - 96px); height: calc(100svh - 96px); min-height: 620px; max-height: 1000px; }
.hero__frame { position: relative; height: 100%; border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 59%; }
.hero .hero__vid { object-position: 50% 50%; }
.hero__dim { position: absolute; inset: 0; background: rgba(12, 12, 11, 0.46); }
.hero__copy { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 22px; padding: 0 80px 40px; color: #fff; }
.hero h1 { max-width: 900px; font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 5.3vw, 76px); line-height: 1; letter-spacing: -0.01em; text-wrap: balance; }
.hero__sub { font-size: 17px; letter-spacing: 0.01em; color: rgba(255, 255, 255, 0.88); }
.hero__which { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 18px; }
.hero__which > span { font-size: 13px; color: rgba(255, 255, 255, 0.72); }
.hero__which > div { display: flex; gap: 10px; }
.hero__nav { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; gap: 4px; padding: 6px; border-radius: 999px; background: rgba(20, 20, 18, 0.55); border: 1px solid rgba(255, 255, 255, 0.16); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.hero__nav a { padding: 10px 16px; border-radius: 999px; color: rgba(255, 255, 255, 0.82); text-decoration: none; font-size: 13px; transition: background-color 0.3s var(--ease), color 0.3s; }
.hero__nav a:hover, .hero__nav a.is-first { background: rgba(255, 255, 255, 0.14); color: #fff; }
.hero__mpills { display: none; }

/* ---------- work: made for ---------- */
.madefor { position: relative; height: 104px; display: grid; grid-template-columns: var(--rail) 196px repeat(5, minmax(0, 1fr)) var(--rail); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.madefor__label { display: flex; align-items: center; padding: 0 28px; font-size: 13px; font-weight: 500; color: var(--muted); }
.madefor__logo { display: flex; align-items: center; justify-content: center; border-left: 1px solid var(--rule); }
.madefor__logo img, .logo-dark { width: auto; filter: grayscale(1) brightness(0.5) contrast(1.6); mix-blend-mode: multiply; }

.work-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; padding-top: 96px; padding-bottom: 40px; }
.work-head h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(52px, 6.1vw, 88px); line-height: 0.95; letter-spacing: -0.015em; }
.work-head p { margin-bottom: 10px; max-width: 330px; font-size: 16px; line-height: 1.45; color: var(--muted); }

/* film frames */
.film { position: relative; display: block; width: 100%; border: 0; padding: 0; border-radius: var(--radius); overflow: hidden; background: var(--panel); cursor: pointer; text-align: left; color: #fff; }
.film__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film--bw .film__media { filter: grayscale(1); }
.film__shade { position: absolute; left: 0; bottom: 0; width: 100%; height: 44%; background: linear-gradient(0deg, rgba(10, 10, 10, 0.82) 0%, rgba(10, 10, 10, 0) 100%); pointer-events: none; }
.playbtn { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 112px; height: 112px; border-radius: 999px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: rgba(243, 241, 236, 0.14); border: 1px solid rgba(243, 241, 236, 0.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; transition: transform 0.5s var(--ease), background-color 0.4s; }
.playbtn svg { width: 16px; height: 18px; }
.film:hover .playbtn { transform: translate(-50%, -50%) scale(1.06); background: rgba(243, 241, 236, 0.24); }
.feature { aspect-ratio: 16 / 9; }
.feature + .feature { margin-top: 40px; }
.feature--bright .playbtn { background: rgba(12, 12, 11, 0.34); border-color: rgba(243, 241, 236, 0.6); }
.feature--bright:hover .playbtn { background: rgba(12, 12, 11, 0.46); }
.feature__cap { position: absolute; left: 36px; right: 36px; bottom: 32px; display: flex; align-items: flex-end; justify-content: space-between; }
.feature__cap > span:first-child { display: flex; flex-direction: column; gap: 8px; }
.feature__cap > span:first-child > span { display: block; }
.m-dur { display: none; }
.feature__kicker { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.75); }
.feature__title { font-family: var(--serif); font-size: 48px; line-height: 1; }
.feature__desc { font-size: 15px; color: rgba(255, 255, 255, 0.82); }
.feature__handle { margin-left: 14px; font-family: var(--sans); font-size: 15px; letter-spacing: 0; color: rgba(255, 255, 255, 0.78); vertical-align: 0.4em; }
.feature__meta { display: flex; align-items: center; gap: 14px; font-size: 13px; color: rgba(255, 255, 255, 0.78); }
.feature__meta i { width: 1px; height: 14px; background: rgba(255, 255, 255, 0.35); }
.feature__meta span { display: inline-flex; align-items: center; gap: 6px; }

.label-rule { display: flex; align-items: center; gap: 16px; }
.label-rule::after { content: ''; flex-grow: 1; height: 1px; background: var(--rule); }
.label-rule .count { order: 2; font-size: 12px; color: var(--muted); display: none; }

/* stills */
.stills { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.still { position: relative; height: 470px; border: 0; padding: 0; border-radius: var(--radius); overflow: hidden; background: var(--panel); cursor: zoom-in; }
.still img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.still:hover img { transform: scale(1.02); }
.s7 { grid-column: span 7; }
.s5 { grid-column: span 5; }
.swipe-hint { display: none; }

/* banners */
.banners { display: flex; flex-direction: column; gap: 24px; }
.banner { position: relative; display: block; aspect-ratio: 1224 / 500; border-radius: var(--radius); overflow: hidden; background: var(--panel); text-decoration: none; color: #fff; cursor: none; }
.banner__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter 0.7s var(--ease), transform 1.2s var(--ease); }
.banner__dim { position: absolute; inset: 0; background: rgba(12, 12, 11, 0.4); transition: background-color 0.7s var(--ease); }
.banner__logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: auto; }
.banner__word { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 26px; font-weight: 600; letter-spacing: 0.42em; text-transform: uppercase; white-space: nowrap; padding-left: 0.42em; }
.banner__view { position: absolute; left: 0; top: 0; width: 96px; height: 96px; margin: -48px 0 0 -48px; border-radius: 999px; display: flex; align-items: center; justify-content: center; background: rgba(243, 241, 236, 0.18); border: 1px solid rgba(243, 241, 236, 0.65); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0; transform: translate(var(--x, 50%), var(--y, 50%)) scale(0.6); transition: opacity 0.35s var(--ease), transform 0.35s var(--ease); pointer-events: none; }
.banner:hover .banner__img, .banner.is-colour .banner__img { filter: grayscale(0); }
.banner:hover .banner__dim, .banner.is-colour .banner__dim { background: rgba(12, 12, 11, 0.22); }
.banner:hover .banner__view { opacity: 1; transform: translate(var(--x, 50%), var(--y, 50%)) scale(1); }
.banner:focus-visible .banner__view { opacity: 1; }
.logo-white { filter: brightness(0) invert(1); }

/* more projects */
.projects { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.proj { height: 120px; display: flex; align-items: center; justify-content: center; border: 0; border-left: 1px solid var(--rule); background: transparent; padding: 0 12px; cursor: pointer; text-decoration: none; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; text-align: center; line-height: 1.5; transition: background-color 0.4s var(--ease); }
.proj:first-child { border-left: 0; }
.proj:hover { background: rgba(27, 27, 25, 0.05); }
.proj img { transition: transform 0.5s var(--ease); }
.proj:hover img { transform: scale(1.05); }

/* ---------- kind words ---------- */
.kind { padding-top: 72px; padding-bottom: 96px; }
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.quote { padding: 32px 36px 0; display: flex; flex-direction: column; gap: 24px; border-left: 1px solid var(--rule); }
.quote:first-child { padding-left: 0; border-left: 0; }
.quote:last-child { padding-right: 0; }
.quote__mark { font-family: var(--serif); font-size: 96px; line-height: 0.6; color: #8A857B; }
.quote blockquote { font-family: var(--serif); font-size: clamp(26px, 2.25vw, 32px); line-height: 1.18; letter-spacing: -0.005em; }
.quote figcaption { font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.q-open, .q-close { display: none; }

/* ---------- local / brands / about ---------- */
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 20px; padding-top: 96px; padding-bottom: 112px; }
.split__copy { grid-column: span 6; display: flex; flex-direction: column; }
.split__copy--l { padding-right: 48px; }
.split__copy--r { padding-left: 48px; }
.split__media { grid-column: span 6; position: relative; aspect-ratio: 602 / 752; border-radius: var(--radius); overflow: hidden; background: var(--panel); color: var(--light); }
.split__media > svg, .split__media .layer { position: absolute; inset: 0; width: 100%; height: 100%; }
.split__media > svg { padding: 0; }
.split .h2 { margin-top: 18px; }
.split .lede { margin-top: 24px; }
.list { margin-top: 40px; border-top: 1px solid var(--rule); }
.list > div { display: grid; grid-template-columns: 56px 1fr; padding: 18px 0; border-bottom: 1px solid var(--rule); font-size: 17px; }
.list > div > span:first-child { color: var(--quiet); font-size: 13px; padding-top: 3px; }
.list--tight > div { padding: 16px 0; }
.split .pill { align-self: flex-start; margin-top: 40px; }
.how { margin-top: 40px; }
.how + .list { margin-top: 12px; }
.about-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-copy p { font-size: 18px; line-height: 1.5; color: var(--muted); max-width: 470px; }
.about-copy p + p { margin-top: 16px; }
.about-copy .h2 + p { margin-top: 28px; }

/* ---------- contact ---------- */
.contact { padding: 96px var(--pad); }
.panel { border-radius: var(--radius); padding: 72px; display: grid; grid-template-columns: 5fr 7fr; column-gap: 80px; background: var(--panel); color: var(--light); }
.panel__left { display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.panel .h2 { margin: 0; }
.panel__lede { margin-top: 28px; font-size: 18px; line-height: 1.5; color: var(--light-muted); max-width: 400px; }
.panel__links { display: flex; flex-direction: column; gap: 18px; }
.panel__links a { display: flex; flex-direction: column; gap: 4px; text-decoration: none; }
.panel__links small { font-size: 12px; color: var(--light-muted); }
.panel__links span { font-family: var(--serif); font-size: 30px; line-height: 1.1; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.5s var(--ease); width: fit-content; }
.panel__links a:hover span { background-size: 100% 1px; }
.form { position: relative; padding-top: 4px; }
.form__fields { display: flex; flex-direction: column; transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 28px; }
.field > span, .chips legend { font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--light-muted); }
.field input, .field textarea { width: 100%; border: 0; border-bottom: 1px solid var(--light-rule); background: transparent; color: var(--light); font: inherit; font-size: 17px; padding: 10px 0; border-radius: 0; outline: none; transition: border-color 0.3s; }
.field textarea { height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { border-bottom-color: var(--light); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
.chips { border: 0; padding: 0; margin: 0 0 32px; }
.chips legend { padding: 0; margin-bottom: 12px; }
.chips > div { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--light-rule); font-size: 14px; font-weight: 500; transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s; }
.chip:hover span { border-color: var(--light-muted); }
.chip input:checked + span { background: var(--light); color: var(--panel); border-color: var(--light); }
.chip input:focus-visible + span { outline: 2px solid var(--light); outline-offset: 2px; }
.form .pill { align-self: flex-start; margin-top: 8px; }
.form__error { margin-top: 14px; font-size: 14px; color: #F0C9B8; min-height: 1em; }
.form__error a { color: inherit; }
.form__thanks { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 10px; opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity 0.7s var(--ease) 0.2s, transform 0.7s var(--ease) 0.2s; }
.form__thanks strong { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 3.6vw, 52px); line-height: 1; }
.form.is-sent .form__fields { opacity: 0; transform: translateY(-8px); pointer-events: none; }
.form.is-sent .form__thanks { opacity: 1; transform: none; pointer-events: auto; }
.hp { display: none; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--rule); }
.foot__name { padding: 44px 26px 46px; font-family: var(--serif); font-size: clamp(60px, 20.9vw, 335px); line-height: 0.8; letter-spacing: -0.025em; white-space: nowrap; }
.foot__line { height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 32px; border-top: 1px solid var(--rule); font-size: 13px; color: var(--muted); }
.foot__links { display: flex; gap: 36px; color: var(--ink); font-weight: 500; }
.foot__links a { text-decoration: none; }
.foot__links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot__top { justify-self: end; }
.foot__top svg { transform: rotate(-90deg); }
.foot__top:hover svg { transform: rotate(-90deg) translateX(3px); }

/* ---------- dialogs: film + stills ---------- */
.dlg { border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; background: rgba(10, 10, 10, 0.94); color: #fff; }
.dlg::backdrop { background: rgba(10, 10, 10, 0.94); }
.dlg[open] { display: flex; align-items: center; justify-content: center; animation: dlgIn 0.4s var(--ease); }
@keyframes dlgIn { from { opacity: 0; } to { opacity: 1; } }
.dlg__stage { width: min(92vw, calc(84vh * var(--r, 1.7778))); }
.dlg__stage video, .dlg__stage img { width: 100%; height: auto; max-height: 86vh; object-fit: contain; border-radius: 12px; background: #000; margin: 0 auto; }
.dlg__close { position: absolute; top: 20px; right: 20px; height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.4); background: transparent; color: #fff; font-size: 14px; font-weight: 500; cursor: pointer; }
.dlg__close:hover { background: rgba(255, 255, 255, 0.12); }
.dlg__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.4); background: transparent; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.dlg__nav:hover { background: rgba(255, 255, 255, 0.12); }
.dlg__nav--prev { left: 20px; }
.dlg__nav--prev svg { transform: rotate(180deg); }
.dlg__nav--next { right: 20px; }
.dlg__title { position: absolute; left: 24px; top: 30px; font-family: var(--serif); font-size: 28px; line-height: 1; }

/* ---------- project pages ---------- */
.ptop { height: 104px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; padding: 0 var(--pad); border-bottom: 1px solid var(--rule); }
.ptop__back { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 14px; font-weight: 500; }
.ptop__back svg { transform: rotate(180deg); width: 16px; }
.ptop__logo { justify-self: center; width: auto; }
.ptop__word { justify-self: center; font-size: 15px; font-weight: 600; letter-spacing: 0.36em; text-transform: uppercase; white-space: nowrap; }
.ptop__nav { justify-self: end; display: flex; align-items: center; gap: 10px; }
.ptop__nav > span { font-size: 13px; color: var(--muted); margin-right: 6px; }
.circ { width: 44px; height: 44px; border-radius: 999px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(27, 27, 25, 0.3); text-decoration: none; transition: background-color 0.3s, color 0.3s; }
.circ svg { width: 16px; height: 16px; }
.circ--prev svg { transform: rotate(180deg); }
.circ--dark { background: var(--ink); color: var(--light); border-color: var(--ink); }
.circ:hover { background: var(--ink); color: var(--light); }
.pbody { padding: 40px var(--pad) 120px; }
.pfilm { aspect-ratio: 16 / 9; }
.pfilm__meta { position: absolute; left: 36px; bottom: 30px; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255, 255, 255, 0.85); }
.pfilm .film__shade { height: 32%; background: linear-gradient(0deg, rgba(10, 10, 10, 0.6) 0%, rgba(10, 10, 10, 0) 100%); }
.pstills-label { margin: 48px 0 16px; }
.pgridA { display: grid; grid-template-columns: minmax(0, 486fr) repeat(2, minmax(0, 359fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 20px; aspect-ratio: 1224 / 864; }
.pgridA .film { grid-row: span 2; height: 100%; }
.pgridA .still { height: auto; border-radius: 20px; }
.pgridA .playbtn { width: 104px; height: 104px; }
.pgridA .pfilm__meta { left: 24px; bottom: 22px; }
.pnext { display: none; }

/* ---------- motion (one-shot, on arrival) ---------- */
.js .rise { opacity: 0; transform: translateY(14px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.js .is-in .rise, .js .rise.is-in { opacity: 1; transform: none; }
.js .hero__frame { opacity: 0; transform: scale(0.985); transition: opacity 1.2s var(--ease), transform 1.4s var(--ease); }
.js.loaded .hero__frame { opacity: 1; transform: none; }
.js .hero .rise { transition-delay: calc(0.45s + var(--d, 0s)); }
.js.loaded .hero .rise { opacity: 1; transform: none; }
.js .l1-shoot { stroke-dasharray: 145; stroke-dashoffset: 145; transform: rotate(-90deg); transform-box: fill-box; transform-origin: center; transition: stroke-dashoffset 1.1s var(--ease) 0.2s; }
.js .is-in .l1-shoot { stroke-dashoffset: 0; }
.js .l1-plan { opacity: 0; transition: opacity 0.6s ease 0.1s; }
.js .is-in .l1-plan { opacity: 1; }
.js .l1-dot { opacity: 0; transform: scale(0.2); transform-box: fill-box; transform-origin: center; transition: opacity 0.45s ease, transform 0.6s var(--ease); transition-delay: calc(1.2s + var(--i) * 0.16s); }
.js .is-in .l1-dot { opacity: 1; transform: none; }
.js .s3-rays { clip-path: inset(0 100% 0 0); transition: clip-path 2s cubic-bezier(0.65, 0, 0.35, 1) 0.2s; }
.js .is-in .s3-rays { clip-path: inset(0 0 0 0); }
.js .s3-glow { opacity: 0; transform: scale(0.4); transform-box: fill-box; transform-origin: center; transition: opacity 0.9s ease 1.9s, transform 1.2s var(--ease) 1.9s; }
.js .is-in .s3-glow { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rise, .js .hero__frame, .js .l1-plan, .js .l1-dot, .js .s3-glow { opacity: 1 !important; transform: none !important; transition: none !important; }
  .js .l1-shoot { stroke-dashoffset: 0 !important; transition: none !important; }
  .js .s3-rays { clip-path: none !important; transition: none !important; }
  .live-dot { animation: none; }
  .banner__img, .still img, .playbtn { transition: none; }
}

/* ---------- tablet + phone ---------- */
@media (max-width: 1239px) {
  .top { grid-template-columns: 300px 1fr 1fr 220px; }
  .panel { padding: 56px; column-gap: 56px; }
  .split__copy--l { padding-right: 24px; }
  .split__copy--r { padding-left: 24px; }
}

@media (max-width: 999px) {
  :root { --radius: 20px; }
  .m-only { display: inline; }
  .d-only { display: none !important; }
  .frame::before, .frame::after, .rail { display: none; }
  .wrap { padding-left: 20px; padding-right: 20px; }

  .top { display: none; }
  .mtop { display: flex; height: 64px; align-items: center; justify-content: space-between; padding: 0 20px; border-bottom: 1px solid var(--rule); }
  .mtop .wordmark { font-size: 26px; }
  .mtop button { height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(27, 27, 25, 0.3); background: none; font-size: 14px; font-weight: 500; cursor: pointer; }
  .mstrip { display: grid; height: 44px; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--rule); font-size: 13px; }
  .mstrip > div { display: flex; align-items: center; gap: 6px; padding: 0 20px; }
  .mstrip > div:first-child { border-right: 1px solid var(--rule); }
  .mstrip .lbl { color: var(--muted); }
  .mstrip .val { font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }

  .menu { position: fixed; inset: 0; z-index: 50; background: var(--ground); display: flex; flex-direction: column; padding: 0 20px 28px; opacity: 0; visibility: hidden; transition: opacity 0.35s var(--ease), visibility 0s linear 0.35s; }
  .menu.is-open { opacity: 1; visibility: visible; transition: opacity 0.35s var(--ease); }
  .menu__top { height: 64px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--rule); margin: 0 -20px; padding: 0 20px; }
  .menu nav { display: flex; flex-direction: column; margin-top: 12px; }
  .menu nav a { font-family: var(--serif); font-size: 44px; line-height: 1.15; text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--rule); }
  .menu .pill { margin-top: auto; height: 52px; }

  .hero { height: auto; min-height: 0; max-height: none; padding: 12px 12px 0; }
  .hero__frame { height: calc(100svh - 64px - 44px - 24px - 132px); min-height: 440px; max-height: 640px; }
  .hero__img { object-position: 66% 50%; }
  .hero__dim { background: rgba(12, 12, 11, 0.42); }
  .hero__copy { inset: auto 22px 26px 22px; padding: 0; align-items: flex-start; text-align: left; gap: 12px; }
  .hero h1 { font-size: clamp(36px, 10.8vw, 48px); }
  .hero__sub { font-size: 15px; }
  .hero__which, .hero__nav { display: none; }
  .hero__mpills { display: flex; flex-direction: column; gap: 10px; padding: 12px 0 0; }
  .hero__mpills .pill { height: 50px; font-size: 15px; }
  .hero__mpills .pill--outline { border-color: rgba(27, 27, 25, 0.4); }

  .madefor { height: auto; grid-template-columns: 1fr 1fr; border-bottom: 0; margin-top: 44px; }
  .madefor > .sp { display: none; }
  .madefor__label, .madefor__logo { height: 68px; border-bottom: 1px solid var(--rule); border-left: 0; }
  .madefor__label { padding: 0 20px; }
  .madefor .mf-l { border-right: 1px solid var(--rule); }
  .madefor__logo img { transform: scale(0.76); }

  .work-head { flex-direction: column; align-items: flex-start; gap: 12px; padding-top: 56px; padding-bottom: 24px; }
  .work-head h2 { font-size: 52px; }
  .work-head p { margin: 0; max-width: none; font-size: 15px; }
  .feature-wrap { padding-left: 12px; padding-right: 12px; }
  .feature { aspect-ratio: 4 / 5; }
  .feature + .feature { margin-top: 24px; }
  .feature .film__media { object-position: 42% 50%; }
  .feature .playbtn { top: 42%; width: 88px; height: 88px; font-size: 10px; gap: 6px; }
  .feature__cap { left: 20px; right: 20px; bottom: 20px; }
  .feature__kicker { font-size: 11px; }
  .feature__title { font-size: 38px; }
  .feature__desc { font-size: 14px; }
  .feature__meta { display: none; }
  .feature__cap .m-dur { display: inline; }

  .stills-label { padding-top: 28px !important; }
  .label-rule .count { display: inline; }
  .stills { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 12px; margin: 0 -20px; scrollbar-width: none; }
  .stills::-webkit-scrollbar { display: none; }
  .stills .still { flex: 0 0 300px; height: 375px; scroll-snap-align: start; border-radius: 20px; }
  .swipe-hint { display: flex; align-items: center; gap: 10px; padding-top: 16px; font-size: 13px; color: var(--muted); }
  .swipe-hint svg { width: 16px; height: 16px; }

  .banners { gap: 16px; margin: 0 -8px; }
  .banner { aspect-ratio: auto; height: 240px; cursor: pointer; }
  .banner__view { display: none; }
  .banner__word { font-size: 16px; letter-spacing: 0.36em; }
  .projects { grid-template-columns: 1fr 1fr; border-bottom: 0; margin: 0 -8px; }
  .proj { height: 76px; border-left: 0; border-bottom: 1px solid var(--rule); font-size: 11px; letter-spacing: 0.2em; }
  .proj:nth-child(odd) { border-right: 1px solid var(--rule); }
  .proj img { transform: scale(0.78); }
  .proj:hover img { transform: scale(0.8); }

  .kind { padding-top: 56px; padding-bottom: 0; }
  .quotes { display: block; }
  .quote { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--rule); gap: 14px; }
  .quote:last-child { border-bottom: 0; }
  .quote__mark { display: none; }
  .q-open, .q-close { display: inline; }
  .quote blockquote { font-size: 27px; }
  .quote figcaption { font-size: 11px; }

  .split { display: flex; flex-direction: column; padding-top: 56px; padding-bottom: 0; }
  .split__copy--l, .split__copy--r { padding: 0; }
  .split .h2 { margin-top: 14px; font-size: 46px; }
  .split .lede { margin-top: 18px; font-size: 16px; max-width: none; }
  .split__media { aspect-ratio: auto; height: 438px; margin-top: 24px; }
  .split--brands .split__media { order: 1; }
  .split--brands .split__copy { display: contents; }
  .split--brands .split__copy > .eyebrow { order: -3; }
  .split--brands .split__copy > .h2 { order: -2; }
  .split--brands .split__copy > .lede { order: -1; }
  .split--brands .split__copy > .how, .split--brands .split__copy > .list, .split--brands .split__copy > .pill { order: 2; }
  .split--local .split__copy { display: contents; }
  .split--local .split__copy > .eyebrow { order: -3; }
  .split--local .split__copy > .h2 { order: -2; }
  .split--local .split__copy > .lede { order: -1; }
  .split--local .split__media { order: 0; }
  .split--local .split__copy > .list, .split--local .split__copy > .pill { order: 2; }
  .list { margin-top: 24px; }
  .list > div { grid-template-columns: 40px 1fr; padding: 16px 0; font-size: 16px; }
  .list > div > span:first-child { font-size: 12px; }
  .list--tight > div { padding: 14px 0; }
  .how { margin-top: 28px; }
  .how + .list { margin-top: 10px; }
  .split .pill { align-self: stretch; margin-top: 28px; }
  .about-split .split__media { order: 0; margin-top: 20px; }
  .about-split .split__copy { margin-top: 28px; }
  .about-split > .eyebrow-m { order: -1; }
  .about-copy .h2 { margin-top: 12px; }
  .about-copy .h2 + p { margin-top: 18px; }
  .about-copy p { font-size: 16px; }
  .about-copy p + p { margin-top: 12px; }

  .contact { padding: 56px 20px 0; margin-top: 56px; }
  .panel { display: flex; flex-direction: column; padding: 32px 22px 28px; margin-top: 20px; gap: 0; }
  .panel__left { display: contents; }
  .panel__head { order: 0; }
  .panel .h2 { font-size: 44px; }
  .panel__lede { margin: 16px 0 28px; font-size: 16px; }
  .form { order: 1; }
  .panel__links { order: 2; margin-top: 28px; gap: 14px; }
  .panel__links span { font-size: 24px; }
  .row2 { display: block; }
  .field { margin-bottom: 22px; }
  .field input { padding: 8px 0; }
  .field textarea { height: 110px; }
  .chips { margin-bottom: 24px; }
  .chip span { height: 36px; padding: 0 14px; font-size: 13px; }
  .form .pill { align-self: stretch; }
  .form__thanks { position: static; display: none; }
  .form.is-sent .form__fields { display: none; }
  .form.is-sent .form__thanks { display: flex; padding: 40px 0; }

  .foot { margin-top: 56px; }
  .foot__name { padding: 28px 16px 22px; font-size: 19.7vw; line-height: 0.86; letter-spacing: -0.02em; }
  .foot__line { height: auto; display: flex; flex-direction: column; align-items: stretch; padding: 0; }
  .foot__links { order: 1; justify-content: center; gap: 32px; padding: 20px 20px 16px; font-size: 14px; }
  .foot__top { order: 2; justify-self: auto; padding: 0 20px 20px; }
  .foot__top .pill { width: 100%; height: 48px; }
  .foot__copy { order: 3; height: 48px; display: flex; align-items: center; justify-content: center; border-top: 1px solid var(--rule); font-size: 12px; color: var(--quiet); }

  .dlg__stage { width: 100vw; }
  .dlg__stage video, .dlg__stage img { border-radius: 0; }
  .dlg__nav { top: auto; bottom: 24px; transform: none; }

  .ptop { height: 72px; padding: 0 16px; }
  .ptop__back span { display: none; }
  .ptop__back { width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(27, 27, 25, 0.3); justify-content: center; }
  .ptop__logo { transform: scale(0.7); }
  .ptop__word { font-size: 11px; letter-spacing: 0.28em; }
  .ptop__nav .circ { display: none; }
  .ptop__nav > span { margin: 0; font-size: 12px; }
  .pbody { padding: 16px 12px 40px; }
  .pfilm { aspect-ratio: 16 / 9; border-radius: 16px; }
  .pfilm .playbtn { width: 72px; height: 72px; font-size: 0; gap: 0; }
  .pfilm__meta { left: 14px; bottom: 12px; font-size: 11px; }
  .pstills-label { margin: 32px 8px 14px; }
  .pstills { display: flex; flex-direction: column; gap: 10px; }
  .pstills .still { height: 274px; border-radius: 20px; }
  .pstills .still.tall { height: 458px; }
  .pgridA { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto; aspect-ratio: auto; gap: 10px; }
  .pgridA .film { grid-column: span 2; grid-row: auto; height: auto; aspect-ratio: 9 / 16; max-height: 651px; }
  .pgridA .still { height: 236px; }
  .pnext { display: flex; justify-content: space-between; align-items: center; padding: 32px 8px 0; }
  .pnext a:first-child { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: 14px; font-weight: 500; }
  .pnext a:first-child svg { transform: rotate(180deg); width: 16px; }
  .pnext .pill { height: 44px; padding: 0 18px; font-size: 14px; }
}

@media (min-width: 1000px) {
  .foot__copy { justify-self: start; }
  .m-dur { display: none; }
}

/* ---------- per-photo framing (from the canvas Tweaks) + helpers ---------- */
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--light); text-decoration: none; font-size: 14px; }
.skip:focus { top: 12px; }
.m-block { display: none; }
.still img { object-position: var(--op, 50% 50%); transform: scale(calc(var(--z, 1) * var(--hz, 1))); transform-origin: var(--op, 50% 50%); }
.still:hover img { --hz: 1.02; transform: scale(calc(var(--z, 1) * var(--hz, 1))); }
.still { order: var(--o, 0); }
.banner__img { object-position: var(--op, 50% 50%); transform: scale(var(--z, 1)); transform-origin: var(--op, 50% 50%); }
.banner__logo { height: var(--lh, 80px); }
.pstills { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.split__media .layer { position: absolute; inset: 0; }
.split__media .layer svg { width: 100%; height: 100%; }
.split__media > svg { width: 100%; height: 100%; }
.simple__body { padding-top: 72px; padding-bottom: 120px; }
.simple__text { margin-top: 32px; max-width: 640px; }
.simple__text p { font-size: 18px; line-height: 1.6; color: var(--muted); }
.simple__text p + p { margin-top: 16px; }
.simple__text .pill { margin-top: 12px; }
.project .foot, .simple .foot { margin-top: 0; }

@media (max-width: 999px) {
  .m-block { display: block; }
  .still img { object-position: var(--opm, var(--op, 50% 50%)); transform: scale(var(--zm, var(--z, 1))); transform-origin: var(--opm, var(--op, 50% 50%)); }
  .still:hover img { transform: scale(var(--zm, var(--z, 1))); }
  .still { order: var(--om, var(--o, 0)); }
  .banner__img { object-position: var(--opm, var(--op, 50% 50%)); transform: scale(var(--zm, var(--z, 1))); transform-origin: var(--opm, var(--op, 50% 50%)); }
  .banner__logo { height: var(--lhm, var(--lh, 60px)); }
  .pstills { display: flex; flex-direction: column; gap: 10px; }
  .contact > .m-block { margin-bottom: 0; }
  .simple__body { padding: 40px 20px 72px; }
  .simple__text p { font-size: 16px; }
}

.projects-wrap { padding-bottom: 96px; }
.about-split { padding-bottom: 96px; }
@media (max-width: 999px) {
  .projects-wrap { padding-bottom: 56px; }
  .split, .about-split { padding-bottom: 56px; }
  .contact { margin-top: 0; }
  .stills { scroll-padding: 0 12px; }
}

.pline { margin: 24px 0 0; max-width: 640px; font-size: 16px; line-height: 1.5; color: var(--muted); }
@media (max-width: 999px) { .pline { margin: 20px 8px 0; font-size: 15px; } }
