/* =============================================
   Green Checkered Pants — Site Stylesheet
   Dark editorial feel, green palette
   Playfair Display / DM Sans
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #162b1e;
  --bg2:         #1a3024;
  --surface:     rgba(255,255,255,0.03);
  --border:      rgba(255,255,255,0.07);
  --border-hi:   rgba(82,183,136,0.28);
  --green-hi:    #52b788;
  --green-mid:   #40916c;
  --green-lo:    #2d6a4f;
  --blue-hi:     #70a1d7;
  --text:        #e0e0e0;
  --text-mid:    #aaa;
  --text-lo:     #666;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Checker bg */
body::before {
  content: '';
  position: fixed; inset: 0;
  z-index: 0; pointer-events: none;
  background-image: repeating-conic-gradient(var(--green-lo) 0% 25%, transparent 0% 50%);
  background-size: 24px 24px;
  opacity: 0.04;
}

/* ---- NAV ---- */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(22,43,30,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.nav-logo .checker-icon {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  width: 18px; height: 18px;
}
.nav-logo .checker-icon span {
  width: 8px; height: 8px; border-radius: 1px;
}
.nav-logo .checker-icon span:nth-child(1),
.nav-logo .checker-icon span:nth-child(4) { background: var(--green-hi); }
.nav-logo .checker-icon span:nth-child(2),
.nav-logo .checker-icon span:nth-child(3) { background: var(--green-lo); }

.nav-links {
  display: flex; gap: 2rem; list-style: none;
}
.nav-links a {
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-mid);
  letter-spacing: 0.04em;
  transition: color 0.2s;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--green-hi);
  border-bottom-color: var(--green-hi);
}

/* ---- LAYOUT ---- */
.container {
  position: relative; z-index: 1;
  max-width: 1120px; margin: 0 auto;
  padding: 4rem 2rem 6rem;
}

/* ---- DIVIDER ---- */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--green-mid), transparent);
  max-width: 320px; margin: 3rem auto;
  opacity: 0.5;
}

/* ---- HERO / PAGE HEADER ---- */
.page-header {
  text-align: center; margin-bottom: 4rem;
  animation: fadeUp 0.9s ease both;
}
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-hi);
  margin-bottom: 1rem;
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 900;
  color: #f0f0f0;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.page-header h1 em {
  font-style: italic;
  color: var(--green-hi);
}
.page-header p {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 640px; margin: 0 auto;
  line-height: 1.8;
}

/* ---- CARDS ---- */
.card-grid {
  display: flex; flex-wrap: wrap; gap: 1.5rem;
  justify-content: center;
}
.card-grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 860px;
  margin: 0 auto;
}
.card {
  flex: 1 1 300px; max-width: 360px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem 1.75rem;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.card:hover {
  border-color: var(--border-hi);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(82,183,136,0.08);
}
.card-icon {
  font-size: 1.75rem; margin-bottom: 1rem;
}
.card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 700;
  color: #f0f0f0; margin-bottom: 0.6rem;
}
.card p {
  font-size: 0.9rem; color: var(--text-mid);
  line-height: 1.7;
}

/* ---- COMPANY VALUES ---- */
.values-section {
  max-width: 860px; margin: 0 auto 3.5rem;
}
.values-section h2 {
  font-family: var(--font-display);
  font-size: 1.65rem; font-weight: 700;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 1.75rem;
}
.values-list {
  display: flex; flex-direction: column; gap: 0.85rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem 2rem;
  transition: border-color 0.3s;
}
.values-list:hover { border-color: var(--border-hi); }
.value-item {
  display: flex; align-items: flex-start; gap: 1rem;
}
.value-dot {
  flex-shrink: 0;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green-hi);
  margin-top: 0.45rem;
  opacity: 0.8;
}
.value-item p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.65;
}

/* ---- FOUNDER CARDS ---- */
.founder-grid {
  display: flex; flex-wrap: wrap; gap: 2rem;
  justify-content: center; margin-bottom: 4rem;
}
.founder-card {
  flex: 1 1 380px; max-width: 520px;
  background: var(--surface);
  border-radius: 18px;
  padding: 2.5rem 2rem;
  transition: border-color 0.3s, transform 0.3s;
}
.founder-card.scott { border: 1px solid rgba(82,183,136,0.2); }
.founder-card.tammy { border: 1px solid rgba(112,161,215,0.2); }
.founder-card.scott:hover { border-color: var(--green-hi); }
.founder-card.tammy:hover { border-color: var(--blue-hi); }
.founder-card:hover { transform: translateY(-3px); }

.founder-name {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 900;
  margin-bottom: 0.25rem;
}
.founder-card.scott .founder-name { color: var(--green-hi); }
.founder-card.tammy .founder-name { color: var(--blue-hi); }

.founder-role {
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.founder-card.scott .founder-role { color: rgba(82,183,136,0.6); }
.founder-card.tammy .founder-role { color: rgba(112,161,215,0.6); }

.founder-bio {
  font-size: 0.92rem; color: var(--text-mid);
  line-height: 1.75; margin-bottom: 1.5rem;
}

.skill-tags {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
}
.skill-tag {
  font-size: 0.75rem; font-weight: 500;
  padding: 0.3rem 0.75rem; border-radius: 20px;
}
.founder-card.scott .skill-tag {
  background: rgba(82,183,136,0.1);
  color: var(--green-hi);
  border: 1px solid rgba(82,183,136,0.2);
}
.founder-card.tammy .skill-tag {
  background: rgba(112,161,215,0.1);
  color: var(--blue-hi);
  border: 1px solid rgba(112,161,215,0.2);
}

/* ---- TECH STACK CARD ---- */
.tech-card {
  max-width: 900px; margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem 2rem 1.75rem;
  transition: border-color 0.3s;
}
.tech-card:hover { border-color: var(--border-hi); }
.tech-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 700;
  color: #f0f0f0; margin-bottom: 0.5rem;
}
.tech-card > p {
  font-size: 0.9rem; color: var(--text-mid);
  line-height: 1.7; margin-bottom: 1.25rem;
}
.tech-tags {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: start;
  gap: 0.6rem;
}
.tech-tag {
  font-size: 0.78rem; font-weight: 500;
  padding: 0.35rem 0.9rem; border-radius: 20px;
  background: rgba(82,183,136,0.08);
  color: var(--green-hi);
  border: 1px solid rgba(82,183,136,0.18);
}

/* ---- PRIVACY NOTE ---- */
.privacy-note {
  background: rgba(82,183,136,0.04);
  border: 1px solid rgba(82,183,136,0.12);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.7;
}
.privacy-note strong { color: var(--green-hi); font-weight: 600; }


.together {
  text-align: center; max-width: 720px; margin: 0 auto;
  padding: 3rem 2rem;
  background: rgba(82,183,136,0.04);
  border: 1px solid rgba(82,183,136,0.12);
  border-radius: 18px;
}
.together h2 {
  font-family: var(--font-display);
  font-size: 1.65rem; font-weight: 700;
  color: #f0f0f0; margin-bottom: 1rem;
}
.together p {
  font-size: 1rem; color: var(--text-mid);
  line-height: 1.8;
}

/* ---- CONTACT FORM ---- */
.contact-grid {
  display: flex; flex-wrap: wrap; gap: 3rem;
  align-items: flex-start;
}
.contact-info {
  flex: 1 1 280px; max-width: 340px;
}
.contact-info h2 {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 700;
  color: #f0f0f0; margin-bottom: 1rem;
}
.contact-info p {
  font-size: 0.95rem; color: var(--text-mid);
  line-height: 1.75; margin-bottom: 1.5rem;
}
.contact-detail {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.9rem; color: var(--green-hi);
  margin-bottom: 0.75rem;
}
.contact-form-wrap { flex: 1 1 380px; }

form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2.5rem 2rem;
}
.form-row {
  display: flex; gap: 1rem; margin-bottom: 1.25rem;
}
.form-group {
  flex: 1; display: flex; flex-direction: column; gap: 0.4rem;
}
.form-group label {
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-mid);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.25s, box-shadow 0.25s;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green-hi);
  box-shadow: 0 0 0 3px rgba(82,183,136,0.12);
}
.form-group select option { background: #1a2c20; }
.form-group textarea { resize: vertical; min-height: 100px; }

.btn-primary {
  display: inline-block; width: 100%;
  padding: 0.9rem 2rem;
  background: linear-gradient(135deg, var(--green-mid), var(--green-lo));
  border: none; border-radius: 10px;
  color: #f0f0f0;
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  margin-top: 1rem;
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }

.form-success {
  display: none;
  text-align: center; padding: 2rem;
}
.form-success .check {
  font-size: 2.5rem; margin-bottom: 1rem;
}
.form-success h3 {
  font-family: var(--font-display); font-size: 1.4rem;
  color: var(--green-hi); margin-bottom: 0.5rem;
}
.form-success p { color: var(--text-mid); font-size: 0.95rem; }

/* ---- FOOTER ---- */
footer {
  position: relative; z-index: 1;
  border-top: 1px solid var(--border);
  padding: 2rem;
  text-align: center;
  font-size: 0.8rem; color: var(--text-lo);
}
footer a { color: var(--green-hi); text-decoration: none; }

/* ---- ANIMATIONS ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-1 { animation: fadeUp 0.8s ease 0.1s both; }
.fade-2 { animation: fadeUp 0.8s ease 0.25s both; }
.fade-3 { animation: fadeUp 0.8s ease 0.4s both; }
.fade-4 { animation: fadeUp 0.8s ease 0.55s both; }
.fade-5 { animation: fadeUp 0.8s ease 0.7s both; }
.fade-6 { animation: fadeUp 0.8s ease 0.85s both; }

/* ---- RESPONSIVE ---- */
@media (max-width: 680px) {
  nav { padding: 0 1rem; }
  .nav-links { gap: 1.25rem; }
  .container { padding: 3rem 1.25rem 5rem; }
  .form-row { flex-direction: column; }
  .contact-grid { gap: 2rem; }
  .card-grid-2x2 { grid-template-columns: 1fr; }
  .tech-tags { grid-template-columns: repeat(2, auto); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
