/* Pyramid Lake Lodge — site stylesheet
   Hand-written, no framework. Brand: red #e32e27, gold #f3c01f. */

/* ---------- fonts ---------- */
@font-face {
  font-family: "Josefin Sans";
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url(/assets/fonts/JosefinSans.woff2) format("woff2");
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(/assets/fonts/OpenSans.woff2) format("woff2");
}

/* ---------- tokens / reset ---------- */
:root {
  --red: #e32e27;
  --red-dark: #b91f19;
  --gold: #f3c01f;
  --sand: #faf7f2;
  --paper: #ffffff;
  --ink: #211d19;
  --ink-soft: #6b6259;
  --line: #e8e0d4;
  --dark: #191c20;
  --dark-soft: #262a2f;
  --radius: 12px;
  --shadow: 0 2px 10px rgba(33, 29, 25, 0.08);
  --shadow-lift: 0 10px 30px rgba(33, 29, 25, 0.16);
  --heading: "Josefin Sans", "Trebuchet MS", sans-serif;
  --body: "Open Sans", "Helvetica Neue", Arial, sans-serif;
  --wrap: 72rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--sand);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); }
a:hover { color: var(--red-dark); }

h1, h2, h3, h4, h5 {
  font-family: var(--heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.015em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); text-transform: uppercase; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); text-transform: uppercase; }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.55rem); }
p { margin: 0 0 1.1em; }
.muted { color: var(--ink-soft); }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }
.section { padding-block: clamp(2.75rem, 7vw, 5rem); }
.section-tight { padding-block: clamp(2rem, 5vw, 3.25rem); }

.eyebrow {
  display: block;
  font-family: var(--heading);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.9rem;
}
.eyebrow::after {
  content: "";
  display: block;
  width: 3.2rem;
  height: 3px;
  margin-top: 0.55rem;
  background: var(--gold);
  border-radius: 2px;
}
.center { text-align: center; }
.center .eyebrow::after { margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--heading);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.9rem 1.7rem 0.75rem; /* Josefin sits high; nudge optical center */
  border-radius: 999px;
  border: 2px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); color: #fff; transform: translateY(-1px); }
.btn-outline { border-color: #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--ink); }
.btn-dark-outline { border-color: var(--ink); color: var(--ink); }
.btn-dark-outline:hover { background: var(--ink); color: #fff; }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-bar {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 4.5rem;
}
.brand { margin-right: auto; display: flex; align-items: center; flex-shrink: 0; }
.brand img { width: 168px; height: 63px; object-fit: contain; }
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
}
.nav-toggle svg { display: block; width: 26px; height: 26px; stroke: var(--ink); }
.nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list > li { position: relative; }
.nav-list a {
  display: block;
  white-space: nowrap;
  font-family: var(--heading);
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  padding: 0.65rem 0.75rem 0.5rem;
}
.nav-list a:hover { color: var(--red); }
.nav-list a[aria-current="page"] { color: var(--red); }
.has-menu > a::after { content: " ▾"; font-size: 0.7em; }
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 13.5rem;
  margin: 0;
  padding: 0.5rem 0;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-lift);
  opacity: 0;
  visibility: hidden;
  translate: 0 8px;
  transition: opacity 0.15s, translate 0.15s, visibility 0.15s;
}
.has-menu:hover .submenu,
.has-menu:focus-within .submenu,
.has-menu.open .submenu { opacity: 1; visibility: visible; translate: 0 0; }
.submenu a { padding: 0.55rem 1.1rem 0.4rem; letter-spacing: 0.08em; }
.nav-call { margin-left: 0.5rem; white-space: nowrap; }
.nav-call.btn { padding: 0.7rem 1.25rem 0.55rem; font-size: 0.86rem; }

@media (max-width: 1000px) {
  .nav-toggle { display: block; }
  .nav-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lift);
    padding: 0.5rem 0 1rem;
    max-height: calc(100dvh - 4.5rem);
    overflow-y: auto;
  }
  .nav-list.open { display: flex; }
  .nav-list a { padding: 0.8rem 1.5rem 0.65rem; font-size: 1rem; }
  .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    translate: none;
    border: 0;
    box-shadow: none;
    background: var(--sand);
    border-radius: 0;
    padding: 0;
    display: none;
  }
  .has-menu.open .submenu { display: block; }
  .submenu a { padding-left: 2.6rem; }
  .nav-call { margin: 0.75rem 1.5rem 0; text-align: center; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  min-height: clamp(30rem, 88vh, 52rem);
  isolation: isolate;
  overflow: hidden;
}
.hero-sub { min-height: clamp(15rem, 42vh, 24rem); }
.hero-img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(20, 18, 16, 0.35) 0%, rgba(20, 18, 16, 0.55) 100%);
}
.hero-inner { padding: clamp(4rem, 10vh, 7rem) 1rem; max-width: 56rem; }
.hero h1 { text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45); margin-bottom: 0.4em; }
.hero .tagline {
  font-family: var(--heading);
  font-weight: 400;
  font-size: clamp(1.05rem, 2.4vw, 1.45rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
  margin-bottom: 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; }
.hero-sub h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.hero-sub .tagline { margin-bottom: 0; font-size: clamp(0.95rem, 2vw, 1.15rem); }

/* ---------- breadcrumb ---------- */
.breadcrumb { font-size: 0.85rem; color: var(--ink-soft); margin: 1.4rem 0 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; margin: 0; padding: 0; }
.breadcrumb li { display: flex; align-items: center; }
.breadcrumb li + li::before { content: "›"; margin-right: 0.4rem; color: var(--line); }
.breadcrumb a { color: var(--ink-soft); text-decoration: none; display: inline-block; padding-block: 0.3rem; }
.breadcrumb a:hover { color: var(--red); }

/* ---------- cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(17rem, 100%), 1fr));
  gap: clamp(1.1rem, 2.5vw, 1.8rem);
}
.card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.18s, box-shadow 0.18s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.card-photo { aspect-ratio: 3 / 2; overflow: hidden; background: var(--dark-soft); }
.card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s; }
.card:hover .card-photo img { transform: scale(1.04); }
.card-body { display: flex; flex-direction: column; gap: 0.35rem; padding: 1.2rem 1.3rem 1.4rem; flex: 1; }
.card-body h3 { margin: 0; text-transform: uppercase; letter-spacing: 0.04em; }
.card-title-link { text-decoration: none; color: inherit; }
.card-title-link:hover { color: var(--red); }
.card-beds { color: var(--ink-soft); font-size: 0.94rem; }
.card-cta {
  margin-top: auto;
  padding-top: 0.8rem;
  font-family: var(--heading);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--red);
}
.card-cta:hover { color: var(--red-dark); }
.card-count {
  align-self: flex-start;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--heading);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.3rem 0.8rem 0.15rem;
  margin-bottom: 0.4rem;
}
/* stretched-link cards: whole card clickable */
.card { position: relative; }
.card-cta.stretch::after { content: ""; position: absolute; inset: 0; }

/* 4-item grids: explicit uniform tracks (2x2 medium, 4-up wide) so the
   4th card never wraps onto a lonely row */
@media (min-width: 560px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .card-grid.grid-4 { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 700px) {
  .quotes.grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- split section ---------- */
.split {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
@media (min-width: 800px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split.rev > .split-media { order: 2; }
}
@media (max-width: 799px) {
  .split-lead > .split-media { order: -1; }
}
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow-lift); width: 100%; max-height: min(60vh, 520px); object-fit: cover; }

/* ---------- facts strip ---------- */
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(13rem, 100%), 1fr));
  gap: 1rem;
  text-align: center;
}
.fact {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.2rem 1.3rem;
  box-shadow: var(--shadow);
}
.fact strong {
  display: block;
  font-family: var(--heading);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--red);
  margin-bottom: 0.2rem;
}
.fact span { color: var(--ink-soft); font-size: 0.92rem; }

/* ---------- amenities / checklist ---------- */
.checklist { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; gap: 0.55rem; }
.checklist li { display: flex; align-items: baseline; gap: 0.6rem; }
.checklist svg { width: 1.05rem; height: 1.05rem; flex: none; translate: 0 2px; color: var(--red); }

/* ---------- gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(13rem, 100%), 1fr));
  gap: 0.8rem;
}
.gallery button {
  padding: 0;
  border: 0;
  background: var(--dark-soft);
  border-radius: 10px;
  overflow: hidden;
  cursor: zoom-in;
  aspect-ratio: 3 / 2;
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.gallery button:hover img { transform: scale(1.05); }

.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 100rem); max-height: 96vh; }
.lightbox::backdrop { background: rgba(12, 11, 10, 0.88); }
.lightbox figure { margin: 0; position: relative; }
.lightbox img { max-width: min(94vw, 90rem); max-height: 86vh; width: auto; height: auto; margin-inline: auto; border-radius: 8px; }
.lightbox figcaption { color: #d8d2c8; text-align: center; font-size: 0.85rem; padding-top: 0.7rem; }
.lb-btn {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 0;
  border-radius: 999px;
  width: 2.9rem;
  height: 2.9rem;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(3px);
}
.lb-btn:hover { background: rgba(255, 255, 255, 0.28); }
.lb-prev { left: 0.6rem; }
.lb-next { right: 0.6rem; }
.lb-close { position: absolute; top: 0.6rem; right: 0.6rem; translate: none; width: 2.5rem; height: 2.5rem; font-size: 1.1rem; }

/* ---------- rate / call band ---------- */
.band {
  background: linear-gradient(120deg, var(--red) 0%, var(--red-dark) 100%);
  color: #fff;
  text-align: center;
}
.band h2 { color: #fff; }
.band p { max-width: 44rem; margin-inline: auto; }
.band .btn-outline { margin: 0.4rem 0.35rem 0; }
.rate-line {
  font-family: var(--heading);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.05em;
}

/* ---------- activity cards ---------- */
.activity { text-align: left; }
.activity .icon {
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #fdf3d3;
  color: var(--red);
  margin-bottom: 1rem;
}
.activity .icon svg { width: 1.7rem; height: 1.7rem; }

/* ---------- quotes ---------- */
.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(18rem, 100%), 1fr));
  gap: 1.2rem;
}
.quote {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem 1.1rem;
  box-shadow: var(--shadow);
  font-size: 0.95rem;
}
.quote p { font-style: italic; color: var(--ink-soft); }
.quote cite { font-style: normal; font-family: var(--heading); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.8rem; }

/* ---------- contact ---------- */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr));
  gap: 1.2rem;
}
.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem 1.6rem 1.8rem;
  text-align: center;
}
.contact-card .icon {
  width: 3.2rem;
  height: 3.2rem;
  margin: 0 auto 1rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #fdeceb;
  color: var(--red);
}
.contact-card .icon svg { width: 1.5rem; height: 1.5rem; }
.contact-card a.big {
  font-family: var(--heading);
  font-weight: 700;
  font-size: clamp(1.15rem, 2.6vw, 1.5rem);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.map-frame {
  border: 0;
  width: 100%;
  height: clamp(18rem, 45vw, 26rem);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
}

/* ---------- weather embed ---------- */
.weather-shell {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
  min-height: 16rem;
  display: grid;
  align-content: center;
}

/* ---------- footer ---------- */
.site-footer { background: var(--dark); color: #c9c3ba; font-size: 0.93rem; }
.site-footer a { color: #efe9df; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-grid {
  display: grid;
  gap: 2.2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(14rem, 100%), 1fr));
  padding-block: clamp(2.5rem, 6vw, 4rem) 2rem;
}
.footer-grid h4 {
  color: #fff;
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-grid h4::after { content: ""; display: block; width: 2.4rem; height: 2px; background: var(--gold); margin-top: 0.5rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.footer-grid a { display: inline-block; padding-block: 0.3rem; }
.footer-brand img { width: 170px; margin-bottom: 0.9rem; }
.footer-social { display: flex; gap: 0.7rem; margin-top: 0.9rem; }
.footer-social a {
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--dark-soft);
}
.footer-social a:hover { background: var(--red); color: #fff; }
.footer-social svg { width: 1.1rem; height: 1.1rem; }
.footer-bottom {
  border-top: 1px solid #31353b;
  padding-block: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #8f887e;
}
.footer-bottom a { color: #8f887e; }

/* ---------- misc ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--ink);
  padding: 0.6rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }
.prose { max-width: 46rem; }
.prose-wide { max-width: 56rem; }
.mx-auto { margin-inline: auto; }
.notice {
  background: #fdf3d3;
  border: 1px solid #eeda9a;
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem 1rem;
}
.unit-hero-lead { border-radius: var(--radius); box-shadow: var(--shadow-lift); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.error-hero { min-height: 60vh; }

/* ---------- blog ---------- */
.post-meta {
  font-family: var(--heading);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.card .post-meta { margin-bottom: 0.1rem; }
.article {
  max-width: 44rem;
  margin-inline: auto;
}
.article p { font-size: 1.05rem; }
.article h2 { font-size: clamp(1.35rem, 2.6vw, 1.7rem); margin-top: 1.8em; }
.article ul { margin: 0 0 1.2em; padding-left: 1.3rem; }
.article li { margin-bottom: 0.4em; }
.article .lede {
  font-size: 1.18rem;
  color: var(--ink-soft);
  line-height: 1.6;
}
.article-cta {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  padding: 1.3rem 1.5rem 1.1rem;
  margin: 2rem 0;
  box-shadow: var(--shadow);
}
.article-cta p { margin-bottom: 0.6em; }
