:root {
  --tan: #bf9e75;
  --tan-deep: #a1804f;
  --dark: #1c1b19;
  --ink: #212529;
  --muted: #6f665c;
  --line: #e3ddd5;
  --sand: #f6f3ef;
  --hair: rgba(255, 255, 255, .14);

  /* type: fluid between a 390px phone and a 1280px laptop */
  --t-body: clamp(1rem, .973rem + .112vw, 1.0625rem);
  --t-lede: clamp(1.125rem, 1.016rem + .449vw, 1.375rem);
  --t-h1: clamp(1.75rem, 1.367rem + 1.573vw, 2.625rem);
  --t-h2: clamp(1.375rem, 1.211rem + .674vw, 1.75rem);
  --t-h3: clamp(1.125rem, 1.043rem + .337vw, 1.3125rem);
  --t-label: .8125rem;
  --t-small: .9375rem;
  --t-count: clamp(3.5rem, 1.969rem + 6.292vw, 7rem);

  /* space: fixed steps come from .25 .5 .75 1 1.5 2 3 4rem, these two breathe */
  --band: clamp(2.5rem, 1.186rem + 5.393vw, 5.5rem);
  --gap: clamp(1.5rem, 1.062rem + 1.798vw, 2.5rem);
  --gutter: clamp(1.25rem, .702rem + 2.247vw, 2.5rem);
  --wrap: 1200px;
  --measure: 68ch;
}

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

body {
  margin: 0;
  font-family: "Ubuntu", system-ui, sans-serif;
  font-size: var(--t-body);
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; text-decoration-color: var(--tan); }
:focus-visible { outline: 2px solid var(--tan); outline-offset: 3px; }

/* Oswald is condensed, so uppercase needs tracking — but less of it the larger
   the text gets, which is why every heading sets its own. */
h1, h2, h3, h4, .h1, .amenities-count, .btn, .mainnav, .foot-label {
  font-family: "Oswald", "Ubuntu", sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  text-wrap: balance;
}
h1, .h1 { font-size: var(--t-h1); line-height: 1.08; letter-spacing: .02em; margin: 0 0 1.5rem; }
h2 { font-size: var(--t-h2); line-height: 1.15; letter-spacing: .03em; margin: 0 0 1rem; }
h3 { font-size: var(--t-h3); line-height: 1.25; letter-spacing: .045em; margin: 0 0 .5rem; }
h4, .foot-label {
  font-size: var(--t-label); line-height: 1.3; letter-spacing: .14em;
  color: var(--muted); margin: 2rem 0 .5rem;
}
p { margin: 0 0 1rem; text-wrap: pretty; }
:is(h1, h2, h3, h4) + p, .lede { margin-top: 0; }

/* every band of the page hangs off this one container */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding-block: var(--band); }
.section > :last-child { margin-bottom: 0; }
.section + .section { padding-block-start: 0; }
.section > h2 { margin-top: 2.5rem; }
.prose { max-width: var(--measure); }
.prose ul { margin: 0 0 1rem; padding-left: 1.1rem; }
.prose li { margin-bottom: .5rem; text-wrap: pretty; }
.prose li::marker { color: var(--tan); }
/* the SMS consent line is reproduced verbatim from the paper form — quote it as such */
.prose blockquote {
  margin: 0 0 1rem; padding: 1rem 1.25rem;
  background: var(--sand); border-left: 5px solid var(--tan);
}
.prose blockquote > :last-child { margin-bottom: 0; }
.lede {
  max-width: 55ch; font-size: var(--t-lede); font-weight: 300;
  line-height: 1.45; margin-bottom: 1.5rem;
}
.fine { font-size: var(--t-small); color: var(--muted); }

/* the bar sits on the content edge; the heading text indents past it */
.rule { border-left: 5px solid var(--tan); padding-left: .9rem; }

.skip { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip:focus {
  position: fixed; left: 1rem; bottom: 1rem; z-index: 999;
  width: auto; height: auto; clip-path: none;
  background: #fff; padding: .6rem 1.2rem;
}

/* ---------- masthead ---------- */
/* logo left; the nav is two deliberate tiers, primary over secondary, both
   flush right. All eight links do not fit on one row at any readable size. */
.masthead { background: var(--dark); color: #fff; }
.masthead a { text-decoration: none; }

.site-head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  column-gap: 2rem; row-gap: 1rem; padding-block: clamp(.9rem, 2vw, 1.35rem);
}
.logo img { width: 280px; max-width: 62vw; display: block; }

.mainnav ul { list-style: none; margin: 0 -.7rem 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; }
.mainnav ul + ul { margin-top: .3rem; }
.mainnav a { display: block; padding: .2rem .7rem; color: #fff; font-size: 1.075rem; letter-spacing: .05em; }
.mainnav ul + ul a { font-size: .9rem; letter-spacing: .07em; color: rgba(255, 255, 255, .72); }
.mainnav a:hover { color: var(--tan); }

body[data-page="home"] [data-nav="home"] > a,
body[data-page="floorplans"] [data-nav="floorplans"] > a,
body[data-page="amenities"] [data-nav="amenities"] > a,
body[data-page="photogallery"] [data-nav="photogallery"] > a,
body[data-page="virtualtours"] [data-nav="virtualtours"] > a,
body[data-page="contactus"] [data-nav="contactus"] > a,
body[data-page="mapsanddirections"] [data-nav="mapsanddirections"] > a,
body[data-page="touryourway"] [data-nav="touryourway"] > a {
  color: var(--tan);
}

.navtoggle-input, .navtoggle { display: none; }

/* ---------- promo bar ---------- */
.nudge {
  background: var(--tan); color: var(--ink); text-align: center;
  padding: .7rem var(--gutter); font-size: var(--t-small); line-height: 1.5;
  text-wrap: balance;
}
.nudge strong { font-weight: 500; }
/* inline, not inline-flex: a flex box would put the icon's box edge on the
   baseline and lift the number off the line it sits beside */
.call { margin-left: .75rem; font-weight: 500; text-decoration: none; white-space: nowrap; }
.call svg { vertical-align: -.08em; margin-right: .4rem; }
.call:hover { text-decoration: underline; text-decoration-color: currentColor; text-underline-offset: .3em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; padding: .75rem 1.6rem;
  border: 1px solid var(--ink); background: none; color: var(--ink);
  text-decoration: none; font-size: .9375rem; letter-spacing: .09em; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn:hover { background: var(--ink); color: #fff; }
.btn-primary { background: var(--tan); border-color: var(--tan); }
.btn-primary:hover { background: var(--tan-deep); border-color: var(--tan-deep); color: #fff; }
.btn-lg { padding: 1rem 2.25rem; font-size: 1rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; margin: 1.5rem 0 0; }

/* ---------- layout primitives ---------- */
.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: 1fr 1fr; }
/* the photo stretches to fill the row, the text beside it rides the middle */
.grid-2 > div, .step > div { align-self: center; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); }
.intro { display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: var(--gap); }
/* photos take their height from the text beside them, so tops and bottoms line up */
.shot { width: 100%; height: 100%; min-height: 20rem; object-fit: cover; display: block; }

.icon-list { list-style: none; margin: 0; padding: 0; }
.icon-list li { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.icon-list li:last-child { margin-bottom: 0; }
.icon-list img { width: 44px; flex: none; }

/* the frame carries a logo in its top right corner, so nothing may be cropped.
   Matching the box to the footage's own 16:9 leaves contain nothing to letterbox.
   No height cap: capping it would reintroduce the bars contain is avoiding.
   height:auto is load-bearing — the width/height attributes on <video> are
   presentational hints that otherwise pin it to 720px. */
.hero img, .hero video {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 9;
  object-fit: contain; background: var(--dark);
}

/* ---------- amenity highlight band ---------- */
/* the count block is capped so the four features get the room they need */
.lifestyle { grid-template-columns: minmax(12rem, 18rem) 1fr 1fr; align-items: center; }
.count-block { text-align: center; }
.amenities-count {
  font-size: var(--t-count); line-height: 1; letter-spacing: .02em;
  position: relative; display: inline-block;
}
/* the swash sits on the baseline and runs a little past the word on each side */
.amenities-count::before {
  content: ""; position: absolute; z-index: -1;
  left: -.05em; right: -.05em; bottom: .05em; height: .17em;
  background: var(--tan);
}
.count-block p {
  color: var(--muted); font-size: .875rem; margin: .6rem 0 1.5rem;
  letter-spacing: .14em; text-transform: uppercase;
}

.feature { display: flex; gap: 1.1rem; align-items: center; margin-bottom: 1.5rem; }
.feature:last-child { margin-bottom: 0; }
.feature h3 { margin: 0; }
/* the tan block behind the top right of the line art is the same motif the
   raster pet icons carry — backgrounds paint behind inline SVG content */
.feature svg {
  width: 52px; height: 52px; flex: none; color: var(--dark);
  background: linear-gradient(var(--tan), var(--tan)) no-repeat right 14% top 50% / 46% 60%;
}

/* ---------- dark bands ---------- */
.map-band { background: var(--dark); color: #fff; padding-block: var(--band); }
.map-embed { border: 0; width: 100%; height: 460px; margin-top: 2rem; display: block; background: #2a2725; }

/* continues the map band above it, so only the bottom is padded */
.awards { background: var(--dark); padding-block: 0 var(--band); }
.awards .wrap { align-items: center; }
.awards img { max-width: 300px; max-height: 190px; object-fit: contain; margin: 0 auto; }

/* ---------- footer ---------- */
.site-foot { background: var(--dark); color: #fff; border-top: 1px solid var(--hair); }
.site-foot a { color: #fff; }
.site-foot a:not(.btn) { text-decoration: none; }
.site-foot a:not(.btn):hover { color: var(--tan); }

/* the three text columns hug their content, the photo panel takes what is left,
   so no column carries a pocket of dead space */
.foot-main {
  display: grid;
  grid-template-columns: auto auto auto minmax(15rem, 1fr);
  gap: var(--gap) clamp(1.5rem, 4vw, 4rem);
  padding-top: var(--band);
}
.foot-label { margin-top: 0; color: rgba(255, 255, 255, .55); }
.foot-logo { width: 100%; max-width: 260px; display: block; }
.foot-phone { display: inline-flex; align-items: center; gap: .5rem; margin: 1rem 0 1.5rem; }
.foot-brand address { font-style: normal; line-height: 1.7; }
.hours {
  list-style: none; margin: 0; padding: 0;
  font-size: var(--t-small); font-variant-numeric: tabular-nums;
}
.hours li { display: flex; justify-content: space-between; gap: 1.5rem; }
.foot-cta { display: grid; justify-items: start; gap: 1rem; align-content: start; }
.foot-social { display: flex; gap: .6rem; }
.foot-social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, .4); border-radius: 50%; }
.foot-social a:hover { border-color: var(--tan); }
.foot-award {
  display: grid; place-items: center; min-height: 18rem; padding: 1.5rem; text-align: center;
  background: url("/static/img/heritage-website-photos-3-.jpg") center/cover no-repeat;
}
.foot-links {
  list-style: none; margin: 3rem 0 0; padding: 1.25rem 0;
  display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; font-size: var(--t-small);
  border-top: 1px solid var(--hair);
}
.copyright {
  border-top: 1px solid var(--hair);
  padding: 1rem var(--gutter); font-size: .8125rem; letter-spacing: .01em;
  display: flex; align-items: center; justify-content: center; gap: .5rem;
}
.copyright svg { flex: none; }

/* ---------- amenity + link lists ---------- */
/* multi-column flow, not a grid: items are short and vary a lot in length, so
   columns pack them without leaving half a screen of dead space per row */
.amenity-list { list-style: none; margin: 0 0 2rem; padding: 0; columns: 17rem 3; column-gap: var(--gap); }
.amenity-list li { display: flex; gap: .6rem; margin-bottom: .4rem; break-inside: avoid; }
.amenity-list li::before { content: "\00bb"; color: var(--tan); flex: none; }
.amenity-list a:hover { color: var(--muted); }

.pets { margin-bottom: 1.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; max-width: 34rem; }
.pets div { font-size: var(--t-small); line-height: 1.8; }
.pets .sep { color: var(--tan); margin: 0 .4rem; }

/* ---------- floorplans ---------- */
.fp-note { background: var(--sand); padding: 1rem 1.25rem; margin: 2rem 0 2.5rem; font-size: var(--t-small); max-width: var(--measure); }
/* 22rem, not less: a narrower track lets a third column in before the
   availability line has room to stay on one line */
.fp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(22rem, 1fr)); gap: 2rem; list-style: none; margin: 0; padding: 0; }
.fp { border: 1px solid var(--line); display: flex; flex-direction: column; padding: 1.5rem; }
.fp img { height: 190px; object-fit: contain; margin: 0 auto 1.5rem; }
.fp h2 { font-size: var(--t-h3); margin: 0 0 .15rem; }
.fp-spec, .fp-avail { color: var(--muted); font-size: var(--t-small); }
/* all three facts on one line: each is unbreakable and the type is sized to
   fit the narrowest card the grid ever makes (see the 22rem track below) */
.fp-avail { display: flex; flex-wrap: wrap; column-gap: .4rem; font-size: .8125rem; margin-bottom: 1.5rem; }
.fp-avail span { white-space: nowrap; }
.fp-avail span:not(:last-child)::after { content: "\00b7"; margin-left: .4rem; }
.fp-price { margin: .75rem 0 .35rem; font-variant-numeric: tabular-nums; }
.fp-price strong {
  font-family: "Oswald", sans-serif; font-weight: 500;
  font-size: 1.375rem; letter-spacing: .02em;
}
/* the CTA is the full width of the card, pinned to the bottom edge */
.fp .btn {
  margin: auto -1.5rem -1.5rem; padding: 1rem; text-align: center;
  border: 0; border-top: 1px solid var(--line);
}
.fp .btn:hover { background: var(--sand); color: var(--ink); }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1rem; list-style: none; margin: 2.5rem 0 0; padding: 0; }
.gallery img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.gallery p { font-size: var(--t-label); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: .5rem 0 0; }

/* ---------- tours ---------- */
.tours { display: grid; grid-template-columns: repeat(auto-fill, minmax(22rem, 1fr)); gap: var(--gap); list-style: none; margin: 2.5rem 0 0; padding: 0; }
.tours h2 { font-size: var(--t-h3); }
.tours iframe { width: 100%; aspect-ratio: 16 / 10; border: 0; display: block; background: var(--sand); }

/* ---------- contact / faq ---------- */
.contact { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--gap); align-items: start; margin-top: 2.5rem; }
.contact-card { background: var(--sand); padding: 2rem; }
.contact-card h2 { font-size: var(--t-h3); }
.contact-card h2 ~ h2 { margin-top: 2rem; }
.contact-card address { font-style: normal; line-height: 1.7; }
.big-link { font-size: var(--t-lede); display: block; margin-bottom: .5rem; }

/* questions read as questions, so this is the one place Oswald caps get out of the way */
.faq { max-width: var(--measure); margin-top: 2rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  font-family: "Ubuntu", sans-serif; font-weight: 500; text-transform: none;
  font-size: 1.0625rem; line-height: 1.45; letter-spacing: 0; cursor: pointer;
  list-style: none; position: relative; padding: 1rem 2.25rem 1rem 0;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: .25rem; top: .85rem;
  font-size: 1.4rem; line-height: 1; color: var(--tan);
}
.faq details[open] summary::after { content: "\2212"; }
.faq details[open] summary { color: var(--tan); }
.faq p { margin: 0 0 1rem; }

/* ---------- maps ---------- */
.poi { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 2rem var(--gap); align-items: start; margin-top: 1.5rem; }
.poi h3 { margin: 0 0 .5rem; }
.poi ul { list-style: none; margin: 0; padding: 0; font-size: var(--t-small); }
.poi-wide { grid-column: 1 / -1; }
.poi-wide ul { columns: 14rem 4; column-gap: var(--gap); }

/* ---------- tour your way ---------- */
.step { display: grid; grid-template-columns: minmax(16rem, 24rem) 1fr; gap: var(--gap); padding: 2.5rem 0; border-bottom: 1px solid var(--line); }
.step .shot { min-height: 15rem; }
.step:last-child { border-bottom: 0; padding-bottom: 0; }
.step h2 { font-size: var(--t-h3); }
.step ul { margin: 0; padding-left: 1.1rem; }
.step li { margin-bottom: .5rem; text-wrap: pretty; }
.step li::marker { color: var(--tan); }

@media (max-width: 992px) {
  .intro { grid-template-columns: 1fr 1fr; }
  .intro-text { grid-column: 1 / -1; }
  .lifestyle { grid-template-columns: 1fr 1fr; }
  .lifestyle .count-block { grid-column: 1 / -1; }
  .foot-main { grid-template-columns: 1fr 1fr; }
}

/* 900, not 820: the two nav tiers stop fitting beside the logo at about 870px,
   and below that the bar wrapped under the logo instead of becoming a burger */
@media (max-width: 900px) {
  .navtoggle { display: block; padding: .6rem; margin: -.6rem; color: #fff; cursor: pointer; }
  .mainnav { display: none; flex-basis: 100%; padding-bottom: .5rem; }
  .navtoggle-input:checked ~ .mainnav { display: block; }
  .mainnav ul { display: block; margin-right: 0; }
  .mainnav ul + ul { margin-top: 0; }
  .mainnav a, .mainnav ul + ul a { padding: .7rem .25rem; font-size: 1rem; color: #fff; }
}

@media (max-width: 768px) {
  .map-embed { height: 320px; }
  .shot, .step .shot { min-height: 15rem; }
  .grid-2, .intro, .lifestyle, .contact, .pets, .step, .foot-main { grid-template-columns: 1fr; }
  .btn-row .btn { flex: 1 1 14rem; text-align: center; }
  .contact-card { padding: 1.5rem; }
  .foot-award { min-height: 14rem; }
}
