/* Visual design matches the CribFlyer template the listing used before (2026-10):
   Libre Baskerville 700 for headings, buttons and navigation, Nunito 400 for copy,
   Bootstrap 5 type scale and container widths. */

@font-face {
  font-family: "Libre Baskerville";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/libre-baskerville-700-latin.woff2) format("woff2");
}
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url(fonts/nunito-latin.woff2) format("woff2");
}

:root {
  --headline-font: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --body-font: Nunito, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --heading-color: #050505;
  --body-color: #212529;
  --icon-color: #6c757d;
  --link-color: #007bff;
  --section-odd: #ffffff;
  --section-even: #fafafa;
  --border-color: #dee2e6;
  --footer-bg: #212529;
  --gutter: 60px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 70px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  max-width: 100%;
  overflow-x: clip;
  font-family: var(--body-font);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--body-color);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}

h1, h2, h3, h4, h5 {
  margin: 0 0 .5rem;
  font-family: var(--headline-font);
  font-weight: 700;
  line-height: 1.2;
  color: var(--heading-color);
}
/* Section titles are h2 for document outline but keep the template's h1 size. */
h1, h2 { font-size: calc(1.375rem + 1.5vw); }
h3 { font-size: calc(1.3rem + .6vw); }
h4 { font-size: calc(1.275rem + .3vw); }
h5 { font-size: 1.25rem; }
@media (min-width: 1200px) {
  h1, h2 { font-size: 2.5rem; }
  h3 { font-size: 1.75rem; }
  h4 { font-size: 1.5rem; }
}
@media (max-width: 767.98px) { h1, h2 { font-size: 2rem; } }

p { margin: 0 0 1rem; }
a { color: var(--link-color); }
img { max-width: 100%; height: auto; }
button { font: inherit; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  padding: 8px 14px; background: #fff; color: #000; border-radius: 3px;
  font-family: var(--headline-font);
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  margin-inline: auto;
  padding-inline: 30px;
}
@media (min-width: 576px) { .container { max-width: 540px; padding-inline: .75rem; } }
@media (min-width: 768px) { .container { max-width: 720px; } }
@media (min-width: 992px) { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }
@media (min-width: 1400px) { .container { max-width: 1320px; } }

.section { padding-block: 3rem; overflow-x: hidden; }
.section-odd { background: var(--section-odd); }
.section-even { background: var(--section-even); }
.section-title { text-align: center; }

/* ---------- Top navigation ---------- */

.top-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 99;
  display: flex;
  align-items: center;
  padding: .5em 1.5rem 15px;
  background: transparent;
  pointer-events: none;
}
.top-nav > * { pointer-events: auto; }
.nav-address {
  display: none;
  margin: 0;
  padding: 5px 0 0 13px;
  font-family: var(--headline-font);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
  color: #000;
}
.nav-burger {
  --burger-color: #fff;
  position: relative;
  width: 44px;
  height: 44px;
  margin: 0 3px 0 auto;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: none;
  font-size: 11.5px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform .2s, background-color .15s;
}
.nav-burger-lines,
.nav-burger-lines::before,
.nav-burger-lines::after {
  position: absolute;
  display: block;
  height: .25em;
  border-radius: .25em;
  background-color: var(--burger-color);
  pointer-events: none;
  transition: all .2s, background-color .15s ease-in-out;
}
.nav-burger-lines { top: 50%; left: .313em; width: 3.2em; margin-top: -.125em; }
.nav-burger-lines::before,
.nav-burger-lines::after { content: ""; width: 2em; }
.nav-burger-lines::after { left: 0; top: -1em; }
.nav-burger-lines::before { left: 1em; top: 1em; }

.top-nav.scrolled .nav-burger { --burger-color: #000; background-color: rgba(255, 255, 255, .9); }

.nav-burger[aria-expanded="true"] { transform: rotate(180deg); background-color: transparent; --burger-color: #000; }
.nav-burger[aria-expanded="true"] .nav-burger-lines { background-color: transparent; }
.nav-burger[aria-expanded="true"] .nav-burger-lines::before,
.nav-burger[aria-expanded="true"] .nav-burger-lines::after { left: .6em; top: 0; background-color: #000; }
.nav-burger[aria-expanded="true"] .nav-burger-lines::before { transform: rotate(135deg); }
.nav-burger[aria-expanded="true"] .nav-burger-lines::after { transform: rotate(-135deg); }

.top-nav.menu-open {
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, .15);
}
.top-nav.menu-open .nav-address { display: block; }

@media (max-width: 575.98px) {
  .top-nav { padding-inline: .75rem; transition: background-color .2s; }
  .nav-address { display: block; }
  /* Once past the hero the address would sit on top of page text, so the bar gets a backing. */
  .top-nav.scrolled { background: #fff; box-shadow: 0 1px 0 rgba(0, 0, 0, .1); }
  .top-nav.scrolled .nav-burger { background-color: transparent; }
}

@media (prefers-reduced-motion: reduce) {
  .nav-burger, .nav-burger-lines, .nav-burger-lines::before, .nav-burger-lines::after { transition: none; }
  .nav-burger[aria-expanded="true"] { transform: none; }
}

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 98;
  padding: 100px 0 0 25px;
  background: #fff;
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s, visibility 0s .5s;
}
.menu-overlay.open { opacity: 1; visibility: visible; transition: opacity .5s; }
.menu-overlay ul { margin: 0; padding: 0 0 0 .5rem; list-style: none; }
.menu-overlay li { padding-block: 2px; }
.menu-overlay a {
  display: inline-block;
  padding: 4px 10px;
  font-family: var(--headline-font);
  font-size: 1rem;
  font-weight: 700;
  color: #000;
  text-decoration: none;
}
.menu-overlay a:hover, .menu-overlay a:focus-visible { text-decoration: underline; }

/* ---------- Hero ---------- */

.hero {
  height: 100vh;
  height: 100svh;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  background: var(--section-odd);
}
.hero-frame { flex: 1; display: flex; min-height: 0; }
.hero-gutter {
  flex: 0 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-gutter h2 {
  margin: 0;
  font-size: calc(1.3rem + .6vw);
  white-space: nowrap;
  writing-mode: vertical-rl;
}
.hero-gutter.right h2 { transform: rotate(180deg); }
@media (min-width: 1200px) { .hero-gutter h2 { font-size: 1.75rem; } }

.hero-image {
  flex: 1;
  min-width: 0;
  position: relative;
  box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);
  background: #cfd8dc;
}
.hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-info {
  flex: 0 0 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-info h1 {
  margin: 0;
  font-size: calc(1.275rem + .3vw);
  text-align: center;
}
.hero-info .extra { display: none; }
@media (min-width: 768px) { .hero-info .extra { display: inline; } }
@media (min-width: 1200px) { .hero-info h1 { font-size: 1.5rem; } }
@media (max-width: 575.98px) { .hero-gutter { display: none; } }

/* ---------- Description ---------- */

.description h2.eyebrow { font-size: 1.25rem; margin-bottom: 12px; text-align: center; }
.description h2.title { margin-bottom: 35px; text-align: center; }
.description .copy p:last-child { margin-bottom: 0; }

/* ---------- Price & features ---------- */

.price-head { text-align: center; }
.price-head h2 { margin-bottom: .25rem; }
.price-head p { margin-bottom: 1rem; }
.price-head .price { font-size: calc(1.3rem + .6vw); margin-bottom: .5rem; }
@media (min-width: 1200px) { .price-head .price { font-size: 1.75rem; } }

.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: .5rem 0 0;
  padding: 0;
  list-style: none;
}
.features li {
  flex: 0 0 50%;
  margin-block: 1.5rem;
  text-align: center;
}
.features svg { width: 55px; height: 55px; color: var(--icon-color); }
.features span { display: block; margin-top: .5rem; }
@media (min-width: 576px) { .features li { flex-basis: 33.333%; } }
@media (min-width: 768px) { .features li { flex-basis: 25%; } }

/* ---------- Amenities ---------- */

.amenities-wrap { max-width: 1210px; margin-inline: auto; }
.amenities-wrap h2 { margin-bottom: 0; }
.amenities {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 0;
  padding: 1rem 0 0;
  list-style: none;
}
.amenities li {
  display: flex;
  align-items: center;
  gap: .5rem;
  min-height: 44px;
  padding: .5rem .75rem;
}
.amenities svg { flex: none; width: 15px; height: 15px; margin-bottom: 4px; color: var(--icon-color); }
@media (min-width: 992px) { .amenities { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Photos ---------- */

.photos { padding-bottom: 0; }
@media (min-width: 992px) { .photos { padding-bottom: 3rem; } }
.photos-head { margin-bottom: 3rem; text-align: center; }
.photos-head h2 { margin-bottom: 0; }
.slideshow-link {
  display: none;
  align-items: center;
  justify-content: center;
  gap: .25rem;
  font-size: 90%;
}
.slideshow-link a { color: var(--link-color); text-decoration: underline; }
.slideshow-link svg { width: 14px; height: 14px; color: var(--icon-color); }
@media (min-width: 768px) { .slideshow-link { display: flex; } }

.photo-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 .75rem 4px;
}
.photo-grid a {
  display: block;
  width: 300px;
  max-width: 100%;
  padding: 2px;
}
.photo-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 3px;
  background: #ccc;
  transition: filter .2s;
}
.photo-grid a:hover img, .photo-grid a:focus-visible img { filter: brightness(.88); }

.photo-carousel { display: none; position: relative; }
@media (max-width: 575.98px) {
  .photos-head { margin-bottom: 1.5rem; }
  .photo-grid { display: none; }
  .photo-carousel { display: block; }
}
.carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track a { flex: 0 0 100%; scroll-snap-align: center; }
.carousel-track img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: #ccc; }
.carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, .45);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-btn svg { width: 18px; height: 18px; }
.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }
.carousel-count {
  margin: .5rem 0 1.5rem;
  text-align: center;
  font-size: .875rem;
  color: #6c757d;
}

/* ---------- Floor plans ---------- */

.plans-wrap { max-width: 1320px; margin-inline: auto; padding-inline: .75rem; text-align: center; }
@media (min-width: 992px) { .plans-wrap { width: 91.667%; } }
@media (min-width: 1200px) { .plans-wrap { width: 83.333%; } }
.plans-wrap h2 { margin-bottom: 0; }
.plan-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--border-color);
}
.plan-tabs button {
  margin-bottom: -1px;
  padding: .5rem 1rem;
  border: 1px solid transparent;
  border-radius: .375rem .375rem 0 0;
  background: none;
  font-family: var(--headline-font);
  font-weight: 700;
  font-size: 1rem;
  color: var(--body-color);
  cursor: pointer;
}
.plan-tabs button[aria-selected="true"] {
  border-color: var(--border-color) var(--border-color) transparent;
  background: var(--section-even);
}
.plan-panels {
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-color);
  border-top: 0;
}
.plan-panel[hidden] { display: none; }
.plan-panel a { display: inline-block; max-width: 100%; cursor: zoom-in; }
.plan-panel img {
  display: block;
  max-width: 100%;
  height: auto;
  padding: 4px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background: #fff;
}
@media (max-width: 575.98px) {
  .plan-tabs button { padding: .5rem .55rem; font-size: .875rem; }
  .plan-panels { padding: .75rem; }
}

/* ---------- Map ---------- */

.map-section { padding-bottom: 0; padding-top: 0; }
@media (min-width: 768px) { .map-section { padding-top: 3rem; } }
.map-section h2 { display: none; text-align: center; }
.map-controls { display: none; justify-content: center; gap: 0; margin: 0; padding: 0 0 15px; list-style: none; }
@media (min-width: 768px) { .map-section h2 { display: block; } .map-controls { display: flex; } }
.map-controls button {
  padding: .5rem .75rem;
  border: 0;
  border-radius: 3px;
  background: none;
  font-family: var(--headline-font);
  font-weight: 700;
  font-size: 1rem;
  color: var(--body-color);
  cursor: pointer;
}
.map-controls button[aria-pressed="true"] { background: #e3e3e3; }
.map-frame { position: relative; }
.map-frame iframe { display: block; width: 100%; height: 600px; border: 0; }
@media (max-width: 479.98px) { .map-frame iframe { height: 420px; } }
.info-box {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 297px;
  height: 88px;
  padding: .5rem;
  background: #fff;
  color: #222;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .3);
}
.info-box img { width: 72px; height: 72px; object-fit: cover; }
.info-box .addr { font-size: 16px; line-height: 1.1; }
.info-box .addr small { display: block; font-size: 80%; }
.info-box .detail { font-size: 12px; font-weight: 700; color: #aaa; }
.info-box.hidden { visibility: hidden; }

/* ---------- Footer ---------- */

.site-footer {
  padding: 3rem 3rem 0;
  background: var(--footer-bg);
  color: #fafafa;
}
.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}
@media (min-width: 576px) { .footer-nav { grid-template-columns: repeat(3, 1fr); } }
.footer-nav a {
  display: inline-block;
  padding: .75rem 0;
  font-family: var(--headline-font);
  font-weight: 700;
  font-size: 90%;
  color: #fafafa;
  text-decoration: underline;
}
.footer-nav a:hover { color: #fff; }
.footer-legal { margin: 0; padding: 6rem 0 3rem; text-align: center; font-size: 80%; }
.footer-legal a { color: #999; text-decoration: underline; }

/* ---------- Plain text pages (privacy, 404) ---------- */

.page-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, .1);
}
.page-header a {
  font-family: var(--headline-font);
  font-weight: 700;
  color: var(--heading-color);
  text-decoration: none;
}
.prose { max-width: 760px; padding-block: 3rem 4rem; }
.prose h1 { margin-bottom: 1rem; }
.prose h2 { margin-top: 2rem; font-size: 1.25rem; }
.prose .updated { color: #6c757d; }

/* ---------- Full-screen photo viewer ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  background: #0d0d0d;
  color: #fff;
  opacity: 0;
  transition: opacity .2s;
  touch-action: pan-y pinch-zoom;
}
.lightbox.open { opacity: 1; }
.lightbox[hidden] { display: none; }
.lb-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 50px;
  padding: 10px 10px 10px 16px;
  font-size: 1rem;
  line-height: 24px;
}
.lb-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-count { opacity: .75; font-variant-numeric: tabular-nums; }
.lb-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px 10px;
}
.lb-stage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}
.lb-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  cursor: pointer;
}
.lb-btn:hover, .lb-btn:focus-visible { background: rgba(255, 255, 255, .2); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-prev, .lb-next { position: absolute; top: 50%; margin-top: -23px; z-index: 2; }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
@media (hover: none) { .lb-prev, .lb-next { display: none; } }
body.lb-locked { overflow: hidden; }
