:root {
  --bg: #f5f5f0;
  --surface: #fafaf6;
  --ink: #18211c;
  --muted: #5b655f;
  --line: #e3e5dd;
  --green: #2f4a3c;
  --green-2: #3a5748;
  --heather: #b0798f;
  --radius: 20px;
  --font-head: "Manrope", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; margin: 0; line-height: 1.1; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.6rem, 6vw, 3.9rem); letter-spacing: -0.03em; max-width: 15ch; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.4rem); max-width: 22ch; }
h3 { font-size: 1.15rem; }
p { margin: 0; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px;
  font-weight: 500; font-size: 0.95rem;
  transition: background-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--green); color: #f7f7f2; }
.btn-ghost { background: rgba(250, 250, 246, .7); border: 1px solid var(--line); backdrop-filter: blur(8px); }
@media (hover: hover) {
  .btn-primary:hover { background: var(--green-2); }
  .btn-ghost:hover { background: #fff; }
}

/* Nav */
.nav-wrap { position: fixed; inset: 16px 0 auto; z-index: 50; }
.nav {
  width: min(1200px, 100% - 32px); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 10px 10px 10px 20px;
  background: rgba(250, 250, 246, .82);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 999px;
  box-shadow: 0 6px 30px rgba(24, 33, 28, .06);
}
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--green); color: #f7f7f2;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
}
.logo-text { font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; letter-spacing: -0.02em; }
.logo-sub { color: var(--muted); font-weight: 500; }
.dot { color: var(--heather); }
.nav-links { display: flex; gap: 32px; }
.nav-links a { color: var(--muted); font-size: 0.95rem; transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { padding: 11px 20px; }

.menu-btn { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--green); cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: #fff; transition: transform .25s var(--ease); }
.menu-btn span:first-child { top: 18px; }
.menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-menu {
  width: min(1200px, 100% - 32px); margin: 8px auto 0;
  padding: 16px; border-radius: 24px;
  background: rgba(250, 250, 246, .96); backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 4px;
  box-shadow: 0 12px 40px rgba(24, 33, 28, .1);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { padding: 12px 8px; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 10px; justify-content: center; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 150px 0 28px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-fade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(245,245,240,.85) 0%, rgba(245,245,240,.55) 45%, rgba(245,245,240,0) 75%),
    linear-gradient(180deg, rgba(245,245,240,.4) 0%, rgba(245,245,240,0) 30%, rgba(245,245,240,0) 80%, var(--bg) 100%);
}
.hero-inner { flex: 1; display: flex; flex-direction: column; justify-content: safe center; gap: 24px; padding-bottom: 60px; }
.pill {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px; border-radius: 999px;
  background: rgba(250, 250, 246, .7); border: 1px solid rgba(255,255,255,.8);
  font-size: 0.85rem; font-weight: 500; color: var(--muted);
}
.pill-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--heather); }
.lead { font-size: 1.12rem; color: #3d4741; max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

.trust {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding: 18px 28px; border-radius: 999px;
  background: rgba(250, 250, 246, .78); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.8);
}
.trust-label { text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 500; color: var(--muted); }
.trust ul { display: flex; gap: 36px; flex-wrap: wrap; }
.trust li { font-family: var(--font-head); font-weight: 600; color: #4b544f; }

/* Sections */
.section { padding: 110px 0; }
.section-tight { padding-top: 0; }
.section-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; margin-bottom: 48px; }
.section-intro { color: var(--muted); font-size: 1.02rem; max-width: 46ch; }
.eyebrow { color: var(--heather); font-size: .9rem; font-weight: 500; margin-bottom: 14px; }
.eyebrow-light { color: #c9b8c0; }

/* Companies */
.company-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; }
.company-card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.company-card img { aspect-ratio: 16 / 8; object-fit: cover; width: 100%; transition: transform .6s var(--ease); }
.company-body { padding: 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.company-body h3 { font-size: 1.5rem; }
.company-body p { color: var(--muted); }
.company-soon { background: linear-gradient(160deg, #f0ede9, var(--surface)); }
.company-soon .company-body { justify-content: flex-end; }
.tag { align-self: flex-start; font-size: .78rem; font-weight: 500; padding: 4px 12px; border-radius: 999px; background: #e7eee9; color: var(--green); }
.tag-muted { background: #f1e7ec; color: #8a5a6e; }
.link { margin-top: auto; padding-top: 8px; font-weight: 500; color: var(--green); }
@media (hover: hover) {
  a.company-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(24,33,28,.08); }
  a.company-card:hover img { transform: scale(1.03); }
}

/* Cards */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card {
  padding: 28px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card h3 { margin: 22px 0 8px; }
.card p { color: var(--muted); font-size: .95rem; }
.icon { width: 40px; height: 40px; border-radius: 50%; background: #e7eee9; display: grid; place-items: center; }
.icon svg, .contact-details svg { width: 18px; height: 18px; fill: none; stroke: var(--green); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) {
  .card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(24,33,28,.06); }
}

/* Principles */
.section-dark { background: var(--green); color: #eef1ec; }
.section-dark h2 { margin-bottom: 48px; }
.steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.step {
  padding: 28px; border-radius: var(--radius);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
}
.step-num { font-size: .85rem; color: #b5c4b9; }
.step h3 { margin: 14px 0 8px; font-size: 1.3rem; }
.step p { color: #c6d1c9; font-size: .95rem; }

/* About */
.about { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: center; }
.about-copy { display: flex; flex-direction: column; gap: 18px; }
.about-copy h2 { margin-bottom: 6px; }
.about-copy p { color: var(--muted); }
.checks { display: grid; gap: 12px; margin-top: 8px; }
.checks li { display: flex; align-items: center; gap: 12px; font-size: .95rem; }
.checks li::before {
  content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: #f1e7ec url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b0798f' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.quote {
  margin: 0; padding: 32px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(24,33,28,.06);
}
.quote blockquote { margin: 0 0 16px; font-family: var(--font-head); font-size: 1.35rem; font-weight: 500; line-height: 1.4; letter-spacing: -0.01em; }
.quote figcaption { color: var(--muted); font-size: .9rem; }

/* Contact */
.contact-section { padding-top: 0; }
.contact {
  position: relative; overflow: hidden; border-radius: 32px;
  padding: clamp(28px, 6vw, 72px);
  display: flex; flex-direction: column; gap: 24px; align-items: flex-start;
  min-height: 520px; justify-content: space-between;
}
.contact-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.contact-card, .contact-details {
  background: rgba(250, 250, 246, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.75); border-radius: 24px;
}
.contact-card { max-width: 600px; padding: 36px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.contact-card p { color: #3d4741; }
.contact-details { padding: 18px 24px; display: grid; gap: 10px; }
.contact-details li { display: flex; align-items: center; gap: 12px; font-size: .95rem; }
.contact-details a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Footer */
.footer { padding: 48px 0; border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: 1.3fr 1.5fr auto; gap: 40px; align-items: start; }
.footer-tag { color: var(--muted); font-size: .92rem; margin-top: 14px; max-width: 32ch; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.footer-links a { color: var(--muted); font-size: .92rem; }
.footer-links a:hover { color: var(--ink); }
.copyright { color: var(--muted); font-size: .9rem; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: 0s !important; }
}

/* Responsive */
@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: block; }
  .section-head, .about, .company-grid { grid-template-columns: 1fr; }
  .section-head { gap: 16px; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 640px) {
  .section { padding: 80px 0; }
  .section-tight { padding-top: 0; }
  .cards, .steps { grid-template-columns: 1fr; }
  .trust { border-radius: 24px; padding: 18px 22px; }
  .trust ul { gap: 10px 22px; }
  .hero-fade { background: linear-gradient(180deg, rgba(245,245,240,.7) 0%, rgba(245,245,240,.55) 60%, var(--bg) 100%); }
  .contact-card { padding: 26px; }
}
