:root {
  --ink: #15233b;
  --muted: #6d746e;
  --paper: #f3f1eb;
  --soft: #e8e5dd;
  --line: rgba(29, 33, 31, 0.18);
  --accent: #e7a9bb;
  --dark: #111d33;
  --mono: "DM Mono", monospace;
  --sans: "Manrope", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

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

button {
  color: inherit;
  font: inherit;
}

.site-shell {
  overflow: hidden;
}

.site-header,
.site-footer,
.section {
  padding-left: clamp(24px, 5vw, 76px);
  padding-right: clamp(24px, 5vw, 76px);
}

.site-header {
  align-items: center;
  background: var(--paper);
  display: flex;
  height: 76px;
  justify-content: space-between;
  position: relative;
  z-index: 10;
}

.brand {
  align-items: center;
  display: flex;
  font-size: 12px;
  font-weight: 700;
  gap: 14px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.brand > span:first-child {
  align-items: center;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  font-family: var(--mono);
  height: 34px;
  justify-content: center;
  letter-spacing: -0.12em;
  width: 34px;
}

.site-nav {
  align-items: center;
  display: flex;
  font-family: var(--mono);
  font-size: 11px;
  gap: 32px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-nav a,
.social-links a,
.site-footer a {
  transition: color 180ms ease;
}

.site-nav a:hover,
.social-links a:hover,
.site-footer a:hover {
  color: #a85f79;
}

.social-menu {
  position: relative;
}

.social-menu summary {
  cursor: pointer;
  list-style: none;
  transition: color 180ms ease;
}

.social-menu summary::-webkit-details-marker {
  display: none;
}

.social-menu summary span {
  display: inline-block;
  margin-left: 4px;
  transition: transform 180ms ease;
}

.social-menu[open] summary span {
  transform: rotate(45deg);
}

.social-menu summary:hover {
  color: #a85f79;
}

.social-dropdown {
  background: var(--paper);
  border: 1px solid var(--line);
  display: grid;
  gap: 14px;
  min-width: 142px;
  padding: 16px;
  position: absolute;
  right: 0;
  top: calc(100% + 18px);
}

.social-dropdown a {
  white-space: nowrap;
}

.menu-toggle {
  background: none;
  border: 0;
  cursor: pointer;
  display: none;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero {
  color: #f4f2ec;
  min-height: calc(100svh - 76px);
  overflow: hidden;
  position: relative;
}

.hero-image,
.hero-overlay {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(13, 20, 20, 0.65) 0%, rgba(13, 20, 20, 0.24) 55%, rgba(13, 20, 20, 0.16) 100%);
}

.hero-content,
.hero-footer {
  left: clamp(24px, 5vw, 76px);
  position: absolute;
  right: clamp(24px, 5vw, 76px);
  z-index: 1;
}

.hero-content {
  bottom: clamp(132px, 18vw, 190px);
  animation: hero-content-in 720ms 120ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  margin: 0 0 22px;
  text-transform: uppercase;
}

.hero-footer a {
  margin-left: auto;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(54px, 8vw, 118px);
  font-weight: 500;
  letter-spacing: -0.09em;
  line-height: 0.92;
  margin-bottom: 26px;
}

.hero h1 {
  line-height: 1.04;
}

.hero-title-long {
  font-size: clamp(52px, 6.6vw, 96px);
  line-height: 1.02;
  max-width: 1050px;
}

.hero-intro {
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 30px;
  max-width: 440px;
}

.text-button {
  align-items: center;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  display: flex;
  font-family: var(--mono);
  font-size: 11px;
  gap: 11px;
  letter-spacing: 0.11em;
  padding: 0;
  text-transform: uppercase;
}

.play-dot {
  align-items: center;
  background: var(--accent);
  border-radius: 50%;
  color: var(--dark);
  display: flex;
  font-size: 8px;
  height: 30px;
  justify-content: center;
  transition: transform 180ms ease;
  width: 30px;
}

.text-button:hover .play-dot {
  transform: scale(1.14);
}

.hero-footer {
  align-items: center;
  border-top: 1px solid rgba(244, 242, 236, 0.38);
  bottom: 0;
  display: flex;
  font-family: var(--mono);
  font-size: 10px;
  justify-content: space-between;
  letter-spacing: 0.09em;
  padding-bottom: 24px;
  padding-top: 24px;
  text-transform: uppercase;
}

.hero-footer span {
  margin-left: 6px;
}

.section {
  padding-bottom: clamp(96px, 13vw, 190px);
  padding-top: clamp(96px, 13vw, 190px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(170px, 1fr) minmax(0, 2fr);
  margin-bottom: 64px;
}

.section h2 {
  font-size: clamp(42px, 5.8vw, 80px);
  font-weight: 500;
  letter-spacing: -0.085em;
  line-height: 0.98;
  margin-bottom: 0;
}

.project-grid {
  display: grid;
  gap: 60px 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-card:nth-child(2n) {
  transition-delay: 90ms;
}

.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateX(-34px);
  transition: opacity 720ms cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 720ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateX(0);
}

.project-card-featured {
  grid-column: 1 / -1;
}

.project-image-wrap {
  background: var(--dark);
  border: 0;
  cursor: pointer;
  display: block;
  overflow: hidden;
  padding: 0;
  position: relative;
  text-align: left;
  width: 100%;
}

.project-image-wrap img {
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  transition: opacity 300ms ease, transform 600ms ease;
  width: 100%;
}

.project-image-wrap:hover img {
  opacity: 0.72;
  transform: scale(1.035);
}

.project-number {
  color: #fff;
  font-family: var(--mono);
  font-size: 10px;
  left: 16px;
  letter-spacing: 0.08em;
  position: absolute;
  top: 14px;
}

.project-play {
  align-items: center;
  background: var(--accent);
  border-radius: 50%;
  color: var(--dark);
  display: flex;
  font-size: 11px;
  height: 48px;
  justify-content: center;
  left: 50%;
  opacity: 0;
  padding-left: 3px;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -40%);
  transition: opacity 240ms ease, transform 240ms ease;
  width: 48px;
}

.project-image-wrap:hover .project-play {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.project-info {
  display: flex;
  justify-content: space-between;
  padding-top: 16px;
}

.project-info h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.05em;
  margin-bottom: 6px;
}

.project-info p,
.project-year {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  margin-bottom: 0;
  text-transform: uppercase;
}

.project-info .project-location {
  color: var(--ink);
  font-size: 10px;
  margin-top: 8px;
}

.about {
  background: #242a27;
  color: #f1f0eb;
}

.archive {
  background: var(--soft);
}

.archive-page {
  animation: page-enter 620ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
  min-height: 100svh;
}

.archive-page.is-settled {
  animation: none;
  opacity: 1;
  transform: translateY(0);
}

.archive-hero {
  background: var(--soft);
  min-height: calc(100svh - 76px);
  position: relative;
}

.archive-title-card {
  left: 50%;
  position: absolute;
  text-align: center;
  top: 50%;
  transform: translate(-50%, -50%);
}

.archive-title,
.archive-coming-soon {
  font-family: var(--mono);
  margin: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.archive-hero .archive-title {
  color: var(--ink);
  font-size: clamp(10px, 1.1vw, 13px);
  font-weight: 400;
  letter-spacing: 0.24em;
  line-height: 1;
}

.archive-coming-soon {
  font-size: clamp(18px, 2.2vw, 28px);
  letter-spacing: 0.3em;
  margin-top: 20px;
}

.archive-years {
  background: var(--paper);
}

.archive-year {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.archive-year h2 {
  max-width: 760px;
}

.archive-copy {
  padding-top: 12px;
}

.archive-copy p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.archive-placeholder {
  border-top: 1px solid var(--line);
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  margin-top: 50px;
  padding-top: 18px;
  text-transform: uppercase;
}

.archive-year .archive-placeholder {
  margin-top: 54px;
  max-width: 760px;
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) minmax(260px, 0.8fr);
  gap: 60px;
}

.about-copy {
  max-width: 540px;
  padding-top: 8px;
}

.about-copy p {
  color: rgba(241, 240, 235, 0.78);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.75;
  margin-bottom: 20px;
}

.text-link,
.social-links a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.text-link {
  display: inline-block;
  margin-top: 16px;
}

.text-link span,
.social-links span,
.site-nav span,
.site-footer span {
  color: var(--accent);
}

.contact {
  background: var(--soft);
}

.contact-details {
  padding-top: 12px;
}

.contact-details > p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.email-link {
  border-bottom: 1px solid var(--ink);
  display: inline-block;
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 600;
  letter-spacing: -0.06em;
  margin-top: 18px;
  padding-bottom: 5px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 62px;
}

.site-footer {
  align-items: center;
  background: var(--dark);
  color: #f2f0ea;
  display: flex;
  font-family: var(--mono);
  font-size: 9px;
  justify-content: space-between;
  letter-spacing: 0.07em;
  min-height: 98px;
  text-transform: uppercase;
}

.site-footer p {
  color: rgba(242, 240, 234, 0.58);
  margin: 0;
}

.footer-brand > span:first-child {
  background: #f2f0ea;
  color: var(--dark);
}

.project-modal {
  background: var(--dark);
  border: 0;
  color: #f2f0ea;
  inset: 0;
  margin: auto;
  max-height: none;
  max-width: none;
  padding: 0;
  position: fixed;
  width: min(1100px, calc(100vw - 40px));
}

.project-modal[open] {
  animation: modal-backdrop-in 360ms ease both;
}

.project-modal[open] .modal-stage,
.project-modal[open] .modal-caption {
  animation: modal-content-in 560ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.project-modal.is-closing {
  animation: modal-backdrop-out 280ms ease both;
}

.project-modal.is-closing .modal-stage,
.project-modal.is-closing .modal-caption {
  animation: modal-content-out 280ms ease both;
}

.project-modal::backdrop {
  background: rgba(9, 11, 10, 0.88);
}

.modal-close {
  background: none;
  border: 0;
  bottom: 10px;
  color: #f2f0ea;
  cursor: pointer;
  font-size: 34px;
  position: absolute;
  right: 14px;
  z-index: 2;
}

.modal-stage {
  background: #070808;
  overflow: hidden;
  position: relative;
}

.modal-stage img {
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  opacity: 0.52;
  width: 100%;
}

.modal-video {
  aspect-ratio: 16 / 9;
  border: 0;
  display: none;
  width: 100%;
}

.modal-stage.has-video .modal-video {
  display: block;
}

.modal-stage.has-video img,
.modal-stage.has-video .modal-placeholder {
  display: none;
}

.modal-external-link {
  color: var(--accent);
  display: none;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  margin-top: 14px;
  text-transform: uppercase;
}

.modal-stage.has-external .modal-external-link {
  display: inline-block;
}

.modal-placeholder {
  left: 50%;
  position: absolute;
  text-align: center;
  top: 50%;
  transform: translate(-50%, -50%);
}

.modal-play {
  align-items: center;
  background: var(--accent);
  border-radius: 50%;
  color: var(--dark);
  display: flex;
  height: 62px;
  justify-content: center;
  margin: 0 auto;
  padding-left: 4px;
  width: 62px;
}

.modal-placeholder p {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  margin-bottom: 0;
  margin-top: 18px;
  text-transform: uppercase;
}

.modal-caption {
  align-items: start;
  display: flex;
  justify-content: space-between;
  min-height: 138px;
  padding: 22px 74px 24px 24px;
  position: relative;
}

.modal-caption .eyebrow {
  color: var(--accent);
  margin-bottom: 6px;
}

.modal-caption h2 {
  font-size: 32px;
  letter-spacing: -0.08em;
  margin: 0;
}

.modal-caption > p {
  color: rgba(242, 240, 234, 0.64);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  margin: 0;
  position: absolute;
  right: 24px;
  top: 24px;
}

@keyframes modal-backdrop-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes modal-content-in {
  from {
    opacity: 0;
    transform: translateY(26px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes modal-backdrop-out {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@keyframes modal-content-out {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  to {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
}

@keyframes page-enter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-content-in {
  from {
    opacity: 0;
    transform: translateX(-34px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .project-modal[open],
  .project-modal[open] .modal-stage,
  .project-modal[open] .modal-caption,
  .project-modal.is-closing,
  .project-modal.is-closing .modal-stage,
  .project-modal.is-closing .modal-caption {
    animation-duration: 1ms;
  }

  .archive-page {
    animation-duration: 1ms;
  }

  .hero-content {
    animation-duration: 1ms;
  }

  .reveal-ready [data-reveal] {
    transition-duration: 1ms;
  }
}

@media (max-width: 700px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    align-items: start;
    background: var(--paper);
    border-top: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 20px;
    left: 0;
    padding: 24px;
    position: absolute;
    right: 0;
    top: 76px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 260ms ease, transform 260ms ease, visibility 260ms ease;
    visibility: hidden;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }

  .social-menu {
    border-left: 0;
    margin-left: 0;
    padding-left: 0;
    width: 100%;
  }

  .social-dropdown {
    border: 0;
    border-left: 1px solid var(--line);
    gap: 16px;
    margin-top: 16px;
    padding: 2px 0 2px 16px;
    position: static;
  }

  .hero {
    min-height: calc(100svh - 76px);
  }

  .hero-image {
    object-position: 58% center;
  }

  .hero-content {
    bottom: 130px;
  }

  .hero h1 {
    line-height: 1.04;
  }

  .hero-title-long {
    font-size: clamp(46px, 12.2vw, 64px);
  }

  .hero-intro {
    font-size: 14px;
    max-width: 300px;
  }

  .section-heading,
  .about-grid,
  .contact-grid,
  .archive-grid {
    display: block;
  }

  .section-heading .eyebrow,
  .about .eyebrow,
  .contact .eyebrow {
    margin-bottom: 26px;
  }

  .project-grid {
    display: block;
    margin-top: 44px;
  }

  .project-card {
    margin-top: 42px;
  }

  .about-copy,
  .contact-details,
  .archive-copy {
    margin-top: 38px;
    padding-top: 0;
  }

  .site-footer {
    align-items: start;
    flex-direction: column;
    gap: 14px;
    padding-bottom: 24px;
    padding-top: 24px;
  }

  .site-footer .footer-brand {
    display: none;
  }

  .modal-caption {
    align-items: start;
    display: block;
    min-height: 0;
    padding-bottom: 72px;
    padding-right: 24px;
  }

  .modal-caption > p {
    margin-top: 16px;
    position: static;
  }
}
