/* Snowy Mountain Inn — site styles
   Palette from the logo badge: gold accent, deep navy, forest green, warm cream. */

:root {
  --gold: #C8952A;
  --gold-deep: #A6771C;
  --navy: #2B2F5A;
  --forest: #1E3A2A;
  --forest-deep: #14281D;
  --cream: #F6F1E7;
  --cream-deep: #EFE7D7;
  --sand: #E9DFCB;
  --ink: #22272B;
  --ink-soft: #4F565C;
  --white: #FFFFFF;

  --font-serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-sans: "Source Sans 3", "Segoe UI", system-ui, sans-serif;

  --radius: 12px;
  --radius-sm: 8px;
  --container: 1200px;
  --gutter: 16px;
  --shadow: 0 10px 30px rgba(20, 40, 29, 0.12);
  --section: clamp(3.5rem, 8vw, 6.5rem);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg, iframe { max-width: 100%; display: block; }
img { height: auto; }
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 0.6em;
  color: var(--forest-deep);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
p { margin: 0 0 1em; }
a { color: var(--forest); text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
a:hover { color: var(--gold-deep); }
ul { padding-left: 1.2em; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
@media (min-width: 880px) { .container { padding-inline: 32px; } }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -4rem; background: var(--gold); color: var(--ink); padding: 0.6rem 1rem; border-radius: var(--radius-sm); z-index: 100; }
.skip-link:focus { top: 1rem; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 0.9rem;
}
.eyebrow--light { color: var(--gold); }
.lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 60ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  font: 600 1rem var(--font-sans);
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-deep); border-color: var(--gold-deep); color: var(--white); }
.btn-ghost { background: transparent; color: var(--forest-deep); border-color: var(--forest-deep); }
.btn-ghost:hover { background: var(--forest-deep); color: var(--cream); }
.btn-ghost--light { color: var(--cream); border-color: rgba(246, 241, 231, 0.6); }
.btn-ghost--light:hover { background: var(--cream); color: var(--forest-deep); border-color: var(--cream); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid var(--sand);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; position: relative; }
.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--forest-deep); }
.brand img { width: 56px; height: auto; }
.brand__name { font-family: var(--font-serif); font-weight: 600; font-size: 1.2rem; letter-spacing: 0.01em; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; border-radius: var(--radius-sm);
}
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after {
  display: block; width: 24px; height: 2px; background: var(--forest-deep); border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle__bar { position: relative; }
.nav-toggle__bar::before, .nav-toggle__bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bar::before { top: -7px; }
.nav-toggle__bar::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: translateY(-7px) rotate(-45deg); }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 1.6rem; }
.site-nav a:not(.btn) {
  font-size: 0.86rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--forest-deep); text-decoration: none; padding: 0.4rem 0; border-bottom: 2px solid transparent;
}
.site-nav a:not(.btn):hover { border-bottom-color: var(--gold); color: var(--forest-deep); }
.site-header__actions { display: flex; align-items: center; gap: 0.5rem; }
.site-header__cta { padding: 0.6rem 1rem; font-size: 0.95rem; }

@media (max-width: 879px) {
  .brand__name { display: none; }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream); border-bottom: 1px solid var(--sand); box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 0.25rem var(--gutter) 0.5rem; }
  .site-nav li { border-bottom: 1px solid var(--sand); }
  .site-nav li:last-child { border-bottom: 0; }
  .site-nav a:not(.btn) { display: block; padding: 0.9rem 0; border-bottom: 0; }
}
@media (min-width: 880px) {
  .nav-toggle { display: none; }
  .site-header__inner { gap: 2rem; }
  .site-header__cta { padding: 0.65rem 1.2rem; }
}

.book-banner { background: var(--sand); border-bottom: 1px solid #DCCFB4; }
.book-banner .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.6rem; }
.book-banner p { margin: 0; }
.book-banner__close { border: 0; background: transparent; font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--ink-soft); padding: 0.25rem 0.5rem; }

/* ---------- Hero + booking bar ---------- */
.hero { position: relative; isolation: isolate; color: var(--cream); min-height: min(88vh, 760px); display: flex; align-items: flex-end; padding-block: clamp(4rem, 9vw, 7rem) 2.5rem; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20, 40, 29, 0.25) 0%, rgba(20, 40, 29, 0.35) 45%, rgba(20, 40, 29, 0.78) 100%);
}
.hero__inner { display: flex; flex-direction: column; gap: 2.25rem; }
.hero__copy { max-width: 46rem; }
.hero__title { color: var(--white); font-size: clamp(2.5rem, 5.6vw, 4.4rem); margin-bottom: 0.4em; text-wrap: balance; }
.hero__lede { font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 40rem; color: rgba(246, 241, 231, 0.92); margin: 0; }

.booking-bar {
  display: grid; grid-template-columns: 1fr; gap: 0.75rem;
  background: var(--white); color: var(--ink);
  padding: 1rem; border-radius: var(--radius); box-shadow: var(--shadow);
}
.booking-bar__field { display: grid; gap: 0.3rem; }
.booking-bar label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.booking-bar input, .booking-bar select {
  font: inherit; color: var(--ink); background: var(--cream); border: 1px solid var(--sand); border-radius: var(--radius-sm);
  padding: 0.7rem 0.8rem; min-height: 48px; width: 100%;
}
.booking-bar__submit { min-height: 48px; align-self: end; }
.booking-bar__msg { grid-column: 1 / -1; margin: 0; padding: 0.6rem 0.8rem; border-radius: var(--radius-sm); background: var(--cream-deep); color: var(--forest-deep); font-weight: 600; }
.booking-bar__msg a { color: var(--gold-deep); }
@media (min-width: 640px) { .booking-bar { grid-template-columns: 1fr 1fr; } .booking-bar__submit { grid-column: 1 / -1; } }
@media (min-width: 880px) { .booking-bar { grid-template-columns: 1.2fr 1.2fr 1fr auto; gap: 1rem; padding: 1.1rem 1.25rem; } .booking-bar__submit { grid-column: auto; } }

/* ---------- Sections + layout ---------- */
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * 0.6); }
.section--dark { background: var(--forest-deep); color: var(--cream); }
.section--dark h2, .section--dark h3 { color: var(--cream); }
.section--dark .eyebrow { color: var(--gold); }
.section--dark a { color: var(--cream); }
.section--sand { background: var(--cream-deep); }
.section__head { max-width: 62rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head p { color: var(--ink-soft); font-size: 1.12rem; max-width: 60ch; }
.section__head--center p { margin-inline: auto; }
.section__actions { margin-top: clamp(1.5rem, 3vw, 2.5rem); display: flex; gap: 1rem; flex-wrap: wrap; }
.section__actions--center { justify-content: center; }

.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }

.split { display: grid; gap: 2rem; align-items: center; }
.split--top { align-items: start; }
@media (min-width: 880px) { .split { grid-template-columns: 1.1fr 1fr; gap: 4rem; } .split--reverse > :first-child { order: 2; } }
.room-card__badges { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.split img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- Cards ---------- */
.card { background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card__body { padding: 1.25rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.card__body h3 { margin: 0; }
.card__body p { margin: 0; color: var(--ink-soft); }
.card__meta { font-size: 0.92rem; color: var(--ink-soft); display: flex; flex-wrap: wrap; gap: 0.35rem 0.9rem; }
.card__actions { margin-top: auto; padding-top: 0.5rem; }
.card__img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.room-card .card__img { transition: transform 0.5s ease; }
.room-card:hover .card__img { transform: scale(1.03); }
.card__media { overflow: hidden; }
.card__features { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.card__features li { font-size: 0.86rem; background: var(--cream); border: 1px solid var(--sand); border-radius: 999px; padding: 0.2rem 0.65rem; }

.badge { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; padding: 0.25rem 0.65rem; border-radius: 999px; background: var(--forest-deep); color: var(--cream); width: fit-content; }
.badge--muted { background: var(--sand); color: var(--ink); }
.badge--new { background: var(--gold); color: var(--ink); }

/* ---------- Icon grid (amenities) ---------- */
.icon-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); list-style: none; padding: 0; margin: 0; }
.icon-grid li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.6rem; padding: 1.25rem 0.75rem; background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius); font-weight: 600; font-size: 0.95rem; }
.icon-grid svg { width: 30px; height: 30px; stroke: var(--forest); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Photo cards (seasons) ---------- */
.photo-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; display: block; color: var(--cream); text-decoration: none; isolation: isolate; }
.photo-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.photo-card:hover img { transform: scale(1.04); }
.photo-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 40, 29, 0) 35%, rgba(20, 40, 29, 0.85) 100%); }
.photo-card__text { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.25rem; z-index: 1; }
.photo-card__text h3 { color: var(--white); margin: 0 0 0.2rem; }
.photo-card__text p { margin: 0; font-size: 0.95rem; color: rgba(246, 241, 231, 0.9); }
.photo-card:hover { color: var(--cream); }

/* ---------- Photo band ---------- */
.photo-band { position: relative; isolation: isolate; color: var(--cream); padding-block: clamp(4rem, 10vw, 7rem); }
.photo-band img.photo-band__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.photo-band::after { content: ""; position: absolute; inset: 0; background: rgba(20, 40, 29, 0.72); z-index: -1; }
.photo-band h2, .photo-band h3 { color: var(--white); }
.photo-band .eyebrow { color: var(--gold); }
.photo-band p { color: rgba(246, 241, 231, 0.92); }
.photo-band__inner { max-width: 44rem; }

/* ---------- Reviews ---------- */
.rating { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 1.05rem; color: var(--ink); margin: 0 0 1rem; }
.rating__stars { color: var(--gold); letter-spacing: 0.1em; font-size: 1.1rem; line-height: 1; }
.rating strong { font-family: var(--font-serif); font-size: 1.3rem; color: var(--forest-deep); }
.review { padding: 1.5rem; gap: 0.75rem; }
.review__quote { font-family: var(--font-serif); font-style: italic; font-size: 1.15rem; color: var(--forest-deep); margin: 0; }
.review__who { font-size: 0.9rem; color: var(--ink-soft); margin: 0; }
.review--placeholder { border-style: dashed; background: transparent; }

/* ---------- Page header (inner pages) ---------- */
.page-header { background: var(--forest-deep); color: var(--cream); padding-block: clamp(3rem, 7vw, 5rem); }
.page-header h1 { color: var(--white); margin-bottom: 0.3em; }
.page-header p { color: rgba(246, 241, 231, 0.88); font-size: 1.15rem; max-width: 60ch; margin: 0; }
.page-header .eyebrow { color: var(--gold); }
.page-header a { color: var(--gold); }
.page-header a:hover { color: var(--white); }

/* ---------- Room page ---------- */
.room-head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; margin-bottom: 1rem; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; margin: 1.5rem 0 2rem; padding: 0; }
.facts div { background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius-sm); padding: 0.9rem 1rem; }
.facts dt { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.facts dd { margin: 0.2rem 0 0; font-weight: 600; color: var(--forest-deep); }
.amenities { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 0.5rem 1.5rem; }
.amenities li { padding-left: 1.4rem; position: relative; }
.amenities li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.gallery { display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); }
.gallery img:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 8; }
.stay-info { background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius); padding: 1.5rem; }
.stay-info h2 { font-size: 1.4rem; }
.stay-info ul { margin: 0; }

/* ---------- Prose ---------- */
.notice { background: var(--white); border: 1px solid var(--sand); border-left: 4px solid var(--gold); border-radius: var(--radius-sm); padding: 1rem 1.25rem; margin: 0 0 2rem; }
.notice strong { color: var(--forest-deep); }
.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; }
.prose li { margin-bottom: 0.4em; }

/* ---------- Lists (eat & drink, supplies) ---------- */
.listing { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; }
.listing li { background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius-sm); padding: 0.9rem 1.1rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 1rem; }
.listing strong { color: var(--forest-deep); }
.listing span { color: var(--ink-soft); }
.listing a { white-space: nowrap; }
.listing--dark li { background: rgba(246, 241, 231, 0.06); border-color: rgba(246, 241, 231, 0.15); }
.listing--dark strong { color: var(--white); }
.listing--dark span { color: rgba(246, 241, 231, 0.8); }
.listing--dark a { color: var(--gold); }

.pill-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pill-nav a { display: inline-block; padding: 0.45rem 0.9rem; border-radius: 999px; background: var(--white); border: 1px solid var(--sand); text-decoration: none; font-weight: 600; font-size: 0.92rem; color: var(--forest-deep); }
.pill-nav a:hover { border-color: var(--gold); color: var(--gold-deep); }
.gallery--even img:first-child { grid-column: auto; aspect-ratio: 4 / 3; }
.section--dark .section__head p { color: rgba(246, 241, 231, 0.85); }
.section--dark .grid h3 { margin-bottom: 0.9rem; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1rem; }
.form label { display: block; font-weight: 600; margin-bottom: 0.3rem; }
.form input, .form textarea, .form select { font: inherit; width: 100%; padding: 0.75rem 0.9rem; border: 1px solid var(--sand); border-radius: var(--radius-sm); background: var(--white); color: var(--ink); min-height: 48px; }
.form textarea { min-height: 160px; resize: vertical; }
.form__row { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.form__msg { margin: 0; padding: 0.8rem 1rem; border-radius: var(--radius-sm); background: var(--cream-deep); font-weight: 600; }
.ghl-form { background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius); padding: 0.5rem; }
.ghl-form iframe { display: block; width: 100%; }
.ghl-form__fallback { margin-top: 1rem; color: var(--ink-soft); font-size: 0.95rem; }

.map { border: 0; width: 100%; aspect-ratio: 4 / 3; border-radius: var(--radius); }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest-deep); color: var(--cream); margin-top: auto; }
.site-footer a { color: var(--cream); }
.site-footer a:hover { color: var(--gold); }
.site-footer__inner { display: grid; gap: 2rem; padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.site-footer__brand img { width: 120px; }
.site-footer__heading { font-family: var(--font-sans); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.site-footer__legal { border-top: 1px solid rgba(246, 241, 231, 0.15); padding-block: 1.25rem; font-size: 0.9rem; color: rgba(246, 241, 231, 0.7); }
.site-footer__legal p { margin: 0; }
.social { display: flex; gap: 0.75rem; margin-top: 0.9rem; }

/* ---------- Motion ---------- */
.fade-in { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-in { opacity: 1; transform: none; transition: none; }
  .btn, .card__img, .photo-card img { transition: none; }
}
