/* Global font */
html,
body {
    margin: 0;
    font-family: "Outfit", sans-serif;
    font-weight: 300;
}

:root {
    --header-height: 8rem;
}

.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    --hero-focus-x: 50%;
    --hero-focus-y: 58%;
    --hero-focus-clear: 30%;
    --hero-focus-feather: 62%;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    background: rgba(255, 255, 255, 0.02);
    mask-image: radial-gradient(circle at var(--hero-focus-x) var(--hero-focus-y),
            transparent 0 var(--hero-focus-clear),
            rgba(0, 0, 0, 0.55) calc(var(--hero-focus-clear) + 8%),
            #000 var(--hero-focus-feather));
    -webkit-mask-image: radial-gradient(circle at var(--hero-focus-x) var(--hero-focus-y),
            transparent 0 var(--hero-focus-clear),
            rgba(0, 0, 0, 0.55) calc(var(--hero-focus-clear) + 8%),
            #000 var(--hero-focus-feather));
    display: none;
}

.hero-image {
    background-color: #f4f4f4;
    background-image: url('Images/PRVA STRAN CELA OBROBA.webp');
    background-size: cover;
    /* show vertical range 0%–60% (center 30%) and cut left 20% horizontally (center 60%) */
    background-position: center 32%;
    /* extend visually under the header by shifting up by header height */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    opacity: 1;
    filter: none;
    background-attachment: scroll;
    z-index: 0;
}

.hero-image::after {
    /* slightly stronger overlay so simple white text remains legible */
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 58%, transparent 0 28%, rgba(0, 0, 0, 0.2) 64%, rgba(0, 0, 0, 0.3) 100%),
        rgba(255, 255, 255, 0.04);
    pointer-events: none;
    display: none;
}

.hero-accent {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100vh;
    background:
        radial-gradient(ellipse at 50% 58%, rgba(0, 170, 125, 0.24), transparent 28%),
        radial-gradient(ellipse at 50% 58%, rgba(0, 0, 0, 0.14), transparent 38%);
    mix-blend-mode: multiply;
    pointer-events: none;
    opacity: 0.9;
    z-index: 2;
    display: none;
}

.hero-copy {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: auto;
    right: 6vw;
    padding: 1rem 2rem;
    z-index: 3;
    color: #fff;
    text-shadow: none;
    max-width: 48ch;
    text-align: right;
    font-family: "Outfit", sans-serif;
    font-weight: 300;
}

/* When on the top of the page, apply the fixed presentation */
/* Previously used .fixed variant removed — hero is now in-flow and scrolls normally. */

/* keep the header above the fixed image */
.site-header {
    position: relative;
    z-index: 1000;
    background: transparent;
    height: auto;
    align-items: center;
    transition: transform 220ms ease;
    will-change: transform;
}

.site-header.header-hidden {
    transform: translateY(-100%);
}

/* Non-home pages get the white header canvas for readability */
body:not(.home) .site-header {
    background: #fff;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

/* Overlay header on homepage so hero shows beneath logo/nav */
body.home .site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
}

/* prevent page content from hiding under header on home */
body.home main {
    padding-top: 0;
}

/* white navigation links on top of image */
body.home .nav a,
body.home .nav a:visited {
    color: #000000;
}

/* On home the header overlays the hero so the image sits underneath */
body.home .site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
}

body.home .site-header.header-blur {
    background: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

/* prevent page content from hiding under header on home */
body.home main {
    padding-top: 0;
}

/* white navigation links on top of image */
body.home .nav a,
body.home .nav a:visited {
    color: #000000;
}

body.home .nav a:hover {
    opacity: 0.9;
}

/* remove extra border on home */
body.home .hero {
    border-top: 0;
}

.nav a:hover {
    color: #000;
}

/* On small screens revert header to normal flow and ensure hero shows correctly */
@media (max-width: 900px) {
    body.home .site-header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    body.home main {
        padding-top: 0;
    }

    .hero {
        min-height: 100vh;
        min-height: 100svh;
        --hero-focus-x: 55%;
        --hero-focus-y: 48%;
        --hero-focus-clear: 34%;
        --hero-focus-feather: 68%;
    }

    .hero-copy {
        position: relative;
        top: auto;
        right: auto;
        left: auto;
        transform: none;
        padding: 1.25rem;
        text-align: left;
        color: #111;
        z-index: 3;
    }

    .hero::before {
        bottom: auto;
        height: 45vh;
    }

    .logo {
        max-width: 17.6rem;
        margin-bottom: 0.35rem;
    }

    .brand-motto {
        width: min(100%, 15.4rem);
    }

    .nav {
        align-items: center;
        gap: 0.5rem;
        width: 100%;
        flex-wrap: nowrap;
    }
}

img {
    display: block;
    width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.site-header {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: start;
    padding: 1rem 1.5rem;
    width: 100vw;
    box-sizing: border-box;
}

.brand {
    max-width: 24.2rem;
}

.logo {
    width: min(100%, 22rem);
    margin-bottom: 0.35rem;
}

.brand-motto {
    width: min(100%, 15.4rem);
}

.brand h1 {
    margin: 0 0 1.5rem;
    font-size: clamp(2.4rem, 7vw, 6rem);
    line-height: 0.9;
    font-weight: 300;
    letter-spacing: -0.08em;
}

.nav {
    display: flex;
    flex-direction: row;
    gap: 0.65rem;
    align-items: center;
    font-family: "Outfit", sans-serif;
    font-size: 0.82rem;
    font-weight: 300;
    line-height: 1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.nav a {
    display: flex;
    align-items: center;
    min-height: 1.2rem;
    white-space: nowrap;
}

.nav a span {
    line-height: 1.05;
}

.nav-label {
    width: auto;
    height: 1rem;
    max-width: 8rem;
    object-fit: contain;
    object-position: left center;
}

.nav-label-collection {
    height: 0.9rem;
}

.nav-label-tall {
    height: 1.15rem;
}

.nav-label-playground {
    height: 1.15rem;
}

.menu-toggle {
    display: none;
}


.hero-copy .kicker,
.hero-copy .motto {
    margin: 0 0 0.75rem;
    font-size: 0.9rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 300;
    color: #fff;
}

.hero-copy h1 {
    margin: 0 0 1rem;
    font-size: clamp(3rem, 5vw, 5.7rem);
    line-height: 1.02;
    font-weight: 300;
    letter-spacing: -0.06em;
}

.hero-copy p {
    margin: 0;
    max-width: 30rem;
    font-weight: 300;
    color: inherit;
}

.hero-copy .text-link {
    display: inline-block;
    margin-top: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.06em;
}

.section {
    padding: 3rem 0 7rem;
}

.hero+.section,
.section+.section {
    border-top: 0;
}

.section-heading {
    padding: 1rem 0 1.5rem;
    border-top: 1rem solid #fff;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(1.45rem, 2.5vw, 2.5rem);
    line-height: 1.05;
    font-weight: 300;
    letter-spacing: -0.04em;
    text-transform: uppercase;
}

.handwriting-heading {
    --handwriting-title-height: clamp(2.4rem, 4.8vw, 4.8rem);
    width: auto;
    height: var(--handwriting-title-height);
    max-width: min(92vw, 44rem);
    object-fit: contain;
    object-position: left center;
}

.handwriting-heading-two-lines {
    height: calc(var(--handwriting-title-height) * 2);
}

.handwriting-heading-playground {
    max-width: min(92vw, 44rem);
}

.handwriting-heading-collection {
    max-width: min(70vw, 19rem);
    margin-left: 4vw;
}

.handwriting-heading-about {
    max-width: min(75vw, 17rem);
    margin-left: 4vw;
}

.handwriting-heading-craft {
    max-width: min(84vw, 30rem);
}

.handwriting-heading-updates,
.handwriting-heading-contact {
    max-width: min(85vw, 30rem);
}

.swipe-note {
    width: auto;
    height: auto;
    object-fit: contain;
}

.swipe-note-playground {
    max-width: min(50vw, 12rem);
    margin: 0 1.25rem 1rem auto;
}

.swipe-note-craft {
    max-width: min(65vw, 9rem);
    margin: 2rem 0 0 7rem;
}

.mess-section,
.playground-section {
    overflow: hidden;
    padding: 3rem 0 6rem;
}

.mess-layout,
.playground-layout {
    display: grid;
    grid-template-columns: minmax(16rem, 28vw) minmax(0, 1fr);
    align-items: center;
}

.playground-layout {
    grid-template-columns: minmax(0, 1fr) minmax(16rem, 28vw);
}

.mess-intro,
.playground-intro {
    padding-left: 4vw;
}

.mess-intro h2,
.playground-intro h2 {
    margin: 0;
}

.mess-intro .handwriting-heading-craft {
    width: auto;
}

.playground-intro .handwriting-heading-playground {
    width: auto;
}

.playground-intro {
    grid-column: 2;
    grid-row: 1;
    padding: 0 4vw 0 1rem;
}

.playground-intro .swipe-note-playground {
    max-width: min(65vw, 9rem);
    margin: 2rem auto 0 0;
}

.mess-gallery,
.playground-gallery {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    touch-action: pan-x pan-y;
    padding: 2rem 4vw 2rem 0;
    cursor: grab;
}

.playground-gallery {
    grid-column: 1;
    grid-row: 1;
    display: grid;
    grid-template-columns: repeat(10, clamp(18rem, 27vw, 25rem));
    grid-template-rows: calc(clamp(11rem, 17.6vw, 15.4rem) + clamp(11rem, 17.6vw, 15.4rem) + 0.4rem);
    align-items: stretch;
    gap: 0.4rem;
    padding: 2rem 0 2rem 4vw;
}

.playground-gallery.playground-gallery img {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
}

.playground-gallery img {
    grid-row: 1;
}

.mobile-gallery-swipe {
    display: none;
}

.mess-gallery.is-dragging,
.playground-gallery.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
}

.mess-gallery::-webkit-scrollbar,
.playground-gallery::-webkit-scrollbar {
    display: none;
}

.mess-gallery img,
.playground-gallery img {
    flex: 0 0 clamp(17rem, 27vw, 25rem);
    width: clamp(17rem, 27vw, 25rem);
    aspect-ratio: 3 / 4;
    object-fit: cover;
    scroll-snap-align: start;
    user-select: none;
    -webkit-user-drag: none;
}

.mess-gallery img {
    aspect-ratio: 15 / 22;
}

.section-heading+.about-layout,
.section-heading+.text-block,
.section-heading+.collection-grid,
.section-heading+.contact-block {
    margin-top: 1rem;
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.35rem;
    padding: 0 0.35rem;
}

.collection-section .collection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4vw;
    padding: 0 4vw;
}

@media (min-width: 901px) {
    .collection-section .piece {
        min-height: clamp(30rem, 40vw, 44rem);
    }
}

.inspiration-grid {
    grid-template-columns: repeat(5, 1fr);
}

.piece {
    position: relative;
    min-height: 18rem;
    overflow: hidden;
    background: #f5f5f5;
    cursor: pointer;
}

.piece-large {
    grid-column: span 2;
}

.piece-slides {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.12rem;
}

.piece img,
.piece-slide {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 220ms ease;
}

.piece-slide {
    position: relative;
    opacity: 1;
}

.piece:hover .piece-slide {
    transform: scale(1.03);
}

.piece-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1rem;
    display: flex;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.76);
    opacity: 0;
    transition: opacity 180ms ease;
    align-items: center;
    justify-content: space-between;
    z-index: 4;
}

.piece:hover .piece-caption {
    opacity: 1;
}

.piece img.sold-out-mark {
    display: inline-flex;
    flex: 0 0 auto;
    width: 5.5rem;
    height: auto;
    object-fit: contain;
}

.notify-area {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
}

.notify-open {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.4rem 0.65rem;
    border: 1px solid #111;
    border-radius: 0;
    background: #fff;
    color: #111;
    font: 300 0.7rem/1 "Outfit", sans-serif;
    letter-spacing: 0.04em;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}

.notify-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1600;
}

.notify-modal.open {
    display: flex;
}

.notify-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    border: 0;
    background: rgba(0, 0, 0, 0.72);
}

.notify-dialog {
    position: relative;
    width: min(90vw, 28rem);
    box-sizing: border-box;
    padding: 2.5rem;
    background: #fff;
    z-index: 1;
}

.notify-dialog h2,
.notify-dialog p {
    margin: 0 0 1rem;
    font-family: "Outfit", sans-serif;
    font-weight: 300;
}

.notify-close {
    position: absolute;
    top: 0.6rem;
    right: 0.75rem;
    border: 0;
    background: transparent;
    font-size: 1.7rem;
    cursor: pointer;
}

.notify-form {
    display: grid;
    grid-template-columns: minmax(7rem, 11rem) auto;
    gap: 0.35rem;
    align-items: center;
}

.notify-dialog .notify-form {
    grid-template-columns: 1fr auto;
}

.notify-dialog .notify-form label {
    grid-column: 1 / -1;
    font: 300 0.7rem/1 "Outfit", sans-serif;
    letter-spacing: 0.04em;
}

.notify-form input,
.notify-form button {
    min-height: 2rem;
    box-sizing: border-box;
    border: 1px solid #111;
    border-radius: 0;
    background: #fff;
    color: #111;
    font: 300 0.7rem/1 "Outfit", sans-serif;
    letter-spacing: 0.04em;
}

.notify-form input {
    width: 100%;
    padding: 0.4rem 0.55rem;
}

.notify-form button {
    padding: 0.4rem 0.65rem;
    cursor: pointer;
    white-space: nowrap;
}

.notify-form button:disabled {
    cursor: default;
    opacity: 0.6;
}

.notify-message {
    grid-column: 1 / -1;
    min-height: 0.7rem;
    font: 300 0.62rem/1 "Outfit", sans-serif;
    letter-spacing: 0.04em;
    text-align: right;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.piece-caption h3 {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.1;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.lightbox-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1500;
}

.lightbox-modal.open {
    display: flex;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
}

.lightbox-image {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    width: auto;
    height: auto;
    border-radius: 0.75rem;
    box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.35);
    z-index: 1;
    cursor: zoom-out;
}

.lightbox-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 1;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 50%;
    cursor: pointer;
    transition: background 180ms ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.25);
}

.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem;
    align-items: start;
}

.two-column .section-title {
    grid-column: 1 / -1;
}

.about-layout {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image {
    padding: 0 0.35rem;
}

.about-image img {
    width: 100%;
    height: 100%;
    max-height: 32rem;
    object-fit: cover;
    object-position: center;
}

.text-block {
    max-width: 35rem;
    padding: 1.5rem 2rem;
    font-weight: 300;
    color: #333;
}

.handwriting-about-copy {
    width: 100%;
    max-width: 48rem;
    height: auto;
    margin: 0 auto;
}

.about-layout .text-block {
    width: min(90vw, 48rem);
    max-width: 48rem;
    box-sizing: border-box;
}

.text-block p {
    margin: 0 0 1rem;
    font-size: 1rem;
    line-height: 1.65;
    text-align: justify;
}

.text-block strong,
.text-block b {
    font-weight: 400;
}

.text-block.wide {
    max-width: 46rem;
}

.contact-section {
    position: relative;
    overflow: hidden;
    background: #fff;
    padding: 7rem 0 3rem;
}

.contact-composition {
    position: relative;
    width: 100%;
    aspect-ratio: 3.7 / 1;
    min-height: 18rem;
}

.contact-composition>img {
    position: absolute;
    height: auto;
    object-fit: contain;
}

.handwriting-enquiries {
    top: 13%;
    left: 6%;
    width: 41%;
}

.handwriting-updates {
    top: 51%;
    left: 13%;
    width: 35%;
}

.contact-composition>.handwriting-contact-title {
    top: 2%;
    left: 44%;
    width: auto;
    height: var(--handwriting-title-height);
}

.contact-links {
    position: static;
    font-family: "Outfit", sans-serif;
    font-size: clamp(1rem, 1.8vw, 1.65rem);
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: #000;
}

.contact-links a {
    position: absolute;
    left: 49%;
    white-space: nowrap;
}

.contact-email {
    top: 36%;
}

.contact-instagram {
    top: 52%;
}

.contact-links a:hover {
    color: #000;
}

.contact {
    min-height: 35vh;
}

.footer {
    padding: 2rem;
    font-weight: 300;
    text-transform: uppercase;
}

@media (max-width: 900px) {

    .site-header,
    .hero,
    .about-layout,
    .two-column {
        grid-template-columns: 1fr;
    }

    .site-header {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .brand {
        position: relative;
        z-index: 1002;
    }

    .menu-toggle {
        position: fixed;
        top: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 0.3rem;
        width: 2.75rem;
        height: 2.75rem;
        padding: 0.55rem;
        justify-self: end;
        border: 0;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        cursor: pointer;
        z-index: 1002;
    }

    .menu-toggle span {
        display: block;
        width: 100%;
        height: 1px;
        background: #000;
        transform-origin: center;
        transition: transform 180ms ease, opacity 180ms ease;
    }

    .menu-toggle.open span:nth-child(1) {
        transform: translateY(0.4rem) rotate(45deg);
    }

    .menu-toggle.open span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.open span:nth-child(3) {
        transform: translateY(-0.4rem) rotate(-45deg);
    }

    .nav {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 0.75rem;
        width: 100%;
        height: auto;
        box-sizing: border-box;
        padding: 7.5rem 1.5rem 3rem;
        border: 0;
        background: #fff;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-100%);
        transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
        z-index: 1001;
    }

    .nav.open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav a {
        justify-content: center;
    }

    body.menu-open {
        overflow: hidden;
    }

    body.menu-open .site-header {
        background: #fff;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .hero-image {
        position: relative;
        top: 0;
        height: 100vh;
        height: 100svh;
        background-size: cover;
        background-position: center top;
        filter: none;
    }

    .hero-image::after {
        background:
            radial-gradient(ellipse at 50% 58%, transparent 0 34%, rgba(0, 0, 0, 0.14) 72%, rgba(0, 0, 0, 0.22) 100%),
            rgba(255, 255, 255, 0.04);
    }

    .hero-accent {
        bottom: auto;
        height: 45vh;
        background:
            radial-gradient(ellipse at 50% 60%, rgba(0, 170, 125, 0.22), transparent 30%),
            radial-gradient(ellipse at 50% 60%, rgba(0, 0, 0, 0.12), transparent 42%);
    }

    /* On the homepage overlay the header so the hero image shows beneath it */
    body.home .site-header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 60;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        box-shadow: none;
    }

    body.home .site-header.header-blur {
        background: #fff;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    /* Keep main content clear of header on home */
    body.home main {
        padding-top: 0;
    }

    /* Keep homepage nav black on top of the hero */
    body.home .site-header a,
    body.home .site-header a:visited {
        color: #000;
    }

    body.home .site-header a:hover {
        opacity: 0.9;
    }

    /* remove extra border on home */
    body.home .hero {
        border-top: 0;
    }

    .hero-copy {
        position: relative;
        top: auto;
        right: auto;
        left: auto;
        transform: none;
        color: #111;
        text-shadow: none;
        padding: 1.25rem;
        max-width: none;
        z-index: 3;
    }

    .collection-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .piece-large {
        grid-column: span 1;
    }

    .hero-copy {
        position: relative;
        top: auto;
        right: auto;
        left: auto;
        transform: none;
        color: #111;
        text-shadow: none;
        padding: 1.25rem;
        max-width: none;
        z-index: 3;
    }

    .collection-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .piece-large {
        grid-column: span 1;
    }
}

@media (max-width: 560px) {

    .site-header,
    .hero-text,
    .text-block,
    .footer {
        padding: 1rem;
    }

    .collection-grid {
        grid-template-columns: 1fr;
    }

    .collection-section .collection-grid {
        grid-template-columns: 1fr;
    }

    .piece {
        min-height: 24rem;
    }

    .piece-caption {
        align-items: flex-start;
        flex-direction: column;
    }

    .notify-area {
        width: 100%;
        justify-content: space-between;
    }

    .notify-form {
        flex: 1;
    }

    .nav-label {
        height: 1rem;
        max-width: 6rem;
    }

    .nav-label-collection {
        height: 0.9rem;
    }

    .nav-label-tall {
        height: 1.1rem;
    }

    .nav-label-playground {
        height: 1.1rem;
    }

    .handwriting-heading {
        --handwriting-title-height: 3.6rem;
    }

    .mess-section,
    .playground-section {
        padding: 2rem 0 4rem;
    }

    .mess-layout,
    .playground-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .playground-intro {
        grid-column: 1;
        grid-row: 1;
    }

    .playground-gallery {
        grid-column: 1;
        grid-row: 2;
        grid-template-columns: repeat(10, 78vw) 38vw;
        grid-template-rows: calc(114.4vw + 0.4rem);
    }

    .mess-intro,
    .playground-intro {
        display: flex;
        flex-direction: column;
        padding: 0 1rem;
    }

    .mess-intro .handwriting-heading-craft {
        width: auto;
    }

    .swipe-note-craft {
        display: none;
    }

    .playground-intro .handwriting-heading-playground {
        width: auto;
    }

    .playground-intro .swipe-note-playground {
        display: none;
    }

    .mess-gallery,
    .playground-gallery {
        padding: 0 1rem 1rem;
        scroll-padding-left: 1rem;
    }

    .mess-gallery img,
    .mess-gallery img:first-child,
    .playground-gallery img {
        flex-basis: 72vw;
        width: 72vw;
    }

    .playground-gallery img {
        width: 100%;
    }

    .mobile-gallery-swipe {
        display: block;
        flex: 0 0 34vw;
        width: 34vw;
        height: auto;
        align-self: center;
        object-fit: contain;
        aspect-ratio: auto;
        scroll-snap-align: none;
    }

    .mess-gallery img.mobile-mess-swipe {
        flex: 0 0 38vw;
        width: 38vw;
        height: auto;
        aspect-ratio: auto;
        object-fit: contain;
    }

    .playground-gallery.playground-gallery .mobile-playground-swipe {
        grid-column: 11;
        grid-row: 1;
        width: 100%;
        height: auto;
        align-self: center;
        aspect-ratio: auto;
        object-fit: contain;
    }

    .contact-section {
        padding: 4rem 0 2rem;
    }

    .contact-composition {
        aspect-ratio: auto;
        min-height: 18rem;
    }

    .handwriting-enquiries {
        top: 32%;
        left: 2%;
        width: 46%;
    }

    .handwriting-updates {
        top: 65%;
        left: 8%;
        width: 41%;
    }

    .contact-composition>.handwriting-contact-title {
        right: auto;
        left: 50%;
        width: auto;
        transform: translateX(-50%);
    }

    .contact-links {
        font-size: clamp(0.7rem, 3.2vw, 1rem);
    }

    .contact-links a {
        left: 50%;
    }

    .contact-email {
        top: 40%;
    }

    .contact-instagram {
        top: 65%;
    }
}

.piece-price {
    margin-left: 0.65rem;
    white-space: nowrap;
}
