.hero {
  position: fixed;
  inset: 0 0 auto;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  z-index: 1;
  background: var(--rich-black);
}

.hero-spacer {
  position: relative;
  height: 100vh;
  height: 100svh;
  z-index: 2;
  pointer-events: none;
}

.page-content {
  position: relative;
  z-index: 10;
  background: var(--cream);
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 -30px 60px -25px rgba(0, 0, 0, 0.1), 0 -10px 25px -12px rgba(0, 0, 0, 0.06);
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity 1200ms cubic-bezier(0.4, 0, 0.2, 1), transform 1400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-slide.is-leaving {
  opacity: 0;
  transform: scale(0.985);
}

.hero-slide img,
.hero-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  filter: brightness(calc(1 - 0.3 * var(--hp, 0)));
}

.hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
}

.hero-overlay--flat {
  background: rgba(0, 0, 0, 0.12);
}

.hero-overlay--radial {
  background: radial-gradient(ellipse at 50% 45%, transparent 0%, transparent 20%, rgba(0, 0, 0, 0.06) 50%, rgba(0, 0, 0, 0.18) 100%);
}

.hero-overlay--vertical {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.08) 15%, rgba(0, 0, 0, 0.02) 35%, rgba(0, 0, 0, 0.02) 55%, rgba(0, 0, 0, 0.12) 70%, rgba(0, 0, 0, 0.35) 85%, rgba(0, 0, 0, 0.65) 100%);
}

.hero-text {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 20px 120px;
  transform: translateY(calc(-30px * var(--hp, 0))) scale(calc(1 - 0.08 * var(--hp, 0)));
  opacity: calc(1 - 0.4 * var(--hp, 0));
  pointer-events: none;
}

.hero-text > * {
  pointer-events: auto;
}

.hero-h1 {
  max-width: 768px;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: #fff;
}

.hero-h1 span {
  display: block;
}

.hero-h1 span + span {
  color: rgba(255, 255, 255, 0.5);
}

.hero-meta {
  margin-top: 12px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.4);
}

.hero-card {
  position: absolute;
  z-index: 30;
}

.hero-card--desktop {
  display: none;
}

.hero-card-box {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  background-image: linear-gradient(rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.12));
  background-color: rgba(10, 10, 10, 0.23);
  padding: 16px 20px;
}

.hero-card-title,
.hero-card-meta,
.hero-card-cta-label {
  transition: opacity 0.25s var(--ease-out);
}

.is-fading .hero-card-title,
.is-fading .hero-card-meta,
.is-fading .hero-card-cta-label {
  opacity: 0;
}

.hero-card-title {
  position: relative;
  padding-bottom: 12px;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
}

.hero-card-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50%;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.hero-card-meta {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
}

.hero-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}

.hero-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}

.hero-card-cta .arrow-icon {
  transition: transform 0.35s var(--ease-expo);
}

.hero-card-cta:hover .arrow-icon {
  transform: translate(2px, -2px);
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-dots button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 24px;
}

.hero-dots span {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transition: width 0.35s var(--ease-out), height 0.35s var(--ease-out), background-color 0.35s var(--ease-out);
}

.hero-dots button.is-active span {
  width: 6px;
  height: 6px;
  background: #fff;
}

.hero-pause {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s var(--ease-out);
}

.hero-pause:hover {
  color: #fff;
}

.hero-pause svg {
  width: 9px;
  height: 9px;
  fill: currentColor;
}

.hero-pause .ic-play {
  display: none;
}

.hero-pause.is-paused .ic-pause {
  display: none;
}

.hero-pause.is-paused .ic-play {
  display: block;
}

.hero-card--mobile {
  left: 16px;
  right: 16px;
  bottom: max(24px, calc(env(safe-area-inset-bottom, 0px) + 12px));
  max-width: calc(100vw - 32px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background-image: linear-gradient(rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.08));
  background-color: rgba(10, 10, 10, 0.3);
  padding: 8px 12px;
  transform: translateY(calc(35px * var(--hq, 0))) scale(calc(1 - 0.04 * var(--hq, 0)));
  opacity: calc(1 - 0.5 * var(--hq, 0));
}

.hero-card--mobile .hero-card-info {
  min-width: 0;
}

.hero-card--mobile .hero-card-title {
  padding-bottom: 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-card--mobile .hero-card-title::after {
  display: none;
}

.hero-card--mobile .hero-card-meta {
  margin-top: 2px;
  font-size: 9px;
  letter-spacing: 0.04em;
}

.hero-card--mobile .hero-card-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

.hero-card--mobile .hero-dots {
  gap: 5px;
}

.hero-card--mobile .hero-dots button {
  width: 14px;
  height: 20px;
}

.hero-card--mobile .hero-dots span {
  width: 3px;
  height: 3px;
}

.hero-card--mobile .hero-dots button.is-active span {
  width: 4px;
  height: 4px;
}

.hero-card--mobile .hero-pause {
  width: 20px;
  height: 20px;
}

.hero-card--mobile .hero-card-cta {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.scroll-hint {
  position: absolute;
  bottom: 104px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  width: 1px;
  height: 32px;
}

.scroll-hint::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.6);
  transform-origin: top;
  animation: hint-breathe 2500ms ease-in-out infinite;
}

@keyframes hint-breathe {
  0%, 100% {
    transform: scaleY(0.35);
  }
  50% {
    transform: scaleY(1);
  }
}

@keyframes h1-in {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fade-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

body.is-ready .hero-h1 span {
  animation: h1-in 0.9s var(--ease-expo) both;
}

body.is-ready .hero-h1 span:nth-child(1) {
  animation-delay: 0.2s;
}

body.is-ready .hero-h1 span:nth-child(2) {
  animation-delay: 0.35s;
}

body.is-ready .hero-meta {
  animation: fade-rise 0.6s var(--ease-out) both;
  animation-delay: 0.55s;
}

body.is-ready .hero-card-inner {
  animation: card-in 1s var(--ease-expo) both;
  animation-delay: 0.65s;
}

@media (min-width: 640px) {
  .hero-text {
    padding-right: 32px;
    padding-left: 32px;
  }

  .hero-h1 {
    font-size: clamp(2.25rem, 9vw, 3.5rem);
  }

  .hero-meta {
    margin-top: 20px;
    font-size: 12px;
  }

  .hero-card--mobile {
    left: auto;
    right: 32px;
    bottom: 32px;
    max-width: 320px;
    padding: 10px 16px;
  }

  .hero-card--mobile .hero-card-title {
    font-size: 13px;
  }
}

@media (max-width: 640px) {
  .hero-h1 {
    font-size: clamp(2rem, 8.5vw, 3rem);
  }
}

@media (min-width: 768px) {
  .hero-text {
    padding-bottom: 40px;
  }

  .hero-slide img,
  .hero-slide video {
    object-position: 50% 40%;
  }

  .scroll-hint {
    bottom: 96px;
    height: 40px;
  }
}

@media (max-width: 767px) {
  .hero-card--mobile {
    display: flex;
  }
}

@media (min-width: 768px) {
  .hero-card--mobile {
    display: none;
  }
}

@media (min-width: 1024px) {
  .hero-text {
    padding-right: 48px;
    padding-bottom: 48px;
    padding-left: 48px;
  }

  .hero-card--desktop {
    display: block;
    right: 40px;
    bottom: 69px;
    width: clamp(280px, 26vw, 340px);
    transform: translateY(calc(-20px * var(--hq, 0))) scale(calc(1 - 0.05 * var(--hq, 0)));
    opacity: calc(1 - 0.45 * var(--hq, 0));
  }

  .scroll-hint {
    left: calc(50% + 12rem);
    bottom: 64px;
    transform: none;
  }
}

@media (min-width: 1280px) {
  .hero-text {
    padding-right: 64px;
    padding-left: 64px;
  }

  .hero-card--desktop {
    right: 56px;
    bottom: 77px;
    width: clamp(320px, 27vw, 380px);
  }

  .hero-card-box {
    padding: 20px 24px;
  }

  .hero-card-title {
    font-size: 22px;
  }

  .scroll-hint {
    left: calc(50% + 14rem);
  }
}

@media (min-width: 1440px) {
  .hero-card--desktop {
    width: clamp(340px, 25vw, 400px);
  }

  .hero-card-box {
    padding: 24px 28px;
  }

  .hero-card-title {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .page-content {
    box-shadow: 0 -20px 40px -18px rgba(0, 0, 0, 0.08), 0 -8px 20px -10px rgba(0, 0, 0, 0.05);
  }
}

.portfolio-head {
  max-width: 1920px;
  margin: 0 auto;
  padding: clamp(32px, 4vh, 40px) 16px clamp(24px, 3vh, 32px);
}

.portfolio-head-inner {
  display: grid;
  gap: 24px;
}

.portfolio-title {
  margin-top: 16px;
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.portfolio-title span {
  display: block;
}

.portfolio-title span:first-child {
  font-weight: 400;
}

.portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 420px;
  margin-top: 20px;
  font-size: clamp(0.875rem, 1vw, 0.9375rem);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.01em;
  color: rgba(26, 26, 26, 0.55);
  transition: color 0.35s var(--ease-out);
}

.portfolio-link .arrow-icon {
  transition: transform 0.35s var(--ease-expo);
}

.portfolio-link:hover {
  color: var(--charcoal);
}

.portfolio-link:hover .arrow-icon {
  transform: translate(2px, -2px);
}

.portfolio-services {
  display: grid;
}

.service {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
}

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

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: rgba(26, 26, 26, 0.5);
  transition: color 0.4s var(--ease-out), transform 0.45s var(--ease-expo);
  flex: none;
}

.service-icon svg {
  width: 22px;
  height: 22px;
}

.service-text {
  min-width: 0;
}

.service-title {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.65);
  transition: color 0.35s var(--ease-out);
}

.service-desc {
  margin-top: 10px;
  font-size: 11px;
  line-height: 1.5;
  color: rgba(26, 26, 26, 0.45);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.service-arrow {
  margin-left: auto;
  color: rgba(26, 26, 26, 0.55);
  flex: none;
}

.service-arrow .arrow-icon {
  width: 16px;
  height: 16px;
}

.service-line {
  display: none;
}

.service:hover .service-icon {
  color: var(--warm-gold);
  transform: scale(1.1);
}

.service:hover .service-title {
  color: var(--charcoal);
}

@media (min-width: 641px) {
  .portfolio-services {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .service {
    padding: 20px 16px;
    min-height: 120px;
    align-items: flex-start;
    border-top: 0;
  }

  .service + .service {
    border-top: 0;
  }

  .service:nth-child(n + 3) {
    margin-top: 8px;
  }

  .service:nth-child(4),
  .service:nth-child(5) {
    margin-top: 10px;
    border-top: 1px solid rgba(26, 26, 26, 0.12);
    padding-top: 30px;
  }

  .service:nth-child(5) {
    justify-self: center;
    width: 100%;
    max-width: 50%;
  }

  .service-icon {
    width: 32px;
    height: 32px;
  }

  .service-arrow {
    display: none;
  }

  .service-title {
    font-size: 12px;
  }

  .service-desc {
    font-size: 11px;
  }
}

@media (min-width: 769px) {
  .portfolio-head {
    padding: clamp(40px, 5vh, 64px) 24px clamp(32px, 4vh, 48px);
  }

  .portfolio-head-inner {
    gap: 32px;
  }

  .portfolio-services {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .service:nth-child(n + 3) {
    margin-top: 0;
  }

  .service:nth-child(4),
  .service:nth-child(5) {
    margin-top: 10px;
    border-top: 1px solid rgba(26, 26, 26, 0.12);
    padding-top: 30px;
  }

  .service:nth-child(5) {
    justify-self: stretch;
    max-width: none;
  }
}

@media (min-width: 1024px) {
  .portfolio-head {
    padding: clamp(48px, 6vh, 80px) 32px clamp(40px, 5vh, 64px);
  }

  .portfolio-head-inner {
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(8px, 1vw, 14px);
  }

  .portfolio-title-block {
    grid-column: 1 / 2;
  }

  .portfolio-services {
    grid-column: 2 / 4;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    align-content: start;
  }

  .service {
    flex-direction: column;
    gap: 12px;
    padding: 20px 16px;
    min-height: 130px;
  }

  .service:nth-child(4),
  .service:nth-child(5) {
    margin-top: 0;
    border-top: 0;
    padding-top: 20px;
  }

  .service-icon {
    width: 36px;
    height: 36px;
  }

  .service-icon svg {
    width: 24px;
    height: 24px;
  }

  .service-arrow {
    display: block;
    position: absolute;
    top: 22px;
    right: 16px;
    opacity: 0;
    transform: translate(-6px, 6px);
    transition: opacity 0.4s var(--ease-out), transform 0.45s var(--ease-expo);
  }

  .service:hover .service-arrow {
    opacity: 1;
    transform: none;
  }

  .service-line {
    display: block;
    height: 1px;
    margin-top: 8px;
    background: rgba(26, 26, 26, 0.1);
    position: relative;
    overflow: hidden;
  }

  .service-line::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 26, 0.3);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease-expo);
  }

  .service:hover .service-line::after {
    transform: scaleX(1);
  }
}

@media (min-width: 1280px) {
  .portfolio-head {
    padding-right: 40px;
    padding-left: 40px;
  }

  .portfolio-head-inner {
    gap: clamp(16px, 2vw, 24px);
  }
}

@media (min-width: 1440px) {
  .service {
    padding: 28px 24px;
    min-height: 160px;
  }

  .service {
    gap: 16px;
  }

  .service-icon {
    width: 32px;
    height: 32px;
  }

  .service-title {
    font-size: 15px;
    letter-spacing: 0.06em;
  }

  .service-desc {
    font-size: 13px;
    line-height: 1.6;
  }
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(6px, 0.75vw, 8px);
  padding: 0 clamp(6px, 0.75vw, 8px) clamp(6px, 0.75vw, 8px);
}

.tile {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--graphite);
}

.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.85) 0%, rgba(10, 10, 10, 0.3) 30%, transparent 100%);
  pointer-events: none;
  transition: opacity 0.5s var(--ease-out);
}

.tile-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-expo), filter 0.6s ease;
}

.tile-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 16px;
}

.tile-cat {
  margin-bottom: 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.tile-title {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #fff;
  transition: color 0.35s var(--ease-out), transform 0.4s var(--ease-expo);
}

.tile-meta {
  margin-top: 4px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.5);
  transition: transform 0.4s var(--ease-expo);
}

.tile-arrow {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  width: 22px;
  height: 22px;
  color: rgba(255, 255, 255, 0.9);
  opacity: 0;
  transform: translate(-6px, 6px);
  transition: opacity 0.4s var(--ease-out), transform 0.45s var(--ease-expo);
}

.tile-arrow svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tile:hover {
  box-shadow: 0 8px 30px -8px rgba(0, 0, 0, 0.15);
}

.tile:hover .tile-media {
  transform: scale(1.04);
  filter: brightness(1.05);
}

.tile:hover .tile-title {
  color: var(--warm-gold);
  transform: translateY(-2px);
}

.tile:hover .tile-meta {
  transform: translateY(-1px);
}

.tile:hover .tile-arrow {
  opacity: 1;
  transform: none;
}

.tile--cta::after {
  background: linear-gradient(to top, rgba(10, 10, 10, 0.92) 0%, rgba(10, 10, 10, 0.55) 45%, rgba(10, 10, 10, 0.25) 100%);
}

.tile--cta .tile-body {
  padding-bottom: 20px;
}

.cta-small {
  font-size: 32px;
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: rgba(255, 255, 255, 0.6);
}

.cta-big {
  font-size: 44px;
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: #fff;
}

.cta-contact {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 20px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.35s var(--ease-out);
}

.cta-contact .arrow-icon {
  transition: transform 0.35s var(--ease-expo);
}

.cta-contact:hover {
  color: #fff;
}

.cta-contact:hover .arrow-icon {
  transform: translate(2px, -2px);
}

@media (max-width: 639px) {
  .tile--cta {
    aspect-ratio: auto;
    height: 220px;
  }

  .tile--cta .tile-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-contact {
    margin-top: 16px;
  }
}

@media (min-width: 640px) {
  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
    gap: clamp(8px, 1vw, 14px);
    padding: 0 clamp(8px, 1vw, 12px) clamp(8px, 1vw, 12px);
  }

  .tile-body {
    padding: 20px;
  }

  .tile-arrow {
    right: 20px;
    bottom: 20px;
  }

  .cta-small {
    font-size: clamp(40px, 8vw, 64px);
  }

  .cta-big {
    font-size: clamp(48px, 10vw, 80px);
  }
}

@media (min-width: 768px) {
  .tile-title {
    font-size: 18px;
  }
}

@media (min-width: 1024px) {
  .portfolio-grid {
    gap: clamp(8px, 1vw, 16px);
    padding: 0 clamp(8px, 1vw, 14px) clamp(8px, 1vw, 14px);
  }

  .tile-body {
    padding: 24px;
  }

  .tile-arrow {
    right: 24px;
    bottom: 24px;
  }

  .tile-title {
    font-size: 19px;
  }

  .cta-small {
    font-size: clamp(40px, 6vw, 56px);
  }

  .cta-big {
    font-size: clamp(56px, 8vw, 80px);
  }
}

@media (hover: none) {
  .tile-arrow {
    opacity: 0.5;
    transform: none;
  }
}

.manifesto {
  position: relative;
  z-index: 10;
  background: var(--rich-black);
  padding-top: clamp(48px, 5vh, 80px);
  --pin-h: 100vh;
  --extra: 100vh;
  height: calc(clamp(48px, 5vh, 80px) + var(--pin-h) + var(--extra));
}

@supports (height: 100svh) {
  .manifesto {
    --pin-h: 100svh;
  }
}

.manifesto-pin {
  position: sticky;
  top: 0;
  height: var(--pin-h);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.manifesto-cream {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--cream);
  opacity: var(--cream-o, 1);
  pointer-events: none;
}

.manifesto-texture {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse 100% 60% at 30% 50%, rgba(255, 255, 255, 0.025), transparent 70%);
  opacity: var(--tex-o, 0);
  pointer-events: none;
}

.manifesto-grid {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1440px;
  display: grid;
  gap: 24px;
  padding: clamp(8px, 1.5vh, 24px) clamp(24px, 5vw, 40px);
  transform: translateY(calc(-1px * var(--lift, 0)));
  text-align: center;
  justify-items: center;
}

.manifesto-title {
  font-size: 1em;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.04em;
}

.manifesto-title span {
  display: block;
}

.manifesto-intro {
  font-size: clamp(14px, 3vw, 18px);
  font-weight: 300;
  letter-spacing: 0.02em;
  margin-bottom: 0.2em;
  color: #1a1a1a;
}

.manifesto-line {
  color: #1a1a1a;
}

.manifesto-line--1 {
  font-size: clamp(22px, 6.5vw, 32px);
  font-weight: 400;
}

.manifesto-line--2 {
  font-size: clamp(22px, 6.5vw, 32px);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-left: clamp(16px, 4vw, 48px);
}

.manifesto-metrics {
  display: none;
}

.manifesto-aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding-top: 8px;
}

.manifesto-motif {
  width: clamp(220px, 22vw, 320px);
  max-width: 100%;
}

.manifesto-motif img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 50% 45%;
  border-radius: 2px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12), 0 6px 16px rgba(0, 0, 0, 0.08);
  filter: grayscale(calc(0.8 - 0.8 * var(--motif, 0))) contrast(calc(1.05 - 0.05 * var(--motif, 0)));
}

.manifesto-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5.6px;
  text-align: center;
}

.manifesto-name {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(26, 26, 26, 0.95);
}

.manifesto-role {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.6);
}

.manifesto-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(26, 26, 26, 0.85);
  transition: color 0.35s var(--ease-out);
}

.manifesto-cta svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.35s var(--ease-expo);
}

.manifesto-cta:hover {
  gap: 8px;
}

.manifesto-progress {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 50px;
  opacity: 0.4;
  z-index: 3;
}

.mp-track {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.15);
  opacity: var(--track-o, 0);
}

.mp-fill {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: calc(var(--p, 0) * 100%);
  background: #fff;
}

@media (max-width: 480px) {
  .manifesto-motif {
    max-width: 220px;
  }
}

@media (min-width: 481px) and (max-width: 640px) {
  .manifesto-intro {
    font-size: clamp(12px, 2.5vw, 14px);
  }

  .manifesto-line--1,
  .manifesto-line--2 {
    font-size: clamp(24px, 6vw, 36px);
  }
}

@media (max-width: 640px) {
  .manifesto-grid {
    gap: 16px;
  }
}

@media (min-width: 641px) and (max-width: 899px) {
  .manifesto-intro {
    font-size: clamp(20px, 4vw, 40px);
  }

  .manifesto-line--1,
  .manifesto-line--2 {
    font-size: clamp(32px, 7vw, 80px);
  }
}

@media (min-width: 900px) {
  .manifesto-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "main aside";
    gap: clamp(48px, 5vw, 80px);
    padding: clamp(8px, 1.5vh, 24px) clamp(32px, 5vw, 80px);
    align-items: center;
    text-align: left;
    justify-items: start;
  }

  .manifesto-main {
    grid-area: main;
  }

  .manifesto-aside {
    grid-area: aside;
    align-items: flex-start;
    gap: 40px;
    padding-top: 16px;
  }

  .manifesto-contact {
    align-items: flex-start;
    text-align: left;
  }

  .manifesto-intro {
    font-size: clamp(24px, 3vw, 48px);
  }

  .manifesto-line--1,
  .manifesto-line--2 {
    font-size: clamp(48px, 5.5vw, 88px);
  }

  .manifesto-line--2 {
    margin-left: clamp(24px, 4vw, 64px);
  }

  .manifesto-motif {
    width: clamp(260px, 24vw, 360px);
  }

  .manifesto-metrics {
    display: flex;
    gap: clamp(32px, 4vw, 56px);
    margin-top: clamp(40px, 5vh, 64px);
  }

  .metric-value {
    font-size: clamp(24px, 2.5vw, 36px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.02em;
    color: rgba(26, 26, 26, 0.95);
  }

  .metric-label {
    margin-top: 8px;
    font-size: clamp(10px, 0.8vw, 12px);
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(26, 26, 26, 0.55);
  }

  .metric-detail {
    margin-top: 5px;
    font-size: clamp(9px, 0.7vw, 11px);
    font-weight: 400;
    color: rgba(26, 26, 26, 0.35);
  }
}

@media (min-width: 1400px) {
  .manifesto-grid {
    gap: clamp(64px, 5vw, 88px);
    padding-right: clamp(64px, 5vw, 96px);
    padding-left: calc(clamp(64px, 5vw, 96px) + 12px);
  }

  .manifesto-intro {
    font-size: clamp(32px, 2.5vw, 56px);
  }

  .manifesto-line--1,
  .manifesto-line--2 {
    font-size: clamp(64px, 5vw, 104px);
  }

  .manifesto-motif {
    width: clamp(300px, 26vw, 400px);
  }
}

@media (max-width: 768px) {
  .manifesto {
    --extra: 80vh;
  }

  .manifesto-pin {
    top: 5vh;
    height: calc(var(--pin-h) - 5vh);
  }
}

.manifesto.no-pin {
  height: auto;
}

.manifesto.no-pin .manifesto-pin {
  position: static;
  height: auto;
  min-height: 0;
  padding-top: var(--section-space-small);
  padding-bottom: var(--section-space-small);
}

.manifesto.no-pin .manifesto-cream {
  opacity: 0;
}

.manifesto.no-pin .manifesto-progress {
  display: none;
}

.manifesto.no-pin .manifesto-intro {
  color: rgba(255, 255, 255, 0.7);
}

.manifesto.no-pin .manifesto-line {
  color: #fff;
}

.manifesto.no-pin .metric-value {
  color: rgba(255, 255, 255, 0.95);
}

.manifesto.no-pin .metric-label {
  color: rgba(255, 255, 255, 0.55);
}

.manifesto.no-pin .metric-detail {
  color: rgba(255, 255, 255, 0.35);
}

.manifesto.no-pin .manifesto-name {
  color: rgba(255, 255, 255, 0.95);
}

.manifesto.no-pin .manifesto-role {
  color: rgba(255, 255, 255, 0.45);
}

.manifesto.no-pin .manifesto-cta {
  color: rgba(255, 255, 255, 0.7);
}

.manifesto.no-pin .manifesto-motif img {
  filter: none;
}

.manifesto.no-pin .site-footer--manifesto {
  opacity: 1;
  transform: none;
}

html:not(.js) .manifesto {
  height: auto;
}

html:not(.js) .manifesto-cream,
html:not(.js) .manifesto-progress {
  display: none;
}

html:not(.js) .manifesto-line {
  color: #fff;
}

html:not(.js) .manifesto-intro {
  color: rgba(255, 255, 255, 0.7);
}

html:not(.js) .manifesto-motif img {
  filter: none;
}

html:not(.js) .site-footer--manifesto {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .hero-slide img,
  .hero-slide video,
  .scroll-hint::before,
  .hero-h1 span,
  .hero-meta,
  .hero-card-inner {
    animation: none !important;
    transition: none !important;
  }

  .scroll-hint {
    display: none;
  }

  .manifesto {
    height: auto !important;
  }

  .manifesto-pin {
    position: static !important;
    height: auto !important;
    padding-top: var(--section-space-small);
    padding-bottom: var(--section-space-small);
  }

  .manifesto-cream,
  .manifesto-progress {
    display: none;
  }

  .manifesto-line {
    color: #fff !important;
  }

  .manifesto-intro {
    color: rgba(255, 255, 255, 0.7) !important;
  }

  .manifesto-motif img {
    filter: none !important;
  }

  .manifesto-grid {
    transform: none !important;
  }

  .site-footer--manifesto {
    opacity: 1 !important;
    transform: none !important;
  }
}


