/* Global foundation */
* {
  box-sizing: border-box;
}

html {
  background: #0c0e12;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #0c0e12;
  color: #f2eee7;
  font-family: Inter, Arial, sans-serif;
}

/* Hero: a single full-screen opening frame for the documentary. */
.hero {
  position: relative;
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  align-items: flex-end;
  padding: clamp(2rem, 6vw, 6rem);
}

/* The image fills the frame without affecting the position of the text. */
.hero__image,
.hero__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image {
  z-index: 0;
  object-fit: cover;
  object-position: center;
  transform: translate3d(0, var(--hero-parallax, 0px), 0) scale(1.045);
  will-change: transform;
}

/* A layered overlay keeps the image visible while protecting text contrast. */
.hero__overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7, 9, 12, 0.82) 0%, rgba(7, 9, 12, 0.36) 68%, rgba(7, 9, 12, 0.46) 100%),
    linear-gradient(0deg, rgba(7, 9, 12, 0.88) 0%, rgba(7, 9, 12, 0.08) 62%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 58rem;
  animation: hero-enter 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero__identity {
  margin-bottom: clamp(2.25rem, 5vw, 4rem);
}

.hero__name,
.hero__role,
.hero__institution {
  margin: 0;
}

/* A quiet introduction gives the documentary a clear subject. */
.hero__name {
  color: #f2eee7;
  font-family: "Space Mono", "Courier New", monospace;
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero__role,
.hero__institution {
  color: rgba(242, 238, 231, 0.75);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.hero__role {
  margin-top: 0.7rem;
}

.hero__eyebrow {
  margin: 0 0 1.25rem;
  color: #d5d9c6;
  font-family: "Space Mono", "Courier New", monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero__headline {
  max-width: 48rem;
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(4.25rem, 10vw, 9.5rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.82;
}

.hero__headline-line {
  display: block;
}

.hero__subheadline {
  max-width: 37rem;
  margin: clamp(1.75rem, 4vw, 3rem) 0 0;
  color: rgba(242, 238, 231, 0.86);
  font-size: clamp(1rem, 1.5vw, 1.1875rem);
  line-height: 1.65;
}

.hero__scroll-indicator {
  position: absolute;
  z-index: 2;
  right: clamp(2rem, 6vw, 6rem);
  bottom: clamp(2rem, 6vw, 4rem);
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin: 0;
  color: rgba(242, 238, 231, 0.75);
  font-family: "Space Mono", "Courier New", monospace;
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: hero-enter 1.1s 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero__scroll-arrow {
  font-size: 1rem;
}

/* One quiet entrance is enough; ongoing movement would distract from the image. */
@keyframes hero-enter {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Respect visitors who choose to reduce motion in their system settings. */
@media (prefers-reduced-motion: reduce) {
  .hero__content,
  .hero__scroll-indicator {
    animation: none;
  }
}

@media (max-width: 700px) {
  .hero {
    align-items: center;
    padding: 2rem 1.5rem 5rem;
  }

  .hero__overlay {
    background:
      linear-gradient(90deg, rgba(7, 9, 12, 0.72), rgba(7, 9, 12, 0.3)),
      linear-gradient(0deg, rgba(7, 9, 12, 0.82), rgba(7, 9, 12, 0.15));
  }

  .hero__scroll-indicator {
    right: auto;
    bottom: 1.75rem;
    left: 1.5rem;
  }
}

/* Becoming: the quiet interior chapter after the mountain-led opening frame. */
.becoming {
  padding: clamp(7rem, 16vw, 14rem) clamp(1.5rem, 8vw, 8rem) clamp(5rem, 10vw, 9rem);
  background: #0c0e12;
}

.becoming__layout {
  display: grid;
  max-width: 88rem;
  margin: 0 auto;
  grid-template-columns: minmax(12rem, 0.78fr) minmax(20rem, 1.22fr);
  gap: clamp(3rem, 10vw, 12rem);
  align-items: start;
}

.becoming__title {
  margin: 0;
  color: #f2eee7;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3.5rem, 6.5vw, 7rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.86;
}

.becoming__copy {
  max-width: 43rem;
}

.becoming__paragraph {
  margin: 0;
  color: rgba(242, 238, 231, 0.8);
  font-size: clamp(1.1rem, 1.65vw, 1.4rem);
  line-height: 1.65;
}

.becoming__paragraph + .becoming__paragraph {
  margin-top: clamp(2rem, 4vw, 3.5rem);
}

/* The first reflection leads; later paragraphs become progressively quieter. */
.becoming__paragraph--1 {
  color: #f2eee7;
  font-size: clamp(1.35rem, 2.25vw, 1.85rem);
  line-height: 1.5;
}

.becoming__paragraph--3 {
  max-width: 37rem;
  color: rgba(242, 238, 231, 0.67);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
}

.becoming em {
  color: #d5d9c6;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.1em;
  font-style: italic;
}

.becoming__transition {
  max-width: 88rem;
  margin: clamp(6rem, 13vw, 12rem) auto 0;
  color: rgba(242, 238, 231, 0.5);
  font-family: "Space Mono", "Courier New", monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Text settles in once; each image uses its own quieter scale reveal below. */
[data-reveal] {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

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

[data-reveal-image] {
  opacity: 0;
  transform: scale(1.035);
  transition: opacity 0.9s ease, transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal-image].is-visible {
  opacity: 1;
  transform: scale(1);
}

.reveal--delay-1 {
  transition-delay: 0.12s;
}

.reveal--delay-2 {
  transition-delay: 0.2s;
}

@media (max-width: 700px) {
  .becoming {
    padding: 6rem 1.5rem 5rem;
  }

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

  .becoming__title {
    max-width: 8ch;
  }
}

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

  .hero__image {
    transform: none;
    will-change: auto;
  }

  [data-reveal],
  [data-reveal-image] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Journey: a record of moments moving from the familiar toward the present. */
.journey {
  padding: clamp(6rem, 13vw, 12rem) clamp(1.5rem, 8vw, 8rem) clamp(8rem, 15vw, 14rem);
  background: #0c0e12;
}

.journey__header {
  max-width: 88rem;
  margin: 0 auto clamp(5rem, 10vw, 9rem);
}

.journey__label,
.journey__date,
.journey__category {
  margin: 0;
  font-family: "Space Mono", "Courier New", monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.journey__label {
  color: #d5d9c6;
}

.journey__introduction {
  max-width: 39rem;
  margin: 1.4rem 0 0;
  color: #f2eee7;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 3.8vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.96;
}

.journey__timeline {
  position: relative;
  max-width: 88rem;
  margin: 0 auto;
}

/* A quiet line connects the events without turning the section into a progress bar. */
.journey__timeline::before {
  position: absolute;
  top: 0.4rem;
  bottom: 5rem;
  left: 50%;
  width: 1px;
  background: linear-gradient(
    to bottom,
    rgba(213, 217, 198, 0.16),
    rgba(213, 217, 198, 0.34) 70%,
    rgba(213, 217, 198, 0)
  );
  content: "";
  z-index: 0;
}

/* This line grows with a scroll-linked CSS custom property set in script.js. */
.journey__timeline::after {
  position: absolute;
  z-index: 0;
  top: 0.4rem;
  bottom: 5rem;
  left: 50%;
  width: 1px;
  background: linear-gradient(
    to bottom,
    rgba(213, 217, 198, 0.38),
    rgba(213, 217, 198, 0.78) 70%,
    rgba(213, 217, 198, 0.12)
  );
  content: "";
  transform: scaleY(var(--timeline-progress, 0));
  transform-origin: top;
  transition: transform 0.08s linear;
}

.journey__milestone {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 5rem minmax(0, 1fr);
  min-height: 22rem;
  padding-bottom: clamp(5rem, 10vw, 10rem);
}

.journey__content {
  max-width: 34rem;
}

.journey__milestone--left .journey__content {
  grid-column: 1;
  justify-self: end;
}

.journey__milestone--right .journey__content {
  grid-column: 3;
  justify-self: start;
}

.journey__marker {
  position: absolute;
  top: 0.3rem;
  left: 50%;
  width: 0.625rem;
  height: 0.625rem;
  border: 1px solid rgba(213, 217, 198, 0.7);
  border-radius: 50%;
  background: #0c0e12;
  transform: translateX(-50%);
  transition:
    background-color 0.45s ease,
    border-color 0.45s ease,
    box-shadow 0.45s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.journey__milestone.is-active .journey__marker {
  border-color: #d5d9c6;
  background: #d5d9c6;
  box-shadow: 0 0 0 0.3rem rgba(213, 217, 198, 0.08);
  transform: translateX(-50%) scale(1.22);
}

.journey__meta {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1.4rem;
}

.journey__date {
  color: #d5d9c6;
}

.journey__category {
  color: rgba(242, 238, 231, 0.45);
}

.journey__category::before {
  margin-right: 0.75rem;
  color: rgba(242, 238, 231, 0.35);
  content: "·";
}

.journey__title {
  margin: 0;
  color: #f2eee7;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.4rem, 4.25vw, 4.5rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.9;
}

.journey__description {
  max-width: 31rem;
  margin: 1.25rem 0 0;
  color: rgba(242, 238, 231, 0.7);
  font-size: 1rem;
  line-height: 1.65;
}

.journey__figure {
  margin: clamp(1.75rem, 3vw, 2.5rem) 0 0;
  overflow: hidden;
}

/* Full-width images are part of the story, not thumbnails inside a card. */
.journey__image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.78) contrast(0.92) brightness(0.82);
}

.journey__milestone--present {
  min-height: 18rem;
  padding-bottom: 0;
}

.journey__milestone--present .journey__marker {
  width: 0.875rem;
  height: 0.875rem;
  border-color: #d5d9c6;
  box-shadow: 0 0 0 0.3rem rgba(213, 217, 198, 0.07);
}

.journey__milestone--present .journey__title {
  color: #d5d9c6;
}

@media (max-width: 700px) {
  .journey {
    padding: 6rem 1.5rem 7rem;
  }

  .journey__header {
    margin-bottom: 4rem;
  }

  .journey__timeline::before {
    top: 0.3rem;
    bottom: 3rem;
    left: 0.3rem;
  }

  .journey__timeline::after {
    top: 0.3rem;
    bottom: 3rem;
    left: 0.3rem;
  }

  .journey__milestone {
    display: block;
    min-height: 0;
    padding: 0 0 4.5rem 2.25rem;
  }

  .journey__milestone--present {
    padding-bottom: 0;
  }

  .journey__milestone--left .journey__content,
  .journey__milestone--right .journey__content {
    max-width: none;
  }

  .journey__marker {
    top: 0.25rem;
    left: 0.3rem;
  }

  .journey__title {
    font-size: clamp(2.3rem, 11vw, 3.25rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .journey__timeline::after {
    transform: scaleY(1);
    transition: none;
  }

  .journey__marker {
    transition: none;
  }
}

/* Learning: an open list of directions, rather than a claim of finished expertise. */
.learning {
  padding: clamp(7rem, 15vw, 13rem) clamp(1.5rem, 8vw, 8rem);
  background: #0c0e12;
}

.learning__layout {
  display: grid;
  max-width: 88rem;
  margin: 0 auto;
  grid-template-columns: minmax(12rem, 0.78fr) minmax(22rem, 1.22fr);
  gap: clamp(3rem, 10vw, 12rem);
  align-items: start;
}

.learning__title {
  margin: 0;
  color: #f2eee7;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3.5rem, 6.5vw, 7rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.86;
}

.learning__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* The thin dividers guide the eye without turning each pillar into a card. */
.learning__pillar {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: clamp(2rem, 4vw, 3.5rem) 0;
  border-top: 1px solid rgba(242, 238, 231, 0.12);
}

.learning__pillar:last-child {
  border-bottom: 1px solid rgba(242, 238, 231, 0.12);
}

.learning__number {
  padding-top: 0.45rem;
  color: #d5d9c6;
  font-family: "Space Mono", "Courier New", monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
}

.learning__pillar-title {
  margin: 0;
  color: #f2eee7;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.25rem, 4vw, 4.25rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.92;
}

.learning__pillar-description {
  max-width: 33rem;
  margin: 1rem 0 0;
  color: rgba(242, 238, 231, 0.7);
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.65;
}

@media (max-width: 700px) {
  .learning {
    padding: 6rem 1.5rem;
  }

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

  .learning__title {
    max-width: 8ch;
  }

  .learning__pillar {
    grid-template-columns: 2.5rem minmax(0, 1fr);
  }
}

/* Building vision: future-facing themes with the same measured timeline rhythm. */
.building-vision {
  padding: clamp(7rem, 15vw, 13rem) clamp(1.5rem, 8vw, 8rem) clamp(9rem, 17vw, 15rem);
  background: #0c0e12;
}

.building-vision__layout {
  display: grid;
  max-width: 88rem;
  margin: 0 auto;
  grid-template-columns: minmax(12rem, 0.78fr) minmax(22rem, 1.22fr);
  gap: clamp(3rem, 10vw, 12rem);
  align-items: start;
}

.building-vision__header {
  max-width: 27rem;
}

.building-vision__title {
  margin: 0;
  color: #f2eee7;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3.5rem, 6.5vw, 7rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.86;
}

.building-vision__introduction {
  margin: 2rem 0 0;
  color: rgba(242, 238, 231, 0.7);
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.65;
}

.building-vision__themes {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.building-vision__themes::before {
  position: absolute;
  top: 0.45rem;
  bottom: 0.45rem;
  left: 0.3rem;
  width: 1px;
  background: linear-gradient(
    to bottom,
    rgba(213, 217, 198, 0.35),
    rgba(213, 217, 198, 0.12)
  );
  content: "";
}

.building-vision__theme {
  position: relative;
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: 0 0 clamp(4rem, 8vw, 7rem);
}

.building-vision__theme:last-child {
  padding-bottom: 0;
}

.building-vision__number {
  position: relative;
  z-index: 1;
  padding-top: 0.1rem;
  color: #d5d9c6;
  font-family: "Space Mono", "Courier New", monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
}

.building-vision__number::before {
  position: absolute;
  top: 0.35rem;
  left: 0;
  width: 0.625rem;
  height: 0.625rem;
  border: 1px solid rgba(213, 217, 198, 0.75);
  border-radius: 50%;
  background: #0c0e12;
  content: "";
  transform: translateX(-0.03rem);
}

.building-vision__number {
  padding-left: 1.5rem;
}

.building-vision__theme-title {
  max-width: 34rem;
  margin: 0;
  color: #f2eee7;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.6rem, 4.6vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.9;
}

.building-vision__theme-description {
  max-width: 32rem;
  margin: 1.25rem 0 0;
  color: rgba(242, 238, 231, 0.7);
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.65;
}

@media (max-width: 700px) {
  .building-vision {
    padding: 6rem 1.5rem 8rem;
  }

  .building-vision__layout {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .building-vision__title {
    max-width: 8ch;
  }

  .building-vision__theme {
    grid-template-columns: 3.25rem minmax(0, 1fr);
  }
}

/* Things tried: a record of attempts, marked by evidence rather than claims. */
.things-tried {
  padding: clamp(7rem, 15vw, 13rem) clamp(1.5rem, 8vw, 8rem) clamp(9rem, 17vw, 15rem);
  background: #0c0e12;
}

.things-tried__layout {
  display: grid;
  max-width: 88rem;
  margin: 0 auto;
  grid-template-columns: minmax(12rem, 0.78fr) minmax(22rem, 1.22fr);
  gap: clamp(3rem, 10vw, 12rem);
  align-items: start;
}

.things-tried__header {
  max-width: 27rem;
}

.things-tried__title {
  margin: 0;
  color: #f2eee7;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3.5rem, 6.5vw, 7rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.86;
}

.things-tried__introduction {
  margin: 2rem 0 0;
  color: rgba(242, 238, 231, 0.7);
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.65;
}

.things-tried__entries {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.things-tried__entries::before {
  position: absolute;
  top: 0.5rem;
  bottom: 0.5rem;
  left: 0.3rem;
  width: 1px;
  background: linear-gradient(
    to bottom,
    rgba(213, 217, 198, 0.35),
    rgba(213, 217, 198, 0.12)
  );
  content: "";
}

/* Separators preserve a magazine-like rhythm without becoming card borders. */
.things-tried__entry {
  position: relative;
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: 0 0 clamp(4rem, 8vw, 7rem);
}

.things-tried__entry + .things-tried__entry {
  padding-top: clamp(2.5rem, 5vw, 4.5rem);
  border-top: 1px solid rgba(242, 238, 231, 0.12);
}

.things-tried__entry:last-child {
  padding-bottom: 0;
}

.things-tried__number {
  position: relative;
  z-index: 1;
  padding: 0.1rem 0 0 1.5rem;
  color: #d5d9c6;
  font-family: "Space Mono", "Courier New", monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
}

.things-tried__number::before {
  position: absolute;
  top: 0.35rem;
  left: 0;
  width: 0.625rem;
  height: 0.625rem;
  border: 1px solid rgba(213, 217, 198, 0.75);
  border-radius: 50%;
  background: #0c0e12;
  content: "";
}

.things-tried__metadata {
  margin: 0 0 1.25rem;
  color: #d5d9c6;
  font-family: "Space Mono", "Courier New", monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.things-tried__entry-title {
  max-width: 34rem;
  margin: 0;
  color: #f2eee7;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.6rem, 4.6vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.9;
}

.things-tried__description {
  max-width: 32rem;
  margin: 1.25rem 0 0;
  color: rgba(242, 238, 231, 0.7);
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.65;
}

@media (max-width: 700px) {
  .things-tried {
    padding: 6rem 1.5rem 8rem;
  }

  .things-tried__layout {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .things-tried__title {
    max-width: 8ch;
  }

  .things-tried__entry {
    grid-template-columns: 3.25rem minmax(0, 1fr);
  }
}

/* Closing contact: an invitation that leaves the documentary open-ended. */
.closing-contact {
  display: flex;
  min-height: min(60rem, 100vh);
  min-height: min(60rem, 100svh);
  padding: clamp(7rem, 15vw, 13rem) clamp(1.5rem, 8vw, 8rem) clamp(3rem, 6vw, 5rem);
  background: #0c0e12;
  align-items: center;
}

.closing-contact__content {
  width: 100%;
  max-width: 88rem;
  margin: 0 auto;
}

.closing-contact__label {
  margin: 0;
  color: #d5d9c6;
  font-family: "Space Mono", "Courier New", monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.closing-contact__title {
  max-width: 55rem;
  margin: clamp(2rem, 5vw, 4rem) 0 0;
  color: #f2eee7;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(4.25rem, 9vw, 9rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.82;
  white-space: pre-line;
}

.closing-contact__message {
  max-width: 34rem;
  margin: clamp(2rem, 4vw, 3.5rem) 0 0;
  color: rgba(242, 238, 231, 0.7);
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.65;
}

.closing-contact__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
}

.closing-contact__link {
  position: relative;
  color: #f2eee7;
  font-family: "Space Mono", "Courier New", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.closing-contact__link::after {
  position: absolute;
  right: 0;
  bottom: -0.45rem;
  left: 0;
  height: 1px;
  background: #d5d9c6;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.closing-contact__link:hover::after,
.closing-contact__link:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.closing-contact__link:focus-visible {
  outline: 1px solid #d5d9c6;
  outline-offset: 0.45rem;
}

.closing-contact__footer {
  margin-top: clamp(7rem, 16vw, 14rem);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(242, 238, 231, 0.12);
  color: rgba(242, 238, 231, 0.45);
  font-family: "Space Mono", "Courier New", monospace;
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (max-width: 700px) {
  .closing-contact {
    min-height: 44rem;
    padding: 6rem 1.5rem 2rem;
  }

  .closing-contact__title {
    font-size: clamp(3.75rem, 16vw, 5rem);
  }
}
