/* Hotel JM International — Puri
   Palette drawn from Pattachitra scroll painting and the temple city:
   conch white, sea indigo, turmeric, madder red, laterite sand. */

:root {
  --conch: #f4f5ef;
  --sand: #e6e1d2;
  --sand-deep: #d6cfba;
  --indigo: #12284a;
  --indigo-2: #1d3b6e;
  --indigo-3: #2b4f8a;
  --kesar: #e8a11a;
  --kesar-soft: #f6d48a;
  --sindoor: #a52a22;
  --ink: #101a2b;
  --muted: #4b586e;
  --line: rgba(18, 40, 74, .16);
  --radius: 14px;
  --shadow: 0 18px 40px -22px rgba(18, 40, 74, .55);
  --font-display: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-odia: "Noto Sans Oriya", "Figtree", sans-serif;
  --wrap: 1180px;
  --header-h: 72px;
  --band: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='14' viewBox='0 0 28 14'%3E%3Crect width='28' height='14' fill='%2312284A'/%3E%3Cpath d='M14 1 21 7 14 13 7 7Z' fill='%23E8A11A'/%3E%3Ccircle cx='14' cy='7' r='2' fill='%23A52A22'/%3E%3Cpath d='M0 7h4M24 7h4' stroke='%23E8A11A' stroke-width='1.4'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--conch);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--indigo-2); text-underline-offset: 3px; }
a:hover { color: var(--sindoor); }
:focus-visible { outline: 3px solid var(--kesar); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--kesar); color: var(--indigo); padding: .6rem 1rem; z-index: 200; border-radius: 8px; font-weight: 600; }
.skip-link:focus { left: 8px; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.08; margin: 0 0 .6em; letter-spacing: -.005em; color: var(--indigo); }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
h3 { font-size: clamp(1.45rem, 2.2vw, 1.85rem); }
p { margin: 0 0 1.1em; max-width: 68ch; }
.container { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section--sand { background: var(--sand); }
.section--indigo { background: var(--indigo); color: #e9edf6; }
.section--indigo h2, .section--indigo h3 { color: #fff; }
.section--indigo a { color: var(--kesar-soft); }
.lead { font-size: 1.2rem; color: var(--muted); }
.band { height: 14px; background: var(--band) repeat-x left center / 28px 14px; }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.5rem; border-radius: 999px; font: 600 1rem/1 var(--font-body); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease; min-height: 48px; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--kesar); color: var(--indigo); }
.btn--primary:hover { background: #f5b43a; color: var(--indigo); }
.btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--indigo); }
.btn--dark { background: var(--indigo); color: #fff; }
.btn--dark:hover { background: var(--indigo-2); color: #fff; }
.btn--line { border-color: var(--indigo); color: var(--indigo); }
.btn--line:hover { background: var(--indigo); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(244,245,239,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); transition: box-shadow .25s ease; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -20px rgba(18,40,74,.6); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1rem; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--indigo); }
.brand-mark { width: 42px; height: 52px; border-radius: 999px 999px 6px 6px; background: var(--indigo); border: 2px solid var(--kesar); overflow: hidden; flex: none; display: block; }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font: 400 1.35rem/1.1 var(--font-display); }
.brand-sub { font-size: .8rem; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 1.8rem; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 500; padding: .4rem 0; position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--kesar); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { padding: .7rem 1.2rem; min-height: 44px; color: var(--indigo); }
.menu-toggle { display: none; width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer; border-radius: 12px; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 24px; height: 2px; background: var(--indigo); border-radius: 2px; position: relative; margin: auto; transition: transform .25s ease, background .2s ease; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* Hero */
.hero { background: var(--indigo); color: #e9edf6; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 78% 40%, rgba(232,161,26,.16), transparent 70%), radial-gradient(40% 50% at 10% 100%, rgba(43,79,138,.55), transparent 70%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem); }
.hero h1 { color: #fff; max-width: 19ch; }
.hero .lead { color: #cfd8ea; font-size: 1.2rem; max-width: 52ch; }
.greeting { font-family: var(--font-odia); color: var(--kesar); font-size: 1.25rem; margin: 0 0 1rem; }
.hero-art { position: relative; justify-self: center; width: min(100%, 410px); }
.hero-art::before { content: ""; position: absolute; inset: -8% -30% 10% -30%; background: radial-gradient(closest-side, rgba(246,212,138,.38), transparent); animation: glow 6s ease-in-out infinite; }
.arch { position: relative; border-radius: 999px 999px 10px 10px; overflow: hidden; aspect-ratio: 4 / 5.2; background: #0a1730; }
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 46%; }
.arch-frame { position: absolute; inset: 0; border: 2px solid var(--kesar); border-radius: 999px 999px 10px 10px; transform: translate(14px, 14px); pointer-events: none; }
.hero-art figcaption { position: relative; margin-top: 1.7rem; font-size: .88rem; color: #aebbd6; text-align: center; }
.facts { position: relative; border-top: 1px solid rgba(255,255,255,.16); background: rgba(8,20,42,.45); }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.facts li { display: flex; align-items: center; gap: .85rem; padding: 1.15rem 1rem; font-weight: 500; font-size: .98rem; }
.facts li + li { border-left: 1px solid rgba(255,255,255,.14); }
.facts svg { width: 28px; height: 28px; flex: none; stroke: var(--kesar); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* hero entrance — one orchestrated moment */
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes arch-in { from { clip-path: inset(100% 0 0 0 round 999px 999px 10px 10px); } to { clip-path: inset(0 0 0 0 round 999px 999px 10px 10px); } }
@keyframes glow { 0%, 100% { opacity: .55; transform: scale(.94); } 50% { opacity: 1; transform: scale(1.04); } }
.hero-copy > * { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
.hero-copy > :nth-child(2) { animation-delay: .12s; }
.hero-copy > :nth-child(3) { animation-delay: .24s; }
.hero-copy > :nth-child(4) { animation-delay: .36s; }
.hero .arch { animation: arch-in 1.3s cubic-bezier(.2,.7,.2,1) .15s both; }
.hero .arch-frame { animation: rise 1s ease .9s both; }

/* Page hero (inner pages) */
.page-hero { background: var(--indigo); color: #e9edf6; padding: clamp(2.8rem, 6vw, 4.6rem) 0 clamp(2.4rem, 5vw, 3.6rem); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -80px; top: -60px; width: 340px; height: 420px; border: 2px solid rgba(232,161,26,.35); border-radius: 999px 999px 0 0; }
.page-hero h1 { color: #fff; margin-bottom: .35em; font-size: clamp(2.3rem, 5vw, 3.8rem); }
.page-hero p { color: #cfd8ea; font-size: 1.15rem; margin: 0; }
.crumbs { font-size: .9rem; color: #aebbd6; margin-bottom: 1.2rem; }
.crumbs a { color: var(--kesar-soft); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; color: #fff; }

/* Split blocks */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split--img-left .split-media { order: -1; }
.arch-wrap { position: relative; max-width: 400px; margin-inline: auto; }
.split-media .arch { aspect-ratio: 4 / 5.4; }
.split-media .arch-frame { border-color: var(--kesar); }
.tick-list { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: .7rem 1.4rem; }
.tick-list li { padding-left: 1.7rem; position: relative; font-weight: 500; }
.tick-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: .9rem; height: .9rem; background: var(--kesar); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }

/* Room preview — deliberately uneven */
.rooms-preview { display: grid; grid-template-columns: 1.35fr 1fr; grid-auto-rows: auto; gap: 1.6rem; }
.room-tile { position: relative; background: #fff; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); text-decoration: none; color: inherit; }
.room-tile:first-child { grid-row: span 2; }
.room-tile .ph { overflow: hidden; background: var(--sand); position: relative; flex: none; aspect-ratio: 16 / 10; }
.room-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; transition: transform .6s ease; }
.room-tile:hover img { transform: scale(1.05); }
.room-tile .body { padding: 1.3rem 1.5rem 1.5rem; }
.room-tile h3 { margin-bottom: .3em; }
.room-tile p { margin: 0 0 .8em; color: var(--muted); font-size: .98rem; }
.room-tile .more { font-weight: 600; color: var(--sindoor); }
.room-tile:first-child .ph { flex: 1 1 auto; aspect-ratio: auto; min-height: 340px; }

/* Distances: a route, ordered by how far you travel */
.route { list-style: none; margin: 0; padding: 0 0 0 1.8rem; position: relative; max-width: 760px; }
.route::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: repeating-linear-gradient(to bottom, var(--kesar) 0 8px, transparent 8px 14px); }
.route li { position: relative; display: grid; grid-template-columns: 9.5rem 1fr; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.route li::before { content: ""; position: absolute; left: -1.8rem; top: 1.35rem; width: 16px; height: 16px; background: var(--indigo); border: 3px solid var(--kesar); border-radius: 50%; }
.route li:last-child { border-bottom: 0; }
.route .how { font-weight: 600; color: var(--kesar-soft); }
.route .where strong { display: block; color: #fff; font-weight: 600; }
.route .where span { font-size: .95rem; color: #bcc8df; }
.note { font-size: .92rem; color: var(--muted); }
.section--indigo .note { color: #aebbd6; }

/* Amenities */
.amen-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.amen { padding: 1.5rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.amen svg { width: 34px; height: 34px; stroke: var(--sindoor); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: .8rem; }
.amen h3 { font-size: 1.35rem; margin-bottom: .25em; }
.amen p { margin: 0; color: var(--muted); font-size: .97rem; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; }
.gallery button { display: block; width: 100%; margin: 0; aspect-ratio: 4 / 3; padding: 0; border: 0; background: var(--sand); border-radius: 12px; overflow: hidden; cursor: zoom-in; break-inside: avoid; position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, filter .3s ease; }
.gallery button:hover img { transform: scale(1.04); }
.gallery--room { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-content: start; }
.gallery--room button { margin: 0; aspect-ratio: auto; }
.gallery--room img { height: auto; }
.gallery--room button.wide { grid-column: span 2; }
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100%; height: 100%; }
dialog.lightbox::backdrop { background: rgba(8,16,34,.92); }
.lb-inner { height: 100%; display: grid; place-items: center; padding: 1rem; position: relative; }
.lb-inner figure { margin: 0; max-width: min(92vw, 1100px); max-height: 88vh; display: grid; gap: .7rem; justify-items: center; }
.lb-inner img { max-height: 78vh; width: auto; max-width: 100%; border-radius: 10px; }
.lb-inner figcaption { color: #dbe3f3; font-size: .95rem; text-align: center; max-width: 60ch; }
.lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 1.6rem; cursor: pointer; display: grid; place-items: center; }
.lb-btn:hover { background: var(--kesar); color: var(--indigo); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* Rooms page */
.room-block { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; padding: clamp(2.5rem, 5vw, 4rem) 0; border-top: 1px solid var(--line); }
.room-block:first-of-type { border-top: 0; }
.room-info { position: sticky; top: calc(var(--header-h) + 24px); }
.room-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.2rem; padding: 0; list-style: none; }
.room-meta li { padding: .35rem .85rem; border-radius: 999px; background: var(--sand); font-size: .92rem; font-weight: 500; }
.feature-list { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; gap: .5rem; }
.feature-list li { padding-left: 1.7rem; position: relative; }
.feature-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: .8rem; height: .8rem; background: var(--kesar); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
table { border-collapse: collapse; width: 100%; min-width: 560px; }
th, td { padding: .95rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line); font-size: .98rem; }
thead th { background: var(--indigo); color: #fff; font-weight: 600; }
tbody th { font-weight: 600; color: var(--indigo); background: var(--conch); }
tbody tr:last-child > * { border-bottom: 0; }

/* Blog */
.toc { display: flex; flex-wrap: wrap; gap: .7rem; margin: 0 0 3rem; padding: 0; list-style: none; }
.toc a { display: block; padding: .6rem 1.1rem; border-radius: 999px; border: 1.5px solid var(--indigo); text-decoration: none; color: var(--indigo); font-weight: 500; font-size: .96rem; }
.toc a:hover { background: var(--indigo); color: #fff; }
.post { padding: clamp(2.5rem, 5vw, 4rem) 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); }
.post:first-of-type { border-top: 0; padding-top: 0; }
.post-side { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; font-size: .95rem; color: var(--muted); }
.post-side .arch { aspect-ratio: 4 / 5; margin-bottom: 1rem; }
.post-body h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
.post-body h3 { margin-top: 1.6em; font-size: 1.5rem; }
.post-body p, .post-body li { max-width: 66ch; }
.post-body ul { padding-left: 1.2rem; }
.post-body li { margin-bottom: .4em; }
.post-meta { color: var(--muted); font-size: .92rem; margin-bottom: 1.4rem; }
.post-card { display: grid; gap: .5rem; padding: 1.5rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-decoration: none; color: inherit; transition: border-color .2s ease, transform .2s ease; }
.post-card:hover { border-color: var(--kesar); transform: translateY(-3px); }
.post-card h3 { margin: 0; font-size: 1.5rem; }
.post-card p { margin: 0; color: var(--muted); font-size: .98rem; }
.post-card .more { color: var(--sindoor); font-weight: 600; }
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }

/* FAQ */
.faq { max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.15rem 2.5rem 1.15rem 0; font-weight: 600; font-size: 1.1rem; position: relative; color: var(--indigo); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .3rem; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 400; color: var(--sindoor); transition: transform .25s ease; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 2.5rem 1.2rem 0; color: var(--muted); margin: 0; }

/* CTA */
.cta { background: var(--indigo); color: #e9edf6; border-radius: 24px; padding: clamp(2rem, 5vw, 3.5rem); display: grid; grid-template-columns: 1.3fr auto; gap: 2rem; align-items: center; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; right: -50px; bottom: -80px; width: 260px; height: 300px; border: 2px solid rgba(232,161,26,.4); border-radius: 999px 999px 0 0; pointer-events: none; }
.cta h2 { color: #fff; margin-bottom: .3em; }
.cta p { margin: 0; color: #cfd8ea; }
.cta .btn-row { margin: 0; position: relative; z-index: 1; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.info-list { display: grid; gap: 1.1rem; margin: 0; padding: 0; list-style: none; }
.info-list li { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: start; }
.info-list .ic { width: 44px; height: 44px; border-radius: 50%; background: var(--indigo); display: grid; place-items: center; }
.info-list .ic svg { width: 22px; height: 22px; stroke: var(--kesar); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.info-list strong { display: block; color: var(--indigo); }
.info-list a { font-weight: 500; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow); }
.form-card h2 { font-size: 2rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .35rem; margin-bottom: 1rem; }
.field label { font-weight: 600; font-size: .95rem; color: var(--indigo); }
.field input, .field select, .field textarea { font: inherit; padding: .8rem .95rem; border: 1.5px solid var(--sand-deep); border-radius: 10px; background: var(--conch); color: var(--ink); min-height: 48px; width: 100%; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(232,161,26,.55); border-color: var(--kesar); }
.form-note { font-size: .9rem; color: var(--muted); margin: .8rem 0 0; }
.map-frame { border: 0; width: 100%; height: 420px; border-radius: 18px; filter: saturate(.9); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2rem; }
.step { padding: 1.4rem; border-left: 3px solid var(--kesar); background: #fff; border-radius: 0 var(--radius) var(--radius) 0; }
.step h3 { font-size: 1.35rem; margin-bottom: .25em; }
.step p { margin: 0; font-size: .97rem; color: var(--muted); }

/* Footer */
.site-footer { background: var(--indigo); color: #cfd8ea; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr; gap: 2.5rem; padding: 4rem 0 3rem; }
.site-footer h2 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; color: #fff; margin-bottom: 1rem; letter-spacing: 0; }
.site-footer a { color: #cfd8ea; text-decoration: none; }
.site-footer a:hover { color: var(--kesar); text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.site-footer p { font-size: .97rem; }
.footer-brand .brand { color: #fff; margin-bottom: 1rem; }
.footer-brand .brand-sub { color: #aebbd6; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding: 1.3rem 0; font-size: .9rem; color: #9fb0cf; }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; }

/* Mobile action bar */
.mobile-bar { display: none; }

/* Reveal (used sparingly) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 18ch; }
  .hero-art { width: min(78%, 360px); margin: 1rem auto 1.5rem; }
  .facts ul { grid-template-columns: 1fr 1fr; }
  .facts li:nth-child(3) { border-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.14); }
  .split, .contact-grid, .room-block { grid-template-columns: 1fr; }
  .split--img-left .split-media { order: 0; }
  .room-info, .post-side { position: static; }
  .post { grid-template-columns: 1fr; }
  .post-side .arch { max-width: 260px; }
  .amen-grid, .posts-grid, .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .cta { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; background: var(--conch); flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.25rem 1.5rem; border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(18,40,74,.5); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: transform .25s ease, opacity .25s ease, visibility .25s; }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 1rem .2rem; border-bottom: 1px solid var(--line); font-size: 1.15rem; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 1rem; }
}
@media (max-width: 680px) {
  body { font-size: 1rem; padding-bottom: 68px; }
  .rooms-preview { grid-template-columns: 1fr; }
  .room-tile:first-child { grid-row: auto; }
  .room-tile:first-child .ph { min-height: 240px; aspect-ratio: 16 / 10; }
  .amen-grid, .posts-grid, .steps, .tick-list, .field-row { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: .5rem; }
  .route li { grid-template-columns: 1fr; gap: .1rem; }
  .footer-grid { grid-template-columns: 1fr; padding: 3rem 0 2rem; }
  .brand-sub { display: none; }
  .brand-name { font-size: 1.2rem; }
  .btn-row .btn { flex: 1 1 100%; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--indigo); padding: .5rem .5rem calc(.5rem + env(safe-area-inset-bottom, 0px)); gap: .5rem; box-shadow: 0 -10px 30px -12px rgba(8,16,34,.6); }
  .mobile-bar a { display: grid; place-items: center; min-height: 48px; border-radius: 12px; text-decoration: none; font-weight: 600; font-size: .95rem; color: #fff; background: rgba(255,255,255,.1); }
  .mobile-bar a.primary { background: var(--kesar); color: var(--indigo); }
  .lb-prev, .lb-next { top: auto; bottom: 1rem; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
