/*
Theme Name: Amolo & Kibanya
Theme URI: https://amolokibanya.com/
Author: GICT Systems
Description: Custom public website theme for Amolo & Kibanya Advocates & Commissioners for Oaths.
Version: 0.2.6
Requires at least: 6.7
Requires PHP: 8.0
Text Domain: amolo-kibanya
*/

:root {
    --ak-gold: #9b8231;
    --ak-gold-dark: #75601f;
    --ak-gold-light: #c4aa58;
    --ak-ivory: #f8f5ec;
    --ak-ivory-deep: #eee9dc;
    --ak-stone: #e3ded1;
    --ak-charcoal: #25241f;
    --ak-muted: #69665d;
    --ak-white: #ffffff;
    --ak-dark: #171713;
    --ak-border: rgba(37, 36, 31, .13);
    --ak-shadow: 0 22px 60px rgba(27, 24, 17, .10);
    --ak-radius: 4px;
    --ak-container: 1180px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ak-charcoal);
    background: var(--ak-white);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

body.ak-nav-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

button,
input,
textarea,
select {
    font: inherit;
}

.ak-container {
    width: min(calc(100% - 40px), var(--ak-container));
    margin-inline: auto;
}

.ak-serif,
h1,
h2,
h3,
h4 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
}

.ak-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 18px;
    color: var(--ak-gold-dark);
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .15em;
    line-height: 1.35;
    text-transform: uppercase;
}

.ak-eyebrow::before {
    width: 34px;
    height: 1px;
    background: currentColor;
    content: "";
}

.ak-section-heading {
    max-width: 760px;
    margin-bottom: 44px;
}

.ak-section-heading h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.08;
    letter-spacing: -.025em;
}

.ak-section-heading p {
    max-width: 700px;
    margin: 20px 0 0;
    color: var(--ak-muted);
    font-size: 1.04rem;
}

.ak-button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: 1px solid var(--ak-gold);
    background: var(--ak-gold);
    color: var(--ak-white);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-decoration: none;
    text-transform: uppercase;
    transition: .2s ease;
}

.ak-button:hover,
.ak-button:focus {
    border-color: var(--ak-gold-dark);
    background: var(--ak-gold-dark);
    color: var(--ak-white);
}

.ak-button--ghost {
    border-color: rgba(255, 255, 255, .72);
    background: transparent;
    color: var(--ak-white);
}

.ak-button--ghost:hover,
.ak-button--ghost:focus {
    border-color: var(--ak-white);
    background: var(--ak-white);
    color: var(--ak-charcoal);
}

.ak-text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ak-gold-dark);
    font-size: .77rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-decoration: none;
    text-transform: uppercase;
}

.ak-text-link::after {
    content: "→";
    transition: transform .2s ease;
}

.ak-text-link:hover::after {
    transform: translateX(4px);
}

/* Header */

.ak-site-header {
    position: relative;
    z-index: 50;
    border-bottom: 1px solid rgba(155, 130, 49, .17);
    background: rgba(248, 245, 236, .97);
}

.ak-topbar {
    background: var(--ak-charcoal);
    color: rgba(255, 255, 255, .86);
    font-size: .76rem;
}

.ak-topbar__inner {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.ak-topbar a {
    text-decoration: none;
}

.ak-topbar a:hover {
    color: var(--ak-gold-light);
}

.ak-header-main {
    min-height: 96px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.ak-brand {
    flex: 0 0 auto;
}

.ak-brand img {
    width: 295px;
    max-height: 72px;
    object-fit: contain;
    object-position: left center;
}

.ak-nav-wrap {
    display: flex;
    align-items: center;
    gap: 28px;
}

.ak-primary-nav ul {
    display: flex;
    align-items: center;
    gap: 26px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ak-primary-nav a {
    position: relative;
    display: block;
    padding: 35px 0 31px;
    color: var(--ak-charcoal);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .055em;
    text-decoration: none;
    text-transform: uppercase;
}

.ak-primary-nav a::after {
    position: absolute;
    right: 0;
    bottom: 25px;
    left: 0;
    height: 1px;
    background: var(--ak-gold);
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .2s ease;
}

.ak-primary-nav a:hover::after,
.ak-primary-nav .current-menu-item > a::after {
    transform: scaleX(1);
    transform-origin: left;
}

.ak-header-contact {
    color: var(--ak-gold-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1rem;
    text-decoration: none;
    white-space: nowrap;
}

.ak-nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--ak-border);
    background: transparent;
    cursor: pointer;
}

.ak-nav-toggle span {
    display: block;
    width: 20px;
    height: 1px;
    margin: 5px auto;
    background: var(--ak-charcoal);
}

/* Hero */

.ak-hero {
    position: relative;
    min-height: 690px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-position: center;
    background-size: cover;
    color: var(--ak-white);
}

.ak-hero::before {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(18, 17, 13, .90) 0%, rgba(18, 17, 13, .71) 47%, rgba(18, 17, 13, .19) 82%),
        linear-gradient(0deg, rgba(18, 17, 13, .22), rgba(18, 17, 13, .03));
    content: "";
}

.ak-hero__content {
    position: relative;
    z-index: 2;
    width: min(700px, 75%);
    padding: 96px 0 110px;
}

.ak-hero .ak-eyebrow {
    color: #e0c774;
}

.ak-hero h1 {
    max-width: 690px;
    margin: 0;
    font-size: clamp(3rem, 6vw, 5.7rem);
    line-height: .99;
    letter-spacing: -.045em;
}

.ak-hero p {
    max-width: 620px;
    margin: 28px 0 0;
    color: rgba(255, 255, 255, .87);
    font-size: clamp(1rem, 1.8vw, 1.18rem);
    line-height: 1.75;
}

.ak-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 36px;
}

/* Intro */

.ak-intro {
    padding: 100px 0;
    background: var(--ak-ivory);
}

.ak-intro__grid {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 56px;
    align-items: start;
}

.ak-intro__year {
    position: relative;
    align-self: start;
    padding: 34px 30px 30px;
    border: 1px solid var(--ak-border);
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, .84),
            rgba(255, 255, 255, .98)
        );
    box-shadow: 0 16px 40px rgba(27, 24, 17, .05);
}

.ak-intro__year strong {
    display: block;
    color: var(--ak-gold-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(4.2rem, 7vw, 6.2rem);
    font-weight: 400;
    letter-spacing: -.06em;
    line-height: .85;
}

.ak-intro__year > span {
    display: block;
    margin-top: 18px;
    color: var(--ak-muted);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.ak-intro__points {
    margin-top: 26px;
    padding-top: 24px;
    border-top: 1px solid rgba(37, 36, 31, .10);
}

.ak-intro__points p {
    margin: 0 0 18px;
}

.ak-intro__points p:last-child {
    margin-bottom: 0;
}

.ak-intro__points b {
    display: block;
    color: var(--ak-gold-dark);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .10em;
    line-height: 1.4;
    text-transform: uppercase;
}

.ak-intro__points span {
    display: block;
    margin-top: 7px;
    color: var(--ak-muted);
    font-size: .9rem;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.55;
    text-transform: none;
}

.ak-intro__copy h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.1;
    letter-spacing: -.025em;
}

.ak-intro__copy p {
    max-width: 740px;
    margin: 24px 0 0;
    color: var(--ak-muted);
    font-size: 1.04rem;
}

/* Practice */

.ak-practice {
    padding: 105px 0;
    background: var(--ak-white);
}

.ak-practice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--ak-border);
    border-left: 1px solid var(--ak-border);
}

.ak-practice-card {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    padding: 38px 34px;
    border-right: 1px solid var(--ak-border);
    border-bottom: 1px solid var(--ak-border);
    background: var(--ak-white);
    transition: background .2s ease, transform .2s ease;
}

.ak-practice-card:hover {
    position: relative;
    z-index: 2;
    background: var(--ak-ivory);
}

.ak-practice-card__number {
    color: var(--ak-gold);
    font-family: Georgia, "Times New Roman", serif;
    font-size: .84rem;
}

.ak-practice-card h3 {
    margin: 42px 0 14px;
    font-size: 1.55rem;
    line-height: 1.2;
}

.ak-practice-card p {
    margin: 0 0 28px;
    color: var(--ak-muted);
    font-size: .93rem;
}

.ak-practice-card .ak-text-link {
    margin-top: auto;
}

/* Experience */

.ak-experience {
    position: relative;
    padding: 70px 0;
    overflow: hidden;
    background: var(--ak-charcoal);
    color: var(--ak-white);
}

.ak-experience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.ak-experience-item {
    min-height: 135px;
    padding: 12px 44px;
    border-right: 1px solid rgba(255, 255, 255, .14);
}

.ak-experience-item:first-child {
    padding-left: 0;
}

.ak-experience-item:last-child {
    border-right: 0;
}

.ak-experience-item strong {
    display: block;
    color: var(--ak-gold-light);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.15rem;
    font-weight: 400;
    line-height: 1.1;
}

.ak-experience-item span {
    display: block;
    max-width: 260px;
    margin-top: 12px;
    color: rgba(255, 255, 255, .70);
    font-size: .9rem;
}

/* Partners */

.ak-partners {
    padding: 105px 0;
    background: var(--ak-ivory);
}

.ak-partner-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.ak-partner-card {
    display: grid;
    grid-template-columns: 210px 1fr;
    min-height: 270px;
    border: 1px solid var(--ak-border);
    background: var(--ak-white);
    box-shadow: 0 12px 35px rgba(27, 24, 17, .035);
}

.ak-partner-monogram {
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(145deg, rgba(155, 130, 49, .09), rgba(155, 130, 49, .22)),
        var(--ak-ivory);
    color: var(--ak-gold-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 4rem;
    letter-spacing: -.08em;
}

.ak-partner-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 34px;
}

.ak-partner-details h3 {
    margin: 0;
    font-size: 1.72rem;
}

.ak-partner-role {
    margin: 7px 0 0;
    color: var(--ak-gold-dark);
    font-size: .73rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.ak-partner-credentials {
    margin: 18px 0 0;
    color: var(--ak-muted);
    font-family: Georgia, "Times New Roman", serif;
}

/* Client care feature */

.ak-care {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 580px;
    background: var(--ak-charcoal);
    color: var(--ak-white);
}

.ak-care__image {
    min-height: 580px;
    background-position: center;
    background-size: cover;
}

.ak-care__content {
    display: flex;
    align-items: center;
    padding: 75px clamp(40px, 7vw, 110px);
}

.ak-care__content .ak-eyebrow {
    color: var(--ak-gold-light);
}

.ak-care__content h2 {
    max-width: 600px;
    margin: 0;
    font-size: clamp(2.1rem, 4vw, 3.55rem);
    line-height: 1.08;
}

.ak-care__content p {
    max-width: 620px;
    margin: 24px 0 30px;
    color: rgba(255, 255, 255, .74);
}

/* CTA */

.ak-cta {
    padding: 90px 0;
    background: var(--ak-gold);
    color: var(--ak-white);
}

.ak-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.ak-cta h2 {
    max-width: 780px;
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.08;
}

.ak-cta .ak-button {
    flex: 0 0 auto;
    border-color: var(--ak-white);
    background: var(--ak-white);
    color: var(--ak-charcoal);
}

/* Generic pages */

.ak-page-hero {
    padding: 90px 0;
    background: var(--ak-charcoal);
    color: var(--ak-white);
}

.ak-page-hero h1 {
    margin: 0;
    font-size: clamp(2.7rem, 5vw, 4.8rem);
    line-height: 1;
}

.ak-page-content {
    min-height: 360px;
    padding: 80px 0 100px;
}

.ak-page-content .entry-content {
    max-width: 820px;
}

.ak-page-content .entry-content > *:first-child {
    margin-top: 0;
}

/* Footer */

.ak-site-footer {
    background: #151511;
    color: rgba(255, 255, 255, .68);
}

.ak-footer-main {
    display: grid;
    grid-template-columns: 1.45fr 1fr 1fr;
    gap: 70px;
    padding: 74px 0 58px;
}

.ak-footer-brand img {
    width: 300px;
    max-height: 76px;
    object-fit: contain;
    object-position: left center;
    filter: brightness(1.12);
}

.ak-footer-brand p {
    max-width: 430px;
    margin: 24px 0 0;
    font-size: .9rem;
}

.ak-footer-title {
    margin: 0 0 20px;
    color: var(--ak-white);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.17rem;
}

.ak-footer-contact,
.ak-footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ak-footer-contact li,
.ak-footer-links li {
    margin: 0 0 9px;
    font-size: .86rem;
}

.ak-footer-contact a,
.ak-footer-links a {
    text-decoration: none;
}

.ak-footer-contact a:hover,
.ak-footer-links a:hover {
    color: var(--ak-gold-light);
}

.ak-footer-bottom {
    padding: 20px 0 24px;
    border-top: 1px solid rgba(255, 255, 255, .10);
    font-size: .76rem;
}

.ak-footer-bottom__inner {
    display: flex;
    justify-content: space-between;
    gap: 25px;
}

/* Accessibility */

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.screen-reader-text:focus {
    z-index: 100000;
    top: 10px;
    left: 10px;
    width: auto;
    height: auto;
    padding: 12px 16px;
    clip: auto !important;
    background: var(--ak-white);
    color: var(--ak-charcoal);
}

/* Responsive */

@media (max-width: 1080px) {
    .ak-header-contact {
        display: none;
    }

    .ak-primary-nav ul {
        gap: 20px;
    }

    .ak-partner-card {
        grid-template-columns: 165px 1fr;
    }
}

@media (max-width: 900px) {
    .ak-topbar__inner {
        justify-content: center;
        text-align: center;
    }

    .ak-topbar__inner > :last-child {
        display: none;
    }

    .ak-header-main {
        min-height: 84px;
    }

    .ak-brand img {
        width: 240px;
        max-height: 64px;
    }

    .ak-nav-toggle {
        display: block;
    }

    .ak-primary-nav {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: none;
        padding: 14px 20px 24px;
        border-top: 1px solid var(--ak-border);
        background: var(--ak-ivory);
        box-shadow: 0 20px 40px rgba(0, 0, 0, .12);
    }

    .ak-primary-nav.is-open {
        display: block;
    }

    .ak-primary-nav ul {
        display: block;
    }

    .ak-primary-nav li {
        border-bottom: 1px solid var(--ak-border);
    }

    .ak-primary-nav a {
        padding: 14px 4px;
    }

    .ak-primary-nav a::after {
        display: none;
    }

    .ak-hero {
        min-height: 620px;
    }

    .ak-hero__content {
        width: min(760px, 92%);
    }

    .ak-intro__grid {
        grid-template-columns: 1fr;
        gap: 52px;
    }

    .ak-practice-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ak-partner-grid {
        grid-template-columns: 1fr;
    }

    .ak-care {
        grid-template-columns: 1fr;
    }

    .ak-care__image {
        min-height: 430px;
    }

    .ak-footer-main {
        grid-template-columns: 1fr 1fr;
    }

    .ak-footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 680px) {
    .ak-container {
        width: min(calc(100% - 30px), var(--ak-container));
    }

    .ak-hero {
        min-height: 610px;
        background-position: 63% center;
    }

    .ak-hero::before {
        background: rgba(18, 17, 13, .72);
    }

    .ak-hero__content {
        width: 100%;
        padding: 72px 0 82px;
    }

    .ak-hero h1 {
        font-size: clamp(2.8rem, 14vw, 4rem);
    }

    .ak-intro,
    .ak-practice,
    .ak-partners {
        padding: 76px 0;
    }

    .ak-practice-grid {
        grid-template-columns: 1fr;
    }

    .ak-practice-card {
        min-height: 250px;
    }

    .ak-experience-grid {
        grid-template-columns: 1fr;
    }

    .ak-experience-item,
    .ak-experience-item:first-child {
        min-height: auto;
        padding: 25px 0;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .14);
    }

    .ak-experience-item:last-child {
        border-bottom: 0;
    }

    .ak-partner-card {
        grid-template-columns: 1fr;
    }

    .ak-partner-monogram {
        min-height: 190px;
    }

    .ak-care__image {
        min-height: 320px;
    }

    .ak-care__content {
        padding: 58px 28px 65px;
    }

    .ak-cta {
        padding: 66px 0;
    }

    .ak-cta__inner {
        display: block;
    }

    .ak-cta .ak-button {
        margin-top: 28px;
    }

    .ak-footer-main {
        grid-template-columns: 1fr;
        gap: 42px;
        padding-top: 58px;
    }

    .ak-footer-brand {
        grid-column: auto;
    }

    .ak-footer-bottom__inner {
        display: block;
    }

    .ak-footer-bottom__inner > :last-child {
        margin-top: 8px;
    }
}


/* ==========================================================
   Inner Pages — R1
   ========================================================== */

.ak-inner-hero {
    min-height: 510px;
    display: flex;
    align-items: center;
    background-position: center;
    background-size: cover;
    color: var(--ak-white);
}

.ak-inner-hero__content {
    width: min(760px, 82%);
    padding: 100px 0;
}

.ak-inner-hero .ak-eyebrow {
    color: var(--ak-gold-light);
}

.ak-inner-hero h1 {
    margin: 0;
    font-size: clamp(3rem, 6vw, 5.35rem);
    line-height: 1;
    letter-spacing: -.045em;
}

.ak-inner-hero p:not(.ak-eyebrow) {
    max-width: 650px;
    margin: 26px 0 0;
    color: rgba(255,255,255,.82);
    font-size: 1.08rem;
    line-height: 1.75;
}

.ak-inner-section {
    padding: 100px 0;
}

.ak-inner-section--ivory {
    background: var(--ak-ivory);
}

.ak-inner-title {
    margin: 0;
    font-size: clamp(2.15rem, 4vw, 3.55rem);
    line-height: 1.08;
    letter-spacing: -.03em;
}

.ak-prose {
    color: var(--ak-muted);
    font-size: 1.03rem;
}

.ak-prose p {
    margin: 0 0 22px;
}

.ak-prose p:last-child {
    margin-bottom: 0;
}

/* About */

.ak-about-story,
.ak-team-support {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 90px;
    align-items: start;
}

.ak-value-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid var(--ak-border);
    border-left: 1px solid var(--ak-border);
}

.ak-value-card {
    min-height: 260px;
    padding: 34px;
    border-right: 1px solid var(--ak-border);
    border-bottom: 1px solid var(--ak-border);
    background: var(--ak-white);
}

.ak-value-card > span {
    color: var(--ak-gold);
    font-family: Georgia, "Times New Roman", serif;
    font-size: .82rem;
}

.ak-value-card h3 {
    margin: 34px 0 13px;
    font-size: 1.5rem;
}

.ak-value-card p {
    margin: 0;
    color: var(--ak-muted);
    font-size: .94rem;
}

.ak-image-statement {
    padding: 90px 0;
    background: var(--ak-charcoal);
    color: var(--ak-white);
}

.ak-image-statement .ak-eyebrow {
    color: var(--ak-gold-light);
}

.ak-image-statement blockquote {
    max-width: 970px;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 3.6rem);
    font-weight: 400;
    line-height: 1.18;
}

/* Practice Areas */

.ak-practice-detail-list {
    border-top: 1px solid var(--ak-border);
}

.ak-practice-detail {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 40px;
    padding: 48px 0;
    border-bottom: 1px solid var(--ak-border);
    scroll-margin-top: 120px;
}

.ak-practice-detail__number {
    color: var(--ak-gold);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1rem;
}

.ak-practice-detail h2 {
    margin: 0;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.ak-practice-detail p {
    max-width: 790px;
    margin: 15px 0 0;
    color: var(--ak-muted);
}

.ak-practice-note,
.ak-client-principle {
    padding: 85px 0;
    background: var(--ak-ivory);
}

.ak-practice-note__inner,
.ak-client-principle__inner {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 90px;
    align-items: end;
}

.ak-practice-note h2,
.ak-client-principle h2 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.35rem);
    line-height: 1.12;
}

.ak-practice-note__inner > p,
.ak-client-principle__inner > p {
    margin: 0;
    color: var(--ak-muted);
}

/* Team */

.ak-team-grid {
    display: grid;
    gap: 32px;
}

.ak-team-card {
    display: grid;
    grid-template-columns: 315px minmax(0, 1fr);
    min-height: 410px;
    border: 1px solid var(--ak-border);
    background: var(--ak-white);
}

.ak-team-card__portrait {
    min-height: 410px;
}

.ak-team-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(
            145deg,
            rgba(155,130,49,.08),
            rgba(155,130,49,.25)
        ),
        var(--ak-ivory);
}

.ak-team-card__placeholder span {
    color: var(--ak-gold-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 6rem;
    letter-spacing: -.08em;
}

.ak-team-card__body {
    padding: 48px 52px;
}

.ak-team-card__role {
    margin: 0 0 8px;
    color: var(--ak-gold-dark);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.ak-team-card__body h2 {
    margin: 0;
    font-size: 2.4rem;
}

.ak-team-card__credentials {
    margin: 8px 0 23px;
    color: var(--ak-muted);
    font-family: Georgia, "Times New Roman", serif;
}

.ak-team-card__body > p:not(.ak-team-card__role):not(.ak-team-card__credentials) {
    color: var(--ak-muted);
}

.ak-team-photo-note {
    margin-top: 20px;
    color: var(--ak-muted);
    font-size: .82rem;
    font-style: italic;
}

/* Client Care */

.ak-care-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--ak-border);
    border-left: 1px solid var(--ak-border);
}

.ak-care-card {
    min-height: 310px;
    padding: 34px;
    border-right: 1px solid var(--ak-border);
    border-bottom: 1px solid var(--ak-border);
}

.ak-care-card > span {
    color: var(--ak-gold);
    font-family: Georgia, "Times New Roman", serif;
    font-size: .82rem;
}

.ak-care-card h3 {
    margin: 35px 0 14px;
    font-size: 1.45rem;
}

.ak-care-card p {
    margin: 0;
    color: var(--ak-muted);
    font-size: .93rem;
}

/* Contact */

.ak-contact-offices {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.ak-office-card {
    min-height: 390px;
    padding: 40px;
    border: 1px solid var(--ak-border);
    background: var(--ak-white);
}

.ak-office-card--gold {
    border-color: var(--ak-gold);
    background: var(--ak-gold);
    color: var(--ak-white);
}

.ak-office-card__label {
    margin: 0 0 18px;
    color: var(--ak-gold-dark);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.ak-office-card--gold .ak-office-card__label {
    color: rgba(255,255,255,.75);
}

.ak-office-card h2 {
    margin: 0 0 24px;
    font-size: 2rem;
}

.ak-office-card address {
    color: var(--ak-muted);
    font-style: normal;
    line-height: 1.8;
}

.ak-office-card--gold address,
.ak-office-card--gold p {
    color: rgba(255,255,255,.85);
}

.ak-office-card__links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    margin-top: 24px;
}

.ak-office-card__links a {
    text-decoration: none;
    font-family: Georgia, "Times New Roman", serif;
}

.ak-office-card__links a:hover {
    color: var(--ak-gold-dark);
}

.ak-office-card--gold .ak-office-card__links a:hover {
    color: var(--ak-white);
    text-decoration: underline;
}

.ak-office-hours {
    margin-top: 28px;
}

.ak-contact-form-section {
    padding: 100px 0;
    background: var(--ak-ivory);
}

.ak-contact-form-layout {
    display: grid;
    grid-template-columns: .75fr 1.25fr;
    gap: 90px;
    align-items: start;
}

.ak-contact-form-copy h2 {
    margin: 0;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    line-height: 1.08;
}

.ak-contact-form-copy > p:not(.ak-eyebrow) {
    margin-top: 23px;
    color: var(--ak-muted);
}

.ak-contact-notice {
    margin-top: 30px;
    padding: 18px 20px;
    border-left: 2px solid var(--ak-gold);
    background: rgba(255,255,255,.65);
    color: var(--ak-muted);
    font-size: .85rem;
}

.ak-contact-form-wrap {
    padding: 42px;
    border: 1px solid var(--ak-border);
    background: var(--ak-white);
    box-shadow: var(--ak-shadow);
}

.ak-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.ak-field {
    margin-bottom: 20px;
}

.ak-field label {
    display: block;
    margin-bottom: 7px;
    color: var(--ak-charcoal);
    font-size: .78rem;
    font-weight: 700;
}

.ak-field label span {
    color: var(--ak-gold-dark);
}

.ak-field input,
.ak-field select,
.ak-field textarea {
    width: 100%;
    border: 1px solid #d8d3c7;
    border-radius: 0;
    outline: 0;
    background: var(--ak-white);
    color: var(--ak-charcoal);
}

.ak-field input,
.ak-field select {
    height: 49px;
    padding: 0 14px;
}

.ak-field textarea {
    min-height: 175px;
    padding: 13px 14px;
    resize: vertical;
}

.ak-field input:focus,
.ak-field select:focus,
.ak-field textarea:focus {
    border-color: var(--ak-gold);
    box-shadow: 0 0 0 2px rgba(155,130,49,.10);
}

.ak-form-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.ak-form-message {
    margin-bottom: 24px;
    padding: 16px 18px;
    font-size: .9rem;
}

.ak-form-message--success {
    border-left: 3px solid #567348;
    background: #eef5ea;
}

.ak-form-message--error {
    border-left: 3px solid #9b4b3e;
    background: #f8ece9;
}

/* Inner CTA */

.ak-inner-cta {
    padding: 72px 0;
    background: var(--ak-charcoal);
    color: var(--ak-white);
}

.ak-inner-cta .ak-eyebrow {
    color: var(--ak-gold-light);
}

.ak-inner-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.ak-inner-cta h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.2rem);
}

/* Inner page responsive */

@media (max-width: 900px) {
    .ak-about-story,
    .ak-team-support,
    .ak-practice-note__inner,
    .ak-client-principle__inner,
    .ak-contact-form-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .ak-care-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ak-contact-offices {
        grid-template-columns: 1fr 1fr;
    }

    .ak-office-card--gold {
        grid-column: 1 / -1;
    }

    .ak-team-card {
        grid-template-columns: 240px minmax(0, 1fr);
    }
}

@media (max-width: 680px) {
    .ak-inner-hero {
        min-height: 460px;
        background-position: 60% center;
    }

    .ak-inner-hero__content {
        width: 100%;
        padding: 75px 0;
    }

    .ak-inner-hero h1 {
        font-size: clamp(2.7rem, 13vw, 4rem);
    }

    .ak-inner-section,
    .ak-contact-form-section {
        padding: 76px 0;
    }

    .ak-value-grid,
    .ak-care-grid,
    .ak-contact-offices {
        grid-template-columns: 1fr;
    }

    .ak-office-card--gold {
        grid-column: auto;
    }

    .ak-practice-detail {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 38px 0;
    }

    .ak-team-card {
        grid-template-columns: 1fr;
    }

    .ak-team-card__portrait {
        min-height: 230px;
    }

    .ak-team-card__body {
        padding: 34px 28px;
    }

    .ak-contact-form-wrap {
        padding: 28px 22px;
    }

    .ak-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .ak-inner-cta__inner {
        display: block;
    }

    .ak-inner-cta .ak-button {
        margin-top: 28px;
    }
}


/* Google reCAPTCHA v2 */

.ak-recaptcha {
    margin: 4px 0 24px;
    overflow: hidden;
}

.ak-recaptcha .g-recaptcha {
    transform-origin: left top;
}

@media (max-width: 390px) {
    .ak-recaptcha {
        width: 272px;
        height: 70px;
    }

    .ak-recaptcha .g-recaptcha {
        transform: scale(.89);
    }
}


/* ==========================================================
   Contact Form Presentation Refinement R1
   ========================================================== */

.ak-contact-form-wrap {
    border-radius: 5px;
}

.ak-contact-form,
.ak-contact-form input,
.ak-contact-form select,
.ak-contact-form textarea,
.ak-contact-form button {
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;
}

.ak-field label {
    color: var(--ak-charcoal);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .025em;
    line-height: 1.4;
}

.ak-field input,
.ak-field select,
.ak-field textarea {
    border-radius: 5px;
    color: var(--ak-charcoal);
    font-size: .95rem;
    line-height: 1.5;
}

.ak-field input,
.ak-field select {
    padding-right: 14px;
    padding-left: 14px;
}

.ak-field textarea {
    padding: 13px 14px;
}

.ak-field input::placeholder,
.ak-field textarea::placeholder {
    color: #969188;
}

.ak-field select {
    cursor: pointer;
}

.ak-contact-form .ak-button {
    border-radius: 5px;
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;
    font-size: .76rem;
    letter-spacing: .08em;
}


/* GICT Systems footer credit */

.ak-footer-meta {
    text-align: right;
}

.ak-powered-by {
    display: block;
    margin-top: 5px;
}

.ak-powered-by a {
    color: var(--ak-gold-light);
    font-weight: 600;
    text-decoration: none;
}

.ak-powered-by a:hover,
.ak-powered-by a:focus {
    color: var(--ak-white);
    text-decoration: underline;
}

@media (max-width: 680px) {
    .ak-footer-meta {
        margin-top: 8px;
        text-align: left;
    }
}
