/* About page (about.php)
   Loaded only on the About page (see "page_css" in about.php / -desktop-inside.php).
   Uses the site's own palette, shadows, radii and button/link styles from -desktop-style.css.
   The closing banner reuses .svc_cta and the "read more" links reuse .svc_more.
-----------------------------------------------------------------------------*/

.ab {
--ab-olive: #839510;
--ab-olive-mid: #646c2e;
--ab-olive-light: #76841d;
--ab-olive-dark: #3a4209;
--ab-yellow: #f7eba1;
--ab-sand: #e3d78b;
--ab-cream: #f7f4e3;
--ab-ink: #1a3a14;
--ab-shadow: 5px 5px 5px rgba(131, 149, 16, 0.3);
--ab-shadow-hover: 5px 9px 9px rgba(131, 149, 16, 0.4);
--ab-card-bg: linear-gradient(to bottom, #fff 0px, #f7f4e3 100%);
display: flow-root;
}

/* section scaffolding: same dotted olive divider the services page uses
-----------------------------------------------------------------------------*/
.ab_sec {
padding: 3.2rem 0px;
border-top: 1px dotted var(--ab-olive);
}
.ab_head {
margin: 0px 0px 2rem 0px;
}
.ab_head .content_stitle { margin-bottom: 0.2rem; }
.ab_head h2 {
font-size: 2.2rem;
padding: 0px 0px 0.6rem 0px;
}
.ab_head p {
margin: 0px;
font-size: 1.05rem;
line-height: 1.9;
}
.ab h3 { padding-bottom: 0px; }

/* intro: text + framed photo
-----------------------------------------------------------------------------*/
.ab_intro {
display: flow-root;
padding: 0.4rem 0px 3rem 0px;
}
.ab_intro p {
margin: 0px 0px 1.2rem 0px;
font-size: 1.05rem;
line-height: 1.9;
}
/* photo floats right and the text wraps around it, so there is never an empty column */
.ab_photo {
position: relative;
float: right;
width: clamp(280px, 36%, 400px);
margin: 0.3rem 0px 1.2rem 2.8rem;
}
.ab_btns {
clear: both;
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 1.2rem 1.6rem;
padding-top: 0.8rem;
}
.ab_photo img {
display: block;
width: 100%;
border: 6px solid var(--ab-yellow);
border-radius: 25px;
box-shadow: var(--ab-shadow);
}
.ab_badge {
position: absolute;
left: -1.2rem;
bottom: 1.6rem;
padding: 0.75rem 1.3rem;
border-radius: 25px;
color: var(--ab-yellow);
background: linear-gradient(to bottom, #646c2e 0px, #76841d 100%);
box-shadow: 3px 3px 5px #3d4a12;
font-size: 0.8rem;
line-height: 1.45;
font-weight: 700;
letter-spacing: 1.2px;
text-transform: uppercase;
}

/* numbers band (same dark olive treatment as the services banner)
-----------------------------------------------------------------------------*/
.ab_stats {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
list-style: none;
list-style-image: none;
margin: 0px 0px 3.2rem 0px;
padding: 1.4rem 1rem;
border-radius: 26px;
color: #fff;
background:
radial-gradient(circle at 88% 0%, rgba(247, 235, 161, 0.2) 0%, rgba(247, 235, 161, 0) 45%),
linear-gradient(135deg, #1a1f18 0%, #3a4209 55%, #646c2e 100%);
box-shadow: 5px 5px 5px rgba(131, 149, 16, 0.35);
}
.ab_stats li {
margin: 0px;
padding: 0.3rem 1.4rem;
text-align: center;
border-left: 1px dotted rgba(247, 235, 161, 0.5);
}
.ab_stats li:first-child { border-left: 0px; }
.ab_stat_num {
display: block;
color: var(--ab-yellow);
font-size: 2.4rem;
line-height: 1.15;
font-weight: 800;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}
.ab_stat_label {
display: block;
margin-top: 0.2rem;
font-size: 0.88rem;
line-height: 1.4;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.45);
}

/* icon medallion (same look as the services trust cards)
-----------------------------------------------------------------------------*/
.ab_icon {
display: flex;
align-items: center;
justify-content: center;
flex: 0 0 auto;
width: 64px;
height: 64px;
margin-bottom: 1.1rem;
border-radius: 50%;
color: var(--ab-yellow);
background: linear-gradient(to bottom, #646c2e 0px, #76841d 100%);
box-shadow: 0 0 0 5px var(--ab-yellow), 3px 3px 5px #3d4a12;
}

/* why-us cards
-----------------------------------------------------------------------------*/
.ab_cards {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 1.8rem;
list-style: none;
list-style-image: none;
margin: 0px;
padding: 0px;
}
.ab_card {
margin: 0px;
padding: 2.1rem 1.8rem 1.9rem 1.8rem;
border: 1px solid var(--ab-sand);
border-top: 4px solid var(--ab-olive);
border-radius: 25px;
background: var(--ab-card-bg);
box-shadow: var(--ab-shadow);
transition: all 250ms ease-in;
-webkit-transition: all 250ms ease-in;
}
.ab_card:hover {
transform: translateY(-3px);
box-shadow: var(--ab-shadow-hover);
}
.ab_card h3 {
color: var(--ab-olive-dark);
font-size: 1.25rem;
line-height: 1.25;
font-weight: 700;
margin: 0px 0px 0.6rem 0px;
}
.ab_card p {
margin: 0px;
font-size: 0.95rem;
line-height: 1.75;
}

/* problems we fix: problem on the left, what we do on the right
-----------------------------------------------------------------------------*/
.ab_fix {
list-style: none;
list-style-image: none;
margin: 0px;
padding: 0px;
border: 1px solid var(--ab-sand);
border-radius: 25px;
overflow: hidden;
box-shadow: var(--ab-shadow);
}
.ab_fix > li {
display: grid;
grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
margin: 0px;
border-top: 1px dotted var(--ab-olive);
}
.ab_fix > li:first-child { border-top: 0px; }
.ab_fix_problem, .ab_fix_solution {
padding: 1.7rem 2.2rem;
}
.ab_fix_problem {
position: relative;
background: var(--ab-cream);
border-right: 4px solid var(--ab-olive);
}
/* small olive arrow where the two columns meet */
.ab_fix_problem:after {
content: "\203A";
position: absolute;
top: 50%;
right: -17px;
z-index: 2;
width: 30px;
height: 30px;
margin-top: -15px;
border-radius: 50%;
color: #fff;
background: var(--ab-olive);
box-shadow: 2px 2px 3px rgba(61, 74, 18, 0.35);
font-size: 1.4rem;
line-height: 27px;
text-align: center;
}
.ab_fix_solution { background: #fff; }
.ab_tag {
display: block;
margin: 0px 0px 0.3rem 0px;
color: var(--ab-olive);
font-size: 0.7rem;
line-height: 1.4;
font-weight: 700;
letter-spacing: 2px;
text-transform: uppercase;
}
.ab_fix_problem h3 {
color: var(--ab-olive-dark);
font-size: 1.25rem;
line-height: 1.3;
font-weight: 700;
margin: 0px 0px 0.4rem 0px;
}
.ab_fix_problem p {
margin: 0px;
font-size: 0.92rem;
line-height: 1.65;
}
.ab_fix_solution p {
margin: 0px 0px 0.7rem 0px;
font-size: 0.97rem;
line-height: 1.75;
}

/* how we work: steps + photos
-----------------------------------------------------------------------------*/
.ab_process {
display: grid;
grid-template-columns: minmax(0, 1fr) 320px;
gap: 3.5rem;
align-items: stretch;
}
.ab_steps {
align-self: center;
counter-reset: ab_step;
list-style: none;
list-style-image: none;
margin: 0px;
padding: 0px;
}
.ab_steps > li {
counter-increment: ab_step;
position: relative;
margin: 0px;
padding: 0px 0px 2.1rem 4.6rem;
}
.ab_steps > li:before {
content: counter(ab_step);
position: absolute;
top: 0px;
left: 0px;
width: 3rem;
height: 3rem;
border-radius: 50%;
color: var(--ab-yellow);
background: linear-gradient(to bottom, #646c2e 0px, #76841d 100%);
box-shadow: 0 0 0 4px var(--ab-yellow), 3px 3px 5px #3d4a12;
font-size: 1.25rem;
line-height: 3rem;
font-weight: 800;
text-align: center;
}
/* dotted line linking one step to the next */
.ab_steps > li:after {
content: "";
position: absolute;
top: 3.7rem;
bottom: 0.7rem;
left: 1.5rem;
border-left: 2px dotted var(--ab-olive);
}
.ab_steps > li:last-child { padding-bottom: 0px; }
.ab_steps > li:last-child:after { display: none; }
.ab_steps h3 {
margin: 0px 0px 0.3rem 0px;
padding: 0.5rem 0px 0px 0px;
color: var(--ab-olive-dark);
font-size: 1.35rem;
line-height: 1.3;
font-weight: 700;
}
.ab_steps p {
margin: 0px;
font-size: 1rem;
line-height: 1.8;
}
.ab_shots {
display: flex;
flex-direction: column;
gap: 1.6rem;
}
/* the photos share whatever height the steps need, so the two columns always line up (no gaps) */
.ab_shot {
display: flex;
flex: 1 1 0px;
flex-direction: column;
min-height: 0px;
margin: 0px;
}
.ab_shot_img {
position: relative;
flex: 1 1 auto;
min-height: 150px;
}
.ab_shot img {
position: absolute;
top: 0px;
left: 0px;
display: block;
width: 100%;
height: 100%;
box-sizing: border-box;
object-fit: cover;
border: 5px solid var(--ab-yellow);
border-radius: 22px;
box-shadow: var(--ab-shadow);
}
.ab_shot figcaption {
margin-top: 0.7rem;
color: var(--ab-olive-mid);
font-size: 0.85rem;
line-height: 1.55;
font-weight: 600;
}

/* founder + credentials
-----------------------------------------------------------------------------*/
.ab_founder {
display: grid;
grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
gap: 3.2rem;
align-items: center;
}
.ab_founder_text h2 { padding-bottom: 0.7rem; }
.ab_founder_text .content_stitle { margin-bottom: 0.2rem; }
.ab_founder_text p {
margin: 0px 0px 1.1rem 0px;
line-height: 1.9;
}
.ab_founder_text p:last-child { margin-bottom: 0px; }
.ab_creds {
padding: 2rem 2rem 1.6rem 2rem;
border: 1px solid var(--ab-sand);
border-top: 4px solid var(--ab-olive);
border-radius: 25px;
background: var(--ab-card-bg);
box-shadow: var(--ab-shadow);
}
.ab_creds h3 {
margin: 0px 0px 0.8rem 0px;
color: var(--ab-olive-dark);
font-size: 1.4rem;
line-height: 1.25;
font-weight: 700;
}
.ab_creds ul {
list-style: none;
list-style-image: none;
margin: 0px;
padding: 0px;
}
.ab_creds li {
margin: 0px;
padding: 0.75rem 0px 0.75rem 2.2rem;
border-top: 1px dotted #bdb6a3;
background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23839510' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.500'/%3E%3C/svg%3E") no-repeat 0px 1rem / 1.15rem 1.15rem;
font-size: 0.95rem;
line-height: 1.6;
}
.ab_creds li:first-child { border-top: 0px; }

/* where we work: city pills
-----------------------------------------------------------------------------*/
.ab_areas {
display: flex;
flex-wrap: wrap;
gap: 0.8rem;
list-style: none;
list-style-image: none;
margin: 0px 0px 1.6rem 0px;
padding: 0px;
}
.ab_areas li { margin: 0px; }
.ab_areas a {
display: block;
padding: 0.5rem 1.3rem;
border-radius: 25px;
font-size: 0.92rem;
line-height: 1.5;
font-weight: 700;
}
.ab_areas a {
color: var(--ab-olive-dark);
background: var(--ab-yellow);
transition: all 250ms ease-in;
-webkit-transition: all 250ms ease-in;
}
.ab_areas a:hover {
color: #fff;
text-decoration: none;
background: linear-gradient(to bottom, #636c2f 0px, #7c8c17 100%);
transform: translateY(-2px);
}
/* "See all service areas" sits in the row right after the last city */
.ab_areas .ab_areas_more { margin-left: 0.6rem; }
.ab_areas .ab_areas_more a { display: inline-block; padding: 0px; border-radius: 0px; background: none; font-size: 0.95rem; }
.ab_areas .ab_areas_more a:hover { background: none; color: var(--ab-olive-dark); transform: none; }

/* proof links
-----------------------------------------------------------------------------*/
.ab_proof {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 1.6rem;
list-style: none;
list-style-image: none;
margin: 0px;
padding: 0px;
}
.ab_proof li { margin: 0px; }
.ab_proof a {
display: flex;
align-items: center;
gap: 1.3rem;
height: 100%;
box-sizing: border-box;
padding: 1.3rem 1.6rem;
border: 1px solid var(--ab-sand);
border-radius: 22px;
color: var(--ab-ink);
background: var(--ab-card-bg);
box-shadow: var(--ab-shadow);
transition: all 250ms ease-in;
-webkit-transition: all 250ms ease-in;
}
.ab_proof a:hover {
text-decoration: none;
transform: translateY(-3px);
box-shadow: var(--ab-shadow-hover);
}
.ab_proof .ab_icon {
width: 52px;
height: 52px;
margin: 0px 0.2rem 0px 0.1rem;
box-shadow: 0 0 0 4px var(--ab-yellow), 3px 3px 5px #3d4a12;
}
.ab_proof_text { display: block; font-size: 0.9rem; line-height: 1.5; }
.ab_proof_text strong {
display: block;
margin-bottom: 0.1rem;
color: var(--ab-olive-dark);
font-size: 1.1rem;
line-height: 1.3;
}

/* closing banner: spacing only, the look comes from .svc_cta */
.ab .svc_cta { margin-top: 0.4rem; }

/* keyboard focus
-----------------------------------------------------------------------------*/
.ab_areas a:focus-visible,
.ab_proof a:focus-visible { outline: 2px solid var(--ab-olive); outline-offset: 3px; }

/* laptop / tablet landscape
-----------------------------------------------------------------------------*/
@media screen and (max-width: 1140px) {
.ab_sec { padding: 2.5rem 0px; }
.ab_head h2 { font-size: 2rem; }
.ab_intro { padding-bottom: 2.4rem; }
.ab_photo { margin-left: 2rem; }
.ab_stats { padding: 1.2rem 0.5rem; border-radius: 22px; }
.ab_stat_num { font-size: 2.1rem; }
.ab_cards { gap: 1.3rem; }
.ab_card { padding: 1.8rem 1.4rem 1.6rem 1.4rem; border-radius: 20px; }
.ab_fix { border-radius: 20px; }
.ab_fix_problem, .ab_fix_solution { padding: 1.4rem 1.6rem; }
.ab_process { grid-template-columns: minmax(0, 1fr) 320px; gap: 2.5rem; }
.ab_founder { gap: 2.2rem; }
.ab_proof { gap: 1.2rem; }
.ab_proof a { padding: 1.1rem 1.2rem; gap: 1rem; }
}

/* tablet portrait
-----------------------------------------------------------------------------*/
@media screen and (max-width: 900px) {
.ab_photo { float: none; width: 100%; max-width: 400px; margin: 0px auto 1.8rem auto; }
.ab_badge { left: 1rem; }
.ab_stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.6rem; }
.ab_stats li:nth-child(odd) { border-left: 0px; }
.ab_cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ab_process { grid-template-columns: 1fr; gap: 2.4rem; }
.ab_shots { flex-direction: row; gap: 1.4rem; }
.ab_shot { flex: 1 1 0px; min-width: 0px; }
.ab_shot_img { flex: 0 0 auto; min-height: 0px; aspect-ratio: 4 / 3; }
.ab_founder { grid-template-columns: 1fr; gap: 2.4rem; }
.ab_proof { grid-template-columns: 1fr; }
}

/* stacked problem / solution rows
-----------------------------------------------------------------------------*/
@media screen and (max-width: 760px) {
.ab_fix > li { grid-template-columns: 1fr; }
.ab_fix_problem { border-right: 0px; border-bottom: 4px solid var(--ab-olive); }
.ab_fix_problem:after {
top: auto;
right: auto;
bottom: -17px;
left: 2rem;
margin-top: 0px;
transform: rotate(90deg);
}
.ab_fix_solution { padding-top: 1.9rem; }
}

/* phone
-----------------------------------------------------------------------------*/
@media screen and (max-width: 640px) {
.ab_sec { padding: 2rem 0px; }
.ab_head { margin-bottom: 1.4rem; }
.ab_head h2 { font-size: 1.7rem; }
.ab_head p { font-size: 1rem; line-height: 1.8; }
.ab_intro { padding-bottom: 1.8rem; }
.ab_btns { flex-direction: column; align-items: center; gap: 1.1rem; }
.ab_btns .a_button, .ab_btns .a_button1 { width: 100%; max-width: 300px; box-sizing: border-box; padding: 16px 20px; }
.ab_stats { margin-bottom: 2rem; padding: 1rem 0.2rem; border-radius: 18px; }
.ab_stats li { padding: 0.2rem 0.6rem; }
.ab_stat_num { font-size: 1.8rem; }
.ab_stat_label { font-size: 0.8rem; }
.ab_cards { grid-template-columns: 1fr; gap: 1.1rem; }
.ab_card { padding: 1.4rem 1.2rem; border-radius: 18px; }
.ab_card:hover, .ab_proof a:hover { transform: none; }
.ab_icon { width: 54px; height: 54px; margin-bottom: 0.9rem; box-shadow: 0 0 0 4px var(--ab-yellow), 3px 3px 5px #3d4a12; }
.ab_icon svg { width: 26px; height: 26px; }
.ab_fix_problem, .ab_fix_solution { padding-left: 1.2rem; padding-right: 1.2rem; }
.ab_fix_problem:after { left: 1.2rem; }
.ab_fix_problem h3 { font-size: 1.15rem; }
.ab_steps > li { padding-left: 3.9rem; padding-bottom: 1.7rem; }
.ab_steps > li:before { width: 2.6rem; height: 2.6rem; font-size: 1.1rem; line-height: 2.6rem; }
.ab_steps > li:after { left: 1.3rem; top: 3.2rem; }
.ab_steps h3 { font-size: 1.2rem; padding-top: 0.35rem; }
.ab_steps p { font-size: 0.97rem; line-height: 1.75; }
.ab_shots { flex-direction: column; }
.ab_shot { flex: 0 0 auto; width: 100%; max-width: 400px; margin: 0px auto; }
.ab_shot_img { aspect-ratio: 4 / 3; }
.ab_shot img { border-width: 4px; border-radius: 18px; }
.ab_creds { padding: 1.5rem 1.2rem 1.2rem 1.2rem; border-radius: 18px; }
.ab_areas { gap: 0.6rem; }
.ab_areas a { padding: 0.45rem 1.05rem; font-size: 0.88rem; }
}

@media (prefers-reduced-motion: reduce) {
.ab_card, .ab_proof a, .ab_areas a { transition: none; }
.ab_card:hover, .ab_proof a:hover, .ab_areas a:hover { transform: none; }
}
