/**
 * Justin Haze — editorial art theme
 * Layout, composition and motion. Tokens live in theme.json.
 */

:root {
    --jh-gutter: var(--wp--custom--gutter, clamp(1.25rem, 4vw, 4.5rem));
    --jh-max: 1680px;
    --jh-header-h: 88px;
    --jh-rule: #d9d3c5;
    --jh-rule-dark: rgba(243, 240, 232, 0.18);
    --jh-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --jh-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --jh-dur: 820ms;
}

/* ---------------------------------------------------------------
   Base
   --------------------------------------------------------------- */

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--wp--preset--color--ivory);
    color: var(--wp--preset--color--ink);
    font-weight: 400;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: var(--wp--preset--color--clay);
    color: var(--wp--preset--color--shell);
}

img {
    height: auto;
}

a {
    transition: color 260ms var(--jh-ease), opacity 260ms var(--jh-ease);
}

:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}

.jh-skip-link:focus {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 999;
    background: var(--wp--preset--color--ink);
    color: var(--wp--preset--color--shell);
    padding: 0.75rem 1.25rem;
}

/* Screen-reader helper */
.jh-visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ---------------------------------------------------------------
   Typography utilities
   --------------------------------------------------------------- */

.jh-label {
    margin: 0;
    font-family: var(--wp--preset--font-family--sans);
    font-size: 0.6875rem;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--wp--preset--color--stone);
}

.jh-label--ink {
    color: var(--wp--preset--color--ink);
}

.jh-label--light {
    color: rgba(243, 240, 232, 0.62);
}

.jh-display {
    font-family: var(--wp--preset--font-family--display);
    font-weight: 400;
    line-height: 0.94;
    letter-spacing: -0.02em;
    font-size: clamp(3rem, 1rem + 6.4vw, 6.875rem);
    margin: 0;
    text-wrap: balance;
}

.jh-display--xl {
    font-size: clamp(3.5rem, 1rem + 8.2vw, 9rem);
    line-height: 0.9;
}

.jh-serif {
    font-family: var(--wp--preset--font-family--display);
    font-weight: 400;
}

.jh-italic {
    font-style: italic;
}

.jh-lede {
    font-size: clamp(1.0625rem, 0.98rem + 0.35vw, 1.25rem);
    line-height: 1.6;
    max-width: 34ch;
    color: color-mix(in srgb, var(--wp--preset--color--ink) 82%, transparent);
}

.jh-measure {
    max-width: 34rem;
}

.jh-link {
    display: inline-flex;
    align-items: center;
    gap: 0.7em;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: currentColor;
    text-decoration: none;
    position: relative;
    padding-bottom: 0.35rem;
}

.jh-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(1);
    transform-origin: left;
    transition: transform 620ms var(--jh-ease);
    opacity: 0.55;
}

.jh-link:hover::after,
.jh-link:focus-visible::after {
    transform: scaleX(0);
    transform-origin: right;
    opacity: 1;
}

.jh-link__arrow {
    display: inline-block;
    transition: transform 620ms var(--jh-ease);
}

.jh-link:hover .jh-link__arrow {
    transform: translateX(5px);
}

/* ---------------------------------------------------------------
   Buttons (block styles)
   --------------------------------------------------------------- */

.wp-block-button.is-style-jh-link .wp-block-button__link {
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(17, 17, 15, 0.4);
    border-radius: 0;
    color: inherit;
    padding: 0 0 0.55rem;
    font-size: 0.6875rem;
    letter-spacing: 0.18em;
}

.wp-block-button.is-style-jh-link .wp-block-button__link:hover {
    background: transparent;
    border-bottom-color: currentColor;
}

.wp-block-button.is-style-jh-ghost .wp-block-button__link {
    background: transparent;
    border: 1px solid rgba(17, 17, 15, 0.35);
    color: var(--wp--preset--color--ink);
}

.wp-block-button.is-style-jh-ghost .wp-block-button__link:hover {
    background: var(--wp--preset--color--ink);
    border-color: var(--wp--preset--color--ink);
    color: var(--wp--preset--color--shell);
}

.wp-block-button.is-style-jh-inverse .wp-block-button__link {
    background: var(--wp--preset--color--shell);
    border-color: var(--wp--preset--color--shell);
    color: var(--wp--preset--color--ink);
}

.wp-block-button.is-style-jh-inverse .wp-block-button__link:hover {
    background: transparent;
    color: var(--wp--preset--color--shell);
}

/* ---------------------------------------------------------------
   Masthead
   --------------------------------------------------------------- */

.jh-masthead {
    position: fixed;
    inset: 0 0 auto;
    z-index: 60;
    height: var(--jh-header-h);
    display: flex;
    align-items: center;
    padding-inline: var(--jh-gutter);
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background-color 520ms var(--jh-ease), border-color 520ms var(--jh-ease),
        backdrop-filter 520ms var(--jh-ease), color 320ms var(--jh-ease);
}

body:not(.jh-has-hero) .jh-masthead,
.jh-masthead.is-stuck {
    background: rgba(243, 240, 232, 0.86);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    backdrop-filter: blur(16px) saturate(150%);
    border-bottom-color: rgba(217, 211, 197, 0.8);
    color: var(--wp--preset--color--ink);
}

.jh-masthead__inner {
    position: relative;
    width: 100%;
    max-width: var(--jh-max);
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 2rem;
}

/* Brand */
.jh-brand {
    display: inline-flex;
    flex-direction: column;
    gap: 0.28rem;
    text-decoration: none;
    color: inherit;
    margin: 0;
    justify-self: start;
}

.jh-brand__name {
    font-family: var(--wp--preset--font-family--sans);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.44em;
    text-transform: uppercase;
    line-height: 1;
    white-space: nowrap;
}

.jh-brand__sub {
    font-size: 0.5625rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    opacity: 0.62;
    line-height: 1;
}

/* Navigation */
.jh-nav {
    justify-self: center;
}

.jh-nav .wp-block-navigation__container {
    gap: clamp(1.1rem, 2.4vw, 2.6rem);
    align-items: center;
}

.jh-nav .wp-block-navigation-item__content {
    padding-bottom: 0.4rem;
    position: relative;
    color: currentColor;
    opacity: 0.92;
}

.jh-nav .wp-block-navigation-item__content::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 560ms var(--jh-ease);
}

.jh-nav .wp-block-navigation-item__content:hover::after,
.jh-nav .wp-block-navigation-item__content[aria-current]::after {
    transform: scaleX(1);
}

.jh-nav .wp-block-navigation__responsive-container-open,
.jh-nav .wp-block-navigation__responsive-container-close {
    color: currentColor;
}

/* Header actions */
.jh-actions {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: clamp(0.85rem, 1.4vw, 1.4rem);
}

.jh-icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: none;
    border: 0;
    padding: 0.35rem;
    margin: 0;
    color: inherit;
    cursor: pointer;
    font-family: var(--wp--preset--font-family--sans);
    font-size: 0.6875rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    line-height: 1;
    transition: opacity 240ms var(--jh-ease);
}

.jh-icon-button:hover {
    opacity: 0.62;
}

.jh-icon-button svg {
    width: 18px;
    height: 18px;
    display: block;
}

.jh-saved-count {
    font-variant-numeric: tabular-nums;
    min-width: 1.4em;
    text-align: left;
}

/* Mobile menu */
.jh-mobile-toggle {
    display: none;
    background: none;
    border: 0;
    color: inherit;
    padding: 0.5rem 0.25rem;
    font-size: 0.6875rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    cursor: pointer;
}

.jh-mobile-panel {
    position: fixed;
    inset: 0;
    z-index: 70;
    background: var(--wp--preset--color--charcoal);
    color: var(--wp--preset--color--shell);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2rem, 8vw, 4rem);
    opacity: 0;
    visibility: hidden;
    transition: opacity 420ms var(--jh-ease), visibility 420ms;
}

.jh-mobile-panel.is-open {
    opacity: 1;
    visibility: visible;
}

.jh-mobile-panel ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.35rem;
}

.jh-mobile-panel a {
    font-family: var(--wp--preset--font-family--display);
    font-size: clamp(2.25rem, 9vw, 3.5rem);
    line-height: 1.12;
    text-decoration: none;
    color: inherit;
}

.jh-mobile-panel__close {
    position: absolute;
    top: clamp(1.25rem, 4vw, 2.25rem);
    right: clamp(1.25rem, 4vw, 2.25rem);
    background: none;
    border: 1px solid rgba(243, 240, 232, 0.28);
    color: inherit;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
}

.jh-mobile-panel__meta {
    margin-top: clamp(2rem, 6vw, 3.5rem);
    font-size: 0.6875rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(243, 240, 232, 0.5);
    display: grid;
    gap: 0.6rem;
}

/* ---------------------------------------------------------------
   Hero
   --------------------------------------------------------------- */

.jh-hero {
    position: relative;
    padding-top: calc(var(--jh-header-h) + clamp(1.5rem, 4vh, 3rem));
    padding-bottom: clamp(2.5rem, 6vh, 5rem);
	padding-inline: var(--jh-gutter);
	min-height: 92svh;
	display: flex;
	align-items: center;
	overflow: hidden;
}

/* Full-bleed sections carry their own gutters. */
.jh-section,
.jh-archive,
.jh-artwork,
.jh-single,
.jh-page {
	padding-inline: var(--jh-gutter);
    max-width: var(--jh-max);
    margin-inline: auto;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: clamp(1rem, 2.2vw, 2.75rem);
    align-items: center;
}

.jh-hero__copy {
    grid-column: 1 / span 4;
    display: flex;
    flex-direction: column;
    gap: clamp(1.5rem, 2.4vw, 2.25rem);
    position: relative;
    z-index: 2;
}

.jh-hero__eyebrow {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.jh-hero__eyebrow::before {
    content: "";
    width: 34px;
    height: 1px;
    background: currentColor;
    opacity: 0.4;
}

.jh-hero__art {
    grid-column: 6 / -1;
    position: relative;
    transform: translate3d(0, calc(var(--jh-hero-shift, 0) * 1px), 0);
    will-change: transform;
}

.jh-hero__art figure {
	position: relative;
	margin: 0;
	background: var(--wp--preset--color--shell);
}

.jh-hero__art img {
	display: block;
	width: 100%;
	height: auto;
	box-shadow: var(--wp--preset--shadow--canvas);
	transform: scale(calc(1 + var(--jh-hero-scale, 0)));
	transform-origin: center;
}

.jh-hero__caption {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem 1.5rem;
    margin-top: 1.1rem;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(17, 17, 15, 0.14);
}

.jh-hero__caption-title {
    font-family: var(--wp--preset--font-family--display);
    font-size: 1.125rem;
    letter-spacing: 0;
}

.jh-hero__caption-meta {
    font-size: 0.6875rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--wp--preset--color--stone);
}

.jh-hero__scroll {
    position: absolute;
    left: var(--jh-gutter);
    bottom: clamp(1.25rem, 3vh, 2.25rem);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.625rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--wp--preset--color--stone);
}

.jh-hero__scroll span {
    display: block;
    width: 1px;
    height: 46px;
    background: linear-gradient(180deg, rgba(17, 17, 15, 0.5), rgba(17, 17, 15, 0));
    animation: jh-scroll-line 3.4s var(--jh-ease) infinite;
    transform-origin: top;
}

@keyframes jh-scroll-line {

    0%,
    100% {
        transform: scaleY(0.35);
        opacity: 0.35;
    }

    50% {
        transform: scaleY(1);
        opacity: 1;
    }
}

/* Hero copy fade while scrolling */
.jh-hero__copy {
    opacity: calc(1 - var(--jh-hero-fade, 0) * 0.9);
    transform: translate3d(0, calc(var(--jh-hero-fade, 0) * -18px), 0);
}

/* ---------------------------------------------------------------
   Artwork in focus (sticky expansion)
   --------------------------------------------------------------- */

.jh-focus {
    position: relative;
    background: var(--wp--preset--color--charcoal);
    color: var(--wp--preset--color--shell);
    height: 260vh;
}

.jh-focus__stage {
    position: sticky;
    top: 0;
    height: 100svh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jh-focus__figure {
    margin: 0;
    position: relative;
    width: min(86vw, 108svh);
    max-width: 1920px;
    transform: scale(calc(1 + var(--jh-focus, 0) * 0.19));
    transform-origin: center center;
    box-shadow: 0 60px 120px -60px rgba(0, 0, 0, 0.9);
    will-change: transform;
}

.jh-focus__figure img {
    display: block;
    width: 100%;
    height: auto;
}

.jh-focus__figure::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(17, 17, 15, 0.62);
	opacity: clamp(0, calc(0.85 - var(--jh-focus, 0) * 1.6), 0.85);
	pointer-events: none;
	transition: opacity 200ms linear;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    opacity: clamp(0, calc(var(--jh-focus, 0) - 0.55) * 3.2, 1);
    transform: translate3d(0, calc((1 - var(--jh-focus, 0)) * 24px), 0);
}

.jh-focus__meta {
    display: grid;
    gap: 0.35rem;
    max-width: 32rem;
}

.jh-focus__title {
    font-family: var(--wp--preset--font-family--display);
    font-size: clamp(1.75rem, 1.2rem + 2.4vw, 3.5rem);
    line-height: 1;
    margin: 0 0 0.5rem;
}

.jh-focus__lines {
    font-size: 0.6875rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(243, 240, 232, 0.72);
    line-height: 1.9;
}

.jh-focus__index {
    position: absolute;
    top: clamp(6rem, 12vh, 8rem);
    left: var(--jh-gutter);
    font-size: 0.625rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(243, 240, 232, 0.5);
}

/* ---------------------------------------------------------------
   Section scaffolding
   --------------------------------------------------------------- */

.jh-section {
    padding-block: clamp(4.5rem, 10vw, 9.5rem);
}

.jh-section--tight {
    padding-block: clamp(3rem, 6vw, 5rem);
}

.jh-inner {
    width: 100%;
    max-width: var(--jh-max);
    margin-inline: auto;
}

.jh-section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: clamp(1rem, 3vw, 3rem);
    padding-bottom: clamp(2rem, 4vw, 3.25rem);
}

.jh-section-head__title {
    margin: 0.75rem 0 0;
    font-family: var(--wp--preset--font-family--display);
    font-size: clamp(2.25rem, 1.3rem + 3.4vw, 4.25rem);
    line-height: 0.98;
}

.jh-section-head__intro {
    max-width: 30ch;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--wp--preset--color--stone);
    margin: 0;
}

/* ---------------------------------------------------------------
   Selected works — editorial grid
   --------------------------------------------------------------- */

/* Query loop containers render as lists — reset and compose. */
.jh-works,
.jh-grid,
.jh-journal__grid,
.jh-recent__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: clamp(2.5rem, 4.5vw, 4.5rem) clamp(1rem, 2.4vw, 3rem);
	align-items: start;
}

/* Editorial rhythm for the curated homepage index. */
.jh-works > li:nth-child(1) {
	grid-column: 1 / span 7;
}

.jh-works > li:nth-child(2) {
	grid-column: 9 / span 4;
	margin-top: clamp(2rem, 8vw, 8rem);
}

.jh-works > li:nth-child(3) {
	grid-column: 2 / span 4;
	margin-top: clamp(0rem, 2vw, 2rem);
}

.jh-works > li:nth-child(4) {
	grid-column: 7 / span 6;
	margin-top: clamp(1rem, 5vw, 5rem);
}

.jh-work-card {
    position: relative;
    margin: 0;
}

.jh-work-card a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.jh-work-card__media {
    position: relative;
    overflow: hidden;
    background: var(--wp--preset--color--shell);
}

.jh-work-card__media img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 1200ms var(--jh-ease), filter 800ms var(--jh-ease);
}

.jh-work-card:hover .jh-work-card__media img,
.jh-work-card:focus-within .jh-work-card__media img {
    transform: scale(1.025);
}

.jh-work-card__meta {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(17, 17, 15, 0.16);
    transition: border-color 400ms var(--jh-ease);
}

.jh-work-card__title {
    font-family: var(--wp--preset--font-family--display);
    font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.6rem);
    line-height: 1.1;
    margin: 0;
    letter-spacing: -0.01em;
}

.jh-work-card__detail {
    margin: 0.4rem 0 0;
    font-size: 0.6875rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--wp--preset--color--stone);
    line-height: 1.7;
}

.jh-work-card__price {
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    color: var(--wp--preset--color--stone);
    white-space: nowrap;
}

.jh-work-card__hover {
    position: absolute;
    inset: auto auto 1.1rem 1.1rem;
    font-size: 0.5625rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--wp--preset--color--shell);
    background: rgba(17, 17, 15, 0.72);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    padding: 0.6rem 0.85rem;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 420ms var(--jh-ease), transform 420ms var(--jh-ease);
    pointer-events: none;
}

/* Hover label, drawn in CSS so query loops stay editable. */
@media (hover: hover) and (pointer: fine) {
    .jh-work-card__media::after {
        content: "View";
        position: absolute;
        inset: auto auto 1.1rem 1.1rem;
        font-family: var(--wp--preset--font-family--sans);
        font-size: 0.5625rem;
        letter-spacing: 0.24em;
        text-transform: uppercase;
        color: var(--wp--preset--color--shell);
        background: rgba(17, 17, 15, 0.72);
        -webkit-backdrop-filter: blur(6px);
        backdrop-filter: blur(6px);
        padding: 0.6rem 0.85rem;
        opacity: 0;
        transform: translateY(8px);
        transition: opacity 420ms var(--jh-ease), transform 420ms var(--jh-ease);
        pointer-events: none;
    }

    .jh-work-card:hover .jh-work-card__media::after,
    .jh-work-card:focus-within .jh-work-card__media::after {
        opacity: 1;
        transform: translateY(0);
    }

    .jh-work-card:hover .jh-work-card__hover,
    .jh-work-card:focus-within .jh-work-card__hover {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (hover: none) {
    .jh-work-card__hover {
        display: none;
    }
}

/* Card internals */
.jh-work-card__id {
    gap: 0.15rem;
}

.jh-work-card__detail {
    margin: 0;
    gap: 0.35rem;
    font-size: 0.6875rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--wp--preset--color--stone);
}

.jh-work-card__detail > * + *::before {
    content: "·";
    margin-right: 0.35rem;
}

/* ---------------------------------------------------------------
   Artist
   --------------------------------------------------------------- */

.jh-artist {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: clamp(1.5rem, 3vw, 3rem);
    align-items: center;
}

.jh-artist__media {
    grid-column: 1 / span 6;
    margin: 0;
    position: relative;
}

.jh-artist__media img {
    display: block;
    width: 100%;
    box-shadow: var(--wp--preset--shadow--canvas-soft);
}

.jh-artist__plate {
    position: absolute;
    right: -1px;
    bottom: -1px;
    background: var(--wp--preset--color--ivory);
    padding: 1rem 1.25rem;
    font-size: 0.625rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--wp--preset--color--stone);
    border-top: 1px solid var(--jh-rule);
    border-left: 1px solid var(--jh-rule);
}

.jh-artist__copy {
    grid-column: 8 / span 5;
    display: flex;
    flex-direction: column;
    gap: clamp(1.25rem, 2vw, 1.85rem);
}

.jh-artist__quote {
    margin: 0;
    font-family: var(--wp--preset--font-family--display);
    font-size: clamp(1.75rem, 1.1rem + 2.1vw, 3rem);
    line-height: 1.12;
    letter-spacing: -0.015em;
    text-wrap: pretty;
}

.jh-artist__body {
    margin: 0;
    font-size: 1rem;
    line-height: 1.7;
    color: color-mix(in srgb, var(--wp--preset--color--ink) 78%, transparent);
    max-width: 44ch;
}

.jh-signature {
    width: clamp(120px, 14vw, 180px);
    opacity: 0.85;
    margin-top: 0.5rem;
}

/* ---------------------------------------------------------------
   From moment to canvas
   --------------------------------------------------------------- */

.jh-process {
    background: var(--wp--preset--color--shell);
}

.jh-process__grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: clamp(1.5rem, 3vw, 3rem);
}

.jh-process__sticky {
    grid-column: 1 / span 7;
    position: relative;
}

.jh-process__stage {
    position: sticky;
    top: calc(var(--jh-header-h) + 2.5rem);
    overflow: hidden;
    background: var(--wp--preset--color--ivory);
    aspect-ratio: 4 / 3;
}

.jh-process__stage img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 900ms var(--jh-ease), transform 1600ms var(--jh-ease);
}

.jh-process__stage img.is-active {
    opacity: 1;
    transform: scale(1);
}

.jh-process__steps {
    grid-column: 9 / span 4;
    display: flex;
    flex-direction: column;
    gap: clamp(3rem, 8vw, 7rem);
    padding-block: clamp(1rem, 4vw, 3rem);
}

.jh-step {
    max-width: 30rem;
    opacity: 0.34;
    transition: opacity 700ms var(--jh-ease);
}

.jh-step.is-active {
    opacity: 1;
}

.jh-step__num {
    font-size: 0.625rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--wp--preset--color--stone);
    display: block;
    margin-bottom: 1rem;
}

.jh-step__title {
    font-family: var(--wp--preset--font-family--display);
    font-size: clamp(1.6rem, 1.2rem + 1.1vw, 2.25rem);
    line-height: 1.05;
    margin: 0 0 0.85rem;
}

.jh-step__text {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: color-mix(in srgb, var(--wp--preset--color--ink) 72%, transparent);
}

/* ---------------------------------------------------------------
   Commissions (dark)
   --------------------------------------------------------------- */

.jh-commissions {
    position: relative;
    background-color: var(--wp--preset--color--ink);
    color: var(--wp--preset--color--shell);
    overflow: hidden;
    isolation: isolate;
}

.jh-commissions__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.jh-commissions__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    filter: saturate(0.75) contrast(1.05);
}

.jh-commissions__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(17, 17, 15, 0.94) 0%, rgba(17, 17, 15, 0.78) 45%, rgba(17, 17, 15, 0.52) 100%);
}

.jh-commissions__inner {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: clamp(1.5rem, 3vw, 3rem);
    align-items: end;
    min-height: clamp(520px, 78vh, 760px);
    padding-block: clamp(5rem, 12vw, 9rem);
}

.jh-commissions__copy {
    grid-column: 1 / span 6;
    display: flex;
    flex-direction: column;
    gap: clamp(1.5rem, 2.5vw, 2.25rem);
}

.jh-commissions__title {
    margin: 0;
    font-family: var(--wp--preset--font-family--display);
    font-size: clamp(2.5rem, 1.2rem + 5vw, 5.5rem);
    line-height: 0.96;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.jh-commissions__body {
    margin: 0;
    max-width: 38ch;
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(243, 240, 232, 0.76);
}

.jh-process-line {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-top: clamp(3rem, 7vw, 6rem);
    padding-top: 1.5rem;
    border-top: 1px solid var(--jh-rule-dark);
}

.jh-process-line__item {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    font-size: 0.625rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(243, 240, 232, 0.62);
}

.jh-process-line__item span {
    font-family: var(--wp--preset--font-family--display);
    font-size: clamp(1.1rem, 0.95rem + 0.7vw, 1.6rem);
    letter-spacing: 0;
    text-transform: none;
    color: var(--wp--preset--color--shell);
}

/* ---------------------------------------------------------------
   Journal
   --------------------------------------------------------------- */

.jh-journal__grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: clamp(1.5rem, 3vw, 3rem);
}

.jh-entry {
    grid-column: span 4;
}

.jh-entry:nth-child(2) {
    margin-top: clamp(2rem, 6vw, 5.5rem);
}

.jh-entry:nth-child(3) {
    margin-top: clamp(1rem, 3vw, 2.5rem);
}

.jh-entry a {
    color: inherit;
    text-decoration: none;
    display: block;
}

.jh-entry__media {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--wp--preset--color--shell);
}

.jh-entry__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1400ms var(--jh-ease);
}

.jh-entry:hover .jh-entry__media img {
    transform: scale(1.03);
}

.jh-entry__meta {
    margin: 1.1rem 0 0;
    font-size: 0.625rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--wp--preset--color--stone);
}

.jh-entry__title {
    margin: 0.6rem 0 0;
    font-family: var(--wp--preset--font-family--display);
    font-size: clamp(1.35rem, 1.15rem + 0.7vw, 1.85rem);
    line-height: 1.12;
    letter-spacing: -0.01em;
}

.jh-entry__excerpt {
    margin: 0.65rem 0 0;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: color-mix(in srgb, var(--wp--preset--color--ink) 68%, transparent);
    max-width: 36ch;
}

/* ---------------------------------------------------------------
   Studio strip
   --------------------------------------------------------------- */

.jh-studio {
    background: var(--wp--preset--color--charcoal);
    color: var(--wp--preset--color--shell);
}

.jh-studio__grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 1.75rem);
    align-items: center;
}

.jh-studio__copy {
    grid-column: 1 / span 4;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.jh-studio__strip {
    grid-column: 5 / -1;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: clamp(0.75rem, 1.5vw, 1.25rem);
}

.jh-studio__strip figure {
    margin: 0;
    overflow: hidden;
}

.jh-studio__strip img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1600ms var(--jh-ease);
    filter: saturate(0.92);
}

.jh-studio__strip figure:hover img {
    transform: scale(1.03);
}

.jh-studio__strip figure:nth-child(2) {
    margin-top: clamp(1rem, 3vw, 3rem);
}

/* ---------------------------------------------------------------
   Footer
   --------------------------------------------------------------- */

.jh-footer {
    background: var(--wp--preset--color--ink);
    color: var(--wp--preset--color--shell);
    padding-top: clamp(4rem, 9vw, 7rem);
    padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
    position: relative;
    overflow: hidden;
}

.jh-footer__top {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: clamp(2rem, 4vw, 3.5rem);
    padding-bottom: clamp(3rem, 7vw, 5.5rem);
    border-bottom: 1px solid var(--jh-rule-dark);
}

.jh-footer__wordmark {
    grid-column: 1 / span 7;
    margin: 0;
    font-family: var(--wp--preset--font-family--sans);
    font-weight: 300;
    font-size: clamp(2.75rem, 0.6rem + 8.6vw, 8.5rem);
    line-height: 0.86;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.jh-footer__wordmark span {
    display: block;
}

.jh-footer__nav {
    grid-column: 9 / span 2;
    display: grid;
    gap: 0.7rem;
    align-content: start;
}

.jh-footer__nav a {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    color: rgba(243, 240, 232, 0.72);
}

.jh-footer__nav a:hover {
    color: var(--wp--preset--color--shell);
}

.jh-footer__news {
    grid-column: 11 / span 2;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-content: start;
}

.jh-footer__news h2 {
    margin: 0;
    font-family: var(--wp--preset--font-family--display);
    font-size: 1.5rem;
    line-height: 1.1;
}

.jh-footer__news p {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.6;
    color: rgba(243, 240, 232, 0.6);
}

.jh-footer__mark {
    width: clamp(180px, 26vw, 360px);
    opacity: 0.14;
    display: block;
    margin: 2.5rem 0 clamp(1rem, 3vw, 2rem);
    filter: invert(1) grayscale(1);
    mix-blend-mode: screen;
}

.jh-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.625rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(243, 240, 232, 0.45);
    padding-top: 1.5rem;
}

.jh-footer__bottom a {
    color: inherit;
    text-decoration: none;
}

/* ---------------------------------------------------------------
   Newsletter + forms
   --------------------------------------------------------------- */

.jh-form {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    max-width: 30rem;
}

.jh-form__row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid currentColor;
    padding-bottom: 0.6rem;
}

.jh-form__row input[type="email"],
.jh-form__row input[type="text"],
.jh-form__row textarea,
.jh-form input[type="email"],
.jh-form input[type="text"],
.jh-form textarea,
.jh-form select {
    width: 100%;
    background: transparent;
    border: 0;
    color: inherit;
    font-family: var(--wp--preset--font-family--sans);
    font-size: 0.9375rem;
    letter-spacing: 0.02em;
    padding: 0.5rem 0;
    border-radius: 0;
}

.jh-form__row input::placeholder,
.jh-form input::placeholder,
.jh-form textarea::placeholder {
    color: currentColor;
    opacity: 0.42;
}

.jh-form__row input:focus,
.jh-form input:focus,
.jh-form textarea:focus,
.jh-form select:focus {
    outline: none;
}

.jh-form__row:focus-within {
    border-bottom-color: currentColor;
}

.jh-form__submit {
    background: none;
    border: 0;
    color: inherit;
    font-family: var(--wp--preset--font-family--sans);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    cursor: pointer;
    padding: 0.35rem 0;
    white-space: nowrap;
    transition: opacity 240ms var(--jh-ease), transform 400ms var(--jh-ease);
}

.jh-form__submit:hover {
    transform: translateX(3px);
}

.jh-form__note {
    font-size: 0.6875rem;
    letter-spacing: 0.06em;
    opacity: 0.55;
    margin: 0;
}

.jh-field {
    display: grid;
    gap: 0.45rem;
}

.jh-field label {
    font-size: 0.625rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.6;
}

.jh-field input,
.jh-field textarea,
.jh-field select {
    border: 1px solid rgba(17, 17, 15, 0.22);
    padding: 0.9rem 1rem;
    font-size: 0.9375rem;
    background: transparent;
    width: 100%;
}

.jh-form--boxed .jh-field input,
.jh-form--boxed .jh-field textarea,
.jh-form--boxed .jh-field select {
    background: rgba(255, 255, 255, 0.5);
}

.jh-form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.jh-form__grid .jh-field--full {
    grid-column: 1 / -1;
}

.jh-form__feedback {
    border: 1px solid rgba(17, 17, 15, 0.2);
    padding: 1.25rem 1.5rem;
    font-size: 0.9375rem;
    margin-bottom: 2rem;
}

.jh-form__feedback--error {
    border-color: var(--wp--preset--color--clay);
    color: var(--wp--preset--color--clay);
}

.jh-honeypot {
    position: absolute !important;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

/* ---------------------------------------------------------------
   Work archive
   --------------------------------------------------------------- */

.jh-archive-head {
    padding-top: calc(var(--jh-header-h) + clamp(3rem, 8vw, 6.5rem));
    padding-bottom: clamp(2rem, 4vw, 3rem);
}

.jh-archive-head__title {
    margin: 0.75rem 0 0;
    font-family: var(--wp--preset--font-family--display);
    font-size: clamp(3rem, 1.2rem + 6vw, 7rem);
    line-height: 0.92;
}

.jh-filters {
    margin: 0;
    justify-content: flex-start;
}

.jh-filters .wp-block-navigation__container {
    gap: clamp(1.1rem, 2.2vw, 2.25rem);
    flex-wrap: wrap;
}

.jh-filters .wp-block-navigation-item__content {
    font-size: 0.625rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--wp--preset--color--stone);
    padding-bottom: 0.45rem;
    border-bottom: 1px solid transparent;
    transition: color 300ms var(--jh-ease), border-color 300ms var(--jh-ease);
}

.jh-filters .wp-block-navigation-item__content:hover,
.jh-filters .wp-block-navigation-item__content[aria-current] {
    color: var(--wp--preset--color--ink);
    border-bottom-color: var(--wp--preset--color--ink);
}

.jh-filters .wp-block-navigation-item__content::after {
    display: none;
}

.jh-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: clamp(2.5rem, 5vw, 5rem) clamp(1.25rem, 2.5vw, 3rem);
}

.jh-grid>* {
    grid-column: span 4;
}

/* Gentle editorial rhythm in the archive */
.jh-grid>*:nth-child(4n + 2) {
    margin-top: clamp(0rem, 4vw, 4rem);
}

.jh-grid>*:nth-child(4n + 3) {
    margin-top: clamp(0rem, 1.5vw, 1.5rem);
}

.jh-grid>*:nth-child(7n) {
    grid-column: 3 / span 5;
}

.jh-empty {
    padding-block: clamp(3rem, 8vw, 6rem);
    font-family: var(--wp--preset--font-family--display);
    font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem);
    color: var(--wp--preset--color--stone);
}

/* ---------------------------------------------------------------
   Single artwork
   --------------------------------------------------------------- */

.jh-artwork {
    padding-top: calc(var(--jh-header-h) + clamp(2rem, 5vw, 3.5rem));
}

.jh-artwork__head {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: clamp(1.5rem, 3vw, 3rem);
    align-items: end;
    padding-bottom: clamp(2rem, 4vw, 3.5rem);
}

.jh-artwork__title {
    grid-column: 1 / span 7;
    margin: 0;
    font-family: var(--wp--preset--font-family--display);
    font-size: clamp(2.75rem, 1.2rem + 5.4vw, 6rem);
    line-height: 0.92;
    letter-spacing: -0.02em;
}

.jh-artwork__facts {
    grid-column: 9 / span 4;
    display: grid;
    gap: 0.15rem;
    margin: 0;
    font-size: 0.6875rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--wp--preset--color--stone);
    line-height: 1.85;
}

.jh-artwork__stage {
    position: relative;
    background: var(--wp--preset--color--shell);
    padding: clamp(1rem, 4vw, 4.5rem);
    display: flex;
    justify-content: center;
}

.jh-artwork__stage img {
    display: block;
    max-width: 100%;
    height: auto;
    box-shadow: var(--wp--preset--shadow--canvas);
    cursor: zoom-in;
}

.jh-artwork__body {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: clamp(2rem, 4vw, 4rem);
    padding-block: clamp(3rem, 7vw, 6rem);
}

.jh-artwork__body-main {
    grid-column: 1 / span 6;
    display: flex;
    flex-direction: column;
    gap: clamp(1.5rem, 3vw, 2.5rem);
}

.jh-artwork__aside {
    grid-column: 8 / span 4;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding-top: 0.25rem;
}

.jh-price {
    font-family: var(--wp--preset--font-family--display);
    font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
    line-height: 1;
    margin: 0;
}

.jh-availability {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.625rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--wp--preset--color--stone);
}

.jh-availability::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4f7a4a;
}

.jh-availability--sold::before {
    background: var(--wp--preset--color--stone);
}

.jh-artwork__notes {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: color-mix(in srgb, var(--wp--preset--color--ink) 76%, transparent);
}

.jh-artwork__notes p:first-child {
    margin-top: 0;
}

.jh-artwork__gallery {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 2rem);
    padding-bottom: clamp(3rem, 7vw, 6rem);
}

.jh-artwork__gallery figure {
    margin: 0;
    overflow: hidden;
    background: var(--wp--preset--color--shell);
}

.jh-artwork__gallery img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1600ms var(--jh-ease);
    cursor: zoom-in;
}

.jh-artwork__gallery figure:hover img {
    transform: scale(1.02);
}

.jh-artwork__gallery figcaption {
    font-size: 0.625rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--wp--preset--color--stone);
    margin-top: 0.7rem;
}

.jh-artwork__gallery>* {
    grid-column: span 6;
}

.jh-artwork__gallery>*:nth-child(3n) {
    grid-column: 3 / span 8;
}

.jh-save {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: none;
    border: 0;
    border-bottom: 1px solid rgba(17, 17, 15, 0.25);
    padding: 0 0 0.45rem;
    font-size: 0.625rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: inherit;
    cursor: pointer;
    margin-top: 0.5rem;
}

.jh-save svg {
    width: 14px;
    height: 14px;
}

.jh-save.is-saved {
    border-bottom-color: var(--wp--preset--color--ink);
}

.jh-save.is-saved svg {
    fill: currentColor;
}

/* Lightbox */
.jh-lightbox {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(17, 17, 15, 0.96);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1rem, 4vw, 3rem);
    opacity: 0;
    visibility: hidden;
    transition: opacity 420ms var(--jh-ease), visibility 420ms;
}

.jh-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.jh-lightbox img {
    max-width: 100%;
    max-height: 88vh;
    width: auto;
    object-fit: contain;
}

.jh-lightbox__close {
    position: absolute;
    top: clamp(1rem, 3vw, 2rem);
    right: clamp(1rem, 3vw, 2rem);
    background: none;
    border: 1px solid rgba(243, 240, 232, 0.4);
    color: var(--wp--preset--color--shell);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
}

/* ---------------------------------------------------------------
   Search + saved overlays
   --------------------------------------------------------------- */

.jh-overlay {
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(243, 240, 232, 0.97);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(3rem, 12vh, 9rem) var(--jh-gutter) 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 420ms var(--jh-ease), visibility 420ms;
}

.jh-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.jh-overlay__inner {
    width: min(48rem, 100%);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.jh-overlay__title {
    margin: 0;
    font-family: var(--wp--preset--font-family--display);
    font-size: clamp(1.75rem, 1.3rem + 2vw, 2.75rem);
    line-height: 1.05;
}

.jh-search-form {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(17, 17, 15, 0.3);
    padding-bottom: 0.9rem;
}

.jh-search-form input[type="search"] {
    flex: 1;
    background: transparent;
    border: 0;
    font-family: var(--wp--preset--font-family--display);
    font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem);
    color: inherit;
    padding: 0;
}

.jh-search-form input[type="search"]:focus {
    outline: none;
}

.jh-search-form button {
    background: none;
    border: 0;
    font-size: 0.6875rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    cursor: pointer;
    color: inherit;
}

.jh-overlay__suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.6875rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--wp--preset--color--stone);
}

.jh-overlay__close {
    position: absolute;
    top: clamp(1rem, 3vw, 2rem);
    right: clamp(1rem, 3vw, 2rem);
    background: none;
    border: 1px solid rgba(17, 17, 15, 0.25);
    color: inherit;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
}

.jh-saved-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.jh-saved-list a {
    color: inherit;
    text-decoration: none;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    display: block;
}

.jh-saved-list img {
    width: 100%;
    height: auto;
    margin-bottom: 0.6rem;
}

.jh-saved-empty {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--wp--preset--color--stone);
    max-width: 40ch;
    line-height: 1.7;
}

/* ---------------------------------------------------------------
   Custom cursor
   --------------------------------------------------------------- */

.jh-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 76px;
    height: 76px;
    margin: -38px 0 0 -38px;
    border-radius: 50%;
    background: rgba(17, 17, 15, 0.88);
    color: var(--wp--preset--color--shell);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.5625rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    pointer-events: none;
    z-index: 95;
    opacity: 0;
    transform: scale(0.4);
    transition: opacity 260ms var(--jh-ease), transform 320ms var(--jh-ease);
    will-change: transform, opacity;
}

.jh-cursor.is-visible {
    opacity: 1;
}

.jh-cursor.is-active {
    transform: scale(1);
}

@media (hover: none),
(pointer: coarse) {
    .jh-cursor {
        display: none;
    }
}

/* ---------------------------------------------------------------
   Reveal animations
   --------------------------------------------------------------- */

html.js [data-reveal] {
    opacity: 0;
    transform: translate3d(0, var(--jh-reveal-y, 26px), 0);
    transition: opacity 900ms var(--jh-ease-out), transform 900ms var(--jh-ease-out);
    transition-delay: var(--jh-delay, 0ms);
}

html.js [data-reveal].is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

html.js [data-reveal="mask"] {
    clip-path: inset(0 0 100% 0);
    opacity: 1;
    transform: none;
    transition: clip-path 1100ms var(--jh-ease-out);
}

html.js [data-reveal="mask"].is-visible {
    clip-path: inset(0 0 0 0);
}

/* ---------------------------------------------------------------
   Entry content (journal, pages)
   --------------------------------------------------------------- */

.jh-prose {
    font-size: 1.0625rem;
    line-height: 1.75;
}

.jh-prose>p {
    max-width: 34rem;
}

.jh-prose>p:first-of-type {
    font-size: 1.1875rem;
    color: var(--wp--preset--color--ink);
}

.jh-prose h2 {
    margin-top: clamp(2.5rem, 5vw, 4rem);
}

.jh-prose blockquote {
    margin-block: clamp(2.5rem, 5vw, 4rem);
    padding-left: clamp(1rem, 3vw, 2.5rem);
    border-left: 1px solid var(--jh-rule);
    font-style: italic;
}

.jh-prose figure {
    margin-block: clamp(2rem, 4vw, 3.5rem);
}

/* ---------------------------------------------------------------
   Responsive
   --------------------------------------------------------------- */

@media (max-width: 1100px) {
    .jh-hero__copy {
        grid-column: 1 / span 5;
    }

    .jh-hero__art {
        grid-column: 6 / -1;
    }

    .jh-work-card--lead {
        grid-column: 1 / span 7;
    }

    .jh-work-card--tall {
        grid-column: 8 / span 5;
    }
}

@media (max-width: 960px) {
    :root {
        --jh-header-h: 72px;
    }

    .jh-nav {
        display: none;
    }

    .jh-mobile-toggle {
        display: inline-flex;
    }

    .jh-masthead__inner {
        grid-template-columns: 1fr auto;
    }

    .jh-actions {
        gap: 1rem;
    }

    .jh-hero__grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 1.75rem;
    }

    .jh-hero__copy {
        grid-column: 1 / -1;
    }

    .jh-hero__art {
        grid-column: 1 / -1;
    }

    .jh-hero {
        min-height: auto;
        padding-top: calc(var(--jh-header-h) + 2.5rem);
    }

    .jh-hero__scroll {
        display: none;
    }

    .jh-focus {
        height: auto;
    }

    .jh-focus__stage {
        position: relative;
        height: auto;
        padding: clamp(3rem, 8vw, 5rem) 0;
    }

    .jh-focus__figure {
        width: 92vw;
    }

    .jh-focus__veil {
        display: none;
    }

    .jh-focus__copy {
        position: relative;
        opacity: 1;
        transform: none;
        padding: 0 var(--jh-gutter) 0;
        margin-top: 1.75rem;
    }

    .jh-focus__index {
        position: relative;
        top: auto;
        left: auto;
        padding: 0 var(--jh-gutter);
        margin-bottom: 1rem;
    }

    .jh-works {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: clamp(2rem, 6vw, 3rem) 1.25rem;
    }

    .jh-work-card--lead,
    .jh-work-card--quiet {
        grid-column: 1 / -1;
        margin-top: 0;
    }

    .jh-work-card--tall,
    .jh-work-card--wide {
        grid-column: 1 / -1;
        margin-top: 0;
    }

    .jh-work-card--small {
        grid-column: 1 / span 4;
        margin-top: 0;
    }

    .jh-artist {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .jh-artist__media {
        grid-column: 1 / -1;
    }

    .jh-artist__copy {
        grid-column: 1 / -1;
    }

    .jh-process__grid {
        grid-template-columns: 1fr;
    }

    .jh-process__sticky {
        grid-column: 1 / -1;
    }

    .jh-process__stage {
        position: relative;
        top: auto;
    }

    .jh-process__steps {
        grid-column: 1 / -1;
        gap: 2.5rem;
    }

    .jh-step {
        opacity: 1;
    }

    .jh-commissions__inner {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        min-height: auto;
    }

    .jh-commissions__copy {
        grid-column: 1 / -1;
    }

    .jh-process-line {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem 1rem;
    }

    .jh-journal__grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .jh-entry {
        grid-column: 1 / -1;
        margin-top: 0;
    }

    .jh-entry__media {
        aspect-ratio: 3 / 2;
    }

    .jh-studio__grid {
        grid-template-columns: 1fr;
    }

    .jh-studio__copy,
    .jh-studio__strip {
        grid-column: 1 / -1;
    }

    .jh-studio__strip {
        grid-template-columns: 1fr 1fr;
    }

    .jh-studio__strip figure:nth-child(3) {
        display: none;
    }

    .jh-footer__top {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .jh-footer__wordmark {
        grid-column: 1 / -1;
    }

    .jh-footer__nav {
        grid-column: 1 / span 3;
    }

    .jh-footer__news {
        grid-column: 4 / span 3;
    }

    .jh-artwork__head {
        grid-template-columns: 1fr;
    }

    .jh-artwork__title,
    .jh-artwork__facts {
        grid-column: 1 / -1;
    }

    .jh-artwork__body {
        grid-template-columns: 1fr;
    }

    .jh-artwork__body-main,
    .jh-artwork__aside {
        grid-column: 1 / -1;
    }

    .jh-artwork__gallery {
        grid-template-columns: 1fr;
    }

    .jh-artwork__gallery>*,
    .jh-artwork__gallery>*:nth-child(3n) {
        grid-column: 1 / -1;
    }

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

    .jh-grid>* {
        grid-column: span 3;
    }

    .jh-grid>*:nth-child(7n) {
        grid-column: span 3;
    }

    .jh-saved-list {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .jh-display {
        font-size: clamp(2.75rem, 12vw, 3.75rem);
    }

    .jh-hero {
        padding-top: calc(var(--jh-header-h) + 1.5rem);
    }

    .jh-hero__grid {
        gap: 1.5rem;
    }

    .jh-hero__art {
        margin-inline: calc(var(--jh-gutter) * -0.45);
    }

    .jh-hero__caption {
        margin-inline: calc(var(--jh-gutter) * 0.45);
    }

    .jh-section-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .jh-work-card__meta {
        flex-direction: column;
        gap: 0.35rem;
        align-items: flex-start;
    }

    .jh-work-card--small {
        grid-column: 1 / -1;
    }

    .jh-form__grid {
        grid-template-columns: 1fr;
    }

    .jh-footer__nav {
        grid-column: 1 / -1;
        grid-template-columns: 1fr 1fr;
        display: grid;
    }

    .jh-footer__news {
        grid-column: 1 / -1;
    }

    .jh-process-line {
        grid-template-columns: 1fr 1fr;
    }

    .jh-saved-list {
        grid-template-columns: 1fr;
    }

    .jh-masthead__inner {
        gap: 0.75rem;
    }

    .jh-brand__name {
        font-size: 0.6875rem;
        letter-spacing: 0.3em;
    }

    .jh-actions .jh-search-button {
        display: none;
    }
}

/* ---------------------------------------------------------------
   Motion preferences
   --------------------------------------------------------------- */

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

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
        clip-path: none;
    }

    .jh-hero__copy,
    .jh-hero__art {
        opacity: 1;
        transform: none;
    }

    .jh-focus__copy {
        opacity: 1;
        transform: none;
    }
}

/* Print */
@media print {

    .jh-masthead,
    .jh-cursor,
    .jh-overlay,
    .jh-lightbox,
    .jh-hero__scroll {
        display: none !important;
    }
}