/* Sky Valley Mountain Lodge — "Ridge Light" */
:root {
  --bg: #efece2;
  --surface: #e7e1d2;
  --text: #262320;
  --muted: #6b6357;
  --accent: #3c4b3a;
  --accent-strong: #2a352a;
  --on-accent: #f3f1e8;
  --ember: #a67f34;
  --border: #d3cab4;
  --display: "Fraunces", Georgia, "Iowan Old Style", serif;
  --body: ui-sans-serif, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--ember); outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: 3px; z-index: 50; }
.skip:focus { left: 8px; }
.wrap { max-width: 1244px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
@media (max-width: 600px) { .wrap { padding-left: 20px; padding-right: 20px; } }

/* Type */
.eyebrow { margin: 0 0 18px; text-transform: uppercase; letter-spacing: 0.14em; font-size: 12px; font-weight: 600; color: var(--muted); }
h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; }
.h-hero { font-variation-settings: "opsz" 100; font-weight: 380; font-size: clamp(44px, 7vw, 92px); line-height: 0.98; letter-spacing: -0.01em; }
.h-page { font-variation-settings: "opsz" 100; font-weight: 380; font-size: clamp(40px, 6vw, 76px); line-height: 1.02; letter-spacing: -0.01em; }
.h-page.long { font-size: clamp(36px, 4.8vw, 62px); line-height: 1.05; max-width: 21ch; }
.h-section { font-variation-settings: "opsz" 90; font-weight: 400; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.08; }
.h-sub { font-variation-settings: "opsz" 40; font-weight: 560; font-size: 22px; line-height: 1.25; }
.h-item { font-variation-settings: "opsz" 30; font-weight: 560; font-size: 19px; line-height: 1.3; }
.lede { margin: 0; max-width: 62ch; font-size: 19px; line-height: 1.65; color: var(--muted); }
.prose p { margin: 0 0 16px; font-size: 17px; max-width: 56ch; }
.muted { color: var(--muted); }

/* Buttons */
.btn { display: inline-block; text-decoration: none; font-family: var(--body); font-size: 15px; font-weight: 600; letter-spacing: 0.02em; padding: 16px 32px; border-radius: 3px; border: 1px solid transparent; cursor: pointer; transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-strong); }
.btn-outline { border-color: var(--text); color: var(--text); background: transparent; }
.btn-outline:hover { background: var(--text); color: var(--bg); }
.btn-light { border-color: rgba(243, 241, 232, 0.65); color: var(--on-accent); }
.btn-light:hover { background: rgba(243, 241, 232, 0.16); }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }
.text-link { display: inline-block; padding: 12px 0; font-weight: 600; font-size: 15px; color: var(--accent); text-underline-offset: 5px; }

/* Header */
.site-header { border-bottom: 1px solid var(--border); position: relative; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px 32px; padding-top: 18px; padding-bottom: 18px; }
.brand { font-family: var(--display); font-variation-settings: "opsz" 30; font-weight: 560; font-size: 19px; letter-spacing: 0.01em; text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14.5px; }
.nav-links a { text-decoration: none; padding: 12px 0; }
.nav-links a:hover { text-decoration: underline; text-underline-offset: 6px; }
.nav-links a[aria-current="page"] { font-weight: 600; text-decoration: underline; text-underline-offset: 6px; }
.nav-links .nav-cta, .nav-links .nav-cta:hover { background: var(--accent); color: var(--on-accent); padding: 12px 20px; border-radius: 3px; font-weight: 600; letter-spacing: 0.02em; text-decoration: none; }
.nav-links .nav-cta:hover { background: var(--accent-strong); }
.nav-toggle { display: none; background: none; border: 1px solid currentColor; border-radius: 3px; color: inherit; font: inherit; font-size: 14px; font-weight: 600; padding: 10px 16px; cursor: pointer; }
.site-header.on-photo { position: absolute; top: 0; left: 0; right: 0; border-bottom: 0; color: var(--on-accent); }
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-header .wrap { flex-wrap: wrap; }
  .nav-links { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0 4px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; border-top: 1px solid var(--border); }
  .nav-links .nav-cta { margin-top: 12px; text-align: center; border-top: 0; }
  .site-header.on-photo .nav-links.open { background: rgba(20, 20, 16, 0.88); margin: 8px -20px 0; padding: 8px 20px 16px; }
  .site-header.on-photo .nav-links a { border-top-color: rgba(243, 241, 232, 0.25); }
}

/* Hero (home) */
.hero { position: relative; min-height: min(820px, 100vh); display: flex; align-items: flex-end; color: var(--on-accent); background: #2a2f28; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20, 20, 16, 0.92), rgba(20, 20, 16, 0.55) 55%, rgba(20, 20, 16, 0.6)); }
.hero .wrap { position: relative; z-index: 1; width: 100%; padding-top: 140px; padding-bottom: 72px; text-shadow: 0 1px 18px rgba(0, 0, 0, 0.55); }
.hero .eyebrow { color: var(--on-accent); margin-bottom: 22px; }
.hero h1 { max-width: 13ch; margin-bottom: 26px; }
.hero h1 em { font-weight: 480; }
.hero p.sub { margin: 0 0 36px; max-width: 58ch; font-size: 19px; line-height: 1.65; }
.hero .btn { text-shadow: none; }

/* Page header */
.page-head { padding-top: 80px; padding-bottom: 48px; }
.page-head h1 { margin-bottom: 24px; }
.page-head .lead-img { margin-top: 48px; width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: 3px; }

/* Sections */
.section { padding-top: 104px; padding-bottom: 104px; }
.section.tight { padding-top: 72px; padding-bottom: 72px; }
.band { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
@media (max-width: 700px) { .section { padding-top: 64px; padding-bottom: 64px; } .page-head { padding-top: 48px; } }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 32px; margin-bottom: 32px; }
.split { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 72px; }
.split.top { align-items: flex-start; }
.split.reverse { flex-wrap: wrap-reverse; }
.split > * { flex: 1 1 400px; min-width: 0; }
.split h2 { margin-bottom: 24px; }
.photo-stack { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.photo-stack img { width: 100%; height: 190px; object-fit: cover; border-radius: 3px; }
.photo-stack img.wide { grid-column: span 2; height: 300px; }
.photo-col { display: flex; flex-direction: column; gap: 12px; }
.photo-col img, .photo-tall { width: 100%; object-fit: cover; border-radius: 3px; }
.photo-tall { height: 500px; }
@media (max-width: 700px) { .photo-tall { height: 320px; } .photo-stack img.wide { height: 220px; } .photo-stack img { height: 140px; } }

/* Quick facts */
.facts { background: var(--surface); border-bottom: 1px solid var(--border); }
.facts ul { list-style: none; margin: 0 auto; padding-top: 28px; padding-bottom: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 40px; font-family: var(--display); font-variation-settings: "opsz" 30; font-weight: 500; font-size: 20px; }

@media (max-width: 600px) { .facts ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; font-size: 18px; } }

/* Rows (definition lists) */
.rows { margin: 0; border-top: 1px solid var(--border); }
.rows > div { padding: 20px 0; border-bottom: 1px solid var(--border); }
.rows dt { font-family: var(--display); font-variation-settings: "opsz" 30; font-weight: 560; font-size: 19px; margin-bottom: 4px; }
.rows dd { margin: 0; color: var(--muted); }
.rows.compact { max-width: 440px; font-size: 15px; }
.rows.compact > div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; }
.rows.compact dt { font-family: var(--body); font-weight: 400; font-size: inherit; margin: 0; }
.rows.compact dd { font-variant-numeric: tabular-nums; }
.rows.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 0 56px; }
@media (max-width: 400px) { .rows.two-col { grid-template-columns: 1fr; } }

/* Steps */
.steps { list-style: none; margin: 0 0 56px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px 48px; border-top: 1px solid var(--border); }
.steps li { padding-top: 28px; }
.steps .num { font-family: var(--display); font-style: italic; font-variation-settings: "opsz" 90; font-size: 52px; line-height: 1; color: var(--ember); margin-bottom: 16px; }
.steps h3 { margin-bottom: 8px; }
.steps p { margin: 0; color: var(--muted); }

/* Reviews */
.rating { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; margin-bottom: 48px; }
.score { font-family: var(--display); font-variation-settings: "opsz" 100; font-weight: 400; font-size: clamp(64px, 8vw, 104px); line-height: 0.95; }
.score span { font-family: var(--body); font-size: 24px; color: var(--muted); }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.quotes figure { margin: 0; background: var(--bg); border: 1px solid var(--border); border-radius: 6px; padding: 28px 28px 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.quotes blockquote { margin: 0; font-family: var(--display); font-style: italic; font-variation-settings: "opsz" 20; font-weight: 440; font-size: 18px; line-height: 1.5; }
.quotes figcaption { font-size: 13px; color: var(--muted); border-top: 1px solid var(--border); padding-top: 14px; }

/* Room cards */
.rooms { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.room { background: var(--surface); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.room img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.room .body { padding: 18px 20px 22px; }
.room .level { margin: 0 0 6px; text-transform: uppercase; letter-spacing: 0.12em; font-size: 11px; font-weight: 600; color: var(--muted); }
.room h3 { font-variation-settings: "opsz" 30; font-weight: 560; font-size: 20px; line-height: 1.25; margin-bottom: 8px; }
.room p { margin: 0; font-size: 14px; color: var(--muted); }
.room .note { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border); color: var(--text); }

/* Cards (day trips) */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.cards li { background: var(--bg); border: 1px solid var(--border); border-radius: 6px; padding: 24px 26px; }
.cards .time { font-family: var(--display); font-style: italic; font-variation-settings: "opsz" 60; font-size: 30px; line-height: 1; color: var(--muted); margin-bottom: 14px; }
.cards h3 { font-variation-settings: "opsz" 30; font-weight: 560; font-size: 20px; margin-bottom: 6px; }
.cards p { margin: 0; color: var(--muted); font-size: 15px; }

/* Gallery */
.jump { display: flex; flex-wrap: wrap; gap: 4px 28px; font-size: 14.5px; border-top: 1px solid var(--border); padding-top: 14px; margin-top: 32px; }
.jump a { padding: 10px 0; text-underline-offset: 5px; }
.gallery-sections { display: flex; flex-direction: column; gap: 72px; padding-bottom: 96px; }
.gallery-sections h2 { font-variation-settings: "opsz" 60; font-weight: 480; font-size: 32px; margin-bottom: 24px; scroll-margin-top: 24px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.grid figure { margin: 0; }
.grid a { display: block; border-radius: 3px; overflow: hidden; background: #ddd5c1; }
.grid img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 300ms ease; }
.grid a:hover img { transform: scale(1.03); }
.grid figcaption { font-size: 13.5px; color: var(--muted); padding: 8px 2px 10px; line-height: 1.4; }
.grid .lead { grid-column: 1 / -1; }
.grid .lead img { aspect-ratio: 21 / 9; }
@media (max-width: 600px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .grid .lead img { aspect-ratio: 3 / 2; } }
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; color: var(--on-accent); }
dialog.lightbox::backdrop { background: rgba(20, 20, 16, 0.94); }
.lightbox .frame { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 56px 16px 24px; }
.lightbox img { max-width: min(1400px, 100%); max-height: calc(100vh - 140px); width: auto; height: auto; border-radius: 3px; }
.lightbox p { margin: 0; font-size: 15px; text-align: center; }
.lightbox button { position: absolute; background: rgba(243, 241, 232, 0.12); color: var(--on-accent); border: 1px solid rgba(243, 241, 232, 0.4); border-radius: 3px; font: inherit; font-size: 15px; font-weight: 600; min-width: 48px; height: 48px; padding: 0 16px; cursor: pointer; }
.lightbox button:hover { background: rgba(243, 241, 232, 0.25); }
.lightbox .close { top: 12px; right: 12px; }
.lightbox .prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox .next { right: 12px; top: 50%; transform: translateY(-50%); }

/* FAQ / Policies groups */
.group { display: flex; flex-wrap: wrap; gap: 16px 72px; padding: 56px 0; border-top: 1px solid var(--border); }
.group > h2 { flex: 1 1 220px; font-variation-settings: "opsz" 60; font-weight: 480; font-size: 30px; line-height: 1.15; }
.group > .body { flex: 999 1 520px; min-width: 0; max-width: 760px; font-size: 16.5px; }
.group dl { margin: 0; }
.group dt { font-family: var(--display); font-variation-settings: "opsz" 30; font-weight: 560; font-size: 20px; line-height: 1.3; margin: 0 0 8px; }
.group dd { margin: 0 0 32px; color: var(--muted); }
.group dd:last-child { margin-bottom: 0; }
.group ul { list-style: none; margin: 0; padding: 0; }
.group li { padding: 14px 0; border-bottom: 1px solid var(--border); }
.group li:first-child { padding-top: 0; }
.group li.tier { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; }
.group p { margin: 0 0 14px; color: var(--muted); }
.group h3 { margin: 28px 0 8px; font-variation-settings: "opsz" 30; font-weight: 560; font-size: 20px; }

/* Forms & booking */
.book-grid { display: flex; flex-wrap: wrap; align-items: stretch; gap: 24px; padding-bottom: 96px; }
.calendar-slot { flex: 999 1 520px; min-width: 0; min-height: 440px; border: 1px dashed var(--muted); border-radius: 6px; background: var(--surface); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 40px 24px; text-align: center; }
.calendar-slot p { margin: 0; max-width: 44ch; }
.calendar-slot.orz-calendar { border-style: solid; border-color: var(--border); align-items: stretch; justify-content: flex-start; text-align: left; padding: 28px; gap: 18px; min-height: 0; align-self: flex-start; }
/* On phones the calendar stacks six months tall, so the request form goes first. */
@media (max-width: 940px) { .book-grid .panel { order: -1; } }
.ownerrez-widget { width: 100%; min-width: 0; }
.ownerrez-widget iframe { width: 100%; border: 0; display: block; }
.panel { flex: 1 1 340px; min-width: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 6px; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.field input, .field textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--muted); border-radius: 3px; background: var(--bg); font: inherit; font-size: 15px; color: var(--text); }
.field textarea { resize: vertical; }
.field-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.panel .rows.compact { max-width: none; font-size: 14.5px; }
.small { margin: 0; font-size: 13.5px; color: var(--muted); }

/* Closing CTA band */
.cta-band { border-top: 1px solid var(--border); padding-top: 56px; padding-bottom: 56px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band p { margin: 0; font-family: var(--display); font-variation-settings: "opsz" 60; font-weight: 440; font-size: 28px; }

/* Footer */
.site-footer { background: var(--accent); color: var(--on-accent); }
.site-footer .wrap { padding-top: 72px; padding-bottom: 56px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px 64px; }
.site-footer .word { font-family: var(--display); font-variation-settings: "opsz" 40; font-weight: 500; font-size: 24px; margin-bottom: 12px; }
.site-footer p { margin: 0; font-size: 14px; line-height: 1.7; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 32px 64px; font-size: 14px; }
.site-footer nav div { display: flex; flex-direction: column; }
.site-footer .col-h { font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 6px; }
.site-footer a { text-decoration: none; padding: 6px 0; }
.site-footer a:hover { text-decoration: underline; }
