/* Mattress Guy — Direct Outlet Mattress consult brand */
:root {
  /* Matched to directoutletmattresses.com Elementor kit + page CSS */
  --navy: #3F5BBF;              /* primary brand blue */
  --navy-mid: #3349A8;          /* slightly deeper primary */
  --charcoal: #1E3278;          /* deep blue for sticky header / overlays */
  --cream: #F8F9FF;             /* soft blue-white (form bg on live site) */
  --cream-dark: #F0F0F0;        /* soft gray */
  --warm-white: #FFFFFF;        /* site background */
  --amber: #3F5BBF;             /* CTA fill = primary */
  --amber-hover: #2F46A3;       /* CTA hover */
  --amber-soft: #F5DA67;        /* gold accent (icon highlight on live site) */
  --gold: #F5DA67;              /* alias for gold accents on dark surfaces */
  --teal: #3F5BBF;              /* links = primary */
  --teal-soft: #E8ECF8;         /* soft blue tint */
  --text: #171717;              /* body text */
  --text-muted: #5F5F5F;        /* muted / accent gray */
  --border: #DDE1F0;
  --white: #ffffff;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(63, 91, 191, 0.10);
  --shadow-lg: 0 12px 40px rgba(63, 91, 191, 0.14);
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", system-ui, -apple-system, sans-serif;
  --header-h: 72px;
  --mobile-bar-h: 64px;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--warm-white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.25rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.25rem); letter-spacing: -0.015em; }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: 0.4em; }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: #171717;
  padding: 0.75rem 1.25rem;
  z-index: 1000;
  font-weight: 600;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  /* positioning context for mobile nav dropdown */
  background: rgba(63, 91, 191, 0.98); /* primary #3F5BBF */
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding-block: 0.5rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.logo:hover { color: var(--gold); }
.logo span { color: var(--gold); font-weight: 500; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--cream);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.9rem;
}

.nav-primary {
  display: flex;
  align-items: center;
  gap: 0.25rem 1.35rem;
}

.nav-primary a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}
.nav-primary a:hover,
.nav-primary a[aria-current="page"] {
  color: var(--cream);
  border-bottom-color: var(--gold);
}

.header-cta {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }

.btn-amber {
  background: var(--amber);
  color: var(--white);
  border-color: var(--amber);
}
.btn-amber:hover { background: var(--amber-hover); border-color: var(--amber-hover); color: var(--white); }

/* On brand-blue surfaces, flip CTA to gold so phone buttons stay prominent */
.site-header .btn-amber,
.hero .btn-amber,
.page-hero .btn-amber,
.section-navy .btn-amber,
.hook-band .btn-amber,
.cta-band .btn-amber,
.contact-primary .btn-amber,
.mobile-cta-bar .btn-amber {
  background: var(--gold);
  color: #171717;
  border-color: var(--gold);
}
.site-header .btn-amber:hover,
.hero .btn-amber:hover,
.page-hero .btn-amber:hover,
.section-navy .btn-amber:hover,
.hook-band .btn-amber:hover,
.cta-band .btn-amber:hover,
.contact-primary .btn-amber:hover,
.mobile-cta-bar .btn-amber:hover {
  background: #e8c84a;
  border-color: #e8c84a;
  color: #171717;
}

.btn-outline-light {
  background: transparent;
  color: var(--cream);
  border-color: rgba(255, 255, 255, 0.55);
}
.btn-outline-light:hover { border-color: var(--cream); color: var(--cream); background: rgba(255,255,255,0.06); }

.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-dark:hover { background: var(--navy); color: var(--cream); }

.btn-teal {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.btn-teal:hover { background: var(--amber-hover); border-color: var(--amber-hover); color: var(--white); }

.btn-lg { padding: 0.95rem 1.6rem; font-size: 1.05rem; }
.btn-sm { padding: 0.45rem 0.9rem; font-size: 0.85rem; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-primary {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--navy-mid);
    padding: 1rem 1.25rem 1.25rem;
    gap: 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav-primary.is-open { display: flex; }
  .nav-primary a {
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav-primary a[aria-current="page"] { border-bottom-color: var(--gold); }
  .header-cta .btn-outline-light { display: none; }
}

/* —— Hero —— */
.hero {
  background:
    radial-gradient(ellipse 80% 60% at 90% 10%, rgba(245, 218, 103, 0.14), transparent 55%),
    radial-gradient(ellipse 60% 50% at 5% 80%, rgba(63, 91, 191, 0.18), transparent 50%),
    linear-gradient(165deg, var(--charcoal) 0%, var(--navy-mid) 55%, #1a2a5c 100%);
  color: var(--cream);
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(3.5rem, 8vw, 5rem);
  position: relative;
}

.hero-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero h1 {
  color: var(--cream);
  margin-bottom: 0.75rem;
  max-width: 14em;
}
.hero .lede {
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  color: rgba(255, 255, 255, 0.90);
  max-width: 32em;
  margin-bottom: 1.75rem;
  margin-inline: auto;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  justify-content: center;
  width: 100%;
}
.hero-ships {
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
  max-width: 36em;
  line-height: 1.55;
}
.hero-ships strong { color: var(--amber-soft); font-weight: 600; }

/* Combined Text / Call chooser */
.cta-chooser {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}
.cta-chooser-trigger {
  min-width: min(100%, 22rem);
}
.cta-chooser-menu {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 40;
  min-width: min(100vw - 2rem, 18rem);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px -16px rgba(30, 50, 120, 0.55);
  padding: 0.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.cta-chooser-menu[hidden] { display: none !important; }
.cta-chooser-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}
.cta-chooser-item:hover,
.cta-chooser-item:focus-visible {
  background: #F8F9FF;
  color: var(--navy);
  outline: none;
}
.cta-chooser-label {
  font-size: 1.05rem;
  color: var(--navy);
}
.cta-chooser-num {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}
.cta-chooser-menu::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  width: 12px;
  height: 12px;
  background: #fff;
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
  transform: translateX(-50%) rotate(45deg);
}
@media (max-width: 640px) {
  .cta-chooser,
  .cta-chooser-trigger {
    width: 100%;
  }
  .cta-chooser-menu {
    left: 0;
    right: 0;
    transform: none;
    width: 100%;
    min-width: 0;
  }
  .cta-chooser-menu::before { left: 1.5rem; }
}

/* —— Sections —— */
.section { padding: clamp(3rem, 6vw, 4.5rem) 0; }
.section-cream { background: var(--cream); }
.section-navy {
  background: var(--navy);
  color: var(--cream);
}
.section-navy h2, .section-navy h3 { color: var(--cream); }
.section-navy .text-muted { color: rgba(255, 255, 255, 0.72); }

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}
.section-navy .section-label { color: var(--gold); }

.lede-body {
  font-size: 1.15rem;
  max-width: 40em;
  color: var(--text-muted);
}

.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }

/* —— Steps —— */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
@media (max-width: 768px) {
  .steps { grid-template-columns: 1fr; }
}

.step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.step-card h3 { margin-bottom: 0.5rem; font-size: 1.2rem; }
.step-card p { margin: 0; color: var(--text-muted); font-size: 0.98rem; }

/* —— Why / features —— */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}
@media (max-width: 640px) {
  .feature-grid { grid-template-columns: 1fr; }
}

.feature {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.feature h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.feature h3::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  flex-shrink: 0;
}
.feature p { margin: 0; color: var(--text-muted); font-size: 0.98rem; }

/* —— Quote cards —— */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
@media (max-width: 700px) {
  .quote-grid { grid-template-columns: 1fr; }
}
.quote-grid.single-col { grid-template-columns: 1fr; max-width: 720px; }

.quote-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  position: relative;
}
.quote-card.featured {
  border-color: var(--amber);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(180deg, #F8F9FF 0%, var(--white) 100%);
}
.quote-card.secondary {
  background: var(--cream);
  border-style: dashed;
}
.quote-mark {
  font-family: var(--font-display);
  font-size: 2.5rem;
  line-height: 1;
  color: var(--amber);
  opacity: 0.7;
  margin-bottom: 0.25rem;
}
.quote-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text);
  margin-bottom: 1.25rem;
  flex: 1;
}
.quote-card.secondary .quote-text {
  font-size: 1.05rem;
  font-family: var(--font-body);
}
.quote-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
}
.quote-meta strong { color: var(--text); }
.quote-source {
  font-size: 0.85rem;
  margin: 0;
}
.quote-source a { font-weight: 500; }

.stats-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  justify-content: center;
  padding: 1.75rem 1.5rem;
  background: var(--navy-mid);
  border-radius: var(--radius);
  margin-top: 2rem;
}
.stat { text-align: center; }
.stat-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--gold);
  font-weight: 600;
  display: block;
}
.stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.72);
}

.note-box {
  background: var(--teal-soft);
  border-left: 4px solid var(--teal);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-top: 2rem;
  font-size: 0.95rem;
  color: var(--text);
}
.note-box p { margin: 0; }

/* —— CTA band —— */
.cta-band {
  text-align: center;
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
}
.cta-band h2 { margin-bottom: 0.5rem; }
.cta-band p { max-width: 32em; margin-inline: auto; margin-bottom: 1.5rem; }
.cta-band .btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
.phone-big {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  color: var(--amber);
  letter-spacing: 0.02em;
  margin: 0.5rem 0 1.25rem;
}
.phone-big a {
  color: inherit;
  text-decoration: none;
}
.phone-big a:hover { color: var(--amber-hover); text-decoration: underline; }
.section-navy .phone-big,
.contact-primary .phone-big,
.cta-band.section-navy .phone-big { color: var(--gold); }
.section-navy .phone-big a:hover,
.contact-primary .phone-big a:hover { color: #ffe27a; }

/* —— Page hero (inner) —— */
.page-hero {
  background: var(--cream);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 2rem;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { margin-bottom: 0.5rem; }
.page-hero .lede {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 38em;
  margin: 0;
}

/* —— Content blocks —— */
.prose { max-width: 42em; }
.prose h2 { margin-top: 2rem; }
.prose h2:first-child { margin-top: 0; }

.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.info-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.info-card p, .info-card ul { margin-bottom: 0; font-size: 0.98rem; color: var(--text-muted); }
.info-card a { font-weight: 500; }

.store-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}
.store-list li {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.25rem;
  margin-bottom: 0.75rem;
}
.store-list strong { color: var(--text); display: block; margin-bottom: 0.25rem; }
.store-list span { color: var(--text-muted); font-size: 0.95rem; }

/* —— Contact —— */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  margin-top: 1.5rem;
}
@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-primary {
  background: var(--navy);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  text-align: center;
}
.contact-primary h2 { color: var(--cream); }
.contact-primary p { color: rgba(255, 255, 255, 0.85); }
.contact-primary .btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.25rem;
}

.contact-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.visual-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.visual-form label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--navy);
}
.visual-form input,
.visual-form textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 1rem;
  background: var(--warm-white);
}
.visual-form input:focus,
.visual-form textarea:focus {
  outline: 2px solid var(--amber);
  outline-offset: 1px;
  border-color: var(--amber);
}
.form-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0.5rem 0 0;
}

/* —— Footer —— */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
  padding: 2.5rem 0 2rem;
  margin-top: 0;
  font-size: 0.95rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-brand .logo { display: inline-block; margin-bottom: 0.5rem; }
.footer-brand p { margin: 0; max-width: 28em; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-weight: 500;
}
.footer-links a:hover { color: var(--amber); }
.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: 0.875rem;
}
.footer-bottom a { color: var(--amber); text-decoration: none; font-weight: 600; }
.footer-bottom a:hover { text-decoration: underline; }

/* —— Mobile sticky bar —— */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: rgba(63, 91, 191, 0.98);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 0.7rem 1rem;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
  padding-bottom: max(0.7rem, env(safe-area-inset-bottom));
  box-shadow: 0 -8px 24px rgba(63, 91, 191, 0.30);
}
.mobile-cta-bar .btn {
  flex: 1;
  max-width: 220px;
  min-height: 44px;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .mobile-cta-bar { display: flex; }
  body { padding-bottom: calc(var(--mobile-bar-h) + 0.75rem); }
  /* keep footer clear of sticky bar */
  .site-footer { padding-bottom: 1.25rem; }
}

/* —— Logo mark (optional inline SVG usage) —— */
.logo-mark {
  display: inline-block;
  width: 1.35rem;
  height: 1.35rem;
  vertical-align: -0.2em;
  margin-right: 0.35rem;
  border-radius: 4px;
}

/* —— Misc —— */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 700px) {
  .two-col { grid-template-columns: 1fr; }
}

.pill {
  display: inline-block;
  background: var(--amber-soft);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
}
.pill.muted {
  background: var(--cream-dark);
  color: var(--text-muted);
}

/* ---------- X screenshot praise ---------- */
.x-masonry {
  column-count: 3;
  column-gap: 1.5rem;
  margin-top: 1.75rem;
}
@media (max-width: 1024px) { .x-masonry { column-count: 2; } }
@media (max-width: 640px)  { .x-masonry { column-count: 1; } }
.x-shot {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  margin: 0 0 1.5rem;
  display: inline-block;
  width: 100%;
}
.x-shot > a {
  display: block;
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.x-shot > a:hover, .x-shot > a:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 0 0 2px var(--amber), var(--shadow-lg);
}
.x-shot img { display: block; width: 100%; height: auto; }
.x-shot figcaption {
  margin-top: .5rem;
  font-size: .875rem;
  color: var(--text-muted);
  text-align: center;
}
.x-shot figcaption a { color: var(--navy); font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--amber); }
.x-shot figcaption a:hover { color: var(--teal); }
.x-teaser {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
  margin-top: 1.5rem;
}
@media (max-width: 1024px) { .x-teaser { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .x-teaser { grid-template-columns: 1fr; } }
.x-teaser .x-shot { margin: 0; }
@media (prefers-reduced-motion: reduce) { .x-shot > a { transition: none; } .x-shot > a:hover { transform: none; } }

/* Small phones: header CTA duplicates the sticky mobile Text/Call bar and overflows at 390px */
@media (max-width: 480px) {
  .header-cta { display: none; }
  .header-inner { gap: 0.75rem; }
}
.x-more { margin-top: 0; }
.x-more[hidden] { display: none; }
.x-more-actions { text-align: center; margin-top: 0.5rem; }
.x-more-actions[hidden], .x-more-btn[hidden] { display: none; }

/* In-person locations + reach-out form */
.tag-inperson{display:inline-block;background:var(--amber);color:var(--navy);font-weight:700;font-size:.75rem;letter-spacing:.06em;text-transform:uppercase;padding:.25rem .6rem;border-radius:999px}
.loc-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;margin-top:1.5rem}
@media (max-width:900px){.loc-grid{grid-template-columns:1fr}}
.loc-card{background:#fff;border-radius:14px;padding:1.5rem;box-shadow:0 2px 10px rgba(0,0,0,.06)}
.loc-card h3{margin:.6rem 0 .5rem}.loc-card p{margin:.3rem 0}.loc-hours{color:var(--text-muted);font-size:.92rem}.loc-card .btn{margin-top:.8rem}
.fast-line{background:#EEF1FB;border-left:4px solid var(--amber);padding:.8rem 1rem;border-radius:6px}
.reach-form select{width:100%;padding:.7rem;border:1px solid #ccc;border-radius:8px;font:inherit;margin-bottom:1rem;background:#fff}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}@media (max-width:520px){.form-row{grid-template-columns:1fr}}
.reach-form .check{display:flex;gap:.6rem;font-size:.78rem;font-weight:400;color:var(--text-muted);margin:.4rem 0 .8rem}.reach-form .check input{width:auto;margin-top:.2rem}
.header-fast{color:#fff;opacity:.85;font-size:.8rem;margin-right:.4rem;white-space:nowrap}
@media (max-width:1100px){.header-fast{display:none}}
.mobile-cta-bar .bar-note{color:#fff;font-size:.75rem;align-self:center;white-space:nowrap}
