:root {
  color-scheme: light;
  --paper: #f4f2e9;
  --paper-deep: #e8e9dd;
  --ink: #252a25;
  --muted: #62685e;
  --olive: #475a38;
  --olive-dark: #293b2e;
  --line: rgba(44, 57, 44, 0.24);
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: "Trebuchet MS", "Gill Sans", sans-serif;
  --content: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
button, a { font: inherit; }
button { color: inherit; }
a { color: inherit; }
button:focus-visible, a:focus-visible {
  outline: 3px solid #a45c32;
  outline-offset: 5px;
  border-radius: 2px;
}
.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  transform: translateY(-150%);
  background: var(--olive-dark);
  color: var(--paper);
  text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: relative;
  z-index: 5;
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(22px, 5.5vw, 88px);
  background: var(--paper);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
}
.brand-mark { display: block; width: 39px; height: 44px; }
.brand-mark svg { width: 100%; height: 100%; overflow: visible; }
.brand-mark path:not(.mark-stem) { fill: #718657; }
.brand-mark path:nth-child(2) { fill: #4e6743; }
.brand-mark .mark-stem { fill: none; stroke: #e9e7db; stroke-width: 1.5; }
.brand-name {
  font-family: var(--serif);
  font-size: clamp(21px, 2.2vw, 30px);
  letter-spacing: -0.035em;
}
.site-navigation { display: flex; align-items: center; gap: clamp(24px, 4vw, 54px); }
.nav-link {
  position: relative;
  padding: 10px 0;
  border: 0;
  background: none;
  color: #34392f;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 15px;
  text-decoration: none;
}
.nav-link::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--olive);
  content: "";
  transition: transform 180ms ease;
}
.nav-link:hover::after, .nav-link.is-current::after { transform: scaleX(1); }
.menu-toggle { display: none; }

.hero {
  position: relative;
  min-height: min(640px, 69vw);
  min-height: clamp(470px, 54vw, 640px);
  overflow: hidden;
  isolation: isolate;
  background: #b3b7a8;
}
.hero-image, .hero-shade { position: absolute; z-index: -1; inset: 0; }
.hero-image {
  background: url("./assets/lake.jpg") center 52% / cover no-repeat;
  animation: image-arrive 900ms ease-out both;
}
.hero-shade {
  background: linear-gradient(90deg, rgba(244, 242, 233, .89) 0%, rgba(244, 242, 233, .69) 33%, rgba(244, 242, 233, .16) 67%, rgba(35, 43, 32, .12) 100%);
}
.hero-copy {
  width: min(650px, 68vw);
  padding: clamp(72px, 9vw, 118px) 0 100px clamp(28px, 7vw, 112px);
  animation: copy-arrive 650ms 100ms ease-out both;
}
.eyebrow {
  margin: 0 0 18px;
  color: var(--olive);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .22em;
  line-height: 1.5;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 680px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(52px, 7.7vw, 100px);
  font-weight: 400;
  letter-spacing: -.065em;
  line-height: .93;
}
.title-rule { display: block; width: 44px; height: 2px; margin: 22px 0 14px; background: #71805e; }
.category {
  margin: 0;
  color: #3b4438;
  font-size: 12px;
  letter-spacing: .3em;
  text-transform: uppercase;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 29px; }
.button {
  display: inline-flex;
  min-height: 45px;
  align-items: center;
  justify-content: center;
  gap: 17px;
  padding: 0 20px;
  border: 1px solid var(--olive);
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 14px;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button span { font-family: var(--sans); font-size: 16px; }
.button-solid { background: var(--olive); color: #f5f2e8; }
.button-solid:hover { background: var(--olive-dark); }
.button-outline { background: rgba(244, 242, 233, .35); color: var(--ink); }
.button-outline:hover { background: var(--paper); }
.hero-index {
  position: absolute;
  right: clamp(25px, 5vw, 74px);
  bottom: 30px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #faf7ed;
  font-family: var(--serif);
  font-size: 12px;
  text-shadow: 0 1px 8px rgba(0,0,0,.45);
}
.hero-index i { width: 30px; height: 1px; background: currentColor; opacity: .7; }
.image-note {
  position: absolute;
  right: 30px;
  top: 25px;
  margin: 0;
  color: rgba(255,255,255,.85);
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-shadow: 0 1px 6px rgba(0,0,0,.5);
}

.about-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(180px, .68fr) minmax(0, 2fr);
  column-gap: clamp(32px, 5vw, 76px);
  max-width: var(--content);
  min-height: 400px;
  margin: 0 auto;
  padding: 62px clamp(24px, 5vw, 72px) 36px;
}
.about-heading { padding-top: 9px; }
.about-heading .eyebrow { margin-bottom: 10px; font-size: 9px; letter-spacing: .17em; }
.about-heading h2, .details-dialog h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(38px, 4.5vw, 56px);
  font-weight: 400;
  letter-spacing: -.04em;
}
.about-heading .title-rule { margin: 14px 0 20px; width: 34px; }
.about-location {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .17em;
  line-height: 1.9;
  text-transform: uppercase;
}
.image-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 13px;
}
.gallery-item {
  position: relative;
  height: clamp(138px, 19vw, 222px);
  overflow: hidden;
  margin: 0;
  background: #d5d8c9;
}
.gallery-item:nth-child(2) { margin-top: 22px; }
.gallery-item:nth-child(3) { margin-top: 42px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms cubic-bezier(.2,.7,.2,1); }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item figcaption {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 5px 7px;
  background: rgba(35, 43, 32, .68);
  color: #f5f2e8;
  font-size: 8px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.about-bottom {
  grid-column: 1 / -1;
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-top: 34px;
}
.ornament { width: 94px; height: 48px; opacity: .5; }
.ornament svg { width: 100%; height: 100%; fill: none; stroke: #70815f; stroke-width: 1.3; }
.about-bottom p {
  margin: 0;
  color: #60665b;
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: .025em;
  text-align: right;
}
.about-bottom p span { padding: 0 9px; color: #8b927f; }
.site-footer {
  display: flex;
  min-height: 75px;
  align-items: center;
  justify-content: space-between;
  padding: 17px clamp(24px, 5vw, 72px);
  background: var(--olive-dark);
  color: #efeee5;
}
.footer-brand { font-family: var(--serif); font-size: 14px; text-decoration: none; }
.site-footer p { margin: 0; color: #d3d7c9; font-size: 10px; letter-spacing: .025em; text-align: center; }
.site-footer p span { padding: 0 5px; }
.back-top {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border: 1px solid rgba(239,238,229,.48);
  border-radius: 50%;
  font-size: 17px;
  text-decoration: none;
  transition: background-color 180ms ease;
}
.back-top:hover { background: rgba(255,255,255,.12); }

.details-dialog {
  width: min(460px, calc(100% - 32px));
  padding: 0;
  border: 1px solid rgba(58, 73, 53, .3);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 24px 90px rgba(22, 30, 22, .24);
}
.details-dialog::backdrop { background: rgba(25, 35, 27, .52); backdrop-filter: blur(3px); }
.dialog-inner { position: relative; padding: clamp(34px, 7vw, 55px); }
.dialog-inner .eyebrow { margin-bottom: 13px; }
.details-dialog h2 { font-size: 42px; }
.dialog-inner .title-rule { margin: 18px 0; }
.dialog-inner > p:last-child { margin: 0; color: #535b50; font-family: var(--serif); font-size: 18px; }
.dialog-close {
  position: absolute;
  top: 16px;
  right: 17px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  font-size: 25px;
  line-height: 1;
}
.dialog-close:hover { background: var(--paper-deep); }

@keyframes image-arrive { from { transform: scale(1.035); } to { transform: scale(1); } }
@keyframes copy-arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 70px; }
  .site-header { min-height: 70px; padding: 0 20px; }
  .brand { gap: 10px; }
  .brand-mark { width: 31px; height: 36px; }
  .brand-name { max-width: 220px; font-size: clamp(18px, 5vw, 23px); }
  .menu-toggle {
    display: flex;
    width: 43px;
    height: 43px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
  }
  .menu-toggle span { width: 16px; height: 1px; background: var(--olive-dark); transition: transform 180ms ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .site-navigation {
    position: absolute;
    top: calc(100% - 1px);
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 7px 20px 17px;
    border-top: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 12px 16px rgba(35, 43, 32, .08);
  }
  .site-navigation.is-open { display: flex; flex-direction: column; }
  .nav-link { padding: 13px 3px; text-align: left; }
  .nav-link::after { bottom: 8px; right: auto; width: 35px; }
  .hero { min-height: 590px; }
  .hero-image { background-position: 56% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(244,242,233,.89), rgba(244,242,233,.64) 62%, rgba(244,242,233,.1)); }
  .hero-copy { width: 100%; padding: 104px 24px 90px; }
  .hero h1 { font-size: clamp(54px, 13vw, 78px); }
  .hero-index { bottom: 22px; right: 23px; }
  .image-note { right: 18px; top: 17px; font-size: 8px; }
  .about-section { display: block; padding: 48px 22px 27px; }
  .about-heading { margin-bottom: 24px; }
  .about-heading .eyebrow { margin-bottom: 5px; }
  .about-heading h2 { font-size: 43px; }
  .about-heading .title-rule { margin: 9px 0 12px; }
  .image-gallery { gap: 8px; }
  .gallery-item { height: clamp(125px, 38vw, 190px); }
  .gallery-item:nth-child(2) { margin-top: 11px; }
  .gallery-item:nth-child(3) { margin-top: 22px; }
  .gallery-item figcaption { right: 4px; bottom: 4px; padding: 4px; font-size: 6px; }
  .about-bottom { margin-top: 31px; }
  .ornament { width: 72px; height: 38px; }
  .about-bottom p { max-width: 245px; font-size: 11px; line-height: 1.6; }
  .site-footer { min-height: 100px; flex-wrap: wrap; gap: 10px; padding: 18px 20px; }
  .site-footer p { order: 3; width: 100%; text-align: left; line-height: 1.5; }
}
@media (max-width: 390px) {
  .brand-name { max-width: 190px; font-size: 18px; }
  .hero-actions { gap: 8px; }
  .button { gap: 11px; padding: 0 15px; font-size: 13px; }
  .gallery-item { height: 122px; }
}
