/* ==========================================================================
   Redwood Roots — design system
   Brand: charcoal #2D2727 · dots #DA3B3F #F1B12D #26A858 #226EA8 · CTA #38C68B
   Mobile-first. No horizontal scroll at any width. Tap targets ≥44px.
   ========================================================================== */

:root {
  --red: #DA3B3F;
  --yellow: #F1B12D;
  --green: #26A858;
  --blue: #226EA8;
  --cta: #38C68B;
  --cta-dark: #2AA274;
  --charcoal: #2D2727;
  --ink: #231F1F;
  --ink-soft: #55504E;
  --paper: #FFFFFF;
  --paper-warm: #F7F5F1;
  --line: #E7E2DC;
  --radius: 14px;
  --radius-pill: 100px;
  --container: 1200px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --header-h: 72px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --shadow: 0 8px 30px rgba(35, 31, 31, .10);
  --shadow-soft: 0 2px 12px rgba(35, 31, 31, .07);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  overflow-x: clip;
}
img, video, svg, iframe { max-width: 100%; }
img, video { height: auto; display: block; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.015em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); }
p { margin: 0 0 1.1em; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
ul, ol { padding-left: 1.3em; margin: 0 0 1.2em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 780px; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--charcoal); color: #fff; padding: .75rem 1.25rem; z-index: 200; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .7rem 1.6rem;
  border-radius: var(--radius-pill); border: 2px solid transparent;
  font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--cta); color: var(--charcoal); }
.btn-primary:hover { background: var(--cta-dark); color: #fff; }
.btn-dark { background: var(--charcoal); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-outline { background: transparent; color: var(--charcoal); border-color: var(--charcoal); }
.btn-outline:hover { background: var(--charcoal); color: #fff; }
.btn-light-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.85); }
.btn-light-outline:hover { background: #fff; color: var(--charcoal); }

/* ---------- brand dots ---------- */
.dots { display: inline-flex; gap: .5rem; align-items: center; }
.dots i { width: .85em; height: .85em; border-radius: 50%; display: inline-block; }
.dots i:nth-child(1) { background: var(--red); }
.dots i:nth-child(2) { background: var(--yellow); }
.dots i:nth-child(3) { background: var(--green); }
.dots i:nth-child(4) { background: var(--blue); }
.dots-lg { font-size: 1.6rem; }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: var(--header-h);
}
.logo { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); min-width: 0; }
.logo .dots i { width: 11px; height: 11px; }
.logo-text { line-height: 1.1; min-width: 0; }
.logo-text b { display: block; font-size: 1.22rem; letter-spacing: -.02em; white-space: nowrap; }
.logo-text span { display: block; font-size: .72rem; color: var(--ink-soft); letter-spacing: .02em; white-space: nowrap; }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 48px; height: 48px; border: 0; background: none; cursor: pointer; border-radius: 10px;
}
.nav-toggle:hover { background: var(--paper-warm); }
.nav-toggle .ham { position: relative; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: background .15s; }
.nav-toggle .ham::before, .nav-toggle .ham::after {
  content: ""; position: absolute; left: 0; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, top .2s ease;
}
.nav-toggle .ham::before { top: -7px; }
.nav-toggle .ham::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .ham { background: transparent; }
.nav-toggle[aria-expanded="true"] .ham::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .ham::after { top: 0; transform: rotate(-45deg); }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .25rem; }
.site-nav a:not(.btn), .site-nav .drop-btn {
  display: flex; align-items: center; gap: .3rem;
  padding: .6rem .85rem; min-height: 44px;
  font-weight: 600; font-size: .98rem; color: var(--ink); text-decoration: none;
  background: none; border: 0; cursor: pointer; border-radius: 10px; font-family: inherit;
}
.site-nav a:not(.btn):hover, .site-nav .drop-btn:hover { background: var(--paper-warm); color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--green); }
.site-nav .cta-item { margin-left: .5rem; }
.site-nav .cta-item .btn { min-height: 44px; padding: .55rem 1.3rem; }

.has-drop { position: relative; }
.drop-btn .caret { width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.drop-btn[aria-expanded="true"] .caret { transform: rotate(225deg) translateY(-2px); }
.dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 250px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: .5rem; display: none; z-index: 110;
}
.dropdown.open { display: block; }
.dropdown a { display: block; padding: .65rem .8rem; border-radius: 9px; font-weight: 600; }
.dropdown a small { display: block; font-weight: 400; color: var(--ink-soft); font-size: .82rem; line-height: 1.35; margin-top: 2px; }

/* mobile nav */
@media (max-width: 1099px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; max-height: calc(100dvh - var(--header-h));
    overflow-y: auto; background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); display: none; z-index: 99;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: .75rem var(--gutter) 1.25rem; }
  .site-nav li { border-bottom: 1px solid var(--paper-warm); }
  .site-nav li:last-child { border-bottom: 0; }
  .site-nav a:not(.btn), .site-nav .drop-btn { width: 100%; min-height: 50px; font-size: 1.06rem; padding: .7rem .35rem; border-radius: 8px; justify-content: space-between; }
  .dropdown { position: static; display: none; border: 0; box-shadow: none; padding: 0 0 .5rem .75rem; min-width: 0; }
  .dropdown.open { display: block; }
  .dropdown a { min-height: 46px; }
  .site-nav .cta-item { margin: 1rem 0 .25rem; }
  .site-nav .cta-item .btn { width: 100%; min-height: 52px; font-size: 1.05rem; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; color: #fff; overflow: clip;
  display: flex; align-items: center;
  min-height: min(88vh, 760px);
  background: var(--charcoal);
}
.hero-media, .hero-media video, .hero-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(45,39,39,.62) 0%, rgba(45,39,39,.45) 55%, rgba(45,39,39,.72) 100%); }
.hero .container { position: relative; z-index: 2; padding-block: clamp(4rem, 10vw, 7rem); }
.hero h1 { color: #fff; max-width: 17ch; }
.hero .lede { font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 56ch; color: rgba(255,255,255,.92); }
.hero .btn-row { margin-top: 1.6rem; }
.hero .dots { margin-bottom: 1.2rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

.page-hero { background: var(--charcoal); color: #fff; padding: clamp(2.6rem, 7vw, 4.5rem) 0 clamp(2rem, 5vw, 3rem); }
.page-hero h1 { color: #fff; }
.page-hero .lede { color: rgba(255,255,255,.88); font-size: clamp(1.02rem, 1.8vw, 1.2rem); max-width: 62ch; }
.page-hero .dots { margin-bottom: 1rem; }

.breadcrumbs { font-size: .88rem; margin: 0 0 1.2rem; color: rgba(255,255,255,.75); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; padding: 0; margin: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: .35rem; opacity: .6; }
.breadcrumbs a { color: inherit; }

/* ---------- sections ---------- */
.section { padding-block: clamp(3rem, 8vw, 5.5rem); }
.section-warm { background: var(--paper-warm); }
.section-dark { background: var(--charcoal); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(255,255,255,.85); }
.section-dark a { color: #9FD8BF; }
.kicker {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .82rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: .9rem;
}
.section-dark .kicker { color: rgba(255,255,255,.7); }
.kicker::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--red) 0 25%, var(--yellow) 25% 50%, var(--green) 50% 75%, var(--blue) 75% 100%); }
.section-head { max-width: 720px; margin-bottom: clamp(1.6rem, 4vw, 2.6rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .kicker { justify-content: center; }

/* ---------- grids & cards ---------- */
.grid { display: grid; gap: clamp(1rem, 2.5vw, 1.6rem); }
.grid > *, .brand-grid > *, .split > *, .footer-grid > * { min-width: 0; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.3rem, 3vw, 1.8rem); box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column; gap: .4rem;
}
.card h3 { margin-bottom: .2rem; }
.card p { color: var(--ink-soft); margin-bottom: .6rem; }
.card .card-link { margin-top: auto; font-weight: 700; text-decoration: none; color: var(--green); }
.card .card-link:hover { text-decoration: underline; }
.card .icon { width: 46px; height: 46px; margin-bottom: .6rem; color: var(--charcoal); }
a.card { text-decoration: none; color: inherit; transition: transform .18s ease, box-shadow .18s ease; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.split { display: grid; gap: clamp(1.6rem, 4vw, 3rem); align-items: center; grid-template-columns: 1fr 1fr; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split .media img, .split .media video { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; text-align: center; }
@media (max-width: 800px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1rem; }
.section-dark .stat { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
.stat b { display: block; font-size: clamp(2rem, 4.5vw, 2.8rem); letter-spacing: -.02em; line-height: 1; }
.stat b { color: var(--green); }
.stat span { color: var(--ink-soft); font-size: .95rem; font-weight: 600; }
.section-dark .stat span { color: rgba(255,255,255,.75); }

/* ---------- brand logos ---------- */
.brand-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
@media (max-width: 1000px) { .brand-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) { .brand-grid { grid-template-columns: repeat(2, 1fr); } }
.brand-tile {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 1rem; gap: .6rem; min-height: 130px; text-align: center;
}
.brand-tile.dark { background: var(--charcoal); border-color: var(--charcoal); }
.brand-tile img { max-height: 74px; width: auto; max-width: min(100%, 200px); object-fit: contain; }
.brand-tile .tile-name { font-size: .85rem; font-weight: 700; color: var(--ink-soft); }
.brand-tile.dark .tile-name { color: rgba(255,255,255,.8); }
figure.brand-tile { margin: 0; }
a.brand-tile { text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
a.brand-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--green); }
a.brand-tile:hover .tile-name { color: var(--green); }
a.brand-tile.dark:hover .tile-name { color: #9FD8BF; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.05rem .2rem; font-weight: 700; font-size: 1.05rem; min-height: 48px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--green); flex-shrink: 0; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq .faq-a { padding: 0 .2rem 1.2rem; color: var(--ink-soft); max-width: 70ch; }

/* ---------- embeds (Meadow / JotForm) ---------- */
.embed-shell { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(.6rem, 2vw, 1.2rem); box-shadow: var(--shadow-soft); }
.embed-shell iframe { width: 100%; border: 0; border-radius: 10px; }
.meadow-wrap { min-height: 540px; }

/* ---------- store locator ---------- */
.locator-layout { display: grid; grid-template-columns: minmax(300px, 420px) 1fr; gap: 1.2rem; align-items: start; }
@media (max-width: 900px) { .locator-layout { grid-template-columns: 1fr; } }
#map { height: 560px; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-soft); z-index: 1; }
@media (max-width: 900px) { #map { height: 420px; } }
.locator-panel { display: flex; flex-direction: column; gap: .8rem; max-height: 560px; }
@media (max-width: 900px) { .locator-panel { max-height: none; order: 2; } }
.locator-controls { display: flex; gap: .6rem; flex-wrap: wrap; }
.locator-controls select, .locator-controls input[type="search"] {
  flex: 1 1 140px; min-height: 48px; padding: .5rem .9rem; font-size: 1rem; font-family: inherit;
  border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink);
}
.store-list { overflow-y: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; flex: 1; min-height: 200px; }
@media (max-width: 900px) { .store-list { max-height: 420px; } }
.store-item { padding: .85rem 1rem; border-bottom: 1px solid var(--paper-warm); cursor: pointer; }
.store-item:hover, .store-item.active { background: var(--paper-warm); }
.store-item b { display: block; }
.store-item small { color: var(--ink-soft); }
.store-item a { font-size: .9rem; font-weight: 600; }
.leaflet-popup-content { font-family: var(--font); }
.leaflet-popup-content b { font-size: 1rem; }

/* region fallback lists (no-JS + SEO) */
.region-block h3 { margin-top: 1.6rem; }
.region-block ul { columns: 2; column-gap: 2.5rem; }
@media (max-width: 700px) { .region-block ul { columns: 1; } }
.region-block li { margin-bottom: .35rem; break-inside: avoid; }

/* ---------- forms / newsletter ---------- */
.newsletter-form { display: grid; gap: .7rem; grid-template-columns: 1fr 1fr; max-width: 560px; }
.newsletter-form .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .newsletter-form { grid-template-columns: 1fr; } }
.newsletter-form input {
  min-height: 50px; padding: .6rem 1rem; font-size: 1rem; font-family: inherit; width: 100%;
  border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink);
}
.newsletter-form input:focus { border-color: var(--green); outline: none; }
.section-dark .newsletter-form input { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.25); color: #fff; }
.section-dark .newsletter-form input::placeholder { color: rgba(255,255,255,.55); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, #1F5E40, #2AA274); color: #fff; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); }
.cta-band .inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta-band .inner > div { max-width: 640px; }

/* ---------- footer ---------- */
.site-footer { background: var(--charcoal); color: rgba(255,255,255,.82); font-size: .96rem; }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: clamp(1.5rem, 4vw, 3rem); padding-block: clamp(2.5rem, 6vw, 4rem); }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .9rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55rem; }
.footer-brand b { color: #fff; font-size: 1.15rem; display: block; }
.footer-brand .dots { margin: .8rem 0; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.14); padding-block: 1.2rem; display: flex; flex-wrap: wrap; gap: .8rem 1.6rem; align-items: center; justify-content: space-between; font-size: .85rem; color: rgba(255,255,255,.6); }
.footer-legal ul { display: flex; flex-wrap: wrap; gap: 1.2rem; list-style: none; margin: 0; padding: 0; }
.lic { font-variant-numeric: tabular-nums; letter-spacing: .02em; }

/* ---------- age gate ---------- */
.age-gate { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 1rem; background: rgba(35,31,31,.8); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.age-gate[hidden] { display: none; }
.age-card { background: #fff; border-radius: var(--radius); max-width: 440px; width: 100%; padding: 2rem; text-align: center; box-shadow: var(--shadow); }
.age-card .dots { justify-content: center; display: flex; margin-bottom: 1rem; }
.age-card h2 { font-size: 1.5rem; }
.age-card p { color: var(--ink-soft); font-size: .98rem; }
.age-actions { display: grid; gap: .7rem; margin-top: 1.2rem; }
.age-note { font-size: .8rem; color: var(--ink-soft); margin-top: 1rem; margin-bottom: 0; }

/* ---------- misc ---------- */
.checklist { list-style: none; padding: 0; }
.checklist li { padding-left: 1.9em; position: relative; margin-bottom: .55rem; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 800; }
.prose { max-width: 72ch; }
.prose h2 { margin-top: 2rem; }
.prose h3 { margin-top: 1.5rem; }
.pill-list { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; }
.pill-list li a, .pill-list li span {
  display: inline-flex; align-items: center; min-height: 44px; padding: .45rem 1.1rem;
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-pill);
  font-weight: 600; font-size: .95rem; text-decoration: none; color: var(--ink);
}
.pill-list li a:hover { border-color: var(--green); color: var(--green); }
.section-dark .pill-list li a, .section-dark .pill-list li span { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.2); color: #fff; }
.notice { background: #FFF8E8; border: 1px solid #F2DFA8; border-radius: var(--radius); padding: 1rem 1.2rem; font-size: .95rem; color: #6B5618; }
.map-cta { margin-top: 1rem; }
/* animated phone mockup */
.phone-wrap { position: relative; display: flex; justify-content: center; padding-block: 1.5rem; }
.phone-glow {
  position: absolute; inset: 50% auto auto 50%; width: min(420px, 90%); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(56,198,139,.35) 0%, rgba(56,198,139,.12) 45%, transparent 70%);
  filter: blur(10px); border-radius: 50%;
  animation: glowPulse 7s ease-in-out infinite;
}
.phone-frame {
  position: relative; width: min(280px, 68vw); aspect-ratio: 9 / 19;
  background: #161313; border-radius: 44px; padding: 11px;
  box-shadow: 0 34px 70px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.14), inset 0 0 0 2px rgba(255,255,255,.05);
  animation: phoneFloat 7s ease-in-out infinite;
  will-change: transform;
}
.phone-notch {
  position: absolute; top: 21px; left: 50%; transform: translateX(-50%);
  width: 36%; height: 17px; background: #161313; border-radius: 10px; z-index: 2;
}
.phone-screen { width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: #fff; }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
@keyframes phoneFloat {
  0%, 100% { transform: translateY(0) rotate(-1.4deg); }
  50% { transform: translateY(-14px) rotate(1.4deg); }
}
@keyframes glowPulse {
  0%, 100% { opacity: .65; transform: translate(-50%, -50%) scale(.94); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.06); }
}
table { border-collapse: collapse; width: 100%; margin-bottom: 1.2rem; }
th, td { text-align: left; padding: .6rem .8rem; border-bottom: 1px solid var(--line); }

/* text-fallback brand tiles (no logo available) */
.brand-tile .tile-wordmark { display: flex; flex-direction: column; align-items: center; gap: .5rem; text-align: center; }
.brand-tile .tile-wordmark .dots i { width: 9px; height: 9px; }
.brand-tile .tile-wordmark b { font-size: 1.02rem; line-height: 1.25; letter-spacing: -.01em; color: var(--charcoal); }

/* large brand cards with blurbs (brands + budtenders pages) */
.brand-grid-lg { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 1.6rem); }
@media (max-width: 980px) { .brand-grid-lg { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .brand-grid-lg { grid-template-columns: 1fr; } }
.brand-grid-lg > * { min-width: 0; }
.bgl-card h3 { margin: .2rem 0 .15rem; font-size: 1.15rem; }
.bgl-card p { font-size: .95rem; }
.bgl-media { height: 150px; display: flex; align-items: center; justify-content: center; background: var(--paper-warm); border-radius: 10px; margin-bottom: .8rem; padding: 1rem; }
.bgl-media img { max-height: 120px; width: auto; max-width: 100%; object-fit: contain; }
.bgl-media.bgl-word { flex-direction: column; gap: .6rem; text-align: center; }
.bgl-media.bgl-word b { font-size: 1.2rem; letter-spacing: -.01em; color: var(--charcoal); }
.bgl-media.bgl-word .dots i { width: 11px; height: 11px; }
