:root {
    /* Colors */
    --color-primary: #1a1625;
    /* Very deep indigo */
    --color-secondary: #2d1b4e;
    /* Deep purple */
    --color-tertiary: #9452ac;
    /* brighter purple */
    --color-accent: #c0c0c0;
    /* Silver */
    --color-gold: #ffba53;
    /* Elegant Gold */
    --color-paleBG: #e3cba8;
    --color-palerBG: #fff3e2;
    /* Pale background color */
    --color-bg: #0d0a14;
    /* Darkest indigo for background */
    --color-surface: #2c2040;
    /* Translucent purple for cards */
    --color-surface-hover: rgba(45, 27, 78, 0.7);
    --color-text: #f4f4f9;
    --color-text-muted: #b0aabf;

    /* Glows */
    --glow-purple: rgba(120, 60, 220, 0.5);
    --glow-gold: rgba(255, 186, 83, 0.4);
    --color-gold-dim: rgba(255, 186, 83, 0.35);

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    --type-h2-size: clamp(2.65rem, 5vw, 4rem);
    --type-h2-size-mobile: clamp(2.45rem, 12vw, 3.15rem);
    --type-h2-line: 1.08;
    --type-body-size: 1rem;
    --type-body-line: 1.55;
    --type-body-weight: 400;
    --type-lead-size: clamp(1.16rem, 1.8vw, 1.34rem);
    --type-lead-line: 1.5;
    --type-subtitle-size: clamp(1.02rem, 1.5vw, 1.14rem);
    --type-subtitle-line: 1.62;
    --type-small-size: 0.9rem;
    --type-small-line: 1.5;
    --type-caption-size: 0.8rem;
    --type-caption-line: 1.35;

    /* Animation */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.4s ease;
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

    /* Marquee */
    --marquee-width: 900px;
    --marquee-height: 60px;
    --marquee-elements-displayed: 4;
    --marquee-elements: 8;
    --marquee-element-width: calc(var(--marquee-width) / var(--marquee-elements-displayed));
    --marquee-animation-duration: 24s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    font-size: var(--type-body-size);
    line-height: var(--type-body-line);
    overflow-x: hidden;
    font-weight: var(--type-body-weight);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

/* Utilities */
.text-gradient {
    background: linear-gradient(135deg, var(--color-accent), #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gold {
    color: var(--color-gold);
}

.text-purple-light {
    color: var(--color-secondary);
}

.text-silver {
    color: var(--color-accent);
}

.dark-bg {
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-surface) 100%);
}

.text-center {
    text-align: center;
}

.glass {
    background: var(--color-surface);
    border: 1px solid rgba(192, 192, 192, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
}

h1,
h2,
h3,
h4,
h5,
.logo {
    font-family: var(--font-heading);
    font-weight: 400;
}

.section-title {
    font-size: var(--type-h2-size);
    margin-bottom: 1.5rem;
    font-weight: 400;
    line-height: var(--type-h2-line);
    letter-spacing: 0;
}

.section-subtitle {
    font-size: var(--type-subtitle-size);
    line-height: var(--type-subtitle-line);
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto 3rem;
    font-weight: 400;
}

.lead-text {
    font-size: var(--type-lead-size);
    line-height: var(--type-lead-line);
    font-family: var(--font-heading);
    margin-bottom: 1.5rem;
    color: var(--color-accent);
    font-weight: 600;
}

p {
    font-size: var(--type-body-size);
    line-height: var(--type-body-line);
    font-weight: var(--type-body-weight);
}

@media (max-width: 640px) {

    main .section-title,
    main .astro-heading {
        font-size: var(--type-h2-size-mobile);
        line-height: var(--type-h2-line);
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-normal);
    border: 1px solid transparent;
    border-radius: 4px;
}

.btn-primary {
    background-color: var(--color-gold);
    color: var(--color-bg);
    border-color: var(--color-gold);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--color-gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

/* Auto-scrolling Banner ==============================================================
=======================================================================================*/


.banner {

    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    position: relative;
    justify-content: center;
    background:
        linear-gradient(90deg, #12091f, rgba(37, 22, 58, 0.98) 20%, rgba(37, 22, 58, 0.98) 80%, #12091f);
    border-top: 2px solid rgb(135 106 74);
    border-bottom: 2px solid rgb(135 106 74);
    box-shadow: inset 0 3px 7px rgb(13 10 18 / 69%), 0 -6px 13px rgb(111 67 8 / 21%);
}

.banner-label {
    font-family: var(--font-heading);
    color: var(--soft-gold);
    font-size: 1.2rem;
    text-align: center;
    padding: 0 1rem;
    white-space: nowrap;
}

.marquee {
    width: var(--marquee-width);
    height: var(--marquee-height);
    color: #eee;
    overflow: hidden;
    position: relative;
    margin-bottom: 1rem;
    overflow: hidden;
    mask-image: linear-gradient(90deg,
            transparent,
            black 12%,
            black 88%,
            transparent);
}

.marquee-content {
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%;
    display: flex;
    animation: scrolling var(--marquee-animation-duration) linear infinite;
}

@keyframes scrolling {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-1 * var(--marquee-element-width) * var(--marquee-elements)));
    }
}

.marquee-content li {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    width: var(--marquee-element-width);
    max-height: 60px;
    white-space: nowrap;
    opacity: 0.9;
}

.marquee-content li img {
    height: 40px;
}

@media (max-width: 600px) {

    :root {
        --marquee-width: 100vw;
        --marquee-elements-displayed: 3;
    }

    .marquee:before,
    .marquee:after {
        width: 5rem;
    }

    .banner-label {
        padding: 0 0.65rem;
        font-size: 1.05rem;
    }

}


/* About Section =======================================================================
=======================================================================================*/


.about {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.92) 0%, rgba(243, 234, 216, 0.64) 36%, transparent 68%), linear-gradient(90deg, #efe8d7 0%, #ffffff 71%, #ccb99a 100%);
    color: var(--color-primary);
    width: 100vw;
    padding: 3rem 0 0 256px;
}

.about-edge {
    position: absolute;
    left: 0;
    width: 100%;
    height: 26px;
    pointer-events: none;
    z-index: 20;
    background:
        repeating-linear-gradient(90deg, rgba(120, 100, 72, 0.14) 0 1px, transparent 1px 96px),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 5px),
        linear-gradient(180deg, #fff8e9 0%, #e8dcc3 22%, #cdbb97 52%, #f1e8d4 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.55);
    border-bottom: 1px solid rgba(122, 94, 48, 0.35);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.65),
        inset 0 -1px 0 rgba(110, 82, 42, 0.22),
        0 8px 18px rgba(0, 0, 0, 0.18);
}

.about-edge--top {
    top: 0;
    transform: translateY(-50%);
}

.about-edge--bottom {
    bottom: 0;
    transform: translateY(50%) rotate(180deg);
}


.about::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    background: url('images/about-column.png') top center / 100% 100% no-repeat;
    pointer-events: none;
    width: 256px;
    left: 0;
}

.about-container {
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;

}

.about .section-title {
    margin-bottom: 0;
    color: var(--deep-indigo);
}

.about-divider {
    justify-content: flex-start;
    width: min(100%, 360px);
    margin: 1.2rem 0 2rem;
}

.about-divider .divider-line {
    width: 44%;
}

.about-text .lead-text {
    color: #3a254f;
    font-weight: 600;
}

.about-text p {
    margin-bottom: 1.35rem;
    color: rgba(26, 22, 37, 0.86);
}

.about-image img {
    display: block;
}

.about-facts {
    position: relative;
    z-index: 5;
    display: grid;
    max-width: 1200px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-top: clamp(2.5rem, 5vw, 4rem);
    margin: 2rem auto 3rem;
    padding: 0 1rem 0 0;
}

.about-fact {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    min-height: 104px;
    padding: 0.9rem;
    border: 2px solid transparent;
    border-radius: 8px;
    background:
        linear-gradient(#fffaf0, #f8edd9) padding-box,
        linear-gradient(120deg, var(--antique-gold), var(--soft-gold), rgba(255, 255, 255, 0.8), var(--antique-gold)) border-box;
    box-shadow:
        0 12px 24px rgba(93, 67, 35, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.about-fact img {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    object-fit: contain;
}

.about-fact p {
    margin: 0;
    color: var(--deep-indigo);
    font-family: var(--font-heading);
    font-size: var(--type-small-size);
    line-height: var(--type-small-line);
}

.about-fact strong {
    display: block;
    color: var(--deep-indigo);
    font-size: 1.04rem;
    font-weight: 600;
    line-height: 1.18;
}

.more-link {
    color: var(--deep-indigo);
    background: linear-gradient(180deg, rgba(255, 255, 255, .74), rgba(245, 238, 220, .56));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 52px;
    font-family: var(--font-heading);
    font-size: 1.08rem;
    font-weight: 400;
    border: solid 1px var(--antique-gold);
    border-radius: 8px;
    text-align: center;
    padding: 0.75rem 1.5rem;
    margin-top: 0.35rem;
    box-shadow: 2px 3px 8px 0 rgb(169 149 123 / 42%);
    cursor: pointer;
}

.more-link:hover,
.more-link:focus-visible {
    color: var(--deep-indigo);
    background: linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(227, 199, 121, .42));
    border-color: rgba(199, 157, 75, 0.9);
}

.story-modal {
    width: min(650px, calc(100vw - 32px));
    padding: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    margin: auto;
    background:
        linear-gradient(155deg, rgba(255, 255, 255, 0.98), rgba(243, 234, 216, 0.96)) padding-box,
        linear-gradient(135deg, var(--antique-gold), var(--soft-gold), #fff7d7, var(--antique-gold)) border-box;
    color: var(--color-primary);
    box-shadow:
        0 24px 60px rgba(7, 11, 24, 0.48),
        0 0 0 1px rgba(255, 255, 255, 0.34) inset;
}

.story-modal::backdrop {
    background: rgba(7, 11, 24, 0.72);
    backdrop-filter: blur(3px);
}

.story-modal__content {
    position: relative;
    display: flex;
    flex-direction: column;
    max-height: inherit;
    padding: 2.5rem;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 8%, rgba(227, 199, 121, 0.24), transparent 34%),
        radial-gradient(circle at 92% 92%, rgba(31, 127, 209, 0.12), transparent 32%);
}

.story-modal__header {
    position: relative;
    flex: 0 0 auto;
}

.story-modal__close {
    position: absolute;
    top: -16px;
    right: -16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(199, 157, 75, 0.76);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.68);
    color: var(--deep-indigo);
    cursor: pointer;
    font-size: 1.75rem;
    line-height: 1;
    box-shadow: 0 3px 10px rgba(169, 149, 123, 0.28);
}

.story-modal__close:hover,
.story-modal__close:focus-visible {
    background: var(--soft-gold);
}

.story-modal h2 {
    margin: 0 52px 0 0;
    color: var(--deep-indigo);
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.1;
}

.story-modal__body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding-right: 10px;
}

.story-modal p {
    margin-bottom: 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.55;
}

.story-modal p:last-child {
    margin-bottom: 0;
}


@media (max-width: 1180px) {

    .about-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1080px) {

    .about {
        padding: 4rem 1rem 1rem 1rem;
    }

    .about::before,
    .about::after {
        display: none;
    }

    .about-container {
        width: 100%;
        max-width: 900px;
        margin: 0 auto;
        flex-direction: column;
        gap: 2.5rem;
        text-align: center;
    }

    .about-text {
        max-width: 680px;
        margin: 0 auto;
    }

    .about-divider {
        justify-content: center;
        margin-right: auto;
        margin-left: auto;
    }

    .about-image-frame {
        width: min(82vw, 360px);
    }
}

@media (max-width: 600px) {

    .about {
        padding-top: 5.25rem;
    }

    .about-container {
        padding: 0 1.25rem;
        gap: 2rem;
    }

    .more-link {
        width: 100%;
        max-width: 320px;
    }

    .about-facts {
        grid-template-columns: 1fr;
        padding: 0 1.25rem;
        gap: 0.75rem;
    }

    .about-fact {
        min-height: 94px;
    }

    .about-image img {
        width: 100%;
    }

    .story-modal::backdrop {
        min-height: 100svh;
    }

    @supports (height: 100dvh) {
        .story-modal::backdrop {
            height: 100dvh;
        }
    }

    .story-modal {
        width: calc(100vw - 32px);
        max-height: calc(100svh - 32px);
        overflow: hidden;
    }

    .story-modal__content {
        max-height: calc(100svh - 32px);
        padding: 1.5rem;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .story-modal__body {
        overflow: visible;
        padding-right: 0;
    }
}

@supports (-webkit-touch-callout: none) {
    @media (max-width: 600px) {
        .story-modal-panel {
            max-height: calc(100dvh - 32px);
            overflow-y: auto;
            -webkit-overflow-scrolling: touch;
        }
    }
}

.about-dianne {
    position: relative;
    isolation: isolate;
}

.about-dianne::before,
.about-dianne::after {
    content: "✦";
    position: absolute;
    left: 50%;
    width: min(760px, calc(100% - 2rem));
    height: 24px;
    transform: translateX(-50%);
    color: rgba(199, 157, 75, 0.9);
    font-size: 0.8rem;
    line-height: 24px;
    text-align: center;
    pointer-events: none;
    z-index: 10;
    text-shadow: 0 0 12px rgba(199, 157, 75, 0.35);
    background:
        linear-gradient(90deg, transparent 0%, rgba(199, 157, 75, 0.45) 38%, transparent 38%, transparent 62%, rgba(199, 157, 75, 0.45) 62%, transparent 100%) center / 100% 1px no-repeat,
        linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.24) 38%, transparent 38%, transparent 62%, rgba(255, 255, 255, 0.24) 62%, transparent 100%) center 3px / 100% 1px no-repeat;
}

.about-dianne::before {
    top: 0;
    transform: translate(-50%, -50%);
}

.about-dianne::after {
    bottom: 0;
    transform: translate(-50%, 50%);
}

/* What is Astrology =======================================================================
=======================================================================================*/


.astrology {
    --astro-bg: #070916;
    --astro-panel: rgba(18, 19, 42, 0.88);
    --astro-card: rgba(30, 31, 58, 0.3);
    --astro-gold: #c8a24c;
    --astro-gold-soft: #e4cc7a;
    --astro-ivory: #f4ecdc;
    --astro-muted: rgba(244, 236, 220, 0.72);
    --astro-border: rgba(200, 162, 76, 0.32);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(4.5rem, 7vw, 7rem) 0;
    background:
        radial-gradient(circle at 14% 38%, rgba(91, 58, 162, 0.2), transparent 28rem),
        radial-gradient(circle at 85% 8%, rgba(200, 162, 76, 0.13), transparent 35rem),
        radial-gradient(circle at 88% 86%, rgba(85, 43, 130, 0.24), transparent 28rem),
        linear-gradient(180deg, var(--astro-bg) 0%, #080b1d 48%, #060711 100%);
}

.astrology::before,
.astrology::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.astrology::before {
    z-index: 0;
    height: min(42rem, 42%);
    background:
        linear-gradient(180deg, rgba(7, 9, 22, 0.12), rgba(7, 9, 22, 0.78)),
        url('images/background.webp') center top / cover no-repeat;
    opacity: 0.62;
    transform: scaleX(-1);
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 46%, rgba(0, 0, 0, 0.68) 70%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 46%, rgba(0, 0, 0, 0.68) 70%, transparent 100%);
}

.astrology::after {
    z-index: 0;
    background:
        linear-gradient(90deg, transparent, rgba(200, 162, 76, 0.12), transparent) top / 100% 1px no-repeat,
        linear-gradient(90deg, transparent, rgba(200, 162, 76, 0.12), transparent) bottom / 100% 1px no-repeat;
}


.astrology .container {
    position: relative;
    z-index: 1;
    overflow: visible;
    max-width: 1200px;
    padding: clamp(4rem, 7vw, 6.5rem) clamp(1.5rem, 5vw, 5rem) clamp(3.2rem, 6vw, 5.2rem);
    border: 1px solid var(--astro-border);
    border-radius: 0;

}

.astrology-shell::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -5rem;
    right: -11rem;
    width: min(760px, 72vw);
    aspect-ratio: 1;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 50% 50%, rgba(200, 162, 76, 0.2), transparent 58%),
        url('images/astrology-wheel-outer.svg'),
        url('images/astrology-wheel-inner.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size:
        100% 100%,
        contain,
        contain;
    filter: sepia(0.18) saturate(0.8) drop-shadow(0 0 26px rgba(200, 162, 76, 0.18));
    opacity: 1;
    -webkit-mask-image: linear-gradient(24deg, transparent 44%, rgba(0, 0, 0, 0.2) 100%);
    mask-image: linear-gradient(24deg, transparent 44%, rgba(0, 0, 0, 0.2) 100%);
    transform-origin: 50% 50%;
}

.astrology-shell::after {
    content: "";
    position: absolute;
    inset: 0.62rem;
    pointer-events: none;
    border: 1px solid rgba(200, 162, 76, 0.18);
    background:
        linear-gradient(var(--astro-gold), var(--astro-gold)) top left / 62px 1px no-repeat,
        linear-gradient(var(--astro-gold), var(--astro-gold)) top left / 1px 62px no-repeat,
        linear-gradient(var(--astro-gold), var(--astro-gold)) top right / 62px 1px no-repeat,
        linear-gradient(var(--astro-gold), var(--astro-gold)) top right / 1px 62px no-repeat,
        linear-gradient(var(--astro-gold), var(--astro-gold)) bottom left / 62px 1px no-repeat,
        linear-gradient(var(--astro-gold), var(--astro-gold)) bottom left / 1px 62px no-repeat,
        linear-gradient(var(--astro-gold), var(--astro-gold)) bottom right / 62px 1px no-repeat,
        linear-gradient(var(--astro-gold), var(--astro-gold)) bottom right / 1px 62px no-repeat;
    opacity: 0.64;
}

.astrology-content {
    position: relative;
    z-index: 1;
    max-width: 920px;
    margin: 0 auto;
    color: var(--astro-muted);
}


.astrology-content::before {
    top: clamp(-5.6rem, -6vw, -3.4rem);
}

.astrology-content::after {
    bottom: clamp(-3.6rem, -4vw, -2.1rem);
}

.astrology-content p {
    color: var(--astro-muted);
    font-family: var(--font-body);
}


.astrology-content h3 {
    color: var(--astro-ivory);
}

.astrology .text-gradient {
    background: linear-gradient(135deg, #fff8ea 0%, var(--astro-ivory) 54%, var(--astro-gold-soft) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.astro-heading {
    position: relative;
    width: fit-content;
    margin: 0 auto 0.65rem;
    color: var(--astro-ivory);
    font-family: var(--font-heading);
    letter-spacing: 0;
    text-shadow: 0 18px 46px rgba(0, 0, 0, 0.48);
}

.astrology .divider {
    max-width: 350px;
    min-height: 22px;
    margin: 0.9rem auto 1.15rem;
    gap: 0.45rem;
}

.astrology .divider-line {
    width: 100%;
    background: linear-gradient(90deg, transparent, var(--astro-gold), transparent);
    opacity: 0.72;
}

.astrology .divider-star {
    flex-basis: 20px;
    width: 20px;
    height: 20px;
    background-color: var(--astro-gold-soft);
    filter: drop-shadow(0 0 8px rgba(228, 204, 122, 0.42));
}

.astro-intro {
    max-width: 760px;
    margin: 0 auto clamp(1.35rem, 3vw, 2rem);
    color: rgba(244, 236, 220, 0.82);
    font-size: var(--type-subtitle-size);
    line-height: var(--type-subtitle-line);
}

.astro-thesis {
    position: relative;
    max-width: 700px;
    margin: 3rem auto;
    padding: clamp(1.35rem, 2.4vw, 2rem) clamp(1.5rem, 4vw, 3rem);
    border: 1px solid rgba(200, 162, 76, 0.46);
    border-radius: 18px;
    background:
        radial-gradient(circle at 92% 20%, rgba(244, 236, 220, 0.06), transparent 8rem),
        linear-gradient(180deg, rgba(19, 18, 30, 0.88), rgba(15, 15, 29, 0.92));
    box-shadow:
        inset 0 0 0 1px rgba(228, 204, 122, 0.18),
        inset 0 0 36px rgba(200, 162, 76, 0.07),
        0 20px 50px rgba(0, 0, 0, 0.28);
    color: var(--astro-ivory);
    font-family: var(--font-heading);
    font-size: var(--type-lead-size);
    line-height: var(--type-lead-line);
}

.astro-thesis::before {
    content: "";
    position: absolute;
    inset: 0.3rem;
    pointer-events: none;
    border: 1px solid rgba(200, 162, 76, 0.26);
    border-radius: 14px;
    background:
        linear-gradient(var(--astro-gold), var(--astro-gold)) top left / 38px 1px no-repeat,
        linear-gradient(var(--astro-gold), var(--astro-gold)) top left / 1px 38px no-repeat,
        linear-gradient(var(--astro-gold), var(--astro-gold)) top right / 38px 1px no-repeat,
        linear-gradient(var(--astro-gold), var(--astro-gold)) top right / 1px 38px no-repeat,
        linear-gradient(var(--astro-gold), var(--astro-gold)) bottom left / 38px 1px no-repeat,
        linear-gradient(var(--astro-gold), var(--astro-gold)) bottom left / 1px 38px no-repeat,
        linear-gradient(var(--astro-gold), var(--astro-gold)) bottom right / 38px 1px no-repeat,
        linear-gradient(var(--astro-gold), var(--astro-gold)) bottom right / 1px 38px no-repeat;
    opacity: 0.62;
}

.astro-thesis::after {
    content: "";
    position: absolute;
    top: -15px;
    left: 50%;
    width: 26px;
    height: 26px;
    transform: translateX(-50%);
    background-color: var(--astro-gold-soft);
    -webkit-mask: url('images/star.svg') center / contain no-repeat;
    mask: url('images/star.svg') center / contain no-repeat;
    filter: drop-shadow(0 0 8px rgba(228, 204, 122, 0.42));
}

.astro-bold {
    color: var(--astro-gold-soft);
    font-weight: 700;
    text-shadow: 0 0 16px rgba(200, 162, 76, 0.24);
}

/* Pillar Grid for the Sacred Language section */
.pillar-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.25rem, 2.4vw, 2rem);
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.pillar-item {
    position: relative;
    min-height: 172px;
    padding: 1rem;
    overflow: hidden;
    border: 1px solid rgba(200, 162, 76, 0.33);
    border-radius: 12px;
    background:
        radial-gradient(circle at 50% 0%, rgba(200, 162, 76, 0.11), transparent 9rem),
        linear-gradient(180deg, rgba(30, 31, 58, 0.78), rgba(16, 18, 40, 0.78));
    box-shadow:
        inset 0 0 0 1px rgba(228, 204, 122, 0.08),
        0 14px 32px rgba(0, 0, 0, 0.2);
    transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.pillar-item h4 {
    margin-bottom: 0.85rem;
    color: var(--astro-gold-soft);
    font-family: var(--font-heading);
    font-size: clamp(1.28rem, 2vw, 1.52rem);
    line-height: 1.2;
}

.pillar-item h4::after {
    content: "";
    display: block;
    width: 120px;
    height: 1px;
    margin: 0.7rem auto 0;
    background: linear-gradient(90deg, transparent, var(--astro-gold), transparent);
    opacity: 0.5;
}

.pillar-item p {
    color: var(--astro-muted);
    font-size: var(--type-small-size);
    line-height: var(--type-small-line);
}

.astro-text-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.4rem, 3vw, 2rem);
    align-items: stretch;
    margin-top: 5rem;
}

.astro-card {
    position: relative;
    overflow: hidden;
    min-height: 100%;
    padding: clamp(1.8rem, 3vw, 2.45rem);
    border: 1px solid rgba(200, 162, 76, 0.4);
    border-radius: 13px;
    background:
        radial-gradient(circle at 10% 0%, rgba(200, 162, 76, 0.1), transparent 12rem),
        linear-gradient(180deg, rgba(30, 31, 58, 0.1), var(--astro-card));
    box-shadow:
        inset 0 0 0 1px rgba(228, 204, 122, 0.08),
        inset 0 0 38px rgba(200, 162, 76, 0.035),
        0 22px 54px rgba(0, 0, 0, 0.24);
    transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.astro-card::before {
    content: "";
    position: absolute;
    inset: 0.1rem;
    pointer-events: none;
    border: 1px solid rgba(200, 162, 76, 0.11);
    border-radius: 10px;
    background:
        linear-gradient(var(--astro-gold), var(--astro-gold)) top left / 42px 1px no-repeat,
        linear-gradient(var(--astro-gold), var(--astro-gold)) top left / 1px 42px no-repeat,
        linear-gradient(var(--astro-gold), var(--astro-gold)) bottom right / 42px 1px no-repeat,
        linear-gradient(var(--astro-gold), var(--astro-gold)) bottom right / 1px 42px no-repeat;
    opacity: 0.45;
}

.astro-card h3 {
    display: flex;
    align-items: center;
    gap: 0.82rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(200, 162, 76, 0.32);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    line-height: 1.15;
}

.astro-card h3::before {
    content: "";
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border: 0;
    transform: none;
    background-color: var(--astro-gold-soft);
    -webkit-mask: url('images/star.svg') center / contain no-repeat;
    mask: url('images/star.svg') center / contain no-repeat;
    box-shadow:
        0 0 0 4px rgba(200, 162, 76, 0.08),
        0 0 16px rgba(200, 162, 76, 0.34);
}

.astro-card p {
    position: relative;
    z-index: 1;
    color: var(--astro-muted);
}

.astro-card p+p {
    margin-top: 1.18rem;
}

.sacred-language-pillars {
    position: relative;
    margin-top: 5rem;
    padding: clamp(1.45rem, 3vw, 2rem) 0 clamp(1.9rem, 4vw, 2.55rem);
    border-top: 1px solid rgba(200, 162, 76, 0.24);
    border-bottom: 1px solid rgba(200, 162, 76, 0.18);
    background: radial-gradient(circle at 50% 0%, rgba(200, 162, 76, 0.08), transparent 58%);
}

.sacred-language-pillars::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 50%;
    width: min(460px, 76%);
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, var(--astro-gold), transparent);
    box-shadow: 0 0 20px rgba(200, 162, 76, 0.36);
}

.sacred-language-pillars::after {
    content: "";
    position: absolute;
    top: -12px;
    left: 50%;
    width: 24px;
    height: 24px;
    transform: translateX(-50%);
    background-color: var(--astro-gold-soft);
    -webkit-mask: url('images/star.svg') center / contain no-repeat;
    mask: url('images/star.svg') center / contain no-repeat;
    filter: drop-shadow(0 0 8px rgba(228, 204, 122, 0.4));
}

.sacred-language-pillars h3 {
    margin-top: 1rem;
    margin-bottom: 0.65rem;
    color: var(--astro-ivory);
    font-family: var(--font-heading);
    font-size: clamp(1.9rem, 3vw, 2.35rem);
    line-height: 1.1;
}

.sacred-language-intro {
    max-width: 620px;
    margin: 0 auto;
    color: rgba(244, 236, 220, 0.76);
    font-size: var(--type-subtitle-size);
    line-height: var(--type-subtitle-line);
}

.astro-closing {
    position: relative;
    max-width: 730px;
    margin: 0.25rem auto 0;
    padding: 3rem clamp(1.5rem, 5vw, 4.5rem) 0;
    border-top: 1px solid rgba(200, 162, 76, 0.2);
    color: var(--astro-ivory);
    font-family: var(--font-heading);
    font-size: var(--type-lead-size);
    line-height: var(--type-lead-line);
    text-align: center;
}

.astro-closing::before,
.astro-closing::after {
    content: "";
    position: absolute;
    top: 3.5rem;
    width: 22px;
    height: 22px;
    background-color: var(--astro-gold-soft);
    -webkit-mask: url('images/star.svg') center / contain no-repeat;
    mask: url('images/star.svg') center / contain no-repeat;
    opacity: 0.72;
}

.astro-closing::before {
    left: 1rem;
}

.astro-closing::after {
    right: 1rem;
}

.astro-cta-wrap {
    position: relative;
    margin-top: clamp(1.1rem, 3vw, 1.55rem);
    margin-bottom: 2rem;

}

.astro-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.86rem 1.8rem;
    overflow: hidden;
    border: 1px solid rgba(63, 39, 13, 0.9);
    border-radius: 8px;
    background:
        linear-gradient(90deg,
            #7a5427 0%,
            #d9b56f 8%,
            #f0d99d 17%,
            #c18b3c 31%,
            #f3dda0 52%,
            #b77a2c 72%,
            #e7c879 88%,
            #7a4b1f 100%),
        var(--astro-gold);
    box-shadow:
        inset 0 1px 0 rgba(255, 239, 180, 0.5),
        inset 0 -1px 0 rgba(72, 40, 18, 0.52),
        0 10px 24px rgba(0, 0, 0, 0.28),
        0 0 22px rgba(200, 162, 76, 0.22);
    color: #24170d;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 1.4px;
    line-height: 1.2;
    text-shadow: 0 1px 0 rgba(255, 230, 165, 0.38);
    text-transform: uppercase;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), filter var(--transition-normal);
}

.astro-cta::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(110deg, transparent 0%, rgba(255, 244, 205, 0.24) 28%, transparent 48%, transparent 100%);
    transform: translateX(-28%);
    transition: transform 260ms ease;
}

@media (hover: hover) and (pointer: fine) {

    .astro-card:hover,
    .pillar-item:hover {
        transform: translateY(-4px);
        border-color: rgba(228, 204, 122, 0.5);
        box-shadow:
            inset 0 0 0 1px rgba(228, 204, 122, 0.1),
            0 26px 68px rgba(0, 0, 0, 0.28),
            0 0 30px rgba(200, 162, 76, 0.1);
    }

    .astro-cta:hover {
        transform: translateY(-2px);
        filter: brightness(1.05) contrast(1.02);
        box-shadow:
            inset 0 1px 0 rgba(255, 239, 180, 0.58),
            inset 0 -1px 0 rgba(72, 40, 18, 0.52),
            0 20px 48px rgba(200, 162, 76, 0.28),
            0 0 18px rgba(255, 204, 90, 0.22);
    }

    .astro-cta:hover::after {
        transform: translateX(22%);
    }
}


@media (max-width: 960px) {
    .astrology {
        padding: clamp(3rem, 7vw, 4.5rem) 0;
    }

    .astrology .container {
        border-radius: 0;
        padding: clamp(3.4rem, 8vw, 4.7rem) clamp(1.1rem, 5vw, 2.25rem) clamp(2.7rem, 7vw, 4rem);
    }

    .astrology-shell::before {
        top: -6.5rem;
        right: -5vw;
        width: 58vw;
        opacity: 1;
    }

    .astrology-shell::after {
        inset: 0.55rem;
    }

    .pillar-grid {
        grid-template-columns: 1fr;
        margin-top:2rem;
    }

    .astro-text-columns {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

@media (max-width: 640px) {
    .astrology .container {
        width: calc(100% - 1rem);
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .astrology-shell::before {
        top: -6.5rem;
        right: -5vw;
        width: 58vw;
        opacity: 1;
    }

    .astrology-shell::after {
        background:
            linear-gradient(var(--astro-gold), var(--astro-gold)) top left / 36px 1px no-repeat,
            linear-gradient(var(--astro-gold), var(--astro-gold)) top left / 1px 36px no-repeat,
            linear-gradient(var(--astro-gold), var(--astro-gold)) top right / 36px 1px no-repeat,
            linear-gradient(var(--astro-gold), var(--astro-gold)) top right / 1px 36px no-repeat,
            linear-gradient(var(--astro-gold), var(--astro-gold)) bottom left / 36px 1px no-repeat,
            linear-gradient(var(--astro-gold), var(--astro-gold)) bottom left / 1px 36px no-repeat,
            linear-gradient(var(--astro-gold), var(--astro-gold)) bottom right / 36px 1px no-repeat,
            linear-gradient(var(--astro-gold), var(--astro-gold)) bottom right / 1px 36px no-repeat;
    }

    .astro-heading {
        width: 100%;
        font-size: clamp(2.45rem, 12vw, 3.15rem);
    }

    .astrology .divider {
        max-width: 260px;
    }


    .astro-thesis {
        padding: 1.45rem 1rem;
        font-size: 1.18rem;
        margin-bottom:0;
    }

    .astro-card,
    .pillar-item {
        padding: 1.35rem;
    }

    .pillar-item {
        padding-top: 2rem;
    }

    .astro-card h3 {
        gap: 0.7rem;
        font-size: 1.45rem;
    }


    .pillar-item {
        min-height: auto;
    }

    .astro-closing {
        padding-right: 0;
        padding-left: 0;
        padding-top: 2rem;
    }

    .astro-closing::before,
    .astro-closing::after {
        display: none;
    }

    .astro-cta {
        width: 100%;
        max-width: 340px;
        letter-spacing: 0.9px;
    }
}

/* Services =======================================================================
=======================================================================================*/


.services {
    --services-ink: #24163f;
    --services-gold: #b98a38;
    --services-gold-soft: rgba(185, 138, 56, 0.34);
    --services-paper: #fff8ec;
    --services-paper-deep: #f3e4c9;
    --services-shadow: rgba(74, 46, 13, 0.13);
    padding: 7rem 1rem;
    position: relative;
    background: linear-gradient(90deg, #ccb99a 0%, #efe8d7 20%, #efe8d7 80%, #ccb99a 100%);
    overflow: hidden;
    isolation: isolate;
}


.services .container {
    position: relative;
    z-index: 1;
    width: min(1100px, calc(100% - 1.5rem));
    max-width: none;
    isolation: isolate;
    overflow: hidden;
    padding-top: 6rem;
    padding-bottom: 6rem;
    background: linear-gradient(90deg, var(--color-surface) 0%, #3d2e5a 50%, var(--color-surface) 100%);
    outline: 1px solid var(--color-secondary);
    outline-offset: 10px;
    box-shadow: inset 0 0 0 1px rgba(185, 138, 56, 0.33);
    border-radius: 8px;
}

.services .container::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 10%;
    width: 80%;
    aspect-ratio: 1;
    background: url('images/star.svg') center / contain no-repeat;
    filter: sepia(0.25) saturate(0.75) brightness(1.1);
    opacity: 0.08;
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    transform-origin: center;
}

.services .section-header {
    position: relative;
    z-index: 1;
    max-width: 960px;
    margin: 0 auto clamp(2.2rem, 5vw, 3.25rem);
}

.services .section-title {
    color: var(--color-paleBG);
    background: linear-gradient(135deg, #fff8ea 0%, #f4ecdc 54%, #e4cc7a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 18px 46px rgba(0, 0, 0, 0.48);
    margin-bottom: 1rem;
}



.services .section-subtitle {
    color: var(--color-paleBG);
    max-width: 720px;
    margin: 0 auto;
    font-family: var(--font-heading);
    opacity: 0.86;
}

.services-notes {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.85fr) minmax(0, 1fr);
    align-items: center;
    max-width: 880px;
    margin: clamp(1.6rem, 3.5vw, 2.3rem) auto 0;
    padding: 0.95rem 1.25rem;
    color: var(--color-paleBG);

    border: 1px solid rgba(185, 138, 56, 0.38);
    border-radius: 8px;
    box-shadow: 0 16px 38px rgba(74, 46, 13, 0.12);
}

.services-notes span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 2rem;
    padding: 0 1rem;
    font-family: var(--font-heading);
    font-size: var(--type-small-size);
    line-height: var(--type-small-line);
}

.services-notes span+span {
    border-left: 1px solid rgba(185, 138, 56, 0.45);
}

.services-grid-new {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 5rem;
}

.service-card-new {
    min-width: 0;
    padding: clamp(1.35rem, 2vw, 1.75rem);
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    height: 100%;
    position: relative;
    overflow: hidden;
    text-align: center;
    color: var(--services-ink);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 248, 236, 0.9)),
        var(--services-paper);
    border: 1px solid rgba(185, 138, 56, 0.36);
    border-radius: 8px;
    box-shadow: 0 12px 28px var(--services-shadow);
}

.service-card-new:hover {
    transform: translateY(-5px);
    border-color: rgba(185, 138, 56, 0.74);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 249, 239, 0.96)),
        var(--services-paper);
    box-shadow: 0 18px 36px rgba(74, 46, 13, 0.18);
}

.service-card-new::before {
    content: "";
    position: absolute;
    inset: 0.45rem;
    border: 1px solid rgba(185, 138, 56, 0.16);
    border-radius: 6px;
    pointer-events: none;
}

.service-card-primary {
    grid-column: 1 / -1;
    align-items: center;
    padding: clamp(2rem, 5vw, 3.6rem);
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.88), transparent 44%),
        linear-gradient(135deg, rgba(255, 250, 242, 0.98), rgba(248, 235, 214, 0.9));
    border: 1px solid rgba(185, 138, 56, 0.64);
    box-shadow: 0 20px 46px rgba(74, 46, 13, 0.17);
}

.service-card-primary::before {
    inset: 0.55rem;
    border: 2px solid rgba(185, 138, 56, 0.48);
}

.service-card-primary::after {
    content: "";
    position: absolute;
    inset: 0.9rem;
    border-radius: 6px;
    background:
        linear-gradient(90deg, rgba(185, 138, 56, 0.65), rgba(185, 138, 56, 0)) top left / 4.5rem 1px no-repeat,
        linear-gradient(180deg, rgba(185, 138, 56, 0.65), rgba(185, 138, 56, 0)) top left / 1px 4.5rem no-repeat,
        linear-gradient(270deg, rgba(185, 138, 56, 0.65), rgba(185, 138, 56, 0)) top right / 4.5rem 1px no-repeat,
        linear-gradient(180deg, rgba(185, 138, 56, 0.65), rgba(185, 138, 56, 0)) top right / 1px 4.5rem no-repeat,
        linear-gradient(90deg, rgba(185, 138, 56, 0.65), rgba(185, 138, 56, 0)) bottom left / 4.5rem 1px no-repeat,
        linear-gradient(0deg, rgba(185, 138, 56, 0.65), rgba(185, 138, 56, 0)) bottom left / 1px 4.5rem no-repeat,
        linear-gradient(270deg, rgba(185, 138, 56, 0.65), rgba(185, 138, 56, 0)) bottom right / 4.5rem 1px no-repeat,
        linear-gradient(0deg, rgba(185, 138, 56, 0.65), rgba(185, 138, 56, 0)) bottom right / 1px 4.5rem no-repeat;
    pointer-events: none;
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(3.2rem, 5vw, 4.4rem);
    height: clamp(3.2rem, 5vw, 4.4rem);
    margin: 0 0 0.2rem;
}

.service-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-tag {
    position: static;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin: 0 auto 0.25rem;
    color: #ffd65e;
    font-family: var(--font-body);
    font-size: 0.78rem;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 2.8px;
    font-weight: 400;
    background: linear-gradient(90deg, #222275, #3636a1, #222275);
    padding: 5px 50px;
    border-radius: 4px;
}

.service-tag span {
    color: #fff;
    font-weight: 600;
}

.service-title {
    color: var(--services-ink);
    font-size: clamp(1.28rem, 2vw, 1.5rem);
    line-height: 1.12;
    margin: 0;
}

.service-card-primary .service-title {
    max-width: 860px;
    margin: 0 auto;
    font-size: clamp(2.15rem, 5vw, 3.35rem);
}

.service-card-copy {
    position: relative;
    z-index: 1;
}

.service-1para {
    font-weight: 500;
    font-size: var(--type-body-size);
    color: var(--services-ink);
    margin: 0.85rem 0 0;
    line-height: var(--type-small-line);
    font-family: var(--font-heading);
}

.service-desc {
    color: var(--color-primary);
    opacity: 0.8;
    font-size: var(--type-small-size);
    line-height: var(--type-small-line);
    margin: 0.55rem 0 0;
    flex-grow: 1;
}

.service-card-primary .service-1para,
.service-card-primary .service-desc {
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

.service-highlights {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(760px, 100%);
    margin: 1rem auto 3rem;
    color: var(--services-ink);
    font-family: var(--font-heading);
    font-size: clamp(0.92rem, 1.3vw, 1.05rem);
}

.service-highlights li {
    min-width: 0;
    padding: 0 1rem;
    line-height: 1.35;
}

.service-highlights li+li {
    border-left: 1px solid rgba(185, 138, 56, 0.48);
}

.service-link {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.4rem;
    min-width: 9.5rem;
    margin-top: auto;
    color: var(--services-ink);
    font-family: var(--font-heading);
    font-size: 0.98rem;
    letter-spacing: 0;
    font-weight: 500;
    border: 1px solid rgba(185, 138, 56, 0.52);
    border-radius: 5px;
    text-align: center;
    padding: 0.55rem 1.2rem;
    background: rgba(255, 248, 236, 0.76);
    box-shadow: 0 8px 18px rgba(74, 46, 13, 0.11);
}

.service-link::after {
    content: '';
    display: inline-block;
    width: 1rem;
    height: 1rem;
    margin-left: 0.9rem;
    background-color: var(--services-gold);
    -webkit-mask-image: url('./images/star.svg');
    mask-image: url('./images/star.svg');
    -webkit-mask-size: contain;
    mask-size: contain;
}

.service-link:hover {
    border-color: rgba(185, 138, 56, 0.82);
    background: #fffaf1;
}

.service-link-primary {
    min-width: min(19rem, 100%);
    min-height: 3.6rem;
    color: #fff8ec;
    border-color: rgba(255, 186, 83, 0.82);
    background: linear-gradient(180deg, #2d1b4e, #1b0f35);
    box-shadow:
        inset 0 0 0 1px rgba(255, 225, 160, 0.38),
        0 12px 22px rgba(45, 27, 78, 0.28),
        0 3px 0 rgba(108, 76, 23, 0.36);
    font-size: 1.18rem;
}

.service-link-primary:hover {
    color: #fff8ec;
    border-color: rgba(255, 203, 105, 1);
    background: linear-gradient(180deg, #35205e, #221242);
}

.service-card-gift {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(1.25rem, 4vw, 2.4rem);
    padding: clamp(1.5rem, 3vw, 2.2rem);
    text-align: left;
    background:
        linear-gradient(90deg, rgba(255, 250, 242, 0.98), rgba(248, 235, 214, 0.92)),
        var(--services-paper);
    border-color: rgba(185, 138, 56, 0.55);
}

.service-card-gift .service-icon {
    width: clamp(4.6rem, 8vw, 6.2rem);
    height: clamp(4.6rem, 8vw, 6.2rem);
    margin: 0;
}

.service-card-gift .service-title {
    font-size: clamp(1.8rem, 3vw, 2.45rem);
}

.service-card-gift .service-1para {
    margin-top: 0.55rem;
}

.service-card-gift .service-desc {
    max-width: 650px;
}

.service-card-gift .service-link-primary {
    min-width: min(17rem, 100%);
}

@media (min-width: 1025px) {
    .service-card-horary {
        grid-column: 2;
    }
}

@media (max-width: 1024px) {
    .services::before {
        right: -24rem;
        width: min(42rem, 92vw);
    }

    .services-notes {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .service-card-gift {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .service-card-gift .service-link-primary {
        grid-column: 1 / -1;
        justify-self: center;
    }

    .service-card-horary {
        grid-column: 1 / -1;
        justify-self: center;
        width: min(100%, 32rem);
    }

    .services .container::before {
        top: 9%;
        width: 116%;
    }
}

@media (max-width: 768px) {
    .services {
        padding: 4.5rem 0;
    }

    .services .container {
        width: min(1100px, calc(100% - 1rem));
    }

    .services::after {
        inset: 0.65rem;
    }

    .services::before {
        top: 7rem;
        right: -20rem;
        width: 36rem;
        opacity: 0.35;
    }

    .services-notes {
        grid-template-columns: 1fr;
        padding: 0.35rem 1rem;
        width: fit-content;
    }

    .services-notes span {
        padding: 0.7rem 0;
    }

    .services-notes span+span {
        border-left: 0;
        border-top: 1px solid rgba(185, 138, 56, 0.34);
    }

    .service-card-primary {
        padding: 2rem 1.2rem;
    }

    .service-tag {
        flex-wrap: wrap;
        gap: 0.45rem;
        letter-spacing: 2px;
    }

    .service-tag span::before {
        margin-right: 0.45rem;
    }

    .service-highlights {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .service-highlights li {
        padding: 0.7rem 0;
    }

    .service-highlights li+li {
        border-left: 0;
        border-top: 1px solid rgba(185, 138, 56, 0.34);
    }

    .service-link,
    .service-link-primary {
        width: min(100%, 19rem);
    }

    .service-card-gift {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .service-card-gift .service-link-primary {
        grid-column: auto;
    }

    .service-card-horary {
        grid-column: auto;
        width: 100%;
    }
}




/* FAQ =======================================================================
=======================================================================================*/

.faq {
    --faq-ink: #24163f;
    --faq-body: #5a4329;
    --faq-gold: #b98a38;
    --faq-gold-soft: rgba(185, 138, 56, 0.26);
    --faq-paper: #fff7e8;
    --faq-paper-deep: #efe1c8;
    position: relative;
    overflow: hidden;
    padding: clamp(5rem, 8vw, 7rem) 0;
    color: var(--faq-body);
    background:
        linear-gradient(90deg, #12091f 0%, rgba(37, 22, 58, 0.98) 20%, rgba(45, 27, 78, 0.95) 50%, rgba(37, 22, 58, 0.98) 80%, #12091f 100%);
    border-top: 1px solid rgba(185, 138, 56, 0.42);
    isolation: isolate;
}

.faq::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(185, 138, 56, 0.64), transparent);
    pointer-events: none;
}

.faq .container {
    position: relative;
    z-index: 1;
    width: min(1100px, calc(100% - 1.5rem));
    max-width: none;
    padding: clamp(2.8rem, 6vw, 4.8rem) clamp(1.1rem, 5vw, 4.2rem);
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.82), transparent 30rem),
        linear-gradient(90deg, #dcc9a7 0%, var(--faq-paper) 12%, #fffaf0 50%, var(--faq-paper) 88%, #dcc9a7 100%);
    border: 1px solid rgba(185, 138, 56, 0.48);
    border-radius: 8px;
    outline: 1px solid rgba(185, 138, 56, 0.55);
    outline-offset: 10px;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.36),
        0 24px 54px rgba(7, 3, 15, 0.32);
}

.faq .container::before {
    content: "";
    position: absolute;
    left: 50%;
    top: clamp(3rem, 7vw, 4.8rem);
    width: min(42rem, 88vw);
    aspect-ratio: 1;
    border: 1px solid rgba(185, 138, 56, 0.14);
    border-radius: 50%;
    background:
        linear-gradient(rgba(185, 138, 56, 0.11), rgba(185, 138, 56, 0.11)) 50% 0 / 1px 100% no-repeat,
        linear-gradient(90deg, rgba(185, 138, 56, 0.11), rgba(185, 138, 56, 0.11)) 0 50% / 100% 1px no-repeat,
        radial-gradient(circle, transparent 35%, rgba(185, 138, 56, 0.12) 35.4%, transparent 36%),
        radial-gradient(circle, transparent 61%, rgba(185, 138, 56, 0.1) 61.4%, transparent 62%);
    opacity: 0.42;
    pointer-events: none;
    transform: translateX(-50%);
    z-index: 0;
}

.faq-header,
.faq-accordion,
.faq-cta {
    position: relative;
    z-index: 1;
}

.faq-header {
    max-width: 760px;
    margin: 0 auto clamp(2.3rem, 5vw, 3.2rem);
}

.faq .section-title {
    color: var(--faq-ink);
    margin-bottom: 0.85rem;
}

.faq .section-subtitle {
    color: var(--faq-body);
    margin-bottom: 0;
}

.faq-divider {
    margin: 0 auto 1rem;
}

.faq-divider .divider-line {
    background: linear-gradient(90deg, transparent, rgba(185, 138, 56, 0.74), transparent);
}

.faq-accordion {
    width: min(920px, 100%);
    margin: 0 auto;
    display: grid;
    gap: 0.85rem;
}

.faq-item {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.64), rgba(255, 247, 232, 0.92)),
        var(--faq-paper);
    border: 1px solid rgba(185, 138, 56, 0.32);
    border-radius: 8px;
    box-shadow: 0 3px 7px rgba(74, 46, 13, 0.1);
}

.faq-item::before {
    content: "";
    position: absolute;
    inset: 0.42rem;
    border: 1px solid rgba(185, 138, 56, 0.12);
    border-radius: 6px;
    pointer-events: none;
}

.faq-item.is-open {
    border-color: rgba(185, 138, 56, 0.58);
    box-shadow: 0 18px 42px rgba(74, 46, 13, 0.14);
}

.faq-question-heading {
    margin: 0;
    font-family: var(--font-heading);
}

.faq-question {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 4.65rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.15rem clamp(1.1rem, 3vw, 1.55rem);
    color: var(--faq-ink);
    background: transparent;
    border: 0;
    cursor: pointer;
    text-align: left;
    font: inherit;
    font-size: var(--type-lead-size);
    line-height: var(--type-lead-line);
    letter-spacing: 0;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.28);
}

.faq-question:focus-visible {
    outline: 2px solid rgba(45, 27, 78, 0.74);
    outline-offset: -0.55rem;
}

.faq-indicator {
    position: relative;
    flex: 0 0 2.25rem;
    width: 2.25rem;
    height: 2.25rem;
    border: 1px solid var(--faq-gold-soft);
    border-radius: 50%;
    background: rgba(255, 250, 242, 0.82);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.faq-indicator::before,
.faq-indicator::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0.82rem;
    height: 1px;
    background: var(--faq-gold);
    transform: translate(-50%, -50%);
    transition: transform 0.22s ease, opacity 0.22s ease;
}

.faq-indicator::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-question[aria-expanded="true"] .faq-indicator::after {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(0deg);
}

.faq-answer {
    position: relative;
    z-index: 1;
    padding: 0 clamp(1.1rem, 3vw, 1.55rem) clamp(1.25rem, 3vw, 1.55rem);
}

.faq-answer::before {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, rgba(185, 138, 56, 0.62), transparent);
}

.faq-answer p {
    max-width: 760px;
    margin: 0;
    color: var(--faq-body);
    font-size: var(--type-small-size);
    line-height: var(--type-small-line);
}

.faq-cta {
    width: min(920px, 100%);
    margin: clamp(1.5rem, 4vw, 2.1rem) auto 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: clamp(1.1rem, 3vw, 1.35rem) clamp(1.15rem, 4vw, 1.75rem);
    color: var(--faq-ink);
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.7), rgba(248, 235, 214, 0.72)),
        var(--faq-paper-deep);
    border: 1px solid rgba(185, 138, 56, 0.42);
    border-radius: 8px;
    box-shadow: 0 14px 30px rgba(74, 46, 13, 0.1);
}

.faq-cta p {
    margin: 0;
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 2.4vw, 1.55rem);
    line-height: 1.2;
}

.faq-cta-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.9rem;
    padding: 0.65rem 1.1rem;
    color: #fff8ec;
    font-family: var(--font-heading);
    font-size: 1rem;
    line-height: 1.2;
    border: 1px solid rgba(255, 186, 83, 0.72);
    border-radius: 5px;
    background: linear-gradient(180deg, #2d1b4e, #1b0f35);
    box-shadow: inset 0 0 0 1px rgba(255, 225, 160, 0.24);
}

.faq-cta-link:hover,
.faq-cta-link:focus-visible {
    color: #fff8ec;
    border-color: rgba(255, 203, 105, 1);
    background: linear-gradient(180deg, #35205e, #221242);
}

.faq-cta-link:focus-visible {
    outline: 2px solid rgba(45, 27, 78, 0.62);
    outline-offset: 3px;
}

@media (max-width: 640px) {
    .faq {
        padding: 4.5rem 0;
    }

    .faq .container {
        width: min(1100px, calc(100% - 1rem));
        padding-top: 2.6rem;
        padding-bottom: 2.6rem;
        outline-offset: 5px;
    }

    .faq .container::before {
        top: 7rem;
        width: 34rem;
        max-width: 112vw;
    }

    .faq-question {
        min-height: 4rem;
        align-items: flex-start;
    }

    .faq-indicator {
        margin-top: 0.1rem;
    }

    .faq-cta {
        align-items: stretch;
        flex-direction: column;
        text-align: center;
    }

    .faq-cta-link {
        width: 100%;
    }
}




/* Testimonials =======================================================================
=======================================================================================*/


.testimonials {
    --testimonials-ink: #f8eedc;
    --testimonials-muted: #d8c8ae;
    --testimonials-gold: #c79d4b;
    --testimonials-gold-soft: rgba(199, 157, 75, 0.38);
    --testimonials-card: rgba(39, 25, 58, 0.72);
    overflow: hidden;
    position: relative;
    background-color: #090613;
    border-top: 1px solid rgba(199, 157, 75, 0.34);
    border-bottom: 1px solid rgba(199, 157, 75, 0.22);
    isolation: isolate;
}


.testimonials .container {
    position: relative;
    z-index: 1;
    background:
        linear-gradient(90deg, #090613 18%, #100941 50%, #090613 82%);
    padding: 6rem 0;
}

.testimonials-header {
    max-width: 760px;
    margin: 0 auto clamp(2rem, 4vw, 2.8rem);
    padding:0 1rem;
}

.testimonials .section-title {
    color: var(--testimonials-ink);
    margin-bottom: 0.75rem;
    text-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
}

.testimonials .section-subtitle {
    color: var(--testimonials-muted);
    margin-bottom: 0;
    font-family: var(--font-heading);
}

.testimonials-wrapper {
    position: relative;
    padding: 0.5rem 0 0;
}

.testimonials-wrapper::before,
.testimonials-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 1rem;
    width: min(5rem, 12vw);
    pointer-events: none;
    z-index: 2;
}

.testimonials-wrapper::before {
    left: 0;
    background: linear-gradient(90deg, #0b051d, transparent);
}

.testimonials-wrapper::after {
    right: 0;
    background: linear-gradient(270deg, #0b051d, transparent);
}

.testimonials-scroll {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    align-items: stretch;
    gap: clamp(1rem, 2.4vw, 1.6rem);
    padding: 0.5rem 0 1.35rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(199, 157, 75, 0.62) rgba(255, 248, 236, 0.08);
}

.testimonials-scroll::-webkit-scrollbar {
    height: 0.55rem;
}

.testimonials-scroll::-webkit-scrollbar-track {
    background: rgba(255, 248, 236, 0.08);
    border-radius: 999px;
}

.testimonials-scroll::-webkit-scrollbar-thumb {
    background: rgba(199, 157, 75, 0.62);
    border-radius: 999px;
}

.testimonial-card {
    flex: 0 0 clamp(21rem, 32vw, 27rem);
    min-height: 23rem;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    padding: clamp(2.3rem, 3.2vw, 3rem);
    color: var(--testimonials-ink);
    background: #1d1c41;
    border: 1px solid rgba(248, 238, 220, 0.16);
    border-radius: 8px;
    box-shadow:
        inset 0 0 0 1px rgba(199, 157, 75, 0.11),
        0 22px 48px rgba(0, 0, 0, 0.28);
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}


.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(199, 157, 75, 0.5);
    box-shadow:
        inset 0 0 0 1px rgba(199, 157, 75, 0.2),
        0 28px 56px rgba(0, 0, 0, 0.34),
        0 0 30px rgba(199, 157, 75, 0.12);
}

.test-text {
    position: relative;
    z-index: 1;
    font-family: var(--font-body);
    font-size: var(--type-lead-size);
    line-height: var(--type-lead-line);
    color: var(--testimonials-ink);
    font-weight: 100;
    margin: 0 0 2rem;
}

.test-author {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--testimonials-gold);
    text-transform: uppercase;
    letter-spacing: 1.6px;
    font-size: var(--type-caption-size);
    line-height: var(--type-caption-line);
    font-weight: 500;
}

.test-author::before {
    content: "";
    width: 2rem;
    height: 1px;
    background: linear-gradient(90deg, var(--testimonials-gold), transparent);
}

@media (max-width: 640px) {

    .testimonials-wrapper::before,
    .testimonials-wrapper::after {
        display: none;
    }

    .testimonials-scroll {
        gap: 1rem;
        padding-bottom: 1rem;
        scroll-padding-left: 0;
    }

    .testimonial-card {
        flex-basis: min(82vw, 24rem);
        min-height: 21rem;
        padding: 2.1rem 1.5rem 1.7rem;
    }
}




/* Learn Astrology Section =======================================================================
=======================================================================================*/


.learn-astrology {
    --learn-ink: #f4ecdc;
    --learn-body: rgba(244, 236, 220, 0.76);
    --learn-gold: #c8a24c;
    --learn-gold-soft: rgba(228, 204, 122, 0.42);
    --learn-panel: rgba(18, 19, 42, 0.72);
    --learn-panel-deep: rgba(9, 6, 19, 0.84);
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
    background:
        radial-gradient(circle at 50% -15%, rgb(84 72 119), #1f194100 39rem), linear-gradient(359deg, #1f1941 18%, #120f18 82%);
    border-top: 1px solid rgba(185, 138, 56, 0.36);
    isolation: isolate;
}

.learn-astrology::before {
    content: "";
    position: absolute;
    right: max(-9rem, -12vw);
    top: 2.2rem;
    width: min(33rem, 72vw);
    aspect-ratio: 1;
    border: 1px solid rgba(185, 138, 56, 0.14);
    border-radius: 50%;
    background:
        radial-gradient(circle, transparent 40%, rgba(185, 138, 56, 0.12) 40.4%, transparent 41%),
        radial-gradient(circle, transparent 64%, rgba(185, 138, 56, 0.1) 64.4%, transparent 65%),
        linear-gradient(rgba(185, 138, 56, 0.1), rgba(185, 138, 56, 0.1)) 50% 0 / 1px 100% no-repeat,
        linear-gradient(90deg, rgba(185, 138, 56, 0.1), rgba(185, 138, 56, 0.1)) 0 50% / 100% 1px no-repeat;
    opacity: 0.42;
    pointer-events: none;
    z-index: 0;
}

.learn-astrology::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(185, 138, 56, 0.58), transparent);
    pointer-events: none;
}

.learn-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
    position: relative;
    z-index: 1;
    min-width: 0;
}

.learn-image {
    position: relative;
    min-width: 0;
    padding: clamp(0.65rem, 1.4vw, 0.95rem);
    background:
        linear-gradient(180deg, rgba(244, 236, 220, 0.12), rgba(200, 162, 76, 0.08)),
        var(--learn-panel-deep);
    border: 1px solid var(--learn-gold-soft);
    border-radius: 8px;
    box-shadow:
        inset 0 0 0 1px rgba(244, 236, 220, 0.06),
        0 24px 58px rgba(0, 0, 0, 0.34),
        0 0 34px rgba(200, 162, 76, 0.1);
}

.learn-image::before {
    content: "";
    position: absolute;
    inset: 0.42rem;
    border: 1px solid rgba(228, 204, 122, 0.24);
    border-radius: 6px;
    pointer-events: none;
    z-index: 1;
}

.learn-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.32);
}

.learn-text {
    position: relative;
    min-width: 0;
    color: var(--learn-body);
    overflow: hidden;
}

.learn-text::before {
    content: "";
    position: absolute;
    right: -6rem;
    top: -6rem;
    width: 18rem;
    aspect-ratio: 1;
    border: 1px solid rgba(185, 138, 56, 0.14);
    border-radius: 50%;
    background:
        radial-gradient(circle, transparent 56%, rgba(185, 138, 56, 0.1) 56.4%, transparent 57%),
        linear-gradient(rgba(185, 138, 56, 0.1), rgba(185, 138, 56, 0.1)) 50% 0 / 1px 100% no-repeat,
        linear-gradient(90deg, rgba(185, 138, 56, 0.1), rgba(185, 138, 56, 0.1)) 0 50% / 100% 1px no-repeat;
    opacity: 0.5;
    pointer-events: none;
}

.learn-text .section-title {
    position: relative;
    color: var(--color-paleBG);
    background: linear-gradient(135deg, #fff8ea 0%, var(--learn-ink) 56%, #e4cc7a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    text-shadow: 0 18px 46px rgba(0, 0, 0, 0.48);
}

.learn-text p {
    position: relative;
    color: var(--learn-body);
    margin-bottom: 1.5rem;
}

.learn-text .lead-text {
    color: var(--learn-ink);
    max-width: 620px;
    text-shadow: 0 12px 34px rgba(0, 0, 0, 0.36);
}

.learn-topics {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin: 0.35rem 0 0;
}

.learn-topics li {
    display: inline-flex;
    align-items: center;
    min-height: 2.45rem;
    padding: 0.55rem 0.85rem;
    color: var(--learn-ink);
    font-family: var(--font-heading);
    font-size: var(--type-small-size);
    line-height: var(--type-small-line);
    background:
        linear-gradient(180deg, rgba(244, 236, 220, 0.1), rgba(30, 31, 58, 0.34)),
        var(--learn-panel);
    border: 1px solid var(--learn-gold-soft);
    border-radius: 5px;
    box-shadow:
        inset 0 0 0 1px rgba(244, 236, 220, 0.05),
        0 10px 24px rgba(0, 0, 0, 0.16);
}

.learn-topics li::before {
    content: "";
    flex: 0 0 0.85rem;
    width: 0.85rem;
    height: 0.85rem;
    margin-right: 0.55rem;
    background: var(--learn-gold);
    -webkit-mask: url('images/star.svg') center / contain no-repeat;
    mask: url('images/star.svg') center / contain no-repeat;
}

.learn-actions {
    position: relative;
    margin-top: 2.1rem;
}

.learn-inquiry-btn {
    min-height: 3.35rem;
    color: #fff8ec;
    border-color: rgba(255, 186, 83, 0.78);
    background: linear-gradient(180deg, #2d1b4e, #1b0f35);
    box-shadow:
        inset 0 0 0 1px rgba(255, 225, 160, 0.24),
        0 10px 20px rgba(45, 27, 78, 0.24);
}

.learn-inquiry-btn:hover,
.learn-inquiry-btn:focus-visible {
    color: #fff8ec;
    border-color: rgba(255, 203, 105, 1);
    background: linear-gradient(180deg, #35205e, #221242);
    box-shadow:
        inset 0 0 0 1px rgba(255, 225, 160, 0.32),
        0 14px 26px rgba(45, 27, 78, 0.3);
}

.learn-inquiry-btn:focus-visible {
    outline: 2px solid rgba(45, 27, 78, 0.64);
    outline-offset: 3px;
}

@media (max-width: 960px) {
    .learn-grid {
        grid-template-columns: 1fr;
        gap: 1.6rem;
    }

    .learn-text {
        order: 1;
    }

    .learn-image {
        order: 2;
    }
}

@media (max-width: 640px) {
    .learn-astrology {
        padding: 4.5rem 0;
    }

    .learn-text {
        padding: 1.75rem 1.15rem;
    }

    .learn-topics {
        gap: 0.5rem;
    }

    .learn-topics li {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .learn-actions {
        margin-top: 1.6rem;
    }

    .learn-inquiry-btn {
        width: 100%;
        text-align: center;
    }
}



/* Contact Form =======================================================================
=======================================================================================*/


#contact {
    padding: 8rem 0;
    background-image: radial-gradient(circle, var(--color-palerBG) 0%, var(--color-paleBG) 100%);
    border-top: #e3cba880 3px double;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
}

@media (max-width: 480px) {
    .contact-grid {
        gap: 2rem;
    }
}

.contact-text {
    color: var(--color-primary);
}

.contact-text .contact-info {
    margin-top: 2rem;
}

.contact-text .section-title {
    color: var(--color-secondary);
}

.contact-text .lead-text {
    color: var(--color-primary);
}

.contact-info li {
    margin-bottom: 0.5rem;
    color: var(--color-primary);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: var(--type-caption-size);
    line-height: var(--type-caption-line);
    opacity: 0.7;
}

.contact-info i {
    color: var(--color-tertiary);
    margin-top: 4px;
}

.contact-form-container {
    padding: 3rem;
    background-color: #fff8ee;
    border-radius: 8px;
    box-shadow: 2px 8px 20px 4px #decea9d9;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
    /* Anchor for floating error messages */
}

.form-group.row {
    display: grid;
    grid-template-columns: 1fr;
    /* Unified single column layout */
    gap: 1.5rem;
}

.form-section-title {
    color: var(--color-secondary);
    margin: 0 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(192, 192, 192, 0.1);
}

/* Smooth transition for Birth Details */
#birth-details-wrapper {
    background-color: #f2e9de;
    /* Slightly darker than #fff8ee */
    border-radius: 6px;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1),
        padding 0.6s cubic-bezier(0.4, 0, 0.2, 1),
        margin 0.6s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.4s ease;
}

#birth-details-wrapper.show {
    max-height: 600px;
    /* High enough to contain fields */
    padding: 1.5rem;
    margin: 1.5rem 0;
    opacity: 1;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: var(--type-caption-size);
    line-height: var(--type-caption-line);
    color: var(--color-primary);
    font-weight: 500;
}

input,
textarea,
select {
    display: block;
    width: 100%;
    background: #fff;
    border: 1px solid #bbb;
    padding: 0.8rem 1rem;
    color: var(--color-primary);
    border-radius: 4px;
    font-family: var(--font-body);
    transition: var(--transition-fast);
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--color-tertiary);
}

/* Success Check Mark */
.field-success-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #2ecc71;
    margin-left: 8px;
    font-size: 1rem;
    animation: fadeInSuccess 0.3s ease-out forwards;
}

@keyframes fadeInSuccess {
    from {
        opacity: 0;
        transform: scale(0.5);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Floating Error Messages */
.field-error-msg {
    position: absolute;
    bottom: calc(100% - 10px);
    right: 0;
    background-color: #e74c3c;
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    z-index: 20;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    pointer-events: none;
    max-width: 90%;
    animation: fadeInError 0.3s ease-out forwards;
}

.field-error-msg::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 15px;
    border: 6px solid transparent;
    border-top-color: #e74c3c;
}

@keyframes fadeInError {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

input[type="date"],
input[type="time"] {
    color-scheme: light;
}

.form-help {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: rgb(0, 0, 0);
}

.date-confirmation,
.time-confirmation {
    font-weight: 500;
    color: #55c15f;
}

.date-confirmation[hidden],
.time-confirmation[hidden] {
    display: none;
}

.btn-submit {
    width: 100%;
    margin-top: 1rem;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 4px;
    display: none;
    font-size: 0.9rem;
}

.form-message.success {
    display: block;
    background: rgba(46, 204, 113, 0.2);
    border: 1px solid #2ecc71;
    color: #2ecc71;
}

.form-message.error {
    display: block;
    background: rgba(231, 76, 60, 0.2);
    border: 1px solid #e74c3c;
    color: #e74c3c;
}

/* Modal System */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 10, 20, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    max-width: 500px;
    width: 90%;
    padding: 3.5rem 2.5rem;
    position: relative;
    text-align: center;
    transform: scale(0.85);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

#modal-icon-container {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

#modal-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

#modal-text {
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

body.modal-open {
    overflow: hidden;
}





/* Footer =======================================================================
=======================================================================================*/


.footer {
    border-top: 1px solid rgba(192, 192, 192, 0.1);
    padding: 4rem 0 2rem;
    background: #000;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-tagline {
    margin-top: 1rem;
    color: var(--color-text-muted);
}

.footer-nav h4,
.footer-social h4 {
    font-family: var(--font-heading);
    color: var(--color-text);
    margin-bottom: 1.5rem;
}

.footer-nav ul li {
    margin-bottom: 0.8rem;
}

.footer-nav a {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.footer-nav a:hover {
    color: var(--color-gold);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--color-surface);
    border-radius: 50%;
    color: var(--color-text);
}

.social-icons a:hover {
    background: var(--color-gold);
    color: var(--color-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(192, 192, 192, 0.1);
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
}

.scroll-top {
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scroll-top:hover {
    color: var(--color-gold);
}

.floating-top-button {
    position: fixed;
    right: clamp(1.25rem, 3vw, 2.5rem);
    bottom: clamp(1.25rem, 3vw, 2.5rem);
    z-index: 50;
    display: none;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border: 2px solid var(--antique-gold);
    border-radius: 50%;
    background: var(--deep-indigo);
    color: var(--soft-gold);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32);
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.floating-top-button i {
    font-size: 1.45rem;
    line-height: 1;
}

.floating-top-button:hover,
.floating-top-button:focus-visible {
    background: #182454;
    color: #f6e097;
}

.floating-top-button::after {
    content: attr(data-tooltip);
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    width: max-content;
    max-width: 220px;
    padding: 0.45rem 0.7rem;
    border: 1px solid var(--antique-gold);
    background: var(--deep-indigo);
    color: var(--soft-gold);
    font-family: var(--font-body);
    font-size: 0.78rem;
    line-height: 1.2;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
    opacity: 0;
    pointer-events: none;
    transform: translate(8px, -50%);
    transition: opacity 160ms ease, transform 160ms ease;
}

.floating-top-button:hover::after,
.floating-top-button:focus-visible::after {
    opacity: 1;
    transform: translate(0, -50%);
}

@media (min-width: 1081px) {
    .floating-top-button.is-visible {
        display: flex;
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }
}

/* Typography variants ================================================================ */

.astro-thesis,
.astro-closing,
.sacred-language-thesis {
    font-size: var(--type-lead-size);
    font-weight: 400;
    line-height: var(--type-lead-line);
}

.astro-intro:not(.lead-text),
.sacred-language-intro {
    font-size: var(--type-subtitle-size);
    font-weight: 400;
    line-height: var(--type-subtitle-line);
}

.test-author,
.contact-info li,
label,
.form-help,
.validation-tooltip,
.floating-top-button::after {
    font-size: var(--type-caption-size);
    line-height: var(--type-caption-line);
}




/* Animations Triggered by Scroll =======================================================================
=======================================================================================*/
.fade-up-element {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-slow);
}

.fade-up-element.visible {
    opacity: 1;
    transform: translateY(0);
}






/* Responsive =======================================================================
=======================================================================================*/
@media (max-width: 1024px) {

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

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

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

}

@media (min-width: 769px) and (max-width: 1024px) {
    .service-card-gift {
        grid-column: span 2;
    }
}




@media (max-width: 768px) {
    .services-grid-new {
        grid-template-columns: 1fr;
    }

    .form-group.row {
        grid-template-columns: 1fr;
    }

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

    .testimonials .testimonial-card {
        flex-basis: min(82vw, 25rem);
        min-width: 0;
    }

}

/* v2 Hero/Header Rebuild ==============================================================
=======================================================================================*/

:root {
    --midnight: #070b18;
    --deep-indigo: #111a3a;
    --antique-gold: #c79d4b;
    --soft-gold: #e3c779;
    --warm-ivory: #f3ead8;
    --inner-wheel-speed: 90s;
    --inner-wheel-direction: normal;
    --outer-wheel-speed: 180s;
    --outer-wheel-direction: reverse;
    --star-flash-speed: 0.8s;
    --hero-frame-max: 1900px;
    --hero-frame-half: 950px;
}

.header-hero-group {
    position: relative;
    overflow: clip;
    background: var(--midnight);
}

.hero {
    position: relative;
    height: 100vh;
    height: 100svh;
    min-height: 720px;
    max-height: 800px;
    overflow: clip;
    display: block;
    background: var(--midnight);
}

.hero-scene {
    position: relative;
    top: 0;
    height: 100%;
    overflow: hidden;
}

.hero-layer {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
}

.hero-layer--background {
    z-index: 1;
    background-image: url('images/background.webp');
}

.hero-layer--stars {
    z-index: 2;
    height: 34vh;
    overflow: hidden;
}

.sky-star {
    position: absolute;
    left: var(--star-x);
    top: var(--star-y);
    width: var(--star-size, 18px);
    aspect-ratio: 34 / 35;
    background: radial-gradient(circle, #fff 0%, #155cc7 100%);
    -webkit-mask: url('images/star.svg') center / contain no-repeat;
    mask: url('images/star.svg') center / contain no-repeat;
    filter: drop-shadow(0 0 10px rgba(81, 150, 241, 0.84));
    opacity: 0;
    animation: star-flash var(--star-duration, var(--star-flash-speed)) var(--star-delay, 0s) ease-in-out infinite;
    will-change: opacity, transform, filter;
}

.sky-star--1 {
    --star-x: 10%;
    --star-y: 18%;
    --star-size: 19px;
    --star-duration: 9.2s;
    --star-delay: -0.7s;
}

.sky-star--2 {
    --star-x: 24%;
    --star-y: 42%;
    --star-size: 15px;
    --star-duration: 6.8s;
    --star-delay: -2.8s;
}

.sky-star--3 {
    --star-x: 38%;
    --star-y: 17%;
    --star-size: 22px;
    --star-duration: 8.1s;
    --star-delay: -1.5s;
}

.sky-star--4 {
    --star-x: 57%;
    --star-y: 34%;
    --star-size: 16px;
    --star-duration: 7.9s;
    --star-delay: -4.3s;
}

.sky-star--5 {
    --star-x: 13%;
    --star-y: 33%;
    --star-size: 18px;
    --star-duration: 6.7s;
    --star-delay: -3.6s;
}

.sky-star--6 {
    --star-x: 38%;
    --star-y: 48%;
    --star-size: 14px;
    --star-duration: 5.2s;
    --star-delay: -0.9s;
}

.hero-layer--wheel {
    z-index: 3;
    width: 100vw;
    max-width: 1200px;
    height: 700px;
    margin: 0 auto;
    opacity: 0.15;
    mix-blend-mode: screen;
}

.wheel-ring {
    --wheel-x-offset: 0%;
    position: absolute;
    top: 50%;
    right: 0;
    width: min(100%, 913px);
    aspect-ratio: 1;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    transform: translate(var(--wheel-x-offset), -50%) rotate(0deg);
    transform-origin: center;
    will-change: transform;
}

.wheel-ring--inner {
    background-image: url('images/astrology-wheel-inner.svg');
    animation: wheel-spin var(--inner-wheel-speed) linear infinite var(--inner-wheel-direction);
}

.wheel-ring--outer {
    background-image: url('images/astrology-wheel-outer.svg');
    animation: wheel-spin var(--outer-wheel-speed) linear infinite var(--outer-wheel-direction);
}

.hero-layer--dianne {
    z-index: 4;
    width: 100vw;
    max-width: var(--hero-frame-max);
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    font-weight: 100;
    line-height: 1.6;
    background-image: url('images/dianne-hero.webp');
    background-size: contain;
    background-position: bottom right;
    background-repeat: no-repeat;
    pointer-events: auto;
}

.hero-layer--dianne::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    z-index: 0;
    pointer-events: none;
    transform: translateX(-50%);
    background:
        linear-gradient(90deg,
            rgba(7, 11, 24, 0.9) 0%,
            rgba(7, 11, 24, 0.66) 34%,
            rgba(7, 11, 24, 0.2) 58%,
            rgba(7, 11, 24, 0.03) 78%),
        linear-gradient(0deg, rgba(7, 11, 24, 0.48) 0%, transparent 34%);
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 575px;
    margin: clamp(1.4rem, 3vw, 2rem) 0 2rem clamp(1.5rem, 4vw, 4rem);
    padding: 0;
    text-align: left;
    isolation: isolate;
    pointer-events: auto;
}

.hero-dianne-image {
    display: none;
    background-image: url('images/dianne-hero.webp');
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: contain;
}


.hero-image {
    align-self: flex-start;
    height: auto;
}

.hero h1 {
    margin: 4rem 0 1rem;
    color: var(--warm-ivory);
    font-family: var(--font-heading);
    font-size: 4.2rem;
    font-weight: 300;
    line-height: 1.2;
}

.hero p {
    color: rgba(243, 234, 216, 0.86);
    font-size: 1rem;
    max-width: 520px;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.72);
}

.divider {
    width: 100%;
    min-height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    margin: 1rem 0;
}

.divider-line {
    height: 1px;
    width: 50%;
    background-color: var(--antique-gold);
}

.divider-star {
    display: block;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    background-color: var(--antique-gold);
    -webkit-mask: url('images/star.svg') center / contain no-repeat;
    mask: url('images/star.svg') center / contain no-repeat;
}

.site-nav {
    --nav-ribbon-width: 63px;
    --nav-ribbon-height: 95px;
    position: absolute;
    top: 2rem;
    right: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: auto;
    max-width: calc(100vw - 340px);
    height: 95px;
    padding: 0 max(clamp(1.2rem, 3vw, 3rem), calc(50vw - var(--hero-frame-half))) 0.5rem 2rem;
    overflow: visible;
    isolation: isolate;
    background: url('images/nav-bg.webp') left center / auto 100% repeat-x;
}



.site-nav::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: 50%;
    left: calc(-1 * var(--nav-ribbon-width) + 1px);
    width: var(--nav-ribbon-width);
    height: var(--nav-ribbon-height);
    transform: translateY(-50%);
    background: url('images/nav-ribbon.webp') right center / contain no-repeat;
    pointer-events: none;
}

.nav-overlay {
    display: none;
}

.nav-menu {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    gap: clamp(14px, 2.4vw, 36px);
    flex: 0 1 auto;
    min-height: 56px;
    isolation: isolate;
}

.site-nav .nav-link {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: max-content;
    min-height: 56px;
    padding: 0 4px;
    color: var(--soft-gold);
    font-family: var(--font-heading);
    font-size: clamp(1rem, 1.15vw, 1.2rem);
    line-height: 1;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.54);
    isolation: isolate;
}

.site-nav .nav-link--mobile-only {
    display: none;
}

.site-nav .nav-link:hover,
.site-nav .nav-link:focus-visible {
    color: #f6e097;
}

.site-nav .nav-link:hover::before,
.site-nav .nav-link:focus-visible::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: -42px;
    right: -42px;
    background: radial-gradient(farthest-side, rgba(82, 98, 255, 0.72) 0%, rgba(50, 64, 171, 0.45) 27%, rgba(28, 33, 93, 0.22) 78%, transparent 100%);
}

.nav-toggle {
    position: relative;
    z-index: 2;
    display: none;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid rgba(226, 196, 113, 0.74);
    background: rgba(7, 11, 24, 0.35);
    color: var(--soft-gold);
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.12rem;
}

.nav-toggle-label {
    display: inline-block;
}

.nav-toggle-icon {
    position: relative;
    display: block;
    width: 20px;
    height: 14px;
}

.nav-toggle-icon span {
    position: absolute;
    left: 0;
    display: block;
    width: 100%;
    height: 2px;
    background: currentColor;
    box-shadow: 0 0 6px rgba(255, 222, 111, 0.5);
    transform-origin: center;
}

.nav-toggle-icon span:nth-child(1) {
    top: 0;
}

.nav-toggle-icon span:nth-child(2) {
    top: 6px;
}

.nav-toggle-icon span:nth-child(3) {
    top: 12px;
}

.site-nav.nav-open .nav-toggle-icon span:nth-child(1) {
    top: 6px;
    transform: rotate(45deg);
}

.site-nav.nav-open .nav-toggle-icon span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.site-nav.nav-open .nav-toggle-icon span:nth-child(3) {
    top: 6px;
    transform: rotate(-45deg);
}

.consult-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    min-width: min(390px, 100%);
    height: 54px;
    margin-top: 2rem;
    padding: 0 28px;
    border: 1px solid #000;
    background:
        linear-gradient(90deg,
            #7a5427 0%,
            #d9b56f 4%,
            #f0d99d 9%,
            #c18b3c 15%,
            #ead28f 25%,
            #b97d2f 40%,
            #f3dda0 52%,
            #b77a2c 68%,
            #e7c879 82%,
            #7a4b1f 100%);
    font-family: var(--font-heading);
    overflow: hidden;
    cursor: pointer;
    transform: translateY(0);
    transition: transform 180ms ease, box-shadow 180ms ease, outline-color 180ms ease;
}

.consult-button::before {
    content: "";
    position: absolute;
    inset: 1px;
    background-color: var(--soft-gold);
    border: 1px solid rgba(53, 32, 18, 0.75);
    box-shadow:
        inset 0 1px 0 rgba(255, 238, 180, 0.65),
        inset 0 -1px 0 rgba(80, 44, 18, 0.7),
        0 0 2px rgba(255, 220, 140, 0.5);
}

.consult-button::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(110deg,
            transparent 0%,
            rgba(255, 239, 180, 0.25) 22%,
            transparent 38%,
            transparent 64%,
            rgba(255, 231, 160, 0.18) 78%,
            transparent 100%);
    transform: translateX(-18%);
    transition: transform 260ms ease, opacity 180ms ease;
    pointer-events: none;
}

.consult-button span {
    position: relative;
    z-index: 1;
}

.consult-button span:first-child {
    color: #2a1c12;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1.6px;
    text-shadow: 0 1px 0 rgba(255, 230, 165, 0.4), 0 -1px 0 rgba(77, 43, 20, 0.25);
}

.consult-button .star {
    display: inline-flex;
    align-items: center;
    transition: transform 180ms ease;
}

.consult-button .star img {
    transition: filter 180ms ease, transform 180ms ease;
}

.consult-button:hover,
.consult-button:focus-visible {
    color: #2a1c12;
    outline: 2px solid rgba(243, 218, 136, 0.9);
    outline-offset: 4px;
    transform: translateY(-2px);
    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.24),
        0 0 18px rgba(255, 204, 90, 0.34);
}

.consult-button:hover::after,
.consult-button:focus-visible::after {
    transform: translateX(16%);
}

.consult-button:hover .star,
.consult-button:focus-visible .star {
    transform: rotate(18deg) scale(1.14);
}

.consult-button:active {
    transform: translateY(1px) scale(0.985);
    filter: brightness(0.98) contrast(1.02);
    box-shadow:
        0 3px 10px rgba(0, 0, 0, 0.28),
        0 0 8px rgba(255, 204, 90, 0.24);
}

/* Hero responsive tiers =======================================================================
=======================================================================================*/
@media (max-width: 1599px) {
    .hero {
        min-height: 680px;
        max-height: 760px;
    }

    .hero-layer--wheel {
        max-width: 1080px;
        opacity: 0.13;
    }

    .wheel-ring {
        right: -4%;
        width: min(92%, 820px);
    }

    .hero-layer--dianne {
        background-size: auto 96%;
        background-position: right bottom;
    }

    .hero-content {
        max-width: 530px;
        margin-left: 3rem;
    }

    .hero-image {
        transform: translateX(-20px);
    }

    .hero h1 {
        margin-top: 3.4rem;
        font-size: 3.75rem;
    }

    .site-nav {
        padding-right: 2.5rem;
        padding-left: 5rem;
    }

    .nav-menu {
        gap: 36px;
    }
}


/* 1380 ............................................................. */

@media (max-width: 1380px) {
    .hero {
        min-height: 650px;
        max-height: 720px;
    }

    .hero-layer--wheel {
        max-width: 920px;
        opacity: 0.12;
    }

    .wheel-ring {
        right: -10%;
        width: min(86%, 700px);
    }

    .hero-layer--dianne {
        background-size: auto 90%;
        background-position: right -110px bottom;
    }

    .hero-content {
        max-width: 470px;
        margin-left: 2rem;
    }

    .hero-image {
        width: 375px;
        transform: translateY(-10px);
    }

    .hero h1 {
        margin-top: 2.8rem;
        font-size: 3.1rem;
    }

    .hero p {
        max-width: 430px;
        font-size: 0.96rem;
    }

    .site-nav {
        top: 1.4rem;
        max-width: calc(100vw - 170px);
        padding-right: 1rem;
        padding-left: 2rem;
    }

    .nav-menu {
        gap: 12px;
    }

    .site-nav .nav-link {
        font-size: 0.9rem;
    }
}

/* 1080 ............................................................. */

@media (max-width: 1080px) {
    .hero {
        min-height: 760px;
        max-height: 800px;
    }

    .hero-layer--stars {
        height: 44vh;
    }

    .hero-layer--wheel {
        width: 100vw;
        opacity: 0.25;
        right: -380px;
    }

    .wheel-ring {
        top: 54%;
        left: 50%;
        right: auto;
        width: min(110vw, 720px);
        --wheel-x-offset: -50%;
    }

    .hero-layer--dianne {
        background-size: auto 72%;
        background-position: right -130px bottom;
    }


    .hero-layer--dianne::before {
        background:
            linear-gradient(90deg,
                rgba(7, 11, 24, 0.96) 0%,
                rgba(7, 11, 24, 0.84) 54%,
                rgba(7, 11, 24, 0.34) 82%,
                rgba(7, 11, 24, 0.08) 100%),
            linear-gradient(0deg, rgba(7, 11, 24, 0.58) 0%, transparent 42%);
    }

    .hero-content {
        max-width: min(440px, calc(100vw - 2rem));
        margin: 1rem 3rem 0;
    }

    .hero-image {
        width: 375px;
        transform: translateY(0);
    }

    .hero h1 {
        margin-top: 2.6rem;
        font-size: 3.2rem;
    }

    .hero p {
        max-width: 390px;
        font-size: 0.95rem;
    }

    .site-nav {
        --mobile-nav-width: min(189px, 44vw);
        --mobile-nav-height: min(491px, 82vh);
        --mobile-nav-peek: 78px;
        position: fixed;
        top: 0;
        right: clamp(1rem, 6vw, 3rem);
        align-items: center;
        flex-direction: column-reverse;
        justify-content: flex-start;
        width: var(--mobile-nav-width);
        max-width: none;
        height: var(--mobile-nav-height);
        min-height: 0;
        padding: 0;
        background: url('images/nav-bg-mob.png') center bottom / 100% 100% no-repeat;
        box-shadow: none;
        transform: translateY(calc(-100% + var(--mobile-nav-peek)));
        transition: transform 640ms cubic-bezier(0.22, 1, 0.36, 1);
        will-change: transform;
    }

    .site-nav::before,
    .site-nav::after {
        display: none;
    }

    .site-nav.nav-open {
        transform: translateY(0);
        top: -2rem;
    }

    .nav-overlay {
        position: fixed;
        inset: 0;
        z-index: 19;
        display: block;
        background: rgba(5, 7, 16, 0.72);
        opacity: 0;
        pointer-events: none;
        transition: opacity 320ms ease;
    }

    body.nav-modal-open .nav-overlay {
        opacity: 1;
        pointer-events: auto;
    }

    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        min-height: var(--mobile-nav-peek);
        padding: 0 0 46px;
        border: 0;
        background: transparent;
        backdrop-filter: none;
        color: var(--soft-gold);
        text-shadow: 0 1px 7px rgba(0, 0, 0, 0.72);
    }

    .nav-menu {
        position: relative;
        top: auto;
        right: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-end;
        gap: 0.35rem;
        flex: 1 1 auto;
        width: 100%;
        min-width: 0;
        min-height: 0;
        padding: 2.7rem 1.1rem 0.75rem;
        background: transparent;
        border: 0;
        margin-bottom: 2rem;
        box-shadow: none;
    }

    .site-nav .nav-link {
        display: inline-flex;
        justify-content: center;
        width: 100%;
        min-height: 32px;
        padding: 0 0 1px;
        font-size: clamp(0.95rem, 2.2vw, 1.08rem);
        text-align: center;
    }

    .site-nav .nav-link--primary {
        color: var(--soft-gold);
        font-family: var(--font-heading);
        font-size: clamp(0.95rem, 2.2vw, 1.08rem);
        font-weight: 400;
        letter-spacing: 0;
        line-height: 1.08;
        text-transform: none;
        text-shadow: 0 1px 6px rgba(0, 0, 0, 0.54);
    }

    .site-nav .nav-link--primary:hover,
    .site-nav .nav-link--primary:focus-visible {
        color: #f6e097;
    }

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

/* 820 ............................................................. */

@media (min-width: 820px) and (max-width: 1080px) {
    .hero-layer--dianne {
        background-size: auto 104%;
        background-position: right -480px bottom;
    }

    .hero-layer--dianne::before {
        background:
            linear-gradient(90deg,
                rgba(7, 11, 24, 0.95) 0%,
                rgba(7, 11, 24, 0.74) 42%,
                rgba(7, 11, 24, 0.22) 62%,
                rgba(7, 11, 24, 0.03) 78%),
            linear-gradient(0deg, rgba(7, 11, 24, 0.5) 0%, transparent 36%);
    }

    .hero-image {
        width: 356px;
        transform: translateY(24px);
    }
}


/* 819 ............................................................. */

@media (max-width: 819px) {
    .hero-layer--dianne {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        background-image: none;
    }

    .hero-layer--dianne::before {
        opacity: 0.5;
        background:
            linear-gradient(180deg,
                rgba(7, 11, 24, 0.96) 0%,
                rgba(7, 11, 24, 0.88) 48%,
                rgba(7, 11, 24, 0.34) 76%,
                rgba(7, 11, 24, 0.1) 100%),
            linear-gradient(90deg, rgba(7, 11, 24, 0.36) 0%, transparent 34%, transparent 66%, rgba(7, 11, 24, 0.36) 100%);
    }

    .hero-content {
        align-items: center;
        max-width: 90%;
        margin: 1rem auto 0;
        text-align: center;
        padding: 0 1rem;
    }

    .hero-dianne-image {
        position: relative;
        z-index: 1;
        display: block;
        flex: 1 1 auto;
        width: 100%;
        min-height: 260px;
        margin-top: 1rem;
        background-image: url('images/dianne-hero-mobile.webp');
    }

    .hero p {
        text-align: center;
        max-width: 80%;
    }

    .hero-image {
        width: 240px;
        margin-top: 10px;
    }

    .hero-layer--wheel {
        top: -298px;
        right: 0;
    }
}


/* 640 ............................................................. */

@media (max-width: 640px) {
    .hero {
        min-height: 720px;
    }

    .wheel-ring {
        top: 58%;
        width: min(132vw, 640px);
    }

    .hero-layer--dianne {
        background-image: none;
    }

    .hero-layer--dianne::before {
        background:
            linear-gradient(180deg,
                rgba(7, 11, 24, 0.97) 0%,
                rgba(7, 11, 24, 0.9) 50%,
                rgba(7, 11, 24, 0.42) 78%,
                rgba(7, 11, 24, 0.12) 100%),
            linear-gradient(90deg, rgba(7, 11, 24, 0.34) 0%, transparent 34%, transparent 66%, rgba(7, 11, 24, 0.34) 100%);
    }

    .hero-content {
        max-width: calc(100vw - 2rem);
    }

    .hero-image {
        width: 200px;
    }

    .hero-dianne-image {
        min-height: 245px;
        margin-top: 0.75rem;
    }

    .hero h1 {
        margin-top: 2.2rem;
        margin-bottom: 0.3rem;
        font-size: 2.5rem;
    }

    .hero p {
        max-width: 330px;
        font-size: 0.92rem;
    }

    .consult-button {
        gap: 14px;
        width: min(100%, 340px);
        min-width: 0;
        height: 40px;
        margin-top: 1.4rem;
        padding: 0 18px;
    }

    .consult-button span:first-child {
        font-size: 13px;
        letter-spacing: 1.1px;
    }

    .site-nav {
        right: 0.2rem;
    }

    .hero-layer--wheel {
        top: -340px;
        right: 0;
    }
}


/* 430 ............................................................. */
@media (max-width: 430px) {
    .hero {
        min-height: 700px;
    }

    .wheel-ring {
        top: 61%;
        width: min(150vw, 560px);
    }

    .hero-layer--dianne {
        background-image: none;
    }

    .hero-content {
        max-width: 320px;
    }

    .hero-image {
        width: 173px;
        transform: translateY(10px);
    }

    .hero-dianne-image {
        width: min(120vw, 460px);
        min-height: 230px;
        margin-top: 0.5rem;
    }

    .hero h1 {
        margin-top: 2.5rem;
        font-size: 2rem;
    }

    .hero p {
        max-width: 300px;
        font-size: 0.9rem;
        line-height: 1.4;
    }


    .hero-layer--wheel {
        top: -353px;
        right: 0;
    }
}

@keyframes wheel-spin {
    from {
        transform: translate(var(--wheel-x-offset), -50%) rotate(0deg);
    }

    to {
        transform: translate(var(--wheel-x-offset), -50%) rotate(360deg);
    }
}

@keyframes star-flash {

    0%,
    100% {
        opacity: 0;
        transform: scale(0.7);
        filter: drop-shadow(0 0 2px rgba(72, 140, 255, 0));
    }

    42% {
        opacity: 0;
        transform: scale(0.78);
        filter: drop-shadow(0 0 2px rgba(72, 140, 255, 0));
    }

    50% {
        opacity: 0.95;
        transform: scale(1);
        filter:
            drop-shadow(0 0 6px rgba(113, 174, 255, 0.72)) drop-shadow(0 0 14px rgba(68, 129, 255, 0.44));
    }

    58% {
        opacity: 0;
        transform: scale(0.78);
        filter: drop-shadow(0 0 2px rgba(72, 140, 255, 0));
    }
}
