/* Home design tokens */
body[data-page="home"] {
  --home-font-sans: "Manrope", sans-serif;
  --home-font-display: "Cormorant Garamond", serif;

  --home-color-text: #f7eef4;
  --home-color-text-strong: #fff9fb;
  --home-color-text-soft: rgba(247, 238, 244, 0.72);
  --home-color-copy: rgba(242, 232, 239, 0.82);
  --home-color-copy-soft: rgba(240, 228, 236, 0.68);
  --home-color-copy-muted: rgba(241, 229, 237, 0.74);
  --home-color-gold: #d9bc74;
  --home-color-accent: #ff74b4;
  --home-color-accent-strong: #ff65ae;
  --home-color-accent-deep: #d54787;
  --home-color-accent-hot: #e74484;
  --home-color-teal: #7dd6d0;
  --home-color-accent-dark: rgba(73, 20, 48, 0.88);
  --home-color-accent-mid: rgba(107, 31, 71, 0.82);
  --home-color-panel-border: rgba(214, 134, 188, 0.18);
  --home-color-panel-border-soft: rgba(214, 134, 188, 0.12);
  --home-color-line-soft: rgba(238, 164, 208, 0.16);
  --home-color-surface: rgba(22, 15, 31, 0.82);
  --home-color-surface-soft: rgba(22, 15, 31, 0.72);
  --home-color-surface-muted: rgba(18, 12, 24, 0.46);
  --home-color-surface-glass: rgba(18, 12, 24, 0.32);
  --home-color-surface-dark: rgba(15, 10, 21, 0.96);
  --home-color-surface-card: rgba(21, 16, 28, 0.78);
  --home-color-badge-vip: rgba(127, 72, 27, 0.9);
  --home-color-badge-new-start: rgba(233, 72, 137, 0.96);
  --home-color-badge-new-end: rgba(197, 56, 113, 0.96);

  --home-bg-page:
    radial-gradient(circle at top right, rgba(118, 17, 83, 0.38), transparent 30%),
    radial-gradient(circle at top left, rgba(172, 99, 16, 0.12), transparent 24%),
    linear-gradient(180deg, #0c0713 0%, #0a0710 42%, #0d0814 100%);
  --home-bg-grid:
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  --home-bg-panel: linear-gradient(180deg, rgba(19, 13, 26, 0.92), rgba(12, 8, 17, 0.92));
  --home-bg-nav-active: linear-gradient(180deg, var(--home-color-accent-mid), var(--home-color-accent-dark));
  --home-bg-primary: linear-gradient(135deg, var(--home-color-accent-deep) 0%, var(--home-color-accent-strong) 100%);
  --home-bg-random: linear-gradient(180deg, rgba(40, 21, 47, 0.95), rgba(26, 17, 37, 0.95));
  --home-bg-story-ring: linear-gradient(180deg, rgba(246, 111, 176, 0.94) 0%, rgba(111, 36, 74, 0.86) 100%);
  --home-bg-directory-all: linear-gradient(180deg, rgba(55, 23, 61, 0.94), rgba(24, 14, 34, 0.96));

  --home-radius-panel: 28px;
  --home-radius-panel-mobile: 24px;
  --home-radius-card: 24px;
  --home-radius-card-soft: 20px;
  --home-radius-control: 18px;
  --home-radius-pill: 999px;
  --home-radius-hero: 30px;

  --home-space-1: 4px;
  --home-space-2: 8px;
  --home-space-3: 12px;
  --home-space-4: 16px;
  --home-space-5: 18px;
  --home-space-6: 20px;
  --home-space-7: 22px;
  --home-space-8: 24px;
  --home-space-9: 28px;
  --home-space-10: 32px;

  --home-type-nav: 0.9rem;
  --home-type-label: 0.95rem;
  --home-type-body: 1rem;
  --home-type-body-lg: 1.18rem;
  --home-type-title: 1.15rem;
  --home-type-title-lg: 1.55rem;
  --home-type-title-xl: 2rem;
  --home-type-display: clamp(4.2rem, 5vw, 6rem);
  --home-type-display-mobile: clamp(3rem, 12vw, 4.35rem);

  --home-shadow-panel: 0 24px 70px rgba(0, 0, 0, 0.34);
  --home-shadow-soft: 0 18px 40px rgba(122, 23, 82, 0.18);
  --home-shadow-hero: 0 38px 60px rgba(0, 0, 0, 0.3);

  margin: 0;
  min-height: 100vh;
  color: var(--home-color-text);
  font-family: var(--home-font-sans);
  background: var(--home-bg-page);
}

body[data-page="home"].search-drawer-open {
  overflow: hidden;
}

.skip-link {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 140;
  padding: 10px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--home-color-primary), var(--home-color-secondary));
  color: #fff;
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.skip-link:focus {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

body[data-page="home"]::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: var(--home-bg-grid);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.38), transparent 70%);
  opacity: 0.24;
}

body[data-page="home"] .page-wrap,
body[data-page="home"] .site-header,
body[data-page="home"] .main-menu,
body[data-page="home"] .home-intro,
body[data-page="home"] .story-section,
body[data-page="home"] .listing-section {
  display: none;
}

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

.home-shell {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  margin: 0 auto;
  padding: var(--home-space-4) var(--home-space-4) 48px;
}

.home-header,
.chip-bar-section,
.story-board,
.featured-vault,
.selected-board,
.directory-panel,
.about-panel,
.site-footer,
.search-drawer-panel {
  border: 1px solid var(--home-color-panel-border);
  background: var(--home-bg-panel);
  box-shadow: var(--home-shadow-panel);
}

.home-header,
.chip-bar-section,
.story-board,
.featured-vault,
.selected-board,
.directory-panel,
.about-panel,
.site-footer {
  border-radius: var(--home-radius-panel);
}

.home-topbar,
.hero-grid,
.section-headline,
.section-headline.with-copy,
.search-drawer-head,
.hero-cta-row,
.home-actions,
.panel-head,
.hero-highlights,
.district-chip-row,
.latest-strip,
.search-input-shell,
.search-result-link,
.search-result-meta,
.search-result-cta,
.featured-meta,
.featured-stats,
.selected-meta,
.directory-meta,
.category-stat {
  display: flex;
}

.home-topbar {
  align-items: center;
  justify-content: space-between;
  gap: var(--home-space-8);
  padding: var(--home-space-5) var(--home-space-8) var(--home-space-2);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: var(--home-space-4);
  color: var(--home-color-text);
  text-decoration: none;
}

.brand-copy strong {
  display: block;
  font-family: var(--home-font-display);
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.site-logo {
  width: 168px;
  height: auto;
}

.home-nav {
  display: inline-flex;
  align-items: center;
  gap: var(--home-space-1);
  padding: var(--home-space-1);
  border: 1px solid rgba(243, 187, 222, 0.1);
  border-radius: var(--home-radius-control);
  background: var(--home-color-surface-muted);
  backdrop-filter: blur(14px);
}

.home-nav a,
.action-pill,
.icon-pill,
.primary-cta,
.secondary-cta,
.shortcut-tile,
.district-chip,
.section-headline a,
.featured-cta,
.selected-cta,
.directory-card,
.category-directory-card,
.search-result-link,
.site-footer a {
  color: inherit;
  text-decoration: none;
}

.home-nav a {
  padding: 10px 18px;
  border-radius: 14px;
  color: var(--home-color-text-soft);
  font-size: var(--home-type-nav);
  font-weight: 500;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.home-nav a:hover,
.home-nav a.is-active {
  color: var(--home-color-text-strong);
  background: var(--home-bg-nav-active);
  box-shadow: inset 0 1px 0 rgba(255, 214, 236, 0.16);
}

.home-actions {
  align-items: center;
  gap: 12px;
}

.action-pill,
.icon-pill,
.primary-cta,
.secondary-cta,
.featured-cta,
.selected-cta {
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(241, 168, 214, 0.2);
  border-radius: 16px;
  background: var(--home-color-surface-soft);
  color: #fdf7fb;
  font: inherit;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.action-pill:hover,
.icon-pill:hover,
.primary-cta:hover,
.secondary-cta:hover,
.featured-cta:hover,
.selected-cta:hover,
.shortcut-tile:hover,
.district-chip:hover,
.featured-card:hover,
.selected-card:hover,
.directory-card:hover,
.category-directory-card:hover,
.home-story-item:hover,
.search-result-link:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 195, 226, 0.38);
  box-shadow: var(--home-shadow-soft);
}

.action-pill {
  padding: 14px 18px;
}

.random-pill {
  background: var(--home-bg-random);
}

.icon-pill {
  width: 52px;
  height: 52px;
  padding: 0;
}

.compact-pill {
  width: 40px;
  height: 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.9fr 0.88fr;
  gap: 22px;
  padding: 14px var(--home-space-8) 26px;
}

.hero-copy,
.hero-visual-shell,
.hero-shortcuts {
  min-height: 640px;
}

.hero-copy {
  padding: 34px 16px 8px 8px;
}

.hero-kicker,
.section-headline h2,
.panel-head h2 {
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-kicker {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--home-color-gold);
  font-size: var(--home-type-body);
  font-weight: 700;
}

.hero-title {
  margin: 0;
  max-width: 460px;
  color: var(--home-color-text-strong);
  font-family: var(--home-font-display);
  font-size: var(--home-type-display);
  line-height: 0.92;
  letter-spacing: -0.03em;
}

.hero-title span {
  display: block;
  background: linear-gradient(180deg, #ff83bf 0%, var(--home-color-accent-hot) 70%, #d8316e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-text {
  max-width: 420px;
  margin: 22px 0 0;
  color: var(--home-color-copy);
  font-size: var(--home-type-body-lg);
  line-height: 1.65;
}

.hero-cta-row {
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.primary-cta,
.secondary-cta {
  min-width: 180px;
  padding: 18px 28px;
  font-size: var(--home-type-body);
  font-weight: 700;
}

.primary-cta {
  background: var(--home-bg-primary);
  border-color: rgba(255, 167, 216, 0.46);
}

.secondary-cta {
  background: var(--home-color-surface);
}

.hero-highlights {
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 28px;
}

.hero-highlight {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 150px;
}

.hero-highlight-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(227, 141, 196, 0.26);
  border-radius: var(--home-radius-pill);
  color: var(--home-color-accent);
  background: rgba(19, 12, 27, 0.9);
  font-size: 1.1rem;
}

.hero-highlight strong,
.section-headline h2,
.panel-head h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.hero-highlight span,
.hero-highlight small,
.section-headline p,
.panel-head a,
.featured-location,
.featured-stat,
.selected-location,
.selected-age,
.directory-meta,
.category-subtitle,
.search-empty,
.search-result-meta,
.search-result-cta {
  color: var(--home-color-copy-soft);
}

.hero-visual-shell {
  position: relative;
  overflow: hidden;
  border-radius: var(--home-radius-hero);
  border: 1px solid rgba(236, 160, 207, 0.14);
  background:
    radial-gradient(circle at 34% 22%, rgba(217, 188, 116, 0.18), transparent 34%),
    radial-gradient(circle at 72% 58%, rgba(125, 214, 208, 0.12), transparent 38%),
    radial-gradient(circle at center, rgba(130, 29, 88, 0.26), transparent 54%),
    linear-gradient(180deg, rgba(23, 16, 30, 0.86), rgba(12, 8, 17, 0.94));
}

.hero-visual-glow {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 8, 17, 0.2), rgba(12, 8, 17, 0.76)),
    radial-gradient(circle at 68% 42%, rgba(255, 104, 168, 0.2), transparent 40%);
}

.hero-visual-card,
.hero-portrait,
.hero-portrait-image,
.featured-image-wrap img,
.selected-image-wrap img,
.directory-card img,
.search-result-thumb img,
.home-story-visual img {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-visual-card {
  position: relative;
  z-index: 1;
}

.hero-portrait,
.hero-portrait-fallback {
  position: absolute;
  inset: 0;
}

.hero-brand-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 42px;
}

.hero-brand-fallback::before,
.hero-brand-fallback::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero-brand-fallback::before {
  inset: 8%;
  border-radius: 999px 999px 72px 72px;
  background:
    linear-gradient(180deg, rgba(255, 116, 180, 0.1), transparent 54%),
    radial-gradient(circle at 50% 34%, rgba(217, 188, 116, 0.16), transparent 42%);
  filter: blur(2px);
}

.hero-brand-fallback::after {
  inset: auto 17% 14% 17%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217, 188, 116, 0.6), rgba(255, 116, 180, 0.72), transparent);
  box-shadow: 0 0 32px rgba(255, 116, 180, 0.38);
}

.hero-brand-plate {
  position: relative;
  z-index: 1;
  width: min(86%, 420px);
  min-height: 68%;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 18px;
  padding: 34px 28px;
  border: 1px solid rgba(255, 214, 236, 0.18);
  border-radius: 220px 220px 34px 34px;
  background:
    linear-gradient(180deg, rgba(28, 18, 38, 0.8), rgba(13, 9, 19, 0.95)),
    rgba(17, 10, 23, 0.92);
  box-shadow:
    0 34px 78px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-brand-logo {
  width: min(76%, 260px);
  height: auto;
  border-radius: 18px;
  object-fit: contain;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
}

.hero-brand-caption {
  display: grid;
  justify-items: center;
  gap: 4px;
  text-align: center;
}

.hero-brand-caption span {
  color: var(--home-color-gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-brand-caption strong {
  color: #fff8fb;
  font-family: var(--home-font-display);
  font-size: clamp(2.2rem, 4vw, 3.35rem);
  line-height: 1;
}

.hero-brand-caption small {
  color: var(--home-color-copy-soft);
  font-size: 0.92rem;
}

.hero-portrait-image {
  object-fit: cover;
  object-position: center top;
}

.hero-portrait-fallback {
  display: grid;
  place-items: center;
  padding: 48px;
}

.hero-portrait-placeholder {
  width: min(86%, 380px);
  aspect-ratio: 0.74;
  display: grid;
  place-items: center;
  border-radius: 220px 220px 30px 30px;
  border: 1px solid rgba(255, 193, 226, 0.18);
  background: linear-gradient(180deg, rgba(44, 25, 56, 0.82), rgba(17, 12, 25, 0.94));
  box-shadow: var(--home-shadow-hero);
}

.hero-placeholder-initial {
  font-family: var(--home-font-display);
  font-size: 7rem;
  font-weight: 700;
  color: #fff4fa;
}

.hero-shortcuts {
  padding: 24px 20px;
}

.panel-head,
.section-headline {
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.panel-head {
  margin-bottom: 18px;
}

.panel-head h2,
.section-headline h2 {
  color: #fff7fb;
}

.panel-head a,
.section-headline a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
}

.shortcut-grid,
.featured-vault-grid,
.selected-grid,
.directory-card-grid,
.category-card-grid,
.search-results {
  display: grid;
  gap: 16px;
}

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

.shortcut-tile {
  min-height: 128px;
  padding: 22px 18px;
  border: 1px solid rgba(238, 154, 208, 0.16);
  border-radius: var(--home-radius-card-soft);
  background: var(--home-color-surface-card);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.shortcut-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--home-radius-control);
  color: var(--home-color-accent);
  font-size: 1.55rem;
}

.shortcut-title {
  display: block;
  margin-top: 16px;
  font-weight: 700;
}

.home-main {
  margin-top: 18px;
}

.chip-bar-section,
.story-board,
.featured-vault,
.selected-board,
.directory-panel,
.about-panel {
  padding: 18px 22px 22px;
}

.chip-bar-section {
  margin-bottom: 18px;
}

.district-chip-row,
.latest-strip {
  gap: 12px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 4px;
  scrollbar-width: none;
}

.district-chip-row::-webkit-scrollbar,
.latest-strip::-webkit-scrollbar {
  display: none;
}

.district-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid rgba(238, 164, 208, 0.16);
  border-radius: 16px;
  background: var(--home-color-surface-soft);
  color: #fdf8fb;
  font-size: 0.95rem;
  font-weight: 600;
  scroll-snap-align: start;
}

.district-chip.is-active {
  background: linear-gradient(180deg, rgba(150, 36, 86, 0.92), rgba(103, 28, 63, 0.92));
}

.district-chip i {
  color: var(--home-color-accent);
}

.home-duo-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 18px;
}

.story-board {
  min-height: 320px;
  border-color: var(--home-color-panel-border-soft);
  background: linear-gradient(180deg, rgba(14, 10, 21, 0.88), rgba(10, 8, 15, 0.92));
}

.latest-strip {
  margin-top: 18px;
  align-items: flex-start;
  padding-bottom: 2px;
}

.home-story-item {
  width: 116px;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 4px 2px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  scroll-snap-align: start;
}

.home-story-ring {
  width: 108px;
  height: 136px;
  padding: 2px;
  border-radius: 20px;
  background: var(--home-bg-story-ring);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

.home-story-visual,
.story-fallback,
.search-result-thumb,
.selected-image-wrap,
.featured-image-wrap,
.directory-card-thumb {
  overflow: hidden;
  border-radius: inherit;
}

.home-story-visual,
.story-fallback {
  width: 100%;
  height: 100%;
  border-radius: 18px;
}

.home-story-visual img,
.story-fallback {
  object-fit: cover;
  object-position: 50% 18%;
  background: #17101f;
}

.story-fallback {
  display: grid;
  place-items: center;
  color: #fff6fb;
  font-family: var(--home-font-display);
  font-size: 2rem;
  font-weight: 700;
}

.home-story-name {
  width: 100%;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.18;
  text-align: center;
  color: rgba(247, 237, 244, 0.78);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.featured-vault-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.featured-card,
.selected-card,
.directory-card,
.category-directory-card,
.search-result-link {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(236, 160, 207, 0.16);
  border-radius: var(--home-radius-card);
  background: var(--home-color-surface);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.featured-card {
  min-height: 382px;
  display: grid;
  grid-template-rows: minmax(238px, 1fr) auto;
  isolation: isolate;
}

.featured-image-wrap {
  position: relative;
  min-height: 238px;
  border-radius: calc(var(--home-radius-card) - 1px) calc(var(--home-radius-card) - 1px) 18px 18px;
}

.featured-image-wrap::after,
.selected-image-wrap::after,
.directory-card-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 8, 14, 0.02), rgba(10, 8, 14, 0.38));
}

.featured-image-wrap img,
.selected-image-wrap img,
.directory-card-thumb img {
  object-fit: cover;
  object-position: 50% 18%;
}

.featured-content {
  position: static;
  z-index: 1;
  display: grid;
  gap: 8px;
  padding: 14px;
  border-top: 1px solid rgba(255, 180, 154, 0.12);
  background:
    linear-gradient(180deg, rgba(21, 8, 11, 0.98), rgba(11, 5, 7, 0.98)),
    var(--home-color-surface-dark);
}

.featured-badge,
.selected-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 28px;
  padding: 0 10px;
  border-radius: 10px;
  color: #fff8fb;
  font-size: 0.78rem;
  font-weight: 800;
  z-index: 2;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.24);
}

.featured-badge {
  background: var(--home-color-badge-vip);
}

.selected-badge {
  background: linear-gradient(180deg, var(--home-color-badge-new-start), var(--home-color-badge-new-end));
}

.featured-name,
.selected-name {
  margin: 0;
  color: var(--home-color-text-strong);
}

.featured-name {
  font-family: var(--home-font-display);
  font-size: clamp(1.35rem, 2vw, var(--home-type-title-xl));
  line-height: 0.98;
}

.selected-name {
  font-size: var(--home-type-title-lg);
  line-height: 1.02;
}

.featured-location,
.selected-location {
  margin-top: 4px;
  font-size: 0.92rem;
  color: rgba(247, 237, 244, 0.72);
}

.featured-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 4px 0 6px;
}

.featured-stat,
.selected-age {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  border-radius: var(--home-radius-pill);
  background: rgba(18, 12, 26, 0.72);
  color: #fff2f8;
  font-size: 0.78rem;
  line-height: 1;
  white-space: nowrap;
}

.featured-stat {
  min-width: 0;
  padding: 7px 4px;
  font-size: 0.72rem;
}

.featured-cta,
.selected-cta {
  display: inline-flex;
  width: fit-content;
  padding: 12px 18px;
  font-size: 0.92rem;
  font-weight: 700;
}

.featured-cta {
  width: 100%;
}

.selected-board {
  margin-top: 18px;
}

.selected-board,
.directory-panel,
.about-panel,
.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: 320px;
}

.selected-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.selected-card {
  min-height: 414px;
  display: grid;
  grid-template-rows: minmax(286px, 1fr) auto;
  isolation: isolate;
}

.selected-image-wrap {
  position: relative;
  min-height: 286px;
  border-radius: calc(var(--home-radius-card) - 1px) calc(var(--home-radius-card) - 1px) 18px 18px;
}

.selected-card-content {
  position: static;
  z-index: 1;
  display: grid;
  gap: 9px;
  padding: 14px 16px 16px;
  border-top: 1px solid rgba(255, 180, 154, 0.1);
  background:
    linear-gradient(180deg, rgba(20, 8, 12, 0.98), rgba(10, 5, 8, 0.98)),
    var(--home-color-surface-dark);
}

.selected-meta {
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.directory-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.section-headline.with-copy {
  align-items: flex-start;
}

.section-headline p {
  margin: 6px 0 0;
  font-size: 0.92rem;
}

.directory-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.directory-card {
  min-height: 154px;
}

.directory-card-thumb {
  position: absolute;
  inset: 0;
}

.directory-card-content {
  position: relative;
  z-index: 1;
  min-height: 154px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
}

.directory-title,
.category-directory-title {
  margin: 0;
  color: #fff8fb;
  font-size: 1.15rem;
}

.directory-meta,
.category-stat {
  gap: 8px;
  margin-top: 6px;
  font-size: 0.86rem;
}

.directory-card.all-card,
.category-directory-card.all-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 154px;
  text-align: center;
  background: var(--home-bg-directory-all);
}

.directory-all-inner,
.category-all-inner {
  display: grid;
  gap: 10px;
  justify-items: center;
}

.directory-all-inner i,
.category-all-inner i {
  font-size: 1.6rem;
  color: var(--home-color-accent);
}

.category-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.category-directory-card {
  min-height: 154px;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.category-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--home-radius-control);
  background: rgba(22, 15, 31, 0.64);
  color: var(--home-color-accent);
  font-size: 1.7rem;
}

.category-subtitle {
  margin-top: 6px;
  font-size: 0.9rem;
}

.about-panel {
  margin-top: 18px;
}

.about-intro {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--home-color-copy-muted);
  font-size: var(--home-type-body);
  line-height: 1.7;
}

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

.about-card {
  min-height: 100%;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(238, 167, 208, 0.12);
  background: rgba(18, 12, 26, 0.42);
}

.about-card small {
  display: block;
  color: var(--home-color-copy-soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-card h3 {
  margin-top: 12px;
  color: #fbf4fa;
  font-size: 1.18rem;
  line-height: 1.22;
}

.about-card p {
  margin-top: 12px;
  color: var(--home-color-copy-muted);
  font-size: 0.94rem;
  line-height: 1.62;
}

.about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.about-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(238, 167, 208, 0.14);
  background: rgba(18, 12, 26, 0.54);
  color: #f7edf5;
  font-weight: 700;
}

.seo-content {
  margin-top: 18px;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
}

.seo-directory-panel {
  border: 1px solid rgba(238, 167, 208, 0.14);
  border-radius: 20px;
  background: rgba(18, 12, 26, 0.54);
}

.seo-directory-panel[open] {
  padding: 16px;
}

.seo-directory-panel > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  color: #f8edf5;
  font-size: 0.96rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.seo-directory-panel > summary::-webkit-details-marker {
  display: none;
}

.seo-directory-panel > summary::after {
  content: "+";
  color: var(--home-color-accent);
  font-size: 1.2rem;
  line-height: 1;
}

.seo-directory-panel[open] > summary {
  padding: 0;
  margin-bottom: 12px;
}

.seo-directory-panel[open] > summary::after {
  content: "-";
}

.seo-directory-copy {
  margin: 0 0 14px;
  color: var(--home-color-copy-soft);
  font-size: 0.94rem;
  line-height: 1.65;
}

.seo-link-groups {
  display: grid;
  gap: 14px;
}

.seo-link-group {
  display: grid;
  gap: 10px;
}

.seo-link-group h3 {
  margin: 0;
  color: #f7edf5;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.internal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.internal-links a {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid rgba(238, 167, 208, 0.14);
  border-radius: 14px;
  color: rgba(244, 234, 241, 0.78);
  background: rgba(18, 12, 26, 0.54);
}

.site-footer {
  margin-top: 18px;
  padding: 20px 24px;
  text-align: center;
  contain-intrinsic-size: 108px;
}

.site-footer a {
  color: #fdf6fb;
  font-family: var(--home-font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.search-drawer[hidden] {
  display: none;
}

.search-drawer {
  position: fixed;
  inset: 0;
  z-index: 30;
}

.search-drawer-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(5, 3, 8, 0.68);
  cursor: pointer;
}

.search-drawer-panel {
  position: relative;
  z-index: 1;
  width: min(560px, calc(100vw - 32px));
  margin: 72px auto 0;
  padding: 22px;
  border-radius: var(--home-radius-panel);
}

.search-drawer-head {
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.search-drawer-head strong {
  font-size: 1.2rem;
}

.search-input-shell {
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  height: 58px;
  border: 1px solid rgba(238, 165, 208, 0.18);
  border-radius: var(--home-radius-control);
  background: var(--home-color-surface-dark);
}

.search-input-shell i {
  color: var(--home-color-accent);
  font-size: 1.2rem;
}

.search-input-shell input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff8fb;
  font: inherit;
}

.search-input-shell input::placeholder {
  color: rgba(244, 232, 240, 0.44);
}

.search-results {
  margin-top: 16px;
}

.search-result-link {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px;
}

.search-result-thumb {
  width: 64px;
  height: 64px;
  border-radius: var(--home-radius-control);
  background: rgba(17, 11, 25, 0.84);
}

.search-result-thumb img {
  object-fit: cover;
}

.search-result-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: #fff8fb;
  font-family: var(--home-font-display);
  font-size: 1.8rem;
  font-weight: 700;
}

.search-result-body {
  min-width: 0;
}

.search-result-name {
  display: block;
  color: #fff8fb;
  font-size: 1rem;
  font-weight: 700;
}

.search-result-meta {
  gap: 8px;
  margin-top: 4px;
  font-size: 0.88rem;
}

.search-empty {
  padding: 16px;
  border: 1px dashed rgba(238, 164, 208, 0.22);
  border-radius: var(--home-radius-control);
  text-align: center;
}

@media (max-width: 1280px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  }

  .hero-shortcuts {
    grid-column: 1 / -1;
    min-height: auto;
  }

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

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

@media (max-width: 1024px) {
  .home-shell {
    padding: 12px 12px 32px;
  }

  .home-topbar,
  .hero-grid,
  .chip-bar-section,
  .story-board,
  .featured-vault,
  .selected-board,
  .directory-panel,
  .about-panel,
  .site-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .home-topbar {
    flex-wrap: wrap;
    justify-content: center;
  }

  .home-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 8px;
  }

  .home-nav::-webkit-scrollbar {
    display: none;
  }

  .hero-grid,
  .home-duo-grid,
  .directory-row {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-visual-shell {
    min-height: auto;
  }

  .hero-visual-shell {
    min-height: 520px;
  }

  .featured-vault-grid,
  .selected-grid,
  .directory-card-grid,
  .category-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .home-shell {
    padding: 10px 10px 28px;
    max-width: 100%;
    overflow-x: hidden;
  }

  .home-header,
  .chip-bar-section,
  .story-board,
  .featured-vault,
  .selected-board,
  .directory-panel,
  .about-panel,
  .site-footer {
    border-radius: var(--home-radius-panel-mobile);
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
  }

  .home-topbar,
  .hero-grid,
  .hero-copy,
  .hero-visual-shell,
  .hero-shortcuts,
  .home-nav,
  .home-actions,
  .hero-cta-row,
  .hero-highlights {
    max-width: 100%;
    min-width: 0;
  }

  .brand-mark {
    width: 100%;
    justify-content: center;
  }

  .brand-copy strong {
    font-size: 1.55rem;
  }

  .site-logo {
    width: 140px;
  }

  .home-actions {
    width: 100%;
    justify-content: center;
  }

  .home-topbar {
    gap: 14px;
    padding: 14px 14px 6px;
  }

  .home-nav {
    width: 100%;
    max-width: 100%;
    gap: 6px;
    padding: 0;
    border: 0;
    background: transparent;
    scrollbar-width: none;
  }

  .home-nav a {
    flex: 0 0 auto;
    padding: 10px 14px;
    border: 1px solid rgba(238, 164, 208, 0.12);
    border-radius: var(--home-radius-pill);
    background: rgba(18, 12, 24, 0.44);
    font-size: 0.84rem;
  }

  .action-pill {
    flex: 1;
    min-width: 0;
    min-height: 48px;
    font-size: 0.92rem;
  }

  .hero-copy {
    padding: 18px 0 4px;
  }

  .hero-visual-shell {
    min-height: 390px;
  }

  .hero-brand-fallback {
    padding: 28px 22px;
  }

  .hero-brand-plate {
    width: min(92%, 330px);
    min-height: 82%;
    gap: 14px;
    padding: 28px 22px;
  }

  .hero-brand-logo {
    width: min(78%, 220px);
  }

  .hero-title {
    max-width: none;
    font-size: var(--home-type-display-mobile);
    overflow-wrap: break-word;
  }

  .hero-text {
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.55;
    overflow-wrap: break-word;
  }

  .hero-cta-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .primary-cta,
  .secondary-cta {
    width: 100%;
    min-width: 0;
    padding: 15px 14px;
    font-size: 0.92rem;
    white-space: normal;
  }

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

  .hero-highlight {
    min-width: 0;
    align-items: flex-start;
    padding: 12px;
    border: 1px solid rgba(238, 164, 208, 0.1);
    border-radius: var(--home-radius-control);
    background: rgba(18, 12, 24, 0.32);
  }

  .hero-visual-shell {
    min-height: 360px;
  }

  .hero-shortcuts {
    padding: 18px 14px 14px;
    min-height: auto;
  }

  .shortcut-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 74%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 4px;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .shortcut-grid::-webkit-scrollbar,
  .directory-card-grid::-webkit-scrollbar,
  .category-card-grid::-webkit-scrollbar {
    display: none;
  }

  .shortcut-tile {
    min-height: 116px;
    padding: 18px 16px;
    scroll-snap-align: start;
  }

  .chip-bar-section,
  .story-board,
  .featured-vault,
  .selected-board,
  .directory-panel,
  .about-panel {
    padding: 16px 14px 18px;
  }

  .home-main {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 14px;
  }

  .home-duo-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .featured-vault {
    order: 1;
  }

  .story-board {
    order: 2;
    min-height: auto;
  }

  .featured-vault-grid {
    grid-template-columns: 1fr;
  }

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

  .district-chip-row {
    padding-bottom: 4px;
    gap: 10px;
  }

  .district-chip {
    min-width: 122px;
    justify-content: center;
    padding: 11px 14px;
    font-size: 0.88rem;
  }

  .selected-card,
  .featured-card {
    min-height: 0;
  }

  .selected-card-content,
  .featured-content {
    padding: 14px;
  }

  .featured-card {
    grid-template-rows: minmax(248px, 1fr) auto;
  }

  .featured-image-wrap {
    min-height: 248px;
  }

  .selected-card {
    grid-template-rows: minmax(230px, 1fr) auto;
  }

  .selected-image-wrap {
    min-height: 230px;
  }

  .featured-name {
    font-size: 1.55rem;
  }

  .selected-name {
    font-size: 1.08rem;
  }

  .featured-meta {
    margin: 4px 0 6px;
  }

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

  .selected-cta,
  .featured-cta {
    width: 100%;
  }

  .latest-strip {
    margin-top: 14px;
    gap: 10px;
  }

  .home-story-item {
    width: 92px;
    gap: 6px;
  }

  .home-story-ring {
    width: 86px;
    height: 112px;
    border-radius: 18px;
  }

  .home-story-name {
    font-size: 0.8rem;
  }

  .directory-row {
    gap: 14px;
  }

  .directory-card-grid,
  .category-card-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 78%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 4px;
    gap: 12px;
    padding-bottom: 4px;
  }

  .directory-card,
  .category-directory-card {
    min-height: 140px;
    scroll-snap-align: start;
  }

  .about-intro {
    margin-top: 14px;
    font-size: 0.94rem;
    line-height: 1.6;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 14px;
  }

  .about-card {
    padding: 15px;
    border-radius: 20px;
  }

  .about-card h3 {
    font-size: 1.02rem;
  }

  .about-card p {
    font-size: 0.88rem;
  }

  .about-links {
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 2px;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .about-links::-webkit-scrollbar {
    display: none;
  }

  .about-links a {
    white-space: nowrap;
    flex: 0 0 auto;
    font-size: 0.84rem;
    scroll-snap-align: start;
  }

  .seo-directory-panel > summary {
    padding: 14px 16px;
    font-size: 0.9rem;
  }

  .seo-directory-panel[open] {
    padding: 14px;
  }

  .seo-directory-copy {
    font-size: 0.88rem;
  }

  .seo-link-groups {
    gap: 12px;
  }

  .seo-link-group {
    gap: 8px;
  }

  .seo-link-group h3 {
    font-size: 0.74rem;
  }

  .internal-links {
    gap: 10px;
    overflow-x: auto;
    flex-wrap: nowrap;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 2px;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .internal-links::-webkit-scrollbar {
    display: none;
  }

  .internal-links a {
    padding: 9px 12px;
    font-size: 0.82rem;
    white-space: nowrap;
    scroll-snap-align: start;
  }

  .search-drawer-panel {
    width: calc(100vw - 20px);
    margin-top: 24px;
    padding: 16px;
  }

  .search-result-link {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .search-result-cta {
    grid-column: 2;
  }
}

/* 2026-06-26 selected target: kizil/sicak Neon Minimal Feed */
body[data-page="home"] {
  --home-color-text: #fff5f2;
  --home-color-text-strong: #ffffff;
  --home-color-text-soft: rgba(255, 245, 242, 0.76);
  --home-color-copy: rgba(255, 232, 224, 0.84);
  --home-color-copy-soft: rgba(244, 194, 178, 0.72);
  --home-color-copy-muted: rgba(255, 211, 196, 0.78);
  --home-color-gold: #ffd08a;
  --home-color-accent: #ff3f57;
  --home-color-accent-strong: #ff7a18;
  --home-color-accent-deep: #bf102d;
  --home-color-accent-hot: #ff2f7a;
  --home-color-teal: #5ee0d3;
  --home-color-accent-dark: rgba(82, 10, 18, 0.92);
  --home-color-accent-mid: rgba(150, 22, 38, 0.86);
  --home-color-panel-border: rgba(255, 83, 94, 0.22);
  --home-color-panel-border-soft: rgba(255, 122, 24, 0.14);
  --home-color-line-soft: rgba(255, 180, 126, 0.16);
  --home-color-surface: rgba(25, 10, 13, 0.84);
  --home-color-surface-soft: rgba(36, 13, 16, 0.74);
  --home-color-surface-muted: rgba(40, 12, 16, 0.48);
  --home-color-surface-glass: rgba(44, 10, 14, 0.34);
  --home-color-surface-dark: rgba(10, 4, 6, 0.96);
  --home-color-surface-card: rgba(26, 10, 14, 0.82);
  --home-color-badge-vip: rgba(157, 84, 18, 0.95);
  --home-color-badge-new-start: rgba(255, 63, 87, 0.96);
  --home-color-badge-new-end: rgba(255, 122, 24, 0.92);

  --home-bg-page:
    radial-gradient(circle at 18% 0%, rgba(255, 47, 122, 0.28), transparent 30%),
    radial-gradient(circle at 86% 6%, rgba(255, 122, 24, 0.18), transparent 28%),
    linear-gradient(180deg, #070205 0%, #140508 42%, #1b0709 100%);
  --home-bg-grid:
    linear-gradient(90deg, rgba(255, 180, 126, 0.025) 1px, transparent 1px),
    linear-gradient(rgba(255, 180, 126, 0.025) 1px, transparent 1px);
  --home-bg-panel: linear-gradient(180deg, rgba(32, 10, 14, 0.94), rgba(12, 5, 7, 0.94));
  --home-bg-nav-active: linear-gradient(180deg, rgba(255, 63, 87, 0.82), rgba(191, 16, 45, 0.86));
  --home-bg-primary: linear-gradient(135deg, #ff3f57 0%, #ff7a18 100%);
  --home-bg-random: linear-gradient(180deg, rgba(70, 16, 20, 0.94), rgba(24, 7, 10, 0.96));
  --home-bg-story-ring: linear-gradient(135deg, #ff3f57, #ff2f7a, #ff7a18);
  --home-bg-directory-all: linear-gradient(180deg, rgba(88, 20, 22, 0.94), rgba(25, 8, 10, 0.96));
  --home-shadow-panel: 0 24px 70px rgba(0, 0, 0, 0.38);
  --home-shadow-soft: 0 18px 42px rgba(255, 47, 84, 0.2);
  --home-shadow-hero: 0 38px 64px rgba(0, 0, 0, 0.34);
}

body[data-page="home"] .home-header {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 63, 87, 0.18), transparent 24%),
    linear-gradient(180deg, rgba(22, 7, 10, 0.96), rgba(8, 4, 6, 0.94));
}

body[data-page="home"] .home-header::after {
  content: "";
  position: absolute;
  left: clamp(220px, 19vw, 300px);
  right: clamp(92px, 8vw, 132px);
  top: 132px;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff315d 0%, #ff2f7a 42%, #ff7a18 100%);
  box-shadow: 0 0 26px rgba(255, 47, 122, 0.34), 0 0 18px rgba(255, 122, 24, 0.24);
  pointer-events: none;
}

body[data-page="home"] .home-topbar,
body[data-page="home"] .hero-grid {
  position: relative;
  z-index: 1;
}

body[data-page="home"] .home-nav {
  border-color: rgba(255, 154, 122, 0.14);
  background: rgba(8, 4, 7, 0.44);
}

body[data-page="home"] .home-nav a:hover,
body[data-page="home"] .home-nav a.is-active {
  box-shadow: inset 0 1px 0 rgba(255, 225, 195, 0.16), 0 12px 28px rgba(255, 47, 84, 0.16);
}

body[data-page="home"] .hero-title span {
  background: linear-gradient(180deg, #ff7a18 0%, #ff3f57 48%, #ff2f7a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 28px rgba(255, 63, 87, 0.2);
}

body[data-page="home"] .hero-visual-shell {
  border-color: rgba(255, 83, 94, 0.24);
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 47, 122, 0.2), transparent 34%),
    radial-gradient(circle at 78% 62%, rgba(255, 122, 24, 0.18), transparent 40%),
    linear-gradient(180deg, rgba(21, 6, 9, 0.92), rgba(6, 3, 5, 0.96));
  box-shadow: var(--home-shadow-hero);
}

body[data-page="home"] .hero-visual-glow {
  background:
    linear-gradient(180deg, rgba(7, 3, 5, 0.05), rgba(7, 3, 5, 0.78)),
    radial-gradient(circle at 64% 42%, rgba(255, 63, 87, 0.18), transparent 42%);
}

body[data-page="home"] .hero-brand-fallback {
  padding: 36px;
}

body[data-page="home"] .hero-brand-fallback::before {
  inset: 10% 6%;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 63, 87, 0.12), rgba(255, 122, 24, 0.05) 48%, rgba(0, 0, 0, 0)),
    radial-gradient(circle at 50% 34%, rgba(255, 208, 138, 0.1), transparent 46%);
  filter: none;
}

body[data-page="home"] .hero-brand-fallback::after {
  inset: auto 13% 13% 13%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #ff3f57 22%, #ff2f7a 54%, #ff7a18 82%, transparent);
  box-shadow: 0 0 34px rgba(255, 47, 122, 0.44), 0 0 20px rgba(255, 122, 24, 0.24);
}

body[data-page="home"] .hero-brand-plate {
  width: min(92%, 520px);
  min-height: auto;
  aspect-ratio: 1.16;
  gap: 16px;
  padding: 34px 30px 30px;
  border-color: rgba(255, 83, 94, 0.3);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(7, 4, 5, 0.96) 0%, rgba(13, 5, 8, 0.96) 56%, rgba(24, 8, 11, 0.9) 100%),
    #050405;
  box-shadow:
    0 34px 78px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 122, 24, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

body[data-page="home"] .hero-brand-plate::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 63, 87, 0.12);
  pointer-events: none;
}

body[data-page="home"] .hero-brand-logo {
  width: min(88%, 370px);
  max-height: 64%;
  border-radius: 14px;
  background: #050405;
  box-shadow: 0 22px 54px rgba(255, 47, 122, 0.16), 0 26px 52px rgba(0, 0, 0, 0.34);
}

body[data-page="home"] .hero-brand-caption {
  gap: 5px;
}

body[data-page="home"] .hero-brand-caption span {
  color: var(--home-color-gold);
  letter-spacing: 0.18em;
}

body[data-page="home"] .hero-brand-caption strong {
  color: #fff9f6;
  text-shadow: 0 0 24px rgba(255, 63, 87, 0.24);
}

body[data-page="home"] .primary-cta,
body[data-page="home"] .featured-cta,
body[data-page="home"] .selected-cta {
  border-color: rgba(255, 168, 122, 0.26);
}

body[data-page="home"] .featured-card,
body[data-page="home"] .selected-card,
body[data-page="home"] .directory-card,
body[data-page="home"] .category-directory-card {
  border-color: rgba(255, 83, 94, 0.18);
}

@media (max-width: 980px) {
  body[data-page="home"] .home-header::after {
    top: 154px;
    left: 22px;
    right: 22px;
    height: 7px;
  }
}

@media (max-width: 720px) {
  body[data-page="home"] .home-header::after {
    top: 176px;
    left: 24px;
    right: 24px;
    height: 7px;
  }

  body[data-page="home"] .brand-mark {
    order: 1;
    width: 100%;
    justify-content: flex-start;
    padding-left: 2px;
  }

  body[data-page="home"] .site-logo {
    display: none;
  }

  body[data-page="home"] .brand-copy strong {
    font-size: 1.5rem;
    line-height: 1;
    background: linear-gradient(180deg, #ffeff0 0%, #ff3f57 58%, #ff7a18 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  body[data-page="home"] .home-nav {
    order: 2;
  }

  body[data-page="home"] .home-actions {
    order: 3;
  }

  body[data-page="home"] .hero-grid {
    padding-top: 18px;
  }

  body[data-page="home"] .hero-visual-shell {
    order: 1;
  }

  body[data-page="home"] .hero-copy {
    order: 2;
    padding-top: 8px;
  }

  body[data-page="home"] .hero-shortcuts {
    order: 3;
  }

  body[data-page="home"] .hero-visual-shell {
    min-height: 350px;
  }

  body[data-page="home"] .hero-brand-fallback {
    padding: 26px 18px;
  }

  body[data-page="home"] .hero-brand-plate {
    width: min(94%, 360px);
    aspect-ratio: 1.06;
    gap: 12px;
    padding: 28px 20px 24px;
    border-radius: 20px;
  }

  body[data-page="home"] .hero-brand-logo {
    width: min(88%, 270px);
    max-height: 60%;
  }
}
