:root {
    --darkGrey: #333333;
    --midGrey: #444444;
    --olive: #6C6C56;
    --grey: #999999;
    --lightGrey: #CCCCCC;
    --mint: #C1D3C2;
    --occa: #dec8b4;
    --blue: #CDD5E2;

    --paper: #F3F3F1;
}

/* Optional: wenn du die Font lokal hast */
@font-face {
    font-family: "DepartureMono";
    src: url("./assets/DepartureMono.woff2") format("woff2");
    font-display: swap;
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    overflow: hidden;
    background: var(--paper);
    /* ✅ full browser background */
    color: var(--darkGrey);
    font-family: "DepartureMono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

/* Scroll container (normal scroll!) */
.snapShell {
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;

    /* Optional: native snap “light” */
    scroll-snap-type: y proximity;
}

/* Jede Page ist genau ein Viewport */
.snapPage {
    min-height: 100vh;
    scroll-snap-align: start;
    /* “zentriert” = Page startet sauber */
}

/* Sticky Section Title (ab Page2 sichtbar) */
.sectionTitle {
    position: fixed;
    left: clamp(24px, 6vw, 120px);
    top: clamp(20px, 4vh, 60px);
    z-index: 999;

    font-size: 48px;
    /* an deinen Look anpassen */
    letter-spacing: 2px;
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
}

.sectionTitle.is-on {
    opacity: 1;
    transform: translateY(0);
}

.sectionTitle.is-off {
    opacity: 0 !important;
    transform: translateY(-6px) !important;
    visibility: hidden !important;
    /* <- killt Ghosting */
}

.sectionTitleTeaser {
    position: fixed;
    left: clamp(24px, 6vw, 120px);
    top: clamp(20px, 4vh, 60px);
    /* wir animieren nur translateY */
    z-index: 998;

    font-size: 48px;
    letter-spacing: 2px;
    pointer-events: none;

    opacity: 0;
    /* wird per JS gesetzt */
    transform: translateY(0);
    /* wird per JS gesetzt */
    transition: none;
}

@media (max-width: 900px) {
    .snapShell {
        scroll-snap-type: none;
    }

    .snapPage {
        scroll-snap-align: none;
    }

    .sectionTitleTeaser {
        display: none;
    }
}



/* ✅ Full-width wrapper (no max-width here) */
.frame {
    min-height: 100vh;
    padding: 28px;
}

/* ✅ Centered content container */
.page {
    max-width: 1550px;
    margin-left: auto;
    margin-right: auto;

    padding-left: clamp(24px, 6vw, 120px);
    padding-right: clamp(24px, 6vw, 120px);

    min-height: 100vh;

    padding-top: clamp(28px, 8vh, 40px);
    padding-bottom: clamp(28px, 8vh, 40px);

    /* ✅ neu: sorgt für mehr vertikalen “Desk”-Abstand bei hohen Viewports */
    display: flex;
    flex-direction: column;
    row-gap: clamp(16px, 4vh, 64px);
}




/* Header */
.header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.glitch {
    position: relative;
    cursor: default;
    user-select: none;
}

.glitch-strike {
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    opacity: 0.85;
}


.brandWrap {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.brand {
    background: rgba(0, 0, 0, 0.08);
    padding: 10px 14px;
    letter-spacing: 2px;
    line-height: 1;

    white-space: nowrap;
    display: inline-block;
    max-width: 100%;
    overflow: visible;
    font-size: clamp(24px, 5.2vw, 64px);
}

@media (max-width: 1060px) {
    .header {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        column-gap: 24px;
        align-items: start;
    }

    .brandWrap {
        min-width: 0;
        flex-wrap: wrap;
        /* version can drop below brand */
    }

    .brand {
        min-width: 0;
    }

    .nav {
        justify-self: end;
    }
}

@media (max-width: 730px) {
    .header {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "brand brand"
            "version nav";
        row-gap: 10px;
        column-gap: 18px;
        align-items: start;
    }

    .brandWrap {
        display: contents;
        /* lets brand + version become grid items */
    }

    .brand {
        grid-area: brand;
    }

    .version {
        grid-area: version;
        margin-top: 0;
    }

    .nav {
        grid-area: nav;
        margin-top: 0;
        justify-self: end;
    }

    .main {
        grid-template-columns: 1fr;
    }

    .access {
        width: auto;
        margin-top: 22px;
    }
}


.version {
    font-size: 14px;
    color: var(--midGrey);
    margin-top: 12px;
}

.nav {
    margin-top: 6px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 18px;
    color: var(--midGrey);
}

.nav a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav a span:last-child {
    display: inline-block;
    min-width: 8ch;
    /* passt für PROJECTS/CONTACT/ABOUT – bei längeren Worten erhöhen */
    white-space: pre;
    /* wichtig wegen padding/spaces */
}


/* Main grid (left note, center letter, right card) */
.main {
    display: grid;
    grid-template-columns: 220px 1fr 320px;
    gap: 26px;
    align-items: start;
}

/* Left small description */
.note {
    font-size: 14px;
    line-height: 1.4;
}

.note-heading {
    margin-bottom: 0.4em;
}


.note-group {
    margin-bottom: 14px;
    /* Abstand ZWISCHEN Versionen */
}

.note-title {
    line-height: 1.3;
}

.note-meta {
    font-size: 0.82em;
    color: var(--grey);
    opacity: 0.8;
    line-height: 1.2;
}

.loading {
    letter-spacing: 1px;
    opacity: 0.85;
}

.loading .dots {
    display: inline-block;
    width: 3ch;
    /* reserviert Platz für ... */
}

.loading .dots::after {
    content: "";
    animation: loadingDots 2.2s steps(4, end) infinite;
}

@keyframes loadingDots {
    0% {
        content: "";
    }

    25% {
        content: ".";
    }

    50% {
        content: "..";
    }

    75% {
        content: "...";
    }

    100% {
        content: "";
    }
}

/* Right beige card with QR */
.card {
    background: var(--occa);
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 18px 18px 14px 18px;
    position: relative;
    overflow: visible;
    min-height: 360px;
}

.cardTop {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
}

.cardTitle {
    font-size: 40px;
    letter-spacing: 1px;
    line-height: 1.05;
    text-transform: uppercase;
}

/* damit title/text über dem Bild liegen */
.cardTop,
.cardText {
    position: relative;
    z-index: 2;
}

/* Bildcontainer an der alten QR-Position */
.cardMedia {
    opacity: .6;
    overflow: hidden;
    transition: opacity 180ms ease;
    position: absolute;
    right: 16px;
    top: 68px;
    width: 128px;
    height: 128px;
    z-index: 1;
    /* unter Text */
    pointer-events: none;
}


/* bei Hover über die ganze Card */
.card:hover .cardMedia {
    opacity: 1;
}

/* beide PNGs exakt deckungsgleich */
.cardImg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* oder cover, je nach PNG */
    opacity: 0;
    transition: opacity 120ms linear;
    image-rendering: pixelated;
    /* optional, passt zu deinem Look */
}

.cardImg.is-on {
    opacity: 1;
}


.cardHr {
    margin: 14px 0 12px;
    border: none;
    border-top: 2px solid rgba(0, 0, 0, 0.18);
}

.cardText {
    font-size: 13px;
    color: rgba(0, 0, 0, 0.55);
    line-height: 1.5;
}

.evidence-card {
    /* behält deinen Look */
    background: var(--occa);
    position: relative;

    /* torn bottom cut directly on the card */
    clip-path: polygon(0% 0%,
            100% 0%,
            100% 90%,
            90% 93%,
            82% 91%,
            72% 92%,
            62% 92%,
            50% 94%,
            35% 93%,
            28% 96%,
            16% 95%,
            1% 97%);
}

.evidence-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 34px;
    height: 34px;

    /* Ecke */
    background: linear-gradient(135deg, transparent 50%, color-mix(in srgb, var(--occa) 75%, white) 0);
    border-left: 1px solid rgba(0, 0, 0, 0.10);
    border-bottom: 1px solid rgba(0, 0, 0, 0.10);
    pointer-events: none;
}


.access {
    position: relative;
    z-index: 999;
    /* bleibt im Flow, aber erlaubt Offsets */
    width: 270px;
    /* ✅ absolut/fix, wie du wolltest */
    background: var(--midGrey);
    border-radius: 10px;
    color: #EDEDED;
    padding: 18px 18px 16px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);

    /* "ein bisschen off" wie auf dem Desk */
    margin-top: 80px;
    transform: translateX(-50px);
    /* leicht nach rechts versetzt */
}


.accessTop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    opacity: 0.9;
}

.accessLabel {
    font-size: 18px;
    letter-spacing: 2px;
}

.accessScreen {
    height: 160px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.accessDots {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 14px;
    bottom: 14px;
    border: 2px dashed rgba(255, 255, 255, 0.10);
    border-radius: 8px;
}

.accessNum {
    font-size: 44px;
    color: rgba(255, 255, 255, 0.88);
}

/* Responsive */
@media (max-width: 1140px) {
    .main {
        grid-template-columns: 220px 1fr;
    }

    .card {
        grid-column: 1 / -1;
    }

    .access {
        position: static;
        width: auto;
        margin-top: 22px;
        transform: translateX(20px);
    }
}

@media (max-width: 720px) {

    .main {
        grid-template-columns: 1fr;
    }

    .note {
        order: 1;
    }

    .letter {
        order: 2;
    }

    .card {
        order: 3;
    }

    .access {
        position: static;
        width: auto;
        margin-top: 22px;
    }
}

.retro-mail {
    background: none;
    padding-right: 14px;
    padding-bottom: 14px;
    border: none;
}

.mail-hl {
    background: color-mix(in srgb, var(--mint) 50%, transparent);
    color: var(--darkGrey);
    padding: 2px 6px;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.mail-window {
    background: var(--lightGrey);
    border: 2px solid var(--darkGrey);
    font-family: "DepartureMono", monospace;
    font-size: 14px;
    color: var(--darkGrey);

    /* ✅ nur Pixel-Frame / Corners */
    box-shadow:
        4px 0 0 0 var(--darkGrey),
        -4px 0 0 0 var(--darkGrey),
        0 4px 0 0 var(--darkGrey),
        0 -4px 0 0 var(--darkGrey),
        -2px -2px 0 0 #ffffff;

    /* ✅ pixel-corner shape */
    clip-path: polygon(0% 8px,
            4px 8px,
            4px 4px,
            8px 4px,
            8px 0%,
            calc(100% - 8px) 0%,
            calc(100% - 8px) 4px,
            calc(100% - 4px) 4px,
            calc(100% - 4px) 8px,
            100% 8px,
            100% calc(100% - 8px),
            calc(100% - 4px) calc(100% - 8px),
            calc(100% - 4px) calc(100% - 4px),
            calc(100% - 8px) calc(100% - 4px),
            calc(100% - 8px) 100%,
            8px 100%,
            8px calc(100% - 4px),
            4px calc(100% - 4px),
            4px calc(100% - 8px),
            0% calc(100% - 8px));
}


/* --- Title bar --- */
.mail-titlebar {
    background: var(--blue);
    color: var(--darkGrey);
    padding: 6px 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    border-bottom: 2px solid var(--darkGrey);

    /* depth under titlebar */
    box-shadow:
        0 2px 0 0 var(--olive),
        0 4px 0 0 var(--lightGrey);
}

.mail-controls span {
    margin-left: 6px;
    background: var(--lightGrey);
    color: var(--darkGrey);
    padding: 0 6px;
    border: 1px solid var(--darkGrey);
}

/* --- Menu bar --- */
.mail-menubar {
    background: var(--lightGrey);
    border-bottom: 1px solid var(--grey);
    padding: 4px 8px;
    display: flex;
    gap: 18px;
    font-size: 13px;
    color: var(--darkGrey);
}

.mail-menubar u {
    text-decoration-thickness: 1.5px;
    text-underline-offset: 2px;
    text-decoration-color: var(--darkGrey);
}

/* --- Body --- */
.mail-body {
    padding: 12px;
    line-height: 1.45;
    background: #ffffff;

    /* subtle inset */
    box-shadow:
        inset 0 2px 0 0 #ffffff,
        inset 0 -2px 0 0 var(--lightGrey);
}

.mail-body p {
    margin: 0 0 8px;
}

.mail-body strong {
    color: var(--olive);
}

.mail-body hr {
    border: none;
    border-top: 1px solid var(--grey);
    margin: 10px 0;
}

/* --- Status bar --- */
.mail-statusbar {
    background: var(--lightGrey);
    border-top: 1px solid var(--grey);
    padding: 4px 8px;
    font-size: 12px;
    color: var(--midGrey);
}

.statusDots {
    display: inline-flex;
    gap: 4px;
}

/* pixel dots */
.statusDots i {
    width: 4px;
    height: 4px;
    background: var(--grey);
    animation: dotBlink 1.2s steps(1) infinite;
    opacity: 0.25;
}

/* zweiter Punkt zeitversetzt */
.statusDots i:nth-child(2) {
    animation-delay: 0.6s;
}

@keyframes dotBlink {
    0% {
        opacity: 0.25;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.25;
    }
}

/* rotate in 8 steps (blocky, not smooth) */
@keyframes pixelSpin {
    to {
        transform: rotate(360deg);
    }
}

.mail-wrap {
    position: relative;
    display: inline-block;
    overflow: visible;

    filter: drop-shadow(4px 4px 0 rgba(0, 0, 0, 0.45));
}

.mail-action {
    margin-top: 18px;
    display: flex;
    justify-content: flex-start;
}

.pixel-btn {
    font-family: "DepartureMono", monospace;
    font-size: 13px;
    color: var(--darkGrey);
    text-decoration: none;

    background: var(--mint);
    padding: 8px 14px;

    border: 2px solid var(--darkGrey);

    clip-path: polygon(0% 2px,
            2px 2px,
            2px 0%,
            calc(100% - 2px) 0%,
            calc(100% - 2px) 2px,
            100% 2px,
            100% calc(100% - 2px),
            calc(100% - 2px) calc(100% - 2px),
            calc(100% - 2px) 100%,
            2px 100%,
            2px calc(100% - 2px),
            0% calc(100% - 2px));

    cursor: pointer;
    display: inline-block;

    transition: background 20ms ease, transform 20ms ease;
    animation: ctaPulse 5s infinite;
}

.pixel-btn-wrap {
    display: inline-block;
    filter: drop-shadow(3px 3px 0 var(--grey));
}

/* hover = system focus */
.pixel-btn:hover {
    background: var(--occa);
    animation: none;
    /* stop pulse on hover */
}

/* active = pressed */
.pixel-btn:active {
    transform: translate(1px, 1px);
    animation: none;
    /* stop pulse on click */
    box-shadow:
        1px 1px 0 var(--midGrey);
}

@keyframes ctaPulse {

    0%,
    80% {
        background: var(--mint);
        transform: scale(1);
    }

    /* tick 1 */
    84% {
        background: var(--occa);
        transform: scale(1.03);
    }

    87% {
        background: var(--mint);
        transform: scale(1);
    }

    /* tick 2 */
    90% {
        background: var(--occa);
        transform: scale(1.03);
    }

    94%,
    100% {
        background: var(--mint);
        transform: scale(1);
    }

}

.magnetic {
    will-change: transform;
    transform: translate3d(0, 0, 0);
    --magnet-strength: 0.99;
}

.magnetic.is-magnetized {
    transition: transform 60ms ease;
}

.magnetic:not(.is-magnetized) {
    transition: transform 260ms ease;
}

/* =========================
   PROJECTS – SECTION 2
   ========================= */

.projects {
    margin-top: 80px;

    min-height: 100vh;

    padding-top: clamp(80px, 10vh, 180px);
    padding-bottom: clamp(80px, 10vh, 180px);


}

/* Wrapper: links Info / rechts Tabelle */
.projectsWrap {
    position: relative;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 6px;
    align-items: start;
}

/* ---------- LEFT INFO LABEL ---------- */

.projectInfo {
    position: relative;
    min-height: 1px;
    font-size: 14px;
    line-height: 1.4;
}

/* Bubble */
.projectInfoBubble {
    position: absolute;
    top: 0px;
    left: 0px;
    text-align: center;

    display: inline-block;
    width: 240px;

    background: #fff;
    border: 2px solid #111;
    padding: 10px 12px;

    box-shadow: 2px 2px 0 #111;
}

/* Pfeil rechts */
.projectInfoBubble::after {
    content: "";
    position: absolute;
    right: -14px;
    top: 18px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 14px solid var(--darkGrey);
}

.projectInfoBubble::before {
    content: "";
    position: absolute;
    right: -12px;
    top: 18px;
    width: 0;
    height: 0;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    border-left: 12px solid #fff;
}

/* Text states */
.projectInfoBubble .default {
    display: block;
}

.projectInfoBubble .hover {
    display: none;
}

/* ---------- TABLE ---------- */

.projectsTable {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.projectsTable th,
.projectsTable td {
    border: 2px solid #111;
    padding: 10px 14px;
    text-align: left;
}

.projectsTable thead th {
    background: #e6e6e6;
    font-weight: normal;
    letter-spacing: 1px;
}

/* Hover row */
.projectsTable tbody tr {
    cursor: pointer;
}

.projectsTable tbody tr:hover {
    background: #cfded0;
}

/* ---------- ACTIVE ROW ---------- */

.projectsTable tbody tr.is-active {
    background: #cfded0;
}

/* ---------- INFO SWITCH ---------- */

.projects[data-active="true"] .projectInfoBubble .default {
    display: none;
}

.projects[data-active="true"] .projectInfoBubble .hover {
    display: block;
}

#projectsTable tbody tr {
    cursor: pointer;
}

.tblScramble {
    display: inline-block;
    white-space: pre;
}


/* ---------- RESPONSIVE ---------- */

@media (max-width: 1060px) {
    .projectsWrap {
        grid-template-columns: 1fr;
        row-gap: 0;
        padding-top: var(--bubble-space, 0px);
    }

    .projectInfo {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: var(--bubble-space, 0px);
        pointer-events: none;
    }

    .projectInfoBubble {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        margin: 0 auto;
        width: min(520px, 100%);
        box-shadow: 2px 2px 0 #111;
        pointer-events: auto;
    }

    .projectInfoBubble::before,
    .projectInfoBubble::after {
        display: none;
    }
}

/* =========================
   CONTACT – SECTION 3
   ========================= */

#page3 .page {
    padding-top: 0;
    padding-bottom: 0;
    min-height: 100vh;
    height: 100vh;
}

#page3 .frame {
    padding-top: 0;
    padding-bottom: 0;
    min-height: 100vh;
    height: 100vh;
}

.contactBoard {
    position: relative;
    height: 100%;
    min-height: 100%;
    display: flex;
    align-items: stretch;
    flex: 1;
    padding: clamp(18px, 5vh, 48px) 0;
    box-sizing: border-box;
    overflow: hidden;
}

.contactBoard::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 18%, rgba(0, 0, 0, 0.08), transparent 35%),
        radial-gradient(circle at 88% 12%, rgba(0, 0, 0, 0.06), transparent 40%),
        repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.05) 0, rgba(0, 0, 0, 0.05) 1px, transparent 1px, transparent 7px),
        repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.04) 0, rgba(0, 0, 0, 0.04) 1px, transparent 1px, transparent 7px);
    opacity: 0.35;
    pointer-events: none;
}

.contactGrid {
    flex: 1;
    position: relative;
    width: 100%;
    min-height: 100%;
    z-index: 1;
}

.contactTile {
    background: #ffffff;
    border: 2px solid #111;
    padding: clamp(18px, 2.6vw, 30px);
    display: flex;
    flex-direction: column;
    gap: clamp(12px, 1.8vw, 18px);
    position: absolute;
    width: max-content;
    min-width: clamp(240px, 28vw, 360px);
    max-width: min(92vw, 520px);
    height: auto;
    box-shadow: 6px 6px 0 var(--grey);
    overflow: hidden;
    background-size: 320% 320%;
    background-position: 0% 0%;
    animation: tileDrift 4s ease-in-out infinite;
    transform: translate(var(--float-x, 0px), var(--float-y, 0px)) rotate(var(--tilt, 0deg));
    will-change: background-position, transform;
}

.contactTile::after {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px dashed rgba(0, 0, 0, 0.12);
    pointer-events: none;
}

.contactTile--linkedin {
    background: linear-gradient(150deg, color-mix(in srgb, var(--blue) 55%, white), #ffffff 70%);
    animation-delay: -0.5s;
    top: clamp(16px, 5vh, 70px);
    left: clamp(16px, 3vw, 60px);
    --tilt: -2deg;
    z-index: 2;
}

.contactTile--mail {
    background: linear-gradient(150deg, color-mix(in srgb, var(--mint) 60%, white), #ffffff 70%);
    animation-delay: -2s;
    top: clamp(80px, 11vh, 150px);
    right: clamp(16px, 3vw, 60px);
    --tilt: 1.5deg;
    z-index: 3;
}

.contactTile--info {
    background: linear-gradient(150deg, color-mix(in srgb, var(--occa) 65%, white), #ffffff 70%);
    animation-delay: -3.5s;
    bottom: clamp(16px, 6vh, 90px);
    left: clamp(70px, 10vw, 180px);
    --tilt: -1.5deg;
    z-index: 1;
}

.tileHeader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--darkGrey);
}

.tileLabel {
    white-space: nowrap;
}

.tileBadge {
    border: 1px solid #111;
    padding: 2px 8px;
    background: rgba(255, 255, 255, 0.7);
    font-size: 11px;
}

.tileBody {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tileTitle {
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.7;
}

.tileBig {
    font-size: clamp(20px, 2.2vw, 28px);
    letter-spacing: 1px;
    line-height: 1.1;
    overflow-wrap: break-word;
}

.tileHandle,
.tileSmall {
    font-size: 13px;
    color: var(--midGrey);
}

.tileHandle {
    white-space: nowrap;
}

.tileList {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
    font-size: 13px;
    line-height: 1.4;
}

.tileList li {
    position: relative;
    padding-left: 18px;
}

.tileList li::before {
    content: ">>";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--midGrey);
}

.tileFooter {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.tileAction {
    text-decoration: none;
    color: inherit;
    border: 2px solid #111;
    padding: 8px 12px;
    background: #ffffff;
    box-shadow: 3px 3px 0 #111;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 120ms ease, background 120ms ease;
}

.tileAction:hover {
    background: var(--mint);
    transform: translate(-1px, -1px);
}

.tileAction:active {
    transform: translate(1px, 1px);
    box-shadow: 1px 1px 0 #111;
}

.tileMeta {
    font-size: 12px;
    color: var(--midGrey);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tileStamp {
    position: absolute;
    right: 16px;
    bottom: 16px;
    font-size: clamp(18px, 3.4vw, 40px);
    letter-spacing: 2px;
    opacity: 0.15;
    transform: rotate(-8deg);
    text-transform: uppercase;
}

@keyframes tileDrift {
    0% {
        background-position: 0% 0%;
    }

    33% {
        background-position: 100% 0%;
    }

    66% {
        background-position: 0% 100%;
    }

    100% {
        background-position: 100% 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contactTile {
        animation: none;
    }
}

@media (max-width: 1100px) {
    .contactGrid {
        display: flex;
        flex-direction: column;
        gap: clamp(16px, 3vw, 24px);
        min-height: auto;
    }

    .contactTile {
        position: relative;
        width: 100%;
        min-height: auto;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        transform: none;
    }
}

@media (max-width: 720px) {
    .contactGrid {
        min-height: auto;
    }

    .contactTile {
        box-shadow: 4px 4px 0 var(--grey);
    }
}
