/* Home hero */
.hero {
  position: relative;
  height: 100vh;
  min-height: 36rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease;
  pointer-events: none;
}
.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 6.5s ease;
}
.hero-slide.active img {
  transform: scale(1);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to bottom,
    rgba(44, 36, 27, 0.45),
    rgba(44, 36, 27, 0.22) 40%,
    rgba(44, 36, 27, 0.65)
  );
  pointer-events: none;
}
.hero-story-bars {
  position: absolute;
  top: calc(var(--demo-h) + var(--nav-h) + 0.7rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 14;
  display: flex;
  gap: 0.3rem;
  width: min(22rem, calc(100% - 2rem));
  pointer-events: none;
}
.hero-story-bar {
  position: relative;
  flex: 1;
  height: 3px;
  border-radius: 999px;
  background: rgba(250, 249, 246, 0.28);
  overflow: hidden;
}
.hero-story-bar > span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  background: #FAF9F6;
  border-radius: inherit;
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.15);
}
.hero-story-bar.is-done > span {
  width: 100%;
  animation: none;
}
.hero-story-bar.is-pending > span {
  width: 0%;
  animation: none;
}
.hero-story-bar.is-active > span {
  animation: heroStoryFill var(--story-duration, 5s) linear forwards;
}
@keyframes heroStoryFill {
  from { width: 0%; }
  to { width: 100%; }
}
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 1rem;
  max-width: 56rem;
  margin-top: 4rem;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(250, 249, 246, 0.3);
  border-radius: 999px;
  padding: 0.35rem 1rem;
  margin-bottom: 1.5rem;
  background: rgba(44, 36, 27, 0.1);
  backdrop-filter: blur(4px);
}
.hero-badge span {
  color: var(--color-off-white);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  color: var(--color-white);
  font-weight: 300;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.hero h1 em {
  font-style: italic;
  color: var(--color-soft-gold);
}
.hero-lead {
  color: rgba(250, 249, 246, 0.9);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300;
  max-width: 36rem;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
@media (min-width: 640px) {
  .hero-ctas { flex-direction: row; }
  .hero-ctas .btn { min-width: 10rem; }
}

/* Booking strip */
.strip-book {
  display: none;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: var(--color-off-white);
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}
@media (min-width: 768px) {
  .strip-book { display: block; }
}
.strip-book-form {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 0;
}
.strip-field {
  flex: 1;
}
.strip-field .form-label { margin-bottom: 0.5rem; display: block; }
.strip-field .form-input,
.strip-field .form-select {
  width: 100%;
}

/* Heritage */
.heritage-img-wrap {
  position: relative;
}
.heritage-img {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--color-sand);
  border: 1px solid var(--color-sand);
}
.heritage-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.heritage-badge {
  display: none;
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  width: 12rem;
  height: 12rem;
  background: var(--color-off-white);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 1rem;
  z-index: 2;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 8px 24px rgba(44, 36, 27, 0.08);
}
@media (min-width: 768px) {
  .heritage-badge { display: flex; }
}
.heritage-badge strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--color-royal-brown);
  font-weight: 400;
}
.heritage-badge span {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold);
}
.heritage-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  border-top: 1px solid var(--color-sand);
  padding-top: 2rem;
  margin-top: 2.5rem;
}
.heritage-stats h4 {
  font-size: 1.5rem;
}
.heritage-stats p {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-top: 0.25rem;
}
.prose {
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.8;
}
.prose p + p { margin-top: 1.5rem; }
.prose h2 { margin: 2rem 0 1rem; font-size: 2rem; }
.prose h3 { margin: 1.5rem 0 0.75rem; font-size: 1.5rem; }

/* Dining dark band */
.dining-band {
  background: var(--color-royal-brown);
  color: var(--color-off-white);
  position: relative;
  overflow: hidden;
}
.dining-band h2 { color: var(--color-white); }
.dining-band .eyebrow { color: var(--color-gold); }
.dining-copy {
  color: var(--color-sand);
  font-weight: 300;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.dining-meta {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.dining-meta-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  padding-bottom: 1rem;
}
.dining-meta-item:last-child { border-bottom: none; }
.dining-meta-item h5 {
  color: var(--color-white);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}
.dining-meta-item p {
  color: var(--color-muted);
  font-size: 0.875rem;
}
.dining-frame {
  aspect-ratio: 1;
  border: 1px solid rgba(212, 175, 55, 0.2);
  padding: 0.5rem;
}
.dining-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

/* Location */
.location-rows {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
}
.location-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-sand);
  padding-bottom: 0.5rem;
  font-size: 0.9rem;
}
.location-row span:last-child {
  color: var(--color-muted);
  font-weight: 300;
}
.map-frame {
  background: var(--color-sand);
  height: 25rem;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-frame img,
.map-frame object,
.map-frame svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Offer box */
.offer-box {
  background: var(--color-off-white);
  border: 1px solid var(--color-sand);
  padding: 1rem;
  margin-top: 1rem;
}
.offer-box .eyebrow { margin-bottom: 0.25rem; }
.offer-box p {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--color-royal-brown);
}
.offer-box small {
  display: block;
  font-size: 0.65rem;
  color: var(--color-muted);
  margin-top: 0.25rem;
  font-family: var(--font-sans);
}

/* Review card */
.review-card {
  background: var(--color-white);
  border: 1px solid var(--color-sand);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.review-stars {
  display: flex;
  gap: 0.15rem;
  margin-bottom: 1rem;
}
.review-quote {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.review-author {
  font-size: 0.75rem;
  color: var(--color-gold);
  font-weight: 500;
}

/* Journal */
.journal-card {
  border: 1px solid var(--color-sand);
  background: var(--color-white);
  overflow: hidden;
  transition: border-color var(--transition);
}
.journal-card:hover { border-color: var(--color-gold); }
.journal-card-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.journal-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.journal-card-body { padding: 1.5rem; }
.journal-card-body time {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.journal-card-body h3 {
  font-size: 1.5rem;
  margin: 0.5rem 0;
}
.journal-card-body p {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--color-warm-brown);
}

/* Experience cards */
.exp-card {
  border: 1px solid var(--color-sand);
  background: var(--color-white);
}
.exp-card-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.exp-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.exp-card-body { padding: 1.75rem; }
.exp-card-body h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}
.exp-card-body p {
  font-weight: 300;
  margin-bottom: 1.25rem;
}

/* Auth / book layout */
.auth-shell,
.book-shell {
  max-width: 32rem;
  margin: 0 auto;
  padding: calc(var(--demo-h) + var(--nav-h) + 2.5rem) 1.5rem 4rem;
}
.book-shell { max-width: 40rem; }
.auth-shell h1,
.book-shell h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}
.auth-card,
.book-card {
  background: var(--color-white);
  border: 1px solid var(--color-sand);
  padding: 2rem;
  margin-top: 2rem;
}
.confirm-code {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--color-gold);
  letter-spacing: 0.1em;
  margin: 1rem 0;
}
.summary-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.5rem 0;
}
.summary-list li {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-sand);
  padding-bottom: 0.5rem;
  font-size: 0.9rem;
}
.summary-list li span:first-child { color: var(--color-muted); }

/* 404 */
.page-404 {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--demo-h) + var(--nav-h) + 2rem) 1.5rem 3rem;
}
.page-404 h1 {
  font-size: 5rem;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
}

/* Room detail */
.room-detail-hero {
  padding-top: calc(var(--demo-h) + var(--nav-h) + 1.5rem);
}
.room-detail-gallery {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .room-detail-gallery {
    grid-template-columns: 2fr 1fr;
  }
}
.room-detail-main {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--color-sand);
}
.room-detail-main img,
.room-detail-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.room-detail-side {
  display: grid;
  gap: 0.75rem;
}
.room-detail-side > div {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--color-sand);
}
.room-detail-price {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--color-royal-brown);
  margin: 1rem 0;
}
.room-detail-price small {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--color-muted);
}

/* Body offset for fixed nav + mobile bar */
body.has-mobile-pad {
  padding-bottom: 3.5rem;
}
@media (min-width: 768px) {
  body.has-mobile-pad { padding-bottom: 0; }
}

.legal-content {
  max-width: 48rem;
  margin: 0 auto;
}
.legal-content h2 {
  font-size: 1.5rem;
  margin: 2rem 0 0.75rem;
}
.legal-content p,
.legal-content li {
  font-weight: 300;
  margin-bottom: 0.75rem;
  line-height: 1.7;
}
.legal-content ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}
