/* ════════════════════════════════════════════════
   JASTAR CAPITAL — V3 REFINED
   "Silence as Signal" Design Philosophy
   Heritage Assets. Modern Hospitality.
════════════════════════════════════════════════ */

/* ─── Custom Properties ─────────────────────── */
:root {
  /* Warmer, richer blacks (luxury depth) */
  --bg:          #0F0E0D;
  --bg-surface:  #1A1816;
  --bg-card:     #151412;

  /* Light/cream palette for breathing room */
  --cream:       #F4F1EA;
  --cream-dark:  #E8E4DC;

  /* Modern luxury gold - champagne with depth */
  --gold:        #A9A6A6;
  --gold-light:  #C0C0C0;
  --gold-mid:    #B89358;
  --gold-dark:   #A8854F;
  --gold-border: rgba(169, 166, 166, 0.2);
  --gold-muted:  rgba(201, 161, 103, 0.08);
  --gold-subtle: rgba(201, 161, 103, 0.04);

  /* Text hierarchy */
  --text:        #F0ECE6;
  --text-2:      #B8B0A8;
  --text-3:      #8F8780;
  --text-dark:   #2A2826;
  --text-dark-2: #5A5652;
  --text-blue: #0075d2;
  --border:      rgba(255, 255, 255, 0.06);
  --border-dark: rgba(0, 0, 0, 0.08);

  /* Typography - Premium luxury serif */
  --font-display: 'Crimson Pro', 'Libre Baskerville', Georgia, serif;
  --font-sans:    'Inter', system-ui, sans-serif;

  /* Spacing & rhythm */
  --nav-h:  4.5rem;
  --pad-x:  clamp(1.5rem, 5vw, 5rem);
  --max-w:  88rem;
  --ease:   cubic-bezier(0.16, 1, 0.3, 1);

  /* Vertical breathing room (30% more) */
  --space-xs: clamp(2rem, 4vw, 3rem);
  --space-sm: clamp(3rem, 6vw, 5rem);
  --space-md: clamp(5rem, 10vw, 9rem);
  --space-lg: clamp(7rem, 14vw, 12rem);
}

/* ─── Reset ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  overflow-x: hidden;
  line-height: 1.6;
  position: relative;
}

/* Subtle texture overlay for luxury depth */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' /%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: overlay;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul { list-style: none; }

::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold); }
::selection { background: rgba(196, 163, 90, 0.18); color: var(--text); }

/* ─── Layout ─────────────────────────────────── */
.container {
  width: 100%; max-width: var(--max-w);
  margin: 0 auto; padding: 0 var(--pad-x);
}
.section-pad    { padding: var(--space-sm) 0; }
.section-pad-sm { padding: var(--space-sm) 0; }
.section-pad-lg { padding: var(--space-lg) 0; }

/* Reduced padding after hero for identity section */
.hero + .section-pad { padding-top: clamp(3rem, 6vw, 5rem); }

/* Decorative section dividers */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin: var(--space-md) 0;
}
.section-divider::before,
.section-divider::after {
  content: '';
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-border), transparent);
}
.section-divider__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.5;
}

/* Background alternation for rhythm */
.bg-surface { background: var(--bg-surface); }
.bg-cream {
  background: var(--cream);
  color: var(--text-dark);
}
.bg-cream .t-h1,
.bg-cream .t-h2,
.bg-cream .t-h3,
.bg-cream .t-hero-quote { color: var(--text-dark); }
.bg-cream .label-gold { color: var(--gold-dark); }
.bg-cream .c-muted { color: var(--text-dark-2); }
.bg-cream .btn-ghost { color: var(--text-dark-2); }
.bg-cream .btn-ghost:hover { color: var(--gold-dark); }

/* ─── Typography (Refined for Authority) ─────────────────────────────── */
.t-display {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 8.5rem);
  font-weight: 400; line-height: 1.0; letter-spacing: -0.02em;
}
.t-hero-quote {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 400; line-height: 1.3; letter-spacing: -0.015em;
}
.t-h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 400; line-height: 1.1; letter-spacing: -0.02em;
}
.t-h2 {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 3.5vw, 3rem);
  font-weight: 400; line-height: 1.15; letter-spacing: -0.015em;
}
.t-h3 {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 2.5vw, 2rem);
  font-weight: 400; line-height: 1.3; letter-spacing: -0.01em;
}
.label {
  font-family: var(--font-sans);
  font-size: 0.6875rem; letter-spacing: 0.22em;
  text-transform: uppercase; font-weight: 500; color: var(--text-3);
}
.label-gold { font-family: var(--font-sans); font-size: 0.6875rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500; color: var(--gold); }
.c-gold { color: var(--gold); }
.c-muted { color: var(--text-3); }
.c-2 { color: var(--text-2); }
em.c-gold { font-style: italic; color: var(--gold); }

/* ─── Utility ────────────────────────────────── */
.gold-line { display: inline-block; width: 2.5rem; height: 1px; background: var(--gold); flex-shrink: 0; }
.section-label { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.section-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 3.5rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.flex { display: flex; }
.gap-4 { gap: 1rem; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }

/* ─── Buttons ────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.625rem;
  font-family: var(--font-sans); font-size: 0.6875rem;
  letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500;
  padding: 0.875rem 1.875rem; transition: all 0.3s ease; white-space: nowrap;
  cursor: pointer; position: relative; overflow: hidden;
  z-index:10;
}
.btn-gold {
  background: var(--gold); color: var(--bg);
  transform: translateZ(0);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
/*.btn-gold::before {
  content: ''; position: absolute; top: 50%; left: 50%;
  width: 0; height: 0; border-radius: 50%;
  background: var(--gold-light);
  transform: translate(-50%, -50%);
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1), height 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}*/
.btn-gold:hover::before {
  width: 300%; height: 300%;
}
.btn-gold:hover {
  background: var(--gold-light);
  box-shadow: 0 8px 30px rgba(201, 161, 103, 0.35);
  transform: translateY(-2px);
}
.btn-gold > * { position: relative; z-index: 1; }
.btn-outline { border: 1px solid var(--gold-border); color: var(--text); }
.btn-outline:hover {
  border-color: var(--gold); color: var(--gold);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}
.btn-ghost { color: var(--text-2); }
.btn-ghost:hover { color: var(--gold); }

/* ─── Badges ─────────────────────────────────── */
.badge { font-family: var(--font-sans); font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500; padding: 0.2rem 0.5rem; border: 1px solid; display: inline-block; }
.badge-active  { color: #6BAF8A; border-color: rgba(107,175,138,0.3); }
.badge-dev     { color: var(--gold); border-color: var(--gold-border); }
.badge-acq     { color: #6BAF8A; border-color: rgba(107,175,138,0.3); }
.badge-plan    { color: var(--gold); border-color: var(--gold-border); }
.badge-plan-blue    { color: var(--text-blue); border-color: var(--gold-border); }
.badge-part    { color: #8AB4D4; border-color: rgba(138,180,212,0.3); }

/* ════════════════════════════════════════════════
   NAVIGATION
════════════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h); display: flex; align-items: center;
  transition: background 0.5s ease, border-color 0.5s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled, .nav.solid {
  background: rgba(7,7,10,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.nav__logo {
  display: flex;
  align-items: center;
  transition: opacity 0.3s;
}
.nav__logo:hover { opacity: 0.9; }

.nav__logo-img {
  height: 4rem;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
  transition: opacity 0.3s;
}
.nav__logo:hover .nav__logo-img { opacity: 1; }
.nav__links { display: flex; align-items: center; gap: 2.25rem; }
.nav__link { font-family: var(--font-sans); font-size: 0.6875rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text); transition: color 0.25s; position: relative; padding-bottom: 2px; text-shadow: 0 1px 6px rgba(0,0,0,0.7); }
.nav__link::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 1px; background: var(--gold); transition: width 0.3s ease; }
.nav__link:hover, .nav__link.active { color: var(--text); }
.nav__link:hover::after, .nav__link.active::after { width: 100%; }
.nav__right { display: flex; align-items: center; gap: 1rem; }
.nav__cta { font-size: 0.62rem; }
.nav__burger { display: none; flex-direction: column; gap: 5px; width: 36px; height: 36px; align-items: center; justify-content: center; }
.nav__burger span { display: block; width: 20px; height: 1px; background: var(--text); transition: all 0.3s; }

/* Mobile Overlay */
.mobile-nav {
  position: fixed; inset: 0; z-index: 200;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(196,163,90,0.04) 0%, transparent 65%), linear-gradient(to bottom, var(--bg-surface), var(--bg));
  display: flex; flex-direction: column;
  transform: translateY(-100%); transition: transform 0.5s var(--ease);
  visibility: hidden;
}
.mobile-nav.open {
  visibility: visible;
  transform: translateY(0);
}
.mobile-nav__head { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem var(--pad-x); border-bottom: 1px solid rgba(169, 166, 166, 0.4); }
.mobile-nav__close { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; color: var(--text-2); font-size: 1.1rem; transition: color 0.2s; }
.mobile-nav__close:hover { color: var(--text); }
.mobile-nav__links { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 0 var(--pad-x); }
.mobile-nav__links a { display: block; font-family: var(--font-display); font-size: clamp(1.75rem, 7vw, 2.5rem); color: var(--text); padding: 0.625rem 0; border-bottom: 1px solid rgba(169, 166, 166, 0.4); transition: color 0.2s; }
.mobile-nav__links a:hover { color: var(--gold); }
.mobile-nav__foot { padding: 2rem var(--pad-x); border-top: 1px solid rgba(169, 166, 166, 0.4); }
.mobile-nav__foot p { font-family: var(--font-sans); font-size: 0.6875rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-3); margin-top: 0.5rem; }

/* ════════════════════════════════════════════════
   HERO — V3 REFINED: Animated Slideshow
════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 88vh;
  max-height: 950px;
  display: flex; flex-direction: column; overflow: hidden;
}

/* Animated Slideshow Background with Crossfade */
.hero__bg {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}

/* Slideshow slides - 4 layers for crossfade */
.hero__slide {
  position: absolute;
  inset: -5%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 2s ease-in-out, transform 8s ease-out;
  will-change: opacity, transform;
}

.hero__slide-1 {
  background-image: url('../images/Custom House.jpg');
  background-position: 50% 42%;
  animation: slideshow1 32s ease-in-out infinite;
}

.hero__slide-2 {
  background-image: url('../images/Elvetham.jpg');
  background-position: 50% 48%;
  animation: slideshow2 32s ease-in-out infinite;
}

.hero__slide-3 {
  background-image: url('../images/Bankside5.jpg');
  background-position: 50% 45%;
  animation: slideshow3 32s ease-in-out infinite;
}

.hero__slide-4 {
  background-image: url("../images/King's Wardrobe.jpg");
  background-position: 50% 38%;
  animation: slideshow4 32s ease-in-out infinite;
}

@keyframes slideshow1 {
  0% { opacity: 1; transform: scale(1.08); }
  20% { opacity: 1; transform: scale(1.15); }
  23% { opacity: 0; transform: scale(1.15); }
  25%, 100% { opacity: 0; transform: scale(1.08); }
}

@keyframes slideshow2 {
  0%, 23% { opacity: 0; transform: scale(1.08); }
  25% { opacity: 0; transform: scale(1.08); }
  28% { opacity: 1; transform: scale(1.08); }
  45% { opacity: 1; transform: scale(1.16); }
  48% { opacity: 0; transform: scale(1.16); }
  50%, 100% { opacity: 0; transform: scale(1.08); }
}

@keyframes slideshow3 {
  0%, 48% { opacity: 0; transform: scale(1.08); }
  50% { opacity: 0; transform: scale(1.08); }
  53% { opacity: 1; transform: scale(1.08); }
  70% { opacity: 1; transform: scale(1.14); }
  73% { opacity: 0; transform: scale(1.14); }
  75%, 100% { opacity: 0; transform: scale(1.08); }
}

@keyframes slideshow4 {
  0%, 73% { opacity: 0; transform: scale(1.08); }
  75% { opacity: 0; transform: scale(1.08); }
  78% { opacity: 1; transform: scale(1.08); }
  95% { opacity: 1; transform: scale(1.17); }
  98% { opacity: 0; transform: scale(1.17); }
  100% { opacity: 0; transform: scale(1.08); }
}

/* Rich overlay for text legibility (WCAG compliant) */
.hero__bg::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse 60% 50% at 20% 70%, rgba(201,161,103,0.1) 0%, transparent 60%),
    linear-gradient(180deg, rgba(15,14,13,0.35) 0%, rgba(15,14,13,0.55) 40%, rgba(15,14,13,0.88) 80%, rgba(15,14,13,0.98) 100%);
}

.hero__accent {
  position: absolute; left: var(--pad-x); top: 0; bottom: 0; width: 1px; pointer-events: none; z-index: 2;
  background: linear-gradient(180deg, transparent 0%, rgba(201,161,103,0.15) 25%, rgba(201,161,103,0.15) 75%, transparent 100%);
}
.hero__body {
  position: relative;
  z-index: 3;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--nav-h) + 2.5rem);
  padding-bottom: 3.5rem;
}

/* Simplified hero hierarchy - "One thing per screen" */
.hero__overline {
  display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem;
  opacity: 0.7;
}

.hero__heading {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7.5vw, 6.5rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 1.75rem;
  text-shadow: 0 2px 60px rgba(0,0,0,0.7);
  max-width: 95%;
}

.hero__line { display: block; }

.hero__sub {
  font-size: 1rem; color: rgba(240,236,230,0.85);
  line-height: 1.75; max-width: 480px; margin-bottom: 1.75rem;
  text-shadow: 0 1px 12px rgba(0,0,0,0.7);
}

.hero__cta { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }

/* Stats bar - hidden on all devices */
.hero__bar {
  display: none;
}

/* ════════════════════════════════════════════════
   INNER PAGE HEADER
════════════════════════════════════════════════ */
.page-hero {
  position: relative;
  padding-top: calc(var(--nav-h) + 5rem);
  padding-bottom: 5rem; overflow: hidden;
  background-image: url('../images/Custom House.jpg');
  background-size: cover;
  background-position: center 28%;
  background-repeat: no-repeat;
}
.page-hero .container {
  position: relative;
  z-index: 2;
}
/* Subtle dark wash over the hero photo — keeps the image to a faint
   architectural texture (~20% at top, fading out) so headings stay crisp. */
.page-hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 15% 55%, rgba(196,163,90,0.04) 0%, transparent 55%),
    linear-gradient(rgba(15,14,13,0.80) 0%, rgba(15,14,13,0.90) 55%, rgba(15,14,13,0.96) 100%);
  pointer-events: none;
}
.page-hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.4;
}
.page-hero__accent {
  position: absolute; left: var(--pad-x); top: 0; bottom: 0; width: 1px;
  background: linear-gradient(180deg, transparent 0%, rgba(196,163,90,0.12) 30%, rgba(196,163,90,0.12) 70%, transparent 100%);
  pointer-events: none;
}
.page-hero__texture {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 25% 35%, rgba(196,163,90,0.03) 0%, transparent 50%),
    radial-gradient(circle at 75% 65%, rgba(196,163,90,0.02) 0%, transparent 45%);
  pointer-events: none;
  z-index: 0;
}

/* ════════════════════════════════════════════════
   STATS STRIP
════════════════════════════════════════════════ */
.stats-strip {
  border-top: 1px solid var(--gold-border);
  border-bottom: 1px solid var(--gold-border);
  background: linear-gradient(to bottom, rgba(201,161,103,0.02), rgba(201,161,103,0.04), rgba(201,161,103,0.02));
  position: relative;
}
.stats-strip::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); }

.stats-cell {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 3rem 1.5rem; 
  /*border-right: 1px solid var(--border);*/
}
.stats-cell:last-child { border-right: none; }
.stats-val { font-family: var(--font-display); font-size: clamp(2.5rem, 3.8vw, 3.75rem); font-weight: 400; letter-spacing: -0.03em; line-height: 1; color: var(--gold); }
.stats-lbl { font-family: var(--font-sans); font-size: 0.75rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--text-2); margin-top: 0.875rem; font-weight: 500; }

/* ════════════════════════════════════════════════
   PROPERTY CARDS
════════════════════════════════════════════════ */
/* Tiered layout: flagship properties get prominence */
.property-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.property-grid-secondary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* Center 4th item if it's the last (4 items in 3-col grid) */
.property-grid-secondary > *:nth-child(4):last-child {
  grid-column: 2 / 3;
}

.prop-card {
  display: block; border: 1px solid var(--border); overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.3s;
  transform-style: preserve-3d;
  perspective: 1000px;
}
.prop-card:hover {
  transform: translateY(-8px) rotateX(2deg);
  box-shadow: 0 28px 70px rgba(0,0,0,0.6), 0 0 0 1px var(--gold-border);
  border-color: var(--gold-border);
}

/* Flagship properties - larger, more prominent */
.prop-card--flagship {
  border: 1px solid rgba(201,161,103,0.3);
  background: linear-gradient(to bottom, var(--bg-card), var(--bg));
  position: relative;
}
.prop-card--flagship::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--gold-border);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.prop-card--flagship:hover::before {
  opacity: 1;
}
.prop-card--flagship .prop-img {
  aspect-ratio: 16/9;
}
.prop-card--flagship .prop-body {
  padding: 2.25rem;
}
.prop-card--flagship .prop-name {
  font-size: 1.875rem;
  margin-bottom: 0.5rem;
  letter-spacing: -0.015em;
}

/* Image area */
.prop-img {
  position: relative;
  aspect-ratio: 16/10; overflow: hidden;
}
.prop-img-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
  transition: transform 0.8s cubic-bezier(0.25,0.46,0.45,0.94);
}
.prop-card:hover .prop-img-photo { transform: scale(1.07); }
.prop-img-inner {
  position: absolute; inset: 0; z-index: 1;
  background-image: linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* Bloodstock - more subtle, secondary interest */
.g-bloodstock {
  background-color: #0a100a;
  background-image:
    linear-gradient(180deg, rgba(7,7,10,0.55) 0%, rgba(7,7,10,0.85) 100%),
    url('../images/laili-bg.jpg');
  background-size: auto, cover; background-position: center, center;
  opacity: 0.9;
}
.prop-card.bloodstock-card {
  border-color: rgba(212,175,55,0.15);
}
.prop-card.bloodstock-card .prop-name {
  font-size: 1.25rem;
  color: var(--text-2);
}

/* Per-property images — sourced directly from jastarcapital.com */
/* Updated gradients for WCAG contrast compliance */
.g-custom-house {
  background-color: #1a1820;
  background-image:
    linear-gradient(180deg, rgba(7,7,10,0.25) 0%, rgba(7,7,10,0.70) 100%),
    url('../images/Custom House.jpg');
  background-size: auto, cover; background-position: center, center;
}
.g-bankside {
  background-color: #191a1e;
  background-image:
    linear-gradient(180deg, rgba(7,7,10,0.25) 0%, rgba(7,7,10,0.70) 100%),
    url('../images/Bankside5.jpg');
  background-size: auto, cover; background-position: center, center;
}
.g-wardrobe {
  background-color: #1a1812;
  background-image:
    linear-gradient(180deg, rgba(7,7,10,0.25) 0%, rgba(7,7,10,0.70) 100%),
    url("../images/King's Wardrobe.jpg");
  background-size: auto, cover; background-position: center, center;
}
.g-winchester {
  background-color: #18140e;
  background-image:
    linear-gradient(180deg, rgba(7,7,10,0.25) 0%, rgba(7,7,10,0.70) 100%),
    url('../images/Winchester.jpg');
  background-size: auto, cover; background-position: center, center;
}
.g-elvetham {
  background-color: #101610;
  background-image:
    linear-gradient(180deg, rgba(7,7,10,0.25) 0%, rgba(7,7,10,0.70) 100%),
    url('../images/Elvetham.jpg');
  background-size: auto, cover; background-position: center, center;
}
.g-st-martins {
  background-color: #180e0a;
  background-image:
    linear-gradient(180deg, rgba(7,7,10,0.25) 0%, rgba(7,7,10,0.70) 100%),
    url('../images/St Martins.jpg');
  background-size: auto, cover; background-position: center, center;
}

.prop-body { padding: 1.5rem; background: var(--bg-card); }
.prop-meta { display: flex; align-items: center; gap: 0.625rem; margin-bottom: 0.75rem; flex-wrap: wrap; }
.prop-name { font-family: var(--font-display); font-size: 1.5rem; color: var(--text); line-height: 1.15; margin-bottom: 0.2rem; transition: color 0.25s; }
.prop-card:hover .prop-name { color: var(--gold-light); }
.prop-loc  { font-family: var(--font-sans); font-size: 0.6875rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-3); margin-bottom: 0.875rem; }
.prop-stats { display: flex; gap: 1.25rem; padding-top: 0.875rem; border-top: 1px solid var(--border); flex-wrap: wrap; }
.prop-stat-val { font-family: var(--font-display); font-size: 1.1rem; color: var(--text); display: block; }
.prop-stat-lbl { font-family: var(--font-sans); font-size: 0.58rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-3); }

/* ════════════════════════════════════════════════
   MARQUEE
════════════════════════════════════════════════ */
.marquee { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-surface); overflow: hidden; padding: 1rem 0; }
.marquee-inner { display: flex; align-items: center; white-space: nowrap; animation: marquee 44s linear infinite; }
.marquee-inner:hover { animation-play-state: paused; }
.marquee-dot { display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: var(--gold); opacity: 0.35; vertical-align: middle; flex-shrink: 0; }
.marquee-txt { font-family: var(--font-sans); font-size: 0.6875rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-3); padding: 0 1.5rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ════════════════════════════════════════════════
   NEWS
════════════════════════════════════════════════ */
.news-list { border-top: 1px solid var(--border); }
.news-item { display: flex; align-items: flex-start; gap: 2rem; padding: 1.875rem 0; border-bottom: 1px solid var(--border); transition: border-color 0.2s; }
.news-item:hover { border-color: var(--gold-border); }
.news-meta { display: flex; flex-direction: column; gap: 0.5rem; min-width: 130px; flex-shrink: 0; padding-top: 0.15rem; }
.news-title { font-family: var(--font-display); font-size: 1.375rem; color: var(--text); line-height: 1.35; flex: 1; transition: color 0.2s; }
.news-item:hover .news-title { color: var(--gold); }
.news-src { font-family: var(--font-sans); font-size: 0.6875rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-3); margin-left: auto; flex-shrink: 0; transition: color 0.2s; padding-top: 0.15rem; }
.news-item:hover .news-src { color: var(--gold); }

/* Full news page items */
.news-full { display: grid; grid-template-columns: 130px 1fr 1.5rem; gap: 2.5rem; align-items: start; padding: 2.5rem 0; border-bottom: 1px solid var(--border); transition: border-color 0.2s; }
.news-full:hover { border-color: var(--gold-border); }
.news-full-meta { display: flex; flex-direction: column; gap: 0.5rem; }
.news-full-title { font-family: var(--font-display); font-size: clamp(1.25rem,2.5vw,1.75rem); color: var(--text); line-height: 1.3; margin-bottom: 0.75rem; transition: color 0.2s; }
.news-full:hover .news-full-title { color: var(--gold); }
.news-full-excerpt { font-size: 0.875rem; color: var(--text-3); line-height: 1.75; }
.news-full-source { font-family: var(--font-sans); font-size: 0.6875rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-3); margin-top: 0.875rem; display: block; }
.news-arrow { color: var(--text-3); transition: color 0.2s; padding-top: 0.25rem; font-size: 1rem; }
.news-full:hover .news-arrow { color: var(--gold); }

/* ════════════════════════════════════════════════
   CTA BAND
════════════════════════════════════════════════ */
.cta-band {
  text-align: center;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(196,163,90,0.04) 0%, transparent 70%), var(--bg);
}
.cta-band .section-label { justify-content: center; }

/* ════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════ */
.footer { background: var(--bg); border-top: 1px solid var(--border); }
.footer-cta { display: flex; align-items: flex-end; justify-content: space-between; gap: 3rem; padding: 4rem 0; border-bottom: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.25fr; gap: 3rem; padding: 4rem 0; }
.footer-tagline { font-size: 0.8125rem; color: var(--text-3); line-height: 1.6; max-width: 220px; margin-top: 1.5rem; }
.footer-contact { margin-top: 2rem; }
.footer-contact p { font-family: var(--font-sans); font-size: 0.6875rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-3); margin-top: 0.375rem; }
.footer-col-lbl { font-family: var(--font-sans); font-size: 0.6875rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin-bottom: 1.5rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col ul a { font-size: 0.8125rem; color: var(--text-3); transition: color 0.2s; }
.footer-col ul a:hover { color: var(--text); }
.footer-col-body { font-size: 0.8125rem; color: var(--text-3); line-height: 1.65; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem 0; }
.footer-bottom p { font-family: var(--font-sans); font-size: 0.6875rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-3); }

/* ════════════════════════════════════════════════
   INTERIOR PAGE COMPONENTS
════════════════════════════════════════════════ */

/* Two-col layout */
.two-col { display: grid; grid-template-columns: 5fr 7fr; gap: 4rem; align-items: start; }
.two-col-even { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }

/* Pillars */
.pillars { display: flex; flex-direction: column; gap: 3.5rem; padding-left: 0; border-left: none; }
.pillar { display: flex; flex-direction: column; gap: 0.75rem; padding-bottom: 3.5rem; border-bottom: 1px solid rgba(201,161,103,0.18); }
.pillar:last-child { border-bottom: none; padding-bottom: 0; }
.pillar-num { display: none; }
.pillar-title { font-family: var(--font-display); font-size: 1.375rem; font-weight: 400; color: var(--text); margin-bottom: 0.5rem; letter-spacing: -0.01em; }
.pillar-body { font-size: 0.9375rem; color: var(--text-3); line-height: 1.8; max-width: 42rem; }

/* Sector cards */
.sector-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); }
.sector-card { background: var(--bg); padding: 2.5rem; border: 1px solid transparent; transition: border-color 0.3s; }
.sector-card:hover { border-color: var(--gold-border); }
.sector-sub { font-family: var(--font-sans); font-size: 0.6875rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.625rem; }
.sector-title { font-family: var(--font-display); font-size: 1.875rem; color: var(--text); margin-bottom: 1rem; }
.sector-body { font-size: 0.875rem; color: var(--text-3); line-height: 1.75; }

/* Team grid */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); }
.team-card { background: var(--bg); padding: 0; overflow: hidden; transition: background 0.3s; }
.team-card:hover { background: var(--bg-surface); }
.team-photo { width: 100%; aspect-ratio: 3/4; max-height: 420px; overflow: hidden; background: linear-gradient(135deg, #1a1a20, #13131a); position: relative; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; transition: transform 0.8s cubic-bezier(0.25,0.46,0.45,0.94), filter 0.6s ease; filter: grayscale(25%); }
.team-card:hover .team-photo img { transform: scale(1.05); filter: grayscale(0%); }
.team-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(7,7,10,0.5) 100%); pointer-events: none; }
.team-card-body { padding: 1.75rem 2rem 2rem; }
.team-name { font-family: var(--font-display); font-size: 1.25rem; color: var(--text); margin-bottom: 0.25rem; transition: color 0.25s; line-height: 1.25; }
.team-card:hover .team-name { color: var(--gold); }
.team-role { font-family: var(--font-sans); font-size: 0.6875rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-3); }
.team-bio { font-size: 0.8125rem; color: var(--text-3); line-height: 1.65; margin-top: 0.75rem; }

/* Partners grid */
.partner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); }
.partner-card { background: var(--bg-surface); padding: 2rem 2.5rem; transition: background 0.3s; }
.partner-card:hover { background: var(--bg-card); }

/* Partner logo — real logo image with initials fallback */
.partner-logo-wrap { height: 2.75rem; display: flex; align-items: center; margin-bottom: 1.25rem; }
.partner-logo { height: 100%; width: auto; max-width: 150px; object-fit: contain;
  filter: brightness(0) invert(1); opacity: 0.5; transition: opacity 0.35s ease; display: block; }
.partner-card:hover .partner-logo { opacity: 0.9; }

/* Initials fallback (shown via onerror when logo fails) */
.partner-mono { width: 2.75rem; height: 2.75rem; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; transition: border-color 0.3s; }
.partner-card:hover .partner-mono { border-color: var(--gold-border); }
.partner-mono span { font-family: var(--font-display); font-size: 0.9rem; color: rgba(196,163,90,0.5); }

.partner-name { font-family: var(--font-display); font-size: 1.25rem; color: var(--text); transition: color 0.25s; }
.partner-card:hover .partner-name { color: var(--gold); }
.partner-cat { font-family: var(--font-sans); font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-3); margin-top: 0.2rem; }

/* Key partner feature cards */
.kp-card { border: 1px solid var(--border); padding: 2.5rem 3rem; transition: border-color 0.3s; }
.kp-card:hover { border-color: var(--gold-border); }
.kp-logo { height: 2.25rem; width: auto; max-width: 160px; object-fit: contain;
  filter: brightness(0) invert(1); opacity: 0.55; display: block; margin-bottom: 1.75rem;
  transition: opacity 0.3s; }
.kp-card:hover .kp-logo { opacity: 0.85; }
.kp-label { font-family: var(--font-sans); font-size: 0.6875rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.kp-name { font-family: var(--font-display); font-size: 2.25rem; color: var(--text); margin-bottom: 1rem; }
.kp-body { font-size: 0.875rem; color: var(--text-3); line-height: 1.75; margin-bottom: 1rem; }
.kp-quote { font-family: var(--font-display); font-size: 0.9rem; font-style: italic; color: var(--text-2); line-height: 1.6; }
.kp-attr { font-family: var(--font-sans); font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-3); margin-top: 0.5rem; }

/* Contact form */
.contact-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 5rem; align-items: start; }
.contact-detail { display: flex; align-items: flex-start; gap: 0.875rem; margin-bottom: 1.75rem; }
.contact-detail-icon { font-size: 0.875rem; color: var(--gold); margin-top: 0.15rem; flex-shrink: 0; }
.contact-detail-lbl { font-family: var(--font-sans); font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-3); margin-bottom: 0.35rem; }
.contact-detail-val { font-size: 0.875rem; color: var(--text); line-height: 1.5; }
.contact-detail-val a:hover { color: var(--gold); }
.audience-list { border-top: 1px solid var(--border); padding-top: 1.5rem; margin-top: 2rem; }
.audience-item { display: flex; align-items: center; gap: 0.75rem; padding: 0.5rem 0; border-bottom: 1px solid rgba(255,255,255,0.03); }
.audience-dot { width: 3px; height: 3px; border-radius: 50%; background: rgba(196,163,90,0.45); flex-shrink: 0; }
.audience-txt { font-size: 0.8125rem; color: var(--text-3); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-label { display: block; font-family: var(--font-sans); font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-3); margin-bottom: 0.5rem; }
.form-label .req { color: var(--gold); }
.form-input, .form-select, .form-textarea { width: 100%; background: transparent; border: 1px solid rgba(255,255,255,0.08); color: var(--text); font-family: var(--font-sans); font-size: 0.875rem; padding: 0.875rem 1rem; transition: border-color 0.2s; outline: none; -webkit-appearance: none; appearance: none; }
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-3); }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--gold-border); }
.form-select { cursor: pointer; background: var(--bg-surface); }
.form-textarea { resize: vertical; min-height: 140px; }
.form-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 1.5rem; flex-wrap: wrap; gap: 1rem; }
.form-note { font-size: 0.75rem; color: var(--text-3); }
.form-success { border: 1px solid var(--gold-border); padding: 3rem; text-align: center; display: none; }
.form-success.show { display: block; }
.form-success h3 { font-family: var(--font-display); font-size: 2rem; color: var(--text); margin-bottom: 0.625rem; }
.form-success p { font-size: 0.875rem; color: var(--text-3); }

/* Property detail */
.prop-detail-hero {
  position: relative;
  min-height: 70vh;
  padding-top: calc(var(--nav-h) + 5rem); padding-bottom: 5rem;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.prop-detail-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,7,10,0.25) 0%, rgba(7,7,10,0.55) 40%, rgba(7,7,10,0.88) 75%, #07070A 100%);
  z-index: 0; pointer-events: none;
}
.prop-detail-hero > .container { position: relative; z-index: 1; width: 100%; margin-top: auto; }
.prop-detail-stats { display: flex; gap: 3rem; padding: 2rem 0; border-top: 1px solid var(--border); flex-wrap: wrap; }
.prop-detail-stat-val { font-family: var(--font-display); font-size: 1.875rem; color: var(--gold); line-height: 1; }
.prop-detail-stat-lbl { font-family: var(--font-sans); font-size: 0.6875rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-2); margin-top: 0.35rem; }
.back-link { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-sans); font-size: 0.6875rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-3); margin-bottom: 2.5rem; transition: color 0.2s; }
.back-link:hover { color: var(--gold); }

.info-card { border: 1px solid var(--border); padding: 1.5rem; margin-bottom: 1rem; }
.info-card-lbl { font-family: var(--font-sans); font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem; }
.info-card-val { font-family: var(--font-display); font-size: 1.5rem; color: var(--text); }
.info-card-txt { font-size: 0.875rem; color: var(--text-3); line-height: 1.6; }

/* ════════════════════════════════════════════════
   SCROLL REVEAL
════════════════════════════════════════════════ */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

/* Hero items fire on load */
.hero .reveal { animation: fadeUp 1s var(--ease) forwards; opacity: 0; }
.hero .reveal-d1 { animation-delay: 0.25s; }
.hero .reveal-d2 { animation-delay: 0.45s; }
.hero .reveal-d3 { animation-delay: 0.65s; }
.hero .reveal-d4 { animation-delay: 0.85s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: translateY(0); } }

/* Hero heading — per-line stagger slide-up */
.hero__line {
  display: block;
  opacity: 0;
  transform: translateY(48px);
  animation: heroLineIn 1s var(--ease) forwards;
}
.hero__line:nth-child(1) { animation-delay: 0.05s; }
.hero__line:nth-child(2) { animation-delay: 0.22s; }
.hero__line:nth-child(3) { animation-delay: 0.38s; }
.hero__line:nth-child(4) { animation-delay: 0.54s; }
@keyframes heroLineIn { to { opacity: 1; transform: translateY(0); } }

/* Scroll progress bar */
#scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 300;
  height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  pointer-events: none;
  transition: width 0.08s linear;
}

/* Page fade-in on load */
body { animation: pageFadeIn 0.5s ease forwards; }
@keyframes pageFadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Page fade-out on exit */
body.page-exit { animation: pageFadeOut 0.28s ease forwards !important; }
@keyframes pageFadeOut { to { opacity: 0; transform: translateY(-6px); } }

.InvstPhis {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:1px;
    background:var(--border);
  }

/* ════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════ */
@media (max-width: 1200px) {
  /*.property-grid { grid-template-columns: 1fr; }*/
  .property-grid-secondary { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav__logo-img { height: 3.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-cta { flex-direction: column; align-items: flex-start; }
  .two-col { grid-template-columns: 1fr; gap: 3rem; }
  .two-col-even { grid-template-columns: 1fr; gap: 3rem; }
  .pillars { padding-left: 0; border-left: none; }
  .property-grid-secondary { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero { min-height: 85vh; max-height: 850px; }
  .hero__heading { font-size: clamp(2.5rem, 7vw, 5.5rem); line-height: 1.1; }
  .hero__body { padding-top: calc(var(--nav-h) + 2rem); padding-bottom: 6.5rem; }

  .InvstPhis {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-h: 4rem;
    --space-md: clamp(3rem, 8vw, 6rem);
  }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stats-cell { padding: 2rem 1rem; }
  .stats-cell:nth-child(2n) { border-right: none; }
  .stats-cell:nth-child(n+3) { border-top: 1px solid var(--border); }
  .property-grid { grid-template-columns: 1fr; }
  .property-grid-secondary { grid-template-columns: 1fr; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .news-item { flex-direction: column; gap: 0.625rem; }
  .news-meta { flex-direction: row; align-items: center; min-width: auto; }
  .news-src { margin-left: 0; }
  .news-full { grid-template-columns: 1fr; gap: 0.625rem; }
  .news-arrow { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .hero__stat { padding-right: 2rem; }
  .hero__scroll { display: none; }
  .sector-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .partner-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-foot { flex-direction: column; align-items: flex-start; }
  .hero { min-height: 70vh; max-height: 680px; }
  .hero__heading { font-size: clamp(1.875rem, 8.5vw, 3.25rem); line-height: 1.2; margin-bottom: 1.25rem; }
  .hero__body { padding-top: calc(var(--nav-h) + 1.5rem); padding-bottom: 5rem; }
  .hero__overline { margin-bottom: 1.25rem; }
  .hero__sub { font-size: 0.9375rem; line-height: 1.65; margin-bottom: 1.5rem; }
  .t-h1 { font-size: clamp(2rem, 7vw, 3.5rem); line-height: 1.2; }
  .t-h2 { font-size: clamp(1.5rem, 5vw, 2.25rem); line-height: 1.3; }
  .t-h3 { font-size: clamp(1.25rem, 4vw, 1.75rem); line-height: 1.35; }
  .page-hero { padding-top: calc(var(--nav-h) + 3.5rem); padding-bottom: 3.5rem; }

  .InvstPhis {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 480px) {
  :root {
    --nav-h: 3.75rem;
    --space-md: clamp(2.5rem, 6vw, 4rem);
    --space-sm: clamp(2rem, 4vw, 3rem);
  }
  .nav__logo-img { height: 2.9rem; }
  .team-grid { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: 1fr; }
  .hero { min-height: 65vh; max-height: 600px; }
  .hero__bar { display: none; }
  .hero__bar-inner { flex-direction: column; align-items: flex-start; gap: 0.75rem; padding: 1rem 0; }
  .hero__stat { padding-right: 0; }
  .hero__heading { font-size: clamp(1.75rem, 10vw, 2.75rem); line-height: 1.25; margin-bottom: 1rem; }
  .hero__sub { font-size: 0.875rem; line-height: 1.6; margin-bottom: 1.25rem; max-width: 100%; }
  .hero__overline { margin-bottom: 1rem; font-size: 0.6875rem; }
  .hero__body { padding-top: calc(var(--nav-h) + 1.25rem); padding-bottom: 2rem; }
  .hero__cta { gap: 0.875rem; }
  .btn { padding: 0.75rem 1.25rem; font-size: 0.6875rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .stats-cell { border-right: none; border-bottom: 1px solid var(--border); padding: 1.75rem 1rem; }
  .stats-cell:last-child { border-bottom: none; }
  .stats-val { font-size: clamp(2rem, 8vw, 2.75rem); }
  .stats-lbl { font-size: 0.6875rem; }
  .t-h1 { font-size: clamp(1.75rem, 8.5vw, 2.75rem); line-height: 1.25; }
  .t-h2 { font-size: clamp(1.375rem, 6vw, 1.875rem); line-height: 1.3; }
  .t-h3 { font-size: clamp(1.125rem, 5vw, 1.5rem); line-height: 1.35; }
  .t-hero-quote { font-size: clamp(1.25rem, 5.5vw, 1.75rem); line-height: 1.5; }
  .page-hero { padding-top: calc(var(--nav-h) + 3rem); padding-bottom: 3rem; }
  .prop-card { margin-bottom: 1.5rem; }
  .prop-name { font-size: 1.25rem; }
  .prop-loc { font-size: 0.8125rem; }
  .prop-stat-val { font-size: 1rem; }
  .prop-stat-lbl { font-size: 0.625rem; }
  .section-pad { padding: clamp(2.5rem, 6vw, 4rem) 0; }
  .footer-cta h3 { font-size: 1.375rem; }
  .footer-tagline { font-size: 0.875rem; }
  .pillar-title { font-size: 1rem; }
  .pillar-body { font-size: 0.8125rem; }
  .label-gold { font-size: 0.625rem; }
  .gold-line { width: 20px; }

  .InvstPhis {
    grid-template-columns: 1fr;
  }

  .container {
  width: 100%; max-width: 100%;
  margin: 0 auto; padding: 0 5%;
}

}

/* ════════════════════════════════════════════════
   SCROLL ANIMATIONS & PARALLAX
   Developer Audit Implementation 2026
════════════════════════════════════════════════ */

/* Reveal on Scroll Animation */
.reveal-fade {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-fade.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Parallax effect for property cards */
.prop-card.parallax-card {
  transform-style: preserve-3d;
}

.prop-card.parallax-card .prop-img {
  will-change: transform;
  transition: transform 0.3s ease-out;
}

/* Enhanced hover states with accessibility */
@media (prefers-reduced-motion: reduce) {
  .reveal-fade,
  .prop-card.parallax-card .prop-img,
  .marquee-inner,
  .btn-gold::before {
    animation: none !important;
    transition: none !important;
  }

  .marquee-inner {
    animation: marquee 44s linear infinite;
  }
}

/* Image optimization attributes */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.3s ease-in;
}

img[loading="lazy"].loaded {
  opacity: 1;
}

/* WCAG Focus States */
.btn:focus-visible,
.nav__link:focus-visible,
a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}


