@font-face {
  font-family: 'Cormorant Garamond';
  src: url('/assets/cormorant-regular.woff2') format('woff2');
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('/assets/cormorant-italic.woff2') format('woff2');
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
}

@font-face {
  font-family: 'Libre Franklin';
  src: url('/assets/libre-franklin.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f6f4ef;
  --paper-deep: #eeede6;
  --ink: #222521;
  --muted: #69716a;
  --rule: #c8ccc2;
  --white: #f9f8f3;
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Libre Franklin', Arial, sans-serif;
  --gutter: clamp(24px, 5.6vw, 92px);
  --header-height: 118px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

[hidden] {
  display: none !important;
}

img {
  display: block;
  max-width: 100%;
}

figure,
p,
h1,
h2,
h3 {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  z-index: 1001;
  top: 12px;
  left: 12px;
  padding: 9px 14px;
  background: var(--paper);
  color: var(--ink);
  font-size: 12px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: calc(100% - 2 * var(--gutter));
  max-width: 1600px;
  margin-inline: auto;
}

.section-pad {
  padding-block: clamp(80px, 7.5vw, 120px);
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
}

h1,
h2 {
  letter-spacing: -0.01em;
  line-height: 1.09;
}

h1 em,
h2 em {
  font-weight: 400;
}

h2 {
  font-size: clamp(44px, 4.4vw, 72px);
}

.display-period {
  font-size: 0.68em;
  font-weight: 300;
  line-height: 0;
}

.eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.19em;
  line-height: 1.5;
  text-transform: uppercase;
}

.eyebrow-line {
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: 0.65;
}

.text-link,
.gallery-bottom-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 45px;
  min-height: 44px;
  padding: 8px 0 7px;
  border-bottom: 1px solid currentColor;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-align: left;
  text-transform: uppercase;
  transition: color 200ms ease, border-color 200ms ease;
}

.text-link span,
.gallery-bottom-link span,
.contact-email span {
  font-size: 16px;
  font-weight: 400;
  transition: transform 200ms ease;
}

.text-link:hover,
.gallery-bottom-link:hover {
  color: #7c887b;
}

.text-link:hover span,
.gallery-bottom-link:hover span,
.contact-email:hover span {
  transform: translate(3px, -3px);
}

/* The logo remains the supplied transparent artwork, never recreated or cropped. */
.site-header {
  position: absolute;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  padding-inline: var(--gutter);
  color: #fff;
  transition: background-color 250ms ease, color 250ms ease, box-shadow 250ms ease;
}

.site-header.is-scrolled {
  background: transparent;
  color: #fff;
  box-shadow: none;
}

.brand {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  width: 110px;
  height: calc(var(--header-height) + 2px);
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.brand-dark {
  display: none;
}

.is-scrolled .brand-light {
  display: block;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(28px, 3.3vw, 56px);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.desktop-nav a {
  padding-block: 10px;
  transition: opacity 200ms ease;
}

.desktop-nav a:hover {
  opacity: 0.65;
}

.desktop-nav [aria-current='page'] {
  border-bottom: 1px solid currentColor;
}

.nav-inquire {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid currentColor;
}

.nav-inquire span {
  font-size: 14px;
}

.menu-toggle,
.mobile-menu {
  display: none;
}

/* Photography-led introduction */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 690px;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  color: #fff;
  background: #454b45;
}

.hero-image,
.interlude > img,
.contact > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image {
  object-position: center center;
}

.community-hero .hero-image {
  object-position: center 48%;
}

.hero-shade,
.interlude-shade,
.contact-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-shade {
  background: none;
}

.home-hero {
  align-items: center;
  min-height: 100svh;
}

.home-hero .hero-shade {
  background: none;
}

.home-hero .hero-image {
  object-position: center 58%;
}

.home-hero .hero-content {
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 0;
}

.home-hero h1 {
  transform: translateY(-3vh);
}

.hero-specs {
  position: absolute;
  right: 0;
  bottom: 8%;
  max-width: min(100%, 500px);
  margin: 0;
  font-size: clamp(11px, 1.1vw, 14px);
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.6;
  text-align: right;
}

.home-hero .hero-link {
  position: absolute;
  bottom: 8%;
  left: 0;
  margin-top: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(125px, 13vh, 170px);
}

.hero-eyebrow {
  margin-bottom: 25px;
  color: rgba(255, 255, 255, 0.88);
}

.hero h1 {
  max-width: 1280px;
  font-size: clamp(58px, 6.3vw, 105px);
  line-height: 1.09;
  text-wrap: balance;
}

.community-hero h1 {
  max-width: 1100px;
  font-size: clamp(40px, 4vw, 62px);
}

.community-hero .hero-content,
.team-hero .hero-content {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
}

.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  margin-top: clamp(35px, 4vw, 58px);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.down-arrow {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  font-size: 17px;
  font-weight: 400;
  transition: background-color 200ms ease, color 200ms ease;
}

.hero-link:hover .down-arrow {
  background: #fff;
  color: var(--ink);
}

.hero-bottom {
  position: absolute;
  z-index: 1;
  right: var(--gutter);
  bottom: 30px;
  left: var(--gutter);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  color: rgba(255, 255, 255, 0.85);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.17em;
  line-height: 1.5;
  text-transform: uppercase;
}

/* Asymmetric editorial copy and restrained property facts */
.intro-layout,
.story-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: clamp(55px, 9vw, 150px);
  align-items: end;
}

.intro-copy,
.story-copy,
.living-text,
.setting-copy,
.historic-copy {
  max-width: 490px;
}

.intro-copy p + p,
.story-copy p + p,
.living-text p + p,
.setting-copy p + p,
.historic-copy p + p {
  margin-top: 1.4em;
}

.intro-copy .text-link,
.living-text .text-link,
.setting-copy .text-link,
.historic-copy .text-link {
  margin-top: 30px;
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(56px, 6vw, 90px);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.facts > div {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-height: 120px;
  padding: 25px 24px 25px 0;
}

.facts > div + div {
  padding-left: clamp(20px, 3vw, 45px);
  border-left: 1px solid var(--rule);
}

.facts span {
  font-family: var(--serif);
  font-size: clamp(22px, 2.2vw, 34px);
  line-height: 1.2;
}

.facts small,
.image-caption,
figcaption {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
}

.feature-photo {
  width: 100%;
  max-width: none;
}

.feature-photo img {
  width: 100%;
  aspect-ratio: 1.65 / 1;
  object-fit: cover;
  object-position: center 42%;
}

.aerial-feature img,
.gate-feature img {
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.feature-photo .image-caption {
  padding-inline: var(--gutter);
}

/* Keep the supplied photographs intact and use the approved editorial captions. */
.view-feature,
.vitals-feature {
  display: grid;
  overflow: hidden;
  background: var(--paper);
}

.view-feature > *,
.vitals-feature > * {
  grid-area: 1 / 1;
}

.view-feature > img,
.vitals-feature > img {
  width: 100%;
  height: auto;
}

.view-feature h2 {
  align-self: start;
  justify-self: center;
  margin-top: 14%;
  color: #fff;
  font-size: clamp(34px, 4.8vw, 92px);
  text-align: center;
  -webkit-text-stroke: 0.5px rgba(19, 42, 58, 0.75);
  paint-order: stroke fill;
}

.vitals-panel {
  align-self: end;
  justify-self: start;
  width: min(47%, 720px);
  padding: clamp(24px, 3.2vw, 52px);
  background: var(--paper);
}

.vitals-panel h2 {
  margin-bottom: clamp(18px, 2vw, 30px);
}

.vitals-list {
  display: grid;
  gap: clamp(6px, 0.75vw, 11px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.vitals-list li {
  display: flex;
  gap: 12px;
  font-size: clamp(12px, 1.1vw, 17px);
  line-height: 1.4;
}

.vitals-list li::before {
  content: '•';
  color: var(--muted);
}

.image-caption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 15px;
}

.story-layout {
  margin-bottom: clamp(30px, 3vw, 48px);
  row-gap: clamp(22px, 2.5vw, 34px);
}

.story-heading {
  grid-column: 1 / -1;
}

.story-heading h2 {
  font-size: clamp(20px, 6vw, 72px);
  white-space: nowrap;
}

.story-copy {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  width: 100%;
  max-width: 960px;
}

.story-copy p + p {
  margin-top: 0;
}

.story-copy > p:only-child {
  grid-column: 1 / -1;
  max-width: 80ch;
}

.image-pair {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.8fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: end;
}

.image-pair img {
  width: 100%;
  object-fit: cover;
}

.image-pair figure:first-child img {
  aspect-ratio: 1.15 / 1;
}

.image-pair figure:last-child img {
  aspect-ratio: 0.88 / 1;
}

#details .image-pair figure:last-child img {
  aspect-ratio: auto;
}

.image-pair figcaption,
.setting-photo figcaption,
.historic-photo figcaption {
  padding-top: 15px;
}

.interlude {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(450px, 55vw, 720px);
  overflow: hidden;
  color: #fff;
  background: #68736c;
}

.interlude-shade {
  background: none;
}

.interlude-copy {
  position: relative;
  padding-block: clamp(65px, 8vw, 120px);
}

.interlude-copy .eyebrow,
.contact .eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

.interlude h2,
.contact h2 {
  font-size: clamp(44px, 4.4vw, 72px);
}

.living-layout,
.setting-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.8fr);
  gap: clamp(65px, 10vw, 170px);
  align-items: center;
}

.living-image img {
  width: 100%;
  aspect-ratio: 0.91 / 1;
  object-fit: cover;
}

.living-text h2,
.setting-copy h2 {
  margin-bottom: 32px;
}

.setting {
  background: var(--paper);
}

.setting-layout {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.05fr);
}

.setting-copy {
  justify-self: end;
}

.setting-photo img {
  width: 100%;
  aspect-ratio: 0.9 / 1;
  object-fit: cover;
}

/* A mixed-scale gallery rather than a uniform card grid. */
.gallery-section {
  background: var(--paper);
}

.gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: clamp(45px, 6vw, 85px);
}

.gallery-header .text-link {
  flex-shrink: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: clamp(180px, 20vw, 310px);
  gap: clamp(10px, 1.2vw, 18px);
}

.gallery-tile {
  position: relative;
  overflow: hidden;
  min-width: 0;
  text-align: left;
  background: #8a9289;
}

.gallery-tile-large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.gallery-tile::after {
  display: none;
}

.gallery-tile span {
  position: absolute;
  z-index: 1;
  right: auto;
  bottom: 0;
  left: 0;
  padding: 10px 14px;
  background: var(--paper);
  color: var(--ink);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.4;
}

.gallery-tile:hover img {
  transform: scale(1.035);
}

.gallery-tile:focus-visible {
  outline-offset: 3px;
}

.gallery-bottom-link {
  margin-top: 38px;
}

/* Community amenities and the archive-inspired historic section. */
.community-amenities {
  background: var(--paper);
}

.amenities-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: clamp(55px, 9vw, 150px);
  align-items: end;
  margin-bottom: clamp(65px, 7vw, 105px);
}

.amenities-heading p {
  max-width: 440px;
}

.amenities-list {
  border-top: 1px solid #adb7aa;
}

.amenities-list > div {
  display: grid;
  grid-template-columns: minmax(65px, 14%) 1fr;
  align-items: baseline;
  gap: 20px;
  padding: clamp(22px, 2.6vw, 38px) 0;
  border-bottom: 1px solid #adb7aa;
}

.amenities-list span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.amenities-list h3 {
  font-size: clamp(25px, 3vw, 43px);
  line-height: 1.2;
}

.historic-section {
  background: var(--paper);
}

.historic-section h2 {
  max-width: 920px;
  margin-bottom: clamp(48px, 6vw, 90px);
}

.historic-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: end;
  margin-bottom: clamp(45px, 5vw, 70px);
}

.historic-heading h2 {
  margin-bottom: 0;
}

.historic-heading > p {
  max-width: 440px;
}

.historic-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.55fr);
  gap: clamp(45px, 7vw, 110px);
  align-items: end;
}

.historic-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(14px, 1.7vw, 26px);
}

.historic-grid figure {
  min-width: 0;
}

.historic-grid figure:first-child {
  grid-row: span 2;
}

.historic-grid img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.historic-grid figcaption {
  padding-top: 10px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 500;
  line-height: 1.5;
}

.historic-photo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.historic-photo figcaption {
  max-width: 100%;
  border-top: 1px solid var(--rule);
  margin-top: 14px;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.6;
}

.historic-copy {
  padding-bottom: 2px;
}

/* Inquiry and footer */
.contact {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: clamp(650px, 60vw, 820px);
  overflow: hidden;
  background: #48514b;
  color: #fff;
}

.contact-shade {
  background: rgba(0, 0, 0, 0.42);
}

.contact-content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-block: clamp(70px, 8vw, 120px);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.contact h2 {
  margin-bottom: 38px;
}

.inquiry-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.site-footer {
  position: relative;
  z-index: 1;
  padding-block: 0 25px;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.7);
}

.footer-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.footer-logos img {
  width: min(100%, 155px);
  height: auto;
  object-fit: contain;
}

.contact-brands {
  position: relative;
  z-index: 1;
  padding-top: clamp(28px, 4vw, 55px);
}

.contact-brands img {
  filter: brightness(0) invert(1);
}

.footer-inner p,
.footer-inner > a:not(.footer-brand) {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.7;
}

.footer-inner p {
  color: var(--muted);
}

.back-to-top {
  text-transform: uppercase;
}

/* Native modal gallery: closed dialogs must stay hidden. */
.lightbox:not([open]) {
  display: none;
}

.lightbox[open] {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: clamp(20px, 3vw, 45px) var(--gutter);
  overflow: hidden;
  border: 0;
  background: #191d1a;
  color: var(--white);
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.88);
}

.lightbox-top,
.lightbox-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex: 0 0 auto;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.13em;
  line-height: 1.5;
  text-transform: uppercase;
}

.lightbox-top {
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.lightbox-close {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 44px;
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.lightbox-close span {
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
}

.lightbox-stage {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  flex: 1 1 auto;
  align-items: center;
  gap: clamp(10px, 2vw, 30px);
  min-height: 0;
  padding-block: 24px;
}

.lightbox-stage button {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  font-size: 21px;
  line-height: 1;
  transition: background-color 200ms ease, color 200ms ease;
}

.lightbox-stage button:hover {
  background: var(--white);
  color: var(--ink);
}

.lightbox-image {
  justify-self: center;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}

.lightbox-bottom {
  min-height: 45px;
  padding-top: 17px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.lightbox-caption {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: none;
}

.lightbox-count {
  flex-shrink: 0;
}

@media (max-width: 1000px) {
  :root {
    --header-height: 96px;
  }

  body:has(.menu-toggle[aria-expanded='true']) {
    overflow: hidden;
  }

  body:has(.menu-toggle[aria-expanded='true']) > main,
  body:has(.menu-toggle[aria-expanded='true']) > .site-footer,
  body:has(.menu-toggle[aria-expanded='true']) > .skip-link {
    visibility: hidden;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-height: 48px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .menu-lines {
    position: relative;
    display: block;
    width: 26px;
    height: 14px;
  }

  .menu-lines::before,
  .menu-lines::after {
    position: absolute;
    right: 0;
    left: 0;
    height: 1px;
    content: '';
    background: currentColor;
    transition: top 200ms ease, transform 200ms ease;
  }

  .menu-lines::before {
    top: 3px;
  }

  .menu-lines::after {
    top: 11px;
  }

  .menu-toggle[aria-expanded='true'] .menu-lines::before {
    top: 7px;
    transform: rotate(45deg);
  }

  .menu-toggle[aria-expanded='true'] .menu-lines::after {
    top: 7px;
    transform: rotate(-45deg);
  }

  .site-header:has(.menu-toggle[aria-expanded='true']) {
    background: #222a25;
    color: #fff;
    box-shadow: none;
  }

  .site-header:has(.menu-toggle[aria-expanded='true']) .brand-light {
    display: block;
  }

  .site-header:has(.menu-toggle[aria-expanded='true']) .brand-dark {
    display: none;
  }

  .mobile-menu:not([hidden]) {
    position: fixed;
    z-index: 1;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    min-height: 100vh;
    min-height: 100svh;
    padding: calc(var(--header-height) + 24px) var(--gutter) 45px;
    overflow-y: auto;
    background: #222a25;
    color: #fff;
  }

  .mobile-menu a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.26);
    font-family: var(--serif);
    font-size: clamp(28px, 4.7vw, 46px);
    line-height: 1.3;
  }

  .mobile-menu a[aria-current='page'] {
    color: #c0cbbd;
  }

  .intro-layout,
  .story-layout,
  .amenities-heading,
  .historic-heading {
    grid-template-columns: 1fr 0.8fr;
    gap: 45px;
  }

  .living-layout,
  .setting-layout {
    gap: 55px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    row-gap: 25px;
  }
}

@media (max-width: 700px) {
  :root {
    --gutter: 24px;
    --header-height: 86px;
  }

  body {
    font-size: 14px;
    line-height: 1.8;
  }

  .section-pad {
    padding-block: 72px;
  }

  h2 {
    font-size: clamp(36px, 9.5vw, 54px);
    line-height: 1.09;
  }

  .eyebrow {
    margin-bottom: 22px;
    font-size: 9px;
  }

  .brand {
    width: 76px;
  }

  .hero {
    min-height: 580px;
    height: 100vh;
    height: 100svh;
  }

  .hero-image {
    object-position: 58% center;
  }

  .home-hero .hero-image {
    object-position: 46% center;
  }

  .community-hero .hero-image {
    object-position: 54% center;
  }

  .hero-shade {
    background: none;
  }

  .home-hero .hero-specs {
    bottom: calc(8% + 54px);
    font-size: 10px;
  }

  .hero-content {
    padding-bottom: 125px;
  }

  .hero h1 {
    font-size: clamp(40px, 11.5vw, 61px);
    line-height: 1.1;
    letter-spacing: -0.01em;
    text-wrap: initial;
  }

  .hero-link {
    gap: 16px;
    margin-top: 28px;
    font-size: 9px;
  }

  .down-arrow {
    width: 38px;
    height: 38px;
  }

  .hero-bottom {
    bottom: 22px;
    font-size: 8px;
  }

  .intro-layout,
  .story-layout,
  .living-layout,
  .setting-layout,
  .amenities-heading,
  .historic-layout,
  .historic-heading {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .intro-copy,
  .story-copy,
  .living-text,
  .setting-copy,
  .historic-copy {
    max-width: none;
  }

  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 60px;
  }

  .facts > div {
    min-height: 104px;
    padding: 20px 12px 20px 0;
  }

  .facts > div + div {
    padding-left: 18px;
  }

  .facts > div:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .facts > div:nth-child(n+3) {
    border-top: 1px solid var(--rule);
  }

  .facts span {
    font-size: clamp(22px, 6vw, 28px);
  }

  .facts small {
    font-size: 8px;
  }

  .feature-photo img {
    aspect-ratio: 1.13 / 1;
  }

  .aerial-feature img,
  .gate-feature img {
    aspect-ratio: auto;
  }

  .vitals-feature {
    display: block;
  }

  .vitals-panel {
    width: 100%;
    padding: 36px var(--gutter) 42px;
  }

  .vitals-list li {
    font-size: 14px;
  }

  .image-caption,
  figcaption {
    font-size: 8px;
  }

  .story-layout {
    margin-bottom: 30px;
    row-gap: 24px;
  }

  .story-copy {
    grid-column: auto;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.4em;
  }

  .image-pair {
    grid-template-columns: minmax(0, 1fr);
    gap: 38px;
  }

  .image-pair figure:first-child img {
    aspect-ratio: 1.12 / 1;
  }

  .image-pair figure:last-child {
    width: 83%;
    margin-left: auto;
  }

  .image-pair figure:last-child img {
    aspect-ratio: 1 / 1.08;
  }

  .interlude {
    min-height: 500px;
  }

  .interlude-copy {
    padding-block: 65px;
  }

  .interlude h2,
  .contact h2 {
    font-size: clamp(36px, 9.5vw, 54px);
  }

  .living-layout,
  .setting-layout {
    gap: 46px;
  }

  .living-image img,
  .setting-photo img {
    aspect-ratio: 1 / 1.1;
  }

  .setting-copy {
    justify-self: stretch;
  }

  .gallery-header {
    align-items: start;
    flex-direction: column;
    gap: 22px;
    margin-bottom: 40px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
    gap: 10px;
  }

  .gallery-tile {
    min-height: 0;
    aspect-ratio: 0.9 / 1;
  }

  .gallery-tile-large {
    grid-column: span 2;
    grid-row: auto;
    aspect-ratio: 1.25 / 1;
  }

  .gallery-tile:last-child {
    grid-column: span 2;
    aspect-ratio: 1.65 / 1;
  }

  .gallery-tile span {
    right: auto;
    bottom: 0;
    left: 0;
    font-size: 8px;
  }

  .amenities-heading {
    margin-bottom: 50px;
  }

  .amenities-list > div {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
    padding-block: 23px;
  }

  .amenities-list h3 {
    font-size: clamp(25px, 7vw, 34px);
  }

  .historic-section h2 {
    margin-bottom: 40px;
  }

  .historic-section .historic-heading h2 {
    margin-bottom: 0;
  }

  .historic-heading {
    gap: 24px;
    margin-bottom: 38px;
  }

  .historic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 12px;
  }

  .historic-grid figure:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .contact {
    min-height: 560px;
    align-items: stretch;
  }

  .contact-content {
    padding-block: 75px;
  }

  .contact h2 {
    margin-bottom: 30px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
    align-items: start;
  }

  .footer-logos {
    grid-column: 1 / -1;
  }

  .footer-inner > a:not(.footer-brand) {
    overflow-wrap: anywhere;
  }

  .back-to-top {
    justify-self: end;
  }

  .lightbox[open] {
    padding-inline: 18px;
  }

  .lightbox-stage {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 5px;
  }

  .lightbox-stage button {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }

  .lightbox-title,
  .lightbox-bottom {
    font-size: 9px;
  }
}

@media (max-height: 650px) and (max-width: 700px) {
  .hero {
    min-height: 100svh;
  }

  .hero h1 {
    font-size: clamp(34px, 9vw, 46px);
  }

  .hero-content {
    padding-bottom: 100px;
  }

  .hero-eyebrow {
    margin-bottom: 12px;
  }

  .hero-link {
    margin-top: 16px;
  }

  .mobile-menu:not([hidden]) {
    justify-content: flex-start;
  }
}

/* Even tiles stay aligned as more photographs are revealed. */
.gallery-grid {
  grid-auto-rows: auto;
}

.gallery-grid .gallery-tile,
.gallery-grid .gallery-tile:last-child {
  grid-column: auto;
  grid-row: auto;
  aspect-ratio: 3 / 2;
  min-height: 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
