:root {
  --background: #0e111c;
  --background-2: #090b12;
  --deep-navy: #151a2a;
  --panel: #171d2e;
  --panel-2: #111724;
  --orange: #ff6a00;
  --soft-orange: #ff922e;
  --blue: #2ea7e0;
  --green: #28d89a;
  --red: #ff5c7a;
  --white: #ffffff;
  --muted: #aab0c0;
  --muted-2: #757d91;
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.18);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --radius: 8px;
  --max: 1180px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--white);
  background:
    radial-gradient(circle at 10% 5%, rgba(46, 167, 224, 0.13), transparent 28rem),
    radial-gradient(circle at 88% 8%, rgba(255, 106, 0, 0.12), transparent 24rem),
    linear-gradient(180deg, #0e111c 0%, #090b12 100%);
  font-family: var(--font);
  line-height: 1.55;
  letter-spacing: 0;
}

body.admin-body {
  overflow-x: hidden;
  background: #090b12;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  padding: 0.75rem 1rem;
  color: #111;
  background: var(--white);
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 92px 0;
  position: relative;
}

.section.tight {
  padding: 56px 0;
}

.section.alt {
  background: linear-gradient(180deg, rgba(21, 26, 42, 0.42), rgba(9, 11, 18, 0));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: grid;
  gap: 0.85rem;
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-heading.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-kicker {
  color: var(--soft-orange);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
.hero-title {
  margin-bottom: 1.2rem;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.92;
  font-weight: 950;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1;
  font-weight: 920;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.65rem;
  font-size: 1.22rem;
  line-height: 1.2;
  font-weight: 820;
}

p {
  color: var(--muted);
}

.lead {
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  color: #d9deea;
}

.muted {
  color: var(--muted);
}

.accent {
  color: var(--orange);
}

.blue-accent {
  color: var(--blue);
}

.handwritten {
  color: var(--blue);
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: 1.65rem;
  font-weight: 500;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(9, 11, 18, 0.78);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1240px, calc(100% - 32px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 190px;
}

.brand img {
  width: 88px;
  height: 54px;
  object-fit: contain;
  border-radius: 6px;
  filter: drop-shadow(0 12px 24px rgba(255, 106, 0, 0.18));
}

.brand-text {
  display: grid;
  line-height: 1.05;
  font-weight: 900;
}

.brand-text span:last-child {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.18rem;
}

.nav-links a,
.admin-nav a {
  color: #dfe4ef;
  border-radius: var(--radius);
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.nav-links a {
  padding: 0.6rem 0.76rem;
  font-size: 0.9rem;
  font-weight: 750;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  content: "";
}

.menu-toggle span::before {
  transform: translateY(-6px);
}

.menu-toggle span::after {
  transform: translateY(4px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.78rem 1rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 850;
  line-height: 1;
  box-shadow: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.12);
}

.btn-primary {
  color: #16100b;
  background: linear-gradient(135deg, var(--orange), var(--soft-orange));
  border-color: transparent;
  box-shadow: 0 14px 34px rgba(255, 106, 0, 0.28);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ff7a1f, #ffa64d);
}

.btn-secondary {
  color: var(--white);
  background: rgba(46, 167, 224, 0.13);
  border-color: rgba(46, 167, 224, 0.38);
}

.btn-ghost {
  background: transparent;
}

.btn-danger {
  color: #fff;
  background: rgba(255, 92, 122, 0.16);
  border-color: rgba(255, 92, 122, 0.38);
}

.hero {
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: center;
  padding: 60px 0 48px;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(9, 11, 18, 0.98), rgba(9, 11, 18, 0.72) 42%, rgba(9, 11, 18, 0.2)),
    url("../images/generated/hero-studio.png") center right / cover no-repeat;
  content: "";
}

.hero::after {
  position: absolute;
  inset: auto 0 0 0;
  height: 160px;
  z-index: -1;
  background: linear-gradient(180deg, transparent, var(--background));
  content: "";
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.8fr);
  align-items: end;
  gap: 3rem;
}

.hero-copy {
  max-width: 770px;
}

.hero-logo {
  width: min(320px, 80vw);
  margin-bottom: 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-title em {
  color: var(--soft-orange);
  font-style: italic;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.7rem 0 1.5rem;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: #e9edf5;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
}

.video-card {
  overflow: hidden;
  background: rgba(17, 23, 36, 0.78);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(135deg, rgba(255, 106, 0, 0.18), rgba(46, 167, 224, 0.12)),
    #0d111b;
}

.video-frame iframe,
.video-frame img {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: radial-gradient(circle, rgba(255, 106, 0, 0.1), rgba(0, 0, 0, 0.28));
}

.play-button {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  color: #14100d;
  background: var(--orange);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 22px 40px rgba(255, 106, 0, 0.32);
}

.video-meta {
  padding: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 2.1rem;
}

.stat-card,
.card,
.metric-card,
.chart-card,
.form-panel,
.table-panel,
.package-card,
.contact-card,
.settings-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.028));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.2);
}

.stat-card {
  padding: 1.2rem;
}

.stat-value {
  display: flex;
  align-items: baseline;
  gap: 0.1rem;
  margin-bottom: 0.25rem;
  font-size: clamp(1.8rem, 3.2vw, 3.1rem);
  line-height: 1;
  font-weight: 940;
}

.stat-label {
  color: #f1f4fb;
  font-size: 0.88rem;
  font-weight: 780;
}

.stat-trend {
  color: var(--muted-2);
  font-size: 0.78rem;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 1rem;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  padding: 1.25rem;
}

.feature-card {
  min-height: 190px;
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  position: absolute;
  width: 120px;
  height: 120px;
  right: -56px;
  top: -56px;
  background: radial-gradient(circle, rgba(255, 106, 0, 0.26), transparent 68%);
  content: "";
}

.icon-box {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  color: var(--orange);
  background: rgba(255, 106, 0, 0.12);
  border: 1px solid rgba(255, 106, 0, 0.26);
  border-radius: var(--radius);
  font-size: 1.15rem;
}

.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.episode-card {
  overflow: hidden;
  background: rgba(17, 23, 36, 0.76);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.episode-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 106, 0, 0.38);
  background: rgba(21, 26, 42, 0.92);
}

.episode-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #101624;
  border: 0;
  padding: 0;
}

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

.episode-card[data-category="Creators"] .episode-thumb img { object-position: 50% 24%; }
.episode-card[data-category="Leadership"] .episode-thumb img { object-position: 84% 24%; }
.episode-card[data-category="Startups"] .episode-thumb img { object-position: 16% 76%; }
.episode-card[data-category="Personal Growth"] .episode-thumb img { object-position: 50% 76%; }
.episode-card[data-category="Investments"] .episode-thumb img { object-position: 84% 76%; }

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.32rem 0.55rem;
  color: #fff;
  background: rgba(46, 167, 224, 0.14);
  border: 1px solid rgba(46, 167, 224, 0.34);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 820;
}

.thumb-tag {
  position: absolute;
  left: 0.85rem;
  top: 0.85rem;
}

.episode-body {
  padding: 1rem;
}

.episode-meta,
.meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted-2);
  font-size: 0.8rem;
  font-weight: 700;
}

.episode-title {
  margin: 0.45rem 0;
}

.split-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: 1.4rem;
  align-items: center;
}

.media-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-2);
  box-shadow: var(--shadow);
}

.media-panel img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.cta-band {
  position: relative;
  overflow: hidden;
  padding: 2rem;
  background:
    linear-gradient(135deg, rgba(255, 106, 0, 0.22), rgba(46, 167, 224, 0.08)),
    var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
}

.cta-band::after {
  position: absolute;
  inset: auto -12% -34% 52%;
  height: 260px;
  z-index: 0;
  background: radial-gradient(circle, rgba(255, 146, 46, 0.36), transparent 70%);
  pointer-events: none;
  content: "";
}

.cta-band > * {
  position: relative;
  z-index: 1;
}

.newsletter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.7fr);
  gap: 1.4rem;
  align-items: center;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-field {
  display: grid;
  gap: 0.45rem;
}

.form-field.full {
  grid-column: 1 / -1;
}

.full {
  grid-column: 1 / -1;
}

label {
  color: #f4f6fb;
  font-size: 0.83rem;
  font-weight: 760;
}

input,
select,
textarea {
  width: 100%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: none;
  padding: 0.82rem 0.9rem;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

textarea {
  min-height: 128px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(255, 106, 0, 0.7);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 4px rgba(255, 106, 0, 0.11);
}

input::placeholder,
textarea::placeholder {
  color: #687186;
}

.form-panel {
  padding: 1.2rem;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1rem;
}

.success-message,
.notice {
  display: none;
  margin-top: 1rem;
  padding: 0.85rem;
  color: #d9fff2;
  background: rgba(40, 216, 154, 0.12);
  border: 1px solid rgba(40, 216, 154, 0.28);
  border-radius: var(--radius);
  font-weight: 720;
}

.success-message.show,
.notice.show {
  display: block;
}

.footer {
  padding: 56px 0 28px;
  color: var(--muted);
  background: #070910;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.7fr 0.8fr;
  gap: 1.4rem;
}

.footer h4 {
  color: var(--white);
  margin-bottom: 0.8rem;
}

.footer a {
  display: block;
  margin: 0.45rem 0;
  color: var(--muted);
  font-weight: 650;
}

.footer a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.84rem;
}

.page-hero {
  padding: 88px 0 54px;
  background:
    linear-gradient(180deg, rgba(255, 106, 0, 0.1), rgba(9, 11, 18, 0)),
    radial-gradient(circle at 82% 20%, rgba(46, 167, 224, 0.16), transparent 26rem);
  border-bottom: 1px solid var(--line);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.65fr);
  gap: 2rem;
  align-items: center;
}

.timeline {
  display: grid;
  gap: 0.9rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.timeline-year {
  color: var(--orange);
  font-weight: 950;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.toolbar-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.toolbar input,
.toolbar select {
  min-width: 190px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.72);
}

.modal.open {
  display: flex;
}

.modal-panel {
  width: min(920px, 100%);
  max-height: 90vh;
  overflow: auto;
  background: #0e1320;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid var(--line);
}

.modal-body {
  padding: 1rem;
}

.close-btn {
  width: 40px;
  height: 40px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.package-card {
  position: relative;
  padding: 1.4rem;
  overflow: hidden;
}

.package-card.featured {
  border-color: rgba(255, 106, 0, 0.52);
  box-shadow: 0 24px 70px rgba(255, 106, 0, 0.14);
}

.price {
  margin: 1rem 0;
  font-size: 2.4rem;
  font-weight: 940;
}

.check-list {
  display: grid;
  gap: 0.65rem;
  padding: 0;
  margin: 1rem 0 1.3rem;
  list-style: none;
}

.check-list li {
  color: #dce2ee;
}

.check-list li::before {
  color: var(--orange);
  content: "✓ ";
  font-weight: 900;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  color: var(--white);
  background: transparent;
  border: 0;
  text-align: left;
  font-weight: 850;
}

.faq-answer {
  display: none;
  padding: 0 1rem 1rem;
}

.faq-item.open .faq-answer {
  display: block;
}

.admin-login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.login-card {
  width: min(460px, 100%);
  padding: 1.4rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.login-card img {
  width: 160px;
  margin-bottom: 1rem;
  border-radius: var(--radius);
}

.admin-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  background: #0c101a;
  border-right: 1px solid var(--line);
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 62px;
}

.admin-brand img {
  width: 78px;
  border-radius: 6px;
}

.admin-nav {
  display: grid;
  gap: 0.25rem;
}

.admin-nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.76rem 0.82rem;
  font-weight: 760;
  font-size: 0.92rem;
}

.admin-nav a.active,
.admin-nav a:hover {
  color: var(--white);
  background: rgba(255, 106, 0, 0.13);
  border-color: rgba(255, 106, 0, 0.28);
}

.admin-main {
  min-width: 0;
  background:
    radial-gradient(circle at 90% 0%, rgba(46, 167, 224, 0.11), transparent 22rem),
    #090b12;
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 80;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.2rem;
  background: rgba(9, 11, 18, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.admin-content {
  padding: 1.2rem;
}

.admin-title {
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-end;
}

.admin-title h1 {
  margin-bottom: 0.3rem;
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.metric-card {
  padding: 1rem;
}

.metric-card strong {
  display: block;
  margin: 0.2rem 0;
  font-size: 2rem;
  line-height: 1;
}

.metric-delta {
  display: inline-flex;
  padding: 0.25rem 0.45rem;
  color: #e9fff7;
  background: rgba(40, 216, 154, 0.12);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 820;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 0.9rem;
}

.chart-card,
.table-panel,
.settings-card {
  padding: 1rem;
}

.bar-chart {
  height: 180px;
  display: flex;
  align-items: end;
  gap: 0.42rem;
  padding-top: 1rem;
}

.bar-chart span {
  flex: 1;
  min-width: 8px;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, var(--orange), rgba(255, 106, 0, 0.26));
}

.bar-chart.blue span {
  background: linear-gradient(180deg, var(--blue), rgba(46, 167, 224, 0.22));
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.data-table th,
.data-table td {
  padding: 0.82rem 0.7rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.data-table th {
  color: #f4f6fb;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.data-table td {
  color: #dfe4ef;
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
}

.status {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0.25rem 0.5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 840;
  white-space: nowrap;
}

.status.published,
.status.approved,
.status.converted,
.status.paid,
.status.active {
  color: #ccffe9;
  background: rgba(40, 216, 154, 0.12);
  border-color: rgba(40, 216, 154, 0.28);
}

.status.pending,
.status.reviewing,
.status.contacted,
.status.negotiation,
.status.scheduled {
  color: #fff0dc;
  background: rgba(255, 146, 46, 0.14);
  border-color: rgba(255, 146, 46, 0.3);
}

.status.new,
.status.shortlisted,
.status.draft {
  color: #d9f2ff;
  background: rgba(46, 167, 224, 0.14);
  border-color: rgba(46, 167, 224, 0.3);
}

.status.rejected,
.status.lost,
.status.failed,
.status.refunded {
  color: #ffe0e7;
  background: rgba(255, 92, 122, 0.14);
  border-color: rgba(255, 92, 122, 0.3);
}

.table-actions {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.mini-btn {
  min-height: 32px;
  padding: 0.45rem 0.58rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 800;
}

.pipeline {
  display: grid;
  grid-template-columns: repeat(6, minmax(130px, 1fr));
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.4rem;
}

.pipeline-col {
  min-height: 170px;
  padding: 0.7rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.pipeline-card {
  margin-top: 0.55rem;
  padding: 0.65rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.admin-drawer {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 250;
  width: min(460px, 100%);
  display: none;
  padding: 1rem;
  overflow: auto;
  background: #0e1320;
  border-left: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}

.admin-drawer.open {
  display: block;
}

.mobile-admin-toggle {
  display: none;
}

/* Public-site refinement: keep admin density intact while giving the website a calmer editorial scale. */
body:not(.admin-body) {
  --max: 1120px;
}

body:not(.admin-body) .container {
  width: min(var(--max), calc(100% - 48px));
}

body:not(.admin-body) .section {
  padding: 78px 0;
}

body:not(.admin-body) .section.tight {
  padding: 52px 0 72px;
}

body:not(.admin-body) h1,
body:not(.admin-body) .hero-title {
  max-width: 720px;
  margin-bottom: 1rem;
  font-size: clamp(2.4rem, 4.2vw, 3.55rem);
  line-height: 1.08;
  font-weight: 760;
}

body:not(.admin-body) h2 {
  max-width: 780px;
  font-size: clamp(1.65rem, 2.55vw, 2.42rem);
  line-height: 1.14;
  font-weight: 740;
}

body:not(.admin-body) h3 {
  font-size: 1.08rem;
  line-height: 1.28;
  font-weight: 720;
}

body:not(.admin-body) p {
  font-size: 0.98rem;
  line-height: 1.68;
}

body:not(.admin-body) .lead {
  max-width: 660px;
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  line-height: 1.72;
}

body:not(.admin-body) .hero {
  min-height: auto;
  padding: 72px 0 84px;
}

body:not(.admin-body) .hero-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

body:not(.admin-body) .hero-copy {
  max-width: 620px;
}

body:not(.admin-body) .hero-logo {
  width: min(260px, 72vw);
  margin-bottom: 1.4rem;
}

body:not(.admin-body) .hero .video-card {
  max-width: 475px;
  justify-self: end;
}

body:not(.admin-body) .hero-actions {
  margin: 1.45rem 0 1.25rem;
}

body:not(.admin-body) .nav-links a {
  font-size: 0.86rem;
  font-weight: 650;
}

body:not(.admin-body) .brand-text {
  font-weight: 760;
}

body:not(.admin-body) .btn {
  min-height: 42px;
  padding: 0.74rem 0.95rem;
  font-size: 0.88rem;
  font-weight: 720;
}

body:not(.admin-body) .hero .stat-grid {
  max-width: 720px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 1.55rem;
  overflow: hidden;
  background: rgba(17, 23, 36, 0.62);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.22);
}

body:not(.admin-body) .hero .stat-card {
  padding: 1rem 1.05rem;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}

body:not(.admin-body) .hero .stat-card:last-child {
  border-right: 0;
}

body:not(.admin-body) .stat-value {
  font-size: clamp(1.45rem, 2vw, 2rem);
}

body:not(.admin-body) .stat-label {
  font-size: 0.8rem;
}

body:not(.admin-body) .stat-trend {
  margin-top: 0.16rem;
}

body:not(.admin-body) .section-heading {
  gap: 0.72rem;
  margin-bottom: 1.7rem;
}

body:not(.admin-body) .section-heading.center {
  max-width: 720px;
}

body:not(.admin-body) .section-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
}

body:not(.admin-body) .featured-panel {
  align-items: center;
}

body:not(.admin-body) .featured-panel h2 {
  max-width: 600px;
}

body:not(.admin-body) .card,
body:not(.admin-body) .episode-card,
body:not(.admin-body) .form-panel,
body:not(.admin-body) .package-card,
body:not(.admin-body) .contact-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.025));
}

body:not(.admin-body) .feature-card {
  min-height: 154px;
  padding: 1.15rem;
}

body:not(.admin-body) .episode-grid {
  gap: 1.15rem;
}

body:not(.admin-body) .episode-body {
  padding: 1.05rem;
}

body:not(.admin-body) .cta-band {
  padding: clamp(1.25rem, 4vw, 2rem);
}

body:not(.admin-body) .newsletter {
  align-items: start;
}

@media (max-width: 1060px) {
  .nav-links {
    position: fixed;
    left: 1rem;
    right: 1rem;
    top: 84px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.8rem;
    background: rgba(10, 13, 21, 0.98);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero-grid,
  .split-panel,
  .page-hero-grid,
  .newsletter {
    grid-template-columns: 1fr;
  }

  .stat-grid,
  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-4,
  .grid-3,
  .episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: fixed;
    z-index: 160;
    transform: translateX(-105%);
    transition: transform 180ms ease;
  }

  .admin-sidebar.open {
    transform: translateX(0);
  }

  .mobile-admin-toggle {
    display: inline-flex;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .section {
    padding: 64px 0;
  }

  .nav {
    min-height: 68px;
  }

  .brand-text {
    display: none;
  }

  .brand {
    min-width: auto;
  }

  .brand img {
    width: 76px;
    height: 48px;
  }

  .nav-actions .btn {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 46px 0;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(9, 11, 18, 0.92), rgba(9, 11, 18, 0.76)),
      url("../images/generated/hero-studio.png") center / cover no-repeat;
  }

  .hero-logo {
    width: 220px;
  }

  .hero-actions,
  .toolbar,
  .form-actions,
  .footer-bottom,
  .admin-title {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn,
  .form-actions .btn,
  .toolbar input,
  .toolbar select,
  .toolbar .btn {
    width: 100%;
  }

  .stat-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .episode-grid,
  .form-grid,
  .footer-grid,
  .metric-grid,
  .admin-grid,
  .settings-grid {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .admin-content,
  .admin-topbar {
    padding: 0.85rem;
  }

  .video-meta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 1060px) {
  body:not(.admin-body) .hero-grid,
  body:not(.admin-body) .split-panel,
  body:not(.admin-body) .page-hero-grid,
  body:not(.admin-body) .newsletter {
    grid-template-columns: 1fr;
  }

  body:not(.admin-body) .hero .video-card {
    width: 100%;
    max-width: none;
    justify-self: stretch;
  }

  body:not(.admin-body) .hero .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body:not(.admin-body) .hero .stat-card:nth-child(2) {
    border-right: 0;
  }

  body:not(.admin-body) .hero .stat-card:nth-child(1),
  body:not(.admin-body) .hero .stat-card:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 720px) {
  body:not(.admin-body) .container {
    width: min(100% - 32px, var(--max));
  }

  body:not(.admin-body) .section {
    padding: 58px 0;
  }

  body:not(.admin-body) .hero {
    padding: 48px 0 58px;
  }

  body:not(.admin-body) .hero-copy {
    max-width: none;
  }

  body:not(.admin-body) h1,
  body:not(.admin-body) .hero-title {
    max-width: 340px;
    font-size: clamp(2.25rem, 10vw, 2.85rem);
    line-height: 1.08;
  }

  body:not(.admin-body) h2 {
    font-size: clamp(1.65rem, 8vw, 2.1rem);
    line-height: 1.14;
  }

  body:not(.admin-body) .lead {
    max-width: none;
    font-size: 0.98rem;
    line-height: 1.62;
  }

  body:not(.admin-body) .hero-actions,
  body:not(.admin-body) .form-actions,
  body:not(.admin-body) .toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  body:not(.admin-body) .hero-actions .btn,
  body:not(.admin-body) .form-actions .btn,
  body:not(.admin-body) .toolbar .btn,
  body:not(.admin-body) .toolbar input,
  body:not(.admin-body) .toolbar select {
    width: 100%;
  }

  body:not(.admin-body) .hero .stat-grid {
    grid-template-columns: 1fr;
  }

  body:not(.admin-body) .hero .stat-card,
  body:not(.admin-body) .hero .stat-card:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  body:not(.admin-body) .hero .stat-card:last-child {
    border-bottom: 0;
  }

  body:not(.admin-body) .grid-2,
  body:not(.admin-body) .grid-3,
  body:not(.admin-body) .grid-4,
  body:not(.admin-body) .episode-grid,
  body:not(.admin-body) .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
