/* ============================================================= *
 *  Tim Reid — refinement layer (loads AFTER the theme CSS)
 *  Goal: keep the original look & feel, but elevate it —
 *  richer green, better type rhythm, more air, soft depth,
 *  smoother motion. No layout is moved; this only polishes.
 * ============================================================= */

:root {
  --brand: #7cb000;          /* refined lime — close to the original #80b600 */
  --brand-d: #5f8700;        /* depth / hover */
  --brand-l: #9fd72f;        /* light accent */
  --ink: #1d211b;            /* headings, near-black warm */
  --body: #545b50;           /* body copy */
  --muted: #8b918a;
  --line: #e7ebe1;           /* hairlines */
  --bg-soft: #f6f8f1;        /* faint green-tinted surface */
  --r: 12px;
  --r-sm: 8px;
  --shadow-1: 0 2px 8px rgba(24, 33, 12, .06);
  --shadow-2: 0 10px 30px rgba(24, 33, 12, .10);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

html { scroll-behavior: smooth; }

body {
  color: var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.7;
}

::selection { background: var(--brand); color: #fff; }

a { transition: color .2s var(--ease); }
a:hover { color: var(--brand-d); }

img { image-rendering: auto; }

/* ---- Headings ------------------------------------------------ */
h1, h2, h3, h4, h5, h6 { color: var(--ink); letter-spacing: -.01em; }

/* ---- Buttons ------------------------------------------------- */
.btn,
.wpcf7-submit,
input[type="submit"] {
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: .04em;
  padding: .85em 2.1em;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease),
              background-color .22s var(--ease), color .22s var(--ease),
              border-color .22s var(--ease);
  will-change: transform;
}
.btn:hover,
.wpcf7-submit:hover,
input[type="submit"]:hover { transform: translateY(-2px); }

/* primary green button (incl. the contact SEND) */
.btn-primary,
.wpcf7-submit,
input[type="submit"] {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: 0 6px 16px rgba(124, 176, 0, .28);
}
.btn-primary:hover,
.wpcf7-submit:hover,
input[type="submit"]:hover {
  background: var(--brand-d);
  border-color: var(--brand-d);
  color: #fff;
  box-shadow: 0 10px 24px rgba(124, 176, 0, .36);
}

/* hero outline button -> fills on hover */
.btn-secondary-outline {
  border-width: 2px;
  backdrop-filter: blur(2px);
}
.btn-secondary-outline:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .25);
}

/* ---- Sticky header ------------------------------------------ */
.site-header {
  transition: box-shadow .3s var(--ease), background-color .3s var(--ease);
}
.site-header.is-sticky,
.site-header:not(.h-on-top) {
  box-shadow: 0 4px 22px rgba(24, 33, 12, .08);
  -webkit-backdrop-filter: saturate(1.1) blur(6px);
  backdrop-filter: saturate(1.1) blur(6px);
}
.onepress-menu > li > a { position: relative; transition: color .2s var(--ease); }
.onepress-menu > li > a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px;
  height: 2px; background: var(--brand); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.onepress-menu > li:hover > a::after,
.onepress-menu > li.current-menu-item > a::after { transform: scaleX(1); }
.onepress-menu > li:hover > a,
.onepress-menu > li.current-menu-item > a { color: var(--brand-d); }

/* ---- Hero --------------------------------------------------- */
#hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(105deg, rgba(8, 12, 4, .55) 0%,
              rgba(8, 12, 4, .28) 42%, rgba(8, 12, 4, 0) 70%);
  pointer-events: none;
}
#hero .container { position: relative; z-index: 2; }
.hero-large-text {
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.02;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .35);
}
.hero-large-text .js-rotating,
.hero-large-text span { color: var(--brand-l); }
.hero__content h3 {
  text-shadow: 0 1px 12px rgba(0, 0, 0, .4);
  font-weight: 600;
}

/* ---- Sections ----------------------------------------------- */
.section-padding { padding-top: 96px; padding-bottom: 96px; }

.section-title {
  font-weight: 800;
  letter-spacing: -.015em;
  margin-bottom: .4em;
}
.section-title-area { margin-bottom: 3rem; }
.section-title-area::after {
  content: ""; display: block; width: 64px; height: 4px;
  margin: 1.1rem auto 0; border-radius: 4px;
  background: linear-gradient(90deg, var(--brand), var(--brand-l));
}
.section-desc { color: var(--muted); font-size: 1.05rem; }

/* ---- Homepage feature cards (Topics / Outcomes / Sweet Spot) - */
/* inner .fi-card wrapper keeps the bootstrap column gutter as the gap */
.feature-item .fi-card {
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-1);
  padding: 2.4rem 1.6rem 2rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease),
              border-color .3s var(--ease);
}
.feature-item:hover .fi-card {
  transform: translateY(-6px);
  box-shadow: var(--shadow-2);
  border-color: #dfe6d3;
}
.feature-item h4 { letter-spacing: .06em; margin-top: .9rem; font-weight: 700; }
.feature-item .icon-image img { transition: transform .35s var(--ease); }
.feature-item:hover .icon-image img { transform: scale(1.08) rotate(-3deg); }

/* ---- Testimonial cards (wptww design-4) --------------------- */
.wptww-testimonial-inner {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-1);
  padding: 1.6rem 1.6rem 1.4rem;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease),
              border-color .28s var(--ease);
}
.wptww-testimonial-inner:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
  border-color: #dfe6d3;
}
.wptww-testimonial_avatar img {
  border-radius: 50%;
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--brand-l);
}

/* ---- Resource / gallery image cards (.bwg-a, .g-item) ------- */
.bwg-a, .gallery-grid .g-item {
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.bwg-a:hover, .gallery-grid .g-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
}
.bwg-a img, .gallery-grid .g-item img { transition: transform .5s var(--ease); }
.bwg-a:hover img, .gallery-grid .g-item:hover img { transform: scale(1.05); }

/* ---- Form inputs ------------------------------------------- */
.wpcf7-form-control:not(.wpcf7-submit),
.web3-contact input:not([type="submit"]):not([type="checkbox"]),
.web3-contact textarea {
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  padding: .8em 1em;
  background: #fff;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.wpcf7-form-control:not(.wpcf7-submit):focus,
.web3-contact input:focus,
.web3-contact textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(124, 176, 0, .18);
}

/* ---- Footer ------------------------------------------------- */
.footer-connect a {
  transition: transform .2s var(--ease), color .2s var(--ease);
  display: inline-block;
}
.footer-connect a:hover { transform: translateY(-3px); color: var(--brand-l); }

/* ---- Back to top ------------------------------------------- */
.back-to-top {
  border-radius: 50% !important;
  background: var(--brand) !important;
  box-shadow: var(--shadow-2);
  transition: transform .2s var(--ease), background-color .2s var(--ease);
}
.back-to-top:hover { transform: translateY(-3px); background: var(--brand-d) !important; }

/* ---- Accessibility: keyboard focus -------------------------- */
a:focus-visible, button:focus-visible,
input:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(124, 176, 0, .5);
  outline-offset: 2px;
}

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