/* =====================================
   SHOAIBECOM — ABOUT PAGE
   (needs css/common.css loaded first)
===================================== */

/* STORY */

.story {
    padding: 120px 0 130px;
}

.story-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 100px;
    align-items: center;
}

.story-visual {
    position: relative;
    height: 580px;
}

.story-visual > img {
    filter: saturate(.65);
}

.story-badge {
    position: absolute;
    right: -30px;
    bottom: 40px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--wine);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    letter-spacing: 1.5px;
    box-shadow: 0 12px 30px color-mix(in srgb, var(--wine-shadow) 20%, transparent);
    animation: spin 24s linear infinite;
}

.story-badge b {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--rose-soft);
}

.story-copy .section-title {
    margin-bottom: 26px;
}

.story-lead {
    font: italic 21px/1.5 var(--serif);
    color: var(--wine);
    max-width: 440px;
    margin: 0 0 20px;
}

.story-body {
    max-width: 470px;
    font-size: 13px;
    line-height: 1.95;
    color: var(--muted);
    margin: 0 0 14px;
}

.story-stats {
    display: flex;
    gap: 44px;
    margin-top: 40px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
}

.story-stats div {
    display: flex;
    flex-direction: column;
}

.story-stats strong {
    font: 800 34px var(--display);
    color: var(--wine);
}

.story-stats span {
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #8c817d;
}

/* TICKER */

.about-ticker {
    overflow: hidden;
    background: var(--wine);
    color: #fff;
    padding: 22px 0;
    white-space: nowrap;
}

.about-ticker-track {
    display: flex;
    align-items: center;
    gap: 40px;
    width: max-content;
    animation: aboutTicker 30s linear infinite;
    font: 800 34px var(--display);
    letter-spacing: -1px;
}

.about-ticker-track span:nth-of-type(2n) {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    color: var(--rose-light);
}

.about-ticker-track i {
    font-style: normal;
    color: var(--rose-soft);
    font-size: 24px;
}

@keyframes aboutTicker {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* VALUES */

.values {
    padding: 130px 0;
}

.values .section-heading {
    margin-bottom: 60px;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.value-card {
    padding: 34px 28px 36px;
    background: #fffdfa;
    border: 1px solid var(--line);
    transition: transform .45s var(--ease), box-shadow .45s, border-color .45s;
}

.value-card:hover {
    transform: translateY(-8px);
    border-color: color-mix(in srgb, var(--wine) 35%, transparent);
    box-shadow: 0 22px 45px color-mix(in srgb, var(--wine-dark) 12%, transparent);
}

.value-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--wine);
    color: #fff;
    font-size: 22px;
    margin-bottom: 30px;
    transition: transform .5s var(--ease);
}

.value-card:hover .value-icon {
    transform: rotate(20deg) scale(1.08);
}

.value-card h3 {
    font: 700 20px var(--display);
    letter-spacing: -.5px;
    margin: 0 0 10px;
}

.value-card p {
    font-size: 12px;
    line-height: 1.85;
    color: var(--muted);
    margin: 0;
}

/* PROCESS */

.proc {
    background: var(--paper-2);
    padding: 125px 0 135px;
}

.proc .section-heading {
    margin-bottom: 60px;
}

.proc-list {
    border-top: 1px solid var(--line);
}

.proc-step {
    display: grid;
    grid-template-columns: 70px 80px minmax(0, 1fr) 180px;
    align-items: center;
    gap: 25px;
    padding: 30px 10px;
    border-bottom: 1px solid var(--line);
    transition: padding .35s, background .35s;
}

.proc-step:hover {
    padding-inline: 24px;
    background: #f6f2ed;
}

.proc-num {
    font-size: 11px;
    font-weight: 700;
    color: var(--wine);
}

.proc-icon {
    width: 52px;
    height: 52px;
    border: 1px solid color-mix(in srgb, var(--wine) 30%, transparent);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--wine);
    font-size: 22px;
    transition: background .3s, color .3s, transform .3s;
}

.proc-step:hover .proc-icon {
    background: var(--wine);
    color: #fff;
    transform: rotate(12deg);
}

.proc-body h3 {
    font: 700 23px var(--display);
    letter-spacing: -.6px;
    margin: 0 0 6px;
}

.proc-body p {
    font-size: 12px;
    color: var(--muted);
    margin: 0;
}

.proc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .45s var(--ease), opacity .35s, margin .35s;
}

.proc-step:hover .proc-tags {
    max-height: 60px;
    opacity: 1;
    margin-top: 14px;
}

.proc-tags li {
    font-size: 10px;
    font-weight: 600;
    padding: 6px 11px;
    border-radius: 30px;
    background: var(--wine);
    color: #fff;
}

.proc-meta {
    justify-self: end;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1.4px;
    color: #918681;
}

/* RESPONSIVE */

@media (max-width: 1050px) {
    .story-grid {
        gap: 60px;
    }

    .value-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .story {
        padding: 80px 0 90px;
    }

    .story-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 48px;
    }

    .story-visual {
        height: 400px;
        margin-right: 18px;
    }

    .story-badge {
        right: -18px;
        width: 96px;
        height: 96px;
    }

    .story-stats {
        gap: 26px;
    }

    .story-stats strong {
        font-size: 27px;
    }

    .about-ticker-track {
        font-size: 24px;
        gap: 26px;
    }

    .values,
    .proc {
        padding: 90px 0;
    }

    .value-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .proc-step {
        grid-template-columns: 36px 48px minmax(0, 1fr);
        gap: 14px;
        padding: 24px 2px;
    }

    .proc-icon {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }

    .proc-body h3 {
        font-size: 19px;
    }

    .proc-meta {
        display: none;
    }

    /* no hover on phones, so always show the tags */
    .proc-tags {
        max-height: none;
        opacity: 1;
        margin-top: 12px;
    }
}
