/* Homepage hero: compact, above-the-fold layout + the live "right now" weather moment. */
.hero .hero-grid { padding-top: 5.75rem; padding-bottom: 3.75rem; gap: 0; }
.hero .hero-title-xl { margin: 0.1rem 0 0.9rem; }
.hero .hero-title-xl .htx-top { font-size: clamp(2.5rem, 7.2vw, 6rem); }
.hero .hero-title-xl .htx-main { font-size: clamp(3.4rem, 12vw, 9rem); }
.hero .hero-subhead { font-size: clamp(1.35rem, 2.6vw, 2.1rem); margin: 0 0 1.15rem; }
.hero #hero-rotator { min-height: 1.15em; }
.hero .hero-kicker { margin-bottom: 0.2rem; }
.hero .hero-channel { margin-bottom: 1rem; }
.hero .hero-lead { font-size: clamp(1rem, 1.5vw, 1.15rem); max-width: 560px; margin: 0 auto 1.5rem; }
.hero .hero-ctas { margin-top: 0.25rem; }

/* Live weather moment */
.hero-pulse { display: inline-flex; align-items: center; gap: clamp(0.7rem, 2vw, 1.2rem); margin: 0 auto 1.1rem; padding: 0.7rem 1.25rem;
  border-radius: 20px; background: rgba(8, 24, 44, 0.55); border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35); }
.hero-pulse[hidden] { display: none; }
.hp-tile { display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: 0.55rem; align-items: center; text-align: left; }
.hp-ico { grid-row: 1 / 3; font-size: 2rem; line-height: 1; }
.hp-temp { font-family: var(--display); font-weight: 400; font-size: clamp(2.3rem, 4.4vw, 3.2rem); line-height: 0.9; color: #fff; }
.hp-lv .hp-temp { color: #e3c46f; }
.hp-where { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.82); white-space: nowrap; max-width: 11rem; overflow: hidden; text-overflow: ellipsis; }
.hp-vs { font-size: 1.5rem; color: #e3c46f; }
.hp-line { margin: 0; padding-left: clamp(0.7rem, 2vw, 1.2rem); border-left: 1px solid rgba(255, 255, 255, 0.25); text-align: left;
  font-family: var(--serif); font-style: italic; font-size: clamp(1.05rem, 1.8vw, 1.35rem); line-height: 1.15; color: #fff; }
.is-temecula .hp-line { max-width: 11rem; }
.hero-content > .hero-pulse { animation-delay: 0.4s; }

@media (max-width: 560px) {
  .hero .hero-grid { padding-top: 6.2rem; padding-bottom: 3rem; }
  .hero .hero-title-xl .htx-top { font-size: clamp(2.2rem, 11vw, 3.4rem); }
  .hero .hero-title-xl .htx-main { font-size: clamp(3.2rem, 17vw, 5rem); }
  .hero-pulse { padding: 0.6rem 0.9rem; gap: 0.55rem; border-radius: 16px; }
  .hp-ico { font-size: 1.5rem; }
  .hp-temp { font-size: 2rem; }
  .hp-where { font-size: 0.64rem; letter-spacing: 0.06em; max-width: 7.5rem; }
  .hero-pulse { flex-wrap: wrap; justify-content: center; row-gap: 0.45rem; }
  .hp-line { flex-basis: 100%; text-align: center; border-left: 0; padding: 0.4rem 0 0; border-top: 1px solid rgba(255, 255, 255, 0.2); font-size: 1rem; }
  .hp-line br { display: none; }
  .is-temecula .hp-line { max-width: none; }
}
@media (prefers-reduced-motion: reduce) { .hero-content > .hero-pulse { animation: none; } }

/* Legibility: the compact hero puts text over the brightest part of the photo, so deepen the middle. */
.hero-art ~ .hero-scrim {
  background:
    radial-gradient(ellipse 75% 60% at 50% 55%, rgba(6, 16, 32, 0.6), rgba(6, 16, 32, 0) 72%),
    linear-gradient(180deg, rgba(10, 26, 51, 0.62) 0%, rgba(10, 26, 51, 0.5) 45%, rgba(7, 13, 29, 0.84) 100%);
}
.hero-art ~ .hero-grid .hero-lead { text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7), 0 2px 18px rgba(0, 0, 0, 0.65); }

/* The scroll cue crowds the buttons once they're above the fold. */
.hero:has(.hero-pulse:not([hidden])) .hero-scroll { display: none; }
@media (max-height: 860px) { .hero-scroll { display: none; } }

/* "Ask Ruby" bar */
.hero-ask { max-width: 740px; width: 100%; margin: 0 auto 1.3rem; }
.ha-field { display: flex; align-items: center; gap: 0.65rem; background: rgba(255, 255, 255, 0.97); border-radius: 999px;
  padding: 0.4rem 0.4rem 0.4rem 0.6rem; box-shadow: 0 16px 44px rgba(0, 0, 0, 0.42); transition: box-shadow 0.2s; }
.ha-field:focus-within { box-shadow: 0 0 0 3px rgba(227, 196, 111, 0.7), 0 16px 44px rgba(0, 0, 0, 0.42); }
.ha-badge { flex: 0 0 auto; display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 50%; background: var(--accent); color: #fff;
  font-weight: 700; font-size: 1rem; }
.ha-in { flex: 1 1 auto; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 1rem; color: var(--ink); padding: 0.6rem 0; outline: none; text-shadow: none; }
.ha-in::placeholder { color: var(--ink-soft); opacity: 1; }
.ha-go { flex: 0 0 auto; border: 0; border-radius: 999px; background: #e3c46f; color: var(--bg-deep); font: inherit; font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.14em; text-transform: uppercase; padding: 0.85rem 1.35rem; cursor: pointer; transition: background 0.15s; }
.ha-go:hover { background: #f0d587; }
.ha-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-top: 0.75rem; }
.ha-chip { border: 1px solid rgba(255, 255, 255, 0.42); background: rgba(8, 24, 44, 0.5); color: #fff; border-radius: 999px; padding: 0.4rem 0.9rem;
  font: inherit; font-size: 0.85rem; cursor: pointer; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background 0.15s, border-color 0.15s; }
.ha-chip:hover { background: rgba(255, 255, 255, 0.2); border-color: #fff; }
.hero-content > .hero-ask { animation-delay: 0.46s; }
@media (max-width: 560px) {
  .ha-chip:nth-child(n+4) { display: none; }
  .ha-go { padding: 0.8rem 1rem; letter-spacing: 0.08em; }
  .ha-in { font-size: 16px; }
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Keep the whole stack (weather moment + ask bar + buttons) on one screen at 900px tall. */
@media (min-width: 561px) {
  .hero .hero-grid { padding-top: 5.1rem; padding-bottom: 2.6rem; }
  .hero .hero-channel { margin-bottom: 0.8rem; }
  .hero .hero-title-xl { margin-bottom: 0.6rem; }
  .hero .hero-subhead { margin-bottom: 0.8rem; }
  .hero-pulse { margin-bottom: 0.8rem; padding: 0.55rem 1.1rem; }
  .hero-ask { margin-bottom: 1.05rem; }
  .ha-chips { margin-top: 0.6rem; }
}

/* Phones: the YouTube pill above already says it, so drop the kicker to keep the buttons on the first screen. */
@media (max-width: 560px) { .hero .hero-kicker { display: none; } }

/* Temecula Valley logo as the hero headline */
.hero .hero-logo-h1 { margin: 0.2rem 0 0.7rem; line-height: 0; }
.hero .hero-logo { width: min(560px, 82vw); height: auto; display: block; filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.55)); }
@media (max-width: 768px) { .hero .hero-logo { width: min(360px, 86vw); } }

/* Centered hero: kicker + logo on one axis */
.hero .hero-grid { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.hero .hero-content { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: none; width: 100%; }
.hero .hero-logo { width: min(760px, 86vw); }
.hero .hero-logo-h1 { margin: 0.6rem 0 0; }
@media (max-width: 768px) { .hero .hero-logo { width: min(380px, 88vw); } }
