/* Sage studio: light sage ground, forest ink, rounded photo cards, pill facts.
   One accent (clay) for links and primary buttons only. Single light theme by choice. */
:root {
  --bg: #E9EDE4;          /* sage ground */
  --surface: #F6F8F2;     /* pills, booking panel */
  --line: #D2DACB;        /* hairlines, pill borders */
  --ink: #22302A;         /* forest ink, headings and body */
  --muted: #4A5A51;       /* captions, supporting lines (6.2:1 on --bg) */
  --clay: #985B3B;        /* accent: primary button fill */
  --clay-strong: #8E5537; /* accent text links and button hover (5.0:1 on --bg) */
  --on-clay: #FFFFFF;
  --shadow: 0 1px 2px rgba(34, 48, 42, 0.06), 0 14px 32px -14px rgba(34, 48, 42, 0.22);

  --font-display: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  --radius: 20px;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-6: 48px;
  --section-y: clamp(56px, 7vw, 96px);
  --header-h: 64px;

  color-scheme: light;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem; /* 17px */
  line-height: 1.6;
  overflow-wrap: break-word;
}

[hidden] { display: none !important; }

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

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.375rem, 1.6rem + 3.2vw, 4rem); line-height: 1.04; }
h2 { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); line-height: 1.1; }
h3 { font-size: 1.0625rem; line-height: 1.3; letter-spacing: 0; }

p { margin: 0; }

ul { margin: 0; padding: 0; list-style: none; }

figure { margin: 0; }

a { color: var(--clay-strong); }

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

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 20;
  padding: var(--space-1) var(--space-2);
  background: var(--surface);
  color: var(--ink);
}
.skip:focus { left: max(16px, env(safe-area-inset-left, 0px)); top: calc(env(safe-area-inset-top, 0px) + 8px); }

/* Layout */
.wrap {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

/* Header */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 10;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  column-gap: var(--space-3);
  min-height: var(--header-h);
}
.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.brand-place { color: var(--muted); }

.nav-toggle {
  display: none;
  min-height: 40px;
  padding: 0 var(--space-2);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: 600 0.9375rem/1 var(--font-body);
  cursor: pointer;
}
.js .nav-toggle { display: inline-flex; align-items: center; }

.site-nav { flex-basis: 100%; }
.js .site-nav { display: none; }
.js .site-header.is-open .site-nav { display: block; }

.nav-list {
  display: grid;
  gap: var(--space-1);
  padding-block: var(--space-1) var(--space-2);
}
.nav-list a {
  display: inline-block;
  padding-block: 6px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.nav-list a:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav-list .nav-book {
  padding: 6px 16px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
}

@media (min-width: 860px) {
  .js .nav-toggle { display: none; }
  .site-nav, .js .site-nav { display: block; flex-basis: auto; }
  .nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding-block: 0;
  }
}

/* Sections: one rhythm everywhere */
main > section { scroll-margin-top: var(--header-h); }

.section { padding-block: var(--section-y); border-top: 1px solid var(--line); }
.section > .wrap { display: grid; gap: var(--space-4); }

.section-head { display: grid; gap: 12px; max-width: 40rem; min-width: 0; }
.section-head p { color: var(--muted); }

.property-location {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* Hero */
.hero { padding-block: var(--space-4) var(--section-y); }
.hero-grid { display: grid; gap: var(--space-4); align-items: center; }
.hero-copy { display: grid; gap: var(--space-3); min-width: 0; }
.lede { font-size: 1.1875rem; max-width: 30rem; }

@media (min-width: 860px) {
  .hero { padding-top: var(--space-6); }
  .hero-grid { grid-template-columns: 1fr 1.15fr; gap: var(--space-6); }
}

/* Pills */
.pills { display: flex; flex-wrap: wrap; gap: var(--space-1); }
.pill {
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
}
.pills-lg .pill { padding: 10px 18px; font-size: 1.0625rem; }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 1.1875rem; /* 19px bold: large text for contrast */
  font-weight: 700;
  text-decoration: none;
}
.btn-primary { background: var(--clay); color: var(--on-clay); }
.btn-primary:hover { background: var(--clay-strong); }
.btn-secondary { border: 1.5px solid var(--ink); color: var(--ink); }
.btn-secondary:hover { background: var(--surface); }

.text-link {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Photo cards */
.photo { display: grid; gap: 10px; min-width: 0; }
.photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.photo-hero img { aspect-ratio: 4 / 3; }
.photo figcaption { font-size: 0.9375rem; color: var(--muted); }

.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2); }

@media (min-width: 860px) {
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); }
}

/* Amenity groups */
.groups { display: grid; gap: var(--space-4); }
.group { display: grid; gap: 12px; align-content: start; min-width: 0; }

@media (min-width: 600px) { .groups { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .groups { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Location */
.map { display: grid; gap: 10px; min-width: 0; }
.map-frame {
  max-width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--surface);
}
.map-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.map figcaption { font-size: 0.9375rem; color: var(--muted); }

@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1.4fr; align-items: start; }
}

/* Book */
.book {
  display: grid;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
/* A paired arrival/departure strip within the booking panel. */
.stay-times {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  max-width: 32rem;
  margin: 0;
  padding-block: var(--space-3);
  border-block: 1px solid var(--line);
}
.stay-time { display: grid; gap: 12px; min-width: 0; }
.stay-time + .stay-time {
  padding-left: var(--space-3);
  border-left: 1px solid var(--line);
}
.stay-time dt {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 600;
}
.stay-time svg { width: 18px; height: 18px; flex: none; color: var(--clay-strong); }
.stay-time dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.time-period {
  margin-left: 5px;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--muted);
}
.contact { color: var(--muted); scroll-margin-top: calc(var(--header-h) + 16px); }

@media (min-width: 860px) {
  .book { padding: var(--space-6); }
}

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: var(--space-4); }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-1) var(--space-3);
  font-size: 0.9375rem;
  color: var(--muted);
}
.footer-name { font-family: var(--font-display); font-weight: 700; color: var(--ink); }

/* Motion only when welcome */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .btn { transition: background-color 160ms ease; }
}

::selection { background: var(--ink); color: var(--surface); }
.host-contact { display: grid; gap: var(--space-1); scroll-margin-top: calc(var(--header-h) + 16px); }
.contact-links { display: flex; flex-wrap: wrap; gap: 0 var(--space-3); }
.contact-links a { display: inline-flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; text-underline-offset: 4px; }
.nav-list a { min-height: 44px; }
.btn { text-align: center; padding-block: 12px; }
.map-placeholder { display: grid; align-content: center; gap: 16px; padding: var(--space-4); border: 1px solid var(--line); border-radius: 16px; }
.map-placeholder p { max-width: 36ch; color: var(--muted); }
@media (max-width: 420px) {
  .brand { font-size: 0.9375rem; }
  .header-inner { column-gap: 8px; }
  .book { padding: 24px 16px; }
  .actions .btn { width: 100%; font-size: 1.0625rem; padding-inline: 16px; }
}

.booking-map { display: grid; gap: 12px; max-width: 44rem; width: 100%; scroll-margin-top: calc(var(--header-h) + 16px); }
