:root {
  color-scheme: light;
  --paper: #f7f4ed;
  --white: #fffdfa;
  --ink: #232e27;
  --muted: #4c5c52;
  --green: #214f39;
  --forest: #173a2b;
  --tint: #e8eee5;
  --sand: #eee5d6;
  --line: #dcded4;
  --radius: 1.15rem;
  --gutter: clamp(1.25rem, 3.5vw, 2.5rem);
  font: 100%/1.65 system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: var(--green); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .14em; }
:focus-visible { outline: 3px solid #994b24; outline-offset: 3px; }
h1, h2, h3 { line-height: 1.15; margin: 0; }
h1, h2 { font-family: Georgia, serif; font-weight: 500; letter-spacing: -.035em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 1.4rem + 4.2vw, 4.85rem); }
h2 { font-size: clamp(1.95rem, 1.5rem + 2.2vw, 3.25rem); }
h3 { font-size: 1.2rem; }
p, ul { margin: .85rem 0; }
p:last-child, ul:last-child { margin-bottom: 0; }
img { display: block; max-width: 100%; height: auto; }

.wrap { width: min(70rem, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1rem; padding-block: .55rem; }
.brand { display: flex; align-items: center; gap: .65rem; font-weight: 800; text-decoration: none; margin-inline-end: auto; }
.brand::before { content: ""; flex: none; inline-size: .72rem; block-size: .72rem; background: var(--green); border-radius: 50%; }
.site-nav { flex: 1 0 100%; order: 1; }
.nav-links, .quick-links, .chips, .apartment-links, .checklist { list-style: none; padding: 0; margin: 0; }
.nav-links, .chips { display: flex; flex-wrap: wrap; gap: .125rem .5rem; }
.nav-links a, .chips a, .language, .icon-link, .apartment-links a {
  display: inline-flex; align-items: center; min-height: 2.75rem;
  padding: .3rem .7rem; border-radius: .6rem; text-decoration: none;
}
.nav-links a { padding-inline: .35rem; font-size: .875rem; font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: .4rem; }
.icon-link {
  justify-content: center; min-width: 2.75rem; padding: .3rem;
  border: 1px solid var(--line); background: var(--white);
}
.icon-link svg { display: block; flex: none; }
.language { font-size: .875rem; font-weight: 750; border: 1px solid var(--line); }
.nav-links a:hover, .language:hover, .icon-link:hover, .chips a:hover, .apartment-links a:hover { background: var(--tint); text-decoration: underline; }
.icon-link:hover { border-color: var(--green); text-decoration: none; }
.skip { position: absolute; z-index: 1; transform: translateY(-150%); padding: .75rem; background: var(--white); }
.skip:focus { transform: none; }

.hero {
  display: grid; overflow: hidden; margin-top: clamp(1rem, 4vw, 2.75rem);
  background: var(--forest); color: var(--white); border-radius: var(--radius);
}
.hero-copy { align-self: center; padding: clamp(1.4rem, 5vw, 3.75rem); }
.hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: center; }
.eyebrow { color: #ebd4ad; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 800; margin: 0 0 .85rem; }
.subtitle { max-width: 39ch; color: #edf2e9; margin-top: 1.15rem; }
.quick { margin-top: 1rem; }
.quick-links { display: grid; gap: .5rem; }
.quick-links a {
  display: flex; height: 100%; min-height: 4.15rem; justify-content: space-between; align-items: center;
  gap: .75rem; padding: .7rem 1rem; border: 1px solid var(--line);
  border-radius: .8rem; background: var(--white); text-decoration: none; line-height: 1.35;
}
.quick-links a:hover { background: var(--tint); border-color: var(--green); }
.quick-links strong { display: block; font-size: 1.03rem; }
.quick-detail { display: block; margin-top: .2rem; color: var(--muted); font-size: .86rem; }
.quick-arrow { display: grid; place-items: center; flex: none; border-radius: 50%; width: 2rem; height: 2rem; background: var(--tint); }

.section { margin-top: clamp(2.75rem, 7vw, 5.25rem); }
.section, .topic { scroll-margin-block-start: 1.25rem; }
.section-title { margin-bottom: 1.3rem; }
.section-title span {
  display: flex; align-items: center; gap: .55rem; margin-bottom: .5rem;
  font: 750 .8rem/1.2 system-ui, sans-serif; letter-spacing: .14em; color: var(--green);
}
.section-title span::after { content: ""; width: 1.35rem; height: 1px; background: currentColor; }
.welcome, .contact { border-top: 1px solid var(--line); padding-top: clamp(1.4rem, 4vw, 2.25rem); }
.media-block { display: grid; align-items: start; gap: 1rem; }
.media-copy, .contact > p { max-width: 68ch; }
.media-copy > :first-child, .media-image > :first-child { margin-top: 0; }
.media-image .photo { margin-block: 0; }
.welcome .media-image .photo { max-width: 13rem; }
.host-gallery { margin-top: 1.75rem; }
.host-gallery-title {
  margin-bottom: .85rem; color: var(--muted); font-size: .82rem;
  font-weight: 750; text-transform: uppercase; letter-spacing: .08em;
}
.host-gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 9rem), 1fr));
  gap: .65rem; list-style: none; padding: 0; margin: 0;
}
.host-gallery-grid .photo { width: 100%; margin-block: 0; }
.host-gallery-grid .photo img {
  width: 100%; aspect-ratio: 4 / 5; max-height: none;
  object-fit: cover; object-position: center 20%;
}
.photo { display: block; width: fit-content; max-width: 100%; margin-block: 1rem; }
.photo img { max-height: 23rem; width: auto; object-fit: contain; border-radius: .7rem; }
.photo:hover img { outline: 2px solid var(--green); outline-offset: 2px; }

.chips { margin-bottom: 1rem; font-size: .9rem; gap: .375rem; }
.chips a { border: 1px solid var(--line); background: var(--white); }
.topic-grid, .apartment-topics { display: grid; gap: 1rem; min-width: 0; }
.topic-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.topic-grid > .topic:not(#restaurants) { display: flex; flex-direction: column; }
.topic-grid > .topic:not(#restaurants) > p:has(> .photo) { margin-top: auto; padding-top: .5rem; }
.topic-grid > .topic:not(#restaurants) .photo { width: 100%; margin-block: 0; }
.topic-grid > .topic:not(#restaurants) .photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.topic {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1rem, 3vw, 1.65rem); overflow-wrap: anywhere; min-width: 0;
}
.topic:target { outline: 2px solid var(--green); outline-offset: 2px; }
.area-intro { margin-bottom: 1rem; background: var(--sand); }
.map-link { font-weight: 650; }
#restaurants { grid-column: 1 / -1; }
#restaurants ul {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: .65rem; list-style: none; padding: 0;
}
#restaurants li {
  display: flex; flex-direction: column;
  padding: .75rem; border: 1px solid var(--line); border-radius: .7rem;
}
#restaurants li > p:first-child { margin-top: 0; }
#restaurants li > p:has(> .photo) { margin-top: auto; padding-top: .35rem; }
#restaurants li a[href^="https://www.google.com/maps/"] { font-weight: 750; }
#restaurants .photo { width: 100%; margin-block: 0; }
#restaurants .photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
:is(#restaurants, #walks) p:has(> .photo) + p { color: var(--muted); font-size: .8rem; }
#restaurants code {
  display: table; margin-bottom: .38rem; padding: .15rem .45rem;
  font: 650 .78rem/1.35 system-ui, sans-serif;
}
code { white-space: normal; font-size: .92em; background: var(--tint); border-radius: .3rem; padding-inline: .25rem; }

.apartment-layout { display: grid; align-items: start; gap: 1rem; }
.apartment-index { padding: .8rem 1rem; background: var(--sand); border-radius: var(--radius); }
.apartment-index > p {
  margin: 0 0 .35rem; color: var(--muted); font-size: .78rem;
  font-weight: 750; text-transform: uppercase; letter-spacing: .08em;
}
.apartment-links {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr));
  font-size: .9rem; gap: .15rem;
}
.apartment-links a { display: flex; padding-inline: .55rem; }
.apartment-topics .topic > p, .apartment-topics .topic > ul { max-width: 68ch; }
#wifi { background: var(--tint); }
#wifi code { background: var(--white); padding: .1rem .4rem; font-weight: 600; }
.copy-button {
  margin-inline-start: .45rem; padding: .28rem .7rem; min-height: 2.1rem;
  font: 650 .85rem/1.2 system-ui, sans-serif; color: var(--white);
  background: var(--green); border: 1px solid var(--green); border-radius: .5rem;
  cursor: pointer; vertical-align: middle;
}
.copy-button:hover { background: var(--forest); border-color: var(--forest); }
.copy-button.is-copied { background: var(--white); color: var(--green); }
#wifi .photo img {
  width: 11rem; max-width: 100%; padding: .65rem;
  background: var(--white); border: 1px solid var(--line);
}

.checkout-panel { background: var(--forest); color: var(--white); border-radius: var(--radius); padding: clamp(1.2rem, 4vw, 2.5rem); }
.checkout-panel .section-title span { color: #ebd4ad; }
.checklist { display: grid; gap: .625rem; color: var(--ink); }
.checklist label {
  display: flex; align-items: flex-start; gap: .8rem; cursor: pointer;
  background: var(--white); border: 1px solid var(--line); border-radius: .65rem; padding: .8rem .9rem;
}
.checklist input { flex: none; width: 1.2rem; height: 1.2rem; margin: .25rem 0 0; accent-color: var(--green); }
.checklist input:focus-visible { outline-offset: 2px; }
.checklist label:has(input:checked) { background: var(--tint); }
.checklist input:checked + span { text-decoration: line-through; }
blockquote { margin: 1rem 0; border-inline-start: .2rem solid var(--green); padding: .75rem 1rem; background: var(--tint); }
blockquote p:first-child { margin-top: 0; }
.notice {
  margin-top: 1.5rem;
  border-inline-start: .25rem solid var(--green);
  border-radius: .65rem;
  padding: .95rem 1.2rem;
  background: var(--tint);
}
.notice p { margin: 0; }
.notice p + p { margin-top: .6rem; }
.contact { overflow-wrap: anywhere; }
.contact a { font-weight: 700; }
.footer { border-top: 1px solid var(--line); margin-top: 3rem; padding-block: 1.25rem; }

@media (min-width: 42rem) {
  .quick-links { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
  .media-block { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(1.3rem, 4vw, 3rem); }
  .welcome .media-block { grid-template-columns: minmax(0, 1fr) minmax(0, 13rem); }
}

@media (min-width: 48rem) {
  .site-header { position: sticky; top: 0; z-index: 10; }
  .section, .topic { scroll-margin-block-start: 4.5rem; }
  .site-nav { flex: 0 1 auto; order: 0; }
  .nav-links a { padding-inline: .55rem; }
  .hero { grid-template-columns: 1.05fr 1fr; }
  .hero img { height: 100%; aspect-ratio: 1.12; }
}

@media (min-width: 54rem) {
  .apartment-layout { grid-template-columns: 14rem minmax(0, 1fr); gap: 1.35rem; }
  .apartment-links { grid-template-columns: 1fr; }
  .checkout-panel { display: grid; align-items: start; grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); gap: 2rem; }
  .checkout-panel .section-title { margin-bottom: 0; }
}

@media (min-width: 54rem) and (min-height: 45rem) {
  .apartment-index { position: sticky; top: 4.75rem; }
}
