:root {
  --ink: #2e2f31;
  --ink-soft: #55575a;
  --paper: #f4f4f1;
  --paper-white: #fbfbf8;
  --grey: #e8e8e4;
  --grey-deep: #d8d9d5;
  --yellow: #dfbc22;
  --yellow-soft: #f1dc75;
  --line: rgba(46, 47, 49, 0.16);
  --shell: min(100% - 64px, 1240px);
  --header-height: 92px;
  --radius: 26px;
  --ease: cubic-bezier(0.2, 0.75, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }
a { color: inherit; }
button { font: inherit; }

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

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

.site-header {
  position: absolute;
  z-index: 30;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  padding-inline: max(32px, calc((100vw - 1240px) / 2));
}

.brand {
  display: block;
  width: 178px;
  line-height: 0;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  gap: 28px;
  align-items: center;
  color: #4a4b4d;
  font-size: 14px;
  font-weight: 600;
}

.site-nav a { text-decoration: none; }
.site-nav a:not(.nav-cta) { padding-block: 10px; }

.site-nav a:not(.nav-cta):hover,
.site-nav a:not(.nav-cta):focus-visible {
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 3px;
  text-underline-offset: 7px;
}

.nav-cta {
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  transition: transform 180ms var(--ease), background-color 180ms ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: #45474a;
  transform: translateY(-2px);
}

.menu-toggle { display: none; }

.hero {
  position: relative;
  display: grid;
  min-height: 760px;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: clamp(50px, 7vw, 110px);
  align-items: center;
  padding: calc(var(--header-height) + 70px) max(32px, calc((100vw - 1240px) / 2)) 128px;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 40%, rgba(255, 255, 255, 0.9), transparent 28%),
    linear-gradient(135deg, #f6f6f3 0%, #e5e6e2 100%);
}

.hero::before {
  content: "";
  position: absolute;
  top: 24%;
  right: -8vw;
  width: 44vw;
  height: 44vw;
  border: 1px solid rgba(46, 47, 49, 0.11);
  border-radius: 50%;
}

.hero-copy,
.hero-mark {
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-label {
  margin: 0 0 24px;
  color: #6c6e70;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before,
.section-label::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--yellow);
}

.hero h1 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(58px, 7.3vw, 110px);
  font-weight: 690;
  letter-spacing: -0.068em;
  line-height: 0.92;
}

.hero h1 span { color: #85878a; }

.hero-lead {
  max-width: 610px;
  margin: 35px 0 0;
  color: #55575a;
  font-size: clamp(19px, 2vw, 27px);
  letter-spacing: -0.025em;
  line-height: 1.38;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms var(--ease), background-color 180ms ease;
}

.button:hover,
.button:focus-visible { transform: translateY(-3px); }

.button--primary {
  background: var(--yellow);
  color: var(--ink);
}

.button--primary:hover,
.button--primary:focus-visible { background: var(--yellow-soft); }

.button--quiet {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.48);
}

.hero-mark {
  display: grid;
  place-items: center;
}

.hero-mark img {
  width: min(100%, 520px);
  height: auto;
  filter: drop-shadow(0 24px 38px rgba(46, 47, 49, 0.1));
  transform: rotate(3deg);
}

.hero-note {
  position: absolute;
  z-index: 3;
  padding: 9px 16px;
  border: 1px solid rgba(46, 47, 49, 0.18);
  border-radius: 999px;
  background: rgba(251, 251, 248, 0.82);
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.hero-note--one { top: 12%; left: 3%; transform: rotate(-8deg); }
.hero-note--two { right: 1%; bottom: 31%; transform: rotate(8deg); }
.hero-note--three { bottom: 10%; left: 8%; transform: rotate(5deg); }

.hero-proof {
  position: absolute;
  right: max(32px, calc((100vw - 1240px) / 2));
  bottom: 32px;
  left: max(32px, calc((100vw - 1240px) / 2));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  color: #6c6e70;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-proof span { padding-top: 17px; }

.hero-proof span:not(:first-child) {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.section { padding-block: clamp(88px, 10vw, 150px); }

.section-intro {
  display: grid;
  grid-template-columns: 0.55fr 1.15fr 0.8fr;
  gap: clamp(32px, 6vw, 84px);
  align-items: start;
}

.section h2 {
  margin: 0;
  font-size: clamp(50px, 6.4vw, 88px);
  font-weight: 650;
  letter-spacing: -0.06em;
  line-height: 0.96;
}

.section-intro > p:last-child {
  max-width: 420px;
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.7;
}

.projects { background: var(--paper-white); }

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(62px, 8vw, 108px);
}

.project-card {
  position: relative;
  display: flex;
  min-height: 780px;
  flex-direction: column;
  padding: clamp(28px, 4vw, 48px);
  overflow: hidden;
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform 240ms var(--ease), box-shadow 240ms ease;
}

.project-card::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -80px;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(46, 47, 49, 0.14);
  border-radius: 50%;
}

.project-card:hover,
.project-card:focus-visible {
  z-index: 2;
  box-shadow: 0 24px 50px rgba(46, 47, 49, 0.12);
  transform: translateY(-7px);
}

.project-card--sage { background: #dfe6dc; }
.project-card--blue { background: #dbe5e9; }
.project-card--sand { background: #ebe2d2; }
.project-card--lilac { background: #e3dfeb; }
.project-card--rose { background: #eddeda; }
.project-card--yellow { background: #e8cc52; }

.project-visual {
  position: relative;
  z-index: 1;
  aspect-ratio: 16 / 9;
  margin: 0 0 30px;
  overflow: hidden;
  border: 1px solid rgba(46, 47, 49, 0.1);
  border-radius: calc(var(--radius) - 8px);
  background: #fff;
}

.project-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 300ms var(--ease);
}

.project-card:hover .project-visual img,
.project-card:focus-visible .project-visual img { transform: scale(1.025); }

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-meta span {
  padding: 7px 11px;
  border: 1px solid rgba(46, 47, 49, 0.17);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-card h3 {
  max-width: 560px;
  margin: 30px 0 18px;
  font-size: clamp(31px, 3.5vw, 48px);
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 0.98;
  overflow-wrap: anywhere;
}

.project-card > p {
  max-width: 540px;
  margin: 0;
  color: #55575a;
  font-size: 16px;
  line-height: 1.65;
}

.project-value {
  max-width: 540px;
  margin-top: auto;
  padding-top: 28px;
  border-top: 1px solid rgba(46, 47, 49, 0.16);
}

.project-value span {
  display: block;
  margin-bottom: 8px;
  color: #686a6c;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-value strong {
  display: block;
  max-width: 490px;
  font-size: 17px;
  font-weight: 620;
  line-height: 1.45;
}

.project-link {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  font-size: 13px;
  font-weight: 700;
}

.project-link b {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.52);
  font-size: 16px;
}

.offer { background: var(--grey); }

.offer-layout {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: clamp(70px, 12vw, 170px);
}

.offer-heading h2 { max-width: 650px; }
.offer-list { border-top: 1px solid var(--line); }

.offer-list article {
  display: grid;
  grid-template-columns: 55px 1fr;
  gap: 22px;
  padding-block: 34px;
  border-bottom: 1px solid var(--line);
}

.offer-number {
  color: #77797c;
  font-size: 11px;
  font-weight: 800;
}

.offer-list h3 {
  margin: 0 0 10px;
  font-size: clamp(25px, 3vw, 38px);
  font-weight: 630;
  letter-spacing: -0.045em;
  line-height: 1.06;
}

.offer-list p {
  max-width: 540px;
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

.process { background: var(--paper-white); }

.process-layout {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: clamp(70px, 12vw, 170px);
  align-items: start;
}

.process-lead {
  max-width: 560px;
  margin: 38px 0 0;
  color: var(--ink-soft);
  font-size: 19px;
  line-height: 1.65;
}

.process-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.process-steps li {
  display: grid;
  min-height: 160px;
  grid-template-columns: 70px 1fr;
  gap: 20px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.process-steps li > span {
  align-self: start;
  padding-top: 32px;
  color: #7a7c7e;
  font-size: 11px;
  font-weight: 800;
}

.process-steps h3 {
  margin: 0 0 7px;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 630;
  letter-spacing: -0.045em;
}

.process-steps p {
  margin: 0;
  color: var(--ink-soft);
}

.contact {
  position: relative;
  min-height: 630px;
  overflow: hidden;
  background: #4b4d50;
  color: white;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.32;
  background: linear-gradient(115deg, transparent 0 48%, rgba(255, 255, 255, 0.08) 48% 49%, transparent 49% 100%);
}

.contact-content {
  position: relative;
  z-index: 2;
}

.contact .section-label { color: #d5d6d6; }

.contact h2 {
  max-width: 850px;
  font-size: clamp(64px, 9vw, 126px);
}

.contact-link {
  display: inline-flex;
  gap: 34px;
  align-items: center;
  margin-top: 48px;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--yellow);
  font-size: clamp(20px, 2.5vw, 32px);
  font-weight: 620;
  text-decoration: none;
}

.contact-link:hover,
.contact-link:focus-visible { color: var(--yellow-soft); }

.contact-mark {
  position: absolute;
  z-index: 1;
  right: -5vw;
  bottom: -25%;
  width: min(52vw, 700px);
  opacity: 0.68;
  transform: rotate(10deg);
}

.contact-mark img {
  display: block;
  width: 100%;
  height: auto;
}

.site-footer {
  padding-block: 50px;
  background: var(--grey-deep);
}

.footer-grid {
  display: grid;
  grid-template-columns: 0.7fr 1fr auto;
  gap: 50px;
  align-items: end;
}

.brand--footer { width: 155px; }

.footer-contact,
.footer-year {
  color: #626467;
  font-size: 13px;
}

.footer-contact p,
.footer-year { margin: 3px 0; }

@media (max-width: 980px) {
  :root { --shell: min(100% - 40px, 760px); }

  .site-header { padding-inline: 20px; }

  .menu-toggle {
    position: relative;
    z-index: 50;
    display: grid;
    width: 46px;
    height: 46px;
    gap: 6px;
    place-content: center;
    border: 0;
    border-radius: 50%;
    background: var(--ink);
    cursor: pointer;
  }

  .menu-toggle span:not(.sr-only) {
    display: block;
    width: 19px;
    height: 2px;
    background: white;
    transition: transform 180ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-4px) rotate(-45deg); }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
    justify-content: center;
    padding: 36px;
    background: #e8e8e4;
    font-size: clamp(30px, 7vw, 52px);
    letter-spacing: -0.04em;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

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

  .nav-cta {
    margin-top: 12px;
    padding: 10px 18px;
    font-size: 22px;
    letter-spacing: 0;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 150px 20px 140px;
  }

  .hero-copy {
    max-width: 760px;
    margin-inline: auto;
  }

  .hero-mark {
    width: min(520px, 88vw);
    margin: -10px auto 0;
  }

  .hero-proof { right: 20px; left: 20px; }

  .section-intro,
  .offer-layout,
  .process-layout { grid-template-columns: 1fr; }

  .section-intro > p:last-child { max-width: 620px; }

  .offer-layout,
  .process-layout { gap: 70px; }

  .project-card { min-height: 760px; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-year { grid-column: 2; }
}

@media (max-width: 680px) {
  :root {
    --shell: calc(100% - 28px);
    --header-height: 78px;
    --radius: 20px;
  }

  .site-header {
    height: var(--header-height);
    padding-inline: 14px;
  }

  .brand { width: 148px; }

  .hero { padding: 125px 14px 190px; }
  .hero h1 { font-size: clamp(48px, 15vw, 70px); }
  .hero-lead { font-size: 19px; }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button { width: 100%; }

  .hero-mark {
    width: 94%;
    margin-top: 0;
  }

  .hero-note { font-size: 11px; }

  .hero-proof {
    right: 14px;
    bottom: 24px;
    left: 14px;
    grid-template-columns: 1fr;
    gap: 6px;
    padding-top: 14px;
  }

  .hero-proof span,
  .hero-proof span:not(:first-child) {
    padding: 0;
    border: 0;
  }

  .section { padding-block: 78px; }
  .section h2 { font-size: clamp(46px, 14vw, 68px); }

  .project-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 54px;
  }

  .project-card {
    min-height: 700px;
    padding: 26px;
  }

  .project-card h3 {
    margin-top: 28px;
    font-size: 34px;
  }

  .project-value strong { font-size: 16px; }

  .offer-layout,
  .process-layout { gap: 48px; }

  .offer-list article,
  .process-steps li { grid-template-columns: 42px 1fr; }

  .contact { min-height: 560px; }
  .contact h2 { font-size: clamp(58px, 17vw, 85px); }

  .contact-link {
    gap: 16px;
    font-size: 19px;
  }

  .contact-mark {
    right: -24vw;
    bottom: -8%;
    width: 95vw;
    opacity: 0.36;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
  }

  .footer-year { grid-column: auto; }
}

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

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