/* =========================================================
   Hummus & Garlic — home page
   White-led, product-first. Green (#34a83f) is the accent;
   gold appears only inside the logo artwork.
   Loaded after style.css, which still owns nav / footer / buttons.
   ========================================================= */

/* ---------- buttons: label carries the button, no arrows ---------- */
.btn {
    font-size: 1.02rem;
    letter-spacing: 0.045em;
    padding: 1.1rem 2rem;
    gap: 0.55rem;
}
.btn .arrow { display: none; }
.btn-pill::after,
.btn-pill::before { content: none; }
.btn-pill { font-size: 0.94rem; letter-spacing: 0.05em; padding: 0.85rem 1.7rem; }

/* ---------- text on green is always white ---------- */
.btn-gold,
.btn-gold:hover,
.btn-green,
.btn-green:hover,
.btn-pill.is-green,
.btn-pill.is-green:hover { color: #fff; }

.btn-green {
    background: var(--green);
    border-color: var(--green);
    color: #fff;
    box-shadow: 0 10px 30px rgba(52, 168, 63, 0.28);
}
.btn-green:hover {
    background: var(--green-deep);
    border-color: var(--green-deep);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(14, 88, 20, 0.35);
}
/* small labels need the deep green behind them to stay readable */
.btn-pill.is-green {
    background: var(--green-deep);
    border-color: var(--green-deep);
}
.btn-pill.is-green:hover { background: #0a3d0e; border-color: #0a3d0e; }

/* ---------- shared section furniture ---------- */
.h-sec { padding: clamp(3.5rem, 7vw, 6.5rem) 0; }
.h-sec-paper { background: var(--paper); }
.h-sec-wash  { background: var(--green-pale); }
.h-sec-dark  { background: var(--black); color: #fff; }

.h-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.h-head.is-center { margin-left: auto; margin-right: auto; text-align: center; }
.h-head .eyebrow { color: var(--green-deep); }
.h-sec-dark .h-head .eyebrow { color: var(--green-light); }
.h-head h2 {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 6.4vw, 4.6rem);
    line-height: 0.96;
    letter-spacing: 0.01em;
    margin: 0.5rem 0 0;
}
.h-head h2 .ac { color: var(--green); }
.h-sec-dark .h-head h2 .ac { color: var(--green-light); }
.h-head p { margin-top: 1rem; color: var(--muted); font-size: 1.05rem; }
.h-sec-dark .h-head p { color: rgba(255, 255, 255, 0.7); }

/* ---------- hero ---------- */
.h-hero {
    background: var(--white);
    padding: calc(var(--nav-h) + 0.25rem) 0 clamp(3rem, 6vw, 5rem);
}
.h-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}
.h-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(3.2rem, 8.4vw, 6.6rem);
    line-height: 0.9;
    letter-spacing: 0.01em;
    color: var(--black);
    margin: 1rem 0 0;
}
.h-hero h1 .ac { color: var(--green); }
.h-hero-sub {
    margin: 1.4rem 0 0;
    max-width: 34rem;
    font-size: clamp(1rem, 1.6vw, 1.18rem);
    color: var(--muted);
}
.h-hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem 1rem; margin-top: 2rem; }

.h-open {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1.05rem;
    border-radius: 999px;
    background: var(--green-pale);
    color: var(--green-deep);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
.h-open .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 4px rgba(52, 168, 63, 0.2);
}
.h-hero-media {
    position: relative;
    border-radius: 26px;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: var(--off-white);
}
.h-hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- now-open band with the composed bowl trio ---------- */
.h-open-band {
    position: relative;
    background: var(--black);
    color: #fff;
    padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem);
    overflow: hidden;
}
.h-open-band .eyebrow { color: var(--green-light); }
.h-open-band h2 {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    line-height: 0.98;
    margin: 0.4rem 0 0.8rem;
    color: #fff;          /* style.css defaults headings to near-black */
}
.h-sec-dark .h-head h2 { color: #fff; }
.h-open-band h2 .ac { color: var(--green-light); }
.h-open-band p { color: rgba(255, 255, 255, 0.72); max-width: 34rem; }
.h-open-band .h-open-actions { display: flex; flex-wrap: wrap; gap: 0.8rem 1rem; margin-top: 1.8rem; }
.h-trio {
    display: block;
    width: auto;
    max-width: min(88%, 620px);
    max-height: clamp(280px, 42vw, 520px);
    margin: clamp(1.5rem, 4vw, 2.5rem) auto 0;
    height: auto;
}

/* ---------- editorial feature rows (no card grids) ---------- */
.h-feature { padding: clamp(3.5rem, 7.5vw, 7rem) 0; overflow: hidden; }
.h-feature-inner {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: clamp(2rem, 5vw, 5.5rem);
    align-items: center;
}
.h-feature.is-reverse .h-feature-media { order: -1; }
.h-feature-media img {
    width: 100%;
    height: auto;
    display: block;
    /* transparent PNGs — they float on the section colour instead of sitting in a
       white rectangle, so the same asset works on white, paper, wash and black */
    filter: drop-shadow(0 26px 34px rgba(10, 9, 8, 0.20));
}
.h-feature .eyebrow { color: var(--green-deep); }
.h-feature.h-sec-dark .eyebrow { color: var(--green-light); }
.h-feature h2 {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 7vw, 5.2rem);
    line-height: 0.94;
    letter-spacing: 0.01em;
    margin: 0.5rem 0 0;
}
.h-feature h2 .ac { color: var(--green); }
.h-feature.h-sec-dark h2 { color: #fff; }
.h-feature.h-sec-dark h2 .ac { color: var(--green-light); }
.h-feature p {
    margin: 1.1rem 0 0;
    max-width: 32rem;
    font-size: 1.06rem;
    line-height: 1.65;
    color: var(--muted);
}
.h-feature.h-sec-dark p { color: rgba(255, 255, 255, 0.72); }
.h-feature .h-feature-cta { margin-top: 2rem; }

/* ---------- product grids ---------- */
.h-grid {
    display: grid;
    gap: clamp(1.4rem, 3vw, 2.4rem);
    grid-template-columns: repeat(3, 1fr);
}
.h-grid-2 { grid-template-columns: repeat(2, 1fr); }
.h-grid-4 { grid-template-columns: repeat(4, 1fr); }

.h-card { min-width: 0; }
.h-card-media {
    border-radius: 20px;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 1px 0 rgba(10, 9, 8, 0.06), 0 12px 30px rgba(10, 9, 8, 0.05);
    margin-bottom: 1rem;
}
.h-sec-wash .h-card-media { box-shadow: 0 1px 0 rgba(10, 9, 8, 0.05); }
.h-card-media img {
    width: 100%; height: auto; display: block;
    transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.h-card:hover .h-card-media img { transform: scale(1.035); }
.h-card h3 {
    font-family: var(--font-body);
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--soft-black);
    margin: 0;
}
.h-card p {
    margin: 0.35rem 0 0;
    font-size: 0.94rem;
    line-height: 1.55;
    color: var(--muted);
}

/* ---------- build a bowl ---------- */
.h-step { text-align: center; }
.h-step-media {
    border-radius: 50%;
    overflow: hidden;
    background: var(--white);
    aspect-ratio: 1;
    margin: 0 auto 1.1rem;
    max-width: 240px;
    box-shadow: 0 14px 34px rgba(10, 9, 8, 0.07);
}
.h-step-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.h-step-num {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--green-deep);
    margin-bottom: 0.35rem;
}
.h-step h3 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 700; margin: 0; }
.h-step p { margin: 0.3rem auto 0; max-width: 22rem; font-size: 0.92rem; color: var(--muted); }

/* ---------- desserts strip ---------- */
.h-dessert {
    background: var(--white);
    text-align: center;
    padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(3.5rem, 7vw, 6rem);
}
.h-dessert .eyebrow { color: var(--green-deep); }
.h-dessert h2 {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 6.4vw, 4.6rem);
    line-height: 0.96;
    margin: 0.5rem 0 0;
}
.h-dessert h2 .ac { color: var(--green); }
.h-dessert > .container > p { margin: 1rem auto 0; max-width: 34rem; color: var(--muted); }

.h-dessert-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(1.5rem, 4vw, 3.5rem);
    margin-top: clamp(2.5rem, 5vw, 4rem);
}
.h-dsrt { margin: 0; display: flex; flex-direction: column; align-items: center; }
.h-dsrt-img {
    height: clamp(150px, 20vw, 230px);
    display: flex;
    align-items: center;
    justify-content: center;
}
.h-dsrt-img img {
    max-height: 100%;
    width: auto;
    max-width: 100%;
    display: block;
    /* photos on white, not cutouts — a drop-shadow would outline the square */
    transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.h-dsrt:hover .h-dsrt-img img { transform: translateY(-8px) scale(1.03); }

/* leader line + arrowhead from the label up to the dessert */
.h-dsrt-arrow {
    width: 2px;
    height: clamp(22px, 3.2vw, 38px);
    background: var(--green);
    margin-top: 0.9rem;
    position: relative;
    border-radius: 2px;
    transform-origin: bottom center;   /* pivot at the label end */
}
/* each leader leans a different way so the row doesn't read as four identical ticks */
.h-dsrt:nth-child(1) .h-dsrt-arrow { transform: rotate(-24deg); }
.h-dsrt:nth-child(2) .h-dsrt-arrow { transform: rotate(11deg);  height: clamp(26px, 3.8vw, 44px); }
.h-dsrt:nth-child(3) .h-dsrt-arrow { transform: rotate(-11deg); height: clamp(26px, 3.8vw, 44px); }
.h-dsrt:nth-child(4) .h-dsrt-arrow { transform: rotate(24deg); }
.h-dsrt-arrow::before {
    content: "";
    position: absolute;
    top: -7px; left: 50%;
    transform: translateX(-50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 7px solid var(--green);
}
.h-dsrt figcaption {
    /* every tag the same box, whatever the label length */
    margin-top: 0.9rem;
    width: 100%;
    min-height: 3.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--green);
    color: #fff;
    border-radius: 999px;
    padding: 0.55rem 1.1rem;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    line-height: 1.25;
    box-shadow: 0 10px 22px rgba(52, 168, 63, 0.26);
}
.h-dsrt { justify-content: flex-end; }

/* Stagger the row: alternate items flip so the tag sits above the dessert, and each
   column drops a different amount. Stops four identical stacks reading as a table. */
.h-dsrt:nth-child(even) { flex-direction: column-reverse; justify-content: flex-start; }
.h-dsrt:nth-child(even) .h-dsrt-arrow { transform-origin: top center; }
.h-dsrt:nth-child(even) .h-dsrt-arrow::before {
    top: auto; bottom: -7px;
    border-bottom: none;
    border-top: 7px solid var(--green);
}
.h-dsrt:nth-child(even) figcaption { margin-top: 0; margin-bottom: 0.9rem; }
.h-dsrt:nth-child(1) { margin-top: 2.4rem; }
.h-dsrt:nth-child(2) { margin-top: 0; }
.h-dsrt:nth-child(3) { margin-top: 3.4rem; }
.h-dsrt:nth-child(4) { margin-top: 0.8rem; }

@media (max-width: 1000px) {
    .h-dessert-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .h-dessert-row { grid-template-columns: 1fr; gap: 2.2rem; }
    .h-dsrt-img { height: 170px; }
}

/* ---------- locations ---------- */
.h-loc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.4rem, 3vw, 2rem); }
.h-loc {
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: clamp(1.6rem, 3vw, 2.4rem);
    background: var(--white);
}
.h-loc.is-open { border-color: var(--green); box-shadow: 0 0 0 1px var(--green) inset; }
.h-loc-status {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: var(--off-white);
    color: var(--muted);
}
.h-loc.is-open .h-loc-status { background: var(--green); color: #fff; }
.h-loc h3 { font-family: var(--font-display); font-size: 2.2rem; margin: 0.9rem 0 0.5rem; letter-spacing: 0.02em; }
.h-loc address { font-style: normal; color: var(--muted); line-height: 1.6; }
.h-loc-actions { display: flex; flex-wrap: wrap; gap: 0.7rem 0.8rem; margin-top: 1.4rem; }

/* ---------- catering band ---------- */
.h-cater {
    background: var(--green);
    color: #fff;
    padding: clamp(3rem, 6vw, 5rem) 0;
    text-align: center;
}
.h-cater h2 {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    line-height: 1;
    margin: 0 0 0.7rem;
    color: #fff;
}
.h-cater p { color: rgba(255, 255, 255, 0.92); max-width: 36rem; margin: 0 auto 1.8rem; }
.h-cater .btn-pill {
    background: #fff;
    color: var(--green-deep);
    border-color: #fff;
}
.h-cater .btn-pill:hover { background: var(--black); color: #fff; border-color: var(--black); }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
    .h-feature-inner { grid-template-columns: 1fr; }
    .h-feature.is-reverse .h-feature-media { order: 0; }
    .h-feature-media { max-width: 560px; }
    .h-hero-grid { grid-template-columns: 1fr; }
    .h-hero-media { aspect-ratio: 3 / 2; max-height: 420px; }
    .h-grid, .h-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .h-grid-2 { grid-template-columns: 1fr; }
    .h-loc-grid { grid-template-columns: 1fr; }
    .h-step-media { max-width: 150px; }
    .h-trio { margin: 0 auto -1.5rem; }
    .h-hero-actions .btn { flex: 1 1 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
    .h-card:hover .h-card-media img { transform: none; }
}


/* =========================================================
   MOTION
   Entrance on load for the hero, scroll-reveal for the rest
   (main.js adds .visible via IntersectionObserver).
   ========================================================= */
@keyframes h-rise {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}
.is-enter > div > *,
.is-enter > .h-hero-media {
    opacity: 0;
    animation: h-rise 0.8s cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
}
.is-enter > div > .h-open      { animation-delay: 0.05s; }
.is-enter > div > h1           { animation-delay: 0.14s; }
.is-enter > div > .h-hero-sub  { animation-delay: 0.24s; }
.is-enter > div > .h-hero-actions { animation-delay: 0.34s; }
.is-enter > .h-hero-media      { animation-delay: 0.20s; }

/* feature images drift up and settle as the row reveals */
.h-feature .reveal .h-feature-media img {
    transform: translateY(26px) scale(0.985);
    transition: transform 1.1s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.h-feature .reveal.visible .h-feature-media img { transform: translateY(0) scale(1); }

/* the trio rises into the black band */
.h-trio.reveal { transition: opacity 1.1s ease, transform 1.1s cubic-bezier(0.2, 0.7, 0.3, 1); }

/* live dot on the "now open" chip */
@keyframes h-pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(52, 168, 63, 0.22); }
    50%      { box-shadow: 0 0 0 8px rgba(52, 168, 63, 0.06); }
}
.h-open .dot { animation: h-pulse 2.4s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
    .is-enter > div > *,
    .is-enter > .h-hero-media { animation: none; opacity: 1; }
    .h-feature .reveal .h-feature-media img,
    .h-feature .reveal.visible .h-feature-media img { transform: none; transition: none; }
    .h-open .dot { animation: none; }
    .h-dsrt:hover .h-dsrt-img img { transform: none; }
    .reveal, .reveal.visible { opacity: 1; transform: none; transition: none; }
}


/* =========================================================
   SAUCE MARQUEE
   A slow band of every spread and sauce, each with its real
   colour. Sits between sections as a divider.
   ========================================================= */
.sauce-marquee {
    background: var(--black);
    overflow: hidden;
    padding: clamp(1.6rem, 3vw, 2.4rem) 0;
    border-top: 1px solid rgba(52, 168, 63, 0.3);
    border-bottom: 1px solid rgba(52, 168, 63, 0.3);
}
.sauce-marquee-inner {
    display: flex;
    gap: clamp(2.4rem, 4vw, 4rem);
    white-space: nowrap;
    width: max-content;
    animation: sauce-scroll 44s linear infinite;
}
.sauce-marquee:hover .sauce-marquee-inner { animation-play-state: paused; }
.sauce-marquee span {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    font-family: var(--font-body);
    font-size: clamp(1.1rem, 1.9vw, 1.6rem);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
}
.sauce-marquee span i {
    width: clamp(14px, 1.5vw, 20px);
    height: clamp(14px, 1.5vw, 20px);
    border-radius: 50%;
    background: var(--swatch);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25);
    flex: 0 0 auto;
}
/* the run is duplicated in the markup, so -50% lands on a seam-free loop */
@keyframes sauce-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .sauce-marquee-inner { animation: none; }
    .sauce-marquee { overflow-x: auto; }
}


/* =========================================================
   NUMBERED STEPS  (gift cards)
   Mobile-first: one column with the numeral beside the text,
   widening to three equal cards. Was previously borrowing the
   dessert figure markup, which left the labels unaligned.
   ========================================================= */
.h-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: clamp(2rem, 4vw, 3rem);
    text-align: left;
}
.h-step-card {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 1rem;
    padding: 1.35rem 1.4rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
}
.h-step-card .n {
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1;
}
.h-step-card h3 {
    font-family: var(--font-body);
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--soft-black);
    margin: 0 0 0.3rem;
    text-transform: none;
    letter-spacing: 0;
}
.h-step-card p { margin: 0; font-size: 0.94rem; line-height: 1.55; color: var(--muted); }

@media (min-width: 760px) {
    .h-steps { grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
    .h-step-card {
        grid-template-columns: 1fr;      /* numeral stacks above the copy */
        gap: 0.9rem;
        padding: 1.9rem 1.7rem;
    }
}


/* =========================================================
   Buttons must never collide as the viewport narrows.
   Several groups sit in plain flow rather than a flex row, so
   give every pill its own gutter as a floor.
   ========================================================= */
.btn, .btn-pill { margin: 0.3rem 0.35rem 0.3rem 0; }
.h-hero-actions .btn,
.h-open-actions .btn-pill,
.h-loc-actions .btn-pill,
.h-cater .btn-pill { margin: 0; }          /* these are gap-controlled already */

.cta-band .btn-pill { margin: 0.4rem 0.4rem 0; }

@media (max-width: 560px) {
    .h-hero-actions { gap: 0.75rem; }
    .h-hero-actions .btn { flex: 1 1 100%; justify-content: center; }
    .h-open-actions .btn-pill,
    .h-loc-actions .btn-pill { flex: 1 1 auto; justify-content: center; text-align: center; }
}
