@font-face {
  font-family: Roboto;
  src: url("fonts/roboto-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Roboto Slab";
  src: url("fonts/roboto-slab-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #181719;
  --paper: #f7f6f3;
  --white: #fff;
  --muted: #676166;
  --line: #d9d4d4;
  --accent: #9b0000;
  font-family: Roboto, Arial, sans-serif;
  font-size: 16px;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 101; padding: .5rem 1rem; background: var(--white); }
.skip-link:focus { top: .5rem; }
main { scroll-margin-top: 134px; }
.container { width: min(100% - 2.5rem, 1180px); margin-inline: auto; }
.narrow { max-width: 760px; }

.site-header { position: sticky; top: 0; z-index: 100; background: #000; color: var(--white); }
.header-inner { display: flex; align-items: center; justify-content: flex-start; gap: 2.4rem; min-height: 134px; }
.brand { display: block; flex: none; line-height: 0; }
.brand img { width: 134px; height: 81px; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1.35rem; }
.site-nav a { padding: .35rem 0; color: #bdbdbd; font-family: "Courier New", Courier, monospace; font-size: .9rem; font-weight: 400; letter-spacing: .18em; text-decoration: none; text-transform: uppercase; }
.site-nav a:hover { color: var(--accent); }
.site-nav a[aria-current="page"] { color: var(--accent); }
.menu-toggle { display: none; flex: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 44px; height: 44px; border: 1px solid #6d676a; background: transparent; color: var(--white); cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: currentColor; }
.menu-toggle:hover, .menu-toggle[aria-expanded="true"] { color: var(--accent); }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }
.menu-toggle:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.13; letter-spacing: -.045em; }
h1 { font-family: "Courier New", Courier, monospace; font-size: clamp(2.8rem, 6vw, 5.6rem); font-weight: 400; letter-spacing: -.035em; }
h2, h3 { font-family: "Roboto Slab", Georgia, serif; }
h2 { font-size: clamp(2rem, 3.8vw, 3.4rem); }
h3 { font-size: clamp(1.45rem, 2.1vw, 2rem); }
p { max-width: 67ch; }
.eyebrow { margin-bottom: .9rem; color: var(--accent); font-size: .77rem; font-weight: 800; letter-spacing: .16em; line-height: 1.3; text-transform: uppercase; }
.lead { color: #373337; font-size: clamp(1.08rem, 1.7vw, 1.28rem); line-height: 1.55; }
.muted { color: var(--muted); }
.section { padding: clamp(3.5rem, 7vw, 6.5rem) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2rem; }
.section-heading h2 { margin-bottom: 0; }
.page-intro { padding: clamp(2.8rem, 6vw, 5rem) 0 2.5rem; }
.page-intro h1 { margin-bottom: 1rem; }
.page-intro .lead { margin-bottom: 0; }
.back-link { display: inline-block; margin-bottom: 1.3rem; color: var(--muted); font-size: .9rem; }

.button { display: inline-block; border: 1px solid var(--ink); padding: .8rem 1.2rem; background: var(--ink); color: var(--white); font-size: .9rem; font-weight: 700; letter-spacing: .04em; text-decoration: none; }
.button:hover { background: var(--accent); border-color: var(--accent); }
.button.outline { background: transparent; color: var(--ink); }
.button.outline:hover { background: var(--ink); color: var(--white); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.7rem; }

.work-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; }
.image-card { display: flex; flex-direction: column; background: var(--white); text-decoration: none; }
.image-card img { flex: none; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.image-card-body { display: block; flex: 1; padding: 1.1rem 1.2rem 1.25rem; }
.image-card strong { display: block; font-family: "Roboto Slab", Georgia, serif; font-size: 1.45rem; line-height: 1.2; }
.image-card small { display: block; margin-top: .3rem; color: var(--muted); font-size: .88rem; line-height: 1.5; }
.image-card:hover img, .image-card:focus-visible img { filter: brightness(.9); }
.text-link { color: var(--accent); font-weight: 700; }
.text-link:hover { color: var(--ink); }

.image-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.image-strip img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.image-strip a:hover img { filter: brightness(.88); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 6vw, 6rem); }
.split img { width: 100%; max-height: 640px; object-fit: cover; }
.quote { padding-left: 1.4rem; border-left: 3px solid var(--accent); font-size: clamp(1.2rem, 2vw, 1.55rem); font-style: italic; line-height: 1.45; }
.quote p { margin-bottom: 0; }

.gallery { columns: 3 280px; column-gap: 1rem; }
.gallery figure { break-inside: avoid; margin: 0 0 1.25rem; background: var(--white); }
.gallery a { display: block; }
.gallery img { display: block; width: 100%; height: auto; }
.gallery a:hover img { filter: brightness(.9); }

.photo-browser { position: fixed; inset: 0; z-index: 1000; display: grid; grid-template-columns: clamp(44px, 6vw, 80px) minmax(0, 1fr) clamp(44px, 6vw, 80px); grid-template-rows: auto minmax(0, 1fr) auto; width: 100%; height: 100vh; height: 100dvh; background: #101013; color: var(--white); }
.photo-browser[hidden] { display: none; }
.photo-browser__toolbar { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem; padding: .75rem 1rem; background: #1b1a1e; }
.photo-browser__counter { font-size: .95rem; font-weight: 700; white-space: nowrap; }
.photo-browser__tools { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem; }
.photo-browser button { border: 1px solid #625e64; border-radius: 3px; padding: .35rem .65rem; background: #29272c; color: var(--white); font: inherit; font-size: .9rem; cursor: pointer; }
.photo-browser button:hover:not(:disabled) { background: #454149; }
.photo-browser button:disabled { opacity: .45; cursor: default; }
.photo-browser button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.photo-browser__zoom { min-width: 3.4rem; text-align: center; font-size: .9rem; }
.photo-browser__arrow { align-self: center; justify-self: center; z-index: 1; width: 2.4rem; height: 3.2rem; padding: 0 !important; font-size: 2rem !important; line-height: 1 !important; }
.photo-browser__prev { grid-column: 1; grid-row: 2; }
.photo-browser__next { grid-column: 3; grid-row: 2; }
.photo-browser__stage { grid-column: 2; grid-row: 2; position: relative; min-width: 0; min-height: 0; overflow: hidden; touch-action: none; }
.photo-browser__image-wrap { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.photo-browser__image { width: 100%; height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.photo-browser.is-zoomed .photo-browser__image { cursor: grab; }
.photo-browser.is-dragging .photo-browser__image { cursor: grabbing; }
.photo-browser__caption { grid-column: 1 / -1; max-height: 6rem; min-height: 2.8rem; overflow: auto; padding: .65rem 1rem; color: #e5e0e3; text-align: center; font-size: .9rem; }
.photo-browser:fullscreen { width: 100%; height: 100%; }

.contact-section { max-width: 960px; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; align-items: start; gap: clamp(2rem, 6vw, 5rem); }
.contact-visual { margin: 0; }
.contact-image { width: 100%; height: auto; }
.contact-divider { margin-top: 2rem; border-top: 2px solid var(--accent); }
.site-footer { border-top: 1px solid #333; padding: 1.5rem 0; background: #000; color: #aaa5a8; font-size: .86rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .6rem 2rem; }
.footer-inner p { margin: 0; }
.footer-social { display: flex; align-items: center; gap: .25rem; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; color: #d4d0d2; text-decoration: none; }
.footer-social a:hover { color: #fff; background: #29272c; }
.footer-social a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.footer-social svg { display: block; width: 1.25rem; height: 1.25rem; }
.footer-social .imdb-icon { width: 1.75rem; }

.dark-page { background: var(--ink); color: #f1eeee; color-scheme: dark; }
.dark-page .page-intro { padding: clamp(3.5rem, 7vw, 6.5rem) 0 0; }
.dark-page .page-intro h1 { margin: 0 0 2.25rem; color: #fff; font-size: clamp(2rem, 3vw, 2.75rem); font-weight: 400; letter-spacing: .035em; text-align: center; text-transform: uppercase; }
.dark-page .page-divider { border-top: 1px solid var(--accent); }
.dark-page .page-intro .lead { margin: 2rem auto 0; color: #c8c4c6; text-align: center; }
.dark-page .page-intro .back-link { display: block; width: fit-content; margin: 1.5rem auto 0; color: var(--accent); text-align: center; }
.dark-page .page-intro .back-link + .lead { margin-top: .75rem; }
.dark-page .page-intro > p:not(.lead) { margin: 1rem auto 0; text-align: center; }
.dark-page .page-intro + .section { padding-top: clamp(2rem, 4vw, 3.5rem); }
.dark-page .section + .section { border-top-color: #514c50; }
.dark-page .eyebrow, .dark-page .text-link { color: var(--accent); }
.dark-page .text-link:hover { color: #fff; }
.dark-page .image-card { background: #2b292d; color: #f1eeee; }
.dark-page .image-card small { color: #c8c4c6; }
.dark-page .image-card:hover .image-card-body, .dark-page .image-card:focus-visible .image-card-body { background: #39353b; }
.dark-page .image-card:hover strong, .dark-page .image-card:focus-visible strong { color: var(--accent); }
.dark-page .image-card:hover small, .dark-page .image-card:focus-visible small { color: #fff; }
.dark-page .gallery figure { background: #2b292d; }
.dark-page .button { border-color: var(--accent); background: var(--accent); color: #fff; }
.dark-page .button:hover { border-color: #fff; background: #fff; color: var(--ink); }
.dark-page .button.outline { border-color: #fff; background: transparent; color: #fff; }
.dark-page .button.outline:hover { background: #fff; color: var(--ink); }

.mono-copy main p, .mono-copy main small { font-family: "Courier New", Courier, monospace; }

@media (max-width: 900px) {
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  main { scroll-margin-top: 80px; }
  .header-inner { justify-content: space-between; min-height: 80px; padding-block: .55rem; }
  .brand img { width: 105px; height: auto; }
  .menu-toggle { display: flex; }
  .site-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 0; padding: .5rem 1.25rem 1rem; background: #000; box-shadow: 0 .7rem 1rem rgb(0 0 0 / 20%); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: .7rem 0; font-size: .9rem; }
  .split { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-visual { max-width: 320px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .image-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
  .container { width: min(100% - 2rem, 1180px); }
  .work-grid { grid-template-columns: 1fr; }
  .image-card img { aspect-ratio: 5 / 4; }
  .gallery { columns: 1; }
  .photo-browser__toolbar { justify-content: center; padding: .5rem; }
  .photo-browser__tools { justify-content: center; }
  .photo-browser__caption { font-size: .82rem; }
}
