:root {
  --ink: #111114;
  --muted: #696b72;
  --line: rgba(17, 17, 20, 0.09);
  --accent: #f65a55;
  --accent-dark: #d94a49;
  --paper: #ffffff;
  --soft: #f7f6f3;
  --shadow: 0 24px 70px rgba(17, 17, 20, 0.09);
  --wrap: 100vw;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #f4f3f0;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(246, 90, 85, 0.08), transparent 30vw),
    linear-gradient(180deg, #fbfaf8, #f4f3f0 42%, #ffffff);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  --mx: 50vw;
  --my: 40vh;
}

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

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

.page {
  position: relative;
  width: var(--wrap);
  margin: 0;
  overflow: hidden;
  background: var(--paper);
  border: 0;
  box-shadow: none;
}

.cursor-glow,
.dust-field {
  position: fixed;
  inset: 0;
  z-index: 12;
  pointer-events: none;
}

.cursor-glow {
  background: radial-gradient(circle at var(--mx) var(--my), rgba(246, 90, 85, 0.18), rgba(246, 90, 85, 0.06) 9rem, transparent 21rem);
  mix-blend-mode: multiply;
  opacity: 0.75;
}

.dust-field {
  background:
    radial-gradient(circle, rgba(246, 90, 85, 0.48) 0 1.5px, transparent 2px) 7vw 18vh / 74px 56px,
    radial-gradient(circle, rgba(17, 17, 20, 0.18) 0 1px, transparent 1.5px) 31vw 42vh / 92px 80px,
    radial-gradient(circle, rgba(246, 90, 85, 0.32) 0 1px, transparent 1.5px) 72vw 22vh / 68px 62px;
  opacity: 0.36;
  animation: driftDust 18s linear infinite;
  mask-image: linear-gradient(180deg, #000, transparent 86%);
}

@keyframes driftDust {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-42px, 36px, 0); }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(170px, 240px) 1fr auto;
  align-items: center;
  gap: clamp(20px, 4vw, 60px);
  min-height: clamp(76px, 7vw, 98px);
  padding: 0 clamp(18px, 3.2vw, 48px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: clamp(168px, 18vw, 240px);
  min-width: 0;
}

.brand img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(17, 17, 20, 0.08));
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 48px);
  color: #18191d;
  font-size: clamp(0.72rem, 0.8vw, 0.92rem);
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav a {
  position: relative;
  padding: 10px 0;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta,
.btn,
.footer-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 44px;
  border-radius: 7px;
  font-size: clamp(0.74rem, 0.8vw, 0.9rem);
  font-weight: 850;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-cta,
.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #ff726b, var(--accent));
  box-shadow: 0 16px 30px rgba(246, 90, 85, 0.24);
}

.header-cta {
  min-width: 168px;
  padding: 0 22px;
}

.header-cta:hover,
.btn:hover,
.footer-button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 20px 42px rgba(246, 90, 85, 0.28);
}

.tagline {
  position: relative;
  display: grid;
  grid-template-columns: minmax(110px, 1fr) auto auto auto minmax(110px, 1fr);
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  min-height: clamp(64px, 6.6vw, 92px);
  padding: 0 clamp(16px, 3.2vw, 46px);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 50%, rgba(246, 90, 85, 0.32) 0 1.5px, transparent 2px) 0 0 / 9px 9px,
    linear-gradient(90deg, #fff, #fff 62%, #fff7f6);
}

.tagline::after {
  content: "";
  position: absolute;
  right: -60px;
  width: min(30vw, 390px);
  height: 100%;
  background: radial-gradient(circle, rgba(246, 90, 85, 0.55) 0 1.5px, transparent 2px) 0 0 / 9px 9px;
  mask-image: linear-gradient(90deg, transparent, #000 22%, #000 68%, transparent);
  opacity: 0.6;
  animation: dustSweep 8s ease-in-out infinite alternate;
}

@keyframes dustSweep {
  from { transform: translateX(0); opacity: 0.46; }
  to { transform: translateX(-46px); opacity: 0.78; }
}

.tagline span {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(246, 90, 85, 0.65), transparent);
}

.tagline b,
.section h2 span {
  position: relative;
  z-index: 1;
  color: var(--accent-dark);
}

.tagline b {
  display: grid;
  place-items: center;
  width: clamp(18px, 2vw, 26px);
  height: clamp(18px, 2vw, 26px);
  color: #fff;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 8px 18px rgba(246, 90, 85, 0.28);
  font-size: 0;
}

.tagline b::before,
.tagline b::after {
  content: "";
  position: absolute;
  background: #fff;
  border-radius: 999px;
}

.tagline b::before {
  width: 54%;
  height: 2px;
}

.tagline b::after {
  width: 2px;
  height: 54%;
}

.tagline p {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: clamp(8px, 1.4vw, 18px);
  margin: 0;
  color: var(--accent-dark);
  font-family: "Didot", "Bodoni 72", Georgia, "Times New Roman", serif;
  font-size: clamp(1.42rem, 2.8vw, 2.65rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: lowercase;
  white-space: nowrap;
}

.tagline small {
  color: inherit;
  font-family: inherit;
  font-size: 0.76em;
  font-weight: inherit;
  letter-spacing: 0.02em;
  text-transform: lowercase;
  transform: translateY(-0.12em);
}

.tagline strong {
  color: #25272d;
  font-family: inherit;
  font-weight: inherit;
  letter-spacing: 0.02em;
}

.tagline em {
  color: var(--accent-dark);
  font-family: inherit;
  font-size: 1em;
  font-weight: inherit;
  letter-spacing: 0.02em;
  line-height: 0.95;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(330px, 0.78fr) minmax(560px, 1.22fr);
  gap: clamp(24px, 3.4vw, 52px);
  align-items: center;
  min-height: clamp(520px, 54vw, 660px);
  padding: clamp(42px, 6vw, 78px) clamp(18px, 3.4vw, 52px) clamp(36px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  right: -8%;
  top: 30%;
  width: min(38vw, 430px);
  height: min(18vw, 190px);
  background: radial-gradient(circle, rgba(246, 90, 85, 0.38) 0 2px, transparent 3px);
  background-size: 12px 12px;
  opacity: 0.42;
  transform: rotate(4deg);
}

.hero-copy,
.hero-frame {
  position: relative;
  z-index: 1;
}

.hero h1 {
  max-width: 560px;
  margin: 0;
  font-size: clamp(3.1rem, 5.4vw, 6.35rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.92;
}

.hero h1 strong {
  display: block;
  color: var(--accent-dark);
}

.hero-copy > p {
  max-width: 430px;
  margin: clamp(18px, 2.8vw, 32px) 0 0;
  color: #292b31;
  font-size: clamp(1rem, 1.25vw, 1.22rem);
  font-weight: 650;
  line-height: 1.75;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(24px, 4vw, 44px);
}

.btn {
  min-width: 166px;
  padding: 0 20px;
}

.btn-secondary {
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 12px 26px rgba(17, 17, 20, 0.07);
}

.btn i {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: #fff;
  background: var(--ink);
  font-size: 0.56rem;
  font-style: normal;
}

.hero-frame {
  overflow: hidden;
  justify-self: end;
  width: min(100%, 720px);
  margin: 0;
  border-radius: 18px;
  filter: drop-shadow(0 28px 48px rgba(17, 17, 20, 0.18));
}

.hero-frame::after,
.step-card::after,
.style-card::after,
.scene-row article::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 24%, rgba(255, 255, 255, 0.44) 42%, transparent 62%);
  transform: translateX(-130%);
  transition: transform 700ms ease;
  pointer-events: none;
}

.hero-frame:hover::after,
.step-card:hover::after,
.style-card:hover::after,
.scene-row article:hover::after {
  transform: translateX(130%);
}

.hero-frame img,
.identity-board,
.intel-board,
.magic img {
  width: 100%;
  border-radius: inherit;
}

.hero-frame img {
  height: auto;
  aspect-ratio: 320 / 202;
  object-fit: cover;
}

.hero-storyboard {
  overflow: visible;
  filter: drop-shadow(0 28px 48px rgba(17, 17, 20, 0.18));
}

.hero-board {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(17, 17, 20, 0.12);
  background: #151519;
  cursor: ew-resize;
  touch-action: pan-y;
  isolation: isolate;
}

.hero-board::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--hero-reveal, 56%) 50%, rgba(246, 90, 85, 0.22), transparent 14rem),
    linear-gradient(90deg, rgba(17, 17, 20, 0.18), transparent 34%, transparent 68%, rgba(246, 90, 85, 0.18));
  mix-blend-mode: screen;
}

.hero-board-base,
.hero-board-style {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 0;
  object-fit: cover;
}

.hero-board-style {
  position: absolute;
  inset: 0;
  height: 100%;
  clip-path: inset(0 calc(100% - var(--hero-reveal, 56%)) 0 0);
}

.hero-board-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--hero-reveal, 56%);
  z-index: 5;
  width: 4px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(246, 90, 85, 0.8), 0 0 24px rgba(246, 90, 85, 0.82);
  transform: translateX(-50%);
}

.hero-board-handle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 6px rgba(246, 90, 85, 0.18);
}

.hero-board-tag {
  position: absolute;
  top: 14px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  color: #fff;
  background: rgba(17, 17, 20, 0.56);
  backdrop-filter: blur(10px);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-board-tag-live {
  left: 14px;
}

.hero-board-tag-style {
  right: 14px;
  background: rgba(246, 90, 85, 0.82);
}

.hero-style-controls {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.style-drag {
  position: relative;
  display: grid;
  grid-template-columns: minmax(120px, 0.42fr) 1fr;
  align-items: center;
  gap: 12px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(17, 17, 20, 0.1);
  border-radius: 999px;
  color: #2a2c31;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 28px rgba(17, 17, 20, 0.08);
  font: inherit;
  cursor: ew-resize;
  touch-action: pan-y;
}

.style-drag span {
  position: relative;
  z-index: 1;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
}

.style-drag i {
  position: relative;
  display: block;
  height: 8px;
  border-radius: 999px;
  background: rgba(17, 17, 20, 0.1);
}

.style-drag i::before {
  content: "";
  position: absolute;
  inset: 0;
  width: var(--style-fill, 50%);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), #ffaca4);
}

.style-drag i::after {
  content: "↔";
  position: absolute;
  top: 50%;
  left: var(--style-fill, 50%);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 10px 24px rgba(246, 90, 85, 0.32), 0 0 0 5px rgba(246, 90, 85, 0.16);
  font-size: 0.92rem;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
  transform: translate(-50%, -50%);
}

.style-drag::after {
  content: "drag";
  position: absolute;
  right: 18px;
  top: 50%;
  color: rgba(17, 17, 20, 0.42);
  font-size: 0.56rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transform: translateY(-50%);
  pointer-events: none;
}

.style-drag.is-active {
  border-color: rgba(246, 90, 85, 0.42);
  color: var(--accent-dark);
}

.section {
  border-bottom: 1px solid var(--line);
  background: #fff;
  padding: clamp(44px, 6vw, 78px) clamp(18px, 3.4vw, 52px);
}

.section h2 {
  margin: 0;
  color: #202125;
  font-size: clamp(2rem, 3.5vw, 4rem);
  font-weight: 850;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.how h2,
.styles h2,
.stories h2,
.magic h2 {
  margin-bottom: clamp(24px, 4vw, 42px);
}

.step-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(150px, 1fr));
  gap: clamp(14px, 2vw, 28px);
  align-items: stretch;
}

.step-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(17, 17, 20, 0.06);
}

.tilt-card {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(0);
  transform-style: preserve-3d;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
  will-change: transform;
}

.tilt-card:hover {
  box-shadow: 0 30px 70px rgba(17, 17, 20, 0.15);
  filter: saturate(1.06);
}

.step-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.step-card h3 {
  margin: 18px 18px 0;
  font-size: clamp(1rem, 1.1vw, 1.25rem);
  font-weight: 900;
  letter-spacing: -0.03em;
}

.step-card p {
  margin: 9px 18px 20px;
  color: #42454c;
  font-size: 0.92rem;
  font-weight: 650;
}

.arrow {
  display: none;
}

.style-collage {
  display: grid;
  grid-template-columns: 1.15fr 1.3fr 1.05fr 0.46fr;
  grid-template-rows: repeat(2, minmax(160px, 1fr));
  gap: clamp(10px, 1.3vw, 18px);
  height: clamp(360px, 42vw, 520px);
}

.style-card,
.more-style,
.scene-row article,
.scene-row aside {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.style-card {
  background: #111;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.style-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}

.style-card:hover img {
  transform: scale(1.05);
}

.style-card span {
  position: absolute;
  left: 18px;
  top: 16px;
  display: inline-flex;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 850;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.42);
  text-transform: uppercase;
  transition: transform 250ms ease, background 250ms ease, padding 250ms ease;
}

.style-card:hover span {
  transform: translateY(-3px);
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(246, 90, 85, 0.82);
}

.painterly {
  grid-row: 1 / span 2;
}

.anime {
  grid-column: 2;
}

.cinematic {
  grid-column: 3;
}

.comic {
  grid-column: 2;
}

.pixar {
  grid-column: 3;
}

.fantasy {
  grid-column: 4;
}

.more-style {
  grid-column: 4;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f7f7f7;
  text-align: center;
}

.more-style strong {
  font-size: clamp(1.2rem, 1.8vw, 1.8rem);
  line-height: 1.05;
}

.more-style i {
  margin: 26px 0 12px;
  color: var(--accent-dark);
  font-size: 2rem;
  font-style: normal;
}

.more-style p {
  margin: 0;
  color: #45474d;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.25;
}

.consistency,
.intelligence {
  display: grid;
  grid-template-columns: minmax(220px, 0.46fr) minmax(420px, 1fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}

.side-copy h2 {
  margin: 0;
  color: #141417;
  font-size: clamp(2.15rem, 4vw, 5rem);
  font-weight: 880;
  letter-spacing: -0.065em;
  line-height: 0.92;
}

.side-copy h2 span {
  display: block;
  color: var(--accent-dark);
}

.side-copy p {
  max-width: 340px;
  margin: 22px 0 0;
  color: #42454c;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.7;
}

.identity-board,
.intel-board {
  border-radius: 16px;
  box-shadow: 0 22px 44px rgba(17, 17, 20, 0.13);
}

.scene-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(130px, 1fr)) minmax(140px, 0.8fr);
  gap: 8px;
}

.scene-row article {
  min-height: 112px;
  background: #111;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.scene-row article:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 45px rgba(17, 17, 20, 0.16);
}

.scene-row article img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scene-row article span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  display: block;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.65);
  text-transform: uppercase;
}

.scene-row aside {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: var(--accent-dark);
  background: #faf6f5;
  font-size: 0.9rem;
  font-weight: 850;
  line-height: 1.2;
  text-transform: uppercase;
}

.scene-row aside b {
  font-size: 1.6rem;
}

.intel-copy h2 {
  font-size: clamp(2rem, 3.5vw, 4.5rem);
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.intel-copy small {
  display: block;
  margin-top: 24px;
  font-size: 0.84rem;
  font-weight: 850;
  text-transform: uppercase;
}

.intel-copy img {
  width: min(100%, 180px);
  margin-top: 14px;
  border-radius: 8px;
  box-shadow: 0 16px 32px rgba(17, 17, 20, 0.1);
}

.magic-lab {
  display: grid;
  gap: clamp(16px, 2vw, 26px);
}

.magic-reveal {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 20px 44px rgba(17, 17, 20, 0.12);
  cursor: ew-resize;
  touch-action: pan-y;
  background: #111;
  isolation: isolate;
  aspect-ratio: 16 / 9;
  min-height: 260px;
  border: 1px solid rgba(17, 17, 20, 0.08);
  transform-style: preserve-3d;
}

.magic-reveal-large {
  aspect-ratio: 2.18 / 1;
  min-height: clamp(360px, 46vw, 620px);
}

.magic-reveal::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(17, 17, 20, 0.34), transparent 28%, transparent 70%, rgba(246, 90, 85, 0.22)),
    radial-gradient(circle at calc(var(--reveal-percent, 52%) * 1) 48%, rgba(255, 255, 255, 0.46), transparent 14rem);
  mix-blend-mode: screen;
  opacity: 0.42;
}

.magic-reveal::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--reveal-percent, 58%) - 8rem);
  z-index: 3;
  width: 16rem;
  pointer-events: none;
  background:
    radial-gradient(circle, rgba(246, 90, 85, 0.9) 0 1.6px, transparent 2.2px) 0 0 / 13px 13px,
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 34%, #000 62%, transparent);
  opacity: 0.58;
  animation: magicSpark 3.8s ease-in-out infinite alternate;
}

@keyframes magicSpark {
  from { transform: translateX(-14px) scaleY(0.94); opacity: 0.38; }
  to { transform: translateX(18px) scaleY(1.04); opacity: 0.72; }
}

.magic-reveal img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.magic-before {
  filter: contrast(1.03) brightness(0.96);
  transform: scale(1.015);
}

.magic-after {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  clip-path: inset(0 calc(100% - var(--reveal-percent, 58%)) 0 0);
  filter: saturate(1.16) contrast(1.03);
}

.magic-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--reveal-percent, 58%);
  z-index: 5;
  width: 4px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(246, 90, 85, 0.8), 0 0 26px rgba(246, 90, 85, 0.8);
  transform: translateX(-50%);
}

.magic-handle::after {
  content: "drag";
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: #fff;
  background: var(--accent);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: translate(-50%, -50%);
  box-shadow: 0 14px 30px rgba(246, 90, 85, 0.34);
}

.magic-handle::before {
  content: "‹  ›";
  position: absolute;
  top: calc(50% + 35px);
  left: 50%;
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-shadow: 0 3px 12px rgba(17, 17, 20, 0.45);
  transform: translateX(-50%);
}

.magic-label {
  position: absolute;
  top: 18px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  color: #fff;
  background: rgba(17, 17, 20, 0.5);
  backdrop-filter: blur(10px);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.magic-label-before {
  left: 18px;
}

.magic-label-after {
  right: 18px;
  background: rgba(246, 90, 85, 0.78);
}

.magic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 26px);
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 680ms ease, transform 680ms ease;
}

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

.footer-cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 0.84fr) minmax(420px, 1fr);
  gap: clamp(24px, 4vw, 58px);
  align-items: start;
  padding: clamp(30px, 4.5vw, 54px) clamp(18px, 3.4vw, 52px);
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 84%, rgba(246, 90, 85, 0.22) 0 1.5px, transparent 2px) 0 0 / 8px 8px,
    linear-gradient(90deg, #17171a 0%, #232226 43%, #fff4f1 43.2%, #fff 100%);
}

.footer-cta::before {
  content: "";
  position: absolute;
  left: -4%;
  top: 46%;
  width: min(60vw, 660px);
  height: 76px;
  border-top: 4px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  box-shadow: 0 -10px 28px rgba(255, 255, 255, 0.75);
  transform: rotate(-5deg);
  animation: footerWave 7s ease-in-out infinite alternate;
}

@keyframes footerWave {
  from { transform: rotate(-5deg) translateX(-18px); }
  to { transform: rotate(-2deg) translateX(28px); }
}

.footer-brand,
.footer-links,
.footer-bottom {
  position: relative;
  z-index: 1;
}

.footer-cta h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 3.35vw, 4rem);
  font-weight: 850;
  letter-spacing: -0.045em;
  line-height: 0.92;
}

.footer-cta em {
  color: #ff746e;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.footer-brand p {
  max-width: 390px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(0.86rem, 0.92vw, 0.98rem);
  font-weight: 650;
  line-height: 1.55;
}

.footer-button {
  width: fit-content;
  min-width: 250px;
  margin-top: 18px;
  padding: 0 22px;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 18px 34px rgba(246, 90, 85, 0.2);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 54px);
  align-self: stretch;
}

.footer-links h3 {
  margin: 0 0 18px;
  color: #19191d;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-links a {
  display: block;
  width: fit-content;
  margin-top: 12px;
  color: #56585f;
  font-size: clamp(0.9rem, 1vw, 1.02rem);
  font-weight: 760;
  transition: color 180ms ease, transform 180ms ease;
}

.footer-links a:hover {
  color: var(--accent-dark);
  transform: translateX(4px);
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid rgba(17, 17, 20, 0.1);
  color: #6d6f75;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-page {
  min-height: 100vh;
  padding: clamp(28px, 5vw, 70px);
  background:
    radial-gradient(circle at 12% 18%, rgba(246, 90, 85, 0.12), transparent 30vw),
    linear-gradient(135deg, #fff, #f8f6f3);
}

.legal-back {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--accent-dark);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-card {
  max-width: 880px;
  padding: clamp(30px, 5vw, 64px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.legal-kicker {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.legal-card h1 {
  margin: 0 0 24px;
  color: var(--ink);
  font-size: clamp(2.7rem, 7vw, 5.4rem);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.92;
}

.legal-card h2 {
  margin: 34px 0 8px;
  color: var(--ink);
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  font-weight: 880;
  letter-spacing: -0.035em;
}

.legal-card p {
  max-width: 720px;
  margin: 0;
  color: #44464d;
  font-size: clamp(0.98rem, 1.1vw, 1.12rem);
  font-weight: 620;
  line-height: 1.78;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .site-nav {
    display: none;
  }

  .hero,
  .consistency,
  .intelligence,
  .footer-cta {
    grid-template-columns: 1fr;
  }

  .hero-frame {
    justify-self: start;
    width: min(100%, 680px);
  }

  .step-row,
  .scene-row {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
  }

  .step-card,
  .scene-row article,
  .scene-row aside {
    min-width: 220px;
    scroll-snap-align: start;
  }

  .style-collage {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    height: auto;
    min-height: 0;
  }

  .painterly,
  .anime,
  .cinematic,
  .comic,
  .pixar,
  .fantasy,
  .more-style {
    grid-column: auto;
    grid-row: auto;
    min-height: 220px;
  }

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

  .magic-reveal-large {
    aspect-ratio: 16 / 10;
    min-height: 340px;
  }
}

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

  .cursor-glow,
  .dust-field {
    display: none;
  }

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

@media (max-width: 640px) {
  :root {
    --wrap: 100vw;
  }

  body {
    font-size: 15px;
  }

  .page {
    margin: 0;
    border-width: 0;
    box-shadow: none;
  }

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

  .site-header {
    position: sticky;
    grid-template-columns: minmax(116px, 1fr) auto;
    gap: 10px;
    min-height: 66px;
    padding: 0 14px;
  }

  .brand {
    width: clamp(118px, 38vw, 150px);
  }

  .header-cta {
    min-width: 0;
    min-height: 36px;
    padding: 0 10px;
    font-size: 0.58rem;
    white-space: nowrap;
  }

  .header-cta b,
  .btn b,
  .footer-button b {
    display: none;
  }

  .tagline {
    grid-template-columns: 1fr auto 1fr;
    gap: 10px;
    min-height: 66px;
    padding: 0 14px;
  }

  .tagline b {
    display: none;
  }

  .tagline p {
    display: grid;
    gap: 1px 8px;
    font-size: clamp(1rem, 5vw, 1.28rem);
    letter-spacing: 0.06em;
    text-align: center;
    white-space: normal;
  }

  .tagline small {
    font-size: 0.48em;
    transform: none;
  }

  .tagline strong {
    letter-spacing: 0.13em;
  }

  .tagline em {
    display: block;
    margin: 2px 0 0;
    font-size: 1.18em;
  }

  .hero {
    gap: 26px;
    min-height: auto;
    padding: 34px 16px 34px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.35rem, 11.5vw, 3.45rem);
    letter-spacing: -0.03em;
  }

  .hero-copy > p {
    margin-top: 18px;
    font-size: 0.98rem;
    line-height: 1.62;
  }

  .hero-frame {
    width: 100%;
    filter: drop-shadow(0 18px 30px rgba(17, 17, 20, 0.14));
  }

  .hero-board {
    border-radius: 12px;
  }

  .hero-board-tag {
    top: 10px;
    min-height: 26px;
    padding: 0 8px;
    font-size: 0.55rem;
    letter-spacing: 0.06em;
  }

  .hero-board-tag-live {
    left: 10px;
  }

  .hero-board-tag-style {
    right: 10px;
  }

  .hero-style-controls {
    gap: 8px;
    margin-top: 10px;
  }

  .style-drag {
    grid-template-columns: 1fr;
    gap: 7px;
    min-height: 54px;
    padding: 9px 48px 9px 12px;
  }

  .style-drag i::after {
    width: 30px;
    height: 30px;
    font-size: 0.82rem;
  }

  .style-drag::after {
    right: 12px;
    font-size: 0.52rem;
  }

  .actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 22px;
  }

  .btn {
    width: 100%;
    min-height: 42px;
  }

  .section {
    padding: 34px 16px;
  }

  .section h2,
  .side-copy h2,
  .intel-copy h2 {
    font-size: clamp(2rem, 10vw, 3rem);
    letter-spacing: -0.052em;
  }

  .step-row,
  .scene-row {
    gap: 12px;
    margin-inline: -16px;
    padding-inline: 16px;
    scrollbar-width: none;
  }

  .step-row::-webkit-scrollbar,
  .scene-row::-webkit-scrollbar {
    display: none;
  }

  .step-card,
  .scene-row article,
  .scene-row aside {
    min-width: min(76vw, 280px);
  }

  .style-collage {
    grid-template-columns: 1fr;
    gap: 12px;
  }

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

  .magic-reveal,
  .magic-reveal-large {
    min-height: 230px;
    border-radius: 10px;
  }

  .magic-handle::after {
    width: 44px;
    height: 44px;
    font-size: 0.54rem;
  }

  .magic-label {
    top: 12px;
    min-height: 28px;
    padding: 0 9px;
    font-size: 0.6rem;
  }

  .magic-label-before {
    left: 12px;
  }

  .magic-label-after {
    right: 12px;
  }

  .painterly,
  .anime,
  .cinematic,
  .comic,
  .pixar,
  .fantasy,
  .more-style {
    min-height: 240px;
  }

  .footer-cta {
    gap: 24px;
    padding: 0 16px 28px;
    background: #fff;
  }

  .footer-cta::before {
    display: none;
  }

  .footer-brand {
    margin: 0 -16px;
    padding: 28px 16px 24px;
    background:
      radial-gradient(circle at 10% 84%, rgba(246, 90, 85, 0.18) 0 1.5px, transparent 2px) 0 0 / 8px 8px,
      linear-gradient(180deg, #17171a, #232226);
  }

  .footer-cta h2 {
    font-size: clamp(2rem, 11vw, 3.35rem);
  }

  .footer-brand p {
    max-width: 100%;
    margin-top: 12px;
    font-size: 0.88rem;
    line-height: 1.48;
  }

  .footer-button {
    width: 100%;
    min-width: 0;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 2px;
  }

  .footer-links h3 {
    margin-bottom: 10px;
  }

  .footer-links a {
    margin-top: 10px;
    font-size: 0.98rem;
  }

  .footer-bottom {
    display: grid;
    justify-content: start;
    gap: 9px;
    padding-top: 22px;
    font-size: 0.68rem;
    line-height: 1.45;
  }
}

@media (max-width: 390px) {
  .header-cta {
    max-width: 116px;
    font-size: 0.54rem;
  }

  .hero h1 {
    font-size: clamp(2.18rem, 10.8vw, 3rem);
  }

  .style-drag span {
    font-size: 0.62rem;
  }

  .style-drag {
    padding-right: 44px;
  }
}
