@font-face{font-family:Barlow Condensed;src:url("/assets/barlow-condensed.woff2") format("woff2");font-weight:800;font-display:swap}
@font-face{font-family:DM Sans;src:url("/assets/dm-sans.woff2") format("woff2");font-weight:400 700;font-display:swap}

:root {
  color-scheme: dark;
  --bg: #151513;
  --surface: #1f1f1b;
  --surface-raised: #292923;
  --text: #f6f5ea;
  --muted: #c1c0b1;
  --hairline: #45443b;
  --accent: #daf551;
  --accent-text: #def65d;
  --ink: #181c0a;
  --body: "DM Sans", system-ui, sans-serif;
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f6f4e9;
  --surface: #ece9da;
  --surface-raised: #e3dfcd;
  --text: #23231a;
  --muted: #555448;
  --hairline: #b3ae97;
  --accent-text: #536414;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 400 1rem/1.55 var(--body); color: var(--text); background: var(--bg); }
body:has(dialog[open]) { overflow: hidden; }
[hidden] { display: none !important; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 5px; }
p, h1, h2, h3 { margin: 0; }
main:focus { outline: 0; }
section[id] { scroll-margin-top: 32px; }
.shell { width: min(100% - clamp(2rem, 8vw, 8rem), 82rem); margin-inline: auto; }
.visually-hidden, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position:absolute; z-index:4; top:0.75rem; left:0.75rem; padding:0.65rem 1rem; background:var(--accent); color:var(--ink); border-radius:50rem; }
.eyebrow { font-size: .82rem; font-weight: 700; letter-spacing: .14em; line-height: 1.3; text-transform: uppercase; color: var(--accent-text); }
.accent { color: var(--accent-text); }
.pill { min-height: 3.1rem; width: max-content; max-width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: .7rem; padding: .58rem 1.15rem; font-size: .91rem; line-height: 1.25; font-weight: 700; border: 1px solid var(--hairline); border-radius: 99rem; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.pill:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); transform: translateY(-2px); }

.site-header { border-bottom: 1px solid var(--hairline); }
.header-inner { min-height: 5rem; display: grid; grid-template-columns: 1fr auto auto auto; column-gap: clamp(.75rem, 2vw, 1.75rem); align-items: center; }
.wordmark { width: max-content; font-family: var(--display); font-size: 2.1rem; font-weight: 800; line-height: 1; letter-spacing: -.018em; }
.wordmark span { color: var(--accent-text); }
.primary-nav { display: flex; gap: clamp(1rem, 2.45vw, 2.2rem); align-items: center; }
.primary-nav a { min-height: 2.75rem; display: inline-flex; align-items: center; color: var(--muted); font-size: .94rem; font-weight: 600; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--text); text-decoration: underline; text-underline-offset: .35em; }
.theme-toggle, .mobile-menu { min-height: 2.75rem; display: inline-grid; place-items: center; border: 1px solid var(--hairline); background: transparent; border-radius: 99rem; }
.theme-toggle:hover, .mobile-menu:hover { background: var(--surface-raised); }
.theme-toggle { width: 2.75rem; }
.theme-icon { display: block; width: 1.05rem; height: 1.05rem; border: 1.5px solid currentColor; border-radius: 100%; background: linear-gradient(130deg, currentColor 50%, transparent 50%); color: var(--text); }
[data-theme="light"] .theme-icon { transform: rotate(180deg); }
.header-cta { min-height: 2.75rem; background: var(--accent); color: var(--ink); border-color: var(--accent); }
.header-cta:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.mobile-menu { padding: .65rem .9rem; font-size: .88rem; font-weight: 700; }

.hero { padding-top: clamp(2.6rem, 5.25vw, 5.75rem); }
.hero-kicker { display: flex; flex-wrap: wrap; gap: .65rem; align-items: center; color: var(--muted); }
.status-dot, .mini-dot { width: .48rem; height: .48rem; border-radius: 50%; background: var(--accent-text); flex: 0 0 auto; }
.kicker-divider { height: 1px; width: 1.6rem; background: var(--hairline); }
.hero-line { display: grid; grid-template-columns: minmax(0, 1fr) minmax(13.2rem, 22rem); gap: 2rem; align-items: end; margin: 1.35rem 0 clamp(1.6rem, 3.1vw, 3rem); }
.hero h1, .page-intro h1 { font-family: var(--display); font-size: clamp(5.65rem, 12.7vw, 12.9rem); font-weight: 800; line-height: .76; letter-spacing: -.025em; }
.hero h1 > span { display: block; }
.hero h1 > span + span { margin-top: .065em; }
.hero-first { color: var(--text); animation: enter-text .7s both cubic-bezier(.18,.85,.35,1); }
.hero-second { color: var(--accent-text); animation: enter-text .85s .1s both cubic-bezier(.18,.85,.35,1); }
.hero-second .accent { color: inherit; }
.hero-aside { padding-bottom: .12rem; animation: enter-text .8s .22s both cubic-bezier(.18,.85,.35,1); }
.hero-aside p { max-width: 21ch; font-size: clamp(1.15rem, 2.05vw, 1.7rem); font-weight: 500; line-height: 1.34; margin-bottom: 1.35rem; }
.hero-work { color: var(--text); }
@keyframes enter-text { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-film { display: block; position: relative; min-height: 15rem; aspect-ratio: 2.65; overflow: clip; isolation: isolate; border-radius: clamp(1.1rem, 2.3vw, 2.1rem); background: var(--surface); color: #fffef2; }
.hero-film img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 51%; transition: scale .8s cubic-bezier(.22,.65,.3,1); }
.hero-film:hover img, .card-link:hover img { scale: 1.035; }
.frame-shade { position: absolute; inset: 0; background: linear-gradient(180deg, #15181162, transparent 35%, transparent 54%, #13170f77); pointer-events: none; }
.frame-label, .film-caption { position: absolute; top: 1.2rem; left: 1.2rem; display: inline-flex; align-items: center; gap: .55rem; border: 1px solid #efefef66; border-radius: 99rem; padding: .54rem .88rem; background: #202019c7; font-size: .82rem; font-weight: 600; }
.mini-dot { background: var(--accent); width: .4rem; height: .4rem; }
.film-caption { top: auto; left: auto; bottom: 1.2rem; right: 1.2rem; }
.play { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%,-50%); display: grid; place-items: center; width: clamp(3.8rem, 7vw, 6.1rem); aspect-ratio: 1; border-radius: 50%; background: var(--accent); color: var(--ink); box-shadow: 0 0 0 9px #f5ffce35; transition: scale .22s, box-shadow .22s; }
.play::before { content: ""; width: 0; height: 0; margin-left: .17em; border-left: .8em solid currentColor; border-top: .48em solid transparent; border-bottom: .48em solid transparent; }
.hero-film:hover .play, .card-link:hover .play { scale: 1.08; box-shadow: 0 0 0 13px #f5ffce35; }
.film-credit { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .3rem 1rem; margin-top: .8rem; color: var(--muted); font-size: .84rem; }

.work-section, .work-index, .archive-section { padding-block: clamp(4rem, 8vw, 9rem); }
.section-head { display: flex; gap: 1.5rem; justify-content: space-between; align-items: end; margin-bottom: clamp(1.7rem, 4vw, 3.1rem); }
.section-head h2, .about-teaser h2, .contact-panel h2 { margin-top: .28em; font: 800 clamp(3.6rem, 8.3vw, 8rem)/.85 var(--display); letter-spacing: -.014em; }
.subhead { display: flex; gap: .8rem 1.2rem; justify-content: space-between; align-items: baseline; flex-wrap: wrap; margin-bottom: .95rem; }
.subhead h2, .subhead h3 { font-size: clamp(1.25rem, 2vw, 1.7rem); font-weight: 650; letter-spacing: -.025em; }
.work-grid + .subhead, .work-index section + section { margin-top: clamp(3rem, 5vw, 5rem); }
.text-link, .breadcrumb { color: var(--muted); font-size: .9rem; font-weight: 650; text-decoration: underline; text-underline-offset: .4em; }
.text-link:hover, .breadcrumb:hover { color: var(--accent-text); }
.work-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(.75rem,1.65vw,1.55rem); row-gap: clamp(1.8rem,3vw,3.4rem); }
.still-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.work-card { min-width: 0; }
.card-link { display: block; border-radius: 1rem; }
.card-art { display: grid; place-items: center; overflow: clip; position: relative; aspect-ratio: 1.34; border-radius: clamp(.75rem,1.3vw,1.25rem); background: var(--surface-raised); }
.card-art img { width: 100%; height: 100%; object-fit: cover; transition: scale .5s cubic-bezier(.22,.65,.3,1); }
.film-card .card-art { aspect-ratio: 1.62; }
.still-card .card-art { aspect-ratio: .9; }
.still-card .card-art img { object-position: center; }
.card-placeholder { color: var(--muted); }
.detail-icon { position: absolute; top: .62rem; right: .62rem; display: grid; place-items: center; font-size: 1.05rem; line-height: 1; width: 2.3rem; height: 2.3rem; border-radius: 50%; color: #fdfcf1; background: #1a1a15d9; border: 1px solid #e9e5cd68; }
.play-small { width: 2.7rem; box-shadow: 0 0 0 5px #f5ffce30; font-size: .7rem; }
.card-text { padding: .7rem .12rem 0; }
.card-text h3 { font-size: clamp(1rem, 1.5vw, 1.18rem); font-weight: 650; line-height: 1.28; overflow-wrap: anywhere; }
.card-text p { margin-top: .2rem; color: var(--muted); font-size: .88rem; }

.services-section { padding-block: clamp(3.6rem, 7vw, 7.25rem); background: var(--surface); }
.services-list { border-top: 1px solid var(--hairline); }
.services-list details { border-bottom: 1px solid var(--hairline); }
.services-list summary { min-height: 4.4rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem .3rem; cursor: pointer; list-style: none; }
.services-list summary::-webkit-details-marker { display: none; }
.services-list summary h3 { font: 800 clamp(2.25rem,5vw,4.3rem)/.95 var(--display); letter-spacing: -.014em; }
.details-toggle { position: relative; display: grid; place-items: center; width: 2.6rem; flex: 0 0 auto; aspect-ratio: 1; border: 1px solid var(--hairline); border-radius: 50%; }
.details-toggle::before, .details-toggle::after { content: ""; position: absolute; width: .78rem; height: 1px; background: currentColor; }
.details-toggle::after { rotate: 90deg; }
details[open] .details-toggle { background: var(--accent); border-color: var(--accent); color: var(--ink); }
details[open] .details-toggle::after { transform: scaleX(0); }
.service-detail { padding: .2rem .3rem 1.5rem; display: grid; grid-template-columns: 2fr 3fr; gap: 1.1rem; }
.service-detail p { max-width: 40ch; color: var(--muted); }
.service-detail ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; align-items: start; gap: .5rem; }
.service-detail li { border: 1px solid var(--hairline); border-radius: 99rem; padding: .32rem .66rem; font-size: .87rem; }

.about-teaser, .about-page { display: grid; grid-template-columns: minmax(0, .91fr) minmax(0, 1.2fr); align-items: center; gap: clamp(1.8rem, 8vw, 8rem); padding-block: clamp(4rem, 8vw, 8.5rem); }
.about-page { padding-top: 0; align-items: start; }
.about-image { border-radius: clamp(1.2rem,2.5vw,2rem); overflow: hidden; aspect-ratio: 1.04; background: var(--surface); }
.about-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 37%; }
.about-copy p:not(.eyebrow), .page-intro > p:not(.eyebrow), .section-copy { margin-top: 1.15rem; max-width: 54ch; font-size: clamp(1rem,1.6vw,1.2rem); color: var(--muted); }
.about-copy .pill { margin-top: 1.5rem; }
.about-page .about-copy h2 { font: 800 clamp(2.5rem,5vw,4.5rem)/.98 var(--display); }
.contact-section { padding-bottom: clamp(3rem, 7vw, 6rem); }
.contact-panel { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(0,1fr); gap: clamp(1.1rem,4vw,3rem); align-items: end; background: var(--accent); color: var(--ink); border-radius: clamp(1.2rem,3vw,2.7rem); padding: clamp(1.6rem,5.65vw,5.75rem); }
.contact-panel .eyebrow { color: var(--ink); }
.contact-panel h2 { font-size: clamp(3rem,7.25vw,7.75rem); margin-top: .18em; }
.contact-panel p:not(.eyebrow) { max-width: 28ch; font-weight: 600; }
.contact-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.2rem 0 .65rem; }
.contact-panel a:focus-visible { outline-color: var(--ink); }
.inverse { background: var(--ink); color: var(--accent); border-color: var(--ink); }
.contact-outline { border-color: #3d4b0f; color: var(--ink); }
.contact-actions .pill:hover { border-color: var(--ink); background: #2d3711; color: #f1ffc1; }
.contact-email { font-size: .9rem; font-weight: 600; text-decoration: underline; text-underline-offset: .3em; overflow-wrap: anywhere; }
.site-footer { border-top: 1px solid var(--hairline); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.35rem 2rem; padding-block: 1.75rem; }
.footer-inner p { color: var(--muted); margin-top: .4rem; font-size: .86rem; }
.footer-inner nav { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem 1.15rem; }
.footer-inner nav a, .to-top { color: var(--muted); font-size: .9rem; font-weight: 600; }
.footer-inner nav a:hover, .to-top:hover { color: var(--accent-text); text-decoration: underline; text-underline-offset: .3em; }

.page-intro { padding-block: clamp(3.5rem, 7vw, 7rem) clamp(2rem, 5vw, 4.5rem); }
.page-intro h1 { margin-top: .17em; font-size: clamp(4rem,10.9vw,10rem); line-height: .83; overflow-wrap: anywhere; }
.page-intro .pill { margin-top: 1.5rem; }
.archive-tabs, .filter-list { display: flex; flex-wrap: wrap; gap: .65rem; }
.archive-tabs .pill { margin-top: .65rem; }
.archive-tabs { margin-top: .75rem; }
.archive-section, .work-index { padding-top: 0; }
.filter-list { padding-bottom: 1.45rem; }
.filter-list button { min-height: 2.7rem; padding: .35rem .9rem; font-size: .88rem; font-weight: 650; border: 1px solid var(--hairline); border-radius: 99rem; background: transparent; }
.filter-list button:hover { background: var(--surface-raised); }
.filter-list button[aria-pressed="true"] { background: var(--accent); color: var(--ink); border-color: var(--accent); }

.media-dialog { width: min(62rem, calc(100vw - 1.4rem)); max-height: min(92vh, 92dvh); padding: 0; border: 1px solid var(--hairline); border-radius: 1.25rem; background: var(--surface); color: var(--text); box-shadow: 0 1rem 5rem #0009; }
.media-dialog::backdrop { background: #11110fdc; }
.dialog-bar, .dialog-footer { display: flex; gap: 1rem; align-items: center; justify-content: space-between; padding: .68rem 1rem; }
.dialog-bar h2 { font-size: clamp(1rem,2vw,1.3rem); line-height: 1.2; }
.close-dialog { border: 1px solid var(--hairline); border-radius: 50%; background: transparent; width: 2.75rem; height: 2.75rem; font-size: 1.5rem; }
.close-dialog:hover { background: var(--surface-raised); }
.dialog-body { background: #171713; }
.dialog-body img { max-height: 67vh; width: 100%; object-fit: contain; }
.dialog-body iframe, .dialog-body video { display: block; width: 100%; max-height: 67vh; aspect-ratio: 16/9; border: 0; }
.dialog-footer:empty { display: none; }
.dialog-footer a { color: var(--muted); text-decoration: underline; text-underline-offset: .3em; font-size: .9rem; }
.reveal.is-visible { animation: enter-text .65s both cubic-bezier(.18,.85,.35,1); }

@media (max-width: 62rem) {
  .hero-line { grid-template-columns: minmax(0,1fr) minmax(12rem,19rem); gap: 1rem; }
  .hero h1 { font-size: clamp(5.25rem,13vw,9rem); }
}
@media (max-width: 46rem) {
  .header-inner { grid-template-columns: 1fr auto auto; min-height: 4.2rem; gap: .55rem; padding-block: .5rem; }
  .wordmark { font-size: 1.86rem; }
  .primary-nav { grid-row: 2; grid-column: 1/-1; justify-content: space-between; max-width: 22rem; gap: .8rem; }
  .header-cta { display: none; }
  .hero-line { grid-template-columns: 1fr; gap: 1.35rem; }
  .hero h1 { font-size: clamp(4.1rem,16vw,7.5rem); }
  .hero-aside p { max-width: 35ch; margin-bottom: .85rem; }
  .hero-film { aspect-ratio: 1.75; }
  .work-grid, .still-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .service-detail, .contact-panel { grid-template-columns: 1fr; }
  .about-teaser, .about-page { grid-template-columns: 1fr; }
  .about-image { max-width: 26rem; }
  .section-head { flex-wrap: wrap; align-items: start; }
}
@media (min-width: 46.001rem) {
  .header-inner .mobile-menu { display: none; }
}
@media (max-width: 25rem) {
  .hero h1 { font-size: clamp(3.45rem,15.9vw,4.15rem); }
  .hero-film { min-height: 12rem; }
  .frame-label { top: .7rem; left: .7rem; }
  .film-caption { bottom: .7rem; right: .7rem; }
  .contact-panel h2 { font-size: clamp(2.6rem,13vw,3.5rem); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; }
}
