.inner-page {
    background: #fffaf2;
}
.inner-heading {
    text-align: center;
    padding: 42px 5% 34px;
    background: url("research-background-v2.png") center 35% / cover;
}
.inner-heading h1 {
    font:
        400 clamp(35px, 4.4vw, 64px)/1.08 Georgia,
        serif;
    margin: 12px 0 16px;
    color: #65100f;
}
.inner-heading > p:not(.eyebrow) {
    font-size: 17px;
    color: #806443;
    margin: 0;
}
.inner-heading .eyebrow {
    font-size: 11px;
    letter-spacing: 2px;
}
.inner-shell {
    max-width: 1110px;
    margin: auto;
    padding: 42px 6% 55px;
}
.inner-sections {
    display: grid;
    gap: 22px;
}
.inner-sections article {
    padding: 26px 30px;
    background: #fffdf8;
    border: 1px solid #e8d7bd;
    border-radius: 10px;
}
.inner-sections h2 {
    font:
        400 28px/1.15 Georgia,
        serif;
    margin-bottom: 15px;
}
.inner-sections p {
    font:
        16px/1.75 Arial,
        sans-serif;
    color: #65594f;
    margin: 0;
}
.inner-portrait {
    width: 280px;
    max-height: 325px;
    object-fit: cover;
    float: left;
    margin: 0 28px 22px 0;
    border-radius: 10px;
}
.inner-cta {
    margin-top: 28px;
    padding: 28px;
    background: #f1e4cf;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.inner-cta h2 {
    font-size: 27px;
    margin: 0;
}
.inner-service-art {
    height: 180px;
    border-radius: 10px;
    margin-bottom: 25px;
    background-position: center;
    background-size: cover;
    mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
}
.vastu-consultation {
    background-image: url("vastu.webp");
}
.astrology-consultation {
    background-image: url("planets.webp");
}
.fee-note {
    display: flex;
    align-items: center;
    gap: 22px;
    background: #65100f;
    color: #fff1d9;
    padding: 22px 27px;
    border-radius: 10px;
    margin-bottom: 25px;
}
.fee-note strong {
    font:
        35px Georgia,
        serif;
}
.fee-note span {
    font-size: 14px;
    line-height: 1.5;
}
.contact-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
    margin: 25px 0;
}
.contact-actions > a {
    padding: 22px 15px;
    border: 1px solid #ddc29d;
    border-radius: 9px;
    background: #f6ead5;
    overflow-wrap: anywhere;
}
.contact-actions small {
    display: block;
    font-size: 12px;
    color: #987345;
    margin-bottom: 9px;
}
.contact-actions strong {
    font-size: 16px;
    color: #65100f;
}
.enquiry-shell {
    max-width: 820px;
    margin: 35px auto 50px;
    padding: 30px;
    background: #fffdf8;
    border: 1px solid #e2cbae;
    border-radius: 12px;
    box-shadow: 0 12px 35px #77512d0c;
}
.enquiry-shell label {
    display: block;
    font:
        500 14px/1.4 Arial,
        sans-serif;
    color: #614936;
    margin-bottom: 8px;
}
.enquiry-shell input:not([type="checkbox"]),
.enquiry-shell select,
.enquiry-shell textarea {
    width: 100%;
    border: 1px solid #dac7ad;
    border-radius: 6px;
    padding: 12px;
    font-size: 16px;
    min-height: 46px;
    background: #fffdfa;
    color: #43372c;
}
.enquiry-shell input:focus,
.enquiry-shell select:focus,
.enquiry-shell textarea:focus {
    outline: 2px solid #b6873b66;
    outline-offset: 1px;
}
.enquiry-consent {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
}
.enquiry-consent input {
    margin-top: 4px;
    flex-shrink: 0;
}
.enquiry-help {
    font-size: 13px;
    line-height: 1.5;
    color: #88705a;
    margin: 20px 0 15px;
}
.enquiry-shell .alert {
    font-size: 15px;
    line-height: 1.5;
}
@media (max-width: 767px) {
    .inner-heading {
        padding: 30px 6%;
    }
    .inner-heading h1 {
        font-size: 37px;
    }
    .inner-shell {
        padding: 28px 5%;
    }
    .inner-sections article {
        padding: 22px;
    }
    .inner-sections h2 {
        font-size: 25px;
    }
    .inner-portrait {
        float: none;
        width: 100%;
        max-height: 400px;
        margin: 0 0 25px;
    }
    .inner-cta {
        display: block;
        padding: 23px;
    }
    .inner-cta .btn {
        margin-top: 18px;
    }
    .contact-actions {
        grid-template-columns: 1fr;
    }
    .enquiry-shell {
        margin: 25px 5% 35px;
        padding: 22px;
    }
    .fee-note {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* Internal content aligns with the main site's five-percent gutters. */
.inner-shell {
    width: 90%;
    max-width: none;
    margin: 0 auto;
    padding: 36px 0 48px;
}
.inner-heading {
    padding-left: 5%;
    padding-right: 5%;
}
.inner-sections {
    gap: 19px;
}
.inner-sections article {
    padding: 26px 30px;
}
.founder-profile-grid {
    display: grid;
    grid-template-columns: minmax(280px, 30%) minmax(0, 1fr);
    gap: 34px;
    align-items: start;
}
.founder-profile-visual {
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid #e1c9a7;
    background: #f4e9d7;
}
.founder-profile-visual .inner-portrait {
    display: block;
    float: none;
    width: 100%;
    height: auto;
    max-height: 510px;
    margin: 0;
    border-radius: 0;
    aspect-ratio: 817/941;
    object-fit: cover;
}
.founder-profile-caption {
    padding: 23px 26px;
    text-align: center;
}
.founder-profile-caption h2 {
    font-size: 32px;
    margin: 0 0 9px;
}
.founder-profile-caption p {
    font-size: 14px;
    color: #8c6737;
    margin: 0 0 16px;
}
.founder-profile-caption span {
    display: block;
    padding-top: 16px;
    border-top: 1px solid #dfc8a5;
    font-size: 14px;
    line-height: 1.6;
    color: #725d46;
}
.founder-profile-content .inner-sections {
    gap: 0;
    border: 1px solid #e6d3b8;
    border-radius: 12px;
    background: #fffdf8;
    padding: 4px 30px;
}
.founder-profile-content .inner-sections article {
    border: 0;
    border-radius: 0;
    padding: 24px 0;
    background: transparent;
}
.founder-profile-content .inner-sections article + article {
    border-top: 1px solid #eadbc7;
}
.founder-profile-action {
    margin-top: 20px;
    display: flex;
    justify-content: flex-start;
}
.founder-profile-action .btn {
    padding: 13px 24px;
    min-height: 47px;
}
.contact-intro-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    margin-bottom: 28px;
    padding: 28px 32px;
    background: #f3e6d1;
    border-radius: 12px;
}
.contact-intro-bar .eyebrow {
    font-size: 10px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}
.contact-intro-bar h2 {
    font-size: 32px;
    margin: 0 0 10px;
}
.contact-intro-bar p:not(.eyebrow) {
    font-size: 15px;
    line-height: 1.5;
    color: #7d6650;
    margin: 0;
}
.contact-main-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    flex-shrink: 0;
}
.office-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}
.office-card {
    display: flex;
    flex-direction: column;
    padding: 28px 32px;
    background: #fffdf8;
    border: 1px solid #e0c7a3;
    border-radius: 12px;
    box-shadow: 0 8px 24px #72512907;
}
.office-card-title {
    display: flex;
    align-items: center;
    gap: 17px;
    margin-bottom: 22px;
}
.office-pin {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid #d9b784;
    background: #f7eddc;
    flex-shrink: 0;
}
.office-pin svg {
    width: 25px;
    height: 25px;
    color: #a16e32;
}
.office-card-title .eyebrow {
    font-size: 10px;
    letter-spacing: 1.6px;
    margin: 0 0 7px;
}
.office-card-title h2 {
    font-size: 29px;
    line-height: 1.1;
    margin: 0;
}
.office-card address {
    font:
        16px/1.7 Arial,
        sans-serif;
    color: #625343;
    margin: 0 0 16px;
    max-width: 95%;
}
.office-person {
    font-size: 13px;
    line-height: 1.5;
    color: #95713e;
    margin: 0 0 17px;
}
.office-info {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 23px;
    border-top: 1px solid #e9d9c3;
    padding: 17px 0;
    font-size: 14px;
}
.office-info > a {
    color: #65100f;
}
.office-info > span {
    color: #947855;
}
.office-directions {
    align-self: flex-start;
    border: 1px solid #b9925a;
    border-radius: 5px;
    padding: 9px 17px;
    font-size: 13px;
    color: #815823;
    margin-top: auto;
}
.office-directions:hover {
    background: #f2e3cc;
    color: #65100f;
}
.office-visit-note {
    text-align: center;
    font-size: 13px;
    line-height: 1.5;
    color: #8a7157;
    margin: 25px 0 0;
}
@media (min-width: 1600px) {
    .founder-profile-grid {
        grid-template-columns: 28% minmax(0, 1fr);
        gap: 44px;
    }
    .inner-sections p {
        font-size: 18px;
    }
    .inner-sections h2 {
        font-size: 32px;
    }
}
@media (max-width: 991px) {
    .founder-profile-grid {
        grid-template-columns: 30% minmax(0, 1fr);
        gap: 24px;
    }
    .founder-profile-content .inner-sections {
        padding: 0 24px;
    }
    .founder-profile-caption {
        padding: 20px 15px;
    }
    .founder-profile-caption h2 {
        font-size: 27px;
    }
    .contact-intro-bar {
        display: block;
    }
    .contact-main-buttons {
        margin-top: 20px;
    }
    .office-card {
        padding: 24px;
    }
}
@media (max-width: 767px) {
    .inner-shell {
        width: 90%;
        padding: 26px 0 35px;
    }
    .founder-profile-grid {
        grid-template-columns: 1fr;
        gap: 23px;
    }
    .founder-profile-visual {
        display: grid;
        grid-template-columns: 44% minmax(0, 1fr);
        align-items: center;
    }
    .founder-profile-visual .inner-portrait {
        height: 100%;
        max-height: 310px;
    }
    .founder-profile-caption h2 {
        font-size: 27px;
    }
    .founder-profile-caption p,
    .founder-profile-caption span {
        font-size: 12px;
    }
    .founder-profile-action .btn {
        width: 100%;
    }
    .office-card-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .office-card-title h2 {
        font-size: 27px;
    }
    .contact-intro-bar {
        padding: 24px;
    }
    .contact-main-buttons .btn {
        flex: 1;
        font-size: 13px;
        padding: 11px;
    }
    .office-info {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
}

/* Larger reading text on internal desktop pages. */
@media (min-width: 992px) {
    .inner-sections p { font-size: 18px; }
    .contact-actions strong { font-size: 18px; }
    .enquiry-shell input:not([type="checkbox"]),
.enquiry-shell select,
.enquiry-shell textarea { font-size: 18px; }
    .office-card address { font-size: 18px; }
}
