/* ═══════════════════════════════════════════════════════════════
   PALM LIFE COMMERCIAL — Water's Edge Townhomes
   Developer Case Study · Institutional Tone
   #FAF9F7 warm white · Gold #C6A87D · Clean editorial
   ═══════════════════════════════════════════════════════════════ */


/* ─── Design Tokens ─── */
:root {
  --we-gold:        #C6A87D;
  --we-gold-lt:     #D9BF9A;
  --we-gold-dk:     #A08548;
  --we-gold-tint:   rgba(198, 168, 125, 0.12);
  --we-gold-pale:   #F8F2E8;
  --we-gold-border: rgba(198, 168, 125, 0.28);

  --we-ink:         #1A1A1A;
  --we-ink-70:      #363430;
  --we-ink-50:      #565450;
  --we-ink-30:      #8C8A86;
  --we-ink-10:      #C8C6C2;

  --we-bg:          #FAF9F7;
  --we-bg-off:      #F4F2EE;
  --we-bg-mid:      #ECEAE6;
  --we-border:      #E8E6E3;
  --we-border-md:   #D4D2CE;

  --we-dark:        #111009;
  --we-dark-card:   rgba(255,255,255,0.04);
  --we-dark-border: rgba(255,255,255,0.08);

  /* Waterfront accent — deep teal */
  --we-water:       #3C6E71;
  --we-water-lt:    #5A9194;
  --we-water-tint:  rgba(60,110,113,0.10);
  --we-water-pale:  #EEF4F4;

  --we-serif:       'Cormorant Garamond', Georgia, serif;
  --we-sans:        'Inter', system-ui, -apple-system, sans-serif;

  --we-ease:        cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --we-t:           0.28s;

  --we-r-xs:        2px;
  --we-r-sm:        5px;
  --we-r-md:        10px;
  --we-r-lg:        16px;

  --we-sh-xs:       0 1px 4px rgba(0,0,0,0.05);
  --we-sh-sm:       0 2px 12px rgba(0,0,0,0.07), 0 1px 3px rgba(0,0,0,0.04);
  --we-sh-md:       0 6px 28px rgba(0,0,0,0.10), 0 2px 6px rgba(0,0,0,0.05);
  --we-sh-lg:       0 16px 52px rgba(0,0,0,0.12), 0 4px 14px rgba(0,0,0,0.06);
}


/* ─── Reset ─── */
*, *::before, *::after {
  box-sizing: border-box; margin: 0; padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  font-family: var(--we-sans);
  color: var(--we-ink);
  background: var(--we-bg);
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
strong { font-weight: 700; }


/* ─── Container ─── */
.we-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}
@media (max-width: 900px) { .we-container { padding: 0 32px; } }
@media (max-width: 640px) { .we-container { padding: 0 20px; } }


/* ─── Section base ─── */
.we-section { padding: 100px 0; }
@media (max-width: 768px) { .we-section { padding: 64px 0; } }


/* ─── Shared type ─── */
.we-eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--we-gold);
  margin-bottom: 16px;
}
.we-eyebrow--light { color: var(--we-gold-lt); }

.we-eyebrow-hero {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.52);
  margin-bottom: 20px;
}

.we-h2 {
  font-family: var(--we-serif);
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--we-ink);
  margin-bottom: 20px;
}
.we-h2 em { font-style: italic; font-weight: 300; color: var(--we-gold); }
.we-h2--light { color: #fff; }
.we-h2--light em { color: var(--we-gold-lt); }

.we-intro {
  font-size: 0.9375rem;
  color: var(--we-ink-30);
  line-height: 1.76;
  max-width: 560px;
}

.we-body {
  font-size: 0.9375rem;
  color: var(--we-ink-50);
  line-height: 1.78;
  margin-bottom: 16px;
}

.we-section-header {
  margin-bottom: 56px;
  max-width: 700px;
}

.we-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--we-gold-dk);
  letter-spacing: 0.03em;
  transition: gap var(--we-t);
  margin-top: 8px;
}
.we-link-arrow:hover { gap: 14px; }
.we-link-arrow i { font-size: 0.65rem; }


/* ─── Buttons ─── */
.we-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.055em;
  padding: 13px 28px;
  border-radius: var(--we-r-xs);
  border: 1.5px solid transparent;
  transition: all var(--we-t) var(--we-ease);
  white-space: nowrap;
  cursor: pointer;
}
.we-btn--gold {
  background: var(--we-gold);
  color: #fff;
  border-color: var(--we-gold);
}
.we-btn--gold:hover {
  background: var(--we-gold-lt);
  border-color: var(--we-gold-lt);
  transform: translateY(-1px);
  box-shadow: 0 5px 20px rgba(198,168,125,0.32);
}
.we-btn--ghost {
  background: transparent;
  color: rgba(255,255,255,0.82);
  border-color: rgba(255,255,255,0.36);
}
.we-btn--ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
  color: #fff;
}
.we-btn--outline {
  background: transparent;
  color: var(--we-ink);
  border-color: var(--we-border-md);
}
.we-btn--outline:hover {
  border-color: var(--we-gold);
  color: var(--we-gold);
}


/* ══════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════ */
.we-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  transition: background var(--we-t) var(--we-ease), box-shadow var(--we-t) var(--we-ease);
}
.we-nav.scrolled {
  background: rgba(250,249,247,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--we-border);
}
.we-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
@media (max-width: 768px) { .we-nav-inner { padding: 0 20px; } }

.we-brand { display: flex; flex-direction: column; gap: 1px; flex-shrink: 0; }
.we-brand-top {
  font-size: 12px; font-weight: 700; letter-spacing: 0.17em;
  line-height: 1; color: var(--we-ink); transition: color var(--we-t);
}
.we-brand-btm {
  font-size: 8px; font-weight: 700; letter-spacing: 0.25em;
  line-height: 1; color: var(--we-gold); text-transform: uppercase;
}
.we-nav:not(.scrolled) .we-brand-top { color: rgba(255,255,255,0.9); }
.we-nav:not(.scrolled) .we-brand-btm { color: var(--we-gold-lt); }

.we-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.775rem; color: var(--we-ink-30); flex: 1; justify-content: center;
}
.we-breadcrumb a { transition: color var(--we-t); }
.we-breadcrumb a:hover { color: var(--we-gold); }
.we-breadcrumb i { font-size: 0.55rem; color: var(--we-ink-10); }
.we-breadcrumb span { color: var(--we-ink-50); font-weight: 500; }
.we-nav:not(.scrolled) .we-breadcrumb,
.we-nav:not(.scrolled) .we-breadcrumb a,
.we-nav:not(.scrolled) .we-breadcrumb span { color: rgba(255,255,255,0.4); }
.we-nav:not(.scrolled) .we-breadcrumb i   { color: rgba(255,255,255,0.18); }

.we-nav-cta {
  font-size: 0.775rem; font-weight: 600; letter-spacing: 0.04em;
  color: var(--we-gold); padding: 8px 16px;
  border: 1px solid var(--we-gold-border);
  border-radius: var(--we-r-xs);
  transition: all var(--we-t) var(--we-ease);
  white-space: nowrap; flex-shrink: 0;
}
.we-nav-cta:hover { background: var(--we-gold); color: #fff; border-color: var(--we-gold); }
.we-nav:not(.scrolled) .we-nav-cta { border-color: rgba(255,255,255,0.3); color: rgba(255,255,255,0.78); }
.we-nav:not(.scrolled) .we-nav-cta:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.55); color: #fff; }

@media (max-width: 640px) { .we-breadcrumb { display: none; } .we-nav-cta { display: none; } }


/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.we-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #182428;
}

.we-hero-poster {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(145deg, #182428 0%, #1E3035 60%, #162026 100%);
}

.we-hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  z-index: 1; opacity: 0; transform: scale(1.02);
  transition: opacity 1.5s ease;
}
.we-video-ready { opacity: 1; }

.we-hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(
    150deg,
    rgba(10, 18, 22, 0.82) 0%,
    rgba(10, 18, 22, 0.50) 55%,
    rgba(10, 18, 22, 0.24) 100%
  );
}

.we-hero-body {
  position: relative; z-index: 3;
  width: 100%;
  padding: 120px 0 100px;
}

.we-hero-h1 {
  font-family: var(--we-serif);
  font-size: clamp(3.6rem, 8vw, 7rem);
  font-weight: 500; line-height: 1.0; color: #fff;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 30px rgba(0,0,0,0.38);
  margin-bottom: 14px;
}
.we-hero-h1 em { font-style: italic; font-weight: 300; color: var(--we-gold-lt); }

.we-hero-sub {
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 600; color: rgba(255,255,255,0.85);
  letter-spacing: 0.02em; line-height: 1.4;
  margin-bottom: 16px;
}

.we-hero-desc {
  font-family: var(--we-serif);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-style: italic; font-weight: 300;
  color: rgba(255,255,255,0.56); line-height: 1.74;
  max-width: 620px; margin-bottom: 36px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.22);
}

.we-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 44px; }

/* Hero KPI strip */
.we-hero-kpis {
  display: flex; align-items: stretch;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--we-r-md);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  width: fit-content; flex-wrap: wrap; overflow: hidden;
}
.we-kpi {
  display: flex; flex-direction: column; gap: 4px; padding: 18px 26px;
}
.we-kpi:first-child { padding-left: 22px; }
.we-kpi strong {
  font-family: var(--we-serif); font-size: 1.55rem; font-weight: 400;
  color: rgba(255,255,255,0.88); line-height: 1;
}
.we-kpi--gold strong { color: var(--we-gold-lt); }
.we-kpi span {
  font-size: 0.63rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.36);
}
.we-kpi-div {
  width: 1px; background: rgba(255,255,255,0.1);
  flex-shrink: 0; align-self: stretch;
}
@media (max-width: 720px) { .we-hero-kpis { width: 100%; } .we-kpi { flex: 1; min-width: 100px; } }

/* Scroll cue */
.we-scroll-cue {
  position: absolute; bottom: 32px; right: 48px; z-index: 4;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.we-scroll-line {
  display: block; width: 1px; height: 36px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.44), transparent);
  animation: wePulse 2.4s ease-in-out infinite;
}
.we-scroll-word {
  font-size: 0.57rem; letter-spacing: 0.15em;
  color: rgba(255,255,255,0.22); text-transform: uppercase; writing-mode: vertical-rl;
}
@keyframes wePulse { 0%,100% { opacity: 0.22; } 50% { opacity: 0.70; } }
@media (max-width: 640px) { .we-scroll-cue { display: none; } }


/* ══════════════════════════════════════════
   SECTION 1 — OUTCOME / KPI BLOCKS
══════════════════════════════════════════ */
.we-outcome { background: var(--we-bg); }

.we-kpi-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}
/* First card spans full width */
.we-kpi-block--hero { grid-column: 1 / -1; }

@media (max-width: 900px) { .we-kpi-strip { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .we-kpi-strip { grid-template-columns: 1fr; } .we-kpi-block--hero { grid-column: 1; } }

.we-kpi-block {
  background: var(--we-bg-off);
  border: 1px solid var(--we-border);
  border-radius: var(--we-r-lg);
  padding: 28px 26px 30px;
  display: flex; flex-direction: column; gap: 8px;
  transition: box-shadow var(--we-t), border-color var(--we-t), transform var(--we-t);
}
.we-kpi-block:hover {
  box-shadow: var(--we-sh-md);
  border-color: rgba(198,168,125,0.32);
  transform: translateY(-2px);
}

/* Hero KPI block — horizontal layout */
.we-kpi-block--hero {
  background: var(--we-gold-pale);
  border-color: var(--we-gold-border);
  flex-direction: row; align-items: center; gap: 28px; padding: 32px 36px;
}
.we-kpi-block--hero:hover { border-color: var(--we-gold); }
.we-kpi-block-body { flex: 1; display: flex; flex-direction: column; gap: 8px; }
@media (max-width: 600px) { .we-kpi-block--hero { flex-direction: column; padding: 24px; gap: 16px; } }

/* Gold variant */
.we-kpi-block--gold {
  background: var(--we-water-pale);
  border-color: rgba(60,110,113,0.25);
}
.we-kpi-block--gold .we-kpi-block-val,
.we-kpi-block--gold .we-kpi-icon i { color: var(--we-water); }
.we-kpi-block--gold:hover { border-color: var(--we-water-lt); }

.we-kpi-icon {
  width: 46px; height: 46px;
  border-radius: var(--we-r-sm);
  background: var(--we-gold-tint);
  border: 1px solid var(--we-gold-border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.we-kpi-icon i { font-size: 1rem; color: var(--we-gold); }
.we-kpi-block--hero .we-kpi-icon {
  width: 58px; height: 58px;
  background: rgba(198,168,125,0.18);
}
.we-kpi-block--hero .we-kpi-icon i { font-size: 1.4rem; }

.we-kpi-block-val {
  font-family: var(--we-serif);
  font-size: 2.6rem; font-weight: 400;
  color: var(--we-gold-dk); line-height: 1;
}
.we-kpi-block--hero .we-kpi-block-val { font-size: 3.6rem; }

.we-kpi-block-lbl {
  font-family: var(--we-serif);
  font-size: 1.1rem; font-weight: 500;
  color: var(--we-ink); line-height: 1.2;
}
.we-kpi-block--hero .we-kpi-block-lbl { font-size: 1.5rem; }

.we-kpi-block-sub {
  font-size: 0.82rem; color: var(--we-ink-30); line-height: 1.5;
}
.we-kpi-block--hero .we-kpi-block-sub { font-size: 0.875rem; color: var(--we-ink-50); }

/* Outcome narrative */
.we-outcome-narrative {
  max-width: 800px;
  padding: 40px 44px;
  background: var(--we-bg-off);
  border: 1px solid var(--we-border);
  border-radius: var(--we-r-lg);
}
.we-outcome-narrative-rule {
  width: 36px; height: 2px;
  background: var(--we-gold); border-radius: 1px;
  margin-bottom: 22px;
}
.we-outcome-narrative p {
  font-family: var(--we-serif);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 300; line-height: 1.72;
  color: var(--we-ink-70);
}
@media (max-width: 640px) { .we-outcome-narrative { padding: 28px 24px; } }


/* ══════════════════════════════════════════
   SECTION 2 — PROJECT OVERVIEW
══════════════════════════════════════════ */
.we-overview {
  background: var(--we-bg-off);
  border-top: 1px solid var(--we-border);
  border-bottom: 1px solid var(--we-border);
}

.we-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
}
@media (max-width: 900px) { .we-overview-grid { grid-template-columns: 1fr; gap: 48px; } }

.we-spec-card {
  background: var(--we-bg);
  border: 1px solid var(--we-border);
  border-radius: var(--we-r-lg);
  overflow: hidden;
  box-shadow: var(--we-sh-sm);
}
.we-spec-card-title {
  padding: 18px 24px;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--we-gold); background: var(--we-gold-pale);
  border-bottom: 1px solid var(--we-gold-border);
}
.we-spec-list { display: flex; flex-direction: column; }
.we-spec-list li {
  display: flex; align-items: baseline;
  justify-content: space-between; gap: 16px;
  padding: 14px 24px;
  border-bottom: 1px solid var(--we-border);
  transition: background var(--we-t);
}
.we-spec-list li:last-child { border-bottom: none; }
.we-spec-list li:hover { background: var(--we-bg-off); }
.we-spec-key {
  font-size: 0.775rem; font-weight: 600;
  color: var(--we-ink-30); flex-shrink: 0;
  letter-spacing: 0.02em;
}
.we-spec-val {
  font-size: 0.875rem; color: var(--we-ink); text-align: right;
  font-weight: 500;
}
.we-spec-val--completed {
  color: #2D7D4F; font-weight: 600; font-size: 0.8rem;
}


/* ══════════════════════════════════════════
   SECTION 3 — STRATEGY / DRIVERS
══════════════════════════════════════════ */
.we-strategy { background: var(--we-bg); }

.we-strategy-list {
  display: flex; flex-direction: column;
  max-width: 880px;
}

.we-driver {
  display: flex; gap: 28px; padding-bottom: 40px;
}
.we-driver-left {
  display: flex; flex-direction: column;
  align-items: center; flex-shrink: 0; width: 52px;
}
.we-driver-num {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--we-bg-off); border: 1.5px solid var(--we-border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--we-serif); font-size: 1.2rem; font-weight: 400;
  color: var(--we-ink-30); flex-shrink: 0;
  transition: border-color var(--we-t), background var(--we-t), color var(--we-t);
}
.we-driver:hover .we-driver-num {
  border-color: var(--we-gold-border); background: var(--we-gold-pale); color: var(--we-gold);
}
.we-driver-num--gold {
  background: var(--we-gold-pale) !important;
  border-color: var(--we-gold) !important;
  color: var(--we-gold) !important;
}
.we-driver-connector {
  flex: 1; width: 1px; background: var(--we-border);
  margin-top: 8px; min-height: 20px;
}
.we-driver-right { flex: 1; padding-top: 8px; }

.we-driver-tag {
  display: inline-block;
  font-size: 0.64rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--we-ink-30); background: var(--we-bg-mid);
  border: 1px solid var(--we-border); padding: 3px 9px;
  border-radius: 2px; margin-bottom: 10px;
}
.we-driver-tag--gold { color: var(--we-gold-dk); background: var(--we-gold-pale); border-color: var(--we-gold-border); }

.we-driver-title {
  font-family: var(--we-serif); font-size: 1.5rem; font-weight: 500;
  color: var(--we-ink); line-height: 1.2; margin-bottom: 12px;
}
.we-driver--featured .we-driver-title { font-size: 1.7rem; }

.we-driver-body {
  font-size: 0.9rem; color: var(--we-ink-50); line-height: 1.75; margin-bottom: 16px;
}
.we-driver--featured .we-driver-body { color: var(--we-ink-70); }

.we-driver-result {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.825rem; font-weight: 600; color: var(--we-ink-30);
  letter-spacing: 0.01em; padding: 10px 14px;
  background: var(--we-bg-off); border: 1px solid var(--we-border);
  border-left: 3px solid var(--we-border-md);
  border-radius: var(--we-r-sm); line-height: 1.5;
}
.we-driver-result--gold {
  color: var(--we-gold-dk); border-color: var(--we-gold-border);
  border-left-color: var(--we-gold); background: var(--we-gold-pale);
}
.we-driver-result i { color: var(--we-gold); font-size: 0.6rem; margin-top: 4px; flex-shrink: 0; }
.we-driver-result--gold i { color: var(--we-gold-dk); }

.we-driver--featured {
  background: var(--we-bg-off);
  border: 1px solid var(--we-gold-border);
  border-radius: var(--we-r-lg); padding: 28px 28px 28px 20px;
  box-shadow: var(--we-sh-xs); transition: box-shadow var(--we-t);
}
.we-driver--featured:hover { box-shadow: var(--we-sh-md); }

.we-strategy-close {
  margin-top: 48px; padding: 28px 36px;
  background: var(--we-dark); border-radius: var(--we-r-lg); text-align: center;
}
.we-strategy-close p {
  font-family: var(--we-serif);
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  font-style: italic; font-weight: 300;
  color: rgba(255,255,255,0.72); line-height: 1.68;
}


/* ══════════════════════════════════════════
   SECTION 4 — PERFORMANCE METRICS (DARK)
══════════════════════════════════════════ */
.we-perf-section {
  background: var(--we-dark); padding: 88px 0;
}
.we-perf-header { margin-bottom: 52px; }

.we-perf-grid {
  display: flex; align-items: stretch;
  border: 1px solid var(--we-dark-border);
  border-radius: var(--we-r-lg); overflow: hidden; flex-wrap: wrap;
}
.we-perf-item {
  flex: 1; min-width: 150px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 6px; padding: 36px 18px; text-align: center;
  transition: background var(--we-t);
}
.we-perf-item:hover { background: rgba(255,255,255,0.03); }
.we-perf-item--gold .we-perf-val { color: var(--we-gold-lt) !important; }

.we-perf-val {
  font-family: var(--we-serif); font-size: 2.4rem; font-weight: 400;
  color: rgba(255,255,255,0.88); line-height: 1;
}
.we-perf-lbl {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.07em;
  color: rgba(255,255,255,0.46); text-transform: uppercase;
}
.we-perf-sub { font-size: 0.66rem; letter-spacing: 0.04em; color: rgba(255,255,255,0.2); }

.we-perf-div {
  width: 1px; background: var(--we-dark-border);
  flex-shrink: 0; align-self: stretch;
}
@media (max-width: 760px) {
  .we-perf-item { min-width: 44%; }
  .we-perf-div { display: none; }
}
@media (max-width: 380px) {
  .we-perf-item { min-width: 100%; }
  .we-perf-grid { border: none; gap: 1px; }
  .we-perf-item { border: 1px solid var(--we-dark-border); border-radius: var(--we-r-md); padding: 24px 20px; }
}


/* ══════════════════════════════════════════
   SECTION 5 — RISK MANAGEMENT
══════════════════════════════════════════ */
.we-risk {
  background: var(--we-bg-off);
  border-top: 1px solid var(--we-border);
  border-bottom: 1px solid var(--we-border);
}
.we-risk-grid {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 80px; align-items: start;
}
@media (max-width: 900px) { .we-risk-grid { grid-template-columns: 1fr; gap: 48px; } }

.we-risk-quote {
  font-family: var(--we-serif);
  font-size: 1.1rem; font-style: italic; font-weight: 300;
  color: var(--we-gold-dk); line-height: 1.65;
  padding: 20px 0 0; border-top: 1px solid var(--we-border); margin-top: 10px;
}

.we-risk-right { display: flex; flex-direction: column; }
.we-risk-item {
  display: flex; align-items: flex-start; gap: 18px;
  padding: 24px 0; border-bottom: 1px solid var(--we-border);
  transition: background var(--we-t);
}
.we-risk-item:first-child { border-top: 1px solid var(--we-border); }
.we-risk-item:hover {
  background: var(--we-bg);
  margin: 0 -12px; padding-left: 12px; padding-right: 12px;
  border-radius: var(--we-r-sm);
}
.we-risk-icon {
  width: 42px; height: 42px; border-radius: var(--we-r-sm);
  background: var(--we-gold-tint); border: 1px solid var(--we-gold-border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}
.we-risk-icon i { font-size: 0.9rem; color: var(--we-gold); }
.we-risk-item h4 {
  font-size: 0.9rem; font-weight: 600; color: var(--we-ink); margin-bottom: 5px;
}
.we-risk-item p { font-size: 0.855rem; color: var(--we-ink-50); line-height: 1.68; }


/* ══════════════════════════════════════════
   SECTION 6 — WHAT THIS PROVES (DARK)
══════════════════════════════════════════ */
.we-proves-section {
  background: var(--we-dark); padding: 100px 0;
}
.we-proves-inner { text-align: center; }

.we-proves-h2 {
  font-family: var(--we-serif);
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  font-weight: 400; line-height: 1.1;
  color: #fff; margin-bottom: 24px;
}
.we-proves-h2 em { font-style: italic; font-weight: 300; color: var(--we-gold-lt); }

.we-proves-body {
  font-size: 0.9375rem; color: rgba(255,255,255,0.48);
  line-height: 1.8; max-width: 580px;
  margin: 0 auto 60px;
}

.we-proves-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--we-dark-border);
  border-radius: var(--we-r-lg); overflow: hidden; text-align: left;
}
@media (max-width: 900px) { .we-proves-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .we-proves-grid { grid-template-columns: 1fr; } }

.we-proves-col {
  padding: 34px 30px;
  border-right: 1px solid var(--we-dark-border);
  transition: background var(--we-t);
}
.we-proves-col:last-child { border-right: none; }
.we-proves-col:hover { background: rgba(255,255,255,0.03); }
@media (max-width: 900px) {
  .we-proves-col { border-right: none; border-bottom: 1px solid var(--we-dark-border); }
  .we-proves-col:last-child { border-bottom: none; }
  .we-proves-col:nth-child(odd) { border-right: 1px solid var(--we-dark-border); }
}
@media (max-width: 480px) {
  .we-proves-col:nth-child(odd) { border-right: none; }
}

.we-proves-icon {
  width: 42px; height: 42px; border-radius: var(--we-r-sm);
  background: rgba(198,168,125,0.12); border: 1px solid rgba(198,168,125,0.2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.we-proves-icon i { font-size: 0.92rem; color: var(--we-gold); }
.we-proves-col h4 {
  font-family: var(--we-serif); font-size: 1.15rem; font-weight: 500;
  color: rgba(255,255,255,0.88); margin-bottom: 10px;
}
.we-proves-col p { font-size: 0.855rem; color: rgba(255,255,255,0.42); line-height: 1.65; }


/* ══════════════════════════════════════════
   SECTION 7 — GALLERY
══════════════════════════════════════════ */
.we-gallery { background: var(--we-bg); }

/* 6-image grid: wide card (cols 1-2 row 1) + 2 normal (row 1) + 3 normal (row 2) */
.we-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 300px 260px;
  gap: 12px;
}

.we-gallery-item {
  position: relative;
  background-size: cover;
  background-position: center;
  background-color: var(--we-bg-mid);
  overflow: hidden;
  border-radius: var(--we-r-md);
  transition: transform var(--we-t) var(--we-ease), box-shadow var(--we-t);
}
.we-gallery-item:hover {
  transform: scale(1.015);
  box-shadow: var(--we-sh-lg);
  z-index: 2;
}

/* First image spans 2 columns on the first row */
.we-gallery-item--wide {
  grid-column: 1 / 3;
}

.we-gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,18,22,0.75) 0%, transparent 52%);
  display: flex; align-items: flex-end;
  padding: 18px 20px;
  opacity: 0; transition: opacity var(--we-t);
}
.we-gallery-item:hover .we-gallery-overlay { opacity: 1; }
.we-gallery-overlay span {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.07em;
  color: rgba(255,255,255,0.82); text-transform: uppercase;
}

@media (max-width: 960px) {
  .we-gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .we-gallery-item { height: 220px; }
  .we-gallery-item--wide { grid-column: 1 / 3; }
}
@media (max-width: 560px) {
  .we-gallery-grid { grid-template-columns: 1fr; }
  .we-gallery-item { height: 210px; }
  .we-gallery-item--wide { grid-column: 1; }
}


/* ══════════════════════════════════════════
   FINAL CTA
══════════════════════════════════════════ */
.we-cta-section {
  background: var(--we-bg-off);
  border-top: 1px solid var(--we-border);
  padding: 100px 0;
}
.we-cta-inner {
  max-width: 620px; margin: 0 auto; text-align: center;
}
.we-cta-h2 {
  font-family: var(--we-serif);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 400; line-height: 1.08;
  color: var(--we-ink); margin-bottom: 18px;
}
.we-cta-h2 em { font-style: italic; font-weight: 300; color: var(--we-gold); }
.we-cta-body {
  font-size: 0.9375rem; color: var(--we-ink-50);
  line-height: 1.78; margin: 0 auto 36px; max-width: 520px;
}
.we-cta-actions {
  display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 36px;
}
.we-cta-divider {
  width: 36px; height: 1px;
  background: var(--we-border-md); margin: 0 auto 28px;
}
.we-cta-contact {
  display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; margin-bottom: 40px;
}
.we-cta-contact span {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.84rem; color: var(--we-ink-30);
}
.we-cta-contact i { color: var(--we-gold); font-size: 0.75rem; }
.we-cta-links {
  display: flex; justify-content: center; align-items: center;
  gap: 32px; flex-wrap: wrap;
}
.we-cta-related {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.82rem; font-weight: 600; color: var(--we-ink-30);
  transition: color var(--we-t), gap var(--we-t); letter-spacing: 0.02em;
}
.we-cta-related:hover { color: var(--we-gold); }
.we-cta-related i { font-size: 0.62rem; transition: transform var(--we-t); }
.we-cta-related:hover .fa-arrow-right { transform: translateX(4px); }
.we-cta-related:hover .fa-arrow-left  { transform: translateX(-4px); }


/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.we-footer { background: var(--we-ink); padding: 28px 0; }
.we-footer-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.we-footer-brand { display: flex; flex-direction: column; gap: 1px; }
.we-footer-brand .we-brand-top { color: rgba(255,255,255,0.82); font-size: 11.5px; letter-spacing: 0.17em; font-weight: 700; }
.we-footer-brand .we-brand-btm { color: var(--we-gold); font-size: 7.5px; letter-spacing: 0.24em; font-weight: 700; }
.we-footer-note { font-size: 0.7rem; color: rgba(255,255,255,0.2); line-height: 1.6; flex: 1; text-align: center; }
.we-footer-links { display: flex; gap: 20px; }
.we-footer-links a { font-size: 0.775rem; color: rgba(255,255,255,0.34); transition: color var(--we-t); }
.we-footer-links a:hover { color: var(--we-gold-lt); }
@media (max-width: 768px) {
  .we-footer-inner { flex-direction: column; text-align: center; }
  .we-footer-links { justify-content: center; }
}


/* ══════════════════════════════════════════
   LIGHTBOX
══════════════════════════════════════════ */
.we-lightbox {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(8,12,14,0.94);
  backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.we-lightbox.active { opacity: 1; pointer-events: all; }
.we-lightbox-img-wrap {
  max-width: 90vw; max-height: 85vh;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.we-lightbox-img-wrap img {
  max-width: 90vw; max-height: 78vh;
  object-fit: contain; border-radius: var(--we-r-md);
  box-shadow: 0 24px 80px rgba(0,0,0,0.7);
}
.we-lightbox-caption {
  font-size: 0.75rem; color: rgba(255,255,255,0.44);
  letter-spacing: 0.1em; text-transform: uppercase; text-align: center;
}
.we-lightbox-close {
  position: absolute; top: 24px; right: 28px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.7); font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background var(--we-t), color var(--we-t);
}
.we-lightbox-close:hover { background: rgba(255,255,255,0.16); color: #fff; }


/* ══════════════════════════════════════════
   SCROLL REVEAL — with hard CSS fallback
══════════════════════════════════════════ */
@keyframes weForceVisible { to { opacity: 1; transform: none; } }

.reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.6s var(--we-ease), transform 0.6s var(--we-ease);
  animation: weForceVisible 0.01s 1.0s forwards;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal--delay { transition-delay: 0.14s; }

.reveal-stagger > * {
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.55s var(--we-ease), transform 0.55s var(--we-ease);
  animation: weForceVisible 0.01s 1.2s forwards;
}
.reveal-stagger.visible > *:nth-child(1) { opacity: 1; transform: none; transition-delay: 0.00s; }
.reveal-stagger.visible > *:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.08s; }
.reveal-stagger.visible > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.16s; }
.reveal-stagger.visible > *:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.24s; }
.reveal-stagger.visible > *:nth-child(5) { opacity: 1; transform: none; transition-delay: 0.32s; }
.reveal-stagger.visible > *:nth-child(6) { opacity: 1; transform: none; transition-delay: 0.40s; }


/* ─── Polish ─── */
::selection { background: var(--we-gold-tint); color: var(--we-ink); }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--we-bg-off); }
::-webkit-scrollbar-thumb { background: var(--we-gold); border-radius: 3px; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--we-gold); outline-offset: 2px; border-radius: 2px;
}
