@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400;500;600;700&family=IBM+Plex+Serif:ital,wght@0,400;0,500;1,400&family=IBM+Plex+Mono:wght@400;500&family=Unbounded:wght@300..900&display=swap");

:root {
  --paper: #f7f0e6;
  --paper-strong: #fcf7f0;
  --paper-deep: #efe4d5;
  --ink: #141312;
  --ink-soft: #26221f;
  --ink-muted: #6b6259;
  --ink-line: rgba(20, 19, 18, 0.12);
  --accent: #f68327;
  --accent-deep: #e06a16;
  --accent-soft: #ffd7ba;
  --plum: #d1a8ef;
  --moss: #b5cb68;
  --white: #fffaf4;
  --shadow-lg: 0 34px 80px rgba(24, 20, 17, 0.14);
  --shadow-md: 0 20px 48px rgba(24, 20, 17, 0.1);
  --radius-xl: 2rem;
  --radius-lg: 1.5rem;
  --radius-md: 1rem;
  --radius-pill: 999px;
  --container: min(1320px, calc(100% - 2rem));
  --font-sans: "IBM Plex Sans", "Segoe UI", "Helvetica Neue", sans-serif;
  --font-serif: "IBM Plex Serif", "Noto Serif", "Times New Roman", serif;
  --font-mono: "IBM Plex Mono", "SF Mono", "Menlo", "Consolas", monospace;
  --font-display: var(--font-sans);
  --home-v2-bg: #ecece9;
  --home-v2-ink: #121212;
  --home-v2-muted: rgba(18, 18, 18, 0.62);
  --home-v2-ui-font: "IBM Plex Mono", "SF Mono", "Menlo", "Consolas", monospace;
  --scroll-progress: 0;
  --sp-orange: #f47920;
  --sp-dark: #1c1c1b;
  --ed-paper: #ffffff;
  --ed-paper-soft: #fafaf7;
  --ed-paper-deep: #f1efea;
  --ed-ink: #0c0c0c;
  --ed-ink-soft: #1a1a1a;
  --ed-ink-mute: #6b6b6b;
  --ed-line: rgba(12, 12, 12, 0.12);
  --ed-line-strong: rgba(12, 12, 12, 0.32);
  --ed-accent: var(--accent, #f68327);
  --ed-accent-deep: var(--accent-deep, #d96812);
  --ed-accent-on: #ffffff;
  --ed-island: #0c0c0c;
  --ed-island-ink: #fafaf7;
  --ed-island-mute: rgba(250, 250, 247, 0.6);
  --ed-step--2: 0.75rem;
  --ed-step--1: 0.875rem;
  --ed-step-0: 1rem;
  --ed-step-1: 1.125rem;
  --ed-step-2: 1.5rem;
  --ed-step-3: 2.25rem;
  --ed-step-4: 3.5rem;
  --ed-step-5: 5.5rem;
  --ed-step-6: 6.75rem;
  --ed-gutter: clamp(1rem, 4vw, 4rem);
  --ed-stack: clamp(4rem, 8vw, 8rem);
  --ed-stack-tight: clamp(2rem, 4vw, 4rem);
  --ed-container: min(1280px, calc(100% - var(--ed-gutter) * 2));
  --ed-container-wide: min(1600px, calc(100% - var(--ed-gutter)));
  --ed-container-narrow: min(720px, calc(100% - var(--ed-gutter) * 2));
}

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

html {
  scroll-behavior: smooth;
}

html.ks-scroll-instant {
  scroll-behavior: auto !important;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: var(--font-sans);
  color: var(--ink);
  background:
    radial-gradient(circle at 16% 0%, rgba(255, 255, 255, 0.94), transparent 26%),
    radial-gradient(circle at 84% 8%, rgba(246, 131, 39, 0.12), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), transparent 16rem),
    linear-gradient(180deg, #faf4ec 0%, #f6efe5 56%, #f3eadf 100%);
}

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

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

p,
li {
  line-height: 1.55;
}

figure {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(22px);
  background: rgba(247, 240, 230, 0.84);
  border-bottom: 1px solid var(--ink-line);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: calc(var(--scroll-progress) * 100%);
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--plum));
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
}

.brand {
  display: inline-grid;
  gap: 0.15rem;
}

.brand__name {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand__meta,
.kicker,
.site-nav a,
.hero-editorial__tags span,
.story-preview__meta,
.story-route__chapter,
.principle__index,
.resume-entry__meta,
.resume-entry__date,
.resume-entry__company,
.resume-entry__domain,
.resume-tags span,
.course-entry__meta,
.course-entry__date,
.course-entry__school,
.case-meta span,
.research-card span,
.insight-card__number,
.direction-card span,
.process-strip__step strong,
.site-footer__meta,
.accent-note__label,
.back-link {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.brand__meta,
.kicker,
.story-preview__meta,
.resume-entry__meta,
.resume-entry__date,
.resume-entry__company,
.resume-entry__domain,
.resume-entry__subtitle,
.course-entry__meta,
.course-entry__date,
.course-entry__school,
.course-entry__focus,
.case-meta span,
.research-card span,
.site-footer__meta,
.back-link {
  color: var(--ink-muted);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1.1rem;
}

.site-nav a {
  position: relative;
  padding-bottom: 0.25rem;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.display {
  margin: 0;
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.display--hero {
  font-size: clamp(3.9rem, 7.6vw, 7.45rem);
}

.display--compact {
  max-width: 11ch;
}

.display--section {
  font-size: clamp(2.2rem, 4.7vw, 4.45rem);
  max-width: 12ch;
}

.display--light {
  color: var(--white);
}

.display__serif {
  display: inline-block;
  padding-inline: 0.08em;
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
}

.body {
  margin: 0;
  color: var(--ink-muted);
  font-size: 1rem;
}

.body--large {
  font-size: 1.18rem;
  color: var(--ink);
}

.body--light {
  color: rgba(255, 250, 244, 0.76);
}

.body--large.body--light {
  color: var(--white);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.text-link::after {
  content: "↗";
  font-size: 1rem;
  transition: transform 220ms ease;
}

.text-link:hover::after {
  transform: translate(0.14rem, -0.14rem);
}

.text-link--light {
  color: var(--white);
}

.section,
.case-band,
.page-intro,
.hero-editorial,
.case-hero {
  padding: 6rem 0;
}

.section--paper,
.case-band--paper,
.page-intro {
  background: transparent;
}

.section--dark,
.case-band--dark {
  background:
    radial-gradient(circle at top right, rgba(209, 168, 239, 0.16), transparent 24%),
    radial-gradient(circle at left bottom, rgba(246, 131, 39, 0.16), transparent 28%),
    #1a1816;
  color: var(--white);
}

.section--ink,
.case-band--ink {
  background:
    linear-gradient(135deg, rgba(246, 131, 39, 0.24), transparent 34%),
    linear-gradient(180deg, #11100f, #1d1916);
  color: var(--white);
}

.section-heading {
  display: grid;
  gap: 1rem;
  margin-bottom: 2.4rem;
}

.kicker--light {
  color: rgba(255, 250, 244, 0.56);
}

.hero-editorial {
  padding-top: 5.6rem;
  padding-bottom: 4.2rem;
}

.hero-editorial__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(20rem, 0.88fr);
  gap: 2.8rem;
  align-items: center;
}

.hero-editorial__main {
  display: grid;
  gap: 1.4rem;
  max-width: 46rem;
}

.hero-editorial__lede {
  max-width: 38rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.hero-editorial__headline {
  max-width: 8.8ch;
  text-wrap: balance;
}

.hero-headline__line {
  display: block;
}

.hero-headline__line--media {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.22em;
}

.hero-inline-media {
  display: inline-flex;
  width: min(20vw, 9.6rem);
  aspect-ratio: 1.18;
  padding: 0.26rem;
  border: 1px solid rgba(20, 19, 18, 0.08);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 40px rgba(24, 20, 17, 0.1);
  transform: translateY(-0.04em);
}

.hero-inline-media img {
  height: 100%;
  border-radius: 1.22rem;
  object-fit: cover;
}

.hero-editorial__foot {
  display: grid;
  gap: 1.3rem;
  max-width: 33rem;
}

.hero-editorial__tags,
.resume-facts,
.resume-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero-editorial__tags span,
.resume-facts span,
.resume-tags span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.72rem 0.92rem;
  border: 1px solid var(--ink-line);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 10px 22px rgba(20, 19, 18, 0.04);
}

.hero-editorial__aside {
  display: grid;
  gap: 1rem;
  align-items: center;
}

.issue-card,
.story-preview,
.research-card,
.insight-card,
.direction-card,
.course-entry,
.quote-card,
.resume-entry,
.glance-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.issue-card {
  display: grid;
  gap: 0.75rem;
  padding: 1.4rem;
  border-color: var(--ink-line);
  background: rgba(255, 255, 255, 0.68);
}

.issue-card__title {
  margin: 0;
  font-size: 1.85rem;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.issue-card__text {
  margin: 0;
  color: var(--ink-muted);
}

.poster-stack {
  position: relative;
  min-height: 33rem;
  margin: 0;
}

.poster-stack__card,
.story-preview__media img,
.case-hero__visual img,
.editorial-pair__figure img {
  transform: translate3d(0, var(--parallax-shift, 0), 0) rotate(var(--parallax-rotate, 0deg));
  transform-origin: center;
  transition: transform 220ms linear;
  will-change: transform;
}

.poster-stack__card {
  --parallax-rotate: -2.6deg;
  height: 100%;
  min-height: 33rem;
  object-fit: cover;
  border: 1px solid rgba(20, 19, 18, 0.08);
  border-radius: 2rem;
  box-shadow: var(--shadow-lg);
  animation: poster-float 8.8s ease-in-out infinite;
}

.accent-note {
  display: grid;
  gap: 0.4rem;
  width: min(18rem, 80%);
  padding: 1rem 1rem 1.05rem;
  border: 1px solid rgba(20, 19, 18, 0.12);
  border-radius: 1.2rem 1.2rem 1.2rem 0.5rem;
  background: rgba(255, 239, 224, 0.96);
  box-shadow: 0 16px 34px rgba(20, 19, 18, 0.12);
}

.accent-note::before {
  content: "";
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: var(--accent);
}

.accent-note__text {
  font-size: 0.96rem;
  line-height: 1.45;
}

.accent-note--floating {
  position: absolute;
  right: 1rem;
  bottom: 1.2rem;
}

.hero-editorial__marquee-wrap {
  margin-top: 3rem;
  overflow: hidden;
  border-top: 1px solid var(--ink-line);
  border-bottom: 1px solid var(--ink-line);
  background: rgba(255, 255, 255, 0.24);
}

.hero-editorial__marquee {
  display: flex;
  gap: 2rem;
  padding: 1rem 0;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: marquee-run 28s linear infinite;
}

.section-grid--manifesto {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: 2rem;
  align-items: start;
}

.manifesto-copy {
  display: grid;
  gap: 1rem;
  padding-top: 0.5rem;
  max-width: 33rem;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  grid-column: 1 / -1;
}

.principle {
  display: grid;
  gap: 0.75rem;
  padding: 1.4rem;
  border: 1px solid var(--ink-line);
  border-radius: 1.6rem;
  background: rgba(255, 255, 255, 0.54);
  box-shadow: 0 14px 28px rgba(20, 19, 18, 0.04);
}

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

.principle h3,
.story-route__item h3,
.resume-entry__body h3,
.course-entry h3,
.research-card h3,
.insight-card h3,
.direction-card h3 {
  margin: 0;
  font-size: 1.32rem;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.principle p,
.story-route__item p,
.research-card p,
.insight-card p,
.direction-card p,
.resume-entry__subtitle {
  margin: 0;
}

.feature-story {
  display: grid;
  gap: 2rem;
}

.feature-story__intro {
  display: grid;
  gap: 1rem;
  max-width: 58rem;
}

.feature-story__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 1.2rem;
  align-items: start;
}

.story-preview {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
}

.story-preview__media {
  overflow: hidden;
  padding: 1rem;
  background: linear-gradient(135deg, rgba(209, 168, 239, 0.22), rgba(246, 131, 39, 0.12));
}

.story-preview__media img {
  --parallax-rotate: -3deg;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 1.4rem;
}

.story-preview__body {
  display: grid;
  gap: 1rem;
  padding: 1.4rem;
}

.story-preview__title {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.9rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.story-route {
  display: grid;
  gap: 0.9rem;
}

.story-route__item {
  display: grid;
  gap: 0.6rem;
  padding: 1.2rem 0;
  border-top: 1px solid rgba(255, 250, 244, 0.14);
}

.story-route__item:first-child {
  padding-top: 0;
  border-top: 0;
}

.story-route__chapter {
  color: rgba(255, 250, 244, 0.5);
}

.case-gallery {
  display: grid;
  gap: 2.2rem;
}

.case-gallery__intro {
  display: grid;
  gap: 1rem;
  max-width: 45rem;
}

.case-gallery__label {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.case-gallery__label::before {
  content: "";
  width: 4.2rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), #f0c4a8, rgba(146, 208, 217, 0.9));
}

.case-stage {
  --case-stage-accent: var(--accent);
  position: relative;
  display: grid;
  gap: 2.25rem;
}

.case-stage::before {
  content: none;
}

.case-stage__intro {
  display: grid;
  gap: 1rem;
  max-width: 56rem;
}

.case-stage__intro .display {
  max-width: 10.7ch;
}

.case-stage__intro .body {
  max-width: 61ch;
}

.case-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.case-split__visual {
  position: sticky;
  top: 0;
  height: 100svh;
}

.case-split__visual-frame {
  position: relative;
  height: 100%;
  min-height: calc(100svh + var(--ks-nav-height));
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background: transparent;
}

.case-preview {
  --case-accent: var(--accent);
  position: relative;
  inset: 0;
  display: grid;
  align-content: space-between;
  height: 100%;
  padding: 0;
  opacity: 0;
  transition: opacity 320ms ease;
  background:
    linear-gradient(
      160deg,
      color-mix(in srgb, var(--case-accent) 20%, #ffffff),
      color-mix(in srgb, var(--case-accent) 52%, #f7ece1)
    );
}

.case-preview:not(:first-child) {
  position: absolute;
}

.case-preview.is-active {
  opacity: 1;
}

.case-preview__meta,
.case-preview__foot {
  display: none;
}

.case-preview__name {
  display: none;
}

.case-split__list {
  display: grid;
  gap: 0;
}

.case-note {
  --case-accent: var(--accent);
  min-height: 74vh;
  display: grid;
  align-items: center;
  padding: 0;
}

.case-note__link {
  display: grid;
  gap: 1rem;
  width: 100%;
  padding: 1.5rem 0 1.5rem 0;
  background: transparent;
  transition: opacity 220ms ease;
}

.case-note:first-child .case-note__link {
  border-top: 0;
}

.case-note__title {
  margin: 0;
  font-size: clamp(2.2rem, 3.6vw, 3.85rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.case-note__text {
  margin: 0;
  max-width: 44ch;
  font-size: 1rem;
  color: color-mix(in srgb, var(--ink-muted) 90%, #786d63);
}

.case-note__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.22rem 0.42rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.case-note__tags li {
  display: inline;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--case-accent) 53%, #4d433a);
  opacity: 0.66;
  transition: opacity 220ms ease;
}

.case-note__tags li + li::before {
  content: " / ";
  opacity: 0.5;
}

.case-note__action {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: color-mix(in srgb, var(--case-accent) 52%, #332d29);
  opacity: 0;
  transform: translateX(-0.2rem);
  transition:
    opacity 240ms ease,
    transform 240ms ease;
}

.case-note__action::after {
  content: "→";
  transform: translateX(0);
  transition: transform 240ms ease;
}

.case-note.is-active .case-note__action::after {
  transform: translateX(0.2rem);
}

.case-note:not(.is-active) .case-note__title {
  color: color-mix(in srgb, var(--ink) 72%, #968d84);
}

.case-note.is-active .case-note__title {
  color: color-mix(in srgb, var(--case-accent) 30%, #14120f);
}

.case-note.is-active .case-note__link {
  background: transparent;
}

.case-note.is-active .case-note__tags li {
  opacity: 1;
}

.case-note.is-active .case-note__action {
  opacity: 1;
  transform: translateX(0);
}

.case-gallery__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.2rem;
  align-items: stretch;
}

.case-gallery__card {
  display: grid;
  min-height: 100%;
  overflow: hidden;
  color: var(--ink);
  border: 1px solid rgba(20, 19, 18, 0.09);
  border-radius: 1.8rem;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 24px 48px rgba(24, 20, 17, 0.08);
  transition:
    transform 240ms cubic-bezier(0.2, 1, 0.22, 1),
    box-shadow 240ms ease,
    border-color 240ms ease;
}

.case-gallery__card:hover {
  transform: translateY(-0.3rem);
  border-color: rgba(20, 19, 18, 0.16);
  box-shadow: 0 30px 54px rgba(24, 20, 17, 0.11);
}

.case-gallery__card--featured {
  grid-column: span 7;
  grid-row: span 2;
  background:
    radial-gradient(circle at 80% 18%, rgba(246, 131, 39, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 248, 240, 0.92));
}

.case-gallery__card--half {
  grid-column: span 5;
}

.case-gallery__card--wide {
  grid-column: span 6;
}

.case-gallery__card--draft {
  background:
    linear-gradient(180deg, var(--case-tint), rgba(255, 255, 255, 0.66)),
    rgba(255, 255, 255, 0.5);
}

.case-gallery__media {
  overflow: hidden;
  min-height: 20rem;
  padding: 1rem;
  border-bottom: 1px solid rgba(20, 19, 18, 0.08);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(255, 231, 205, 0.84));
}

.case-gallery__media img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 1.35rem;
  transform: translate3d(0, var(--parallax-shift, 0), 0) rotate(-2.5deg);
  will-change: transform;
}

.case-gallery__body {
  display: grid;
  gap: 0.9rem;
  padding: 1.35rem;
}

.case-gallery__eyebrow {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.case-gallery__title {
  margin: 0;
  font-size: clamp(1.45rem, 2.4vw, 2.35rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.case-gallery__text {
  margin: 0;
  color: var(--ink-muted);
}

.case-gallery__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: auto;
  padding-top: 0.35rem;
}

.case-gallery__status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(20, 19, 18, 0.12);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  background: rgba(255, 255, 255, 0.7);
}

.case-gallery__status--live {
  border-color: rgba(246, 131, 39, 0.16);
  background: rgba(246, 131, 39, 0.12);
  color: var(--accent-deep);
}

.case-gallery__placeholder-art {
  display: grid;
  gap: 0.5rem;
  align-content: start;
  min-height: 8.7rem;
  padding: 1.2rem 1.35rem 0;
}

.case-gallery__placeholder-no {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--case-accent);
}

.case-gallery__placeholder-name {
  display: inline-flex;
  width: fit-content;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.68);
  font-size: 1.25rem;
  font-weight: 650;
  letter-spacing: -0.03em;
  box-shadow: 0 10px 20px rgba(20, 19, 18, 0.04);
}

.case-gallery__card--draft .case-gallery__body {
  align-content: start;
}

.case-gallery__card--draft .case-gallery__title {
  color: var(--ink);
  font-size: clamp(1.3rem, 2.1vw, 1.7rem);
}

.case-gallery__card--draft .case-gallery__text {
  color: var(--ink-muted);
}

.glance-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr) minmax(0, 0.94fr);
  gap: 1.15rem;
  align-items: start;
}

.glance-grid__copy {
  display: grid;
  gap: 1rem;
}

.glance-card {
  overflow: hidden;
  border-color: var(--ink-line);
  background: rgba(255, 255, 255, 0.64);
}

.glance-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.glance-card figcaption,
.editorial-pair__figure figcaption {
  padding: 1rem 1.1rem 1.15rem;
  color: var(--ink-muted);
}

.metrics-band {
  display: grid;
  gap: 1.6rem;
}

.metrics-band__intro {
  display: grid;
  gap: 1rem;
  max-width: 52rem;
}

.metrics-band__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.metrics-band__list article,
.case-meta article,
.outcome-list article {
  display: grid;
  gap: 0.45rem;
  padding: 1.1rem 1rem;
  border: 1px solid var(--ink-line);
  border-radius: 1.3rem;
  background: rgba(255, 255, 255, 0.58);
}

.metrics-band__list strong,
.case-meta strong,
.outcome-list strong {
  font-size: 1.45rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.metrics-band__list span,
.outcome-list span {
  color: var(--ink-muted);
}

.page-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: 2rem;
  align-items: end;
}

.page-intro__copy {
  display: grid;
  gap: 1.35rem;
}

.resume-list,
.course-list {
  display: grid;
  gap: 0.9rem;
}

.resume-entry {
  overflow: hidden;
  border-radius: 0.5rem;
  border-color: var(--ink-line);
  background: rgba(255, 255, 255, 0.62);
  transition:
    border-color 220ms ease,
    background-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.resume-entry[open] {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(20, 19, 18, 0.18);
  box-shadow: 0 22px 46px rgba(24, 20, 17, 0.08);
}

.resume-entry:hover {
  transform: translateY(-0.12rem);
  border-color: rgba(20, 19, 18, 0.18);
}

.resume-entry__summary,
.course-entry__summary {
  display: grid;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
}

.resume-entry__summary {
  grid-template-columns: minmax(9rem, 0.28fr) minmax(0, 1fr) minmax(11rem, 0.26fr) 2.35rem;
  min-height: 8.8rem;
  padding: 1.45rem;
}

.resume-entry__summary::-webkit-details-marker,
.course-entry__summary::-webkit-details-marker {
  display: none;
}

.resume-entry__summary:focus-visible,
.course-entry__summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -0.35rem;
}

.resume-entry__date,
.resume-entry__domain,
.course-entry__date {
  line-height: 1.45;
}

.resume-entry__headline,
.course-entry__headline {
  display: grid;
  gap: 0.45rem;
  min-width: 0;
}

.resume-entry__company,
.course-entry__school {
  color: var(--accent-deep);
}

.resume-entry__title,
.course-entry__title {
  color: var(--ink);
  font-weight: 720;
  letter-spacing: 0;
  line-height: 0.95;
}

.resume-entry__title {
  font-size: 4.15rem;
}

.course-entry__title {
  font-size: 2.7rem;
}

.resume-entry__domain {
  color: var(--ink-soft);
}

.resume-entry__toggle,
.course-entry__toggle {
  position: relative;
  inline-size: 2.35rem;
  block-size: 2.35rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: var(--ink);
  justify-self: end;
}

.resume-entry__toggle::before,
.resume-entry__toggle::after,
.course-entry__toggle::before,
.course-entry__toggle::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  inline-size: 0.9rem;
  block-size: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 200ms ease;
}

.resume-entry__toggle::after,
.course-entry__toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.resume-entry[open] .resume-entry__toggle::after,
.course-entry[open] .course-entry__toggle::after {
  transform: translate(-50%, -50%) rotate(0deg) scaleX(0);
}

.resume-entry__panel,
.course-entry__panel {
  display: grid;
  gap: 1.15rem;
  padding: 0 1.45rem 1.45rem;
}

.resume-detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 1.35rem;
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ink-muted);
}

.resume-detail-list li {
  padding-left: 0.15rem;
}

.resume-detail-list strong,
.body strong {
  color: var(--ink-soft);
  font-weight: 760;
}

.resume-tags {
  padding-top: 0.2rem;
}

.resume-tags--dark span {
  border-color: rgba(255, 250, 244, 0.12);
  background: rgba(255, 250, 244, 0.08);
  color: var(--white);
  box-shadow: none;
}

.resume-tags--stacked span {
  width: fit-content;
}

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

.course-entry {
  overflow: hidden;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.045);
  transition:
    border-color 220ms ease,
    background-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.course-entry[open] {
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(255, 250, 244, 0.2);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.2);
}

.course-entry:hover {
  transform: translateY(-0.12rem);
  border-color: rgba(255, 250, 244, 0.22);
}

.course-entry__summary {
  grid-template-columns: minmax(8rem, 0.18fr) minmax(0, 1fr) 2.35rem;
  min-height: 7rem;
  padding: 1.35rem 1.45rem;
}

.course-entry__date {
  color: rgba(255, 250, 244, 0.58);
}

.course-entry__school {
  color: var(--accent-soft);
}

.course-entry__title {
  color: var(--white);
}

.course-entry__toggle {
  color: var(--white);
}

.course-entry__panel {
  grid-template-columns: minmax(15rem, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
}

.course-entry__focus,
.course-entry__award {
  margin: 0;
  line-height: 1.5;
}

.course-entry__focus {
  max-width: 33rem;
  color: rgba(255, 250, 244, 0.72);
}

.course-entry__focus strong,
.course-entry__award strong,
.body--light strong {
  color: var(--white);
}

.course-entry__award {
  color: var(--accent-soft);
}

.course-entry__panel .body,
.course-entry__panel .course-entry__award {
  grid-column: 2;
}

.course-entry__panel .resume-tags {
  grid-column: 1 / -1;
}

.resume-entry__subtitle {
  font-family: var(--font-sans);
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
}

.case-hero {
  background:
    radial-gradient(circle at 85% 16%, rgba(209, 168, 239, 0.28), transparent 24%),
    linear-gradient(160deg, rgba(255, 172, 97, 0.25), transparent 46%),
    linear-gradient(180deg, #f48a2e, #ea751c);
  color: var(--white);
}

.case-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(20rem, 0.96fr);
  gap: 2rem;
  align-items: end;
}

.case-hero__copy {
  display: grid;
  gap: 1rem;
}

.case-hero__title {
  max-width: 10.5ch;
}

.back-link {
  display: inline-flex;
  gap: 0.4rem;
  color: rgba(255, 250, 244, 0.68);
}

.back-link::before {
  content: "←";
}

.case-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 0.8rem;
}

.case-meta article {
  border-color: rgba(255, 250, 244, 0.16);
}

.case-meta span {
  color: rgba(255, 250, 244, 0.56);
}

.case-meta strong {
  color: var(--white);
}

.case-hero__visual {
  position: relative;
  min-height: 34rem;
}

.case-hero__visual img {
  --parallax-rotate: 2.5deg;
  height: 100%;
  min-height: 34rem;
  object-fit: cover;
  border-radius: 1.8rem;
  box-shadow: var(--shadow-lg);
}

.accent-note--case {
  position: absolute;
  left: 1rem;
  bottom: 1.2rem;
}

.split-essay {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.split-essay__lead,
.split-essay__body {
  display: grid;
  gap: 1rem;
}

.split-essay--title-aligned .split-essay__body {
  padding-top: 3.75rem;
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.research-card {
  display: grid;
  gap: 0.8rem;
  padding: 1.35rem;
  border-color: var(--ink-line);
  background: rgba(255, 255, 255, 0.6);
}

.research-card span {
  color: var(--accent-deep);
}

.process-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.process-strip__step {
  display: grid;
  gap: 0.55rem;
  padding: 1rem 1rem 1.05rem;
  border: 1px dashed var(--ink-line);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.38);
}

.process-strip__step span {
  color: var(--ink-muted);
}

.insight-stack {
  display: grid;
  gap: 0.9rem;
}

.insight-card {
  display: grid;
  grid-template-columns: 4.25rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 1.2rem 1.3rem;
  border-color: var(--ink-line);
  background: rgba(255, 255, 255, 0.52);
}

.insight-card__number {
  color: var(--accent-deep);
}

.insight-card div {
  display: grid;
  gap: 0.35rem;
}

.direction-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.direction-card {
  display: grid;
  gap: 0.8rem;
  min-height: 100%;
  padding: 1.35rem;
  background: rgba(255, 255, 255, 0.05);
}

.direction-card span {
  color: rgba(255, 250, 244, 0.48);
}

.direction-card p {
  color: rgba(255, 250, 244, 0.72);
}

.editorial-pair {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: 1.4rem;
  align-items: center;
}

.editorial-pair + .editorial-pair {
  margin-top: 1.4rem;
}

.editorial-pair--reverse {
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
}

.editorial-pair__copy {
  display: grid;
  gap: 1rem;
}

.editorial-pair__figure {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--ink-line);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.66);
  box-shadow: var(--shadow-md);
}

.editorial-pair__figure img {
  --parallax-rotate: -1.5deg;
  padding: 1rem;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.bullet-list {
  display: grid;
  gap: 0.7rem;
  padding-left: 1.2rem;
}

.quote-wall {
  display: grid;
  gap: 2rem;
}

.quote-wall__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.quote-card {
  display: grid;
  gap: 1rem;
  padding: 1.3rem;
  border-color: var(--ink-line);
  background: rgba(255, 255, 255, 0.58);
}

.quote-card blockquote {
  margin: 0;
  font-size: 1.24rem;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.quote-card figcaption {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.outcome-panel {
  display: grid;
  gap: 1.2rem;
  max-width: 72rem;
}

.outcome-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 6.5rem 0 1.8rem;
  border-top: 1px solid rgba(255, 250, 244, 0.16);
  background: #11100f;
  color: var(--white);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: -45% -18%;
  z-index: -2;
  background:
    radial-gradient(circle at 16% 22%, rgba(246, 131, 39, 0.78), transparent 24rem),
    radial-gradient(circle at 76% 4%, rgba(255, 205, 74, 0.62), transparent 21rem),
    radial-gradient(circle at 66% 86%, rgba(239, 75, 43, 0.58), transparent 23rem),
    radial-gradient(circle at 26% 78%, rgba(255, 166, 112, 0.42), transparent 20rem),
    linear-gradient(135deg, #21110d 0%, #171210 48%, #2d1a10 100%);
  animation: footer-gradient-drift 17s ease-in-out infinite alternate;
  filter: saturate(1.12);
}

.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(17, 16, 15, 0.86), rgba(17, 16, 15, 0.42) 52%, rgba(17, 16, 15, 0.9)),
    linear-gradient(180deg, rgba(17, 16, 15, 0.56), rgba(17, 16, 15, 0.94));
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(18rem, 0.92fr);
  gap: 2.8rem;
  align-items: end;
}

.site-footer .kicker,
.site-footer__meta {
  color: rgba(255, 250, 244, 0.66);
}

.site-footer .display {
  color: var(--white);
}

.contact-stack {
  display: grid;
  gap: 0.65rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.contact-stack__mail {
  display: block;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--white);
  font-size: clamp(1.45rem, 3vw, 2.35rem);
  line-height: 1.02;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.contact-stack__mail:hover {
  transform: translateY(-1px);
  color: rgba(255, 250, 244, 0.85);
}

.contact-stack .body {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 250, 244, 0.72);
}

.case-footer__contact {
  display: grid;
  gap: 0.55rem;
  margin-top: 1rem;
}

.case-footer__contact .body {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.case-footer__contact .contact-stack__mail {
  color: var(--ink);
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
}

.case-footer__contact .contact-stack__mail:hover {
  color: var(--ink-soft);
}

.site-footer__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin-top: 2.6rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 250, 244, 0.18);
}

.reveal {
  opacity: 1;
  transform: none;
}

.js-motion .reveal {
  opacity: 0;
  transform: translateY(1.35rem);
  transition:
    opacity 700ms ease,
    transform 900ms cubic-bezier(0.2, 1, 0.22, 1);
}

.js-motion .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes marquee-run {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes poster-float {
  0%,
  100% {
    filter: saturate(1);
  }

  50% {
    filter: saturate(1.06);
  }
}

@keyframes footer-gradient-drift {
  0% {
    transform: translate3d(-2%, 1%, 0) rotate(0deg) scale(1);
  }

  50% {
    transform: translate3d(2%, -2%, 0) rotate(3deg) scale(1.04);
  }

  100% {
    transform: translate3d(4%, 2%, 0) rotate(-2deg) scale(1.02);
  }
}

@media (max-width: 1080px) {
  .hero-editorial__grid,
  .page-intro__grid,
  .case-hero__grid,
  .split-essay,
  .editorial-pair,
  .editorial-pair--reverse,
  .site-footer__grid,
  .section-grid--manifesto,
  .resume-entry {
    grid-template-columns: 1fr;
  }

  .principles,
  .metrics-band__list,
  .research-grid,
  .process-strip,
  .direction-grid,
  .quote-wall__grid,
  .case-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-stage__intro .body {
    max-width: 100%;
  }

  .case-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1rem;
  }

  .case-split__visual {
    top: 0;
    height: 100svh;
  }

  .case-note {
    min-height: 66vh;
  }

  .case-note__title {
    font-size: clamp(1.82rem, 4vw, 2.6rem);
  }

  .case-gallery__card--featured,
  .case-gallery__card--half,
  .case-gallery__card--wide {
    grid-column: span 1;
    grid-row: auto;
  }

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

  .glance-grid__copy {
    grid-column: 1 / -1;
  }

  .course-list,
  .outcome-list,
  .case-meta {
    grid-template-columns: 1fr;
  }

  .resume-entry__summary {
    grid-template-columns: minmax(8rem, 12rem) minmax(0, 1fr) 2.35rem;
  }

  .resume-entry__domain {
    grid-column: 2;
  }

  .resume-entry__toggle {
    grid-column: 3;
    grid-row: 1 / span 2;
  }

  .course-entry__panel {
    grid-template-columns: 1fr;
  }

  .course-entry__panel .body,
  .course-entry__panel .course-entry__award {
    grid-column: auto;
  }

  .poster-stack,
  .case-hero__visual {
    min-height: auto;
  }

  .split-essay--title-aligned .split-essay__body {
    padding-top: 0;
  }

  .poster-stack__card,
  .case-hero__visual img {
    min-height: 24rem;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
  }

  .site-header__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .section,
  .case-band,
  .page-intro,
  .hero-editorial,
  .case-hero {
    padding: 4rem 0;
  }

  .display--hero {
    font-size: clamp(2.95rem, 12vw, 4.7rem);
  }

  .display--section {
    font-size: clamp(1.9rem, 9vw, 3rem);
  }

  .body--large {
    font-size: 1.08rem;
  }

  .resume-entry__summary,
  .course-entry__summary {
    grid-template-columns: minmax(0, 1fr) 2.35rem;
    min-height: 0;
    padding: 1.1rem;
  }

  .resume-entry__date,
  .course-entry__date {
    grid-column: 1 / -1;
  }

  .resume-entry__headline,
  .course-entry__headline,
  .resume-entry__domain {
    grid-column: 1;
  }

  .resume-entry__toggle,
  .course-entry__toggle {
    grid-column: 2;
    grid-row: 2;
  }

  .resume-entry__title {
    font-size: 2.35rem;
  }

  .course-entry__title {
    font-size: 2.05rem;
  }

  .resume-entry__panel,
  .course-entry__panel {
    padding: 0 1.1rem 1.1rem;
  }

  .page--resume .course-extra-collection {
    grid-template-columns: 1fr;
  }

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

  .principles,
  .metrics-band__list,
  .glance-grid,
  .research-grid,
  .process-strip,
  .direction-grid,
  .quote-wall__grid,
  .course-list,
  .case-gallery__grid {
    grid-template-columns: 1fr;
  }

  .insight-card {
    grid-template-columns: 1fr;
  }

  .hero-editorial__marquee {
    gap: 1.2rem;
  }

  .case-split {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .case-split__visual {
    position: static;
    height: auto;
  }

  .case-split__visual-frame {
    min-height: 21.5rem;
  }

  .case-preview {
    padding: 0;
  }

  .case-note {
    min-height: 0;
    padding: 0;
  }

  .case-note__link {
    padding: 1rem 0 1.12rem 0;
  }

  .case-note__title {
    font-size: clamp(1.64rem, 8vw, 2.35rem);
  }

  .case-note__text {
    font-size: 0.98rem;
  }

  .hero-inline-media {
    width: min(40vw, 8.2rem);
  }

  .accent-note {
    width: min(18rem, 100%);
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 1rem, 100%);
  }

  .site-nav {
    gap: 0.8rem 1rem;
  }

  .issue-card,
  .story-preview__body,
  .research-card,
  .direction-card,
  .course-entry,
  .quote-card {
    padding: 1.25rem;
  }

  .course-entry {
    padding: 0;
  }

  .hero-editorial__tags span,
  .resume-facts span,
  .resume-tags span {
    width: 100%;
    justify-content: center;
  }

  .hero-inline-media {
    display: block;
    width: min(100%, 11rem);
    margin: 0;
  }

  .contact-stack__mail {
    padding: 1rem;
    font-size: 1.45rem;
  }
}

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

  .hero-editorial__marquee,
  .resume-marquee__belt,
  .resume-marquee__track,
  .poster-stack__card,
  .site-footer::before {
    animation: none;
  }

  .reveal,
  .js-motion .reveal,
  .poster-stack__card,
  .story-preview__media img,
  .case-hero__visual img,
  .editorial-pair__figure img {
    transition: none;
    transform: none;
  }
}

/* ═══════════════════════════════════════════════════
   SILPO V2 — editorial case study
   palette: --sp-orange / --sp-dark / --sp-purple
═══════════════════════════════════════════════════ */

.page--case-v2 {
  --sp-orange: #f47920;
  --sp-orange-deep: #d96510;
  --sp-dark: #1c1c1b;
  --sp-purple: #c8a8e8;
  --sp-purple-soft: rgba(200, 168, 232, 0.18);
  background: var(--paper);
}

/* HERO */
.v2-hero {
  background: var(--sp-orange);
  padding: 0;
  overflow: hidden;
  min-height: 100svh;
  display: flex;
  align-items: center;
}

.v2-hero__inner {
  display: grid;
  grid-template-columns: 1fr min(42%, 28rem);
  gap: 3rem;
  align-items: end;
  padding-top: 6rem;
  padding-bottom: 0;
}

.v2-hero__copy {
  display: grid;
  gap: 1.4rem;
  padding-bottom: 4rem;
}

.v2-hero .back-link {
  color: rgba(255,255,255,0.7);
}

.v2-label {
  font-family: var(--font-mono);
  font-size: 0.73rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

.v2-hero__title {
  margin: 0;
  font-size: clamp(3.2rem, 6.5vw, 6.2rem);
  font-weight: 750;
  letter-spacing: -0.05em;
  line-height: 0.92;
  color: #fff;
}

.v2-hero__sub {
  margin: 0;
  max-width: 38rem;
  font-size: 1.1rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.82);
}

.v2-hero__bag {
  margin: 0;
  align-self: end;
}

.v2-hero__bag img {
  display: block;
  width: 100%;
  border-radius: 1.5rem 1.5rem 0 0;
  object-fit: cover;
  object-position: center top;
  max-height: 85svh;
}

/* FACT STRIP */
.v2-facts {
  background: var(--sp-dark);
  padding: 2.5rem 0;
}

.v2-facts__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 3rem;
  align-items: start;
}

.v2-facts__grid article {
  display: grid;
  gap: 0.2rem;
}

.v2-facts__grid strong {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--sp-orange);
}

.v2-facts__grid span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

/* BANDS */
.v2-band {
  padding: 5.5rem 0;
}

.v2-band--paper {
  background: rgba(255,255,255,0.55);
}

/* ARTICLE COLUMN */
.v2-article {
  max-width: 48rem;
}

/* LABELS & HEADINGS */
.v2-chapter-label {
  font-family: var(--font-mono);
  font-size: 0.73rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 1.2rem;
}

.v2-chapter-label--light {
  color: rgba(255,255,255,0.5);
}

.v2-section-title {
  margin: 0 0 2rem;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  max-width: 20ch;
}

/* PROSE */
.v2-prose {
  display: grid;
  gap: 1rem;
  max-width: 42rem;
}

.v2-prose p {
  margin: 0;
  font-size: 1.06rem;
  line-height: 1.62;
  color: var(--ink-muted);
}

.v2-prose em {
  color: var(--ink);
  font-style: italic;
}

/* PULL QUOTE */
.v2-pull-quote {
  margin: 2.5rem 0 0;
  padding: 1.5rem 0 1.5rem 1.8rem;
  border-left: 3px solid var(--sp-orange);
  font-size: clamp(1.18rem, 2.2vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.28;
  color: var(--ink);
  max-width: 36rem;
}

/* RESEARCH PROCESS */
.v2-process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.v2-process__step {
  display: grid;
  gap: 0.75rem;
  padding: 1.4rem;
  border: 1px solid var(--ink-line);
  border-radius: 1.4rem;
  background: rgba(255,255,255,0.7);
}

.v2-process__num {
  font-family: var(--font-mono);
  font-size: 0.73rem;
  letter-spacing: 0.1em;
  color: var(--sp-orange);
}

.v2-process__step h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.v2-process__step p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ink-muted);
}

.v2-research-img {
  margin: 0;
}

.v2-research-img img {
  width: 100%;
  border-radius: 1.4rem;
  box-shadow: var(--shadow-md);
}

.v2-research-img figcaption {
  margin-top: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.73rem;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
}

/* WAR BAND */
.v2-war-band {
  background:
    radial-gradient(circle at 80% 20%, rgba(200,168,232,0.15), transparent 40%),
    var(--sp-dark);
  padding: 6rem 0;
  color: var(--white);
}

.v2-war-inner {
  max-width: 54rem;
}

.v2-war-title {
  margin: 0 0 1.5rem;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  color: #fff;
}

.v2-war-body {
  margin: 0 0 2rem;
  font-size: 1.1rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.7);
  max-width: 38rem;
}

.v2-war-quote {
  margin: 0 0 3rem;
  padding: 1.8rem 2rem;
  border-left: 3px solid var(--sp-purple);
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.3;
  color: var(--sp-purple);
  background: rgba(200,168,232,0.08);
  border-radius: 0 1rem 1rem 0;
}

.v2-war-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 4rem;
  margin-bottom: 2.5rem;
  padding: 2rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1.4rem;
}

.v2-war-stats article {
  display: grid;
  gap: 0.4rem;
}

.v2-war-stats strong {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--sp-orange);
}

.v2-war-stats span {
  font-size: 0.94rem;
  line-height: 1.45;
  color: rgba(255,255,255,0.6);
  max-width: 22rem;
}

.v2-war-note {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.55);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  max-width: 42rem;
}

/* HYPOTHESES */
.v2-hypotheses {
  display: grid;
  gap: 1.2rem;
}

.v2-hypothesis {
  padding: 1.8rem 2rem;
  border: 1px solid var(--ink-line);
  border-radius: 1.6rem;
  background: rgba(255,255,255,0.6);
  display: grid;
  gap: 0.9rem;
}

.v2-hypothesis__head {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.v2-hypothesis__num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
}

.v2-hypothesis__verdict {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}

.v2-hypothesis--rejected .v2-hypothesis__verdict { background: rgba(220,80,60,0.12); color: #c03020; }
.v2-hypothesis--niche    .v2-hypothesis__verdict { background: rgba(200,168,232,0.2); color: #7b5ea7; }
.v2-hypothesis--improved .v2-hypothesis__verdict { background: rgba(244,121,32,0.12); color: var(--sp-orange-deep); }
.v2-hypothesis--winner   .v2-hypothesis__verdict { background: rgba(60,180,80,0.12); color: #2a8040; }
.v2-hypothesis--conditional .v2-hypothesis__verdict { background: rgba(200,160,40,0.12); color: #8a6a00; }

.v2-hypothesis--winner {
  border-color: rgba(60,180,80,0.3);
  background: rgba(60,180,80,0.04);
}

.v2-hypothesis h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.v2-hypothesis p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.55;
  color: var(--ink-muted);
}

.v2-hypothesis blockquote {
  margin: 0;
  padding: 1rem 1.2rem;
  border-left: 2px solid var(--sp-orange);
  font-size: 0.94rem;
  line-height: 1.5;
  font-style: italic;
  color: var(--ink);
  background: rgba(244,121,32,0.06);
  border-radius: 0 0.75rem 0.75rem 0;
}

.v2-hypothesis__takeaway {
  font-size: 0.94rem !important;
  font-weight: 600;
  color: var(--ink) !important;
  padding-top: 0.5rem;
  border-top: 1px solid var(--ink-line);
}

/* FULL-WIDTH IMAGE */
.v2-full-img {
  overflow: hidden;
}

.v2-full-img img {
  width: 100%;
  max-height: 70svh;
  object-fit: cover;
  display: block;
}

.v2-full-img__caption {
  margin: 0;
  padding: 1rem 0;
  font-family: var(--font-mono);
  font-size: 0.73rem;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  border-bottom: 1px solid var(--ink-line);
}

/* SEASONS */
.v2-seasons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin: 2.5rem 0;
}

.v2-season {
  padding: 1.5rem;
  border: 1px solid var(--ink-line);
  border-radius: 1.4rem;
  background: rgba(255,255,255,0.65);
  display: grid;
  gap: 0.6rem;
}

.v2-season__icon {
  font-size: 2rem;
  line-height: 1;
}

.v2-season h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.v2-season p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--ink-muted);
}

/* OUTCOME */
.v2-outcome {
  background:
    linear-gradient(135deg, rgba(244,121,32,0.22), transparent 32%),
    linear-gradient(180deg, #151412, #1e1b18);
  padding: 5.5rem 0;
  color: var(--white);
}

.v2-outcome__title {
  margin: 0 0 2.5rem;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  color: #fff;
}

.v2-outcome__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.v2-outcome__grid article {
  padding: 1.5rem;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1.4rem;
  background: rgba(255,255,255,0.05);
  display: grid;
  gap: 0.5rem;
}

.v2-outcome__grid span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sp-orange);
}

.v2-outcome__grid p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.65);
}

/* ILLUSTRATION PLACEHOLDER */
.v2-illustration-placeholder {
  margin-top: 2rem;
  border: 2px dashed rgba(244,121,32,0.35);
  border-radius: 1.4rem;
  padding: 3rem 2rem;
  background: rgba(244,121,32,0.04);
  min-height: 16rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.v2-placeholder-inner {
  text-align: center;
  display: grid;
  gap: 1rem;
  justify-items: center;
}

.v2-placeholder-inner p {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  line-height: 1.6;
}

/* COMPARE BANNER */
.v2-compare-banner {
  background: var(--sp-dark);
  padding: 1.4rem 0;
}

.v2-compare-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.v2-compare-inner p {
  margin: 0;
  font-size: 0.94rem;
  color: rgba(255,255,255,0.6);
}

.v2-compare-inner strong {
  color: var(--sp-orange);
}

.v2-compare-links {
  display: flex;
  gap: 1.5rem;
}

.v2-compare-links a {
  font-family: var(--font-mono);
  font-size: 0.73rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  transition: color 200ms;
}

.v2-compare-links a:hover {
  color: var(--sp-orange);
}

/* CHECKBOX V2 — uses Silpo V2 structure with Checkbox palette */
.page--checkbox-v2 {
  --cb-purple: #a10d94;
  --cb-purple-deep: #7d0874;
  --cb-lavender: #e0b7ef;
  --cb-black: #030303;
  --cb-paper: #f6eff6;
  --sp-orange: var(--cb-purple);
  --sp-orange-deep: var(--cb-purple-deep);
  --sp-dark: var(--cb-black);
  --sp-purple: var(--cb-lavender);
  --sp-purple-soft: rgba(224, 183, 239, 0.2);
  background: var(--cb-paper);
}

.page--checkbox-v2 .site-header {
  background: rgba(246, 239, 246, 0.86);
}

.page--checkbox-v2 .site-header::after {
  background: linear-gradient(90deg, var(--cb-purple), var(--cb-lavender));
}

.page--checkbox-v2 .v2-hero {
  background: var(--cb-purple);
  min-height: auto;
  padding: clamp(4rem, 7vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
}

.page--checkbox-v2 .v2-hero__inner {
  align-items: center;
  grid-template-columns: minmax(0, 0.92fr) minmax(22rem, 0.9fr);
  padding-top: 0;
  padding-bottom: 0;
}

.page--checkbox-v2 .v2-hero__copy {
  min-width: 0;
  padding-bottom: 0;
}

.page--checkbox-v2 .v2-hero__bag {
  align-self: center;
  min-width: 0;
  width: 100%;
}

.page--checkbox-v2 .v2-hero__sub {
  max-width: min(38rem, 100%);
}

.page--checkbox-v2 .v2-hero__bag img {
  border-radius: 1.2rem;
  box-shadow: 0 34px 80px rgba(3, 3, 3, 0.24);
  max-height: 66svh;
  object-position: center;
}

.page--checkbox-v2 .v2-facts__grid strong,
.page--checkbox-v2 .v2-process__num,
.page--checkbox-v2 .v2-outcome__grid span {
  color: var(--cb-lavender);
}

.page--checkbox-v2 .v2-band--paper {
  background: rgba(255, 255, 255, 0.58);
}

.page--checkbox-v2 .v2-war-band,
.page--checkbox-v2 .v2-outcome {
  background: var(--cb-black);
}

.page--checkbox-v2 .v2-war-quote {
  border-left-color: var(--cb-lavender);
  background: rgba(224, 183, 239, 0.08);
  color: var(--cb-lavender);
}

.page--checkbox-v2 .v2-war-stats strong {
  color: var(--cb-lavender);
}

.page--checkbox-v2 .v2-pull-quote,
.page--checkbox-v2 .v2-hypothesis blockquote {
  border-left-color: var(--cb-purple);
}

.page--checkbox-v2 .v2-hypothesis blockquote {
  background: rgba(161, 13, 148, 0.06);
}

.page--checkbox-v2 .v2-hypothesis--winner {
  border-color: rgba(161, 13, 148, 0.28);
  background: rgba(161, 13, 148, 0.04);
}

.page--checkbox-v2 .v2-hypothesis--winner .v2-hypothesis__verdict,
.page--checkbox-v2 .v2-hypothesis--improved .v2-hypothesis__verdict {
  background: rgba(161, 13, 148, 0.12);
  color: var(--cb-purple-deep);
}

.page--checkbox-v2 .v2-hypothesis--niche .v2-hypothesis__verdict {
  background: rgba(224, 183, 239, 0.3);
  color: var(--cb-purple-deep);
}

.page--checkbox-v2 .v2-full-img img {
  max-height: none;
}

.checkbox-process {
  margin-top: 2.5rem;
}

.checkbox-quote-grid,
.checkbox-shot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.checkbox-quote {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--ink-line);
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.65);
}

.checkbox-quote blockquote {
  margin: 0;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.3;
  color: var(--ink);
}

.checkbox-quote figcaption,
.checkbox-shot figcaption,
.checkbox-copy-strip span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.checkbox-quote figcaption {
  color: var(--ink-muted);
}

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

.checkbox-shot {
  overflow: hidden;
  border: 1px solid var(--ink-line);
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow-md);
}

.checkbox-shot--wide {
  grid-column: 1 / -1;
}

.checkbox-shot img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.checkbox-shot figcaption {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 1.1rem;
  color: var(--ink-muted);
}

.checkbox-shot figcaption strong {
  color: var(--ink);
}

.checkbox-shot figcaption span {
  line-height: 1.45;
  text-transform: none;
}

.checkbox-copy-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.checkbox-copy-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  padding: 0.6rem 0.85rem;
  border: 1px solid rgba(161, 13, 148, 0.18);
  border-radius: 999px;
  background: rgba(161, 13, 148, 0.08);
  color: var(--cb-purple-deep);
  text-transform: none;
}

/* V2 RESPONSIVE */
@media (max-width: 960px) {
  .v2-hero__inner {
    grid-template-columns: 1fr;
  }
  .v2-hero__bag {
    max-width: 20rem;
    justify-self: end;
  }
  .v2-process {
    grid-template-columns: repeat(2, 1fr);
  }
  .v2-seasons {
    grid-template-columns: repeat(2, 1fr);
  }
  .v2-outcome__grid {
    grid-template-columns: 1fr;
  }
  .checkbox-quote-grid,
  .checkbox-shot-grid {
    grid-template-columns: 1fr;
  }
  .checkbox-shot--wide {
    grid-column: auto;
  }
  .page--checkbox-v2 .v2-hero__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .page--checkbox-v2 .v2-hero__bag {
    justify-self: stretch;
    max-width: min(100%, 34rem);
  }
}

@media (max-width: 600px) {
  .v2-hero__title { font-size: clamp(2.6rem, 10vw, 3.8rem); }
  .v2-process { grid-template-columns: 1fr; }
  .v2-seasons { grid-template-columns: 1fr 1fr; }
  .v2-war-stats { flex-direction: column; gap: 1.5rem; }
  .page--checkbox-v2 .v2-hero__inner {
    display: block;
    width: calc(100vw - 2rem);
    max-width: calc(100vw - 2rem);
  }
  .page--checkbox-v2 .v2-hero__title {
    font-size: clamp(2.85rem, 13vw, 3.35rem);
  }
  .page--checkbox-v2 .v2-hero__sub {
    width: auto;
    max-width: min(20rem, 100%);
    font-size: 1rem;
    overflow-wrap: anywhere;
  }
  .page--checkbox-v2 .v2-hero__bag {
    margin-top: 2rem;
    max-width: 100%;
    overflow: hidden;
    border-radius: 1.2rem;
  }
  .page--checkbox-v2 .v2-hero__bag img {
    width: 100%;
    height: auto;
  }
  .page--checkbox-v2 .v2-facts__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem 1rem;
  }
  .page--checkbox-v2 .v2-facts__grid article {
    min-width: 0;
  }
  .page--checkbox-v2 .v2-facts__grid strong {
    font-size: clamp(2.2rem, 13vw, 3rem);
  }
  .page--checkbox-v2 .v2-facts__grid span {
    overflow-wrap: anywhere;
  }
}

/* RESUME — aligned with Home V2 palette */
.page--resume {
  --paper: #ecece9;
  --paper-strong: #f5f5f3;
  --paper-deep: #e1e1de;
  --ink: #121212;
  --ink-soft: #171717;
  --ink-muted: rgba(18, 18, 18, 0.62);
  --ink-line: rgba(18, 18, 18, 0.14);
  --accent: #111;
  --accent-deep: #111;
  --accent-soft: #d8d8d8;
  --plum: #8f8f8f;
  background: #ecece9;
  color: var(--ink);
}

.page--resume .site-header {
  background: rgba(236, 236, 233, 0.9);
}

.page--resume .site-header::after {
  background: linear-gradient(90deg, rgba(17, 17, 17, 0.92), rgba(17, 17, 17, 0.48));
}

.page--resume .section.section--paper {
  padding-top: clamp(2.2rem, 4vw, 4rem);
  padding-bottom: clamp(2.2rem, 4vw, 4rem);
}

.page--resume .resume-marquee--between {
  margin: 0;
}

.resume-marquee {
  overflow: hidden;
  border-top: 0;
  border-bottom: 0;
  background: linear-gradient(120deg, #f68327, #d1a8ef, #8fd8ff, #f68327);
  background-size: 220% 220%;
  animation: home-v2-dot-flow 13s ease-in-out infinite;
}

.resume-marquee__belt {
  display: flex;
  gap: 1.8rem;
  width: max-content;
  animation: marquee-run 24s linear infinite;
}

.resume-marquee__track {
  flex: 0 0 auto;
  display: flex;
  gap: 1.8rem;
  width: max-content;
  padding: 0.88rem 0;
  white-space: nowrap;
  font-family: var(--home-v2-ui-font);
  font-size: clamp(0.72rem, 0.78vw, 0.9rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.92);
  text-shadow: none;
}

.resume-marquee__track span {
  display: inline-flex;
  align-items: center;
  gap: 1.8rem;
}

.resume-marquee__track span::after {
  content: "☻";
  opacity: 0.45;
}

.page--resume .resume-list,
.page--resume .course-list {
  gap: 0;
}

.page--resume .resume-entry {
  border: 0;
  border-top: 1px solid rgba(18, 18, 18, 0.16);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.page--resume .resume-entry[open] {
  border: 0;
  border-top: 1px solid rgba(18, 18, 18, 0.22);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.page--resume .resume-entry:hover {
  border: 0;
  border-top: 1px solid rgba(18, 18, 18, 0.22);
  border-radius: 0;
  background: transparent;
  transform: none;
  box-shadow: none;
}

.page--resume .section--dark {
  padding: clamp(2.2rem, 4vw, 4rem) 0 clamp(3rem, 5vw, 5rem);
  background:
    radial-gradient(circle at 86% 14%, rgba(255, 255, 255, 0.06), transparent 28%),
    radial-gradient(circle at 12% 90%, rgba(255, 255, 255, 0.04), transparent 30%),
    linear-gradient(180deg, #1b1b1b 0%, #101010 100%);
  color: #f2f2f2;
}

.page--resume .kicker--light {
  color: rgba(242, 242, 242, 0.58);
}

.page--resume .body--light {
  color: rgba(242, 242, 242, 0.76);
}

.page--resume .resume-education-lead {
  display: grid;
  gap: 0.6rem;
  margin: 0 0 2.6rem;
  padding: 1.3rem 0 1.45rem;
  border-top: 1px solid rgba(255, 255, 255, 0.34);
  border-bottom: 0;
}

.page--resume .resume-education-lead__label {
  margin: 0;
  font-family: var(--home-v2-ui-font);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
}

.page--resume .resume-education-lead__title {
  margin: 0;
  font-size: clamp(1.85rem, 4.1vw, 3.35rem);
  font-weight: 720;
  letter-spacing: -0.02em;
  line-height: 0.96;
  color: #f4f4f3;
}

.page--resume .resume-education-lead__meta {
  margin: 0;
  font-family: var(--home-v2-ui-font);
  font-size: clamp(0.82rem, 0.9vw, 1rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.page--resume .course-entry {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.page--resume .course-entry[open] {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.page--resume .course-entry:hover {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0;
  background: transparent;
  transform: none;
  box-shadow: none;
}

.page--resume .resume-tags span {
  border: 0;
  box-shadow: none;
}

.page--resume .course-entry--extra .course-entry__summary {
  min-height: 5.8rem;
}

.page--resume .course-entry--extra .course-entry__panel {
  grid-template-columns: 1fr;
  gap: 0.55rem;
}

.page--resume .course-extra-collection {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1.3rem;
  width: 100%;
}

.page--resume .course-extra-item {
  margin: 0;
  padding: 0.85rem 0 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.page--resume .course-extra-item__title,
.page--resume .course-extra-item__meta {
  margin: 0;
}

.page--resume .course-extra-item__title {
  font-size: clamp(0.92rem, 1.1vw, 1.05rem);
  font-weight: 620;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.94);
}

.page--resume .course-extra-item__meta {
  margin-top: 0.38rem;
  font-family: var(--home-v2-ui-font);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.page--resume .course-extra-item__focus,
.page--resume .course-extra-item__note {
  margin: 0;
  line-height: 1.45;
}

.page--resume .course-extra-item__focus {
  margin-top: 0.52rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.82);
}

.page--resume .course-extra-item__note {
  margin-top: 0.36rem;
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.66);
}

.page--resume .site-footer {
  border-top: 0;
  background: #101010;
}

.page--resume .site-footer::before {
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.16), transparent 22rem),
    radial-gradient(circle at 78% 16%, rgba(255, 255, 255, 0.09), transparent 24rem),
    radial-gradient(circle at 62% 86%, rgba(255, 255, 255, 0.08), transparent 22rem),
    linear-gradient(145deg, #1d1d1d 0%, #111 48%, #191919 100%);
  filter: saturate(0.9);
}

.page--resume .site-footer::after {
  background:
    linear-gradient(90deg, rgba(16, 16, 16, 0.88), rgba(16, 16, 16, 0.42) 52%, rgba(16, 16, 16, 0.9)),
    linear-gradient(180deg, rgba(16, 16, 16, 0.56), rgba(16, 16, 16, 0.95));
}

/* HOME V2 */
.page--home-v2 {
  --home-v2-bg: #ecece9;
  --home-v2-ink: #121212;
  --home-v2-muted: rgba(18, 18, 18, 0.62);
  --home-v2-ui-font: "IBM Plex Mono", "SF Mono", "Menlo", "Consolas", monospace;
  --home-v2-accent-gradient: linear-gradient(90deg, var(--accent), var(--plum));
  background: var(--home-v2-bg);
  color: var(--home-v2-ink);
  height: 100svh;
  min-height: 100svh;
  overflow: hidden;
}

.home-v2-stage {
  position: relative;
  height: 100%;
  min-height: 100svh;
  perspective: 1400px;
}

.home-v2-stage__flipper {
  height: 100%;
  min-height: 100svh;
  position: relative;
  transform-style: preserve-3d;
  transition: none;
}

.home-v2-stage__face {
  position: absolute;
  inset: 0;
  height: 100%;
  min-height: 100svh;
  width: 100%;
  backface-visibility: hidden;
  transition: none;
}

.home-v2-stage__face--front {
  z-index: 9;
  opacity: 1;
  pointer-events: auto;
}

.home-v2-stage__face--back {
  z-index: 8;
  transform: rotateY(180deg);
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
}

.page--home-v2.is-info .home-v2-stage__flipper {
  transform: rotateY(180deg);
}

.page--home-v2.is-info {
  height: auto;
  overflow-y: auto;
}

.page--home-v2.is-info .home-v2-stage,
.page--home-v2.is-info .home-v2-stage__flipper {
  height: auto;
}

.page--home-v2.is-info .home-v2-stage__face--front {
  opacity: 0;
  pointer-events: none;
}

.page--home-v2.is-info .home-v2-stage__face--back {
  position: relative;
  inset: auto;
  height: auto;
  opacity: 1;
  overflow: visible;
  pointer-events: auto;
}

.home-v2-front {
  height: 100%;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
}

.home-v2-lang {
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  justify-content: flex-end;
  line-height: 1;
}

.home-v2-lang--fixed {
  position: static;
  justify-self: end;
}

.home-v2-lang__button {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  margin: 0;
  font-family: var(--home-v2-ui-font);
  font-size: clamp(0.82rem, 0.9vw, 1rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0b0b0b;
  line-height: 1;
  cursor: pointer;
  border-bottom: 1px solid transparent;
  transition:
    transform 170ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.home-v2-lang__button:hover,
.home-v2-lang__button:focus-visible {
  color: #000;
  border-color: currentColor;
  transform: translateX(1px);
  outline: none;
}

.home-v2-lang__button.is-active {
  color: #000;
  border-color: currentColor;
}

.home-v2-lang__button:focus-visible {
  outline: none;
}

.home-v2-lang__divider {
  color: rgba(18, 18, 18, 0.62);
  font-family: var(--home-v2-ui-font);
  font-size: clamp(0.82rem, 0.9vw, 1rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
}

.home-v2-fixed-rail {
  position: fixed;
  right: 1.2rem;
  top: clamp(0.62rem, 1.1vw, 1.05rem);
  z-index: 94;
  display: grid;
  gap: 0.42rem;
  justify-items: end;
  text-align: right;
}

.home-v2-fixed-rail__mail {
  display: inline-flex;
  margin: 0;
  font-family: var(--home-v2-ui-font);
  font-size: clamp(0.78rem, 0.78vw, 0.9rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--home-v2-ink);
  border-bottom: 1px solid transparent;
  transition:
    color 180ms ease,
    border-color 180ms ease;
}

.home-v2-fixed-rail__mail:hover,
.home-v2-fixed-rail__mail:focus-visible {
  color: #000;
  border-color: currentColor;
}

.page--home-v2 .container {
  width: min(1880px, calc(100% - 2.4rem));
}

.home-v2-top {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--home-v2-bg);
  padding-top: clamp(0.62rem, 1.1vw, 1.05rem);
  padding-bottom: clamp(0.34rem, 0.7vw, 0.56rem);
}

.page--case .home-v2-top {
  --home-v2-bg: rgba(255, 255, 255, 0.94);
  --home-v2-ink: #111;
  --home-v2-muted: rgba(17, 17, 17, 0.58);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  backdrop-filter: blur(18px);
}

.page--case .home-v2-top__about,
.page--case .home-v2-top__resume {
  color: #111;
}

.page--case .site-footer {
  padding: clamp(1.45rem, 2.6vw, 2.4rem) 0 clamp(0.9rem, 1.3vw, 1.15rem);
  border-top: 0;
  background: #050505;
}

.page--case .site-footer .container,
.page--case .site-footer .ed-container {
  width: min(1880px, calc(100% - 2.4rem));
}

.page--case .site-footer::before {
  display: none;
}

.page--case .site-footer::after {
  display: none;
}

.page--case .site-footer__grid {
  grid-template-columns: 1fr;
  gap: 0.32rem;
  align-items: start;
  min-height: 0;
}

.page--case .site-footer__grid > div {
  display: grid;
  gap: 0.28rem;
  justify-items: start;
}

.page--case .site-footer .kicker {
  margin: 0;
  color: rgba(255, 250, 244, 0.46);
  font-family: var(--home-v2-ui-font);
  font-size: clamp(0.6rem, 0.62vw, 0.72rem);
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page--case .site-footer .display {
  max-width: none;
  color: #fffaf4;
  font-family: var(--home-v2-ui-font);
  font-size: clamp(0.82rem, 0.9vw, 1rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.page--case .site-footer .contact-stack {
  display: none;
}

.page--case .site-footer__meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 250, 244, 0.16);
  color: rgba(255, 250, 244, 0.52);
  font-family: var(--home-v2-ui-font);
  font-size: clamp(0.78rem, 0.78vw, 0.9rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.page--case .site-footer__meta a {
  width: fit-content;
  color: rgba(255, 250, 244, 0.58);
  border-bottom: 1px solid rgba(255, 250, 244, 0.24);
  transition:
    color 180ms ease,
    border-color 180ms ease;
}

.page--case .site-footer__meta a:hover,
.page--case .site-footer__meta a:focus-visible {
  color: rgba(255, 250, 244, 0.88);
  border-color: currentColor;
  outline: none;
}

.page--case .site-footer__meta span:nth-child(2) {
  justify-self: center;
}

.page--case .site-footer__meta span:last-child {
  justify-self: end;
}

@media (max-width: 680px) {
  .page--case .site-footer {
    padding-top: 1.25rem;
  }

  .page--case .site-footer .container,
  .page--case .site-footer .ed-container {
    width: min(1880px, calc(100% - 1.6rem));
  }

  .page--case .site-footer__meta {
    grid-template-columns: 1fr;
    gap: 0.42rem;
  }

  .page--case .site-footer__meta span:nth-child(2),
  .page--case .site-footer__meta span:last-child {
    justify-self: start;
  }
}

.mockup-lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 1rem;
  padding: clamp(1rem, 3vw, 2rem);
  background: rgba(5, 5, 5, 0.9);
  color: #fff;
}

.mockup-lightbox[hidden] {
  display: none;
}

.mockup-lightbox__top,
.mockup-lightbox__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.mockup-lightbox__count {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.mockup-lightbox__stage {
  min-height: 0;
  display: grid;
  place-items: center;
}

.mockup-lightbox__image {
  width: min(96vw, 1680px);
  height: calc(100vh - 8.5rem);
  max-width: min(96vw, 1680px);
  max-height: calc(100vh - 8.5rem);
  object-fit: contain;
  border-radius: 8px;
  background: transparent;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.5);
}

.mockup-lightbox__caption {
  max-width: 62rem;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.74);
  text-align: center;
  line-height: 1.45;
}

.mockup-lightbox__button {
  display: inline-grid;
  place-items: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font: inherit;
  cursor: pointer;
  transition: background-color 160ms ease, transform 160ms ease;
}

.mockup-lightbox__button:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.home-v2-top .container {
  width: min(1880px, calc(100% - 2.4rem));
}

.home-v2-top::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: calc(var(--scroll-progress) * 100%);
  height: 2px;
  background: var(--home-v2-accent-gradient);
}

.home-v2-top__grid {
  display: grid;
  grid-template-columns: minmax(0, 2.7fr) minmax(0, 1fr);
  gap: clamp(0.8rem, 1.2vw, 1.6rem);
  align-items: start;
}

.home-v2-top__lead {
  display: inline-grid;
  gap: 0.32rem;
  align-items: start;
}

.home-v2-top__about {
  margin: 0;
  max-width: 60ch;
  font-size: clamp(0.82rem, 0.78vw, 0.94rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--home-v2-ink);
}

.home-v2-top__resume {
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  width: fit-content;
  margin: 0;
  font-family: var(--home-v2-ui-font);
  font-size: clamp(0.82rem, 0.9vw, 1rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #0b0b0b;
  border-bottom: 1px solid transparent;
  transition:
    transform 170ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.home-v2-top__resume:hover,
.home-v2-top__resume:focus-visible {
  color: #000;
  border-color: currentColor;
  transform: translateX(1px);
}

.home-v2-top__resume[aria-current="page"] {
  color: #000;
  border-color: currentColor;
}

.home-v2-top__resume[aria-current="page"] .home-v2-top__resume-arrow {
  display: none;
}

.home-v2-top__resume-arrow {
  display: inline-block;
  font-size: 0.92em;
  line-height: 1;
  transform: translateY(-0.04em);
}

.home-v2-top__cluster {
  display: grid;
  gap: 0.28rem;
}

.home-v2-top__cluster-title {
  margin: 0 0 0.16rem;
  font-family: var(--home-v2-ui-font);
  font-size: clamp(0.6rem, 0.62vw, 0.72rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--home-v2-muted);
}

.home-v2-top__cluster p,
.home-v2-top__cluster a:not(.home-v2-top__resume) {
  margin: 0;
  width: fit-content;
  font-size: clamp(0.78rem, 0.78vw, 0.9rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--home-v2-ink);
}

.home-v2-top__cluster a:not(.home-v2-top__resume) {
  border-bottom: 1px solid transparent;
  transition:
    color 180ms ease,
    border-color 180ms ease;
}

.home-v2-top__cluster a:not(.home-v2-top__resume):hover,
.home-v2-top__cluster a:not(.home-v2-top__resume):focus-visible {
  color: #000;
  border-color: currentColor;
}

.home-v2-top__cluster--right {
  justify-items: end;
  text-align: right;
}

.home-v2-hero {
  display: grid;
  align-items: stretch;
  min-height: 0;
  padding: clamp(0.72rem, 1.5vw, 1.3rem) 0 0;
}

.home-v2-hero__inner {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100%;
  width: min(1880px, calc(100% - 2.4rem));
  margin: 0 auto;
}

.home-v2-hero__name {
  margin: 0;
  width: 100%;
  font-size: clamp(3.9rem, 20.6vw, 21rem);
  font-weight: 800;
  line-height: 0.82;
  letter-spacing: -0.068em;
  display: grid;
  gap: clamp(0.08rem, 0.34vw, 0.3rem);
}

.home-v2-hero__name-first,
.home-v2-hero__name-last {
  display: block;
}

.home-v2-hero__name-first {
  margin-left: 0;
}

.home-v2-hero__name-last-line {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  gap: 0.05em;
  margin-right: clamp(0.08rem, 0.46vw, 0.5rem);
}

.home-v2-hero__dot {
  width: 0.14em;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--accent), var(--plum), #8fd8ff, var(--accent));
  background-size: 220% 220%;
  align-self: flex-end;
  transform: translateY(-6px);
  animation: home-v2-dot-flow 3.2s ease-in-out infinite;
  box-shadow: 0 0 0.06em rgba(246, 131, 39, 0.26);
}

.home-v2-hero__checkbox-logo {
  position: absolute;
  right: clamp(0.2rem, 1.1vw, 1rem);
  top: clamp(0.12rem, 0.8vw, 0.72rem);
  width: clamp(7rem, 13vw, 12.5rem);
  height: auto;
  opacity: 0.94;
}

.home-v2-info {
  min-height: 100svh;
  background: var(--home-v2-bg);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

.home-v2-info__top {
  position: sticky;
  top: 0;
  z-index: 42;
  background: var(--home-v2-bg);
  border-bottom: 1px solid rgba(18, 18, 18, 0.12);
  padding-top: clamp(0.62rem, 1.1vw, 1.05rem);
  padding-bottom: clamp(0.54rem, 0.9vw, 0.7rem);
}

.home-v2-info__top .container {
  width: min(1880px, calc(100% - 2.4rem));
}

.home-v2-info__top-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.7fr) minmax(0, 1fr);
  gap: clamp(0.66rem, 1vw, 1.4rem);
  align-items: start;
}

.home-v2-info__identity {
  display: grid;
  gap: 0.38rem;
  justify-items: start;
}

.home-v2-info__brand,
.home-v2-info__nav-link {
  display: inline-flex;
  margin: 0;
  font-family: var(--home-v2-ui-font);
  font-size: clamp(0.72rem, 0.78vw, 0.9rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0b0b0b;
  border-bottom: 1px solid transparent;
  transition:
    color 150ms ease,
    border-color 150ms ease;
}

.home-v2-info__brand {
  text-transform: none;
}

.home-v2-info__brand:hover,
.home-v2-info__brand:focus-visible,
.home-v2-info__nav-link:hover,
.home-v2-info__nav-link:focus-visible {
  color: #000;
  border-color: currentColor;
}

.home-v2-info__nav-link[aria-current="page"] {
  color: #000;
  border-color: currentColor;
}

.home-v2-info__brand {
  justify-self: start;
}

.home-v2-info__nav-link {
  justify-self: start;
}

.home-v2-info__works {
  justify-self: start;
}

.home-v2-info__main {
  position: relative;
  padding: clamp(0.9rem, 1.8vh, 1.4rem) 0 clamp(0.9rem, 2.6vh, 1.8rem);
  overflow: hidden;
}

.home-v2-info__inner {
  display: grid;
  height: 100%;
  min-height: 0;
  align-content: stretch;
}

.home-v2-info__title {
  margin: 0;
  font-size: clamp(2.2rem, 7.6vw, 6rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  font-weight: 760;
}

.home-v2-cases-grid {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: 0;
  gap: clamp(1.4rem, 4vh, 2.7rem);
  padding-block: clamp(0.4rem, 1.6vh, 1.2rem);
}

.page--home-v2.is-info .home-v2-info__main {
  overflow: visible;
}

.page--home-v2.is-info .home-v2-info__inner,
.page--home-v2.is-info .home-v2-cases-grid {
  height: auto;
}

.home-v2-case-link {
  position: relative;
  display: grid;
  gap: clamp(0.26rem, 0.8vh, 0.64rem);
  width: fit-content;
  max-width: min(100%, 72rem);
  color: var(--home-v2-ink);
  text-decoration: none;
  transition:
    transform 190ms ease,
    color 190ms ease;
}

.home-v2-case-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.58rem;
  width: 100%;
  height: 1px;
  background: color-mix(in srgb, var(--home-v2-ink) 28%, transparent);
  opacity: 0.62;
  transform: scaleX(0.42);
  transform-origin: left;
  transition:
    transform 220ms ease,
    opacity 220ms ease;
}

.home-v2-case-link__title {
  margin: 0;
  font-size: clamp(2.6rem, 7.8vw, 8.3rem);
  line-height: 0.87;
  letter-spacing: -0.06em;
  font-weight: 760;
}

.home-v2-case-link__text {
  margin: 0;
  max-width: min(68ch, 74vw);
  font-size: clamp(0.68rem, 0.82vw, 0.9rem);
  line-height: 1.32;
  color: color-mix(in srgb, var(--home-v2-ink) 66%, #494641);
}

.home-v2-case-link:hover,
.home-v2-case-link:focus-visible {
  color: #040404;
  transform: translateX(0.24rem);
}

.home-v2-case-link:hover::after,
.home-v2-case-link:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.home-v2-case-link:focus-visible {
  outline: 2px solid rgba(18, 18, 18, 0.34);
  outline-offset: 0.3rem;
}

.home-v2-case-cursor {
  --home-v2-case-cursor-x: -240px;
  --home-v2-case-cursor-y: -240px;
  position: fixed;
  left: 0;
  top: 0;
  width: clamp(6.4rem, 10.8vw, 10.8rem);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  pointer-events: none;
  z-index: 120;
  opacity: 0;
  transform: translate3d(
      calc(var(--home-v2-case-cursor-x) + 1.2rem),
      calc(var(--home-v2-case-cursor-y) - 52%),
      0
    )
    scale(0.72);
  transition:
    opacity 170ms ease,
    transform 230ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.home-v2-case-cursor::before {
  content: "";
  position: absolute;
  inset: 0.84rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 205, 107, 0.66), rgba(171, 122, 255, 0.22) 62%, transparent);
  filter: blur(9px);
  opacity: 0.72;
}

.home-v2-case-cursor::after {
  content: "↗";
  font-size: clamp(4.4rem, 7.4vw, 7rem);
  font-weight: 760;
  line-height: 1;
  background: linear-gradient(128deg, var(--accent), var(--plum), #8fd8ff, var(--accent));
  background-size: 230% 230%;
  animation: home-v2-arrow-flow 3.1s ease-in-out infinite;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  filter: drop-shadow(0 12px 24px rgba(16, 16, 16, 0.34));
  transform: translate(0.08rem, -0.06rem);
}

.home-v2-case-cursor.is-visible {
  opacity: 1;
  transform: translate3d(
      calc(var(--home-v2-case-cursor-x) + 1.2rem),
      calc(var(--home-v2-case-cursor-y) - 52%),
      0
    )
    scale(1);
}

.home-v2-case-cursor.is-coming-soon {
  width: auto;
  aspect-ratio: auto;
  padding: 0.64rem 1.44rem;
}

.home-v2-case-cursor.is-coming-soon::before {
  inset: 0;
  border-radius: 4rem;
  background: radial-gradient(ellipse, rgba(255, 205, 107, 0.58) 0%, rgba(171, 122, 255, 0.3) 58%, transparent);
}

.home-v2-case-cursor.is-coming-soon::after {
  content: attr(data-cursor-text);
  font-size: clamp(0.7rem, 1.05vw, 0.92rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transform: none;
  filter: drop-shadow(0 3px 10px rgba(16, 16, 16, 0.18));
  white-space: nowrap;
}

.home-v2-case-link[data-coming-soon] {
  cursor: default;
}

@keyframes home-v2-dot-flow {
  0% {
    background-position: 0% 50%;
    filter: hue-rotate(0deg);
  }

  50% {
    background-position: 100% 50%;
    filter: hue-rotate(28deg);
  }

  100% {
    background-position: 0% 50%;
    filter: hue-rotate(0deg);
  }
}

@keyframes home-v2-arrow-flow {
  0% {
    background-position: 0% 50%;
    filter: hue-rotate(0deg);
  }

  50% {
    background-position: 100% 50%;
    filter: hue-rotate(30deg);
  }

  100% {
    background-position: 0% 50%;
    filter: hue-rotate(0deg);
  }
}

.home-v2-hero__actions {
  grid-row: 1;
  align-self: start;
  display: flex;
  flex-wrap: wrap;
  gap: 0.66rem;
  margin: 0;
}

.home-v2-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0.62rem 0.96rem;
  border: 1px solid rgba(18, 18, 18, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.36);
  font-family: var(--home-v2-ui-font);
  font-size: 0.67rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition:
    transform 170ms ease,
    background-color 170ms ease,
    color 170ms ease,
    border-color 170ms ease;
}

.home-v2-button:hover,
.home-v2-button:focus-visible {
  background: #fff;
  border-color: rgba(18, 18, 18, 0.46);
  transform: translateY(-1px);
}

.home-v2-button--solid {
  border-color: #111;
  background: #111;
  color: #f2f2f2;
}

.home-v2-button--solid:hover,
.home-v2-button--solid:focus-visible {
  background: #000;
  border-color: #000;
}

@media (max-width: 1180px) {
  .home-v2-info__top-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem 1rem;
  }

  .home-v2-cases-grid {
    gap: clamp(1.1rem, 3.2vh, 2.2rem);
  }

  .home-v2-top__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.66rem 1.2rem;
  }

  .home-v2-hero__name {
    font-size: clamp(3.8rem, 17.2vw, 14.2rem);
  }
}

@media (max-width: 860px) {
  .home-v2-stage {
    perspective: none;
  }

  .page--home-v2 .container,
  .home-v2-top .container,
  .home-v2-hero__inner {
    width: min(1880px, calc(100% - 1.6rem));
  }

  .home-v2-top {
    padding-top: 0.76rem;
    padding-bottom: 0.54rem;
  }

  .home-v2-top__grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .home-v2-info__top-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .home-v2-fixed-rail {
    right: 0.8rem;
    top: 0.76rem;
  }

  .home-v2-hero {
    min-height: auto;
    padding-top: 0.96rem;
    padding-bottom: 0;
  }

  .home-v2-hero__name {
    font-size: clamp(3.35rem, 18vw, 8rem);
    line-height: 0.86;
  }

  .home-v2-hero__checkbox-logo {
    width: clamp(5.8rem, 22vw, 8.4rem);
    right: 0;
    top: 0;
  }

  .home-v2-hero__name-first {
    margin-left: 0;
  }

  .home-v2-info__main {
    padding-top: 0.72rem;
    padding-bottom: 0.82rem;
  }

  .home-v2-cases-grid {
    gap: clamp(0.84rem, 2.2vh, 1.6rem);
    padding-block: 0;
  }

  .home-v2-case-link__title {
    font-size: clamp(2.2rem, 12vw, 4.4rem);
  }

  .home-v2-case-link__text {
    max-width: min(100%, 58ch);
    font-size: clamp(0.68rem, 2.6vw, 0.84rem);
  }

  .home-v2-case-cursor {
    display: none;
  }
}

@media (max-width: 560px) {
  .home-v2-fixed-rail {
    right: 0.7rem;
    top: 0.72rem;
  }

  .home-v2-lang {
    font-size: 0.62rem;
  }

  .home-v2-top__about {
    font-size: 0.8rem;
  }

  .home-v2-top__cluster-title {
    font-size: 0.58rem;
  }

  .home-v2-hero__name {
    font-size: clamp(2.8rem, 19vw, 4.9rem);
  }

  .home-v2-hero__checkbox-logo {
    width: clamp(4.8rem, 26vw, 6rem);
    top: -0.1rem;
  }

  .home-v2-hero__actions {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: 1fr;
  }

  .home-v2-button {
    width: 100%;
  }

  .home-v2-cases-grid {
    gap: clamp(0.76rem, 1.9vh, 1.1rem);
  }

  .home-v2-case-link__title {
    font-size: clamp(2rem, 13vw, 3.1rem);
  }

  .home-v2-case-link__text {
    font-size: 0.7rem;
    line-height: 1.28;
  }
}

@media (hover: none), (pointer: coarse) {
  .home-v2-case-cursor {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-v2-stage {
    perspective: none;
  }

  .home-v2-stage__flipper {
    transition: none;
    transform: none !important;
  }

  .home-v2-stage__face {
    transform: none;
    transition: none;
  }

  .page--home-v2:not(.is-info) .home-v2-stage__face--back {
    opacity: 0;
  }

  .home-v2-hero__dot {
    animation: none;
  }

  .home-v2-case-cursor,
  .home-v2-case-cursor.is-visible {
    transition: none;
  }

  .home-v2-case-cursor::before {
    animation: none;
  }
}

body[data-case="checkbox-alt"] {
  --ed-accent: #9C1582;
  --ed-accent-deep: #9C1582;
}

body[data-case="bookmd"] {
  --ed-accent: #1ba29a;
  --ed-accent-deep: #0f7570;
}

/* ─── BookMD case-specific patterns ──────────────── */
.ed-cover {
  position: relative;
  margin-top: 2.5rem;
  padding: 1.5rem 1.5rem 0;
  background: linear-gradient(180deg, var(--ed-accent), var(--ed-accent-deep));
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  isolation: isolate;
}

.ed-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.18), transparent 22rem),
    radial-gradient(circle at 12% 88%, rgba(0, 0, 0, 0.18), transparent 18rem);
  pointer-events: none;
}

.ed-cover__bar {
  position: relative;
  display: flex;
  gap: 0.4rem;
  padding-bottom: 0.85rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.ed-cover__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.32);
}

.ed-cover__placeholder {
  position: relative;
  min-height: clamp(18rem, 32vw, 28rem);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 1rem;
  padding: 1.4rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px 6px 0 0;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  border-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-mono);
  font-size: var(--ed-step--2);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ed-cover__placeholder::before {
  content: "";
  position: absolute;
  inset: 1.4rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0, rgba(255, 255, 255, 0.02) 100%);
  border-radius: 4px;
  pointer-events: none;
}

.ed-cover__placeholder span {
  position: relative;
  align-self: end;
  z-index: 1;
}

.ed-cover__placeholder span:last-child {
  text-align: right;
}

.ed-cover img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px 6px 0 0;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.16);
}

.ed-cover--has-image .ed-cover__placeholder {
  display: none;
}

.ed-figure-slot {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(15rem, 26vw, 22rem);
  padding: 1.5rem;
  background: var(--ed-paper-soft);
  border: 1px dashed var(--ed-line-strong);
  color: var(--ed-ink-mute);
  font-family: var(--font-mono);
  font-size: var(--ed-step--2);
  line-height: 1.45;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
  overflow: hidden;
  transition: border-color 240ms ease, transform 240ms ease;
}

.ed-figure-slot:hover {
  border-color: var(--ed-accent);
  transform: translateY(-2px);
}

.ed-figure-slot__hint {
  display: grid;
  gap: 0.45rem;
  max-width: 28ch;
}

.ed-figure-slot__hint strong {
  display: block;
  color: var(--ed-ink);
  font-family: var(--font-sans);
  font-size: var(--ed-step-1);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.ed-figure-slot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ed-figure-slot.has-image .ed-figure-slot__hint {
  display: none;
}

.ed-island .ed-figure-slot {
  background: rgba(250, 250, 247, 0.04);
  border-color: rgba(250, 250, 247, 0.22);
  color: rgba(250, 250, 247, 0.62);
}

.ed-island .ed-figure-slot__hint strong {
  color: var(--ed-island-ink);
}

.ed-island .ed-figure-slot:hover {
  border-color: var(--ed-accent);
}

.ed-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--ed-accent);
  z-index: 80;
  transition: width 80ms linear;
  pointer-events: none;
}

.ed-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.55rem;
  margin-top: 1.2rem;
}

.ed-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.62rem;
  border: 1px solid var(--ed-line-strong);
  font-family: var(--font-mono);
  font-size: var(--ed-step--2);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ed-ink-soft);
  transition: color 200ms ease, border-color 200ms ease;
}

.ed-tag:hover {
  color: var(--ed-accent-deep);
  border-color: var(--ed-accent-deep);
}

.ed-back {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  margin-bottom: 1.2rem;
  font-family: var(--font-mono);
  font-size: var(--ed-step--2);
  letter-spacing: 0.06em;
  color: var(--ed-ink-mute);
  text-transform: uppercase;
  transition: color 180ms ease, transform 180ms ease;
}

.ed-back:hover,
.ed-back:focus-visible {
  color: var(--ed-accent-deep);
  transform: translateX(-3px);
  outline: none;
}

.ed-back::before {
  content: "←";
  display: inline-block;
  transition: transform 180ms ease;
}

.ed-back:hover::before {
  transform: translateX(-3px);
}

/* Hover ripple on numbered formats */
.ed-format__num {
  display: inline-block;
  transition: color 240ms ease, transform 240ms ease;
}

.ed-format:hover .ed-format__num {
  color: var(--ed-accent);
  transform: translateX(2px);
}

/* Subtle reveal stagger inside hero */
.ed-hero .reveal {
  transition-delay: 0s;
}

.ed-hero .reveal:nth-child(2) {
  transition-delay: 0.06s;
}

.ed-hero .reveal:nth-child(3) {
  transition-delay: 0.14s;
}

.ed-hero .reveal:nth-child(4) {
  transition-delay: 0.22s;
}

@media (prefers-reduced-motion: reduce) {
  .ed-back,
  .ed-format__num,
  .ed-figure-slot {
    transition: none;
  }

  .ed-back:hover,
  .ed-format:hover .ed-format__num,
  .ed-figure-slot:hover {
    transform: none;
  }
}

@media (max-width: 768px) {
  .ed-cover__placeholder {
    grid-template-columns: 1fr;
    min-height: 14rem;
  }

  .ed-cover__placeholder span:last-child {
    text-align: left;
  }
}

.ed {
  background: var(--ed-paper);
  color: var(--ed-ink);
  font-family: var(--font-sans);
  font-feature-settings: "ss01", "ss02", "kern";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.ed ::selection {
  background: #9C1582;
  color: #fff;
}

.ed ::-moz-selection {
  background: #9C1582;
  color: #fff;
}

.ed-top {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--ed-line);
}

.ed-top__grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  min-height: 3.6rem;
}

.ed-top__cluster {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1.1rem;
}

.ed-top a,
.ed-link {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4em;
  color: var(--ed-ink);
  font-family: var(--font-mono);
  font-size: var(--ed-step--2);
  line-height: 1.3;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.1em;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.ed-top a:hover,
.ed-top a:focus-visible,
.ed-link:hover,
.ed-link:focus-visible {
  color: var(--ed-accent-deep);
  border-color: var(--ed-accent-deep);
}

.ed-link::after,
.ed-top a:not(.ed-top__brand)::after {
  content: "↗";
  font-size: 0.9em;
}

.ed-top__brand {
  justify-self: start;
  border-bottom-color: transparent;
}

.ed-container {
  width: var(--ed-container);
  margin: 0 auto;
}

.ed-container--wide {
  width: var(--ed-container-wide);
  margin: 0 auto;
}

.ed-container--narrow {
  width: var(--ed-container-narrow);
  margin: 0 auto;
}

.ed-section {
  padding: var(--ed-stack) 0;
}

.ed-section--tight {
  padding: var(--ed-stack-tight) 0;
}

.ed-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--ed-gutter);
  row-gap: var(--ed-stack-tight);
}

.ed-col-full {
  grid-column: 1 / -1;
}

.ed-col-main {
  grid-column: 1 / span 8;
}

.ed-col-side {
  grid-column: 9 / -1;
}

.ed-col-half-l {
  grid-column: 1 / span 6;
}

.ed-col-half-r {
  grid-column: 7 / -1;
}

.ed-col-narrow {
  grid-column: 3 / span 8;
}

.ed-col-shift {
  grid-column: 4 / span 7;
}

.ed-display {
  margin: 0;
  color: var(--ed-ink);
  font-family: var(--font-serif);
  font-size: var(--ed-step-6);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: 0;
  text-wrap: balance;
}

.ed-display em,
.ed-h2 em,
.ed-h3 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

.ed-h2 {
  margin: 0;
  color: var(--ed-ink);
  font-size: var(--ed-step-4);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0;
  text-wrap: balance;
}

.ed-h3 {
  margin: 0;
  color: var(--ed-ink);
  font-size: var(--ed-step-3);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0;
  text-wrap: balance;
}

.ed-meta,
.ed-index,
.ed-caption,
.ed-stat__label,
.ed-format__status,
.ed-panel h4,
.ed-conclusion strong,
.ed-marquee__track {
  font-family: var(--font-mono);
  font-size: var(--ed-step--2);
  line-height: 1.35;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ed-meta,
.ed-caption,
.ed-stat__label {
  color: var(--ed-ink-mute);
}

.ed-meta--strong {
  color: var(--ed-ink);
}

.ed-lede {
  max-width: 36ch;
  margin: 0;
  font-size: var(--ed-step-2);
  line-height: 1.35;
}

.ed-prose p {
  max-width: 64ch;
  margin: 0 0 1.25em;
  color: var(--ed-ink-soft);
  font-size: var(--ed-step-1);
  line-height: 1.55;
}

.ed-hero {
  padding-top: 6.5rem;
  padding-bottom: 4.5rem;
  border-bottom: 1px solid var(--ed-line);
  overflow: hidden;
}

.ed-hero__title {
  max-width: 15ch;
  margin-top: 1.5rem;
}

.ed-hero__bottom {
  align-items: end;
  margin-top: var(--ed-stack-tight);
}

.ed-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.5rem;
  margin-top: 2.5rem;
}

.ed-hero__media {
  position: relative;
  grid-column: 8 / -1;
  min-height: 23rem;
  border-top: 1px solid var(--ed-line-strong);
  overflow: hidden;
}

.ed-hero__media img {
  width: 100%;
  height: 100%;
  min-height: 23rem;
  object-fit: cover;
  filter: grayscale(1) contrast(1.06);
}

.ed-hero__media--silpo {
  background: var(--ed-accent);
  border-top: 0;
}

.ed-hero__media--checkbox {
  aspect-ratio: auto;
  min-height: 0;
  align-self: end;
  background: transparent;
  border-top: 0;
}

.ed-hero__media--checkbox img {
  height: auto;
  min-height: 0;
  object-fit: cover;
  filter: none;
}

.ed-hero__media--silpo img {
  height: auto;
  min-height: 0;
  border: 0;
  filter: none;
  object-fit: contain;
}

.ed-hero__media-logo {
  position: absolute;
  left: 1.2rem;
  top: 1.2rem;
  z-index: 1;
  width: 9rem;
}

.ed-hero__media-basket {
  position: absolute;
  right: -2rem;
  bottom: -1.2rem;
  width: min(76%, 30rem);
}

.ed-index-block {
  border-bottom: 1px solid var(--ed-line);
}

.ed-index-block + .ed-index-block {
  border-top: 0;
}

.ed-summary-list {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
  border-top: 1px solid var(--ed-line);
}

.ed-summary-item {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--ed-line);
}

.ed-summary-item p {
  margin: 0;
  color: var(--ed-ink-soft);
  font-size: var(--ed-step-1);
  line-height: 1.5;
}

.ed-mark {
  background: var(--ed-accent);
  color: var(--ed-accent-on);
  padding: 0 0.08em 0.04em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.ed-h2 .ed-mark {
  padding-block: 0.02em 0.08em;
}

.ed-island .ed-summary-list,
.ed-island .ed-summary-item {
  border-color: rgba(250, 250, 247, 0.22);
}

.ed-island .ed-summary-item p {
  color: var(--ed-island-ink);
}

.ed-stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: var(--ed-stack-tight);
  border-top: 1px solid var(--ed-line-strong);
  border-bottom: 1px solid var(--ed-line-strong);
}

.ed-stat {
  min-height: 10rem;
  padding: 1rem;
  border-right: 1px solid var(--ed-line);
}

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

.ed-stat strong {
  display: block;
  margin-top: 2rem;
  color: var(--ed-ink);
  font-family: var(--font-serif);
  font-size: var(--ed-step-4);
  font-weight: 400;
  line-height: 0.92;
}

.ed-stat span:last-child {
  display: block;
  max-width: 18ch;
  margin-top: 0.5rem;
  color: var(--ed-ink-mute);
  line-height: 1.4;
}

.ed-island {
  background: var(--ed-island);
  color: var(--ed-island-ink);
}

.ed-island .ed-h2,
.ed-island .ed-h3,
.ed-island .ed-display {
  color: var(--ed-island-ink);
}

.ed-island .ed-meta,
.ed-island .ed-caption,
.ed-island .ed-prose p {
  color: var(--ed-island-mute);
}

.ed-island__quote {
  margin: 0;
  color: var(--ed-island-ink);
  font-family: var(--font-serif);
  font-size: var(--ed-step-4);
  font-weight: 400;
  line-height: 1.04;
}

.ed-island__quote em {
  font-style: italic;
}

.ed-research-map {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  margin-top: var(--ed-stack-tight);
  border-top: 1px solid var(--ed-line);
  border-bottom: 1px solid var(--ed-line);
}

.ed-research-map__item {
  min-height: 11rem;
  padding: 1rem;
  border-right: 1px solid var(--ed-line);
}

.ed-research-map__item:last-child {
  border-right: 0;
}

.ed-research-map__item strong {
  display: block;
  margin: 2.25rem 0 0.6rem;
  font-size: var(--ed-step-1);
  font-weight: 500;
  line-height: 1.2;
}

.ed-research-map__item span {
  display: block;
  color: var(--ed-ink-mute);
  font-size: var(--ed-step--1);
  line-height: 1.45;
}

.ed-formats {
  display: grid;
  gap: var(--ed-stack);
  margin-top: var(--ed-stack-tight);
}

.ed-format {
  border-top: 1px solid var(--ed-line-strong);
  padding-top: var(--ed-stack-tight);
}

.ed-format__mast {
  align-items: end;
}

.ed-format__num {
  color: var(--ed-accent-deep);
  font-family: var(--font-serif);
  font-size: var(--ed-step-5);
  line-height: 0.9;
}

.ed-format__num--hero {
  font-size: clamp(7rem, 12vw, 12rem);
}

.ed-format__status {
  color: var(--ed-accent-deep);
}

.ed-decision-chapter {
  align-items: end;
  margin-top: var(--ed-stack);
  padding-top: var(--ed-stack-tight);
  border-top: 1px solid var(--ed-line-strong);
}

.ed-format__hero {
  display: grid;
  grid-template-columns: minmax(16rem, 24rem) minmax(0, 1fr);
  gap: var(--ed-gutter);
  align-items: start;
}

.ed-format__copy {
  display: grid;
  gap: 1rem;
  max-width: 42ch;
}

.ed-format__copy p {
  margin: 0;
  color: var(--ed-ink-soft);
  font-size: var(--ed-step-1);
  line-height: 1.55;
}

.ed-format__hero-image {
  margin: 0;
}

.ed-format__hero-image img {
  display: block;
  width: 100%;
  border: 1px solid var(--ed-line);
  border-radius: 8px;
  background: var(--ed-paper-soft);
}

.ed-format__hero-image img[data-lightbox-image] {
  cursor: zoom-in;
}

.ed-format__hero-image img[data-lightbox-image]:focus-visible {
  outline: 2px solid var(--ed-accent-deep);
  outline-offset: 4px;
}

.ed-flow-explain {
  margin-top: var(--ed-stack-tight);
}

.ed-flow-explain--uktzed-mirror {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(18rem, 0.38fr);
  gap: var(--ed-gutter);
  align-items: start;
}

.ed-flow-explain--uktzed-mirror .ed-annotated {
  margin: 0;
}

.ed-uktzed-carousel {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  align-self: start;
}

.ed-uktzed-carousel__stage {
  border: 1px solid var(--ed-line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--ed-paper-soft);
}

.ed-uktzed-carousel .v4-mockup__slide {
  margin: 0;
  display: none;
}

.ed-uktzed-carousel .v4-mockup__slide.is-active {
  display: block;
}

.ed-uktzed-carousel .v4-mockup__slide img {
  display: block;
  width: 100%;
  cursor: zoom-in;
}

.ed-uktzed-carousel__controls {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5rem;
}

.ed-uktzed-carousel__count {
  min-width: 3.6rem;
  text-align: center;
  color: var(--ed-ink-mute);
  font-family: var(--font-mono);
  font-size: var(--ed-step--2);
  line-height: 1.35;
  letter-spacing: 0.04em;
}

.ed-uktzed-carousel__button {
  appearance: none;
  display: grid;
  place-items: center;
  width: 2rem;
  aspect-ratio: 1;
  border: 1px solid var(--ed-line);
  border-radius: 999px;
  background: var(--ed-paper);
  color: var(--ed-ink);
  font: inherit;
  cursor: pointer;
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease;
}

.ed-uktzed-carousel__button:hover,
.ed-uktzed-carousel__button:focus-visible {
  color: var(--ed-accent-deep);
  border-color: var(--ed-accent-deep);
  background: #fff;
  outline: none;
}

.ed-uktzed-flow__panel {
  align-self: start;
}

.ed-flow-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--ed-gutter);
}

.ed-flow-card {
  appearance: none;
  display: grid;
  gap: 0.9rem;
  padding: 0.95rem 0 0;
  border: 0;
  border-top: 1px solid var(--ed-line);
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: default;
}

.ed-flow-card__title,
.ed-flow-card__text {
  display: block;
}

.ed-flow-card__title {
  color: var(--ed-ink);
  font-size: var(--ed-step-1);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.03em;
  transition: color 160ms ease;
}

.ed-flow-card__title--accent {
  color: var(--ed-accent-deep);
}

.ed-panel h4.ed-flow-card__title {
  margin: 0 0 0.95rem;
  color: var(--ed-accent-deep);
  font-family: var(--font-sans);
  font-size: var(--ed-step-1);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.03em;
  text-transform: none;
}

.ed-flow-card__text {
  max-width: 24ch;
  color: var(--ed-ink-mute);
  font-size: var(--ed-step-0);
  line-height: 1.45;
}

.ed-flow-card:hover .ed-flow-card__title,
.ed-flow-card:focus-visible .ed-flow-card__title {
  color: var(--ed-accent-deep);
}

.ed-flow-card:focus-visible {
  outline: 2px solid var(--ed-accent-deep);
  outline-offset: 0.45rem;
}

.ed-annotated {
  position: relative;
  margin: var(--ed-stack-tight) 0 0;
  border: 1px solid var(--ed-line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--ed-island);
}

.ed-annotated > img:first-child {
  display: block;
  width: 100%;
  cursor: zoom-in;
}

.ed-annotated__mark {
  position: absolute;
  z-index: 2;
  width: auto;
  height: auto;
  pointer-events: none;
  opacity: 0;
  transform: translateY(0.35rem);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.ed-flow-explain:has(.ed-flow-card--structure:hover) .ed-annotated__mark--structure,
.ed-flow-explain:has(.ed-flow-card--structure:focus-visible) .ed-annotated__mark--structure,
.ed-flow-explain:has(.ed-flow-card--required:hover) .ed-annotated__mark--required,
.ed-flow-explain:has(.ed-flow-card--required:focus-visible) .ed-annotated__mark--required,
.ed-flow-explain:has(.ed-flow-card--hints:hover) .ed-annotated__mark--hints,
.ed-flow-explain:has(.ed-flow-card--hints:focus-visible) .ed-annotated__mark--hints {
  opacity: 1;
  transform: translateY(0);
}

.ed-annotated__mark--line-main {
  top: 22.5%;
  left: 12.1%;
  width: 12.8%;
}

.ed-annotated__mark--line-secondary {
  top: 57.1%;
  left: 12.2%;
  width: 13.2%;
}

.ed-annotated__mark--circle-name {
  top: 26.2%;
  left: 18.2%;
  width: 4.5%;
}

.ed-annotated__mark--circle-tax {
  top: 45.6%;
  left: 20.2%;
  width: 4.5%;
}

.ed-annotated__mark--arrow-main {
  top: 10.2%;
  left: 55.8%;
  width: 7.2%;
}

.ed-annotated__mark--arrow-secondary {
  top: 43.4%;
  left: 51.2%;
  width: 7.2%;
}

.ed-annotated__mark--uktzed-context-line {
  top: 28.1%;
  left: 2.1%;
  width: 93.8%;
}

.ed-annotated__mark--uktzed-reco-arrow {
  top: 17.4%;
  left: 29.2%;
  width: 11.9%;
}

.ed-error-story {
  display: grid;
  grid-template-columns: minmax(18rem, 0.72fr) minmax(0, 1fr);
  gap: var(--ed-gutter);
  align-items: end;
  margin-top: var(--ed-stack-tight);
}

.ed-error-story__copy {
  display: grid;
  gap: 1.1rem;
  max-width: 50ch;
  align-self: end;
}

.ed-error-story__copy p,
.ed-error-story__copy li {
  margin: 0;
  color: var(--ed-ink-soft);
  font-size: var(--ed-step-0);
  line-height: 1.55;
}

.ed-error-story__copy ul {
  display: grid;
  gap: 0.75rem;
  list-style: none;
}

.ed-error-story__copy li {
  padding-left: 1.15rem;
  position: relative;
}

.ed-error-story__copy li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--ed-accent-deep);
}

.ed-error-before {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(10rem, 0.32fr);
  gap: clamp(1rem, 2vw, 1.6rem);
  align-items: start;
  align-self: end;
}

.ed-error-shot {
  margin: 0;
}

.ed-error-shot > .ed-meta {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--ed-accent-deep);
}

.ed-error-shot img {
  display: block;
  width: 100%;
  border: 1px solid var(--ed-line);
  border-radius: 8px;
  background: var(--ed-paper-soft);
  cursor: zoom-in;
}

.ed-error-shot figcaption {
  margin-top: 0.75rem;
  color: var(--ed-ink-mute);
  font-family: var(--font-mono);
  font-size: var(--ed-step--2);
  line-height: 1.45;
  letter-spacing: 0.02em;
}

.ed-error-shot--sale-note {
  padding-top: 2.25rem;
}

.ed-error-shot--sale-note figcaption {
  padding-top: 0.8rem;
  border-top: 1px solid var(--ed-line);
}

.ed-error-after {
  display: grid;
  grid-template-columns: minmax(18rem, 0.58fr) minmax(18rem, 0.42fr);
  gap: var(--ed-gutter);
  align-items: start;
  margin-top: var(--ed-stack-tight);
}

.ed-error-after__copy {
  display: grid;
  gap: 1.1rem;
  max-width: 62ch;
}

.ed-error-after__copy > .ed-meta {
  color: var(--ed-accent-deep);
}

.ed-error-after__copy > p {
  max-width: 46ch;
  margin: 0;
  color: var(--ed-ink-soft);
  font-size: var(--ed-step-1);
  line-height: 1.5;
}

.ed-error-principles {
  display: grid;
  gap: 1rem;
  margin-top: 0.4rem;
}

.ed-error-principles .ed-panel p {
  margin: 0;
  color: var(--ed-ink-soft);
  font-size: var(--ed-step--1);
  line-height: 1.45;
}

.ed-tax-video {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--ed-gutter);
  align-items: start;
  margin-top: var(--ed-stack-tight);
  padding-top: 0;
  border-top: 0;
}

.ed-tax-followup__copy {
  display: grid;
  gap: 1rem;
  max-width: none;
}

.ed-tax-followup__copy .ed-flow-card__text {
  max-width: none;
}

.ed-mini-video {
  position: relative;
  margin: 0;
}

.ed-mini-video video {
  display: block;
  width: 100%;
  border: 1px solid var(--ed-line);
  border-radius: 10px;
  background: var(--ed-island);
  box-shadow: 0 18px 46px rgba(12, 12, 12, 0.1);
}

.ed-mini-video::after {
  content: "▶";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  width: clamp(3.6rem, 6vw, 5.4rem);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background: rgba(156, 21, 130, 0.86);
  color: #fff;
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
  box-shadow: 0 18px 48px rgba(12, 12, 12, 0.24);
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.ed-mini-video.is-playing::after {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.92);
}

.ed-format__intro {
  max-width: 46ch;
  margin: 1rem 0 0;
  color: var(--ed-ink-soft);
  font-size: var(--ed-step-1);
  line-height: 1.55;
}

.ed-format__matrix {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--ed-gutter);
  margin-top: var(--ed-stack-tight);
}

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

.ed-format__matrix--single {
  grid-template-columns: minmax(18rem, 0.34fr) minmax(0, 0.66fr);
  align-items: start;
  max-width: none;
}

.ed-format__copy .ed-format__matrix {
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 0.6rem;
}

.ed-format__matrix-media {
  margin: 0;
  align-self: start;
}

.ed-format__matrix-media img {
  display: block;
  width: 100%;
  border: 1px solid var(--ed-line);
  border-radius: 8px;
  background: var(--ed-paper-soft);
  cursor: zoom-in;
}

.ed-panel {
  padding-top: 0.9rem;
  border-top: 1px solid var(--ed-line);
}

.ed-panel h4 {
  margin: 0 0 1rem;
  color: var(--ed-ink-mute);
}

.ed-panel ul {
  display: grid;
  gap: 1rem;
  list-style: none;
}

.ed-panel li {
  color: var(--ed-ink-soft);
  font-size: var(--ed-step--1);
  line-height: 1.45;
}

.ed-panel li::before {
  content: "— ";
  color: var(--ed-accent-deep);
}

.ed-quote-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--ed-gutter);
  margin-top: var(--ed-stack-tight);
}

.ed-quote {
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid var(--ed-line-strong);
}

.ed-quote blockquote {
  margin: 0;
  color: var(--ed-ink);
  font-family: var(--font-serif);
  font-size: var(--ed-step-2);
  line-height: 1.22;
}

.ed-quote figcaption {
  margin-top: 1rem;
  color: var(--ed-ink-mute);
  font-family: var(--font-mono);
  font-size: var(--ed-step--2);
  line-height: 1.35;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ed-format__visual {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
  gap: var(--ed-gutter);
  align-items: end;
  margin-top: var(--ed-stack-tight);
}

.ed-format__visual figure {
  margin: 0;
}

.ed-format__visual img,
.ed-gallery__item img {
  width: 100%;
  border: 1px solid var(--ed-line);
  border-radius: 8px;
  background: var(--ed-paper-soft);
  object-fit: cover;
}

.ed-format__visual img {
  aspect-ratio: 4 / 3;
}

.ed-format__visual figure:first-child img {
  aspect-ratio: 16 / 10;
}

.ed-caption,
.ed-gallery__item figcaption {
  display: block;
  margin-top: 0.75rem;
}

.ed-conclusion {
  display: grid;
  grid-template-columns: 12rem minmax(0, 1fr);
  gap: var(--ed-gutter);
  margin-top: var(--ed-stack-tight);
  padding: 1rem 0;
  border-top: 1px solid var(--ed-line-strong);
  border-bottom: 1px solid var(--ed-line);
}

.ed-conclusion strong {
  color: var(--ed-accent-deep);
}

.ed-conclusion p {
  max-width: 74ch;
  margin: 0;
  color: var(--ed-ink-soft);
  font-size: var(--ed-step-1);
  line-height: 1.55;
}

.ed-uktzed-confirm {
  grid-template-columns: minmax(17rem, 0.68fr) minmax(0, 1fr);
  align-items: start;
  border-bottom: 0;
  padding-bottom: 0;
}

.ed-uktzed-confirm .ed-h3 {
  margin: 0;
  max-width: 18ch;
}

.ed-uktzed-confirm__copy {
  display: grid;
  gap: 0.85rem;
}

.ed-uktzed-confirm__copy p {
  margin: 0;
  color: var(--ed-ink-soft);
  font-size: var(--ed-step-0);
  line-height: 1.55;
}

.ed-uktzed-confirm__gallery {
  margin-top: var(--ed-stack-tight);
}

.ed-import-success {
  margin-top: var(--ed-stack-tight);
}

.ed-import-success__gallery {
  margin-top: var(--ed-stack-tight);
}

.ed-import-structure {
  display: grid;
  gap: var(--ed-stack-tight);
  margin-top: var(--ed-stack-tight);
}

.ed-import-structure__panel {
  max-width: none;
}

.ed-import-grid {
  display: grid;
  gap: 0.75rem;
  align-self: start;
}

.ed-import-grid--full {
  width: 100%;
}

.ed-import-grid--triple {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.ed-import-grid__item {
  margin: 0;
}

.ed-import-grid__item img {
  display: block;
  width: 100%;
  border: 1px solid var(--ed-line);
  border-radius: 10px;
  background: var(--ed-paper-soft);
  cursor: zoom-in;
}

/* Checkbox alt: unified media styling */
.page--case-editorial[data-case="checkbox-alt"] {
  --ed-case-media-radius: 10px;
  --ed-case-media-border: 1px solid var(--ed-line);
  --ed-case-micro-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ed-case-micro-shadow: 0 18px 46px rgba(12, 12, 12, 0.11);
}

.page--case-editorial[data-case="checkbox-alt"] .ed-hero__media--checkbox img,
.page--case-editorial[data-case="checkbox-alt"] .ed-format__hero-image img,
.page--case-editorial[data-case="checkbox-alt"] .ed-annotated,
.page--case-editorial[data-case="checkbox-alt"] .ed-error-shot img,
.page--case-editorial[data-case="checkbox-alt"] .ed-mini-video video,
.page--case-editorial[data-case="checkbox-alt"] .ed-format__matrix-media img,
.page--case-editorial[data-case="checkbox-alt"] .ed-uktzed-carousel__stage,
.page--case-editorial[data-case="checkbox-alt"] .ed-gallery__item img,
.page--case-editorial[data-case="checkbox-alt"] .ed-import-grid__item img {
  border-radius: var(--ed-case-media-radius);
}

.page--case-editorial[data-case="checkbox-alt"] .ed-hero__media--checkbox img,
.page--case-editorial[data-case="checkbox-alt"] .ed-format__hero-image img,
.page--case-editorial[data-case="checkbox-alt"] .ed-annotated,
.page--case-editorial[data-case="checkbox-alt"] .ed-error-shot img,
.page--case-editorial[data-case="checkbox-alt"] .ed-mini-video video,
.page--case-editorial[data-case="checkbox-alt"] .ed-format__matrix-media img,
.page--case-editorial[data-case="checkbox-alt"] .ed-uktzed-carousel__stage,
.page--case-editorial[data-case="checkbox-alt"] .ed-gallery__item img,
.page--case-editorial[data-case="checkbox-alt"] .ed-import-grid__item img {
  border: var(--ed-case-media-border);
  background: var(--ed-paper-soft);
}

@media (prefers-reduced-motion: no-preference) {
  .page--case-editorial[data-case="checkbox-alt"] .ed-hero__media--checkbox img,
  .page--case-editorial[data-case="checkbox-alt"] .ed-format__hero-image img,
  .page--case-editorial[data-case="checkbox-alt"] .ed-annotated,
  .page--case-editorial[data-case="checkbox-alt"] .ed-error-shot img,
  .page--case-editorial[data-case="checkbox-alt"] .ed-mini-video video,
  .page--case-editorial[data-case="checkbox-alt"] .ed-format__matrix-media img,
  .page--case-editorial[data-case="checkbox-alt"] .ed-uktzed-carousel__stage,
  .page--case-editorial[data-case="checkbox-alt"] .ed-gallery__item img,
  .page--case-editorial[data-case="checkbox-alt"] .ed-import-grid__item img {
    transition:
      transform 280ms var(--ed-case-micro-ease),
      box-shadow 280ms var(--ed-case-micro-ease),
      border-color 220ms ease;
  }

  .page--case-editorial[data-case="checkbox-alt"] .ed-flow-card,
  .page--case-editorial[data-case="checkbox-alt"] .ed-outcome__cell--goal,
  .page--case-editorial[data-case="checkbox-alt"] .ed-summary-item {
    transition:
      transform 220ms var(--ed-case-micro-ease),
      border-color 220ms ease,
      background-color 220ms ease;
  }

  .page--case-editorial[data-case="checkbox-alt"] .ed-uktzed-carousel__button,
  .page--case-editorial[data-case="checkbox-alt"] .ed-next-case__arrow {
    transition:
      transform 200ms var(--ed-case-micro-ease),
      color 180ms ease;
  }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .page--case-editorial[data-case="checkbox-alt"] .ed-hero__media--checkbox img:hover,
  .page--case-editorial[data-case="checkbox-alt"] .ed-format__hero-image img:hover,
  .page--case-editorial[data-case="checkbox-alt"] .ed-annotated:hover,
  .page--case-editorial[data-case="checkbox-alt"] .ed-error-shot:hover img,
  .page--case-editorial[data-case="checkbox-alt"] .ed-mini-video:hover video,
  .page--case-editorial[data-case="checkbox-alt"] .ed-format__matrix-media:hover img,
  .page--case-editorial[data-case="checkbox-alt"] .ed-uktzed-carousel__stage:hover,
  .page--case-editorial[data-case="checkbox-alt"] .ed-gallery__item:hover img,
  .page--case-editorial[data-case="checkbox-alt"] .ed-import-grid__item:hover img {
    transform: translateY(-2px);
    box-shadow: var(--ed-case-micro-shadow);
    border-color: rgba(156, 21, 130, 0.26);
  }

  .page--case-editorial[data-case="checkbox-alt"] .ed-flow-card:hover,
  .page--case-editorial[data-case="checkbox-alt"] .ed-flow-card:focus-visible {
    transform: translateY(-2px);
    border-top-color: rgba(156, 21, 130, 0.34);
  }

  .page--case-editorial[data-case="checkbox-alt"] .ed-outcome__cell--goal:hover {
    transform: translateY(-2px);
    border-top-color: rgba(156, 21, 130, 0.34);
  }

  .page--case-editorial[data-case="checkbox-alt"] .ed-summary-item:hover {
    transform: translateY(-1px);
    border-bottom-color: rgba(156, 21, 130, 0.34);
  }

  .page--case-editorial[data-case="checkbox-alt"] .ed-uktzed-carousel__button:hover,
  .page--case-editorial[data-case="checkbox-alt"] .ed-uktzed-carousel__button:focus-visible {
    transform: translateY(-1px) scale(1.03);
  }

  .page--case-editorial[data-case="checkbox-alt"] .ed-next-case:hover .ed-next-case__arrow,
  .page--case-editorial[data-case="checkbox-alt"] .ed-next-case:focus-visible .ed-next-case__arrow {
    transform: translateX(0.22rem);
  }
}

.ed-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--ed-stack-tight) var(--ed-gutter);
}

.ed-gallery__item {
  margin: 0;
}

.ed-gallery__item--lg {
  grid-column: 1 / span 8;
}

.ed-gallery__item--md {
  grid-column: 5 / span 6;
  margin-top: 4rem;
}

.ed-gallery__item--sm {
  grid-column: 9 / span 4;
}

.ed-gallery__item--wide {
  grid-column: 2 / span 10;
}

.ed-gallery__item--lg img {
  aspect-ratio: 16 / 10;
}

.ed-gallery__item--md img,
.ed-gallery__item--sm img {
  aspect-ratio: 4 / 3;
}

.ed-outcome {
  background:
    linear-gradient(180deg, var(--ed-paper) 0%, var(--ed-paper-soft) 100%);
  border-top: 1px solid var(--ed-line);
}

.ed-outcome__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--ed-gutter);
  margin-top: var(--ed-stack-tight);
}

.ed-outcome__cell {
  padding-top: 1rem;
  border-top: 1px solid var(--ed-line-strong);
}

.ed-outcome__num {
  margin: 0 0 0.5rem;
  color: var(--ed-accent-deep);
  font-family: var(--font-serif);
  font-size: var(--ed-step-5);
  line-height: 0.9;
}

.ed-outcome__cell p:last-child {
  max-width: 26ch;
  margin: 0;
  color: var(--ed-ink-mute);
  line-height: 1.45;
}

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

.ed-outcome__cell--goal {
  display: grid;
  gap: 0.85rem;
}

.ed-outcome__goal-title {
  margin: 0;
  color: var(--ed-ink);
  font-size: var(--ed-step-2);
  font-weight: 600;
  line-height: 1.2;
}

.ed-outcome__goal-text {
  margin: 0;
  color: var(--ed-ink-soft);
  font-size: var(--ed-step-1);
  line-height: 1.45;
}

.ed-outcome__cell.ed-outcome__cell--goal p:last-child {
  max-width: none;
}

#service .ed-format__matrix,
#import .ed-format__matrix--single,
#import .ed-import-structure,
#import .ed-flow-explain--uktzed-mirror,
#import .ed-import-success,
#import .ed-import-success__gallery,
.ed-section.ed-outcome .ed-outcome__grid--goals {
  margin-top: clamp(2.4rem, 4.8vw, 4.2rem);
}

#import .ed-panel ul,
#service .ed-panel ul {
  gap: 1.1rem;
}

#import .ed-panel li,
#service .ed-panel li {
  line-height: 1.5;
}

#import .ed-import-grid {
  gap: clamp(0.95rem, 1.9vw, 1.4rem);
}

#import .ed-error-story--import-errors .ed-error-shot--import-error-before,
#import .ed-error-after--import-errors .ed-import-grid__item--import-errors {
  justify-self: end;
  width: 100%;
  max-width: 30rem;
}

@media (max-width: 70rem) {
  #import .ed-error-story--import-errors .ed-error-shot--import-error-before,
  #import .ed-error-after--import-errors .ed-import-grid__item--import-errors {
    max-width: 26rem;
  }
}

@media (max-width: 56rem) {
  #import .ed-error-story--import-errors .ed-error-shot--import-error-before,
  #import .ed-error-after--import-errors .ed-import-grid__item--import-errors {
    justify-self: stretch;
    max-width: none;
  }
}

#import .ed-uktzed-confirm__copy {
  gap: 1rem;
}

.ed-marquee {
  border-top: 1px solid var(--ed-line);
  padding: 1.5rem 0;
  overflow: hidden;
  background: var(--ed-paper);
}

.ed-marquee__track {
  display: flex;
  gap: 2rem;
  white-space: nowrap;
  color: var(--ed-ink);
  animation: ed-marquee 40s linear infinite;
}

.ed-marquee__track > span {
  flex-shrink: 0;
}

@keyframes ed-marquee {
  to {
    transform: translateX(-50%);
  }
}

.ed-next-cases {
  padding: clamp(2rem, 4vw, 3.2rem) 0;
  background: #050505;
  color: var(--ed-island-ink);
  border-top: 1px solid rgba(250, 250, 247, 0.14);
  border-bottom: 1px solid rgba(250, 250, 247, 0.14);
}

.ed-next-cases__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--ed-gutter);
  padding-bottom: clamp(1rem, 2vw, 1.6rem);
  border-bottom: 1px solid rgba(250, 250, 247, 0.22);
}

.ed-next-cases .ed-meta {
  color: rgba(250, 250, 247, 0.56);
}

.ed-next-cases .ed-h2 {
  margin: 0;
  color: var(--ed-island-ink);
  font-size: clamp(1.8rem, 3.4vw, 3.2rem);
  line-height: 0.94;
}

.ed-next-cases__list {
  display: grid;
  margin-top: 0;
}

.ed-next-case {
  display: grid;
  grid-template-columns: minmax(8rem, 0.72fr) minmax(0, 1.85fr) auto;
  gap: var(--ed-gutter);
  align-items: center;
  padding: clamp(0.85rem, 1.6vw, 1.15rem) 0;
  border-bottom: 1px solid rgba(250, 250, 247, 0.14);
  color: var(--ed-island-ink);
  transition:
    color 180ms ease,
    border-color 180ms ease;
}

.ed-next-case:hover,
.ed-next-case:focus-visible {
  color: var(--ed-accent);
  border-color: rgba(250, 250, 247, 0.34);
  outline: none;
}

.ed-next-case__meta {
  color: rgba(250, 250, 247, 0.54);
  font-family: var(--font-mono);
  font-size: var(--ed-step--2);
  line-height: 1.35;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.ed-next-case__title {
  max-width: 28ch;
  font-size: clamp(1.35rem, 2.3vw, 2.35rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  text-wrap: balance;
}

.ed-next-case__arrow {
  justify-self: end;
  color: currentColor;
  font-family: var(--font-mono);
  font-size: clamp(1.15rem, 2vw, 1.8rem);
  line-height: 1;
  transition: color 180ms ease;
}

.ed-next-case:hover .ed-next-case__meta,
.ed-next-case:focus-visible .ed-next-case__meta {
  color: rgba(250, 250, 247, 0.78);
}

.case-end-footer {
  padding: clamp(2.6rem, 5vw, 5rem) 0 clamp(1.2rem, 2vw, 1.8rem);
  background: #050505;
  color: var(--ed-island-ink);
  border-top: 1px solid rgba(250, 250, 247, 0.14);
}

.case-end-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(12rem, 0.55fr) minmax(12rem, 0.45fr);
  gap: var(--ed-gutter);
  align-items: start;
}

.case-end-footer__brand {
  max-width: 8ch;
  color: currentColor;
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 600;
  line-height: 0.86;
  letter-spacing: 0;
}

.case-end-footer__case,
.case-end-footer__nav,
.case-end-footer__bottom {
  font-family: var(--font-mono);
  font-size: var(--ed-step--1);
  line-height: 1.45;
  letter-spacing: 0.04em;
}

.case-end-footer__case {
  display: grid;
  gap: 0.45rem;
  color: rgba(250, 250, 247, 0.58);
  text-transform: uppercase;
}

.case-end-footer__case strong {
  color: var(--ed-island-ink);
  font-family: var(--font-sans);
  font-size: clamp(1.45rem, 2.6vw, 2.35rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
}

.case-end-footer__nav {
  display: grid;
  justify-items: start;
  gap: 0.55rem;
}

.case-end-footer a {
  color: currentColor;
}

.case-end-footer__nav a,
.case-end-footer__bottom a {
  border-bottom: 1px solid rgba(250, 250, 247, 0.42);
  transition:
    color 180ms ease,
    border-color 180ms ease;
}

.case-end-footer__nav a:hover,
.case-end-footer__nav a:focus-visible,
.case-end-footer__bottom a:hover,
.case-end-footer__bottom a:focus-visible {
  color: var(--ed-accent);
  border-color: currentColor;
  outline: none;
}

.case-end-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.2rem;
  margin-top: clamp(2.2rem, 4vw, 4rem);
  padding-top: 1rem;
  border-top: 1px solid rgba(250, 250, 247, 0.14);
  color: rgba(250, 250, 247, 0.62);
}

@media (max-width: 1024px) {
  :root {
    --ed-step-6: 5rem;
    --ed-gutter: clamp(1rem, 3vw, 2rem);
    --ed-stack: clamp(3rem, 6vw, 5rem);
  }

  .ed-hero__media,
  .ed-col-main,
  .ed-col-side,
  .ed-col-half-l,
  .ed-col-half-r,
  .ed-col-narrow,
  .ed-col-shift {
    grid-column: 1 / -1;
  }

  .ed-stat-strip,
  .ed-format__matrix,
  .ed-quote-row,
  .ed-outcome__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ed-format__hero {
    grid-template-columns: 1fr;
  }

  .ed-flow-explain--uktzed-mirror {
    grid-template-columns: 1fr;
  }

  .ed-error-story,
  .ed-error-after,
  .ed-tax-video {
    grid-template-columns: 1fr;
  }

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

  .ed-research-map__item:nth-child(2n),
  .ed-stat:nth-child(2n) {
    border-right: 0;
  }

  .ed-next-case {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.8rem 1rem;
    align-items: center;
  }

  .ed-next-case__meta {
    grid-column: 1 / -1;
  }

  .case-end-footer__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --ed-step-4: 2.6rem;
    --ed-step-5: 4rem;
    --ed-step-6: 3.75rem;
  }

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

  .ed-top__grid {
    grid-template-columns: 1fr;
    padding: 0.9rem 0;
  }

  .ed-top__cluster {
    justify-content: flex-start;
  }

  .ed-hero {
    padding-top: 4.8rem;
  }

  .ed-hero__media,
  .ed-hero__media img {
    min-height: 20rem;
  }

  .ed-hero__media--silpo img {
    min-height: 0;
  }

  .ed-hero__media--checkbox,
  .ed-hero__media--checkbox img {
    min-height: 0;
  }

  .ed-summary-item,
  .ed-conclusion,
  .ed-format__visual {
    grid-template-columns: 1fr;
  }

  .ed-stat-strip,
  .ed-format__matrix,
  .ed-quote-row,
  .ed-research-map,
  .ed-outcome__grid {
    grid-template-columns: 1fr;
  }

  .ed-flow-cards {
    grid-template-columns: 1fr;
  }

  .ed-flow-card__text {
    max-width: none;
  }

  .ed-error-before {
    grid-template-columns: 1fr;
  }

  .ed-error-shot--sale-note {
    padding-top: 0;
  }

  .ed-annotated__mark {
    display: none;
  }

  .ed-stat,
  .ed-research-map__item {
    border-right: 0;
    border-bottom: 1px solid var(--ed-line);
  }

  .ed-stat:last-child,
  .ed-research-map__item:last-child {
    border-bottom: 0;
  }

  .ed-gallery__item--lg,
  .ed-gallery__item--md,
  .ed-gallery__item--sm,
  .ed-gallery__item--wide {
    grid-column: 1 / -1;
    margin-top: 0;
  }
}

@media (max-width: 560px) {
  :root {
    --ed-step-2: 1.25rem;
    --ed-step-3: 2rem;
    --ed-step-4: 2.25rem;
    --ed-step-5: 3.25rem;
    --ed-step-6: 3.15rem;
  }

  .ed-section {
    padding: 3.6rem 0;
  }

  .ed-display {
    line-height: 1;
  }

  .ed-next-cases__head {
    align-items: start;
    flex-direction: column;
  }

  .ed-next-case__title {
    max-width: 15ch;
    font-size: clamp(1.35rem, 8vw, 2.25rem);
  }

  .case-end-footer__bottom {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ed-marquee__track {
    animation: none;
  }
}

/* CASE ALTERNATES */
.page--case-alt {
  --case-alt-bg: #f3f3ef;
  --case-alt-ink: #070707;
  --case-alt-muted: rgba(7, 7, 7, 0.62);
  --case-alt-line: rgba(7, 7, 7, 0.16);
  --case-alt-soft: #e9e9e2;
  --case-alt-accent: #f68327;
  --case-alt-accent-2: #d1a8ef;
  --case-alt-gradient: linear-gradient(110deg, var(--case-alt-accent), var(--case-alt-accent-2));
  --home-v2-accent-gradient: var(--case-alt-gradient);
  background:
    linear-gradient(90deg, rgba(7, 7, 7, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(7, 7, 7, 0.035) 1px, transparent 1px),
    var(--case-alt-bg);
  background-size: 84px 84px, 84px 84px, auto;
  color: var(--case-alt-ink);
}

.case-alt--checkbox {
  --case-alt-accent: #9C1582;
  --case-alt-accent-2: #9C1582;
  --case-alt-soft: #f1e8ee;
}

.case-alt--silpo {
  --case-alt-accent: #f47a1f;
  --case-alt-accent-2: #ffd65a;
  --case-alt-soft: #f5ead9;
}

.case-alt--kyivstar {
  --case-alt-accent: #0c8ce9;
  --case-alt-accent-2: #fdd801;
  --case-alt-soft: #e7eef4;
}

.case-alt--bookmd {
  --case-alt-accent: #0e8080;
  --case-alt-accent-2: #91ded8;
  --case-alt-soft: #e6f2ef;
}

.case-alt--ukraine-map {
  --case-alt-accent: #1050d0;
  --case-alt-accent-2: #e8a800;
  --case-alt-soft: #ecebdd;
}

.page--case-alt .home-v2-top {
  --home-v2-bg: rgba(243, 243, 239, 0.92);
  --home-v2-ink: #070707;
  --home-v2-muted: rgba(7, 7, 7, 0.58);
  background: rgba(243, 243, 239, 0.92);
  border-bottom: 1px solid var(--case-alt-line);
  backdrop-filter: blur(18px);
}

.page--case-alt .home-v2-top__about,
.page--case-alt .home-v2-top__resume {
  color: var(--case-alt-ink);
}

.page--case-alt .container {
  width: min(1880px, calc(100% - 2.4rem));
}

.case-alt-hero {
  min-height: calc(100svh - 3.8rem);
  display: grid;
  align-items: end;
  padding: 6.5rem 0 2.6rem;
  border-bottom: 1px solid var(--case-alt-line);
}

.case-alt-hero__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.2rem;
  align-items: end;
}

.case-alt-hero__copy {
  grid-column: 1 / 9;
  display: grid;
  gap: 1.3rem;
}

.case-alt-hero__aside {
  grid-column: 9 / 13;
  display: grid;
  gap: 1rem;
}

.case-alt-kicker,
.case-alt-meta,
.case-alt-stat__label,
.case-alt-note__label,
.case-alt-index,
.case-alt-chip,
.case-alt-figure figcaption,
.case-alt-next__label,
.case-alt-graphic__label {
  font-family: var(--home-v2-ui-font);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  line-height: 1.35;
  text-transform: uppercase;
}

.case-alt-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0;
  color: var(--case-alt-muted);
}

.case-alt-kicker::before {
  content: "";
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--case-alt-accent);
}

.case-alt-hero__title {
  margin: 0;
  max-width: 12ch;
  font-size: 8rem;
  font-weight: 780;
  line-height: 0.88;
  letter-spacing: 0;
  text-wrap: balance;
}

.case-alt-hero__title em,
.case-alt-section__title em,
.case-alt-pullquote em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

.case-alt-hero__lead {
  max-width: 62ch;
  margin: 0;
  color: var(--case-alt-muted);
  font-size: 1.2rem;
  line-height: 1.55;
}

.case-alt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.case-alt-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.45rem;
  padding: 0.62rem 0.9rem;
  border: 1px solid var(--case-alt-ink);
  border-radius: 999px;
  background: transparent;
  color: var(--case-alt-ink);
  font-family: var(--home-v2-ui-font);
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.case-alt-button:hover,
.case-alt-button:focus-visible {
  background: var(--case-alt-ink);
  color: var(--case-alt-bg);
  transform: translateY(-1px);
}

.case-alt-cover {
  position: relative;
  overflow: hidden;
  min-height: 34rem;
  border: 1px solid var(--case-alt-line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(7, 7, 7, 0.08)),
    var(--case-alt-soft);
}

.case-alt-cover img {
  height: 100%;
  min-height: 34rem;
  object-fit: cover;
  filter: grayscale(1) contrast(1.04);
  mix-blend-mode: multiply;
}

.case-alt-cover::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(180deg, transparent, rgba(7, 7, 7, 0.82));
}

.case-alt-cover__number {
  position: absolute;
  left: 1rem;
  bottom: 0.85rem;
  z-index: 1;
  color: #fff;
  font-size: 5.5rem;
  font-weight: 780;
  line-height: 0.82;
}

.case-alt-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  color: var(--case-alt-muted);
}

.case-alt-meta span {
  min-height: 4.25rem;
  display: grid;
  align-content: end;
  padding: 0.65rem;
  border-top: 1px solid var(--case-alt-line);
}

.case-alt-section {
  padding: 6.2rem 0;
  border-bottom: 1px solid var(--case-alt-line);
}

.case-alt-section--ink {
  background: #070707;
  color: #f7f7f1;
}

.case-alt-section--soft {
  background: var(--case-alt-soft);
}

.case-alt-section--accent {
  background:
    linear-gradient(90deg, rgba(7, 7, 7, 0.12) 1px, transparent 1px),
    var(--case-alt-gradient);
  background-size: 42px 42px, auto;
  color: #fff;
}

.case-alt-section--accent .case-alt-section__text,
.case-alt-section--accent .case-alt-kicker,
.case-alt-section--ink .case-alt-section__text,
.case-alt-section--ink .case-alt-kicker,
.case-alt-section--ink .case-alt-stat__label {
  color: rgba(255, 255, 255, 0.72);
}

.case-alt-section__grid,
.case-alt-split,
.case-alt-outcome {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.2rem;
  align-items: start;
}

.case-alt-section__head {
  grid-column: 1 / 5;
  display: grid;
  gap: 1rem;
  position: sticky;
  top: 6rem;
}

.case-alt-section__body {
  grid-column: 6 / 13;
  display: grid;
  gap: 1.2rem;
}

.case-alt-section__title {
  margin: 0;
  font-size: 4.2rem;
  font-weight: 720;
  line-height: 0.95;
  letter-spacing: 0;
  text-wrap: balance;
}

.case-alt-section__text {
  max-width: 68ch;
  margin: 0;
  color: var(--case-alt-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.case-alt-stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2rem;
  border-top: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
}

.case-alt-stat {
  display: grid;
  gap: 0.7rem;
  min-height: 12rem;
  padding: 1rem;
  border-right: 1px solid currentColor;
}

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

.case-alt-stat strong {
  align-self: end;
  font-size: 3.1rem;
  line-height: 0.9;
  letter-spacing: 0;
}

.case-alt-stat__label {
  color: var(--case-alt-muted);
}

.case-alt-note {
  display: grid;
  gap: 0.6rem;
  padding: 1rem 0;
  border-top: 1px solid var(--case-alt-line);
}

.case-alt-note__label {
  color: var(--case-alt-accent);
}

.case-alt-note p {
  margin: 0;
  color: var(--case-alt-muted);
  font-size: 1.08rem;
  line-height: 1.55;
}

.case-alt-decision-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--case-alt-line);
}

.case-alt-decision {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--case-alt-line);
}

.case-alt-index {
  color: var(--case-alt-accent);
}

.case-alt-decision h3 {
  margin: 0 0 0.35rem;
  font-size: 1.55rem;
  line-height: 1.05;
  letter-spacing: 0;
}

.case-alt-decision p {
  margin: 0;
  color: var(--case-alt-muted);
  line-height: 1.55;
}

.case-alt-pullquote {
  margin: 0;
  max-width: 16ch;
  font-size: 4.2rem;
  line-height: 0.98;
  letter-spacing: 0;
}

.case-alt-quote-source {
  margin: 1.2rem 0 0;
  font-family: var(--home-v2-ui-font);
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-alt-gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.2rem;
}

.case-alt-figure {
  display: grid;
  gap: 0.7rem;
  margin: 0;
}

.case-alt-figure--large {
  grid-column: span 7;
}

.case-alt-figure--medium {
  grid-column: span 5;
}

.case-alt-figure--small {
  grid-column: span 4;
}

.case-alt-figure img,
.case-alt-ui-art {
  aspect-ratio: 4 / 3;
  border: 1px solid var(--case-alt-line);
  border-radius: 8px;
  object-fit: cover;
  background: #fff;
  filter: grayscale(1);
}

.case-alt-figure--large img {
  aspect-ratio: 16 / 10;
}

.case-alt-figure figcaption {
  color: var(--case-alt-muted);
}

.case-alt-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.case-alt-chip {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.4rem 0.66rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: currentColor;
}

.case-alt-section--ink .case-alt-chip,
.case-alt-section--accent .case-alt-chip {
  color: rgba(255, 255, 255, 0.82);
}

.case-alt-outcome__copy {
  grid-column: 1 / 6;
  display: grid;
  gap: 1rem;
}

.case-alt-outcome__list {
  grid-column: 7 / 13;
  display: grid;
  gap: 0;
  border-top: 1px solid currentColor;
}

.case-alt-outcome__item {
  display: grid;
  grid-template-columns: 6rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid currentColor;
}

.case-alt-outcome__item strong {
  font-size: 2.3rem;
  line-height: 0.9;
}

.case-alt-outcome__item span {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.45;
}

.case-alt-ui-art {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: end;
  width: 100%;
  max-width: 100%;
  min-height: 22rem;
  padding: 1rem;
  background:
    linear-gradient(90deg, rgba(7, 7, 7, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(7, 7, 7, 0.08) 1px, transparent 1px),
    #fff;
  background-size: 32px 32px;
  filter: none;
}

.case-alt-ui-art::before {
  content: "";
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(7, 7, 7, 0.34);
}

.case-alt-ui-art::after {
  content: "";
  position: absolute;
  right: 1.2rem;
  top: 1.2rem;
  width: 34%;
  height: 38%;
  background: var(--case-alt-gradient);
}

.case-alt-ui-art__title {
  position: relative;
  z-index: 1;
  max-width: 11ch;
  margin: 0;
  font-size: 2.4rem;
  font-weight: 740;
  line-height: 0.92;
}

.case-alt-ui-art__rows {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.45rem;
  margin-top: 1rem;
}

.case-alt-ui-art__rows span {
  display: block;
  height: 0.7rem;
  max-width: var(--row-width, 80%);
  background: rgba(7, 7, 7, 0.82);
}

.case-alt-map-art {
  position: relative;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--case-alt-line);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(180deg, #1050d0 0 50%, #e8a800 50% 100%);
}

.case-alt-map-art__grid {
  position: absolute;
  inset: 1rem;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 0.45rem;
}

.case-alt-map-art__grid span {
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.case-alt-map-art__grid span:nth-child(3n) {
  background: rgba(255, 255, 255, 0.72);
}

.case-alt-map-art__grid span:nth-child(5n) {
  background: #070707;
}

.case-alt-next {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.2rem;
  align-items: end;
}

.case-alt-next__label {
  grid-column: 1 / 4;
  color: var(--case-alt-muted);
}

.case-alt-next__link {
  grid-column: 4 / 13;
  display: grid;
  gap: 0.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--case-alt-ink);
  font-size: 4.2rem;
  font-weight: 760;
  line-height: 0.92;
  letter-spacing: 0;
}

.case-alt-next__link span {
  display: block;
  max-width: 13ch;
}

.case-alt-next__link small {
  font-family: var(--home-v2-ui-font);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--case-alt-muted);
}

@media (max-width: 1180px) {
  .case-alt-hero__copy,
  .case-alt-hero__aside,
  .case-alt-section__head,
  .case-alt-section__body,
  .case-alt-outcome__copy,
  .case-alt-outcome__list {
    grid-column: 1 / -1;
  }

  .case-alt-section__head {
    position: static;
  }

  .case-alt-hero__title {
    font-size: 6rem;
  }

  .case-alt-section__title,
  .case-alt-pullquote,
  .case-alt-next__link {
    font-size: 3.4rem;
  }

  .case-alt-cover {
    min-height: 26rem;
  }

  .case-alt-cover img {
    min-height: 26rem;
  }
}

@media (max-width: 860px) {
  .page--case-alt .container {
    width: min(1880px, calc(100% - 1.6rem));
  }

  .case-alt-hero {
    min-height: auto;
    padding-top: 5.4rem;
  }

  .case-alt-hero__grid,
  .case-alt-section__grid,
  .case-alt-split,
  .case-alt-outcome,
  .case-alt-gallery,
  .case-alt-next {
    grid-template-columns: 1fr;
  }

  .case-alt-hero__copy,
  .case-alt-hero__aside,
  .case-alt-section__head,
  .case-alt-section__body,
  .case-alt-outcome__copy,
  .case-alt-outcome__list,
  .case-alt-figure,
  .case-alt-next__label,
  .case-alt-next__link {
    grid-column: auto;
  }

  .case-alt-hero__title {
    font-size: 4.2rem;
  }

  .case-alt-section {
    padding: 4.4rem 0;
  }

  .case-alt-section__title,
  .case-alt-pullquote,
  .case-alt-next__link {
    font-size: 2.6rem;
  }

  .case-alt-stats {
    grid-template-columns: 1fr;
  }

  .case-alt-stat {
    min-height: 8rem;
    border-right: 0;
    border-bottom: 1px solid currentColor;
  }

  .case-alt-stat:last-child {
    border-bottom: 0;
  }

  .case-alt-meta {
    grid-template-columns: 1fr;
  }

  .case-alt-cover,
  .case-alt-cover img {
    min-height: 22rem;
  }

  .case-alt-ui-art {
    aspect-ratio: auto;
    min-height: 18rem;
  }
}

@media (max-width: 560px) {
  .case-alt-hero__title {
    font-size: 3rem;
  }

  .case-alt-hero__lead,
  .case-alt-section__text {
    font-size: 1rem;
  }

  .case-alt-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .case-alt-button {
    width: 100%;
  }

  .case-alt-decision,
  .case-alt-outcome__item {
    grid-template-columns: 1fr;
  }
}

/* KYIVSTAR OFFERS SCROLL CASE — palette & layout tokens (single source of truth) */
.page--kyivstar-scroll {
  /* accent feeds the shared --ed- token system */
  --ed-accent: #0c8ce9;
  --ed-accent-deep: #0070d4;
  /* palette */
  --ks-blue: #0070d4;
  --ks-blue-deep: #0070d4;
  --ks-yellow: #ffd500;
  --ks-paper: #f4f1e8;
  --ks-paper-strong: #fffdf5;
  --ks-ink: #101010;
  --ks-muted: rgba(16, 16, 16, 0.62);
  --ks-line: rgba(16, 16, 16, 0.16);
  --ks-line-invert: rgba(255, 255, 255, 0.22);
  --ks-connector-stroke: rgba(26, 26, 26, 0.72);
  /* layout */
  --ks-nav-height: 3.6rem;
  --ks-gutter: clamp(1rem, 4vw, 4.5rem);
  overflow-x: hidden;
  color: var(--ks-ink);
  background: var(--ks-paper);
}

.page--kyivstar-scroll ::selection {
  background: var(--ks-yellow);
  color: var(--ks-ink);
}

.page--kyivstar-scroll .ed-meta,
.page--kyivstar-scroll .ks-section-label {
  letter-spacing: 0;
}

.page--kyivstar-scroll .ed-display,
.page--kyivstar-scroll .ed-h2,
.page--kyivstar-scroll h1,
.page--kyivstar-scroll h2,
.page--kyivstar-scroll h3 {
  font-family: var(--font-sans);
}

.ks-hero {
  display: grid;
  align-items: center;
  min-height: auto;
  padding: 4rem 0 3.25rem;
  border-bottom: 1px solid var(--ks-line);
  overflow: hidden;
}

.ks-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(22rem, 30rem);
  gap: 4rem;
  align-items: end;
  max-width: 1200px;
}

.ks-hero__copy {
  display: grid;
  gap: 1.5rem;
  min-width: 0;
}

.ks-hero__title {
  max-width: 12ch;
  font-size: 4.65rem;
  font-weight: 650;
  line-height: 1;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.ks-hero__lead {
  max-width: 44rem;
  margin: 0;
  color: var(--ks-muted);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.42;
}

.ks-hero__facts {
  display: grid;
  max-width: 44rem;
  border-top: 1px solid var(--ks-line);
}

.ks-hero__facts span {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--ks-line);
  color: var(--ks-muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.ks-hero__mockup {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 37rem;
  overflow: hidden;
  border: 0.6px solid rgba(26, 26, 26, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    var(--ks-blue);
  background-size: 72px 72px, 72px 72px, auto;
}

.ks-hero__mockup::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 42%;
  height: 32%;
  background: var(--ks-yellow);
  clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%);
}

.ks-hero__mockup .ks-device {
  width: min(22rem, 76%);
  filter: drop-shadow(0 30px 52px rgba(0, 43, 86, 0.36));
}

.ks-hero__mockup .ks-device__screen-image {
  transform: translate3d(0, 0, 0);
}

.ks-intro {
  padding-top: 2.4rem;
  border-bottom: 1px solid var(--ks-line);
}

.page--kyivstar-scroll .ks-intro .reveal {
  opacity: 1;
  transform: none;
}

.ks-intro__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}

.ks-intro__item {
  display: grid;
  align-content: start;
  min-height: 18rem;
  padding: 0 2.2rem 0 0;
  border-right: 1px solid var(--ks-line);
}

.ks-intro__item + .ks-intro__item {
  padding: 0 0 0 2.2rem;
  border-right: 0;
}

.ks-section-label {
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
  margin: 0 0 1.35rem;
  color: var(--ks-muted);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.2;
}

.ks-section-label span {
  color: var(--ks-blue-deep);
}

.ks-intro__item h2,
.ks-section-head .ed-h2,
.ks-wide-proof .ed-h2,
.ks-measure .ed-h2 {
  margin: 0;
  color: var(--ks-ink);
  font-size: 2.15rem;
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: 0;
  text-wrap: balance;
}

.ks-intro__item p:not(.ks-section-label),
.ks-section-head p:not(.ks-section-label) {
  max-width: 42rem;
  margin: 1.2rem 0 0;
  color: var(--ks-muted);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.55;
}

.ks-scroll {
  position: relative;
  --ks-step-height: 100svh;
  min-height: 100svh;
  color: #fff;
  background: var(--ks-blue);
  border-bottom: 1px solid rgba(26, 26, 26, 0.16);
}

.ks-scroll__sticky {
  position: sticky;
  top: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(16rem, 1fr) minmax(18rem, 24rem) minmax(16rem, 1fr);
  gap: 2rem;
  align-items: center;
  min-height: 100svh;
  padding: 5.3rem var(--ed-gutter) 3rem;
  overflow: hidden;
}

.ks-stage-bg {
  position: absolute;
  inset: 1.5rem;
  border: 0.6px solid rgba(255, 255, 255, 0.32);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

.ks-stage-bg::before,
.ks-stage-bg::after {
  content: "";
  position: absolute;
  inset-block: 0;
  width: 0.6px;
  background: rgba(255, 255, 255, 0.28);
}

.ks-stage-bg::before {
  left: 33.333%;
}

.ks-stage-bg::after {
  right: 33.333%;
}

.ks-stage-copy {
  position: relative;
  z-index: 3;
  align-self: end;
  max-width: 30rem;
  padding-bottom: 2rem;
  --ks-stage-heading-size: 3.35rem;
}

.ks-stage-copy .ed-meta {
  color: rgba(255, 255, 255, 0.72);
}

.ks-stage-copy h2 {
  margin: 0.85rem 0 1rem;
  color: #fff;
  font-size: var(--ks-stage-heading-size);
  font-weight: 650;
  line-height: 1;
  letter-spacing: 0;
  text-wrap: balance;
}

.ks-stage-copy h2:empty {
  display: none;
}

.ks-stage-copy [data-ks-current-text] {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
}

.ks-stage-copy [data-ks-current-text].is-rich-copy {
  font-size: 1.08rem;
  line-height: 1.55;
}

.ks-stage-copy [data-ks-current-text].is-rich-copy strong {
  display: block;
  margin: 0.85rem 0 1rem;
  color: #fff;
  font-weight: 650;
  font-size: var(--ks-stage-heading-size);
  line-height: 1;
  letter-spacing: 0;
  text-wrap: balance;
}

.ks-stage-copy [data-ks-current-text].is-rich-copy ul {
  margin: 0;
  padding-left: 1.15em;
  list-style-type: disc;
}

.ks-stage-copy [data-ks-current-text].is-rich-copy ul ul {
  margin-top: 0.35rem;
  padding-left: 1.18em;
}

.ks-stage-copy [data-ks-current-text].is-rich-copy li + li {
  margin-top: 0.34rem;
}

.ks-stage-copy [data-ks-current-text]:empty {
  display: none;
}

.ks-scroll__sticky.is-kicker-only .ks-stage-copy {
  max-width: none;
  width: auto;
  padding-bottom: 0.8rem;
}

.ks-device {
  position: relative;
  display: block;
  aspect-ratio: 863 / 1771;
  margin: 0;
}

.ks-phone {
  z-index: 3;
  justify-self: center;
  width: min(24rem, 28vw);
  transition:
    transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 420ms ease,
    opacity 220ms ease;
}

.ks-phone::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -1.1rem;
  height: 1.4rem;
  border-radius: 50%;
  background: rgba(0, 43, 86, 0.28);
  filter: blur(14px);
}

.ks-device__screen {
  position: absolute;
  left: 4.52%;
  top: 1.92%;
  z-index: 1;
  width: 90.85%;
  height: 96.16%;
  overflow: hidden;
  border-radius: 8.6% / 4.1%;
  background: #fff;
}

.ks-device__screen-image {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: auto;
  max-width: none;
  max-height: none;
  object-fit: contain;
  transition:
    opacity 180ms ease,
    transform 360ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

.ks-device__frame {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 34px 52px rgba(0, 43, 86, 0.32));
}

.ks-scroll__sticky.is-switching .ks-device__screen-image {
  opacity: 0.88;
}

.ks-callouts {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.ks-callout {
  pointer-events: auto;
}

.ks-callout-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.ks-callout-line {
  fill: none;
  stroke: var(--ks-connector-stroke);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.ks-callout-dot {
  fill: var(--ks-yellow);
  stroke: var(--ks-connector-stroke);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.ks-callout {
  position: absolute;
  top: var(--ks-y, 50%);
  width: min(24rem, 26vw);
  min-height: 4rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 14px;
  color: var(--ks-ink);
  background: linear-gradient(180deg, rgba(244, 247, 251, 0.94), rgba(236, 241, 247, 0.9));
  box-shadow:
    0 12px 28px rgba(5, 32, 64, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.97rem;
  font-weight: 400;
  line-height: 1.42;
  letter-spacing: 0;
  text-align: left;
  transform: translateY(-50%);
  transition: opacity 220ms ease, transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ks-callout strong {
  font-weight: 700;
}

.ks-callout::before {
  content: "";
  position: absolute;
  top: 1.2rem;
  width: min(7rem, 7vw);
  border-top: 1px solid currentColor;
  display: none;
}

.ks-callout::after {
  content: "";
  position: absolute;
  top: calc(1.2rem - 0.23rem);
  width: 0.46rem;
  height: 0.46rem;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  display: none;
}

.ks-callout--left {
  right: calc(50% + min(20rem, 24vw));
}

.ks-callout--left::before {
  left: calc(100% + 0.85rem);
}

.ks-callout--left::after {
  left: calc(100% + 0.85rem + min(7rem, 7vw) - 0.35rem);
  transform: rotate(45deg);
}

.ks-callout--right {
  left: calc(50% + min(19rem, 23vw));
}

.ks-callout--right::before {
  right: calc(100% + 0.85rem);
}

.ks-callout--right::after {
  right: calc(100% + 0.85rem + min(7rem, 7vw) - 0.35rem);
  transform: rotate(-135deg);
}

.ks-stage-progress {
  position: absolute;
  right: 2.1rem;
  top: 50%;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1;
  transform: translateY(-50%);
}

.ks-stage-progress::before,
.ks-stage-progress::after {
  content: "";
  width: 0.6px;
  height: 3.4rem;
  background: rgba(255, 255, 255, 0.38);
}

.ks-stage-progress [data-ks-progress-current] {
  color: #fff;
}

.ks-stage-custom {
  position: absolute;
  inset: calc(var(--ks-nav-height) + 0.6rem) var(--ed-gutter) 1.1rem;
  z-index: 7;
  display: none;
  pointer-events: none;
}

.ks-scroll__sticky.is-stage-custom .ks-stage-custom {
  display: block;
  pointer-events: auto;
}

.ks-scroll__sticky.is-stage-custom .ks-stage-copy,
.ks-scroll__sticky.is-stage-custom .ks-phone,
.ks-scroll__sticky.is-stage-custom .ks-callouts {
  opacity: 0;
}

.ks-scroll__sticky.is-stage-custom .ks-stage-progress {
  display: none;
}

.ks-compare-stage {
  position: relative;
  display: grid;
  height: 100%;
  width: min(100%, 118rem);
  margin-inline: auto;
  grid-template-columns: minmax(8rem, 0.72fr) minmax(30rem, 2.7fr) minmax(8rem, 0.72fr);
  align-items: start;
  align-content: center;
  justify-content: center;
  gap: clamp(0.7rem, 1.35vw, 1.85rem);
}

.ks-compare-stage__lines {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.ks-compare-stage__line {
  fill: none;
  stroke: var(--ks-connector-stroke);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.ks-compare-stage__dot {
  fill: var(--ks-yellow);
  stroke: var(--ks-connector-stroke);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.ks-compare-stage__phones {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(14rem, 21.5vw));
  align-items: end;
  justify-content: center;
  gap: clamp(0.75rem, 1.15vw, 1.5rem);
}

.ks-compare-stage__phone {
  width: 100%;
}

.ks-compare-stage__side {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: start;
  gap: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.8rem, 0.9vw, 1rem);
  line-height: 1.34;
}

.ks-compare-stage__variant {
  margin: 0;
  color: #fff;
  font-size: clamp(0.95rem, 1.2vw, 1.25rem);
  font-weight: 700;
  line-height: 1.06;
}

.ks-compare-stage__group {
  position: relative;
}

.ks-compare-stage__group strong {
  display: block;
  margin-bottom: 0.26rem;
  color: #fff;
  font-size: clamp(1.2rem, 2vw, 1.85rem);
  font-weight: 700;
  line-height: 1.06;
}

.ks-compare-stage__group p {
  margin: 0;
}

.ks-compare-stage__group p + p {
  margin-top: 0.36rem;
}

.ks-compare-stage__group ul {
  margin: 0;
  padding-left: 1.12em;
}

.ks-compare-stage__group ul ul {
  margin-top: 0.3rem;
  padding-left: 1.05em;
}

.ks-compare-stage__group li + li {
  margin-top: 0.22rem;
}

.ks-compare-stage__group--placement {
  margin-top: 0.6rem;
  padding: 0.85rem 1rem;
  background: linear-gradient(180deg, rgba(244, 247, 251, 0.94), rgba(236, 241, 247, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 14px;
  box-shadow:
    0 12px 28px rgba(5, 32, 64, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--ks-ink);
}

.ks-compare-stage__group--placement strong {
  color: var(--ks-ink);
  font-size: clamp(0.95rem, 1.1vw, 1.12rem);
}

.ks-compare-stage__group--placement p {
  font-size: clamp(0.82rem, 0.9vw, 0.97rem);
  line-height: 1.45;
  color: rgba(26, 26, 26, 0.78);
}

.ks-compare-stage__group--why-a {
  margin-top: 2.6rem;
}

.ks-compare-stage__group--why-b {
  margin-top: 3.4rem;
}

.ks-compare-stage--result .ks-compare-stage__group--why-a,
.ks-compare-stage--result .ks-compare-stage__group--why-b {
  margin-top: 0.75rem;
}

.ks-compare-stage__verdict {
  margin: auto 0 0;
  color: #fff;
  font-size: 3.35rem;
  font-weight: 650;
  line-height: 1;
  letter-spacing: 0;
  text-wrap: balance;
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: break-word;
}

.ks-compare-stage__verdict-body {
  margin: 0.85rem 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
}

.ks-compare-stage--result .ks-compare-stage__side--left {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  gap: 0.9rem;
  padding-bottom: 1rem;
}


.ks-scroll__sticky.is-stage-custom:has(.ks-offers-stage) .ks-stage-copy {
  opacity: 1;
}

.ks-offers-stage {
  position: relative;
  display: grid;
  height: 100%;
  grid-template-columns: minmax(16rem, 1fr) minmax(18rem, 24rem) minmax(16rem, 1fr);
  gap: 2rem;
  align-items: center;
}

.ks-offers-stage__phone {
  grid-column: 2;
  position: relative;
  z-index: 3;
  width: min(24rem, 28vw);
  max-width: none;
  justify-self: center;
  transition:
    transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 420ms ease,
    opacity 220ms ease;
}

.ks-offers-stage__phone::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -1.1rem;
  height: 1.4rem;
  border-radius: 50%;
  background: rgba(0, 43, 86, 0.28);
  filter: blur(14px);
}

.ks-offers-stage__images {
  grid-column: 3;
  position: relative;
  isolation: isolate;
  z-index: 2;
  width: 100%;
  height: 100%;
}

.ks-offers-stage__image {
  position: absolute;
  display: block;
  width: clamp(10rem, 16vw, 16rem);
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 20px 42px rgba(5, 32, 64, 0.3);
  background: #fff;
}

/* Offer 1 — нижній шар */
.ks-offers-stage__image--a {
  top: 9%;
  left: 2%;
  z-index: 1;
}

/* Offer 2 — верхній шар */
.ks-offers-stage__image--b {
  top: 22%;
  left: 28%;
  z-index: 5;
}

.ks-offers-stage__arrow {
  position: absolute;
  inset: 0;
  z-index: 6;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.ks-offers-stage__arrow-line {
  fill: none;
  stroke: var(--ks-connector-stroke);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.ks-offers-stage__arrow-dot {
  fill: var(--ks-yellow);
  stroke: var(--ks-connector-stroke);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}


.ks-stage-veil {
  position: absolute;
  inset: 0;
  z-index: 8;
  display: grid;
  place-items: center;
  padding: var(--ed-gutter);
  background: rgba(12, 140, 233, 0.18);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease;
}

.ks-scroll__sticky.is-overlay .ks-stage-veil {
  opacity: 1;
  pointer-events: auto;
}

.ks-scroll__sticky.is-overlay .ks-phone {
  transform: scale(0.96);
  opacity: 0.28;
}

.ks-scroll__sticky.is-overlay .ks-callouts,
.ks-scroll__sticky.is-overlay .ks-stage-copy {
  opacity: 0.08;
}

.ks-stage-veil__card {
  display: grid;
  justify-items: center;
  width: min(62rem, calc(100vw - var(--ed-gutter) * 2));
  text-align: center;
}

.ks-stage-veil__card .ed-meta {
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1.7rem, 1.95vw, 2.3rem);
  line-height: 1.2;
  text-transform: none;
}

.ks-stage-veil__card blockquote {
  max-width: 15ch;
  margin: 1.2rem 0 1.35rem;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 5.1rem;
  font-weight: 650;
  line-height: 1;
  letter-spacing: 0;
  text-wrap: balance;
}

.ks-stage-veil__card [data-ks-overlay-note] {
  max-width: 38rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1.42rem, 1.68vw, 1.9rem);
  font-weight: 500;
  line-height: 1.45;
}

.ks-overlay-note--text {
  display: grid;
  justify-items: center;
  gap: 0.1rem;
}

.ks-overlay-note--text strong {
  color: #fff;
  font-weight: 720;
}

.ks-overlay-note--hierarchy {
  display: grid;
  justify-items: stretch;
  max-width: min(36rem, calc(100vw - var(--ed-gutter) * 2));
  text-align: left;
}

.ks-overlay-note-heading {
  display: block;
  margin-bottom: 0.65rem;
  color: #fff;
  font-weight: 780;
  line-height: 1.15;
}

.ks-overlay-note-tree,
.ks-overlay-note-tree ul {
  margin: 0;
  padding-left: 1.25em;
  list-style-type: disc;
}

.ks-overlay-note-tree {
  display: grid;
  gap: 0.6rem;
}

.ks-overlay-note-tree ul {
  margin-top: 0.45rem;
}

.ks-overlay-note-tree ul li + li {
  margin-top: 0.45rem;
}

.ks-overlay-note-tree span {
  display: block;
}

.ks-overlay-note-list {
  margin: 0;
  padding-left: 1.35em;
  text-align: left;
}

.ks-overlay-note-list li + li {
  margin-top: 0.3rem;
}


.ks-scroll__track {
  position: relative;
  z-index: 2;
  margin-top: calc(var(--ks-step-height) * -1);
  pointer-events: none;
}

.ks-step {
  display: grid;
  align-items: center;
  min-height: var(--ks-step-height);
  padding: var(--ed-gutter);
}

.ks-step__card {
  width: min(30rem, 92vw);
  opacity: 0;
  pointer-events: none;
}

.ks-step__thumb,
.ks-step__callout-source {
  display: none;
}

.ks-section-head {
  max-width: 52rem;
}

.ks-result-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 4rem;
  border-top: 1px solid var(--ks-line);
  border-bottom: 1px solid var(--ks-line);
}

.ks-result-grid article {
  min-height: 19rem;
  padding: 1rem;
  border-right: 1px solid var(--ks-line);
}

.ks-result-grid article:last-child {
  border-right: 0;
}

.ks-result-grid span {
  color: var(--ks-blue-deep);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
}

.ks-result-grid h3 {
  margin: 3.2rem 0 0.9rem;
  color: var(--ks-ink);
  font-size: 1.65rem;
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: 0;
}

.ks-result-grid p {
  margin: 0;
  color: var(--ks-muted);
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.5;
}

.ks-wide-proof {
  border-top: 1px solid var(--ks-line);
  border-bottom: 1px solid var(--ks-line);
  background: #fff;
}

.ks-wide-proof__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.ks-wide-proof__grid .ks-section-head:nth-child(2) {
  padding-top: 37.6px;
}

.ks-wide-proof__grid .ks-section-head ul {
  margin-top: 1.2rem;
  padding-left: 1.2rem;
}

.ks-wide-proof__media {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 0;
}


.ks-wide-proof__phone {
  width: min(18rem, 100%);
  max-height: 28rem;
  object-fit: contain;
  filter: drop-shadow(0 24px 42px rgba(0, 43, 86, 0.28));
}

.ks-wide-proof__arrow {
  display: grid;
  place-items: center;
  width: 3.2rem;
  aspect-ratio: 1;
  border: 0.6px solid rgba(26, 26, 26, 0.16);
  border-radius: 8px;
  color: var(--ks-ink);
  background: var(--ks-yellow);
  font-size: 1.5rem;
  font-weight: 650;
  line-height: 1;
}

.ks-wide-proof__phone--framed {
  position: relative;
  display: grid;
  width: min(16rem, 100%);
  padding: 0.42rem;
  border-radius: 2.35rem;
  background: #101010;
  filter: drop-shadow(0 24px 42px rgba(0, 43, 86, 0.28));
}

.ks-wide-proof__phone--framed::before {
  content: "";
  position: absolute;
  top: 0.82rem;
  left: 50%;
  z-index: 2;
  width: 4.3rem;
  height: 1.05rem;
  border-radius: 999px;
  background: #050505;
  transform: translateX(-50%);
}

.ks-wide-proof__phone--framed img {
  width: 100%;
  max-height: 27rem;
  border-radius: 1.95rem;
  object-fit: contain;
  background: #fff;
}

.ks-communication {
  border-bottom: 1px solid var(--ks-line);
  background: #fff;
}

.ks-communication__grid {
  display: grid;
  grid-template-columns: minmax(20rem, 0.58fr) minmax(18rem, 0.42fr);
  gap: 3rem;
  align-items: center;
}

.ks-communication__copy {
  display: grid;
  gap: 2.2rem;
}

.ks-communication__quotes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.ks-communication__quotes .ks-quote {
  padding: 1rem;
  border: none;
  border-radius: 0;
  background: none;
}

.ks-communication__quotes .ks-quote::before {
  font-size: 3.4rem;
}

.ks-communication__quotes .ks-quote blockquote {
  font-size: 1.14rem;
}

.ks-communication__media {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 2rem;
  min-height: 37rem;
  margin: 0;
  padding: 2rem;
  overflow: hidden;
}

.ks-communication__phone {
  flex-shrink: 0;
  width: min(15rem, 55%);
  max-height: 34rem;
  object-fit: contain;
  align-self: center;
}

.ks-communication__note {
  flex: 1;
  min-width: 9rem;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(26, 26, 26, 0.12);
  border-radius: 12px;
  color: var(--ks-ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  font-size: 0.98rem;
  font-weight: 400;
  line-height: 1.4;
}


.ks-communication__cards {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 3rem;
  margin-top: 3rem;
}

.ks-communication__cards article {
  padding: 0;
}

.ks-communication__cards .ed-meta {
  font-family: var(--font-display);
  font-size: 2.15rem;
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ks-ink);
  margin: 0 0 1.2rem;
}

.ks-communication__cards ul {
  display: grid;
  gap: 0.3rem;
  margin: 0;
  padding-left: 1.2rem;
  color: var(--ks-ink);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.55;
}

.ks-measure__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 4rem;
}

.ks-measure__grid article {
  display: grid;
  align-content: start;
  min-height: 17rem;
  padding: 1rem;
  border: 1px solid var(--ks-line);
  border-radius: 8px;
  background: #fff;
}

.ks-measure__grid .ed-meta {
  color: var(--ks-blue-deep);
}

.ks-measure__grid h3 {
  max-width: 15ch;
  margin: 2.6rem 0 1rem;
  color: var(--ks-ink);
  font-size: 1.7rem;
  font-weight: 650;
  line-height: 1.05;
  letter-spacing: 0;
}

.ks-measure__grid p:not(.ed-meta) {
  margin: 0;
  color: var(--ks-muted);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
}

.ks-next {
  color: #fff;
  background: #0c8ce9;
}

.ks-next__grid {
  display: grid;
  grid-template-columns: minmax(8rem, 0.24fr) minmax(0, 0.9fr) minmax(18rem, 0.42fr);
  gap: 3rem;
  align-items: start;
}

.ks-next .ks-section-label {
  color: rgba(255, 255, 255, 0.72);
}

.ks-next .ks-section-label span {
  color: var(--ks-yellow);
}

.ks-next blockquote {
  margin: 0;
  color: #fff;
  font-size: 3.6rem;
  font-weight: 650;
  line-height: 1;
  letter-spacing: 0;
  text-wrap: balance;
}

.ks-next p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.55;
}

.ks-marquee {
  background: var(--ks-paper);
}

@media (max-width: 1180px) {
  .ks-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 24rem);
    gap: 2.2rem;
  }

  .ks-hero__title {
    font-size: 4.4rem;
  }

  .ks-scroll__sticky {
    grid-template-columns: minmax(13rem, 0.8fr) minmax(16rem, 21rem) minmax(13rem, 0.8fr);
    gap: 1.2rem;
  }

  .ks-stage-copy h2 {
    font-size: 2.75rem;
  }

  .ks-stage-copy {
    --ks-stage-heading-size: 2.75rem;
  }

  .ks-callout {
    width: min(15rem, 23vw);
    font-size: 0.84rem;
  }

  .ks-compare-stage {
    grid-template-columns: minmax(10rem, 13.5rem) minmax(24rem, 30rem) minmax(10rem, 13.5rem);
  }

  .ks-compare-stage__side {
    font-size: 0.98rem;
  }

  .ks-compare-stage__group strong {
    font-size: 1.56rem;
  }

}

@media (max-width: 960px) {
  .ks-hero {
    min-height: auto;
    padding: 4rem 0;
  }

  .ks-hero__grid,
  .ks-intro__grid,
  .ks-result-grid,
  .ks-wide-proof__grid,
  .ks-communication__grid,
  .ks-communication__cards,
  .ks-measure__grid,
  .ks-next__grid {
    grid-template-columns: 1fr;
  }

  .ks-hero__mockup {
    min-height: 34rem;
  }

  .ks-hero__title {
    max-width: 100%;
    font-size: 3.2rem;
  }

  .ks-hero__lead {
    font-size: 1.08rem;
  }

  .ks-intro__item,
  .ks-intro__item + .ks-intro__item {
    min-height: auto;
    padding: 1.4rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--ks-line);
  }

  .ks-intro__item:last-child {
    border-bottom: 0;
  }

  .ks-scroll__sticky {
    grid-template-columns: 1fr;
    justify-items: center;
    align-content: center;
    gap: 1rem;
    padding: 4.5rem var(--ed-gutter) 1.5rem;
  }

  .ks-stage-bg {
    inset: 0.85rem;
  }

  .ks-stage-bg::before,
  .ks-stage-bg::after,
  .ks-callouts {
    display: none;
  }

  .ks-stage-copy {
    order: 2;
    align-self: center;
    width: min(100%, 36rem);
    max-width: 36rem;
    padding: 1rem;
    border: 0.6px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(0, 91, 187, 0.28);
  }

  .ks-stage-custom {
    inset: calc(var(--ks-nav-height) + 0.5rem) 0.85rem 0.85rem;
  }

  .ks-compare-stage {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    overflow: auto;
    align-content: start;
    padding-right: 0.35rem;
  }

  .ks-compare-stage__lines {
    display: none;
  }

  .ks-compare-stage__phones {
    order: 2;
    grid-template-columns: repeat(2, minmax(7.2rem, 10.4rem));
  }

  .ks-compare-stage__side {
    gap: 0.7rem;
    font-size: 0.9rem;
  }

  .ks-compare-stage__group strong {
    font-size: 1.1rem;
  }

  .ks-compare-stage__group--placement,
  .ks-compare-stage__group--why-a,
  .ks-compare-stage__group--why-b {
    margin-top: 0;
  }

  .ks-compare-stage__verdict {
    font-size: 2.75rem;
  }

  .ks-compare-stage__side--left .ks-compare-stage__group--placement::after,
  .ks-compare-stage__side--left .ks-compare-stage__group--why-a::after,
  .ks-compare-stage__side--right .ks-compare-stage__group--placement::after,
  .ks-compare-stage__side--right .ks-compare-stage__group--why-b::after {
    display: none;
  }

  .ks-stage-copy h2 {
    font-size: 2.1rem;
  }

  .ks-stage-copy {
    --ks-stage-heading-size: 2.1rem;
  }

  .ks-compare-stage__verdict {
    font-size: 2.1rem;
  }

  .ks-compare-stage__verdict-body {
    font-size: 0.96rem;
  }

  .ks-stage-copy [data-ks-current-text] {
    font-size: 0.96rem;
  }

  .ks-phone {
    order: 1;
    width: min(17rem, 58vw);
  }

  .ks-stage-progress {
    right: 1.4rem;
  }

  .ks-step {
    min-height: var(--ks-step-height);
  }

  .ks-stage-veil__card blockquote {
    max-width: 13ch;
    font-size: 3.1rem;
  }

  .ks-result-grid article,
  .ks-result-grid article:last-child {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--ks-line);
  }

  .ks-result-grid article:last-child {
    border-bottom: 0;
  }

  .ks-result-grid h3,
  .ks-measure__grid h3 {
    margin-top: 2rem;
  }

  .ks-wide-proof__media img {
    min-height: 0;
  }

  .ks-wide-proof__media {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .ks-communication__media {
    flex-direction: column;
    align-items: center;
    min-height: auto;
  }

  .ks-communication__phone {
    width: min(16rem, 80%);
    align-self: auto;
  }

  .ks-communication__note {
    width: 100%;
    flex: none;
  }

  .ks-wide-proof__arrow {
    transform: rotate(90deg);
  }

  .ks-next blockquote {
    font-size: 2.4rem;
  }
}

@media (max-width: 640px) {
  .ks-hero {
    padding: 2.6rem 0 3rem;
  }

  .ks-hero__title {
    font-size: 2.32rem;
    line-height: 1.04;
  }

  .ks-hero__facts {
    display: none;
  }

  .ks-hero__mockup {
    min-height: 20rem;
  }

  .ks-hero__mockup .ks-device {
    width: min(14.5rem, 76%);
  }

  .ks-intro__item h2,
  .ks-section-head .ed-h2,
  .ks-wide-proof .ed-h2,
  .ks-measure .ed-h2 {
    font-size: 1.82rem;
  }

  .ks-stage-copy h2 {
    font-size: 1.72rem;
  }

  .ks-stage-copy {
    --ks-stage-heading-size: 1.72rem;
  }

  .ks-stage-copy {
    padding: 0.85rem;
  }

  .ks-phone {
    width: min(13rem, 58vw);
  }

  .ks-stage-progress {
    display: none;
  }

  .ks-stage-veil {
    padding: 1rem;
  }

  .ks-stage-veil__card blockquote {
    font-size: 2.35rem;
  }

  .ks-wide-proof__media img {
    min-height: 0;
  }

  .ks-communication__quotes {
    grid-template-columns: 1fr;
  }

  .ks-next blockquote {
    font-size: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ks-phone,
  .ks-device__screen-image,
  .ks-callout,
  .ks-stage-veil {
    transition: none;
  }
}

.page--kyivstar-scroll .home-v2-top {
  background: #fff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.page--kyivstar-scroll .ks-hero__title,
.page--kyivstar-scroll .ks-panel h2,
.page--kyivstar-scroll .ks-slide h2,
.page--kyivstar-scroll .ks-next blockquote,
.page--kyivstar-scroll .ks-stage-veil__card blockquote,
.page--kyivstar-scroll .ed-h2,
.page--kyivstar-scroll .ed-display {
  font-family: "Unbounded", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

@keyframes ks-logos-down {
  from { transform: translateY(-50%); }
  to   { transform: translateY(0); }
}

@supports selector(html:has(body)) {
  html:has(.page--kyivstar-scroll) {
    scroll-padding-top: var(--ks-nav-height);
    scroll-snap-type: none;
  }
}

.ks-deck-main {
  background: var(--ks-paper);
}

.ks-hero,
.ks-horizontal,
.ks-slide,
.ks-final {
  scroll-snap-align: start;
}

.ks-kicker {
  margin: 0;
  color: currentColor;
  font-family: var(--font-mono);
  font-size: clamp(0.68rem, 1vw, 0.78rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ks-hero {
  position: relative;
  box-sizing: border-box;
  height: calc(100svh - var(--ks-nav-height));
  min-height: calc(100svh - var(--ks-nav-height));
  padding: 0;
  overflow: hidden;
  border-bottom: 0;
  color: #fff;
  background: #0c8ce9;
}

.ks-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  width: 100%;
  max-width: none;
  margin: 0;
  height: 100%;
  min-height: 0;
}

.ks-hero__panel {
  display: grid;
  align-content: end;
  justify-items: start;
  gap: clamp(0.95rem, 1.9vw, 1.45rem);
  min-height: 100%;
  padding: clamp(2rem, 5.6vw, 5.8rem) clamp(1.2rem, 3.2vw, 2.5rem) clamp(1.6rem, 6vh, 4rem);
  border-radius: 0;
  background: transparent;
}

.ks-hero__title {
  width: 100%;
  max-width: none;
  margin: 0;
  color: #fff;
  font-size: clamp(1.95rem, 5.55vw, 5.2rem);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: 0;
  white-space: nowrap;
  text-wrap: nowrap;
  min-width: 0;
}

.ks-hero__brand-logo {
  width: clamp(7.6rem, 11vw, 10rem);
  height: auto;
  object-fit: contain;
}

.ks-hero__intro {
  max-width: 21ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.15rem, 3.15vw, 3.25rem);
  font-weight: 500;
  line-height: 1.24;
  letter-spacing: 0;
}

.ks-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 0.9rem;
  align-items: flex-start;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ks-hero__tags li {
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  flex: 0 0 auto;
  min-height: 2.1rem;
  padding: 0.52rem 1.15rem 0.56rem;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.95);
  font-family: var(--font-mono);
  font-size: clamp(0.72rem, 1.02vw, 0.97rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ks-hero__panel .ks-kicker {
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(0.88rem, 1.36vw, 1.52rem);
  font-weight: 560;
  text-transform: none;
}

.ks-device {
  position: relative;
  display: block;
  aspect-ratio: 863 / 1771;
  margin: 0;
  filter: drop-shadow(0 30px 52px rgba(0, 43, 86, 0.34));
}

.ks-device__screen {
  position: absolute;
  left: 4.52%;
  top: 1.92%;
  z-index: 1;
  width: 90.85%;
  height: 96.16%;
  overflow: hidden;
  border-radius: 8.6% / 4.1%;
  background: #fff;
}

.ks-device__screen-image {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: auto;
  max-width: none;
  max-height: none;
  object-fit: contain;
}

.ks-device__frame {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.ks-horizontal {
  --ks-panel-count: 3;
  --ks-panel-index: 0;
  --ks-panel-progress: 0;
  position: relative;
  min-height: calc(var(--ks-panel-count) * 100svh);
  color: #fff;
  background: var(--ks-ink);
}

.ks-horizontal__sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
}

.ks-horizontal__track {
  position: relative;
  width: 100%;
  height: 100%;
}

.ks-panel {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  height: 100%;
  overflow: hidden;
  transform: translateY(calc((var(--panel-index, 0) - var(--ks-panel-progress, 0)) * 100%));
  transition: transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

.ks-panel:nth-child(1) { --panel-index: 0; }
.ks-panel:nth-child(2) { --panel-index: 1; }
.ks-panel:nth-child(3) { --panel-index: 2; }
.ks-panel:nth-child(4) { --panel-index: 3; }

.ks-panel--hero {
  color: #fff;
  background: #0c8ce9;
  align-items: stretch;
}

.ks-panel--hero .ks-hero__panel {
  display: grid;
  grid-template-columns: 1fr 0.6fr;
  grid-template-rows: auto auto auto auto;
  align-content: center;
  width: min(1500px, calc(100% - var(--ks-gutter) * 2));
  height: 100%;
  margin: 0 auto;
  padding: clamp(2rem, 4.5vh, 4rem) 0 clamp(2rem, 8vh, 5rem);
  row-gap: clamp(0.8rem, 2vh, 1.5rem);
  column-gap: clamp(2rem, 5vw, 5rem);
}

.ks-panel--hero .ks-kicker {
  grid-column: 1;
  grid-row: 1;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(0.68rem, 1vw, 0.78rem);
}

.ks-panel--hero .ks-hero__title {
  grid-column: 1;
  grid-row: 2;
  margin: 0;
  color: #fff;
  font-size: clamp(2.4rem, 5.5vw, 6rem);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: 0;
  white-space: normal;
  word-wrap: break-word;
}

.ks-panel--hero .ks-hero__logo-stack {
  grid-column: 2;
  grid-row: 1 / -1;
  align-self: stretch;
  overflow: hidden;
  margin-top: calc(-1 * clamp(2rem, 4.5vh, 4rem));
  margin-bottom: calc(-1 * clamp(2rem, 8vh, 5rem));
}

.ks-hero__logo-strip {
  display: flex;
  flex-direction: column;
  gap: clamp(3.5rem, 7vh, 7rem);
  animation: ks-logos-down 14s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .ks-hero__logo-strip { animation: none; }
}

.ks-hero__logo-strip img {
  width: clamp(14rem, 32vw, 26rem);
  height: auto;
  flex-shrink: 0;
  display: block;
}

.ks-panel--hero .ks-hero__intro {
  grid-column: 1;
  grid-row: 3;
  max-width: 40ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.9rem, 1.1vw, 1.1rem);
  font-weight: 500;
  line-height: 1.5;
}

.ks-panel--hero .ks-hero__tags {
  grid-column: 1;
  grid-row: 4;
  align-self: start;
  margin-top: clamp(0.25rem, 0.8vh, 0.75rem);
}

.ks-panel--hero .ks-hero__tags li {
  min-height: 1.8rem;
  padding: 0.34rem 0.78rem 0.36rem;
  font-size: clamp(0.52rem, 0.62vw, 0.62rem);
  line-height: 1.05;
}

.ks-panel::before,
.ks-slide::before,
.ks-final::before {
  display: none;
}

.ks-panel__inner,
.ks-slide__inner,
.ks-final__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.72fr);
  gap: clamp(2rem, 6vw, 7rem);
  align-items: center;
  width: min(1500px, calc(100% - var(--ks-gutter) * 2));
  margin: 0 auto;
}

.ks-panel__main,
.ks-solution__copy,
.ks-insight__copy {
  display: grid;
  gap: clamp(1.4rem, 2.5vw, 2rem);
  min-width: 0;
}

.ks-panel h2,
.ks-slide h2,
.ks-final blockquote {
  margin: 0;
  font-size: clamp(2.3rem, 5.1vw, 6rem);
  font-weight: 660;
  line-height: 0.96;
  letter-spacing: 0;
  text-wrap: balance;
}

.ks-insight-index h2,
.ks-solution h2,
.ks-results h2,
.ks-measure h2 {
  font-size: clamp(2.1rem, 4.2vw, 4.75rem);
}

.ks-panel p,
.ks-slide p,
.ks-panel li,
.ks-slide li {
  margin: 0;
  font-size: clamp(0.98rem, 1.18vw, 1.18rem);
  font-weight: 500;
  line-height: 1.48;
}

.ks-panel--client {
  color: var(--ks-ink);
  background: var(--ks-paper-strong);
}

.ks-panel--task {
  color: #fff;
  background: #0c8ce9;
}

.ks-panel--highlights {
  color: var(--ks-ink);
  background: var(--ks-yellow);
}

.ks-panel--highlights .ks-panel__inner {
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.72fr);
  gap: clamp(2rem, 6vw, 7rem);
}

.ks-panel--highlights .ks-panel__main {
  min-width: 0;
  max-width: min(100%, 10.9ch);
  padding-right: 0;
  overflow: visible;
}

.ks-panel--highlights h2 {
  display: block;
  inline-size: 100%;
  max-inline-size: 100%;
  max-width: 100%;
  font-size: clamp(2.35rem, 4.55vw, 5.35rem);
  line-height: 0.96;
  text-wrap: wrap;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
  -webkit-hyphens: manual;
  hyphens: manual;
}

.ks-panel--task .ks-kicker,
.ks-panel--task p {
  color: rgba(255, 255, 255, 0.8);
}

.ks-fact-list {
  display: grid;
  margin: 0;
  border-top: 1px solid currentColor;
}

.ks-fact-list div {
  display: grid;
  gap: 0.55rem;
  padding: clamp(0.85rem, 1.3vw, 1.1rem) 0;
  border-bottom: 1px solid currentColor;
}

.ks-fact-list dt,
.ks-fact-list dd,
.ks-process-list span,
.ks-change-list,
.ks-results-grid span,
.ks-measure-grid span {
  margin: 0;
  font-family: var(--font-mono);
  letter-spacing: 0;
}

.ks-fact-list dt,
.ks-process-list span,
.ks-results-grid span,
.ks-measure-grid span {
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
}

.ks-fact-list dd {
  color: var(--ks-muted);
  font-size: clamp(0.9rem, 1vw, 1rem);
  font-weight: 500;
  line-height: 1.45;
}

.ks-process-list {
  display: grid;
  gap: 0;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.ks-process-list article {
  display: grid;
  gap: 0.65rem;
  min-height: 9rem;
  padding: clamp(1rem, 1.5vw, 1.35rem);
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.ks-process-list article:last-child {
  border-bottom: none;
}

.ks-process-list h3,
.ks-insight-map h3,
.ks-placement h3,
.ks-results-grid h3 {
  margin: 0;
  font-size: clamp(1.25rem, 1.8vw, 1.8rem);
  font-weight: 650;
  line-height: 1.06;
  letter-spacing: 0;
}

.ks-process-list p {
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(0.88rem, 1vw, 1rem);
}

.ks-highlights {
  display: grid;
  gap: clamp(1.4rem, 3vw, 2.2rem);
}

.ks-metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(16, 16, 16, 0.22);
}

.ks-metric-row article {
  display: grid;
  align-content: space-between;
  min-height: clamp(8rem, 18svh, 12rem);
  padding: clamp(0.85rem, 1.25vw, 1.2rem);
  border-right: 1px solid rgba(16, 16, 16, 0.22);
}

.ks-metric-row article:last-child {
  border-right: 0;
}

.ks-metric-row strong {
  display: block;
  font-size: clamp(2.1rem, 3.7vw, 4.05rem);
  font-weight: 680;
  line-height: 0.9;
  letter-spacing: 0;
}

.ks-metric-row span,
.ks-change-list {
  font-size: clamp(0.78rem, 0.95vw, 0.9rem);
  font-weight: 600;
  line-height: 1.35;
}

.ks-change-list {
  display: grid;
  gap: 0.7rem;
  padding-left: 1.1rem;
}

.ks-horizontal__counter {
  position: absolute;
  right: clamp(1rem, 3vw, 2.5rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 2;
  display: flex;
  gap: 0.3rem;
  color: currentColor;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
}

.ks-vertical {
  --ks-vertical-count: 5;
  position: relative;
  min-height: calc(var(--ks-vertical-count) * (100svh - var(--ks-nav-height)));
  background: var(--ks-ink);
}

.ks-vertical__sticky {
  position: sticky;
  top: var(--ks-nav-height);
  height: calc(100svh - var(--ks-nav-height));
  overflow: hidden;
}

.ks-vertical__track {
  position: relative;
  height: 100%;
}

.ks-vertical .ks-slide {
  position: absolute;
  inset: 0;
  min-height: 100%;
  padding: clamp(1.2rem, 3vw, 2.5rem) 0;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 3.5rem, 0);
  transition:
    opacity 220ms ease,
    transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ks-vertical .ks-slide.is-active {
  z-index: 2;
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
}

.ks-vertical .ks-slide.is-before {
  transform: translate3d(0, -3.5rem, 0);
}

.ks-vertical__counter {
  position: absolute;
  right: clamp(1rem, 3vw, 2.5rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 4;
  display: flex;
  gap: 0.3rem;
  color: currentColor;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
}

.ks-slide {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 100svh;
  overflow: hidden;
  padding: calc(var(--ks-nav-height) + clamp(1.2rem, 3vw, 2.5rem)) 0 clamp(1.2rem, 3vw, 2.5rem);
  border-bottom: 1px solid var(--ks-line);
  background: var(--ks-paper);
}

.ks-slide__inner--wide {
  grid-template-columns: minmax(0, 0.72fr) minmax(20rem, 1fr);
}

.ks-insight-index {
  background: var(--ks-ink);
  color: #fff;
}

.ks-insight-index h2 {
  max-width: 14ch;
}

.ks-insight-map {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--ks-line-invert);
  border: 1px solid var(--ks-line-invert);
}

.ks-insight-map article {
  display: grid;
  align-content: space-between;
  min-height: clamp(9rem, 23svh, 14rem);
  padding: clamp(0.9rem, 1.4vw, 1.25rem);
  background: var(--ks-ink);
}

.ks-insight-map span {
  color: var(--ks-yellow);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
}

.ks-insight-map p {
  color: rgba(255, 255, 255, 0.72);
}

.ks-insight__copy ul,
.ks-rule-list {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding-left: 1.1rem;
}

.ks-insight__copy li,
.ks-rule-list li {
  padding-left: 0.15rem;
}

.ks-quote {
  margin: 0;
  display: grid;
  gap: 1rem;
}

.ks-quote::before {
  content: '\201C';
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(4rem, 6vw, 6rem);
  font-weight: 400;
  line-height: 0.75;
  color: #0c8ce9;
  pointer-events: none;
  user-select: none;
}

.ks-quote blockquote {
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2vw, 2rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.45;
  letter-spacing: 0;
  text-wrap: balance;
  color: inherit;
}

.ks-quote figcaption {
  font-family: var(--font-mono);
  font-size: clamp(0.7rem, 0.9vw, 0.82rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(26, 26, 26, 0.5);
  text-transform: none;
}

.ks-insight--blue,
.ks-insight--paper,
.ks-insight--yellow,
.ks-insight--ink {
  color: #1a1a1a;
  background: #dbeeff;
  overflow: clip;
}

.ks-insight--blue .ks-insight__copy li,
.ks-insight--paper .ks-insight__copy li,
.ks-insight--yellow .ks-insight__copy li,
.ks-insight--ink .ks-insight__copy li {
  color: #1a1a1a;
}

.ks-measure-vertical {
  background: #fef9c3;
}

.ks-insight--pale-yellow {
  color: #1a1a1a;
  background: #fef9c3;
  overflow: clip;
}

/* override default 2-col grid — yellow slides use their own layout */
.ks-measure-vertical .ks-slide__inner {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.ks-measure-header {
  display: grid;
  gap: clamp(0.6rem, 1vw, 0.9rem);
}

.ks-measure-header h2 {
  margin: 0;
}

.ks-measure-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.ks-measure-col {
  display: grid;
  gap: clamp(1.6rem, 2.8vw, 2.4rem);
  align-content: start;
  min-width: 0;
}

.ks-measure-col article,
.ks-measure-items article {
  display: grid;
  gap: 0.45rem;
}

.ks-measure-col h3,
.ks-measure-items h3 {
  margin: 0;
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  font-weight: 660;
  line-height: 1.2;
  letter-spacing: 0;
  color: #1a1a1a;
}

.ks-measure-col p,
.ks-measure-items p {
  margin: 0;
  font-size: clamp(0.9rem, 1.05vw, 1.05rem);
  font-weight: 500;
  line-height: 1.5;
  color: rgba(26, 26, 26, 0.6);
}

.ks-measure-items {
  display: grid;
  gap: clamp(1.6rem, 2.8vw, 2.4rem);
  align-content: center;
  min-width: 0;
}

.ks-solution {
  color: var(--ks-ink);
  background: var(--ks-paper);
}

.ks-solution .ks-slide__inner {
  grid-template-columns: minmax(0, 0.9fr) minmax(17rem, 0.48fr);
}

.ks-solution__copy p {
  max-width: 44rem;
  color: var(--ks-muted);
}

.ks-solution__device {
  display: grid;
  justify-items: center;
  margin: 0;
  min-width: 0;
}

.ks-solution__device .ks-device {
  width: min(18rem, 80%);
}

.ks-solution--blue {
  color: #fff;
  background: var(--ks-blue);
}

.ks-solution--blue .ks-solution__copy p {
  color: rgba(255, 255, 255, 0.78);
}

.ks-placement {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.34);
}

.ks-placement article {
  display: grid;
  align-content: space-between;
  min-height: clamp(15rem, 40svh, 24rem);
  padding: clamp(1rem, 1.6vw, 1.35rem);
  background: var(--ks-blue);
}

.ks-placement span {
  display: grid;
  place-items: center;
  width: 3rem;
  aspect-ratio: 1;
  border-radius: 999px;
  color: var(--ks-ink);
  background: var(--ks-yellow);
  font-family: var(--font-mono);
  font-weight: 700;
}

.ks-placement p {
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(0.9rem, 1vw, 1rem);
}

.ks-solution--three {
  color: var(--ks-ink);
  background: var(--ks-yellow);
}

.ks-solution--three .ks-slide__inner {
  grid-template-columns: minmax(0, 0.88fr) minmax(20rem, 0.65fr);
}

.ks-screen-stack {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: clamp(0.5rem, 1vw, 1rem);
  min-width: 0;
}

.ks-screen-stack img {
  width: 100%;
  max-height: min(62svh, 34rem);
  object-fit: cover;
  object-position: top;
  border: 1px solid rgba(16, 16, 16, 0.18);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 44px rgba(16, 16, 16, 0.16);
}

.ks-screen-stack img:nth-child(2) {
  transform: translateY(-1.2rem);
}

.ks-message {
  color: #fff;
  background: var(--ks-ink);
}

.ks-message .ks-slide__inner {
  grid-template-columns: minmax(0, 0.9fr) minmax(14rem, 0.38fr);
}

.ks-message p:not(.ks-kicker) {
  max-width: 44rem;
  color: rgba(255, 255, 255, 0.72);
}

.ks-message__mockup {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: #fff;
}

.ks-message__mockup img {
  height: min(66svh, 34rem);
  object-fit: cover;
  object-position: top;
}

.ks-results {
  color: var(--ks-ink);
  background: var(--ks-paper-strong);
}

.ks-results-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--ks-line);
  border: 1px solid var(--ks-line);
}

.ks-results-grid article {
  display: grid;
  align-content: space-between;
  min-height: clamp(14rem, 36svh, 22rem);
  padding: clamp(0.9rem, 1.3vw, 1.15rem);
  background: var(--ks-paper-strong);
}

.ks-results-grid span {
  color: var(--ks-blue);
}

.ks-results-grid p {
  color: var(--ks-muted);
  font-size: clamp(0.86rem, 0.95vw, 0.98rem);
}

.ks-measure {
  color: #fff;
  background: var(--ks-blue);
}

.ks-measure-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.ks-measure-grid article {
  display: grid;
  align-content: space-between;
  min-height: clamp(13rem, 30svh, 18rem);
  padding: clamp(1rem, 1.4vw, 1.25rem);
  background: var(--ks-blue);
}

.ks-measure-grid span {
  color: var(--ks-yellow);
}

.ks-measure-grid p {
  color: rgba(255, 255, 255, 0.72);
}

.ks-final {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 100svh;
  overflow: hidden;
  padding: calc(var(--ks-nav-height) + clamp(1.2rem, 3vw, 2.5rem)) 0 clamp(1.2rem, 3vw, 2.5rem);
  color: var(--ks-ink);
  background: var(--ks-yellow);
}

.ks-final__inner {
  grid-template-columns: minmax(0, 0.24fr) minmax(0, 1fr) auto;
}

.ks-final blockquote {
  max-width: 14ch;
}

.ks-final a {
  align-self: end;
  justify-self: end;
  padding: 0.8rem 0.95rem;
  border: 1px solid currentColor;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}

@media (max-width: 1180px) {
  .ks-panel__inner,
  .ks-slide__inner,
  .ks-final__inner,
  .ks-slide__inner--wide,
  .ks-solution .ks-slide__inner,
  .ks-solution--three .ks-slide__inner,
  .ks-message .ks-slide__inner {
    grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.6fr);
    gap: clamp(1.4rem, 4vw, 3rem);
  }

  .ks-panel h2,
  .ks-slide h2,
  .ks-final blockquote {
    font-size: clamp(2.1rem, 5vw, 4.4rem);
  }

  .ks-quote blockquote {
    font-size: clamp(1.8rem, 4vw, 3.4rem);
  }
}

@media (max-width: 900px) {
  .page--kyivstar-scroll {
    --ks-nav-height: 3.6rem;
  }

  .ks-hero__grid,
  .ks-panel__inner,
  .ks-panel--highlights .ks-panel__inner,
  .ks-slide__inner,
  .ks-final__inner,
  .ks-slide__inner--wide,
  .ks-solution .ks-slide__inner,
  .ks-solution--three .ks-slide__inner,
  .ks-message .ks-slide__inner {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .ks-hero__grid {
    align-content: stretch;
  }

  .ks-panel,
  .ks-slide,
  .ks-final {
    align-items: center;
  }

  .ks-panel__side,
  .ks-process-list,
  .ks-highlights,
  .ks-insight-map,
  .ks-placement,
  .ks-results-grid,
  .ks-measure-grid {
    max-height: 46svh;
  }

  .ks-process-list,
  .ks-highlights,
  .ks-insight-map,
  .ks-results-grid,
  .ks-measure-grid {
    overflow: hidden;
  }

  .ks-panel--highlights h2 {
    font-size: clamp(1.8rem, 7.4vw, 2.55rem);
  }

  .ks-panel--highlights .ks-highlights {
    gap: 0.75rem;
    max-height: none;
    overflow: visible;
  }

  .ks-panel--highlights .ks-metric-row strong {
    font-size: clamp(1.9rem, 9vw, 2.6rem);
  }

  .ks-panel--highlights .ks-change-list {
    gap: 0.35rem;
    font-size: 0.78rem;
    line-height: 1.25;
  }

  .ks-metric-row,
  .ks-results-grid,
  .ks-measure-grid {
    grid-template-columns: 1fr;
  }

  .ks-measure-body {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .ks-metric-row article,
  .ks-results-grid article,
  .ks-measure-grid article {
    min-height: auto;
    padding: 0.78rem;
  }

  .ks-metric-row article {
    border-right: 0;
    border-bottom: 1px solid rgba(16, 16, 16, 0.22);
  }

  .ks-metric-row article:last-child {
    border-bottom: 0;
  }

  .ks-process-list article,
  .ks-insight-map article,
  .ks-placement article {
    min-height: auto;
  }

  .ks-quote blockquote {
    padding: 0.9rem;
  }

  .ks-solution__device .ks-device {
    width: min(10rem, 36vw);
  }

  .ks-screen-stack {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ks-screen-stack img {
    max-height: 28svh;
  }

  .ks-message__mockup img {
    height: 28svh;
  }

  .ks-final a {
    justify-self: start;
  }
}

@media (min-width: 901px) and (max-height: 780px) {
  .ks-hero {
    padding-block: 0;
  }

  .ks-hero__panel {
    padding: clamp(1.1rem, 4vh, 2.1rem) clamp(1rem, 2.8vw, 2.2rem) clamp(1rem, 3.2vh, 1.9rem);
  }

  .ks-hero__title {
    font-size: clamp(1.6rem, 5.15vw, 4.2rem);
    line-height: 0.92;
  }

  .ks-hero__intro {
    max-width: 22ch;
    font-size: clamp(1.05rem, 2.8vw, 2.75rem);
  }

  .ks-hero__panel .ks-kicker {
    font-size: clamp(0.88rem, 1.45vw, 1.25rem);
  }

  .ks-hero__logo-strip img {
    width: clamp(7rem, 10vw, 9rem);
  }
}

@media (max-width: 640px) {
  .page--kyivstar-scroll {
    --ks-nav-height: 5rem;
  }

  .ks-hero,
  .ks-slide {
    padding-block: 1rem;
  }

  .page--kyivstar-scroll .ks-hero {
    height: calc(100svh - var(--ks-nav-height));
    min-height: calc(100svh - var(--ks-nav-height));
    padding-block: 0;
  }

  .page--kyivstar-scroll .ks-hero__grid {
    height: 100%;
    min-height: 0;
    gap: 0;
  }

  .ks-hero__panel {
    padding: clamp(1.2rem, 5vw, 1.7rem) clamp(0.95rem, 4.4vw, 1.3rem) clamp(1rem, 5vw, 1.45rem);
    border-radius: 0;
  }

  .ks-hero__logo-strip img {
    width: clamp(6rem, 31vw, 7.4rem);
  }

  .ks-hero__intro {
    max-width: none;
    font-size: clamp(1.02rem, 5.2vw, 1.5rem);
    line-height: 1.28;
  }

  .ks-hero__tags {
    gap: 0.46rem;
  }

  .ks-hero__tags li {
    min-height: 1.75rem;
    padding: 0.42rem 0.72rem 0.44rem;
    font-size: clamp(0.62rem, 2.9vw, 0.71rem);
    letter-spacing: 0.04em;
    text-transform: none;
  }

  .ks-deck-main > .ks-slide {
    padding-block: calc(var(--ks-nav-height) + 1rem) 1rem;
  }

  .ks-vertical .ks-slide {
    padding-block: 1rem;
  }

  .ks-hero__title {
    font-size: clamp(1.5rem, 8.1vw, 2.45rem);
    white-space: normal;
    text-wrap: pretty;
    line-height: 0.96;
  }

  .ks-panel h2,
  .ks-slide h2,
  .ks-final blockquote {
    font-size: clamp(1.9rem, 9vw, 2.75rem);
  }

  .ks-solution h2,
  .ks-results h2,
  .ks-measure h2 {
    font-size: clamp(1.65rem, 7.1vw, 2.25rem);
  }

  .ks-panel p,
  .ks-slide p,
  .ks-panel li,
  .ks-slide li {
    font-size: 0.9rem;
    line-height: 1.42;
  }

  .ks-fact-list div {
    padding: 0.62rem 0;
  }

  .ks-process-list article,
  .ks-insight-map article,
  .ks-placement article,
  .ks-results-grid article,
  .ks-measure-grid article {
    padding: 0.68rem;
  }

  .ks-results-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: none;
    overflow: visible;
  }

  .ks-results-grid article {
    min-height: 8.2rem;
  }

  .ks-results-grid p {
    font-size: 0.72rem;
    line-height: 1.28;
  }

  .ks-solution--three .ks-slide__inner {
    gap: 0.65rem;
  }

  .ks-solution--three h2 {
    font-size: clamp(1.42rem, 6.2vw, 1.82rem);
    line-height: 1.02;
  }

  .ks-solution--three .ks-rule-list {
    gap: 0.34rem;
  }

  .ks-solution--three .ks-rule-list li {
    font-size: 0.8rem;
    line-height: 1.25;
  }

  .ks-solution--three .ks-screen-stack img {
    max-height: 18svh;
  }

  .ks-process-list h3,
  .ks-insight-map h3,
  .ks-placement h3,
  .ks-results-grid h3 {
    font-size: 1.08rem;
  }

  .ks-quote blockquote {
    font-size: clamp(1.55rem, 7vw, 2.1rem);
  }

  .ks-panel__side,
  .ks-process-list,
  .ks-highlights,
  .ks-insight-map,
  .ks-placement,
  .ks-results-grid,
  .ks-measure-grid {
    max-height: 42svh;
  }

  .ks-panel--highlights .ks-highlights {
    max-height: none;
    overflow: visible;
  }

  .ks-horizontal .ks-panel__inner,
  .ks-horizontal .ks-panel--highlights .ks-panel__inner {
    gap: 0.75rem;
  }

  .ks-horizontal .ks-panel h2,
  .ks-horizontal .ks-panel--highlights h2 {
    font-size: clamp(1.48rem, 7.6vw, 2rem);
    line-height: 1;
  }

  .ks-horizontal .ks-panel p,
  .ks-horizontal .ks-panel li {
    font-size: 0.78rem;
    line-height: 1.28;
  }

  .ks-horizontal .ks-fact-list div {
    gap: 0.22rem;
    padding: 0.42rem 0;
  }

  .ks-horizontal .ks-process-list {
    max-height: none;
  }

  .ks-horizontal .ks-process-list article {
    gap: 0.28rem;
    padding: 0.42rem;
  }

  .ks-horizontal .ks-process-list h3,
  .ks-horizontal .ks-insight-map h3 {
    font-size: 0.94rem;
  }

  .ks-horizontal .ks-metric-row article {
    padding: 0.46rem;
  }

  .ks-horizontal .ks-metric-row strong {
    font-size: clamp(1.45rem, 8vw, 2rem);
  }

  .ks-horizontal .ks-change-list {
    gap: 0.22rem;
    font-size: 0.68rem;
    line-height: 1.18;
  }

  .ks-horizontal__counter,
  .ks-vertical__counter {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ks-horizontal__track {
    transition: none;
  }
}

/* Keep the restored lower case-study flow in its original phone/callout styling. */
.page--kyivstar-scroll .ks-scroll {
  background: #0c8ce9;
}

.page--kyivstar-scroll .ks-stage-bg {
  background: transparent;
}

.page--kyivstar-scroll .ks-stage-bg::before,
.page--kyivstar-scroll .ks-stage-bg::after {
  display: none;
}

.page--kyivstar-scroll .ks-results.ed-section,
.page--kyivstar-scroll .ks-wide-proof.ed-section,
.page--kyivstar-scroll .ks-communication.ed-section,
.page--kyivstar-scroll .ks-measure.ed-section {
  color: #1a1a1a;
  background: #f3f3f0;
}

.page--kyivstar-scroll .ks-results.ed-section .ks-section-head .ed-h2,
.page--kyivstar-scroll .ks-wide-proof.ed-section .ks-section-head .ed-h2,
.page--kyivstar-scroll .ks-communication.ed-section .ks-section-head .ed-h2,
.page--kyivstar-scroll .ks-measure.ed-section .ks-section-head .ed-h2,
.page--kyivstar-scroll .ks-results.ed-section .ks-section-head p,
.page--kyivstar-scroll .ks-wide-proof.ed-section .ks-section-head p,
.page--kyivstar-scroll .ks-communication.ed-section .ks-section-head p,
.page--kyivstar-scroll .ks-measure.ed-section .ks-section-head p {
  color: #1a1a1a;
}

.page--kyivstar-scroll .ks-communication.ed-section .ks-communication__cards article,
.page--kyivstar-scroll .ks-measure.ed-section .ks-measure__grid article {
  color: #1a1a1a;
  background: none;
}

.page--kyivstar-scroll .ks-communication.ed-section .ks-communication__cards ul,
.page--kyivstar-scroll .ks-measure.ed-section .ks-measure__grid p:not(.ed-meta) {
  color: #1a1a1a;
}

html:not([data-lang="en"]) .lang-en { display: none !important; }
html[data-lang="en"] .lang-uk { display: none !important; }
