:root {
  /* One content column for the whole site, after hellodani.co: everything — nav,
     section headings and cards — resolves to min(824px, 100% - 64px), so the page
     has a single alignment edge. The gutter is the residual. */
  --gutter: 32px;
  --content-max: 824px;
  /* Type after hellodani.co: two families only. Libre Baskerville carries the
     headings and the italic asides, Inter carries everything else. There is no
     monospace on the reference — the tracked-out uppercase labels are Inter too,
     so --k-font-mono now names a role, not a family. */
  --k-font-display: "Libre Baskerville", Georgia, serif;
  --k-font-serif: "Libre Baskerville", Georgia, serif;
  --k-font-ui: "Inter", system-ui, sans-serif;
  --k-font-mono: "Inter", system-ui, sans-serif;
  /* Palette measured off hellodani.co/works: cream page, black ink, warm-grey
     surfaces, one red. --k-ink-soft is the reference's #292929; --k-accent was the
     old signal colour and now points at the reference red, which is the only
     accent the reference uses for links and highlights. */
  --k-paper: #f6f5f1;
  --k-paper-raised: #ffffff;
  --k-surface: #e4e3dd;
  --k-ink: #000000;
  --k-ink-soft: #292929;
  --k-line: #dddbd2;
  --k-accent: #fd1e1f;
  --k-blue: #0015d4;
  /* Card artwork rebuilt from the reference's four accents — #ffcb41 yellow,
     #ff8fca pink, #0015d4 blue, #e4e3dd warm grey. The reference fills its cards
     flat; these stay gradients so the artwork keeps its depth, but every stop is
     one of those hues or a tint of it. The names are slot labels now, not colour
     descriptions — data-kreate-accent="peach|orchid|meadow" keys off them. */
  --k-plum-dusk: linear-gradient(150deg, #000000 0%, #06106b 55%, #0015d4 100%);
  --k-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --k-orchid: radial-gradient(120% 90% at 50% 45%, #ff8fca 0%, #ffb0d9 35%, #6e7be4 100%);
  --k-meadow: linear-gradient(160deg, #ffcb41 0%, #ffe29b 35%, #c7cdee 70%, #e4e3dd 100%);
  --k-peach: linear-gradient(135deg, #ffcb41 0%, #ffd97a 55%, #ff8fca 100%);
}

#__framer-badge-container {
  display: none !important;
}

.kreate-conway-shell {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .72;
  mix-blend-mode: screen;
}

.kreate-conway-shell iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

#hero-section > *:not(.kreate-conway-shell) {
  position: relative;
  z-index: 1;
}

.kreate-enhancement {
  color: var(--k-paper);
  background: #000;
  font-family: var(--k-font-ui);
  max-width: 100vw;
  overflow: hidden;
}

/* Playground / game section runs on a soft rose ground */
.kreate-enhancement.kreate-game-home {
  background: #FFC8D1;
  color: #151515;
}
.kreate-game-home .kreate-kicker { color: rgba(21, 21, 21, .62); }
.kreate-enhancement.kreate-game-home h2,
.kreate-enhancement.kreate-game-home h3 { color: #151515; }
.kreate-game-home .kreate-lede { color: rgba(21, 21, 21, .74); }

.kreate-section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 76px 0;
}

.kreate-section + .kreate-section {
  border-top: 1px solid rgba(246, 245, 241, .12);
}

.kreate-kicker {
  color: var(--k-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.kreate-section h2,
.kreate-section h3 {
  color: var(--k-paper);
  font-family: var(--k-font-display);
  font-size: clamp(34px, 6vw, 76px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: .98;
  margin: 0;
  max-width: 900px;
}

.kreate-section h3 {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.04;
}

.kreate-lede {
  color: rgba(246, 245, 241, .72);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.55;
  margin: 22px 0 0;
  max-width: 760px;
}

.kreate-proof-grid,
.kreate-card-grid,
.kreate-brief-grid {
  display: grid;
  gap: 14px;
}

.kreate-proof-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
}

.kreate-proof-card,
.kreate-principle-card,
.kreate-play-card,
.kreate-brief-card {
  border: 1px solid rgba(246, 245, 241, .14);
  border-radius: 18px;
  background: rgba(246, 245, 241, .055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
  padding: 22px;
}

.kreate-proof-card strong,
.kreate-principle-card strong,
.kreate-play-card strong,
.kreate-brief-card strong {
  color: var(--k-paper);
  display: block;
  font-size: 18px;
  line-height: 1.18;
  margin-bottom: 10px;
}

.kreate-proof-card span,
.kreate-principle-card span,
.kreate-play-card span,
.kreate-brief-card span {
  color: rgba(246, 245, 241, .68);
  display: block;
  font-size: 14px;
  line-height: 1.45;
}

.kreate-live-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.kreate-live-strip a,
.kreate-tag {
  border: 1px solid rgba(246, 245, 241, .18);
  border-radius: 999px;
  color: var(--k-paper);
  font-size: 14px;
  line-height: 1;
  padding: 11px 14px;
  text-decoration: none;
  transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}

.kreate-live-strip a:hover {
  background: rgba(253, 30, 31, .12);
  border-color: rgba(253, 30, 31, .72);
  transform: translateY(-1px);
}

.kreate-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 30px;
}

.kreate-principle-card,
.kreate-play-card {
  min-height: 150px;
}

.kreate-principle-card:nth-child(2),
.kreate-play-card:nth-child(1) {
  background: linear-gradient(135deg, rgba(255, 203, 65, .17), rgba(255, 217, 122, .08));
}

.kreate-principle-card:nth-child(4),
.kreate-play-card:nth-child(2) {
  background: linear-gradient(135deg, rgba(110, 123, 228, .18), rgba(255, 143, 202, .08));
}

.kreate-principle-card:nth-child(6),
.kreate-play-card:nth-child(3) {
  background: linear-gradient(135deg, rgba(199, 205, 238, .16), rgba(228, 227, 221, .08));
}

.kreate-case-brief {
  background:
    radial-gradient(circle at 18% 10%, rgba(253, 30, 31, .18), transparent 28%),
    linear-gradient(180deg, #050505 0%, #000 100%);
  color: var(--k-paper);
  font-family: var(--k-font-ui);
  padding: 80px 20px;
}

.kreate-case-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.kreate-case-eyebrow {
  color: var(--k-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.kreate-case-brief h2 {
  color: var(--k-paper);
  font-family: var(--k-font-display);
  font-size: clamp(30px, 5vw, 58px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  margin: 0;
  max-width: 880px;
}

.kreate-case-summary {
  color: rgba(246, 245, 241, .72);
  font-size: 18px;
  line-height: 1.5;
  margin: 18px 0 0;
  max-width: 760px;
}

.kreate-brief-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 30px;
}

.kreate-state-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.kreate-state-card {
  border: 1px solid rgba(246, 245, 241, .14);
  border-radius: 18px;
  padding: 22px;
}

.kreate-state-card:first-child {
  background: rgba(246, 245, 241, .045);
}

.kreate-state-card:last-child {
  background: rgba(253, 30, 31, .1);
  border-color: rgba(253, 30, 31, .35);
}

.kreate-state-card p {
  color: rgba(246, 245, 241, .6);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.kreate-state-card strong {
  color: var(--k-paper);
  display: block;
  font-size: 20px;
  line-height: 1.2;
}

.kreate-human-close {
  color: var(--k-paper);
  font-family: var(--k-font-display);
  font-size: clamp(24px, 4vw, 40px);
  line-height: 1.05;
  margin: 36px 0 0;
  max-width: 860px;
}

.kreate-grain::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--k-grain);
  mix-blend-mode: overlay;
  opacity: .18;
  pointer-events: none;
}

.kreate-stack-shell {
  background: #000;
  color: var(--k-ink);
  font-family: var(--k-font-ui);
  max-width: 100vw;
  overflow: clip;
  padding: 20px 0 80px;
}

.kreate-stack {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.kreate-stack-card {
  background: var(--k-paper-raised);
  border: 1px solid rgba(30, 27, 34, .1);
  border-radius: 18px;
  box-shadow: 0 34px 80px rgba(0, 0, 0, .34);
  color: var(--k-ink);
  display: grid;
  grid-template-rows: auto minmax(240px, 1fr);
  height: auto;
  margin: 0 0 28px;
  min-height: 0;
  overflow: hidden;
  position: relative;
  transform-origin: center top;
  transition: opacity .2s ease, transform .2s ease;
}

@media (min-width: 901px) and (min-height: 860px) {
  .kreate-stack-card {
    height: calc(100vh - 180px);
    margin: 0 0 9vh;
    position: sticky;
    top: 148px;
  }
}

.kreate-stack-card[data-covered="true"] {
  opacity: .6;
  transform: scale(.94);
}

.kreate-stack-copy {
  display: grid;
  gap: 18px;
  padding: clamp(28px, 5vw, 52px);
  position: relative;
  z-index: 2;
}

.kreate-stack-top {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.kreate-stack-client,
.kreate-stack-count,
.kreate-stack-pair p {
  color: var(--k-ink-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  margin: 0;
  text-transform: uppercase;
}

.kreate-stack-title {
  font-family: var(--k-font-display);
  font-size: clamp(34px, 4.6vw, 64px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: .95;
  margin: 0;
  max-width: 860px;
}

.kreate-stack-line {
  color: var(--k-ink-soft);
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.45;
  margin: 0;
  max-width: 680px;
}

.kreate-stack-dot {
  background: var(--k-accent);
  border-radius: 999px;
  box-shadow: 0 0 0 8px rgba(253, 30, 31, .12);
  height: 14px;
  position: absolute;
  right: clamp(32px, 6vw, 72px);
  top: clamp(130px, 20vh, 190px);
  width: 14px;
}

.kreate-stack-pairs {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 820px;
}

.kreate-stack-pair {
  border-top: 1px solid var(--k-line);
  padding-top: 16px;
}

.kreate-stack-pair strong {
  display: block;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.2;
  margin-top: 8px;
}

.kreate-stack-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.kreate-stack-tags {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  gap: 8px;
}

.kreate-stack-tags span {
  background: rgba(30, 27, 34, .06);
  border: 1px solid rgba(30, 27, 34, .08);
  border-radius: 999px;
  color: var(--k-ink-soft);
  font-size: 13px;
  line-height: 1;
  padding: 9px 11px;
}

.kreate-stack-link,
.kreate-static-link {
  color: var(--k-ink);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.kreate-stack-media {
  align-items: center;
  display: grid;
  isolation: isolate;
  min-height: 0;
  overflow: hidden;
  padding: clamp(22px, 4vw, 42px);
  position: relative;
}

.kreate-stack-media svg,
.kreate-artifact svg,
.kreate-ba-panel svg,
.kreate-static-schematic svg {
  display: block;
  height: 100%;
  position: relative;
  width: 100%;
  z-index: 1;
}

.kreate-stack-card.is-g1 .kreate-stack-media { background: var(--k-peach); }
.kreate-stack-card.is-g2 .kreate-stack-media { background: var(--k-orchid); }
.kreate-stack-card.is-g3 .kreate-stack-media { background: var(--k-meadow); }
.kreate-stack-card.is-g4 .kreate-stack-media { background: var(--k-plum-dusk); }
.kreate-stack-card.is-g2-soft .kreate-stack-media {
  background:
    linear-gradient(rgba(246, 245, 241, .7), rgba(246, 245, 241, .7)),
    var(--k-orchid);
}

.kreate-ba {
  --split: 50%;
  border: 1px solid rgba(246, 245, 241, .14);
  border-radius: 18px;
  margin-top: 30px;
  overflow: hidden;
}

.kreate-ba-caption,
.kreate-artifact-caption {
  color: rgba(246, 245, 241, .55);
  font-size: 13px;
  line-height: 1.4;
  margin: 12px 0 0;
}

.kreate-ba-stage {
  aspect-ratio: 16 / 9;
  background: #090909;
  min-height: 260px;
  position: relative;
}

.kreate-ba-panel {
  inset: 0;
  padding: clamp(18px, 4vw, 34px);
  position: absolute;
}

.kreate-ba-panel--after {
  clip-path: inset(0 0 0 var(--split));
}

.kreate-ba-divider {
  background: var(--k-accent);
  bottom: 0;
  left: var(--split);
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  width: 2px;
  z-index: 4;
}

.kreate-ba-range {
  appearance: none;
  background: transparent;
  cursor: ew-resize;
  inset: 0;
  margin: 0;
  opacity: .001;
  position: absolute;
  width: 100%;
  z-index: 5;
}

.kreate-ba-range:focus-visible + .kreate-ba-divider {
  box-shadow: 0 0 0 6px rgba(253, 30, 31, .2);
}

.kreate-artifact {
  background: rgba(246, 245, 241, .045);
  border: 1px solid rgba(246, 245, 241, .14);
  border-radius: 18px;
  margin-top: 34px;
  padding: clamp(18px, 4vw, 34px);
}

.kreate-artifact h3 {
  color: var(--k-paper);
  font-family: var(--k-font-display);
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 400;
  line-height: 1.05;
  margin: 0 0 18px;
}

.kreate-playable iframe {
  aspect-ratio: 16 / 7;
  background: #050505;
  border: 1px solid rgba(246, 245, 241, .14);
  border-radius: 18px;
  display: block;
  margin-top: 26px;
  min-height: 320px;
  width: 100%;
}

.kreate-game-section {
  overflow: visible;
}

.kreate-game-carousel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin: 42px 0 0;
}

.kreate-game-card {
  background: var(--k-paper);
  border: 1px solid rgba(246, 245, 241, .14);
  border-radius: 26px;
  color: var(--k-ink);
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.kreate-game-card-header {
  align-items: flex-start;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 22px 24px 18px;
}

.kreate-game-card-header p,
.kreate-game-card-header span {
  color: var(--k-ink-soft);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .13em;
  margin: 0 0 6px;
  text-transform: uppercase;
}

.kreate-game-card-header strong {
  display: block;
  font-family: var(--k-font-display);
  font-size: clamp(20px, 2.4vw, 32px);
  font-weight: 400;
  line-height: 1;
}

.kreate-game-card iframe {
  background: var(--k-paper);
  border: 0;
  display: block;
  height: clamp(440px, 46vw, 520px);
  width: 100%;
}

.kreate-static-page {
  background: #000;
  color: var(--k-paper);
  font-family: var(--k-font-ui);
  margin: 0;
}

.kreate-static-page a {
  color: inherit;
}

.kreate-static-nav,
.kreate-static-footer,
.kreate-static-hero,
.kreate-static-section {
  width: min(var(--content-max), calc(100% - var(--gutter) * 2));
  margin: 0 auto;
}

.kreate-static-nav {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 34px 0 20px;
}

.kreate-static-brand {
  color: var(--k-paper);
  font-family: var(--k-font-display);
  font-size: 24px;
  font-weight: 400;
  text-decoration: none;
}

.kreate-static-hero {
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, .92fr) minmax(320px, 1fr);
  min-height: 72vh;
  padding: 72px 0 48px;
}

.kreate-static-hero h1 {
  color: var(--k-paper);
  font-family: var(--k-font-display);
  font-size: clamp(48px, 8vw, 112px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: .92;
  margin: 0;
}

.kreate-static-hero p,
.kreate-static-section p {
  color: rgba(246, 245, 241, .72);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.55;
}

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

.kreate-static-card {
  background: rgba(246, 245, 241, .055);
  border: 1px solid rgba(246, 245, 241, .14);
  border-radius: 18px;
  padding: 22px;
}

.kreate-static-card strong {
  display: block;
  font-size: 18px;
  margin-bottom: 10px;
}

.kreate-static-card span {
  color: rgba(246, 245, 241, .66);
  display: block;
  font-size: 14px;
  line-height: 1.45;
}

.kreate-static-schematic {
  border-radius: 18px;
  min-height: 480px;
  overflow: hidden;
  padding: 24px;
  position: relative;
}

.kreate-static-section {
  padding: 62px 0;
}

.kreate-static-section h2 {
  color: var(--k-paper);
  font-family: var(--k-font-display);
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 400;
  line-height: 1;
  margin: 0 0 18px;
}

.kreate-static-footer {
  border-top: 1px solid rgba(246, 245, 241, .14);
  padding: 48px 0 70px;
}

@media (prefers-reduced-motion: reduce) {
  .kreate-stack-card,
  .kreate-stack-card[data-covered="true"] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 900px) {
  .kreate-section,
  .kreate-case-inner,
  .kreate-stack,
  .kreate-static-nav,
  .kreate-static-footer,
  .kreate-static-hero,
  .kreate-static-section {
    box-sizing: border-box;
    margin-left: 20px;
    margin-right: 20px;
    /* Against the body box, not 100vw: under 1021px the nav becomes a fixed left
       rail and body carries a 128px padding-left to clear it, which 100vw ignores. */
    max-width: calc(100% - 40px);
    min-width: 0;
    width: calc(100% - 40px);
  }

  .kreate-section *,
  .kreate-case-brief * {
    box-sizing: border-box;
    min-width: 0;
    overflow-wrap: break-word;
  }

  .kreate-proof-grid,
  .kreate-card-grid,
  .kreate-brief-grid,
  .kreate-state-grid,
  .kreate-stack-pairs,
  .kreate-static-grid,
  .kreate-static-hero {
    grid-template-columns: 1fr;
  }

  .kreate-section,
  .kreate-case-brief {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .kreate-section h2 {
    font-size: 32px;
  }

  .kreate-live-strip a {
    max-width: 100%;
  }

  .kreate-stack-shell {
    padding-bottom: 32px;
  }

  .kreate-stack-card {
    grid-template-rows: auto minmax(280px, 42vh);
    height: auto;
    margin-bottom: 20px;
    min-height: 0;
    position: relative;
    top: auto;
  }

  .kreate-stack-title {
    font-size: 34px;
  }

  .kreate-stack-dot {
    right: 28px;
    top: 112px;
  }

  .kreate-ba-stage {
    aspect-ratio: 4 / 5;
  }

  .kreate-playable iframe {
    aspect-ratio: 4 / 5;
  }

  .kreate-game-carousel {
    gap: 8px;
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    margin: 34px -24px 0;
  }

  .kreate-game-card {
    border-radius: 20px;
    transform: none;
  }

  .kreate-game-card-header {
    padding: 18px;
  }

  .kreate-game-card iframe {
    height: 480px;
  }

  .kreate-game-side {
    border-radius: 16px;
    height: 430px;
    padding: 0;
    transform: scale(.94);
  }

  .kreate-game-side > * {
    display: none;
  }
}

/* ── Round 3: pill glass links + light Supermemory/pastel product pages ── */

.kreate-stack-link,
.kreate-static-link {
  backdrop-filter: blur(12px) saturate(1.4);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  background: rgba(255, 255, 255, .55);
  border: 1px solid rgba(30, 27, 34, .12);
  border-radius: 999px;
  box-shadow: 0 12px 26px -14px rgba(17, 17, 17, .3);
  display: inline-block;
  padding: 10px 20px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.kreate-stack-link:hover,
.kreate-static-link:hover {
  background: rgba(255, 255, 255, .8);
  box-shadow: 0 18px 34px -16px rgba(17, 17, 17, .35);
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .kreate-stack-link:hover,
  .kreate-static-link:hover {
    transform: none;
  }
}

/* Pastel tint per case on the dark case-study briefs */
.kreate-case-brief.is-g1 { --brief-tint: 255, 203, 65; }
.kreate-case-brief.is-g2 { --brief-tint: 110, 123, 228; }
.kreate-case-brief.is-g3 { --brief-tint: 199, 205, 238; }
.kreate-case-brief.is-g4 { --brief-tint: 116, 76, 74; }

.kreate-case-brief[class*="is-g"] .kreate-brief-card {
  border-color: rgba(var(--brief-tint), .3);
}

.kreate-case-brief[class*="is-g"] .kreate-state-card:last-child {
  background: linear-gradient(165deg, rgba(var(--brief-tint), .16), rgba(var(--brief-tint), .06));
  border-color: rgba(var(--brief-tint), .35);
  border-radius: 18px;
  padding: 18px;
}

/* Light theme for the static product pages (axtria, blueverse) */
.kreate-static-page {
  background: var(--k-paper);
  color: var(--k-ink);
}

.kreate-static-brand,
.kreate-static-hero h1,
.kreate-static-section h2 {
  color: var(--k-ink);
}

.kreate-static-hero p,
.kreate-static-section p {
  color: var(--k-ink-soft);
}

.kreate-static-page .kreate-kicker {
  color: #000fa0;
}

.kreate-static-card {
  background: #ffffff;
  border-color: var(--k-line);
}

.kreate-static-card span {
  color: var(--k-ink-soft);
}

.kreate-static-footer {
  border-top-color: var(--k-line);
}

/* Shared shell for every routed subpage. */
body.kreate-subpage {
  --kreate-route-bg: var(--k-orchid);
  --kreate-route-fg: #000000;
  --kreate-route-muted: rgba(17, 17, 17, .58);
  background: #ffffff;
  color: #000000;
  font-family: var(--k-font-ui);
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
  max-width: 100vw;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.kreate-subpage[data-kreate-accent="peach"] { --kreate-route-bg: var(--k-peach); }
body.kreate-subpage[data-kreate-accent="orchid"] { --kreate-route-bg: var(--k-orchid); }
body.kreate-subpage[data-kreate-accent="orchid-soft"] {
  --kreate-route-bg: linear-gradient(rgba(246, 245, 241, .7), rgba(246, 245, 241, .7)), var(--k-orchid);
}
body.kreate-subpage[data-kreate-accent="meadow"] { --kreate-route-bg: var(--k-meadow); }
body.kreate-subpage[data-kreate-accent="banner"] {
  --kreate-route-bg: linear-gradient(115deg, #ffd9c2 0%, #ffc4d8 30%, #d9c6f5 55%, #c2d3f2 78%, #ffd4b8 100%);
}
body.kreate-subpage[data-kreate-accent="green"] { --kreate-route-bg: #d7ff8c; }
body.kreate-subpage[data-kreate-accent="blue"] {
  --kreate-route-bg: #0015d4;
  --kreate-route-fg: #ffffff;
  --kreate-route-muted: rgba(255, 255, 255, .68);
}
body.kreate-subpage[data-kreate-accent="plum"] {
  --kreate-route-bg: var(--k-plum-dusk);
  --kreate-route-fg: #ffffff;
  --kreate-route-muted: rgba(255, 255, 255, .68);
}

body.kreate-subpage *,
body.kreate-subpage *::before,
body.kreate-subpage *::after {
  box-sizing: border-box;
}

body.kreate-subpage .kreate-legacy-nav,
body.kreate-subpage .kreate-legacy-shell {
  display: none !important;
}

.kreate-subpage-nav {
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(246, 245, 241, .94);
  border-bottom: 1px solid #dddbd2;
  color: #000000;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.kreate-subpage-nav__inner {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  padding: 18px 0;
  width: min(var(--content-max), calc(100% - var(--gutter) * 2));
}

.kreate-subpage-mark {
  color: #0b1015;
  display: inline-flex;
  flex: 0 0 auto;
}

.kreate-subpage-mark svg {
  display: block;
  height: 48px;
  width: 51px;
}

.kreate-subpage-links {
  align-items: center;
  display: flex;
  flex: 1;
  gap: clamp(24px, 3.2vw, 46px);
  justify-content: center;
  margin: 0 clamp(20px, 4vw, 64px);
}

.kreate-subpage-links a {
  color: #292929;
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  transition: color .15s ease;
}

.kreate-subpage-links a:hover,
.kreate-subpage-links a[aria-current="page"] {
  color: #000000;
}

.kreate-subpage-links a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: #0015d4;
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
}

.kreate-subpage-contact {
  align-items: center;
  background: #0015d4;
  border: 1px solid #0015d4;
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  font-size: 18px;
  font-weight: 500;
  height: 48px;
  justify-content: center;
  padding: 0 30px;
  text-decoration: none;
  white-space: nowrap;
}

body.kreate-subpage .kreate-subpage-contact {
  color: #ffffff;
}

.kreate-subpage-contact:hover,
.kreate-subpage-contact:focus {
  background: #000000;
  border-color: #000000;
}

.kreate-subpage-context {
  background: var(--kreate-route-bg);
  color: var(--kreate-route-fg);
}

.kreate-subpage-context__inner {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  min-height: 102px;
  width: min(var(--content-max), calc(100% - var(--gutter) * 2));
}

.kreate-subpage-context p {
  align-items: baseline;
  display: flex;
  gap: 18px;
  margin: 0;
}

.kreate-subpage-context p span,
.kreate-subpage-footer__label {
  color: var(--kreate-route-muted);
  font-family: var(--k-font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.kreate-subpage-context p strong {
  font-family: var(--k-font-display);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 400;
  line-height: 1;
}

.kreate-subpage-context__inner > a {
  color: currentColor;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.kreate-subpage-context__inner > a span {
  display: inline-block;
  margin-left: 4px;
  transition: transform .18s ease;
}

.kreate-subpage-context__inner > a:hover span {
  transform: translate(2px, -2px);
}

.kreate-subpage-footer {
  background: #000000;
  color: #ffffff;
  position: relative;
  z-index: 2;
}

.kreate-subpage-footer__inner {
  margin: 0 auto;
  padding: 100px 72px 90px;
  width: min(1280px, 100%);
}

.kreate-subpage-footer__label {
  align-items: center;
  color: rgba(255, 255, 255, .4);
  display: inline-flex;
  gap: 6px;
  margin: 0;
}

.kreate-subpage-footer__label b {
  color: #66f2ff;
  font-weight: 500;
}

.kreate-subpage-footer h2 {
  color: #ffffff;
  font-family: var(--k-font-display);
  font-size: clamp(38px, 5.4vw, 68px);
  font-weight: 400;
  letter-spacing: -.03em;
  line-height: 1.02;
  margin: 0;
  max-width: 780px;
}

.kreate-subpage-footer__sub {
  color: rgba(255, 255, 255, .55);
  font-size: 16.5px;
  line-height: 1.6;
  margin: 20px 0 0;
  max-width: 560px;
}

.kreate-subpage-footer__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}

.kreate-subpage-button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  font-family: var(--k-font-ui);
  font-size: 18px;
  font-weight: 500;
  height: 48px;
  justify-content: center;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .12s ease;
}

.kreate-subpage-button:active {
  transform: scale(.985);
}

body.kreate-subpage .kreate-subpage-button--primary {
  background: #0015d4;
  border-color: #0015d4;
  color: #ffffff;
  padding: 0 30px;
}

.kreate-subpage-button--primary:hover,
.kreate-subpage-button--primary:focus {
  background: #000000;
  border-color: #000000;
}

body.kreate-subpage .kreate-subpage-button--resume {
  background: #ffffff;
  border-color: #d9d9d9;
  color: #090f1a;
  padding: 0 24px;
  width: 148px;
}

.kreate-subpage-button--resume > span:last-child {
  transition: transform .2s ease;
}

.kreate-subpage-resume-icon {
  border-radius: 999px;
  display: grid;
  height: 34px;
  left: 7px;
  opacity: 0;
  place-items: center;
  position: absolute;
  transform: scale(.84);
  transition: opacity .2s ease, transform .2s ease;
  width: 34px;
}

.kreate-subpage-resume-icon::before {
  border: 2px solid rgba(17, 17, 17, .12);
  border-radius: inherit;
  content: "";
  inset: -4px;
  position: absolute;
}

.kreate-subpage-resume-icon svg {
  border-radius: inherit;
  display: block;
  height: 100%;
  position: relative;
  width: 100%;
}

.kreate-subpage-button--resume:hover .kreate-subpage-resume-icon,
.kreate-subpage-button--resume:focus .kreate-subpage-resume-icon {
  opacity: 1;
  transform: scale(1);
}

.kreate-subpage-button--resume:hover > span:last-child,
.kreate-subpage-button--resume:focus > span:last-child {
  transform: translateX(16px);
}

.kreate-subpage-footer__links {
  border-top: 1px solid rgba(255, 255, 255, .14);
  display: flex;
  gap: 26px;
  margin-top: 56px;
  padding-top: 26px;
}

.kreate-subpage-footer__spacer {
  flex: 1;
}

.kreate-subpage-footer__links a {
  color: rgba(255, 255, 255, .6);
  font-size: 14px;
  text-decoration: none;
}

.kreate-subpage-footer__links a:hover {
  color: #ffffff;
}

.kreate-subpage-footer__fine {
  color: rgba(255, 255, 255, .35);
  font-family: var(--k-font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
}

/* Bring the two static case studies into the homepage editorial system. */
body.kreate-subpage.kreate-static-page,
body.kreate-subpage.kreate-static-page main {
  background: var(--k-paper);
}

body.kreate-subpage .kreate-static-hero {
  gap: clamp(34px, 5vw, 72px);
  grid-template-columns: minmax(0, .88fr) minmax(360px, 1.12fr);
  min-height: 0;
  padding: 96px 0 84px;
}

body.kreate-subpage .kreate-static-hero h1 {
  font-family: var(--k-font-serif);
  /* Libre Baskerville sets far wider than the Space Grotesk this was tuned for.
     At the old clamp, "Questions." alone measured 490px inside a 331px column and
     clipped, because a single word has nowhere to wrap. 4.4vw/60px keeps the
     longest word inside the track; break-word is the backstop for longer ones. */
  font-size: clamp(38px, 4.4vw, 60px);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1;
  overflow-wrap: break-word;
}

body.kreate-subpage .kreate-kicker,
body.kreate-subpage .kreate-case-eyebrow {
  color: #0015d4;
  font-family: var(--k-font-mono);
  font-size: 11px;
}

body.kreate-subpage .kreate-static-schematic,
body.kreate-subpage .kreate-static-card {
  border-radius: 0;
  box-shadow: none;
}

body.kreate-subpage .kreate-static-schematic {
  border: 1px solid #dddbd2;
  min-height: 440px;
}

body.kreate-subpage .kreate-static-section {
  border-top: 1px solid #dddbd2;
  padding: 78px 0;
}

body.kreate-subpage .kreate-static-section h2 {
  font-family: var(--k-font-display);
  font-weight: 400;
  letter-spacing: -.03em;
}

body.kreate-subpage .kreate-static-card {
  border-color: #dddbd2;
  min-height: 170px;
  padding: 26px;
}

/* The injected mission brief becomes a light editorial pause inside legacy dark case studies. */
body.kreate-subpage .kreate-case-brief {
  background: var(--k-paper);
  border-bottom: 1px solid #dddbd2;
  border-top: 1px solid #dddbd2;
  color: #000000;
}

body.kreate-subpage .kreate-case-brief h2,
body.kreate-subpage .kreate-brief-card strong,
body.kreate-subpage .kreate-state-card strong,
body.kreate-subpage .kreate-human-close {
  color: #000000;
}

body.kreate-subpage .kreate-case-summary,
body.kreate-subpage .kreate-brief-card span,
body.kreate-subpage .kreate-state-card p,
body.kreate-subpage .kreate-ba-caption {
  color: #7c7a72;
}

body.kreate-subpage .kreate-brief-card,
body.kreate-subpage .kreate-state-card,
body.kreate-subpage .kreate-ba,
body.kreate-subpage .kreate-artifact {
  border-radius: 0;
}

body.kreate-subpage .kreate-brief-card,
body.kreate-subpage .kreate-state-card {
  background: #f6f5f1;
  border-color: #dddbd2;
  box-shadow: none;
}

body.kreate-subpage .kreate-state-card:last-child,
body.kreate-subpage .kreate-case-brief[class*="is-g"] .kreate-state-card:last-child {
  background: rgba(0, 21, 212, .06);
  border-color: rgba(5, 98, 239, .24);
  border-radius: 0;
}

body.kreate-subpage .kreate-artifact {
  background: #080808;
}

/* Use the homepage type system inside the retained Framer case-study content. */
/* The four Framer exports paint their own 1080px column white from inside their
   generated markup, which is not safely repaintable. Keep those pages white end
   to end rather than leaving a white slab floating on the site's cream. */
body.kreate-framer-page {
  background: #ffffff;
}

body.kreate-framer-page #main {
  background: #ffffff !important;
  font-family: var(--k-font-ui) !important;
}

body.kreate-framer-page #main > div,
body.kreate-framer-page #main [data-framer-name="Service Section"] {
  background-color: #ffffff !important;
}

body.kreate-framer-page #main [data-framer-name="Service Section"] {
  border-top: 1px solid #dddbd2;
}

body.kreate-framer-page #main [data-framer-name="Service Section"] :is(h1, h2, h3, h4, h5, h6),
body.kreate-framer-page #main [data-framer-name="Service Section"] :is(h1, h2, h3, h4, h5, h6) * {
  color: #000000 !important;
}

body.kreate-framer-page #main [data-framer-name="Service Section"] p,
body.kreate-framer-page #main [data-framer-name="Service Section"] p * {
  color: #292929 !important;
}

body.kreate-framer-page #main :is(p, a, li, button, input, textarea),
body.kreate-framer-page #main :is(p, a, li, button, input, textarea) * {
  font-family: var(--k-font-ui) !important;
}

body.kreate-framer-page #main :is(h1, h2, h3, h4, h5, h6),
body.kreate-framer-page #main :is(h1, h2, h3, h4, h5, h6) * {
  font-family: var(--k-font-display) !important;
}

body.kreate-framer-page #main [data-framer-name*="Label" i],
body.kreate-framer-page #main [data-framer-name*="Label" i] * {
  font-family: var(--k-font-mono) !important;
}

/* Light editorial canvas for the legacy Framer case studies. */
body.kreate-framer-case [data-framer-root],
body.kreate-framer-case [data-framer-name="Project Details Section"],
body.kreate-framer-case [data-framer-name="About Us Section"],
body.kreate-framer-case [data-framer-name="More"] {
  background-color: #ffffff !important;
  --token-99255068-bf86-40ad-81c2-6c5e7e7f51c2: #000000;
}

body.kreate-framer-case [data-framer-name="About Us Section"] {
  border-top: 1px solid #dddbd2;
}

body.kreate-framer-case [data-framer-name="About Us Section"] .framer-styles-preset-zoh0xk,
body.kreate-framer-case [data-framer-name="About Us Section"] .framer-styles-preset-zoh0xk * {
  color: #0015d4 !important;
  font-family: var(--k-font-mono) !important;
}

body.kreate-framer-case [data-framer-name="About Us Section"] :is(.framer-styles-preset-175p0vs, .framer-styles-preset-13rb6xr),
body.kreate-framer-case [data-framer-name="About Us Section"] :is(.framer-styles-preset-175p0vs, .framer-styles-preset-13rb6xr) * {
  color: #000000 !important;
}

body.kreate-framer-case [data-framer-name="About Us Section"] .framer-styles-preset-1p3o8pa,
body.kreate-framer-case [data-framer-name="About Us Section"] .framer-styles-preset-1p3o8pa * {
  color: #292929 !important;
}

body.kreate-framer-case [data-framer-name="More"] :is(h4, h5, h6, p),
body.kreate-framer-case [data-framer-name="More"] :is(h4, h5, h6, p) * {
  color: #000000 !important;
}

body.kreate-subpage[data-kreate-page="landing"] .hero {
  min-height: calc(100vh - 188px);
}

body.kreate-subpage[data-kreate-page="landing"] .display {
  font-family: var(--k-font-serif);
  font-weight: 400;
}

body.kreate-subpage[data-kreate-page="landing"] .tagline {
  font-family: var(--k-font-display);
  font-weight: 400;
}

body.kreate-subpage[data-kreate-page="landing"] .btn {
  border-radius: 999px;
  font-family: var(--k-font-ui);
  font-size: 18px;
  font-weight: 500;
  height: 48px;
  padding: 0 26px;
}

body.kreate-subpage[data-kreate-page="landing"] .btn-primary {
  background: #0015d4;
  color: #ffffff;
}

body.kreate-subpage[data-kreate-page="landing"] .btn-ghost {
  background: #ffffff;
  border-color: #d9d9d9;
  color: #090f1a;
}

@media (max-width: 1020px) {
  body.kreate-subpage {
    padding-left: 128px;
  }

  .kreate-subpage-nav {
    backdrop-filter: blur(20px) saturate(1.15);
    -webkit-backdrop-filter: blur(20px) saturate(1.15);
    background: rgba(255, 255, 255, .74);
    border: 1px solid rgba(11, 16, 21, .1);
    border-radius: 8px;
    bottom: 12px;
    box-shadow: 0 12px 32px rgba(11, 16, 21, .1);
    height: calc(100dvh - 24px);
    left: 12px;
    overflow-y: auto;
    position: fixed;
    top: 12px;
    width: 104px;
  }

  .kreate-subpage-nav__inner {
    align-items: center;
    flex-direction: column;
    gap: 18px;
    justify-content: flex-start;
    margin: 0;
    min-height: 100%;
    padding: 16px 10px;
    width: 100%;
  }

  .kreate-subpage-mark {
    background: rgba(255, 255, 255, .56);
    border-radius: 7px 7px 0 0;
    justify-content: center;
    padding: 0 0 14px;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 2;
  }

  .kreate-subpage-mark svg {
    height: 48px;
    width: 51px;
  }

  .kreate-subpage-links {
    flex: none;
    flex-direction: column;
    gap: 6px;
    justify-content: flex-start;
    margin: auto 0;
    width: 100%;
  }

  .kreate-subpage-links a {
    align-items: center;
    border-left: 2px solid transparent;
    display: flex;
    justify-content: center;
    min-height: 48px;
    padding: 0 6px;
    text-align: center;
    width: 100%;
  }

  .kreate-subpage-links a:hover,
  .kreate-subpage-links a:focus-visible,
  .kreate-subpage-links a[aria-current="page"] {
    background: rgba(5, 98, 239, .06);
    border-left-color: #0015d4;
    color: #000000;
    outline: none;
    text-decoration: none;
  }

  .kreate-subpage-contact {
    display: none;
  }

  .kreate-subpage-context__inner {
    width: calc(100% - 64px);
  }

  .kreate-subpage-footer__inner {
    padding-left: 32px;
    padding-right: 32px;
  }

  body.kreate-subpage .kreate-static-hero {
    grid-template-columns: 1fr;
    padding: 64px 0 58px;
  }

  body.kreate-subpage .kreate-static-hero h1 {
    font-size: 58px;
  }

  body.kreate-subpage .kreate-static-schematic {
    min-height: 320px;
    padding: 14px;
  }

  body.kreate-subpage .kreate-static-section {
    padding: 58px 0;
  }
}

@media (max-width: 760px) {
  .kreate-subpage-context__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    min-height: 132px;
    padding: 24px 0;
  }

  .kreate-subpage-context p {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .kreate-subpage-context p strong {
    font-size: 30px;
  }
}

@media (max-width: 560px) {
  body.kreate-subpage {
    padding-left: 0;
    padding-top: 64px;
  }

  .kreate-subpage-nav {
    border: 0;
    border-radius: 0;
    bottom: auto;
    box-shadow: 0 1px 0 #dddbd2, 0 8px 24px rgba(11, 16, 21, .08);
    height: 64px;
    left: 0;
    overflow: visible;
    right: 0;
    top: 0;
    width: 100%;
  }

  .kreate-subpage-nav__inner {
    flex-direction: row;
    gap: 12px;
    height: 100%;
    justify-content: space-between;
    min-height: 0;
    padding: 8px;
    width: 100%;
  }

  .kreate-subpage-mark {
    background: transparent;
    border-radius: 0;
    padding: 0;
    position: static;
    width: auto;
  }

  .kreate-subpage-mark svg {
    height: auto;
    width: 42px;
  }

  .kreate-subpage-links {
    display: none;
  }

  .kreate-subpage-contact {
    display: inline-flex;
    font-size: 15px;
    height: 48px;
    padding: 0 18px;
  }

  .kreate-subpage-context__inner {
    width: calc(100% - 36px);
  }

  .kreate-subpage-footer__inner {
    padding: 72px 24px 56px;
  }

  .kreate-subpage-footer h2 {
    font-size: 42px;
  }

  .kreate-subpage-footer__links {
    flex-wrap: wrap;
    gap: 16px 22px;
    margin-top: 48px;
  }

  .kreate-subpage-footer__spacer {
    display: none;
  }

  .kreate-subpage-footer__fine {
    flex-basis: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kreate-subpage-context__inner > a span {
    transition: none;
  }
}

/* Site gutter step-down on narrow viewports */
@media (max-width: 560px) { :root { --gutter: 20px; } }
