/* Cozy Maine Lakefront Cabin — static styles. No build step. */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/fraunces.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/source-sans-3.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/source-sans-3-italic.woff2") format("woff2");
}

:root {
  --pine: #1b3a2f;
  --pine-deep: #12261e;
  --ink: #1c2420;
  --muted: #3c4540;
  --cedar: #7a4e32;
  --cream: #f3eee4;
  --cream-deep: #e6efe8;
  --paper: #fbf8f3;
  --line: #ddd4c6;
  --header: #12261e;
  --focus: #f6f1e7;
  --serif: "Fraunces", "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", "Avenir Next", "Helvetica Neue", sans-serif;
  --shadow: 0 18px 50px rgba(18, 38, 30, 0.08);
  --header-offset: 8.5rem;
  --wrap: 72rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-offset);
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--pine);
}

a:hover {
  color: var(--cedar);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--pine);
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  transform: translateY(-150%);
  background: var(--paper);
  color: var(--ink);
  padding: 0.6rem 0.9rem;
  z-index: 20;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}

.skip:focus {
  transform: none;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--header);
  color: var(--cream);
  border-bottom: 3px solid #c4a574;
}

.header-bar {
  width: min(var(--wrap), calc(100% - 2rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0 0.35rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #f6f1e7;
  text-decoration: none;
  font-family: var(--serif);
  font-weight: 640;
  font-size: 1.05rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.brand:hover {
  color: #fff;
}

.mark {
  width: 1.7rem;
  height: 1.7rem;
  flex: 0 0 auto;
}

.site-nav {
  width: min(var(--wrap), calc(100% - 2rem));
  margin-inline: auto;
  display: flex;
  gap: 0.15rem 1.1rem;
  overflow-x: auto;
  padding: 0.15rem 0 0.7rem;
  scrollbar-width: none;
}

.site-nav::-webkit-scrollbar {
  display: none;
}

@media (max-width: 959px) {
  .site-nav {
    -webkit-mask-image: linear-gradient(90deg, #000 0 88%, transparent);
    mask-image: linear-gradient(90deg, #000 0 88%, transparent);
  }
}

.site-nav a {
  color: #e7dfd1;
  text-decoration: none;
  white-space: nowrap;
  font-size: 0.98rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover {
  color: #fff;
  border-bottom-color: #c4a574;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  background: var(--pine);
  color: #f6f1e7;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-align: center;
}

.btn:hover {
  background: var(--pine-deep);
  color: #fff;
}

.btn-header {
  background: #f3eee4;
  color: var(--pine-deep);
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0.55rem 0.9rem;
  font-size: 0.95rem;
}

.btn-header:hover {
  background: #fff;
  color: var(--pine-deep);
}

.btn-light {
  background: #f3eee4;
  color: var(--pine-deep);
}

.btn-light:hover {
  background: #fff;
  color: var(--pine-deep);
}

.hero {
  display: grid;
  background: var(--paper);
}

.hero-media {
  background: var(--pine);
  height: 34vh;
  min-height: 190px;
  max-height: 280px;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  display: block;
}

.hero-copy {
  padding: 1.35rem 1.15rem 1.6rem;
}

.eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cedar);
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 640;
  letter-spacing: -0.025em;
  line-height: 1.08;
  text-wrap: balance;
  margin: 0;
}

h1 {
  font-size: clamp(2.05rem, 8vw, 3.7rem);
  color: var(--pine-deep);
}

h2 {
  font-size: clamp(1.85rem, 4vw, 2.7rem);
  color: var(--pine-deep);
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.35rem;
  color: var(--pine);
  margin-bottom: 0.35rem;
}

.price {
  margin: 1rem 0 0.9rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.7rem;
}

.price strong {
  font-family: var(--serif);
  font-size: clamp(2rem, 6vw, 2.8rem);
  font-weight: 640;
  letter-spacing: -0.03em;
  color: var(--pine);
  line-height: 1;
}

.price span {
  color: var(--muted);
  font-size: 1rem;
}

.lede {
  margin: 1rem 0 0.4rem;
  max-width: 38rem;
  font-size: 1.08rem;
}

.byline {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.band {
  background: var(--cream-deep);
  padding: 1.4rem 0;
}

.highlights {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.highlights li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 0.85rem 0.9rem 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-height: 5.4rem;
}

.highlights strong {
  font-family: var(--serif);
  font-weight: 640;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--pine-deep);
  line-height: 1.2;
}

.highlights span {
  color: var(--muted);
  font-size: 0.95rem;
}

.section {
  padding: 3.25rem 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 1.5rem;
}

.section-head p:last-child,
.prose {
  margin: 0.4rem 0 0;
  max-width: 42rem;
}

.gallery {
  display: grid;
  gap: 1.1rem;
}

.shot {
  margin: 0;
}

.shot img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0.7rem;
  background: #d9d0c2;
}

.shot figcaption {
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.more-photos {
  margin: 1rem 0 0;
  font-size: 0.95rem;
}

.more-photos a {
  font-weight: 600;
}

.beds {
  display: grid;
  gap: 0.75rem;
  margin: 1.25rem 0;
}

.bed,
.know {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  padding: 1rem 1.05rem 1.05rem;
  box-shadow: var(--shadow);
}

.bed p,
.know li,
.know p {
  margin: 0;
}

.know h3 {
  margin-bottom: 0.55rem;
}

.know ul {
  margin: 0;
  padding-left: 1.15rem;
}

.know li + li {
  margin-top: 0.3rem;
}

.amenity-list,
.plain-list {
  list-style: none;
  padding: 0;
  margin: 1.1rem 0 0;
}

.amenity-list {
  display: grid;
  gap: 0.7rem 1.5rem;
}

.amenity-list li {
  position: relative;
  padding-left: 1.15rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  padding: 0.75rem 0.85rem 0.75rem 1.7rem;
}

.amenity-list li::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--pine);
  position: absolute;
  left: 0.75rem;
  top: 1.05rem;
}

.terms-layout {
  display: grid;
  gap: 1rem;
}

.rate-card,
.also-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  padding: 1.15rem 1.15rem 1.2rem;
  box-shadow: var(--shadow);
}

.rate-card {
  background: var(--pine);
  color: #f6f1e7;
  border-color: var(--pine);
}

.rate-card h3,
.rate-card .rate-figure {
  color: #f6f1e7;
}

.rate-figure {
  font-family: var(--serif);
  font-weight: 640;
  font-size: clamp(2.6rem, 8vw, 4rem);
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin: 0.2rem 0 0.35rem;
}

.rate-figure span {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0;
  margin-left: 0.25rem;
}

.price a,
.highlights a,
.rate-figure a,
.faq a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.rate-figure.rate-contact {
  font-size: clamp(1.55rem, 3.6vw, 2.15rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.rate-card p,
.also-card p {
  margin: 0.35rem 0 0;
}

.rate-card ul,
.also-card ul {
  margin: 0.8rem 0 0;
  padding-left: 1.15rem;
}

.rate-card li + li,
.also-card li + li {
  margin-top: 0.35rem;
}

.terms-note {
  margin: 1rem 0;
  max-width: 42rem;
}

.audience {
  display: grid;
  gap: 0.8rem;
}

.audience article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  padding: 1.1rem 1.1rem 1.15rem;
}

.index {
  display: block;
  font-family: var(--serif);
  color: var(--cedar);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}

.audience p {
  margin: 0.45rem 0 0;
}

.distances {
  list-style: none;
  padding: 0;
  margin: 1.15rem 0 0;
  display: grid;
  gap: 0.65rem;
}

.distances li {
  display: grid;
  gap: 0.1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 0.8rem 0.95rem;
}

.distances span {
  font-family: var(--serif);
  font-weight: 640;
  color: var(--pine);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.location-note {
  margin-top: 1rem;
  max-width: 40rem;
}

.faq details {
  border-top: 1px solid var(--line);
  background: transparent;
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0.1rem;
  font-weight: 600;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary h3 {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.35;
  color: var(--ink);
}

.faq summary::after {
  content: "+";
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 520;
  color: var(--cedar);
  line-height: 1;
  flex: 0 0 auto;
}

.faq details[open] summary::after {
  content: "\2013";
}

.faq details p {
  margin: 0 0 1rem;
  max-width: 42rem;
  color: var(--muted);
}

.contact {
  background: var(--pine-deep);
  color: #f6f1e7;
  padding: 3.25rem 0 2.5rem;
}

.contact h2,
.contact h3 {
  color: #f6f1e7;
}

.eyebrow-light {
  color: #f0d7b0;
}

.contact .lede,
.contact p {
  color: #e7dfd1;
}

.channels {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
}

.channels div {
  border-top: 1px solid rgba(243, 238, 228, 0.25);
  padding-top: 0.7rem;
}

.channels h3 {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: #f0d7b0;
  margin: 0 0 0.25rem;
}

.contact-value {
  color: #f6f1e7;
  font-family: ui-monospace, "Cascadia Mono", "Segoe UI Mono", monospace;
  font-size: 1.05rem;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-value:hover {
  color: #fff;
}

.site-footer {
  background: #0e1d17;
  color: #e7dfd1;
  padding: 1.6rem 0 2rem;
}

.site-footer p {
  margin: 0.2rem 0;
}

.site-footer a {
  color: #f6f1e7;
  font-weight: 600;
}

.fine {
  margin-top: 0.8rem;
  color: #d5cbbd;
  font-size: 0.92rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 420px) {
  .btn-header {
    font-size: 0.86rem;
    padding: 0.5rem 0.7rem;
  }

  .brand {
    font-size: 0.98rem;
  }

  .highlights {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 720px) {
  .hero-copy {
    padding: 2rem 2.2rem 2.2rem;
  }

  .highlights {
    grid-template-columns: repeat(3, 1fr);
  }

  .beds {
    grid-template-columns: repeat(3, 1fr);
  }

  .amenity-list {
    grid-template-columns: 1fr 1fr;
  }

  .distances {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 960px) {
  :root {
    --header-offset: 7.4rem;
  }

  .hero {
    grid-template-columns: 1.2fr 0.8fr;
    min-height: calc(100vh - 7.2rem);
    align-items: stretch;
  }

  .hero-media {
    height: auto;
    max-height: none;
    min-height: 100%;
  }

  .hero-media img {
    height: 100%;
    min-height: 640px;
    object-position: 46% 44%;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 3rem 3rem 2.6rem;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem 1.1rem;
  }

  .shot-wide {
    grid-column: 1 / -1;
  }

  .terms-layout {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: stretch;
  }

  .audience {
    grid-template-columns: repeat(3, 1fr);
  }

  .amenity-list {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .section {
    padding: 4.5rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media print {
  .site-header,
  .skip,
  .btn {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }

  .contact,
  .site-footer,
  .rate-card {
    background: #fff;
    color: #000;
  }

  .contact h2,
  .contact h3,
  .rate-card h3,
  .rate-figure,
  .contact-value {
    color: #000;
  }

  a[href^="mailto:"]::after {
    content: " (" attr(href) ")";
    font-size: 0.85em;
  }
}

.explore-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1rem;
  margin: 1.1rem 0 0.4rem;
}

.explore-jump a {
  color: var(--pine);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-bottom: 2px solid transparent;
}

.explore-jump a:hover {
  color: var(--cedar);
  border-bottom-color: #c4a574;
}

.explore-group {
  margin-top: 2rem;
}

.explore-group h3 {
  font-family: var(--serif);
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  margin: 0 0 0.85rem;
  color: var(--pine-deep);
}

.explore-grid {
  display: grid;
  gap: 0.8rem;
}

.explore-grid article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  padding: 1.05rem 1.1rem 1.15rem;
}

.explore-grid h4 {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.08rem;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.3;
  color: var(--ink);
}

.explore-grid h4 a {
  text-decoration: none;
  color: var(--pine-deep);
}

.explore-grid h4 a:hover {
  color: var(--cedar);
}

.explore-grid p {
  margin: 0.4rem 0 0;
  color: var(--muted);
}

.explore-note {
  margin: 1.6rem 0 0;
  max-width: 44rem;
  color: var(--muted);
  font-size: 0.98rem;
}

@media (min-width: 720px) {
  .explore-grid {
    grid-template-columns: 1fr 1fr;
  }
}
