/* KT Royal Hotel: shared tokens (also used by /order and /admin) and the website's styles.
   Palette from phulkari embroidery: gold silk (pat) darned on red handspun cloth (khaddar),
   set against the hotel's own ivory-and-gold facade at dusk. */
:root {
  --khaddar: #7B1E2B;
  --khaddar-deep: #5E1520;
  --pat: #E9A92A;
  --pat-dark: #B87A0E;
  --rani: #C8326B;
  --ink: #241B2F;
  --ink-soft: #5A5065;
  --paper: #FFFFFF;
  --mist: #F7F2F4;
  --line: #E6DCE1;
  --dusk: #1B1626;
  --display: "Rozha One", Georgia, serif;
  --body: "Mukta", "Segoe UI", system-ui, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --r: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 18px/1.6 var(--body); }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--rani); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1em; max-width: 62ch; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.band { height: 16px; background: url(band.svg) repeat-x center / auto 16px; }
.ico { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 1.4em; border-radius: 999px; cursor: pointer;
  font: 600 17px/1 var(--body); text-decoration: none; white-space: nowrap;
  border: 2px solid transparent; transition: background-color .15s, color .15s, border-color .15s;
}
.btn-gold { background: var(--pat); color: var(--ink); }
.btn-gold:hover { background: #F4BC4C; }
.btn-line { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-ghost { color: var(--paper); border-color: rgba(255,255,255,.7); background: rgba(27,22,38,.25); }
.btn-ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.on-red .btn-line { color: var(--paper); }
.on-red .btn-line:hover { background: var(--paper); color: var(--khaddar); border-color: var(--paper); }

/* Header: clear over the photo, solid once the page scrolls */
.top { position: fixed; inset: 0 0 auto; z-index: 20; color: var(--paper); transition: background-color .25s, color .25s, box-shadow .25s; }
.top.solid { background: rgba(255,255,255,.96); color: var(--ink); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(8px); }
.top .wrap { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.mark { font: 400 27px/1 var(--display); text-decoration: none; white-space: nowrap; }
.top.solid .mark { color: var(--khaddar); }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: 16px; opacity: .92; }
.nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--pat); }
.top .btn { min-height: 42px; font-size: 16px; padding: 0 1.1em; }
@media (max-width: 920px) { .nav { display: none; } .top .btn { margin-left: auto; } }

/* Hero: the building itself at dusk */
.hero { position: relative; min-height: min(100svh, 920px); display: grid; align-items: end; color: var(--paper); background: var(--dusk); isolation: isolate; }
.hero-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; animation: settle 2.4s ease-out both; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(27,22,38,.6) 0%, rgba(27,22,38,0) 18%),
    linear-gradient(90deg, rgba(27,22,38,.9) 0%, rgba(27,22,38,.62) 38%, rgba(27,22,38,0) 68%),
    linear-gradient(0deg, rgba(27,22,38,.75) 0%, rgba(27,22,38,0) 30%); }
@keyframes settle { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero-copy { width: 100%; padding-top: 120px; padding-bottom: 150px; }
.hero h1 { font-size: clamp(56px, 9vw, 128px); line-height: .92; max-width: 8ch; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.hero .lede { font-size: clamp(19px, 2vw, 23px); max-width: 30ch; margin: 22px 0 0; padding-left: 16px; border-left: 4px solid var(--pat); text-shadow: 0 1px 12px rgba(0,0,0,.5); }
@media (max-width: 920px) {
  .hero::before { background: linear-gradient(180deg, rgba(27,22,38,.55) 0%, rgba(27,22,38,.1) 30%, rgba(27,22,38,.88) 100%); }
  .hero-img { object-position: 50% 30%; }
}

/* Booking bar, stitched to the bottom of the hero */
.booker { position: relative; z-index: 2; margin-top: -92px; }
.booker form { background: var(--paper); color: var(--ink); border-radius: var(--r); box-shadow: 0 18px 50px rgba(27,22,38,.18); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; align-items: stretch; overflow: hidden; border-top: 6px solid var(--pat); }
.booker label { display: flex; flex-direction: column; gap: 2px; padding: 14px 18px; border-right: 1px solid var(--line); cursor: pointer; min-width: 0; }
.booker label span { font-size: 14px; color: var(--ink-soft); font-weight: 600; }
.booker input, .booker select { min-width: 0; border: 0; padding: 0; font: 600 18px/1.3 var(--body); color: var(--ink); background: transparent; width: 100%; outline: none; min-height: 28px; }
.booker label:focus-within { background: #FFF8E8; }
.booker .btn { margin: 12px; min-height: 56px; border-radius: 10px; }
@media (max-width: 920px) {
  .booker { margin-top: -60px; }
  .booker form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .booker label { padding: 12px 14px; }
  .booker label:nth-child(2n) { border-right: 0; }
  .booker label { border-bottom: 1px solid var(--line); }
  .booker .btn { grid-column: 1 / -1; }
}

/* Highlights under the booking bar */
.perks { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; padding: 40px 0 8px; list-style: none; margin: 0; }
.perks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.35; color: var(--ink-soft); }
.perks b { display: block; color: var(--ink); font-size: 17px; }
.perks .ico { color: var(--khaddar); width: 26px; height: 26px; margin-top: 2px; }
@media (max-width: 920px) { .perks { grid-template-columns: 1fr 1fr; } }

/* Sections */
.sec { padding: clamp(64px, 9vw, 120px) 0; }
.sec-mist { background: var(--mist); }
.sec h2 { font-size: clamp(40px, 5.6vw, 68px); color: var(--khaddar); margin-bottom: .35em; }
.intro { font-size: 20px; color: var(--ink-soft); max-width: 58ch; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); }
@media (max-width: 920px) { .split { grid-template-columns: 1fr; } }

/* Room explorer: a rate card on the left, the room itself on the right */
.explorer { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(20px, 3vw, 44px); margin-top: 36px; align-items: start; }
.explorer > * { min-width: 0; }
.picker { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.picker button { width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line); padding: 20px 8px 20px 18px; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; position: relative; transition: background-color .15s; }
.picker button::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 5px; border-radius: 3px; background: transparent; transition: background-color .2s; }
.picker button:hover { background: rgba(233,169,42,.08); }
.picker button[aria-selected="true"]::before { background: var(--pat); }
.picker button[aria-selected="true"] { background: var(--paper); }
.picker h3 { font-size: clamp(26px, 2.6vw, 34px); color: var(--ink); }
.picker .from { align-self: center; text-align: right; font-size: 14px; color: var(--ink-soft); line-height: 1.2; }
.picker .from b { display: block; font-size: 22px; color: var(--khaddar); }
.picker .meta { grid-column: 1 / -1; color: var(--ink-soft); font-size: 16px; }
.rates-note { font-size: 15px; color: var(--ink-soft); margin-top: 14px; }

.stage { background: var(--paper); border-radius: var(--r); overflow: hidden; box-shadow: 0 10px 40px rgba(27,22,38,.08); }
.stage-photo { position: relative; aspect-ratio: 4 / 3; background: var(--dusk); }
.stage-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .45s ease; }
.stage-photo .tag { position: absolute; left: 16px; top: 16px; background: rgba(27,22,38,.72); color: var(--paper); font-size: 14px; font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.stage-photo .look { position: absolute; right: 16px; bottom: 16px; }
.thumbs { display: flex; gap: 8px; padding: 10px; overflow-x: auto; scrollbar-width: thin; }
.thumbs button { flex: none; width: 92px; aspect-ratio: 4 / 3; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; background: var(--mist); }
.thumbs button[aria-current="true"] { border-color: var(--pat); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.stage-body { padding: 8px 22px 22px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; margin: 8px 0 14px; padding: 0; }
.facts li { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.facts .ico { color: var(--khaddar); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 18px; padding: 0; }
.chips li { border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; font-size: 15px; color: var(--ink-soft); }
.stage-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 920px) {
  .explorer { grid-template-columns: 1fr; }
  .picker { display: flex; overflow-x: auto; border-top: 0; gap: 8px; scrollbar-width: none; }
  .picker li { flex: none; }
  .picker button { border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; min-width: 210px; }
  .picker button::before { left: 12px; right: 12px; top: auto; bottom: 0; width: auto; height: 4px; }
}

/* Dining and events */
.dine { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.dine figure { margin: 0; position: relative; }
.dine figure img { border-radius: var(--r); aspect-ratio: 7 / 5; object-fit: cover; width: 100%; }
.dine figcaption { position: absolute; left: 16px; bottom: 16px; background: rgba(27,22,38,.75); color: var(--paper); padding: 6px 14px; border-radius: 999px; font-size: 15px; font-weight: 600; }
.venues { list-style: none; margin: 22px 0 26px; padding: 0; border-top: 2px solid var(--ink); }
.venues li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.venues b { display: block; font: 400 24px/1.2 var(--display); }
.venues span { color: var(--ink-soft); font-size: 17px; }
.dishes { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 20px; margin-top: 48px; }
.dish { text-decoration: none; }
.dish img { aspect-ratio: 1; width: 100%; object-fit: cover; border-radius: 50%; border: 4px solid var(--paper); box-shadow: 0 0 0 2px var(--pat); background: var(--mist); }
.dish b { display: block; margin-top: 10px; font-size: 16px; line-height: 1.3; }
.dish span { font-size: 15px; color: var(--ink-soft); }
@media (max-width: 920px) { .dine { grid-template-columns: 1fr; } }

/* Order band */
.on-red { background: var(--khaddar); color: var(--paper); }
.on-red h2 { color: var(--pat); }
.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 8px 0 36px; }
.ways div { padding: 4px 28px 4px 0; }
.ways div + div { border-left: 1px solid rgba(255,255,255,.25); padding-left: 28px; }
.ways h3 { font-size: 30px; color: var(--paper); margin-bottom: 6px; }
.ways p { color: #F3DCE2; margin: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 920px) {
  .ways { grid-template-columns: 1fr; }
  .ways div, .ways div + div { border-left: 0; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.25); }
}

/* Reviews: a scrolling ribbon of real guest words */
.reviews { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 380px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px var(--gutter) 24px; margin: 28px calc(var(--gutter) * -1) 0; scrollbar-width: thin; }
.reviews figure { scroll-snap-align: start; margin: 0; background: var(--paper); border-radius: var(--r); padding: 26px 24px 20px; display: flex; flex-direction: column; border-top: 5px solid var(--pat); }
.reviews blockquote { margin: 0 0 18px; font-size: 18px; line-height: 1.55; flex: 1; }
.reviews blockquote::before { content: "\201C"; display: block; font: 400 64px/0.6 var(--display); color: var(--rani); margin-bottom: 10px; }
.reviews figcaption { font-size: 15px; color: var(--ink-soft); }
.reviews figcaption b { color: var(--ink); display: block; font-size: 16px; }

/* Good to know */
.rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; margin: 24px 0 0; }
.rules div { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 0 10px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.rules .ico { color: var(--khaddar); width: 26px; height: 26px; grid-row: span 2; }
.rules dt { font-weight: 700; }
.rules dd { margin: 0; color: var(--ink-soft); }
@media (max-width: 760px) { .rules { grid-template-columns: 1fr; } }

/* Find us */
.near { list-style: none; margin: 18px 0 26px; padding: 0; }
.near li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.near li span:last-child { font-weight: 700; white-space: nowrap; }
.contact dl { margin: 0 0 24px; }
.contact dt { font-size: 15px; color: var(--ink-soft); margin-top: 16px; }
.contact dd { margin: 2px 0 0; font-size: 20px; font-weight: 600; }
.contact dd a { text-decoration-color: var(--pat); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.map { width: 100%; min-height: 420px; height: 100%; border: 0; border-radius: var(--r); background: var(--mist); }

/* FAQ */
.faq { max-width: 820px; margin-top: 20px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-weight: 700; font-size: 19px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font: 400 30px/1 var(--display); color: var(--khaddar); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-soft); margin: 0 0 18px; }

/* Footer */
.foot { background: var(--khaddar-deep); color: #EBD3D9; font-size: 15px; padding: 32px 0 40px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between; }
.foot a { color: var(--paper); }

/* Dialogs: room details, look-around, booking request */
dialog.sheet { border: 0; padding: 0; border-radius: 18px; width: min(980px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); background: var(--paper); color: var(--ink); box-shadow: 0 30px 80px rgba(0,0,0,.35); }
dialog.sheet::backdrop { background: rgba(27,22,38,.7); backdrop-filter: blur(3px); }
dialog.sheet[open] { animation: rise .28s ease-out; }
@keyframes rise { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.sheet-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 16px; padding: 16px 20px; background: var(--paper); border-bottom: 1px solid var(--line); }
.sheet-head h2 { font-size: 30px; color: var(--khaddar); margin: 0; }
.x { margin-left: auto; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); cursor: pointer; font-size: 24px; line-height: 1; }
.x:hover { background: var(--mist); }
.sheet-body { padding: 20px; }
dialog.sheet .pano { width: 100%; height: min(70vh, 560px); background: var(--dusk); } /* beats .pnlm-container's height: 100% */
.pano-note { padding: 10px 20px 18px; color: var(--ink-soft); font-size: 15px; margin: 0; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin: 6px 0 22px; }
.gallery img { border-radius: 10px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; cursor: zoom-in; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.cols h3 { font: 700 18px/1.3 var(--body); margin: 18px 0 8px; }
.tick { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 24px; }
.tick li { padding: 3px 0 3px 24px; position: relative; break-inside: avoid; }
.tick li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 8px; height: 8px; transform: rotate(45deg); background: var(--pat); }
@media (max-width: 700px) { .cols { grid-template-columns: 1fr; } .tick { columns: 1; } }

/* Booking request form */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 16px; min-width: 0; }
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea { font: 400 17px/1.4 var(--body); color: var(--ink); border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 14px; background: var(--paper); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--khaddar); outline: none; box-shadow: 0 0 0 3px rgba(123,30,43,.15); }
.form .trap { position: absolute; left: -9999px; }
.form .note { grid-column: 1 / -1; color: var(--ink-soft); font-size: 15px; margin: 0; }
.form .err { grid-column: 1 / -1; background: #FBE7EB; color: var(--khaddar); border-radius: 10px; padding: 10px 14px; font-weight: 600; margin: 0; max-width: none; }
.form .btn { grid-column: 1 / -1; min-height: 54px; font-size: 18px; }
.done { text-align: center; padding: 30px 10px 10px; }
.done .seal { width: 92px; height: 92px; margin: 0 auto 16px; border-radius: 14px; background: url(phulkari.svg) center / 46px 46px; box-shadow: 0 0 0 6px var(--paper), 0 0 0 8px var(--pat); }
.done h3 { font-size: 36px; color: var(--khaddar); margin-bottom: 10px; }
.done p { margin: 0 auto 10px; }
.done .ref { font: 700 22px/1.2 var(--body); letter-spacing: .04em; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-img, dialog.sheet[open] { animation: none; }
  .stage-photo img { transition: none; }
}
