:root {
  --paper: #f7f7f2;
  --ink: #111214;
  --blue: #1557ff;
  --blue-dark: #0d44d5;
  --line: #c8c9c5;
  --muted: #686b70;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 500;
}

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

.site-shell {
  min-height: 100vh;
  padding: 0 3vw;
  overflow: hidden;
}

.site-header {
  height: 88px;
  display: grid;
  grid-template-columns: 3fr 5fr 4fr;
  align-items: center;
  border-bottom: 1px solid var(--ink);
}

.brand {
  width: max-content;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.nav {
  font-size: 14px;
}

.nav-list {
  margin: 0;
  padding: 0;
  display: flex;
  gap: 38px;
  list-style: none;
}

.nav a {
  position: relative;
  padding: 9px 0;
}

.nav a::after {
  content: "";
  position: absolute;
  right: 100%;
  bottom: 2px;
  left: 0;
  height: 2px;
  background: var(--blue);
  transition: right 250ms ease;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  right: 0;
}

.availability {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.availability span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 5px rgb(21 87 255 / 12%);
}

.hero {
  min-height: 625px;
  display: grid;
  grid-template-columns: 3fr 9fr;
  border-bottom: 1px solid var(--ink);
}

.hero-index {
  padding: 30px 0;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 0.1em;
  line-height: 1.55;
  text-transform: uppercase;
}

.hero-index strong {
  margin-top: auto;
  color: var(--blue);
  font-size: clamp(72px, 6vw, 102px);
  line-height: 0.78;
  letter-spacing: -0.08em;
}

.hero-main {
  padding: 34px 0 38px 3vw;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1 {
  max-width: 1180px;
  margin: 58px 0 44px;
  align-self: center;
  font-size: clamp(72px, 7.8vw, 150px);
  font-weight: 900;
  letter-spacing: -0.075em;
  line-height: 0.84;
}

h1 span {
  color: var(--blue);
}

.hero-footer {
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: 38px;
  align-items: end;
}

.hero-footer > p {
  max-width: 500px;
  margin: 0;
  font-size: 18px;
  line-height: 1.4;
}

.primary-cta {
  width: min(100%, 300px);
  height: 62px;
  justify-self: end;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--blue);
  color: var(--white);
  font-size: 15px;
  transition: transform 200ms ease, background 200ms ease;
}

.primary-cta:hover,
.primary-cta:focus-visible {
  background: var(--blue-dark);
  transform: translateY(-4px);
}

.primary-cta span:last-child {
  font-size: 25px;
}

.services,
.project,
.about {
  display: grid;
  grid-template-columns: 3fr 9fr;
  border-bottom: 1px solid var(--ink);
}

.section-label {
  min-height: 100%;
  padding: 26px 3vw 26px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.service-row {
  min-height: 92px;
  padding-left: 3vw;
  display: grid;
  grid-template-columns: 72px 1fr 1fr;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.service-row:last-child {
  border-bottom: 0;
}

.service-number {
  color: var(--blue);
  font-size: 12px;
}

.service-row h2 {
  margin: 0;
  font-size: clamp(27px, 2.25vw, 42px);
  font-weight: 800;
  letter-spacing: -0.045em;
}

.service-row p {
  justify-self: end;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-align: right;
  text-transform: uppercase;
}

.project {
  min-height: 500px;
}

.project-content {
  padding: 27px 0 44px 3vw;
}

.project-heading {
  margin-bottom: 25px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 30px;
}

.project-heading h2 {
  margin: 0;
  font-size: 26px;
  letter-spacing: -0.04em;
}

.project-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.project-card {
  min-height: 340px;
  display: grid;
  grid-template-columns: 7fr 5fr;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.project-copy {
  padding: 38px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-tag {
  color: #b9bbc0;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-copy h3 {
  max-width: 700px;
  margin: 30px 0 0;
  font-size: clamp(44px, 4.6vw, 84px);
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.project-copy > p {
  max-width: 440px;
  margin: 35px 0 0;
  color: #b9bbc0;
  font-size: 14px;
  line-height: 1.45;
}

.project-art {
  position: relative;
  overflow: hidden;
  background: var(--blue);
}

.project-art::before,
.project-art::after {
  content: "";
  position: absolute;
  background: var(--paper);
}

.project-art::before {
  top: 0;
  bottom: 0;
  left: 34%;
  width: 2px;
}

.project-art::after {
  right: 0;
  bottom: 30%;
  left: 0;
  height: 2px;
}

.art-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(23vw, 330px);
  aspect-ratio: 1;
  border: 2px solid var(--paper);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform 350ms ease;
}

.project-card:hover .art-circle {
  transform: translate(-50%, -50%) rotate(4deg) scale(1.03);
}

.art-diagonal {
  position: absolute;
  top: -15%;
  left: 50%;
  width: 2px;
  height: 135%;
  background: var(--paper);
  transform: rotate(33deg);
}

.project-art b {
  position: absolute;
  right: 24px;
  bottom: 16px;
  font-size: clamp(54px, 5vw, 90px);
  letter-spacing: -0.08em;
}

.about {
  min-height: 430px;
}

.about-content {
  padding: 58px 0 58px 3vw;
}

.about-lead {
  max-width: 1120px;
  margin: 0;
  font-size: clamp(45px, 5.1vw, 94px);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.94;
}

.about-note {
  max-width: 820px;
  margin-top: 76px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.contact {
  min-height: 450px;
  padding: 72px 0 28px;
  display: flex;
  flex-direction: column;
  background: var(--blue);
  color: var(--white);
}

.contact > p {
  margin: 0 0 34px;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact > a {
  width: fit-content;
  font-size: clamp(54px, 8vw, 150px);
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 0.9;
}

.contact > a:hover,
.contact > a:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 10px;
}

.contact-meta {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.content-page {
  min-height: 65vh;
  padding: 72px 0;
}

.content-page > h1 {
  margin-top: 0;
}

.content-page article {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

@media (prefers-reduced-motion: no-preference) {
  .eyebrow,
  h1,
  .hero-footer {
    animation: rise-in 650ms both;
  }

  h1 {
    animation-delay: 80ms;
  }

  .hero-footer {
    animation-delay: 160ms;
  }

  @keyframes rise-in {
    from {
      opacity: 0;
      transform: translateY(22px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media (max-width: 900px) {
  .site-shell {
    padding: 0 20px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .availability {
    gap: 12px;
    font-size: 10px;
  }

  .hero,
  .services,
  .project,
  .about {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 650px;
  }

  .hero-index {
    display: none;
  }

  .hero-main {
    padding: 29px 0 30px;
  }

  h1 {
    margin: 50px 0 38px;
    font-size: clamp(54px, 14.5vw, 84px);
  }

  .hero-footer {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .primary-cta {
    justify-self: start;
  }

  .section-label {
    min-height: auto;
    padding: 20px 0;
    flex-direction: row;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-row {
    min-height: 100px;
    padding-left: 0;
    grid-template-columns: 42px 1fr;
  }

  .service-row p {
    grid-column: 2;
    justify-self: start;
    text-align: left;
  }

  .project-content,
  .about-content {
    padding-left: 0;
  }

  .project-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

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

  .project-art {
    min-height: 260px;
  }

  .art-circle {
    width: 230px;
  }

  .about-note {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 45px;
  }

  .contact {
    min-height: 390px;
    padding-top: 56px;
  }

  .contact-meta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .availability {
    max-width: 125px;
    line-height: 1.2;
  }

  .project-copy {
    padding: 28px 24px;
  }

  .contact > a {
    font-size: 50px;
  }
}
