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

:root {
  --black: #000000;
  --white: #ffffff;
  --gray-100: #f5f5f5;
  --gray-300: #a0a0a0;
  --gray-500: #666666;
  --gray-700: #333333;
  --gray-900: #111111;
  --accent: #c8102e;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --tracking-tight: -0.04em;
  --tracking-tighter: -0.06em;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

html {
  font-size: 16px;
  scroll-behavior: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.5;
}

body.is-loading {
  overflow: hidden;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
}

.preloader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.preloader__logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: var(--tracking-tight);
  text-transform: uppercase;
}

.preloader__bar-wrap {
  width: 200px;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

.preloader__bar {
  width: 0%;
  height: 100%;
  background: var(--white);
  border-radius: 2px;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.preloader__counter {
  display: flex;
  align-items: baseline;
  gap: 0.15rem;
}

.preloader__pct {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: var(--tracking-tighter);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.preloader__pct-sign {
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-500);
}

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

em {
  font-style: italic;
  color: var(--gray-300);
}

img,
video {
  display: block;
  max-width: 100%;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 3rem;
  z-index: 100;
  mix-blend-mode: difference;
}

.nav__logo {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: var(--tracking-tight);
  text-transform: uppercase;
}

.accent {
  color: var(--accent);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.nav__links a {
  position: relative;
  transition: opacity 0.3s ease;
}

.nav__links a:hover {
  opacity: 0.6;
}

.nav__cta {
  padding: 0.55rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 100px;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.nav__cta:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
  opacity: 1 !important;
}

.hero {
  position: relative;
  width: 100%;
  height: 250vh;
}

.hero__pin {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: 0;
  will-change: transform;
  pointer-events: none;
}

.hero__overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 40%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.8) 100%);
  z-index: 1;
}

.hero__fade-out {
  display: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 2rem;
}

.hero__tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-300);
  margin-bottom: 1.5rem;
  opacity: 0;
}

.hero__heading {
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: var(--tracking-tighter);
  margin-bottom: 1.5rem;
}

.hero__line {
  display: block;
  overflow: hidden;
}

.hero__line > span,
.hero__line {
  opacity: 0;
}

.hero__sub {
  font-size: 1.125rem;
  color: var(--gray-300);
  max-width: 500px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
  opacity: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2.2rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 100px;
  transition: all 0.4s var(--ease-out);
  opacity: 0;
  cursor: pointer;
  background: transparent;
  color: var(--white);
}

.btn:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
  gap: 0.85rem;
}

.btn__arrow {
  transition: transform 0.4s var(--ease-out);
}

.btn:hover .btn__arrow {
  transform: translateX(4px);
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
}

.hero__scroll-indicator span {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-300);
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { top: -100%; }
  50% { top: 100%; }
  100% { top: 100%; }
}

.intro {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  padding: 10rem 3rem 8rem;
  overflow: hidden;
  background: var(--black);
}

.intro__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.intro__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  will-change: opacity;
}

.intro__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, var(--black) 0%, rgba(0, 0, 0, 0.3) 20%, rgba(0, 0, 0, 0.3) 80%, var(--black) 100%);
  pointer-events: none;
}

.intro__content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.intro__label,
.contact__label {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-300);
  margin-bottom: 3rem;
}

.label-line {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gray-500);
}

.intro__heading {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: var(--tracking-tight);
  max-width: 900px;
  margin-bottom: 4rem;
}

.intro__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 5rem;
}

.intro__col p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--gray-300);
}

.intro__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding-top: 3.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stat {
  position: relative;
}

.stat__inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 2rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.4s ease, background 0.4s ease;
}

.stat__inner:hover {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.stat__number {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: var(--tracking-tighter);
  line-height: 1;
  background: linear-gradient(135deg, var(--white) 0%, var(--gray-300) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat__plus {
  color: var(--accent);
  -webkit-text-fill-color: var(--accent);
}

.stat__label {
  font-size: 0.8125rem;
  color: var(--gray-500);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.services {
  position: relative;
  padding: 0 3rem;
}

.services__bg {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.services__bg.is-visible {
  opacity: 1;
}

.services__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.3);
}

.services__video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, var(--black) 0%, transparent 20%, transparent 80%, var(--black) 100%);
  pointer-events: none;
}

.services__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.services__left {
  position: relative;
  padding: 10rem 0;
}

.services__sticky {
  position: sticky;
  top: 30vh;
}

.services__number {
  display: block;
  font-size: clamp(6rem, 12vw, 10rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: var(--tracking-tighter);
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1.5rem;
  transition: color 0.5s ease;
}

.services__title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
}

.services__desc {
  font-size: 1rem;
  color: var(--gray-300);
  line-height: 1.7;
  max-width: 280px;
}

.services__right {
  padding: 10rem 0;
}

.service-item {
  display: flex;
  gap: 2rem;
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.35;
  transform: translateX(30px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

.service-item.is-active {
  opacity: 1;
  transform: translateX(0);
}

.service-item__index {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-300);
  letter-spacing: 0.05em;
  padding-top: 0.3rem;
  flex-shrink: 0;
}

.service-item__content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  margin-bottom: 0.75rem;
}

.service-item__content p {
  font-size: 0.9375rem;
  color: var(--gray-300);
  line-height: 1.65;
  max-width: 420px;
}

.video-transition {
  position: relative;
  z-index: 2;
  height: 300vh;
  background: var(--black);
}

.video-transition__inner {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--black);
}

.video-transition__frame {
  position: absolute;
  inset: 0;
  will-change: clip-path, transform;
  clip-path: inset(30% 25% 30% 25% round 20px);
}

.video-transition__fluid {
  border: 0;
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
  touch-action: none;
  position: relative;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.video-transition__fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.9) brightness(0.72);
}

.video-transition.is-fluid-ready .video-transition__fluid {
  opacity: 1;
}

.video-transition.is-fluid-fallback .video-transition__fluid {
  visibility: hidden;
}

.video-transition__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  pointer-events: none;
  z-index: 1;
}

.video-transition__text {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  pointer-events: none;
}

.vt-word {
  font-size: clamp(1.5rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  opacity: 0;
  will-change: transform, opacity;
}

.vt-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .video-transition__fluid {
    pointer-events: none;
  }
}

.cinematic {
  position: relative;
  z-index: 2;
  height: 400vh;
  background: var(--black);
}

.cinematic__sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--black);
}

.cinematic__video-frame {
  position: absolute;
  inset: 0;
  will-change: clip-path;
  clip-path: inset(30% 24% 30% 24% round 8px);
}

.cinematic__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cinematic.video-failed .cinematic__video {
  opacity: 0;
}

.cinematic.video-failed .cinematic__video-frame {
  background: linear-gradient(135deg, var(--gray-900) 0%, var(--black) 100%);
}

.cinematic__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, transparent 30%, transparent 70%, rgba(0, 0, 0, 0.5) 100%);
  z-index: 1;
  pointer-events: none;
}

.cinematic__content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.cinematic__heading {
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: var(--tracking-tighter);
}

.cin-line {
  display: block;
  opacity: 0;
  visibility: hidden;
  will-change: transform, opacity;
}

.cinematic__counter {
  position: absolute;
  bottom: 2.5rem;
  right: 3rem;
  z-index: 2;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  opacity: 0;
}

.cinematic__count {
  font-size: 2rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: var(--tracking-tight);
}

.cinematic__count-label {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--gray-300);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.contact {
  position: relative;
  z-index: 2;
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 8rem 3rem;
  background: var(--black);
}

.contact__content {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.contact__heading {
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: var(--tracking-tighter);
  margin-bottom: 2.5rem;
}

.contact__email {
  display: inline-block;
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 500;
  letter-spacing: var(--tracking-tight);
  color: var(--gray-300);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 0.25rem;
  transition: color 0.3s ease, border-color 0.3s ease;
  margin-bottom: 6rem;
}

.contact__email:hover {
  color: var(--white);
  border-color: var(--white);
}

.contact__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.contact__copy {
  font-size: 0.8125rem;
  color: var(--gray-500);
}

.contact__socials {
  display: flex;
  gap: 2rem;
}

.contact__socials a {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gray-500);
  transition: color 0.3s ease;
}

.contact__socials a:hover {
  color: var(--white);
}

.reveal-text {
  opacity: 0;
}

.reveal-up {
  opacity: 0;
  transform: translateY(40px);
}

@media (max-width: 768px) {
  .nav {
    padding: 1.25rem 1.5rem;
  }

  .nav__links a:not(.nav__cta) {
    display: none;
  }

  .hero__content {
    padding: 0 1.25rem;
  }

  .intro {
    padding: 6rem 1.5rem 5rem;
  }

  .intro__cols {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .services {
    padding: 0 1.5rem;
  }

  .services__inner {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .services__left {
    padding: 5rem 0 2rem;
  }

  .services__sticky {
    position: relative;
    top: auto;
  }

  .services__number {
    font-size: 5rem;
  }

  .services__right {
    padding: 0 0 5rem;
  }

  .contact {
    padding: 5rem 1.5rem;
  }

  .contact__footer {
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
  }
}

/* Material-world hero */
:root {
  --black: #07090a;
  --accent: #d6e3df;
  --font: 'Satoshi', -apple-system, BlinkMacSystemFont, sans-serif;
  --tracking-tight: 0;
  --tracking-tighter: 0;
}

.hero {
  height: 440vh;
  background: var(--black);
}

.hero__pin {
  position: sticky;
  top: 0;
  min-height: 100dvh;
  height: 100dvh;
  overflow: hidden;
  isolation: isolate;
}

.hero__canvas,
.hero__particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero__fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  opacity: 1;
  transition: opacity 500ms ease;
}

.hero__canvas {
  z-index: 1;
  opacity: 0;
  transition: opacity 500ms ease;
}

.hero__particles {
  z-index: 3;
  mix-blend-mode: screen;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background:
    radial-gradient(circle at 50% 44%, transparent 12%, rgba(5, 7, 8, 0.16) 52%, rgba(5, 7, 8, 0.68) 100%),
    linear-gradient(to bottom, rgba(4, 6, 7, 0.46), transparent 34%, rgba(4, 6, 7, 0.58));
  pointer-events: none;
}

.hero__content {
  z-index: 4;
  width: min(92vw, 1400px);
  max-width: none;
  padding: 0 4vw;
}

.hero__tag {
  margin-bottom: 1.2rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: rgba(245, 247, 244, 0.72);
}

.hero__heading {
  max-width: 1400px;
  margin: 0 auto 1.4rem;
  font-size: clamp(3.25rem, 6.6vw, 7.2rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: 0 3px 38px rgba(0, 0, 0, 0.34);
}

.hero__heading em {
  color: rgba(224, 236, 236, 0.74);
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
}

.hero__sub {
  max-width: 38rem;
  margin-bottom: 2.1rem;
  color: rgba(245, 247, 244, 0.76);
  font-size: 1rem;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.78);
}

.btn {
  border-radius: 2px;
  border-color: rgba(238, 244, 241, 0.55);
  background: rgba(5, 7, 8, 0.32);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.16);
}

.btn:focus-visible,
.material-index button:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 5px;
}

.material-index {
  position: absolute;
  right: clamp(1.4rem, 3vw, 3rem);
  top: 50%;
  z-index: 5;
  display: grid;
  gap: 0.55rem;
  transform: translateY(-50%);
}

.material-index button {
  position: relative;
  display: grid;
  grid-template-columns: 1.6rem 5rem;
  align-items: center;
  gap: 0.65rem;
  min-height: 1.8rem;
  border: 0;
  padding: 0;
  background: transparent;
  color: rgba(242, 246, 244, 0.48);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: color 260ms ease, transform 260ms ease;
}

.material-index button::before {
  content: '';
  position: absolute;
  left: -1.25rem;
  width: 0.72rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0.35);
  transform-origin: right center;
  transition: transform 320ms ease;
}

.material-index button:hover,
.material-index button.is-active {
  color: rgba(255, 255, 255, 0.95);
  transform: translateX(-0.4rem);
}

.material-index button:hover::before,
.material-index button.is-active::before {
  transform: scaleX(1);
}

.material-index span {
  font-size: 0.62rem;
  font-variant-numeric: tabular-nums;
}

.material-index b {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.material-caption {
  position: absolute;
  left: clamp(1.5rem, 3vw, 3rem);
  bottom: clamp(1.5rem, 3vw, 3rem);
  z-index: 5;
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 1.2rem;
  align-items: baseline;
  opacity: 0;
  pointer-events: none;
}

.material-caption__count {
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.66rem;
  font-variant-numeric: tabular-nums;
}

.material-caption__title {
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.material-caption__hint {
  grid-column: 2;
  margin-top: 0.28rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.66rem;
}

.hero__scroll-indicator {
  bottom: 2rem;
}

.webgl-ready .hero__canvas {
  opacity: 1;
}

.webgl-ready .hero__fallback {
  opacity: 0;
}

.webgl-fallback .hero__canvas,
.webgl-fallback .hero__particles,
.webgl-fallback .material-index {
  display: none;
}

.webgl-fallback .hero__tag,
.webgl-fallback .hero__line,
.webgl-fallback .hero__sub,
.webgl-fallback .hero__content .btn {
  opacity: 1;
  transform: none !important;
}

@media (max-width: 768px) {
  .hero {
    height: 360vh;
  }

  .hero__content {
    width: 100%;
    padding: 0 1.25rem;
  }

  .hero__heading {
    font-size: clamp(2.3rem, 9.7vw, 3.8rem);
    line-height: 0.98;
  }

  .hero__sub {
    max-width: 29rem;
    font-size: 0.92rem;
  }

  .material-index {
    top: auto;
    right: 1.15rem;
    bottom: 1.2rem;
    display: flex;
    gap: 0.65rem;
    transform: none;
  }

  .material-index button {
    display: block;
    width: 1.35rem;
    min-height: 1.5rem;
    text-align: center;
  }

  .material-index button::before,
  .material-index b {
    display: none;
  }

  .material-index button:hover,
  .material-index button.is-active {
    transform: translateY(-0.25rem);
  }

  .material-caption {
    left: 1.2rem;
    right: 1.2rem;
    bottom: 4rem;
    grid-template-columns: auto 1fr;
  }

  .material-caption__hint {
    overflow: hidden;
    max-width: 64vw;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero__scroll-indicator {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .material-index button,
  .material-index button::before,
  .btn {
    transition-duration: 0.01ms;
  }
}

/* Personal-site visual system ------------------------------------------------ */
:root {
  --black: #111311;
  --white: #f1eadf;
  --gray-100: #ece6dc;
  --gray-300: #b9b5ad;
  --gray-500: #85847f;
  --gray-700: #343735;
  --gray-900: #181a18;
  --accent: #f06b3c;
  --accent-soft: rgba(240, 107, 60, 0.18);
  --line: rgba(241, 234, 223, 0.16);
  --font: "Microsoft YaHei UI", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
}

*,
*::before,
*::after {
  letter-spacing: 0 !important;
}

html {
  scroll-padding-top: 5rem;
  overflow-x: clip;
}

body {
  background: var(--black);
  color: var(--white);
  overflow-x: clip;
}

button,
input,
textarea {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
}

::selection {
  background: var(--accent);
  color: #161716;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10000;
  padding: 0.65rem 0.9rem;
  border-radius: 4px;
  background: var(--white);
  color: var(--black);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.preloader__logo {
  text-transform: none;
}

.preloader__bar {
  background: var(--accent);
}

.nav {
  min-height: 5.25rem;
  padding: 1rem 3rem;
  mix-blend-mode: normal;
  background: linear-gradient(to bottom, rgba(8, 10, 9, 0.86), rgba(8, 10, 9, 0));
}

.nav__logo {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  text-transform: none;
}

.nav__logo > span {
  font-size: 1.12rem;
  color: #fff;
}

.nav__logo small {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.68rem;
  font-weight: 500;
}

.nav__links {
  gap: 2rem;
}

.nav__links a {
  color: rgba(255, 255, 255, 0.76);
}

.nav__links a::after {
  position: absolute;
  right: 0;
  bottom: -0.55rem;
  left: 0;
  height: 1px;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 260ms var(--ease-out);
}

.nav__links a:hover,
.nav__links a.is-active {
  color: #fff;
  opacity: 1;
}

.nav__links a:hover::after,
.nav__links a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__cta {
  padding: 0.6rem 1rem;
  border-radius: 5px;
  border-color: rgba(255, 255, 255, 0.32);
}

.nav__menu,
.nav__mobile-panel {
  display: none;
}

.hero__overlay {
  background:
    linear-gradient(90deg, rgba(5, 7, 6, 0.86) 0%, rgba(5, 7, 6, 0.38) 43%, rgba(5, 7, 6, 0.08) 72%),
    linear-gradient(to top, rgba(5, 7, 6, 0.66), transparent 42%);
}

.hero__content {
  align-items: flex-start;
  max-width: 49rem;
  margin: 0;
  padding: 8.5rem 0 5.5rem 6.25vw;
  text-align: left;
}

.hero__tag {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.hero__heading {
  max-width: 47rem;
  font-size: 4.9rem;
  line-height: 1.04;
}

.hero__heading em {
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.hero__sub {
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.66);
  font-size: 1rem;
  line-height: 1.9;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 1.8rem;
}

.btn {
  min-height: 3.1rem;
  border-radius: 5px;
}

.btn--primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #121311;
}

.btn--primary:hover {
  background: #ff8051;
  color: #121311;
}

.hero__text-link {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.36);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  transition: border-color 240ms ease, color 240ms ease;
}

.hero__text-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.material-index {
  right: 2.6rem;
}

.material-index button.is-active::before {
  background: var(--accent);
}

.material-caption {
  left: 6.25vw;
}

.material-caption__title {
  color: var(--accent);
}

.video-transition__frame {
  border-radius: 8px;
}

.video-transition__overlay {
  background: rgba(4, 7, 8, 0.24);
}

.vt-word {
  font-size: 3rem;
}

.vt-dot {
  background: var(--accent);
}

.intro {
  padding: 9rem 3rem 8rem;
  background: #171816;
}

.intro__video {
  opacity: 0.34;
}

.intro__overlay {
  background:
    linear-gradient(90deg, rgba(23, 24, 22, 0.95), rgba(23, 24, 22, 0.56) 58%, rgba(23, 24, 22, 0.78)),
    linear-gradient(to bottom, #171816, transparent 22%, transparent 75%, #171816);
}

.intro__identity {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(17rem, 0.6fr);
  gap: 5rem;
  align-items: center;
}

.intro__heading {
  max-width: 51rem;
  margin-bottom: 0;
  font-size: 3.45rem;
  line-height: 1.22;
}

.intro__portrait {
  position: relative;
  width: min(100%, 25rem);
  min-height: 0;
  aspect-ratio: 1;
  justify-self: end;
  overflow: hidden;
  border-radius: 50%;
  border: 1px solid rgba(241, 234, 223, 0.2);
  background: transparent;
  box-shadow:
    0 0 0 0.45rem rgba(12, 16, 18, 0.3),
    0 1.8rem 5rem rgba(0, 0, 0, 0.34),
    0 0 3.5rem rgba(240, 107, 60, 0.08);
}

.intro__portrait::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(to top, rgba(7, 9, 8, 0.9) 0 16%, rgba(7, 9, 8, 0.42) 30%, transparent 46%);
  box-shadow: inset 0 0 2.5rem rgba(7, 9, 8, 0.24);
  content: "";
  pointer-events: none;
}

.intro__portrait img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  transform: scale(1.025);
  transition: transform 900ms var(--ease-out);
}

.intro__portrait:hover img {
  transform: scale(1.055);
}

.intro__portrait figcaption {
  position: absolute;
  right: 2.4rem;
  bottom: 1.7rem;
  left: 2.4rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  text-align: center;
}

.intro__portrait figcaption span {
  color: var(--accent);
  font-size: 0.72rem;
}

.intro__portrait figcaption strong {
  font-size: 0.82rem;
  font-weight: 500;
}

.intro__cols {
  margin-top: 5.5rem;
  margin-bottom: 2.75rem;
}

.intro__col p {
  color: rgba(241, 234, 223, 0.7);
}

.intro__quote {
  max-width: 51rem;
  margin: 0 0 4.5rem auto;
  padding: 1.5rem 0 1.5rem 2rem;
  border-left: 2px solid var(--accent);
  color: var(--white);
  font-size: 1.35rem;
  line-height: 1.65;
}

.intro__stats {
  gap: 0;
  border-top-color: var(--line);
}

.stat__inner {
  min-height: 10rem;
  padding: 2rem;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.stat:last-child .stat__inner {
  border-right: 0;
}

.stat__inner:hover {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.stat__number {
  color: var(--white);
  background: none;
  font-size: 3.25rem;
  -webkit-text-fill-color: currentColor;
}

.stat__label {
  color: rgba(241, 234, 223, 0.56);
  text-transform: none;
}

.projects {
  --pointer-x: 68%;
  --pointer-y: 32%;
  position: relative;
  z-index: 3;
  padding: 9rem 3rem 10rem;
  overflow: hidden;
  background: #0b0d0c;
  color: var(--white);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.04), inset 0 -1px rgba(255, 255, 255, 0.04);
}

.projects::before,
.projects::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.projects::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, transparent 1%, #000 16%, #000 84%, transparent 99%);
}

.projects::after {
  background: radial-gradient(34rem circle at var(--pointer-x) var(--pointer-y), rgba(240, 107, 60, 0.115), transparent 70%);
  opacity: 0.9;
}

.projects__inner {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(17rem, 0.55fr);
  gap: 5rem;
  align-items: end;
  margin-bottom: 5rem;
}

.section-kicker {
  display: block;
  margin-bottom: 1.4rem;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.section-header h2 {
  font-size: 3.65rem;
  line-height: 1.12;
}

.section-header > p {
  color: rgba(241, 234, 223, 0.58);
  font-size: 0.94rem;
  line-height: 1.8;
}

.projects__layout {
  display: grid;
  grid-template-columns: minmax(17rem, 0.72fr) minmax(0, 1.7fr);
  gap: 4.5rem;
  align-items: start;
}

.project-list {
  border-top: 1px solid rgba(241, 234, 223, 0.16);
}

.project-tab {
  --spot-x: 50%;
  --spot-y: 50%;
  position: relative;
  display: grid;
  grid-template-columns: 2.2rem minmax(0, 1fr) 1.5rem;
  gap: 0.8rem;
  width: 100%;
  min-height: 6.6rem;
  padding: 1.25rem 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(241, 234, 223, 0.14);
  background: transparent;
  color: var(--white);
  text-align: left;
  cursor: pointer;
  transition: color 240ms ease, padding 240ms var(--ease-out), background-color 240ms ease;
}

.project-tab::before {
  position: absolute;
  top: 0;
  bottom: -1px;
  left: -1.1rem;
  width: 3px;
  background: var(--accent);
  content: "";
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 260ms var(--ease-out);
}

.project-tab::after {
  position: absolute;
  inset: 0;
  background: radial-gradient(15rem circle at var(--spot-x) var(--spot-y), rgba(240, 107, 60, 0.13), transparent 66%);
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease;
}

.project-tab > * {
  position: relative;
  z-index: 1;
}

.project-tab:hover,
.project-tab.is-active {
  padding-left: 0.55rem;
  background: rgba(255, 255, 255, 0.025);
}

.project-tab:hover::after,
.project-tab.is-active::after {
  opacity: 1;
}

.project-tab.is-active::before {
  transform: scaleY(1);
}

.project-tab__number,
.project-tab__body small {
  color: rgba(241, 234, 223, 0.46);
  font-size: 0.7rem;
}

.project-tab__body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
}

.project-tab__body strong {
  overflow-wrap: anywhere;
  font-size: 1.05rem;
  font-weight: 650;
}

.project-tab__arrow {
  color: rgba(241, 234, 223, 0.42);
  transition: color 240ms ease, transform 240ms ease;
}

.project-tab.is-active .project-tab__arrow {
  color: var(--accent);
  transform: translate(0.2rem, -0.2rem);
}

.project-detail {
  --project-accent: var(--accent);
  min-width: 0;
}

.project-detail__media {
  --spot-x: 50%;
  --spot-y: 50%;
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  background: #0d1111;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 26px 70px rgba(0, 0, 0, 0.4),
    0 0 44px color-mix(in srgb, var(--project-accent), transparent 88%);
}

.project-detail__media::after {
  position: absolute;
  inset: 0;
  border: 1px solid color-mix(in srgb, var(--project-accent), transparent 48%);
  border-radius: inherit;
  box-shadow: inset 0 0 28px color-mix(in srgb, var(--project-accent), transparent 92%);
  content: "";
  pointer-events: none;
}

.project-detail__media video {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #080b0a;
}

.project-detail__media video[hidden],
.project-demo[hidden] {
  display: none;
}

.project-detail__media-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(28rem circle at var(--spot-x) var(--spot-y), color-mix(in srgb, var(--project-accent), transparent 91%), transparent 63%),
    linear-gradient(to top, rgba(8, 10, 9, 0.58), transparent 35%);
  pointer-events: none;
}

.project-detail__media-label {
  position: absolute;
  right: 1.25rem;
  bottom: 1.1rem;
  left: 1.25rem;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.68rem;
}

.project-demo {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  color: #f4f0e8;
  background: #090c0c;
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
  container-type: inline-size;
}

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

.project-demo.is-paused *,
.project-demo.is-reduced-motion * {
  animation-play-state: paused !important;
}

.pd-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.pd-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 1.65rem;
  color: rgba(238, 241, 236, 0.42);
  font-size: 0.55rem;
  line-height: 1;
  text-transform: uppercase;
}

.pd-safe,
.pd-record {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.pd-safe i,
.pd-record i {
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 50%;
  background: #72d8b1;
  box-shadow: 0 0 0.7rem rgba(114, 216, 177, 0.6);
}

/* Employee enablement demo */
.pd-enable {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 1.6rem;
  padding: 1.15rem 1.55rem 3.2rem;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    #081012;
  background-size: 2rem 2rem;
}

.pd-ambient {
  position: absolute;
  border-radius: 50%;
  filter: blur(3rem);
  opacity: 0.18;
  pointer-events: none;
}

.pd-ambient--one {
  top: -25%;
  left: -5%;
  width: 45%;
  height: 70%;
  background: #16778a;
}

.pd-ambient--two {
  right: -12%;
  bottom: -28%;
  width: 50%;
  height: 70%;
  background: #d5522e;
}

.pd-phone,
.pd-reasoning,
.pd-source,
.pd-preview,
.pd-request,
.pd-sheet {
  position: relative;
  z-index: 1;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 17, 18, 0.9);
  box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, 0.32);
}

.pd-phone {
  align-self: stretch;
  border-radius: 1rem;
  transform: perspective(50rem) rotateY(4deg) rotateX(1deg);
  transform-origin: left center;
}

.pd-phone__bar {
  display: grid;
  grid-template-columns: 1.5rem 1fr 1.5rem;
  align-items: center;
  height: 2.35rem;
  padding: 0 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.66rem;
  text-align: center;
}

.pd-phone__bar strong {
  font-weight: 600;
}

.pd-phone__back,
.pd-phone__more {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.85rem;
}

.pd-phone__body {
  padding: 0.8rem 0.75rem 2.6rem;
}

.pd-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.38rem;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.52rem;
}

.pd-eyebrow span {
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 50%;
  background: #ff7447;
  box-shadow: 0 0 0.55rem rgba(255, 116, 71, 0.72);
}

.pd-scene-tabs {
  display: flex;
  gap: 0.32rem;
  margin-top: 0.62rem;
}

.pd-scene-tabs span,
.pd-answer-tags span {
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.48rem;
}

.pd-scene-tabs span {
  padding: 0.28rem 0.42rem;
  border-radius: 1rem;
  white-space: nowrap;
}

.pd-scene-tabs .is-active {
  border-color: rgba(95, 207, 211, 0.5);
  color: #c8ffff;
  background: rgba(52, 168, 177, 0.13);
}

.pd-message {
  width: 88%;
  margin-top: 0.7rem;
  padding: 0.55rem 0.62rem;
  border-radius: 0.55rem;
  font-size: 0.59rem;
  line-height: 1.55;
}

.pd-message--user {
  margin-left: auto;
  border: 1px solid rgba(83, 196, 204, 0.24);
  background: rgba(44, 135, 143, 0.18);
}

.pd-message--ai {
  width: 94%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.045);
}

.pd-message__tag {
  display: block;
  margin-bottom: 0.22rem;
  color: #ff8a62;
  font-size: 0.46rem;
}

.pd-thinking {
  display: flex;
  align-items: center;
  gap: 0.18rem;
  margin: 0.55rem 0 0 0.25rem;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.48rem;
}

.pd-thinking i {
  width: 0.22rem;
  height: 0.22rem;
  border-radius: 50%;
  background: #60cfd3;
}

.pd-thinking span {
  margin-left: 0.18rem;
}

.pd-answer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem;
  margin-top: 0.45rem;
}

.pd-answer-tags span {
  padding: 0.2rem 0.35rem;
  border-radius: 0.25rem;
}

.pd-phone__input {
  position: absolute;
  right: 0.6rem;
  bottom: 0.55rem;
  left: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 1.7rem;
  padding: 0 0.38rem 0 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.7rem;
  color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.5rem;
}

.pd-phone__input b {
  display: grid;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  color: #071011;
  background: #72d8b1;
  place-items: center;
}

.pd-reasoning {
  align-self: stretch;
  padding: 0.5rem 0.85rem 0.7rem;
  border-radius: 0.42rem;
  background: rgba(10, 15, 16, 0.77);
}

.pd-trace {
  position: relative;
  margin-top: 0.28rem;
}

.pd-trace__rail {
  position: absolute;
  top: 1.2rem;
  bottom: 1.2rem;
  left: 0.74rem;
  width: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.pd-trace__rail span {
  display: block;
  width: 100%;
  height: 42%;
  background: #ff7447;
  box-shadow: 0 0 0.6rem rgba(255, 116, 71, 0.8);
}

.pd-trace__item {
  position: relative;
  display: grid;
  grid-template-columns: 1.5rem 1fr auto;
  align-items: center;
  min-height: 2.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.065);
  opacity: 0.48;
}

.pd-trace__item > b {
  display: grid;
  width: 1.5rem;
  height: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.5);
  background: #0c1213;
  font-size: 0.45rem;
  place-items: center;
}

.pd-trace__item div {
  display: flex;
  flex-direction: column;
  gap: 0.14rem;
  padding-left: 0.75rem;
}

.pd-trace__item small {
  color: rgba(255, 255, 255, 0.32);
  font-size: 0.43rem;
}

.pd-trace__item strong {
  font-size: 0.62rem;
  font-weight: 500;
}

.pd-trace__item em {
  color: #76d8b7;
  font-size: 0.43rem;
  font-style: normal;
}

.pd-confidence {
  margin-top: 0.68rem;
  padding: 0.62rem 0.7rem;
  border: 1px solid rgba(255, 116, 71, 0.17);
  background: rgba(255, 116, 71, 0.045);
}

.pd-confidence > div:first-child {
  display: flex;
  justify-content: space-between;
  font-size: 0.56rem;
}

.pd-confidence > div strong {
  color: #ff8960;
}

.pd-confidence__bar {
  height: 2px;
  margin: 0.45rem 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.pd-confidence__bar i {
  display: block;
  width: 92%;
  height: 100%;
  background: #ff7447;
  box-shadow: 0 0 0.5rem rgba(255, 116, 71, 0.65);
  transform-origin: left;
}

.pd-confidence small {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.45rem;
}

.is-running .pd-message--user {
  animation: pd-rise 10s ease-in-out infinite;
}

.is-running .pd-thinking {
  animation: pd-thinking 10s ease-in-out infinite;
}

.is-running .pd-thinking i:nth-child(1) { animation: pd-dot 0.8s 0s ease-in-out infinite alternate; }
.is-running .pd-thinking i:nth-child(2) { animation: pd-dot 0.8s 0.16s ease-in-out infinite alternate; }
.is-running .pd-thinking i:nth-child(3) { animation: pd-dot 0.8s 0.32s ease-in-out infinite alternate; }
.is-running .pd-message--ai { animation: pd-answer 10s ease-in-out infinite; }
.is-running .pd-answer-tags { animation: pd-answer 10s 0.35s ease-in-out infinite; }
.is-running .pd-trace__rail span { animation: pd-trace-line 10s ease-in-out infinite; }
.is-running .pd-trace__item--1 { animation: pd-trace-step 10s 0s ease-in-out infinite; }
.is-running .pd-trace__item--2 { animation: pd-trace-step 10s 0.7s ease-in-out infinite; }
.is-running .pd-trace__item--3 { animation: pd-trace-step 10s 1.4s ease-in-out infinite; }
.is-running .pd-trace__item--4 { animation: pd-trace-step 10s 2.1s ease-in-out infinite; }
.is-running .pd-confidence__bar i { animation: pd-confidence 10s ease-in-out infinite; }

/* Video pipeline demo */
.pd-pipeline {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.2fr) minmax(0, 0.72fr);
  grid-template-rows: minmax(0, 1fr) 4.3rem;
  gap: 0.8rem 1rem;
  padding: 1.15rem 1.4rem 3.05rem;
  background: #0b0d0f;
}

.pd-grid-lines {
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 1.7rem 1.7rem;
}

.pd-source {
  padding: 0.55rem 0.65rem;
  border-radius: 0.35rem;
  background: rgba(18, 20, 22, 0.92);
}

.pd-file {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.6rem;
  padding: 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.028);
}

.pd-file__icon {
  display: grid;
  width: 1.65rem;
  height: 1.95rem;
  color: white;
  background: #2e65c5;
  font-size: 0.62rem;
  font-weight: 700;
  place-items: center;
}

.pd-file div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.18rem;
}

.pd-file strong {
  overflow: hidden;
  font-size: 0.56rem;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pd-file small,
.pd-source__meta {
  color: rgba(255, 255, 255, 0.34);
  font-size: 0.45rem;
}

.pd-doc-lines {
  display: grid;
  gap: 0.44rem;
  margin-top: 0.85rem;
}

.pd-doc-lines i {
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  transform-origin: left;
}

.pd-doc-lines i:nth-child(2) { width: 82%; }
.pd-doc-lines i:nth-child(3) { width: 91%; }
.pd-doc-lines i:nth-child(4) { width: 68%; }
.pd-doc-lines i:nth-child(5) { width: 77%; }

.pd-source__meta {
  display: flex;
  justify-content: space-between;
  margin-top: 0.9rem;
}

.pd-flow {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 0.28rem;
  min-width: 0;
  padding: 0.2rem 0.7rem;
}

.pd-flow__line {
  position: absolute;
  top: 12%;
  bottom: 12%;
  left: 1.45rem;
  width: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.11);
}

.pd-flow__line i {
  display: block;
  width: 100%;
  height: 28%;
  background: #ff7043;
  box-shadow: 0 0 0.65rem rgba(255, 112, 67, 0.8);
}

.pd-flow__node {
  position: relative;
  display: grid;
  grid-template-columns: 1.45rem 1fr auto;
  align-items: center;
  min-height: 2.15rem;
  padding: 0.25rem 0.45rem 0.25rem 0;
  border: 1px solid transparent;
  opacity: 0.62;
}

.pd-flow__node > i {
  display: grid;
  width: 1.2rem;
  height: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.48);
  background: #0d0f10;
  font-size: 0.4rem;
  font-style: normal;
  place-items: center;
}

.pd-flow__node span {
  font-size: 0.6rem;
}

.pd-flow__node b {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.4rem;
  font-weight: 500;
}

.pd-preview {
  padding: 0.5rem;
  border-radius: 0.35rem;
  background: rgba(12, 14, 15, 0.95);
}

.pd-record i {
  background: #ff5e4f;
}

.pd-preview__screen {
  position: relative;
  height: calc(100% - 1.65rem);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #101316;
}

.pd-scene {
  position: absolute;
  inset: 0;
  padding: 0.8rem;
}

.pd-scene--title {
  background: #172021;
}

.pd-scene--title small {
  color: #ff8158;
  font-size: 0.42rem;
}

.pd-scene--title strong {
  position: absolute;
  top: 35%;
  left: 0.75rem;
  z-index: 1;
  font-size: 0.9rem;
  line-height: 1.15;
}

.pd-scene--title > i {
  position: absolute;
  right: -12%;
  bottom: -8%;
  width: 86%;
  aspect-ratio: 1;
  border: 0.8rem solid #2dd3c3;
  border-radius: 50%;
  opacity: 0.55;
}

.pd-scene--cards {
  display: grid;
  grid-template-columns: 1.2rem 1fr;
  align-content: center;
  gap: 0.35rem 0.5rem;
  background: #f3ece0;
  color: #161817;
  opacity: 0;
}

.pd-scene--cards span {
  color: #ef5b33;
  font-size: 0.48rem;
}

.pd-scene--cards b {
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  padding-bottom: 0.28rem;
  font-size: 0.62rem;
}

.pd-scene--chart {
  display: flex;
  align-items: flex-end;
  gap: 0.35rem;
  background: #101820;
  opacity: 0;
}

.pd-scene--chart small {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.4rem;
}

.pd-scene--chart i {
  width: 13%;
  height: 25%;
  background: #ff7548;
}

.pd-scene--chart i:nth-of-type(2) { height: 42%; }
.pd-scene--chart i:nth-of-type(3) { height: 63%; background: #31c9bd; }
.pd-scene--chart i:nth-of-type(4) { height: 82%; background: #31c9bd; }

.pd-scene--chart strong {
  position: absolute;
  right: 0.65rem;
  top: 38%;
  width: 2.8rem;
  color: #fff;
  font-size: 0.68rem;
  line-height: 1.05;
}

.pd-subtitle {
  position: absolute;
  right: 0.4rem;
  bottom: 0.38rem;
  left: 0.4rem;
  z-index: 3;
  padding: 0.25rem 0.35rem;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(5, 7, 8, 0.72);
  font-size: 0.42rem;
  text-align: center;
}

.pd-timeline {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  min-width: 0;
  padding: 0.35rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(14, 16, 18, 0.92);
}

.pd-timecode {
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.4rem;
}

.pd-timecode strong {
  color: #ff8058;
  font-weight: 500;
}

.pd-tracks {
  position: relative;
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0.12rem 0.4rem;
  margin-top: 0.28rem;
}

.pd-track-label {
  color: rgba(255, 255, 255, 0.28);
  font-size: 0.34rem;
}

.pd-track {
  height: 0.32rem;
  background: repeating-linear-gradient(90deg, rgba(54, 197, 187, 0.7) 0 11%, transparent 11% 12%);
}

.pd-track--voice { background: repeating-linear-gradient(90deg, rgba(101, 136, 216, 0.68) 0 6%, transparent 6% 7%); }
.pd-track--motion { background: repeating-linear-gradient(90deg, rgba(255, 112, 67, 0.78) 0 16%, transparent 16% 17%); }
.pd-track--caption { background: repeating-linear-gradient(90deg, rgba(225, 222, 203, 0.52) 0 8%, transparent 8% 9%); }

.pd-playhead {
  position: absolute;
  top: -0.35rem;
  bottom: -0.1rem;
  left: 2.9rem;
  width: 1px;
  background: #ff6f43;
  box-shadow: 0 0 0.6rem rgba(255, 111, 67, 0.85);
}

.is-running .pd-doc-lines i { animation: pd-doc-scan 9s ease-in-out infinite; }
.is-running .pd-flow__line i { animation: pd-flow-line 9s linear infinite; }
.is-running .pd-flow__node--1 { animation: pd-flow-step 9s 0s ease-in-out infinite; }
.is-running .pd-flow__node--2 { animation: pd-flow-step 9s 0.65s ease-in-out infinite; }
.is-running .pd-flow__node--3 { animation: pd-flow-step 9s 1.3s ease-in-out infinite; }
.is-running .pd-flow__node--4 { animation: pd-flow-step 9s 1.95s ease-in-out infinite; }
.is-running .pd-flow__node--5 { animation: pd-flow-step 9s 2.6s ease-in-out infinite; }
.is-running .pd-scene--title { animation: pd-scene-title 9s infinite; }
.is-running .pd-scene--cards { animation: pd-scene-cards 9s infinite; }
.is-running .pd-scene--chart { animation: pd-scene-chart 9s infinite; }
.is-running .pd-scene--chart i { animation: pd-bars 1.2s ease-in-out infinite alternate; transform-origin: bottom; }
.is-running .pd-playhead { animation: pd-playhead 9s linear infinite; }

/* Quote skill demo */
.pd-quote {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.62fr) minmax(0, 1.32fr);
  gap: 1rem;
  padding: 1.15rem 1.4rem 4.15rem;
  background: #0d100e;
}

.pd-quote__glow {
  position: absolute;
  top: -40%;
  left: 24%;
  width: 52%;
  height: 130%;
  border-radius: 50%;
  background: rgba(181, 139, 66, 0.12);
  filter: blur(3rem);
}

.pd-request,
.pd-sheet {
  align-self: stretch;
  padding: 0.55rem 0.65rem;
  border-radius: 0.35rem;
  background: rgba(16, 19, 17, 0.92);
}

.pd-upload {
  display: grid;
  grid-template-columns: 2.35rem 1fr 1rem;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.5rem;
  padding: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.025);
}

.pd-upload__thumb {
  display: flex;
  align-items: flex-end;
  gap: 0.15rem;
  height: 2.1rem;
  padding: 0.3rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #252b28;
}

.pd-upload__thumb i {
  width: 28%;
  height: 55%;
  background: #aa8141;
}

.pd-upload__thumb i:nth-child(2) { height: 82%; background: #58796b; }
.pd-upload__thumb i:nth-child(3) { height: 68%; background: #d1c5a8; }

.pd-upload div:nth-child(2) {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.14rem;
}

.pd-upload strong {
  overflow: hidden;
  font-size: 0.56rem;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pd-upload small {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.43rem;
}

.pd-upload > b {
  color: #7dc4a4;
  font-size: 0.62rem;
}

.pd-params {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
  margin-top: 0.55rem;
}

.pd-params span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.075);
  background: rgba(255, 255, 255, 0.018);
}

.pd-params small {
  color: rgba(255, 255, 255, 0.32);
  font-size: 0.42rem;
}

.pd-params strong {
  font-size: 0.53rem;
  font-weight: 500;
  white-space: nowrap;
}

.pd-request__prompt {
  margin-top: 0.6rem;
  padding: 0.52rem;
  border-left: 2px solid #b88a43;
  color: rgba(255, 255, 255, 0.57);
  background: rgba(184, 138, 67, 0.07);
  font-size: 0.5rem;
  line-height: 1.4;
}

.pd-request__prompt span {
  margin-right: 0.35rem;
  color: #d5ac68;
}

.pd-agent {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  gap: 0.42rem;
}

.pd-agent__core {
  position: relative;
  display: grid;
  width: 2.65rem;
  height: 2.65rem;
  margin: 0 auto 0.35rem;
  border: 1px solid rgba(207, 166, 94, 0.52);
  border-radius: 50%;
  color: #e7c98d;
  background: #161611;
  box-shadow: 0 0 1.8rem rgba(190, 143, 67, 0.17);
  place-items: center;
}

.pd-agent__core span {
  font-family: Georgia, serif;
  font-size: 1rem;
}

.pd-agent__core i {
  position: absolute;
  width: 0.22rem;
  height: 0.22rem;
  border-radius: 50%;
  background: #d4a95d;
  box-shadow: 0 0 0.6rem #d4a95d;
}

.pd-agent__core i:nth-of-type(1) { top: 0.1rem; left: 50%; }
.pd-agent__core i:nth-of-type(2) { right: 0.15rem; bottom: 0.55rem; }
.pd-agent__core i:nth-of-type(3) { bottom: 0.25rem; left: 0.4rem; }

.pd-agent__step {
  display: grid;
  grid-template-columns: 0.42rem 1fr;
  gap: 0.12rem 0.35rem;
  align-items: center;
  padding: 0.35rem 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.02);
  opacity: 0.62;
}

.pd-agent__step > i {
  width: 0.32rem;
  height: 0.32rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
}

.pd-agent__step span {
  font-size: 0.5rem;
}

.pd-agent__step b {
  grid-column: 2;
  color: #b69254;
  font-size: 0.36rem;
  font-weight: 500;
}

.pd-sheet {
  padding: 0;
  color: #171b18;
  background: #e9e8df;
}

.pd-sheet__bar {
  display: grid;
  grid-template-columns: 2.2rem 1fr auto;
  align-items: center;
  min-height: 1.7rem;
  padding: 0 0.5rem;
  border-bottom: 1px solid rgba(19, 24, 21, 0.15);
  background: #d9ded8;
}

.pd-sheet__bar > div {
  display: flex;
  gap: 0.2rem;
}

.pd-sheet__bar i {
  width: 0.28rem;
  height: 0.28rem;
  border-radius: 50%;
  background: #6f7770;
}

.pd-sheet__bar i:first-child { background: #ce674c; }
.pd-sheet__bar i:nth-child(2) { background: #d2a850; }
.pd-sheet__bar i:nth-child(3) { background: #6ba177; }

.pd-sheet__bar strong {
  font-size: 0.48rem;
  font-weight: 600;
}

.pd-sheet__bar span {
  color: #7c6334;
  font-size: 0.4rem;
}

.pd-sheet__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.7fr 0.8fr 1fr;
  margin: 0.45rem;
  border-top: 1px solid rgba(13, 20, 16, 0.13);
  border-left: 1px solid rgba(13, 20, 16, 0.13);
}

.pd-sheet__grid span {
  min-width: 0;
  padding: 0.42rem 0.35rem;
  border-right: 1px solid rgba(13, 20, 16, 0.13);
  border-bottom: 1px solid rgba(13, 20, 16, 0.13);
  font-size: 0.46rem;
  white-space: nowrap;
}

.pd-sheet__grid .is-head {
  color: rgba(18, 24, 20, 0.58);
  background: rgba(34, 83, 60, 0.08);
  font-weight: 600;
}

.pd-sheet__total {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 0.55rem;
  margin: 0.25rem 0.5rem;
  font-size: 0.46rem;
}

.pd-sheet__total strong {
  color: #73572c;
  font-size: 0.75rem;
}

.pd-review {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.5rem;
  padding: 0.45rem;
  border: 1px solid rgba(47, 119, 82, 0.24);
  background: rgba(47, 119, 82, 0.08);
}

.pd-review > i {
  display: grid;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  color: white;
  background: #367957;
  font-size: 0.55rem;
  font-style: normal;
  place-items: center;
}

.pd-review div {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.pd-review small {
  color: rgba(19, 27, 22, 0.46);
  font-size: 0.36rem;
}

.pd-review strong {
  font-size: 0.5rem;
}

.pd-learning {
  position: absolute;
  right: 1.4rem;
  bottom: 3.15rem;
  left: 1.4rem;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  height: 1.55rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.48rem;
}

.pd-learning i {
  color: #b28a47;
  font-style: normal;
}

.is-running .pd-agent__core { animation: pd-core 2.4s ease-in-out infinite; }
.is-running .pd-agent__step--1 { animation: pd-agent-step 10s 0s ease-in-out infinite; }
.is-running .pd-agent__step--2 { animation: pd-agent-step 10s 0.65s ease-in-out infinite; }
.is-running .pd-agent__step--3 { animation: pd-agent-step 10s 1.3s ease-in-out infinite; }
.is-running .pd-agent__step--4 { animation: pd-agent-step 10s 1.95s ease-in-out infinite; }
.is-running .pd-sheet { animation: pd-sheet-in 10s ease-in-out infinite; }
.is-running .pd-review { animation: pd-review-in 10s ease-in-out infinite; }
.is-running .pd-learning span { animation: pd-learning 10s ease-in-out infinite; }
.is-running .pd-learning span:nth-of-type(2) { animation-delay: 0.7s; }
.is-running .pd-learning span:nth-of-type(3) { animation-delay: 1.4s; }
.is-running .pd-learning span:nth-of-type(4) { animation-delay: 2.1s; }

@keyframes pd-rise {
  0%, 8%, 93%, 100% { opacity: 0; transform: translateY(0.45rem); }
  16%, 88% { opacity: 1; transform: translateY(0); }
}

@keyframes pd-thinking {
  0%, 15%, 53%, 100% { opacity: 0; }
  22%, 46% { opacity: 1; }
}

@keyframes pd-dot {
  to { opacity: 0.25; transform: translateY(-0.12rem); }
}

@keyframes pd-answer {
  0%, 38%, 93%, 100% { opacity: 0; transform: translateY(0.42rem); }
  50%, 88% { opacity: 1; transform: translateY(0); }
}

@keyframes pd-trace-line {
  0% { transform: translateY(-110%); }
  72%, 100% { transform: translateY(340%); }
}

@keyframes pd-trace-step,
           pd-flow-step,
           pd-agent-step {
  0%, 8%, 72%, 100% { border-color: transparent; opacity: 0.58; transform: translateX(0); }
  15%, 43% { border-color: rgba(255, 116, 71, 0.28); opacity: 1; transform: translateX(0.18rem); }
}

@keyframes pd-confidence {
  0%, 38% { transform: scaleX(0.05); }
  56%, 91% { transform: scaleX(1); }
  100% { transform: scaleX(0.05); }
}

@keyframes pd-doc-scan {
  0%, 100% { opacity: 0.34; transform: scaleX(0.4); }
  18%, 78% { opacity: 1; transform: scaleX(1); }
}

@keyframes pd-flow-line {
  from { transform: translateY(-110%); }
  to { transform: translateY(360%); }
}

@keyframes pd-scene-title {
  0%, 25% { opacity: 1; transform: scale(1); }
  33%, 92% { opacity: 0; transform: scale(1.05); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes pd-scene-cards {
  0%, 25%, 66%, 100% { opacity: 0; transform: translateX(8%); }
  34%, 58% { opacity: 1; transform: translateX(0); }
}

@keyframes pd-scene-chart {
  0%, 58%, 94%, 100% { opacity: 0; transform: translateY(8%); }
  68%, 88% { opacity: 1; transform: translateY(0); }
}

@keyframes pd-bars {
  to { transform: scaleY(0.78); }
}

@keyframes pd-playhead {
  from { transform: translateX(0); }
  to { transform: translateX(calc(100cqw - 8.2rem)); }
}

@keyframes pd-core {
  50% { box-shadow: 0 0 2.2rem rgba(213, 169, 91, 0.38); transform: scale(1.04); }
}

@keyframes pd-sheet-in {
  0%, 30% { opacity: 0.78; transform: translateX(0.25rem); }
  46%, 92% { opacity: 1; transform: translateX(0); }
  100% { opacity: 0.78; transform: translateX(0.25rem); }
}

@keyframes pd-review-in {
  0%, 55% { opacity: 0; transform: translateY(0.35rem); }
  68%, 92% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(0.35rem); }
}

@keyframes pd-learning {
  0%, 12%, 75%, 100% { color: rgba(255, 255, 255, 0.38); }
  18%, 45% { color: #e0bd7b; }
}

@media (max-width: 768px) {
  .pd-enable,
  .pd-pipeline,
  .pd-quote {
    gap: 0.45rem;
    padding: 0.7rem 0.75rem 2.65rem;
  }

  .pd-enable {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .pd-phone__bar {
    height: 1.75rem;
  }

  .pd-phone__body {
    padding: 0.45rem 0.42rem 0.5rem;
  }

  .pd-message {
    margin-top: 0.38rem;
    padding: 0.35rem 0.4rem;
    font-size: 0.48rem;
  }

  .pd-thinking {
    margin-top: 0.32rem;
  }

  .pd-message--ai {
    line-height: 1.35;
  }

  .pd-phone__input,
  .pd-answer-tags,
  .pd-confidence small,
  .pd-source__meta,
  .pd-doc-lines i:nth-child(n+4) {
    display: none;
  }

  .pd-reasoning {
    padding: 0.35rem 0.45rem;
  }

  .pd-trace__item {
    min-height: 2rem;
  }

  .pd-trace__item div {
    padding-left: 0.4rem;
  }

  .pd-confidence {
    margin-top: 0.35rem;
    padding: 0.4rem;
  }

  .pd-pipeline {
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr) minmax(0, 0.72fr);
    grid-template-rows: minmax(0, 1fr) 3.7rem;
  }

  .pd-file {
    display: block;
    margin-top: 0.35rem;
    padding: 0.4rem;
  }

  .pd-file__icon {
    width: 1.25rem;
    height: 1.45rem;
    margin-bottom: 0.35rem;
  }

  .pd-flow {
    padding: 0 0.25rem;
  }

  .pd-flow__node {
    grid-template-columns: 1.15rem 1fr;
    min-height: 1.65rem;
  }

  .pd-flow__node b {
    display: none;
  }

  .pd-flow__line {
    left: 0.8rem;
  }

  .pd-preview {
    padding: 0.3rem;
  }

  .pd-preview .pd-panel-head {
    min-height: 1.25rem;
  }

  .pd-preview__screen {
    height: calc(100% - 1.25rem);
  }

  .pd-timeline {
    padding: 0.25rem 0.35rem;
  }

  .pd-quote {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 0.56fr) minmax(0, 1.2fr);
    padding-bottom: 3.65rem;
  }

  .pd-request,
  .pd-sheet {
    padding: 0.35rem;
  }

  .pd-upload {
    display: flex;
    margin-top: 0.3rem;
    padding: 0.35rem;
  }

  .pd-upload__thumb,
  .pd-upload > b,
  .pd-request .pd-panel-head {
    display: none;
  }

  .pd-params {
    grid-template-columns: 1fr;
    gap: 0.18rem;
    margin-top: 0.35rem;
  }

  .pd-params span {
    flex-direction: row;
    justify-content: space-between;
    padding: 0.3rem;
  }

  .pd-request__prompt {
    margin-top: 0.35rem;
    padding: 0.35rem;
  }

  .pd-agent__core {
    width: 2rem;
    height: 2rem;
    margin-bottom: 0.05rem;
  }

  .pd-agent__step {
    padding: 0.26rem;
  }

  .pd-sheet__grid {
    margin: 0.3rem;
  }

  .pd-sheet__grid span {
    padding: 0.32rem 0.2rem;
    font-size: 0.38rem;
  }

  .pd-sheet__total {
    margin: 0.2rem 0.3rem;
  }

  .pd-review {
    margin: 0.3rem;
    padding: 0.3rem;
  }

  .pd-learning {
    right: 0.75rem;
    bottom: 2.65rem;
    left: 0.75rem;
    gap: 0.35rem;
    height: 1.25rem;
    font-size: 0.4rem;
  }
}

.media-live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.media-live i,
.contact__status i {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0.85rem var(--accent);
}

.project-detail__content {
  padding-top: 2.2rem;
}

.project-detail__meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(241, 234, 223, 0.48);
  font-size: 0.72rem;
}

.project-detail__meta span:last-child {
  color: var(--accent);
}

.project-detail__content h3 {
  margin-top: 0.8rem;
  font-size: 2.65rem;
  line-height: 1.18;
}

.project-detail__summary {
  max-width: 48rem;
  margin-top: 1rem;
  color: rgba(241, 234, 223, 0.62);
  font-size: 1rem;
  line-height: 1.8;
}

.project-detail__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2.1rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(241, 234, 223, 0.14);
}

.project-detail__facts dt {
  margin-bottom: 0.6rem;
  color: rgba(241, 234, 223, 0.4);
  font-size: 0.68rem;
}

.project-detail__facts dd {
  color: rgba(241, 234, 223, 0.78);
  font-size: 0.84rem;
  line-height: 1.65;
}

.project-detail__stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.8rem;
}

.project-detail__stack span {
  padding: 0.48rem 0.68rem;
  border: 1px solid rgba(241, 234, 223, 0.16);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.018);
  color: rgba(241, 234, 223, 0.58);
  font-size: 0.7rem;
}

.services {
  padding: 0 3rem;
  overflow: hidden;
  background: #101210;
}

.services__video {
  filter: brightness(0.2) saturate(0.84);
}

.services__inner {
  max-width: 1240px;
  grid-template-columns: 0.8fr 1.25fr;
  gap: 7rem;
}

.services__number {
  color: rgba(241, 234, 223, 0.1);
  font-size: 8rem;
}

.services__eyebrow {
  display: block;
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: 0.72rem;
}

.services__title {
  max-width: 25rem;
  color: var(--white);
  font-size: 2.55rem;
  line-height: 1.2;
  text-transform: none;
}

.services__desc {
  max-width: 24rem;
  color: rgba(241, 234, 223, 0.58);
}

.service-item {
  min-height: 10.2rem;
  align-items: flex-start;
  border-top-color: var(--line);
}

.service-item__index {
  color: var(--accent);
}

.service-item__content h3 {
  font-size: 1.45rem;
}

.service-item__content p {
  color: rgba(241, 234, 223, 0.58);
}

.cinematic__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  filter: brightness(0.72) saturate(0.94);
  will-change: transform;
}

.cinematic__overlay {
  background:
    linear-gradient(90deg, rgba(7, 9, 8, 0.85), rgba(7, 9, 8, 0.25) 55%, rgba(7, 9, 8, 0.66)),
    linear-gradient(to top, rgba(7, 9, 8, 0.92), transparent 52%);
}

.cinematic__content {
  width: min(86vw, 1240px);
  margin: 0 auto;
}

.journey__label {
  display: block;
  margin-bottom: 1.25rem;
  color: var(--accent);
  font-size: 0.72rem;
  opacity: 0;
  visibility: hidden;
  will-change: transform, opacity;
}

.cinematic__heading {
  max-width: 52rem;
  font-size: 3.55rem;
  line-height: 1.15;
}

.journey__timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  width: 100%;
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  opacity: 0;
  visibility: hidden;
  will-change: opacity;
}

.journey-step {
  min-height: 9rem;
  padding: 1.25rem;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(8, 10, 9, 0.38);
  backdrop-filter: blur(4px);
}

.journey-step__year {
  color: var(--accent);
  font-size: 0.66rem;
}

.journey-step h3 {
  margin-top: 0.5rem;
  font-size: 0.98rem;
}

.journey-step p {
  margin-top: 0.45rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.75rem;
  line-height: 1.55;
}

.cinematic__counter {
  right: 2.2rem;
  bottom: 1.7rem;
}

.contact {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: 9rem 3rem 3rem;
  overflow: hidden;
  background: #090b0a;
  color: var(--white);
}

.contact::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  pointer-events: none;
}

.contact::before {
  background-image: radial-gradient(circle, rgba(241, 234, 223, 0.115) 1px, transparent 1.25px);
  background-size: 26px 26px;
  mask-image: linear-gradient(105deg, transparent 4%, rgba(0, 0, 0, 0.72) 42%, #000 77%, transparent 100%);
  opacity: 0.46;
}

.contact__orb {
  position: absolute;
  top: 50%;
  left: 68%;
  z-index: 0;
  width: clamp(30rem, 72vw, 58rem);
  aspect-ratio: 1;
  opacity: 0.76;
  pointer-events: none;
  transform: translate(-50%, -50%);
  filter: saturate(0.82) contrast(1.04);
}

.contact__orb canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.contact__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1240px;
}

.contact__content::before {
  position: absolute;
  top: -3.5rem;
  right: 0;
  left: 0;
  height: 1px;
  background:
    linear-gradient(90deg, transparent 0 35%, rgba(255, 255, 255, 0.12) 45% 55%, transparent 65%) 0 0 / 100% 1px no-repeat,
    linear-gradient(90deg, transparent, var(--accent), transparent) -20rem 0 / 20rem 1px no-repeat;
  content: "";
  animation: contact-beam 8s linear infinite;
}

@keyframes contact-beam {
  to {
    background-position: 0 0, calc(100% + 20rem) 0;
  }
}

.contact__label {
  color: rgba(241, 234, 223, 0.48);
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(19rem, 0.65fr);
  gap: 4rem;
  align-items: center;
}

.contact__heading {
  max-width: 44rem;
  font-size: 3.65rem;
  line-height: 1.12;
}

.contact__description {
  max-width: 36rem;
  margin-top: 1.8rem;
  color: rgba(241, 234, 223, 0.58);
  font-size: 1rem;
  line-height: 1.85;
}

.contact__channels {
  border-top: 1px solid rgba(241, 234, 223, 0.16);
}

.contact-channel {
  --spot-x: 50%;
  --spot-y: 50%;
  position: relative;
  display: grid;
  grid-template-columns: 4.25rem minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  width: 100%;
  min-height: 5.25rem;
  overflow: hidden;
  padding: 1rem 0.8rem;
  border-bottom: 1px solid rgba(241, 234, 223, 0.14);
  background: transparent;
  color: var(--white);
  text-align: left;
  cursor: pointer;
  transition: border-color 220ms ease, background-color 220ms ease, transform 260ms var(--ease-out);
}

.contact-channel::before {
  position: absolute;
  inset: 0;
  background: radial-gradient(15rem circle at var(--spot-x) var(--spot-y), rgba(240, 107, 60, 0.16), transparent 68%);
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.contact-channel > * {
  position: relative;
  z-index: 1;
}

.contact-channel span,
.contact-channel i {
  color: rgba(241, 234, 223, 0.46);
  font-size: 0.7rem;
  font-style: normal;
}

.contact-channel strong {
  overflow-wrap: anywhere;
  font-size: 0.92rem;
  font-weight: 600;
}

.contact-channel i {
  display: grid;
  place-items: center;
  min-width: 3.4rem;
  min-height: 2rem;
  border: 1px solid rgba(241, 234, 223, 0.14);
  border-radius: 4px;
  transition: border-color 220ms ease, color 220ms ease;
}

.contact-channel:hover {
  border-color: rgba(240, 107, 60, 0.5);
  background: rgba(255, 255, 255, 0.025);
  transform: translateX(0.35rem);
}

.contact-channel:hover::before {
  opacity: 1;
}

.contact-channel:hover i {
  border-color: rgba(240, 107, 60, 0.52);
  color: var(--accent);
}

.contact-qr {
  margin-top: 1.5rem;
}

.contact-qr img {
  width: 9rem;
  aspect-ratio: 1;
  border-radius: 4px;
}

.contact-qr figcaption {
  margin-top: 0.5rem;
  color: rgba(241, 234, 223, 0.48);
  font-size: 0.7rem;
}

.contact__footer {
  margin-top: 7rem;
  border-top-color: rgba(241, 234, 223, 0.14);
}

.contact__copy,
.contact__status {
  color: rgba(241, 234, 223, 0.44);
  font-size: 0.72rem;
}

.contact__status {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

@media (max-width: 1180px) {
  .hero__heading {
    font-size: 4rem;
  }

  .hero__content {
    max-width: 43rem;
  }

  .section-header h2,
  .cinematic__heading {
    font-size: 3.1rem;
  }

  .projects__layout {
    gap: 3rem;
  }
}

@media (max-width: 900px) {
  section[id] {
    scroll-margin-top: 5.5rem;
  }

  .nav {
    min-height: 4.75rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(7, 9, 8, 0.76);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: transform 0.32s var(--ease-out), background-color 0.25s ease;
  }

  .nav.is-hidden {
    transform: translateY(calc(-100% - 2px));
  }

  .nav__links {
    display: none;
  }

  .nav__menu {
    position: relative;
    z-index: 2;
    display: grid;
    place-content: center;
    gap: 4px;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 5px;
    background: rgba(8, 10, 9, 0.72);
    cursor: pointer;
  }

  .nav__menu span {
    width: 1rem;
    height: 1px;
    background: #fff;
    transition: transform 240ms ease, opacity 240ms ease;
  }

  .nav-open .nav__menu span:first-child {
    transform: translateY(5px) rotate(45deg);
  }

  .nav-open .nav__menu span:nth-child(2) {
    opacity: 0;
  }

  .nav-open .nav__menu span:last-child {
    transform: translateY(-5px) rotate(-45deg);
  }

  .nav__mobile-panel {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    padding: 6rem 1.5rem 3rem;
    background: rgba(12, 14, 13, 0.98);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-1rem);
    transition: opacity 240ms ease, visibility 240ms ease, transform 240ms ease;
  }

  .nav-open .nav__mobile-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav__mobile-panel a {
    display: grid;
    grid-template-columns: 2.5rem 1fr;
    align-items: center;
    min-height: 4.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .nav__mobile-panel span {
    color: var(--accent);
    font-size: 0.66rem;
  }

  .nav__mobile-panel strong {
    font-size: 1.55rem;
    font-weight: 550;
  }

  .nav-open {
    overflow: hidden;
  }

  .intro__identity,
  .section-header,
  .projects__layout,
  .services__inner,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .intro__identity,
  .section-header,
  .contact__grid {
    gap: 3rem;
  }

  .intro__portrait {
    width: min(100%, 29rem);
    justify-self: start;
  }

  .project-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .project-tab {
    grid-template-columns: 1.5rem minmax(0, 1fr);
    min-height: 8.5rem;
    padding: 1rem;
    border-right: 1px solid rgba(241, 234, 223, 0.14);
  }

  .project-tab__arrow {
    display: none;
  }

  .project-tab::before {
    top: auto;
    right: 0;
    bottom: -1px;
    left: 0;
    width: auto;
    height: 3px;
    transform: scaleX(0);
  }

  .project-tab.is-active::before {
    transform: scaleX(1);
  }

  .project-tab:hover,
  .project-tab.is-active {
    padding-left: 1rem;
  }

  .services__inner {
    gap: 0;
  }

  .services__left,
  .services__right {
    padding: 7rem 0 0;
  }

  .services__right {
    padding-bottom: 7rem;
  }

  .services__sticky {
    position: relative;
    top: 0;
  }

  .services__number {
    font-size: 6rem;
  }

  .journey__timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .hero {
    height: 360vh;
  }

  .video-transition {
    height: 240vh;
  }

  .cinematic {
    height: 300vh;
  }

  .hero__content {
    justify-content: flex-end;
    padding: 6.5rem 1.25rem 8.5rem;
  }

  .hero__heading {
    max-width: 22rem;
    font-size: 2.65rem;
    line-height: 1.12;
  }

  .hero__sub {
    max-width: 22rem;
    font-size: 0.88rem;
    line-height: 1.72;
  }

  .hero__actions {
    gap: 1.2rem;
    margin-top: 1rem;
  }

  .btn {
    padding: 0.8rem 1rem;
  }

  .material-caption {
    bottom: 3.8rem;
  }

  .material-index {
    gap: 0.3rem;
  }

  .material-index button {
    width: 2.75rem;
    min-height: 2.75rem;
  }

  .intro,
  .projects,
  .contact {
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }

  .intro {
    padding-top: 7rem;
    padding-bottom: 6rem;
  }

  .intro__heading,
  .section-header h2,
  .cinematic__heading,
  .contact__heading {
    font-size: 2.35rem;
  }

  .intro__portrait,
  .intro__portrait img {
    min-height: 0;
  }

  .intro__cols {
    grid-template-columns: 1fr;
    gap: 1.4rem;
    margin-top: 3.5rem;
  }

  .intro__quote {
    margin: 0 0 3.5rem;
    padding-left: 1.2rem;
    font-size: 1.08rem;
  }

  .intro__stats {
    grid-template-columns: 1fr;
  }

  .stat__inner {
    min-height: 7.5rem;
    padding: 1.4rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stat__number {
    font-size: 2.45rem;
  }

  .video-transition__text {
    gap: 0.75rem;
  }

  .vt-word {
    font-size: 1.35rem;
  }

  .vt-dot {
    width: 4px;
    height: 4px;
  }

  .projects {
    padding-top: 6rem;
    padding-bottom: 7rem;
  }

  .section-header {
    margin-bottom: 3rem;
  }

  .project-list {
    grid-template-columns: 1fr;
  }

  .project-tab {
    grid-template-columns: 2rem minmax(0, 1fr) 1.5rem;
    min-height: 5.8rem;
    padding: 1rem 0;
    border-right: 0;
  }

  .project-tab__arrow {
    display: inline;
  }

  .project-tab::before {
    top: 0;
    right: auto;
    bottom: -1px;
    left: -0.6rem;
    width: 3px;
    height: auto;
    transform: scaleY(0);
  }

  .project-tab.is-active::before {
    transform: scaleY(1);
  }

  .project-tab:hover,
  .project-tab.is-active {
    padding-left: 0.4rem;
  }

  .project-detail__media {
    aspect-ratio: 4 / 3;
  }

  .project-detail__content h3 {
    font-size: 2rem;
  }

  .project-detail__facts {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .services {
    padding: 0 1.25rem;
  }

  .services__title {
    font-size: 2.15rem;
  }

  .service-item {
    min-height: auto;
    gap: 1.2rem;
    padding: 2rem 0;
    transform: translateY(18px);
  }

  .service-item.is-active {
    transform: translateY(0);
  }

  .cinematic__content {
    width: calc(100vw - 2.5rem);
  }

  .cinematic__heading {
    max-width: 21rem;
  }

  .journey__timeline {
    margin-top: 2rem;
  }

  .journey-step {
    min-height: 8.5rem;
    padding: 0.9rem;
  }

  .journey-step h3 {
    font-size: 0.86rem;
  }

  .journey-step p {
    font-size: 0.68rem;
  }

  .cinematic__counter {
    display: none;
  }

  .contact {
    padding-top: 7rem;
    padding-bottom: 3rem;
  }

  .contact__orb {
    top: 57%;
    left: 80%;
    opacity: 0.5;
  }

  .contact-channel {
    grid-template-columns: 4rem minmax(0, 1fr) auto;
  }

  .contact__footer {
    gap: 1rem;
    margin-top: 6rem;
  }
}

@media (max-width: 430px) {
  .nav__logo small {
    display: none;
  }

  .hero__heading {
    font-size: 2.35rem;
  }

  .hero__tag {
    max-width: calc(100vw - 2.5rem);
    font-size: 0.64rem;
    line-height: 1.5;
  }

  .hero__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.6rem;
  }

  .material-index {
    right: 1rem;
  }

  .intro__heading,
  .section-header h2,
  .cinematic__heading,
  .contact__heading {
    font-size: 2.05rem;
  }

  .journey-step p {
    display: none;
  }

  .journey-step {
    min-height: 6.3rem;
  }

  .contact-channel {
    grid-template-columns: 3.6rem minmax(0, 1fr) auto;
    gap: 0.7rem;
  }
}

@media (max-width: 360px) {
  .intro__heading,
  .section-header h2,
  .cinematic__heading,
  .contact__heading {
    font-size: 1.82rem;
  }
}

@media (max-height: 500px) and (orientation: landscape) {
  section[id] {
    scroll-margin-top: 4.5rem;
  }

  .nav {
    min-height: 3.75rem;
    padding: 0.5rem 1.25rem;
  }

  .nav__logo small {
    display: none;
  }

  .nav__menu {
    width: 2.75rem;
    height: 2.75rem;
  }

  .hero__content {
    width: 72vw;
    max-width: 38rem;
    justify-content: center;
    padding: 4.25rem 1.5rem 2.75rem 4.5rem;
  }

  .hero__tag {
    margin-bottom: 0.55rem;
    font-size: 0.6rem;
  }

  .hero__heading {
    margin-bottom: 0.65rem;
    font-size: 2.45rem;
    line-height: 1.02;
  }

  .hero__sub {
    max-width: 34rem;
    margin-bottom: 0.55rem;
    font-size: 0.76rem;
    line-height: 1.45;
  }

  .hero__actions {
    flex-direction: row;
    align-items: center;
    gap: 1.1rem;
    margin-top: 0.55rem;
  }

  .hero__actions .btn {
    min-height: 2.45rem;
    padding: 0.55rem 0.9rem;
  }

  .hero__text-link {
    padding: 0.55rem 0;
  }

  .hero__scroll-indicator {
    display: none;
  }

  .material-index {
    right: 1.25rem;
  }

  .material-index button {
    min-height: 2.75rem;
  }

  .material-caption {
    left: 1.5rem;
    bottom: 0.9rem;
  }

  .video-transition {
    height: 220vh;
  }

  .intro,
  .projects,
  .contact {
    padding-right: 2rem;
    padding-left: 2rem;
  }

  .intro {
    padding-top: 5.5rem;
    padding-bottom: 4rem;
  }

  .intro__heading,
  .section-header h2,
  .contact__heading {
    font-size: 2.25rem;
  }

  .intro__portrait {
    width: min(100%, 17rem);
  }

  .projects {
    padding-top: 5rem;
    padding-bottom: 6rem;
  }

  .section-header {
    gap: 1.5rem;
    margin-bottom: 2.5rem;
  }

  .services {
    padding: 0 2rem;
  }

  .services__inner {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 2.25rem;
  }

  .services__left,
  .services__right {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .services__number {
    font-size: 4rem;
  }

  .services__title {
    font-size: 1.75rem;
  }

  .services__desc {
    font-size: 0.78rem;
  }

  .service-item {
    min-height: auto;
    padding: 1.25rem 0;
    transform: translateY(14px);
  }

  .service-item.is-active {
    transform: translateY(0);
  }

  .cinematic {
    height: 300vh;
  }

  .cinematic__content {
    width: calc(100vw - 4rem);
  }

  .journey__label {
    margin-bottom: 0.55rem;
  }

  .cinematic__heading {
    max-width: 34rem;
    font-size: 1.9rem;
    line-height: 1.08;
  }

  .journey__timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 1rem;
  }

  .journey-step {
    min-height: 4.8rem;
    padding: 0.55rem;
  }

  .journey-step h3 {
    margin-top: 0.25rem;
    font-size: 0.68rem;
  }

  .journey-step p {
    display: none;
  }

  .contact {
    min-height: 100vh;
    padding-top: 4.5rem;
    padding-bottom: 1.5rem;
  }

  .contact__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(15rem, 0.9fr);
    gap: 2rem;
  }

  .contact__description {
    margin-top: 0.8rem;
    font-size: 0.78rem;
    line-height: 1.55;
  }

  .contact-channel {
    min-height: 3.5rem;
    padding: 0.55rem 0.7rem;
  }

  .contact__footer {
    margin-top: 1.5rem;
  }
}

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