/* =====================================================================
   Hans Business Park — "Heritage Forest" design system
   Fraunces (display) + Inter (text), self-hosted (latin, variable)
   ===================================================================== */

@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-variable.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("fonts/inter-variable.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --pine: #0e3a2b;
  --pine-deep: #0a2c20;
  --pine-2: #1c5a43;
  --brass: #b07d3c;
  --brass-deep: #8a6a2e;
  --sand: #e7dcc4;
  --ivory: #f6f2e9;
  --paper-2: #eee7d8;
  --paper-3: #e3dac6;
  --ink: #16201b;
  --muted: #4b5853;
  --white: #ffffff;

  --line: rgba(20, 32, 27, 0.12);
  --line-strong: rgba(20, 32, 27, 0.2);
  --shadow: 0 26px 60px -30px rgba(10, 44, 32, 0.4);
  --shadow-soft: 0 18px 44px -26px rgba(10, 44, 32, 0.32);
  --shadow-brass: 0 20px 44px -22px rgba(138, 90, 30, 0.5);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --header-height: 88px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-sm: 8px;
  --ease: cubic-bezier(0.22, 0.7, 0.25, 1);

  --label: 700 0.72rem/1 var(--font-sans);
  --tracking: 0.16em;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.lightbox-open {
  overflow: hidden;
}

img,
svg,
picture {
  display: block;
}

img {
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(176, 125, 60, 0.6);
  outline-offset: 3px;
  border-radius: 2px;
}

.container {
  width: min(1200px, calc(100% - 44px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -72px;
  z-index: 400;
  border-radius: var(--radius-sm);
  background: var(--white);
  padding: 11px 16px;
  color: var(--pine);
  font-weight: 600;
  box-shadow: var(--shadow);
  transition: top 160ms var(--ease);
}

.skip-link:focus {
  top: 16px;
}

/* ---------- Shared label / eyebrow type ---------- */

.eyebrow,
.card-kicker,
.snapshot-grid span,
.hero-facts span,
.amenity-grid span,
.contact-panel span,
.nav-links a,
.site-footer h2,
.gallery-item span,
.image-button span,
.lightbox figcaption,
.field-label,
.form-note {
  font-weight: 700;
  letter-spacing: var(--tracking);
  text-transform: uppercase;
}

/* ---------- Header / navigation ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: transparent;
  transition: background 240ms var(--ease), box-shadow 240ms var(--ease), backdrop-filter 240ms var(--ease);
}

.site-header.is-scrolled,
.menu-open .site-header {
  background: rgba(246, 242, 233, 0.86);
  box-shadow: 0 1px 0 var(--line), 0 20px 50px -34px rgba(10, 44, 32, 0.5);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
}

.nav {
  display: flex;
  height: var(--header-height);
  align-items: center;
  gap: 22px;
}

.brand,
.footer-brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 13px;
  color: var(--pine);
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.05;
}

.brand picture,
.footer-brand picture {
  flex: 0 0 auto;
}

.brand img,
.footer-brand img {
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  object-fit: contain;
  padding: 4px;
  box-shadow: 0 10px 26px -12px rgba(10, 44, 32, 0.5);
}

.brand img {
  width: 64px;
  height: 64px;
}

.footer-brand img {
  width: 52px;
  height: 52px;
}

.brand span {
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.nav-links a {
  position: relative;
  padding-block: 8px;
  color: rgba(22, 32, 27, 0.66);
  font-size: 0.72rem;
  transition: color 180ms var(--ease);
}

.nav-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms var(--ease);
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--pine);
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  transform: scaleX(1);
}

.header-cta {
  --btn-bg: var(--pine);
  flex: 0 0 auto;
}

/* Light treatment over the hero image (before scroll) */
body:not(.menu-open) .site-header:not(.is-scrolled) .brand,
body:not(.menu-open) .site-header:not(.is-scrolled) .nav-links a {
  color: var(--white);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.32);
}

body:not(.menu-open) .site-header:not(.is-scrolled) .nav-links a::after {
  background: var(--sand);
}

body:not(.menu-open) .site-header:not(.is-scrolled) .header-cta {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
  box-shadow: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--pine);
  color: var(--white);
}

body:not(.menu-open) .site-header:not(.is-scrolled) .menu-toggle {
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transition: transform 200ms var(--ease), opacity 200ms var(--ease);
}

.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-panel {
  max-height: 0;
  overflow: hidden;
  background: rgba(246, 242, 233, 0.98);
  opacity: 0;
  transform: translateY(-10px);
  transition: max-height 280ms var(--ease), opacity 200ms var(--ease), transform 200ms var(--ease);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.menu-open .mobile-panel {
  max-height: 520px;
  opacity: 1;
  transform: translateY(0);
}

.mobile-links {
  display: grid;
  gap: 4px;
  padding-block: 12px 22px;
}

.mobile-links a {
  border-radius: var(--radius-sm);
  padding: 14px 15px;
  color: var(--pine);
  font-size: 0.95rem;
  font-weight: 500;
}

.mobile-links a:hover,
.mobile-links a.is-active {
  background: var(--white);
}

.mobile-links .mobile-cta {
  margin-top: 8px;
  background: var(--pine);
  color: var(--white);
  text-align: center;
  font-weight: 600;
}

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

.hero {
  position: relative;
  min-height: 96svh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: var(--pine);
  color: var(--white);
}

.hero-media,
.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  filter: saturate(1.02) contrast(1.04) brightness(0.92);
  transform: scale(1.04);
  animation: heroDrift 22s var(--ease) forwards;
}

@keyframes heroDrift {
  to {
    transform: scale(1.12);
  }
}

.hero-shade {
  background:
    linear-gradient(91deg, rgba(7, 26, 19, 0.78) 0%, rgba(7, 26, 19, 0.42) 40%, rgba(7, 26, 19, 0.06) 78%),
    linear-gradient(0deg, rgba(6, 22, 16, 0.62) 0%, rgba(6, 22, 16, 0) 56%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 150px 0 52px;
}

.hero-content > * {
  animation: heroRise 900ms var(--ease) both;
}

.hero-content > .eyebrow {
  animation-delay: 80ms;
}
.hero-content > h1 {
  animation-delay: 160ms;
}
.hero-content > .hero-lede {
  animation-delay: 280ms;
}
.hero-content > .hero-facts {
  animation-delay: 420ms;
}

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.72rem;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--brass);
}

.eyebrow-dark {
  color: var(--brass-deep);
}

.eyebrow-dark::before {
  background: var(--brass);
}

/* ---------- Display typography ---------- */

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.018em;
  text-wrap: balance;
}

h1 {
  max-width: 16ch;
  font-size: clamp(2.7rem, 6.4vw, 5.1rem);
}

h2 {
  max-width: 20ch;
  color: var(--pine);
  font-size: clamp(1.95rem, 3.9vw, 3.05rem);
}

h3 {
  color: var(--pine);
  font-size: clamp(1.3rem, 2vw, 1.62rem);
  letter-spacing: -0.01em;
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.hero-lede {
  max-width: 44ch;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.08rem, 1.7vw, 1.33rem);
  line-height: 1.55;
  text-wrap: pretty;
}

/* ---------- Buttons ---------- */

.button {
  --btn-bg: var(--pine);
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--btn-bg);
  border-radius: var(--radius-sm);
  background: var(--btn-bg);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: var(--tracking);
  text-transform: uppercase;
  padding-inline: 24px;
  box-shadow: 0 20px 40px -22px rgba(10, 44, 32, 0.7);
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), background 200ms var(--ease), border-color 200ms var(--ease);
}

.button:hover {
  transform: translateY(-2px);
  background: var(--pine-2);
  border-color: var(--pine-2);
  box-shadow: 0 26px 52px -22px rgba(10, 44, 32, 0.8);
}

.button-brass {
  --btn-bg: var(--brass);
  color: #2a1d09;
  box-shadow: var(--shadow-brass);
}

.button-brass:hover {
  background: #c08f4d;
  border-color: #c08f4d;
}

.text-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--pine);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: var(--tracking);
  text-transform: uppercase;
}

.text-link::after {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--brass);
  transition: width 200ms var(--ease);
}

.text-link:hover::after {
  width: 46px;
}

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

.hero-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(1060px, 100%);
  margin-top: 50px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(8, 28, 20, 0.34);
  box-shadow: 0 30px 70px -40px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  overflow: hidden;
}

.hero-facts article {
  padding: 22px 24px;
}

.hero-facts article + article {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-facts span,
.hero-facts strong,
.hero-facts p {
  display: block;
}

.hero-facts span {
  color: rgba(231, 220, 196, 0.78);
  font-size: 0.65rem;
}

.hero-facts strong {
  margin-top: 12px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.hero-facts p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.8rem;
  line-height: 1.4;
}

/* ---------- Section scaffolding ---------- */

.section {
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
}

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

.section-dark {
  background: var(--pine);
  color: var(--white);
  background-image:
    radial-gradient(120% 90% at 88% 0%, rgba(176, 125, 60, 0.16) 0%, rgba(176, 125, 60, 0) 55%);
}

.editorial-grid,
.performance-layout,
.location-layout,
.contact-grid,
.amenities-layout {
  display: grid;
  gap: clamp(2.4rem, 5vw, 5rem);
  align-items: center;
}

.editorial-grid {
  grid-template-columns: 0.92fr 1.08fr;
}

.performance-layout {
  grid-template-columns: 0.96fr 1.04fr;
  align-items: start;
}

.location-layout {
  grid-template-columns: 0.94fr 1.06fr;
}

.contact-grid {
  grid-template-columns: 0.96fr 1.04fr;
  align-items: start;
}

.amenities-layout {
  grid-template-columns: 0.82fr 1.18fr;
  align-items: start;
}

.section-head {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.8rem, 4vw, 3.2rem);
  align-items: end;
  margin-bottom: clamp(2.6rem, 4vw, 3.6rem);
}

.section-copy {
  max-width: 60ch;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.4vw, 1.16rem);
  line-height: 1.72;
  text-wrap: pretty;
}

.section-head .section-copy {
  margin: 0;
}

.section-dark .section-copy {
  color: rgba(255, 255, 255, 0.78);
}

/* ---------- Overview media (robust grid, no absolute positioning) ---------- */

.overview-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "big big"
    "small note";
  gap: 16px;
}

.media-frame {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper-3);
  box-shadow: var(--shadow);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame-large {
  grid-area: big;
  aspect-ratio: 16 / 10;
}

.media-frame-small {
  grid-area: small;
  aspect-ratio: 5 / 4;
}

.media-note {
  grid-area: note;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: var(--radius);
  background: var(--pine);
  color: var(--white);
  padding: 22px 24px;
  box-shadow: var(--shadow);
}

.media-note strong {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.42rem;
  line-height: 1.12;
}

.media-note span {
  margin-top: 9px;
  color: rgba(231, 220, 196, 0.82);
  font-size: 0.86rem;
  line-height: 1.45;
}

/* ---------- Snapshot grid ---------- */

.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.snapshot-grid article {
  display: flex;
  flex-direction: column;
  min-height: 222px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 28px 26px;
  box-shadow: var(--shadow-soft);
  transition: transform 240ms var(--ease), box-shadow 240ms var(--ease), border-color 240ms var(--ease);
}

.snapshot-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(176, 125, 60, 0.4);
  box-shadow: var(--shadow);
}

.snapshot-grid span {
  color: var(--brass-deep);
  font-size: 0.64rem;
}

.snapshot-grid strong {
  display: block;
  margin-top: 16px;
  color: var(--pine);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.55rem, 2vw, 1.9rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.snapshot-grid p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.93rem;
}

/* ---------- Performance / feature list ---------- */

.performance-section {
  background:
    linear-gradient(90deg, rgba(28, 90, 67, 0.06) 0%, rgba(28, 90, 67, 0) 50%),
    var(--ivory);
}

.feature-list {
  display: grid;
  gap: 16px;
}

.feature-list article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 22px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 24px 26px;
  box-shadow: var(--shadow-soft);
  transition: transform 240ms var(--ease), box-shadow 240ms var(--ease);
}

.feature-list article:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow);
}

.feature-list article > span,
.route-list li > span {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
  background: var(--pine);
  color: var(--sand);
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 500;
}

.feature-list h3 {
  font-size: 1.3rem;
}

.feature-list p,
.plan-card p,
.amenity-grid p,
.route-list p,
.site-footer p {
  margin: 9px 0 0;
  color: var(--muted);
}

/* ---------- Spaces / plans ---------- */

.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.plan-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform 240ms var(--ease), box-shadow 240ms var(--ease);
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.plan-card > div {
  padding: 28px;
}

.card-kicker {
  margin: 0 0 10px;
  color: var(--brass-deep);
  font-size: 0.64rem;
}

.image-button,
.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border: 0;
  background: var(--paper-3);
  color: inherit;
  padding: 0;
  text-align: left;
}

.image-button {
  aspect-ratio: 16 / 10;
}

.image-button img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #dcd6c6;
  transition: transform 480ms var(--ease);
}

.image-button:hover img {
  transform: scale(1.03);
}

.image-button span,
.gallery-item span {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  background: rgba(10, 44, 32, 0.86);
  color: var(--sand);
  padding: 9px 14px;
  font-size: 0.62rem;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.gallery-item span {
  right: auto;
  left: 16px;
}

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

.amenity-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.amenity-grid article {
  min-height: 186px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  padding: 28px 26px;
  transition: background 240ms var(--ease), border-color 240ms var(--ease), transform 240ms var(--ease);
}

.amenity-grid article:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(176, 125, 60, 0.5);
  transform: translateY(-3px);
}

.amenity-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 18px;
  color: var(--sand);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.amenity-grid span {
  display: block;
  margin-bottom: 12px;
  color: var(--brass);
  font-size: 0.62rem;
}

.amenity-grid p {
  color: rgba(255, 255, 255, 0.72);
}

/* ---------- Gallery ---------- */

.gallery-grid {
  display: grid;
  grid-auto-rows: 248px;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-item {
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

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

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms var(--ease), filter 520ms var(--ease);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 28, 20, 0.42) 0%, rgba(8, 28, 20, 0) 46%);
  opacity: 0.7;
  transition: opacity 360ms var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item:hover::after {
  opacity: 1;
}

/* ---------- Location ---------- */

.location-map {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 1200 / 836;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-3);
  box-shadow: var(--shadow);
}

.location-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.02);
}

.route-list {
  display: grid;
  gap: 22px;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
}

.route-list li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  align-items: start;
}

.route-list strong {
  display: block;
  color: var(--pine);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.12rem;
}

.directions-button {
  margin-top: 36px;
}

/* ---------- Contact + enquiry form ---------- */

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

.contact-intro .section-copy {
  margin-top: 22px;
}

.contact-details {
  display: grid;
  gap: 22px;
  margin-top: 38px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.contact-details .label {
  display: block;
  margin-bottom: 7px;
  color: var(--brass-deep);
  font-weight: 700;
  font-size: 0.64rem;
  letter-spacing: var(--tracking);
  text-transform: uppercase;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--pine);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  overflow-wrap: anywhere;
  transition: color 180ms var(--ease);
}

.contact-email:hover {
  color: var(--brass-deep);
}

.contact-detail-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 22px;
}

.contact-detail-row strong {
  display: block;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.98rem;
  line-height: 1.4;
}

.form-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: var(--shadow);
}

.form-card h3 {
  font-size: 1.4rem;
}

.form-card > p {
  margin: 8px 0 24px;
  color: var(--muted);
  font-size: 0.96rem;
}

.enquiry-form {
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field-label {
  color: var(--brass-deep);
  font-size: 0.62rem;
}

.field-label .req {
  color: var(--brass);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--ivory);
  padding: 13px 15px;
  font-size: 0.97rem;
  color: var(--ink);
  transition: border-color 180ms var(--ease), box-shadow 180ms var(--ease), background 180ms var(--ease);
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(75, 88, 83, 0.62);
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234b5853' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 42px;
}

.field textarea {
  min-height: 116px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brass);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(176, 125, 60, 0.18);
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #b3402f;
  box-shadow: 0 0 0 3px rgba(179, 64, 47, 0.14);
}

.field-error {
  display: none;
  color: #9a3526;
  font-size: 0.78rem;
}

.field.has-error .field-error {
  display: block;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.enquiry-form .button {
  width: 100%;
  margin-top: 4px;
}

.form-note {
  color: var(--muted);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-align: center;
}

.form-status {
  display: none;
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 0.92rem;
  line-height: 1.45;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-success {
  background: rgba(28, 90, 67, 0.12);
  border: 1px solid rgba(28, 90, 67, 0.3);
  color: var(--pine);
}

.form-status.is-error {
  background: rgba(179, 64, 47, 0.1);
  border: 1px solid rgba(179, 64, 47, 0.3);
  color: #8f2f22;
}

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

.site-footer {
  padding: clamp(3.5rem, 6vw, 5rem) 0 30px;
  background: var(--pine-deep);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr;
  gap: clamp(2rem, 4vw, 3.5rem);
}

.footer-brand {
  color: var(--white);
}

.footer-intro p {
  max-width: 34ch;
  margin-top: 16px;
}

.site-footer h2 {
  margin: 0 0 16px;
  color: rgba(231, 220, 196, 0.6);
  font-family: var(--font-sans);
  font-size: 0.64rem;
}

.site-footer a:not(.footer-brand),
.site-footer p {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
}

.site-footer a:not(.footer-brand) {
  margin-top: 11px;
  transition: color 160ms var(--ease);
}

.site-footer a:hover {
  color: var(--sand);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: clamp(2.6rem, 4vw, 3.4rem);
  padding-top: 24px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.site-footer .footer-social a,
.footer-social-placeholder {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-top: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.74);
  transition: background 180ms var(--ease), border-color 180ms var(--ease), color 180ms var(--ease), transform 180ms var(--ease);
}

.site-footer .footer-social a:hover {
  border-color: var(--brass);
  background: rgba(176, 125, 60, 0.16);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-social-placeholder {
  cursor: default;
  opacity: 0.45;
}

.footer-social svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  background: rgba(6, 20, 14, 0.92);
  padding: 28px 78px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms var(--ease);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox figure {
  display: grid;
  width: min(1120px, 100%);
  max-height: 90svh;
  gap: 14px;
  margin: 0;
}

.lightbox img {
  width: 100%;
  max-height: 82svh;
  border-radius: var(--radius);
  object-fit: contain;
}

.lightbox figcaption {
  color: var(--sand);
  text-align: center;
  font-size: 0.66rem;
}

.lightbox-close,
.lightbox-control {
  position: absolute;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--ivory);
  color: var(--pine);
  transition: transform 180ms var(--ease), background 180ms var(--ease);
}

.lightbox-close:hover,
.lightbox-control:hover {
  background: var(--white);
  transform: scale(1.06);
}

.lightbox-close {
  top: 18px;
  right: 18px;
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-close svg,
.lightbox-control svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

/* ---------- Scroll-reveal motion ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 760ms var(--ease), transform 760ms var(--ease);
  will-change: opacity, transform;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 1120px) {
  .nav-links {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: grid;
    margin-left: auto;
  }

  .editorial-grid,
  .performance-layout,
  .location-layout,
  .contact-grid,
  .amenities-layout {
    grid-template-columns: 1fr;
  }

  .performance-layout,
  .contact-grid,
  .amenities-layout {
    align-items: start;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 22px;
    align-items: start;
  }

  .hero-facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-facts article + article {
    border-left: 0;
  }

  .hero-facts article:nth-child(even) {
    border-left: 1px solid rgba(255, 255, 255, 0.14);
  }

  .hero-facts article:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .snapshot-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 820px) {
  :root {
    --header-height: 76px;
  }

  .container {
    width: min(100% - 32px, 700px);
  }

  .brand {
    font-size: 1.16rem;
  }

  .brand img {
    width: 50px;
    height: 50px;
  }

  .hero {
    min-height: 90svh;
  }

  .hero-content {
    padding: 116px 0 36px;
  }

  .overview-media {
    grid-template-areas:
      "big big"
      "small note";
  }

  .snapshot-grid,
  .plan-grid,
  .amenity-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-auto-rows: 220px;
  }
}

@media (max-width: 540px) {
  body {
    font-size: 15px;
  }

  .brand span {
    max-width: 168px;
    white-space: normal;
    line-height: 1.05;
  }

  .hero {
    min-height: 86svh;
  }

  .hero-content {
    padding: 104px 0 30px;
  }

  .hero-facts {
    margin-top: 28px;
  }

  .hero-facts article {
    padding: 16px 16px;
  }

  .hero-facts strong {
    font-size: 1.32rem;
  }

  .hero-facts p {
    display: none;
  }

  .button {
    width: 100%;
  }

  .text-actions {
    width: 100%;
  }

  .overview-media {
    grid-template-columns: 1fr;
    grid-template-areas:
      "big"
      "small"
      "note";
  }

  .media-frame-small {
    aspect-ratio: 16 / 10;
  }

  .media-note {
    padding: 20px 22px;
  }

  .feature-list article {
    grid-template-columns: 44px 1fr;
    gap: 16px;
    padding: 20px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 230px;
  }

  .gallery-large {
    grid-column: span 1;
  }

  .location-map {
    aspect-ratio: 4 / 5;
  }

  .footer-bottom {
    display: grid;
    justify-items: start;
  }

  .lightbox {
    padding: 72px 16px 26px;
  }

  .lightbox-prev,
  .lightbox-next {
    top: 18px;
  }

  .lightbox-prev {
    left: 16px;
  }

  .lightbox-next {
    right: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .hero-image {
    animation: none;
    transform: scale(1.04);
  }
}
