/* =====================================================================
   Stone Spring Storage — Master Stylesheet
   Design System v1.0 — Phase 1
   Mobile-first. Warm, locally-authentic, animation-forward.
   ===================================================================== */

/* ---------- 0. Tokens ---------- */
:root {
  /* Sherwin-Williams building palette */
  --c-beige:        #C4B49A;   /* SW 7036 Accessible Beige   — bg light  */
  --c-greige:       #A89880;   /* SW 7031 Mega Greige        — bg mid    */
  --c-stone:        #7A7060;   /* SW 7032 Warm Stone         — bg dark   */
  --c-cream:        #EFE8DA;   /* warm off-white surface              */
  --c-warm-white:   #F5F0E8;   /* text on dark                        */

  /* Brand */
  --c-green:        #7ED800;   /* canonical Stone Spring Green        */
  --c-green-dark:   #6BB800;   /* hover                               */
  --c-green-glow:   rgba(126, 216, 0, 0.35);

  /* Ink */
  --c-ink:          #1A1A1A;
  --c-ink-soft:     #2C2C2C;
  --c-iron:         #222222;   /* gate, mechanical detail             */
  --c-grey:         #6A6A6A;
  --c-grey-soft:    #9A9388;
  --c-line:         rgba(26, 26, 26, 0.12);
  --c-line-warm:    rgba(122, 112, 96, 0.25);

  /* Surfaces */
  --bg-page:        var(--c-cream);
  --bg-elev:        #FAF6EE;
  --bg-dark:        #1F1B14;

  /* Type */
  --f-display: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --f-body:    "Manrope", "Helvetica Neue", system-ui, sans-serif;
  --f-mono:    "JetBrains Mono", "Menlo", monospace;

  /* Scale (mobile baseline) */
  --fs-xs:   0.78rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-md:   1.125rem;
  --fs-lg:   1.375rem;
  --fs-xl:   1.75rem;
  --fs-2xl:  2.25rem;
  --fs-3xl:  3rem;
  --fs-4xl:  4rem;
  --fs-5xl:  5.5rem;

  /* Spacing */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-8: 3rem;
  --s-10: 4rem;
  --s-12: 6rem;
  --s-16: 9rem;
  --s-20: 12rem;

  /* Radii & shadows */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;
  --r-xl: 22px;
  --r-pill: 999px;

  --sh-sm:  0 1px 2px rgba(20, 18, 12, 0.08);
  --sh-md:  0 6px 22px rgba(20, 18, 12, 0.10);
  --sh-lg:  0 18px 60px rgba(20, 18, 12, 0.18);
  --sh-cta: 0 4px 18px var(--c-green-glow);

  /* Layout */
  --max-w: 1280px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --header-h: 84px;
  --search-h: 56px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --t-fast: 180ms;
  --t-med:  360ms;
  --t-slow: 720ms;
}

/* ---------- 1. Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--c-ink);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "ss02";
  overflow-x: hidden;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--c-green);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

input,
select,
textarea {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--c-green);
  color: var(--c-ink);
}

/* Skip link — visible only when a keyboard user tabs to it.
   Stays in the DOM so screen readers can announce it. */
.skip-link {
  position: absolute;
  top: -40px;
  left: 12px;
  z-index: 9999;
  padding: 0.6rem 1rem;
  background: var(--c-ink);
  color: var(--c-warm-white);
  font-family: var(--f-body);
  font-size: var(--fs-sm);
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--r-md, 8px);
  transform: translateY(-100%);
  transition: transform 0.15s var(--ease-out);
}
.skip-link:focus {
  transform: translateY(60px);
  outline: 2px solid var(--c-green);
  outline-offset: 2px;
}

/* Visually hidden — content kept in the DOM for SEO + screen readers,
   removed from the visual layout. Used for SEO-critical headings on
   image-driven hero sections that don't need a visible H1. */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- 2. Type ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--f-display);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0 0 var(--s-4);
  color: var(--c-ink);
  font-variation-settings: "opsz" 144, "SOFT" 30;
}

h1 {
  font-size: clamp(2.5rem, 7vw, var(--fs-5xl));
  font-weight: 400;
}

h2 {
  font-size: clamp(2rem, 5vw, var(--fs-4xl));
  font-weight: 400;
}

h3 {
  font-size: clamp(1.5rem, 3vw, var(--fs-2xl));
}

h4 {
  font-size: var(--fs-xl);
}

p {
  margin: 0 0 var(--s-4);
  max-width: 64ch;
}

.eyebrow {
  display: inline-block;
  font-family: var(--f-body);
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-stone);
  font-weight: 600;
  margin-bottom: var(--s-3);
}

.lead {
  font-size: var(--fs-md);
  line-height: 1.55;
  color: var(--c-ink-soft);
  max-width: 56ch;
}

/* ---------- 3. Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section {
  padding-block: clamp(3rem, 8vw, var(--s-12));
}

.section--tight {
  padding-block: clamp(2rem, 5vw, var(--s-8));
}

.section--dark {
  background: var(--bg-dark);
  color: var(--c-warm-white);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--c-warm-white);
}

.section--stone {
  background: var(--c-stone);
  color: var(--c-warm-white);
}

.section--stone h2,
.section--stone h3 {
  color: var(--c-warm-white);
}

.section--beige {
  background: linear-gradient(180deg, var(--c-cream) 0%, var(--c-beige) 100%);
}

.divider {
  height: 1px;
  background: var(--c-line-warm);
  margin: 0;
  border: 0;
}

.grid {
  display: grid;
  gap: var(--s-5);
}

@media (min-width: 720px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: 0.85rem 1.5rem;
  font-weight: 700;
  font-size: var(--fs-sm);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--r-pill);
  transition: transform var(--t-fast) var(--ease-out),
              background var(--t-fast) var(--ease-out),
              box-shadow var(--t-fast) var(--ease-out),
              color var(--t-fast) var(--ease-out);
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  border: 2px solid transparent;
  -webkit-tap-highlight-color: transparent;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--c-green);
  color: var(--c-ink);
  box-shadow: var(--sh-cta);
}

.btn--primary:hover {
  background: var(--c-green-dark);
  box-shadow: 0 8px 24px var(--c-green-glow);
}

.btn--ghost {
  background: transparent;
  color: var(--c-ink);
  border-color: var(--c-ink);
}

.btn--ghost:hover {
  background: var(--c-ink);
  color: var(--c-warm-white);
}

.btn--ghost-light {
  background: transparent;
  color: var(--c-warm-white);
  border-color: var(--c-warm-white);
}

.btn--ghost-light:hover {
  background: var(--c-warm-white);
  color: var(--c-ink);
}

.btn--lg {
  padding: 1.05rem 1.85rem;
  font-size: var(--fs-base);
}

.btn--block {
  width: 100%;
}

/* ---------- 5. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--c-line-warm);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: var(--s-5);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  text-decoration: none;
  color: var(--c-ink);
  font-family: var(--f-display);
  font-weight: 500;
  font-size: var(--fs-md);
  letter-spacing: -0.01em;
}

.brand img {
  height: 80px;
  width: auto;
  display: block;
}

.brand__name { display: none; }
@media (min-width: 980px) {
  .brand__name { display: inline; }
}

.nav {
  display: none;
}

@media (min-width: 1080px) {
  .nav {
    display: flex;
    align-items: center;
    gap: var(--s-2);
  }
}

.nav__item {
  position: relative;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.6rem 1.05rem;
  font-size: 1.38rem;             /* +20% from 1.15rem */
  font-weight: 600;
  color: var(--c-ink);
  border-radius: var(--r-md);
  transition: background var(--t-fast) var(--ease-out);
  cursor: pointer;
  line-height: 1.1;
  text-align: left;
}

/* Two-line nav labels — for "Storage / Resources", "Our / Facility", "Our / Community" */
.nav__link--stacked {
  flex-direction: row;
  align-items: center;
}
.nav__link--stacked .stack {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.05;
}

.nav__link:hover,
.nav__item:hover .nav__link {
  background: rgba(26, 26, 26, 0.06);
}

.nav__caret {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-left: 4px;
  transition: transform var(--t-fast);
}

.nav__item:hover .nav__caret {
  transform: rotate(180deg);
}

.nav__menu {
  position: absolute;
  top: 100%;            /* flush, no gap */
  left: 0;
  min-width: 240px;
  background: #ffffff;
  border: 1px solid var(--c-line-warm);
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  padding: var(--s-2);
  box-shadow: var(--sh-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity var(--t-fast) var(--ease-out),
              transform var(--t-fast) var(--ease-out);
  z-index: 110;
}

.nav__item:hover .nav__menu,
.nav__item:focus-within .nav__menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav__menu a {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  color: var(--c-ink);
}

.nav__menu a:hover {
  background: var(--c-beige);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--s-3);
}

/* Inline search in the top nav (sits between Contact link and Pay Online button) */
.nav-search {
  display: none;
  position: relative;
}

@media (min-width: 1080px) {
  .nav-search { display: flex; align-items: center; }
}

.nav-search input {
  width: 200px;
  background: #F4F0E6;
  border: 1px solid var(--c-line-warm);
  border-radius: var(--r-pill);
  padding: 0.45rem 0.85rem 0.45rem 2.2rem;
  font-size: var(--fs-sm);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A1A1A' stroke-width='2'><circle cx='11' cy='11' r='7'/><path d='m20 20-3.5-3.5'/></svg>");
  background-repeat: no-repeat;
  background-position: 0.65rem center;
  background-size: 16px 16px;
  transition: width var(--t-fast), background var(--t-fast);
}

.nav-search input:focus {
  width: 260px;
  background-color: #fff;
}

.header-actions .btn--ghost {
  display: none;
}

@media (min-width: 760px) {
  .header-actions .btn--ghost {
    display: inline-flex;
  }
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-md);
}

@media (min-width: 1080px) {
  .menu-toggle { display: none; }
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-ink);
  transition: transform var(--t-fast), opacity var(--t-fast);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--bg-elev);
  z-index: 99;
  padding: var(--s-5) var(--gutter) var(--s-8);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--t-med) var(--ease-out);
  border-top: 1px solid var(--c-line-warm);
}

.mobile-nav[data-open="true"] {
  transform: translateX(0);
}

.mobile-nav details {
  border-bottom: 1px solid var(--c-line-warm);
  padding: 0.5rem 0;
}

.mobile-nav summary {
  list-style: none;
  cursor: pointer;
  padding: 0.65rem 0;
  font-weight: 700;
  font-size: var(--fs-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-nav summary::-webkit-details-marker { display: none; }

.mobile-nav summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 300;
  transition: transform var(--t-fast);
}

.mobile-nav details[open] summary::after { content: "−"; }

.mobile-nav details a {
  display: block;
  padding: 0.55rem 0.75rem;
  color: var(--c-stone);
  font-size: var(--fs-sm);
}

.mobile-nav > a {
  display: block;
  padding: 0.85rem 0;
  font-weight: 700;
  font-size: var(--fs-md);
  border-bottom: 1px solid var(--c-line-warm);
}

/* ---------- 6. Search bar ---------- */
/* Below-header search bar removed — search now lives inline in the top nav.
   Mobile gets its own search field inside the drawer. */
.search-bar { display: none; }

.mobile-nav__search {
  margin: 0 0 var(--s-4);
}

.mobile-nav__search input {
  width: 100%;
  background: #F4F0E6;
  border: 1px solid var(--c-line-warm);
  border-radius: var(--r-pill);
  padding: 0.7rem 1rem 0.7rem 2.6rem;
  font-size: var(--fs-base);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A1A1A' stroke-width='2'><circle cx='11' cy='11' r='7'/><path d='m20 20-3.5-3.5'/></svg>");
  background-repeat: no-repeat;
  background-position: 0.85rem center;
  background-size: 18px 18px;
}

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  height: clamp(560px, 80vh, 760px);
  overflow: hidden;
  background: var(--bg-dark);
  isolation: isolate;
}

.hero__slides {
  position: absolute;
  inset: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s var(--ease-in-out);
}

.hero__slide[data-active="true"] {
  opacity: 1;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: heroPan 14s ease-out forwards;
}

@keyframes heroPan {
  from { transform: scale(1.08) translate3d(-1%, -1%, 0); }
  to   { transform: scale(1.0)  translate3d(0, 0, 0); }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 18, 14, 0.15) 0%, rgba(20, 18, 14, 0.55) 60%, rgba(20, 18, 14, 0.85) 100%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: clamp(2rem, 6vw, 5rem);
  color: var(--c-warm-white);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-warm-white);
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.45rem 0.85rem;
  border-radius: var(--r-pill);
  align-self: flex-start;
  margin-bottom: var(--s-4);
  backdrop-filter: blur(6px);
}

.hero__eyebrow .dot {
  width: 8px;
  height: 8px;
  background: var(--c-green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--c-green);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.55; transform: scale(0.85); }
}

.hero__title {
  color: var(--c-warm-white);
  max-width: 18ch;
  font-weight: 300;
  margin-bottom: var(--s-4);
}

.hero__title em {
  font-style: italic;
  color: var(--c-green);
  font-weight: 400;
}

.hero__sub {
  color: var(--c-warm-white);
  font-size: var(--fs-md);
  max-width: 50ch;
  opacity: 0.9;
  margin-bottom: var(--s-5);
}

.hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-bottom: var(--s-5);
}

/* Scroll-hint CTA at the bottom-center of the hero */
.hero__see-pricing {
  position: absolute;
  bottom: 1.4rem;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  z-index: 4;
  cursor: pointer;
  text-decoration: none;
}

.hero__see-pricing svg {
  width: 22px;
  height: 22px;
  animation: bounceDown 1.6s ease-in-out infinite;
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); opacity: 0.85; }
  50%      { transform: translateY(8px); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__see-pricing svg { animation: none; }
}

.hero__reviews {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  background: rgba(20, 18, 14, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  border-radius: var(--r-lg);
  padding: var(--s-4) var(--s-5);
  max-width: 540px;
  align-self: flex-start;
}

.hero__rating {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  flex-wrap: wrap;
}

.hero__stars {
  display: inline-flex;
  gap: 2px;
  color: var(--c-green);
  font-size: var(--fs-md);
}

.hero__rating-text {
  font-size: var(--fs-sm);
  letter-spacing: 0.04em;
}

.hero__rating-google {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-xs);
  opacity: 0.85;
}

.hero__rating-google svg {
  width: 14px;
  height: 14px;
}

.hero__quote {
  font-family: var(--f-display);
  font-size: var(--fs-md);
  font-style: italic;
  line-height: 1.45;
  margin: 0;
  opacity: 0;
  transition: opacity 0.6s var(--ease-out);
}

.hero__quote[data-active="true"] {
  opacity: 1;
}

.hero__quote-author {
  font-family: var(--f-body);
  font-style: normal;
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-top: 0.4rem;
  display: block;
}

/* Semi-transparent left/right arrows for hero slideshow */
.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: background var(--t-fast), transform var(--t-fast);
}

.hero__arrow:hover {
  background: rgba(255, 255, 255, 0.32);
  transform: translateY(-50%) scale(1.06);
}

.hero__arrow svg {
  width: 22px;
  height: 22px;
  color: #fff;
  stroke: currentColor;
}

.hero__arrow--prev { left: var(--gutter); }
.hero__arrow--next { right: var(--gutter); }

@media (max-width: 720px) {
  .hero__arrow { width: 44px; height: 44px; }
  .hero__arrow svg { width: 18px; height: 18px; }
}

/* New floating reviews — 4 short blurbs balanced on left/right of the hero */
.hero__reviews-floats {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}

.hero__review-float {
  position: absolute;
  max-width: clamp(280px, 28vw, 460px);
  padding: 0.85rem 1.05rem;
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.3rem, 2.16vw, 2.16rem);  /* -10% from previous step */
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 4px 22px rgba(0,0,0,0.95), 0 2px 6px rgba(0,0,0,0.85);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  opacity: 0;
  transform: translateY(10px) scale(0.95);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.hero__review-float[data-active="true"] {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.hero__review-float .stars {
  color: #FBBC04;                            /* Google's actual gold */
  font-size: clamp(1.8rem, 3vw, 3rem);       /* -10% */
  letter-spacing: 4px;
  line-height: 1;
  text-shadow: 0 0 22px rgba(251, 188, 4, 0.5),
               0 3px 10px rgba(0,0,0,0.6);
}

.hero__review-float cite {
  font-family: var(--f-body);
  font-style: normal;
  font-size: clamp(0.8rem, 0.85vw, 0.95rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 1;
  font-weight: 700;
  color: #FBBC04;                            /* match the stars */
  text-shadow: 0 1px 6px rgba(0,0,0,0.85);
}

/* Position the four floats — upper-left, lower-left, upper-right, lower-right */
.hero__review-float--ul { top: 4%;   left: var(--gutter); }
.hero__review-float--ll { top: 50%;  left: var(--gutter); }
.hero__review-float--ur { top: 4%;   right: var(--gutter); text-align: right; align-items: flex-end; }
.hero__review-float--lr { top: 50%;  right: var(--gutter); text-align: right; align-items: flex-end; }

@media (max-width: 880px) {
  .hero__review-float { display: none; }
  .hero__review-float--ul { display: flex; max-width: 70%; left: 50%; transform: translateX(-50%); top: 22%; text-align: center; align-items: center; }
}

/* Handwritten "real reviews" note — sits just under the Google badge */
.hero__personal-note {
  position: absolute;
  left: 50%;
  bottom: calc(clamp(4rem, 8vh, 5.5rem) - 3.4rem);
  transform: translateX(-50%) rotate(-2deg);
  margin: 0;
  font-family: "Caveat", cursive;
  font-weight: 700;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  color: var(--c-green);
  text-shadow: 0 2px 12px rgba(0,0,0,0.85), 0 1px 3px rgba(0,0,0,0.7);
  white-space: nowrap;
  z-index: 4;
  pointer-events: none;
  letter-spacing: 0.01em;
}

/* Google rating badge — centered at bottom of hero, prominent */
.hero__google-badge {
  position: absolute;
  bottom: clamp(4rem, 8vh, 5.5rem);
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1.2rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--r-pill);
  color: var(--c-ink);
  font-size: var(--fs-md);
  font-weight: 600;
  z-index: 4;
  box-shadow: 0 6px 24px rgba(0,0,0,0.25);
}

.hero__google-badge .stars {
  color: #FBBC04;
  font-size: 1.15rem;
  letter-spacing: 1.5px;
}

.hero__google-badge svg {
  width: 18px;
  height: 18px;
}

/* ---------- 9. Pricing ---------- */
.pricing {
  background: linear-gradient(180deg, var(--c-cream) 0%, #ECE3D1 100%);
  padding-bottom: var(--s-5);              /* tightened — reduces gap to About Stone Spring */
}

.pricing__banner {
  background: var(--c-ink);
  color: var(--c-warm-white);
  padding: var(--s-4) var(--s-5);
  border-radius: var(--r-lg);
  text-align: center;
  font-size: var(--fs-sm);
  letter-spacing: 0.02em;
  margin-bottom: var(--s-8);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem 1rem;
  line-height: 1.3;
}

.pricing__banner b {
  color: var(--c-green);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: var(--fs-xs);
}

.pricing__banner span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.pricing__banner .sep {
  opacity: 0.4;
}

.pricing__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: var(--s-6);
}

.pricing__grid {
  display: grid;
  gap: var(--s-5);
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .pricing__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1080px) {
  .pricing__grid { grid-template-columns: repeat(4, 1fr); }
}

/* On desktop, the tier wrappers are invisible — cards flow into .pricing__grid */
.pricing__section { display: contents; }
.pricing__section-title { display: none; }
.pricing__row { display: contents; }

.unit-card {
  background: var(--bg-elev);
  border: 1px solid var(--c-line-warm);
  border-radius: var(--r-lg);
  padding: 0;                      /* image is edge-to-edge */
  display: flex;
  flex-direction: column;
  transition: transform var(--t-med) var(--ease-out),
              box-shadow var(--t-med) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.unit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-lg);
}

.unit-card__visual {
  aspect-ratio: 4 / 3;
  background: #ffffff;          /* no more tan — pure white behind any transparent edges */
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}

/* Force the unit illustration to fill the visual area edge-to-edge */
.unit-card__visual > img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  padding: 0 !important;
  transform: scale(1.04);       /* a touch of zoom — eliminates any whitespace at edges */
}
/* The 5×15 illustration sits a touch high — nudge it down */
.unit-card__visual > img[src*="unit-5x15"] {
  transform: scale(1.04) translateY(8%) !important;
}

/* Green size badge — top-left, over image, hangs off the corner */
.unit-card__size-badge {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--c-green);
  color: var(--c-ink);
  font-family: var(--f-display);
  font-size: 1.93rem;            /* +10% from previous --fs-xl (1.75rem) */
  font-weight: 600;
  letter-spacing: -0.02em;
  padding: 0.6rem 1.1rem 0.65rem;
  z-index: 4;
  border-radius: var(--r-lg) 0 var(--r-lg) 0;
  line-height: 1;
}

/* Mini price grid in the middle of the card */
.unit-card__pricegrid {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: center;
  gap: 0.45rem 0.6rem;
  padding: var(--s-4) var(--s-5) var(--s-4);
  font-size: var(--fs-sm);
  flex: 1;
}
/* When no SmartSaver tier is available, drop the column entirely */
.unit-card__pricegrid--no-saver {
  grid-template-columns: 1fr auto auto;
}

.unit-card__pricegrid > .row-label {
  font-size: var(--fs-xs);
  color: var(--c-stone);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.unit-card__pricegrid > .col-head {
  font-size: 10px;
  color: var(--c-stone);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
}

.unit-card__pricegrid > .price {
  font-family: var(--f-display);
  font-size: var(--fs-lg);
  font-weight: 500;
  text-align: center;
  letter-spacing: -0.01em;
}

.unit-card__pricegrid > .price--sale {
  color: var(--c-ink);
}

.unit-card__pricegrid > .price--retail {
  color: var(--c-grey);
  text-decoration: line-through;
  font-size: var(--fs-base);
}

.unit-card__pricegrid > .price--saver {
  color: var(--c-green-dark);
}

.unit-card__pricegrid > .price--empty {
  color: var(--c-grey-soft);
  font-size: var(--fs-sm);
}

/* Reserve Now footer — large text fills the bar */
.unit-card__cta {
  background: var(--c-green);
  color: var(--c-ink);
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(1.25rem, 1.8vw, 1.7rem);
  letter-spacing: -0.01em;
  text-transform: none;
  padding: 0.9rem 1rem;
  text-align: center;
  border: 0;
  cursor: pointer;
  width: 100%;
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  transition: background var(--t-fast);
  line-height: 1.1;
}

.unit-card__cta:hover {
  background: var(--c-green-dark);
}

.unit-card__visual svg {
  width: 80%;
  height: auto;
  transition: opacity var(--t-med);
}

/* Image-only visuals (no Vimeo): no "watch" pill */
.unit-card__visual > img {
  transition: transform var(--t-med) var(--ease-out);
}

.unit-card:hover .unit-card__visual > img {
  transform: scale(1.04);
}

/* "▶ Watch how it packs" pill — only shows on cards with a Vimeo video */
.unit-card__visual--has-video::after {
  content: "▶ Watch how it packs";
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.78);
  color: var(--c-warm-white);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.75rem;
  border-radius: var(--r-pill);
  opacity: 0;
  transition: opacity var(--t-med);
  z-index: 3;
  pointer-events: none;
  white-space: nowrap;
}

.unit-card:hover .unit-card__visual--has-video::after {
  opacity: 1;
}

/* Hide the pill once the video is actually playing */
.unit-card__visual--has-video.is-playing::after {
  opacity: 0;
}

/* Video swap layer */
.unit-card__visual--has-video > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6%;
  transition: opacity var(--t-med) var(--ease-out);
}

.unit-card__video-slot {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-med) var(--ease-out);
}

.unit-card__video-slot iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  /* Vimeo background mode renders with extra letterboxing around the unit;
     zoom the iframe so the unit fills the card. */
  transform: scale(1.55);
}
/* The 7.5×10 and 10×10 demos render with the unit drawn smaller — zoom harder */
.unit-card__visual[data-size="7.5×10"] .unit-card__video-slot iframe,
.unit-card__visual[data-size="10×10"]  .unit-card__video-slot iframe {
  transform: scale(3.0);
}

.unit-card__visual--has-video.is-playing > img {
  opacity: 0;
}

.unit-card__visual--has-video.is-playing > .unit-card__video-slot {
  opacity: 1;
}

.unit-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-2);
}

.unit-card__size {
  font-family: var(--f-display);
  font-size: var(--fs-2xl);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
}

.unit-card__access {
  font-size: var(--fs-xs);
  color: var(--c-stone);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}

.unit-card__prices {
  display: flex;
  align-items: baseline;
  gap: var(--s-3);
  flex-wrap: wrap;
}

.unit-card__list {
  font-size: var(--fs-md);
  color: var(--c-grey);
  text-decoration: line-through;
}

.unit-card__sale {
  font-size: var(--fs-2xl);
  font-family: var(--f-display);
  font-weight: 500;
  color: var(--c-ink);
  letter-spacing: -0.02em;
}

.unit-card__sale-period {
  font-size: var(--fs-sm);
  color: var(--c-stone);
}

.unit-card__saver {
  font-size: var(--fs-xs);
  color: var(--c-stone);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: -0.25rem;
}

.unit-card__saver b {
  color: var(--c-ink);
  font-weight: 700;
}

.badge {
  display: inline-flex;
  align-items: center;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--c-green);
  color: var(--c-ink);
  padding: 0.2rem 0.55rem;
  border-radius: var(--r-pill);
}

.badge--limited {
  background: #FFD23F;
  color: var(--c-ink);
}

.badge--rare {
  background: #ffffff;
  color: var(--c-green-dark, var(--c-green));
  border: 1px solid var(--c-green);
  font-weight: 800;
  text-align: center;
  line-height: 1.15;
  padding: 0.4rem 0.7rem;
  border-radius: var(--r-md, 10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  letter-spacing: 0.04em;
  white-space: normal;
}

.unit-card__avail {
  font-size: var(--fs-xs);
  color: var(--c-stone);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.1rem;
}

.unit-card__avail::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-green);
  display: inline-block;
}

.unit-card__avail[data-status="low"]::before { background: #F2A03D; }
.unit-card__avail[data-status="none"]::before { background: #C4524C; }

.unit-card .btn {
  margin-top: auto;
}

.pricing__disclaimer {
  font-size: var(--fs-xs);
  color: var(--c-stone);
  text-align: center;
  margin-top: var(--s-6);
  max-width: 70ch;
  margin-inline: auto;
  line-height: 1.5;
}

/* ---------- Size Guide — horizontal cards ---------- */
.size-grid {
  display: grid;
  gap: var(--s-5);
  grid-template-columns: 1fr;
}

@media (min-width: 880px) {
  .size-grid { grid-template-columns: repeat(2, 1fr); }
}

.size-card-h {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 340px;                /* fixed height so all cards match */
  background: var(--bg-elev);
  border: 1px solid var(--c-line-warm);
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med);
}

.size-card-h:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
}

.size-card-h__visual {
  background: #ffffff;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.size-card-h__visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}
.size-card-h__visual > img[src*="unit-5x15"] {
  transform: scale(1.04) translateY(8%);
}

.size-card-h__visual--has-video::after {
  content: "▶ Watch how it packs";
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.78);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.75rem;
  border-radius: var(--r-pill);
  opacity: 0;
  transition: opacity var(--t-med);
  z-index: 3;
  pointer-events: none;
}
.size-card-h:hover .size-card-h__visual--has-video::after { opacity: 1; }
.size-card-h__visual--has-video.is-playing::after { opacity: 0; }

.size-card-h__video-slot {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-med);
}
.size-card-h__video-slot iframe {
  width: 100%; height: 100%; border: 0; display: block;
  transform: scale(1.55);
}
.size-card-h__visual[data-size="7.5×10"] .size-card-h__video-slot iframe,
.size-card-h__visual[data-size="10×10"]  .size-card-h__video-slot iframe {
  transform: scale(3.0);
}
.size-card-h__visual--has-video.is-playing > img { opacity: 0; }
.size-card-h__visual--has-video.is-playing > .size-card-h__video-slot { opacity: 1; }

.size-card-h__body {
  display: grid;
  grid-template-rows: 1fr auto;
  min-width: 0;     /* allow text to wrap */
}

.size-card-h__desc {
  padding: var(--s-5) var(--s-5) var(--s-4);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.size-card-h__size {
  font-family: var(--f-display);
  font-size: clamp(1.85rem, 2.5vw, 2.4rem);
  font-weight: 600;
  color: var(--c-green);
  letter-spacing: -0.02em;
  line-height: 1;
}

.size-card-h__sqft {
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-stone);
  font-weight: 600;
}

.size-card-h__copy {
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--c-ink-soft);
  margin: 0;
}

/* CTA — sits in the bottom-right HALF of the card (50% of card width) */
.size-card-h__cta {
  background: var(--c-green);
  color: var(--c-ink);
  font-family: var(--f-display);
  font-size: clamp(1.05rem, 1.4vw, 1.4rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  text-align: center;
  padding: 0.85rem 1rem;
  border: 0;
  cursor: pointer;
  border-top: 1px solid rgba(0,0,0,0.06);
  transition: background var(--t-fast);
}
.size-card-h__cta:hover { background: var(--c-green-dark); }

/* On mobile, the card stacks: image on top, body below — Reserve becomes full-width */
@media (max-width: 720px) {
  .size-card-h { grid-template-columns: 1fr; min-height: 0; }
  .size-card-h__visual { aspect-ratio: 4 / 3; }
}

/* ---------- 10. Photo grid ---------- */
.photo-grid__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: var(--s-6);
}

.photo-tiles {
  display: grid;
  gap: var(--s-4);
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .photo-tiles { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1080px) {
  .photo-tiles { grid-template-columns: repeat(4, 1fr); }
}

.photo-tile {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: pointer;
  display: block;
}

.photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease-out),
              filter var(--t-slow);
}

.photo-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(20, 18, 14, 0.85) 100%);
  transition: background var(--t-med);
}

/* Title sits at TOP of the photo tile; caption hover-reveals below. */
.photo-tile__label {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: var(--s-4) var(--s-5);
  color: var(--c-warm-white);
  z-index: 1;
}

.photo-tile__label h3 {
  color: var(--c-green);
  margin: 0;
  font-size: clamp(1.85rem, 2.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.9), 0 1px 4px rgba(0,0,0,0.8);
}

.photo-tile__caption {
  color: #fff;
  font-size: clamp(0.95rem, 1.05vw, 1.15rem);
  line-height: 1.4;
  font-weight: 500;
  opacity: 0;
  max-height: 0;
  margin: 0;
  transition: opacity var(--t-med), max-height var(--t-med), margin var(--t-med);
  text-shadow: 0 1px 6px rgba(0,0,0,0.85);
}

/* Stronger top gradient for the green title to read clearly on any photo */
.photo-tile::after {
  background: linear-gradient(180deg,
    rgba(20, 18, 14, 0.78) 0%,
    rgba(20, 18, 14, 0.15) 30%,
    rgba(20, 18, 14, 0.15) 65%,
    rgba(20, 18, 14, 0.85) 100%);
}

.photo-tile:hover img {
  transform: scale(1.06);
  filter: brightness(0.78);                  /* darker on hover for legible caption */
}

/* Much darker overall on hover so caption text reads clearly */
.photo-tile:hover::after {
  background: linear-gradient(180deg,
    rgba(20, 18, 14, 0.6) 0%,
    rgba(20, 18, 14, 0.55) 50%,
    rgba(20, 18, 14, 0.92) 100%);
}

.photo-tile:hover .photo-tile__caption {
  opacity: 1;
  max-height: 120px;
  margin-top: var(--s-2);
}

/* ---------- 11. Find Your Storage banner (chatbot) ---------- */
.find-banner {
  background:
    radial-gradient(circle at 80% 20%, rgba(126, 216, 0, 0.12), transparent 60%),
    var(--c-stone);
  color: var(--c-warm-white);
  padding-block: clamp(1.5rem, 3.5vw, 2.5rem);   /* reduced — less air around the calculator */
}

.find-banner__inner {
  display: grid;
  gap: var(--s-6);
  align-items: center;
}

@media (min-width: 880px) {
  .find-banner__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--s-10);
  }
}

.find-banner h2 {
  color: var(--c-warm-white);
  max-width: 16ch;
}

.find-banner p {
  opacity: 0.85;
  max-width: 50ch;
}

.find-banner__chat {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--r-xl);
  padding: var(--s-5);
  backdrop-filter: blur(8px);
}

.find-banner__messages {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  margin-bottom: var(--s-4);
  max-height: 220px;
  overflow-y: auto;
  padding-right: 4px;
}

.bubble {
  max-width: 86%;
  padding: 0.7rem 1rem;
  border-radius: var(--r-lg);
  font-size: var(--fs-sm);
  line-height: 1.45;
  animation: bubbleIn 0.4s var(--ease-out) both;
}

.bubble--bot {
  background: rgba(255, 255, 255, 0.12);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.bubble--user {
  background: var(--c-green);
  color: var(--c-ink);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

@keyframes bubbleIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.find-banner__form {
  display: flex;
  gap: var(--s-2);
}

.find-banner__form input {
  flex: 1;
  background: rgba(255, 255, 255, 0.95);
  color: var(--c-ink);
  border: 0;
  border-radius: var(--r-pill);
  padding: 0.85rem 1.1rem;
  font-size: var(--fs-sm);
}

.find-banner__form input::placeholder {
  color: var(--c-grey);
}

/* ---------- 12. Blog row ---------- */
.blog-row__head {
  margin-bottom: var(--s-6);
}

.blog-row__head h2 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--s-4);
}

.blog-row__head .all-posts {
  font-family: var(--f-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-stone);
  text-decoration: underline;
  text-underline-offset: 4px;
  border: 0;
  background: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.blog-row__head .all-posts:hover {
  color: var(--c-ink);
}

/* 4-card grid (matching pricing). Below 1080 → scrollable with arrows */
.blog-row__wrap {
  position: relative;
}

.blog-row__scroller {
  display: flex;
  gap: var(--s-4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: var(--s-3);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.blog-row__scroller::-webkit-scrollbar { display: none; }
.blog-card {
  flex: 0 0 calc((100% - 3 * var(--s-4)) / 4);
  scroll-snap-align: start;
}

@media (max-width: 1080px) {
  .blog-card { flex: 0 0 78%; max-width: 340px; }
}

@media (max-width: 560px) {
  .blog-card { flex: 0 0 88%; }
}

/* Semi-transparent left/right arrows */
.blog-row__arrow {
  position: absolute;
  top: 38%;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(20, 18, 14, 0.55);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  border: 0;
  transition: background var(--t-fast);
}
.blog-row__arrow:hover { background: rgba(20, 18, 14, 0.78); }

.blog-row__arrow svg { width: 18px; height: 18px; color: #fff; }

.blog-row__arrow--prev { left: 6px; }
.blog-row__arrow--next { right: 6px; }

.blog-card {
  background: var(--bg-elev);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: block;
  border: 1px solid var(--c-line-warm);
  transition: transform var(--t-med);
  position: relative;
}

.blog-card:hover {
  transform: translateY(-4px);
}

.blog-card__img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.blog-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}

.blog-card:hover .blog-card__img img { transform: scale(1.08); }

.blog-card__body { padding: var(--s-4) var(--s-5) var(--s-5); }
.blog-card__date { font-size: var(--fs-xs); color: var(--c-stone); letter-spacing: 0.06em; text-transform: uppercase; }
.blog-card h3 { font-size: var(--fs-lg); margin: 0.25rem 0 0.5rem; line-height: 1.2; }
.blog-card__excerpt { font-size: var(--fs-sm); color: var(--c-stone); line-height: 1.5; margin: 0; }
.blog-card .badge--new { position: absolute; top: 12px; left: 12px; z-index: 2; }

/* "New" badge on blog cards — 2× the standard size */
.blog-card .badge {
  font-size: var(--fs-md);
  font-weight: 800;
  padding: 0.4rem 1rem;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-dark);
  color: var(--c-warm-white);
  padding-block: var(--s-8) var(--s-6);
}

.site-footer__top {
  display: grid;
  gap: var(--s-6);
  margin-bottom: var(--s-6);
}

@media (min-width: 720px) {
  .site-footer__top { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

.site-footer h4 {
  font-family: var(--f-body);
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-grey-soft);
  margin: 0 0 var(--s-3);
  font-weight: 700;
}

.site-footer__brand img {
  height: 76px;
  margin-bottom: var(--s-4);
  /* logo is green/black with transparent bg — let it sit on the dark footer as-is */
}

.site-footer p, .site-footer a { font-size: var(--fs-sm); line-height: 1.7; }

.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.4rem; }

.site-footer a {
  color: var(--c-warm-white);
  opacity: 0.85;
  transition: opacity var(--t-fast), color var(--t-fast);
}

.site-footer a:hover { opacity: 1; color: var(--c-green); }

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--s-5);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s-3);
  font-size: var(--fs-xs);
  color: var(--c-grey-soft);
}

.site-footer__legal { display: flex; flex-wrap: wrap; gap: var(--s-4); }

/* ---------- Reservation modal ---------- */
.modal {
  position: fixed; inset: 0;
  background: rgba(20, 18, 14, 0.7);
  backdrop-filter: blur(6px);
  z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: var(--gutter);
  opacity: 0; pointer-events: none;
  transition: opacity var(--t-med);
}

.modal[data-open="true"] { opacity: 1; pointer-events: auto; }

.modal__panel {
  background: var(--bg-elev);
  border-radius: var(--r-xl);
  width: 100%; max-width: 520px; max-height: 90vh;
  overflow-y: auto;
  padding: var(--s-6);
  position: relative;
  transform: translateY(20px);
  transition: transform var(--t-med) var(--ease-out);
  border: 1px solid var(--c-line-warm);
}

.modal[data-open="true"] .modal__panel { transform: translateY(0); }

.modal__close {
  position: absolute; top: 12px; right: 12px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(20, 18, 14, 0.06);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.modal__close:hover { background: rgba(20, 18, 14, 0.12); }
.modal h3 { margin-bottom: 0.25rem; }
.modal p.lead { margin-bottom: var(--s-5); }

.field { display: flex; flex-direction: column; gap: 0.3rem; margin-bottom: var(--s-4); }
.field label { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-stone); }
.field input, .field select, .field textarea {
  background: #fff; border: 1px solid var(--c-line-warm);
  border-radius: var(--r-md); padding: 0.7rem 0.85rem; font-size: var(--fs-sm);
  transition: border-color var(--t-fast);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--c-green); }
.field--row { display: grid; gap: var(--s-3); }
@media (min-width: 540px) { .field--row { grid-template-columns: 1fr 1fr; } }

/* Student Special checkbox row in reservation modal — minimal inline style. */
.field--check {
  margin-top: calc(var(--s-2) * -1);
}
.field--check label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
  margin: 0;
  font-size: var(--fs-base);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--c-ink);
}
.field--check input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  accent-color: var(--c-green);
  cursor: pointer;
}

.honeypot { position: absolute !important; left: -10000px !important; height: 0; width: 0; opacity: 0; }

.success-state { text-align: center; padding: var(--s-5) 0; }
.success-state svg { margin: 0 auto var(--s-4); width: 64px; height: 64px; }

/* ---------- FAQ accordion ---------- */
.faq { border-top: 1px solid var(--c-line-warm); }
.faq details { border-bottom: 1px solid var(--c-line-warm); }
.faq summary {
  list-style: none; cursor: pointer;
  padding: 1.1rem 0;
  font-family: var(--f-display); font-weight: 500; font-size: var(--fs-lg);
  display: flex; justify-content: space-between; align-items: center; gap: var(--s-3);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 14px; height: 14px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); flex-shrink: 0;
  transition: transform var(--t-fast);
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq__answer { padding: 0 0 1.4rem; color: var(--c-ink-soft); max-width: 70ch; }

/* ---------- Newsletter slide-up ---------- */
.newsletter {
  position: fixed; left: 50%; bottom: var(--s-4);
  transform: translate(-50%, calc(100% + 1rem));
  width: calc(100% - 2 * var(--gutter));
  max-width: 520px;
  background: var(--c-ink); color: var(--c-warm-white);
  padding: var(--s-4) var(--s-5);
  border-radius: var(--r-xl);
  display: flex; flex-direction: column; gap: var(--s-3);
  z-index: 150;
  box-shadow: var(--sh-lg);
  transition: transform var(--t-med) var(--ease-out);
}
.newsletter[data-open="true"] { transform: translate(-50%, 0); }
.newsletter strong { display: block; font-family: var(--f-display); font-size: var(--fs-md); font-weight: 500; margin-bottom: 0.1rem; }
.newsletter p { margin: 0; font-size: var(--fs-xs); opacity: 0.8; }

.newsletter__row {
  display: flex; align-items: center; gap: var(--s-3);
  flex-wrap: wrap;
}

.newsletter__stack {
  display: flex; flex-direction: column; gap: 0.55rem;
}
.newsletter__stack strong { margin-bottom: 0; }

.newsletter form {
  display: flex; gap: 0.4rem; width: 100%;
}
.newsletter input {
  flex: 1; border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: var(--c-warm-white);
  padding: 0.65rem 1rem;
  border-radius: var(--r-pill);
  font-size: var(--fs-sm);
  min-width: 0;
}
.newsletter input::placeholder { color: rgba(255, 255, 255, 0.55); }

.newsletter__divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin: 0;
}

.newsletter__row--social {
  gap: var(--s-3);
  justify-content: space-between;
}
.newsletter__row--social strong { margin-bottom: 0; flex: 1; }

/* Facebook wordmark — lowercase "facebook" in Meta brand blue.
   CSS-rendered for crispness at any DPI; swap to <img> if a brand
   asset lands in /images/ later. */
.newsletter__fb {
  display: inline-flex; align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  transition: transform var(--t-fast);
}
.newsletter__fb:hover { transform: scale(1.05); }
.newsletter__fb-wordmark {
  font-family: var(--f-body);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.045em;
  line-height: 1;
  color: #1877F2;
  font-feature-settings: "ss01";
}

.newsletter__close {
  position: absolute; top: 10px; right: 10px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: var(--c-warm-white);
  border: 0;
  cursor: pointer;
}
.newsletter__close:hover { background: rgba(255, 255, 255, 0.22); }

@media (max-width: 480px) {
  .newsletter { padding: var(--s-3) var(--s-4); }
  .newsletter form { width: 100%; min-width: 0; }
}

/* ---------- Reveal-on-scroll utility ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__slide img { animation: none; }
}

/* ---------- Misc page utilities ---------- */
.page-hero {
  background: var(--bg-dark);
  color: var(--c-warm-white);
  padding: clamp(5rem, 12vw, 8rem) 0 clamp(3rem, 8vw, 5rem);
  position: relative; overflow: hidden;
}
.page-hero img.bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.35; z-index: 0;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--c-warm-white); max-width: 22ch; }
.page-hero .lead { color: var(--c-warm-white); opacity: 0.9; }

.callout {
  background: var(--c-cream);
  border-left: 4px solid var(--c-green);
  padding: var(--s-4) var(--s-5);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: var(--fs-sm);
  margin-block: var(--s-5);
}

blockquote.review {
  font-family: var(--f-display);
  font-style: italic;
  font-size: var(--fs-xl);
  line-height: 1.4;
  color: var(--c-ink);
  margin: var(--s-6) 0;
  padding-left: var(--s-5);
  border-left: 4px solid var(--c-green);
  max-width: 64ch;
}
blockquote.review cite {
  display: block;
  font-family: var(--f-body); font-style: normal;
  font-size: var(--fs-sm); letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--c-stone); margin-top: var(--s-3);
}

.tag-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tag-list li {
  background: var(--c-beige);
  padding: 0.3rem 0.7rem;
  border-radius: var(--r-pill);
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.04em;
}

.fact-table { width: 100%; border-collapse: collapse; margin: var(--s-5) 0; font-size: var(--fs-sm); }
.fact-table th, .fact-table td {
  padding: 0.7rem 0.85rem; text-align: left;
  border-bottom: 1px solid var(--c-line-warm);
}
.fact-table th {
  font-family: var(--f-body); font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  font-size: var(--fs-xs); color: var(--c-stone);
}
.fact-table tr:last-child td { border-bottom: 0; }

/* ---------- Floating chatbot widget ---------- */
.chat-widget {
  position: fixed; right: var(--s-4); bottom: var(--s-4);
  z-index: 180;
  display: flex; flex-direction: column; align-items: flex-end; gap: var(--s-3);
}
@media (max-width: 880px) {
  .chat-widget { display: none !important; }
}

.chat-widget__bubble {
  background: var(--c-ink); color: var(--c-warm-white);
  border-radius: var(--r-pill);
  padding: 1.5rem 2rem;
  font-size: 1.5rem; font-weight: 700;
  letter-spacing: -0.005em;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 0.85rem;
  box-shadow: var(--sh-lg);
  border: 0;
  transition: transform var(--t-fast), background var(--t-fast);
}
.chat-widget__bubble:hover { transform: translateY(-3px); background: #2C2C2C; }
.chat-widget__bubble .dot {
  width: 14px; height: 14px;
  background: var(--c-green); border-radius: 50%;
  box-shadow: 0 0 14px var(--c-green);
  animation: pulse 2s ease-in-out infinite;
}

.chat-widget__panel {
  width: min(360px, calc(100vw - 2rem));
  height: 480px; max-height: calc(100vh - 8rem);
  background: var(--bg-elev);
  border: 1px solid var(--c-line-warm);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-lg);
  display: none;
  flex-direction: column; overflow: hidden;
  transform-origin: bottom right;
  animation: chatPop 0.25s var(--ease-out);
}
.chat-widget[data-open="true"] .chat-widget__panel { display: flex; }
.chat-widget[data-open="true"] .chat-widget__bubble { display: none; }

@keyframes chatPop {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}

.chat-widget__head {
  background: var(--c-ink); color: var(--c-warm-white);
  padding: 0.85rem 1.1rem;
  display: flex; align-items: center; justify-content: space-between;
  font-weight: 700; font-size: var(--fs-sm);
}
.chat-widget__head .dot {
  width: 8px; height: 8px;
  background: var(--c-green); border-radius: 50%;
  margin-right: 0.5rem;
  box-shadow: 0 0 8px var(--c-green);
  display: inline-block;
}
.chat-widget__close {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: inline-flex; align-items: center; justify-content: center;
}

.chat-widget__messages {
  flex: 1; padding: var(--s-4);
  overflow-y: auto;
  display: flex; flex-direction: column; gap: var(--s-3);
  background: var(--bg-page);
}

.chat-widget__form {
  display: flex; gap: 0.4rem;
  padding: var(--s-3);
  border-top: 1px solid var(--c-line-warm);
  background: #fff;
}
.chat-widget__form input {
  flex: 1; background: var(--bg-page);
  border: 1px solid var(--c-line-warm);
  border-radius: var(--r-pill);
  padding: 0.65rem 1rem;
  font-size: var(--fs-sm);
}
.chat-widget__form button {
  background: var(--c-green); color: var(--c-ink);
  font-weight: 700; font-size: var(--fs-xs);
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.65rem 1rem;
  border-radius: var(--r-pill);
  border: 0; cursor: pointer;
}
.chat-widget__form button:hover { background: var(--c-green-dark); }

@media (max-width: 540px) { .chat-widget__panel { height: 60vh; } }

/* ---------- Bubble shared ---------- */
.bubble {
  max-width: 86%;
  padding: 0.7rem 1rem;
  border-radius: var(--r-lg);
  font-size: var(--fs-sm);
  line-height: 1.45;
  animation: bubbleIn 0.4s var(--ease-out) both;
}
/* =====================================================================
   MOBILE LAYOUT (≤ 880px)
   Sticky bottom bar, swipe carousels, bottom-sheet modal,
   per-photo hero adjustments, and tighter Google badge.
   ===================================================================== */

/* ---------- Sticky bottom bar (Reserve + Text Us) ---------- */
.mobile-bar { display: none; }
@media (max-width: 880px) {
  .mobile-bar {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 200;
    background: var(--bg-elev);
    border-top: 1px solid var(--c-line-warm);
    padding: 0.6rem 0.65rem calc(0.6rem + env(safe-area-inset-bottom));
    gap: 0.55rem;
    box-shadow: 0 -8px 24px rgba(0,0,0,0.10);
  }
  .mobile-bar__btn {
    flex: 1;
    text-align: center;
    padding: 0.95rem 0.4rem;
    border-radius: var(--r-pill);
    font-family: var(--f-body);
    font-weight: 800;
    font-size: var(--fs-md);
    letter-spacing: 0.01em;
    border: 0;
    text-decoration: none;
    cursor: pointer;
    line-height: 1;
    display: inline-flex; align-items: center; justify-content: center;
  }
  .mobile-bar__btn--primary   { background: var(--c-green); color: var(--c-ink); }
  .mobile-bar__btn--secondary { background: var(--c-ink);   color: var(--c-warm-white); }
  .mobile-bar__btn:active { transform: scale(0.98); }

  /* Make sure floating chrome doesn't sit beneath the bar */
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .newsletter { bottom: calc(76px + env(safe-area-inset-bottom) + 0.5rem); }
}

/* ---------- Hero per-slide cropping for narrow phones ---------- */
@media (max-width: 880px) {
  .hero__slide img { object-position: 50% 55%; }
  .hero__slide[data-slide="1"] img { object-position: 38% 55%; }
  .hero__slide[data-slide="2"] img { object-position: 50% 60%; }
  .hero__slide[data-slide="3"] img { object-position: 50% 50%; }
}

/* ---------- Smaller Google review badge on mobile ---------- */
@media (max-width: 880px) {
  .hero__google-badge {
    padding: 0.4rem 0.85rem;
    gap: 0.45rem;
    font-size: var(--fs-sm);
  }
  .hero__google-badge .stars { font-size: 0.95rem; letter-spacing: 1.5px; }
  .hero__google-badge svg { width: 14px; height: 14px; }
  .hero__personal-note { font-size: 1.15rem; }
}

/* ---------- Pricing — three-tier swipe carousels on mobile ---------- */
@media (max-width: 880px) {
  .pricing__grid { display: block; }

  .pricing__section {
    display: block;
    margin-bottom: var(--s-6);
  }
  .pricing__section:last-child { margin-bottom: 0; }

  .pricing__section-title {
    display: block;
    font-family: var(--f-display);
    font-weight: 600;
    font-size: clamp(1.5rem, 4vw, 1.85rem);
    color: var(--c-ink);
    margin: 0 var(--s-4) var(--s-3);
    letter-spacing: -0.01em;
  }
  .pricing__section-title::after {
    content: " — swipe \2192";
    font-size: 0.7em;
    color: var(--c-stone);
    font-weight: 400;
    margin-left: 0.4em;
    letter-spacing: 0.04em;
  }

  .pricing__row {
    display: flex;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.85rem;
    padding: 0 var(--s-4) 0.5rem;
    scroll-padding-left: var(--s-4);
  }
  .pricing__row::-webkit-scrollbar { display: none; }

  .pricing__row > .unit-card {
    flex: 0 0 86%;
    scroll-snap-align: start;
  }

  .pricing__section[data-tier="medium"] .pricing__row > .unit-card,
  .pricing__section[data-tier="large"]  .pricing__row > .unit-card {
    flex: 0 0 88%;
  }
}

/* ---------- About Stone Spring — swipe carousel on mobile ---------- */
@media (max-width: 880px) {
  .photo-tiles {
    display: flex;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.85rem;
    padding: 0 var(--s-4) var(--s-2);
  }
  .photo-tiles::-webkit-scrollbar { display: none; }
  .photo-tile {
    flex: 0 0 80%;
    scroll-snap-align: start;
    aspect-ratio: 3 / 4;
  }
}

/* ---------- Bottom-sheet style for the reservation modal on mobile ---------- */
@media (max-width: 880px) {
  .modal {
    align-items: flex-end;
    padding: 0;
  }
  .modal__panel {
    width: 100%;
    max-width: 100%;
    max-height: 92vh;
    border-radius: var(--r-xl) var(--r-xl) 0 0;
    transform: translateY(100%);
    padding: var(--s-5) var(--s-5) calc(var(--s-5) + env(safe-area-inset-bottom));
    border: 0;
    border-top: 1px solid var(--c-line-warm);
  }
  .modal[data-open="true"] .modal__panel { transform: translateY(0); }
  .modal__panel::before {
    content: "";
    display: block;
    width: 40px; height: 4px;
    border-radius: 999px;
    background: rgba(122, 112, 96, 0.45);
    margin: -0.5rem auto var(--s-3);
  }
  .modal__close { top: 14px; right: 12px; }
}

/* Hide the sticky bar while the reservation modal is open (mobile only) */
@media (max-width: 880px) {
  body:has(.modal[data-open="true"]) .mobile-bar { display: none; }
}

/* =====================================================================
   MOBILE TUNING — pass 2
   Logo, menu label, Google badge layout, hero swipe affordance,
   photo-tile auto-reveal, smaller pricing column headers, footer trim.
   ===================================================================== */

/* Menu toggle now has an icon + label; old span-only rules need to be
   neutralized in favor of the new __icon wrapper. */
.menu-toggle {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 7px;
  padding: 0 0.7rem !important;
  width: auto !important;
  height: 44px;
  border-radius: var(--r-md);
}
@media (min-width: 1080px) {
  .menu-toggle { display: none !important; }
}
.menu-toggle__icon {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
}
.menu-toggle__icon span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-ink);
  transition: transform var(--t-fast), opacity var(--t-fast);
}
.menu-toggle__label {
  font-family: var(--f-body);
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--c-ink);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 880px) {
  /* 1. Header logo ~20% smaller */
  .brand img { height: 64px; }

  /* 3. Hero arrows — hidden (touch swipe replaces them) */
  .hero__arrow { display: none !important; }

  /* 4. Slide 0 (LED-screen / tower) — show more of the right side */
  .hero__slide[data-slide="0"] img { object-position: 62% 50%; }

  /* 5. Hero floating quote — dark backdrop for legibility */
  .hero__review-float--ul {
    background: rgba(20, 18, 14, 0.6);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    padding: 0.8rem 1.1rem;
    border-radius: var(--r-lg);
    box-shadow: 0 6px 20px rgba(0,0,0,0.35);
    max-width: 86% !important;
    top: 14% !important;
  }

  /* 6. Google badge — strip "12 Google reviews" */
  .hero__google-badge .hgb-count { display: none; }
  .hero__google-badge .hgb-google { font-weight: 700; }

  /* 7. "Real reviews from real, local people" — 20% bigger */
  .hero__personal-note { font-size: 1.4rem !important; }

  /* 8. Pricing column headers shrink so "Smart Saver" fits */
  .unit-card__pricegrid > .col-head {
    font-size: 9px;
    letter-spacing: 0.03em;
    line-height: 1.1;
  }
  .unit-card__pricegrid {
    gap: 0.45rem 0.45rem;
    padding: var(--s-3) var(--s-4) var(--s-3);
  }

  /* 9. About Stone Spring tiles — auto-reveal text when centered */
  .photo-tile.is-viewing img {
    transform: scale(1.06);
    filter: brightness(0.78);
  }
  .photo-tile.is-viewing::after {
    background: linear-gradient(180deg,
      rgba(20, 18, 14, 0.6) 0%,
      rgba(20, 18, 14, 0.55) 50%,
      rgba(20, 18, 14, 0.92) 100%);
  }
  .photo-tile.is-viewing .photo-tile__caption {
    opacity: 1;
    max-height: 120px;
    margin-top: var(--s-2);
  }

  /* 10. Blog row arrows — hidden on mobile (swipe replaces) */
  .blog-row__arrow { display: none !important; }

  /* 11. AI sizing calculator — fit within viewport */
  .find-banner__inner {
    padding: 0 var(--s-4);
  }
  .find-banner__chat {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
  }
  .find-banner__form { gap: 0.4rem; }
  .find-banner__form input { min-width: 0; }

  /* 13. Size-guide cards — stack image over body so text isn't squished */
  .size-card-h {
    grid-template-columns: 1fr !important;
    height: auto !important;
  }
  .size-card-h__visual {
    aspect-ratio: 16 / 10 !important;
    border-radius: var(--r-lg) var(--r-lg) 0 0 !important;
  }
  .size-card-h__visual--has-video::after {
    bottom: 8px;
    font-size: 11px;
    padding: 0.35rem 0.75rem;
  }

  /* 14. Mobile drawer — bottom space for the sticky Reserve/Text bar */
  .mobile-nav {
    padding-bottom: calc(76px + env(safe-area-inset-bottom) + var(--s-6)) !important;
  }
}

/* 12. Footer — drop the three nav columns on phones, keep brand + legal */
@media (max-width: 720px) {
  .site-footer__top > div:not(.site-footer__brand) { display: none; }
  .site-footer__top { margin-bottom: var(--s-4); }
}

/* =====================================================================
   MOBILE TUNING — pass 3
   Menu pill, transparent/frosted header, frosted bottom bar,
   restored two-line Google badge, AI chat overflow fix.
   ===================================================================== */

/* MENU button — clean dark pill, no icon. The earlier hamburger CSS is
   overridden here on every viewport since the icon was removed. */
.menu-toggle {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: var(--c-ink);
  color: var(--c-warm-white);
  font-family: var(--f-body);
  font-weight: 800;
  font-size: var(--fs-md);
  letter-spacing: 0.04em;
  padding: 0.55rem 1.1rem !important;
  height: 42px;
  border-radius: var(--r-pill);
  border: 0;
  cursor: pointer;
  width: auto !important;
  flex-direction: row !important;
  gap: 0;
  transition: background var(--t-fast), transform var(--t-fast);
}
.menu-toggle:hover  { background: #2C2C2C; }
.menu-toggle:active { transform: scale(0.97); }
@media (min-width: 1080px) {
  .menu-toggle { display: none !important; }
}

/* Header — on mobile only: transparent at top, frosted glass once you scroll.
   Desktop keeps its solid white treatment from the base styles. */
@media (max-width: 1080px) {
  .site-header {
    background: transparent !important;
    border-bottom: 0 !important;
    transition: background-color var(--t-med), backdrop-filter var(--t-med),
                box-shadow var(--t-med), border-color var(--t-med);
  }
  .site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.82) !important;
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid rgba(20, 18, 14, 0.06) !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  }
  /* Hero extends up under the transparent header on mobile */
  .page-hero { margin-top: calc(-1 * var(--header-h)); padding-top: var(--header-h); }
}

/* Sticky bottom bar — always frosted glass instead of solid white. */
@media (max-width: 880px) {
  .mobile-bar {
    background: rgba(255, 255, 255, 0.78) !important;
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    backdrop-filter: saturate(180%) blur(14px);
    border-top: 1px solid rgba(20, 18, 14, 0.05) !important;
  }
}

/* Google badge — restore everything but keep mobile compact: stars + 4.9
   on line 1, "Google" with G icon, and "12 Google reviews" on line 2. */
.hgb-count::before { content: " · "; padding: 0 0.05em; opacity: 0.6; }

@media (max-width: 880px) {
  .hero__google-badge {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    padding: 0.45rem 1rem;
    gap: 0.35rem 0.45rem;
    line-height: 1.1;
  }
  .hero__google-badge .stars,
  .hero__google-badge .hgb-rating,
  .hero__google-badge svg,
  .hero__google-badge .hgb-google {
    flex: 0 0 auto;
  }
  .hero__google-badge .hgb-count {
    flex-basis: 100%;
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--c-stone);
    letter-spacing: 0.02em;
    margin-top: 1px;
  }
  .hero__google-badge .hgb-count::before { content: ""; padding: 0; }
}

/* AI sizing chat — keep everything inside the viewport. The earlier mobile
   rule didn't tame the parent section's padding/max-width; do it here. */
@media (max-width: 880px) {
  body { overflow-x: hidden; }     /* belt: any rogue overflow stops here */
  .find-banner {
    padding-inline: 0;
  }
  .find-banner__inner {
    padding-inline: var(--s-4);
    grid-template-columns: 1fr !important;
  }
  .find-banner__chat {
    width: auto;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    padding: var(--s-4);
    box-sizing: border-box;
  }
  .find-banner__form {
    flex-wrap: nowrap;
    gap: 0.4rem;
  }
  .find-banner__form input {
    min-width: 0;
    flex: 1 1 auto;
    width: auto;
  }
  .find-banner__form button {
    flex-shrink: 0;
  }
  .find-banner__messages {
    width: 100%;
    box-sizing: border-box;
  }
  .find-banner__messages .bubble {
    max-width: 100%;
    box-sizing: border-box;
  }
}

/* =====================================================================
   MOBILE TUNING — pass 4
   Quote repositioned + sized down, more transparent header/bar,
   "Real reviews" centered + 10% bigger, mobile-only Virtual Tour pill.
   ===================================================================== */

/* More transparent frosted treatment */
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.65) !important;
}
@media (max-width: 880px) {
  .mobile-bar {
    background: rgba(255, 255, 255, 0.65) !important;
  }
}

/* Hero quote — sit just above the Google badge, smaller, still readable */
@media (max-width: 880px) {
  .hero__review-float--ul {
    /* Reset the earlier top:14% positioning */
    top: auto !important;
    left: 50% !important;
    bottom: clamp(8.5rem, 18vh, 11.5rem) !important;
    transform: translateX(-50%) !important;
    max-width: 80% !important;
    padding: 0.55rem 0.85rem !important;
    text-align: center;
    align-items: center !important;
    /* Half-ish the previous quote size */
    font-size: 0.95rem !important;
    line-height: 1.25;
  }
  .hero__review-float--ul .stars {
    font-size: 1.1rem !important;
    letter-spacing: 2px;
    margin-bottom: 0.2rem;
  }
  .hero__review-float--ul cite {
    font-size: 0.7rem !important;
    letter-spacing: 0.14em;
  }
  /* Slim the active stagger transform so it doesn't overshoot the new bottom */
  .hero__review-float--ul[data-active="true"] {
    transform: translateX(-50%) !important;
  }
}

/* "Real reviews from real, local people" — center between badge and edge,
   plus a 10% size bump from pass 2's 1.4rem (now 1.54rem). */
@media (max-width: 880px) {
  .hero__personal-note {
    bottom: calc(clamp(4rem, 8vh, 5.5rem) / 2) !important;
    font-size: 1.54rem !important;
  }
}

/* Mobile-only Virtual Tour pill — sits between hero and pricing */
.mobile-tour-pill { display: none; }
@media (max-width: 880px) {
  .mobile-tour-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    width: calc(100% - 2 * var(--gutter));
    margin: var(--s-4) var(--gutter);
    padding: 0.95rem 1.1rem;
    background: var(--c-ink);
    color: var(--c-warm-white);
    text-decoration: none;
    border-radius: var(--r-pill);
    font-family: var(--f-body);
    font-weight: 800;
    font-size: var(--fs-md);
    letter-spacing: 0.01em;
    box-shadow: 0 6px 18px rgba(0,0,0,0.18);
    transition: background var(--t-fast), transform var(--t-fast);
  }
  .mobile-tour-pill:hover  { background: #2C2C2C; }
  .mobile-tour-pill:active { transform: scale(0.98); }
  .mobile-tour-pill__icon {
    width: 26px; height: 26px;
    border-radius: 50%;
    background: var(--c-green);
    color: var(--c-ink);
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0;
  }
  .mobile-tour-pill__icon svg { width: 16px; height: 16px; }
  .mobile-tour-pill__text { flex: 1; }
  .mobile-tour-pill__arrow {
    font-size: 1.2rem;
    line-height: 1;
    color: var(--c-green);
    margin-right: 0.15rem;
  }
}

/* =====================================================================
   MOBILE TUNING — pass 5
   Restore header opacity, drop bottom-bar background entirely,
   shift hero quote to bottom-right, nudge "Real reviews" down,
   simplify the Virtual Tour pill.
   ===================================================================== */

/* Header — back to the previous frosted opacity */
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.82) !important;
}

/* Bottom bar — fully transparent (no white, no frost). Buttons keep their
   own backgrounds and the hairline divider is removed too. */
@media (max-width: 880px) {
  .mobile-bar {
    background: transparent !important;
    border-top: 0 !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
}

/* Hero quote — move from centered to bottom-right, just above the Google badge */
@media (max-width: 880px) {
  .hero__review-float--ul {
    left: auto !important;
    right: var(--gutter) !important;
    bottom: clamp(8.5rem, 18vh, 11.5rem) !important;
    top: auto !important;
    transform: none !important;
    text-align: right;
    align-items: flex-end !important;
    max-width: 70% !important;
  }
  .hero__review-float--ul[data-active="true"] {
    transform: none !important;
  }
}

/* "Real reviews" handwritten note — halfway between the previous near-edge
   spot and the centered position from pass 4. */
@media (max-width: 880px) {
  .hero__personal-note {
    bottom: calc(clamp(4rem, 8vh, 5.5rem) * 0.28) !important;
  }
}

/* Virtual Tour pill — simplified to text-only, slightly bigger letters */
@media (max-width: 880px) {
  .mobile-tour-pill {
    justify-content: center;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    padding: 1.05rem 1.1rem;
    gap: 0;
  }
}

/* =====================================================================
   MOBILE TUNING — pass 6
   Quote: more space from Google pill, no dark backdrop. Hero fills the
   viewport so the Virtual Tour pill doesn't peek behind the bar.
   ===================================================================== */

/* Hero quote — give it ~the same gap from the Google pill as it has from
   the right edge, and remove the dark backdrop. Heavier text-shadow keeps
   it readable against the photo. */
@media (max-width: 880px) {
  .hero__review-float--ul {
    bottom: clamp(11rem, 24vh, 14rem) !important;
    background: transparent !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    text-shadow: 0 4px 22px rgba(0,0,0,0.95),
                 0 2px 8px rgba(0,0,0,0.9),
                 0 0 16px rgba(0,0,0,0.7);
  }
  .hero__review-float--ul .stars {
    text-shadow: 0 0 22px rgba(251, 188, 4, 0.5),
                 0 3px 10px rgba(0,0,0,0.8),
                 0 0 12px rgba(0,0,0,0.6);
  }
  .hero__review-float--ul cite {
    text-shadow: 0 2px 8px rgba(0,0,0,0.9), 0 0 12px rgba(0,0,0,0.6);
  }
}

/* Hero — fill the full mobile viewport so nothing peeks behind the
   transparent bottom bar (no more "black box" from the Virtual Tour pill). */
@media (max-width: 880px) {
  .hero {
    height: 100vh;
    height: 100svh;     /* small viewport height — accounts for browser chrome */
    height: 100dvh;     /* dynamic viewport height — preferred where supported */
  }
}

/* Sticky bar position — defensive: ensure the bar always sits flush with the
   bottom edge no matter what page-shell context it's injected into. The
   `inset-block-end: 0` form is more resilient than `bottom: 0` against any
   ancestor that creates a new containing block via transform/filter. */
@media (max-width: 880px) {
  .mobile-bar {
    inset-inline: 0;
    inset-block-end: 0;
    bottom: 0;
    position: fixed !important;
  }
}

/* =====================================================================
   MOBILE TUNING — pass 7
   Tighter bar padding so pills sit close to the bottom edge.
   Hero's bottom-gradient lightened so the transparent bar doesn't read
   as a "black box" on mobile.
   ===================================================================== */

@media (max-width: 880px) {
  /* Pills hug the bottom edge — keep just enough safe-area inset to clear
     the iPhone home indicator, but minimal extra padding. */
  .mobile-bar {
    padding: 0.35rem 0.5rem calc(0.15rem + env(safe-area-inset-bottom)) !important;
    gap: 0.5rem !important;
  }
  /* Body padding-bottom matches the slimmer bar */
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)) !important; }
  .newsletter { bottom: calc(64px + env(safe-area-inset-bottom) + 0.5rem) !important; }

  /* Hero bottom gradient — much lighter so the see-through bar shows photo
     instead of a dark band. The top-half darkening for text legibility is
     untouched. */
  .hero::after {
    background: linear-gradient(180deg,
      rgba(20, 18, 14, 0.15) 0%,
      rgba(20, 18, 14, 0.35) 50%,
      rgba(20, 18, 14, 0.45) 85%,
      rgba(20, 18, 14, 0.20) 100%) !important;
  }
}

/* =====================================================================
   MOBILE TUNING — pass 8
   Hide the "Upcoming deals?" newsletter slide-up on mobile. It was
   triggering on scroll and showing as a dark box behind the bottom bar.
   Newsletter remains on desktop where there's room.
   ===================================================================== */
@media (max-width: 880px) {
  .newsletter { display: none !important; }
}

/* =====================================================================
   DESKTOP HEADER FIX — make sure desktop header stays solid white
   regardless of any earlier mobile-targeted rules.
   ===================================================================== */
@media (min-width: 1081px) {
  .site-header {
    background: #ffffff !important;
    border-bottom: 1px solid var(--c-line-warm) !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
  }
  .site-header.is-scrolled {
    background: #ffffff !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
  /* No hero pull-up under the header on desktop */
  .hero, .page-hero { margin-top: 0; padding-top: 0; }
  .page-hero { padding: clamp(5rem, 12vw, 8rem) 0 clamp(3rem, 8vw, 5rem); }
}

/* =====================================================================
   Price canvas hosts — pricing numbers are now drawn into <canvas>
   elements at runtime. Style the host placeholder + canvas alignment.
   ===================================================================== */
.unit-card__pricegrid .price-host {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
}
.unit-card__pricegrid .price-host canvas {
  display: block;
  user-select: none;
  -webkit-user-select: none;
  pointer-events: none;
}

/* =====================================================================
   Price grid — tighter column sizing now that prices are canvas-rendered.
   Use minmax(0, max-content) so columns can shrink rather than overflow,
   and reduce gap so 3-digit prices fit even on the narrowest cards.
   ===================================================================== */
.unit-card__pricegrid {
  grid-template-columns: 1fr minmax(0, max-content) minmax(0, max-content) minmax(0, max-content);
  gap: 0.35rem 0.5rem !important;
  padding: var(--s-3) var(--s-4) !important;
}
.unit-card__pricegrid--no-saver {
  grid-template-columns: 1fr minmax(0, max-content) minmax(0, max-content);
}
.unit-card__pricegrid > .price {
  min-width: 0;
  overflow: visible;
}
.unit-card__pricegrid .price-host {
  min-width: 0;
}
@media (max-width: 880px) {
  .unit-card__pricegrid {
    gap: 0.3rem 0.4rem !important;
    padding: var(--s-3) var(--s-4) !important;
  }
}
