.studio-page {
  overflow-x: clip;
}

.studio-page .header {
  position: relative;
  border-bottom: 1px solid #29272266;
}
.studio-site-menu { position: relative; margin-inline-start: auto; }
.studio-site-menu summary {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  list-style: none;
  cursor: pointer;
}
.studio-site-menu summary::-webkit-details-marker { display: none; }
.studio-site-menu summary:hover { color: var(--red); }
.studio-site-menu summary:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.studio-site-menu nav {
  position: absolute;
  inset: 100% 0 auto auto;
  width: min(168px, calc(100vw - 30px));
  max-height: calc(100dvh - 84px);
  overflow: auto;
  overscroll-behavior: contain;
  padding: 0 12px;
  border: 1px solid var(--ink);
  background: var(--paper);
  box-shadow: 4px 4px 0 #17171528;
}
.studio-site-menu nav a { display: flex; align-items: center; min-height: 44px; padding: 6px 4px; font-size: 14px; font-weight: 700; }
.studio-site-menu nav a + a { border-top: 1px solid #29272255; }
.studio-site-menu nav a:hover { color: var(--red); }
.studio-site-menu nav a:focus-visible { outline-offset: -2px; }
.studio-page .header-center { position: absolute; left: 50%; transform: translateX(-50%); }

.studio-journey {
  --handset-width: min(310px, 42vw, 36svh);
  --handset-travel: 32px;
  --hero-handset-scale: .7;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-areas: "hero" "stage";
  width: min(1280px, calc(100% - 10%));
  margin: 0 auto;
  padding: 18px 0 36px;
}

.studio-hero-copy {
  grid-area: hero;
  position: relative;
  z-index: 1;
  margin-bottom: -9px;
  text-align: center;
}
.studio-hero-copy p {
  max-width: 45ch;
  margin: 0 auto 14px;
  font-size: clamp(14px, 1.6vw, 17px);
  line-height: 1.4;
}
.studio-hero-copy .studio-hero-purpose {
  max-width: none;
  margin: 0 auto 12px;
  font: 600 clamp(11px, 1.55vw, 17px)/1.45 var(--cond);
  letter-spacing: .09em;
  text-transform: uppercase;
}
.studio-hero-purpose strong { color: var(--red); }
.studio-hero-copy .studio-hero-benefit { max-width: 47ch; margin: 12px auto 14px; text-wrap: balance; }
.studio-hero-benefit span { color: var(--red); font-weight: 700; }
.studio-hero-copy h1 {
  margin: 0;
  color: var(--ink);
  font: 700 clamp(35px, 8.5vw, 112px)/.98 var(--cond);
  letter-spacing: -.04em;
}
.studio-hero-copy h1 span { color: var(--red); }

.studio-preview {
  --handset-scale: calc(var(--hero-handset-scale) + (1 - var(--hero-handset-scale)) * var(--handset-growth, 0));
  grid-area: stage;
  position: sticky;
  top: clamp(14px, 5.5svh, 48px);
  align-self: start;
  justify-self: center;
  width: var(--handset-width);
  padding-bottom: var(--handset-travel);
  transform-origin: top center;
  z-index: 5;
  pointer-events: none;
  touch-action: pan-y;
  will-change: transform;
}

.studio-preview .phone {
  width: 100%;
  height: auto;
  aspect-ratio: 242 / 493;
  transform: scale(var(--handset-scale));
  transform-origin: top center;
  transition: none;
  border-radius: clamp(27px, 8vw, 43px);
  box-shadow: 16px 24px 42px #322a2038, 3px 4px 0 #8e8a80;
}

.studio-preview .phone::before { border-radius: inherit; }

.studio-preview .phone-screen {
  position: absolute;
  inset: 0;
  margin: 4px;
  height: auto;
  border-radius: clamp(22px, 7vw, 35px);
}

.studio-preview .phone-status {
  padding-inline: 10%;
  background: #141414;
  color: #fff;
  font-size: 9px;
}

.studio-preview .dynamic-island {
  width: 29%;
  height: 12px;
  top: 5px;
}

.demo-screen {
  position: relative;
  height: calc(100% - 22px);
  overflow: hidden;
  background: #141414;
}
.demo-screen iframe {
  display: block;
  width: 390px;
  height: 800px;
  border: 0;
  transform: scale(var(--demo-scale, .6));
  transform-origin: top left;
  pointer-events: none;
}

.studio-phone-action {
  position: absolute;
  z-index: 4;
  inset: 0;
  border: 0;
  border-radius: inherit;
  background: transparent;
  pointer-events: auto;
  cursor: zoom-in;
}
.studio-phone-action:focus-visible { outline: 3px solid var(--red); outline-offset: -4px; }
.studio-phone-hint {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 8px 2px 2px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: 700 clamp(11px, 2.7vw, 14px)/1.2 var(--sans);
  text-align: center;
  transform: translateY(calc(var(--handset-width) * 2.037 * (var(--handset-scale) - 1)));
  cursor: pointer;
  pointer-events: auto;
}
.studio-phone-hint:hover { color: var(--red); }
.studio-dock {
  position: relative;
  display: grid;
  place-items: center;
  align-self: start;
  min-height: calc(var(--handset-width) * 1.2);
  overflow: hidden;
}
.studio-admin .studio-dock { min-height: calc(var(--handset-width) * 2.037 + 44px); }
.studio-dock::before,
.studio-dock::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(87%, calc(var(--handset-width) * 1.2));
  aspect-ratio: 1.17;
  border: 1px solid #ab26362b;
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%) rotate(-24deg);
}
.studio-dock::before {
  background: radial-gradient(ellipse, #cf4a362b, #cf4a3600 72%);
}
.studio-dock::after {
  transform: translate(-50%, -50%) rotate(24deg);
}
.studio-devices {
  --hero-phone-width: calc(var(--handset-width) * var(--hero-handset-scale));
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  padding-bottom: 16px;
  overflow: visible;
  background: radial-gradient(ellipse 54% 25% at 49% 87%, #60372921, transparent);
}
.studio-devices > * { grid-area: 1 / 1; }
.studio-devices::before,
.studio-devices::after { content: none; }
.studio-hero-phone-slot { width: var(--hero-phone-width); height: calc(var(--hero-phone-width) * 2.037 + 44px); pointer-events: none; }
.studio-laptop {
  position: relative;
  width: min(40%, 284px);
  margin-bottom: clamp(52px, 11vw, 78px);
  transform: translateX(calc(-24% - var(--hero-phone-width) * .46)) rotate(-11deg);
  transform-origin: 76% 100%;
  padding: clamp(3px, .75vw, 10px);
  border-radius: clamp(5px, 1vw, 12px);
  background: #22201c;
  box-shadow: 4px 7px 16px #322a2038;
}
.studio-laptop::after {
  position: absolute;
  top: calc(100% - 1px);
  left: -6%;
  width: 112%;
  height: clamp(5px, 1.3vw, 13px);
  border-radius: 0 0 42% 42%;
  background: linear-gradient(#8d8980, #504c45);
  content: "";
}
.studio-laptop-screen {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #f1efe5;
}
.studio-laptop-screen iframe {
  display: block;
  width: 1024px;
  height: 640px;
  border: 0;
  transform: scale(var(--laptop-scale, .4));
  transform-origin: top left;
  pointer-events: none;
}
.studio-device-hit { position: absolute; inset: 0; width: 100%; border: 0; background: transparent; cursor: zoom-in; }
.studio-tent {
  position: relative;
  isolation: isolate;
  width: min(27%, 148px);
  margin-bottom: clamp(56px, 12vw, 76px);
  transform: translateX(calc(37% + var(--hero-phone-width) * .55)) rotate(12deg);
  transform-origin: 25% 100%;
  color: var(--ink);
  text-align: center;
}
.studio-tent::before {
  position: absolute;
  z-index: -1;
  inset: 0 -12% -4px 28%;
  background: linear-gradient(110deg, #302720 62%, #6b5644);
  clip-path: polygon(84% 0, 100% 100%, 0 100%);
  content: "";
}
.studio-tent-face {
  display: grid;
  justify-items: center;
  gap: clamp(4px, .85vw, 12px);
  padding: clamp(5px, 1.3vw, 17px);
  border: 1px solid #3f352b;
  border-top: clamp(3px, .5vw, 6px) solid var(--red);
  border-bottom-width: 3px;
  background: linear-gradient(145deg, #fffcf0 34%, #e9dfc9);
  box-shadow: 6px 10px 18px #322a202b;
}
.studio-tent img { display: block; width: 100%; height: auto; max-width: 112px; background: #fff; }
.studio-tent img[hidden] { display: none; }
.studio-tent-brand { font: 700 clamp(9px, 2.5vw, 24px)/1 var(--cond); white-space: nowrap; }
.studio-tent-brand span { color: var(--red); }
.studio-tent-caption {
  display: flex;
  justify-content: space-between;
  gap: 3px;
  width: 100%;
  padding-top: clamp(3px, .6vw, 8px);
  border-top: 1px solid #3f352b80;
  font: 700 clamp(6px, 1.5vw, 11px)/1.1 var(--sans);
  white-space: nowrap;
}
.studio-tent-caption span:last-child { color: var(--red); }
.studio-tent:hover .studio-tent-face { background: #fffaf0; }

@media (min-width: 801px) {
  .studio-devices {
    background: radial-gradient(ellipse 40% 22% at 49% 87%, #60372921, transparent);
  }
  .studio-laptop {
    width: min(43%, 428px);
    margin-bottom: 78px;
    transform: translateX(calc(-38% - var(--hero-phone-width) * .32)) rotate(-11deg);
  }
  .studio-tent {
    width: clamp(142px, 15vw, 184px);
    margin-bottom: 76px;
    transform: translateX(calc(45% + var(--hero-phone-width) * .44)) rotate(12deg);
  }
}
.studio-mark {
  position: relative;
  width: min(44%, 112px);
  color: #aa293e85;
  stroke: currentColor;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.studio-panels { grid-area: stage; min-width: 0; }
.studio-panel {
  display: grid;
  grid-template-columns: minmax(var(--handset-width), .94fr) minmax(0, 1fr);
  column-gap: clamp(22px, 5vw, 76px);
  padding: 32px 0;
  border-bottom: 1px solid #28261e88;
  scroll-margin-top: 32px;
}
.studio-panel + .studio-panel { margin-top: 8px; }
.studio-panel-copy {
  display: flex;
  flex-direction: column;
  align-self: center;
  min-width: 0;
  padding-block: 10px;
}
.studio-panel:last-child { border-bottom: 0; }
.studio-intro { padding-top: 0; }
.studio-kicker {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
}
.studio-kicker span:last-child { color: var(--red); text-align: right; }
.studio-panel h2 {
  color: var(--ink);
  font: 700 clamp(33px, 5.4vw, 78px)/.98 var(--cond);
  letter-spacing: -.04em;
  margin: 0;
}
.studio-panel h2 span { color: var(--red); }
.studio-lead { max-width: 38ch; font-size: 17px; line-height: 1.48; margin: 18px 0 20px; }
.studio-task { max-width: 42ch; margin: 0; font-size: 14px; font-weight: 700; line-height: 1.4; }
.studio-dialog { width: min(430px, calc(100% - 20px)); max-width: calc(100% - 20px); max-height: 94vh; max-height: 94dvh; }
.studio-dialog .dialog-head { background: var(--paper); padding: 8px 12px; }
.studio-dialog .dialog-head h2 { margin: 0; font: 700 22px var(--cond); }
.studio-dialog .dialog-close { min-width: 44px; min-height: 44px; color: var(--ink); }
#demoZoom {
  display: block;
  width: 0;
  min-width: 100%;
  max-width: 100%;
  height: min(73vh, 780px);
  height: min(73dvh, 780px);
  border: 0;
  background: #141414;
}
.studio-demo-link { display: block; min-height: 44px; padding: 12px; color: var(--ink); font-size: 14px; text-align: center; }
.studio-back-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
  letter-spacing: normal;
}
.studio-back-top:hover { color: var(--red); }
.studio-back-top.is-floating {
  position: fixed;
  z-index: 31;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  box-shadow: 3px 3px 0 #17171528;
}

.studio-outro {
  width: min(1280px, calc(100% - 10%));
  margin: 0 auto 48px;
}
.studio-launch {
  padding: 22px 0 36px;
  border-top: 1px solid #28261e88;
}
.studio-outro h2 {
  margin: 0;
  font: 700 clamp(37px, 6.4vw, 88px)/1 var(--cond);
  letter-spacing: -.04em;
}
.studio-outro h2 span { color: var(--red); }
.studio-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.studio-benefits li {
  min-width: 0;
  padding: 16px;
  border: 1px solid #29272277;
}
.studio-benefits h3 { margin: 0; font: 700 clamp(19px, 2.6vw, 37px)/1.12 var(--cond); overflow-wrap: anywhere; }
.studio-benefits p { margin: 8px 0 0; font-size: 15px; line-height: 1.4; }
.studio-domain-example { overflow-wrap: anywhere; }
.studio-case { padding: clamp(18px, 4vw, 54px); background: #22201c; color: #fcf2df; }
.studio-case .studio-kicker { border-color: #fcf2df55; color: #f4bc6e; }
.studio-case h2 span { color: #f4bc6e; }
.studio-case p { margin: 16px 0 0; font-size: 16px; line-height: 1.45; }
.studio-case-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.studio-case-link { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 12px; border: 1px solid #f4bc6e; color: #fcf2df; font-size: 12px; font-weight: 700; }
.studio-case-link:first-child { background: #f4bc6e; color: #22201c; }
.studio-case-link:hover { background: #fcf2df; color: #22201c; }
.studio-section { padding: clamp(28px, 4vw, 54px) 0; border-top: 1px solid #28261e88; }
.studio-case + .studio-section { border-top: 0; }
.studio-steps, .studio-included {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.studio-steps li, .studio-included > div { padding-top: 14px; border-top: 1px solid #29272277; }
.studio-steps li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; }
.studio-step-number { color: var(--red); font: 700 16px/1.5 var(--cond); }
.studio-section h3 { margin: 0; font: 700 clamp(20px, 2.6vw, 32px)/1.15 var(--cond); }
.studio-section p { margin: 8px 0 0; font-size: 16px; line-height: 1.45; }
.studio-contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 640px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.studio-contact-links li { flex: 1 1 240px; min-width: 0; }
.studio-contact-links a {
  display: grid;
  gap: 4px;
  padding: 12px 16px;
  border: 1px solid currentColor;
  overflow-wrap: anywhere;
}
.studio-contact-links a:hover strong { text-decoration: underline; }
.studio-contact-links a:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.studio-lead-form { max-width: 640px; margin-top: 32px; padding-top: 24px; border-top: 1px solid #29272277; }
.studio-lead-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.studio-lead-fields label { min-width: 0; font-weight: 700; }
.studio-lead-fields label span { font-weight: 400; }
.studio-lead-wide { grid-column: 1 / -1; }
.studio-lead-fields :is(input, textarea) { display: block; width: 100%; min-height: 44px; margin-top: 4px; padding: 8px 12px; border: 1px solid #29272288; border-radius: 0; background: transparent; color: inherit; font: inherit; font-size: 16px; font-weight: 400; }
.studio-lead-fields textarea { resize: vertical; }
.studio-lead-form button { min-height: 44px; margin-top: 12px; padding: 8px 16px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); font: inherit; font-weight: 700; cursor: pointer; }
.studio-lead-form button:disabled { opacity: .65; cursor: wait; }
.studio-lead-form :is(button, input, textarea):focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.studio-lead-form .studio-lead-note, .studio-lead-form .studio-lead-status { font-size: 14px; }
.studio-lead-status:empty { margin: 0; }
.studio-lead-status[data-error] { color: var(--red); }
.studio-faq { margin-top: 24px; border-top: 1px solid #29272277; }
.studio-faq details { border-bottom: 1px solid #29272277; }
.studio-faq summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 12px 4px;
  list-style: none;
  cursor: pointer;
  font-weight: 700;
}
.studio-faq summary::-webkit-details-marker { display: none; }
.studio-faq summary::after { content: '+' / ''; color: var(--red); font: 700 20px/1 var(--sans); }
.studio-faq details[open] summary::after { content: '−' / ''; }
.studio-faq summary:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.studio-faq p { max-width: 64ch; margin: 0; padding: 0 22px 14px 4px; }

@media (max-width: 800px) {
  .studio-page .header-center { display: none; }
  .studio-journey { --handset-width: min(43vw, 270px, 37svh); width: calc(100% - 30px); padding: 16px 0 28px; }
  .studio-outro { width: calc(100% - 30px); margin-bottom: 28px; }
  .studio-panel { column-gap: clamp(12px, 3.5vw, 24px); padding: 25px 0; scroll-margin-top: 12px; }
  .studio-intro { padding-top: 0; }
  .studio-hero-copy { margin-bottom: -5px; }
  .studio-hero-copy h1 { font-size: clamp(30px, 10.1vw, 74px); }
  .studio-kicker { font-size: 9px; margin-bottom: 13px; padding-bottom: 8px; }
  .studio-panel h2 { font-size: clamp(22px, 6.25vw, 47px); line-height: 1.02; overflow-wrap: anywhere; }
  .studio-lead { font-size: 14px; margin: 12px 0 16px; }
  .studio-task { font-size: 13px; }
}

@media (max-width: 640px) {
  .studio-benefits { grid-template-columns: 1fr; gap: 8px; margin-top: 16px; }
  .studio-benefits li { display: grid; grid-template-columns: minmax(100px, .9fr) 1fr; align-items: center; gap: 10px; padding: 12px; }
  .studio-benefits h3 { font-size: clamp(15px, 4.6vw, 21px); }
  .studio-benefits p { margin: 0; font-size: 14px; }
}

@media (max-width: 480px) {
  .studio-lead-fields { grid-template-columns: 1fr; }
  .studio-kicker span:last-child { display: none; }
  .studio-steps, .studio-included { grid-template-columns: 1fr; gap: 12px; }
  .studio-section p { font-size: 15px; }
}

@media (max-width: 350px) {
  .studio-journey { --handset-width: min(41vw, 37svh); width: calc(100% - 24px); }
  .studio-outro { width: calc(100% - 24px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

