/* ═══════════════════════════════════════════════════════
   WEALTHARCH — HOME PAGE STYLES  v2
   ═══════════════════════════════════════════════════════ */

/* ── HERO ────────────────────────────────────────────────── */
#hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #0f2d52 100%);
}

.hero-main {
  flex: 1;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 5rem) 7% 5rem;
}

/* Animated geometric background */
.hero-bg-circle {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(192,154,58,0.1);
  pointer-events: none;
}
.hero-bg-circle:nth-child(1) { width: 55vw; height: 55vw; bottom: -15%; right: -8%; opacity: 0.6; animation: breathe 9s ease-in-out infinite; }
.hero-bg-circle:nth-child(2) { width: 80vw; height: 80vw; bottom: -25%; right: -18%; opacity: 0.3; animation: breathe 9s ease-in-out infinite 2s; }
.hero-bg-circle:nth-child(3) { width: 105vw; height: 105vw; bottom: -35%; right: -28%; opacity: 0.12; animation: breathe 9s ease-in-out infinite 4s; }

/* Vertical gold rule on right */
.hero-accent-line {
  position: absolute; top: 0; right: 22%;
  width: 1px; height: 100%;
  background: linear-gradient(180deg, transparent 5%, rgba(192,154,58,0.15) 40%, transparent 95%);
  pointer-events: none;
}

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

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 2.25rem;
  animation: fadeInUp 0.9s var(--ease-out) both;
}
.hero-eyebrow::before { content: ''; width: 26px; height: 1px; background: var(--gold); }

.hero-headline {
  font-family: var(--ff-serif);
  font-size: clamp(2.6rem, 5.5vw, 5.75rem);
  font-weight: 300; line-height: 1.06; letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 1.75rem;
  animation: fadeInUp 0.9s var(--ease-out) 0.12s both;
}
.hero-headline em { font-style: italic; color: var(--gold); }

.hero-sub {
  font-size: 0.97rem; color: rgba(255,255,255,0.95);
  max-width: 460px; line-height: 1.9; margin-bottom: 2.75rem;
  animation: fadeInUp 0.9s var(--ease-out) 0.24s both;
}

.hero-actions {
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
  animation: fadeInUp 0.9s var(--ease-out) 0.36s both;
}
.hero-actions .btn-primary { background: var(--gold); color: var(--navy); font-size: 0.75rem; }
.hero-actions .btn-primary:hover { background: var(--white); color: var(--navy); gap: 1rem; }
.hero-actions .btn-outline { color: rgba(255,255,255,0.72); border-color: rgba(255,255,255,0.18); font-size: 0.875rem; }
.hero-actions .btn-outline:hover { color: var(--gold); border-color: var(--gold); }

/* Stats row inside hero */
.hero-stats {
  display: flex; gap: 2.5rem; margin-top: 3.5rem; flex-wrap: wrap;
  padding-top: 2.5rem; border-top: 1px solid rgba(255,255,255,0.08);
  animation: fadeInUp 0.9s var(--ease-out) 0.48s both;
}
.hero-stat-item { display: flex; flex-direction: column; gap: 0.2rem; }
.hero-stat-num {
  font-family: var(--ff-serif); font-size: 1.85rem; font-weight: 300;
  color: var(--white); line-height: 1;
}
.hero-stat-num span { color: var(--gold); }
.hero-stat-label {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.80);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes breathe { 0%,100% { transform: scale(1); } 50% { transform: scale(1.04); } }

/* Responsive hero */
@media (max-width: 768px) {
  .hero-main { padding: calc(var(--nav-h) + 3rem) 6% 3rem; }
}

/* ── ABOUT STRIP (Home) ─────────────────────────────────── */
#home-about { background: var(--white); }
#home-about .section-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}
.about-quote {
  font-family: var(--ff-serif);
  font-size: clamp(1.15rem, 1.8vw, 1.6rem);
  font-style: italic; font-weight: 400; line-height: 1.6;
  color: #0D1F38;
  border-left: 3px solid var(--gold);
  padding-left: 1.5rem; margin: 2rem 0;
}
.about-body { font-size: 0.97rem; color: #1F2937; line-height: 1.9; margin-bottom: 1rem; }

.value-cards { display: flex; flex-direction: column; gap: 0.85rem; }
.value-card {
  display: flex; align-items: flex-start; gap: 1.1rem;
  padding: 1.35rem; border: 1px solid var(--line);
  border-radius: 3px; background: var(--cream);
  transition: border-color 0.3s, transform 0.35s var(--ease-out), box-shadow 0.3s;
}
.value-card:hover {
  border-color: var(--gold);
  transform: translateX(5px);
  box-shadow: 0 4px 20px rgba(192,154,58,0.08);
}
.value-icon { display: none; }
.value-title { font-family: var(--ff-serif); font-size: 1.25rem; font-weight: 600; margin-bottom: 0.3rem; color: var(--navy); }
.value-body { font-size: 0.9rem; color: var(--ink-60); line-height: 1.7; }

/* ── SERVICES PREVIEW ───────────────────────────────────── */
#home-services { background: var(--cream); }
.services-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 3rem; gap: 2rem; flex-wrap: wrap;
}
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5px; background: var(--line);
}
.service-card {
  background: var(--white); padding: 2.5rem;
  position: relative; overflow: hidden; cursor: default;
}
.service-card::before {
  content: ''; position: absolute; inset: 0;
  background: var(--navy);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform 0.45s var(--ease-out); z-index: 0;
}
.service-card:hover::before { transform: scaleY(1); }
.service-card > * { position: relative; z-index: 1; }
.service-card:hover .svc-name,
.service-card:hover .svc-desc { color: rgba(255,255,255,0.85); }
.service-card:hover .svc-line { background: var(--gold); }

/* Remove number and arrow */
.svc-num { display: none; }
.svc-arrow { display: none; }

.svc-line {
  width: 24px; height: 2px; background: var(--gold);
  margin-bottom: 1.1rem; transition: background 0.3s;
}
.svc-name {
  font-family: var(--ff-serif); font-size: 1.35rem; font-weight: 600;
  line-height: 1.2; margin-bottom: 0.75rem; transition: color 0.3s;
  color: #0D1F38;
}
.svc-desc {
  font-size: 0.88rem; color: #374151;
  line-height: 1.8; transition: color 0.3s;
}

/* ── PRINCIPLES SECTION (Home) ──────────────────────────── */
#home-principles { background: var(--white); }
#home-principles .section-inner { display: block; }
.principles-header { max-width: 680px; margin-bottom: 3.5rem; }
.principles-sub { font-size: 1rem; color: #374151; line-height: 1.85; margin-top: 1rem; }
.principles-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.principle-card {
  background: var(--cream); border: 1px solid #E5E0D5;
  border-radius: 6px; padding: 2.5rem;
  transition: border-color 0.3s, transform 0.35s var(--ease-out), box-shadow 0.3s;
}
.principle-card:hover {
  border-color: var(--gold);
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(11,31,58,0.07);
}
.principle-icon {
  width: 50px; height: 50px; margin-bottom: 1.25rem;
  color: #1C3A5E;
}
.principle-icon svg { width: 100%; height: 100%; }
.principle-title {
  font-family: var(--ff-serif); font-size: 1.35rem; font-weight: 600;
  color: #0D1F38; margin-bottom: 0.65rem;
}
.principle-body { font-size: 0.93rem; color: #374151; line-height: 1.85; }

@media (max-width: 768px) { .principles-grid { grid-template-columns: 1fr; } }

/* ── PARTNERS PREVIEW (Home) ────────────────────────────── */
#home-partners { background: var(--navy); }
#home-partners .section-title { color: var(--white); }
#home-partners .section-label { opacity: 0.8; }
.partners-intro {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: end; margin-bottom: 2rem;
}
#home-partners p { color: rgba(255,255,255,0.97); font-size: 1rem; line-height: 1.9; }
#home-partners .btn-primary { background: var(--gold); color: var(--navy); }
#home-partners .btn-primary:hover { background: var(--white); }

/* ── PHILOSOPHY STRIP ───────────────────────────────────── */
#home-philosophy { background: var(--gold-bg); }
#home-philosophy .section-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6rem; align-items: center;
}
.phi-list { margin-top: 2.5rem; display: flex; flex-direction: column; }
.phi-item {
  display: flex; align-items: flex-start; gap: 0;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(192,154,58,0.2);
}
.phi-item:last-child { border-bottom: none; }
.phi-num { display: none; }
.phi-text strong {
  font-family: var(--ff-serif); font-size: 1.3rem; font-weight: 600;
  display: block; margin-bottom: 0.3rem; color: var(--navy);
}
.phi-text p { font-size: 0.95rem; color: var(--ink-60); line-height: 1.75; }

.phi-visual {
  display: flex; align-items: center; justify-content: center;
  height: 420px; position: relative;
}
.phi-diamond {
  width: 160px; height: 160px; background: var(--navy);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  position: absolute;
  animation: spinDiamond 22s linear infinite;
}
.phi-diamond-inner {
  width: 80px; height: 80px; background: var(--gold);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  position: absolute;
  animation: spinDiamond 22s linear infinite reverse;
}
.phi-ring {
  border-radius: 50%; position: absolute; border: 1px solid var(--navy);
  animation: breathe 4s ease-in-out infinite;
}
.phi-ring:nth-child(3) { width: 280px; height: 280px; opacity: 0.15; }
.phi-ring:nth-child(4) { width: 380px; height: 380px; opacity: 0.08; animation-delay: 1.5s; }
.phi-center { position: absolute; z-index: 2; font-family: var(--ff-serif); font-size: 0.85rem; font-weight: 700; color: var(--gold); letter-spacing: 0.1em; }
@keyframes spinDiamond { to { transform: rotate(360deg); } }

/* ── CONTACT CTA ────────────────────────────────────────── */
#home-cta { background: var(--navy); }
#home-cta .section-inner {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 4.5rem; padding-bottom: 4.5rem;
  gap: 3rem; flex-wrap: wrap;
}
.cta-title {
  font-family: var(--ff-serif);
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  font-weight: 300; color: var(--white); line-height: 1.1; margin-bottom: 0.5rem;
}
.cta-title em { color: var(--gold); font-style: italic; }
.cta-sub { font-size: 0.95rem; color: rgba(255,255,255,0.78); }
.cta-form { display: flex; gap: 0; }
.cta-form input {
  flex: 1; min-width: 0; padding: 0.9rem 1.1rem;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  border-right: none;
  border-radius: 2px 0 0 2px;
  font-family: var(--ff-sans); font-size: 0.9rem; color: var(--white); outline: none;
  transition: border-color 0.2s;
}
.cta-form input:focus { border-color: var(--gold); }
.cta-form input::placeholder { color: rgba(255,255,255,0.80); }
.cta-form button {
  padding: 0.9rem 1.5rem; background: var(--gold); color: var(--navy);
  border: none; cursor: pointer; font-family: var(--ff-sans);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.09em;
  text-transform: uppercase; border-radius: 0 2px 2px 0;
  transition: background 0.25s; white-space: nowrap;
}
.cta-form button:hover { background: var(--gold-lt); }
.cta-note { font-size: 0.72rem; margin-top: 0.6rem; color: rgba(255,255,255,0.72); }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  #home-about .section-inner { grid-template-columns: 1fr; gap: 3rem; }
  #home-philosophy .section-inner { grid-template-columns: 1fr; gap: 3rem; }
  .partners-intro { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; }
  #home-cta .section-inner { flex-direction: column; }
  .cta-form { flex-direction: column; }
  .cta-form input { border-right: 1px solid rgba(255,255,255,0.12); border-radius: 2px; }
  .cta-form button { border-radius: 2px; }
}
