@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

:root {
    --bg: #fffdfb;
    --text: #2b292b;
    --muted: #817b80;
    --green-accent: #7edb26;
    --green-hover: #4abf43;
    --green-soft: #e7f9c9;
    --border: #ebe5e7;
    --green: #8fe92d;
    --green-deep: #4abf43;
    --green-strong: #7edb26;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}

body {
    margin: 0;
    min-height: 100vh;
    max-height: none;
    background: #f7f8ef;
    color: var(--text);
    font-family: Inter, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.45;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    overflow-y: auto;
    cursor: default;
    user-select: none;
}

main,
header,
section,
button,
a,
img,
span,
div {
    cursor: default;
}

button,
a,
.job,
.category-entry,
.intro-brand,
.nav-link,
.category-arrow,
.lightbox-arrow,
.sage-link,
.brand {
    cursor: pointer;
}

::selection {
    background: rgba(143, 233, 45, .25);
    color: #1d4d1d;
}

button,
a {
    font: inherit;
    color: inherit;
}

a {
    text-decoration: none;
}

button {
    border: 0;
    background: none;
    cursor: pointer;
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid rgba(78, 182, 44, .8);
    outline-offset: 2px;
}

.hidden {
    display: none !important;
}

#home,
.category-page,
.showcase {
    position: relative;
    z-index: 1;
    background: transparent;
    opacity: 1;
    visibility: visible;
    transform: none;
    overflow: visible;
    transition:
        opacity .28s ease,
        transform .3s ease,
        visibility .28s ease;
}

.category-page,
.showcase {
    width: 100%;
    min-height: 100vh;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.category-page.visible,
.showcase.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
}

.lightbox.hidden,
.link-preview.hidden {
    display: none !important;
}


/* Background */

.dot-field {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.dot-field::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .14;
    pointer-events: none;
    background: repeating-linear-gradient(
        0deg,
        rgba(255, 255, 255, .5) 0,
        rgba(255, 255, 255, .5) 1px,
        transparent 1px,
        transparent 4px
    );
    mix-blend-mode: soft-light;
}

#rainCanvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.9;
    display: block;
}

.pattern {
    position: absolute;
    display: block;
    opacity: .82;
    filter: blur(.55px);

    background-image: radial-gradient(
        circle,
        rgba(145, 220, 84, .95) 1.35px,
        transparent 1.7px
    );

    background-size: 13px 13px;

    mask-image: radial-gradient(
        ellipse at center,
        #000 0%,
        #000 34%,
        rgba(0, 0, 0, .72) 53%,
        transparent 78%
    );

    -webkit-mask-image: radial-gradient(
        ellipse at center,
        #000 0%,
        #000 34%,
        rgba(0, 0, 0, .72) 53%,
        transparent 78%
    );
}

.p1 {
    width: 390px;
    height: 290px;
    top: 3%;
    left: 9%;
    transform: rotate(-10deg);
}

.p2 {
    width: 330px;
    height: 260px;
    top: 21%;
    right: 4%;
    transform: rotate(12deg);
}

.p3 {
    width: 430px;
    height: 300px;
    bottom: 4%;
    left: 30%;
    transform: rotate(-7deg);
}

.p4 {
    display: none;
}

.p5 {
    display: none;
}

.p6 {
    display: none;
}

.p7 {
    display: none;
}


/* Top */

.topbar {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 5;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    cursor: pointer;
    color: #2c2c2c;
    font-weight: 700;
    letter-spacing: -.025em;
    text-decoration: none;
    position: relative;
    z-index: 2;

    transition:
        color .2s ease,
        transform .2s ease;
}

.brand img {
    width: 23px;
    height: 23px;
    object-fit: contain;
}

.brand:hover {
    color: #3d3d3d;
    transform: translateY(-1px);
}


/* Main */

.page-content {
    width: min(100%, 1120px);
    max-height: calc(100vh - 70px);
    margin: 0 auto;
    padding:
        8px
        8px
        90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.welcome-banner {
    width: min(100%, 980px);
    margin: 0 auto 46px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 0 12px;
    background: linear-gradient(135deg, rgba(196, 255, 77, 0.96), rgba(130, 225, 50, 0.9));
    border-top: 4px solid rgba(0, 0, 0, 0.12);
    border-bottom: 4px solid rgba(0, 0, 0, 0.12);
    border-radius: 26px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.welcome-banner-image {
    display: block;
    width: 100%;
    max-width: 960px;
    height: auto;
    object-fit: contain;
    border-radius: 18px;
    filter: drop-shadow(0 8px 12px rgba(18, 62, 29, 0.12));
    user-select: none;
    pointer-events: none;
}

.intro,
.work-wrap {
    width: min(100%, 860px);
    margin-left: auto;
    margin-right: auto;
}

.intro-copy {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
    color: #3b3b3b;
    font-size: clamp(15px, 1.45vw, 19px);
    line-height: 1.65;
}

.intro-copy p {
    margin: 0 0 36px;
}

.intro-brand {
    display: inline-block;
    cursor: pointer;
}

.green-strong {
    color: #4abf43;
    font-weight: 700;
}

.location-highlight {
    color: var(--green-hover);
    font-weight: 600;
}


/* Sage link only */

.sage-link {
    color: inherit;

    text-decoration-line: underline;
    text-decoration-style: dotted;
    text-decoration-color: #8e888c;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;

    cursor: pointer;

    transition:
        color .2s ease,
        text-decoration-color .2s ease;
}

.sage-link:hover {
    color: var(--green-hover);
    text-decoration-color: var(--green-hover);
}


/* Work */

.work-wrap {
    margin-top: 0;
    width: min(100%, 900px);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 38px 34px;
    align-items: start;
    text-align: left;
}

.work-column {
    width: 100%;
}

.work-column h2.category-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;

    margin: 0 0 12px;

    font-size: 14px;
    font-weight: 500;
    letter-spacing: -.015em;
}

.category-heading img {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    object-fit: contain;
    filter: drop-shadow(0 8px 12px rgba(22, 27, 18, 0.28));
}

.category-arrow {
    display: block;
    width: fit-content;
    margin: 10px auto 0;

    color: #7ecf57;

    font-size: 11px;
    text-decoration: none;

    transition:
        color .18s ease;
}

.category-arrow:hover,
.category-arrow:focus-visible {
    color: var(--green-hover);
}

.category-empty-home {
    min-height: 24px;
    margin-top: 10px;
    color: rgba(129, 123, 128, .42);
    font-size: 11px;
    text-align: center;
}

.jobs {
    width: 100%;

    max-height: 248px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #d8f3b8 transparent;
}

.jobs::-webkit-scrollbar {
    width: 6px;
}

.jobs::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: #d8f3b8;
}


/* Work item */

.job {
    display: grid;

    grid-template-columns:
        48px
        minmax(0, 1fr);

    align-items: center;
    gap: 14px;

    width: 100%;

    padding: 7px 10px;
    margin: 0 -10px;

    border-radius: 10px;

    cursor: pointer;
    outline: none;
    box-shadow: 0 8px 18px rgba(20, 50, 18, 0.08);

    transition:
        background .18s ease,
        transform .18s ease,
        box-shadow .18s ease;
}

.job:hover,
.job:focus-visible {
    background: rgba(218, 246, 186, .52);
    transform: translateX(2px);
    box-shadow: 0 12px 22px rgba(20, 50, 18, 0.12);
}


/* Group icon */

.job-group-icon {
    width: 48px;
    height: 48px;

    flex: 0 0 48px;

    overflow: hidden;
    border-radius: 12px;

    background: #eef8e8;
    box-shadow: 0 10px 16px rgba(20, 27, 18, 0.22);

    display: grid;
    place-items: center;
}

.job-group-icon img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    filter: drop-shadow(0 8px 10px rgba(18, 24, 18, 0.2));
}

.job-icon-placeholder {
    width: 20px;
    height: 20px;

    border-radius: 6px;

    background: #9be06a;
    opacity: .35;
}


/* Work text */

.job-content {
    min-width: 0;
}

.job-title {
    display: inline-flex;
    align-items: center;

    color: #2b292b;

    font-size: 14px;
    font-weight: 500;

    transition:
        color .2s ease;
}

.job:hover .job-title,
.job:focus-visible .job-title {
    color: var(--green-hover);
}

.job-showcase {
    margin-top: 2px;

    color: #8a8a8a;

    font-size: 12px;
    line-height: 1.45;

    transition:
        color .2s ease;
}

.job:hover .job-showcase,
.job:focus-visible .job-showcase {
    color: #9fdc74;
}


/* Category index */

.category-page {
    width: 100%;
    min-height: 100vh;
    padding: 0 24px 80px;
}

.category-nav {
    width: 100%;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.category-nav .nav-link {
    position: absolute;
    left: 0;
}

.category-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2b292b;
    font-size: 14px;
    font-weight: 500;
    text-transform: lowercase;
}

.category-brand img {
    width: 23px;
    height: 23px;
    object-fit: contain;
}

.category-inner {
    width: min(100%, 900px);
    margin: 0 auto;
    padding-top: 34px;
}

.category-brand + .category-search {
    margin-top: 12px;
}

.category-search {
    width: max-content;
    min-width: 110px;
    max-width: min(100%, 360px);
    height: 32px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 24px;
    padding: 0 10px;
    border: 1px solid #d9efbc;
    border-radius: 999px;
    background: rgba(214, 245, 177, .18);
    color: #5cae3d;
    transition: width .3s ease, box-shadow .2s ease, background .2s ease;
}

.category-search:focus-within,
.category-search.has-query {
    width: max-content;
    min-width: 110px;
    max-width: min(100%, 360px);
    background: rgba(214, 245, 177, .3);
    box-shadow: 0 0 0 3px rgba(134, 212, 89, .13);
}

.search-icon {
    position: relative;
    flex: 0 0 auto;
    width: 11px;
    height: 11px;
    line-height: 1;
}

.search-icon::before {
    content: "";
    position: absolute;
    inset: 0 2px 2px 0;
    border: 1.5px solid currentColor;
    border-radius: 50%;
}

.search-icon::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 5px;
    height: 1.5px;
    border-radius: 2px;
    background: currentColor;
    transform: rotate(45deg);
    transform-origin: right center;
}

.category-search input {
    min-width: 0;
    width: auto;
    max-width: 100%;
    padding: 0;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--text);
    font: inherit;
}

.category-search input::placeholder {
    color: #5cae3d;
}

.category-search input::-webkit-search-cancel-button {
    opacity: .8;
    filter: invert(62%) sepia(25%) saturate(700%) hue-rotate(295deg) brightness(92%);
}

.category-entries {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.category-entry {
    animation: category-entry-in .4s ease both;
    animation-delay: calc(var(--entry-index) * 55ms);
}

@keyframes category-entry-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

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

.category-entry {
    width: 100%;
    min-height: 220px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    position: relative;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgba(255, 255, 255, .62);
    text-align: left;
    cursor: pointer;
    box-shadow: 0 10px 18px rgba(41, 69, 30, 0.08);
    transition: background .18s ease, transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.category-entry:hover,
.category-entry:focus-visible {
    border-color: #d9efbc;
    background: rgba(232, 249, 209, .7);
    outline: none;
    transform: translateY(-2px);
    box-shadow: 0 14px 22px rgba(41, 69, 30, 0.12);
}

.category-entry-icon {
    width: 100%;
    height: 180px;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 7px;
    background: #eef8e8;
}

.category-entry-icon img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
}

.category-entry-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0 3px 3px;
}

.category-entry-copy strong {
    color: var(--text);
    overflow: hidden;
    font-size: 12px;
    font-weight: 500;
    text-transform: lowercase;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.category-entry-copy span {
    overflow: hidden;
    color: var(--muted);
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.category-empty {
    margin: 20px 0;
    color: var(--muted);
    font-size: 12px;
}

.job:hover .job-showcase,
.job:focus-visible .job-showcase {
    color: #7cc550;
}


/* =========================================================
   SHOWCASE
   ========================================================= */

.showcase {
    width: 100%;
    min-height: 100vh;

    padding:
        0
        24px
        80px;

    opacity: 0;

    transform: translateY(8px);

    transition:
        opacity .25s ease,
        transform .3s ease;
}

.showcase.visible {
    opacity: 1;
    transform: none;
}


/* Showcase navigation */

.showcase-nav {
    width: 100%;
    height: 70px;

    margin: 0 auto;

    display: flex;
    align-items: center;
}

.nav-link {
    padding: 0;

    color: #666065;

    font-size: 13px;

    cursor: pointer;

    transition:
        color .2s ease,
        transform .2s ease;
}

.nav-link:hover {
    color: var(--green-hover);
    transform: translateX(-2px);
}


/* Showcase main area */

.showcase-inner {
    width: 100%;

    min-height: calc(100vh - 70px);

    margin: 0 auto;

    padding:
        30px
        0
        70px;

    display: flex;
    flex-direction: column;
    align-items: center;
}


/* Showcase header */

.showcase-head {
    width: fit-content;
    max-width: calc(100vw - 48px);

    margin:
        0
        auto
        35px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 17px;

    text-align: left;
}

.group-icon-wrap {
    width: 58px;
    height: 58px;

    flex: 0 0 58px;

    overflow: hidden;

    border-radius: 14px;

    background: #eef8e8;

    display: grid;
    place-items: center;
}

.group-icon-wrap img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}

.showcase-copy {
    min-width: 0;
    width: max-content;
    max-width: calc(100vw - 123px);
}

.showcase-copy h1 {
    margin:
        0
        0
        4px;

    color: #2b292b;

    font-size: 17px;
    line-height: 1.25;

    font-weight: 500;

    letter-spacing: -.025em;
}

.showcase-copy p {
    margin: 0;

    color: #858085;

    font-size: 12px;
    line-height: 1.45;

    overflow-wrap: break-word;
}

/* =========================================================
   PINTEREST BOARD

   The board itself is centered against the viewport.
   ========================================================= */

.screens {
    width: 582px;
    max-width: calc(100vw - 48px);

    margin:
        0
        auto;

    column-count: 2;
    column-fill: balance;

    gap: 10px;

    text-align: left;
}


/* Screenshot */

.shot {
    width: 100%;

    position: relative;
    display: block;

    padding: 0;
    margin: 0 0 10px;

    border: 0;

    border-radius: 10px;

    overflow: hidden;

    break-inside: avoid;

    background: #fff;

    cursor: zoom-in;

    page-break-inside: avoid;

    transition:
        transform .25s ease,
        filter .25s ease,
        box-shadow .25s ease;
}

.shot img,
.shot video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .35s ease;
}

.shot video {
    background: linear-gradient(135deg, #dff4d2, #bfe7a9);
    aspect-ratio: 9 / 16;
    min-height: 220px;
}

.video-indicator {
    position: absolute;
    right: 12px;
    bottom: 12px;

    width: auto;
    height: auto;

    display: flex;
    align-items: center;
    justify-content: center;

    background: transparent;
    border: 0;
    box-shadow: none;

    pointer-events: none;
    z-index: 1;
}

.video-play-icon {
    width: 0;
    height: 0;

    margin-left: 2px;

    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 11px solid #9ae163;
    filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.5));
}

.shot:hover {
    filter: brightness(.97);

    transform: translateY(-2px);

    box-shadow:
        0 12px 30px rgba(75, 43, 52, .08);
}

.shot:hover img,
.shot:hover video {
    transform: scale(1.015);
}


/* Empty showcase */

.empty-screens {
    width: 100%;

    padding:
        30px
        20px;

    color: #8b8589;

    font-size: 12px;

    text-align: center;

    column-span: all;
}


/* =========================================================
   Hover preview
   ========================================================= */

.link-preview {
    position: fixed;

    z-index: 100;

    width: 252px;

    padding: 8px;

    display: flex;
    align-items: center;

    gap: 10px;

    border: 1px solid var(--border);

    border-radius: 12px;

    background: rgba(255, 255, 255, .97);

    box-shadow:
        0 14px 35px rgba(75, 43, 52, .13);

    backdrop-filter: blur(10px);

    opacity: 0;

    transform:
        translateY(5px)
        scale(.98);

    pointer-events: none;

    transition:
        opacity .15s ease,
        transform .15s ease;
}

.link-preview.visible {
    opacity: 1;
    transform: none;
}

.preview-thumb {
    width: 44px;
    height: 44px;

    flex: 0 0 44px;

    border-radius: 9px;

    overflow: hidden;

    background: #e8f7df;

    display: grid;
    place-items: center;
}

.preview-thumb img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}

.preview-copy {
    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 2px;
}

.preview-copy strong {
    font-size: 12px;
    font-weight: 500;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;
}

.preview-copy span {
    color: #8b8589;

    font-size: 10px;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;
}


/* =========================================================
   Lightbox
   ========================================================= */

.lightbox {
    position: fixed;

    inset: 0;

    z-index: 120;

    padding: 40px;

    background:
        rgba(255, 253, 251, .95);

    backdrop-filter: blur(10px);

    display: grid;

    place-items: center;

    opacity: 0;

    pointer-events: none;

    transition:
        opacity .18s ease;
}

.lightbox-title {
    position: absolute;

    top: 22px;
    left: 50%;

    color: #777176;

    font-size: 13px;
    font-weight: 500;

    transform: translateX(-50%);
}

.lightbox.visible {
    opacity: 1;
    pointer-events: auto;
}

.lightbox img,
.lightbox video {
    max-width:
        min(1200px, 92vw);

    max-height: 88vh;

    display: block;

    border-radius: 10px;

    box-shadow:
        0 20px 60px rgba(50, 30, 38, .12);
}

.lightbox img[hidden],
.lightbox video[hidden] {
    display: none !important;
}

.lightbox video {
    width: min(1000px, 92vw);
    background: #000;
    color-scheme: light;
}

.lightbox video::-webkit-media-controls-panel {
    background: rgba(143, 233, 45, .18);
}

.lightbox video::-webkit-media-controls-play-button,
.lightbox video::-webkit-media-controls-mute-button,
.lightbox video::-webkit-media-controls-fullscreen-button,
.lightbox video::-webkit-media-controls-current-time-display,
.lightbox video::-webkit-media-controls-time-remaining-display,
.lightbox video::-webkit-media-controls-timeline,
.lightbox video::-webkit-media-controls-volume-slider,
.lightbox video::-webkit-media-controls-volume-slider-container,
.lightbox video::-webkit-media-controls-volume-control-container {
    filter: hue-rotate(330deg) saturate(2);
}

#close-lightbox {
    position: absolute;
    top: 22px;
    right: 26px;
    width: 28px;
    height: 28px;
    padding: 0;
    background: transparent;
    border: 0;
    cursor: pointer;
    transition: transform .2s ease;
}

#close-lightbox::before,
#close-lightbox::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 18px;
    border-radius: 999px;
    background: var(--green-strong);
    transform: translate(-50%, -50%);
    transition: background .2s ease;
}

#close-lightbox::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

#close-lightbox::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

#close-lightbox:hover {
    transform: rotate(5deg);
}

#close-lightbox:hover::before,
#close-lightbox:hover::after {
    background: var(--green-deep);
}

.lightbox-arrow {
    position: absolute;
    top: 50%;

    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border: 1px solid var(--border);
    border-radius: 50%;

    background: rgba(255, 255, 255, .8);
    color: #777176;

    font-size: 20px;
    line-height: 1;

    cursor: pointer;
    transform: translateY(-50%);

    transition:
        color .2s ease,
        background .2s ease,
        transform .2s ease;
}

.lightbox-arrow:hover {
    background: #fff;
    color: var(--green-hover);
}

.lightbox-arrow-previous {
    left: 26px;
}

.lightbox-arrow-next {
    right: 26px;
}


/* =========================================================
   Tablet
   ========================================================= */

@media (min-width: 2200px) {

    .screens {
        width: 1220px;
        max-width: calc(100vw - 100px);

        column-count: 4;

        gap: 10px;
    }

}


/* =========================================================
   Tablet
   ========================================================= */

@media (max-width: 1200px) {

    .showcase-inner {
        width: 100%;
    }

    .screens {
        width: 582px;
        max-width: calc(100vw - 48px);

        column-count: 2;

        gap: 10px;
    }

}


/* =========================================================
   Smaller tablet
   ========================================================= */

@media (max-width: 900px) {

    .page-content {
        padding-top: 18vh;
    }

    .intro,
    .work-wrap {
        width: min(100%, 680px);
    }

    .showcase {
        padding-left: 20px;
        padding-right: 20px;
    }

    .showcase-inner {
        width: 100%;

        min-height:
            calc(100vh - 60px);

        padding-top: 30px;
    }

    .showcase-head {
        max-width:
            calc(100vw - 40px);
    }

    .screens {
        width: 582px;
        max-width:
            calc(100vw - 40px);

        column-count: 2;

        gap: 8px;
    }

}


/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 760px) {

    html {
        height: auto;
        min-height: 100%;
        overflow-x: hidden;
        overflow-y: auto;
    }

    body {
        min-height: 100dvh;
        max-height: none;
        overflow-x: hidden !important;
        overflow-y: auto !important;
    }

    #home,
    .category-page,
    .showcase {
        min-height: 100dvh;
    }

    .page-content {
        max-height: none;
        min-height: calc(100dvh - 60px);
        overflow: visible;
    }

    .dot-field {
        opacity: .9;
    }

    .dot-field::after {
        opacity: .05;
    }

    .pattern {
        opacity: .42;
        filter: blur(.25px);
        background-image: radial-gradient(
            circle,
            rgba(143, 233, 45, .7) 1.1px,
            transparent 1.8px
        );
        background-size: 14px 14px;
        mask-image: radial-gradient(
            ellipse at center,
            #000 0%,
            #000 40%,
            rgba(0, 0, 0, .72) 58%,
            transparent 80%
        );
        -webkit-mask-image: radial-gradient(
            ellipse at center,
            #000 0%,
            #000 40%,
            rgba(0, 0, 0, .72) 58%,
            transparent 80%
        );
    }

    .p1 {
        width: 260px;
        height: 190px;
        top: 3%;
        left: 4%;
        transform: rotate(-6deg);
    }

    .p2 {
        width: 220px;
        height: 180px;
        top: 18%;
        right: 3%;
        transform: rotate(8deg);
    }

    .p3 {
        width: 280px;
        height: 210px;
        bottom: 4%;
        left: 22%;
        transform: rotate(-5deg);
    }

    .topbar {
        height: 60px;
    }

    .page-content {
        padding:
            16vh
            20px
            70px;
    }

    .intro-copy {
        font-size: 13px;
    }

    .work-wrap {
        margin-top: 28px;
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .job {
        grid-template-columns:
            48px
            minmax(0, 1fr);

        gap: 10px;
    }

    .showcase {
        padding:
            0
            14px
            60px;
    }

    .category-page {
        padding-left: 16px;
        padding-right: 16px;
    }

    .category-nav .nav-link {
        left: 0;
    }

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

    .category-entry {
        min-height: 190px;
    }

    .category-entry-icon {
        height: 155px;
    }

    .showcase-nav {
        height: 60px;
    }

    .showcase-inner {
        min-height: calc(100dvh - 60px);

        padding:
            20px
            0
            50px;

            overflow: visible;
    }

    .showcase-head {
        max-width:
            calc(100vw - 28px);

        align-items: flex-start;

        margin-bottom: 24px;
    }

    .screens {
        width: 100%;
        max-width: 100%;

        column-count: 2;

        gap: 7px;

    }

    .shot {
        margin-bottom: 7px;
        border-radius: 8px;
    }

    .shot:hover {
        transform: none;
        box-shadow: none;
    }

    .shot:hover img {
        transform: none;
    }

    .empty-screens {
        width: 100%;

        padding:
            30px
            10px;

        text-align: center;

        column-span: all;
    }

    .link-preview {
        width: 225px;
    }

    .lightbox {
        padding: 20px;
    }

}


/* =========================================================
   Small phones
   ========================================================= */

@media (max-width: 480px) {

    .page-content {
        padding-left: 16px;
        padding-right: 16px;
    }

    .showcase {
        padding-left: 10px;
        padding-right: 10px;
    }

    .showcase-inner {
        padding-top: 15px;
    }

    .screens {
        width: 100%;
        max-width: 100%;

        column-count: 2;

        gap: 5px;

    }

    .shot {
        margin-bottom: 5px;
        border-radius: 7px;
    }

    .showcase-head {
        gap: 12px;
    }

    .group-icon-wrap {
        width: 50px;
        height: 50px;

        flex-basis: 50px;

        border-radius: 12px;
    }

    .showcase-copy h1 {
        font-size: 15px;
    }

    .showcase-copy p {
        font-size: 11px;
    }

}


/* =========================================================
   Very small phones
   ========================================================= */

@media (max-width: 380px) {

    .job {
        grid-template-columns:
            42px
            minmax(0, 1fr);

        gap: 9px;
    }

    .job-group-icon {
        width: 42px;
        height: 42px;

        flex-basis: 42px;

        border-radius: 10px;
    }

    .screens {
        column-count: 2;
    }

}