/* Chai & Chill Cafe - visual polish layer (loaded after style.css). Warm and cozy: cream paper, chai orange, soft shapes. */
:root {
  --gold: #f5a623;
  --doodle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260' viewBox='0 0 260 260' fill='none' stroke='%23d9600a' stroke-opacity='.085' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg transform='translate(24 28)'%3E%3Cpath d='M6 22h30v12a12 12 0 0 1-12 12h-6A12 12 0 0 1 6 34z'/%3E%3Cpath d='M36 24h4a6 6 0 0 1 0 12h-4'/%3E%3Cpath d='M14 4c-3 3 3 6 0 10M24 4c-3 3 3 6 0 10'/%3E%3C/g%3E%3Cg transform='translate(150 20)'%3E%3Cpath d='M6 28a22 16 0 0 1 44 0z'/%3E%3Cpath d='M4 34h48'/%3E%3Cpath d='M8 40h40a8 8 0 0 1-8 8H16a8 8 0 0 1-8-8z'/%3E%3C/g%3E%3Cg transform='translate(32 150)'%3E%3Cpath d='M8 24h32l-4 28H12z'/%3E%3Cpath d='M14 24V8M22 24V4M30 24V8M38 24V12'/%3E%3C/g%3E%3Cg transform='translate(160 160)'%3E%3Cpath d='M26 4l6 14 15 1-11 10 4 15-14-8-14 8 4-15L5 19l15-1z'/%3E%3C/g%3E%3Cg transform='translate(104 96)'%3E%3Cpath d='M16 28S2 20 2 11a8 8 0 0 1 14-5 8 8 0 0 1 14 5c0 9-14 17-14 17z'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---- reveal on scroll (only when JS is running) ---- */
html.js .rv { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
html.js .rv.in { opacity: 1; transform: none; }

/* ---- header ---- */
.top { box-shadow: 0 8px 24px -22px rgba(120, 60, 10, .7); }
.nav a { position: relative; border: 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; border-radius: 3px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.nav a:hover::after { transform: scaleX(1); }

/* ---- hero ---- */
.hero { position: relative; overflow: hidden; padding-block: 48px 64px;
  background:
    radial-gradient(760px 380px at 88% -4%, color-mix(in srgb, var(--orange) 20%, transparent), transparent 70%),
    radial-gradient(620px 340px at -4% 104%, color-mix(in srgb, var(--sky) 26%, transparent), transparent 70%); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: var(--doodle); background-size: 260px 260px; pointer-events: none; }
.hero > .wrap { position: relative; }
.hero h1 { font-size: clamp(40px, 6.4vw, 76px); letter-spacing: -.02em; }
.hero h1 em { position: relative; display: inline-block; }
.hero h1 em::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: .04em; height: .16em; background: color-mix(in srgb, var(--orange) 28%, transparent); border-radius: 99px; z-index: -1; }
.hero .script { font-size: clamp(24px, 3.4vw, 34px); transform: rotate(-1.5deg); transform-origin: left; margin-bottom: 6px; }
.hero .btn { padding: 14px 28px; font-size: 17px; box-shadow: 0 12px 24px -14px var(--orange-deep); }
.hero .btn.ghost { box-shadow: inset 0 0 0 2px var(--line); background: color-mix(in srgb, var(--card) 70%, transparent); }
.rate-chip { display: flex; width: fit-content; align-items: center; gap: 8px; background: var(--card); border-radius: 999px; padding: 6px 14px 6px 12px; font-weight: 800; font-size: 14.5px; text-decoration: none; box-shadow: 0 8px 20px -14px rgba(120, 60, 10, .8), inset 0 0 0 1.5px var(--line); margin-bottom: 14px; }
.rate-chip .stars, .rating-card .stars { color: var(--gold); letter-spacing: 2px; }
.rate-chip b { font-family: var(--f-display); font-size: 17px; }
.rate-chip[hidden] { display: none; }

.hero-art { padding: 14px 18px 30px 8px; }
.hero-art .photo { transform: rotate(-2.5deg); border-radius: 38px; border-width: 8px; }
.hero-art .badge { left: -4px; bottom: 6px; width: 112px; height: 112px; z-index: 3; }
.mini { position: absolute; z-index: 2; width: 34%; aspect-ratio: 1; border-radius: 26px; overflow: hidden; border: 6px solid var(--card); box-shadow: var(--shadow); background: var(--orange-wash); }
.mini img { width: 100%; height: 100%; object-fit: cover; }
.mini.m1 { right: -4px; top: -12px; transform: rotate(6deg); }
.mini.m2 { right: 6%; bottom: -6px; width: 28%; transform: rotate(-5deg); }
.sticker { position: absolute; z-index: 4; left: 8%; top: -14px; background: #2e170c; color: #fbe9cf; border-radius: 50%; width: 96px; height: 96px; display: grid; place-content: center; text-align: center; transform: rotate(-10deg); box-shadow: var(--shadow); border: 3px dashed rgba(251, 233, 207, .55); }
.sticker b { font-family: var(--f-display); font-size: 19px; line-height: 1; }
.sticker span { font-size: 11px; opacity: .85; margin-top: 3px; }

/* ---- marquee ---- */
.marquee { background: var(--orange); color: #fff; overflow: hidden; padding: 12px 0; border-block: 3px solid var(--orange-deep); }
.marquee .track { display: flex; width: max-content; gap: 22px; align-items: center; animation: slide 38s linear infinite; font-family: var(--f-display); font-weight: 700; font-size: 20px; white-space: nowrap; }
.marquee i { width: 9px; height: 9px; border-radius: 50%; background: #fff; opacity: .6; flex: none; }
.marquee:hover .track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee .track { animation: none; } }

/* ---- sections ---- */
section { padding-block: 48px; }
section.tint { background: color-mix(in srgb, var(--orange-wash) 55%, var(--bg)); border-block: 1px solid var(--line); }
.sec-head h2 { letter-spacing: -.01em; }
.sec-head .eyebrow { display: inline-flex; align-items: center; gap: 8px; }
.sec-head .eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--orange); }

/* ---- deals ---- */
.deal { background: linear-gradient(150deg, #e8691a, #c4520a); border-radius: 28px; box-shadow: 0 18px 30px -22px #7a3205; transition: transform .2s; }
.deal:hover { transform: translateY(-4px) rotate(-.4deg); }
.deal::before { content: "DEAL"; position: absolute; right: 16px; top: 14px; z-index: 2; font-size: 11px; font-weight: 800; letter-spacing: .16em; background: #fff; color: var(--orange-deep); border-radius: 99px; padding: 3px 10px; }
.deal-img { max-width: none; border-radius: 0 0 22px 22px; }

/* ---- kitchen gallery ---- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 168px; gap: 12px; }
.tile { position: relative; border: 0; padding: 0; border-radius: 24px; overflow: hidden; background: var(--orange-wash); box-shadow: 0 14px 26px -20px rgba(120, 60, 10, .9); cursor: pointer; text-align: left; }
.tile.big { grid-column: span 2; grid-row: span 2; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.tile:hover img { transform: scale(1.06); }
.tile .cap { position: absolute; inset: auto 0 0 0; padding: 36px 14px 12px; background: linear-gradient(to top, rgba(40, 14, 4, .82), transparent); color: #fff; display: flex; justify-content: space-between; align-items: end; gap: 8px; }
.tile .cap b { font-family: var(--f-display); font-size: 17px; line-height: 1.1; }
.tile.big .cap b { font-size: 24px; }
.tile .cap i { font-style: normal; font-weight: 800; background: #fff; color: var(--orange-deep); border-radius: 99px; padding: 3px 10px; font-size: 13px; white-space: nowrap; }

/* ---- menu polish ---- */
.menu-bar { box-shadow: 0 10px 18px -18px rgba(120, 60, 10, .9); }
.chip { transition: background .15s, transform .15s; }
.chip:hover { transform: translateY(-1px); }
.group > h3 { display: flex; align-items: center; gap: 12px; font-size: 30px; }
.group > h3::after { content: ""; flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); }
.cat-name { display: inline-block; background: var(--orange-wash); border-radius: 99px; padding: 3px 12px; }
.item, .pcard { transition: transform .18s, box-shadow .18s; }
.item:hover, .pcard:hover { transform: translateY(-3px); box-shadow: 0 1px 0 var(--line), 0 18px 26px -18px rgba(120, 60, 10, .8); }
.pcard .pic img { transition: transform .5s; }
.pcard:hover .pic img { transform: scale(1.05); }
.pcard .price, .item .price { background: var(--orange-wash); border-radius: 99px; padding: 1px 10px; display: inline-block; }
.item .meta .price { margin-top: 3px; }

/* ---- reviews ---- */
.rev-grid { display: grid; grid-template-columns: minmax(260px, 1fr) 2fr; gap: 18px; align-items: stretch; }
.rating-card { background: var(--card); border-radius: 30px; padding: 26px; text-align: center; box-shadow: var(--shadow); border: 2px solid var(--line); display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.rating-card .big { font-family: var(--f-display); font-weight: 800; font-size: clamp(64px, 9vw, 92px); line-height: .95; color: var(--orange); }
.rating-card .stars { font-size: 28px; }
.rating-card p { margin: 4px 0 12px; font-weight: 700; color: var(--ink-soft); }
.rating-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-content: start; }
.quote.cta { grid-column: 1 / -1; }
.quote { margin: 0; background: var(--card); border-radius: 26px; padding: 22px 22px 18px; border: 2px solid var(--line); position: relative; display: flex; flex-direction: column; gap: 10px; }
.quote::before { content: "\201C"; position: absolute; right: 18px; top: -4px; font-family: var(--f-display); font-size: 84px; color: var(--orange); opacity: .25; line-height: 1; }
.quote .stars { color: var(--gold); letter-spacing: 2px; }
.quote p { margin: 0; font-size: 16.5px; line-height: 1.5; }
.quote .who { margin-top: auto; font-weight: 800; color: var(--orange-deep); }
.quote.cta { background: #2e170c; color: #fbe9cf; border-color: transparent; justify-content: center; }
.quote.cta::before { display: none; }
.quote.cta h3 { font-size: 26px; }
.quote.cta .btn { background: #e8691a; color: #fff; align-self: flex-start; }

/* ---- about ---- */
.about { display: grid; grid-template-columns: 1.15fr 1fr; gap: 34px; align-items: center; }
.about h2 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 800; margin: 8px 0 14px; }
.about-text p { font-size: 17.5px; color: var(--ink-soft); margin: 0 0 14px; max-width: 36em; }
.about-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.about-tiles > div { background: var(--paper); border: 2px solid var(--line); border-radius: 24px; padding: 18px; display: flex; flex-direction: column; gap: 4px; }
.about-tiles .ic { width: 32px; height: 32px; color: var(--orange); margin-bottom: 4px; }
.about-tiles b { font-family: var(--f-display); font-size: 19px; }
.about-tiles span { font-size: 14px; color: var(--ink-soft); line-height: 1.4; }

/* ---- visit extras ---- */
.mapwrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 20px; margin-top: 20px; }
.hours-card { background: var(--paper); border: 2px solid var(--line); border-radius: 26px; padding: 24px; }
.hours-card h3 { font-size: 26px; margin-bottom: 12px; }
.hours-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.hours-card li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 2px dashed var(--line); font-weight: 800; }
.hours-card li:last-child { border-bottom: 0; }
.hours-card li span:last-child { color: var(--orange-deep); }
.hours-card li.today { background: var(--orange-wash); margin-inline: -12px; padding-inline: 12px; border-radius: 12px; border-color: transparent; }
.hours-card p { margin: 10px 0 0; font-size: 14px; }
.mapbox { position: relative; border-radius: 26px; overflow: hidden; border: 2px solid var(--line); min-height: 320px; background: var(--orange-wash); }
.mapbox iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-open { position: absolute; left: 12px; bottom: 12px; box-shadow: var(--shadow); }

/* ---- footer ---- */
.site-foot { background: #2e170c; color: #fbe9cf; margin-top: 20px; padding: 40px 0 120px; }
.site-foot a { color: inherit; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; align-items: start; }
.fb { display: flex; gap: 14px; align-items: center; }
.fb img { width: 56px; height: 56px; object-fit: contain; border-radius: 14px; background: #fff4e0; padding: 4px; }
.fb b { font-family: var(--f-display); font-size: 24px; display: block; line-height: 1.1; }
.fb .script { color: #ffb070; font-size: 18px; }
.fl, .fc { display: grid; gap: 8px; font-weight: 700; }
.fl a, .fc > a { text-decoration: none; opacity: .9; }
.fl a:hover, .fc > a:hover { opacity: 1; text-decoration: underline; }
.site-foot .social a { border-color: rgba(251, 233, 207, .55); }
.foot-bottom { margin-top: 28px; padding-top: 16px; border-top: 1px solid rgba(251, 233, 207, .22); font-size: 13.5px; opacity: .8; text-align: center; }

@media (max-width: 860px) {
  .rev-grid, .about, .mapwrap, .foot-grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .tile.big { grid-column: span 2; grid-row: span 1; }
  .tile.big .cap b { font-size: 20px; }
  section { padding-block: 36px; }
  .hero { padding-block: 26px 44px; }
  .hero-art { padding: 10px 6px 26px 4px; }
  .mini.m1 { right: 0; top: -14px; }
  .sticker { left: 4%; width: 84px; height: 84px; top: -16px; }
  .quotes { grid-template-columns: 1fr; }
  .mapbox { min-height: 280px; }
  .marquee .track { font-size: 17px; animation-duration: 30s; }
}

/* logo marks use multiply blending on the cream page; switch it off on dark backgrounds */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand img, :root:not([data-theme="light"]) .hero-art .badge img { mix-blend-mode: normal; }
}
