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

@font-face {
  font-family: "Source Serif 4";
  src: url("/fonts/SourceSerif4Variable.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --sand: #e8e1d0;
  --sand-deep: #ddd4bf;
  --ink: #1e3a2c;
  --ink-soft: #4a5c4f;
  --line: rgba(30, 58, 44, 0.18);
  --forest: #17301f;
  --on-forest: #ece6d6;
  --on-forest-soft: #b8c2ae;
  --amber: #d6a04a;
  --amber-press: #c48e38;
  --error-light: #f3bda4;
  --error-dark: #8f3216;

  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;

  --bar-h: 4rem;
  --gutter: clamp(1rem, 4.5vw, 4rem);
  --max: 82rem;
  /* page edge that lines up with the centred content column */
  --edge: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
}

@media (min-width: 48rem) {
  :root { --bar-h: 2.375rem; }
  .sample-bar { font-size: 0.8125rem; }
}

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

html {
  scroll-padding-top: calc(var(--bar-h) + 1rem);
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  padding-top: var(--bar-h);
  background: var(--sand);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01";
  overflow-x: hidden;
}

::selection { background: var(--ink); color: var(--sand); }

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

h1, h2, h3, h4, p, ul, dl, dd, figure { margin: 0; }

a { color: inherit; }

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

/* Sample banner */
.sample-bar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--bar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.25rem;
  flex-wrap: wrap;
  align-content: center;
  padding: 0 var(--edge);
  background: var(--forest);
  color: var(--on-forest);
  font-size: 0.75rem;
  line-height: 1.3;
}

.sample-bar a {
  color: var(--amber);
  text-underline-offset: 0.2em;
  font-weight: 500;
}

.sample-bar :focus-visible { outline-color: var(--amber); }

/* Header */
.site-head {
  position: absolute;
  top: var(--bar-h);
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem var(--edge);
  color: var(--on-forest);
}

.brand {
  font-family: var(--serif);
  font-size: 1.375rem;
  font-weight: 450;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.site-head ul {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-head a:not(.btn) {
  font-size: 0.9375rem;
  text-decoration: none;
  text-underline-offset: 0.3em;
}

.site-head :focus-visible { outline-color: var(--on-forest); }

.nav-optional { display: none; }

@media (min-width: 48rem) {
  .nav-optional { display: list-item; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0 1.75rem;
  border: 0;
  border-radius: 999px;
  background: var(--amber);
  color: var(--forest);
  font: 600 1rem/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 200ms ease;
}

.btn:active { transform: scale(0.97); }

.btn-small {
  min-height: 2.5rem;
  padding: 0 1.25rem;
  font-size: 0.9375rem;
}

.text-link {
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
  transition: text-decoration-color 200ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--amber-press); }
  .site-head a:not(.btn):hover { text-decoration: underline; }
  .text-link:hover { text-decoration-thickness: 2px; }
  .sample-bar a:hover { text-decoration-thickness: 2px; }
}

/* Hero */
.hero {
  position: relative;
  height: calc(100svh - var(--bar-h));
  min-height: 34rem;
  max-height: 64rem;
  overflow: hidden;
  background: var(--forest);
  color: var(--on-forest);
  display: flex;
  align-items: flex-end;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 58%;
}

/* scrim keeps the headline readable over the photo */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(14, 30, 20, 0.82) 0%, rgba(14, 30, 20, 0.35) 42%, rgba(14, 30, 20, 0) 65%),
    linear-gradient(to bottom, rgba(14, 30, 20, 0.5) 0%, rgba(14, 30, 20, 0) 22%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(2.5rem, 7vh, 5rem);
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3rem, 8.4vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  max-width: 11ch;
  text-wrap: balance;
}

.hero p {
  max-width: 34rem;
  margin: 1.5rem 0 2rem;
  font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
  color: var(--on-forest);
}

.hero :focus-visible { outline-color: var(--on-forest); }

@media (prefers-reduced-motion: no-preference) {
  .hero-img { animation: settle 2.8s var(--ease-out) both; }
}

@keyframes settle {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}

/* Shared section rhythm */
.intro, .stays, .nearby, .booking-head, .booking-form, .site-foot {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.25rem, 4.6vw, 3.75rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

/* Intro */
.intro {
  display: grid;
  gap: 2rem;
  padding-top: clamp(4.5rem, 11vw, 9rem);
  padding-bottom: clamp(4.5rem, 10vw, 8rem);
}

.intro-lead {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.625rem, 3vw, 2.5rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  max-width: 30ch;
}

.intro-body {
  max-width: 36rem;
  color: var(--ink-soft);
}

@media (min-width: 60rem) {
  .intro {
    grid-template-columns: 7fr 4fr;
    align-items: end;
    gap: 4rem;
  }
}

/* Stays */
.stays {
  padding-bottom: clamp(4rem, 10vw, 8rem);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem 2rem;
  padding-bottom: 1.5rem;
  margin-bottom: clamp(2.5rem, 6vw, 5rem);
  border-bottom: 1px solid var(--line);
}

.price-note {
  font-size: 0.9375rem;
  color: var(--ink-soft);
  max-width: 28rem;
}

.stay {
  display: grid;
  gap: 2rem;
}

.stay + .stay { margin-top: clamp(4.5rem, 10vw, 8.5rem); }

.stay-photo {
  overflow: hidden;
  border-radius: 4px;
  background: var(--sand-deep);
}

.stay-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.stay:first-of-type .stay-photo img { object-position: 50% 70%; }

.stay-wide .stay-photo img { aspect-ratio: 3 / 2; }

.stay h3 {
  font-family: var(--serif);
  font-weight: 350;
  font-size: clamp(2rem, 3.4vw, 2.875rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
}

.stay-meta {
  margin: 0.75rem 0 1.5rem;
  font-weight: 500;
  color: var(--ink);
}

.stay-text > p:not(.stay-meta) {
  max-width: 34rem;
  color: var(--ink-soft);
}

.stay h4 {
  margin: 2rem 0 0.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
}

.included {
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--line);
  max-width: 30rem;
}

.included li {
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9875rem;
}

.stay-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem 2rem;
  max-width: 30rem;
  margin-top: 2rem;
}

.price {
  font-size: 1rem;
  color: var(--ink-soft);
}

.price strong {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 2rem;
  color: var(--ink);
  font-variant-numeric: lining-nums tabular-nums;
}

@media (min-width: 60rem) {
  .stay {
    grid-template-columns: 7fr 5fr;
    gap: clamp(3rem, 6vw, 6rem);
    align-items: center;
  }

  .stay-flip { grid-template-columns: 5fr 6fr; }
  .stay-flip .stay-photo { order: 2; }
  .stay-flip .stay-text { padding-left: clamp(0rem, 4vw, 4rem); }

  .stay-wide { grid-template-columns: 8fr 4fr; }
}

/* Nearby */
.nearby {
  display: grid;
  gap: 2.5rem;
  padding-top: clamp(4rem, 9vw, 7rem);
  padding-bottom: clamp(5rem, 11vw, 9rem);
  border-top: 1px solid var(--line);
}

.nearby-head p {
  margin-top: 1.25rem;
  max-width: 24rem;
  color: var(--ink-soft);
}

.nearby-list > div {
  display: grid;
  gap: 0.25rem 2rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.nearby-list > div:first-child { border-top: 1px solid var(--line); }

.nearby-list dt {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.2;
}

.nearby-list dd {
  color: var(--ink-soft);
  max-width: 34rem;
}

@media (min-width: 60rem) {
  .nearby { grid-template-columns: 4fr 7fr; gap: 6rem; }
  .nearby-head { position: sticky; top: calc(var(--bar-h) + 3rem); align-self: start; }
  .nearby-list > div { grid-template-columns: 13rem 1fr; align-items: baseline; }
}

/* Booking */
.booking {
  background: var(--forest);
  color: var(--on-forest);
  padding: clamp(4.5rem, 10vw, 8rem) 0;
}

.booking-head {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.booking-head p {
  max-width: 36rem;
  margin-top: 1.25rem;
  color: var(--on-forest-soft);
}

.booking-form {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 40rem) {
  .booking-form { grid-template-columns: 1fr 1fr; gap: 1.75rem 2rem; }
  .field-full { grid-column: 1 / -1; }
}

@media (min-width: 60rem) {
  .booking-form { grid-template-columns: repeat(2, minmax(0, 25rem)); }
}

.field { display: grid; gap: 0.5rem; align-content: start; }

.field label {
  font-size: 0.9375rem;
  font-weight: 500;
}

.field input,
.field select {
  width: 100%;
  min-height: 3.25rem;
  padding: 0 1rem;
  border: 1px solid rgba(236, 230, 214, 0.35);
  border-radius: 6px;
  background: rgba(236, 230, 214, 0.06);
  color: var(--on-forest);
  font: 400 1rem/1.2 var(--sans);
  accent-color: var(--amber);
  caret-color: var(--amber);
  transition: border-color 200ms ease, background-color 200ms ease;
}

.field select {
  appearance: none;
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23ece6d6' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

.field select option { color: var(--ink); background: var(--sand); }

.field input::-webkit-calendar-picker-indicator { filter: invert(0.9); cursor: pointer; }

.field input:focus-visible,
.field select:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
  border-color: var(--amber);
}

.field [aria-invalid="true"] { border-color: var(--error-light); }

@media (hover: hover) and (pointer: fine) {
  .field input:hover,
  .field select:hover { border-color: rgba(236, 230, 214, 0.6); }
}

.hint { font-size: 0.875rem; color: var(--on-forest-soft); }

.error {
  font-size: 0.875rem;
  color: var(--error-light);
}

.error:empty { display: none; }

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 0.5rem;
}

.form-actions .btn { min-width: 12rem; }

.form-actions :focus-visible { outline-color: var(--amber); }

.form-status {
  max-width: 30rem;
  color: var(--on-forest);
}

.form-status.is-success {
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.35;
}

/* Footer */
.site-foot {
  display: grid;
  gap: 0.75rem;
  padding-top: clamp(3.5rem, 7vw, 5rem);
  padding-bottom: 3rem;
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

.foot-brand {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 350;
  color: var(--ink);
}

.site-foot p:not(.foot-brand) { max-width: 36rem; }

.site-foot .text-link { color: var(--ink); justify-self: start; margin-top: 0.75rem; }

/* Phones: the sample note scrolls away with the page instead of taking fixed space */
@media (max-width: 51.99rem) {
  :root { --bar-h: 0px; }
  .sample-bar { position: relative; z-index: 60; min-height: 0; height: auto; padding: 0.5rem 1rem; }
  .site-head { position: relative; top: 0; background: var(--forest); }
}

/* Display face: Newsreader (optical sizes), a calm book serif */
@font-face { font-family: "Newsreader"; src: url("fonts/NewsreaderVariable.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
:root { --serif: "Newsreader", Georgia, serif; }
