/* =========================================================
   KINHA — HERITAGE MANDALA
========================================================= */

:root {
    --kinha-maroon: #641c2b;
    --kinha-dark: #42121d;
    --kinha-darker: #250b12;

    --kinha-gold: #c9a227;
    --kinha-gold-light: #e7cf72;
    --kinha-gold-soft: #f2df9a;

    --kinha-cream: #fff8e7;
    --kinha-paper: #f8edd8;

    --kinha-text: #3c2026;
    --kinha-muted: #765f5a;
}


/* =========================================================
   GLOBAL
========================================================= */

.kinha-hero *,
.kinha-intro *,
.services-section *,
.heritage-quote *,
.gallery-section *,
.stories-section *,
.kinha-cta *,
.kinha-footer * {
    box-sizing: border-box;
}

.kinha-hero a,
.kinha-intro a,
.services-section a,
.gallery-section a,
.stories-section a,
.kinha-cta a,
.kinha-footer a {
    text-decoration: none;
}


/* =========================================================
   HERO
========================================================= */

.kinha-hero {

    position: relative;

    min-height: calc(100vh - 72px);

    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at center,
            #fffdf7 0%,
            #fff5df 28%,
            #efd8b9 62%,
            #d5b08f 100%
        );
}


/* =========================================================
   BACKGROUND
========================================================= */

.hero-background {

    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            circle at 50% 50%,
            rgba(255,255,255,.8),
            transparent 45%
        );

    pointer-events: none;
}


.heritage-pattern {

    position: absolute;

    width: 900px;
    height: 900px;

    border-radius: 50%;

    background:
        repeating-conic-gradient(
            from 0deg,
            rgba(100,28,43,.035) 0deg 2deg,
            transparent 2deg 10deg
        );

    mask-image: radial-gradient(
        circle,
        black 0%,
        transparent 68%
    );

    -webkit-mask-image: radial-gradient(
        circle,
        black 0%,
        transparent 68%
    );

    animation: slowPattern 80s linear infinite;
}


@keyframes slowPattern {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


/* =========================================================
   PARTICLES
========================================================= */

.particle {

    position: absolute;

    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: var(--kinha-gold);

    box-shadow:
        0 0 12px rgba(201,162,39,.7);

    animation: floatingParticle 5s ease-in-out infinite;
}


.particle-1 {
    left: 12%;
    top: 28%;
}

.particle-2 {
    right: 15%;
    top: 22%;
    animation-delay: 1s;
}

.particle-3 {
    left: 20%;
    bottom: 25%;
    animation-delay: 2s;
}

.particle-4 {
    right: 18%;
    bottom: 30%;
    animation-delay: 3s;
}

.particle-5 {
    left: 35%;
    top: 12%;
    animation-delay: 1.5s;
}

.particle-6 {
    right: 35%;
    bottom: 13%;
    animation-delay: 2.5s;
}


@keyframes floatingParticle {

    0%,
    100% {
        transform: translateY(0) scale(1);
        opacity: .4;
    }

    50% {
        transform: translateY(-15px) scale(1.4);
        opacity: 1;
    }
}


/* =========================================================
   MANDALA WRAPPER
========================================================= */

.mandala-wrapper {

    position: relative;

    width: min(82vw, 760px);

    aspect-ratio: 1 / 1;

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 5;
}


/* =========================================================
   RINGS
========================================================= */

.mandala-ring {

    position: absolute;

    left: 50%;
    top: 50%;

    border-radius: 50%;

    transform: translate(-50%, -50%);

    pointer-events: none;
}


.ring-outer {

    width: 86%;
    height: 86%;

    border: 1px solid rgba(100,28,43,.15);

    box-shadow:
        inset 0 0 40px rgba(201,162,39,.05);

    animation: ringPulse 7s ease-in-out infinite;
}


.ring-dashed {

    width: 78%;
    height: 78%;

    border: 1px dashed rgba(201,162,39,.55);

    animation: rotateRing 55s linear infinite;
}


.ring-inner {

    width: 59%;
    height: 59%;

    border: 1px solid rgba(100,28,43,.22);
}


@keyframes rotateRing {

    from {
        transform: translate(-50%, -50%) rotate(0);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}


@keyframes ringPulse {

    0%,
    100% {
        opacity: .65;
        transform: translate(-50%, -50%) scale(.98);
    }

    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.02);
    }
}


/* =========================================================
   RADIAL RAYS
========================================================= */

.radial-rays {

    position: absolute;

    width: 74%;
    height: 74%;

    border-radius: 50%;

    background:
        repeating-conic-gradient(
            from 0deg,
            rgba(201,162,39,.22) 0deg 1deg,
            transparent 1deg 30deg
        );

    mask-image: radial-gradient(
        circle,
        transparent 0 48%,
        black 49% 52%,
        transparent 53%
    );

    -webkit-mask-image: radial-gradient(
        circle,
        transparent 0 48%,
        black 49% 52%,
        transparent 53%
    );

    animation: rayRotation 60s linear infinite;
}


@keyframes rayRotation {

    from {
        transform: rotate(0);
    }

    to {
        transform: rotate(-360deg);
    }
}


/* =========================================================
   CENTER LIGHT
========================================================= */

.center-light {

    position: absolute;

    width: 62%;
    aspect-ratio: 1;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(255,255,255,.95),
            rgba(231,207,114,.42) 30%,
            rgba(201,162,39,.12) 55%,
            transparent 72%
        );

    filter: blur(14px);

    animation: centerGlow 5s ease-in-out infinite;
}


@keyframes centerGlow {

    0%,
    100% {
        transform: scale(.94);
        opacity: .65;
    }

    50% {
        transform: scale(1.07);
        opacity: 1;
    }
}


/* =========================================================
   CENTER EMBLEM
========================================================= */

.center-emblem {

    position: absolute;

    width: 29%;

    aspect-ratio: 1;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    border-radius: 50%;

    background: var(--kinha-cream);

    border: 5px solid var(--kinha-gold);

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow:
        0 0 0 5px rgba(255,248,231,.9),
        0 0 0 7px rgba(201,162,39,.3),
        0 15px 45px rgba(66,18,29,.3),
        0 0 45px rgba(201,162,39,.35);

    z-index: 20;
}


.center-emblem img {

    position: relative;

    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 50%;

    z-index: 4;
}


.emblem-glow {

    position: absolute;

    width: 150%;
    height: 150%;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(231,207,114,.4),
            transparent 65%
        );

    filter: blur(15px);

    z-index: -2;

    animation: emblemGlow 4s ease-in-out infinite;
}


@keyframes emblemGlow {

    0%,
    100% {
        transform: scale(.9);
        opacity: .5;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}


.emblem-ring {

    position: absolute;

    border-radius: 50%;

    pointer-events: none;
}


.emblem-ring-outer {

    width: 130%;
    height: 130%;

    border: 1px dashed rgba(201,162,39,.55);

    animation: rotateRing 30s linear infinite;
}


.emblem-ring-inner {

    width: 115%;
    height: 115%;

    border: 1px solid rgba(100,28,43,.18);
}


.emblem-star {

    position: absolute;

    color: var(--kinha-gold);

    z-index: 30;

    font-size: 12px;
}


.star-top {
    top: -18px;
}


.star-bottom {
    bottom: -18px;
}


/* =========================================================
   NAVIGATION
========================================================= */

.mandala-nav {

    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    animation: orbitRotation 45s linear infinite;

    z-index: 10;
}


@keyframes orbitRotation {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


/* =========================================================
   NAV ITEMS
========================================================= */

.mandala-item {

    position: absolute;

    width: 14%;
    aspect-ratio: 1;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 3px;

    border-radius: 50%;

    background:
        linear-gradient(
            145deg,
            #fffdf7,
            #f7ead2
        );

    border: 2px solid var(--kinha-gold);

    color: var(--kinha-dark);

    font-family:
        Georgia,
        'Times New Roman',
        serif;

    box-shadow:
        0 10px 25px rgba(66,18,29,.16),
        inset 0 0 0 2px rgba(255,255,255,.65);

    animation: counterRotation 45s linear infinite;

    transition:
        transform .4s cubic-bezier(.2,.8,.2,1),
        background .35s ease,
        color .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;

    z-index: 10;
}


@keyframes counterRotation {

    from {
        transform:
            rotate(0deg);
    }

    to {
        transform:
            rotate(-360deg);
    }
}


.item-icon {

    font-size: 18px;

    color: var(--kinha-gold);

    line-height: 1;

    transition:
        transform .3s ease;
}


.item-text {

    font-size: clamp(10px, 1.3vw, 15px);

    font-weight: 700;

    letter-spacing: .5px;
}


/* =========================================================
   POSITIONS
========================================================= */

.item-1 {
    top: 2%;
    left: 50%;
    margin-left: -7%;
}


.item-2 {
    top: 25%;
    right: 4%;
}


.item-3 {
    bottom: 25%;
    right: 4%;
}


.item-4 {
    bottom: 2%;
    left: 50%;
    margin-left: -7%;
}


.item-5 {
    bottom: 25%;
    left: 4%;
}


.item-6 {
    top: 25%;
    left: 4%;
}


/* =========================================================
   NAV HOVER
========================================================= */

.mandala-item:hover {

    transform:
        rotate(-360deg)
        scale(1.22);

    background:
        linear-gradient(
            145deg,
            var(--kinha-maroon),
            var(--kinha-dark)
        );

    border-color: var(--kinha-gold-light);

    color: var(--kinha-cream);

    box-shadow:
        0 15px 35px rgba(66,18,29,.4),
        0 0 30px rgba(201,162,39,.45);
}


.mandala-item:hover .item-icon {

    color: var(--kinha-gold-light);

    transform: scale(1.25) rotate(10deg);
}


.mandala-wrapper:hover .mandala-nav,
.mandala-wrapper:hover .mandala-item {

    animation-play-state: paused;
}


/* =========================================================
   HERO CAPTION
========================================================= */

.hero-caption {

    position: absolute;

    bottom: 55px;

    left: 50%;

    transform: translateX(-50%);

    display: flex;
    align-items: center;
    gap: 14px;

    color: var(--kinha-maroon);

    z-index: 20;
}


.hero-caption p {

    margin: 0;

    font-family: Georgia, serif;

    font-size: 12px;

    letter-spacing: 3px;

    text-transform: uppercase;

    white-space: nowrap;
}


.caption-line {

    width: 45px;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--kinha-gold)
        );
}


.caption-line:last-child {

    background:
        linear-gradient(
            90deg,
            var(--kinha-gold),
            transparent
        );
}


/* =========================================================
   SCROLL INDICATOR
========================================================= */

.scroll-indicator {

    position: absolute;

    right: 30px;
    bottom: 30px;

    display: flex;
    align-items: center;
    gap: 10px;

    color: var(--kinha-maroon);

    font-size: 9px;

    letter-spacing: 2px;

    text-transform: uppercase;

    writing-mode: vertical-rl;
}


.scroll-line {

    width: 1px;
    height: 50px;

    background: var(--kinha-gold);

    animation: scrollLine 2s ease-in-out infinite;
}


@keyframes scrollLine {

    0%,
    100% {
        transform: scaleY(.4);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }
}


/* =========================================================
   COMMON CONTAINER
========================================================= */

.container {

    width: min(1180px, 90%);

    margin: 0 auto;
}


/* =========================================================
   COMMON TYPOGRAPHY
========================================================= */

.eyebrow {

    display: inline-block;

    margin-bottom: 15px;

    color: var(--kinha-gold);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 3px;

    text-transform: uppercase;
}


.section-heading {

    max-width: 700px;

    margin-bottom: 60px;
}


.section-heading h2 {

    margin: 0;

    color: var(--kinha-dark);

    font-family:
        Georgia,
        'Times New Roman',
        serif;

    font-size: clamp(38px, 5vw, 68px);

    font-weight: 400;

    line-height: 1.05;
}


.section-heading h2 span,
.intro-content h2 span,
.kinha-cta h2 span {

    color: var(--kinha-gold);

    font-style: italic;
}


.section-heading p {

    max-width: 550px;

    margin-top: 20px;

    color: var(--kinha-muted);

    line-height: 1.8;
}


/* =========================================================
   INTRO
========================================================= */

.kinha-intro {

    position: relative;

    padding: 130px 0;

    background: var(--kinha-cream);

    overflow: hidden;
}


.section-decoration {

    position: absolute;

    right: 7%;
    top: 60px;

    color: var(--kinha-gold);

    font-size: 35px;

    opacity: .4;
}


.intro-grid {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 100px;

    align-items: center;
}


.intro-content h2 {

    margin: 0;

    color: var(--kinha-dark);

    font-family: Georgia, serif;

    font-size: clamp(42px, 5vw, 70px);

    font-weight: 400;

    line-height: 1.05;
}


.gold-divider {

    width: 70px;
    height: 2px;

    margin: 28px 0;

    background: var(--kinha-gold);
}


.intro-content p {

    color: var(--kinha-muted);

    font-size: 16px;

    line-height: 1.9;
}


.intro-lead {

    color: var(--kinha-text) !important;

    font-family: Georgia, serif;

    font-size: 20px !important;
}


.heritage-button {

    display: inline-flex;

    align-items: center;

    gap: 15px;

    margin-top: 25px;

    padding: 14px 22px;

    color: var(--kinha-cream);

    background: var(--kinha-maroon);

    border: 1px solid var(--kinha-maroon);

    transition: .3s ease;
}


.heritage-button:hover {

    background: var(--kinha-gold);

    border-color: var(--kinha-gold);

    color: var(--kinha-dark);
}


/* =========================================================
   INTRO ART
========================================================= */

.intro-art {

    position: relative;

    width: min(430px, 100%);

    aspect-ratio: 1;

    margin: auto;
}


.art-circle {

    position: absolute;

    inset: 50%;

    border-radius: 50%;

    transform: translate(-50%, -50%);
}


.art-circle-1 {

    width: 100%;
    height: 100%;

    border: 1px solid rgba(201,162,39,.5);
}


.art-circle-2 {

    width: 76%;
    height: 76%;

    border: 1px dashed rgba(100,28,43,.25);

    animation: rotateRing 35s linear infinite;
}


.art-circle-3 {

    width: 52%;
    height: 52%;

    background:
        radial-gradient(
            circle,
            #fff 0%,
            #f2dfb7 100%
        );

    border: 4px solid var(--kinha-gold);

    box-shadow:
        0 20px 60px rgba(66,18,29,.2);
}


.art-center {

    position: absolute;

    inset: 50%;

    transform: translate(-50%, -50%);

    z-index: 5;

    display: flex;
    flex-direction: column;

    align-items: center;

    text-align: center;

    color: var(--kinha-maroon);
}


.art-center span {

    font-family: Georgia, serif;

    font-size: 48px;
}


.art-center small {

    margin-top: 8px;

    font-size: 8px;

    letter-spacing: 2px;
}


/* =========================================================
   SERVICES
========================================================= */

.services-section {

    padding: 130px 0;

    background:
        linear-gradient(
            145deg,
            #f5e4ca,
            #ead0b2
        );
}


.services-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}


.service-card {

    position: relative;

    padding: 45px 35px;

    min-height: 330px;

    background:
        rgba(255,248,231,.72);

    border: 1px solid rgba(201,162,39,.3);

    transition:
        transform .35s ease,
        box-shadow .35s ease;
}


.service-card:hover {

    transform: translateY(-10px);

    box-shadow:
        0 25px 50px rgba(66,18,29,.16);
}


.service-card.featured {

    background: var(--kinha-maroon);

    color: var(--kinha-cream);

    transform: translateY(-20px);
}


.service-number {

    position: absolute;

    right: 25px;
    top: 20px;

    color: var(--kinha-gold);

    font-family: Georgia, serif;

    font-size: 13px;
}


.service-icon {

    margin-bottom: 30px;

    color: var(--kinha-gold);

    font-size: 35px;
}


.service-card h3 {

    margin: 0 0 18px;

    font-family: Georgia, serif;

    font-size: 25px;

    font-weight: 400;
}


.service-card p {

    color: var(--kinha-muted);

    line-height: 1.7;
}


.service-card.featured p {

    color: rgba(255,248,231,.7);
}


.service-card a {

    display: inline-flex;

    gap: 10px;

    margin-top: 20px;

    color: var(--kinha-maroon);

    font-size: 13px;

    font-weight: 700;
}


.service-card.featured a {

    color: var(--kinha-gold-light);
}


/* =========================================================
   QUOTE
========================================================= */

.heritage-quote {

    position: relative;

    padding: 150px 20px;

    background:
        radial-gradient(
            circle,
            #722337,
            #42121d 70%
        );

    overflow: hidden;
}


.quote-pattern {

    position: absolute;

    inset: -50%;

    background:
        repeating-conic-gradient(
            rgba(201,162,39,.08) 0deg 2deg,
            transparent 2deg 18deg
        );

    mask-image:
        radial-gradient(
            circle,
            black,
            transparent 55%
        );

    -webkit-mask-image:
        radial-gradient(
            circle,
            black,
            transparent 55%
        );

    animation: slowPattern 100s linear infinite;
}


.quote-content {

    position: relative;

    max-width: 850px;

    margin: auto;

    text-align: center;

    color: var(--kinha-cream);
}


.quote-symbol {

    display: block;

    margin-bottom: -25px;

    color: var(--kinha-gold);

    font-family: Georgia, serif;

    font-size: 100px;

    line-height: 1;
}


.quote-content blockquote {

    margin: 0;

    font-family: Georgia, serif;

    font-size: clamp(35px, 5vw, 65px);

    font-weight: 400;

    line-height: 1.15;
}


.quote-divider {

    width: 60px;
    height: 2px;

    margin: 35px auto;

    background: var(--kinha-gold);
}


.quote-caption {

    font-size: 10px;

    letter-spacing: 4px;

    color: var(--kinha-gold-light);
}


/* =========================================================
   GALLERY
========================================================= */

.gallery-section {

    padding: 130px 0;

    background: var(--kinha-cream);
}


.gallery-heading {

    display: flex;

    align-items: end;

    justify-content: space-between;

    max-width: none;
}


.outline-button {

    padding: 13px 20px;

    border: 1px solid var(--kinha-gold);

    color: var(--kinha-maroon);

    font-size: 12px;

    transition: .3s ease;
}


.outline-button:hover {

    color: var(--kinha-cream);

    background: var(--kinha-maroon);

    border-color: var(--kinha-maroon);
}


.gallery-grid {

    display: grid;

    grid-template-columns:
        1.4fr 1fr 1fr;

    grid-template-rows:
        260px 260px;

    gap: 15px;
}


.gallery-card {

    overflow: hidden;

    position: relative;
}


.gallery-large {

    grid-row:
        span 2;
}


.gallery-placeholder {

    position: absolute;

    inset: 0;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    color: var(--kinha-cream);

    background:
        linear-gradient(
            145deg,
            #7a283d,
            #3d111b
        );

    transition:
        transform .6s ease;
}


.gallery-card:nth-child(2)
.gallery-placeholder {

    background:
        linear-gradient(
            145deg,
            #c19a55,
            #72501e
        );
}


.gallery-card:nth-child(3)
.gallery-placeholder {

    background:
        linear-gradient(
            145deg,
            #8b6350,
            #45291f
        );
}


.gallery-card:nth-child(4)
.gallery-placeholder {

    background:
        linear-gradient(
            145deg,
            #b9947a,
            #63402e
        );
}


.gallery-placeholder span {

    color: var(--kinha-gold-light);

    font-size: 12px;

    letter-spacing: 2px;
}


.gallery-placeholder strong {

    margin-top: 10px;

    font-family: Georgia, serif;

    font-size: 30px;

    font-weight: 400;
}


.gallery-card:hover .gallery-placeholder {

    transform: scale(1.07);
}


/* =========================================================
   STORIES
========================================================= */

.stories-section {

    padding: 130px 0;

    background: #f1dfc5;
}


.stories-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}


.story-card {

    background: var(--kinha-cream);

    overflow: hidden;
}


.story-image {

    height: 230px;

    display: flex;
    align-items: end;

    padding: 20px;

    color: var(--kinha-gold-light);

    background:
        linear-gradient(
            145deg,
            #722337,
            #3d111b
        );

    transition:
        transform .5s ease;
}


.story-card:nth-child(2)
.story-image {

    background:
        linear-gradient(
            145deg,
            #a68148,
            #60451d
        );
}


.story-card:nth-child(3)
.story-image {

    background:
        linear-gradient(
            145deg,
            #765044,
            #40271f
        );
}


.story-image span {

    font-size: 12px;

    letter-spacing: 2px;
}


.story-content {

    padding: 30px;
}


.story-category {

    color: var(--kinha-gold);

    font-size: 9px;

    letter-spacing: 3px;

    font-weight: 700;
}


.story-content h3 {

    margin: 15px 0 25px;

    color: var(--kinha-dark);

    font-family: Georgia, serif;

    font-size: 25px;

    font-weight: 400;

    line-height: 1.3;
}


.story-content a {

    color: var(--kinha-maroon);

    font-size: 12px;

    font-weight: 700;
}


/* =========================================================
   CTA
========================================================= */

.kinha-cta {

    position: relative;

    padding: 150px 20px;

    text-align: center;

    background: var(--kinha-dark);

    color: var(--kinha-cream);

    overflow: hidden;
}


.cta-mandala {

    position: absolute;

    width: 650px;
    height: 650px;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    border-radius: 50%;

    border:
        1px solid rgba(201,162,39,.2);

    box-shadow:
        0 0 0 80px rgba(201,162,39,.025),
        0 0 0 160px rgba(201,162,39,.02);
}


.cta-content {

    position: relative;

    max-width: 800px;

    margin: auto;

    z-index: 2;
}


.cta-content h2 {

    margin: 0;

    font-family: Georgia, serif;

    font-size: clamp(42px, 6vw, 75px);

    font-weight: 400;

    line-height: 1.05;
}


.cta-content p {

    max-width: 500px;

    margin: 25px auto;

    color: rgba(255,248,231,.7);

    line-height: 1.8;
}


.gold-button {

    display: inline-flex;

    align-items: center;

    gap: 15px;

    margin-top: 20px;

    padding: 15px 25px;

    color: var(--kinha-dark);

    background: var(--kinha-gold-light);

    transition: .3s ease;
}


.gold-button:hover {

    background: var(--kinha-cream);

    transform: translateY(-3px);
}


/* =========================================================
   FOOTER
========================================================= */
