/* ============================================
   MENTHA — STYLES
   
   Palette derived from logo:
   - Deep green:    #0F4A2C (logo)
   - Charcoal:      #1A1A1A (text)
   - Warm off-white: #FAF9F6 (background)
   - Muted accent:  #6B6B6B (secondary text)
   
   Typography:
   - Fraunces (serif, display) — confidence and warmth
   - Inter (sans, body)        — clean and readable
   ============================================ */

/* ---------- RESET & BASE ---------- */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-green: #0F4A2C;
  --color-green-light: #1a6e42;
  --color-green-dark: #093520;
  --color-charcoal: #1A1A1A;
  --color-text: #2A2A2A;
  --color-muted: #6B6B6B;
  --color-bg: #FAF9F6;
  --color-bg-alt: #F2F0E9;
  --color-border: #E5E3DC;
  --color-white: #FFFFFF;
  
  --font-serif: 'Fraunces', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --max-width: 1200px;
  --gutter: clamp(1.5rem, 4vw, 3rem);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ---------- TYPOGRAPHY ---------- */

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--color-charcoal);
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.05;
  font-weight: 400;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  font-weight: 400;
}

h3 {
  font-size: 1.375rem;
  line-height: 1.3;
  font-weight: 500;
}

p {
  font-size: 1rem;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

strong {
  font-weight: 600;
  color: var(--color-charcoal);
}

.eyebrow,
.section-tag {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-green);
  margin-bottom: 1.5rem;
  display: inline-block;
}

/* ---------- NAVIGATION ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(250, 249, 246, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.25rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.nav-logo {
  height: 32px;
  width: 32px;
  object-fit: contain;
}

.nav-name {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--color-charcoal);
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.9375rem;
  color: var(--color-text);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--color-green);
}

.nav-cta {
  padding: 0.5rem 1.25rem;
  background-color: var(--color-green);
  color: var(--color-white) !important;
  border-radius: 999px;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

.nav-cta:hover {
  background-color: var(--color-green-dark);
}

@media (max-width: 640px) {
  .nav-links {
    gap: 1rem;
  }
  .nav-links a:not(.nav-cta) {
    display: none;
  }
}

/* ---------- HERO ---------- */

.hero {
  padding: clamp(5rem, 12vh, 9rem) 0 clamp(4rem, 10vh, 7rem);
  background:
    radial-gradient(ellipse at top left, rgba(15, 74, 44, 0.04) 0%, transparent 50%),
    var(--color-bg);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 20%;
  right: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(15, 74, 44, 0.03) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.hero-text {
  max-width: 580px;
}

.hero-title {
  margin-top: 0.5rem;
  margin-bottom: 2rem;
  max-width: 920px;
}

.hero-emphasis {
  font-style: italic;
  color: var(--color-green);
}

.hero-lead {
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  line-height: 1.65;
  color: var(--color-muted);
  max-width: 680px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-visual {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nyquist-svg {
  width: 100%;
  max-width: 480px;
  height: auto;
  filter: drop-shadow(0 12px 32px rgba(15, 74, 44, 0.08))
          drop-shadow(0 4px 12px rgba(0, 0, 0, 0.04));
  border-radius: 6px;
}

@media (max-width: 900px) {
  .hero-visual {
    margin-top: 1rem;
  }
  .nyquist-svg {
    max-width: 440px;
  }
}

/* ---------- BUTTONS ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: 999px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--color-green);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: var(--color-green-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-charcoal);
  border: 1px solid var(--color-charcoal);
}

.btn-secondary:hover {
  background-color: var(--color-charcoal);
  color: var(--color-white);
}

/* ---------- SECTIONS ---------- */

.section {
  padding: clamp(4rem, 10vh, 7rem) 0;
}

.section-light {
  background-color: var(--color-bg);
  border-top: 1px solid var(--color-border);
}

.section-dark {
  background-color: var(--color-charcoal);
  color: var(--color-bg);
}

.section-dark h2,
.section-dark h3 {
  color: var(--color-bg);
}

.section-dark .section-tag {
  color: #6BBF8F;
}

.section-dark p {
  color: rgba(250, 249, 246, 0.75);
}

.section-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

@media (max-width: 768px) {
  .section-grid {
    grid-template-columns: 1fr;
  }
}

.section-header {
  position: sticky;
  top: 6rem;
}

@media (max-width: 768px) {
  .section-header {
    position: static;
  }
}

.section-header-center {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  max-width: 480px;
}

.section-header-center h2 {
  max-width: none;
}

.section-body p {
  margin-bottom: 1.5rem;
  font-size: 1.0625rem;
  color: var(--color-text);
}

.section-body p:last-child {
  margin-bottom: 0;
}

/* ---------- FEATURE GRID ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
}

@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }
}

.feature {
  position: relative;
}

.feature-number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 300;
  color: #6BBF8F;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

.feature h3 {
  margin-bottom: 1rem;
  font-weight: 500;
}

.feature p {
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* ---------- VALIDATION ---------- */

.section-validation {
  background-color: var(--color-bg-alt);
  padding: clamp(4rem, 8vh, 6rem) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.validation-inner {
  max-width: 820px;
}

.validation-headline {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.validation-body {
  font-size: 1.0625rem;
  color: var(--color-text);
  max-width: 680px;
}

/* ---------- ENGAGEMENT MODEL ---------- */

.engagement-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  max-width: 1000px;
  margin: 0 auto;
}

@media (max-width: 720px) {
  .engagement-grid {
    grid-template-columns: 1fr;
  }
}

.engagement-item {
  padding: 2rem;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  transition: border-color 0.2s ease, transform 0.2s ease;
  position: relative;
}

.engagement-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background-color: var(--color-green);
  border-radius: 4px 0 0 4px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.engagement-item:hover {
  border-color: var(--color-green);
  transform: translateY(-2px);
}

.engagement-item:hover::before {
  opacity: 1;
}

.engagement-item h3 {
  font-size: 1.1875rem;
  margin-bottom: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.engagement-item p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--color-muted);
}

.engagement-note {
  text-align: center;
  margin-top: 3rem;
  font-size: 0.9375rem;
  color: var(--color-muted);
  font-style: italic;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- CONTACT ---------- */

.section-contact {
  background-color: var(--color-green);
  color: var(--color-bg);
  text-align: center;
}

.section-contact h2 {
  color: var(--color-bg);
  max-width: 700px;
  margin: 0 auto 1.5rem;
}

.section-contact .section-tag {
  color: #B8E0C7;
}

.contact-lead {
  font-size: 1.0625rem;
  color: rgba(250, 249, 246, 0.85);
  max-width: 620px;
  margin: 0 auto 2.5rem;
  line-height: 1.65;
}

.contact-email {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  color: var(--color-white);
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(250, 249, 246, 0.3);
  transition: border-color 0.2s ease;
}

.contact-email:hover {
  border-color: var(--color-white);
}

/* ---------- FOOTER ---------- */

.footer {
  background-color: var(--color-charcoal);
  color: rgba(250, 249, 246, 0.6);
  padding: 2.5rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--color-bg);
}

.footer-logo {
  height: 24px;
  width: auto;
  object-fit: contain;
  
}

.footer-meta {
  font-size: 0.8125rem;
  text-align: right;
}

.footer-meta p {
  font-size: 0.8125rem;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-meta {
    text-align: center;
  }
}

/* ---------- SUBTLE ENTRANCE ANIMATIONS ---------- */

@media (prefers-reduced-motion: no-preference) {
  .hero h1,
  .hero-lead,
  .hero-actions,
  .hero-visual {
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
  }
  
  .hero h1 { animation-delay: 0.1s; }
  .hero-lead { animation-delay: 0.25s; }
  .hero-actions { animation-delay: 0.4s; }
  .hero-visual { animation-delay: 0.55s; }
  
  @keyframes fadeUp {
    from {
      opacity: 0;
      transform: translateY(12px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}