@import url('https://fonts.googleapis.com/css2?family=Amita:wght@400&display=swap');
/* =========================================================
   THE DIVINE UNION — EVENT EXPERIENCE 4.0
   BASE.CSS — GLOBAL DESIGN SYSTEM
   ========================================================= */

:root {
    --mahadev-blue: #193749;
    --himalayan-mist: #B8CDD4;
    --sacred-ivory: #FAF3E7;
    --champagne-gold: #C4A36D;
    --antique-gold: #9C7944;
    --light-gold: #F4DDB1;
    --lotus-pink: #D5A2B3;
    --bilva-green: #76876D;
    --bridal-maroon: #642C25;
    --kailash-night: #101F30;
    --lavender: #B4ABC6;
    --warm-white: #FFF9F0;
    --deep-ink: #292522;
    --muted-ink: #716356;

    --font-display: "Cormorant Garamond", Georgia, serif;
    --font-body: "Cormorant Garamond", Georgia, serif;
    --font-royal: "Cinzel", Georgia, serif;
    --font-script: "Italianno", cursive;
    --font-hindi: "Tiro Devanagari Hindi", serif;
    --font-hindi-decorative: "Amita", serif;

    --gold-gradient: linear-gradient(
        115deg,
        #94703B 0%,
        #D7B77B 24%,
        #FFF0CB 46%,
        #C5A064 65%,
        #98713C 100%
    );

    --ease-luxury: cubic-bezier(.22, 1, .36, 1);
    --shadow-soft: 0 15px 45px rgba(64, 40, 24, .10);
    --shadow-deep: 0 30px 90px rgba(22, 17, 14, .25);

    --section-padding: clamp(80px, 12vw, 170px);
    --container-width: 1180px;
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    scroll-padding-top: 24px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
    background: var(--sacred-ivory);
    color: var(--deep-ink);
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.65;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.is-locked {
    overflow: hidden;
    overscroll-behavior: none;
}

body.is-entering {
    cursor: progress;
}

h1, h2, h3, h4, p,
figure, blockquote {
    margin: 0;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.08;
    text-wrap: balance;
}

p {
    text-wrap: pretty;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

button {
    cursor: pointer;
    color: inherit;
}

button:disabled {
    cursor: default;
}

a {
    color: inherit;
    text-decoration: none;
}

button:focus-visible,
a:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid var(--champagne-gold);
    outline-offset: 6px;
}

button,
a,
img {
    -webkit-user-drag: none;
}

::selection {
    background: #C4A36D;
    color: #FFF9F0;
}

[hidden] {
    display: none !important;
}

.calligraphy {
    font-family: var(--font-script);
    font-weight: 400;
    line-height: 1.15;
}

.hindi-text {
    font-family: var(--font-hindi);
    font-weight: 400;
    line-height: 1.6;
}

.eyebrow {
    font-family: var(--font-royal);
    font-size: clamp(9px, 1.2vw, 12px);
    font-weight: 600;
    letter-spacing: .24em;
    line-height: 1.8;
    text-transform: uppercase;
}

.gold-text {
    color: #F1D7A3;
}

.section-container {
    position: relative;
    width: min(var(--container-width), calc(100% - 48px));
    margin-inline: auto;
    z-index: 2;
}

.scene {
    position: relative;
    isolation: isolate;
    width: 100%;
}

.section-heading {
    position: relative;
    text-align: center;
    margin: 0 auto clamp(36px, 6vw, 70px);
    max-width: 780px;
}

.chapter-number {
    display: block;
    font-family: var(--font-royal);
    font-size: 10px;
    letter-spacing: .28em;
    color: var(--antique-gold);
    margin-bottom: 18px;
}

.section-heading .eyebrow {
    color: var(--antique-gold);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(46px, 7vw, 92px);
    font-weight: 500;
    color: var(--bridal-maroon);
    letter-spacing: -.035em;
}

.section-title em {
    font-weight: 400;
}

.section-calligraphy {
    color: var(--antique-gold);
    font-size: clamp(32px, 5vw, 58px);
    margin-top: 16px;
}

.section-introduction {
    max-width: 580px;
    margin: 20px auto 0;
    font-size: clamp(18px, 2.3vw, 23px);
    line-height: 1.65;
    color: var(--muted-ink);
}

.ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: min(230px, 70%);
    margin: 24px auto;
    color: var(--champagne-gold);
}

.ornament span {
    height: 1px;
    flex: 1;
    background: linear-gradient(
        90deg, transparent, currentColor
    );
}

.ornament span:last-child {
    transform: rotate(180deg);
}

.ornament i {
    font-style: normal;
    font-size: 13px;
    line-height: 1;
}

.drop-cap::first-letter {
    float: left;
    font-size: 4.1em;
    line-height: .78;
    padding: 8px 9px 0 0;
    color: var(--antique-gold);
}

.sr-only,
.skip-link:not(:focus) {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link:focus {
    position: fixed;
    z-index: 10001;
    top: 12px;
    left: 12px;
    background: var(--warm-white);
    padding: 12px 20px;
    color: var(--deep-ink);
}

.noscript-message {
    padding: 24px;
    text-align: center;
    background: var(--warm-white);
    color: var(--deep-ink);
}

.particle-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 900;
}

.invitation-experience {
    position: relative;
    width: 100%;
}

.page-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    z-index: 1100;
    pointer-events: none;
}

.page-progress__bar {
    height: 100%;
    width: 100%;
    transform: scaleX(0);
    transform-origin: left center;
    background: linear-gradient(
        90deg, #94703B, #FFE9B4, #C4A36D
    );
}

body:not(.has-entered) .page-progress {
    opacity: 0;
}

.scene-bottom-fade {
    position: absolute;
    inset: auto 0 -1px;
    height: 120px;
    background: linear-gradient(
        transparent, var(--sacred-ivory)
    );
    pointer-events: none;
    z-index: 4;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}
