@font-face {
  font-family: "Libre Baskerville";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/libre-baskerville-400.woff2") format("woff2");
}

@font-face {
  font-family: "Libre Baskerville";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/libre-baskerville-700.woff2") format("woff2");
}

@font-face {
  font-family: "Libre Baskerville";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/libre-baskerville-400-italic.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 200 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: 200 900;
  font-display: swap;
  src: url("fonts/source-sans-3-italic.woff2") format("woff2");
}

:root {
  --ink: #2a1c12;
  --ink-soft: #4a3426;
  --cream: #f6f1e7;
  --paper: #fff9f2;
  --burlap: #e7d5b8;
  --line: rgba(42, 28, 18, 0.16);
  --autumn: #8c3e14;
  --autumn-deep: #6b2e10;
  --wood: #6b4a32;
  --wood-dark: #3e2a1c;
  --sage: #3e5c48;
  --forest: #24382c;
  --serif: "Libre Baskerville", Georgia, "Palatino Linotype", Palatino, serif;
  --sans: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;
  --wrap: 68rem;
  --header: 5.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.1875rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--autumn-deep);
  text-underline-offset: 0.16em;
}

a:hover {
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--autumn);
  outline-offset: 3px;
}

::selection {
  background: #e7c09a;
  color: var(--ink);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 40;
  background: var(--paper);
  color: var(--ink);
  padding: 0.6rem 1rem;
  text-decoration: none;
}

.skip:focus {
  top: 0.7rem;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(246, 241, 231, 0.96);
  border-bottom: 3px solid var(--wood);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 0.65rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  max-width: calc(100% - 6.5rem);
  color: var(--ink);
  text-decoration: none;
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: clamp(0.82rem, 2.4vw, 1rem);
  line-height: 1.15;
}

.brand img {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
}

.nav-check {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 5.5rem;
  padding: 0.35rem 0.9rem;
  border: 2px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1rem;
  cursor: pointer;
}

.when-open {
  display: none;
}

.nav-check:checked + .nav-toggle .when-closed {
  display: none;
}

.nav-check:checked + .nav-toggle .when-open {
  display: inline;
}

.nav-check:focus-visible + .nav-toggle {
  outline: 3px solid var(--autumn);
  outline-offset: 3px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.1rem;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0.45rem 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  border-bottom-color: var(--autumn);
  color: var(--ink);
}

.hero {
  position: relative;
  overflow: hidden;
  background-color: #3a2a1c;
  background-image:
    linear-gradient(180deg, rgba(28, 18, 12, 0.38) 0%, rgba(28, 18, 12, 0.18) 42%, rgba(28, 18, 12, 0.5) 100%),
    url("images/cottage-view.jpg");
  background-position: center 42%;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 2rem 0 4.5rem;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin: 0 auto;
  text-align: center;
}

.hero-sign {
  width: min(100%, 64rem);
  margin: 0 auto;
  filter: drop-shadow(0 18px 28px rgba(20, 12, 8, 0.42));
}

.hero-sign img {
  display: block;
  width: 100%;
  height: auto;
}

.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;
}

.hero-follow {
  margin-top: 1.35rem;
}

.secondary {
  display: inline-block;
  margin: 0;
  padding: 0.35rem 0.85rem;
  background: rgba(246, 241, 231, 0.9);
  color: var(--ink);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2.3vw, 1.55rem);
}

.place-line {
  display: inline-block;
  margin: 0.75rem 0 0;
  padding: 0.2rem 0.7rem;
  background: rgba(246, 241, 231, 0.9);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.view-band {
  background: #1c140e;
}

.view-figure {
  position: relative;
  margin: 0;
}

.view-figure img {
  display: block;
  width: 100%;
  max-height: 78vh;
  object-fit: cover;
  object-position: center 42%;
}

.view-figure figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 3rem 1.25rem 1.15rem;
  background: linear-gradient(transparent, rgba(18, 10, 6, 0.78));
  color: #f6f1e7;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  text-align: center;
}

.hero-actions {
  margin-top: 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.7rem 1.25rem;
  background: var(--autumn);
  color: #fff8ef;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.08rem;
  border: 2px solid var(--autumn-deep);
  border-radius: 2px;
}

.button:hover {
  background: var(--autumn-deep);
  color: #fff8ef;
}

.button-ghost {
  background: rgba(246, 241, 231, 0.94);
  color: var(--ink);
  border-color: var(--ink);
}

.button-ghost:hover {
  background: var(--ink);
  color: var(--cream);
}

.band {
  padding: 3.25rem 0;
}

.band-burlap {
  background-color: var(--burlap);
  background-image: repeating-linear-gradient(
    0deg,
    rgba(90, 60, 30, 0.045) 0 1px,
    transparent 1px 5px
  );
}

.band-paper {
  background: var(--paper);
}

.band-peach {
  background: #f6e6d4;
}

.band-forest {
  background: var(--forest);
  color: #f6f1e7;
}

.band-forest a {
  color: #f6f1e7;
}

.band-forest a:hover {
  color: #f3e2c8;
}

.eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5c3b24;
}

.band-forest .eyebrow {
  color: #f0d7b4;
}

h2 {
  margin: 0 0 0.85rem;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.05rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h2::after {
  content: "";
  display: block;
  width: 4.25rem;
  height: 3px;
  margin-top: 0.75rem;
  background: var(--autumn);
}

.band-forest h2::after {
  background: #e7c9a4;
}

h3 {
  margin: 0 0 0.45rem;
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.3;
}

.lede {
  margin: 0 0 1rem;
  max-width: 40rem;
  font-size: 1.3rem;
  line-height: 1.55;
}

.prose p {
  margin: 0 0 1rem;
  max-width: 40rem;
}

.facts {
  display: grid;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.facts li {
  padding-top: 0.85rem;
  border-top: 1px solid rgba(42, 28, 18, 0.2);
}

.facts strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.25;
}

.split {
  display: grid;
  gap: 1.75rem;
  align-items: start;
}

.details {
  list-style: none;
  padding: 0;
  margin: 0 0 1.35rem;
  max-width: 36rem;
}

.details li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.35rem;
  border-bottom: 1px solid var(--line);
}

.details li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 0.48rem;
  height: 0.48rem;
  background: var(--autumn);
}

.frame {
  margin: 0;
}

.frame-mat {
  padding: 0.65rem;
  background:
    linear-gradient(180deg, rgba(255, 244, 220, 0.28), rgba(0, 0, 0, 0.12)),
    var(--wood);
  box-shadow: 0 12px 26px rgba(48, 28, 12, 0.12);
}

.frame img {
  display: block;
  width: 100%;
  height: auto;
  background: var(--cream);
}

.frame-follow {
  max-width: 40rem;
  margin-top: 1.75rem;
}

.frame + h3 {
  margin-top: 1.75rem;
}

.frame figcaption {
  margin-top: 0.55rem;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.filename {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.98rem;
  color: #5c3b24;
}

.gallery {
  display: grid;
  gap: 1.35rem;
}

.section-intro {
  margin-bottom: 1.5rem;
}

.soon {
  display: inline-block;
  margin: 0 0 0.8rem;
  padding: 0.35rem 0.75rem;
  background: #f3eadc;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 0.98rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.event-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  max-width: 46rem;
  border-top: 3px solid var(--ink);
}

.event-list li {
  display: grid;
  gap: 0.25rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.event-list strong {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
}

.contact-card {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.25rem;
  padding: 1.25rem;
  background: var(--paper);
  border: 1px solid #d9c7a8;
}

.phones {
  list-style: none;
  padding: 0;
  margin: 0;
}

.phones li {
  margin: 0 0 0.45rem;
}

.phones a,
.email-link {
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.phone-note {
  display: inline-block;
  margin-left: 0.45rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5c3b24;
}

.placeholder {
  display: inline-block;
  margin: 0.35rem 0 0;
  padding: 0.15rem 0.45rem;
  background: #f3e2c8;
  color: #6b3a1e;
  font-family: var(--serif);
  font-style: italic;
}

.site-footer {
  background: #2a1c12;
  color: #f6f1e7;
  padding: 2.5rem 0 2.2rem;
}

.footer-name {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.45rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-tagline {
  margin: 0.45rem 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
}

.footer-meta {
  margin: 0.8rem 0 0;
  color: #f0e2d0;
}

.site-footer a {
  color: #f6f1e7;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    flex: 1 1 100%;
    flex-direction: column;
    gap: 0;
    padding-bottom: 0.45rem;
  }

  .nav-check:checked ~ .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 0.8rem 0.1rem;
    font-size: 1.22rem;
    border-bottom: 1px solid var(--line);
  }

}

@media (min-width: 700px) {
  .facts {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }

  .facts li {
    padding: 0 1.15rem;
    border-top: 0;
  }

  .facts li + li {
    border-left: 1px solid rgba(42, 28, 18, 0.22);
  }

  .event-list li {
    grid-template-columns: 16rem 1fr;
    gap: 1.25rem;
    align-items: baseline;
  }
}

@media (min-width: 860px) {
  :root {
    --header: 4.6rem;
  }

  .band {
    padding: 4.5rem 0;
  }

  .split {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    align-items: center;
  }

  .cottage .split {
    grid-template-columns: 0.92fr 1.08fr;
  }

  .cottage .frame {
    order: -1;
  }

  .gallery-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-2 {
    grid-template-columns: 1fr 1fr;
  }

  .contact-card {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 1.8rem;
  }

  .brand {
    max-width: none;
  }
}

@media (max-width: 380px) {
  .wrap,
  .header-inner,
  .hero-inner {
    width: min(var(--wrap), calc(100% - 1.5rem));
  }

}

section[id] {
  scroll-margin-top: 6.5rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media (forced-colors: active) {
  .button,
  .nav-toggle,
  .hero-sign img {
    border: 2px solid ButtonText;
  }
}
