/* Cabin at Minden Pond — mindenpond.com */

:root {
  --bark:      #2f2a24;
  --bark-soft: #574f45;
  --moss:      #4a6741;
  --moss-dark: #3a5233;
  --ember:     #b5622c;
  --sand:      #f6f2ea;
  --sand-2:    #ece5d8;
  --line:      #ddd3c2;
  --white:     #fffdf9;

  --sans: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --serif: "Bitter", Georgia, "Times New Roman", serif;

  --wrap: 1120px;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--bark);
  background: var(--sand);
}

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

a { color: var(--moss-dark); }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ---------- header / nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 249, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
  flex-wrap: wrap;
}

.brand {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--bark);
  text-decoration: none;
  line-height: 1.2;
}

.brand span {
  display: block;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bark-soft);
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.nav a {
  color: var(--bark-soft);
  text-decoration: none;
  font-size: 0.94rem;
  padding: 8px 12px;
  border-radius: var(--radius);
  transition: color .15s, background .15s;
}

.nav a:hover { color: var(--bark); background: var(--sand-2); }

.nav a[aria-current="page"] {
  color: var(--moss-dark);
  font-weight: 700;
}

.nav .book {
  background: var(--ember);
  color: #fff;
  font-weight: 700;
  padding: 9px 18px;
  margin-left: 6px;
}

.nav .book:hover { background: #9c5124; color: #fff; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 62vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 88px 24px;
  background-image: linear-gradient(rgba(28, 32, 24, .48), rgba(28, 32, 24, .58)), url("images/hero.jpg");
  background-size: cover;
  background-position: center 55%;
  color: #fff;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.1rem, 6vw, 3.9rem);
  line-height: 1.08;
  margin: 0 0 .35em;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .45);
}

.hero .tagline {
  font-size: clamp(1.05rem, 2.4vw, 1.45rem);
  max-width: 24ch;
  margin: 0 auto 1.6em;
  color: #f3efe6;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .5);
}

.hero-cta {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 1rem;
  padding: 13px 28px;
  border-radius: var(--radius);
  text-decoration: none;
  border: 2px solid transparent;
  transition: background .15s, color .15s, border-color .15s;
}

.btn-primary { background: var(--ember); color: #fff; }
.btn-primary:hover { background: #9c5124; color: #fff; }

.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.14); color: #fff; }

.btn-moss { background: var(--moss); color: #fff; }
.btn-moss:hover { background: var(--moss-dark); color: #fff; }

/* ---------- sections ---------- */

.section { padding: 76px 0; }
.section-alt { background: var(--white); border-block: 1px solid var(--line); }

.section h2 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  line-height: 1.2;
  margin: 0 0 .5em;
  letter-spacing: -0.015em;
}

.lede {
  font-size: 1.2rem;
  color: var(--bark-soft);
  max-width: 62ch;
}

.page-head {
  padding: 56px 0 8px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 44px;
}

.page-head h1 {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
  margin: 0 0 .3em;
  letter-spacing: -0.02em;
}

.page-head p { color: var(--bark-soft); margin: 0 0 1.6em; max-width: 60ch; }

/* ---------- intro facts ---------- */

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  margin-top: 44px;
  list-style: none;
  padding: 0;
}

.facts li {
  padding-top: 18px;
  border-top: 3px solid var(--moss);
}

.facts strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.08rem;
  margin-bottom: .25em;
}

.facts span { color: var(--bark-soft); font-size: .97rem; }

/* ---------- wide band image ---------- */

.band {
  height: clamp(220px, 34vw, 420px);
  background-size: cover;
  background-position: center;
}

/* ---------- photo grid ---------- */

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 26px;
}

.photo-grid figure { margin: 0; }

.photo-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--sand-2);
}

.photo-grid figcaption {
  margin-top: 10px;
  font-size: .93rem;
  color: var(--bark-soft);
  line-height: 1.45;
}

.photo-grid figcaption b {
  display: block;
  color: var(--bark);
  font-weight: 700;
}

/* ---------- reviews ---------- */

.reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
  margin-top: 40px;
}

.review {
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  margin: 0;
  position: relative;
}

.section-alt .review { background: var(--sand); }

.review p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.6;
}

.stars {
  color: var(--ember);
  letter-spacing: 2px;
  font-size: .95rem;
  margin-bottom: 12px;
}

.review footer {
  margin-top: 14px;
  font-size: .85rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--bark-soft);
}

/* ---------- gallery ---------- */

.gallery-section { margin-bottom: 64px; }

.gallery-section h2 {
  font-family: var(--serif);
  font-size: 1.45rem;
  margin: 0 0 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}

.gallery a {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--sand-2);
}

.gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform .35s ease;
}

.gallery a:hover img { transform: scale(1.04); }

/* ---------- map ---------- */

.map-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--sand-2);
  line-height: 0;
}

.map-frame iframe { width: 100%; height: clamp(360px, 55vh, 560px); border: 0; }

.distances {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 22px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.distances li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
}

.distances b {
  display: block;
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--moss-dark);
}

.distances span { color: var(--bark-soft); font-size: .95rem; }

.note {
  margin-top: 28px;
  padding: 16px 20px;
  border-left: 3px solid var(--moss);
  background: var(--white);
  color: var(--bark-soft);
  font-size: .95rem;
}

/* ---------- booking page ---------- */

.booking {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 52px;
  align-items: start;
}

.booking img { border-radius: var(--radius); }

.booking-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 32px;
}

.booking-card h2 {
  font-family: var(--serif);
  margin: 0 0 .4em;
  font-size: 1.5rem;
}

.booking-card ul {
  margin: 0 0 26px;
  padding-left: 20px;
  color: var(--bark-soft);
}

.booking-card li { margin-bottom: 7px; }

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

/* ---------- footer ---------- */

.site-footer {
  background: var(--bark);
  color: #cfc7b9;
  padding: 54px 0 40px;
  margin-top: 0;
}

.site-footer a { color: #e6dfd2; }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 34px;
}

.site-footer h3 {
  font-family: var(--serif);
  color: var(--white);
  font-size: 1.05rem;
  margin: 0 0 .6em;
}

.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 7px; }

.socials { display: flex; gap: 14px; margin-top: 12px; }

.socials a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  font-size: .93rem;
}

.socials a:hover { color: #fff; }

.socials svg { width: 20px; height: 20px; fill: currentColor; }

.colophon {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .13);
  font-size: .86rem;
  color: #9d9384;
}

/* ---------- a11y ---------- */

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--white);
  color: var(--bark);
  padding: 12px 18px;
  z-index: 100;
}

.skip:focus { left: 8px; top: 8px; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
