/* =============================================================================
   mystichousing.com - listing page styles
   Palette: dark blue-hour PNW. Type: Instrument Serif + IBM Plex Mono.
   ========================================================================== */

:root {
  --ground:    #001b2e;
  --depth:     #1d3f58;
  --haze:      #537692;
  --mist:      #b3cde4;
  --light:     #eef3f9;
  --text-soft: #7a99b6;
  --rule:      rgba(179, 205, 228, 0.18);
  --rule-strong: rgba(179, 205, 228, 0.30);
  --bg-card:   rgba(179, 205, 228, 0.04);
  --bg-card-hover: rgba(179, 205, 228, 0.08);
  --available: #6ee7b7;

  --serif:         'Source Serif 4', Georgia, serif;
  --serif-display: 'Instrument Serif', Georgia, serif;
  --mono:          'IBM Plex Mono', ui-monospace, SFMono-Regular, monospace;

  --ease:   cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

html {
  background: var(--ground);
  color: var(--light);
  font-family: var(--serif);
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

::selection {
  background: rgba(179, 205, 228, 0.30);
  color: var(--light);
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--mist);
  outline-offset: 3px;
  border-radius: 2px;
}

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

/* =============================================================================
   HERO
   ========================================================================== */

.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100lvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  z-index: 0;
  filter: saturate(0.85) brightness(0.85);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      to bottom,
      rgba(0, 27, 46, 0.40) 0%,
      rgba(0, 27, 46, 0.65) 45%,
      rgba(0, 27, 46, 0.85) 100%
    );
}

.scene-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.6s var(--ease);
}
.scene-canvas.is-ready {
  opacity: 1;
}

/* Topbar inside hero */
.topbar {
  position: relative;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: clamp(1.25rem, 2.5vw, 2rem) clamp(1.5rem, 3vw, 2.5rem);
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.brand-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: block;
  border-radius: 50%;
}
.nav-brand .brand-mark,
.footer-brand .brand-mark {
  width: 30px;
  height: 30px;
}

.status {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  white-space: nowrap;
}
.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--available);
  box-shadow:
    0 0 0 3px rgba(110, 231, 183, 0.20),
    0 0 10px 2px rgba(110, 231, 183, 0.40);
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.40; transform: scale(0.85); }
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 3;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vh, 4rem) clamp(1.5rem, 3vw, 2.5rem);
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--mist);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: rise 1.1s var(--ease) 0.15s forwards;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mist);
  flex-shrink: 0;
}

.hero-content h1 {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: clamp(3rem, 8vw, 6.2rem);
  line-height: 0.98;
  letter-spacing: -0.012em;
  color: var(--light);
  margin: 0 0 1.5rem;
  max-width: 14ch;
  opacity: 0;
  animation: rise 1.4s var(--ease) 0.35s forwards;
}
.hero-content h1 .em {
  font-style: italic;
  color: var(--mist);
}

.hero-deck {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  line-height: 1.55;
  color: var(--light);
  max-width: 50ch;
  margin: 0 0 2rem;
  opacity: 0;
  animation: rise 1.4s var(--ease) 0.6s forwards;
}

.hero-meta {
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: rise 1.4s var(--ease) 0.85s forwards;
}
.hero-meta-sep {
  color: var(--haze);
}

.hero-jump {
  opacity: 0;
  animation: rise 1.4s var(--ease) 1.1s forwards;
}
.jump-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mist);
  padding: 0.85rem 1.4rem;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.jump-link:hover {
  background: rgba(179, 205, 228, 0.10);
  border-color: var(--mist);
  transform: translateY(-1px);
}
.jump-arrow {
  width: 14px;
  height: 14px;
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(3px); }
}

/* =============================================================================
   STICKY NAVBAR
   ========================================================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(0, 27, 46, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
  transform: translateY(-100%);
  transition: transform 0.4s var(--ease);
}
.navbar.is-visible {
  transform: translateY(0);
}
.navbar-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.9rem clamp(1.5rem, 3vw, 2.5rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--light);
}
.nav-brand svg {
  width: 20px;
  height: 20px;
}
.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: clamp(1rem, 2.5vw, 2.25rem);
}
.nav-links a {
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-soft);
  padding: 0.4rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.nav-links a:hover {
  color: var(--mist);
  border-color: var(--mist);
}

/* =============================================================================
   HAMBURGER + MOBILE MENU PANEL
   ========================================================================== */

.menu-toggle {
  display: none;
  position: relative;
  width: 38px;
  height: 38px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  z-index: 110;
}
.menu-toggle span {
  position: absolute;
  left: 7px;
  width: 24px;
  height: 1.6px;
  background: var(--light);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.25s var(--ease), top 0.3s var(--ease);
}
.menu-toggle span:nth-child(1) { top: 12px; }
.menu-toggle span:nth-child(2) { top: 18px; }
.menu-toggle span:nth-child(3) { top: 24px; }
.menu-toggle.is-open span:nth-child(1) {
  top: 18px;
  transform: rotate(45deg);
}
.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.is-open span:nth-child(3) {
  top: 18px;
  transform: rotate(-45deg);
}

.menu-panel {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 27, 46, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}
.menu-panel.is-open {
  display: flex;
  opacity: 1;
}
.menu-panel-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
  padding: 2rem;
}
.menu-link {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 8vw, 3.6rem);
  line-height: 1;
  color: var(--light);
  text-decoration: none;
  padding: 0.4rem 1rem;
  border-bottom: 1px solid transparent;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.menu-link:hover,
.menu-link:focus-visible {
  color: var(--mist);
  border-color: var(--mist);
  outline: none;
}

/* =============================================================================
   SECTION BASE
   ========================================================================== */

.section {
  position: relative;
  padding: clamp(2.5rem, 6vh, 4.5rem) 0;
}
.section + .section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(80px, 14vw, 160px);
  height: 1px;
  background: linear-gradient(
    to right,
    transparent 0%,
    var(--rule-strong) 25%,
    var(--rule-strong) 75%,
    transparent 100%
  );
  pointer-events: none;
}
.section + .section::after {
  content: '';
  position: absolute;
  top: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mist);
  box-shadow: 0 0 0 7px var(--ground);
  pointer-events: none;
}
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 3vw, 2.5rem);
}

.eyebrow-section {
  margin-bottom: 1.25rem;
}

.section-title {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--light);
  margin: 0 0 1rem;
  max-width: 22ch;
}

.section-sub {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.55;
  color: var(--text-soft);
  max-width: 56ch;
  margin: 0 0 2.5rem;
}

.text-link {
  color: var(--mist);
  border-bottom: 1px solid var(--rule-strong);
  transition: border-color 0.2s var(--ease);
}
.text-link:hover {
  border-color: var(--mist);
}

/* =============================================================================
   AT A GLANCE
   ========================================================================== */

.section-glance .specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.75rem 2.5rem;
  max-width: 880px;
  margin: 0 0 2.5rem;
}
.spec {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.spec-label {
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.spec-value {
  font-family: var(--serif-display);
  font-size: 1.85rem;
  line-height: 1.1;
  color: var(--light);
}

.utilities {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  line-height: 1.55;
  color: var(--light);
  max-width: 52ch;
  padding-left: 1.25rem;
  border-left: 2px solid var(--mist);
  margin: 0;
}
.utilities strong {
  font-style: normal;
  font-weight: 400;
  color: var(--mist);
}

/* =============================================================================
   ABOUT
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.about-copy p {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.55vw, 1.25rem);
  line-height: 1.65;
  color: var(--light);
  margin: 0 0 1.4rem;
  max-width: 62ch;
}
.about-copy p:last-child {
  margin-bottom: 0;
}
.about-photos {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.about-photo {
  margin: 0;
  position: relative;
  padding: 0;
  width: 100%;
  border: 1px solid var(--rule-strong);
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-card);
  cursor: pointer;
  transition: transform 0.4s var(--ease);
}
.about-photo img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.9) brightness(0.93);
  transition: filter 0.4s var(--ease), transform 0.6s var(--ease);
}
.about-photo:hover img,
.about-photo:focus-visible img {
  filter: saturate(1) brightness(1);
  transform: scale(1.03);
}

/* =============================================================================
   PHOTOS
   ========================================================================== */

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.gallery-item {
  position: relative;
  border: 1px solid var(--rule-strong);
  padding: 0;
  margin: 0;
  background: var(--bg-card);
  cursor: pointer;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  transition: transform 0.4s var(--ease);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) brightness(0.92);
  transition: filter 0.4s var(--ease), transform 0.6s var(--ease);
}
.gallery-item:hover img,
.gallery-item:focus-visible img {
  filter: saturate(1) brightness(1);
  transform: scale(1.04);
}

/* =============================================================================
   LEASE
   ========================================================================== */

.lease-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin: 0 0 2rem;
  border-top: 1px solid var(--rule);
}
.lease-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.4rem 1.6rem;
  border-bottom: 1px solid var(--rule);
}
.lease-item:nth-child(odd) {
  border-right: 1px solid var(--rule);
}
.lease-item-wide {
  grid-column: 1 / -1;
  border-right: 0 !important;
}
.lease-label {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.lease-value {
  font-family: var(--serif-display);
  font-size: 1.55rem;
  line-height: 1.25;
  color: var(--light);
}
.lease-item-wide .lease-value {
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--light);
  max-width: 60ch;
}
.lease-note {
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-soft);
  max-width: 70ch;
  margin: 0;
}

/* =============================================================================
   AERIAL
   ========================================================================== */

.aerial {
  margin: 0;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--rule-strong);
  background: var(--bg-card);
}
.aerial img {
  width: 100%;
  height: auto;
  display: block;
  filter: saturate(0.88) brightness(0.96);
}

/* =============================================================================
   SCREENING CALLOUT (inside lease section)
   ========================================================================== */

.screening {
  margin: 2.5rem 0 2rem;
  padding: 1.75rem 1.75rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: 4px;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 1.6fr;
  gap: clamp(1.25rem, 3vw, 3rem);
  align-items: start;
}
.screening-head { display: flex; flex-direction: column; gap: 0.5rem; }
.screening-title {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--mist);
  margin: 0;
}
.screening-body p {
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--light);
  margin: 0 0 0.9rem;
  max-width: 60ch;
}
.screening-body p:last-child { margin-bottom: 0; }

/* =============================================================================
   DOCUMENTS
   ========================================================================== */

.docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  margin: 0 0 2rem;
}
.doc-card {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.25rem 1.4rem;
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: 4px;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
  color: var(--light);
}
.doc-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--mist);
  transform: translateY(-2px);
}
.doc-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--mist);
}
.doc-icon svg {
  width: 100%;
  height: 100%;
}
.doc-body {
  flex: 1;
  min-width: 0;
}
.doc-name {
  font-family: var(--serif-display);
  font-size: 1.3rem;
  line-height: 1.2;
  color: var(--light);
  margin-bottom: 0.25rem;
}
.doc-meta {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.doc-arrow {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--mist);
  display: grid;
  place-items: center;
}
.doc-arrow svg {
  width: 100%;
  height: 100%;
  transition: transform 0.25s var(--ease);
}
.doc-card:hover .doc-arrow svg {
  transform: translateX(3px);
}
.doc-card-placeholder {
  border-style: dashed;
  border-color: var(--rule);
}
.docs-note {
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-soft);
  max-width: 68ch;
  margin: 0;
}

/* =============================================================================
   CONTACT
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.contact-copy p {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.55vw, 1.2rem);
  line-height: 1.65;
  color: var(--light);
  margin: 0 0 2rem;
  max-width: 46ch;
}
.contact-direct {
  margin-top: 1.5rem;
}
.contact-direct + .contact-direct {
  margin-top: 1rem;
}
.contact-label {
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 0.4rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.field-label {
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.field-opt {
  font-style: italic;
  text-transform: none;
  letter-spacing: 0.04em;
  color: var(--haze);
}
.field input,
.field textarea {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--light);
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 0.85rem 1rem;
  width: 100%;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.field input:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--mist);
  background: var(--bg-card-hover);
}
.field textarea {
  resize: vertical;
  min-height: 130px;
  font-family: var(--serif);
  line-height: 1.55;
}
.form-submit {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ground);
  background: var(--mist);
  border: 0;
  border-radius: 999px;
  padding: 1rem 1.7rem;
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.form-submit svg {
  width: 14px;
  height: 14px;
}
.form-submit:hover {
  background: var(--light);
  transform: translateY(-1px);
}
.form-note {
  font-family: var(--serif);
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--text-soft);
  margin: 0.25rem 0 0;
}

.field-error {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f0a98b;
  margin: 0.4rem 0 0;
}

/* =============================================================================
   FOOTER
   ========================================================================== */

.footer {
  position: relative;
  padding: clamp(2rem, 5vh, 3rem) 0 1.5rem;
  border-top: 1px solid var(--rule);
}
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--light);
}
.footer-brand svg {
  width: 20px;
  height: 20px;
}
.footer-address {
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.footer-cite {
  font-family: var(--serif-display);
  font-size: 1.25rem;
  color: var(--light);
}
.footer-credit {
  border-top: 1px solid var(--rule);
  padding-top: 1.2rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-soft);
  text-align: center;
}
.footer-credit a {
  color: var(--mist);
  border-bottom: 1px solid var(--rule-strong);
  transition: border-color 0.2s var(--ease);
}
.footer-credit a:hover {
  border-color: var(--mist);
}

/* =============================================================================
   LIGHTBOX
   ========================================================================== */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  justify-content: center;
  align-items: center;
  background: rgba(0, 12, 22, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: clamp(1rem, 3vw, 2rem);
}
.lightbox.is-open {
  display: flex;
}
.lightbox-figure {
  margin: 0;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.lightbox-img {
  max-width: 90vw;
  max-height: calc(90vh - 2rem);
  object-fit: contain;
  border-radius: 2px;
}
.lightbox-caption {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.lightbox button {
  position: absolute;
  display: grid;
  place-items: center;
  background: rgba(179, 205, 228, 0.08);
  border: 1px solid var(--rule);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  color: var(--light);
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.lightbox button:hover {
  background: rgba(179, 205, 228, 0.18);
  border-color: var(--mist);
}
.lightbox button svg {
  width: 18px;
  height: 18px;
}
.lightbox-close {
  top: clamp(1rem, 3vh, 2rem);
  right: clamp(1rem, 3vw, 2rem);
}
.lightbox-prev {
  left: clamp(0.5rem, 2vw, 1.5rem);
  top: 50%;
  transform: translateY(-50%);
}
.lightbox-next {
  right: clamp(0.5rem, 2vw, 1.5rem);
  top: 50%;
  transform: translateY(-50%);
}

/* =============================================================================
   ANIMATIONS
   ========================================================================== */

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =============================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 980px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 980px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* Hamburger threshold: swap inline nav for hamburger panel below 880px.
   At this size the navbar is also pinned-visible from page load (instead of
   sliding in after the hero) so the user has a way to navigate without
   scrolling past the topbar. */
@media (max-width: 880px) {
  .navbar { transform: translateY(0); }
  .navbar-inner { padding: 0.7rem 1rem; }
  .nav-brand span { display: none; }
  .nav-brand .brand-mark { width: 28px; height: 28px; }
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  /* Hero topbar duplicates navbar info on small screens, hide it */
  .topbar { display: none; }
  .brand span.sep { display: none; }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 60px; }
  .hero-meta { font-size: 0.74rem; gap: 0.7rem; }
  .lease-grid { grid-template-columns: 1fr; }
  .lease-item:nth-child(odd) { border-right: 0; }
  .lease-value { font-size: 1.4rem; }
  .specs { grid-template-columns: repeat(2, 1fr); gap: 1.4rem 1.8rem; }
  .spec-value { font-size: 1.55rem; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .docs-grid { grid-template-columns: 1fr; }
  .footer-row { justify-content: flex-start; flex-direction: column; align-items: flex-start; }
  .screening { grid-template-columns: 1fr; padding: 1.4rem; }
  .about-photos { gap: 10px; }
}

@media (max-width: 480px) {
  .gallery { grid-template-columns: 1fr; gap: 14px; }
}

@media (max-width: 480px) {
  .gallery { grid-template-columns: 1fr; }
}

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