:root {
  --heather: #6E4A7A;
  --heather-deep: #533A5E;
  --ink: #231A2A;
  --paper: #F4EEE3;
  --moss: #3F5A3A;
  --brass: #B8924A;
  --paper-deep: #E9E0D0;
  --lilac: color-mix(in srgb, var(--heather) 16%, var(--paper));
  --muted: color-mix(in srgb, var(--ink) 74%, var(--paper));
  --serif: "EB Garamond", Georgia, "Times New Roman", serif;
  --sans: Jost, "Segoe UI", system-ui, sans-serif;
  --gutter: 1.25rem;
  --reach: 72rem;
  color-scheme: light;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.68 var(--sans);
  font-size-adjust: from-font;
  overflow-wrap: break-word;
}

[hidden] { display: none !important; }

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  margin: 0 0 .6em;
  text-wrap: balance;
}

h2 { font-size: clamp(1.9rem, 1.25rem + 2.3vw, 3rem); }
h3 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); }

p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--heather-deep); text-decoration-thickness: 2px; text-underline-offset: .22em; text-decoration-color: var(--brass); }
a:hover { color: var(--ink); }

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

.skip {
  position: absolute;
  inset-inline-start: 1rem;
  inset-block-start: -4rem;
  background: var(--ink);
  color: var(--paper);
  padding: .6rem 1rem;
  z-index: 60;
}
.skip:focus { inset-block-start: .5rem; outline-color: var(--paper); }

.wrap { width: min(100% - 2 * var(--gutter), var(--reach)); margin-inline: auto; }
.sec { padding-block: clamp(2.5rem, 6vw, 5rem); }

.masthead {
  background: var(--paper);
  border-block-end: 3px double var(--brass);
  position: relative;
  z-index: 20;
}

.masthead-row {
  width: min(100% - 2 * var(--gutter), var(--reach));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: .75rem;
}
.masthead-row > * { flex-shrink: 0; white-space: nowrap; }

.mark {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: var(--heather-deep);
  text-decoration: none;
  font: 500 clamp(1.25rem, 1rem + 1.2vw, 1.65rem)/1 var(--serif);
}
.mark:hover { color: var(--ink); }
.stems { color: var(--heather); }

.menu-toggle {
  anchor-name: --menu-btn;
  min-block-size: 2.75rem;
  padding: .5rem 1.1rem;
  background: transparent;
  border: 1.5px solid var(--ink);
  color: var(--ink);
  font: 500 1rem var(--sans);
  cursor: pointer;
}
.menu-toggle:hover { background: var(--ink); color: var(--paper); }

.menu-list {
  position: fixed;
  inset: auto;
  inset-block-start: 4.4rem;
  inset-block-start: anchor(--menu-btn bottom);
  inset-inline-end: var(--gutter);
  inline-size: min(80dvw, 20rem);
  max-inline-size: calc(100dvw - 2rem);
  block-size: fit-content;
  max-block-size: calc(100dvh - 6rem);
  margin: .5rem 0 0;
  padding: .5rem;
  list-style: none;
  overflow: auto;
  background: var(--paper);
  border: 1.5px solid var(--ink);
}
.menu-list a {
  display: block;
  padding: .8rem 1rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}
.menu-list a:hover { background: var(--lilac); }
.menu-list a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--brass); background: var(--lilac); }

.masthead.is-wide .menu-toggle { display: none; }
.masthead.is-wide .menu-list {
  position: static;
  display: flex;
  align-items: center;
  gap: 1.9rem;
  inline-size: auto;
  max-inline-size: none;
  block-size: auto;
  max-block-size: none;
  overflow: visible;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.masthead.is-wide .menu-list a { padding: .45rem 0; border-block-end: 3px solid transparent; }
.masthead.is-wide .menu-list a:hover { background: transparent; border-color: var(--brass); }
.masthead.is-wide .menu-list a[aria-current="page"] { box-shadow: none; background: transparent; border-color: var(--brass); }
.masthead.is-wide .menu-list::backdrop { display: none; }
.masthead.is-measuring * { transition: none !important; }

.demo-line {
  margin: 0;
  padding: .55rem var(--gutter);
  background: var(--paper-deep);
  border-block-end: 1px solid var(--brass);
  text-align: center;
  font-size: .875rem;
  line-height: 1.45;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-block-size: 2.75rem;
  padding: .6rem 1.4rem;
  border: 1.5px solid var(--ink);
  font: 500 1rem/1.2 var(--sans);
  text-decoration: none;
  cursor: pointer;
}
.btn-solid { background: var(--heather-deep); border-color: var(--heather-deep); color: var(--paper); }
.btn-solid:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-brass { background: var(--brass); border-color: var(--brass); color: var(--ink); }
.btn-brass:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }

.on-dark :focus-visible, .foot :focus-visible, .note-bar :focus-visible { outline-color: var(--paper); }

.linklike {
  background: none;
  border: 0;
  padding: .4rem 0;
  min-block-size: 2.75rem;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-decoration-color: var(--brass);
  text-decoration-thickness: 2px;
  text-underline-offset: .22em;
  cursor: pointer;
}

.spread { display: grid; background: var(--heather-deep); }
.spread-text {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1.5rem;
  padding: clamp(2rem, 5vw, 4.5rem) var(--gutter);
  color: var(--paper);
}
.spread-text h1 {
  margin: 0;
  font-size: clamp(2.9rem, 1.2rem + 6.2vw, 6rem);
  line-height: .98;
  letter-spacing: -.012em;
}
.spread-text p { max-inline-size: 30ch; font-size: 1.1875rem; padding-block-start: 1.25rem; border-block-start: 1px solid var(--brass); }
.spread-photo { margin: 0; min-block-size: 18rem; }
.spread-photo img { inline-size: 100%; block-size: 100%; object-fit: cover; }

.ledger {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  margin: 0;
  border-block: 1px solid var(--brass);
}
.ledger div { padding: 1.1rem 1.25rem; border-inline-end: 1px solid var(--brass); }
.ledger div:last-child { border-inline-end: 0; }
.ledger dt { color: var(--heather); font-size: .9375rem; font-weight: 500; }
.ledger dd { margin: 0; font: 500 clamp(1.5rem, 1.2rem + 1.2vw, 2rem)/1.15 var(--serif); }

.strip { display: grid; gap: 2rem; align-items: center; }
.strip figure, .side-figure { margin: 0; }
.strip img, .side-figure img { inline-size: 100%; }
.framed img { outline: 1px solid var(--brass); outline-offset: .55rem; }
.framed { padding: .55rem; }
figcaption { margin-block-start: .85rem; color: var(--muted); font-size: .9375rem; line-height: 1.45; }
.strip-text h2 { margin-block-end: .5em; }
.strip-text p { max-inline-size: 38rem; }

.textlink { font-weight: 500; }

.draw {
  margin: 0;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  padding: clamp(.75rem, 2.5vw, 1.75rem);
}
.draw figcaption { padding-inline: .25rem; }
.draw-title { font: 500 1.375rem/1.2 var(--serif); color: var(--ink); margin: 0 0 .75rem; }

.map, .plan, .elev, .wall { inline-size: 100%; }
.mp-hill path { stroke: var(--moss); stroke-opacity: .5; stroke-width: 1.25; }
.mp-loch path { fill: var(--lilac); stroke: var(--heather-deep); stroke-width: 1.25; }
.mp-route { fill: none; stroke: var(--heather-deep); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 1; }
.mp-pins circle { fill: var(--paper); stroke: var(--heather-deep); stroke-width: 2.5; }
.mp-pins text, .mp-north text { font: 600 15px var(--sans); fill: var(--ink); }
.mp-home circle:last-child { fill: var(--brass); stroke: var(--ink); stroke-width: 2; }
.mp-north circle { fill: var(--paper); stroke: var(--ink); stroke-width: 1.5; }
.mp-north path { fill: var(--ink); }
.mp-tags rect, .pl-tags rect, .el-tags rect, .wl-tags rect { fill: var(--paper); stroke: var(--ink); stroke-width: 1.25; }
.mp-tags text, .pl-tags text, .el-tags text, .wl-tags text { font: 500 15px var(--sans); fill: var(--ink); }

.pl-room { fill: var(--paper); stroke: var(--ink); stroke-width: 2.5; }
.pl-room-b, .pl-stair { fill: var(--paper-deep); }
.pl-stair { stroke: var(--ink); stroke-width: 2.5; }
.pl-gallery { fill: var(--lilac); }
.pl-steps { stroke: var(--ink); stroke-width: 1; fill: none; }
.pl-desk { fill: color-mix(in srgb, var(--brass) 45%, var(--paper)); stroke: var(--ink); stroke-width: 2; }
.pl-gap { fill: var(--paper); }
.pl-route { fill: none; stroke: var(--heather); stroke-width: 3.5; stroke-dasharray: 3 9; stroke-linecap: round; }
.pl-tip { fill: var(--heather-deep); }

.el-trees circle { fill: var(--moss); fill-opacity: .7; }
.el-trees path { stroke: var(--ink); stroke-width: 3; }
.el-wall, .el-gable { fill: var(--paper-deep); stroke: var(--ink); stroke-width: 2.5; stroke-linejoin: round; }
.el-slate { fill: var(--ink); }
.el-chim { fill: var(--paper-deep); stroke: var(--ink); stroke-width: 2; }
.el-band { stroke: var(--ink); stroke-width: 1.25; fill: none; }
.el-glass rect, .el-glass path, .el-glass circle { fill: var(--lilac); stroke: var(--ink); stroke-width: 1.75; }
.el-glass .el-door { fill: var(--heather-deep); }
.el-ground { stroke: var(--ink); stroke-width: 3; }
.el-steps { stroke: var(--ink); stroke-width: 2; }
.el-leads path { stroke: var(--ink); stroke-width: 1.25; fill: none; }

.wl-wall { fill: var(--paper-deep); stroke: var(--ink); stroke-width: 1.5; }
.wl-cornice { stroke: var(--ink); stroke-width: 1.5; }
.wl-rail { stroke: var(--brass); stroke-width: 4; }
.wl-panels rect { fill: none; stroke: var(--ink); stroke-width: 1.25; }
.wl-glow circle { fill: var(--brass); fill-opacity: .16; }
.wl-lamp path { stroke: var(--ink); stroke-width: 1.5; fill: color-mix(in srgb, var(--brass) 55%, var(--paper)); }
.wl-lamp path:first-child { fill: none; }
.wl-print rect { fill: var(--lilac); stroke: var(--brass); stroke-width: 5; }
.wl-print path { fill: var(--moss); fill-opacity: .75; }
.wl-mirror { fill: var(--lilac); stroke: var(--brass); stroke-width: 4; }
.wl-shelf { fill: var(--ink); }
.wl-surround { fill: var(--paper); stroke: var(--ink); stroke-width: 2.5; }
.wl-hearth { fill: var(--ink); }
.wl-back { fill: var(--paper); stroke: var(--ink); stroke-width: 1.5; }
.wl-shelves { stroke: var(--ink); stroke-width: 2; }
.wl-top { fill: var(--ink); }
.wl-front { fill: var(--heather-deep); stroke: var(--ink); stroke-width: 1.5; }
.wl-floor rect { fill: color-mix(in srgb, var(--brass) 28%, var(--paper)); stroke: var(--ink); stroke-width: 1.5; }
.wl-floor path { stroke: var(--ink); stroke-opacity: .45; stroke-width: 1; }

.teaser { background: var(--moss); color: var(--paper); }
.teaser a:not(.btn) { color: var(--paper); }
.teaser h2 { color: var(--paper); }
.teaser-grid { display: grid; gap: 2.25rem; align-items: center; }
.teaser .draw { color: var(--ink); }

.page-head { padding-block: clamp(2rem, 5vw, 4rem) clamp(1.25rem, 3vw, 2rem); }
.page-head h1 {
  font-size: clamp(2.4rem, 1.3rem + 4.5vw, 4.75rem);
  letter-spacing: -.01em;
  margin-block-end: .4em;
  max-inline-size: 16ch;
}
.page-head .lede { font-size: 1.1875rem; max-inline-size: 40rem; }

.hall-head { background: var(--heather-deep); color: var(--paper); padding-block: clamp(2.25rem, 6vw, 4.5rem) clamp(1.5rem, 4vw, 2.5rem); }
.hall-head h1 { font-size: clamp(2.6rem, 1.2rem + 5.5vw, 5.5rem); line-height: 1; margin-block-end: .3em; }
.hall-head .where { font: italic 400 clamp(1.25rem, 1rem + 1vw, 1.65rem)/1.3 var(--serif); margin: 0; color: var(--paper); }
.hall-draw { background: var(--paper-deep); border-block-end: 1px solid var(--brass); padding-block: clamp(1rem, 3vw, 2rem); }
.hall-draw svg { border: 1.5px solid var(--ink); background: var(--paper); }

.two { display: grid; gap: 2rem; align-items: start; }
.facts { display: grid; gap: 0; margin: 0; border: 1.5px solid var(--ink); background: var(--paper); }
.facts div { padding: 1rem 1.25rem; border-block-end: 1px solid var(--brass); }
.facts div:last-child { border-block-end: 0; }
.facts dt { color: var(--heather); font-weight: 500; font-size: .9375rem; }
.facts dd { margin: .15rem 0 0; font: 500 1.375rem/1.25 var(--serif); }

.prose { max-inline-size: 44rem; }
.prose h2 { font-size: clamp(1.55rem, 1.2rem + 1.2vw, 2.1rem); margin-block-start: 2em; }
.prose h2:first-child { margin-block-start: 0; }
.prose ul { padding-inline-start: 1.25rem; margin: 0 0 1.1em; }
.prose li { margin-block-end: .4em; }
.prose .stamp { color: var(--muted); font-size: .9375rem; }

.block-rule { border-block-start: 3px double var(--brass); }

.rooms { margin: 0; padding: 0; list-style: none; border-block-start: 1.5px solid var(--ink); }
.rooms li { display: grid; gap: .35rem 2rem; padding-block: 1.4rem; border-block-end: 1px solid var(--brass); }
.rooms h3 { margin: 0; }
.rooms p { margin: 0; }
.rooms .sleeps { color: var(--heather); font-weight: 500; }

.days { list-style: none; margin: 0; padding: 0 0 0 4.1rem; position: relative; }
.days::before { content: ""; position: absolute; inset-block: .5rem; inset-inline-start: 1.35rem; border-inline-start: 3px dotted var(--brass); }
.days li { position: relative; padding-block-end: 2.4rem; }
.days li:last-child { padding-block-end: 0; }
.days .day-no {
  position: absolute;
  inset-inline-start: -4.1rem;
  inset-block-start: 0;
  inline-size: 2.75rem;
  block-size: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--heather-deep);
  color: var(--paper);
  font: 500 1.4rem/1 var(--serif);
}
.days h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); margin-block-end: .3em; }
.days .meta { color: var(--heather); font-weight: 500; font-size: .9375rem; }

.trail-grid { display: grid; gap: 3rem; align-items: start; }
.trail-side { display: grid; gap: 2rem; }

.menu-sheet { display: grid; gap: 2.5rem; }
.menu-sheet h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem); border-block-end: 1.5px solid var(--ink); padding-block-end: .35em; }
.dish { margin: 0 0 1.35rem; }
.dish b { display: block; font: 500 1.3125rem/1.25 var(--serif); }
.dish span { color: var(--muted); }

table { inline-size: 100%; border-collapse: collapse; margin-block: 1rem 1.5rem; }
caption { text-align: start; font-weight: 500; padding-block-end: .5rem; }
th, td { text-align: start; vertical-align: top; padding: .7rem .75rem; border: 1px solid var(--brass); overflow-wrap: anywhere; }
th { background: var(--paper-deep); font-weight: 500; }

.sign {
  width: min(100% - 2 * var(--gutter), var(--reach));
  margin: 0 auto;
  padding-block: 1.1rem 1.5rem;
  border-block-start: 1px solid var(--brass);
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.5;
}

.foot { background: var(--ink); color: var(--paper); padding-block: clamp(2rem, 5vw, 3.5rem) 1.5rem; }
.foot a { color: var(--paper); }
.foot-grid {
  width: min(100% - 2 * var(--gutter), var(--reach));
  margin-inline: auto;
  display: grid;
  gap: 2rem;
}
.foot-brand { display: flex; align-items: center; gap: .6rem; font: 500 1.5rem/1.1 var(--serif); margin-block-end: .9rem; }
.foot-brand .stems { color: var(--brass); }
.foot p { font-size: .9375rem; line-height: 1.6; }
.foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; align-content: start; }
.foot-links a, .foot-links .linklike { display: inline-flex; align-items: center; min-block-size: 2.75rem; }
.foot-year { width: min(100% - 2 * var(--gutter), var(--reach)); margin: 2rem auto 0; padding-block-start: 1rem; border-block-start: 1px solid color-mix(in srgb, var(--paper) 28%, transparent); font-size: .875rem; color: color-mix(in srgb, var(--paper) 78%, var(--ink)); }

.note-bar {
  position: fixed;
  inset-inline: 0;
  inset-block-end: 0;
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1.5rem;
  padding: 1rem var(--gutter);
  background: var(--ink);
  color: var(--paper);
  border-block-start: 3px double var(--brass);
}
.note-bar p { margin: 0; max-inline-size: 46rem; font-size: .9375rem; line-height: 1.5; }
.note-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.note-bar .btn-solid { background: var(--brass); border-color: var(--brass); color: var(--ink); }
.note-bar .btn-solid:hover { background: var(--paper); border-color: var(--paper); }
.note-bar .btn-line { border-color: var(--paper); color: var(--paper); }
.note-bar .btn-line:hover { background: var(--paper); color: var(--ink); }

.gate {
  inline-size: min(92dvw, 30rem);
  overflow: visible;
  padding: 2rem;
  background: var(--paper);
  color: var(--ink);
  border: 1.5px solid var(--ink);
  box-shadow: 0 0 0 6px var(--paper), 0 0 0 7.5px var(--brass);
}
.gate:modal { overscroll-behavior: contain; }
.gate::backdrop { background: color-mix(in srgb, var(--heather-deep) 86%, transparent); overflow: hidden; overscroll-behavior: contain; }
.gate h2 { font-size: 2rem; }
.gate-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-block-start: 1.5rem; }
body[data-home] { padding-block-end: 0; }

.plain-page { min-block-size: 100dvh; display: grid; align-content: center; padding: 2rem var(--gutter); max-inline-size: 38rem; margin-inline: auto; }
.plain-page h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.25rem); }
.plain-page .stems { color: var(--heather); margin-block-end: 1.25rem; }

@media (min-width: 48rem) {
  :root { --gutter: 2rem; }
  .strip { grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); }
  .teaser-grid { grid-template-columns: 5fr 7fr; gap: clamp(2rem, 5vw, 4rem); }
  .two { grid-template-columns: 7fr 5fr; gap: 3rem; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div { border-inline-end: 1px solid var(--brass); }
  .facts div:nth-child(2n) { border-inline-end: 0; }
  .facts div:nth-child(-n+2) { border-block-end: 1px solid var(--brass); }
  .facts div:nth-child(n+3) { border-block-end: 0; }
  .rooms li { grid-template-columns: 14rem 1fr 9rem; align-items: baseline; }
  .menu-sheet { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
  .foot-grid { grid-template-columns: 1.1fr 1.4fr .8fr; gap: 3rem; }
}

@media (min-width: 62rem) {
  .spread { grid-template-columns: 5fr 7fr; min-block-size: 36rem; }
  .spread-text { padding-inline: clamp(2rem, 4vw, 4rem); }
  .spread-photo { min-block-size: 0; }
  .trail-grid { grid-template-columns: 7fr 5fr; gap: 4rem; }
  .trail-side { position: sticky; inset-block-start: 1.5rem; }
}

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .mp-route { animation: thread linear both; animation-timeline: view(); animation-range: entry 5% cover 55%; }
  }
  .btn, .menu-toggle { transition: background-color .18s ease, color .18s ease, border-color .18s ease; }
}

@keyframes thread { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

@media (forced-colors: active) {
  .btn, .menu-toggle { border: 2px solid ButtonText; }
  .menu-list a[aria-current="page"] { outline: 2px solid Highlight; }
}

.sec-flush { padding-block-start: 0; }

.wall-note { margin: .75rem 0 0; color: var(--muted); font-size: .9375rem; }

.pan { overflow-x: auto; }
.pl-tags text { font-size: 16px; }

@media (max-width: 61.99rem) {
  .pan svg { min-inline-size: 36rem; }
}

.strip > *, .teaser-grid > *, .two > *, .trail-grid > *, .trail-side > * { min-inline-size: 0; }

@media (max-width: 26rem) {
  .mark .stems { display: none; }
  .masthead-row { gap: .75rem; }
}

a, button { touch-action: manipulation; }
.menu-list { overscroll-behavior: contain; }
