:root {
  --ink: #141414;
  --muted: #4b5563;
  --soft: #6b7280;
  --line: #e6e6e6;
  --blue: #78b0e9;
  --blue-ink: #145a94;
  --bg: #ffffff;
  --gap: 0.875rem;
  --header: 4.5rem;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
}

h1,
h2,
h3 {
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

p {
  text-wrap: pretty;
}

a {
  color: inherit;
}

a:hover {
  color: var(--blue-ink);
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

::selection {
  background: #d7ebfa;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 0.85rem;
  text-decoration: none;
}

.skip:focus {
  top: 0.6rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(1480px, calc(100% - 2.5rem));
  margin-inline: auto;
}

@media (min-width: 900px) {
  .wrap {
    width: min(1480px, calc(100% - 4.5rem));
  }
}

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 0.85rem 0;
}

.header-bar {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1480px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.brand {
  display: block;
  flex: 0 1 auto;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.brand img {
  display: block;
  width: min(46vw, 18rem);
  height: auto;
  margin: 0;
}

.header-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-left: auto;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  background: #fff;
  border: 1px solid #d8d8d8;
  color: var(--ink);
  cursor: pointer;
}

html.js .nav-toggle {
  display: inline-flex;
}

.nav-bars,
.nav-bars::before,
.nav-bars::after {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: currentColor;
  position: relative;
}

.nav-bars::before,
.nav-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-bars::before {
  top: -6px;
}

.nav-bars::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-nav {
  display: none;
  width: 100%;
}

.site-nav.is-open {
  display: block;
}

.site-nav {
  width: 100%;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0.55rem 0 0.15rem;
  text-align: right;
}

.section-title {
  margin: 2.4rem 0 0.35rem;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
}

.lede {
  margin: 0 0 1rem;
  color: var(--blue-ink);
  font-size: 0.98rem;
}

.site-nav a {
  display: inline-block;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.98rem;
}

.photo-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0 0 3rem;
}

.photo-grid .shot {
  margin: 0;
  height: 100%;
}

.photo-grid .row {
  align-items: stretch;
  gap: 0;
}

.photo-grid .shot-btn {
  height: 100%;
  background: #111;
}

.photo-grid .shot-btn img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-video {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  border: 0;
  outline: 0;
  background: #000;
  cursor: pointer;
}

.reel {
  position: relative;
  height: calc(100svh - 9.5rem);
  min-height: 24rem;
  background: #111;
  overflow: hidden;
}

.reel-stage,
.reel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.reel-slide {
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.15s ease;
}

.reel-slide.is-on {
  opacity: 1;
  animation-duration: 4.6s;
  animation-timing-function: linear;
  animation-fill-mode: both;
}

.reel-slide.is-on[data-drift="0"] {
  animation-name: reel-zoom;
}

.reel-slide.is-on[data-drift="1"] {
  animation-name: reel-pan-left;
}

.reel-slide.is-on[data-drift="2"] {
  animation-name: reel-pan-right;
}

.reel-slide.is-on[data-drift="3"] {
  animation-name: reel-rise;
}

@keyframes reel-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.12); }
}

@keyframes reel-pan-left {
  from { transform: scale(1.14) translate3d(2.5%, 0, 0); }
  to { transform: scale(1.14) translate3d(-2.5%, 0, 0); }
}

@keyframes reel-pan-right {
  from { transform: scale(1.14) translate3d(-2.5%, 0, 0); }
  to { transform: scale(1.14) translate3d(2.5%, 0, 0); }
}

@keyframes reel-rise {
  from { transform: scale(1.12) translate3d(0, 2%, 0); }
  to { transform: scale(1.12) translate3d(0, -2%, 0); }
}

.reel-pause {
  position: absolute;
  right: 0.9rem;
  bottom: 0.9rem;
  z-index: 2;
  border: 0;
  background: rgba(255, 255, 255, 0.88);
  color: #141414;
  cursor: pointer;
  font: inherit;
  padding: 0.35rem 0.75rem;
  opacity: 0;
}

.reel:hover .reel-pause,
.reel-pause:focus {
  opacity: 1;
}

.strip {
  overflow: hidden;
  margin: 0 0 0.4rem;
}

.strip-track {
  display: flex;
  width: max-content;
  animation: strip-move linear infinite;
}

.strip-set {
  display: flex;
  gap: 0.55rem;
  padding-right: 0.55rem;
}

.strip .shot {
  flex: none;
  width: calc((100vw - 2.8rem) / 3);
  height: calc((100vw - 2.8rem) / 3 * 0.72);
  min-height: 0;
}

.strip .shot-btn,
.strip .shot-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.strip:hover .strip-track,
.strip:focus-within .strip-track {
  animation-play-state: paused;
}

@keyframes strip-move {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 700px) {
  .reel {
    height: calc(100svh - 8rem);
  }

}

@media (prefers-reduced-motion: reduce) {
  .reel-slide,
  .reel-slide.is-on {
    animation: none;
    transition: none;
  }

  .strip {
    overflow-x: auto;
  }

  .strip-track {
    animation: none;
  }
}

.section-block {
  margin: 0 0 3.25rem;
}

.section-block h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--blue-ink);
}

main {
  min-height: calc(100vh - 14rem);
}

.hero {
  padding: 1.75rem 0 0.25rem;
  text-align: center;
}

.tagline {
  margin: 0 auto;
  max-width: 28rem;
  color: var(--muted);
  font-size: 1.05rem;
  text-wrap: balance;
}

.folio-index {
  margin: 3.5rem 0 1rem;
}

.kicker {
  margin: 0 0 0.75rem;
  color: var(--soft);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.folio-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.folio-list a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 2.4rem 0 2.8rem;
  border-bottom: 1px solid var(--line);
  text-align: center;
  text-decoration: none;
  color: inherit;
}

.folio-list a:hover {
  background: #f7f7f7;
  color: inherit;
}

.folio-list a:hover h3 {
  color: var(--blue-ink);
}

.folio-list h3 {
  margin: 0;
  font-size: clamp(1.15rem, 1.5vw, 1.45rem);
  font-weight: 700;
}

.folio-summary {
  margin: 0.15rem 0 0;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1rem;
}

.folio-thumb {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 1.15rem;
}

.folio-thumb img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 36rem;
}

.page-head {
  max-width: 40rem;
  margin: 2.6rem 0 1.6rem;
}

.page-head h1,
.prose h1,
.split h1 {
  margin: 0 0 0.9rem;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
}

.lede,
.prose p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.65;
}

.prose p:last-child {
  margin-bottom: 0;
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.55rem;
  list-style: none;
  margin: 0 0 1.1rem;
  padding: 0;
  color: var(--soft);
  font-size: 0.9rem;
}

.crumbs li {
  display: inline-flex;
  gap: 0.55rem;
}

.crumbs li:not(:last-child)::after {
  content: "/";
  color: #c8c8c8;
}

.crumbs a {
  color: inherit;
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--blue-ink);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 26rem), 1fr));
  gap: var(--gap);
  align-items: start;
}

.gallery.is-justified {
  display: flex;
  flex-direction: column;
}

.row {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
}

.shot {
  position: relative;
  margin: 0;
}

.shot-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #f3f3f3;
  line-height: 0;
  cursor: zoom-in;
  color: inherit;
}

.shot-btn img {
  display: block;
  width: 100%;
  height: auto;
}

.shot-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 2rem 0.8rem 0.7rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.62));
  color: #fff;
  font-size: 0.9rem;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.shot:hover .shot-caption,
.shot:focus-within .shot-caption {
  opacity: 1;
}

.empty {
  margin: 0.5rem 0 3rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--soft);
}

.pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
  border-top: 1px solid var(--line);
}

.pager a {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.2rem 0 0.2rem;
  text-decoration: none;
  color: inherit;
}

.pager-next {
  text-align: right;
}

.pager-kicker {
  color: var(--soft);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pager-title {
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.about-layout,
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
  margin: 2.6rem 0 1rem;
}

.about-layout figure {
  margin: 0;
}

.about-layout img {
  display: block;
  width: 100%;
  height: auto;
}

.prose-only {
  max-width: 40rem;
  margin: 2.6rem 0 1rem;
}

@media (max-width: 800px) {
  .about-layout,
  .split {
    grid-template-columns: 1fr;
  }
}

.contact-details {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
}

.contact-details li {
  margin: 0.4rem 0;
}

.contact-details a {
  color: var(--blue-ink);
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.25rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #d5d5d5;
  background: transparent;
  color: var(--ink);
  font: inherit;
  padding: 0.65rem 0;
  border-radius: 0;
}

.contact-form textarea {
  min-height: 9rem;
  border: 1px solid #d5d5d5;
  padding: 0.75rem;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue);
}

.contact-form button {
  justify-self: start;
  margin-top: 0.4rem;
  background: var(--ink);
  color: #fff;
  border: 0;
  padding: 0.9rem 1.35rem;
  font: inherit;
  cursor: pointer;
}

.contact-form button:hover {
  background: var(--blue-ink);
}

.form-note,
.form-status {
  margin: 0;
  color: var(--soft);
  font-size: 0.92rem;
}

.site-footer {
  margin-top: 4rem;
  padding: 1.5rem 0 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-size: 0.92rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  flex-wrap: wrap;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--blue-ink);
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-contact a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  color: var(--ink);
}

.footer-contact a:hover {
  color: var(--blue-ink);
}

.footer-contact svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.missing {
  margin: 4rem auto;
  max-width: 36rem;
}

.missing h1 {
  margin: 0 0 0.8rem;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
}

.missing p {
  color: var(--muted);
}

.missing a {
  color: var(--blue-ink);
}

dialog.lightbox {
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  margin: 0;
  padding: 0;
  border: 0;
  background: #fff;
}

dialog.lightbox::backdrop {
  background: rgba(255, 255, 255, 0.96);
}

.lightbox-frame {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4.25rem 4.5rem 4rem;
}

.lightbox-figure {
  margin: 0;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-figure img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(1200px, 100%);
  max-height: calc(100vh - 9.5rem);
  object-fit: contain;
}

.lightbox-figure figcaption {
  margin: 0.85rem 0 0;
  max-width: 40rem;
  text-align: center;
  color: var(--muted);
}

.lightbox-count {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1rem;
  margin: 0;
  text-align: center;
  color: var(--soft);
  font-size: 0.85rem;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid #e4e4e4;
  background: #fff;
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.lightbox-close {
  top: 1rem;
  right: 1rem;
}

.lightbox-prev {
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  border-color: var(--blue);
  color: var(--blue-ink);
}

@media (max-width: 700px) {
  .lightbox-frame {
    padding: 3.5rem 0.5rem 5.25rem;
  }

  .lightbox-prev,
  .lightbox-next {
    top: auto;
    bottom: 0.75rem;
    transform: none;
  }

  .lightbox-prev {
    left: 0.75rem;
  }

  .lightbox-next {
    right: 0.75rem;
  }

  .lightbox-figure img {
    max-height: calc(100vh - 8.5rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .shot-caption {
    transition: none;
  }
}
