:root {
  color-scheme: light;
  --ink: #141414;
  --ink-soft: #2f3137;
  --muted: #626873;
  --quiet: #8a9099;
  --line: #dedfe3;
  --line-strong: #c5c8cf;
  --paper: #ffffff;
  --wash: #f7f7f8;
  --wash-strong: #efeff2;
  --night: #101214;
  --night-soft: #1c2026;
  --coral: #d43168;
  --coral-dark: #c22b61;
  --teal: #007f78;
  --teal-soft: #e6f5f2;
  --gold: #e8ad1a;
  --orange: #f4a51c;
  --orange-soft: #fff3d8;
  --blue: #2f6bdc;
  --green: #4bb23f;
  --rose-soft: #fff0ec;
  --shadow: 0 16px 45px rgba(20, 20, 20, 0.12);
  --shadow-soft: 0 8px 24px rgba(20, 20, 20, 0.08);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f7f7f7;
  color: var(--ink);
}

a {
  color: var(--coral-dark);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--ink);
}

img {
  max-width: 100%;
}

.site-header {
  background: #fff;
  border-bottom: 0;
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1280px;
  padding: 8px 14px;
}

.brand {
  align-items: center;
  color: var(--ink);
  display: inline-flex;
  font-weight: 850;
  gap: 10px;
  letter-spacing: 0;
  text-decoration: none;
}

.brand img {
  display: block;
  height: auto;
  max-height: 52px;
  width: 170px;
}

.nav-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.nav-links a {
  border: 1px solid transparent;
  border-radius: 2px;
  color: #333;
  font-size: 1rem;
  font-weight: 400;
  padding: 11px 8px;
  text-decoration: none;
}

.nav-links a[aria-current="page"],
.nav-links a:hover {
  background: transparent;
  border-color: transparent;
  color: #d43168;
}

.nav-dropdown {
  position: relative;
}

.nav-drop {
  cursor: default;
  display: inline-flex;
  gap: 6px;
}

.dropdown-menu {
  background: #fff;
  border: 1px solid #e5e5e5;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  display: none;
  left: 0;
  min-width: 245px;
  padding: 8px 0;
  position: absolute;
  top: calc(100% + 2px);
  z-index: 40;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu,
.nav-dropdown.is-open .dropdown-menu {
  display: grid;
}

.dropdown-menu a {
  border-radius: 0;
  color: #333;
  display: block;
  font-size: 0.93rem;
  line-height: 1.2;
  padding: 9px 14px;
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background: #f5f5f5;
  color: #d43168;
}

.submit-link {
  background: #55c538;
  border-radius: 3px !important;
  color: #fff !important;
  padding: 13px 18px !important;
}

.submit-link:hover {
  background: #48ab30 !important;
  color: #fff !important;
}

.social-strip {
  display: grid;
  gap: 9px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 8px auto 0;
  max-width: 1280px;
  padding: 0 14px 14px;
}

.social-strip a {
  color: #fff;
  font-size: 0.93rem;
  min-height: 44px;
  padding: 12px 16px;
  text-align: center;
  text-decoration: none;
}

.social-facebook {
  background: #326fe3;
}

.social-whatsapp {
  background: #4dad43;
}

.social-instagram {
  background: #7d3eb5;
}

.page {
  margin: 0 auto;
  max-width: 1240px;
  padding: 28px 22px 70px;
}

.page.narrow {
  max-width: 1020px;
}

.breadcrumbs {
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.86rem;
  gap: 8px;
  margin: 0 0 18px;
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--ink);
}

h1,
h2,
h3 {
  letter-spacing: 0;
  margin: 0;
}

h1 {
  font-size: 3.55rem;
  line-height: 0.98;
  max-width: 920px;
}

h2 {
  font-size: 1.55rem;
  line-height: 1.12;
}

h3 {
  font-size: 1.05rem;
  line-height: 1.25;
}

p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

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

.lead {
  color: var(--ink-soft);
  font-size: 1.08rem;
  max-width: 820px;
}

.eyebrow {
  color: var(--coral-dark);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 0;
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, 0.82fr);
  margin-bottom: 24px;
  overflow: hidden;
}

.hero-copy {
  align-content: center;
  display: grid;
  gap: 18px;
  min-height: 438px;
  padding: 42px;
}

.hero-copy p {
  max-width: 780px;
}

.hero-panel {
  background: var(--night);
  color: #fff;
  display: grid;
  gap: 14px;
  min-height: 100%;
  padding: 16px;
}

.hero-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.hero-panel .metric {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.panel-image,
.media-card img,
.image-visual img,
.story-image img {
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  display: block;
  object-fit: cover;
  width: 100%;
}

.panel-image {
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.24);
  min-height: 260px;
}

.scene {
  align-content: end;
  background:
    linear-gradient(180deg, rgba(16, 18, 20, 0.08), rgba(16, 18, 20, 0.76)),
    url("https://salsawithsilvia.com/wp-content/uploads/2025/09/Aldo-Ortega-Salsa-And-Bachata-Classes-At-Salsa-With-Silvia-DC-and-Bethesda.webp");
  background-position: center;
  background-size: cover;
  border-radius: 8px;
  color: #fff;
  display: grid;
  min-height: 280px;
  padding: 18px;
}

.metric-row,
.chip-row,
.card-row,
.hero-actions,
.action-row,
.tag-list,
.source-list {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.metric,
.chip {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.83rem;
  font-weight: 780;
  padding: 7px 10px;
}

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

.stat-strip {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 18px 0 0;
}

.stat {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 4px;
  padding: 14px;
}

.stat strong {
  font-size: 1.35rem;
}

.stat span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.section {
  margin-top: 34px;
}

.section-header {
  align-items: end;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 14px;
}

.section-header p {
  max-width: 660px;
}

.grid {
  display: grid;
  gap: 16px;
}

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

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

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

.card,
.profile,
.filters,
.callout,
.map-panel,
.story-block,
.answer-card,
.profile-facts,
.directory-sidebar {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.card {
  box-shadow: 0 1px 0 rgba(20, 20, 20, 0.03);
  display: grid;
  gap: 11px;
  min-width: 0;
  padding: 16px;
}

.card:hover {
  border-color: var(--line-strong);
}

.media-card {
  align-content: start;
}

.media-card img {
  background: var(--wash-strong);
  border: 1px solid var(--line);
  max-height: 230px;
}

.media-card.logo-card img,
.logo-visual img {
  object-fit: contain;
}

.card p,
.profile p {
  margin: 0;
}

.card a:last-child:not(.tag):not(.button) {
  font-weight: 760;
}

.meta {
  color: var(--quiet);
  font-size: 0.9rem;
}

.tag {
  background: var(--rose-soft);
  border: 1px solid rgba(232, 79, 53, 0.2);
  border-radius: 999px;
  color: var(--coral-dark);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 790;
  line-height: 1;
  padding: 7px 9px;
  text-decoration: none;
}

.tag.green {
  background: var(--teal-soft);
  border-color: rgba(0, 127, 120, 0.18);
  color: var(--teal);
}

.tag.gold {
  background: #fff7dd;
  border-color: rgba(232, 173, 26, 0.25);
  color: #7a5400;
}

.deal-badge {
  background: #fff5cf;
  border: 1px solid rgba(232, 173, 26, 0.45);
  border-radius: 7px;
  color: #6d4a00;
  display: inline-flex;
  font-size: 0.86rem;
  font-weight: 850;
  line-height: 1.25;
  padding: 8px 10px;
  width: fit-content;
}

.button {
  align-items: center;
  background: var(--coral);
  border: 1px solid var(--coral);
  border-radius: 7px;
  color: #fff;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 42px;
  padding: 9px 13px;
  text-decoration: none;
  width: fit-content;
}

.button:hover {
  background: var(--coral-dark);
  border-color: var(--coral-dark);
  color: #fff;
}

.button.secondary {
  background: var(--night);
  border-color: var(--night);
  color: #fff;
}

.button.secondary:hover {
  background: #000;
}

.button.ghost {
  background: var(--paper);
  border-color: var(--line-strong);
  color: var(--ink);
}

.button.ghost:hover {
  background: var(--wash-strong);
  color: var(--ink);
}

.filters {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 18px 0;
  padding: 16px;
}

.filter-field {
  display: grid;
  gap: 6px;
}

label {
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 790;
}

select,
input {
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  color: var(--ink);
  font: inherit;
  min-height: 43px;
  padding: 9px 11px;
  width: 100%;
}

select:focus,
input:focus,
.button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(232, 79, 53, 0.28);
  outline-offset: 2px;
}

.search-shell {
  background: var(--night);
  border-radius: 8px;
  box-shadow: var(--shadow);
  color: #fff;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(220px, 1fr) 150px auto;
  margin: 20px 0 0;
  padding: 16px;
}

.search-shell label {
  color: rgba(255, 255, 255, 0.8);
}

.search-shell input,
.search-shell select {
  border-color: rgba(255, 255, 255, 0.2);
}

.search-shell .button {
  align-self: end;
}

.home-intro {
  align-items: end;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.65fr);
  margin-bottom: 18px;
}

.home-intro h1 {
  font-size: 2.35rem;
  line-height: 1.04;
  max-width: 760px;
}

.home-intro .lead {
  max-width: 620px;
}

.home-layout {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) 360px;
}

.home-main {
  display: grid;
  gap: 18px;
}

.home-filter-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 16px;
}

.home-result-bar,
.home-section-header {
  align-items: end;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.home-section {
  display: grid;
  gap: 12px;
}

.home-section-header h2 {
  font-size: 1.35rem;
}

.home-section-header a {
  color: var(--coral-dark);
  font-size: 0.9rem;
  font-weight: 820;
  text-decoration: none;
}

.home-section-header a:hover {
  color: var(--ink);
}

.home-card-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-listing-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 14px;
  text-decoration: none;
}

.home-listing-card:hover {
  border-color: var(--coral);
  box-shadow: var(--shadow-soft);
  color: var(--ink);
}

.home-listing-card img {
  aspect-ratio: 16 / 9;
  background: var(--wash-strong);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: block;
  max-height: 190px;
  object-fit: cover;
  width: 100%;
}

.home-listing-card.no-image {
  align-content: start;
  background:
    linear-gradient(135deg, rgba(244, 165, 28, 0.14), rgba(0, 127, 120, 0.08)),
    var(--paper);
}

.home-listing-card h3 {
  font-size: 1.15rem;
}

.home-listing-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.home-listing-card > strong {
  color: var(--coral-dark);
  font-size: 0.9rem;
  margin-top: 2px;
}

.home-rail {
  display: grid;
  gap: 14px;
  position: sticky;
  top: 96px;
}

.rail-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  padding: 16px;
}

.rail-card h2 {
  font-size: 1.25rem;
}

.quick-action-list,
.style-option-list {
  display: grid;
  gap: 8px;
}

.quick-action-list a,
.style-option-list a {
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  display: grid;
  gap: 4px;
  padding: 11px 12px;
  text-decoration: none;
}

.quick-action-list a {
  align-items: center;
  display: flex;
  font-weight: 820;
  justify-content: space-between;
}

.quick-action-list a::after {
  color: var(--coral-dark);
  content: "Open";
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.quick-action-list a:hover,
.style-option-list a:hover {
  background: var(--orange-soft);
  border-color: rgba(244, 165, 28, 0.6);
  color: var(--ink);
}

.style-option-list strong {
  color: var(--ink);
}

.style-option-list span {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.4;
}

.compact-map {
  min-height: 220px;
}

.learn-wizard {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 18px;
  margin: 24px 0;
  padding: 20px;
}

.learn-heading {
  align-items: end;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 0.72fr) minmax(280px, 0.88fr);
}

.learn-heading p:last-child {
  color: var(--ink-soft);
  max-width: 760px;
}

.learn-heading h2 {
  font-size: 2.4rem;
  line-height: 1;
}

.learn-choice-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.learn-choice {
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  gap: 5px;
  min-height: 98px;
  padding: 15px;
  text-align: left;
}

.learn-choice span {
  font-size: 1.18rem;
  font-weight: 880;
}

.learn-choice small {
  color: var(--muted);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 720;
  line-height: 1.35;
}

.learn-choice:hover,
.learn-choice:focus-visible {
  border-color: var(--coral);
  outline: none;
}

.learn-choice[aria-selected="true"] {
  background: var(--night);
  border-color: var(--night);
  color: #fff;
}

.learn-choice[aria-selected="true"] small {
  color: rgba(255, 255, 255, 0.78);
}

.learn-panel {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 16px;
  padding-top: 18px;
}

.learn-panel-copy {
  display: grid;
  gap: 10px;
  max-width: 960px;
}

.learn-panel-copy h3 {
  font-size: 1.45rem;
  line-height: 1.18;
}

.learn-panel-copy p:last-child {
  color: var(--ink-soft);
}

.subgenre-grid,
.offering-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.subgenre-card,
.offering-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 14px;
}

.subgenre-card {
  background: var(--wash);
}

.subgenre-card h4 {
  color: var(--ink);
  font-size: 0.98rem;
  margin: 0;
}

.subgenre-card p {
  font-size: 0.9rem;
}

.offering-card {
  background: #fff;
  color: var(--ink);
  text-decoration: none;
}

.offering-card:hover {
  border-color: var(--coral);
  color: var(--ink);
}

.offering-card span {
  color: var(--coral-dark);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.offering-card strong {
  font-size: 0.96rem;
  line-height: 1.35;
}

.directory-layout {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) 330px;
}

.directory-sidebar {
  display: grid;
  gap: 14px;
  padding: 16px;
  position: sticky;
  top: 82px;
}

.result-list {
  display: grid;
  gap: 14px;
}

.listing-card {
  display: grid;
  gap: 14px;
  grid-template-columns: 190px minmax(0, 1fr);
}

.listing-card img {
  aspect-ratio: 4 / 3;
  height: 100%;
  max-height: none;
}

.listing-card.no-image {
  grid-template-columns: 1fr;
}

.listing-meta {
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.88rem;
  font-weight: 700;
  gap: 8px 12px;
}

.listing-meta span {
  align-items: center;
  display: inline-flex;
  gap: 5px;
}

.listing-meta span::before {
  background: var(--gold);
  border-radius: 50%;
  content: "";
  height: 6px;
  width: 6px;
}

.callout {
  align-items: center;
  background: linear-gradient(90deg, #fff, var(--teal-soft));
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin: 22px 0;
  padding: 18px;
}

.callout h2,
.callout p {
  margin: 0;
}

.callout p {
  margin-top: 6px;
}

.story-block {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.story-block p {
  color: var(--ink-soft);
}

.story-grid {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) 330px;
}

.story-image {
  position: sticky;
  top: 82px;
}

.map-card {
  min-height: 100%;
}

.map-panel {
  align-content: center;
  background:
    linear-gradient(135deg, rgba(0, 127, 120, 0.1), rgba(232, 173, 26, 0.14)),
    repeating-linear-gradient(45deg, #fff, #fff 12px, #f1f2f4 12px, #f1f2f4 24px);
  color: var(--ink-soft);
  display: grid;
  font-weight: 780;
  justify-items: center;
  min-height: 260px;
  padding: 18px;
  text-align: center;
}

.map-panel small {
  color: var(--muted);
  display: block;
  font-size: 0.82rem;
  font-weight: 650;
  margin-top: 8px;
}

.static-map {
  background:
    linear-gradient(135deg, rgba(47, 107, 220, 0.14), rgba(85, 197, 56, 0.12)),
    repeating-linear-gradient(90deg, transparent 0 54px, rgba(255, 255, 255, 0.7) 54px 58px),
    repeating-linear-gradient(0deg, #eceef1 0 46px, #ffffff 46px 50px);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 250px;
  overflow: hidden;
  position: relative;
}

.static-map::before,
.static-map::after {
  background: rgba(255, 255, 255, 0.9);
  content: "";
  display: block;
  height: 16px;
  left: -20px;
  position: absolute;
  right: -20px;
  top: 48%;
  transform: rotate(-14deg);
}

.static-map::after {
  top: 32%;
  transform: rotate(18deg);
}

.map-pin {
  align-items: center;
  display: flex;
  gap: 6px;
  left: var(--x);
  position: absolute;
  top: var(--y);
  transform: translate(-10px, -10px);
  z-index: 2;
}

.map-pin::before {
  background: #d43168;
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  content: "";
  display: inline-block;
  height: 18px;
  transform: rotate(-45deg);
  width: 18px;
}

.map-pin span {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 800;
  padding: 5px 8px;
  white-space: nowrap;
}

.map-links {
  display: grid;
  gap: 8px;
}

.map-links a {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  display: flex;
  font-size: 0.9rem;
  font-weight: 760;
  justify-content: space-between;
  padding: 10px 11px;
  text-decoration: none;
}

.map-links a:hover {
  border-color: #d43168;
  color: #d43168;
}

.map-links a::after {
  content: "Open map";
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

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

.answer-card {
  display: grid;
  gap: 8px;
  padding: 16px;
}

.empty-state {
  background: var(--paper);
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  margin-top: 14px;
  padding: 18px;
}

.profile-header {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 0;
  grid-template-columns: minmax(0, 1fr) 390px;
  overflow: hidden;
}

.profile-header > div:first-child {
  display: grid;
  gap: 16px;
  padding: 34px;
}

.profile-visual {
  align-content: end;
  background: var(--night);
  color: #fff;
  display: grid;
  min-height: 320px;
  padding: 18px;
}

.image-visual {
  background: var(--wash-strong);
  color: var(--ink);
  padding: 0;
}

.image-visual img {
  border-radius: 0;
  height: 100%;
  min-height: 320px;
}

.logo-visual {
  align-items: center;
  display: grid;
  justify-items: center;
  padding: 24px;
}

.logo-visual img {
  background: #fff;
  border-radius: 8px;
  height: auto;
  max-height: 230px;
  object-fit: contain;
  padding: 18px;
}

.profile-visual strong {
  display: block;
  font-size: 1.1rem;
}

.profile-body {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) 320px;
}

.profile-facts {
  display: grid;
  gap: 14px;
  padding: 16px;
  position: sticky;
  top: 82px;
}

.fact-row {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 5px;
  padding-top: 12px;
}

.fact-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.fact-row span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fact-row strong,
.fact-row a {
  font-weight: 780;
}

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

.video-preview {
  background: var(--night);
  border-radius: 8px;
  color: #fff;
  display: grid;
  gap: 8px;
  min-height: 145px;
  padding: 16px;
  text-decoration: none;
}

.video-preview span {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.82rem;
  font-weight: 750;
}

.video-preview strong {
  color: #fff;
}

.topic-cloud {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0 auto;
  max-width: 1240px;
  padding: 22px 22px 36px;
}

.site-footer a {
  color: var(--muted);
}

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

.assistant-widget {
  bottom: 22px;
  display: grid;
  justify-items: end;
  position: fixed;
  right: 22px;
  z-index: 90;
}

.assistant-launcher {
  align-items: center;
  background: linear-gradient(135deg, var(--orange), var(--coral));
  border: 0;
  border-radius: 999px;
  box-shadow: 0 16px 38px rgba(20, 20, 20, 0.22);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 890;
  gap: 10px;
  min-height: 54px;
  padding: 10px 18px 10px 12px;
}

.assistant-launcher:hover,
.assistant-launcher:focus-visible {
  box-shadow: 0 18px 46px rgba(20, 20, 20, 0.28);
  outline: 3px solid rgba(244, 165, 28, 0.34);
  outline-offset: 3px;
}

.assistant-launcher-mark {
  align-items: center;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  display: inline-flex;
  font-size: 1.05rem;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.assistant-drawer {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  bottom: 74px;
  box-shadow: 0 22px 65px rgba(20, 20, 20, 0.28);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  max-height: min(720px, calc(100vh - 116px));
  overflow: hidden;
  position: absolute;
  right: 0;
  width: min(430px, calc(100vw - 34px));
}

.assistant-header {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(244, 165, 28, 0.18), rgba(212, 49, 104, 0.12)),
    #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 14px;
  justify-content: space-between;
  padding: 16px;
}

.assistant-header h2 {
  font-size: 1.35rem;
}

.assistant-close {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 850;
  height: 36px;
  justify-content: center;
  line-height: 1;
  width: 36px;
}

.assistant-close:hover,
.assistant-close:focus-visible {
  border-color: var(--coral);
  color: var(--coral-dark);
  outline: none;
}

.assistant-body {
  display: grid;
  gap: 13px;
  min-height: 0;
  overflow: auto;
  padding: 16px;
}

.assistant-intro {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.assistant-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.assistant-chip {
  background: var(--orange-soft);
  border: 1px solid rgba(244, 165, 28, 0.46);
  border-radius: 999px;
  color: #694400;
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 790;
  line-height: 1.25;
  padding: 8px 10px;
}

.assistant-chip:hover,
.assistant-chip:focus-visible {
  background: #fff;
  border-color: var(--coral);
  color: var(--coral-dark);
  outline: none;
}

.assistant-thread {
  display: grid;
  gap: 10px;
  max-height: 310px;
  overflow: auto;
  padding-right: 2px;
}

.assistant-message {
  border-radius: 9px;
  display: grid;
  gap: 6px;
  line-height: 1.45;
  padding: 11px 12px;
}

.assistant-message strong {
  font-size: 0.94rem;
}

.assistant-message span {
  color: inherit;
  font-size: 0.92rem;
}

.assistant-message-system {
  background: var(--wash);
  border: 1px solid var(--line);
  color: var(--ink-soft);
}

.assistant-message-user {
  background: var(--night);
  color: #fff;
  justify-self: end;
  max-width: 86%;
}

.assistant-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 3px;
}

.assistant-actions a {
  background: var(--coral);
  border-radius: 999px;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 820;
  padding: 7px 10px;
  text-decoration: none;
}

.assistant-actions a:hover {
  background: var(--coral-dark);
  color: #fff;
}

.assistant-form {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 12px;
}

.assistant-form input {
  min-height: 43px;
}

.assistant-form button {
  background: var(--night);
  border: 1px solid var(--night);
  border-radius: 7px;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 840;
  min-height: 43px;
  padding: 8px 12px;
}

.assistant-form button:hover,
.assistant-form button:focus-visible {
  background: #000;
  outline: 3px solid rgba(244, 165, 28, 0.34);
  outline-offset: 2px;
}

[hidden] {
  display: none !important;
}

@media (max-width: 980px) {
  h1 {
    font-size: 2.65rem;
  }

  .hero,
  .profile-header,
  .directory-layout,
  .story-grid,
  .profile-body,
  .learn-heading,
  .home-intro,
  .home-layout {
    grid-template-columns: 1fr;
  }

  .directory-sidebar,
  .profile-facts,
  .story-image,
  .home-rail {
    position: static;
  }

  .grid.three,
  .grid.four,
  .stat-strip,
  .answer-grid,
  .learn-choice-grid,
  .subgenre-grid,
  .offering-grid,
  .home-filter-card,
  .home-card-grid,
  .filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-copy {
    min-height: auto;
    padding: 30px;
  }

  .hero-panel {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .page {
    padding-left: 16px;
    padding-right: 16px;
  }

  h1 {
    font-size: 2.2rem;
    line-height: 1.03;
  }

  .hero-copy,
  .profile-header > div:first-child {
    padding: 22px;
  }

  .grid.three,
  .grid.two,
  .grid.four,
  .filters,
  .stat-strip,
  .answer-grid,
  .learn-choice-grid,
  .subgenre-grid,
  .offering-grid,
  .home-filter-card,
  .home-card-grid,
  .search-shell,
  .listing-card,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .home-intro h1 {
    font-size: 2rem;
  }

  .home-result-bar,
  .home-section-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .callout {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .assistant-widget {
    bottom: 14px;
    right: 14px;
  }

  .assistant-launcher {
    min-height: 50px;
  }

  .assistant-drawer {
    bottom: 68px;
    max-height: calc(100vh - 92px);
    width: calc(100vw - 28px);
  }
}
