@font-face {
    font-family: 'ABCMarist';
    src: url('fonts/ABCMarist-Book.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ABCMarist';
    src: url('fonts/ABCMarist-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ABCMarist';
    src: url('fonts/ABCMarist-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background-color: #ffffff;
}

:root {
    --electric-blue: #002FA7;
    --text-color: #666;
    --bg-color: #ffffff;
    --light-gray: #4d4d4d;
}

body {
    font-family: 'ABCMarist', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    color: var(--text-color);
    background-color: #ffffff;
    line-height: 1.4;
    font-size: 18px;
    min-height: 100vh;
    font-weight: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    overflow: hidden;
}


.content {
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
    min-height: 0;
    margin-top: 5vh;
}

.name-text {
    margin: 0;
    line-height: 1.3;
    font-size: 18px;
    font-weight: normal;
    font-family: 'ABCMarist', sans-serif;
}

.header-links {
    font-family: 'ABCMarist', sans-serif;
    font-size: 18px;
    font-weight: normal;
    display: flex;
    align-items: baseline;
    gap: 1rem;
}

.header-link {
    color: var(--text-color);
    text-decoration: none;
    font-family: 'ABCMarist', sans-serif;
    transition: color 0.2s ease;
}

.header-link:hover {
    color: #000000;
}

.header-link.active {
    color: #000000;
}

.home-link {
    color: #000000 !important;
    text-decoration: none;
    font-family: 'ABCMarist', sans-serif;
    transition: opacity 0.2s ease;
}

.home-link:hover {
    opacity: 0.7;
}

.content p {
    margin: 0;
    line-height: 1.3;
    font-size: 18px;
    font-weight: normal;
    font-family: 'ABCMarist', sans-serif;
    color: var(--text-color);
    transition: margin-top 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.name-text + p {
    margin-top: 1.3em;
}

.content p:not(.name-text) ~ p {
    margin-top: 0.75rem;
    transition: margin-top 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.content strong {
    font-weight: 600;
    color: var(--electric-blue);
    font-family: 'ABCMarist', sans-serif;
}

.highlight-link {
    font-weight: normal;
    color: var(--electric-blue);
    text-decoration: none;
    font-family: 'ABCMarist', sans-serif;
    transition: opacity 0.2s ease;
    cursor: pointer;
}

.highlight-link:hover {
    opacity: 0.7;
}

.highlight-link.active {
    text-decoration: underline;
    opacity: 1;
}

.investing-link {
    color: #666;
    text-decoration: none;
    font-family: 'ABCMarist', sans-serif;
    transition: opacity 0.2s ease;
}

.investing-link:hover {
    opacity: 0.7;
}

.investing-item {
    margin-top: 0.875rem !important;
}

.investing-item:first-of-type {
    margin-top: 1.3em !important;
}

.investing-link + sub {
    margin-left: 0.3em;
    vertical-align: middle;
    position: relative;
    top: -0.1em;
}

.content sub {
    font-size: 0.7em;
    vertical-align: baseline;
    position: relative;
    bottom: -0.2em;
    color: var(--text-color);
    font-family: 'ABCMarist', sans-serif;
}

.description-text {
    color: #bbb;
    font-family: 'ABCMarist', sans-serif;
    font-size: 18px;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    will-change: max-height, margin-top, opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), margin-top 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.description-text.active {
    max-height: 1000px;
    margin-top: 0.3em;
    margin-bottom: 0;
    opacity: 1;
    transition: opacity 0.35s cubic-bezier(0, 0, 0.2, 1), max-height 0.5s cubic-bezier(0, 0, 0.2, 1), margin-top 0.5s cubic-bezier(0, 0, 0.2, 1);
}

.description-link {
    color: var(--electric-blue);
    text-decoration: none;
    font-family: 'ABCMarist', sans-serif;
    transition: opacity 0.2s ease;
}

.description-link:hover {
    opacity: 0.7;
}

.content em {
    font-style: italic;
}

.footer-video {
    width: 100%;
    height: auto;
    max-height: 40vh;
    object-fit: contain;
    background-color: #F2F2F2;
    margin-top: 2.6em;
    transition: margin-top 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.contact-links {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 13px;
    font-weight: normal;
    color: var(--light-gray);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
    line-height: 1.5;
    margin-top: 1.3em;
    transition: margin-top 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.contact-link {
    text-decoration: none;
    color: var(--light-gray);
    transition: color 0.2s ease;
    font-family: 'IBM Plex Mono', monospace;
}

.contact-link:hover {
    color: var(--electric-blue);
}

.separator {
    color: var(--light-gray);
    margin: 0 0.2rem;
    font-family: 'IBM Plex Mono', monospace;
}

/* Asterisk board */

.asterisk-board {
    margin-top: 1.75rem;
}

.asterisk-symbol {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 48px;
    color: var(--electric-blue);
    line-height: 1;
    margin-bottom: 1rem;
}

.asterisk-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    border: 1px solid #e0e0e0;
}

.asterisk-card {
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.asterisk-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.05em;
    color: var(--light-gray);
}

.asterisk-desc {
    font-family: 'ABCMarist', sans-serif;
    font-size: 14px;
    color: #999;
    line-height: 1.3;
}

.asterisk-grid .asterisk-card:nth-child(1),
.asterisk-grid .asterisk-card:nth-child(2) {
    border-bottom: 1px solid #e0e0e0;
}

.asterisk-grid .asterisk-card:nth-child(1),
.asterisk-grid .asterisk-card:nth-child(3) {
    border-right: 1px solid #e0e0e0;
}

/* Things — Are.na-style page layout */

/* Channel grid */

.things-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 2rem;
}

.things-card {
    position: relative;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 1px solid #e8e8e8;
    border-radius: 0;
    padding: 1.25rem;
    transition: border-color 0.2s ease;
    text-align: center;
    gap: 0.5rem;
}

.things-card-pin {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 11px;
    height: 11px;
    fill: none;
    stroke: #c6c6c6;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.things-card:hover {
    border-color: #ccc;
}

.things-card-title {
    font-family: 'ABCMarist', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.things-card-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
}

.things-card-meta span {
    font-family: 'ABCMarist', sans-serif;
    font-size: 12px;
    color: #999;
    line-height: 1.4;
}

.things-card-time {
    color: #bbb !important;
}

/* Detail view */

.things-detail {
    margin-top: 2rem;
}

.things-back {
    font-family: 'ABCMarist', sans-serif;
    font-size: 14px;
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.things-back:hover {
    color: #000;
}

.things-channel-title {
    font-family: 'ABCMarist', sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: #000;
    margin-top: 0.75em;
    margin-bottom: 1.25em;
}

.things-pinned {
    font-family: 'ABCMarist', sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: #999;
    background: #fafafa;
    border: 1px solid #e8e8e8;
    border-radius: 0;
    padding: 0.75rem 1rem;
    margin-bottom: 1.25rem;
}

.things-pinned-icon {
    font-size: 11px;
    margin-right: 2px;
}

.things-blocks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.things-block {
    aspect-ratio: 1;
    overflow: hidden;
    border: 1px solid #e8e8e8;
    border-radius: 0;
    background: #fff;
    padding: 1.25rem;
    position: relative;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.things-block:hover {
    border-color: #ccc;
}

.things-block-static {
    cursor: default;
}

.things-block p {
    font-family: 'ABCMarist', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    text-align: left;
    margin: 0 !important;
}

.things-block .things-block-desc {
    font-size: 12px;
    color: #999;
    margin-top: 0.5rem !important;
}

.things-block-hover-swap {
    display: grid;
    align-content: start;
}

.things-block-hover-swap > p {
    grid-area: 1 / 1;
}

.things-block-hover-swap .things-block-label {
    filter: blur(0);
    transition:
        opacity 180ms cubic-bezier(0.25, 0.1, 0.25, 1) 45ms,
        filter 180ms cubic-bezier(0.25, 0.1, 0.25, 1) 45ms;
}

.content .things-block-hover-swap .things-block-hover-desc {
    margin-top: 0 !important;
    font-size: 14px;
    color: #aaa;
    opacity: 0;
    filter: blur(1px);
    transition:
        opacity 160ms cubic-bezier(0.25, 0.1, 0.25, 1),
        filter 160ms cubic-bezier(0.25, 0.1, 0.25, 1);
}

.things-block-hover-swap:hover .things-block-label {
    opacity: 0;
    filter: blur(1px);
    transition-delay: 0ms;
}

.things-block-hover-swap:hover .things-block-hover-desc {
    opacity: 1;
    filter: blur(0);
    transition-duration: 240ms;
    transition-delay: 45ms;
}

@media (prefers-reduced-motion: reduce) {
    .things-block-hover-swap .things-block-label,
    .content .things-block-hover-swap .things-block-hover-desc {
        filter: none;
        transition: opacity 120ms ease;
    }
}

.things-block-link .things-block-arrow {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    font-size: 14px;
    color: #ccc;
}

.things-block-image {
    padding: 0;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.things-block-image::after {
    display: none;
}

.things-block-image img,
.things-block-image video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.things-block-wrap {
    display: flex;
    flex-direction: column;
    position: relative;
}

.things-block-wrap .things-block {
    aspect-ratio: 1;
}

.things-block-subtitle {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 9px;
    color: #aaa;
    line-height: 1.3;
    margin-top: 8px;
    text-align: center;
    letter-spacing: 0.01em;
    transition: opacity 0.2s ease;
}

.things-block-time {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 9px;
    color: #aaa;
    line-height: 1.3;
    margin-top: 8px;
    text-align: center;
    letter-spacing: 0.01em;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.things-block-subtitle ~ .things-block-time {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin-top: 0;
}

.things-block-wrap:hover .things-block-time {
    opacity: 1;
}

.things-block-wrap:hover .things-block-subtitle {
    opacity: 0;
}

.things-block::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3rem;
    background: linear-gradient(transparent, #fff);
    pointer-events: none;
}

/* Block modal */

.things-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    padding: 2rem;
}

.things-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.things-modal {
    background: #fff;
    border-radius: 0;
    border: 1px solid #e8e8e8;
    padding: 2rem;
    width: 420px;
    height: 420px;
    overflow-y: auto;
    cursor: default;
    position: relative;
}

.things-modal-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: none;
    border: none;
    font-size: 18px;
    color: #999;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    font-family: 'IBM Plex Mono', monospace;
}

.things-modal-close:hover {
    color: #333;
}

.things-modal p {
    font-family: 'ABCMarist', sans-serif;
    font-size: 16px;
    line-height: 1.55;
    color: #333;
    text-align: left;
    margin: 0 !important;
}

.things-modal-image {
    padding: 0;
    max-width: 720px;
    overflow: hidden;
}

.things-modal-image img {
    width: 100%;
    display: block;
}

.things-modal .things-block-desc {
    font-size: 14px;
    color: #999;
    margin-top: 0.75rem !important;
}

.things-empty {
    font-family: 'ABCMarist', sans-serif;
    font-size: 14px;
    color: #bbb;
    padding: 2rem 0;
}

/* Art detail view */

.things-art-detail {
    display: flex;
    gap: 2.5rem;
    margin-top: 1.5rem;
}

.things-art-image {
    flex: 0 0 58%;
    max-width: 58%;
}

.things-art-image img {
    width: 100%;
    display: block;
}

.things-art-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 0.25rem;
    min-width: 0;
}

.things-art-subtitle {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: #999;
    line-height: 1.5;
    margin: 0 !important;
}

.things-art-commentary {
    font-family: 'ABCMarist', sans-serif;
    font-size: 15px;
    line-height: 1.55;
    color: #333;
    margin-top: 1.25rem;
}

.things-art-date {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 9px;
    color: #bbb;
    margin-top: auto !important;
    padding-top: 1.5rem;
}

.things-art-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #e8e8e8;
}

.things-art-nav-link {
    font-family: 'ABCMarist', sans-serif;
    font-size: 14px;
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.things-art-nav-link:hover {
    color: #000;
}

/* Email subscribe */

.things-subscribe {
    margin-top: 1.25rem;
    margin-bottom: -0.5rem;
}

.things-subscribe-desc {
    font-family: 'ABCMarist', sans-serif;
    font-size: 16px !important;
    color: #999;
    line-height: 1.4;
    margin-bottom: 0.75rem !important;
}

.things-subscribe-form {
    display: flex;
    gap: 0;
}

.things-subscribe-input {
    font-family: 'ABCMarist', sans-serif;
    font-size: 15px;
    color: #333;
    border: 1px solid #e8e8e8;
    border-right: none;
    padding: 0.4rem 0.6rem;
    outline: none;
    background: #fff;
    flex: 1;
    min-width: 0;
    transition: border-color 0.2s ease;
}

.things-subscribe-input::placeholder {
    color: #ccc;
}

.things-subscribe-input:focus {
    border-color: #ccc;
}

.things-subscribe-btn {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    color: #fff;
    background: #333;
    border: 1px solid #333;
    padding: 0.4rem 0.75rem;
    cursor: pointer;
    transition: background 0.2s ease;
    white-space: nowrap;
}

.things-subscribe-btn:hover {
    background: #000;
    border-color: #000;
}

.things-subscribe-btn:disabled {
    background: #999;
    border-color: #999;
    cursor: default;
}

.things-subscribe-msg {
    font-family: 'ABCMarist', sans-serif;
    font-size: 11px;
    line-height: 1.4;
    margin-top: 0.4rem;
    min-height: 0;
}

.things-subscribe-msg.success {
    color: #333;
    font-size: 12px;
}

.things-subscribe-msg.error {
    color: #c44;
    font-size: 12px;
}

@media (max-width: 768px) {
    .container {
        padding: 4rem 1.5rem;
    }

    .name-text {
        font-size: 17px;
    }

    .content {
        gap: 1.5rem;
        margin-top: 0;
    }

    .content p {
        font-size: 17px;
        line-height: 1.155;
    }

    .description-text {
        font-size: 17px;
        line-height: 1.155;
    }

    .description-text.active {
        margin-top: 0.1em;
    }

    .name-text + p {
        margin-top: 0.0875em;
    }

    .content p:not(.name-text) ~ p {
        margin-top: 0.15625rem;
    }

    .asterisk-board {
        margin-top: 0;
    }

    .contact-links {
        margin-top: 0.0875em;
    }

    .footer-video {
        margin-top: 0.175em;
    }

    .investing-item {
        margin-top: 0.0rem !important;
    }

    .investing-item:first-of-type {
        margin-top: 0.225em !important;
    }

    .things-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .things-card-title {
        font-size: 14px;
    }

    .things-blocks {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .things-art-detail {
        flex-direction: column;
        gap: 1.5rem;
    }

    .things-art-image {
        flex: none;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 3rem 1rem;
    }

    body {
        font-size: 17px;
    }

    .name-text {
        font-size: 16px;
    }

    .content {
        margin-top: 0;
    }

    .content p {
        font-size: 16px;
        line-height: 1.2;
    }

    .description-text {
        font-size: 16px;
        line-height: 1.2;
    }

    .description-text.active {
        margin-top: 0.1em;
    }

    .name-text + p {
        margin-top: 0.07875em;
    }

    .content p:not(.name-text) ~ p {
        margin-top: 0.1375rem;
    }

    .contact-links {
        font-size: 12px;
        margin-top: 0.07875em;
    }

    .footer-video {
        margin-top: 0.1575em;
    }

    .investing-item {
        margin-top: 0.08rem !important;
    }

    .investing-item:first-of-type {
        margin-top: 0.225em !important;
    }
}

/* Things — intro placeholder line */

.things-intro {
    margin-top: 1.25rem;
    margin-bottom: -0.5rem;
}

.content .things-intro p {
    font-family: 'ABCMarist', sans-serif;
    font-size: 16px;
    color: #999;
    line-height: 1.4;
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.things-intro s {
    color: #c6c6c6;
    text-decoration-color: #c6c6c6;
}

/* Things — video blocks in the modal and the detail view */

.things-modal-image video,
.things-art-image video {
    width: 100%;
    display: block;
}

/* Minimal cursor — see components.js */

::selection { background: var(--electric-blue); color: #fff; }

.has-cursor, .has-cursor * { cursor: none !important; }

.cursor {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    will-change: transform;
}
.cursor.visible { opacity: 1; }

.cursor-ring { width: 14px; height: 14px; margin: -7px 0 0 -7px; border: 1.5px solid var(--light-gray); border-radius: 50%; }
.cursor-ring::after { content: ""; position: absolute; left: 50%; top: 50%; width: 2px; height: 2px; margin: -1px 0 0 -1px; background: var(--light-gray); border-radius: 50%; }
.cursor-ring.link { border-color: var(--electric-blue); }
.cursor-ring.link::after { background: var(--electric-blue); }

.cursor-dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--light-gray); border-radius: 50%; }
.cursor-dot.link { background: var(--electric-blue); }

.cursor-cross { width: 14px; height: 14px; margin: -7px 0 0 -7px; }
.cursor-cross::before, .cursor-cross::after { content: ""; position: absolute; background: var(--light-gray); }
.cursor-cross::before { left: 50%; top: 0; width: 1.5px; height: 100%; margin-left: -0.75px; }
.cursor-cross::after { top: 50%; left: 0; width: 100%; height: 1.5px; margin-top: -0.75px; }
.cursor-cross.link::before, .cursor-cross.link::after { background: var(--electric-blue); }

@media (pointer: coarse) { .cursor { display: none; } }
