/* Mfugale Investment — modern simple landing (public) */

:root {
  --teal: #0B5F56;
  --teal-deep: #063c36;
  --teal-soft: #147a6e;
  --ink: #12201d;
  --muted: #5c6f6a;
  --paper: #f2f5f3;
  --mist: #e4ece8;
  --white: #ffffff;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --nav-h: 4rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 680px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 0.5rem);
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
}

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--teal);
  color: #fff;
  padding: 0.6rem 1rem;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--nav-h);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.nav.is-scrolled {
  background: rgba(242, 245, 243, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(18, 32, 29, 0.06);
}

.nav-inner {
  width: min(1100px, calc(100% - 2rem));
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

.nav.is-scrolled .logo {
  color: var(--ink);
}

.logo span {
  font-weight: 500;
  opacity: 0.8;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.2s;
}

.nav.is-scrolled .nav-links a {
  color: var(--ink);
}

.nav-links a:hover {
  color: var(--white);
}

.nav.is-scrolled .nav-links a:hover {
  color: var(--teal);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--white);
  transition: background 0.25s, transform 0.25s;
}

.nav.is-scrolled .nav-toggle span {
  background: var(--ink);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: calc(var(--nav-h) + 2.5rem) 0 5rem;
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.06);
  animation: hero-zoom 22s var(--ease) both;
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(115deg, rgba(8, 48, 42, 0.88) 0%, rgba(8, 48, 42, 0.52) 52%, rgba(8, 48, 42, 0.62) 100%),
    linear-gradient(180deg, rgba(8, 48, 42, 0.4) 0%, transparent 38%, rgba(8, 48, 42, 0.82) 100%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

.hero-brand {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 6vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  opacity: 0;
  animation: rise 0.95s var(--ease) 0.12s forwards;
}

.hero h1 {
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-weight: 500;
  max-width: 18ch;
  opacity: 0;
  animation: rise 0.95s var(--ease) 0.28s forwards;
}

.hero-lead {
  margin: 1.1rem 0 1.85rem;
  max-width: 32ch;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.82);
  opacity: 0;
  animation: rise 0.95s var(--ease) 0.42s forwards;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  opacity: 0;
  animation: rise 0.95s var(--ease) 0.55s forwards;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--white);
  color: var(--teal-deep);
}

.btn-primary:hover {
  background: var(--mist);
  color: var(--teal-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.btn-solid {
  background: var(--teal);
  color: var(--white);
}

.btn-solid:hover {
  background: var(--teal-deep);
  color: var(--white);
}

/* ---------- Sections ---------- */
.section {
  padding: 5.5rem 0;
}

.eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-soft);
}

.section h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
}

.section-lead {
  margin: 0 0 2.25rem;
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 36ch;
}

.businesses {
  background:
    radial-gradient(ellipse at 8% 0%, rgba(11, 95, 86, 0.1), transparent 48%),
    radial-gradient(ellipse at 92% 80%, rgba(11, 95, 86, 0.06), transparent 42%),
    linear-gradient(180deg, var(--mist) 0%, var(--paper) 100%);
}

.biz-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(18, 32, 29, 0.1);
}

.biz-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(18, 32, 29, 0.1);
  transition: padding-left 0.35s var(--ease);
}

.biz-list li:hover {
  padding-left: 0.35rem;
}

.biz-name {
  font-size: 1.15rem;
  font-weight: 600;
}

.biz-note {
  font-size: 0.92rem;
  color: var(--muted);
  text-align: right;
}

.contact {
  background:
    linear-gradient(165deg, #0a4f48 0%, var(--teal) 45%, #0d6b61 100%);
  color: var(--white);
}

.contact .eyebrow {
  color: rgba(255, 255, 255, 0.65);
}

.contact .section-lead {
  color: rgba(255, 255, 255, 0.78);
}

.contact-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2.25rem;
}

.contact-item {
  display: grid;
  gap: 0.25rem;
}

.contact-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.contact-value {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--white);
  word-break: break-word;
}

a.contact-item:hover .contact-value {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact .btn-solid {
  background: var(--white);
  color: var(--teal-deep);
}

.contact .btn-solid:hover {
  background: var(--mist);
  color: var(--teal-deep);
}

/* ---------- Footer ---------- */
.footer {
  padding: 1.75rem 0;
  background: var(--teal-deep);
  color: rgba(255, 255, 255, 0.7);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.footer-brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
}

.footer-copy {
  margin: 0;
  font-size: 0.9rem;
}

/* ---------- Motion ---------- */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-zoom {
  from { transform: scale(1.1); }
  to { transform: scale(1.02); }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-bg img,
  .hero-brand,
  .hero h1,
  .hero-lead,
  .hero-cta {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Mobile ---------- */
@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.25rem 1.25rem;
    background: rgba(242, 245, 243, 0.98);
    border-bottom: 1px solid rgba(18, 32, 29, 0.08);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
  }

  .nav.is-open .nav-links {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    color: var(--ink) !important;
    padding: 0.95rem 0;
    border-bottom: 1px solid rgba(18, 32, 29, 0.06);
    min-height: 44px;
  }

  .hero {
    align-items: center;
    padding-bottom: 4rem;
  }

  .hero h1 {
    max-width: none;
  }

  .biz-list li {
    flex-direction: column;
    gap: 0.2rem;
  }

  .biz-note {
    text-align: left;
  }

  .section {
    padding: 4rem 0;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
