@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap");

:root {
  color-scheme: light;
  --bg: #f4f6f1;
  --ink: #12201d;
  --muted: #64706b;
  --line: #dce3dc;
  --panel: #ffffff;
  --panel-soft: #edf3ef;
  --accent: #0c7868;
  --accent-dark: #075246;
  --accent-light: #d9efe7;
  --warm: #f2e7d3;
  --danger: #b2382c;
  --danger-soft: #fbe7e4;
  --shadow: 0 22px 70px rgba(22, 39, 34, 0.17);
  --small-shadow: 0 10px 30px rgba(22, 39, 34, 0.1);
  --radius: 22px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 98px;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: "DM Sans", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
}

body.panel-open {
  overflow: hidden;
}

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

button,
select {
  cursor: pointer;
}

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

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

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3,
.brand {
  font-family: "Manrope", "DM Sans", sans-serif;
}

h1 {
  max-width: 820px;
  font-size: clamp(62px, 10vw, 132px);
  line-height: 0.84;
  letter-spacing: -0.075em;
}

h2 {
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

h3 {
  font-size: 19px;
  line-height: 1.25;
}

.sr-only {
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  position: absolute;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hidden {
  display: none !important;
}

.eyebrow {
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
  margin-bottom: 7px;
}

.topbar {
  min-height: 82px;
  padding: 14px clamp(18px, 4vw, 54px);
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(220, 227, 220, 0.85);
  background: rgba(250, 251, 248, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  min-width: 250px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand > span:last-child,
.brand .eyebrow {
  display: block;
}

.brand .eyebrow {
  margin-bottom: 1px;
  color: var(--accent);
}

.brand strong {
  display: block;
  font-size: 13px;
  line-height: 1.2;
}

.brand-mark,
.modal-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  font-family: "Manrope", sans-serif;
  font-size: 20px;
  font-weight: 800;
  box-shadow: inset 0 -5px 14px rgba(255, 255, 255, 0.08);
}

nav,
.admin-head-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
}

.nav-link,
.primary-btn,
.ghost-btn,
.profile-btn,
.small-btn,
.tab,
.primary-link,
.ghost-link,
.download-link,
.danger-btn,
.send-btn {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: var(--panel);
  color: var(--ink);
  font-weight: 700;
  white-space: nowrap;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.nav-link {
  min-height: 38px;
  padding: 0 11px;
  border-color: transparent;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
}

.nav-link:hover,
.ghost-btn:hover,
.profile-btn:hover,
.small-btn:hover,
.tab:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.primary-btn,
.primary-link,
.send-btn {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.primary-btn:hover,
.primary-link:hover,
.send-btn:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-1px);
}

.ghost-link {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.download-link {
  width: max-content;
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.danger-btn {
  border-color: #e7b8b1;
  background: var(--danger-soft);
  color: var(--danger);
}

.profile-btn {
  max-width: 150px;
  padding: 0 13px;
  overflow: hidden;
}

.profile-btn span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-dot,
.live-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  display: inline-block;
  border-radius: 50%;
  background: #3cba74;
  box-shadow: 0 0 0 4px rgba(60, 186, 116, 0.13);
}

.language-control select {
  height: 42px;
  padding: 0 30px 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  outline: none;
  background: var(--panel);
  color: var(--ink);
  font-weight: 800;
}

main {
  display: grid;
  gap: clamp(54px, 8vw, 110px);
  padding-bottom: clamp(44px, 7vw, 86px);
}

.hero {
  min-height: min(690px, calc(100vh - 82px));
  padding: clamp(32px, 6vw, 82px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-items: end;
  border-radius: 0 0 42px 42px;
  background: #12211e;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 75% 18%, rgba(15, 156, 134, 0.25), transparent 34%),
    linear-gradient(90deg, rgba(8, 20, 17, 0.96) 0%, rgba(8, 20, 17, 0.74) 47%, rgba(8, 20, 17, 0.24) 100%);
}

.hero-image {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  z-index: -2;
  object-fit: cover;
}

.hero-content {
  max-width: 880px;
  display: grid;
  gap: 22px;
  color: #fff;
}

.hero .eyebrow {
  color: #88e8cd;
}

.hero-text {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(18px, 2.15vw, 24px);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-stat {
  padding: 13px 17px;
  position: absolute;
  right: clamp(24px, 5vw, 72px);
  bottom: clamp(28px, 6vw, 76px);
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(10, 25, 21, 0.58);
  color: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px);
  font-size: 14px;
}

.hero-stat strong {
  color: #fff;
}

.content-section,
.podcast-section,
.assistant-section {
  width: min(1220px, calc(100% - clamp(36px, 8vw, 104px)));
  margin: 0 auto;
}

.section-head {
  margin-bottom: 24px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.section-head > p {
  max-width: 480px;
  color: var(--muted);
  line-height: 1.6;
}

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

.gallery-card {
  min-width: 0;
  aspect-ratio: 4 / 3;
  padding: 0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  border: 0;
  border-radius: var(--radius);
  background: #14211e;
  color: #fff;
  text-align: left;
  box-shadow: var(--small-shadow);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  z-index: -2;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0, 1);
}

.gallery-card:hover img,
.gallery-card:focus-visible img {
  transform: scale(1.055);
}

.gallery-card:focus-visible {
  outline: 4px solid var(--accent-light);
  outline-offset: 3px;
}

.gallery-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(8, 13, 12, 0.02) 18%, rgba(8, 13, 12, 0.76) 76%, rgba(8, 13, 12, 0.93) 100%);
}

.gallery-label {
  padding: 20px;
  align-self: end;
  display: grid;
  gap: 8px;
}

.card-title {
  font-family: "Manrope", sans-serif;
  font-size: clamp(20px, 2.2vw, 27px);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -0.035em;
}

.card-status {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  line-height: 1.4;
}

.card-action {
  width: max-content;
  margin-top: 3px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.podcast-section,
.assistant-section {
  padding: clamp(28px, 5vw, 64px);
  display: grid;
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  border-radius: 32px;
  overflow: hidden;
}

.podcast-section {
  grid-template-columns: minmax(220px, 0.72fr) minmax(300px, 1.3fr);
  background: var(--warm);
}

.podcast-art {
  min-height: 300px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  border-radius: 25px;
  background:
    radial-gradient(circle at 26% 24%, #3aa993, transparent 28%),
    linear-gradient(145deg, #12342d, #081d18);
  color: white;
  box-shadow: var(--small-shadow);
}

.podcast-art > span {
  font-family: "Manrope", sans-serif;
  font-size: 100px;
  font-weight: 800;
  line-height: 1;
}

.sound-bars {
  height: 46px;
  position: absolute;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.sound-bars i {
  width: 5px;
  height: 30%;
  border-radius: 6px;
  background: #85e4ca;
}

.sound-bars i:nth-child(2),
.sound-bars i:nth-child(4) {
  height: 70%;
}

.sound-bars i:nth-child(3) {
  height: 100%;
}

.podcast-copy,
.assistant-section > div:first-child {
  display: grid;
  gap: 14px;
}

.podcast-copy > p:last-of-type,
.assistant-section p {
  max-width: 600px;
  color: var(--muted);
  line-height: 1.65;
}

.podcast-copy audio {
  width: 100%;
  margin-top: 5px;
}

.assistant-section {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.78fr);
  border: 1px solid var(--line);
  background: var(--panel-soft);
}

.assistant-widget {
  min-height: 120px;
  padding: 24px;
  display: grid;
  align-items: center;
  border: 1px solid rgba(12, 120, 104, 0.15);
  border-radius: var(--radius);
  background: var(--panel);
}

footer {
  padding: 26px clamp(18px, 4vw, 54px);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

dialog {
  color: var(--ink);
}

.modal,
.admin-modal {
  max-height: calc(100vh - 28px);
  border: 0;
  border-radius: 26px;
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow);
}

.modal {
  width: min(920px, calc(100vw - 28px));
}

.admin-modal {
  width: min(1180px, calc(100vw - 28px));
  min-height: min(780px, calc(100vh - 28px));
}

.modal::backdrop,
.admin-modal::backdrop {
  background: rgba(6, 15, 13, 0.7);
  backdrop-filter: blur(5px);
}

.close-btn {
  width: 38px;
  height: 38px;
  padding: 0;
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 2;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f3f5f1;
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
}

.static-close {
  position: static;
}

.name-modal {
  width: min(500px, calc(100vw - 28px));
  text-align: center;
}

.name-modal form {
  display: grid;
  gap: 13px;
}

.name-modal .modal-icon {
  margin: 0 auto 4px;
}

.name-modal label,
.login-view label,
.card-form label,
.small-modal label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-align: left;
}

.modal-lead {
  color: var(--muted);
  line-height: 1.6;
}

.wide {
  width: 100%;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 12px 14px;
  outline: none;
  background: #fff;
  color: var(--ink);
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(12, 120, 104, 0.1);
}

input[type="file"] {
  padding: 9px;
  background: var(--panel-soft);
}

input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--accent);
}

.notice {
  min-height: 20px;
  color: var(--danger);
  font-size: 13px;
  line-height: 1.4;
}

.media-modal {
  width: min(960px, calc(100vw - 28px));
}

.media-holder {
  margin-top: 18px;
  display: grid;
  gap: 16px;
}

.media-frame {
  width: 100%;
  overflow: hidden;
  border-radius: 18px;
  aspect-ratio: 16 / 9;
  background: #07110f;
}

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

.modal-description {
  color: var(--muted);
  line-height: 1.65;
}

.empty-video {
  min-height: 250px;
  padding: 30px;
  display: grid;
  place-items: center;
  border: 1px dashed #bfd2ca;
  border-radius: 18px;
  background: var(--panel-soft);
  color: var(--muted);
  font-size: 17px;
  text-align: center;
}

.side-panel {
  width: min(440px, 100vw);
  padding: 24px;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 2147483000;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-left: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  transform: translateX(105%);
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.side-panel.open {
  transform: translateX(0);
}

.panel-backdrop {
  padding: 0;
  position: fixed;
  inset: 0;
  z-index: 2147482999;
  border: 0;
  background: rgba(6, 15, 13, 0.58);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.side-panel.open + .panel-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.panel-head,
.admin-head,
.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.chat-identity {
  padding: 10px 13px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-radius: 13px;
  background: var(--panel-soft);
  color: var(--muted);
  font-size: 13px;
}

.chat-identity strong {
  max-width: 145px;
  overflow: hidden;
  color: var(--ink);
  text-overflow: ellipsis;
}

.text-btn {
  margin-left: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent);
  font-weight: 800;
}

.messages {
  min-height: 300px;
  flex: 1;
  overflow: auto;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f7f9f6;
}

.messages.tall {
  min-height: 360px;
  max-height: 48vh;
}

.message {
  max-width: 90%;
  padding: 10px 12px;
  align-self: flex-start;
  border: 1px solid var(--line);
  border-radius: 15px 15px 15px 4px;
  background: #fff;
}

.message.mine {
  align-self: flex-end;
  border-color: #badfd5;
  border-radius: 15px 15px 4px 15px;
  background: var(--accent-light);
}

.message.admin-message {
  max-width: 100%;
  align-self: stretch;
  border-color: #d9c190;
  border-radius: 14px;
  background: #fff4d9;
}

.message-head {
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.message strong {
  color: var(--accent-dark);
  font-size: 13px;
}

.admin-message strong {
  color: #8c5b00;
}

.message p {
  overflow-wrap: anywhere;
  line-height: 1.45;
}

.message time {
  color: var(--muted);
  font-size: 10px;
  white-space: nowrap;
}

.empty-state {
  padding: 32px;
  color: var(--muted);
  text-align: center;
}

.chat-form,
.admin-chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.send-btn {
  width: 46px;
  height: 46px;
  padding: 0;
  font-size: 22px;
}

.login-view {
  max-width: 400px;
  min-height: 560px;
  margin: auto;
  display: grid;
  align-content: center;
  gap: 13px;
}

.admin-icon {
  margin-bottom: 7px;
  background: var(--accent);
}

.admin-head {
  padding-right: 42px;
}

.active-pill,
.status-pill {
  min-height: 36px;
  padding: 7px 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  background: var(--accent-light);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.status-pill.offline {
  background: #ecefeb;
  color: var(--muted);
}

.tabs {
  margin: 24px 0;
  padding: 5px;
  display: flex;
  gap: 5px;
  overflow-x: auto;
  border-radius: 999px;
  background: var(--panel-soft);
}

.tab {
  flex: 0 0 auto;
  min-height: 39px;
  border-color: transparent;
  background: transparent;
  color: var(--muted);
}

.tab.active {
  border-color: #fff;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 3px 13px rgba(22, 39, 34, 0.08);
}

.admin-toolbar {
  margin-bottom: 17px;
}

.admin-toolbar p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.admin-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.admin-card {
  min-width: 0;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.admin-card.unpublished {
  opacity: 0.68;
}

.admin-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #10201c;
}

.admin-card-body {
  padding: 14px;
}

.admin-card-body p {
  margin-top: 5px;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.admin-card-meta {
  margin-top: 11px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.meta-chip {
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--panel-soft);
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.admin-card-actions {
  padding: 12px 14px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  border-top: 1px solid var(--line);
}

.people-list {
  display: grid;
  gap: 9px;
}

.person {
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
}

.person-info {
  min-width: 0;
}

.person-info strong,
.person-info small {
  display: block;
}

.person-info strong {
  overflow: hidden;
  text-overflow: ellipsis;
}

.person-info small {
  margin-top: 4px;
  color: var(--muted);
}

.person-actions {
  display: flex;
  gap: 7px;
}

.person-actions button {
  min-height: 36px;
  padding: 0 12px;
}

.admin-chat-form {
  margin-top: 10px;
}

.editor-modal {
  width: min(940px, calc(100vw - 28px));
}

.card-form {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-section {
  padding: 16px;
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.form-grid {
  padding: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.toggle-label {
  min-height: 45px;
  grid-template-columns: auto 1fr;
  align-items: center;
}

.media-fields {
  grid-column: 2;
  grid-row: 2 / span 2;
}

.card-form small {
  color: var(--muted);
  font-weight: 400;
}

.card-form .notice,
.form-actions {
  grid-column: 1 / -1;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.small-modal,
.confirm-modal {
  width: min(440px, calc(100vw - 28px));
}

.small-modal {
  display: grid;
  gap: 10px;
}

.small-modal:not([open]) {
  display: none;
}

.confirm-modal {
  text-align: center;
}

.confirm-symbol {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--danger-soft);
  color: var(--danger);
  font-size: 26px;
  font-weight: 800;
}

.confirm-modal .modal-lead {
  margin: 11px 0 22px;
}

.confirm-modal .form-actions {
  justify-content: center;
}

.toast-region {
  width: min(380px, calc(100vw - 28px));
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 2147483001;
  display: grid;
  gap: 8px;
  pointer-events: none;
}

.toast {
  padding: 13px 15px;
  border: 1px solid #cce3db;
  border-radius: 13px;
  background: #f0fbf7;
  color: var(--accent-dark);
  box-shadow: var(--small-shadow);
  font-weight: 700;
  animation: toast-in 0.22s ease both;
}

.toast.error {
  border-color: #efc1bb;
  background: #fff1ef;
  color: var(--danger);
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(8px); }
}

@media (max-width: 1080px) {
  .brand {
    min-width: auto;
  }

  .brand strong,
  .nav-link {
    display: none;
  }

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

@media (max-width: 780px) {
  .topbar {
    min-height: 70px;
    padding: 10px 16px;
  }

  .brand .eyebrow {
    display: none;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .profile-btn {
    max-width: 105px;
  }

  .topbar .ghost-btn,
  .topbar .primary-btn {
    padding: 0 12px;
    font-size: 13px;
  }

  .hero {
    min-height: 620px;
    padding: 44px 22px 105px;
    border-radius: 0 0 28px 28px;
  }

  .hero::after {
    background: linear-gradient(0deg, rgba(8, 20, 17, 0.96) 0%, rgba(8, 20, 17, 0.7) 62%, rgba(8, 20, 17, 0.24) 100%);
  }

  .hero-stat {
    right: auto;
    left: 22px;
    bottom: 36px;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }

  .content-section,
  .podcast-section,
  .assistant-section {
    width: calc(100% - 28px);
  }

  .podcast-section,
  .assistant-section {
    grid-template-columns: 1fr;
  }

  .podcast-art {
    min-height: 240px;
  }

  .admin-head {
    align-items: start;
    flex-direction: column;
  }

  .admin-head-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .card-form {
    grid-template-columns: 1fr;
  }

  .media-fields,
  .card-form .notice,
  .form-actions {
    grid-column: 1;
  }

  .media-fields {
    grid-row: auto;
  }
}

@media (max-width: 580px) {
  h1 {
    font-size: clamp(58px, 20vw, 84px);
  }

  .language-control select {
    width: 57px;
    padding-left: 10px;
  }

  .profile-btn {
    width: 42px;
    padding: 0;
  }

  .profile-btn span:last-child {
    display: none;
  }

  .video-grid,
  .admin-cards {
    grid-template-columns: 1fr;
  }

  .gallery-card {
    aspect-ratio: 16 / 11;
  }

  .podcast-section,
  .assistant-section {
    padding: 22px;
    border-radius: 24px;
  }

  .side-panel {
    padding: 18px 14px;
  }

  .admin-modal,
  .modal {
    padding: 23px 18px;
    border-radius: 20px;
  }

  .admin-toolbar,
  .person {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-toolbar .primary-btn {
    width: 100%;
  }

  .person-actions {
    width: 100%;
  }

  .person-actions button {
    flex: 1;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  footer {
    flex-direction: column;
  }
}

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