/* VIP Lounge — magazine layout · burgundy / gold / cream */
:root {
  --burgundy: #6b1d2a;
  --burgundy-deep: #4a121c;
  --burgundy-soft: #8b2e3d;
  --gold: #c9a227;
  --gold-light: #e0c04a;
  --gold-dim: rgba(201, 162, 39, 0.15);
  --cream: #faf6f0;
  --cream-alt: #f0e8dc;
  --text: #1c1214;
  --text-secondary: #3d2a2e;
  --text-muted: #6b5558;
  --border: #e2d6c8;
  --bg: var(--cream);
  --bg-alt: var(--cream-alt);
  --bg-card: #fffdf9;
  --success: #2d6a4f;
  --radius: 6px;
  --radius-sm: 4px;
  --radius-lg: 12px;
  --shadow: 0 2px 12px rgba(28, 18, 20, 0.06);
  --shadow-md: 0 8px 28px rgba(107, 29, 42, 0.12);
  --font-display: Palatino, "Palatino Linotype", "Book Antiqua", Georgia, "Times New Roman", serif;
  --font-body: Candara, "Segoe UI", "Trebuchet MS", "Gill Sans", sans-serif;
  --header-h: 64px;
  --ribbon-h: 34px;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.tpl-vip {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(ellipse at 10% 0%, rgba(201, 162, 39, 0.08), transparent 45%),
    radial-gradient(ellipse at 90% 20%, rgba(107, 29, 42, 0.06), transparent 40%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-alt) 100%);
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--burgundy); text-decoration: none; transition: color .2s, background .2s, border-color .2s, transform .2s; }
a:hover { color: var(--burgundy-deep); }
h1, h2, h3, h4, .entry-title {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
  margin: 0 0 .5em;
}
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2rem; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* WordPress post metadata shared by pages and detail entries */
.vip-post-meta {
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--text-muted);
  background: rgba(255, 253, 249, .72);
  border-bottom: 1px solid var(--border);
  font-size: .78rem;
  letter-spacing: .015em;
}
.vip-post-meta .wp-block-post-author { color: var(--burgundy); font-weight: 700; }
.vip-post-meta .wp-block-post-terms { color: var(--text-secondary); }

/* Ribbon */
.vip-ribbon {
  background: linear-gradient(90deg, var(--burgundy-deep), var(--burgundy), var(--burgundy-soft));
  color: var(--cream);
  font-size: .78rem;
  letter-spacing: .04em;
  min-height: var(--ribbon-h);
  display: flex;
  align-items: center;
}
.vip-ribbon-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  justify-content: center;
  padding: 6px 0;
  text-align: center;
}
.vip-ribbon-sep { opacity: .45; }

/* Header sticky */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 240, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(201, 162, 39, 0.25);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: var(--header-h);
}
.header-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  flex-shrink: 0;
}
.header-logo .custom-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
}
.site-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--burgundy);
}
.header-nav { margin-left: auto; }
.nav-menu { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; list-style: none; margin: 0; padding: 0; }
.nav-menu a {
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav-menu a:hover,
.nav-menu a.active {
  color: var(--burgundy);
  border-bottom-color: var(--gold);
}
.header-actions { flex-shrink: 0; }
.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1.35rem;
  line-height: 1;
  padding: 6px 10px;
  cursor: pointer;
  color: var(--burgundy);
  margin-left: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .92rem;
  padding: .65em 1.25em;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}
.btn-sm { font-size: .82rem; padding: .45em 1em; }
.btn-lg { font-size: 1rem; padding: .8em 1.5em; }
.btn-primary {
  background: var(--burgundy);
  color: var(--cream);
  border-color: var(--burgundy);
}
.btn-primary:hover {
  background: var(--burgundy-deep);
  color: #fff;
  border-color: var(--burgundy-deep);
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--text);
  border-color: var(--gold);
}
.btn-gold:hover {
  filter: brightness(1.05);
  color: var(--text);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--burgundy);
  border-color: var(--burgundy);
}
.btn-outline:hover {
  background: var(--burgundy);
  color: var(--cream);
}

/* Hero magazine */
.hero-magazine {
  padding: 48px 0 36px;
  border-bottom: 1px solid var(--border);
}
.hero-mag-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: start;
}
.hero-copy .hero-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}
.kicker {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 10px;
}
.hero-magazine .entry-title {
  font-size: clamp(1.75rem, 3.5vw, 2.55rem);
  margin-bottom: 14px;
  color: var(--burgundy-deep);
}
.hero-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 36em;
}
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

.promo-panel {
  background:
    linear-gradient(160deg, var(--burgundy-deep) 0%, var(--burgundy) 55%, #7a2434 100%);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(201, 162, 39, 0.35);
  position: relative;
  overflow: hidden;
  animation: promoIn .7s ease both;
}
.promo-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 0%, rgba(201, 162, 39, 0.22), transparent 50%);
  pointer-events: none;
}
.promo-panel > * { position: relative; z-index: 1; }
.promo-label {
  display: inline-block;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 700;
  margin-bottom: 10px;
}
.promo-panel h2 {
  color: #fff;
  font-size: 1.45rem;
  margin-bottom: 14px;
}
.promo-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}
.promo-list li {
  padding: 8px 0 8px 22px;
  position: relative;
  font-size: .92rem;
  color: rgba(250, 246, 240, 0.9);
  border-bottom: 1px solid rgba(250, 246, 240, 0.1);
}
.promo-list li::before {
  content: "◆";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: .65rem;
  top: 11px;
}
.promo-note {
  margin: 14px 0 0;
  font-size: .75rem;
  opacity: .75;
  line-height: 1.5;
}

@keyframes promoIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

/* Chips */
.chip-rail {
  padding: 18px 0;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}
.chip-rail-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--cream);
  color: var(--text-secondary);
  font-size: .85rem;
  font-weight: 600;
}
.chip:hover {
  border-color: var(--burgundy);
  color: var(--burgundy);
  background: #fff;
}
.chip-gold {
  background: var(--gold-dim);
  border-color: var(--gold);
  color: var(--burgundy-deep);
}

/* Sections */
.section { padding: 52px 0; }
.section-header, .vip-head { margin-bottom: 28px; max-width: 720px; }
.vip-head h2 { font-size: clamp(1.4rem, 2.5vw, 1.85rem); }
.vip-head p { color: var(--text-secondary); margin: 0; }
.badge {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--burgundy);
  background: var(--gold-dim);
  border: 1px solid rgba(201, 162, 39, 0.4);
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 10px;
}
.catalog-foot { margin-top: 24px; text-align: center; font-weight: 600; }
.section-title-sm { font-size: 1.25rem; margin-bottom: 18px; }

/* App rail / grid */
.app-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.app-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: inherit;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.app-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(107, 29, 42, 0.35);
  color: inherit;
}
.app-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--cream-alt);
}
.app-card-lg img { aspect-ratio: 4/3; }
.app-card-body { padding: 14px 14px 16px; }
.app-card-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .98rem;
  margin-bottom: 4px;
  color: var(--text);
}
.app-card-meta {
  font-size: .78rem;
  color: var(--text-muted);
}

/* Editorial */
.editorial-prose .prose-wide,
.prose-wide { max-width: 780px; }
.editorial-prose h2 { font-size: 1.65rem; margin-bottom: 16px; }
.editorial-prose p,
.prose-wide p {
  color: var(--text-secondary);
  font-size: .98rem;
  line-height: 1.9;
}
.lead {
  font-size: 1.12rem !important;
  color: var(--text) !important;
  line-height: 1.8 !important;
}
.prose-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}
.prose-2col h2 { font-size: 1.2rem; }
.prose-2col p { color: var(--text-secondary); font-size: .92rem; line-height: 1.8; }
.vip-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}
.vip-checklist li {
  padding: 10px 0 10px 28px;
  position: relative;
  color: var(--text-secondary);
  font-size: .92rem;
  border-bottom: 1px solid var(--border);
}
.vip-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* Screenshots */
.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.screenshot-card {
  margin: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.screenshot-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  background: var(--cream-alt);
}
.screenshot-card figcaption {
  padding: 10px 14px 14px;
  font-size: .82rem;
  color: var(--text-muted);
}
.shots-stack { grid-template-columns: 1fr; }
.shots-stack img { aspect-ratio: 16/9; }

/* Trust */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.trust-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 22px 18px;
  box-shadow: var(--shadow);
}
.trust-card h3 {
  font-size: 1.05rem;
  color: var(--burgundy);
  margin-bottom: 8px;
}
.trust-card p {
  font-size: .88rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.7;
}

/* CTA */
.cta-section {
  padding: 56px 0;
  text-align: center;
}
.cta-vip {
  background:
    linear-gradient(135deg, rgba(107, 29, 42, 0.95), rgba(74, 18, 28, 0.98)),
    var(--burgundy-deep);
  color: var(--cream);
  border-top: 3px solid var(--gold);
}
.cta-vip h2 { color: #fff; font-size: clamp(1.4rem, 3vw, 1.9rem); }
.cta-vip p { color: rgba(250, 246, 240, 0.85); max-width: 560px; margin: 0 auto 22px; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.cta-vip .btn-outline {
  border-color: rgba(250, 246, 240, 0.55);
  color: var(--cream);
}
.cta-vip .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* Page bar */
.vip-pagebar {
  padding: 36px 0 28px;
  background: linear-gradient(180deg, #fff 0%, var(--cream) 100%);
  border-bottom: 1px solid var(--border);
}
.pagebar-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: center;
}
.pagebar-logo {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  border: 1px solid var(--border);
  object-fit: contain;
  background: #fff;
}
.breadcrumb {
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--burgundy); }
.breadcrumb .current { color: var(--burgundy); font-weight: 600; }
.pagebar-desc {
  color: var(--text-secondary);
  margin: 6px 0 0;
  max-width: 640px;
  font-size: .95rem;
}

/* Detail */
.detail-wrap { padding-top: 28px; padding-bottom: 8px; }
.vip-detail-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}
.vip-meta-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  position: sticky;
  top: calc(var(--header-h) + 16px);
}
.vip-meta-card .wp-post-image {
  width: 96px;
  height: 96px;
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid var(--border);
  margin-bottom: 14px;
}
.vip-meta-card .entry-title { font-size: 1.25rem; }
.meta-summary {
  font-size: .85rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
}
.info-rows { margin-bottom: 16px; }
.info-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: .85rem;
}
.info-row .label { color: var(--text-muted); }
.info-row .value { font-weight: 600; text-align: right; }
.vip-meta-card .btn { width: 100%; margin-bottom: 8px; }
.meta-foot {
  font-size: .75rem;
  color: var(--text-muted);
  margin: 10px 0 0;
  text-align: center;
}
.vip-detail-main .eyebrow {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 6px;
}
.vip-detail-main .lead { margin-bottom: 18px; }
.wp-block-post-content {
  color: var(--text-secondary);
  font-size: .93rem;
  line-height: 1.9;
  margin-bottom: 28px;
}
.vip-steps {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  counter-reset: vipstep;
}
.vip-steps > li {
  counter-increment: vipstep;
  position: relative;
  padding: 16px 16px 16px 56px;
  margin-bottom: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.vip-steps > li::before {
  content: counter(vipstep);
  position: absolute;
  left: 14px;
  top: 16px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--burgundy);
  color: var(--cream);
  font-size: .85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
}
.vip-steps h3, .vip-steps h4 { margin-bottom: 6px; font-size: 1rem; }
.vip-steps p { margin: 0; font-size: .88rem; color: var(--text-secondary); line-height: 1.7; }
.vip-steps-lg > li { padding-top: 20px; padding-bottom: 20px; }
.pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}
.pros-box, .cons-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}
.pros-box h4 { color: var(--success); }
.cons-box h4 { color: var(--burgundy); }
.pros-box ul, .cons-box ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-secondary);
  font-size: .88rem;
  line-height: 1.8;
}
.faq-mini, .faq-list { display: grid; gap: 12px; margin-bottom: 28px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.faq-item h2, .faq-item h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--burgundy);
}
.faq-item p {
  font-size: .9rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.75;
}
.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  font-size: .88rem;
  font-weight: 600;
}
.pagination-info {
  margin-top: 28px;
  text-align: center;
  font-size: .9rem;
  color: var(--text-muted);
}
.changelog { display: grid; gap: 20px; margin: 28px 0; }
.changelog-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.changelog-item h2 { font-size: 1.15rem; color: var(--burgundy); }
.changelog-item .muted { font-size: .85rem; color: var(--text-muted); margin-bottom: 10px; }
.changelog-item ul { color: var(--text-secondary); font-size: .9rem; line-height: 1.8; }
.info-card, .about-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  margin: 24px 0;
  box-shadow: var(--shadow);
}

/* Footer */
.site-footer {
  background: var(--burgundy-deep);
  color: rgba(250, 246, 240, 0.85);
  padding: 48px 0 28px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.footer-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  text-decoration: none;
  color: #fff;
}
.footer-logo-link .custom-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: contain;
  background: #fff;
}
.footer-brand p { font-size: .88rem; line-height: 1.75; margin: 0 0 10px; }
.footer-contact { font-size: .85rem; opacity: .85; }
.footer-col h4 {
  color: var(--gold-light);
  font-size: .85rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.footer-col a {
  display: block;
  color: rgba(250, 246, 240, 0.8);
  font-size: .9rem;
  padding: 4px 0;
}
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid rgba(250, 246, 240, 0.12);
  font-size: .8rem;
  opacity: .8;
}
.footer-bottom a { color: var(--gold-light); }

/* Scroll top */
.scroll-top {
  position: fixed;
  right: 20px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--burgundy);
  color: var(--cream);
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s, visibility .25s, transform .25s;
  box-shadow: var(--shadow-md);
  z-index: 90;
}
.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}
.scroll-top:hover { background: var(--burgundy-deep); transform: translateY(-2px); }

/* Motion */
.hero-copy { animation: fadeUp .65s ease both; }
.chip-rail { animation: fadeUp .7s ease .1s both; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 960px) {
  .hero-mag-inner { grid-template-columns: 1fr; gap: 28px; }
  .app-rail { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .screenshots-grid { grid-template-columns: 1fr; }
  .prose-2col { grid-template-columns: 1fr; }
  .vip-detail-layout { grid-template-columns: 1fr; }
  .vip-meta-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pros-cons-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .mobile-toggle { display: block; }
  .header-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .3s, opacity .25s;
    margin-left: 0;
  }
  .header-nav.open {
    max-height: 420px;
    opacity: 1;
    overflow: auto;
  }
  .header-nav .nav-menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 16px;
  }
  .header-nav .nav-menu a {
    padding: 12px 8px;
    border-bottom: 1px solid var(--border);
  }
  .header-actions { order: 3; }
  .site-header .header-inner { flex-wrap: wrap; position: relative; }
  .vip-ribbon-inner { font-size: .7rem; }
  .app-rail { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .pagebar-inner { grid-template-columns: 1fr; }
  .hero-magazine { padding: 32px 0 24px; }
}
