/* ============================================================
   D&D Legacy Capital — Variant 3 (Light + Photos) — styles.css
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600&family=Inter:wght@300;400;500;600&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --bg-primary:    #FAFAF8;
  --bg-secondary:  #F2F0EB;
  --bg-card:       #FFFFFF;
  --bg-dark:       #1C2B3A;
  --accent:        #1B4F8A;
  --accent-mid:    #2A6BBF;
  --accent-light:  #2A9FD6;
  --text-primary:  #1C2B3A;
  --text-secondary:#4A5F74;
  --text-muted:    #8A9BAD;
  --text-on-dark:  #FFFFFF;
  --border:        rgba(27, 79, 138, 0.12);
  --border-strong: rgba(27, 79, 138, 0.25);
  --max-width:     1100px;
  --nav-height:    72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Typography ---------- */
.section-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 16px;
}

.section-heading {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.section-body {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.85;
}

/* ---------- Layout ---------- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 32px; }
section { padding: 100px 0; }

/* ---------- Fade-in ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 2px;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}
.btn-outline { border: 1px solid var(--accent); color: var(--accent); background: transparent; }
.btn-outline:hover { background: var(--accent); color: #fff; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-mid); }
.btn-primary-light { background: #fff; color: var(--accent); }
.btn-primary-light:hover { background: var(--bg-secondary); }

/* ============================================================
   NAVIGATION
   ============================================================ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: rgba(250, 250, 248, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
}
nav.scrolled { box-shadow: 0 2px 24px rgba(27, 79, 138, 0.08); }

.nav-inner {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-brand img { height: 34px; width: auto; }
.nav-wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-primary);
}
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links .nav-cta {
  padding: 9px 24px;
  background: var(--accent);
  color: #fff;
  border-radius: 2px;
  transition: background 0.2s ease;
}
.nav-links .nav-cta:hover { background: var(--accent-mid); color: #fff; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-primary);
  transition: all 0.25s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-height); left: 0; right: 0;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border);
  padding: 24px 32px;
  flex-direction: column;
  gap: 20px;
  z-index: 99;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: 14px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-secondary);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.nav-mobile a:last-child { border-bottom: none; color: var(--accent); }

/* ============================================================
   HERO — Split layout
   ============================================================ */
#hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 55% 45%;
  padding: 0;
}

.hero-left {
  display: flex;
  align-items: center;
  padding: calc(var(--nav-height) + 60px) 64px 80px;
  background: var(--bg-primary);
  position: relative;
}

/* Subtle dot pattern on left side */
.hero-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(27, 79, 138, 0.07) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.hero-content { position: relative; z-index: 1; }

.hero-accent-line {
  width: 48px; height: 3px;
  background: var(--accent);
  margin-bottom: 32px;
}

.hero-headline {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(40px, 4.5vw, 66px);
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.hero-subline {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 440px;
  margin-bottom: 48px;
}

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-right {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

.hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Fade edge: blend photo into left side */
.hero-right::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 120px;
  background: linear-gradient(to right, var(--bg-primary), transparent);
  z-index: 1;
  pointer-events: none;
}

/* Photo credit overlay (bottom right) */
.hero-photo-credit {
  position: absolute;
  bottom: 16px; right: 16px;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 400;
  color: rgba(255,255,255,0.45);
  z-index: 2;
  letter-spacing: 0.05em;
}

/* ============================================================
   ABOUT
   ============================================================ */
#about { background-color: var(--bg-secondary); }

.about-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 64px;
  align-items: start;
}

.about-text p { margin-bottom: 16px; }
.about-text p:last-child { margin-bottom: 0; }

/* Right column: photo stacked above stat cards */
.about-right { display: flex; flex-direction: column; gap: 16px; }

.about-photo {
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(27, 79, 138, 0.1);
}

.about-photo img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center 30%;
}

.stat-cards { display: flex; flex-direction: column; gap: 10px; }

.stat-card {
  background: var(--bg-card);
  border-left: 3px solid var(--accent);
  padding: 18px 20px;
  border-radius: 2px;
  box-shadow: 0 1px 8px rgba(27, 79, 138, 0.06);
  display: flex;
  align-items: center;
  gap: 16px;
}

.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 34px;
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
  min-width: 60px;
}

.stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ============================================================
   CALLOUT STRIP — city-night.jpg with quote
   ============================================================ */
.callout-strip {
  position: relative;
  padding: 96px 0;
  background-image: url('assets/city-night.jpg');
  background-size: cover;
  background-position: center 40%;
  background-attachment: fixed;
}

.callout-overlay {
  position: absolute;
  inset: 0;
  background: rgba(16, 24, 36, 0.84);
}

.callout-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 64px;
  text-align: center;
}

.callout-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 64px;
  font-weight: 300;
  color: var(--accent-light);
  line-height: 0.5;
  margin-bottom: 24px;
  opacity: 0.5;
}

.callout-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 300;
  color: #fff;
  line-height: 1.5;
  max-width: 780px;
  margin: 0 auto 32px;
  font-style: italic;
}

.callout-rule {
  width: 48px;
  height: 1px;
  background: var(--accent-light);
  margin: 0 auto 20px;
  opacity: 0.6;
}

.callout-author {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-light);
  opacity: 0.7;
}

/* ============================================================
   INVESTMENT FOCUS
   ============================================================ */
#focus { background-color: var(--bg-primary); }

.focus-intro { max-width: 560px; margin-bottom: 64px; }

.focus-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.focus-cell {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  cursor: default;
}
.focus-cell:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(27, 79, 138, 0.1);
  transform: translateY(-2px);
}
.focus-cell:hover .focus-icon { stroke: var(--accent); }

.focus-icon {
  width: 30px; height: 30px;
  stroke: var(--accent-light);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.2s ease;
}

.focus-cell-name {
  font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-secondary);
}

/* ============================================================
   LEADERSHIP — dark section with meeting.jpg texture
   ============================================================ */
#leadership {
  position: relative;
  background-color: var(--bg-dark);
  background-image: url('assets/meeting.jpg');
  background-size: cover;
  background-position: center 20%;
}

/* Strong dark overlay to keep bg barely visible */
#leadership::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(22, 33, 62, 0.93);
  pointer-events: none;
}

.leadership-container {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 100px 32px;
}

#leadership .section-label { color: var(--accent-light); }
#leadership .section-heading { color: var(--text-on-dark); }
#leadership .section-body { color: rgba(255,255,255,0.5); }

.leadership-intro { max-width: 560px; margin-bottom: 64px; }

.leadership-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.leader-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 2px;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: border-color 0.2s ease;
}
.leader-card:hover { border-color: rgba(42, 159, 214, 0.4); }

.leader-photo-wrap {
  width: 140px; height: 140px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(42, 159, 214, 0.5);
  margin-bottom: 28px;
  flex-shrink: 0;
}
.leader-photo-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}

.leader-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px; font-weight: 400;
  color: #fff;
  margin-bottom: 4px;
}
.linkedin-link {
    font-family: serif;
    font-size: 0.85rem;
    color: #D4AF37 !important; /* That muted gold color */
    text-decoration: none;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: opacity 0.3s ease;
}
.linkedin-link:hover {
    color: #FFFFFF !important; /* Turns white when you hover over it */
    text-decoration: underline;
  }
.leader-title {
  font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 20px;
}
.leader-divider {
  width: 40px; height: 1px;
  background: rgba(42, 159, 214, 0.5);
  margin-bottom: 24px;
}
.leader-highlights {
  margin-bottom: 20px;
  display: flex; flex-direction: column; gap: 8px;
}
.leader-highlights li {
  font-family: 'Inter', sans-serif;
  font-size: 13px; font-weight: 400;
  color: rgba(255,255,255,0.5);
  padding-left: 16px;
  position: relative;
}
.leader-highlights li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 1px;
  background: var(--accent-light);
}
.leader-bio {
  font-family: 'Inter', sans-serif;
  font-size: 14px; font-weight: 300;
  color: rgba(255,255,255,0.4);
  line-height: 1.8;
}

/* ============================================================
   CONTACT
   ============================================================ */
#contact { background-color: var(--bg-secondary); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.contact-info-items {
  margin-top: 32px;
  display: flex; flex-direction: column; gap: 24px;
}

.contact-info-item {
  display: flex; flex-direction: column; gap: 4px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.contact-info-item:last-child { border-bottom: none; }

.contact-info-label {
  font-family: 'Inter', sans-serif;
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent-light);
}
.contact-info-value {
  font-family: 'Inter', sans-serif;
  font-size: 15px; font-weight: 300;
  color: var(--text-secondary);
}
.contact-info-value a:hover { color: var(--text-primary); }

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 40px;
  box-shadow: 0 2px 20px rgba(27, 79, 138, 0.06);
  display: flex; flex-direction: column; gap: 20px;
}
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-muted);
}
.form-input, .form-textarea {
  font-family: 'Inter', sans-serif;
  font-size: 14px; font-weight: 300;
  color: var(--text-primary);
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}
.form-input:focus, .form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(27, 79, 138, 0.07);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-muted); }
.form-textarea { resize: vertical; min-height: 110px; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--bg-dark);
  padding: 32px 0;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { height: 28px; width: auto; opacity: 0.7; filter: brightness(10); }
.footer-brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px; font-weight: 400;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.04em;
}
.footer-right { text-align: right; }
.footer-copy {
  font-family: 'Inter', sans-serif;
  font-size: 12px; font-weight: 300;
  color: rgba(255,255,255,0.3);
  margin-bottom: 2px;
}
.footer-sub {
  font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 400;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent-light);
  opacity: 0.6;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  #hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-left {
    padding: calc(var(--nav-height) + 48px) 32px 56px;
    min-height: 70vh;
  }
  .hero-right {
    min-height: 50vw;
  }
  .hero-right::before { display: none; }

  .about-grid { grid-template-columns: 1fr; gap: 48px; }

  .focus-grid { grid-template-columns: repeat(2, 1fr); }

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

  .contact-grid { grid-template-columns: 1fr; gap: 40px; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-right { text-align: center; }

  .callout-strip { background-attachment: scroll; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  section { padding: 72px 0; }
  .hero-left { padding: calc(var(--nav-height) + 32px) 24px 48px; }
  .leader-card { padding: 32px 24px; }
  .contact-form { padding: 28px 24px; }
  .callout-content { padding: 0 32px; }
  .hero-ctas { flex-direction: column; }
  .stat-card { flex-direction: column; align-items: flex-start; gap: 6px; }
}
