/* ==========================================================================
   Inner pages — Skyline Hotel Detroit Airport
   Loaded ONLY by inner pages, AFTER style.css + responsive.css.
   The homepage (index.html) does not link this file, so nothing here can
   change the homepage's appearance. Everything reuses the tokens and
   component classes already defined in style.css.
   ========================================================================== */

/* ---------- page hero / banner ----------
   A short photographic banner. It is dark (image + scrim), so the site
   header's default transparent/white state reads correctly over it, exactly
   like the homepage hero. On scroll the header turns solid cream as usual. */
.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(360px, 52vh, 520px);
  padding-top: calc(var(--header-h) + 36px);
  padding-bottom: 54px;
  overflow: hidden;
  background: var(--ink);
}
.page-hero-media { position: absolute; inset: 0; z-index: 0; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to right, rgba(16, 13, 10, .74) 0%, rgba(16, 13, 10, .40) 55%, rgba(16, 13, 10, .20) 100%),
    linear-gradient(to top, rgba(16, 13, 10, .70) 0%, rgba(16, 13, 10, 0) 52%);
}
.page-hero .container { position: relative; z-index: 2; }

.page-hero-title {
  margin: 10px 0 0;
  font-family: var(--ff-serif);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: .01em;
  color: var(--white);
}
.page-hero-sub {
  margin: 16px 0 0;
  max-width: 54ch;
  font-size: 15.5px;
  color: rgba(255, 255, 255, .82);
}

/* ---------- breadcrumb ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .64);
}
.breadcrumb a { color: var(--gold-soft); transition: color .3s var(--ease); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span.sep { opacity: .5; }
.breadcrumb .current { color: rgba(255, 255, 255, .64); }

/* breadcrumb on a light (cream) sub-bar, used by prose pages */
.crumb-bar { background: var(--cream-alt); border-bottom: 1px solid var(--line); }
.crumb-bar .breadcrumb { color: var(--muted); padding-block: 16px; }
.crumb-bar .breadcrumb a { color: var(--gold); }
.crumb-bar .breadcrumb a:hover { color: var(--gold-dark); }
.crumb-bar .breadcrumb .current { color: var(--muted); }

/* ---------- generic page intro ---------- */
.page-intro { max-width: 720px; }
.page-intro .lede { font-size: 16px; color: var(--body); max-width: none; }

/* ---------- room detail ---------- */
.room-detail { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }

.rd-gallery { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; }
.rd-gallery a {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
}
.rd-gallery a:first-child { grid-column: 1 / -1; }
.rd-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.rd-gallery a:first-child img { aspect-ratio: 16 / 9; }
.rd-gallery a:hover img { transform: scale(1.05); }

.rd-info {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.rd-info h1,
.rd-info h2 { margin: 0 0 6px; font-family: var(--ff-serif); font-weight: 500; font-size: 28px; color: var(--ink); }
.rd-price { margin: 0 0 18px; font-size: 13px; color: var(--muted); }
.rd-price strong { color: var(--gold); font-size: 15px; font-weight: 500; }

.spec-list { display: grid; gap: 0; margin: 20px 0 24px; border-top: 1px solid var(--line); }
.spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}
.spec-list li span:first-child { color: var(--muted); letter-spacing: .04em; }
.spec-list li span:last-child { color: var(--ink-soft); text-align: right; }

.rd-info .btn { width: 100%; }
.rd-desc p { margin: 0 0 16px; font-size: 14.5px; line-height: 1.75; color: var(--body); }
.rd-feature-list { display: grid; gap: 10px; margin-top: 20px; }
.rd-feature-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--ink-soft);
}
.rd-feature-list li::before {
  content: ""; flex: none; margin-top: 7px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
}

/* ---------- gallery grid ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}
.gallery-grid a {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream-alt);
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .6s var(--ease), filter .4s var(--ease);
}
.gallery-grid a:hover img { transform: scale(1.06); filter: brightness(1.05); }
.gallery-grid a.tall { grid-row: span 2; }
.gallery-grid a.tall img { aspect-ratio: 4 / 6.3; }

/* ---------- menu / feature lists ---------- */
.menu-list { max-width: 720px; margin-inline: auto; }
.menu-list .menu-row {
  display: flex; align-items: baseline; gap: 14px;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.menu-list .menu-row h3 {
  margin: 0; font-family: var(--ff-serif); font-size: 19px; font-weight: 500; color: var(--ink);
  white-space: nowrap;
}
.menu-list .menu-row .dots { flex: 1; border-bottom: 1px dotted var(--line); transform: translateY(-4px); }
.menu-list .menu-row .meta { font-size: 13px; color: var(--muted); white-space: nowrap; }
.menu-note { margin: 22px auto 0; max-width: 720px; font-size: 13px; color: var(--muted); }

/* two-column info rows (hours, details) */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.info-block h3 {
  margin: 0 0 12px; font-size: 11px; font-weight: 500; letter-spacing: .2em;
  text-transform: uppercase; color: var(--gold);
}
.info-block p, .info-block li { font-size: 14px; color: var(--ink-soft); line-height: 1.7; margin: 0 0 6px; }
.info-block ul { display: grid; gap: 6px; }

/* capacity table (meetings) */
.capacity-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.capacity-table caption { text-align: left; font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.capacity-table th, .capacity-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.capacity-table thead th {
  font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); background: var(--cream-alt);
}
.capacity-table td:first-child { color: var(--ink); font-weight: 400; }

/* ---------- contact form ---------- */
.contact-cols { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }

.contact-form { display: grid; gap: 18px; }
.contact-form .field { display: grid; gap: 7px; }
.contact-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label {
  font-size: 10.5px; font-weight: 500; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted);
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  font-size: 14.5px;
  color: var(--ink);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(169, 133, 79, .14);
}
.contact-form .btn { justify-self: start; }
.form-msg { margin: 4px 0 0; min-height: 20px; font-size: 13px; color: var(--gold-dark); }

/* ---------- long-form prose (policies, about) ---------- */
.prose { max-width: 760px; margin-inline: auto; }
.prose h2 {
  margin: 40px 0 14px;
  font-family: var(--ff-serif);
  font-size: 26px; font-weight: 500; color: var(--ink);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  margin: 26px 0 10px;
  font-size: 12px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold-dark);
}
.prose p { margin: 0 0 16px; font-size: 15px; line-height: 1.8; color: var(--body); }
.prose ul { display: grid; gap: 9px; margin: 0 0 18px; padding-left: 0; }
.prose li {
  display: flex; align-items: flex-start; gap: 11px;
  font-size: 15px; line-height: 1.7; color: var(--body);
}
.prose li::before {
  content: ""; flex: none; margin-top: 9px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
}
.prose .review-note {
  margin: 0 0 28px; padding: 16px 20px;
  border-left: 3px solid var(--gold);
  background: var(--cream-alt);
  font-size: 13.5px; color: var(--ink-soft);
}
.prose .muted-date { font-size: 13px; color: var(--muted); letter-spacing: .04em; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); text-align: center; }
.cta-band .eyebrow { color: var(--gold-soft); }
.cta-band h2 { color: var(--white); }
.cta-band p { margin: 0 auto 28px; max-width: 560px; color: rgba(255, 255, 255, .72); font-size: 15px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cta-band .btn-outline { color: var(--white); border-color: rgba(255, 255, 255, .4); }
.cta-band .btn-outline:hover { color: var(--white); border-color: var(--gold); background: var(--gold); }

/* related rooms reuse .room-grid-pair but cap width differently */
.related-rooms .room-grid-pair { max-width: 100%; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .room-detail { grid-template-columns: 1fr; gap: 32px; }
  .rd-info { position: static; }
  .contact-cols { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  .page-hero { min-height: 320px; padding-bottom: 40px; }
  .rd-gallery { grid-template-columns: 1fr; }
  .rd-gallery a:first-child img,
  .rd-gallery img { aspect-ratio: 4 / 3; }
  .contact-form .field-row { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
  .gallery-grid a.tall { grid-row: span 1; }
  .gallery-grid a.tall img { aspect-ratio: 4 / 3; }
  .capacity-table { font-size: 13px; }
  .capacity-table th, .capacity-table td { padding: 11px 10px; }
}

/* ---------- legal pages (privacy, terms) ----------
   These have no photo hero, so without their own top offset the content
   slid underneath the fixed header. This band supplies the offset and
   holds the page's single h1. */
/* Dark, like every other page header: the fixed nav renders its links in
   white until the page is scrolled, so a light band here made them vanish. */
.legal-head {
  display: block;
  padding-top: calc(var(--header-h) + 56px);
  padding-bottom: 48px;
  background: var(--ink);
}
.legal-head .breadcrumb { margin-bottom: 18px; color: rgba(255, 255, 255, .55); }
.legal-head .breadcrumb a { color: var(--gold-soft); }
.legal-head .breadcrumb a:hover { color: var(--white); }
.legal-head .breadcrumb .sep { color: rgba(255, 255, 255, .3); }
.legal-head .breadcrumb .current { color: rgba(255, 255, 255, .55); }
.legal-head .eyebrow { margin-bottom: 8px; color: var(--gold-soft); }
.legal-title {
  margin: 0;
  font-family: var(--ff-serif);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--white);
}
@media (max-width: 640px) {
  .legal-head { padding-top: calc(var(--header-h) + 32px); padding-bottom: 28px; }
}

/* ---------- image lightbox ----------
   Gallery and room images open here instead of a raw new tab. */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: grid;
  place-items: center;
  padding: 72px 64px;
}
.lightbox[hidden] { display: none; }

.lb-scrim {
  position: absolute;
  inset: 0;
  background: rgba(10, 9, 7, .92);
  opacity: 0;
  transition: opacity .26s var(--ease);
}
.lightbox.open .lb-scrim { opacity: 1; }

.lb-stage {
  position: relative;
  margin: 0;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  opacity: 0;
  transform: scale(.985);
  transition: opacity .28s var(--ease), transform .28s var(--ease);
}
.lightbox.open .lb-stage { opacity: 1; transform: none; }

.lb-img {
  max-width: 100%;
  max-height: calc(100vh - 170px);
  width: auto;
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
  background: #000;
}

.lb-cap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255, 255, 255, .78);
}
.lb-count {
  font-size: 11px;
  letter-spacing: .16em;
  color: rgba(255, 255, 255, .5);
}

.lb-btn {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .34);
  background: rgba(255, 255, 255, .07);
  color: var(--white);
  backdrop-filter: blur(6px);
  transition: background-color .25s var(--ease), border-color .25s var(--ease),
              transform .25s var(--ease);
}
.lb-btn svg {
  width: 19px; height: 19px;
  fill: none; stroke: currentColor;
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.lb-btn:hover { background: var(--gold); border-color: var(--gold); }
.lb-btn[hidden] { display: none; }

.lb-close { top: 22px; right: 26px; }
.lb-close:hover { transform: rotate(90deg); }
.lb-prev { left: 22px; top: 50%; margin-top: -23px; }
.lb-next { right: 22px; top: 50%; margin-top: -23px; }

@media (max-width: 760px) {
  .lightbox { padding: 64px 14px; }
  .lb-img { max-height: calc(100vh - 190px); }
  .lb-prev { left: 10px; }
  .lb-next { right: 10px; }
  .lb-close { top: 14px; right: 14px; }
  .lb-btn { width: 40px; height: 40px; }
  .lb-prev, .lb-next { margin-top: -20px; }
}

/* the gallery links are real links, so show that they are clickable */
.gallery-grid a, .rd-gallery a, .gallery-thumbs a { cursor: zoom-in; }

/* ---------- template / not-real-data flag ----------
   Used where the page still carries placeholder content, so nobody mistakes
   it for live data. Deliberately loud. */
.template-flag {
  margin: 18px 0 0;
  padding: 14px 18px;
  border-left: 3px solid #b4342c;
  background: #fdf0ee;
  border-radius: 0 6px 6px 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: #6d2621;
  max-width: 54ch;
}
.template-flag strong { display: block; margin-bottom: 3px; color: #8c2a22; }


/* footer reservations column: a booking CTA rather than repeating the
   phone number that already sits in the Contact Us column */
.footer-note {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .55);
  max-width: 24ch;
}
.footer-cta { display: inline-flex; }

/* ---------- fact cards (the guest-rating row) ----------
   These carry statements about the hotel, not guest quotes, so they are
   left-aligned and headed rather than styled as testimonials. */
.story-card .story-meta { text-align: left; padding: 20px 18px 18px; }
.fact-title {
  margin: 0 0 6px;
  font-family: var(--ff-serif);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--white);
}
.fact-line {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .76);
}
.stories-copy .link-arrow { margin-top: 18px; }
