/* ==========================================
   Watermelon Gang — Brand Stylesheet
   Palette: rind green #0E5C3F, bright green #2FA05A,
   pale green #A8D5A2, red #FF4D5E, pink #FFB3BC,
   white-pith #F3F8EF, seed black #1A1A1A
   ========================================== */

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

:root {
  --rind-deep: #0E5C3F;
  --rind-bright: #2FA05A;
  --rind-pale: #A8D5A2;
  --red: #FF4D5E;
  --pink: #FFB3BC;
  --white-pith: #F3F8EF;
  --seed: #1A1A1A;
  --white: #FFFFFF;
  --gray-light: #E8EBE6;
  --gray-mid: #8A9A8E;
  --radius: 12px;
  --radius-lg: 24px;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--white-pith);
  color: var(--seed);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { font-family: var(--font-heading); font-weight: 700; line-height: 1.15; }
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }

a { color: inherit; text-decoration: none; }
em { font-style: italic; color: var(--red); }
strong { color: var(--rind-deep); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-heading); font-weight: 700; font-size: 0.95rem;
  padding: 14px 28px; border-radius: var(--radius);
  transition: all 0.2s ease; cursor: pointer;
  border: 2px solid transparent;
}
.btn-red { background: var(--red); color: var(--white); border-color: var(--red); }
.btn-red:hover { background: #e63a4b; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(255,77,94,0.3); }
.btn-outline { border-color: var(--rind-deep); color: var(--rind-deep); background: transparent; }
.btn-outline:hover { background: var(--rind-deep); color: var(--white); }
.btn-lg { padding: 18px 36px; font-size: 1.1rem; }

/* Section Labels */
.section-label {
  font-family: var(--font-heading); font-size: 0.85rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--red);
  margin-bottom: 12px;
}
.section-heading { margin-bottom: 16px; }
.section-subhead {
  font-size: 1.15rem; color: var(--gray-mid); max-width: 600px; margin-bottom: 48px;
}

/* ==========================================
   Navigation
   ========================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(243,248,239,0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-light);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.06); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-glyph { font-size: 1.8rem; }
.logo-text { font-family: var(--font-heading); font-weight: 700; font-size: 1.2rem; color: var(--rind-deep); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-weight: 500; font-size: 0.9rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--red); }
.nav-cta { white-space: nowrap; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--seed); border-radius: 2px; transition: all 0.3s; }

/* ==========================================
   Hero
   ========================================== */
.hero {
  position: relative; padding: 160px 0 100px;
  background: linear-gradient(180deg, var(--rind-deep) 0%, var(--rind-deep) 60%, var(--white-pith) 60%);
  overflow: hidden;
}
.hero-stripe {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: repeating-linear-gradient(
    135deg, transparent, transparent 40px,
    rgba(255,255,255,0.03) 40px, rgba(255,255,255,0.03) 80px
  );
}
.hero-inner { position: relative; z-index: 1; text-align: center; }
.hero-headline { color: var(--white); margin-bottom: 24px; }
.text-red { color: var(--red); }
.hero-subhead {
  font-size: 1.2rem; color: rgba(255,255,255,0.75); max-width: 600px;
  margin: 0 auto 40px;
}
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-seeds {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 16px;
}
.hero-seeds::before, .hero-seeds::after {
  content: ''; width: 8px; height: 13px; background: var(--seed);
  border-radius: 40% 40% 50% 50% / 50% 50% 40% 40%;
  opacity: 0.15;
}

/* ==========================================
   Watermelon Principle
   ========================================== */
.principle { padding: 100px 0; text-align: center; }
.principle-reveal {
  display: flex; align-items: center; justify-content: center; gap: 24px;
  margin-bottom: 24px; flex-wrap: wrap;
}
.principle-outer, .principle-inner {
  padding: 48px 40px; border-radius: var(--radius-lg); max-width: 380px; flex: 1;
}
.principle-green {
  background: var(--rind-deep); color: var(--white);
  border: 2px solid var(--rind-bright);
}
.principle-red { background: var(--pink); color: var(--seed); border: 2px solid var(--red); }
.principle-title { margin-bottom: 12px; }
.principle-green .principle-title { color: var(--white); }
.principle-red .principle-title { color: var(--rind-deep); }
.principle-divider {
  font-size: 2rem; font-weight: 700; color: var(--red);
  font-family: var(--font-heading);
}
.principle-tagline { margin-top: 24px; }

/* ==========================================
   Services
   ========================================== */
.services { padding: 100px 0; background: var(--white); }
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-bottom: 48px; }
.service-card {
  padding: 32px; border-radius: var(--radius);
  background: var(--white-pith); border: 1px solid var(--gray-light);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.service-card h3 { margin-bottom: 12px; color: var(--rind-deep); font-size: 1.2rem; }
.service-card p { font-size: 0.95rem; color: #4a5a4e; line-height: 1.6; }

.seed-bullet { padding-left: 44px; }
.seed-bullet::before {
  content: ''; position: absolute; left: 24px; top: 38px;
  width: 10px; height: 16px; background: var(--seed);
  border-radius: 45% 45% 50% 50% / 50% 50% 40% 40%;
}

.service-model {
  text-align: center; padding: 48px; background: var(--rind-deep); color: var(--white);
  border-radius: var(--radius-lg);
}
.service-model h3 { color: var(--white); margin-bottom: 12px; }
.service-model p { max-width: 600px; margin: 0 auto; opacity: 0.85; }

/* ==========================================
   Why Us
   ========================================== */
.why-us { padding: 100px 0; background: var(--white-pith); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 32px; margin-top: 48px; }
.why-item { text-align: center; }
.why-icon { font-size: 2.5rem; margin-bottom: 16px; }
.why-item h3 { margin-bottom: 8px; color: var(--rind-deep); }
.why-item p { font-size: 0.95rem; color: #5a6a5e; }

/* ==========================================
   Work / Case Studies
   ========================================== */
.work { padding: 100px 0; background: var(--white); }
.case-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; margin-top: 48px; }
.case-card {
  padding: 36px; border-radius: var(--radius-lg);
  background: var(--white-pith); border: 1px solid var(--gray-light);
  position: relative; overflow: hidden;
}
.case-card::after {
  content: ''; position: absolute; top: -40px; right: -40px; width: 120px; height: 120px;
  background: var(--red); border-radius: 50%; opacity: 0.05;
}
.case-tag {
  display: inline-block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; padding: 4px 12px; border-radius: 20px;
  background: var(--pink); color: var(--red); margin-bottom: 16px;
}
.case-card h3 { margin-bottom: 12px; }
.case-card > p { color: #5a6a5e; margin-bottom: 24px; }
.case-results { display: flex; flex-direction: column; gap: 8px; }
.result { font-size: 0.9rem; color: var(--rind-deep); }

/* ==========================================
   Enterprise
   ========================================== */
.enterprise {
  padding: 100px 0; background: var(--rind-deep); color: var(--white);
}
.enterprise .section-label { color: var(--pink); }
.enterprise .section-subhead { color: rgba(255,255,255,0.7); }
.enterprise-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; margin-top: 48px; }
.enterprise-item { padding: 32px; border-radius: var(--radius); background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); }
.enterprise-item h3 { margin-bottom: 12px; color: var(--pink); }
.enterprise-item p { color: rgba(255,255,255,0.8); font-size: 0.95rem; }

/* ==========================================
   About
   ========================================== */
.about { padding: 100px 0; background: var(--white-pith); }
.about-story { max-width: 680px; margin-bottom: 64px; }
.about-story p { font-size: 1.1rem; color: #4a5a4e; margin-bottom: 16px; }
.about-model { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.about-principle { display: flex; gap: 24px; align-items: center; }
.about-visual { position: relative; flex-shrink: 0; }
.slice-circle {
  border-radius: 50%; position: absolute;
}
.outer { width: 80px; height: 80px; background: var(--rind-deep); top: 0; left: 0; }
.pith { width: 72px; height: 72px; background: var(--white-pith); top: 4px; left: 4px; }
.inner { width: 58px; height: 58px; background: var(--red); top: 11px; left: 11px; }
.seeds-dots { display: flex; gap: 4px; margin-top: 76px; margin-left: 12px; }
.seeds-dots span { width: 5px; height: 8px; background: var(--seed); border-radius: 45%; }
.about-squad h3 { margin-bottom: 12px; color: var(--rind-deep); }
.about-squad p { color: #5a6a5e; }

/* ==========================================
   Blog
   ========================================== */
.blog { padding: 100px 0; background: var(--white); }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 48px; }
.blog-card {
  padding: 36px; border-radius: var(--radius-lg);
  border: 1px solid var(--gray-light); background: var(--white-pith);
  transition: transform 0.2s;
}
.blog-card:hover { transform: translateY(-4px); border-color: var(--red); }
.blog-category {
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--red); margin-bottom: 16px;
}
.blog-card h3 { margin-bottom: 12px; line-height: 1.3; }
.blog-card p { color: #5a6a5e; font-size: 0.95rem; }

/* ==========================================
   Contact
   ========================================== */
.contact { padding: 120px 0; text-align: center; background: linear-gradient(180deg, var(--white-pith) 0%, var(--pink) 100%); }
.contact-text { font-size: 1.1rem; color: #4a5a4e; max-width: 560px; margin: 0 auto 40px; }
.contact-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }
.contact-close {
  font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700;
  color: var(--rind-deep); opacity: 0.5;
}

/* ==========================================
   Footer
   ========================================== */
.footer { padding: 48px 0; background: var(--rind-deep); color: var(--white); }
.footer-inner { text-align: center; }
.footer-brand { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 24px; }
.footer-name { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 700; }
.footer-links { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
.footer-links a { font-size: 0.9rem; opacity: 0.7; transition: opacity 0.2s; }
.footer-links a:hover { opacity: 1; }
.footer-copy { font-size: 0.85rem; opacity: 0.5; }

/* ==========================================
   Animations & Transitions
   ========================================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes drawLine {
  from { width: 0; }
  to { width: 100%; }
}
.animate-in { animation: fadeUp 0.6s ease forwards; }

/* ==========================================
   Responsive
   ========================================== */
@media (max-width: 768px) {
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--white-pith); flex-direction: column; padding: 24px; gap: 16px; border-bottom: 1px solid var(--gray-light); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .hero { padding: 120px 0 80px; }
  .principle-reveal { flex-direction: column; }
  .principle-divider { transform: rotate(90deg); }
  .about-model { grid-template-columns: 1fr; }
  .contact-ctas { flex-direction: column; align-items: center; }
  .case-grid, .service-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; align-items: center; }
  .footer-links { flex-direction: column; gap: 12px; }
}