:root {
  --sage-base: #8a9a86;
  --sage-light: #f4f6f4;
  --sage-mid: #d4dcd2;
  --sage-dark: #2b3628;
  --sage-accent: #b5c1b1;
  --white: #ffffff;
  --text-main: #333d31;
  --text-muted: #5a6b57;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Quicksand', sans-serif;
  background-color: var(--white);
  color: var(--text-main);
  margin: 0;
  padding: 0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, .ec-img-fluid {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

h1, h2, h3, h4 {
  color: var(--sage-dark);
  font-weight: 400;
  margin-top: 0;
}

a {
  color: var(--sage-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--sage-base);
}

/* Utility Classes */
.ec-btn-primary {
  display: inline-block;
  background-color: var(--sage-dark);
  color: var(--white) !important;
  padding: 1rem 2rem;
  border-radius: 30px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}
.ec-btn-primary:hover {
  background-color: var(--sage-base);
  transform: translateY(-2px);
}

.ec-btn-hollow {
  display: inline-block;
  border: 1px solid var(--sage-dark);
  color: var(--sage-dark);
  padding: 0.6rem 1.5rem;
  border-radius: 30px;
  font-weight: 600;
}
.ec-btn-hollow:hover {
  background-color: var(--sage-dark);
  color: var(--white);
}

.ec-inline-link {
  text-decoration: underline;
  text-decoration-color: var(--sage-accent);
  text-underline-offset: 4px;
  font-weight: 600;
}

.ec-rounded-img {
  border-radius: 24px;
}

.ec-mt-2 {
  margin-top: 2rem;
}

.ec-center-text {
  text-align: center;
}

/* Header */
.ec-top-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  border-bottom: 1px solid var(--sage-light);
}

.ec-brand-mark {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--sage-dark);
}

.ec-brand-icon {
  width: 24px;
  height: 24px;
  background-color: var(--sage-base);
  border-radius: 50%;
  position: relative;
}
.ec-brand-icon::after {
  content: '';
  position: absolute;
  top: 4px;
  right: -4px;
  width: 16px;
  height: 16px;
  background-color: var(--sage-accent);
  border-radius: 50%;
}

.ec-main-nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.ec-main-nav a:not(.ec-btn-hollow) {
  font-weight: 600;
  font-size: 0.95rem;
}

/* Hero Segment */
.ec-hero-segment {
  position: relative;
  overflow: hidden;
  padding: 8rem 5% 6rem;
  background-color: var(--sage-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}

.ec-hero-shapes {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: linear-gradient(135deg, var(--sage-base), var(--sage-accent));
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  opacity: 0.15;
  z-index: 0;
  animation: ec-morph 20s ease-in-out infinite alternate;
}

@keyframes ec-morph {
  0% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
  100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

.ec-hero-content {
  position: relative;
  z-index: 1;
  flex: 1;
  max-width: 550px;
}

.ec-hero-title {
  font-size: 4rem;
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.ec-hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.ec-hero-img-wrap {
  position: relative;
  z-index: 1;
  flex: 1;
  border-radius: 150px 150px 24px 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(43,54,40,0.08);
}

/* Firm Overview */
.ec-firm-overview {
  padding: 7rem 5%;
  display: flex;
  align-items: center;
  gap: 5rem;
}

.ec-overview-text {
  flex: 1;
}

.ec-overview-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.ec-overview-text p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.ec-stat-cluster {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--sage-mid);
}

.ec-stat-item {
  display: flex;
  flex-direction: column;
}

.ec-stat-number, .ec-stat-item span:not(.ec-stat-label) {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--sage-base);
  line-height: 1;
}

.ec-stat-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--sage-dark);
  margin-top: 0.5rem;
}

.ec-overview-img {
  flex: 1;
}

/* Wealth Offerings (Asymmetric Cards) */
.ec-wealth-offerings {
  padding: 8rem 5%;
  background-color: var(--sage-dark);
  color: var(--white);
}

.ec-wealth-offerings h2, .ec-wealth-offerings h3 {
  color: var(--white);
}

.ec-offerings-intro {
  max-width: 800px;
  margin-bottom: 4rem;
}

.ec-offerings-intro h2 {
  font-size: 2.5rem;
}

.ec-offerings-intro p {
  font-size: 1.1rem;
  color: var(--sage-mid);
}

.ec-process-list {
  margin-top: 2rem;
  padding-left: 1.5rem;
  color: var(--sage-light);
}

.ec-process-list li {
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.ec-process-list strong {
  color: var(--sage-accent);
}

.ec-offerings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: start;
}

.ec-offering-card {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2.5rem;
  border-radius: 24px;
  transition: transform 0.3s ease;
}

.ec-offering-card:hover {
  transform: translateY(-10px);
}

.ec-offering-card img {
  border-radius: 12px;
  margin-bottom: 1.5rem;
  height: 200px;
}

.ec-offering-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.ec-offering-card p {
  color: var(--sage-mid);
  font-size: 0.95rem;
}

.ec-card-featured {
  grid-row: span 2;
  background-color: rgba(255, 255, 255, 0.1);
}

/* Endorsements */
.ec-endorsements {
  padding: 6rem 5%;
  background: var(--white);
}

.ec-endorsements h2 {
  font-size: 2.5rem;
}

.ec-endorsement-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.ec-review-card {
  background: var(--sage-light);
  padding: 3rem 2rem;
  border-radius: 24px;
  position: relative;
}

.ec-review-card:nth-child(2) {
  transform: translateY(3rem);
}

.ec-quote {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.ec-reviewer {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ec-reviewer img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.ec-reviewer span {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--sage-dark);
}

/* Inquiry Zone */
.ec-inquiry-zone {
  padding: 8rem 5% 6rem;
  background-color: var(--white);
}

.ec-inquiry-layout {
  display: flex;
  gap: 5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.ec-inquiry-info {
  flex: 1;
}

.ec-inquiry-info h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.ec-micro-details {
  margin: 2rem 0;
  padding: 1.5rem;
  background-color: var(--sage-light);
  border-radius: 16px;
}

.ec-micro-details p {
  margin: 0.5rem 0;
  font-size: 0.95rem;
}

.ec-inquiry-form-wrap {
  flex: 1;
  background-color: var(--white);
  padding: 3rem;
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.05);
  border: 1px solid var(--sage-light);
}

.ec-form-group {
  margin-bottom: 1.5rem;
}

.ec-form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--sage-dark);
}

.ec-form-group input, .ec-form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--sage-mid);
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  background-color: var(--sage-light);
  transition: border-color 0.3s ease;
}

.ec-form-group input:focus, .ec-form-group textarea:focus {
  outline: none;
  border-color: var(--sage-base);
  background-color: var(--white);
}

/* Footer */
.ec-bottom-matter {
  background-color: var(--sage-dark);
  color: var(--sage-mid);
  padding: 5rem 5% 2rem;
}

.ec-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.ec-footer-col h4 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.ec-footer-col p, .ec-footer-col a {
  color: var(--sage-mid);
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.ec-footer-col a:hover {
  color: var(--white);
}

.ec-footer-desc {
  margin-top: 1rem;
  max-width: 250px;
}

.ec-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.ec-tiny-disclaimer {
  font-size: 0.75rem;
  color: var(--sage-base);
  max-width: 600px;
  text-align: right;
}

/* Responsive Breakdown */
@media (max-width: 1024px) {
  .ec-hero-title { font-size: 3.2rem; }
  .ec-firm-overview { flex-direction: column; gap: 3rem; }
  .ec-inquiry-layout { flex-direction: column; gap: 3rem; }
  .ec-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .ec-main-nav { display: none; } /* Simplified mobile for demo */
  .ec-hero-segment { flex-direction: column; padding: 6rem 5% 4rem; text-align: center; }
  .ec-hero-content { max-width: 100%; }
  .ec-hero-img-wrap { width: 100%; border-radius: 40px; }
  .ec-stat-cluster { flex-direction: column; gap: 2rem; }
  .ec-review-card:nth-child(2) { transform: none; }
  .ec-footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .ec-tiny-disclaimer { text-align: left; }
}
