/* sites.css — shared parts of the BilluBnB family sub-sites (v1.3.0) + the home page "family" section.
   Phone-first (base rules = 390 px). One sub-site's own look goes in static/css/sites/<label>.css, loaded from its template's
   {% block head %}. Reuses the tokens; never hard-codes a brand colour except through them. */

@layer sections {
  /* ---- the sub-site bar under the main header ------------------------------------------------------------------- */
  .sitebar { background: var(--sage-deep); color: var(--on-deep); position: relative; z-index: 2; }
  .sitebar__inner { display: flex; align-items: center; gap: var(--space-3) var(--space-5); min-height: 50px; flex-wrap: wrap; padding-block: .35rem; }
  .sitebar__name { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-display); font-variation-settings: "SOFT" 100;
    font-weight: 750; font-size: 1.05rem; color: var(--on-deep); text-decoration: none; }
  .sitebar__name .i { width: 20px; height: 20px; color: var(--sun); }
  .sitebar__nav { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; overflow-x: auto; scrollbar-width: none; }
  .sitebar__nav::-webkit-scrollbar { display: none; }
  .sitebar__nav a { display: inline-flex; align-items: center; min-height: 40px; padding: .2rem .8rem; border-radius: var(--r-pill);
    color: var(--on-deep-2); font-weight: 700; font-size: .95rem; text-decoration: none; white-space: nowrap; }
  .sitebar__nav a:hover, .sitebar__nav a[aria-current="page"] { background: color-mix(in srgb, var(--on-deep) 12%, transparent); color: var(--on-deep); }
  .submenu--family ul { min-width: 360px; }
  .sitebar__name { min-height: 44px; }
  @media (max-width: 479px) { .sitebar__nav { flex-basis: 100%; } }      /* own row on small phones: no re-wrap (CLS) after the font swap */
  /* ≥ 480 px the bar NEVER wraps: name + links on one line, the links shrink and scroll sideways if a long name needs it.
     (v1.4.0: with 5 vet links the row was ~1 px too wide once Nunito replaced its fallback → the bar re-wrapped and pushed
     the page down 52 px on iPads, CLS 0.155.) */
  @media (min-width: 480px) {
    .sitebar__inner { flex-wrap: nowrap; }
    .sitebar__name { flex: 0 0 auto; }
    .sitebar__nav { flex: 0 1 auto; min-width: 0; }
  }
  @media (min-width: 480px) and (max-width: 1100px) { .sitebar__nav a { padding-inline: .6rem; } }

  /* ---- sub-site hero ------------------------------------------------------------------------------------------------ */
  .site-hero { padding: var(--space-7) 0 calc(var(--space-6) + var(--sheet-r)); background:
      radial-gradient(120% 80% at 85% 0%, color-mix(in srgb, var(--sun) 26%, transparent), transparent 60%), var(--paper); }
  .site-hero__inner { display: grid; gap: var(--space-6); align-items: center; }
  .site-hero__kicker { display: inline-flex; align-items: center; gap: .55rem; margin: 0 0 var(--space-3); font-weight: 800; font-size: .95rem;
    color: var(--ink-2); letter-spacing: .01em; }
  .pebble--sm { width: 34px; height: 34px; } .pebble--sm .i { width: 18px; height: 18px; }
  .site-hero__title { font-size: clamp(2.2rem, 7vw + .6rem, 4.2rem); line-height: 1.02; margin: 0; text-wrap: balance; }
  .site-hero__title em { font-style: normal; background: linear-gradient(transparent 58%, color-mix(in srgb, var(--sun) 70%, transparent) 58% 92%, transparent 92%);
    padding-inline: .06em; }
  .site-hero__lead { font-size: var(--step-1); line-height: 1.45; color: var(--ink-2); margin: var(--space-4) 0 0; max-width: 36rem; }
  .site-hero__ctas { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-5); }
  .site-hero__art { position: relative; justify-self: center; width: min(100%, 420px); }
  @media (min-width: 900px) {
    .site-hero { padding: var(--space-8) 0 calc(var(--space-7) + var(--sheet-r)); }   /* the next .sheet overlaps by --sheet-r */
    .site-hero__inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: var(--space-8); }
  }

  /* ---- promises strip --------------------------------------------------------------------------------------------- */
  .promises { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
  .promise { display: flex; gap: var(--space-3); align-items: flex-start; padding: var(--space-4); border-radius: var(--r-md); background: var(--paper-3);
    border: 1px solid var(--line); }
  .promise strong { display: block; font-size: 1.02rem; }
  .promise p { margin: .2rem 0 0; color: var(--ink-2); font-size: .95rem; line-height: 1.45; }
  @media (min-width: 720px) { .promises { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }

  /* ---- price / offer cards (vet, groom, taxi, talk) ---------------------------------------------------------------- */
  .offers { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-6) var(--space-4); padding-top: 18px; }
  @media (min-width: 720px) { .offers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (min-width: 1100px) { .offers--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
  .offer { --ear-bg: var(--paper-3); display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-5) var(--space-4) var(--space-4); height: 100%; }
  .offer--combo { --ear-bg: var(--paper-2); }
  .offer__head { display: flex; gap: var(--space-3); align-items: flex-start; }
  .offer__head > div { flex: 1; min-width: 0; }
  .offer__title { font-size: 1.25rem; line-height: 1.2; margin: 0; }
  .offer__when { display: flex; align-items: center; gap: .35rem; margin: .3rem 0 0; font-size: .9rem; font-weight: 700; color: var(--ink-2); }
  .offer__when .i { width: 15px; height: 15px; }
  .offer__badge { align-self: flex-start; white-space: nowrap; }
  .offer__line { margin: 0; font-weight: 700; font-size: 1.02rem; line-height: 1.4; }
  .offer__desc { font-size: .97rem; color: var(--ink-2); }
  .offer__inc { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; font-size: .95rem; }
  .offer__inc li { display: flex; gap: .45rem; align-items: flex-start; }
  .offer__inc .i { width: 18px; height: 18px; flex: none; margin-top: .12rem; color: var(--sage-deep); stroke-width: 2.4; }
  .offer__foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3);
    padding-top: var(--space-3); border-top: 1px dashed var(--line-strong); }
  .offer__price { margin: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: .1rem .5rem; }
  .offer__price strong { font-family: var(--font-display); font-variation-settings: "SOFT" 100; font-size: 1.6rem; font-weight: 800; line-height: 1; }
  .offer__price s { color: var(--ink-3); font-weight: 700; }
  .offer__from { font-size: .85rem; font-weight: 800; color: var(--ink-2); text-transform: lowercase; }
  .offer__ask { font-size: 1.25rem !important; }
  .offer__dur { display: inline-flex; align-items: center; gap: .25rem; font-size: .88rem; font-weight: 700; color: var(--ink-2); }
  .offer__dur .i { width: 15px; height: 15px; }
  .offer__pick.is-picked { background: var(--sun-soft); }

  /* ---- the shared "ask" form card ---------------------------------------------------------------------------------- */
  .ask[data-ask] { position: relative; top: auto; }                   /* sections.css styles the Cat Talk form with the same class names */
  .ask[data-ask] > .ask__head { display: block; }
  .ask { --ear-bg: var(--paper-3); background: var(--paper-3); padding: var(--space-5) var(--space-4); display: grid; gap: var(--space-4); border-radius: var(--r-lg); }
  .ask__head h3 { margin: 0; font-size: var(--step-2); line-height: 1.15; }
  .ask__head p { margin: var(--space-2) 0 0; color: var(--ink-2); }
  .ask .fgrid { grid-template-columns: minmax(0, 1fr); }
  .ask__actions { display: grid; gap: var(--space-3); }
  .ask__note { margin: 0; color: var(--ink-2); }
  .ask__alert { margin: 0 0 var(--space-3); padding: .7rem .9rem; border-radius: var(--r-sm); background: #FFF4F2; color: var(--err); font-weight: 750; }
  .ask__done { display: grid; gap: var(--space-3); justify-items: start; }
  .ask__done h3 { margin: 0; }
  .btn--ghost-wa { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
  .btn--ghost-wa .i { color: var(--wa); }
  @media (min-width: 640px) {
    .ask { padding: var(--space-6); }
    .ask .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ask .fgrid__full, .ask .chipset { grid-column: 1 / -1; }
    .ask__actions { grid-template-columns: 1fr 1fr; }
  }
  .field.glow, .chipset.glow { animation: bb-glow 2.4s ease-in-out; border-radius: var(--r-sm); }
  @keyframes bb-glow { 0%, 100% { box-shadow: 0 0 0 0 transparent; } 15%, 70% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--sun) 60%, transparent); } }
  @media (prefers-reduced-motion: reduce) { .field.glow, .chipset.glow { animation: none; outline: 3px solid var(--sun); } }

  /* ---- honest note -------------------------------------------------------------------------------------------------- */
  .honest { display: flex; gap: .6rem; align-items: flex-start; margin: 0; padding: .8rem 1rem; border-radius: var(--r-md); background: var(--sage-tint);
    font-size: .95rem; font-weight: 650; line-height: 1.45; }
  .honest .i { width: 20px; height: 20px; flex: none; margin-top: .1rem; color: var(--sage-deep); }

  /* ---- the BilluBnB family (home section + "more from the family") ---------------------------------------------- */
  .family-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-4); }
  .fam__a { position: relative; display: flex; flex-direction: column; gap: .45rem; height: 100%; padding: var(--space-4); border-radius: var(--r-lg);
    background: var(--paper-3); border: 1px solid var(--line); color: var(--ink); text-decoration: none; box-shadow: var(--shadow-1);
    transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out), border-color var(--dur-1); }
  .fam__a:hover { transform: translateY(-3px) rotate(-.4deg); box-shadow: var(--shadow-2); border-color: var(--line-strong); }
  .fam__a:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
  .fam .pebble { width: 46px; height: 46px; } .fam .pebble .i { width: 23px; height: 23px; }
  .fam__name { margin: .2rem 0 0; font-size: 1.22rem; line-height: 1.15; }
  .fam__line { margin: 0; font-size: .95rem; color: var(--ink-2); line-height: 1.45; flex: 1; }
  .fam__host { font-family: var(--font-mono); font-size: .78rem; font-weight: 600; color: var(--ink-3); letter-spacing: -.01em; }
  .fam__cta { display: inline-flex; align-items: center; gap: .35rem; font-weight: 800; font-size: .95rem; }
  .fam__cta .i { width: 18px; height: 18px; transition: transform var(--dur-2) var(--ease-out); }
  .fam__a:hover .fam__cta .i { transform: translateX(3px); }
  .fam--shop .pebble, .fam--merch .pebble { background: var(--blush-soft); }
  .fam--vet .pebble, .fam--groom .pebble, .fam--taxi .pebble { background: var(--sage-tint); }
  .fam--toofan .pebble, .fam--tejas .pebble { background: var(--sun); }
  @media (min-width: 640px) { .family-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (min-width: 900px) { .family-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
  @media (min-width: 1200px) { .family-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
  @media (prefers-reduced-motion: reduce) { .fam__a, .fam__a:hover { transition: none; transform: none; } }

  /* ---- "more from the family" band at the foot of every sub-site --------------------------------------------------- */
  .family-band { background: var(--paper-2); }

  /* ---- v1.4.0: "Everything we do" strip (home, under the trust strip) ------------------------------------------------ */
  .care { padding: var(--space-5) 0 calc(var(--space-6) + var(--sheet-r)); background: var(--paper); }   /* the next .sheet overlaps by --sheet-r */
  .care__title { display: flex; align-items: center; gap: .5rem; margin: 0 0 var(--space-3); font-size: 1.05rem; font-family: var(--font-text);
    font-weight: 800; letter-spacing: .01em; color: var(--ink-2); }
  .care__title .i { width: 18px; height: 18px; color: var(--sun-deep); }
  .care__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); grid-template-columns: repeat(2, minmax(0, 1fr)); }
  @media (min-width: 900px) { .care__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }     /* 9 tiles = 3 × 3 */
  .care__a { display: flex; align-items: center; gap: .75rem; min-height: 64px; height: 100%; padding: .7rem .8rem; border-radius: var(--r-md);
    background: var(--paper-3); border: 1px solid var(--line); color: var(--ink); text-decoration: none;
    transition: border-color var(--dur-1), transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2); }
  .care__a:hover { border-color: var(--line-strong); transform: translateY(-2px); box-shadow: var(--shadow-1); }
  .care__a:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
  .care__txt { display: grid; gap: .1rem; flex: 1; min-width: 0; }
  .care__txt strong { font-size: 1rem; line-height: 1.2; }
  .care__txt span { font-size: .88rem; color: var(--ink-2); line-height: 1.3; }
  .care__go { width: 18px; height: 18px; flex: none; color: var(--ink-3); }
  .care__item--dayout .care__a { background: var(--sun-soft); border-color: color-mix(in srgb, var(--sun) 55%, var(--line)); }
  .care__item--plants .pebble { background: #FDE2DD; }
  @media (max-width: 719px) { .swipe--care { --sw: min(72%, 280px); } .care { padding-top: var(--space-4); } }
  @media (prefers-reduced-motion: reduce) { .care__a, .care__a:hover { transition: none; transform: none; } }

  /* the "next step" link on a question card / service page (a sub-site or the day-out page) */
  .link-more--next { display: inline-flex; align-items: center; gap: .4rem; color: var(--ink); font-weight: 800; }
  .link-more--next .i { width: 18px; height: 18px; color: var(--sun-deep); }
  .svc-hero__next { margin-top: var(--space-3); }

  /* ---- v1.4.0: Day out (home section + /day-out) ------------------------------------------------------------------ */
  .dayout { background: linear-gradient(180deg, color-mix(in srgb, var(--sun-soft) 70%, var(--paper-2)), var(--paper-2) 70%); }
  .dayout__grid { display: grid; gap: var(--space-6); align-items: start; padding-top: 18px; }
  .dayout__grid > * { min-width: 0; }            /* grid items default to min-width:auto — a swipe row inside would widen the page */
  .dayout__tejas { --ear-bg: var(--paper-3); background: var(--paper-3); border-radius: var(--r-lg); padding: var(--space-5) var(--space-4);
    display: grid; gap: var(--space-4); }
  .dayout__photo { --ar-w: 4; --ar-h: 5; width: min(100%, 220px); justify-self: center; }
  .dayout__story p { margin: 0 0 var(--space-3); line-height: 1.6; }
  .dayout__chips { list-style: none; margin: 0 0 var(--space-3); padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
  .dayout__chips li { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .75rem; border-radius: var(--r-pill);
    background: var(--sun-soft); font-weight: 750; font-size: .92rem; }
  .dayout__chips .i { width: 16px; height: 16px; }
  .dayout__price { font-size: .95rem; color: var(--ink-2); }
  .dayout__price strong { font-family: var(--font-display); font-size: 1.35rem; color: var(--ink); }
  .dayout__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-4); }
  .dq-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-4); }
  .dq { margin: 0; height: 100%; display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-4); border-radius: var(--r-md);
    background: var(--paper-3); border: 1px solid var(--line); }
  .dq__q { margin: 0; position: relative; }
  .dq__q p { margin: 0; line-height: 1.6; font-size: 1rem; }
  .dq__mark { width: 22px; height: 22px; color: var(--sun-deep); margin-bottom: .2rem; }
  .dq__by { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .6rem; font-size: .88rem; color: var(--ink-2); }
  .dq__more { font-weight: 750; color: var(--ink); }
  mark.hl { background: linear-gradient(transparent 52%, color-mix(in srgb, var(--sun) 62%, transparent) 52% 94%, transparent 94%);
    color: inherit; padding-inline: .05em; font-weight: 700; }
  @media (min-width: 900px) {
    .dayout__grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
    .dayout__tejas { grid-template-columns: 200px minmax(0, 1fr); align-items: start; padding: var(--space-6); }
    .dayout__photo { width: 100%; }
    .dq-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
  @media (max-width: 719px) { .swipe--dq { --sw: min(86%, 340px); } }
  .is-dayout .pair { grid-template-columns: minmax(0, 1fr); }
  .stay-type .hint { margin-top: .3rem; }

  /* /day-out page */
  .dayout-hero { display: grid; gap: var(--space-5); align-items: center; }
  .dayout-hero__copy h1 { text-wrap: balance; }
  .dayout-hero > * { min-width: 0; }
  .dayout-hero__fig { margin: 0; justify-self: center; width: min(78%, 340px); }
  .dayout-hero__photo { --ar-w: 4; --ar-h: 5; width: 100%; }
  .dayout-hero__fig figcaption { margin-top: .7rem; text-align: center; font-size: .88rem; color: var(--ink-2); }
  .dayout-steps { list-style: none; margin: 0; padding: 18px 0 0; display: grid; gap: var(--space-3); counter-reset: none; }
  .dayout-step { display: flex; gap: var(--space-3); align-items: flex-start; padding: var(--space-4); border-radius: var(--r-md); background: var(--paper-3);
    border: 1px solid var(--line); }
  .dayout-step h3 { margin: 0 0 .25rem; font-size: 1.15rem; }
  .dayout-step p { margin: 0; color: var(--ink-2); line-height: 1.5; }
  .dayout-step__when { font-size: .8rem !important; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3) !important; margin-bottom: .2rem !important; }
  .dayout-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); margin-top: var(--space-6); }
  .dayout-photos .arch { --ar-w: 1; --ar-h: 1; margin: 0; }
  @media (min-width: 760px) { .dayout-steps { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); } .dayout-photos { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
  @media (min-width: 900px) { .dayout-hero { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); } .dq-list--page { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

  /* header Services menu: the service pages + a "More care" column (day out, vet, toxic plants, groom, taxi) side by side */
  @media (hover: hover) { .has-sub:hover > .submenu:has(> .submenu__more) { display: flex; } }
  .has-sub.is-open > .submenu:has(> .submenu__more) { display: flex; }
  .submenu:has(> .submenu__more) { gap: .5rem; align-items: flex-start; }
  .submenu > .submenu__more { min-width: 270px; background: color-mix(in srgb, var(--sun-soft) 60%, var(--paper-3)); }
  .submenu > .submenu__more .pebble { background: var(--paper-3); }

  /* the FAQ grid column must not grow with its tab row (a 4th topic, "Day out", made it wider than a 320–390 px phone) */
  .faq-wrap > * { min-width: 0; }

  /* ---- home teaser → /why-cats (v1.5.0): two little SVG tabbies leaning in (art: partials/why_cats_art.html) -------- */
  .wc-teaser { --wc-fur: #A47E57; --wc-stripe: #4B3524; --wc-cream: #EBDDC4; --wc-eye: #8DA559; --wc-ink: #2A1D14; --wc-nose: #D98C80;
    --wc-ear: #E7AFA3; --wc-whisker: #FFF8EE; --wc-tag-dot: #FFF8EE; background: var(--paper-2); padding: var(--space-6) 0 calc(var(--space-6) + var(--sheet-r)); }
  .wc-teaser__in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--space-4); padding: var(--space-4) var(--space-5);
    border-radius: var(--r-lg); background: var(--paper-3); border: 1px solid var(--line); box-shadow: var(--shadow-1); color: var(--ink); text-decoration: none;
    transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2); }
  .wc-teaser__in:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
  .wc-teaser__cats { display: flex; align-items: flex-end; }
  .wc-teaser__cats .wc-cat { width: 64px; height: auto; } .wc-teaser__cats .wc-cat + .wc-cat { width: 56px; margin-left: -10px; }
  .wc-teaser .wc-cat__lid { transform-box: fill-box; transform-origin: 50% 0; transform: scaleY(0); }
  .wc-teaser .wc-cat__head { transform-box: fill-box; transform-origin: 50% 92%; }
  .wc-teaser #wc-tz-l .wc-cat__head { transform: rotate(8deg); } .wc-teaser #wc-tz-r .wc-cat__head { transform: rotate(-8deg); }
  .wc-teaser__in:hover #wc-tz-r .wc-cat__lid { transform: scaleY(.9); }
  .wc-teaser__copy { display: grid; gap: .2rem; min-width: 0; }
  .wc-teaser .eyebrow { margin: 0; }
  .wc-teaser__title { font: 750 var(--step-1)/1.2 var(--font-display); text-wrap: balance; }
  .wc-teaser__line { color: var(--ink-2); font-size: var(--step--1); }
  .wc-teaser__go { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--sun); }
  .wc-teaser__go .i { width: 22px; height: 22px; }
  @media (max-width: 559px) { .wc-teaser__in { grid-template-columns: minmax(0, 1fr) auto; } .wc-teaser__cats { grid-column: 1 / -1; } }

  /* home price card → /brochure (v1.6.0) */
  .price__brochure { grid-column: 1 / -1; margin: var(--space-2) 0 0; }
  .price__brochure a { display: flex; align-items: center; gap: .6rem; min-height: 48px; padding: .6rem 1rem; border-radius: var(--r-sm);
    background: var(--sun-soft); color: var(--ink); font-weight: 700; text-decoration: none; }
  .price__brochure a:hover { background: var(--apricot); }
  .price__brochure .i { flex: 0 0 auto; width: 20px; height: 20px; }
  .price__brochure span { flex: 1; }
}

/* 1.7.0 — Whisker Wisdom offer (partials/wisdom_offer.html): vet /plants, /foods, /medicines, vet home, /why-cats */
@layer sections {
  .ww-offer { display: grid; gap: var(--space-4); align-items: center; margin: var(--space-6) 0 0; padding: var(--space-5); border-radius: var(--r-lg);
    background: var(--sage-deep); color: var(--on-deep); box-shadow: var(--shadow-2); }
  .ww-offer__cover { position: relative; width: 92px; height: 124px; padding: 12px 10px; border-radius: 12px; background: var(--paper-2); color: #8A3B2C;
    font: 800 1rem/1.05 var(--font-display); transform: rotate(-5deg); box-shadow: 0 10px 22px -12px rgba(0, 0, 0, .6); }
  .ww-offer__cover em { position: absolute; right: -14px; bottom: 14px; padding: .25rem .55rem; border-radius: var(--r-pill); background: #B3261E; color: #fff;
    font: 800 .7rem/1 var(--font-text); font-style: normal; letter-spacing: .08em; text-transform: uppercase; transform: rotate(-6deg); }
  .ww-offer__k { display: inline-flex; align-items: center; gap: .35rem; margin: 0 0 .35rem; color: var(--sun); font-weight: 800; font-size: .82rem;
    letter-spacing: .1em; text-transform: uppercase; }
  .ww-offer__k .i { width: 1.1em; height: 1.1em; }
  .ww-offer h2 { margin: 0 0 .4rem; color: var(--on-deep); font-size: clamp(1.35rem, 1.15rem + .9vw, 1.75rem); line-height: 1.15; }
  .ww-offer p { margin: 0; color: var(--on-deep-2); }
  .ww-offer strong { color: var(--sun); }
  .ww-offer__go { justify-self: start; }
  @media (min-width: 760px) { .ww-offer { grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--space-5); padding: var(--space-5) var(--space-6); } }
}

/* ---- 1.28.0 custom merch, highlighted everywhere: the header pill, the phone-menu card, the band (partials/merch_band.html) ---- */
@layer sections {
  /* the tint trick: a white garment cut-out (static/img/merch/garments/<shape>.webp) painted any colour — the colour shows through
     the picture's own shape (mask) and the photo multiplies over it, so folds and shading survive */
  .tint { display: block; position: relative; isolation: isolate; aspect-ratio: 1; background: var(--c, #fff);
    -webkit-mask: var(--g) center / contain no-repeat; mask: var(--g) center / contain no-repeat; }
  .tint img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }

  .site-nav a.nav-hot { gap: .3rem; background: var(--sun-soft); box-shadow: inset 0 0 0 1.5px var(--sun-deep); }
  .site-nav a.nav-hot:hover, .site-nav a.nav-hot[aria-current="page"] { background: var(--sun); }
  .site-nav a.nav-hot .i { width: 1.05em; height: 1.05em; color: #B3261E; }
  /* The header container is capped at 1240 px and was already full (0 px spare at ≥1280; 14 px over at 960; 171 px over at ≥1600 once the
     "Feature your Billu" label appeared). So: the pill reads "✨ Merch" (screen readers hear "Custom merch"), the nav tightens from 1100,
     960–1099 uses the menu button (its sheet opens with the merch card), and the sponsor pill stays icon-only (its label never fits). */
  .nav-hot__x { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  @media (min-width: 960px) and (max-width: 1099px) { .site-nav { display: none; } .site-header .site-header__menu { display: inline-grid; } }
  @media (min-width: 1100px) { .site-header .site-nav a { padding-inline: .5rem; } .site-header .site-nav ul { gap: 0; } .site-nav { margin-left: var(--space-3); } }
  @media (min-width: 1100px) and (max-width: 1239px) { .site-header .site-nav a { padding-inline: .42rem; } }
  @media (min-width: 1600px) and (max-width: 1759px) {
    .hdr-sponsor { width: 42px; padding: 0; justify-content: center; margin-right: 0; }
    .hdr-sponsor__t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  }
  /* 1.29.0 (owner: "too much margin now — expand based on screen size"): on wide screens the header (and the sub-site bar) use the width
     instead of the 1240 px page column, so the labels come back: "Custom merch" from 1400 px, "Feature your Billu" from 1760 px. */
  @media (min-width: 1240px) {
    .site-header__inner, .sitebar__inner { max-width: min(100%, 1760px); padding-inline: clamp(24px, 2.4vw, 48px); }
  }
  @media (min-width: 1400px) {
    .nav-hot__x { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
    .site-header .site-nav a { padding-inline: .7rem; }
    .site-nav { margin-left: var(--space-5); }
  }
  .menu-gift--hot { background: var(--sun) !important; border-color: var(--sun-press) !important; }

  .mband { padding: var(--space-5) 0; background: var(--paper); }
  .mband__in { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-4); align-items: center; padding: var(--space-5); border-radius: var(--r-lg);
    background: radial-gradient(80% 90% at 85% 20%, color-mix(in srgb, var(--sun) 28%, transparent), transparent 60%), var(--sage-deep); color: var(--on-deep);
    text-decoration: none; box-shadow: var(--shadow-2); transition: transform var(--dur-2) var(--ease-out); }
  .mband__in:hover { color: var(--on-deep); transform: translateY(-2px); }
  .mband__in:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
  .mband__art { position: relative; width: min(220px, 60%); justify-self: center; }
  .mband__billu { position: absolute; left: 50%; top: 34%; width: 30%; height: auto; translate: -50% 0; rotate: -5deg; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .25)); }
  .mband__copy { display: grid; gap: .5rem; }
  .mband .eyebrow { color: var(--sun); margin: 0; }
  .mband__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.55rem, 1.1rem + 1.8vw, 2.3rem); line-height: 1.1; text-wrap: balance; }
  .mband__line { color: var(--on-deep-2); line-height: 1.5; max-width: 40rem; }
  .mband__chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .2rem; }
  .mband__chips span { padding: .3rem .7rem; border-radius: var(--r-pill); background: color-mix(in srgb, var(--on-deep) 12%, transparent); font-weight: 750; font-size: .88rem; }
  .mband__go { justify-self: start; display: inline-flex; align-items: center; gap: .45rem; min-height: 48px; padding: .6rem 1.2rem; border-radius: var(--r-pill);
    background: var(--sun); color: var(--sun-ink); font-weight: 800; }
  .mband__go .i { width: 18px; height: 18px; }
  @media (min-width: 760px) {
    .mband__in { grid-template-columns: 200px minmax(0, 1fr) auto; gap: var(--space-5); padding: var(--space-5) var(--space-6); }
    .mband__art { width: 100%; }
    .mband__go { align-self: center; }
  }
  @media (prefers-reduced-motion: no-preference) { .mband__in:hover .mband__billu { rotate: 3deg; transition: rotate var(--dur-3) var(--ease-out); } }
}

/* ---- 1.29.0 side-margin ads (base.html .rails, services/ads.py): wide screens only, in the empty margins beside the 1240 px page ---- */
@layer sections {
  .rails[hidden] { display: none; }
  .rail { position: fixed; z-index: 30; top: calc(var(--header-h) + 28px); width: 160px; }
  .rail--left { left: max(16px, calc((100vw - var(--maxw)) / 4 - 80px)); }
  .rail--right { right: max(16px, calc((100vw - var(--maxw)) / 4 - 80px)); }
  .rail__lbl { margin: 0 0 4px; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); text-align: center; }
  .rail__ins { display: block; width: 160px; height: 600px; }
  .rail__card { display: grid; gap: .35rem; padding: 8px 8px 12px; border-radius: 18px; background: var(--paper-3); border: 1.5px solid var(--line);
    box-shadow: var(--shadow-1); color: var(--ink); text-decoration: none; transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2); }
  .rail__card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); color: var(--ink); }
  .rail__card:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
  .rail__img { display: block; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--paper-2); }
  .rail__img img { width: 100%; height: 100%; object-fit: cover; object-position: 82% 50%; }
  .rail__kicker { font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); padding-inline: 4px; }
  .rail__t { font-family: var(--font-display); font-size: 1.08rem; line-height: 1.15; padding-inline: 4px; }
  .rail__l { font-size: .84rem; line-height: 1.4; color: var(--ink-2); padding-inline: 4px; }
  .rail__go { justify-self: start; margin: .2rem 4px 0; padding: .35rem .7rem; border-radius: 999px; background: var(--sun); color: var(--sun-ink); font-weight: 800; font-size: .82rem; }
  @media (max-width: 1639px) { .rails { display: none !important; } }
  @media print { .rails { display: none !important; } }
}

/* 1.29.2 — "Featured guest" credit on /feedback (a general thank-you; quote and details only with the guest's consent) */
@layer sections {
  .fb-featured { display: inline-grid; gap: .2rem; margin-top: var(--space-4); padding: .75rem 1rem; border-radius: var(--r-md); background: var(--sun-soft); box-shadow: inset 0 0 0 1.5px var(--sun-deep); max-width: 36rem; }
  .fb-featured__kicker { margin: 0; display: inline-flex; gap: .4rem; align-items: center; font-weight: 800; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--sun-ink); }
  .fb-featured__kicker .i { width: 16px; height: 16px; }
  .fb-featured__name { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
  .fb-featured__line { margin: 0; font-size: .95rem; line-height: 1.45; color: var(--ink-2); }
}
