/* ===== Design tokens ===== */
:root {
  --charcoal: #1B1F21;
  --charcoal-light: #2B3134;
  --green: #4A9163;
  --green-dark: #3A7550;
  --green-light: #7CB491;
  --grey-100: #F5F6F5;
  --grey-300: #D6D8D6;
  --grey-600: #6B7270;
  --text: #1B1F21;
  --white: #FFFFFF;
  --paper: #F7F8F6;
  --max-width: 1100px;
  --max-width-wide: 1340px;
  --radius: 3px;
  --font-display: "Archivo", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
}

/* ===== Reset ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

img { max-width: 100%; display: block; }
a { color: var(--green-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ===== Layout ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.container--wide {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header / Nav ===== */
.site-header {
  background: var(--charcoal);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.nav__logo img {
  height: 52px;
  width: auto;
  border-radius: 2px;
}

.nav__links {
  display: flex;
  list-style: none;
  gap: 28px;
}

.nav__links a {
  color: var(--grey-300);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 6px 2px;
  transition: color 0.2s;
}

.nav__links a:hover,
.nav__links a.is-active {
  color: var(--white);
  text-decoration: none;
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
}

/* ===== Eyebrow label (reused on light and dark backgrounds) ===== */
.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 18px;
}

.hero .eyebrow { color: var(--green-dark); }
.founder-teaser .eyebrow { color: var(--green-light); }

/* ===== Hero ===== */
.hero {
  background: var(--paper);
  padding: 88px 0 76px;
}

.hero .container--wide {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 48px;
  align-items: center;
}

.hero__inner { max-width: 700px; }

.hero__mark { justify-self: end; width: 100%; max-width: 300px; }

.hero__mark img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 24px 48px -16px rgba(27, 31, 33, 0.3);
}

.hero h1 {
  font-size: clamp(2.4rem, 4.6vw, 3.8rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--charcoal);
  margin-bottom: 24px;
}

.hero h1 span { color: var(--green-dark); }

.hero p {
  font-family: var(--font-body);
  font-size: 1.15rem;
  color: var(--grey-600);
  max-width: 600px;
  margin-bottom: 36px;
}

.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ===== Credentials strip (quiet, plain — not a hero moment) ===== */
.credentials {
  background: var(--charcoal);
  color: var(--white);
  padding: 34px 0;
}

.credentials__row {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 56px;
}

.credentials__number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
}

.credentials__number span { color: var(--green); }

.credentials__label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--grey-300);
  margin-top: 2px;
}

/* ===== Founder teaser (homepage, right after the hero) ===== */
.founder-teaser {
  background: var(--charcoal);
  color: var(--white);
}

.founder-teaser__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: center;
  padding: 72px 0;
}

.founder-teaser__photo img {
  width: 100%;
  border-radius: var(--radius);
}

.founder-teaser__lead {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.25;
  max-width: 560px;
  margin-bottom: 26px;
}

.founder-teaser__content p {
  color: var(--grey-300);
  max-width: 520px;
  margin-bottom: 28px;
}

.founder-teaser__content .btn--outline {
  border-color: var(--grey-600);
}

/* ===== Services (icon grid, replaces card grid) ===== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 56px;
}

.service-item { display: flex; gap: 18px; align-items: flex-start; }

.service-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(74, 145, 99, 0.1);
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon svg { width: 22px; height: 22px; stroke: currentColor; }

.service-item h3 { font-size: 1.05rem; margin-bottom: 5px; }
.service-item p { color: var(--grey-600); font-size: 0.93rem; }

.services-cta { margin-top: 48px; }

/* ===== Page header (inner pages) ===== */
.page-header {
  background: var(--charcoal);
  color: var(--white);
  padding: 56px 0;
  border-bottom: 4px solid var(--green);
}

.page-header h1 { font-size: 2rem; font-weight: 700; }
.page-header p { color: var(--grey-300); margin-top: 8px; }

/* ===== Sections ===== */
.section { padding: 72px 0; }
.section--grey { background: var(--grey-100); }

.section h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  margin-bottom: 12px;
}

.section__intro {
  color: var(--grey-600);
  max-width: 720px;
  margin-bottom: 40px;
}

.rule {
  width: 56px;
  height: 3px;
  background: var(--green);
  margin-bottom: 24px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  padding: 13px 30px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid var(--green);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.btn:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  text-decoration: none;
  color: var(--white);
}

.btn--outline {
  background: transparent;
  border-color: var(--grey-600);
  color: var(--white);
}

.btn--outline:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--charcoal);
}

.btn--ghost {
  background: transparent;
  border-color: var(--charcoal);
  color: var(--charcoal);
}

.btn--ghost:hover {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: var(--white);
}

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

.card {
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-top: 3px solid var(--green);
  border-radius: var(--radius);
  padding: 28px;
}

.card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.card p { color: var(--grey-600); font-size: 0.95rem; }

/* ===== Service list ===== */
.service-list { list-style: none; }

.service-list > li {
  padding: 18px 0 18px 28px;
  border-bottom: 1px solid var(--grey-300);
  position: relative;
}

.service-list > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 26px;
  width: 10px;
  height: 10px;
  background: var(--green);
}

.service-list ul {
  list-style: none;
  margin-top: 10px;
  padding-left: 4px;
}

.service-list ul li {
  color: var(--grey-600);
  font-size: 0.95rem;
  padding: 4px 0 4px 16px;
  position: relative;
}

.service-list ul li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--green);
}

/* ===== Accordion ===== */
.accordion { border-top: 1px solid var(--grey-300); }

.accordion__item { border-bottom: 1px solid var(--grey-300); }

.accordion__trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 22px 44px 22px 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  position: relative;
  font-family: inherit;
}

.accordion__trigger:hover { color: var(--green-dark); }

.accordion__trigger::after {
  content: "+";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--green);
}

.accordion__trigger[aria-expanded="true"]::after { content: "–"; }

.accordion__panel {
  display: none;
  padding: 0 0 26px;
  color: var(--grey-600);
  max-width: 760px;
}

.accordion__panel.is-open { display: block; }
.accordion__panel p + p { margin-top: 12px; }

.badge {
  display: inline-block;
  background: var(--grey-100);
  border: 1px solid var(--grey-300);
  color: var(--grey-600);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
}

/* ===== Profile ===== */
.profile {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: start;
}

.profile img {
  border-radius: var(--radius);
  border-bottom: 4px solid var(--green);
}

.profile h3 { font-size: 1.3rem; margin-bottom: 4px; }

.profile__role {
  color: var(--green-dark);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.profile p + p { margin-top: 14px; }

/* ===== Forms ===== */
.form { max-width: 620px; }

.form__group { margin-bottom: 22px; }

.form label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 7px;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--grey-300);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  background: var(--white);
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(74, 145, 99, 0.15);
}

.form textarea { min-height: 140px; resize: vertical; }

.hidden { display: none; }

/* ===== Contact info ===== */
.contact-info { list-style: none; }

.contact-info li {
  padding: 16px 0;
  border-bottom: 1px solid var(--grey-300);
}

.contact-info span {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey-600);
  margin-bottom: 3px;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--charcoal);
  color: var(--grey-300);
  padding: 48px 0 28px;
  border-top: 4px solid var(--green);
  font-size: 0.9rem;
}

.site-footer a { color: var(--grey-300); }
.site-footer a:hover { color: var(--white); }

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-bottom: 36px;
}

.site-footer h4 {
  color: var(--white);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }

.site-footer__bottom {
  border-top: 1px solid var(--charcoal-light);
  padding-top: 22px;
  font-size: 0.82rem;
  color: var(--grey-600);
}

/* ===== Responsive ===== */
@media (max-width: 820px) {
  .nav__toggle { display: block; }

  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--charcoal);
    padding: 8px 24px 20px;
    border-top: 1px solid var(--charcoal-light);
  }

  .nav__links.is-open { display: flex; }
  .nav__links li { padding: 10px 0; }

  .hero { padding: 48px 0 40px; }

  .hero .container--wide { grid-template-columns: 1fr; gap: 32px; }
  .hero__mark { justify-self: center; max-width: 200px; order: -1; }

  .credentials__row { gap: 24px 40px; }

  .founder-teaser__grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 0;
  }
  .founder-teaser__photo { max-width: 280px; margin: 0 auto; }

  .services-grid { grid-template-columns: 1fr; gap: 32px; }

  .profile { grid-template-columns: 1fr; gap: 28px; }
  .profile img { max-width: 260px; }

  .section { padding: 52px 0; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.1rem; }
}