/* Danyi Food Official Flagship Stylesheet - Mobile-First & Self-Contained */
:root {
  --bg: #FAFAF7;
  --surface: #FFFFFF;
  --tint: #F3EFE8;
  --tint-strong: #EAE3D7;
  --ink: #1C1917;
  --ink-muted: #57534E;
  --ink-soft: #78716C;
  --brand: #A8241C;
  --brand-dark: #841A13;
  --brand-soft: #FDF2F1;
  --gold: #A67B38;
  --gold-soft: #FBF6EC;
  --ok: #1E6B47;
  --ok-soft: #ECFDF3;
  --border: #E7E1D8;
  --shadow-sm: 0 2px 10px rgba(28, 25, 23, 0.05);
  --shadow-md: 0 10px 30px rgba(28, 25, 23, 0.09);
  --shadow-lg: 0 20px 50px rgba(28, 25, 23, 0.14);
  --radius: 14px;
  --radius-sm: 10px;
  --font-serif: "Songti SC", "Noto Serif CJK SC", "STSong", "SimSun", Georgia, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --max-w: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

html:has(dialog[open]) {
  overflow: hidden;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: clip;
  padding-bottom: 68px;
}
@media (min-width: 769px) {
  body { padding-bottom: 0; }
}

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

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

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

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 768px) {
  .container { padding: 0 28px; }
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 64px;
}
.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.brand-name strong {
  font-family: var(--font-serif);
  font-size: 18px;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.brand-name span {
  font-size: 11px;
  color: var(--ink-muted);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 24px;
  font-size: 15px;
  font-weight: 500;
}
.nav-links a {
  padding: 6px 2px;
  color: var(--ink-muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--brand); }
@media (min-width: 960px) {
  .nav-links { display: flex; }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.18s var(--ease-out), background-color 0.18s, border-color 0.18s, box-shadow 0.18s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 4px 14px rgba(168, 36, 28, 0.22);
}
.btn-primary:hover { background: var(--brand-dark); }
.btn-outline {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--border);
}
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-sm { min-height: 36px; padding: 0 13px; font-size: 13px; }
.menu-btn {
  min-width: 44px;
  min-height: 44px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}
@media (min-width: 960px) {
  .menu-btn { display: none; }
}

.mobile-drawer {
  display: none;
  padding: 12px 16px 16px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.mobile-drawer.is-open { display: grid; gap: 4px; }
.mobile-drawer a {
  padding: 11px 12px;
  border-radius: 10px;
  font-weight: 500;
}
.mobile-drawer a:hover { background: var(--tint); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: #1C1412;
  color: #fff;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 460px;
}
@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.05fr 1.15fr;
    min-height: 540px;
  }
}
.hero-copy {
  position: relative;
  z-index: 2;
  padding: 36px 20px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, #241715 0%, #381814 100%);
}
@media (min-width: 900px) {
  .hero-copy { padding: 54px 44px 54px max(28px, calc((100vw - 1240px)/2 + 28px)); }
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 12px;
  font-weight: 600;
  color: #FDE68A;
  margin-bottom: 14px;
}
.hero-copy h1 {
  font-family: var(--font-serif);
  font-size: clamp(26px, 4.2vw, 44px);
  line-height: 1.24;
  margin: 0 0 14px;
  font-weight: 700;
}
.hero-lead {
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(14px, 1.6vw, 16px);
  margin: 0 0 22px;
  max-width: 54ch;
}
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}
.btn-gold {
  background: #E8B86B;
  color: #1C1412;
}
.btn-gold:hover { background: #F1C984; }
.btn-ghost-light {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.2); }

.hero-slide-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.hero-pill {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.24);
  color: rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 12px;
  cursor: pointer;
  min-height: 32px;
}
.hero-pill.is-active {
  background: #fff;
  color: var(--brand-dark);
  border-color: #fff;
  font-weight: 700;
}

.hero-media {
  position: relative;
  min-height: 270px;
  background: #140E0D;
  overflow: hidden;
}
.hero-slide-img, .hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-slide-img {
  opacity: 0;
  transition: opacity 0.45s var(--ease-out);
}
.hero-slide-img.is-active { opacity: 1; }
.hero-video { display: none; z-index: 2; }
.hero-media.is-video .hero-video { display: block; }
.hero-media-caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(20, 14, 13, 0.72);
  backdrop-filter: blur(8px);
  font-size: 13px;
}
.hero-gi-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  padding: 4px;
  box-shadow: var(--shadow-md);
}

/* Trust Strip */
.trust-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 768px) {
  .trust-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
}
.trust-card {
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
}
.trust-num {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--brand);
  line-height: 1.2;
}
.trust-label {
  font-size: 13px;
  color: var(--ink-muted);
  margin-top: 3px;
}
.trust-footnote {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--ink-muted);
  text-align: center;
}

/* Sections */
.section {
  padding: 48px 0;
}
@media (min-width: 768px) {
  .section { padding: 68px 0; }
}
.section-tint {
  background: var(--tint);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 26px;
}
@media (min-width: 768px) {
  .section-head-row {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}
.section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brand);
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.28;
  margin: 0;
}
.section-desc {
  color: var(--ink-muted);
  margin: 0;
  max-width: 62ch;
  font-size: 15px;
}

/* Category Tabs */
.tabs-wrap {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 20px;
  scrollbar-width: thin;
}
.tab-btn {
  flex-shrink: 0;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink-muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s;
}
.tab-btn[aria-selected="true"] {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

/* Container-aware Product Grid */
.catalog-scope {
  container-type: inline-size;
}
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@container (min-width: 620px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}
@container (min-width: 980px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
}
.prod-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s var(--ease-out), box-shadow 0.22s var(--ease-out);
}
.prod-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.prod-card[hidden] { display: none; }
.prod-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--tint);
  overflow: hidden;
}
.prod-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.prod-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(28, 25, 23, 0.78);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}
.prod-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.prod-cat {
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 4px;
}
.prod-title {
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.35;
  margin: 0 0 8px;
}
.prod-summary {
  font-size: 14px;
  color: var(--ink-muted);
  margin: 0 0 12px;
  flex: 1;
}
.prod-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
  margin-bottom: 12px;
}
.prod-price {
  font-size: 17px;
  font-weight: 700;
  color: var(--brand);
}
.prod-shelf {
  font-size: 12px;
  color: var(--ok);
  background: var(--ok-soft);
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 600;
}
.prod-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

/* 11-Flavor Spice Compass */
.compass-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.flavor-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 16px;
}
@media (min-width: 640px) {
  .flavor-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .flavor-grid { grid-template-columns: repeat(3, 1fr); }
}
.flavor-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
}
.flavor-name strong { font-size: 15px; display: block; }
.flavor-name span { font-size: 12px; color: var(--ink-muted); }
.spice-dots {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 999px;
  white-space: nowrap;
}
.spice-0 { background: #ECFDF3; color: #1E6B47; }
.spice-1 { background: #FEF3C7; color: #92400E; }
.spice-2 { background: #FFEDD5; color: #9A3412; }
.spice-3 { background: #FEE2E2; color: #991B1B; }

/* Story & Craft Grid */
.story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}
@media (min-width: 900px) {
  .story-grid { grid-template-columns: 1.1fr 0.9fr; gap: 36px; }
}
.craft-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 18px;
}
@media (min-width: 640px) {
  .craft-cards { grid-template-columns: repeat(3, 1fr); }
}
.craft-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
}
.craft-card h3 { margin: 0 0 6px; font-size: 16px; color: var(--brand-dark); }
.craft-card p { margin: 0; font-size: 13px; color: var(--ink-muted); }

.video-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #1C1412;
  aspect-ratio: 16 / 9;
  box-shadow: var(--shadow-md);
}
.video-card video { width: 100%; height: 100%; object-fit: cover; }
.video-overlay-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 2;
}

/* Buyer Shows */
.buyer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 900px) {
  .buyer-grid { grid-template-columns: repeat(6, 1fr); gap: 14px; }
}
.buyer-item {
  position: relative;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
  cursor: pointer;
  aspect-ratio: 1 / 1;
}
.buyer-item img { width: 100%; height: 100%; object-fit: cover; }
.buyer-item span {
  position: absolute;
  left: 6px;
  bottom: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(28, 25, 23, 0.78);
  color: #fff;
  font-size: 11px;
}

/* Guides Grid */
.guide-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 720px) {
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1040px) {
  .guide-grid { grid-template-columns: repeat(4, 1fr); }
}
.guide-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.guide-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.guide-card-body { padding: 14px 16px; display: flex; flex-direction: column; flex: 1; }
.guide-card-body h3 { font-size: 16px; line-height: 1.4; margin: 6px 0 8px; }
.guide-card-body p { font-size: 13px; color: var(--ink-muted); margin: 0 0 10px; flex: 1; }
.guide-more { font-size: 13px; font-weight: 700; color: var(--brand); }

/* Channels Matrix */
.channel-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 640px) {
  .channel-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .channel-grid { grid-template-columns: repeat(4, 1fr); }
}
.channel-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}
.channel-card h3 { margin: 0; font-size: 17px; }
.channel-kw {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-weight: 700;
  font-size: 14px;
}

/* Cooperation & Form */
.coop-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 900px) {
  .coop-layout { grid-template-columns: 0.95fr 1.05fr; gap: 36px; }
}
.step-list {
  display: grid;
  gap: 12px;
  margin: 18px 0;
}
.step-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.inquiry-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-md);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 600px) {
  .form-row-2 { grid-template-columns: 1fr 1fr; }
}
.field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  transition: border-color 0.18s;
}
.field textarea { min-height: 88px; resize: vertical; }
.field input:user-invalid, .field select:user-invalid { border-color: #DC2626; }
.field input:user-valid { border-color: #16A34A; }
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-status {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  display: none;
}
.form-status.is-ok { display: block; background: var(--ok-soft); color: var(--ok); border: 1px solid #A7F3D0; }
.form-status.is-err { display: block; background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }

/* Native Dialog Modals */
dialog {
  width: min(94vw, 860px);
  max-height: 90dvh;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 0;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
  overscroll-behavior: contain;
}
dialog::backdrop {
  background: rgba(20, 14, 13, 0.65);
  backdrop-filter: blur(4px);
}
.dlg-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.dlg-head h3 { margin: 0; font-family: var(--font-serif); font-size: 18px; }
.dlg-close {
  min-width: 40px;
  min-height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg);
  cursor: pointer;
  font-size: 18px;
}
.dlg-body { padding: 18px; overflow-y: auto; }
.modal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 720px) {
  .modal-grid { grid-template-columns: 1fr 1fr; }
}
.modal-main-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--tint);
}
.thumb-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-top: 10px;
  padding-bottom: 4px;
}
.thumb-btn {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  padding: 0;
  border-radius: 8px;
  border: 2px solid transparent;
  overflow: hidden;
  cursor: pointer;
}
.thumb-btn.is-active { border-color: var(--brand); }
.thumb-btn img { width: 100%; height: 100%; object-fit: cover; }

/* Footer & Sticky Mobile CTA */
.site-footer {
  background: #1C1412;
  color: rgba(255, 255, 255, 0.84);
  padding: 40px 0 28px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
}
.footer-bottom {
  padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.68);
}

.mobile-sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 35;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
}
@media (min-width: 769px) {
  .mobile-sticky-bar { display: none; }
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 84px;
  transform: translateX(-50%) translateY(16px);
  background: #1C1917;
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  z-index: 60;
  transition: opacity 0.2s, transform 0.2s;
}
.toast.is-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Subpages */
.sub-hero {
  padding: 28px 0;
  background: var(--tint);
  border-bottom: 1px solid var(--border);
}
.breadcrumb {
  font-size: 13px;
  color: var(--ink-muted);
  margin-bottom: 10px;
}
.breadcrumb a:hover { color: var(--brand); }
.detail-box {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 28px 0 48px;
}
@media (min-width: 860px) {
  .detail-box { grid-template-columns: 1.05fr 0.95fr; gap: 36px; }
}
.info-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}

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