:root {
  --color-bg-dark: #11110f;
  --color-bg-dark-secondary: #181714;
  --color-bg-light: #eee8de;
  --color-bg-light-soft: #f4efe7;
  --color-text-light: #f2ede4;
  --color-text-muted: #a9a197;
  --color-text-dark: #28241f;
  --color-accent: #a88a54;
  --color-accent-soft: #c4aa78;
  --color-border-dark: rgba(255, 255, 255, 0.12);
  --color-border-light: rgba(40, 36, 31, 0.15);
  --font-heading: "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", Arial, sans-serif;
  --container-max: 1280px;
  --container-pad: 48px;
  --section-space: clamp(88px, 9vw, 150px);
  --header-height: 86px;
  --transition-fast: 250ms ease;
  --transition-smooth: 700ms cubic-bezier(0.22, 1, 0.36, 1);
  --z-header: 20;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text-light);
  background: var(--color-bg-dark);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

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

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

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

.skip-link:focus {
  z-index: 100;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  clip: auto;
  padding: 10px 14px;
  background: var(--color-bg-light);
  color: var(--color-text-dark);
}

.container {
  width: min(100% - var(--container-pad), var(--container-max));
  margin-inline: auto;
}

.section-light {
  color: var(--color-text-dark);
  background: var(--color-bg-light);
}

.section-dark {
  color: var(--color-text-light);
  background: var(--color-bg-dark);
}

.section-dark-secondary {
  color: var(--color-text-light);
  background: var(--color-bg-dark-secondary);
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--color-accent);
  font-size: clamp(0.66rem, 0.55rem + 0.22vw, 0.78rem);
  font-weight: 700;
  letter-spacing: 0.33em;
  line-height: 1.2;
  text-transform: uppercase;
}

.section-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 2rem + 2.1vw, 4.8rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.98;
}

.section-heading--center {
  text-align: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 58px;
  padding: 0 34px;
  border: 1px solid currentColor;
  border-radius: 0;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  line-height: 1;
  text-transform: uppercase;
  transition: color var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast);
}

.button span:last-child {
  transition: transform var(--transition-fast);
}

.button:hover span:last-child {
  transform: translateX(4px);
}

.button--light {
  color: var(--color-text-dark);
  background: var(--color-bg-light-soft);
  border-color: var(--color-bg-light-soft);
}

.button--light:hover {
  background: var(--color-accent-soft);
  border-color: var(--color-accent-soft);
}

.button--outline {
  color: var(--color-text-light);
  background: transparent;
  border-color: var(--color-border-dark);
}

.button--outline:hover {
  color: var(--color-text-dark);
  background: var(--color-bg-light-soft);
  border-color: var(--color-bg-light-soft);
}

.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  line-height: 1.2;
  text-transform: uppercase;
}

.text-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 1px;
  background: currentColor;
  transform: translateY(14px);
  transition: width var(--transition-fast);
}

.text-link:hover::after {
  width: 62px;
}

.site-header {
  position: fixed;
  z-index: var(--z-header);
  top: 0;
  left: 0;
  width: 100%;
  color: var(--color-text-light);
  transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.site-header.is-scrolled {
  background: rgba(17, 17, 15, 0.94);
  border-bottom: 1px solid var(--color-border-dark);
}

.header__inner {
  display: grid;
  grid-template-columns: 184px 1fr auto;
  align-items: center;
  width: min(100% - var(--container-pad), var(--container-max));
  min-height: var(--header-height);
  margin-inline: auto;
  gap: 28px;
}

.logo {
  display: inline-flex;
  align-items: center;
  width: fit-content;
}

.logo img {
  width: 128px;
  height: auto;
  opacity: 0.94;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 3.3vw, 58px);
}

.nav-link {
  position: relative;
  color: rgba(242, 237, 228, 0.82);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 1px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-text-light);
}

.nav-link.active::after,
.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  position: relative;
  z-index: 4;
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(242, 237, 228, 0.38);
  background: rgba(17, 17, 15, 0.24);
  color: var(--color-text-light);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 6px auto;
  background: currentColor;
  transition: transform var(--transition-fast);
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 720px;
  height: 100vh;
  overflow: hidden;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  transform: scale(1.025);
  animation: heroImage 1100ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
  filter: saturate(0.78) contrast(1.03) brightness(0.78) sepia(0.13);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 12, 10, 0.94) 0%, rgba(12, 12, 10, 0.78) 36%, rgba(12, 12, 10, 0.48) 68%, rgba(12, 12, 10, 0.55) 100%),
    linear-gradient(180deg, rgba(12, 12, 10, 0.2) 0%, rgba(12, 12, 10, 0.32) 56%, rgba(12, 12, 10, 0.72) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 100%;
  padding-top: calc(var(--header-height) + 34px);
  padding-bottom: clamp(52px, 7vh, 92px);
}

.hero__title {
  max-width: 880px;
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(4.6rem, 7vw, 8.9rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.88;
}

.hero__title em {
  font-style: italic;
}

.hero__text {
  max-width: 580px;
  margin: 42px 0 0;
  color: rgba(242, 237, 228, 0.72);
  font-size: clamp(1rem, 0.86rem + 0.32vw, 1.18rem);
}

.hero__cta {
  margin-top: 42px;
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  margin-top: 82px;
  color: rgba(242, 237, 228, 0.58);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.scroll-cue span {
  width: 78px;
  height: 1px;
  background: rgba(242, 237, 228, 0.45);
}

.hero-animate {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 850ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-animate:nth-child(2) {
  animation-delay: 120ms;
}

.hero-animate:nth-child(3) {
  animation-delay: 240ms;
}

.hero-animate:nth-child(4) {
  animation-delay: 360ms;
}

.hero-animate:nth-child(5) {
  animation-delay: 480ms;
}

.about {
  padding: clamp(92px, 10vw, 176px) 0 clamp(120px, 12vw, 220px);
}

.about__grid {
  display: grid;
  grid-template-columns: 0.86fr 1.05fr 0.86fr;
  gap: clamp(50px, 5.6vw, 96px);
  align-items: start;
}

.about__images {
  position: relative;
  min-height: 560px;
}

.about__image {
  object-fit: cover;
}

.about__image--primary {
  width: 70%;
  aspect-ratio: 0.72;
}

.about__image--secondary {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 68%;
  aspect-ratio: 0.82;
  border: 14px solid var(--color-bg-light);
}

.about__copy {
  padding-top: 10px;
}

.about__copy .section-title {
  max-width: 650px;
  font-size: clamp(2.7rem, 3.25vw, 4.35rem);
}

.about__copy p:not(.eyebrow) {
  max-width: 560px;
  margin: 34px 0 0;
  color: rgba(40, 36, 31, 0.68);
  font-size: 1.08rem;
}

.signature {
  margin-top: 42px;
}

.signature span {
  display: block;
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-style: italic;
}

.signature strong {
  display: block;
  margin-top: 10px;
  color: rgba(40, 36, 31, 0.55);
  font-size: 0.76rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
}

.value-list {
  display: grid;
  gap: 40px;
}

.value-item {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 26px;
  padding-bottom: 8px;
}

.line-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid var(--color-border-light);
  color: var(--color-accent);
  font-size: 1.35rem;
}

.value-item h3 {
  margin: 0 0 10px;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.value-item p {
  margin: 0;
  color: rgba(40, 36, 31, 0.62);
  font-size: 0.98rem;
  line-height: 1.55;
}

.services {
  padding: clamp(110px, 11vw, 188px) 0 clamp(120px, 12vw, 206px);
}

.services .section-title {
  font-size: clamp(3.1rem, 4.1vw, 5.25rem);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(74px, 8vw, 128px);
}

.service {
  min-height: 420px;
  padding: 24px clamp(28px, 4vw, 72px) 0 0;
  border-right: 1px solid var(--color-border-dark);
}

.service + .service {
  padding-left: clamp(28px, 4vw, 72px);
}

.service:last-child {
  border-right: 0;
}

.service__icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin-bottom: 78px;
  border: 1px solid var(--color-border-dark);
  color: var(--color-accent);
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.service__icon svg,
.socials svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service:hover .service__icon {
  color: var(--color-accent-soft);
  border-color: rgba(196, 170, 120, 0.45);
}

.service h3 {
  margin: 0 0 18px;
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 1.6rem + 0.8vw, 2.55rem);
  font-weight: 400;
  line-height: 1;
  transition: transform var(--transition-fast);
}

.service:hover h3 {
  transform: translateX(6px);
}

.service p {
  max-width: 300px;
  min-height: 88px;
  margin: 0 0 38px;
  color: var(--color-text-muted);
  font-size: 1.02rem;
}

.projects {
  padding: clamp(100px, 10vw, 180px) 0 clamp(108px, 11vw, 190px);
}

.projects__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 68px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(34px, 3.2vw, 64px);
}

.project a {
  display: block;
}

.project__media {
  position: relative;
  display: block;
  aspect-ratio: 1.43;
  overflow: hidden;
  background: #2b2924;
}

.project__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 15, 0);
  transition: background 500ms ease;
}

.project img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 550ms cubic-bezier(0.22, 1, 0.36, 1);
}

.project:hover img {
  transform: scale(1.03);
}

.project:hover .project__media::after {
  background: rgba(17, 17, 15, 0.16);
}

.project__name,
.project__category {
  display: block;
  text-transform: uppercase;
}

.project__name {
  margin-top: 24px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  transition: transform var(--transition-fast);
}

.project:hover .project__name {
  transform: translateX(4px);
}

.project__category {
  margin-top: 6px;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
}

.process {
  padding: clamp(112px, 10vw, 190px) 0 clamp(90px, 8vw, 150px);
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 52px;
  margin-top: clamp(80px, 9vw, 150px);
}

.timeline__line {
  position: absolute;
  top: 49px;
  left: 4%;
  right: 4%;
  height: 1px;
  background: rgba(40, 36, 31, 0.15);
}

.timeline__line::after {
  content: "";
  display: block;
  width: 0;
  height: 100%;
  background: var(--color-accent);
  transition: width 1200ms cubic-bezier(0.22, 1, 0.36, 1);
}

.timeline.is-visible .timeline__line::after {
  width: 100%;
}

.timeline__step {
  position: relative;
}

.timeline__icon {
  display: grid;
  place-items: center;
  width: 98px;
  height: 98px;
  margin-bottom: 38px;
  border: 1px solid var(--color-border-light);
  border-radius: 50%;
  color: var(--color-accent);
  background: var(--color-bg-light);
  font-size: 1.55rem;
}

.timeline__num {
  color: var(--color-accent);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.28em;
}

.timeline h3 {
  margin: 12px 0 10px;
  font-family: var(--font-heading);
  font-size: clamp(1.65rem, 1.3rem + 0.8vw, 2.35rem);
  font-weight: 400;
  line-height: 1.05;
}

.timeline p {
  margin: 0;
  color: rgba(40, 36, 31, 0.58);
  font-size: 0.98rem;
}

.why {
  padding: clamp(70px, 7vw, 124px) 0 clamp(120px, 12vw, 206px);
}

.why__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(72px, 8vw, 130px);
  align-items: center;
}

.why__copy .section-title {
  max-width: 680px;
}

.why__copy > p:not(.eyebrow) {
  max-width: 650px;
  margin: 38px 0 0;
  color: rgba(40, 36, 31, 0.62);
  font-size: 1.08rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 86px;
}

.stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(3rem, 4vw, 5.2rem);
  font-weight: 400;
  line-height: 0.9;
}

.stat span {
  display: block;
  margin-top: 16px;
  color: rgba(40, 36, 31, 0.55);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  line-height: 1.5;
  text-transform: uppercase;
}

.why__visual {
  position: relative;
  min-height: 520px;
}

.why__visual img {
  width: 100%;
  aspect-ratio: 1.56;
  object-fit: cover;
}

.quote-card {
  position: absolute;
  right: 6.8%;
  bottom: -92px;
  width: min(520px, 58%);
  margin: 0;
  padding: clamp(42px, 4vw, 68px);
  color: var(--color-text-light);
  background: var(--color-bg-dark);
}

.quote-card span {
  color: var(--color-bg-light);
  font-family: var(--font-heading);
  font-size: 3rem;
  line-height: 1;
}

.quote-card p {
  margin: 24px 0 28px;
  color: rgba(242, 237, 228, 0.78);
  font-size: 1.08rem;
}

.quote-card cite {
  color: var(--color-accent);
  font-size: 0.77rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.cta-band {
  padding: clamp(78px, 7vw, 118px) 0;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
  padding: clamp(52px, 6vw, 80px) clamp(54px, 6vw, 112px);
  border: 1px solid var(--color-border-dark);
}

.cta-box h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 3vw, 4rem);
  font-weight: 400;
  line-height: 1;
}

.cta-box p {
  max-width: 720px;
  margin: 20px 0 0;
  color: var(--color-text-muted);
}

.site-footer {
  padding: clamp(76px, 8vw, 132px) 0 36px;
  color: var(--color-text-light);
  background: var(--color-bg-dark);
  border-top: 1px solid var(--color-border-dark);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 0.9fr 1.1fr;
  gap: clamp(54px, 7vw, 130px);
}

.footer__brand p {
  max-width: 320px;
  margin: 34px 0;
  color: var(--color-text-muted);
}

.socials {
  display: flex;
  gap: 14px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--color-border-dark);
  color: var(--color-text-muted);
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.socials a:hover {
  color: var(--color-accent-soft);
  border-color: rgba(196, 170, 120, 0.45);
}

.site-footer h2 {
  margin: 0 0 28px;
  color: var(--color-text-light);
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.site-footer ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  color: var(--color-text-muted);
  list-style: none;
}

.site-footer a,
.footer__contact li {
  transition: color var(--transition-fast);
}

.site-footer a:hover {
  color: var(--color-text-light);
}

.footer__contact li {
  display: flex;
  gap: 14px;
  align-items: center;
}

.footer__contact span {
  color: var(--color-accent);
}

.footer__contact .button {
  margin-top: 30px;
}

.footer__bottom {
  margin-top: clamp(74px, 8vw, 120px);
  padding-top: 30px;
  border-top: 1px solid var(--color-border-dark);
  text-align: center;
}

.footer__bottom p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.reveal,
.image-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--transition-smooth), transform var(--transition-smooth), clip-path var(--transition-smooth);
}

.image-reveal {
  clip-path: inset(0 0 0 0);
}

.reveal.is-visible,
.image-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  clip-path: inset(0 0 0 0);
}

.stagger-group .reveal:nth-child(2) {
  transition-delay: 90ms;
}

.stagger-group .reveal:nth-child(3) {
  transition-delay: 180ms;
}

.stagger-group .reveal:nth-child(4) {
  transition-delay: 270ms;
}

.stagger-group .reveal:nth-child(5) {
  transition-delay: 360ms;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroImage {
  to {
    transform: scale(1);
  }
}

@media (max-width: 1180px) {
  :root {
    --container-pad: 40px;
  }

  .header__inner {
    grid-template-columns: 120px 1fr auto;
  }

  .site-nav {
    gap: 24px;
  }

  .header__cta {
    padding-inline: 22px;
  }

  .about__grid,
  .why__grid {
    gap: 56px;
  }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid var(--color-border-dark);
  }

  .service,
  .service + .service {
    min-height: 360px;
    padding: 44px 40px;
    border-right: 1px solid var(--color-border-dark);
    border-bottom: 1px solid var(--color-border-dark);
  }

  .service:nth-child(even) {
    border-right: 0;
  }

  .service__icon {
    margin-bottom: 52px;
  }

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

@media (max-width: 900px) {
  :root {
    --header-height: 76px;
  }

  .header__inner {
    display: flex;
    justify-content: space-between;
  }

  .nav-toggle {
    position: fixed;
    z-index: 30;
    top: 16px;
    left: min(calc(100vw - 60px), 330px);
    display: block;
    border-color: rgba(242, 237, 228, 0.72);
    background: rgba(17, 17, 15, 0.72);
  }

  .site-nav {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    gap: 28px;
    justify-content: center;
    background: var(--color-bg-dark);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity var(--transition-fast), transform var(--transition-fast);
  }

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

  .nav-link {
    font-size: 1rem;
  }

  .header__cta {
    display: none;
  }

  .logo img {
    width: 108px;
  }

  .hero {
    min-height: 680px;
    height: 100vh;
  }

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

  .about__images {
    width: min(620px, 100%);
  }

  .value-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 34px;
  }

  .projects__heading,
  .cta-box {
    align-items: flex-start;
    flex-direction: column;
  }

  .project-grid,
  .why__grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .timeline {
    grid-template-columns: 1fr;
    gap: 42px;
    margin-left: 34px;
  }

  .timeline__line {
    top: 0;
    left: 48px;
    right: auto;
    width: 1px;
    height: 100%;
  }

  .timeline__line::after {
    width: 100%;
    height: 0;
  }

  .timeline.is-visible .timeline__line::after {
    height: 100%;
  }

  .timeline__step {
    display: grid;
    grid-template-columns: 98px 1fr;
    column-gap: 32px;
  }

  .timeline__icon {
    grid-row: span 4;
    margin-bottom: 0;
  }

  .quote-card {
    right: 24px;
    width: min(520px, calc(100% - 48px));
  }
}

@media (max-width: 640px) {
  :root {
    --container-pad: 32px;
  }

  .button {
    width: 100%;
    min-height: 54px;
    padding-inline: 18px;
    gap: 12px;
    font-size: 0.68rem;
  }

  .hero {
    min-height: 660px;
  }

  .hero__title {
    font-size: clamp(2.7rem, 11.3vw, 3.35rem);
    line-height: 0.94;
  }

  .hero__title em {
    font-size: 0.92em;
  }

  .hero__text {
    margin-top: 30px;
  }

  .scroll-cue {
    margin-top: 54px;
    gap: 16px;
  }

  .scroll-cue span {
    width: 46px;
  }

  .about__images {
    min-height: 470px;
  }

  .about__image--secondary {
    border-width: 10px;
  }

  .value-list,
  .services__grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .service,
  .service + .service {
    min-height: 0;
    padding: 38px 0;
    border-right: 0;
  }

  .services__grid {
    border-top: 1px solid var(--color-border-dark);
  }

  .project__name {
    line-height: 1.5;
  }

  .timeline {
    margin-left: 0;
  }

  .timeline__step {
    grid-template-columns: 72px 1fr;
    column-gap: 22px;
  }

  .timeline__line {
    left: 36px;
  }

  .timeline__icon {
    width: 72px;
    height: 72px;
  }

  .why__visual {
    min-height: 600px;
  }

  .why__visual img {
    aspect-ratio: 0.9;
  }

  .quote-card {
    right: 16px;
    bottom: 0;
    width: calc(100% - 32px);
  }

  .cta-box {
    padding: 36px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .image-reveal,
  .hero-animate {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }
}
