:root {
  --ink: #000000;
  --paper: #eae9e4;
  --paper-deep: #eae9e4;
  --stone: #757f6a;
  --line: rgba(0, 0, 0, 0.18);
  --white: #ffffff;
  --font-main: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-main);
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

a,
button,
input,
textarea {
  font: inherit;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  padding: 24px clamp(18px, 4vw, 54px);
  color: var(--white);
}

.brand-menu {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  border: 0;
  padding: 4px;
  background: transparent;
  color: inherit;
}

.menu-symbol {
  width: 124px;
  height: 124px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.header-logo {
  justify-self: center;
  width: 230px;
}

.header-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.social-link {
  justify-self: end;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.desktop-nav {
  display: flex;
  gap: 28px;
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
}

.desktop-nav a,
.brand-menu,
.close-menu,
.text-link,
.site-footer a,
.social-link {
  position: relative;
}

.desktop-nav a::after,
.text-link::after,
.site-footer a::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 260ms ease;
}

.desktop-nav a:hover::after,
.text-link:hover::after,
.site-footer a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.close-menu {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-transform: uppercase;
  font-size: 12px;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 26px clamp(18px, 4vw, 54px) 46px;
  background: var(--ink);
  color: var(--white);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 260ms ease, transform 260ms ease;
}

.menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.close-menu {
  justify-self: start;
  padding: 0;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.close-menu span {
  position: relative;
  width: 28px;
  height: 28px;
}

.close-menu span::before,
.close-menu span::after {
  position: absolute;
  top: 13px;
  left: 2px;
  width: 24px;
  height: 1px;
  background: currentColor;
  content: "";
}

.close-menu span::before {
  transform: rotate(45deg);
}

.close-menu span::after {
  transform: rotate(-45deg);
}

.close-menu b {
  font-weight: 400;
}

.menu-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
}

.menu-top > a {
  justify-self: end;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.menu-overlay nav {
  display: grid;
  justify-items: center;
  gap: clamp(18px, 2.6vw, 34px);
  margin: auto 0;
}

.menu-overlay nav a {
  display: grid;
  justify-items: center;
  gap: 4px;
  border-bottom: 0;
  padding: 0;
  font-family: Austin, "Times New Roman", serif;
  font-size: clamp(54px, 7vw, 102px);
  font-weight: 400;
  line-height: 0.88;
  text-transform: none;
  transition: color 180ms ease;
}

.menu-overlay nav a:hover {
  color: var(--stone);
}

.menu-overlay nav span,
.section-index,
.eyebrow,
.project-info p,
.project-info span,
.project-list small {
  font-family: "Helvetica Neue", Arial, sans-serif;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.18em;
}

.menu-overlay nav a span {
  font-family: Austin, "Times New Roman", serif;
  font-size: clamp(18px, 1.6vw, 28px);
  letter-spacing: 0;
}

.menu-logo {
  width: 132px;
}

.menu-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.08) 48%, rgba(0, 0, 0, 0.32));
  content: "";
}

.hero-media img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  animation: heroFade 18s infinite;
}

.hero-media img:nth-child(2) {
  animation-delay: 6s;
}

.hero-media img:nth-child(3) {
  animation-delay: 12s;
}

@keyframes heroFade {
  0%, 100% {
    opacity: 0;
  }
  8%, 30% {
    opacity: 1;
  }
  42% {
    opacity: 0;
    transform: scale(1);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  min-height: 100vh;
  padding: 18vh clamp(18px, 4vw, 54px) 9vh;
}

.eyebrow {
  align-self: center;
  margin: 0;
}

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

h1 {
  max-width: 1120px;
  margin-bottom: clamp(42px, 12vh, 118px);
  font-family: var(--font-main);
  font-size: clamp(64px, 12vw, 172px);
  font-weight: 300;
  line-height: 0.88;
  text-transform: uppercase;
}

.hero-bottom {
  position: absolute;
  right: clamp(18px, 4vw, 54px);
  bottom: 9vh;
}

.hero-bottom p {
  margin: 0;
  font-family: var(--font-main);
  font-size: clamp(22px, 3vw, 39px);
  font-weight: 300;
  line-height: 1.08;
}

.text-link {
  width: max-content;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.16em;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 8px;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.18em;
  transform: translateX(-50%);
}

.scroll-cue i {
  position: relative;
  display: block;
  width: 22px;
  height: 18px;
}

.scroll-cue i::before,
.scroll-cue i::after {
  position: absolute;
  top: 7px;
  width: 14px;
  height: 1px;
  background: currentColor;
  content: "";
}

.scroll-cue i::before {
  left: 0;
  transform: rotate(45deg);
}

.scroll-cue i::after {
  right: 0;
  transform: rotate(-45deg);
}

.scroll-cue i {
  color: var(--white);
}

.intro,
.featured,
.services,
.contact {
  padding: clamp(76px, 11vw, 150px) clamp(18px, 4vw, 54px);
}

.intro {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: clamp(28px, 7vw, 110px);
}

.section-index {
  color: var(--stone);
}

.intro h2,
.contact h2,
.section-heading h2 {
  font-family: var(--font-main);
  font-size: clamp(38px, 6.8vw, 98px);
  font-weight: 300;
  line-height: 0.98;
}

.intro p {
  max-width: 760px;
  color: var(--ink);
  font-size: clamp(17px, 2.1vw, 25px);
  font-weight: 300;
  line-height: 1.45;
}

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--stone);
  color: var(--white);
}

.marquee div {
  display: flex;
  width: max-content;
  min-width: 100%;
  gap: 36px;
  padding: 18px 0;
  animation: drift 24s linear infinite;
}

.marquee span {
  font-family: var(--font-main);
  font-size: clamp(32px, 5vw, 76px);
  font-weight: 300;
  white-space: nowrap;
}

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

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(30px, 5vw, 66px);
}

.section-heading h2 {
  margin-bottom: 0;
}

.project-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.75fr);
  gap: clamp(24px, 4vw, 58px);
  align-items: stretch;
}

.project-display {
  display: grid;
  grid-template-rows: minmax(360px, 64vh) auto;
  min-width: 0;
}

.project-image {
  overflow: hidden;
  background: var(--paper-deep);
}

.project-image img {
  height: 100%;
  object-fit: cover;
  transition: opacity 220ms ease, transform 700ms ease;
}

.project-image img.switching {
  opacity: 0;
  transform: scale(1.025);
}

.project-info {
  display: grid;
  grid-template-columns: 0.35fr 1fr auto;
  align-items: baseline;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding: 22px 0 0;
}

.project-info h3 {
  margin-bottom: 0;
  font-family: var(--font-main);
  font-size: clamp(30px, 4vw, 58px);
  font-weight: 300;
}

.project-list {
  align-self: end;
  border-top: 1px solid var(--line);
}

.project-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.project-item span {
  font-family: var(--font-main);
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 300;
  line-height: 1;
}

.project-item.active,
.project-item:hover {
  color: var(--stone);
}

.gallery-strip {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: clamp(12px, 2vw, 24px);
  padding: 0 clamp(18px, 4vw, 54px) clamp(70px, 10vw, 138px);
}

.gallery-strip img {
  height: clamp(260px, 38vw, 620px);
  object-fit: cover;
}

.gallery-strip img:nth-child(2) {
  margin-top: clamp(42px, 10vw, 130px);
}

.services {
  background: var(--ink);
  color: var(--white);
}

.services .section-index {
  color: rgba(255, 255, 255, 0.56);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.service-grid article {
  min-height: 360px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  padding: clamp(22px, 3vw, 40px);
}

.service-grid article:last-child {
  border-right: 0;
}

.service-grid span {
  color: rgba(255, 255, 255, 0.54);
  font-size: 12px;
  letter-spacing: 0.18em;
}

.service-grid h3 {
  margin: 48px 0 18px;
  font-family: var(--font-main);
  font-size: clamp(26px, 2.4vw, 38px);
  font-weight: 300;
  line-height: 1.04;
}

.service-grid p {
  max-width: 420px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  gap: clamp(30px, 8vw, 118px);
  background: var(--paper-deep);
}

.contact-form {
  display: grid;
  gap: 18px;
  align-content: start;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form span {
  color: var(--stone);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.18em;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 12px 0;
  background: transparent;
  color: var(--ink);
  outline: none;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-bottom-color: var(--ink);
}

.contact-form button {
  justify-self: start;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 13px 28px;
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.16em;
}

.form-note {
  min-height: 20px;
  color: var(--stone);
  font-size: 14px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 4vw, 54px);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.18em;
}

.footer-logo {
  width: 128px;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

@media (pointer: fine) {
  body,
  a,
  button,
  input,
  textarea {
    cursor: none;
  }

  .custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    width: 12px;
    height: 12px;
    border: 1px solid var(--white);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: width 180ms ease, height 180ms ease, background 180ms ease, border-color 180ms ease, opacity 180ms ease;
    mix-blend-mode: difference;
  }

  .custom-cursor.visible {
    opacity: 1;
  }

  .custom-cursor.active {
    width: 28px;
    height: 28px;
    border-color: var(--stone);
    background: var(--stone);
    mix-blend-mode: normal;
  }
}

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

  .desktop-nav {
    display: none;
  }

  .menu-overlay,
  .intro,
  .project-stage,
  .contact {
    grid-template-columns: 1fr;
  }

  .menu-overlay {
    align-items: center;
  }

  .hero-bottom,
  .project-info,
  .section-heading {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hero-content {
    padding-top: 24vh;
  }

  h1 {
    margin-bottom: 58px;
  }

  .project-display {
    grid-template-rows: minmax(300px, 54vh) auto;
  }

  .project-info {
    gap: 8px;
  }

  .gallery-strip {
    grid-template-columns: 1fr;
  }

  .gallery-strip img,
  .gallery-strip img:nth-child(2) {
    height: 320px;
    margin-top: 0;
  }

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

  .service-grid article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
}

@media (max-width: 520px) {
  .site-header {
    padding-top: 18px;
  }

  .menu-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  h1 {
    font-size: 58px;
  }

  .intro,
  .featured,
  .services,
  .contact {
    padding-block: 70px;
  }
}
