:root {
  --wine: #6B1C27;
  --wine-deep: #3F0E16;
  --night: #1E070B;
  --orange: #E36F16;
  --teak: #C08A55;
  --ink: #2A1C19;
  --ink-soft: #5C4B46;
  --paper: #FFFFFF;
  --blush: #F7EEEC;
  --measure: 34rem;
  --gutter: clamp(1rem, 4vw, 3rem);
  /* Diamond lattice, drawn from the placemat border */
  --lattice: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Cpath d='M14 2 26 14 14 26 2 14Z' fill='none' stroke='%23C08A55' stroke-opacity='.16'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Anek Malayalam", system-ui, sans-serif;
  font-variation-settings: "wdth" 100;
  font-size: 1.125rem;
  line-height: 1.55;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.wrap { max-width: 78rem; margin: 0 auto; padding: 0 var(--gutter); }

.sign {
  font-variation-settings: "wdth" 75;
  font-weight: 800;
  line-height: .9;
  letter-spacing: -.01em;
  margin: 0;
}

/* ---------- Buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .9rem 1.4rem; border-radius: 2px; border: 2px solid transparent;
  font-weight: 600; font-size: 1.05rem; text-decoration: none; cursor: pointer;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--orange { background: var(--orange); color: #fff; }
.btn--orange:hover { background: #C95F0F; }
.btn--line { border-color: rgba(255,255,255,.85); color: #fff; }
.btn--line:hover { background: rgba(255,255,255,.12); }
.btn--wine { background: var(--wine); color: #fff; }
.btn--wine:hover { background: var(--wine-deep); }

/* ---------- Top bar ---------- */
.bar {
  position: absolute; inset: 0 0 auto 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem var(--gutter);
}
.bar__logo { display: block; line-height: 0; }
.bar__logo img { width: 136px; height: auto; filter: drop-shadow(0 1px 8px rgb(0 0 0 / .45)); }
.bar nav { display: flex; gap: 1.6rem; align-items: center; }
.bar nav a { color: #fff; text-decoration: none; font-weight: 500; }
.bar nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.bar nav .bar__call { background: var(--orange); padding: .5rem 1rem; border-radius: 2px; font-weight: 600; }
.bar nav .bar__call:hover { text-decoration: none; background: #C95F0F; }

/* ---------- Hero: full-screen film ---------- */
.hero {
  position: relative; min-height: max(100svh, 560px);
  display: flex; align-items: flex-end;
  background: var(--night); color: #fff; overflow: hidden;
}
/* Three upright phone clips side by side; on phones only the middle one plays */
.hero__films {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; background: var(--night);
}
.hero__films video { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(rgba(30,7,11,.6), transparent 22%),
    linear-gradient(transparent 35%, rgba(30,7,11,.55) 60%, rgba(30,7,11,.94));
}
.hero__text { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(2.5rem, 7vh, 5rem); }
.hero h1 { font-size: clamp(3.4rem, 8.6vw, 9.2rem); max-width: 13ch; }
.hero__foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end;
  gap: 1.5rem 3rem; margin-top: 1.8rem;
}
.hero__foot p { max-width: 30rem; margin: 0; color: #F3DEDB; font-size: 1.2rem; }

/* ---------- Section rhythm ---------- */
.block { padding: clamp(4.5rem, 10vw, 8rem) 0; }
.block h2 { font-size: clamp(2.6rem, 6vw, 5.2rem); color: var(--wine); }
.lede { max-width: var(--measure); color: var(--ink-soft); margin: 0; }

/* ---------- Services: two photo panels ---------- */
.svc__head { display: grid; grid-template-columns: 1fr minmax(16rem, 28rem); gap: 1.5rem var(--gutter); align-items: end; }
.svc__head h2 { max-width: 13ch; }
.svc__panels { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.5vw, 2rem); margin-top: 3.5rem; }
.panel__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--night); }
.panel__img img { width: 100%; height: 100%; object-fit: cover; }
.panel__img h3 {
  position: absolute; left: 0; bottom: 0; margin: 0; padding: 3rem 1.4rem 1.1rem; width: 100%;
  color: #fff; font-size: clamp(2.4rem, 4.6vw, 3.8rem);
  background: linear-gradient(transparent, rgba(30,7,11,.8));
}
.panel ul {
  list-style: none; margin: 1.4rem 0 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; column-gap: 1.5rem;
}
.panel li { padding: .5rem 0; border-bottom: 1px solid #EADFDB; }

/* ---------- Live counters as reels: the loud section ---------- */
.live { background: var(--night); color: #fff; padding: clamp(4.5rem, 10vw, 8rem) 0 clamp(3rem, 6vw, 5rem); overflow: hidden; }
.live__head { display: grid; grid-template-columns: 1fr minmax(16rem, 24rem); gap: 1.5rem var(--gutter); align-items: end; }
.live h2 { color: #fff; font-size: clamp(3.2rem, 6.8vw, 6.6rem); max-width: 14ch; }
.live__head p { color: #E6CFCB; margin: 0; }

.reels {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 22vw, 300px);
  gap: 1rem; margin-top: 3.5rem; padding: 0 var(--gutter) 1rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter);
  scrollbar-width: thin; scrollbar-color: var(--wine) transparent;
}
@media (min-width: 1300px) { .reels { padding-left: calc((100vw - 78rem) / 2 + var(--gutter)); } }
.reel {
  position: relative; margin: 0; scroll-snap-align: start;
  aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; background: var(--wine-deep);
  border: 0; padding: 0; color: #fff; text-align: left; cursor: default;
}
.reel[data-has-video] { cursor: pointer; }
.reel video { width: 100%; height: 100%; object-fit: cover; }
.reel__cap {
  position: absolute; inset: auto 0 0 0; padding: 4rem 1rem 1.1rem;
  background: linear-gradient(transparent, rgba(20,4,7,.9));
  font-size: 1rem; line-height: 1.35;
}
.reel__cap b {
  display: block; font-variation-settings: "wdth" 75; font-weight: 800;
  font-size: 2rem; line-height: 1; margin-bottom: .3rem;
}
.reel__play {
  position: absolute; top: .8rem; right: .8rem; width: 38px; height: 38px; border-radius: 50%;
  display: none; place-items: center; background: rgba(0,0,0,.45);
}
.reel[data-has-video] .reel__play { display: grid; }
.reel__play svg { width: 16px; height: 16px; }

/* Clips waiting for footage: the poster drifts slowly so the section still moves */
@media (prefers-reduced-motion: no-preference) {
  video.still { animation: drift 14s ease-in-out infinite alternate; }
  .reel:nth-child(2n) video.still { animation-delay: -5s; }
  .reel:nth-child(3n) video.still { animation-delay: -9s; }
  @keyframes drift { from { transform: scale(1.02); } to { transform: scale(1.14) translateY(-2%); } }
}

/* ---------- Menu: a wall of names ---------- */
.menu { background: var(--wine-deep) var(--lattice); color: #fff; }
.menu h2 { color: #fff; }
.menu .lede { color: #E6CFCB; margin-top: 1.2rem; }
.menu__wall { margin: 3rem 0 0; padding: 0; list-style: none; line-height: 1.02; }
.menu__wall li { display: inline; }
.menu__wall li + li::before { content: "◆"; color: var(--teak); font-size: clamp(.9rem, 1.6vw, 1.4rem); vertical-align: .35em; margin: 0 .55em; }
.menu__wall button {
  background: none; border: 0; padding: 0; cursor: pointer; color: #F3DEDB;
  font-variation-settings: "wdth" 75; font-weight: 800; font-size: clamp(2.2rem, 5.4vw, 4.8rem);
  text-align: left; line-height: 1.05;
}
.menu__wall button:hover { color: #fff; }
.menu__wall button[aria-pressed="true"] { color: var(--orange); }
.menu__dishes {
  margin-top: 2.5rem; padding: 1.6rem 0 0; border-top: 2px solid var(--teak);
  display: grid; grid-template-columns: minmax(10rem, 16rem) 1fr; gap: 1rem var(--gutter);
}
.menu__dishes h3 { margin: 0; font-size: 1.4rem; color: var(--orange); }
.menu__dishes p { margin: 0; font-size: 1.25rem; line-height: 1.7; max-width: 44rem; }
.menu__note { margin-top: 2.5rem; color: #E6CFCB; }
.menu__note a { color: #fff; font-weight: 600; }

/* ---------- Gallery: photos and raw clips ---------- */
.gallery {
  display: grid; gap: 6px; margin-top: 3rem;
  grid-template-columns: repeat(4, 1fr); grid-auto-rows: min(16vw, 230px);
  grid-auto-flow: dense;
}
.gallery > * { width: 100%; height: 100%; object-fit: cover; overflow: hidden; }
.gallery .tall { grid-row: span 2; }
.gallery .wide { grid-column: span 2; }
.more { margin: 2rem 0 0; }

/* ---------- Enquiry ---------- */
.enquire-wrap { background: var(--blush); }
.enquire { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem var(--gutter); }
.enquire .lede { margin-top: 1.2rem; }
.phones { list-style: none; padding: 0; margin: 2rem 0 0; }
.phones li { margin-bottom: .4rem; }
.phones a {
  font-variation-settings: "wdth" 75; font-weight: 800; font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  text-decoration: none; color: var(--wine); line-height: 1.1;
}
.phones a:hover { color: var(--orange); }
.addr { color: var(--ink-soft); margin-top: 1.6rem; }
.addr a { color: var(--wine); }
form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.2rem; align-content: start;
  background: var(--paper); padding: clamp(1.2rem, 3vw, 2.2rem); border-top: 4px solid var(--wine);
}
form .full { grid-column: 1 / -1; }
label { display: grid; gap: .3rem; font-weight: 600; font-size: 1rem; }
input, select, textarea {
  font: inherit; font-weight: 400; color: var(--ink);
  padding: .7rem .8rem; border: 1.5px solid #CDBDB8; border-radius: 2px; background: #fff; width: 100%;
}
input:focus, select:focus, textarea:focus { border-color: var(--wine); outline: 2px solid var(--wine); outline-offset: 0; }
textarea { min-height: 7rem; resize: vertical; }
.form__hint { font-size: .95rem; color: var(--ink-soft); margin: .6rem 0 0; }

/* ---------- Footer ---------- */
footer { background: var(--night) var(--lattice); color: #D9CCC8; padding: 3.5rem 0 6rem; font-size: 1rem; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; align-items: end; }
.foot__brand .sign { color: #fff; font-size: 2.6rem; }
.foot__brand .ml { font-size: 1.2rem; color: var(--teak); margin: .4rem 0 0; }
.foot a { color: #fff; }
.foot nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }

/* ---------- Watch-with-sound dialog ---------- */
dialog {
  border: 0; padding: 0; background: #000; border-radius: 14px; overflow: hidden;
  width: min(420px, 92vw); max-height: 92vh;
}
dialog::backdrop { background: rgba(20,4,7,.88); }
dialog video { width: 100%; max-height: 92vh; }
dialog .close {
  position: absolute; top: .6rem; right: .6rem; z-index: 2; width: 40px; height: 40px;
  border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: var(--ink);
  font-size: 1.4rem; cursor: pointer;
}

/* ---------- Gallery page ---------- */
.page-head { background: var(--night) var(--lattice); color: #fff; padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.bar--solid { position: static; }
.bar nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--orange); text-decoration-thickness: 2px; }
.page-head__text { padding-top: clamp(2rem, 6vw, 4rem); }
.page-head h1 { font-size: clamp(3.2rem, 8vw, 7rem); }
.page-head .lede { color: #E6CFCB; margin-top: 1.2rem; }

.filters {
  display: flex; gap: .5rem; flex-wrap: wrap; padding: 2rem 0 1.5rem;
  position: sticky; top: 0; z-index: 4; background: var(--paper);
}
.filters button {
  font-weight: 600; font-size: 1rem; padding: .55rem 1rem; border-radius: 999px; cursor: pointer;
  border: 1.5px solid #D8C8C4; background: var(--paper); color: var(--ink);
}
.filters button:hover { border-color: var(--wine); }
.filters button[aria-pressed="true"] { background: var(--wine); border-color: var(--wine); color: #fff; }
.filters .count { opacity: .65; font-weight: 500; margin-left: .15rem; }

/* Masonry columns: tiles stack top to bottom, so there are never holes */
.tiles { columns: 4 220px; column-gap: 6px; }
.tile {
  position: relative; display: block; width: 100%; padding: 0; border: 0; margin: 0 0 6px;
  cursor: zoom-in; overflow: hidden; background: var(--blush); break-inside: avoid;
}
.tile[hidden] { display: none; }
.tile.tall { aspect-ratio: 2 / 3; }
.tile.wide { aspect-ratio: 3 / 2; }
.tile img, .tile video { width: 100%; height: 100%; object-fit: cover; }
.tile__play {
  position: absolute; top: .6rem; right: .6rem; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(0,0,0,.45); color: #fff;
}
.tile__play svg { width: 14px; height: 14px; }

.gal-cta { padding: clamp(4rem, 8vw, 6rem) 0; display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; align-items: end; justify-content: space-between; }
.gal-cta h2 { font-size: clamp(2.4rem, 5vw, 4.2rem); color: var(--wine); max-width: 12ch; }

/* Viewer */
dialog.lb {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; border-radius: 0;
  background: rgba(20,4,7,.96); color: #fff;
  grid-template-columns: auto 1fr auto; align-items: center;
}
dialog.lb[open] { display: grid; }
.lb__stage { margin: 0; display: grid; justify-items: center; gap: .8rem; padding: 3.5rem 0 1.5rem; }
.lb__media img, .lb__media video { max-width: min(92vw, 1200px); max-height: 80dvh; width: auto; height: auto; border-radius: 6px; }
.lb figcaption { font-size: 1.1rem; color: #F3DEDB; text-align: center; padding: 0 1rem; }
.lb__nav, .lb__close {
  border: 0; cursor: pointer; color: var(--ink); background: rgba(255,255,255,.9);
  width: 48px; height: 48px; border-radius: 50%; font-size: 2rem; line-height: 1; margin: 0 1rem;
}
.lb__close { position: absolute; top: 1rem; right: 0; font-size: 1.6rem; z-index: 2; }

/* ---------- Phone call bar ---------- */
.callbar { display: none; }

/* ---------- Load moment ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero__films { animation: settle 1.8s cubic-bezier(.2,.7,.2,1) both; }
  .hero h1 { animation: rise 1s .2s cubic-bezier(.2,.7,.2,1) both; }
  .hero__foot { animation: rise 1s .45s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes settle { from { transform: scale(1.1); } to { transform: scale(1); } }
  @keyframes rise { from { transform: translateY(2rem); opacity: 0; } to { transform: none; opacity: 1; } }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .svc__head, .live__head, .enquire { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 40vw; }
  .menu__dishes { grid-template-columns: 1fr; }
  .tiles { columns: 2; }
}
@media (max-width: 720px) {
  body { font-size: 1.0625rem; }
  .bar nav a:not(.bar__call) { display: none; }
  .bar__logo img { width: 88px; }
  .hero { min-height: 92svh; }
  .hero__films { grid-template-columns: 1fr; }
  .hero__films video:not(:nth-child(2)) { display: none; }
  .hero__foot .actions { width: 100%; }
  .hero__foot .btn { flex: 1 1 100%; justify-content: center; }
  .svc__panels { grid-template-columns: 1fr; gap: 3rem; }
  .panel ul { grid-template-columns: 1fr; }
  .reels { grid-auto-columns: 62vw; }
  form { grid-template-columns: 1fr; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); }
  .filters button { flex: none; }
  dialog.lb { grid-template-columns: 1fr; }
  .lb__nav { display: none; }
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; inset: auto 0 0 0; z-index: 10;
    box-shadow: 0 -2px 12px rgba(0,0,0,.18);
  }
  .callbar a {
    display: flex; justify-content: center; align-items: center; gap: .5rem;
    padding: 1rem; font-weight: 700; text-decoration: none; color: #fff;
  }
  .callbar a:first-child { background: var(--wine); }
  .callbar a:last-child { background: #1F7A4A; }
  .callbar svg { width: 20px; height: 20px; }
}
