/* ============================================================
   Bryant Strategy — styles
   Brand palette (Lara's chosen colors):
   forest #2F4F3E · brown #7A5C3E · sage #A7B8A0 · clay #D7C7B0
   off-white #F7F5F1 · charcoal #2D2D2D
   ============================================================ */
:root {
  --forest: #2F4F3E;
  --forest-dark: #21392B;
  --forest-light: #4A6B58;
  --brown: #7A5C3E;
  --sage: #A7B8A0;
  --clay: #D7C7B0;
  --cream: #F7F5F1;
  --cream-deep: #ECE7DD;
  --surface: #FFFFFF;
  --surface-alt: #FBF9F5;
  --ink: #2D2D2D;
  --ink-muted: #5C5A55;
  --line: #E3DDD1;
  --maxw: 1180px;
  --radius: 14px;
  --shadow: 0 18px 40px rgba(47, 79, 62, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; font-weight: 600; line-height: 1.15; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 56px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 15px; padding: 16px 26px; border-radius: 8px;
  border: 1.6px solid transparent; cursor: pointer; transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--solid { background: var(--forest); color: #fff; }
.btn--solid:hover { background: var(--forest-dark); }
.btn--accent { background: var(--brown); color: #fff; }
.btn--accent:hover { background: #654b32; }
.btn--outline { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn--outline:hover { background: var(--forest); color: #fff; }
.btn--ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.65); }
.btn--ghost:hover { background: rgba(255,255,255,.16); }
.btn--sm { padding: 11px 18px; font-size: 14px; }
.btn--block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 245, 241, .92); backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { width: 40px; height: 40px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: "Fraunces", serif; font-size: 21px; font-weight: 600; color: var(--ink); }
.brand__tag { font-size: 9.5px; font-weight: 600; letter-spacing: 1.2px; color: var(--ink-muted); margin-top: 3px; }
.nav__links { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav__links > a:not(.btn) { padding: 10px 14px; font-weight: 600; font-size: 15px; color: var(--ink); position: relative; }
.nav__links > a:not(.btn)::after {
  content: ""; position: absolute; left: 14px; bottom: 6px; height: 2px; width: 0; background: var(--brown); transition: width .18s ease;
}
.nav__links > a:not(.btn):hover { color: var(--forest); }
.nav__links > a:not(.btn):hover::after { width: 20px; }
.nav__links .btn { margin-left: 10px; }
.nav__toggle { display: none; margin-left: auto; background: none; border: 0; cursor: pointer; width: 44px; height: 44px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.nav__toggle span { width: 24px; height: 2.4px; background: var(--forest); border-radius: 2px; transition: .25s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.4px) rotate(-45deg); }
.nav__mobile { display: none; flex-direction: column; padding: 12px 56px 22px; gap: 4px; background: var(--cream); border-bottom: 1px solid var(--line); }
.nav__mobile a:not(.btn) { padding: 12px 4px; font-weight: 600; border-bottom: 1px solid var(--line); }
.nav__mobile .btn { margin-top: 12px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 86vh; display: flex; align-items: center;
  background: url("/assets/images/cattle-pasture.jpg") center 20% / cover no-repeat; }
.hero__overlay { position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(18,42,28,.90) 0%, rgba(22,56,40,.62) 48%, rgba(22,56,40,.32) 100%); }
.hero__inner { position: relative; padding: 96px 56px; }
.hero__eyebrow { display: inline-block; color: #fff; font-weight: 600; font-size: 14px;
  border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.12); padding: 8px 14px; border-radius: 40px; }
.hero__title { color: #fff; font-size: clamp(34px, 6vw, 58px); max-width: 760px; margin: 26px 0 0; }
.hero__lead { color: rgba(255,255,255,.92); font-size: clamp(16px, 2.4vw, 18.5px); max-width: 620px; margin-top: 22px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__pills { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 34px; }
.hero__pills li { color: rgba(255,255,255,.92); font-weight: 500; font-size: 14.5px; display: flex; align-items: center; gap: 9px; }
.hero__pills li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--clay); }

/* ---------- Section shell ---------- */
.section { padding: 104px 0; }
.section--alt { background: var(--surface-alt); }
.section--dark { background: var(--forest-dark); }
.label { display: flex; align-items: center; gap: 12px; font-size: 12.5px; font-weight: 700; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--forest-light); }
.label::before { content: ""; width: 28px; height: 2px; background: var(--brown); }
.label--light { color: var(--clay); }
.label--light::before { background: var(--clay); }
.section__title { font-size: clamp(26px, 4vw, 38px); margin-top: 18px; max-width: 860px; }
.section__title--light { color: #fff; }
.section__intro { max-width: 760px; margin-top: 18px; font-size: 17px; color: var(--ink); }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 24px; margin-top: 44px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Problem ---------- */
.problem-card { background: var(--cream-deep); border-left: 3px solid var(--brown); border-radius: var(--radius); padding: 26px; }
.problem-card h3 { font-size: 17.5px; }
.problem-card h3::before { content: "⚠"; color: var(--brown); margin-right: 10px; font-family: Inter, sans-serif; }
.problem-card p { margin-top: 12px; font-size: 14.5px; color: var(--ink); }
.solution-bar { margin-top: 40px; padding: 40px; border-radius: 20px; display: flex; align-items: center; gap: 32px;
  background: linear-gradient(135deg, var(--forest), var(--forest-dark)); }
.solution-bar__eyebrow { color: var(--clay); font-weight: 700; font-size: 12.5px; letter-spacing: 1.2px; text-transform: uppercase; }
.solution-bar__text { color: #fff; font-family: "Fraunces", serif; font-size: 22px; line-height: 1.4; font-weight: 500; margin-top: 12px; }
.solution-bar .btn { flex-shrink: 0; }

/* ---------- Value ---------- */
.value-card { display: flex; gap: 18px; background: var(--surface-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.section--alt .value-card { background: var(--surface); }
.value-card__icon { flex-shrink: 0; width: 52px; height: 52px; border-radius: 12px; background: rgba(47,79,62,.09);
  display: flex; align-items: center; justify-content: center; font-size: 24px; }
.value-card h3 { font-size: 18px; }
.value-card p { margin-top: 10px; font-size: 14.5px; color: var(--ink-muted); }

.nonprofit { margin-top: 32px; background: var(--forest); border-radius: 20px; padding: 44px; display: grid; grid-template-columns: 5fr 6fr; gap: 48px; }
.chip { display: inline-block; background: rgba(167,184,160,.3); color: var(--forest-dark); font-weight: 700; font-size: 11.5px;
  letter-spacing: 1px; text-transform: uppercase; padding: 6px 12px; border-radius: 40px; }
.nonprofit__intro h3 { color: #fff; font-size: 26px; margin: 18px 0 14px; }
.nonprofit__intro p { color: rgba(255,255,255,.86); font-size: 15.5px; }
.nonprofit__list li { color: rgba(255,255,255,.94); font-size: 14.8px; padding-left: 30px; position: relative; margin-bottom: 14px; }
.nonprofit__list li::before { content: "🌿"; position: absolute; left: 0; top: 0; }

/* ---------- Focus (photo cards) ---------- */
.focus-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: .18s; display: flex; flex-direction: column; }
.focus-card:hover { border-color: var(--forest); box-shadow: var(--shadow); transform: translateY(-3px); }
.focus-card__media { position: relative; height: 170px; }
.focus-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.focus-card:hover .focus-card__media img { transform: scale(1.04); }
.focus-card__media img { transition: transform .4s ease; }
.focus-card__icon { position: absolute; left: 14px; bottom: 14px; width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255,255,255,.92); display: flex; align-items: center; justify-content: center; font-size: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,.18); }
.focus-card__body { padding: 22px; }
.focus-card h3 { font-size: 17.5px; }
.focus-card p { margin-top: 12px; font-size: 14.5px; color: var(--ink-muted); }

/* ---------- Gallery strip ---------- */
.gallery { display: flex; width: 100%; }
.gallery figure { margin: 0; flex: 1 1 0; overflow: hidden; }
.gallery img { width: 100%; height: 260px; object-fit: cover; display: block; transition: transform .5s ease; }
.gallery figure:hover img { transform: scale(1.05); }

/* ---------- Services ---------- */
.service-card { background: var(--forest); color: #fff; border-radius: 16px; padding: 32px; }
.service-card h3 { color: #fff; font-size: 22px; }
.service-card__summary { color: rgba(255,255,255,.85); margin-top: 14px; font-size: 15.5px; }
.checklist { margin-top: 22px; border-top: 1px solid rgba(255,255,255,.18); padding-top: 22px; }
.checklist li { color: rgba(255,255,255,.95); font-size: 14.5px; padding-left: 28px; position: relative; margin-bottom: 12px; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--clay); font-weight: 700; }
.formats { margin-top: 28px; background: var(--cream-deep); border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
.formats h3 { font-size: 20px; }
.formats__chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.formats__chips span { background: var(--surface); border: 1px solid var(--line); border-radius: 40px; padding: 12px 16px; font-size: 14px; font-weight: 500; }

/* ---------- Stats + charts ---------- */
.stats { margin-bottom: 4px; }
.stat-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; }
.stat-card__num { font-family: "Fraunces", serif; font-size: 34px; font-weight: 600; color: var(--forest); }
.stat-card__label { font-size: 13.5px; color: var(--ink-muted); margin: 10px 0 14px; flex: 1; }
.stat-card__src { font-size: 10px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--brown); }
.chart-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 26px; margin: 0; }
.chart-card figcaption h3 { font-size: 18px; }
.chart-card figcaption p { font-size: 13px; color: var(--ink-muted); margin-top: 4px; }
.chart { width: 100%; height: auto; margin-top: 20px; }
.chart-card__src { font-size: 11.5px; color: var(--ink-muted); font-weight: 500; margin-top: 12px; }
.charts__note { font-size: 12.5px; font-style: italic; color: var(--ink-muted); margin-top: 14px; }
.bar, .line, .area, .dots circle { transition: opacity .6s ease; }

/* ---------- Experience ---------- */
.cases { margin-top: 44px; display: flex; flex-direction: column; gap: 20px; }
.case { display: flex; gap: 24px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 30px; }
.case__num { font-family: "Fraunces", serif; font-size: 30px; font-weight: 700; color: var(--clay); min-width: 50px; }
.case__tag { display: inline-block; background: rgba(215,199,176,.16); color: var(--clay); font-weight: 600; font-size: 12px; padding: 6px 12px; border-radius: 40px; }
.case h3 { color: #fff; font-size: 20px; margin: 14px 0 12px; }
.case p { color: rgba(255,255,255,.8); font-size: 15.5px; }

/* ---------- Testimonials ---------- */
.quote { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 28px; margin: 0; }
.quote__mark { font-family: "Fraunces", serif; font-size: 52px; line-height: .4; color: var(--brown); height: 26px; }
.quote__text { font-size: 16.5px; font-style: italic; line-height: 1.55; margin-top: 10px; }
.quote footer { margin-top: 22px; border-top: 2px solid var(--brown); padding-top: 14px; display: inline-block; }
.quote__name { display: block; font-weight: 700; color: var(--forest); }
.quote__role { display: block; font-size: 13.5px; color: var(--ink-muted); }
.testimonials__note { font-size: 12.5px; font-style: italic; color: var(--ink-muted); margin-top: 22px; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 360px 1fr; gap: 56px; margin-top: 28px; align-items: start; }
.about__media img { border-radius: 16px; width: 100%; object-fit: cover; aspect-ratio: 4/5; }
.about__card { background: var(--forest); border-radius: var(--radius); padding: 20px; margin-top: 16px; }
.about__name { font-family: "Fraunces", serif; font-size: 20px; font-weight: 600; color: #fff; }
.about__role { color: var(--clay); font-size: 13.5px; font-weight: 600; }
.about__creds { margin-top: 16px; }
.about__creds li { color: rgba(255,255,255,.92); font-size: 13.5px; padding-left: 24px; position: relative; margin-bottom: 10px; }
.about__creds li::before { content: "✓"; position: absolute; left: 0; color: var(--clay); font-weight: 700; }
.about__lede { font-family: "Fraunces", serif; font-size: 27px; line-height: 1.25; color: var(--forest); margin-bottom: 24px; }
.about__body p { margin-bottom: 18px; font-size: 17px; }
.about__body .btn { margin-top: 6px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 5fr 6fr; gap: 56px; margin-top: 28px; align-items: start; }
.contact__intro .section__title { margin-top: 0; }
.contact__intro p { margin-top: 18px; font-size: 17px; }
.contact__info { margin-top: 30px; display: flex; flex-direction: column; gap: 18px; }
.contact__info li { display: flex; gap: 14px; align-items: flex-start; }
.contact__ico { width: 42px; height: 42px; border-radius: 10px; background: rgba(47,79,62,.08); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.contact-form, .form-success { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 30px; box-shadow: var(--shadow); }
.contact-form h3 { font-size: 20px; margin-bottom: 20px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: 15px;
  background: var(--surface); color: var(--ink); transition: border .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(47,79,62,.1); }
.field textarea { resize: vertical; }
.form-note { font-size: 12.5px; color: var(--ink-muted); margin-top: 12px; }
.form-error { color: #B23A3A; font-size: 13.5px; margin: 12px 0 0; }
.form-success { text-align: left; }
.form-success__icon { width: 56px; height: 56px; border-radius: 14px; background: rgba(47,79,62,.1); color: var(--forest); font-size: 30px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.form-success h3 { font-size: 20px; }
.form-success p { margin-top: 10px; font-size: 16px; }
.form-success a, .contact__info a { color: var(--forest); font-weight: 600; }

/* ---------- Footer ---------- */
.footer { background: var(--forest-dark); color: #fff; padding: 64px 0 30px; }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer__brand { display: flex; gap: 14px; }
.footer__name { font-family: "Fraunces", serif; font-size: 21px; font-weight: 600; }
.footer__desc { color: rgba(255,255,255,.7); font-size: 14.5px; margin-top: 10px; max-width: 360px; }
.footer__head { color: var(--clay); font-size: 12px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; margin-bottom: 16px; }
.footer__col a { display: block; color: rgba(255,255,255,.7); font-size: 14.5px; font-weight: 500; margin-bottom: 10px; }
.footer__col a:hover { color: #fff; }
.footer__muted { color: rgba(255,255,255,.7); font-size: 14px; }
.footer__base { display: flex; justify-content: space-between; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.55); font-size: 13px; }

/* ---------- Reveal animation ----------
   Only hides when JS is active (html.js). Without JS, or for crawlers,
   content is fully visible — it can never get stuck invisible. */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .gallery { flex-wrap: wrap; }
  .gallery figure { flex: 1 1 50%; }
  .gallery img { height: 220px; }
  .nonprofit { grid-template-columns: 1fr; gap: 28px; padding: 32px; }
  .about, .contact { grid-template-columns: 1fr; gap: 36px; }
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav.is-open .nav__mobile { display: flex; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 24px; }
  .section { padding: 64px 0; }
  .hero__inner { padding: 80px 24px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .solution-bar { flex-direction: column; align-items: flex-start; padding: 28px; gap: 22px; }
  .solution-bar__text { font-size: 19px; }
  .service-card { padding: 26px; }
  .case { flex-direction: column; gap: 14px; padding: 22px; }
  .nonprofit { padding: 26px; }
  .footer__inner { grid-template-columns: 1fr; gap: 30px; }
  .footer__base { flex-direction: column; gap: 8px; }
  .nav__mobile { padding: 12px 24px 22px; }
  .gallery img { height: 180px; }
}
