:root {
  --ink: #111111;
  --paper: #f5f4ef;
  --grey: #8b8b87;
  --line: #c9c7bf;

  --green: #b8ff2c;
  --pink: #ff3cac;
  --yellow: #ffe600;

  --max-width: 1440px;
  --page-padding: clamp(20px, 4vw, 64px);

  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 32px;
  --space-lg: 64px;
  --space-xl: 120px;
  --space-2xl: 180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(
    calc(100% - (var(--page-padding) * 2)),
    var(--max-width)
  );
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 244, 239, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.logo {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  gap: clamp(18px, 2vw, 36px);
}

.nav-links a {
  position: relative;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -5px;
  height: 3px;
  background: var(--pink);
  transition: right 180ms ease;
}

.nav-links a:hover::after {
  right: 0;
}

.hero {
  padding-block:
    clamp(90px, 10vw, 160px)
    clamp(110px, 12vw, 190px);
}

.eyebrow,
.section-note {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-note {
  color: var(--grey);
}

.hero-title {
  margin:
    clamp(28px, 4vw, 56px)
    0
    clamp(56px, 6vw, 90px);

  max-width: 1200px;

  font-size: clamp(58px, 8.5vw, 138px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.065em;
}

.sense {
  position: relative;
  display: inline-block;
  font-weight: 800;
  z-index: 0;
}

.sense::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -3%;
  bottom: 4%;
  height: 18%;
  background: var(--green);
  transform: rotate(-1.5deg);
  z-index: -1;
}

.hero-bottom {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  align-items: end;
}

.hero-description {
  grid-column: 1 / span 7;
  margin: 0;
  max-width: 760px;
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.45;
}

.hero-actions {
  grid-column: 9 / -1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 52px;
  padding: 14px 20px;

  border: 0;
  border-radius: 2px;

  background: var(--ink);
  color: var(--paper);

  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;

  transition:
    background 180ms ease,
    transform 180ms ease;
}

.button:hover {
  background: var(--pink);
  transform: translateY(-2px);
}

.button-pink {
  background: var(--pink);
}

.button-pink:hover {
  background: var(--green);
  color: var(--ink);
}

.text-link {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.text-link:hover {
  color: var(--pink);
}

.section {
  padding-block: clamp(100px, 11vw, 170px);
  border-top: 1px solid var(--line);
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  margin-bottom: clamp(50px, 6vw, 90px);
}

.projects {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 28px;
}

.project {
  min-width: 0;
}

.project-large {
  grid-column: 1 / span 7;
}

.project-portrait {
  grid-column: 8 / -1;
}

.project-wide {
  grid-column: 1 / -1;
  margin-top: 24px;
}

.project-image {
  position: relative;
  overflow: hidden;
  background: #dbd9d1;
}

.project-large .project-image {
  aspect-ratio: 4 / 3;
}

.project-portrait .project-image {
  aspect-ratio: 3 / 4;
}

.project-wide .project-image {
  aspect-ratio: 16 / 6;
}

.project-image::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(17, 17, 17, 0.08);
  pointer-events: none;
}

.placeholder {
  display: grid;
  place-items: center;
}

.placeholder span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #74736e;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-md);
  padding-top: 14px;
}

.project-meta h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
}

.tag {
  display: inline-block;
  padding: 5px 8px;
  background: var(--yellow);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.service-list {
  border-bottom: 1px solid var(--line);
}

.service {
  display: grid;
  grid-template-columns:
    minmax(40px, 1fr)
    minmax(220px, 3fr)
    minmax(280px, 4fr)
    auto;

  gap: 24px;
  align-items: center;

  padding-block: 32px;
  border-top: 1px solid var(--line);
}

.service > span:first-child,
.service > span:last-child {
  font-size: 13px;
  font-weight: 700;
}

.service h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 58px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.045em;
}

.service p {
  margin: 0;
  max-width: 680px;
  color: #565652;
  font-size: 17px;
}

.solutions {
  position: relative;
  margin-top: clamp(80px, 8vw, 120px);
  padding:
    clamp(40px, 6vw, 80px);

  background: var(--ink);
  color: var(--paper);
}

.solutions h2 {
  margin: 0 0 40px;
  max-width: 1000px;

  font-size: clamp(48px, 7vw, 105px);
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.solutions p {
  max-width: 760px;
  margin: 0 0 30px;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.hand-note {
  position: absolute;
  top: 36px;
  right: 5%;

  color: var(--green);

  font-size: clamp(16px, 2vw, 24px);
  font-weight: 800;
  letter-spacing: -0.02em;

  transform: rotate(-7deg);
}

.approach {
  background: var(--ink);
  color: var(--paper);
  padding-block: clamp(120px, 13vw, 190px);
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 28px;
}

.approach-title {
  grid-column: 1 / span 7;
  margin: 0;

  font-size: clamp(72px, 9vw, 145px);
  font-weight: 500;
  line-height: 0.82;
  letter-spacing: -0.07em;
}

.approach-title span {
  position: relative;
  display: inline-block;
}

.approach-title span::after {
  content: "";
  position: absolute;
  left: 0;
  right: -2%;
  bottom: -5%;
  height: 10px;
  background: var(--green);
  transform: rotate(1.5deg);
}

.approach-content {
  grid-column: 8 / -1;
  align-self: end;
  font-size: 19px;
}

.approach-lead {
  margin-top: 0;
  font-size: clamp(21px, 2vw, 26px);
}

.steps {
  margin-top: 56px;
  border-bottom: 1px solid #4b4b48;
}

.steps div {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-block: 16px;
  border-top: 1px solid #4b4b48;
  font-weight: 600;
}

.steps span {
  min-width: 28px;
  color: var(--grey);
  font-size: 12px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 28px;
}

.about-photo {
  grid-column: 1 / span 5;
  min-height: 620px;
  background: #dbd9d1;
}

.about-content {
  grid-column: 7 / -1;
}

.about-content h2 {
  margin:
    30px
    0
    40px;

  font-size: clamp(48px, 6vw, 92px);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.about-content > p {
  max-width: 780px;
  margin: 0 0 24px;
  font-size: 19px;
  line-height: 1.65;
}

.about-mix {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 52px;
}

.about-mix div {
  padding-top: 14px;
  border-top: 2px solid var(--ink);
}

.about-mix strong,
.about-mix span {
  display: block;
}

.about-mix strong {
  font-size: 13px;
  letter-spacing: 0.04em;
}

.about-mix span {
  margin-top: 5px;
  color: var(--grey);
  font-size: 13px;
}

.contact {
  padding-block: clamp(110px, 12vw, 180px);
  border-top: 1px solid var(--line);
}

.contact-title {
  margin:
    32px
    0
    clamp(60px, 7vw, 100px);

  font-size: clamp(64px, 9vw, 145px);
  font-weight: 500;
  line-height: 0.86;
  letter-spacing: -0.07em;
}

.contact-title span {
  color: var(--pink);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 28px;
}

.contact-copy {
  grid-column: 1 / span 5;
  max-width: 600px;
  font-size: 20px;
  line-height: 1.55;
}

.contact-copy a {
  color: var(--pink);
  font-weight: 700;
}

.contact-form {
  grid-column: 7 / -1;
}

.contact-form label {
  display: block;
  margin-bottom: 30px;

  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.contact-form input,
.contact-form textarea {
  width: 100%;

  margin-top: 8px;
  padding: 10px 0 15px;

  border: 0;
  border-bottom: 1px solid #777;
  border-radius: 0;

  outline: none;
  background: transparent;

  color: var(--ink);
  font-size: 18px;
}

.contact-form textarea {
  min-height: 110px;
  resize: vertical;
}

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

.footer {
  padding-block: 36px 50px;
  border-top: 1px solid var(--line);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 30px;
  align-items: center;
}

.footer-main > a:last-child {
  justify-self: end;
  font-weight: 700;
}

.footer-socials {
  display: flex;
  gap: 22px;
}

.footer-socials a:hover,
.footer-main > a:last-child:hover {
  color: var(--pink);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;

  margin-top: 70px;

  color: #666;
  font-size: 11px;
}

.footer-bottom strong {
  position: relative;
  color: var(--ink);
  z-index: 0;
}

.footer-bottom strong::after {
  content: "";
  position: absolute;
  left: -3px;
  right: -3px;
  bottom: -2px;
  height: 5px;
  background: var(--green);
  z-index: -1;
}

@media (hover: hover) and (pointer: fine) {
  .project-image {
    transition: transform 220ms ease;
  }

  .project:hover .project-image {
    transform: scale(1.01);
  }

  .project:hover .project-meta h2 {
    color: var(--pink);
  }
}

@media (max-width: 900px) {
  .hero-bottom,
  .approach-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-description,
  .hero-actions,
  .approach-title,
  .approach-content,
  .about-photo,
  .about-content,
  .contact-copy,
  .contact-form {
    grid-column: auto;
  }

  .hero-actions {
    justify-content: flex-start;
    margin-top: 26px;
  }

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

  .project-large,
  .project-portrait,
  .project-wide {
    grid-column: auto;
  }

  .project-large .project-image,
  .project-portrait .project-image,
  .project-wide .project-image {
    aspect-ratio: 4 / 3;
  }

  .project-wide {
    margin-top: 0;
  }

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

  .service h2 {
    grid-column: 2;
  }

  .service p {
    grid-column: 2;
  }

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

  .about-photo {
    min-height: 500px;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-main > a:last-child {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  :root {
    --page-padding: 20px;
  }

  .site-header {
    position: static;
  }

  .nav {
    min-height: 70px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding-block: 70px 90px;
  }

  .hero-title {
    font-size: clamp(54px, 16vw, 78px);
    line-height: 0.95;
  }

  .hero-bottom {
    display: block;
  }

  .hero-actions {
    margin-top: 30px;
  }

  .section-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .section {
    padding-block: 90px;
  }

  .project-meta {
    flex-direction: column;
    gap: 8px;
  }

  .solutions {
    padding: 38px 24px;
  }

  .hand-note {
    position: static;
    display: inline-block;
    margin-bottom: 28px;
  }

  .approach {
    padding-block: 100px;
  }

  .approach-title {
    font-size: clamp(66px, 20vw, 100px);
    margin-bottom: 55px;
  }

  .about-photo {
    min-height: 420px;
  }

  .about-mix {
    grid-template-columns: 1fr;
  }

  .contact {
    padding-block: 100px;
  }

  .contact-title {
    font-size: clamp(58px, 17vw, 86px);
  }

  .footer-socials {
    flex-wrap: wrap;
  }

  .footer-bottom {
    flex-direction: column;
    margin-top: 50px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
