@font-face {
  font-family: "Syne";
  src: url("./assets/fonts/syne-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Syne";
  src: url("./assets/fonts/syne-bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700; /* 800 (ExtraBold) now comes from Google Fonts, used by PRICE */
  font-display: swap;
}

@font-face {
  font-family: "TT Firs Neue";
  src: url("./assets/fonts/tt-firs-neue-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Unbounded";
  src: url("./assets/fonts/unbounded-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Unbounded";
  src: url("./assets/fonts/unbounded-medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Unbounded";
  src: url("./assets/fonts/unbounded-semibold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Unbounded";
  src: url("./assets/fonts/unbounded-bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "TT Firs Neue";
  src: url("./assets/fonts/tt-firs-neue-demibold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --ink: #0c0f11;
  --paper: #eefdd0;
  --accent: #b7ff51;
  --card-radius: 26px;
  color-scheme: dark;
  font-family: "Geologica", sans-serif;
  background: var(--ink);
  color: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ink);
  scroll-behavior: smooth;
  scrollbar-width: none;
}

html::-webkit-scrollbar {
  display: none;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background:
    radial-gradient(circle at 50% 15%, rgba(183, 255, 81, 0.07), transparent 28rem),
    var(--ink);
}

.intro-story {
  position: relative;
  height: 360svh;
  color: #fff;
  background: var(--ink);
}

.intro-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  isolation: isolate;
  background: #171717 url("./assets/intro-background.jpg") center center / cover no-repeat;
}

.intro-stage::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: rgba(12, 15, 17, 0.08);
}

.intro-copy {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  padding: 28px 9vw;
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 700ms ease, transform 900ms cubic-bezier(0.18, 0.78, 0.2, 1);
}

.intro-copy.is-active {
  opacity: 1;
  transform: translateY(0);
}

.intro-copy h1 {
  max-width: none;
  margin: 0;
  color: var(--accent);
  font: 500 clamp(33px, 9vw, 72px)/0.94 "Syne", sans-serif;
  letter-spacing: -0.055em;
  transition: opacity 900ms ease, transform 1100ms cubic-bezier(0.18, 0.78, 0.2, 1);
}

.intro-copy--one h1 {
  align-self: center;
  justify-self: center;
  margin-top: 0;
  color: var(--accent);
  text-align: center;
  letter-spacing: -0.045em;
}

.intro-copy--one h1 span {
  display: block;
  color: var(--paper);
}

.intro-copy--two h1 {
  align-self: center;
  justify-self: start;
  margin-left: 7vw;
  max-width: 10ch;
  color: var(--paper);
  font-weight: 400;
  letter-spacing: -0.045em;
}

.intro-copy--two strong {
  display: block;
  color: var(--accent);
  font-weight: 700;
  font-weight: 600;
}

.intro-copy--three h1 {
  align-self: end;
  justify-self: start;
  margin-bottom: 20vh;
  margin-left: 18vw;
  max-width: 12ch;
  text-align: left;
  color: var(--accent);
  font: 700 clamp(64px, 20vw, 160px)/0.78 "Syne", sans-serif; /* was 800, which rendered this same Bold file */
  letter-spacing: -0.09em;
}

.intro-progress {
  position: absolute;
  top: max(24px, env(safe-area-inset-top));
  right: 9vw;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.52);
  font: 500 10px/1 "Unbounded", sans-serif;
}

.intro-progress span:first-child { color: #fff; }
.intro-progress i { width: 28px; height: 1px; background: rgba(255, 255, 255, 0.4); }

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.work-gallery {
  position: relative;
  height: 700svh;
  isolation: isolate;
}

.gallery-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 620px;
  overflow: clip;
  perspective: 1100px;
}

.gallery-stage::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    radial-gradient(circle at 50% 48%, rgba(238, 253, 208, 0.05), transparent 45%),
    linear-gradient(180deg, #0c0f11 0%, #0a0c0e 100%);
}

.gallery-stage::after {
  position: absolute;
  inset: auto 9% 7% 9%;
  z-index: -1;
  height: 14%;
  border-radius: 50%;
  content: "";
  background: rgba(0, 0, 0, 0.66);
  filter: blur(36px);
  transform: perspective(400px) rotateX(68deg);
}

.gallery-meta {
  position: absolute;
  z-index: 20;
  top: max(20px, env(safe-area-inset-top));
  left: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "TT Firs Neue", sans-serif;
}

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.counter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-style: normal;
  color: rgba(238, 253, 208, 0.48);
}

.counter b {
  font-weight: 400;
  color: var(--paper);
}

.counter i {
  width: 18px;
  height: 1px;
  background: rgba(238, 253, 208, 0.24);
}

.sound-toggle {
  position: absolute;
  z-index: 30;
  top: max(14px, env(safe-area-inset-top));
  right: 14px;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  border: 1px solid rgba(238, 253, 208, 0.18);
  border-radius: 0;
  color: var(--paper);
  background: rgba(12, 15, 17, 0.64);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
  font: 400 10px/1 "Geologica", sans-serif;
  backdrop-filter: blur(16px);
  cursor: pointer;
  transition: color 220ms ease, background 220ms ease, border-color 220ms ease, opacity 220ms ease, transform 220ms ease;
}

.sound-toggle[aria-pressed="true"] {
  border-color: var(--accent);
  color: var(--ink);
  background: var(--accent);
}

.sound-toggle.is-hidden {
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}

.sound-icon {
  display: flex;
  height: 12px;
  align-items: center;
  gap: 2px;
}

.sound-icon i {
  width: 2px;
  height: 5px;
  border-radius: 2px;
  background: currentColor;
  animation: equalizer 760ms ease-in-out infinite alternate;
  animation-play-state: paused;
}

.sound-icon i:nth-child(2) {
  height: 10px;
  animation-delay: -320ms;
}

.sound-icon i:nth-child(3) {
  height: 7px;
  animation-delay: -120ms;
}

.sound-toggle[aria-pressed="true"] .sound-icon i {
  animation-play-state: running;
}

@keyframes equalizer {
  to { transform: scaleY(0.35); }
}

.card-ring {
  --radius: min(86vw, 400px);
  --ring-angle: 0deg;
  position: absolute;
  z-index: 10;
  top: 50%;
  left: 50%;
  width: min(72vw, 360px);
  height: min(72svh, 690px);
  min-height: 510px;
  transform-style: preserve-3d;
  transform:
    translate(-50%, -48%)
    translateZ(calc(var(--radius) * -1))
    rotateY(var(--ring-angle));
  transition: transform 1250ms cubic-bezier(0.18, 0.78, 0.2, 1);
  will-change: transform;
}

.work-card {
  --card-angle: 0deg;
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 1px solid rgba(238, 253, 208, 0.1);
  border-radius: 0;
  opacity: 0.16;
  background: #111517;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  transform: rotateY(var(--card-angle)) translateZ(var(--radius));
  transform-origin: 50% 50%;
  transition: opacity 760ms ease, filter 760ms ease;
  will-change: opacity;
  pointer-events: none;
  filter: saturate(0.62) brightness(0.72);
  backface-visibility: hidden;
}

.work-card.is-visible {
  opacity: 0.52;
  filter: saturate(0.78) brightness(0.82);
}

.work-card.is-active {
  opacity: 1;
  pointer-events: auto;
  filter: none;
}

.work-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #111517;
}

.card-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 15, 17, 0.02) 36%, rgba(12, 15, 17, 0.18) 54%, rgba(12, 15, 17, 0.92) 100%),
    linear-gradient(90deg, rgba(12, 15, 17, 0.13), transparent 24%, transparent 76%, rgba(12, 15, 17, 0.12));
  pointer-events: none;
}

.card-copy {
  position: absolute;
  right: 20px;
  bottom: max(22px, env(safe-area-inset-bottom));
  left: 20px;
  z-index: 2;
  transform: none;
  opacity: 0;
  transition: opacity 620ms ease;
}

.work-card.is-active .card-copy {
  opacity: 1;
}

.card-copy h2 {
  max-width: 15ch;
  margin: 0 0 20px;
  font: 600 clamp(28px, 8vw, 34px)/0.98 "TT Firs Neue", sans-serif;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.card-copy p {
  max-width: 29ch;
  margin: 0;
  color: rgba(238, 253, 208, 0.7);
  font: 300 16px/1.35 "Geologica", sans-serif;
  text-wrap: pretty;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
  margin-top: 22px;
}

.gallery-cta {
  position: absolute;
  right: 20px;
  bottom: max(18px, env(safe-area-inset-bottom) + 12px);
  left: 20px;
  z-index: 16;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 320ms ease, transform 420ms ease;
}

.gallery-cta.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (max-width: 699px) {
  .gallery-cta {
    gap: 12px;
  }

  .gallery-cta .primary-action {
    width: 100%;
    min-width: 0;
  }

  .gallery-cta .primary-action img {
    width: 100%;
    height: 56px;
  }

  .gallery-cta .text-action {
    margin-top: 4px;
  }
}

/* Last card (all screen sizes): lift and shorten the card so the CTA sits below it, not on top. */
.card-ring {
  transition:
    transform 1250ms cubic-bezier(0.18, 0.78, 0.2, 1),
    top 700ms cubic-bezier(0.18, 0.78, 0.2, 1),
    height 700ms cubic-bezier(0.18, 0.78, 0.2, 1);
}

.work-gallery.is-cta-active .card-ring {
  top: calc(max(20px, env(safe-area-inset-top)) + 48px);
  height: min(72svh, 690px, calc(100% - max(20px, env(safe-area-inset-top)) - 48px - 150px - max(18px, env(safe-area-inset-bottom) + 12px)));
  min-height: 0;
  transform:
    translate(-50%, 0)
    translateZ(calc(var(--radius) * -1))
    rotateY(var(--ring-angle));
}

.work-gallery.is-cta-active .gesture-hint {
  opacity: 0;
}

.primary-action,
.text-action {
  font: 500 12px/1 "Geologica", sans-serif;
  text-decoration: none;
}

.primary-action {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 15px;
  border-radius: 0;
  color: var(--ink);
  background: var(--accent);
}

.primary-action span:last-child {
  font-size: 18px;
  line-height: 0.7;
}

.text-action {
  padding: 10px 0;
  color: var(--paper);
  border-bottom: 1px solid rgba(238, 253, 208, 0.44);
}

.progress-rail {
  position: absolute;
  z-index: 20;
  top: 50%;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  transform: translateY(-50%);
}

.progress-rail span {
  width: 3px;
  height: 14px;
  border-radius: 5px;
  background: rgba(238, 253, 208, 0.18);
  transition: height 320ms ease, background 320ms ease;
}

.progress-rail span.is-active {
  height: 31px;
  background: var(--accent);
}

.gesture-hint {
  position: absolute;
  z-index: 20;
  bottom: max(12px, env(safe-area-inset-bottom));
  left: 50%;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: rgba(238, 253, 208, 0.48);
  font: 300 9px/1 "Geologica", sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transform: translateX(-50%);
  transition: opacity 300ms ease;
}

.gesture-hint i {
  position: relative;
  display: block;
  width: 1px;
  height: 22px;
  overflow: hidden;
  background: rgba(238, 253, 208, 0.2);
}

.gesture-hint i::after {
  position: absolute;
  inset: 0;
  content: "";
  background: var(--accent);
  transform: translateY(-100%);
  animation: scroll-line 1.8s ease-in-out infinite;
}

@keyframes scroll-line {
  0% { transform: translateY(-100%); }
  55%, 100% { transform: translateY(100%); }
}

.gallery-steps {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.gallery-step {
  height: 100svh;
}

.about-story {
  position: relative;
  height: 500svh;
  color: var(--paper);
  background: var(--ink);
}

.about-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 47%, rgba(183, 255, 81, 0.09), transparent 34%),
    var(--ink);
}

.about-background-video {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 1;
  filter: none;
  pointer-events: none;
}

.portrait-ghost,
.about-stage::before,
.about-stage::after {
  display: none;
}

.about-stage::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(90deg, transparent 49.85%, rgba(238, 253, 208, 0.08) 50%, transparent 50.15%),
    linear-gradient(0deg, transparent 49.85%, rgba(238, 253, 208, 0.06) 50%, transparent 50.15%);
}

.portrait-ghost {
  position: absolute;
  z-index: -1;
  top: 17%;
  left: 50%;
  width: min(72vw, 360px);
  height: 78%;
  border-radius: 48% 48% 24px 24px;
  opacity: 0.72;
  background:
    radial-gradient(circle at 50% 22%, rgba(238, 253, 208, 0.15) 0 14%, transparent 14.5%),
    radial-gradient(ellipse at 50% 72%, rgba(238, 253, 208, 0.09) 0 34%, transparent 34.5%);
  filter: blur(2px);
  transform: translateX(-50%) scale(var(--portrait-scale, 1));
  transition: transform 900ms cubic-bezier(0.18, 0.76, 0.2, 1), opacity 600ms ease;
}

.about-panel {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  padding: max(28px, env(safe-area-inset-top)) 22px max(38px, env(safe-area-inset-bottom));
  opacity: 0;
  transform: translateY(36px) scale(0.94);
  filter: blur(8px);
  pointer-events: none;
  transition:
    opacity 520ms ease,
    transform 760ms cubic-bezier(0.18, 0.76, 0.2, 1),
    filter 520ms ease;
}

.about-panel.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: none;
}

.about-kicker {
  margin: 0 0 18px;
  color: var(--accent);
  font: 500 10px/1 "Geologica", sans-serif;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.about-panel h2 {
  margin: 0;
  font-family: "TT Firs Neue", sans-serif;
  font-weight: 600;
  letter-spacing: -0.055em;
}

.about-panel--name {
  align-content: start;
  padding-top: 10svh;
}

.about-panel--name h2 {
  font-size: clamp(42px, 13vw, 64px);
  line-height: 0.82;
}

.about-panel--name h2 span:first-child {
  color: var(--ink);
}

.about-panel--name h2 span {
  display: block;
}

.about-panel--name h2 span:last-child {
  color: var(--accent);
  text-align: right;
}

.about-panel--profession {
  align-content: start;
  padding-top: calc(63svh + 150px);
}

.about-panel--profession h2 {
  max-width: 24ch;
  font: 400 clamp(15px, 4.3vw, 21px)/1.15 "Geologica", sans-serif;
  letter-spacing: -0.02em;
}

.about-panel--profession h2 i {
  color: var(--accent);
  font-style: normal;
}

.about-panel--stat {
  place-items: center;
}

.stat-type {
  display: grid;
  gap: 7px;
  text-align: center;
}

.stat-type strong {
  font: 600 clamp(64px, 19vw, 92px)/0.82 "TT Firs Neue", sans-serif;
  letter-spacing: -0.07em;
}

.stat-type span {
  font: 400 clamp(14px, 4vw, 19px)/1.1 "Geologica", sans-serif;
  opacity: 0.68;
}

.stat-type--accent strong {
  color: var(--accent);
}

.about-panel--manifesto {
  align-content: start;
  padding-top: 0;
  padding-bottom: 0;
}

/* Sits on the dark T-shirt area, centred at ~80% of the screen height. */
.manifesto-copy {
  position: absolute;
  top: 80%;
  right: 22px;
  left: 22px;
  transform: translateY(-50%);
  width: auto;
  max-width: none;
  margin: 0;
  font: 400 clamp(15.6px, 4.29vw, 21.6px)/1.22 "Geologica", sans-serif;
  letter-spacing: -0.025em;
  text-align: center;
  text-wrap: balance;
}

.about-progress {
  position: absolute;
  top: max(22px, env(safe-area-inset-top));
  right: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(238, 253, 208, 0.45);
  font: 400 10px/1 "Geologica", sans-serif;
}

.about-progress span:first-child {
  color: var(--paper);
}

.about-progress i {
  width: 22px;
  height: 1px;
  background: rgba(238, 253, 208, 0.22);
}

.process-story {
  position: relative;
  height: 620svh;
  color: var(--paper);
  background: var(--ink);
}

.process-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 38% 42%, rgba(183, 255, 81, 0.17), transparent 26%),
    radial-gradient(circle at 74% 62%, rgba(95, 132, 64, 0.14), transparent 30%),
    var(--ink);
  background-size: 150% 150%;
  animation: living-gradient 11s ease-in-out infinite alternate;
}

.process-stage::before {
  position: absolute;
  inset: 12px;
  z-index: -1;
  border: 0;
  border-radius: 0;
  content: "";
  pointer-events: none;
}

.process-center {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  width: min(58vw, 260px);
  text-align: center;
  opacity: var(--center-opacity, 1);
  transform: translate(-50%, -50%) scale(var(--center-scale, 1));
  filter: blur(var(--center-blur, 0px));
  transition: opacity 80ms linear;
}

.process-center > p {
  margin: 0 0 15px;
  font: 500 9px/1 "Geologica", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.process-center h2 {
  margin: 0;
  font: 600 clamp(31px, 8.5vw, 46px)/0.86 "TT Firs Neue", sans-serif;
  letter-spacing: -0.06em;
}

.process-center ol {
  display: grid;
  gap: 5px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  font: 400 10px/1.15 "Geologica", sans-serif;
}

.process-center li span {
  color: rgba(238, 253, 208, 0.48);
}

.process-card {
  --x: 0px;
  --y: 0px;
  --rotation: 0deg;
  --scale: 0.32;
  --mini-opacity: 1;
  --detail-opacity: 0;
  --frame-opacity: 0.14;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 4;
  width: min(calc(100vw - 40px), 520px);
  height: min(48svh, 420px);
  min-height: 340px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.42);
  transform:
    translate(-50%, -50%)
    translate3d(var(--x), var(--y), 0)
    rotate(var(--rotation))
    scale(var(--scale));
  transform-origin: center;
  will-change: transform;
}

.process-card::before {
  position: absolute;
  inset: 11px;
  border: 1px solid currentColor;
  border-radius: 0;
  content: "";
  opacity: var(--frame-opacity);
}

.process-card__image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.process-card__mini,
.process-card__content {
  z-index: 1;
}

.process-card--one {
  color: var(--paper);
  background: #202426;
}

.process-card--two {
  color: var(--ink);
  background: var(--accent);
}

.process-card--three {
  color: var(--paper);
  background: #555b5d;
}

.process-card--four {
  color: var(--paper);
  background: #202426;
}

.process-card--two .process-card__content p,
.process-card--two .process-card__content h3,
.process-card--two .process-card__content > span,
.process-card--two .process-card__mini {
  color: var(--ink);
  opacity: 1;
}

.process-card--four .process-card__content p,
.process-card--four .process-card__content h3 {
  color: var(--paper);
  opacity: 1;
}

.process-card__mini {
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(100% - 28px);
  font: 500 clamp(20px, 5.8vw, 26px)/1.1 "Geologica", sans-serif;
  letter-spacing: -0.02em;
  text-align: center;
  opacity: var(--mini-opacity);
  transform: translate(-50%, -50%);
}

.process-card__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  opacity: var(--detail-opacity);
  transform: translateY(var(--detail-y, 24px));
}

.process-card__content > span {
  position: absolute;
  top: 22px;
  left: 22px;
  font: 500 10px/1 "Geologica", sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.58;
}

.process-card__content h3 {
  max-width: none;
  margin: 0 0 16px;
  font: 600 clamp(17px, 5vw, 24px)/1 "TT Firs Neue", sans-serif;
  letter-spacing: -0.035em;
  white-space: normal;
}

.process-card__content p {
  max-width: 34ch;
  margin: 0;
  font: 300 12px/1.3 "Geologica", sans-serif;
  opacity: 0.72;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.process-progress {
  position: absolute;
  right: 20px;
  bottom: max(20px, env(safe-area-inset-bottom));
  left: 20px;
  z-index: 12;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  font: 500 9px/1 "Geologica", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.process-progress i {
  height: 2px;
  overflow: hidden;
  border-radius: 2px;
  background: rgba(238, 253, 208, 0.16);
}

.process-progress b {
  display: block;
  width: calc(var(--progress, 0) * 100%);
  height: 100%;
  background: var(--accent);
}

/* Pricing is a normal-flow section: heading, then the cards stacked with even
   spacing, so nothing overlaps or gets cut off on short screens. */
.pricing-story {
  position: relative;
  color: var(--paper);
  background: var(--ink);
}

.pricing-stage {
  position: relative;
  display: block;
  min-height: 100svh;
  padding: max(56px, env(safe-area-inset-top) + 36px) 20px max(56px, env(safe-area-inset-bottom) + 36px);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 82% 18%, rgba(183, 255, 81, 0.2), transparent 24%),
    radial-gradient(circle at 24% 72%, rgba(87, 126, 50, 0.13), transparent 30%),
    var(--ink);
  background-size: 155% 155%;
  animation: living-gradient 13s ease-in-out infinite alternate-reverse;
}

.pricing-stage::before {
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(238, 253, 208, 0.11);
  border-radius: 24px;
  content: "";
  pointer-events: none;
}

.pricing-heading {
  padding: 0 2px;
  margin-bottom: 32px;
}

.pricing-heading > span {
  display: block;
  margin-bottom: 10px;
  font: 500 11px/1 "Geologica", sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.pricing-heading h2 {
  margin: 0;
  color: var(--accent);
  font: 600 clamp(72px, 21.75vw, 114px)/0.82 "Syne", sans-serif;
  letter-spacing: -0.055em;
}

.pricing-list {
  position: relative;
}

.pricing-progress {
  display: none !important;
}

.price-card {
  --reveal: 0;
  --move: 30px;
  padding: 26px 2px 28px;
  border-top: 1px solid rgba(238, 253, 208, 0.52);
  opacity: var(--reveal);
  transform: translateY(var(--move));
  filter: blur(var(--price-blur, 5px));
  will-change: opacity, transform, filter;
}

.price-card:last-child {
  border-bottom: 1px solid rgba(238, 253, 208, 0.52);
}

.price-card__head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 5px 9px;
  align-items: baseline;
}

.price-card__head > span {
  font: 500 10px/1 "Geologica", sans-serif;
  opacity: 0.5;
}

.price-card h3 {
  margin: 0;
  font: 600 clamp(21px, 6.4vw, 30px)/0.92 "TT Firs Neue", sans-serif;
  letter-spacing: -0.045em;
}

.price-card strong {
  grid-column: 2;
  font: 500 clamp(12px, 3.35vw, 16px)/1.1 "Geologica", sans-serif;
  letter-spacing: -0.02em;
}

.price-card strong small {
  font: inherit;
  font-size: 1em;
  letter-spacing: -0.02em;
}

.price-card > p {
  margin: 11px 0 17px 28px;
  font: 400 13px/1.2 "Geologica", sans-serif;
  opacity: 0.64;
}

.price-card > a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 9px;
  margin-left: 28px;
  padding: 0 14px;
  border: 1px solid var(--accent);
  border-radius: 0;
  color: var(--ink);
  background: var(--accent);
  box-shadow: 0 0 24px rgba(183, 255, 81, 0.2);
  font: 500 11px/1 "Geologica", sans-serif;
  text-decoration: none;
}

.price-card > a span {
  color: var(--ink);
  font-size: inherit;
}

.price-card > a span:last-child,
.primary-action span:last-child {
  font-size: 18px;
  line-height: 0.7;
}

.pricing-progress {
  position: absolute;
  right: 22px;
  bottom: max(18px, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 7px;
  font: 500 9px/1 "Geologica", sans-serif;
}

.pricing-progress i {
  width: 24px;
  height: 1px;
  background: rgba(238, 253, 208, 0.28);
}

.final-cta {
  position: relative;
  height: 220svh;
  color: var(--ink);
  background: var(--paper);
}

.final-cta__stage {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  isolation: isolate;
  background: var(--paper) url("./assets/final-cta-background.jpg") center top / cover no-repeat;
}

.final-cta__stage::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  display: none;
  content: "";
}

.final-cta__copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
}

.final-cta h2,
.final-cta__button {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 800ms cubic-bezier(0.18, 0.78, 0.2, 1);
}

.final-cta__reviews {
  position: absolute;
  top: calc(54.3vh + 72px);
  left: 27px;
  display: block;
  width: 230px; /* same width as the button above, so the link is centred under it */
  min-height: 40px;
  padding: 12px 0;
  text-align: center;
  color: var(--ink);
  font: 600 15px / 1 "Syne", sans-serif;
  text-decoration: underline;
  text-underline-offset: 5px;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 800ms cubic-bezier(0.18, 0.78, 0.2, 1);
}

.gallery-cta .text-action {
  padding: 12px 0;
  font-size: 15px;
}

.final-cta.is-button-visible .final-cta__reviews {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 220ms;
}

.final-cta h2 {
  position: absolute;
  top: 21.8vh;
  left: 27px;
  max-width: 8ch;
  margin: 0;
  color: #fff;
  font: 700 clamp(44px, min(15vw, 11vh), 104px) / 0.86 "Unbounded", sans-serif; /* 11vh: stays above the button on short laptop screens */
  letter-spacing: -0.085em;
  /* White + difference = black on the white background, negative over the face. */
  mix-blend-mode: difference;
}

.final-cta__button {
  position: absolute;
  top: 54.3vh;
  left: 27px;
  display: inline-flex;
  width: 230px;
  min-height: 56px;
  align-items: center;
  gap: 20px;
  margin-top: 0;
  padding: 0 25px;
  border: 0;
  border-radius: 0;
  color: var(--paper);
  background: var(--ink);
  font: 600 11px / 1 "Unbounded", sans-serif;
  text-decoration: none;
}

@media (min-width: 700px) {
  .about-panel--manifesto .manifesto-copy {
    max-width: 760px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
  }

  .final-cta h2 { left: max(27px, 7vw); }
  .final-cta__button { left: max(27px, 7vw); }
  .final-cta__reviews { left: max(27px, 7vw); }
}

.final-cta__button span:last-child {
  font-size: 25px;
  line-height: 0.7;
}

.final-cta.is-title-visible h2,
.final-cta.is-button-visible .final-cta__button {
  opacity: 1;
  transform: translateY(0);
}

.final-cta.is-button-visible .final-cta__button {
  transition-delay: 120ms;
}

/* CTA buttons share the square black-and-white treatment from the final reference. */
.primary-action,
.price-card > a {
  min-width: 230px;
  min-height: 56px;
  justify-content: space-between;
  padding: 0 24px;
  border: 0;
  border-radius: 0;
  color: var(--ink);
  background: var(--accent);
  box-shadow: 0 0 24px rgba(183, 255, 81, 0.2);
  font: 600 10px / 1 "Unbounded", sans-serif;
}

.primary-action span,
.price-card > a span {
  color: var(--ink);
}

.primary-action span:last-child,
.price-card > a span:last-child {
  font-size: 22px;
}

.primary-action,
.price-card > a,
.final-cta__button {
  width: 230px;
  min-width: 230px;
  height: 56px;
  min-height: 56px;
  padding: 0;
  overflow: hidden;
}

.primary-action img,
.price-card > a img,
.final-cta__button img {
  display: block;
  width: 230px;
  height: 56px;
  max-width: none;
}

.final-cta__button {
  background: transparent;
}

@media (min-width: 700px) {
  .final-cta__stage {
    background-image: url("./assets/final-cta-desktop.jpg");
    background-position: center center;
  }
}

@keyframes living-gradient {
  0% {
    background-position: 0% 10%, 100% 90%;
  }
  45% {
    background-position: 70% 35%, 25% 65%;
  }
  100% {
    background-position: 100% 85%, 0% 15%;
  }
}

@media (min-width: 700px) {
  .card-ring {
    --radius: min(56vw, 540px);
    width: min(44vw, 430px);
  }

  .about-panel,
  .process-stage {
    padding-right: max(8vw, 48px);
    padding-left: max(8vw, 48px);
  }

  .manifesto-copy {
    max-width: 31ch;
  }

  .pricing-stage {
    padding-right: max(8vw, 48px);
    padding-left: max(8vw, 48px);
  }

  .price-card__head {
    grid-template-columns: 54px 1fr auto;
  }

  .price-card strong {
    grid-column: 3;
    grid-row: 1;
  }

  .price-card > p,
  .price-card > a {
    margin-left: 63px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Syne is the display face for every heading and service name. */
h1,
h2,
h3,
.eyebrow,
.counter,
.process-card__mini,
.intro-progress {
  font-family: "Syne", sans-serif !important;
}

/* CTA buttons as real text (was a picture with "ПРОЕКТ" baked in).
   Sizes/positions match the old 230×56 cta-lime.svg / cta-black.svg 1:1. */
.cta-face {
  display: flex;
  width: 100%;
  height: 56px;
  justify-content: center;
  color: var(--cta-fg);
  background: var(--cta-bg);
}

.cta-face--lime {
  --cta-bg: #b7ff51;
  --cta-fg: #424242;
}

.cta-face--black {
  --cta-bg: #000;
  --cta-fg: #fff;
}

.cta-face__box {
  position: relative;
  flex: 0 0 230px;
  height: 56px;
}

/* Two classes so older ".price-card > a span" / ".primary-action span" rules can't override it. */
.cta-face .cta-face__label {
  position: absolute;
  color: var(--cta-fg);
  top: var(--cta-label-top, 0px);
  left: 26.44px;
  font: 500 11.71px / 56px "Unbounded", sans-serif;
  letter-spacing: -0.4px;
  white-space: nowrap;
}

.cta-face__arrow {
  position: absolute;
  inset: 0;
  width: 230px;
  height: 56px;
  fill: currentColor;
}

@media (max-width: 699px) {
  .gallery-cta .primary-action .cta-face {
    width: 100%;
  }
}

/* Desktop "about" section: the photo is wide, so keep text off the face.
   Name hugs the left white area; the other captions sit on the black T-shirt. */
@media (min-width: 700px) {
  .about-panel--name {
    padding-right: 48px;
    padding-left: 48px;
  }

  .about-panel--name h2 {
    width: max-content;
  }

  .about-panel--profession,
  .about-panel--stat {
    padding: 0;
  }

  .about-panel--profession h2,
  .about-panel--stat .stat-type {
    position: absolute;
    top: 82%;
    left: 50%;
    width: max-content;
    max-width: calc(100% - 96px);
    text-align: center;
    transform: translate(-50%, -50%);
  }

  .about-panel--profession h2 {
    font-size: 28px;
  }

  .about-panel--manifesto .manifesto-copy {
    top: 82%;
  }
}

/* ===== PRICE block — redesign 1:1 from the mockup (2026-11-11) =====
   Mobile numbers are taken from the 375px-wide mockup; desktop scales the same layout. */
.pricing-story {
  --k: 1; /* size multiplier: 1 on phones (mockup is 375px wide), bigger on desktop */
  background: #000;
}

.pricing-stage {
  min-height: 0;
  padding: 0 0 calc(23px * var(--k));
  background: #000;
  animation: none;
}

.pricing-stage::before {
  display: none;
}

.pricing-heading {
  margin: 0;
  padding: calc(71.95px * var(--k)) 0 calc(5.25px * var(--k));
  overflow: hidden;
}

.pricing-heading h2 {
  margin: 0 0 0 -0.181em; /* the P bleeds off the left edge, as in the mockup */
  color: var(--accent);
  font: 800 calc(69.7px * var(--k)) / 1 "Syne", sans-serif !important;
  letter-spacing: -0.0316em;
  white-space: nowrap;
}

.pricing-list {
  position: relative;
}

.pricing-story .price-card {
  position: relative;
  height: calc(153.2px * var(--k));
  padding: 0 0 0 calc(32px * var(--k));
  border: 0;
  opacity: 1;
  transform: none;
  filter: none;
}

/* Thin lime divider that fades toward both edges. */
.pricing-story .price-card::before,
.pricing-story .price-card:last-child::after {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg,
    rgba(183, 255, 81, 0.09) 0%,
    rgba(183, 255, 81, 0.25) 14%,
    rgba(183, 255, 81, 0.37) 27%,
    rgba(183, 255, 81, 0.47) 45%,
    rgba(183, 255, 81, 0.27) 64%,
    rgba(183, 255, 81, 0.19) 82%,
    rgba(183, 255, 81, 0.02) 100%);
}

.pricing-story .price-card::before { top: 0; }
.pricing-story .price-card:last-child::after { top: calc(153.2px * var(--k)); }
.pricing-story .price-card:last-child { height: calc(154.2px * var(--k)); }

.pricing-story .price-card h3 {
  position: absolute;
  top: calc(27px * var(--k));
  left: calc(34px * var(--k));
  margin: 0;
  color: var(--paper);
  font: 300 calc(18.6px * var(--k)) / 1 "Montserrat", sans-serif !important;
  letter-spacing: -0.034em;
  white-space: nowrap;
}

.pricing-story .price-card .price-card__price {
  position: absolute;
  top: calc(49.7px * var(--k));
  left: calc(34px * var(--k));
  color: var(--paper);
  font: 600 calc(15px * var(--k)) / 1 "Montserrat", sans-serif;
  letter-spacing: -0.06em;
  white-space: nowrap;
}

.pricing-story .price-card > p {
  position: absolute;
  top: calc(79.4px * var(--k));
  left: calc(35px * var(--k));
  margin: 0;
  color: var(--paper);
  font: 300 calc(11.75px * var(--k)) / 1 "Montserrat", sans-serif;
  letter-spacing: -0.067em;
  white-space: nowrap;
  opacity: 1;
}

.pricing-story .price-card > a.price-card__cta {
  position: absolute;
  top: calc(112.9px * var(--k));
  left: calc(32px * var(--k));
  display: block;
  width: calc(181.5px * var(--k));
  min-width: 0;
  height: calc(28.4px * var(--k));
  min-height: 0;
  margin: 0;
  padding: 0;
  background: none;
  box-shadow: none;
}

/* Slim CTA bar used in the price list. */
.cta-face--slim {
  height: 100%;
}

.cta-face--slim .cta-face__box {
  display: flex;
  flex: 1 1 auto;
  height: 100%;
  align-items: center;
  justify-content: center;
  gap: calc(8px * var(--k));
}

.cta-face.cta-face--slim .cta-face__label {
  position: static;
  font-size: calc(9.2px * var(--k));
  line-height: 1;
  letter-spacing: calc(-0.3px * var(--k));
}

.cta-face--slim .cta-face__arrow {
  position: static;
  width: calc(7px * var(--k));
  height: calc(7px * var(--k));
}

@media (min-width: 700px) {
  .pricing-story {
    --k: 1.6;
    --pad: max(8vw, 48px);
  }

  .pricing-heading {
    padding-left: var(--pad);
  }

  .pricing-story .price-card {
    padding-left: var(--pad);
  }

  .pricing-story .price-card h3,
  .pricing-story .price-card .price-card__price {
    left: calc(var(--pad) + 2px * var(--k));
  }

  .pricing-story .price-card > p {
    left: calc(var(--pad) + 3px * var(--k));
    margin: 0;
  }

  .pricing-story .price-card > a.price-card__cta {
    left: var(--pad);
    margin: 0;
  }
}

/* ===== About: "МОЯ РОЛЬ" manifesto (mockup Frame 7) ===== */
.manifesto-copy .manifesto-title {
  margin: 0 0 9.9px;
  color: var(--accent);
  font: 500 37px / 1 "Montserrat", sans-serif;
  letter-spacing: -0.057em;
}

.manifesto-copy .manifesto-text {
  margin: 0;
  color: var(--paper);
  font: 300 15px / 15.1px "Montserrat", sans-serif;
  letter-spacing: -0.06em;
}

@media (min-width: 700px) {
  .manifesto-copy .manifesto-title {
    margin-bottom: 13px;
    font-size: 50px;
  }

  .manifesto-copy .manifesto-text {
    font-size: 20px;
    line-height: 20.4px;
  }
}
