/* AI studio page. Loads after styles.css and reuses its tokens; photos are the only decoration. */

.studio-hero .hero-grid { align-items: center; }
@media (min-width: 901px) { .studio-hero .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
/* The landing hero's type and facts strip are sized for a different column; the studio keeps its own. */
.studio-hero h1.display { font-size: clamp(40px, 5.2vw, 76px); line-height: 1.02; overflow-wrap: break-word; }
.studio-hero .facts { grid-template-columns: repeat(3, minmax(0, max-content)); gap: 0 clamp(24px, 3.4vw, 48px); margin-top: 44px; background: none; border: 0; border-top: 1.5px solid var(--ink); border-radius: 0; max-width: 560px; }
.studio-hero .facts li { padding: 18px 0 0; border: 0; font-size: 14px; }
.studio-hero .facts li + li { border: 0; }
.studio-hero .facts b { font-size: clamp(28px, 2.6vw, 36px); white-space: nowrap; }
@media (max-width: 520px) { .studio-hero .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 16px; } .studio-hero .facts b { font-size: 26px; } }

/* ---------- before / after compare ---------- */
.compare { --pos: 50%; position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 14px; background: var(--counter); box-shadow: 0 40px 70px -40px rgba(17, 20, 18, .45); user-select: none; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare .after { clip-path: inset(0 0 0 var(--pos)); }
.compare::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--paper); box-shadow: 0 0 0 1px rgba(17, 20, 18, .18); pointer-events: none; }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare input:focus-visible + .handle { outline: 2px solid var(--ink); outline-offset: 3px; }
.handle { position: absolute; top: 50%; left: var(--pos); width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--ink); display: grid; place-items: center; font: 500 15px/1 var(--mono); pointer-events: none; }
.tag { position: absolute; top: 14px; padding: 5px 10px 4px; border-radius: 6px; background: rgba(250, 250, 247, .92); font: 500 12px/1.2 var(--mono); color: var(--ink); pointer-events: none; }
.tag-before { left: 14px; }
.tag-after { right: 14px; }

/* ---------- product case ---------- */
.case { border-top: 1px solid var(--rule); }
.case:nth-of-type(even) { background: var(--counter); }
.case-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 72px); align-items: start; margin-bottom: clamp(28px, 4vw, 44px); }
.case-head h2 { margin-bottom: 14px; }
.case-head .direction { margin: 0; color: var(--ink-2); max-width: 36em; }
.case-no { font-size: 13px; color: var(--ink-3-light); margin: 0 0 14px; }

/* original phone photos, shown small and honest */
.before { margin: 0; }
.before-strip { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.before-strip img { flex: 0 0 auto; height: 132px; width: auto; border-radius: 8px; border: 1px solid var(--rule); }
.before figcaption, .shot figcaption { font: 400 12px/1.3 var(--mono); color: var(--ink-3-light); margin-top: 8px; }

/* six-shot package: rows of equal height, width by aspect ratio */
.shots { display: flex; flex-direction: column; gap: 10px; }
.shots-row { display: flex; gap: 10px; }
.shot { margin: 0; flex: var(--ar, 1) 1 0; min-width: 0; }
.shot img { width: 100%; height: auto; aspect-ratio: var(--ar, 1); object-fit: cover; border-radius: 10px; background: var(--rule); }
.shot.tall { --ar: .6667; }
.shot figcaption { display: flex; gap: 8px; }
.shot figcaption b { color: var(--ink); font-weight: 500; }
@media (max-width: 700px) {
  .case-head { grid-template-columns: minmax(0, 1fr); }
  .shots, .shots-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .shots-row { display: contents; }
  .shot img { aspect-ratio: auto; }
}

.shoot { background: var(--counter); }
.receipt-offer .r-items li span:last-child { color: var(--ink-3-light); }

/* ---------- more examples: phone photo next to studio photo ---------- */
.more { border-top: 1px solid var(--rule); }
.pairs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 20px; }
.pair { margin: 0; }
.pair-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.pair-imgs > div { position: relative; }
.pair-imgs img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 8px; background: var(--rule); }
.pair .tag { top: 8px; left: 8px; font-size: 11px; }
.pair figcaption { margin-top: 10px; font-size: 15px; font-weight: 500; }
@media (max-width: 900px) { .pairs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .pairs { grid-template-columns: minmax(0, 1fr); } }

/* ---------- packages ---------- */
.packages { background: var(--counter); }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; gap: 16px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 28px 24px 24px; background: var(--paper); border: 1px solid var(--rule); border-radius: 14px; }
.plan-main { border: 1.5px solid var(--ink); }
.plan-price { font: var(--display-w) 40px/1 var(--display); letter-spacing: var(--display-ls); margin: 14px 0 18px; font-feature-settings: "tnum"; }
.plan ul { list-style: none; padding: 16px 0 0; margin: 0 0 24px; border-top: 1px solid var(--rule); color: var(--ink-2); font-size: 15px; flex: 1; }
.plan li { padding: 4px 0; }
@media (max-width: 820px) { .plans { grid-template-columns: minmax(0, 1fr); } }

/* ---------- how it works ---------- */
.steps-3 { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); counter-reset: s; }
.steps-3 li { border-top: 1.5px solid var(--ink); padding-top: 18px; }
.steps-3 .mono { font-size: 13px; color: var(--ink-3-light); margin: 0 0 10px; }
.steps-3 p:last-child { color: var(--ink-2); margin: 8px 0 0; }
@media (max-width: 820px) { .steps-3 { grid-template-columns: minmax(0, 1fr); } }

.rule-note { margin-top: clamp(32px, 4vw, 48px); padding: 22px 24px; border: 1px solid var(--rule); border-radius: 12px; background: var(--paper); max-width: 760px; }
.rule-note h3 { margin-bottom: 6px; }
.rule-note p { margin: 0; color: var(--ink-2); }

.studio-cta { background: var(--ink); color: var(--paper); }
.studio-cta h2 { max-width: 16em; }
.studio-cta p { color: #C9CCC6; max-width: 40em; margin: 16px 0 30px; font-size: 18px; }
.studio-cta .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.studio-cta .btn:hover { background: #E6E7E1; border-color: #E6E7E1; }
