@font-face {
  font-family: "Fraunces Local";
  src: url("fonts/fraunces-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces Local";
  src: url("fonts/fraunces-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans Local";
  src: url("fonts/source-sans-3-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans Local";
  src: url("fonts/source-sans-3-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --sand: #f3eee4;
  --sand-deep: #e6dccb;
  --foam: #f7f4ee;
  --ink: #102833;
  --ink-soft: #243e4c;
  --tide: #163e52;
  --line: rgba(16, 40, 51, 0.16);
  --serif: "Fraunces Local", "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  --sans: "Source Sans Local", "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
  --measure: 72rem;
  --pad: clamp(1rem, 4vw, 2.5rem);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  max-width: 100%;
}

body {
  overflow-x: clip;
  max-width: 100%;
}

body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: clip;
}

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

a {
  color: var(--tide);
}

a:hover {
  color: var(--ink);
}

p,
ul,
dl {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin: 0;
}

h1 {
  font-size: clamp(2.2rem, 10vw, 5.4rem);
  max-width: 11ch;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  max-width: 16ch;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.55rem;
  margin-bottom: 0.45rem;
}

.skip {
  position: absolute;
  left: 1rem;
  top: 0;
  transform: translateY(-120%);
  background: var(--ink);
  color: var(--foam);
  padding: 0.7rem 1rem;
  z-index: 20;
  text-decoration: none;
}

.skip:focus {
  transform: none;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem var(--pad);
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(243, 238, 228, 0.94);
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
}

.nav-details summary {
  list-style: none;
  cursor: pointer;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 0.2rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.nav-details summary::-webkit-details-marker {
  display: none;
}

#site-nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--sand);
  border-bottom: 1px solid var(--line);
  padding: 0.4rem var(--pad) 1rem;
}

.nav-details[open] #site-nav {
  display: grid;
}

#site-nav a {
  color: var(--ink);
  text-decoration: none;
  min-height: 44px;
  display: flex;
  align-items: center;
  border-top: 1px solid var(--line);
  font-size: 1.05rem;
}

.nav-book {
  font-weight: 600;
}

.kicker {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tide);
  margin-bottom: 0.8rem;
}

.lede {
  font-size: 1.15rem;
  max-width: 38ch;
  color: var(--ink-soft);
  margin-top: 1.1rem;
}

.hero,
.destination,
.why,
.stay,
.walks,
.neighbourhood,
.dogs,
.showreel,
.films,
.gallery,
.plan,
.site-footer {
  padding: clamp(2.5rem, 7vw, 5.5rem) var(--pad);
  max-width: calc(var(--measure) + var(--pad) * 2);
  margin: 0 auto;
}

.hero {
  display: block;
  max-width: none;
  padding: 0;
  position: relative;
}

.hero-scene {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(26rem, 72vh, 40rem);
  overflow: hidden;
  color: var(--foam);
}

.hero-scene-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
}

.hero-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 20, 28, 0.84) 0%, rgba(8, 20, 28, 0.62) 34%, rgba(8, 20, 28, 0.18) 58%, rgba(8, 20, 28, 0) 78%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(40rem, 100%);
  margin: 0;
  padding: clamp(1.25rem, 4vw, 3rem);
  background: transparent;
}

.hero-scene h1,
.hero-scene .lede,
.hero-scene .kicker,
.hero-scene .hero-note,
.hero-scene .provider {
  color: var(--foam);
}

.hero-scene .hero-note,
.hero-scene .provider {
  color: rgba(247, 244, 238, 0.92);
}

.hero-collage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.65rem 0.5rem;
  width: min(72rem, calc(100% - 2 * var(--pad)));
  margin: 1.15rem auto 0;
}

.hero-collage figure {
  margin: 0;
  min-width: 0;
}

.hero-collage img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: var(--sand-deep);
}

.hero-collage figcaption {
  margin-top: 0.3rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.profile img,
.shot img,
.grid img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-note,
.fine,
.provider,
figcaption {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.hero-note {
  margin-top: 0.35rem;
}

.map-link {
  display: block;
  margin-top: 1rem;
}

.map-link img {
  display: block;
  width: 100%;
  height: auto;
}

.map-caption {
  max-width: 46ch;
}

.neighbourhood h2 {
  max-width: 11em;
  font-size: clamp(1.7rem, 7.4vw, 3.2rem);
  line-height: 1.05;
  text-wrap: balance;
}

.map-legend {
  list-style: decimal;
  margin: 1rem 0 0.8rem;
  padding-left: 1.25rem;
  display: grid;
  gap: 0.3rem;
  max-width: 36rem;
}

@media (min-width: 768px) {
  .map-legend {
    grid-template-columns: 1fr 1fr;
    column-gap: 1.5rem;
  }
}

.only-desktop {
  display: none;
}

.cta-block {
  margin-top: 1.4rem;
  display: grid;
  gap: 0.55rem;
  justify-items: start;
}

.cta,
.lb-bar button,
.nav-book-solid {
  background: var(--ink);
  color: var(--foam);
  text-decoration: none;
  min-height: 48px;
  padding: 0.75rem 1.15rem;
  display: inline-flex;
  align-items: center;
  border: 0;
  font: 600 0.95rem/1 var(--sans);
  letter-spacing: 0.02em;
  cursor: pointer;
}

a.cta:link,
a.cta:visited,
a.cta:hover,
a.cta:focus,
a.cta:focus-visible,
a.cta:active,
.lb-bar button:hover,
.lb-bar button:focus,
.lb-bar button:focus-visible,
.lb-bar button:active {
  color: var(--foam);
}

a.cta:hover,
a.cta:focus-visible,
.lb-bar button:hover,
.lb-bar button:focus-visible {
  background: var(--tide);
  color: var(--foam);
}

.chapters {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.chapters p {
  color: var(--ink-soft);
  max-width: 42ch;
}

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

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.4rem 0;
  max-width: 28rem;
}

.facts div {
  border-top: 1px solid var(--ink);
  padding-top: 0.45rem;
}

.facts dt {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}

.facts dd {
  margin: 0.15rem 0 0;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 8vw, 3.5rem);
  line-height: 1;
}

.rooms {
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
  max-width: 46ch;
}

.rooms li {
  padding-top: 0.45rem;
  border-top: 1px solid var(--line);
}

.profile figcaption {
  margin-top: 0.45rem;
}

.distances {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.distances li {
  display: grid;
  gap: 0.1rem;
  border-top: 1px solid var(--ink);
  padding-top: 0.7rem;
}

.num {
  font-family: var(--serif);
  font-size: clamp(3rem, 10vw, 4.5rem);
  line-height: 0.9;
}

.unit {
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.place {
  font-size: 1.15rem;
}

.pet-claim {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  line-height: 1.25;
  max-width: 22ch;
}

.gallery-intro {
  max-width: 62ch;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}

.gallery h3 {
  margin: 1.6rem 0 0.8rem;
}

.grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.85rem 0.7rem;
}

.grid figure,
.scene {
  min-width: 0;
}

.span-wide {
  grid-column: 1 / -1;
}

.grid figure {
  margin: 0;
}

.grid button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.grid figcaption {
  margin-top: 0.4rem;
}

.quote {
  background: var(--ink);
  color: var(--foam);
  max-width: none;
  padding: clamp(3rem, 8vw, 6rem) var(--pad);
}

.quote .kicker,
.quote h2,
.quote blockquote,
.quote .attribution {
  max-width: var(--measure);
  margin-left: auto;
  margin-right: auto;
}

.quote .kicker {
  color: #d5c7ae;
}

.quote h2 {
  color: var(--foam);
}

.quote blockquote {
  margin: 1.6rem auto 0;
  padding: 0;
}

.quote blockquote + .attribution + blockquote {
  margin-top: 1.4rem;
}

.quote blockquote p {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 4vw, 2.5rem);
  line-height: 1.3;
  max-width: 22ch;
}

.attribution {
  margin: 1rem auto 0;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 600;
}

.site-footer {
  display: grid;
  gap: 0.45rem;
  border-top: 1px solid var(--line);
}

.wordmark-quiet {
  font-size: 1.7rem;
}

dialog {
  border: 0;
  padding: 1rem;
  width: min(100%, 100vw);
  height: 100%;
  max-width: none;
  max-height: none;
  background: var(--ink);
  color: var(--foam);
}

dialog::backdrop {
  background: rgba(8, 20, 28, 0.78);
}

dialog[open] {
  display: grid;
  grid-template-rows: 1fr auto auto;
  align-items: center;
  gap: 0.75rem;
}

#lb-img {
  width: auto;
  max-width: 100%;
  max-height: calc(100svh - 9rem);
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

#lb-caption {
  margin: 0;
  text-align: center;
  font-size: 0.95rem;
}

.lb-bar {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

dialog :focus-visible {
  outline-color: var(--foam);
}

@media (min-width: 768px) {
  .grid-area {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .grid-house {
    grid-template-columns: 1fr 1fr;
  }

  .distances {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .chapters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

@media (min-width: 900px) {
  .nav-details summary {
    display: none;
  }

  #site-nav,
  .nav-details[open] #site-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    position: static;
    background: transparent;
    border: 0;
    padding: 0;
    gap: 0.25rem 1rem;
    align-items: center;
  }

  #site-nav a {
    border: 0;
    min-height: 44px;
    font-size: 0.98rem;
  }

  #site-nav a.nav-book:link,
  #site-nav a.nav-book:visited,
  #site-nav a.nav-book:hover,
  #site-nav a.nav-book:focus,
  #site-nav a.nav-book:focus-visible,
  #site-nav a.nav-book:active {
    background: var(--ink);
    color: var(--foam);
    padding: 0 0.9rem;
  }

  #site-nav a.nav-book:hover,
  #site-nav a.nav-book:focus-visible {
    background: var(--tide);
    color: var(--foam);
  }

  .only-desktop {
    display: block;
  }

  .hero-scene {
    min-height: clamp(28rem, 68vh, 40rem);
  }

  .hero-scene::after {
    background: linear-gradient(90deg, rgba(8, 20, 28, 0.8) 0%, rgba(8, 20, 28, 0.62) 32%, rgba(8, 20, 28, 0.16) 54%, rgba(8, 20, 28, 0) 70%);
  }

  .hero-collage {
    gap: 0.9rem 0.75rem;
    margin-top: 1.35rem;
  }

  .stay {
    grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.7fr);
    gap: 2.5rem;
    align-items: start;
  }
}

.why-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem 0;
}

.why-controls button {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
  min-height: 44px;
  padding: 0.45rem 0.85rem;
  font: 600 0.85rem/1 var(--sans);
  cursor: pointer;
}

.why-controls button:hover {
  background: var(--ink);
  color: var(--foam);
}

#why-status {
  margin-left: 0.35rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.why,
.films {
  overflow-x: clip;
}

.why-track {
  display: flex;
  gap: 0.85rem;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.4rem;
}

.why-slide {
  flex: 0 0 min(78vw, 20.5rem);
  scroll-snap-align: start;
}

.why-slide img {
  width: 100%;
  height: auto;
  display: block;
  background: var(--sand-deep);
}

.why-slide p,
.films figcaption {
  margin-top: 0.55rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.showreel-frame video,
.film-row video {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  background: var(--ink);
}

#showreel-reel {
  display: block;
  width: min(100%, 22rem);
  margin: 0.8rem auto 0;
}

#showreel-feed {
  display: none;
  width: min(100%, 36rem);
  margin: 0.8rem auto 0;
}

.showreel-caption {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.25;
  max-width: 22ch;
}

.film-row {
  display: flex;
  gap: 0.85rem;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  margin-top: 1rem;
}

.film-row figure {
  flex: 0 0 min(85%, 16.5rem);
  min-width: 0;
  max-width: 100%;
  scroll-snap-align: start;
  margin: 0;
}

.house-scenes {
  display: grid;
  gap: 1.4rem;
  margin-top: 1rem;
}

.scene {
  display: grid;
  gap: 0.75rem;
}

.scene h4 {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0;
}

.scene figure {
  margin: 0;
}

.scene button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.scene img {
  width: 100%;
  height: auto;
  display: block;
}

.scene figcaption {
  margin-top: 0.4rem;
}

.quote figure,
.quote .quote-note {
  max-width: var(--measure);
  margin-left: auto;
  margin-right: auto;
}

.quote-shot {
  background: var(--foam);
  color: var(--ink);
  padding: 0.75rem;
  margin-top: 1rem;
}

.quote-shot img {
  width: min(100%, 678px);
  height: auto;
  display: block;
}

.quote-shot figcaption,
.quote-note {
  color: #d5c7ae;
}

.quote-shot figcaption {
  color: var(--ink-soft);
  margin-top: 0.4rem;
}

.quote-note {
  margin-top: 1rem;
  max-width: 46ch;
}

@media (min-width: 768px) {
  .scene.pair,
  .scene.yard {
    grid-template-columns: 1.3fr 0.85fr;
  }

  .scene h4,
  .scene.yard .is-repeat {
    grid-column: 1 / -1;
  }

  .scene.yard .is-repeat {
    max-width: 48%;
  }
}

@media (min-width: 900px) {
  #showreel-reel {
    display: none;
  }

  #showreel-feed {
    display: block;
  }

  .film-row {
    overflow-x: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .why-track,
  .film-row {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
