/* ============================================
   Concept B — Terra
   Earthy warmth · Organic shapes · Grounded
   ============================================ */

:root {
  --bg: #F5EDE3;
  --bg-2: #EDE3D5;
  --ink: #1B2B22;
  --muted: #5C6B5E;
  --line: #D4C8B8;
  --brand: #1B3A2D;
  --brand-light: #2D5E47;
  --accent: #C9A96E;
  --accent-dark: #B08E4F;
  --card: #FFFDF9;
  --card-border: #E2D8CA;
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --max-w: 1200px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; scroll-padding-top: 64px; }

body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { border: none; background: none; cursor: pointer; font: inherit; }

/* ---- Blob BG ---- */
.blob-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ---- Reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Typography ---- */
.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 1rem;
}

h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--brand);
}
.text-accent { color: var(--accent-dark); }

h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--brand);
}

h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.2rem;
  line-height: 1.3;
  color: var(--brand);
}

h4 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 34px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.35s var(--ease);
}
.btn-primary {
  background: var(--brand);
  color: #fff;
}
.btn-primary:hover {
  background: var(--brand-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(27, 58, 45, 0.2);
}
.btn-outline {
  border: 1.5px solid var(--brand);
  color: var(--brand);
  background: transparent;
}
.btn-outline:hover {
  background: var(--brand);
  color: #fff;
}

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(245, 237, 227, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 1.05rem;
}
.logo img { border-radius: 8px; }
.primary-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.primary-nav a {
  font-size: 0.84rem;
  font-weight: 400;
  color: var(--muted);
  transition: color 0.25s;
}
.primary-nav a:hover { color: var(--brand); }
.header-cta {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 22px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--brand);
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}
.header-cta:hover { background: var(--accent-dark); color: #fff; }
.menu-toggle { display: none; }

/* ---- Hero ---- */
.hero {
  position: relative;
  z-index: 1;
  padding: clamp(32px, 4vw, 56px) clamp(20px, 4vw, 48px) clamp(24px, 3vw, 40px);
  text-align: center;
}
.hero-inner {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero h1 { margin-bottom: 1rem; }
.hero-sub {
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  color: var(--muted);
  max-width: 580px;
  margin-bottom: 1.25rem;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: clamp(24px, 3vw, 36px);
}

/* Portrait */
.hero-portrait {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.portrait-ring {
  width: clamp(180px, 22vw, 260px);
  height: clamp(180px, 22vw, 260px);
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--accent);
  box-shadow: 0 20px 60px rgba(27, 58, 45, 0.12);
  animation: portraitFloat 6s ease-in-out infinite;
}
.portrait-ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.portrait-info {
  text-align: center;
}
.portrait-name {
  display: block;
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--brand);
}
.portrait-detail {
  font-size: 0.78rem;
  color: var(--muted);
}

@keyframes portraitFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---- Pillars ---- */
.pillars {
  position: relative;
  z-index: 1;
  padding: clamp(40px, 5vw, 64px) clamp(20px, 4vw, 48px);
}
.pillars-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  gap: 0;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  overflow: hidden;
}
.pillar {
  flex: 1;
  padding: clamp(28px, 3vw, 44px);
  text-align: center;
}
.pillar-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--bg);
  color: var(--brand);
}
.pillar h3 { margin-bottom: 8px; }
.pillar p { font-size: 0.85rem; color: var(--muted); line-height: 1.55; }
.pillar-divider {
  width: 1px;
  background: var(--card-border);
  align-self: stretch;
}

/* ---- About ---- */
.about {
  position: relative;
  z-index: 1;
  padding: clamp(24px, 3vw, 40px) clamp(20px, 4vw, 48px) clamp(64px, 8vw, 120px);
}
.about-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.about-visual { position: relative; }
.about-img-wrap {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(27, 58, 45, 0.1);
}
.about-img-wrap img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.about-stat {
  position: absolute;
  bottom: -20px;
  right: 0;
  background: var(--brand);
  color: #fff;
  padding: 16px 20px;
  border-radius: 18px;
  max-width: 260px;
  box-shadow: 0 12px 32px rgba(27, 58, 45, 0.2);
}
.stat-value {
  display: block;
  font-family: var(--serif);
  font-size: 0.9rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
  white-space: nowrap;
}
.stat-label {
  font-size: 0.75rem;
  line-height: 1.3;
  opacity: 0.85;
}
.about-text h2 { margin-bottom: 1.25rem; }
.about-text p {
  font-size: 0.93rem;
  color: var(--muted);
  margin-bottom: 1rem;
  max-width: 520px;
}
.about-list {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.about-list li {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--brand);
  padding-left: 20px;
  position: relative;
}
.about-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---- Services ---- */
.services {
  position: relative;
  z-index: 1;
  padding: clamp(64px, 8vw, 120px) clamp(20px, 4vw, 48px);
  background: var(--brand);
}
.services-inner { max-width: var(--max-w); margin: 0 auto; }
.services-header { margin-bottom: clamp(36px, 4vw, 56px); }
.services .eyebrow { color: var(--accent); }
.services h2 { color: #fff; }
.services-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.service-row {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  padding: clamp(24px, 3vw, 36px) clamp(16px, 3vw, 32px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.3s;
}
.service-row:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.service-row:hover { background: rgba(255, 255, 255, 0.03); }
.service-index {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--accent);
  min-width: 48px;
  flex-shrink: 0;
}
.service-body { flex: 1; }
.service-body h3 {
  color: #fff;
  margin-bottom: 6px;
  font-size: 1.15rem;
}
.service-body p { font-size: 0.88rem; color: rgba(255, 255, 255, 0.6); line-height: 1.55; }
.service-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  transition: all 0.3s var(--ease);
}
.service-arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--brand);
}

/* ---- Process ---- */
.process {
  position: relative;
  z-index: 1;
  padding: clamp(64px, 8vw, 120px) clamp(20px, 4vw, 48px);
}
.process-inner {
  max-width: 700px;
  margin: 0 auto;
}
.process-inner h2 { margin-bottom: clamp(36px, 4vw, 56px); }
.timeline {
  position: relative;
  padding-left: 48px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 8px;
  bottom: 8px;
  width: 1.5px;
  background: linear-gradient(to bottom, var(--accent), var(--line));
}
.tl-item {
  position: relative;
  padding-bottom: 36px;
}
.tl-item:last-child { padding-bottom: 0; }
.tl-number {
  position: absolute;
  left: -48px;
  top: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 0.85rem;
  color: var(--accent-dark);
  background: var(--card);
  border: 2px solid var(--accent);
  border-radius: 50%;
  z-index: 1;
}
.tl-content h4 { margin-bottom: 4px; color: var(--brand); }
.tl-content p { font-size: 0.88rem; color: var(--muted); }

/* ---- Contact ---- */
.contact {
  position: relative;
  z-index: 1;
  padding: clamp(64px, 8vw, 120px) clamp(20px, 4vw, 48px);
  background: var(--bg-2);
}
.contact-inner { max-width: 720px; margin: 0 auto; }
.contact-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 28px;
  padding: clamp(36px, 5vw, 60px);
  text-align: center;
}
.contact-card h2 { margin-bottom: 1rem; }
.contact-card > p {
  font-size: 0.93rem;
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 2rem;
}
.contact-book-btn {
  display: inline-block;
  font-size: 1rem;
  padding: 18px 48px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-item {
  display: flex;
  flex-direction: column;
  padding: 20px;
  border: 1px solid var(--card-border);
  border-radius: 14px;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.contact-item:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.ci-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-dark);
  margin-bottom: 4px;
}
.ci-value {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--brand);
}

/* ---- Footer ---- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 24px clamp(20px, 4vw, 48px);
  position: relative;
  z-index: 1;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--muted);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 920px) {
  .hero h1 br { display: none; }
  .pillars-inner { flex-direction: column; }
  .pillar-divider { width: 100%; height: 1px; }
  .about-inner { grid-template-columns: 1fr; }
  .about-visual { max-width: 420px; margin: 0 auto; }
  .about-stat { right: 0; }
  .service-row { flex-wrap: wrap; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .primary-nav {
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    height: calc(100vh - 64px);
    z-index: 9999;
    background-color: #F5EDE3;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 48px 32px;
    gap: 32px;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s var(--ease), visibility 0.35s;
  }
  .primary-nav.open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }
  .primary-nav a {
    font-size: 1.25rem;
    color: var(--ink);
    font-family: var(--serif);
  }
  .header-cta { display: none; }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-left: auto;
    padding: 8px;
    position: relative;
    z-index: 10000;
  }
  .menu-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--ink);
    transition: all 0.3s;
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .service-arrow { display: none; }
  .footer-inner { flex-direction: column; gap: 4px; align-items: center; }
}

/* Calendly overrides */
.calendly-badge-widget { display: none !important; }
.calendly-overlay .calendly-close-overlay { background: rgba(245, 237, 227, 0.75) !important; }
.calendly-popup-close { color: #1B2B22 !important; }
.calendly-overlay .calendly-popup { border-radius: 16px !important; overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
  .portrait-ring { animation: none; }
  .blob-bg circle animate { fill: none; }
}
