/* ==========================================================================
   "Pop" theme — bold, flat, black-outlined look with color-block bands and
   hard offset shadows. Opt-in: applies only to pages with <body class="theme-pop">
   (currently /miami/). Loaded after styles.css and overrides it in scope.
   ========================================================================== */

.theme-pop {
  --pop-ink: #000000;
  --pop-paper: #ffffff;
  --pop-cream: #f4f4f0;
  --pop-pink: #ff90e8;
  --pop-yellow: #ffc900;
  --pop-mint: #7ee0b5;
  --pop-lilac: #c5b3ff;
  --pop-orange: #ff9e5e;
  --pop-border: 2px solid var(--pop-ink);
  --pop-radius: 6px;
  --pop-lift: translate(-4px, -4px);
  --pop-shadow: 4px 4px 0 var(--pop-ink);

  color: var(--pop-ink);
  background: var(--pop-paper);
}

/* ------------------------------ Type ------------------------------------- */
.theme-pop h1,
.theme-pop h2,
.theme-pop h3 {
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--pop-ink);
}
.theme-pop h1 { font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.5rem); }
.theme-pop h2 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.6rem); }
.theme-pop a { color: var(--pop-ink); }
.theme-pop .skip-link { background: var(--pop-ink); color: var(--pop-paper); }
.theme-pop :focus-visible {
  outline: 3px solid var(--pop-ink);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Eyebrow becomes a small outlined sticker */
.theme-pop .section__eyebrow {
  background: var(--pop-paper);
  color: var(--pop-ink);
  border: var(--pop-border);
  border-radius: 999px;
  padding: var(--space-1) var(--space-3);
  letter-spacing: 0.06em;
  margin-bottom: var(--space-4);
}
.theme-pop .section__head { max-width: 52rem; }
.theme-pop .section__lead { color: var(--pop-ink); }

/* ----------------------------- Buttons ----------------------------------- */
.theme-pop .btn {
  border: var(--pop-border);
  border-radius: var(--pop-radius);
  box-shadow: none;
  color: var(--pop-ink);
  background: var(--pop-paper);
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease, color 140ms ease;
}
.theme-pop .btn:hover {
  transform: var(--pop-lift);
  box-shadow: var(--pop-shadow);
  text-decoration: none;
}
.theme-pop .btn:active { transform: translate(0, 0); box-shadow: none; }
.theme-pop .btn--primary { background: var(--pop-ink); color: var(--pop-paper); }
.theme-pop .btn--primary:hover { background: var(--pop-yellow); color: var(--pop-ink); }
.theme-pop .btn--accent { background: var(--pop-pink); color: var(--pop-ink); }
.theme-pop .btn--accent:hover { background: var(--pop-pink); color: var(--pop-ink); }
.theme-pop .btn--ghost { background: var(--pop-paper); color: var(--pop-ink); }
.theme-pop .btn--ghost:hover { background: var(--pop-paper); }

/* ------------------------------ Header ----------------------------------- */
.theme-pop .site-header {
  background: var(--pop-paper);
  backdrop-filter: none;
  border-bottom: var(--pop-border);
}
.theme-pop .primary-nav__list a,
.theme-pop .nav-dropdown-toggle,
.theme-pop .header-contact { color: var(--pop-ink); }
.theme-pop .primary-nav__list a,
.theme-pop .nav-dropdown-toggle { border-radius: 999px; }
/* Inset ring instead of a border so hovering adds no width to the nav */
.theme-pop .primary-nav__list a:hover,
.theme-pop .nav-dropdown-toggle:hover {
  background: var(--pop-paper);
  box-shadow: inset 0 0 0 2px var(--pop-ink);
}
.theme-pop .brand,
.theme-pop .primary-nav__list a,
.theme-pop .nav-dropdown-toggle,
.theme-pop .header-contact,
.theme-pop .primary-nav .btn { white-space: nowrap; }
.theme-pop .header-contact:hover { color: var(--pop-ink); text-decoration: underline; }
.theme-pop .nav-toggle__bar { background: var(--pop-ink); }
.theme-pop .primary-nav { border-bottom: var(--pop-border); box-shadow: none; }
.theme-pop .nav-dropdown a:hover { background: var(--pop-pink); box-shadow: none; }
/* Small desktops: the hero already has a call button, so drop the header phone */
@media (min-width: 960px) and (max-width: 1179px) {
  .theme-pop .header-contact { display: none; }
}
@media (min-width: 960px) {
  .theme-pop .primary-nav { border-bottom: 0; }
  .theme-pop .nav-dropdown {
    border: var(--pop-border);
    border-radius: var(--pop-radius);
    box-shadow: var(--pop-shadow);
  }
  .theme-pop .nav-dropdown a { border-radius: 0; }
}

/* ------------------------------- Hero ------------------------------------ */
.theme-pop .hero {
  background: var(--pop-pink);
  color: var(--pop-ink);
  border-bottom: var(--pop-border);
  padding-block: var(--space-7);
  overflow: hidden;
}
@media (min-width: 768px) { .theme-pop .hero { padding-block: var(--space-8); } }
.theme-pop .hero__badge {
  background: var(--pop-paper);
  color: var(--pop-ink);
  border: var(--pop-border);
  margin-bottom: var(--space-5);
}
.theme-pop .hero h1 { margin-bottom: var(--space-5); }
.theme-pop .hero__highlight {
  color: var(--pop-ink);
  background: var(--pop-yellow);
  padding: 0 0.12em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.theme-pop .hero__lead {
  color: var(--pop-ink);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  margin-bottom: var(--space-6);
}
.theme-pop .hero__actions { margin-bottom: 0; }

/* Machine photo: outlined card, hard shadow, slight tilt, yellow disc inside */
.theme-pop .city-hero__media {
  background:
    radial-gradient(circle at 78% 22%, var(--pop-yellow) 0 34%, transparent 34.5%),
    var(--pop-paper);
  border: var(--pop-border);
  border-radius: var(--pop-radius);
  box-shadow: 8px 8px 0 var(--pop-ink);
  transform: rotate(2deg);
}
.theme-pop .city-hero__media img { filter: none; }
/* Tall, narrow cooler photo: give it more height on desktop */
@media (min-width: 880px) {
  .theme-pop .city-hero__media img { max-height: 32rem; }
}
.theme-pop .city-hero__chip {
  border: var(--pop-border);
  border-radius: 999px;
  box-shadow: var(--pop-shadow);
  color: var(--pop-ink);
}
.theme-pop .city-hero__chip svg { color: var(--pop-ink); }
.theme-pop .city-hero__chip--top { background: var(--pop-yellow); transform: rotate(-6deg); }
.theme-pop .city-hero__chip--bottom { background: var(--pop-mint); transform: rotate(4deg); }

/* ------------------------- Black highlights band ------------------------- */
.pop-ticker {
  background: var(--pop-ink);
  color: var(--pop-paper);
  border-bottom: var(--pop-border);
  padding-block: var(--space-4);
}
.pop-ticker__list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2) var(--space-6);
  font-weight: 800;
  font-size: clamp(1rem, 0.92rem + 0.3vw, 1.125rem);
  letter-spacing: -0.01em;
  text-align: center;
}
.pop-ticker__list li { display: inline-flex; align-items: center; gap: var(--space-2); white-space: nowrap; }
.pop-ticker__list li::before { content: "\2726"; color: var(--pop-pink); }

/* --------------------------- Explore cards ------------------------------- */
.theme-pop .pop-explore { background: var(--pop-cream); }
.theme-pop .type-card {
  background: var(--pop-paper);
  border: var(--pop-border);
  border-radius: var(--pop-radius);
  box-shadow: none;
  padding: var(--space-6) var(--space-5);
  transition: transform 140ms ease, box-shadow 140ms ease;
}
.theme-pop .type-card:hover {
  transform: var(--pop-lift);
  box-shadow: var(--pop-shadow);
}
.theme-pop .type-card h3 { font-size: clamp(1.2rem, 1.1rem + 0.4vw, 1.4rem); }
.theme-pop .type-card p { color: var(--pop-ink); font-size: var(--fs-400); }
.theme-pop .type-card--link:hover h3,
.theme-pop .type-card--link:focus-visible h3 { color: var(--pop-ink); }
.theme-pop .type-card__icon {
  border: var(--pop-border);
  border-radius: 50%;
  color: var(--pop-ink);
  background: var(--pop-pink);
  width: 3.5rem;
  height: 3.5rem;
}
.theme-pop .type-card:nth-child(5n + 2) .type-card__icon { background: var(--pop-yellow); }
.theme-pop .type-card:nth-child(5n + 3) .type-card__icon { background: var(--pop-mint); }
.theme-pop .type-card:nth-child(5n + 4) .type-card__icon { background: var(--pop-lilac); }
.theme-pop .type-card:nth-child(5n + 5) .type-card__icon { background: var(--pop-orange); }
.theme-pop .type-card__more {
  color: var(--pop-ink);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Five cards: 2-up on tablets (last one full width), 3 + 2 on desktop */
@media (min-width: 640px) {
  .theme-pop .type-grid--3 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
  .theme-pop .type-grid--3 { grid-template-columns: repeat(6, 1fr); max-width: none; }
  .theme-pop .type-grid--3 > * { grid-column: span 2; }
  .theme-pop .type-grid--3 > :nth-child(4):nth-last-child(2),
  .theme-pop .type-grid--3 > :nth-child(5):nth-last-child(1) { grid-column: span 3; }
}

/* ------------------------------ Lead form -------------------------------- */
.theme-pop .lead {
  background: var(--pop-yellow);
  color: var(--pop-ink);
  border-top: var(--pop-border);
}
.theme-pop .lead .section__lead,
.theme-pop .lead .section__lead strong { color: var(--pop-ink); }
.theme-pop .lead__points { font-weight: 700; }
.theme-pop .lead__points svg { color: var(--pop-ink); }
.theme-pop .lead__points a { text-decoration: underline; }
.theme-pop .form-card {
  border: var(--pop-border);
  border-radius: var(--pop-radius);
  box-shadow: 8px 8px 0 var(--pop-ink);
  color: var(--pop-ink);
}
.theme-pop .field input,
.theme-pop .field select,
.theme-pop .field textarea {
  border: var(--pop-border);
  border-radius: var(--pop-radius);
}
.theme-pop .field input:focus,
.theme-pop .field select:focus,
.theme-pop .field textarea:focus {
  border-color: var(--pop-ink);
  box-shadow: 0 0 0 3px var(--pop-pink);
}
.theme-pop .field--invalid input,
.theme-pop .field--invalid select,
.theme-pop .field--invalid textarea { border-color: var(--color-error); }
.theme-pop .field--check label,
.theme-pop .form-note { color: #3a3a3a; }
.theme-pop .form-note a { text-decoration: underline; }
/* Keep side-by-side fields the same height (don't stretch the control) */
.theme-pop .field { align-content: start; }
.theme-pop .form-status { border-radius: var(--pop-radius); }

/* ------------------------------- Footer ---------------------------------- */
.theme-pop .site-footer { background: var(--pop-ink); color: #e8e8e8; }
.theme-pop .site-footer a { color: #e8e8e8; }
.theme-pop .site-footer a:hover { color: var(--pop-pink); }
.theme-pop .footer-social a:hover { background: var(--pop-pink); color: var(--pop-ink); }
.theme-pop .footer__bottom { border-top-color: rgba(255, 255, 255, 0.2); }

/* --------------------------- Reduced motion ------------------------------ */
@media (prefers-reduced-motion: reduce) {
  .theme-pop .btn:hover,
  .theme-pop .type-card:hover { transform: none; }
  .theme-pop .city-hero__media,
  .theme-pop .city-hero__chip--top,
  .theme-pop .city-hero__chip--bottom { transform: none; }
}
