/*
Theme Name: Rheos Music Child
Description: Custom presentation for Rheos Music, based on Blocksy.
Author: Rheos Music
Template: blocksy
Version: 0.3.5
Text Domain: rheosmusic
*/

/* The system preference is live: OS changes take effect without a reload. */
:root {
    --rheos-bg: #f7f7f7;
    --rheos-ink: #939393;
    --rheos-copy: #707070;
    --rheos-wordmark: #b5b5b5;
    --rheos-green: #0bce00;
    --rheos-line: #dedede;
    --rheos-focus: #127d09;
    --rheos-logo-light: block;
    --rheos-logo-dark: none;
    color-scheme: light;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-rheos-theme="light"]) {
        --rheos-bg: #000;
        --rheos-ink: #ededed;
        --rheos-copy: #bcbcbc;
        --rheos-wordmark: #b5b5b5;
        --rheos-green: #0bea00;
        --rheos-line: #242424;
        --rheos-focus: #0bea00;
        --rheos-logo-light: none;
        --rheos-logo-dark: block;
        color-scheme: dark;
    }
}

:root[data-rheos-theme="dark"] {
    --rheos-bg: #000;
    --rheos-ink: #ededed;
    --rheos-copy: #bcbcbc;
    --rheos-wordmark: #b5b5b5;
    --rheos-green: #0bea00;
    --rheos-line: #242424;
    --rheos-focus: #0bea00;
    --rheos-logo-light: none;
    --rheos-logo-dark: block;
    color-scheme: dark;
}

body.rheos-home {
    margin: 0;
    background: var(--rheos-bg);
    color: var(--rheos-ink);
    font-family: "Nata Sans", Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.35;
    -webkit-font-smoothing: antialiased;
    --theme-text-color: var(--rheos-ink);
    --theme-link-initial-color: var(--rheos-ink);
    --theme-link-hover-color: var(--rheos-green);
}

.rheos-home *,
.rheos-home *::before,
.rheos-home *::after { box-sizing: border-box; }

.rheos-home [hidden] { display: none !important; }
.rheos-home a { color: inherit; text-decoration: none; }
.rheos-home a:hover { color: var(--rheos-green); }
.rheos-home :focus-visible { outline: 2px solid var(--rheos-focus); outline-offset: 6px; }
.rheos-home p,
.rheos-home h1,
.rheos-home h2,
.rheos-home figure { margin: 0; }

.rheos-header,
.rheos-hero,
.rheos-section,
.rheos-footer {
    width: min(100% - 10.4vw, 1440px);
    margin-inline: auto;
}

.rheos-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding-top: clamp(24px, 3.8vw, 58px);
}

.rheos-mark { display: inline-block; width: clamp(40px, 4vw, 64px); line-height: 1; }
.rheos-mark__image { width: 100%; height: auto; aspect-ratio: 76 / 49; }
.rheos-mark__image--light { display: var(--rheos-logo-light); }
.rheos-mark__image--dark { display: var(--rheos-logo-dark); }

.rheos-appearance { display: flex; align-items: center; gap: 10px; font-size: 12px; }
.rheos-appearance label { color: var(--rheos-ink); }
.rheos-appearance select {
    width: auto;
    min-width: 92px;
    height: auto;
    margin: 0;
    padding: 6px 24px 6px 10px;
    border: 1px solid var(--rheos-line);
    border-radius: 2px;
    background-color: var(--rheos-bg);
    color: var(--rheos-ink);
    font: inherit;
    cursor: pointer;
}

.rheos-hero { position: relative; padding-top: 7.2vw; padding-bottom: 13vw; }
.rheos-wordmark {
    color: var(--rheos-wordmark);
    font-family: "Nata Sans", Arial, Helvetica, sans-serif;
    font-size: clamp(68px, 20vw, 320px);
    font-weight: 700;
    letter-spacing: 0;
    line-height: .75;
}
.rheos-wordmark > span { display: block; white-space: nowrap; }
.rheos-wordmark__second { padding-left: 27.5%; }
.rheos-wordmark > span > span { color: var(--rheos-green); }
.rheos-hero__tagline {
    position: absolute;
    top: 14.4vw;
    right: 0;
    color: var(--rheos-wordmark);
    font-size: clamp(12px, 2.1vw, 32px);
    font-weight: 700;
    letter-spacing: normal;
}
.rheos-hero__tagline > span { color: var(--rheos-green); }

.rheos-section { position: relative; padding-top: 2.5vw; padding-bottom: 12vw; }
.rheos-section__marker { margin-bottom: 5.5vw; }
.rheos-section__body {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
    gap: 7.4vw;
    align-items: start;
}
.rheos-section__media { min-width: 0; }
.rheos-section__copy { padding-top: .25em; }
.rheos-section__copy p {
    color: var(--rheos-copy);
    max-width: 36ch;
    font-size: clamp(14px, 1.42vw, 21px);
    line-height: 1.25;
    font-weight: 600;
    letter-spacing: .005em;
    text-align: justify;
}
.rheos-demo { position: relative; aspect-ratio: 16 / 9; width: 100%; }
.rheos-demo__sound {
    position: absolute;
    top: 12px;
    right: 12px;
    min-height: 44px;
    padding: 8px 14px;
    border: 1px solid #555;
    border-radius: 3px;
    background: #111;
    color: #fff;
    font: 600 12px/1.2 "Nata Sans", Arial, Helvetica, sans-serif;
    cursor: pointer;
    z-index: 1;
}
.rheos-demo__sound:hover,
.rheos-demo__sound[aria-pressed="true"] { background: #111; color: var(--rheos-green); border-color: var(--rheos-green); }
.rheos-demo__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--rheos-ink);
    opacity: .55;
    font-size: clamp(12px, 1.2vw, 16px);
}
.rheos-demo__symbol { font-size: 22px; }
.rheos-demo video,
.rheos-demo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.rheos-demo--ready { background: #111; }
.rheos-section__heading {
    margin-top: 7vw !important;
    max-width: 100%;
    color: var(--rheos-ink);
    font-family: inherit;
    font-size: clamp(26px, 4.65vw, 70px);
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1.1;
}
.rheos-section__heading span { color: var(--rheos-green); }
.rheos-section--short-score .rheos-section__heading,
.rheos-section--workspace .rheos-section__heading { font-size: clamp(25px, 3.65vw, 56px); }
.rheos-quote { padding: 0; margin: 0 0 3vw; border: 0; color: var(--rheos-ink); }
.rheos-quote p { font-size: clamp(15px, 1.75vw, 25px); font-weight: 700; line-height: 1.3; text-align: justify; }
.rheos-quote cite { display: block; margin-top: 1em; font-size: clamp(14px, 1.5vw, 22px); font-style: normal; font-weight: 700; text-align: right; }
.rheos-section--gestures .rheos-demo { aspect-ratio: 2.6; }
.rheos-purchase-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-block: 3vw; }
.rheos-purchase-options > div { display: flex; flex-direction: column; gap: 26px; padding-inline: 16px; border-left: 1px solid var(--rheos-line); font-size: clamp(14px, 1.8vw, 26px); line-height: 1.15; }
.rheos-purchase-options__number { font-size: 11px; }
.rheos-purchase-options strong { color: var(--rheos-green); font-weight: 600; }
.rheos-section--pricing { padding-bottom: 5vw; }
.rheos-section--pricing .rheos-section__heading { max-width: 66%; font-size: clamp(24px, 3.2vw, 48px); }
.rheos-section__footnote { width: 30%; margin-left: auto !important; margin-top: -5em !important; color: var(--rheos-copy); font-size: clamp(10px, .8vw, 12px); line-height: 1.4; }
.rheos-footer { display: flex; justify-content: space-between; gap: 20px; padding-block: 24px; font-size: 12px; }
.rheos-skip-link { position: absolute; top: -100px; left: 20px; z-index: 999999; padding: 12px; background: var(--rheos-bg); }
.rheos-skip-link:focus { top: 20px; }

@media (min-width: 1600px) {
    .rheos-hero { padding-top: 116px; padding-bottom: 208px; }
    .rheos-hero__tagline { top: 230px; }
    .rheos-section { padding-top: 40px; padding-bottom: 192px; }
    .rheos-section__marker { margin-bottom: 88px; }
    .rheos-section__body { gap: 118px; }
    .rheos-section__heading { margin-top: 112px !important; }
}

@media (max-width: 700px) {
    .rheos-header,
    .rheos-hero,
    .rheos-section,
    .rheos-footer { width: calc(100% - 40px); }
    .rheos-header { padding-top: 24px; }
    .rheos-mark { width: 40px; }
    .rheos-appearance label { display: none; }
    .rheos-hero { padding-top: 90px; padding-bottom: 100px; }
    .rheos-wordmark { font-size: 19vw; }
    .rheos-hero__tagline { top: 54px; font-size: 13px; }
    .rheos-section { display: flex; flex-direction: column; padding-top: 20px; padding-bottom: 90px; }
    .rheos-section__marker { margin-bottom: 28px; }
    .rheos-section__heading,
    .rheos-section--short-score .rheos-section__heading,
    .rheos-section--workspace .rheos-section__heading,
    .rheos-section--pricing .rheos-section__heading {
        order: 1;
        max-width: 100%;
        margin-top: 0 !important;
        margin-bottom: 26px;
        font-size: clamp(27px, 6.7vw, 44px);
    }
    .rheos-section__body { order: 2; grid-template-columns: 1fr; gap: 26px; }
    .rheos-section__copy p { max-width: 52ch; font-size: 16px; line-height: 1.45; text-align: left; }
    .rheos-demo__placeholder { border: 1px solid var(--rheos-line); font-size: 13px; }
    .rheos-quote { margin-bottom: 26px; }
    .rheos-quote p { font-size: 17px; text-align: left; }
    .rheos-quote cite { font-size: 14px; }
    .rheos-section--gestures .rheos-demo { aspect-ratio: 16 / 9; }
    .rheos-purchase-options { padding-block: 16px; }
    .rheos-purchase-options > div { font-size: 16px; padding-inline: 10px; }
    .rheos-section__footnote { order: 3; width: 100%; margin-top: 26px !important; font-size: 11px; }
    .rheos-section--pricing { padding-bottom: 40px; }
}
