@font-face {
  font-family: "The Seasons";
  src: url("assets/fonts/the-seasons-regular.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "The Seasons";
  src: url("assets/fonts/the-seasons-light.otf") format("opentype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Red Hat Display";
  src: url("assets/fonts/red-hat-display-light.ttf") format("truetype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Red Hat Display";
  src: url("assets/fonts/red-hat-display-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Red Hat Display";
  src: url("assets/fonts/red-hat-display-medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Red Hat Display";
  src: url("assets/fonts/red-hat-display-semibold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Red Hat Display";
  src: url("assets/fonts/red-hat-display-bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Red Hat Display";
  src: url("assets/fonts/red-hat-display-extrabold.ttf") format("truetype");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "Red Hat Display";
  src: url("assets/fonts/red-hat-display-black.ttf") format("truetype");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --color-wine: #5b1f2a;
  --color-cream: #f8e2d0;
  --color-ink: #171416;
  --color-rose: #d7a69f;
  --color-muted: #775d58;
  --gradient-deep: linear-gradient(135deg, #5b1f2a 0%, #171416 100%);
  --gradient-light: linear-gradient(135deg, #5b1f2a 0%, #f8e2d0 100%);
  --gradient-sections: radial-gradient(ellipse 50% 50% at center, #5b1f2a 0%, #171416 100%);
  --title-gradient-mask: linear-gradient(90deg, rgba(255, 255, 255, 0.5) 0%, #fff 34%, #fff 66%, rgba(255, 255, 255, 0.5) 100%);
  --image-radius: 17px;
  --image-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.28);
  --font-display: "The Seasons", "Bodoni MT", "Times New Roman", serif;
  --font-script: "Amoresa", "Segoe Script", cursive;
  --font-body: "Red Hat Display", sans-serif;
  --page-gutter: clamp(1.25rem, 7vw, 7rem);
  --content-width: 96rem;
  --content-frame: calc(var(--content-width) + var(--page-gutter) + var(--page-gutter));
  --section-padding-block: clamp(5rem, 8vw, 8rem);
  --section-column-gap: clamp(2rem, 5vw, 5rem);
  --title-hero: clamp(3rem, 5vw, 5rem);
  --title-section: clamp(2.6rem, 4.8vw, 4.8rem);
  --title-card: clamp(1.35rem, 1.7vw, 1.8rem);
  --title-project: clamp(1.5rem, 2.25vw, 2.25rem);
  --title-cta: clamp(2.8rem, 5.5vw, 5.7rem);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--color-ink);
  color: var(--color-cream);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.reveal-up,
.reveal-fade {
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-up {
  opacity: 0;
  transform: translateY(16px);
  transition-property: opacity, transform;
  transition-duration: 980ms;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-fade {
  opacity: 0;
  translate: 0 14px;
  transition-property: opacity, translate;
  transition-duration: 980ms;
  transition-timing-function: ease, cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-fade.is-visible {
  opacity: 1;
  translate: 0 0;
}

a {
  color: inherit;
}

::selection {
  color: var(--color-cream);
  background: var(--color-wine);
}

.site-header {
  position: fixed;
  z-index: 5;
  top: 0.8rem;
  right: max(clamp(1.25rem, 5vw, 4rem), calc((100vw - var(--content-width)) / 2));
  left: max(clamp(1.25rem, 5vw, 4rem), calc((100vw - var(--content-width)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: auto;
  margin-inline: auto;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.9rem clamp(1rem, 2.2vw, 1.8rem);
  transition:
    background-color 600ms ease,
    border-color 700ms ease,
    box-shadow 600ms ease,
    backdrop-filter 600ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(248, 226, 208, 0.16);
  background: rgba(248, 226, 208, 0.035);
  box-shadow: 0 0.6rem 2rem rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(248, 226, 208, 0.12);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
  backdrop-filter: blur(22px) saturate(145%);
}

.site-header__brand,
.site-footer__brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.site-header__logo {
  width: clamp(4.25rem, 7vw, 6.5rem);
  height: auto;
  transition: filter 360ms ease;
}

.site-header.is-over-light .site-header__logo {
  filter: brightness(0) saturate(100%) invert(13%) sepia(29%) saturate(1420%) hue-rotate(294deg) brightness(80%) contrast(94%);
}

.hero__eyebrow,
.section-kicker {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.8rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background:
    transparent padding-box,
    radial-gradient(ellipse at center, #A6A6A6, #FFFFFF) border-box;
  box-shadow: inset 0 1px 0 rgba(248, 226, 208, 0.06);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.015em;
  text-transform: none;
}

.hero__status-dot {
  width: 0.55rem;
  height: 0.55rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #55c66a;
  box-shadow: 0 0 0 0.2rem rgba(85, 198, 106, 0.16);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
}

.site-nav a {
  color: rgba(248, 226, 208, 0.9);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  white-space: nowrap;
  transition: color 320ms ease;
}

.site-header.is-over-light .site-nav a {
  color: var(--color-wine);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--color-rose);
}

.site-header.is-over-light .site-nav a:hover,
.site-header.is-over-light .site-nav a:focus-visible {
  color: rgba(91, 31, 42, 0.68);
}

.site-nav a:focus-visible {
  outline: 1px solid var(--color-rose);
  outline-offset: 0.35rem;
}

.hero-scroll-track {
  position: relative;
  height: calc(max(47rem, 100svh) + 180svh);
}

.contact-scroll-track {
  position: relative;
  height: calc(max(44rem, 100svh) + 120svh);
}

.hero {
  position: sticky;
  top: 0;
  display: flex;
  height: max(47rem, 100svh);
  min-height: max(47rem, 100svh);
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 9rem var(--page-gutter) 5.5rem;
  isolation: isolate;
  background: var(--gradient-deep);
}

.hero__background {
  position: absolute;
  z-index: -1;
  inset: 0;
}

.fluid-cursor-canvas {
  position: fixed;
  z-index: 4;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.62;
  pointer-events: none;
  mix-blend-mode: screen;
}

@media (pointer: coarse) {
  .fluid-cursor-canvas {
    opacity: 0.36;
  }
}

.hero__background video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  filter: saturate(0.56);
}

.hero__background::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 84% 90% at 72% 48%,
      rgba(18, 8, 10, 0.36) 0%,
      rgba(17, 12, 14, 0.28) 46%,
      rgba(17, 12, 14, 0.18) 80%,
      transparent 100%
    ),
    linear-gradient(90deg, rgba(18, 8, 10, 0.22) 0%, transparent 64%);
}

.hero__background::after {
  position: absolute;
  z-index: 1;
  inset: auto 0 0;
  height: clamp(10rem, 28vh, 20rem);
  content: "";
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(23, 20, 22, 0.16) 34%,
    rgba(23, 20, 22, 0.52) 72%,
    #171416 100%
  );
}

.hero__content {
  width: min(100%, var(--content-width));
  margin-inline: auto;
}

.hero__eyebrow,
.section-kicker {
  margin: 0 0 1.35rem;
  color: var(--color-rose);
}

.hero__title,
.services__title,
.portfolio__title,
.about__title,
.reasons__title,
.contact-cta__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.98;
  -webkit-mask-image: var(--title-gradient-mask);
  mask-image: var(--title-gradient-mask);
}

.hero__title {
  max-width: 12ch;
  font-size: var(--title-hero);
  color: var(--color-cream);
}

.hero__title-glass {
  position: relative;
  display: block;
  color: transparent;
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(
    108deg,
    var(--color-rose) 0%,
    var(--color-rose) 39%,
    rgba(248, 226, 208, 0.72) 47%,
    #fffaf4 50%,
    rgba(248, 226, 208, 0.72) 53%,
    var(--color-rose) 61%,
    var(--color-rose) 100%
  );
  background-position: 145% 50%;
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: diagonal-word-reflection 8.5s ease-in-out infinite;
}

.hero__title-glass::after {
  position: absolute;
  inset: 0;
  content: attr(data-text);
  color: transparent;
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(
    108deg,
    transparent 46%,
    rgba(91, 31, 42, 0.28) 48%,
    rgba(248, 226, 208, 0.22) 49%,
    rgba(248, 226, 208, 0.9) 50%,
    rgba(248, 226, 208, 0.2) 52%,
    transparent 54%
  );
  background-repeat: no-repeat;
  background-position: var(--hero-glass-position, 100%) 50%;
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  opacity: var(--hero-glass-opacity, 0);
  filter: drop-shadow(0 0 7px rgba(248, 226, 208, 0.34));
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero__title span {
  display: block;
  color: var(--color-rose);
}

.contact-cta__emphasis {
  color: var(--color-rose);
}

.hero__description {
  max-width: 35rem;
  margin: 2rem 0 2.1rem;
  color: rgba(248, 226, 208, 0.82);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 3.4rem;
  padding: 0.9rem 1.4rem;
  border: 1px solid rgba(248, 226, 208, 0.34);
  border-radius: 999px;
  background: rgba(248, 226, 208, 0.08);
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.14), inset 0 1px 0 rgba(248, 226, 208, 0.12);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--color-cream);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.hero__cta:hover,
.hero__cta:focus-visible {
  border-color: rgba(248, 226, 208, 0.62);
  background: rgba(248, 226, 208, 0.14);
  text-decoration: none;
  transform: scale(1.025);
}

.hero__marquee {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 3rem;
  margin: 4.5rem 0 0;
  color: rgba(248, 226, 208, 0.48);
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 1.15vw, 1.12rem);
  line-height: 1.4;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.65) 24%, #000 50%, rgba(0, 0, 0, 0.65) 76%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.65) 24%, #000 50%, rgba(0, 0, 0, 0.65) 76%, transparent 100%);
}

.hero__marquee-track,
.hero__marquee-group {
  display: flex;
  align-items: center;
}

.hero__marquee-track {
  width: max-content;
  animation: hero-marquee-scroll 24s linear infinite;
  will-change: transform;
}

.hero__marquee-group {
  flex: 0 0 auto;
  gap: clamp(1rem, 2.4vw, 2.2rem);
  padding-right: clamp(1rem, 2.4vw, 2.2rem);
}

.hero__marquee-group > span {
  flex: 0 0 auto;
  white-space: nowrap;
}

@keyframes hero-marquee-scroll {
  to {
    transform: translateX(-25%);
  }
}

.hero__cta span,
.contact-cta__button span {
  color: var(--color-rose);
  font-size: 1.2rem;
}

.section-gradient-flow {
  background: var(--gradient-sections);
}

.services {
  --featured-overlap: clamp(2.5rem, 4vw, 4rem);
  position: relative;
  isolation: isolate;
  padding: var(--section-padding-block) var(--page-gutter) calc(var(--section-padding-block) + var(--featured-overlap));
  color: var(--color-ink);
}

.services::before,
.services::after {
  position: absolute;
  z-index: -1;
  content: "";
  pointer-events: none;
  background: var(--color-cream);
}

.services::before {
  inset: 1.6rem calc((100% - 100vw) / 2) 0;
}

.services::after {
  top: 0;
  left: 50%;
  width: min(30vw, 27rem);
  height: 1.8rem;
  border-radius: 0 0 1.3rem 1.3rem;
  transform: translateX(-50%);
}

.services::before,
.services::after,
.reasons::before,
.reasons::after {
  box-shadow: none;
  filter: none;
}

.services::before,
.reasons::before {
  filter: drop-shadow(0 -0.18rem 0.32rem rgba(23, 20, 22, 0.28));
}

/* The services section now begins with a clean cream edge below the hero. */
.services__intro,
.services__heading,
.services__statement {
  position: relative;
  z-index: 1;
}

.services__statement p {
  margin: 0;
  color: rgba(23, 20, 22, 0.76);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.6;
}

.services__intro,
.portfolio__intro,
.reasons__intro {
  width: min(100%, var(--content-width));
  margin: 0 auto clamp(3rem, 6vw, 5rem);
}

.services .section-kicker,
.portfolio .section-kicker,
.about .section-kicker {
  color: var(--color-rose);
}

.services .section-kicker {
  color: rgba(91, 31, 42, 0.72);
}

.services__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(16rem, 0.8fr);
  align-items: end;
  gap: var(--section-column-gap);
}

.services__title,
.reasons__title {
  max-width: 14ch;
  font-size: var(--title-section);
}

.services__intro {
  margin-bottom: 0;
}

.services__title {
  max-width: 16ch;
  color: var(--color-ink);
  font-size: clamp(2.35rem, 4.2vw, 4.35rem);
  white-space: normal;
}

.services__statement {
  max-width: 28rem;
  justify-self: end;
  padding-bottom: 0.35rem;
}

.services__statement a {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.4rem;
  color: var(--color-wine);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.services__statement a span {
  font-size: 1rem;
  transition: transform 250ms ease;
}

.services__statement a:hover span,
.services__statement a:focus-visible span {
  transform: translate(0.18rem, -0.18rem);
}

.featured-project {
  --featured-overlap: clamp(2.5rem, 4vw, 4rem);
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(16rem, 0.78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  width: min(100%, var(--content-frame));
  min-height: clamp(25rem, 43vw, 37rem);
  margin: calc(var(--featured-overlap) * -1) auto 0;
  padding: clamp(2.5rem, 5vw, 5rem) var(--page-gutter);
  overflow: hidden;
  color: var(--color-cream);
}

.featured-project::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
  clip-path: polygon(0 var(--featured-overlap), 100% 0, 100% 100%, 0 100%);
  background:
    linear-gradient(0deg, rgba(23, 20, 22, 0.28), rgba(23, 20, 22, 0.28)),
    linear-gradient(90deg, rgba(23, 20, 22, 0.22) 0%, rgba(23, 20, 22, 0.12) 38%, transparent 66%),
    url("assets/featured-project-background.png") center / cover no-repeat,
    linear-gradient(105deg, #171416 0%, #241216 46%, #35151d 100%);
}

.featured-project__content {
  position: relative;
  z-index: 1;
  width: min(100%, 24rem);
}

.featured-project__badge {
  display: inline-flex;
  margin: 0 0 1rem;
  padding: 0.36rem 0.75rem;
  border: 1px solid rgba(248, 226, 208, 0.48);
  border-radius: 999px;
  color: var(--color-cream);
  font-family: var(--font-body);
  font-size: 0.72rem;
  line-height: 1.2;
}

.featured-project__title {
  margin: 0;
  color: var(--color-cream);
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.featured-project__description {
  max-width: 21rem;
  margin: 0.8rem 0 0;
  color: rgba(248, 226, 208, 0.82);
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.5;
}

.featured-project__link {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1.8rem;
  color: var(--color-cream);
  font-family: var(--font-body);
  font-size: 0.82rem;
  text-decoration: none;
}

.featured-project__link span {
  transition: transform 220ms ease;
}

.featured-project__link:hover span,
.featured-project__link:focus-visible span {
  transform: translateX(0.25rem);
}

.featured-project__visual {
  position: relative;
  align-self: stretch;
  min-height: 18rem;
  background: radial-gradient(ellipse 60% 70% at 65% 50%, rgba(215, 166, 159, 0.18), transparent 72%);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  width: min(100%, var(--content-width));
  margin-inline: auto;
}

.service-card {
  min-width: 0;
  cursor: pointer;
}

.service-card:focus-visible {
  outline: 2px solid var(--color-rose);
  outline-offset: 0.35rem;
}

.service-card__media {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(248, 226, 208, 0.12);
  border-radius: var(--image-radius);
  background: transparent;
  box-shadow: var(--image-shadow);
}

.service-card__media::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(23, 20, 22, 0.04) 10%, rgba(23, 20, 22, 0.18) 42%, rgba(23, 20, 22, 0.82) 74%, rgba(23, 20, 22, 0.24) 90%, transparent 100%),
    radial-gradient(ellipse at 50% 100%, rgba(91, 31, 42, 0.28), transparent 72%);
}

.service-card__media img {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.78) saturate(0.48) blur(1.5px);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 66%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 66%, transparent 100%);
  transform: scale(1);
  transition:
    opacity 980ms ease,
    translate 980ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 550ms cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.service-card.is-active .service-card__media img,
.service-card:focus-visible .service-card__media img {
  filter: brightness(0.94) saturate(1.12) blur(0);
  transform: scale(1.035);
}

@media (hover: hover) and (pointer: fine) {
  .service-card:hover .service-card__media img {
    filter: brightness(0.94) saturate(1.12) blur(0);
    transform: scale(1.035);
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-card__media img {
    transition: none;
  }
}

.service-card__content {
  position: absolute;
  z-index: 2;
  inset: auto 0 0;
  padding: clamp(1.25rem, 2.2vw, 1.8rem);
}

.service-card__title,
.process-step__title,
.reason__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--title-card);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.process-step__title--immersion {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  text-align: center;
}

.process-step__icon {
  display: block;
  width: clamp(3.4rem, 5vw, 4.5rem);
  height: clamp(3.4rem, 5vw, 4.5rem);
  flex: 0 0 auto;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(17%) sepia(24%) saturate(1620%) hue-rotate(300deg) brightness(65%) contrast(90%);
  opacity: 0.72;
  transition: opacity 380ms ease, filter 380ms ease, transform 420ms ease;
}

.service-card__description {
  max-width: 28rem;
  margin: 0.75rem 0 0;
  color: rgba(248, 226, 208, 0.74);
  font-size: 0.9rem;
}

.process {
  position: relative;
  isolation: isolate;
  display: block;
  width: min(100%, var(--content-frame));
  margin-inline: auto;
  padding: var(--section-padding-block) var(--page-gutter);
  color: var(--color-ink);
}

.process::before,
.process::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.2) 13%, #000 34%, #000 68%, rgba(0, 0, 0, 0.18) 88%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.2) 13%, #000 34%, #000 68%, rgba(0, 0, 0, 0.18) 88%, transparent 100%);
}

.process::before {
  inset-block: 0;
  right: calc((100% - 100vw) / 2);
  left: calc((100% - 100vw) / 2);
  background: linear-gradient(
    180deg,
    var(--color-cream) 0%,
    var(--color-cream) 100%
  );
  -webkit-mask-image: none;
  mask-image: none;
  filter: none;
  opacity: 1;
}

.process::after {
  display: none;
}

.process__steps {
  position: relative;
  z-index: 1;
}

.process__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-content: center;
  gap: clamp(1rem, 1.7vw, 1.5rem);
  margin: 0;
  padding: 0;
}

.process-step {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 12rem;
  padding: clamp(1.25rem, 2vw, 1.75rem);
  border: 1px solid rgba(91, 31, 42, 0.14);
  border-radius: var(--image-radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.16) 42%, rgba(91, 31, 42, 0.025)),
    radial-gradient(ellipse 115% 125% at 50% 50%, rgba(248, 226, 208, 0.58) 0%, rgba(248, 226, 208, 0.24) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    inset 0 0 24px rgba(91, 31, 42, 0.025),
    0 16px 38px rgba(23, 20, 22, 0.11);
  -webkit-backdrop-filter: blur(22px) saturate(155%);
  backdrop-filter: blur(22px) saturate(155%);
  cursor: pointer;
  transition:
    opacity 980ms ease,
    translate 980ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 380ms cubic-bezier(0.2, 0.7, 0.2, 1),
    border-color 380ms ease,
    box-shadow 420ms ease;
}

.process-step--from-left {
  --entry-from-x: -30px;
}

.process-step--from-right {
  --entry-from-x: 30px;
}

.process-step.reveal-side {
  opacity: 0;
  translate: var(--entry-from-x) 0;
}

.process-step.reveal-side.is-visible,
.reason__card.reveal-side.is-visible {
  animation: directional-card-enter 820ms cubic-bezier(0.2, 0.7, 0.2, 1) var(--reveal-delay, 0ms) both;
}

@keyframes directional-card-enter {
  from {
    opacity: 0;
    translate: var(--entry-from-x) 0;
  }

  to {
    opacity: 1;
    translate: 0 0;
  }
}

.process-step.is-active,
.process-step:focus-visible {
  z-index: 2;
  --card-scale: 1.025;
  --card-lift: -3px;
  border-color: rgba(91, 31, 42, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    inset 0 0 24px rgba(91, 31, 42, 0.04),
    0 14px 34px rgba(23, 20, 22, 0.1),
    0 0 24px rgba(91, 31, 42, 0.11);
  outline: none;
}

@media (hover: hover) and (pointer: fine) {
  .process-step:hover {
    z-index: 2;
    --card-scale: 1.018;
    --card-lift: -3px;
    border-color: rgba(91, 31, 42, 0.34);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.88),
      inset 0 0 24px rgba(91, 31, 42, 0.04),
      0 14px 34px rgba(23, 20, 22, 0.1),
      0 0 24px rgba(91, 31, 42, 0.11);
  }
}

.process-step__content {
  position: relative;
  z-index: 1;
  width: 100%;
  text-align: center;
}

.process-step.is-active .process-step__icon {
  opacity: 1;
  transform: scale(1.05);
  filter: brightness(0) saturate(100%) invert(17%) sepia(24%) saturate(1620%) hue-rotate(300deg) brightness(65%) contrast(90%) drop-shadow(0 0 0.75rem rgba(91, 31, 42, 0.16));
}

.process-step__description {
  max-height: 0;
  overflow: hidden;
  margin: 0;
  opacity: 0;
  transform: translateY(-0.5rem);
  transition:
    max-height 520ms cubic-bezier(0.2, 0.7, 0.2, 1),
    margin 420ms ease,
    opacity 360ms ease,
    transform 420ms ease;
}

.process-step.is-active .process-step__description {
  max-height: 16rem;
  max-width: 27rem;
  margin: 1.1rem auto 0;
  color: rgba(23, 20, 22, 0.76);
  opacity: 1;
  transform: translateY(0);
}

.portfolio {
  position: relative;
  isolation: isolate;
  padding: var(--section-padding-block) var(--page-gutter);
  background: transparent;
  color: var(--color-cream);
}

.portfolio::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(23, 20, 22, 0) 0%,
      rgba(23, 20, 22, 0.12) 12%,
      rgba(23, 20, 22, 0.72) 32%,
      rgba(23, 20, 22, 0.88) 58%,
      rgba(23, 20, 22, 0.62) 78%,
      rgba(23, 20, 22, 0.18) 93%,
      rgba(23, 20, 22, 0) 100%
    ),
    radial-gradient(
      ellipse 88% 62% at 50% 48%,
      rgba(91, 31, 42, 0.16) 0%,
      rgba(91, 31, 42, 0.09) 46%,
      rgba(23, 20, 22, 0.4) 80%,
      transparent 100%
    ),
    radial-gradient(
      ellipse 110% 42% at 50% 100%,
      rgba(91, 31, 42, 0.14) 0%,
      rgba(23, 20, 22, 0.2) 54%,
      transparent 100%
    );
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 68%, rgba(0, 0, 0, 0.12) 92%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 68%, rgba(0, 0, 0, 0.12) 92%, transparent 100%);
}

.portfolio__intro,
.portfolio__stats,
.portfolio__projects {
  position: relative;
  z-index: 1;
}

.portfolio__title {
  max-width: 100%;
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.portfolio__intro {
  margin-bottom: clamp(2rem, 3vw, 3rem);
}

.portfolio__description {
  max-width: 34rem;
  margin: 1.5rem 0 0;
  color: rgba(248, 226, 208, 0.7);
  font-size: 1.05rem;
}

.portfolio__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 0;
  row-gap: clamp(1.25rem, 5vw, 4rem);
  width: min(100%, 72rem);
  margin: clamp(3rem, 4vw, 3.5rem) auto 0;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  border: 1px solid rgba(248, 226, 208, 0.16);
  border-radius: var(--image-radius);
  background:
    linear-gradient(135deg, rgba(248, 226, 208, 0.075), rgba(248, 226, 208, 0.018) 48%, rgba(23, 20, 22, 0.28)),
    radial-gradient(ellipse 95% 150% at 12% 0%, rgba(91, 31, 42, 0.4), rgba(23, 20, 22, 0.68) 78%);
  box-shadow:
    inset 0 1px 0 rgba(248, 226, 208, 0.12),
    0 18px 42px rgba(0, 0, 0, 0.24),
    0 0 30px rgba(91, 31, 42, 0.12);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
  backdrop-filter: blur(22px) saturate(145%);
}

.portfolio__stat-value {
  margin: 0;
  flex: 0 0 auto;
  color: rgba(248, 226, 208, 0.5);
  font-family: var(--font-body);
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  font-weight: 400;
  line-height: 1;
}

.portfolio__stat {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.65rem, 1.3vw, 1.2rem);
  min-width: 0;
  padding-inline: clamp(0.5rem, 2vw, 1.5rem);
  text-align: center;
}

.portfolio__stat + .portfolio__stat {
  border-left: 1px solid rgba(248, 226, 208, 0.18);
}

.portfolio__stat-label {
  margin: 0;
  color: rgba(248, 226, 208, 0.36);
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.7vw, 1.4rem);
  font-weight: 700;
  line-height: 1.15;
}

.portfolio__projects {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  width: min(100%, var(--content-width));
  margin-inline: auto;
}

.project-card:first-child {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
  align-items: center;
  gap: clamp(1.25rem, 3vw, 3rem);
  padding: clamp(0.85rem, 1.5vw, 1.25rem);
}

.project-card:first-child .project-card__media {
  height: 100%;
  min-height: clamp(20rem, 36vw, 34rem);
  aspect-ratio: auto;
}

.project-card:first-child .project-card__details {
  align-self: center;
  padding: clamp(1rem, 2vw, 2rem);
}

.project-card__featured {
  align-self: flex-start;
  margin: 0 0 1.35rem;
  padding: 0.38rem 0.72rem;
  border: 1px solid rgba(248, 226, 208, 0.3);
  border-radius: 999px;
  color: rgba(248, 226, 208, 0.84);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-card:first-child .project-card__title {
  font-size: clamp(2.5rem, 5vw, 5rem);
}

.project-card:first-child .project-card__category {
  font-size: 0.82rem;
}

.project-card {
  min-width: 0;
  padding: 0.8rem;
  border: 1px solid rgba(248, 226, 208, 0.14);
  border-radius: var(--image-radius);
  background: radial-gradient(ellipse 120% 130% at 50% 0%, rgba(91, 31, 42, 0.2), rgba(23, 20, 22, 0.72) 78%);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(248, 226, 208, 0.05);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  backdrop-filter: blur(16px) saturate(130%);
  transition: background 420ms ease, border-color 350ms ease, box-shadow 420ms ease;
}

.project-card:nth-child(n + 2) {
  border: 0;
}

.project-card:focus-visible {
  outline: 2px solid rgba(248, 226, 208, 0.48);
  outline-offset: 0.3rem;
}

.project-card__media {
  position: relative;
  overflow: hidden;
  /* Os cinco assets de portfólio são 1920 × 1200 (16:10). */
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(248, 226, 208, 0.12);
  border-radius: var(--image-radius);
  background: #271b1e;
  box-shadow: var(--image-shadow);
}

.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.42);
  transition: opacity 980ms ease, translate 980ms cubic-bezier(0.16, 1, 0.3, 1), filter 520ms ease;
}

.project-card:hover .project-card__media img,
.project-card:focus-visible .project-card__media img,
.project-card.is-active .project-card__media img,
.project-card:active .project-card__media img {
  filter: saturate(1);
}

.project-card__details {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0.8rem 0.2rem 0.2rem;
}

.project-card:nth-child(n + 2) .project-card__details {
  max-height: 0;
  overflow: hidden;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.6rem);
  transition:
    max-height 480ms cubic-bezier(0.2, 0.7, 0.2, 1),
    padding 420ms ease,
    opacity 300ms ease,
    transform 420ms ease,
    visibility 0s linear 480ms;
}

.project-card:nth-child(n + 2).is-active .project-card__details {
  max-height: 24rem;
  padding: 0.8rem 0.2rem 0.2rem;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
}

.project-card__heading {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.project-card__identity {
  min-width: 0;
}

.project-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--title-project);
  font-weight: 400;
  line-height: 1.1;
}

.project-card__category,
.project-card__type {
  margin: 0.25rem 0 0;
  color: rgba(248, 226, 208, 0.65);
  font-size: 0.82rem;
}

.project-card__type {
  margin-top: 0;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-card__panel {
  display: grid;
  width: 100%;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 420ms cubic-bezier(0.2, 0.7, 0.2, 1), opacity 320ms ease;
}

.project-card.is-active .project-card__panel {
  grid-template-rows: 1fr;
  opacity: 1;
}

.project-card__panel-inner {
  min-height: 0;
  overflow: hidden;
}

.project-card__description {
  max-width: 38rem;
  margin: 0;
  padding-top: 0.8rem;
  color: rgba(248, 226, 208, 0.72);
  font-size: 0.82rem;
  line-height: 1.55;
}

.about {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  align-items: center;
  gap: var(--section-column-gap);
  width: min(100%, var(--content-frame));
  margin-inline: auto;
  padding: var(--section-padding-block) var(--page-gutter);
  color: var(--color-cream);
}

.about::before {
  position: absolute;
  z-index: 0;
  inset-block: 0;
  right: calc((100% - 100vw) / 2);
  left: calc((100% - 100vw) / 2);
  background:
    linear-gradient(
      180deg,
      rgba(23, 20, 22, 0) 0%,
      rgba(23, 20, 22, 0.12) 12%,
      rgba(23, 20, 22, 0.72) 32%,
      rgba(23, 20, 22, 0.88) 58%,
      rgba(23, 20, 22, 0.62) 78%,
      rgba(23, 20, 22, 0.18) 93%,
      rgba(23, 20, 22, 0) 100%
    ),
    radial-gradient(
      ellipse 88% 62% at 50% 48%,
      rgba(91, 31, 42, 0.16) 0%,
      rgba(91, 31, 42, 0.09) 46%,
      rgba(23, 20, 22, 0.4) 80%,
      transparent 100%
    ),
    radial-gradient(
      ellipse 110% 42% at 50% 100%,
      rgba(91, 31, 42, 0.14) 0%,
      rgba(23, 20, 22, 0.2) 54%,
      transparent 100%
    );
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 28%, #000 69%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 28%, #000 69%, transparent 100%);
  content: "";
  pointer-events: none;
}

.about__portrait,
.about__content {
  position: relative;
  z-index: 1;
}

.about__portrait {
  width: min(100%, 38rem);
  justify-self: end;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: var(--image-radius);
  background: #b3aaa1;
  box-shadow: var(--image-shadow);
}

.about__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}

.about__content {
  width: min(100%, 38rem);
}

.about > .portfolio__stats {
  grid-column: 1 / -1;
  margin: clamp(2rem, 4vw, 3rem) auto 0;
}

.about__title {
  max-width: 12ch;
  font-size: var(--title-section);
}

.about__text {
  max-width: 34rem;
  margin: 1.5rem 0 0;
  color: rgba(248, 226, 208, 0.74);
}

.about__signature {
  margin: 2rem 0 0;
  font-family: var(--font-display);
  font-size: 1.65rem;
  line-height: 1.2;
}

.about__role {
  margin: 0.35rem 0 0;
  color: var(--color-rose);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.reasons {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(14rem, 0.75fr) minmax(0, 1.25fr);
  gap: var(--section-column-gap);
  width: min(100%, var(--content-frame));
  margin-inline: auto;
  padding: var(--section-padding-block) var(--page-gutter);
  color: var(--color-ink);
}

.reasons::before,
.reasons::after {
  position: absolute;
  z-index: -1;
  content: "";
  pointer-events: none;
  background: var(--color-cream);
}

.reasons::before {
  inset: 1.6rem calc((100% - 100vw) / 2) 0;
}

.reasons::after {
  top: 0;
  left: 50%;
  width: min(30vw, 27rem);
  height: 1.8rem;
  border-radius: 0 0 1.3rem 1.3rem;
  transform: translateX(-50%);
}

.reasons > * {
  position: relative;
  z-index: 1;
}

.reasons .section-kicker {
  color: rgba(91, 31, 42, 0.72);
}

.reasons__intro {
  margin: 0;
}

.reasons__title {
  max-width: 11ch;
  color: var(--color-ink);
}

.reasons__list {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
  perspective: 1200px;
}

.reason {
  min-width: 0;
}

.reason__card {
  overflow: hidden;
  border: 1px solid rgba(91, 31, 42, 0.14);
  border-radius: var(--image-radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0.16) 48%, rgba(91, 31, 42, 0.035)),
    radial-gradient(ellipse 110% 150% at 0% 0%, rgba(248, 226, 208, 0.64), rgba(248, 226, 208, 0.28) 74%);
  box-shadow: 0 10px 25px rgba(23, 20, 22, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  backdrop-filter: blur(16px) saturate(130%);
  transform-style: preserve-3d;
  transition: opacity 980ms ease, translate 980ms cubic-bezier(0.16, 1, 0.3, 1), transform 420ms cubic-bezier(0.2, 0.7, 0.2, 1), border-color 350ms ease, background 420ms ease, box-shadow 420ms ease;
}

.reason__card--from-left {
  --entry-from-x: -30px;
}

.reason__card--from-right {
  --entry-from-x: 30px;
}

.reason__card.reveal-side {
  opacity: 0;
  translate: var(--entry-from-x) 0;
}

.reason__card[open] {
  border-color: rgba(91, 31, 42, 0.3);
  background: radial-gradient(ellipse 120% 145% at 5% 0%, rgba(91, 31, 42, 0.96), rgba(23, 20, 22, 0.98) 78%);
  box-shadow: 0 20px 40px rgba(23, 20, 22, 0.2), 0 0 28px rgba(91, 31, 42, 0.18), inset 0 1px 0 rgba(248, 226, 208, 0.12);
  color: var(--color-cream);
}

.reason__trigger {
  display: flex;
  min-height: 4.8rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.2rem 1.45rem;
  cursor: pointer;
  list-style: none;
}

.reason__trigger::-webkit-details-marker {
  display: none;
}

.reason__trigger::marker {
  content: "";
}

.reason__trigger:focus-visible {
  outline: 1px solid rgba(91, 31, 42, 0.55);
  outline-offset: -4px;
  border-radius: var(--image-radius);
}

.reason__title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.55vw, 1.45rem);
  font-weight: 400;
  line-height: 1.2;
}

.reason__number {
  flex: 0 0 auto;
  color: rgba(91, 31, 42, 0.52);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: color 350ms ease;
}

.reason__card[open] .reason__number {
  color: rgba(248, 226, 208, 0.8);
}

.reason__panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 420ms cubic-bezier(0.2, 0.7, 0.2, 1), opacity 320ms ease;
}

.reason__card[open] .reason__panel {
  grid-template-rows: 1fr;
  opacity: 1;
}

.reason__panel-inner {
  min-height: 0;
  overflow: hidden;
}

.reason__description {
  max-width: 29rem;
  margin: 0;
  padding: 0 1.45rem 1.35rem;
  color: rgba(23, 20, 22, 0.76);
}

@media (hover: hover) and (pointer: fine) {
  .reason__card:hover {
    border-color: rgba(91, 31, 42, 0.28);
    box-shadow: 0 15px 32px rgba(23, 20, 22, 0.16), 0 0 22px rgba(91, 31, 42, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.82);
    --card-lift: -4px;
    --card-scale: 1.012;
  }

  .reason__card[open]:hover {
    border-color: rgba(91, 31, 42, 0.34);
    background: radial-gradient(ellipse 120% 145% at 5% 0%, rgba(91, 31, 42, 0.96), rgba(23, 20, 22, 0.98) 78%);
    --card-lift: -4px;
    --card-scale: 1.012;
  }
}

.card-3d-surface {
  --card-tilt-x: 0deg;
  --card-tilt-y: 0deg;
  --card-lift: 0px;
  --card-scale: 1;
  position: relative;
  z-index: 0;
  transform: perspective(1100px) rotateX(var(--card-tilt-x)) rotateY(var(--card-tilt-y)) translateY(var(--card-lift)) scale(var(--card-scale));
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 520ms cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 420ms ease, border-color 350ms ease;
}

.card-3d-surface:hover,
.card-3d-surface:focus-visible {
  z-index: 3;
  --card-lift: -4px;
  --card-scale: 1.012;
  border-color: rgba(248, 226, 208, 0.32);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.27), 0 0 28px rgba(91, 31, 42, 0.28), inset 0 1px 0 rgba(248, 226, 208, 0.12);
}

.service-card.is-active .service-card__media,
.project-card.is-active,
.reason__card[open] {
  --card-lift: -4px;
  --card-scale: 1.018;
  border-color: rgba(248, 226, 208, 0.4);
  box-shadow: 0 24px 46px rgba(0, 0, 0, 0.3), 0 0 34px rgba(91, 31, 42, 0.4), inset 0 1px 0 rgba(248, 226, 208, 0.18);
}

.reasons .reason__card[open] {
  --card-lift: 0;
  --card-scale: 1;
  border-color: rgba(91, 31, 42, 0.2);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0.16) 48%, rgba(91, 31, 42, 0.035)),
    radial-gradient(ellipse 110% 150% at 0% 0%, rgba(248, 226, 208, 0.64), rgba(248, 226, 208, 0.28) 74%);
  box-shadow: 0 10px 25px rgba(23, 20, 22, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  color: var(--color-ink);
}

@media (hover: hover) and (pointer: fine) {
  .process-step:hover,
  .process-step:focus-visible {
    --card-lift: -1.5px;
    --card-scale: 1.006;
    border-color: rgba(91, 31, 42, 0.22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82), 0 10px 24px rgba(23, 20, 22, 0.08), 0 0 16px rgba(91, 31, 42, 0.07);
  }

  .reason__card:hover,
  .reason__card:focus-visible {
    --card-lift: -1.5px;
    --card-scale: 1.005;
    border-color: rgba(91, 31, 42, 0.2);
    box-shadow: 0 11px 24px rgba(23, 20, 22, 0.1), 0 0 14px rgba(91, 31, 42, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.76);
  }

  .reason__card[open]:hover,
  .reason__card[open]:focus-visible {
    --card-lift: -1.5px;
    --card-scale: 1.005;
    border-color: rgba(248, 226, 208, 0.24);
    box-shadow: 0 14px 28px rgba(23, 20, 22, 0.16), 0 0 18px rgba(91, 31, 42, 0.14), inset 0 1px 0 rgba(248, 226, 208, 0.1);
  }
}

.reasons .reason__card[open] .reason__description {
  color: rgba(23, 20, 22, 0.76);
}

.reasons .reason__card[open] .reason__number {
  color: rgba(91, 31, 42, 0.52);
}

.reasons .reason__card:hover,
.reasons .reason__card:focus-visible {
  --card-lift: -1.5px;
  --card-scale: 1.005;
  border-color: rgba(91, 31, 42, 0.2);
  box-shadow: 0 11px 24px rgba(23, 20, 22, 0.1), 0 0 14px rgba(91, 31, 42, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

.reasons .reason__card[open]:hover,
.reasons .reason__card[open]:focus-visible {
  --card-lift: -1.5px;
  --card-scale: 1.005;
  border-color: rgba(91, 31, 42, 0.22);
  box-shadow: 0 11px 24px rgba(23, 20, 22, 0.1), 0 0 14px rgba(91, 31, 42, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

.project-card.is-active {
  z-index: 2;
  border-color: rgba(248, 226, 208, 0.36);
  background: radial-gradient(ellipse 110% 130% at 50% 0%, rgba(91, 31, 42, 0.38), rgba(23, 20, 22, 0.72) 80%);
}

.contact-cta {
  position: sticky;
  top: 0;
  display: flex;
  height: max(44rem, 100svh);
  min-height: max(44rem, 100svh);
  align-items: center;
  justify-content: center;
  padding: clamp(4rem, 8vw, 7rem) var(--page-gutter);
  text-align: center;
}

.contact-cta__card {
  position: relative;
  isolation: isolate;
  display: flex;
  width: min(100%, 58rem);
  flex-direction: column;
  align-items: center;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4rem);
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: clamp(1.25rem, 2vw, 1.8rem);
  background:
    linear-gradient(145deg, rgba(37, 24, 28, 0.96), rgba(23, 20, 22, 0.94)) padding-box,
    radial-gradient(ellipse 90% 115% at 0% 0%, rgba(91, 31, 42, 0.88), rgba(248, 226, 208, 0.18) 34%, rgba(91, 31, 42, 0.36) 70%, rgba(23, 20, 22, 0.9)) border-box;
  box-shadow:
    inset 0 1px 0 rgba(248, 226, 208, 0.16),
    inset 0 0 46px rgba(91, 31, 42, 0.16),
    0 28px 70px rgba(0, 0, 0, 0.32),
    0 0 48px rgba(91, 31, 42, 0.14);
  -webkit-backdrop-filter: blur(24px) saturate(135%);
  backdrop-filter: blur(24px) saturate(135%);
}

.contact-cta__card::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse 70% 58% at 50% 0%, rgba(91, 31, 42, 0.42), transparent 100%);
  content: "";
  pointer-events: none;
}

.contact-cta__title {
  max-width: 19ch;
  font-size: clamp(2.35rem, 4.7vw, 4.8rem);
  color: transparent;
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(
    108deg,
    var(--color-cream) 0%,
    var(--color-cream) 39%,
    rgba(248, 226, 208, 0.72) 47%,
    #fffaf4 50%,
    rgba(248, 226, 208, 0.72) 53%,
    var(--color-cream) 61%,
    var(--color-cream) 100%
  );
  background-position: 145% 50%;
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: diagonal-word-reflection 8.5s ease-in-out infinite;
}

@keyframes diagonal-word-reflection {
  0%, 64% {
    background-position: 145% 50%;
  }

  100% {
    background-position: -145% 50%;
  }
}

.contact-cta__inline-video {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  width: clamp(3.8rem, 7vw, 6.5rem);
  height: 0.78em;
  align-items: center;
  justify-content: center;
  overflow: visible;
  vertical-align: -0.1em;
}

.contact-cta__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0.2rem 0.35rem rgba(0, 0, 0, 0.42));
}

.contact-cta__description {
  max-width: 33rem;
  margin: 1.35rem 0 2rem;
  color: rgba(248, 226, 208, 0.75);
}

.contact-cta__button {
  display: inline-flex;
  min-height: 3.5rem;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  padding: 0.9rem 1.8rem;
  border: 1px solid rgba(248, 226, 208, 0.86);
  border-radius: 0.8rem;
  background: transparent;
  box-shadow: none;
  color: var(--color-cream);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 280ms ease, box-shadow 280ms ease, background-color 280ms ease;
}

.contact-cta__button:hover,
.contact-cta__button:focus-visible,
.contact-cta__button:active {
  transform: scale(1.025);
  background: #fff0e4;
  color: var(--color-wine);
  box-shadow: 0 12px 34px rgba(91, 31, 42, 0.56), 0 0 22px rgba(248, 226, 208, 0.2);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: min(100%, var(--content-frame));
  margin-inline: auto;
  padding: 2.5rem var(--page-gutter);
  background: var(--color-ink);
  color: var(--color-cream);
}

.site-footer__brand img {
  width: clamp(7rem, 9vw, 8.5rem);
  height: auto;
}

.site-footer__meta {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 0.55rem;
}

.site-footer__socials {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.site-footer__socials img {
  width: 1rem;
  height: 1rem;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(90%) sepia(10%) saturate(602%) hue-rotate(319deg) brightness(104%) contrast(96%);
  opacity: 0.88;
}

.site-footer__signature {
  margin: 0;
  color: rgba(248, 226, 208, 0.68);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: right;
}

@media (min-width: 901px) {
  :root {
    --page-gutter: clamp(1.5rem, 4.5vw, 4rem);
    --content-width: 80rem;
    --section-padding-block: clamp(4.5rem, 6vw, 6.5rem);
    --section-column-gap: clamp(2rem, 4vw, 4rem);
  }

  .hero {
    padding: clamp(7.5rem, 10vh, 8.5rem) var(--page-gutter) clamp(4.5rem, 7vh, 5.5rem);
  }

  .contact-cta {
    padding: clamp(4.5rem, 7vw, 6.5rem) var(--page-gutter);
  }
}

@media (max-width: 900px) {
  :root {
    --page-gutter: clamp(1.5rem, 5vw, 3rem);
    --section-column-gap: clamp(1.5rem, 4vw, 2.5rem);
  }

  .hero {
    padding: clamp(7rem, 10vh, 8rem) var(--page-gutter) 4.5rem;
  }

  .hero__description {
    margin: 1.5rem 0 1.65rem;
  }

  .hero__marquee {
    margin-top: clamp(3rem, 6vw, 4rem);
  }

  .services {
    padding-top: clamp(4rem, 7vw, 5rem);
    padding-bottom: calc(clamp(4rem, 7vw, 5rem) + var(--featured-overlap));
  }

  .services__intro {
    gap: clamp(1.25rem, 3vw, 2rem);
  }

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

  .services__intro {
    grid-template-columns: minmax(0, 1fr) minmax(14rem, 0.8fr);
    gap: 2rem;
  }

  .services__title {
    font-size: clamp(2.5rem, 5.5vw, 3.4rem);
  }

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

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

  .featured-project {
    grid-template-columns: minmax(15rem, 0.8fr) minmax(0, 1.2fr);
    min-height: 25rem;
  }

  .service-card:last-child {
    grid-column: 1 / -1;
    width: 100%;
    justify-self: stretch;
  }

  .reasons {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .reasons::before {
    inset-block-start: 1.2rem;
  }

  .reasons::after {
    width: min(64vw, 24rem);
    height: 1.4rem;
    border-radius: 0 0 1rem 1rem;
  }

  .reasons__title {
    max-width: 12ch;
  }

  .contact-cta__card {
    width: min(100%, 50rem);
  }
}

@media (max-width: 640px) {
  html,
  body {
    max-width: 100%;
    overflow-x: clip;
  }

  :root {
    --page-gutter: 1.25rem;
    --section-padding-block: clamp(3rem, 8vw, 3.75rem);
  }

  .site-header {
    top: max(1.1rem, env(safe-area-inset-top));
    padding-block: 1.1rem;
  }

  .site-nav {
    gap: clamp(0.7rem, 2.4vw, 1.1rem);
  }

  .site-nav a {
    font-size: 0.72rem;
    letter-spacing: 0;
  }

  .hero {
    height: max(48rem, 100svh);
    min-height: max(48rem, 100svh);
    justify-content: flex-start;
    padding-top: clamp(5.65rem, 12vw, 6.4rem);
    padding-bottom: 1.5rem;
  }

  .hero__marquee {
    position: absolute;
    right: var(--page-gutter);
    bottom: 1.5rem;
    left: var(--page-gutter);
    margin-top: 0;
  }

  .hero-scroll-track {
    height: calc(max(48rem, 100svh) + 160svh);
  }

  .contact-scroll-track {
    height: calc(max(48rem, 100svh) + 100svh);
  }

  .contact-cta {
    height: max(48rem, 100svh);
    min-height: max(48rem, 100svh);
  }

  :root {
    --title-hero: clamp(2.8rem, 10.5vw, 4.2rem);
    --title-cta: clamp(2.7rem, 11.5vw, 4.2rem);
  }

  .hero__background video {
    object-position: 72% center;
    transform: scale(1.04);
    transform-origin: center;
    opacity: calc(1 - var(--hero-scroll-progress, 0) * 0.28);
    filter: saturate(0.38);
  }

  .hero__background::before {
    opacity: calc(0.68 + var(--hero-scroll-progress, 0) * 0.32);
  }

  .hero__title {
    max-width: 11ch;
  }

  .hero__description {
    max-width: 28rem;
    margin: 1.25rem 0 1.5rem;
  }

  .hero__marquee {
    margin-top: clamp(2.5rem, 7vw, 3.25rem);
  }

  .services {
    padding-top: clamp(3.5rem, 9vw, 4rem);
    padding-bottom: calc(clamp(3.5rem, 9vw, 4rem) + var(--featured-overlap));
  }

  .reasons {
    gap: clamp(2rem, 6vw, 2.75rem);
    padding-block: calc(var(--section-padding-block) + 0.5rem);
  }

  .services__intro {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .services::before {
    inset-block-start: 1.2rem;
  }

  .services::after {
    width: min(64vw, 24rem);
    height: 1.4rem;
    border-radius: 0 0 1rem 1rem;
  }

  .featured-project {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 1rem;
    min-height: max(calc(100vw * 1.2), 30rem);
    padding: clamp(4.75rem, 15vw, 6.75rem) var(--page-gutter) 1.5rem;
  }

  .featured-project__visual {
    display: none;
  }

  .featured-project::before {
    background:
      linear-gradient(180deg, #171416 0%, rgba(23, 20, 22, 0.98) 12%, rgba(23, 20, 22, 0.88) 28%, rgba(23, 20, 22, 0.62) 46%, rgba(23, 20, 22, 0.3) 64%, rgba(23, 20, 22, 0) 82%),
      linear-gradient(180deg, rgba(23, 20, 22, 0.16), rgba(23, 20, 22, 0.24)),
      linear-gradient(90deg, rgba(23, 20, 22, 0.34), rgba(23, 20, 22, 0.08) 78%, transparent),
      url("assets/featured-project-background-mobile.png") center calc(50% + 4rem) / cover no-repeat,
      linear-gradient(105deg, #171416 0%, #241216 46%, #35151d 100%);
  }

  .services__title {
    max-width: 13ch;
    font-size: clamp(2.35rem, 8vw, 3.25rem);
  }

  .services__statement {
    justify-self: start;
  }

  .services__statement p {
    max-width: 34rem;
  }

  .services__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .portfolio__intro {
    margin-bottom: 2rem;
  }

  .service-card:last-child {
    grid-column: auto;
    width: 100%;
  }

  .service-card__media {
    aspect-ratio: 4 / 3;
  }

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

  .process-step,
  .process-step--from-left,
  .process-step--from-right {
    min-height: 0;
    margin: 0;
    padding: 1.25rem;
    border: 1px solid rgba(91, 31, 42, 0.14);
  }

  .portfolio__projects {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .project-card:first-child {
    grid-column: auto;
    display: block;
    padding: 0.65rem;
  }

  .project-card:first-child .project-card__media {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .project-card:first-child .project-card__details {
    padding: 0.8rem 0.2rem 0.2rem;
  }

  .project-card__featured {
    margin-bottom: 0.8rem;
  }

  .project-card:first-child .project-card__title {
    font-size: 1.8rem;
  }

  .portfolio__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(0.85rem, 3vw, 1.5rem);
    column-gap: 0;
    margin-top: 2rem;
  }

  .portfolio__stat {
    align-items: center;
    gap: 0.55rem;
  }

  .portfolio__stat-value {
    font-size: clamp(2rem, 7vw, 2.6rem);
  }

  .portfolio__stat-label {
    font-size: clamp(0.82rem, 2.8vw, 1rem);
  }

  .project-card__details {
    gap: 0.35rem;
  }

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

  .about__content {
    display: contents;
  }

  .about .section-kicker {
    order: 1;
  }

  .about__title {
    order: 2;
  }

  .about__content > .about__text:nth-of-type(2) {
    order: 3;
  }

  .about__content > .about__text:nth-of-type(3) {
    order: 4;
  }

  .about__portrait {
    order: 5;
    width: min(100%, 30rem);
    justify-self: center;
    margin-block: 2.5rem 1.5rem;
  }

  .about__signature {
    order: 6;
    width: min(100%, 30rem);
    margin: 0 auto;
  }

  .about__role {
    order: 7;
    width: min(100%, 30rem);
    margin: 0.35rem auto 0;
  }

  .about > .portfolio__stats {
    order: 8;
    margin-top: 2rem;
  }

  .reason {
    min-width: 0;
  }

  .contact-cta {
    min-height: 34rem;
  }

  .site-footer {
    align-items: center;
    flex-direction: column;
    gap: 1.25rem;
    padding-block: 2rem;
  }

  .site-footer__meta {
    align-items: center;
  }

  .site-footer__signature {
    max-width: 26rem;
    font-size: 0.62rem;
    letter-spacing: 0.07em;
    text-align: center;
  }
}

@media (max-width: 480px) {
  :root {
    --page-gutter: 1rem;
    --section-padding-block: clamp(2.6rem, 9vw, 3.1rem);
    --title-section: clamp(2.2rem, 10vw, 3rem);
  }

  .portfolio__intro {
    margin-bottom: 1.5rem;
  }

  .portfolio__intro {
    margin-bottom: 1.35rem;
  }

  .portfolio__stats {
    margin-top: 1.5rem;
  }

  .about > .portfolio__stats {
    margin-top: 1.5rem;
  }

  .site-header {
    top: max(0.95rem, env(safe-area-inset-top));
    right: 0.6rem;
    left: 0.6rem;
    gap: 0.45rem;
    padding: 0.68rem 0.82rem;
  }

  .site-header__logo {
    width: 3.5rem;
  }

  .site-nav {
    gap: 0.52rem;
  }

  .site-nav a {
    font-size: 0.63rem;
    line-height: 1.2;
  }

  .hero {
    padding-top: 5.85rem;
    padding-bottom: 2rem;
  }

  .hero__title {
    max-width: 10ch;
    font-size: clamp(2.55rem, 11.5vw, 3.35rem);
  }

  .hero__description {
    max-width: 24rem;
    margin: 1rem 0 1.25rem;
    font-size: 0.96rem;
  }

  .hero__marquee {
    height: 2.25rem;
    margin-top: 0;
    font-size: 0.82rem;
  }

  .services {
    padding-top: 3rem;
    padding-bottom: calc(3rem + var(--featured-overlap));
  }

  .reasons {
    padding-block: calc(var(--section-padding-block) + 0.5rem);
  }

  .services .section-kicker {
    margin-bottom: 0.85rem;
  }

  .services__intro {
    gap: 0.7rem;
  }

  .services__statement p {
    font-size: 0.96rem;
    line-height: 1.55;
  }

  .hero__marquee-group {
    gap: 1rem;
    padding-right: 1rem;
  }

  .hero__cta {
    max-width: 100%;
    padding-inline: 1rem;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
  }

  .service-card__content {
    padding: 1.1rem;
  }

  .process-step {
    padding: 1.1rem;
  }

  .portfolio__title {
    font-size: clamp(1.9rem, 8.8vw, 2.5rem);
    line-height: 1.05;
  }

  .services__title {
    font-size: clamp(2.1rem, 9vw, 2.7rem);
  }

  .portfolio__description {
    font-size: 0.95rem;
  }

  .project-card {
    padding: 0.65rem;
  }

  .project-card__title {
    font-size: 1.55rem;
  }

  .project-card__description {
    font-size: 0.78rem;
  }

  .portfolio__stats {
    gap: 1.5rem;
    column-gap: 0;
  }

  .portfolio__stat {
    gap: 0.6rem;
  }

  .portfolio__stat-value {
    font-size: clamp(1.7rem, 7vw, 2rem);
  }

  .portfolio__stat-label {
    font-size: clamp(0.72rem, 3.2vw, 0.88rem);
  }

  .portfolio__stat {
    gap: 0.4rem;
    padding-inline: 0.35rem;
  }

  .about__title,
  .reasons__title {
    max-width: 100%;
  }

  .about__text,
  .reason__description {
    font-size: 0.94rem;
  }

  .reason__trigger {
    min-height: 4.25rem;
    gap: 0.75rem;
    padding: 0.95rem 1rem;
  }

  .reason__title {
    font-size: 1.08rem;
  }

  .reason__description {
    padding: 0 1rem 1rem;
  }

  .contact-cta {
    height: max(46rem, 100svh);
    min-height: max(46rem, 100svh);
  }

  .contact-cta__card {
    padding: 2.25rem 1.1rem;
    border-radius: 1.25rem;
  }

  .contact-cta__title {
    max-width: 19ch;
    font-size: clamp(2rem, 9.7vw, 2.8rem);
    line-height: 1.05;
  }

  .contact-cta__inline-video {
    width: clamp(3.3rem, 14vw, 4.7rem);
  }

  .contact-cta__description {
    font-size: 0.92rem;
  }

  .contact-cta__button {
    min-height: 3.25rem;
    padding-inline: 1.2rem;
    font-size: 0.69rem;
  }

  .site-footer__signature {
    font-size: 0.54rem;
    letter-spacing: 0.04em;
  }
}

@media (max-width: 360px) {
  :root {
    --page-gutter: 0.8rem;
  }

  .site-header {
    top: 0.65rem;
    right: 0.4rem;
    left: 0.4rem;
    gap: 0.25rem;
    padding: 0.6rem 0.64rem;
  }

  .site-header__logo {
    width: 3.1rem;
  }

  .site-nav {
    gap: 0.38rem;
  }

  .site-nav a {
    font-size: 0.56rem;
  }

  .hero__title {
    font-size: clamp(2.35rem, 11vw, 2.8rem);
  }

  .hero {
    padding-top: 6.15rem;
    padding-bottom: 1.1rem;
  }

  .hero__marquee {
    right: var(--page-gutter);
    bottom: 1.1rem;
    left: var(--page-gutter);
    margin-top: 0;
  }

  .services__title {
    max-width: 13ch;
    font-size: clamp(1.8rem, 9vw, 2.1rem);
  }

  .portfolio__stat-value {
    font-size: 1.5rem;
  }

  .portfolio__stat-label {
    font-size: 0.68rem;
  }
}

@media (max-height: 520px) and (orientation: landscape) and (max-width: 900px) {
  .hero {
    height: max(34rem, 100svh);
    min-height: max(34rem, 100svh);
    padding-block: 6rem 3rem;
  }

  .hero-scroll-track {
    height: calc(max(34rem, 100svh) + 160svh);
  }

  .contact-cta,
  .contact-cta__card {
    min-height: 30rem;
  }

  .contact-cta {
    height: max(30rem, 100svh);
  }

  .contact-scroll-track {
    height: calc(max(30rem, 100svh) + 100svh);
  }
}

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

  .hero__marquee-track {
    animation: none;
    transform: none;
    justify-content: center;
    width: 100%;
  }

  .hero__marquee-group[aria-hidden="true"] {
    display: none;
  }

  .hero__marquee-group:not([aria-hidden="true"]) {
    margin-inline: auto;
  }

  .process-step {
    transition: none;
  }

  .process-step:hover,
  .process-step.is-active,
  .process-step:focus-visible {
    transform: none;
  }

  .hero-scroll-track {
    height: auto;
  }

  .contact-scroll-track {
    height: auto;
  }

  .contact-cta {
    position: relative;
    height: auto;
    min-height: 34rem;
  }

  .hero {
    position: relative;
    top: auto;
    height: auto;
  }

  .hero__title-glass,
  .contact-cta__title {
    animation: none;
  }

  .card-3d-surface,
  .card-3d-surface:hover,
  .card-3d-surface:focus-visible {
    transform: none;
    transition: none;
    will-change: auto;
  }
}
