/* Special Client — custom CSS */

:root {
  --primary: #1f365f;
  --secondary: #fefef7;
}

/* Dot grid background */
.dot-grid {
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* Nav pill glass */
.nav-pill {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.luxury-title {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.04em;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", "URW Palladio L", Georgia, serif;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 0.95;
  padding-left: 0;
}

.special-word {
  display: block;
  color: #f7f4ea;
  text-shadow: 0 8px 24px rgba(8, 14, 28, 0.28);
}

.clients-word {
  display: block;
  color: #e2ba58;
  text-shadow: 0 0 14px rgba(226, 186, 88, 0.16), 0 10px 24px rgba(47, 26, 6, 0.32);
}

/* Hero photo panels — hidden on mobile, shown md+ */
.hero-photo-left,
.hero-photo-right {
  display: none;
}

.hero-photo-image {
  --parallax-base-offset: 0px;
  --parallax-offset: 0px;
  transform: translate3d(0, calc(var(--parallax-base-offset) + var(--parallax-offset)), 0) scale(1.08);
  transform-origin: center top;
  will-change: transform;
}

.hero-photo-image-left {
  --parallax-base-offset: -56px;
}

@media (min-width: 768px) {
  .hero-photo-left,
  .hero-photo-right {
    display: block;
  }

  .hero-photo-left {
    width: 42%;
    -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0.85) 0%, transparent 100%);
    mask-image: linear-gradient(to right, rgba(0,0,0,0.85) 0%, transparent 100%);
  }

  .hero-photo-right {
    width: 42%;
    -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,0.85) 0%, transparent 100%);
    mask-image: linear-gradient(to left, rgba(0,0,0,0.85) 0%, transparent 100%);
  }
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  padding: 1.75rem 1.5rem;
  border-radius: 1rem;
  background: #243b66;
  border: 1px solid #2e4d82;
}

.stat-label {
  position: relative;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  z-index: 1;
}

.stat-value {
  position: relative;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
  z-index: 1;
}

/* ── Section 2 — dark blue ── */

.section-kicker {
  color: rgba(226, 186, 88, 0.88);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.section-title {
  color: #f7f4ea;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 700;
  line-height: 1.15;
}

.section-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  font-weight: 500;
}

.section-description {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  line-height: 1.8;
}

.special-layout {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

.special-left-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.special-right-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.special-intro {
  width: 100%;
  max-width: none;
  text-align: left;
}

.comparison-shell {
  position: relative;
  border-radius: 1rem;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.05));
}

.comparison-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 28%);
  pointer-events: none;
}

.comparison-overflow {
  overflow-x: auto;
  border-radius: calc(1rem - 1px);
  background: rgba(20, 35, 63, 0.74);
  backdrop-filter: blur(22px) saturate(1.4);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
}

.comparison-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  text-align: left;
}

.comparison-table thead th {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.comparison-table tbody th {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8rem;
  font-weight: 500;
}

.comparison-table tbody td {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  line-height: 1.5;
}

.comparison-table tbody tr:last-child th,
.comparison-table tbody tr:last-child td {
  border-bottom: 0;
}

.comparison-table tbody td:last-child,
.comparison-table thead th:last-child {
  color: #e2ba58;
  font-weight: 600;
}

.aum-card,
.entry-card,
.benefit-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  background: #1a2f52;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.aum-card {
  padding: 1.25rem 1.25rem;
}

.entry-card {
  padding: 1.5rem;
}

.aum-card .section-kicker {
  font-size: 0.66rem;
}

.aum-figure {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-top: 0.5rem;
}

.aum-currency {
  color: #f7f4ea;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
}

.aum-unit {
  color: #e2ba58;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.aum-note {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  line-height: 1.5;
}

.entry-warning {
  color: #e2ba58;
  font-size: 0.85rem;
  font-weight: 600;
}

.entry-copy {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  line-height: 1.7;
}

.entry-card-full {
  width: 100%;
  padding: 1.5rem;
}

.benefit-grid {
  display: grid;
  gap: 0.6rem;
}

.benefit-card {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.75rem;
  row-gap: 0.12rem;
  align-items: start;
  padding: 0.9rem 1rem;
}

.benefit-index {
  display: inline-block;
  min-width: 1.55rem;
  grid-row: 1 / span 2;
  color: rgba(226, 186, 88, 0.8);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.benefit-title {
  margin-top: 0;
  color: #f7f4ea;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
}

.benefit-copy {
  margin-top: 0.15rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
  line-height: 1.55;
}

/* Ambient glow blobs for dark section */
.special-section-glow {
  position: absolute;
  width: 28rem;
  height: 28rem;
  border-radius: 9999px;
  filter: blur(80px);
  opacity: 0.18;
  pointer-events: none;
}

.special-section-glow-left {
  top: 10%;
  left: -8rem;
  background: radial-gradient(circle, rgba(122, 162, 232, 0.8) 0%, transparent 70%);
}

.special-section-glow-right {
  bottom: 10%;
  right: -8rem;
  background: radial-gradient(circle, rgba(226, 186, 88, 0.5) 0%, transparent 70%);
}

/* ── Section 3 — light (Investment Objective) ── */

.objective-intro {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
}

.objective-intro .section-kicker {
  color: #c9972a;
}

.objective-title {
  color: #1f365f;
  font-size: clamp(1.7rem, 3.6vw, 2.8rem);
  font-weight: 700;
  line-height: 1.08;
}

.objective-benchmark {
  color: rgba(31, 54, 95, 0.6);
  font-size: 0.94rem;
  line-height: 1.8;
}

.objective-grid {
  display: grid;
  gap: 1rem;
}

.objective-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(31, 54, 95, 0.1);
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(31, 54, 95, 0.06);
  padding: 1.2rem 1.15rem 1.25rem;
}

.objective-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(31, 54, 95, 0.04), transparent 32%);
  pointer-events: none;
}

.objective-index {
  position: relative;
  display: inline-block;
  color: #b8820e;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.objective-card-title {
  position: relative;
  margin-top: 0.8rem;
  color: #1f365f;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.2;
}

.objective-card-subtitle {
  position: relative;
  margin-top: 0.35rem;
  color: #b8820e;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.45;
}

.objective-card-copy {
  position: relative;
  margin-top: 0.75rem;
  color: rgba(31, 54, 95, 0.6);
  font-size: 0.86rem;
  line-height: 1.7;
}

@media (max-width: 767px) {
  .special-section-glow {
    width: 18rem;
    height: 18rem;
    filter: blur(64px);
    opacity: 0.24;
  }

  .special-layout,
  .special-left-column,
  .special-right-column {
    gap: 1rem;
  }

  .comparison-shell,
  .comparison-overflow,
  .aum-card,
  .entry-card,
  .benefit-card {
    border-radius: 0.9rem;
  }

  .section-title {
    max-width: 18rem;
  }

  .section-description {
    max-width: 34rem;
  }

  .objective-title {
    max-width: 16rem;
    margin-left: auto;
    margin-right: auto;
  }

  .objective-benchmark {
    font-size: 0.88rem;
  }

  .stat-card {
    padding: 1.2rem 1rem;
  }

  .stat-value {
    font-size: 0.95rem;
  }
}

@media (min-width: 1024px) {
  .special-layout {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 2rem;
  }

  .special-right-column {
    position: sticky;
    top: 2rem;
  }

  .objective-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Fade-in animations */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-fade-in {
  opacity: 0;
  animation: heroFadeUp 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* HTMX indicator */
.htmx-indicator { display: none; }
.htmx-request .htmx-indicator { display: block; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 3px; }
