/* =========================
   JOE MASTER CSS (ABOUT + TESTIMONIALS + CONTACT)
   Paste this ONCE into Appearance - Customize - Additional CSS
   ========================= */

:root{
  --joe-yellow:#f8ad1e;
  --joe-red:#ab1b2d;
  --joe-teal:#08827a;
  --joe-umber:#4f1b35;

  --joe-bg:#fffdf7;
  --joe-ink:#1f1a1d;
  --joe-muted:#5c5459;
  --joe-line: rgba(79,27,53,.14);

  --joe-shadow: 0 18px 45px rgba(79,27,53,.10);
  --joe-shadow2: 0 16px 40px rgba(79,27,53,.10);
  --joe-radius: 22px;
  --joe-radius2: 18px;

  --joe-serif: ui-serif, Georgia, serif;
  --joe-sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
}

/* Shared button style (yellow bubbles, no underline) */
.joe-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--joe-yellow);
  color: var(--joe-umber);
  font-weight: 850;
  text-decoration:none;
  border: 1px solid rgba(79,27,53,.18);
  box-shadow: 0 10px 26px rgba(79,27,53,.12);
  transition: transform .12s ease, filter .12s ease, box-shadow .12s ease;
}

.joe-btn:hover{
  transform: translateY(-1px);
  filter: brightness(.98);
  text-decoration:none;
  box-shadow: 0 14px 34px rgba(79,27,53,.16);
}

.joe-btn:focus-visible{
  outline: 3px solid rgba(8,130,122,.35);
  outline-offset: 2px;
}

/* =========================
   ABOUT PAGE (.joe-about3)
   ========================= */

.joe-about3{
  background: var(--joe-bg);
  color: var(--joe-ink);
  font-family: var(--joe-sans);
  line-height: 1.65;
  padding: 44px 20px 80px;
}

.joe-about3 .wrap{
  max-width: 980px;
  margin: 0 auto;
}

.joe-about3 .top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom: 18px;
  flex-wrap:wrap;
}

.joe-about3 .kicker{
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(79,27,53,.78);
}

.joe-about3 h1{
  margin: 10px 0 8px;
  font-family: var(--joe-serif);
  font-weight: 760;
  letter-spacing:.2px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.05;
  color: var(--joe-umber);
}

.joe-about3 .subhead{
  margin: 0;
  max-width: 70ch;
  color: var(--joe-muted);
  font-size: 16px;
}

.joe-about3 .actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

/* About buttons: use shared style */
.joe-about3 .btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--joe-yellow);
  color: var(--joe-umber);
  font-weight: 850;
  text-decoration:none;
  border: 1px solid rgba(79,27,53,.18);
  box-shadow: 0 10px 26px rgba(79,27,53,.12);
  transition: transform .12s ease, filter .12s ease, box-shadow .12s ease;
}

.joe-about3 .btn:hover{
  transform: translateY(-1px);
  filter: brightness(.98);
  text-decoration:none;
  box-shadow: 0 14px 34px rgba(79,27,53,.16);
}

.joe-about3 .btn:focus-visible{
  outline: 3px solid rgba(8,130,122,.35);
  outline-offset: 2px;
}

.joe-about3 .paper{
  background:
    radial-gradient(800px 500px at 10% 0%, rgba(248,173,30,.10), transparent 60%),
    radial-gradient(780px 520px at 110% 10%, rgba(8,130,122,.10), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.90), rgba(255,255,255,.80));
  border: 1px solid var(--joe-line);
  border-radius: var(--joe-radius);
  box-shadow: var(--joe-shadow);
  padding: 26px;
  position: relative;
  overflow: hidden;
}

.joe-about3 .paper:before{
  content:"";
  position:absolute;
  inset:0;
  background:
    repeating-linear-gradient(0deg, rgba(79,27,53,.020), rgba(79,27,53,.020) 1px, transparent 1px, transparent 9px),
    repeating-linear-gradient(90deg, rgba(79,27,53,.014), rgba(79,27,53,.014) 1px, transparent 1px, transparent 11px);
  opacity:.22;
  pointer-events:none;
  mix-blend-mode:multiply;
}

.joe-about3 .bio{
  display:grid;
  grid-template-columns: 210px 1fr;
  gap: 22px;
  align-items:start;
  margin-top: 18px;
}

.joe-about3 .photo{
  border-radius: var(--joe-radius2);
  overflow:hidden;
  border: 1px solid rgba(79,27,53,.16);
  box-shadow: 0 16px 40px rgba(79,27,53,.14);
  background: rgba(255,255,255,.9);
  max-width: 220px;
}

.joe-about3 .photo img{
  display:block;
  width:100%;
  height:auto;
}

.joe-about3 .bio p{
  margin:0;
  max-width: 78ch;
  font-size: 16px;
}

.joe-about3 .bio .lead{
  margin-top: 12px;
  color: var(--joe-muted);
}

.joe-about3 .highlights{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top: 16px;
}

.joe-about3 .pill{
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--joe-line);
  background: rgba(255,255,255,.72);
  font-size: 14px;
  color: var(--joe-muted);
}

.joe-about3 .pill b{
  color: var(--joe-ink);
  font-weight: 800;
}

.joe-about3 h2{
  margin: 30px 0 10px;
  font-family: var(--joe-serif);
  font-weight: 760;
  font-size: 26px;
  color: var(--joe-umber);
}

/* Testimonials carousel on About page */
.joe-about3 .carousel{ position:relative; margin-top: 10px; }
.joe-about3 .track{
  display:flex;
  gap: 14px;
  overflow-x:auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 6px 2px 14px;
}
.joe-about3 .quote{
  scroll-snap-align: start;
  flex: 0 0 78%;
  max-width: 78%;
  border-radius: 16px;
  border: 1px solid rgba(79,27,53,.12);
  background: rgba(255,255,255,.92);
  padding: 18px;
}
.joe-about3 blockquote{ margin:0; font-size: 15px; }
.joe-about3 .who{
  margin-top: 12px;
  display:flex;
  justify-content:space-between;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(79,27,53,.18);
  color: var(--joe-muted);
  font-size: 14px;
}
.joe-about3 .who strong{ color: var(--joe-umber); font-weight: 800; }
.joe-about3 .tag{
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(79,27,53,.14);
  background: rgba(248,173,30,.14);
  color: var(--joe-umber);
  white-space: nowrap;
}
.joe-about3 .tag.colleague{ background: rgba(8,130,122,.12); }
.joe-about3 .hint{ margin: 6px 0 0; color: var(--joe-muted); font-size: 13px; }

.joe-about3 .footer{
  margin-top: 18px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 12px;
  flex-wrap:wrap;
  padding-top: 12px;
  border-top: 1px solid rgba(79,27,53,.10);
}
.joe-about3 .fine{ color: var(--joe-muted); font-size: 13px; max-width: 70ch; }

@media (max-width: 760px){
  .joe-about3 .bio{ grid-template-columns: 1fr; }
  .joe-about3 .quote{ flex-basis: 92%; max-width: 92%; }
}

/* =========================
   TESTIMONIALS PAGE (.joe-testimonials-pro)
   ========================= */

.joe-testimonials-pro{
  background: var(--joe-bg);
  color: var(--joe-ink);
  font-family: var(--joe-sans);
  line-height:1.65;
  padding: 52px 20px 86px;
}

.joe-testimonials-pro .wrap{
  max-width: 980px;
  margin: 0 auto;
}

.joe-testimonials-pro h1{
  font-family: var(--joe-serif);
  font-weight: 760;
  font-size: clamp(36px, 4.2vw, 56px);
  color: var(--joe-umber);
  margin: 0 0 10px;
}

.joe-testimonials-pro .subhead{
  margin:0 0 22px;
  color: var(--joe-muted);
  max-width: 78ch;
  font-size:16px;
}

.joe-testimonials-pro .list{
  display:grid;
  gap: 18px;
  margin-top: 14px;
}

.joe-testimonials-pro .card{
  border-radius: var(--joe-radius);
  border: 1px solid rgba(79,27,53,.14);
  background: rgba(255,255,255,.92);
  box-shadow: var(--joe-shadow2);
  padding: 22px;
}

.joe-testimonials-pro .row{
  display:grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  align-items:start;
}

.joe-testimonials-pro .photo{
  width: 160px;
  aspect-ratio: 1 / 1;
  border-radius: var(--joe-radius2);
  overflow:hidden;
  border: 1px solid rgba(79,27,53,.16);
  box-shadow: 0 16px 40px rgba(79,27,53,.14);
  background: #ffffff;
}

.joe-testimonials-pro .photo img{
  width:100%;
  height:100%;
  object-fit: cover;
  object-position: 50% 25%;
  display:block;
}

.joe-testimonials-pro blockquote{
  margin:0;
  font-size: 15.75px;
  color: var(--joe-ink);
}

.joe-testimonials-pro .who{
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed rgba(79,27,53,.18);
  display:flex;
  flex-direction:column;
  gap:4px;
}

.joe-testimonials-pro .who strong{
  font-weight: 850;
  color: var(--joe-umber);
  letter-spacing:.2px;
}

.joe-testimonials-pro .role{
  color: var(--joe-muted);
  font-size:14px;
}

.joe-testimonials-pro .link{
  font-size:14px;
}

.joe-testimonials-pro .link a{
  color: var(--joe-teal);
  text-decoration:none;
}
.joe-testimonials-pro .link a:hover{ text-decoration:underline; }

.joe-testimonials-pro .footer{
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(79,27,53,.12);
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  flex-wrap:wrap;
}

.joe-testimonials-pro .fine{
  color: var(--joe-muted);
  font-size:14px;
  max-width:72ch;
}

.joe-testimonials-pro .btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 16px;
  border-radius:999px;
  background: var(--joe-yellow);
  color: var(--joe-umber);
  font-weight: 850;
  text-decoration:none;
  border:1px solid rgba(79,27,53,.18);
  box-shadow: 0 10px 26px rgba(79,27,53,.12);
  transition: transform .12s ease, filter .12s ease, box-shadow .12s ease;
}

.joe-testimonials-pro .btn:hover{
  transform: translateY(-1px);
  filter: brightness(.98);
  text-decoration:none;
  box-shadow: 0 14px 34px rgba(79,27,53,.16);
}

.joe-testimonials-pro .btn:focus-visible{
  outline: 3px solid rgba(8,130,122,.35);
  outline-offset: 2px;
}

@media (max-width: 780px){
  .joe-testimonials-pro .row{ grid-template-columns: 1fr; }
  .joe-testimonials-pro .photo{ width: 140px; }
}

/* =========================
   CONTACT PAGE (.joe-contact)
   (your existing CSS, aligned to variables)
   ========================= */

.joe-contact{
  background: var(--joe-bg);
  color: var(--joe-ink);
  font-family: var(--joe-sans);
  line-height:1.65;
  padding: 52px 20px 86px;
}

.joe-contact .wrap{
  max-width: 980px;
  margin: 0 auto;
}

.joe-contact .kicker{
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(79,27,53,.78);
}

.joe-contact h1{
  margin: 10px 0 10px;
  font-family: var(--joe-serif);
  font-weight: 760;
  font-size: clamp(36px, 4.2vw, 56px);
  line-height: 1.05;
  color: var(--joe-umber);
}

.joe-contact .subhead{
  margin: 0;
  max-width: 72ch;
  color: var(--joe-muted);
  font-size: 16px;
}

.joe-contact .paper{
  margin-top: 22px;
  background:
    radial-gradient(800px 520px at 10% 0%, rgba(248,173,30,.10), transparent 60%),
    radial-gradient(780px 520px at 110% 10%, rgba(8,130,122,.10), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.90), rgba(255,255,255,.80));
  border: 1px solid var(--joe-line);
  border-radius: var(--joe-radius);
  box-shadow: var(--joe-shadow);
  padding: 26px;
  position: relative;
  overflow: hidden;
}

.joe-contact .paper:before{
  content:"";
  position:absolute;
  inset:0;
  background:
    repeating-linear-gradient(0deg, rgba(79,27,53,.020), rgba(79,27,53,.020) 1px, transparent 1px, transparent 9px),
    repeating-linear-gradient(90deg, rgba(79,27,53,.014), rgba(79,27,53,.014) 1px, transparent 1px, transparent 11px);
  opacity:.22;
  pointer-events:none;
  mix-blend-mode:multiply;
}

.joe-contact .grid{
  display:grid;
  grid-template-columns: 1.3fr .9fr;
  gap: 18px;
  position:relative;
}

.joe-contact .card{
  border-radius: var(--joe-radius2);
  border: 1px solid rgba(79,27,53,.12);
  background: rgba(255,255,255,.92);
  padding: 18px 18px 16px;
}

.joe-contact h2{
  margin: 0 0 10px;
  font-family: var(--joe-serif);
  font-weight: 760;
  font-size: 22px;
  color: var(--joe-umber);
}

.joe-contact p{
  margin: 0 0 12px;
  color: var(--joe-ink);
}

.joe-contact ul{
  margin: 0 0 12px 18px;
  color: var(--joe-ink);
}

.joe-contact li{
  margin: 6px 0;
}

.joe-contact .btnrow{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top: 12px;
}

.joe-contact .btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--joe-yellow);
  color: var(--joe-umber);
  font-weight: 850;
  text-decoration:none;
  border: 1px solid rgba(79,27,53,.18);
  box-shadow: 0 10px 26px rgba(79,27,53,.12);
  transition: transform .12s ease, filter .12s ease, box-shadow .12s ease;
}

.joe-contact .btn:hover{
  transform: translateY(-1px);
  filter: brightness(.98);
  text-decoration:none;
  box-shadow: 0 14px 34px rgba(79,27,53,.16);
}

.joe-contact .btn:focus-visible{
  outline: 3px solid rgba(8,130,122,.35);
  outline-offset: 2px;
}

.joe-contact .linklist{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-top: 10px;
}

.joe-contact .linklist a{
  color: var(--joe-teal);
  text-decoration:none;
  font-weight: 750;
}

.joe-contact .linklist a:hover{
  text-decoration:underline;
}

.joe-contact .email{
  display:inline-block;
  margin-top: 6px;
  color: var(--joe-umber);
  font-weight: 850;
  text-decoration:none;
}

.joe-contact .email:hover{
  text-decoration:underline;
}

.joe-contact .note{
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed rgba(79,27,53,.18);
  color: var(--joe-muted);
  font-size: 14px;
}

@media (max-width: 860px){
  .joe-contact .grid{
    grid-template-columns: 1fr;
  }
}