/* ==========================================================================
   Our Story page
   ========================================================================== */

/* Hero -------------------------------------------------------------------- */
.sg-story-hero {
    background:
        radial-gradient(circle at 100% 0%, rgba(194, 154, 72, .2), transparent 40%),
        var(--sg-ivory);
    overflow: hidden;
}

.sg-story-hero__grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 3.5rem;
}

.sg-story-crumb { display: flex; align-items: center; gap: .45rem; margin-bottom: 1.5rem; font-size: .8rem; color: var(--sg-muted); }
.sg-story-crumb a { color: var(--sg-wine); text-decoration: none; }
.sg-story-crumb i { font-size: .6rem; }

.sg-story-hero__title {
    margin: .9rem 0 1.25rem;
    font-family: var(--sg-serif);
    font-size: clamp(2.8rem, 6.2vw, 5rem);
    font-weight: 600;
    line-height: .98;
    color: var(--sg-ink);
}

.sg-story-hero__title em { color: var(--sg-wine); }

.sg-story-hero__lead { max-width: 540px; font-size: 1.08rem; line-height: 1.85; color: var(--sg-muted); }
.sg-story-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

/* Photo collage */
.sg-story-collage {
    position: relative;
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1rem;
    height: 540px;
}

.sg-story-collage img { width: 100%; height: 100%; object-fit: cover; box-shadow: var(--sg-shadow); }

.sg-story-collage__main { grid-row: span 2; border-radius: 999px 999px 24px 24px; }
.sg-story-collage__side--top { border-radius: 24px 24px 24px 120px; }
.sg-story-collage__side--bottom { border-radius: 24px; }

.sg-story-collage__seal {
    position: absolute;
    left: 50%;
    bottom: -26px;
    width: 116px !important;
    height: 116px !important;
    margin-left: -10px;
    border-radius: 50%;
    border: 6px solid var(--sg-ivory);
    animation: sg-story-spin 45s linear infinite;
}

@keyframes sg-story-spin { to { transform: rotate(360deg); } }

/* Stats ------------------------------------------------------------------- */
.sg-story-stats { border-top: 1px solid var(--sg-line); border-bottom: 1px solid var(--sg-line); }

.sg-story-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 0;
}

.sg-story-stats__grid > div { padding: .5rem 1.5rem; text-align: center; }
.sg-story-stats__grid > div + div { border-left: 1px solid var(--sg-line); }

.sg-story-stats dt {
    order: 2;
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--sg-muted);
}

.sg-story-stats dd {
    margin: 0 0 .3rem;
    font-family: var(--sg-serif);
    font-size: clamp(2.6rem, 5vw, 3.8rem);
    font-weight: 600;
    line-height: 1;
    color: var(--sg-wine);
}

.sg-story-stats dd sup { font-size: .45em; color: var(--sg-gold); }
.sg-story-stats__word { font-style: italic; }
.sg-story-stats__grid > div { display: flex; flex-direction: column-reverse; }

/* Manifesto --------------------------------------------------------------- */
.sg-manifesto {
    position: relative;
    background:
        radial-gradient(circle at 10% 0%, rgba(228, 201, 135, .18), transparent 45%),
        radial-gradient(circle at 90% 100%, rgba(228, 201, 135, .12), transparent 45%),
        var(--sg-wine);
    color: #fff;
    text-align: center;
    overflow: hidden;
}

.sg-manifesto .container { max-width: 960px; }
.sg-manifesto__mark { display: block; font-size: 3rem; line-height: 1; color: var(--sg-gold-300); opacity: .7; }

.sg-manifesto__quote {
    margin: 1rem 0 1.5rem;
    font-family: var(--sg-serif);
    font-size: clamp(1.6rem, 3.4vw, 2.6rem);
    font-weight: 500;
    line-height: 1.35;
}

.sg-manifesto__quote em { color: var(--sg-gold-300); }

.sg-manifesto__sign { font-size: .78rem; letter-spacing: .25em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }

/* Journey ----------------------------------------------------------------- */
.sg-journey {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: none;
}

/* dotted thread connecting the steps */
.sg-journey::before {
    content: '';
    position: absolute;
    top: 52px;
    left: 12%;
    right: 12%;
    border-top: 2px dashed var(--sg-gold-300);
}

.sg-journey__step {
    position: relative;
    padding: 0 .75rem;
    text-align: center;
}

.sg-journey__num {
    display: block;
    margin-bottom: .5rem;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .2em;
    color: var(--sg-gold);
}

.sg-journey__icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    margin-bottom: 1.25rem;
    border-radius: 50%;
    background: #fff;
    color: var(--sg-wine);
    font-size: 1.6rem;
    box-shadow: 0 0 0 8px var(--sg-white), 0 0 0 9px var(--sg-line), var(--sg-shadow-sm);
    transition: background .3s var(--sg-ease), color .3s var(--sg-ease);
}

.sg-journey__step:hover .sg-journey__icon { background: var(--sg-wine); color: var(--sg-gold-300); }

.sg-journey__step h3 { font-family: var(--sg-serif); font-size: 1.45rem; font-weight: 600; color: var(--sg-ink); }
.sg-journey__step p { margin: 0; font-size: .93rem; line-height: 1.7; color: var(--sg-muted); }

/* Weaves ------------------------------------------------------------------ */
.sg-weaves {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.sg-weave {
    display: flex;
    flex-direction: column;
    padding: .75rem .75rem 1.25rem;
    border-radius: 999px 999px 24px 24px;
    background: #fff;
    border: 1px solid var(--sg-line);
    color: var(--sg-ink);
    text-decoration: none;
    transition: transform .35s var(--sg-ease), box-shadow .35s var(--sg-ease);
}

.sg-weave:hover { transform: translateY(-6px); box-shadow: var(--sg-shadow); color: var(--sg-ink); }

.sg-weave__img {
    display: block;
    aspect-ratio: 4 / 5;
    border-radius: 999px 999px 18px 18px;
    overflow: hidden;
}

.sg-weave__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--sg-ease); }
.sg-weave:hover .sg-weave__img img { transform: scale(1.06); }

.sg-weave__name {
    margin-top: 1rem;
    font-family: var(--sg-serif);
    font-size: 1.35rem;
    font-weight: 600;
    text-align: center;
    text-transform: capitalize;
}

.sg-weave__count { margin-top: .2rem; font-size: .8rem; text-align: center; color: var(--sg-muted); }
.sg-weave__count i { font-size: .75rem; color: var(--sg-wine); transition: transform .25s var(--sg-ease); }
.sg-weave:hover .sg-weave__count i { transform: translateX(4px); }

/* Promises ---------------------------------------------------------------- */
.sg-promises {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 3rem;
    align-items: center;
}

.sg-promises__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.sg-promise-card {
    padding: 1.6rem;
    border-radius: 22px;
    border: 1px solid var(--sg-line);
    background: linear-gradient(160deg, var(--sg-ivory), #fff 70%);
    transition: border-color .3s var(--sg-ease), box-shadow .3s var(--sg-ease);
}

.sg-promise-card:hover { border-color: var(--sg-gold-300); box-shadow: var(--sg-shadow-sm); }

.sg-promise-card i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    border-radius: 14px;
    background: var(--sg-gold-100);
    color: var(--sg-wine);
    font-size: 1.3rem;
}

.sg-promise-card h3 { font-family: var(--sg-serif); font-size: 1.3rem; font-weight: 600; color: var(--sg-ink); }
.sg-promise-card p { margin: 0; font-size: .92rem; line-height: 1.65; color: var(--sg-muted); }

/* CTA --------------------------------------------------------------------- */
.sg-story-cta__card {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2rem;
    padding: clamp(1.75rem, 4vw, 3rem);
    border-radius: 32px;
    background:
        radial-gradient(circle at 100% 0%, rgba(228, 201, 135, .2), transparent 45%),
        var(--sg-wine-900);
    color: rgba(255, 255, 255, .8);
    overflow: hidden;
}

.sg-story-cta__strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }

.sg-story-cta__strip img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 999px 999px 16px 16px;
    border: 1px solid rgba(228, 201, 135, .35);
    padding: 4px;
}

.sg-story-cta__strip img:nth-child(2) { transform: translateY(-14px); }

.sg-story-cta h2 {
    font-family: var(--sg-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    line-height: 1.05;
    color: #fff;
}

.sg-story-cta h2 em { color: var(--sg-gold-300); }
.sg-story-cta__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* Responsive -------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .sg-story-hero__grid { grid-template-columns: 1fr; gap: 3rem; }
    .sg-story-collage { height: 440px; }

    .sg-story-stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 1.5rem; }
    .sg-story-stats__grid > div:nth-child(3) { border-left: 0; }

    .sg-journey { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
    .sg-journey::before { display: none; }

    .sg-weaves { grid-template-columns: repeat(2, 1fr); }

    .sg-promises { grid-template-columns: 1fr; gap: 1.5rem; }

    .sg-story-cta__card { grid-template-columns: 1fr; }
    .sg-story-cta__strip { max-width: 420px; }
}

@media (max-width: 575.98px) {
    .sg-story-hero__actions .sg-btn { flex: 1 1 100%; }
    .sg-story-collage { height: 340px; gap: .6rem; }
    .sg-story-collage__seal { width: 84px !important; height: 84px !important; bottom: -18px; border-width: 4px; }

    .sg-story-stats__grid > div { padding: .25rem .5rem; }
    .sg-story-stats dt { font-size: .62rem; letter-spacing: .14em; }

    .sg-journey { grid-template-columns: 1fr; text-align: left; }
    .sg-journey__step {
        display: grid;
        grid-template-columns: auto 1fr;
        column-gap: 1rem;
        padding: 0;
        text-align: left;
    }
    .sg-journey__num { grid-column: 2; margin: 0; }
    .sg-journey__icon { grid-row: 1 / span 3; grid-column: 1; width: 54px; height: 54px; font-size: 1.3rem; box-shadow: 0 0 0 5px #fff, 0 0 0 6px var(--sg-line); }
    .sg-journey__step h3 { grid-column: 2; font-size: 1.25rem; margin-bottom: .25rem; }
    .sg-journey__step p { grid-column: 2; }

    .sg-weaves { gap: .75rem; }
    .sg-weave { padding: .5rem .5rem 1rem; }
    .sg-weave__name { font-size: 1.1rem; }

    .sg-promises__grid { grid-template-columns: 1fr; }

    .sg-story-cta__card { border-radius: 24px; }
    .sg-story-cta__actions .sg-btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .sg-story-collage__seal { animation: none; }
}
