:root {
    --ink: #241c18;
    --muted: #6f655c;
    --paper: #f3ece3;
    --card: #fffdfb;
    --line: #e7ddd2;
    --moss: #2f5d50;
    --clay: #c56a45;
    --serif: Newsreader, Georgia, serif;
    --sans: Outfit, "Segoe UI", sans-serif;
    --frame: 1200px;
    --pad: 32px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.55;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
}

button, input, select, textarea {
    font: inherit;
    color: inherit;
}

::selection {
    background: #dce8e2;
}

.logo-img {
    height: 44px;
    width: auto;
    max-width: 168px;
    object-fit: contain;
    display: block;
}

.shell {
    width: min(var(--frame), calc(100% - 40px));
    max-width: var(--frame);
    margin: 20px auto 28px;
    background: var(--card);
    border-radius: 20px;
    box-shadow: 0 18px 44px rgba(36, 28, 24, .08);
    min-height: calc(100vh - 48px);
}

.masthead {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 253, 251, .94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    border-radius: 20px 20px 0 0;
}

.mast-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px var(--pad) 10px;
}

.mast-tools {
    display: flex;
    align-items: center;
    gap: 8px;
}

.text-btn, .icon-btn {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 999px;
    cursor: pointer;
}

.text-btn {
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .04em;
}

.icon-btn {
    width: 40px;
    height: 40px;
    font-size: 18px;
}

.menu-toggle {
    display: none;
}

.text-btn:hover, .icon-btn:hover {
    border-color: var(--moss);
    color: var(--moss);
}

.cat-nav {
    display: flex;
    justify-content: center;
    gap: 4px;
    padding: 0 18px;
}

.cat-item {
    position: relative;
}

.cat-item > a {
    display: block;
    padding: 12px 16px 14px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-bottom: 2px solid transparent;
}

.cat-item:hover > a,
.cat-item:focus-within > a {
    color: var(--moss);
    border-bottom-color: var(--moss);
}

.cat-sub {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 16px 36px rgba(36, 28, 24, .1);
    z-index: 30;
}

.cat-item:last-child .cat-sub {
    left: auto;
    right: 0;
}

.cat-item:hover .cat-sub,
.cat-item:focus-within .cat-sub {
    display: grid;
}

.cat-sub a {
    text-decoration: none;
    padding: 9px 10px;
    border-radius: 8px;
    font-size: 14px;
}

.cat-sub a:hover {
    background: #f3f7f5;
    color: var(--moss);
}

.kicker {
    letter-spacing: .14em;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 600;
    color: var(--clay);
    padding: 0 !important;
}

.meta {
    display: block;
    margin: 4px 0;
    color: var(--muted);
    font-size: 13px;
}

.lede {
    color: #5c534c;
    font-size: 16px;
    line-height: 1.5;
    margin: 10px 0;
}

h1, h2, h3, .opener h1, .band-head h2, .section-head h2, .mast h1, .story-card h1, .finder h1, .letter h1, .contact-aside h1, .profile-copy h1, .feature-copy h2, .split h3, .pair h3 {
    font-family: var(--serif);
    font-weight: 500;
    letter-spacing: -.02em;
    line-height: 1.05;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--moss);
    color: #fff;
    text-decoration: none;
    border: 0;
    border-radius: 999px;
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.btn-ghost {
    background: transparent;
    color: inherit;
    border: 1px solid currentColor;
}

.btn-light {
    background: #fff;
    color: var(--moss);
}

.opener-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.opener {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 36px;
    align-items: center;
    padding: 32px var(--pad) 8px;
}

.opener h1 {
    font-size: clamp(34px, 4vw, 45px);
    margin: 8px 0 12px;
    line-height: 1.2;
}

.opener-photo {
    display: block;
    text-decoration: none;
}

.opener-photo img {
    width: 100%;
    object-fit: cover;
    border-radius: 18px;
    display: block;
}

.opener-photo strong {
    display: block;
    margin-top: 12px;
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 500;
    line-height: 1.15;
}

.also {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 22px var(--pad) 8px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.also a {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 12px;
    padding: 14px 16px;
    text-decoration: none;
    border-right: 1px solid var(--line);
    align-items: center;
}

.also a:last-child {
    border-right: 0;
    padding-right: 0;
}

.also img {
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.also strong {
    display: block;
    font-size: 16px;
    line-height: 1.3;
}

.topics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: 18px var(--pad) 8px;
}

.topic-card {
    border-radius: 16px;
    padding: 16px 16px 18px;
    background: #f6f3ee;
}

.topic-card:nth-child(4n+1) {
    background: #eef4f1;
}

.topic-card:nth-child(4n+2) {
    background: #fbf3ee;
}

.topic-card:nth-child(4n+3) {
    background: #f7f4ea;
}

.topic-card:nth-child(4n) {
    background: #f2f5f7;
}

.topic-card h2 {
    font-size: 26px;
    margin: 0 0 8px;
}

.topic-card h2 a {
    text-decoration: none;
}

.topic-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.topic-card li a {
    display: block;
    text-decoration: none;
    font-size: 13px;
    color: var(--muted);
    padding: 6px 0;
    border-top: 1px solid rgba(36, 28, 24, .08);
}

.topic-card li a:hover, .topic-story:hover {
    color: var(--moss);
}

.topic-story {
    display: block;
    margin-top: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.35;
}

.band {
    margin: 8px var(--pad) 22px;
}

.band-head, .section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin: 18px var(--pad) 12px;
}

.band-head {
    margin: 0 0 14px;
}

.band-head h2, .section-head h2 {
    font-size: 36px;
    margin: 2px 0 0;
}

.band-head h2 a, .split h3 a {
    text-decoration: none;
}

.chips, .sib {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.chips a, .sib a {
    text-decoration: none;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px 11px;
    font-size: 12px;
    background: #fff;
}

.chips a.active, .sib a.active, .chips a:hover, .sib a:hover {
    background: var(--moss);
    color: #fff;
    border-color: var(--moss);
}

.split {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 22px;
    align-items: center;
}

.split img {
    width: 100%;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

.split h3 {
    font-size: 32px;
    margin: 6px 0;
    line-height: 1.25;
}

.split p {
    color: var(--muted);
    margin: 0;
    line-height: 1.3;
}

.mini-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 14px;
}

.mini-row a {
    text-decoration: none;
}

.mini-row img {
    width: 100%;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.mini-row strong {
    display: block;
    margin-top: 8px;
    font-size: 15px;
    line-height: 1.35;
}

.card-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.card-row a {
    text-decoration: none;
}

.card-row img {
    width: 100%;
    object-fit: cover;
    border-radius: 14px;
    display: block;
}

.card-row strong {
    display: block;
    margin-top: 8px;
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
}

.line-list a {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 14px;
    align-items: center;
    text-decoration: none;
    padding: 12px 0;
    border-top: 1px solid var(--line);
}

.line-list img {
    object-fit: cover;
    border-radius: 10px;
}

.line-list strong {
    display: block;
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 500;
    line-height: 1.15;
}

.pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.pair a {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 12px;
    text-decoration: none;
    background: #f6f3ee;
    border-radius: 14px;
    overflow: hidden;
    min-height: 128px;
}

.pair img {
    object-fit: cover;
    height: 100%;
}

.pair div {
    padding: 14px 14px 14px 0;
}

.pair h3 {
    font-size: 22px;
    margin: 4px 0 0;
}

.press {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px 10px;
    padding: 0 var(--pad) 8px;
}

.press a {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 10px;
    text-decoration: none;
}

.press img {
    object-fit: cover;
    border-radius: 6px;
}

.press strong {
    display: block;
    font-size: 15px;
    line-height: 1.35;
}

.invite {
    margin: 22px var(--pad) 8px;
    padding: 22px 24px;
    border-radius: 16px;
    background: var(--moss);
    color: #f6f3ee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.invite .kicker {
    color: #f0d2c2;
}

.invite h2 {
    font-size: 32px;
    margin: 4px 0 0;
    color: #fff;
}

.invite .btn-ghost {
    color: #fff;
}

.banner_ad {
    margin: 12px var(--pad);
    text-align: center;
}

.pager {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 8px var(--pad) 20px;
    align-items: center;
    justify-content: center;
    list-style: none;
}

.pager ul {
    display: flex;
    list-style: none;
    gap: 1rem;
    padding-left: 1rem;
}

.pager a, .pagination a, .pagination span {
    display: inline-flex;
    min-width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    padding: 0 8px;
}

.empty-note {
    color: var(--muted);
    margin: 0;
    padding: 8px var(--pad) 6px;
}

.mast {
    padding: 28px var(--pad) 6px;
}

.mast h1 {
    font-size: clamp(36px, 5vw, 54px);
    margin: 8px 0;
    font-weight: bold;
}

.crumbs {
    font-size: 13px;
    color: var(--muted);
}

.crumbs a {
    color: var(--moss);
}

.stamp {
    display: inline-block;
    border: 1px solid var(--clay);
    color: var(--clay);
    border-radius: 999px;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
}

.sib {
    justify-content: flex-start;
    padding-bottom: 8px;
    overflow-x: auto;
}

.feature-wide {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    margin: 12px var(--pad) 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    background: #fff;
}

.feature-wide .media {
    min-height: 260px;
    position: relative;
}

.feature-wide .media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-copy {
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.feature-copy h2 {
    font-size: 32px;
    margin: 6px 0;
}

.feature-copy p {
    color: var(--muted);
    margin: 0;
}

.mix-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 0 var(--pad) 20px;
}

.mix-card {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 12px;
    text-decoration: none;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    min-height: 140px;
}

.mix-card.wide {
    grid-column: 1 / -1;
    grid-template-columns: 240px 1fr;
}

.mix-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 140px;
}

.mix-card div {
    padding: 10px 10px 10px 0;
}

.mix-card h3 {
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 500;
    margin: 4px 0;
}

.result-row {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 16px;
    margin: 0 var(--pad) 12px;
    text-decoration: none;
    border-bottom: 1px solid var(--line);
    padding-bottom: 12px;
}

.result-row img {
    object-fit: cover;
    border-radius: 12px;
}

.result-row h3 {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 500;
    margin: 4px 0;
}

.result-row p {
    color: var(--muted);
    margin: 0;
}

.story-cover {
    margin: 10px 0;
    border-radius: 16px;
    overflow: hidden;
    /*background: #efe8df;*/
    width: fit-content;
}

.story-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.image_alt {
    color: #999;
    font-size: 14px;
    font-style: italic;
    margin-top: 5px;
}

.story-card {
    padding: 20px var(--pad) 0;
    /*max-width: 760px;*/
}

.story-card h1 {
    font-size: clamp(26px, 4vw, 40px);
    margin: 12px 0;
}

.byline {
    display: flex;
    gap: 12px;
    align-items: center;
}

.avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--moss);
    color: #fff;
    display: grid;
    place-items: center;
    font-family: var(--serif);
    font-size: 22px;
}

.read-grid {
    display: grid;
    grid-template-columns: minmax(0, 720px) 260px;
    gap: 32px;
    padding: 18px var(--pad) 36px;
}

.article-body {
    font-size: 18px;
    line-height: 1.45;
}

.article-body p {
    margin: 0 0 15px;
    font-size: 16px;
}

.article-body h2, .article-body h3 {
    font-family: var(--serif);
    font-weight: 500;
    line-height: 1.15;
    margin: 10px 0;
}

.article-body img {
    height: auto;
    border-radius: 12px;
    margin: 8px 0 16px;
}

.article-body > p:first-of-type::first-letter {
    font-family: var(--serif);
    float: left;
    font-size: 64px;
    line-height: .8;
    padding: 6px 8px 0 0;
    color: var(--moss);
}

.rail {
    position: sticky;
    top: 128px;
    display: grid;
    gap: 12px;
    align-self: start;
}

.rail-card {
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px;
    background: #fff;
}

.rail-card a {
    display: block;
    text-decoration: none;
    padding: 8px 0;
    border-top: 1px solid var(--line);
    font-size: 15px;
    line-height: 1.3;
}

.progress-track {
    position: sticky;
    top: 118px;
    height: 3px;
    z-index: 6;
    background: #efe8df;
}

.progress-bar {
    height: 100%;
    width: 0;
    background: var(--moss);
}

.finder {
    padding: 28px var(--pad) 8px;
}

.finder h1 {
    font-size: clamp(40px, 5vw, 60px);
    margin: 6px 0 14px;
}

.search-line {
    display: flex;
    gap: 10px;
    max-width: 640px;
    border-bottom: 1.5px solid var(--ink);
}

.search-line input {
    flex: 1;
    border: 0;
    background: transparent;
    padding: 10px 0;
    font-size: 20px;
    outline: none;
}

.profile {
    display: grid;
    grid-template-columns: 300px 1fr;
    background: #f6f3ee;
}

.portrait {
    background: #e7ddd2;
}

.portrait img {
    width: 120px;
    aspect-ratio: 1;
    border-radius: 999px;
    object-fit: cover;
}

.profile-copy {
    padding: 36px 32px;
}

.profile-copy h1 {
    font-size: clamp(32px, 4vw, 54px);
    margin: 6px 0 10px;
}

.profile-copy p {
    color: var(--muted);
}

.toc {
    padding: 8px var(--pad) 28px;
}

.toc-row {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 12px;
    padding: 18px 0;
    border-top: 1px solid var(--line);
}

.toc-row b {
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 500;
    color: var(--moss);
}

.toc-row h2 {
    font-size: 32px;
    margin: 0 0 8px;
}

.toc-row h2 a {
    text-decoration: none;
}

.toc .chips {
    justify-content: flex-start;
}

.stage {
    padding: 36px var(--pad) 8px;
    background: transparent;
    color: inherit;
}

.letter {
    max-width: 740px;
    padding: 8px var(--pad) 20px;
}

.letter h1, .letter h2 {
    font-size: 42px;
}

.letter p, .legal p {
    font-size: 17px;
    line-height: 1.7;
    color: #4e463f;
}

.legal {
    padding: 8px var(--pad) 36px;
    max-width: 760px;
}

.legal h2 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 30px;
    margin: 26px 0 8px;
}

.doors {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 16px;
}

.door {
    display: block;
    background: #f6f3ee;
    border-radius: 14px;
    padding: 16px;
    text-decoration: none;
    min-height: 110px;
}

.door strong {
    display: block;
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 500;
    margin-bottom: 6px;
}

.contact-split {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
}

.contact-aside {
    background: #f6f3ee;
    padding: 36px 32px;
    border-radius: 0 0 0 20px;
}

.contact-aside h1 {
    font-size: clamp(40px, 4vw, 58px);
    margin: 8px 0 12px;
}

.contact-aside p {
    color: var(--muted);
}

.contact-form {
    padding: 36px 32px;
    display: grid;
    gap: 14px;
    align-content: start;
}

.field {
    display: grid;
    gap: 6px;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--muted);
}

.field input, .field select, .field textarea {
    border: 0;
    border-bottom: 1.5px solid var(--ink);
    background: transparent;
    padding: 10px 0;
    font-size: 17px;
    letter-spacing: 0;
    text-transform: none;
    font-weight: 500;
    outline: none;
    width: 100%;
}

.colophon {
    margin: 24px var(--pad) 22px;
    background: #24312c;
    color: #f6f3ee;
    border-radius: 18px;
    padding: 26px 22px 16px;
}

.colo-top {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 18px;
    align-items: center;
}

.colo-brand {
    background: #fff;
    border-radius: 12px;
    padding: 6px 10px;
}

.colo-top p {
    margin: 0;
    color: #d9d0c6;
}

.colo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(246, 243, 238, .15);
}

.colo-grid a, .colo-cat {
    display: block;
    color: #f6f3ee;
    text-decoration: none;
    padding: 3px 0;
    font-size: 14px;
}

.colo-cat {
    font-family: var(--serif);
    font-size: 22px;
    margin-bottom: 4px;
}

.colo-bottom {
    margin-top: 16px;
    color: #b7aea4;
    font-size: 13px;
}

.share-links {
    display: flex;
    gap: 8px;
}

.share-links a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(246, 243, 238, .35);
    display: grid;
    place-items: center;
    color: #f6f3ee;
}

.share-links a:hover {
    background: var(--clay);
    border-color: var(--clay);
}

.share-links svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
}

.share-items {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
}

.share-items a {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    background: var(--card);
    color: var(--ink);
    text-decoration: none;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.share-items a:hover,
.share-items a:focus-visible {
    background: var(--clay);
    border-color: var(--clay);
    color: #fff;
}

.share-items svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(36, 28, 24, .4);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
    z-index: 70;
}

.overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.search-panel, .mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: min(420px, 100%);
    background: #fffdfb;
    z-index: 80;
    transform: translateX(105%);
    transition: transform .25s ease;
    padding: 22px;
    overflow: auto;
}

.search-panel.open, .mobile-menu.open {
    transform: none;
}

.panel-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--serif);
    font-size: 30px;
}

.panel-top strong {
    font-weight: 500;
}

.search-panel form {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.search-panel label {
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
}

.search-input {
    border: 0;
    border-bottom: 1.5px solid var(--ink);
    background: transparent;
    padding: 10px 0;
    font-size: 20px;
    outline: none;
}

.panel-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.panel-links a {
    text-decoration: none;
    border-bottom: 1px solid var(--ink);
}

.mobile-menu > a, .sub-toggle {
    display: flex;
    width: 100%;
    justify-content: space-between;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--line);
    text-align: left;
    text-decoration: none;
    padding: 14px 0;
    font-family: var(--serif);
    font-size: 26px;
    cursor: pointer;
}

.mobile-subs {
    display: none;
    padding: 4px 0 8px 8px;
}

.mobile-group.open .mobile-subs {
    display: grid;
}

.mobile-subs a {
    text-decoration: none;
    padding: 7px 0;
    border-bottom: 1px solid var(--line);
}

.to-top {
    position: fixed;
    right: max(18px, calc((100vw - var(--frame)) / 2 + 18px));
    bottom: 18px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: var(--moss);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    z-index: 60;
    opacity: 0;
    pointer-events: none;
}

.to-top.show {
    opacity: 1;
    pointer-events: auto;
}

.toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%) translateY(12px);
    background: var(--ink);
    color: #fff;
    padding: 12px 16px;
    border-radius: 999px;
    opacity: 0;
    pointer-events: none;
    z-index: 90;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%);
}

.max-line-1 {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.3;
}

.line-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.max-line-2 {
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.max-line-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.1;
}

.page-size {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    justify-content: center;
    align-items: center;
    margin: 2rem 0;
}

.page-size a {
    margin-left: 5px;
    margin-right: 5px;
    margin-top: 5px;
    float: left;
    background: transparent;
    border: solid 1px #ececec;
    color: #197fe6;
    height: 32px;
    line-height: 32px;
    transition: all .3s;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    text-decoration: auto;
    padding: 0 15px;
}

.page-size a.is-current {
    background: #197fe6;
    border: solid 1px #197fe6;
    color: #fff;
}

.page-size span {
    margin-left: 5px;
    margin-right: 5px;
    margin-top: 5px;
    float: left;
    min-width: 32px;
    height: 32px;
    line-height: 32px;
    transition: all .3s;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    background: #197fe6;
    border: solid 1px #197fe6;
    color: #fff; /*border-radius: 99px;*/
}

.page-size a:hover, .page-size span:hover {
    background: #197fe6;
    border-color: #197fe6;
    color: #fff;
}

.page-size ul {
    display: flex;
    gap: .5rem;
    justify-content: start;
    align-items: center;
}

.page-size ul, .page-size li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.article-img {
    border-radius: 12px;
    width: 100%;
    max-width: 480px;
    margin: 10px 0;
}

@media (max-width: 980px) {
    .topics, .card-row {
        grid-template-columns: 1fr 1fr;
    }

    .press, .also {
        grid-template-columns: 1fr;
    }

    .also a {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .colo-top {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    :root {
        --pad: 16px;
    }

    .shell {
        width: 100%;
        margin: 0;
        border-radius: 0;
        box-shadow: none;
        min-height: 100vh;
    }

    .masthead {
        border-radius: 0;
    }

    .cat-nav {
        display: none;
    }

    .menu-toggle {
        display: grid;
        place-items: center;
    }

    .opener, .split, .feature-wide, .mix-grid, .read-grid, .profile, .contact-split, .pair, .invite, .result-row, .mix-card, .mix-card.wide, .line-list a {
        grid-template-columns: 1fr;
    }

    .mini-row, .topics, .card-row, .doors {
        grid-template-columns: 1fr;
    }

    .feature-wide .media {
        min-height: 200px;
    }

    .feature-wide .media img {
        position: static;
        height: 220px;
    }

    .result-row img, .mix-card img {
        width: 100%;
    }

    .pair img {
        width: 100%;
        height: 160px;
    }

    .progress-track {
        top: 64px;
    }

    .rail {
        position: static;
    }

    .invite, .band-head, .section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .chips {
        justify-content: flex-start;
    }

    .contact-aside {
        border-radius: 0;
    }
}


@media screen and (max-width: 768px) {
    .feature-copy h2 {
        font-size: 24px;
    }

    .mix-card div {
        padding: 10px;
    }

    .profile-copy {
        padding: 20px 10px;
    }
}