/* Montvero sample bar */
html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; }
.mds-bar {
  position: sticky; top: 0; z-index: 100;
  display: flex; flex-wrap: wrap; gap: .5rem 1rem;
  align-items: center; justify-content: space-between;
  padding: .5rem 1rem; background: #111; color: #fff;
  font: 500 .875rem/1.3 system-ui, sans-serif;
}
.mds-bar a { color: #fff; }
.mds-bar a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.mds-bar .mds-bar-cta {
  background: #25d366; color: #111; font-weight: 700;
  padding: .4rem .8rem; border-radius: 999px; text-decoration: none;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Fynbos Rest */
:root {
  --sage: #dfe5d7;
  --sage-pale: #eef1e9;
  --green: #26392d;
  --green-soft: #4d6355;
  --sand: #e8dcc6;
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --gutter: clamp(1.25rem, 5vw, 4.5rem);
}
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0; background: var(--sage-pale); color: var(--green);
  font: 400 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--green); color: var(--sand); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .22em; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2.25rem, 5.5vw, 3.5rem); }
p { margin: 0 0 1em; }

.btn {
  display: inline-block; padding: .85rem 1.6rem; border-radius: 999px;
  background: var(--green); color: var(--sage-pale); text-decoration: none; font-weight: 600;
  transition: background .2s ease-out;
}
.btn:hover { background: #38533f; }

/* Hero */
.hero {
  position: relative; isolation: isolate; color: #fff;
  min-height: min(96vh, 56rem);
  display: flex; flex-direction: column;
  padding: 1.25rem var(--gutter) clamp(1.25rem, 3vw, 2.5rem);
}
.hero :focus-visible { outline-color: #fff; }
.hero-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgb(16 30 22 / .66) 0%, rgb(16 30 22 / .42) 38%, rgb(16 30 22 / .8) 100%);
}
.nav { display: flex; flex-wrap: wrap; gap: .5rem 2rem; align-items: baseline; justify-content: space-between; }
.nav ul { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; list-style: none; margin: 0; padding: 0; }
.nav ul a { text-decoration: none; font-weight: 500; padding: .25rem 0; }
.nav ul a:hover { text-decoration: underline; }
.wordmark { font-family: var(--serif); font-size: 1.6rem; text-decoration: none; }
.hero h1 {
  margin-top: auto; padding-top: 5rem; max-width: 17ch;
  font-size: clamp(2.6rem, 7.2vw, 5.5rem);
  text-shadow: 0 2px 30px rgb(10 20 14 / .45);
}
.strip {
  margin-top: clamp(1.75rem, 4vw, 3rem);
  display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 2.5rem;
  padding: 1.1rem 1.25rem 1.1rem 1.75rem; border-radius: 1.5rem;
  background: rgb(255 255 255 / .16);
  -webkit-backdrop-filter: blur(20px) saturate(1.5); backdrop-filter: blur(20px) saturate(1.5);
  border: 1px solid rgb(255 255 255 / .35);
  box-shadow: 0 14px 28px -16px rgb(8 18 12 / .8);
}
.strip p { margin: 0; }
.strip strong { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; margin-right: .35rem; }
.strip .btn { margin-left: auto; background: #fff; color: var(--green); }
.strip .btn:hover { background: var(--sand); }
@media (max-width: 700px) { .strip { border-radius: 1.25rem; padding: 1.25rem; } .strip .btn { margin-left: 0; } }

/* Intro */
main > section { padding: clamp(4rem, 9vw, 7.5rem) var(--gutter); }
main > .intro { padding-bottom: 0; }
.intro p {
  font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 2.1rem); line-height: 1.35;
  max-width: 28em; margin: 0;
}

/* Rooms */
.rooms h2 { margin-bottom: 3rem; }
.room { display: grid; gap: 1.5rem clamp(2rem, 5vw, 5rem); align-items: center; }
.room + .room { margin-top: clamp(3rem, 7vw, 5.5rem); }
.room img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 1.25rem; }
.room h3 { font-size: clamp(1.9rem, 4vw, 2.75rem); margin-bottom: .75rem; }
.room p { max-width: 26rem; color: var(--green-soft); }
.room .rate { color: var(--green); margin: 1.25rem 0 0; padding-top: 1.25rem; border-top: 1px solid #b9c6b2; }
.rate strong { font-family: var(--serif); font-weight: 400; font-size: 1.75rem; margin-right: .3rem; font-variant-numeric: lining-nums; }
@media (min-width: 820px) {
  .room { grid-template-columns: 1.5fr 1fr; }
  .room:nth-of-type(even) { grid-template-columns: 1fr 1.5fr; }
  .room:nth-of-type(even) img { order: 2; }
}

/* Amenities */
main > .amenities { background: var(--green); color: var(--sage); }
.amenities ::selection { background: var(--sand); color: var(--green); }
.amenities h2 { margin-bottom: 2.5rem; }
.amenities ul { list-style: none; margin: 0; padding: 0; columns: 2 18rem; column-gap: clamp(2rem, 6vw, 6rem); max-width: 60rem; }
.amenities li { padding: .95rem 0; border-bottom: 1px solid #3f5847; break-inside: avoid; }

/* Gallery */
.gallery h2 { margin-bottom: 2.5rem; }
.gallery-grid { display: grid; gap: .75rem; grid-template-columns: 1fr 1fr; }
.gallery-grid img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 1rem; }
.gallery-grid img:first-child { grid-column: span 2; aspect-ratio: 16 / 9; }
@media (min-width: 820px) {
  .gallery-grid { grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 17rem; }
  .gallery-grid img { aspect-ratio: auto; }
  .gallery-grid img:first-child { grid-column: auto; grid-row: span 2; aspect-ratio: auto; }
}

/* Location */
main > .location { background: var(--sand); display: grid; gap: 3rem clamp(2rem, 6vw, 6rem); }
@media (min-width: 820px) { main > .location { grid-template-columns: 1fr 1fr; align-items: start; } }
.location h2 { margin-bottom: 1.5rem; }
.location p { max-width: 30rem; }
address { font-style: normal; font-family: var(--serif); font-size: 1.4rem; margin-top: 1.5rem; }
.location dl { margin: 0; }
.location dl div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1.5rem; padding: 1rem 0; border-bottom: 1px solid #cdbd9f; }
.location dt { font-weight: 600; }
.location dd { margin: 0; }

/* Contact */
main > .contact { position: relative; isolation: isolate; background: url(img/protea.jpg) center / cover; }
.contact::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgb(22 36 27 / .5); }
.contact-card {
  max-width: 36rem; margin-left: auto; color: #fff;
  padding: clamp(1.75rem, 5vw, 3rem); border-radius: 1.75rem;
  background: rgb(22 36 27 / .42);
  -webkit-backdrop-filter: blur(24px) saturate(1.4); backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid rgb(255 255 255 / .3);
  box-shadow: 0 16px 28px -16px rgb(6 14 9 / .85);
}
.contact-card :focus-visible { outline-color: #fff; }
.contact-card h2 { margin-bottom: 1rem; }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin: 1.75rem 0; }
.contact-card .btn { background: #fff; color: var(--green); font-variant-numeric: tabular-nums; }
.contact-card .btn:hover { background: var(--sand); }
.text-link { overflow-wrap: anywhere; }
.small { font-size: .9375rem; color: #e3ead9; margin: 0; }

.footer { display: flex; flex-wrap: wrap; gap: .5rem 2rem; align-items: baseline; justify-content: space-between; padding: 2rem var(--gutter); }
