/* Quiet Canyon Ranch: V1. Muted earth tones, photography first. */
:root {
  --bg: #f4efe6;        /* warm paper */
  --ink: #2f2a24;       /* soft brown-black */
  --muted: #6e6558;
  --accent: #7a5c3e;    /* clay brown */
  --accent-ink: #fbf8f2;
  --rule: #d9d0c0;
  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #1f1c18; --ink: #ece5d8; --muted: #a79d8c; --accent: #c49a6c; --accent-ink: #1f1c18; --rule: #3a342c; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 18px/1.65 var(--serif); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); }
h1, h2 { font-weight: 400; line-height: 1.15; letter-spacing: .01em; }
h2 { font-size: 1.9rem; margin: 0 0 1rem; }

.wrap { max-width: 62rem; margin: 0 auto; padding: 4.5rem 1.25rem; }

/* Header: sits over the hero, minimal navigation */
.site-header {
  position: absolute; inset: 0 0 auto 0; z-index: 2;
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; align-items: baseline;
  padding: 1rem 1.25rem; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.45);
}
.site-header a { color: inherit; text-decoration: none; }
.brand { font-size: 1.05rem; letter-spacing: .04em; }
.site-header nav { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; font-size: .95rem; }
.site-header nav a:hover, .site-header nav a:focus-visible { text-decoration: underline; }

/* Hero */
.hero { position: relative; min-height: 70vh; background: #5b5143; }
.hero img { width: 100%; height: 70vh; min-height: 24rem; object-fit: cover; }
.hero-text {
  position: absolute; inset: auto 0 0 0; padding: 4rem 1.25rem 2.5rem; color: #fff;
  background: linear-gradient(transparent, rgba(0,0,0,.55));
}
.hero-text h1 { font-size: clamp(2.2rem, 7vw, 4.5rem); margin: 0 auto .25rem; max-width: 62rem; }
.hero-text p { font-size: 1.2rem; margin: 0 auto; max-width: 62rem; }

/* About */
.about { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 48rem) { .about { grid-template-columns: 1.2fr 1fr; } }

/* Offerings */
.offer { margin: 0; display: grid; gap: 1.5rem 2.5rem; }
@media (min-width: 40rem) { .offer { grid-template-columns: 1fr 1fr; } }
.offer div { border-top: 1px solid var(--rule); padding-top: .75rem; }
.offer dt { font-size: 1.25rem; }
.offer dd { margin: .15rem 0 0; color: var(--muted); }

/* Gallery: photography takes the width of the page */
.photos { padding: .5rem 0 2rem; }
.gallery { display: grid; gap: .5rem; padding: 0 .5rem; grid-template-columns: 1fr; }
@media (min-width: 40rem) { .gallery { grid-template-columns: 1fr 1fr; } .gallery .wide { grid-column: span 2; } }
@media (min-width: 64rem) { .gallery { grid-template-columns: repeat(4, 1fr); } .gallery .wide { grid-column: span 2; } }
.gallery figure { margin: 0; overflow: hidden; background: var(--rule); }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.gallery .tall img { aspect-ratio: 3 / 4; }

/* Contact */
.contact { text-align: center; max-width: 40rem; }
.button {
  display: inline-block; margin-top: .75rem; padding: .85rem 1.6rem;
  background: var(--accent); color: var(--accent-ink); text-decoration: none; border-radius: 3px; font-size: 1rem;
}
.button:hover, .button:focus-visible { filter: brightness(1.1); }

/* Footer */
.site-footer { border-top: 1px solid var(--rule); text-align: center; padding: 2.5rem 1.25rem; color: var(--muted); font-size: .95rem; }
.site-footer p { margin: .15rem 0; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
