/* ============================================================
   UNION COWORK — DESIGN SYSTEM
   ============================================================ */

@font-face {
  font-family: 'ProperDisplay';
  src: url('ProperDisplay-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ── Custom Properties ─────────────────────────────────────── */
:root {
  --bg:           #0f0f0d;
  --surface:      #272723;
  --surface-2:    #1e1e1b;
  --text:         #f0ebe0;
  --text-muted:   #b0aca4;
  --text-faint:   #7a7870;
  --accent:       #8eaecd;
  --accent-dark:  #6b90b5;
  --accent-teal:  #8AAE9B;
  --border:       rgba(240,235,224,0.12);
  --border-med:   rgba(240,235,224,0.22);

  --font-display: 'ProperDisplay', Georgia, serif;
  --font-body:    'Outfit', system-ui, sans-serif;
  --font-sans:    'Outfit', system-ui, sans-serif;

  --nav-h: 80px;
  --max-w: 1320px;
  --gap:   clamp(24px, 4vw, 64px);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:  cubic-bezier(0.4, 0, 1, 1);
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; }

/* ── Grain texture ─────────────────────────────────────────── */
.grain {
  position: fixed;
  inset: -200%;
  width: 400%;
  height: 400%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
  animation: grain-shift 8s steps(1) infinite;
}

@keyframes grain-shift {
  0%   { transform: translate(0, 0); }
  10%  { transform: translate(-5%, -10%); }
  20%  { transform: translate(-15%, 5%); }
  30%  { transform: translate(7%, -25%); }
  40%  { transform: translate(-5%, 25%); }
  50%  { transform: translate(-15%, 10%); }
  60%  { transform: translate(15%, 0%); }
  70%  { transform: translate(0%, 15%); }
  80%  { transform: translate(3%, 35%); }
  90%  { transform: translate(-10%, 10%); }
  100% { transform: translate(0, 0); }
}

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
}

.display-xl {
  font-size: clamp(64px, 10vw, 128px);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.display-lg {
  font-size: clamp(48px, 6vw, 88px);
  line-height: 1.0;
  letter-spacing: -0.025em;
}

.display-md {
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.display-sm {
  font-size: clamp(28px, 3.5vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.body-lg {
  font-family: var(--font-sans);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.6;
  font-weight: 400;
}

.body-md {
  font-family: var(--font-sans);
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.65;
}

/* ── Layout Utilities ───────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 64px);
}

.section {
  padding: clamp(56px, 7vw, 96px) 0;
}

.section-sm {
  padding: clamp(36px, 4vw, 56px) 0;
}

.divider {
  width: 100%;
  height: 1px;
  background: var(--border);
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: all 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
  border-radius: 6px;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: currentColor;
  opacity: 0;
  transform: translateX(-101%);
  transition: transform 0.4s var(--ease-out);
}

.btn:hover::before {
  transform: translateX(0);
  opacity: 0.12;
}

.btn-primary {
  background: var(--accent);
  color: #2B2620;
  border: 1px solid var(--accent);
}

.btn-primary:hover {
  background: var(--text);
  border-color: var(--text);
  color: #2B2620;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-med);
}

.btn-ghost:hover {
  border-color: var(--text);
}

.btn-accent {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn-accent:hover {
  background: var(--accent);
  color: var(--bg);
}

/* ── Navigation ─────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(12,12,10,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease;
}

.site-header.scrolled {
  background: rgba(8,8,6,0.99);
}

.nav {
  height: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--text);
  transition: color 0.2s;
}

.nav-wordmark:hover { color: var(--accent); }

.nav-logo-mark {
  height: 32px;
  width: auto;
  display: block;
  flex-shrink: 0;
  transition: opacity 0.2s;
}

.nav-wordmark:hover .nav-logo-mark { opacity: 0.75; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 8px 12px;
  transition: color 0.2s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 12px;
  right: 12px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}

.nav-link:hover { color: var(--text); }
.nav-link:hover::after { transform: scaleX(1); }

.nav-link.active { color: var(--text); }
.nav-link.active::after { transform: scaleX(1); }

.nav-chevron {
  font-size: 9px;
  display: inline-block;
  transition: transform 0.2s;
}

.dropdown-trigger[aria-expanded="true"] .nav-chevron {
  transform: rotate(180deg);
}

.has-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 200px;
  background: var(--surface);
  border: 1px solid var(--border-med);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s var(--ease-out);
  pointer-events: none;
  border-radius: 10px;
  overflow: hidden;
}

.has-dropdown:hover .dropdown-menu,
.dropdown-trigger[aria-expanded="true"] + .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.15s, background 0.15s;
}

.dropdown-link:hover {
  color: var(--text);
  background: var(--border);
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.nav-cta { display: none; }

@media (min-width: 900px) {
  .nav-cta { display: inline-flex; }
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 200;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: all 0.3s var(--ease-out);
  transform-origin: center;
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

@media (min-width: 900px) {
  .hamburger { display: none; }
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--surface);
  z-index: 9998;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 80px clamp(24px, 6vw, 80px) 48px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.35s var(--ease-out), visibility 0.35s, transform 0.35s var(--ease-out);
}

@media (min-height: 680px) {
  .mobile-menu { justify-content: center; padding-top: 60px; }
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 20px;
  color: var(--text-muted);
  padding: 8px;
  transition: color 0.2s;
}

.mobile-menu-close:hover { color: var(--text); }

.mobile-menu-list { display: flex; flex-direction: column; gap: 4px; }

.mobile-link {
  font-family: var(--font-display);
  font-size: clamp(28px, 6vw, 48px);
  font-weight: 900;
  color: var(--text-muted);
  padding: 6px 0;
  transition: color 0.2s;
  display: block;
  opacity: 0;
  transform: translateX(20px);
  transition: color 0.2s, opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

.mobile-menu.open .mobile-link {
  opacity: 1;
  transform: translateX(0);
}

.mobile-menu.open .mobile-link:nth-child(1)  { transition-delay: 0.05s; }
.mobile-menu.open .mobile-link:nth-child(2)  { transition-delay: 0.1s; }
.mobile-menu.open .mobile-link:nth-child(3)  { transition-delay: 0.15s; }
.mobile-menu.open .mobile-link:nth-child(4)  { transition-delay: 0.2s; }
.mobile-menu.open .mobile-link:nth-child(5)  { transition-delay: 0.25s; }
.mobile-menu.open .mobile-link:nth-child(6)  { transition-delay: 0.3s; }
.mobile-menu.open .mobile-link:nth-child(7)  { transition-delay: 0.35s; }
.mobile-menu.open .mobile-link:nth-child(8)  { transition-delay: 0.4s; }
.mobile-menu.open .mobile-link:nth-child(9)  { transition-delay: 0.45s; }
.mobile-menu.open .mobile-link:nth-child(10) { transition-delay: 0.5s; }
.mobile-menu.open .mobile-link:nth-child(11) { transition-delay: 0.55s; }
.mobile-menu.open .mobile-link:nth-child(12) { transition-delay: 0.6s; }

.mobile-link:hover { color: var(--text); }
.mobile-section-label {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-faint);
  padding: 12px 0 4px;
}

.mobile-sub {
  font-size: clamp(20px, 4.5vw, 32px);
  padding-left: 16px;
  color: var(--text-muted);
}

.mobile-sub:hover { color: var(--text); }

.mobile-cta {
  color: var(--accent) !important;
  margin-top: 8px;
}

@media (min-width: 900px) {
  .mobile-menu { display: none; }
  .hamburger { display: none; }
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  min-height: max(48vh, 380px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(56px, 8vh, 96px) 0;
  position: relative;
  overflow: hidden;
}

/* Full-bleed homepage hero only */
.hero--photo {
  min-height: calc(100svh - var(--nav-h));
  padding: clamp(60px, 10vh, 120px) 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 70%;
  height: 140%;
  background: radial-gradient(ellipse at center, rgba(200,135,58,0.07) 0%, transparent 65%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 50%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(74,124,111,0.05) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 64px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transform: translateY(16px);
  animation: fade-up 0.6s var(--ease-out) 0.1s forwards;
}

.hero-eyebrow-line {
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.hero-headline {
  opacity: 0;
  transform: translateY(24px);
  animation: fade-up 0.8s var(--ease-out) 0.25s forwards;
}

.hero-subhead {
  max-width: 520px;
  opacity: 0;
  transform: translateY(16px);
  animation: fade-up 0.6s var(--ease-out) 0.45s forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  opacity: 0;
  transform: translateY(16px);
  animation: fade-up 0.6s var(--ease-out) 0.6s forwards;
}

.hero-scroll {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 48px;
  opacity: 0;
  animation: fade-up 0.6s var(--ease-out) 0.8s forwards;
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--border-med));
  animation: scroll-line 2s ease infinite;
}

@keyframes scroll-line {
  0%, 100% { transform: scaleY(1); opacity: 0.5; }
  50% { transform: scaleY(0.5); opacity: 1; }
}

@keyframes fade-up {
  to { opacity: 1; transform: translateY(0); }
}

/* ── Philosophy Strip ───────────────────────────────────────── */
.philosophy {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.philosophy-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

@media (min-width: 768px) {
  .philosophy-inner {
    grid-template-columns: 1fr 1fr;
  }
}

.philosophy-quote {
  position: relative;
  padding-left: 24px;
}

.philosophy-quote::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--accent);
}

.philosophy-body { display: flex; flex-direction: column; gap: 20px; }

.philosophy-body p {
  font-family: var(--font-sans);
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.7;
  color: var(--text-muted);
}

.philosophy-body p strong { color: var(--text); font-weight: 600; }

/* ── Marquee ────────────────────────────────────────────────── */
.marquee-strip {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  background: var(--surface-2);
}

.marquee-track {
  display: flex;
  gap: 64px;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.marquee-strip:hover .marquee-track { animation-play-state: paused; }

.marquee-item {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 900;
  color: var(--text-faint);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.marquee-item span { color: var(--accent); margin-right: 12px; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Section Headers ────────────────────────────────────────── */
.section-header {
  margin-bottom: clamp(28px, 3.5vw, 48px);
}

.section-header-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 768px) {
  .section-header.split {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
  }
}

/* ── Location Cards ─────────────────────────────────────────── */
.locations-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 600px) {
  .locations-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1000px) {
  .locations-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.location-card {
  position: relative;
  background: var(--surface);
  padding: clamp(28px, 4vw, 48px) clamp(20px, 3vw, 32px);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  overflow: hidden;
  cursor: pointer;
  min-height: 320px;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}

.location-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--card-accent, var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.location-card:hover {
  background: var(--surface-2);
  border-color: var(--border-med);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.28);
}

.location-card:hover::before {
  transform: scaleX(1);
}

.location-card:hover .location-explore {
  color: var(--text);
  gap: 12px;
}

.location-num {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--text-faint);
}

.location-name {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 900;
  line-height: 1.0;
  margin-top: auto;
}

.location-tag {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.location-desc {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  flex: 1;
}

.location-explore {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  transition: all 0.3s;
  margin-top: auto;
}

/* ── Membership ─────────────────────────────────────────────── */
.membership-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 700px) {
  .membership-grid { grid-template-columns: repeat(3, 1fr); }
}

.membership-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: clamp(32px, 4vw, 56px) clamp(24px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  position: relative;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}

.membership-card.featured {
  background: var(--surface-2);
  border-color: var(--border-med);
}

.membership-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -1px;
  right: 24px;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 0 0 8px 8px;
}

.membership-card:hover {
  border-color: var(--border-med);
  background: var(--surface-2);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.28);
}

.membership-tier {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.membership-name {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 900;
  line-height: 1.0;
}

.membership-desc {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  padding-top: 4px;
  border-top: 1px solid var(--border);
}

.membership-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.membership-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text-muted);
}

.membership-feature::before {
  content: '—';
  color: var(--accent);
  flex-shrink: 0;
  font-family: var(--font-body);
}

.membership-all-inc {
  padding: 12px 16px;
  background: rgba(200,135,58,0.08);
  border: 1px solid rgba(200,135,58,0.2);
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--accent);
  text-align: center;
  border-radius: 8px;
}

.amenities-strip {
  margin-top: clamp(40px, 6vw, 64px);
  padding: clamp(24px, 4vw, 40px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px 32px;
  margin-top: 24px;
}

.amenity-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text-muted);
}

.amenity-item::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ── Testimonials ───────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 700px) {
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1000px) {
  .testimonials-grid { grid-template-columns: 1fr 1fr 1fr; }
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: clamp(28px, 4vw, 48px) clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color 0.3s, transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}

.testimonial-card:hover {
  border-color: var(--border-med);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.28);
}

.testimonial-quote-mark {
  font-family: var(--font-display);
  font-size: 48px;
  line-height: 1;
  color: var(--accent);
  opacity: 0.4;
  margin-bottom: -16px;
}

.testimonial-text {
  font-family: var(--font-sans);
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.65;
  color: var(--text);
  flex: 1;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.testimonial-name {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text);
}

.testimonial-location-tag {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* ── Community ──────────────────────────────────────────────── */
.community-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 4vw, 48px);
}

@media (min-width: 768px) {
  .community-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1100px) {
  .community-grid { grid-template-columns: repeat(3, 1fr); }
}

.community-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.community-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.community-card h3 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
  line-height: 1.1;
}

.community-card p {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: clamp(40px, 6vw, 64px);
}

@media (min-width: 900px) {
  .events-grid { grid-template-columns: repeat(4, 1fr); }
}

.event-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.event-card h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
}

.event-card p {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── About ──────────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

@media (min-width: 900px) {
  .about-grid { grid-template-columns: 5fr 7fr; }
}

.about-image-block {
  aspect-ratio: 4/5;
  background: var(--surface);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
}

.about-image-inner {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--surface-2) 0%, var(--surface) 50%, rgba(200,135,58,0.05) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
}

.about-image-caption {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.about-content p {
  font-family: var(--font-sans);
  font-size: clamp(16px, 1.7vw, 18px);
  line-height: 1.7;
  color: var(--text-muted);
}

.about-content p strong { color: var(--text); font-weight: 600; }

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 8px;
}

.value-item {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-radius: 10px;
}

.value-item h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 900;
}

.value-item p {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Blog ───────────────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 600px) {
  .blog-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1000px) {
  .blog-grid { grid-template-columns: repeat(3, 1fr); }
}

.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: clamp(24px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  cursor: pointer;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}

.blog-card:hover {
  border-color: var(--border-med);
  background: var(--surface-2);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.28);
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.blog-card-tag {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 3px 10px;
  border: 1px solid rgba(200,135,58,0.3);
  border-radius: 999px;
}

.blog-card-date {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--text-faint);
}

.blog-card h3 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 900;
  line-height: 1.15;
  transition: color 0.2s;
}

.blog-card:hover h3 { color: var(--accent); }

.blog-card p {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
  flex: 1;
}

.blog-card-read {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  transition: color 0.2s;
}

.blog-card:hover .blog-card-read { color: var(--accent); }

/* ── Contact / Form ─────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 5fr 7fr; }
}

.contact-info { display: flex; flex-direction: column; gap: 32px; }

.contact-locations { display: flex; flex-direction: column; gap: 20px; }

.contact-location-item {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.contact-location-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 6px;
}

.contact-location-addr {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-input,
.form-select,
.form-textarea {
  background: var(--surface);
  border: 1px solid var(--border-med);
  color: var(--text);
  padding: 14px 16px;
  font-family: var(--font-sans);
  font-size: 15px;
  transition: border-color 0.2s;
  appearance: none;
  width: 100%;
  border-radius: 8px;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-faint);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 7L11 1' stroke='%238a8070' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-select option { background: var(--surface); }

/* ── Location Page ──────────────────────────────────────────── */
.location-hero {
  padding: clamp(60px, 10vh, 120px) 0 clamp(40px, 8vh, 80px);
  position: relative;
  overflow: hidden;
}

/* Split hero — content left, photo right */
.location-hero--split {
  padding-bottom: clamp(40px, 5vw, 64px);
}

.location-hero-split-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: stretch;
}

@media (min-width: 900px) {
  .location-hero-split-grid {
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 4vw, 64px);
    align-items: center;
  }
}

.location-hero-split-content {
  padding-bottom: clamp(40px, 6vw, 80px);
}

.location-hero-split-img {
  position: relative;
  overflow: hidden;
  border-radius: 14px 14px 0 0;
  max-height: 520px;
}

@media (min-width: 900px) {
  .location-hero-split-img {
    border-radius: 14px;
    max-height: 600px;
    height: 100%;
    min-height: 420px;
    margin-top: 0;
  }
}

.location-hero-split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.location-hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 140%;
  background: radial-gradient(ellipse, var(--loc-color, rgba(200,135,58,0.07)) 0%, transparent 65%);
  pointer-events: none;
}

.location-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
}

.location-hero-breadcrumb a {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  transition: color 0.2s;
}

.location-hero-breadcrumb a:hover { color: var(--text-muted); }

.location-hero-breadcrumb span {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--text-faint);
}

.location-hero-address {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
}

.location-details-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 64px);
}

@media (min-width: 768px) {
  .location-details-grid { grid-template-columns: 7fr 5fr; }
}

.location-map-block {
  background: var(--surface);
  border: 1px solid var(--border);
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.location-map-block iframe {
  filter: invert(90%) hue-rotate(180deg) saturate(0.65) brightness(0.88);
}

.location-map-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--surface-2), var(--surface));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.location-map-placeholder p {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.location-hours {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-sans);
  font-size: 14px;
}

.hours-label { color: var(--text-muted); }
.hours-value { color: var(--text); }

.amenities-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  margin-top: 24px;
}

/* ── Image Placeholder Blocks ───────────────────────────────── */
.img-block {
  background: var(--surface);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.img-block::after {
  content: attr(data-label);
  position: absolute;
  bottom: 12px;
  left: 16px;
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.img-block-gradient {
  position: absolute;
  inset: 0;
}

/* ── Scroll Animations ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: clamp(48px, 8vw, 96px) 0 0;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 64px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 64px);
  padding-bottom: clamp(40px, 6vw, 64px);
  border-bottom: 1px solid var(--border);
}

@media (min-width: 600px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

.footer-wordmark {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  transition: color 0.2s;
}

.footer-wordmark:hover { color: var(--accent); }

.footer-logo-mark {
  height: 36px;
  width: auto;
  display: block;
  flex-shrink: 0;
  transition: opacity 0.2s;
}

.footer-wordmark:hover .footer-logo-mark { opacity: 0.75; }

.footer-tagline {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.footer-sub {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-faint);
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--text-faint);
  padding: 6px 12px;
  border: 1px solid var(--border);
  transition: color 0.2s, border-color 0.2s;
  border-radius: 999px;
}

.footer-social a:hover {
  color: var(--text);
  border-color: var(--border-med);
}

.footer-nav-heading {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 16px;
  font-weight: 400;
}

.footer-nav-group ul { display: flex; flex-direction: column; gap: 8px; }

.footer-nav-group a {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-nav-group a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 0;
}

@media (min-width: 600px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-bottom p,
.footer-bottom-links a {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-faint);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a:hover { color: var(--text-muted); }

/* ── Utility ────────────────────────────────────────────────── */
.accent { color: var(--accent); }
.muted  { color: var(--text-muted); }
.faint  { color: var(--text-faint); }

/* Pill treatment for accent labels */
.label.accent {
  display: inline-block;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  padding: 4px 12px;
  border-radius: 999px;
}

.text-right { text-align: right; }
.text-center { text-align: center; }

.mt-sm { margin-top: clamp(16px, 2vw, 24px); }
.mt-md { margin-top: clamp(24px, 3vw, 40px); }
.mt-lg { margin-top: clamp(40px, 6vw, 64px); }

.inline-link {
  color: var(--accent);
  border-bottom: 1px solid rgba(200,135,58,0.3);
  transition: border-color 0.2s;
}

.inline-link:hover { border-color: var(--accent); }

.location-page-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: clamp(32px, 4vw, 48px);
  padding-top: clamp(24px, 3vw, 32px);
  border-top: 1px solid var(--border);
}

.location-page-nav a {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  padding: 8px 16px;
  border: 1px solid var(--border);
  transition: all 0.2s;
  border-radius: 999px;
}

.location-page-nav a:hover,
.location-page-nav a.active {
  color: var(--text);
  border-color: var(--border-med);
}

/* ── Blog Post ───────────────────────────────────────────────── */

a.blog-card {
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.post-body {
  max-width: 680px;
  margin: 0 auto;
}

.post-body .post-p {
  margin-top: 24px;
  line-height: 1.85;
  font-size: clamp(15px, 1.6vw, 17px);
}

.post-body .post-p:first-child {
  margin-top: 0;
}

.post-pull {
  margin: 40px 0;
  padding: 28px 36px;
  border-left: 3px solid var(--accent);
  background: var(--surface);
  border-radius: 0 10px 10px 0;
  font-family: var(--font-display);
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 900;
  line-height: 1.4;
  color: var(--text);
  font-style: normal;
}

.post-subhead {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 900;
  color: var(--text);
  margin-top: 48px;
  margin-bottom: 4px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: clamp(48px, 8vw, 80px);
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.post-nav-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 280px;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.post-nav-link:hover { color: var(--accent); }

.post-nav-link-right {
  text-align: right;
  margin-left: auto;
}

/* ── Our Why (About Page) ────────────────────────────────────── */

.our-why-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  padding: clamp(36px, 5vw, 64px);
  background: var(--surface);
  border: 1px solid var(--border);
  align-items: stretch;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
}

.our-why-header h2 {
  line-height: 1.1;
}

.our-why-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.our-why-pillar {
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-radius: 12px;
}

.our-why-pillar h4 {
  font-family: var(--font-display);
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 900;
  color: var(--text);
  line-height: 1.2;
}

.our-why-pillar p {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── FAQ Page ────────────────────────────────────────────────── */

.faq-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(32px, 5vw, 64px) clamp(40px, 6vw, 96px);
}

.faq-category {
  font-family: var(--font-display);
  font-size: clamp(13px, 1.4vw, 16px);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-med);
}

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.faq-question {
  font-family: var(--font-body);
  font-size: clamp(14px, 1.5vw, 15px);
  font-weight: 500;
  color: var(--text);
  margin: 0 0 10px;
  line-height: 1.4;
}

.faq-answer {
  padding: 0;
}

.faq-answer p {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* ── Responsive adjustments ─────────────────────────────────── */
@media (max-width: 899px) {
  .nav-links { display: none; }
  .post-nav { flex-direction: column; }
  .post-nav-link-right { text-align: left; margin-left: 0; }
  .our-why-block { grid-template-columns: 1fr; }
  .our-why-pillars { grid-template-columns: 1fr; }
  .faq-layout { grid-template-columns: 1fr; }
}

@media (max-width: 599px) {
  .form-row { grid-template-columns: 1fr; }
  .post-pull { padding: 20px 24px; }
}

/* ── Hero Photo (Homepage) ───────────────────────────────────── */

.hero-photo-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center 72%; /* anchor low — people show below the text */
}

/* Overlay: heavier at top so text is crisp, eases off toward bottom to keep photo visible */
.hero-photo-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(55, 53, 50, 0.72) 0%,
    rgba(55, 53, 50, 0.65) 40%,
    rgba(48, 46, 43, 0.52) 68%,
    rgba(35, 33, 30, 0.32) 100%
  );
}

/* Keep hero accents and content above the photo */
.hero--photo::before,
.hero--photo::after { z-index: 1; }

.hero--photo .hero-inner {
  position: relative;
  z-index: 2;
}

/* Text shadows so headline stays crisp over the photo */
.hero--photo .hero-headline {
  text-shadow: 0 2px 32px rgba(0,0,0,0.85), 0 1px 10px rgba(0,0,0,0.65), 0 0 2px rgba(0,0,0,0.4);
}
.hero--photo .hero-subhead,
.hero--photo .hero-eyebrow {
  text-shadow: 0 1px 16px rgba(0,0,0,0.75), 0 1px 6px rgba(0,0,0,0.5);
}

/* ── Location Photo Band ─────────────────────────────────────── */

.location-photo-band {
  position: relative;
  width: 100%;
  height: clamp(280px, 38vw, 560px);
  overflow: hidden;
  background: var(--surface-2);
}

.location-photo-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s var(--ease-out);
}

.location-photo-band:hover img {
  transform: scale(1.02);
}

.location-photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px clamp(20px, 4vw, 64px);
  display: flex;
  gap: 8px;
  align-items: center;
  background: linear-gradient(to top, rgba(40, 38, 36, 0.85) 0%, transparent 100%);
}

/* ── Membership Photo ────────────────────────────────────────── */

.membership-photo {
  position: relative;
  width: 100%;
  height: clamp(240px, 30vw, 440px);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
}

.membership-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  display: block;
}

.membership-photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 28px;
  background: linear-gradient(to top, rgba(40, 38, 36, 0.88) 0%, transparent 100%);
}

/* ── Membership Split Photo (Flex Desks) ─────────────────────── */

.membership-split-photo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  border: 1px solid var(--border);
  overflow: hidden;
}

.membership-split-img {
  overflow: hidden;
  height: clamp(280px, 30vw, 420px);
}

.membership-split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s var(--ease-out);
}

.membership-split-photo:hover .membership-split-img img {
  transform: scale(1.03);
}

.membership-split-text {
  background: var(--surface);
  padding: clamp(32px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

@media (max-width: 767px) {
  .membership-split-photo { grid-template-columns: 1fr; }
  .membership-split-img { height: 260px; }
}

/* ── Community Photo Reel ────────────────────────────────────── */

.community-reel-breakout {
  /* break out of container padding to run edge-to-edge */
  margin: clamp(48px, 7vw, 80px) calc(-1 * clamp(20px, 4vw, 64px)) clamp(16px, 3vw, 32px);
  overflow: hidden;
}

.community-reel-label {
  padding: 0 clamp(20px, 4vw, 64px) clamp(16px, 2vw, 24px);
  padding-left: clamp(40px, 6vw, 80px);
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.community-reel-outer {
  overflow: hidden;
  cursor: grab;
}

/* Hide scrollbar on location gallery strip */
.location-gallery-scroll::-webkit-scrollbar { display: none; }

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-med);
  background: rgba(15,15,13,0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: opacity 0.25s ease, background 0.2s ease;
  user-select: none;
}
.gallery-nav:hover { background: rgba(15,15,13,0.92); }
.gallery-nav-left  { left: clamp(8px, 2vw, 20px); opacity: 0; pointer-events: none; }
.gallery-nav-right { right: clamp(8px, 2vw, 20px); }

.community-reel-outer:active { cursor: grabbing; }

.community-reel-track {
  display: flex;
  gap: 8px;
  width: max-content;
  animation: community-scroll 65s linear infinite;
}

.community-reel-track:hover {
  animation-play-state: paused;
}

.reel-photo {
  height: 300px;
  width: auto;
  display: block;
  flex-shrink: 0;
  object-fit: cover;
  /* warm desaturated film look — intentionally "real" not polished */
  filter: saturate(0.65) brightness(0.9) contrast(1.05) sepia(0.08);
  transition: filter 0.5s ease;
}

.reel-photo:hover {
  filter: saturate(0.9) brightness(1) contrast(1) sepia(0);
}

@keyframes community-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
