@property --genre-r { syntax: "<number>"; inherits: true; initial-value: 62; }
@property --genre-g { syntax: "<number>"; inherits: true; initial-value: 75; }
@property --genre-b { syntax: "<number>"; inherits: true; initial-value: 88; }

:root {
  color-scheme: dark;
  --ink: #08090a;
  --ink-soft: #101113;
  --paper: #f2f0e9;
  --muted: #a5a49f;
  --muted-2: #747570;
  --line: rgba(255,255,255,.15);
  --line-strong: rgba(255,255,255,.28);
  --accent: #f05a34;
  --accent-bright: #ff7049;
  --pad: clamp(20px, 4vw, 64px);
  --max: 1600px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; }
::selection { background: var(--accent); color: #fff; }
.shell { width: min(var(--max), calc(100% - (var(--pad) * 2))); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 100; background: var(--paper); color: var(--ink); padding: 12px 18px; }
.skip-link:focus { top: 12px; }

.site-header {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 20;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1rem; font-weight: 800; letter-spacing: .14em; text-decoration: none; }
.brand-mark { color: var(--accent); font-size: .8rem; }
@media (max-width: 560px) { .brand { gap: 5px; font-size: .76rem; letter-spacing: .09em; } .brand-mark { font-size: .6rem; } }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 38px); }
.site-nav a { position: relative; text-decoration: none; font-size: .73rem; text-transform: uppercase; letter-spacing: .17em; color: #cdccc6; transition: color .2s ease; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 1px; background: var(--accent); transition: right .25s ease; }
.site-nav a:hover, .site-nav a:focus-visible, .site-nav a.active { color: #fff; }
.site-nav a:hover::after, .site-nav a:focus-visible::after, .site-nav a.active::after { right: 0; }
.menu-button { display: none; border: 0; background: transparent; color: var(--paper); padding: 8px 0 8px 16px; text-transform: uppercase; letter-spacing: .15em; font-size: .72rem; }

.hero { min-height: calc(100svh - 84px); display: grid; grid-template-columns: minmax(300px,.8fr) minmax(540px,1.55fr); gap: clamp(40px, 6vw, 100px); align-items: center; padding-block: clamp(42px, 6vh, 86px); }
.eyebrow, .section-kicker { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.eyebrow { display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--accent); }
.display { max-width: 760px; font-family: "Avenir Next", Avenir, "Segoe UI Variable Display", "Segoe UI", sans-serif; font-size: clamp(4rem, 7.25vw, 8.5rem); font-weight: 300; line-height: .88; letter-spacing: -.068em; text-transform: none; margin: 30px 0 34px; }
.display .offset { color: var(--paper); font-family: inherit; font-size: 1em; font-style: normal; font-weight: 650; letter-spacing: -.078em; text-transform: lowercase; }
.hero-copy p { max-width: 440px; margin: 0; color: #c7c5bf; font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.58; }
.text-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 30px; font-size: .72rem; letter-spacing: .17em; text-transform: uppercase; text-decoration: none; }
.text-link::before { content: ""; width: 42px; height: 1px; background: var(--accent); transition: width .25s ease; }
.text-link:hover::before, .text-link:focus-visible::before { width: 62px; }

.showcase { position: relative; }
.showcase::before { content: "FEATURED / 01"; position: absolute; z-index: 3; top: -24px; right: 0; font: 700 .64rem/1 monospace; letter-spacing: .16em; color: var(--muted-2); }
.frame, .project-card { position: relative; overflow: hidden; background: #131416; }
.frame { aspect-ratio: 16/9; }
.frame > img, .project-card img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.82) contrast(1.08); transition: transform .42s cubic-bezier(.2,.75,.25,1), filter .35s ease; }
.frame:hover > img { transform: scale(1.035); filter: saturate(1) contrast(1.04); }
.frame::after, .project-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,.02) 45%, rgba(0,0,0,.9) 100%); }
.frame-caption { position: absolute; z-index: 2; left: clamp(18px, 2vw, 32px); right: clamp(18px, 2vw, 32px); bottom: clamp(17px, 2vw, 28px); display: flex; justify-content: space-between; align-items: end; }
.frame-caption strong { display: block; margin: 5px 0 0; max-width: 720px; font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: clamp(2rem, 3.1vw, 4rem); line-height: .95; text-transform: uppercase; letter-spacing: -.015em; font-weight: 700; }
.meta { font-size: .65rem; letter-spacing: .16em; text-transform: uppercase; color: #d7d4cb; }
.timecode { position: absolute; z-index: 2; top: 17px; left: 18px; font: 700 .65rem/1 monospace; letter-spacing: .1em; background: rgba(8,9,10,.72); padding: 8px 9px; border: 1px solid rgba(255,255,255,.2); }
.play-chip { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--paper); color: var(--ink); flex: 0 0 auto; }
.play-chip svg { width: 14px; height: 14px; margin-left: 3px; }
.film-strip { height: 9px; margin-top: 10px; opacity: .42; background: repeating-linear-gradient(90deg, transparent 0 22px, #fff 22px 25px); }

.section { padding-block: clamp(90px, 11vw, 175px); border-top: 1px solid var(--line); }
.parallax-panel {
  --section-photo-parallax: 0px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.parallax-content { position: relative; z-index: 2; }
.section-parallax-frame {
  position: absolute;
  z-index: 0;
  inset: 0 calc((100vw - 100%) / -2);
  overflow: hidden;
  pointer-events: none;
  background: #070809;
}
.section-parallax-frame::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
}
.section-parallax-photo {
  position: absolute;
  inset: -42vh 0;
  background-repeat: no-repeat;
  background-size: cover;
  transform: translate3d(0, var(--section-photo-parallax), 0) scale(1.035);
  filter: saturate(.72) contrast(1.08);
  will-change: transform;
}
.section-parallax-photo--camera {
  background-image: url("assets/section-work-camera-v2.png");
  background-position: right center;
  transform: translate3d(0, var(--section-photo-parallax), 0) scale(1.035) scaleX(-1);
}
.section-parallax-photo--sun {
  background-image: url("assets/section-services-sun-v2.png");
  background-position: left center;
  filter: saturate(.78) contrast(1.1);
}
.section-parallax-photo--alps {
  background-image: url("assets/section-about-alps-v2.png");
  background-position: left center;
  filter: saturate(.62) contrast(1.1);
}
.work-intro-parallax {
  padding-block: clamp(90px, 10vw, 160px) clamp(82px, 9vw, 140px);
}
.work-intro-parallax .section-head { margin-bottom: 0; }
.work-intro-parallax .section-parallax-frame::after {
  background:
    linear-gradient(90deg, rgba(8,9,10,.52) 0%, rgba(8,9,10,.36) 52%, rgba(8,9,10,.58) 100%),
    linear-gradient(180deg, rgba(8,9,10,.38), rgba(8,9,10,.7));
}
#services .section-parallax-frame::after {
  background:
    linear-gradient(90deg, rgba(8,9,10,.55) 0%, rgba(8,9,10,.72) 48%, rgba(8,9,10,.92) 100%),
    linear-gradient(180deg, rgba(8,9,10,.28), rgba(8,9,10,.74));
}
#about .section-parallax-frame::after {
  background:
    linear-gradient(90deg, rgba(8,9,10,.5) 0%, rgba(8,9,10,.62) 46%, rgba(8,9,10,.82) 100%),
    linear-gradient(180deg, rgba(8,9,10,.32), rgba(8,9,10,.7));
}
#work {
  --genre-r: 62;
  --genre-g: 75;
  --genre-b: 88;
  --work-photo-parallax: 0px;
  position: relative;
  transition: --genre-r .75s ease, --genre-g .75s ease, --genre-b .75s ease;
}
#work.section { padding-top: 0; }
.work-stage {
  position: relative;
  isolation: isolate;
}
.work-stage::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -70px calc((100vw - 100%) / -2) -110px;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8,9,10,.2), rgba(8,9,10,.38) 55%, rgba(8,9,10,.82)),
    radial-gradient(ellipse 72% 42% at 74% 18%, rgba(var(--genre-r), var(--genre-g), var(--genre-b), .2), transparent 70%);
}
.genre-backdrops {
  position: absolute;
  z-index: -2;
  top: -70px;
  bottom: -110px;
  left: 50%;
  width: 100vw;
  overflow: hidden;
  pointer-events: none;
  transform: translateX(-50%);
}
.genre-backdrop {
  position: absolute;
  inset: -58vh 0;
  opacity: 0;
  background-position: center;
  background-size: cover;
  filter: saturate(.82) contrast(1.1);
  transform: translate3d(0, var(--work-photo-parallax), 0) scale(1.045);
  transition: opacity .72s ease;
  will-change: transform, opacity;
}
/* Science photography: Alin Corneliu. The other active genre backdrops
   are original artwork created for this portfolio. */
.genre-backdrop[data-genre-bg="all"] {
  background-image:
    linear-gradient(180deg, rgba(0,2,7,.18), rgba(0,2,7,.52) 58%, rgba(0,1,4,.82)),
    radial-gradient(ellipse 74% 42% at 68% 28%, rgba(9,63,128,.2), transparent 72%),
    url("assets/genre-all-neon-tall.png");
  background-color: #01040a;
  background-position: center, center, 58% center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: saturate(.86) contrast(1.05);
}
.genre-backdrop[data-genre-bg="other"] {
  background-image:
    radial-gradient(ellipse 62% 46% at 34% 34%, rgba(27,29,34,.3), transparent 72%),
    linear-gradient(180deg, #030405 0%, #0a0b0d 52%, #010203 100%);
  filter: none;
}
.genre-backdrop[data-genre-bg="true-crime"] {
  background-image:
    linear-gradient(90deg, rgba(3,4,5,.8) 0%, rgba(3,4,5,.56) 48%, rgba(3,4,5,.18) 78%, rgba(3,4,5,.42) 100%),
    linear-gradient(180deg, rgba(8,9,10,.34), rgba(8,9,10,.76)),
    url("assets/genre-true-crime-blood.png");
  background-color: #030405;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: saturate(.86) contrast(1.1);
}
.genre-backdrop[data-genre-bg="history"] {
  background-image:
    linear-gradient(90deg, rgba(5,6,7,.83) 0%, rgba(5,6,7,.65) 42%, rgba(5,6,7,.25) 72%, rgba(5,6,7,.54) 100%),
    linear-gradient(180deg, rgba(8,9,10,.42), rgba(8,9,10,.8)),
    url("assets/genre-history-mongol.png");
  background-color: #060708;
  background-position: center, center, 72% 54%;
  background-repeat: no-repeat;
  background-size: cover, cover, auto 64%;
  filter: saturate(.72) contrast(1.08);
}
.genre-backdrop[data-genre-bg="nature"] {
  background-image:
    linear-gradient(90deg, rgba(5,8,6,.78) 0%, rgba(5,8,6,.56) 44%, rgba(5,8,6,.16) 72%, rgba(5,8,6,.25) 100%),
    linear-gradient(180deg, rgba(8,9,10,.38), rgba(8,9,10,.76)),
    url("assets/genre-nature-right.png");
  background-color: #030604;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.genre-backdrop[data-genre-bg="science"] {
  background-image: linear-gradient(180deg, rgba(8,9,10,.67), rgba(8,9,10,.87)), url("assets/genre-science.webp");
  background-position: center 46%;
  filter: saturate(.56) contrast(1.08);
}
#work[data-active-genre="all"] .genre-backdrop[data-genre-bg="all"],
#work[data-active-genre="true-crime"] .genre-backdrop[data-genre-bg="true-crime"],
#work[data-active-genre="history"] .genre-backdrop[data-genre-bg="history"],
#work[data-active-genre="nature"] .genre-backdrop[data-genre-bg="nature"],
#work[data-active-genre="science"] .genre-backdrop[data-genre-bg="science"],
#work[data-active-genre="other"] .genre-backdrop[data-genre-bg="other"] {
  opacity: 1;
}
#work[data-active-genre="true-crime"] { --genre-r: 126; --genre-g: 31; --genre-b: 42; }
#work[data-active-genre="history"] { --genre-r: 127; --genre-g: 85; --genre-b: 44; }
#work[data-active-genre="nature"] { --genre-r: 34; --genre-g: 104; --genre-b: 74; }
#work[data-active-genre="science"] { --genre-r: 37; --genre-g: 92; --genre-b: 145; }
#work[data-active-genre="other"] { --genre-r: 104; --genre-g: 62; --genre-b: 117; }
.section-head { display: grid; grid-template-columns: minmax(190px,.55fr) 1.45fr; gap: 40px; align-items: end; margin-bottom: clamp(46px, 7vw, 92px); }
.section-title { margin: 0; font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: clamp(3.3rem, 7.1vw, 8.2rem); line-height: .84; letter-spacing: -.025em; text-transform: uppercase; font-weight: 700; }
#work-title { font-family: "Helvetica Neue", "Aptos Display", Arial, sans-serif; font-weight: 600; line-height: .82; letter-spacing: -.075em; }
.section-note { max-width: 520px; justify-self: end; margin: 20px 0 0; color: var(--muted); font-size: 1rem; }

.filter-bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 28px; border-top: 1px solid var(--line); padding-top: 18px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-button { border: 1px solid var(--line); background: transparent; color: #aaa9a4; padding: 9px 13px; cursor: pointer; font-size: .67rem; letter-spacing: .14em; text-transform: uppercase; transition: .2s ease; }
.filter-button:hover, .filter-button:focus-visible { border-color: var(--line-strong); color: #fff; }
.filter-button[aria-pressed="true"] { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.project-count { color: var(--muted-2); font: 700 .65rem/1 monospace; letter-spacing: .1em; white-space: nowrap; }
.work-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; counter-reset: project; }
.project, .project.wide { grid-column: span 4; min-width: 0; position: relative; counter-increment: project; transition: opacity .32s ease, transform .38s cubic-bezier(.2,.75,.25,1); }
.project::before { content: "0" counter(project); position: absolute; z-index: 4; top: 14px; left: 14px; padding: 6px 7px; border: 1px solid rgba(255,255,255,.2); background: rgba(8,9,10,.64); color: #d8d5cc; font: 700 .6rem/1 monospace; letter-spacing: .12em; pointer-events: none; transition: color .25s ease, border-color .25s ease; }
.project::after { content: ""; position: absolute; z-index: 5; top: 0; left: 0; right: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .4s cubic-bezier(.2,.75,.25,1); pointer-events: none; }
.work-grid .project:hover { transform: translateY(-7px); }
.project:hover::before { color: #fff; border-color: rgba(255,255,255,.48); }
.project:hover::after { transform: scaleX(1); }
.project-card { display: block; width: 100%; aspect-ratio: 16/10; padding: 0; border: 0; color: inherit; text-align: left; cursor: pointer; }
.project.wide .project-card { aspect-ratio: 16/10; }
.work-grid .project-card img { transform: translate3d(0, var(--scroll-shift, 0px), 0) scale(1.045); }
.project-card:hover img, .project-card:focus-visible img { transform: translate3d(var(--shift-x, 0), calc(var(--scroll-shift, 0px) + var(--shift-y, 0px)), 0) scale(1.085); filter: saturate(1.08) contrast(1.04); }
.project-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.project-card .play-chip { position: absolute; z-index: 2; right: 18px; top: 18px; width: 42px; height: 42px; transform: translateY(-3px); opacity: 0; transition: .25s ease; }
.project-card:hover .play-chip, .project-card:focus-visible .play-chip, .showcase .project-card .play-chip { opacity: 1; transform: translateY(0); }
.project-card > .meta { position: absolute; z-index: 2; left: 18px; bottom: 17px; }
.project-info { display: flex; justify-content: space-between; align-items: start; gap: 18px; padding: 15px 1px 31px; }
.project-title { margin: 0; font-size: clamp(.98rem, 1.3vw, 1.17rem); font-weight: 600; line-height: 1.25; }
.project-client { color: var(--muted-2); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.project[hidden] { display: none; }

#services.section { padding-block: clamp(44px, 3.5vw, 62px); }
.services-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(55px, 9vw, 150px); }
.services-intro { position: sticky; top: 130px; align-self: start; }
.services-intro .section-title { margin-top: 22px; }
.service-list { border-top: 1px solid var(--line); }
.service { display: grid; grid-template-columns: 68px 1fr; gap: 18px; padding: 16px 0 20px; border-bottom: 1px solid var(--line); }
.service-index { color: var(--accent); font: 700 .68rem/1.5 monospace; letter-spacing: .1em; }
.service h3 { margin: 0 0 10px; font-size: clamp(1.55rem, 2.5vw, 2.65rem); letter-spacing: -.035em; font-weight: 550; }
.service p { max-width: 540px; margin: 0; color: var(--muted); line-height: 1.6; }
.service-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.service-tags span { padding: 6px 8px; border: 1px solid var(--line); color: #8f908b; font-size: .62rem; text-transform: uppercase; letter-spacing: .13em; }

.about-section { background: #131516; color: var(--paper); }
.about-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: clamp(48px, 10vw, 170px); align-items: start; }
.about-section .section-kicker { color: #a6a59f; }
.about-section .section-title { margin-top: 22px; }
.about-copy { padding-top: 18px; }
.about-lead { margin: 0 0 32px; font-size: clamp(1.65rem, 3vw, 3rem); line-height: 1.15; letter-spacing: -.035em; }
.about-body { max-width: 600px; margin: 0; color: #c1c0ba; line-height: 1.7; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 54px; border-top: 1px solid rgba(255,255,255,.18); padding-top: 18px; }
.stat strong { display: block; font-size: 1.2rem; font-weight: 650; }
.stat span { font-size: .65rem; letter-spacing: .13em; text-transform: uppercase; color: #999a95; }

.contact-section { min-height: 76svh; display: flex; align-items: center; }
.contact-wrap { width: 100%; }
.contact-top { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; }
.contact-top .section-title { margin-top: 22px; }
.availability { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; }
.availability::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(240,90,52,.11); }
.email-link { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; width: 100%; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); padding: clamp(28px, 5vw, 68px) 0; text-decoration: none; }
.email-link span:first-child { font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: clamp(2rem, 6.3vw, 7.1rem); line-height: .9; text-transform: uppercase; letter-spacing: -.02em; overflow-wrap: anywhere; transition: color .2s ease; }
.email-link:hover span:first-child, .email-link:focus-visible span:first-child { color: var(--accent-bright); }
.email-arrow { width: clamp(52px, 7vw, 96px); height: clamp(52px, 7vw, 96px); display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; font-size: clamp(1.4rem, 3vw, 3rem); transition: .25s ease; }
.email-link:hover .email-arrow, .email-link:focus-visible .email-arrow { background: var(--accent); border-color: var(--accent); transform: rotate(-35deg); }
.contact-links { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 24px; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; }
.contact-links a { text-underline-offset: 5px; }
.site-footer { display: flex; justify-content: space-between; gap: 20px; padding-block: 24px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: .63rem; letter-spacing: .12em; text-transform: uppercase; }

dialog { width: min(1180px, calc(100% - 32px)); max-height: calc(100svh - 32px); padding: 0; border: 1px solid var(--line-strong); background: #0a0b0d; color: var(--paper); box-shadow: 0 30px 100px rgba(0,0,0,.75); }
dialog::backdrop { background: rgba(0,0,0,.82); backdrop-filter: blur(8px); }
.modal-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 18px; border-bottom: 1px solid var(--line); }
.modal-label { font: 700 .64rem/1 monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.modal-close { border: 0; color: var(--paper); background: transparent; cursor: pointer; padding: 8px; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; }
.video-wrap { background: #000; aspect-ratio: 16/9; }
.video-wrap video { display: block; width: 100%; height: 100%; object-fit: contain; }
.modal-info { display: flex; justify-content: space-between; align-items: end; gap: 28px; padding: clamp(20px,3vw,38px); }
.modal-info h2 { margin: 4px 0 0; font-size: clamp(1.5rem, 3vw, 3.5rem); line-height: 1; letter-spacing: -.035em; }
.modal-info .project-angle { max-width: 580px; margin: 14px 0 0; color: #c5c3bd; font-size: .9rem; line-height: 1.55; }
.project-angle--quote { padding-left: 16px; border-left: 2px solid var(--accent); color: var(--paper) !important; font-size: clamp(1rem, 1.35vw, 1.28rem) !important; font-style: italic; line-height: 1.45 !important; }
.modal-credit { max-width: 320px; margin: 0; color: var(--muted-2); font-size: .73rem; line-height: 1.55; }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1050px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { display: grid; grid-template-columns: 1fr 1fr; column-gap: 30px; align-items: end; }
  .hero-copy .eyebrow, .hero-copy .display { grid-column: 1 / -1; }
  .hero-copy .text-link { justify-self: end; }
  .project, .project.wide { grid-column: span 6; }
}

@media (max-width: 760px) {
  :root { --pad: 18px; }
  html { scroll-padding-top: 70px; }
  .site-header { height: 70px; }
  .menu-button { display: block; }
  .site-nav { display: none; position: absolute; left: calc(var(--pad) * -1); right: calc(var(--pad) * -1); top: 70px; padding: 18px var(--pad) 23px; background: rgba(8,9,10,.97); border-bottom: 1px solid var(--line); }
  .site-nav.open { display: grid; gap: 18px; }
  .site-nav a { font-size: .82rem; }
  .hero { padding-block: 48px 74px; gap: 48px; }
  .hero-copy { display: block; }
  .display { font-size: clamp(3.8rem, 18.5vw, 6.6rem); margin: 27px 0 29px; }
  .frame-caption strong { font-size: clamp(1.4rem, 7vw, 2.4rem); }
  .play-chip { width: 40px; height: 40px; }
  .section-head { grid-template-columns: 1fr; gap: 24px; align-items: start; }
  .section-note { justify-self: start; }
  .filter-bar { align-items: end; }
  .project { grid-column: span 12; }
  .project.wide .project-card, .project-card { aspect-ratio: 16/10; }
  .services-layout, .about-grid { grid-template-columns: 1fr; }
  .services-intro { position: static; }
  .service { grid-template-columns: 42px 1fr; }
  .about-stats { gap: 18px; grid-template-columns: 1fr; }
  .contact-top, .contact-links { align-items: start; flex-direction: column; }
  .email-link { grid-template-columns: 1fr; }
  .email-arrow { grid-row: 1; justify-self: end; }
  .modal-info { align-items: start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .genre-backdrop, .section-parallax-photo, .work-grid .project-card img { transform: none; }
  .section-parallax-photo--camera { transform: scaleX(-1); }
}

/* YouTube-backed portfolio */
.work-grid[hidden] { display: none !important; }
.portfolio-content { position: relative; z-index: 1; padding-bottom: 12px; }
.portfolio-overview { display: flex; align-items: end; justify-content: space-between; gap: 30px; padding: 30px 0 20px; }
.portfolio-overview h3 { margin: 12px 0 0; font-size: clamp(2.1rem, 4vw, 4.6rem); line-height: .98; font-weight: 540; letter-spacing: -.06em; }
.portfolio-overview p { max-width: 350px; margin: 0 0 5px; color: #aaa9a4; line-height: 1.55; }
.portfolio-group { margin-top: clamp(46px, 6vw, 90px); }
.portfolio-group-head { display: flex; justify-content: space-between; align-items: end; gap: 28px; border-top: 1px solid var(--line-strong); padding: 19px 0 24px; }
.portfolio-group-head h3 { margin: 9px 0 0; font-size: clamp(1.7rem, 2.7vw, 3rem); line-height: 1; font-weight: 570; letter-spacing: -.055em; }
.portfolio-group-head p { max-width: 360px; margin: 0; color: var(--muted); font-size: .84rem; }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.3vw, 20px); }
.portfolio-grid--genres { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.portfolio-grid--clips { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.portfolio-item { min-width: 0; transition: transform .4s cubic-bezier(.2,.75,.25,1); }
.portfolio-item:hover { transform: translateY(-6px); }
.portfolio-card { display: block; position: relative; width: 100%; aspect-ratio: 16/10; overflow: hidden; padding: 0; border: 0; background: #111315; color: var(--paper); text-align: left; cursor: pointer; }
.portfolio-item--clip .portfolio-card { aspect-ratio: 4/5; }
.portfolio-card::before { content: ""; position: absolute; z-index: 4; inset: 0 0 auto; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.portfolio-card:hover::before, .portfolio-card:focus-visible::before, .portfolio-card[aria-expanded="true"]::before { transform: scaleX(1); }
.portfolio-card img { width: 100%; height: 100%; object-fit: cover; transform: translate3d(var(--shift-x, 0px), calc(var(--scroll-shift, 0px) + var(--shift-y, 0px)), 0) scale(1.07); filter: saturate(.84) contrast(1.06); transition: transform .4s cubic-bezier(.2,.75,.25,1), filter .35s ease; }
.portfolio-item--clip .portfolio-card img { object-position: center; }
.portfolio-card:hover img, .portfolio-card:focus-visible img, .portfolio-card[aria-expanded="true"] img { transform: translate3d(var(--shift-x, 0px), calc(var(--scroll-shift, 0px) + var(--shift-y, 0px)), 0) scale(1.13); filter: saturate(1.04) contrast(1.04); }
.portfolio-card-shade { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,.36), transparent 35%, rgba(0,0,0,.68)); }
.portfolio-card-index, .portfolio-card-type { position: absolute; z-index: 2; font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; }
.portfolio-card-index { top: 16px; left: 17px; color: #f2f0e9; font-family: monospace; }
.portfolio-card-type { bottom: 16px; left: 17px; right: 65px; color: #eeeae2; }
.portfolio-card .play-chip { position: absolute; z-index: 2; right: 16px; top: 15px; width: 40px; height: 40px; opacity: 0; transform: translateY(-4px); transition: opacity .25s ease, transform .25s ease; }
.portfolio-card:hover .play-chip, .portfolio-card:focus-visible .play-chip, .portfolio-card[aria-expanded="true"] .play-chip { opacity: 1; transform: none; }
.portfolio-item--genre-source .portfolio-card img { transform: translate3d(var(--shift-x, 0px), calc(var(--scroll-shift, 0px) + var(--shift-y, 0px)), 0) scale(1.22); }
.portfolio-item--genre-source .portfolio-card:hover img, .portfolio-item--genre-source .portfolio-card:focus-visible img, .portfolio-item--genre-source .portfolio-card[aria-expanded="true"] img { transform: translate3d(var(--shift-x, 0px), calc(var(--scroll-shift, 0px) + var(--shift-y, 0px)), 0) scale(1.3); }
.portfolio-card .play-chip, .genre-feature-poster .play-chip {
  position: absolute;
  z-index: 3;
  top: auto;
  left: auto;
  right: 16px;
  bottom: 16px;
  width: 44px;
  height: 44px;
  opacity: .78;
  transform: none;
  background: rgba(242,240,233,.84);
  color: var(--ink);
  box-shadow: 0 8px 28px rgba(0,0,0,.28);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, background .25s ease;
}
.portfolio-card:hover .play-chip, .portfolio-card:focus-visible .play-chip, .portfolio-card[aria-expanded="true"] .play-chip,
.genre-feature-poster:hover .play-chip, .genre-feature-poster:focus-visible .play-chip {
  opacity: 1;
  transform: scale(1.09);
  background: var(--paper);
}
.portfolio-grid--genres .play-chip { width: 40px; height: 40px; }
.portfolio-card:focus-visible, .genre-feature-poster:focus-visible, .feature-play-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.portfolio-card-caption { display: flex; justify-content: space-between; align-items: start; gap: 12px; padding: 13px 1px 20px; }
.portfolio-card-caption h4 { margin: 0; font-size: clamp(.91rem, 1.12vw, 1.16rem); line-height: 1.25; font-weight: 590; }
.portfolio-card-caption span { flex: 0 0 auto; padding-top: 2px; color: var(--muted-2); font-size: .59rem; letter-spacing: .13em; text-transform: uppercase; }
.genre-feature { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .7fr); min-height: 410px; border: 1px solid var(--line); background: rgba(8,9,10,.77); backdrop-filter: blur(5px); }
.genre-feature-poster { position: relative; display: block; width: 100%; min-height: 410px; aspect-ratio: 16/9; padding: 0; overflow: hidden; border: 0; background: #101214; color: var(--paper); cursor: pointer; }
.genre-feature-poster img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.92) contrast(1.04); transition: transform .5s ease, filter .5s ease; }
.genre-feature-poster:hover img { transform: scale(1.035); filter: saturate(1.08) contrast(1.04); }
.genre-feature-poster--source img { transform: scale(1.16); }
.genre-feature-poster--source:hover img { transform: scale(1.22); }
.genre-feature-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.36), transparent 45%, rgba(0,0,0,.65)); }
.genre-feature-label { position: absolute; left: 22px; bottom: 20px; font-size: .66rem; letter-spacing: .17em; text-transform: uppercase; }
.genre-feature-poster .play-chip { right: 20px; bottom: 20px; width: 52px; height: 52px; }
.genre-feature-copy { display: flex; flex-direction: column; align-items: start; justify-content: center; padding: clamp(28px, 4vw, 70px); border-left: 1px solid var(--line); }
.genre-feature-copy h3 { margin: 18px 0 22px; font-size: clamp(2.1rem, 3.6vw, 4.5rem); font-weight: 550; line-height: .95; letter-spacing: -.065em; }
.genre-feature-copy p { margin: 0; max-width: 330px; color: #aaa9a4; line-height: 1.55; }
.genre-feature-copy .project-angle, .inline-detail-copy .project-angle { color: #d0cec8; }
.genre-feature-copy .project-angle--quote, .inline-detail-copy .project-angle--quote { margin: 0; max-width: 390px; }
.project-credit { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); }
.project-credit .section-kicker { color: var(--accent-bright); }
.genre-feature-copy .project-credit p, .inline-detail-copy .project-credit p { margin: 8px 0 0; color: var(--muted-2); font-size: .77rem; line-height: 1.5; }
.feature-play-link { margin-top: 35px; padding: 10px 0; border: 0; border-bottom: 1px solid var(--accent); background: none; color: var(--paper); cursor: pointer; font-size: .69rem; letter-spacing: .16em; text-transform: uppercase; }
.feature-play-link span { margin-right: 7px; color: var(--accent); }
.inline-detail { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, .7fr); gap: clamp(24px, 4vw, 66px); margin-top: 12px; padding: clamp(18px, 3vw, 38px); border-top: 2px solid var(--accent); background: rgba(7,8,10,.94); box-shadow: 0 25px 80px rgba(0,0,0,.25); animation: detail-in .34s ease both; }
.portfolio-grid > .inline-detail { grid-column: 1 / -1; margin-top: 0; }
.inline-detail[hidden] { display: none; }
.inline-player { width: 100%; aspect-ratio: 16/9; background: #000; }
.inline-player--vertical { width: min(100%, 380px); aspect-ratio: 9/16; justify-self: center; }
.inline-player iframe, .video-wrap iframe { display: block; width: 100%; height: 100%; border: 0; }
.inline-detail-copy { display: flex; flex-direction: column; align-items: start; justify-content: center; }
.inline-detail-copy h3 { margin: 18px 0 20px; font-size: clamp(2rem, 3vw, 3.6rem); font-weight: 560; line-height: .98; letter-spacing: -.06em; }
.inline-detail-copy p { margin: 0; color: var(--muted); line-height: 1.6; }
.inline-detail-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 25px; margin-top: 36px; }
.inline-detail-actions a, .inline-detail-actions button { padding: 8px 0; border: 0; border-bottom: 1px solid var(--line-strong); background: transparent; color: var(--paper); font-size: .68rem; letter-spacing: .13em; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.inline-detail-actions a:hover, .inline-detail-actions button:hover { border-color: var(--accent); }
@keyframes detail-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

@media (max-width: 1200px) {
  .portfolio-grid--genres, .portfolio-grid--clips { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .genre-feature { grid-template-columns: minmax(0, 1.3fr) minmax(270px, .7fr); }
}
@media (max-width: 850px) {
  .genre-feature { grid-template-columns: 1fr; }
  .genre-feature-poster { min-height: 0; }
  .genre-feature-copy { border-left: 0; border-top: 1px solid var(--line); padding: 28px; }
  .portfolio-grid, .portfolio-grid--genres, .portfolio-grid--clips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inline-detail { grid-template-columns: 1fr; }
  .inline-player--vertical { justify-self: start; }
}
@media (max-width: 560px) {
  .portfolio-overview, .portfolio-group-head { display: block; }
  .portfolio-overview p, .portfolio-group-head p { margin-top: 14px; }
  .portfolio-grid, .portfolio-grid--genres { grid-template-columns: 1fr; }
  .portfolio-grid--clips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portfolio-grid--clips .portfolio-card-caption { display: block; }
  .portfolio-grid--clips .portfolio-card-caption span { display: block; margin-top: 5px; }
  .portfolio-grid--clips .portfolio-card-type { right: 10px; font-size: .52rem; }
  .portfolio-group { margin-top: 52px; }
  .genre-feature-copy h3 { font-size: clamp(2.2rem, 10vw, 3.2rem); }
  .inline-detail { padding: 15px; }
  .inline-player--vertical { justify-self: center; }
}
@media (prefers-reduced-motion: reduce) {
  .portfolio-card img { transform: none; }
  .inline-detail { animation: none; }
}

/* Compact All-view previews and the genre navigation row */
.portfolio-item[hidden] { display: none; }
.portfolio-content > .filter-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
}
.portfolio-content > .filter-bar .filters { grid-column: 2; justify-content: center; }
.portfolio-content > .filter-bar .project-count { grid-column: 3; justify-self: end; }
.portfolio-content[data-view="all"] > .filter-bar {
  margin: clamp(36px, 5vw, 66px) 0 0;
  padding: 22px 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}
.portfolio-content[data-view="genre"] > .filter-bar { margin: 0 0 30px; }
.portfolio-content[data-view="all"] > .filter-bar + .portfolio-group { margin-top: clamp(36px, 4vw, 60px); }
.portfolio-content[data-view="all"] > .filter-bar + .portfolio-group .portfolio-group-head { border-top: 0; padding-top: 0; }
.portfolio-grid--preview { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.show-all-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: min(100%, 340px);
  margin: 28px auto 0;
  padding: 15px 18px;
  border: 1px solid var(--line-strong);
  background: rgba(8,9,10,.76);
  color: var(--paper);
  cursor: pointer;
  font-size: .69rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: border-color .25s ease, background .25s ease;
}
.show-all-button:hover, .show-all-button:focus-visible { border-color: var(--accent); background: rgba(25,19,17,.9); }
.show-all-button small { color: var(--muted-2); font-size: .57rem; letter-spacing: .08em; }
.show-all-arrow { margin-left: auto; color: var(--accent); font-size: 1rem; line-height: 1; transition: transform .25s ease; }
.show-all-button[aria-expanded="true"] .show-all-arrow { transform: rotate(180deg); }
@media (max-width: 1200px) { .portfolio-grid--preview { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 850px) { .portfolio-grid--preview { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .portfolio-content > .filter-bar { display: flex; flex-direction: column; align-items: center; gap: 13px; }
  .portfolio-content > .filter-bar .project-count { align-self: center; }
}
@media (max-width: 560px) {
  .portfolio-grid--preview.portfolio-grid--trailers { grid-template-columns: 1fr; }
  .portfolio-grid--preview.portfolio-grid--clips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portfolio-content[data-view="all"] > .filter-bar { margin-top: 38px; }
  .show-all-button { margin-top: 18px; }
}
