/* ==========================================================================
   Anyday Twist Cafe: home page
   1 Hero  2 Section scaffolding  3 Signature  4 Cones  5 Savoury  6 Offers
   7 Counter photos  8 Visit  9 Responsive  10 Reduced motion
   Rule: no text, badge or caption ever sits on top of a photo. Text goes beside or below.
   ========================================================================== */

/* 1. Hero ---------------------------------------------------------------- */
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; padding-top: 6.5rem;
  background:
    radial-gradient(900px 560px at 88% 24%, rgba(150, 92, 62, 0.45), transparent 70%),
    radial-gradient(700px 480px at 0% 100%, rgba(110, 68, 50, 0.4), transparent 70%),
    linear-gradient(165deg, #1B0F0A, #2C1A13 62%, #1B0F0A); }
.hero__glow { position: absolute; z-index: -1; right: -12%; bottom: -30%; width: min(70vw, 900px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(242, 154, 61, 0.38), transparent 62%); filter: blur(20px); pointer-events: none; }

.hero__inner { flex: 1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); align-items: center; gap: clamp(1.5rem, 4vw, 4rem); padding-block: 2rem 2.5rem; }

.live-tag { display: inline-flex; align-items: center; gap: 0.65rem; padding: 0.5rem 1rem 0.5rem 0.85rem; border-radius: 999px; font-size: 0.95rem; font-weight: 550; }
.live-dot { width: 0.7rem; height: 0.7rem; flex: none; border-radius: 50%; background: #FFB45A; box-shadow: 0 0 0 0 rgba(255, 180, 90, 0.7); animation: pulse 2s ease-out infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255, 180, 90, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 180, 90, 0); } }

.hero__title { margin-top: 1.5rem; font-weight: 800; font-stretch: 75%; font-size: clamp(4.2rem, 12.5vw, 10.5rem); line-height: 0.84; letter-spacing: -0.012em; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero__title .line > span { display: inline-block; transform: translateY(108%); animation: rise 1s var(--ease) forwards; }
.hero__title .line:nth-child(2) > span { animation-delay: 0.12s; }
.hero__title .line:nth-child(3) > span { animation-delay: 0.24s; }
@keyframes rise { to { transform: translateY(0); } }

.hero__lede { margin-top: 1.75rem; max-width: 36rem; font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.55; color: var(--on-dark-muted); opacity: 0; animation: fade 0.8s 0.55s var(--ease) forwards; }
.hero__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1rem; opacity: 0; animation: fade 0.8s 0.7s var(--ease) forwards; }
@keyframes fade { to { opacity: 1; } }

.hero__cards { position: relative; justify-self: end; width: min(100%, 25rem); opacity: 0; animation: fade 1s 0.4s var(--ease) forwards; }
.pick { padding: 0.7rem; border-radius: 34px; }
.pick__photo { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; border-radius: 26px; }
.pick__body { padding: 0.9rem 0.6rem 0.4rem; display: grid; grid-template-columns: 1fr auto; gap: 0.15rem 1rem; align-items: center; }
.pick__tag { grid-column: 1 / -1; font-size: 0.9rem; color: var(--on-dark-muted); }
.pick__name { font-size: 1.6rem; font-weight: 740; font-stretch: 85%; line-height: 1.1; letter-spacing: -0.01em; }
.pick__price { font-size: 1.5rem; font-weight: 700; font-stretch: 85%; }
.pick .btn { grid-column: 1 / -1; margin-top: 0.7rem; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem 1.5rem; margin-bottom: 1.75rem; padding: 1.1rem 1.75rem; border-radius: 28px; }
.stats li { line-height: 1.35; color: var(--on-dark-muted); }
.stats strong { display: block; font-size: 1.4rem; font-weight: 720; font-stretch: 85%; color: var(--on-dark); letter-spacing: -0.01em; }

/* 2. Section scaffolding ------------------------------------------------- */
.section { position: relative; isolation: isolate; overflow: hidden; padding-block: var(--section-pad); }
.section__tint { position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgba(27, 15, 10, 0.9), rgba(56, 35, 28, 0.8) 55%, rgba(27, 15, 10, 0.92)); }
.section--light { background: var(--crumb); color: var(--on-light); }
.section--plain { background: linear-gradient(180deg, #1B0F0A, #38231C 50%, #1B0F0A); }

.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.25rem 2rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head__text { max-width: 44rem; }
.section-head h2, .counter h2, .visit h2 { font-weight: 780; font-stretch: 78%; font-size: clamp(2.5rem, 5.6vw, 4.6rem); line-height: 0.98; letter-spacing: -0.018em; text-wrap: balance; }
.section-head p { margin-top: 0.9rem; max-width: 46ch; font-size: 1.15rem; color: var(--on-dark-muted); }
.section--light .section-head p { color: var(--on-light-muted); }

.mini-btn { display: inline-flex; align-items: center; min-height: 2.25rem; padding: 0.35rem 0.95rem; border-radius: 999px; background: var(--caramel); color: var(--roast-deep); font-size: 0.9rem; font-weight: 650; text-decoration: none; transition: background-color 0.2s, transform 0.2s var(--ease); }
.mini-btn:hover { background: #E0BA80; transform: translateY(-1px); }
.star-tag { white-space: nowrap; display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.85rem; font-weight: 600; color: var(--caramel); }
.star-tag svg { width: 0.95rem; height: 0.95rem; }

/* 3. Signature: a big card and four small ones --------------------------- */
.sig__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.card { display: flex; flex-direction: column; padding: 0.6rem; border-radius: 30px; }
.card--xl { grid-column: span 2; grid-row: span 2; border-radius: 44px 44px 44px 14px; }
.card__photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center; border-radius: 22px; }
.card--xl .card__photo { flex: 1 1 0; min-height: 18rem; aspect-ratio: auto; border-radius: 36px 36px 22px 22px; }
.card__body { display: flex; flex-direction: column; gap: 0.3rem; padding: 0.9rem 0.6rem 0.5rem; }
.card__row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.card__name { font-size: 1.4rem; font-weight: 720; font-stretch: 85%; line-height: 1.1; letter-spacing: -0.01em; }
.card--xl .card__name { font-size: clamp(1.8rem, 3vw, 2.5rem); font-stretch: 80%; }
.card__price { font-size: 1.35rem; font-weight: 700; font-stretch: 85%; }
.card__desc { font-size: 0.95rem; line-height: 1.4; color: var(--on-dark-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-top: 0.45rem; }
.card__more { font-size: 0.9rem; font-weight: 600; color: var(--on-dark-muted); text-decoration: underline; text-underline-offset: 0.25em; text-decoration-color: rgba(255, 255, 255, 0.4); }
.card__more:hover { color: var(--on-dark); }
.card:not(.card--xl) .card__more { display: none; }

/* 4. Cones: arched photos on a scroll rail ------------------------------- */
.rail-controls { display: flex; gap: 0.6rem; }
.round { width: 3.25rem; height: 3.25rem; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.12); color: var(--on-dark); font-size: 1.4rem; line-height: 1; cursor: pointer; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: background-color 0.2s, transform 0.15s, opacity 0.2s; }
.round:hover:not(:disabled) { background: rgba(255, 255, 255, 0.24); }
.round:active:not(:disabled) { transform: scale(0.94); }
.round:disabled { opacity: 0.35; cursor: not-allowed; }

.rail { display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0.5rem var(--gutter) 1.75rem; margin-inline: calc(var(--gutter) * -1); scroll-padding-inline: var(--gutter); }
.rail::-webkit-scrollbar { display: none; }
.cone { flex: 0 0 min(76vw, 18.5rem); scroll-snap-align: start; display: flex; flex-direction: column; padding: 0.65rem; border-radius: 170px 170px 32px 32px; }
.cone__photo { aspect-ratio: 3 / 3.6; width: 100%; object-fit: cover; border-radius: 160px 160px 22px 22px; }
.cone__body { display: grid; grid-template-columns: 1fr auto; gap: 0.15rem 0.75rem; align-items: baseline; padding: 1rem 0.65rem 0.5rem; }
.cone__name { font-size: 1.35rem; font-weight: 720; font-stretch: 85%; line-height: 1.1; }
.cone__price { font-size: 1.3rem; font-weight: 700; font-stretch: 85%; }
.cone__desc { grid-column: 1 / -1; margin-top: 0.3rem; font-size: 0.95rem; line-height: 1.4; color: var(--on-dark-muted); }
.cone__foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-top: 0.8rem; }

/* 5. Savoury (cream section, staggered) ---------------------------------- */
.sav__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 2rem); align-items: start; }
.sav__item:nth-child(2) { margin-top: 3rem; }
.sav__photo { position: relative; border-radius: 34px 34px 34px 10px; overflow: hidden; }
.sav__photo img { aspect-ratio: 5 / 4.4; width: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.sav__item:hover .sav__photo img { transform: scale(1.05); }
.sav__text { padding: 1.1rem 0.4rem 0; }
.sav__row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.sav__price { font-size: 1.4rem; font-weight: 700; font-stretch: 85%; color: #8A5A3F; }
.sav__text .star-tag { margin-top: 0.3rem; color: #8A5F1E; }
.sav__text h3 { font-size: 1.7rem; font-weight: 740; font-stretch: 85%; line-height: 1.1; letter-spacing: -0.01em; }
.sav__text p { margin-top: 0.4rem; max-width: 34ch; color: var(--on-light-muted); }
.sav__text .btn { margin-top: 1rem; }

/* 6. Offers: text-only cards (the loyalty offer lives here and nowhere else) --- */
.offer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.offer { display: flex; flex-direction: column; align-items: flex-start; padding: 1.75rem 1.7rem 1.6rem; border-radius: 32px; }
.offer:nth-child(2) { border-radius: 32px 32px 12px 32px; }
.offer__tag { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-muted); }
.offer__deal { margin-top: 0.7rem; font-size: clamp(2.6rem, 4.4vw, 3.8rem); font-weight: 800; font-stretch: 76%; line-height: 0.95; letter-spacing: -0.015em; color: var(--caramel); }
.offer__text { margin-top: 0.7rem; margin-bottom: 1.25rem; font-size: 1.15rem; line-height: 1.4; max-width: 28ch; }
.offer .btn { margin-top: auto; }
.offer--loyalty { background: linear-gradient(145deg, rgba(201, 160, 97, 0.28), rgba(27, 15, 10, 0.5)); }
.offer--loyalty .offer__deal { color: #FFD58A; }

/* 7. Counter photos: captions sit under the pictures --------------------- */
.counter__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.counter__copy p { margin-top: 1.25rem; max-width: 38ch; font-size: 1.15rem; color: var(--on-dark-muted); }
.counter__copy .btn { margin-top: 2rem; }
.collage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1rem; align-items: start; }
.collage figure { margin: 0; }
.collage img { width: 100%; object-fit: cover; object-position: center; }
.collage figcaption { margin-top: 0.6rem; font-size: 0.98rem; font-weight: 550; color: var(--on-dark-muted); }
.collage__a { grid-column: 1 / -1; }
.collage__a img { aspect-ratio: 16 / 9; border-radius: 36px 36px 36px 12px; }
.collage__b img, .collage__c img { aspect-ratio: 4 / 3; border-radius: 24px; }
.collage__c img { border-radius: 12px 28px 28px 28px; }

/* 8. Visit --------------------------------------------------------------- */
.visit__panel { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(1.5rem, 4vw, 3.5rem); padding: clamp(1.5rem, 4vw, 3rem); border-radius: 48px 48px 48px 14px; }
.visit__copy > p { margin-top: 1.1rem; max-width: 42ch; font-size: 1.1rem; color: var(--on-dark-muted); }
.facts { margin-top: 1.75rem; }
.facts > div { display: grid; grid-template-columns: 8rem 1fr; gap: 1rem; padding: 0.85rem 0; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.facts > div:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
.facts dt { font-weight: 600; color: var(--on-dark-muted); }
.facts dd { font-weight: 550; overflow-wrap: anywhere; }
.hours { display: grid; gap: 0.3rem; max-width: 22rem; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; }
.hours li span:first-child { color: var(--on-dark-muted); }
.facts a { text-decoration-color: var(--caramel); text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
.visit__actions { display: grid; align-content: center; gap: 0.85rem; padding: clamp(1.25rem, 3vw, 2rem); border-radius: 32px; background: rgba(27, 15, 10, 0.4); border: 1px solid rgba(255, 255, 255, 0.14); }
.visit__actions h3 { margin-bottom: 0.4rem; font-size: 1.7rem; font-weight: 750; font-stretch: 82%; line-height: 1.1; }

/* 9. Responsive --------------------------------------------------------- */
@media (max-width: 1050px) {
  .sig__grid { grid-template-columns: repeat(2, 1fr); }
  .card--xl { grid-column: span 2; grid-row: auto; }
  .card--xl .card__photo { flex: none; min-height: 0; aspect-ratio: 16 / 10; }
  .offer-grid { grid-template-columns: 1fr; }
  .counter__grid, .visit__panel { grid-template-columns: 1fr; }
}
@media (max-width: 920px) {
  .hero { padding-top: 6rem; }
  .hero__inner { grid-template-columns: 1fr; padding-block: 1rem 2rem; }
  .hero__cards { justify-self: start; width: min(100%, 21rem); margin-top: 0.5rem; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .sav__grid { grid-template-columns: 1fr; }
  .sav__item:nth-child(2) { margin-top: 0; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .hero__title { font-size: clamp(3.8rem, 21vw, 5.5rem); }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__actions .textlink { margin-inline: auto; }
  .sig__grid { grid-template-columns: 1fr; }
  .card--xl { grid-column: auto; }
  .card--xl .card__photo { aspect-ratio: 4 / 3; }
  .facts > div { grid-template-columns: 1fr; gap: 0.1rem; }
  .rail-controls { display: none; }
}

/* 10. Reduced motion ----------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .hero__title .line > span { animation: none; transform: none; }
  .hero__lede, .hero__actions, .hero__cards { animation: none; opacity: 1; }
  .live-dot { animation: none; }
  .sav__photo img { transition: none; }
}

/* ==========================================================================
   What is a Torlado? (about), coffee teaser, happy hour, order links
   ========================================================================== */
.about { background: var(--crumb); }
.about .eyebrow { color: #8A5A3F; }
.about__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about h2 { margin-top: 0.5rem; font-weight: 780; font-stretch: 78%; font-size: clamp(2.5rem, 5.6vw, 4.6rem); line-height: 0.98; letter-spacing: -0.018em; text-wrap: balance; }
.about__copy p { margin-top: 1rem; max-width: 46ch; font-size: 1.1rem; color: var(--on-light-muted); }
.about__copy .about__lede { margin-top: 1.4rem; font-size: 1.25rem; line-height: 1.5; color: var(--on-light); }
.about__tags { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.about__tags li { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.45rem 0.95rem; border-radius: 999px; background: rgba(56, 35, 28, 0.08); font-weight: 600; color: var(--roast); }
.about__tags .icon { width: 1.1rem; height: 1.1rem; color: #8A5A3F; }
.about__photos { position: relative; padding: 0 2rem 2.75rem 0; }
.about__main { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: center; border-radius: 36px 36px 36px 10px; box-shadow: 0 30px 70px rgba(56, 35, 28, 0.28); }
.about__side { position: absolute; right: 0; bottom: 0; width: 38%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center; border-radius: 26px; border: 6px solid var(--crumb); box-shadow: 0 24px 50px rgba(56, 35, 28, 0.3); }
.about__cap { position: absolute; left: 0.2rem; bottom: 0.5rem; font-size: 0.98rem; font-weight: 600; color: #8A5A3F; }
.about__sub { margin-top: clamp(2.5rem, 5vw, 4rem); font-size: 1.6rem; font-weight: 750; font-stretch: 82%; letter-spacing: -0.01em; color: var(--roast); }
.why { margin-top: 1.1rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.why__card { padding: 1.4rem 1.3rem 1.5rem; border-radius: 26px; background: #fff; border: 1px solid rgba(56, 35, 28, 0.08); box-shadow: 0 16px 40px rgba(56, 35, 28, 0.08); }
.why__card .icon { width: 1.9rem; height: 1.9rem; color: #B07A2A; }
.why__card h3 { margin-top: 0.9rem; font-size: 1.2rem; font-weight: 720; font-stretch: 88%; line-height: 1.2; }
.why__card p { margin-top: 0.4rem; font-size: 0.98rem; line-height: 1.5; color: var(--on-light-muted); }
.ways { margin-top: 1.1rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.way { position: relative; display: flex; flex-direction: column; gap: 0.35rem; height: 100%; padding: 1.3rem 3.2rem 1.3rem 1.4rem; border-radius: 24px; background: var(--roast); color: var(--crumb); text-decoration: none; transition: transform 0.2s var(--ease), background-color 0.2s; }
.way:hover { transform: translateY(-3px); background: var(--roast-deep); }
.way strong { font-size: 1.2rem; font-weight: 720; }
.way span { font-size: 0.96rem; line-height: 1.45; color: var(--on-dark-muted); }
.way .icon { position: absolute; right: 1.2rem; top: 1.3rem; color: var(--caramel); }
.about__bulk { margin-top: clamp(2rem, 4vw, 3rem); display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.2rem; padding: 1.1rem 1.4rem; border-radius: 24px; background: rgba(56, 35, 28, 0.08); }
.about__bulk > .icon { width: 1.7rem; height: 1.7rem; color: #8A5A3F; }
.about__bulk > span { flex: 1 1 18rem; color: var(--on-light); }

.brews { background: linear-gradient(180deg, #1B0F0A, #2C1A13 60%, #1B0F0A); }
.brews__glow { position: absolute; z-index: -1; left: -10%; bottom: -12%; width: min(60vw, 760px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(201, 160, 97, 0.22), transparent 66%); filter: blur(24px); pointer-events: none; }
.brews__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 1.75rem); }
.brew { padding: 1.6rem 1.6rem 1.4rem; border-radius: 30px; }
.brew__tag { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--caramel); }
.brew h3 { margin-top: 0.5rem; font-size: 1.65rem; font-weight: 750; font-stretch: 82%; line-height: 1.1; }
.brew__list { margin-top: 1.1rem; }
.brew__list li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.6rem 0; border-top: 1px dotted rgba(255, 255, 255, 0.3); }
.brew__list li span:last-child { font-weight: 700; color: var(--caramel); }
.brew__more { margin-top: 0.9rem; font-size: 0.92rem; color: var(--on-dark-muted); }

.happy { margin-top: 1.25rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 1.5rem; padding: 1.2rem 1.6rem; border-radius: 28px; }
.happy__deal { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; font-stretch: 76%; line-height: 1; color: var(--caramel); }
.happy p { font-size: 1.15rem; }

.visit__actions .channels { margin-bottom: 0.2rem; }
.visit__ask { font-size: 0.95rem; color: var(--on-dark-muted); }
.visit__ask a { text-decoration-color: var(--caramel); text-underline-offset: 0.25em; }

@media (max-width: 1000px) {
  .about__grid { grid-template-columns: 1fr; }
  .why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ways, .brews__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .why { grid-template-columns: 1fr; }
  .about__photos { padding-right: 1rem; }
}
