/*
Theme Name: WFA Hearing Foundation
Theme URI: https://wfahearingfoundation.org
Author: WFA Hearing Foundation
Author URI: https://wfahearingfoundation.org
Description: A modern, sleek WordPress theme for WFA Hearing Foundation, built around the foundation's own angular navy-and-teal identity. Includes a fully editable homepage (hero, about, mission/vision/values, programs, process, objectives, partners, team, testimonial, FAQ, newsletter, get in touch) plus standard page/post templates.
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 7.4
Tested up to: 6.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: wfa-hearing
Tags: one-column, custom-colors, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, non-profit
*/

/* =========================================================
   1. DESIGN TOKENS
   ========================================================= */
:root{
  --wfa-navy:        #0A024B;
  --wfa-navy-soft:   #1C1758;
  --wfa-navy-2:      #130A5E;
  --wfa-teal:        #2AB595;
  --wfa-teal-deep:   #1F7A64;
  --wfa-teal-tint:   #E7F5F0;
  --wfa-paper:       #FAFAF7;
  --wfa-paper-2:     #FFFFFF;
  --wfa-line:        #E6E4DC;
  --wfa-ink:         #16151F;
  --wfa-ink-soft:    #5B5A66;

  --wfa-font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --wfa-font-body:    'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --wfa-max: 1200px;
  --wfa-gap: clamp(1.5rem, 4vw, 3.75rem);
  --wfa-radius: 10px;
  --wfa-radius-sm: 6px;
  --wfa-pill: 999px;
}

/* =========================================================
   2. RESET / BASE
   ========================================================= */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  background: var(--wfa-paper);
  color: var(--wfa-ink);
  font-family: var(--wfa-font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img{ max-width: 100%; display: block; height: auto; }
a{ color: var(--wfa-teal-deep); text-decoration: none; }
a:hover{ color: var(--wfa-navy); }
ul{ margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4{
  font-family: var(--wfa-font-display);
  color: var(--wfa-navy);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 .5em;
  letter-spacing: -0.015em;
}
h1{ font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 500; }
h2{ font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 500; }
h3{ font-size: 1.25rem; }
p{ margin: 0 0 1.1em; max-width: 68ch; }
p:last-child{ margin-bottom: 0; }
.wfa-container{
  max-width: var(--wfa-max);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}
:focus-visible{ outline: 2px solid var(--wfa-teal-deep); outline-offset: 3px; }
::selection{ background: var(--wfa-teal); color: #fff; }
::-webkit-scrollbar{ width: 10px; height: 10px; }
::-webkit-scrollbar-track{ background: var(--wfa-paper); }
::-webkit-scrollbar-thumb{ background: var(--wfa-line); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover{ background: var(--wfa-teal-deep); }
@media (prefers-reduced-motion: reduce){
  *{ animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* =========================================================
   3. SITE HEADER
   ========================================================= */
.wfa-header{
  background: rgba(250,250,247,.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  position: sticky;
  top: 0;
  z-index: 50;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.wfa-header.is-scrolled{
  border-bottom-color: var(--wfa-line);
  box-shadow: 0 8px 24px -18px rgba(10,2,75,.35);
}
.wfa-header__row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.05rem 0;
}
.wfa-brand{
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--wfa-navy);
  font-family: var(--wfa-font-display);
  font-size: 1.15rem;
  font-weight: 600;
}
.wfa-brand img{ max-height: 44px; width: auto; }
.wfa-brand__text span{
  display: block;
  font-family: var(--wfa-font-body);
  font-weight: 400;
  font-size: .72rem;
  letter-spacing: .04em;
  color: var(--wfa-ink-soft);
}

.wfa-nav{ display: flex; align-items: center; gap: 2.25rem; }
.wfa-nav ul{ display: flex; gap: 2rem; }
.wfa-nav a:not(.wfa-btn){ color: var(--wfa-ink); font-size: .96rem; }
.wfa-nav a:not(.wfa-btn):hover{ color: var(--wfa-teal-deep); }
.wfa-nav .current-menu-item > a:not(.wfa-btn){ color: var(--wfa-teal-deep); }
.wfa-nav ul a:not(.wfa-btn){ position: relative; padding-bottom: 2px; }
.wfa-nav ul a:not(.wfa-btn)::after{
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: -3px;
  height: 1.5px;
  background: var(--wfa-teal-deep);
  transition: right .25s ease;
}
.wfa-nav ul a:not(.wfa-btn):hover::after{ right: 0; }

.wfa-btn{
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--wfa-navy);
  color: #fff;
  border: 1px solid var(--wfa-navy);
  padding: .72rem 1.55rem;
  border-radius: var(--wfa-pill);
  font-size: .92rem;
  font-weight: 500;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
  white-space: nowrap;
}
.wfa-btn:hover{ background: var(--wfa-teal-deep); border-color: var(--wfa-teal-deep); color: #fff; transform: translateY(-1px); }
.wfa-btn--outline{ background: transparent; color: var(--wfa-navy); }
.wfa-btn--outline:hover{ background: var(--wfa-navy); color: #fff; }
.wfa-btn--teal{ background: var(--wfa-teal); border-color: var(--wfa-teal); color: var(--wfa-navy); }
.wfa-btn--teal:hover{ background: #fff; border-color: #fff; }

.wfa-menu-toggle{
  display: none;
  background: none;
  border: 1px solid var(--wfa-line);
  border-radius: var(--wfa-radius-sm);
  padding: .6rem;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.wfa-menu-toggle__bar{
  display: block;
  width: 20px;
  height: 2px;
  background: var(--wfa-navy);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.wfa-menu-toggle.is-open .wfa-menu-toggle__bar:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.wfa-menu-toggle.is-open .wfa-menu-toggle__bar:nth-child(2){ opacity: 0; }
.wfa-menu-toggle.is-open .wfa-menu-toggle__bar:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px){
  .wfa-nav{ display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--wfa-paper-2); border-bottom: 1px solid var(--wfa-line); flex-direction: column; align-items: flex-start; padding: 1.5rem clamp(1.25rem,4vw,2.5rem) 2rem; gap: 1.25rem; box-shadow: 0 16px 32px -20px rgba(10,2,75,.3); }
  .wfa-nav.is-open{ display: flex; }
  .wfa-nav ul{ flex-direction: column; gap: .25rem; width: 100%; }
  .wfa-nav ul li{ width: 100%; }
  .wfa-nav ul a{ display: block; padding: .65rem 0; font-size: 1.02rem; border-bottom: 1px solid var(--wfa-line); }
  .wfa-nav > .wfa-btn{ width: 100%; justify-content: center; margin-top: .5rem; }
  .wfa-menu-toggle{ display: inline-flex; }
}

/* =========================================================
   4. HERO — angular / diagonal, echoing the foundation's own brand sheet
   ========================================================= */
.wfa-hero{
  background: linear-gradient(155deg, var(--wfa-navy) 0%, var(--wfa-navy-2) 55%, #0D0755 100%);
  color: #fff;
  overflow: hidden;
  position: relative;
  isolation: isolate;
}
.wfa-hero::before{
  content: "";
  position: absolute;
  right: -8%;
  top: -18%;
  width: 60%;
  height: 140%;
  background: var(--wfa-teal);
  opacity: .1;
  clip-path: polygon(30% 0, 100% 0, 70% 100%, 0% 100%);
  z-index: -1;
}
.wfa-hero__row{
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: var(--wfa-gap);
  align-items: center;
  padding: clamp(3.5rem, 9vw, 7rem) 0;
}
.wfa-hero__eyebrow{
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: var(--wfa-teal);
  font-family: var(--wfa-font-body);
  font-weight: 500;
  font-size: .92rem;
  margin: 0 0 1.25rem;
  padding: .4rem .9rem;
  border: 1px solid rgba(42,181,149,.4);
  border-radius: var(--wfa-pill);
  animation: wfa-fade-up .7s ease both;
}
.wfa-hero__eyebrow::before{ content:""; width:6px; height:6px; border-radius:50%; background: var(--wfa-teal); }
.wfa-hero h1{ color: #fff; margin-bottom: .55em; animation: wfa-fade-up .7s .12s ease both; }
.wfa-hero h1 em{ font-style: normal; color: var(--wfa-teal); }
.wfa-hero p.lede{ color: #D9D8EA; font-size: 1.18rem; max-width: 46ch; animation: wfa-fade-up .7s .22s ease both; }
.wfa-hero__actions{ display: flex; gap: 1rem; margin-top: 1.85rem; flex-wrap: wrap; animation: wfa-fade-up .7s .32s ease both; }
.wfa-hero__actions .wfa-btn--outline{ color: #fff; border-color: rgba(255,255,255,.4); }
.wfa-hero__actions .wfa-btn--outline:hover{ background: #fff; color: var(--wfa-navy); }

@keyframes wfa-fade-up{
  from{ opacity: 0; transform: translateY(18px); }
  to{ opacity: 1; transform: none; }
}

.wfa-scroll-cue{
  position: absolute;
  left: 50%;
  bottom: 1.75rem;
  transform: translateX(-50%);
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.65);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  animation: wfa-bob 2.4s ease-in-out infinite;
  transition: color .2s ease, border-color .2s ease;
}
.wfa-scroll-cue:hover{ color: var(--wfa-teal); border-color: var(--wfa-teal); }
.wfa-scroll-cue .wfa-icon{ width: 18px; height: 18px; }
@keyframes wfa-bob{
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 6px); }
}
@media (max-width: 860px){ .wfa-scroll-cue{ display: none; } }

.wfa-hero__media{
  position: relative;
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
  overflow: hidden;
  aspect-ratio: 5/6;
}
.wfa-hero__media img{ width: 100%; height: 100%; object-fit: cover; }
.wfa-hero__media::after{ content: ""; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.18); }

.wfa-hero__visual{ display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.wfa-hero__badge{
  background: #fff;
  color: var(--wfa-navy);
  padding: 1.1rem 1.35rem;
  border-radius: var(--wfa-radius-sm);
  box-shadow: 0 20px 40px -22px rgba(10,2,75,.4);
  font-size: .88rem;
  border-left: 3px solid var(--wfa-teal);
}
.wfa-hero__badge strong{ display:block; font-family: var(--wfa-font-display); font-size: 1.3rem; color: var(--wfa-teal-deep); font-weight:500; margin-bottom: .15rem; }
@media (max-width: 860px){
  .wfa-hero__row{ grid-template-columns: 1fr; }
  .wfa-hero__visual{ order: -1; }
  .wfa-hero__media{ aspect-ratio: 16/10; clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%); }
}

/* Angular divider used between sections, echoing the brand sheet's cut shapes */
.wfa-divider{
  height: 64px;
  background: var(--wfa-paper);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  margin-top: -1px;
}
.wfa-divider--teal{ background: var(--wfa-teal); }
.wfa-divider--navy{ background: var(--wfa-navy); }

/* Animated ear — the hero's default visual when no photo is set;
   sound rings pulse toward the ear icon, echoing the foundation's own mark. */
.wfa-ear-anim{
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: radial-gradient(120% 120% at 30% 20%, #1B1470 0%, var(--wfa-navy) 60%);
}
.wfa-ear-anim__icon{
  position: relative;
  z-index: 2;
  width: clamp(90px, 14vw, 140px);
  height: clamp(90px, 14vw, 140px);
  color: var(--wfa-teal);
  filter: drop-shadow(0 12px 28px rgba(0,0,0,.35));
}
.wfa-ear-anim__icon svg{ width: 100%; height: 100%; stroke-width: 1.1; }
.wfa-ear-anim__ring{
  position: absolute;
  width: clamp(90px, 14vw, 140px);
  height: clamp(90px, 14vw, 140px);
  border: 2px solid var(--wfa-teal);
  border-radius: 50%;
  opacity: 0;
  animation: wfa-ping 3.2s cubic-bezier(.2,.7,.3,1) infinite;
}
.wfa-ear-anim__ring:nth-child(2){ animation-delay: 1.05s; }
.wfa-ear-anim__ring:nth-child(3){ animation-delay: 2.1s; }
@keyframes wfa-ping{
  0%   { transform: scale(.7); opacity: .65; }
  70%  { opacity: .12; }
  100% { transform: scale(2.4); opacity: 0; }
}
@media (prefers-reduced-motion: reduce){
  .wfa-ear-anim__ring{ animation: none; opacity: .18; transform: scale(1.4); }
}

/* =========================================================
   ICONS
   ========================================================= */
.wfa-icon{ width: 22px; height: 22px; flex-shrink: 0; }
.wfa-icon--sm{ width: 16px; height: 16px; }
.wfa-icon--lg{ width: 30px; height: 30px; }

/* =========================================================
   SCROLL-REVEAL
   ========================================================= */
[data-reveal]{ opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].is-visible{ opacity: 1; transform: none; }
[data-reveal-item]{ opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
[data-reveal-item].is-visible{ opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){
  [data-reveal], [data-reveal-item]{ opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   5. GENERIC SECTIONS
   ========================================================= */
.wfa-section{ padding: clamp(3.25rem, 7vw, 6rem) 0; }
.wfa-section + .wfa-section{ border-top: 1px solid var(--wfa-line); }
.wfa-section--tint{ background: var(--wfa-paper-2); }
.wfa-section--dark{ background: var(--wfa-navy); color: #fff; border-top: none !important; }
.wfa-section--dark h2{ color: #fff; }
.wfa-section--dark p{ color: #D9D8EA; }
.wfa-section--mint{ background: var(--wfa-teal-tint); border-top: none !important; }

.wfa-kicker{
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: var(--wfa-teal-deep);
  background: var(--wfa-teal-tint);
  font-size: .85rem;
  font-weight: 500;
  padding: .35rem .85rem;
  border-radius: var(--wfa-pill);
  margin-bottom: 1.1rem;
}
.wfa-section--dark .wfa-kicker{ color: var(--wfa-teal); background: rgba(42,181,149,.14); }

.wfa-head-row{
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  flex-wrap: wrap;
}

.wfa-split{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--wfa-gap);
  align-items: center;
}
.wfa-split--reverse .wfa-split__media{ order: 2; }
.wfa-split__media img{ border-radius: var(--wfa-radius); }
@media (max-width: 860px){
  .wfa-split{ grid-template-columns: 1fr; }
  .wfa-split--reverse .wfa-split__media{ order: -1; }
}

/* Editorial drop cap on the About section's opening paragraph */
#about .wfa-split > div > p:first-of-type::first-letter{
  font-family: var(--wfa-font-display);
  font-size: 3.4em;
  font-weight: 600;
  float: left;
  line-height: .78;
  padding-right: .1em;
  margin-top: .05em;
  color: var(--wfa-teal-deep);
}

/* Mission / Vision / Values */
.wfa-pillars{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.wfa-pillar{
  background: var(--wfa-paper-2);
  border: 1px solid var(--wfa-line);
  border-radius: var(--wfa-radius);
  padding: 2.25rem 2rem;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.wfa-pillar:hover{ border-color: var(--wfa-teal); transform: translateY(-4px); box-shadow: 0 20px 40px -28px rgba(10,2,75,.35); }
.wfa-pillar__icon{
  width: 46px; height: 46px;
  background: var(--wfa-teal-tint);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--wfa-teal-deep);
  margin-bottom: 1.4rem;
}
.wfa-pillar h3{ margin-bottom: .5rem; }
.wfa-pillar p{ color: var(--wfa-ink-soft); font-size: .97rem; }
@media (max-width: 860px){ .wfa-pillars{ grid-template-columns: 1fr; } }

/* Programs / What We Do */
.wfa-programs{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 2.75rem; }
.wfa-program{
  padding: 2rem 1.75rem;
  background: var(--wfa-navy);
  color: #fff;
  border-radius: var(--wfa-radius);
  position: relative;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.wfa-program:hover{ transform: translateY(-4px); box-shadow: 0 24px 44px -26px rgba(10,2,75,.5); }
.wfa-program:nth-child(2n){ background: var(--wfa-teal-deep); }
.wfa-program__icon{ width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,.14);display:flex;align-items:center;justify-content:center;margin-bottom:1.25rem; }
.wfa-program h3{ color: #fff; font-size: 1.1rem; }
.wfa-program p{ color: rgba(255,255,255,.78); font-size: .93rem; }
@media (max-width: 980px){ .wfa-programs{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .wfa-programs{ grid-template-columns: 1fr; } }

/* Process / How we help */
.wfa-process{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 3rem; counter-reset: wfa-step; }
.wfa-step{ position: relative; padding: 0 1.75rem 0 0; }
.wfa-step:not(:last-child)::after{
  content: "";
  position: absolute; top: 22px; right: 0; width: calc(100% - 60px); height: 1px;
  background: repeating-linear-gradient(90deg, var(--wfa-line) 0 6px, transparent 6px 12px);
}
.wfa-step__num{
  counter-increment: wfa-step;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--wfa-navy);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--wfa-font-display);
  margin-bottom: 1.5rem;
}
.wfa-step__num::before{ content: counter(wfa-step); }
.wfa-step h3{ font-size: 1.05rem; }
.wfa-step p{ color: var(--wfa-ink-soft); font-size: .93rem; }
@media (max-width: 900px){
  .wfa-process{ grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
  .wfa-step:not(:last-child)::after{ display:none; }
}
@media (max-width: 560px){ .wfa-process{ grid-template-columns: 1fr; } }

/* Objectives list */
.wfa-objectives{ margin-top: 2.5rem; border-top: 1px solid var(--wfa-line); }
.wfa-objective{ display: grid; grid-template-columns: 2.5rem 1fr; gap: 1.25rem; padding: 1.6rem 0; border-bottom: 1px solid var(--wfa-line); }
.wfa-objective__mark{ color: var(--wfa-teal-deep); }
.wfa-objective p{ color: var(--wfa-ink-soft); margin: 0; }
.wfa-objective strong{ color: var(--wfa-ink); display: block; margin-bottom: .2rem; font-weight: 600; }

/* Gallery — asymmetric editorial photo layout */
.wfa-gallery{
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2.75rem;
  height: clamp(360px, 42vw, 520px);
}
.wfa-gallery__item{ margin: 0; overflow: hidden; border-radius: var(--wfa-radius); position: relative; }
.wfa-gallery__item img{ width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.wfa-gallery__item:hover img{ transform: scale(1.04); }
.wfa-gallery__item--1{ grid-row: 1 / 3; }
.wfa-gallery__item--2{ grid-column: 2; grid-row: 1; }
.wfa-gallery__item--3{ grid-column: 2; grid-row: 2; }
.wfa-gallery__item figcaption{
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.5rem 1.25rem .9rem;
  background: linear-gradient(to top, rgba(10,2,75,.82), rgba(10,2,75,0));
  color: #fff;
  font-size: .88rem;
}
@media (max-width: 780px){
  .wfa-gallery{ grid-template-columns: 1fr; grid-template-rows: none; height: auto; }
  .wfa-gallery__item{ height: 260px; }
  .wfa-gallery__item--1, .wfa-gallery__item--2, .wfa-gallery__item--3{ grid-column: 1; grid-row: auto; }
}

/* Partners strip */
.wfa-partners{ margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.wfa-partner-chip{
  border: 1px solid var(--wfa-line);
  border-radius: var(--wfa-pill);
  padding: .8rem 1.5rem;
  font-size: .93rem;
  color: var(--wfa-ink-soft);
  background: var(--wfa-paper-2);
  transition: border-color .2s ease, color .2s ease, transform .2s ease;
}
.wfa-partner-chip:hover{ border-color: var(--wfa-teal); color: var(--wfa-navy); transform: translateY(-2px); }

/* Stats strip */
.wfa-stats{ display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--wfa-gap); text-align: left; }
.wfa-stat__num{ font-family: var(--wfa-font-display); font-size: clamp(2rem, 3vw, 2.6rem); color: var(--wfa-teal); display: block; margin-bottom: .35rem; }
.wfa-stat__label{ color: #D9D8EA; font-size: .92rem; }
@media (max-width: 700px){ .wfa-stats{ grid-template-columns: 1fr 1fr; } }

/* Team */
.wfa-team{ display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--wfa-gap); margin-top: 2.75rem; }
.wfa-person__photo{ aspect-ratio: 1/1; overflow: hidden; margin-bottom: 1.1rem; background: var(--wfa-line); border-radius: var(--wfa-radius); }
.wfa-person__photo img{ width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.wfa-person:hover .wfa-person__photo img{ transform: scale(1.05); }
.wfa-person h3{ margin-bottom: .1rem; }
.wfa-person__role{ color: var(--wfa-teal-deep); font-size: .88rem; margin-bottom: .7rem; display: block; }
.wfa-person p.bio{ color: var(--wfa-ink-soft); font-size: .93rem; }
@media (max-width: 860px){ .wfa-team{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .wfa-team{ grid-template-columns: 1fr; } }

/* Testimonial */
.wfa-testimonial{ max-width: 760px; position: relative; }
.wfa-testimonial__mark{
  position: absolute;
  top: -2.2rem; left: -1.6rem;
  color: var(--wfa-teal);
  opacity: .14;
  z-index: -1;
}
.wfa-testimonial__mark .wfa-icon{ width: 110px; height: 110px; }
.wfa-testimonial blockquote{
  font-family: var(--wfa-font-display);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  color: var(--wfa-navy);
  line-height: 1.4;
  margin: 0 0 1.5rem;
  font-weight: 500;
}
.wfa-testimonial cite{ font-style: normal; color: var(--wfa-ink-soft); font-size: .95rem; }
.wfa-testimonial cite strong{ color: var(--wfa-ink); display: block; }

/* FAQ accordion — JS-driven smooth height transition */
.wfa-faq{ margin-top: 2rem; max-width: 820px; }
.wfa-faq-item{ border-bottom: 1px solid var(--wfa-line); }
.wfa-faq-item__trigger{
  all: unset;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  width: 100%;
  cursor: pointer;
  padding: 1.4rem 0;
  font-family: var(--wfa-font-display);
  font-size: 1.1rem;
  color: var(--wfa-navy);
  transition: color .2s ease;
}
.wfa-faq-item__trigger:hover{ color: var(--wfa-teal-deep); }
.wfa-faq-item__trigger:focus-visible{ outline: 2px solid var(--wfa-teal-deep); outline-offset: 4px; }
.wfa-faq-item__icon{ position: relative; width: 22px; height: 22px; flex-shrink: 0; color: var(--wfa-teal-deep); }
.wfa-faq-item__icon .wfa-icon{ position: absolute; inset: 0; transition: opacity .2s ease, transform .25s ease; }
.wfa-faq-item__icon .wfa-icon--minus{ opacity: 0; transform: rotate(-90deg); }
.wfa-faq-item.is-open .wfa-faq-item__icon .wfa-icon--plus{ opacity: 0; transform: rotate(90deg); }
.wfa-faq-item.is-open .wfa-faq-item__icon .wfa-icon--minus{ opacity: 1; transform: rotate(0); }
.wfa-faq-item__panel{ max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.wfa-faq-item__panel-inner{ padding-bottom: 1.4rem; }
.wfa-faq-item p{ color: var(--wfa-ink-soft); margin: 0; max-width: 68ch; }
@media (prefers-reduced-motion: reduce){
  .wfa-faq-item__panel{ transition: none; }
}

/* Newsletter / CTA band */
.wfa-cta{ display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.wfa-newsletter-form{ display: flex; gap: .75rem; flex-wrap: wrap; max-width: 460px; }
.wfa-newsletter-form input{
  flex: 1 1 220px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08);
  color: #fff;
  padding: .8rem 1.1rem;
  border-radius: var(--wfa-pill);
  font-family: var(--wfa-font-body);
}
.wfa-newsletter-form input::placeholder{ color: rgba(255,255,255,.6); }

/* Blog teaser */
.wfa-blog-teaser{ display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--wfa-gap); margin-top: 2.75rem; }
.wfa-teaser-card__thumb{ aspect-ratio: 4/3; overflow: hidden; border-radius: var(--wfa-radius); margin-bottom: 1.1rem; background: var(--wfa-line); }
.wfa-teaser-card__thumb img{ width:100%; height:100%; object-fit:cover; transition: transform .4s ease; }
.wfa-teaser-card:hover .wfa-teaser-card__thumb img{ transform: scale(1.05); }
.wfa-teaser-card__meta{ color: var(--wfa-ink-soft); font-size: .85rem; margin-bottom: .4rem; }
.wfa-teaser-card h3{ font-size: 1.1rem; }
@media (max-width: 860px){ .wfa-blog-teaser{ grid-template-columns: 1fr; } }

/* Get in touch / contact */
.wfa-contact{ display: grid; grid-template-columns: 1fr 1fr; gap: var(--wfa-gap); }
.wfa-contact__list{ margin-top: 1.5rem; }
.wfa-contact__item{ display: flex; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--wfa-line); }
.wfa-contact__item:last-child{ border-bottom: 1px solid var(--wfa-line); }
.wfa-contact__item .wfa-icon{ color: var(--wfa-teal-deep); }
.wfa-contact-form{ background: var(--wfa-paper-2); border: 1px solid var(--wfa-line); border-radius: var(--wfa-radius); padding: clamp(1.5rem, 3vw, 2.5rem); }
.wfa-contact-form input, .wfa-contact-form textarea{
  width: 100%; border: 1px solid var(--wfa-line); background: var(--wfa-paper);
  padding: .8rem .9rem; font-family: var(--wfa-font-body); font-size: .97rem;
  margin-bottom: 1rem; border-radius: var(--wfa-radius-sm); color: var(--wfa-ink);
}
.wfa-contact-form textarea{ min-height: 130px; resize: vertical; }
.wfa-contact-form input:focus, .wfa-contact-form textarea:focus{ outline: none; border-color: var(--wfa-teal-deep); }
@media (max-width: 860px){ .wfa-contact{ grid-template-columns: 1fr; } }

/* =========================================================
   6. BLOG / SINGLE / ARCHIVE
   ========================================================= */
.wfa-content-row{ display: grid; grid-template-columns: 2.1fr 1fr; gap: var(--wfa-gap); padding: clamp(2.5rem, 6vw, 4rem) 0; align-items: start; }
@media (max-width: 900px){ .wfa-content-row{ grid-template-columns: 1fr; } }

.wfa-post-card{ padding-bottom: 2.25rem; margin-bottom: 2.25rem; border-bottom: 1px solid var(--wfa-line); }
.wfa-post-card__thumb{ margin-bottom: 1.25rem; border-radius: var(--wfa-radius); overflow: hidden; }
.wfa-post-card__meta{ color: var(--wfa-ink-soft); font-size: .85rem; margin-bottom: .5rem; }
.wfa-post-card h2{ font-size: 1.5rem; }
.wfa-post-card h2 a{ color: var(--wfa-navy); }

.wfa-single .entry-header{ margin-bottom: 2rem; }
.wfa-single .entry-meta{ color: var(--wfa-ink-soft); font-size: .9rem; margin-bottom: .5rem; }
.wfa-single .entry-content{ font-size: 1.06rem; }
.wfa-single .entry-content h2{ margin-top: 1.6em; }
.wfa-single .entry-content img{ margin: 1.5rem 0; border-radius: var(--wfa-radius); }
.wfa-single .entry-content a{ text-decoration: underline; text-underline-offset: 2px; }

.widget{ margin-bottom: 2.5rem; }
.widget-title{ font-family: var(--wfa-font-display); color: var(--wfa-navy); font-size: 1.1rem; margin-bottom: 1rem; }
.widget ul li{ padding: .5rem 0; border-bottom: 1px solid var(--wfa-line); font-size: .95rem; }

.wfa-pagination{ display: flex; gap: .75rem; margin-top: 1rem; }
.wfa-pagination a, .wfa-pagination span{ border: 1px solid var(--wfa-line); border-radius: var(--wfa-pill); padding: .5rem .9rem; font-size: .9rem; }

/* Comments */
.comment-list{ margin-top: 2rem; }
.comment-body{ padding: 1.25rem 0; border-top: 1px solid var(--wfa-line); }
.comment-form input, .comment-form textarea{
  width: 100%; border: 1px solid var(--wfa-line); background: var(--wfa-paper-2);
  padding: .7rem .9rem; margin-bottom: 1rem; font-family: var(--wfa-font-body); border-radius: var(--wfa-radius-sm);
}

/* =========================================================
   7. FOOTER
   ========================================================= */
.wfa-footer{ background: var(--wfa-navy); color: #C9C8DE; padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; position: relative; }
.wfa-footer::before{
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--wfa-teal) 0%, rgba(42,181,149,0) 65%);
}
.wfa-footer__bottom .wfa-icon{ width: 15px; height: 15px; vertical-align: -2px; margin-right: .35rem; color: var(--wfa-teal); }
.wfa-footer__grid{ display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--wfa-gap); padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.12); }
@media (max-width: 700px){ .wfa-footer__grid{ grid-template-columns: 1fr; gap: 2rem; } }
.wfa-footer h4{ color: #fff; font-size: .95rem; margin-bottom: 1.1rem; font-family: var(--wfa-font-body); font-weight: 600; letter-spacing: .02em; }
.wfa-footer a{ color: #C9C8DE; }
.wfa-footer a:hover{ color: var(--wfa-teal); }
.wfa-footer ul li{ padding: .4rem 0; font-size: .93rem; }
.wfa-footer__brand{ font-family: var(--wfa-font-display); color: #fff; font-size: 1.2rem; margin-bottom: .75rem; }
.wfa-footer__bottom{ display: flex; justify-content: space-between; align-items: center; padding-top: 1.5rem; font-size: .85rem; flex-wrap: wrap; gap: 1rem; }
.wfa-social{ display: flex; gap: 1rem; }
.wfa-social a{ width: 34px; height:34px; border-radius:50%; border:1px solid rgba(255,255,255,.2); display:flex; align-items:center; justify-content:center; }
.wfa-social a:hover{ border-color: var(--wfa-teal); }

/* =========================================================
   8. UTILITIES / WORDPRESS DEFAULTS
   ========================================================= */
.screen-reader-text{ position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
.alignwide{ margin-left: -5%; margin-right: -5%; max-width: 110%; }
.alignfull{ margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; }
.wp-caption-text{ font-size: .85rem; color: var(--wfa-ink-soft); margin-top: .5rem; }
