/* ============================================================
   DDA Private Capital — Styles
   A refined, institutional family-office aesthetic.
   ============================================================ */

:root {
  --navy: #0b1220;
  --navy-2: #101a2c;
  --ink: #0e1524;
  --cream: #f5f1e8;
  --cream-2: #efe9dd;
  --white: #ffffff;
  --muted: #8a94a6;
  --red: #c8102e;
  --red-dark: #a30d26;
  --gold: #c9a45c;
  --border: rgba(255, 255, 255, 0.12);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ---------- NAV ---------- */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(11, 18, 32, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease;
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 14px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo { display: flex; align-items: center; gap: 14px; }

.logo-mark { width: 120px; height: 44px; display: block; }

.logo-text {
  font-family: var(--sans);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.25s ease;
}

.logo-text:hover { color: var(--red); }

.nav-links {
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.25s ease;
}

.nav-links a:hover { color: var(--red); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--white);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ---------- HERO ---------- */
#home, #hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    radial-gradient(ellipse at 70% 20%, rgba(200, 16, 46, 0.14), transparent 55%),
    linear-gradient(160deg, #0a101d 0%, #0d1526 45%, #101a2c 100%);
  color: var(--white);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
}

.hero-content { position: relative; z-index: 2; padding: 0 24px; }

.hero-title {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 1.05;
  letter-spacing: -1px;
}

.hero-title em, .hero-title .accent { color: var(--red); font-style: normal; font-weight: 700; }

.hero-divider {
  width: 1px; height: 64px;
  background: linear-gradient(to bottom, transparent, var(--red), transparent);
  margin: 36px auto;
}

.hero-tagline {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  font-style: italic;
  color: var(--gold);
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.hero-subtitle {
  font-size: 16px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.8;
  max-width: 640px;
  margin: 0 auto;
}

.hero-scroll {
  display: inline-block;
  margin-top: 44px;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.5);
  animation: float 2.4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ---------- SECTIONS ---------- */
.section { padding: 120px 0; }

.section-dark {
  background: var(--navy);
  color: var(--white);
}

.section-header { margin-bottom: 64px; }

.section-label {
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 18px;
  font-weight: 600;
}

.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1.15;
}

.section-dark .section-label { color: var(--red); }

/* ---------- ABOUT ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 72px;
  align-items: start;
}

.about-text p {
  font-size: 16.5px;
  line-height: 1.9;
  color: #3a4356;
  margin-bottom: 22px;
  font-weight: 300;
}

.about-text p strong { color: var(--ink); font-weight: 500; }

/* ---------- APPROACH ---------- */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.approach-card {
  padding: 48px 40px;
  background: var(--navy-2);
  border: 1px solid var(--border);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.approach-card:hover {
  transform: translateY(-6px);
  border-color: rgba(200, 16, 46, 0.5);
}

.approach-letter {
  font-family: var(--serif);
  font-size: 64px;
  line-height: 1;
  color: var(--red);
  margin-bottom: 24px;
}

.approach-card h3 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  margin-bottom: 14px;
}

.approach-card p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14.5px;
  font-weight: 300;
  line-height: 1.8;
}

/* ---------- FOCUS ---------- */
.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.focus-box {
  border-top: 2px solid var(--navy);
  padding-top: 32px;
  transition: border-color 0.3s ease;
}

.focus-box:hover { border-color: var(--red); }

.focus-number {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--red);
  margin-bottom: 18px;
}

.focus-box h3 {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
  margin-bottom: 14px;
}

.focus-box p {
  color: #5a6378;
  font-size: 14.5px;
  font-weight: 300;
  line-height: 1.8;
}

/* ---------- ASSET CLASSES ---------- */
.asset-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.asset-item {
  padding: 56px 24px;
  text-align: center;
  border-left: 1px solid var(--border);
  transition: background 0.3s ease;
}

.asset-item:first-child { border-left: none; }

.asset-item:hover { background: rgba(200, 16, 46, 0.08); }

.asset-icon {
  width: 36px;
  height: 36px;
  color: var(--red);
  margin: 0 auto 18px;
  display: block;
  transition: transform 0.3s ease;
}

.asset-item:hover .asset-icon { transform: translateY(-4px); }

.asset-item h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
}

/* ---------- CONTACT ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 72px;
  max-width: 640px;
}

.contact-intro {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 36px;
}

.contact-detail { margin-bottom: 32px; }

.contact-label {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 10px;
}

.contact-value {
  font-family: var(--serif);
  font-size: 21px;
  color: var(--white);
}

/* ---------- FOOTER ---------- */
footer {
  background: #070c16;
  color: rgba(255, 255, 255, 0.55);
  padding: 48px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  text-align: left;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.footer-group-name {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--white);
  letter-spacing: 1px;
  font-weight: 500;
}

.footer-group-link {
  font-family: var(--serif);
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.25s ease;
}

.footer-group-link:hover { color: var(--red); }

.footer-copy { font-size: 12px; color: rgba(255, 255, 255, 0.3); }

.footer-addresses {
  margin-top: 8px;
}

.footer-address {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.6;
}

/* ---------- REVEAL ANIMATIONS ---------- */
.approach-card, .focus-box, .stat-block, .asset-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.approach-card.revealed, .focus-box.revealed,
.stat-block.revealed, .asset-item.revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .approach-card, .focus-box, .stat-block, .asset-item {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .approach-grid, .focus-grid { grid-template-columns: 1fr; }
  .asset-row { grid-template-columns: repeat(3, 1fr); }
  .asset-item:nth-child(4) { border-left: none; }
  .asset-item { border-bottom: 1px solid var(--border); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  .container { padding: 0 24px; }
  .nav-inner { padding: 12px 24px; }
  .section { padding: 80px 0; }

  .nav-links {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: 260px;
    background: var(--navy);
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    border-left: 1px solid var(--border);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-toggle { display: flex; z-index: 101; }

  .asset-row { grid-template-columns: 1fr; }
  .asset-item { border-left: none; }
}