/* =====================================================================
   Salvatore — Story / Announcement (light cream, layered media)
   ===================================================================== */

.sv-story {
    background: var(--sv-cream);
    color: var(--sv-text);
    padding: var(--sv-section-y) var(--sv-gutter);
    position: relative;
    overflow: hidden;
}

.sv-story::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(60% 50% at 80% 0%, rgba(183, 138, 60, 0.10) 0%, transparent 70%);
    pointer-events: none;
}

.sv-story__inner {
    position: relative;
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 96px);
    align-items: stretch; /* match heights so the visual fills its column */
}

.sv-story--image-left .sv-story__copy  { order: 2; }
.sv-story--image-left .sv-story__media { order: 1; }

/* ---------- copy ---------- */
.sv-story__copy {
    display: flex;
    flex-direction: column;
    justify-content: center; /* still vertically centered next to a tall visual */
    gap: 24px;
    max-width: 540px;
}

.sv-story__title {
    font-family: var(--sv-font-display);
    font-weight: 500;
    color: var(--sv-text);
    font-size: clamp(40px, 5vw, 72px);
    line-height: 1.05;
    letter-spacing: -0.015em;
    margin-top: 6px;
}

.sv-story__title em,
.sv-story__title i {
    font-family: var(--sv-font-script);
    font-style: italic;
    color: var(--sv-brown);
    font-weight: 500;
}

.sv-story__body {
    color: var(--sv-text-soft);
    font-size: clamp(15px, 1.1vw, 17px);
    max-width: 480px;
    line-height: 1.75;
}

.sv-story__signature {
    font-family: var(--sv-font-script);
    font-style: italic;
    color: var(--sv-brown);
    font-size: 20px;
    letter-spacing: 0.02em;
    margin-top: 4px;
}

/* ---------- stats ---------- */
.sv-story__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 20px;
    padding-top: 28px;
    border-top: 1px solid var(--sv-line-soft);
}

.sv-story__stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-right: 14px;
    border-right: 1px solid var(--sv-line-soft);
}

.sv-story__stat:last-child  { border-right: none; padding-right: 0; padding-left: 14px; }
.sv-story__stat:first-child { padding-left: 0; }
.sv-story__stat:nth-child(2) { padding-left: 14px; }

.sv-story__stat strong {
    font-family: var(--sv-font-display);
    font-size: clamp(20px, 2vw, 26px);
    color: var(--sv-text);
    line-height: 1;
}

.sv-story__stat span {
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--sv-text-muted);
}

/* ---------- media (visual column) ---------- */
.sv-story__media {
    position: relative;
    isolation: isolate;
    min-height: clamp(480px, 60vw, 640px);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Decorative gold blob behind the photos */
.sv-story__media-blob {
    position: absolute;
    inset: 8% 4% auto auto;
    width: 70%;
    aspect-ratio: 1 / 1;
    background: radial-gradient(circle at 35% 35%, rgba(183, 138, 60, 0.30), rgba(216, 184, 122, 0.10) 60%, transparent 75%);
    border-radius: 50%;
    filter: blur(40px);
    z-index: 0;
    pointer-events: none;
    animation: sv-story-blob 14s ease-in-out infinite;
}

@keyframes sv-story-blob {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(-4%, 3%) scale(1.06); }
}

/* Main image — bigger, no rotate, fills column */
.sv-story__media-frame {
    position: relative;
    width: 88%;
    max-width: 480px;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: var(--sv-radius-lg);
    background: var(--sv-cream);
    box-shadow: var(--sv-shadow-lg);
    margin-left: auto;
    margin-right: 0;
    z-index: 1;
    line-height: 0; /* kill img baseline gap */
    font-size: 0;
}

.sv-story__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transform: scale(1.06);
    transform-origin: center;
    transition: transform 1.6s var(--sv-ease);
    will-change: transform;
}

.sv-story__media:hover .sv-story__image {
    transform: scale(1.02);
}

/* Polaroid — second image, tilted, in the lower-left of the column */
.sv-story__polaroid {
    position: absolute;
    bottom: 4%;
    left: 0;
    margin: 0;
    width: 44%;
    max-width: 220px;
    background: var(--sv-paper);
    padding: 12px 12px 32px;
    border-radius: 6px;
    box-shadow: var(--sv-shadow-lg);
    rotate: -6deg;
    z-index: 3;
    transition: rotate .8s var(--sv-ease), transform .8s var(--sv-ease);
}

.sv-story__media:hover .sv-story__polaroid {
    rotate: -2deg;
    transform: translateY(-4px);
}

.sv-story__polaroid img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    display: block;
    border-radius: 2px;
}

.sv-story__polaroid-cap {
    margin-top: 10px;
    text-align: center;
    font-family: var(--sv-font-script);
    font-style: italic;
    color: var(--sv-text-muted);
    font-size: 14px;
    line-height: 1;
}

/* Year stamp — circular gold seal in the top-right */
.sv-story__stamp {
    position: absolute;
    top: 4%;
    right: 0;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--sv-gold-soft) 0%, var(--sv-gold) 80%);
    color: var(--sv-paper);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--sv-shadow-md);
    rotate: 12deg;
    z-index: 4;
    animation: sv-story-stamp 8s ease-in-out infinite;
}

.sv-story__stamp::before {
    content: '';
    position: absolute;
    inset: 8px;
    border: 1px dashed rgba(255, 255, 255, 0.45);
    border-radius: 50%;
}

.sv-story__stamp-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    text-align: center;
    line-height: 1;
}

.sv-story__stamp-inner em {
    font-family: var(--sv-font-script);
    font-style: italic;
    font-weight: 600;
    font-size: 22px;
}

.sv-story__stamp-inner small {
    font-size: 9px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
}

@keyframes sv-story-stamp {
    0%, 100% { transform: rotate(0deg); rotate: 12deg; }
    50%      { transform: rotate(0deg); rotate: 8deg; }
}

/* ---------- floating signature badge on the image ---------- */
.sv-story__badge {
    position: absolute;
    bottom: 38%;
    right: 8%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 22px 12px 12px;
    background: var(--sv-paper);
    border-radius: 999px;
    box-shadow: var(--sv-shadow-md);
    animation: sv-float-a 6s ease-in-out infinite;
    z-index: 4;
}

.sv-story__badge-mark {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d8b87a, #6b3f1d);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sv-paper);
    font-family: var(--sv-font-script);
    font-style: italic;
    font-size: 20px;
    font-weight: 600;
    flex-shrink: 0;
}

.sv-story__badge-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.sv-story__badge-text em {
    font-family: var(--sv-font-script);
    font-style: italic;
    color: var(--sv-text);
    font-size: 16px;
}

.sv-story__badge-text small {
    font-size: 9px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--sv-text-muted);
}

/* ---------- caption ---------- */
.sv-story__caption {
    position: absolute;
    bottom: -28px;
    left: 0;
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 11px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--sv-text-muted);
    z-index: 5;
}

.sv-story__caption-line {
    width: 30px;
    height: 1px;
    background: var(--sv-gold);
    opacity: 0.7;
}

@keyframes sv-float-a {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
    .sv-story__badge,
    .sv-story__stamp,
    .sv-story__media-blob {
        animation: none;
    }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
    .sv-story__inner {
        grid-template-columns: 1fr;
        gap: 56px;
    }
    .sv-story--image-left .sv-story__copy,
    .sv-story--image-left .sv-story__media {
        order: initial;
    }
    .sv-story__copy { order: 2; max-width: 100%; }
    .sv-story__media { order: 1; min-height: clamp(420px, 80vw, 600px); }
    .sv-story__media-frame {
        margin-right: auto;
        max-width: 380px;
    }
    .sv-story__polaroid {
        max-width: 160px;
        bottom: -6%;
    }
    .sv-story__stamp {
        width: 100px;
        height: 100px;
    }
    .sv-story__stamp-inner em { font-size: 17px; }
}

@media (max-width: 480px) {
    .sv-story__stats {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .sv-story__stat {
        flex-direction: row;
        align-items: baseline;
        gap: 12px;
        padding: 0 0 12px;
        border-right: none;
        border-bottom: 1px solid var(--sv-line-soft);
    }
    .sv-story__stat:last-child { border-bottom: none; padding: 0; }
    .sv-story__media-frame { width: 100%; }
    .sv-story__polaroid { display: none; }
    .sv-story__badge { right: 0; bottom: 12%; }
    .sv-story__stamp { width: 84px; height: 84px; }
    .sv-story__stamp-inner em { font-size: 15px; }
    .sv-story__stamp-inner small { font-size: 8px; }
}
