:root {
    color-scheme: light;
    --ink: #303015;
    --linen: #f8edde;
    --green: #495628;
    --serif: Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }

body { margin: 0; }

.card {
    container-type: inline-size;
    position: relative;
    overflow: clip;
    width: 100%;
}

.card-content {
    position: relative;
    container-type: inline-size;
    overflow: clip;
}

.responsive-hero { display: none; }

.artwork {
    display: block;
    width: 100%;
    height: auto;
    user-select: none;
}

.language,
.hotspot {
    position: absolute;
    z-index: 1;
    border-radius: 999px;
}

.language {
    inset: 2.409% 5.469% auto auto;
    width: 15.723%;
    height: 3.646%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: .42cqw;
}

.language button {
    position: relative;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--ink);
    font: 700 2.32cqw/1 Arial, sans-serif;
    cursor: pointer;
}

.language button::after {
    content: '';
    position: absolute;
    top: 50%;
    width: max(100%, 44px);
    height: max(100%, 44px);
    transform: translateY(-50%);
}

.language button:first-child::after { right: 0; }
.language button:last-child::after { left: 0; }

.hotspot {
    display: block;
    color: var(--ink);
    text-decoration: none;
}

.trial, .online { left: 10.84%; width: 78.125%; height: 6.97%; }
.trial { top: 63.4766%; color: #fff4e3; }
.online { top: 71.68%; }
.whatsapp, .sms { top: 80.5339%; height: 8.073%; width: 38.58%; }
.whatsapp { left: 10.74%; }
.sms { left: 50.68%; }

:is(a, button):focus-visible {
    outline: 3px solid #2d3418;
    outline-offset: 4px;
    box-shadow: 0 0 0 4px #fff8eb;
}

@media (hover: hover) {
    .hotspot:hover { box-shadow: inset 0 0 0 2px #fffaf49e; }
    .language button:hover { box-shadow: inset 0 0 0 2px #8c875eb3; }
}

.visually-hidden,
:lang(pt) .copy,
:lang(pt) .language span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

html:lang(en) .language { background: var(--linen); }
html:lang(en) .language button[aria-pressed='true'] { background: var(--green); color: #fff4e3; }

html:lang(en) .copy {
    display: grid;
    place-items: center;
    position: absolute;
    margin: 0;
    text-align: center;
    font-family: var(--serif);
}

html:lang(en) :is(.subtitle, .bio) {
    color: var(--ink);
    background: radial-gradient(ellipse at center, #f8eee2 72%, #f3e7da 100%);
    box-shadow: 0 0 1cqw .65cqw #f4e9dc;
}

html:lang(en) .subtitle {
    top: 49.9%;
    left: 24%;
    width: 52%;
    height: 2%;
    font-size: 2.72cqw;
    letter-spacing: .28em;
    text-indent: .28em;
    text-transform: uppercase;
}

html:lang(en) .bio {
    top: 54.19%;
    left: 15.5%;
    width: 69%;
    height: 5.7%;
    padding: 0 1.4cqw;
    font-size: 4.02cqw;
    font-style: italic;
    line-height: 1.12;
    text-wrap: balance;
}

html:lang(en) .hotspot .copy {
    top: 15%;
    bottom: 16%;
    left: 19.8%;
    right: 10%;
    font-size: 4.08cqw;
    line-height: 1;
}

html:lang(en) .trial .copy {
    background: linear-gradient(105deg, #4d5a2b, #435222);
    box-shadow: 0 0 .65cqw .45cqw #485625;
}

html:lang(en) .online .copy {
    background: linear-gradient(105deg, #b3b699, #9fa885);
    box-shadow: 0 0 .65cqw .45cqw #aab091;
}

html:lang(en) .sms .copy {
    left: 39%;
    right: 8%;
    background: linear-gradient(105deg, #e4d8bd, #ddd2b5);
    box-shadow: 0 0 .65cqw .45cqw #e0d4b8;
    font-size: 3.45cqw;
}

@media (forced-colors: active) {
    .hotspot:focus-visible, .language button:focus-visible { outline-color: Highlight; }
}

/* The artwork's lower panel occupies rows 540 through 1535 of the reference. */
@media (min-width: 560px) and (min-aspect-ratio: 6/5), (max-aspect-ratio: 2/3) {
    .responsive-hero {
        display: block;
        position: relative;
        overflow: hidden;
        min-height: 0;
    }

    .responsive-hero > img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: 50% 59%;
    }

    .responsive-hero::after {
        position: absolute;
        inset: 0;
        content: '';
        background: linear-gradient(#1d230e73, transparent 38%);
        pointer-events: none;
    }

    .hero-mark {
        position: absolute;
        z-index: 1;
        top: clamp(16px, 3vw, 46px);
        left: clamp(18px, 4vw, 64px);
        display: grid;
        justify-items: center;
        gap: 5px;
        color: #fff0d8;
        text-shadow: 0 1px 6px #151a0b;
    }

    .lotus { position: relative; width: 66px; height: 36px; }

    .lotus i {
        position: absolute;
        bottom: 3px;
        left: 50%;
        width: 25px;
        height: 25px;
        border: 2px solid currentColor;
        border-radius: 90% 0 90% 0;
        transform: rotate(-45deg);
        transform-origin: left bottom;
    }

    .lotus i:nth-child(1) { transform: rotate(-105deg) scale(.91); }
    .lotus i:nth-child(2) { transform: rotate(-74deg) scale(.95); }
    .lotus i:nth-child(4) { transform: rotate(-16deg) scale(.95); }
    .lotus i:nth-child(5) { transform: rotate(15deg) scale(.91); }

    .hero-mark-label { font: 400 16px/1 var(--serif); letter-spacing: .28em; text-transform: uppercase; }

    .language {
        top: clamp(14px, 3vw, 44px);
        right: clamp(14px, 4vw, 52px);
        width: 108px;
        height: 44px;
        padding: 3px;
        background: var(--linen);
    }

    .language button { font-size: 14px; }
    .language button[aria-pressed='true'] { background: var(--green); color: #fff4e3; }

    :lang(pt) .language span {
        position: static;
        width: auto;
        height: auto;
        margin: 0;
        overflow: visible;
        clip-path: none;
    }

    .card-content { aspect-ratio: 1024 / 996; }

    .artwork {
        position: absolute;
        bottom: 0;
        width: 100%;
        height: calc(100% * 1536 / 996);
    }

    .trial, .online { height: 10.75%; }
    .trial { top: 43.6747%; }
    .online { top: 56.3253%; }
    .whatsapp, .sms { top: 69.98%; height: 12.4498%; }
    html:lang(en) .subtitle { top: 22.7373%; height: 3.0843%; }
    html:lang(en) .bio { top: 29.3533%; height: 8.7904%; }
}

@media (min-width: 560px) and (min-aspect-ratio: 6/5) {
    .card {
        --content-width: clamp(48%, calc(100svh * 1024 / 996), 60%);
        display: grid;
        min-height: 100svh;
        grid-template-columns: minmax(0, 1fr) var(--content-width);
    }

    .card-content {
        width: 100%;
        min-width: 0;
        min-height: max(100svh, 360px);
    }
    .language { right: calc(var(--content-width) + clamp(16px, 2.25vw, 40px)); }
}

@media (max-aspect-ratio: 2/3) {
    .responsive-hero {
        height: max(calc(100svh - 97.265625vw + 4vw), 56.75vw);
    }

    .card-content {
        margin-top: -4vw;
        mask-image: linear-gradient(to bottom, transparent, #000 4.1%);
    }
}
