/* ============================================
   THE EYRIE — Brand Stylesheet
   Navy / Gold identity, carried from guest documents
   ============================================ */

:root {
  --navy: #1C2B3A;
  --navy-deep: #131D27;
  --gold: #C9A84C;
  --gold-light: #E8C46A;
  --grey-blue: #5B7A9A;
  --off-white: #F5F0E8;
  --white: #FFFFFF;

  --font-display: Georgia, 'Times New Roman', serif;
  --font-body: Georgia, 'Times New Roman', serif;
  --font-utility: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  --max-width: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-body);
  background: var(--off-white);
  color: var(--navy);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  font-family: inherit;
  cursor: pointer;
}

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

/* ============================================
   WAYFINDING SIGNATURE — gold rule + tagline
   Recurring across every page, lifted from the
   guest document system
   ============================================ */

.eyrie-tagline {
  font-family: var(--font-utility);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.gold-rule {
  width: 56px;
  height: 2px;
  background: var(--gold);
  border: none;
  margin: 0;
}

.gold-rule.centered {
  margin: 0 auto;
}

/* ============================================
   NAVIGATION
   ============================================ */

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 28px 0;
}

.site-header.solid {
  position: sticky;
  background: var(--navy);
  padding: 18px 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-wordmark {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  color: var(--white);
  font-weight: 400;
}

.nav-wordmark .accent {
  color: var(--gold);
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-utility);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--off-white);
  font-weight: 500;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-light);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
}

@media (max-width: 820px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 260px;
    background: var(--navy-deep);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 40px;
    gap: 28px;
    transition: right 0.3s ease;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-toggle {
    display: block;
  }
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-block;
  font-family: var(--font-utility);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 16px 32px;
  border: 1px solid transparent;
  transition: all 0.25s ease;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
}

.btn-gold:hover {
  background: var(--gold-light);
}

.btn-outline {
  background: transparent;
  border-color: var(--gold);
  color: var(--white);
}

.btn-outline:hover {
  background: rgba(201, 168, 76, 0.12);
}

.btn-outline-navy {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}

.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================
   HERO
   ============================================ */

.hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  max-height: 920px;
  display: flex;
  align-items: flex-end;
  background: var(--navy);
  overflow: hidden;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(19, 29, 39, 0.92) 0%,
    rgba(19, 29, 39, 0.45) 38%,
    rgba(19, 29, 39, 0.05) 65%,
    rgba(19, 29, 39, 0.25) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  padding: 0 32px 88px;
  color: var(--white);
}

.hero-eyebrow {
  font-family: var(--font-utility);
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 18px;
  font-weight: 600;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.05;
  margin-bottom: 22px;
  max-width: 800px;
}

.hero-sub {
  font-family: var(--font-utility);
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--off-white);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.6;
}

/* ============================================
   PAGE HEADER (compact hero for subpages)
   ============================================ */

.page-header {
  position: relative;
  height: 46vh;
  min-height: 320px;
  max-height: 480px;
  display: flex;
  align-items: flex-end;
  background: var(--navy);
  overflow: hidden;
}

.page-header-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-header-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  padding: 0 32px 56px;
  color: var(--white);
}

.page-header-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  margin-bottom: 6px;
}

/* ============================================
   GALLERY GRID
   ============================================ */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-grid figure {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
}

.gallery-grid figure.wide {
  grid-column: span 2;
  aspect-ratio: 8 / 3;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-grid figure:hover img {
  transform: scale(1.05);
}

.gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 16px;
  background: linear-gradient(to top, rgba(19,29,39,0.78), transparent);
  color: var(--white);
  font-family: var(--font-utility);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-grid figure:hover .gallery-caption {
  opacity: 1;
}

@media (max-width: 820px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid figure.wide {
    grid-column: span 2;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 540px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid figure.wide {
    grid-column: span 1;
    aspect-ratio: 4 / 3;
  }
}

/* ============================================
   LIGHTBOX
   ============================================ */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(19, 29, 39, 0.95);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 100%;
  max-height: 86vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--white);
  font-size: 2.4rem;
  cursor: pointer;
  padding: 12px 20px;
}

.lightbox-prev { left: 8px; }
.lightbox-next { right: 8px; }

/* ============================================
   SECTIONS
   ============================================ */

.section {
  padding: 96px 32px;
}

.section-tight {
  padding: 64px 32px;
}

.section-navy {
  background: var(--navy);
  color: var(--off-white);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-eyebrow {
  font-family: var(--font-utility);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 400;
  margin-bottom: 18px;
}

.section-rule {
  margin: 18px auto 0;
}

/* ============================================
   AT A GLANCE STRIP
   ============================================ */

.glance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  max-width: 920px;
  margin: 0 auto;
}

.glance-item {
  text-align: center;
}

.glance-figure {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--gold);
  margin-bottom: 8px;
  line-height: 1;
}

.glance-label {
  font-family: var(--font-utility);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey-blue);
}

@media (max-width: 700px) {
  .glance-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* ============================================
   GALLERY TEASER GRID
   ============================================ */

.teaser-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  height: 560px;
}

.teaser-grid a {
  position: relative;
  overflow: hidden;
  display: block;
}

.teaser-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.teaser-grid a:hover img {
  transform: scale(1.05);
}

.teaser-large {
  grid-row: span 2;
}

.teaser-grid a::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(19,29,39,0.35), transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.teaser-grid a:hover::after {
  opacity: 1;
}

@media (max-width: 820px) {
  .teaser-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 200px);
    height: auto;
  }
  .teaser-large {
    grid-column: span 2;
    grid-row: auto;
  }
}

/* ============================================
   STORY / SPLIT SECTION
   ============================================ */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split-text .section-eyebrow,
.split-text .section-title {
  text-align: left;
}

.split-text p {
  color: var(--navy);
  font-size: 1.02rem;
  margin-bottom: 18px;
  max-width: 480px;
}

.split-img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

@media (max-width: 820px) {
  .split {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .split-img {
    min-height: 320px;
    order: -1;
  }
}

/* ============================================
   BOOKING CTA STRIP
   ============================================ */

.cta-strip {
  background: var(--navy);
  padding: 72px 32px;
  text-align: center;
}

.cta-strip .section-title {
  color: var(--white);
}

.cta-strip p {
  font-family: var(--font-utility);
  color: var(--grey-blue);
  max-width: 480px;
  margin: 0 auto 32px;
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  background: var(--navy-deep);
  color: var(--off-white);
  padding: 64px 32px 32px;
}

.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-wordmark {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-wordmark .accent {
  color: var(--gold);
}

.footer-addr {
  font-family: var(--font-utility);
  font-size: 0.88rem;
  color: var(--grey-blue);
  line-height: 1.7;
}

.footer-heading {
  font-family: var(--font-utility);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-family: var(--font-utility);
  font-size: 0.9rem;
  color: var(--off-white);
  transition: color 0.2s ease;
}

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

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-family: var(--font-utility);
  font-size: 0.78rem;
  color: var(--grey-blue);
}

@media (max-width: 820px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* ============================================
   AMENITIES
   ============================================ */

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 48px;
  margin-bottom: 72px;
}

.amenity-group h3 {
  font-family: var(--font-utility);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(201,168,76,0.25);
}

.amenity-list {
  list-style: none;
}

.amenity-list li {
  font-family: var(--font-utility);
  font-size: 0.92rem;
  color: var(--navy);
  padding: 10px 0 10px 22px;
  border-bottom: 1px solid rgba(28,43,58,0.08);
  line-height: 1.55;
  position: relative;
}

.amenity-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid var(--gold);
}

.section-navy .amenity-group h3 {
  color: var(--gold);
  border-bottom-color: rgba(201,168,76,0.2);
}

.section-navy .amenity-list li {
  color: var(--off-white);
  border-bottom-color: rgba(255,255,255,0.08);
}

/* Primary bullet item (the name/link) — larger, display font, underlined gold */
.amenity-list a {
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--gold);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.amenity-list a:hover {
  color: var(--gold-light);
}

.section-navy .amenity-list a {
  color: var(--gold-light);
}

.section-navy .amenity-list a:hover {
  color: var(--white);
}

/* Sub-level (nested) list items — simple round bullet, not a dash/arrow */
.amenity-list li ul {
  list-style: none;
  margin: 8px 0 0;
}

.amenity-list li ul li {
  border-bottom: none;
  padding: 3px 0 3px 16px;
  font-size: 0.9rem;
}

.amenity-list li ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 3px;
  border: none;
  width: auto;
  height: auto;
  font-size: 0.9rem;
  color: var(--gold);
}

.section-navy .amenity-list li ul li::before {
  color: var(--gold-light);
}

/* Know Before You Book */
.know-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
}

.know-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,168,76,0.2);
  padding: 28px 32px;
}

.know-card-icon {
  font-size: 1.5rem;
  margin-bottom: 12px;
  line-height: 1;
}

.know-card h4 {
  font-family: var(--font-utility);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 10px;
}

.know-card p {
  font-family: var(--font-utility);
  font-size: 0.9rem;
  color: var(--off-white);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .amenities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .amenities-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .know-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   UTILITY
   ============================================ */

.text-center { text-align: center; }

@media (max-width: 600px) {
  .section { padding: 64px 20px; }
  .hero-content { padding: 0 20px 56px; }
}
.ski-map {
  margin: 48px 0 0;
}