/* Pullman Urgent Care: Coming Soon
   "Neighbor v2" production styles. */

:root {
  --milk: #FBF9F4;
  --milk-deep: #F3EFE5;
  --milk-deeper: #EBE5D4;
  --crimson: #EA172B;
  --crimson-deep: #A3101C;
  --crimson-soft: #FCE2E5;
  --crimson-pale: #F5B3BA;
  --ink: #1F1D1A;
  --ink-2: #4A4744;
  --muted: #8A857A;
  --rule: #E5DFD0;

  --display: 'Fraunces', 'Source Serif 4', Georgia, serif;
  --sans: 'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  --max: 1200px;
  --pad-x: clamp(20px, 4vw, 48px);
}

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

html, body {
  margin: 0;
  padding: 0;
  background: var(--milk);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: inherit; }

.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;
}

/* ---------- Typography primitives ---------- */

.display {
  font-family: var(--display);
  font-weight: 400;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.display em { font-style: italic; color: var(--crimson); }

.display--xl  { font-size: clamp(42px, 7vw, 86px); letter-spacing: -0.028em; line-height: 1.0; }
.display--xl2 { font-size: clamp(34px, 6vw, 72px); letter-spacing: -0.028em; line-height: 1.0; }
.display--lg  { font-size: clamp(32px, 5.2vw, 60px); letter-spacing: -0.03em; }
.display--md  { font-size: clamp(28px, 4.6vw, 56px); letter-spacing: -0.027em; }
.display--sm  { font-size: clamp(22px, 3vw, 36px); letter-spacing: -0.025em; line-height: 1.1; }

.display--on-crimson { color: var(--milk); }
.display--on-crimson em { color: var(--crimson-pale); }

.eyebrow {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--crimson);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.eyebrow--on-crimson { color: var(--crimson-pale); }

.lede {
  font-size: clamp(16px, 1.5vw, 21px);
  line-height: 1.55;
  color: var(--ink-2);
  margin: 24px auto 0;
  max-width: 620px;
}
.brand-accent {
  color: var(--crimson);
  font-weight: 700;
}

.prose {
  font-size: clamp(15px, 1.35vw, 19px);
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 680px;
  margin: 0 auto;
}
.prose--on-crimson { color: rgba(251,249,244,0.88); }
.prose--tight { margin: 12px 0 0; }

.muted { color: var(--ink-2); font-size: 15px; }
.small { font-size: 13px; color: var(--muted); }

/* ---------- NAV ---------- */

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px var(--pad-x);
  max-width: var(--max);
  margin: 0 auto;
}
.nav__logo { display: block; }
.nav__logo img { height: 26px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.pill--soft {
  background: var(--crimson-soft);
  color: var(--crimson-deep);
}
.pill__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--crimson);
}

@media (max-width: 520px) {
  .nav { padding: 20px 22px; }
  .nav__logo img { height: 22px; }
  .pill { padding: 6px 12px; font-size: 11px; }
  .pill__text::before { content: "Fall 2026"; }
  .pill__text { font-size: 0; }
  .pill__text::before { font-size: 11px; }
}

/* ---------- HERO ---------- */

.hero {
  padding: 16px var(--pad-x) 60px;
  text-align: center;
}
.hero__inner {
  max-width: 1020px;
  margin: 0 auto;
  padding-top: 24px;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  background: var(--milk-deep);
  margin-bottom: 36px;
}
.eyebrow-pill__badge {
  background: var(--crimson);
  color: var(--milk);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.eyebrow-pill__label {
  font-size: 13px;
  color: var(--ink-2);
}

.signup {
  display: inline-flex;
  background: var(--milk-deep);
  border-radius: 999px;
  padding: 6px;
  gap: 6px;
  align-items: center;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.04);
  margin-top: 36px;
  max-width: 100%;
}
.signup__input {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 10px 20px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  min-width: 0;
  width: 280px;
  outline: none;
}
.signup__input::placeholder { color: var(--muted); }
.signup__btn {
  background: var(--crimson);
  color: var(--milk);
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease;
}
.signup__btn:hover { background: var(--crimson-deep); }

.signup__note {
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
}

.hero__scene {
  max-width: var(--max);
  margin: 72px auto 0;
  padding: 0 var(--pad-x);
}
.hero__scene img {
  width: 100%;
  height: auto;
  aspect-ratio: 2048 / 1200;
  border-radius: 32px;
  display: block;
  object-fit: cover;
}

@media (max-width: 520px) {
  .hero { padding: 8px 22px 40px; }
  .hero__inner { padding-top: 0; }
  .eyebrow-pill { margin-bottom: 24px; }
  .signup { width: 100%; display: flex; margin-top: 26px; }
  .signup__input { flex: 1 1 auto; width: auto; padding: 8px 14px; font-size: 13px; }
  .signup__btn { padding: 10px 16px; font-size: 12px; }
  .hero__scene { margin-top: 40px; padding: 0 16px; }
  .hero__scene img { border-radius: 20px; }
}

/* ---------- STORY ---------- */

.story {
  padding: clamp(60px, 10vw, 120px) var(--pad-x);
}
.story__top {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.story__top .prose { margin-top: 32px; }

.scenarios {
  list-style: none;
  padding: 0;
  margin: 64px auto 0;
  max-width: 1000px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.scenario {
  background: var(--milk-deep);
  border-radius: 24px;
  padding: 28px 32px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.scenario__dot {
  flex-shrink: 0;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--crimson);
  margin-top: 10px;
}
.scenario__label {
  font-size: 12px;
  font-weight: 600;
  color: var(--crimson-deep);
  text-transform: uppercase;
  letter-spacing: 0.067em;
  margin-bottom: 6px;
}
.scenario__text {
  font-family: var(--display);
  font-size: 22px;
  line-height: 1.3;
  color: var(--ink);
  font-weight: 400;
}

@media (max-width: 720px) {
  .scenarios { grid-template-columns: 1fr; gap: 12px; margin-top: 28px; }
  .scenario { padding: 18px 20px; border-radius: 18px; gap: 12px; }
  .scenario__dot { width: 8px; height: 8px; margin-top: 8px; }
  .scenario__label { font-size: 10px; }
  .scenario__text { font-size: 17px; }
}

/* ---------- CRIMSON BLOCK (offer + who) ---------- */

.crimson-block {
  background: var(--crimson-deep);
  color: var(--milk);
  border-radius: 48px 48px 0 0;
  margin: 0 24px;
}
.crimson-block__inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: clamp(60px, 10vw, 120px) var(--pad-x);
}

.offer .display { margin-bottom: 56px; max-width: 760px; }
.offer__grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.offer__card {
  background: rgba(251,249,244,0.08);
  border: 1px solid rgba(251,249,244,0.15);
  border-radius: 24px;
  padding: 28px 30px;
}
.offer__card--wide {
  grid-column: 1 / -1;
  display: flex;
  align-items: baseline;
  gap: 24px;
  flex-wrap: wrap;
}
.offer__card--wide .offer__title { margin: 0; flex: 0 0 auto; }
.offer__card--wide .offer__desc { flex: 1 1 320px; max-width: 620px; }
.offer__title {
  font-family: var(--display);
  font-size: 24px;
  line-height: 1.15;
  margin: 0 0 10px;
  font-weight: 400;
  color: var(--milk);
}
.offer__desc {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(251,249,244,0.8);
  margin: 0;
}

.who {
  margin-top: 80px;
  padding-top: 80px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  border-top: 1px solid rgba(251,249,244,0.15);
}
.who .display { margin-bottom: 28px; }
.who .prose { max-width: 600px; }

@media (max-width: 960px) {
  .offer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .crimson-block { margin: 0 12px; border-radius: 32px 32px 0 0; }
  .offer .display { margin-bottom: 28px; }
  .offer__grid { grid-template-columns: 1fr; gap: 12px; }
  .offer__card { padding: 18px 20px; border-radius: 18px; }
  .offer__card--wide { display: block; }
  .offer__card--wide .offer__title { margin-bottom: 4px; }
  .offer__title { font-size: 20px; margin-bottom: 4px; }
  .offer__desc { font-size: 13px; }
  .who { margin-top: 40px; padding-top: 40px; }
  .who .display { margin-bottom: 14px; }
}

/* ---------- HOURS ---------- */

.hours {
  padding: 80px var(--pad-x) 0;
}
.hours__card {
  max-width: 1000px;
  margin: 0 auto;
  background: var(--milk-deep);
  border-radius: 32px;
  padding: 48px 56px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}
.hours__text .display { letter-spacing: -0.025em; }
.hours__text .eyebrow { margin-bottom: 12px; }
.hours__text .small { margin-top: 16px; }

.hours__list { margin: 0; padding: 0; }
.hours__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--rule);
  padding: 18px 0;
  font-family: var(--display);
  font-size: 20px;
  color: var(--ink);
}
.hours__row dt { margin: 0; }
.hours__row dd { margin: 0; font-weight: 500; }

@media (max-width: 720px) {
  .hours { padding: 40px 22px 0; }
  .hours__card {
    padding: 24px 22px;
    border-radius: 20px;
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .hours__row { font-size: 16px; padding: 12px 0; }
}

/* ---------- LOCATION ---------- */

.location {
  padding: 80px var(--pad-x);
}
.location__heading {
  max-width: 1100px;
  margin: 0 auto 48px;
  text-align: center;
}
.location__heading .muted { margin-top: 12px; font-size: 16px; }

.location__card {
  max-width: 1100px;
  margin: 0 auto;
  background: var(--milk-deep);
  border-radius: 32px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
}
.location__map { position: relative; }
.landmark-map {
  display: block;
  width: 100%;
  height: 420px;
}

/* ---------- Leaflet map — Mapbox Dark v10 with crimson marker ---------- */
#puc-map { background: #111216; cursor: grab; }
#puc-map:active { cursor: grabbing; }
.leaflet-container {
  font-family: var(--sans);
  background: #111216;
}
/* Subtle warm shift so the cool dark tiles relate to the crimson palette */
.leaflet-tile-pane {
  filter: hue-rotate(-6deg) saturate(0.92);
}
.leaflet-marker-pane,
.leaflet-popup-pane,
.leaflet-overlay-pane,
.leaflet-shadow-pane,
.leaflet-tooltip-pane,
.leaflet-control-container { filter: none; }

/* Marker: logo mark with layered crimson halos for emphasis on dark bg */
.puc-marker { background: transparent; border: 0; }
.puc-marker__halo {
  position: absolute;
  top: 50%; left: 50%;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(234, 23, 43, 0.28);
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: puc-pulse-inner 3s ease-out infinite;
}
.puc-marker__halo--outer {
  width: 96px; height: 96px;
  background: rgba(234, 23, 43, 0.14);
  animation: puc-pulse-outer 3s ease-out infinite;
}
.puc-marker__logo {
  position: absolute;
  top: 50%; left: 50%;
  width: 44px; height: 44px;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 3px 8px rgba(0,0,0,0.2)) drop-shadow(0 0 10px rgba(234,23,43,0.35));
}
@keyframes puc-pulse-inner {
  0%, 100% { opacity: 0.9; }
  50%      { opacity: 0.55; }
}
@keyframes puc-pulse-outer {
  0%   { transform: translate(-50%, -50%) scale(0.9); opacity: 0.55; }
  100% { transform: translate(-50%, -50%) scale(1.25); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .puc-marker__halo, .puc-marker__halo--outer { animation: none; }
  .puc-marker__halo--outer { opacity: 0.4; }
}

/* Zoom controls — site-native styling */
.leaflet-control-zoom {
  border: 0 !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25) !important;
  border-radius: 10px !important;
  overflow: hidden;
}
.leaflet-control-zoom a,
.leaflet-control-zoom a:link {
  background: var(--milk) !important;
  color: var(--ink) !important;
  border: 0 !important;
  border-bottom: 1px solid var(--rule) !important;
  font-family: var(--sans) !important;
  font-weight: 600 !important;
  width: 32px !important;
  height: 32px !important;
  line-height: 32px !important;
  transition: background 0.15s ease, color 0.15s ease;
}
.leaflet-control-zoom a:last-child { border-bottom: 0 !important; }
.leaflet-control-zoom a:hover {
  background: var(--milk-deep) !important;
  color: var(--crimson) !important;
}
.leaflet-control-zoom a.leaflet-disabled {
  background: var(--milk-deep) !important;
  color: var(--muted) !important;
  cursor: default;
}

/* Attribution — floating cream badge on dark map */
.leaflet-control-attribution {
  background: rgba(251, 249, 244, 0.9) !important;
  color: var(--muted) !important;
  font-family: var(--sans) !important;
  font-size: 10px !important;
  padding: 2px 8px !important;
  border-radius: 6px 0 0 0;
}
.leaflet-control-attribution a {
  color: var(--ink-2) !important;
  text-decoration: none !important;
}
.leaflet-control-attribution a:hover { text-decoration: underline !important; }
.location__details {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}
.detail__label {
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.detail__value {
  font-family: var(--display);
  font-size: 22px;
  line-height: 1.3;
  color: var(--ink);
}
.detail__value--small { font-size: 18px; line-height: 1.4; }
.detail__value--contact {
  font-size: 18px;
  line-height: 1.4;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.detail__link {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.15s ease;
}
.detail__link:hover { color: var(--crimson); }
.detail__fax { color: var(--muted); font-family: var(--sans); font-size: 13px; margin-top: 6px; }

@media (max-width: 720px) {
  .location { padding: 40px 22px; }
  .location__heading { margin-bottom: 24px; }
  .location__card {
    grid-template-columns: 1fr;
    border-radius: 24px;
  }
  .landmark-map { height: 240px; }
  .location__details { padding: 20px; gap: 12px; }
  .detail__value { font-size: 18px; }
  .detail__value--small { font-size: 16px; }
}

/* ---------- CAREERS ---------- */

.careers {
  padding: 40px var(--pad-x) clamp(80px, 10vw, 120px);
}
.careers__card {
  max-width: 1000px;
  margin: 0 auto;
  background: var(--milk-deep);
  border-radius: 32px;
  padding: 56px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: center;
}
.careers__text .display { margin-bottom: 16px; }
.careers__text .prose { margin: 0; font-size: 16px; }

.careers__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--crimson);
  color: var(--milk);
  border-radius: 999px;
  padding: 18px 28px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  gap: 16px;
  transition: background 0.15s ease;
}
.careers__link:hover { background: var(--crimson-deep); }

@media (max-width: 720px) {
  .careers { padding: 0 22px 60px; }
  .careers__card {
    grid-template-columns: 1fr;
    padding: 28px 24px;
    gap: 20px;
    border-radius: 24px;
  }
  .careers__link { padding: 12px 18px; font-size: 13px; }
}

/* ---------- FINAL SIGNUP ---------- */

.final-signup {
  background: var(--milk-deep);
  margin: 0 24px;
  border-radius: 32px;
  padding: 80px var(--pad-x);
  text-align: center;
}
.final-signup__inner {
  max-width: 700px;
  margin: 0 auto;
}
.final-signup__mark {
  width: 52px;
  margin: 0 auto 24px;
}
.final-signup .display { margin-bottom: 14px; }
.final-signup .muted { margin-bottom: 28px; }

.final-signup .signup {
  background: var(--milk);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  margin-top: 0;
}

@media (max-width: 720px) {
  .final-signup {
    margin: 0 12px;
    border-radius: 24px;
    padding: 48px 22px;
  }
  .final-signup__mark { width: 36px; margin-bottom: 14px; }
}

/* ---------- THANKS / CONFIRMATION PAGE ---------- */

.thanks {
  padding: clamp(60px, 10vw, 140px) var(--pad-x);
  text-align: center;
}
.thanks__inner {
  max-width: 720px;
  margin: 0 auto;
}
.thanks__mark {
  width: 56px;
  margin: 0 auto 28px;
}
.thanks .display { margin: 14px 0 18px; }
.thanks__home {
  display: inline-block;
  margin-top: 36px;
  padding: 12px 22px;
  background: var(--milk-deep);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}
.thanks__home:hover {
  background: var(--crimson);
  color: var(--milk);
}

/* ---------- FOOTER ---------- */

.footer {
  padding: 48px var(--pad-x) 32px;
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}
.footer__left { display: flex; align-items: center; gap: 12px; }
.footer__left img { width: 28px; }
.footer__right { display: flex; gap: 24px; }
.footer__right a { color: var(--muted); text-decoration: none; }
.footer__right a:hover { color: var(--ink-2); }

@media (max-width: 520px) {
  .footer { padding: 28px 22px 20px; font-size: 11px; gap: 8px; }
  .footer__left img { width: 18px; }
  .footer__right { gap: 12px; }
}
