@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/geist-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Silkscreen";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/silkscreen-regular-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Silkscreen";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/silkscreen-bold-latin.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --ink: #f7f8fa;
  --navy: #071426;
  --navy-deep: #030a14;
  --line: rgba(232, 238, 247, 0.56);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--navy-deep);
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

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

  .budget-cta,
  .budget-cta::before,
  .budget-cta__arrow {
    transition: none;
  }
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--navy-deep);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

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

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

.poster {
  --title-progress: 0;
  position: relative;
  width: 100%;
  height: 160svh;
  min-height: 1200px;
}

.poster-stage {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100svh;
  overflow: clip;
  isolation: isolate;
  background:
    radial-gradient(circle at 31% 47%, rgba(32, 67, 110, 0.72) 0, rgba(16, 39, 70, 0.58) 28%, transparent 58%),
    radial-gradient(circle at 63% 88%, rgba(23, 59, 100, 0.52) 0, transparent 31%),
    linear-gradient(112deg, #0a1b31 0%, var(--navy) 48%, var(--navy-deep) 100%);
}

.poster-stage::after {
  position: absolute;
  z-index: 0;
  right: 0;
  bottom: 0;
  left: 0;
  height: 20rem;
  content: "";
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(3, 10, 20, 0) 0%,
    rgba(3, 10, 20, 0.58) 42%,
    rgba(3, 10, 20, 0.9) 72%,
    #030a14 100%
  );
}

.poster-glow {
  position: absolute;
  z-index: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 24rem;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 115%, #030a14 0 34%, rgba(3, 10, 20, 0.88) 52%, rgba(3, 10, 20, 0) 78%);
}

.site-nav {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 3rem;
  font-family: "Geist", -apple-system, BlinkMacSystemFont, sans-serif;
}

.desktop-navigation {
  display: flex;
  align-items: stretch;
  gap: 0.75rem;
}

.nav-cluster {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.375rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0.75rem 2.5rem rgba(0, 5, 14, 0.12);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.nav-cluster a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.375rem 1rem;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25rem;
  transition: color 180ms ease, background-color 180ms ease;
}

.nav-cluster a:hover,
.nav-cluster a:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}

.budget-cta {
  --footer-lift: 0px;
  position: fixed;
  z-index: 110;
  right: clamp(1.25rem, 3vw, 3rem);
  bottom: calc(max(1.5rem, env(safe-area-inset-bottom)) + var(--footer-lift));
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.8rem;
  min-width: 15.75rem;
  padding: 0.55rem 0.7rem 0.55rem 0.6rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #fff;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.06)),
    rgba(7, 20, 38, 0.58);
  box-shadow: 0 1rem 3rem rgba(0, 5, 14, 0.32), inset 0 1px rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  font-family: "Geist", -apple-system, BlinkMacSystemFont, sans-serif;
  transition: transform 220ms ease, border-color 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
}

.budget-cta::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(110deg, transparent 18%, rgba(255, 255, 255, 0.1) 48%, transparent 76%);
  opacity: 0;
  transform: translateX(-35%);
  transition: opacity 220ms ease, transform 500ms ease;
}

.budget-cta__icon {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.budget-cta__icon svg {
  width: 1.2rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.budget-cta__icon .budget-cta__status {
  fill: currentColor;
  stroke: none;
}

.budget-cta__copy {
  display: grid;
  gap: 0.05rem;
}

.budget-cta__eyebrow {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.budget-cta__label {
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.35;
}

.budget-cta__arrow {
  width: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
  transition: transform 220ms ease;
}

.budget-cta:hover,
.budget-cta:focus-visible {
  border-color: rgba(255, 255, 255, 0.28);
  background-color: rgba(12, 31, 54, 0.72);
  box-shadow: 0 1.25rem 3.5rem rgba(0, 5, 14, 0.42), inset 0 1px rgba(255, 255, 255, 0.12);
  outline: none;
  transform: translateY(-3px);
}

.budget-cta:hover::before,
.budget-cta:focus-visible::before {
  opacity: 1;
  transform: translateX(35%);
}

.budget-cta:hover .budget-cta__arrow,
.budget-cta:focus-visible .budget-cta__arrow {
  transform: translateX(0.2rem);
}

.poster-title {
  --title-top: 7svh;
  --title-edge-space: 0.14em;
  position: absolute;
  z-index: 1;
  top: calc(var(--title-top) - var(--title-edge-space));
  width: 100%;
  height: 1.36em;
  padding-block: var(--title-edge-space);
  margin: 0;
  overflow: hidden;
  contain: paint;
  color: #f7f7f5;
  font-size: clamp(5rem, min(10vw, 18svh), 18rem);
  font-weight: 700;
  line-height: 0.82;
  letter-spacing: -0.075em;
  white-space: nowrap;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.18) 4%,
    rgba(0, 0, 0, 0.72) 9%,
    #000 14%,
    #000 86%,
    rgba(0, 0, 0, 0.72) 91%,
    rgba(0, 0, 0, 0.18) 96%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.18) 4%,
    rgba(0, 0, 0, 0.72) 9%,
    #000 14%,
    #000 86%,
    rgba(0, 0, 0, 0.72) 91%,
    rgba(0, 0, 0, 0.18) 96%,
    transparent 100%
  );
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.poster-title-track {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  transform: translateY(calc(var(--title-progress) * -80%));
  will-change: transform;
}

.poster-title-track > span {
  display: block;
  width: max-content;
  max-width: 96%;
  height: 1.08em;
  flex: 0 0 1.08em;
  line-height: 1;
}

.poster-portrait {
  position: absolute;
  z-index: 2;
  top: 12svh;
  left: 50%;
  width: auto;
  max-width: none;
  height: 88svh;
  object-fit: contain;
  transform: translateX(-50%);
  filter: drop-shadow(0 2.5rem 2.5rem rgba(1, 6, 15, 0.3));
  user-select: none;
  -webkit-user-drag: none;
}

.type-line {
  position: absolute;
  z-index: 4;
  top: 50svh;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(52vw, 980px);
  min-height: clamp(3rem, 4vw, 4.75rem);
  padding: 0 clamp(1.15rem, 2.4vw, 2.8rem);
  color: #fff;
  background: rgba(8, 26, 49, 0.94);
  border: 1px solid rgba(226, 235, 247, 0.22);
  border-top-color: rgba(226, 235, 247, 0.08);
  transform: translateX(-50%);
  box-shadow: 0 0.85rem 2.4rem rgba(0, 6, 16, 0.2);
}

.portfolio-cards {
  position: absolute;
  z-index: 6;
  right: 3rem;
  bottom: 7rem;
  display: flex;
  align-items: stretch;
  gap: 1.25rem;
  font-family: "Geist", -apple-system, BlinkMacSystemFont, sans-serif;
}

.glass-card {
  width: 16rem;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 1rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 1.2rem 3.4rem rgba(0, 5, 14, 0.18);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.expertise-card {
  display: flex;
  min-height: 15.2rem;
  flex-direction: column;
  justify-content: space-between;
}

.discipline-count {
  font-family: "Silkscreen", cursive;
  font-size: 2.25rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.05em;
}

.expertise-card p,
.profile-card-copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.875rem;
  line-height: 1.55;
}

.profile-card-footer strong {
  font-size: 0.875rem;
  font-weight: 600;
}

.profile-card-footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.profile-card-footer img {
  width: 2.25rem;
  height: 2.25rem;
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  object-fit: cover;
  object-position: 50% 12%;
}

.profile-card-footer div {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.profile-card-footer span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  line-height: 1.3;
}

.type-copy {
  min-width: 1ch;
  font-size: clamp(0.95rem, 1.8vw, 2rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-align: center;
  white-space: nowrap;
}

.type-cursor {
  width: 0.075em;
  height: 1.05em;
  margin-left: 0.12em;
  flex: 0 0 auto;
  background: currentColor;
  animation: cursor-blink 0.78s steps(1, end) infinite;
}

.line-dot {
  position: absolute;
  width: clamp(0.55rem, 0.8vw, 0.88rem);
  aspect-ratio: 1;
  background: #f4f6fa;
  border: 2px solid rgba(8, 24, 45, 0.88);
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(247, 249, 252, 0.7);
}

.line-dot-start {
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
}

.line-dot-end {
  right: 0;
  top: 50%;
  transform: translate(50%, -50%);
}

.projects {
  --project-card-top: clamp(7rem, 10vw, 9rem);
  --project-reveal: clamp(1.25rem, 2vw, 1.75rem);
  --projects-bottom-space: clamp(4rem, 8vw, 7rem);
  position: relative;
  z-index: 8;
  padding: clamp(2.5rem, 4.5vw, 4rem) clamp(1.25rem, 3.3vw, 3rem) 0;
  overflow-x: clip;
  overflow-y: visible;
  background:
    radial-gradient(circle at 88% 56%, rgba(18, 52, 91, 0.3), transparent 34rem),
    linear-gradient(180deg, #030a14 0%, #071426 48%, #030a14 100%);
  font-family: "Geist", -apple-system, BlinkMacSystemFont, sans-serif;
}

.projects::before {
  position: absolute;
  inset: 6rem 0 0;
  content: "";
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 5rem 5rem;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

.projects + .projects {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.projects-heading,
.project-stack {
  position: relative;
  width: min(100%, 92rem);
  margin-inline: auto;
}

.project-stack {
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 18svh;
}

.project-stack::after {
  display: block;
  height: calc(18svh + var(--projects-bottom-space));
  flex: 0 0 calc(18svh + var(--projects-bottom-space));
  content: "";
  pointer-events: none;
}

.projects-heading {
  position: sticky;
  z-index: 20;
  top: 0;
  padding-top: clamp(1rem, 2vw, 1.75rem);
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  pointer-events: none;
}

.projects-heading h2 {
  --section-exit-y: 0px;
  position: relative;
  margin: 0;
  color: #f7f7f5;
  font-size: clamp(3.5rem, 7vw, 7rem);
  font-weight: 700;
  line-height: 0.82;
  letter-spacing: -0.08em;
  transform: translate3d(0, var(--section-exit-y), 0);
  will-change: transform;
}

.projects--carousel {
  padding-bottom: clamp(5rem, 9vw, 8rem);
}

.projects--carousel .projects-heading {
  position: relative;
  top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  pointer-events: auto;
}

.project-carousel-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.project-carousel-status {
  margin-right: 0.5rem;
  color: rgba(255, 255, 255, 0.58);
  font-family: "Silkscreen", cursive;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.project-carousel-controls button {
  display: inline-grid;
  width: 2.85rem;
  height: 2.85rem;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease, opacity 180ms ease;
}

.project-carousel-controls button:hover,
.project-carousel-controls button:focus-visible {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.16);
  outline: none;
}

.project-carousel-controls button:disabled {
  opacity: 0.3;
  cursor: default;
}

.project-carousel-controls svg {
  width: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.project-carousel {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(100%, 92rem);
  margin-inline: auto;
  gap: clamp(1rem, 2vw, 1.75rem);
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-padding-inline: 0;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
}

.project-carousel::-webkit-scrollbar {
  display: none;
}

.project-carousel:focus-visible {
  outline: 1px solid rgba(255, 255, 255, 0.28);
  outline-offset: 0.5rem;
}

.project-carousel .project-stack-item {
  position: relative;
  top: auto;
  flex: 0 0 min(84%, 76rem);
  height: min(68svh, 42rem);
  min-height: 32rem;
  scroll-snap-align: start;
}

.project-carousel .project-card {
  transform: none;
  will-change: auto;
}

.project-stack-item {
  position: sticky;
  z-index: calc(var(--project-index) + 1);
  top: calc(var(--project-card-top) + (var(--project-index) * var(--project-reveal)));
  height: min(74svh, 45rem);
  min-height: 34rem;
}

.project-card {
  --card-scale: 1;
  --card-exit-y: 0px;
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  padding: clamp(0.875rem, 1.5vw, 1.5rem);
  grid-template-columns: minmax(0, 1.7fr) minmax(18rem, 0.72fr);
  align-items: center;
  gap: clamp(0.875rem, 1.4vw, 1.25rem);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 1.25rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 2.5rem 6rem rgba(0, 5, 14, 0.38);
  transform: translate3d(0, var(--card-exit-y), 0) scale(var(--card-scale));
  transform-origin: top center;
  transition: box-shadow 240ms ease;
  will-change: transform;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.project-card:hover {
  box-shadow: 0 2.75rem 7rem rgba(0, 5, 14, 0.5);
}

.project-card-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(1rem, 2vw, 2.25rem);
}

.project-details {
  display: flex;
  min-width: 0;
  height: 100%;
  padding: clamp(0.25rem, 1vw, 0.75rem);
  flex-direction: column;
}

.project-details-top {
  display: flex;
  align-items: flex-start;
  gap: clamp(0.8rem, 1.5vw, 1.35rem);
}

.project-number {
  font-family: "Silkscreen", cursive;
  font-size: clamp(1.75rem, 3.2vw, 3rem);
  line-height: 1;
  letter-spacing: -0.08em;
}

.project-meta {
  display: grid;
  min-width: 0;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-meta span + span::before {
  display: none;
}

.project-link {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.project-details > .project-link {
  align-self: flex-start;
  margin-top: auto;
}

.project-link svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.project-link:hover,
.project-link:focus-visible {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.16);
  outline: none;
}

.project-visual {
  position: relative;
  display: block;
  width: 100%;
  min-height: 0;
  aspect-ratio: 16 / 9;
  align-self: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.8rem;
  background: #081525;
}

.project-visual::after {
  display: none;
}

.project-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
}

.project-carousel .project-visual {
  aspect-ratio: 1280 / 577;
}

.project-carousel .project-visual > img {
  object-fit: contain;
}

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

.project-visual:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.72);
  outline-offset: -3px;
}

.project-visual-cousa {
  background:
    radial-gradient(circle at 68% 42%, rgba(229, 81, 16, 0.25), transparent 25rem),
    linear-gradient(120deg, #130f0d, #030303 62%);
}

.project-visual-cousa > img {
  width: 100%;
  margin: 0;
  object-fit: cover;
  object-position: center;
  filter: none;
}

.project-visual-lihoje {
  background: #061421;
}

.project-visual-torce {
  background: #0c0c10;
}

.project-copy {
  position: static;
  display: block;
  margin-block: auto;
}

.project-type {
  display: block;
  margin-bottom: 0.6rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-copy h3 {
  margin: 0;
  font-size: clamp(2.35rem, 3.6vw, 4rem);
  font-weight: 600;
  line-height: 0.88;
  letter-spacing: -0.065em;
}

.project-copy p {
  max-width: 25rem;
  margin: 1.25rem 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(0.82rem, 1.25vw, 1rem);
  line-height: 1.55;
}

.site-footer {
  position: relative;
  z-index: 8;
  padding: 2rem clamp(1.25rem, 3.3vw, 3rem) 2.5rem;
  color: rgba(255, 255, 255, 0.58);
  background: transparent;
  font-family: "Geist", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: inherit;
  transition: color 180ms ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #fff;
  outline: none;
}

@keyframes cursor-blink {
  0%, 48% {
    opacity: 1;
  }

  49%, 100% {
    opacity: 0;
  }
}

@media (max-width: 767px) {
  .poster {
    z-index: 9;
    height: 140svh;
    min-height: 0;
  }

  .poster-stage {
    overflow: visible;
  }

  .poster-title {
    --title-top: 13svh;
    font-size: clamp(3.8rem, 16vw, 7.2rem);
    letter-spacing: -0.08em;
  }

  .site-nav {
    justify-content: center;
    padding: 1.25rem;
  }

  .desktop-navigation {
    display: flex;
  }

  .nav-cluster a {
    padding-inline: clamp(0.55rem, 2.6vw, 0.85rem);
    font-size: clamp(0.7rem, 3vw, 0.82rem);
  }

  .budget-cta {
    right: 1rem;
    bottom: calc(max(1rem, env(safe-area-inset-bottom)) + var(--footer-lift));
    left: auto;
    min-width: 0;
    gap: 0.65rem;
    padding: 0.45rem 0.6rem 0.45rem 0.5rem;
  }

  .budget-cta__icon {
    width: 2.25rem;
    height: 2.25rem;
  }

  .budget-cta__eyebrow {
    display: none;
  }

  .budget-cta__label {
    font-size: 0.78rem;
  }

  .budget-cta__arrow {
    display: none;
  }

  .poster-portrait {
    left: calc(50% + 0.75rem);
    top: 16svh;
    width: 130%;
    height: auto;
  }

  .type-line {
    top: 42svh;
    width: 68%;
    min-height: clamp(2.8rem, 7vw, 3.15rem);
    padding-inline: 1.15rem;
    border-color: rgba(226, 235, 247, 0.2);
  }

  .type-copy {
    max-width: 100%;
    overflow: hidden;
    font-size: clamp(0.8rem, 2.8vw, 1.15rem);
  }

  .portfolio-cards {
    right: 1.25rem;
    bottom: 6rem;
    left: 1.25rem;
    justify-content: flex-end;
    gap: 0.75rem;
  }

  .glass-card {
    width: calc(50% - 0.375rem);
    min-width: 0;
    padding: 1rem;
  }

  .profile-card {
    width: min(17.5rem, 100%);
  }

  .expertise-card {
    min-height: 12rem;
  }

  .discipline-count {
    font-size: 1.75rem;
  }

  .expertise-card p,
  .profile-card-copy {
    font-size: 0.75rem;
    line-height: 1.45;
  }

  .profile-card-footer {
    gap: 0.5rem;
    margin-top: 0.875rem;
  }

  .profile-card-footer img {
    width: 1.75rem;
    height: 1.75rem;
  }

  .profile-card-footer strong {
    font-size: 0.8125rem;
  }

  .profile-card-footer strong,
  .profile-card-footer span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .projects {
    --project-card-top: 9rem;
    --project-reveal: 0.875rem;
    --projects-bottom-space: 5rem;
    padding: 1rem 1rem 0;
  }

  .projects-heading {
    padding-top: 4.5rem;
    padding-bottom: 0.75rem;
    margin-bottom: 0.75rem;
  }

  .projects-heading h2 {
    font-size: clamp(3.25rem, 14vw, 4.5rem);
  }

  .projects--carousel {
    padding-bottom: 5rem;
  }

  .projects--carousel .projects-heading {
    padding-top: 3.5rem;
  }

  .project-carousel-controls {
    gap: 0.35rem;
  }

  .project-carousel-status {
    display: none;
  }

  .project-carousel-controls button {
    width: 2.5rem;
    height: 2.5rem;
  }

  .project-carousel {
    width: 100%;
    gap: 0.75rem;
  }

  .project-carousel .project-stack-item {
    flex-basis: 91%;
    height: min(72svh, 38rem);
    min-height: 29rem;
  }

  .project-stack-item {
    top: calc(var(--project-card-top) + (var(--project-index) * var(--project-reveal)));
    height: min(72svh, 38rem);
    min-height: 29rem;
  }

  .project-stack {
    gap: 15svh;
  }

  .project-stack::after {
    height: calc(15svh + var(--projects-bottom-space));
    flex-basis: calc(15svh + var(--projects-bottom-space));
  }

  .project-card {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    border-radius: 1rem;
    transform: translate3d(0, var(--card-exit-y), 0);
    will-change: auto;
  }

  .projects-heading h2,
  .poster-title-track {
    will-change: auto;
  }

  .project-card-header {
    grid-template-columns: auto 1fr auto;
    gap: 0.75rem;
  }

  .project-meta span:nth-child(2) {
    display: none;
  }

  .project-link {
    width: auto;
    min-height: 2.65rem;
    justify-content: center;
    padding: 0.55rem 0.85rem;
    font-size: 0.65rem;
  }

  .project-visual-cousa > img {
    width: 100%;
    height: 100%;
    margin: 0;
    object-position: center;
  }

  .project-details {
    height: auto;
    flex: 1;
    padding: 0.15rem 0.25rem 0.25rem;
  }

  .project-details-top {
    align-items: center;
  }

  .project-copy {
    margin-block: auto;
  }

  .project-copy h3 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .project-copy p {
    max-width: 23rem;
    margin-top: 0.65rem;
  }

}

@media (max-width: 430px) {
  .poster {
    height: 140svh;
  }

  .poster-title {
    --title-top: 13svh;
    font-size: 16vw;
  }

  .poster-portrait {
    left: calc(50% + 0.75rem);
    top: 16svh;
    width: 130%;
  }

  .type-line {
    top: 42svh;
    width: 66%;
  }

  .portfolio-cards {
    right: 0.875rem;
    bottom: 6rem;
    left: 0.875rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .type-cursor {
    animation: none;
  }

  .project-card {
    transform: none !important;
    filter: none !important;
  }

  .project-visual > img {
    transition: none;
  }
}
