:root {
    /* Website palette */
    --color-primary-bg: #82c3f8;
    --color-secondary-bg: #f5f5f7;
    --color-black-bg: #000000;
    --color-surface: #ffffff;
    --color-surface-strong: rgba(255, 255, 255, 0.94);
    --color-text-primary: #000000;
    --color-text-secondary: #4b5563;
    --color-text-light: rgba(0, 0, 0, 0.8);
    --color-text-muted: #a0a0a0;
    --color-text-white: #ffffff;
    --color-border-light: rgba(0, 0, 0, 0.05);
    --color-overlay-soft: rgba(15, 23, 42, 0.28);
    --color-overlay-strong: rgba(255, 255, 255, 0.65);
    --color-pill-bg: rgba(0, 0, 0, 0.05);
    --color-success-start: #111827;
    --color-success-end: #334155;
    --color-success-label: #64748b;
    --color-body-copy: #475569;
    --color-button-primary: #000000;
    --color-button-primary-text: #ffffff;

    /* Shared shadows */
    --shadow-modal: 0 24px 70px rgba(15, 23, 42, 0.18);
    --shadow-icon: 0 14px 30px rgba(15, 23, 42, 0.18);
    --shadow-button: 0 12px 26px rgba(0, 0, 0, 0.16);

    /* Typography */
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-light: 300;
    --font-regular: 400;
    --font-medium: 500;
    --font-bold: 600;
    --font-size-title: 3rem;
    --font-size-subtitle: 2rem;

    /* Glass */
    --glass-bg: rgba(255, 255, 255, 0.78);
    --glass-bg-dark: rgba(0, 0, 0, 0.48);
    --glass-blur: blur(10px);

    /* Interaction */
    --opacity-hover: 0.6;
    --opacity-focus: 0.8;
    --radius-pill: 9999px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: var(--radius-pill);
    padding: 0.8rem 1.2rem;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.button-outline {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--color-border-light);
    -webkit-backdrop-filter: var(--glass-blur);
    backdrop-filter: var(--glass-blur);
}

.button-outline:hover {
    opacity: var(--opacity-hover);
}

.button-primary {
    background: var(--color-button-primary);
    color: var(--color-button-primary-text);
    box-shadow: var(--shadow-button);
}

.button-primary:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

container {
    max-width: 100%;
    display: flex;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--color-primary-bg);
    color: var(--color-text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* TYPOGRAPHY */

.font-serif {
    font-family: var(--font-serif);
}

.font-sans {
    font-family: var(--font-sans);
}

.font-light {
    font-weight: var(--font-light);
}

.font-medium {
    font-weight: var(--font-medium);
}

.font-bold {
    font-weight: var(--font-bold);
}

/* FONT SIZES */
.title {
    font-size: var(--font-size-title);
}

.subtitle {
    font-size: var(--font-size-subtitle);
}

/* COLOURS */

.text-black {
    color: var(--color-text-primary);
}

.text-gray-500 {
    color: var(--color-text-secondary);
}

.text-gray-600 {
    color: var(--color-text-muted);
}

.bg-primary {
    background-color: var(--color-primary-bg);
}

.bg-secondary {
    background-color: var(--color-secondary-bg);
}

.bg-white {
    background-color: var(--color-surface);
}

.border-gray-100 {
    border-color: var(--color-border-light);
}

/* SEMI-TRANSPARENT EFFECTS */

.glass {
    background: var(--glass-bg);
    -webkit-backdrop-filter: var(--glass-blur);
    backdrop-filter: var(--glass-blur);
}

.glass-dark {
    background: var(--glass-bg-dark);
    -webkit-backdrop-filter: var(--glass-blur);
    backdrop-filter: var(--glass-blur);
}

/* HOVER EFFECTS */

.hover\:opacity-60:hover {
    opacity: var(--opacity-hover);
}

.hover\:opacity-80:hover {
    opacity: var(--opacity-focus);
}

/* TRANSITIONS */

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }

/* SHOP JEWELLERY */
.jewellery-preview-section {
    position: relative;
    z-index: 10;
    padding: clamp(4rem, 8vw, 6.5rem) clamp(1.25rem, 5vw, 4rem);
    background: var(--color-surface);
}

.jewellery-preview-container {
    width: min(100%, 72rem);
    margin: 0 auto;
}

.jewellery-preview-header {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(18rem, 0.55fr);
    gap: clamp(1.5rem, 5vw, 4rem);
    align-items: end;
    margin-bottom: 2.4rem;
}

.jewellery-preview-label {
    margin: 0 0 0.75rem;
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-body-copy);
}

.jewellery-preview-header h2 {
    margin: 0;
    font-family: var(--font-serif);
    font-size: clamp(2.6rem, 5vw, 5rem);
    line-height: 0.95;
    letter-spacing: -0.03em;
}

.jewellery-preview-header > p {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-body-copy);
}

.jewellery-carousel-shell {
    position: relative;
    overflow: hidden;
    cursor: grab;
    margin-inline: -0.75rem;
    padding: 0.75rem;
    user-select: none;
}

.jewellery-carousel-shell::before,
.jewellery-carousel-shell::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 2;
    width: clamp(3rem, 8vw, 7rem);
    pointer-events: none;
}

.jewellery-carousel-shell::before {
    left: 0;
    background: linear-gradient(90deg, var(--color-surface), rgba(255, 255, 255, 0));
}

.jewellery-carousel-shell::after {
    right: 0;
    background: linear-gradient(270deg, var(--color-surface), rgba(255, 255, 255, 0));
}

.jewellery-carousel-shell.is-dragging {
    cursor: grabbing;
}

.jewellery-carousel-shell.is-dragging .jewellery-preview-card {
    pointer-events: none;
}

.jewellery-preview-grid {
    display: flex;
    gap: clamp(2.2rem, 4vw, 3.4rem);
    padding: 0.5rem 0 1.5rem;
    will-change: transform;
    touch-action: pan-y;
}

.jewellery-preview-card {
    flex: 0 0 clamp(17rem, 25vw, 21rem);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 2rem;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 22px 58px rgba(15, 23, 42, 0.1);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.jewellery-preview-card:hover {
    border-color: rgba(0, 0, 0, 0.08);
    transform: translateY(-7px);
    box-shadow: 0 34px 76px rgba(15, 23, 42, 0.15);
}

.jewellery-preview-image {
    position: relative;
    min-height: 17.5rem;
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    background:
        radial-gradient(circle at 64% 26%, rgba(255, 255, 255, 0.88) 0 10%, transparent 11%),
        linear-gradient(135deg, #b8ddfb, #ffffff);
}

.jewellery-preview-card:nth-child(2n) .jewellery-preview-image {
    background:
        radial-gradient(circle at 42% 30%, rgba(255, 255, 255, 0.88) 0 10%, transparent 11%),
        linear-gradient(135deg, #f1ddbc, #ffffff);
}

.jewellery-preview-card:nth-child(3n) .jewellery-preview-image {
    background:
        radial-gradient(circle at 58% 28%, rgba(255, 255, 255, 0.88) 0 10%, transparent 11%),
        linear-gradient(135deg, #d8e5ea, #ffffff);
}

.jewellery-preview-image::before,
.jewellery-preview-image::after {
    content: "";
    position: absolute;
    border-radius: 9999px;
}

.jewellery-preview-image::before {
    top: 50%;
    left: 50%;
    width: 6.4rem;
    height: 6.4rem;
    border: 0.9rem solid rgba(255, 255, 255, 0.82);
    transform: translate(-50%, -50%);
    box-shadow: 0 24px 42px rgba(15, 23, 42, 0.12);
}

.jewellery-preview-image::after {
    top: 34%;
    left: 57%;
    width: 2.3rem;
    height: 2.3rem;
    background: rgba(255, 255, 255, 0.52);
    transform: translate(-50%, -50%);
}

.jewellery-preview-image span {
    position: relative;
    z-index: 1;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.74);
    padding: 0.52rem 0.8rem;
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.jewellery-preview-body {
    padding: 1.2rem;
}

.jewellery-preview-body p,
.jewellery-preview-body h3 {
    margin: 0;
}

.jewellery-preview-body p {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-body-copy);
}

.jewellery-preview-body h3 {
    margin-top: 0.38rem;
    font-family: var(--font-serif);
    font-size: clamp(1.4rem, 2.4vw, 1.85rem);
    line-height: 1.06;
}

.jewellery-preview-details {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
    font-family: var(--font-sans);
    font-size: 0.9rem;
}

.jewellery-preview-details span {
    color: var(--color-body-copy);
}

.jewellery-preview-button {
    width: 100%;
    margin-top: 1.1rem;
    border: 0;
    border-radius: var(--radius-pill);
    background: var(--color-button-primary);
    color: var(--color-button-primary-text);
    padding: 0.82rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.jewellery-preview-button:hover {
    opacity: 0.86;
    transform: translateY(-1px);
}

.jewellery-story-scroll {
    --ring-progress: 0;
    --ring-x: -30vw;
    --ring-y: 20vh;
    --ring-scale: 0.26;
    --ring-opacity: 0;
    --ring-tilt-x: 60deg;
    --ring-tilt-y: -16deg;
    --ring-turn: -28deg;
    --ring-blob-x: 1vw;
    --ring-blob-y: 0vh;
    --ring-bg-rotate: -10deg;
    --ring-bg-scale: 1;
    --ring-orbit-roll: 0deg;
    --ring-caption-y: 0rem;
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    min-height: 330vh;
    background:
        radial-gradient(circle at 16% 18%, rgba(255, 255, 255, 0.92), transparent 17rem),
        radial-gradient(circle at 78% 24%, rgba(255, 255, 255, 0.72), transparent 24rem),
        radial-gradient(circle at 52% 76%, rgba(245, 245, 247, 0.64), transparent 25rem),
        linear-gradient(135deg, #82c3f8 0%, #a9d8ff 42%, #f5f5f7 100%);
    overflow: hidden;
}

.jewellery-story-scroll::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.2;
    background-image:
        linear-gradient(120deg, rgba(255, 255, 255, 0.46) 0 1px, transparent 1px),
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.42) 0 0.16rem, transparent 0.19rem);
    background-size: 6rem 6rem, 4.2rem 4.2rem;
}

.jewellery-story-scroll::after {
    content: "";
    position: absolute;
    left: 5vw;
    bottom: 8vh;
    width: 28rem;
    height: 28rem;
    border-radius: 48% 52% 44% 56%;
    background: rgba(255, 255, 255, 0.24);
    filter: blur(1px);
    transform: rotate(-18deg);
}

.jewellery-story-stage {
    position: sticky;
    top: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1400px;
}

.jewellery-story-visual {
    position: relative;
    width: min(88vw, 54rem);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    transform-style: preserve-3d;
}

.jewellery-story-visual::before {
    content: "";
    position: absolute;
    inset: 5%;
    border-radius: 44% 56% 50% 50%;
    background:
        radial-gradient(circle at 32% 22%, rgba(255, 255, 255, 0.88), transparent 17%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.08));
    box-shadow:
        inset 0 0 5rem rgba(255, 255, 255, 0.35),
        0 4rem 9rem rgba(20, 80, 40, 0.18);
    transform:
        translate3d(var(--ring-blob-x), var(--ring-blob-y), -8rem)
        rotate(var(--ring-bg-rotate))
        scale(var(--ring-bg-scale));
    transition: border-radius 0.65s ease, background 0.65s ease;
}

.ring-orbit {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: clamp(22rem, 46vw, 39rem);
    height: clamp(22rem, 46vw, 39rem);
    border-radius: 9999px;
    transform-style: preserve-3d;
    opacity: var(--ring-opacity);
    filter: drop-shadow(0 3rem 3rem rgba(35, 28, 18, calc(0.22 * var(--ring-opacity))));
    transform:
        translate3d(var(--ring-x), var(--ring-y), 0)
        rotateY(var(--ring-spin, 0deg))
        rotateZ(var(--ring-orbit-roll))
        scale(var(--ring-scale));
    transition: filter 0.45s ease;
}

.ring-float-layer {
    display: grid;
    place-items: center;
    transform-style: preserve-3d;
    animation: ring-float 5.5s ease-in-out infinite;
}

@keyframes ring-float {
    0%,
    100% {
        transform: translate3d(0, -0.7rem, 0) rotateZ(-1.6deg);
    }

    50% {
        transform: translate3d(0, 0.9rem, 2rem) rotateZ(1.8deg);
    }
}

.ring-object {
    --ring-main: #d6a545;
    --ring-light: #fff2bf;
    --ring-shadow: rgba(123, 81, 20, 0.34);
    position: relative;
    width: clamp(14rem, 28vw, 24rem);
    height: clamp(14rem, 28vw, 24rem);
    border-radius: 9999px;
    background:
        radial-gradient(ellipse at 32% 18%, rgba(255, 255, 255, 0.96), transparent 10%),
        radial-gradient(ellipse at 62% 78%, rgba(64, 44, 20, 0.28), transparent 28%),
        conic-gradient(from 210deg, var(--ring-shadow), var(--ring-main), var(--ring-light), var(--ring-main), #ad7f23, var(--ring-shadow));
    box-shadow:
        inset -1.45rem -1.15rem 2.8rem rgba(54, 36, 11, 0.28),
        inset 1.35rem 1rem 2.1rem rgba(255, 255, 255, 0.48),
        inset 0 0 0 0.18rem rgba(255, 255, 255, 0.28),
        0 2.8rem 5.8rem rgba(15, 23, 42, 0.2);
    transform:
        rotateX(var(--ring-tilt-x))
        rotateY(var(--ring-tilt-y))
        rotateZ(var(--ring-turn));
    transition:
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.8s ease,
        background 0.8s ease;
}

.ring-object::before {
    content: "";
    position: absolute;
    inset: 24%;
    border-radius: 9999px;
    background:
        radial-gradient(ellipse at 30% 28%, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.48) 38%, rgba(186, 230, 253, 0.46) 70%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.25));
    box-shadow:
        inset 0.85rem 0.75rem 1.8rem rgba(255, 255, 255, 0.6),
        inset -0.8rem -0.6rem 1.7rem rgba(50, 67, 86, 0.16);
}

.ring-object::after {
    content: "";
    position: absolute;
    top: 2%;
    left: 50%;
    width: clamp(5.5rem, 10vw, 8.4rem);
    height: clamp(5.5rem, 10vw, 8.4rem);
    border-radius: 44% 56% 48% 52%;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(186, 230, 253, 0.68) 44%, rgba(88, 140, 183, 0.5)),
        radial-gradient(circle at 34% 26%, rgba(255, 255, 255, 0.95), transparent 22%);
    box-shadow:
        0 1.1rem 2.4rem rgba(15, 23, 42, 0.18),
        0 0 0 0.62rem rgba(214, 165, 69, 0.55),
        inset 0.6rem 0.65rem 1.5rem rgba(255, 255, 255, 0.66),
        inset -0.65rem -0.65rem 1.5rem rgba(31, 63, 89, 0.22);
    transform: translateX(-50%) translateZ(5.2rem);
}

.ring-object span {
    position: absolute;
    inset: -18%;
    border-radius: 9999px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.36), transparent 62%);
    filter: blur(0.6rem);
    transform: translateZ(-2rem);
}

.jewellery-story-scroll[data-active-ring="pearl"] .ring-object {
    --ring-main: #d9d1c3;
    --ring-light: #ffffff;
    --ring-shadow: rgba(103, 112, 122, 0.28);
    filter: saturate(0.92);
}

.jewellery-story-scroll[data-active-ring="pearl"] {
    --ring-tilt-x: 70deg;
    --ring-tilt-y: 18deg;
    --ring-turn: 34deg;
    --ring-blob-x: -1vw;
    --ring-blob-y: 1vh;
}

.jewellery-story-scroll[data-active-ring="wattle"] .ring-object {
    --ring-main: #f0bd3f;
    --ring-light: #fff4b8;
    --ring-shadow: rgba(136, 89, 10, 0.32);
    filter: saturate(1.08);
}

.jewellery-story-scroll[data-active-ring="wattle"] {
    --ring-tilt-x: 50deg;
    --ring-tilt-y: -34deg;
    --ring-turn: -82deg;
    --ring-blob-x: 0.5vw;
    --ring-blob-y: -1vh;
}

.ring-caption {
    position: absolute;
    bottom: 4%;
    left: 50%;
    z-index: 2;
    transform: translateX(-50%) translateY(var(--ring-caption-y));
    margin: 0;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.72);
    padding: 0.78rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 1rem 2.5rem rgba(15, 23, 42, 0.12);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.jewellery-story-copy {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 34vh;
    padding: 42vh clamp(1.25rem, 6vw, 5rem) 44vh 0;
}

.jewellery-story-panel {
    width: min(100%, 38rem);
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: clamp(1.6rem, 4vw, 3rem) 0;
    box-shadow: none;
    opacity: 0.32;
    transform: translateY(3rem) scale(0.96);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.jewellery-story-panel.is-active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.jewellery-story-panel p:first-child {
    margin: 0 0 0.85rem;
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.17em;
    text-transform: uppercase;
    color: var(--color-body-copy);
}

.jewellery-story-panel h2 {
    margin: 0;
    font-family: var(--font-serif);
    font-size: clamp(3rem, 6.6vw, 6.7rem);
    line-height: 0.9;
    letter-spacing: -0.045em;
}

.jewellery-story-panel span {
    position: relative;
    display: inline-flex;
    width: fit-content;
    margin-top: 1.6rem;
    border-top: 1px solid rgba(15, 23, 42, 0.28);
    border-bottom: 1px solid rgba(255, 255, 255, 0.72);
    padding: 0.9rem 2.5rem 0.85rem 0;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-primary);
}

.jewellery-story-panel span::after {
    content: "";
    position: absolute;
    top: -0.32rem;
    right: 0;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 9999px;
    background: rgba(15, 23, 42, 0.28);
}

.jewellery-story-panel p:last-child {
    max-width: 30rem;
    margin: 1.15rem 0 0;
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.75;
    color: var(--color-body-copy);
}

/* FOOTER */
.brand-link {
    gap: 0.85rem;
}

.brand-mark {
    width: 3.8rem;
    height: 3.8rem;
    border-radius: 9999px;
    background: var(--color-button-primary-text);
    color: var(--color-button-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.1);
    flex-shrink: 0;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.brand-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-text-white);
}

.footer-bottom-container {
    font-size: 0.875rem;
}

/* CONTACT FORM*/
.contact-success-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.contact-success-backdrop {
    position: absolute;
    inset: 0;
    background: var(--color-overlay-soft);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.contact-success-card {
    position: relative;
    width: min(100%, 30rem);
    background: var(--color-surface-strong);
    border: 1px solid var(--color-overlay-strong);
    border-radius: 2rem;
    box-shadow: var(--shadow-modal);
    padding: 2rem 2rem 1.75rem;
    text-align: center;
    animation: contact-popup-in 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-success-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.25rem;
    height: 2.25rem;
    border: 0;
    border-radius: 9999px;
    background: var(--color-pill-bg);
    color: var(--color-text-primary);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
}

.contact-success-icon {
    width: 4.5rem;
    height: 4.5rem;
    margin: 0 auto 1rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-success-start), var(--color-success-end));
    color: var(--color-button-primary-text);
    font-size: 2rem;
    box-shadow: var(--shadow-icon);
}

.contact-success-eyebrow {
    margin: 0 0 0.4rem;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-success-label);
}

.contact-success-title {
    margin: 0 0 0.7rem;
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 2.5rem);
    line-height: 1.05;
}

.contact-success-text {
    margin: 0 auto 1.5rem;
    max-width: 24rem;
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-body-copy);
}

.contact-success-button {
    border: 0;
    border-radius: 9999px;
    background: var(--color-button-primary);
    color: var(--color-button-primary-text);
    padding: 0.95rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    box-shadow: var(--shadow-button);
}

.contact-success-button:hover,
.contact-success-close:hover {
    opacity: 0.8;
}

.contact-success-button:hover {
    transform: translateY(-1px);
}

.contact-success-modal.is-closing {
    animation: contact-popup-out 0.22s ease forwards;
}

@keyframes contact-popup-in {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes contact-popup-out {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@media (max-width: 760px) {
    .jewellery-preview-header {
        grid-template-columns: 1fr;
    }

    .jewellery-story-scroll {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .jewellery-story-stage {
        min-height: 72vh;
    }

    .jewellery-story-copy {
        padding: 0 1.25rem 4rem;
        gap: 2rem;
    }

    .jewellery-story-panel {
        width: 100%;
        min-height: auto;
    }
}

@media (max-width: 560px) {
    .jewellery-preview-card {
        flex-basis: min(82vw, 21rem);
    }

    .jewellery-preview-details {
        flex-direction: column;
        gap: 0.3rem;
    }
}

/* FAQ */

.faq-group {
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.faq-item {
    list-style: none;
    width: 100%;
    border-bottom: 1px solid #e8e8e8;
    transition: border-bottom 0.3s;
}

.faq-item.active{
    border-color: var(--color-success-label);
}

.faq-item.active .faq-button:before{
    background-color: var(--color-success-label);
    transform: rotate(315deg);
}

.faq-item.active .faq-button:after{
    background-color: var(--color-success-label);
    transform: rotate(-315deg);
}

.faq-item.active .faq-answer {
    height: auto;
    padding: 0 clamp(1rem, 2vw, 1.5rem) clamp(1.25rem, 1.3vw, 1.5rem);
    opacity: 1;
}

.faq-button {
    font-size: 1rem;
    line-height: 1.2em;
    text-align: left;
    font-weight: bold;
    padding: clamp(1rem, 1.3vw, 1.25rem);
    border: none;
    background: transparent;
    color: var(--color-button-primary);
    display: block;
    width: 100%;
    position: relative;
    transition:
        background-color 0.3s,
        color 0.3s;
}

.faq-button:hover {
    cursor: pointer;
}

.faq-button:before {
    content: "";
    width: 0.5rem;
    height: 0.125rem;
    background-color: var(--color-button-primary);
    opacity: 1;
    border-radius: 50%;
    position: absolute;
    display: block;
    top: 45%;
    right: 1.5rem;
    transform: rotate(45deg);
    transform-origin: left center;
    transition: transform 0.5s;
}

.faq-button:after {
    content: "";
    width: 0.5rem;
    height: 0.125rem;
    background-color: var(--color-button-primary);
    opacity: 1;
    border-radius: 50%;
    position: absolute;
    display: block;
    top: 45%;
    right: 1.3125rem;
    transform: rotate(-45deg);
    transform-origin: right center;
    transition: transform 0.5s;
}

.faq-button-text {
    width: 80%;
    display: block;
}

.faq-answer {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    justify-content: left;
    line-height: 1.5em;
    width: 90%;
    height: 0;
    margin: 0;
    padding: 0 clamp(1rem, 2vw, 1.5rem);
    opacity: 0;
    color: var(--bodyTextColor);
    overflow: hidden;
    transition:
        opacity 0.3s,
        padding-bottom 0.3s;
}

.faq-answer-text {
    width: 80%;
    display: block;
    justify-content: left;
}
