/* Haven by People: the Tiled Oven.
   Every colour is taken from Haven's own wood-fired oven: bottle-green glaze tiles,
   cream tiles that spell HAVEN, light grout, the fire, and the soot of the oven mouth. */
:root {
  --glaze: #1d4a2d;
  --glaze-2: #24573a;
  --glaze-3: #163b24;
  --glaze-deep: #11301d;
  --tile: #ede4cf;
  --tile-2: #e2d7bd;
  --grout: #9a947f;
  --fire: #e8743b;
  --fire-deep: #c95a24;
  --soot: #0d140f;
  --wall: #d5b983;
  --wall-deep: #c4a46a;
  --ink: #3a240f;
  --ink-soft: #6a4e33;
  --fire-ink: #a8481c;
  --text: var(--ink);
  --text-soft: var(--ink-soft);
  --rule: rgba(58, 36, 15, 0.2);
  --rule-light: rgba(237, 228, 207, 0.28);
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(1rem, 4vw, 3.5rem);
  --max: 1400px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: var(--ink-soft) var(--wall); }
body {
  margin: 0;
  background: var(--wall) url(/assets/tex/limewash-sand.webp) repeat;
  background-size: 1400px 1400px;
  color: var(--text);
  font-family: var(--sans);
  font-weight: 400;
  font-variation-settings: "wdth" 100;
  font-size: clamp(1rem, .95rem + .25vw, 1.125rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  caret-color: var(--fire);
}
::selection { background: var(--fire); color: var(--soot); }
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration-color: var(--fire); text-decoration-thickness: 2px; text-underline-offset: .22em; }
a:hover { color: var(--fire-ink); text-decoration-color: var(--fire-ink); }
:focus-visible { outline: 3px solid var(--fire); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--ink); color: var(--wall); padding: .6rem 1rem; z-index: 100; font-weight: 600; }
.skip:focus { top: 1rem; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* type: Archivo, widened for signage, normal for reading */
h1, h2, h3 { margin: 0; font-weight: 560; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(1.7rem, 1.2rem + 1.7vw, 2.75rem); line-height: 1.06; letter-spacing: -0.02em; font-variation-settings: "wdth" 104; font-weight: 560; }
h2 { font-size: clamp(2rem, 1.2rem + 3.2vw, 4.2rem); line-height: 1; letter-spacing: -0.025em; font-variation-settings: "wdth" 104; font-weight: 480; }
h3 { font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; font-variation-settings: "wdth" 120; font-weight: 700; }
p { margin: 0 0 1rem; max-width: 62ch; }
.lede { font-size: clamp(1.06rem, 1rem + .4vw, 1.3rem); color: var(--text-soft); }
.soft { color: var(--text-soft); }

/* tile buttons: square, glazed, never pills */
.tilebtn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 52px; padding: .85rem 1.4rem;
  font: 560 .92rem/1 var(--sans); font-variation-settings: "wdth" 108; letter-spacing: .04em;
  text-decoration: none; color: var(--wall); background: var(--ink);
  border-radius: 12px; border: 0;
  box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .45);
  transition: background .3s var(--ease-out), transform .3s var(--ease-out), color .3s var(--ease-out);
}
.tilebtn:hover { background: #24160a; color: var(--wall); transform: translateY(-1px); }
.tilebtn--fire { background: var(--fire); color: var(--soot); }
.tilebtn--fire:hover { background: #f48a52; color: var(--soot); }
.tilebtn--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.tilebtn--line:hover { background: rgba(58, 36, 15, .06); color: var(--ink); box-shadow: inset 0 0 0 2px var(--fire-ink); }
.tilebtn svg { width: 18px; height: 18px; flex: none; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(213, 185, 131, .94); backdrop-filter: blur(8px); transition: box-shadow .3s; }
.site-header.is-solid { box-shadow: 0 1px 0 var(--rule), 0 10px 30px rgba(0, 0, 0, .18); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 1rem; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav a:not(.tilebtn) { text-decoration: none; font-weight: 500; font-size: .95rem; font-variation-settings: "wdth" 112; }
.nav a:not(.tilebtn):hover { color: var(--fire-ink); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--fire); }
.nav .tilebtn { min-height: 44px; padding: .65rem 1.1rem; }
@media (max-width: 760px) {
  .nav a:not(.tilebtn), .nav .tilebtn { display: none; }
  .site-header .wrap { height: 62px; }
  .brand img { height: 32px; }
}

/* the mosaic: SVG tiles, cream letters on green glaze */
.mosaic { width: 100%; height: auto; background: var(--grout); border-radius: 2px; }
.mosaic .t { fill: var(--glaze); }
.mosaic .t.g2 { fill: var(--glaze-2); }
.mosaic .t.g3 { fill: var(--glaze-3); }
.mosaic .t.on { fill: var(--tile); }
.mosaic .t.g4 { fill: #1a4429; }
.mosaic .t.on.c2 { fill: var(--tile-2); }
.mosaic .t.on.c3 { fill: #f3ecda; }
@media (prefers-reduced-motion: no-preference) {
  .js .mosaic.lay .t.on { animation: lay 1.4s var(--ease-out) backwards; animation-delay: var(--d, 0s); }
}
@keyframes lay {
  0%, 35% { fill: var(--fire); }
  100% { fill: var(--tile); }
}
.mosaic .t { transform-box: fill-box; transform-origin: center; }

/* hero = the oven face */
.hero { padding: clamp(1rem, 2.5vw, 2rem) 0 0; }
.hero-band { position: relative; }
.hero-body {
  display: grid; grid-template-columns: 1.25fr .8fr 1fr; gap: clamp(1.25rem, 3vw, 3rem);
  align-items: start; padding: clamp(1.25rem, 2.2vw, 2rem) 0 clamp(1.5rem, 2.5vw, 2.25rem);
}
.hero-body .lede { margin: 1.1rem 0 1.6rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.mouth {
  position: relative; margin: 0 auto; width: 100%; max-width: 340px; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: 999px 999px 4px 4px; background: var(--soot);
  box-shadow: 0 0 0 10px var(--tile), 0 0 0 12px var(--grout), 0 24px 50px rgba(0, 0, 0, .35);
}
.mouth video, .mouth img { width: 100%; height: 100%; object-fit: cover; }
.today { border-top: 2px solid var(--rule); padding-top: 1.1rem; }
.status { display: flex; align-items: center; gap: .6rem; font-weight: 500; font-variation-settings: "wdth" 112; font-size: 1.05rem; margin-bottom: .9rem; }
.status .dot { width: 12px; height: 12px; border-radius: 2px; background: var(--text-soft); flex: none; }
.status.is-open .dot { background: var(--glaze); }
.status.is-closed .dot { background: var(--fire); }
.status.status--phone { display: none; }
@media (max-width: 640px) { .status.status--phone { display: flex; margin: .9rem 0 0; } .status.status--wide { display: none; } }
.today dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .45rem 1rem; font-size: .98rem; }
.today dt { color: var(--text-soft); }
.today dd { margin: 0; }
.today a { text-decoration: none; border-bottom: 2px solid var(--fire); }
@media (max-width: 980px) {
  .hero-body { grid-template-columns: 1fr 1fr; }
  .hero-body .mouth { grid-column: 2; grid-row: 1 / span 2; }
  .hero-body .today { grid-column: 1; }
}
@media (max-width: 640px) {
  .hero-body { grid-template-columns: 1fr; }
  .hero-body .mouth { grid-column: 1; grid-row: auto; max-width: 340px; width: 78%; margin: .5rem auto 0; }
  .hero-body .today { grid-column: 1; }
}

/* the checker band from the oven's base */
.checker {
  height: 48px;
  background:
    linear-gradient(var(--grout) 0 0) 0 50% / 100% 2px no-repeat,
    repeating-linear-gradient(90deg, transparent 0 22px, var(--grout) 22px 24px),
    conic-gradient(from 90deg, var(--tile) 25%, var(--glaze-2) 0 50%, var(--tile) 0 75%, var(--glaze-2) 0) 0 0 / 48px 48px;
  border-top: 2px solid var(--grout); border-bottom: 2px solid var(--grout);
}
.checker--thin { height: 24px; background-size: 100% 2px, auto, 24px 24px; background-position: 0 50%, 0 0, 0 0; }

/* chapters */
.chapter { padding: clamp(4rem, 9vw, 8rem) 0; }
.chapter + .chapter { padding-top: 0; }
.pair { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1.25rem, 3vw, 3rem); align-items: center; }
.pair .photo { grid-column: 1 / span 6; }
.pair .words { grid-column: 8 / span 5; }
.pair.rev .photo { grid-column: 7 / span 6; order: 2; }
.pair.rev .words { grid-column: 1 / span 5; order: 1; }
.photo { position: relative; margin: 0; }
.photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px 22px 22px; }
.photo .tall { aspect-ratio: 4 / 5; }
.photo .pin {
  position: absolute; left: 1rem; bottom: 1rem; background: var(--soot); color: var(--tile);
  padding: .45rem .7rem; font-size: .82rem; font-weight: 600; font-variation-settings: "wdth" 112; border-radius: 2px;
}
.words h2 { margin-bottom: 1.4rem; }
.words .lede { margin-bottom: 1.8rem; }
@media (max-width: 900px) {
  .pair .photo, .pair .words, .pair.rev .photo, .pair.rev .words { grid-column: 1 / -1; order: initial; }
}

/* price lines */
.lines { list-style: none; margin: 0 0 1.75rem; padding: 0; }
.line { padding: .8rem 0; border-bottom: 1px solid var(--rule); }
.line-top { display: flex; align-items: baseline; gap: .6rem; }
.line-name { font-weight: 500; font-size: 1.08rem; font-variation-settings: "wdth" 106; }
.line-dots { flex: 1; min-width: 1rem; border-bottom: 2px dotted rgba(58, 36, 15, .35); transform: translateY(-.28rem); }
.line-price { font-weight: 500; font-variant-numeric: tabular-nums; color: var(--ink); }
.line-price::before { content: "₹"; font-weight: 500; margin-right: .1em; color: var(--text-soft); }
.line-desc { margin: .25rem 0 0; font-size: .92rem; color: var(--text-soft); max-width: 46ch; }
.lines.tight .line { padding: .6rem 0; }

/* the room */
.room-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(.6rem, 1.2vw, 1rem); margin-top: clamp(2rem, 4vw, 3.5rem); }
.room-grid figure { margin: 0; overflow: hidden; border-radius: 22px; }
.room-grid .r2, .room-grid .r3 { border-radius: 999px 999px 22px 22px; }
.room-grid img { width: 100%; height: 100%; object-fit: cover; }
.r1 { grid-column: 1 / span 6; grid-row: span 2; }
.r2 { grid-column: 7 / span 3; }
.r3 { grid-column: 10 / span 3; }
.r4 { grid-column: 7 / span 6; aspect-ratio: 2 / 1; }
.r2, .r3 { aspect-ratio: 4 / 5; }
.room-head { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1.25rem, 3vw, 3rem); align-items: end; }
.room-head h2 { grid-column: 1 / span 6; }
.room-head p { grid-column: 8 / span 5; margin: 0; }
@media (max-width: 900px) {
  .room-head h2, .room-head p { grid-column: 1 / -1; }
  .r1 { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 5; }
  .r2 { grid-column: 1 / span 6; } .r3 { grid-column: 7 / span 6; } .r4 { grid-column: 1 / -1; }
}
.amenities { list-style: none; padding: 0; margin: clamp(2rem, 4vw, 3rem) 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.amenities { gap: .4rem 0; }
.amenities li { display: inline-flex; align-items: center; font-weight: 450; font-size: 1rem; font-variation-settings: "wdth" 110; }
.amenities li + li::before { content: ""; width: 9px; height: 9px; margin: 0 .9rem; border-radius: 1px; background: var(--fire); }

/* guests */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 3vw, 3rem); margin-top: clamp(2rem, 4vw, 3rem); }
.quote { margin: 0; padding-top: 1.25rem; border-top: 2px solid var(--ink); }
.quote blockquote { margin: 0; }
.quote p { text-indent: -.42em; }
.quote p { font-size: clamp(1.2rem, 1rem + .7vw, 1.55rem); line-height: 1.4; font-weight: 300; font-style: italic; color: var(--ink); }
.quote cite { font-style: normal; font-size: .88rem; color: var(--text-soft); }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }

/* visit */
.visit { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: stretch; }
.hours-type { font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.6rem); line-height: 1.1; font-weight: 400; font-variation-settings: "wdth" 115; letter-spacing: -0.02em; color: var(--ink); margin: 1.25rem 0 2rem; max-width: 16ch; }
.facts { display: grid; gap: 1.5rem; margin: 0 0 2rem; }
.fact h3 { color: var(--text-soft); margin-bottom: .2rem; font-size: 1rem; font-weight: 500; text-transform: none; letter-spacing: 0; font-variation-settings: "wdth" 100; }
.fact p, .fact address { font-style: normal; font-size: 1.15rem; font-weight: 600; font-variation-settings: "wdth" 104; margin: 0; }
.fact a { text-decoration: none; border-bottom: 2px solid var(--fire); }
.visit-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.map { border-radius: 22px; overflow: hidden; min-height: 460px; background: var(--wall-deep); box-shadow: 0 0 0 2px var(--rule); }
.map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; filter: saturate(.7) contrast(1.05); }
.also { margin-top: 1.5rem; color: var(--text-soft); font-size: .95rem; }
@media (max-width: 900px) { .visit { grid-template-columns: 1fr; } .map, .map iframe { min-height: 340px; } }

/* faq */
.faq { max-width: 900px; margin-top: clamp(1.5rem, 3vw, 2.5rem); border-top: 2px solid var(--rule); }
.faq details { border-bottom: 2px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; position: relative; padding: 1.3rem 3rem 1.3rem 0;
  font-weight: 450; font-size: clamp(1.08rem, 1rem + .4vw, 1.3rem); font-variation-settings: "wdth" 102;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: .2rem; top: 50%; width: 18px; height: 18px; margin-top: -9px;
  background: linear-gradient(var(--fire) 0 0) center / 100% 3px no-repeat, linear-gradient(var(--fire) 0 0) center / 3px 100% no-repeat;
  transition: transform .35s var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--fire-ink); }
.faq .answer { padding: 0 0 1.4rem; color: var(--text-soft); }

/* footer */
.site-footer { padding: clamp(3rem, 6vw, 5rem) 0 1.5rem; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; font-size: .95rem; }
.foot-grid h3 { margin-bottom: .6rem; color: var(--ink); font-size: 1rem; font-weight: 700; text-transform: none; letter-spacing: 0; font-variation-settings: "wdth" 112; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { color: var(--fire-ink); }
.foot-logo { margin-top: 2.5rem; }
.foot-logo img { width: 200px; height: auto; }
.legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; font-size: .85rem; color: var(--text-soft); }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

/* thumb bar on phones */
.actionbar { display: none; }
@media (max-width: 760px) {
  .actionbar {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--grout); padding-top: 2px; padding-bottom: env(safe-area-inset-bottom);
  }
  .actionbar a { background: var(--ink); color: var(--wall); text-align: center; text-decoration: none; padding: 1rem .25rem; font-weight: 700; font-size: .9rem; font-variation-settings: "wdth" 112; }
  .actionbar a:last-child { background: var(--fire); color: var(--soot); }
  body { padding-bottom: 58px; }
}

/* menu page */
.menu-top { padding: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(1.5rem, 3vw, 2.5rem); }
.menu-top .mosaic { max-width: 560px; }
.menu-intro { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; flex-wrap: wrap; margin-top: 1.5rem; }
.menu-tabs { position: sticky; top: 72px; z-index: 40; background: rgba(213, 185, 131, .96); backdrop-filter: blur(8px); border-top: 2px solid var(--rule); border-bottom: 2px solid var(--rule); }
.menu-tabs .wrap { display: flex; gap: .4rem; overflow-x: auto; padding-top: .7rem; padding-bottom: .7rem; scrollbar-width: none; }
.menu-tabs .wrap::-webkit-scrollbar { display: none; }
.chip {
  flex: none; text-decoration: none; padding: .5rem .9rem; border-radius: 10px; white-space: nowrap;
  font-weight: 650; font-size: .88rem; font-variation-settings: "wdth" 108; box-shadow: inset 0 0 0 2px var(--rule);
}
.chip:hover { box-shadow: inset 0 0 0 2px var(--ink); color: var(--ink); }
.chip.is-active { background: var(--ink); color: var(--wall); box-shadow: none; }
@media (max-width: 760px) { .menu-tabs { top: 62px; } }
.menu-group { padding: clamp(2.5rem, 5vw, 4rem) 0 0; }
.menu-group > .wrap > h2 { margin-bottom: 2rem; }
.menu-cols { columns: 2 360px; column-gap: clamp(2rem, 6vw, 5.5rem); }
.menu-sec { break-inside: avoid; margin: 0 0 2.75rem; scroll-margin-top: 150px; }
.menu-sec h3 { display: flex; align-items: center; gap: .75rem; margin-bottom: .4rem; font-size: .95rem; color: var(--ink); }
.menu-sec h3::before { content: ""; width: 24px; height: 24px; flex: none; border-radius: 2px;
  background: conic-gradient(from 90deg, var(--tile) 25%, var(--glaze-2) 0 50%, var(--tile) 0 75%, var(--glaze-2) 0) 0 0 / 12px 12px; box-shadow: 0 0 0 2px var(--grout); }
.menu-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; padding-top: 2.5rem; padding-bottom: clamp(3rem, 6vw, 5rem); }
.menu-cta h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.6rem); }

/* entrance: content is visible by default; JS adds a single rise for chapters */
@media (prefers-reduced-motion: no-preference) {
  .js .rise { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
  .js .rise.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
