/* Homepage-only styles, 2026-11-01. Shared rules live in site-pass.css, which loads first. */

/* Package photos zoom slightly on hover */
.home-page .package-image{overflow:hidden}
.home-page .package-image img{transition:transform .9s cubic-bezier(.2,.8,.2,1)}
.home-page .package-card:hover .package-image img{transform:scale(1.05)}

/* Guest feedback: two real quotes */
.home-page .guest-feedback-two{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:760px){.home-page .guest-feedback-two{grid-template-columns:1fr}}

/* Manager help waits until the ordering tiles are passed */
.home-page.help-deferred .floating-help{opacity:0;visibility:hidden;translate:0 10px}

@media(prefers-reduced-motion:reduce){
  .home-page .package-image img{transition:none}
}

/* Homepage ordering tiles size to however many delivery apps are listed (Grubhub removed site-wide at the client's request, 2026-11-01) */
@media(min-width:601px){.home-page .launcher-providers{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr)}}

/* Ordering tiles: on hover or keyboard focus, each delivery logo fills with its own brand color.
   Two stacked images (black + brand-color copy) instead of a CSS mask: Chrome blocks mask images on pages opened as files. */
.home-page .launcher-provider-logo{position:relative;inset:auto;margin:0;display:block;width:110px;height:52px;flex-shrink:0}
.home-page .launcher-provider-logo img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:left center;transition:opacity .3s}
.home-page .launcher-provider-logo .logo-color{opacity:0}
.home-page .launcher-providers>a:hover .launcher-provider-logo .logo-color,.home-page .launcher-providers>a:focus-visible .launcher-provider-logo .logo-color{opacity:1}
.home-page .launcher-providers>a:hover .launcher-provider-logo img:not(.logo-color),.home-page .launcher-providers>a:focus-visible .launcher-provider-logo img:not(.logo-color){opacity:0}
@media(prefers-reduced-motion:reduce){.home-page .launcher-provider-logo img{transition:none}}
.home-page .launcher-providers>a:hover,.home-page .launcher-providers>a:focus-visible{background:var(--cream)}

/* Direct ordering is the first of three equal tiles: the black-and-white restaurant logo (assets/logo-mono.png)
   fills with its own colors on hover, like the delivery logos. */
.home-page .ordering-hub{grid-template-columns:1fr}
/* Tiles: logo and label centered, label in the hero title font, no arrows. Phones stack the same way. */
.home-page .launcher-providers>a{align-items:center;justify-content:center;text-align:center}
.home-page .launcher-provider-logo img{object-position:center}
.home-page .launcher-providers>a>small{font:700 19px/1.2 var(--display);letter-spacing:-.02em;color:#f7c34a;margin-top:14px;transition:color .3s}
/* Teal band (George, 2026-11-15): the ordering box sits in the site teal with white logos and labels so it stands out
   from the cream page. Labels start in the headline gold. Hover or keyboard focus flips that tile to cream with the full-color logo. */
.home-page .order-launcher.ordering-hub{background:var(--green);border-color:var(--green)}
.home-page .launcher-providers>a{border-color:#fffbf233;transition:background .3s}
.home-page .launcher-provider-logo img:not(.logo-color){filter:brightness(0) invert(1)}
.home-page .launcher-providers>a:hover>small,.home-page .launcher-providers>a:focus-visible>small{color:var(--ink)}
@media(max-width:600px){.home-page .launcher-providers>a{flex-direction:column;gap:0}}

/* Hero intro: each sentence starts its own line; wide enough on desktop that each fits on one line */
.home-page .hero .intro .sentence{display:block}
@media(min-width:761px){.home-page .hero .intro{max-width:620px}}

/* Hover motion for the seasonal card and ordering logos. Uses the separate translate/rotate/scale properties,
   so it never fights the GSAP arrival animation, which moves transform. */
/* The card always pivots from its top edge (like a hanging tag), so the swing ends without a jump. */
.home-page .hero-season{transform-origin:50% 0;transition:translate .4s cubic-bezier(.2,.8,.2,1),rotate .4s cubic-bezier(.2,.8,.2,1)}
.home-page .hero-season:hover,.home-page .hero-season:focus-visible{translate:0 -6px}
@media(min-width:761px){.home-page .hero-season:hover,.home-page .hero-season:focus-visible{rotate:-5deg}}
.home-page .launcher-provider-logo{transition:scale .35s cubic-bezier(.2,.8,.2,1)}
.home-page .launcher-providers>a:hover .launcher-provider-logo,.home-page .launcher-providers>a:focus-visible .launcher-provider-logo{scale:1.08}
@media(prefers-reduced-motion:reduce){.home-page .hero-season,.home-page .launcher-provider-logo{transition:none}}

/* Hero has three routes (George, 2026-11-16): one catering button, the seasonal card, and the ordering tiles below.
   On wider screens the seasonal card sits high, beside the headline, instead of near the bottom. */
@media(min-width:1024px){.home-page .hero-season{bottom:auto;top:96px}}
/* Tablet widths have no room beside the headline, so the card drops below the catering button, as on phones */
@media(min-width:761px) and (max-width:1023px){
  .home-page .hero-inner{display:block}
  .home-page .hero-season{position:relative;top:auto;right:auto;bottom:auto;display:block;width:max-content;max-width:100%;margin-top:36px;transform:rotate(-1.5deg)}
}
/* Phones: the card grows to fit the timing line on one line */
@media(max-width:760px){.home-page .hero-season{width:max-content;max-width:100%}}

/* Catering preview leads on to the full catering page (George, 2026-11-16) */
.home-page .catering-more{display:flex;justify-content:center;margin-top:40px}
.home-page .catering-more .button{width:auto;min-height:52px;padding:14px 26px;font-size:15px}

/* Catering cards: on hover or keyboard focus, a gold highlighter stroke sweeps in behind the title (George, 2026-11-16).
   The text stays dark so it remains readable on the white card. */
.home-page .package-title{background:linear-gradient(#f7c34a,#f7c34a) no-repeat 0 88%/0% 42%;-webkit-box-decoration-break:clone;box-decoration-break:clone;transition:background-size .45s cubic-bezier(.2,.8,.2,1)}
.home-page .package-card:hover .package-title,.home-page .package-card:focus-within .package-title{background-size:100% 42%}
@media(prefers-reduced-motion:reduce){.home-page .package-title{transition:none}}

/* Custom menus section (George, 2026-11-24): the expandable list is back, now about building the menu around the office.
   It replaces the business band. Food icons beside each row. Title and copy sit together on the left. */
.home-page .service-list summary{display:flex;align-items:center;gap:18px}
.home-page .service-icon{width:38px;height:38px;flex:none;transition:rotate .35s cubic-bezier(.2,.8,.2,1),scale .35s cubic-bezier(.2,.8,.2,1)}
.home-page .service-list details[open] .service-icon,.home-page .service-list summary:hover .service-icon,.home-page .service-list summary:focus-visible .service-icon{rotate:-8deg;scale:1.08}
.home-page .service-section .section-heading p{margin-top:14px;max-width:none}
.home-page .service-section .section-heading .sentence{display:inline}
.home-page .service-more{display:flex;justify-content:center;margin-top:40px}
.home-page .service-more .button,.home-page .menu-heading>.button,.home-page .story-actions .button{width:auto;min-height:52px;padding:14px 26px;font-size:15px}
@media(prefers-reduced-motion:reduce){.home-page .service-icon{transition:none;rotate:none!important;scale:none!important}}

/* Menu heading: title and copy together on the left, the filled button alone on the right, title at the top */
.home-page .menu-heading{align-items:flex-end}
.home-page .menu-heading p{margin-top:14px;max-width:none}
@media(max-width:760px){.home-page .menu-heading>.button{margin-top:20px}}

/* Story: the button with the 20+ years count beside it */
.home-page .story-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;max-width:560px;margin-top:28px}
.home-page .story-actions .story-count{display:flex;align-items:center;gap:12px;margin:0}
.home-page .story-count strong{font:700 54px/1 var(--display);color:var(--green);letter-spacing:-.05em}
.home-page .story-count span{font-size:12px;line-height:1.4;color:var(--muted)}
@media(max-width:760px){.home-page .story-count strong{font-size:42px}.home-page .story-actions .button{padding:14px 16px;white-space:nowrap}}
@media(max-width:374px){.home-page .story-actions{flex-wrap:wrap}}

/* Visit options: the plain links became the site's filled buttons */
.home-page .visit-cta.button{width:auto;min-height:46px;padding:12px 22px;font-size:14px;text-decoration:none;color:#fff;margin-top:16px}
.home-page .visit-option:hover .visit-cta.button,.home-page .visit-option:focus-visible .visit-cta.button{color:#fff;background:var(--rust-dark)}

/* Hero tamales card and the holiday section: everything centered */
.home-page .hero-season{text-align:center}
.home-page .hero-season .season-line{justify-content:center}
.home-page .seasonal-copy{text-align:center}
.home-page .seasonal-copy .tamale-illustrations{justify-content:center}
.home-page .seasonal-copy .seasonal-guidelines{text-align:center}

/* Menu intro on one line under the title */
.home-page .menu-heading .sentence{display:inline}

/* Visit: Get directions uses the same filled button as the options */
.home-page .visit-location .visit-cta.button{margin-top:0}
.home-page .visit-location .visit-cta.button:hover,.home-page .visit-location .visit-cta.button:focus-visible{background:var(--rust-dark)}

/* Email signup (replaces "Hungry yet?") */
.home-page .email-signup .next-meal-inner{align-items:start}
.home-page .email-signup h2+p{margin:14px 0 0;color:var(--muted)}
.home-page .signup-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.home-page .signup-form .field{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:600;color:var(--ink)}
.home-page .signup-form .button{width:auto;min-height:52px;padding:14px 26px;font-size:15px;margin-top:16px}
.home-page .signup-note{font-size:13px;color:var(--muted);margin:10px 0 0}
.home-page #signup-result:not(:empty){margin-top:12px;font-size:15px;color:var(--ink)}
@media(max-width:560px){.home-page .signup-fields{grid-template-columns:1fr}}
