/* =========================================================
   ZWREFF — PERSONAL WEBSITE
   clean responsive stylesheet
   ========================================================= */


/* =========================================================
   01. VARIABLES
   ========================================================= */

:root {
    --bg: #d9d9d4;
    --paper: #f1f1eb;
    --paper-dark: #c8c9c3;

    --text: #11110f;
    --muted: #5d605b;
    --line: #242621;

    --accent: #b8ff00;
    --blue: #315cff;

    --shadow: rgba(0, 0, 0, 0.18);
}


/* =========================================================
   02. RESET
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    width: 100%;
}

body {
    width: 100%;
    min-width: 0;
    margin: 0;

    background: var(--bg);
    color: var(--text);

    font-family: "Cormorant Garamond", serif;
    line-height: 1.6;

    overflow-x: hidden;
}

img,
video,
iframe {
    display: block;
    max-width: 100%;
}

button,
input,
textarea,
select {
    font: inherit;
    max-width: 100%;
}

h1,
h2,
h3,
p {
    overflow-wrap: break-word;
}

a {
    color: inherit;
}

.navbar,
.status,
.eyebrow,
small,
.thing-number,
.footer-small {
    font-family: "Space Mono", monospace;
}


/* =========================================================
   03. MAIN SITE CONTAINER
   ========================================================= */

.site {
    width: min(92%, 900px);
    margin: 35px auto 60px;
}


/* =========================================================
   04. HOMEPAGE HERO
   ========================================================= */

.hero {
    padding: 25px 30px 35px;

    background: var(--paper);
    border: 1px solid var(--line);

    box-shadow:
        5px 5px 0 var(--paper-dark);
}

.hero-top {
    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 15px;

    padding-bottom: 15px;

    border-bottom: 1px solid var(--line);

    color: var(--muted);

    font-family: "Space Mono", monospace;
    font-size: 10px;

    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-top span {
    min-width: 0;
}

.hero h1 {
    margin: 35px 0 5px;

    font-size: clamp(55px, 10vw, 90px);
    font-weight: normal;

    line-height: .9;
    letter-spacing: -4px;
}

.tagline {
    margin: 25px 0;

    color: var(--muted);

    font-size: 17px;
    font-style: italic;
}

.status {
    display: inline-flex;

    align-items: center;
    gap: 7px;

    padding: 5px 9px;

    border: 1px solid var(--line);

    font-size: 11px;
    text-transform: uppercase;
}

.status-dot {
    width: 7px;
    height: 7px;

    flex-shrink: 0;

    border-radius: 50%;

    background: var(--accent);

    box-shadow: 0 0 8px var(--accent);
}


/* =========================================================
   05. NAVIGATION
   ========================================================= */

.navbar {
    display: flex;

    justify-content: center;
    align-items: center;

    flex-wrap: wrap;

    gap: 5px;

    padding: 8px;

    background: var(--paper-dark);

    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.navbar a {
    flex: 0 0 auto;

    padding: 5px 14px;

    color: var(--text);

    font-size: 13px;
    text-decoration: none;

    white-space: nowrap;
}

.navbar a:hover {
    background: var(--text);
    color: var(--paper);
}


/* =========================================================
   06. HOMEPAGE INTRO
   ========================================================= */

.intro {
    display: grid;

    grid-template-columns:
        260px
        minmax(0, 1fr);

    gap: 30px;

    margin-top: 25px;
    padding: 25px;

    background: var(--paper);
    border: 1px solid var(--line);
}

.image-placeholder {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;
    aspect-ratio: 1 / 1;

    overflow: hidden;

    background: var(--paper-dark);
    border: 1px solid var(--line);
}

.image-placeholder img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.intro-text {
    align-self: center;
    min-width: 0;
}

.eyebrow {
    color: var(--muted);

    font-size: 11px;

    text-transform: uppercase;
    letter-spacing: 1px;
}

.intro h2 {
    margin: 8px 0 15px;

    font-size: 29px;
    font-weight: normal;

    line-height: 1.15;
}

.intro p {
    max-width: 500px;

    color: var(--muted);
}

.text-link {
    display: inline-block;

    margin-top: 8px;

    color: var(--text);

    text-decoration: underline;
    text-underline-offset: 4px;
}

.text-link:hover {
    color: var(--blue);
}


/* =========================================================
   07. HOMEPAGE CARDS
   ========================================================= */

.columns {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 15px;

    margin-top: 15px;
}

.card {
    min-width: 0;

    padding: 22px;

    background: var(--paper);
    border: 1px solid var(--line);
}

.card:nth-child(2) {
    transform: rotate(.4deg);
}

.card-header {
    display: flex;

    align-items: baseline;

    gap: 12px;

    min-width: 0;

    padding-bottom: 10px;

    border-bottom: 1px solid var(--line);
}

.card-header span {
    flex-shrink: 0;

    color: var(--muted);

    font-family: "Space Mono", monospace;
    font-size: 11px;
}

.card-header h2 {
    min-width: 0;

    margin: 0;

    font-size: 21px;
    font-weight: normal;

    overflow-wrap: anywhere;
}

.card p {
    color: var(--muted);
}


/* =========================================================
   08. ECHIDNA
   ========================================================= */

.echidna-card {
    min-height: 100%;
}

.echidna-content {
    font-size: 15px;
}

.echidna-content p {
    margin: 13px 0;
    color: var(--muted);
}

.echidna-content p:first-child {
    margin-top: 16px;
}

.echidna-note {
    margin-top: 20px;
    padding: 12px;

    background: var(--paper-dark);
    border: 1px solid var(--line);

    font-family: "Space Mono", monospace;
}

.echidna-note span {
    display: block;

    margin-bottom: 7px;

    font-size: 8px;
    letter-spacing: 1px;
}

.echidna-note strong {
    display: block;

    margin-bottom: 8px;

    font-family: "Cormorant Garamond", serif;
    font-size: 18px;
    font-weight: normal;
}

.echidna-note p {
    margin: 0;

    font-size: 8px;
    line-height: 1.7;
}


/* =========================================================
   09. CURRENT FAVORITES
   ========================================================= */

.favorites-card {
    position: relative;

    overflow: hidden;
}

.fav-intro {
    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 10px;

    margin: 12px 0 4px;
    padding-bottom: 8px;

    border-bottom: 1px solid var(--line);

    color: var(--muted);

    font-family: "Space Mono", monospace;
    font-size: 8px;

    text-transform: uppercase;
    letter-spacing: .5px;
}

.fav-counter {
    flex-shrink: 0;
    color: var(--text);
}

.favorites-list {
    margin-top: 3px;
}

.favorite {
    display: grid;

    grid-template-columns:
        25px
        minmax(0, 1fr);

    gap: 10px;

    align-items: start;

    padding: 14px 0;

    border-bottom: 1px dotted var(--line);
}

.favorite:last-child {
    border-bottom: none;
}

.favorite-index {
    color: var(--muted);

    font-family: "Space Mono", monospace;
    font-size: 9px;
}

.favorite-main {
    min-width: 0;
}

.favorite-main small {
    display: block;

    margin-bottom: 2px;

    color: var(--muted);

    font-size: 8px;

    text-transform: uppercase;
    letter-spacing: 1px;
}

.favorite-main strong {
    display: block;

    font-size: 17px;
    font-weight: normal;

    overflow-wrap: anywhere;
}

.fake-progress {
    width: 100%;
    height: 2px;

    margin-top: 9px;

    background: var(--paper-dark);
}

.fake-progress span {
    display: block;

    width: 63%;
    height: 100%;

    background: var(--text);
}

.favorite-meta {
    display: flex;

    justify-content: space-between;

    gap: 10px;

    margin-top: 6px;

    color: var(--muted);

    font-family: "Space Mono", monospace;
    font-size: 7px;

    text-transform: uppercase;
}

.fav-bottom {
    display: flex;

    justify-content: space-between;

    gap: 10px;

    margin-top: 10px;
    padding-top: 8px;

    border-top: 1px solid var(--line);

    color: var(--muted);

    font-family: "Space Mono", monospace;
    font-size: 7px;
    letter-spacing: .5px;
}


/* =========================================================
   10. LITTLE THINGS
   ========================================================= */

.little-things {
    margin-top: 25px;
    padding: 25px;

    background: var(--paper);
    border: 1px solid var(--line);
}

.section-title {
    display: flex;

    align-items: baseline;

    gap: 12px;

    margin-bottom: 18px;
}

.section-title span {
    color: var(--muted);

    font-family: "Space Mono", monospace;
    font-size: 11px;
}

.section-title h2 {
    margin: 0;

    font-size: 23px;
    font-weight: normal;
}

.things-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 10px;
}

.thing {
    display: flex;

    flex-direction: column;

    min-width: 0;

    padding: 20px;

    color: var(--text);

    background: var(--paper-dark);

    border: 1px solid transparent;

    text-decoration: none;

    transition:
        transform .15s ease,
        border-color .15s ease;
}

.thing:nth-child(2) {
    transform: rotate(-.7deg);
}

.thing:hover {
    border-color: var(--line);
    transform: translateY(-3px);
}

.thing-number {
    margin-bottom: 10px;

    font-size: 22px;
}

.thing strong {
    font-size: 17px;
    font-weight: normal;
}

.thing small {
    color: var(--muted);
    font-size: 11px;
}


/* =========================================================
   11. INNER PAGE HEADER
   ========================================================= */

.page-header {
    padding: 20px 25px 30px;

    background: var(--paper);
    border: 1px solid var(--line);
}

.page-header-top {
    display: flex;

    justify-content: space-between;

    gap: 15px;

    padding-bottom: 10px;

    border-bottom: 1px solid var(--line);

    color: var(--muted);

    font-family: "Space Mono", monospace;
    font-size: 9px;
}

.page-header-top span {
    min-width: 0;
}

.page-header-top a {
    flex-shrink: 0;

    color: var(--text);
    text-decoration: none;
}

.page-header h1 {
    margin: 35px 0 5px;

    font-size: clamp(45px, 8vw, 70px);
    font-weight: normal;

    line-height: 1;
    letter-spacing: -3px;
}

.page-header p {
    margin: 0;

    color: var(--muted);
    font-style: italic;
}


/* =========================================================
   12. ABOUT
   ========================================================= */

.about-page {
    width: 100%;
    min-width: 0;
}

.about-page > * {
    min-width: 0;
}

.about-intro {
    display: grid;

    grid-template-columns:
        150px
        minmax(0, 1fr);

    gap: 28px;

    align-items: center;

    margin-top: 25px;
    padding: 25px;

    background: var(--paper);
    border: 1px solid var(--line);
}

.about-photo {
    width: 150px;
    height: 190px;

    overflow: hidden;

    border: 1px solid var(--line);
}

.about-photo img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.about-text {
    min-width: 0;
}

.about-text h2 {
    max-width: 600px;

    margin: 8px 0 16px;

    font-size: clamp(28px, 4vw, 42px);
    font-weight: normal;

    line-height: 1.05;
}

.about-text p {
    max-width: 650px;

    margin: 10px 0;

    color: var(--muted);
}

.about-status {
    display: inline-flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 10px;

    max-width: 100%;

    margin-top: 10px;
    padding: 6px 9px;

    border: 1px solid var(--line);

    font-family: "Space Mono", monospace;
    font-size: 8px;

    text-transform: uppercase;
}

.about-status span {
    color: var(--muted);
}

.about-status strong {
    font-weight: normal;
}


/* =========================================================
   13. ABOUT FACTS
   ========================================================= */

.about-facts {
    display: grid;

    grid-template-columns:
        minmax(0, 2fr)
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 12px;

    margin-top: 12px;
}

.fact {
    min-width: 0;
    min-height: 130px;

    padding: 18px;

    background: var(--paper);
    border: 1px solid var(--line);
}

.fact-large {
    grid-row: span 2;
}

.fact-number,
.fact-label {
    display: block;
}

.fact-number {
    margin-bottom: 20px;

    color: var(--muted);

    font-family: "Space Mono", monospace;
    font-size: 9px;
}

.fact-label {
    margin-bottom: 7px;

    color: var(--muted);

    font-family: "Space Mono", monospace;
    font-size: 8px;

    text-transform: uppercase;
    letter-spacing: .7px;
}

.fact p {
    max-width: 100%;
    margin: 0;

    font-size: 21px;
    line-height: 1.2;
}

.fact strong {
    display: block;

    font-size: 18px;
    font-weight: normal;

    overflow-wrap: anywhere;
}


/* =========================================================
   14. ABOUT TASTE
   ========================================================= */

.taste-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 12px;

    margin-top: 12px;
}

.taste-block {
    min-width: 0;

    padding: 20px;

    background: var(--paper);
    border: 1px solid var(--line);
}

.block-heading {
    display: flex;

    align-items: baseline;

    gap: 10px;

    min-width: 0;

    padding-bottom: 12px;

    border-bottom: 1px solid var(--line);
}

.block-heading span {
    flex-shrink: 0;

    color: var(--muted);

    font-family: "Space Mono", monospace;
    font-size: 9px;
}

.block-heading h2 {
    min-width: 0;

    margin: 0;

    font-size: 22px;
    font-weight: normal;

    overflow-wrap: anywhere;
}

.tag-list {
    display: flex;

    flex-wrap: wrap;

    gap: 6px;

    margin-top: 15px;
}

.tag-list span {
    max-width: 100%;

    padding: 6px 8px;

    border: 1px solid var(--line);

    font-size: 11px;

    overflow-wrap: anywhere;
}

.muted-tags span {
    color: var(--muted);
}


/* =========================================================
   15. CURRENT STATE
   ========================================================= */

.current-state {
    width: 100%;
    min-width: 0;

    margin-top: 12px;

    background: var(--paper-dark);
    border: 1px solid var(--line);

    overflow: hidden;
}

.state-header {
    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 15px;

    padding: 8px 12px;

    border-bottom: 1px solid var(--line);

    color: var(--muted);

    font-family: "Space Mono", monospace;
    font-size: 8px;
}

.state-header span {
    min-width: 0;
}

.state-content {
    display: grid;

    grid-template-columns:
        minmax(0, 1.5fr)
        minmax(0, 1fr);

    gap: 30px;

    padding: 25px;
}

.state-big {
    min-width: 0;

    margin: 0;

    font-size: clamp(25px, 4vw, 40px);

    line-height: 1;

    letter-spacing: -1px;

    overflow-wrap: anywhere;
}

.state-details {
    display: grid;

    gap: 12px;

    min-width: 0;
}

.state-details div {
    display: flex;

    justify-content: space-between;
    align-items: baseline;

    gap: 15px;

    min-width: 0;

    padding-bottom: 8px;

    border-bottom: 1px dotted var(--line);
}

.state-details small {
    flex-shrink: 0;

    color: var(--muted);

    font-size: 8px;

    text-transform: uppercase;
}

.state-details strong {
    min-width: 0;

    font-size: 14px;
    font-weight: normal;

    text-align: right;

    overflow-wrap: anywhere;
}


/* =========================================================
   16. ABOUT NOTE
   ========================================================= */

.about-note {
    width: 100%;
    min-width: 0;

    margin-top: 12px;
    padding: 18px 22px;

    background: var(--paper);
    border: 1px solid var(--line);
}

.about-note span {
    font-family: "Space Mono", monospace;
    font-size: 8px;
    letter-spacing: 1px;
}

.about-note p {
    max-width: 600px;

    margin: 10px 0;

    color: var(--muted);
}

.about-note .note-small {
    margin-top: 4px;

    font-family: "Space Mono", monospace;
    font-size: 8px;
}


/* =========================================================
   17. DIARY
   ========================================================= */

.diary {
    margin-top: 25px;
}

.diary-entry {
    position: relative;

    margin-bottom: 15px;
    padding: 25px 30px;

    background: var(--paper);
    border: 1px solid var(--line);
}

.diary-date {
    margin-bottom: 12px;

    color: var(--muted);

    font-family: "Space Mono", monospace;
    font-size: 9px;
}

.diary-entry h2 {
    margin: 0 0 15px;

    font-size: 26px;
    font-weight: normal;
}

.diary-entry p {
    max-width: 650px;

    color: var(--muted);
}


/* =========================================================
   18. GALLERY
   ========================================================= */

.gallery-page {
    margin-top: 25px;
}

.gallery-meta {
    display: flex;

    justify-content: space-between;

    gap: 15px;

    margin-bottom: 10px;

    color: var(--muted);

    font-family: "Space Mono", monospace;
    font-size: 8px;
}

.gallery-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 12px;
}

.gallery-grid figure {
    min-width: 0;

    margin: 0;
    padding: 7px;

    background: var(--paper);
    border: 1px solid var(--line);
}

.gallery-grid img {
    width: 100%;
    aspect-ratio: 1 / 1;

    object-fit: cover;
}

.gallery-grid figcaption {
    padding: 7px 2px 2px;

    color: var(--muted);

    font-family: "Space Mono", monospace;
    font-size: 8px;

    overflow-wrap: anywhere;
}




/* =========================================================
   20. FOOTER
   ========================================================= */

footer {
    padding: 30px 10px;

    color: var(--muted);

    text-align: center;
}

.visitor-number {
    color: var(--text);
}


/* =========================================================
   21. TABLET
   ========================================================= */

@media (max-width: 760px) {

    .site {
        width: calc(100% - 30px);
        margin-top: 20px;
    }

    /* Homepage */

    .intro {
        grid-template-columns:
            190px
            minmax(0, 1fr);

        gap: 20px;

        padding: 20px;
    }

    .columns {
        gap: 10px;
    }

    .card {
        padding: 18px;
    }

    .things-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }


    /* About */

    .about-intro {
        grid-template-columns:
            120px
            minmax(0, 1fr);

        gap: 20px;

        padding: 20px;
    }

    .about-photo {
        width: 120px;
        height: 155px;
    }

    .about-facts {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(0, 1fr);
    }

    .fact-large {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .state-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Gallery */

    .gallery-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}


/* =========================================================
   22. MOBILE
   ========================================================= */

@media (max-width: 600px) {

    body {
        font-size: 15px;
    }

    .site {
        width: calc(100% - 20px);
        margin: 10px auto 35px;
    }


    /* -----------------------------------------------------
       HERO
       ----------------------------------------------------- */

    .hero {
        padding: 20px;

        box-shadow:
            3px 3px 0 var(--paper-dark);
    }

    .hero-top {
        align-items: flex-start;

        font-size: 8px;
    }

    .hero h1 {
        margin-top: 28px;

        font-size: clamp(52px, 18vw, 70px);

        letter-spacing: -3px;
    }

    .tagline {
        margin: 20px 0;

        font-size: 14px;
        line-height: 1.5;
    }


    /* -----------------------------------------------------
       NAV
       ----------------------------------------------------- */

    .navbar {
        justify-content: flex-start;

        flex-wrap: nowrap;

        overflow-x: auto;
        overflow-y: hidden;

        padding: 7px;

        scrollbar-width: none;

        -webkit-overflow-scrolling: touch;
    }

    .navbar::-webkit-scrollbar {
        display: none;
    }

    .navbar a {
        padding: 6px 11px;

        font-size: 10px;
    }


    /* -----------------------------------------------------
       HOMEPAGE INTRO
       ----------------------------------------------------- */

    .intro {
        grid-template-columns: 1fr;

        gap: 18px;

        margin-top: 15px;
        padding: 18px;

        position: relative;
    }

    .image-placeholder {
        width: min(100%, 180px);

        margin: 0 auto;
    }

    .intro-text {
        align-self: auto;
    }

    .intro h2 {
        font-size: 25px;
    }

    .intro p {
        font-size: 14px;
    }

    .intro::after {
        content: "???";

        position: absolute;

        right: -7px;
        bottom: -7px;

        padding: 4px 7px;

        background: var(--accent);
        border: 1px solid var(--line);

        font-family: "Space Mono", monospace;
        font-size: 9px;

        transform: rotate(-3deg);
    }


    /* -----------------------------------------------------
       HOMEPAGE CARDS
       ----------------------------------------------------- */

    .columns {
        grid-template-columns: 1fr;

        gap: 12px;
        margin-top: 12px;
    }

    .card {
        padding: 18px;
    }

    .card:nth-child(2) {
        transform: none;
    }

    .card-header h2 {
        font-size: 19px;
    }

    .echidna-content {
        font-size: 14px;
    }


    /* -----------------------------------------------------
       FAVORITES
       ----------------------------------------------------- */

    .fav-intro {
        align-items: flex-start;

        font-size: 7px;
    }

    .favorite {
        grid-template-columns:
            22px
            minmax(0, 1fr);

        gap: 8px;
    }

    .favorite-main strong {
        font-size: 16px;
    }

    .favorite-meta {
        flex-wrap: wrap;

        font-size: 6px;
    }

    .fav-bottom {
        flex-wrap: wrap;

        font-size: 6px;
    }


    /* -----------------------------------------------------
       LITTLE THINGS
       ----------------------------------------------------- */

    .little-things {
        margin-top: 15px;
        padding: 18px;
    }

    .section-title {
        flex-direction: column;
        align-items: flex-start;

        gap: 3px;
    }

    .section-title h2 {
        font-size: 21px;
    }

    .things-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .thing {
        padding: 16px;
    }

    .thing:nth-child(2) {
        transform: none;
    }


    /* -----------------------------------------------------
       INNER PAGE HEADER
       ----------------------------------------------------- */

    .page-header {
        padding: 18px 16px 24px;
    }

    .page-header-top {
        gap: 10px;

        font-size: 8px;
    }

    .page-header h1 {
        margin: 28px 0 5px;

        font-size: clamp(42px, 15vw, 62px);

        line-height: .9;
        letter-spacing: -2px;
    }

    .page-header p {
        font-size: 14px;
        line-height: 1.5;
    }


    /* -----------------------------------------------------
       ABOUT INTRO
       ----------------------------------------------------- */

    .about-intro {
        display: flex;

        flex-direction: column;
        align-items: stretch;

        gap: 18px;

        margin-top: 15px;
        padding: 16px;
    }

    .about-photo {
        width: 105px;
        height: 135px;
    }

    .about-text {
        width: 100%;
    }

    .about-text h2 {
        width: 100%;
        max-width: none;

        margin: 5px 0 14px;

        font-size: clamp(27px, 8vw, 36px);

        line-height: 1.03;
    }

    .about-text p {
        width: 100%;
        max-width: none;

        margin: 10px 0;

        font-size: 14px;
        line-height: 1.55;
    }

    .about-status {
        gap: 7px;

        margin-top: 12px;

        font-size: 8px;
    }


    /* -----------------------------------------------------
       ABOUT FACTS
       ----------------------------------------------------- */

    .about-facts {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(0, 1fr);

        gap: 7px;

        margin-top: 8px;
    }

    .fact {
        min-height: 110px;

        padding: 13px;
    }

    .fact-large {
        grid-column: 1 / -1;

        min-height: 145px;
    }

    .fact-number {
        margin-bottom: 13px;

        font-size: 8px;
    }

    .fact-label {
        margin-bottom: 7px;

        font-size: 7px;
        line-height: 1.3;
    }

    .fact p {
        font-size: 17px;
        line-height: 1.2;
    }

    .fact strong {
        font-size: 14px;
        line-height: 1.3;
    }


    /* -----------------------------------------------------
       TASTE
       ----------------------------------------------------- */

    .taste-grid {
        grid-template-columns: 1fr;

        gap: 8px;

        margin-top: 8px;
    }

    .taste-block {
        padding: 15px;
    }

    .block-heading {
        gap: 8px;
        padding-bottom: 10px;
    }

    .block-heading h2 {
        font-size: 19px;
    }

    .tag-list {
        gap: 5px;

        margin-top: 12px;
    }

    .tag-list span {
        padding: 5px 7px;

        font-size: 10px;
    }

    /* ========================================
   GUESTBOOK
   ======================================== */

.guestbook {
    margin-top: 25px;
}


/* ========================================
   SECTION TITLE
   ======================================== */

.guestbook .section-title {
    display: flex;
    align-items: baseline;
    gap: 12px;

    margin-bottom: 18px;
}

.guestbook .section-title span {
    color: var(--muted);

    font-family: "Space Mono", monospace;
    font-size: 9px;
}

.guestbook .section-title h2 {
    margin: 0;

    font-size: 23px;
    font-weight: normal;
}


/* ========================================
   FORM
   ======================================== */

.guestbook-form {
    position: relative;

    padding: 25px;

    background: var(--paper);

    border: 1px solid var(--line);

    box-shadow: 5px 5px 0 var(--paper-dark);
}


/* little label floating outside */

.guestbook-form::before {
    content: "OPEN CHANNEL";

    position: absolute;

    top: -9px;
    right: 18px;

    padding: 3px 7px;

    background: var(--accent);

    border: 1px solid var(--line);

    color: var(--text);

    font-family: "Space Mono", monospace;
    font-size: 7px;

    letter-spacing: 1px;

    transform: rotate(1.5deg);
}


/* description */

.guestbook-form > p {
    margin: 0 0 20px;

    max-width: 500px;

    color: var(--muted);

    font-size: 15px;

    font-style: italic;
}


/* ========================================
   FORM LABEL
   ======================================== */

.guestbook label {
    display: block;

    margin-bottom: 7px;

    color: var(--muted);

    font-family: "Space Mono", monospace;

    font-size: 8px;

    text-transform: uppercase;

    letter-spacing: .8px;
}


/* ========================================
   TEXTAREA
   ======================================== */

.guestbook textarea {
    display: block;

    width: 100%;
    min-height: 165px;

    padding: 14px;

    resize: vertical;

    background: var(--bg);

    border: 1px solid var(--line);

    color: var(--text);

    font-family: "Cormorant Garamond", serif;

    font-size: 17px;

    line-height: 1.5;

    outline: none;

    transition:
        background .15s ease,
        box-shadow .15s ease;
}


.guestbook textarea::placeholder {
    color: var(--muted);

    opacity: .65;
}


.guestbook textarea:focus {
    background: var(--paper);

    box-shadow:
        inset 0 0 0 2px var(--accent);
}


/* ========================================
   FORM BOTTOM
   ======================================== */

.form-bottom {
    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 15px;

    margin-top: 10px;
}


.form-bottom span {
    color: var(--muted);

    font-family: "Space Mono", monospace;

    font-size: 8px;

    text-transform: uppercase;

    letter-spacing: .3px;
}


/* submit */

.form-bottom button {
    padding: 8px 15px;

    background: var(--text);

    border: 1px solid var(--text);

    color: var(--paper);

    font-family: "Space Mono", monospace;

    font-size: 9px;

    text-transform: uppercase;

    cursor: pointer;

    transition:
        background .15s ease,
        color .15s ease,
        transform .15s ease;
}


.form-bottom button:hover {
    background: var(--accent);

    color: var(--text);

    transform: translate(-2px, -2px);
}


.form-bottom button:active {
    transform: translate(0, 0);
}


/* ========================================
   MESSAGES AREA
   ======================================== */

.messages {
    margin-top: 38px;
}


/* separator */

.messages .section-title {
    padding-bottom: 10px;

    border-bottom: 1px solid var(--line);
}


/* ========================================
   MESSAGE
   ======================================== */

.message {
    position: relative;

    width: min(100%, 650px);

    margin-top: 15px;

    padding: 18px 20px;

    background: var(--paper);

    border: 1px solid var(--line);

    box-shadow: 3px 3px 0 var(--paper-dark);
}


/*
    Slightly irregular positioning.

    This makes the guestbook feel less
    like a comment database and more
    like physical notes.
*/

.message:nth-child(2) {
    margin-left: 3%;

    transform: rotate(-.45deg);
}


.message:nth-child(3) {
    margin-left: 10%;

    transform: rotate(.65deg);
}


.message:nth-child(4) {
    margin-left: 5%;

    transform: rotate(-.25deg);
}


.message:nth-child(5) {
    margin-left: 8%;

    transform: rotate(.4deg);
}


/* ========================================
   MESSAGE META
   ======================================== */

.message-meta {
    display: flex;

    justify-content: space-between;
    align-items: center;

    margin-bottom: 11px;

    padding-bottom: 7px;

    border-bottom: 1px dotted var(--line);

    color: var(--muted);

    font-family: "Space Mono", monospace;

    font-size: 8px;

    text-transform: uppercase;
}


/* archived marker */

.message-meta::after {
    content: "ARCHIVED";

    font-size: 7px;

    letter-spacing: .7px;

    opacity: .65;
}


/* ========================================
   MESSAGE TEXT
   ======================================== */

.message p {
    margin: 0;

    color: var(--text);

    font-size: 17px;

    line-height: 1.5;
}


/* ========================================
   EMPTY STATE
   ======================================== */

.messages-empty {
    padding: 35px 20px;

    border: 1px dashed var(--line);

    color: var(--muted);

    font-family: "Space Mono", monospace;

    font-size: 8px;

    text-align: center;

    text-transform: uppercase;

    letter-spacing: .5px;
}



    /* -----------------------------------------------------
       CURRENT STATE
       ----------------------------------------------------- */

    .current-state {
        margin-top: 8px;
    }

    .state-header {
        flex-wrap: wrap;

        gap: 5px 12px;

        padding: 8px 10px;

        font-size: 7px;
    }

    .state-content {
        display: flex;

        flex-direction: column;

        gap: 20px;

        padding: 17px;
    }

    .state-big {
        width: 100%;

        font-size: clamp(25px, 8vw, 34px);

        line-height: 1.02;
    }

    .state-details {
        width: 100%;

        gap: 10px;
    }

    .state-details div {
        width: 100%;

        gap: 12px;
    }

    .state-details strong {
        font-size: 13px;
    }


    /* -----------------------------------------------------
       ABOUT NOTE
       ----------------------------------------------------- */

    .about-note {
        margin-top: 8px;

        padding: 15px 16px;
    }

    .about-note span {
        font-size: 7px;
    }

    .about-note p {
        width: 100%;
        max-width: none;

        margin: 9px 0;

        font-size: 14px;
        line-height: 1.5;
    }

    .about-note .note-small {
        font-size: 7px;
        line-height: 1.5;
    }


    /* -----------------------------------------------------
       DIARY
       ----------------------------------------------------- */

    .diary,
    .gallery-page,
    .guestbook {
        margin-top: 15px;
    }

    .diary-entry {
        padding: 18px;
    }

    .diary-date {
        font-size: 8px;
    }

    .diary-entry h2 {
        font-size: 23px;
    }

    .diary-entry p {
        font-size: 14px;
    }


    /* -----------------------------------------------------
       GALLERY
       ----------------------------------------------------- */

    .gallery-meta {
        flex-direction: column;

        gap: 3px;
    }

    .gallery-grid {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(0, 1fr);

        gap: 8px;
    }

    .gallery-grid figure {
        padding: 5px;
    }

    .gallery-grid figcaption {
        font-size: 7px;
    }


    

    /* -----------------------------------------------------
       FOOTER
       ----------------------------------------------------- */

    footer {
        padding: 25px 5px;
    }
}


/* =========================================================
   23. VERY SMALL PHONES
   ========================================================= */

@media (max-width: 380px) {

    .site {
        width: calc(100% - 14px);
    }

    .hero {
        padding: 16px;
    }

    .hero-top {
        font-size: 7px;
    }

    .hero h1 {
        font-size: 52px;
    }

    .tagline {
        font-size: 13px;
    }
    /* ========================================
   MOBILE
   ======================================== */



    .guestbook {
        margin-top: 15px;
    }


    /* ---------- FORM ---------- */

    .guestbook-form {
        padding: 18px;

        box-shadow: 3px 3px 0 var(--paper-dark);
    }


    .guestbook-form::before {
        right: 10px;

        font-size: 6px;
    }


    .guestbook .section-title {
        gap: 9px;

        margin-bottom: 14px;
    }


    .guestbook .section-title h2 {
        font-size: 20px;
    }


    .guestbook-form > p {
        font-size: 14px;
    }


    /* ---------- TEXTAREA ---------- */

    .guestbook textarea {
        min-height: 145px;

        padding: 12px;

        font-size: 16px;
    }


    /* ---------- BUTTON ---------- */

    .form-bottom {
        align-items: flex-end;
    }


    .form-bottom span {
        max-width: 150px;

        line-height: 1.5;
    }


    .form-bottom button {
        flex-shrink: 0;

        padding: 8px 12px;
    }


    /* ---------- MESSAGES ---------- */

    .messages {
        margin-top: 30px;
    }


    .message {
        width: 100%;

        margin-left: 0 !important;

        padding: 15px;

        box-shadow: 2px 2px 0 var(--paper-dark);
    }


    /*
        Keep only a tiny amount of
        imperfection on mobile.
    */

    .message:nth-child(odd) {
        transform: rotate(-.25deg) !important;
    }


    .message:nth-child(even) {
        transform: rotate(.25deg) !important;
    }


    .message p {
        font-size: 16px;
    }


    .message-meta {
        font-size: 7px;
    }

}


    .about-intro,
    .card,
    .taste-block,
    .guestbook-form,
    .messages {
        padding: 14px;
    }

    .about-text h2 {
        font-size: 27px;
    }

    .fact {
        padding: 11px;
    }

    .fact p {
        font-size: 15px;
    }

    .fact strong {
        font-size: 13px;
    }

    .state-content {
        padding: 14px;
    }

    .state-big {
        font-size: 27px;
    }

    .gallery-grid {
        gap: 6px;
    }

    .gallery-grid figure {
        padding: 4px;
    }
