:root {
  --ink: #151515;
  --paper: #ffffff;
  --mist: #f2f3f5;
  --red: #de3707;
  --line: rgba(21, 21, 21, 0.16);
  --display: "Montserrat", Arial, sans-serif;
  --body: "Heebo", Arial, sans-serif;
  --page-pad: clamp(1.25rem, 4vw, 4rem);
  --content: 90rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.72;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  background: var(--paper);
  color: var(--ink);
  font-weight: 700;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  min-height: 5.5rem;
  padding: 1rem var(--page-pad);
  color: #fff;
}

.brand,
.main-nav,
.social-links {
  display: flex;
  align-items: center;
}

.brand {
  justify-self: start;
  gap: 0.7rem;
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-logo {
  width: 3.4rem;
  height: 3.4rem;
  object-fit: contain;
  filter: invert(1) drop-shadow(0 1px 8px rgba(0, 0, 0, 0.25));
}

.main-nav {
  gap: clamp(1.25rem, 3vw, 3rem);
}

.main-nav a,
.scroll-cue {
  position: relative;
  font-family: var(--display);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: -0.4rem;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.social-links {
  justify-self: end;
  gap: 0.8rem;
}

.social-links a {
  display: grid;
  width: 2.25rem;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.42);
  border-radius: 50%;
  transition: background 160ms ease, color 160ms ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  background: #fff;
  color: var(--ink);
}

.social-links svg {
  width: 1.05rem;
  fill: currentColor;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: #0d0d0d;
  color: #fff;
}

.hero > img,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero > img {
  object-fit: cover;
  object-position: 52% center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.35) 55%, rgba(0,0,0,0.12) 100%),
    linear-gradient(0deg, rgba(0,0,0,0.55) 0%, transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100svh;
  max-width: var(--content);
  margin: 0 auto;
  padding: 8rem var(--page-pad) 4rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: rgba(255,255,255,0.72);
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--red);
}

h1,
h2,
h3 {
  font-family: var(--display);
  line-height: 0.94;
  text-transform: uppercase;
}

h1 {
  max-width: 8ch;
  margin: 0;
  font-size: clamp(4rem, 11vw, 10rem);
  font-weight: 800;
  letter-spacing: -0.075em;
}

.hero-lead {
  max-width: 34rem;
  margin: 1.75rem 0 0;
  font-size: clamp(1.08rem, 2vw, 1.45rem);
  font-style: italic;
  line-height: 1.45;
}

.scroll-cue {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: max-content;
  margin-top: clamp(3rem, 8vh, 7rem);
}

.scroll-cue svg {
  width: 1.5rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.story,
.gallery-section {
  padding: clamp(5rem, 10vw, 9rem) var(--page-pad);
}

.story {
  background: var(--mist);
}

.section-heading,
.story-layout,
.gallery-grid {
  max-width: var(--content);
  margin-right: auto;
  margin-left: auto;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(3rem, 0.55fr) 1fr;
  align-items: end;
  margin-bottom: clamp(3rem, 7vw, 6rem);
}

.section-number {
  margin: 0;
  color: var(--red);
  font-family: var(--display);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2.9rem, 7vw, 6.3rem);
  font-weight: 800;
  letter-spacing: -0.055em;
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(21rem, 0.75fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.bio-copy {
  min-width: 0;
}

.bio-block {
  padding: clamp(2rem, 4vw, 3.4rem) 0;
  border-top: 1px solid var(--line);
}

.bio-block:first-child {
  padding-top: 0;
  border-top: 0;
}

.bio-block h3,
.final-note h3 {
  margin: 0 0 1.4rem;
  font-size: clamp(1.45rem, 2.5vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.bio-block p {
  max-width: 47rem;
  margin: 0 0 1.15rem;
  font-size: clamp(1rem, 1.15vw, 1.12rem);
}

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

.inline-photo {
  margin: 1rem 0 4rem;
  overflow: hidden;
}

.inline-photo img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.milestone {
  display: grid;
  grid-template-columns: 4.25rem 1fr;
  gap: 1rem;
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
}

.milestone span {
  color: var(--red);
  font-family: var(--display);
  font-weight: 800;
}

.final-note {
  margin-top: 1rem;
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
}

.final-note .eyebrow {
  margin-bottom: 1.2rem;
}

.photo-rail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.photo-rail figure,
.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  background: #d9dbdd;
}

.photo-rail .portrait {
  aspect-ratio: 3 / 4;
}

.photo-rail .tall {
  grid-column: 1 / -1;
  aspect-ratio: 4 / 5;
}

.photo-rail .landscape {
  grid-column: 1 / -1;
  aspect-ratio: 4 / 3;
}

.photo-rail img,
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms cubic-bezier(.2,.65,.25,1);
}

.photo-rail figure:hover img,
.gallery-grid figure:hover img {
  transform: scale(1.025);
}

@media (min-width: 981px) and (prefers-reduced-motion: no-preference) {
  .inline-photo,
  .photo-rail figure,
  .gallery-grid figure {
    animation: image-float 7.5s ease-in-out infinite;
    will-change: transform;
  }

  .photo-rail figure:nth-of-type(even),
  .gallery-grid figure:nth-child(3n + 2) {
    animation-name: image-float-reverse;
    animation-duration: 9s;
    animation-delay: -2.5s;
  }

  .photo-rail figure:nth-of-type(3n),
  .gallery-grid figure:nth-child(3n) {
    animation-duration: 8.5s;
    animation-delay: -5s;
  }
}

@keyframes image-float {
  0%, 100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -5px, 0);
  }
}

@keyframes image-float-reverse {
  0%, 100% {
    transform: translate3d(0, -3px, 0);
  }
  50% {
    transform: translate3d(0, 3px, 0);
  }
}

.photo-rail blockquote {
  grid-column: 1 / -1;
  margin: 0;
  padding: clamp(2rem, 4vw, 3.5rem);
  background: var(--red);
  color: #fff;
}

.photo-rail blockquote p {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.55rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.08;
  text-transform: uppercase;
}

.gallery-section {
  background: var(--ink);
  color: #fff;
}

.section-heading.light .section-number {
  color: var(--red);
}

.gallery-grid {
  display: grid;
  grid-auto-flow: dense;
  grid-auto-rows: 16rem;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}

.gallery-grid .wide {
  grid-column: span 2;
}

.gallery-grid .tall {
  grid-row: span 2;
}

.site-footer {
  padding: clamp(4rem, 8vw, 7rem) var(--page-pad) 2rem;
  border-top: 0.45rem solid var(--red);
  background: #fff;
}

.site-footer > * {
  max-width: var(--content);
  margin-right: auto;
  margin-left: auto;
}

.footer-name {
  display: block;
  width: fit-content;
  font-family: var(--display);
  font-size: clamp(2.8rem, 8vw, 7.5rem);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 0.95;
  text-decoration: none;
  text-transform: uppercase;
}

.footer-logo-link {
  display: block;
  width: fit-content;
  margin-bottom: 1.5rem;
}

.footer-logo {
  width: clamp(4.5rem, 8vw, 7rem);
  height: auto;
}

.site-footer > p {
  margin-top: 1.25rem;
  font-size: clamp(1rem, 2vw, 1.3rem);
  text-align: center;
}

.footer-email {
  display: block;
  width: fit-content;
  margin-top: 0.75rem;
  color: var(--red);
  font-family: var(--display);
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 700;
  text-underline-offset: 0.25em;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: clamp(4rem, 9vw, 8rem);
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
}

.footer-bottom a {
  text-underline-offset: 0.2em;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .story-layout {
    grid-template-columns: 1fr;
  }

  .photo-rail {
    grid-template-columns: repeat(3, 1fr);
  }

  .photo-rail .tall,
  .photo-rail .landscape,
  .photo-rail blockquote {
    grid-column: span 2;
  }

  .photo-rail .portrait {
    grid-column: span 1;
  }

  .gallery-grid {
    grid-auto-rows: 14rem;
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 680px) {
  html {
    scroll-padding-top: 4.5rem;
  }

  .site-header {
    min-height: 4.5rem;
  }

  .brand > span:last-child {
    display: none;
  }

  .brand-logo {
    width: 2.8rem;
    height: 2.8rem;
  }

  .social-links a {
    width: 2rem;
  }

  .hero-content {
    justify-content: flex-end;
    padding-bottom: 3rem;
  }

  .hero > img {
    object-position: 62% center;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.2) 70%),
      linear-gradient(90deg, rgba(0,0,0,0.35), transparent);
  }

  h1 {
    font-size: clamp(3.85rem, 21vw, 6.5rem);
  }

  .hero-lead {
    max-width: 24rem;
    margin-top: 1.15rem;
    font-size: 1.06rem;
  }

  .scroll-cue {
    margin-top: 2.5rem;
  }

  .section-heading {
    grid-template-columns: 2.4rem 1fr;
  }

  .section-heading h2 {
    font-size: clamp(2.7rem, 14vw, 4.2rem);
  }

  .milestone {
    grid-template-columns: 3.7rem 1fr;
  }

  .photo-rail {
    grid-template-columns: 1fr 1fr;
  }

  .photo-rail .tall,
  .photo-rail .landscape,
  .photo-rail blockquote {
    grid-column: 1 / -1;
  }

  .gallery-grid {
    grid-auto-rows: 10rem;
    grid-template-columns: 1fr 1fr;
  }

  .gallery-grid .wide {
    grid-column: 1 / -1;
  }

  .gallery-grid .tall {
    grid-row: span 2;
  }

  .gallery-grid figure:last-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
