/* Page sections. One block per Flexible Content layout, scoped to the layout's class. Mobile first. */

/* ── Shared by content sections ───────────────────────────────────────── */
.section { max-width: var(--max); margin: 0 auto; padding: var(--section) var(--gutter) 0; }
.section:last-child { padding-bottom: var(--section); }
.section-head { margin-bottom: 20px; }
.section-head p { margin-top: 8px; color: var(--ink-soft); }
.section-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 16px; }
.section-head-row .link-arrow { flex: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; text-underline-offset: 4px; }
@media (max-width: 699px) { .section-head { margin-bottom: 16px; } }

/* Tiles: category tiles (and later add-ons) share one square image size */
.tile-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 12px; }
.tile { display: flex; flex-direction: column; text-decoration: none; min-width: 0; }
.tile-img {
  display: grid; place-items: center; aspect-ratio: 1 / 1; overflow: hidden;
  background: var(--tint); border-radius: var(--r-photo);
}
.tile-img img { width: 72%; height: 72%; object-fit: contain; transition: transform 220ms cubic-bezier(0.34, 1.56, 0.64, 1); }
.tile-name { margin-top: 10px; font: 700 1.0625rem/1.25 var(--display); letter-spacing: -0.01em; }
.tile-meta { margin-top: 2px; font-size: 0.9375rem; color: var(--ink-soft); font-weight: 600; }
@media (hover: hover) {
  a.tile:hover .tile-img img { transform: translateY(-4px) scale(1.04); }
  a.tile:hover .tile-name { text-decoration: underline; text-underline-offset: 4px; }
}
@media (prefers-reduced-motion: reduce) { .tile-img img { transition: none; } }
@media (max-width: 699px) {
  /* Swipe tiles, about two and a half on screen */
  .tile-row {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 40%; gap: 12px;
    margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter) 10px;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    scroll-padding-left: var(--gutter); scrollbar-width: none;
  }
  .tile-row::-webkit-scrollbar { display: none; }
  .tile-row > * { scroll-snap-align: start; }
  .tile-name { font-size: 0.9375rem; margin-top: 8px; }
  .tile-meta { font-size: 0.8125rem; }
}
@media (min-width: 700px) { .tile-row { grid-template-columns: repeat(4, 1fr); gap: 24px 20px; } }

.section-link { margin-top: 20px; }

/* Rental card (template-parts/product-card.php): every photo square */
.unit { scroll-snap-align: start; min-width: 0; }
.unit-link { display: flex; flex-direction: column; text-decoration: none; }
.unit-photo { display: block; border-radius: var(--r-photo); overflow: hidden; background: var(--tint); }
.unit-photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 60%; }
/* Cut-outs and diagrams on white (sb_image_on_white()) show whole on the tint instead of being cropped */
.unit-photo.is-on-white img { object-fit: contain; padding: 6%; mix-blend-mode: multiply; }
.unit-name { margin-top: 12px; }
.unit-meta { margin-top: 2px; font-size: 0.9375rem; color: var(--ink-soft); line-height: 1.4; }
.unit-price { margin-top: 6px; font-size: 0.9375rem; color: var(--ink-soft); }
.unit-price .price { font-size: 1.25rem; color: var(--ink); margin-right: 2px; }
@media (hover: hover) { .unit-link:hover .unit-name { text-decoration: underline; text-underline-offset: 4px; } }

/* ── Product row (layout "product_rail") ──────────────────────────────── */
.rail-nav { display: none; gap: 8px; }
.round-btn {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer;
}
.round-btn:disabled { opacity: 0.35; cursor: default; }
@media (hover: hover) { .round-btn:not(:disabled):hover { border-color: var(--ink); } }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: 16px;
  margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 8px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-left: var(--gutter);
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
@media (max-width: 699px) {
  .rail { grid-auto-columns: 62%; gap: 12px; }
  .booked .section-link { margin-top: 8px; }
}
@media (min-width: 700px) {
  .rail { grid-auto-columns: 40%; gap: 20px; }
  .rail-nav { display: flex; }
}
@media (min-width: 1024px) {
  .rail { grid-auto-columns: calc((100% - 3 * 24px) / 4); gap: 24px; margin: 0; padding: 4px 0 8px; scroll-padding-left: 0; }
}

/* ── Pickup or delivery cards (layout "ways") ──────────────────────────── */
.ways-tabs { display: none; }
.ways-grid { display: grid; gap: 20px; }
/* Loud cards in her logo colors, each holding a white receipt with a torn edge */
.way {
  display: flex; flex-direction: column; padding: 26px 22px 24px;
  border-radius: var(--r-card); background: var(--sun);
  box-shadow: 0 10px 0 rgba(2, 28, 105, 0.16);
}
.way-sky { background: var(--sky); }
.way-icon {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--white); color: var(--ink); box-shadow: 0 4px 0 rgba(2, 28, 105, 0.14);
}
.way-title { margin-top: 14px; font: 800 2rem/1 var(--display); letter-spacing: -0.02em; }
.way-lead { margin-top: 6px; font-weight: 700; font-size: 1.0625rem; }
.receipt {
  flex: 1; display: flex; flex-direction: column;
  margin-top: 18px; padding: 18px 18px 26px; background: var(--white);
  border-radius: var(--r-photo) var(--r-photo) 0 0;
  -webkit-mask: radial-gradient(circle 9px at 50% 100%, transparent 8.5px, #000 9px) 0 0 / 22px 100% repeat-x;
          mask: radial-gradient(circle 9px at 50% 100%, transparent 8.5px, #000 9px) 0 0 / 22px 100% repeat-x;
}
.receipt-title { font-size: 0.875rem; font-weight: 700; color: var(--ink-soft); margin-bottom: 8px; }
.receipt dl { flex: 1; display: flex; flex-direction: column; }
.receipt dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 1rem; }
.receipt dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 700; }
.receipt .receipt-total { margin-top: auto; padding-top: 12px; border-top: 2px dashed var(--line); font-weight: 700; }
.receipt dl > div:nth-last-child(2) { margin-bottom: 12px; }
.receipt-total dd { font: 800 1.5rem/1 var(--display); }
.way-foot { margin-top: 16px; font-size: 1rem; line-height: 1.45; font-weight: 600; }
@media (max-width: 699px) {
  /* Pill tabs over a two-card swipe */
  .ways-tabs {
    display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 14px;
    border-radius: var(--r-pill); background: var(--tint);
  }
  .ways-tabs button {
    min-height: 40px; padding: 0 20px; border: 0; border-radius: var(--r-pill); background: transparent;
    color: var(--ink); font: 700 0.9375rem/1 var(--body); cursor: pointer;
  }
  .ways-tabs button[aria-selected="true"] { background: var(--ink); color: var(--white); }
  .ways-grid {
    grid-auto-flow: column; grid-auto-columns: 88%; gap: 12px; align-items: stretch;
    margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 14px;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    scroll-padding-left: var(--gutter); scrollbar-width: none;
  }
  .ways-grid::-webkit-scrollbar { display: none; }
  .way {
    scroll-snap-align: start; padding: 18px 16px 18px;
    display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; align-content: start;
  }
  .way-icon { width: 44px; height: 44px; grid-row: span 2; align-self: center; }
  .way-icon .icon { width: 24px; height: 24px; }
  .way-title { margin-top: 0; font-size: 1.5rem; }
  .way-lead { margin-top: 2px; font-size: 0.9375rem; }
  .receipt, .way-foot { grid-column: 1 / -1; }
  .receipt { margin-top: 14px; padding: 14px 14px 22px; }
  .receipt-title { margin-bottom: 4px; }
  .receipt dl > div { padding: 4px 0; font-size: 0.9375rem; }
  .receipt-total dd { font-size: 1.25rem; }
  .way-foot { margin-top: 12px; font-size: 0.875rem; }
}
@media (min-width: 700px) {
  .ways-grid { grid-template-columns: 1fr 1fr; column-gap: 24px; row-gap: 0; }
  /* Subgrid keeps icon, title, lead, receipt total and note on the same lines in both cards */
  .way { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; align-content: start; padding: 32px; }
  .receipt { padding: 20px 22px 28px; }
}

/* ── Product tiles (layout "product_tiles") ────────────────────────────── */
ul.tile-row { list-style: none; margin-top: 0; margin-bottom: 0; }
@media (min-width: 700px) { ul.tile-row { padding: 0; } }
.tile-img.is-photo img { width: 100%; height: 100%; object-fit: cover; }
/* Product shots on white: multiply lets the tile's tint show through the white, so every tile keeps its rounded box */
.addons .tile-img img { mix-blend-mode: multiply; }
.tile-meta .price { font-size: 1.25rem; color: var(--ink); }
@media (max-width: 699px) { .tile-meta .price { font-size: 1.125rem; } }

/* ── Questions and answers (layout "faq") ──────────────────────────────── */
.know-list { display: grid; gap: 22px; }
.know-list dt { font: 700 1.125rem/1.25 var(--display); letter-spacing: -0.01em; }
.know-list dd { margin-top: 6px; color: var(--ink-soft); }
.know-list dd > * + * { margin-top: 0.6em; }
.know-list a { color: var(--ink); font-weight: 700; text-underline-offset: 3px; }
@media (max-width: 699px) {
  /* Swipe cards instead of a long list */
  .know-list {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 80%; gap: 12px;
    margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 10px;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    scroll-padding-left: var(--gutter); scrollbar-width: none;
  }
  .know-list::-webkit-scrollbar { display: none; }
  .know-list > div { scroll-snap-align: start; padding: 18px; border-radius: var(--r-card); background: var(--tint); }
  .know-list dd { font-size: 0.9375rem; }
  .know .section-link { margin-top: 8px; }
}
@media (min-width: 700px) { .know-list { grid-template-columns: 1fr 1fr; gap: 32px 48px; } }

/* ── Quote request (layout "quote") ────────────────────────────────────── */
.quote { display: grid; gap: 24px; padding-bottom: var(--section); }
.quote-photo { border-radius: var(--r-card); overflow: hidden; }
.quote-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; }
.quote-copy p { margin-top: 12px; max-width: 46ch; }
.quote-actions { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.quote-actions .btn-ghost { min-height: 52px; }
@media (max-width: 699px) {
  .quote { gap: 18px; }
  .quote-photo img { aspect-ratio: 16 / 9; }
  .quote-actions { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 8px; }
  .quote-actions .btn { min-width: 0; padding: 0 10px; gap: 6px; font-size: 0.875rem; white-space: nowrap; }
}
@media (min-width: 700px) {
  .quote { grid-template-columns: 0.8fr 1fr; align-items: center; gap: 48px; }
  .quote-photo img { aspect-ratio: 4 / 5; }
}
@media (min-width: 1024px) { .quote-photo img { aspect-ratio: 5 / 4; } }

/* Without a photo: the copy sits in a tint panel, buttons beside it on desktop */
.quote.no-photo { display: block; }
.quote.no-photo .quote-copy { padding: 24px 20px; border-radius: var(--r-card); background: var(--tint); }
@media (min-width: 700px) { .quote.no-photo .quote-copy { padding: 40px; } }
@media (min-width: 1024px) {
  .quote.no-photo .quote-copy { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 48px; align-items: center; padding: 48px 56px; }
  .quote.no-photo .quote-actions { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; }
}

/* ── Category tiles (layout "categories") ─────────────────────────────── */
.chips {
  list-style: none; display: flex; gap: 8px; margin: 20px calc(var(--gutter) * -1) 0; padding: 0 var(--gutter) 4px;
  overflow-x: auto; scrollbar-width: none;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; white-space: nowrap;
  border: 2px solid var(--line); border-radius: var(--r-pill);
  font-weight: 700; font-size: 0.9375rem; text-decoration: none;
}
@media (hover: hover) { .chip:hover { border-color: var(--ink); } }
@media (max-width: 699px) {
  .chips { margin-top: 12px; }
  .chip { min-height: 40px; padding: 0 16px; }
}
@media (min-width: 700px) { .chips { flex-wrap: wrap; margin: 24px 0 0; padding: 0; overflow: visible; } }

/* ── Hero with date search (layout "hero") ─────────────────────────────── */
.hero { position: relative; overflow: hidden; background: var(--sky); }
.hero-inner {
  position: relative; z-index: 2;
  max-width: var(--max); margin: 0 auto; padding: 20px var(--gutter) 0;
  display: flex; flex-direction: column;
}
.hero-copy { position: relative; z-index: 3; }
/* Headline: a slow band of brighter blue drifts through the navy. Lightest stop stays above 3:1 on the sky. */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero-title {
    background: linear-gradient(100deg, var(--ink) 0%, var(--ink) 35%, #1a3db8 50%, var(--ink) 65%, var(--ink) 100%) 0 0 / 250% 100%;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    animation: hero-drift 8s ease-in-out infinite alternate;
  }
}
@keyframes hero-drift { from { background-position: 100% 0; } to { background-position: 0% 0; } }
.hero-title { font-size: clamp(2.25rem, 9vw, 4.25rem); line-height: 1; }
.hero-sub { margin-top: 12px; font-size: 1.125rem; font-weight: 600; max-width: 30ch; }
.hero-note { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 0.9375rem; font-weight: 700; }

.hero-art { order: 4; position: relative; z-index: 2; height: 290px; margin-top: 8px; }
.hero-inflatable {
  position: absolute; left: 50%; bottom: 0; width: min(106%, 400px); max-width: none;
  transform: translateX(-50%); transform-origin: 50% 100%;
  animation: hero-settle 700ms cubic-bezier(0.34, 1.56, 0.64, 1) 150ms both;
}
@keyframes hero-settle {
  0% { transform: translateX(-50%) translateY(-36px) scale(0.96, 1.04); opacity: 0; }
  60% { opacity: 1; }
  100% { transform: translateX(-50%) translateY(0) scale(1); opacity: 1; }
}
@keyframes hero-settle-wide {
  0% { transform: translateY(-36px) scale(0.96, 1.04); opacity: 0; }
  60% { opacity: 1; }
  100% { transform: none; opacity: 1; }
}
.clouds {
  position: absolute; z-index: 1; left: 50%; bottom: -52px;
  width: max(104vw, 860px); max-width: none; height: auto; transform: translateX(-50%); pointer-events: none;
}

/* Search: one card on phones, one pill on desktop */
.search {
  order: 2; position: relative; z-index: 4;
  margin-top: 24px; margin-bottom: 40px; padding: 16px;
  display: grid; gap: 10px;
  background: var(--white); border-radius: var(--r-card);
  box-shadow: 0 14px 0 rgba(2, 28, 105, 0.14);
}
.search-field {
  display: grid; gap: 4px; min-width: 0; margin: 0;
  padding: 10px 14px 12px; border: 2px solid var(--line); border-radius: var(--r-input);
}
.search-field:focus-within { border-color: var(--ink); }
.search-label { font-size: 0.8125rem; font-weight: 700; padding: 0; color: var(--ink-soft); }
.search .party-date, .search select {
  width: 100%; min-height: 32px; padding: 0; border: 0; background: transparent;
  font: 700 1.0625rem/1.2 var(--body); color: var(--ink);
  -webkit-appearance: none; appearance: none; outline: none; cursor: pointer;
}
.search select {
  padding-right: 24px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='%23021c69' d='m216.49 104.49l-80 80a12 12 0 0 1-17 0l-80-80a12 12 0 0 1 17-17L128 159l71.51-71.52a12 12 0 0 1 17 17Z'/%3E%3C/svg%3E") right center / 16px no-repeat;
}
.seg legend, .what-pills legend { float: left; width: 100%; margin-bottom: 6px; }
.seg-options { clear: both; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.seg-options label, .pill-row label { position: relative; display: block; }
.seg-options input, .pill-row input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.seg-options span {
  display: grid; place-items: center; min-height: 44px; padding: 0 10px;
  border-radius: var(--r-pill); background: var(--tint);
  font-weight: 700; font-size: 0.9375rem; white-space: nowrap;
}
.seg-options input:checked + span, .pill-row input:checked + span { background: var(--ink); color: var(--white); }
.seg-options input:focus-visible + span, .pill-row input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.search-go {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 24px; border: 0; border-radius: var(--r-pill);
  background: var(--orange); color: var(--ink); font: 700 1.0625rem/1 var(--body); cursor: pointer;
  transition: transform 120ms ease-out, background-color 120ms ease-out;
}
.search-go:active { transform: scale(0.97); }
@media (hover: hover) { .search-go:hover { background: var(--orange-press); } }
.what-pills, .search-fine { display: none; }

/* Date field. Phones keep their own picker; an empty native date input renders blank, so a prompt sits over it. */
.search-when { position: relative; }
.party-date::placeholder { color: var(--ink-soft); opacity: 1; }
.date-ph { display: none; }
@media (pointer: coarse) {
  .party-date::-webkit-date-and-time-value { text-align: left; }
  .search-when.is-empty .date-ph {
    position: absolute; left: 14px; right: 14px; bottom: 12px; min-height: 32px;
    display: flex; align-items: center; gap: 8px; pointer-events: none;
    font: 700 1.0625rem/1.2 var(--body); color: var(--ink-soft);
  }
  .search-when.is-empty .party-date { color: transparent; }
  .search-when.is-empty .party-date::-webkit-calendar-picker-indicator { opacity: 0; }
}

/* Party calendar (mouse users) */
.dp {
  position: absolute; left: -12px; bottom: calc(100% + 18px); z-index: 30; width: 344px; padding: 18px 16px 14px;
  background: var(--white); border-radius: var(--r-card); cursor: default;
  box-shadow: 0 12px 0 rgba(2, 28, 105, 0.14), 0 24px 60px rgba(2, 28, 105, 0.28);
  transform-origin: 40px 100%; animation: hero-pop 320ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes hero-pop { from { transform: translateY(10px) scale(0.92); opacity: 0; } to { transform: none; opacity: 1; } }
/* Opening below the field (shop date boxes near the top of the page) */
.dp.dp-down { top: calc(100% + 12px); bottom: auto; transform-origin: 40px 0; animation-name: hero-pop-down; }
@keyframes hero-pop-down { from { transform: translateY(-10px) scale(0.92); opacity: 0; } to { transform: none; opacity: 1; } }
.dp-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 2px 10px; }
.dp-title { font: 800 1.375rem/1 var(--display); letter-spacing: -0.02em; }
.dp-nav { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--tint); color: var(--ink); cursor: pointer; }
.dp-nav:disabled { opacity: 0.35; cursor: default; }
.dp-week, .dp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.dp-week span { text-align: center; font-size: 0.75rem; font-weight: 700; color: var(--ink-soft); padding-bottom: 4px; }
.dp-week span:first-child, .dp-week span:last-child { color: var(--ink); }
.dp-day {
  height: 40px; border: 0; border-radius: 50%; background: transparent; color: var(--ink);
  font: 700 0.9375rem/1 var(--body); font-variant-numeric: tabular-nums; cursor: pointer;
  transition: background-color 120ms ease-out, transform 120ms ease-out;
}
.dp-day.is-weekend { background: #fff3b8; }
.dp-day.is-today { box-shadow: inset 0 0 0 2px var(--sky); }
.dp-day:disabled { background: transparent; color: #b9c4da; cursor: default; }
.dp-day.is-closed { text-decoration: line-through; }
.dp-quick:disabled { opacity: 0.45; cursor: default; }
.dp-day:not(:disabled):hover { background: var(--tint); transform: translateY(-2px); }
.dp-day.is-weekend:not(:disabled):hover { background: var(--sun); }
.dp-day.is-picked, .dp-day.is-picked:hover { background: var(--orange); box-shadow: 0 4px 0 rgba(2, 28, 105, 0.2); transform: none; }
.dp-day.is-pop { animation: hero-squash 260ms cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes hero-squash { 0% { transform: scale(0.8); } 60% { transform: scale(1.15, 0.92); } 100% { transform: none; } }
.dp-day:focus-visible { outline: 3px solid var(--ink); outline-offset: 1px; }
.dp-foot { display: flex; align-items: center; gap: 6px; margin-top: 12px; padding-top: 12px; border-top: 2px dashed var(--line); }
.dp-quick { min-height: 36px; padding: 0 12px; border: 2px solid var(--line); border-radius: var(--r-pill); background: var(--white); color: var(--ink); font: 700 0.8125rem/1 var(--body); cursor: pointer; }
.dp-quick:hover { border-color: var(--ink); }
.dp-clear { margin-left: auto; min-height: 36px; padding: 0 6px; border: 0; background: none; color: var(--ink-soft); font: 700 0.8125rem/1 var(--body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Rental type menu (mouse users) */
.search-what { position: relative; }
.rt-native { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.rt-trigger {
  width: 100%; min-height: 32px; padding: 0 24px 0 0; border: 0; text-align: left; cursor: pointer;
  font: 700 1.0625rem/1.2 var(--body); color: var(--ink);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='%23021c69' d='m216.49 104.49l-80 80a12 12 0 0 1-17 0l-80-80a12 12 0 0 1 17-17L128 159l71.51-71.52a12 12 0 0 1 17 17Z'/%3E%3C/svg%3E") right center / 16px no-repeat;
}
.rt-trigger:focus-visible { outline: none; }
.rt-trigger[aria-expanded="true"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='%23021c69' d='M216.49 168.49a12 12 0 0 1-17 0L128 97l-71.51 71.49a12 12 0 0 1-17-17l80-80a12 12 0 0 1 17 0l80 80a12 12 0 0 1 0 17'/%3E%3C/svg%3E"); }
.rt-list {
  position: absolute; left: -12px; bottom: calc(100% + 18px); z-index: 30; width: 320px; margin: 0; padding: 10px;
  list-style: none; display: grid; gap: 2px; background: var(--white); border-radius: var(--r-card); outline: none;
  box-shadow: 0 12px 0 rgba(2, 28, 105, 0.14), 0 24px 60px rgba(2, 28, 105, 0.28);
  transform-origin: 40px 100%; animation: hero-pop 320ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.rt-list:focus-visible { box-shadow: 0 0 0 3px var(--ink), 0 12px 0 rgba(2, 28, 105, 0.14), 0 24px 60px rgba(2, 28, 105, 0.28); }
.rt-opt { display: flex; align-items: center; gap: 12px; padding: 8px 10px 8px 8px; border-radius: 18px; cursor: pointer; }
.rt-opt.is-active { background: var(--tint); }
.rt-opt[aria-selected="true"] { background: #fff3b8; }
.rt-opt[aria-selected="true"].is-active { background: var(--sun); }
.rt-thumb { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--tint); transition: transform 220ms cubic-bezier(0.34, 1.56, 0.64, 1); }
.rt-opt[aria-selected="true"] .rt-thumb { background: var(--white); }
.rt-thumb img { width: 42px; height: 42px; object-fit: contain; }
.rt-thumb-logo, .rt-opt[aria-selected="true"] .rt-thumb-logo { background: var(--sky); }
.rt-thumb-logo img { width: 48px; height: auto; }
.rt-opt.is-active .rt-thumb { transform: translateY(-2px) rotate(-4deg); }
.rt-opt.is-pop .rt-thumb { animation: hero-squash 260ms cubic-bezier(0.34, 1.56, 0.64, 1); }
.rt-text { display: grid; gap: 1px; }
.rt-name { font: 700 1rem/1.2 var(--display); letter-spacing: -0.01em; }
.rt-meta { font-size: 0.8125rem; font-weight: 600; color: var(--ink-soft); }

/* Compact search bar: desktop only, slides in once the hero search scrolls away */
.minibar { display: none; }

/* ── Page header (layout "page_head", and plain pages) ─────────────────── */
/* The sky field carries on from the site header and ends in a puffy cloud edge */
.page-hero { position: relative; background: var(--sky); padding-bottom: 40px; }
.page-hero-inner {
  position: relative; max-width: var(--max); margin: 0 auto; padding: 8px var(--gutter) 24px;
  display: grid; grid-template-columns: minmax(0, 1fr); align-items: end;
}
.page-hero-title { font-size: clamp(2.25rem, 8vw, 3.5rem); line-height: 1.02; max-width: 16ch; }
.page-hero-text { margin-top: 12px; font-size: 1.0625rem; font-weight: 600; line-height: 1.45; max-width: 44ch; }
.page-hero-art img { width: 100%; height: auto; }
.page-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; z-index: 2; height: 48px; pointer-events: none;
  background:
    radial-gradient(circle at 50% 100%, var(--white) 23.5px, transparent 24.5px) 0 100% / 74px 48px repeat-x,
    radial-gradient(circle at 50% 100%, var(--white) 35.5px, transparent 36.5px) 31px 100% / 128px 48px repeat-x,
    radial-gradient(circle at 50% 100%, var(--white) 14.5px, transparent 15.5px) 11px 100% / 30px 48px repeat-x,
    linear-gradient(var(--white), var(--white)) 0 100% / 100% 4px no-repeat;
  filter: drop-shadow(0 -4px 6px rgba(2, 28, 105, 0.14));
  /* Keep the shading above the puffs; cut the blur that would spill onto the white page below */
  clip-path: inset(-40px 0 0 0);
}
/* With a cutout: copy and unit share the row, the unit's base sinking into the clouds */
.page-hero.has-art .page-hero-inner { grid-template-columns: minmax(0, 1fr) 38%; column-gap: 12px; padding-bottom: 0; }
.page-hero.has-art .page-hero-copy { padding-bottom: 24px; }
.page-hero-art { position: relative; z-index: 1; margin-bottom: -20px; }
@media (min-width: 700px) {
  .page-hero { padding-bottom: 56px; }
  .page-hero-inner { padding-top: 20px; padding-bottom: 32px; }
  .page-hero-text { margin-top: 16px; font-size: 1.1875rem; }
  .page-hero.has-art .page-hero-inner { grid-template-columns: minmax(0, 1fr) 34%; column-gap: 32px; }
  .page-hero.has-art .page-hero-copy { padding-bottom: 40px; }
  .page-hero::after {
    height: 64px;
    background:
      radial-gradient(circle at 50% 100%, var(--white) 31.5px, transparent 32.5px) 0 100% / 100px 64px repeat-x,
      radial-gradient(circle at 50% 100%, var(--white) 47.5px, transparent 48.5px) 43px 100% / 172px 64px repeat-x,
      radial-gradient(circle at 50% 100%, var(--white) 19.5px, transparent 20.5px) 17px 100% / 40px 64px repeat-x,
      linear-gradient(var(--white), var(--white)) 0 100% / 100% 6px no-repeat;
  }
}
@media (min-width: 1024px) {
  .page-hero-inner { padding-top: 32px; padding-bottom: 40px; }
  .page-hero.has-art .page-hero-inner { grid-template-columns: minmax(0, 1fr) 400px; }
}

/* ── Editor content (layout "content") ─────────────────────────────────── */
.prose .entry-content { padding: 0; font-size: 1.125rem; line-height: 1.6; }
.page-hero + .prose, .page-hero + .topics, .page-hero + .contact { padding-top: var(--after-hero); }
@media (min-width: 700px) { .prose .entry-content { font-size: 1.1875rem; } }

/* ── Topics with answers (layout "topics") ─────────────────────────────── */
.topics { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.topics-nav-label { font-size: 0.875rem; font-weight: 700; color: var(--ink-soft); margin-bottom: 8px; }
.topics-nav ul { list-style: none; }
.topics-nav a {
  display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 12px;
  border: 2px solid var(--line); border-radius: var(--r-pill);
  font-weight: 700; font-size: 0.9375rem; text-decoration: none; white-space: nowrap;
}
.topics-nav .icon { color: var(--ink-soft); }
@media (hover: hover) { .topics-nav a:hover { border-color: var(--ink); } }

.topics-list { display: grid; }
.topic + .topic { margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--line); }
.topic-head { display: flex; align-items: flex-start; gap: 14px; }
.topic-icon {
  flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--sun); color: var(--ink); box-shadow: 0 4px 0 rgba(2, 28, 105, 0.14);
}
.topic-head h2 { font-size: 1.75rem; padding-top: 8px; }
.topic-summary { margin-top: 6px; color: var(--ink-soft); }

/* At a glance: a white receipt (same torn edge as the pickup and delivery cards) on a tint panel */
.topic-facts { margin-top: 20px; padding: 14px; border-radius: var(--r-card); background: var(--tint); }
.topic-facts .receipt { margin-top: 0; padding: 16px 16px 26px; }
/* Each line stacks its label over the value, so long values never squeeze into a narrow column */
.topic-facts .receipt dl > div { display: block; padding: 10px 0; }
.topic-facts .receipt dl > div + div { border-top: 1px solid var(--line); }
.topic-facts .receipt dl > div:nth-last-child(2) { margin-bottom: 0; }
.topic-facts dt { font-size: 0.875rem; font-weight: 600; color: var(--ink-soft); }
.topic-facts dd { margin-top: 2px; font-size: 1.0625rem; line-height: 1.3; }

.topic-qa { margin-top: 24px; display: grid; gap: 22px; max-width: 68ch; }
.qa h3 { font-size: 1.125rem; line-height: 1.25; }
.qa-answer { margin-top: 6px; color: var(--ink-soft); }
.qa-answer > * + * { margin-top: 0.6em; }
.qa-answer strong, .qa-answer b { color: var(--ink); }
.qa-answer a { color: var(--ink); font-weight: 700; text-underline-offset: 3px; }
.qa-answer ul, .qa-answer ol { padding-left: 1.25em; }

@media (max-width: 1023px) {
  /* One swipe row of topic chips above the answers */
  .topics-nav ul {
    display: flex; gap: 8px; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px;
    overflow-x: auto; scrollbar-width: none;
  }
  .topics-nav ul::-webkit-scrollbar { display: none; }
}
@media (max-width: 699px) {
  .topic + .topic { margin-top: 32px; padding-top: 32px; }
  .topic-icon { width: 44px; height: 44px; }
  .topic-icon .icon { width: 24px; height: 24px; }
  .topic-head h2 { font-size: 1.5rem; padding-top: 6px; }
  .topic-facts { padding: 10px; }
  .topic-facts .receipt { padding: 8px 14px 22px; }
  /* Phones are wide enough for label and value on one line again */
  .topic-facts .receipt dl > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 8px 0; }
  .topic-facts dd { margin-top: 0; font-size: 0.9375rem; text-align: right; }
}
@media (min-width: 700px) {
  /* Receipt beside the answers, holding still while they scroll */
  .topic.has-facts {
    display: grid; grid-template-columns: minmax(0, 1fr) 280px; column-gap: 40px;
    grid-template-areas: "head facts" "qa facts"; align-items: start;
  }
  .topic-head { grid-area: head; }
  .topic-qa { grid-area: qa; }
  .topic-facts { grid-area: facts; margin-top: 0; position: sticky; top: 24px; }
  body.admin-bar .topic-facts { top: calc(var(--wp-admin--admin-bar--height, 32px) + 24px); }
  .topic-head h2 { font-size: 2rem; }
  /* Answers line up under the topic title, past the icon */
  .topic-qa { gap: 26px; padding-left: 66px; }
}
@media (min-width: 1024px) {
  .topics { grid-template-columns: 240px minmax(0, 1fr); column-gap: 56px; align-items: start; }
  .topics-nav { position: sticky; top: 24px; }
  body.admin-bar .topics-nav { top: calc(var(--wp-admin--admin-bar--height, 32px) + 24px); }
  .topics-nav ul { display: grid; gap: 4px; }
  .topics-nav a { border: 0; padding: 0 14px 0 10px; min-height: 48px; font-size: 1rem; white-space: normal; line-height: 1.2; }
  @media (hover: hover) { .topics-nav a:hover { background: var(--tint); } }
  .topic.has-facts { grid-template-columns: minmax(0, 1fr) 300px; column-gap: 48px; }
}

/* ── Contact details and form (layout "contact") ──────────────────────── */
.contact { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: start; }
.contact-heading { font-size: 1.75rem; margin-bottom: 16px; }
.contact-form .contact-heading { margin-bottom: 0; }
.contact-form-text { margin: 6px 0 20px; color: var(--ink-soft); }

/* Call, text and email: big tap rows */
.reach { list-style: none; display: grid; gap: 8px; }
.reach-row {
  display: flex; align-items: center; gap: 14px; min-height: 72px; padding: 12px 16px 12px 12px;
  border-radius: var(--r-photo); background: var(--tint); text-decoration: none;
  transition: background-color 120ms ease-out, transform 120ms ease-out;
}
.reach-row:active { transform: scale(0.98); }
.reach-icon { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--white); }
.reach-text { display: grid; min-width: 0; }
.reach-label { font-size: 0.875rem; font-weight: 600; color: var(--ink-soft); }
.reach-value { font: 800 1.25rem/1.2 var(--display); letter-spacing: -0.01em; }
.reach-value.is-email { font-size: 1.0625rem; }
.reach-row > .icon:last-child { margin-left: auto; color: var(--ink-soft); }
@media (hover: hover) { .reach-row:hover { background: #fff3b8; } }

/* Addresses with a directions link */
.places { display: grid; gap: 12px; margin-top: 20px; }
.place { display: flex; gap: 14px; padding: 16px; border: 2px solid var(--line); border-radius: var(--r-photo); }
.place-icon { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--sun); }
.place-label { font: 700 1.0625rem/1.25 var(--display); letter-spacing: -0.01em; }
.place address { margin-top: 2px; font-style: normal; color: var(--ink-soft); }
.place .link-arrow { min-height: 40px; margin-top: 4px; }

/* The form card */
.contact-form {
  padding: 24px 20px; background: var(--white);
  border: 2px solid var(--line); border-radius: var(--r-card);
  box-shadow: 0 12px 0 rgba(2, 28, 105, 0.08);
}
@media (max-width: 699px) {
  .contact-heading { font-size: 1.5rem; }
  .reach-row { min-height: 64px; }
  .reach-value { font-size: 1.125rem; }
  .reach-value.is-email { font-size: 1rem; }
}
@media (min-width: 700px) {
  .contact-form { padding: 36px; }
  /* Tablet: rows and addresses side by side above the form */
  .contact-details { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; align-items: start; }
  .contact-details .contact-heading { grid-column: 1 / -1; }
  .places { margin-top: 0; }
}
@media (min-width: 1024px) {
  .contact { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); column-gap: 56px; }
  .contact-details { display: block; }
  .places { margin-top: 20px; }
  .contact-form { padding: 40px 44px 44px; }
  /* Right under the page header, the form card rises over the clouds into the sky */
  .page-hero + .contact { position: relative; z-index: 3; }
  .page-hero + .contact .contact-form { margin-top: calc(-160px - var(--after-hero)); box-shadow: 0 14px 0 rgba(2, 28, 105, 0.14), 0 24px 60px rgba(2, 28, 105, 0.12); border-color: var(--white); }
  /* The header copy stays clear of the raised card */
  .page-hero:has(+ .contact) .page-hero-copy { max-width: calc(40% - 28px); }
}
@media (prefers-reduced-motion: reduce) { .reach-row { transition: none; } .reach-row:active { transform: none; } }

/* ── Proof line (layout "proof") ────────────────────────────────────────── */
.proof {
  max-width: var(--max); margin: 0 auto; padding: 28px var(--gutter) 0;
  display: grid; gap: 12px;
}
.proof p { display: flex; align-items: center; gap: 10px; font-size: 1rem; }
.proof .icon { color: var(--orange); }
.proof strong { font-weight: 700; }
/* Phones: one swipe line of pills */
@media (max-width: 699px) {
  .proof { display: flex; gap: 8px; padding-top: 20px; overflow-x: auto; scrollbar-width: none; }
  .proof::-webkit-scrollbar { display: none; }
  .proof p { flex: none; padding: 8px 14px 8px 10px; border-radius: var(--r-pill); background: var(--tint); font-size: 0.875rem; white-space: nowrap; }
}
@media (min-width: 700px) {
  .proof { grid-auto-flow: column; grid-auto-columns: auto; justify-content: space-between; padding-top: 32px; }
}
@media (min-width: 1024px) {
  .proof { padding-top: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-inflatable, .hero-title, .dp, .dp-day.is-pop, .rt-list, .rt-opt.is-pop .rt-thumb { animation: none; }
  .search-go, .dp-day, .rt-thumb, .minibar { transition: none; }
}

/* Phones */
@media (max-width: 699px) {
  /* Headline across the top; the sub-line and the unit share the next row, the unit running off the
     right edge. Its base lands on the search card's top edge, so the card hides the reflection. */
  .hero-inner {
    --art-w: min(60vw, 270px);
    display: grid; grid-template-columns: 46% minmax(0, 1fr); column-gap: 0; align-items: start;
    padding-top: 12px;
  }
  .hero-copy { display: contents; }
  .hero-title { grid-column: 1 / -1; grid-row: 1; font-size: 2.375rem; line-height: 1.02; }
  .hero-sub { grid-column: 1; grid-row: 2; position: relative; z-index: 3; margin-top: 14px; font-size: 1rem; line-height: 1.45; }
  .hero-note { display: none; }
  .hero-art { grid-column: 2; grid-row: 2; height: auto; margin: 6px calc(-1 * var(--gutter)) 0 0; display: flex; justify-content: flex-end; }
  .hero-inflatable {
    position: relative; left: auto; bottom: auto; width: var(--art-w); flex: none;
    margin-right: calc(var(--art-w) * -0.1); transform: none; animation-name: hero-settle-wide;
  }
  .search { grid-column: 1 / -1; grid-row: 3; margin-top: calc(var(--art-w) * -0.125); padding: 12px; gap: 8px; }
  .search-field { padding: 8px 12px 10px; }
  .search-what { display: none; }
  .what-pills { display: grid; overflow: hidden; }
  .seg-options span { min-height: 40px; }
  .pill-row {
    clear: both; display: flex; gap: 6px; margin: 0; padding: 0 0 2px;
    overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity;
  }
  .pill-row::-webkit-scrollbar { display: none; }
  .pill-row label { flex: none; scroll-snap-align: start; }
  .pill-row span {
    display: grid; place-items: center; min-height: 40px; padding: 0 16px; white-space: nowrap;
    border-radius: var(--r-pill); background: var(--tint); font-weight: 700; font-size: 0.9375rem;
  }
  .search-go { min-height: 52px; }
  .search-fine { display: block; text-align: center; font-size: 0.8125rem; font-weight: 600; color: var(--ink-soft); }
  .clouds { bottom: -60px; }
}

/* Tablet */
@media (min-width: 700px) {
  .hero-inner { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; align-items: center; padding-top: 28px; padding-bottom: 70px; }
  .hero-title { font-size: 3rem; }
  .hero-copy { grid-column: 1; grid-row: 1; }
  .hero-art { grid-column: 2; grid-row: 1; height: auto; margin: 0 0 -64px -6%; }
  .hero-inflatable { position: relative; left: auto; bottom: auto; width: min(118%, calc(50vw - 16px)); transform: none; animation-name: hero-settle-wide; }
  .search { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; margin-top: 28px; margin-bottom: 0; }
  .search .search-go { grid-column: 1 / -1; }
  .clouds { bottom: -90px; }
}

/* Desktop */
@media (min-width: 1024px) {
  .hero-inner { column-gap: 32px; padding-top: 24px; padding-bottom: 90px; }
  .hero-title { font-size: 3.75rem; }
  .hero-sub { font-size: 1.25rem; max-width: 34ch; margin-top: 18px; }
  /* The reflection tucks under the search bar */
  .hero-art { margin: 0 0 -96px -4%; }
  .hero-inflatable { width: min(124%, 680px, calc(50vw - 16px)); }
  .search {
    grid-template-columns: 1fr 1.25fr 1fr auto; align-items: center; gap: 0;
    margin-top: 32px; padding: 10px 10px 10px 12px; border-radius: var(--r-pill);
  }
  .search .search-go { grid-column: auto; min-height: 64px; padding: 0 28px 0 24px; }
  .search-field { border: 0; border-radius: var(--r-pill); padding: 10px 24px 12px; position: relative; }
  .search-field + .search-field::before { content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; width: 1px; background: var(--line); }
  .search-field:focus-within { background: var(--tint); }
  .seg legend { margin-bottom: 4px; }
  .seg-options span { min-height: 40px; }
  .clouds { bottom: -150px; }

  .minibar {
    display: block; position: fixed; top: 0; left: 0; right: 0; z-index: 46;
    background: var(--white); box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(2, 28, 105, 0.08);
    transform: translateY(-110%); visibility: hidden;
    transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 240ms;
  }
  .minibar.is-on { transform: none; visibility: visible; transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1), visibility 0s; }
  body.admin-bar .minibar { top: var(--wp-admin--admin-bar--height, 32px); }
  .minibar-inner { max-width: var(--max); margin: 0 auto; padding: 10px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
  .minibar-logo { display: block; flex: none; }
  .minibar-logo img { width: 120px; }
  .minibar-search {
    display: flex; align-items: center; min-width: 0; min-height: 56px; padding: 6px 6px 6px 8px;
    border: 2px solid var(--line); border-radius: var(--r-pill); text-decoration: none; font-weight: 700; font-size: 0.9375rem;
    box-shadow: 0 6px 0 rgba(2, 28, 105, 0.08);
  }
  .minibar-search > span:not(.minibar-go) { padding: 0 18px; border-right: 1px solid var(--line); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .minibar-search > span:nth-child(3) { border-right: 0; }
  .minibar-search .is-placeholder { color: var(--ink-soft); }
  .minibar-go { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--orange); }
  .minibar .top-call { box-shadow: inset 0 0 0 2px var(--line); }
  @media (hover: hover) {
    .minibar-search:hover { border-color: var(--ink); }
    .minibar-search:hover .minibar-go { background: var(--orange-press); }
  }
}
