* {
  box-sizing: border-box;
}

:root {
  --ink: #111716;
  --paper: #f5f1e8;
  --paper-soft: #ebe3d4;
  --muted: #6f786f;
  --line: rgba(17, 23, 22, 0.14);
  --line-light: rgba(245, 241, 232, 0.18);
  --charcoal: #111716;
  --teal: #196b6a;
  --teal-bright: #5fc8bd;
  --coral: #de715f;
  --moss: #75855a;
  --gold: #c7a65a;
  --shadow: 0 28px 80px rgba(17, 23, 22, 0.24);
  --radius: 8px;
  --nav-height: 72px;
  --scroll-progress: 0;
  color-scheme: light;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  letter-spacing: 0;
}

body.demo-page {
  background: var(--charcoal);
  color: var(--paper);
}

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

a {
  color: inherit;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  height: 3px;
  background: transparent;
}

.scroll-progress span {
  display: block;
  height: 100%;
  width: calc(var(--scroll-progress) * 100%);
  background: linear-gradient(90deg, var(--teal-bright), var(--coral), var(--gold));
  transform-origin: left;
}

.studio-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 clamp(18px, 4vw, 56px);
  color: var(--paper);
  background: rgba(17, 23, 22, 0.68);
  border-bottom: 1px solid rgba(245, 241, 232, 0.12);
  backdrop-filter: blur(18px);
}

.studio-nav.light {
  color: var(--ink);
  background: rgba(245, 241, 232, 0.78);
  border-bottom-color: var(--line);
}

.studio-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.studio-mark i {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(95, 200, 189, 0.95), rgba(222, 113, 95, 0.85)),
    var(--teal);
  box-shadow: 0 0 0 1px rgba(245, 241, 232, 0.2), 0 10px 24px rgba(95, 200, 189, 0.2);
}

.studio-nav nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  font-size: 0.84rem;
  font-weight: 650;
}

.studio-nav nav a {
  text-decoration: none;
  opacity: 0.84;
}

.studio-nav nav a:hover,
.studio-nav nav a:focus-visible {
  opacity: 1;
}

.studio-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 750;
  letter-spacing: 0.01em;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.studio-button:hover,
.studio-button:focus-visible {
  transform: translateY(-2px);
}

.studio-button.primary {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
}

.demo-page .studio-button.primary {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--paper);
}

.studio-button.ghost {
  color: inherit;
  background: transparent;
}

.studio-shell {
  background:
    linear-gradient(180deg, rgba(25, 107, 106, 0.12), transparent 34rem),
    var(--paper);
}

.home-hero {
  min-height: 94svh;
  padding: calc(var(--nav-height) + 56px) clamp(18px, 5vw, 72px) 72px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  align-items: center;
  gap: clamp(32px, 7vw, 92px);
}

.hero-kicker,
.section-kicker,
.demo-kicker {
  margin: 0 0 18px;
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.demo-page .demo-kicker {
  color: var(--accent, var(--teal-bright));
}

.home-hero h1,
.studio-section h2,
.demo-hero h1,
.conversion h2 {
  margin: 0;
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-weight: 520;
  line-height: 0.98;
  letter-spacing: 0;
}

.home-hero h1 {
  max-width: 760px;
  font-size: clamp(3.35rem, 8.2vw, 7.35rem);
}

.home-hero p,
.studio-section > p,
.demo-hero p,
.conversion p {
  max-width: 650px;
  color: color-mix(in srgb, var(--ink) 66%, white);
  font-size: clamp(1rem, 1.7vw, 1.22rem);
  line-height: 1.65;
}

.demo-page .demo-hero p,
.demo-page .conversion p {
  color: rgba(245, 241, 232, 0.78);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.preview-wall {
  position: relative;
  min-height: min(72svh, 680px);
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  grid-template-rows: 0.86fr 1fr;
  gap: 14px;
  transform: perspective(1200px) rotateY(calc(-7deg + var(--scroll-progress) * 3deg));
  transform-origin: center;
}

.preview-tile {
  position: relative;
  min-height: 230px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  isolation: isolate;
  background: #111;
}

.preview-tile:first-child {
  grid-row: span 2;
}

.preview-tile img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transform: scale(calc(1.04 + var(--scroll-progress) * 0.04));
}

.preview-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(17, 23, 22, 0.58));
  z-index: 1;
}

.preview-label {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: white;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.studio-section {
  padding: 90px clamp(18px, 5vw, 72px);
}

.studio-section.compact {
  padding-top: 40px;
}

.studio-section h2 {
  max-width: 900px;
  font-size: clamp(2.4rem, 5.8vw, 5.8rem);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.case-card {
  position: relative;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  overflow: hidden;
  border-radius: var(--radius);
  text-decoration: none;
  color: white;
  background: var(--ink);
  box-shadow: 0 20px 54px rgba(17, 23, 22, 0.18);
}

.case-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.86;
  transform: scale(1.04);
  transition: transform 520ms ease, opacity 520ms ease;
}

.case-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 23, 22, 0.02), rgba(17, 23, 22, 0.76) 70%);
}

.case-card:hover img,
.case-card:focus-visible img {
  opacity: 1;
  transform: scale(1.09);
}

.case-body {
  position: relative;
  z-index: 2;
}

.case-body small,
.metric small,
.chapter small {
  display: block;
  margin-bottom: 10px;
  color: rgba(245, 241, 232, 0.68);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.case-body h3 {
  margin: 0 0 12px;
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  line-height: 1;
  letter-spacing: 0;
}

.case-body p {
  margin: 0 0 18px;
  color: rgba(245, 241, 232, 0.8);
  line-height: 1.5;
}

.case-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(245, 241, 232, 0.38);
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.process-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-step {
  min-height: 190px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.process-step:last-child {
  border-right: 0;
}

.process-step strong {
  display: block;
  margin-bottom: 20px;
  color: var(--teal);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
}

.process-step h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
}

.process-step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.playbook-section {
  position: relative;
  padding: 110px clamp(18px, 5vw, 72px);
  color: var(--paper);
  background:
    radial-gradient(circle at 12% 10%, rgba(91, 63, 210, 0.3), transparent 28%),
    radial-gradient(circle at 88% 42%, rgba(95, 200, 189, 0.16), transparent 30%),
    radial-gradient(circle at 36% 78%, rgba(222, 113, 95, 0.16), transparent 24%),
    #030507;
  overflow: hidden;
}

.playbook-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(95, 200, 189, 0.14) 1px, transparent 1px),
    linear-gradient(180deg, rgba(95, 200, 189, 0.1) 1px, transparent 1px);
  background-size: 140px 140px;
  opacity: 0.14;
  pointer-events: none;
}

.playbook-intro,
.playbook-list,
.income-panel {
  position: relative;
  z-index: 1;
}

.playbook-intro {
  width: min(980px, 100%);
  margin-bottom: 44px;
}

.playbook-intro h2,
.income-panel h2 {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(2.5rem, 6vw, 5.4rem);
  line-height: 0.96;
  font-weight: 850;
  letter-spacing: 0;
}

.playbook-intro p:not(.demo-kicker),
.income-panel p {
  max-width: 860px;
  color: rgba(245, 241, 232, 0.78);
  font-size: clamp(1rem, 1.8vw, 1.28rem);
  line-height: 1.65;
}

.playbook-list {
  display: grid;
  gap: 18px;
  width: min(1140px, 100%);
}

.playbook-card {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid rgba(245, 241, 232, 0.12);
  border-radius: 18px;
  background: rgba(20, 24, 35, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(245, 241, 232, 0.04),
    0 0 0 1px rgba(95, 200, 189, 0.04),
    0 24px 80px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(16px);
}

.playbook-number {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  color: #07100f;
  background: linear-gradient(135deg, #6e74ff, #5fc8bd);
  box-shadow: 0 10px 24px rgba(95, 200, 189, 0.2);
  font-weight: 900;
  font-size: 1.18rem;
}

.playbook-card h3 {
  margin: 3px 0 12px;
  color: var(--paper);
  font-size: clamp(1.08rem, 2vw, 1.42rem);
  line-height: 1.2;
}

.playbook-card p {
  margin: 0;
  color: rgba(245, 241, 232, 0.68);
  font-size: clamp(0.96rem, 1.5vw, 1.08rem);
  line-height: 1.62;
}

.playbook-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.playbook-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(95, 200, 189, 0.18);
  border-radius: 999px;
  color: var(--teal-bright);
  background: rgba(5, 10, 14, 0.44);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86rem;
}

.income-panel {
  margin-top: 76px;
  padding-top: 8px;
  width: min(1080px, 100%);
}

.income-label {
  margin-bottom: 34px;
  color: var(--paper);
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  font-weight: 520;
}

.income-panel h2 {
  max-width: 1120px;
  margin-bottom: 30px;
}

.income-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 36px;
}

.income-grid div {
  min-height: 180px;
  padding: 20px;
  border: 1px solid rgba(245, 241, 232, 0.12);
  border-radius: var(--radius);
  background: rgba(245, 241, 232, 0.05);
}

.income-grid strong {
  display: block;
  margin-bottom: 14px;
  color: var(--paper);
  font-size: 1rem;
}

.income-grid span {
  display: block;
  color: rgba(245, 241, 232, 0.68);
  line-height: 1.55;
}

.demo-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  padding: calc(var(--nav-height) + 70px) clamp(18px, 5vw, 72px) clamp(58px, 8vw, 108px);
}

.demo-hero::before,
.demo-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
}

.demo-hero::before {
  background: var(--hero-image) center / cover no-repeat;
  transform: scale(calc(1.05 + var(--scroll-progress) * 0.08)) translateY(calc(var(--scroll-progress) * -36px));
}

.demo-hero::after {
  background:
    linear-gradient(90deg, rgba(17, 23, 22, 0.88), rgba(17, 23, 22, 0.4) 48%, rgba(17, 23, 22, 0.18)),
    linear-gradient(180deg, rgba(17, 23, 22, 0.18), rgba(17, 23, 22, 0.78));
}

.demo-saas {
  --accent: #5fc8bd;
  --accent-2: #c7a65a;
  --hero-image: url("assets/saas-command-center.jpg");
}

.demo-real-estate {
  --accent: #c7a65a;
  --accent-2: #6d7d63;
  --hero-image: url("assets/forest-village-estate.jpg");
}

.demo-ecom {
  --accent: #de715f;
  --accent-2: #5fc8bd;
  --hero-image: url("assets/ecom-product-orbit.jpg");
}

.estate-page {
  --estate-sage: #677b62;
  --estate-sage-dark: #344437;
  --estate-cream: #f2efe6;
  --estate-ink: #211e20;
  --estate-line: rgba(33, 30, 32, 0.14);
  overflow-x: hidden;
  background: var(--estate-cream);
  color: var(--estate-ink);
}

.estate-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  height: 86px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 0 clamp(16px, 3vw, 36px);
  color: var(--estate-cream);
  background: linear-gradient(180deg, rgba(42, 55, 45, 0.78), rgba(42, 55, 45, 0));
}

.estate-nav a {
  color: inherit;
  text-decoration: none;
  font-weight: 750;
}

.estate-menu,
.estate-apply {
  width: fit-content;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 6px;
  background: rgba(33, 30, 32, 0.9);
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

.estate-mark {
  display: grid;
  justify-items: center;
  gap: 8px;
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-size: clamp(1.4rem, 2.2vw, 2.2rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.estate-mark-icon {
  color: rgba(242, 239, 230, 0.8);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  letter-spacing: -0.16em;
}

.estate-nav nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  font-size: 0.86rem;
}

.estate-hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: 118px clamp(18px, 5vw, 72px) 48px;
  background:
    radial-gradient(circle at 50% 22%, rgba(242, 239, 230, 0.16), transparent 34%),
    linear-gradient(180deg, #63775e 0%, var(--estate-sage) 58%, #52654f 100%);
  overflow: hidden;
}

.estate-hero-copy {
  position: relative;
  z-index: 2;
  width: min(1060px, 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
  text-align: center;
  color: var(--estate-cream);
}

.estate-kicker {
  margin: 0 0 18px;
  color: currentColor;
  opacity: 0.72;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.estate-hero h1 {
  width: min(980px, 100%);
  margin: 0;
  font-size: clamp(2.55rem, 4.7vw, 5rem);
  line-height: 1.02;
  font-weight: 420;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.estate-hero p {
  width: min(820px, 100%);
  margin: 16px 0 0;
  color: rgba(242, 239, 230, 0.82);
  font-size: clamp(1rem, 1.45vw, 1.22rem);
  line-height: 1.55;
}

.estate-round-cta {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  width: clamp(126px, 12vw, 160px);
  aspect-ratio: 1;
  margin: 28px auto -78px;
  border: 8px solid rgba(242, 239, 230, 0.42);
  border-radius: 50%;
  color: var(--estate-cream);
  background: #211e20;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.1;
  box-shadow: 0 18px 40px rgba(33, 30, 32, 0.28);
}

.estate-hero-media {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background: var(--hero-image) center bottom / cover no-repeat;
}

.estate-hero-media video {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  object-fit: cover;
  object-position: center bottom;
}

.estate-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(103, 123, 98, 0), rgba(103, 123, 98, 0.24)),
    linear-gradient(90deg, rgba(33, 30, 32, 0.12), rgba(33, 30, 32, 0));
}

.estate-demo-stage {
  position: relative;
  z-index: 3;
  width: min(1180px, calc(100vw - clamp(36px, 10vw, 144px)));
  max-width: 100%;
  margin-inline: auto;
  align-self: center;
  display: grid;
  justify-items: center;
  gap: 14px;
}

.estate-hero-player {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 1180px;
  background: #17211a;
  border-color: rgba(242, 239, 230, 0.24);
  box-shadow: 0 34px 110px rgba(20, 29, 23, 0.42);
}

.estate-hero-player::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(23, 33, 26, 0.56), rgba(23, 33, 26, 0.2), rgba(23, 33, 26, 0.56)),
    url("assets/video/real-estate-01-poster.jpg") center / cover no-repeat;
  filter: blur(16px) saturate(0.9);
  transform: scale(1.08);
  opacity: 0.58;
}

.estate-hero-player .estate-reel-video {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center center;
  background: transparent;
  max-height: min(58svh, 620px);
}

.estate-play-button {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 50%;
  width: clamp(74px, 7vw, 108px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(242, 239, 230, 0.42);
  border-radius: 50%;
  color: var(--estate-cream);
  background: rgba(33, 30, 32, 0.84);
  box-shadow: 0 18px 54px rgba(15, 23, 18, 0.38);
  backdrop-filter: blur(12px);
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease;
}

.estate-play-button:hover {
  background: rgba(33, 30, 32, 0.94);
  transform: translate(-50%, -50%) scale(1.04);
}

.estate-play-button span {
  display: block;
  width: 0;
  height: 0;
  margin-left: 6px;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 22px solid currentColor;
}

.estate-hero-player.is-playing .estate-play-button {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.94);
}

.estate-video-cta {
  display: none;
}

.estate-offer-strip {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.estate-offer-strip span {
  min-height: 48px;
  display: grid;
  place-items: center;
  padding: 0 12px;
  border: 1px solid rgba(242, 239, 230, 0.2);
  border-radius: 6px;
  color: rgba(242, 239, 230, 0.82);
  background: rgba(33, 30, 32, 0.24);
  font-size: 0.78rem;
  font-weight: 850;
  text-align: center;
  text-transform: uppercase;
}

.estate-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #f9f7f1;
  border-bottom: 1px solid var(--estate-line);
}

.estate-stats div {
  min-height: 190px;
  padding: clamp(18px, 3vw, 34px);
  border-right: 1px solid var(--estate-line);
}

.estate-stats div:last-child {
  border-right: 0;
}

.estate-stats strong {
  display: block;
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 6vw, 5.8rem);
  font-weight: 420;
  line-height: 0.86;
}

.estate-stats span {
  display: block;
  max-width: 220px;
  margin-top: 18px;
  color: #667064;
  line-height: 1.45;
}

.estate-editorial {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 6vw, 88px);
  padding: 110px clamp(18px, 5vw, 72px);
  background: var(--estate-cream);
}

.estate-editorial h2,
.estate-catalog h2,
.estate-consult h2 {
  margin: 0;
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 6vw, 6rem);
  font-weight: 420;
  line-height: 0.98;
}

.estate-editorial > p {
  margin: 0;
  align-self: end;
  color: #5f695d;
  font-size: clamp(1.05rem, 1.8vw, 1.32rem);
  line-height: 1.65;
}

.estate-reel {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: 110px clamp(18px, 5vw, 72px);
  color: var(--estate-cream);
  background: #17211a;
}

.estate-reel-copy h2 {
  margin: 0;
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 5.8vw, 5.7rem);
  font-weight: 420;
  line-height: 0.98;
}

.estate-reel-copy p:not(.estate-kicker) {
  margin: 22px 0 0;
  color: rgba(242, 239, 230, 0.74);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.62;
}

.estate-reel-stage {
  display: grid;
  gap: 14px;
}

.estate-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.estate-proof-grid article {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 22px;
  border: 1px solid rgba(242, 239, 230, 0.16);
  border-radius: 8px;
  background: rgba(242, 239, 230, 0.07);
}

.estate-proof-grid span {
  color: var(--accent);
  font-weight: 850;
}

.estate-proof-grid h3 {
  margin: 74px 0 12px;
  color: var(--estate-cream);
  font-size: clamp(1.2rem, 1.7vw, 1.6rem);
}

.estate-proof-grid p {
  margin: 0;
  color: rgba(242, 239, 230, 0.7);
  line-height: 1.55;
}

.estate-reel-player {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(242, 239, 230, 0.18);
  border-radius: 8px;
  background: #0f1712;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
}

.estate-reel-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  background: #0f1712;
}

.estate-reel-caption {
  position: absolute;
  z-index: 3;
  left: 14px;
  top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 6px;
  color: var(--estate-cream);
  background: rgba(15, 23, 18, 0.76);
  backdrop-filter: blur(16px);
}

.estate-reel-caption span {
  color: var(--accent);
  font-weight: 850;
}

.estate-demo-badge {
  position: absolute;
  z-index: 3;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(242, 239, 230, 0.18);
  border-radius: 6px;
  color: var(--estate-cream);
  background: rgba(15, 23, 18, 0.72);
  backdrop-filter: blur(16px);
  font-size: 0.74rem;
  font-weight: 850;
  text-transform: uppercase;
}

.estate-reel-chapters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.estate-reel-chapters button {
  min-height: 54px;
  padding: 0 12px;
  border: 1px solid rgba(242, 239, 230, 0.18);
  border-radius: 6px;
  color: rgba(242, 239, 230, 0.72);
  background: rgba(242, 239, 230, 0.06);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
}

.estate-reel-chapters button.is-active {
  color: #211e20;
  border-color: var(--accent);
  background: var(--accent);
}

.estate-motion {
  position: relative;
  min-height: 300svh;
  background: #17211a;
}

.estate-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.estate-motion-video {
  position: absolute;
  inset: -4vh -4vw;
  width: calc(100% + 8vw);
  height: calc(100% + 8vh);
  object-fit: cover;
  transform:
    scale(calc(1.08 - var(--scene-progress, 0) * 0.04))
    translate3d(calc(var(--scene-progress, 0) * -26px), calc(var(--scene-progress, 0) * -18px), 0);
}

.estate-sticky::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(23, 33, 26, 0.78), rgba(23, 33, 26, 0.16) 50%, rgba(23, 33, 26, 0.76)),
    radial-gradient(circle at calc(24% + var(--scene-progress, 0) * 46%) 56%, rgba(199, 166, 90, 0.28), transparent 24%);
}

.estate-plan {
  position: absolute;
  z-index: 2;
  right: clamp(18px, 8vw, 120px);
  top: 18%;
  width: clamp(230px, 31vw, 520px);
  aspect-ratio: 1.22;
  border: 1px solid rgba(242, 239, 230, 0.36);
  border-radius: 44% 56% 48% 52%;
  transform: rotate(calc(-8deg + var(--scene-progress, 0) * 18deg));
}

.estate-plan::before,
.estate-plan::after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(242, 239, 230, 0.2);
  border-radius: 50%;
}

.estate-plan::after {
  inset: 31%;
  border-color: rgba(199, 166, 90, 0.56);
}

.plot {
  position: absolute;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: #211e20;
  background: var(--estate-cream);
  font-weight: 850;
  box-shadow: 0 0 0 8px rgba(242, 239, 230, 0.18);
}

.plot-one { left: 20%; top: 16%; }
.plot-two { right: 14%; top: 32%; }
.plot-three { left: 42%; bottom: 12%; }
.plot-four { right: 29%; bottom: 34%; }

.estate-chapters {
  position: relative;
  z-index: 4;
  width: min(460px, calc(100% - 36px));
  margin-left: clamp(18px, 6vw, 90px);
  padding: 36svh 0 42svh;
}

.estate-catalog {
  padding: 110px clamp(18px, 5vw, 72px);
  color: var(--estate-ink);
  background: #f9f7f1;
}

.estate-catalog-copy {
  max-width: 980px;
  margin-bottom: 42px;
}

.estate-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.estate-card-grid article {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 22px;
  border: 1px solid var(--estate-line);
  border-radius: var(--radius);
  background: var(--estate-cream);
}

.estate-card-grid span {
  color: var(--estate-sage);
  font-weight: 850;
  letter-spacing: 0.12em;
}

.estate-card-grid h3 {
  margin: 78px 0 14px;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
}

.estate-card-grid p {
  margin: 0;
  color: #667064;
  line-height: 1.55;
}

.estate-consult {
  min-height: 78svh;
  display: flex;
  align-items: center;
  padding: 110px clamp(18px, 5vw, 72px);
  color: var(--estate-cream);
  background:
    linear-gradient(90deg, rgba(23, 33, 26, 0.86), rgba(23, 33, 26, 0.58)),
    var(--hero-image) center / cover no-repeat;
}

.estate-consult > div {
  width: min(960px, 100%);
}

.estate-consult p:not(.estate-kicker) {
  max-width: 740px;
  color: rgba(242, 239, 230, 0.8);
  font-size: clamp(1.02rem, 1.7vw, 1.24rem);
  line-height: 1.62;
}

.demo-copy {
  max-width: 880px;
  position: relative;
  z-index: 2;
}

.demo-copy h1 {
  max-width: 980px;
  font-size: clamp(3.6rem, 9vw, 9rem);
}

.demo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(760px, 100%);
  margin-top: 34px;
  background: rgba(245, 241, 232, 0.16);
  border: 1px solid rgba(245, 241, 232, 0.16);
  border-radius: var(--radius);
  overflow: hidden;
}

.metric {
  min-height: 112px;
  padding: 18px;
  background: rgba(17, 23, 22, 0.46);
  backdrop-filter: blur(14px);
}

.metric b {
  display: block;
  color: var(--paper);
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 520;
  line-height: 0.9;
}

.story-sequence {
  position: relative;
  min-height: 310svh;
  background: #111716;
}

.sticky-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.motion-poster {
  position: absolute;
  inset: -4vh -4vw;
  background: var(--hero-image) center / cover no-repeat;
  transform:
    scale(calc(1.08 - var(--scene-progress, 0) * 0.035))
    translate3d(calc(var(--scene-progress, 0) * -20px), calc(var(--scene-progress, 0) * -18px), 0);
  filter: saturate(1.04) contrast(1.02);
}

.motion-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at calc(26% + var(--scene-progress, 0) * 42%) 44%, rgba(95, 200, 189, 0.2), transparent 24%),
    linear-gradient(90deg, rgba(17, 23, 22, 0.72), rgba(17, 23, 22, 0.2), rgba(17, 23, 22, 0.72));
}

.motion-orbit,
.motion-orbit::before,
.motion-orbit::after {
  position: absolute;
  border: 1px solid rgba(245, 241, 232, 0.28);
  border-radius: 50%;
}

.motion-orbit {
  right: clamp(18px, 9vw, 140px);
  top: 18%;
  width: clamp(220px, 34vw, 560px);
  aspect-ratio: 1;
  transform: rotate(calc(var(--scene-progress, 0) * 110deg));
}

.motion-orbit::before,
.motion-orbit::after {
  content: "";
  inset: 14%;
}

.motion-orbit::after {
  inset: 32%;
  border-color: color-mix(in srgb, var(--accent) 64%, transparent);
}

.motion-dot {
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 24px var(--accent);
}

.motion-dot.one {
  top: 7%;
  left: 48%;
}

.motion-dot.two {
  top: 52%;
  right: 5%;
}

.motion-dot.three {
  left: 14%;
  bottom: 19%;
}

.frame-strip {
  position: absolute;
  left: clamp(18px, 5vw, 72px);
  right: clamp(18px, 5vw, 72px);
  bottom: 24px;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 8px;
  opacity: 0.82;
}

.frame-strip span {
  display: block;
  height: 5px;
  border-radius: 999px;
  background: rgba(245, 241, 232, 0.25);
  overflow: hidden;
}

.frame-strip span::after {
  content: "";
  display: block;
  width: calc((var(--scene-progress, 0) * 900%));
  max-width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.chapter-stack {
  position: relative;
  z-index: 4;
  width: min(440px, calc(100% - 36px));
  margin-left: clamp(18px, 6vw, 90px);
  padding: 36svh 0 42svh;
}

.chapter {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin-bottom: 42svh;
  padding: 18px;
  border: 1px solid rgba(245, 241, 232, 0.18);
  border-radius: var(--radius);
  background: rgba(17, 23, 22, 0.66);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
  opacity: 0.62;
  transform: translateY(22px);
  transition: opacity 220ms ease, transform 220ms ease, border-color 220ms ease;
}

.chapter.is-active {
  opacity: 1;
  transform: translateY(0);
  border-color: color-mix(in srgb, var(--accent) 62%, transparent);
}

.chapter h2 {
  margin: 0 0 10px;
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 520;
  line-height: 1;
}

.chapter p {
  margin: 0;
  color: rgba(245, 241, 232, 0.76);
  line-height: 1.55;
}

.motion-details {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 6vw, 84px);
  padding: 100px clamp(18px, 5vw, 72px);
  background: var(--paper);
  color: var(--ink);
}

.motion-details h2 {
  margin: 0;
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 5.2vw, 5.4rem);
  font-weight: 520;
  line-height: 1;
}

.deliverables {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.deliverable {
  min-height: 170px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffaf1;
}

.deliverable strong {
  display: block;
  margin-bottom: 14px;
  color: var(--teal);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.deliverable p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.conversion {
  position: relative;
  min-height: 78svh;
  display: flex;
  align-items: center;
  padding: 100px clamp(18px, 5vw, 72px);
  overflow: hidden;
  background: #111716;
  color: var(--paper);
}

.conversion::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 22%, color-mix(in srgb, var(--accent) 32%, transparent), transparent 28%),
    radial-gradient(circle at 86% 60%, color-mix(in srgb, var(--accent-2) 26%, transparent), transparent 30%);
  opacity: calc(0.55 + var(--scroll-progress) * 0.2);
}

.conversion-content {
  position: relative;
  width: min(860px, 100%);
}

.conversion h2 {
  font-size: clamp(3rem, 8vw, 8rem);
}

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

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

@media (max-width: 940px) {
  .home-hero,
  .motion-details,
  .estate-editorial,
  .estate-reel {
    grid-template-columns: 1fr;
  }

  .home-hero {
    padding-top: calc(var(--nav-height) + 38px);
  }

  .preview-wall {
    min-height: 560px;
    transform: none;
  }

  .case-grid,
  .process-band,
  .income-grid,
  .estate-stats,
  .estate-card-grid,
  .estate-proof-grid {
    grid-template-columns: 1fr;
  }

  .estate-offer-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-step {
    min-height: 150px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .process-step:last-child {
    border-bottom: 0;
  }

  .deliverables,
  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .estate-nav {
    grid-template-columns: auto 1fr auto;
  }

  .estate-nav nav a:not(.estate-apply) {
    display: none;
  }

  .estate-stats div,
  .estate-stats div:last-child {
    border-right: 0;
    border-bottom: 1px solid var(--estate-line);
  }

  .estate-stats div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 680px) {
  :root {
    --nav-height: 64px;
  }

  .studio-nav {
    padding: 0 16px;
  }

  .studio-nav nav {
    gap: 12px;
    font-size: 0.76rem;
  }

  .studio-nav nav a:nth-child(2) {
    display: none;
  }

  .home-hero {
    min-height: auto;
    padding-bottom: 46px;
  }

  .preview-wall {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    min-height: auto;
  }

  .preview-tile,
  .preview-tile:first-child {
    grid-row: auto;
    min-height: 260px;
  }

  .case-card {
    min-height: 430px;
  }

  .estate-nav {
    height: 72px;
    grid-template-columns: auto 1fr;
    padding: 0 12px;
  }

  .estate-menu {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.66rem;
  }

  .estate-mark {
    justify-self: start;
    justify-items: start;
    max-width: calc(100vw - 112px);
    overflow: hidden;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    white-space: nowrap;
  }

  .estate-nav nav {
    display: none;
  }

  .estate-hero {
    min-height: auto;
    gap: 20px;
    padding: 96px 16px 38px;
  }

  .estate-hero-copy {
    padding: 0;
  }

  .estate-kicker {
    margin-bottom: 12px;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
  }

  .estate-hero h1 {
    width: min(320px, 100%);
    font-size: clamp(1.72rem, 7.2vw, 2.08rem);
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  .estate-hero p {
    width: min(320px, 100%);
    font-size: 0.96rem;
  }

  .estate-demo-stage {
    gap: 10px;
  }

  .estate-hero-player .estate-reel-video {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    max-height: 52svh;
  }

  .estate-video-cta {
    display: none;
  }

  .estate-offer-strip {
    grid-template-columns: 1fr;
  }

  .estate-round-cta {
    width: 116px;
    margin-bottom: -58px;
    border-width: 6px;
    font-size: 0.68rem;
  }

  .estate-editorial,
  .estate-reel,
  .estate-catalog,
  .estate-consult {
    padding-left: 18px;
    padding-right: 18px;
  }

  .estate-reel {
    padding-top: 74px;
    padding-bottom: 74px;
  }

  .estate-reel-chapters {
    grid-template-columns: 1fr 1fr;
  }

  .estate-reel-chapters button {
    min-height: 48px;
    font-size: 0.74rem;
  }

  .estate-plan {
    right: -34vw;
    top: 11%;
    width: 92vw;
  }

  .estate-chapters {
    margin: 0 auto;
    padding-top: 30svh;
  }

  .estate-card-grid article {
    min-height: 230px;
  }

  .demo-hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  .demo-hero::after {
    background:
      linear-gradient(180deg, rgba(17, 23, 22, 0.26), rgba(17, 23, 22, 0.84)),
      linear-gradient(90deg, rgba(17, 23, 22, 0.72), rgba(17, 23, 22, 0.2));
  }

  .chapter-stack {
    margin: 0 auto;
    padding-top: 26svh;
  }

  .motion-orbit {
    right: -32vw;
    top: 10%;
    width: 86vw;
  }

  .frame-strip {
    grid-template-columns: repeat(4, 1fr);
  }

  .motion-details,
  .conversion,
  .studio-section,
  .playbook-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .playbook-card {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 16px;
  }

  .playbook-number {
    width: 44px;
    height: 44px;
  }

  .playbook-pills span {
    width: 100%;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .preview-wall,
  .preview-tile img,
  .demo-hero::before,
  .motion-poster,
  .motion-orbit,
  .estate-motion-video,
  .estate-plan {
    transform: none !important;
  }

  video[autoplay] {
    animation: none !important;
  }
}
