/* Palette: plum #22162b / #1b1023, teal #3ec6c1, lavender #ded6eb #b9aed1 #f6f4f9, violet-grey #666173, purple #543e8d */
:root {
  --plum: #22162b; --plum-deep: #1b1023; --teal: #3ec6c1; --teal-2: #42c1c9; --purple: #543e8d;
  --lav: #ded6eb; --lav-2: #b9aed1; --lav-soft: #f6f4f9;
  --bg: #f6f4f9;
  --surface: #ffffff;
  --surface-2: #eee9f5;
  --ink: #22162b;
  --muted: #666173;
  --line: #ded6eb;
  --accent: #543e8d;        /* links, focus, text accents */
  --accent-ink: #ffffff;
  --accent-soft: #ece6f6;
  --btn: #3ec6c1; --btn-ink: #22162b;
  --ok: #0f7a6c; --ok-soft: #e1f6f3;
  --warn: #8a5300; --warn-soft: #fff4de;
  --bad: #b42318; --bad-soft: #fdecea;
  --gold: #543e8d; --gold-soft: #efe9f8;   /* "sample" + featured accents now use lavender */
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(34, 22, 43, .06);
  --font: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: light;
}
/* MIM always uses its light design, even when the visitor's device is in dark mode. */

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.5 var(--font); }
a { color: var(--accent); text-underline-offset: 2px; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5rem; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.6rem, 4vw, 2.25rem); }
h2 { font-size: 1.2rem; }
h3 { font-size: 1.05rem; }
h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-top: 1rem; }
p { margin: 0 0 .75rem; }
code { font: .9em ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--surface-2); padding: .1em .35em; border-radius: 4px; }
img { max-width: 100%; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 8px; top: 8px; background: var(--surface); padding: 8px; z-index: 10; }
.muted { color: var(--muted); } .small { font-size: .875rem; } .count { color: var(--muted); font-weight: 500; font-size: .8em; }
.text-bad { color: var(--bad); } .text-warn { color: var(--warn); }

/* Header & footer */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.header-row { display: flex; align-items: center; gap: 12px; min-height: 60px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; margin-right: auto; }
.brand-mark { display: grid; place-items: center; height: 34px; padding: 0 9px; border-radius: 9px; background: var(--ink); color: var(--bg); font-weight: 800; font-size: .9rem; letter-spacing: .06em; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: .98rem; }
.brand-text small { color: var(--muted); font-size: .75rem; }
.nav { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: .92rem; }
.nav a { color: var(--ink); text-decoration: none; }
.nav a:hover { color: var(--accent); }
.admin-nav { gap: 4px 14px; }
.muted-link { color: var(--muted) !important; }
.site-footer { border-top: 1px solid var(--line); margin-top: 56px; padding: 20px 0 32px; color: var(--muted); font-size: .85rem; }
.footer-row { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
.footer-row .credit a { color: var(--muted); }
.footer-links { margin-left: auto; display: flex; gap: 16px; }
.footer-links a { color: var(--muted); }
.quiet { opacity: .7; }
@media (max-width: 720px) {
  .site-header { position: static; }
  .nav { width: 100%; }
  .nav .search-sm { flex: 1 1 100%; order: -1; }
  .footer-links { margin-left: 0; }
}

/* Buttons, chips, badges */
.btn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--btn); background: var(--btn); color: var(--btn-ink); font: inherit; font-weight: 600; font-size: .95rem; padding: 10px 16px; border-radius: 10px; cursor: pointer; text-decoration: none; line-height: 1.2; white-space: nowrap; }
.btn:hover { filter: brightness(1.08); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); filter: none; }
.btn-sm { padding: 7px 12px; font-size: .85rem; border-radius: 8px; }
.btn.copied { background: var(--ok); border-color: var(--ok); color: #fff; }
.link { font-weight: 600; text-decoration: none; }
.link:hover { text-decoration: underline; }
.icon { width: 20px; height: 20px; flex: none; }
.icon-sm { width: 16px; height: 16px; vertical-align: -3px; }
.chip { display: inline-block; padding: 5px 12px; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; color: var(--ink); text-decoration: none; font-size: .88rem; }
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip-x { padding: 3px 10px; font-size: .8rem; background: var(--accent-soft); border-color: transparent; }
.pill { display: inline-block; min-width: 1.4em; padding: 0 .45em; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: .72rem; font-weight: 700; text-align: center; line-height: 1.5; }
.pill-soft { background: var(--surface-2); color: var(--muted); font-weight: 500; }
.badge { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: .75rem; font-weight: 600; background: var(--surface-2); color: var(--muted); white-space: nowrap; }
.badge.sample { background: var(--gold-soft); color: var(--gold); }
.badge.ok, .st-published, .conf-certain { background: var(--ok-soft); color: var(--ok); }
.badge.warn, .st-needs_verification, .conf-high { background: var(--warn-soft); color: var(--warn); }
.conf-possible { background: var(--gold-soft); color: var(--gold); }
.st-archived { opacity: .7; }
.conf-none { background: var(--accent-soft); color: var(--accent); }

/* Search */
.search { display: flex; align-items: center; position: relative; }
.search input { width: 100%; font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; }
.search input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.search-sm input { width: 260px; max-width: 100%; padding: 7px 12px; font-size: .9rem; background: var(--surface-2); border-color: transparent; }
@media (max-width: 720px) { .search-sm input { width: 100%; } }
.search-lg, .search-md { gap: 8px; }
.search-lg .search-icon, .search-md .search-icon { position: absolute; left: 14px; color: var(--muted); pointer-events: none; }
.search-lg input { font-size: 1.1rem; padding: 16px 16px 16px 44px; border-radius: 14px; box-shadow: var(--shadow); border-width: 1.5px; }
.search-md input { padding: 11px 12px 11px 42px; }
.search-lg .btn { padding: 16px 22px; border-radius: 14px; font-size: 1rem; }
@media (max-width: 520px) { .search-lg .btn, .search-md .btn { display: none; } }

/* Home: dark full-bleed hero */
.lede { color: var(--muted); font-size: 1.08rem; max-width: 62ch; }
body:not(.is-admin) { --hero-bg: var(--plum); --hero-ink: #f6f4f9; --hero-muted: #b9aed1; --hero-gold: var(--teal); --hero-gold-2: #7fd8d2; }

/* MIM logo */
.mim-logo { height: 30px; width: auto; display: block; color: var(--plum); flex: none; }
body:not(.is-admin) .site-header .mim-logo, .footer-brand .mim-logo { color: #f6f4f9; }
.brand { gap: 14px; }
.brand-text { padding-left: 14px; border-left: 1px solid var(--line); }
body:not(.is-admin) .brand-text { border-left-color: rgba(255, 255, 255, .18); }
.brand-name { font-weight: 600; font-size: .92rem; line-height: 1.2; }
.footer-brand .mim-logo { height: 34px; }
@media (max-width: 520px) { .brand-text { display: none; } .mim-logo { height: 26px; } }

/* Public site header: dark, like a regular marketing site */
body:not(.is-admin) .site-header { background: var(--hero-bg); border-bottom-color: transparent; }
body:not(.is-admin) .brand { color: var(--hero-ink); }
body:not(.is-admin) .brand-mark { background: var(--hero-gold); color: var(--hero-bg); }
body:not(.is-admin) .brand-text small { color: var(--hero-muted); }
body:not(.is-admin) .header-row { min-height: 76px; }
.site-nav { gap: 8px 28px; }
.nav-links { display: flex; gap: 8px 28px; align-items: center; }
.site-nav .nav-links a { color: var(--hero-ink); font-size: .98rem; }
.site-nav .nav-links a:hover { color: var(--teal); }
.nav-cta { display: inline-flex; align-items: center; padding: 11px 22px; border-radius: 999px; background: linear-gradient(100deg, var(--teal), #7fd8d2); color: var(--plum) !important; font-weight: 600; text-decoration: none; white-space: nowrap; }
.nav-cta:hover { filter: brightness(1.06); }
.menu-btn { display: none; background: none; border: 0; color: var(--hero-ink); padding: 8px; cursor: pointer; }
.menu-btn svg { width: 26px; height: 26px; }
@media (max-width: 860px) {
  body:not(.is-admin) .header-row { flex-wrap: nowrap; }
  body:not(.is-admin) .site-nav { width: auto; margin-left: auto; flex-wrap: nowrap; gap: 6px; }
  .js .menu-btn { display: block; order: 2; }
  .js .nav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: flex-start; gap: 0; background: var(--hero-bg); padding: 6px 16px 18px; border-top: 1px solid rgba(255, 255, 255, .1); z-index: 20; }
  .js .menu-open .nav-links { display: flex; }
  .nav-links a { padding: 12px 0; width: 100%; }
  .nav-cta { padding: 9px 14px; font-size: .88rem; }
  body:not(.is-admin) .site-header { position: relative; }
}
@media (max-width: 400px) { .nav-cta { padding: 8px 12px; font-size: .8rem; } .mim-logo { height: 22px; } }

/* Pop-up */
.modal { width: min(640px, calc(100vw - 24px)); max-height: calc(100vh - 32px); border: 0; border-radius: 18px; padding: 22px 24px 26px; background: var(--surface); color: var(--ink); box-shadow: 0 30px 80px rgba(27, 16, 35, .35); }
.modal::backdrop { background: rgba(27, 16, 35, .6); }
.modal-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.modal-head h2 { margin: 0; font-size: 1.4rem; }
.modal-close { border: 0; background: var(--surface-2); color: var(--ink); width: 36px; height: 36px; border-radius: 50%; font-size: 1.4rem; line-height: 1; cursor: pointer; }

/* Index section on the homepage */
.index { padding-top: 40px; scroll-margin-top: 56px; }
@media (max-width: 860px) { .index { scroll-margin-top: 0; padding-top: 28px; } }
.index .browse-bar { padding-top: 0; }
.index .promo { max-width: none; margin: 8px 0 4px; }
.more-row { display: flex; justify-content: center; margin-top: 36px; }
.more-row .btn-pill { text-decoration: none; height: 48px; }
.card { scroll-margin-top: 24px; }

/* Signup band at the end of the list */
.signup-band { margin: 72px calc(50% - 50vw) 0; background: radial-gradient(900px 400px at 15% 0%, rgba(84, 62, 141, .55), transparent 60%), var(--plum); color: #f6f4f9; padding: 72px 16px; }
.signup { max-width: 760px; margin: 0 auto; text-align: center; }
.signup h2 { font-family: Anton, "Arial Narrow", Impact, sans-serif; font-weight: 400; text-transform: uppercase; font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1; margin-bottom: 16px; }
.signup h2 span { color: var(--teal); }
.signup p { color: #b9aed1; max-width: 52ch; margin: 0 auto 24px; }
.signup-form { display: flex; gap: 10px; max-width: 520px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.signup-form input { flex: 1 1 240px; font: inherit; padding: 14px 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .28); background: rgba(27, 16, 35, .7); color: #f6f4f9; }
.signup-form input::placeholder { color: #8f86a3; }
.signup-form .btn-hero { border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.signup-done { color: var(--teal) !important; font-weight: 600; }

/* Public footer */
.site-footer-public { margin-top: 0; background: var(--plum-deep); color: #b9aed1; border-top: 0; padding: 48px 0 24px; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-brand { color: #f6f4f9; margin-bottom: 10px; }
.footer-tag { max-width: 36ch; }
.footer-h { color: #f6f4f9; font-weight: 600; margin-bottom: 8px; }
.site-footer-public p { margin: 0 0 6px; }
.site-footer-public a { color: #b9aed1; text-decoration: none; }
.site-footer-public a:hover { color: var(--teal); }
.footer-base { display: flex; gap: 8px 20px; flex-wrap: wrap; margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .85rem; }
.footer-base .quiet { margin-left: auto; }

/* About page */
.prose { max-width: 720px; padding: 48px 0 24px; }
.prose h1 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); margin-bottom: 16px; }
.prose h2 { margin-top: 32px; }
.prose li { margin-bottom: 8px; }
.eyebrow-dark { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.hero-band { margin-inline: calc(50% - 50vw); background: radial-gradient(1200px 500px at 85% 20%, rgba(84, 62, 141, .55), transparent 60%), var(--hero-bg); color: var(--hero-ink); padding: 40px 16px 72px; }
.hero { max-width: 1208px; margin: 0 auto; display: grid; gap: 48px; align-items: center; }
@media (min-width: 980px) { .hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); padding-top: 24px; } }
.eyebrow { font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--hero-muted); margin-bottom: 14px; }
.hero-title { font-family: Anton, "Arial Narrow", Impact, sans-serif; font-weight: 400; text-transform: uppercase; font-size: clamp(3rem, 8vw, 5.6rem); line-height: .92; letter-spacing: .005em; margin: 0 0 22px; color: var(--hero-ink); }
.hero-lede { color: var(--hero-muted); font-size: 1.08rem; max-width: 52ch; margin-bottom: 24px; }
.hero-search { position: relative; max-width: 520px; margin-bottom: 22px; }
.hero-search .search-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--hero-muted); }
.hero-search input { width: 100%; font: inherit; font-size: 1.02rem; padding: 15px 16px 15px 46px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .28); background: rgba(27, 16, 35, .7); color: var(--hero-ink); }
.hero-search input::placeholder { color: #8f86a3; }
.hero-search input:focus { outline: 2px solid var(--hero-gold); outline-offset: 1px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.btn-hero { display: inline-flex; gap: 10px; align-items: center; padding: 15px 30px; border-radius: 999px; background: linear-gradient(100deg, var(--hero-gold), var(--hero-gold-2)); color: var(--plum); font-weight: 600; text-decoration: none; }
.btn-hero:hover { filter: brightness(1.06); }
.hero-link { color: var(--hero-ink); font-weight: 500; text-decoration: none; border-bottom: 2px solid var(--hero-gold); padding-bottom: 2px; }
.hero-stat { margin: 26px 0 10px; color: var(--hero-muted); font-size: .92rem; }
.hero-stat strong { color: var(--hero-ink); font-weight: 600; }
.hero-quick { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .85rem; }
.hero-quick a { color: var(--hero-muted); text-decoration: none; }
.hero-quick a:hover { color: var(--hero-ink); }
/* Preview of the index, drawn with live listings */
.hero-visual { position: relative; }
.hero-visual::before { content: ""; position: absolute; inset: 10% 8%; background: radial-gradient(closest-side, rgba(62, 198, 193, .28), transparent); filter: blur(30px); z-index: 0; }
.hero-visual img { position: relative; z-index: 1; display: block; width: 100%; height: auto;
  /* crop the wide banner to the three blocks, and fade its purple background into the hero */
  aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 52%;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 58%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 58%, transparent 100%); }
@media (min-width: 980px) { .hero-visual img { width: 118%; max-width: none; margin: -6% 0 -6% -6%; } }
@media (max-width: 979px) { .hero-visual { max-width: 560px; margin: -8px auto 0; } }
.device { background: #f6f4f9; border-radius: 14px; border: 8px solid #3a2c47; box-shadow: 0 30px 60px rgba(0, 0, 0, .45); overflow: hidden; color: #16181d; transform: rotate(-1deg); }
.device-bar { display: flex; gap: 5px; padding: 8px 10px; background: #ece6f4; }
.device-bar span { width: 8px; height: 8px; border-radius: 50%; background: #b9aed1; }
.device-screen { padding: 12px; }
.mini-search { display: flex; gap: 6px; align-items: center; font-size: .66rem; color: #666173; background: #ece6f4; border-radius: 8px; padding: 7px 9px; margin-bottom: 12px; }
.mini-body { display: grid; grid-template-columns: 72px 1fr; gap: 12px; }
.mini-filters { display: grid; gap: 4px; align-content: start; }
.mini-filters span { font-size: .6rem; font-weight: 600; border-bottom: 1px solid #e0ddd4; padding: 5px 0; }
.mini-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mini-card { display: grid; gap: 2px; font-size: .64rem; }
.mini-card .logo { aspect-ratio: 16 / 10; border-radius: 8px; border: 1px solid #e3e1d8; margin-bottom: 4px; }
.mini-card .logo-mono span { font-size: 1.3rem; }
.mini-card i { font-style: normal; color: #6b6f78; text-decoration: underline; text-decoration-color: var(--hero-gold-2); }
.promo { margin: 18px 0 8px; max-width: 760px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); }
.promo-eyebrow { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); margin-bottom: 6px; }
.promo h2 { font-size: 1.15rem; margin-bottom: 4px; }
.promo p { color: var(--muted); margin-bottom: 10px; }
.promo-main { display: grid; gap: 12px; }
@media (min-width: 640px) { .promo-main { grid-template-columns: 1fr auto; align-items: start; } }
.promo-code { display: grid; grid-template-columns: auto auto; gap: 4px 10px; align-items: center; background: var(--gold-soft); border-radius: 10px; padding: 10px 12px; }
.promo-code-label { grid-column: 1 / -1; font-size: .75rem; color: var(--gold); font-weight: 600; }
.promo-code code { font-size: 1.05rem; font-weight: 700; background: none; padding: 0; letter-spacing: .04em; }
.promo-code small { grid-column: 1 / -1; color: var(--muted); }
.promo-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.promo-inline { margin: 8px 0 12px; }

.section { margin-top: 40px; }
.section-sm { margin-top: 28px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.section-head h2 { margin: 0; }
.cat-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.cat { display: flex; gap: 12px; align-items: flex-start; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; height: 100%; }
.cat:hover { border-color: var(--accent); }
.cat-icon { color: var(--accent); width: 24px; height: 24px; margin-top: 2px; }
.cat-text { flex: 1; display: flex; flex-direction: column; }
.cat-text small { color: var(--muted); font-size: .82rem; line-height: 1.35; }
.cat-count { font-weight: 700; color: var(--muted); font-size: .9rem; }

/* Cards: big logo tile, name, then "media type | location" */
.cards { display: grid; gap: 28px 24px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.card { position: relative; }
.card-media { position: relative; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .15s ease; }
.card:hover .card-media { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(22, 24, 29, .08); }
.card-media .logo { width: 100%; height: 100%; }
.card-flag { position: absolute; top: 10px; left: 10px; }
.card-tags { position: absolute; top: 10px; right: 10px; display: flex; gap: 4px; }
.tag-badge { background: #ece6f6; color: #543e8d; text-decoration: none; }
a.tag-badge:hover { background: #ded6eb; }
.card-body { padding: 12px 4px 0; }
.card h3 { font-size: 1.05rem; font-weight: 500; margin: 0 0 3px; }
.card-link { color: var(--ink); text-decoration: none; }
.card-link::after { content: ""; position: absolute; inset: 0; border-radius: 14px; }
.card-link:focus-visible { outline: none; } .card:focus-within .card-media { outline: 2px solid var(--accent); outline-offset: 2px; }
.card-sub { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; color: var(--muted); font-size: .9rem; margin: 0; }
.card-media-type { color: var(--ink); text-decoration: underline; text-decoration-color: var(--teal); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.sep { color: var(--line); }

/* Logos */
.logo { display: grid; place-items: center; background: #fff; }
.logo img { max-width: 70%; max-height: 62%; object-fit: contain; }
.logo-mono { background: var(--tile-bg); color: var(--tile-fg); }
.logo-mono span { font-weight: 700; font-size: clamp(1.6rem, 4vw, 2.6rem); letter-spacing: .02em; }
.logo-lg { width: 72px; height: 72px; border-radius: 14px; border: 1px solid var(--line); flex: none; overflow: hidden; }
.logo-lg.logo-mono span { font-size: 1.4rem; }
.logo-lg img { max-width: 80%; max-height: 80%; }
.listing-title { display: flex; align-items: center; gap: 14px; }
.listing-title h1 { margin: 0; }

/* Browse */
.browse-bar { display: flex; gap: 10px; align-items: center; padding: 24px 0 8px; flex-wrap: wrap; }
.search-wide { flex: 1 1 320px; }
.search-wide .search-icon { position: absolute; left: 16px; color: var(--muted); pointer-events: none; }
.search-wide input { padding: 14px 18px 14px 46px; font-size: 1rem; border-radius: 999px; background: var(--surface-2); border-color: transparent; }
.btn-pill, .pill-select select { display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 20px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; }
.btn-pill:hover, .pill-select select:hover { border-color: var(--ink); }
.pill-select select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23888' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; }
@media (max-width: 600px) {
  .browse-bar { padding-top: 16px; }
  .btn-pill, .pill-select { flex: 1 1 0; height: 44px; }
  .btn-pill { justify-content: center; height: 44px; }
  .pill-select select { width: 100%; height: 44px; padding: 0 34px 0 16px; background-position: right 12px center; }
  .card-media { aspect-ratio: 2 / 1; }
  .cards { gap: 22px; }
}
.hint { font-size: .88rem; color: var(--muted); margin-top: 8px; }
.browse { display: grid; gap: 24px; margin-top: 16px; }
@media (min-width: 900px) {
  .browse { grid-template-columns: 260px 1fr; align-items: start; gap: 48px; }
  .browse.filters-hidden { grid-template-columns: 1fr; }
  .browse.filters-hidden .filters { display: none; }
  .filters { position: sticky; top: 76px; max-height: calc(100vh - 96px); overflow: auto; }
}
@media (max-width: 899px) {
  .filters { display: none; }
  .browse.filters-open .filters { display: block; }
}
.no-js .filters { display: block !important; }
.facet { border-bottom: 1.5px solid var(--line); }
.facet summary { display: flex; align-items: center; gap: 8px; padding: 16px 0; font-weight: 600; list-style: none; }
.facet summary::-webkit-details-marker { display: none; }
.facet .chev { width: 18px; height: 18px; margin-left: auto; transition: transform .15s; }
.facet[open] .chev { transform: rotate(180deg); }
.facet-list { list-style: none; padding: 0 0 14px; margin: 0; display: grid; gap: 2px; max-height: 280px; overflow: auto; }
.facet-opt { display: flex; align-items: center; gap: 10px; padding: 5px 4px; border-radius: 6px; color: var(--ink); text-decoration: none; font-size: .93rem; }
.facet-opt:hover { background: var(--surface-2); }
.facet-opt .box { width: 16px; height: 16px; border: 1.5px solid var(--muted); border-radius: 4px; flex: none; }
.facet-opt.on .box { background: var(--ink); border-color: var(--ink); box-shadow: inset 0 0 0 3px var(--bg); }
.facet-opt.on { font-weight: 600; }
.facet-opt.zero { opacity: .45; }
.facet-label { flex: 1; }
.facet-n { color: var(--muted); font-size: .82rem; font-variant-numeric: tabular-nums; }
.clear-all { display: inline-block; margin-top: 14px; font-size: .9rem; }
.result-count { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--muted); margin-bottom: 18px; }
.result-count strong { color: var(--ink); }
.empty { background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); padding: 24px; color: var(--muted); }

/* Forms */
.field { display: grid; gap: 4px; font-size: .88rem; }
.field > span { color: var(--muted); font-weight: 600; }
.field input, .field select, .field textarea, .filter-bar input, .filter-bar select, .bulk-bar select, .preview select {
  font: inherit; font-size: .95rem; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; width: 100%;
}
.field.check { display: flex; align-items: center; gap: 8px; align-self: end; }
.field.check input { width: auto; }
.form { display: grid; gap: 14px; }
.two { display: grid; gap: 14px; }
@media (min-width: 640px) { .two { grid-template-columns: 1fr 1fr; } }
.radio-row { border: 0; padding: 0; margin: 0; display: flex; gap: 16px; flex-wrap: wrap; }
.radio-row legend { font-weight: 600; font-size: .88rem; color: var(--muted); margin-bottom: 4px; }
.check-grid label, .radio-row label { display: flex; align-items: center; gap: 8px; font-weight: 400; }
.field .check-grid input, .radio-row input { width: auto; padding: 0; accent-color: var(--purple); }
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 6px; font-size: .92rem; color: var(--ink); }
.narrow { max-width: 680px; padding-top: 28px; }
.form-actions, .btn-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; }

/* Listing */
.crumbs { font-size: .85rem; color: var(--muted); padding-top: 18px; }
.crumbs a { color: var(--muted); }
.listing { max-width: 860px; }
.listing-head { padding: 12px 0 8px; }
.listing-head .meta { color: var(--muted); margin-bottom: 4px; }
.desc { font-size: 1.05rem; margin-top: 10px; max-width: 65ch; }
.disclosure { font-size: .9rem; background: var(--gold-soft); color: var(--ink); border-radius: 8px; padding: 8px 12px; display: inline-block; }
.contact-box { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--radius); padding: 16px 18px; margin-top: 12px; box-shadow: var(--shadow); }
.contact-list { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
.contact-list li { display: grid; grid-template-columns: 130px 1fr; gap: 8px; align-items: baseline; }
.contact-list a { font-weight: 600; word-break: break-word; }
.contact-kind { color: var(--muted); font-size: .88rem; }
@media (max-width: 480px) { .contact-list li { grid-template-columns: 1fr; gap: 0; } }
.contact-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.reach { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 4px; font-size: .92rem; }
.jump { display: flex; flex-wrap: wrap; gap: 6px; }
.channel-title { display: flex; align-items: center; gap: 6px; margin: 22px 0 8px; color: var(--muted); font-size: .95rem; }
.placement { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 12px; scroll-margin-top: 80px; }
.placement:target { border-color: var(--accent); }
.placement-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; flex-wrap: wrap; }
.placement-head h3 { margin: 4px 0 0; font-size: 1.1rem; }
.tag { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--accent); }
.rate { text-align: right; font-weight: 700; font-size: 1.05rem; }
.rate small { display: block; font-weight: 500; font-size: .75rem; color: var(--muted); }
.rate-none { color: var(--muted); font-weight: 600; font-size: .95rem; }
.specs { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px 16px; margin: 14px 0 0; }
.specs div, .mini div, .dl-grid div { min-width: 0; }
.specs dt, .mini dt, .dl-grid dt { font-size: .75rem; color: var(--muted); font-weight: 600; }
.specs dd, .mini dd, .dl-grid dd { margin: 0; font-size: .95rem; overflow-wrap: anywhere; }
.deadlines ul, .screens ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.deadlines li { border-top: 1px solid var(--line); padding-top: 8px; }
.dl-name { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; font-size: .95rem; }
.dl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 6px 16px; margin: 6px 0 0; }
.due { font-size: .75rem; color: var(--muted); }
.due.soon { color: var(--warn); font-weight: 700; }
.screen { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 12px; background: var(--bg); }
.screen-head { display: flex; justify-content: space-between; gap: 10px; }
.screen p { margin: 2px 0 6px; font-size: .88rem; }
.mini { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px 14px; margin: 6px 0 10px; }
.placement-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.listing-foot { margin-top: 28px; border-top: 1px solid var(--line); padding-top: 12px; }

/* Admin */
.is-admin .wrap { max-width: 1280px; }
.page-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 22px 0 12px; }
.page-head h1 { font-size: 1.6rem; margin: 0; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
.banner { font-size: .88rem; padding: 8px 0; }
.banner.warn { background: var(--warn-soft); color: var(--warn); }
.banner.ok { background: var(--ok-soft); color: var(--ok); }
.banner-inline { padding: 10px 14px; border-radius: 8px; background: var(--surface-2); font-size: .92rem; }
.banner-inline.warn { background: var(--warn-soft); } .banner-inline.ok { background: var(--ok-soft); } .banner-inline.bad { background: var(--bad-soft); color: var(--bad); }
.tiles { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); margin-bottom: 12px; }
.tile { display: flex; flex-direction: column; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; }
.tile-n { font-size: 1.6rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.tile-l { font-size: .8rem; color: var(--muted); }
.tile.warn { border-color: color-mix(in srgb, var(--warn) 40%, var(--line)); } .tile.warn .tile-n { color: var(--warn); }
.tile.ok .tile-n { color: var(--ok); } .tile.bad .tile-n { color: var(--bad); }
.inline-form { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 4px 0 8px; }
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th, .table td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); background: var(--surface-2); white-space: nowrap; }
.table tr:last-child td { border-bottom: 0; }
.table .n { text-align: right; font-variant-numeric: tabular-nums; }
.row-warn td { background: color-mix(in srgb, var(--warn-soft) 60%, transparent); }
.row-bad td { background: var(--bad-soft); }
.preview select { min-width: 210px; }
.src-table td:first-child { min-width: 280px; }
.filter-bar, .bulk-bar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 10px; }
.filter-bar input { max-width: 280px; } .filter-bar select, .bulk-bar select { width: auto; }
.edit-grid { display: grid; gap: 20px; }
@media (min-width: 960px) { .edit-grid { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; } }
.card-plain { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 12px; }
.side h2 { font-size: 1rem; margin-top: 8px; }
.side-list { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; font-size: .9rem; }
.dup-grid { display: grid; gap: 12px; }
@media (min-width: 760px) { .dup-grid { grid-template-columns: 1fr 1fr; } }
.dup-col { background: var(--bg); border-radius: var(--radius-sm); padding: 10px 12px; }
.sub.is-done { opacity: .65; }
.source-form { max-width: 820px; }
details > summary { cursor: pointer; }

/* ===== The MIM Manual (/manual) ===== */
.m-hero { padding: 48px 0 28px; max-width: 760px; }
.m-hero h1 { font-family: Anton, "Arial Narrow", Impact, sans-serif; font-weight: 400; text-transform: uppercase; font-size: clamp(2.4rem, 6vw, 4rem); line-height: .95; margin: 6px 0 16px; }
.m-actions { display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; margin-top: 18px; }
.m-cta .hero-link { color: var(--ink); }
.m-layout { display: grid; gap: 28px; padding-bottom: 40px; }
@media (min-width: 960px) { .m-layout { grid-template-columns: 230px minmax(0, 720px); gap: 56px; } }
.m-toc-desktop { display: none; }
@media (min-width: 960px) {
  .m-toc-mobile { display: none; }
  .m-toc-desktop { display: block; position: sticky; top: 96px; }
}
.m-toc-title { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.m-toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.m-toc a { display: block; padding: 7px 10px; border-left: 2px solid var(--line); color: var(--muted); text-decoration: none; font-size: .92rem; }
.m-toc a span { font-variant-numeric: tabular-nums; margin-right: 6px; color: var(--lav-2); }
.m-toc a:hover { color: var(--ink); }
.m-toc a.active { border-left-color: var(--teal); color: var(--ink); font-weight: 600; background: var(--surface); }
.m-toc-mobile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; position: sticky; top: 8px; z-index: 3; }
.m-toc-mobile summary { font-weight: 600; }
.m-toc-mobile ol { margin-top: 8px; }
.m-article { min-width: 0; }
.m-section { padding: 8px 0 36px; border-bottom: 1px solid var(--line); margin-bottom: 32px; scroll-margin-top: 96px; }
@media (max-width: 959px) { .m-section { scroll-margin-top: 72px; } }
.m-section h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 14px; }
.m-num { color: var(--purple); font-variant-numeric: tabular-nums; }
.m-section p { font-size: 1.04rem; max-width: 66ch; }
.m-cards { display: grid; gap: 12px; margin: 16px 0; }
@media (min-width: 700px) { .m-cards.three { grid-template-columns: repeat(3, 1fr); } .m-cards.two { grid-template-columns: repeat(2, 1fr); } }
.m-card { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--teal); border-radius: var(--radius); padding: 16px; }
.m-card.plain { border-top-width: 1px; }
.m-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.m-card p, .m-card li { font-size: .95rem !important; color: var(--muted); margin: 0 0 6px; }
.m-card ul { padding-left: 18px; margin: 0; }
.m-callout { background: var(--plum); color: #f6f4f9; border-radius: var(--radius); padding: 18px 20px; margin: 18px 0 4px; }
.m-callout.soft { background: var(--accent-soft); color: var(--ink); }
.m-callout-label { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--teal); margin-bottom: 6px !important; }
.m-callout.soft .m-callout-label, .m-example .m-callout-label, .m-email .m-callout-label { color: var(--purple); }
.m-formula { font-size: 1.25rem !important; font-weight: 600; margin: 0 !important; }
.m-formula mark { background: rgba(62, 198, 193, .22); color: inherit; padding: 0 4px; border-radius: 4px; }
.m-math { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin: 4px 0 16px; }
.m-math > div { display: grid; }
.m-math-n { font-family: Anton, Impact, sans-serif; font-size: 2.2rem; line-height: 1; color: var(--plum); }
.m-math-l { font-size: .82rem; color: var(--muted); }
.m-math-op { font-size: 1.6rem; color: var(--lav-2); }
.m-note { font-size: .95rem !important; color: var(--muted); }
.m-table { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); margin: 16px 0; }
.m-row { display: grid; grid-template-columns: 160px 1fr 1fr; gap: 16px; padding: 12px 16px; border-top: 1px solid var(--line); font-size: .95rem; }
.m-row-head { background: var(--surface-2); border-top: 0; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.m-cell-title { font-weight: 700; }
.m-cell-label { display: none; }
@media (max-width: 720px) {
  .m-table { border: 0; background: none; display: grid; gap: 10px; }
  .m-row-head { display: none; }
  .m-row { grid-template-columns: 1fr; gap: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
  .m-cell-label { display: block; font-style: normal; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
}
.m-example { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin: 8px 0 14px; }
.m-example h3 { font-size: 1.15rem; }
.m-steps { padding-left: 20px; margin: 10px 0; display: grid; gap: 6px; }
.m-ticks { list-style: none; padding: 0; display: grid; gap: 6px; }
.m-ticks li::before { content: "✓"; color: var(--teal); font-weight: 700; margin-right: 8px; }
.m-timeline { list-style: none; padding: 0; margin: 8px 0 16px; display: flex; flex-wrap: wrap; gap: 8px; counter-reset: t; }
.m-timeline li { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-weight: 600; font-size: .92rem; }
.m-timeline li:not(:last-child)::after { content: "→"; margin-left: 12px; color: var(--purple); }
.m-email { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--purple); border-radius: var(--radius); padding: 18px 20px; margin-top: 16px; }
.m-email blockquote { margin: 0 0 14px; font-size: 1.02rem; line-height: 1.6; }
.m-cta { background: radial-gradient(800px 300px at 90% 0%, rgba(84, 62, 141, .5), transparent 60%), var(--plum); color: #f6f4f9; border-radius: 18px; padding: 32px 28px; margin: 12px 0 18px; }
.m-cta h2 { font-family: Anton, Impact, sans-serif; font-weight: 400; text-transform: uppercase; font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1; margin-bottom: 10px; }
.m-cta p { color: #b9aed1; }
.m-cta .hero-link { color: #f6f4f9; }
.m-credit { font-size: .88rem; color: var(--muted); }

/* ===== The Media Plan worksheet (/manual/media-plan) ===== */
.mp { max-width: 820px; padding: 28px 0 40px; }
.mp-back a { color: var(--muted); text-decoration: none; font-size: .92rem; }
.mp-back a:hover { color: var(--ink); }
.mp-head h1 { font-family: Anton, Impact, sans-serif; font-weight: 400; text-transform: uppercase; font-size: clamp(2.2rem, 5.5vw, 3.4rem); line-height: .95; margin: 6px 0 12px; }
.mp-form { display: grid; gap: 18px; margin-top: 20px; }
.mp-sec { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; display: grid; gap: 14px; }
.mp-sec h2 { font-size: 1.15rem; margin: 0; }
.three { display: grid; gap: 14px; }
@media (min-width: 640px) { .three { grid-template-columns: repeat(3, 1fr); } }
.hint { color: var(--muted); font-size: .8rem; font-weight: 400; }
.p-row { position: relative; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px; margin: 0 0 12px; display: grid; gap: 12px; background: var(--bg); }
.p-row legend { font-weight: 700; padding: 0 6px; }
.p-remove { position: absolute; top: -10px; right: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); border-radius: 999px; padding: 3px 12px; font: inherit; font-size: .8rem; cursor: pointer; }
.p-remove:hover { color: var(--bad); border-color: var(--bad); }
.mp-row-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 0; }
.mp-out { display: block; font-size: 1.1rem; font-weight: 700; padding: 8px 0; }
.mp-total { font-size: 1.05rem; margin: 0; }
.mp-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.mp-status { font-weight: 600; color: var(--ok); min-height: 1.5em; }
.mp-clear { margin-left: auto; }
.mp-fallback textarea { width: 100%; font: .9rem ui-monospace, Menlo, monospace; padding: 10px; border-radius: 8px; border: 1px solid var(--line); }
.mp-print { display: none; }
@media (max-width: 640px) {
  .mp-actions { position: sticky; bottom: 0; background: var(--bg); padding: 10px 0 calc(10px + env(safe-area-inset-bottom)); z-index: 4; border-top: 1px solid var(--line); }
  .mp-actions .btn { flex: 1 1 auto; justify-content: center; }
  .mp-clear { margin-left: 0; flex: 0 0 auto !important; border: 0; background: none; padding: 4px 6px; font-weight: 500; font-size: .85rem; text-decoration: underline; color: var(--muted); }
  .mp { padding-bottom: 24px; }
}

/* Print: only the plan summary */
@media print {
  body { background: #fff; }
  .site-header, .site-footer, .skip, .modal, .banner, .mp-back, .mp-head .lede, .mp-form, .m-toc { display: none !important; }
  .mp-print { display: block !important; white-space: pre-wrap; font: 11pt/1.5 var(--font); color: #000; }
  .mp-head h1 { font-size: 22pt; color: #000; }
  main.wrap { max-width: none; padding: 0; }
}

/* Orbyt promo bar (sits above the results, beside the filters) */
.promo-bar { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 20px; margin: 0 0 22px;
  padding: 10px 18px; border-radius: 14px; border: 1px solid rgba(185, 174, 209, .22);
  background: linear-gradient(90deg, #1b1023, #22162b 50%, #1b1023); color: #f6f4f9; }
.promo-bar-brand { color: #f6f4f9; font-weight: 700; font-size: 1.05rem; text-decoration: none; }
.promo-bar-brand:hover { color: var(--teal); }
.promo-bar-sep { width: 1px; height: 22px; background: rgba(185, 174, 209, .4); }
.promo-bar-offer { font-weight: 600; font-size: 1.05rem; }
.promo-bar-offer strong { color: var(--teal); font-weight: 700; }
.promo-bar-copy { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 10px;
  border: 1.5px solid var(--teal); background: rgba(62, 198, 193, .08); color: #f6f4f9; font: inherit; font-weight: 600; cursor: pointer; }
.promo-bar-copy:hover { background: rgba(62, 198, 193, .18); }
.promo-bar-copy.copied { background: var(--teal); color: var(--plum); }
@media (max-width: 600px) {
  .promo-bar { gap: 8px 14px; padding: 12px 14px; }
  .promo-bar-sep { display: none; }
  .promo-bar-offer { flex-basis: 100%; text-align: center; order: 2; }
  .promo-bar-brand { order: 1; }
  .promo-bar-copy { order: 3; }
}
.m-table.two-col .m-row { grid-template-columns: 180px 1fr; }
@media (max-width: 700px) { .m-table.two-col .m-row { grid-template-columns: 1fr; } }

/* ---- Outlet page: size cards + about table */
.outlet { max-width: 1120px; margin: 0 auto; }
.outlet-head { text-align: center; padding: 18px 0 26px; }
.outlet-head .logo-lg { margin: 0 auto 10px; }
.outlet-head h1 { font-family: Anton, Impact, sans-serif; font-weight: 400; text-transform: uppercase; font-size: clamp(2.2rem, 6vw, 3.6rem); line-height: 1; margin: 0 0 14px; }
.outlet-meta { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; color: var(--muted); font-weight: 500; }
.outlet-meta li { display: inline-flex; align-items: center; gap: 6px; }
.size-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.size-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; display: flex; flex-direction: column; box-shadow: var(--shadow); scroll-margin-top: 90px; }
.size-card:target { outline: 2px solid var(--accent); }
.size-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; padding: 16px 16px 0; }
.size-head h3 { margin: 0; font-size: 1.15rem; line-height: 1.25; }
.size-tools { display: flex; gap: 2px; flex: none; }
.icon-btn { border: 0; background: none; color: var(--muted); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; font: inherit; }
.icon-btn:hover { background: var(--surface-2); color: var(--ink); }
.icon-btn:disabled { color: var(--accent); }
.size-body { text-align: center; padding: 10px 16px 16px; flex: 1; }
.size-diagram { width: 160px; height: 140px; display: block; margin: 0 auto 6px; }
.size-none { display: grid; place-items: center; color: var(--muted); }
.size-none .icon { width: 44px; height: 44px; opacity: .5; }
.d-page { fill: none; stroke: var(--muted); stroke-width: 1.5; opacity: .55; }
.d-ad { fill: var(--purple); fill-opacity: .18; stroke: var(--purple); stroke-width: 2.5; }
.d-solo { fill-opacity: .06; opacity: 1; }
.size-dims { margin: 0; font-size: 2rem; font-weight: 600; letter-spacing: -.01em; display: flex; justify-content: center; align-items: baseline; gap: 6px; }
.size-dims .x { color: var(--muted); font-size: 1.2rem; font-weight: 400; }
.size-dims small { font-size: .95rem; color: var(--muted); font-weight: 500; }
.size-sub { margin: 4px 0 0; color: var(--muted); font-size: .92rem; }
.size-rate { margin: 6px 0 0; font-size: .85rem; font-weight: 600; }
.size-more { border-top: 1px solid var(--line); padding: 8px 16px; font-size: .88rem; }
.size-more summary { cursor: pointer; color: var(--muted); font-weight: 600; }
.size-more .specs { margin-top: 8px; }
.size-foot { border-top: 1px solid var(--line); padding: 12px 16px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.chip-btn { border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; min-width: 38px; height: 36px; padding: 0 12px; font: 600 .88rem var(--font); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.chip-btn:hover { border-color: var(--purple); }
.chip-main { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip-main:hover { background: var(--purple); border-color: var(--purple); }
.chip-btn.copied { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.size-card .plan-added { margin: 0; padding: 0 16px 12px; }
.outlet-empty { text-align: center; color: var(--muted); padding: 24px 0; }
.outlet-about { max-width: 760px; margin: 44px auto 0; }
.outlet-about h2 { text-align: center; font-size: 1.3rem; margin: 0 0 10px; }
.outlet-desc { text-align: center; color: var(--muted); margin: 0 0 14px; }
.about-table { margin: 0; border-top: 1px solid var(--line); }
.about-table > div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 2px; border-bottom: 1px solid var(--line); }
.about-table dt { color: var(--muted); }
.about-table dd { margin: 0; text-align: right; font-weight: 600; overflow-wrap: anywhere; }
.about-table a { color: var(--ink); text-decoration: underline dotted; text-underline-offset: 4px; }
.outlet-note { text-align: center; margin: 12px 0 0; }
.link-btn { border: 0; background: none; padding: 0; color: inherit; font: inherit; cursor: pointer; text-decoration: underline; display: inline-flex; align-items: center; gap: 4px; }

/* ---- Media Plan bits */
.three { display: grid; gap: 14px; }
@media (min-width: 640px) { .three { grid-template-columns: repeat(3, 1fr); } }
.money-input { display: flex; align-items: center; gap: 6px; }
.money-input > span { color: var(--muted); font-weight: 600; }
.money-input input { flex: 1; }
.field-error { color: #b42318; font-weight: 600; }
[aria-invalid="true"] { border-color: #b42318 !important; }
.mp-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.05rem; border-top: 1px solid var(--line); padding-top: 10px; }
.mp-total strong { font-size: 1.3rem; }
.modal-sm { width: min(440px, calc(100vw - 24px)); }
.modal-sm h2 { margin: 0 0 6px; font-size: 1.3rem; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 16px; flex-wrap: wrap; }
.btn-danger { background: #b42318; border-color: #b42318; color: #fff; }
.size-deadline { border-top: 1px solid var(--line); margin: 0; padding: 12px 16px; display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 18px; font-weight: 600; font-size: .95rem; }
.size-deadline small { color: var(--muted); font-weight: 500; font-size: .85rem; margin-right: 4px; }

/* ---- About page (Melodio-style bands) */
.ab { margin: 0 calc(50% - 50vw); color: #f6f4f9; }
.ab-inner { max-width: 1060px; margin: 0 auto; padding: 0 16px; }
.ab em { font-family: var(--font); font-style: normal; font-weight: 500; color: var(--teal); letter-spacing: -.01em; }
.ab-eyebrow { font-family: var(--font); text-transform: uppercase; letter-spacing: .14em; font-size: .85rem; margin: 0 0 18px; color: #f6f4f9; }
.ab-eyebrow-dark { color: var(--plum); }
.ab-hero { background: var(--plum); padding: 96px 0 72px; }
.ab-hero-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.ab-title { font-family: var(--font); font-weight: 500; font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 1.02; letter-spacing: -.02em; margin: 0 0 18px; text-transform: none; }
.ab-sub { font-size: 1.15rem; margin: 0; }
.ab-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.ab-pill { display: inline-flex; align-items: center; gap: 12px; padding: 6px 6px 6px 22px; border-radius: 999px; border: 1px solid rgba(246, 244, 249, .7); color: #f6f4f9; text-decoration: none; font-family: var(--font); font-size: 1.02rem; }
.ab-pill:hover { background: rgba(246, 244, 249, .08); }
.ab-pill-solid { background: var(--teal); border-color: var(--teal); color: var(--plum); }
.ab-pill-solid:hover { background: #5fd3cf; }
.ab-pill-dark { border-color: var(--plum); color: var(--plum); }
.ab-pill-dark:hover { background: rgba(34, 22, 43, .06); }
.arrow-dot { width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--plum); display: grid; place-items: center; flex: none; }
.ab-pill-dark .arrow-dot { background: var(--plum); color: #fff; }
.arrow-dot svg { width: 16px; height: 16px; }
.ab-visual { background: radial-gradient(700px 420px at 92% 0%, rgba(140, 110, 200, .75), transparent 70%), radial-gradient(600px 420px at 0% 100%, rgba(84, 62, 141, .8), transparent 70%), #241a3a; padding: 40px 16px; text-align: center; }
.ab-visual img { width: min(880px, 100%); height: auto; display: inline-block; }
.ab-statement { background: var(--plum); padding: 64px 0; border-bottom: 1px solid rgba(246, 244, 249, .18); }
.ab-statement p { font-size: clamp(1.15rem, 2.2vw, 1.5rem); line-height: 1.45; margin: 0 auto; text-indent: 30%; }
.ab-split { background: var(--plum); padding: 88px 0; }
.ab-split-row { display: grid; gap: 40px; }
@media (min-width: 860px) { .ab-split-row { grid-template-columns: 1fr 1fr; align-items: end; gap: 72px; } }
.ab-h2 { font-family: var(--font); font-weight: 500; font-size: clamp(2rem, 4.6vw, 3.3rem); line-height: 1.04; letter-spacing: -.02em; margin: 0; text-transform: none; }
.ab-copy p { font-size: 1.05rem; line-height: 1.6; margin: 0 0 14px; }
.ab-copy a, .ab .hl { color: var(--teal); }
.ab-glass-band { padding: 90px 16px; background: radial-gradient(500px 300px at 15% 20%, rgba(62, 198, 193, .55), transparent 70%), radial-gradient(600px 360px at 85% 80%, rgba(176, 130, 230, .7), transparent 70%), radial-gradient(500px 300px at 60% 10%, rgba(230, 160, 220, .5), transparent 70%), #6d5aa3; }
.ab-glass { max-width: 860px; margin: 0 auto; padding: 48px 32px; text-align: center; border-radius: 22px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .35); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 20px 60px rgba(27, 16, 35, .25); }
.ab-glass p { font-size: 1.15rem; line-height: 1.5; margin: 0 0 14px; }
.ab-glass p:last-child { margin: 0; }
.ab-light { background: #fff; color: var(--ink); padding: 96px 0; }
.ab-light-row { display: grid; gap: 40px; align-items: center; }
@media (min-width: 860px) { .ab-light-row { grid-template-columns: 1fr 1.1fr; gap: 64px; } }
.ab-light p { color: #5b5266; font-size: 1.05rem; line-height: 1.6; margin: 18px 0 24px; }
.ab-sizes { border-radius: 18px; padding: 28px; background: radial-gradient(300px 200px at 20% 10%, rgba(62, 198, 193, .45), transparent 70%), radial-gradient(320px 240px at 90% 90%, rgba(176, 130, 230, .6), transparent 70%), #eae4f6; }
.ab-sizes svg { width: 100%; height: auto; display: block; }
.s-page { fill: rgba(255, 255, 255, .75); stroke: var(--plum); stroke-width: 2; }
.s-front { fill: rgba(255, 255, 255, .9); }
.s-ad { fill: rgba(84, 62, 141, .35); stroke: var(--purple); stroke-width: 2.5; }
.s-ad-2 { fill: rgba(62, 198, 193, .45); stroke: #1f9f9a; }
.ab-ctas-left { justify-content: flex-start; }
@media (max-width: 640px) {
  .ab-hero { padding: 56px 0 48px; }
  .ab-statement p { text-indent: 0; }
  .ab-split, .ab-light { padding: 64px 0; }
  .ab-glass-band { padding: 56px 16px; }
  .ab-glass { padding: 32px 20px; }
}

/* ---- Booking-style forms (Add a listing, Suggest an update) */
.bk { margin: 0 calc(50% - 50vw); padding: 88px 16px 96px; color: #f6f4f9; background: radial-gradient(900px 600px at 100% 30%, rgba(150, 115, 200, .75), transparent 65%), radial-gradient(700px 500px at 0% 90%, rgba(84, 62, 141, .65), transparent 70%), linear-gradient(180deg, #24183a, #2a1c40); }
.bk em { font-family: var(--font); font-style: normal; font-weight: 500; color: var(--teal); }
.bk-head { text-align: center; max-width: 620px; margin: 0 auto 44px; }
.bk-head .ab-title { font-size: clamp(2.4rem, 6vw, 3.8rem); margin-bottom: 20px; }
.bk-head p { font-size: 1.1rem; line-height: 1.55; margin: 0; }
.bk-card { max-width: 740px; margin: 0 auto; background: #fff; color: var(--ink); border-radius: 12px; padding: 40px 40px 44px; box-shadow: 0 30px 80px rgba(20, 10, 30, .35); }
.bk-form { display: grid; gap: 16px; }
.bk-sec { font-family: var(--font); font-weight: 500; text-transform: uppercase; letter-spacing: .08em; font-size: .95rem; margin: 18px 0 0; padding-top: 22px; border-top: 1px solid var(--line); }
.bk-sec:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.bk-form .field > span { font-family: var(--font); font-weight: 500; color: #4a4155; font-size: .92rem; }
.bk-form .field input, .bk-form .field textarea, .bk-form .field select { background: #f3f0f9; border: 1px solid #e4def0; border-radius: 8px; padding: 11px 12px; }
.bk-form .field input:focus, .bk-form .field textarea:focus { background: #fff; }
.bk-hint { margin: -8px 0 0; }
.pill-checks, .seg { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.pill-checks input, .seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill-checks span, .seg span { display: inline-block; padding: 8px 16px; border-radius: 999px; background: #f3f0f9; border: 1px solid #e4def0; color: var(--ink); font-size: .9rem; font-weight: 500; cursor: pointer; }
.pill-checks input:checked + span, .seg input:checked + span { background: var(--teal); border-color: var(--teal); color: var(--plum); }
.pill-checks input:focus-visible + span, .seg input:focus-visible + span { outline: 2px solid var(--purple); outline-offset: 2px; }
.bk-submit { text-align: center; margin-top: 18px; }
.bk-submit p { color: var(--muted); font-size: .92rem; margin: 14px 0 0; }
.bk-btn { display: inline-block; border: 0; border-radius: 999px; background: var(--teal); color: var(--plum); font: 500 1.05rem var(--font); padding: 14px 32px; cursor: pointer; text-decoration: none; }
.bk-btn:hover { background: #5fd3cf; }
.bk-done { text-align: center; padding: 20px 0; }
.bk-done p { font-size: 1.1rem; margin: 0 0 22px; }
.bk-done-icon { width: 56px; height: 56px; margin: 0 auto 16px !important; border-radius: 50%; background: var(--teal); color: var(--plum); display: grid; place-items: center; font-size: 1.6rem !important; }
@media (max-width: 640px) { .bk { padding: 56px 12px 64px; } .bk-card { padding: 26px 18px 30px; } }
/* Pop-up version of the form */
.modal .bk-sec { font-size: .85rem; }

/* ---- Media Plan in the booking style */
.mp-bk .bk-head .mp-back { margin: 0 0 18px; }
.mp-bk .bk-head .mp-back a { color: #d9d0ea; }
.mp-bk .bk-head .mp-back a:hover { color: #fff; }
.mp-bk .mp-draft { font-size: .92rem !important; color: #cfc4e4; margin-top: 12px !important; }
.mp-bk .bk-card { max-width: 820px; }
.mp-bk .mp-form { margin: 0; gap: 0; }
.mp-bk .mp-sec { background: none; border: 0; border-radius: 0; padding: 26px 0; border-top: 1px solid var(--line); }
.mp-bk .mp-sec:first-child { border-top: 0; padding-top: 0; }
.mp-bk .mp-sec h2 { font-family: var(--font); font-weight: 500; text-transform: uppercase; letter-spacing: .08em; font-size: .95rem; }
.mp-bk .mp-sec h2 .m-num { color: var(--teal); }
.mp-bk .field > span { font-family: var(--font); font-weight: 500; color: #4a4155; }
.mp-bk .field input, .mp-bk .field textarea { background: #f3f0f9; border: 1px solid #e4def0; border-radius: 8px; }
.mp-bk .field input:focus, .mp-bk .field textarea:focus { background: #fff; }
.mp-bk .p-row { background: #faf8fd; border-color: #e4def0; }
.mp-bk .mp-actions { justify-content: center; border-top: 1px solid var(--line); padding-top: 24px; }
.mp-bk .mp-actions [data-pdf-plan] { background: var(--teal); border-color: var(--teal); color: var(--plum); border-radius: 999px; font-family: var(--font); font-weight: 500; padding: 13px 28px; }
.mp-bk .mp-actions .btn-ghost:not(.mp-clear) { border-radius: 999px; }
.mp-bk .mp-clear { margin-left: 0; }
.mp-bk .mp-status { flex-basis: 100%; text-align: center; }
@media (max-width: 899px) { .mp-bk .mp-actions { background: #fff; } }
.mp.mp-bk { max-width: none; margin: 0 calc(50% - 50vw); padding-top: 64px; }
.mp-bk .two { align-items: start; }

/* Hero count stickers (die-cut style) */
.sticker { position: absolute; z-index: 2; display: flex; flex-direction: column; align-items: center; line-height: 1; padding: 10px 16px 9px; border: 5px solid #fff; border-radius: 20px; font-family: Ultra, Georgia, serif; font-size: .82rem; letter-spacing: .01em; white-space: nowrap; color: var(--plum); box-shadow: 0 3px 0 rgba(0, 0, 0, .12), 0 14px 30px rgba(10, 5, 20, .45); animation: sticker-float 6s ease-in-out infinite; }
.sticker strong { font-size: 2.1rem; font-weight: 400; line-height: .95; -webkit-text-stroke: 1px currentColor; }
.sticker.s1 { top: 2%; left: 0; background: var(--teal); --r: -8deg; transform: rotate(var(--r)); }
.sticker.s2 { top: 38%; right: -3%; background: #c9b8ef; --r: 6deg; transform: rotate(var(--r)); animation-delay: -2s; }
.sticker.s3 { bottom: 2%; left: 18%; background: #ffd86b; --r: -4deg; transform: rotate(var(--r)); animation-delay: -4s; }
@keyframes sticker-float { 0%, 100% { transform: translateY(0) rotate(var(--r)); } 50% { transform: translateY(-8px) rotate(var(--r)); } }
@media (prefers-reduced-motion: reduce) { .sticker { animation: none; } }
@media (max-width: 979px) { .sticker { font-size: .66rem; padding: 7px 11px 6px; border-width: 4px; border-radius: 16px; } .sticker strong { font-size: 1.5rem; } .sticker.s2 { right: 0; } }

/* ---- Outlet info card: About + Advertising contact */
.outlet-info { max-width: 1120px; margin: 48px auto 0; }
.oc-card { display: grid; background: #faf8fd; border: 1px solid var(--line); border-radius: 18px; padding: 28px 30px; }
@media (min-width: 760px) { .oc-card { grid-template-columns: 1.1fr 1fr; } .oc-contact { border-left: 1px solid var(--line); padding-left: 32px; margin-left: 32px; } }
@media (max-width: 759px) { .oc-contact { border-top: 1px solid var(--line); padding-top: 22px; margin-top: 22px; } .oc-card { padding: 22px 20px; } }
.oc-col h2 { font-size: 1.45rem; margin: 0 0 12px; letter-spacing: -.01em; }
.oc-col p { margin: 0 0 8px; font-size: 1.08rem; }
.oc-desc { color: #5b5266; font-size: 1rem !important; }
.oc-lead { font-size: 1.15rem !important; }
.oc-fact strong { margin-left: 6px; }
.oc-muted { color: var(--muted); font-size: 1rem !important; }
.oc-contact ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.oc-contact li { display: flex; align-items: center; gap: 16px; font-size: 1.1rem; min-width: 0; }
.oc-contact li .icon { width: 24px; height: 24px; color: #1f8f8a; flex: none; }
.oc-contact li span { min-width: 0; overflow-wrap: anywhere; }
.oc-contact a { color: var(--ink); text-decoration: underline dotted; text-underline-offset: 5px; }
.oc-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px 24px; flex-wrap: wrap; margin-top: 16px; color: var(--muted); font-size: .95rem; }
.oc-foot p { margin: 0; }
.oc-links { display: flex; align-items: center; gap: 14px; }
.oc-links .link-btn { color: var(--ink); }
.oc-sep { color: var(--line); }
.oc-suggest { color: #1f8f8a; font-weight: 500; }
.oc-col .oc-lead { font-size: 1.35rem !important; font-weight: 500; margin-bottom: 6px; }
.oc-col .oc-fact { font-size: .95rem !important; color: var(--muted); margin-bottom: 4px; }
.oc-col .oc-fact strong { color: var(--ink); }
.outlet-info { margin-bottom: 56px; }

/* About page: use the homepage type system */
.ab em { font-family: inherit; font-style: normal; color: var(--teal); letter-spacing: inherit; }
.ab .hero-title.ab-title { font-size: clamp(2.8rem, 7vw, 5rem); margin-bottom: 18px; }
.ab .ab-sub { margin: 0; }
.ab .ab-hero-row { align-items: flex-end; }
.ab .ab-ctas { align-items: center; gap: 14px 28px; }
.ab .ab-h2 { font-family: Anton, "Arial Narrow", Impact, sans-serif; font-weight: 400; text-transform: uppercase; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: .95; letter-spacing: .005em; }
.ab-light .ab-h2 { color: var(--plum); }
.ab-light .ab-h2 em { color: #1f9f9a; }
.ab-light .eyebrow-dark { margin: 0 0 14px; }
.ab .eyebrow { color: var(--hero-muted); }
.ab-glass .ab-glass-eyebrow { color: #fff; margin-bottom: 18px; }
.ab-link-dark { color: var(--plum); }
.ab .hero-title.ab-title { font-family: Anton, "Arial Narrow", Impact, sans-serif; font-weight: 400; text-transform: uppercase; line-height: .92; letter-spacing: .005em; }
.sticker.s3 { background: #f6f4f9; }
.ab-visual-inner { position: relative; width: min(880px, 100%); margin: 0 auto; }
.ab-visual-inner img { width: 100%; }
.ab-visual .sticker.s1 { top: 6%; left: 4%; }
.ab-visual .sticker.s2 { top: 40%; right: 2%; }
.ab-visual .sticker.s3 { bottom: 6%; left: 20%; }
@media (max-width: 560px) { .ab-visual .sticker { font-size: .55rem; padding: 5px 9px 4px; border-width: 3px; border-radius: 12px; } .ab-visual .sticker strong { font-size: 1.15rem; } .ab-visual .sticker.s1 { top: -4%; left: 0; } .ab-visual .sticker.s2 { top: auto; bottom: -6%; right: 0; } .ab-visual .sticker.s3 { bottom: -6%; left: 4%; } .ab-visual { padding: 32px 12px 40px; } }
.icon-btn.in-plan { color: #fff; background: var(--teal); } .icon-btn.in-plan:hover { background: #2fa9a4; }

/* One type system everywhere: Anton headlines, Instrument Sans for everything else */
.bk em, .ab em { font-family: inherit; font-style: normal; }
.bk-head .ab-title { font-family: Anton, "Arial Narrow", Impact, sans-serif; font-weight: 400; text-transform: uppercase; line-height: .92; letter-spacing: .005em; }
.bk-sec, .mp-bk .mp-sec h2 { font-weight: 700; letter-spacing: .14em; font-size: .8rem; }
.bk-form .field > span, .mp-bk .field > span { font-weight: 600; }
.bk-btn, .mp-bk .mp-actions [data-pdf-plan] { font-family: var(--font); font-weight: 600; background: linear-gradient(100deg, var(--teal), #7fd8d2); }
.sticker { font-family: var(--font); font-weight: 700; letter-spacing: .02em; text-transform: uppercase; font-size: .72rem; }
.sticker strong { font-family: Anton, "Arial Narrow", Impact, sans-serif; font-weight: 400; -webkit-text-stroke: 0; font-size: 2.3rem; }
@media (max-width: 979px) { .sticker { font-size: .6rem; } .sticker strong { font-size: 1.6rem; } }
@media (max-width: 560px) { .ab-visual .sticker strong { font-size: 1.2rem; } .ab-visual .sticker { font-size: .5rem; } }
button, input, select, textarea { font-family: inherit; }
.ab-orbyt { background: radial-gradient(800px 420px at 100% 0%, rgba(62, 198, 193, .22), transparent 65%), var(--plum-deep); padding: 88px 0; }
.ab-offer { margin-top: 26px; padding: 22px 24px; border-radius: 16px; background: rgba(246, 244, 249, .06); border: 1px solid rgba(246, 244, 249, .16); }
.ab-offer-title { font-size: 1.15rem !important; font-weight: 600; margin: 0 0 16px !important; }
.ab-offer-title strong { color: var(--teal); }
.ab-code strong { margin-left: 4px; letter-spacing: .04em; }
@media (max-width: 640px) { .ab-orbyt { padding: 64px 0; } }
.ab .ab-copy .btn-hero { color: var(--plum); text-decoration: none; }
@media (min-width: 860px) { .ab-split .ab-split-row, .ab-orbyt .ab-split-row { align-items: start; } }
.oc-foot > p:first-child { font-size: .74rem; color: var(--muted); opacity: .85; }
.ab-visual { background: #4a3962; } .ab-visual-inner { width: min(1100px, 100%); } .ab-visual-inner img { border-radius: 18px; display: block; }

/* About: "Where the information comes from" (image left, text right on white) */
.ab-sources { background: #fff; color: var(--ink); padding: 96px 0; }
.ab-sources-row { display: grid; gap: 40px; align-items: center; }
@media (min-width: 860px) { .ab-sources-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 72px; } }
.ab-sources-art { aspect-ratio: 2 / 3; max-height: 560px; border-radius: 14px; overflow: hidden; display: grid; place-items: center;
  background: radial-gradient(60% 45% at 20% 15%, rgba(140, 110, 220, .75), transparent 70%), radial-gradient(55% 45% at 85% 35%, rgba(240, 170, 220, .7), transparent 70%), radial-gradient(60% 50% at 35% 85%, rgba(62, 198, 193, .65), transparent 70%), radial-gradient(50% 40% at 90% 90%, rgba(190, 220, 255, .8), transparent 70%), #e7defa; }
.ab-sources-art svg { width: 82%; height: auto; filter: drop-shadow(0 20px 30px rgba(84, 62, 141, .3)); }
.ab-sources .eyebrow-dark { margin: 0 0 16px; color: var(--plum); }
.ab-sources .ab-h2 { color: var(--plum); margin-bottom: 26px; }
.ab-sources .ab-h2 em { color: #1f9f9a; }
.ab-sources-copy p:not(.eyebrow-dark) { color: #2c2333; font-size: 1.08rem; line-height: 1.6; margin: 0 0 14px; }
@media (max-width: 859px) { .ab-sources { padding: 64px 0; } .ab-sources-art { max-height: 420px; width: min(320px, 100%); margin: 0 auto; } }
/* Contribute section alternates: image on the right */
@media (min-width: 860px) { .ab-light-row > .ab-sizes { order: 2; } .ab-light { background: #f6f4f9; } }
.ab-visual { background: radial-gradient(700px 420px at 92% 0%, rgba(140, 110, 200, .55), transparent 70%), radial-gradient(600px 420px at 0% 100%, rgba(84, 62, 141, .7), transparent 70%), var(--plum); padding: 48px 16px; } .ab-visual-inner img { border-radius: 0; filter: drop-shadow(0 30px 40px rgba(10, 5, 20, .45)); }

/* ---- About: header-width margins */
.ab-inner { max-width: 1240px; }
.ab-visual-inner { width: min(1208px, 100%); }

/* ---- About: images */
.ab-map { width: 100%; height: auto; display: block; }
.ab-visual-inner img.ab-map { filter: none; }
.ab-panels { border-radius: 18px; overflow: hidden; box-shadow: 0 30px 60px rgba(84, 62, 141, .25); }
.ab-panels img { width: 100%; height: auto; display: block; }
@media (max-width: 859px) { .ab-panels { width: min(360px, 100%); margin: 0 auto; } }

/* ---- About: motion */
@media (prefers-reduced-motion: no-preference) {
  .ab-hero .eyebrow, .ab-hero .ab-title, .ab-hero .ab-sub, .ab-hero .ab-ctas { animation: ab-rise .9s cubic-bezier(.2, .7, .2, 1) both; }
  .ab-hero .ab-title { animation-delay: .08s; }
  .ab-hero .ab-sub { animation-delay: .22s; }
  .ab-hero .ab-ctas { animation-delay: .34s; }
  .ab-hero .ab-title em { display: inline-block; background: linear-gradient(90deg, var(--teal), #a99cf0, #7fd8d2, var(--teal)); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: ab-sheen 8s linear infinite; }
  .ab-map { animation: ab-float 7s ease-in-out infinite; }
  .ab-visual .sticker { animation: ab-pop .7s cubic-bezier(.3, 1.6, .5, 1) both, sticker-float 6s ease-in-out .7s infinite; }
  .ab-visual .sticker.s1 { animation-delay: .3s, 1s; }
  .ab-visual .sticker.s2 { animation-delay: .5s, 1.2s; }
  .ab-visual .sticker.s3 { animation-delay: .7s, 1.4s; }
  .ab-sources-art { background-size: 160% 160%; animation: ab-drift 14s ease-in-out infinite alternate; }
  .ab-sources-art svg { animation: ab-float 6s ease-in-out infinite; }
  .ab-panels img { animation: ab-breathe 9s ease-in-out infinite; transform-origin: 50% 60%; }
  .js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
  .js [data-reveal].in { opacity: 1; transform: none; }
  .js [data-reveal] [data-reveal] { transition-delay: .12s; }
  .js .ab-split-row > [data-reveal]:nth-child(2), .js .ab-sources-row > [data-reveal]:nth-child(2), .js .ab-light-row > div:nth-child(2) { transition-delay: .15s; }
  .ab-statement .w { opacity: .18; transition: opacity .25s linear; }
  .ab-statement .w.on { opacity: 1; }
  .ab-orbyt .btn-hero { position: relative; overflow: hidden; }
  .ab-orbyt .btn-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .6) 50%, transparent 70%); transform: translateX(-120%); animation: ab-shine 3.5s ease-in-out 1s infinite; }
}
@keyframes ab-rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes ab-sheen { to { background-position: 300% 0; } }
@keyframes ab-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes ab-pop { from { opacity: 0; transform: scale(.4) rotate(var(--r)); } to { opacity: 1; transform: scale(1) rotate(var(--r)); } }
@keyframes ab-drift { from { background-position: 0% 0%; } to { background-position: 100% 100%; } }
@keyframes ab-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.045) rotate(-.6deg); } }
@keyframes ab-shine { 0%, 60% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.ab-visual { background: #fff; padding: 56px 16px 40px; }
@media (min-width: 860px) { .ab-light-row > .ab-panels { order: 2; } }
.ab-visual .sticker.s3 { background: var(--plum); color: #fff; }
/* Map band: back to the purple gradient */
.ab-visual { background: radial-gradient(900px 520px at 100% 0%, rgba(150, 115, 210, .7), transparent 65%), radial-gradient(800px 520px at 0% 100%, rgba(84, 62, 141, .85), transparent 65%), linear-gradient(160deg, #241a3a, #2c1f45 55%, #3a2a5c); padding: 56px 16px 48px; }
.ab-visual-inner img.ab-map { filter: drop-shadow(0 34px 40px rgba(10, 5, 20, .55)); }
.ab-visual .sticker.s3 { background: #f6f4f9; color: var(--plum); }
.ab-light-row > .ab-panels { width: 50%; justify-self: center; } @media (max-width: 859px) { .ab-light-row > .ab-panels { width: min(220px, 60%); } }
.ab-sources-row > .ab-panels { width: 50%; justify-self: center; } @media (max-width: 859px) { .ab-sources-row > .ab-panels { width: min(220px, 60%); } }
.ab-visual-inner img.ab-map { filter: none; }
.ab-visual-inner img.ab-map { filter: drop-shadow(0 34px 40px rgba(10, 5, 20, .55)); }

/* About › Orbyt offer: two matching pill buttons side by side; the code button shows the copy icon + code only */
.ab-offer .ab-ctas { flex-wrap: nowrap; gap: 12px; align-items: center; }
.ab-offer .btn-hero { padding: 13px 22px; white-space: nowrap; }
.ab-code { border: 0; cursor: pointer; font: inherit; font-weight: 600; letter-spacing: .04em; }
.ab-code.copied { filter: none; }
@media (max-width: 560px) { .ab-offer .ab-ctas { flex-wrap: wrap; } }

/* Hover feedback on every button and button-style link */
.btn, .btn-hero, .nav-cta, .bk-btn, .btn-pill, .pill-select select, .chip, .chip-btn, .icon-btn, .p-remove, .promo-bar-copy, .ab-pill, .link-btn, .hero-link, .menu-btn, .facet-opt {
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, filter .15s ease, transform .15s ease, box-shadow .15s ease; }
.btn-hero:hover, .nav-cta:hover, .bk-btn:hover { filter: brightness(1.08); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(62, 198, 193, .3); }
.btn:not(.btn-ghost):hover { transform: translateY(-1px); }
.btn-danger:hover { background: #912018; border-color: #912018; filter: none; }
.hero-link:hover, .m-cta .hero-link:hover { border-bottom-color: currentColor; opacity: .85; }
.menu-btn:hover { color: var(--teal); }
.link-btn:hover, .oc-links .link-btn:hover { color: var(--accent); }
.promo-bar-copy:hover { transform: translateY(-1px); }
@media (prefers-reduced-motion: reduce) { .btn:hover, .btn-hero:hover, .nav-cta:hover, .bk-btn:hover, .promo-bar-copy:hover { transform: none; } }
.card-audience { font-weight: 600; color: var(--ink); }
.size-reach { margin: 6px 0 0; font-size: .92rem; color: var(--muted); }
.size-reach strong { color: var(--ink); }

/* Mobile hero: calmer spacing, smaller type, one-line CTAs, tighter image crop */
@media (max-width: 640px) {
  .hero-band { padding: 44px 16px 60px; }
  .hero { gap: 8px; }
  .eyebrow { font-size: .6rem; letter-spacing: .16em; margin-bottom: 8px; }
  .hero-title { font-size: clamp(2.3rem, 11vw, 2.9rem); margin-bottom: 14px; }
  .hero-lede { font-size: .95rem; line-height: 1.55; margin-bottom: 22px; }
  .hero-actions { flex-wrap: nowrap; gap: 12px; justify-content: space-between; }
  .hero-actions .btn-hero { padding: 12px 18px; gap: 8px; font-size: .9rem; white-space: nowrap; }
  .hero-actions .hero-link { font-size: .88rem; white-space: nowrap; }
  .hero-visual { max-width: 420px; margin: 0 auto; }
  .hero-visual img { aspect-ratio: 2 / 1; object-position: 50% 55%;
    -webkit-mask-image: radial-gradient(ellipse 52% 50% at 50% 50%, #000 70%, transparent 100%);
    mask-image: radial-gradient(ellipse 52% 50% at 50% 50%, #000 70%, transparent 100%); }
}
@media (max-width: 360px) { .hero-actions { flex-wrap: wrap; } }

/* Mobile/tablet hero: centered, image between the title and the intro */
@media (max-width: 640px) {
  .hero { gap: 0; text-align: center; justify-items: center; }
  .hero-copy { display: contents; }
  .hero .eyebrow { order: 1; }
  .hero-title { order: 2; margin-bottom: 0; text-wrap: balance; }
  .hero-visual { order: 3; width: 100%; max-width: 340px; margin: 4px auto 6px; }
  .hero-lede { order: 4; margin-inline: auto; }
  .hero-actions { order: 5; justify-content: center; }
  .hero-stat { order: 6; }
}
@media (max-width: 640px) {
  .hero-actions { justify-content: center; gap: 12px; }
  .hero-visual { max-width: none; width: calc(100% + 32px); margin: 14px -16px 14px; }
  .hero-visual img { aspect-ratio: 16 / 10; }
}
@media (max-width: 640px) { .hero-lede { padding-inline: 16px; margin: 10px auto 26px; } }
/* Filters button: never squeezed or wrapped; shares the row with search */
.browse-bar .btn-pill { flex: 0 0 auto; white-space: nowrap; }
.browse-bar .search-wide { flex: 1 1 0; min-width: 0; }
@media (max-width: 600px) { .browse-bar { flex-wrap: nowrap; } .browse-bar .btn-pill { max-width: none; padding: 0 16px; } }
/* Phones: Orbyt strip as one short row, text left, code button right */
@media (max-width: 600px) {
  .promo-bar { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 12px; padding: 10px 12px 10px 16px; text-align: left; }
  .promo-bar-brand { grid-column: 1; grid-row: 1; font-size: .95rem; }
  .promo-bar-offer { grid-column: 1; grid-row: 2; flex-basis: auto; text-align: left; font-size: .85rem; }
  .promo-bar-copy { grid-column: 2; grid-row: 1 / span 2; padding: 6px 12px; font-size: .9rem; }
}
/* Search box matches the Filters pill height */
.browse-bar .search-wide input { height: 50px; padding-top: 0; padding-bottom: 0; box-sizing: border-box; }
@media (max-width: 600px) { .browse-bar .search-wide input { height: 44px; } }
/* Logos: absolute centering so every browser (incl. Safari) puts them dead-centre */
.logo { position: relative; }
.logo img { position: absolute; inset: 0; margin: auto; width: auto; height: auto; }

/* About › map band: badges sit on the map; 3D tilt, light sweep, depth drift */
.ab-visual { overflow: hidden; }
.ab-visual-inner { perspective: 1400px; }
.ab-map-stage { position: relative; transform-style: preserve-3d; transform: rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)); transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.ab-map-sheen { position: absolute; inset: 0; pointer-events: none; -webkit-mask: url(/static/about-map-light.webp) center / 100% 100% no-repeat; mask: url(/static/about-map-light.webp) center / 100% 100% no-repeat;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .55) 47%, rgba(190, 255, 245, .45) 50%, rgba(255, 200, 250, .4) 53%, transparent 65%) 0 0 / 300% 100% no-repeat; background-position: 150% 0; mix-blend-mode: soft-light; opacity: .9; }
.ab-visual .sticker { --dx: 0px; --dy: 0px; translate: var(--dx) var(--dy); transition: translate .5s cubic-bezier(.2, .7, .2, 1); }
.ab-visual .sticker.s1 { top: 22%; left: 13%; }
.ab-visual .sticker.s2 { top: 30%; right: 9%; }
.ab-visual .sticker.s3 { bottom: 16%; left: 34%; }
.ab-visual .sticker:hover { animation-play-state: paused; scale: 1.08; }
@media (max-width: 640px) {
  .ab-visual .sticker { font-size: .62rem; padding: 6px 10px 6px; border-width: 3px; border-radius: 13px; }
  .ab-visual .sticker strong { font-size: 1.35rem; }
  .ab-visual .sticker.s1 { top: 16%; left: 8%; }
  .ab-visual .sticker.s2 { top: 32%; bottom: auto; right: 4%; }
  .ab-visual .sticker.s3 { top: auto; bottom: 12%; left: 30%; }
  .ab-visual { padding: 40px 12px 44px; }
}
@media (prefers-reduced-motion: no-preference) {
  .ab-map { animation: ab-float 7s ease-in-out infinite, ab-hue 12s ease-in-out infinite; }
  .ab-map-sheen { animation: ab-float 7s ease-in-out infinite, ab-sweep 5s cubic-bezier(.5, 0, .3, 1) 1.2s infinite; }
}
@keyframes ab-hue { 0%, 100% { filter: drop-shadow(0 34px 40px rgba(10, 5, 20, .55)) hue-rotate(0deg) saturate(1); } 50% { filter: drop-shadow(0 34px 40px rgba(10, 5, 20, .55)) hue-rotate(-28deg) saturate(1.25); } }
@keyframes ab-sweep { 0% { background-position: 150% 0; } 55%, 100% { background-position: -50% 0; } }

/* About › Orbyt offer: code button in lavender so it reads apart from the teal CTA */
.ab-offer .ab-code { background: linear-gradient(90deg, #b9a5ec, #d6c9f6); color: var(--plum); }
.ab-offer .ab-code:hover { background: linear-gradient(90deg, #c6b5f1, #e2d8fa); }

/* Orbyt strip: "Learn more" link to the About page's Why I built Orbyt section */
.promo-bar-more { color: #b9aed1; font-weight: 600; font-size: .95rem; text-decoration: none; white-space: nowrap; }
.promo-bar-more:hover { color: var(--teal); }
.promo-bar-more span { display: inline-block; transition: transform .2s; }
.promo-bar-more:hover span { transform: translateX(3px); }
#why-orbyt { scroll-margin-top: 80px; }
@media (max-width: 600px) {
  .promo-bar-more { grid-column: 1; grid-row: 1; justify-self: end; font-size: .8rem; }
}

/* Phones: Orbyt strip. Left: brand over offer (one line). Right: code button over "Learn more". */
@media (max-width: 600px) {
  .promo-bar { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 12px 14px 12px 16px; }
  .promo-bar-brand { grid-column: 1; grid-row: 1; align-self: end; font-size: 1.45rem; letter-spacing: -.01em; line-height: 1.1; }
  .promo-bar-offer { grid-column: 1; grid-row: 2; align-self: start; white-space: nowrap; font-size: clamp(.74rem, 3.5vw, .85rem); }
  .promo-bar-copy { grid-column: 2; grid-row: 1; align-self: end; justify-self: stretch; justify-content: center; }
  .promo-bar-more { grid-column: 2; grid-row: 2; align-self: start; justify-self: center; font-size: .75rem; }
}
