/* ==========================================================================
   Clepsidră - the time that brings us together: the photo is the dial of a gold pocket watch whose hands stop at
   the hour of the ceremony, an hourglass of golden sand runs as the guest scrolls, a clock for every moment, seconds
   lighting up above the titles, fine dials for the countdown, a little hourglass that turns itself over
   Palette: --inv-primary (the engraving: brown-gold, antique pink, watch blue or gold), --inv-accent (the gold and
   the sand), --inv-bg, --inv-text. script.js draws the sand on every canvas.cl-sand
   ========================================================================== */

.clepsidra {
    --cl-script: 'Fleur De Leah', 'Segoe Script', cursive;
    --cl-ink-soft: color-mix(in srgb, var(--inv-text) 70%, var(--inv-bg));
    --cl-line: color-mix(in srgb, var(--inv-primary) 24%, transparent);
    --cl-gold: color-mix(in srgb, var(--inv-accent) 90%, var(--inv-text));
    --cl-gold-light: color-mix(in srgb, var(--inv-accent) 55%, white);
    --cl-gold-dark: color-mix(in srgb, var(--inv-accent) 60%, black);
    --cl-metal: conic-gradient(from 210deg, var(--cl-gold-light), var(--inv-accent), var(--cl-gold-dark), var(--inv-accent), var(--cl-gold-light), var(--inv-accent), var(--cl-gold-dark), var(--cl-gold-light));
    --cl-guilloche: repeating-radial-gradient(circle at 0 0, transparent 0 9px, color-mix(in srgb, var(--inv-accent) 9%, transparent) 9px 10px), repeating-radial-gradient(circle at 100% 100%, transparent 0 9px, color-mix(in srgb, var(--inv-accent) 9%, transparent) 9px 10px);
    --cl-shadow: 0 1px 2px color-mix(in srgb, var(--inv-text) 10%, transparent), 0 26px 50px -34px color-mix(in srgb, var(--inv-text) 55%, transparent);
    --kit-radius: 4px;
    --kit-field-bg: var(--inv-surface);
    --kit-field-border: var(--cl-line);
    font-family: var(--inv-font-body);
    font-weight: 300;
    font-size: 1.02rem;
    line-height: 1.75;
    background:
        radial-gradient(70% 45% at 50% 0%, color-mix(in srgb, var(--inv-accent) 13%, transparent), transparent 75%),
        var(--inv-bg);
    overflow-x: clip;
}
.clepsidra h1, .clepsidra h2, .clepsidra h3 { font-family: var(--inv-font-heading); font-weight: 400; line-height: 1.2; }
:where(.clepsidra) :is(h1, h2, h3) { margin: 0; }
:where(.clepsidra) p { margin: 0 0 .9em; }
.clepsidra strong, .clepsidra b { font-weight: 500; }
.clepsidra a { color: var(--inv-primary); }
.cl-kicker { font-size: .72rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--cl-gold); margin: 0 0 10px; }
.cl-role { font-size: .7rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--cl-ink-soft); margin: 0 0 6px; }
.cl-names-line { font-family: var(--inv-font-heading); font-size: 1.3rem; margin: 0; }
.cl-hero, .cl-main, .cl-footer { position: relative; z-index: 1; }
.cl-hero { z-index: 2; }

/* Cards: ivory with a faint guilloché, as on a watch dial, and a fine gold rule */
.cl-card { position: relative; background: var(--cl-guilloche), var(--inv-surface); background-size: 40px 40px, 40px 40px, auto; border-radius: 4px; box-shadow: var(--cl-shadow), inset 0 0 0 1px color-mix(in srgb, var(--cl-gold) 60%, transparent), inset 0 0 0 5px var(--inv-surface), inset 0 0 0 6px color-mix(in srgb, var(--cl-gold) 30%, transparent); }
.cl-framed { margin: 0; padding: 8px; background: var(--inv-surface); border-radius: 6px; box-shadow: var(--cl-shadow), 0 0 0 1px var(--cl-gold), inset 0 0 0 3px var(--inv-surface), inset 0 0 0 4px color-mix(in srgb, var(--cl-gold) 50%, transparent); }
.cl-framed img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 3px; }

/* ---------- Hands (watch and clocks) ---------- */
.cl-hand { transform-box: view-box; transform-origin: 50% 50%; transform: rotate(var(--to, 0deg)); }
.cl-hand path { fill: none; stroke-linecap: round; }
.kit-js .cl-hero .cl-hand-hour, .kit-js .cl-hero .cl-hand-minute { animation: cl-wind 2.8s cubic-bezier(.3, 0, .2, 1) .6s both; }
.kit-js .cl-hero .cl-hand-minute { animation-duration: 3.2s; }
.kit-js .cl-clock-wrap .cl-hand { transform: rotate(calc(var(--to) - 360deg)); transition: transform 1.8s cubic-bezier(.3, 0, .2, 1) .2s; }
.kit-js .is-visible .cl-clock-wrap .cl-hand { transform: rotate(var(--to)); }
@keyframes cl-wind { from { transform: rotate(calc(var(--to) - 720deg)); } to { transform: rotate(var(--to)); } }

/* ---------- The pocket watch ---------- */
.cl-watch { --s: min(400px, 78vw); position: relative; width: var(--s); margin: 44px 0 0; }
.cl-case { position: relative; z-index: 2; width: 100%; aspect-ratio: 1; border-radius: 50%; padding: 5%; background: var(--cl-metal);
    box-shadow: 0 30px 50px -26px color-mix(in srgb, var(--inv-text) 60%, transparent), inset 0 0 0 2px color-mix(in srgb, white 35%, transparent), inset 0 0 0 calc(var(--s) * .028) color-mix(in srgb, var(--cl-gold-dark) 30%, transparent); }
.cl-dial { position: relative; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; background: var(--inv-surface); box-shadow: inset 0 0 0 2px var(--cl-gold-dark), inset 0 4px 14px rgba(0, 0, 0, .3); }
.cl-dial img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cl-initial { display: grid; place-items: center; width: 100%; height: 100%; font-family: var(--cl-script); font-size: calc(var(--s) * .2); color: var(--inv-primary); }
.cl-face { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.cl-enamel { fill: none; stroke: color-mix(in srgb, var(--inv-surface) 84%, transparent); stroke-width: 30; }
.cl-mark { stroke: color-mix(in srgb, var(--inv-text) 70%, transparent); stroke-width: .7; }
.cl-mark-hour { stroke: var(--inv-primary); stroke-width: 1.6; }
.cl-numeral { font-family: var(--inv-font-heading); font-size: 13px; font-weight: 500; fill: var(--inv-primary); text-anchor: middle; dominant-baseline: central; letter-spacing: -.02em; }
.cl-face .cl-hand-hour path { stroke: var(--cl-gold-dark); stroke-width: 4; }
.cl-face .cl-hand-hour circle { fill: none; stroke: var(--cl-gold-dark); stroke-width: 2; }
.cl-face .cl-hand-minute path { stroke: var(--cl-gold-dark); stroke-width: 2.6; }
.cl-face .cl-hand-minute circle { fill: none; stroke: var(--cl-gold-dark); stroke-width: 1.6; }
.cl-face .cl-hand path, .cl-face .cl-hand circle { filter: drop-shadow(0 1.5px 1.2px rgba(0, 0, 0, .45)); }
.cl-hand-second path { stroke: var(--inv-primary); stroke-width: 1; }
.cl-face .cl-hand-second { animation: cl-tick 60s steps(60) infinite; }
@keyframes cl-tick { to { transform: rotate(360deg); } }
.cl-cap { fill: var(--cl-gold-dark); stroke: var(--cl-gold-light); stroke-width: .8; }
/* the crown, the bow, the chain */
.cl-crown { position: absolute; z-index: 1; left: 50%; top: calc(var(--s) * -.07); width: calc(var(--s) * .1); height: calc(var(--s) * .1); transform: translateX(-50%); border-radius: 4px;
    background: repeating-linear-gradient(90deg, var(--cl-gold-dark) 0 2px, var(--cl-gold-light) 2px 4px, var(--inv-accent) 4px 6px); box-shadow: 0 2px 4px rgba(0, 0, 0, .3); }
.cl-bow { position: absolute; z-index: 0; left: 50%; top: calc(var(--s) * -.16); width: calc(var(--s) * .17); aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; border: calc(var(--s) * .022) solid var(--inv-accent); box-shadow: inset 0 0 0 1px var(--cl-gold-dark), 0 0 0 1px var(--cl-gold-dark); }
.cl-chain { position: absolute; z-index: 0; left: -42%; top: -18%; width: 92%; overflow: visible; pointer-events: none; }
.cl-chain path { fill: none; stroke: var(--inv-accent); stroke-width: 5; stroke-linecap: round; stroke-dasharray: .1 8; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .3)); }
@media (max-width: 699px) { .cl-chain { left: -30%; width: 80%; } }

/* ---------- The hourglass ---------- */
.cl-glass { position: relative; width: 100%; aspect-ratio: 100 / 180; }
.cl-sand, .cl-frame { position: absolute; inset: 0; width: 100%; height: 100%; }
.cl-glass-body { fill: color-mix(in srgb, white 10%, transparent); stroke: color-mix(in srgb, var(--inv-text) 40%, transparent); stroke-width: 1.2; }
.cl-glass-shine { fill: none; stroke: color-mix(in srgb, white 70%, transparent); stroke-width: 2.2; stroke-linecap: round; opacity: .7; }
.cl-post { fill: var(--cl-gold-dark); }
.cl-plate { fill: var(--inv-accent); stroke: var(--cl-gold-dark); stroke-width: 1; }
.cl-side { display: none; }
@media (min-width: 1180px) {
    .cl-side { display: block; position: fixed; z-index: 3; left: 34px; top: 50%; width: 46px; transform: translateY(-50%); pointer-events: none; filter: drop-shadow(0 8px 10px color-mix(in srgb, var(--inv-text) 25%, transparent)); }
}

/* ---------- Seconds that light up ---------- */
.cl-ticks { display: block; width: 210px; margin: 0 auto 10px; overflow: visible; }
.cl-tick { fill: none; stroke: var(--cl-gold); stroke-width: 1.6; stroke-linecap: round; }
.cl-tick-long { stroke: var(--inv-primary); stroke-width: 2; }
.cl-ticks-glass { fill: none; stroke: var(--inv-primary); stroke-width: 1.6; stroke-linecap: round; }
.kit-js .cl-tick { opacity: .12; }
.kit-js .is-visible .cl-tick { animation: cl-light .3s ease calc(.2s + var(--i) * .14s) forwards; }
@keyframes cl-light { to { opacity: 1; } }

/* ---------- Titles ---------- */
.cl-title { margin: 0 auto clamp(30px, 4.5vw, 46px); text-align: center; }
.cl-title h2 { font-size: clamp(1.9rem, 5.4vw, 2.7rem); letter-spacing: .04em; }

/* ---------- Navigation ---------- */
.cl-nav { position: absolute; top: 0; left: 0; right: 0; z-index: 6; display: flex; justify-content: center; padding: 18px; }
.cl-nav .kit-nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 26px; }
.cl-nav a { text-decoration: none; font-size: .74rem; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; color: var(--inv-text); padding: 6px 0; border-bottom: 1px solid transparent; }
.cl-nav a:hover, .cl-nav a.is-current { color: var(--inv-primary); border-bottom-color: var(--cl-gold); }
.cl-nav .kit-nav-brand { font-family: var(--cl-script); font-size: 2rem; letter-spacing: 0; text-transform: none; color: var(--inv-primary); margin-right: auto; border: 0; line-height: 1; }
.cl-nav.is-stuck { justify-content: space-between; align-items: center; padding: 6px clamp(16px, 4vw, 40px); background: color-mix(in srgb, var(--inv-bg) 90%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--cl-line); }
.clepsidra .kit-to-top { border-radius: 50%; background: var(--inv-surface); color: var(--inv-primary); border: 1px solid var(--cl-gold); }
@media (max-width: 899px) {
    .cl-nav { justify-content: flex-end; padding: 12px; }
    .cl-nav .kit-nav-toggle { width: 46px; height: 46px; border-radius: 50%; background: var(--inv-surface); color: var(--inv-primary); border: 1px solid var(--cl-gold); font-size: 1.2rem; }
    .cl-nav .kit-nav-links { display: none; }
    .cl-nav.is-open .kit-nav-links {
        display: flex; flex-direction: column; gap: 12px; position: absolute; top: 66px; left: 12px; right: 12px;
        padding: 24px; border-radius: 4px; background: var(--inv-surface); box-shadow: var(--cl-shadow);
    }
    .cl-nav.is-stuck { padding: 6px 12px; }
}

/* ---------- Hero ---------- */
.cl-hero { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 88px 16px 64px; text-align: center; }
.cl-hero-inner { width: min(760px, 100%); display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; }
.clepsidra .cl-names { font-family: var(--cl-script); font-weight: 400; font-size: clamp(3.8rem, 13vw, 6.6rem); line-height: 1.05; color: var(--inv-primary); display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 0 .24em; overflow-wrap: anywhere; margin: 26px 0 0; }
.cl-and { font-family: var(--inv-font-heading); font-size: .34em; color: var(--cl-gold); }
.cl-hero-date { font-family: var(--inv-font-heading); font-size: 1.36rem; letter-spacing: .05em; margin: 10px 0 2px; }
.cl-hero-place { font-size: .72rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--cl-ink-soft); margin: 0; }
.clepsidra .cl-subtitle { max-width: 42ch; margin: 20px auto 0; color: var(--cl-ink-soft); }
@keyframes cl-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.kit-js .cl-hero-inner > * { animation: cl-rise 1.1s ease 1.4s both; }
.kit-js .cl-hero-inner > .cl-kicker { animation-delay: .1s; }
.kit-js .cl-hero-inner > .cl-watch { animation: cl-rise 1.2s ease .2s both; }
.kit-js .cl-hero-inner > :nth-child(n+4) { animation-delay: 1.8s; }
@media (min-width: 1000px) and (max-height: 900px) { .cl-watch { --s: 360px; } }

/* ---------- Sections ---------- */
.cl-main { width: min(1080px, 100%); margin: 0 auto; padding: 0 16px; }
.cl-section { padding-top: clamp(80px, 11vw, 128px); }
.cl-welcome { text-align: center; max-width: 720px; margin: 0 auto; }
.cl-welcome p { font-size: 1.08rem; }
.clepsidra .cl-welcome-title { font-family: var(--cl-script); font-size: clamp(3rem, 8.4vw, 4.2rem); line-height: 1.1; color: var(--inv-primary); margin-bottom: 12px; }
.cl-quote-author { font-family: var(--inv-font-heading); color: var(--inv-primary); }
.cl-lead { text-align: center; font-style: italic; font-size: 1.14rem; color: var(--cl-ink-soft); max-width: 40ch; margin: 0 auto 26px; }

/* Couple: round portraits inside a ring of minute marks */
.cl-couple-grid { display: grid; gap: 60px; justify-items: center; }
.cl-person { text-align: center; max-width: 380px; display: grid; justify-items: center; }
.cl-cameo { position: relative; margin: 14px 0 30px; width: min(230px, 60vw); aspect-ratio: 1; border-radius: 50%; padding: 7%; background: var(--cl-metal); box-shadow: var(--cl-shadow); }
.cl-cameo::before { content: ""; position: absolute; inset: -13px; border-radius: 50%; pointer-events: none;
    background: repeating-conic-gradient(var(--cl-gold) 0 .6deg, transparent .6deg 6deg); -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 7px), #000 calc(100% - 6px)); mask: radial-gradient(closest-side, transparent calc(100% - 7px), #000 calc(100% - 6px)); }
.cl-cameo img, .cl-cameo .cl-initial { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--cl-gold-dark); }
.cl-person h3 { font-size: 1.5rem; margin: 0 0 8px; letter-spacing: .04em; }
.cl-person p { color: var(--cl-ink-soft); }
@media (min-width: 760px) { .cl-couple-grid { grid-template-columns: 1fr 1fr; align-items: start; } }

/* Family */
.cl-family-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); text-align: center; }
.cl-family-item { padding: 32px 28px; }

/* Story */
.cl-chapters { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(56px, 8vw, 86px); }
.cl-chapter { display: grid; gap: 30px; align-items: center; }
.cl-chapter-photo { aspect-ratio: 4 / 3; }
.cl-chapter-text h3 { font-size: 1.7rem; margin-bottom: 8px; letter-spacing: .03em; }
.cl-chapter-text p:not(.cl-kicker) { color: var(--cl-ink-soft); }
@media (min-width: 900px) {
    .cl-chapter { grid-template-columns: 1fr 1fr; gap: 60px; }
    .cl-chapter:nth-child(even) .cl-chapter-photo { order: 2; }
}

/* Programme: each moment with its clock */
.cl-moments { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.cl-moment { padding: 36px 28px 30px; text-align: center; }
.cl-clock-wrap { margin: 0 auto 14px; }
.cl-clock { display: block; width: 92px; margin: 0 auto; overflow: visible; filter: drop-shadow(0 8px 10px color-mix(in srgb, var(--inv-text) 20%, transparent)); }
.cl-clock-face { fill: var(--inv-surface); stroke: var(--inv-accent); stroke-width: 4; }
.cl-clock-mark { stroke: var(--inv-primary); stroke-width: 2; stroke-linecap: round; }
.cl-clock .cl-hand-hour path { stroke: var(--inv-text); stroke-width: 3.4; }
.cl-clock .cl-hand-minute path { stroke: var(--inv-text); stroke-width: 2; }
.cl-clock-time { font-family: var(--inv-font-heading); font-size: 1.2rem; color: var(--inv-primary); margin: 8px 0 0; letter-spacing: .06em; }
.cl-moment h3 { font-size: 1.4rem; margin: 4px 0 6px; letter-spacing: .03em; }
.cl-moment-place { font-weight: 500; margin: 12px 0 0; }
.cl-moment-address, .cl-moment-notes { color: var(--cl-ink-soft); margin: 0; }
.cl-moment-notes { font-style: italic; margin-top: 6px; }
.clepsidra .kit-button { border-radius: 999px; border: 1px solid var(--cl-gold); color: var(--inv-primary); background: transparent; font-size: .78rem; font-weight: 400; padding: 8px 16px; text-decoration: none; }
.clepsidra .kit-button:hover { background: var(--inv-primary); color: var(--inv-bg); }

/* Countdown: a large hourglass, and fine dials */
.cl-countdown { text-align: center; }
.cl-countdown-glass { width: clamp(110px, 26vw, 150px); margin: 0 auto 26px; filter: drop-shadow(0 16px 18px color-mix(in srgb, var(--inv-text) 25%, transparent)); }
.cl-countdown .kit-countdown { gap: clamp(12px, 3.6vw, 32px); }
.cl-countdown .kit-countdown-unit { min-width: 0; }
.cl-countdown .kit-countdown-value { position: relative; display: grid; place-items: center; width: clamp(66px, 18vw, 110px); aspect-ratio: 1; margin: 0 auto; border-radius: 50%;
    font-family: var(--inv-font-heading); font-size: clamp(1.25rem, 4.8vw, 2.1rem); color: var(--inv-primary);
    background: radial-gradient(circle, var(--inv-surface) 0 62%, transparent 63%), repeating-conic-gradient(var(--cl-gold) 0 .8deg, transparent .8deg 6deg), var(--inv-surface);
    box-shadow: 0 0 0 2px var(--inv-accent), 0 0 0 4px var(--inv-surface), 0 0 0 5px color-mix(in srgb, var(--cl-gold) 60%, transparent), var(--cl-shadow); }
.cl-countdown .kit-countdown-label { margin-top: 14px; opacity: 1; color: var(--cl-ink-soft); }

/* Gallery */
.cl-gallery-grid.kit-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 2vw, 22px); }
.cl-gallery-grid.kit-gallery a { aspect-ratio: 4 / 5; padding: 7px; background: var(--inv-surface); border-radius: 6px; box-shadow: var(--cl-shadow), 0 0 0 1px var(--cl-gold), inset 0 0 0 3px var(--inv-surface), inset 0 0 0 4px color-mix(in srgb, var(--cl-gold) 45%, transparent); }
.cl-gallery-grid.kit-gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; }
@media (min-width: 760px) { .cl-gallery-grid.kit-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* RSVP */
.cl-reply { max-width: 700px; margin: 0 auto; padding: clamp(42px, 6vw, 62px) clamp(28px, 6vw, 58px); }
.clepsidra .inv-rsvp__intro { font-style: italic; font-size: 1.08rem; }
.clepsidra .inv-rsvp__deadline { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cl-gold); }
.clepsidra .inv-rsvp__choice label { border-radius: 999px; }

/* Info, contact */
.cl-info-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.cl-info-item { padding: 36px 28px 20px; text-align: center; }
.cl-info-item h3 { font-size: 1.3rem; color: var(--inv-primary); margin-bottom: 8px; letter-spacing: .04em; }
.cl-faq { max-width: 720px; margin: 44px auto 0; text-align: center; }
.cl-faq details { text-align: left; border-bottom: 1px solid var(--cl-line); }
.cl-faq details:first-of-type { border-top: 1px solid var(--cl-line); }
.cl-faq summary { cursor: pointer; list-style: none; padding: 16px 44px 16px 6px; position: relative; font-family: var(--inv-font-heading); font-size: 1.1rem; letter-spacing: .02em; }
.cl-faq summary::-webkit-details-marker { display: none; }
.cl-faq summary::after { content: ""; position: absolute; right: 10px; top: 50%; width: 16px; height: 16px; border-radius: 50%; transform: translateY(-50%); border: 1.5px solid var(--cl-gold);
    background: linear-gradient(var(--inv-primary), var(--inv-primary)) 50% 25% / 1.5px 35% no-repeat, linear-gradient(var(--inv-primary), var(--inv-primary)) 62% 50% / 30% 1.5px no-repeat; transition: transform .5s; }
.cl-faq details[open] summary::after { transform: translateY(-50%) rotate(180deg); }
.cl-faq summary:focus-visible { outline: 2px solid var(--inv-primary); outline-offset: 2px; }
.cl-faq details p { padding: 0 6px; color: var(--cl-ink-soft); }
.cl-faq details p:last-child { padding-bottom: 16px; }
.cl-contact { text-align: center; }
.cl-contact-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px 60px; }
.cl-contact-person a { text-decoration: none; }

/* Footer: a little hourglass that turns itself over */
.cl-footer { text-align: center; padding: clamp(110px, 15vw, 170px) 16px 70px; }
.cl-turning { width: 74px; margin: 0 auto 28px; animation: cl-turn 9s ease-in-out infinite; filter: drop-shadow(0 10px 12px color-mix(in srgb, var(--inv-text) 25%, transparent)); }
.cl-turning svg { display: block; width: 100%; overflow: visible; }
.cl-turning-sand { fill: var(--inv-accent); }
.cl-turning-top { transform-box: fill-box; transform-origin: 50% 100%; animation: cl-empty 9s linear infinite; }
.cl-turning-bottom { transform-box: fill-box; transform-origin: 50% 100%; animation: cl-fill 9s linear infinite; }
.cl-turning-stream { fill: none; stroke: var(--inv-accent); stroke-width: 1.4; stroke-dasharray: 3 3; animation: cl-stream 9s linear infinite; }
@keyframes cl-turn { 0%, 84% { transform: rotate(0deg); } 96%, 100% { transform: rotate(180deg); } }
@keyframes cl-empty { 0% { transform: scaleY(1); } 82%, 100% { transform: scaleY(0); } }
@keyframes cl-fill { 0% { transform: scaleY(.04); } 82%, 100% { transform: scaleY(1); } }
@keyframes cl-stream { 0% { opacity: 1; stroke-dashoffset: 0; } 80% { opacity: 1; stroke-dashoffset: -120; } 83%, 100% { opacity: 0; } }
.cl-footer-message { font-style: italic; font-size: 1.14rem; color: var(--cl-ink-soft); }
.cl-footer-names { font-family: var(--cl-script); font-size: clamp(3.2rem, 10vw, 5rem); line-height: 1.1; color: var(--inv-primary); margin: 6px 0 10px; }
.cl-hashtag { letter-spacing: .12em; color: var(--inv-primary); }

@media (prefers-reduced-motion: reduce) {
    .kit-js .cl-hero-inner > * { animation: none; }
    .kit-js .cl-hero .cl-hand-hour, .kit-js .cl-hero .cl-hand-minute, .cl-face .cl-hand-second { animation: none; }
    .kit-js .cl-clock-wrap .cl-hand { transform: rotate(var(--to)); transition: none; }
    .kit-js .cl-tick { opacity: 1; animation: none !important; }
    .cl-turning, .cl-turning-top, .cl-turning-bottom, .cl-turning-stream { animation: none; }
}
