/* ============================================================
   Utah Jason Wash LTD — scroll sequence
   Colours, type, and the scroll length live in :root.
   ============================================================ */

:root {
  /* Paper white, wash blue, deep blue. */
  --paper: #f4f8fc;
  --wash: #1457e6;
  --deep: #071a3a;

  --display: "Anton", "Arial Narrow", "Impact", sans-serif;
  --text: "Outfit", "Avenir Next", "Segoe UI", sans-serif;

  /* Taller track = slower wash. Each frame gets an equal slice. */
  --sequence-track: 650vh;

  --edge: clamp(16px, 2.4vw, 32px);
  --rail-width: 14px;
}

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

html {
  background: var(--deep);
}

body {
  margin: 0;
  background: var(--deep);
  color: var(--paper);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.45;
  overflow-x: hidden;
}

/* Blue cover. The canvas holds the blue so the wiper can erase it. */
html.is-wiping,
html.is-wiping body {
  overflow: hidden;
}

#load-screen {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--wash);
  overflow: hidden;
  touch-action: none;
}

#load-wipe {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
}

#load-label {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  margin: 0;
  color: #fff;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  pointer-events: none;
  transition: opacity 1.6s ease;
}

#load-wiper {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 3;
  width: 34vw;
  max-width: none;
  height: auto;
  opacity: 0;
  pointer-events: none;
  user-select: none;
}

#load-screen.is-wiping {
  background: transparent;
}

#load-screen.is-wiping #load-label {
  opacity: 0;
}

#load-screen.is-wiping #load-wiper {
  opacity: 1;
}

img {
  max-width: 100%;
}

button,
a {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--wash);
  outline-offset: 3px;
}

::selection {
  background: var(--wash);
  color: var(--paper);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ------------------------------------------------------------
   Sequence stage
   ------------------------------------------------------------ */

.sequence {
  position: relative;
  height: var(--sequence-track);
  background: var(--deep);
}

.sequence__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: var(--deep);
}

#sequence-canvas,
.sequence__fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

#sequence-canvas {
  display: block;
  z-index: 1;
  opacity: 0;
}

#sequence-canvas.is-painted {
  opacity: 1;
}

.sequence__fallback {
  object-fit: cover;
  z-index: 0;
}

.sequence__fallback[hidden] {
  display: none;
}

/* Scrim so white type stays readable on the bright driveway. */
.sequence__scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(to top, rgba(7, 26, 58, 0.88) 0%, rgba(7, 26, 58, 0.28) 28%, rgba(7, 26, 58, 0) 46%),
    linear-gradient(to bottom, rgba(7, 26, 58, 0.62) 0%, rgba(7, 26, 58, 0) 22%);
}

/* ------------------------------------------------------------
   Top bar
   ------------------------------------------------------------ */

.top-bar {
  position: absolute;
  z-index: 4;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 24px;
  row-gap: 2px;
  padding: 20px var(--edge) 0 calc(var(--edge) + var(--rail-width));
  pointer-events: none;
}

.top-bar__name,
.top-bar__place,
.top-bar__count {
  margin: 0;
}

.top-bar__name {
  font-weight: 600;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.top-bar__place {
  grid-column: 1;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.3;
}

.top-bar__count {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: start;
  font-weight: 600;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

/* ------------------------------------------------------------
   Giant phase words
   ------------------------------------------------------------ */

.phase {
  position: absolute;
  z-index: 4;
  left: calc(var(--edge) + var(--rail-width));
  right: var(--edge);
  bottom: -0.14em;
  pointer-events: none;
}

.phase[data-lockup="true"] {
  bottom: 5vh;
}

.phase__word {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  column-gap: 0.14em;
  margin: 0;
  max-width: 100%;
  color: var(--paper);
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(5.4rem, 22vw, 20rem);
  line-height: 0.76;
  letter-spacing: -0.035em;
  transition: opacity 160ms linear;
}

.phase__word[data-long="true"] {
  font-size: clamp(2.7rem, 9.4vw, 8.6rem);
  line-height: 0.84;
  letter-spacing: -0.03em;
}

.phase__aside {
  margin: 0 0 0.18em;
  color: var(--paper);
  font-family: var(--text);
  font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2.6rem);
  letter-spacing: -0.04em;
  line-height: 1;
}

.phase__aside[hidden] {
  display: none;
}

/* ------------------------------------------------------------
   Scroll cue and progress rail
   ------------------------------------------------------------ */

.scroll-cue {
  grid-column: 1;
  margin: 18px 0 0;
  color: var(--paper);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.2;
  animation: cue-bob 1.4s ease-in-out infinite alternate;
}

.sequence.is-moving .scroll-cue {
  opacity: 0;
  animation: none;
}

@keyframes cue-bob {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(6px);
  }
}

.rail {
  position: absolute;
  z-index: 5;
  top: 0;
  bottom: 0;
  left: 0;
  width: var(--rail-width);
  background: rgba(7, 26, 58, 0.55);
  pointer-events: none;
}

.rail__fill {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--wash);
  transform: scaleY(0);
  transform-origin: top center;
}

/* ------------------------------------------------------------
   Reduced-motion control
   ------------------------------------------------------------ */

.motion-jump {
  position: absolute;
  z-index: 6;
  top: 96px;
  left: calc(var(--edge) + var(--rail-width));
  display: none;
  margin: 0;
  padding: 0.9rem 1.15rem;
  border: 0;
  border-radius: 0;
  background: var(--wash);
  color: var(--paper);
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
}

.motion-jump:hover {
  background: var(--paper);
  color: var(--deep);
}

.motion-jump:active {
  transform: translateY(1px);
}

.motion-jump[hidden] {
  display: none;
}

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px 48px;
  padding: clamp(56px, 10vh, 120px) var(--edge);
  background: var(--paper);
  color: var(--deep);
}

.site-footer__name,
.site-footer__credit {
  margin: 0;
}

.site-footer__name {
  font-family: var(--display);
  font-size: clamp(3.2rem, 9vw, 8rem);
  line-height: 0.82;
  letter-spacing: -0.035em;
}

.site-footer__credit {
  font-size: 1.125rem;
  font-weight: 500;
  padding-bottom: 0.4rem;
}

.site-footer a {
  color: var(--wash);
  font-weight: 600;
  text-underline-offset: 0.18em;
}

.site-footer a:hover {
  color: var(--deep);
}

/* ------------------------------------------------------------
   Narrow screens and reduced motion
   ------------------------------------------------------------ */

@media (max-width: 720px) {
  :root {
    --rail-width: 10px;
    --sequence-track: 520vh;
  }

  .scroll-cue {
    margin-top: 14px;
    font-size: 1rem;
  }

  .phase[data-lockup="true"] {
    bottom: 4vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sequence {
    height: 100dvh;
  }

  .scroll-cue {
    display: none;
  }

  .phase__word {
    transition: none;
  }

  .motion-jump:not([hidden]) {
    display: inline-block;
  }

  .hero-dim,
  .hero-ui,
  .hero-badge,
  .hero-copy h1,
  .hero-copy > p,
  .hero-actions,
  .hero-partners p,
  .hero-partner-row {
    animation: none;
    transition: none;
    opacity: 1;
    transform: none;
  }
}

/* ------------------------------------------------------------
   Hero banner. Hidden until three seconds of the sequence
   have been scrolled, then it fades in slowly.
   ------------------------------------------------------------ */

.hero-dim {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: rgba(0, 0, 0, 0.58);
  opacity: 0;
  pointer-events: none;
  transition: opacity 2.4s ease;
}

.sequence.is-hero-visible .hero-dim {
  opacity: 1;
}

.hero-ui {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  padding: 16px 28px 28px calc(28px + var(--rail-width));
  color: #fff;
  font-family: Inter, "Arial Black", "Segoe UI", sans-serif;
  font-weight: 800;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 2.2s ease;
}

.sequence.is-hero-visible .hero-ui {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.hero-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hero-mark {
  color: #fff;
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: -0.045em;
  text-decoration: none;
  white-space: nowrap;
}

.hero-links {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.hero-links a {
  padding: 8px 12px;
  border-radius: 999px;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 800;
  text-decoration: none;
}

.hero-links a.is-active,
.hero-links a:hover {
  color: #fff;
}

.hero-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 4px;
  background: #1457e6;
  color: #fff;
}

.hero-nav-cta:hover {
  background: #f4f8fc;
  color: #071a3a;
}

.hero-menu {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
}

.hero-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge,
.hero-copy h1,
.hero-copy > p,
.hero-actions,
.hero-partners p,
.hero-partner-row {
  opacity: 0;
  transform: translateY(20px);
}

.sequence.is-hero-visible .hero-badge {
  animation: fadeSlideIn 1.8s ease 0.2s forwards;
}

.sequence.is-hero-visible .hero-copy h1 {
  animation: fadeSlideIn 1.8s ease 0.45s forwards;
}

.sequence.is-hero-visible .hero-copy > p {
  animation: fadeSlideIn 1.8s ease 0.7s forwards;
}

.sequence.is-hero-visible .hero-actions {
  animation: fadeSlideIn 1.8s ease 0.95s forwards;
}

.sequence.is-hero-visible .hero-partners p {
  animation: fadeSlideIn 1.8s ease 1.2s forwards;
}

.sequence.is-hero-visible .hero-partner-row {
  animation: fadeSlideIn 1.8s ease 1.45s forwards;
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  padding: 8px 12px 8px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
}

.hero-badge__label {
  padding: 2px 8px;
  border-radius: 999px;
  background: #1457e6;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
}

.hero-copy h1 {
  margin: 0;
  color: #fff;
  font-family: Inter, "Arial Black", "Segoe UI", sans-serif;
  font-size: clamp(2.7rem, 4.8vw, 4.6rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.92;
}

.hero-copy > p {
  max-width: 38rem;
  margin: 22px 0 0;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.4;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 32px;
}

.hero-primary,
.hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
}

.hero-primary {
  background: #1457e6;
  color: #fff;
}

.hero-primary:hover {
  background: #f4f8fc;
  color: #071a3a;
}

.hero-secondary {
  color: rgba(255, 255, 255, 0.92);
}

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

.hero-partners {
  text-align: center;
}

.hero-partners p {
  margin: 0 0 18px;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
}

.hero-partner-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  align-items: center;
  justify-items: center;
  max-width: 920px;
  margin: 0 auto;
}

.hero-partner-row a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 56px;
}

.hero-partner-row img {
  width: 100%;
  height: 56px;
  object-fit: contain;
}

.hero-partner-row a:hover img {
  opacity: 1;
}

@media (max-width: 1024px) {
  .hero-menu {
    display: inline-flex;
  }

  .hero-links {
    display: none;
    position: absolute;
    z-index: 8;
    top: 64px;
    right: 16px;
    left: calc(16px + var(--rail-width));
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 8px;
    border-radius: 16px;
    background: #071a3a;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  }

  .hero-links.is-open {
    display: flex;
  }

  .hero-links a {
    padding: 12px 14px;
  }

  .hero-nav-cta {
    margin-left: 0;
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .hero-ui {
    padding: 14px 16px 18px calc(16px + var(--rail-width));
  }

  .hero-mark {
    font-size: 1.05rem;
  }

  .hero-badge {
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    border-radius: 18px;
    font-size: 0.82rem;
    text-align: left;
  }

  .hero-copy h1 {
    font-size: 1.85rem;
    line-height: 0.96;
  }

  .hero-copy > p {
    font-size: 1rem;
  }

  .hero-partner-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px 12px;
  }

  .hero-partner-row a,
  .hero-partner-row img {
    height: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-dim,
  .hero-ui,
  .hero-badge,
  .hero-copy h1,
  .hero-copy > p,
  .hero-actions,
  .hero-partners p,
  .hero-partner-row {
    animation: none;
    transition: none;
  }

  .sequence.is-hero-visible .hero-badge,
  .sequence.is-hero-visible .hero-copy h1,
  .sequence.is-hero-visible .hero-copy > p,
  .sequence.is-hero-visible .hero-actions,
  .sequence.is-hero-visible .hero-partners p,
  .sequence.is-hero-visible .hero-partner-row {
    opacity: 1;
    transform: none;
  }
}

/* ------------------------------------------------------------
   Services
   ------------------------------------------------------------ */

.services {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  color: var(--deep);
  padding: clamp(72px, 12vh, 140px) max(var(--edge), 7vw) clamp(80px, 14vh, 160px);
  font-family: Inter, "Arial Black", "Segoe UI", sans-serif;
}

.services__shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.services__shape {
  position: absolute;
  background: var(--wash);
}

.services__shape--left {
  top: 8%;
  left: 0;
  width: clamp(36px, 5vw, 84px);
  height: 58%;
  transform: translateX(-110%);
}

.services__shape--right {
  top: 18%;
  right: 0;
  width: clamp(72px, 11vw, 160px);
  height: clamp(72px, 11vw, 160px);
  transform: translateX(110%);
}

.services__shape--corner {
  right: 0;
  bottom: 0;
  width: clamp(90px, 16vw, 240px);
  height: clamp(48px, 8vh, 110px);
  transform: translateX(110%);
}

.services.is-in-view .services__shape--left {
  animation: shape-from-left 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

.services.is-in-view .services__shape--right {
  animation: shape-from-right 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.12s forwards;
}

.services.is-in-view .services__shape--corner {
  animation: shape-from-right 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.24s forwards;
}

@keyframes shape-from-left {
  from { transform: translateX(-110%); }
  to { transform: translateX(0); }
}

@keyframes shape-from-right {
  from { transform: translateX(110%); }
  to { transform: translateX(0); }
}

.services__intro,
.services__grid {
  position: relative;
  z-index: 1;
}

.services__next {
  display: grid;
  grid-template-columns: auto minmax(180px, 420px) auto;
  align-items: center;
  gap: 16px;
  max-width: 640px;
  margin-top: 32px;
}

.services__next-label,
.services__bar-count {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.services__bar {
  height: 12px;
  background: rgba(7, 26, 58, 0.12);
}

.services__bar-fill {
  display: block;
  width: 0;
  height: 100%;
  background: var(--wash);
}

.services__bar-count {
  font-variant-numeric: tabular-nums;
  min-width: 2.4ch;
}

.services__intro {
  max-width: 760px;
}

.services__intro h2 {
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.92;
}

.services__intro p {
  max-width: 36rem;
  margin: 20px 0 0;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.4;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 56px;
}

.services article h3 {
  margin: 18px 0 8px;
  font-size: 1.7rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
}

.services article p {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
}

.services img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.services__next-label a {
  color: inherit;
  font-weight: 800;
  text-decoration: none;
}

.services__next-label a:hover {
  color: var(--wash);
}

@media (max-width: 900px) {
  .services__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .services__next {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "label label"
      "bar count";
    gap: 10px 12px;
    max-width: none;
  }

  .services__next-label {
    grid-area: label;
    white-space: normal;
  }

  .services__bar {
    grid-area: bar;
  }

  .services__bar-count {
    grid-area: count;
  }
}

@media (prefers-reduced-motion: reduce) {
  .services__shape--left,
  .services__shape--right,
  .services__shape--corner {
    transform: none;
    animation: none;
  }
}

/* ------------------------------------------------------------
   Process
   ------------------------------------------------------------ */

.process {
  background: var(--wash);
  color: #fff;
  padding: clamp(72px, 12vh, 140px) var(--edge) clamp(80px, 14vh, 160px);
  font-family: Inter, "Arial Black", "Segoe UI", sans-serif;
}

.process h2 {
  margin: 0 0 40px;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.92;
}

.process__row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process .marquee {
  margin: clamp(56px, 8vh, 96px) calc(var(--edge) * -1) calc(clamp(80px, 14vh, 160px) * -1);
}

.process .marquee__track {
  animation-duration: 28s;
  animation-direction: reverse;
}

.process__bar {
  height: 12px;
  margin-top: clamp(48px, 8vh, 88px);
  background: rgba(255, 255, 255, 0.22);
}

.process__bar-fill {
  display: block;
  width: 0;
  height: 100%;
  background: #fff;
}

.process__step {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 250px;
  padding: 22px 22px 26px;
  background: #fff;
  color: var(--deep);
  border-top: 12px solid #fff;
  box-shadow: 0 16px 0 rgba(255, 255, 255, 0.18), 0 22px 40px rgba(7, 26, 58, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.process__step::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  width: 42%;
  height: 12px;
  background: var(--deep);
}

.process__step.is-typed:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 0 rgba(255, 255, 255, 0.28), 0 28px 48px rgba(7, 26, 58, 0.28);
}

.process__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  background: var(--wash);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.process.is-waiting .process__step {
  opacity: 0;
  transform: translateY(36px);
}

.process__step.is-in {
  animation: process-in 0.55s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

@keyframes process-in {
  from {
    opacity: 0;
    transform: translateY(36px);
  }

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

.process__title {
  min-height: 2.4em;
  margin: 0 0 14px;
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.process__title::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 0.9em;
  margin-left: 2px;
  background: var(--wash);
  vertical-align: text-bottom;
  opacity: 0;
}

.process__step.is-typing .process__title::after {
  opacity: 1;
  animation: process-caret 0.6s steps(1) infinite;
}

@keyframes process-caret {
  50% { opacity: 0; }
}

.process__step p {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(8px);
}

.process__step.is-typed p {
  animation: process-copy 0.4s ease forwards;
}

@keyframes process-copy {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.marquee {
  overflow: hidden;
  background: var(--deep);
  color: #fff;
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee-slide 22s linear infinite;
}

.marquee__track p {
  margin: 0;
  padding: 18px 0;
  font-family: Inter, "Arial Black", "Segoe UI", sans-serif;
  font-size: clamp(1.15rem, 2.2vw, 1.7rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  white-space: nowrap;
}

@keyframes marquee-slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 980px) {
  .process__row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .process__row {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .process__step,
  .process.is-playing .process__step {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .process__step p,
  .process__step.is-typed p {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .process__title::after {
    display: none;
  }

  .marquee__track {
    animation: none;
  }

  .process__step.is-typed:hover {
    transform: none;
  }

  .reviews__intro h2,
  .reviews__intro p,
  .reviews__card {
    opacity: 1;
    filter: none;
    transform: none;
    animation: none;
  }
}

/* ------------------------------------------------------------
   Reviews
   ------------------------------------------------------------ */

.reviews {
  background: #fff;
  color: #111;
  min-height: 100dvh;
  padding: 28px max(var(--edge), 4vw) 48px;
  font-family: Inter, "Segoe UI", sans-serif;
}

.reviews__panel {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: 56px 8px 88px;
}

.reviews__intro {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.reviews__intro h2,
.reviews__intro p,
.reviews__card {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(-20px);
}

.reviews.is-in-view .reviews__intro h2,
.reviews.is-in-view .reviews__intro p,
.reviews.is-in-view .reviews__card {
  animation: review-in 0.5s ease forwards;
  animation-delay: calc(var(--reveal) * 0.4s);
}

@keyframes review-in {
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

.reviews__intro h2 {
  margin: 0;
  color: var(--deep);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.92;
}

.reviews__intro p {
  margin: 8px 0 0;
  color: #6b7280;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
}

.reviews__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 40px;
  padding: 0 16px 8px;
}

.reviews__col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
}

.reviews__card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  min-height: 180px;
  padding: 20px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}

.reviews__card--light {
  flex: 7;
  background: #f7f7f5;
  color: #111;
}

.reviews__card--short {
  flex: 3;
}

.reviews__card--blue {
  background: var(--wash);
  color: #fff;
}

.reviews__card--dark {
  flex: 1;
  background: #111;
  color: #fff;
}

.reviews__gridlines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(79, 79, 79, 0.18) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(79, 79, 79, 0.18) 1px, transparent 1px);
  background-size: 50px 56px;
  mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, #000 70%, transparent 110%);
  pointer-events: none;
}

.reviews__card blockquote {
  position: relative;
  z-index: 1;
  margin: auto 0 0;
}

.reviews__card blockquote > p {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.45;
}

.reviews__person {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
}

.reviews__person h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.reviews__person p {
  margin: 2px 0 0;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.3;
  opacity: 0.85;
}

.reviews__person img {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
}

.reviews__rule {
  position: absolute;
  right: 0;
  bottom: 16px;
  left: 0;
  height: 64px;
  border-bottom: 2px solid #e6e6e6;
  pointer-events: none;
}

.reviews__rule::before,
.reviews__rule::after {
  content: "";
  position: absolute;
  bottom: -9px;
  width: 16px;
  height: 16px;
  background: #fff;
  border: 1px solid #d1d5db;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.reviews__rule::before {
  left: -8px;
}

.reviews__rule::after {
  right: -8px;
}

@media (min-width: 900px) {
  .reviews__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
  }

  .reviews__col {
    height: 100%;
  }

  .reviews__card--dark {
    min-height: 0;
  }
}

@media (max-width: 899px) {
  .reviews__card--tall,
  .reviews__card--short,
  .reviews__card--dark {
    flex: none;
  }
}

/* ------------------------------------------------------------
   Call to action
   ------------------------------------------------------------ */

.cta,
.valley,
.contact {
  font-family: Inter, "Arial Black", "Segoe UI", sans-serif;
}

/* Pieces fade up, one after another, once the section is on screen. */
.services [data-appear],
.cta [data-appear],
.valley [data-appear],
.contact [data-appear] {
  opacity: 0;
  transform: translateY(22px);
}

.services.is-in-view [data-appear],
.cta.is-in-view [data-appear],
.valley.is-in-view [data-appear],
.contact.is-in-view [data-appear] {
  animation: piece-in 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(var(--i, 0) * 0.12s);
}

.contact [data-appear] {
  pointer-events: none;
}

.contact.is-in-view [data-appear] {
  pointer-events: auto;
}

@keyframes piece-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cta {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  grid-template-areas:
    "copy panel"
    "facts facts";
  align-items: center;
  gap: 28px clamp(28px, 4vw, 64px);
  min-height: 100dvh;
  padding: clamp(64px, 9vh, 100px) var(--edge) clamp(48px, 7vh, 72px);
  background: var(--wash);
  color: #fff;
}

.cta__copy {
  grid-area: copy;
}

.cta__kicker {
  margin: 0 0 16px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cta h2,
.valley__head h2,
.contact h2 {
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.92;
}

.cta__copy p:not(.cta__kicker) {
  max-width: 38rem;
  margin: 18px 0 0;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.45;
}

.cta__panel {
  position: relative;
  grid-area: panel;
  padding: 26px 26px 28px;
  background: #fff;
  color: var(--deep);
  border-top: 12px solid #fff;
}

.cta__panel::before,
.contact form::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  width: 42%;
  height: 12px;
  background: var(--deep);
}

.cta__panel h3 {
  margin: 0 0 16px;
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

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

.cta__panel li {
  display: grid;
  gap: 4px;
  padding: 12px 0;
  border-top: 1px solid rgba(7, 26, 58, 0.12);
}

.cta__panel strong {
  font-size: 1rem;
  font-weight: 900;
}

.cta__panel span {
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.4;
}

.cta__panel a {
  display: inline-flex;
  margin-top: 18px;
  padding: 14px 22px;
  background: var(--wash);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.cta__panel a:hover {
  background: var(--deep);
}

.cta__facts {
  display: grid;
  grid-area: facts;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cta__facts li {
  display: grid;
  gap: 6px;
  padding: 16px 16px 18px;
  background: rgba(255, 255, 255, 0.12);
}

.cta__facts span {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cta__facts strong {
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.cta :focus-visible,
.contact :focus-visible {
  outline-color: #fff;
}

/* ------------------------------------------------------------
   Valley scroll
   ------------------------------------------------------------ */

.valley {
  background: #fff;
  color: var(--deep);
  padding: clamp(64px, 9vh, 100px) 0 clamp(56px, 8vh, 88px);
}

.valley__stage {
  display: block;
}

.valley__head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(240px, 0.9fr);
  align-items: end;
  gap: 24px 40px;
  padding: 0 var(--edge) 28px;
}

.valley__head p {
  margin: 0 0 12px;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.45;
}

.valley__head p:last-child {
  margin-bottom: 0;
}

.valley__row {
  width: 100%;
  margin: 0;
  padding: 4px 0 16px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent);
}

.valley__track {
  display: flex;
  width: max-content;
}

.valley__track.is-looping {
  animation: valley-loop 36s linear infinite;
}

.valley__track.is-looping:hover {
  animation-play-state: paused;
}

.valley__set {
  display: flex;
  gap: 14px;
  padding-right: 14px;
  counter-reset: valley;
}

@keyframes valley-loop {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.valley__card {
  display: flex;
  flex-direction: column;
  width: 250px;
  flex: none;
  padding: 12px 12px 16px;
  background: var(--paper);
  counter-increment: valley;
}

.valley__card img {
  display: block;
  width: 100%;
  height: 132px;
  object-fit: cover;
}

.valley__county {
  margin: 12px 0 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.valley__card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0 8px;
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
}

.valley__card h3::before {
  content: counter(valley, decimal-leading-zero);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--wash);
  color: #fff;
  font-size: 0.75rem;
  flex: none;
}

.valley__card p:last-child {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
}

/* ------------------------------------------------------------
   Contact
   ------------------------------------------------------------ */

.contact {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(320px, 1.18fr);
  align-items: start;
  column-gap: clamp(28px, 4vw, 64px);
  min-height: 100dvh;
  padding: clamp(64px, 9vh, 100px) var(--edge);
  background: var(--wash);
  color: #fff;
}

.contact__intro p {
  max-width: 36rem;
  margin: 16px 0 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.45;
}

.contact__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.contact__meta li {
  display: grid;
  gap: 4px;
  padding: 12px 12px 14px;
  background: rgba(255, 255, 255, 0.12);
}

.contact__meta span {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact__meta strong {
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.contact form {
  position: relative;
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 24px 24px 26px;
  background: #fff;
  color: var(--deep);
  border-top: 12px solid #fff;
}

.contact fieldset {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px 14px;
  margin: 0;
  padding: 0;
  border: 0;
}

.contact legend {
  grid-column: 1 / -1;
  padding: 0;
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.contact label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.contact input,
.contact select,
.contact textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 0;
  background: var(--paper);
  color: var(--deep);
  font: inherit;
  font-weight: 700;
}

.contact select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--deep) 50%),
    linear-gradient(135deg, var(--deep) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  background-color: var(--paper);
}

.contact textarea {
  min-height: 110px;
  resize: vertical;
}

.contact textarea::placeholder {
  color: rgba(7, 26, 58, 0.45);
  font-weight: 700;
}

.contact input:focus-visible,
.contact select:focus-visible,
.contact textarea:focus-visible {
  outline: 3px solid var(--wash);
  outline-offset: 2px;
}

.contact input:disabled,
.contact select:disabled,
.contact textarea:disabled,
.contact button:disabled {
  opacity: 0.7;
  cursor: default;
}

.contact__wide,
.contact__checks,
.contact__send {
  grid-column: 1 / -1;
}

.contact__checks {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
}

.contact label.contact__check {
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.contact__check input {
  width: 18px;
  height: 18px;
  min-height: 0;
  padding: 0;
  accent-color: var(--wash);
}

.contact button {
  padding: 14px 22px;
  border: 0;
  background: var(--wash);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.contact button:hover {
  background: var(--deep);
  color: #fff;
}

.contact__done {
  margin: 12px 0 0;
  font-weight: 800;
}

@media (max-width: 900px) {
  .cta,
  .contact,
  .valley__head {
    grid-template-columns: 1fr;
  }

  .cta {
    grid-template-areas:
      "copy"
      "panel"
      "facts";
  }

  .cta__facts,
  .contact__meta {
    grid-template-columns: 1fr 1fr;
  }

  .contact fieldset {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .cta__facts,
  .contact__meta {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .services [data-appear],
  .cta [data-appear],
  .valley [data-appear],
  .contact [data-appear] {
    opacity: 1;
    transform: none;
    animation: none;
    pointer-events: auto;
  }

  .valley__row {
    overflow-x: auto;
    mask-image: none;
  }

  .valley__track,
  .valley__track.is-looping {
    animation: none;
  }
}

/* ------------------------------------------------------------
   Pushpin footer
   ------------------------------------------------------------ */

.tpf {
  --tpf-sheet: var(--wash);
  --tpf-paper: var(--paper);
  --tpf-on-sheet: #fff;
  --tpf-on-paper: var(--deep);
  --tpf-rim: #fff;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
  container-type: size;
  height: 100svh;
  min-height: 640px;
  background: var(--tpf-paper);
  color: var(--tpf-on-sheet);
  font-family: Inter, "Segoe UI", sans-serif;
  isolation: isolate;
}

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

.tpf button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
}

.tpf :focus-visible {
  outline: 1.5px solid currentColor;
  outline-offset: 4px;
}

.tpf-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.tpf-z {
  position: absolute;
  z-index: 2;
}

.tpf-h {
  transition: opacity 0.7s var(--ease), translate 0.8s var(--ease), filter 0.7s var(--ease);
  transition-delay: calc(var(--i, 0) * 45ms);
}

.tpf:not(.s1) .tpf-h {
  opacity: 0;
  translate: 0 10px;
  filter: blur(6px);
}

.tpf-p {
  transition: opacity 0.8s var(--ease), translate 0.9s var(--ease), filter 0.8s var(--ease);
  transition-delay: calc(480ms + var(--i, 0) * 70ms);
}

.tpf:not(.s3) .tpf-p {
  opacity: 0;
  translate: 0 18px;
  filter: blur(8px);
  transition-delay: 0s;
}

.tpf-top {
  top: 10.8%;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 11%;
  font-size: max(15px, 2.6cqmin);
  translate: 0 -50%;
}

.tpf-row {
  display: flex;
  align-items: center;
}

.tpf-ib {
  display: grid;
  place-items: center;
  width: 1.9em;
  height: 1.9em;
  border-radius: 50%;
}

.tpf-ib:hover {
  background: rgba(255, 255, 255, 0.14);
}

.tpf-up .tpf-ico {
  transform: rotate(90deg);
}

.tpf-ico {
  display: block;
  width: 1.35em;
  height: 1.35em;
}

.tpf-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 1.6em;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  transform: translate(-50%, -50%);
}

.tpf-mail {
  display: flex;
  align-items: center;
  gap: 0.6em;
  font-weight: 700;
}

.tpf-mail:hover span {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.tpf-toast {
  position: absolute;
  top: calc(100% + 0.5em);
  right: 0;
  padding: 0.35em 0.8em;
  border-radius: 99px;
  background: #fff;
  color: var(--deep);
  font-size: 0.8em;
  font-weight: 800;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
}

.tpf-toast.on {
  opacity: 1;
}

.tpf a.tpf-pill-link {
  top: 18%;
  left: 50%;
  padding: 0.7em 1.2em;
  border-radius: 99px;
  background: #fff;
  color: var(--deep);
  font-size: max(14px, 2cqmin);
  font-weight: 800;
  transform: translateX(-50%);
}

.tpf a.tpf-pill-link:hover {
  background: var(--deep);
  color: #fff;
}

.tpf-flank {
  top: 26%;
  font-size: max(13px, 2cqmin);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translate(-50%, -50%);
}

.tpf-clock i {
  font-style: normal;
  animation: tpf-blink 2s steps(1) infinite;
}

.tpf-status {
  top: 32%;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 0.6em;
  margin: 0;
  font-size: max(14px, 2.2cqmin);
  font-weight: 700;
  white-space: nowrap;
  transform: translate(-50%, -50%);
}

.tpf-live {
  width: 0.5em;
  height: 0.5em;
  border-radius: 50%;
  background: currentColor;
}

.tpf-col {
  top: 28%;
  display: grid;
  gap: 8px;
  font-size: max(14px, 1.9cqmin);
  font-weight: 700;
}

.tpf-col.l {
  left: 12%;
}

.tpf-col.r {
  right: 12%;
  text-align: right;
}

.tpf-col h3 {
  display: flex;
  align-items: center;
  gap: 0.6em;
  margin: 0 0 4px;
  font-size: 0.95em;
  font-weight: 800;
  opacity: 0.75;
}

.tpf-col.r h3 {
  flex-direction: row-reverse;
}

.tpf-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tpf-col a:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.tpf-big {
  margin-top: 8px;
  font-size: max(26px, 4.2cqmin);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.tpf-pin {
  position: absolute;
  z-index: 3;
  top: 64%;
  left: 50%;
  width: max(78px, 12cqmin);
  height: max(168px, 26cqmin);
  transform: translate(-50%, -100%);
  cursor: pointer;
}

.tpf-tilt,
.tpf-drop,
.tpf-body {
  position: absolute;
  inset: 0;
  transform-origin: 50% 100%;
}

.tpf-tilt {
  transform: rotate(5deg);
  transition: transform 0.7s var(--ease);
}

.tpf:not(.s2) .tpf-pin {
  opacity: 0;
  pointer-events: none;
}

.tpf.s2 .tpf-drop {
  animation: tpf-drop 0.62s cubic-bezier(0.5, 0, 0.75, 0) both;
}

.tpf-pin-svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.tpf-shadow {
  position: absolute;
  right: 50%;
  bottom: 0;
  width: 140%;
  height: 18%;
  background: radial-gradient(closest-side, rgba(9, 22, 48, 0.35), transparent);
  transform: rotate(16deg);
  transform-origin: 100% 50%;
}

.tpf-brand {
  top: 68%;
  left: 50%;
  color: var(--tpf-on-paper);
  transform: translateX(-50%);
}

.tpf-eye {
  display: block;
  margin-bottom: 4px;
  font-size: max(15px, 2.4cqmin);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.tpf-word {
  display: block;
  overflow: hidden;
  color: var(--deep);
  font-size: max(48px, min(11cqmin, 14cqw));
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.92;
  white-space: nowrap;
}

.tpf-word span {
  display: block;
  transition: translate 1s var(--ease) 0.5s;
}

.tpf:not(.s3) .tpf-word span {
  translate: 0 120%;
  transition-delay: 0s;
}

.tpf-foot {
  right: 0;
  bottom: 6%;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  padding: 0 12%;
  color: var(--tpf-on-paper);
  font-size: max(12px, 1.7cqmin);
  font-weight: 800;
}

.tpf-credit {
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tpf-credit:hover,
.tpf-handle:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.tpf.is-hit .tpf-stage {
  animation: tpf-hit 0.32s cubic-bezier(0.3, 0.7, 0.4, 1);
}

@keyframes tpf-drop {
  0% { transform: translateY(-40cqh) rotate(-28deg); opacity: 0; }
  25% { opacity: 1; }
  100% { transform: none; opacity: 1; }
}

@keyframes tpf-hit {
  30% { transform: translateY(2px); }
  100% { transform: none; }
}

@keyframes tpf-blink {
  50% { opacity: 0.25; }
}

@media (max-width: 720px) {
  .services__intro h2,
  .process h2,
  .reviews__intro h2,
  .cta h2,
  .valley__head h2,
  .contact h2 {
    font-size: clamp(2.15rem, 11vw, 3rem);
  }

  .services {
    padding-right: 24px;
    padding-left: 24px;
  }

  .services__shape--left {
    width: 8px;
  }

  .services__shape--right,
  .services__shape--corner {
    display: none;
  }

  .process__title {
    white-space: normal;
  }

  .reviews__panel {
    padding: 36px 4px 48px;
  }

  .reviews__grid {
    padding: 0 4px 8px;
  }

  .cta,
  .contact {
    min-height: 0;
  }

  .contact form {
    padding: 18px 16px 20px;
  }

  .contact input,
  .contact select,
  .contact textarea {
    font-size: 16px;
  }

  .valley__card {
    width: min(280px, 78vw);
  }

  .tpf {
    min-height: 720px;
  }

  .tpf-mail span,
  .tpf-flank {
    display: none;
  }

  .tpf-top {
    padding: 0 16px;
  }

  .tpf-status {
    top: 25%;
    max-width: calc(100% - 32px);
    font-size: 13px;
    white-space: nowrap;
    text-align: center;
    justify-content: center;
  }

  .tpf-col {
    top: auto;
    bottom: 10%;
    width: 42%;
    gap: 4px;
    color: var(--deep);
    font-size: 13px;
  }

  .tpf-col h3 {
    display: none;
  }

  .tpf-col.l { left: 16px; }
  .tpf-col.r { right: 16px; }

  .tpf-big {
    font-size: 22px;
  }

  .tpf-pin {
    top: 46%;
    width: 64px;
    height: 128px;
  }

  .tpf-brand {
    top: 50%;
  }

  .tpf-word {
    font-size: clamp(42px, 18vw, 72px);
  }

  .tpf-foot {
    bottom: 3%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 14px;
    padding: 0 16px;
    font-size: 12px;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tpf *,
  .tpf *::before,
  .tpf *::after {
    animation: none !important;
    transition-duration: 0.01s !important;
    transition-delay: 0s !important;
  }
}
