/* Tri Acorn Agents — site shell v1 (staged)
   Light, airy, organic-tech. Mobile-first. */

:root {
  --aqua: #9ad0d0;
  --aqua-soft: #bbe0d9;
  --mint: #d9efe3;
  --green: #30c14b;          /* vivid spring green — CTA */
  --green-ink: #0a2417;      /* text on vivid green (≈7:1) */
  --teal: #1f6e7a;           /* headlines / wordmark */
  --teal-deep: #134e57;      /* approach band */
  --ink: #12261f;            /* body text */
  --muted: #47605a;
  --paper: #fdfefd;
  --line: #d7e8e2;
  --shadow: 0 18px 44px rgba(19, 78, 87, 0.10);
  --radius: 18px;
  --font-head: "Manrope", -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1100px 480px at 12% -6%, var(--aqua-soft) 0%, transparent 60%),
    radial-gradient(900px 420px at 92% 4%, var(--mint) 0%, transparent 55%),
    var(--paper);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--teal);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.25rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }

p { margin: 0 0 1em; }

a { color: var(--teal); }
a:hover { color: var(--teal-deep); }

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--teal-deep);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 100;
  font-weight: 600;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

.wrap {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 0.9em;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 254, 253, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.7rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.12rem;
  color: var(--teal);
  letter-spacing: -0.01em;
}
.brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
}
.site-header nav { display: flex; gap: 1.4rem; }
.site-header nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
}
.site-header nav a:hover { color: var(--teal); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  margin-top: 0.6rem;
  padding: 0.95rem 2rem;
  background: var(--green);
  color: var(--green-ink);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(48, 193, 75, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover {
  background: #2aa844;
  color: var(--green-ink);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(48, 193, 75, 0.4);
}
.btn-large { font-size: 1.1rem; word-break: break-all; }

/* ---------- Hero ---------- */
.hero { padding: clamp(3rem, 8vw, 6rem) 0 clamp(2rem, 5vw, 3.5rem); }
.hero-inner {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
.lede {
  font-size: clamp(1.12rem, 2.4vw, 1.35rem);
  color: var(--muted);
  max-width: 34rem;
}
.hero-art {
  margin: 0;
  justify-self: center;
}
.hero-art img {
  width: min(380px, 80vw);
  border-radius: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: var(--aqua-soft);
}

/* ---------- Banner band ---------- */
.banner-band {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  margin-block: 0.5rem 0;
}

/* ---------- Services ---------- */
.services { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-lede { color: var(--muted); max-width: 36rem; margin-top: -0.4em; }
.cards {
  list-style: none;
  margin: 2.2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
.cards li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  box-shadow: 0 8px 24px rgba(19, 78, 87, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.cards li:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(19, 78, 87, 0.12);
}
.cards h3 { margin-bottom: 0.35em; }
.cards p { margin: 0; color: var(--muted); }

/* ---------- Approach ---------- */
.approach {
  background: linear-gradient(160deg, var(--teal-deep), #0d3a41);
  color: #eef7f4;
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}
.approach h2 { color: #fff; }
.eyebrow-light { color: var(--aqua); }
.approach-list {
  list-style: none;
  counter-reset: step;
  margin: 2.2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.75rem;
  grid-template-columns: 1fr;
}
.approach-list li {
  counter-increment: step;
  border-top: 2px solid rgba(154, 208, 208, 0.35);
  padding-top: 1.25rem;
}
.approach-list h3 {
  color: var(--aqua);
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}
.approach-list h3::before {
  content: counter(step, decimal-leading-zero);
  font-size: 0.85em;
  color: var(--green);
  font-weight: 800;
}
.approach-list p { margin: 0; color: #cfe3dc; }

/* ---------- Contact ---------- */
.contact { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
  max-width: 44rem;
  margin-inline: auto;
  background-image: radial-gradient(600px 220px at 50% -10%, var(--mint) 0%, transparent 70%);
}
.contact-card p { color: var(--muted); }
.snapshot {
  margin: 1.6rem 0 0;
  font-size: 0.98rem;
  color: var(--muted);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.6rem 0 2rem;
}
.site-footer p {
  margin: 0;
  text-align: center;
  font-size: 0.92rem;
  color: var(--muted);
}

/* ---------- Wider screens ---------- */
@media (min-width: 640px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 880px) {
  .hero-inner { grid-template-columns: 1.05fr 0.95fr; }
  .hero-art { justify-self: end; }
  .approach-list { grid-template-columns: repeat(3, 1fr); gap: 2.25rem; }
}
@media (min-width: 1024px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
