/*
 * Homepage
 * One dark AI-studio presentation layer for template-pages/pages/home.php.
 * Uses the global OKB root tokens and avoids cascade force.
 */

.okg-home {
  --okg-hero-min: max(780px, calc(100svh - 76px));
  --okg-shell: min(1240px, calc(100% - 44px));
  --okg-section-y: clamp(86px, 10vw, 156px);
  --okg-panel: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .014)), var(--ok-surface);
  --okg-panel-soft: linear-gradient(180deg, rgba(138, 180, 248, .075), rgba(255, 255, 255, .012)), var(--ok-surface-soft);
  --okg-line: var(--ok-border);
  --okg-line-soft: var(--ok-border-soft);
  --okg-text: var(--ok-ink-soft);
  --okg-muted: var(--ok-ink-muted);
  --okg-heading: var(--ok-ink);
  --okg-accent: var(--ok-sky);
  --okg-gradient: var(--ok-gradient-gemini);
  overflow: clip;
  background:
    radial-gradient(circle at 10% 8%, rgba(122, 183, 255, .08), transparent 30rem),
    radial-gradient(circle at 88% 18%, rgba(255, 153, 204, .055), transparent 28rem),
    var(--ok-page-bg);
  color: var(--okg-text);
}

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

.okg-shell {
  width: var(--okg-shell);
  margin-inline: auto;
}

.okg-section {
  position: relative;
  padding: var(--okg-section-y) 0;
  background: var(--ok-page-bg);
  isolation: isolate;
  content-visibility: auto;
  contain-intrinsic-size: 720px;
}

.okg-hero {
  content-visibility: visible;
}

.okg-section::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, .035), transparent),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .018) 0 1px, transparent 1px 120px);
  opacity: .45;
  content: "";
}

.okg-section--paper {
  background:
    radial-gradient(circle at 10% 0, rgba(122, 183, 255, .13), transparent 34rem),
    radial-gradient(circle at 88% 8%, rgba(255, 207, 155, .08), transparent 30rem),
    linear-gradient(180deg, var(--ok-page-bg), var(--ok-page-bg-soft));
}

.okg-section--blue {
  background:
    radial-gradient(circle at 10% 12%, rgba(122, 183, 255, .16), transparent 34rem),
    radial-gradient(circle at 92% 4%, rgba(157, 246, 208, .08), transparent 34rem),
    radial-gradient(circle at 50% 100%, rgba(255, 159, 202, .075), transparent 32rem),
    linear-gradient(180deg, var(--ok-page-bg-soft), var(--ok-page-bg));
}

.okg-section--night,
.okg-final {
  background:
    radial-gradient(circle at 14% 4%, rgba(122, 183, 255, .14), transparent 34rem),
    radial-gradient(circle at 88% 94%, rgba(242, 166, 203, .12), transparent 32rem),
    radial-gradient(circle at 46% 22%, rgba(255, 207, 155, .055), transparent 22rem),
    var(--ok-page-bg);
}

.okg-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  color: var(--okg-accent);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.okg-kicker::before {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 999px;
  background: var(--okg-gradient);
  content: "";
}

.okg-title,
.okg-display {
  margin: 0;
  color: var(--okg-heading);
  font-family: var(--font-family-display, var(--font-family-main));
  font-weight: 560;
  letter-spacing: 0;
}

.okg-title {
  max-width: 940px;
  font-size: clamp(44px, 6.6vw, 98px);
  line-height: .98;
  text-wrap: balance;
}

.okg-display {
  font-size: clamp(56px, 8.6vw, 128px);
  line-height: .9;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.okg-display-line,
.okg-gradient-text {
  display: block;
}

.okg-gradient-text,
.okg-title-gradient {
  background: var(--okg-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.okg-gradient-text--last {
  margin-top: -.08em;
}

.okg-copy,
.okg-hero-lead {
  max-width: 680px;
  margin: 26px 0 0;
  color: var(--okg-muted);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.6;
}

.okg-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.okg-home .okg-btn,
.okg-text-link {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border: 1px solid var(--okg-line);
  border-radius: var(--radius-pill, 999px);
  background: var(--ok-surface-soft);
  color: var(--okg-heading);
  font-size: 14px;
  font-weight: 720;
  text-decoration: none;
  box-shadow: none;
  transition: transform .22s ease, border-color .22s ease, background .22s ease, color .22s ease;
}

.okg-home .okg-btn:hover,
.okg-text-link:hover {
  transform: translateY(-2px);
  border-color: var(--ok-primary-hover, var(--ok-violet));
  color: var(--ok-primary-hover, var(--ok-violet));
}

.okg-home .okg-btn--blue {
  border-color: transparent;
  background: var(--ok-blue-ui);
  color: var(--ok-ink-inverse);
}

.okg-home .okg-btn--blue:hover {
  background: var(--ok-primary-hover, var(--ok-violet));
  background-color: var(--ok-primary-hover, var(--ok-violet));
  background-image: none;
  color: var(--ok-ink-inverse);
}

.okg-home .okg-btn--dark:hover,
.okg-home .okg-btn--dark:focus-visible {
  border-color: var(--ok-primary-hover, var(--ok-violet));
  background: var(--ok-primary-hover, var(--ok-violet));
  background-color: var(--ok-primary-hover, var(--ok-violet));
  background-image: none;
  color: var(--ok-ink-inverse);
}

.okg-home .okg-btn--dark {
  border-color: var(--ok-border-blue);
  background: rgba(122, 183, 255, .12);
  color: var(--okg-accent);
}

.okg-hero {
  position: relative;
  min-height: auto;
  display: grid;
  align-items: start;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 12% 10%, rgba(122, 183, 255, .18), transparent 32%),
    radial-gradient(circle at 86% 12%, rgba(182, 156, 255, .13), transparent 30%),
    radial-gradient(circle at 50% 108%, rgba(242, 166, 203, .08), transparent 40%),
    var(--ok-page-bg);
}

.okg-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
  content: "";
}

.okg-orb {
  position: absolute;
  width: min(42vw, 620px);
  aspect-ratio: 1;
  right: -15%;
  top: 8%;
  z-index: -1;
  border-radius: 50%;
  background: conic-gradient(from 210deg, var(--ok-blue-ui), var(--ok-violet), var(--ok-pink), var(--ok-sky), var(--ok-blue-ui));
  filter: blur(72px);
  opacity: .16;
  animation: okg-float 12s ease-in-out infinite alternate;
}

.okg-hero-copy {
  max-width: 960px;
  margin-inline: auto;
  text-align: center;
}

.okg-hero .okg-kicker,
.okg-hero-lead,
.okg-hero .okg-actions {
  justify-content: center;
  margin-inline: auto;
}

.okg-hero-search {
  display: none;
}

.okg-showcase {
  margin-top: clamp(44px, 7vw, 88px);
}

.okg-cinema {
  width: 100vw;
  margin: 0 calc(50% - 50vw);
  padding-inline: 0;
}

.okg-cinema-stage {
  position: relative;
  min-height: clamp(520px, 56vw, 760px);
  overflow: hidden;
  border: 0;
  background:
    linear-gradient(180deg, rgba(4, 7, 13, .92), rgba(7, 10, 18, .72)),
    #05070d;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 42px 120px rgba(0, 0, 0, .42);
  isolation: isolate;
}

.okg-cinema-video {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
  object-fit: cover;
  object-position: center center;
  background: #05070d;
  filter: saturate(1.08) contrast(1.06);
  transform: scale(1.22);
  transform-origin: center center;
}

.okg-cinema-shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 7, 13, .88) 0%, rgba(5, 7, 13, .52) 36%, rgba(5, 7, 13, .08) 66%, rgba(5, 7, 13, .58) 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 96px);
}

.okg-cinema-content {
  position: relative;
  z-index: 4;
  width: min(720px, calc(100% - clamp(32px, 7vw, 120px)));
  min-height: clamp(520px, 56vw, 760px);
  display: grid;
  align-content: center;
  padding: clamp(64px, 8vw, 104px) 0;
  margin-left: clamp(18px, 7vw, 104px);
}

.okg-cinema-kicker {
  width: max-content;
  max-width: 100%;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  border: 1px solid rgba(159, 246, 208, .42);
  border-radius: 999px;
  background: rgba(159, 246, 208, .12);
  color: #9ff6d0;
  font-size: 11px;
  font-weight: 860;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.okg-cinema-kicker::before {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 999px;
  background: #9ff6d0;
  box-shadow: 0 0 22px rgba(159, 246, 208, .72);
  content: "";
}

.okg-cinema-content h2 {
  max-width: 680px;
  margin: 14px 0 0;
  color: #f8fbff;
  font-family: var(--font-family-display, var(--font-family-main));
  font-size: 84px;
  font-weight: 540;
  line-height: 1;
  letter-spacing: 0;
  text-wrap: balance;
}

.okg-cinema-content p {
  max-width: 560px;
  margin: 16px 0 0;
  color: rgba(231, 239, 255, .82);
  font-size: clamp(14px, 1.15vw, 18px);
  line-height: 1.55;
}

.okg-cinema-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.okg-cinema-meta {
  position: absolute;
  right: clamp(18px, 5vw, 78px);
  bottom: clamp(54px, 6vw, 96px);
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: min(520px, calc(100% - 36px));
}

.okg-cinema-meta span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(143, 174, 229, .26);
  border-radius: 999px;
  background: rgba(7, 12, 22, .58);
  color: #dbe7ff;
  font-size: 12px;
  font-weight: 780;
  backdrop-filter: blur(14px);
}

.okg-media,
.okg-path,
.okg-blog-card,
.okg-collection {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--okg-line);
  background: var(--okg-panel);
  box-shadow: none;
}

.okg-media img,
.okg-collection img,
.okg-path img,
.okg-blog-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: translateZ(0) scale(1.001);
  filter: saturate(.96) contrast(1.02);
  transition:
    transform 1.2s cubic-bezier(.16, 1, .3, 1),
    filter .9s ease,
    opacity .55s ease;
  backface-visibility: hidden;
  will-change: transform;
}

.okg-lazy-img {
  opacity: 0;
  filter: blur(14px) saturate(.82) contrast(1.02);
}

.okg-lazy-img.is-loaded,
.okg-lazy-img:not([data-src]) {
  opacity: 1;
  filter: saturate(.98) contrast(1.02);
}

.okg-feature-item,
.okg-process,
.okg-process article {
  border: 1px solid var(--okg-line);
  background: var(--okg-panel);
  box-shadow: none;
}

.okg-media-note span,
.okg-collection-body span {
  display: block;
  color: var(--okg-muted);
  font-size: 12px;
  font-weight: 700;
}

.okg-media-note strong,
.okg-collection-body strong {
  display: block;
  color: var(--okg-heading);
  font-size: 18px;
  line-height: 1.2;
}

.okg-feature-item i {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(122, 183, 255, .12);
  color: var(--okg-accent);
}

.okg-feature-item strong,
.okg-process h3,
.okg-path h3,
.okg-blog-card h3,
.okg-blog-card a {
  color: var(--okg-heading);
}

.okg-feature-item p,
.okg-process p,
.okg-path p,
.okg-blog-body span {
  color: var(--okg-muted);
}

.okg-split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: center;
}

.okg-split--motion {
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, .88fr);
  gap: clamp(24px, 4vw, 56px);
}

.okg-split--motion .okg-title {
  max-width: 760px;
}

.okg-split--reverse .okg-split-copy {
  order: 2;
}

.okg-media {
  min-height: clamp(380px, 48vw, 640px);
  border-radius: 32px;
  background: var(--ok-surface-soft);
}

.okg-media:hover img,
.okg-collection:hover img,
.okg-path:hover img,
.okg-blog-card:hover img {
  transform: translateZ(0) scale(1.025);
  filter: saturate(1.08) contrast(1.05);
}

.okg-media-note {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 20px;
  background: rgba(9, 11, 15, .72);
  backdrop-filter: blur(14px);
}

.okg-feature-list {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}

.okg-feature-item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 18px;
  border-radius: 20px;
  transition: transform .28s ease, border-color .28s ease, background .28s ease;
}

.okg-feature-item:nth-child(2n) i {
  background: rgba(255, 207, 155, .13);
  color: #ffcf9b;
}

.okg-feature-item:nth-child(3n) i {
  background: rgba(157, 246, 208, .11);
  color: #9ff6d0;
}

.okg-feature-item:nth-child(1) strong {
  color: #8ab4ff;
}

.okg-feature-item:nth-child(2) strong {
  color: #ffcf9b;
}

.okg-feature-item:nth-child(3) strong {
  color: #9ff6d0;
}

.okg-feature-item:hover {
  transform: translateY(-3px);
  border-color: rgba(138, 180, 255, .28);
  background:
    radial-gradient(circle at 0 0, rgba(138, 180, 255, .08), transparent 12rem),
    var(--okg-panel);
}

.okg-feature-item strong,
.okg-feature-item p {
  display: block;
  margin: 0;
}

.okg-feature-item p {
  margin-top: 5px;
  line-height: 1.55;
}

.okg-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.okg-heading-row .okg-title {
  max-width: 760px;
}

.okg-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.okg-collection {
  aspect-ratio: 4 / 3;
  min-height: 0;
  border-radius: 18px;
  color: var(--ok-ink);
  text-decoration: none;
}

.okg-collection::after,
.okg-path::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 5, 10, .88), rgba(4, 5, 10, .08) 64%);
  content: "";
}

.okg-collection-body {
  position: absolute;
  inset: auto 14px 14px;
  z-index: 1;
}

.okg-collection-body strong,
.okg-collection-body span {
  color: var(--ok-ink);
}

.okg-process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 38px;
  padding: 12px;
  border-radius: 28px;
}

.okg-process article {
  min-height: 260px;
  padding: 24px;
  border-radius: 22px;
  transition: transform .28s ease, border-color .28s ease, background .28s ease;
}

.okg-process article:nth-child(2) span {
  color: var(--okg-accent);
}

.okg-process article:nth-child(3) span {
  color: var(--okg-accent);
}

.okg-process article:nth-child(4) span {
  color: var(--okg-accent);
}

.okg-process article:nth-child(1) {
  border-color: rgba(138, 180, 255, .28);
  background:
    radial-gradient(circle at 0 0, rgba(138, 180, 255, .13), transparent 13rem),
    var(--okg-panel);
}

.okg-process article:nth-child(2) {
  border-color: rgba(255, 207, 155, .28);
  background:
    radial-gradient(circle at 0 0, rgba(255, 207, 155, .13), transparent 13rem),
    var(--okg-panel);
}

.okg-process article:nth-child(3) {
  border-color: rgba(159, 246, 208, .26);
  background:
    radial-gradient(circle at 0 0, rgba(159, 246, 208, .12), transparent 13rem),
    var(--okg-panel);
}

.okg-process article:nth-child(4) {
  border-color: rgba(255, 159, 202, .28);
  background:
    radial-gradient(circle at 0 0, rgba(255, 159, 202, .13), transparent 13rem),
    var(--okg-panel);
}

.okg-process article:nth-child(1) h3 {
  color: #8ab4ff;
}

.okg-process article:nth-child(2) h3 {
  color: #ffcf9b;
}

.okg-process article:nth-child(3) h3 {
  color: #9ff6d0;
}

.okg-process article:nth-child(4) h3 {
  color: #ff9fca;
}

.okg-process article:hover {
  transform: translateY(-4px);
  filter: saturate(1.12);
}

.okg-process span {
  color: var(--okg-accent);
  font-weight: 820;
}

.okg-process h3 {
  margin: 70px 0 10px;
  font-size: 28px;
}

.okg-process p {
  margin: 0;
  line-height: 1.58;
}

.okg-paths,
.okg-blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
}

.okg-rail,
.okg-paths {
  scrollbar-width: thin;
  scrollbar-color: rgba(138, 180, 248, .55) transparent;
}

.okg-rail::-webkit-scrollbar,
.okg-paths::-webkit-scrollbar {
  height: 6px;
}

.okg-rail::-webkit-scrollbar-thumb,
.okg-paths::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(90deg, #8ab4f8, #b38cff, #9ff6d0);
}

.okg-path {
  min-height: 540px;
  border-radius: 32px;
}

.okg-path-content {
  position: absolute;
  inset: auto 24px 24px;
  z-index: 1;
  max-width: 560px;
}

.okg-path h3 {
  margin: 0;
  color: var(--ok-ink);
  font-size: clamp(30px, 3.6vw, 50px);
  line-height: 1.04;
}

.okg-path p {
  max-width: 520px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, .78);
  line-height: 1.58;
}

.okg-final {
  text-align: center;
}

.okg-final .okg-kicker,
.okg-final .okg-copy,
.okg-final .okg-actions,
.okg-final .okg-title {
  justify-content: center;
  margin-inline: auto;
}

.okg-blog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.okg-blog-card {
  border-radius: 24px;
}

.okg-blog-card > a {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.okg-blog-body {
  padding: 18px;
}

.okg-blog-body h3 {
  margin: 6px 0 0;
  font-size: 20px;
  line-height: 1.25;
}

@keyframes okg-float {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }

  to {
    transform: translate3d(-5%, 4%, 0) scale(1.04);
  }
}

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

  .okg-split--reverse .okg-split-copy {
    order: 0;
  }

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

  .okg-rail,
  .okg-paths {
    width: calc(100% + 40px);
    display: flex;
    gap: 16px;
    margin-inline: -20px;
    padding: 0 20px 10px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-padding-inline: 20px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .okg-collection {
    min-width: min(280px, 64vw);
    scroll-snap-align: start;
  }

  .okg-path {
    min-width: min(560px, 78vw);
    scroll-snap-align: start;
  }

  .okg-cinema-content {
    min-height: clamp(480px, 58vw, 640px);
  }

  .okg-cinema-stage {
    min-height: clamp(480px, 58vw, 640px);
  }

  .okg-cinema-content {
    width: min(680px, calc(100% - 40px));
    margin-left: 20px;
  }

  .okg-cinema-shade {
    background:
      linear-gradient(90deg, rgba(5, 7, 13, .9) 0%, rgba(5, 7, 13, .48) 58%, rgba(5, 7, 13, .42) 100%);
  }

  .okg-cinema-content h2 {
    max-width: 620px;
    font-size: 68px;
  }
}

@media (max-width: 760px) {
  .okg-home {
    --okg-shell: min(100% - 28px, 1240px);
  }

  .okg-section {
    padding: clamp(66px, 14vw, 92px) 0;
  }

  .okg-hero {
    min-height: auto;
    padding: 0;
  }

  .okg-display {
    font-size: clamp(44px, 13vw, 64px);
  }

  .okg-title {
    font-size: clamp(36px, 10vw, 54px);
  }

  .okg-copy,
  .okg-hero-lead {
    font-size: 17px;
  }

  .okg-actions,
  .okg-hero .okg-actions {
    width: 100%;
    justify-content: stretch;
  }

  .okg-home .okg-btn,
  .okg-text-link {
    width: 100%;
  }

  .okg-cinema {
    margin-top: 0;
    padding-inline: 0;
  }

  .okg-cinema-content {
    min-height: clamp(560px, 118vw, 680px);
  }

  .okg-cinema-stage {
    min-height: clamp(560px, 118vw, 680px);
  }

  .okg-cinema-video {
    object-position: center center;
    transform: scale(1.18);
  }

  .okg-cinema-shade {
    background:
      linear-gradient(90deg, rgba(5, 7, 13, .7), rgba(5, 7, 13, .2));
  }

  .okg-cinema-content {
    width: min(100% - 28px, 560px);
    align-content: end;
    margin: 0 14px;
    padding: 54px 0 128px;
  }

  .okg-cinema-content h2 {
    max-width: 100%;
    font-size: 44px;
    line-height: 1.02;
  }

  .okg-cinema-content p {
    font-size: 14px;
  }

  .okg-cinema-actions {
    width: 100%;
    gap: 10px;
    margin-top: 16px;
  }

  .okg-cinema-actions .okg-btn {
    width: 100%;
  }

  .okg-cinema-meta {
    right: 14px;
    bottom: 22px;
    left: 14px;
    justify-content: flex-start;
    gap: 6px;
  }

  .okg-cinema-meta span {
    min-height: 30px;
    padding-inline: 10px;
    font-size: 11px;
  }

  .okg-heading-row {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .okg-process,
  .okg-blog-grid {
    grid-template-columns: 1fr;
  }

  .okg-media,
  .okg-path,
  .okg-collection {
    min-height: 360px;
    border-radius: 24px;
  }

  .okg-collection {
    aspect-ratio: 4 / 3;
    min-height: 0;
    border-radius: 18px;
  }

  .okg-rail,
  .okg-paths {
    width: calc(100% + 28px);
    margin-inline: -14px;
    padding-inline: 14px;
    scroll-padding-inline: 14px;
  }

  .okg-collection {
    min-width: min(240px, 72vw);
  }

  .okg-path {
    min-width: min(380px, 86vw);
  }

  .okg-process article {
    min-height: 0;
  }

  .okg-process h3 {
    margin-top: 38px;
  }
}

@media (max-width: 420px) {
  .okg-home {
    --okg-shell: min(100% - 24px, 1240px);
  }

  .okg-display {
    font-size: clamp(40px, 12.5vw, 52px);
  }

  .okg-cinema-content {
    min-height: clamp(540px, 128vw, 620px);
  }

  .okg-cinema-stage {
    min-height: clamp(540px, 128vw, 620px);
  }

  .okg-cinema-content {
    width: min(100% - 24px, 520px);
    padding-bottom: 58px;
  }

  .okg-cinema-content h2 {
    font-size: 34px;
  }

  .okg-cinema-meta {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .okg-orb {
    animation: none;
  }

  .okg-cinema-video {
    animation: none;
  }

  .okg-home *,
  .okg-home *::before,
  .okg-home *::after {
    scroll-behavior: auto;
    transition-duration: .01ms;
    animation-duration: .01ms;
    animation-iteration-count: 1;
  }
}
