﻿:root {
    color-scheme: light;
    --paper: #fff5ef;
    --ink: #421b27;
    --muted: #865762;
    --red: #d93245;
    --line: #b54c5327;
    --serif: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    color: var(--ink);
    background: var(--paper);
    font-synthesis: none;
}

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

[hidden] {
    display: none !important;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 28px;
}

body {
    margin: 0;
    min-height: 100vh;
    background: radial-gradient(ellipse 700px 520px at 96% 170px, #ffa6a358, #ffa6a300 95%), radial-gradient(ellipse 650px 480px at 0 370px, #ffd4b755, #ffd4b700 95%), var(--paper);
    -webkit-font-smoothing: antialiased;
}

::selection {
    color: #601b2f;
    background: #ffc0bb;
}

a {
    color: inherit;
}

button, input {
    font: inherit;
}

button {
    cursor: pointer;
}

button, a {
    -webkit-tap-highlight-color: transparent;
}

    a:focus-visible, button:focus-visible, input:focus-visible {
        outline: 3px solid #972243;
        outline-offset: 5px;
    }

.shell {
    width: min(1240px, calc(100% - 96px));
    margin-inline: auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: 24px;
    top: -80px;
    z-index: 9;
    padding: 12px 18px;
    background: white;
}

    .skip-link:focus {
        top: 12px;
    }

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-block: 25px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
    font-size: 21px;
    font-weight: 750;
    letter-spacing: -.055em;
}

    .brand svg {
        width: 38px;
        height: 38px;
        color: var(--red);
    }

.nav-right {
    display: flex;
    align-items: center;
    gap: 34px;
}

.nav-note {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

    .nav-link svg {
        width: 17px;
        height: 17px;
    }

.hero {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 30px;
    padding-block: 49px 80px;
}

.hero-copy {
    min-width: 0;
    animation: arrive 800ms ease both;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 22px;
    color: #a3404e;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: .18em;
    text-transform: uppercase;
}

    .eyebrow::before {
        content: "";
        width: 24px;
        height: 1px;
        background: #ce3c4f;
    }

.hero h1 {
    margin: 0;
    font-size: clamp(70px, 8.8vw, 122px);
    font-weight: 750;
    line-height: .99;
    letter-spacing: -.075em;
}

    .hero h1 span {
        display: block;
    }

    .hero h1 .eyebrow {
        display: flex;
    }

    .hero h1 .hero-world {
        color: var(--red);
        font: italic 1.08em/.98 var(--serif);
        letter-spacing: -.07em;
        padding-right: .12em;
    }

.hero-description {
    max-width: 360px;
    margin: 29px 0 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px 24px;
    margin-top: 28px;
}

.primary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    min-height: 50px;
    padding: 14px 20px;
    border: 1px solid var(--red);
    border-radius: 50px;
    color: #fff;
    background: var(--red);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 7px 22px #dd374423;
    transition: transform 200ms, background 200ms, box-shadow 200ms;
}

    .primary-link svg {
        width: 17px;
        height: 17px;
        transform: rotate(90deg);
    }

.surprise {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 46px;
    padding: 8px 0;
    border: 0;
    color: #854352;
    background: transparent;
    font-size: 13px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-color: #a8495345;
}

    .surprise svg {
        width: 18px;
        height: 18px;
    }

.hero-visual {
    position: relative;
    min-width: 0;
    height: 432px;
    user-select: none;
    pointer-events: none;
}

.hero-halo {
    position: absolute;
    width: 350px;
    height: 350px;
    max-width: 90%;
    border-radius: 50%;
    top: 35px;
    right: 6%;
    background: #ffd4c570;
    border: 1px solid #ee776a22;
}

.poster {
    position: absolute;
    width: 230px;
    height: 290px;
    padding: 12px;
    border-radius: 6px;
    background: #fffaf3;
    box-shadow: 0 17px 34px #af505329, 0 1px 3px #78413115;
}

    .poster svg {
        width: 100%;
        height: calc(100% - 33px);
        border-radius: 2px;
    }

    .poster span {
        display: block;
        padding: 10px 1px 0;
        font-size: 10px;
        color: #8a4a53;
        font-weight: 600;
        letter-spacing: .13em;
        text-transform: uppercase;
    }

.poster-back {
    left: 8%;
    top: 44px;
    transform: rotate(-13deg);
    animation: float-back 4.3s ease-in-out 1;
}

.poster-front {
    right: 3%;
    top: 103px;
    transform: rotate(10deg);
    animation: float-front 4.8s ease-in-out 1;
}

.curious-stamp {
    position: absolute;
    z-index: 2;
    left: 3%;
    bottom: 30px;
    display: grid;
    align-content: center;
    width: 99px;
    height: 99px;
    border-radius: 50%;
    border: 1px dashed #b64555;
    background: #ffe8dd;
    text-align: center;
    color: #bd314e;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.55;
    letter-spacing: .09em;
    transform: rotate(-12deg);
    box-shadow: 0 0 0 6px #ffe8dd;
}

.hero-spark {
    position: absolute;
    top: 12px;
    right: 11%;
    width: 64px;
    height: 64px;
    color: #e2574b;
    transform: rotate(12deg);
}

    .hero-spark svg {
        width: 100%;
        height: 100%;
    }

.hero-caption {
    position: absolute;
    right: 15%;
    bottom: 0;
    margin: 0;
    color: #ac5960;
    font: italic 17px var(--serif);
    transform: rotate(-5deg);
}

.collection {
    padding-block: 17px 70px;
}

.collection-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 28px;
}

    .collection-heading .eyebrow {
        margin-bottom: 10px;
    }

    .collection-heading h2 {
        margin: 0;
        font-size: clamp(31px, 3.7vw, 47px);
        font-weight: 600;
        line-height: 1.15;
        letter-spacing: -.055em;
    }

        .collection-heading h2 em {
            font-family: var(--serif);
            font-weight: 400;
            color: var(--red);
        }

.search-box {
    position: relative;
    flex: 0 1 304px;
    max-width: 100%;
    min-width: 0;
}

    .search-box > svg {
        position: absolute;
        width: 19px;
        height: 19px;
        top: 17px;
        left: 17px;
        color: #a56770;
        pointer-events: none;
    }

    .search-box input {
        display: block;
        width: 100%;
        height: 52px;
        padding: 0 47px 0 46px;
        border: 1px solid #af526e26;
        border-radius: 15px;
        color: var(--ink);
        background: #ffffffb3;
        font-size: 14px;
        -webkit-appearance: none;
        appearance: none;
    }

        .search-box input::-webkit-search-cancel-button {
            -webkit-appearance: none;
        }

        .search-box input::placeholder {
            color: #956570;
            opacity: 1;
        }

.search-clear {
    position: absolute;
    top: 4px;
    right: 3px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    color: #89515f;
    background: transparent;
    font-size: 22px;
}

.collection-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px 20px;
    margin-bottom: 24px;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.filter {
    min-height: 42px;
    padding: 10px 15px;
    border: 1px solid transparent;
    border-radius: 50px;
    color: #81505b;
    background: transparent;
    font-size: 12px;
    font-weight: 500;
    transition: background 200ms, color 200ms;
}

    .filter[aria-pressed="true"] {
        border-color: #d8324630;
        color: #b22b43;
        background: #ffdfd8;
    }

.result-count {
    margin: 0;
    color: #92636b;
    font-size: 12px;
    line-height: 1.5;
}

.directory-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.card-item {
    min-width: 0;
}

.card-item--wide {
    grid-column: span 2;
}

.site-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    overflow: hidden;
    border: 1px solid #a3544d1a;
    border-radius: 22px;
    background: #fffcf8;
    text-decoration: none;
    box-shadow: 0 4px 8px #92452f03;
    transition: transform 250ms, box-shadow 250ms, border-color 250ms;
}

.site-card__art {
    position: relative;
    flex: 0 0 auto;
    height: 178px;
    overflow: hidden;
    background: #ffccba;
}

    .site-card__art > svg {
        display: block;
        width: 100%;
        height: 100%;
        transition: transform 650ms cubic-bezier(.2,.8,.2,1);
    }

.site-card__number {
    position: absolute;
    top: 14px;
    left: 16px;
    display: grid;
    place-items: center;
    min-width: 30px;
    height: 30px;
    padding: 0 7px;
    border-radius: 50%;
    background: #fff8efed;
    color: #8d3548;
    font-size: 10px;
    font-weight: 600;
}

.site-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    padding: 24px 25px 20px;
}

.site-card__category {
    color: #ba4055;
    font-size: 10px;
    font-weight: 650;
    line-height: 1.5;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.site-card h3 {
    margin: 11px 0 10px;
    font-size: 23px;
    line-height: 1.15;
    font-weight: 650;
    letter-spacing: -.04em;
    overflow-wrap: anywhere;
}

.site-card__description {
    flex: 1;
    margin: 0 0 25px;
    color: #875d64;
    font-size: 13px;
    line-height: 1.8;
}

.site-card__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid #a4564920;
    font-size: 11px;
    color: #925d69;
}

.site-card__visit {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #bd3148;
    font-size: 12px;
    font-weight: 600;
}

    .site-card__visit svg {
        width: 18px;
        height: 18px;
        transition: transform 220ms;
    }

.card-item--wide .site-card {
    display: grid;
    grid-template-columns: 1fr .95fr;
}

.card-item--wide .site-card__art {
    order: 2;
    height: 100%;
    min-height: 300px;
}

.card-item--wide .site-card__body {
    padding: 32px 29px 25px;
}

.card-item--wide h3 {
    margin-top: 25px;
    font-size: clamp(28px, 3vw, 40px);
    letter-spacing: -.055em;
}

.card-item--wide .site-card__description {
    font-size: 14px;
    margin-top: 4px;
}

.directory-grid.is-filtered .card-item--wide {
    grid-column: auto;
}

    .directory-grid.is-filtered .card-item--wide .site-card {
        display: flex;
    }

    .directory-grid.is-filtered .card-item--wide .site-card__art {
        order: 0;
        height: 178px;
        min-height: 0;
    }

    .directory-grid.is-filtered .card-item--wide .site-card__body {
        padding: 24px 25px 20px;
    }

    .directory-grid.is-filtered .card-item--wide h3 {
        font-size: 23px;
        margin: 11px 0 10px;
    }

    .directory-grid.is-filtered .card-item--wide .site-card__description {
        font-size: 13px;
        margin-top: 0;
    }

.card-item.is-picked .site-card {
    outline: 3px solid #e54b57;
    outline-offset: 5px;
    box-shadow: 0 15px 40px #ce475a25;
}

.empty-state {
    padding: 50px 20px;
    border: 1px dashed #b5566440;
    border-radius: 22px;
    text-align: center;
}

    .empty-state h3 {
        margin: 0 0 9px;
        font-size: 26px;
        letter-spacing: -.04em;
    }

    .empty-state p {
        color: var(--muted);
        font-size: 14px;
    }

    .empty-state button {
        margin-top: 9px;
        padding: 12px 19px;
        border: 0;
        border-radius: 30px;
        color: white;
        background: var(--red);
    }

.footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 22px;
    padding-block: 30px;
    border-top: 1px solid var(--line);
}

.footer-note {
    margin: 0;
    font: italic 21px var(--serif);
    color: #a14d5b;
}

.footer a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    text-decoration: none;
    font-size: 12px;
}

    .footer a svg {
        width: 17px;
        height: 17px;
        transform: rotate(-45deg);
    }

@keyframes arrive {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float-back {
    0%,100% {
        transform: rotate(-13deg) translateY(0);
    }

    50% {
        transform: rotate(-9deg) translateY(-12px);
    }
}

@keyframes float-front {
    0%,100% {
        transform: rotate(10deg) translateY(0);
    }

    50% {
        transform: rotate(7deg) translateY(10px);
    }
}

.card-item.will-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 500ms, transform 500ms;
}

    .card-item.will-reveal.is-visible {
        opacity: 1;
        transform: none;
    }

@media (hover: hover) and (pointer: fine) {
    .primary-link:hover {
        background: #c12a3d;
        transform: translateY(-2px);
        box-shadow: 0 10px 25px #dd374432;
    }

    .site-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 38px #a6514520;
        border-color: #e2646655;
    }

        .site-card:hover .site-card__art > svg {
            transform: scale(1.045);
        }

        .site-card:hover .site-card__visit svg {
            transform: translate(2px,-2px);
        }

    .filter:hover {
        background: #ffe7df;
    }

    .nav-link:hover, .surprise:hover, .footer a:hover {
        color: var(--red);
    }
}

@media (max-width: 1080px) {
    .shell {
        width: calc(100% - 64px);
    }

    .hero {
        gap: 20px;
    }

    .hero-visual {
        height: 378px;
    }

    .poster {
        width: 196px;
        height: 253px;
        padding: 10px;
    }

    .poster-back {
        left: 2%;
        top: 43px;
    }

    .poster-front {
        right: 0;
        top: 89px;
    }

    .hero-halo {
        width: 290px;
        height: 290px;
    }

    .curious-stamp {
        width: 85px;
        height: 85px;
        font-size: 10px;
        bottom: 22px;
    }

    .hero-caption {
        font-size: 15px;
        right: 5%;
    }

    .directory-grid {
        gap: 18px;
    }

    .site-card__body {
        padding: 21px 20px 18px;
    }

    .card-item--wide .site-card__body {
        padding: 28px 24px 22px;
    }
}

@media (max-width: 880px) {
    .nav-note {
        display: none;
    }

    .hero {
        grid-template-columns: 1.1fr 1fr;
        padding-block: 42px 60px;
    }

        .hero h1 {
            font-size: clamp(63px, 9.4vw, 84px);
        }

    .hero-description {
        font-size: 14px;
    }

    .hero-actions {
        gap: 9px 18px;
    }

    .hero-visual {
        height: 340px;
    }

    .poster {
        width: 173px;
        height: 230px;
    }

    .poster-front {
        top: 84px;
    }

    .poster-back {
        top: 28px;
    }

    .hero-caption {
        font-size: 13px;
    }

    .curious-stamp {
        left: 1%;
        bottom: 10px;
        width: 70px;
        height: 70px;
        font-size: 9px;
    }

    .hero-spark {
        width: 44px;
        height: 44px;
        top: 0;
    }

    .hero-halo {
        width: 240px;
        height: 240px;
    }

    .directory-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .card-item--wide .site-card__art {
        min-height: 270px;
    }

    .card-item--wide h3 {
        font-size: 38px;
    }
}

@media (max-width: 640px) {
    .shell {
        width: calc(100% - 40px);
    }

    .topbar {
        padding-block: 19px;
    }

    .brand {
        font-size: 19px;
    }

        .brand svg {
            width: 31px;
            height: 31px;
        }

    .nav-link {
        font-size: 12px;
    }

    .hero {
        grid-template-columns: minmax(0,1fr);
        gap: 20px;
        padding-block: 28px 35px;
    }

        .hero h1 {
            font-size: clamp(78px, 19vw, 110px);
        }

        .hero .eyebrow {
            margin-bottom: 20px;
            font-size: 10px;
        }

    .hero-description {
        font-size: 15px;
        margin-top: 23px;
        max-width: 300px;
    }

    .hero-actions {
        margin-top: 23px;
        gap: 12px 20px;
    }

    .primary-link {
        font-size: 12px;
        gap: 15px;
        min-height: 48px;
        padding: 13px 17px;
    }

    .surprise {
        font-size: 12px;
    }

    .hero-visual {
        width: min(100%, 355px);
        height: 316px;
        margin: 2px auto 0;
    }

    .poster {
        width: 166px;
        height: 222px;
    }

    .poster-back {
        top: 30px;
        left: 9%;
    }

    .poster-front {
        top: 73px;
        right: 9%;
    }

    .hero-spark {
        top: 5px;
        right: 16%;
    }

    .curious-stamp {
        left: 7%;
        bottom: 9px;
    }

    .hero-caption {
        right: 13%;
        bottom: 0;
        font-size: 12px;
    }

    .hero-halo {
        top: 33px;
        right: 12%;
    }

    .collection {
        padding-top: 18px;
        padding-bottom: 45px;
    }

    .collection-heading {
        gap: 22px;
        margin-bottom: 17px;
    }

        .collection-heading h2 {
            font-size: clamp(29px, 7.7vw, 40px);
        }

    .search-box {
        flex-basis: 100%;
    }

        .search-box input {
            font-size: 16px;
        }

    .filters {
        gap: 5px;
    }

    .filter {
        min-height: 44px;
        padding-inline: 12px;
        font-size: 11px;
    }

    .collection-toolbar {
        gap: 12px;
        margin-bottom: 18px;
    }

    .result-count {
        font-size: 11px;
    }

    .directory-grid {
        grid-template-columns: minmax(0,1fr);
        gap: 20px;
    }

    .card-item--wide {
        grid-column: auto;
    }

        .card-item--wide .site-card {
            display: flex;
        }

        .card-item--wide .site-card__art {
            order: 0;
            height: 190px;
            min-height: 0;
        }

    .site-card__art {
        height: 190px;
    }

    .site-card__body, .card-item--wide .site-card__body {
        padding: 24px;
    }

    .site-card h3, .card-item--wide h3 {
        font-size: 27px;
        margin: 11px 0 10px;
    }

    .site-card__description, .card-item--wide .site-card__description {
        margin-top: 0;
        font-size: 14px;
    }

    .footer {
        gap: 10px;
        padding-block: 22px;
    }

    .footer-note {
        font-size: 19px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }

    .card-item.will-reveal {
        opacity: 1;
        transform: none;
    }
}

@media (forced-colors: active) {
    .site-card, .primary-link, .filter[aria-pressed="true"], .search-box input {
        border: 1px solid ButtonText;
    }

    .site-card__number, .curious-stamp {
        border: 1px solid CanvasText;
    }

    .card-item.is-picked .site-card {
        outline-color: Highlight;
    }
}


.hero.hero--wide {
    display: block;
}

.hero--wide .hero-copy {
    width: 100%;
}

.hero--wide h1 {
    font-size: clamp(42px, 9vw, 130px);
}

    .hero--wide h1 .hero-line {
        display: flex;
        align-items: baseline;
        gap: 0.2em;
        white-space: nowrap;
    }

    .hero--wide h1 .hero-world {
        padding-right: 0;
    }

h3.onlytight-title,
.site-card h3.onlytight-title {
    color: #e34250;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 0.03em;
    line-height: 1.3;
    text-shadow: 0 2px 14px rgba(227, 66, 80, 0.15);
}