@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Jost:wght@300;400;500;600&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy-deep: #03101C;
  --navy:      #071A2D;
  --navy-mid:  #0a2440;
  --gold:      #D4A24A;
  --gold-muted:#9a7232;
  --gold-pale: rgba(212,162,74,0.12);
  --white:     #FFFFFF;
  --w80:       rgba(255,255,255,0.80);
  --w60:       rgba(255,255,255,0.60);
  --w40:       rgba(255,255,255,0.40);
  --w08:       rgba(255,255,255,0.08);
  --border:    rgba(212,162,74,0.25);
  --cream:     #f8f6f2;
  --cream-border: #e2ddd8;
  --dark1:     #1a1a1a;
  --dark2:     #4a4a4a;
  --dark3:     #666666;
}

html { scroll-behavior: smooth; }
body {
  background: var(--navy-deep);
  color: var(--white);
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; }
p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

/* Admin bar */
.admin-bar nav { top: 32px; }
@media (max-width: 782px) { .admin-bar nav { top: 46px; } }

/* ── SKIP LINK ─────────────────────────── */
.skip-link { position: absolute; left: -10000px; }
.skip-link:focus { left: 6px; top: 7px; padding: 14px 22px; background: var(--gold); color: var(--navy-deep); z-index: 999999; font-weight: 600; }

/* ── NAV ───────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 72px;
  background: rgba(3,16,28,0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--w08);
}
.nav-logo { display: flex; flex-direction: column; line-height: 1; text-decoration: none; gap: 4px; }
.nav-logo .logo-main { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700; letter-spacing: 0.12em; color: var(--white); text-transform: uppercase; }
.nav-logo .logo-star { color: var(--gold); margin-right: 4px; }
.nav-logo .logo-sub  { font-size: 8.5px; font-weight: 500; letter-spacing: 0.38em; color: var(--gold); text-transform: uppercase; }

#primary-menu { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; }
#primary-menu li a {
  font-size: 10.5px; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--w60); text-decoration: none;
  transition: color 0.2s; position: relative; padding-bottom: 2px;
}
#primary-menu li a::after { content: ''; position: absolute; bottom: -3px; left: 0; right: 0; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform 0.25s; transform-origin: left; }
#primary-menu li a:hover { color: var(--gold); }
#primary-menu li a:hover::after, #primary-menu li.current-menu-item a::after { transform: scaleX(1); }
#primary-menu li.current-menu-item a { color: var(--white); }

/* ── HERO ──────────────────────────────── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding: 120px 5% 80px; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-color: var(--navy-deep);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(3,16,28,0.97) 40%, rgba(3,16,28,0.70) 65%, rgba(3,16,28,0.30) 100%);
}
/* Default hero image - replaced by customizer */
.hero-bg { background-image: url('https://images.unsplash.com/photo-1540575467063-178a50c2df87?w=1600&q=80'); }

.hero-content { position: relative; z-index: 1; max-width: 600px; }

.hero-eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.hero-eyebrow-line { width: 36px; height: 1px; background: var(--gold); flex-shrink: 0; }
.hero-eyebrow span { font-size: 10px; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); }

.hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(36px, 5vw, 60px); font-weight: 600; line-height: 1.12; color: var(--white); letter-spacing: -0.01em; margin-bottom: 10px; }
.hero h1 .gold { color: var(--gold); font-style: italic; display: block; }

.hero-sub { font-size: 16px; font-weight: 300; color: var(--w60); line-height: 1.75; max-width: 460px; margin: 20px 0 40px; }

.btn-gold {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 32px; background: transparent;
  border: 1px solid var(--gold); color: var(--gold);
  font-family: 'Jost', sans-serif; font-size: 11px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; cursor: pointer;
  transition: background 0.25s, color 0.25s; text-decoration: none;
}
.btn-gold:hover { background: var(--gold); color: var(--navy-deep); }
.btn-gold .arrow { transition: transform 0.2s; }
.btn-gold:hover .arrow { transform: translateX(4px); }

.hero-note { margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--w08); font-size: 12px; color: var(--w40); letter-spacing: 0.04em; max-width: 380px; line-height: 1.7; }

.hero-badge { position: absolute; right: 8%; top: 40%; z-index: 1; text-align: right; }
.hero-badge p { font-family: 'Playfair Display', serif; font-size: clamp(18px, 2.2vw, 26px); font-style: italic; color: var(--w80); line-height: 1.3; letter-spacing: 0.04em; }
.hero-badge p span { display: block; }

/* ── CREDIBILITY STRIP ─────────────────── */
.strip { background: var(--navy); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 22px 5%; }
.strip-inner { display: flex; align-items: center; gap: 0; }
.strip-label { font-size: 9px; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); white-space: nowrap; margin-right: 32px; flex-shrink: 0; line-height: 1.6; }
.strip-rule  { width: 1px; height: 32px; background: var(--border); margin-right: 32px; flex-shrink: 0; }
.strip-items { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.strip-item  { display: flex; align-items: center; gap: 10px; }
.strip-icon  { width: 30px; height: 30px; border: 1px solid var(--gold-muted); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--gold); flex-shrink: 0; }
.strip-item-label { font-size: 10px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--w60); white-space: nowrap; }

/* ── SHARED SECTION HELPERS ────────────── */
.section { padding: 100px 5%; }
.section-tag { font-size: 9px; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 18px; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .section-title { font-family: 'Jost', sans-serif; font-size: 11px; font-weight: 400; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.section-header .gold-rule { width: 40px; height: 1px; background: var(--gold); margin: 0 auto; }

.icon-svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; display: block; flex-shrink: 0; }

/* ── CHALLENGE ─────────────────────────── */
.challenge { background: var(--cream); }
.challenge-inner { display: grid; grid-template-columns: 1fr 1.5fr; gap: 72px; align-items: start; }
.challenge-left h2 { font-family: 'Playfair Display', serif; font-size: clamp(28px, 3.5vw, 42px); font-weight: 600; line-height: 1.18; color: var(--dark1); margin-bottom: 22px; }
.challenge-left p { font-size: 15px; color: var(--dark2); line-height: 1.8; }

.challenge-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--cream-border); margin-bottom: 1px; }
.challenge-cards-row2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--cream-border); }
.challenge-card { background: var(--cream); padding: 26px 20px; text-align: center; }
.challenge-card-icon { width: 36px; height: 36px; border: 1px solid var(--gold-muted); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; color: var(--gold-muted); }
.challenge-card h4 { font-size: 10px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dark1); margin-bottom: 8px; font-family: 'Jost', sans-serif; }
.challenge-card p { font-size: 12px; color: var(--dark3); line-height: 1.65; margin: 0; }
.challenge-quote { margin-top: 28px; text-align: center; font-family: 'Cormorant Garamond', serif; font-size: 17px; font-style: italic; color: #555; line-height: 1.6; }

/* ── HOW WE HELP ───────────────────────── */
.howwehelp { background: var(--navy-deep); padding-top: 80px; padding-bottom: 0; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--w08); margin-top: 0; }
.service-card { background: var(--navy); overflow: hidden; }

.service-img {
  width: 100%; height: 200px; object-fit: cover; display: block;
  filter: brightness(0.65) saturate(0.75);
  transition: filter 0.4s;
}
.service-card:hover .service-img { filter: brightness(0.85) saturate(1); }

/* Fallback placeholder when no image */
.service-img-placeholder {
  width: 100%; height: 200px;
  background: var(--navy-mid);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); opacity: 0.4;
}

.service-body { padding: 28px 22px 32px; }
.service-icon { width: 34px; height: 34px; border: 1px solid var(--gold-muted); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--gold); margin-bottom: 16px; }
.service-card h3 { font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--white); margin-bottom: 10px; line-height: 1.6; font-family: 'Jost', sans-serif; }
.service-card p  { font-size: 13px; color: var(--w60); line-height: 1.72; margin: 0; }

/* ── WHY ASPIRE ────────────────────────── */
.why { position: relative; display: flex; align-items: stretch; min-height: 500px; overflow: hidden; }
.why-img {
  width: 50%; flex-shrink: 0;
  background: url('https://images.unsplash.com/photo-1559136555-9303baea8ebd?w=900&q=80') center/cover no-repeat;
  filter: brightness(0.35) saturate(0.7);
  position: relative;
}
/* If customizer image is set */
.why-img.has-image { filter: brightness(0.45) saturate(0.8); }

.why-content { background: var(--navy); width: 50%; padding: 80px 7% 80px 7%; display: flex; flex-direction: column; justify-content: center; }
.why-content h2 { font-family: 'Playfair Display', serif; font-size: clamp(26px, 3vw, 44px); font-weight: 600; line-height: 1.15; color: var(--white); margin: 14px 0 0; }
.why-content h2 span { display: block; }
.why-rule { width: 48px; height: 1px; background: var(--gold); margin: 24px 0; }
.why-content p { font-size: 14px; color: var(--w60); line-height: 1.85; margin-bottom: 14px; }
.why-content p:last-child { margin-bottom: 0; }

/* ── EXPERTISE ─────────────────────────── */
.expertise { background: var(--navy); }
.expertise-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--w08); }
.expertise-item { background: var(--navy); padding: 24px 16px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; transition: background 0.2s; }
.expertise-item:hover { background: var(--navy-mid); }
.expertise-icon { color: var(--gold); width: 36px; height: 36px; border: 1px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.expertise-item span { font-size: 9px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--w60); line-height: 1.55; }

/* ── SUCCESS STORIES ───────────────────── */
.stories { background: var(--navy-deep); }
.stories-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--w08); }
.story-card { background: var(--navy); overflow: hidden; }
.story-img-wrap { height: 190px; overflow: hidden; position: relative; }
.story-img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.6) saturate(0.8); transition: filter 0.4s, transform 0.5s; }
.story-card:hover .story-img { filter: brightness(0.8) saturate(1); transform: scale(1.04); }
.story-img-placeholder { height: 190px; display: flex; align-items: center; justify-content: center; }
.story-body { padding: 28px 24px; }
.story-badge { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: var(--gold-pale); border: 1px solid var(--border); border-radius: 4px; color: var(--gold); font-family: 'Playfair Display', serif; font-size: 11px; font-weight: 700; margin-bottom: 14px; }
.story-title { font-size: 10px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.story-card p { font-size: 13px; color: var(--w60); line-height: 1.75; margin: 0; }

/* ── FOUNDER ───────────────────────────── */
.founder { background: var(--cream); padding: 80px 5%; }
.founder-inner { display: grid; grid-template-columns: 260px 1fr; gap: 64px; align-items: center; max-width: 940px; margin: 0 auto; }
.founder-photo-wrap { text-align: center; }
.founder-tag  { font-size: 9px; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-muted); display: block; margin-bottom: 16px; }
.founder-photo { width: 180px; height: 220px; object-fit: cover; object-position: top; margin: 0 auto 18px; border: 3px solid var(--cream-border); filter: grayscale(15%); }
.founder-photo-placeholder { width: 180px; height: 220px; background: var(--navy-mid); border: 3px solid var(--cream-border); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; color: rgba(255,255,255,0.2); }
.founder-name { font-family: 'Playfair Display', serif; font-size: clamp(20px, 2.5vw, 28px); font-weight: 600; color: var(--dark1); letter-spacing: 0.04em; line-height: 1.25; }
.founder-content p { font-size: 14px; color: var(--dark2); line-height: 1.9; margin-bottom: 18px; }
.founder-content p:last-child { margin-bottom: 0; }

/* ── FINAL CTA ─────────────────────────── */
.cta { background: var(--navy-deep); padding: 80px 5%; border-top: 1px solid var(--w08); }
.cta-inner { display: grid; grid-template-columns: 1.2fr auto 1fr; gap: 56px; align-items: center; }
.cta-left h2 { font-family: 'Playfair Display', serif; font-size: clamp(22px, 3vw, 38px); font-weight: 600; color: var(--white); line-height: 1.2; margin-bottom: 20px; }
.cta-left p  { font-size: 14px; color: var(--w60); line-height: 1.8; max-width: 400px; }
.cta-center  { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.cta-contact { display: flex; flex-direction: column; gap: 10px; }
.cta-contact a { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--w60); text-decoration: none; transition: color 0.2s; }
.cta-contact a:hover { color: var(--gold); }
.cta-contact .icon { width: 28px; height: 28px; border: 1px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cta-right { text-align: right; }
.cta-logo-main { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--white); display: block; margin-bottom: 5px; }
.cta-logo-sub  { font-size: 8px; font-weight: 500; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 16px; }
.cta-tagline   { font-family: 'Cormorant Garamond', serif; font-size: 13px; font-style: italic; color: var(--w60); line-height: 1.7; }

/* ── FOOTER BAR ────────────────────────── */
.footer-bar { background: var(--navy-deep); padding: 20px 5%; border-top: 1px solid var(--w08); text-align: center; font-size: 11px; color: var(--w40); letter-spacing: 0.06em; }

/* ── SCROLL REVEAL ─────────────────────── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

/* ── RESPONSIVE ────────────────────────── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .expertise-grid { grid-template-columns: repeat(4, 1fr); }
  .cta-inner { grid-template-columns: 1fr; gap: 36px; }
  .cta-right { text-align: left; }
}
@media (max-width: 860px) {
  #primary-menu { display: none; }
  .challenge-inner { grid-template-columns: 1fr; gap: 40px; }
  .challenge-cards { grid-template-columns: repeat(2, 1fr); }
  .why { flex-direction: column; }
  .why-img { width: 100%; height: 260px; }
  .why-content { width: 100%; }
  .stories-grid { grid-template-columns: 1fr; }
  .founder-inner { grid-template-columns: 1fr; text-align: center; gap: 32px; }
  .founder-photo, .founder-photo-placeholder { margin: 0 auto; }
  .hero-badge { display: none; }
  .expertise-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .challenge-cards { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
  .strip-items { gap: 16px; }
  .cta-inner { text-align: center; }
  .cta-center { align-items: center; }
}

/* ── THEME IMAGES (bundled) ───────────── */
/* These are overridden by Customizer uploads if set */
.hero-bg {
  background-image: url('../images/hero-bg.png');
}
.why-img {
  background-image: url('../images/why-bg.png') !important;
  filter: brightness(0.40) saturate(0.75);
}
.cta {
  position: relative;
}
.cta::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background: url('../images/cta-bg.png') center/cover no-repeat;
  opacity: 0.08;
  pointer-events: none;
}
.cta-inner, .footer-bar { position: relative; z-index: 1; }

/* ── ELEMENTOR COMPATIBILITY ──────────── */
/* Remove default padding Elementor adds around the page */
.elementor-section-wrap { padding-top: 0 !important; }
.elementor-page .amp-page-content { padding: 0 !important; margin: 0 !important; }

/* Full-width stretched sections */
.elementor-section.elementor-section-stretched {
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
}

/* Hide WP page title on Elementor pages */
.elementor-page .entry-header,
.elementor-page .page-header,
.elementor-page h1.entry-title,
.elementor-page h1.page-title {
  display: none !important;
}

/* Founder image fix in Elementor */
.founder-img img {
  width: 180px !important;
  height: 220px !important;
  object-fit: cover !important;
  object-position: top !important;
  border: 3px solid #e2ddd8 !important;
  display: block !important;
  margin: 0 auto 18px !important;
}
