:root {
  color-scheme: dark;
  --dark: #171915;
  --ink: #20221c;
  --light: #eeece2;
  --muted: #bdbfb2;
  --accent: #e8b76e;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--dark); color: var(--light); font: 16px/1.55 var(--sans); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid #bb782f; outline-offset: 5px; }
img { display: block; width: 100%; height: auto; }
figure, p, h1, h2, h3 { margin: 0; }
.shell { width: min(100% - 100px, 1390px); margin-inline: auto; }
.mono { font-family: var(--mono); font-size: .69rem; letter-spacing: .12em; text-transform: uppercase; }
.skip { position: fixed; top: 10px; left: 10px; z-index: 3; padding: .75rem; background: var(--light); color: var(--ink); transform: translateY(-180%); }
.skip:focus { transform: none; }
.header { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 76px; border-bottom: 1px solid #ffffff30; }
.mark { justify-self: start; font-size: 1.45rem; line-height: 1; font-weight: 750; letter-spacing: -.09em; }
.mark span, h1 span { color: var(--accent); }
nav { display: flex; gap: clamp(1rem, 3vw, 3.5rem); font-size: .86rem; }
.header nav { flex-wrap: wrap; justify-content: center; gap: 8px clamp(14px, 2.3vw, 36px); }
nav a:hover, .footer a:hover { text-decoration: underline; text-underline-offset: .35em; }
.header-note { justify-self: end; color: var(--muted); }
.hero { position: relative; display: grid; grid-template-columns: 36% 64%; align-items: center; padding-block: 43px 24px; }
.hero-image { grid-area: 1 / 2; position: relative; }
.hero-image img { aspect-ratio: 1.45; object-fit: cover; background: #303b34; filter: brightness(.84); }
.hero-image figcaption { text-align: right; color: var(--muted); padding-top: 13px; }
.hero-copy { grid-area: 1 / 1 / 2 / 3; position: relative; z-index: 1; padding-bottom: 35px; pointer-events: none; }
.eyebrow { color: var(--muted); margin-bottom: 17px; }
.dot { display: inline-block; width: 7px; height: 7px; margin-right: .55em; background: var(--accent); border-radius: 50%; vertical-align: .05em; }
h1 { font-size: clamp(4rem, 10vw, 10rem); font-weight: 680; letter-spacing: -.09em; line-height: .82; }
.hero-deck { margin-top: 28px; font-size: clamp(1rem, 2.1vw, 1.6rem); letter-spacing: -.025em; }
.hero-deck i { font-family: Georgia, serif; font-weight: 400; color: var(--accent); }
.hero-link { pointer-events: auto; display: inline-flex; gap: 2rem; align-items: center; border-bottom: 1px solid #ffffff50; padding: 10px 0; margin-top: 22px; }
.hero-link span { color: var(--accent); font-size: 1rem; }
.hero-link:hover { border-color: var(--accent); }
.hero-foot { grid-column: 1 / -1; display: flex; gap: 24px; border-top: 1px solid #ffffff30; padding-top: 16px; margin-top: 28px; color: var(--muted); }
.photos, .about { background: var(--light); color: var(--ink); color-scheme: light; }
.section-inner { padding-block: clamp(62px, 8vw, 114px); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 25px; margin-bottom: 35px; }
.section-head > p { max-width: 30ch; padding-bottom: 4px; }
.photos .eyebrow, .about .eyebrow { color: #4c5145; }
h2 { font-size: clamp(2.6rem, 6.1vw, 6.2rem); line-height: .94; letter-spacing: -.07em; font-weight: 650; }
.photo-grid { display: grid; grid-template-columns: 1fr .8fr 1fr; gap: clamp(12px, 2vw, 28px); }
.photo a { display: block; position: relative; overflow: hidden; background: #c7c7bc; }
.photo img { aspect-ratio: 1; object-fit: cover; transition: transform 300ms ease; }
.photo:nth-child(2) img { aspect-ratio: .8; }
.photo a:hover img { transform: scale(1.045); }
.expand { position: absolute; bottom: 10px; right: 10px; display: grid; place-items: center; width: 36px; height: 36px; color: var(--light); background: #171915da; }
.photo figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 13px 0; border-bottom: 1px solid #20221c40; }
.photo figcaption .mono { color: #4c5145; }
.motion .section-head > p, .reel-info > p:last-child { color: var(--muted); }
.reel { display: grid; grid-template-columns: 2fr 1fr; border: 1px solid #ffffff30; }
.reel-poster { position: relative; background: #33362e; }
.reel-poster img { aspect-ratio: 16/9; object-fit: cover; }
.reel-poster figcaption { position: absolute; bottom: 12px; left: 12px; padding: .45rem .65rem; background: #171915de; }
.reel-info { align-self: center; padding: clamp(22px, 3vw, 52px); }
.reel-info h3 { font-size: clamp(1.6rem, 3vw, 3rem); line-height: 1.04; letter-spacing: -.055em; margin-bottom: 15px; }
.about-inner { display: grid; grid-template-columns: 1fr 2fr; padding-block: clamp(50px, 7vw, 94px); }
.about .eyebrow { padding-top: 9px; }
.about h2 { font-size: clamp(2.4rem, 5vw, 5rem); }
.about h2 + p { margin-top: 20px; max-width: 43ch; }
.footer { display: flex; justify-content: space-between; padding-block: 23px; color: var(--muted); }
.lightbox { width: min(94vw, 1040px); max-height: 95dvh; padding: 18px; background: var(--dark); color: var(--light); border: 1px solid #ffffff40; }
.lightbox::backdrop { background: #080907e8; }
.lightbox img { width: 100%; height: min(65dvh, 65vw); object-fit: contain; }
.lightbox figcaption { text-align: center; margin-top: 12px; }
.lightbox button { min-width: 44px; min-height: 44px; border: 1px solid #ffffff55; background: var(--dark); color: var(--light); cursor: pointer; }
.lightbox button:hover { border-color: var(--accent); }
.close { display: block; margin: 0 0 10px auto; font-size: 1.4rem; }
.lightbox-nav { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 12px; }
@media (max-width: 800px) {
  .shell { width: calc(100% - 44px); }
  .header { grid-template-columns: auto 1fr; min-height: 65px; }
  .header nav { justify-self: end; justify-content: flex-end; padding: 9px 0 9px 12px; }
  .header-note { display: none; }
  .hero { grid-template-columns: 26% 74%; }
  .hero-image img { aspect-ratio: .95; }
  .photo figcaption { flex-wrap: wrap; row-gap: 2px; }
}
@media (max-width: 550px) {
  .shell { width: calc(100% - 32px); }
  nav { font-size: .78rem; gap: 13px; }
  .hero { grid-template-columns: 1fr; padding-top: 28px; }
  .hero-copy { grid-area: 1 / 1; padding-bottom: 22px; }
  .hero-image { grid-area: 2 / 1; }
  .hero-image img { aspect-ratio: 1.45; }
  h1 { font-size: clamp(3.85rem, 16vw, 5.5rem); }
  .hero-deck { margin-top: 17px; }
  .hero-link { margin-top: 12px; }
  .hero-foot { margin-top: 20px; }
  .section-head { flex-direction: column; align-items: start; gap: 15px; margin-bottom: 23px; }
  .section-head > p { max-width: 40ch; }
  .photo-grid, .reel, .about-inner { grid-template-columns: 1fr; }
  .photo img, .photo:nth-child(2) img { aspect-ratio: 4/3; }
  .photo-grid { gap: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.hero-image > a { display: block; position: relative; }
.gallery-link, .back-link { display: inline-flex; align-items: center; gap: .8rem; padding-block: .55rem; border-bottom: 1px solid currentColor; }
.gallery-link:hover, .back-link:hover { color: #804818; }
nav [aria-current="page"] { text-decoration: underline; text-underline-offset: .35em; }
.favorites-head { margin-top: clamp(26px, 4vw, 55px); }
.favorites-head h1 { font-size: clamp(3.6rem, 9vw, 8rem); line-height: .9; }
.favorites-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(8px, 1.25vw, 18px); }
.favorites-grid .photo a { background: #dddace; }
.favorites-grid .photo img { aspect-ratio: 4 / 3; object-fit: contain; }
.favorites-grid .expand { opacity: 0; transition: opacity 150ms ease; }
.favorites-grid a:hover .expand, .favorites-grid a:focus-visible .expand { opacity: 1; }
@media (max-width: 800px) {
  .favorites-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 550px) {
  .favorites-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.photo .category-card { background: transparent; }
.category-image { display: block; position: relative; overflow: hidden; background: #c7c7bc; }
.category-caption {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 3px 12px;
  align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid #20221c40;
}
.category-caption > span:first-child { font-size: 1.08rem; font-weight: 600; }
.category-caption .mono { color: #4c5145; }
.category-card:hover .category-caption { border-color: #804818; }
.collection-description span { display: block; margin-top: .75rem; color: #4c5145; }
.gallery-nav { flex-wrap: wrap; gap: 8px clamp(14px, 2.6vw, 34px); margin: 0 0 26px; border-bottom: 1px solid #20221c40; }
.gallery-nav a { padding: 8px 0; }
.gallery-nav [aria-current="page"] { font-weight: 650; }
.lightbox-nav[hidden] { display: none; }

.motion-link:hover { color: var(--accent); }
.featured-project:hover { border-color: var(--accent); }
.vfx-page .collection-description span { color: var(--muted); }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 22px; }
.project { min-width: 0; scroll-margin-top: 20px; }
.project-link { display: block; position: relative; }
.project-cover { position: relative; overflow: hidden; background: #262922; }
.project-cover img { aspect-ratio: 16 / 9; object-fit: cover; transition: transform 250ms ease; }
.project-link:hover img { transform: scale(1.045); }
.project-play { position: absolute; bottom: 12px; right: 12px; display: grid; place-items: center; width: 40px; height: 40px; background: #171915e8; color: var(--accent); font-size: .85rem; }
.project-label {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 28px 44px 12px;
  background: linear-gradient(transparent, #171915f5);
  text-align: center;
  pointer-events: none;
}
.project-label h3 {
  font: 750 clamp(.9rem, 1.7vw, 1.35rem)/1.18 "Arial Narrow", "Roboto Condensed", var(--sans);
  text-transform: uppercase;
  letter-spacing: -.025em;
}
.project-label p { color: #dbddd2; }
.video-details h2 { text-transform: capitalize; }
@media (hover: hover) and (pointer: fine) {
  .project-label {
    inset: 0;
    align-content: center;
    padding: 18px;
    background: #121412d9;
    opacity: 0;
    transition: opacity 180ms ease;
  }
  .project-link:hover .project-label, .project-link:focus-visible .project-label { opacity: 1; }
  .project-link:hover .project-play, .project-link:focus-visible .project-play { opacity: 0; }
}
.personal-projects { margin-top: clamp(52px, 8vw, 112px); padding-top: 30px; border-top: 1px solid #ffffff30; }
.personal-projects h2 { margin-bottom: 26px; font-size: clamp(2.4rem, 5vw, 4.3rem); }
.video-player { aspect-ratio: 16 / 9; background: #050605; }
.video-player iframe { display: block; width: 100%; height: 100%; border: 0; }
.video-details { display: flex; flex-wrap: wrap; gap: 14px 26px; justify-content: space-between; align-items: end; padding-top: 14px; }
.video-details h2 { font-size: clamp(1.35rem, 3vw, 2.25rem); line-height: 1.08; letter-spacing: -.04em; }
.video-details p { color: var(--muted); margin-top: 7px; }
.video-links { display: flex; gap: 16px; flex-wrap: wrap; }
.video-links a { text-decoration: underline; text-underline-offset: .3em; }
@media (max-width: 800px) {
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 550px) {
  .project-grid { grid-template-columns: 1fr; gap: 24px; }
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(250px, 1fr) minmax(0, 2fr);
  align-items: center;
  gap: clamp(26px, 4vw, 64px);
}
.contact-copy h1 { font-size: clamp(3.4rem, 7vw, 7rem); line-height: .9; }
.contact-copy > p:not(.eyebrow) { margin-top: 22px; color: var(--muted); }
@media (max-width: 680px) {
  .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 360px) {
  .header nav { gap: 6px 10px; font-size: .73rem; }
}
