:root {
  --navy: #123243;
  --navy-dark: #0b222e;
  --green-deep: #2e7d32;
  --green-mid: #66bb6a;
  --green-light: #9ccc65;
  --gold: #f2a93b;
  --bg: #fbfaf7;
  --text: #1c2b30;
  --text-muted: #55666b;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 8px 24px rgba(18, 50, 67, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

h1, h2, h3 { line-height: 1.2; margin-top: 0; }

a { color: inherit; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 247, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(18, 50, 67, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy);
}

.brand-logo { height: 36px; width: auto; }

.brand-name {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

.site-nav {
  display: flex;
  gap: 28px;
}

.site-nav a {
  text-decoration: none;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
}

.site-nav a:hover { color: var(--green-deep); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  display: block;
}

/* Hero */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: radial-gradient(circle at 50% 30%, #f3f7f0 0%, var(--bg) 70%);
}

.spline-embed {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.spline-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.hero-fallback-logo {
  width: min(160px, 40vw);
  height: auto;
  opacity: 0.95;
  margin-bottom: 8px;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(1.5deg); }
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  color: var(--navy);
  margin-bottom: 8px;
}

.tagline {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: var(--green-deep);
  color: var(--white);
  box-shadow: var(--shadow);
}

.btn-primary:hover { transform: translateY(-2px); }

/* Sections */
section { padding: 96px 0; }

h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: var(--navy);
}

.section-lead {
  color: var(--text-muted);
  max-width: 640px;
  margin-top: 4px;
  margin-bottom: 48px;
}

/* Ventures */
.venture-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.venture-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--shadow);
  border: 1px solid rgba(18, 50, 67, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  min-height: 190px;
}

.venture-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(18, 50, 67, 0.14);
}

.venture-card h3 {
  color: var(--navy);
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.venture-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

.venture-link {
  margin-top: 20px;
  font-weight: 700;
  color: var(--green-deep);
  font-size: 0.9rem;
}

/* About */
.about { background: var(--white); }

.about-inner {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: center;
}

.about-logo { width: 100%; height: auto; }

.about h2 { margin-bottom: 16px; }

.about p { color: var(--text-muted); }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
}

.contact-details p { margin: 0 0 12px; }
.contact-details a { text-decoration: none; font-weight: 600; color: var(--navy); }
.contact-details a:hover { color: var(--green-deep); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-form label {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--navy);
  margin-top: 10px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(18, 50, 67, 0.18);
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--white);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--green-deep);
}

.contact-form button {
  margin-top: 18px;
  align-self: flex-start;
}

.form-status {
  font-size: 0.9rem;
  margin-top: 10px;
  min-height: 1.2em;
}

.form-status.success { color: var(--green-deep); }
.form-status.error { color: #c0392b; }

/* Footer */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding: 28px 0;
  text-align: center;
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 760px) {
  .site-nav { display: none; }
  .nav-toggle { display: flex; }
  .site-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    padding: 16px 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(18,50,67,0.08);
  }
  .about-inner { grid-template-columns: 1fr; text-align: center; }
  .about-logo { width: 140px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; }
}
