@font-face { font-family: Inter; src: url('/assets/fonts/Inter-VariableFont_opsz,wght.ttf') format('truetype'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: Playfair; src: url('/assets/fonts/PlayfairDisplay-Italic-VariableFont_wght.ttf') format('truetype'); font-style: italic; font-weight: 400 900; font-display: swap; }


:root {
  --paper: #f5f5f7;
  --surface: #fff;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: rgba(0, 0, 0, .1);
  --night: #000;
  --night-surface: #161617;
  --night-ink: #f5f5f7;
  --night-muted: #a1a1a6;
  --accent: #0066cc;
  --accent-night: #5eb0ff;
  --deep: #071a3d;
  --deep-light: #133b8f;
  --red: #c4262e;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(20px, 5vw, 64px);
  --max: 1320px;
  --radius: 18px;
  --header: 52px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  color-scheme: light;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 17px; line-height: 1.47; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
img, video { display: block; max-width: 100%; }
a, button { -webkit-tap-highlight-color: transparent; }
p, h1, h2, h3, figure, blockquote, dl, dd { margin: 0; }
h1, h2, h3 { font-weight: 650; letter-spacing: -.035em; line-height: 1.05; text-wrap: balance; }
h1 { font-size: clamp(44px, 6.4vw, 88px); letter-spacing: -.05em; line-height: 1; }
h2 { font-size: clamp(34px, 4.6vw, 64px); letter-spacing: -.045em; }
h3 { font-size: 19px; letter-spacing: -.02em; line-height: 1.2; }
p { text-wrap: pretty; }
::selection { background: #d4e4ff; color: #071a3d; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
button:disabled { opacity: .35; cursor: default; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: -.01em; color: var(--muted); }
.lede { font-size: clamp(17px, 1.45vw, 21px); line-height: 1.45; color: var(--muted); max-width: 36em; letter-spacing: -.01em; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -80px; left: 16px; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 10px; z-index: 500; }
.skip-link:focus { top: 12px; }

.text-link { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 500; color: var(--accent); }
.text-link span { transition: transform .4s var(--ease); }
.text-link:hover span { transform: translate(2px, -2px); }
.pill-button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 500; transition: transform .35s var(--ease), background .3s; }
.pill-button:hover { background: #000; transform: scale(1.03); }
.pill-button:active { transform: scale(.97); }
.pill-button.is-light { background: var(--night-ink); color: var(--ink); }
.pill-button.is-light:hover { background: #fff; }
[data-theme="dark"] .text-link { color: var(--accent-night); }
[data-theme="dark"] .eyebrow, [data-theme="dark"] .lede { color: var(--night-muted); }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header); background: rgba(245, 245, 247, .72); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); transition: background .4s, color .4s, box-shadow .4s; }
.scrolled .site-header { box-shadow: 0 1px 0 var(--line); }
.header-inner { height: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 650; letter-spacing: -.02em; }
.brand img { transition: filter .4s; }
#site-nav { display: flex; gap: 30px; font-size: 13px; }
#site-nav a { opacity: .78; transition: opacity .2s; }
#site-nav a:hover, #site-nav a[aria-current="page"] { opacity: 1; }
#site-nav a[aria-current="page"] { font-weight: 600; }
.mobile-contact { display: none; }
.header-contact { font-size: 13px; font-weight: 500; padding: 6px 14px; border-radius: 999px; background: var(--ink); color: #fff; transition: background .4s, color .4s; }
.menu-toggle { display: none; width: 40px; height: 40px; margin-right: -10px; position: relative; }
.menu-toggle span { position: absolute; left: 12px; width: 16px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease); }
.menu-toggle span:first-child { top: 16px; }
.menu-toggle span:last-child { top: 23px; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
body[data-header="dark"] .site-header { background: rgba(0, 0, 0, .62); color: var(--night-ink); box-shadow: 0 1px 0 rgba(255, 255, 255, .08); }
body[data-header="dark"] .brand img { filter: invert(1); }
body[data-header="dark"] .header-contact { background: var(--night-ink); color: var(--ink); }

/* Section rhythm */
.section-head { padding-top: clamp(80px, 10vw, 136px); padding-bottom: clamp(32px, 4vw, 52px); display: grid; gap: 14px; justify-items: start; }
.section-head h2 { max-width: 15ch; }
.section-head .text-link { margin-top: 6px; }
.section-foot { display: flex; justify-content: flex-end; gap: 28px; padding-top: 28px; padding-bottom: clamp(72px, 9vw, 120px); }

/* Hero: face-down cards fan out as the Jack turns face up */
.hero-scene { position: relative; --flip: 0; }
.hero-inner { height: 100svh; min-height: 600px; max-height: 1100px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(22px, 4.5svh, 48px); padding: calc(var(--header) + 16px) var(--gutter) 32px; text-align: center; overflow: hidden; }
.hero-inner h1 { font-size: clamp(56px, 9.5vw, 148px); letter-spacing: -.06em; line-height: .9; }
.hero-card-stage { position: relative; perspective: 1400px; }
.hero-card { position: relative; z-index: 1; width: clamp(148px, min(18vw, 31svh), 250px); aspect-ratio: 5 / 7; transform-style: preserve-3d; }
.deck-card { display: none; position: absolute; inset: 0; border-radius: 6.7% / 4.8%; background: #fbfaf7 url('/assets/brand/card-back.svg') center / cover no-repeat; box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 25px 45px -28px rgba(10, 27, 61, .4); }
.hero-card-inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(calc(var(--ry, 0deg) + var(--flip) * 180deg)) rotate(calc(-3deg + var(--flip) * 6deg)); }
.hero-card .card-face, .hero-card .card-sheen { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 6.7% / 4.8%; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.hero-card .card-face { box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 34px 60px -30px rgba(10, 27, 61, .55); }
.hero-card .card-front { overflow: hidden; background: #fff; }
.hero-card .card-front img { position: absolute; left: 50%; top: 50%; width: 108.7%; height: 105%; max-width: none; transform: translate(-50%, -50%); }
.hero-card .card-back { transform: rotateY(180deg); }
.hero-card .card-sheen { transform: translateZ(1px); }
/* Keep the stack face down until the Jack artwork has decoded. */
.motion .hero-card { transform: rotateY(-180deg); }
.motion .hero-card .card-front img { opacity: 0; transition: opacity .25s ease; }
.motion .hero-scene.is-ready .card-front img { opacity: 1; }
/* All three cards move together so the fan and reveal feel like one gesture. */
.motion .deck-card { display: block; }
.motion .hero-scene.is-ready .deck-card-left { animation: deal-left .9s .08s cubic-bezier(.4, 0, .2, 1) both; }
.motion .hero-scene.is-ready .deck-card-right { animation: deal-right .9s .08s cubic-bezier(.4, 0, .2, 1) both; }
.motion .hero-scene.is-ready .hero-card { animation: jack-deal-flip .9s .08s cubic-bezier(.4, 0, .2, 1) both; }
@keyframes deal-left {
  from { transform: none; }
  to { transform: translate(-34px, 9px) rotate(-11deg); }
}
@keyframes deal-right {
  from { transform: none; }
  to { transform: translate(34px, 9px) rotate(11deg); }
}
@keyframes jack-deal-flip {
  from { transform: rotateY(-180deg); }
  to { transform: none; }
}
@property --mx { syntax: '<percentage>'; inherits: false; initial-value: 30%; }
@property --my { syntax: '<percentage>'; inherits: false; initial-value: 18%; }
.hero-line { display: grid; gap: 2px; max-width: 30em; text-wrap: balance; font-size: clamp(17px, 1.6vw, 21px); font-weight: 600; letter-spacing: -.02em; }
.hero-line span { font-weight: 400; color: var(--muted); }
.card-sheen { position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(circle at var(--mx, 30%) var(--my, 18%), rgba(255, 255, 255, .7), rgba(255, 255, 255, 0) 46%), linear-gradient(115deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, .25) 50%, rgba(255, 255, 255, 0) 60%); mix-blend-mode: soft-light; pointer-events: none; }

/* A small card dealt beside each section title */
.pip-card { display: grid; place-items: center; width: 34px; height: 48px; margin-bottom: 8px; border-radius: 6px; background: #fbfaf7; color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .12), 0 12px 22px -12px rgba(0, 0, 0, .45); transform: rotate(-6deg); }
.pip-card svg { width: 15px; fill: currentColor; }
.pip-card.is-red { color: var(--red); }
.reveal-ready [data-reveal] .pip-card { opacity: 0; transform: translateY(12px) rotate(-10deg); transition: transform .55s var(--ease) .08s, opacity .4s ease .08s; }
.reveal-ready [data-reveal].is-in .pip-card { opacity: 1; transform: rotate(-6deg); }

/* Film */
.film { background: var(--night); color: var(--night-ink); }
.film-pin { position: relative; }
.film-pin.is-live { height: 180svh; }
.film-sticky { position: sticky; top: 0; height: 100svh; min-height: 560px; overflow: hidden; --open: 1; --meta: 1; }
.film-frame { position: absolute; inset: 0; display: block; overflow: hidden; clip-path: inset(calc((1 - var(--open)) * 20%) calc((1 - var(--open)) * 18%) round calc((1 - var(--open)) * 28px)); }
.film-frame video { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.14 - var(--open) * .14)); }
.film-sticky::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .1; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); }
.film-sticky::after { content: ''; position: absolute; inset: auto 0 0; height: 60%; z-index: 1; pointer-events: none; background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, .78)); opacity: var(--meta); }
.film-meta { position: absolute; z-index: 2; left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); right: var(--gutter); bottom: clamp(32px, 7svh, 72px); max-width: 560px; display: grid; gap: 10px; opacity: var(--meta); transform: translateY(calc((1 - var(--meta)) * 28px)); }
.film-sticky:not(.meta-on) .film-meta { pointer-events: none; }
.film-meta h3 { font-size: clamp(36px, 5vw, 68px); letter-spacing: -.05em; line-height: 1; }
.film-meta > p:not(.eyebrow) { color: rgba(245, 245, 247, .82); font-size: clamp(15px, 1.3vw, 18px); }
.film-meta > p.film-award { color: #fff; font-size: 14px; font-weight: 600; }
.film-actions { display: flex; align-items: center; gap: 22px; margin-top: 10px; }
.film-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding-top: clamp(48px, 7vw, 96px); }
.film-card h3 { font-size: 17px; margin-top: 14px; }
.film-card p { font-size: 14px; color: var(--night-muted); margin-top: 3px; }
.film-card .card-media { aspect-ratio: 16 / 9; background: var(--night-surface); }

/* Media shared by cards */
.card-media { position: relative; overflow: hidden; border-radius: 14px; background: #e8e8ed; isolation: isolate; }
.card-media > img, .card-media > video, .tall-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-media > img, .tall-media img { transition: transform 1s var(--ease); }
a:hover .card-media > img, a:hover .tall-media > img:last-child { transform: scale(1.04); }
.film-card .card-media > video { transition: transform 1s var(--ease); }
.film-card a:hover .card-media > video { transform: scale(1.04); }
.tall-media { background: #111; }
.tall-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.tall-media .tall-backdrop { object-fit: cover; filter: blur(22px) brightness(.7); transform: scale(1.25); }
a:hover .tall-media .tall-backdrop { transform: scale(1.25); }
video.loop[data-loop="hover"] { opacity: 0; transition: opacity .5s; }
video.loop[data-loop="hover"].is-playing { opacity: 1; }
.status-tag { position: absolute; z-index: 2; top: 12px; left: 12px; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: rgba(255, 255, 255, .85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

/* Photography: two rows drift past in opposite directions */
.photos { background: var(--paper); }
.photos .section-head { padding-bottom: clamp(24px, 3vw, 40px); }
.marquee { --mh: clamp(150px, 21svh, 230px); display: grid; gap: 12px; -webkit-mask: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.marquee-row { overflow: hidden; }
.marquee-track { display: flex; width: max-content; }
.marquee-item { position: relative; flex: none; height: var(--mh); width: calc(var(--mh) * var(--ar)); margin-right: 12px; border-radius: 10px; overflow: hidden; background: #e3e3e8; }
.marquee-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.marquee-item:hover img { transform: scale(1.04); }
.marquee-item span { position: absolute; left: 10px; bottom: 10px; padding: 4px 10px; border-radius: 999px; font-size: 12px; background: rgba(255, 255, 255, .88); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; transform: translateY(4px); transition: opacity .3s, transform .4s var(--ease); }
.marquee-item:hover span, .marquee-item:focus-visible span { opacity: 1; transform: none; }
.motion .marquee-track { animation: drift 110s linear infinite; }
.motion .marquee-row.is-reverse .marquee-track { animation-direction: reverse; animation-duration: 130s; }
.marquee-row:hover .marquee-track, .marquee-row:focus-within .marquee-track { animation-play-state: paused; }
@keyframes drift { to { transform: translateX(-50%); } }
html:not(.motion) .marquee-row { overflow-x: auto; scrollbar-width: none; }
html:not(.motion) .marquee-item[aria-hidden="true"] { display: none; }
.album-chips { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 28px; padding-bottom: clamp(72px, 9vw, 120px); }
.album-chips a { padding: 8px 16px; border-radius: 999px; font-size: 14px; box-shadow: inset 0 0 0 1px var(--line); transition: background .3s, color .3s; }
.album-chips a:hover { background: var(--ink); color: #fff; }

/* Editing: sized to fit one screen */
.editing { position: relative; color: var(--night-ink); background: radial-gradient(120% 90% at 50% 0%, var(--deep-light), var(--deep) 62%); overflow: hidden; }
.editing::before { content: ''; position: absolute; inset: 0; opacity: .07; pointer-events: none; background-image: repeating-linear-gradient(45deg, #fff 0 1px, transparent 1px 10px); -webkit-mask: linear-gradient(transparent, #000 30%, transparent); mask: linear-gradient(transparent, #000 30%, transparent); }
.editing-inner { position: relative; display: grid; align-content: center; gap: clamp(20px, 3.4svh, 36px); min-height: min(100svh, 980px); padding-top: calc(var(--header) + clamp(16px, 4svh, 48px)); padding-bottom: clamp(32px, 6svh, 72px); }
.stat { display: grid; gap: 10px; justify-items: start; }
.stat h2 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 22px; }
.stat-number { font-size: clamp(64px, 9vw, 136px); font-weight: 700; letter-spacing: -.07em; line-height: .85; font-variant-numeric: tabular-nums; }
.stat-label { font-size: clamp(24px, 2.8vw, 40px); letter-spacing: -.035em; }
.editing .lede { color: rgba(245, 247, 251, .7); }
.reel { --rh: max(220px, min(calc(100svh - 520px), calc((min(100vw, var(--max)) - 2 * var(--gutter) - 56px) / 3.69), 440px)); display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.reel::-webkit-scrollbar { display: none; }
.reel-card { flex: none; display: grid; gap: 10px; scroll-snap-align: start; }
.reel-media { position: relative; height: var(--rh); aspect-ratio: var(--ar); border-radius: 14px; overflow: hidden; background: rgba(0, 0, 0, .3); cursor: pointer; }
.reel-media video { width: 100%; height: 100%; object-fit: cover; }
.sound-toggle { position: absolute; right: 10px; bottom: 10px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(0, 0, 0, .45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background .3s, color .3s, transform .3s var(--ease); }
.sound-toggle:hover { transform: scale(1.08); }
.sound-toggle svg { width: 18px; height: 18px; fill: currentColor; }
.sound-toggle .icon-sound, .sound-toggle[aria-pressed="true"] .icon-muted { display: none; }
.sound-toggle[aria-pressed="true"] .icon-sound { display: block; }
.sound-toggle[aria-pressed="true"] { background: #fff; color: var(--deep); }
.reel-card figcaption { display: grid; gap: 1px; }
.reel-card figcaption a { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.reel-card figcaption a:hover { color: var(--accent-night); }
.reel-card figcaption span { font-size: 13px; color: rgba(245, 247, 251, .6); }
.editing .section-foot { padding: 0; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px 28px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* Software */
.software { background: var(--surface); }
.chromis-stage { --dh: min(64svh, 580px, 42vw); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; padding-bottom: clamp(72px, 9vw, 120px); }
.device-wrap { grid-column: 2; grid-row: 1; position: sticky; top: calc(50svh - var(--dh) / 2 + var(--header) / 2); height: var(--dh); display: grid; place-items: center; }
.device { position: relative; width: calc(var(--dh) * .487); height: var(--dh); padding: calc(var(--dh) * .016); border-radius: calc(var(--dh) * .085); background: linear-gradient(145deg, #3a3a3c, #1d1d1f 40%, #2c2c2e); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .14), 0 40px 80px -40px rgba(0, 0, 0, .55); transition: transform 1s var(--ease); }
[data-step="0"] .device, [data-step="1"] .device { transform: rotate(-90deg); }
.device-screen { position: relative; width: 100%; height: 100%; border-radius: calc(var(--dh) * .07); overflow: hidden; background: #000; }
.screen { position: absolute; max-width: none; opacity: 0; transition: opacity .6s; object-fit: cover; }
.screen.port { inset: 0; width: 100%; height: 100%; }
.screen.land { left: 50%; top: 50%; width: calc(var(--dh) * .968); height: calc(var(--dh) * .455); transform: translate(-50%, -50%) rotate(90deg); }
[data-step="0"] [data-screen="0"], [data-step="1"] [data-screen="1"], [data-step="2"] [data-screen="2"] { opacity: 1; }
.island { position: absolute; z-index: 2; top: 1.8%; left: 50%; width: 30%; height: 3.3%; border-radius: 99px; background: #000; transform: translateX(-50%); }
.steps { grid-column: 1; grid-row: 1; }
.step { min-height: 60svh; display: flex; flex-direction: column; justify-content: center; gap: 12px; max-width: 440px; transition: opacity .5s; }
.chromis-stage.is-live .step:not(.is-active) { opacity: .25; }
.step h3 { font-size: clamp(30px, 3.2vw, 44px); letter-spacing: -.045em; }
.step p:not(.eyebrow) { color: var(--muted); font-size: 18px; }
.step-links { display: flex; align-items: center; gap: 24px; padding-bottom: 20svh; }

/* Other software */
.also { padding-bottom: clamp(72px, 9vw, 120px); }
.also-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.also-card { position: relative; display: grid; gap: 14px; padding: 12px 12px 18px; border-radius: 22px; background: var(--paper); transition: transform .6s var(--ease); }
.also-card:hover { transform: translateY(-3px); }
.also-card .card-media { aspect-ratio: 16 / 9; border-radius: 12px; background: #111; }
.also-caption { padding-inline: 8px; display: grid; gap: 2px; }
.also-caption p { font-size: 14px; color: var(--muted); }
.also-arrow { position: absolute; right: 22px; bottom: 22px; color: var(--accent); transition: transform .4s var(--ease); }
.also-card:hover .also-arrow { transform: translate(2px, -2px); }

/* Closing */
.closing { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: clamp(40px, 7vw, 110px); padding-block: clamp(96px, 12vw, 170px); }
.closing-card { position: relative; width: clamp(150px, 17vw, 236px); aspect-ratio: 5 / 7; overflow: hidden; border-radius: 6.7% / 4.8%; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .45); transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) rotate(-4deg); }
.closing-card .card-art { position: absolute; left: 50%; top: 50%; width: 108.7%; height: 105%; max-width: none; transform: translate(-50%, -50%); }
.closing-copy { display: grid; gap: 24px; justify-items: start; }
.closing-note { max-width: 40ch; font-size: 15px; line-height: 1.55; color: var(--muted); }
.closing blockquote { font-family: Playfair, Georgia, serif; font-style: italic; font-weight: 450; font-size: clamp(30px, 3.8vw, 54px); line-height: 1.08; letter-spacing: -.035em; max-width: 18ch; }

/* Footer */
.site-footer { background: var(--night); color: var(--night-ink); padding-top: clamp(72px, 9vw, 120px); }
.footer-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; padding-bottom: clamp(56px, 7vw, 96px); }
.footer-top .eyebrow { color: var(--night-muted); margin-bottom: 14px; }
.footer-cta { display: inline-block; font-size: clamp(44px, 6.4vw, 92px); font-weight: 650; letter-spacing: -.055em; line-height: .98; }
.footer-cta span { display: inline-block; color: var(--accent-night); transition: transform .5s var(--ease); }
.footer-cta:hover span { transform: translate(6px, -6px); }
.footer-links { display: grid; gap: 10px; font-size: 15px; color: var(--night-muted); }
.footer-links a:hover { color: var(--night-ink); }
.footer-bottom { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; padding-block: 22px 28px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; color: var(--night-muted); }
.footer-bottom .brand { font-size: 13px; color: var(--night-ink); margin-right: auto; }
.footer-bottom .brand img { filter: invert(1); }

/* Inner pages */
.page-intro { padding-top: clamp(112px, 13vw, 168px); padding-bottom: clamp(28px, 4vw, 48px); display: grid; gap: 12px; justify-items: start; }
.filter-bar { display: inline-flex; max-width: 100%; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(0, 0, 0, .055); overflow-x: auto; scrollbar-width: none; }
.filter-bar::-webkit-scrollbar { display: none; }
.filter-bar button { flex: none; padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--muted); transition: background .3s, color .3s, box-shadow .3s; }
.filter-bar button:hover { color: var(--ink); }
.filter-bar button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
.filter-bar sup { font-size: 10px; margin-left: 3px; color: var(--muted); }
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 20px; margin-top: 32px; }
.project-card .card-media { aspect-ratio: 16 / 10; }
.card-caption { padding-top: 12px; display: grid; gap: 2px; }
.card-caption h3 { font-size: 17px; }
.card-caption span { font-size: 14px; color: var(--muted); }
.resource-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; margin-top: clamp(64px, 8vw, 100px); padding-block: 28px clamp(72px, 9vw, 120px); border-top: 1px solid var(--line); font-size: 15px; }
.resource-links .eyebrow { margin-right: auto; }

.album-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 20px; margin-top: 32px; padding-bottom: clamp(72px, 9vw, 120px); }
.album-cover { aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: #e3e3e8; }
.album-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.album-card:hover .album-cover img { transform: scale(1.04); }
.album-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 14px; }
.album-meta h2 { font-size: 20px; letter-spacing: -.025em; }
.album-count { font-size: 13px; color: var(--muted); flex: none; }
.album-card p { font-size: 14px; color: var(--muted); margin-top: 2px; }
.collection-heading { display: flex; align-items: baseline; gap: 16px; margin: 40px 0 24px; }
.collection-heading h2 { font-size: clamp(28px, 3vw, 40px); }
.collection-heading p { color: var(--muted); font-size: 15px; }
.photo-grid { columns: 3; column-gap: 16px; padding-bottom: clamp(72px, 9vw, 120px); }
.photo-grid > a, .photo-button { position: relative; display: block; width: 100%; margin-bottom: 16px; break-inside: avoid; border-radius: 12px; overflow: hidden; background: #e3e3e8; }
.photo-button img, .photo-grid > a img { width: 100%; height: auto; transition: transform 1s var(--ease); }
.photo-button:hover img { transform: scale(1.03); }
.photo-button span { position: absolute; left: 12px; bottom: 12px; padding: 6px 10px; border-radius: 999px; font-size: 12px; background: rgba(255, 255, 255, .85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .4s var(--ease); }
.photo-button:hover span, .photo-button:focus-visible span { opacity: 1; transform: none; }

.lightbox, .video-dialog { border: 0; padding: 0; background: transparent; color: var(--night-ink); max-width: none; max-height: none; overflow: visible; }
.lightbox::backdrop, .video-dialog::backdrop { background: rgba(0, 0, 0, .92); backdrop-filter: blur(8px); }
.lightbox[open] { width: 100vw; height: 100svh; display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; justify-items: center; }
.lightbox figure { display: grid; gap: 14px; justify-items: center; }
.lightbox img { max-width: min(88vw, 1500px); max-height: 82svh; width: auto; height: auto; border-radius: 6px; }
.lightbox figcaption { display: flex; gap: 18px; font-size: 14px; color: var(--night-muted); }
.lightbox figcaption span:first-child { color: var(--night-ink); }
.dialog-close, .photo-prev, .photo-next { width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 20px; display: grid; place-items: center; transition: background .3s; }
.dialog-close:hover, .photo-prev:hover:not(:disabled), .photo-next:hover:not(:disabled) { background: rgba(255, 255, 255, .24); }
.lightbox .dialog-close { position: fixed; top: 16px; right: 16px; z-index: 2; }
.video-dialog[open] { width: min(1120px, 92vw); display: grid; gap: 14px; justify-items: end; }
.video-dialog .video-mount { width: 100%; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; }
.video-dialog.is-vertical[open] { width: min(400px, 90vw); }
.video-dialog[data-aspect="9/16"][open] { width: min(420px, 90vw, calc(78svh * 9 / 16)); }
.video-dialog[data-aspect="9/16"] .video-mount { aspect-ratio: 9 / 16; }
.video-dialog[data-aspect="1/1"][open] { width: min(720px, 90vw, 78svh); }
.video-dialog[data-aspect="1/1"] .video-mount { aspect-ratio: 1; }
.video-mount video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.video-dialog.is-vertical .video-mount { aspect-ratio: 9 / 16; max-height: 78svh; }
.video-mount iframe { width: 100%; height: 100%; border: 0; }
.video-external { font-size: 14px; color: var(--night-muted); }
.modal-open { overflow: hidden; }

.about-intro { grid-template-columns: 1fr 1fr; align-items: end; gap: 24px 64px; }
.about-intro .eyebrow { grid-column: 1 / -1; }
.about-opening { display: grid; gap: 16px; font-size: clamp(18px, 1.6vw, 22px); letter-spacing: -.015em; }
.about-opening p + p { color: var(--muted); }
.about-landscape { margin-top: clamp(32px, 5vw, 64px); background: #000; }
.about-landscape img { width: 100%; height: min(78svh, 820px); object-fit: cover; }
.about-story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px 64px; padding-block: clamp(64px, 8vw, 104px); }
.about-story + .about-story { border-top: 1px solid var(--line); }
.about-story h2 { font-size: clamp(28px, 3vw, 40px); }
.about-story > div { display: grid; gap: 18px; justify-items: start; max-width: 40em; }
.about-story p { font-size: 18px; line-height: 1.6; }

.resume { max-width: 1080px; padding-top: clamp(112px, 13vw, 160px); padding-bottom: clamp(72px, 9vw, 120px); }
.resume-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.resume-top > div { display: grid; gap: 10px; }
.resume-top h1 + p { font-size: 19px; color: var(--muted); }
.resume-contact { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 14px; color: var(--accent); margin-top: 6px; }
.resume-summary { font-size: clamp(19px, 1.8vw, 24px); letter-spacing: -.02em; line-height: 1.4; max-width: 34em; margin: 40px 0 16px; }
.resume-section { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px 48px; padding-top: 36px; margin-top: 36px; border-top: 1px solid var(--line); }
.resume-section h2 { font-size: 20px; letter-spacing: -.025em; }
.resume-heading { display: grid; gap: 6px; align-content: start; }
.resume-heading p { font-size: 13px; color: var(--muted); }
.resume-role a:hover { color: var(--accent); }
.resume-section > div { display: grid; gap: 28px; }
.resume-section article { display: grid; gap: 6px; break-inside: avoid; }
.resume-section article p, .resume-section > div > p { font-size: 15px; line-height: 1.55; color: #424245; }
.resume-section h3 { font-size: 17px; }
.resume-section h3 a:hover { color: var(--accent); }
.resume-entry-head { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.resume-entry-head > span { font-size: 13px; color: var(--muted); flex: none; }
.resume-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; }
.resume-role { font-size: 13px !important; color: var(--muted) !important; }
.project-facts dd a:hover { color: var(--accent); }
.resume-link { font-size: 13px; color: var(--accent); white-space: nowrap; }
.resume-link:hover { text-decoration: underline; }

.project-intro { padding-top: clamp(104px, 12vw, 152px); display: grid; gap: 12px; justify-items: start; }
.back-link { font-size: 14px; color: var(--muted); margin-bottom: 18px; transition: color .2s; }
.back-link:hover { color: var(--ink); }
.project-intro .lede { margin-top: 4px; }
.project-actions { display: flex; align-items: center; gap: 22px; margin-top: 14px; }
.project-actions:empty { display: none; }
.film-hero { position: relative; height: 100svh; min-height: 560px; max-height: 1100px; overflow: hidden; background: #000; color: var(--night-ink); }
.film-hero-media { position: absolute; inset: 0; }
.film-hero-media > img, .film-hero-media > video { width: 100%; height: 100%; object-fit: cover; }
.film-hero-media::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .1; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); }
.film-hero-media::after { content: ''; position: absolute; inset: auto 0 0; height: 70%; z-index: 1; pointer-events: none; background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, .82)); }
.film-hero-meta { view-transition-name: film-meta; position: absolute; z-index: 2; left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); right: var(--gutter); bottom: clamp(32px, 7svh, 72px); max-width: 640px; display: grid; gap: 10px; }
.film-hero-meta > a, .film-hero-meta .project-actions { justify-self: start; }
.film-hero-meta .back-link { color: rgba(245, 245, 247, .7); margin-bottom: 8px; }
.film-hero-meta .back-link:hover { color: #fff; }
.film-hero-meta h1 { font-size: clamp(40px, 6vw, 84px); }
.film-hero-meta .lede { color: rgba(245, 245, 247, .82); }
.film-hero-meta .film-award { color: #fff; font-size: 14px; font-weight: 600; }
.film-hero-meta .project-actions { margin-top: 10px; }
.project-hero { margin-top: clamp(32px, 4vw, 56px); }
.project-hero-media { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #111; }
.project-hero-media > img, .project-hero-media > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.project-hero.is-screen .project-hero-media > img { object-fit: contain; padding: clamp(16px, 3vw, 40px); }
.play-button { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; display: grid; place-items: center; font-size: 26px; color: #fff; background: rgba(255, 255, 255, .2); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); transition: transform .5s var(--ease), background .3s; }
.play-button span { margin-left: 4px; }
.play-button:hover { transform: scale(1.08); background: rgba(255, 255, 255, .3); }
.project-story { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 32px 72px; padding-block: clamp(56px, 7vw, 96px); }
.project-facts { display: grid; align-content: start; }
.project-facts div { padding: 14px 0; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.project-facts dt { font-size: 12px; font-weight: 600; color: var(--muted); }
.project-facts dd { font-size: 15px; }
.project-narrative { display: grid; gap: 20px; justify-items: start; align-content: start; max-width: 40em; }
.project-narrative p { font-size: 18px; line-height: 1.6; color: #424245; }
.project-narrative .project-context { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.3; letter-spacing: -.025em; color: var(--ink); font-weight: 500; }
.project-availability a { color: var(--accent); }
.project-capabilities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding-bottom: clamp(56px, 7vw, 96px); }
.project-capabilities article { background: var(--surface); border-radius: var(--radius); padding: 28px; display: grid; gap: 10px; align-content: start; }
.project-capabilities h3 { font-size: 24px; }
.project-capabilities p:not(.eyebrow) { font-size: 15px; color: var(--muted); }
.app-detail-images { padding-bottom: clamp(56px, 7vw, 96px); }
.app-detail-images img { width: 100%; border-radius: var(--radius); }
.app-detail-images figcaption { font-size: 13px; color: var(--muted); margin-top: 12px; }
.next-project { display: grid; gap: 6px; padding-top: 40px; padding-bottom: clamp(72px, 9vw, 120px); border-top: 1px solid var(--line); }
.next-title { font-size: clamp(36px, 5.4vw, 72px); font-weight: 650; letter-spacing: -.05em; line-height: 1; }
.next-title span { display: inline-block; color: var(--accent); transition: transform .5s var(--ease); }
.next-project:hover .next-title span { transform: translate(6px, -6px); }
.next-type { font-size: 15px; color: var(--muted); }
.not-found { min-height: 70svh; align-content: center; }
.not-found .pill-button { margin-top: 18px; }

/* Scroll reveals (enabled by site.js when motion is allowed) */
.reveal-ready [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.reveal-ready [data-reveal].is-in { opacity: 1; transform: none; }

/* Page transitions */
@view-transition { navigation: auto; }
::view-transition-group(*) { animation-duration: .55s; animation-timing-function: cubic-bezier(.2, .8, .2, 1); }
::view-transition-old(root) { animation: .3s cubic-bezier(.2, .8, .2, 1) both page-out; }
::view-transition-new(root) { animation: .6s cubic-bezier(.2, .8, .2, 1) both page-in; }
/* The header is captured on its own, so it eases between its light and dark versions and stays above the image as it opens. */
.site-header { view-transition-name: site-header; }
::view-transition-group(site-header) { z-index: 3; }
::view-transition-old(site-header), ::view-transition-new(site-header) { animation-duration: .55s; }
/* A film's title block rides above the opening frame, then rises into place. */
::view-transition-group(film-meta) { z-index: 2; }
::view-transition-new(film-meta) { animation: .7s cubic-bezier(.2, .8, .2, 1) .12s both page-in; }
::view-transition-old(film-meta) { animation: .2s ease both page-out; }
@keyframes page-out { to { opacity: 0; } }
@keyframes page-in { from { opacity: 0; transform: translateY(48px); } }


@media (max-width: 820px) {
  #site-nav { position: fixed; inset: var(--header) 0 auto; display: grid; gap: 4px; padding: 16px var(--gutter) 28px; background: rgba(245, 245, 247, .97); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); color: var(--ink); font-size: 28px; font-weight: 650; letter-spacing: -.04em; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s, transform .4s var(--ease), visibility .3s; box-shadow: 0 20px 40px -30px rgba(0, 0, 0, .4); }
  #site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  #site-nav a { opacity: 1; padding: 6px 0; }
  #site-nav a[aria-current="page"] { font-weight: 650; color: var(--accent); }
  .mobile-contact { display: block; font-size: 17px; font-weight: 500; letter-spacing: -.01em; color: var(--accent); margin-top: 12px; }
  .header-contact { display: none; }
  .menu-toggle { display: block; }
  .film-row { grid-template-columns: 1fr 1fr; }
  .film-row .film-card:first-child { grid-column: 1 / -1; }
  .reel { --rh: min(52svh, 360px); margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .chromis-stage { --dh: min(80vw, 44svh); grid-template-columns: minmax(0, 1fr); }
  .device-wrap { grid-column: 1; grid-row: 1; top: calc(var(--header) + 16px); z-index: 0; }
  .steps { grid-column: 1; grid-row: 1; position: relative; z-index: 1; padding-top: calc(var(--dh) + 32px); }
  .step { min-height: 64svh; justify-content: flex-end; padding-bottom: 6svh; max-width: none; background: linear-gradient(rgba(255, 255, 255, 0) 45%, #fff 62%); }
  .step-links { padding-bottom: 8svh; }
  .closing { grid-template-columns: 1fr; justify-items: start; }
  .work-grid, .album-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photo-grid { columns: 2; column-gap: 10px; }
  .photo-grid > a, .photo-button { margin-bottom: 10px; }
  .about-intro, .about-story, .project-story, .resume-section { grid-template-columns: minmax(0, 1fr); }
  .project-capabilities { grid-template-columns: minmax(0, 1fr); }
  .lightbox[open] { grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
  .lightbox figure { grid-row: 1; }
  .lightbox .photo-prev, .lightbox .photo-next { grid-row: 2; position: fixed; bottom: 24px; }
  .lightbox .photo-prev { left: 24px; }
  .lightbox .photo-next { right: 24px; }
  .lightbox img { max-width: 94vw; max-height: 74svh; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero-inner h1 { font-size: clamp(54px, 16.5vw, 92px); }
  .hero-card { width: min(46vw, 31svh); }
  .marquee { --mh: 132px; gap: 8px; }
  .marquee-item { margin-right: 8px; border-radius: 8px; }
  .film-row { gap: 24px 12px; }
  .film-meta h3 { font-size: 40px; }
  .stat h2 { display: grid; }
  .also-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .work-grid { gap: 24px 12px; }
  .card-caption h3 { font-size: 15px; }
  .card-caption span { font-size: 13px; }
  .album-grid { gap: 28px 12px; }
  .album-meta { display: grid; gap: 2px; }
  .album-meta h2 { font-size: 17px; }
  .album-card p { display: none; }
  .footer-bottom { gap: 14px 22px; }
  .section-foot { justify-content: flex-start; }
  .project-hero { padding-inline: 0; }
  .project-hero-media { border-radius: 0; }
  .play-button { width: 64px; height: 64px; margin: -32px 0 0 -32px; font-size: 20px; }
}

@media (hover: none) {
  a:hover .card-media > img, a:hover .tall-media > img:last-child, .marquee-item:hover img, .also-card:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media print {
  @page { margin: .45in .5in; }
  .site-header, .site-footer, .skip-link, .video-dialog, .lightbox, [data-print], .resume-summary { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .resume { padding: 0; max-width: none; }
  .resume-top > div { gap: 4pt; }
  .resume-top h1 { font-size: 26pt; }
  .resume-top h1 + p { font-size: 11pt; }
  .resume-contact { color: #000; font-size: 9pt; margin-top: 0; }
  .resume-section { grid-template-columns: 120pt 1fr; gap: 6pt 18pt; padding-top: 5pt; margin-top: 5pt; border-color: #ccc; }
  .resume-top + .resume-section { margin-top: 12pt; }
  .resume-section > div { gap: 5pt; }
  .resume-section article { gap: 1pt; }
  .resume-section h2 { font-size: 11pt; }
  .resume-heading p { font-size: 8.5pt; }
  .resume-section h3 { font-size: 10pt; }
  .resume-entry-head > span { font-size: 8.5pt; }
  .resume-title { gap: 0 8pt; }
  .resume-role { font-size: 8.5pt !important; }
  .resume-link { font-size: 8pt; color: #0066cc; }
  .resume-section article p, .resume-section > div > p { font-size: 9pt; line-height: 1.35; color: #222; }
}
