/*
 * CanadianPick — public-facing styles
 */

:root {
  --ink: #111827;
  --muted: #6b7280;
  --faint: #9ca3af;
  --line: #e5e7eb;
  --bg: #fafafa;
  --card: #ffffff;
  --maple: #dc2626;
  --maple-soft: #fef2f2;
  --green: #059669;
  --green-bg: #ecfdf5;
  --red: #dc2626;
  --amber: #d97706;
  --radius: 10px;
  --shadow: 0 14px 40px rgba(17, 24, 39, .08);
}

* { box-sizing: border-box; margin: 0; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
}
a { color: inherit; }
img { max-width: 100%; }

/* ---- Header ---- */
.site-header {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}
.site-header .inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: .75rem 1rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.site-header .brand {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 800;
  font-size: 1.15rem;
  text-decoration: none;
  white-space: nowrap;
}
.brand-icon { flex-shrink: 0; color: var(--maple); }
.site-header .brand .maple { color: var(--maple); }
.site-header .tag {
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.3;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-left: auto;
}
.site-nav a {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
}
.site-nav a:hover { color: var(--ink); }
.site-header .header-cta {
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .site-header .inner { flex-wrap: wrap; }
  .site-header .tag { display: none; }
  .site-nav { order: 3; width: 100%; margin-left: 0; }
  .site-header .header-cta { margin-left: auto; }
}

/* ---- Wrap ---- */
.wrap { max-width: 1440px; margin: 0 auto; padding: 1.25rem 1rem 3rem; scroll-margin-top: 5rem; }

/* ---- Weekly editorial guides ---- */
.editorial-hero {
  background: #111827;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.editorial-hero-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 1.25rem 1rem 2rem;
}
.editorial-hero .breadcrumbs {
  margin-bottom: 2rem;
  color: rgba(255,255,255,.62);
}
.editorial-hero .breadcrumbs a { color: rgba(255,255,255,.78); }
.editorial-hero .eyebrow {
  color: #fca5a5;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .5rem;
}
.editorial-hero h1 {
  max-width: 760px;
  font-size: 2.35rem;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.08;
  margin-bottom: .75rem;
}
.editorial-intro {
  max-width: 720px;
  color: rgba(255,255,255,.78);
  font-size: 1rem;
}
.editorial-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem .85rem;
  margin-top: 1.25rem;
  color: rgba(255,255,255,.64);
  font-size: .84rem;
}
.editorial-meta span {
  display: inline-flex;
  align-items: center;
}
.editorial-meta span + span::before {
  content: "";
  width: .28rem;
  height: .28rem;
  border-radius: 999px;
  background: rgba(255,255,255,.35);
  margin-right: .85rem;
}
.editorial-wrap { padding-top: 1.5rem; }
.editorial-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .85rem;
  margin-bottom: 1.25rem;
}
.editorial-notes article {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 8px;
  padding: 1rem;
}
.editorial-notes h2 {
  font-size: .98rem;
  line-height: 1.25;
  margin-bottom: .35rem;
}
.editorial-notes p {
  color: var(--muted);
  font-size: .9rem;
}
.editorial-results {
  align-items: center;
  gap: .75rem;
}
.editorial-day { margin-bottom: 1.75rem; }
.day-header {
  display: flex;
  align-items: baseline;
  gap: .5rem;
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: .75rem;
  padding-bottom: .45rem;
  border-bottom: 2px solid var(--ink);
}
.day-count {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 700;
}
.editorial-related .related-group { margin-bottom: .85rem; }
.editorial-related .related-group h3 {
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .4rem;
}
.guide-group { margin-bottom: 2rem; }
.guide-group > h2 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: .85rem;
}
.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: .85rem;
}
.guide-card {
  display: block;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 8px;
  padding: 1rem;
  color: inherit;
  text-decoration: none;
  transition: border-color .12s ease, box-shadow .12s ease;
}
.guide-card:hover {
  border-color: #d1d5db;
  box-shadow: 0 2px 10px rgba(17,24,39,.06);
}
.guide-card h3 {
  font-size: 1rem;
  line-height: 1.3;
  margin-bottom: .4rem;
}
.guide-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .75rem;
  color: var(--muted);
  font-size: .84rem;
}

@media (max-width: 760px) {
  .editorial-hero-inner { padding: 1rem .75rem 1.5rem; }
  .editorial-hero .breadcrumbs { margin-bottom: 1.25rem; }
  .editorial-hero h1 { font-size: 1.6rem; line-height: 1.15; }
  .editorial-intro { font-size: .94rem; }
  .editorial-notes { grid-template-columns: 1fr; }
  .day-header { font-size: 1.05rem; }
  .guide-grid { grid-template-columns: 1fr 1fr; }
}

/* ---- Activity topic pages ---- */
.topic-hero {
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(ellipse 80% 70% at 12% 20%, rgba(255,255,255,.14), transparent 55%),
    linear-gradient(145deg, #1e3a5f 0%, #0f2744 55%, #16324f 100%);
}
.topic-page--bowling .topic-hero {
  background:
    radial-gradient(ellipse 70% 60% at 85% 15%, rgba(251,191,36,.22), transparent 50%),
    linear-gradient(150deg, #3b1d0f 0%, #1a0f0a 50%, #2c1810 100%);
}
.topic-page--climbing .topic-hero {
  background:
    radial-gradient(ellipse 70% 60% at 10% 80%, rgba(74,222,128,.18), transparent 50%),
    linear-gradient(155deg, #14532d 0%, #052e16 55%, #166534 100%);
}
.topic-page--table-tennis .topic-hero {
  background:
    radial-gradient(ellipse 70% 60% at 90% 70%, rgba(56,189,248,.2), transparent 50%),
    linear-gradient(148deg, #0c4a6e 0%, #082f49 55%, #075985 100%);
}
.topic-page--chinese-food .topic-hero {
  background:
    radial-gradient(ellipse 70% 60% at 15% 30%, rgba(248,113,113,.22), transparent 50%),
    linear-gradient(150deg, #7f1d1d 0%, #450a0a 55%, #991b1b 100%);
}
.topic-page--indian-food .topic-hero {
  background:
    radial-gradient(ellipse 70% 60% at 80% 20%, rgba(251,146,60,.25), transparent 50%),
    linear-gradient(152deg, #9a3412 0%, #431407 55%, #c2410c 100%);
}
.topic-page--thai-food .topic-hero {
  background:
    radial-gradient(ellipse 70% 60% at 20% 80%, rgba(74,222,128,.2), transparent 50%),
    linear-gradient(148deg, #14532d 0%, #052e16 50%, #166534 100%);
}
.topic-page--pizza .topic-hero {
  background:
    radial-gradient(ellipse 70% 60% at 85% 40%, rgba(251,191,36,.22), transparent 50%),
    linear-gradient(155deg, #78350f 0%, #451a03 55%, #92400e 100%);
}
.topic-page--sushi .topic-hero {
  background:
    radial-gradient(ellipse 70% 60% at 10% 40%, rgba(148,163,184,.2), transparent 50%),
    linear-gradient(150deg, #1e293b 0%, #0f172a 55%, #334155 100%);
}
.topic-hero-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 1.25rem 1rem 2rem;
}
.topic-hero .breadcrumbs {
  margin-bottom: 1.5rem;
  color: rgba(255,255,255,.62);
}
.topic-hero .breadcrumbs a { color: rgba(255,255,255,.78); }
.topic-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(14rem, 20rem);
  gap: 1.5rem 2.5rem;
  align-items: end;
}
.topic-hero .eyebrow {
  color: #fde68a;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .5rem;
}
.topic-page--climbing .topic-hero .eyebrow { color: #bbf7d0; }
.topic-page--table-tennis .topic-hero .eyebrow { color: #bae6fd; }
.topic-page--chinese-food .topic-hero .eyebrow { color: #fecaca; }
.topic-page--indian-food .topic-hero .eyebrow { color: #fed7aa; }
.topic-page--thai-food .topic-hero .eyebrow { color: #bbf7d0; }
.topic-page--pizza .topic-hero .eyebrow { color: #fde68a; }
.topic-page--sushi .topic-hero .eyebrow { color: #e2e8f0; }
.topic-hero h1 {
  max-width: none;
  font-size: clamp(1.85rem, 3.2vw, 2.55rem);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.08;
  margin-bottom: .75rem;
}
.topic-intro {
  max-width: 42rem;
  color: rgba(255,255,255,.78);
  font-size: 1rem;
}
.topic-hero-aside {
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.18);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.topic-hero-stat {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.topic-hero-stat strong {
  font-size: 1.35rem;
  font-weight: 850;
  line-height: 1.15;
}
.topic-hero-stat span {
  color: rgba(255,255,255,.68);
  font-size: .84rem;
}
.topic-hero-refreshed {
  color: rgba(255,255,255,.55);
  font-size: .8rem;
  margin: 0;
}
.topic-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}
.topic-hero-actions .btn {
  background: #fff;
  color: #111;
  border-color: #fff;
}
.topic-hero-actions .btn.outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.45);
}
.topic-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem .85rem;
  margin-top: 1.25rem;
  color: rgba(255,255,255,.64);
  font-size: .84rem;
}
.topic-meta span {
  display: inline-flex;
  align-items: center;
}
.topic-meta span + span::before {
  content: "";
  width: .28rem;
  height: .28rem;
  border-radius: 999px;
  background: rgba(255,255,255,.35);
  margin-right: .85rem;
}
.topic-wrap { padding-top: 1.5rem; }
.topic-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .85rem;
  margin-bottom: 1.25rem;
}
.topic-notes article {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 8px;
  padding: 1rem;
}
.topic-notes h2 {
  font-size: .98rem;
  line-height: 1.25;
  margin-bottom: .35rem;
}
.topic-notes p {
  color: var(--muted);
  font-size: .9rem;
}
.topic-results {
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
}
.topic-venue-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}
.topic-venue-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(11rem, 14rem);
  gap: 1rem 1.25rem;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 10px;
  padding: 1rem 1.1rem;
}
.topic-venue-main {
  display: flex;
  gap: .9rem;
  min-width: 0;
}
.topic-venue-logo {
  flex: 0 0 4.25rem;
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 8px;
  background: #f3f4f6;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.topic-venue-logo.logo-dark { background: #111827; }
.topic-venue-logo img {
  max-width: 85%;
  max-height: 85%;
  object-fit: contain;
}
.topic-venue-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .65rem;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: .3rem;
}
.topic-venue-copy h2 {
  font-size: 1.15rem;
  line-height: 1.25;
  margin-bottom: .35rem;
}
.topic-venue-copy h2 a {
  color: inherit;
  text-decoration: none;
}
.topic-venue-copy h2 a:hover { text-decoration: underline; }
.topic-venue-facts {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .75rem;
  color: var(--muted);
  font-size: .88rem;
  margin-bottom: .4rem;
}
.topic-venue-address {
  font-size: .9rem;
  margin-bottom: .75rem;
}
.topic-venue-address a { color: var(--ink); }
.topic-venue-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}
.topic-venue-hours h3 {
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .45rem;
}
.topic-venue-hours table {
  width: 100%;
  font-size: .8rem;
  border-collapse: collapse;
}
.topic-venue-hours th {
  text-align: left;
  font-weight: 700;
  padding: .15rem .4rem .15rem 0;
  width: 2.4rem;
  color: var(--muted);
}
.topic-venue-hours td {
  padding: .15rem 0;
  color: var(--ink);
}
.topic-venue-hours tr.is-today th,
.topic-venue-hours tr.is-today td {
  color: var(--ink);
  font-weight: 800;
}
.topic-bottom-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(16rem, 22rem);
  gap: 1.25rem 1.5rem;
  align-items: start;
  margin: 0 0 2rem;
}
.topic-faqs {
  margin: 0;
  max-width: none;
}
.topic-faqs h2 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: .75rem;
}
.topic-faqs details {
  border-top: 1px solid var(--line);
  padding: .75rem 0;
}
.topic-faqs details:last-child { border-bottom: 1px solid var(--line); }
.topic-faqs summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
.topic-faqs summary::-webkit-details-marker { display: none; }
.topic-faqs details p {
  margin-top: .45rem;
  color: var(--muted);
  font-size: .92rem;
}
.topic-enroll-cta {
  margin: 0;
  padding: 1.25rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  max-width: none;
}
.topic-enroll-cta h2 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: .35rem;
}
.topic-enroll-cta p {
  color: var(--muted);
  font-size: .92rem;
  margin-bottom: .85rem;
}
.topic-enroll-cta--wide {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 2rem;
}
.topic-enroll-cta--wide .topic-enroll-copy {
  flex: 1 1 16rem;
  min-width: 0;
}
.topic-enroll-cta--wide p { margin-bottom: 0; }
.topic-enroll-cta--wide .btn { flex: 0 0 auto; }
.topic-checkboxes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: .5rem .75rem;
}
.topic-check {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .92rem;
  font-weight: 600;
  cursor: pointer;
}
.field-hint {
  color: var(--muted);
  font-size: .88rem;
  margin: .4rem 0 .75rem;
}
.topic-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
  gap: 1rem 1.25rem;
}
.topic-related .related-group { margin-bottom: 0; }
.topic-related .related-group h3 {
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .4rem;
}
.topic-related-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

@media (max-width: 900px) {
  .topic-hero-grid,
  .topic-bottom-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .topic-hero-inner { padding: 1rem .75rem 1.5rem; }
  .topic-hero .breadcrumbs { margin-bottom: 1.25rem; }
  .topic-hero h1 { font-size: 1.6rem; line-height: 1.15; }
  .topic-intro { font-size: .94rem; }
  .topic-notes { grid-template-columns: 1fr; }
  .topic-venue-card { grid-template-columns: 1fr; }
  .topic-venue-hours { border-top: 1px solid var(--line); padding-top: .75rem; }
  .topic-related-grid { grid-template-columns: 1fr 1fr; }
}

/* ---- Footer ---- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--card);
  color: var(--muted);
  margin-top: 3rem;
}
.site-footer .inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 1.25rem 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-size: .82rem;
}
.site-footer .footer-copy { flex: 1; }
.site-footer nav { display: flex; gap: 1.25rem; }
.site-footer a {
  color: var(--muted);
  font-weight: 500;
  text-decoration: none;
  transition: color .15s;
}
.site-footer a:hover { color: var(--ink); }

/* ---- Hero banner (home) ---- */
.hero {
  background:
    linear-gradient(135deg, rgba(17,24,39,.96), rgba(55,65,81,.92)),
    radial-gradient(circle at 12% 20%, rgba(220,38,38,.22), transparent 24%);
  color: #fff;
  padding: 3.25rem 1rem 2rem;
}
.hero-inner { max-width: 1440px; margin: 0 auto; }
.hero .eyebrow {
  color: #fca5a5;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .5rem;
}
.hero h1 {
  max-width: 680px;
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.08;
  margin-bottom: .75rem;
}
.hero h1 .maple { color: #f87171; }
.hero p { color: rgba(255,255,255,.72); font-size: 1rem; max-width: 560px; margin-bottom: 1rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .85rem; margin-top: 1.25rem; }
.hero .hero-cta {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .55rem 1.1rem;
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  font-size: .85rem;
  border-radius: 999px;
  text-decoration: none;
  transition: transform .15s;
}
.hero .hero-cta:hover { transform: scale(1.03); }
.hero-link {
  color: rgba(255,255,255,.82);
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
}
.hero-link:hover { color: #fff; }
.hero-cities {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  align-items: center;
  margin-top: 1.75rem;
}
.hero-city-link {
  display: inline-block;
  padding: .3rem .7rem;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  color: rgba(255,255,255,.88);
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s, border-color .15s;
}
.hero-city-link:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.4);
  color: #fff;
}
@media (max-width: 600px) {
  .hero { padding: 2.25rem .75rem 1.5rem; }
  .hero h1 { font-size: 1.55rem; line-height: 1.18; max-width: 21rem; }
  .hero p { font-size: .92rem; }
}

/* ---- Editorial home ---- */
.home-hero {
  background: #111827;
  color: #fff;
}
.home-hero-inner {
  max-width: 1440px;
  min-height: 440px;
  margin: 0 auto;
  padding: 2rem 1rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 42%);
  gap: 2rem;
  align-items: center;
}
.home-hero-copy { max-width: 690px; }
.home-hero .eyebrow,
.home-edit .eyebrow {
  color: #fca5a5;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .45rem;
}
.home-hero h1 {
  font-size: 2.55rem;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.06;
  margin-bottom: .8rem;
}
.home-hero p {
  max-width: 590px;
  color: rgba(255,255,255,.76);
  font-size: 1rem;
}
.home-hero .hero-cta {
  display: inline-flex;
  align-items: center;
  padding: .6rem 1rem;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: .86rem;
  font-weight: 750;
  text-decoration: none;
}
.home-hero .hero-link {
  color: rgba(255,255,255,.82);
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
}
.home-hero .hero-link:hover { color: #fff; }
.feature-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .75rem;
  align-items: center;
  margin-top: 1.4rem;
  color: rgba(255,255,255,.68);
  font-size: .84rem;
}
.feature-meta span + span::before,
.feature-meta strong::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 3px;
  margin: 0 .65rem .14rem 0;
  border-radius: 999px;
  background: rgba(255,255,255,.36);
}
.feature-meta strong { color: #fecaca; }
.home-hero-media {
  position: relative;
  min-height: 320px;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 22px 60px rgba(0,0,0,.28);
}
.home-hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.home-hero-media.logo {
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 22px 60px rgba(0,0,0,.28);
}
.home-hero-media.logo img {
  object-fit: contain;
  padding: 2.5rem;
}
.home-hero-media:has(img) .thumb-icon { display: none; }
.home-edit {
  max-width: 1440px;
  margin: 0 auto;
  padding: 1.5rem 1rem .25rem;
}
.home-section {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}
.home-section:last-child { border-bottom: 0; }
.home-free-page {
  max-width: 1440px;
  margin: 0 auto;
  padding: 1.75rem 1rem;
  border-bottom: 1px solid var(--line);
}
.home-free-page-inner {
  max-width: 690px;
}
.home-free-page .eyebrow {
  color: var(--maple);
  margin-bottom: .25rem;
}
.home-free-page h2 {
  font-size: 1.35rem;
  line-height: 1.2;
  font-weight: 850;
  margin: 0 0 .5rem;
}
.home-free-page p {
  color: var(--muted);
  margin: 0 0 1rem;
  max-width: 42rem;
}
.home-free-page-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .85rem 1.25rem;
}
.home-free-page .hero-cta {
  display: inline-flex;
  align-items: center;
  background: var(--maple);
  color: #fff;
  font-weight: 700;
  padding: .65rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
}
.home-free-page .hero-cta:hover { filter: brightness(1.05); }
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: .85rem;
}
.section-heading h2 {
  font-size: 1.18rem;
  line-height: 1.2;
  font-weight: 850;
}
.home-edit .eyebrow {
  color: var(--maple);
  margin-bottom: .25rem;
}
.pick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .85rem;
}
.pick-card {
  display: grid;
  grid-template-rows: 168px minmax(0, 1fr);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--card);
  color: var(--ink);
  text-decoration: none;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.pick-card:hover {
  border-color: #d1d5db;
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}
.pick-thumb {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.pick-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pick-thumb.logo {
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
}
.pick-thumb.logo.logo-dark { background: #1f2937; box-shadow: none; }
.pick-thumb.logo img {
  object-fit: contain;
  padding: 1.25rem;
}
.pick-thumb:has(img) .thumb-icon { display: none; }
.pick-body {
  padding: .85rem;
  display: grid;
  gap: .35rem;
}
.pick-body h3 {
  font-size: .98rem;
  line-height: 1.25;
  font-weight: 800;
}
.pick-body p {
  color: var(--muted);
  font-size: .82rem;
}
.pick-body strong {
  color: var(--maple);
  font-size: .86rem;
}
.home-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: 2rem;
}
.home-section.compact { border-bottom: 0; }
.story-list {
  display: grid;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  overflow: hidden;
}
.story-row {
  display: grid;
  grid-template-columns: 4.2rem minmax(0, 1fr);
  gap: .2rem .8rem;
  padding: .85rem;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.story-row:last-child { border-bottom: 0; }
.story-row:hover { background: #f9fafb; }
.story-kicker {
  grid-row: span 2;
  color: var(--maple);
  font-size: .78rem;
  font-weight: 850;
  text-transform: uppercase;
}
.story-title {
  min-width: 0;
  font-size: .92rem;
  font-weight: 750;
  line-height: 1.3;
}
.story-meta {
  color: var(--muted);
  font-size: .8rem;
}
.category-rail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem;
}
.category-tile {
  min-height: 4rem;
  display: flex;
  align-items: end;
  padding: .75rem;
  border-radius: 10px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(17, 24, 39, .04);
  color: var(--ink);
  font-size: .9rem;
  font-weight: 800;
  text-decoration: none;
  transition: box-shadow .15s, transform .15s, border-color .15s;
}
/* Soft category tints, each with a slightly deeper border so the colour reads
   as intentional against the near-white page rather than a washed-out fill. */
.category-tile:nth-child(3n + 1) { background: #ecfdf5; border-color: #c7f0dd; }
.category-tile:nth-child(3n + 2) { background: #eff6ff; border-color: #cfe0fb; }
.category-tile:hover {
  border-color: #d1d5db;
  box-shadow: 0 4px 10px rgba(17, 24, 39, .08);
  transform: translateY(-1px);
}
.fresh-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .65rem;
}
.fresh-link {
  display: grid;
  gap: .2rem;
  min-height: 5rem;
  padding: .8rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  color: var(--ink);
  text-decoration: none;
}
.fresh-link:hover { border-color: #d1d5db; }
.fresh-link span {
  font-size: .9rem;
  line-height: 1.3;
  font-weight: 750;
}
.fresh-link small {
  color: var(--muted);
  font-size: .78rem;
}

@media (max-width: 900px) {
  .home-hero-inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .home-hero h1 { font-size: 2rem; }
  .home-hero-media { min-height: 260px; }
  .pick-grid,
  .fresh-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-columns { grid-template-columns: 1fr; gap: .5rem; }
}

@media (max-width: 600px) {
  .home-hero-inner { padding: 1.5rem .75rem; gap: 1.25rem; }
  .home-hero h1 { font-size: 1.55rem; line-height: 1.15; }
  .home-hero p { font-size: .92rem; }
  .home-hero-media { min-height: 210px; }
  .home-edit { padding: 1rem .75rem 0; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: .4rem; }
  .pick-grid,
  .fresh-grid,
  .category-rail { grid-template-columns: 1fr; }
  .pick-card { grid-template-rows: 154px minmax(0, 1fr); }
}

/* ---- Filters ---- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: center;
  margin-bottom: .75rem;
  padding: .75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 1px 2px rgba(17,24,39,.03);
}
.filters .search-form { display: contents; }
.filters .search-wrap {
  flex: 1 1 280px;
  display: flex;
  gap: .4rem;
}
.filters .search-wrap input[type=text] {
  flex: 1;
  padding: .5rem .7rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-size: .875rem;
  background: var(--card);
  transition: border-color .15s;
}
.filters .search-wrap input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(17,24,39,.06); }
.browse-search {
  display: flex;
  gap: .5rem;
  max-width: 520px;
  margin: 0 0 1.25rem;
}
.browse-search input[type=search] {
  flex: 1;
  min-width: 0;
  padding: .6rem .85rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  font-size: .95rem;
  background: var(--card);
  box-shadow: 0 1px 2px rgba(17,24,39,.03);
  transition: border-color .15s, box-shadow .15s;
}
.browse-search input[type=search]:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(17,24,39,.06); }
.browse-search .btn { flex: none; white-space: nowrap; }
.filter-scroll {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  min-width: 0;
  flex-basis: 100%;
}
.filter-scroll + .filter-scroll {
  border-top: 1px solid var(--line);
  padding-top: .5rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  padding: .3rem .7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  text-decoration: none;
  font-size: .8rem;
  font-weight: 500;
  color: var(--muted);
  transition: all .15s;
  white-space: nowrap;
}
.chip:hover { border-color: #d1d5db; color: var(--ink); }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip.maple.active { background: var(--maple); border-color: var(--maple); }

.filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  flex-basis: 100%;
  border-top: 1px solid var(--line);
  padding-top: .5rem;
}
.filter-row .filter-scroll {
  flex-basis: auto;
  border-top: none;
  padding-top: 0;
}
.time-links {
  display: flex;
  gap: .25rem;
  align-items: center;
}
.time-link {
  padding: .3rem .55rem;
  text-decoration: none;
  font-size: .8rem;
  font-weight: 500;
  color: var(--muted);
  border-radius: 6px;
  transition: all .15s;
  white-space: nowrap;
}
.time-link:hover { color: var(--ink); background: rgba(17,24,39,.04); }
.time-link.active { color: var(--ink); font-weight: 700; }
.results-bar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin: .85rem 0 1rem;
  color: var(--muted);
  font-size: .88rem;
}
.results-bar strong { color: var(--ink); }
.map-count { color: var(--faint); }
.text-link { color: var(--ink); font-weight: 600; text-decoration: none; white-space: nowrap; }
.text-link:hover { text-decoration: underline; }

/* ---- Deal map ---- */
.deal-view { display: grid; gap: .75rem; }
.view-toggle {
  display: inline-flex;
  width: fit-content;
  padding: .2rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
}
.view-toggle-button {
  border: 0;
  border-radius: 6px;
  padding: .38rem .8rem;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: .82rem;
  font-weight: 600;
}
.view-toggle-button.active {
  background: var(--ink);
  color: #fff;
}
.map-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.deals-map {
  width: 100%;
  height: min(62vh, 560px);
  min-height: 380px;
}
.map-attribution {
  padding: .45rem .65rem;
  color: var(--faint);
  border-top: 1px solid var(--line);
  background: #fff;
  font-size: .72rem;
}
.map-attribution a { color: var(--muted); font-weight: 600; text-decoration: none; }
.map-attribution a:hover { text-decoration: underline; }
.map-popup-title {
  display: block;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  margin-bottom: .15rem;
}
.map-popup-title:hover { text-decoration: underline; }
.map-popup-meta {
  color: var(--muted);
  font-size: .78rem;
}
.map-popup-value {
  color: var(--maple);
  font-size: .82rem;
  font-weight: 700;
  margin-top: .2rem;
}

/* ---- Offer list ---- */
.offer-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }

/* ---- Offer card (horizontal layout) ---- */
.offer-card {
  display: flex;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  min-height: 100%;
  min-width: 0;
  overflow: hidden;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.offer-card:hover { border-color: #d1d5db; box-shadow: var(--shadow); transform: translateY(-1px); }

/* Thumbnail area — always rendered, three visual states */
.card-thumb {
  position: relative;
  flex-shrink: 0;
  width: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
/* Image sits on top of the placeholder layer; if it fails to load it removes
   itself (onerror) and the gradient + icon underneath shows through. */
.card-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Logos are brand marks, not photos: show the whole mark on a white tile
   instead of cropping it edge-to-edge. White is deliberate — logos that ship
   with a baked-in white box then merge into the tile instead of reading as a
   hard rectangle floating on grey. A faint inset border keeps the tile edge
   legible against the white card. */
.card-thumb.logo {
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
}
.card-thumb.logo img {
  object-fit: contain;
  padding: 14px;
}
/* White/light-ink logos vanish on white, so flagged shops get a dark tile. */
.card-thumb.logo.logo-dark {
  background: #1f2937;
  box-shadow: none;
}
.thumb-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.45);
}
/* The icon is only a fallback. When an image/logo is present (even a
   transparent PNG), hide it so it doesn't bleed through. If the image fails
   to load, onerror removes it and :has(img) stops matching, so the icon
   reappears. */
.card-thumb:has(img) .thumb-icon { display: none; }

/* Card body — fills remaining width */
.card-body {
  flex: 1;
  min-width: 0;
  padding: .85rem 1rem;
  display: flex;
  flex-direction: column;
}
.offer-card .card-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 45%);
  align-items: flex-start;
  gap: .5rem;
}
.badge-row { display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; min-width: 0; }
.kind-badge,
.category-badge {
  font-size: .62rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 600;
  padding: .12rem .4rem;
  border-radius: 4px;
  white-space: nowrap;
}
.kind-badge { color: var(--muted); background: #f3f4f6; }
.category-badge { color: #065f46; background: var(--green-bg); }
.offer-card .deal-value {
  min-width: 0;
  font-size: .82rem;
  font-weight: 700;
  color: var(--maple);
  line-height: 1.25;
  text-align: right;
  overflow: hidden;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.offer-card h2 {
  margin: .25rem 0;
  font-size: .92rem;
  font-weight: 600;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.offer-card .meta {
  font-size: .78rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: .2rem .4rem;
  align-items: center;
  min-width: 0;
  overflow-wrap: anywhere;
}
.offer-card .meta span + span::before,
.offer-detail .meta span::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 3px;
  margin: 0 .35rem .12rem 0;
  border-radius: 999px;
  background: #d1d5db;
}
.offer-card .maple-dot { color: var(--maple); font-weight: 600; }
.offer-card .desc {
  margin: .35rem 0 0;
  font-size: .82rem;
  color: #4b5563;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-footer {
  margin-top: auto;
  padding-top: .5rem;
  color: var(--faint);
  font-size: .75rem;
  display: flex;
  flex-wrap: wrap;
  gap: .25rem .5rem;
}
.card-footer span + span::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 3px;
  margin: 0 .35rem .12rem 0;
  border-radius: 999px;
  background: #d1d5db;
}

/* ---- Offer detail ---- */
.offer-detail {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 1.5rem;
}
.offer-detail h1 { font-size: 1.75rem; font-weight: 800; margin: .5rem 0; line-height: 1.18; letter-spacing: 0; }

/* Ended (expired/delisted) deal: keep the page but visibly retire it and steer
   the visitor to the live alternatives rendered below. */
.offer-ended-banner {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .6rem;
  align-items: baseline;
  background: #fff7ed;
  border: 1px solid #fdba74;
  color: #9a3412;
  border-radius: var(--radius);
  padding: .85rem 1.1rem;
  margin-bottom: 1rem;
  font-size: .95rem;
}
.offer-ended-banner strong { font-weight: 800; }
.offer-removed {
  text-align: center;
  padding: 2.5rem 1rem 1.5rem;
  margin-bottom: 1rem;
}
.offer-removed h1 { margin: 0 0 .5rem; }
.offer-removed-lede {
  color: var(--muted, #6b7280);
  max-width: 32rem;
  margin: 0 auto 1.5rem;
}
.offer-removed .detail-actions { justify-content: center; }
.offer-detail.is-ended .offer-detail-image,
.offer-detail.is-ended .offer-detail-placeholder,
.offer-detail.is-ended .deal-highlight { opacity: .55; filter: grayscale(.35); }
.ended-alternatives { margin-top: 2rem; }
.ended-alternatives > h2 { font-size: 1.25rem; font-weight: 800; margin: 0 0 1rem; }
.offer-detail-image {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  margin: .75rem 0 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.offer-detail-image img {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
}
/* Placeholder icon shown when the image fails to load (onerror removes the img,
   and :has() drops the gradient height back to a 16/9 box for the icon). */
.offer-detail-image .offer-detail-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.35);
}
.offer-detail-image .offer-detail-fallback svg {
  width: 48px;
  height: 48px;
}
/* Hide the fallback icon whenever the image is present so transparent PNGs
   don't reveal it underneath; it returns if onerror removes the img. */
.offer-detail-image:has(img) .offer-detail-fallback { display: none; }
.offer-detail-image:not(:has(img)) {
  aspect-ratio: 16 / 9;
}
/* Detail logo: contain the whole mark, centered on a white tile (see card
   note above), never stretched. */
.offer-detail-image.logo {
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
  aspect-ratio: 16 / 9;
}
.offer-detail-image.logo.logo-dark {
  background: #1f2937;
  box-shadow: none;
}
.offer-detail-image.logo img {
  width: auto;
  max-width: 70%;
  max-height: 78%;
  object-fit: contain;
}
.offer-detail-placeholder {
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  margin: .75rem 0 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.35);
}
.offer-detail-placeholder svg {
  width: 48px;
  height: 48px;
}
.offer-detail .meta { font-size: .875rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: .15rem .5rem; align-items: center; margin-bottom: .75rem; }
.offer-detail .maple-dot { color: var(--maple); font-weight: 600; }
.offer-detail .deal-highlight {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--maple);
  background: var(--maple-soft);
  padding: .35rem .75rem;
  border-radius: 8px;
  margin-bottom: .75rem;
}
.offer-detail .description { font-size: .95rem; color: #374151; line-height: 1.6; margin-bottom: .75rem; }
.detail-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.report-link { margin-top: 1.5rem; font-size: .8rem; }
.report-link a { color: var(--faint); text-decoration: none; }
.report-link a:hover { color: var(--muted); text-decoration: underline; }
.deal-feedback {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}
.deal-feedback h2 {
  font-size: .86rem;
  font-weight: 700;
  margin: 0;
}
.deal-feedback-copy {
  color: var(--muted);
  min-width: 0;
}
.deal-feedback-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}
.deal-feedback-actions form { display: contents; }
.feedback-button {
  min-height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .45rem .7rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  color: var(--ink);
  font: inherit;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color .15s, background .15s, transform .1s;
}
.feedback-button:hover { border-color: #d1d5db; background: #f9fafb; }
.feedback-button:active { transform: scale(.98); }
.feedback-button svg { flex: 0 0 auto; }
.feedback-button.works svg { color: var(--green); }
.feedback-button.expired svg { color: var(--maple); }
.feedback-button strong {
  min-width: 1.25rem;
  padding: .05rem .35rem;
  border-radius: 999px;
  background: #f3f4f6;
  color: var(--muted);
  font-size: .72rem;
  text-align: center;
}
.shop-panel {
  border-left: 1px solid var(--line);
  padding-left: 1.25rem;
}
.shop-panel h2 {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--muted);
  margin-bottom: .75rem;
}
.shop-panel dl { display: grid; gap: .8rem; }
.shop-panel dt {
  font-size: .72rem;
  color: var(--faint);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.shop-panel dd { font-size: .9rem; color: var(--ink); margin-top: .12rem; }
.back-link { display: inline-flex; align-items: center; gap: .3rem; font-size: .85rem; color: var(--muted); text-decoration: none; margin-bottom: 1rem; }
.back-link:hover { color: var(--ink); }
.tracked-action { margin-top: 1rem; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .5rem 1rem;
  font-size: .85rem;
  font-weight: 600;
  font-family: inherit;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s, transform .1s;
  white-space: nowrap;
}
.btn:hover { background: #1f2937; }
.btn:active { transform: scale(.98); }
.btn.outline { background: transparent; color: var(--ink); }
.btn.outline:hover { background: #f3f4f6; }
.btn.small { padding: .35rem .7rem; font-size: .8rem; }

/* ---- Forms (subscribe, etc.) ---- */
.form-page { max-width: 600px; margin: 0 auto; padding: 2rem 1rem 3rem; }
.form-page h1 { font-size: 1.5rem; font-weight: 800; margin-bottom: .35rem; }
.form-page .subtitle { color: var(--muted); font-size: .9rem; margin-bottom: 1.5rem; line-height: 1.5; }
.example-pages {
  margin: 0 0 1.5rem;
  padding: .85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fafafa;
}
.example-pages-label {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--faint);
  margin: 0 0 .4rem;
}
.example-pages-links {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.25rem;
}
.home-free-page .example-pages {
  margin-top: 1.1rem;
  background: color-mix(in srgb, var(--card) 88%, transparent);
}
.subscribe-proof {
  margin: -0.75rem 0 1.25rem;
  padding: .75rem .9rem;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  color: #166534;
  font-size: .88rem;
  line-height: 1.5;
}
.subscribe-samples { margin-top: 2rem; }
.subscribe-samples-label {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--faint);
  margin: 0 0 .6rem;
}
.subscribe-sample-card {
  display: block;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .75rem .85rem;
  margin: 0 0 .5rem;
  text-decoration: none;
  color: inherit;
}
.subscribe-sample-card:hover { border-color: #d1d5db; background: #fafafa; }
.subscribe-sample-kind {
  display: block;
  font-size: .7rem;
  text-transform: uppercase;
  color: var(--faint);
}
.subscribe-sample-title {
  display: block;
  font-weight: 650;
  margin-top: .15rem;
}
.subscribe-sample-meta {
  display: block;
  font-size: .85rem;
  color: var(--muted);
  margin-top: .15rem;
}
.check-email-proof {
  margin: 1rem 0 0;
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.5;
}
.deal-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem; padding: .25rem; margin-bottom: 1rem; border: 1px solid var(--line); border-radius: 10px; background: #f9fafb; }
.deal-tab { display: flex; align-items: center; justify-content: center; padding: .55rem .75rem; border-radius: 8px; color: var(--muted); font-weight: 700; font-size: .85rem; text-decoration: none; }
.deal-tab:hover { color: var(--ink); background: #f3f4f6; }
.deal-tab.active { color: var(--ink); background: var(--card); box-shadow: 0 1px 2px rgba(15,23,42,.08); }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; }
.form-card .field { margin-bottom: .85rem; }
.form-card .field:last-of-type { margin-bottom: 0; }
.form-card label {
  display: block;
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--muted);
  margin-bottom: .25rem;
}
.form-card input[type=text],
.form-card input[type=email],
.form-card input[type=date],
.form-card input[type=url],
.form-card input[type=tel],
.form-card select,
.form-card textarea {
  width: 100%;
  padding: .55rem .7rem;
  font: inherit;
  font-size: .875rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: var(--ink);
  transition: border-color .15s;
}
.form-card textarea { resize: vertical; }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(17,24,39,.06); }
#promote-form .form-card + .form-card { margin-top: 1rem; }
.form-footer { margin-top: 1rem; }
.form-footer .fine-print { font-size: .75rem; color: var(--faint); margin-top: .5rem; line-height: 1.45; }

/* ---- Auth ---- */
.auth-page {
  min-height: calc(100vh - 4rem);
  padding: 3rem 1rem;
  background:
    linear-gradient(135deg, rgba(17,24,39,.04), rgba(220,38,38,.03)),
    var(--bg);
}
.auth-panel {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 2rem;
  align-items: center;
}
.auth-copy .eyebrow {
  color: var(--maple);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .55rem;
}
.auth-copy h1 {
  max-width: 560px;
  font-size: 2.25rem;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: .75rem;
}
.auth-copy p {
  max-width: 500px;
  color: var(--muted);
  font-size: 1rem;
}
.auth-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow);
}
.auth-card h2 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
.auth-form { display: grid; gap: .85rem; }
.auth-form .field label {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--muted);
  margin-bottom: .25rem;
}
.auth-form input[type=email],
.auth-form input[type=password],
.auth-form input[type=text] {
  width: 100%;
  padding: .7rem .75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
}
.auth-form input:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(17,24,39,.06);
}
.auth-card-lead {
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.45;
  margin: -.35rem 0 1.1rem;
}
.owner-access-points {
  list-style: none;
  margin-top: 1.35rem;
  display: grid;
  gap: .55rem;
  max-width: 28rem;
}
.owner-access-points li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--ink);
  font-size: .92rem;
  font-weight: 600;
}
.owner-access-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45rem;
  width: .55rem;
  height: .55rem;
  border-radius: 999px;
  background: var(--maple);
}
.owner-access-url {
  display: inline-block;
  margin-top: .35rem;
  padding: .2rem .45rem;
  border-radius: 6px;
  background: #f3f4f6;
  color: var(--ink);
  font-size: .78rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
.owner-access-url span { color: var(--maple); font-weight: 700; }
.owner-access-note {
  margin-top: 1rem;
  font-size: .75rem;
  color: var(--faint);
  line-height: 1.45;
}
.owner-access .auth-panel {
  max-width: 980px;
  gap: 2.5rem;
  animation: owner-access-in .45s ease both;
}
.owner-access .auth-copy h1 { max-width: 18ch; }
@keyframes owner-access-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .owner-access .auth-panel { animation: none; }
}
.check-row {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--muted);
  font-size: .88rem;
}
.auth-submit {
  width: 100%;
  justify-content: center;
  margin-top: .15rem;
}
.auth-links {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: .85rem;
}
.auth-links a { text-decoration: none; }
.auth-links a:hover { color: var(--ink); text-decoration: underline; }
.form-errors {
  padding: .65rem .75rem;
  border-radius: 8px;
  background: var(--maple-soft);
  color: var(--maple);
  font-size: .85rem;
}

/* ---- Content pages ---- */
.content-page {
  max-width: 1440px;
  margin: 0 auto;
  padding: 2.5rem 1rem 4rem;
}
.content-hero {
  max-width: 720px;
  margin-bottom: 2rem;
}
.content-hero .eyebrow {
  color: var(--maple);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .55rem;
}
.content-hero h1 {
  font-size: 2.2rem;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: .75rem;
}
.content-hero p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 .75rem;
  max-width: 42rem;
}
.content-founder {
  color: var(--ink) !important;
  font-size: .95rem !important;
  margin-bottom: 0 !important;
}
.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem;
}
.content-grid article,
.policy-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
}
.content-grid h2,
.policy-card h2 {
  font-size: 1rem;
  margin-bottom: .35rem;
}
.content-grid p,
.policy-card p {
  color: #4b5563;
  font-size: .92rem;
  line-height: 1.65;
}
.policy-card {
  max-width: 760px;
}
.policy-section { margin-bottom: 1.25rem; }
.policy-section:last-child { margin-bottom: 0; }
.policy-section h2 { margin-bottom: .35rem; }
.policy-section ul { margin: .35rem 0 0 1.25rem; color: #4b5563; font-size: .92rem; line-height: 1.65; }
.policy-section li { margin-bottom: .2rem; }
.article-icon { color: var(--maple); margin-bottom: .5rem; }
.content-cta {
  margin-top: 2.5rem;
  text-align: center;
  padding: 2rem 1.5rem;
  background: linear-gradient(135deg, #f9fafb, #f3f4f6);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.content-cta h2 { font-size: 1.15rem; font-weight: 700; margin-bottom: .35rem; }
.content-cta p { color: var(--muted); font-size: .9rem; margin-bottom: 1rem; line-height: 1.5; }
.cta-actions { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; }
.cta-actions .btn { display: inline-flex; align-items: center; gap: .4rem; }

/* ---- Status pages (confirmed, unsubscribed, etc.) ---- */
.status-page { max-width: 480px; margin: 0 auto; padding: 3rem 1rem; text-align: center; }
.status-page .status-icon { font-size: 2.5rem; margin-bottom: .75rem; }
.status-page h1 { font-size: 1.4rem; font-weight: 700; margin-bottom: .5rem; }
.status-page p { color: var(--muted); font-size: .9rem; line-height: 1.5; margin-bottom: .5rem; }
.status-page .action { margin-top: 1.25rem; }

/* ---- Toast notifications ---- */
.toast {
  position: fixed; top: 1rem; left: 50%; transform: translateX(-50%);
  z-index: 9999; display: flex; align-items: center; gap: .6rem;
  padding: .7rem 1rem .7rem .85rem; border-radius: var(--radius);
  font-size: .85rem; font-weight: 500; line-height: 1.3;
  box-shadow: 0 4px 24px rgba(0,0,0,.12), 0 1px 4px rgba(0,0,0,.08);
  animation: toast-in .3s ease-out;
  max-width: min(480px, calc(100vw - 2rem));
}
.toast.notice { background: #fff; color: var(--green); border: 1px solid var(--green-bg); }
.toast.alert  { background: #fff; color: var(--maple); border: 1px solid var(--maple-soft); }
.toast svg { flex-shrink: 0; }
.toast span { flex: 1; color: var(--text); }
.toast-close {
  background: none; border: none; cursor: pointer; font-size: 1.1rem;
  color: var(--muted); padding: 0 0 0 .25rem; line-height: 1;
}
.toast-close:hover { color: var(--text); }
.toast-out { animation: toast-out .3s ease-in forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateX(-50%) translateY(-.75rem); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }
@keyframes toast-out { from { opacity: 1; transform: translateX(-50%) translateY(0); } to { opacity: 0; transform: translateX(-50%) translateY(-.75rem); } }

/* ---- Empty state ---- */
.empty { text-align: center; color: var(--muted); padding: 3rem 1rem; font-size: .9rem; line-height: 1.6; }

/* ---- Pagination ---- */
.pagination { margin: 2rem 0 .5rem; }
.pagination .pagy { display: flex; justify-content: center; flex-wrap: wrap; gap: .35rem; font-size: .85rem; }
.pagination .pagy a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 2.1rem; padding: .4rem .6rem; border: 1px solid var(--border, #e5e7eb);
  border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 600;
}
.pagination .pagy a:hover { border-color: #d1d5db; }
.pagination .pagy a.current { background: var(--ink); color: #fff; border-color: var(--ink); cursor: default; }
.pagination .pagy a[aria-disabled="true"]:not(.current) { color: var(--muted); pointer-events: none; opacity: .5; }
.pagination .pagy a.gap { border-color: transparent; pointer-events: none; }

/* ---- Breadcrumbs ---- */
.breadcrumbs { font-size: .82rem; color: var(--muted); margin-bottom: 1rem; display: flex; align-items: center; gap: .3rem; flex-wrap: wrap; }
.breadcrumbs a { color: var(--muted); text-decoration: none; font-weight: 500; }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs .sep { color: var(--faint); }

/* ---- Browse / SEO pages ---- */
.browse-header {
  position: relative;
  margin-bottom: 1.5rem;
  padding: 1.5rem 1.6rem 1.4rem;
  background: linear-gradient(180deg, var(--card), var(--maple-soft));
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.browse-header::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 1rem;
  bottom: 1rem;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: var(--maple);
}
.browse-header h1 { font-size: 1.7rem; font-weight: 800; letter-spacing: -.015em; line-height: 1.2; margin-bottom: .4rem; }
.browse-subtitle { color: var(--muted); font-size: .92rem; line-height: 1.5; max-width: 62ch; }
.browse-intro { color: var(--ink); font-size: .92rem; line-height: 1.6; margin-top: .7rem; max-width: 62ch; }
.browse-related { margin-top: 2.5rem; }
.browse-related h2 { font-size: .95rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin-bottom: .6rem; }
.browse-faq { margin-top: 2.5rem; max-width: 60ch; }
.browse-faq h2 { font-size: .95rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin-bottom: .8rem; }
.browse-faq .faq-item { margin-bottom: 1.1rem; }
.browse-faq .faq-item h3 { font-size: .95rem; font-weight: 700; margin-bottom: .25rem; }
.browse-faq .faq-item p { color: var(--muted); font-size: .9rem; line-height: 1.55; }

/* ---- Shop profile (public) ---- */
.shop-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 1rem;
  align-items: stretch;
  margin-bottom: 1rem;
}
.shop-hero.without-contact { grid-template-columns: 1fr; }
.shop-profile,
.shop-contact-card,
.shop-hours,
.shop-offers-section {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(17,24,39,.03);
}
.shop-profile {
  padding: 1.35rem;
  display: grid;
  align-content: center;
  gap: .95rem;
}
.shop-profile-main {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}
.shop-logo-tile {
  flex: 0 0 5.2rem;
  width: 5.2rem;
  height: 5.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}
.shop-logo-tile.logo-dark { background: #1f2937; border-color: #1f2937; }
.shop-logo-tile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: .7rem;
}
.shop-profile-copy { min-width: 0; }
.shop-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem .7rem;
  margin-bottom: .2rem;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 650;
}
.shop-kicker span + span::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 3px;
  margin: 0 .55rem .13rem 0;
  border-radius: 999px;
  background: #d1d5db;
}
.shop-profile h1 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: 0;
  margin-bottom: .45rem;
}
.shop-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem .85rem;
  font-size: .88rem;
  color: var(--muted);
}
.shop-rating { color: #b8860b; font-weight: 700; }
.shop-profile .maple-dot { color: var(--maple); font-weight: 700; }
.shop-intro {
  color: #374151;
  font-size: .96rem;
  line-height: 1.65;
  max-width: 68ch;
}
.shop-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}
.shop-contact-card {
  padding: 1.1rem;
  display: flex;
  align-items: center;
}
.shop-contact-card dl {
  width: 100%;
  display: grid;
  gap: .85rem;
}
.shop-contact-card dt,
.shop-hours h2 {
  font-size: .72rem;
  font-weight: 800;
  color: var(--faint);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.shop-contact-card dd {
  margin-top: .15rem;
  color: var(--ink);
  font-size: .9rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.shop-contact-card a {
  color: inherit;
  text-decoration-color: #cbd5e1;
  text-underline-offset: 2px;
}
.shop-page-grid {
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}
.shop-hours {
  padding: 1.1rem;
  position: sticky;
  top: 5rem;
}
.shop-hours h2 { margin-bottom: .65rem; }
.shop-hours table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
}
.shop-hours tr + tr { border-top: 1px solid #f3f4f6; }
.shop-hours th {
  width: 7rem;
  text-align: left;
  font-weight: 600;
  color: var(--muted);
  padding: .42rem .6rem .42rem 0;
  vertical-align: top;
}
.shop-hours td {
  text-align: right;
  padding: .42rem 0;
  color: #374151;
  vertical-align: top;
}
.shop-hours tr.is-today th,
.shop-hours tr.is-today td {
  font-weight: 800;
  color: var(--ink);
}
.shop-offers-section {
  min-width: 0;
  padding: 1rem;
}
.shop-page-grid > .shop-offers-section:only-child { grid-column: 1 / -1; }
.shop-offers-section .results-bar {
  margin: 0 0 .85rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--line);
}
.shop-offers-section .results-bar p { margin: 0; }
.shop-offers-section .results-bar span {
  display: block;
  margin-top: .1rem;
  color: var(--faint);
  font-size: .8rem;
}
.shop-offer-list {
  grid-template-columns: 1fr;
  gap: .65rem;
}
.shop-offer-list .offer-card { min-height: 7.25rem; }

/* ---- Inline email capture ---- */
.inline-subscribe {
  margin: 2.5rem 0 1rem;
  padding: 1.25rem 1.4rem;
  background: var(--card);
  border: 1px solid var(--border, #e5e7eb);
  border-radius: var(--radius);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.inline-subscribe-copy { flex: 1 1 18rem; }
.inline-subscribe-copy h2 { font-size: 1.05rem; font-weight: 700; margin: 0 0 .25rem; }
.inline-subscribe-copy p { color: var(--muted); font-size: .88rem; line-height: 1.5; margin: 0; }
.inline-subscribe-form { display: flex; gap: .5rem; flex: 1 1 20rem; }
.inline-subscribe-form input[type="email"] {
  flex: 1 1 auto;
  min-width: 0;
  padding: .55rem .75rem;
  border: 1px solid var(--border, #d1d5db);
  border-radius: 8px;
  font-size: .9rem;
}
.inline-subscribe-form select {
  flex: 0 0 auto;
  padding: .55rem .65rem;
  border: 1px solid var(--border, #d1d5db);
  border-radius: 8px;
  font-size: .85rem;
  background: var(--card);
}
.inline-subscribe-form .btn { white-space: nowrap; }

/* ---- Mobile tweaks ---- */
@media (max-width: 600px) {
  .site-header .inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .site-header .brand { min-width: 0; }
  .site-nav { grid-column: 1 / -1; }
  .site-header .header-cta {
    justify-self: end;
    margin-left: 0;
  }
  .wrap { padding: 1rem .75rem 2rem; }
  .filters { padding: .65rem; }
  .filters .search-wrap { flex-basis: 100%; }
  .filter-scroll {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: .15rem;
    width: 100%;
    max-width: 100%;
  }
  .filter-row { flex-direction: column; align-items: flex-start; overflow: hidden; }
  .filter-row .filter-scroll { flex-basis: 100%; width: 100%; max-width: 100%; overflow-x: auto; }
  .time-links { flex-basis: 100%; justify-content: flex-start; }
  .results-bar { align-items: flex-start; flex-direction: column; gap: .35rem; }
  .browse-header { padding: 1.2rem 1.1rem; }
  .browse-header h1 { font-size: 1.4rem; }
  .view-toggle { width: 100%; }
  .view-toggle-button { flex: 1; }
  .deals-map { height: 65vh; min-height: 340px; }
  .offer-list { grid-template-columns: 1fr; }
  .card-thumb { width: 96px; }
  .card-body { padding: .7rem .85rem; }
  .offer-card .card-top { grid-template-columns: 1fr; }
  .offer-card .deal-value { text-align: left; }
  .offer-card h2 { font-size: .88rem; }
  .offer-detail { padding: 1.15rem; grid-template-columns: 1fr; gap: 1.1rem; }
  .offer-detail h1 { font-size: 1.45rem; }
  .deal-feedback { align-items: flex-start; flex-direction: column; }
  .deal-feedback-actions { width: 100%; }
  .feedback-button { flex: 1 1 8rem; }
  .shop-panel { border-left: 0; border-top: 1px solid var(--line); padding: 1rem 0 0; }
  .shop-hero,
  .shop-page-grid { grid-template-columns: 1fr; gap: .75rem; }
  .shop-profile { padding: 1rem; }
  .shop-profile-main { align-items: flex-start; gap: .8rem; }
  .shop-logo-tile {
    flex-basis: 4.2rem;
    width: 4.2rem;
    height: 4.2rem;
  }
  .shop-logo-tile img { padding: .55rem; }
  .shop-profile h1 { font-size: 1.55rem; line-height: 1.15; }
  .shop-intro { font-size: .92rem; }
  .shop-actions { width: 100%; }
  .shop-actions .btn { flex: 1 1 8rem; justify-content: center; }
  .shop-contact-card,
  .shop-hours,
  .shop-offers-section { padding: .9rem; }
  .shop-hours { position: static; }
  .shop-hours table { font-size: .84rem; }
  .shop-hours th { width: 6.5rem; }
  .shop-offer-list .offer-card {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    min-height: 6.5rem;
  }
  .shop-offer-list .card-thumb { width: auto; }
  .shop-offer-list .card-body {
    min-width: 0;
    overflow: hidden;
  }
  .shop-offer-list .offer-card .meta {
    display: block;
    line-height: 1.35;
  }
  .form-page { padding: 1.5rem 1rem 2rem; }
  .auth-page { padding: 1.5rem .75rem 2rem; }
  .auth-panel { grid-template-columns: 1fr; gap: 1.25rem; }
  .auth-copy h1 { font-size: 1.55rem; max-width: 22rem; }
  .auth-copy p { font-size: .92rem; }
  .auth-card { padding: 1rem; }
  .content-page { padding: 1.5rem .75rem 2.5rem; }
  .content-hero h1 { font-size: 1.55rem; }
  .content-grid { grid-template-columns: 1fr; }
  .poster-card { width: 100% !important; min-width: 0; }
  .poster-actions { flex-direction: column; }
}

@media (min-width: 601px) and (max-width: 980px) {
  .shop-hero,
  .shop-page-grid { grid-template-columns: 1fr; }
  .shop-hero:not(.without-contact) { grid-template-columns: minmax(0, 1.15fr) minmax(240px, .85fr); }
  .shop-hours { position: static; }
}

/* ---- Poster ---- */
.poster-page { max-width: 640px; margin: 0 auto; padding: 2rem 1rem; }
.poster-page h1 { font-size: 1.5rem; margin-bottom: .25rem; }
.poster-page .subtitle { color: var(--muted); margin-bottom: 1.5rem; }

.poster-frame {
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.poster-card {
  width: 480px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #111827;
}

.poster-brand {
  background: #111827;
  color: #ffffff;
  padding: .75rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.poster-logo { font-size: 1.1rem; font-weight: 700; letter-spacing: -.01em; }
.poster-tagline { font-size: .75rem; opacity: .7; letter-spacing: .03em; text-transform: uppercase; }

.poster-body { padding: 1.5rem 1.25rem 1rem; }

.poster-kind {
  display: inline-block;
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #6b7280;
  background: #f3f4f6;
  padding: .2rem .55rem;
  border-radius: 4px;
  margin-bottom: .75rem;
}

.poster-title {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 .75rem;
  color: #111827;
}

.poster-value {
  display: inline-block;
  font-size: 1.15rem;
  font-weight: 700;
  color: #dc2626;
  background: #fef2f2;
  padding: .35rem .75rem;
  border-radius: 6px;
  margin-bottom: .75rem;
}

.poster-desc {
  font-size: .88rem;
  color: #4b5563;
  line-height: 1.5;
  margin: 0 0 .75rem;
}

.poster-shop {
  font-size: .88rem;
  color: #111827;
  margin-bottom: .25rem;
}
.poster-shop span { color: #6b7280; margin-left: .35rem; }
.poster-shop span::before { content: "\b7 "; }

.poster-dates {
  font-size: .8rem;
  color: #6b7280;
  margin-top: .35rem;
}

.poster-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 1.25rem 1rem;
  border-top: 1px dashed #e5e7eb;
}
.poster-qr svg { width: 140px; height: 140px; }
.poster-qr-caption {
  font-size: .72rem;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-top: .5rem;
}

.poster-footer {
  text-align: center;
  font-size: .7rem;
  color: #9ca3af;
  padding: .5rem 1.25rem .85rem;
  letter-spacing: .02em;
}

.poster-actions {
  display: flex;
  gap: .5rem;
  margin-bottom: 1.25rem;
}

.poster-extras {
  text-align: center;
  font-size: .88rem;
  color: var(--muted);
}
.poster-extras p { margin-bottom: .35rem; }
.poster-extras a { color: var(--ink); text-decoration: underline; }

/* ---- Form helpers ---- */
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.form-section-title { font-size: .95rem; font-weight: 600; margin-bottom: .75rem; color: var(--ink); }
.form-errors {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--radius);
  padding: .75rem 1rem;
  margin-bottom: 1rem;
  font-size: .88rem;
  color: #dc2626;
}
.form-errors ul { margin: .35rem 0 0 1.25rem; }
.required { color: #dc2626; }

/* ---- Status banner (deal link page) ---- */
.status-banner {
  padding: .65rem 1rem;
  border-radius: var(--radius);
  font-size: .88rem;
  margin-bottom: 1rem;
  text-align: center;
}
.status-draft { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.status-expired { background: #f3f4f6; color: #6b7280; border: 1px solid #e5e7eb; }

.deal-link-cta { text-align: center; margin: 1.5rem 0; }

/* ---- Template switcher ---- */
.template-switcher {
  display: flex;
  gap: .35rem;
  justify-content: center;
  margin-bottom: 1rem;
}
.template-btn {
  font-size: .78rem;
  font-weight: 600;
  padding: .4rem .9rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--card);
  color: var(--muted);
  cursor: pointer;
  transition: all .15s;
}
.template-btn:hover { border-color: var(--ink); color: var(--ink); }
.template-btn.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---- Poster: Minimal template ---- */
.poster-card.poster-minimal .poster-brand {
  background: #ffffff;
  color: #111827;
  border-bottom: 1px solid #e5e7eb;
}
.poster-card.poster-minimal .poster-tagline { color: #9ca3af; }
.poster-card.poster-minimal .poster-title {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -.01em;
}
.poster-card.poster-minimal .poster-value {
  background: none;
  color: #111827;
  padding: 0;
  font-size: 1.05rem;
  font-weight: 600;
}
.poster-card.poster-minimal .poster-qr { border-top: 1px solid #f3f4f6; }

/* ---- Poster: Bold template ---- */
.poster-card.poster-bold .poster-brand {
  background: #dc2626;
  color: #ffffff;
  padding: 1rem 1.25rem;
}
.poster-card.poster-bold .poster-brand .poster-logo span { color: #ffffff !important; }
.poster-card.poster-bold .poster-tagline { color: rgba(255,255,255,.8); }
.poster-card.poster-bold .poster-title {
  font-size: 1.6rem;
  font-weight: 800;
  text-align: center;
}
.poster-card.poster-bold .poster-body { text-align: center; padding: 1.75rem 1.25rem 1rem; }
.poster-card.poster-bold .poster-kind {
  background: #dc2626;
  color: #ffffff;
  font-weight: 700;
}
.poster-card.poster-bold .poster-value {
  font-size: 1.4rem;
  font-weight: 800;
  display: block;
  text-align: center;
  padding: .5rem 1rem;
  border-radius: 8px;
}
.poster-card.poster-bold .poster-shop { text-align: center; }
.poster-card.poster-bold .poster-dates { text-align: center; }
.poster-card.poster-bold .poster-qr svg { width: 160px; height: 160px; }

/* ---- Scan stats ---- */
.scan-stats {
  text-align: center;
  font-size: .88rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.scan-stats strong { color: var(--ink); }

/* ---- Unique shop presentations ---- */
body.presentation-mode { background: #111; }
.shop-presentation {
  --sp-accent: #6b2430;
  --sp-bg: #ebe4d9;
  --sp-surface: #f7f2ea;
  --sp-ink: #1c1410;
  --sp-muted: #6a5c52;
  --sp-font-display: "Fraunces", Georgia, serif;
  --sp-font-body: "Figtree", system-ui, sans-serif;
  background: var(--sp-bg);
  color: var(--sp-ink);
  font-family: var(--sp-font-body);
  min-height: 100vh;
  overflow-x: clip;
}
/* Flat fills are what make a page read as generated. A fine grain over the
   whole light page gives every surface the tooth of printed stock; it sits
   below the sticky chrome and never takes a pointer event. */
.shop-presentation:not(.shop-presentation--dark)::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.shop-presentation h1,
.shop-presentation h2,
.shop-presentation h3 {
  font-family: var(--sp-font-display);
  letter-spacing: -0.02em;
  color: var(--sp-ink);
  font-weight: 650;
}

/* Sticky business bar: transparent over the hero, solid once past it. */
.sp-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}
.sp-topbar.is-stuck {
  background: color-mix(in srgb, var(--sp-surface) 92%, transparent);
  border-bottom-color: color-mix(in srgb, var(--sp-ink) 12%, transparent);
  backdrop-filter: blur(10px);
}
.sp-topbar-inner {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: .7rem 0;
}
.sp-topbar-brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--sp-font-display);
  font-weight: 650;
  font-size: 1rem;
  letter-spacing: -.01em;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
}
.sp-topbar.is-stuck .sp-topbar-brand {
  color: var(--sp-ink);
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.sp-topbar-mark {
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--sp-ink) 8%, transparent);
  overflow: hidden;
}
.sp-topbar-mark.logo-dark { background: #14100e; }
.sp-topbar-mark img { max-width: 78%; max-height: 78%; object-fit: contain; }
.sp-topbar-nav {
  display: flex;
  gap: 1.25rem;
  margin-left: auto;
  font-size: .88rem;
  font-weight: 600;
}
.sp-topbar-nav a {
  color: rgba(247,241,232,.85);
  text-decoration: none;
  padding: .25rem 0;
  border-bottom: 2px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.sp-topbar.is-stuck .sp-topbar-nav a { color: var(--sp-muted); }
.sp-topbar-nav a:hover {
  color: var(--sp-accent);
  border-bottom-color: var(--sp-accent);
}
.sp-topbar.is-stuck .sp-topbar-nav a:hover { color: var(--sp-accent); }
.sp-topbar-actions { display: flex; gap: .5rem; }
.sp-btn-sm { padding: .5rem .95rem; font-size: .82rem; }
/* Declared before .sp-btn, so restate the fill at higher specificity — otherwise
   the base pill's cream background wins and the outline button reads as solid. */
.sp-topbar .sp-btn-outline {
  background: transparent;
  color: rgba(247,241,232,.9);
  border: 1px solid rgba(247,241,232,.4);
}
.sp-topbar.is-stuck .sp-btn-outline {
  background: transparent;
  color: var(--sp-ink);
  border-color: color-mix(in srgb, var(--sp-ink) 22%, transparent);
}
.sp-topbar.is-stuck .sp-btn:not(.sp-btn-outline) {
  background: var(--sp-accent);
  color: #fff;
}

.sp-hero {
  position: relative;
  isolation: isolate;
  margin-top: -3.4rem;
  padding-top: 3.4rem;
  min-height: min(78vh, 44rem);
  display: flex;
  align-items: flex-end;
  color: #f7f1e8;
  background:
    radial-gradient(120% 90% at 12% 10%, color-mix(in srgb, var(--sp-accent) 55%, #2a1210) 0%, transparent 55%),
    radial-gradient(90% 70% at 88% 20%, color-mix(in srgb, var(--sp-accent) 35%, #1a0e0c) 0%, transparent 50%),
    linear-gradient(165deg, color-mix(in srgb, var(--sp-accent) 78%, #120a09) 0%, #160d0b 58%, #0f0a09 100%);
}
/* Real venue photography behind the hero, darkened enough to keep AA contrast
   on the headline whatever the photo happens to be. */
.sp-hero-photo {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.sp-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.03);
}
.sp-hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,7,6,.72) 0%, rgba(10,7,6,.45) 38%, rgba(10,7,6,.88) 100%),
    linear-gradient(90deg, color-mix(in srgb, var(--sp-accent) 42%, rgba(10,7,6,.7)) 0%, transparent 72%);
}
.sp-hero.has-photo { background: #0f0a09; }
.sp-hero-atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .35;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 20%, transparent 92%);
}
.sp-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 4.5rem 0 3.25rem;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(7.5rem, 12rem);
  gap: 2rem 3rem;
  align-items: end;
}
.shop-presentation--stacked .sp-hero-inner,
.shop-presentation--band .sp-hero-inner {
  grid-template-columns: 1fr;
}
.sp-brand-name {
  font-family: var(--sp-font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 650;
  letter-spacing: -.02em;
  margin: 0 0 .85rem;
  color: #fff;
}
.sp-eyebrow {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .75rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .68rem;
  font-weight: 700;
  color: rgba(247,241,232,.72);
  margin: 0 0 1rem;
}
.sp-hero h1 {
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  line-height: .98;
  margin: 0 0 1rem;
  color: #fff;
  max-width: 14ch;
  text-wrap: balance;
}
.sp-lede {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  line-height: 1.55;
  color: rgba(247,241,232,.86);
  max-width: 34rem;
  margin: 0;
}
.sp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1.75rem;
}
.sp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .8rem 1.2rem;
  border-radius: 999px;
  background: #f7f1e8;
  /* The pill is cream on every palette, so its text can't follow --sp-ink —
     on a dark palette that would be cream on cream. */
  color: #17110f;
  font-weight: 700;
  font-size: .92rem;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease;
}
.sp-btn:hover { transform: translateY(-1px); background: #fff; }
.sp-btn-ghost {
  background: transparent;
  color: #f7f1e8;
  border: 1px solid rgba(247,241,232,.38);
}
.sp-btn-ghost:hover { background: rgba(247,241,232,.08); }
.sp-hero-mark {
  width: min(100%, 11.5rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(247,241,232,.08);
  border: 1px solid rgba(247,241,232,.16);
  display: grid;
  place-items: center;
  padding: 1.35rem;
  justify-self: end;
  backdrop-filter: blur(8px);
}
.sp-hero-mark.logo-dark { background: rgba(10,8,7,.55); }
.sp-hero-mark img {
  max-width: 88%;
  max-height: 88%;
  object-fit: contain;
}

/* Paper hero: a shop with no photography and a light ground gets a printed
   card instead of a dark slab — hairline rules, ink type, accent buttons. */
/* The hero sits on the ground colour, not on surface: it is the first screen,
   so whatever it is painted with is the colour the page is remembered as, and
   surface is reserved for the cards laid on top. */
.shop-presentation--paper .sp-hero {
  background: var(--sp-bg);
  color: var(--sp-ink);
  border-bottom: 1px solid color-mix(in srgb, var(--sp-ink) 14%, transparent);
}
.shop-presentation--paper .sp-hero-atmosphere {
  background:
    linear-gradient(color-mix(in srgb, var(--sp-ink) 4%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--sp-ink) 4%, transparent) 1px, transparent 1px);
}
.shop-presentation--paper .sp-hero h1 { color: var(--sp-ink); }
.shop-presentation--paper .sp-brand-name,
.shop-presentation--paper .sp-topbar:not(.is-stuck) .sp-topbar-brand { color: var(--sp-ink); }
.shop-presentation--paper .sp-eyebrow,
.shop-presentation--paper .sp-lede,
.shop-presentation--paper .sp-topbar:not(.is-stuck) .sp-topbar-nav a { color: var(--sp-muted); }
.shop-presentation--paper .sp-topbar:not(.is-stuck) .sp-topbar-nav a:hover { color: var(--sp-accent); }
.shop-presentation--paper .sp-hero .sp-badge,
.shop-presentation--paper .sp-topbar:not(.is-stuck) .sp-btn-outline {
  background: transparent;
  color: var(--sp-ink);
  border-color: color-mix(in srgb, var(--sp-ink) 20%, transparent);
  backdrop-filter: none;
}
.shop-presentation--paper .sp-hero .sp-badge-muted { color: var(--sp-muted); }
.shop-presentation--paper .sp-hero .sp-badge.is-open { color: #1c6b39; border-color: rgba(28,107,57,.32); }
.shop-presentation--paper .sp-hero .sp-badge.is-closed { color: #8a3324; border-color: rgba(138,51,36,.3); }
.shop-presentation--paper .sp-hero .sp-btn,
.shop-presentation--paper .sp-topbar:not(.is-stuck) .sp-btn:not(.sp-btn-outline) {
  background: var(--sp-accent);
  color: #fff;
}
.shop-presentation--paper .sp-hero .sp-btn:hover {
  background: color-mix(in srgb, var(--sp-accent) 82%, #000);
}
.shop-presentation--paper .sp-hero .sp-btn-ghost {
  background: transparent;
  color: var(--sp-ink);
  border-color: color-mix(in srgb, var(--sp-ink) 22%, transparent);
}
.shop-presentation--paper .sp-hero .sp-btn-ghost:hover {
  background: color-mix(in srgb, var(--sp-ink) 5%, transparent);
}
.shop-presentation--paper .sp-hero-card {
  background: var(--sp-surface);
  border-color: color-mix(in srgb, var(--sp-ink) 14%, transparent);
  box-shadow: 0 12px 30px -22px color-mix(in srgb, var(--sp-ink) 60%, transparent);
  color: var(--sp-ink);
  backdrop-filter: none;
}
.shop-presentation--paper .sp-hero-monogram {
  border-bottom-color: color-mix(in srgb, var(--sp-ink) 16%, transparent);
  color: var(--sp-accent);
}
.shop-presentation--paper .sp-hero-card-label { color: var(--sp-muted); }
/* The default gradient reads as mud when the page around it is warm white;
   a flat accent band is the one saturated moment on a paper page. */
.shop-presentation--paper .sp-cta {
  background: var(--sp-accent);
}

/* Stands in for the logo/photo column on a shop that has neither: a monogram
   over the two facts worth reading before you leave the house. */
.sp-hero-card {
  align-self: end;
  justify-self: end;
  width: min(100%, 15rem);
  padding: 1.35rem 1.4rem 1.15rem;
  border: 1px solid rgba(247,241,232,.22);
  background: rgba(247,241,232,.06);
  backdrop-filter: blur(8px);
  color: #f7f1e8;
}
.sp-hero-monogram {
  margin: 0 0 1rem;
  padding-bottom: .9rem;
  border-bottom: 1px solid rgba(247,241,232,.2);
  font-family: var(--sp-font-display);
  font-size: 2.6rem;
  font-weight: 650;
  line-height: 1;
  letter-spacing: .04em;
  text-align: center;
}
.sp-hero-card-row { display: grid; gap: .1rem; }
.sp-hero-card-row + .sp-hero-card-row { margin-top: .85rem; }
.sp-hero-card-label {
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(247,241,232,.62);
}
.sp-hero-card-value {
  font-family: var(--sp-font-display);
  font-size: 1.02rem;
  font-weight: 650;
  line-height: 1.35;
}

.sp-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.5rem;
}
.sp-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .45rem .85rem;
  border-radius: 999px;
  background: rgba(247,241,232,.12);
  border: 1px solid rgba(247,241,232,.22);
  color: #f7f1e8;
  font-size: .85rem;
  font-weight: 600;
  backdrop-filter: blur(6px);
}
.sp-badge-muted { color: rgba(247,241,232,.7); font-weight: 500; }
.sp-dot {
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: currentColor;
}
.sp-badge.is-open { color: #b6f0c4; border-color: rgba(140,225,165,.4); }
.sp-badge.is-closed { color: #f2c9c2; border-color: rgba(240,170,155,.35); }
.sp-badge-sm {
  padding: .25rem .6rem;
  font-size: .72rem;
  background: color-mix(in srgb, var(--sp-ink) 6%, transparent);
  border-color: color-mix(in srgb, var(--sp-ink) 14%, transparent);
  backdrop-filter: none;
}
.sp-badge-sm.is-open { color: #1c6b39; border-color: rgba(28,107,57,.3); }
.sp-badge-sm.is-closed { color: #8a3324; border-color: rgba(138,51,36,.28); }

/* Dark palettes: the body sections invert with --sp-ink, but anything tuned for
   contrast against a pale ground needs its own value. */
.shop-presentation--dark .sp-badge-sm.is-open { color: #7fd8a0; border-color: rgba(127,216,160,.35); }
.shop-presentation--dark .sp-badge-sm.is-closed { color: #f0a89b; border-color: rgba(240,168,155,.32); }
.shop-presentation--dark .sp-topbar.is-stuck { box-shadow: 0 1px 0 rgba(247,241,232,.12); }
.shop-presentation--dark .sp-stage { box-shadow: none; }
/* Dark palettes carry brighter accents, so the CTA band takes less of it before
   it stops being a band and becomes a flare. */
.shop-presentation--dark .sp-cta {
  background: linear-gradient(165deg, color-mix(in srgb, var(--sp-accent) 52%, #140b09) 0%, #17100e 100%);
}

/* Facts a visitor checks before deciding: hours, where, phone, what's on. */
.sp-factbar {
  background: var(--sp-surface);
  border-bottom: 1px solid color-mix(in srgb, var(--sp-ink) 10%, transparent);
  padding: 0 1.25rem;
}
.sp-factbar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
}
.sp-fact {
  padding: 1.1rem 1.4rem 1.15rem;
  border-left: 1px solid color-mix(in srgb, var(--sp-ink) 8%, transparent);
}
.sp-fact:first-child { border-left: 0; padding-left: 0; }
.sp-fact-label {
  display: block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sp-muted);
  margin-bottom: .35rem;
}
.sp-fact-value {
  font-size: .98rem;
  font-weight: 600;
  color: var(--sp-ink);
  text-decoration: none;
  line-height: 1.35;
}
a.sp-fact-value:hover { color: var(--sp-accent); }

/* scroll-margin keeps a nav jump from landing under the sticky bar. */
.sp-section { padding: clamp(2.75rem, 6vw, 4.5rem) 1.25rem; scroll-margin-top: 4.5rem; }
.shop-presentation--compact .sp-section { padding: 2rem 1rem; }
.shop-presentation--airy .sp-section { padding: 5rem 1.5rem; }
.sp-narrow { max-width: 40rem; margin: 0 auto; }
.sp-wide { max-width: 960px; margin: 0 auto; }
.sp-section-head { margin-bottom: 1.75rem; }
.sp-kicker {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sp-accent);
  margin: 0 0 .55rem;
}
.sp-section h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.35rem);
  line-height: 1.12;
  margin: 0;
}
.sp-about {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--sp-surface) 70%, transparent), transparent 40%),
    var(--sp-bg);
}
.sp-about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
/* Without a photo the story reads as a centred editorial column rather than a
   half-width block with dead space beside it. */
.sp-about-grid.single {
  grid-template-columns: 1fr;
  max-width: 44rem;
  margin-inline: auto;
  text-align: center;
}
.sp-about-grid.single .sp-prose { text-align: left; font-size: 1.12rem; }
.sp-about-grid.single .sp-prose::before {
  content: "";
  display: block;
  width: 2.75rem;
  height: 1px;
  margin: 0 auto 1.5rem;
  background: var(--sp-accent);
}
.sp-about-grid.single .sp-social { justify-content: center; }
.sp-about-photo { margin: 0; }
.sp-about-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 18px 40px -22px rgba(20,12,8,.6);
}
.sp-social {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .65rem;
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
}
.sp-social a {
  display: inline-block;
  padding: .4rem .85rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--sp-ink) 16%, transparent);
  font-size: .84rem;
  font-weight: 600;
  color: var(--sp-ink);
  text-decoration: none;
  transition: border-color .2s ease, color .2s ease;
}
.sp-social a:hover { color: var(--sp-accent); border-color: var(--sp-accent); }
.sp-section-link {
  display: inline-block;
  margin-top: .75rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--sp-accent);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--sp-accent) 40%, transparent);
  padding-bottom: .1rem;
}
.sp-section-link:hover { border-bottom-color: var(--sp-accent); }

.sp-prose {
  margin-top: 1.15rem;
  font-size: 1.08rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--sp-ink) 88%, var(--sp-muted));
}
.sp-prose p { margin: 0 0 .9rem; }
.sp-prose p:last-child { margin-bottom: 0; }

/* Set like a printed menu: courses, dot leaders, no repeated tags. */
/* One centred column, like a card handed to you at the table. Two columns
   balance badly whenever the courses are uneven, which is most menus. */
.sp-menu-card {
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.5rem);
  max-width: 46rem;
  margin-inline: auto;
  padding: clamp(1.5rem, 4vw, 2.75rem) clamp(1.25rem, 4vw, 3rem);
  background: var(--sp-surface);
  border: 1px solid color-mix(in srgb, var(--sp-ink) 12%, transparent);
  border-radius: .5rem;
}
.sp-offerings .sp-section-head { text-align: center; }
.sp-menu-group { break-inside: avoid; }
.sp-menu-group-label {
  margin: 0 0 .35rem;
  font-family: var(--sp-font-body);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sp-accent);
}
.sp-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid color-mix(in srgb, var(--sp-ink) 16%, transparent);
}
.sp-menu-item {
  position: relative;
  padding: 1.05rem 0 1.1rem;
  border-bottom: 1px solid color-mix(in srgb, var(--sp-ink) 11%, transparent);
}
.sp-menu-top {
  display: flex;
  align-items: baseline;
  gap: .55rem;
}
.sp-menu-name {
  font-family: var(--sp-font-display);
  font-weight: 650;
  font-size: 1.15rem;
  line-height: 1.3;
}
/* The leader is a dotted rule that grows to whatever space is left, so the
   price always lands on the right margin the way a menu sets it. */
.sp-menu-dots {
  flex: 1 1 auto;
  min-width: 1.5rem;
  align-self: flex-end;
  transform: translateY(-.32em);
  border-bottom: 1px dotted color-mix(in srgb, var(--sp-ink) 32%, transparent);
}
.sp-menu-price {
  font-family: var(--sp-font-display);
  font-weight: 650;
  font-size: 1.05rem;
  color: var(--sp-accent);
  white-space: nowrap;
}
.sp-menu-item p {
  margin: .35rem 0 0;
  color: var(--sp-muted);
  line-height: 1.55;
  max-width: 38rem;
}

.sp-offers {
  background: color-mix(in srgb, var(--sp-surface) 82%, var(--sp-bg));
}
/* Week-at-a-glance: for venues whose deals are a weekly rhythm, the schedule
   is the product — a flat list buries which night to come in. */
.sp-week {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  border-top: 1px solid color-mix(in srgb, var(--sp-ink) 12%, transparent);
}
.sp-week-day {
  display: grid;
  grid-template-columns: 10rem minmax(0, 1fr);
  gap: 1rem;
  padding: .95rem 0 1rem;
  border-bottom: 1px solid color-mix(in srgb, var(--sp-ink) 12%, transparent);
}
.sp-week-day.is-today {
  background: color-mix(in srgb, var(--sp-accent) 7%, transparent);
  box-shadow: inset 3px 0 0 var(--sp-accent);
  padding-left: 1rem;
  padding-right: 1rem;
  margin-left: -1rem;
  margin-right: -1rem;
}
.sp-week-day.is-empty { opacity: .55; }
.sp-week-label {
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.sp-week-name {
  font-family: var(--sp-font-display);
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--sp-ink);
}
.sp-week-today {
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sp-accent);
}
.sp-week-body { display: grid; gap: .6rem; }
.sp-week-item {
  display: grid;
  gap: .15rem;
  text-decoration: none;
  color: inherit;
}
.sp-week-title {
  font-weight: 650;
  font-size: 1rem;
  line-height: 1.3;
  color: var(--sp-ink);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: .18em;
  transition: text-decoration-color .2s ease;
}
.sp-week-item:hover .sp-week-title { text-decoration-color: var(--sp-accent); }
.sp-week-value {
  font-family: var(--sp-font-display);
  font-weight: 650;
  color: var(--sp-accent);
  font-size: .98rem;
}
.sp-week-note {
  color: var(--sp-muted);
  font-size: .9rem;
  line-height: 1.45;
}
.sp-week-none {
  color: var(--sp-muted);
  font-size: .92rem;
  font-style: italic;
}
.sp-subhead {
  font-size: 1.15rem;
  margin: 0 0 .9rem;
}

.sp-photos { background: var(--sp-bg); }
.sp-gallery {
  display: grid;
  gap: .75rem;
  --sp-slide-seconds: 6s;
}
.sp-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 3px;
  background: color-mix(in srgb, var(--sp-ink) 92%, #000);
  box-shadow: 0 30px 60px -40px color-mix(in srgb, var(--sp-ink) 75%, transparent);
}
.sp-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity .9s ease;
}
.sp-slide.is-active { opacity: 1; }
.sp-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.04);
}
/* A slow drift across the photo so a still image still feels alive. */
.sp-slide.is-active img { animation: sp-kenburns calc(var(--sp-slide-seconds) + 3s) ease-out forwards; }
@keyframes sp-kenburns {
  from { transform: scale(1.04); }
  to { transform: scale(1.11) translate3d(-1%, -1%, 0); }
}
.sp-slide figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 3.5rem 1.2rem 1.1rem;
  color: #f7f1e8;
  font-size: .92rem;
  line-height: 1.4;
  background: linear-gradient(180deg, transparent, rgba(8,6,5,.78));
}
.sp-stage-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.9rem;
  height: 2.9rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(247,241,232,.35);
  border-radius: 50%;
  background: rgba(12,9,8,.42);
  backdrop-filter: blur(6px);
  color: #f7f1e8;
  cursor: pointer;
  opacity: .75;
  transition: opacity .2s ease, background .2s ease, transform .2s ease;
}
.sp-stage-nav:hover { opacity: 1; background: rgba(12,9,8,.7); }
.sp-stage-nav:focus-visible { opacity: 1; outline: 2px solid #f7f1e8; outline-offset: 2px; }
.sp-stage-nav.is-prev { left: .9rem; }
.sp-stage-nav.is-next { right: .9rem; }
.sp-stage-nav svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sp-stage-count {
  position: absolute;
  top: .9rem;
  right: 1rem;
  margin: 0;
  padding: .25rem .6rem;
  font-family: var(--sp-font-display);
  font-size: .82rem;
  letter-spacing: .04em;
  color: #f7f1e8;
  background: rgba(12,9,8,.45);
  backdrop-filter: blur(6px);
  border-radius: 999px;
}
.sp-stage-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(247,241,232,.18);
}
.sp-stage-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--sp-accent);
}
.sp-stage-progress span.is-running { animation: sp-slide-timer var(--sp-slide-seconds) linear forwards; }
@keyframes sp-slide-timer { from { width: 0; } to { width: 100%; } }
.sp-gallery.is-paused .sp-stage-progress span,
.sp-gallery.is-paused .sp-slide img { animation-play-state: paused; }
.sp-gallery.is-single .sp-stage-nav,
.sp-gallery.is-single .sp-stage-count,
.sp-gallery.is-single .sp-stage-progress,
.sp-gallery.is-single .sp-thumbs { display: none; }
/* The rail is a filmstrip under the stage: the thumbs share the stage's width
   so the row ends where the photo ends, and only start scrolling once there are
   more of them than fit at a legible size. */
.sp-thumbs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(4.5rem, 1fr);
  gap: .5rem;
  overflow-x: auto;
  padding-bottom: .3rem;
  scrollbar-width: thin;
}
.sp-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  border-radius: 2px;
  overflow: hidden;
  cursor: pointer;
  opacity: .48;
  filter: saturate(.75);
  transition: opacity .2s ease, filter .2s ease, box-shadow .2s ease;
}
.sp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sp-thumb:hover { opacity: .85; filter: none; }
.sp-thumb.is-active {
  opacity: 1;
  filter: none;
  box-shadow: inset 0 -3px 0 0 var(--sp-accent);
}
.sp-thumb:focus-visible { outline: 2px solid var(--sp-accent); outline-offset: 2px; }
/* No animation means no timer: the slideshow stays where the visitor left it. */
@media (prefers-reduced-motion: reduce) {
  .sp-slide { transition: none; }
  .sp-slide.is-active img,
  .sp-stage-progress span.is-running { animation: none; }
  .sp-stage-progress { display: none; }
}

.sp-deal-list {
  display: grid;
  gap: .85rem;
}
.sp-deal {
  display: block;
  padding: 1.15rem 1.25rem 1.2rem;
  text-decoration: none;
  color: inherit;
  background: var(--sp-surface);
  border: 1px solid color-mix(in srgb, var(--sp-ink) 10%, transparent);
  border-left: 3px solid var(--sp-accent);
  transition: border-color .2s ease, transform .2s ease;
}
.sp-deal:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--sp-accent) 45%, transparent);
}
.sp-deal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .85rem;
  margin-bottom: .4rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--sp-muted);
}
.sp-deal-kind { color: var(--sp-accent); }
.sp-deal h3 {
  font-size: 1.2rem;
  margin: 0 0 .35rem;
  line-height: 1.25;
}
.sp-deal p {
  margin: 0;
  color: var(--sp-muted);
  line-height: 1.45;
  font-size: .95rem;
}
.sp-deal-value {
  display: inline-block;
  margin-top: .65rem;
  font-family: var(--sp-font-display);
  font-size: 1.05rem;
  color: var(--sp-accent);
}

.sp-visit {
  background:
    radial-gradient(80% 60% at 100% 0%, color-mix(in srgb, var(--sp-accent) 10%, transparent), transparent 60%),
    var(--sp-bg);
}
.sp-visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.sp-visit-grid.single { grid-template-columns: 1fr; max-width: 28rem; }
.sp-visit-panel {
  background: var(--sp-surface);
  border: 1px solid color-mix(in srgb, var(--sp-ink) 10%, transparent);
  padding: 1.35rem 1.4rem 1.5rem;
}
.sp-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: 1rem;
}
.sp-visit-panel h3 {
  font-size: 1.05rem;
  margin: 0;
}
.sp-panel-link {
  display: inline-block;
  margin-top: 1.15rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--sp-accent);
  text-decoration: none;
}
.sp-panel-link:hover { text-decoration: underline; }
.sp-contact-social { display: flex; flex-wrap: wrap; gap: .75rem; }
.sp-hours-table { width: 100%; border-collapse: collapse; }
.sp-hours-table th {
  text-align: left;
  font-weight: 600;
  padding: .42rem .85rem .42rem 0;
  color: var(--sp-muted);
  width: 7.5rem;
  font-size: .92rem;
}
.sp-hours-table td { padding: .42rem 0; font-size: .95rem; }
.sp-hours-table tr.is-today th,
.sp-hours-table tr.is-today td {
  font-weight: 700;
  color: var(--sp-ink);
}
.sp-hours-table tr.is-today th::after {
  content: " today";
  font-size: .68rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--sp-accent);
  font-weight: 700;
}
.sp-contact-list { display: grid; gap: 1rem; }
.sp-contact-list dt {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--sp-muted);
}
.sp-contact-list dd {
  margin: .25rem 0 0;
  font-size: 1.02rem;
  line-height: 1.4;
}
.sp-contact-list a {
  color: var(--sp-ink);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--sp-accent) 55%, transparent);
  text-underline-offset: .18em;
}
.sp-contact-list a:hover { color: var(--sp-accent); }

.sp-cta {
  padding: clamp(2.75rem, 6vw, 4rem) 1.25rem;
  background:
    linear-gradient(165deg, color-mix(in srgb, var(--sp-accent) 88%, #140b09) 0%, #1a100e 100%);
  color: #f7f1e8;
  text-align: center;
}
.sp-cta h2 {
  color: #fff;
  font-size: clamp(1.45rem, 3vw, 2rem);
  margin: 0 0 .7rem;
}
.sp-cta p {
  margin: 0 auto 1.5rem;
  color: rgba(247,241,232,.82);
  line-height: 1.6;
  max-width: 34rem;
}

.sp-powered {
  margin: 0;
  padding: 1.75rem 1.25rem 2.25rem;
  text-align: center;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--sp-muted) 85%, var(--sp-bg));
}
.sp-powered a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--sp-muted) 35%, transparent);
  padding-bottom: .1rem;
  transition: color .2s ease, border-color .2s ease;
}
.sp-powered a:hover {
  color: var(--sp-accent);
  border-bottom-color: color-mix(in srgb, var(--sp-accent) 45%, transparent);
}
.sp-demo-banner {
  background: #111;
  color: #fafafa;
  text-align: center;
  font-size: .78rem;
  font-weight: 650;
  letter-spacing: .04em;
  padding: .55rem 1rem;
}

.sp-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1);
}
.sp-reveal.is-visible {
  opacity: 1;
  transform: none;
}
.sp-hero .sp-reveal { transition-delay: .05s; }

@media (max-width: 760px) {
  .sp-hero-inner {
    grid-template-columns: 1fr;
    padding: 3rem 0 2.5rem;
  }
  .sp-hero-mark {
    order: -1;
    width: 6.5rem;
    justify-self: start;
    padding: .85rem;
  }
  .sp-hero h1 { max-width: none; }
  .sp-visit-grid { grid-template-columns: 1fr; }
  .sp-topbar-nav { display: none; }
  .sp-topbar-inner { gap: .75rem; }
  .sp-topbar-actions { margin-left: auto; }
  .sp-about-grid { grid-template-columns: 1fr; }
  .sp-about-photo { order: -1; }
  .sp-fact { padding: .9rem 0; border-left: 0; }
  .sp-factbar-grid { grid-template-columns: 1fr 1fr; gap: 0 1.25rem; }
  .sp-week-day {
    grid-template-columns: 1fr;
    gap: .35rem;
  }
  .sp-week-label { flex-direction: row; align-items: baseline; gap: .55rem; }
  .sp-stage { aspect-ratio: 4 / 3; }
  .sp-stage-nav { width: 2.3rem; height: 2.3rem; }
  .sp-stage-nav.is-prev { left: .5rem; }
  .sp-stage-nav.is-next { right: .5rem; }
  .sp-thumbs {
    grid-auto-columns: minmax(4rem, 1fr);
    scrollbar-width: none; /* the rail is swipeable; the bar just eats space */
  }
  .sp-thumbs::-webkit-scrollbar { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .sp-reveal,
  .sp-btn,
  .sp-deal {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

.owner-manage { max-width: 720px; margin: 0 auto; padding: 2rem 1rem 3rem; }
.owner-manage h1 { font-size: 1.6rem; margin-bottom: .5rem; }
.owner-manage .panel {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1rem 1.1rem;
  margin: 1rem 0;
  background: var(--card);
}
