@font-face {
  font-family: Newsreader;
  src: url('assets/newsreader-regular.woff') format('woff');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url('assets/manrope-medium.ttf') format('truetype');
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #faf9f6;
  --ink: #252522;
  --muted: #6d6c66;
  --accent: #a44632;
  --secondary: #54534e;
  --selection: #e8ded4;
  --surface: #dedbd3;
  --line: #b8b5ad;
  --underline: #a5a299;
  --play: #faf9f6f2;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #191918;
  --ink: #eeeae3;
  --muted: #aaa69d;
  --accent: #df967c;
  --secondary: #c5c0b7;
  --selection: #513d32;
  --surface: #2b2b28;
  --line: #64615b;
  --underline: #777269;
  --play: #242421f2;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
  color-scheme: dark;
  --paper: #191918;
  --ink: #eeeae3;
  --muted: #aaa69d;
  --accent: #df967c;
  --secondary: #c5c0b7;
  --selection: #513d32;
  --surface: #2b2b28;
  --line: #64615b;
  --underline: #777269;
  --play: #242421f2;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Manrope, sans-serif; font-size: 1rem; -webkit-font-smoothing: antialiased; }
::selection { background: var(--selection); color: var(--ink); }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button { font: inherit; -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 7px; }
h1, h2, p { margin: 0; }
svg { display: block; width: 24px; height: 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 50; left: 20px; top: 12px; background: var(--paper); padding: 14px; transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.page { width: min(100%, 684px); padding: 100px 32px 44px; margin-inline: auto; }
.signature { display: block; width: fit-content; max-width: 100%; min-height: 50px; margin: 0; padding: 5px 0; border: 0; background: none; color: var(--ink); font-family: Newsreader, Georgia, serif; font-size: 2.375rem; font-weight: 400; font-kerning: normal; line-height: 1.2; letter-spacing: -.028em; text-align: left; cursor: pointer; touch-action: manipulation; }
.signature-name { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .18em; }
.signature-word { display: inline-block; max-width: 100%; overflow-wrap: anywhere; }
.signature-stop { display: inline-block; margin-left: .035em; color: var(--accent); }
h1 { margin-top: 20px; font-size: 2.25rem; font-weight: 500; line-height: 1.45; letter-spacing: -.038em; }
.hero-focus { position: relative; }
.current-role { margin-top: 16px; color: var(--muted); font-size: .9375rem; line-height: 1.7; }
.work { margin-top: 68px; }
.work > h2 { font-size: .875rem; line-height: 1.6; font-weight: 500; color: var(--muted); }
.work-list { list-style: none; padding: 0; margin: 13px 0 0; }
.work-row { display: flex; align-items: center; gap: 22px; padding-block: 17px; }
.work-copy { min-width: 0; }
.work-name { display: block; font-size: 1.0625rem; font-weight: 500; letter-spacing: -.025em; line-height: 1.6; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.work-role { display: block; margin-top: 4px; color: var(--muted); font-size: .875rem; line-height: 1.65; letter-spacing: -.015em; }
.work-thumbnail { position: relative; display: grid; place-items: center; flex: 0 0 96px; width: 96px; aspect-ratio: 8 / 5; overflow: hidden; border-radius: 3px; background: var(--surface); }
.work-thumbnail img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.65); }
.play-control { position: absolute; display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--accent); border-radius: 50%; background: var(--play); color: var(--accent); transition: transform 200ms ease, background 200ms ease; }
.play-control svg { width: 18px; height: 18px; fill: currentColor; }
@media (hover: hover) {
  .work-row:hover .play-control { transform: scale(1.08); background: var(--paper); }
}
.work-row:active .play-control { transform: scale(.92); }
.work-row:focus-visible .play-control { background: var(--paper); }
.work-row:hover .work-name, .work-row:focus-visible .work-name { text-decoration-line: underline; }

.featured-work { display: grid; gap: 38px; margin-top: 24px; }
.featured-project { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 0; }
.featured-project .work-thumbnail { width: 100%; aspect-ratio: 2.35 / 1; border-radius: 2px; isolation: isolate; }
.featured-project .work-thumbnail img { position: absolute; inset: 0; object-position: 50% 50%; filter: saturate(.85); }
.featured-project .play-control { right: 10px; bottom: 10px; width: 28px; height: 28px; border-color: transparent; background: var(--play); }
.featured-project .work-name { font-size: 1.1875rem; line-height: 1.4; letter-spacing: -.03em; }
.featured-project .work-role { margin-top: 7px; color: var(--secondary); font-size: .9375rem; line-height: 1.65; }
.work-note { display: block; margin-top: 5px; color: var(--muted); font-size: .875rem; line-height: 1.65; letter-spacing: -.015em; }
.project-robinson .work-thumbnail img { height: 164%; top: -32%; }
.project-crysis .work-thumbnail img { height: 185%; top: -42.5%; }
.featured-work + .more-work { margin-top: 24px; }

.more-work { margin-top: 12px; }
.more-work summary { display: flex; align-items: center; gap: 9px; width: fit-content; min-height: 44px; color: var(--muted); font-size: .875rem; line-height: 1.6; list-style: none; cursor: pointer; }
.more-work summary::-webkit-details-marker { display: none; }
.more-work summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.more-work summary:hover { color: var(--accent); }
.more-work summary svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform 180ms ease; }
.collapse-label { display: none; }
.more-work[open] .expand-label { display: none; }
.more-work[open] .collapse-label { display: inline; }
.more-work[open] summary svg { transform: rotate(180deg); }
.additional-work { margin-top: 24px; }
.personal { margin-top: 64px; }
.personal-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 20px; }
.studio-photo { display: block; width: 100%; height: auto; margin-bottom: 28px; }
.personal p { font-size: 1rem; line-height: 1.85; letter-spacing: -.02em; }
.personal .bio-lead { margin-bottom: 20px; font-family: Newsreader, Georgia, serif; font-size: 1.75rem; font-weight: 400; line-height: 1.4; letter-spacing: -.02em; }
.bio-lead-accent { color: var(--accent); }
.personal .previous-credit { margin-top: 16px; color: var(--muted); font-size: .875rem; line-height: 1.65; }
.personal em { font-style: normal; }
.contact-link { display: inline-flex; align-items: center; min-height: 44px; font-size: .9375rem; line-height: 1.6; text-decoration: underline; text-decoration-color: var(--underline); text-underline-offset: 5px; text-decoration-thickness: 1px; }
.contact-link:hover { text-decoration-color: currentColor; }
.contact-secondary { color: var(--muted); }
.linkedin-link { gap: 8px; }
.contact-secondary:hover { color: var(--ink); }
.email-link { gap: 8px; color: var(--ink); }
.footer { padding-top: 56px; color: var(--muted); font-size: .75rem; line-height: 1.6; }
.video-dialog { padding: 0; border: 0; background: #171716; color: #faf9f6; width: min(1080px, calc(100% - 40px)); max-height: calc(100dvh - 40px); border-radius: 4px; overflow: auto; }
.video-dialog::backdrop { background: #171716e8; }
.video-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 16px 12px 24px; }
.video-toolbar h2 { font-size: 1rem; line-height: 1.5; font-weight: 500; }
.close-video { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border: 0; background: transparent; color: white; cursor: pointer; }
.close-video:hover { background: #ffffff12; }
.close-video svg { fill: none; stroke: currentColor; stroke-width: 1.5; }
.video-frame { aspect-ratio: 16/9; background: #000; display: grid; place-items: center; }
.video-frame iframe { width: 100%; height: 100%; border: 0; }
.video-picker { display: flex; flex-wrap: wrap; column-gap: 24px; padding: 10px 24px 0; }
.video-picker[hidden] { display: none; }
.video-picker button { min-height: 44px; max-width: 100%; padding: 8px 0; border: 0; background: none; color: #c6c3bd; font-size: .875rem; line-height: 1.5; text-align: left; cursor: pointer; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.video-picker button:hover { color: #faf9f6; text-decoration-line: underline; }
.video-picker button[aria-pressed="true"] { color: #eab19d; text-decoration-line: underline; }
body.video-open { overflow: hidden; }
@media (max-width: 600px) {
  .page { padding: 57px 28px 30px; }
  .signature { min-height: 47.5px; font-size: 2.125rem; }
  h1 { font-size: 1.5rem; margin-top: 24px; line-height: 1.5; }
  .current-role { font-size: .875rem; margin-top: 14px; }
  .work { margin-top: 52px; }
  .work-list { margin-top: 12px; }
  .work-row { gap: 16px; padding-block: 16px; }
  .work-name { font-size: 1rem; }
  .work-role { margin-top: 5px; }
  .work-thumbnail { flex-basis: 72px; width: 72px; }
  .play-control { width: 28px; height: 28px; }
  .featured-work { gap: 34px; margin-top: 21px; }
  .featured-project { grid-template-columns: minmax(0, 1fr); gap: 15px; padding: 0; }
  .featured-project .work-thumbnail { width: 100%; }
  .featured-project .work-name { font-size: 1.125rem; }
  .featured-project .work-role { margin-top: 8px; }
  .additional-work { margin-top: 24px; }
  .featured-work + .more-work { margin-top: 22px; }
  .video-picker { padding: 8px 16px 0; column-gap: 20px; }
  .personal { margin-top: 52px; }
  .studio-photo { margin-bottom: 24px; }
  .personal .bio-lead { font-size: 1.5rem; }
  .personal-contact { margin-top: 18px; }
  .footer { padding-top: 42px; }
  .video-dialog { width: calc(100% - 20px); max-height: calc(100dvh - 24px); }
  .video-toolbar { padding: 10px 10px 10px 16px; gap: 10px; }
  .video-toolbar h2 { font-size: .875rem; }
}
@media (max-width: 360px) {
  .page { padding-inline: 23px; }
  h1 { font-size: 1.375rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Project information is disclosed separately from video playback. */
.project-title { margin: 15px 0 4px; font-size: 1.1875rem; font-weight: 500; line-height: 1.4; letter-spacing: -.03em; transition: color 200ms ease; }
@media (hover: hover) and (pointer: fine) {
  body:not(.video-open) .project-entry:hover .project-title { color: var(--accent); }
}
.project-details > summary { display: flex; align-items: center; gap: 9px; width: fit-content; min-height: 44px; color: var(--muted); font-size: .875rem; line-height: 1.6; list-style: none; cursor: pointer; }
.project-details > summary::-webkit-details-marker { display: none; }
.project-details > summary:hover { color: var(--ink); }
.project-details > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.disclosure-mark { position: relative; width: 10px; height: 10px; flex-shrink: 0; }
.disclosure-mark::before, .disclosure-mark::after { content: ''; position: absolute; background: currentColor; }
.disclosure-mark::before { width: 10px; height: 1px; top: 4.5px; left: 0; }
.disclosure-mark::after { width: 1px; height: 10px; left: 4.5px; top: 0; }
.project-details[open] > summary .disclosure-mark::after { display: none; }
.project-description { padding: 8px 0 14px; color: var(--secondary); font-size: .9375rem; line-height: 1.65; }
.project-description p + p { margin-top: 10px; }
.text-video { text-decoration: underline; text-underline-offset: 3px; }
.trailer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; list-style: none; padding: 10px 0 14px; margin: 0; }
.trailer-link { display: block; }
.trailer-thumbnail { display: block; position: relative; aspect-ratio: 16/9; overflow: hidden; border-radius: 2px; background: var(--surface); }
.trailer-thumbnail img { display: block; width: 100%; height: 100%; object-fit: cover; }
.trailer-thumbnail .play-control { right: 8px; bottom: 8px; width: 26px; height: 26px; border: 0; }
.trailer-title { display: block; margin-top: 8px; font-size: .875rem; line-height: 1.5; }
.trailer-link:hover .trailer-title { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 600px) { .project-title { font-size: 1.125rem; } }
@media (max-width: 360px) { .trailer-grid { grid-template-columns: minmax(0, 1fr); } }

.contact-icon { width: 16px; height: 16px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

.skills-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding: 0; margin: 26px 0 0; list-style: none; color: var(--secondary); }
.skills-list li { display: flex; align-items: flex-start; gap: 8px; min-width: 0; font-size: .875rem; line-height: 1.6; }
.skills-list li span { min-width: 0; overflow-wrap: anywhere; }
.skill-icon { width: 16px; height: 16px; margin-top: 3px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 600px) { .skills-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; margin-top: 24px; } }

/* Minimal player chrome; the embedded player's own controls remain available. */
.video-trigger { width: 100%; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.video-trigger.text-video { display: inline; width: auto; }
.video-dialog { background: transparent; border-radius: 0; }
.video-toolbar { justify-content: flex-end; padding: 0 0 8px; }
.close-video { border-radius: 50%; color: #ddd; }
.close-video svg { width: 20px; height: 20px; }
.close-video:focus-visible { outline-offset: -4px; }
.video-frame { min-height: 200px; }
.video-picker { padding: 8px 16px; background: #171716; }

/* Compact project overview with full-width expanded details. */
.introduction, .personal { max-width: 620px; }
.project-description p { max-width: 620px; }
.featured-work { gap: 28px; }
.project-entry { position: relative; --thumbnail-width: 272px; --project-gap: 32px; display: grid; grid-template-columns: var(--thumbnail-width) minmax(0, 1fr); column-gap: var(--project-gap); align-items: start; }
.project-entry > .featured-project { display: block; min-width: 0; padding: 0; }
.project-meta { min-width: 0; }
.project-meta .project-title { padding-right: 36px; margin: 0 0 4px; overflow-wrap: break-word; }
.project-entry .featured-project .play-control { right: 7px; bottom: 7px; width: 26px; height: 26px; }
/* Native disclosures share a full-width second row; only the plus is overlaid. */
.project-entry > .project-details { grid-column: 1 / -1; min-width: 0; }
.project-entry > .project-details > summary { position: absolute; top: -8px; right: -10px; display: grid; place-items: center; width: 44px; height: 44px; min-height: 44px; border-radius: 50%; }
.project-entry > .project-details > summary:focus-visible { outline-offset: -4px; }
.project-entry > .project-details > summary:hover { color: var(--accent); }
.project-entry > .project-details[open] > summary { color: var(--accent); }
.project-credits { margin-top: 7px; color: var(--muted); font-size: .875rem; line-height: 1.7; letter-spacing: -.015em; }
.credit-label { display: inline-block; max-width: 100%; }
.credit-separator { white-space: nowrap; }
.project-entry .project-description { margin: 18px 0 4px; padding: 0 0 0 16px; border-left: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.project-entry .trailer-grid { padding: 18px 0 4px; }
.bio-body p + p { margin-top: 16px; }
@media (max-width: 600px) {
  .featured-work { gap: 26px; }
  .project-entry { --thumbnail-width: 96px; --project-gap: 20px; }
  .project-entry .featured-project .work-thumbnail { aspect-ratio: 16 / 9; }
  .project-entry .project-description { margin-top: 16px; }
}
@media (max-width: 360px) {
  .project-entry { --thumbnail-width: 88px; --project-gap: 16px; }
}

/* Small visual control with a comfortable touch target. */
.page { position: relative; }
.theme-toggle { position: absolute; top: 35px; right: 22px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--muted); cursor: pointer; }
.theme-toggle[hidden] { display: none; }
.theme-toggle:hover { color: var(--accent); }
.theme-toggle svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; display: none; }
:root[data-theme="light"] .theme-dark, :root[data-theme="dark"] .theme-light { display: block; }
@media (max-width: 600px) { .theme-toggle { top: 8px; right: 18px; } }
@media (max-width: 360px) { .theme-toggle { right: 13px; } }
