:root {
  color-scheme: dark;
  --background: #0e1724;
  --band: #12202d;
  --panel: #172a38;
  --line: #3b5263;
  --text: #f5f7fa;
  --muted: #c5d2db;
  --accent: #53d8e0;
  --ink: #09262b;
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.55;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--background); color: var(--text); }
img, video { display: block; max-width: 100%; }
a { color: var(--accent); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: .15em; }
:focus-visible { outline: 3px solid #ffd89c; outline-offset: 4px; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2 { line-height: 1.05; letter-spacing: -.048em; }
h1 { font-size: clamp(3.2rem, 9vw, 6.6rem); }
h2 { font-size: clamp(2.1rem, 5.4vw, 3.65rem); }
h3 { font-size: 1.18rem; line-height: 1.27; }
h4 { font-size: 1.35rem; line-height: 1.2; }
p, dd, address { overflow-wrap: anywhere; }
p { color: var(--muted); }
main section { scroll-margin-top: 1.5rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.frame { width: min(100% - 2.5rem, 72rem); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); }
.header-row, .footer-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; }
.brand { display: inline-flex; gap: .75rem; align-items: center; min-width: 0; color: var(--text); font-weight: 700; line-height: 1.2; text-decoration: none; }
.brand img { border: 1px solid var(--line); border-radius: .35rem; flex: none; }
.brand small { display: block; margin-top: .2rem; color: var(--muted); font-size: .72rem; font-weight: 500; }
nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(.75rem, 2.2vw, 1.65rem); }
nav a { color: var(--text); font-size: .88rem; font-weight: 650; text-decoration: none; }
nav [aria-current] { text-decoration: underline; text-decoration-thickness: .14em; }
.menu-toggle { display: none !important; }
.skip-link { position: absolute; inset: .5rem auto auto .5rem; z-index: 4; background: var(--accent); color: var(--ink); padding: .65rem 1rem; transform: translateY(-200%); }
.skip-link:focus { transform: none; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: .55rem .9rem; border: 1px solid transparent; border-radius: .3rem; font: inherit; font-weight: 700; line-height: 1.25; text-decoration: none; text-align: center; cursor: pointer; overflow-wrap: anywhere; }
.button.primary { background: var(--accent); color: var(--ink); }
.button.primary:hover { background: #ffd594; }
.button.secondary { background: var(--panel); border-color: var(--line); color: var(--text); }
.button.secondary:hover { background: #303b43; }
.button.text-button { background: transparent; color: var(--accent); }
.button.text-button:hover { text-decoration: underline; }
.button.compact { font-size: .83rem; }
.button:disabled { cursor: wait; opacity: .72; }
.actions, .quick-contact { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1rem; }
.eyebrow { color: var(--accent); font-size: .78rem; letter-spacing: .1em; font-weight: 750; text-transform: uppercase; margin-bottom: .65rem; }

.hero { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: center; column-gap: clamp(1.5rem, 5vw, 4.25rem); padding-block: clamp(2.5rem, 7vw, 6.25rem) 2.25rem; }
.hero-role { margin-top: .65rem; font-size: clamp(1.28rem, 3vw, 2rem); line-height: 1.25; font-weight: 700; color: var(--text); }
.hero-intro { max-width: 39ch; margin-block: 1rem 1.35rem; font-size: 1.08rem; }
.quick-contact { margin-top: 1rem; font-size: .9rem; }
.logo-stage { margin: 0; min-width: 0; background: #090d11; border: 1px solid var(--line); border-radius: .45rem; overflow: clip; }
.logo-stage video { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; }
.logo-stage figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .35rem; padding: .5rem .8rem; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.credential-strip { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 2.5rem 0 0; padding: 1px; list-style: none; background: var(--line); border-radius: .35rem; }
.credential-strip li { display: grid; align-content: start; gap: .15rem; padding: .9rem; background: var(--background); min-width: 0; }
.credential-strip span { color: var(--muted); font-size: .83rem; }

.band { background: var(--band); border-block: 1px solid var(--line); }
.section-layout, .section-block { padding-block: clamp(2.5rem, 6vw, 5.25rem); }
.section-layout { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.72fr); gap: 1.75rem clamp(1.5rem, 5vw, 5rem); }
.section-layout h2 + p, .section-heading h2 + p { margin-top: .9rem; }
.section-heading { max-width: 45rem; margin-bottom: 1.6rem; }

.discipline-grid, .resume-grid, .verification-grid, .archive-sections, .video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; margin: 0; }
.discipline-grid > div, .document-card, .archive-section, .video-item, form { border: 1px solid var(--line); border-radius: .35rem; background: var(--panel); padding: clamp(.8rem, 2vw, 1.25rem); min-width: 0; }
.discipline-grid dt { font-weight: 750; }
.discipline-grid dd { margin: .3rem 0 0; color: var(--muted); font-size: .93rem; }
.experience { min-width: 0; }
.group-heading { margin-bottom: .5rem; color: var(--accent); }
.group-heading:not(:first-child) { margin-top: 1.75rem; }
.work-entry { border-top: 1px solid var(--line); padding-block: 1.2rem; }
.work-entry h4 + *, .work-entry p + p { margin-top: .55rem; }
.work-entry ul { margin-block: .65rem 0; padding-left: 1.3rem; color: var(--muted); }
.work-entry li + li { margin-top: .4rem; }
.work-entry strong { color: var(--text); }

.resume-grid, .verification-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.verification-grid { margin-top: .9rem; }
.document-card { display: flex; flex-direction: column; gap: .55rem; }
.document-card .actions, .document-card > a { margin-top: auto; align-self: start; }
.resume-grid .document-card .actions { gap: .4rem; }

.archive-sections { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.archive-section { padding: 0; overflow: clip; }
.archive-section img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; background: #0e1724; }
.archive-section img.logo-cover { object-fit: contain; }
.archive-section h3 { padding: .85rem .85rem 0; }
.archive-section ul { display: grid; gap: .15rem; margin: .45rem 0; padding: 0 .6rem .4rem; list-style: none; }
.archive-section button { width: 100%; text-align: left; justify-content: flex-start; border-color: transparent; font-size: .9rem; }
.archive-section button[aria-pressed="true"] { background: var(--accent); color: var(--ink); }
.portfolio-results { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.portfolio-results h3 { font-size: 1.5rem; }
.gallery-tools { display: flex; flex-wrap: wrap; align-items: end; gap: .75rem; margin-block: 1rem; }
.gallery-tools label { flex: 1 1 14rem; max-width: 30rem; }
.gallery-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 9rem), 1fr)); gap: .65rem; }
.gallery-grid button { display: block; padding: 0; background: #0e1724; border: 1px solid var(--line); border-radius: .25rem; cursor: zoom-in; overflow: clip; width: 100%; }
.gallery-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.video-grid { margin-block: 1rem; }
.video-item { display: grid; align-content: start; gap: .6rem; }
.video-item video { width: 100%; background: #080a0b; aspect-ratio: 16 / 9; }
.music-list { color: var(--muted); padding-left: 1.3rem; }
.lightbox-image { margin-inline: auto; max-height: min(67vh, 52rem); width: auto; height: auto; object-fit: contain; }
.lightbox-caption { margin-block: .7rem; text-align: center; }
.lightbox-actions { justify-content: center; }

address { margin-top: 1.15rem; color: var(--muted); font-style: normal; }
address .actions { margin-block: .65rem; }
.email { overflow-wrap: anywhere; }
.form-grid, .check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
form, label { display: grid; align-content: start; gap: .45rem; }
form { gap: 1rem; }
form [type="submit"] { justify-self: start; }
label { min-width: 0; font-weight: 600; }
input, select, textarea { display: block; width: 100%; min-width: 0; min-height: 2.75rem; padding: .55rem .7rem; color: var(--text); background: var(--background); border: 1px solid #626f78; border-radius: .3rem; font: inherit; font-weight: 400; }
textarea { resize: vertical; }
.full-width { grid-column: 1 / -1; }
fieldset { min-width: 0; margin: 0; padding: .7rem; border: 1px solid var(--line); border-radius: .3rem; }
legend { padding-inline: .35rem; font-weight: 700; }
fieldset p { margin-bottom: .35rem; }
.check-grid { gap: .1rem .5rem; }
.check-grid label { min-height: 2.75rem; display: flex; align-items: center; gap: .5rem; }
input[type=checkbox] { accent-color: var(--accent); width: 1.15rem; min-height: 1.15rem; flex: none; }
.form-status:empty, #portfolio-status:empty { display: none; }

dialog { width: min(100% - 1rem, 64rem); max-height: 92dvh; padding: 0; background: var(--panel); color: var(--text); border: 1px solid #626f78; border-radius: .45rem; }
dialog::backdrop { background: rgb(0 0 0 / .79); }
.dialog-header { display: flex; justify-content: space-between; align-items: center; gap: .65rem; padding: .7rem .85rem; border-bottom: 1px solid var(--line); }
.dialog-header h2 { font-size: clamp(1.2rem, 3.5vw, 1.65rem); letter-spacing: -.02em; overflow-wrap: anywhere; }
.dialog-content { padding: .85rem; }
.pdf-preview { display: block; width: 100%; height: min(61dvh, 45rem); margin-top: .65rem; border: 1px solid var(--line); background: var(--background); }
.site-footer { color: var(--muted); font-size: .88rem; }

@media (max-width: 55rem) {
  .archive-sections { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .header-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .55rem; padding-block: .6rem; }
  .js .menu-toggle { display: inline-flex !important; }
  nav { grid-column: 1 / -1; display: grid; justify-content: stretch; gap: .1rem; }
  nav a { padding: .55rem 0; }
  nav .button { justify-self: start; }
  .js nav:not(.is-open) { display: none; }
}

@media (max-width: 42rem) {
  .frame { width: min(100% - 1.5rem, 72rem); }
  .hero, .section-layout { grid-template-columns: minmax(0, 1fr); gap: 1.4rem; }
  .credential-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; }
  .resume-grid, .verification-grid, .video-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 25rem) {
  .discipline-grid, .form-grid, .check-grid, .archive-sections { grid-template-columns: minmax(0, 1fr); }
  .footer-row { flex-wrap: wrap; padding-block: .7rem; }
}

/* Background frames sit below the page. Open gaps pass pointer events to the active tiles. */
:root { --graphite-glass: rgba(12, 23, 35, 0.86); }
body { isolation: isolate; }
.site-header, main, .site-footer { position: relative; z-index: 1; }
.site-header, .site-footer {
  background: rgba(15, 17, 21, .94);
  backdrop-filter: blur(5px);
}
.site-footer { padding-bottom: 3.75rem; }
.skip-link { z-index: 3; }
main { pointer-events: none; }
main :is(a, button, input, select, textarea),
main :is(.hero-copy, .logo-stage, .credential-strip li, .section-layout > div:first-child,
  .section-heading, .work-entry, .group-heading, .discipline-grid > div, .document-card,
  .press-highlight, .archive-section, .portfolio-results, form, .video-item, .portfolio-tabs) {
  pointer-events: auto;
}
.band, .credential-strip { background: transparent; border-color: transparent; }
main :is(.hero-copy, .credential-strip li, .section-layout > div:first-child, .section-heading,
  .work-entry, .group-heading, .discipline-grid > div, .document-card, .press-highlight, .archive-section,
  .portfolio-results, form, .video-item, .portfolio-tabs) {
  background: var(--graphite-glass);
  backdrop-filter: blur(5px);
  border: 1px solid var(--line);
  border-radius: .45rem;
}
main :is(.hero-copy, .section-layout > div:first-child, .section-heading, .portfolio-results, .press-highlight) {
  padding: clamp(1rem, 2.5vw, 1.6rem);
}
.section-layout > div:first-child { align-self: start; }
.credential-strip { gap: .45rem; padding: 0; }
.work-entry { padding: 1.2rem; }
.work-entry + .work-entry { margin-top: .7rem; }
.group-heading { padding: .75rem 1rem; }
.showcase-break { height: clamp(7rem, 23svh, 18rem); }
.background-show[hidden] + .background-inspect[hidden] { display: none; }

.background-show, .background-frame { position: fixed; inset: 0; overflow: hidden; }
.background-show { z-index: 0; background: #0e1724; }
.background-frame { display: grid; gap: 3px; background: #0e1724; }
.background-frame.is-outgoing { pointer-events: none; }
.background-tile { position: relative; display: block; min-width: 0; min-height: 0; padding: 0; border: 0; overflow: hidden; background: #0e1724; cursor: zoom-in; }
.background-tile img { width: 100%; height: 100%; object-fit: cover; }
.background-tile:focus-visible { outline: none; }
.background-tile::after { position: absolute; inset: 0; content: ''; pointer-events: none; }
.background-tile:focus-visible::after, .background-tile:hover::after { box-shadow: inset 0 0 0 3px var(--accent); }
.background-frame.ken-burns.background-collage {
  grid-template: minmax(0,1fr) minmax(0,1fr) / minmax(0,2fr) minmax(0,1fr);
}
.ken-burns.background-collage .background-tile:first-child { grid-row: span 2; }
.background-frame.stage-wipe.background-collage {
  grid-template: minmax(0,2fr) minmax(0,1fr) / minmax(0,1.2fr) minmax(0,1fr) minmax(0,.8fr);
}
.stage-wipe.background-collage .background-tile:first-child { grid-column: 1 / -1; }
.background-frame.documentary.background-collage { grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: repeat(2,minmax(0,1fr)); }
.background-frame.spotlight.background-collage {
  grid-template: minmax(0,1fr) minmax(0,1fr) / minmax(0,1fr) minmax(0,2fr) minmax(0,1fr);
}
.spotlight.background-collage .background-tile:first-child { grid-area: 1 / 2 / 3 / 3; }
.background-frame.is-entering { animation-duration: var(--transition-time); animation-fill-mode: both; }
.background-frame.is-entering.ken-burns, .background-frame.is-entering.documentary { animation-name: background-dissolve; }
.background-frame.is-entering.stage-wipe { animation-name: background-stage-wipe; }
.background-frame.is-entering.spotlight { animation-name: background-spotlight; }
.background-frame.ken-burns .background-tile img { animation: background-zoom var(--hold-time) linear both; }
.background-frame.documentary .background-tile img { animation: background-pan var(--hold-time) linear both; }
.background-show.is-paused .background-tile img { animation-play-state: paused; }
@keyframes background-dissolve { from { opacity: 0; } to { opacity: 1; } }
@keyframes background-stage-wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
@keyframes background-spotlight { from { clip-path: inset(50% 0); opacity: .72; } to { clip-path: inset(0); opacity: 1; } }
@keyframes background-zoom { from { transform: scale(1); } to { transform: scale(1.045); } }
@keyframes background-pan { from { transform: scale(1.055) translateX(-1.4%); } to { transform: scale(1.055) translateX(1.4%); } }

.background-inspect {
  position: fixed;
  inset: auto max(.5rem,env(safe-area-inset-right)) max(.5rem,env(safe-area-inset-bottom)) auto;
  z-index: 2;
  display: flex; align-items: center; gap: .2rem;
  max-width: calc(100% - 1rem); padding: .2rem;
  border: 1px solid #697681; border-radius: 2rem;
  background: rgba(15, 17, 21, .96); color: var(--text);
  font-size: .78rem; font-weight: 700;
}
.background-inspect span { padding-inline: .57rem .35rem; }
.background-inspect button {
  min-height: 2.75rem; border: 0; border-radius: 2rem; padding: .35rem .63rem;
  background: #303a41; color: var(--text); font: inherit; cursor: pointer;
}
.background-inspect button:hover { background: #464f58; }

.portfolio-tabs { display: inline-flex; padding: .26rem; gap: .25rem; margin-bottom: .9rem; }
.portfolio-tabs button {
  min-height: 2.75rem; padding: .45rem .88rem; border: 1px solid transparent; border-radius: .25rem;
  background: transparent; color: var(--text); font: inherit; font-weight: 700; cursor: pointer;
}
.portfolio-tabs [aria-selected="true"] { background: var(--accent); color: var(--ink); }
.portfolio-tabs button[aria-selected="false"]:hover { background: var(--panel); }
.press-highlight { margin-bottom: 1rem; }
.press-highlight p { margin-block: .35rem .7rem; }
.press-pages { display: flex; flex-wrap: wrap; gap: .65rem; }
.archive-cover, .subgrid-preview, .photo-trigger { display: block; position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.archive-cover img, .subgrid-preview img, .gallery-grid .photo-trigger img {
  width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: center 20%;
}
.archive-cover img.logo-cover { object-fit: contain; object-position: center; }
.archive-section ul { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .35rem; margin-block: .5rem; }
.archive-section button { display: flex; flex-direction: column; align-items: stretch; justify-content: start; gap: .35rem; padding: .3rem; min-height: 2.75rem; font-size: .76rem; }
.subgrid-preview { width: 100%; border-radius: .22rem; }
.external-video { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; overflow: hidden; background: #080a0b; }
.external-video :is(img, iframe) { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.external-video img { opacity: .65; }
.external-video button { position: relative; }
.video-item video { object-fit: contain; }

dialog.media-lightbox[open] {
  inset: 0; margin: 0; width: 100%; max-width: none; height: 100%; max-height: none;
  padding: 0; border: 0; border-radius: 0; display: flex; flex-direction: column;
}
.media-lightbox .dialog-header { flex: none; }
.media-lightbox .dialog-header h2 { font-size: clamp(1rem,2.6vw,1.5rem); line-height: 1.25; min-width: 0; }
.media-lightbox .dialog-content { flex: 1; min-height: 0; padding: 0; display: flex; flex-direction: column; }
.photo-lightbox { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.photo-actions { gap: .3rem .55rem; padding: .4rem max(.7rem, env(safe-area-inset-right)) .4rem max(.7rem, env(safe-area-inset-left)); }
.photo-actions .button { font-size: .83rem; }
.photo-caption { padding: .35rem .75rem .6rem; font-size: .9rem; white-space: pre-line; max-height: 23dvh; overflow: auto; }
.photo-viewport {
  flex: 1; display: grid; place-items: center; min-height: 0; padding-bottom: env(safe-area-inset-bottom);
  background: #080a0b; overflow: hidden;
}
.photo-viewport > img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.photo-viewport.press-viewport { display: block; place-items: normal; text-align: left; overflow: auto; overflow-anchor: none; overscroll-behavior: contain; }
.press-page {
  display: block; border: 0; padding: 0; background: #f4f2ed; width: 100%;
  cursor: zoom-in; color: #12202d;
}
.press-page img { width: 100%; height: auto; max-width: none; }
.press-viewport.is-zoomed .press-page { width: 200%; cursor: zoom-out; }

@media (max-width: 42rem) {
  .background-frame.ken-burns.background-collage {
    grid-template: minmax(0,2fr) minmax(0,1fr) / repeat(2,minmax(0,1fr));
  }
  .ken-burns.background-collage .background-tile:first-child { grid-column: 1 / -1; grid-row: 1; }
  .background-frame.spotlight.background-collage {
    grid-template: minmax(0,1fr) minmax(0,2fr) minmax(0,1fr) / repeat(2,minmax(0,1fr));
  }
  .spotlight.background-collage .background-tile:first-child { grid-area: 2 / 1 / 3 / 3; }
  .showcase-break { height: max(8rem, 24svh); }
}
@media (prefers-reduced-motion: reduce) {
  .background-frame.is-entering, .background-frame .background-tile img { animation: none; }
}

.about-feature, .composition-card {
  pointer-events: auto;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: .45rem;
  background: var(--graphite-glass);
  backdrop-filter: blur(5px);
}
.about-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
  margin: 0;
  overflow: hidden;
}
.about-feature img {
  display: block;
  width: 100%;
  height: auto;
}
.about-feature a { cursor: zoom-in; }
.about-feature figcaption { padding: clamp(1rem, 4vw, 2.4rem); }
.about-feature figcaption p { margin-top: .65rem; }
.composition-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.composition-card { padding: clamp(.9rem, 2.5vw, 1.5rem); }
.composition-heading { display: flex; align-items: center; gap: clamp(.65rem, 2vw, 1.25rem); margin-bottom: 1.15rem; }
.composition-heading img {
  width: clamp(4.5rem, 11vw, 8rem);
  flex: none;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #13191e;
  border: 1px solid var(--line);
  border-radius: .35rem;
}
.composition-heading p { margin-top: .3rem; }
.imdb-badge {
  display: inline-block;
  padding: .13em .48em;
  border-radius: .22rem;
  background: #f5c518;
  color: #191501;
  font-weight: 900;
  font-size: .9em;
  letter-spacing: -.025em;
  line-height: 1.45;
  text-decoration: none;
}
.imdb-badge:hover { text-decoration: underline; }
.composition-heading .imdb-badge { margin-top: .55rem; }
.music-player {
  padding: .8rem;
  border: 1px solid var(--line);
  border-radius: .4rem;
  background: rgba(24, 30, 35, .78);
}
.music-current { margin: 0 0 .6rem; color: var(--text); font-weight: 700; }
.music-controls { display: flex; flex-wrap: wrap; gap: .45rem; }
.music-controls .button { min-height: 2.75rem; }
.music-controls .button:disabled { opacity: .45; cursor: default; }
.music-timeline {
  display: grid; grid-template-columns: 3em minmax(0, 1fr) 3em; align-items: center; gap: .45rem;
  margin-block: .65rem; font-size: .78rem; color: var(--muted); font-variant-numeric: tabular-nums;
}
.music-timeline > span:last-child { text-align: right; }
.music-player input[type=range] {
  width: 100%; min-width: 0; min-height: 2.75rem;
  padding: 0; border: 0; background: transparent; accent-color: var(--accent);
}
.music-status:not(:empty) { margin-block: .55rem; }
.music-tracklist { margin: 0; padding: 0 0 0 1.55rem; color: var(--muted); }
.music-tracklist li { padding: .22rem .1rem; border-top: 1px solid var(--line); }
.music-track-button {
  width: 100%; min-height: 2.65rem; padding: .35rem .5rem;
  font: inherit; line-height: 1.35; text-align: left; color: var(--text);
  background: transparent; border: 0; border-radius: .25rem; cursor: pointer;
}
.music-track-button:hover { background: #333e46; }
.music-track-button[aria-current=true] {
  background: rgba(245, 194, 110, .14); color: var(--accent); font-weight: 700;
}
.music-track-pending { color: var(--text); }
.music-track-pending > span:first-child { display: inline-block; padding: .35rem .25rem; }
.music-pending-badge {
  display: inline-block; margin: .18rem .25rem; padding: .1rem .42rem;
  color: var(--muted); border: 1px solid var(--line); border-radius: .2rem; font-size: .75rem; line-height: 1.35;
}
.spotify-player { margin-top: .8rem; }
.spotify-player iframe { display: block; width: 100%; max-width: 100%; border: 0; }
.misc-video-feature { margin-top: .85rem; }
.misc-video-feature h4 { margin-bottom: .65rem; }

@media (max-width: 49rem) {
  .composition-grid, .about-feature { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 55rem) and (max-width: 70rem) {
  .site-header nav { gap: .55rem; }
  .site-header nav > a { font-size: .80rem; }
}

/* Full credentials on the home section. */
.credential-strip { align-items: stretch; }
.credential-strip li {
  align-content: start;
  gap: .65rem;
  padding: clamp(.85rem, 2vw, 1.2rem);
  overflow-wrap: anywhere;
}
.credential-strip li > strong { color: var(--text); line-height: 1.3; }
.credential-strip dl { margin: 0; font-size: .88rem; }
.credential-strip dt { margin-top: .45rem; color: var(--text); font-weight: 650; }
.credential-strip dt:first-child { margin-top: 0; }
.credential-strip dd { margin: .12rem 0 0; color: var(--muted); }
.credential-strip li > p { font-size: .88rem; }
.credential-actions { display: flex; flex-wrap: wrap; gap: .4rem .85rem; font-size: .88rem; }

.release-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1rem; margin-bottom: 1rem; }
.release-card {
  display: grid;
  align-content: start;
  justify-items: start;
  min-width: 0;
  gap: .35rem;
  padding: .95rem;
  border: 1px solid var(--line);
  border-radius: .45rem;
  background: var(--graphite-glass);
  backdrop-filter: blur(5px);
  pointer-events: auto;
}
.release-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #13191e;
  border-radius: .3rem;
}
.release-card h3 { margin-top: .4rem; }
.release-card p { font-size: .88rem; }
.release-card .imdb-badge { margin-top: .35rem; }

@media (max-width: 65rem) {
  .credential-strip, .release-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 34rem) {
  .credential-strip { grid-template-columns: minmax(0,1fr); }
  .release-grid { gap: .6rem; }
  .release-card { padding: .6rem; }
  .release-card h3 { font-size: 1rem; }
}

/* Restored biography and corrected portfolio artwork. */
.about-history { display: grid; gap: 1rem; }
.about-chapter {
  padding: clamp(1rem, 3vw, 1.75rem);
  border: 1px solid var(--line);
  border-radius: .45rem;
  background: var(--graphite-glass);
  backdrop-filter: blur(5px);
  pointer-events: auto;
  min-width: 0;
}
.about-chapter p { margin-top: .8rem; }
.about-history-photo { margin: 1rem 0 0; }
.about-history-photo img {
  width: min(100%, 48rem);
  height: auto;
  max-height: 32rem;
  object-fit: contain;
  border-radius: .35rem;
}
.about-history-photo figcaption { max-width: 48rem; margin-top: .45rem; color: var(--muted); font-size: .9rem; }
.about-documentary { margin-top: 1rem; }
.about-documentary video { width: min(100%, 52rem); aspect-ratio: 16 / 9; margin-top: 1rem; object-fit: contain; background: #080a0b; }
.artwork-pending { display: grid; place-items: center; padding: .75rem; background: rgba(15, 17, 21, .65); color: var(--muted); }
.artwork-pending span { font-size: .9rem; font-weight: 650; }
.release-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.album-embed-card iframe { display: block; width: 100%; min-width: 0; border: 0; }
.work-entry h5 { font-size: 1.05rem; margin: 1rem 0 .4rem; }
@media (max-width: 42rem) {
  .release-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Show every photo edge on phone and tablet backgrounds. */
@media (max-width: 55rem), (hover: none) and (pointer: coarse) {
  .background-frame .background-tile img {
    object-fit: contain;
    object-position: center !important;
    animation: none !important;
    transform: none !important;
  }
  .background-tile { background: #0e1724; }
}

/* A scrolling preview works without a browser PDF plug-in. */
.resume-reader { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.resume-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; padding: .55rem .75rem; flex: none; border-bottom: 1px solid var(--line); }
.resume-page-select { display: flex; align-items: center; gap: .35rem; font-size: .85rem; }
.resume-page-select select { width: auto; min-height: 2.75rem; }
.resume-pages { flex: 1; min-height: 0; overflow: auto; overflow-anchor: none; overscroll-behavior: contain; background: #28323a; text-align: left; }
.resume-page-stack { width: min(100%, 68rem); margin-inline: auto; padding: .6rem; }
.resume-pages.is-zoomed .resume-page-stack { width: 200%; max-width: none; margin: 0; }
.resume-page { margin: 0 0 .8rem; }
.resume-page img { display: block; width: 100%; height: auto; max-width: none; background: #fff; }
.resume-page figcaption { padding: .25rem .5rem; text-align: center; font-size: .8rem; color: var(--text); }
.resume-page-error { padding: .5rem; }
@media (max-width: 34rem) {
  .resume-actions { padding: .4rem; gap: .35rem; }
  .resume-actions .button { padding-inline: .55rem; font-size: .8rem; }
  .resume-page-stack { padding: .25rem; }
}

.archive-cover.album-player-cover { aspect-ratio: auto; height: 352px; }
.album-player-cover iframe { display: block; width: 100%; height: 352px; border: 0; border-radius: 12px; }

/* Resume-inspired navy, cyan and warm gold details. */
.hero-specialty { color: var(--accent); font-weight: 650; margin-top: .75rem; }
.hero-readiness { margin-top: 1rem; font-size: .95rem; }
.eyebrow, .group-heading { color: #f2bd51; }
.work-entry { border-top: 2px solid #53d8e0; }
.section-heading { border-top: 2px solid #f2bd51; }

/* Experience company badges and eight-minute career background. */
.work-company-heading {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  flex-wrap: wrap;
  margin: .85rem 0;
}
.work-company-heading h4 {
  flex: 1 1 14rem;
  margin: 0;
  min-width: 0;
}
.company-logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 11.25rem;
  height: 5.5rem;
  padding: .55rem .85rem;
  border-radius: .35rem;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse 85% 75% at 50% 0%, rgba(83, 216, 224, .12), transparent 72%),
    linear-gradient(180deg, #0c1420 0%, #060a10 100%);
  border: 1px solid rgba(90, 126, 152, .42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .08),
    inset 0 -1px 0 rgba(0, 0, 0, .55),
    0 6px 18px rgba(0, 0, 0, .38);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.company-logo::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(83, 216, 224, .55) 30%, rgba(242, 189, 81, .55) 70%, transparent);
  opacity: .65;
  pointer-events: none;
  transition: opacity .2s ease;
}
.company-logo::after {
  content: "\2197";
  position: absolute;
  top: .25rem;
  right: .38rem;
  font-size: .7rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0;
  transform: translate(-2px, 2px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.company-logo:hover,
.company-logo:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(83, 216, 224, .75);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .14),
    0 10px 24px rgba(0, 0, 0, .55),
    0 0 22px rgba(83, 216, 224, .22);
}
.company-logo:hover::before,
.company-logo:focus-visible::before { opacity: 1; }
.company-logo:hover::after,
.company-logo:focus-visible::after { opacity: .85; transform: none; }

.company-logo img,
.company-logo video {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: filter .2s ease, transform .2s ease;
}
.company-logo.logo-light img {
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .65));
}
.company-logo.logo-video {
  padding: 0;
  background: #000;
}
.company-logo.logo-video video {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.company-logo.logo-invert-mono img {
  filter: invert(1) contrast(1.16);
  mix-blend-mode: screen;
}
.company-logo.logo-invert-color img {
  filter: invert(1) hue-rotate(180deg) brightness(1.34) contrast(1.26) saturate(1.26);
  mix-blend-mode: screen;
}
.company-logo.logo-invert-color.logo-medium img {
  filter: invert(1) hue-rotate(180deg) brightness(1.82) contrast(1.46) saturate(1.28);
}
.company-logo.logo-dark-blend img {
  mix-blend-mode: lighten;
  filter: contrast(1.08) saturate(1.10);
}
.company-logo.logo-illustrated img {
  border-radius: .2rem;
  filter: contrast(1.04) saturate(1.08);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .55);
}

/* Optical-area scaling across wide wordmarks and compact marks. */
.company-logo.logo-emblem,
.company-logo.logo-tall,
.company-logo.logo-illustrated {
  padding-block: .28rem;
}
.company-logo.logo-wide img { max-width: 90%; max-height: 64%; }
.company-logo.logo-wide-padded img { max-width: 96%; max-height: 92%; transform: scale(1.08); }
.company-logo.logo-medium img { max-width: 82%; max-height: 86%; }
.company-logo.logo-mark img { max-width: 78%; max-height: 88%; }
.company-logo.logo-emblem img { max-width: 84%; max-height: 98%; }
.company-logo.logo-square img { max-width: 76%; max-height: 84%; }
.company-logo.logo-tall img { max-width: 80%; max-height: 98%; }
.company-logo.logo-illustrated img { max-width: 82%; max-height: 96%; }

/* Structured sub-entries (AKAV LLC & ON Services). */
.work-entry ul.company-subentries {
  list-style: none;
  padding-left: 0;
  margin-top: .85rem;
  display: grid;
  gap: .75rem;
}
.company-subentry {
  display: grid;
  grid-template-columns: 9.75rem minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  margin: 0;
  padding: .75rem .85rem;
  border: 1px solid rgba(59, 82, 99, .55);
  border-left: 2px solid rgba(83, 216, 224, .55);
  border-radius: .35rem;
  background: rgba(9, 15, 24, .42);
}
.company-subentry + .company-subentry { margin-top: 0; }
.company-subentry .company-logo {
  flex: none;
  width: 9.75rem;
  height: 4.75rem;
  padding: .45rem .7rem;
  margin: 0;
}
.subentry-copy { min-width: 0; }

/* 8 Safe Ken Burns camera moves (frame default + per-tile counter-motion in collages). */
.background-frame .background-tile img {
  --kb-from: scale(1) translate(0, 0);
  --kb-to: scale(1.085) translate(0, 0);
  animation: career-drift var(--hold-time) linear both !important;
}
.background-frame[data-pan="0"] .background-tile img,
.background-frame.background-collage .background-tile[data-tile-pan="0"] img {
  --kb-from: scale(1) translate(0, 0);
  --kb-to: scale(1.085) translate(0, 0);
}
.background-frame[data-pan="1"] .background-tile img,
.background-frame.background-collage .background-tile[data-tile-pan="1"] img {
  --kb-from: scale(1.095) translate(0, 0);
  --kb-to: scale(1.01) translate(0, 0);
}
.background-frame[data-pan="2"] .background-tile img,
.background-frame.background-collage .background-tile[data-tile-pan="2"] img {
  --kb-from: scale(1.07) translate(-2.2%, 0%);
  --kb-to: scale(1.09) translate(2.2%, 0%);
}
.background-frame[data-pan="3"] .background-tile img,
.background-frame.background-collage .background-tile[data-tile-pan="3"] img {
  --kb-from: scale(1.07) translate(2.2%, 0%);
  --kb-to: scale(1.09) translate(-2.2%, 0%);
}
.background-frame[data-pan="4"] .background-tile img,
.background-frame.background-collage .background-tile[data-tile-pan="4"] img {
  --kb-from: scale(1.07) translate(0%, 2.2%);
  --kb-to: scale(1.10) translate(0%, -2.0%);
}
.background-frame[data-pan="5"] .background-tile img,
.background-frame.background-collage .background-tile[data-tile-pan="5"] img {
  --kb-from: scale(1.10) translate(0%, -2.2%);
  --kb-to: scale(1.06) translate(0%, 1.8%);
}
.background-frame[data-pan="6"] .background-tile img,
.background-frame.background-collage .background-tile[data-tile-pan="6"] img {
  --kb-from: scale(1.06) translate(-1.8%, 1.6%);
  --kb-to: scale(1.10) translate(1.8%, -1.6%);
}
.background-frame[data-pan="7"] .background-tile img,
.background-frame.background-collage .background-tile[data-tile-pan="7"] img {
  --kb-from: scale(1.10) translate(1.8%, -1.6%);
  --kb-to: scale(1.06) translate(-1.8%, 1.6%);
}
.background-show.is-paused .background-tile img { animation-play-state: paused !important; }
@keyframes career-drift {
  from { transform: var(--kb-from); }
  to { transform: var(--kb-to); }
}

/* 7 Theatrical stage transitions + staggered tile arrivals. */
.background-frame.is-entering {
  animation-duration: var(--transition-time);
  animation-fill-mode: both;
}
.background-frame.is-entering.ken-burns,
.background-frame.is-entering.documentary {
  animation-name: background-dissolve;
  animation-timing-function: cubic-bezier(.22, .61, .36, 1);
}
.background-frame.is-entering.stage-wipe {
  animation-name: career-wipe;
  animation-timing-function: cubic-bezier(.25, .8, .25, 1);
}
.background-frame.is-entering.wipe-right {
  animation-name: career-wipe-right;
  animation-timing-function: cubic-bezier(.25, .8, .25, 1);
}
.background-frame.is-entering.spotlight {
  animation-name: career-spotlight;
  animation-timing-function: cubic-bezier(.22, .75, .28, 1);
}
.background-frame.is-entering.iris-reveal {
  animation-name: career-iris;
  animation-timing-function: cubic-bezier(.2, .8, .25, 1);
}
.background-frame.is-entering.diagonal-sweep {
  animation-name: career-diagonal;
  animation-timing-function: cubic-bezier(.25, .8, .25, 1);
}
.background-frame.is-entering.split-doors {
  animation-name: career-doors;
  animation-timing-function: cubic-bezier(.22, .75, .28, 1);
}
.background-frame.background-collage.is-entering .background-tile {
  animation: tile-arrive 440ms cubic-bezier(.22, .61, .36, 1) both;
  animation-delay: calc(var(--tile-index, 0) * 65ms);
}
@keyframes career-wipe {
  from { clip-path: inset(0 100% 0 0); opacity: .75; }
  to { clip-path: inset(0); opacity: 1; }
}
@keyframes career-wipe-right {
  from { clip-path: inset(0 0 0 100%); opacity: .75; }
  to { clip-path: inset(0); opacity: 1; }
}
@keyframes career-spotlight {
  from { clip-path: inset(50% 0); opacity: .72; }
  to { clip-path: inset(0); opacity: 1; }
}
@keyframes career-iris {
  from { clip-path: circle(0% at 50% 50%); opacity: .82; }
  to { clip-path: circle(85% at 50% 50%); opacity: 1; }
}
@keyframes career-diagonal {
  from { clip-path: polygon(0 0, 0 0, -25% 100%, 0 100%); opacity: .78; }
  to { clip-path: polygon(0 0, 150% 0, 125% 100%, 0 100%); opacity: 1; }
}
@keyframes career-doors {
  from { clip-path: inset(0 50%); opacity: .75; }
  to { clip-path: inset(0); opacity: 1; }
}
@keyframes tile-arrive {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media(max-width:600px){
  .company-logo {
    flex: 0 0 9.5rem;
    width: 9.5rem;
    height: 4.75rem;
    padding: .45rem .65rem;
  }
  .company-subentry {
    grid-template-columns: minmax(0, 1fr);
    gap: .65rem;
  }
  .company-subentry .company-logo {
    width: 9.5rem;
    height: 4.65rem;
  }
  .work-company-heading h4{flex-basis:100%}.background-frame .background-tile img{object-fit:contain;transform-origin:center}
}
@media(prefers-reduced-motion:reduce){.background-frame.is-entering,.background-frame.background-collage.is-entering .background-tile,.background-frame .background-tile img{animation:none!important;transform:none!important}.company-logo,.company-logo::before,.company-logo::after,.company-logo img,.company-logo video{transition:none}.company-logo:hover,.company-logo:focus-visible{transform:none}}

/* 8 Collage photo grids (Desktop & Mobile). */
.background-collage .background-tile { grid-area: auto !important; }
.background-frame.background-collage.layout-0 {
  grid-template: repeat(2, minmax(0, 1fr)) / minmax(0, 2fr) minmax(0, 1fr);
}
.background-collage.layout-0 .background-tile:first-child { grid-area: 1 / 1 / 3 / 2 !important; }

.background-frame.background-collage.layout-1 {
  grid-template: minmax(0, 2fr) minmax(0, 1fr) / repeat(3, minmax(0, 1fr));
}
.background-collage.layout-1 .background-tile:first-child { grid-area: 1 / 1 / 2 / 4 !important; }

.background-frame.background-collage.layout-2 {
  grid-template: repeat(2, minmax(0, 1fr)) / repeat(2, minmax(0, 1fr));
}

.background-frame.background-collage.layout-3 {
  grid-template: repeat(2, minmax(0, 1fr)) / minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr);
}
.background-collage.layout-3 .background-tile:first-child { grid-area: 1 / 2 / 3 / 3 !important; }

.background-frame.background-collage.layout-4 {
  grid-template: minmax(0, 1fr) / repeat(2, minmax(0, 1fr));
}

.background-frame.background-collage.layout-5 {
  grid-template: repeat(2, minmax(0, 1fr)) / minmax(0, 1fr);
}

.background-frame.background-collage.layout-6 {
  grid-template: repeat(2, minmax(0, 1fr)) / minmax(0, 1fr) minmax(0, 2fr);
}
.background-collage.layout-6 .background-tile:first-child { grid-area: 1 / 2 / 3 / 3 !important; }

.background-frame.background-collage.layout-7 {
  grid-template: minmax(0, 1fr) / repeat(3, minmax(0, 1fr));
}

@media(max-width:600px){
  .background-frame .background-tile img { animation: none !important; }
  .background-frame.background-collage.layout-0,
  .background-frame.background-collage.layout-6 {
    grid-template: minmax(0, 2fr) minmax(0, 1fr) / repeat(2, minmax(0, 1fr));
  }
  .background-collage.layout-0 .background-tile:first-child,
  .background-collage.layout-6 .background-tile:first-child {
    grid-area: 1 / 1 / 2 / 3 !important;
  }
  .background-frame.background-collage.layout-3 {
    grid-template: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr) / repeat(2, minmax(0, 1fr));
  }
  .background-collage.layout-3 .background-tile:first-child {
    grid-area: 2 / 1 / 3 / 3 !important;
  }
  .background-frame.background-collage.layout-4 {
    grid-template: repeat(2, minmax(0, 1fr)) / minmax(0, 1fr);
  }
  .background-frame.background-collage.layout-7 {
    grid-template: repeat(3, minmax(0, 1fr)) / minmax(0, 1fr);
  }
}
