/* ==========================================================================
   Design System & Custom Properties
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..900;1,9..144,300..900&family=Outfit:wght@300..900&display=swap');

:root {
  /* Color Palette (Organic Earth Tones) */
  --bg-primary: hsl(40, 24%, 96%);
  /* Warm linen/sand */
  --bg-secondary: hsl(140, 16%, 92%);
  /* Muted sage background */
  --bg-card: hsl(0, 0%, 100%);
  /* White card base */
  --bg-dark: hsl(140, 24%, 12%);
  /* Deep forest green for footer/dark areas */

  --text-primary: hsl(150, 12%, 16%);
  /* Deep charcoal with pine hint */
  --text-secondary: hsl(150, 8%, 36%);
  /* Muted charcoal for captions */
  --text-light: hsl(40, 24%, 96%);
  /* Light text for dark sections */

  --color-primary: hsl(140, 24%, 22%);
  /* Rich forest green */
  --color-secondary: hsl(135, 12%, 46%);
  /* Soft sage green */
  --color-accent: hsl(28, 55%, 48%);
  /* Terracotta/clay */
  --color-accent-hover: hsl(28, 55%, 40%);
  --color-highlight: hsl(38, 85%, 52%);
  /* Warm marigold/sunshine */
  --color-highlight-bg: hsl(38, 85%, 95%);

  /* Typography */
  --font-serif: 'Fraunces', Georgia, serif;
  --font-sans: 'Outfit', system-ui, -apple-system, sans-serif;

  /* Layout & Spacing */
  --container-width: 1200px;
  --header-height: 80px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;

  /* Shadows */
  --shadow-sm: 0 4px 20px rgba(40, 50, 40, 0.02);
  --shadow-md: 0 12px 30px rgba(40, 50, 40, 0.05);
  --shadow-lg: 0 24px 50px rgba(40, 50, 40, 0.08);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-primary);
}

p {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text-primary);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--color-secondary);
  border-radius: var(--radius-sm);
  border: 2px solid var(--bg-primary);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section-padding {
  padding: 8rem 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 5rem 0;
  }
}

.text-center {
  text-align: center;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Custom Ribbon Header Style */
.section-title {
  font-size: 2.75rem;
  margin-bottom: 1rem;
  position: relative;
}

.section-subtitle {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
  display: block;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.btn-primary {
  background-color: var(--color-accent);
  color: #fff;
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(28, 55, 48, 0.15);
}

.btn-primary svg {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.btn-primary:hover svg {
  transform: translateX(4px);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.main-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(247, 245, 240, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(135, 122, 110, 0.1);
  transition: var(--transition-smooth);
}

.main-header.scrolled {
  box-shadow: var(--shadow-sm);
  background: rgba(247, 245, 240, 0.95);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo-block {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-primary);
  line-height: 1.1;
}

.logo-tagline {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-secondary);
  margin-top: 0.1rem;
}

/* Desktop Nav Menu */
.nav-menu {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: var(--color-accent);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--color-accent);
}

/* Hamburger Menu */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1100;
}

.hamburger {
  display: block;
  position: relative;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  transition: var(--transition-fast);
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-primary);
  transition: var(--transition-fast);
}

.hamburger::before {
  top: -6px;
}

.hamburger::after {
  bottom: -6px;
}

/* Open State mobile menu */
.nav-toggle.open .hamburger {
  background: transparent;
}

.nav-toggle.open .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

.nav-toggle.open .hamburger::after {
  transform: rotate(-45deg);
  bottom: 0;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--bg-primary);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    transition: var(--transition-smooth);
    z-index: 1050;
  }

  .nav-menu.open {
    right: 0;
  }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
#hero {
  padding-top: 1.5rem;
  padding-bottom: 5rem;
}

@media (max-width: 768px) {
  #hero {
    padding-top: 1rem;
    padding-bottom: 3.5rem;
  }
}

.hero-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  min-height: calc(75vh - var(--header-height));
  gap: 4rem;
  padding: 1.5rem 2rem 3rem;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 1.5;
  /* Lock 3:2 aspect ratio to match dimensions */
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-image-wrapper:hover .hero-img {
  transform: scale(1.05);
}

/* Floating overlay decoration for hero */
.hero-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.hero-title {
  font-size: 3.25rem;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.hero-text {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

@media (max-width: 1024px) {
  .hero-section {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 2rem 1.5rem;
    text-align: center;
    min-height: auto;
  }

  .hero-content {
    align-items: center;
  }

  .hero-title {
    font-size: 2.5rem;
  }
}

/* ==========================================================================
   Offerings Section
   ========================================================================== */
.offerings-section {
  background-color: var(--bg-secondary);
  border-radius: 40px;
  margin: 0 2rem;
}

.offerings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}

@media (max-width: 1024px) {
  .offerings-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .offerings-section {
    margin: 0 1rem;
    border-radius: 24px;
  }
}

/* Left Column - Approach */
.approach-header {
  margin-bottom: 2rem;
}

.approach-intro {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.philosophy-quote {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--color-primary);
  border-left: 4px solid var(--color-accent);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-weight: bold;
}

.beliefs-title {
  margin: 2.5rem 0 1.5rem;
  font-size: 1.8rem;
  border-bottom: 1px solid rgba(135, 122, 110, 0.15);
  padding-bottom: 0.5rem;
}

/* Beliefs Cards Grid */
.beliefs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

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

.belief-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(135, 122, 110, 0.05);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.belief-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(135, 122, 110, 0.15);
}

.belief-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background-color: var(--color-highlight-bg);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.belief-card h4 {
  font-size: 1.25rem;
  font-family: var(--font-serif);
}

.belief-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* Right Column - Ways We Can Work Together */
.services-header {
  margin-bottom: 2.5rem;
}

.services-intro {
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.ways-title {
  margin: 2rem 0 1.5rem;
  font-size: 1.8rem;
  border-bottom: 1px solid rgba(135, 122, 110, 0.15);
  padding-bottom: 0.5rem;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.service-card {
  background: var(--bg-card);
  padding: 1.75rem 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(135, 122, 110, 0.05);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: start;
  transition: var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(135, 122, 110, 0.15);
}

.service-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: hsl(140, 20%, 94%);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.service-card:hover .service-icon-wrapper {
  background-color: var(--color-primary);
  color: #fff;
  transition: var(--transition-fast);
}

.service-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.service-info h4 {
  font-size: 1.25rem;
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--color-primary);
}

.service-info p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Bio & Links Section
   ========================================================================== */
.bio-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.bio-left {
  display: flex;
  flex-direction: column;
}

.bio-intro-block {
  margin-top: 3.5rem;
}

@media (max-width: 768px) {
  .bio-intro-block {
    margin-top: 2rem;
  }
}

.bio-right {
  display: flex;
  flex-direction: column;
}

.bio-image-block {
  position: relative;
}

.bio-image-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 1.333;
  /* Lock 4:3 aspect ratio */
  position: relative;
  z-index: 2;
}

.bio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Decorative frame behind Bio pic */
.bio-image-block::before {
  content: '';
  position: absolute;
  top: 20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  background-color: var(--bg-secondary);
  z-index: 1;
  pointer-events: none;
}

.bio-left h2 {
  font-size: 2.75rem;
  margin-bottom: 0.5rem;
}

.bio-subtitle {
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--color-accent);
  margin-bottom: 2rem;
}

.bio-intro-text {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: var(--text-primary);
}

.bio-credentials-title {
  font-size: 1.8rem;
  margin: 2.5rem 0 1.5rem;
  position: relative;
}

.credentials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.credential-item {
  display: flex;
  gap: 1.5rem;
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(135, 122, 110, 0.05);
  transition: var(--transition-smooth);
}

.credential-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.credential-icon {
  font-size: 1.5rem;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.credential-details h4 {
  font-size: 1.15rem;
  font-family: var(--font-sans);
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--color-primary);
}

.credential-details p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.bio-footer-text {
  font-size: 1.1rem;
  margin-top: 2.5rem;
  font-weight: 500;
  color: var(--color-primary);
}

@media (max-width: 1024px) {
  .bio-section {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .bio-image-block {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }
}

/* ==========================================================================
   Call to Action (CTA) Section
   ========================================================================== */
.cta-section {
  background: var(--color-primary);
  color: var(--text-light);
  border-radius: 40px;
  margin: 0 2rem 4rem;
  padding: 5rem 0;
}

@media (max-width: 768px) {
  .cta-section {
    padding: 3.5rem 0;
  }
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}

.cta-left h2 {
  color: var(--text-light);
  font-size: 2.75rem;
  margin-bottom: 1.5rem;
}

.cta-left p {
  color: rgba(247, 245, 240, 0.8);
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
}

.cta-btn {
  background-color: var(--color-highlight);
  color: var(--color-primary);
}

.cta-btn:hover {
  background-color: #fff;
  color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* CTA Right Column - Resource Links */
.cta-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.links-title {
  color: var(--text-light);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-serif);
}

.resource-links {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.resource-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition-smooth);
}

.resource-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-highlight);
  transform: translateX(5px);
}

.resource-info {
  display: flex;
  flex-direction: column;
}

.resource-name {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-light);
}

.resource-url {
  font-size: 0.85rem;
  color: rgba(247, 245, 240, 0.6);
  margin-top: 0.15rem;
}

.resource-arrow {
  color: var(--color-highlight);
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.resource-item:hover .resource-arrow {
  transform: translateX(3px);
}

@media (max-width: 1024px) {
  .cta-section {
    margin: 0 1rem 3rem;
    border-radius: 24px;
  }

  .cta-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.main-footer {
  background-color: var(--bg-dark);
  color: rgba(247, 245, 240, 0.6);
  padding: 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-light);
}

.footer-copy {
  font-size: 0.9rem;
}

@media (max-width: 600px) {
  .footer-container {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}

/* ==========================================================================
   Scroll Reveal Animations
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Delay modifiers for lists */
.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

.delay-4 {
  transition-delay: 0.4s;
}

.delay-5 {
  transition-delay: 0.5s;
}

.delay-6 {
  transition-delay: 0.6s;
}