/* Shared restyle for remaining studio pages. Header/footer live in iw-home.css. */

.studio-page .hero,
.studio-page .story,
.studio-page .privacy,
.studio-page .closer {
  transform: none;
  filter: none;
}

.studio-page .hero {
  min-height: auto;
  padding: 72px 20px 64px;
}

.studio-page .hero-copy {
  width: min(720px, 100%);
}

.studio-page .hero h1 {
  max-width: 22ch;
}

.studio-page .hero .lede,
.studio-page .hero-lede {
  max-width: 42rem;
}

.studio-page .hero-note {
  margin: 16px 0 0;
  max-width: 42rem;
  color: #e4eaf2;
  font-size: 0.88rem;
  line-height: 1.5;
}

.studio-page .hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
}

.studio-page .hero-actions .btn {
  min-height: 40px;
  padding: 0 16px;
  flex: 0 0 auto;
  white-space: nowrap;
}

@media (min-width: 900px) {
  .studio-page .hero-actions {
    flex-wrap: nowrap;
    width: max-content;
    max-width: min(1120px, calc(100vw - 56px));
  }
}

.studio-page .hero-copy > .hero-actions + .hero-note {
  margin-top: 14px;
}

.studio-page .hero .trust-toc {
  width: min(1180px, 100%);
  margin: 28px auto 0;
}

.sp-kicker {
  margin: 0 0 12px;
  color: #e4eaf2;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.story--paper .sp-kicker {
  color: var(--muted);
}

.sp-tile ol {
  margin: 16px 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.sp-tile ol li + li {
  margin-top: 8px;
}

.studio-page .stage.company-product {
  min-height: 0;
}

.sp-grid {
  display: grid;
  gap: 16px;
}

.sp-tile {
  min-height: 0;
  padding: 22px;
}

.sp-tile h2,
.sp-tile h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.sp-tile p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.sp-tile p + p {
  margin-top: 12px;
}

.sp-tile .studio-cta-row,
.sp-tile .hero-actions,
.sp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.sp-meta {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 8px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  font-size: 12px;
  font-weight: 600;
}

.sp-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.studio-page .trust-read h2,
.studio-page .story__copy h2,
.sp-heading {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.2vw, 2.55rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.studio-page .trust-faq {
  margin-top: 8px;
}

.studio-page .seo-faq details,
.studio-page .trust-faq details {
  margin: 0;
}

.sp-prose {
  width: min(720px, 100%);
}

.sp-prose p {
  margin: 0;
  max-width: 68ch;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.sp-prose h2 + p,
.sp-prose p + h2 {
  margin-top: 28px;
}

.sp-prose a,
.sp-tile a:not(.btn):not(.story-link) {
  color: inherit;
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0 1px;
  padding-bottom: 1px;
  transition: color 0.28s var(--ease), background-size 0.28s var(--ease);
}

.sp-prose a:hover,
.sp-tile a:not(.btn):not(.story-link):hover {
  color: #2a7ec4;
  background-size: 100% 1px;
}

.studio-page .story-link {
  margin-top: 16px;
}

a.stage.sp-tile {
  color: inherit;
  text-decoration: none;
}

a.stage.sp-tile:hover {
  color: inherit;
}

.btn--youtube {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hidden {
  display: none !important;
}

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

.studio-page .chart-area {
  clip-path: inset(0 0 0 0);
}

.studio-page .chart-line {
  stroke-dashoffset: 0;
}

.studio-page .chart-dot,
.studio-page .chart-label,
.studio-page .mark-n,
.studio-page .capture-call,
.studio-page .capture__marquee {
  opacity: 1;
  transform: none;
}

.studio-page .arrow-line {
  stroke-dashoffset: 0;
}

.studio-page .capture__flash {
  display: none;
}

.sp-product-body {
  padding: 22px;
}

.sp-product-body h2 {
  margin: 8px 0 0;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.sp-product-body p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.studio-page .company-products {
  margin-top: 0;
}

/* Support form — paper, keep field IDs. */
.sp-support {
  display: grid;
  gap: 20px;
}

.sp-support .support-field {
  width: 100%;
  min-height: 44px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  color: var(--fg);
  font-family: inherit;
  font-size: 1rem;
}

.sp-support textarea.support-field {
  min-height: 140px;
  resize: vertical;
}

.sp-support .support-drop {
  padding: 22px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  background: var(--paper);
}

.sp-support label > span,
.sp-support .sp-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.sp-support .support-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  color: var(--pill);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}

.sp-support .support-status:empty {
  display: none;
}

.sp-support #supportSuccess {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 22px;
  border-radius: 16px;
  background: var(--card);
  text-align: center;
}

.sp-support #supportSuccess.hidden {
  display: none !important;
}

.studio-page .stage.sp-support-form {
  position: relative;
  padding: 22px;
  min-height: 0;
  overflow: visible;
}

.studio-page .sp-support-form.studio-reveal {
  opacity: 1;
  transform: none;
}

.sp-support .support-drop.is-dragover {
  border-color: #2a7ec4;
}

.sp-support .support-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.sp-support .support-live-cta,
.sp-support .support-manual {
  margin-top: 12px;
}

.sp-support-aside {
  display: grid;
  gap: 16px;
  align-content: start;
}

.sp-support-aside a:not(.btn) {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sp-support-form .sp-support {
  gap: 18px;
}

.sp-support-form label {
  display: block;
}

@media (min-width: 720px) {
  .sp-support-aside {
    position: sticky;
    top: calc(var(--nav-h) + 20px);
  }
}

/* Affiliate dashboard sits as a stage on paper. */
.studio-page .aff-page {
  max-width: none;
  margin: 0;
  padding: 0;
  color: inherit;
}

.studio-page .aff-dash {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  box-shadow: 0 22px 50px -28px rgba(20, 28, 44, 0.35);
}

@media (min-width: 720px) {
  .sp-grid--2 {
    grid-template-columns: 1fr 1fr;
  }

  .sp-grid--3 {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .sp-support-grid {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }
}

@media (min-width: 980px) {
  .studio-page .hero {
    padding: 80px 28px 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .studio-reveal {
    animation: none !important;
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Product pages: every reveal stays in flow, same as homepage data-rise. */
.studio-page .studio-reveal,
.studio-page .studio-reveal.is-visible,
.studio-page .smx-scene.studio-reveal {
  opacity: 1;
  transform: none;
  filter: none;
  transition: none;
}

/* —— Legacy studio-hero / seo / journal templates on the new paper system —— */
.studio-page .studio-atmosphere,
.studio-page .studio-nav,
.studio-page .studio-footer,
.studio-page .studio-shell {
  display: contents;
}

.studio-page .studio-atmosphere,
.studio-page .studio-atmosphere * {
  display: none;
}

.studio-page .studio-wrap {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.studio-page .studio-hero {
  position: relative;
  min-height: auto;
  padding: 72px 20px 64px;
  background:
    radial-gradient(ellipse 70% 50% at 80% 40%, rgba(94, 200, 216, 0.08), transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 90%, rgba(232, 197, 71, 0.07), transparent 55%),
    linear-gradient(180deg, var(--hero-ink) 0%, var(--hero-ink-2) 100%);
  color: #eef1f7;
}

.studio-page .studio-hero .studio-wrap {
  width: min(720px, calc(100% - 0px));
  margin-inline: 0;
}

.studio-page .studio-hero .studio-wrap:has(.studio-hero__grid),
.studio-page .studio-hero .studio-hero__grid {
  width: min(1120px, 100%);
}

.studio-page .studio-kicker {
  margin: 0 0 12px;
  color: #e4eaf2;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
}

.studio-page .studio-hero__headline,
.studio-page .studio-display {
  margin: 0;
  max-width: 22ch;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.95;
  color: inherit;
  text-shadow: none;
}

.studio-page .studio-hero__headline {
  font-size: clamp(2.4rem, 6vw, 4.1rem);
  color: #fff;
}

.studio-page .studio-hero__sub,
.studio-page .studio-hero p,
.studio-page .studio-hero .studio-lead,
.studio-page .smx-answer,
.studio-page .smx-legal p,
.studio-page .smx-lead {
  margin: 16px 0 0;
  max-width: 42rem;
  color: #e4eaf2;
  font-size: 1.05rem;
  line-height: 1.6;
  text-shadow: none;
}

.studio-page .studio-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
  font-size: 0.78rem;
}

.studio-page .studio-crumbs a,
.studio-page .studio-crumbs span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: #c5d0dc;
  text-decoration: none;
}

.studio-page .studio-crumbs a:hover {
  color: #fff;
}

.studio-page .studio-crumbs [aria-current="page"] {
  color: #fff;
}

.studio-page .studio-cta-row,
.studio-page .smx-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
}

.studio-page .studio-hero .studio-cta-row .studio-btn {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  flex: 0 0 auto;
  white-space: nowrap;
}

@media (min-width: 900px) {
  .studio-page .studio-hero .studio-cta-row {
    flex-wrap: nowrap;
    width: max-content;
    max-width: min(1120px, calc(100vw - 56px));
  }
}

.studio-page .studio-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.015em;
  text-decoration: none;
  cursor: pointer;
  background: transparent;
  color: inherit;
}

.studio-page .studio-btn:hover {
  transform: none;
}

.studio-page .studio-btn--primary,
.studio-page a.studio-btn--primary {
  background: #f5f5f5;
  color: #07111f;
}

.studio-page .studio-btn--ghost,
.studio-page a.studio-btn--ghost {
  border-color: currentColor;
  color: inherit;
  opacity: 0.92;
}

.studio-page .studio-btn:disabled,
.studio-page .studio-btn--primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.studio-page .studio-section {
  padding: 72px 20px;
  background: var(--paper);
  color: var(--fg);
}

.studio-page .studio-section--tight {
  padding-top: 48px;
  padding-bottom: 48px;
}

.studio-page .studio-section .studio-display,
.studio-page .studio-section h2 {
  max-width: 22ch;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.035em;
  color: var(--fg);
}

.studio-page .studio-section .studio-kicker {
  color: var(--muted);
}

.studio-page .studio-lead {
  margin: 12px 0 0;
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

.studio-page .studio-lead a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.studio-page .studio-grid {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

@media (min-width: 720px) {
  .studio-page .studio-grid--2 {
    grid-template-columns: 1fr 1fr;
  }

  .studio-page .studio-grid--3 {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.studio-page .studio-tile,
.studio-page a.studio-tile {
  position: relative;
  display: block;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  box-shadow: 0 22px 50px -28px rgba(20, 28, 44, 0.35);
  color: inherit;
  text-decoration: none;
  overflow: visible;
  transform: none;
}

.studio-page .studio-tile::before {
  display: none;
}

.studio-page .studio-tile:hover,
.studio-page a.studio-tile:hover {
  transform: none;
  border-color: var(--line);
  box-shadow: 0 22px 50px -28px rgba(20, 28, 44, 0.35);
}

.studio-page .studio-tile h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--fg);
}

.studio-page .studio-tile p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.studio-page .studio-tile .studio-kicker {
  color: var(--muted);
}

.studio-page .studio-band {
  margin: 0;
  padding: 28px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  box-shadow: 0 22px 50px -28px rgba(20, 28, 44, 0.35);
}

.studio-page .seo-faq {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.studio-page .seo-faq details {
  margin: 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
}

.studio-page .seo-faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--fg);
  list-style: none;
}

.studio-page .seo-faq summary::-webkit-details-marker {
  display: none;
}

.studio-page .seo-faq details p {
  margin: 12px 0 0;
  color: var(--muted);
}

.studio-page .seo-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.25rem;
  font-size: 0.95rem;
}

.studio-page .seo-table th,
.studio-page .seo-table td {
  border: 1px solid var(--line);
  padding: 0.85rem 1rem;
  text-align: left;
  vertical-align: top;
}

.studio-page .seo-table th {
  background: var(--paper-2);
  color: var(--fg);
  font-family: var(--serif);
  font-weight: 400;
}

.studio-page .seo-table td {
  color: var(--muted);
  background: var(--card);
}

.studio-page .seo-table td:first-child {
  color: var(--fg);
  font-weight: 600;
}

.studio-page .seo-note,
.studio-page .seo-bluf,
.studio-page .seo-tested,
.studio-page .seo-verdict,
.studio-page .seo-concession,
.studio-page .seo-who {
  margin-top: 1rem;
  color: var(--muted);
}

.studio-page .seo-verdict strong,
.studio-page .seo-concession h2,
.studio-page .seo-who h2,
.studio-page .seo-tested h2 {
  color: var(--fg);
  font-family: var(--serif);
  font-weight: 400;
}

.studio-page .journal-article {
  max-width: 44rem;
  padding: 1.5rem 1.35rem;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--fg);
}

.studio-page .journal-article h2 {
  margin: 1.45rem 0 0.5rem;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--fg);
}

.studio-page .journal-article h2:first-child {
  margin-top: 0;
}

.studio-page .journal-article img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 0 0 1.15rem;
  display: block;
}

.studio-page .smx-prose h2 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--fg);
}

.studio-page .smx-prose p,
.studio-page .smx-prose li {
  color: var(--muted);
}

.studio-page .smx-shot {
  margin: 18px 0;
}

.studio-page .smx-shot img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.legal-flow {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0 72px;
}

.legal-flow h1,
.legal-flow h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.035em;
  color: var(--fg);
}

.legal-flow h1 {
  margin: 16px 0 12px;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.05;
}

.legal-flow h2 {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 2.6vw, 1.8rem);
}

.legal-flow p,
.legal-flow li,
.legal-flow blockquote {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.legal-flow .grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 900px) {
  .legal-flow .grid {
    grid-template-columns: 260px 1fr;
    align-items: start;
  }
}

.legal-flow article > section {
  padding: 22px;
  margin: 0 0 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
}

.legal-flow a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-flow > section:first-child {
  text-align: center;
}

.legal-flow > section:first-child img {
  display: block;
  margin: 0 auto 8px;
  max-height: 80px;
  width: auto;
}

.studio-page .policy-prose h3 {
  margin: 0 0 10px;
  color: var(--fg);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
}

.studio-page .policy-prose p,
.studio-page .policy-prose li {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.studio-page .policy-prose ul {
  list-style: disc;
  padding-left: 1.25rem;
}

.studio-page .policy-prose strong {
  color: var(--fg);
  font-weight: 600;
}

.studio-page article.policy-prose,
.studio-page .policy-prose > div {
  padding: 22px;
  margin: 0 0 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
}

.legal-toc {
  display: grid;
  gap: 8px;
  margin: 0 0 22px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
}

.legal-toc p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.legal-toc ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal-toc a {
  color: inherit;
}

.studio-page #chilviewNewsletterForm {
  display: grid;
  gap: 16px;
}

.studio-page #chilviewNewsletterEmail {
  width: 100%;
  min-height: 44px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  color: var(--fg);
  font: inherit;
}

.studio-page #chilviewNewsletterSubmit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  color: var(--pill);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}

.studio-page #chilviewNewsletterSubmit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.studio-page #chilviewNewsletterStatus:empty {
  display: none;
}

.studio-page #chilviewNewsletterConsent {
  margin-right: 8px;
}

.news-layout {
  display: grid;
  gap: 24px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 72px;
}

@media (min-width: 900px) {
  .news-layout {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
  }
}

.news-card,
.news-aside > div,
.news-layout > section > div,
.news-layout > aside > div {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  box-shadow: 0 22px 50px -28px rgba(20, 28, 44, 0.35);
}

.news-card h1,
.news-intro h1 {
  margin: 8px 0 0;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 400;
  letter-spacing: -0.035em;
}

.news-intro {
  width: min(720px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0 28px;
}

.news-intro .sp-kicker,
.news-intro p:first-child {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

@media (min-width: 980px) {
  .studio-page .studio-hero {
    padding: 80px 28px 72px;
  }
}

/* —— Extension / SnapMatrix product layout on the paper system —— */
.studio-page .studio-hero__grid {
  display: grid;
  gap: 32px;
  align-items: start;
}

@media (min-width: 960px) {
  .studio-page .studio-hero--media:not(:has(.studio-hero-video, .studio-hero-visual)) .studio-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 28rem);
    gap: clamp(2rem, 5vw, 4rem);
  }
}

.studio-page .studio-hero--media:has(.studio-hero-video),
.studio-page .studio-hero--media:has(.studio-hero-visual) {
  --hero-gutter: 48px;
  --hero-brand-block: calc(clamp(1.85rem, 4.2vw, 3.1rem) + 18px);
  padding-left: 20px;
  padding-right: 20px;
}

.studio-page .studio-hero--media:has(.studio-hero-video) .studio-wrap.studio-hero__grid,
.studio-page .studio-hero--media:has(.studio-hero-visual) .studio-wrap.studio-hero__grid {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

.studio-page .studio-hero--media:has(.studio-hero-video) .studio-hero-video,
.studio-page .studio-hero--media:has(.studio-hero-visual) .studio-hero-visual {
  margin: 0;
  min-width: 0;
  width: 100%;
}

.studio-page .studio-hero--media:has(.studio-hero-video) .studio-hero-video__frame {
  width: 100%;
}

.studio-page .studio-hero--media:has(.studio-hero-video) .studio-hero-video__link {
  margin: 0.75rem 0 0;
  max-width: none;
}

@media (min-width: 980px) {
  .studio-page .studio-hero--media:has(.studio-hero-video),
  .studio-page .studio-hero--media:has(.studio-hero-visual) {
    padding: 80px 28px 88px;
  }

  .studio-page .studio-hero--media:has(.studio-hero-video) .studio-wrap.studio-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--hero-gutter) minmax(0, 1fr);
    grid-template-areas:
      "crumbs . ."
      "copy . video";
    gap: 0;
    align-items: start;
  }

  .studio-page .studio-hero--media:has(.studio-hero-visual) .studio-wrap.studio-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--hero-gutter) minmax(0, 1fr);
    grid-template-areas: "copy . visual";
    gap: 0;
    align-items: start;
  }

  .studio-page .studio-hero--media:has(.studio-hero-visual) .studio-hero__copy {
    grid-area: copy;
    min-width: 0;
  }

  .studio-page .studio-hero--media:has(.studio-hero-visual) .studio-hero-visual {
    grid-area: visual;
  }

  .studio-page .studio-hero--media:has(.studio-hero-video) .studio-crumbs {
    grid-area: crumbs;
  }

  .studio-page .studio-hero--media:has(.studio-hero-video) .studio-hero__copy {
    grid-area: copy;
    min-width: 0;
  }

  .studio-page .studio-hero--media:has(.studio-hero-video) .studio-hero-video {
    grid-area: video;
    display: flex;
    flex-direction: column;
  }

  .studio-page .studio-hero--media:has(.studio-hero-video) .studio-kicker,
  .studio-page .studio-hero--media:has(.studio-hero-video) .studio-hero-video__title {
    margin: 0 0 12px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1.2;
  }

  .studio-page .studio-hero--media:has(.studio-hero-video) .studio-hero-video__frame {
    margin-top: var(--hero-brand-block);
    padding-top: 0;
  }
}

.studio-page .studio-hero__copy {
  min-width: 0;
}

.studio-page .studio-hero--media:has(.studio-hero-video) .studio-hero__headline {
  line-height: 1.08;
  max-width: 16ch;
}

.studio-page .studio-hero .studio-hero__brand {
  margin: 0 0 18px;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.08em;
  font-family: var(--serif);
  font-size: clamp(1.85rem, 4.2vw, 3.1rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #fff;
  white-space: nowrap;
  max-width: 100%;
}

.studio-page .studio-hero__brand-c {
  width: 0.9em;
  height: 0.9em;
  flex-shrink: 0;
  object-fit: contain;
}

.studio-page .studio-hero__brand-text {
  color: #fff;
  white-space: nowrap;
}

.studio-page .studio-cta-note {
  margin: 18px 0 0;
  max-width: 36rem;
  color: #e4eaf2;
  font-size: 0.88rem;
  line-height: 1.55;
}

.studio-page .studio-cta-note a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.studio-page .studio-hero-video {
  margin: 0.15rem 0 0;
  min-width: 0;
}

.studio-page .studio-hero-video__title {
  margin: 0 0 0.7rem;
  color: #e4eaf2;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.studio-page .studio-hero-video__frame {
  position: relative;
  width: 100%;
  overflow: clip;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #1c447c;
  box-shadow: 0 22px 50px -28px rgba(0, 0, 0, 0.7);
  aspect-ratio: 16 / 9;
}

.studio-page .studio-hero-video__frame iframe,
.studio-page .studio-hero-video__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.studio-page .studio-hero-video__poster {
  text-decoration: none;
  background: #1c447c;
}

.studio-page .studio-hero-video__poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.studio-page .studio-hero-visual {
  margin: 0;
  min-width: 0;
  width: 100%;
}

.studio-page .studio-hero-visual__frame,
.studio-page .smx-scene__frame {
  position: relative;
  width: 100%;
  overflow: clip;
  min-height: 0;
}

.studio-page .studio-hero-visual__frame.capture {
  background: linear-gradient(180deg, #dfe7f2 0%, #cfd8e6 100%);
}

.studio-page .studio-hero-visual .desk {
  background: #eef2f7;
}

.studio-page .studio-hero-visual .desk__bar {
  background: #d5dde8;
}

.studio-page .studio-hero-visual .win {
  background: #ffffff;
  border-color: rgba(20, 28, 44, 0.08);
}

.studio-page .studio-hero-visual .win__chrome {
  background: #e8edf4;
}

.studio-page .studio-hero-visual .win b,
.studio-page .studio-hero-visual .win em {
  background: #d5dde8;
}

.studio-page .studio-hero-visual .win em {
  background: #cfd8e6;
}

.studio-page .studio-hero-visual .mark-n {
  background: #7ec8f0;
  color: #07111f;
}

.studio-page .smx-scene--inline {
  margin: 0;
}

.studio-page .smx-scene .capture__marquee {
  opacity: 0;
  transform: scale(0.02, 0.02);
}

.studio-page .smx-scene .capture__flash {
  display: block;
  opacity: 0;
}

.studio-page .smx-scene .mark-n,
.studio-page .smx-scene .capture-call,
.studio-page .smx-scene.is-visible .mark-n,
.studio-page .smx-scene.is-visible .capture-call {
  opacity: 1;
  transform: none;
  animation: none;
}

.studio-page .smx-scene .arrow-line,
.studio-page .smx-scene.is-visible .arrow-line {
  stroke-dashoffset: 0;
  animation: none;
}

.studio-page .smx-scene .capture__marquee,
.studio-page .smx-scene.is-visible .capture__marquee,
.studio-page .smx-scene .capture__flash,
.studio-page .smx-scene.is-visible .capture__flash {
  animation: none;
}

html:not(.js) .studio-page .smx-scene .capture__marquee,
html:not(.js) .studio-page .smx-scene .mark-n,
html:not(.js) .studio-page .smx-scene .capture-call {
  opacity: 1;
  transform: none;
}

html:not(.js) .studio-page .smx-scene .arrow-line {
  stroke-dashoffset: 0;
}

html:not(.js) .studio-page .smx-scene .capture__flash {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .studio-page .smx-scene .capture__marquee,
  .studio-page .smx-scene .mark-n,
  .studio-page .smx-scene .capture-call,
  .studio-page .smx-scene.is-visible .capture__marquee,
  .studio-page .smx-scene.is-visible .mark-n,
  .studio-page .smx-scene.is-visible .capture-call {
    animation: none !important;
    opacity: 1;
    transform: none;
  }

  .studio-page .smx-scene .arrow-line,
  .studio-page .smx-scene.is-visible .arrow-line {
    animation: none !important;
    stroke-dashoffset: 0;
  }

  .studio-page .smx-scene .capture__flash,
  .studio-page .smx-scene.is-visible .capture__flash {
    display: none;
    animation: none !important;
  }
}

.studio-page .studio-hero .cv-shot,
.studio-page .studio-hero .smx-hero-shot {
  margin: 0.15rem 0 0;
  border-radius: 16px;
  overflow: clip;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #1c447c;
  box-shadow: 0 22px 50px -28px rgba(0, 0, 0, 0.7);
}

.studio-page .studio-hero .cv-shot img,
.studio-page .studio-hero .smx-hero-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.studio-page .cv-shot,
.studio-page .smx-shot {
  margin: 0;
  border-radius: 16px;
  overflow: clip;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: 0 22px 50px -28px rgba(20, 28, 44, 0.35);
}

.studio-page .cv-shot img,
.studio-page .smx-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.studio-page .cv-shot-grid {
  display: grid;
  gap: 1rem;
  margin-top: 0.25rem;
}

@media (min-width: 800px) {
  .studio-page .cv-shot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.studio-page .studio-feature-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

@media (min-width: 720px) {
  .studio-page .studio-feature-list {
    grid-template-columns: 1fr 1fr;
  }
}

.studio-page .studio-feature {
  padding: 22px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: 0 22px 50px -28px rgba(20, 28, 44, 0.35);
}

.studio-page .studio-feature h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--fg);
}

.studio-page .studio-feature p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.studio-page .studio-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.studio-page .studio-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--muted);
  font-size: 0.82rem;
  text-decoration: none;
}

.studio-page .studio-chip:hover {
  color: var(--fg);
  border-color: var(--fg);
}

.studio-page .page-signup .skip {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.studio-page .page-signup .sub {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  margin-top: 1.15rem;
  max-width: 36rem;
}

.studio-page .page-signup .sub-email {
  flex: 1;
  min-width: 12rem;
  min-height: 2.75rem;
  padding: 0 1rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--fg);
  font: inherit;
  box-sizing: border-box;
}

.studio-page .page-signup .sub-email::placeholder {
  color: var(--muted);
}

.studio-page .page-signup .sub-email:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(232, 197, 71, 0.22);
}

.studio-page .page-signup .sub-email.is-invalid {
  border-color: #b42318;
}

.studio-page .page-signup .sub-error:not([hidden]) {
  flex-basis: 100%;
  margin: 0;
  color: #b42318;
  font-size: 0.9rem;
}

.studio-page .page-signup .page-signup__confirm {
  margin: 1rem 0 0;
  color: var(--fg);
  font-size: 1.02rem;
  line-height: 1.55;
}

.studio-page .page-signup .page-signup__confirm[hidden] {
  display: none;
}

.studio-page .page-signup .page-signup__confirm a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.studio-page .smx-org-strip {
  margin: 0;
  padding: 1.15rem 1.25rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: 0 22px 50px -28px rgba(20, 28, 44, 0.35);
}

.studio-page .smx-org-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.6;
}

.studio-page .smx-org-strip__kicker {
  margin: 0 0 0.35rem !important;
  font-size: 0.72rem !important;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg) !important;
}

.studio-page .smx-org-strip a,
.studio-page .smx-org-cta a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.studio-page .smx-feature-block {
  display: grid;
  gap: 1.25rem;
  align-items: center;
}

@media (min-width: 880px) {
  .studio-page .smx-feature-block--shot {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  }
}

.studio-page .smx-compare-wrap {
  overflow: clip;
  margin-top: 1.75rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--card);
}

.studio-page .smx-compare {
  width: 100%;
  min-width: 36rem;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.studio-page .smx-compare th,
.studio-page .smx-compare td {
  padding: 0.85rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.5;
}

.studio-page .smx-compare thead th {
  background: var(--paper-2);
  color: var(--fg);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 400;
}

.studio-page .smx-compare tbody th {
  color: var(--fg);
  font-weight: 650;
  width: 28%;
}

.studio-page .smx-org-cta {
  margin: 1.15rem 0 0;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--muted);
}

.studio-page .smx-plan h2,
.studio-page .smx-card h2,
.studio-page .smx-card h3,
.studio-page .smx-summary h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.03em;
}

.studio-page .ext-proof-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  padding: 1.5rem 0 2rem;
}

/* LOCKED 8 Nov 2026 — same scroll model as the passing homepage.
   Do not set overflow-y:auto (clip then computes as hidden). Do not restore
   even-section gray fills (they stitch as empty bands). */
html:has(body.studio-page) {
  overflow-x: clip;
  overflow-y: visible;
  overflow-anchor: none;
  overscroll-behavior: none;
}

body.studio-page {
  overflow: visible;
}

body.studio-page main,
body.studio-page .studio-section,
body.studio-page .studio-wrap,
body.studio-page .studio-grid,
body.studio-page .studio-hero,
body.studio-page .studio-tile,
body.studio-page .studio-feature,
body.studio-page .studio-feature-list,
body.studio-page .seo-faq,
body.studio-page .smx-feature-block {
  overflow: visible;
}

.studio-page .studio-reveal-delay-1,
.studio-page .studio-reveal-delay-2,
.studio-page .studio-reveal-delay-3 {
  transition-delay: 0s;
}

/* Unique Y landmarks so SnapMatrix Auto can overlap-match long card grids.
   Even-section paper fills looked like empty stitch gaps — do not restore them.
   Home already has navy/paper/navy; inner pages get one mid-page navy band plus
   cycling card-top edges (scoreShift only sees contrast >= 40). */
.studio-page section[aria-labelledby="privacy-heading"],
.studio-page #journal + .studio-section + .studio-section {
  background: var(--hero-ink);
  color: #e8ecf2;
}

.studio-page section[aria-labelledby="privacy-heading"] .studio-kicker,
.studio-page section[aria-labelledby="privacy-heading"] .studio-display,
.studio-page section[aria-labelledby="privacy-heading"] h2,
.studio-page section[aria-labelledby="privacy-heading"] .studio-lead,
.studio-page #journal + .studio-section + .studio-section .studio-display,
.studio-page #journal + .studio-section + .studio-section h2,
.studio-page #journal + .studio-section + .studio-section .studio-lead,
.studio-page #journal + .studio-section + .studio-section .studio-kicker {
  color: #e8ecf2;
}

.studio-page .studio-tile:nth-child(3n + 1),
.studio-page .studio-feature:nth-child(3n + 1) {
  border-top: 4px solid var(--hero-ink);
}

.studio-page .studio-tile:nth-child(3n + 2),
.studio-page .studio-feature:nth-child(3n + 2) {
  border-top: 4px solid var(--gold-bright);
}

.studio-page .studio-tile:nth-child(3n + 3),
.studio-page .studio-feature:nth-child(3n + 3) {
  border-top: 4px solid var(--cyan);
}
