/* The Wrap House — cream/peach canvas from Burgerway, mellow yellow accent. */
:root {
  --bg: #fffaf0; --bg-rgb: 255, 250, 240;
  --bg-alt: #fff1e0; --bg-card: #ffffff;
  --ink: #1b1714; --ink-dim: #4b4540; --ink-faint: #6d6660;
  --accent: #f2cf5b;        /* mellow yellow */
  --accent-hover: #e8c244;
  --accent-ink: #2a2110;    /* text on yellow, 10:1 */
  --accent-tint: rgba(242, 207, 91, .28);
  --line: rgba(27, 23, 20, .12);
  --veg: #2f8f4e; --nonveg: #b3330f;
  --radius: 18px;
  --ease: cubic-bezier(.22, .72, .2, 1);
  --pad: clamp(20px, 5vw, 80px);
  --display: "Manuale", Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 140px; }
body { margin: 0; background: var(--bg); color: var(--ink); overflow-x: hidden;
  font: 400 16px/1.55 ui-sans-serif, -apple-system, "Segoe UI", Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; letter-spacing: -.02em; line-height: 1.08; }
a { color: inherit; }
.wrap { padding: 0 var(--pad); max-width: 1320px; margin: 0 auto; }

/* ---- fade-on-scroll ---- */
.js [data-reveal] { opacity: .3; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="fade"] { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 999px; border: 1.5px solid transparent;
  background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer;
  transition: background .2s, transform .2s var(--ease), box-shadow .2s; box-shadow: 0 6px 18px -8px rgba(200, 150, 20, .6); }
.btn:hover { background: var(--accent-hover); transform: translateY(-2px); }
.btn.ghost { background: transparent; border-color: var(--ink); color: var(--ink); box-shadow: none; }
.btn.ghost:hover { background: var(--ink); color: var(--bg); }
.btn.sm { padding: 8px 16px; font-size: 13.5px; }

/* ---- header ---- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s; }
.nav.scrolled { background: rgba(var(--bg-rgb), .92); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { font-family: var(--display); font-weight: 800; font-size: 22px; text-decoration: none; letter-spacing: -.02em; }
.brand span { background: var(--accent); padding: 0 6px; border-radius: 6px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a:not(.btn) { text-decoration: none; font-weight: 600; font-size: 14.5px; color: var(--ink-dim); }
.nav-links a:not(.btn):hover { color: var(--ink); }
@media (max-width: 760px) { .nav-links a:not(.btn) { display: none; } }

/* ---- hero ---- */
.hero { position: relative; padding: 96px 0 0; overflow: hidden;
  background: radial-gradient(110% 70% at 90% 0%, var(--accent-tint), transparent 62%), linear-gradient(180deg, var(--bg-alt), var(--bg) 92%); }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; will-change: transform, opacity; }
.hero-copy { max-width: 40rem; }
.eyebrow { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--accent-tint); font-size: 12.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.hero h1 { font-size: clamp(30px, 9vw, 72px); margin: 18px 0 16px; }
.hero h1 em { font-style: normal; background: linear-gradient(transparent 62%, var(--accent) 62% 92%, transparent 92%); }
.lede { margin: 0 0 26px; font-size: clamp(16px, 2.2vw, 19px); color: var(--ink-dim); line-height: 1.6; text-wrap: pretty; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-cta .btn { flex: 1 1 160px; justify-content: center; }
.hero-photo { margin: 0; position: relative; border-radius: 26px; overflow: hidden; box-shadow: 0 30px 60px -34px rgba(90, 60, 0, .55); border: 1px solid var(--line); }
.hero-photo img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.hero-photo figcaption { position: absolute; left: 12px; bottom: 12px; padding: 7px 14px; border-radius: 999px; background: rgba(var(--bg-rgb), .94); font-size: 13px; font-weight: 600; box-shadow: 0 6px 16px -8px rgba(0,0,0,.4); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 36px 0 0; padding: 18px 0 40px; }
.facts div { padding: 0 12px; border-left: 1px solid var(--line); }
.facts div:first-child { padding-left: 0; border-left: 0; }
.facts dt { font-size: 12px; font-weight: 600; color: var(--ink-faint); letter-spacing: .02em; }
.facts dd { margin: 4px 0 0; font: 800 clamp(18px, 4.6vw, 28px)/1.15 var(--display); }
.facts dd small { display: block; font: 500 12px/1.3 ui-sans-serif, system-ui, sans-serif; color: var(--ink-faint); margin-top: 3px; }
@media (min-width: 900px) {
  .hero { padding-top: 110px; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 56px; min-height: min(78svh, 700px); }
  .hero h1 { font-size: clamp(40px, 4.6vw, 68px); }
  .hero-photo { border-radius: 32px; }
  .hero-cta .btn { flex: 0 0 auto; }
  .facts { max-width: 640px; }
}
@media (max-width: 899px) { .hero-photo { order: -1; } .hero-photo img { aspect-ratio: 4 / 3.4; object-position: center 30%; } }
/* story */
.story .sec-head { margin-bottom: 18px; } .story .sec-head h2 { margin-top: 14px; }
.story-body { max-width: 62ch; }
.story-body p { margin: 0 0 16px; color: var(--ink-dim); font-size: clamp(16.5px, 2vw, 18.5px); line-height: 1.7; }

/* ---- sections ---- */
section { padding: clamp(44px, 6.5vw, 84px) 0; position: relative; }
.alt { background: var(--bg-alt); }
/* soft top/bottom fade so alt sections melt into the cream page */
.alt::before, .alt::after { content: ""; position: absolute; left: 0; right: 0; height: 56px; pointer-events: none; }
.alt::before { top: 0; background: linear-gradient(var(--bg), transparent); }
.alt::after { bottom: 0; background: linear-gradient(transparent, var(--bg)); }
.alt > .wrap { position: relative; z-index: 1; }
.sec-head { max-width: 62ch; margin-bottom: 28px; }
.sec-head h2 { font-size: clamp(32px, 5vw, 56px); }
.sec-head p { color: var(--ink-dim); font-size: 18px; margin: 14px 0 0; }

/* ---- menu ---- */
.tabs { position: sticky; top: 68px; z-index: 20; display: flex; gap: 8px; overflow-x: auto; padding: 12px var(--pad); margin: 0 calc(var(--pad) * -1) 24px;
  background: rgba(var(--bg-rgb), .97); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line), 0 14px 22px -18px rgba(70, 45, 0, .45); scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 40px), transparent); }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--bg-card); font: 600 14px inherit; font-family: inherit; color: var(--ink-dim); cursor: pointer; text-decoration: none; transition: .2s; }
.tab:hover { border-color: var(--ink); color: var(--ink); }
.tab.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.cat { margin-bottom: 40px; } .cat:last-child { margin-bottom: 8px; }
.cat h3 { font-size: clamp(26px, 3.4vw, 38px); }
.cat > p { margin: 6px 0 22px; color: var(--ink-faint); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(290px, 100%), 1fr)); gap: 18px; }
.card { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 10px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .2s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px -22px rgba(120, 80, 0, .45); border-color: var(--accent); }
.card { padding-top: 0; overflow: hidden; }
.card .ph { margin: 0 -22px 6px; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-alt); position: relative; }
.card .ph::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(transparent, rgba(255,255,255,.9)); pointer-events: none; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease), opacity .6s; }
.card:hover .ph img { transform: scale(1.06); }
.card h4 { margin: 0; font: 700 19px/1.25 var(--display); letter-spacing: -.01em; }
.card .d { margin: 0; color: var(--ink-dim); font-size: 14.5px; flex: 1; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; }
.price { font: 800 22px var(--display); }
.price i { font-style: normal; font-size: .7em; color: var(--ink-faint); margin-right: 2px; }
.dot { flex: none; width: 15px; height: 15px; border: 1.5px solid var(--nonveg); border-radius: 3px; display: inline-grid; place-items: center; margin-right: 8px; translate: 0 2px; }
.dot::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--nonveg); }
.dot.v { border-color: var(--veg); } .dot.v::after { background: var(--veg); }
.note { font-size: 13.5px; color: var(--ink-faint); margin-top: 8px; }

/* ---- order / visit ---- */
.order-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.ocard { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.ocard h3 { font-size: 28px; } .ocard p { margin: 0; color: var(--ink-dim); flex: 1; }
.ocard.soon { opacity: .6; } .ocard.soon .btn { pointer-events: none; opacity: .5; }
.visit h3 { font-size: 22px; margin-bottom: 8px; } .visit p { margin: 0 0 6px; color: var(--ink-dim); }
.visit a { font-weight: 600; }
.hours { border-collapse: collapse; color: var(--ink-dim); }
.hours td { padding: 3px 18px 3px 0; } .hours td:first-child { font-weight: 600; color: var(--ink); }
footer { padding: 36px 0 48px; border-top: 1px solid var(--line); color: var(--ink-faint); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

.btn { white-space: nowrap; }
@media (max-width: 440px) { .hero-cta .btn { flex: 1 1 100%; } }

/* accessibility */
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: var(--bg); font-weight: 600; transition: top .2s; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.btn:focus-visible { outline-offset: 4px; border-radius: 999px; }
.tab:focus-visible { border-radius: 999px; }


/* ---- text wrapping: whole phrases stay together, no stray one-word lines ---- */
h1, h2, h3, h4 { text-wrap: balance; }
p, li, dd, dt, td, figcaption, .d, .lede { text-wrap: pretty; }
.btn, .tab, .chip, .price, .eyebrow, .hours td, .facts dt { white-space: nowrap; }
.hours td:first-child { padding-right: 18px; }
.card h4 { overflow-wrap: break-word; hyphens: manual; }
.facts dd small { white-space: normal; }
/* keep short fact labels on one line: shorten via layout, never by squeezing */
.facts dt { overflow: hidden; text-overflow: ellipsis; }

/* ---- brand logos (monochrome SVG masks, brand-coloured) ---- */
.logo { display: inline-block; flex: none; background: var(--c, currentColor); vertical-align: middle;
  -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; width: 24px; height: 24px; }
.logo.zomato { --c: #e23744; --m: url(img/logos/zomato.svg?v=2); width: 84px; height: 18px; }
.logo.swiggy { --c: #fc8019; --m: url(img/logos/swiggy.svg?v=2); width: 16px; height: 24px; }
.logo.instagram { --c: #c13584; --m: url(img/logos/instagram.svg); }
.logo.google { --c: #4285f4; --m: url(img/logos/google.svg); }
.logo.sm { width: 14px; height: 20px; } .logo.zomato.sm { width: 66px; height: 14px; }
.btn .logo { margin: 0 -2px 0 -2px; } .btn span + .logo, .btn .logo + span { margin-left: 2px; }
.btn { gap: 7px; }
.btn.ghost:hover .logo { --c: currentColor; }

.tile { display: grid; place-items: center; min-width: 56px; height: 56px; padding: 0 16px; border-radius: 16px; background: var(--bg-alt); border: 1px solid var(--line); }
.tile .logo.zomato { width: 94px; height: 20px; } .tile .logo.swiggy { width: 20px; height: 30px; }
.ocard { align-items: flex-start; } .ocard h3 { margin-top: 2px; }

.link { font-weight: 600; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.link:hover { text-decoration-color: var(--ink); }
.social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--bg-card); font-weight: 600; font-size: 14.5px; text-decoration: none; transition: border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.chip:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 10px 22px -14px rgba(120, 80, 0, .5); }
.chip .logo { width: 20px; height: 20px; }
.social.small { gap: 6px; } .social.small a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; transition: background .2s; }
.social.small a:hover { background: var(--accent-tint); }
.social.small .logo { width: 20px; height: 20px; } .social.small .logo.swiggy { width: 14px; height: 20px; } .social.small .logo.zomato { width: 38px; height: 8px; }
.foot { align-items: center; }

/* visit: info + map */
.visit { display: grid; grid-template-columns: 1fr; gap: 32px; }
.visit-info { display: grid; gap: 28px; align-content: start; }
.visit > * { min-width: 0; }
.map { width: 100%; height: 340px; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-alt); box-shadow: 0 24px 50px -36px rgba(90, 60, 0, .5); }
.map iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (min-width: 900px) { .visit { grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: stretch; } .map { height: auto; min-height: 460px; } }
.nw { white-space: nowrap; }
.hero h1 { text-wrap: wrap; }

@media (max-width: 560px) {
  .facts { grid-template-columns: 1fr; padding-bottom: 32px; }
  .facts div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 12px 0; border-left: 0; border-top: 1px solid var(--line); }
  .facts div:first-child { border-top: 0; padding-left: 0; }
  .facts dd { text-align: right; font-size: 20px; }
  .facts dd small { display: block; }
}

/* ---- variant B: banner photo faded behind the hero text (served at /b) ---- */
.hb .hero { isolation: isolate; padding-bottom: 8px; }
.hb .hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(255,250,240,0) 120px, var(--bg) 370px),
    linear-gradient(180deg, rgba(246,230,196,.45), rgba(246,230,196,.6) 180px, rgba(246,230,196,.45) 370px, rgba(246,230,196,0) 370px),
    url(img/storefront.jpg) center top / 100% auto no-repeat var(--bg); }
.hb .hero-photo { display: none; }
.hb .hero-grid { grid-template-columns: 1fr; min-height: min(72svh, 640px); align-content: center; }
.hb .hero-copy { max-width: 44rem; }
.hb .facts { background: rgba(255,255,255,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hb .hero-copy .lede { color: var(--ink); }
.hb .hero h1, .hb .hero .lede { text-shadow: 0 0 18px rgba(255,246,225,.6); }
.hb .nav { display: none; }
.hb .hero { padding-top: 0; }
@media (max-width: 899px) { .hb .hero-grid { padding-top: 130px; min-height: 0; } }
@media (min-width: 900px) {
  .hb .hero::before { background:
    linear-gradient(180deg, rgba(255,250,240,0) 82%, var(--bg) 100%),
    linear-gradient(90deg, var(--bg) 0%, var(--bg) 41%, rgba(250,236,205,.55) 54%, rgba(246,230,196,.18) 76%, rgba(246,230,196,0) 100%),
    url(img/storefront.jpg) right top / auto 100% no-repeat var(--bg); }
}

/* ---- tighter rhythm: two-column story on wide screens; menu tabs pin under the nav ---- */
@media (min-width: 900px) {
  .story { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
  .story .sec-head { margin-bottom: 0; } .story-body { max-width: none; } .story-body p:last-child { margin-bottom: 0; }
}
.facts { padding-bottom: 8px; }
.hb .tabs { top: 0; }
.hb { scroll-padding-top: 90px; }
#menu { padding-top: clamp(16px, 2.5vw, 36px); } #story { padding-bottom: clamp(24px, 3.5vw, 44px); }
