/* adtwist portal: one stylesheet. Orange on white (user, 2026-11-20: "blue is a bit dull; orange white suits a
   creative site"): warm off-white ground, white cards, a deep vivid orange that keeps white button text readable
   (4.5:1), a brighter orange with dark text in dark mode. Phone first, light and dark. Display: Space Grotesk; text: Inter; Hindi: Noto Sans Devanagari. */
:root {
  --bg: #fffaf6; --surface: #ffffff; --ink: #1f1814; --muted: #76675c; --line: #f0e4da;
  --accent: #cc4b08; --accent2: #b03f05; --soft: #fff3ea; --on-accent: #ffffff; --good: #1f9d63; --bad: #c2362b; --warn: #b7791f;
  --s1: #cc4b08; --s2: #2f7fd6; --s3: #c2368f; --s4: #e07a1f; --s5: #1f9d63; --s6: #7b5cd6; --s7: #1f1814;
  --display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --body: "Inter", "Noto Sans Devanagari", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 18px; --shadow: 0 1px 2px rgba(70,35,10,.06), 0 8px 28px rgba(70,35,10,.08);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #15100c; --surface: #1f1814; --ink: #f6ede6; --muted: #b5a79c; --line: #382c24;
  --accent: #ff8a3d; --accent2: #ffa266; --soft: #2e1e13; --on-accent: #1c120b; --good: #4cc98f; --bad: #ef7a6f; --warn: #e9b35a;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 30px rgba(0,0,0,.35); color-scheme: dark } }
:root[data-theme="dark"] {
  --bg: #15100c; --surface: #1f1814; --ink: #f6ede6; --muted: #b5a79c; --line: #382c24;
  --accent: #ff8a3d; --accent2: #ffa266; --soft: #2e1e13; --on-accent: #1c120b; --good: #4cc98f; --bad: #ef7a6f; --warn: #e9b35a;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 30px rgba(0,0,0,.35); color-scheme: dark }

* { box-sizing: border-box }
html, body { margin: 0 }
body { background: var(--bg); color: var(--ink); font: 16px/1.55 var(--body); -webkit-font-smoothing: antialiased }
img, video { max-width: 100%; display: block }
a { color: inherit }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.01em; text-wrap: balance; margin: 0 }
p { margin: 0 }
button { font: inherit; cursor: pointer }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important } }

.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)) }
.muted { color: var(--muted) }
.small { font-size: 14px }
.eyebrow { font: 600 12px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--accent) }

/* top bar */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line) }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 21; background: var(--bg) }
.top .wrap { display: flex; align-items: center; gap: 16px; min-height: 60px }
.brand { font: 700 22px/1 var(--display); text-decoration: none; letter-spacing: -.02em; display: inline-flex; align-items: baseline }
.brand b { color: var(--accent); font-weight: 700; display: inline-block; transform: rotate(-8deg) translateY(-1px); margin: 0 1px }
.top nav { display: flex; gap: 18px; margin-left: auto; align-items: center }
.top nav a { text-decoration: none; color: var(--muted); font-size: 15px }
.top nav a:hover { color: var(--ink) }
.top nav a.btn, .top nav a.btn:hover { color: var(--on-accent) }
@media (max-width: 640px) { .top nav a.hide-sm { display: none } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 12px 20px;
  font: 600 15px/1 var(--body); text-decoration: none; background: var(--accent); color: var(--on-accent); box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 35%, transparent) }
.btn:hover { background: var(--accent2) }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line) }
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--accent) }
.btn.sm { padding: 9px 14px; font-size: 14px }
.btn[disabled] { opacity: .55; cursor: default }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow) }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--soft); color: var(--accent); font-size: 13px; font-weight: 600 }
.chip.plain { background: transparent; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line) }
.hi { font-family: "Noto Sans Devanagari", var(--body) }

/* phone frame */
.phone { position: relative; width: 100%; max-width: 300px; aspect-ratio: 9/19.5; border-radius: 42px; padding: 10px; background: #0f0d18;
  box-shadow: 0 30px 60px rgba(70,35,10,.28), inset 0 0 0 2px #3a2e27 }
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 34%; height: 22px; border-radius: 12px; background: #0f0d18; z-index: 2 }
.phone video, .phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 33px; background: #000 }
.phone .unmute { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 3; border: 0; border-radius: 999px; padding: 8px 14px;
  background: rgba(0,0,0,.55); color: #fff; font-size: 13px; backdrop-filter: blur(6px) }

/* landing */
.hero { padding-block: 56px 40px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center }
.hero h1 { font-size: clamp(38px, 6.2vw, 68px); line-height: 1.02; letter-spacing: -.03em }
.hero h1 em { font-style: normal; color: var(--accent); position: relative; white-space: nowrap }
.hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .14em; background: currentColor; opacity: .18; border-radius: 4px; transform: rotate(-1.5deg) }
.hero .lede { font-size: 19px; color: var(--muted); max-width: 33em; margin-top: 18px }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px }
.hero .proof { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px }
.hero-phone { display: flex; justify-content: center; position: relative }
.hero-phone .tag { position: absolute; right: 0; top: 14%; transform: rotate(4deg) }
.hero-phone .tag2 { position: absolute; left: 0; top: 34%; transform: rotate(-4deg); max-width: 46%; white-space: normal; background: var(--surface) }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; padding-top: 32px } .hero-phone .tag, .hero-phone .tag2 { display: none } }

.section { padding-block: 56px }
.section h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.1 }
.section .sub { color: var(--muted); max-width: 40em; margin-top: 10px; font-size: 17px }
.carousel { position: relative; margin-top: 28px }
.reels { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 18px) / 4); gap: 18px; overflow-x: auto;
  scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 2px 14px; scrollbar-width: none; overscroll-behavior-x: contain }
.reels::-webkit-scrollbar { display: none }
.reels > * { scroll-snap-align: start }
@media (max-width: 900px) { .reels { grid-auto-columns: calc((100% - 18px) / 2.3) } }
@media (max-width: 520px) { .reels { grid-auto-columns: 62% } }
.carousel .arrows { display: flex; gap: 8px; position: absolute; right: 0; top: -58px }
.carousel .arrows button { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font-size: 18px; display: grid; place-items: center }
.carousel .arrows button:hover:not([disabled]) { border-color: var(--accent); color: var(--accent) }
.carousel .arrows button[disabled] { opacity: .35; cursor: default }
@media (max-width: 640px) { .carousel .arrows { display: none } }
.dots { display: flex; gap: 6px; justify-content: center; margin-top: 6px }
.dots i { width: 6px; height: 6px; border-radius: 3px; background: var(--line); transition: width .3s, background .3s }
.dots i.on { width: 18px; background: var(--accent) }
.reel .pick { position: absolute; top: 10px; right: 10px; background: var(--accent); color: var(--on-accent); font-size: 11px; font-weight: 700; padding: 4px 8px; border-radius: 999px }
.reel { border: 0; padding: 0; background: none; text-align: left; color: inherit; align-self: start; display: block }
.reel .thumb { position: relative; aspect-ratio: 9/16; border-radius: 16px; overflow: hidden; background: var(--line); box-shadow: var(--shadow) }
.reel .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s }
.reel:hover .thumb img { transform: scale(1.03) }
.reel .play { position: absolute; inset: auto 12px 12px auto; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; color: #1f1814 }
.reel .lang { position: absolute; top: 10px; left: 10px; background: rgba(0,0,0,.55); color: #fff; font-size: 12px; padding: 4px 9px; border-radius: 999px }
.reel .meta { margin-top: 10px }
.reel .meta b { display: block; font-family: var(--display); font-size: 17px }
.reel .meta span { color: var(--muted); font-size: 14px }

.how { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 28px; counter-reset: h }
@media (max-width: 900px) { .how { grid-template-columns: repeat(2, minmax(0, 1fr)) } }
@media (max-width: 520px) { .how { grid-template-columns: 1fr } }
.how .card { padding: 22px; counter-increment: h }
.how .card::before { content: counter(h); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--soft); color: var(--accent); font: 700 17px/1 var(--display); margin-bottom: 14px }
.how h3 { font-size: 19px }
.how p { color: var(--muted); font-size: 15px; margin-top: 6px }

.band { background: var(--ink); color: var(--bg); border-radius: 28px; padding: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center }
.band h2 { color: var(--bg) }
.band .sub { color: color-mix(in srgb, var(--bg) 70%, transparent) }
.band .pair { display: grid; gap: 12px }
.band .q { background: color-mix(in srgb, var(--bg) 8%, transparent); border-radius: 14px; padding: 14px 16px; font-size: 17px }
.band .q small { display: block; opacity: .6; font-size: 12px; margin-bottom: 4px; letter-spacing: .06em; text-transform: uppercase }
@media (max-width: 760px) { .band { grid-template-columns: 1fr; padding: 28px } }

.foot { padding-block: 40px 56px; color: var(--muted); font-size: 14px; display: flex; gap: 16px; flex-wrap: wrap; justify-content: space-between; border-top: 1px solid var(--line); margin-top: 40px }

/* gallery (2026-11-22): tabs by kind of business, a blurb and the brands, then the carousel */
.gal-tabs { position: relative; display: flex; gap: 4px; margin-top: 28px; padding: 5px; width: max-content; max-width: 100%; overflow-x: auto;
  border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); scrollbar-width: none }
.gal-tabs::-webkit-scrollbar { display: none }
.gal-tabs [role="tab"] { position: relative; z-index: 1; border: 0; background: none; color: var(--muted); padding: 10px 18px; border-radius: 999px;
  font: 600 15px/1 var(--body); white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; transition: color .25s }
.gal-tabs [role="tab"]:hover { color: var(--ink) }
.gal-tabs [role="tab"][aria-selected="true"] { color: var(--on-accent) }
.gal-tabs .n { font-size: 12px; font-weight: 700; padding: 3px 7px; border-radius: 999px; background: var(--soft); color: var(--accent); transition: background .25s, color .25s }
.gal-tabs [aria-selected="true"] .n { background: color-mix(in srgb, var(--on-accent) 22%, transparent); color: var(--on-accent) }
.gal-ink { position: absolute; z-index: 0; top: 5px; left: 0; height: calc(100% - 10px); border-radius: 999px; background: var(--accent);
  box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 35%, transparent); transition: transform .35s cubic-bezier(.3,.7,.2,1), width .35s cubic-bezier(.3,.7,.2,1) }
.gal-panel { margin-top: 22px }
.gal-panel.in { animation: galIn .45s cubic-bezier(.3,.7,.2,1) }
@keyframes galIn { from { opacity: 0; transform: translateY(10px) } to { opacity: 1; transform: none } }
.gal-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px }
.gal-blurb { font-size: 17px; line-height: 1.6; color: var(--ink); max-width: 36em }
.gal-brands { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px }
.gal-head .arrows { display: flex; gap: 8px; flex: none }
.gal-head .arrows button { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font-size: 18px; display: grid; place-items: center }
.gal-head .arrows button:hover:not([disabled]) { border-color: var(--accent); color: var(--accent) }
.gal-head .arrows button[disabled] { opacity: .35; cursor: default }
.gal-brands .brand { color: var(--ink); background: var(--surface) }
.gal-brands .brand em, .reel .sample { font-style: normal; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent); background: var(--soft); padding: 2px 6px; border-radius: 6px }
.gallery .carousel { margin-top: 22px }
.gal-note { margin-top: 20px; color: var(--muted); font-size: 14px; display: flex; align-items: baseline; gap: 8px }
.gal-note b { color: var(--accent); font-weight: 700 }
.sample-dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--accent); transform: translateY(-1px) }
.reel .thumb video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s }
.reel.previewing .thumb video { opacity: 1 }
.reel.previewing .play { opacity: 0 }
.reel .play { transition: opacity .25s, transform .25s }
.reel:hover .play { transform: scale(1.08) }
.reel .meta b.hi { font-family: "Noto Sans Devanagari", var(--display); font-weight: 700 }
@media (max-width: 760px) {
  .gal-head .arrows { display: none }
  .gal-tabs { width: 100% }
  .gal-tabs [role="tab"] { flex: 1; justify-content: center; padding: 10px 12px }
}
@media (max-width: 440px) {
  .gal-tabs [role="tab"] { padding: 10px 6px; font-size: 14px }
  .gal-tabs .n { display: none }
}
/* landing: how a reel is made (2026-11-22): the process film, 16:9 on wide screens, 9:16 on phones */
.made-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap }
.made-film { position: relative; margin-top: 26px; border-radius: 22px; overflow: hidden; background: #f6ece3; aspect-ratio: 16/9; box-shadow: var(--shadow) }
.made-film.tall { aspect-ratio: 9/16; max-width: 420px; margin-left: auto; margin-right: auto }
.made-film video { width: 100%; height: 100%; object-fit: cover }
.made-play { position: absolute; left: 18px; top: 18px; display: inline-flex; align-items: center; gap: 10px; border: 0;
  border-radius: 999px; padding: 12px 20px 12px 16px; background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: 15px;
  box-shadow: 0 10px 30px color-mix(in srgb, var(--accent) 40%, transparent); transition: transform .2s, opacity .3s }
.made-play:hover { transform: scale(1.04) }
.made-film.playing .made-play { opacity: 0; pointer-events: none }

/* gallery page (2026-11-22): stacked sections, a slim bar naming each category, the reels in a grid under it */
.gal-hero { padding-top: 48px; padding-bottom: 8px }
.gal-hero h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.05; margin-top: 10px }
.gal-hero .sub { color: var(--muted); max-width: 40em; margin-top: 12px; font-size: 17px }
.gal-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px }
.gal-jump a { text-decoration: none; color: var(--ink); background: var(--surface) }
.gal-jump a:hover { box-shadow: inset 0 0 0 1.5px var(--accent) }
.gal-jump .n, .gal-bar .n { font-size: 12px; font-weight: 700; padding: 2px 7px; border-radius: 999px; background: var(--soft); color: var(--accent) }
.gal-sec { padding-top: 40px; scroll-margin-top: 72px }
.gal-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px 16px; border-radius: 14px; background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line), inset 4px 0 0 var(--accent) }
.gal-bar h2 { font-size: 20px; line-height: 1.2 }
.gal-bar .brands { margin-left: auto; display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); font-size: 13px; font-weight: 600 }
.gal-bar .brands span { display: inline-flex; align-items: center; gap: 6px }
.gal-bar .brands em { font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); background: var(--soft); padding: 2px 5px; border-radius: 5px }
.gal-sec .gal-blurb { margin-top: 14px; color: var(--muted); font-size: 16px }
.reel-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 18px; margin-top: 20px }
@media (max-width: 900px) { .reel-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) } }
@media (max-width: 640px) { .reel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px } .gal-bar .brands { margin-left: 0; width: 100% } }
.gal-end { padding-block: 48px 24px }
.gal-cta { margin-top: 36px; padding: 32px; border-radius: var(--radius); background: var(--soft); text-align: center; display: grid; gap: 12px; justify-items: center }
.gal-cta h2 { font-size: clamp(24px, 3.4vw, 32px) }
.gal-cta .sub { color: var(--muted) }
.top nav a[aria-current="page"] { color: var(--accent) }

.modal-cap { display: grid; gap: 2px; text-align: center; color: #fff }
.modal-cap b { font-family: var(--display); font-size: 18px }
.modal-cap b.hi { font-family: "Noto Sans Devanagari", var(--display) }
.modal-cap span { font-size: 14px; opacity: .8 }

/* modal */
.modal { position: fixed; inset: 0; z-index: 50; background: rgba(15,13,24,.72); display: grid; place-items: center; padding: 16px; backdrop-filter: blur(4px) }
.modal[hidden] { display: none }
.modal .box { width: min(420px, 100%); max-height: 92vh; display: grid; gap: 12px }
.modal video { width: 100%; max-height: 78vh; border-radius: 18px; background: #000 }
.modal .row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap }

/* forms */
.field { display: grid; gap: 6px }
.field label { font-weight: 600; font-size: 15px }
.input, textarea.input, select.input { width: 100%; font: inherit; font-size: 16px; padding: 13px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink) }
.input:focus { outline: none; border-color: var(--accent) }
.choices { display: flex; gap: 8px; flex-wrap: wrap }
.choice { border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 9px 15px; font-size: 15px }
.choice[aria-pressed="true"] { border-color: var(--accent); background: var(--soft); color: var(--accent); font-weight: 600 }

/* job page */
.back { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: none }
.back:hover { color: var(--accent) }
.job-top { padding-block: 14px 8px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap }
.job-top .logo { min-width: 48px; max-width: 150px; height: 48px; padding: 4px 8px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; font: 700 20px/1 var(--display); color: var(--accent) }
.job-top .logo img { display: block; width: auto; height: auto; max-width: 134px; max-height: 38px; object-fit: contain }
.job-top h1 { font-size: 24px }
.job-top .eta { margin-left: auto; text-align: right }
.job-top .eta b { font-family: var(--display); font-size: 20px; display: block }
.rail { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; list-style: none; padding: 0; margin: 10px 0 0 }
.rail li { font-size: 12px; color: var(--muted); min-width: 0 }
.rail li i { display: block; height: 6px; border-radius: 4px; background: var(--line); overflow: hidden; margin-bottom: 6px }
.rail li i u { display: block; height: 100%; width: 0; background: var(--accent); transition: width .8s }
.rail li.done i u { width: 100% }
.rail li.done, .rail li.now { color: var(--ink) }
.rail li span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
@media (max-width: 640px) { .rail li span { display: none } .rail li.now span { display: block; overflow: visible } }

.job-body { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 22px; padding-block: 18px 60px; align-items: start }
@media (max-width: 900px) { .job-body { grid-template-columns: 1fr } }
.now-card { padding: 22px; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 76px) }
@media (max-width: 900px) { .now-card { position: static } }
.now-card .badge { width: 44px; height: 44px; border-radius: 14px; background: var(--soft); color: var(--accent); display: grid; place-items: center; font: 700 20px/1 var(--display) }
.now-card h2 { font-size: 24px; margin-top: 14px }
.now-card h2 span { display: inline-block; animation: word .5s both; animation-delay: calc(var(--i) * 70ms) }
@keyframes word { from { opacity: 0; transform: translateY(8px) } }
.now-card .body { color: var(--muted); margin-top: 8px; font-size: 15px }
.status { display: flex; gap: 10px; align-items: center; margin-top: 16px; font-size: 14px; padding: 10px 12px; border-radius: 12px; background: var(--soft) }
.status i { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); flex: none; animation: pulse 1.4s infinite }
@keyframes pulse { 50% { opacity: .35; transform: scale(.8) } }
.status.hold i { background: var(--warn); animation: none }
.status.ok i { background: var(--good); animation: none }

.feed { display: grid; gap: 16px; min-width: 0 }
.piece { padding: 18px; min-width: 0; animation: rise .5s both }
@keyframes rise { from { opacity: 0; transform: translateY(12px) } }
.piece .h { display: flex; align-items: center; gap: 8px; font: 600 13px/1 var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px }
.piece .h::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--accent)) }
.piece .h em { margin-left: auto; font-style: normal; text-transform: none; letter-spacing: 0; font-weight: 500 }
.shots { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); gap: 12px; align-items: start }
.shots .browser { border-radius: 10px; overflow: hidden; border: 1px solid var(--line); max-height: 300px }
.shots .browser img { width: 100%; object-fit: cover; object-position: top }
.shots .mob { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); max-height: 300px }
.brandrow { display: flex; gap: 16px; align-items: center; flex-wrap: wrap }
.brandrow .lg { height: 46px; max-width: 220px; object-fit: contain; background: #fff; border-radius: 10px; padding: 6px 10px; border: 1px solid var(--line) }
.swatches { display: flex; gap: 6px }
.swatches i { width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line) }
.feats { display: flex; flex-wrap: wrap; gap: 8px }
.feats .chip.plain.on { background: var(--soft); color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent) }
.ideas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px }
@media (max-width: 700px) { .ideas { grid-template-columns: 1fr } }
.idea { border: 1.5px solid var(--line); border-radius: 14px; padding: 14px; font-size: 14px; color: var(--muted); position: relative }
.idea b { display: block; color: var(--ink); font-family: var(--display); font-size: 17px; margin-bottom: 6px }
.idea.pick { border-color: var(--accent); background: var(--soft) }
.idea.pick::after { content: "Chosen"; position: absolute; top: -10px; right: 12px; background: var(--accent); color: var(--on-accent); font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px }
.why { margin-top: 10px; font-size: 14px }
.beats { display: grid; gap: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden }
.beat { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; padding: 12px 14px; border-top: 1px solid var(--line); font-size: 14px }
.beat:first-child { border-top: 0 }
.beat .tm { color: var(--muted); font-variant-numeric: tabular-nums; font-size: 13px }
.beat .ln { margin-top: 4px; font-weight: 600; font-family: "Noto Sans Devanagari", var(--body) }
.beat .ln small { color: var(--muted); font-weight: 500; margin-right: 6px }
.beat .cd { margin-top: 4px; color: var(--accent); font-size: 13px }
.gate { border: 2px solid var(--accent); background: linear-gradient(180deg, var(--soft), var(--surface) 70%) }
.gate .acts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px }
.gate textarea { margin-top: 10px }
.cast { display: flex; gap: 12px; flex-wrap: wrap }
.cast figure { margin: 0; width: 120px }
.cast img { width: 120px; aspect-ratio: 9/16; object-fit: cover; border-radius: 12px; border: 1px solid var(--line) }
.cast figcaption { font-size: 13px; margin-top: 6px; text-align: center }
.pics { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px }
.pics figure { margin: 0; position: relative }
.pics img, .pics video { width: 100%; aspect-ratio: 9/16; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); background: #000 }
.pics .mv { position: absolute; top: 6px; left: 6px; background: rgba(0,0,0,.6); color: #fff; font-size: 10px; padding: 2px 6px; border-radius: 999px }
.voices { display: grid; gap: 8px }
.voice { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 10px; align-items: center; font-size: 14px }
.voice button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--soft); color: var(--accent); font-size: 14px }
.voice .t { font-family: "Noto Sans Devanagari", var(--body) }
.voice .t small { color: var(--muted); display: block; font-family: var(--body) }
.final { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 20px; align-items: center }
@media (max-width: 600px) { .final { grid-template-columns: 1fr } }
.final video { width: 100%; aspect-ratio: 9/16; border-radius: 18px; background: #000; object-fit: cover }
.final h3 { font-size: 26px }
.empty { color: var(--muted); text-align: center; padding: 40px 16px }

/* make page */
.make { max-width: 620px; margin: 0 auto; padding-block: 40px 80px }
.make h1 { font-size: clamp(30px, 5vw, 44px); line-height: 1.08 }
.make .card { padding: 24px; margin-top: 24px; display: grid; gap: 18px }
.err { color: var(--bad); font-size: 14px; min-height: 1.2em }

/* admin */
.adm { padding-block: 24px 60px }
.adm table { width: 100%; border-collapse: collapse; font-size: 14px }
.adm th, .adm td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top }
.adm th { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600 }
.adm .scroll { overflow-x: auto }
.adm .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 16px }
.adm .card { padding: 18px }
.adm h2 { font-size: 20px; margin-bottom: 10px }
.pill { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--soft); color: var(--accent) }
.pill.ok { background: color-mix(in srgb, var(--good) 15%, transparent); color: var(--good) }
.pill.hold { background: color-mix(in srgb, var(--warn) 18%, transparent); color: var(--warn) }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0 18px }
.tabs button { border: 0; background: transparent; padding: 8px 14px; border-radius: 999px; color: var(--muted); font-weight: 600 }
.tabs button[aria-selected="true"] { background: var(--soft); color: var(--accent) }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--line); margin-right: 8px; vertical-align: middle }
.dot.on { background: var(--good) }

/* credits: the live balance in the header, the panel, the paywall (common.js) */
.credits { display: inline-flex; align-items: center; gap: 6px; border: 0; cursor: pointer; padding: 7px 12px; border-radius: 999px;
           background: var(--soft); color: var(--accent); font: 600 14px var(--body); margin-right: 6px }
.credits span { font-size: 11px }
.credits b { font-variant-numeric: tabular-nums; color: var(--ink) }
.credits i { font-style: normal; color: var(--muted); font-weight: 500; font-size: 13px }
@media (max-width: 600px) { .credits i { display: none } }
.credits:hover { box-shadow: inset 0 0 0 1.5px var(--accent) }
.credits.blip { animation: blip .9s ease }
@keyframes blip { 30% { transform: scale(1.08); box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 22%, transparent) } }
@media (prefers-reduced-motion: reduce) { .credits.blip { animation: none } }
.crm .crbox { width: min(520px, 100%); max-height: 92vh; overflow: auto; padding: 22px; display: grid; gap: 12px; position: relative }
.crm .x { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: none; font-size: 20px; color: var(--muted); cursor: pointer }
.crm .x:hover { background: var(--soft); color: var(--accent) }
.crm h3 { font-size: 15px; margin-top: 6px }
.crh { font-size: 26px }
.crbal b { font: 700 40px/1 var(--display); font-variant-numeric: tabular-nums }
.crbal span { display: block; color: var(--muted); font-size: 13px; margin-top: 6px }
.crfree { background: var(--soft); color: var(--accent); padding: 10px 12px; border-radius: 12px; font-size: 14px; font-weight: 600 }
.crquote { font-size: 15px; line-height: 1.55 }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px }
@media (max-width: 480px) { .tiers { grid-template-columns: 1fr } }
.tier .bonus { font-style: normal; font-weight: 700; font-size: 12px; color: var(--on-accent); background: var(--accent); border-radius: 999px; padding: 2px 8px; justify-self: center }
.tier small { color: var(--muted); font-size: 12px }
.tier { display: grid; gap: 4px; padding: 14px 8px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; font: inherit; text-align: center }
.tier b { font: 700 22px var(--display) }
.tier span { font-size: 12px; color: var(--muted) }
.tier:hover, .tier.best { border-color: var(--accent) }
.tier.best { background: var(--soft) }
.tier[disabled] { opacity: .6; cursor: default }
.crtest { font-size: 13px; color: var(--warn); font-weight: 600 }
.crlog { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px }
.crlog li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 6px }
.crlog .neg { color: var(--ink) } .crlog .pos { color: var(--good) }
.crerr:empty { display: none }

/* policy pages (server/legal.py, 2026-11-21) */
.doc { max-width: 780px; padding-block: 48px 24px }
.doc h1 { font-family: var(--display, "Space Grotesk"), sans-serif; font-size: clamp(30px, 5vw, 44px); line-height: 1.1; margin: 8px 0 6px }
.doc .updated { color: var(--muted); font-size: 14px; margin: 0 0 28px }
.doc h2 { font-family: var(--display, "Space Grotesk"), sans-serif; font-size: 21px; margin: 34px 0 10px; color: var(--ink) }
.doc p, .doc li { line-height: 1.65; color: var(--ink) }
.doc ul, .doc ol { padding-left: 22px; margin: 8px 0 }
.doc li { margin: 6px 0 }
.doc a { color: var(--accent); text-underline-offset: 3px }
.doc .todo { background: var(--soft); color: var(--accent2); border-radius: 6px; padding: 1px 6px; font-weight: 600 }
.doc .tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin: 12px 0 }
.doc .tier { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px; text-align: center }
.doc .tier b { display: block; font-family: var(--display, "Space Grotesk"), sans-serif; font-size: 30px; color: var(--accent) }
.doc .tier span { color: var(--muted); font-size: 14px }
.doc table.prices { width: 100%; border-collapse: collapse; margin: 12px 0; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden }
.doc table.prices th, .doc table.prices td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line) }
.doc table.prices th { background: var(--soft); font-weight: 600 }
.doc .contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 16px 0 }
.doc .cc { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px; line-height: 1.5 }
.legal-links { display: flex; flex-wrap: wrap; gap: 6px 16px }
.legal-links a, .foot a { color: var(--muted) }
.legal-links a:hover, .foot a:hover { color: var(--accent) }
.doc .tier .bonus { font-style: normal; font-weight: 700; font-size: 12px; color: var(--on-accent); background: var(--accent); border-radius: 999px; padding: 2px 8px; display: inline-block; margin: 4px 0 }
.doc .tier small { display: block; color: var(--muted); font-size: 13px; margin-top: 4px }

/* paywall and credits panel, polished (2026-11-22) */
.crm .crbox { width: min(640px, 100%) }
.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 4px }
@media (max-width: 560px) { .packs { grid-template-columns: 1fr } }
.pack { position: relative; display: grid; gap: 6px; justify-items: center; text-align: center; padding: 22px 12px 14px;
  border-radius: 18px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; font: inherit;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease }
.pack:hover:not(:disabled) { transform: translateY(-2px); border-color: var(--accent); box-shadow: 0 10px 24px rgba(204, 75, 8, .12) }
.pack.best { border-color: var(--accent); box-shadow: 0 0 0 3px var(--soft) }
.pack:disabled { cursor: default; opacity: .6 }
.pack.busy { opacity: 1 }
.pk-badge { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); white-space: nowrap; background: var(--ink);
  color: var(--bg); font-size: 11px; font-weight: 700; letter-spacing: .02em; padding: 3px 10px; border-radius: 999px }
.pack.best .pk-badge { background: var(--accent); color: var(--on-accent) }
.pk-price { font: 700 30px/1.05 var(--display); font-variant-numeric: tabular-nums }
.pk-bonus { font-size: 12px; font-weight: 700; color: var(--on-accent); background: var(--good); border-radius: 999px; padding: 2px 9px }
.pk-bonus.plain { background: var(--soft); color: var(--muted) }
.pk-get { font-size: 13px; color: var(--ink) }
.pk-reels { font-size: 13px; color: var(--muted) }
.pk-total { font-size: 12px; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 8px; margin-top: 2px; width: 100% }
.pk-cta { margin-top: 6px; width: 100%; padding: 9px 10px; border-radius: 12px; background: var(--soft); color: var(--accent); font-weight: 700; font-size: 14px }
.pack.best .pk-cta, .pack:hover:not(:disabled) .pk-cta { background: var(--accent); color: var(--on-accent) }
.trust { display: flex; flex-wrap: wrap; gap: 6px 14px; justify-content: center; font-size: 12px; color: var(--muted);
  padding: 10px; border-radius: 12px; background: var(--soft) }
.trust span:first-child { color: var(--ink); font-weight: 600 }
.pw-quote { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px }
.pw-quote div { background: var(--soft); border-radius: 14px; padding: 10px 12px }
.pw-quote span { display: block; font-size: 12px; color: var(--muted) }
.pw-quote b { font: 700 20px/1.2 var(--display); font-variant-numeric: tabular-nums }
@media (max-width: 480px) { .pw-quote { grid-template-columns: 1fr 1fr } .pw-quote div:last-child { grid-column: span 2 } }
.crflash { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); background: var(--ink); color: var(--bg);
  padding: 12px 18px; border-radius: 14px; font-weight: 600; box-shadow: 0 12px 30px rgba(0, 0, 0, .25); z-index: 1000; transition: opacity .5s ease }
.crflash.out { opacity: 0 }
/* the tone chooser for a batch of ideas (common.js chooseTone) */
.crm .tones { display: grid; grid-template-columns: 1fr 1fr; gap: 8px }
@media (max-width: 520px) { .crm .tones { grid-template-columns: 1fr } }
.crm .tone { text-align: left; border: 1px solid var(--line, #e3e1da); background: none; border-radius: 12px; padding: 10px 12px; cursor: pointer; display: grid; gap: 2px; color: inherit; font: inherit }
.crm .tone b { font-size: 15px }
.crm .tone span { font-size: 13px; color: var(--muted) }
.crm .tone.on { border-color: var(--accent); background: var(--soft); box-shadow: 0 0 0 1px var(--accent) inset }

