/* Yono 567 Slots — brand app profile, light "sandstone matchday" base + product-store rhythm */

:root {
  --primary: #B64B28;
  --primary-700: #8E3719;
  --primary-50: #FBE7DD;
  --accent: #0B6E69;
  --accent-700: #074D49;
  --accent-50: #D5ECE9;
  --bg: #FFF8F2;
  --bg-2: #FCE8D7;
  --surface: #FFFFFF;
  --surface-2: #FBF1E6;
  --ink: #1F1714;
  --ink-2: #312019;
  --muted: #745D50;
  --muted-2: #97816F;
  --border: #EBCDBA;
  --border-soft: #F2DBC6;
  --shadow: 0 6px 22px rgba(60, 28, 14, 0.07), 0 1px 3px rgba(60, 28, 14, 0.05);
  --shadow-lg: 0 18px 48px rgba(60, 28, 14, 0.12), 0 4px 10px rgba(60, 28, 14, 0.06);
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --container: 1200px;
  --container-wide: 1320px;
  --header-h: 64px;
  --font-display: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Menlo', monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--accent-700); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4, h5 { font-family: var(--font-display); color: var(--ink); margin: 0 0 .5em; line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(28px, 4.5vw, 52px); font-weight: 700; }
h2 { font-size: clamp(22px, 2.8vw, 32px); font-weight: 700; }
h3 { font-size: clamp(18px, 2vw, 22px); font-weight: 600; }
p { margin: 0 0 1em; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }

/* layout */
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container-wide { max-width: var(--container-wide); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(40px, 6vw, 72px) 0; }
.section-tight { padding: clamp(28px, 4vw, 48px) 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); margin-bottom: 10px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--primary); border-radius: 2px; }
.section-head { display: flex; flex-direction: column; gap: 4px; margin-bottom: 24px; }
.section-head p { color: var(--muted); margin: 0; max-width: 720px; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 248, 242, 0.94);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .row { display: flex; align-items: center; gap: 18px; height: var(--header-h); }
.brand-mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark img { width: 38px; height: 38px; border-radius: 11px; object-fit: cover; box-shadow: 0 2px 8px rgba(60,28,14,.12); }
.brand-mark .name { font-weight: 700; font-size: 16px; line-height: 1.1; }
.brand-mark .sub { display: block; font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: .04em; margin-top: 1px; }
.primary-nav { display: none; gap: 4px; margin-left: auto; }
.primary-nav a { color: var(--ink-2); font-weight: 500; font-size: 14px; padding: 9px 13px; border-radius: 9px; white-space: nowrap; }
.primary-nav a:hover { background: var(--surface-2); text-decoration: none; }
.primary-nav a[aria-current="page"] { color: var(--primary); }
.header-cta { display: none; align-items: center; gap: 10px; }
.btn-install-head { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; background: var(--primary); color: #fff; border-radius: 999px; font-weight: 600; font-size: 14px; box-shadow: 0 6px 14px rgba(182,75,40,.25); }
.btn-install-head:hover { background: var(--primary-700); text-decoration: none; }
.btn-install-head svg { width: 14px; height: 14px; }
.hamburger { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid var(--border); background: var(--surface); border-radius: 11px; margin-left: auto; position: relative; z-index: 90; }
.hamburger span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: absolute; left: 12px; transition: transform .25s ease, opacity .2s ease; }
.hamburger span:nth-child(1) { top: 13px; }
.hamburger span:nth-child(2) { top: 20px; }
.hamburger span:nth-child(3) { top: 27px; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-drawer { position: fixed; top: 0; bottom: 0; right: 0; left: auto; width: min(86%, 360px); background: var(--surface); border-left: 1px solid var(--border); transform: translateX(120%); transition: transform .28s ease, visibility .28s ease; z-index: 80; padding: calc(var(--header-h) + 12px) 22px 28px; display: flex; flex-direction: column; gap: 4px; box-shadow: var(--shadow-lg); overflow-y: auto; will-change: transform; }
.mobile-drawer[aria-hidden="false"] { transform: translateX(0); }
.mobile-drawer a { padding: 12px 8px; border-radius: 10px; color: var(--ink-2); font-weight: 500; border-bottom: 1px solid var(--border-soft); }
.mobile-drawer a:hover { background: var(--surface-2); text-decoration: none; }
.drawer-scrim { position: fixed; inset: 0; background: rgba(31,23,20,.45); opacity: 0; pointer-events: none; transition: opacity .25s ease; z-index: 70; }
.drawer-scrim[aria-hidden="false"] { opacity: 1; pointer-events: auto; }

/* hero / brand app identity */
.app-shell { background: linear-gradient(180deg, #FFF1E2 0%, #FFF8F2 60%); border-bottom: 1px solid var(--border); }
.app-shell .grid { display: grid; grid-template-columns: 1fr; gap: 28px; padding: clamp(36px, 5vw, 64px) 0; align-items: center; }

.app-id .brand-app-raster-icon{width:96px;height:96px;border-radius:22px;display:block;margin:0 0 14px;object-fit:cover;box-shadow:0 10px 28px rgba(40,24,8,.18)}
@media (max-width:600px){.app-id .brand-app-raster-icon{width:72px;height:72px;border-radius:16px;margin-bottom:10px}}
.app-icon-tile { display: inline-flex; align-items: center; justify-content: center; width: 132px; height: 132px; border-radius: 32px; background: linear-gradient(135deg, #FFF 0%, var(--bg-2) 100%); padding: 14px; box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
.app-icon-tile img { width: 100%; height: 100%; object-fit: contain; border-radius: 22px; }
.app-id { display: flex; flex-direction: column; gap: 14px; }
.app-id .crumb { font-size: 12px; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; }
.app-id h1 { margin: 0; }
.app-id .tagline { color: var(--muted); font-size: clamp(15px, 1.6vw, 18px); max-width: 640px; }
.app-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: 13px; color: var(--ink-2); font-weight: 500; }
.chip.tone-accent { background: var(--accent-50); border-color: rgba(11,110,105,.25); color: var(--accent-700); }
.chip.tone-primary { background: var(--primary-50); border-color: rgba(182,75,40,.25); color: var(--primary-700); }
.app-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; align-items: center; }
.btn-primary { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; background: var(--primary); color: #fff; border-radius: 999px; font-weight: 700; font-size: 15px; border: none; box-shadow: 0 8px 20px rgba(182,75,40,.3); white-space: nowrap; }
.btn-primary:hover { background: var(--primary-700); text-decoration: none; }
.btn-secondary { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; background: var(--surface); color: var(--ink-2); border: 1px solid var(--border); border-radius: 999px; font-weight: 600; font-size: 14px; white-space: nowrap; }
.btn-secondary:hover { background: var(--surface-2); text-decoration: none; }
.fact-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 8px; }
.fact-strip .fact { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; }
.fact-strip .fact .lbl { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 4px; }
.fact-strip .fact .val { font-weight: 600; color: var(--ink); font-size: 15px; }

/* layout gallery rail (signature device: annotated image ledger) */
.gallery-rail { display: grid; grid-template-columns: 1fr; gap: 16px; }
.gallery-rail .shot { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.gallery-rail .shot .frame { aspect-ratio: 16 / 10; background: linear-gradient(135deg, #FDEAD8, #FCE0CB); display: flex; align-items: center; justify-content: center; padding: 22px; position: relative; }
.gallery-rail .shot .frame img { width: 100%; height: 100%; object-fit: contain; border-radius: 10px; }
.gallery-rail .shot .caption { padding: 12px 16px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--border-soft); display: flex; justify-content: space-between; gap: 8px; }
.gallery-rail .shot .caption strong { color: var(--ink-2); font-weight: 600; }

/* content blocks */
.split { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow); }
.card-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.card h3 { margin-top: 0; }
.tile-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.tile { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; }
.tile .lbl { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 4px; }
.tile .val { font-weight: 600; color: var(--ink); font-size: 15px; }
.tile .note { color: var(--muted); font-size: 13px; margin-top: 4px; }

/* HOT shelf */
.hot-shell { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 18px; box-shadow: var(--shadow); }
.hot-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.hot-head h2 { font-size: 18px; margin: 0; }
.hot-head .hint { color: var(--muted); font-size: 12px; }
.hot-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.hot-item { display: flex; align-items: center; gap: 10px; padding: 10px; background: var(--surface-2); border: 1px solid var(--border-soft); border-radius: var(--radius); text-decoration: none; color: var(--ink-2); min-height: 60px; transition: background .15s ease, transform .15s ease; }
.hot-item:hover { background: var(--primary-50); text-decoration: none; transform: translateY(-1px); }
.hot-item .art { width: 40px; height: 40px; border-radius: 9px; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; border: 1px solid var(--border-soft); }
.hot-item .art img { width: 100%; height: 100%; object-fit: cover; }
.hot-item .meta { display: flex; flex-direction: column; min-width: 0; }
.hot-item .cat { font-size: 10px; text-transform: uppercase; letter-spacing: .12em; color: var(--primary); font-weight: 700; }
.hot-item .name { font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.hot-item .intent { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* YONO collection (compact rows) */
.yono-list { display: flex; flex-direction: column; gap: 6px; }
.yono-row { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 12px; padding: 10px 12px; background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius); }
.yono-row .thumb { width: 48px; height: 48px; border-radius: 12px; overflow: hidden; background: var(--surface-2); display: flex; align-items: center; justify-content: center; }
.yono-row .thumb img { width: 100%; height: 100%; object-fit: cover; }
.yono-row .info { min-width: 0; }
.yono-row .info .name { font-weight: 600; color: var(--ink); font-size: 14px; }
.yono-row .info .cat { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-top: 1px; }
.yono-row .info .note { font-size: 12px; color: var(--muted); margin-top: 3px; line-height: 1.4; }
.yono-row .actions { display: flex; gap: 6px; align-items: center; }
.yono-row .actions a { display: inline-flex; padding: 7px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.yono-row .actions .a-open { background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--border); }
.yono-row .actions .a-cta { background: var(--primary); color: #fff; border: 1px solid var(--primary); }

/* rank/inventory rows (mixed catalogue preview) */
.inv-list { display: flex; flex-direction: column; gap: 6px; }
.inv-row { display: grid; grid-template-columns: 32px 64px 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius); }
.inv-row .rank { font-size: 12px; color: var(--muted); font-weight: 600; text-align: center; }
.inv-row .thumb { width: 56px; height: 56px; border-radius: 10px; overflow: hidden; background: var(--surface-2); }
.inv-row .thumb img { width: 100%; height: 100%; object-fit: cover; }
.inv-row .info { min-width: 0; }
.inv-row .info .name { font-weight: 600; color: var(--ink); font-size: 14px; }
.inv-row .info .meta { font-size: 12px; color: var(--muted); margin-top: 2px; }
.inv-row .actions { display: flex; gap: 6px; }
.inv-row .actions a { display: inline-flex; padding: 8px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.inv-row .actions .a-open { background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--border); }
.inv-row .actions .a-cta { background: var(--primary); color: #fff; }
.provider-tabs { display: flex; gap: 6px; overflow-x: auto; padding: 4px 0; margin-bottom: 12px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; max-width: 100%; }
.provider-tabs::-webkit-scrollbar { height: 4px; }
.provider-tabs::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.provider-tabs button { background: var(--surface); border: 1px solid var(--border); padding: 8px 14px; border-radius: 999px; font-size: 13px; color: var(--ink-2); font-weight: 500; white-space: nowrap; flex-shrink: 0; }
.provider-tabs button[aria-selected="true"] { background: var(--primary); color: #fff; border-color: var(--primary); }
.provider-tabs button:hover:not([aria-selected="true"]) { background: var(--surface-2); }

/* catalogue preview: stack on mobile */
@media (max-width: 639px) {
  [data-app-inventory] + p { max-width: 100%; }
  .card > div[style*="display:flex"] { flex-direction: column !important; align-items: stretch !important; }
  .card > div[style*="display:flex"] .provider-tabs { margin-right: 0 !important; flex: 1 1 auto !important; width: 100% !important; }
  .card > div[style*="display:flex"] > div:last-child { width: 100%; }
  .card > div[style*="display:flex"] > div:last-child input { flex: 1 1 auto; min-width: 0; width: 100%; }
  .card > div[style*="display:flex"] > div:last-child span[data-app-result-count] { display: none; }
}

/* install / steps */
.steps { display: flex; flex-direction: column; gap: 12px; counter-reset: step; }
.step { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; padding: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.step .num { width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; flex-shrink: 0; }
.step h3 { font-size: 16px; margin: 0 0 4px; }
.step p { color: var(--muted); margin: 0; font-size: 14px; }

/* FAQ */
.faq-grid { display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.faq summary::marker, .faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; font-weight: 300; color: var(--muted); transition: transform .2s ease; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 10px 0 0; color: var(--muted); font-size: 15px; }

/* news */
.news-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.news-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.news-card .cover { aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--accent-50), var(--bg-2)); display: flex; align-items: center; justify-content: center; }
.news-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.news-card .body { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.news-card .cat { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--primary); font-weight: 700; }
.news-card .title { font-size: 16px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.news-card .meta { font-size: 12px; color: var(--muted); margin-top: auto; padding-top: 8px; border-top: 1px dashed var(--border-soft); }
.news-card a.read { color: var(--accent-700); font-weight: 600; font-size: 13px; margin-top: 4px; }

/* VIP table */
.vip-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; font-size: 13px; }
.vip-table th, .vip-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--border-soft); }
.vip-table th { background: var(--surface-2); color: var(--ink); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.vip-table tr:last-child td { border-bottom: none; }
.vip-table .num { font-weight: 600; color: var(--primary-700); }

/* table promo */
.promo-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.promo-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.promo-card .label { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--accent-700); font-weight: 700; margin-bottom: 4px; }
.promo-card .ttl { font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.promo-card p { color: var(--muted); margin: 0; font-size: 14px; }

/* footer */
.site-footer { background: #1F1714; color: #E8D6C6; padding: clamp(36px, 5vw, 56px) 0 24px; margin-top: 32px; }
.site-footer .grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
.site-footer h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.site-footer a { color: #E8D6C6; font-size: 14px; }
.site-footer a:hover { color: #fff; }
.site-footer .legal { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; }
.site-footer .copyright { font-size: 12px; color: #97816F; margin-top: 24px; padding-top: 18px; border-top: 1px solid #3A2A22; }
.disclosure { font-size: 12px; color: #97816F; margin-top: 14px; line-height: 1.5; }

/* sticky mobile CTA */
.sticky-cta { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 65; background: var(--primary); color: #fff; border-radius: 14px; padding: 12px 16px; font-weight: 700; align-items: center; justify-content: space-between; box-shadow: 0 12px 32px rgba(182,75,40,.35); text-decoration: none; }
.sticky-cta:hover { background: var(--primary-700); text-decoration: none; }
.sticky-cta .label { display: flex; flex-direction: column; gap: 2px; }
.sticky-cta .label small { font-size: 11px; opacity: .85; font-weight: 500; }
.sticky-cta .label strong { font-size: 15px; }
.sticky-cta .arrow { width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; }

/* cookie bar */
.cookie-bar { position: fixed; left: 12px; right: 12px; bottom: 76px; z-index: 64; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow-lg); display: none; }
.cookie-bar.show { display: block; }
.cookie-bar p { margin: 0 0 10px; font-size: 13px; color: var(--muted); }
.cookie-bar .actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie-bar button { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--ink-2); font-weight: 600; font-size: 13px; }
.cookie-bar button.primary { background: var(--primary); color: #fff; border-color: var(--primary); }

/* misc helpers */
.divider { border: none; border-top: 1px solid var(--border-soft); margin: 28px 0; }
.text-muted { color: var(--muted); }
.bg-sand { background: var(--surface-2); }
.no-scroll { overflow: hidden; }

/* responsive */
@media (min-width: 640px) {
  .hot-grid { grid-template-columns: repeat(4, 1fr); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .tile-grid { grid-template-columns: repeat(4, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .fact-strip { grid-template-columns: repeat(4, 1fr); }
  .promo-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .primary-nav { display: flex; }
  .header-cta { display: inline-flex; }
  .hamburger { display: none; }
  .app-shell .grid { grid-template-columns: 1.1fr 1fr; gap: 48px; }
  .gallery-rail { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1.4fr 1fr; gap: 36px; }
  .news-grid { grid-template-columns: repeat(3, 1fr); }
  .promo-grid { grid-template-columns: repeat(3, 1fr); }
  .site-footer .grid { grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 36px; }
  .sticky-cta { display: none; }
}
@media (min-width: 1100px) {
  .gallery-rail { grid-template-columns: repeat(3, 1fr); }
}

/* high-contrast focus rings */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* prevent horizontal overflow on body */
html { overflow-x: clip; max-width: 100%; }
body { overflow-x: clip; max-width: 100%; position: relative; }
img, video, canvas, svg { max-width: 100%; }
/* mobile drawer hidden from layout space when closed */
.mobile-drawer[aria-hidden="true"] { visibility: hidden; pointer-events: none; transform: translateX(120%); }
.mobile-drawer[aria-hidden="false"] { visibility: visible; transform: translateX(0); }
/* hot grid mobile: keep on two columns with constrained meta text */
@media (max-width: 639px) {
  .hot-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .hot-item { min-width: 0; }
  .hot-item .meta { min-width: 0; flex: 1; }
  .hot-item .name, .hot-item .intent, .hot-item .cat { white-space: normal; overflow: visible; text-overflow: clip; max-width: 100%; word-break: break-word; }
  .hot-item { padding: 8px; gap: 6px; min-height: 56px; }
  .hot-item .art { width: 36px; height: 36px; flex-shrink: 0; }
}