:root {
  --olive: #afaf7b;
  --olive-deep: #9c9c68;
  --ink: #414038;
  --ink-soft: #3e3c32;
  --paper: #ffffff;
  --logo: #f3f6db;
  --line: rgba(65, 64, 56, 0.22);
  --serif: "Instrument Serif", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Instrument Sans", "Avenir Next", "Segoe UI", sans-serif;
  --pad-x: clamp(20px, 3.4vw, 56px);
  --radius: 22px;
}

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

html {
  scroll-behavior: smooth;
  background: #fff;
}

body {
  margin: 0;
  min-height: 100dvh;
  color: var(--ink);
  font-family: var(--sans);
  background: #fff;
}

body.nav-open {
  overflow: hidden;
}

::selection {
  background: var(--ink);
  color: var(--logo);
}

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

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: 0.22;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

.page {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 84px var(--pad-x) 28px;
  background: url("assets/45.webp") right center / cover no-repeat;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 72px;
  padding-inline: max(var(--pad-x), calc((100% - 1200px) / 2));
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 10px 30px rgba(38, 38, 38, 0.05);
}

.logo {
  margin-right: auto;
  color: #262626;
  text-decoration: none;
  font-weight: 600;
  font-size: calc(1.22rem + 9px);
  letter-spacing: -0.045em;
  line-height: 1;
}

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

.site-nav a {
  color: #000000;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

.btn.header-cta {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 0.92rem;
}

.menu-toggle {
  display: none;
  padding: 8px 2px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.96rem;
  font-weight: 550;
  letter-spacing: -0.015em;
  cursor: pointer;
}

main {
  flex: 1;
  display: flex;
  min-height: 0;
}

.hero {
  flex: 1;
  display: flex;
  margin-top: clamp(28px, 4.5vh, 64px);
  min-height: 0;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  width: min(100%, 40rem);
  min-width: 0;
  min-height: 0;
  padding: 2px 0 2px;
}

.hero-copy > .btn {
  margin-top: 9px;
}

h1 {
  margin: 0;
  font-family: Inter, var(--sans);
  font-weight: 640;
  font-size: clamp(3.15rem, 4.85vw, 5.35rem);
  line-height: 1;
  letter-spacing: -0.045em;
  color: #fff;
}

h1 .line {
  display: block;
}

h1 .line:nth-child(3) {
  position: relative;
  top: 9px;
}

.hero-index {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 42px;
  margin: auto 0 0;
  padding: 18px 0 0;
  list-style: none;
  width: fit-content;
  border-top: 1px solid rgba(255, 255, 255, 0.45);
}

.hero-index li {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
}

.hero-index span {
  display: block;
  margin-bottom: 6px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35rem;
  letter-spacing: 0;
  text-transform: none;
  color: #fff;
}

.hero-actions {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px 36px;
  width: 100%;
}

.hero-actions p {
  margin: 0;
  max-width: 34ch;
  font-size: 1.02rem;
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: #fff;
  text-wrap: pretty;
}

.btn {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 56px;
  padding: 0 22px 0 26px;
  border-radius: 16px;
  background: var(--paper);
  color: #5e6346;
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 550;
  letter-spacing: -0.015em;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 16px 34px rgba(70, 68, 30, 0.12);
  transition:
    background 0.35s ease,
    color 0.35s ease,
    transform 0.35s ease;
}

.btn svg {
  width: 20px;
  height: 20px;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.btn:hover {
  background: var(--ink);
  color: var(--logo);
  transform: translateY(-1px);
}

.btn:hover svg {
  transform: translateX(4px);
}

@media (min-width: 981px) {
  .page {
    height: 100dvh;
  }

  .hero {
    min-height: 0;
  }

  h1 {
    margin-top: 180px;
  }
}

@media (max-width: 980px) {
  .site-header {
    position: fixed;
    z-index: 40;
  }

  .btn.header-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    position: relative;
    z-index: 41;
    color: #2c2b26;
  }

  .logo {
    position: relative;
    z-index: 2;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 30;
    margin: 0;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 6px;
    padding: 0 var(--pad-x);
    background: #b4b482;
    transform: translateY(-102%);
    visibility: hidden;
    transition:
      transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1),
      visibility 0s linear 0.55s;
  }

  .site-nav.is-open {
    transform: none;
    visibility: visible;
    transition:
      transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1),
      visibility 0s;
  }

  .site-nav a {
    font-family: var(--serif);
    font-size: clamp(2.6rem, 10vw, 4.2rem);
    font-weight: 400;
    letter-spacing: -0.035em;
    line-height: 1.05;
  }

  .site-nav a::after {
    display: none;
  }

  .hero {
    margin-top: 36px;
  }

  .hero-copy {
    gap: 28px;
  }

  .hero-index {
    margin-top: 4px;
  }

  .page {
    background: url("assets/45.webp") center 30% / cover no-repeat;
  }

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

@media (max-width: 640px) {
  h1 {
    font-size: clamp(2.7rem, 12.4vw, 3.6rem);
  }

  .hero-index {
    gap: 16px 28px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  h1 .line,
  .hero-index,
  .hero-actions {
    animation: rise 0.9s cubic-bezier(0.16, 0.84, 0.32, 1) both;
  }

  h1 .line:nth-child(2) {
    animation-delay: 0.08s;
  }

  h1 .line:nth-child(3) {
    animation-delay: 0.16s;
  }

  .hero-index {
    animation-delay: 0.22s;
  }

  .hero-actions {
    animation-delay: 0.3s;
  }
}

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

.sheet {
  position: relative;
  z-index: 1;
  background: #fff;
  color: #262626;
}

.block,
.offers {
  width: min(1440px, 100%);
  margin-inline: auto;
}

.block {
  display: grid;
  grid-template-columns: 7.75rem minmax(0, 42rem) minmax(520px, 1fr);
  column-gap: 32px;
  align-items: start;
  padding: clamp(72px, 9vh, 108px) var(--pad-x);
  scroll-margin-top: 88px;
}

.block + .block {
  border-top: 1px solid rgba(38, 38, 38, 0.1);
}

.kicker {
  margin: 0.42em 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1;
  color: #262626;
}

.sheet h2 {
  margin: 0;
  max-width: 18ch;
  font-family: Inter, var(--sans);
  font-weight: 640;
  font-size: clamp(2.15rem, 3.2vw, 3.25rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: #262626;
  text-wrap: balance;
}

.block-main {
  padding-right: 48px;
}

.block-main h3 {
  margin: 28px 0 0;
  font-family: Inter, var(--sans);
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1.3;
  letter-spacing: -0.03em;
  color: #262626;
}

.prose {
  margin-top: 22px;
}

.prose p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.6;
  letter-spacing: -0.015em;
  color: #3f3e36;
}

.prose p + p {
  margin-top: 1.1em;
}

.block-main .btn {
  margin-top: 32px;
}

.block-media {
  width: 460px;
  height: 300px;
  justify-self: end;
  border-radius: var(--radius);
  background: #d5d5cf;
}

.btn-dark {
  background: var(--olive);
  color: #000;
  box-shadow: none;
}

.btn-dark:hover {
  background: var(--olive-deep);
  color: #000;
}

.offers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 18px;
  padding: clamp(56px, 7vh, 88px) var(--pad-x) clamp(80px, 10vh, 120px);
  scroll-margin-top: 88px;
}

.offer.offer-feature {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  min-height: 380px;
  background: #f3f4f6;
  border-radius: 24px;
  overflow: hidden;
}

.offer-feature .offer-media {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border-radius: 0;
  background: #d5d5cf;
}

.offer-feature .offer-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(28px, 4vw, 48px);
}

.offer {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.offer-copy {
  align-self: stretch;
}

.offer-media {
  width: 100%;
  height: 210px;
  border-radius: 18px;
  background: #d5d5cf;
}

.offer-copy {
  margin: -32px 14px 0;
  padding: 20px 18px 22px;
  border-radius: 16px;
  background: #f3f4f6;
}

.offer-feature .offer-copy {
  margin: 0;
}

.offer h3 {
  margin: 0 0 8px;
  font-family: Inter, var(--sans);
  font-weight: 640;
  font-size: 1.2rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #262626;
}

.offer-feature h3 {
  margin-bottom: 14px;
  font-size: clamp(1.7rem, 2.2vw, 2.35rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.offer p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.5;
  letter-spacing: -0.015em;
  color: #3f3e36;
}

.offer-feature p {
  font-size: 1.02rem;
  line-height: 1.55;
}

.offer .btn {
  margin-top: 18px;
  min-height: 44px;
  padding: 0 16px 0 18px;
}

.offer-feature .btn {
  margin-top: 26px;
  min-height: 52px;
  padding: 0 20px 0 22px;
}

@media (max-width: 980px) {
  .block {
    grid-template-columns: 1fr;
    row-gap: 14px;
  }

  .kicker {
    margin-top: 0;
  }

  .block-main {
    padding-right: 0;
  }

  .sheet h2 {
    max-width: none;
  }

  .block-media {
    width: 460px;
    max-width: 100%;
    height: 300px;
    justify-self: start;
  }

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

  .offer.offer-feature {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .offer-feature .offer-media {
    height: 240px;
    min-height: 0;
  }
}

.banner {
  position: relative;
  z-index: 1;
  background: var(--olive);
  color: #262626;
}

.banner-inner {
  width: min(1440px, 100%);
  margin-inline: auto;
  padding: clamp(40px, 5vh, 56px) var(--pad-x);
}

.banner-label {
  margin: 0 0 12px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.banner h2 {
  margin: 0;
  max-width: 22em;
  font-family: Inter, var(--sans);
  font-weight: 640;
  font-size: clamp(1.85rem, 2.6vw, 2.45rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  color: #262626;
  text-wrap: balance;
}

.reasons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 40px;
  margin: 28px 0 0;
  padding: 24px 0 0;
  list-style: none;
  border-top: 1px solid rgba(38, 38, 38, 0.18);
}

.reasons h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  font-family: Inter, var(--sans);
  font-weight: 640;
  font-size: 1.15rem;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.reasons h3 svg {
  width: 22px;
  height: 22px;
  flex: none;
}

.reasons p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.55;
  letter-spacing: -0.015em;
  color: #2c2b26;
}

@media (max-width: 980px) {
  .reasons {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.team {
  position: relative;
  z-index: 1;
  background: #fff;
  color: #262626;
  scroll-margin-top: 88px;
}

.team-inner {
  width: min(1440px, 100%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 34rem) minmax(0, 1fr);
  align-items: start;
  gap: 48px 72px;
  padding: clamp(72px, 9vh, 112px) var(--pad-x);
}

.team .kicker {
  color: #8a8a58;
}

.team h2 {
  margin: 16px 0 0;
  max-width: 14ch;
  font-family: Inter, var(--sans);
  font-weight: 640;
  font-size: clamp(2.15rem, 3.2vw, 3.15rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: #262626;
  text-wrap: balance;
}

.team-intro p:last-child {
  margin: 22px 0 0;
  max-width: 38ch;
  font-size: 1.05rem;
  line-height: 1.6;
  letter-spacing: -0.015em;
  color: #3f3e36;
}

.team-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 280px));
  justify-content: end;
  gap: 28px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.team-photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius);
  background: #d5d5cf;
}

.team-list h3 {
  margin: 16px 0 4px;
  font-family: Inter, var(--sans);
  font-weight: 640;
  font-size: 1.05rem;
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: #262626;
  overflow-wrap: anywhere;
}

.team-list p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: #3f3e36;
}

@media (max-width: 980px) {
  .team-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .team h2,
  .team-intro p:last-child {
    max-width: none;
  }

  .team-list {
    justify-content: start;
    width: min(100%, 620px);
  }
}

@media (max-width: 720px) {
  .team-list {
    grid-template-columns: minmax(0, 280px);
    width: 100%;
    gap: 36px;
  }
}

.work {
  position: relative;
  z-index: 1;
  background: #f3f4f6;
  color: #262626;
  scroll-margin-top: 88px;
}

.work-inner {
  width: min(1440px, 100%);
  margin-inline: auto;
  padding: clamp(72px, 9vh, 112px) var(--pad-x);
}

.work .kicker {
  margin-top: 0;
  color: #8a8a58;
}

.work h2 {
  margin: 16px 0 0;
  max-width: 16ch;
  font-family: Inter, var(--sans);
  font-weight: 640;
  font-size: clamp(2.15rem, 3.2vw, 3.15rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: #262626;
  text-wrap: balance;
}

.work-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.work-list article {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 10px 10px 18px;
  border-radius: 22px;
  background: #fff;
}

.work-photo {
  height: 156px;
  border-radius: 14px;
  background: #d5d5cf;
}

.work-list h3 {
  margin: 16px 8px 8px;
  font-family: Inter, var(--sans);
  font-weight: 640;
  font-size: 1.05rem;
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: #262626;
}

.work-list p {
  margin: 0 8px;
  font-size: 0.96rem;
  line-height: 1.5;
  letter-spacing: -0.015em;
  color: #3f3e36;
}

@media (max-width: 1100px) {
  .work-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .work-list {
    grid-template-columns: 1fr;
    max-width: 520px;
  }
}

.reviews {
  position: relative;
  z-index: 1;
  background: var(--olive);
  color: #262626;
}

.reviews-inner {
  width: min(1440px, 100%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  align-items: stretch;
  gap: 28px 36px;
  padding: clamp(36px, 5vh, 56px) var(--pad-x);
}

.reviews-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 8px 0 4px;
}

.reviews .kicker {
  margin-top: 0;
  color: #262626;
  font-size: 1.55rem;
  line-height: 1;
  letter-spacing: normal;
}

.reviews h2 {
  margin: 12px 0 0;
  max-width: 11ch;
  font-family: Inter, var(--sans);
  font-weight: 640;
  font-size: clamp(1.9rem, 2.5vw, 2.65rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: #262626;
  text-wrap: balance;
}

.reviews-intro > p {
  margin: 16px 0 0;
  max-width: 28ch;
  font-size: 1.02rem;
  line-height: 1.5;
  letter-spacing: -0.015em;
  color: #2c2b26;
}

.reviews-nav {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 28px;
}

.reviews-nav button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #262626;
  color: #f3f6db;
  cursor: pointer;
}

.reviews-nav button svg {
  width: 18px;
  height: 18px;
}

.reviews-nav button:hover {
  background: #111;
}

.reviews-nav button:disabled {
  opacity: 0.35;
  cursor: default;
}

.review-list {
  display: flex;
  gap: 16px;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.review-list::-webkit-scrollbar {
  display: none;
}

.review-list > li {
  flex: 0 0 calc(50% - 8px);
  scroll-snap-align: start;
  min-width: 0;
}

.review-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 12px 12px 18px;
  border-radius: 22px;
  background: #fff;
}

.review-photo {
  height: 190px;
  border-radius: 14px;
  background: #d5d5cf;
}

.review-card h3 {
  margin: 16px 8px 8px;
  font-family: Inter, var(--sans);
  font-weight: 640;
  font-size: 1.05rem;
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: #262626;
}

.review-card blockquote {
  margin: 0;
}

.review-card p {
  margin: 0 8px;
  font-size: 0.96rem;
  line-height: 1.5;
  letter-spacing: -0.015em;
  color: #3f3e36;
}

.review-card footer {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding: 18px 8px 2px;
}

.review-card cite {
  flex: 1 1 9rem;
  font-style: normal;
  font-weight: 640;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
  color: #262626;
}

.review-card cite span {
  display: block;
  margin-top: 2px;
  font-weight: 500;
  font-size: 0.88rem;
  letter-spacing: -0.015em;
  color: #3f3e36;
}

.stars svg {
  display: block;
  width: 88px;
  height: 16px;
  fill: #262626;
}

@media (max-width: 980px) {
  .reviews-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .reviews h2,
  .reviews-intro > p {
    max-width: none;
  }

  .reviews-nav {
    display: none;
  }

  .review-list {
    display: grid;
    grid-template-columns: 1fr;
    overflow: visible;
    max-width: 520px;
  }

  .review-list > li {
    flex: none;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}
