/* ==========================================================================
   The About pages: About us, Founder and Contact us (Views/About, Views/Founder, Views/Contact;
   Docs/website-cms-map.md, "About, redesigned"). A short title band, then flat sections on white and sand bands. Flat: thin lines, no shadows or gradients. Builds on css/shaadi.css (.sh colours, buttons,
   form fields); everything here is prefixed ab-.
   ========================================================================== */

/* ---------- shared pieces ---------- */
/* css/shaadi.css sets ".sh p { margin: 0 }", so paragraph spacing here is set with ".ab" in front */
.ab-sec { padding: 64px 0; background: #fff; }
.ab-sec.is-sand { background: var(--sh-bg); }
.ab-sec + .ab-sec:not(.is-sand) { border-top: 1px solid var(--sh-line); }
.ab-kicker { display: block; margin: 0 0 8px; font-size: 12.5px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--sh-red-ink); }
.ab-h { margin: 0 0 14px; font-family: var(--primary-font); font-size: 34px; font-weight: 800; line-height: 1.18; letter-spacing: -.015em; color: var(--sh-ink); }
.ab-head { max-width: 660px; margin: 0 0 30px; }
.ab-head p { margin: 0; font-size: 16.5px; line-height: 1.7; color: var(--sh-ink-2); }
.ab .ab-lead { margin: 0 0 14px; font-size: 18px; line-height: 1.75; color: var(--sh-ink-2); }
.ab .ab-text { margin: 0 0 14px; font-size: 16px; line-height: 1.75; color: var(--sh-ink-2); }
.ab-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
/* a soft round icon in its own colour (--c), like the members' initials */
.ab-icon { display: inline-grid; flex: none; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #f1ece5; background: color-mix(in srgb, var(--c, #868e96) 14%, #fff); color: var(--c, #6b7680); font-size: 21px; }

/* ---------- About us: who we are, with the numbers ---------- */
.ab-intro-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.ab-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 0; overflow: hidden; border: 1px solid var(--sh-line); border-radius: var(--sh-radius); background: #fff; list-style: none; }
.ab-stats li { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 22px 24px; border-bottom: 1px solid var(--sh-line); }
.ab-stats li:nth-child(odd) { border-right: 1px solid var(--sh-line); }
.ab-stats li:nth-last-child(-n+2) { border-bottom: 0; }
.ab-stats b { font-family: var(--primary-font); font-size: 34px; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; color: var(--sh-ink); }
.ab-stats span { font-size: 14px; color: var(--sh-ink-2); }
.ab-stats a { color: inherit; }
.ab-stats a:hover b { color: var(--sh-red-ink); }

/* ---------- About us: why it began, in the founder's words ---------- */
.ab-quote { display: flex; flex-direction: column; align-items: center; gap: 22px; max-width: 860px; margin: 0 auto; text-align: center; }   /* the photo on top, everything centred (the owner's request of 5 Dec 2026) */
.ab-quote-photo { width: 132px; height: 132px; border: 4px solid #fff; border-radius: 50%; object-fit: cover; }
.ab-quote blockquote { margin: 0 0 14px; padding: 0; border: 0; font-family: var(--alt-font); font-size: 29px; font-style: italic; line-height: 1.4; color: var(--sh-ink); text-wrap: balance; }   /* lines of even length (the owner's request of 5 Dec 2026: "Balance the text") */
.ab-quote figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 14px; font-size: 15px; color: var(--sh-ink-2); }
.ab-quote figcaption b { color: var(--sh-ink); }
.ab .ab-more { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 700; color: var(--vs-btn-text); white-space: nowrap; }   /* tertiary */
.ab .ab-more:hover { color: var(--vs-btn-text-hover); }
.ab .ab-quote-after { margin: 16px 0 0; font-size: 16px; line-height: 1.75; color: var(--sh-ink-2); text-wrap: balance; }

/* ---------- About us: what you can do here, take part (cards) ---------- */
.ab-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ab-card { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 22px; border: 1px solid var(--sh-line); border-radius: var(--sh-radius); background: #fff; color: var(--sh-ink); transition: border-color .15s; }
.ab a.ab-card { color: var(--sh-ink); }
.ab a.ab-card:hover { border-color: var(--vs-card-line-hover); color: var(--sh-ink); }
.ab-card h3 { margin: 4px 0 0; font-family: var(--primary-font); font-size: var(--vs-card-title); font-weight: 800; line-height: 1.3; color: var(--sh-ink); }
.ab-card p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--sh-ink-2); }
.ab-card-go {display: flex; align-items: center; justify-content: center; gap: 8px; align-self: stretch; height: var(--vs-card-btn-h); margin-top: auto; padding: 0 4px; border-radius: 999px; background: var(--vs-card-btn-bg); font-size: 13.5px; font-weight: 700; color: var(--vs-btn-text); transition: color .15s; }   /* tertiary: text and an arrow */
.ab a.ab-card:hover .ab-card-go {background: var(--vs-card-btn-bg-hover); color: var(--vs-btn-text-hover); }

/* ---------- About us: what we stand for ---------- */
.ab-values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; overflow: hidden; border: 1px solid var(--sh-line); border-radius: var(--sh-radius); background: #fff; list-style: none; counter-reset: ab-value; }
.ab-values li { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 26px 24px; border-right: 1px solid var(--sh-line); counter-increment: ab-value; }
.ab-values li:last-child { border-right: 0; }
.ab-values li::before { content: counter(ab-value, decimal-leading-zero); font-family: var(--alt-font); font-size: 30px; font-style: italic; line-height: 1; color: var(--sh-red); }
.ab-values h3 { margin: 6px 0 0; font-family: var(--primary-font); font-size: 17px; font-weight: 800; line-height: 1.3; color: var(--sh-ink); }
.ab-values p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--sh-ink-2); }
.ab-values .ab-more { margin-top: auto; padding-top: 4px; font-size: 14px; }

/* ---------- contact details (About us, Founder) ---------- */
.ab-touch { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: center; padding: 30px 32px; border: 1px solid var(--sh-line); border-radius: var(--sh-radius); background: #fff; }
.ab-touch h2 { margin: 0 0 6px; font-family: var(--primary-font); font-size: 24px; font-weight: 800; color: var(--sh-ink); }
.ab-touch p { margin: 0; font-size: 15.5px; color: var(--sh-ink-2); }
.ab-lines { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 16px 0 0; padding: 0; list-style: none; font-size: 15px; }
.ab-lines li { display: flex; align-items: center; gap: 8px; min-width: 0; color: var(--sh-ink-2); }
.ab-lines i { flex: none; color: var(--sh-muted); }
.ab .ab-lines a { color: var(--sh-ink); }
.ab .ab-lines a:hover { color: var(--sh-red-ink); }

/* ---------- Founder: the profile beside the message ---------- */
.ab-founder-grid { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 56px; align-items: start; }
.ab-profile { position: sticky; top: 100px; overflow: hidden; border: 1px solid var(--sh-line); border-radius: var(--sh-radius); background: #fff; }
.ab-profile-photo { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 20%; background: var(--sh-field); }
.ab-profile-body { padding: 22px 24px 24px; }
.ab-profile h2 { margin: 0; font-family: var(--primary-font); font-size: 22px; font-weight: 800; color: var(--sh-ink); }
.ab .ab-role { margin: 2px 0 12px; font-size: 14.5px; font-weight: 700; color: var(--sh-red-ink); }
.ab .ab-profile-text { margin: 0 0 16px; font-size: 15px; line-height: 1.65; color: var(--sh-ink-2); }
.ab-profile .ab-lines { flex-direction: column; gap: 10px; margin: 0 0 16px; padding: 16px 0 0; border-top: 1px solid var(--sh-line); }
.ab-profile .sh-btn { width: 100%; }

.ab-letter { min-width: 0; max-width: 760px; }
.ab-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 34px; }
.ab .ab-toc a { display: inline-flex; align-items: center; height: 36px; padding: 0 15px; border: 1px solid var(--sh-line); border-radius: 999px; background: #fff; font-size: 14px; font-weight: 700; color: var(--sh-ink); transition: border-color .15s; }
.ab .ab-toc a:hover { border-color: var(--sh-ink); }
.ab-part { padding: 30px 0 0; border-top: 1px solid var(--sh-line); scroll-margin-top: 110px; }
.ab-part + .ab-part { margin-top: 30px; }
.ab-part h3 { margin: 0 0 16px; font-family: var(--alt-font); font-size: 27px; font-weight: 600; line-height: 1.3; color: var(--sh-ink); }
.ab-part .vs-prose { font-size: 17.5px; line-height: 1.85; color: #2b3a44; }
.ab .ab-part .vs-prose p { margin: 0 0 1.1em; }
.ab .ab-part .vs-prose p:last-child { margin-bottom: 0; }
.ab-part .vs-prose strong { font-weight: 600; color: var(--sh-ink); }
.ab .ab-sign { margin: 34px 0 0; padding-top: 22px; border-top: 1px solid var(--sh-line); font-family: var(--alt-font); font-size: 22px; font-style: italic; color: var(--sh-ink); }
.ab-sign small { display: block; margin-top: 2px; font-family: var(--primary-font); font-size: 14px; font-style: normal; color: var(--sh-muted); }

/* ---------- Contact us ---------- */
.ab-contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.ab-ways { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 0 0 26px; padding: 0; list-style: none; }
.ab-way { display: flex; align-items: center; gap: 14px; min-width: 0; padding: 14px 16px; border: 1px solid var(--sh-line); border-radius: var(--vs-card-radius); background: #fff; color: var(--sh-ink); transition: border-color .15s; }
.ab a.ab-way { color: var(--sh-ink); }
.ab a.ab-way:hover { border-color: var(--vs-card-line-hover); color: var(--sh-ink); }
/* the label and value beside the icon (not the icon itself, which stays a centred circle) */
.ab-way > span:not(.ab-icon) { display: flex; flex-direction: column; min-width: 0; }
.ab-way b { font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--sh-muted); }
.ab-way em { overflow: hidden; font-size: 16px; font-style: normal; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; color: var(--sh-ink); }
.ab-way:not(a) em { white-space: normal; }   /* the office address wraps; links stay on one line */
.ab-way .ab-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; font-size: 19px; line-height: 1; }
.ab-topics { padding: 20px 22px; border-radius: var(--vs-card-radius); background: var(--sh-field); }
.ab-topics h3 { margin: 0 0 10px; font-family: var(--primary-font); font-size: 15.5px; font-weight: 800; color: var(--sh-ink); }
.ab-topics ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ab-topics li { display: flex; gap: 10px; font-size: 15px; line-height: 1.5; color: var(--sh-ink-2); }
.ab-topics li i { flex: none; margin-top: 2px; color: var(--sh-ok); }

.ab-form { padding: 30px 32px; border: 1px solid var(--sh-line); border-radius: var(--sh-radius); background: #fff; }
.ab-form h2 { margin: 0 0 4px; font-family: var(--primary-font); font-size: 24px; font-weight: 800; color: var(--sh-ink); }
.ab .ab-form-note { margin: 0 0 22px; font-size: 15px; color: var(--sh-ink-2); }
.ab .sh-field input[type=tel], .ab .sh-field input[type=email] { width: 100%; height: 48px; padding: 10px 14px; border: 1.5px solid #e4dcd2; border-radius: 12px; background: #fff; font-size: 15px; color: var(--sh-ink); }
.ab .sh-field input[type=tel]:focus, .ab .sh-field input[type=email]:focus { outline: none; border-color: var(--sh-ink); }
.ab .sh-field.has-error input[type=tel], .ab .sh-field.has-error input[type=email] { border-color: #e03131; }
.ab-count { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; }
.ab-send { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 22px; }
.ab-send small { font-size: 13.5px; color: var(--sh-muted); }

/* ---------- smaller screens ---------- */
@media (max-width: 1199px) {
    .ab-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ab-values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ab-values li:nth-child(2) { border-right: 0; }
    .ab-values li:nth-child(-n+2) { border-bottom: 1px solid var(--sh-line); }
    .ab-founder-grid { grid-template-columns: 300px minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 991px) {
    .ab-sec { padding: 48px 0; }
    .ab-h { font-size: 29px; }
    .ab-intro-grid, .ab-contact-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .ab-founder-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .ab-profile { position: static; display: grid; grid-template-columns: 220px minmax(0, 1fr); }
    .ab-profile-photo { height: 100%; aspect-ratio: auto; min-height: 260px; }
    .ab-touch { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
    .ab-sec { padding: 38px 0; }
    .ab-h { font-size: 25px; }
    .ab-lead { font-size: 16.5px; }
    .ab-stats b { font-size: 27px; }
    .ab-stats li { padding: 16px 18px; }
    .ab-quote { gap: 16px; }
    .ab-quote-photo { width: 92px; height: 92px; }
    .ab-quote blockquote { font-size: 22px; }
    /* cards become short rows on phones: the icon beside the title and text (the whole card is the link) */
    .ab-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .ab-card { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: start; gap: 2px 14px; padding: 16px; }
    .ab-card > * { grid-column: 2; }
    .ab-card .ab-icon { grid-column: 1; grid-row: 1 / span 2; width: 44px; height: 44px; font-size: 19px; }
    .ab-card h3 { margin: 0; font-size: var(--vs-card-title); }
    .ab-card p { font-size: 14px; }
    .ab-card-go { display: none; }
    .ab-values { grid-template-columns: minmax(0, 1fr); }
    .ab-values li { display: grid; grid-template-columns: 38px minmax(0, 1fr); align-items: start; gap: 4px 12px; padding: 18px; border-right: 0; border-bottom: 1px solid var(--sh-line); }
    .ab-values li > * { grid-column: 2; }
    .ab-values li::before { grid-column: 1; grid-row: 1 / span 3; font-size: 24px; }
    .ab-values h3 { margin: 0; }
    .ab-values li:last-child { border-bottom: 0; }
    .ab-profile { display: block; }
    .ab-profile-photo { height: auto; min-height: 0; aspect-ratio: 4 / 3; }
    .ab-part h3 { font-size: 22px; }
    .ab-part .vs-prose { font-size: 16.5px; }
    .ab-touch, .ab-form { padding: 22px 18px; }
    .ab .sh-fields { grid-template-columns: minmax(0, 1fr); }
}
