/* ============================================================
   ASASE CAPITAL — home.css
   ============================================================ */

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: var(--nav-h);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.hero-slideshow {
  position: absolute; inset: 0; z-index: 0;
}

.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: heroFade 12s infinite;
  will-change: opacity;
}

.hero-slide::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26,24,20,0.35) 0%,
    rgba(26,24,20,0.55) 50%,
    rgba(26,24,20,0.82) 100%
  );
}

/* 4 slides × 3s each = 12s total cycle
   Each slide: fade in 0.8s → hold 2.2s → fade out 0.8s → wait 8.2s
   Percentages: fade-in 0–6.67%, hold 6.67–25%, fade-out 25–31.67%, hidden 31.67–100% */
@keyframes heroFade {
  0%      { opacity: 0; transform: scale(1); }
  3%      { opacity: 1; }
  25%     { opacity: 1; transform: scale(1.04); }
  30%     { opacity: 0; transform: scale(1.04); }
  100%    { opacity: 0; transform: scale(1); }
}

.hero-slide--1 { animation-delay: 0s; }
.hero-slide--2 { animation-delay: 3s; }
.hero-slide--3 { animation-delay: 6s; }
.hero-slide--4 { animation-delay: 9s; }

/* Slide images */
.hero-slide--1 {
  background-image: url('https://images.unsplash.com/photo-1576224413179-b30f3cc03dfc?w=1800&q=80');
}
.hero-slide--2 {
  background-image: url('https://images.unsplash.com/photo-1509099836639-18ba1795216d?w=1800&q=80');
}
.hero-slide--3 {
  background-image: url('https://images.unsplash.com/photo-1626695436783-d942d5928174?w=1800&q=80');
}
.hero-slide--4 {
  background-image: url('https://images.unsplash.com/photo-1579532537598-459ecdaf39cc?w=1800&q=80');
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    animation: none;
  }
  .hero-slide--1 {
    opacity: 1;
  }
}

.hero-content {
  position: relative; z-index: 1;
  padding: 80px 52px;
  max-width: 900px;
}

.hero-est {
  font-family: var(--mono); font-size: 9px;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold-light);
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 32px;
}
.hero-est::before {
  content: ''; display: block;
  width: 28px; height: 1px; background: var(--gold);
}

.hero-headline {
  font-family: var(--serif);
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 400; line-height: 1.0;
  letter-spacing: -0.01em;
  color: var(--ivory); margin-bottom: 28px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.3);
}
.hero-headline em { font-style: italic; color: var(--gold-light); }

/* ── Mobile hero headline override ── */
@media (max-width: 640px) {
  .hero-headline { font-size: 100px; }
}
@media (max-width: 400px) {
  .hero-headline { font-size: 80px; }
}

.hero-sub {
  font-family: var(--body); font-size: 16px;
  line-height: 1.8; color: rgba(245,240,232,0.85);
  max-width: 520px; margin-bottom: 48px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

/* AUM bar at bottom of hero */
.hero-bar {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(26,24,20,0.85);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(196,150,60,0.3);
}

.hero-bar-item {
  padding: 28px 36px;
  border-right: 1px solid rgba(196,150,60,0.15);
  display: flex; flex-direction: column; gap: 6px;
}
.hero-bar-item:last-child { border-right: none; }

.hero-bar-value {
  font-family: var(--mono); font-size: 28px;
  font-weight: 500; color: var(--ivory);
  letter-spacing: -0.02em; line-height: 1;
}
.hero-bar-value span { color: var(--gold); }

.hero-bar-label {
  font-family: var(--mono); font-size: 9px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(245,240,232,0.5);
}

/* ── INTRO SECTION — light ───────────────────────────────── */
.intro-section {
  padding: 120px 52px;
  background: var(--ivory);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.intro-headline {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 400; line-height: 1.1;
  color: var(--ink);
}
.intro-headline em { font-style: italic; color: var(--gold-deep); }

.intro-body {
  font-family: var(--body); font-size: 15px;
  line-height: 1.9; color: #5A5450;
  margin-bottom: 36px;
}

.intro-values {
  display: flex; flex-direction: column;
  gap: 1px; background: var(--border-lt);
  margin-top: 40px;
}
.intro-value {
  background: var(--ivory); padding: 16px 20px;
  display: flex; align-items: center; gap: 14px;
  font-family: var(--serif); font-size: 15px; color: var(--ink);
  transition: background 0.2s;
}
/*.intro-value:hover { background: var(--parchment); }*/
.intro-value-num {
  font-family: var(--mono); font-size: 10px;
  color: var(--gold); letter-spacing: 0.1em;
  flex-shrink: 0;
}

/* ── LANDSCAPE DIVIDER 1 ─────────────────────────────────── */
.landscape-1 {
  width: 100%; height: 520px; position: relative; overflow: hidden;
}
.landscape-1 img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
  display: block;
}
.landscape-1-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(26,24,20,0.7) 0%, rgba(26,24,20,0.1) 60%);
  display: flex; align-items: center; padding: 60px 52px;
}
.landscape-1-text {
  max-width: 500px;
}
.landscape-1-quote {
  font-family: var(--serif); font-size: clamp(22px, 2.5vw, 34px);
  font-style: italic; font-weight: 400;
  color: var(--ivory); line-height: 1.5;
  margin-bottom: 20px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.landscape-1-attr {
  font-family: var(--mono); font-size: 9px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-light);
}

/* ── FUNDS SECTION — parchment ───────────────────────────── */
.funds-section {
  padding: 120px 52px;
  background: var(--parchment);
}

.funds-header {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: end; margin-bottom: 64px;
}

.funds-headline {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 400; line-height: 1.1; color: var(--ink);
}
.funds-headline em { font-style: italic; color: var(--gold-deep); }

.funds-desc {
  font-family: var(--body); font-size: 14px;
  line-height: 1.9; color: #5A5450;
}

.funds-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: var(--border-lt);
}

.fund-card {
  background: var(--ivory); padding: 44px;
  display: flex; flex-direction: column;
  transition: background 0.3s; position: relative; overflow: hidden;
}
.fund-card:hover { background: var(--parchment2); }

.fund-tag {
  font-family: var(--mono); font-size: 9px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 16px;
}

.fund-name {
  font-family: var(--serif); font-size: 26px;
  font-weight: 400; color: var(--ink);
  margin-bottom: 12px; line-height: 1.2;
}

.fund-desc {
  font-family: var(--body); font-size: 13px;
  color: #5A5450; line-height: 1.8; margin-bottom: 32px; flex: 1;
}

.fund-metrics {
  display: flex; gap: 0;
  border-top: 1px solid var(--border-lt); padding-top: 24px; margin-bottom: 24px;
}
.fund-metric { flex: 1; padding-right: 20px; border-right: 1px solid var(--border-lt); margin-right: 20px; }
.fund-metric:last-child { border-right: none; margin-right: 0; padding-right: 0; }

.fund-metric-value {
  font-family: var(--mono); font-size: 24px;
  font-weight: 500; color: var(--ink);
  letter-spacing: -0.02em; line-height: 1; margin-bottom: 4px;
}
.fund-metric-value.pos { color: #2A6A3A; }

.fund-metric-label {
  font-family: var(--mono); font-size: 9px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone);
}

.fund-link {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gold-deep); transition: letter-spacing 0.2s;
  display: inline-flex; align-items: center; gap: 8px;
}
.fund-card:hover .fund-link { letter-spacing: 0.25em; }

/* ── STATS SECTION — dark ────────────────────────────────── */
.stats-section {
  background: var(--ink); padding: 100px 52px;
  position: relative; overflow: hidden;
}

.stats-section::before {
  content: ''; position: absolute; inset: 0;
  /*background: radial-gradient(ellipse at 50% 50%, rgba(196,150,60,0.08) 0%, transparent 65%);*/
  pointer-events: none;
}

.stats-heading {
  font-family: var(--serif); font-size: clamp(28px, 3vw, 42px);
  font-weight: 400; color: var(--ivory);
  text-align: center; margin-bottom: 72px;
  position: relative; z-index: 1;
}
.stats-heading em { font-style: italic; color: var(--gold-light); }

.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--border-dk);
  position: relative; z-index: 1;
}

.stat-card {
  background: var(--charcoal); padding: 56px 40px; text-align: center;
  transition: background 0.3s;
}

.stat-value {
  font-family: var(--mono); font-size: 72px;
  font-weight: 300; letter-spacing: -0.04em;
  line-height: 1; color: var(--ivory); margin-bottom: 16px;
}
.stat-value span { color: var(--gold); font-size: 44px; }

.stat-label {
  font-family: var(--mono); font-size: 9px;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--stone);
}

/* ── LANDSCAPE 2 ─────────────────────────────────────────── */
.landscape-2 {
  width: 100%; height: 560px; position: relative; overflow: hidden;
}
.landscape-2 img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 40%;
}
.landscape-2-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(26,24,20,0.05) 0%, rgba(26,24,20,0.65) 100%);
  display: flex; align-items: center; justify-content: flex-end;
  padding: 60px 52px;
}
.landscape-2-text { max-width: 460px; text-align: right; }
.landscape-2-headline {
  font-family: var(--serif); font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 400; color: var(--ivory); line-height: 1.15;
  margin-bottom: 20px; text-shadow: 0 2px 16px rgba(0,0,0,0.4);
}
.landscape-2-headline em { font-style: italic; color: var(--gold-light); }
.landscape-2-sub {
  font-family: var(--body); font-size: 14px;
  color: rgba(245,240,232,0.8); line-height: 1.8;
  margin-bottom: 32px; text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

/* ── CHART SECTION — light ───────────────────────────────── */
.chart-section {
  padding: 120px 52px;
  background: var(--ivory);
}

.chart-header {
  display: flex; justify-content: space-between;
  align-items: flex-end; margin-bottom: 48px;
}

.chart-headline {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 400; color: var(--ink); line-height: 1.1;
}
.chart-headline em { font-style: italic; color: var(--gold-deep); }

.chart-tabs {
  display: flex; gap: 1px; background: var(--border-lt);
}
.chart-tab {
  font-family: var(--mono); font-size: 9px;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--stone); background: var(--ivory);
  border: none; padding: 10px 22px; cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.chart-tab:hover { background: var(--parchment); color: var(--ink); }
.chart-tab.active { background: var(--ink); color: var(--ivory); }

.chart-wrap {
  position: relative; background: var(--parchment);
  border: 1px solid var(--border-lt); padding: 32px;
  height: 420px;
}

.chart-canvas { width: 100%; height: 100%; display: block; }

/* Tooltip */
.chart-tooltip {
  position: absolute; pointer-events: none;
  background: var(--ink); color: var(--ivory);
  padding: 10px 14px; font-family: var(--mono);
  font-size: 10px; line-height: 1.6;
  opacity: 0; transition: opacity 0.15s;
  min-width: 160px; z-index: 10;
  border-left: 2px solid var(--gold);
}
.chart-tooltip.visible { opacity: 1; }

/* Legend */
.chart-legend {
  display: flex; gap: 24px; margin-top: 20px; flex-wrap: wrap;
}
.chart-legend-item {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.1em; color: var(--stone);
}
.chart-legend-line {
  width: 20px; height: 2px; flex-shrink: 0;
}

/* ── HERITAGE — landscape 3 ──────────────────────────────── */
.landscape-3 {
  width: 100%; height: 500px; position: relative; overflow: hidden;
}
.landscape-3 img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 60%;
}
.landscape-3-overlay {
  position: absolute; inset: 0;
  background: rgba(26,24,20,0.6);
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 60px 52px;
}
.landscape-3-content { max-width: 700px; }
.landscape-3-eyebrow {
  font-family: var(--mono); font-size: 9px;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 24px;
}
.landscape-3-headline {
  font-family: var(--serif); font-size: clamp(32px, 4vw, 60px);
  font-weight: 400; font-style: italic;
  color: var(--ivory); line-height: 1.15;
  margin-bottom: 24px; text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.landscape-3-sub {
  font-family: var(--body); font-size: 15px;
  color: rgba(245,240,232,0.85); line-height: 1.8;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

/* ── HERITAGE SECTION — parchment ────────────────────────── */
.heritage-section {
  display: grid; grid-template-columns: 1fr 1fr;
}

.heritage-left {
  background: var(--parchment); padding: 100px 60px;
  display: flex; flex-direction: column; justify-content: center;
}
.heritage-headline {
  font-family: var(--serif); font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 400; color: var(--ink); line-height: 1.1; margin-bottom: 24px;
}
.heritage-headline em { font-style: italic; color: var(--gold-deep); }
.heritage-body {
  font-family: var(--body); font-size: 14px;
  color: #5A5450; line-height: 1.9; margin-bottom: 36px;
}

.heritage-right {
  background: #1E2A1E; padding: 100px 60px;
  display: flex; flex-direction: column; justify-content: center;
}
.heritage-quote {
  font-family: var(--serif); font-size: 20px;
  font-weight: 400; font-style: italic;
  color: var(--ivory); line-height: 1.65;
  padding-left: 24px; border-left: 2px solid var(--gold);
  margin-bottom: 20px;
}
.heritage-attr {
  font-family: var(--mono); font-size: 9px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-left: 24px; margin-bottom: 48px;
}
.heritage-values {
  display: flex; flex-direction: column;
  gap: 1px; background: var(--border-dk);
}
.heritage-value {
  background: var(--charcoal); padding: 16px 20px;
  display: flex; align-items: center; gap: 14px;
  font-family: var(--serif); font-size: 15px; color: var(--ivory);
  transition: background 0.2s;
}
.heritage-dot { width: 5px; height: 5px; background: var(--gold); border-radius: 50%; flex-shrink: 0; }

/* ── INSIGHTS — ivory ────────────────────────────────────── */
.insights-section {
  padding: 120px 52px; background: var(--ivory);
  border-top: 1px solid var(--border-lt);
}
.insights-header {
  display: flex; justify-content: space-between;
  align-items: flex-end; margin-bottom: 56px;
}
.insights-headline {
  font-family: var(--serif); font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 400; color: var(--ink); line-height: 1.1;
}
.insights-headline em { font-style: italic; color: var(--gold-deep); }

.insights-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 1px; background: var(--border-lt);
}
.insight-card {
  background: var(--ivory); padding: 36px;
  transition: background 0.3s; position: relative; overflow: hidden;
}
.insight-card:hover { background: var(--parchment); }
.insight-card::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; right: 0; height: 2px;
  background: var(--gold-deep);
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s;
}
.insight-card:hover::after { transform: scaleX(1); }

.insight-tag {
  font-family: var(--mono); font-size: 8px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 14px;
}
.insight-title {
  font-family: var(--serif); font-size: 20px;
  font-weight: 400; color: var(--ink); line-height: 1.3; margin-bottom: 12px;
}
.insight-excerpt {
  font-family: var(--body); font-size: 13px;
  color: #5A5450; line-height: 1.8; margin-bottom: 24px;
}
.insight-meta {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 20px; border-top: 1px solid var(--border-lt);
}
.insight-date {
  font-family: var(--mono); font-size: 8px;
  letter-spacing: 0.12em; color: var(--stone);
}
.insight-arrow {
  font-family: var(--mono); font-size: 8px;
  color: var(--gold-deep); letter-spacing: 0.1em; transition: letter-spacing 0.2s;
}
.insight-card:hover .insight-arrow { letter-spacing: 0.2em; }

/* ── NEWSLETTER ──────────────────────────────────────────── */
.newsletter-section {
  background: var(--parchment2);
  border-top: 1px solid var(--border-lt);
  border-bottom: 1px solid var(--border-lt);
  padding: 80px 52px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.newsletter-headline {
  font-family: var(--serif); font-size: clamp(28px, 3vw, 44px);
  font-weight: 400; color: var(--ink); line-height: 1.1;
}
.newsletter-headline em { font-style: italic; color: var(--gold-deep); }
.newsletter-body {
  font-family: var(--body); font-size: 13px;
  color: #5A5450; line-height: 1.9; margin-top: 16px;
}
.newsletter-form {
  display: flex; flex-direction: column; gap: 12px;
}
.newsletter-input-row {
  display: flex; gap: 0; background: var(--border-lt);
  padding: 1px;
}
.newsletter-input {
  flex: 1; padding: 14px 18px;
  font-family: var(--body); font-size: 14px;
  color: var(--ink); background: var(--ivory);
  border: none; outline: none;
}
.newsletter-input::placeholder { color: var(--stone-lt); }
.newsletter-btn {
  font-family: var(--mono); font-size: 9px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ivory); background: var(--ink);
  border: none; padding: 14px 24px; cursor: pointer;
  transition: background 0.2s; white-space: nowrap;
}
.newsletter-btn:hover { background: var(--gold-deep); }
.newsletter-disclaimer {
  font-family: var(--mono); font-size: 9px;
  color: var(--stone); letter-spacing: 0.08em; line-height: 1.6;
}
.newsletter-success {
  display: none; font-family: var(--body); font-size: 14px;
  color: #2A6A3A; padding: 14px 18px;
  background: rgba(42,106,58,0.08); border: 1px solid rgba(42,106,58,0.2);
}

/* ── CTA ─────────────────────────────────────────────────── */
.cta-section {
  padding: 140px 52px; text-align: center;
  background: var(--ink); position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
}
.cta-headline {
  font-family: var(--serif); font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 400; color: var(--ivory); line-height: 1.0;
  margin-bottom: 24px; position: relative; z-index: 1;
}
.cta-headline em { font-style: italic; color: var(--gold-light); }
.cta-sub {
  font-family: var(--body); font-size: 15px;
  color: rgba(245,240,232,0.7); line-height: 1.8;
  margin-bottom: 48px; position: relative; z-index: 1;
}
.cta-actions {
  display: flex; justify-content: center; gap: 16px;
  position: relative; z-index: 1;
}
