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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

img {
    max-width: 100%;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

a {
    text-decoration: none;
    color: inherit;
}

:root {
    --ivory: #F7F3EA;
    --ivory-2: #F1EADD;
    --cream: #F4EEE2;
    --card: #FBF8F1;

    --sage: #4E6653;
    --sage-deep: #3B4F41;
    --sage-soft: #6E7A6A;
    --sage-mist: #8C9686;

    --gold: #B99A6B;
    --gold-deep: #9A7B45;
    --gold-soft: #CBB489;

    --ink: #2C2E29;
    --taupe: #A29C88;
    --line: rgba(78, 102, 83, 0.22);
    --line-soft: rgba(78, 102, 83, 0.12);

    --shadow-sm: 0 10px 30px rgba(59, 79, 65, 0.08);
    --shadow-md: 0 24px 60px rgba(59, 79, 65, 0.12);
    --shadow-lg: 0 40px 100px rgba(59, 79, 65, 0.18);

    --font-display: 'Cormorant Garamond', 'Noto Serif Georgian', serif;
    --font-serif: 'Cormorant Garamond', 'Noto Serif Georgian', serif;
    --font-script: 'Cormorant Garamond', 'Noto Serif Georgian', serif;
    --font-body: 'Libre Baskerville', 'Noto Serif Georgian', serif;
    --font-sans: 'Noto Serif Georgian', 'Libre Baskerville', serif;

    --maxw: 1200px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

body.lang-ka {
    --font-display: 'Noto Serif Georgian', serif;
    --font-serif: 'Noto Serif Georgian', serif;
    --font-script: 'Noto Serif Georgian', serif;
    --font-body: 'Noto Serif Georgian', serif;
}

body.lang-en {
    --font-display: 'Cormorant Garamond', serif;
    --font-serif: 'Cormorant Garamond', serif;
    --font-script: 'Cormorant Garamond', serif;
    --font-body: 'Libre Baskerville', serif;
}

body.lang-en .cine-names,
body.lang-en .footer__names {
    font-style: italic;
    font-weight: 600;
}

body.lang-en .cine-names {
    font-size: clamp(46px, 7.4vw, 96px);
}

body.lang-en .footer__names {
    font-size: clamp(40px, 9vw, 88px);
}

body {
    font-family: var(--font-body);
    color: var(--ink);
    background-color: var(--ivory);
    background-image:
        radial-gradient(120% 90% at 50% -10%, rgba(255, 255, 255, 0.6), transparent 60%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    line-height: 1.7;
    overflow-x: hidden;
}

body.locked {
    overflow: hidden;
    height: 100vh;
}

html {
    scrollbar-gutter: stable;
}

::selection {
    background: var(--sage);
    color: var(--ivory);
}

body.lang-ka .only-en,
body.lang-en .only-ka {
    display: none !important;
}

.container {
    width: min(100% - 44px, var(--maxw));
    margin-inline: auto;
}

.section {
    padding: clamp(70px, 11vw, 150px) 0;
    position: relative;
}

.eyebrow {
    font-family: var(--font-body);
    letter-spacing: 0.42em;
    text-transform: uppercase;
    font-size: clamp(10px, 1.4vw, 13px);
    color: var(--gold-deep);
    display: inline-block;
    margin-bottom: 18px;
}

body.lang-ka .eyebrow {
    letter-spacing: 0.28em;
}

.section-title {
    font-family: var(--font-display);
    color: var(--sage-deep);
    font-weight: 500;
    line-height: 1.02;
    font-size: clamp(44px, 8vw, 96px);
}

body.lang-ka .section-title {
    font-size: clamp(30px, 6.2vw, 62px);
    font-weight: 600;
}

.section-head {
    text-align: center;
    margin-bottom: 10px;
}

.lede {
    max-width: 620px;
    margin: 22px auto 0;
    color: var(--sage-soft);
    font-family: var(--font-serif);
    font-size: clamp(16px, 2.2vw, 20px);
    line-height: 1.9;
}

.ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 0 auto;
    color: var(--gold);
}

.ornament::before,
.ornament::after {
    content: "";
    height: 1px;
    width: clamp(40px, 12vw, 120px);
    background: linear-gradient(to right, transparent, var(--gold-soft), transparent);
}

.ornament span {
    width: 8px;
    height: 8px;
    transform: rotate(45deg);
    border: 1px solid var(--gold);
    display: inline-block;
}

.ornament.leaf span {
    width: 22px;
    height: 22px;
    transform: none;
    border: none;
    background: currentColor;
    -webkit-mask: center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C7 7 4 11 4 15a8 8 0 0 0 16 0c0-4-3-8-8-13Z'/%3E%3C/svg%3E");
    mask: center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C7 7 4 11 4 15a8 8 0 0 0 16 0c0-4-3-8-8-13Z'/%3E%3C/svg%3E");
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 34px;
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 13px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    transition: all 0.45s var(--ease);
    cursor: pointer;
}

body.lang-ka .btn {
    letter-spacing: 0.14em;
    font-size: 14px;
}

.btn--solid {
    background: var(--sage);
    color: var(--ivory);
    box-shadow: var(--shadow-sm);
}

.btn--solid:hover {
    background: var(--sage-deep);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn--ghost {
    border: 1px solid var(--line);
    color: var(--sage-deep);
}

.btn--ghost:hover {
    background: var(--sage);
    color: var(--ivory);
    border-color: var(--sage);
    transform: translateY(-3px);
}

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--font-body);
    font-size: 12px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--gold-deep);
    padding-bottom: 4px;
    position: relative;
    transition: color 0.4s var(--ease);
}

body.lang-ka .map-link {
    letter-spacing: 0.1em;
    font-size: 13px;
}

.map-link svg {
    width: 15px;
    height: 15px;
}

.map-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 1px;
    width: 0;
    background: var(--gold-deep);
    transition: width 0.45s var(--ease);
}

.map-link:hover {
    color: var(--sage-deep);
}

.map-link:hover::after {
    width: 100%;
}




.controls {
    position: fixed;
    top: 22px;
    right: 22px;
    z-index: 900;
    display: flex;
    gap: 10px;
    align-items: center;
    opacity: 0;
    transform: translateY(-14px);
    pointer-events: none;
    transition: all 0.7s var(--ease);
}

.controls.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.lang-switch {
    display: flex;
    background: rgba(251, 248, 241, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid var(--line);
    border-radius: 100px;
    padding: 4px;
    box-shadow: var(--shadow-sm);
}

.lang-switch button {
    padding: 8px 15px;
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 11px;
    letter-spacing: 0.14em;
    color: var(--sage-soft);
    transition: all 0.4s var(--ease);
}

.lang-switch button.active {
    background: var(--sage);
    color: var(--ivory);
}

.icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(251, 248, 241, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    display: grid;
    place-items: center;
    color: var(--sage-deep);
    transition: all 0.4s var(--ease);
}

.icon-btn:hover {
    background: var(--sage);
    color: var(--ivory);
}

.icon-btn svg {
    width: 18px;
    height: 18px;
}


.icon-btn .bars {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 15px;
}

.icon-btn .bars i {
    width: 2.5px;
    height: 40%;
    background: currentColor;
    border-radius: 2px;
}

.icon-btn.playing .bars i {
    animation: eq 0.9s ease-in-out infinite;
}

.icon-btn.playing .bars i:nth-child(2) {
    animation-delay: 0.2s;
}

.icon-btn.playing .bars i:nth-child(3) {
    animation-delay: 0.4s;
}

.icon-btn.playing .bars i:nth-child(4) {
    animation-delay: 0.15s;
}

@keyframes eq {

    0%,
    100% {
        height: 30%;
    }

    50% {
        height: 100%;
    }
}











.cinema {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100svh;
    min-height: 560px;
    overflow: hidden;
    display: grid;
    place-items: center;
    text-align: center;
    isolation: isolate;
    padding: 90px 20px 86px;
    
    background:
        radial-gradient(125% 82% at 50% 6%, #eaf1f6 0%, #f2ede2 52%, #e9d8c1 100%);
}


.cine-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}


.cine-stage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 100%;
    aspect-ratio: 1584 / 2832;
    container-type: inline-size;
    overflow: hidden;
}

@media (min-width: 761px) {

    
    .cine-stage {
        border-radius: 4px;
        box-shadow:
            0 2px 10px rgba(62, 52, 38, 0.10),
            0 40px 90px rgba(62, 52, 38, 0.20);
    }
}

.cine-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    
}


.cine-video--second {
    opacity: 0;
    transition: opacity 0.55s ease;
}

/* runtime-captured last frame; replaces the paused videos so scrolling
   away can never reset the picture to the films' first frame */
.cine-freeze {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.cinema.has-freeze .cine-video {
    display: none;
}

.cinema.is-second .cine-video--second {
    opacity: 1;
}

.cinema.is-second .cine-video:not(.cine-video--second) {
    opacity: 0;
    transition: opacity 0.55s ease;
}

.cine-bloom {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    opacity: 0;
    background:
        radial-gradient(140% 110% at 50% 40%, #fffdf6 0%, #faf3e4 55%, #f0e5cd 100%);
    
    transition: opacity 1.15s ease-out;
}

.cinema.is-blooming .cine-bloom {
    opacity: 1;
    
    transition: opacity 0.65s ease-in;
}


.cine-fallback {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.9s ease;
}

.cinema.no-video .cine-video {
    display: none;
}

.cinema.no-video .cine-fallback {
    opacity: 1;
}

.cine-floral {
    position: absolute;
    width: clamp(180px, 32vw, 420px);
    opacity: 0.9;
    pointer-events: none;
}

.cine-floral.tl {
    top: -2%;
    left: -4%;
}

.cine-floral.br {
    bottom: -3%;
    right: -4%;
    transform: scale(-1, -1);
}

@media (max-width: 760px) {
    .cine-floral.br {
        display: none;
    }
}


.cine-scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(180deg,
            rgba(13, 27, 43, 0.34) 0%,
            rgba(13, 27, 43, 0) 30%,
            rgba(13, 27, 43, 0) 56%,
            rgba(18, 28, 23, 0.42) 100%);
    opacity: 0.5;
    transition: opacity 1.4s ease;
}

.cinema.is-revealed .cine-scrim {
    opacity: 1;
}

.cine-letter {
    position: absolute;
    left: 50.4%;
    /* top must stay in sync with LFX_TOP in index.html */
    top: 43.8%;
    width: 52cqi;
    margin-left: -26cqi;
    transform-origin: 50% 0;
    z-index: 2;
    text-align: center;
    pointer-events: none;
    color: #A8863F;
    mix-blend-mode: multiply;
    will-change: transform;
    /* hidden until the JS flap-reveal driver takes over the mask */
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, transparent 100%);
}

.cine-letter.is-gone {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.cl-head {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 600;
    font-size: 5.6cqi;
    line-height: 1;
    letter-spacing: 0.005em;
    text-shadow: 0 1px 1px rgba(107, 78, 30, 0.22);
}

.cl-rule {
    display: block;
    width: 11cqi;
    height: 1px;
    margin: 1.2cqi auto 0;
    background: currentColor;
    opacity: 0.65;
}

.cl-date {

    font-family: 'Libre Baskerville', serif;
    font-size: 2.9cqi;
    line-height: 1.1;
    letter-spacing: 0.02em;
    /* the roomy pause below the headline the user asked for (~1rem) */
    margin-top: 2.8cqi;
    text-shadow: 0 1px 1px rgba(107, 78, 30, 0.18);
}

.cl-sub {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 2.8cqi;
    line-height: 1.2;
    max-width: 26cqi;
    margin: 0.7cqi auto 0;
    text-shadow: 0 1px 1px rgba(107, 78, 30, 0.16);
}

body.lang-ka .cl-head {
    font-style: normal;
    font-weight: 600;
    font-size: 4.3cqi;
}

body.lang-ka .cl-sub {
    font-style: normal;
    font-size: 1.95cqi;
    max-width: 30cqi;
}

.cinema.is-revealed .cine-letter,
.cinema.no-video .cine-letter {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.cine-card {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    padding: clamp(56px, 10vh, 104px) 20px clamp(108px, 15vh, 158px);
    pointer-events: none;
}

.cine-top,
.cine-bottom {
    opacity: 0;
    transform: translateY(26px);
    transition:
        opacity 1.5s var(--ease),
        transform 1.7s var(--ease);
}

.cine-top,
.cine-bottom {
    max-width: min(92cqi, 92vw, 640px);
}

.cinema.is-revealed .cine-top {
    opacity: 1;
    transform: none;
    transition-delay: 0.2s;
}

.cinema.is-revealed .cine-bottom {
    opacity: 1;
    transform: none;
    transition-delay: 0.65s;
}

.cine-eyebrow {
    font-family: var(--font-body);
    letter-spacing: 0.42em;
    text-transform: uppercase;
    font-size: clamp(10px, 2.35cqi, 15px);
    color: var(--gold-soft);
    text-shadow:
        0 1px 2px rgba(9, 24, 40, 0.45),
        0 2px 16px rgba(9, 24, 40, 0.55);
    margin-bottom: clamp(14px, 2.2vh, 22px);
}

body.lang-ka .cine-eyebrow {
    letter-spacing: 0.22em;
}


.cine-names {
    font-family: var(--font-script);
    color: #FBF7EC;
    line-height: 0.95;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: clamp(38px, 10.3cqi, 88px);
    font-weight: 500;
    text-shadow:
        0 2px 8px rgba(9, 24, 40, 0.38),
        0 12px 44px rgba(9, 24, 40, 0.45);
}

body.lang-ka .cine-names {
    font-size: clamp(32px, 8.7cqi, 74px);
    font-weight: 600;
    /* Georgian glyphs are taller than the 0.95 Latin stack allows */
    line-height: 1.12;
}

body.lang-ka .cine-amp {
    /* asymmetric on purpose: the descenders of ლევანი eat into the gap
       above the &, so extra top margin makes the ink gaps optically equal */
    margin: 0.42em 0 0;
}

.cine-amp {
    display: block;
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--gold-soft);
    font-size: 0.5em;
    margin: 0.08em 0;
    font-weight: 400;
    text-shadow: 0 2px 14px rgba(9, 24, 40, 0.5);
}

body.lang-en .cine-amp {
    font-family: var(--font-script);
}



.cine-rule {
    display: block;
    width: 64px;
    height: 1px;
    margin: clamp(16px, 2.6vh, 26px) auto 0;
    background: var(--gold-soft);
    opacity: 0.9;
    box-shadow: 0 0 12px rgba(203, 180, 137, 0.35);
}

.cine-meta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    color: #F6F1E6;
    font-family: var(--font-body);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: clamp(11px, 2.55cqi, 16px);
    text-shadow:
        0 1px 4px rgba(12, 20, 16, 0.5),
        0 4px 18px rgba(12, 20, 16, 0.45);
}

body.lang-ka .cine-meta {
    letter-spacing: 0.06em;
}

.cine-meta .dot {
    width: 6px;
    height: 6px;
    background: var(--gold-soft);
    transform: rotate(45deg);
    display: inline-block;
    box-shadow: 0 0 8px rgba(203, 180, 137, 0.5);
}

.cine-sub {
    margin-top: clamp(10px, 1.8vh, 16px);
    font-family: var(--font-serif);
    font-style: italic;
    color: rgba(251, 247, 236, 0.94);
    font-size: clamp(15px, 3.5cqi, 23px);
    text-shadow:
        0 1px 4px rgba(12, 20, 16, 0.5),
        0 4px 18px rgba(12, 20, 16, 0.4);
}


.cinema.no-video .cine-card {
    justify-content: center;
    gap: 30px;
}

.cinema.no-video .cine-eyebrow {
    color: var(--gold-deep);
    text-shadow: none;
}

.cinema.no-video .cine-names {
    color: var(--sage-deep);
    text-shadow: none;
}

.cinema.no-video .cine-amp {
    color: var(--gold);
    text-shadow: none;
}

.cinema.no-video .cine-rule {
    background: var(--gold);
    box-shadow: none;
}

.cinema.no-video .cine-meta {
    color: var(--sage);
    text-shadow: none;
}

.cinema.no-video .cine-meta .dot {
    background: var(--gold);
    box-shadow: none;
}

.cinema.no-video .cine-sub {
    color: var(--sage);
    text-shadow: none;
}


.cinema.no-video .scroll-cue {
    color: var(--sage-deep);
    text-shadow: none;
}

.cinema.no-video .scroll-cue .mouse {
    border-color: var(--sage);
    box-shadow: none;
}

.cinema.no-video .scroll-cue .mouse::after {
    background: var(--sage);
}


.cine-start {
    position: absolute;
    inset: 0;
    z-index: 4;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    cursor: pointer;
    background: none;
    padding-bottom: clamp(46px, 11vh, 104px);
    opacity: 1;
    transition: opacity 0.9s var(--ease);
}

.cine-hint {
    font-family: var(--font-body);
    letter-spacing: 0.32em;
    text-transform: uppercase;
    font-size: clamp(12px, 1.7vw, 14px);
    color: var(--sage-deep);
    text-shadow: 0 1px 3px rgba(255, 252, 246, 0.6);
    animation: pulseHint 2.6s ease-in-out infinite;
}

body.lang-ka .cine-hint {
    letter-spacing: 0.16em;
}


.cinema.is-loading .cine-hint--tap {
    display: none;
}

.cinema:not(.is-loading) .cine-hint--loading {
    display: none;
}

.cinema.is-loading .cine-start {
    cursor: default;
}


.cinema:not(.is-idle) .cine-start {
    opacity: 0;
    pointer-events: none;
}

@keyframes pulseHint {
    0%, 100% { opacity: 0.55; }
    50% { opacity: 1; }
}


@media (max-width: 760px) {
    .cine-start {
        background: url("images/intro_poster.jpg") center center / cover no-repeat var(--cream);
    }
}


@media (max-width: 760px) {
    .cine-meta {
        flex-direction: column;
        gap: 7px;
    }

    .cine-meta .dot {
        display: none;
    }
}


.cinema .scroll-cue {
    opacity: 0;
    transition: opacity 1s ease 0.4s;
    color: rgba(255, 252, 246, 0.9);
    text-shadow: 0 1px 5px rgba(40, 54, 44, 0.38);
}

.cinema.is-revealed .scroll-cue {
    opacity: 1;
}

.cinema .scroll-cue .mouse {
    border-color: rgba(255, 252, 246, 0.8);
    box-shadow: 0 1px 8px rgba(40, 54, 44, 0.22);
}

.cinema .scroll-cue .mouse::after {
    background: rgba(255, 252, 246, 0.95);
}

.scroll-cue {
    position: absolute;
    
    left: 0;
    right: 0;
    bottom: 30px;
    margin-inline: auto;
    width: max-content;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--sage-soft);
    font-family: var(--font-body);
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    background: none;
}


.scroll-cue span:last-child {
    padding-left: 0.3em;
}

.scroll-cue .mouse {
    width: 22px;
    height: 36px;
    border: 1px solid var(--sage-mist);
    border-radius: 14px;
    position: relative;
}

.scroll-cue .mouse::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 7px;
    width: 3px;
    height: 7px;
    background: var(--sage);
    border-radius: 3px;
    transform: translateX(-50%);
    animation: wheel 1.8s ease-in-out infinite;
}

@keyframes wheel {
    0% {
        opacity: 0;
        transform: translate(-50%, -4px);
    }

    40% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate(-50%, 10px);
    }
}

.countdown {
    background: var(--ivory-2);
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
    text-align: center;
    
    padding: clamp(40px, 5.5vw, 66px) 0;
}

.countdown__grid {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: clamp(6px, 1.8vw, 20px);
    margin-top: 6px;
    flex-wrap: nowrap;
}

.cd-unit {
    min-width: clamp(46px, 12vw, 84px);
}

.cd-unit .num {
    font-family: var(--font-serif);
    font-size: clamp(32px, 6.4vw, 58px);
    color: var(--sage-deep);
    line-height: 1;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

body.lang-ka .cd-unit .num {
    font-weight: 600;
}

.cd-unit .lbl {
    margin-top: 8px;
    font-family: var(--font-body);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: clamp(8px, 1vw, 10px);
    color: var(--sage-soft);
}

body.lang-ka .cd-unit .lbl {
    letter-spacing: 0.1em;
}

.cd-sep {
    font-family: var(--font-serif);
    font-size: clamp(20px, 4vw, 36px);
    color: var(--gold-soft);
    align-self: flex-start;
    line-height: 1.4;
}




.story__timeline {
    position: relative;
    max-width: 780px;
    margin: 0 auto;
}

.story__timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 6px;
    bottom: 6px;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--line), transparent);
    transform: translateX(-50%);
}

.story-item {
    position: relative;
    width: 50%;
    padding: 26px 44px;
}

.story-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.story-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.story-item .dot {
    position: absolute;
    top: 34px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--ivory);
    border: 2px solid var(--gold);
}

.story-item:nth-child(odd) .dot {
    right: -7px;
}

.story-item:nth-child(even) .dot {
    left: -7px;
}

.story-item .yr {
    font-family: var(--font-body);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 12px;
    color: var(--gold-deep);
}

.story-item h3 {
    font-family: var(--font-display);
    color: var(--sage-deep);
    font-weight: 500;
    font-size: clamp(28px, 4.4vw, 46px);
    margin: 6px 0 10px;
}

body.lang-ka .story-item h3 {
    font-size: clamp(22px, 3.6vw, 34px);
    font-weight: 600;
}

.story-item p {
    color: var(--sage-soft);
    font-family: var(--font-serif);
    font-size: clamp(15px, 2vw, 18px);
    line-height: 1.8;
}

.locations {
    background:
        linear-gradient(var(--cream), var(--cream));
}

.loc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(22px, 3vw, 34px);
}

.loc-card {
    background: var(--card);
    border: 1px solid var(--line-soft);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
    display: flex;
    flex-direction: column;
}

.loc-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.loc-card__media {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.loc-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.1s var(--ease);
}

.loc-card:hover .loc-card__media img {
    transform: scale(1.06);
}

.loc-card__media .num {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(251, 248, 241, 0.92);
    backdrop-filter: blur(6px);
    display: grid;
    place-items: center;
    font-family: var(--font-serif);
    font-size: 20px;
    color: var(--sage-deep);
    box-shadow: var(--shadow-sm);
}


.loc-card__media .time {
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px 10px 13px;
    border-radius: 100px;
    background: rgba(251, 248, 241, 0.94);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 22px rgba(30, 45, 32, 0.3);
    color: var(--sage-deep);
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: 0.05em;
    font-size: 16px;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.loc-card__media .time::before {
    content: "";
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    background: var(--gold-deep);
    -webkit-mask: center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7.5V12l3.2 1.9'/%3E%3C/svg%3E");
    mask: center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7.5V12l3.2 1.9'/%3E%3C/svg%3E");
}

.loc-card__body {
    padding: 26px 26px 30px;
    display: flex;
    flex-direction: column;
    flex: 1;
    text-align: center;
}

.loc-card__body .kind {
    font-family: var(--font-body);
    letter-spacing: 0.24em;
    text-transform: uppercase;
    font-size: 11px;
    color: var(--gold-deep);
    margin-bottom: 8px;
}

body.lang-ka .loc-card__body .kind {
    letter-spacing: 0.1em;
}

.loc-card__body h3 {
    font-family: var(--font-display);
    color: var(--sage-deep);
    font-weight: 500;
    font-size: clamp(26px, 3.2vw, 38px);
    line-height: 1.1;
    margin-bottom: 12px;
}

body.lang-ka .loc-card__body h3 {
    font-size: clamp(20px, 2.6vw, 27px);
    font-weight: 600;
}

.loc-card__body .addr {
    color: var(--sage-soft);
    font-family: var(--font-serif);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 14px;
}

.loc-card__body .desc {
    color: var(--taupe);
    font-family: var(--font-serif);
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 22px;
}

.loc-card__body .map-link {
    margin-top: auto;
    align-self: center;
}

.venue {
    text-align: center;
    overflow: hidden;
}

.venue__heads {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(10px, 4vw, 60px);
}

.venue__bird {
    width: clamp(120px, 22vw, 260px);
    opacity: 0.95;
    will-change: transform;
}

.venue__title {
    font-family: var(--font-display);
    color: var(--sage-deep);
    font-weight: 500;
    font-size: clamp(40px, 8vw, 90px);
    line-height: 1;
}

body.lang-ka .venue__title {
    font-size: clamp(28px, 6vw, 58px);
    font-weight: 600;
}

.venue__name {
    margin-top: 26px;
    font-family: var(--font-serif);
    letter-spacing: 0.06em;
    color: var(--sage-soft);
    font-size: clamp(24px, 4vw, 40px);
}

.venue__frame {
    max-width: 1000px;
    margin: clamp(36px, 6vw, 66px) auto 0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.venue__frame img {
    width: 100%;
    height: clamp(280px, 52vw, 560px);
    object-fit: cover;
}

.venue__addr {
    margin-top: 34px;
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--sage);
    font-size: clamp(18px, 2.6vw, 26px);
    line-height: 1.5;
}

.venue .map-link {
    margin-top: 26px;
}

.dress {
    background: var(--ivory-2);
    text-align: center;
    overflow: hidden;
}

.dress__top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(10px, 5vw, 70px);
}

.dress__bow {
    width: clamp(100px, 18vw, 210px);
}

.dress__bow.l {
    animation: floatY 5s ease-in-out infinite;
}

.dress__bow.r {
    animation: floatY 5s ease-in-out infinite reverse;
}

@keyframes floatY {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(14px);
    }
}

.dress__note {
    margin: 16px auto 0;
    max-width: 640px;
    color: var(--sage-soft);
    font-family: var(--font-serif);
    font-size: clamp(16px, 2.1vw, 19px);
    line-height: 1.8;
}

.dress__swatches {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 26px 0 4px;
}

.dress__swatches i {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(60, 55, 45, 0.18);
}


.dress__illustration {
    max-width: 860px;
    margin: clamp(30px, 5vw, 52px) auto 0;
}

.dress__illustration img {
    width: 100%;
    border-radius: clamp(14px, 2.2vw, 24px);
    box-shadow: var(--shadow-md);
}


.dress-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(20px, 3vw, 30px);
    max-width: 820px;
    margin: clamp(34px, 5vw, 56px) auto 0;
}

.dc-card {
    background: var(--card);
    border: 1px solid var(--line-soft);
    border-radius: 18px;
    padding: clamp(30px, 4vw, 46px) 26px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.dc-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}


.dc-icon {
    width: clamp(180px, 66%, 240px);
    margin: 0 auto 14px;
}

.dc-icon img {
    width: 100%;
    height: auto;
    display: block;
    
    mix-blend-mode: multiply;
}

.dc-kind {
    display: block;
    font-family: var(--font-body);
    letter-spacing: 0.24em;
    text-transform: uppercase;
    font-size: 11px;
    color: var(--gold-deep);
    margin-bottom: 10px;
}

body.lang-ka .dc-kind {
    letter-spacing: 0.1em;
}

.dc-card h3 {
    font-family: var(--font-display);
    color: var(--sage-deep);
    font-weight: 500;
    font-size: clamp(24px, 3.2vw, 34px);
    line-height: 1.15;
    margin-bottom: 12px;
}

body.lang-ka .dc-card h3 {
    font-size: clamp(19px, 2.6vw, 25px);
    font-weight: 600;
}

.dc-card p {
    color: var(--sage-soft);
    font-family: var(--font-serif);
    font-size: clamp(15px, 2vw, 17px);
    line-height: 1.75;
}

@media (max-width: 620px) {
    .dress-cards {
        grid-template-columns: 1fr;
        max-width: 420px;
    }
}




.gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    grid-auto-rows: clamp(240px, 30vw, 360px);
    gap: 16px;
}

.g-item {
    overflow: hidden;
    border-radius: 12px;
    position: relative;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    background: var(--ivory-2);
}

.g-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s var(--ease);
}

.g-item:hover img {
    transform: scale(1.08);
}

.g-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(59, 79, 65, 0);
    transition: background 0.4s var(--ease);
}

.g-item:hover::after {
    background: rgba(59, 79, 65, 0.18);
}


.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1200;
    background: rgba(28, 32, 27, 0.92);
    display: none;
    place-items: center;
    padding: 30px;
    backdrop-filter: blur(4px);
}

.lightbox.open {
    display: grid;
}

.lightbox img {
    max-width: 92vw;
    max-height: 88vh;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

.lightbox .lb-close {
    position: absolute;
    top: 22px;
    right: 26px;
    color: #fff;
    font-size: 34px;
    line-height: 1;
    opacity: 0.8;
}

.lightbox .lb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 40px;
    padding: 20px;
    opacity: 0.7;
    transition: opacity 0.3s;
    user-select: none;
}

.lightbox .lb-nav:hover {
    opacity: 1;
}

.lightbox .lb-prev {
    left: 8px;
}

.lightbox .lb-next {
    right: 8px;
}




.footer {
    background: var(--sage-deep);
    color: var(--ivory);
    text-align: center;
    padding: clamp(70px, 10vw, 120px) 20px clamp(40px, 6vw, 60px);
    position: relative;
    overflow: hidden;
}

.footer__mono {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    border: 1px solid rgba(203, 180, 137, 0.5);
    display: grid;
    place-items: center;
    margin: 0 auto 30px;
    font-family: var(--font-serif);
    font-size: 32px;
    color: var(--gold-soft);
}

.footer__names {
    font-family: var(--font-script);
    font-size: clamp(50px, 12vw, 110px);
    line-height: 1;
    color: var(--ivory);
}

body.lang-ka .footer__names {
    font-family: var(--font-serif);
    font-size: clamp(34px, 9vw, 78px);
}

.footer__date {
    margin-top: 20px;
    font-family: var(--font-body);
    letter-spacing: 0.28em;
    text-transform: uppercase;
    font-size: 13px;
    color: rgba(247, 243, 234, 0.75);
}

body.lang-ka .footer__date {
    letter-spacing: 0.14em;
}

.footer__thanks {
    margin-top: 30px;
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--gold-soft);
    font-size: clamp(17px, 2.4vw, 22px);
}

.footer__sig {
    margin-top: 46px;
    font-family: var(--font-body);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(247, 243, 234, 0.45);
}

.footer__sig a {
    color: var(--gold-soft);
}

.reveal {
    opacity: 0;
    transform: translateY(64px);
    /* opacity ramps in gently while the rise decelerates into place */
    transition:
        opacity 1.6s cubic-bezier(0.33, 0.12, 0.2, 1),
        transform 1.9s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal.in {
    opacity: 1;
    transform: none;
}

.reveal.scale {
    transform: translateY(72px) scale(0.96);
}

.reveal.scale.in {
    transform: none;
}


.reveal.d1 {
    transition-delay: 0.12s;
}

.reveal.d2 {
    transition-delay: 0.24s;
}

.reveal.d3 {
    transition-delay: 0.36s;
}

.reveal.d4 {
    transition-delay: 0.48s;
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}




@media (max-width: 980px) {
    .loc-grid {
        grid-template-columns: 1fr;
        max-width: 460px;
        margin-inline: auto;
    }
}

@media (max-width: 760px) {

    
    .story__timeline::before {
        left: 8px;
    }

    .story-item {
        width: 100%;
        left: 0 !important;
        text-align: left !important;
        padding: 20px 10px 20px 40px;
    }

    .story-item .dot {
        left: 1px !important;
        right: auto !important;
    }

    .venue__bird {
        width: 90px;
    }

    .controls {
        top: 16px;
        right: 16px;
    }
}

@media (max-width: 460px) {
    .cd-sep {
        display: none;
    }

    .countdown__grid {
        gap: 6px;
    }
}
