/* ==========================================================================
   SevenZ Cafe Restro & Rooms — Hotel Winterland, Mussoorie
   Palette pulled from the property itself: cedar ceilings, the amber neon
   sign, night sky over the valley, and the cream of the linen.
   ========================================================================== */

:root {
  --ink: #12100e;
  --ink-2: #1c1917;
  --ink-3: #2a2521;
  --wood: #6b4a2f;
  --gold: #e6a94b;
  --gold-deep: #c98c2e;
  --gold-soft: #f5d9a8;
  --cream: #f8f4ec;
  --sand: #ece2d2;
  --sage: #7a8f72;

  --text: #23201c;
  --muted: #6f665c;
  --line: rgba(35, 32, 28, 0.12);

  --shell: min(1240px, 100% - 2.5rem);
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(18, 16, 14, 0.06), 0 4px 12px rgba(18, 16, 14, 0.05);
  --shadow-md: 0 2px 6px rgba(18, 16, 14, 0.07), 0 14px 34px rgba(18, 16, 14, 0.1);
  --shadow-lg: 0 30px 70px rgba(18, 16, 14, 0.22);

  --serif: 'Marcellus', 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 74px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  padding: 0.7rem 1.1rem;
  background: var(--ink);
  color: var(--cream);
  border-radius: 8px;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 1rem;
}

/* The <symbol> sprite every inline icon <use>s — never painted itself. */
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* --------------------------------------------------------------- primitives */

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.section {
  padding-block: clamp(4.5rem, 9vw, 8.5rem);
}

.section--dark {
  background: var(--ink);
  color: var(--cream);
}

.section--sand {
  background: var(--sand);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1.1rem;
}

.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
}

.section--dark .eyebrow {
  color: var(--gold);
}

.h-display {
  font-size: clamp(2.1rem, 4.6vw, 3.5rem);
}

.h-section {
  font-size: clamp(1.85rem, 3.6vw, 2.9rem);
}

.lead {
  font-size: clamp(1.03rem, 1.5vw, 1.18rem);
  color: var(--muted);
  max-width: 60ch;
}

.section--dark .lead {
  color: rgba(248, 244, 236, 0.72);
}

.btn {
  --btn-bg: var(--gold);
  --btn-fg: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 0.93rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.22s var(--ease), background-color 0.22s var(--ease),
    box-shadow 0.22s var(--ease), border-color 0.22s var(--ease), color 0.22s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn:active {
  transform: translateY(0);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--cream);
  border-color: rgba(248, 244, 236, 0.4);
  backdrop-filter: blur(6px);
}

.btn--ghost:hover {
  background: rgba(248, 244, 236, 0.12);
  border-color: rgba(248, 244, 236, 0.7);
}

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  border-color: var(--line);
}

.btn--outline:hover {
  border-color: var(--ink);
}

.btn svg {
  width: 17px;
  height: 17px;
  flex: none;
}

/* --------------------------------------------------------------------- nav */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background-color 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}

.nav__inner {
  width: var(--shell);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav--solid {
  background: rgba(248, 244, 236, 0.92);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--cream);
  transition: color 0.35s var(--ease);
}

.nav--solid .brand {
  color: var(--text);
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 11px;
  background: var(--ink);
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1;
  padding-bottom: 2px;
}

/* The mark is a dark-background JPEG, so it keeps its own tile rather than
   being knocked out — that way it reads on the hero and on the solid nav. */
.brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.nav--solid .brand__mark {
  box-shadow: var(--shadow-sm);
}

.nav__ctas {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav--solid .nav__ctas .btn--outline {
  --btn-fg: var(--text);
  border-color: var(--line);
}

/* Over the hero the bar is transparent, so the second number needs light ink. */
.nav__ctas .btn--outline {
  --btn-fg: var(--cream);
  border-color: rgba(248, 244, 236, 0.42);
  backdrop-filter: blur(6px);
}

.nav__ctas .btn--outline:hover {
  border-color: var(--cream);
}

.nav--solid .nav__ctas .btn--outline:hover {
  border-color: var(--ink);
}

.brand__name {
  font-family: var(--serif);
  font-size: 1.22rem;
  letter-spacing: 0.06em;
  line-height: 1.1;
}

/* The Z from the logo: high-contrast serif, brushed-gold gradient. The light
   stops carry the metallic sheen, so on the cream nav they would disappear —
   .nav--solid swaps in a deeper ramp that holds up on a pale background. */
.brand__z {
  font-family: 'Playfair Display', 'Didot', 'Bodoni MT', var(--serif);
  font-weight: 700;
  font-size: 1.18em;
  line-height: 0;
  background: linear-gradient(
    170deg,
    #f7e7b0 0%,
    #e6a94b 28%,
    #a97417 52%,
    #e9c465 72%,
    #f9efd2 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.nav--solid .brand__z {
  background: linear-gradient(
    170deg,
    #d8a032 0%,
    #c98c2e 26%,
    #8a5d12 52%,
    #cfa244 74%,
    #a8781f 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
}

.brand__sub {
  display: block;
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  opacity: 0.66;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__link {
  position: relative;
  color: rgba(248, 244, 236, 0.86);
  font-size: 0.9rem;
  text-decoration: none;
  padding-block: 0.4rem;
  transition: color 0.3s var(--ease);
}

.nav--solid .nav__link {
  color: var(--muted);
}

.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav__link:hover::after,
.nav__link[aria-current='true']::after {
  transform: scaleX(1);
}

.nav__link:hover,
.nav__link[aria-current='true'] {
  color: var(--gold);
}

.nav--solid .nav__link:hover,
.nav--solid .nav__link[aria-current='true'] {
  color: var(--gold-deep);
}

.nav__cta {
  padding: 0.62rem 1.25rem;
  font-size: 0.87rem;
}

.nav__burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(248, 244, 236, 0.32);
  border-radius: 11px;
  background: rgba(18, 16, 14, 0.3);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.nav--solid .nav__burger {
  border-color: var(--line);
  background: transparent;
}

.nav__burger span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 3.5px auto;
  border-radius: 2px;
  background: var(--cream);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}

.nav--solid .nav__burger span {
  background: var(--text);
}

.nav__burger[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.nav__burger[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}

.nav__burger[aria-expanded='true'] span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

/* Collapsed with a 0fr grid row so it animates to its natural height without
   JS having to measure anything. */
.drawer {
  position: fixed;
  inset: var(--nav-h) 0 auto;
  z-index: 99;
  overflow: hidden;
  background: rgba(18, 16, 14, 0.97);
  backdrop-filter: blur(16px);
  color: var(--cream);
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  visibility: hidden;
  transition: grid-template-rows 0.34s var(--ease), opacity 0.34s var(--ease),
    visibility 0s linear 0.34s;
}

.drawer.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
  visibility: visible;
  transition: grid-template-rows 0.34s var(--ease), opacity 0.34s var(--ease), visibility 0s;
}

.drawer__inner {
  width: var(--shell);
  margin-inline: auto;
  padding-block: 1.6rem 2.2rem;
  display: grid;
  gap: 0.2rem;
  overflow: hidden;
  min-height: 0;
}

/* :not(.btn) — otherwise this beats .btn on specificity and flattens the
   call button's padding and type. */
.drawer a:not(.btn) {
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(248, 244, 236, 0.1);
  font-family: var(--serif);
  font-size: 1.4rem;
  text-decoration: none;
}

.drawer .btn {
  margin-top: 1.3rem;
  justify-self: start;
}

/* -------------------------------------------------------------------- hero */

.hero {
  position: relative;
  min-height: min(100svh, 900px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--ink);
  color: var(--cream);
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: -8% 0;
  z-index: -2;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
      to top,
      rgba(12, 10, 9, 0.95) 0%,
      rgba(12, 10, 9, 0.82) 32%,
      rgba(12, 10, 9, 0.52) 58%,
      rgba(12, 10, 9, 0.26) 82%,
      rgba(12, 10, 9, 0.52) 100%
    ),
    radial-gradient(130% 90% at 18% 100%, rgba(12, 10, 9, 0.66), transparent 72%);
}

.hero__body {
  width: var(--shell);
  margin-inline: auto;
  padding-block: clamp(3rem, 8vh, 6rem);
  padding-top: calc(var(--nav-h) + 3rem);
  max-width: 100%;
}

.hero h1 {
  font-size: clamp(2.5rem, 7vw, 5rem);
  max-width: 20ch;
  margin-bottom: 1.3rem;
}

.hero .lead {
  color: rgba(248, 244, 236, 0.82);
  max-width: 52ch;
}

/* Sits over the brightest part of the sky, so it needs the lighter gold. */
.hero__eyebrow {
  color: var(--gold-soft);
  text-shadow: 0 1px 12px rgba(12, 10, 9, 0.75);
}

.hero h1,
.hero .lead {
  text-shadow: 0 2px 24px rgba(12, 10, 9, 0.45);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.2rem;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.7rem;
  list-style: none;
  margin: 2.6rem 0 0;
  padding: 0;
}

.hero__badges li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.95rem;
  border: 1px solid rgba(248, 244, 236, 0.24);
  border-radius: 999px;
  background: rgba(248, 244, 236, 0.07);
  backdrop-filter: blur(6px);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

.hero__badges svg {
  width: 13px;
  height: 13px;
  color: var(--gold);
}

/* ------------------------------------------------------------------- intro */

.intro__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}

.intro__copy p + p {
  margin-top: 1.1rem;
}

.intro__copy .lead {
  margin-top: 1.2rem;
  margin-bottom: 1.6rem;
}

.intro__body {
  color: var(--muted);
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem 1.2rem;
  margin-top: 2.6rem;
  padding-top: 2.2rem;
  border-top: 1px solid var(--line);
}

.stats dt {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1;
  color: var(--wood);
}

.stats dd {
  margin: 0.45rem 0 0;
  font-size: 0.83rem;
  letter-spacing: 0.03em;
  color: var(--muted);
}

.intro__art {
  position: relative;
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(2, 1fr);
}

.intro__art .frame:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 4 / 3;
}

.intro__art .frame:last-child {
  grid-column: 2;
  aspect-ratio: 1;
  margin-top: -30%;
  border: 8px solid var(--cream);
  box-shadow: var(--shadow-md);
}

.frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--sand);
}

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ------------------------------------------------------------------- rooms */

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem 2.5rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section__head > div {
  max-width: 46rem;
}

.section__head .lead {
  margin-top: 1rem;
}

/* Four across at full width — the cards are compact by design. */
.rooms {
  display: grid;
  gap: clamp(1rem, 1.8vw, 1.4rem);
  grid-template-columns: repeat(4, 1fr);
}

.room {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--cream);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.room:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.room__media {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--sand);
}

.room__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.room__thumbs {
  position: absolute;
  left: 0.9rem;
  bottom: 0.9rem;
  display: flex;
  gap: 0.4rem;
  padding: 0.4rem;
  border-radius: 12px;
  background: rgba(12, 10, 9, 0.42);
  backdrop-filter: blur(8px);
}

.room__thumb {
  width: 42px;
  height: 32px;
  padding: 0;
  overflow: hidden;
  border: 1.5px solid transparent;
  border-radius: 7px;
  background: none;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.25s var(--ease), border-color 0.25s var(--ease);
}

.room__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.room__thumb:hover,
.room__thumb[aria-current='true'] {
  opacity: 1;
  border-color: var(--gold);
}

.room__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.7rem;
  padding: clamp(1rem, 1.5vw, 1.3rem);
}

.room__body h3 {
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
}

.room__body p {
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.55;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0.2rem 0 0;
  padding: 0;
}

.chips li {
  padding: 0.26rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.room__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-top: auto;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}

.room__foot span {
  font-size: 0.74rem;
  color: var(--muted);
}

.room__foot .btn {
  padding: 0.55rem 1rem;
  font-size: 0.82rem;
}

/* -------------------------------------------------------------- restaurant */

.restaurant__grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.restaurant__grid .lead {
  margin-top: 1.2rem;
}

.restaurant__points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.8rem 1.6rem;
  margin-top: 2.6rem;
}

.restaurant__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.6rem;
}

/* ---------------------------------------------------------------- callbar */

.callbar {
  display: none;
  position: fixed;
  z-index: 90;
  left: 0;
  right: 0;
  bottom: 0;
  gap: 0.6rem;
  transform: translateY(110%);
  transition: transform 0.38s var(--ease);
  padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(248, 244, 236, 0.94);
  backdrop-filter: blur(14px) saturate(1.4);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(18, 16, 14, 0.1);
}

.callbar.is-visible {
  transform: none;
}

.callbar .btn {
  flex: 1;
  padding-block: 0.85rem;
}

.callbar__wa {
  background: var(--cream);
}

.point__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 0.85rem;
  border: 1px solid rgba(230, 169, 75, 0.34);
  border-radius: 12px;
  background: rgba(230, 169, 75, 0.1);
  color: var(--gold);
}

.point__icon svg {
  width: 20px;
  height: 20px;
}

.point h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.point p {
  font-size: 0.9rem;
  color: rgba(248, 244, 236, 0.64);
}

.restaurant__mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: 0.9rem;
}

.restaurant__mosaic .frame {
  aspect-ratio: 1;
  border-radius: var(--radius);
  background: var(--ink-3);
}

.restaurant__mosaic .frame:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}

.restaurant__mosaic .frame:nth-child(4) {
  grid-column: span 2;
  aspect-ratio: 2 / 1;
}

/* --------------------------------------------------------------- amenities */

.amenities {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--line);
}

.amenity {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.35rem 1.4rem;
  background: var(--cream);
  font-size: 0.92rem;
  transition: background-color 0.25s var(--ease);
}

.amenity:hover {
  background: #fffdf8;
}

.amenity svg {
  width: 21px;
  height: 21px;
  flex: none;
  color: var(--wood);
}

/* ----------------------------------------------------------------- gallery */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter {
  padding: 0.5rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font-size: 0.84rem;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.filter:hover {
  border-color: var(--ink);
}

.filter[aria-pressed='true'] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

.grid-masonry {
  columns: 4;
  column-gap: 0.85rem;
}

@media (min-width: 1500px) {
  .grid-masonry {
    columns: 5;
  }
}

.tile {
  display: block;
  width: 100%;
  margin: 0 0 0.85rem;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--sand);
  cursor: zoom-in;
  break-inside: avoid;
  position: relative;
  line-height: 0;
}

.tile[hidden] {
  display: none;
}

.tile img {
  width: 100%;
  height: auto;
  transition: transform 0.6s var(--ease), filter 0.4s var(--ease);
}

.tile:hover img {
  transform: scale(1.045);
  filter: brightness(1.04);
}

.tile__cat {
  position: absolute;
  left: 0.7rem;
  bottom: 0.7rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(12, 10, 9, 0.6);
  backdrop-filter: blur(6px);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.tile:hover .tile__cat,
.tile:focus-visible .tile__cat {
  opacity: 1;
  transform: none;
}

/* ---------------------------------------------------------------- lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: rgba(10, 9, 8, 0.985);
  backdrop-filter: blur(14px);
  color: var(--cream);
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}

.lightbox.is-in {
  opacity: 1;
}

.lightbox[hidden] {
  display: none;
}

.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 3vw, 2rem);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}

/* Flex (not grid place-items) so the photo's max-height resolves against the
   1fr row and the caption below it stays on screen. */
.lightbox__stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(0.75rem, 4vw, 4.5rem);
  min-height: 0;
  overflow: hidden;
}

.lightbox__cap {
  padding: 1rem clamp(1rem, 3vw, 2rem) 1.6rem;
  text-align: center;
  font-size: 0.88rem;
  color: rgba(248, 244, 236, 0.66);
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(248, 244, 236, 0.22);
  border-radius: 50%;
  background: rgba(248, 244, 236, 0.06);
  cursor: pointer;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.icon-btn:hover {
  background: rgba(248, 244, 236, 0.16);
  border-color: rgba(248, 244, 236, 0.5);
}

.icon-btn:active {
  transform: scale(0.94);
}

.icon-btn svg {
  width: 19px;
  height: 19px;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.lightbox__nav--prev {
  left: clamp(0.4rem, 1.5vw, 1rem);
}

.lightbox__nav--prev svg {
  transform: rotate(180deg);
}

.lightbox__nav--next {
  right: clamp(0.4rem, 1.5vw, 1rem);
}

/* ---------------------------------------------------------------- location */

.location__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.map {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  background: var(--sand);
  aspect-ratio: 16 / 11;
}

.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.addr {
  font-style: normal;
  font-size: 1.02rem;
  line-height: 1.8;
}

.addr span {
  display: block;
}

.dist__cta {
  margin-top: 1.8rem;
}

.dist__head {
  margin: 2rem 0 0.2rem;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.dist {
  margin: 0.6rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

/* The three walkable spots read as the headline, so give them more weight. */
.dist--near span:last-child {
  color: var(--wood);
  font-weight: 500;
}

.dist li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}

.dist span:last-child {
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  white-space: nowrap;
}

/* ----------------------------------------------------------------- contact */

.contact {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--cream);
  isolation: isolate;
}

/* Sits below ::before so the scrim gradient paints over the photo, not under
   it — equal z-index would let this element win on DOM order. */
.contact__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.5;
}

.contact__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
      to right,
      rgba(12, 10, 9, 0.95) 0%,
      rgba(12, 10, 9, 0.88) 46%,
      rgba(12, 10, 9, 0.66) 100%
    ),
    linear-gradient(to bottom, rgba(12, 10, 9, 0.4), rgba(12, 10, 9, 0.2));
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.contact h2 {
  max-width: 22ch;
}

.contact .lead {
  margin-top: 1.1rem;
}

.contact__hours {
  margin-top: 1.4rem;
  font-size: 0.9rem;
  color: rgba(248, 244, 236, 0.55);
}

.calls {
  display: grid;
  gap: 0.9rem;
  min-width: min(320px, 100%);
}

.call {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  border: 1px solid rgba(248, 244, 236, 0.18);
  border-radius: var(--radius);
  background: rgba(248, 244, 236, 0.05);
  text-decoration: none;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.call:hover {
  background: rgba(248, 244, 236, 0.11);
  border-color: rgba(230, 169, 75, 0.55);
  transform: translateX(3px);
}

.call svg {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--gold);
}

.call small {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(248, 244, 236, 0.55);
  margin-bottom: 0.15rem;
}

.call strong {
  font-weight: 500;
  font-size: 1.04rem;
  letter-spacing: 0.01em;
}

/* ------------------------------------------------------------------ footer */

.footer {
  padding-block: 3.2rem 2.4rem;
  background: #0b0a09;
  color: rgba(248, 244, 236, 0.62);
  font-size: 0.86rem;
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 2.2rem;
  border-bottom: 1px solid rgba(248, 244, 236, 0.1);
}

.footer .brand {
  color: var(--cream);
}

.footer__cols {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem 4rem;
}

.footer h4 {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(248, 244, 236, 0.42);
  margin-bottom: 0.9rem;
}

.footer ul {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer a {
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

.footer a:hover {
  color: var(--gold);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  justify-content: space-between;
  padding-top: 1.8rem;
  font-size: 0.79rem;
  color: rgba(248, 244, 236, 0.4);
}

/* ------------------------------------------------------- scroll animations */

/* `translate` rather than `transform`, so the hover lifts on cards below still
   work once an element has been revealed. */
[data-reveal],
[data-reveal-item],
[data-rise] {
  opacity: 0;
  translate: 0 var(--ry, 26px);
  transition: opacity 0.72s var(--ease) var(--rd, 0s), translate 0.72s var(--ease) var(--rd, 0s);
}

[data-rise] {
  --ry: 30px;
  transition-duration: 0.85s;
}

[data-reveal].is-in,
[data-reveal-item].is-in,
[data-rise].is-in {
  opacity: 1;
  translate: none;
}

/* Crossfading carousel slides in the room cards. */
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  scale: 1.035;
  pointer-events: none;
  transition: opacity 0.45s var(--ease), scale 0.45s var(--ease);
}

.slide.is-active {
  opacity: 1;
  scale: 1;
  pointer-events: auto;
}

/* ------------------------------------------------------------ blur-up load */

.ph {
  position: relative;
  overflow: hidden;
  line-height: 0;
}

/* `cover` fills whatever box the parent defines; otherwise the wrapper carries
   the image's own aspect ratio so the page never reflows on load. */
.ph--cover {
  width: 100%;
  height: 100%;
}

.ph picture {
  display: block;
  width: 100%;
  height: 100%;
}

.ph__lqip {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  filter: blur(12px);
  transition: opacity 0.5s var(--ease);
}

.ph--ready .ph__lqip {
  opacity: 0;
}

.ph__real {
  position: relative;
  width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}

.ph--cover .ph__real {
  height: 100%;
  object-fit: cover;
}

.ph--ready .ph__real {
  opacity: 1;
}

/* The lightbox sizes to the photo, not the other way round. */
.lightbox__stage img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  cursor: grab;
  opacity: 0;
  scale: 0.985;
  transition: opacity 0.3s var(--ease), scale 0.3s var(--ease);
}

.lightbox__stage img.is-in {
  opacity: 1;
  scale: 1;
}

.lightbox__stage img:active {
  cursor: grabbing;
}

/* ------------------------------------------------------------- breakpoints */

/* The second nav number is the first thing to go when the bar gets tight. */
@media (max-width: 1180px) {
  .nav__ctas .btn--outline {
    display: none;
  }
}

@media (max-width: 1024px) {
  .intro__grid,
  .restaurant__grid,
  .location__grid {
    grid-template-columns: 1fr;
  }

  .rooms {
    grid-template-columns: repeat(2, 1fr);
  }

  .intro__art .frame:last-child {
    margin-top: 0;
  }

  .grid-masonry {
    columns: 3;
  }

  .contact__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  :root {
    --shell: min(1240px, 100% - 2rem);
  }

  .nav__links,
  .nav__cta,
  .nav__ctas {
    display: none;
  }

  .nav__burger {
    display: block;
  }

  .grid-masonry {
    columns: 2;
  }

  /* The phone bar is the primary CTA on mobile; keep it clear of the footer. */
  .callbar {
    display: flex;
  }

  .footer {
    padding-bottom: calc(5.6rem + env(safe-area-inset-bottom));
  }
}

@media (max-width: 560px) {
  .section {
    padding-block: clamp(3.5rem, 12vw, 5rem);
  }

  .stats,
  .restaurant__points {
    grid-template-columns: 1fr;
  }

  .rooms {
    grid-template-columns: 1fr;
  }

  .grid-masonry {
    columns: 2;
  }

  .restaurant__mosaic {
    grid-template-columns: repeat(2, 1fr);
  }

  .restaurant__mosaic .frame:nth-child(1) {
    aspect-ratio: 4 / 3;
  }

  .hero__actions .btn {
    flex: 1 1 100%;
  }
}

/* ------------------------------------------------------------ reduced motion */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .room:hover,
  .btn:hover,
  .call:hover {
    transform: none;
  }

  .tile:hover img {
    transform: none;
  }

  /* Never leave anything stuck at opacity 0 if the reveal never fires. */
  [data-reveal],
  [data-reveal-item],
  [data-rise] {
    opacity: 1;
    translate: none;
  }

  .slide {
    scale: 1;
  }
}
