@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --color-ink: #161616;
  --color-muted: #a1a1a1;
  --color-paper: #ffffff;
  --color-project-paper: #fcfcfc;
  --font-sans: "Inter", Arial, sans-serif;
  --space-page: 16px;
  --space-gallery: 16px;
  --header-height: 52px;
}
* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
  scrollbar-gutter: stable;
  background: var(--color-paper);
}
body {
  margin: 0;
  color: var(--color-ink);
  background: var(--color-paper);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}
.skip-link {
  position: fixed;
  z-index: 20;
  top: 8px;
  left: 8px;
  padding: 12px 16px;
  color: var(--color-paper);
  background: var(--color-ink);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  min-height: var(--header-height);
  padding: 16px var(--space-page);
  background: rgba(255,255,255,.96);
}
.site-header__brand, .site-nav, .site-header__social { line-height: 20px; }
.site-header__brand { justify-self: start; }
.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav__link, .site-header__social a, .site-footer a { transition: opacity .3s ease; }
.site-nav__home { display: none; }
.site-header__social { justify-self: end; display: flex; gap: 24px; }
.site-header__toggle { display: none; }
.site-footer {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  width: 100%;
  margin-inline: auto;
  padding: 0 var(--space-page) 16px;
  line-height: 20px;
  scroll-margin-top: calc(var(--header-height) + 16px);
}
.site-footer__email { grid-column: 1; justify-self: start; }
.site-footer__year { grid-column: 2; justify-self: center; }
.site-footer__social { grid-column: 3; justify-self: end; display: flex; gap: 24px; }
.home-intro, .projects-section, .project-page {
  width: 100%;
}
.home-intro__title, .projects-section__intro {
  width: min(696px, calc(50% - 8px));
  margin: 0;
  font-weight: 400;
}
.home-intro { padding-top: 188px; }
.home-intro__title {
  margin-left: var(--space-page);
  font-size: clamp(24px, 2.78vw, 40px);
  line-height: 1.2;
  letter-spacing: -.025em;
}
.home-reel {
  position: relative;
  background: var(--color-paper);
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 60px 0 0;
  overflow: visible;
  line-height: 0;
}
.home-reel::after {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--color-paper);
  content: "";
  pointer-events: none;
}
.home-reel__video {
  display: block;
  border: 0;
  background: var(--color-paper);
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.projects-section {
  margin: 0 auto;
  padding: 0 var(--space-page);
  scroll-margin-top: calc(var(--header-height) + 16px);
}
.projects-section__intro {
  margin-top: 160px;
  font-size: clamp(18px, 1.67vw, 24px);
  line-height: 1.5;
  letter-spacing: -.012em;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--space-gallery);
  row-gap: 80px;
  margin-top: 60px;
}
.project-card { display: block; min-width: 0; }
.project-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.project-card__image > img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .35s ease;
}
.project-card__caption {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 24px;
  line-height: 24px;
}
.project-card__date { color: var(--color-muted); }
.about-section {
  min-height: 1148px;
  margin: 0 auto;
  padding: 188px var(--space-page) 0;
}
.about-section__copy {
  width: min(815px, calc(50vw - 16px));
  font-size: clamp(20px, 1.67vw, 24px);
  line-height: 1.5;
  letter-spacing: -.012em;
}
.about-section__copy p { margin: 0 0 36px; }
.about-section__copy p:last-child { margin-bottom: 0; }
.project-page__intro {
  margin: 88px auto 0;
  padding: 0 var(--space-page);
}
.project-page__intro h1 {
  margin: 0;
  font-size: clamp(24px, 2.22vw, 32px);
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -.025em;
}
.project-page__description {
  width: min(696px, calc(50% - 8px));
  margin-top: 40px;
  font-size: 16px;
  line-height: 30px;
}
.project-page__description p { margin: 0 0 30px; }
.project-page__description p:last-child { margin-bottom: 0; }
.project-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-gallery);
  margin: 80px auto 0;
  padding: 0 var(--space-page);
}
.project-gallery__item { min-width: 0; margin: 0; overflow: hidden; }
.project-gallery__item--wide { grid-column: 1 / -1; }
.project-gallery__item img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .35s ease, opacity .35s ease;
}
.project-gallery__item--wide img { aspect-ratio: 16 / 9; }
.project-page__next {
  display: inline-block;
  margin: 80px var(--space-page) 0;
  line-height: 20px;
}
.project-page__next span { color: var(--color-muted); }
body[data-page="lions"], body[data-page="swundo"], body[data-page="halfmarathon"], body[data-page="auromeda"] { background: var(--color-project-paper); }
body[data-page="lions"] .site-header, body[data-page="swundo"] .site-header, body[data-page="halfmarathon"] .site-header, body[data-page="auromeda"] .site-header { background: rgba(252,252,252,.96); }
body[data-page="lions"] .site-footer, body[data-page="swundo"] .site-footer, body[data-page="halfmarathon"] .site-footer, body[data-page="auromeda"] .site-footer { background: var(--color-project-paper); }
body[data-page="lions"] .site-footer { margin-top: 240px; }
body[data-page="swundo"] .site-footer { margin-top: 240px; }
body[data-page="halfmarathon"] .site-footer { margin-top: 240px; }
body[data-page="auromeda"] .site-footer { margin-top: 240px; }

.reveal { opacity: 0; transform: translateY(12px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (hover: hover) {
  .site-nav__link:hover, .site-header__social a:hover, .site-footer a:hover, .project-page__next:hover { opacity: .58; }
  .project-card:hover .project-card__image > img, .project-card:focus-visible .project-card__image > img { transform: scale(1.025); }
  .project-gallery__item:hover img { transform: scale(1.02); }
  .project-card:hover .project-card__caption { opacity: .7; }
}
@media (min-width: 1200px) {
  .site-footer { column-gap: 24px; }
  body[data-page="home"] .site-footer { margin-top: 231px; }
  body[data-page="about"] .site-footer { margin-top: 0; }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .home-intro { padding-top: clamp(120px, 13vw, 188px); }
  .home-intro__title, .projects-section__intro { width: min(696px, calc(70% - 8px)); }
  .projects-section__intro { margin-top: 120px; }
  .about-section { min-height: 0; padding-top: 120px; padding-bottom: 180px; }
  .about-section__copy { width: min(815px, 100%); }
  .project-page__intro { margin-top: 72px; }
  .project-page__description { width: min(696px, 100%); }
  .project-gallery { margin-top: 64px; }
  .site-footer { gap: 16px; }
  .site-footer__year { position: static; margin-inline: auto; transform: none; }
  body[data-page="home"] .site-footer { margin-top: 231px; }
  body[data-page="about"] .site-footer { margin-top: 0; }
}
@media (max-width: 1199px) {
  .site-header { grid-template-columns: 1fr auto; align-items: start; }
  .site-header__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    grid-column: 2;
    width: 44px;
    height: 44px;
    border: 0;
    padding: 0;
    color: var(--color-ink);
    background: transparent;
    cursor: pointer;
  }
  .site-header__toggle img { display: block; width: 20px; height: 20px; }
  .site-header__toggle .site-header__icon--close { display: none; }
  .site-header__toggle[aria-expanded="true"] .site-header__icon--menu { display: none; }
  .site-header__toggle[aria-expanded="true"] .site-header__icon--close { display: block; }
  .site-nav {
    display: flex;
    position: fixed;
    z-index: 12;
    inset: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(20px, 4vh, 40px);
    padding: 72px 24px;
    background: var(--color-paper);
    text-align: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-16px);
    transition: opacity .28s ease, transform .32s ease, visibility 0s linear .32s;
  }
  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
  }
  .site-nav__link { padding: 8px; font-size: clamp(24px, 4vw, 40px); line-height: 1.2; }
  .site-nav__home { display: block; }
  .site-header__toggle { position: fixed; z-index: 13; top: 4px; right: 4px; }
  body.menu-open { overflow: hidden; }
  .site-header__social { display: none; }
  body[data-page="lions"] .site-nav, body[data-page="swundo"] .site-nav, body[data-page="halfmarathon"] .site-nav, body[data-page="auromeda"] .site-nav { background: var(--color-project-paper); }
}
@media (max-width: 767px) {
  :root { --space-page: 12px; --space-gallery: 12px; }
  html { scroll-padding-top: calc(var(--header-height) + 12px); }
  .site-header { padding-block: 12px; }
  .skip-link { padding: 12px; }
  .site-footer, .projects-section { scroll-margin-top: calc(var(--header-height) + 12px); }
  .site-header__toggle { top: 0; right: 0; }
  .site-nav { transform: translateY(-12px); }
  .home-intro { padding-top: 112px; }
  .home-intro__title, .projects-section__intro { width: auto; }
  .home-intro__title { margin-right: var(--space-page); font-size: clamp(26px, 8vw, 36px); }
  .home-reel { width: 100%; margin-top: 40px; }
  .projects-section__intro { margin-top: 96px; font-size: 20px; }
  .project-grid { grid-template-columns: 1fr; row-gap: 48px; margin-top: 40px; }
  .project-card__caption { margin-top: 12px; }
  .about-section { min-height: 0; padding-top: 112px; padding-bottom: 120px; }
  .about-section__copy { width: auto; font-size: 20px; line-height: 1.5; }
  .about-section__copy p { margin-bottom: 28px; }
  .project-page__intro { margin-top: 64px; }
  .project-page__intro h1 { line-height: 1.15; }
  .project-page__description { width: auto; margin-top: 28px; line-height: 28px; }
  .project-page__description p { margin-bottom: 28px; }
  .project-gallery { grid-template-columns: 1fr; margin-top: 48px; }
  .project-gallery__item--wide { grid-column: auto; }
  .project-gallery__item img { aspect-ratio: 4 / 3; }
  .project-gallery__item--wide img { aspect-ratio: 16 / 9; }
  .project-page__next { margin-top: 56px; }
  .site-footer {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px clamp(8px, 2.5vw, 12px);
    padding-bottom: 24px;
    font-size: clamp(12px, 4vw, 14px);
  }
  .site-footer__email { grid-column: 1; grid-row: 1; white-space: nowrap; }
  .site-footer__year { grid-column: 1; grid-row: 2; justify-self: start; }
  .site-footer__social { grid-column: 2; grid-row: 1; gap: clamp(8px, 3vw, 16px); white-space: nowrap; }
  body[data-page="home"] .site-footer, body[data-page="about"] .site-footer { margin-top: 120px; }
  body[data-page="lions"] .site-footer, body[data-page="swundo"] .site-footer, body[data-page="halfmarathon"] .site-footer, body[data-page="auromeda"] .site-footer { margin-top: 120px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .site-nav { transition-delay: 0s !important; }
  .reveal { opacity: 1; transform: none; }
}

