/* =========================================================================
   In-feed phone mock (references/in-feed-phone-mock.md). One shell shared by
   static-ad/ and carousel/phone/ so the two can't drift. Stage in AZ Lifestyle Chiropractic's
   brand (tokens from ../assets/clinic.css); the UI inside renders as iOS.
   ========================================================================= */
.sa { position: relative; overflow: hidden; padding: clamp(46px, 7vh, 84px) 0 clamp(56px, 8vh, 96px); }
.sa__glow { position: absolute; left: 50%; top: 120px; transform: translateX(-50%); width: min(900px, 120vw); height: 700px; pointer-events: none;
  background: radial-gradient(45% 45% at 50% 50%, rgba(55, 95, 69, 0.16), transparent 70%); }
.sa__intro { position: relative; text-align: center; max-width: 620px; margin: 0 auto 34px; padding-inline: var(--gutter); }
.sa__intro > * + * { margin-top: 10px; }
.stage { position: relative; display: grid; place-items: center; }
.stage::after { content: ""; position: absolute; bottom: -18px; left: 50%; transform: translateX(-50%); width: 420px; height: 60px; max-width: 90vw;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.75), transparent); filter: blur(12px); z-index: -1; }
.phone-wrap { position: relative; }

/* ---- iPhone shell ---- */
.iphone { --w: 392px; --r: 62px; position: relative; width: var(--w); max-width: calc(100vw - 32px); aspect-ratio: 392 / 846; border-radius: var(--r); padding: 11px;
  background: linear-gradient(148deg, #6f6a63, #100e0c 30%, #7b756c 52%, #100e0c 74%, #6f6a63);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18), inset 0 0 0 2px rgba(0, 0, 0, 0.6), 0 60px 120px -30px rgba(0, 0, 0, 0.95), 0 30px 60px -30px rgba(0, 0, 0, 0.8); }
.iphone::before { content: ""; position: absolute; inset: 8px; border-radius: calc(var(--r) - 8px); background: #000; }
.iphone::after { content: ""; position: absolute; inset: 11px; border-radius: calc(var(--r) - 11px); z-index: 6; pointer-events: none;
  background: linear-gradient(128deg, rgba(255, 255, 255, 0.10), transparent 32%); }
.btn-side { position: absolute; width: 3px; border-radius: 2px; background: #3d3a35; }
.btn-side--mute { left: -3px; top: 132px; height: 30px; } .btn-side--up { left: -3px; top: 186px; height: 58px; }
.btn-side--down { left: -3px; top: 258px; height: 58px; } .btn-side--power { right: -3px; top: 208px; height: 92px; }
.screen { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; overflow: hidden; border-radius: calc(var(--r) - 11px); background: #fff; color: #000;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-size: 14px; letter-spacing: 0; line-height: 1.3; }

/* ---- iOS chrome ---- */
.status { position: relative; flex: 0 0 54px; display: flex; align-items: center; justify-content: space-between; padding: 6px 30px 0 34px; font-weight: 600; font-size: 15px; }
.island { position: absolute; left: 50%; top: 11px; transform: translateX(-50%); width: 116px; height: 33px; border-radius: 20px; background: #000; }
.island::after { content: ""; position: absolute; right: 14px; top: 11px; width: 11px; height: 11px; border-radius: 50%; background: #1b1e2b; }
.status__icons { display: flex; gap: 5px; align-items: center; }
.status__icons svg { height: 12px; width: auto; }
.homebar { flex: 0 0 22px; display: grid; place-items: center; background: #fff; }
.homebar::after { content: ""; width: 138px; height: 5px; border-radius: 3px; background: #000; }

/* ---- Instagram chrome ---- */
.ig-top { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 4px 14px 8px; }
.ig-logo { font-family: "Snell Roundhand", "Segoe Script", cursive; font-size: 30px; font-weight: 600; line-height: 1; }
.ig-top__icons { display: flex; gap: 18px; position: relative; }
.ig-top__icons svg { width: 24px; height: 24px; fill: none; stroke: #000; stroke-width: 1.85; }
.ig-badge { position: absolute; right: -7px; top: -6px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: #ff3040; color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.feed { flex: 1 1 auto; overflow: hidden; }
.post-head { display: flex; align-items: center; gap: 10px; padding: 8px 12px; }
.avatar-ring { width: 36px; height: 36px; border-radius: 50%; padding: 2px; background: conic-gradient(from 200deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5, #feda75); flex: 0 0 auto; }
.avatar-ring img { width: 100%; height: 100%; border-radius: 50%; border: 2px solid #fff; object-fit: cover; }
.post-head__name { font-weight: 600; font-size: 13.5px; display: flex; align-items: center; gap: 4px; }
.post-head__name svg { width: 13px; height: 13px; }
.post-head__sub { font-size: 12px; color: #737373; }
.post-head__menu { margin-left: auto; font-weight: 700; letter-spacing: 1px; }
.post-media { display: block; position: relative; width: 100%; aspect-ratio: 1; background: #000; }
.post-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cta-strip { display: flex; align-items: center; justify-content: space-between; padding: 11px 12px; background: #fafafa; border-bottom: 0.5px solid #dbdbdb; font-weight: 600; font-size: 14px; color: #000; text-decoration: none; }
.cta-strip svg { width: 14px; height: 14px; fill: none; stroke: #000; stroke-width: 2.2; }
.actions { position: relative; display: flex; align-items: center; gap: 15px; padding: 9px 12px 4px; }
.actions svg { width: 25px; height: 25px; fill: none; stroke: #000; stroke-width: 1.85; }
.actions .spacer { flex: 1; }
.likes { padding: 2px 12px; font-weight: 600; font-size: 13.5px; }
.caption { padding: 2px 12px; font-size: 13.5px; }
.caption b { font-weight: 600; }
.caption .more { color: #737373; }
.comments, .stamp { padding: 3px 12px; font-size: 13px; color: #737373; }
.stamp { font-size: 11px; }
.tabbar { flex: 0 0 48px; display: flex; justify-content: space-around; align-items: center; border-top: 0.5px solid #dbdbdb; background: #fff; }
.tabbar svg { width: 25px; height: 25px; fill: none; stroke: #000; stroke-width: 1.85; }
.tabbar svg.on { fill: #000; }
.tabbar img { width: 26px; height: 26px; border-radius: 50%; }

/* ---- callout ---- */
.callout { position: absolute; left: 100%; top: 57%; width: 230px; margin-left: 10px; pointer-events: none; transition: opacity 0.3s; }
.callout svg { width: 110px; height: 70px; overflow: visible; }
.callout .ln { fill: none; stroke: var(--sun); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 160; stroke-dashoffset: 160; }
.callout .ar { fill: var(--sun); opacity: 0; }
.reveal.is-in .callout .ln, .is-in .ln { animation: draw 0.9s 0.35s var(--ease) forwards; }
.reveal.is-in .callout .ar, .is-in .ar { animation: fadeIn 0.3s 1.15s forwards; }
.bubble { position: relative; display: inline-block; margin-top: 4px; padding: 10px 16px; border-radius: 14px; transform: rotate(-3deg);
  background: linear-gradient(135deg, var(--sun), #f6c343); color: #14201a; font: 600 1.05rem var(--display); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
.hint { text-align: center; margin-top: 26px; color: var(--muted); font-size: 0.9rem; }
.copybox { max-width: 560px; margin: 44px auto 0; padding-inline: var(--gutter); }
.copybox h2 { font-family: var(--display); font-size: 1.3rem; margin-bottom: 14px; }
.copybox ol { padding-left: 20px; display: grid; gap: 6px; color: var(--ink); }
.copybox p.label { margin-top: 22px; margin-bottom: 8px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.copybox .card { padding: 18px; }
.copybox .card p + p { margin-top: 8px; }

@media (max-width: 980px) {
  .callout { position: static; width: auto; margin: 18px auto 0; text-align: center; }
  .callout svg { display: none; }
}
@media (max-width: 460px) { .iphone { --w: 320px; --r: 50px; } }
@media (prefers-reduced-motion: reduce) { .callout .ln { stroke-dashoffset: 0; animation: none; } .callout .ar { opacity: 1; animation: none; } }
