/* ---------- Tokens ---------- */
:root {
  --ink-900: #0f1a0f;
  --ink-700: #1f2e1f;
  --ink-500: #4f5e4f;
  --ink-300: #889788;
  --paper:   #ffffff;
  --paper-2: #f3f8f1;
  --paper-3: #e4ede1;
  --line:    #d6e0d2;

  --brand-1: #3fbc52;  /* tropical leaf */
  --brand-2: #2ea043;  /* logo green */
  --brand-3: #14532d;  /* deep forest */
  --accent:  #ec4899;  /* hibiscus pink */
  --accent-2:#fb7185;  /* coral */

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --shadow-1: 0 1px 2px rgba(11,31,42,.06), 0 2px 8px rgba(11,31,42,.04);
  --shadow-2: 0 10px 30px rgba(11,31,42,.10);

  --container: 1140px;
  --gap: clamp(20px, 3vw, 32px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink-900);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--brand-2); text-decoration: none; }
a:hover { color: var(--brand-3); }

h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
  color: var(--ink-900);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p  { margin: 0 0 1em; color: var(--ink-700); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 36px);
}

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-2);
  margin: 0 0 .8em;
}

.grad {
  background: linear-gradient(90deg, var(--brand-1), var(--brand-2));
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: .85em 1.4em;
  border-radius: 999px;
  font-weight: 600;
  font-size: .98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  text-align: center;
  white-space: nowrap;
}
.btn-sm { padding: .55em 1em; font-size: .9rem; }
.btn-primary {
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  color: #fff;
  box-shadow: var(--shadow-1);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: var(--shadow-2); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--ink-900);
  border-color: var(--line);
}
.btn-ghost:hover { background: var(--paper-2); color: var(--ink-900); }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-900);
  font-weight: 700;
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: 'Fraunces', serif; font-size: 1.15rem; }
.brand-sub  { font-size: .72rem; color: var(--ink-500); letter-spacing: .12em; text-transform: uppercase; margin-top: 2px; }
.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  padding: 2px;
  box-shadow: inset 0 0 0 1px var(--line);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.primary-nav a {
  color: var(--ink-700);
  font-weight: 500;
  font-size: .98rem;
}
.primary-nav a:hover { color: var(--ink-900); }
.primary-nav a.btn { color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle span {
  width: 18px; height: 2px;
  background: var(--ink-900);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 14px clamp(18px, 4vw, 36px) 22px;
    gap: 6px;
    box-shadow: var(--shadow-2);
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    transition: transform .18s ease, opacity .18s ease;
  }
  .primary-nav a { padding: 10px 4px; border-bottom: 1px solid var(--paper-3); }
  .primary-nav a.btn { border-bottom: 0; margin-top: 8px; }
  .site-header.nav-open .primary-nav {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(60px, 9vw, 120px) 0 clamp(56px, 8vw, 96px);
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 85% -10%, rgba(63,188,82,.20), transparent 55%),
    radial-gradient(ellipse at -10% 35%, rgba(46,160,67,.18), transparent 55%),
    radial-gradient(circle at 90% 80%, rgba(236,72,153,.10), transparent 45%),
    linear-gradient(180deg, #f4faf2 0%, #ffffff 100%);
}
.hero-bg::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 80px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'><path d='M0,40 C240,80 480,0 720,40 C960,80 1200,0 1440,40 L1440,80 L0,80 Z' fill='%23ffffff' opacity='0.7'/></svg>") center/cover no-repeat;
}
.hero-inner { max-width: 820px; position: relative; z-index: 1; }

.hero-logo {
  position: absolute;
  right: clamp(-40px, -2vw, 0px);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(220px, 28vw, 380px);
  height: auto;
  opacity: .9;
  filter: drop-shadow(0 14px 30px rgba(20, 83, 45, .18));
  pointer-events: none;
  z-index: 0;
}
@media (max-width: 900px) {
  .hero-logo { opacity: .12; right: -10%; }
}
.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--ink-700);
  max-width: 60ch;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 8px 0 36px;
}
.hero-stats {
  list-style: none;
  margin: 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
  max-width: 640px;
}
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong {
  font-family: 'Fraunces', serif;
  font-size: 1.6rem;
  color: var(--brand-3);
}
.hero-stats span { font-size: .85rem; color: var(--ink-500); }
@media (max-width: 540px) {
  .hero-stats { grid-template-columns: 1fr; gap: 10px; }
  .hero-stats li { flex-direction: row; align-items: baseline; gap: 10px; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(60px, 8vw, 100px) 0; }
.section-alt { background: var(--paper-2); }
.section-head { max-width: 720px; margin: 0 auto clamp(32px, 4vw, 56px); text-align: center; }
.section-lede { color: var(--ink-700); }

/* ---------- Service cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--gap);
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-1);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
  border-color: #c9dde4;
}
.card-icon {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  margin-bottom: 14px;
  background: linear-gradient(135deg, rgba(63,188,82,.18), rgba(236,72,153,.14));
  color: var(--brand-3);
}
.card p { margin: 0; color: var(--ink-700); }

/* ---------- Industries ---------- */
.industry-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--gap);
}
.industry-grid li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.industry-grid li span {
  display: inline-grid;
  place-items: center;
  width: 40px; height: 40px;
  background: var(--paper-2);
  border-radius: 10px;
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.industry-grid h3 { margin-bottom: 4px; }
.industry-grid p  { margin: 0; color: var(--ink-500); font-size: .95rem; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; } }

.check-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--ink-700);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .5em;
  width: 16px; height: 16px;
  border-radius: 50%;
  background:
    linear-gradient(135deg, var(--brand-1), var(--brand-2));
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 4px; top: calc(.5em + 4px);
  width: 8px; height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

.about-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--brand-3), #166534 60%, var(--brand-2));
  color: #ecf7ee;
  padding: 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2);
}
.about-card::after {
  content: "";
  position: absolute;
  right: -40px; bottom: -40px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(236,72,153,.45), transparent 70%);
  filter: blur(4px);
  pointer-events: none;
}
.about-card h3 { color: #fff; font-size: 1.3rem; margin-bottom: 14px; position: relative; }
.about-card ol { margin: 0; padding-left: 18px; display: grid; gap: 10px; position: relative; }
.about-card li { color: #d8eedb; }
.about-card strong { color: #fff; }

/* ---------- Contact ---------- */
.section-contact {
  background:
    radial-gradient(ellipse at 100% 0%, rgba(63,188,82,.12), transparent 60%),
    radial-gradient(ellipse at 0% 100%, rgba(236,72,153,.10), transparent 55%),
    var(--paper);
}

.contact-copy {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contact-list { 
  list-style: none; 
  padding: 0; 
  margin: 32px 0 0; 
  display: grid; 
  gap: 18px; 
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.contact-list li {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  padding: 18px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  text-align: left;
}
.contact-label {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-2);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--brand-3);
  color: #cdd9c2;
  padding: 36px 0 28px;
  margin-top: 40px;
}
.footer-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px;
  align-items: center;
}
@media (max-width: 720px) {
  .footer-row { grid-template-columns: 1fr; text-align: center; }
}
.footer-brand { display: flex; flex-direction: column; gap: 4px; }
.footer-brand strong { color: #fff; font-size: 1.05rem; }
.footer-brand span   { font-size: .85rem; color: #a8c0a3; }
.footer-nav { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.footer-nav a { color: #d8e7d2; font-size: .95rem; }
.footer-nav a:hover { color: #fff; }
.copyright { margin: 0; font-size: .85rem; color: #a8c0a3; text-align: right; }
@media (max-width: 720px) { .copyright { text-align: center; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}