:root {
  --paper: #f5f3ef;
  --white: #ffffff;
  --ink: #111111;
  --muted: #555651;
  --line: #a9aaa5;
  --accent: #aa7350;
  --page-pad: clamp(24px, 2.78vw, 40px);
  --content-width: 1360px;
  --font-sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 62px;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.35;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

figure,
h1,
h2,
h3,
p,
ul {
  margin: 0;
}

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

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
  padding: 0 var(--page-pad);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  text-transform: uppercase;
}

.brand,
.site-nav a,
.menu-toggle {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.07em;
}

.brand {
  transition: opacity 160ms ease;
}

.brand:hover,
.brand:focus-visible {
  opacity: 0.58;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  position: relative;
  padding-block: 8px;
}

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

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

.menu-toggle {
  display: none;
  border: 0;
  background: none;
  color: inherit;
  font-family: inherit;
  text-transform: uppercase;
}

.hero {
  display: grid;
  grid-template-columns: minmax(380px, 37.9%) minmax(0, 62.1%);
  min-height: 698px;
  padding: 47px var(--page-pad) 65px;
  background: var(--paper);
}

.hero__intro {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding: 24px 30px 50px;
  text-align: center;
}

.hero__intro h1,
.about__title,
.contact__intro h2 {
  font-size: clamp(42px, 3.34vw, 48px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero__intro h1 {
  margin-bottom: 28px;
}

.hero__intro p {
  color: #484844;
  font-size: 12px;
  line-height: 1.55;
}

.hero__separator {
  display: block;
  width: 22px;
  height: 1px;
  margin: 10px 0 9px;
  background: #8e8e93;
}

.outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 238px;
  min-height: 46px;
  margin-top: 42px;
  padding: 0 18px;
  border: 1px solid #777873;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background-color 180ms ease, color 180ms ease;
}

.outline-button[href]:hover,
.outline-button[href]:focus-visible {
  background: var(--ink);
  color: var(--white);
  outline: 0;
}

.outline-button[aria-disabled="true"] {
  cursor: default;
}

.hero__image {
  min-height: 586px;
  overflow: hidden;
}

.section-pad {
  width: min(100%, calc(var(--content-width) + (var(--page-pad) * 2)));
  margin-inline: auto;
  padding-inline: var(--page-pad);
}

.projects {
  padding-top: 58px;
  padding-bottom: 98px;
}

.section-kicker {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 22px;
  margin-bottom: 51px;
}

.section-kicker h2,
.section-kicker h3 {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.section-kicker > span {
  height: 1px;
  background: var(--line);
}

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

.project-card__image {
  height: auto;
  aspect-ratio: 660 / 427;
  overflow: hidden;
  background: var(--paper);
}

.project-card__image img {
  transition: transform 700ms cubic-bezier(0.2, 0.72, 0.2, 1);
}

.project-card:hover .project-card__image img {
  transform: scale(1.018);
}

.project-card__marker {
  display: grid;
  grid-template-columns: repeat(5, 44px) 1fr;
  align-items: center;
  gap: 7px;
  height: 34px;
  border-bottom: 1px solid var(--line);
  color: #a2a39e;
}

.project-card__marker > span {
  height: 2px;
  background: #dededb;
}

.project-card__marker > span.is-active {
  background: var(--accent);
}

.project-card__marker b {
  justify-self: end;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.1em;
}

.project-card__copy {
  padding-top: 20px;
}

.project-card__copy h3 {
  margin-bottom: 4px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.project-card__copy p {
  color: #393a36;
  font-size: 10px;
  line-height: 1.55;
}

.about {
  width: 100%;
  max-width: none;
  padding-top: 101px;
  padding-bottom: 59px;
  background: var(--paper);
}

.about__grid,
.tools {
  width: min(100%, var(--content-width));
  margin-inline: auto;
}

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(360px, 1fr);
  grid-template-rows: minmax(0, 1fr) auto minmax(0, 1fr);
  column-gap: 54px;
  align-items: stretch;
}

.about__image {
  grid-column: 1;
  grid-row: 1 / -1;
  min-height: 588px;
  overflow: hidden;
}

.about__title {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  margin-bottom: 42px;
  text-align: center;
}

.about__copy {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  max-width: 440px;
  padding-bottom: 3px;
}

.about__copy p {
  color: #494a45;
  font-size: 14px;
  line-height: 1.26;
}

.about__copy p + p {
  margin-top: 18px;
}

.about__copy hr {
  width: 24px;
  height: 1px;
  margin: 28px 0;
  border: 0;
  background: var(--line);
}

.about__copy .about__services {
  color: #353632;
  font-size: 10px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.about__copy .outline-button {
  min-width: 161px;
  margin-top: 30px;
}

.tools {
  margin-top: 51px;
}

.section-kicker--tools {
  margin-bottom: 4px;
}

.tools__grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 1px;
  padding: 0;
  background: #ccc5c5;
  list-style: none;
}

.tool-item {
  display: flex;
  align-items: center;
  flex-direction: column;
  min-width: 0;
  padding: 8px 6px 12px;
  background: var(--paper);
}

.tool-item__icon {
  width: 34px;
  height: 34px;
  margin: 12px 0;
  object-fit: contain;
}

.tool-item__label {
  color: #4c4d49;
  font-size: 10px;
  text-align: center;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.92fr);
  gap: clamp(72px, 9vw, 190px);
  min-height: 956px;
  padding-top: 285px;
  padding-bottom: 180px;
}

.contact__intro {
  padding-left: 89px;
}

.contact__intro h2 {
  font-size: clamp(50px, 4.45vw, 64px);
  line-height: 1;
  white-space: nowrap;
}

.contact__dash {
  display: block;
  width: 24px;
  height: 1px;
  margin: 33px 0 28px;
  background: var(--line);
}

.contact__intro p {
  max-width: 440px;
  color: #484944;
  font-size: 14px;
  line-height: 1.25;
}

.contact__intro p + p {
  margin-top: 18px;
}

.contact-list {
  align-self: start;
  margin: 0;
  font-style: normal;
}

.contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 110px;
  border-bottom: 1px solid var(--line);
}

a.contact-row {
  transition: padding 180ms ease, background-color 180ms ease;
}

a.contact-row:hover,
a.contact-row:focus-visible {
  padding-inline: 12px;
  background: var(--paper);
  outline: 0;
}

.contact-row small,
.contact-row strong {
  display: block;
}

.contact-row small {
  margin-bottom: 16px;
  color: #666762;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.contact-row strong {
  font-size: 14px;
  font-weight: 500;
}

.contact-row b {
  color: #777873;
  font-size: 17px;
  font-weight: 300;
}

.site-footer {
  margin: 0 var(--page-pad);
  padding: 24px 0 31px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 4px;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
    min-height: 610px;
    padding-top: 36px;
    padding-bottom: 48px;
  }

  .hero__image {
    min-height: 510px;
  }

  .project-grid {
    gap-inline: 24px;
  }

  .about__grid {
    grid-template-columns: 1.45fr 1fr;
    column-gap: 36px;
  }

  .about__image {
    min-height: 500px;
  }

  .tools__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .tool-item__label {
    font-size: 11px;
  }

  .contact {
    gap: 60px;
  }

  .contact__intro {
    padding-left: 0;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 56px;
  }

  .site-header {
    position: sticky;
    top: 0;
    height: 56px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    cursor: pointer;
  }

  .menu-toggle__icon,
  .menu-toggle__icon::before,
  .menu-toggle__icon::after {
    display: block;
    width: 18px;
    height: 1px;
    background: currentColor;
    content: "";
    transition: background-color 180ms ease, transform 180ms ease;
  }

  .menu-toggle__icon {
    position: relative;
  }

  .menu-toggle__icon::before,
  .menu-toggle__icon::after {
    position: absolute;
    left: 0;
  }

  .menu-toggle__icon::before {
    transform: translateY(-5px);
  }

  .menu-toggle__icon::after {
    transform: translateY(5px);
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle__icon {
    background: transparent;
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle__icon::before {
    transform: rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle__icon::after {
    transform: rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    inset: 56px 0 auto;
    display: grid;
    align-content: start;
    gap: 0;
    max-height: calc(100dvh - 56px);
    padding: 24px var(--page-pad);
    border-bottom: 0;
    background: var(--ink);
    color: var(--white);
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    visibility: hidden;
    transition: opacity 180ms ease, transform 180ms ease, visibility 0s linear 180ms;
  }

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

  .site-nav a {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.34);
    font-size: clamp(17px, 4.7vw, 21px);
    letter-spacing: 0.05em;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 54px;
    padding-bottom: 24px;
  }

  .hero__intro {
    padding: 0 0 54px;
  }

  .hero__intro h1 {
    margin-bottom: 22px;
  }

  .hero__intro .outline-button {
    margin-top: 30px;
  }

  .hero__image {
    min-height: 0;
    aspect-ratio: 2662 / 1819;
  }

  .projects {
    padding-top: 42px;
    padding-bottom: 72px;
  }

  .section-kicker {
    margin-bottom: 32px;
  }

  .project-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .project-card {
    padding-bottom: 40px;
    border-bottom: 1px solid var(--line);
  }

  .project-card + .project-card {
    padding-top: 48px;
  }

  .project-card:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .project-card__marker {
    display: none;
  }

  .project-card__copy {
    padding-top: 16px;
  }

  .project-card__copy h3 {
    margin-bottom: 7px;
  }

  .project-card__copy p {
    font-size: 12px;
    line-height: 1.5;
  }

  .project-card__copy p + p {
    margin-top: 2px;
  }

  .about {
    padding-top: 24px;
    padding-bottom: 44px;
  }

  .about__grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 0;
  }

  .about__title {
    grid-column: 1;
    grid-row: auto;
    margin-bottom: 24px;
    text-align: left;
  }

  .about__image {
    grid-column: 1;
    grid-row: auto;
    min-height: 0;
    margin-bottom: 32px;
    aspect-ratio: 5 / 3;
  }

  .about__copy {
    grid-column: 1;
    grid-row: auto;
    max-width: 560px;
    padding-bottom: 20px;
  }

  .tools {
    margin-top: 22px;
  }

  .tools__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tool-item {
    min-height: 96px;
    padding: 14px 8px 16px;
  }

  .tool-item__label {
    font-size: 12px;
  }

  .contact {
    grid-template-columns: 1fr;
    gap: 86px;
    min-height: 0;
    padding-top: 112px;
    padding-bottom: 110px;
  }

  .contact__intro h2 {
    font-size: clamp(42px, 12vw, 62px);
    white-space: normal;
  }

  .contact__intro p {
    max-width: 520px;
  }

  .contact-row {
    min-height: 98px;
  }
}

@media (max-width: 420px) {
  :root {
    --page-pad: 18px;
  }

  .hero__intro h1 {
    font-size: 39px;
  }

  .outline-button {
    min-width: 215px;
  }

  .about__copy p,
  .contact__intro p,
  .contact-row strong {
    font-size: 13px;
  }

  .contact {
    padding-top: 88px;
  }
}

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

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