/* Hero orange direction: the brand color becomes the primary surface. */
main {
  overflow-x: clip;
}

.header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  max-width: none;
  height: 88px;
  padding: 0 max(2rem, 4.5vw);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  animation: navbar-enter 760ms ease-out both;
}

.header-pill {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 1.2vw, 1rem);
  padding: 0.4rem 0.45rem 0.4rem 0.55rem;
  border: 1px solid rgba(243, 241, 236, 0.28);
  border-radius: 999px;
  background: linear-gradient(115deg, rgba(243, 241, 236, 0.085), rgba(243, 241, 236, 0.025) 58%, rgba(243, 241, 236, 0.075));
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14), inset 0 1px 0 rgba(243, 241, 236, 0.16);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  backdrop-filter: blur(16px) saturate(130%);
  animation: navbar-pill-enter 900ms cubic-bezier(0.16, 1, 0.3, 1) 120ms both;
}

.header-pill::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 22%, rgba(255, 255, 255, 0.13) 49%, transparent 68%);
  transform: translateX(-125%);
  transition: transform 720ms cubic-bezier(0.16, 1, 0.3, 1);
}

.header-pill:hover::before,
.header-pill:focus-within::before {
  transform: translateX(125%);
}

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

.header-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  transition: transform 220ms ease-out, filter 220ms ease-out;
  animation: navbar-brand-enter 720ms ease-out 420ms both;
}

.header-brand:hover,
.header-brand:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.header-nav {
  position: static;
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 1.4vw, 1.35rem);
  width: auto;
  padding: 0;
  border: 0;
  background: transparent;
  margin-inline: auto;
  color: rgba(243, 241, 236, 0.72);
  font-size: 0.68rem;
  letter-spacing: 0.02em;
}

.header-nav a {
  position: relative;
  padding: 0.45rem 0.15rem;
  color: inherit;
  transition: color 180ms ease-out, transform 180ms ease-out;
}

.header-nav a::after {
  content: "";
  position: absolute;
  right: 0.15rem;
  bottom: 0.15rem;
  left: 0.15rem;
  height: 1px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.header-nav a:hover,
.header-nav a:focus-visible {
  color: var(--paper);
  transform: translateY(-1px);
}

.header-nav a:hover::after,
.header-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.header-logo-frame {
  display: block;
  width: 100px;
  height: 31px;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.header-logo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.language-menu {
  position: relative;
  justify-self: end;
  min-width: 11.4rem;
  animation: navbar-slide-right 720ms cubic-bezier(0.16, 1, 0.3, 1) 240ms both;
}

.language-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
  padding: 0.63rem 0.78rem;
  border: 1px solid rgba(243, 241, 236, 0.4);
  border-radius: 999px;
  background: rgba(243, 241, 236, 0.075);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(243, 241, 236, 0.13);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  backdrop-filter: blur(16px) saturate(130%);
  color: var(--paper);
  font: 600 0.75rem var(--body);
  cursor: pointer;
  transition: background-color 200ms ease-out, border-color 200ms ease-out, box-shadow 220ms ease-out, transform 180ms ease-out;
}

.language-trigger:hover,
.language-trigger[aria-expanded="true"] {
  border-color: rgba(243, 241, 236, 0.72);
  background: rgba(243, 241, 236, 0.14);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(243, 241, 236, 0.22);
  transform: translateY(-1px);
}

.language-trigger:active {
  transform: translateY(0) scale(0.98);
}

.language-current-flag,
.language-option-flag {
  display: block;
  flex: 0 0 auto;
  width: 1.28rem;
  height: 0.82rem;
  overflow: hidden;
  border-radius: 0.16rem;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(243, 241, 236, 0.18);
}

.language-current-label {
  flex: 1;
  text-align: left;
}

.language-chevron {
  font-size: 0.95rem;
  line-height: 0.8;
  transition: transform 180ms ease;
}

.language-menu.open .language-chevron {
  transform: rotate(180deg);
}

.language-options {
  position: absolute;
  top: calc(100% + 0.55rem);
  right: 0;
  z-index: 30;
  min-width: 12rem;
  padding: 0.35rem;
  border: 1px solid rgba(243, 241, 236, 0.34);
  border-radius: 1rem;
  background: rgba(10, 8, 8, 0.46);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(243, 241, 236, 0.12);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  backdrop-filter: blur(18px) saturate(130%);
  animation: language-menu-enter 240ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.language-options[hidden] {
  display: none;
}

.language-option {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.58rem 0.62rem;
  border: 0;
  border-radius: 0.7rem;
  background: transparent;
  color: rgba(243, 241, 236, 0.82);
  font: 500 0.7rem var(--body);
  text-align: left;
  cursor: pointer;
  transition: background-color 160ms ease-out, color 160ms ease-out, transform 160ms ease-out;
}

.language-option[hidden] {
  display: none;
}

.language-option:hover,
.language-option:focus-visible {
  background: rgba(243, 241, 236, 0.12);
  color: var(--paper);
  transform: translateX(2px);
}

.language-menu.open .language-option:not([hidden]) {
  animation: language-option-enter 220ms ease-out both;
}

.language-menu.open .language-option:nth-child(2) {
  animation-delay: 35ms;
}

.language-menu.open .language-option:nth-child(3) {
  animation-delay: 70ms;
}

.header-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex: 0 0 auto;
  padding: 0.68rem 0.95rem;
  border: 1px solid rgba(243, 241, 236, 0.34);
  border-radius: 999px;
  background: rgba(243, 241, 236, 0.095);
  color: var(--paper);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(243, 241, 236, 0.18);
  -webkit-backdrop-filter: blur(13px) saturate(125%);
  backdrop-filter: blur(13px) saturate(125%);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color 220ms ease-out, border-color 220ms ease-out, box-shadow 220ms ease-out, color 220ms ease-out, transform 180ms ease-out;
  animation: navbar-contact-enter 680ms cubic-bezier(0.16, 1, 0.3, 1) 520ms both;
}

.header-contact:hover {
  border-color: rgba(255, 111, 73, 0.84);
  background: rgba(255, 59, 10, 0.24);
  box-shadow: 0 10px 26px rgba(255, 59, 10, 0.14), inset 0 1px 0 rgba(255, 217, 207, 0.24);
  color: var(--paper);
  transform: translateY(-1px);
}

.header-contact:active {
  transform: translateY(0) scale(0.98);
}

.header-contact span {
  font-size: 1rem;
  line-height: 1;
}

.header-contact .header-contact-label {
  display: none;
  font-size: inherit;
  line-height: inherit;
}

.header-arrow {
  display: block;
  width: 1.05rem;
  height: 1.05rem;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.header-contact:hover .header-arrow,
.header-contact:focus-visible .header-arrow {
  transform: translateX(3px) scale(1.04);
}

.header-contact:active .header-arrow {
  transform: translateX(1px) scale(0.96);
}

html[lang="pt-BR"] .header-contact-label[lang="pt"],
html[lang="en"] .header-contact-label[lang="en"],
html[lang="es"] .header-contact-label[lang="es"] {
  display: inline;
}

.header-location {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  color: rgba(243, 241, 236, 0.86);
  font-size: 0.76rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  animation: navbar-slide-left 720ms cubic-bezier(0.16, 1, 0.3, 1) 80ms both;
}

.header-location svg {
  transform-origin: center;
  animation: location-pulse 3.2s ease-in-out 1s infinite;
}

.header-location svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

@keyframes navbar-enter {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes navbar-slide-left {
  from { opacity: 0; transform: translateX(-18px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes navbar-slide-right {
  from { opacity: 0; transform: translateX(18px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes navbar-pill-enter {
  from { opacity: 0; transform: translateY(-12px) scale(0.94); filter: blur(5px); }
  to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

@keyframes navbar-brand-enter {
  from { opacity: 0; transform: translateX(-8px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes navbar-contact-enter {
  from { opacity: 0; transform: translateX(8px) scale(0.96); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes language-menu-enter {
  from { opacity: 0; transform: translateY(-7px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes language-option-enter {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes location-pulse {
  0%, 100% { transform: scale(1); }
  48% { transform: scale(1.08); }
  58% { transform: scale(1); }
}

@keyframes hero-cue-enter {
  from { opacity: 0; transform: translateX(-50%) translateY(8px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@keyframes hero-projects-enter {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes mouse-scroll-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

@keyframes hero-arrow-trace {
  0%, 5% { stroke-dashoffset: 140; opacity: 0; }
  42% { stroke-dashoffset: 70; opacity: 0.86; }
  56% { stroke-dashoffset: 0; opacity: 1; }
  76% { stroke-dashoffset: 0; opacity: 0.92; }
  100% { stroke-dashoffset: 140; opacity: 0; }
}

@keyframes hero-arrow-point {
  0%, 46% { stroke-dashoffset: 18; opacity: 0; transform: translateY(-2px) scale(0.88); }
  58% { stroke-dashoffset: 0; opacity: 1; transform: translateY(0) scale(1); }
  78% { stroke-dashoffset: 0; opacity: 0.84; transform: translateY(0) scale(1); }
  100% { stroke-dashoffset: 18; opacity: 0; transform: translateY(1px) scale(0.98); }
}

.hero {
  position: relative;
  max-width: none;
  min-height: 100svh;
  padding-left: max(4.5vw, calc((100vw - 1440px) / 2 + 4.5vw));
  padding-right: max(4.5vw, calc((100vw - 1440px) / 2 + 4.5vw));
  background-color: #070405;
  background-image: none;
  background-position: center;
  background-size: cover;
  color: var(--paper);
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto;
  justify-items: center;
  align-content: center;
  gap: clamp(1.25rem, 2.4vh, 2.25rem);
  text-align: center;
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: min(100%, 76rem);
  text-align: center;
}

.hero-visual {
  position: relative;
  z-index: 2;
  min-width: 0;
  width: min(100%, 40vw);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-footer {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  width: min(100%, 56rem);
}

.hero-scroll-cue,
.hero-projects-link {
  position: absolute;
  bottom: clamp(1.35rem, 4vh, 3rem);
  z-index: 4;
}

.hero-scroll-cue {
  left: 50%;
  display: grid;
  width: 3.25rem;
  height: 3.25rem;
  place-items: center;
  border-radius: 999px;
  transform: translateX(-50%);
  transition: opacity 180ms ease-out, transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
  animation: hero-cue-enter 800ms cubic-bezier(0.16, 1, 0.3, 1) 500ms both;
}

.hero-scroll-cue img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  animation: mouse-scroll-bob 2.4s ease-in-out infinite;
}

.hero-scroll-cue:hover,
.hero-scroll-cue:focus-visible {
  opacity: 0.78;
  transform: translateX(-50%) translateY(-3px);
}

.hero-projects-link {
  right: max(2rem, 4.5vw);
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 0.45rem 0.1rem;
  color: rgba(243, 241, 236, 0.78);
  font-family: var(--body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: lowercase;
  transition: color 180ms ease-out, transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
  animation: hero-projects-enter 760ms cubic-bezier(0.16, 1, 0.3, 1) 620ms both;
}

.hero-projects-label {
  position: relative;
  display: inline-block;
  padding-bottom: 0.46rem;
}

.hero-projects-link:hover,
.hero-projects-link:focus-visible {
  color: var(--paper);
  transform: translateY(-3px);
}

.hero-projects-arrow {
  position: absolute;
  top: calc(100% - 0.32rem);
  left: 0;
  display: block;
  width: calc(100% + 1.1rem);
  height: 0.96rem;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.35;
}

.hero-projects-route {
  stroke-dasharray: 140;
  stroke-dashoffset: 140;
  will-change: stroke-dashoffset, opacity;
  animation: hero-arrow-trace 2.6s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

.hero-projects-head {
  transform-origin: 120px 22px;
  stroke-dasharray: 18;
  stroke-dashoffset: 18;
  will-change: stroke-dashoffset, opacity, transform;
  animation: hero-arrow-point 2.6s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@media (hover: hover) and (pointer: fine) {
  .hero-projects-link:hover .hero-projects-route,
  .hero-projects-link:focus-visible .hero-projects-route {
    animation-duration: 1.8s;
    animation-delay: -0.22s;
  }

  .hero-projects-link:hover .hero-projects-head,
  .hero-projects-link:focus-visible .hero-projects-head {
    animation-duration: 1.8s;
    animation-delay: -0.7s;
  }
}

.hero .intro,
.hero .hero-description,
.hero .text-link {
  color: var(--paper);
}

.hero .intro {
  max-width: 56rem;
  margin: 1.25rem auto 0;
  color: rgba(243, 241, 236, 0.72);
  font-family: var(--body);
  font-size: clamp(0.84rem, 1.25vw, 1.05rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.3;
  text-transform: lowercase;
}

.hero h1 {
  font-size: clamp(3.25rem, 6.2vw, 6.2rem);
  max-width: none;
  margin-inline: auto;
  color: var(--paper);
  transform: perspective(1200px) rotateX(var(--hero-rotate-x, 0deg)) rotateY(var(--hero-rotate-y, 0deg)) translateZ(var(--hero-depth, 0px));
  transform-style: preserve-3d;
  transform-origin: 50% 50%;
  text-shadow: var(--hero-shadow-x, 0px) var(--hero-shadow-y, 0px) 0 rgba(255, 59, 10, 0.12);
  transition: transform 520ms cubic-bezier(0.16, 1, 0.3, 1), text-shadow 520ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.hero h1 .hero-title-light {
  display: inline-block;
  font-size: 0.82em;
  font-weight: 400;
  letter-spacing: -0.04em;
  transform: translateZ(8px);
  transition: transform 520ms cubic-bezier(0.16, 1, 0.3, 1), text-shadow 520ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.hero h1 strong {
  display: inline-block;
  font-size: 1.08em;
  font-weight: 700;
  letter-spacing: -0.055em;
  white-space: nowrap;
  transform: translateZ(16px);
  transition: transform 520ms cubic-bezier(0.16, 1, 0.3, 1), text-shadow 520ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.hero h1.is-tilting {
  transition-duration: 140ms;
  text-shadow: var(--hero-shadow-x, 0px) var(--hero-shadow-y, 0px) 12px rgba(255, 59, 10, 0.2);
}

.hero h1.is-tilting .hero-title-light {
  transform: translateZ(20px);
  text-shadow: 0 0 18px rgba(243, 241, 236, 0.12);
}

.hero h1.is-tilting strong {
  transform: translateZ(34px);
  text-shadow: 0 14px 20px rgba(255, 59, 10, 0.18);
}

.hero .hero-description {
  max-width: 56rem;
  margin: 0;
  color: rgba(243, 241, 236, 0.72);
  font-family: var(--body);
  font-size: clamp(0.84rem, 1.25vw, 1.05rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.3;
  text-transform: lowercase;
}

.hero .primary {
  background: var(--orange);
  color: var(--paper);
}

.hero .primary:hover {
  background: #ff5a2e;
}

@media (max-width: 760px) {
  .hero {
    min-height: 100svh;
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: clamp(2.2rem, 4.8vh, 3.25rem);
    padding: 5rem 1.25rem 3rem;
    background-image:
      linear-gradient(180deg, rgba(7, 4, 5, 0.08), rgba(7, 4, 5, 0.34)),
      url("./assets/hero-space-orange-mobile.jpg?v=20260920-performance");
  }

  .hero-copy {
    transform: translateY(-0.55rem);
  }

  .hero .hero-visual {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    overflow: hidden;
  }

  .hero .bbd2 {
    width: min(100%, 520px);
  }

  .header {
    position: absolute;
    inset: 0 0 auto;
    height: 82px;
    padding: 0 1.25rem;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.6rem;
  }

  .header-pill {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: center;
    gap: 0.35rem;
    padding: 0.3rem 0.35rem 0.3rem 0.5rem;
  }

  .header-logo-frame {
    width: 84px;
    height: 28px;
  }

  .header-nav {
    gap: 0.35rem;
    font-size: 0.62rem;
  }

  .header-nav a {
    padding: 0.34rem 0.18rem;
  }

  .header-contact {
    padding: 0.58rem 0.7rem;
    font-size: 0.68rem;
  }

  .header-location {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    font-size: 0.68rem;
  }

  .language-menu {
    grid-column: 2;
    grid-row: 1;
    min-width: 10.2rem;
  }

  .language-trigger {
    padding: 0.48rem 0.58rem;
    font-size: 0.68rem;
  }

  .hero-footer {
    gap: 1rem;
  }

  .hero .hero-description {
    max-width: 36ch;
  }

  .hero h1 {
    font-size: clamp(3.25rem, 15vw, 5.5rem);
    line-height: 0.82;
    max-width: 100%;
  }

  .hero h1 .hero-title-light {
    font-size: clamp(2rem, 9vw, 3.8rem);
  }

  .hero h1 strong {
    font-size: clamp(2.25rem, 11.4vw, 4.8rem);
  }

  .hero-scroll-cue {
    bottom: 1.15rem;
    width: 2.65rem;
    height: 2.65rem;
  }

  .hero-projects-link {
    right: 1rem;
    bottom: 1.28rem;
    gap: 0;
    font-size: 0.6rem;
  }

  .hero-projects-arrow {
    width: calc(100% + 0.95rem);
    height: 0.84rem;
  }
}

@media (min-width: 761px) {
  .hero {
    background-image:
      linear-gradient(180deg, rgba(7, 4, 5, 0.08), rgba(7, 4, 5, 0.34)),
      url("./assets/hero-space-orange.jpg?v=20260920-performance");
  }
}

@media (max-width: 420px) {
  .hero {
    min-height: 100svh;
  }

  .header {
    height: 104px;
    padding: 0.65rem 0.85rem 0.75rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto 1fr;
    align-items: center;
  }

  .header-location {
    position: static;
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    font-size: 0.6rem;
  }

  .header-location svg {
    width: 0.85rem;
    height: 0.85rem;
  }

  .header-logo-frame {
    width: 72px;
    height: 25px;
  }

  .header-nav {
    gap: 0.2rem;
    font-size: 0.56rem;
  }

  .header-nav a {
    padding: 0.3rem 0.12rem;
  }

  .header-pill {
    width: 100%;
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: space-between;
  }

  .language-menu {
    grid-column: 2;
    grid-row: 1;
    min-width: 10rem;
  }

  .language-trigger {
    padding: 0.43rem 0.5rem;
    font-size: 0.6rem;
  }

  .language-options {
    min-width: 10rem;
  }

  .header-contact {
    padding: 0.52rem 0.58rem;
    font-size: 0.6rem;
  }
}

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

  .pulse-orbit,
  .pulse-core,
  .header,
  .header-location,
  .header-location svg,
  .header-pill,
  .header-brand,
  .header-contact,
  .language-menu,
  .language-options,
  .language-menu.open .language-option:not([hidden]) {
    animation: none;
  }

  .header-pill::before,
  .header-nav a,
  .header-nav a::after,
  .language-trigger,
  .language-option,
  .header-contact,
  .header-arrow {
    transition: none;
  }

  .header-pill:hover::before,
  .header-pill:focus-within::before {
    transform: none;
  }

  .header-brand:hover,
  .header-brand:focus-visible,
  .header-nav a:hover,
  .header-nav a:focus-visible,
  .language-trigger:hover,
  .language-trigger:focus-visible,
  .language-trigger[aria-expanded="true"],
  .header-contact:hover,
  .language-option:hover,
  .language-option:focus-visible {
    transform: none;
  }

  .header-contact:hover .header-arrow,
  .header-contact:focus-visible .header-arrow,
  .header-contact:active .header-arrow {
    transform: none;
  }

  .hero-scroll-cue,
  .hero-projects-link,
  .hero-scroll-cue img,
  .hero-projects-arrow,
  .hero-projects-route,
  .hero-projects-head {
    animation: none;
  }

  .hero-scroll-cue:hover,
  .hero-scroll-cue:focus-visible,
  .hero-projects-link:hover,
  .hero-projects-link:focus-visible {
    transform: none;
  }
}

/* Projects showcase — approved RV implementation. */
.projects-showcase {
  position: relative;
  isolation: isolate;
  max-width: none;
  min-height: 100svh;
  margin: 0;
  padding: clamp(5.5rem, 7vw, 7rem) max(1.5rem, 4.5vw) clamp(4rem, 6vw, 6rem);
  overflow: hidden;
  border-top: 0;
  background-color: #050504;
  background-image:
    linear-gradient(180deg, rgba(4, 3, 3, 0.45) 0%, rgba(3, 2, 2, 0.22) 15%, rgba(3, 4, 3, 0.16) 52%, rgba(3, 4, 3, 0.56) 100%),
    none;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  scroll-margin-top: 0;
}

.projects-showcase.has-deferred-background {
  background-image:
    linear-gradient(180deg, rgba(4, 3, 3, 0.45) 0%, rgba(3, 2, 2, 0.22) 15%, rgba(3, 4, 3, 0.16) 52%, rgba(3, 4, 3, 0.56) 100%),
    url("assets/projects-space-bg-v2.jpg?v=20260920-performance");
}

.projects-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(1, 3, 2, 0.36), transparent 32%, transparent 72%, rgba(1, 3, 2, 0.14)),
    linear-gradient(180deg, transparent 76%, rgba(1, 3, 2, 0.72));
}

.projects-shell {
  width: min(100%, 90rem);
  margin-inline: auto;
}

.projects-heading {
  position: relative;
  z-index: 3;
  padding-inline: clamp(0rem, 3.5vw, 3.5rem);
}

.projects-showcase .projects-title {
  max-width: 8ch;
  margin: 0;
  color: #f7f4ee;
  font-family: var(--display);
  font-size: clamp(4rem, 6.5vw, 6rem);
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.projects-title-light,
.projects-title strong {
  display: block;
  transform-origin: left bottom;
}

.projects-title-light {
  color: rgba(247, 244, 238, 0.9);
  font-weight: 400;
}

.projects-title strong {
  font-weight: 700;
}

.projects-stage {
  position: relative;
  isolation: isolate;
  z-index: 2;
  display: grid;
  place-items: center;
  width: min(100%, 84rem);
  min-height: clamp(23rem, 48vh, 34rem);
  margin: clamp(2.5rem, 4vw, 4rem) auto 0;
  border: 1px solid transparent;
  border-radius: 22px;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.projects-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(112deg, transparent 24%, rgba(255, 255, 255, 0.045) 49%, transparent 69%);
  z-index: 3;
  opacity: 0;
  transform: translateX(-26%);
}

.projects-stage::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 1;
  pointer-events: none;
  border: 1px solid rgba(243, 241, 236, 0.27);
  border-radius: inherit;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.026), rgba(4, 3, 3, 0.16) 46%, rgba(2, 2, 2, 0.28));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045), 0 30px 80px rgba(0, 0, 0, 0.18);
  -webkit-backdrop-filter: blur(2.5px) saturate(94%);
  backdrop-filter: blur(2.5px) saturate(94%);
}

.project-feature {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: auto 0fr;
  width: min(calc(100% - clamp(2rem, 6vw, 6rem)), 74rem);
  margin: clamp(4.5rem, 6.5vw, 7rem) auto clamp(1.5rem, 3vw, 2.5rem);
  overflow: hidden;
  border: 1px solid rgba(247, 244, 238, 0.22);
  border-radius: 18px;
  background: rgba(7, 5, 4, 0.34);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.055);
  -webkit-backdrop-filter: blur(12px) saturate(112%);
  backdrop-filter: blur(12px) saturate(112%);
  transition: grid-template-rows 560ms cubic-bezier(0.16, 1, 0.3, 1), transform 560ms cubic-bezier(0.16, 1, 0.3, 1), border-color 320ms ease, box-shadow 420ms ease;
}

.project-feature.is-open {
  grid-template-rows: auto 1fr;
  transform: translateY(-4px) scale(1.008);
  border-color: rgba(255, 96, 36, 0.44);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.46), 0 0 48px rgba(255, 59, 10, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.075);
}

.project-feature-toggle {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 17px;
  color: #f7f4ee;
  background: #090b0a;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.project-feature-toggle:focus-visible {
  outline: 2px solid #ff6a34;
  outline-offset: -4px;
}

.project-feature-media {
  display: block;
  aspect-ratio: 1904 / 964;
  overflow: hidden;
}

.project-feature-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.002);
  filter: saturate(0.92) contrast(1.03) brightness(0.88);
  transition: transform 760ms cubic-bezier(0.16, 1, 0.3, 1), filter 520ms ease;
}

.project-feature-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(2, 4, 4, 0.04) 34%, rgba(2, 3, 3, 0.24) 63%, rgba(2, 3, 3, 0.92) 100%);
}

.project-feature-overlay {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.25rem, 2.7vw, 2.35rem);
}

.project-feature-copy {
  display: grid;
  gap: 0.28rem;
  min-width: 0;
}

.project-feature-copy strong {
  font-family: var(--display);
  font-size: clamp(1.65rem, 2.8vw, 2.7rem);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: -0.035em;
}

.project-feature-copy > span {
  color: rgba(247, 244, 238, 0.72);
  font-family: var(--body);
  font-size: clamp(0.72rem, 1vw, 0.88rem);
  letter-spacing: 0.045em;
}

.project-feature-action {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 2.8rem;
  padding: 0.25rem 0.3rem 0.25rem 1rem;
  border: 1px solid rgba(247, 244, 238, 0.28);
  border-radius: 999px;
  color: rgba(247, 244, 238, 0.92);
  background: rgba(5, 5, 5, 0.42);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-family: var(--body);
  font-size: 0.76rem;
  font-weight: 600;
  transition: color 260ms ease, background 260ms ease, border-color 260ms ease;
}

.project-feature-action svg {
  width: 2.15rem;
  height: 2.15rem;
  padding: 0.55rem;
  border-radius: 50%;
  color: #13100e;
  background: #f7f4ee;
  transition: transform 520ms cubic-bezier(0.16, 1, 0.3, 1), background 260ms ease;
}

.project-feature-action path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.project-feature.is-open .project-feature-action svg {
  transform: rotate(90deg);
  background: #ff5a23;
}

.project-feature-details {
  min-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 300ms ease 30ms;
}

.project-feature.is-open .project-feature-details {
  opacity: 1;
  transition-delay: 170ms;
}

.project-feature-details-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  min-height: 0;
  padding: clamp(1.3rem, 2.8vw, 2.25rem);
  border-top: 1px solid rgba(247, 244, 238, 0.12);
  background: linear-gradient(110deg, rgba(14, 11, 9, 0.92), rgba(21, 11, 7, 0.7));
}

.project-feature-details p {
  max-width: 61ch;
  margin: 0;
  color: rgba(247, 244, 238, 0.78);
  font-family: var(--body);
  font-size: clamp(0.9rem, 1.25vw, 1.02rem);
  line-height: 1.6;
}

.project-feature-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.project-feature-tags li {
  padding: 0.48rem 0.72rem;
  border: 1px solid rgba(247, 244, 238, 0.16);
  border-radius: 999px;
  color: rgba(247, 244, 238, 0.68);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.projects-gallery-intro {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
  width: min(100%, 84rem);
  margin: clamp(4rem, 7vw, 7rem) auto 1.2rem;
  padding-inline: clamp(0rem, 1.5vw, 1.5rem);
}

.projects-gallery-kicker {
  color: rgba(247, 244, 238, 0.56);
  font-family: var(--body);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.projects-gallery-intro p {
  max-width: 34ch;
  margin: 0;
  color: rgba(247, 244, 238, 0.6);
  font-family: var(--body);
  font-size: 0.78rem;
  line-height: 1.45;
  text-align: right;
}

.projects-gallery {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.7rem, 1.4vw, 1.2rem);
  width: min(100%, 84rem);
  margin-inline: auto;
  content-visibility: auto;
  contain-intrinsic-size: 1400px;
}

.project-gallery-card {
  display: grid;
  grid-template-rows: auto 0fr;
  overflow: hidden;
  border: 1px solid rgba(247, 244, 238, 0.18);
  border-radius: 18px;
  background: rgba(7, 5, 4, 0.48);
  box-shadow: 0 24px 62px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.045);
  -webkit-backdrop-filter: blur(9px) saturate(108%);
  backdrop-filter: blur(9px) saturate(108%);
  transition: grid-template-rows 460ms cubic-bezier(0.16, 1, 0.3, 1), transform 460ms cubic-bezier(0.16, 1, 0.3, 1), border-color 320ms ease, box-shadow 420ms ease;
}

.project-gallery-card:last-child {
  grid-column: 1 / -1;
}

.project-gallery-card.is-open {
  grid-template-rows: auto 1fr;
  transform: translateY(-3px);
  border-color: rgba(255, 96, 36, 0.42);
  box-shadow: 0 32px 82px rgba(0, 0, 0, 0.4), 0 0 40px rgba(255, 59, 10, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.project-gallery-toggle {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  color: #f7f4ee;
  background: #090b0a;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.project-gallery-toggle:focus-visible {
  outline: 2px solid #ff6a34;
  outline-offset: -4px;
}

.project-gallery-media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.project-gallery-card:last-child .project-gallery-media {
  aspect-ratio: 2.15;
}

.project-gallery-card-piatti .project-gallery-media img {
  filter: saturate(1) contrast(1.02) brightness(0.96);
  transform: scale(1.004);
}

.project-gallery-card-piatti .project-gallery-media {
  aspect-ratio: 16 / 9;
}

.project-gallery-card-piatti .project-gallery-shade {
  background: linear-gradient(180deg, rgba(2, 4, 4, 0.01) 24%, rgba(2, 3, 3, 0.08) 48%, rgba(2, 3, 3, 0.86) 100%);
}

.project-gallery-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.84) contrast(1.04) brightness(0.78);
  transform: scale(1.012);
  transition: transform 820ms cubic-bezier(0.16, 1, 0.3, 1), filter 520ms ease;
}

.project-gallery-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(2, 4, 4, 0.02) 24%, rgba(2, 3, 3, 0.16) 48%, rgba(2, 3, 3, 0.94) 100%);
}

.project-gallery-overlay {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1rem, 2.2vw, 1.65rem);
}

.project-gallery-overlay > span:first-child {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
}

.project-gallery-overlay strong {
  font-family: var(--display);
  font-size: clamp(1.2rem, 2.2vw, 2rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.project-gallery-overlay small {
  color: rgba(247, 244, 238, 0.7);
  font-family: var(--body);
  font-size: clamp(0.64rem, 0.9vw, 0.78rem);
  letter-spacing: 0.045em;
}

.project-gallery-action {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.45rem;
  padding: 0.24rem 0.28rem 0.24rem 0.85rem;
  border: 1px solid rgba(247, 244, 238, 0.26);
  border-radius: 999px;
  color: rgba(247, 244, 238, 0.9);
  background: rgba(5, 5, 5, 0.46);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-family: var(--body);
  font-size: 0.68rem;
  font-weight: 600;
  transition: border-color 260ms ease, background 260ms ease;
}

.project-gallery-action svg {
  width: 1.95rem;
  height: 1.95rem;
  padding: 0.5rem;
  border-radius: 50%;
  color: #13100e;
  background: #f7f4ee;
  transition: transform 520ms cubic-bezier(0.16, 1, 0.3, 1), background 260ms ease;
}

.project-gallery-action path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.project-gallery-card.is-open .project-gallery-action svg {
  transform: rotate(90deg);
  background: #ff5a23;
}

.project-gallery-details {
  min-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 460ms cubic-bezier(0.16, 1, 0.3, 1), opacity 280ms ease;
}

.project-gallery-card.is-open .project-gallery-details {
  opacity: 1;
}

.project-gallery-details p {
  max-width: 58ch;
  margin: 0;
  padding: 1rem clamp(1rem, 2vw, 1.5rem) 1.25rem;
  border-top: 1px solid rgba(247, 244, 238, 0.12);
  color: rgba(247, 244, 238, 0.74);
  background: linear-gradient(110deg, rgba(14, 11, 9, 0.92), rgba(21, 11, 7, 0.7));
  font-family: var(--body);
  font-size: 0.84rem;
  line-height: 1.55;
}

@media (hover: hover) and (pointer: fine) {
  .project-gallery-toggle:hover .project-gallery-media img {
    filter: saturate(1) contrast(1.05) brightness(0.92);
    transform: scale(1.045);
  }

  .project-gallery-toggle:hover .project-gallery-action {
    border-color: rgba(255, 106, 52, 0.58);
    background: rgba(19, 9, 5, 0.66);
  }
}

@media (hover: hover) and (pointer: fine) {
  .project-feature-toggle:hover .project-feature-media img {
    transform: scale(1.022);
    filter: saturate(1) contrast(1.04) brightness(0.96);
  }

  .project-feature-toggle:hover .project-feature-action {
    border-color: rgba(255, 106, 52, 0.58);
    background: rgba(19, 9, 5, 0.66);
  }
}

.projects-symbol {
  --projects-pointer-x: 0deg;
  --projects-pointer-y: 0deg;
  --projects-shift-x: 0px;
  --projects-shift-y: 0px;
  position: absolute;
  z-index: 0;
  top: clamp(-12.5rem, -14vw, -8.5rem);
  right: clamp(-3.5rem, 1vw, 1rem);
  width: clamp(22rem, 34vw, 34rem);
  pointer-events: none;
  perspective: 900px;
  transform-origin: 64% 50%;
}

.projects-symbol-float {
  display: block;
  transform-origin: 58% 56%;
  animation: projects-symbol-orbit 7.2s cubic-bezier(0.42, 0, 0.3, 1) infinite;
}

.projects-code-symbol {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 28px 34px rgba(0, 0, 0, 0.42)) drop-shadow(8px 9px 18px rgba(255, 61, 10, 0.11));
  transform: translate3d(var(--projects-shift-x), var(--projects-shift-y), 0) rotateX(var(--projects-pointer-x)) rotateY(var(--projects-pointer-y));
  transform-style: preserve-3d;
  transition: filter 420ms ease-out;
  will-change: transform;
}

.projects-showcase.motion-ready .projects-title-light,
.projects-showcase.motion-ready .projects-title strong {
  transition: clip-path 760ms cubic-bezier(0.16, 1, 0.3, 1), transform 760ms cubic-bezier(0.16, 1, 0.3, 1), filter 600ms ease-out, opacity 520ms ease-out;
}

.projects-showcase.motion-ready:not(.is-visible) .projects-title-light,
.projects-showcase.motion-ready:not(.is-visible) .projects-title strong {
  opacity: 0.12;
  filter: blur(9px);
  clip-path: inset(0 100% 0 0);
  transform: translateY(34px) skewY(2deg);
}

.projects-showcase.motion-ready .projects-title strong {
  transition-delay: 110ms;
}

.projects-showcase.motion-ready .projects-stage {
  transition: clip-path 900ms cubic-bezier(0.16, 1, 0.3, 1) 180ms, opacity 650ms ease-out 180ms, transform 900ms cubic-bezier(0.16, 1, 0.3, 1) 180ms, border-color 900ms ease-out 180ms;
}

.projects-showcase.motion-ready:not(.is-visible) .projects-stage {
  opacity: 0.18;
  clip-path: inset(0 48% round 22px);
  transform: translateY(24px) scaleX(0.985);
  border-color: rgba(243, 241, 236, 0);
}

.projects-showcase.motion-ready.is-visible .projects-stage::before {
  animation: projects-panel-scan 1050ms cubic-bezier(0.16, 1, 0.3, 1) 520ms both;
}

.projects-showcase.motion-ready .projects-symbol {
  transition: opacity 760ms ease-out 360ms, transform 950ms cubic-bezier(0.16, 1, 0.3, 1) 360ms, filter 760ms ease-out 360ms;
}

.projects-showcase.motion-ready:not(.is-visible) .projects-symbol {
  opacity: 0;
  filter: blur(14px);
  transform: translate3d(54px, -22px, 0) rotate(7deg) scale(0.78);
}

.projects-showcase.motion-ready:not(.is-visible) .project-feature {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(28px) scale(0.985);
}

.projects-showcase.is-motion-paused .projects-symbol-float {
  animation-play-state: paused;
}

@keyframes projects-panel-scan {
  0% { opacity: 0; transform: translateX(-26%); }
  24% { opacity: 0.48; }
  100% { opacity: 0; transform: translateX(28%); }
}

@keyframes projects-symbol-orbit {
  0%, 100% { transform: translate3d(0, 0, 0) rotateX(0deg) rotateY(-1.2deg) rotateZ(0deg); }
  36% { transform: translate3d(-4px, -8px, 0) rotateX(1.4deg) rotateY(1.8deg) rotateZ(-0.45deg); }
  68% { transform: translate3d(3px, -3px, 0) rotateX(-0.8deg) rotateY(0.4deg) rotateZ(0.35deg); }
}

@media (max-width: 760px) {
  .projects-showcase {
    min-height: 100svh;
    padding: clamp(5.75rem, 16vw, 7rem) 1.25rem 5rem;
    background-position: center top;
  }

  .projects-heading {
    padding-inline: 0.35rem;
  }

  .projects-showcase .projects-title {
    max-width: 7.8ch;
    font-size: clamp(3rem, 13.5vw, 4.25rem);
    line-height: 0.86;
  }

  .projects-stage {
    isolation: isolate;
    min-height: clamp(24rem, 118vw, 31rem);
    margin-top: clamp(4.25rem, 16vw, 6rem);
    border-color: transparent;
    border-radius: 16px;
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .projects-stage::after {
    content: "";
    position: absolute;
    inset: -1px;
    z-index: 1;
    pointer-events: none;
    border: 1px solid rgba(243, 241, 236, 0.27);
    border-radius: inherit;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.032), rgba(4, 3, 3, 0.2) 46%, rgba(2, 2, 2, 0.34));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045), 0 26px 68px rgba(0, 0, 0, 0.17);
    -webkit-backdrop-filter: blur(3px) saturate(92%);
    backdrop-filter: blur(3px) saturate(92%);
  }

  .projects-symbol {
    z-index: 0;
    top: clamp(-8rem, -21vw, -5.75rem);
    right: clamp(-4rem, -8vw, -1.75rem);
    width: clamp(16rem, 74vw, 22rem);
  }

  .project-feature {
    width: calc(100% - 0.75rem);
    margin-top: 4rem;
    margin-bottom: 1rem;
    border-radius: 14px;
  }

  .project-feature-toggle {
    border-radius: 13px;
  }

  .project-feature-media {
    aspect-ratio: 1.38;
  }

  .project-feature-media img {
    object-position: 50% center;
  }

  .project-feature-overlay {
    align-items: flex-end;
    gap: 0.75rem;
    padding: 1rem;
  }

  .project-feature-copy strong {
    font-size: clamp(1.35rem, 7vw, 1.75rem);
  }

  .project-feature-copy > span {
    max-width: 19ch;
    font-size: 0.66rem;
  }

  .project-feature-action {
    min-height: 2.55rem;
    padding-left: 0.8rem;
    font-size: 0.68rem;
  }

  .project-feature-action svg {
    width: 1.95rem;
    height: 1.95rem;
  }

  .project-feature-details-inner {
    display: grid;
    gap: 1.15rem;
    padding: 1.1rem;
  }

  .project-feature-details p {
    font-size: 0.84rem;
    line-height: 1.55;
  }

  .project-feature-tags {
    justify-content: flex-start;
  }

  .projects-gallery-intro {
    display: block;
    margin-top: 4.5rem;
    padding-inline: 0.35rem;
  }

  .projects-gallery-intro p {
    max-width: 30ch;
    margin-top: 0.55rem;
    font-size: 0.74rem;
    text-align: left;
  }

  .projects-gallery {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .project-gallery-card:last-child {
    grid-column: auto;
  }

  .project-gallery-card,
  .project-gallery-card:last-child .project-gallery-media {
    border-radius: 14px;
  }

  .project-gallery-card:last-child .project-gallery-media,
  .project-gallery-media {
    aspect-ratio: 1.46;
  }

  .project-gallery-card-piatti .project-gallery-media {
    aspect-ratio: 16 / 9;
  }

  .project-gallery-overlay {
    gap: 0.7rem;
    padding: 0.95rem;
  }

  .project-gallery-overlay strong {
    font-size: clamp(1.15rem, 6vw, 1.5rem);
  }

  .project-gallery-overlay small {
    max-width: 20ch;
    font-size: 0.62rem;
  }

  .project-gallery-action {
    min-height: 2.25rem;
    padding-left: 0.7rem;
    font-size: 0.62rem;
  }

  .project-gallery-action svg {
    width: 1.75rem;
    height: 1.75rem;
    padding: 0.45rem;
  }

  .project-gallery-details p {
    padding: 0.9rem 0.95rem 1.1rem;
    font-size: 0.78rem;
  }
}

@media (max-width: 420px) {
  .projects-showcase {
    padding-inline: 1rem;
  }

  .projects-showcase .projects-title {
    font-size: clamp(2.65rem, 12.6vw, 3.25rem);
  }

  .projects-stage {
    min-height: 25rem;
    margin-top: 4.5rem;
  }

  .projects-symbol {
    right: -3.2rem;
    width: 17.5rem;
  }

  .project-feature {
    width: calc(100% - 0.25rem);
  }

  .project-feature-action > span:first-child {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .project-feature-action {
    padding-left: 0.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .projects-showcase.motion-ready:not(.is-visible) .projects-title-light,
  .projects-showcase.motion-ready:not(.is-visible) .projects-title strong,
  .projects-showcase.motion-ready:not(.is-visible) .projects-stage,
  .projects-showcase.motion-ready:not(.is-visible) .projects-symbol,
  .projects-showcase.motion-ready:not(.is-visible) .project-feature,
  .projects-showcase.motion-ready .projects-title-light,
  .projects-showcase.motion-ready .projects-title strong,
  .projects-showcase.motion-ready .projects-stage,
  .projects-showcase.motion-ready .projects-symbol,
  .project-feature,
  .project-feature-media img,
  .project-feature-action,
  .project-feature-action svg,
  .project-feature-details,
  .projects-code-symbol {
    opacity: 1;
    filter: none;
    clip-path: none;
    transform: none;
    transition: none;
  }

  .projects-symbol-float,
  .projects-showcase.motion-ready.is-visible .projects-stage::before {
    animation: none;
  }
}

/* Shared pointer depth for the approved editorial headlines. */
.interactive-headline {
  --headline-rotate-x: 0deg;
  --headline-rotate-y: 0deg;
  --headline-shadow-x: 0px;
  --headline-shadow-y: 0px;
  transform: perspective(1200px) rotateX(var(--headline-rotate-x)) rotateY(var(--headline-rotate-y));
  transform-style: preserve-3d;
  transform-origin: 42% 54%;
  text-shadow: var(--headline-shadow-x) var(--headline-shadow-y) 0 rgba(255, 59, 10, 0.08);
  transition: transform 520ms cubic-bezier(0.16, 1, 0.3, 1), text-shadow 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.interactive-headline.is-tilting {
  transition-duration: 120ms;
  text-shadow: var(--headline-shadow-x) var(--headline-shadow-y) 18px rgba(255, 59, 10, 0.18);
}

.projects-showcase .projects-title.interactive-headline {
  transform: perspective(1200px) rotateX(var(--headline-rotate-x)) rotateY(var(--headline-rotate-y));
}

.projects-title-light {
  transform: translateZ(11px);
}

.projects-title strong {
  transform: translateZ(27px);
}

.projects-showcase.motion-ready:not(.is-visible) .projects-title-light {
  transform: translateY(34px) skewY(2deg) translateZ(11px);
}

.projects-showcase.motion-ready:not(.is-visible) .projects-title strong {
  transform: translateY(34px) skewY(2deg) translateZ(27px);
}

/* About — the human pulse, built from the approved RV. */
.about.about-showcase {
  position: relative;
  isolation: isolate;
  overflow: clip;
  min-height: 100svh;
  max-width: none;
  padding: 0;
  color: #f7f4ee;
  background-color: #030202;
  background-image: none;
  background-position: center top;
  background-size: cover;
}

.about.about-showcase.has-deferred-background {
  background-image: url("assets/about-space-bg-v2.jpg?v=20260920-performance");
}

.about-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(1, 1, 1, 0.2) 0%, transparent 22%, transparent 76%, rgba(1, 1, 1, 0.18) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.28), transparent 54%);
}

.about-shell {
  width: min(100%, 1440px);
  min-height: 100svh;
  margin-inline: auto;
  padding: clamp(7rem, 12vh, 9rem) 4.5vw clamp(5.5rem, 9vh, 7rem);
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(31rem, 1.14fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5.5rem);
}

.about-intro {
  position: relative;
  z-index: 4;
  align-self: center;
}

.about-showcase .about-title {
  max-width: 10.5ch;
  margin: 0;
  color: #f7f4ee;
  font-family: var(--display);
  font-size: clamp(3.25rem, 5.4vw, 5.8rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.about-title-light,
.about-title strong {
  display: block;
  transform-origin: left bottom;
  transition: transform 520ms cubic-bezier(0.16, 1, 0.3, 1), text-shadow 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.about-title-light {
  color: rgba(247, 244, 238, 0.88);
  font-size: 0.78em;
  font-weight: 400;
  transform: translateZ(10px);
}

.about-title strong {
  margin-top: 0.08em;
  font-weight: 700;
  transform: translateZ(29px);
}

.about-title.is-tilting .about-title-light {
  transform: translateZ(22px);
  text-shadow: 0 0 18px rgba(247, 244, 238, 0.1);
}

.about-title.is-tilting strong {
  transform: translateZ(42px);
  text-shadow: 0 16px 24px rgba(255, 59, 10, 0.16);
}

.about-showcase .about-copy {
  max-width: 52ch;
  margin-top: clamp(1.75rem, 3.5vh, 2.75rem);
  color: rgba(247, 244, 238, 0.82);
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  line-height: 1.55;
}

.about-showcase .about-copy > p {
  max-width: 42ch;
  margin: 0;
  font-size: inherit;
  line-height: inherit;
}

.about-capabilities {
  max-width: 38rem;
  margin: clamp(2rem, 4vh, 3rem) 0 0;
  border-top: 1px solid rgba(247, 244, 238, 0.2);
}

.about-showcase .about-capabilities > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  padding: 0.78rem 0;
  border-bottom: 1px solid rgba(247, 244, 238, 0.2);
}

.about-showcase .about-capabilities dt {
  color: #f7f4ee;
  font-weight: 600;
}

.about-showcase .about-capabilities dd {
  margin: 0;
  color: rgba(247, 244, 238, 0.62);
  font-size: 0.88rem;
}

.about-team-stage {
  position: relative;
  z-index: 2;
  min-width: 0;
  min-height: clamp(32rem, 58vh, 38rem);
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1100px;
}

.about-signal {
  --about-pointer-x: 0deg;
  --about-pointer-y: 0deg;
  --about-shift-x: 0px;
  --about-shift-y: 0px;
  position: absolute;
  z-index: 0;
  top: clamp(-3.5rem, -4vw, -1rem);
  right: clamp(-7rem, -5vw, -2rem);
  width: clamp(30rem, 43vw, 42rem);
  pointer-events: none;
  transform-origin: 54% 51%;
}

.about-signal-float {
  display: block;
  transform-origin: 52% 51%;
  animation: about-signal-orbit 8.8s cubic-bezier(0.42, 0, 0.3, 1) infinite;
}

.about-signal-ring {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 42px rgba(0, 0, 0, 0.48)) drop-shadow(7px 9px 22px rgba(255, 61, 10, 0.14));
  transform: translate3d(var(--about-shift-x), var(--about-shift-y), 0) rotateX(var(--about-pointer-x)) rotateY(var(--about-pointer-y));
  transform-style: preserve-3d;
  transition: filter 420ms ease-out;
}

.team-portal {
  position: relative;
  z-index: 1;
  width: min(100%, 43rem);
  margin-top: clamp(7rem, 14vh, 10rem);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 0fr;
  border: 1px solid rgba(247, 244, 238, 0.27);
  border-radius: 16px;
  background: linear-gradient(138deg, rgba(255, 255, 255, 0.075), rgba(16, 8, 7, 0.3) 44%, rgba(3, 2, 2, 0.56));
  box-shadow: 0 34px 82px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(14px) saturate(112%);
  backdrop-filter: blur(14px) saturate(112%);
  transition: grid-template-rows 560ms cubic-bezier(0.16, 1, 0.3, 1), border-color 320ms ease-out, box-shadow 420ms ease-out, transform 560ms cubic-bezier(0.16, 1, 0.3, 1);
}

.team-portal::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(108deg, transparent 28%, rgba(255, 255, 255, 0.16) 50%, transparent 72%);
  transform: translateX(-120%);
}

.team-portal.is-open {
  grid-template-rows: auto 1fr;
  border-color: rgba(255, 122, 73, 0.38);
  box-shadow: 0 42px 96px rgba(0, 0, 0, 0.4), 0 16px 42px rgba(255, 59, 10, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateY(-1.5rem);
}

.team-portal.is-opening::before {
  animation: team-portal-scan 820ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.team-toggle {
  --team-shift-x: 0px;
  --team-shift-y: 0px;
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: clamp(18rem, 35vh, 20rem);
  overflow: hidden;
  padding: clamp(1.65rem, 3vw, 2.25rem);
  border: 0;
  color: #f7f4ee;
  background: transparent;
  font: inherit;
  cursor: pointer;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.92fr);
  align-items: center;
  text-align: left;
  transition: min-height 520ms cubic-bezier(0.16, 1, 0.3, 1), background-color 180ms ease-out, padding 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.team-toggle::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(5, 3, 3, 0.72) 0%, rgba(5, 3, 3, 0.36) 48%, transparent 72%);
}

.team-toggle:hover {
  background: rgba(255, 255, 255, 0.028);
}

.team-toggle:active {
  background: rgba(255, 59, 10, 0.045);
}

.team-toggle:focus-visible {
  outline: 2px solid #ff6b3d;
  outline-offset: -5px;
}

.team-toggle-copy {
  position: relative;
  z-index: 4;
  display: block;
  align-self: start;
  max-width: 20rem;
  padding-top: clamp(2.25rem, 6vh, 3.5rem);
}

.team-toggle-title {
  display: block;
  max-width: 12ch;
  color: #fffaf4;
  font: 650 clamp(2rem, 3.2vw, 2.75rem)/0.98 var(--display);
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.team-toggle-roles {
  display: block;
  max-width: 36ch;
  margin-top: 1rem;
  color: rgba(247, 244, 238, 0.7);
  font-size: clamp(0.75rem, 1vw, 0.86rem);
  line-height: 1.45;
  letter-spacing: 0.035em;
}

.team-preview {
  position: absolute;
  z-index: 2;
  inset: 1.25rem 1.1rem 1.15rem auto;
  width: 45%;
  perspective: 900px;
  transition: opacity 220ms ease-out, transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.team-preview-strip {
  position: absolute;
  top: 5%;
  width: 43%;
  height: 90%;
  overflow: hidden;
  border: 1px solid rgba(255, 133, 82, 0.46);
  border-radius: 14px;
  background: #0a0605;
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.42);
  transform-style: preserve-3d;
  transition: transform 560ms cubic-bezier(0.16, 1, 0.3, 1), border-color 220ms ease-out, filter 320ms ease-out;
}

.team-preview-strip::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 5, 4, 0.04), rgba(8, 4, 3, 0.1) 58%, rgba(5, 3, 3, 0.58));
}

.team-preview-strip img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7) contrast(1.06) brightness(0.82);
  transform: scale(1.04);
  transition: transform 620ms cubic-bezier(0.16, 1, 0.3, 1), filter 360ms ease-out;
}

.team-preview-yuri {
  left: 0;
  z-index: 1;
  transform: translate3d(var(--team-shift-x), var(--team-shift-y), 0) rotate(-7deg);
}

.team-preview-davy {
  left: 29%;
  z-index: 2;
  transform: translate3d(var(--team-shift-x), var(--team-shift-y), 22px) rotate(1deg);
}

.team-preview-ayrton {
  left: 58%;
  z-index: 3;
  transform: translate3d(var(--team-shift-x), var(--team-shift-y), 8px) rotate(7deg);
}

.team-preview-yuri img { object-position: 50% 38%; }
.team-preview-davy img { object-position: 50% 28%; }
.team-preview-ayrton img { object-position: 30% 34%; }

.team-toggle-rail {
  position: absolute;
  z-index: 4;
  left: clamp(1.65rem, 3vw, 2.25rem);
  bottom: 3.55rem;
  width: calc(50% - 1.2rem);
  height: 1px;
  overflow: visible;
  background: linear-gradient(90deg, rgba(247, 244, 238, 0.12), rgba(255, 94, 38, 0.78));
  transform-origin: left center;
  transition: opacity 180ms ease-out, transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.team-toggle-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 2.4rem;
  height: 1px;
  opacity: 0;
  background: linear-gradient(90deg, transparent, #fffaf4 48%, #ff5c26);
  filter: drop-shadow(0 0 6px rgba(255, 83, 28, 0.9));
  animation: team-rail-pulse 4.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.team-toggle-control {
  position: absolute;
  z-index: 5;
  left: calc(50% - 2.2rem);
  bottom: 1.18rem;
  display: flex;
  align-items: center;
  gap: 0.78rem;
  white-space: nowrap;
  transition: opacity 220ms ease-out, transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.team-toggle-aperture {
  width: 4.7rem;
  height: 4.7rem;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.055), rgba(6, 3, 3, 0.54) 70%);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.34);
  transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 220ms ease-out;
}

.team-toggle-aperture svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.team-aperture-orbit {
  fill: none;
  stroke-linecap: round;
  transform-box: fill-box;
  transform-origin: center;
}

.team-aperture-orbit-outer {
  stroke: rgba(255, 112, 60, 0.9);
  stroke-width: 1.1;
  stroke-dasharray: 55 12 9 24;
  animation: team-aperture-spin 9s linear infinite;
}

.team-aperture-orbit-inner {
  stroke: rgba(247, 244, 238, 0.68);
  stroke-width: 0.9;
  stroke-dasharray: 40 22 12 26;
  animation: team-aperture-spin-reverse 12s linear infinite;
}

.team-aperture-arrow {
  fill: none;
  stroke: #fffaf4;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.team-toggle-action {
  color: rgba(247, 244, 238, 0.82);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
}

@media (hover: hover) and (pointer: fine) {
  .team-toggle:hover .team-preview-yuri,
  .team-toggle:focus-visible .team-preview-yuri {
    transform: translate3d(calc(var(--team-shift-x) - 8px), calc(var(--team-shift-y) - 3px), 0) rotate(-10deg);
  }

  .team-toggle:hover .team-preview-davy,
  .team-toggle:focus-visible .team-preview-davy {
    transform: translate3d(var(--team-shift-x), calc(var(--team-shift-y) - 8px), 30px) rotate(0deg);
  }

  .team-toggle:hover .team-preview-ayrton,
  .team-toggle:focus-visible .team-preview-ayrton {
    transform: translate3d(calc(var(--team-shift-x) + 8px), calc(var(--team-shift-y) - 2px), 8px) rotate(10deg);
  }

  .team-toggle:hover .team-preview-strip,
  .team-toggle:focus-visible .team-preview-strip {
    border-color: rgba(255, 139, 92, 0.72);
  }

  .team-toggle:hover .team-preview-strip img,
  .team-toggle:focus-visible .team-preview-strip img {
    filter: saturate(0.9) contrast(1.04) brightness(0.92);
    transform: scale(1.075);
  }

  .team-toggle:hover .team-toggle-pulse,
  .team-toggle:focus-visible .team-toggle-pulse {
    animation-duration: 1.35s;
  }

  .team-toggle:hover .team-toggle-aperture,
  .team-toggle:focus-visible .team-toggle-aperture {
    transform: translateX(4px) scale(1.035);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.42), 0 0 28px rgba(255, 77, 26, 0.11);
  }

  .team-toggle:hover .team-aperture-arrow,
  .team-toggle:focus-visible .team-aperture-arrow {
    transform: translateX(4px);
  }
}

.team-portal.is-open .team-toggle {
  min-height: 5.75rem;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 1rem;
}

.team-portal.is-open .team-toggle::before,
.team-portal.is-open .team-toggle-roles,
.team-portal.is-open .team-preview,
.team-portal.is-open .team-toggle-rail {
  opacity: 0;
  pointer-events: none;
}

.team-portal.is-open .team-toggle-copy {
  max-width: none;
  padding-top: 0;
}

.team-portal.is-open .team-toggle-title {
  max-width: none;
  font-size: clamp(1.15rem, 1.65vw, 1.45rem);
}

.team-portal.is-open .team-toggle-control {
  position: static;
  margin-left: auto;
  transform: none;
}

.team-portal.is-open .team-toggle-aperture {
  width: 2.75rem;
  height: 2.75rem;
  margin-left: auto;
}

.team-portal.is-open .team-aperture-arrow {
  transform: rotate(180deg);
}

.team-roster {
  min-height: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 0 0.85rem 0.85rem;
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 360ms ease-out 100ms, transform 520ms cubic-bezier(0.16, 1, 0.3, 1) 80ms;
}

.team-roster[hidden] {
  display: none;
}

.team-portal.is-open .team-roster {
  opacity: 1;
  transform: translateY(0);
}

.team-member {
  position: relative;
  min-width: 0;
  overflow: hidden;
  aspect-ratio: 0.72;
  border-radius: 14px;
  background: #0d0908;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
}

.team-photo,
.team-photo img {
  width: 100%;
  height: 100%;
}

.team-photo img {
  display: block;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.05) brightness(0.86);
  transform: scale(1.015);
  transition: transform 560ms cubic-bezier(0.16, 1, 0.3, 1), filter 420ms ease-out;
}

.team-member:nth-child(1) .team-photo img { object-position: 50% 38%; }
.team-member:nth-child(2) .team-photo img { object-position: 50% 30%; }
.team-member:nth-child(3) .team-photo img { object-position: 32% 34%; }

.team-member::after {
  content: "";
  position: absolute;
  inset: 24% 0 0;
  background: linear-gradient(180deg, transparent, rgba(2, 2, 2, 0.18) 34%, rgba(2, 2, 2, 0.94) 100%);
  pointer-events: none;
}

.team-member-copy {
  position: absolute;
  z-index: 1;
  inset: auto 0 0;
  padding: 1rem;
}

.team-member h3 {
  margin: 0;
  color: #fffaf4;
  font: 600 clamp(1rem, 1.35vw, 1.25rem)/1.05 var(--display);
  letter-spacing: -0.025em;
}

.team-member p {
  min-height: 2.4em;
  margin: 0.42rem 0 0;
  color: rgba(255, 250, 244, 0.7);
  font-size: clamp(0.68rem, 0.8vw, 0.76rem);
  line-height: 1.25;
}

@media (hover: hover) and (pointer: fine) {
  .team-member:hover .team-photo img {
    filter: saturate(0.95) contrast(1.04) brightness(0.94);
    transform: scale(1.055);
  }
}

.about-showcase.motion-ready .about-title-light,
.about-showcase.motion-ready .about-title strong,
.about-showcase.motion-ready .about-copy,
.about-showcase.motion-ready .team-portal,
.about-showcase.motion-ready .about-signal {
  transition-property: opacity, transform, filter, clip-path;
  transition-duration: 760ms;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

.about-showcase.motion-ready:not(.is-visible) .about-title-light,
.about-showcase.motion-ready:not(.is-visible) .about-title strong {
  opacity: 0.12;
  filter: blur(9px);
  clip-path: inset(0 100% 0 0);
  transform: translateY(30px);
}

.about-showcase.motion-ready .about-title strong {
  transition-delay: 100ms;
}

.about-showcase.motion-ready:not(.is-visible) .about-copy {
  opacity: 0;
  filter: blur(7px);
  transform: translateY(22px);
}

.about-showcase.motion-ready .about-copy {
  transition-delay: 190ms;
}

.about-showcase.motion-ready:not(.is-visible) .about-signal {
  opacity: 0;
  filter: blur(16px);
  transform: translate3d(52px, -26px, 0) rotate(8deg) scale(0.82);
}

.about-showcase.motion-ready .about-signal {
  transition-delay: 260ms;
}

.about-showcase.motion-ready:not(.is-visible) .team-portal {
  opacity: 0;
  filter: blur(10px);
  clip-path: inset(0 0 100% 0 round 16px);
  transform: translateY(28px) scaleX(0.975);
}

.about-showcase.motion-ready .team-portal {
  transition-delay: 320ms;
}

.about-showcase.is-motion-paused .about-signal-float,
.about-showcase.is-motion-paused .team-toggle-pulse,
.about-showcase.is-motion-paused .team-aperture-orbit {
  animation-play-state: paused;
}

@keyframes about-signal-orbit {
  0%, 100% { transform: translate3d(0, 0, 0) rotateX(0deg) rotateY(-1deg) rotateZ(0deg); }
  34% { transform: translate3d(-6px, -10px, 0) rotateX(1.4deg) rotateY(1.9deg) rotateZ(-0.7deg); }
  68% { transform: translate3d(5px, -4px, 0) rotateX(-0.9deg) rotateY(0.5deg) rotateZ(0.5deg); }
}

@keyframes team-rail-pulse {
  0%, 68% { left: 0; opacity: 0; }
  73% { opacity: 0.95; }
  94% { opacity: 0.9; }
  100% { left: calc(100% - 2.4rem); opacity: 0; }
}

@keyframes team-aperture-spin {
  to { transform: rotate(360deg); }
}

@keyframes team-aperture-spin-reverse {
  to { transform: rotate(-360deg); }
}

@keyframes team-portal-scan {
  0% { opacity: 0; transform: translateX(-120%); }
  28% { opacity: 0.5; }
  100% { opacity: 0; transform: translateX(120%); }
}

@media (max-width: 980px) {
  .about-shell {
    grid-template-columns: minmax(0, 0.92fr) minmax(26rem, 1.08fr);
    gap: 2rem;
  }

  .about-showcase .about-title {
    font-size: clamp(3rem, 6vw, 4.8rem);
  }

  .about-signal {
    right: -6rem;
    width: 32rem;
  }
}

@media (max-width: 760px) {
  .interactive-headline,
  .projects-showcase .projects-title.interactive-headline {
    transform: none;
  }

  .about.about-showcase {
    min-height: 100svh;
    background-position: 58% top;
  }

  .about-shell {
    min-height: 100svh;
    padding: clamp(5.75rem, 16vw, 7rem) 1rem 5rem;
    display: block;
  }

  .about-intro {
    padding-inline: 0.35rem;
  }

  .about-showcase .about-title {
    max-width: 9.4ch;
    font-size: clamp(2.55rem, 12.2vw, 3.35rem);
    line-height: 0.88;
  }

  .about-title-light {
    font-size: 0.76em;
  }

  .about-title strong {
    font-size: 1.03em;
  }

  .about-showcase .about-copy {
    margin-top: 1.65rem;
    font-size: 0.96rem;
  }

  .about-showcase .about-capabilities > div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .about-team-stage {
    min-height: 30rem;
    margin-top: 2.25rem;
    align-items: flex-start;
  }

  .about-signal {
    top: -3.25rem;
    right: -4.5rem;
    width: clamp(18rem, 82vw, 24rem);
  }

  .team-portal {
    width: 100%;
    margin-top: 5.75rem;
    border-radius: 14px;
    -webkit-backdrop-filter: blur(9px) saturate(108%);
    backdrop-filter: blur(9px) saturate(108%);
  }

  .team-toggle {
    min-height: 27rem;
    padding: 1.35rem;
    display: block;
  }

  .team-toggle-copy {
    position: absolute;
    inset: 1.35rem 1.35rem auto;
    max-width: none;
    padding-top: 0;
  }

  .team-toggle-title {
    max-width: 12ch;
    font-size: clamp(1.8rem, 8.2vw, 2.35rem);
    text-align: left;
  }

  .team-toggle-roles {
    max-width: none;
    margin-top: 0.7rem;
    font-size: 0.68rem;
    white-space: nowrap;
  }

  .team-preview {
    inset: 8.5rem 0.8rem 4.8rem;
    width: auto;
  }

  .team-preview-strip {
    width: 42%;
    height: 91%;
  }

  .team-toggle-rail {
    left: 1.35rem;
    bottom: 3.45rem;
    width: 40%;
  }

  .team-toggle-control {
    left: 1.05rem;
    bottom: 0.75rem;
    transform: none;
  }

  .team-toggle-aperture {
    width: 4rem;
    height: 4rem;
  }

  .team-toggle-action {
    font-size: 0.6rem;
    letter-spacing: 0.18em;
  }

  .team-portal.is-open {
    transform: translateY(-0.75rem);
  }

  .team-portal.is-open .team-toggle-title {
    max-width: none;
    font-size: 0.95rem;
    text-align: left;
  }

  .team-portal.is-open .team-toggle-control {
    position: static;
    gap: 0.5rem;
  }

  .team-portal.is-open .team-toggle-copy {
    position: static;
  }

  .team-portal.is-open .team-toggle {
    min-height: 4.9rem;
    padding: 0.75rem 0.9rem;
    gap: 0.5rem;
  }

  .team-portal.is-open .team-toggle-aperture {
    display: none;
  }

  .team-portal.is-open .team-toggle-action {
    font-size: 0.54rem;
    letter-spacing: 0.12em;
  }

  .team-roster {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .team-member {
    aspect-ratio: 0.86;
  }

  .team-member h3 {
    font-size: 1.2rem;
  }

  .team-member p {
    min-height: 0;
    font-size: 0.78rem;
  }
}

@media (max-width: 420px) {
  .about-shell {
    padding-inline: 0.9rem;
  }

  .about-showcase .about-title {
    font-size: clamp(2.35rem, 11.8vw, 3rem);
  }

  .about-team-stage {
    min-height: 27rem;
  }

  .team-toggle {
    min-height: 25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .interactive-headline,
  .projects-showcase .projects-title.interactive-headline,
  .about-title-light,
  .about-title strong,
  .about-showcase.motion-ready:not(.is-visible) .about-title-light,
  .about-showcase.motion-ready:not(.is-visible) .about-title strong,
  .about-showcase.motion-ready:not(.is-visible) .about-copy,
  .about-showcase.motion-ready:not(.is-visible) .about-signal,
  .about-showcase.motion-ready:not(.is-visible) .team-portal,
  .about-showcase.motion-ready .about-title-light,
  .about-showcase.motion-ready .about-title strong,
  .about-showcase.motion-ready .about-copy,
  .about-showcase.motion-ready .about-signal,
  .about-showcase.motion-ready .team-portal,
  .about-signal-ring,
  .team-portal,
  .team-toggle,
  .team-toggle-pulse,
  .team-toggle-aperture,
  .team-aperture-orbit,
  .team-aperture-arrow,
  .team-preview,
  .team-preview-strip,
  .team-preview-strip img,
  .team-roster,
  .team-photo img {
    opacity: 1;
    filter: none;
    clip-path: none;
    transform: none;
    transition-duration: 0.01ms;
    transition-delay: 0ms;
  }

  .about-signal-float,
  .team-toggle-pulse,
  .team-aperture-orbit,
  .team-portal.is-opening::before {
    animation: none;
  }
}

@media (min-width: 761px) {
  .about-shell {
    position: relative;
    display: block;
  }

  .about-intro {
    position: absolute;
    top: 21%;
    left: 4.5vw;
    width: min(72rem, 82vw);
  }

  .about-showcase .about-title {
    max-width: none;
    font-size: clamp(3.35rem, 4.7vw, 5rem);
  }

  .about-title-light,
  .about-title strong {
    width: max-content;
    max-width: 100%;
    white-space: nowrap;
  }

  .about-showcase .about-copy {
    max-width: 31rem;
  }

  .about-capabilities {
    max-width: 31rem;
  }

  .about-team-stage {
    position: absolute;
    top: 20%;
    right: 4.5vw;
    width: min(50%, 43rem);
    min-height: 68%;
  }

  .team-portal {
    margin-top: 10rem;
  }
}

.team-photo img {
  filter: saturate(0.88) contrast(1.04) brightness(0.94);
}

@media (max-width: 760px) {
  .team-portal.is-open .team-toggle {
    display: flex;
  }
}

/* About → Contact continuity and the approved contact transmission console. */
.about.about-showcase.has-deferred-background {
  background-image: url("assets/about-space-bg-v2.jpg?v=20260920-performance");
}

.about-showcase::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: auto 0 0;
  height: clamp(7rem, 14vh, 11rem);
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(3, 2, 2, 0.94));
}

.contact.contact-showcase {
  position: relative;
  isolation: isolate;
  overflow: clip;
  display: block;
  min-height: 100svh;
  max-width: none;
  margin: -1px 0 0;
  padding: 0;
  color: #f7f4ee;
  background-color: #030202;
  background-image: none;
  background-position: center top;
  background-size: cover;
}

.contact.contact-showcase.has-deferred-background {
  background-image: url("assets/contact-space-bg-v1.jpg?v=20260920-performance");
}

.contact-showcase::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(3, 2, 2, 0.9) 0%, transparent 17%, transparent 76%, rgba(2, 1, 1, 0.08) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.28), transparent 54%);
}

.contact-shell {
  width: min(100%, 1440px);
  min-height: 100svh;
  margin-inline: auto;
  padding: clamp(7rem, 12vh, 9rem) 4.5vw clamp(5rem, 8vh, 7rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(38rem, 1fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6.5rem);
}

.contact-heading {
  position: relative;
  z-index: 4;
  align-self: center;
}

.contact-showcase .contact-title {
  --headline-rotate-x: 0deg;
  --headline-rotate-y: 0deg;
  --headline-shadow-x: 0px;
  --headline-shadow-y: 0px;
  max-width: 15.5ch;
  margin: 0;
  color: #f7f4ee;
  font-family: var(--display);
  font-size: clamp(3.25rem, 5vw, 5.5rem);
  font-weight: 400;
  line-height: 0.91;
  letter-spacing: -0.04em;
  text-wrap: balance;
  transform: perspective(1200px) rotateX(var(--headline-rotate-x)) rotateY(var(--headline-rotate-y));
  transform-style: preserve-3d;
  transition: transform 520ms cubic-bezier(0.16, 1, 0.3, 1), text-shadow 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-title-light,
.contact-title strong {
  display: block;
  transform-origin: left bottom;
  transition: transform 520ms cubic-bezier(0.16, 1, 0.3, 1), text-shadow 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-title-light {
  color: rgba(247, 244, 238, 0.9);
  font-weight: 400;
  transform: translateZ(10px);
}

.contact-title strong {
  margin-top: 0.08em;
  font-weight: 700;
  transform: translateZ(29px);
}

.contact-title.is-tilting .contact-title-light {
  transform: translateZ(22px);
  text-shadow: 0 0 18px rgba(247, 244, 238, 0.1);
}

.contact-title.is-tilting strong {
  transform: translateZ(42px);
  text-shadow: 0 16px 24px rgba(255, 59, 10, 0.16);
}

.contact-showcase .contact-heading > p {
  max-width: 45ch;
  margin: clamp(1.5rem, 3vh, 2.25rem) 0 0;
  color: rgba(247, 244, 238, 0.78);
  font-size: clamp(0.98rem, 1.12vw, 1.08rem);
  line-height: 1.58;
}

.contact-stage {
  position: relative;
  z-index: 2;
  min-width: 0;
  min-height: clamp(35rem, 66vh, 42rem);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  perspective: 1100px;
}

.contact-ring {
  --contact-ring-x: 0deg;
  --contact-ring-y: 0deg;
  --contact-ring-shift-x: 0px;
  --contact-ring-shift-y: 0px;
  position: absolute;
  z-index: 0;
  top: clamp(-10rem, -11vw, -6rem);
  right: clamp(-9rem, -7vw, -3rem);
  width: clamp(31rem, 42vw, 41rem);
  pointer-events: none;
  transform-origin: 54% 51%;
}

.contact-ring-float {
  display: block;
  transform-origin: 52% 51%;
  animation: contact-ring-orbit 9.6s cubic-bezier(0.42, 0, 0.3, 1) infinite;
}

.contact-ring img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 32px 46px rgba(0, 0, 0, 0.5)) drop-shadow(7px 9px 22px rgba(255, 61, 10, 0.14));
  transform: translate3d(var(--contact-ring-shift-x), var(--contact-ring-shift-y), 0) rotateX(var(--contact-ring-x)) rotateY(var(--contact-ring-y));
  transform-style: preserve-3d;
  transition: filter 420ms ease-out;
}

.contact-console {
  position: relative;
  z-index: 1;
  isolation: isolate;
  width: min(100%, 45rem);
  min-height: 31rem;
  margin-top: clamp(6.5rem, 12vh, 9rem);
  overflow: hidden;
  padding: clamp(1.65rem, 3vw, 2.3rem);
  border: 1px solid rgba(247, 244, 238, 0.28);
  border-radius: 16px;
  background: linear-gradient(138deg, rgba(255, 255, 255, 0.075), rgba(16, 8, 7, 0.38) 44%, rgba(3, 2, 2, 0.64));
  box-shadow: 0 34px 82px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(14px) saturate(112%);
  backdrop-filter: blur(14px) saturate(112%);
  transition: border-color 240ms ease-out, box-shadow 320ms ease-out, transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-console:focus-within {
  border-color: rgba(255, 122, 73, 0.46);
  box-shadow: 0 38px 90px rgba(0, 0, 0, 0.42), 0 14px 38px rgba(255, 59, 10, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.contact-signal-map {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.contact-signal-track,
.contact-signal-flow {
  fill: none;
  stroke-linecap: round;
}

.contact-signal-track {
  stroke: rgba(247, 244, 238, 0.15);
  stroke-width: 1.25;
}

.contact-signal-flow {
  stroke: #ff5a24;
  stroke-width: 1.8;
  stroke-dasharray: 0.13 0.87;
  filter: drop-shadow(0 0 5px rgba(255, 75, 20, 0.72));
  animation: contact-signal-travel 4.6s linear infinite;
  transition: stroke-width 180ms ease-out;
}

.contact-signal-node {
  fill: #120706;
  stroke: #ff6b36;
  stroke-width: 2;
  filter: drop-shadow(0 0 6px rgba(255, 75, 20, 0.7));
}

.contact-console:focus-within .contact-signal-flow,
.contact-console:hover .contact-signal-flow {
  stroke-width: 2.2;
  animation-duration: 1.9s;
}

.contact-fields,
.contact-submit-row,
.contact-console .form-status {
  position: relative;
  z-index: 2;
}

.contact-fields {
  display: grid;
  gap: 1.05rem;
}

.contact-console .contact-field {
  display: block;
  margin: 0;
}

.contact-console .contact-field > span {
  display: block;
  margin: 0 0 0.5rem;
  color: rgba(247, 244, 238, 0.9);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.contact-console input,
.contact-console textarea {
  display: block;
  width: 100%;
  min-height: 3.25rem;
  margin: 0;
  padding: 0.82rem 0.95rem;
  border: 1px solid rgba(247, 244, 238, 0.24);
  border-radius: 12px;
  outline: none;
  background: rgba(6, 3, 3, 0.38);
  color: #fffaf4;
  caret-color: #ff5a24;
  font: 400 0.95rem/1.45 var(--body);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
  transition: border-color 180ms ease-out, background-color 180ms ease-out, box-shadow 180ms ease-out;
}

.contact-console textarea {
  min-height: 7.2rem;
  resize: vertical;
}

.contact-console input::placeholder,
.contact-console textarea::placeholder {
  color: rgba(247, 244, 238, 0.58);
  opacity: 1;
}

.contact-console input:hover,
.contact-console textarea:hover {
  border-color: rgba(247, 244, 238, 0.38);
  background: rgba(10, 5, 4, 0.48);
}

.contact-console input:focus,
.contact-console textarea:focus {
  border-color: #ff6b36;
  background: rgba(12, 6, 5, 0.64);
  box-shadow: 0 0 0 3px rgba(255, 85, 32, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.contact-console input[aria-invalid="true"],
.contact-console textarea[aria-invalid="true"] {
  border-color: #ffb197;
  box-shadow: 0 0 0 3px rgba(255, 114, 66, 0.12);
}

.contact-submit-row {
  margin-top: 1.55rem;
  display: grid;
  justify-items: end;
  gap: 0.55rem;
}

.contact-submit {
  position: relative;
  overflow: hidden;
  min-height: 3.65rem;
  padding: 0.85rem 1.15rem;
  border: 0;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  background: #ff3b0a;
  color: #fffaf4;
  font: 650 0.9rem/1.2 var(--body);
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(33, 7, 2, 0.34);
  transition: background-color 180ms ease-out, transform 160ms ease-out, box-shadow 220ms ease-out;
}

.contact-submit::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(108deg, transparent 26%, rgba(255, 255, 255, 0.2) 50%, transparent 74%);
  transform: translateX(-120%);
}

.contact-submit:hover {
  background: #ff5426;
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(33, 7, 2, 0.4), 0 8px 24px rgba(255, 59, 10, 0.16);
}

.contact-submit:hover::before,
.contact-submit:focus-visible::before {
  animation: contact-button-scan 720ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.contact-submit:active {
  background: #d92d05;
  transform: translateY(0);
}

.contact-submit:focus-visible {
  outline: 2px solid #fffaf4;
  outline-offset: 3px;
}

.contact-submit:disabled {
  cursor: wait;
  opacity: 0.72;
}

.contact-whatsapp-icon {
  width: 1.35rem;
  height: 1.35rem;
  flex: 0 0 auto;
  fill: currentColor;
}

.contact-submit-arrow {
  width: 1.6rem;
  height: 1.15rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-submit:hover .contact-submit-arrow,
.contact-submit:focus-visible .contact-submit-arrow {
  transform: translateX(4px);
}

.contact-submit-note {
  margin: 0;
  color: rgba(247, 244, 238, 0.64);
  font-size: 0.76rem;
  line-height: 1.4;
}

.contact-console .form-status {
  min-height: 1.35em;
  margin: 0.55rem 0 0;
  color: rgba(247, 244, 238, 0.78);
  font-size: 0.78rem;
  text-align: right;
}

.contact-showcase.motion-ready .contact-title-light,
.contact-showcase.motion-ready .contact-title strong,
.contact-showcase.motion-ready .contact-heading > p,
.contact-showcase.motion-ready .contact-ring,
.contact-showcase.motion-ready .contact-console {
  transition-property: opacity, transform, filter, clip-path;
  transition-duration: 760ms;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-showcase.motion-ready:not(.is-visible) .contact-title-light,
.contact-showcase.motion-ready:not(.is-visible) .contact-title strong {
  opacity: 0.12;
  filter: blur(9px);
  clip-path: inset(0 100% 0 0);
  transform: translateY(30px);
}

.contact-showcase.motion-ready .contact-title strong {
  transition-delay: 100ms;
}

.contact-showcase.motion-ready:not(.is-visible) .contact-heading > p {
  opacity: 0;
  filter: blur(7px);
  transform: translateY(22px);
}

.contact-showcase.motion-ready .contact-heading > p {
  transition-delay: 180ms;
}

.contact-showcase.motion-ready:not(.is-visible) .contact-ring {
  opacity: 0;
  filter: blur(16px);
  transform: translate3d(48px, -22px, 0) rotate(7deg) scale(0.84);
}

.contact-showcase.motion-ready .contact-ring {
  transition-delay: 240ms;
}

.contact-showcase.motion-ready:not(.is-visible) .contact-console {
  opacity: 0;
  filter: blur(10px);
  clip-path: inset(0 0 100% 0 round 16px);
  transform: translateY(30px) scaleX(0.975);
}

.contact-showcase.motion-ready .contact-console {
  transition-delay: 300ms;
}

.contact-showcase.is-motion-paused .contact-ring-float,
.contact-showcase.is-motion-paused .contact-signal-flow {
  animation-play-state: paused;
}

footer {
  background: #030202;
  border-top-color: rgba(247, 244, 238, 0.16);
}

.site-footer {
  min-height: 6rem;
  padding: 1.75rem max(4.5vw, calc((100vw - 1440px) / 2 + 4.5vw));
  color: rgba(247, 244, 238, 0.64);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem;
}

.site-footer p:first-of-type {
  justify-self: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  width: clamp(4.8rem, 7vw, 6.4rem);
}

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

@keyframes contact-ring-orbit {
  0%, 100% { transform: translate3d(0, 0, 0) rotateX(0deg) rotateY(-1deg) rotateZ(0deg); }
  34% { transform: translate3d(-5px, -9px, 0) rotateX(1.2deg) rotateY(1.7deg) rotateZ(-0.6deg); }
  68% { transform: translate3d(5px, -3px, 0) rotateX(-0.8deg) rotateY(0.5deg) rotateZ(0.45deg); }
}

@keyframes contact-signal-travel {
  to { stroke-dashoffset: -1; }
}

@keyframes contact-button-scan {
  0% { opacity: 0; transform: translateX(-120%); }
  28% { opacity: 0.62; }
  100% { opacity: 0; transform: translateX(120%); }
}

@media (max-width: 1080px) {
  .contact-shell {
    grid-template-columns: minmax(0, 1fr) minmax(31rem, 1.35fr);
    gap: 2.25rem;
  }

  .contact-showcase .contact-title {
    font-size: clamp(3rem, 5.2vw, 4.7rem);
  }

  .contact-ring {
    right: -8rem;
    width: 35rem;
  }
}

@media (max-width: 760px) {
  .about-showcase::after {
    height: 7rem;
  }

  .contact.contact-showcase {
    min-height: auto;
    background-position: 61% top;
  }

  .contact-shell {
    min-height: 100svh;
    padding: clamp(5.5rem, 16vw, 7rem) 1rem 4.5rem;
    display: block;
  }

  .contact-heading {
    padding-inline: 0.35rem;
  }

  .contact-showcase .contact-title {
    max-width: 9.6ch;
    font-size: clamp(2.6rem, 12.6vw, 3.55rem);
    line-height: 0.9;
    transform: none;
  }

  .contact-title-light {
    font-size: 0.8em;
  }

  .contact-title strong {
    font-size: 1.03em;
  }

  .contact-showcase .contact-heading > p {
    max-width: 38ch;
    margin-top: 1.4rem;
    font-size: 0.95rem;
  }

  .contact-stage {
    min-height: auto;
    margin-top: 2.25rem;
    padding-top: 5.5rem;
    display: block;
  }

  .contact-ring {
    top: -5rem;
    right: -7.5rem;
    width: clamp(21rem, 88vw, 27rem);
  }

  .contact-console {
    width: 100%;
    min-height: 0;
    margin-top: 0;
    padding: 1.25rem;
    border-radius: 14px;
    -webkit-backdrop-filter: blur(10px) saturate(108%);
    backdrop-filter: blur(10px) saturate(108%);
  }

  .contact-signal-map {
    height: 112%;
    top: -6%;
  }

  .contact-console input,
  .contact-console textarea {
    min-height: 3.4rem;
    font-size: 1rem;
  }

  .contact-console textarea {
    min-height: 8.5rem;
  }

  .contact-submit-row {
    justify-items: stretch;
    margin-top: 1.4rem;
  }

  .contact-submit {
    width: 100%;
    min-height: 3.75rem;
    padding-inline: 1rem;
  }

  .contact-submit-note,
  .contact-console .form-status {
    text-align: left;
  }

  .site-footer {
    padding: 1.75rem 1.25rem;
    grid-template-columns: auto 1fr;
    gap: 0.8rem 1.25rem;
  }

  .site-footer .footer-brand {
    grid-column: 1;
    grid-row: 1;
  }

  .site-footer p:first-of-type {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: start;
  }

  .site-footer p:last-of-type {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }
}

@media (max-width: 420px) {
  .contact-shell {
    padding-inline: 0.9rem;
  }

  .contact-showcase .contact-title {
    font-size: clamp(2.4rem, 12.2vw, 3.05rem);
  }

  .contact-submit {
    gap: 0.6rem;
    font-size: 0.84rem;
  }

  .contact-whatsapp-icon {
    width: 1.2rem;
    height: 1.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-title,
  .contact-title-light,
  .contact-title strong,
  .contact-showcase.motion-ready:not(.is-visible) .contact-title-light,
  .contact-showcase.motion-ready:not(.is-visible) .contact-title strong,
  .contact-showcase.motion-ready:not(.is-visible) .contact-heading > p,
  .contact-showcase.motion-ready:not(.is-visible) .contact-ring,
  .contact-showcase.motion-ready:not(.is-visible) .contact-console,
  .contact-showcase.motion-ready .contact-title-light,
  .contact-showcase.motion-ready .contact-title strong,
  .contact-showcase.motion-ready .contact-heading > p,
  .contact-showcase.motion-ready .contact-ring,
  .contact-showcase.motion-ready .contact-console,
  .contact-ring img,
  .contact-console,
  .contact-submit,
  .contact-submit-arrow {
    opacity: 1;
    filter: none;
    clip-path: none;
    transform: none;
    transition-duration: 0.01ms;
    transition-delay: 0ms;
  }

  .contact-ring-float,
  .contact-signal-flow,
  .contact-submit::before {
    animation: none;
  }
}

/* Piatti & Vino uses the source artwork's native 16:9 framing on every viewport. */
.project-gallery-card.project-gallery-card-piatti .project-gallery-media {
  aspect-ratio: 16 / 9 !important;
}

/* Keep multiple featured studies in one deliberate vertical rhythm. */
.projects-stage {
  align-content: start;
}

.projects-stage > .project-feature + .project-feature {
  margin-top: clamp(0.9rem, 2vw, 1.6rem);
}

.project-feature-luana .project-feature-media img {
  object-position: center center;
}
