:root {
  --ink: #212121;
  --near-black: #0f0e12;
  --paper: #edece8;
  --light-cream: #f7f6f3;
  --very-light-gray: #ecebe7;
  --medium-gray: #7f7a76;
  --white: #ffffff;
  --muted-white: rgba(255, 255, 255, 0.16);
  --header-radius: 18px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  background: var(--paper);
  color: var(--white);
  font-family: Everyday, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", sans-serif;
}

body {
  margin: 0;
  background: var(--paper);
  overscroll-behavior-y: none;
}

.mask-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 5;
  display: flex;
  height: 90px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 50px;
  opacity: 0;
  pointer-events: none;
}

.hero-mask.is-docked .mask-header {
  pointer-events: auto;
}

.mask-header__logo {
  display: block;
  text-decoration: none;
  align-self: center;
}

.mask-header__logo img {
  display: block;
  width: auto;
  height: 24px;
}

.menu-button {
  position: relative;
  display: grid;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  color: var(--near-black);
  background: transparent;
  cursor: pointer;
  align-self: center;
  place-items: center;
  transition: color 260ms ease;
}

.menu-button span {
  position: absolute;
  width: 22px;
  height: 1px;
  background: currentColor;
  transition:
    transform 320ms var(--ease-out),
    opacity 180ms ease;
}

.menu-button span:first-child {
  transform: translateY(-5px);
}

.menu-button span:nth-child(2) {
  transform: translateY(0);
}

.menu-button span:last-child {
  transform: translateY(5px);
}

.hero-mask:not(.is-open) .menu-button:hover span:first-child {
  transform: translateY(-6px);
}

.hero-mask:not(.is-open) .menu-button:hover span:last-child {
  transform: translateY(6px);
}

.hero-mask.is-open .menu-button span:first-child {
  transform: rotate(45deg);
}

.hero-mask.is-open .menu-button span:nth-child(2) {
  opacity: 0;
}

.hero-mask.is-open .menu-button span:last-child {
  transform: rotate(-45deg);
}

.menu-button:focus-visible,
.mask-header__logo:focus-visible {
  outline: 3px solid #1f73e0;
  outline-offset: 3px;
}

.hero-scroll {
  position: relative;
  height: 390svh;
  background: var(--paper);
}

.hero-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 32rem;
  background: var(--paper);
}

.hero-mask {
  position: fixed;
  top: 30px;
  right: 30px;
  left: 30px;
  z-index: 30;
  width: auto;
  height: calc(100vh - 60px);
  overflow: hidden;
  border: 0;
  border-radius: var(--header-radius);
  background: var(--near-black);
  box-shadow: 0 18px 48px rgba(15, 14, 18, 0.12);
  will-change: height;
  transition:
    border-radius 320ms ease,
    background-color 320ms ease,
    box-shadow 300ms ease;
}

.hero-mask.is-docked {
  border-radius: var(--header-radius);
  background-color: rgba(255, 255, 255, 0.3) !important;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: none;
  transition:
    height 720ms var(--ease-out),
    border-radius 320ms ease,
    background-color 320ms ease,
    box-shadow 300ms ease;
}

.hero-mask.is-docked:hover {
  background-color: var(--white) !important;
}

.hero-mask.is-docked:not(:hover):not(.is-open) .menu-button {
  color: var(--white);
}

.hero-mask.is-docked:hover .menu-button,
.hero-mask.is-open .menu-button {
  color: var(--near-black);
}

.hero-mask.is-open {
  width: auto !important;
  height: 50vh !important;
  border-radius: var(--header-radius) !important;
  background-color: var(--white) !important;
  box-shadow: none;
}

.mega-menu {
  position: absolute;
  top: 90px;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 4;
  display: grid;
  padding: 12px 50px 36px;
  color: var(--ink);
  visibility: hidden;
  pointer-events: none;
  grid-template-columns: minmax(0, 3fr) minmax(16rem, 1fr);
  gap: clamp(64px, 8vw, 144px);
}

.hero-mask.is-open .mega-menu {
  visibility: visible;
  pointer-events: auto;
}

.mega-menu__primary {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  flex-direction: column;
  justify-content: flex-start;
}

.menu-reveal {
  opacity: 0;
  transform: translate3d(-12px, -10px, 0);
  transition:
    opacity 360ms ease,
    transform 620ms var(--ease-out);
  transition-delay: 0ms;
  will-change: opacity, transform;
}

.hero-mask.is-open .menu-reveal {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition-delay: calc(180ms + (var(--menu-order) * 62ms));
}

.mega-menu__link {
  color: inherit;
  font-size: clamp(1.75rem, 2.6vw, 2.85rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-decoration: none;
  transition:
    color 220ms ease,
    opacity 360ms ease,
    transform 620ms var(--ease-out);
}

.mega-menu__link + .mega-menu__link {
  margin-top: clamp(0.25rem, 0.7vh, 0.55rem);
}

.mega-menu__link:hover,
.mega-menu__link:focus-visible {
  color: #c32d30;
}

.mega-menu__link:focus-visible,
.mega-project:focus-visible {
  outline: 2px solid #1f73e0;
  outline-offset: 4px;
}

.mega-menu__featured {
  min-width: 0;
  padding-left: clamp(24px, 2.5vw, 40px);
  border-left: 1px solid rgba(33, 33, 33, 0.14);
}

.mega-menu__eyebrow {
  margin: 0 0 0.8rem;
  color: var(--medium-gray);
  font-size: 0.6875rem;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.mega-menu__projects {
  display: grid;
  max-height: 32svh;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.mega-project {
  display: flex;
  min-width: 0;
  padding: 0.7rem 0 0.8rem;
  border-bottom: 1px solid rgba(33, 33, 33, 0.14);
  color: inherit;
  flex-direction: column;
  text-decoration: none;
  transition:
    color 220ms ease,
    opacity 360ms ease,
    transform 620ms var(--ease-out);
}

.mega-project:first-child {
  border-top: 1px solid rgba(33, 33, 33, 0.14);
}

.mega-project:hover,
.mega-project:focus-visible {
  color: #c32d30;
}

.mega-project__title {
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.mega-project__description {
  max-width: 22rem;
  margin-top: 0.28rem;
  color: var(--medium-gray);
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.32;
}

.hero-video,
.video-wash {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video {
  z-index: 0;
  object-fit: cover;
  object-position: center;
  background: var(--near-black);
  transform: scale(1.002);
}

.video-wash {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08) 35%, rgba(0, 0, 0, 0.62) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.3) 0%, transparent 54%);
  pointer-events: none;
}

.video-wash::after {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.hero-copy {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  padding: 2rem;
  place-items: center;
}

.eyebrow {
  display: none;
}

.wordmark {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.34em;
  margin: 0;
  color: var(--white);
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.025em;
  text-wrap: nowrap;
}

.word,
.char {
  display: inline-block;
}

.char {
  color: var(--white);
  opacity: 0.16;
  text-shadow: 0 0 0 rgba(255, 255, 255, 0);
  will-change: opacity;
}

.model-slider {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 140svh;
  min-height: 38rem;
  margin-top: -100svh;
  overflow: visible;
  opacity: 0;
  color: var(--white);
  background: var(--paper);
  pointer-events: none;
  will-change: opacity;
}

.model-slider.is-visible {
  pointer-events: auto;
  cursor: none;
}

.model-slider__track {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100svh;
  overflow: hidden;
  clip-path: inset(0 round 0);
  background: var(--near-black);
  will-change: clip-path;
}

.model-slide,
.model-slide img,
.model-slide video,
.model-slide__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.model-slide {
  z-index: 0;
  overflow: hidden;
  transform: translate3d(100%, 0, 0);
  transition: transform 900ms var(--ease-out);
  will-change: transform;
}

.model-slide.is-active {
  z-index: 1;
}

.model-slide img,
.model-slide video {
  object-fit: cover;
  object-position: center;
}

.model-slide__shade {
  z-index: 3;
  background:
    linear-gradient(180deg, rgba(15, 14, 18, 0.32) 0%, rgba(15, 14, 18, 0.05) 36%, rgba(15, 14, 18, 0.66) 100%),
    linear-gradient(90deg, rgba(15, 14, 18, 0.16) 0%, transparent 60%);
  pointer-events: none;
}

.model-slider__intro {
  position: absolute;
  top: clamp(9.75rem, 20vh, 14rem);
  left: 50%;
  z-index: 5;
  width: min(36rem, calc(100% - 3rem));
  color: var(--white);
  font-family: Everyday, "KP Spatial Trial", system-ui, sans-serif, -apple-system,
    BlinkMacSystemFont, "Segoe UI";
  text-align: center;
  transform: translateX(-50%);
}

.model-slider__intro h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 3.3vw, 2.75rem);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -0.03em;
}

.model-slider__intro p {
  max-width: 32rem;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: -0.02em;
}

.model-tabs {
  position: absolute;
  bottom: clamp(1.75rem, 4vw, 3.75rem);
  left: 50%;
  z-index: 6;
  display: grid;
  width: min(72rem, calc(100% - 5rem));
  grid-template-columns: repeat(var(--model-count, 3), minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 2.25rem);
  font-family: Everyday, "KP Spatial Trial", system-ui, sans-serif, -apple-system,
    BlinkMacSystemFont, "Segoe UI";
  transform: translateX(-50%);
}

.model-tab {
  position: relative;
  display: grid;
  min-height: 0;
  padding: 0 0 0.75rem;
  border: 0;
  color: rgba(255, 255, 255, 0.55);
  background: transparent;
  font: inherit;
  text-align: left;
  grid-template-rows: auto auto;
  align-content: start;
  gap: 0.3rem;
  cursor: pointer;
  transition: color 260ms ease;
}

.model-tab:hover,
.model-tab.is-active {
  color: var(--white);
}

.model-tab:focus-visible,
.slider-mobile-controls button:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 8px;
}

.model-tab__title {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.1875;
  letter-spacing: 0;
}

.model-tab__description {
  max-width: 18rem;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0;
}

.model-tab__progress {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.24);
}

.model-tab__progress::after {
  position: absolute;
  inset: 0;
  content: "";
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left;
}

.model-tab.is-active .model-tab__progress::after {
  animation: model-tab-progress 7s linear forwards;
}

@keyframes model-tab-progress {
  to {
    transform: scaleX(1);
  }
}

.slider-zone {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 3;
  width: 50%;
  padding: 0;
  border: 0;
  background: transparent;
  pointer-events: none;
}

.slider-zone--previous {
  left: 0;
}

.slider-zone--next {
  right: 0;
}

.slider-cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  display: grid;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  opacity: 0;
  color: var(--white);
  background: #c32d30;
  transform: translate3d(-50%, -50%, 0) scale(0.65);
  transition:
    opacity 150ms ease,
    transform 220ms var(--ease-out);
  place-items: center;
  pointer-events: none;
}

.slider-cursor.is-visible {
  opacity: 1;
  transform: translate3d(-50%, -50%, 0) scale(1);
}

.slider-cursor__arrow {
  position: relative;
  display: block;
  width: 20px;
  height: 14px;
  font-size: 0;
  transform: scaleX(1);
  transition: transform 160ms ease;
}

.slider-cursor__arrow::before {
  position: absolute;
  top: 50%;
  right: 0;
  width: 20px;
  height: 1px;
  background: currentColor;
  content: "";
  transform: translateY(-50%);
}

.slider-cursor__arrow::after {
  position: absolute;
  top: 50%;
  right: 1px;
  width: 7px;
  height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.slider-cursor__arrow.is-previous {
  transform: scaleX(-1);
}

.slider-mobile-controls {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 6;
  display: none;
  gap: 0.5rem;
}

.slider-mobile-controls button {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: var(--paper);
  font-size: 1.25rem;
}

.journey-section {
  position: relative;
  z-index: 3;
  display: flex;
  height: auto;
  min-height: 100svh;
  padding: 150px max(40px, calc((100% - 90rem) / 2)) 80px;
  color: var(--ink);
  background: var(--paper);
  font-family: Everyday, "KP Spatial Trial", system-ui, sans-serif, -apple-system,
    BlinkMacSystemFont, "Segoe UI";
  flex-direction: column;
  gap: clamp(72px, 6vw, 104px);
  align-items: center;
  justify-content: center;
}

.journey-section__intro {
  display: block;
  width: 100%;
  padding: 0;
}

.journey-section__intro p {
  max-width: 68rem;
  margin: 0 auto;
  font-size: clamp(1.5rem, 2vw, 2rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0;
  text-align: center;
  text-wrap: balance;
  white-space: normal;
}

.journey-word {
  opacity: 0.16;
  will-change: opacity;
}

.journey-section__content {
  width: 100%;
  max-width: 90rem;
  margin: 0;
  padding-bottom: 0;
}

.journey-section__content h2 {
  margin: 0 0 1.5rem;
  opacity: 0.16;
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1.625rem;
  letter-spacing: 0;
  text-align: center;
  will-change: opacity;
}

.journey-section__description {
  max-width: 46rem;
  margin: 0 auto 3rem;
  opacity: 0.16;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.25rem;
  letter-spacing: 0;
  text-align: center;
  text-wrap: balance;
  will-change: opacity;
}

.journey-metrics {
  position: relative;
  display: grid;
  width: 75%;
  margin: 0 auto;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 1.5vw, 24px);
}

.journey-metric {
  --metric-image: none;

  position: relative;
  display: flex;
  min-height: 0;
  overflow: hidden;
  padding: 1.5rem;
  border-radius: 6px;
  aspect-ratio: 1;
  opacity: 0.16;
  background: var(--light-cream);
  flex-direction: column;
  will-change: opacity;
}

.journey-metric:nth-child(1) {
  --metric-image: url("assets/slider-model-01.jpg");
}

.journey-metric:nth-child(2) {
  --metric-image: url("assets/slider-livia-50.jpg");
}

.journey-metric:nth-child(3) {
  --metric-image: url("assets/still-01.jpg");
}

.journey-metric:nth-child(4) {
  --metric-image: url("assets/slider-sarp-85.jpg");
}

.journey-metric::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  opacity: 0;
  background-image:
    linear-gradient(180deg, rgba(15, 14, 18, 0.18), rgba(15, 14, 18, 0.76)),
    var(--metric-image);
  background-position: center;
  background-size: cover;
  content: "";
  transition: opacity 360ms ease;
  pointer-events: none;
}

.journey-metric:hover::before {
  opacity: 1;
}

.journey-metric dd,
.journey-metric dt {
  position: relative;
  z-index: 1;
  margin: 0;
  transition: color 260ms ease;
}

.journey-metric dd {
  font-size: 2.75rem;
  font-weight: 500;
  line-height: 3.1875rem;
  letter-spacing: 0;
}

.journey-metric dt {
  max-width: 15rem;
  margin-top: auto;
  color: var(--medium-gray);
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 0.9375rem;
  letter-spacing: 0;
}

.journey-metric:hover dd,
.journey-metric:hover dt {
  color: var(--white);
}

.news-section {
  position: relative;
  z-index: 3;
  padding: 144px 0 160px;
  color: var(--ink);
  background: var(--paper);
  font-family: Everyday, "KP Spatial Trial", system-ui, sans-serif, -apple-system,
    BlinkMacSystemFont, "Segoe UI";
}

.news-section__inner {
  width: min(90rem, calc(100% - 5rem));
  margin-inline: auto;
}

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

.news-section__header p {
  margin: 0 0 0.4rem;
  color: var(--medium-gray);
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.news-section__header h2 {
  margin: 0;
  font-size: clamp(2.75rem, 5vw, 5.5rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.04em;
}

.news-list {
  --news-highlight-height: 0px;
  --news-highlight-y: 0px;

  position: relative;
  isolation: isolate;
}

.news-list::before {
  position: absolute;
  top: 0;
  right: -24px;
  left: -24px;
  height: 1px;
  z-index: 2;
  background: rgba(33, 33, 33, 0.18);
  content: "";
  transition: opacity 280ms ease;
  pointer-events: none;
}

.news-list:has(.news-row:first-of-type:hover)::before,
.news-list:has(.news-row:first-of-type:focus-visible)::before {
  opacity: 0;
}

.news-hover-shape {
  position: absolute;
  top: 0;
  right: -24px;
  left: -24px;
  z-index: 0;
  display: block;
  height: var(--news-highlight-height);
  border-radius: var(--header-radius);
  opacity: 0;
  background: var(--white);
  transform: translate3d(0, var(--news-highlight-y), 0);
  transition:
    transform 520ms var(--ease-out),
    height 520ms var(--ease-out),
    opacity 180ms ease;
  pointer-events: none;
  will-change: transform, height;
}

.news-list.has-active-row .news-hover-shape {
  opacity: 1;
}

.news-list.is-positioning .news-hover-shape {
  transition: none;
}

.news-row {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 15rem;
  margin-inline: -24px;
  padding: 32px 24px;
  border-bottom: 1px solid rgba(33, 33, 33, 0.18);
  color: inherit;
  text-decoration: none;
  grid-template-columns: minmax(9rem, 0.52fr) minmax(0, 1.7fr) 3.25rem;
  column-gap: clamp(32px, 5vw, 88px);
  transition:
    color 280ms ease,
    background-color 280ms ease,
    border-color 280ms ease;
}

.news-row:hover,
.news-row:focus-visible {
  border-bottom-color: transparent;
  color: inherit;
  background: transparent;
}

.news-row:has(+ .news-row:hover),
.news-row:has(+ .news-row:focus-visible) {
  border-bottom-color: transparent;
}

.news-row:focus-visible {
  outline: 3px solid #1f73e0;
  outline-offset: -3px;
}

.news-row__meta {
  display: flex;
  color: var(--medium-gray);
  font-size: 0.6875rem;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  flex-direction: column;
  gap: 0.2rem;
  transition: color 280ms ease;
}

.news-row__content {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.news-row__content h3 {
  max-width: 52rem;
  margin: 0;
  font-size: clamp(1.25rem, 1.6vw, 1.75rem);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.news-row__content p {
  max-width: 46rem;
  margin: 0.75rem 0 0;
  color: var(--medium-gray);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.35;
  transition: color 280ms ease;
}

.news-row__arrow {
  display: grid;
  width: 3.25rem;
  height: 3.25rem;
  border: 1px solid rgba(33, 33, 33, 0.24);
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: 300;
  align-self: end;
  transition:
    color 280ms ease,
    border-color 280ms ease,
    background-color 280ms ease,
    transform 280ms var(--ease-out);
  place-items: center;
}

.news-row:hover .news-row__arrow,
.news-row:focus-visible .news-row__arrow {
  border-color: #c32d30;
  color: var(--white);
  background: #c32d30;
  transform: translate(3px, -3px);
}

.site-footer {
  --footer-inset: 30px;
  --footer-radius: 23px;

  position: relative;
  z-index: 4;
  overflow: hidden;
  margin: 0 var(--footer-inset) var(--footer-inset);
  border-radius: var(--footer-radius);
  color: #2d000d;
  background: #f3f3f3;
  font-family: Everyday, "KP Spatial Trial", system-ui, sans-serif, -apple-system,
    BlinkMacSystemFont, "Segoe UI";
  will-change: margin, border-radius;
}

.site-footer__inner {
  width: min(72rem, calc(100% - 5rem));
  margin: 0 auto;
  padding: 96px 0 64px;
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 96px;
}

.site-footer__brand {
  display: inline-block;
  width: fit-content;
  align-self: start;
}

.site-footer__brand img {
  display: block;
  width: auto;
  height: 48px;
}

.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.site-footer__nav > div {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 12px;
}

.site-footer a {
  color: #2d000d;
  text-decoration: none;
}

.site-footer :where(a, p, span) {
  color: #2d000d;
  text-shadow: none;
  filter: none;
  mix-blend-mode: normal;
  opacity: 1;
  transition: none;
  transform: none;
}

.site-footer a:focus-visible {
  border-radius: 2px;
  outline: 3px solid var(--white);
  outline-offset: 4px;
}

.site-footer__nav a {
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1.625rem;
}

.site-footer__nav .site-footer__legal {
  gap: 8px;
}

.site-footer__nav .site-footer__legal a {
  color: #2d000d;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 0.9375rem;
}

.site-footer__offices {
  display: grid;
  margin-top: 128px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.site-footer__offices address {
  margin: 0;
  font-style: normal;
}

.site-footer__offices span {
  display: block;
  margin-bottom: 16px;
  color: #2d000d;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 0.9375rem;
  text-shadow: none;
  filter: none;
  opacity: 1;
  transition: none;
  transform: none;
}

.site-footer__offices p {
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5rem;
}

.site-footer__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-top: 96px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  color: #2d000d;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 0.9375rem;
}

.site-footer__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.no-script {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 50;
  margin: 0;
  padding: 1rem;
  color: var(--ink);
  background: var(--white);
}

@media (max-width: 1023px) {
  .mega-menu {
    gap: 48px;
    grid-template-columns: minmax(0, 3fr) minmax(15rem, 1fr);
  }

  .journey-section {
    min-height: 100svh;
    padding: 150px 32px 56px;
    gap: 72px;
  }

  .journey-section__content {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
  }

  .journey-section__intro {
    padding-top: 0;
  }

  .journey-section__intro p {
    text-wrap: balance;
    white-space: normal;
  }

  .journey-metrics {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-section {
    padding: 112px 0 128px;
  }

  .news-section__header {
    margin-bottom: 56px;
  }

  .news-list::before {
    right: -16px;
    left: -16px;
  }

  .news-hover-shape {
    right: -16px;
    left: -16px;
  }

  .news-row {
    min-height: 14rem;
    margin-inline: -16px;
    padding: 28px 16px;
    grid-template-columns: minmax(7.5rem, 0.45fr) minmax(0, 1.55fr) 3rem;
    column-gap: 24px;
  }

  .news-row__arrow {
    width: 3rem;
    height: 3rem;
  }

  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .site-footer__offices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 48px;
  }
}

@media (max-width: 639px) {
  .hero-mask.is-open {
    height: calc(100svh - 60px) !important;
  }

  .mega-menu {
    top: 90px;
    overflow-y: auto;
    padding: 12px 20px 28px;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .mega-menu__primary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem 1.25rem;
  }

  .mega-menu__link {
    font-size: clamp(1.6rem, 8vw, 2.2rem);
  }

  .mega-menu__link + .mega-menu__link {
    margin-top: 0;
  }

  .mega-menu__featured {
    padding-top: 20px;
    padding-left: 0;
    border-top: 1px solid rgba(33, 33, 33, 0.14);
    border-left: 0;
  }

  .mega-menu__projects {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .mega-project,
  .mega-project:first-child {
    padding: 0.65rem 0;
    border-top: 1px solid rgba(33, 33, 33, 0.14);
  }

  .mega-project__description {
    font-size: 0.6875rem;
  }

  .hero-scroll {
    height: 345svh;
  }

  .hero-stage {
    min-height: 28rem;
  }

  .hero-video {
    object-position: 52% center;
  }

  .hero-copy {
    padding: 1rem;
  }

  .wordmark {
    gap: 0.3em;
    font-size: clamp(1rem, 4.8vw, 1.3rem);
    letter-spacing: -0.02em;
  }

  .model-slider__intro {
    top: 8.75rem;
    width: calc(100% - 2rem);
  }

  .model-slider__intro h2 {
    font-size: 1.75rem;
    line-height: 1.16;
  }

  .model-tabs {
    right: 0;
    bottom: 1rem;
    left: 1rem;
    width: auto;
    overflow-x: auto;
    grid-auto-columns: min(72vw, 19rem);
    grid-auto-flow: column;
    grid-template-columns: none;
    gap: 1rem;
    transform: none;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
  }

  .model-tabs::-webkit-scrollbar {
    display: none;
  }

  .model-tab {
    scroll-snap-align: start;
  }

  .slider-zone,
  .slider-cursor {
    display: none;
  }

  .journey-section {
    padding: 130px 16px 48px;
    gap: 56px;
  }

  .journey-section__intro {
    min-height: 0;
    padding: 0;
  }

  .journey-section__intro p {
    max-width: 30rem;
    font-size: 1.5rem;
    line-height: 1.8125rem;
  }

  .journey-section__content {
    margin-top: 0;
  }

  .journey-section__content h2 {
    margin-bottom: 1.5rem;
  }

  .journey-section__description {
    margin-bottom: 3rem;
  }

  .journey-metrics {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .journey-metric {
    min-height: 0;
    padding: 1.25rem 1rem 1rem;
    border-radius: 5px;
  }

  .journey-metric dd {
    font-size: 2rem;
    line-height: 2.3125rem;
  }

  .journey-metric dt {
    margin-top: auto;
  }

  .news-section {
    padding: 80px 0 96px;
  }

  .news-section__inner {
    width: calc(100% - 32px);
  }

  .news-section__header {
    align-items: flex-start;
    margin-bottom: 48px;
    flex-direction: column;
    gap: 10px;
  }

  .news-section__header h2 {
    font-size: 3.25rem;
  }

  .news-list::before {
    right: 0;
    left: 0;
  }

  .news-hover-shape {
    right: 0;
    left: 0;
  }

  .news-row {
    min-height: 0;
    margin-inline: 0;
    padding: 28px 0;
    grid-template-columns: minmax(0, 1fr) 2.75rem;
    column-gap: 16px;
    row-gap: 28px;
  }

  .news-row__meta {
    grid-column: 1;
    grid-row: 1;
  }

  .news-row__content {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .news-row__content h3 {
    font-size: 1.25rem;
    line-height: 1.2;
  }

  .news-row__content p {
    font-size: 0.8125rem;
  }

  .news-row__arrow {
    width: 44px;
    height: 44px;
    grid-column: 2;
    grid-row: 1;
    align-self: start;
  }

  .site-footer__inner {
    width: calc(100% - 32px);
    padding: 80px 0 48px;
  }

  .site-footer__brand img {
    height: 36px;
  }

  .site-footer__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 48px;
  }

  .site-footer__legal {
    grid-column: 1 / -1;
  }

  .site-footer__offices {
    margin-top: 80px;
    grid-template-columns: 1fr;
  }

  .site-footer__bottom {
    align-items: flex-start;
    margin-top: 64px;
    flex-direction: column;
  }

}

@media (prefers-reduced-motion: reduce) {
  .hero-scroll {
    height: 100svh;
  }

  .char {
    opacity: 1 !important;
    text-shadow: none !important;
  }

  .journey-word {
    opacity: 1 !important;
  }

  .journey-section__content h2 {
    opacity: 1 !important;
  }

  .journey-section__description {
    opacity: 1 !important;
  }

  .journey-metric {
    opacity: 1 !important;
  }

  .eyebrow {
    display: none;
  }

  .hero-mask {
    transition: none;
  }

  .model-slider {
    height: 100svh;
    margin-top: 0;
    opacity: 1 !important;
    pointer-events: auto;
  }

  .model-slider__track {
    position: relative;
    top: auto;
    clip-path: inset(15px round 23px) !important;
  }

  .model-slide,
  .slider-cursor {
    transition: none;
  }

  .news-row,
  .news-row__meta,
  .news-row__content p,
  .news-row__arrow,
  .news-hover-shape,
  .menu-reveal {
    transition: none;
  }

  .site-footer {
    --footer-inset: 0px !important;
    --footer-radius: 0px !important;
  }

  .model-tab.is-active .model-tab__progress::after {
    animation: none;
    transform: scaleX(1);
  }

}
