/**
 * About page — Estatix-inspired (https://estatix.framer.website/)
 * Scoped to body.about-page-estatix
 */

body.about-page-estatix {
    background: #f7f7f5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.contact-page-estatix {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.about-jg-shell {
    padding: 0 !important;
    background-image: none !important;
    background-color: transparent !important;
}

.about-jg-shell > .sep-shadow {
    box-shadow: none !important;
}

/* ---------- Hero ---------- */
.about-jg-hero {
    position: relative;
    min-height: clamp(160px, 26vh, 280px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* Tight vertical rhythm: hero title + lead without large bands of empty space */
    padding: clamp(0.75rem, 2vw, 1.2rem) var(--jg-site-pad-x) clamp(0.85rem, 2.2vw, 1.35rem);
    background: linear-gradient(180deg, #eceae6 0%, #f7f7f5 55%, #f7f7f5 100%);
    border-bottom: 1px solid rgba(20, 20, 20, 0.06);
}

.about-jg-hero__inner {
    max-width: 44rem;
    margin: 0 auto;
}

.about-jg-eyebrow {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #6b6b6b;
    margin: 0 0 0.4rem;
}

.about-jg-hero__title {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.65rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.06;
    color: #152a45;
    margin: 0 0 0.4rem;
}

/* Match precious/semi catalog hero title scale (jg-gems-catalog-hero__title) */
body.contact-page-estatix .about-jg-hero .about-jg-hero__title {
    font-size: clamp(1.5rem, 4vw, 2.15rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.08;
}

.about-jg-hero__lead {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.58;
    color: #3f3f46;
    margin: 0;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

.about-jg-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
    margin-top: clamp(0.75rem, 2.5vw, 1.15rem);
}

.about-jg-hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.35rem;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #141414;
    background: #fff;
    border: 1px solid rgba(20, 20, 20, 0.14);
    border-radius: 999px;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.about-jg-hero__btn:hover,
.about-jg-hero__btn:focus-visible {
    background: #f0eeea;
    border-color: rgba(20, 20, 20, 0.22);
    color: #141414;
}

.about-jg-hero__btn--primary {
    background: #141414;
    color: #f7f7f5;
    border-color: #141414;
}

.about-jg-hero__btn--primary:hover,
.about-jg-hero__btn--primary:focus-visible {
    background: #2a2a2a;
    border-color: #2a2a2a;
    color: #fff;
}

/* Astrology hub — service highlight cards */
#astro-rate-table {
    scroll-margin-top: 5.5rem;
}

.astro-jg-highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    max-width: var(--jg-site-content-max, 72rem);
    margin: 0 auto;
    padding: clamp(0.65rem, 2vw, 1.1rem) var(--jg-site-pad-x, 1.25rem) 0;
}

.astro-jg-highlight-card {
    background: #fff;
    border: 1px solid rgba(20, 20, 20, 0.08);
    border-radius: 12px;
    padding: 1.25rem 1.35rem;
    box-shadow: 0 1px 0 rgba(20, 20, 20, 0.04);
}

.astro-jg-highlight-card__title {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #141414;
    margin: 0 0 0.5rem;
    line-height: 1.25;
}

.astro-jg-highlight-card__text {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 0.875rem;
    line-height: 1.55;
    color: #3f3f46;
    margin: 0;
}

a.astro-jg-highlight-card {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

a.astro-jg-highlight-card:hover,
a.astro-jg-highlight-card:focus-visible {
    border-color: rgba(20, 20, 20, 0.18);
    box-shadow: 0 4px 20px rgba(20, 20, 20, 0.06);
}

.astro-jg-highlight-card--rates .astro-jg-highlight-card__cta {
    display: inline-block;
    margin-top: 0.85rem;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #374151;
}

/* ---------- Introduction body ---------- */
.about-jg-body {
    padding: clamp(1.5rem, 3.5vw, 2.5rem) var(--jg-site-pad-x) clamp(2rem, 4.5vw, 3.25rem);
    background: #f7f7f5;
}

.about-jg-container {
    max-width: var(--jg-site-content-max);
    margin: 0 auto;
}

.about-jg-kicker {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #8a8a8a;
    margin: 0 0 0.45rem;
}

.about-jg-h2 {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: clamp(1.45rem, 2.9vw, 1.95rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.12;
    color: #141414;
    margin: 0 0 clamp(0.65rem, 1.75vw, 1rem);
    max-width: 22ch;
}

.about-jg-split {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: clamp(1.25rem, 3vw, 1.75rem);
    column-gap: clamp(2rem, 5vw, 3.5rem);
    align-items: start;
}

@media (min-width: 900px) {
    .about-jg-split {
        grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
        grid-template-rows: auto auto 1fr;
        column-gap: 3.5rem;
        row-gap: 0;
        align-items: start;
    }

    /* Heading row: title (col 1) + portrait top (col 2) share one row so tops align */
    .about-jg-split__kicker {
        grid-column: 1;
        grid-row: 1;
    }

    .about-jg-split__title {
        grid-column: 1;
        grid-row: 2;
    }

    .about-jg-split__body {
        grid-column: 1;
        grid-row: 3;
    }

    .about-jg-split__portrait {
        grid-column: 2;
        grid-row: 2 / -1;
        align-self: start;
    }
}

.about-jg-portrait {
    margin: 0;
    border-radius: 20px;
    overflow: hidden;
    background: #e8e6e2;
    border: 1px solid rgba(20, 20, 20, 0.06);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 24px 48px -20px rgba(15, 23, 42, 0.18);
    /* Kill stray gap under replaced content in some browsers */
    line-height: 0;
}

.about-jg-portrait img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center center;
    vertical-align: middle;
}

/* Photo area 5px shorter than 4:5 — crops top/bottom slightly to hide edge artifacts */
@supports (container-type: inline-size) {
    .about-jg-portrait {
        container-type: inline-size;
    }

    .about-jg-portrait img {
        max-height: calc(125cqi - 5px);
    }
}

.about-jg-portrait figcaption {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.45;
    color: #141414;
    padding: 1rem 1.25rem 1.25rem;
    text-align: center;
    background: #fff;
    border-top: 1px solid rgba(20, 20, 20, 0.06);
}

.about-jg-portrait__sub {
    display: block;
    margin-top: 0.45rem;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.45;
    color: rgba(20, 20, 20, 0.62);
    letter-spacing: 0.01em;
}

/* Keep role line + “Authentic Gems Provider” on separate lines (mobile + desktop) */
.about-jg-portrait__sub-line1,
.about-jg-portrait__sub-line2 {
    display: block;
}

.about-jg-portrait__sub-line2 {
    margin-top: 0.2rem;
}

/* ---------- Scroll reveal (Framer-style blur + rise) ---------- */
.about-jg-animate-zone .about-jg-reveal-item {
    opacity: 0;
    transform: translateY(1.35rem);
    filter: blur(10px);
    transition:
        opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.85s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--ar-delay, 0ms);
    will-change: opacity, transform, filter;
}

.about-jg-animate-zone.is-inview .about-jg-reveal-item {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
    .about-jg-animate-zone .about-jg-reveal-item {
        opacity: 1;
        transform: none;
        filter: none;
        transition: none;
    }
}

.about-jg-narrative {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.about-jg-line {
    font-size: 1.0625rem;
    line-height: 1.72;
    color: #27272a;
    margin: 0 0 1.25rem;
    max-width: 52rem;
}

.about-jg-line strong {
    font-weight: 700;
    color: #0f172a;
}

.about-jg-line:last-of-type {
    margin-bottom: 0;
}

/* ---------- Social row ---------- */
.about-jg-connect {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(20, 20, 20, 0.08);
}

.about-jg-connect__label {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8a8a8a;
    margin: 0 0 1rem;
}

.about-jg-social {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    /* About page: keep socials in a horizontal row */
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
    justify-content: flex-start;
}

/* Contact: three equal-width chips; extra space between icon and label */
.contact-estatix-connect .about-jg-social {
    flex-wrap: nowrap;
    width: 100%;
}

.contact-estatix-connect .about-jg-social > li {
    flex: 1 1 0;
    min-width: 0;
}

.contact-estatix-connect .about-jg-social__btn {
    width: 100%;
    justify-content: flex-start;
    align-items: center;
    gap: 1.05rem;
    box-sizing: border-box;
}

.about-jg-social__btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 0.45rem 0.85rem 0.45rem 0.45rem;
    border-radius: 12px;
    text-decoration: none;
    color: #141414;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1.2;
    background: #fff;
    border: 1px solid rgba(20, 20, 20, 0.1);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.about-jg-social__btn:hover {
    background: #fafaf9;
    border-color: rgba(20, 20, 20, 0.14);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
    color: #141414;
}

.about-jg-social__btn:focus-visible {
    outline: 2px solid #141414;
    outline-offset: 2px;
}

.about-jg-social__icon {
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, filter 0.2s ease;
}


.about-jg-social__btn:hover .about-jg-social__icon {
    transform: scale(1.04);
    filter: brightness(1.05);
}

.about-jg-social__btn--yt .about-jg-social__icon {
    background: linear-gradient(165deg, #ff0000 0%, #c40000 100%);
}

.about-jg-social__btn--ig .about-jg-social__icon {
    background: linear-gradient(
        45deg,
        #f09433 0%,
        #e6683c 25%,
        #dc2743 50%,
        #cc2366 75%,
        #bc1888 100%
    );
}

.about-jg-social__btn--fb .about-jg-social__icon {
    background: linear-gradient(165deg, #1877f2 0%, #0e5ecf 100%);
}

.about-jg-social__btn--mail .about-jg-social__icon {
    background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 45%, #6366f1 100%);
}

.about-jg-social__icon svg {
    width: 1.05rem;
    height: 1.05rem;
    display: block;
}

.about-jg-social__icon .fa {
    font-size: 1.05rem;
    line-height: 1;
}

.about-jg-social__handle {
    font-weight: 500;
    color: inherit;
}

.about-jg-social__handle--email {
    word-break: break-word;
}

/* Astrology long-form subpages — restrained accent palette (primary / gem / teal / slate) */
.jg-astro-subpage {
    --jg-astro-h1: #2d4d8e;
    --jg-astro-h2: #135d8c;
    --jg-astro-h3: #1a6b62;
    --jg-astro-h4: #4a5f7a;
}

/* Gems & gems therapy article (gems-therapy.html, research.html) */
.jg-gems-therapy-article {
    text-align: left;
    max-width: var(--jg-site-content-max, 1100px);
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.jg-gems-therapy-article .contact-estatix-card-title,
.jg-malas-article .contact-estatix-card-title {
    margin-top: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 0.65rem;
    font-size: clamp(1.05rem, 2.4vw, 1.2rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.3;
    padding-left: 0.85rem;
    border-left: 3px solid var(--jg-astro-h1, #2d4d8e);
    color: #1a3352;
}

.jg-gems-therapy-article .contact-estatix-card-title:first-of-type,
.jg-malas-article .contact-estatix-card-title:first-of-type {
    margin-top: 0;
}

.jg-gems-therapy-article .contact-estatix-card-title:nth-of-type(4n + 2),
.jg-malas-article .contact-estatix-card-title:nth-of-type(4n + 2) {
    border-left-color: var(--jg-astro-h2, #135d8c);
    color: #124560;
}

.jg-gems-therapy-article .contact-estatix-card-title:nth-of-type(4n + 3),
.jg-malas-article .contact-estatix-card-title:nth-of-type(4n + 3) {
    border-left-color: var(--jg-astro-h3, #1a6b62);
    color: #14564f;
}

.jg-gems-therapy-article .contact-estatix-card-title:nth-of-type(4n),
.jg-malas-article .contact-estatix-card-title:nth-of-type(4n) {
    border-left-color: var(--jg-astro-h4, #4a5f7a);
    color: #3a4a5f;
}

.jg-research-dept {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #3d5a80;
    margin: -0.35rem 0 1.25rem !important;
}

.jg-gems-therapy-article p {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: clamp(0.9375rem, 2vw, 1.02rem);
    line-height: 1.65;
    color: rgba(20, 20, 20, 0.88);
    margin: 0 0 1rem;
}

.jg-gems-therapy-list {
    margin: 0 0 1.25rem;
    padding-left: 1.35rem;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: clamp(0.9375rem, 2vw, 1.02rem);
    line-height: 1.68;
    color: #27272a;
}

.jg-gems-therapy-list li {
    margin-bottom: 1.1rem;
}

.jg-gems-therapy-list li strong {
    display: block;
    margin-bottom: 0.35rem;
    color: #1e3d5c;
    font-weight: 600;
}

/* Range of Malas (range-of-malas.html) — compact catalogue list */
.jg-malas-article .jg-malas-intro {
    margin-bottom: 1.25rem;
}

.jg-malas-article .contact-estatix-card-title {
    margin-top: 0.25rem;
}

.jg-malas-article .jg-malas-intro strong {
    color: #2d4d8e;
    font-weight: 700;
}

.jg-mala-range-list {
    margin: 0 0 1.25rem;
    padding-left: 1.35rem;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: clamp(0.9375rem, 2vw, 1.02rem);
    line-height: 1.65;
    color: rgba(20, 20, 20, 0.88);
    list-style-type: decimal;
}

.jg-mala-range-list li {
    margin-bottom: 0.45rem;
    padding-left: 0.35rem;
}

.jg-mala-range-list li::marker {
    font-weight: 600;
    color: #4a5f7a;
}

.jg-gems-therapy-sig {
    margin-top: clamp(1.75rem, 4vw, 2.25rem);
    padding-top: 1.25rem;
    border-top: 1px solid rgba(20, 20, 20, 0.1);
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(20, 20, 20, 0.82);
}

.jg-gems-therapy-back {
    margin-top: 1.5rem !important;
    margin-bottom: 0 !important;
    font-size: 0.95rem;
}
