/* Pulkit Editing: studio pages (loaded after site.css) */

.studio { --tc: var(--accent); --tc-fg: var(--accent-fg); --tc-ink: var(--on-accent); }
.studio--brands { --tc: var(--accent-2); --tc-fg: var(--accent-2-fg); --tc-ink: var(--on-accent-2); }
.studio--local { --tc: var(--accent-3); --tc-fg: var(--accent-3-fg); --tc-ink: var(--on-accent-3); }

.s-hero { position: relative; padding: clamp(1.4rem, 1rem + 1.6vw, 2.4rem) 0 clamp(3rem, 2rem + 4vw, 6rem); isolation: isolate; }
.s-hero::before {
  content: ""; position: absolute; z-index: -1; right: -20vw; top: -24vw; width: 70vw; height: 70vw; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--tc) 26%, transparent) 0%, transparent 62%); pointer-events: none;
}

/* You-are-here sequence: this studio's clip lit, its neighbours dimmed */
.seq { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.4rem 0.6rem 0.6rem; margin-bottom: clamp(2rem, 1.4rem + 2.4vw, 3.6rem); position: relative; }
.seq .tl__track--v1 { height: 54px; }
.seq .tl__track--a1 { height: 26px; }
.seq .clip { opacity: 0.42; filter: saturate(0.55); }
.seq a.clip:hover { opacity: 0.85; filter: none; }
.seq .clip.is-here { opacity: 1; filter: none; font-size: 0.86rem; box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--cloud) 90%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.seq .playhead { left: calc(0.6rem + var(--head-col) + (100% - 1.2rem - var(--head-col)) * var(--here, 0.3)); }
@media (prefers-reduced-motion: no-preference) {
  .seq .playhead { animation: seq-in 1.3s var(--ease-out) both 0.15s; }
}
@keyframes seq-in { from { left: calc(0.6rem + var(--head-col)); } }

.s-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: center; }
.s-hero h1 { font-size: clamp(2.6rem, 1.1rem + 3.7vw, 4.6rem); line-height: 0.98; margin-bottom: 1.25rem; }
.s-hero .lede { margin-bottom: 2rem; }
.s-facts { margin-top: 2.2rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.s-facts div { padding: 1rem 1rem 0 0; }
.s-facts dt { font-size: 0.78rem; color: var(--mist); margin-bottom: 0.25rem; }
.s-facts dd { font-weight: 600; font-size: 0.98rem; }
@media (max-width: 1023px) { .s-hero__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 559px) { .s-facts { grid-template-columns: 1fr 1fr; } }
.studio .monitor { border-color: color-mix(in srgb, var(--tc) 40%, var(--line)); }

/* Why */
.why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.why h2 { margin-bottom: 1.4rem; font-size: clamp(1.9rem, 1rem + 2.3vw, 3.1rem); }
.why p { color: color-mix(in srgb, var(--cloud) 84%, transparent); font-size: clamp(1.05rem, 0.98rem + 0.3vw, 1.2rem); max-width: 54ch; }
.why p + p { margin-top: 1rem; }
@media (max-width: 899px) { .why { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 479px) { .sizes { gap: 0.6rem; } .sizes .r916 { width: 54px; height: 96px; } .sizes .r11 { width: 76px; height: 76px; } .sizes .r169 { width: 120px; height: 68px; } }

.panel { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.1rem, 0.8rem + 1.2vw, 1.8rem); }
.panel__cap { margin-top: 0.9rem; font-size: 0.78rem; color: var(--mist); }
.panel__title { font-weight: 600; font-size: 0.95rem; margin-bottom: 1rem; }

/* Retention chart (founders) */
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart .axis { stroke: color-mix(in srgb, var(--cloud) 14%, transparent); stroke-width: 1; }
.chart .lbl { fill: var(--mist); font: 500 12px Inter, sans-serif; }
.chart .big { fill: var(--cloud); font: 600 23px "Clash Display", sans-serif; }
.chart .area { fill: url(#retFill); }
.chart stop { stop-color: var(--accent); }
.chart .line { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.chart .dot { fill: var(--ink-2); stroke: var(--accent); stroke-width: 3; }
@media (prefers-reduced-motion: no-preference) {
  .js .chart .line { stroke-dasharray: 700; stroke-dashoffset: 700; transition: stroke-dashoffset 1.8s var(--ease-out); }
  .js .chart.is-in .line { stroke-dashoffset: 0; }
}

/* Ad jobs as stacked tracks (brands) */
.jobs { display: grid; gap: 0.6rem; }
.job { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); align-items: stretch; gap: 0.6rem; }
.job__when { font-size: 0.8rem; color: var(--mist); display: flex; align-items: center; }
.job__clip { position: relative; border-radius: 10px; padding: 1.05rem 1.1rem 1rem; background: color-mix(in srgb, var(--jc) 18%, var(--ink-3)); overflow: hidden; }
.job__clip::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--jc); }
.job__clip b { display: block; font: 600 1.15rem/1.2 var(--display); margin-bottom: 0.3rem; }
.job__clip span { color: color-mix(in srgb, var(--cloud) 80%, transparent); font-size: 0.93rem; }
@media (max-width: 559px) { .job { grid-template-columns: 1fr; gap: 0.3rem; } .job__when { padding-left: 0.2rem; } }

/* Every size (brands) */
.sizes { display: flex; align-items: flex-end; justify-content: center; gap: 1rem; padding: 1.6rem 0 0.4rem; }
.sizes span { display: grid; place-items: center; border: 1.5px solid var(--line-2); border-radius: 8px; font-size: 0.78rem; font-weight: 700; color: var(--mist); background: color-mix(in srgb, var(--cloud) 3%, transparent); }
.sizes .r916 { width: 72px; height: 128px; border-color: var(--tc-fg); color: var(--cloud); }
.sizes .r11 { width: 100px; height: 100px; }
.sizes .r169 { width: 160px; height: 90px; }

/* The usual agency vs this plan (local) */
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.vs > div { border-radius: 12px; padding: 1.2rem 1.2rem 1.3rem; border: 1px solid var(--line); }
.vs h3 { font-size: 1.05rem; margin-bottom: 0.9rem; }
.vs ul { list-style: none; display: grid; gap: 0.6rem; font-size: 0.95rem; }
.vs li { display: grid; grid-template-columns: 16px 1fr; gap: 0.6rem; }
.vs li svg { width: 16px; height: 16px; margin-top: 0.3em; }
.vs__them { background: rgba(0, 0, 0, 0.2); color: var(--mist); }
.vs__us { background: color-mix(in srgb, var(--tc) 16%, var(--ink-2)); border-color: color-mix(in srgb, var(--tc) 55%, transparent) !important; }
.vs__us svg { color: var(--tc-fg); }
@media (max-width: 559px) { .vs { grid-template-columns: 1fr; } }

/* Month calendar (local) */
.month { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.month b { font-size: 0.7rem; color: var(--mist); text-align: center; padding-bottom: 0.3rem; font-weight: 600; }
.month span { aspect-ratio: 1; border-radius: 7px; background: color-mix(in srgb, var(--cloud) 4%, transparent); position: relative; }
.month .plan-day { background: color-mix(in srgb, var(--cloud) 18%, transparent); }
.month .shoot { background: var(--tc); }
.month .reel::after { content: ""; position: absolute; left: 50%; top: 50%; width: 30%; height: 46%; transform: translate(-50%, -50%); border-radius: 3px; background: var(--tc-fg); }
.legend { display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem; margin-top: 1rem; font-size: 0.8rem; color: var(--mist); }
.legend i { display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: 0.4rem; vertical-align: -1px; }

/* How it works as a sequence */
.flow { list-style: none; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); position: relative; }
.flow::before { content: ""; position: absolute; left: 0; right: 0; top: 2.2rem; height: 2px; background: linear-gradient(90deg, var(--tc), color-mix(in srgb, var(--tc) 15%, transparent)); }
.flow li { position: relative; padding-right: 1.4rem; }
.flow__when { display: block; font-size: 0.78rem; font-weight: 700; color: var(--mist); margin-bottom: 0.65rem; min-height: 1.2rem; }
.flow__mark { display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--ink); border: 3px solid var(--tc); margin-bottom: 1.2rem; position: relative; z-index: 1; }
.flow li:first-child .flow__mark { background: var(--tc); }
.flow h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.flow p { color: var(--mist); font-size: 0.96rem; max-width: 30ch; }
@media (max-width: 899px) {
  .flow { grid-template-columns: 1fr; gap: 1.6rem; padding-left: 1.8rem; }
  .flow::before { left: 6px; right: auto; top: 0.4rem; bottom: 0.4rem; width: 2px; height: auto; background: linear-gradient(180deg, var(--tc), color-mix(in srgb, var(--tc) 15%, transparent)); }
  .flow li { padding-right: 0; }
  .flow__mark { position: absolute; left: -1.8rem; top: 0.1rem; margin: 0; }
  .flow__when { margin-bottom: 0.3rem; min-height: 0; }
}

/* Plans */
.plans { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 0.9rem; }
.plan { position: relative; display: flex; flex-direction: column; padding: 1.4rem 1.3rem 1.5rem; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line); }
.plan__tag { align-self: flex-start; font-size: 0.74rem; font-weight: 700; padding: 0.3rem 0.65rem; border-radius: 999px; background: color-mix(in srgb, var(--cloud) 7%, transparent); color: var(--mist); margin-bottom: 1rem; }
.plan h3 { font-size: 1.35rem; margin-bottom: 0.35rem; }
.plan__qty { font-weight: 600; margin-bottom: 1rem; }
.plan ul { list-style: none; display: grid; gap: 0.55rem; font-size: 0.94rem; color: color-mix(in srgb, var(--cloud) 84%, transparent); }
.plan li { display: grid; grid-template-columns: 15px 1fr; gap: 0.6rem; }
.plan li svg { width: 15px; height: 15px; margin-top: 0.3em; color: var(--tc-fg); }
.plan--best { border-color: var(--tc); background: linear-gradient(180deg, color-mix(in srgb, var(--tc) 18%, var(--ink-2)), var(--ink-2) 55%); box-shadow: 0 30px 60px -36px color-mix(in srgb, var(--tc) 70%, transparent); }
.plan--best .plan__tag { background: var(--tc); color: var(--tc-ink); }
.plans__note { margin-top: 1.6rem; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 1rem 2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); color: var(--mist); }
.plans__note .price b { font-size: 1.7rem; }
.plans__note p { max-width: 60ch; }
@media (max-width: 1099px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .plans { grid-template-columns: 1fr; } }

/* Included */
.incl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; list-style: none; }
.incl li { display: grid; grid-template-columns: 2.4rem 1fr; gap: 0.9rem; align-items: start; padding: 1.2rem; border-radius: 12px; background: var(--ink-2); border: 1px solid var(--line); }
.incl i { width: 2.4rem; height: 2.4rem; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--tc) 20%, transparent); color: var(--tc-fg); font-style: normal; }
.incl i svg { width: 18px; height: 18px; }
.incl b { display: block; font-weight: 600; margin-bottom: 0.2rem; }
.incl span { color: var(--mist); font-size: 0.94rem; }
.incl-note { margin-top: 1.2rem; color: var(--mist); font-size: 0.92rem; max-width: 70ch; }
@media (max-width: 759px) { .incl { grid-template-columns: 1fr; } }

/* Promise */
.promise { position: relative; border-radius: calc(var(--radius) + 6px); overflow: hidden; padding: clamp(2rem, 1.2rem + 3.5vw, 4.5rem) clamp(1.4rem, 1rem + 3.5vw, 4.5rem); background: var(--ink-2); border: 1px solid var(--line); }
.promise::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--tc); }
.promise h2 { font-size: clamp(1.6rem, 1rem + 2vw, 2.6rem); margin-bottom: 1.2rem; }
.promise p { font: 600 clamp(1.25rem, 0.95rem + 1.2vw, 1.9rem)/1.32 var(--display); letter-spacing: -0.005em; color: color-mix(in srgb, var(--cloud) 90%, transparent); max-width: 36ch; }

/* FAQ */
.faq { display: grid; gap: 0.6rem; max-width: 900px; }
.faq details { border-radius: 12px; background: var(--ink-2); border: 1px solid var(--line); transition: border-color 0.3s; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; font-weight: 600; font-size: 1.02rem; border-radius: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--mist); border-bottom: 2px solid var(--mist); transform: translateY(-3px) rotate(45deg); transition: transform 0.3s var(--ease-out); }
.faq details[open] summary::after { transform: translateY(2px) rotate(225deg); }
.faq details p { padding: 0 1.25rem 1.2rem; color: color-mix(in srgb, var(--cloud) 80%, transparent); max-width: 70ch; }

/* Final card, tinted per studio */
.studio .final__card {
  background:
    radial-gradient(90% 120% at 0% 0%, color-mix(in srgb, var(--tc) 34%, transparent), transparent 55%),
    radial-gradient(90% 120% at 100% 100%, color-mix(in srgb, var(--accent-2) 32%, transparent), transparent 60%),
    var(--ink-2);
}
.final__list { list-style: none; display: grid; gap: 0.6rem; margin: 0 0 2rem; max-width: 60ch; }
.final__list li { display: grid; grid-template-columns: 18px 1fr; gap: 0.7rem; color: color-mix(in srgb, var(--cloud) 90%, transparent); }
.final__list svg { width: 18px; height: 18px; margin-top: 0.25em; color: var(--accent); }
.final__small { margin-top: 1.4rem; font-size: 0.9rem; color: color-mix(in srgb, var(--cloud) 72%, transparent); max-width: 60ch; }

/* Other studios */
.others { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.other { --oc: var(--ink-4); position: relative; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.4rem 1.4rem 1.3rem; border-radius: 12px; background: var(--ink-2); border: 1px solid var(--line); text-decoration: none; overflow: hidden; transition: border-color 0.3s, transform 0.5s var(--ease-out); }
.other::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--oc); }
.other:hover { border-color: var(--line-2); transform: translateY(-2px); }
.other b { display: block; font: 600 1.2rem/1.2 var(--display); margin-bottom: 0.2rem; }
.other span { color: var(--mist); font-size: 0.92rem; }
.other svg { width: 20px; height: 20px; flex: none; }
.other--founders { --oc: var(--accent); }
.other--brands { --oc: var(--accent-2); }
.other--local { --oc: var(--accent-3); }
@media (max-width: 699px) { .others { grid-template-columns: 1fr; } }
