@charset "UTF-8";
/* WARNING: HOT-LINKING IS STRICTLY FORBIDDEN */
/* Webfonts: Copyright Vaughan Type. */

@font-face {
    font-family: "Cliveden Text Web";
    font-style: normal;
    font-stretch: normal;
    src: url("ClivedenVF.woff2") format("woff2"),
         url("ClivedenVF.woff") format("woff"),
         url("ClivedenVF.ttf") format("truetype");
}

@font-face {
    font-family: "Cliveden Music Web";
    font-style: normal;
    font-stretch: normal;
    src: url("ClivedenMusic.woff2") format("woff2"),
         url("ClivedenMusic.woff") format("woff"),
         url("ClivedenMusic.otf") format("opentype");
}

@font-face {
    font-family: "Wumpus Mono Pro Web";
    font-style: normal;
    font-stretch: normal;
    src: url("../WumpusMonoProVF.woff2") format("woff2"),
         url("../WumpusMonoProVF.woff") format("woff"),
         url("../WumpusMonoProVF.ttf") format("truetype");
}

*,
*::before,
*::after {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    --clv-red:    rgb(240 94 84);
    --clv-yellow: rgb(202 157 76);
    --clv-green:  rgb(133 205 196);
    --clv-blue:   rgb(37 138 196);
    --bg:         rgb(25 27 31);
    --fg:         rgb(241 241 241);
}

h1, h2, h3 {
    margin: 0;
    padding: 0;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    overflow-wrap: break-word;
    word-break: break-word;
}

body {
    font-family: "Cliveden Text Web", serif;
    font-stretch: normal;
    background-color: var(--bg);
    color: var(--fg);
}

a {
    text-decoration: none;
}

label, .mono {
    font-family: "Wumpus Mono Pro Web" !important;
}

/* ── Utility ── */

.noselect {
    user-select: none;
    -webkit-user-select: none;
}

.seethru {
    opacity: 0.55;
}

.pr {
    padding-right: 8px;
}

.front {
    position: relative;
    z-index: 999;
}

.divider {
    opacity: 0.2;
}

/* ── Sections ── */

.section {
    position: relative;
    z-index: 9999;
    line-height: 1.8;
    overflow-wrap: break-word;
    cursor: default;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
}

/* ── Hero ── */

.hero-content {
    text-align: center;
    z-index: 999;
}

#hero {
    font-weight: 400;
    font-size: clamp(28pt, 8vw, 80pt);
    line-height: 1.2;
}

.tagline {
    font-weight: 200;
    font-size: clamp(12pt, calc(1ch + 0.8vw), 20pt);
    margin-top: 8px;
}

.grow {
    cursor: default;
    transition: font-weight 0.3s ease;
    font-weight: 200;
}

/* ── Background glyph rain ── */

#bglayer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.fall {
    text-align: center;
    bottom: 110vh;
    transition: all 0.3s;
    line-height: normal;
}

@keyframes falling {
    100% { bottom: -10vh; }
}

/* ── Weight classes ── */

.light      { font-variation-settings: "wght" 200; }
.regular    { font-variation-settings: "wght" 400; }
.medium     { font-variation-settings: "wght" 500; }
.semibold   { font-variation-settings: "wght" 600; }
.bold       { font-variation-settings: "wght" 700; }
.extrabold  { font-variation-settings: "wght" 800; }

/* ── Colour classes ── */

.r { transition: 1s ease-in; font-weight: 600; color: var(--clv-red);    opacity: 0.35 !important; }
.y { transition: 1s ease-in; font-weight: 600; color: var(--clv-yellow); opacity: 0.35 !important; }
.g { transition: 1s ease-in; font-weight: 600; color: var(--clv-green);  opacity: 0.35 !important; }
.b { transition: 1s ease-in; font-weight: 600; color: var(--clv-blue);   opacity: 0.35 !important; }

.hred    { transition: all 0.7s; }
.hyellow { transition: all 0.7s; }
.hgreen  { transition: all 0.7s; }
.hblue   { transition: all 0.7s; }

/* ── OpenType feature classes ── */

.ss01 { font-feature-settings: "ss01" !important; }
.ss02 { font-feature-settings: "ss02" !important; }
.ss03 { font-feature-settings: "ss03" !important; }
.ss04 { font-feature-settings: "ss04" !important; }
.ss05 { font-feature-settings: "ss05" !important; }
.ss06 { font-feature-settings: "ss06" !important; }
.ss07 { font-feature-settings: "ss07" !important; }
.ss08 { font-feature-settings: "ss08" !important; }
.ss09 { font-feature-settings: "ss09" !important; }
.ss10 { font-feature-settings: "ss10" !important; }

/* ── Set grid (stylistic sets / ligatures) ── */

.set-table {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: min(90vw, 960px);
    margin: 40px 0;
    background-size: 100% 100%;
    background-position: 0px 0px;
    background-image: linear-gradient(90deg, #a100ff 0%, #71c4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: normal;
}

.liga-table {
    grid-template-columns: repeat(4, 1fr);
}

.set-full-span {
    grid-column: 1 / -1;
}

.yy {
    font-weight: 300;
    font-size: 11pt;
    padding-left: 16px;
    padding-bottom: 12px;
    text-align: left;
    -webkit-text-fill-color: var(--clv-yellow);
}

.huge {
    line-height: 1.8;
    color: #fff !important;
    font-size: clamp(20pt, 4vw, 60pt) !important;
    font-feature-settings: "ss03" 0;
    -webkit-background-clip: none;
    -webkit-text-fill-color: #fff;
    padding: 4px 0;
}

/* ── Musical symbols ── */

.musical-section {
    width: min(90vw, 960px);
    text-align: left;
    padding: 20px 0;
}

.musical {
    font-family: "Cliveden Music Web";
    letter-spacing: 10px;
    font-size: clamp(14pt, calc(4ch + 1vw), 40pt);
    line-height: 3;
    color: #fff;
    padding: 20px 0;
    word-break: break-word;
    -webkit-background-clip: none;
    -webkit-text-fill-color: initial;
}

/* ── HR ── */

hr {
    height: 0.5px;
    border-width: 0;
    background-image: linear-gradient(90deg, #a100ff 0%, #71c4ff 100%);
    width: 100%;
}

/* ── Character set ── */

.charset-section {
    display: block !important;
    text-align: left;
    padding: 40px 50px 100px 50px;
    min-height: unset;
    width: 100%;
}

.charset-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 12px 32px;
    margin-bottom: 24px;
}

.charset-sliders {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    align-items: center;
    font-size: 10pt;
    font-family: "Wumpus Mono Pro Web", monospace;
}

.charset {
    font-size: 28pt;
    word-break: break-word;
    line-height: 1.6;
}

.charset::before {
    content: "";
    display: block;
    height: 0;
    width: 0;
    margin-top: calc((1 - 1.4) * 0.5em);
}

/* ── Specimen ── */

#specimen-section {
    padding-bottom: 100px;
}

.big-table {
    width: min(90vw, 960px);
}

.med-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
    margin: 10px 0;
    padding: 8px 0;
}

.demo-checkboxes {
    text-align: left;
    padding: 8px 0;
    line-height: 2.2;
}

.demo-wrapper {
    width: 100%;
}

#demo {
    padding-top: 16px;
    padding-bottom: 16px;
    width: 100%;
    font-size: 45pt;
    font-weight: 400;
    outline: none;
    position: relative;
    line-height: 1.2;
    max-height: 58vh;
    overflow: auto;
    text-align: left;
    font-variant-ligatures: none;
    font-feature-settings: "liga" 0;
    word-break: break-word;
    scrollbar-width: thin;
    scrollbar-color: rgba(178, 204, 215, 0.2) transparent;
}

#demo::-webkit-scrollbar {
    width: 3px;
}

#demo::-webkit-scrollbar-track {
    background: transparent;
}

#demo::-webkit-scrollbar-thumb {
    background: rgba(178, 204, 215, 0.2);
    border-radius: 2px;
}

#demo::-webkit-scrollbar-thumb:hover {
    background: rgba(178, 204, 215, 0.45);
}

/* ── Specimen controls ── */

.dot { opacity: 0; }
#d-liga { opacity: 1; }
.on { opacity: 1; }
.cur-align { color: #926aff; }

.justify { text-align: justify; }

button {
    color: #b2ccd7;
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    outline: inherit;
}

label { cursor: pointer; }

input[type=checkbox] { display: none; }

.mini {
    font-size: 10pt;
    font-family: "Wumpus Mono Pro Web";
}

/* ── Sliders ── */

.slidecontainer {
    display: inline-block;
}

.slider {
    z-index: 999;
    transform: translateY(-2px);
    border-radius: 8px;
    -webkit-appearance: none;
    appearance: none;
    height: 5px;
    background: #b2ccd7;
    outline: none;
    transition: 0.2s;
}

.slider::-webkit-slider-thumb {
    z-index: 999;
    border-radius: 8px;
    -webkit-appearance: none;
    appearance: none;
    background-color: #b2ccd7;
    width: 15px;
    height: 15px;
    cursor: pointer;
}

.slider::-webkit-slider-thumb:active {
    background-color: #926aff;
}

.slider::-moz-range-thumb {
    z-index: 999;
    border-radius: 8px;
    width: 15px;
    height: 15px;
    background-color: #b2ccd7;
    cursor: pointer;
}

/* ── Buy section ── */

.blkgrd {
    background: linear-gradient(rgba(25, 27, 31, 0), #191b1f, #191b1f, #191b1f, #191b1f, #191b1f, #191b1f, #191b1f, #191b1f, #191b1f);
}

.buy-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
    padding: 20px 24px 80px 24px;
}

.lowertag {
    font-size: clamp(18pt, calc(3ch + 0.8vw), 36pt);
    font-weight: 500;
}

.pgrad {
    font-size: 14pt;
    background-image: linear-gradient(90deg, #a100ff 0%, #71c4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pgrad a {
    -webkit-text-fill-color: transparent;
}

/* ── Footer ── */

#b {
    box-sizing: border-box;
    font-family: "Wumpus Mono Pro Web", monospace;
    z-index: 9999;
    color: #b2ccd7;
    background: linear-gradient(rgba(25, 27, 31, 0), #191b1f, #191b1f, #191b1f);
    font-weight: 300;
    font-size: 11pt;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 40px 50px 20px 50px;
}

#b a {
    color: #b2ccd7;
}

#bl, #br {
    white-space: nowrap;
    min-width: 0;
}

#br a:hover {
    text-decoration: underline;
}

/* ── Gradient / misc ── */

.grad {
    font-weight: 600;
}

/* ── Responsive: 768px ── */

@media (max-width: 768px) {
    .section {
        min-height: 80vh;
    }

    .section:first-of-type {
        min-height: 100vh;
    }

    .set-table {
        margin: 40px 0;
        grid-template-columns: repeat(2, 1fr);
    }

    .liga-table {
        grid-template-columns: repeat(4, 1fr);
    }

    .huge {
        font-size: clamp(18pt, 7vw, 40pt) !important;
    }

    .musical {
        letter-spacing: 6px;
        line-height: 2.5;
    }

    #demo {
        font-size: clamp(20pt, 6vw, 45pt);
        max-height: none;
        overflow: visible;
    }

    .charset-section {
        padding: 40px 40px 100px 40px;
    }

    .charset {
        font-size: 20pt;
    }

    #b {
        font-size: 10pt;
        padding: 30px 40px 20px 40px;
    }
}

/* ── Responsive: 480px ── */

@media (max-width: 480px) {
    .section {
        min-height: unset;
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .section:first-of-type {
        min-height: 100vh;
        padding: 0;
    }

    .set-table {
        grid-template-columns: 1fr;
        margin: 24px 0;
    }

    .liga-table {
        grid-template-columns: repeat(2, 1fr);
    }

    .set-full-span {
        grid-column: 1 / -1;
    }

    .huge {
        font-size: clamp(20pt, 10vw, 36pt) !important;
    }

    .musical {
        letter-spacing: 4px;
        padding: 0;
        font-size: clamp(12pt, 6vw, 20pt);
        line-height: 2.2;
    }

    .musical-section {
        padding: 40px 0;
    }

    .charset-section {
        padding: 30px 24px 100px 24px;
    }

    .charset {
        font-size: 14pt;
    }

    .charset-controls {
        flex-direction: column;
        gap: 8px;
    }

    .charset-sliders {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    #specimen-section {
        padding-bottom: 80px;
    }

    .med-controls {
        gap: 4px 8px;
    }

    #demo {
        font-size: clamp(16pt, 5vw, 28pt);
        max-height: none;
        overflow: visible;
    }

    #b {
        font-size: 9pt;
        padding: 20px 24px;
    }

    .buy-section {
        padding: 30px 16px 80px 16px;
        gap: 16px;
    }
}
