:root {
  --black: #111111;
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.68);
  --line: rgba(255, 255, 255, 0.16);
  --content: 1180px;
  --narrow: 760px;
  --header-height: 4.75rem;
  --page-pad: clamp(1.25rem, 4vw, 3rem);
  --section-x-pad: clamp(1.75rem, 7vw, 7rem);
  --section-pad: clamp(4.5rem, 10vw, 8rem);
}

[x-cloak] {
  display: none !important;
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.page-enter {
  animation: pageFadeIn 620ms ease both;
}

.page-enter-delay {
  animation-delay: 120ms;
}

.reveal-section {
  opacity: 0;
  transition: opacity 900ms ease;
  will-change: opacity;
}

.reveal-section.is-visible {
  opacity: 1;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: "Raleway", Arial, sans-serif;
  line-height: 1.65;
}

.menu-is-open body {
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  padding: 0 var(--page-pad);
  background: var(--black);
  color: var(--white);
}

.brand {
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 500;
}

.desktop-nav a,
.drawer-nav a {
  transition: color 160ms ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible,
.drawer-nav a:hover,
.drawer-nav a:focus-visible {
  color: currentColor;
}

.menu-button {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
}

.menu-button span {
  display: block;
  width: 1.25rem;
  height: 1px;
  margin: 0.24rem auto;
  background: var(--white);
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: rgba(17, 17, 17, 0.28);
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 40;
  display: flex;
  width: min(84vw, 23rem);
  height: 100vh;
  flex-direction: column;
  gap: 3rem;
  padding: 1.25rem var(--page-pad) 2rem;
  background: var(--black);
  color: var(--white);
}

.drawer-close {
  align-self: flex-end;
  padding: 0.75rem 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 600;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.4;
}

.drawer-nav a {
  padding: 0.35rem 0;
}

.drawer-enter,
.drawer-leave {
  transition: transform 220ms ease;
}

.drawer-enter-start,
.drawer-leave-end {
  transform: translateX(100%);
}

.drawer-enter-end,
.drawer-leave-start {
  transform: translateX(0);
}

.hero {
  display: grid;
  width: 100%;
  min-height: calc(100vh - var(--header-height));
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  margin: 0;
  padding: 0;
}

.hero-image-frame {
  width: 100%;
  height: 100%;
  max-height: calc(100vh - var(--header-height));
  overflow: hidden;
}

.hero-image-frame picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-image-frame img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: calc(100vh - var(--header-height));
  object-fit: cover;
  object-position: 50% 42%;
}

.hero-copy {
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: center;
  max-width: none;
  padding: clamp(3rem, 7vw, 6rem) var(--page-pad);
  background: var(--black);
  color: var(--white);
}

.eyebrow,
.section-kicker {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 1.5rem;
}

h1,
h2 {
  letter-spacing: -0.06em;
  line-height: 1;
}

h1 {
  max-width: 8ch;
  font-size: clamp(2.4rem, 5.25vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.055em;
}

h2 {
  font-weight: 400;
  letter-spacing: -0.035em;
}

.hero-subtitle {
  max-width: 30rem;
  margin-top: clamp(1rem, 2vw, 1.5rem);
  color: var(--muted);
  font-size: clamp(0.95rem, 1vw, 1rem);
}

.button-link {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
  padding: 0.9rem 1.35rem;
  border: 1px solid var(--muted);
  background: transparent;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  transition: border-color 160ms ease, color 160ms ease;
}

.button-link:hover,
.button-link:focus-visible {
  border-color: var(--white);
  color: var(--white);
}

.section {
  width: 100%;
  margin: 0;
  padding: var(--section-pad) var(--section-x-pad);
  border-top: 1px solid var(--line);
}

.section-heading {
  display: block;
  max-width: none;
  margin: 0 0 clamp(2rem, 4vw, 3rem);
}

.section-heading.centered {
  display: block;
  max-width: none;
  text-align: left;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.bio-copy {
  max-width: var(--narrow);
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.15vw, 1.12rem);
}

.bio-copy p + p {
  margin-top: 1.15rem;
}

.portfolio-section {
  color: var(--white);
}

.portfolio-grid {
  display: grid;
  max-width: none;
  margin: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}

.media-card {
  background: var(--black);
}

.photo-card {
  display: grid;
}

.photo-card picture {
  display: block;
  width: 100%;
  height: 100%;
}

.photo-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 20rem;
  object-fit: cover;
}

.photo-card.wide {
  grid-column: span 2;
}

.photo-card.wide img {
  aspect-ratio: 16 / 7;
  object-position: 50% 45%;
}

.photo-card.tall img {
  aspect-ratio: 4 / 3;
  object-position: 50% 36%;
}

.video-card {
  position: relative;
  aspect-ratio: 16 / 9;
}

.video-card iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.contact-section {
  min-height: auto;
}

.contact-panel {
  max-width: none;
  margin: 0;
  text-align: left;
}

.contact-line {
  font-size: 1rem;
  line-height: 1.6;
}

.contact-line span {
  font-weight: 600;
  color: var(--white);
}

.email-link {
  color: var(--muted);
  font-size: inherit;
  font-weight: 400;
  letter-spacing: 0;
  line-height: inherit;
  overflow-wrap: anywhere;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.75rem;
  margin-top: clamp(2rem, 5vw, 3.25rem);
}

.social-icon {
  display: inline-grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--white);
  transition: border-color 160ms ease, background 160ms ease;
}

.social-icon:hover,
.social-icon:focus-visible {
  border-color: var(--white);
}

.social-icon svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 1.7;
}

@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .hero {
    height: auto;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-image-frame {
    width: 100%;
    max-width: none;
    height: auto;
  }

  .hero-image-frame img {
    width: 100%;
    max-width: none;
    height: 50vh;
    min-height: 0;
    object-fit: cover;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .photo-card.wide {
    grid-column: span 1;
  }
}

@media (max-width: 540px) {
  .brand {
    max-width: 10rem;
  }

  .hero {
    padding-top: 0;
  }

  .hero-image-frame img {
    height: 50vh;
  }

  h1 {
    font-size: clamp(1.9rem, 9vw, 2.75rem);
  }

  h2 {
    font-size: clamp(1.65rem, 8vw, 2.25rem);
  }

  .button-link {
    align-self: stretch;
    width: 100%;
  }

  .photo-card img {
    min-height: 16rem;
  }

  .contact-panel {
    text-align: left;
  }

  .social-links {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-enter,
  .page-enter-delay {
    animation: none;
  }

  .reveal-section,
  .reveal-section.is-visible {
    opacity: 1;
    transition: none;
  }
}
