/* ==========================================================================
   xity.one — mcbling / y2k chrome metallic / rhinestone honeycomb
   ========================================================================== */

:root {
    /* Palette — Bubblegum Electric, Lip Gloss Dark, Liquid Chrome, Pearlized White,
       Denim Holograph, Baby-Blue Holo, Lemon Rhinestone, Velvet Shadow */
    --c-bubblegum: #ff4fa3;
    --c-lipgloss:  #d65aa6;
    --c-chrome:    #c9ccd4;
    --c-pearl:     #f5f0f7;
    --c-denimholo: #5b4b8a;
    --c-babyblue:  #a0e6ff;
    --c-lemon:     #fff4a8;
    --c-velvet:    #1b1530;

    --chrome-stops: #f5d7e8 0%, #9ea3b0 20%, #dcdfe6 40%, #6b7280 60%, #dcdfe6 80%, #f5d7e8 100%;
    --chrome-fill: linear-gradient(180deg, var(--chrome-stops));

    --font-display: "Rubik Mono One", "Arial Black", sans-serif;
    --font-headline: "Chakra Petch", "Segoe UI", sans-serif;
    --font-body: "Eczar", "Georgia", serif;

    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
    scroll-behavior: smooth;
    background: var(--c-bubblegum);
}

body {
    font-family: var(--font-body);
    color: var(--c-velvet);
    background:
        radial-gradient(ellipse at 20% 10%,  rgba(160, 230, 255, 0.28), transparent 40%),
        radial-gradient(ellipse at 80% 30%,  rgba(255, 244, 168, 0.20), transparent 45%),
        radial-gradient(ellipse at 50% 80%,  rgba(91, 75, 138, 0.30),  transparent 55%),
        linear-gradient(180deg, var(--c-bubblegum) 0%, #ff3f96 50%, var(--c-bubblegum) 100%);
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden;
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><circle cx="10" cy="10" r="4" fill="%23ff4fa3" stroke="%23f5f0f7" stroke-width="1.5"/></svg>') 10 10, auto;
}

/* ---------- Chrome text utility ---------- */
.chrome-text {
    background: var(--chrome-fill);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 2px #ffb6d1, 0 2px 0 #d65aa6;
    letter-spacing: -0.02em;
}

/* ---------- Typography helpers ---------- */
.chakra {
    font-family: var(--font-headline);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eczar {
    font-family: var(--font-body);
    font-weight: 400;
}

.section-headline {
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--c-pearl);
    text-shadow: 0 2px 0 var(--c-lipgloss), 0 4px 12px rgba(27, 21, 48, 0.4);
    margin-bottom: 1.2rem;
}

.micro-label {
    font-family: var(--font-display);
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--c-lipgloss);
    display: inline-block;
}

.manifesto {
    font-family: var(--font-body);
    font-size: 1.125rem;
    line-height: 1.65;
    color: var(--c-pearl);
    max-width: 52ch;
    text-shadow: 0 1px 3px rgba(27, 21, 48, 0.5);
}

.small-manifesto {
    font-size: 1rem;
    margin-top: 1.2rem;
}

/* ---------- Sparkle Ambient Layer ---------- */
.sparkle-layer {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.sparkle-layer .sparkle {
    position: absolute;
    width: 14px;
    height: 14px;
    opacity: 0;
    animation: sparkle-drift 18s linear infinite;
    will-change: transform, opacity;
}

@keyframes sparkle-drift {
    0%   { transform: translate(0, 0) rotate(0deg) scale(0); opacity: 0; }
    20%  { opacity: 0.9; transform: translate(40px, -60px) rotate(18deg) scale(1); }
    50%  { opacity: 0.5; transform: translate(160px, -220px) rotate(45deg) scale(0.8); }
    80%  { opacity: 0.9; transform: translate(320px, -420px) rotate(90deg) scale(1); }
    100% { transform: translate(420px, -560px) rotate(135deg) scale(0); opacity: 0; }
}

/* ---------- Cursor Trail Layer ---------- */
.cursor-trail {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    overflow: hidden;
}

.cursor-heart {
    position: absolute;
    width: 14px;
    height: 14px;
    animation: heart-float 1.2s ease-out forwards;
    will-change: transform, opacity;
    pointer-events: none;
}

@keyframes heart-float {
    0%   { transform: translate(-50%, -50%) scale(1) rotate(0deg); opacity: 1; }
    100% { transform: translate(-50%, -140%) scale(0.3) rotate(15deg); opacity: 0; }
}

/* ---------- Chambers (sections) ---------- */
.chamber {
    position: relative;
    z-index: 2;
    padding: 8vh 6vw;
    overflow: hidden;
}

/* ==========================================================================
   Chamber 1 — The Entry Vestibule
   ========================================================================== */
.chamber-entry {
    min-height: 100vh;
    display: grid;
    place-items: center;
    text-align: center;
}

.entry-glyph-wrap {
    position: relative;
    z-index: 4;
    display: grid;
    place-items: center;
    gap: 1.2rem;
}

.entry-glyph {
    font-family: var(--font-display);
    font-size: clamp(4.5rem, 14vw, 12rem);
    line-height: 1;
    letter-spacing: -0.02em;
    position: relative;
    display: inline-flex;
    align-items: flex-end;
}

.glyph-x {
    font-size: clamp(6rem, 22vw, 18rem);
    line-height: 0.9;
}

.glyph-subscript {
    font-family: var(--font-headline);
    font-size: 0.18em;
    margin-left: 0.1em;
    padding: 0.25em 0.6em;
    background: var(--c-pearl);
    color: var(--c-lipgloss);
    border-radius: 999px;
    border: 1.5px solid var(--c-lipgloss);
    letter-spacing: 0.2em;
    text-transform: lowercase;
    transform: translateY(-0.4em) rotate(-4deg);
    box-shadow: 0 2px 0 var(--c-lipgloss), 0 4px 8px rgba(27, 21, 48, 0.35);
}

.entry-whisper {
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.8vw, 1.4rem);
    color: var(--c-pearl);
    font-style: italic;
    text-shadow: 0 1px 3px rgba(27, 21, 48, 0.6);
}

.entry-sub {
    color: var(--c-pearl);
    font-size: 0.82rem;
    text-shadow: 0 1px 2px rgba(27, 21, 48, 0.5);
}

/* Orbiting cabochon constellation */
.constellation {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    transform: translate(-50%, -50%);
    z-index: 2;
    animation: spin-slow 90s linear infinite;
    will-change: transform;
}

.constellation .cab {
    position: absolute;
    width: 28px;
    height: 32px;
    top: 0;
    left: 0;
    transform-origin: center;
    filter: drop-shadow(0 2px 4px rgba(27, 21, 48, 0.3));
}

.constellation .cab-inner {
    width: 100%;
    height: 100%;
    animation: spin-counter 45s linear infinite;
    transform-origin: center;
}

@keyframes spin-slow {
    0%   { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes spin-counter {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
}

/* Scroll nudge */
.scroll-nudge {
    position: absolute;
    bottom: 3vh;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: grid;
    place-items: center;
    gap: 0.4rem;
    color: var(--c-pearl);
    animation: nudge-bounce 2.2s ease-in-out infinite;
}

.scroll-nudge .chakra {
    font-size: 0.7rem;
    color: var(--c-pearl);
    text-shadow: 0 1px 2px rgba(27, 21, 48, 0.5);
}

.scroll-nudge .arrow {
    width: 24px;
    height: 40px;
}

@keyframes nudge-bounce {
    0%, 100% { transform: translate(-50%, 0); }
    50%      { transform: translate(-50%, 10px); }
}

/* ==========================================================================
   Chamber 2 — The Locker Corridor (Hex Honeycomb)
   ========================================================================== */
.chamber-lockers {
    padding-top: 12vh;
    padding-bottom: 14vh;
}

.chamber-header {
    max-width: 860px;
    margin: 0 auto 4rem;
    text-align: center;
}

.chamber-header-left { text-align: left; margin: 0 0 2rem; }
.chamber-header-center { text-align: center; }

.hex-grid {
    display: grid;
    gap: 0.6rem;
    max-width: 1100px;
    margin: 0 auto;
}

.hex-row {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.8rem;
}

.hex-row-offset {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-top: -3.2rem;
    margin-left: 8.33%;
    margin-right: 8.33%;
}

.hex-row-big {
    grid-template-columns: 2fr 2fr 1fr;
    margin-top: -3.2rem;
    gap: 1.2rem;
}

.hex {
    aspect-ratio: 1.155 / 1;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    transition: transform 320ms var(--ease-spring);
    cursor: pointer;
    position: relative;
}

.hex-inner {
    width: 100%;
    height: 100%;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    background:
        radial-gradient(circle at 30% 25%, rgba(245, 240, 247, 0.9), transparent 45%),
        linear-gradient(180deg, #f5d7e8 0%, #c9ccd4 50%, #6b7280 100%);
    display: grid;
    place-items: center;
    padding: 1rem;
    border: 1.5px solid var(--c-denimholo);
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.3);
}

.hex-inner.hex-pink {
    background:
        radial-gradient(circle at 30% 25%, rgba(245, 240, 247, 0.85), transparent 50%),
        linear-gradient(180deg, #ffb6d1 0%, #ff4fa3 55%, #d65aa6 100%);
}

.hex-inner.hex-holo {
    background:
        radial-gradient(circle at 30% 25%, rgba(245, 240, 247, 0.8), transparent 45%),
        linear-gradient(135deg, #a0e6ff 0%, #ffb6d1 40%, #fff4a8 70%, #c9ccd4 100%);
}

.hex-inner.hex-text,
.hex-inner.hex-hero {
    background:
        radial-gradient(circle at 30% 25%, rgba(245, 240, 247, 0.9), transparent 50%),
        linear-gradient(180deg, #f5d7e8 0%, #9ea3b0 50%, #5b4b8a 100%);
}

.hex-inner.hex-chromeorb {
    background: linear-gradient(180deg, #1b1530 0%, #5b4b8a 100%);
    padding: 0.2rem;
}

.hex-inner.hex-chromeorb svg {
    width: 90%;
    height: 90%;
}

.hex-charm {
    width: 50%;
    height: 50%;
    filter: drop-shadow(0 2px 4px rgba(27, 21, 48, 0.4));
}

.hex-label {
    position: absolute;
    bottom: 22%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.62rem;
    color: var(--c-velvet);
    background: rgba(245, 240, 247, 0.85);
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    border: 1px solid var(--c-lipgloss);
    white-space: nowrap;
}

.hex-word {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 3vw, 2.4rem);
    text-transform: lowercase;
    letter-spacing: -0.02em;
}

.hex-word-big {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 4rem);
    text-transform: lowercase;
    letter-spacing: -0.02em;
    display: block;
    text-align: center;
}

.hex-hero {
    flex-direction: column;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
}

.hex-hero .micro-label {
    color: var(--c-pearl);
    font-size: 0.65rem;
}

.hex-poem {
    font-family: var(--font-body);
    font-style: italic;
    font-size: 0.9rem;
    text-align: center;
    color: var(--c-velvet);
    line-height: 1.35;
    padding: 0 0.5rem;
}

/* Sticker pack — three overlapping chrome shapes at 15° offsets */
.sticker-pack {
    position: relative;
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
}

.sticker-pack .sticker {
    position: absolute;
    width: 50%;
    height: 50%;
    filter: drop-shadow(0 2px 4px rgba(27, 21, 48, 0.4));
}

.sticker-pack .s1 { transform: translate(-18%, -6%) rotate(-15deg); }
.sticker-pack .s2 { transform: translate(0,     0)   rotate(0deg);   z-index: 2; }
.sticker-pack .s3 { transform: translate(18%,   6%)  rotate(15deg); }

/* Hex hover — signature spring bulge */
.hex:hover {
    transform: scale(1.18);
    z-index: 10;
}

.hex.wobble-neighbor {
    transition: transform 320ms var(--ease-spring);
}

/* Big hex override */
.hex-big {
    aspect-ratio: 2.31 / 1;
    clip-path: polygon(12.5% 0%, 87.5% 0%, 100% 50%, 87.5% 100%, 12.5% 100%, 0% 50%);
}

.hex-big .hex-inner {
    clip-path: polygon(12.5% 0%, 87.5% 0%, 100% 50%, 87.5% 100%, 12.5% 100%, 0% 50%);
}

/* ==========================================================================
   Chamber 3 — The Ringtone Room
   ========================================================================== */
.chamber-ringtone {
    padding-top: 0;
    padding-bottom: 14vh;
    background: linear-gradient(180deg, transparent 0%, rgba(27, 21, 48, 0.3) 40%, rgba(27, 21, 48, 0.5) 100%);
}

/* Holographic ticker */
.holo-ticker {
    position: relative;
    width: 100%;
    height: 52px;
    overflow: hidden;
    background: linear-gradient(45deg, #a0e6ff, #ff4fa3, #fff4a8, #c9ccd4, #a0e6ff);
    background-size: 200% 200%;
    animation: holo-shift 6s linear infinite;
    border-top: 2px solid var(--c-velvet);
    border-bottom: 2px solid var(--c-velvet);
    box-shadow: 0 4px 20px rgba(27, 21, 48, 0.4);
    margin-left: -6vw;
    margin-right: -6vw;
    margin-bottom: 6vh;
}

@keyframes holo-shift {
    0%   { background-position: 0% 0%; }
    100% { background-position: 200% 200%; }
}

.holo-ticker-track {
    position: absolute;
    display: flex;
    white-space: nowrap;
    top: 50%;
    transform: translateY(-50%);
    animation: ticker-slide 28s linear infinite;
    mix-blend-mode: overlay;
}

.holo-ticker-track span {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--c-pearl);
    padding-right: 1rem;
    letter-spacing: 0.05em;
}

@keyframes ticker-slide {
    0%   { transform: translate(0, -50%); }
    100% { transform: translate(-50%, -50%); }
}

.ringtone-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4vw;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.ringtone-left {
    background:
        radial-gradient(ellipse at 30% 20%, rgba(255, 182, 209, 0.25), transparent 50%),
        linear-gradient(180deg, rgba(214, 90, 166, 0.35) 0%, rgba(91, 75, 138, 0.55) 100%);
    border-radius: 24px;
    padding: 2rem;
    border: 2px solid var(--c-denimholo);
    box-shadow: 0 10px 40px rgba(27, 21, 48, 0.4), inset 0 0 60px rgba(255, 182, 209, 0.15);
}

.flipphone-wrap {
    position: relative;
    display: grid;
    place-items: center;
    margin-top: 1.5rem;
    overflow: visible;
    padding-top: 30px;
}

.flipphone {
    width: 260px;
    height: auto;
    overflow: visible;
    filter: drop-shadow(0 12px 24px rgba(27, 21, 48, 0.5));
}

.phone-screen {
    position: absolute;
    top: 95px;
    left: 50%;
    transform: translateX(-50%);
    width: 170px;
    height: 130px;
    color: var(--c-babyblue);
    font-family: var(--font-headline);
    text-transform: uppercase;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 8px 4px;
    pointer-events: none;
}

.phone-signal {
    font-size: 0.55rem;
    letter-spacing: 0.1em;
    color: var(--c-lemon);
    white-space: nowrap;
    overflow: hidden;
}

.phone-ticker {
    position: relative;
    height: 60px;
    overflow: hidden;
    font-size: 0.7rem;
    line-height: 1.35;
    display: flex;
    align-items: center;
}

.phone-ticker span {
    display: inline-block;
    white-space: nowrap;
    animation: phone-scroll 30s linear infinite;
    color: var(--c-babyblue);
    text-shadow: 0 0 6px var(--c-babyblue);
    padding-left: 100%;
}

@keyframes phone-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.phone-time {
    font-size: 0.58rem;
    color: var(--c-pearl);
    text-align: right;
}

.ripple-host {
    position: absolute;
    top: 28px;
    right: 8px;
    width: 0;
    height: 0;
    pointer-events: none;
}

.ripple {
    position: absolute;
    width: 120px;
    height: 120px;
    top: -60px;
    left: -60px;
    transform: scale(0.2);
    opacity: 0;
    animation: ripple-expand 800ms ease-out forwards;
    will-change: transform, opacity;
}

@keyframes ripple-expand {
    0%   { transform: scale(0.2); opacity: 1; }
    100% { transform: scale(3); opacity: 0; }
}

.ringtone-left.drop-active {
    background:
        radial-gradient(ellipse at 30% 20%, rgba(255, 182, 209, 0.55), transparent 50%),
        linear-gradient(180deg, rgba(214, 90, 166, 0.55) 0%, rgba(91, 75, 138, 0.75) 100%);
    border-color: var(--c-lemon);
}

/* Right — charm rail */
.ringtone-right {
    padding: 1rem 0;
}

.right-label {
    display: block;
    margin-bottom: 1rem;
    color: var(--c-pearl);
    text-shadow: 0 1px 2px rgba(27, 21, 48, 0.5);
}

.charm-rail {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
    background: rgba(245, 240, 247, 0.12);
    border: 1.5px solid var(--c-denimholo);
    border-radius: 16px;
    padding: 1rem;
    backdrop-filter: blur(4px);
}

.rail-charm {
    display: grid;
    place-items: center;
    gap: 0.3rem;
    padding: 0.6rem 0.4rem;
    background: var(--c-pearl);
    border: 1.5px solid var(--c-lipgloss);
    border-radius: 12px;
    cursor: grab;
    transition: transform 220ms var(--ease-spring), box-shadow 220ms;
    user-select: none;
}

.rail-charm svg {
    width: 40px;
    height: 40px;
    pointer-events: none;
}

.rail-charm:hover {
    transform: scale(1.12) rotate(-4deg);
    box-shadow: 0 6px 18px rgba(27, 21, 48, 0.35);
}

.rail-charm:active,
.rail-charm.dragging {
    cursor: grabbing;
    transform: scale(1.22) rotate(6deg);
    opacity: 0.6;
}

/* ==========================================================================
   Chamber 4 — The Bedazzle Bench (horizontal scroll)
   ========================================================================== */
.chamber-bench {
    padding-top: 12vh;
    padding-bottom: 10vh;
}

.bench-scroll {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--c-lipgloss) transparent;
    padding: 2rem 0;
    gap: 2rem;
    margin: 0 -6vw;
    padding-left: 6vw;
    padding-right: 6vw;
    cursor: grab;
}

.bench-scroll:active { cursor: grabbing; }

.bench-scroll::-webkit-scrollbar { height: 8px; }
.bench-scroll::-webkit-scrollbar-thumb {
    background: var(--c-lipgloss);
    border-radius: 999px;
}

.bench-word {
    flex: 0 0 auto;
    min-width: 64vw;
    min-height: 52vh;
    scroll-snap-align: center;
    display: grid;
    place-items: center;
    border-radius: 28px;
    border: 2px solid var(--c-velvet);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(27, 21, 48, 0.4);
    background-size: 200% 200%;
    background-position: 0% 50%;
    transition: background-position 280ms ease-out;
}

.bench-bg-1 { background-image: linear-gradient(135deg, #ffb6d1 0%, #c9ccd4 100%); }
.bench-bg-2 { background-image: linear-gradient(135deg, #c9ccd4 0%, #5b4b8a 100%); }
.bench-bg-3 { background-image: linear-gradient(135deg, #5b4b8a 0%, #a0e6ff 100%); }
.bench-bg-4 { background-image: linear-gradient(135deg, #a0e6ff 0%, #ff4fa3 100%); }

.bench-big {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 12vw, 9rem);
    line-height: 1;
    letter-spacing: -0.02em;
    text-transform: lowercase;
    display: block;
    text-align: center;
    transform: perspective(600px) rotateX(8deg);
    filter: drop-shadow(0 6px 0 var(--c-lipgloss)) drop-shadow(0 12px 24px rgba(27, 21, 48, 0.5));
}

.bench-count {
    position: absolute;
    bottom: 1.4rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--c-pearl);
    color: var(--c-lipgloss);
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    border: 1.5px solid var(--c-lipgloss);
    font-size: 0.7rem;
    white-space: nowrap;
}

.bench-hint {
    display: block;
    text-align: center;
    color: var(--c-pearl);
    margin-top: 1rem;
    text-shadow: 0 1px 2px rgba(27, 21, 48, 0.5);
}

/* ==========================================================================
   Chamber 5 — The Charm Bracelet Footer
   ========================================================================== */
.chamber-bracelet {
    padding: 8vh 4vw;
    text-align: center;
    background: linear-gradient(180deg, transparent 0%, rgba(27, 21, 48, 0.4) 100%);
}

.bracelet-label {
    display: block;
    color: var(--c-pearl);
    margin-bottom: 2rem;
    text-shadow: 0 1px 2px rgba(27, 21, 48, 0.5);
}

.bracelet {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 0 2rem;
}

.bracelet-chain {
    position: absolute;
    top: 28px;
    left: 0;
    right: 0;
    width: 100%;
    height: 40px;
    pointer-events: none;
    z-index: 1;
}

.charm {
    position: relative;
    z-index: 2;
    width: 44px;
    height: 44px;
    display: inline-block;
    cursor: pointer;
    transition: transform 220ms var(--ease-spring);
    filter: drop-shadow(0 4px 6px rgba(27, 21, 48, 0.45));
    animation: charm-sway 4.2s ease-in-out infinite;
    transform-origin: top center;
}

.charm svg { width: 100%; height: 100%; display: block; }

.charm:hover { transform: scale(1.3) rotate(-8deg); }

.charm:nth-child(2)  { animation-delay: -0.2s; }
.charm:nth-child(3)  { animation-delay: -0.45s; }
.charm:nth-child(4)  { animation-delay: -0.7s; }
.charm:nth-child(5)  { animation-delay: -0.95s; }
.charm:nth-child(6)  { animation-delay: -1.2s; }
.charm:nth-child(7)  { animation-delay: -1.45s; }
.charm:nth-child(8)  { animation-delay: -1.7s; }
.charm:nth-child(9)  { animation-delay: -1.95s; }
.charm:nth-child(10) { animation-delay: -2.2s; }
.charm:nth-child(11) { animation-delay: -2.45s; }
.charm:nth-child(12) { animation-delay: -2.7s; }
.charm:nth-child(13) { animation-delay: -2.95s; }

@keyframes charm-sway {
    0%, 100% { transform: rotate(-6deg) translateY(0); }
    50%      { transform: rotate(6deg)  translateY(3px); }
}

.bracelet-sig {
    display: block;
    margin-top: 1rem;
    color: var(--c-pearl);
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-shadow: 0 1px 2px rgba(27, 21, 48, 0.5);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 880px) {
    .ringtone-split {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .hex-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .hex-row-offset {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        margin-left: 0;
        margin-right: 0;
        margin-top: -2rem;
    }
    .hex-row-big { grid-template-columns: 1fr 1fr; }
    .hex-row-big .hex:nth-child(3) { display: none; }
    .charm-rail { grid-template-columns: repeat(4, 1fr); }
    .bracelet { flex-wrap: wrap; justify-content: center; gap: 0.8rem; }
    .bracelet-chain { display: none; }
    .bench-word { min-width: 84vw; }
}

@media (max-width: 520px) {
    .charm-rail { grid-template-columns: repeat(2, 1fr); }
    .hex-row, .hex-row-offset { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .flipphone { width: 220px; }
    .phone-screen { top: 80px; width: 144px; height: 110px; }
}
