@font-face {
  font-family: "Instrument Serif";
  src: url("assets/instrument-serif-ext.woff2") format("woff2");
  font-display: swap;
  unicode-range: U+0100-02BA, U+0300-0301, U+0303-0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("assets/instrument-serif.woff2") format("woff2");
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2212, U+2215;
}

@font-face {
  font-family: "DM Sans";
  src: url("assets/dm-sans-ext.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
  unicode-range: U+0100-02BA, U+0300-0301, U+0303-0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF;
}

@font-face {
  font-family: "DM Sans";
  src: url("assets/dm-sans.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2212, U+2215;
}

:root {
  color-scheme: light;
  --paper: #f2eee3;
  --ink: #282f24;
  --olive: #343d2c;
  --clay: #934b35;
  --pale-clay: #e6dac7;
  --line: #bcb5a6;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
  --inset: clamp(20px, 6.1vw, 105px);
  --section: clamp(56px, 8vw, 120px);
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 1rem/1.58 var(--sans); }
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2, h3, .wordmark, .facts dd { font-family: var(--serif); font-weight: 400; }
h2 { font-size: clamp(3.3rem, 7vw, 6.5rem); line-height: 0.96; letter-spacing: -0.033em; }
h3 { font-size: clamp(2.4rem, 4.4vw, 3.8rem); line-height: 1; }
img { display: block; width: 100%; height: auto; object-fit: cover; }
a { color: inherit; text-underline-offset: 0.25em; }
button { font: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
section, .location { scroll-margin-top: 24px; }
.wrap { width: min(calc(100% - 2 * var(--inset)), 1430px); margin-inline: auto; }
.skip { position: absolute; z-index: 2; top: 8px; left: var(--inset); transform: translateY(-200%); padding: 10px 14px; background: var(--paper); }
.skip:focus { transform: translateY(0); }

.masthead {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 84px;
}
.wordmark { font-size: 3rem; line-height: 0.9; letter-spacing: -0.055em; text-decoration: none; justify-self: start; }
.masthead > .button { justify-self: end; }
nav { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0 clamp(12px, 2.2vw, 34px); }
nav a { padding-block: 10px; font-weight: 600; text-decoration: none; }
nav a:hover, .wordmark:hover { text-decoration: underline; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  width: fit-content;
  min-height: 49px;
  padding: 10px 18px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.button-dark { background: var(--olive); color: var(--paper); }
.button-dark:hover { background: var(--clay); }
.button-light { background: var(--paper); color: var(--ink); }
.button-light:hover { background: var(--pale-clay); }
.button-dark:focus-visible { outline-color: var(--olive); }
.button-light:focus-visible { outline-color: var(--paper); box-shadow: 0 0 0 2px var(--olive); }

.hero {
  display: grid;
  position: relative;
  align-items: end;
  min-height: clamp(520px, 73svh, 780px);
  color: #fff8e9;
  isolation: isolate;
  background: var(--olive);
}
.hero > img, .hero::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}
.hero > img { object-position: 52% 57%; }
.hero::after {
  content: "";
  z-index: -1;
  background: linear-gradient(90deg, rgb(21 28 19 / 61%), transparent 72%),
              linear-gradient(0deg, rgb(21 28 19 / 66%), transparent 63%);
}
.hero-body { padding-block: clamp(36px, 5.4vw, 80px); }
.hero h1 {
  font-size: clamp(4.2rem, 7.9vw, 8rem);
  line-height: 0.86;
  letter-spacing: -0.033em;
}
.hero em { display: block; font-weight: 400; color: #f1d7b7; }
.hero p { max-width: 42ch; margin-block: 24px 22px; font-size: clamp(1rem, 1.45vw, 1.27rem); }

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}
.facts > div { padding: 22px clamp(12px, 2.3vw, 34px) 25px; }
.facts > div:first-child { padding-left: 0; }
.facts > div + div { border-left: 1px solid var(--line); }
.facts dt { font-size: 0.93rem; font-weight: 600; }
.facts dd { margin-top: 3px; font-size: clamp(2.1rem, 4.1vw, 3.9rem); line-height: 0.98; }

.feature {
  display: grid;
  grid-template-columns: 4fr 6fr;
  align-items: center;
  gap: clamp(28px, 6vw, 102px);
  padding-block: var(--section);
}
.feature-reversed { grid-template-columns: 6fr 4fr; }
.feature-copy p { max-width: 45ch; margin-top: 17px; }
.feature-copy p:first-of-type { margin-top: 24px; }
.feature-photo { aspect-ratio: 1.42; object-position: 50% 56%; }
.events { background: var(--pale-clay); }
.events h2 { color: var(--clay); }
.text-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; margin-top: 12px; font-weight: 700; }
.text-link:hover { text-decoration-thickness: 2px; }

.gallery-section { padding-block: var(--section); }
.gallery-section h2 { margin-bottom: clamp(24px, 3.4vw, 52px); }
.gallery { display: grid; grid-template-columns: 1fr 1.18fr 1fr; align-items: center; gap: clamp(14px, 2vw, 30px); }
.gallery-item { display: block; min-width: 0; text-decoration: none; }
.gallery-item img { aspect-ratio: 4 / 3; }
.gallery-item:nth-child(2) img { aspect-ratio: 1.14; }
.gallery-item > span { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 45px; border-bottom: 1px solid var(--line); font-size: 0.96rem; font-weight: 600; }
.gallery-item:hover > span { color: var(--clay); border-color: var(--clay); }

.contact { background: var(--olive); color: var(--paper); }
.contact-inner { display: grid; grid-template-columns: 4fr 6fr; grid-template-rows: auto 1fr; grid-template-areas: "intro form" "location form"; gap: 24px clamp(28px, 5vw, 80px); align-items: start; padding-block: clamp(45px, 6.6vw, 96px); }
.booking-intro { grid-area: intro; }
.contact h2 { font-size: clamp(3rem, 6vw, 5.5rem); max-width: 14ch; }
.contact p { max-width: 49ch; margin-block: 20px; }
.location { grid-area: location; border-top: 1px solid #989e89; padding-top: 24px; }
.location address { margin-top: 14px; font-style: normal; }
.location .text-link { margin-top: 7px; }
.booking-panel { grid-area: form; min-width: 0; padding: clamp(20px, 3.4vw, 46px); background: var(--paper); color: var(--ink); }
.booking-panel > p:first-child { margin-top: 0; }
.booking-form fieldset { min-inline-size: 0; border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.booking-space, .booking-form .button { grid-column: 1 / -1; }
.booking-field { display: grid; align-content: start; gap: 5px; }
.booking-field label { font-weight: 700; }
.booking-field input, .booking-field select {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 8px 10px;
  border: 1px solid #777a6e;
  border-radius: 0;
  background: #fffdf6;
  color: inherit;
  font: inherit;
}
.booking-field small { font-size: 0.9rem; }
.booking-field [aria-invalid="true"] { border: 2px solid var(--clay); }
.booking-field :is(input, select):focus-visible { outline: 2px solid var(--olive); outline-offset: 2px; }
.booking-form .booking-error { color: #8b3526; font-weight: 600; }
.booking-form .button { margin-top: 5px; border: 0; cursor: pointer; white-space: normal; }
.booking-form :disabled { cursor: default; opacity: 0.7; }
.booking-receipt h3 { font-size: clamp(2.4rem, 4.5vw, 4rem); }
.site-footer { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.site-footer > a:last-child:not(.wordmark) { padding-block: 10px; }

.viewer { width: min(95vw, 1050px); max-width: 95vw; max-height: 96vh; padding: 0; border: 0; background: var(--olive); color: var(--paper); }
.viewer::backdrop { background: rgb(19 25 18 / 89%); }
.viewer-content { position: relative; }
.viewer-image { width: 100%; height: min(73vh, 730px); object-fit: contain; background: #242a21; }
.viewer-controls { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; text-align: center; }
.viewer button { width: 44px; height: 44px; border: 0; cursor: pointer; background: var(--paper); color: var(--ink); font-size: 1.45rem; }
.viewer button:focus-visible { outline-color: var(--paper); }
.viewer-close { position: absolute; top: 10px; right: 12px; }
html:has(.viewer[open]) { overflow: hidden; }

@media (max-width: 760px) {
  .masthead { grid-template-columns: 1fr 1fr; gap: 5px 16px; min-height: auto; padding-block: 13px 3px; }
  nav { grid-area: 2 / 1 / 3 / -1; justify-content: flex-start; gap: 0 clamp(12px, 4vw, 22px); font-size: 0.95rem; }
  nav a { min-height: 44px; }
  .wordmark { font-size: 2.75rem; }
  .hero { min-height: clamp(450px, 66svh, 630px); }
  .hero > img { object-position: 60% 56%; }
  .hero h1 { font-size: clamp(2.65rem, 10.7vw, 5.15rem); }
  .hero p { margin-block: 18px 20px; }
  .facts > div { padding-block: 16px 18px; }
  .facts dt { font-size: 0.85rem; }
  .facts dd { font-size: clamp(1.65rem, 6.6vw, 2.4rem); }
  .feature, .feature-reversed { grid-template-columns: 1fr; }
  .feature-reversed img { order: 1; }
  .gallery { grid-template-columns: 1fr 1fr; align-items: start; }
  .gallery-item:nth-child(2) img { aspect-ratio: 4 / 3; }
  .contact-inner { grid-template-columns: 1fr; grid-template-rows: auto; grid-template-areas: "intro" "form" "location"; }
  .location { padding-top: 22px; }
}

@media (max-width: 460px) {
  .booking-form fieldset { grid-template-columns: 1fr; }
}

@media (max-width: 375px) {
  nav { gap: 0 12px; font-size: 0.875rem; }
}
