/* --------------------------------------------------------------------------------- */
/* About Title */
/* --------------------------------------------------------------------------------- */

.about-header-ff-element-outer {
    height: 60px;
    width: fit-content;
    background-color: var(--primary-color);
    border-radius: 20px;
    display: flex;
    flex-direction: row;
    box-shadow: var(--shadow);
}

.about-header-ff-element-image {
    height: 100%;
    aspect-ratio: 1 / 1;
    background-size: 75%;
    background-position: center center;
    background-repeat: no-repeat;
}

.about-header-ff-element-text {
    color: var(--secondary-color);
    margin-right: 21px;
    line-height: 60px;
}

/* --------------------------------------------------------------------------------- */
/* About Hero */
/* --------------------------------------------------------------------------------- */

.about-title {
    width: 100%;
    display: flex;
    flex-direction: row;
}

.about-title-left {
    width: 103%;
    display: flex;
    flex-direction: column;
    align-items: end;
    justify-content: center;
    gap: 30px;
    z-index: 2;
}

.about-title-left-top {
    font-family: "Fraunces", Georgia, serif;
    text-align: end;
    font-size: 100px;
    font-weight: bold;
    line-height: 90px;
    text-shadow: var(--shadow-medium);
}

.about-title-left-sub {
    color: var(--primary-color-light);
    font-size: 25px;
    text-shadow: var(--shadow);
    text-align: end;
}

.about-title-right {
    width: 100%;
    margin-left: -4%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-title-right-ring-1 {
    width: 95%;
    aspect-ratio: 1 / 1;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    border: solid var(--secondary-color-dark) 2.5px;
    transition: transform 280ms ease, border-color 280ms ease, box-shadow 280ms ease;
}

.about-title-right-ring-2 {
    width: 90%;
    aspect-ratio: 1 / 1;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    border: dashed var(--between-color) 2.5px;
    transition: transform 320ms ease, border-color 280ms ease;
}

.about-title-right-image {
    width: 80%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    border: solid var(--primary-color) 15px;
    box-shadow: var(--shadow);
    background-position: center center;
    background-size: cover;
    transition: transform 320ms ease, border-color 320ms ease, box-shadow 320ms ease, filter 320ms ease;
    background-color: rgb(81,57,38);
    background-image:
        var(--hero-image, none),
        radial-gradient(ellipse at 13% 13%, rgba(112,83,51,0.9) 0%, transparent 65%),
        radial-gradient(ellipse at 38% 13%, rgba(98,77,67,0.9) 0%, transparent 65%),
        radial-gradient(ellipse at 63% 13%, rgba(122,97,84,0.9) 0%, transparent 65%),
        radial-gradient(ellipse at 88% 13%, rgba(105,80,64,0.9) 0%, transparent 65%),
        radial-gradient(ellipse at 13% 38%, rgba(186,145,103,0.9) 0%, transparent 65%),
        radial-gradient(ellipse at 38% 38%, rgba(37,19,5,0.9) 0%, transparent 65%),
        radial-gradient(ellipse at 63% 38%, rgba(54,21,4,0.9) 0%, transparent 65%),
        radial-gradient(ellipse at 88% 38%, rgba(31,17,8,0.9) 0%, transparent 65%),
        radial-gradient(ellipse at 13% 63%, rgba(107,79,38,0.9) 0%, transparent 65%),
        radial-gradient(ellipse at 38% 63%, rgba(104,80,65,0.9) 0%, transparent 65%),
        radial-gradient(ellipse at 63% 63%, rgba(70,50,34,0.9) 0%, transparent 65%),
        radial-gradient(ellipse at 88% 63%, rgba(69,50,41,0.9) 0%, transparent 65%),
        radial-gradient(ellipse at 13% 88%, rgba(81,51,29,0.9) 0%, transparent 65%),
        radial-gradient(ellipse at 38% 88%, rgba(85,54,30,0.9) 0%, transparent 65%),
        radial-gradient(ellipse at 63% 88%, rgba(105,76,57,0.9) 0%, transparent 65%),
        radial-gradient(ellipse at 88% 88%, rgba(64,45,32,0.9) 0%, transparent 65%);
}

.about-title-right:hover .about-title-right-ring-1 {
    transform: scale(1.1);
    border-color: var(--between-color);
}

.about-title-right:hover .about-title-right-ring-2 {
    transform: scale(0.9) rotate(14deg);
    border-color: var(--primary-color-light);
}

.about-title-right:hover .about-title-right-image {
    transform: scale(1.15) rotate(-14deg);
    box-shadow: var(--shadow-strong);
    box-shadow: var(--shadow-strong-blurry);
}

/* --------------------------------------------------------------------------------- */
/* Cards */
/* --------------------------------------------------------------------------------- */

.about-card-grid,
.about-note-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
}

.about-card-grid {
    display: flex;
    gap: 15px;
    align-items: stretch;
    width: 100vw;
    /*margin-left: -67.5px;*/
    margin-left: calc(var(--site-padding) * -1);
    margin-top: -70px;
    margin-bottom: -30px;
    padding: 30px var(--site-padding);
    overflow-x: scroll;
    overflow-y: visible;
}

.about-card {
    flex: 1 0 250px;
    min-height: 100%;
    min-width: 250px;
    padding: 30px;
    border-radius: 30px;
    background: var(--secondary-color-light);
    box-shadow: var(--shadow);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
    opacity: 0;
    animation: about-rise 780ms ease forwards;
}

.about-card:hover {
    transform: scale(1.025);
    box-shadow: var(--shadow-blurry);
}

.about-card-grid .about-card:nth-child(2) {
    animation-delay: 120ms;
}

.about-card-grid .about-card:nth-child(3) {
    animation-delay: 240ms;
}

.about-card__number,
.terms-intro__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.76rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.about-card__number {
    color: var(--about-muted);
}

.about-card__number::after,
.terms-intro__eyebrow::after {
    content: "";
    width: 24px;
    height: 1px;
    background: currentColor;
}

.about-card__title {
    margin: 18px 0 10px;
    font-family: "Fraunces", Georgia, serif;
    font-size: 1.62rem;
    line-height: 1.25;
    letter-spacing: -0.03em;
}

.about-card__text {
    margin: 0;
    color: var(--about-muted);
    line-height: 1.72;
}

@keyframes about-rise {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* --------------------------------------------------------------------------------- */
/* About Copy */
/* --------------------------------------------------------------------------------- */

.text-block {
    width: calc(100% - 60px);
    margin-left: 30px;
    line-height: 1.5;
    text-align: justify;
}

.about-quote {
    position: relative;
    margin: 4px 0 0;
    padding-left: 18px;
    border-left: 2px solid var(--primary-color-light);
    font-size: clamp(18px, 2.4vw, 30px);
    line-height: 1.5;
    font-weight: bold;
    color: var(--primary-color);
}

.about-quote__translate {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(-60%, -50%) rotate(-90deg);
    transform-origin: center;
    font-size: 15px;
    color: var(--primary-color-light);
    font-weight: lighter;
    white-space: nowrap;
    background: var(--secondary-color);
    padding: 0 6px;
    opacity: 0;
    transition: transform 320ms ease, opacity 320ms ease;
    cursor: pointer;
}

.about-quote:hover .about-quote__translate {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(-90deg);
}

/* --------------------------------------------------------------------------------- */
/* Language Selector */
/* --------------------------------------------------------------------------------- */

.language-select-button {
    display: none;
}

.language-select-button-active,
.language-select-button-tmp {
    display: inline-flex;
}

/* --------------------------------------------------------------------------------- */
/* Legal Content */
/* --------------------------------------------------------------------------------- */

.terms-header {
    width: calc(100% - 60px);
    margin: 60px 0 30px 30px;
    font-family: "Fraunces", Georgia, serif;
    font-size: 45px;
    font-weight: bold;
}

.terms-text-block-outer {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    line-height: 1.5;
}

.terms-list {
    margin: 0;
    padding-left: 22px;
    line-height: 1.6;
}

.terms-link {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.terms-intro {
    margin: 26px 0 0;
    padding: 28px 30px;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(42, 41, 46, 0.96), rgba(73, 86, 60, 0.92));
    box-shadow: var(--shadow);
    color: var(--secondary-color-light);
}

.terms-intro__eyebrow {
    opacity: 0.8;
}

.terms-intro__text {
    margin: 18px 0 0;
    font-size: 1rem;
    line-height: 1.75;
    max-width: 820px;
}

.terms-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
    opacity: 0.85;
    font-size: 0.92rem;
}

/* --------------------------------------------------------------------------------- */
/* Responsive */
/* --------------------------------------------------------------------------------- */

@media (max-width: 900px) {
    .about-title {
        flex-direction: column-reverse;
        align-items: center;
        justify-content: center;
    }
    
    .about-title-right {
        max-width: 400px;
        margin-right: 0;
        margin-left: 0;
    }
    
    .about-title-left {
        width: 100%;
        align-items: center;
        margin-top: -45px;
        gap: 15px;
    }
    
    .about-title-left-sub,
    .about-title-left-top {
        text-align: center;
        text-align: end;
    }
    
    .about-card-grid {
        margin-top: 0;
    }

    .product-preview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .terms-header {
        width: 100%;
        margin-left: 0;
        font-size: 32px;
    }

    .about-quote__translate {
        font-size: 10px;
        padding: 0 3px;
    }
}

@media (max-width: 670px) {
    .about-header-ff-element-outer {
        height: 55px;
    }

    .about-header-ff-element-image {
        background-size: 65%;
    }

    .about-header-ff-element-text {
        margin-right: 19.5px;
        line-height: 55px;
    }

    .about-title-left-top {
        font-size: 80px;
        line-height: 80px;
    }

    .about-title-left-sub {
        font-size: 20px;
        text-align: center;
    }

    .text-block {
        width: 100%;
        margin-left: 0px;
        text-align: left;
    }

    .product-preview-grid {
        grid-template-columns: 1fr;
    }

    .about-quote__translate {
        opacity: 1;
        transform: translate(-50%, -50%) rotate(-90deg);
        transition: transform 320ms ease, opacity 320ms ease;
        /*border: solid 1.5px var(--primary-color-light);
        border-radius: 5px;*/
    }
}
