:root {
  --bg: #0a0d12;
  --bg-elev: #11151c;
  --bg-elev-2: #181d26;
  --text: #e8eaed;
  --text-dim: #9aa3b2;
  --accent: #09aadf;
  --accent-2: #3fc4f0;
  --accent-soft: rgba(9, 170, 223, 0.12);
  --accent-border: rgba(9, 170, 223, 0.35);
  --border: #1f2530;
  --max: 1180px;
  --radius: 14px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--accent-2); }

img, video { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #fff;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
h1 { font-size: clamp(1.8rem, 5vw, 4rem); }
h2 { font-size: clamp(1.35rem, 3.2vw, 2.4rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: .5rem; }

p { margin-bottom: 1rem; color: var(--text-dim); }
p strong, li strong { color: var(--text); }

ul { margin: 0 0 1rem 1.2rem; color: var(--text-dim); }
li { margin-bottom: .35rem; }

/* ------- Layout ------- */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: 5rem 0; }
section.tight { padding: 3rem 0; }

/* ------- Header ------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11,13,16,0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: var(--max);
  margin: 0 auto;
}

.logo {
  display: inline-flex;
  align-items: center;
  height: 52px;
}
.logo img {
  height: 52px;
  width: auto;
  display: block;
}
@media (max-width: 480px) {
  .logo, .logo img { height: 40px; }
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

.nav {
  display: flex;
  gap: 1.4rem;
  align-items: center;
}
.nav a {
  color: var(--text-dim);
  font-size: 0.95rem;
  font-weight: 500;
}
.nav a:hover, .nav a.active { color: #fff; }
.nav a.cta {
  background: var(--accent);
  color: #fff;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
}
.nav a.cta:hover { background: var(--accent-2); color: #03212d; }

/* dropdown */
.has-sub { position: relative; }
.has-sub > a::after { content: " ▾"; font-size: 0.7em; opacity: 0.7; }
.submenu {
  position: absolute;
  top: 100%;
  left: -1rem;
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.5rem;
  min-width: 220px;
  display: none;
  flex-direction: column;
  gap: 0;
}
.submenu a {
  padding: 0.55rem 0.9rem;
  border-radius: 6px;
  display: block;
}
.submenu a:hover { background: var(--bg-elev); }
.has-sub:hover .submenu { display: flex; }

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    background: var(--bg-elev);
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
    align-items: stretch;
    gap: 0.25rem;
  }
  .nav.open { display: flex; }
  .nav a { padding: 0.65rem 0; }
  .submenu { position: static; display: flex; box-shadow: none; border: none; background: transparent; padding: 0 0 0 1rem; }
  .has-sub:hover .submenu { display: flex; }
}

/* ------- Hero ------- */
.hero {
  padding: 7rem 0 5rem;
  text-align: center;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(9,170,223,0.18), transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(63,196,240,0.10), transparent 55%),
    var(--bg);
}
.hero .eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 1.25rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--accent-border);
  border-radius: 999px;
}
.hero p.lead {
  font-size: 1.15rem;
  max-width: 720px;
  margin: 1.25rem auto 2rem;
  color: var(--text-dim);
}

.btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-2); color: #03212d; }
.btn-ghost { background: transparent; color: #fff; border-color: var(--border); }
.btn-ghost:hover { border-color: var(--text-dim); }

/* ------- Page header (smaller) ------- */
.page-head {
  padding: 5rem 0 3rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(to bottom, rgba(9,170,223,0.08), transparent);
}
.page-head .eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
}
.page-head p.lead {
  max-width: 640px;
  margin: 1rem auto 0;
  color: var(--text-dim);
}

/* ------- Sections ------- */
.section-title {
  text-align: center;
  margin-bottom: 3rem;
}
.section-title .eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 0.5rem;
  display: block;
}

/* ------- Grid / cards ------- */
.grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
@media (max-width: 480px) {
  .grid { grid-template-columns: 1fr; }
  .container { padding: 0 1.1rem; }
}
.card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--accent-border); }
.card h3 { color: #fff; margin-bottom: 0.75rem; }
.card .icon {
  display: inline-flex;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 10px;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.card a.more {
  display: inline-block;
  margin-top: 0.75rem;
  font-weight: 600;
  font-size: 0.9rem;
}
.card a.more::after { content: " →"; transition: transform .2s ease; display: inline-block; }
.card a.more:hover::after { transform: translateX(3px); }

/* ------- Prose article ------- */
.prose {
  max-width: 760px;
  margin: 0 auto;
}
.prose h2 { margin-top: 2.5rem; }
.prose h3 { margin-top: 1.75rem; }
.prose p, .prose li { font-size: 1.02rem; }
.prose ul { margin-bottom: 1.25rem; }

/* ------- Two-col layout ------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }

/* ------- Testimonials ------- */
.quote {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  margin-bottom: 1.25rem;
}
.quote p { color: var(--text); font-style: italic; margin-bottom: 0.75rem; }
.quote cite { color: var(--text-dim); font-style: normal; font-size: 0.9rem; font-weight: 600; }

/* ------- Stat strip ------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
  text-align: center;
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat .num { font-size: 2.4rem; font-weight: 800; color: #fff; }
.stat .lbl { font-size: 0.85rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.1em; }

/* ------- CTA strip ------- */
.cta-strip {
  background: linear-gradient(135deg, rgba(9,170,223,0.20), rgba(63,196,240,0.08));
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
  margin: 4rem 0;
}
.cta-strip h2 { color: #fff; }

/* ------- Contact form ------- */
.form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 560px;
  margin: 0 auto;
}
.form input, .form textarea {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.85rem 1rem;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
}
.form input:focus, .form textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form textarea { min-height: 140px; resize: vertical; }
.form button { align-self: flex-start; }

.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 2.5rem;
  text-align: center;
}
.contact-info div { min-width: 200px; }
.contact-info .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  margin-bottom: 0.4rem;
}
.contact-info .value {
  font-size: 1.05rem;
  color: #fff;
  font-weight: 600;
}

/* ------- Footer ------- */
.site-footer {
  background: #06080b;
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
  margin-top: 3rem;
  font-size: 0.9rem;
}
.foot-cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (max-width: 760px) { .foot-cols { grid-template-columns: 1fr 1fr; } }
.foot-cols h4 { color: #fff; font-size: 0.9rem; margin-bottom: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; }
.foot-cols a { color: var(--text-dim); display: block; padding: 0.2rem 0; }
.foot-cols a:hover { color: #fff; }
.foot-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* ------- Service list (in-page) ------- */
.kit-list {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  margin: 1.5rem 0;
}
.kit-list h3 { margin-top: 0; color: #fff; }
.kit-list ul { margin-left: 1.2rem; }

.tag {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-right: 0.4rem;
  margin-bottom: 0.4rem;
}

/* ------- Work gallery ------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}
.work-item {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
  transition: transform .2s ease, border-color .2s ease;
}
.work-item:hover {
  transform: translateY(-3px);
  border-color: var(--accent-border);
}
.work-item picture, .work-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.work-item img {
  object-fit: cover;
  transition: transform .4s ease;
}
.work-item:hover img { transform: scale(1.03); }
.work-item .caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0.9rem 1rem 0.8rem;
  background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0));
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 2;
}
.work-item .caption small {
  display: block;
  font-weight: 500;
  font-size: 0.75rem;
  color: var(--accent-2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.feature-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  margin: 1.5rem 0 2rem;
  background: #000;
}
.feature-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feature-image.natural { aspect-ratio: auto; }
.feature-image.natural img { height: auto; }

/* ------- Video embed ------- */
.video-frame {
  position: relative;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 30px 80px -20px rgba(9,170,223,0.25), 0 0 0 1px rgba(9,170,223,0.15);
  background: #000;
  aspect-ratio: 16 / 9;
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-caption {
  text-align: center;
  margin-top: 0.85rem;
  font-size: 0.95rem;
  color: var(--text-dim);
}

/* ------- Video collections ------- */
.video-collections {
  display: grid;
  gap: 2rem;
  margin: 2.5rem 0 0;
}

.video-collection {
  background: linear-gradient(180deg, rgba(9,170,223,0.08), rgba(9,170,223,0.02));
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.4rem;
}

.video-collection-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: end;
}

.video-collection-head h3 {
  margin: 0.35rem 0 0;
  font-size: clamp(1.2rem, 2.8vw, 1.8rem);
}

.video-collection-head p {
  margin: 0.45rem 0 0;
  max-width: 46rem;
}

.video-collection-count {
  color: var(--accent-2);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.video-collection-body {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(260px, 1fr);
  gap: 1.1rem;
}

.video-stage {
  position: relative;
  min-height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #050608;
}

.video-stage-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(circle at top left, rgba(9,170,223,0.22), transparent 40%),
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0)),
    #050608;
}

.video-stage-media iframe,
.video-stage-media img,
.video-stage-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.video-stage-media iframe {
  border: 0;
  z-index: 3;
}

.video-stage-media img {
  object-fit: cover;
}

.video-stage-overlay {
  display: flex;
  align-items: end;
  padding: 1.2rem;
  background: linear-gradient(to top, rgba(0,0,0,0.84), rgba(0,0,0,0.10) 55%, rgba(0,0,0,0));
  z-index: 2;
}

.video-stage-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 0.85rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.video-stage-badge::before {
  content: "";
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 0.25rem rgba(9,170,223,0.18);
}

.video-stage-content {
  padding: 1.25rem 1.25rem 1.35rem;
}

.video-stage-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}

.video-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.68rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-2);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.video-stage-content h4 {
  font-size: clamp(1.12rem, 2.2vw, 1.55rem);
  margin-bottom: 0.55rem;
}

.video-stage-content p {
  margin: 0;
}

.video-stage-note {
  margin-top: 0.95rem;
  color: var(--text);
  font-size: 0.93rem;
}

.video-stage-note a {
  font-weight: 600;
}

.video-thumbs {
  display: grid;
  gap: 0.8rem;
  align-content: start;
  max-height: 48rem;
  overflow: auto;
  padding-right: 0.2rem;
}

.video-thumb {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 0.9rem;
  align-items: center;
  width: 100%;
  padding: 0.65rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255,255,255,0.02);
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.video-thumb:hover {
  transform: translateY(-2px);
  border-color: var(--accent-border);
  background: rgba(255,255,255,0.04);
}

.video-thumb.is-active {
  border-color: var(--accent-border);
  background: rgba(9,170,223,0.10);
  box-shadow: inset 0 0 0 1px rgba(9,170,223,0.22);
}

.video-thumb-poster {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
}

.video-thumb-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-thumb-poster::after {
  content: "Play";
  position: absolute;
  left: 0.55rem;
  bottom: 0.55rem;
  padding: 0.25rem 0.48rem;
  border-radius: 999px;
  background: rgba(0,0,0,0.72);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.video-thumb-text small {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--accent-2);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.video-thumb-text strong {
  display: block;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 0.18rem;
  font-size: 0.98rem;
}

.video-thumb-text span {
  display: block;
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.45;
}

.portfolio-intro {
  max-width: 860px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.jump-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin: 1.5rem 0 0;
}

.jump-links .tag {
  margin: 0;
}

/* ------- Studio mode ------- */
body.studio-mode {
  padding-top: 4.5rem;
}

.studio-toolbar {
  position: sticky;
  top: 0;
  z-index: 250;
  background: rgba(6, 8, 11, 0.95);
  border-bottom: 1px solid var(--accent-border);
  backdrop-filter: blur(12px);
}

.studio-toolbar-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.studio-toolbar-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.studio-toolbar-copy strong {
  color: #fff;
  font-size: 0.92rem;
}

.studio-toolbar-copy span {
  color: var(--text-dim);
  font-size: 0.82rem;
}

.studio-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.studio-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-elev);
  color: #fff;
  font: inherit;
  cursor: pointer;
}

.studio-btn:hover {
  border-color: var(--accent-border);
  color: #fff;
}

.studio-btn.primary {
  background: var(--accent);
  border-color: var(--accent);
}

.studio-btn.primary:hover {
  background: var(--accent-2);
  color: #03212d;
}

.studio-editable {
  outline: 1px dashed transparent;
  outline-offset: 4px;
  transition: outline-color .15s ease, background .15s ease;
}

.studio-editable:hover,
.studio-editable:focus {
  outline-color: var(--accent-border);
  background: rgba(9,170,223,0.08);
}

.studio-editable[contenteditable="true"] {
  cursor: text;
}

.studio-hint {
  display: block;
  color: var(--text-dim);
  font-size: 0.76rem;
  margin-top: 0.35rem;
}

.studio-panel {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: min(380px, calc(100vw - 2rem));
  max-height: calc(100vh - 6rem);
  overflow: auto;
  z-index: 260;
  background: rgba(17, 21, 28, 0.98);
  border: 1px solid var(--accent-border);
  border-radius: 16px;
  box-shadow: 0 25px 80px rgba(0,0,0,0.45);
  padding: 1rem;
}

.studio-panel h3 {
  margin-bottom: 0.35rem;
}

.studio-panel p {
  font-size: 0.92rem;
}

.studio-panel-form {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
}

.studio-field {
  display: grid;
  gap: 0.35rem;
}

.studio-field label {
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.studio-field input,
.studio-field textarea {
  width: 100%;
  background: #0b1016;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 10px;
  padding: 0.75rem 0.85rem;
  font: inherit;
}

.studio-field textarea {
  min-height: 96px;
  resize: vertical;
}

.studio-panel-links {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 0.9rem;
}

.studio-panel-playlist {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.studio-panel-playlist h4 {
  margin: 0 0 0.6rem;
  font-size: 0.95rem;
}

.studio-login-wrap {
  max-width: 620px;
  margin: 0 auto;
}

.studio-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
}

.studio-card + .studio-card {
  margin-top: 1rem;
}

@media (max-width: 900px) {
  .studio-panel {
    position: static;
    width: auto;
    max-height: none;
    margin: 1rem auto 0;
  }
}

@media (max-width: 920px) {
  .video-collection-body {
    grid-template-columns: 1fr;
  }

  .video-thumbs {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}

@media (max-width: 640px) {
  .video-collection {
    padding: 1rem;
  }

  .video-stage-content {
    padding: 1rem 1rem 1.1rem;
  }

  .video-thumb {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 0.75rem;
    padding: 0.55rem;
  }
}

/* ------- FAQ ------- */
.faq { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.faq-item summary {
  padding: 1.1rem 1.3rem;
  cursor: pointer;
  font-weight: 600;
  color: #fff;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.5rem;
  font-weight: 400;
  flex-shrink: 0;
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { background: rgba(255,255,255,0.02); }
.faq-answer {
  padding: 0 1.3rem 1.1rem;
  color: var(--text-dim);
}
.faq-answer p { margin-bottom: 0.5rem; }
.faq-answer p:last-child { margin-bottom: 0; }

/* ------- Form status ------- */
.form-status {
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  display: none;
}
.form-status.success {
  display: block;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: #fff;
}
.form-status.error {
  display: block;
  background: rgba(255, 80, 80, 0.1);
  border: 1px solid rgba(255, 80, 80, 0.4);
  color: #ffb0b0;
}
