/* About Oracenia: the same paper, florals, and celestial details as the site. */
.floral-page:has(.about-page)::before {
    display: none;
}

.about-page {
    overflow: hidden;
}

.about-intro {
    position: relative;
    padding: 54px 0 46px;
    text-align: center;
    background: url('daily-florals.webp') center 42% / cover;
    border-bottom: 1px solid var(--line);
    isolation: isolate;
}

.about-intro::before,
.about-closing::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, transparent, var(--bg) 30% 70%, transparent);
    opacity: .6;
}

.about-intro h1 {
    margin: 14px 0 22px;
    font-size: clamp(48px, 5.7vw, 76px);
    line-height: .98;
    letter-spacing: -.025em;
}

.about-intro p {
    max-width: 640px;
    margin: 0 auto;
    font-size: 1.0625rem;
    line-height: 1.8;
    text-wrap: balance;
}

.about-founder {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    align-items: center;
    gap: clamp(40px, 6vw, 84px);
    padding-block: 56px 62px;
}

.about-founder h2,
.about-why h2 {
    margin-bottom: 24px;
    font-size: clamp(38px, 4vw, 52px);
    letter-spacing: -.025em;
}

.about-founder-copy p,
.about-why-copy p {
    font-size: 0.9375rem;
    line-height: 1.9;
}

.about-founder-copy p {
    margin-bottom: 22px;
}

.about-video-feature {
    position: relative;
    width: 100%;
    max-width: 450px;
    margin: auto;
    padding: 12px;
}

.about-video-feature::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    pointer-events: none;
}

.about-video-frame {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 50%;
    background: #342036;
}

.about-video-poster {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.about-video-frame:has(.about-video-trigger:hover) .about-video-poster {
    transform: scale(1.035);
}

.about-video-trigger {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #fffaf6;
    background: linear-gradient(180deg, transparent 30%, rgba(23, 13, 25, .15) 50%, rgba(23, 13, 25, .92));
}

.about-video-trigger:focus-visible {
    outline: 3px solid #e3c38f;
    outline-offset: -7px;
}

.about-play-icon {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    padding-left: 4px;
    border: 1.5px solid currentColor;
    border-radius: 50%;
    background: rgba(38, 21, 40, .3);
    box-shadow: 0 0 0 8px rgba(255, 250, 246, .07);
    transition: background .2s, transform .2s;
}

.about-video-trigger:hover .about-play-icon {
    transform: scale(1.07);
    background: rgba(82, 33, 78, .75);
}

.about-video-caption {
    position: absolute;
    right: 16%;
    bottom: 11%;
    left: 16%;
    text-align: center;
}

.about-video-caption > span {
    display: block;
    max-width: 260px;
    margin: 0 auto 10px;
    font: 600 clamp(28px, 3vw, 38px)/1.02 var(--font-title);
    text-wrap: balance;
}

.about-video-caption small {
    font-size: 0.75rem;
    letter-spacing: .025em;
}

.about-video-botanical {
    position: absolute;
    top: 10%;
    z-index: -1;
    width: 27%;
    height: 84%;
    object-fit: contain;
    opacity: .8;
}

.about-video-botanical-left {
    left: -13%;
    transform: rotate(-11deg);
}

.about-video-botanical-right {
    right: -13%;
    transform: scaleX(-1) rotate(-11deg);
}

.about-video-star {
    position: absolute;
    bottom: -18px;
    left: 50%;
    color: var(--gold);
    font-size: 37px;
    line-height: 1;
    transform: translateX(-50%);
}

.about-video-link {
    display: block;
    margin: 28px 0 0;
    color: var(--plum);
    text-align: center;
    font-size: 0.8125rem;
}

a.about-video-link {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.about-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 126px;
    margin: 28px auto 0;
    color: var(--gold);
}

.about-divider::before,
.about-divider::after {
    content: '';
    width: 48px;
    height: 1px;
    background: currentColor;
    opacity: .5;
}

.about-divider span {
    font-size: 1.625rem;
    line-height: 1;
}

.about-why {
    position: relative;
    padding-block: 32px 52px;
    isolation: isolate;
}

.about-why-inner {
    max-width: 760px;
}

.about-why-copy {
    position: relative;
}

.about-why-copy h2 {
    text-align: center;
}

.about-why-copy > p {
    margin-bottom: 16px;
}

.about-why-compass {
    position: absolute;
    top: 0;
    right: -210px;
    z-index: -1;
    width: 460px;
    height: 460px;
    opacity: .19;
}

.about-philosophy {
    position: relative;
    isolation: isolate;
    padding-block: 48px 52px;
    overflow: hidden;
    color: #fff6ef;
    text-align: center;
    background: radial-gradient(ellipse at 50% 0%, #54344d, #321d35 75%);
}

.about-philosophy::after {
    content: '';
    position: absolute;
    right: -10%;
    bottom: -155px;
    left: -10%;
    z-index: -1;
    height: 200px;
    border: 1px solid rgba(212, 185, 133, .15);
    border-radius: 50%;
    box-shadow: 0 -12px 0 rgba(212, 185, 133, .03), 0 -25px 0 rgba(212, 185, 133, .025);
}

.about-philosophy .eyebrow,
.about-philosophy .about-divider {
    color: #ddbd7d;
}

.about-philosophy h2 {
    margin: 17px auto 0;
    max-width: 900px;
    font-size: clamp(34px, 4.2vw, 54px);
    line-height: 1.12;
    font-weight: 500;
    letter-spacing: -.015em;
    text-wrap: balance;
}

.about-philosophy .about-divider {
    margin-block: 27px 34px;
}

.about-principles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 850px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    text-align: left;
}

.about-principles li {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    padding-inline: 24px;
    font-size: 0.9375rem;
    line-height: 1.7;
}

.about-principles li + li::before {
    content: '';
    position: absolute;
    top: 17px;
    bottom: 17px;
    left: 0;
    width: 1px;
    background: rgba(221, 189, 125, .2);
}

.about-principle-icon {
    display: grid;
    place-items: center;
    flex: 0 0 66px;
    height: 66px;
    border: 1px solid currentColor;
    border-radius: 50%;
    color: #ddbd7d;
}

.about-philosophy-botanical {
    position: absolute;
    bottom: -20px;
    z-index: -1;
    width: 160px;
    height: 340px;
    opacity: .6;
}

.about-philosophy-botanical-left {
    left: max(8px, calc((100vw - 1400px) / 2));
    transform: rotate(8deg);
}

.about-philosophy-botanical-right {
    right: max(8px, calc((100vw - 1400px) / 2));
    transform: scaleX(-1) rotate(8deg);
}

.about-philosophy-moon,
.about-philosophy-star {
    position: absolute;
    z-index: -1;
    color: #ddbd7d;
    font-family: var(--font-title);
    line-height: 1;
    opacity: .45;
}

.about-philosophy-moon {
    top: 52px;
    left: max(35px, calc((100vw - 1100px) / 2));
    font-size: 100px;
    transform: rotate(-15deg);
}

.about-philosophy-star {
    top: 135px;
    right: max(45px, calc((100vw - 1100px) / 2));
    font-size: 80px;
}

.about-closing {
    position: relative;
    isolation: isolate;
    background: url('daily-florals.webp') center 63% / cover;
}

.about-credits {
    --credits-gold: #c7833c;
    padding-block: 32px 36px;
    text-align: center;
}

.about-credits h2 {
    margin: 0;
    font-size: clamp(32px, 3.5vw, 44px);
    letter-spacing: -.015em;
    text-wrap: balance;
}

.about-credits .about-divider {
    width: 90px;
    margin-block: 6px 2px;
    color: var(--credits-gold);
}

.about-credits .about-divider span {
    font-size: 1.125rem;
}

.about-credits-intro {
    max-width: 760px;
    margin: 0 auto 24px;
    font-size: 0.9375rem;
    line-height: 1.65;
}

.about-credits-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    max-width: 560px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    text-align: left;
}

.about-credits-list li {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-inline: 28px;
}

.about-credits-list li + li {
    border-left: 1px solid var(--credits-gold);
}

.about-credit-icon {
    flex: 0 0 56px;
    color: var(--credits-gold);
}

.about-credit-copy {
    display: grid;
    gap: 2px;
    font-size: 0.875rem;
    line-height: 1.55;
}

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

.about-credit-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    white-space: nowrap;
}

.about-credit-link:hover {
    color: var(--plum);
    text-decoration: underline;
    text-underline-offset: 4px;
}

html[data-theme=dark] .about-credits {
    --credits-gold: var(--gold);
}

.about-actions {
    padding-block: 48px;
}

.about-actions .wrap {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.about-actions .button {
    min-width: 245px;
}

.about-video-open {
    overflow: hidden;
}

.about-video-dialog {
    --about-video-inset: 40px;
    width: fit-content;
    max-width: calc(100vw - var(--about-video-inset));
    max-height: calc(100dvh - var(--about-video-inset));
    padding: 0;
    overflow: auto;
    border: 1px solid rgba(255, 246, 239, .5);
    border-radius: 14px;
    background: #231626;
    color: #fff6ef;
    box-shadow: 0 30px 100px rgba(0, 0, 0, .4);
}

.about-video-dialog::backdrop {
    background: rgba(19, 12, 20, .76);
    backdrop-filter: blur(5px);
}

.about-video-close-form {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 1;
    margin: 0;
}

.about-video-close {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 246, 239, .3);
    border-radius: 50%;
    background: rgba(19, 12, 20, .65);
    color: inherit;
}

.about-video-close:hover {
    background: #52214e;
}

.about-video-close:focus-visible {
    outline-color: #ddbd7d;
}

.about-video-dialog video {
    display: block;
    width: auto;
    height: auto;
    /* Fit the intrinsic video ratio with room for the title and dialog border. */
    max-width: min(898px, calc(100vw - var(--about-video-inset) - 2px));
    max-height: calc(100dvh - var(--about-video-inset) - 2px - 5rem);
    background: #160f18;
}

.about-video-dialog-title {
    /* Keep the caption from widening the video-sized dialog. */
    contain: inline-size;
    margin: 0;
    padding: 12px 16px;
    font: 600 1rem/1.5 var(--font-body);
    text-align: center;
    text-wrap: balance;
}

.about-video-status {
    margin: 0;
    padding: 20px 24px;
    color: #fff6ef;
}

.about-video-credit {
    margin: 0;
    padding: 12px 20px;
    color: #d6c5d3;
    font-size: 0.75rem;
    text-align: center;
}

.about-video-credit a {
    color: #ddbd7d;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.about-video-credit a:focus-visible {
    outline-color: #ddbd7d;
}

.about-video-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: 360px;
}

.about-video-preview > img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 500px;
    object-fit: cover;
}

.about-video-preview > div {
    padding: 44px;
}

.about-video-preview .eyebrow {
    color: #ddbd7d;
}

.about-video-preview h3 {
    margin-block: 16px;
    font-size: 44px;
    text-wrap: balance;
}

.about-video-preview p {
    margin: 0;
    color: #d6c5d3;
}

html[data-theme=dark] .about-intro,
html[data-theme=dark] .about-closing {
    background-image: linear-gradient(rgba(23, 17, 25, .87), rgba(23, 17, 25, .87)), url('daily-florals.webp');
}

@media (max-width: 1000px) {
    .about-founder {
        gap: 48px;
    }

    .about-principles li {
        padding-inline: 16px;
        gap: 12px;
        font-size: 0.875rem;
    }

    .about-principle-icon {
        flex-basis: 56px;
        height: 56px;
    }

    .about-philosophy-moon,
    .about-philosophy-star {
        opacity: .15;
    }
}

@media (max-width: 760px) {
    .about-credits {
        padding-block: 12px 26px;
    }

    .about-credits h2 {
        font-size: 30px;
    }

    .about-credits .about-divider {
        margin-top: 0;
    }

    .about-credits-intro {
        margin-bottom: 18px;
        font-size: 0.875rem;
        line-height: 1.5;
    }

    .about-credits-list li {
        gap: 16px;
        padding-inline: 20px;
    }

    .about-intro {
        padding-block: 42px 38px;
    }

    .about-intro p {
        max-width: 520px;
        font-size: 0.9375rem;
    }

    .about-founder {
        grid-template-columns: 1fr;
        gap: 44px;
        padding-block: 42px 32px;
    }

    .about-video-feature {
        max-width: 360px;
    }

    .about-video-caption > span {
        font-size: 34px;
    }

    .about-founder-copy {
        max-width: 560px;
        margin-inline: auto;
    }

    .about-why-compass {
        right: -290px;
    }

    .about-philosophy {
        padding-block: 38px 42px;
    }

    .about-philosophy h2 {
        font-size: 38px;
    }

    .about-principles {
        grid-template-columns: 1fr;
        gap: 22px;
        max-width: 290px;
    }

    .about-principles li {
        padding-inline: 0;
        gap: 22px;
        font-size: 0.9375rem;
    }

    .about-principles li + li::before {
        display: none;
    }

    .about-philosophy-botanical {
        width: 100px;
        height: 260px;
        opacity: .4;
    }

    .about-video-preview > div {
        padding: 24px;
    }

    .about-video-preview h3 {
        font-size: 34px;
    }
}

@media (max-width: 540px) {
    .about-credits-list {
        grid-template-columns: 1fr;
        gap: 18px;
        max-width: 260px;
    }

    .about-credits-list li {
        padding-inline: 0;
    }

    .about-credits-list li + li {
        padding-top: 18px;
        border-top: 1px solid var(--line-strong);
        border-left: 0;
    }

    .about-intro::before,
    .about-closing::before {
        background: var(--bg);
        opacity: .72;
    }

    .about-intro {
        background-size: auto 100%;
    }

    .about-intro h1 {
        font-size: clamp(39px, 10vw, 54px);
        margin-bottom: 20px;
    }

    .about-intro p {
        font-size: 0.875rem;
    }

    .about-video-feature {
        width: calc(100% - 28px);
        max-width: 310px;
        padding: 9px;
    }

    .about-play-icon {
        width: 64px;
        height: 64px;
    }

    .about-video-caption > span {
        font-size: 1.75rem;
    }

    .about-video-caption small {
        font-size: max(0.6875rem, var(--mobile-caption-min, 0px));
    }

    .about-founder h2,
    .about-why h2 {
        font-size: 36px;
        margin-bottom: 18px;
    }

    .about-founder-copy p,
    .about-why-copy p {
        font-size: 0.875rem;
    }

    .about-why {
        padding-block: 12px 36px;
    }

    .about-philosophy .eyebrow {
        font-size: max(0.6875rem, var(--mobile-caption-min, 0px));
    }

    .about-philosophy h2 {
        max-width: 360px;
        font-size: 33px;
    }

    .about-philosophy h2 br {
        display: none;
    }

    .about-actions {
        padding-block: 32px;
    }

    .about-actions .wrap {
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }

    .about-actions .button {
        width: 100%;
        max-width: 330px;
        white-space: normal;
    }

    .about-video-dialog {
        --about-video-inset: 24px;
        border-radius: 10px;
    }

    .about-video-preview {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-video-preview > img {
        height: 230px;
    }

    .about-video-preview > div {
        padding: 26px;
    }
}
