/* =========================================================
   GLOBAL
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background-color: #f5f3ef;
}

body {
    background-color: #f5f3ef;
    color: #4a4a46;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Helvetica Neue",
        Helvetica,
        Arial,
        sans-serif;

    overflow-x: hidden;
}

button {
    font: inherit;
}

:root {
    --content-width: min(84vw, 1380px);
    --standard-gap: 170px;
    --dot-distance: 18px;
}

/* =========================================================
   VIEWS
========================================================= */

.site-view {
    min-height: 100vh;
}

.site-view[hidden] {
    display: none;
}

main {
    opacity: 1;
}

/*
A fixed warm-white curtain hides all browser repositioning
during view changes. The viewer sees only a quiet fade,
never a scroll from the homepage top to the saved position.
*/

body::before {
    content: "";

    position: fixed;
    inset: 0;
    z-index: 90;

    background-color: #f5f3ef;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 320ms ease,
        visibility 0s linear 320ms;
}

body.is-switching::before {
    opacity: 1;
    visibility: visible;

    transition:
        opacity 320ms ease,
        visibility 0s;
}

/* =========================================================
   CURRENT HEADER
========================================================= */

.site-header {
    width: var(--content-width);
    margin: 28px auto 0;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-header h1 {
    font-size: 20px;
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: 0.01em;
}

.top-menu-button {
    width: 34px;
    height: 38px;

    border: 0;
    background: transparent;

    color: #4a4a46;

    font-size: 27px;
    font-weight: 300;

    opacity: 0.72;
    cursor: pointer;

    transition:
        opacity 300ms ease;
}

.top-menu-button:hover,
.top-menu-button:focus-visible,
.top-menu-button[aria-expanded="true"] {
    opacity: 0.96;
}

.menu-icon-glyph {
    display: inline-block;
    transition:
        opacity 180ms ease,
        transform 180ms ease;
}

.menu-icon-glyph.is-changing {
    opacity: 0;
    transform: rotate(20deg) scale(0.92);
}

/* =========================================================
   ARTWORK LAYOUT
========================================================= */

.artwork-section {
    width: var(--content-width);
    margin: 30px auto var(--standard-gap);

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

.artwork-section img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
}

/* Current works sizes */

.landscape img {
    max-height: 68vh;
}

.tall-portrait img {
    max-height: 108vh;
}

.square img {
    max-height: 88vh;
}

.large-portrait img {
    max-height: 90vh;
}

.odyssey-work {
    padding-top: 120px;
    margin-bottom: 170px;
}

/* Small additional scroll reveals Continue */

.current-final-work {
    margin-bottom: 46px;
}

/* Child views */

.child-view {
    padding-top: 0;
}

.child-view .artwork-section {
    margin-bottom: 285px;
}

.first-child-work {
    margin-top: 0;
}

.child-back-area {
    width: var(--content-width);
    height: 150px;
    margin: 0 auto 44px;

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

.child-back-button {
    border: 0;
    background: transparent;
    color: #4a4a46;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;

    cursor: pointer;
}

#archive-view .child-back-button,
#sketching-view .child-back-button {
    width: 44px;
    height: 52px;

    justify-content: center;
    gap: 0;
}

.child-back-label {
    font-size: 15px;
    font-weight: 300;
    opacity: 0.46;

    transition: opacity 300ms ease;
}

.child-back-arrow {
    display: block;

    font-family:
        "Helvetica Neue",
        Helvetica,
        Arial,
        sans-serif;

    font-size: 27px;
    font-weight: 200;
    line-height: 1;
    opacity: 0.32;

    transform: rotate(-90deg);

    transition:
        opacity 300ms ease,
        transform 300ms ease;
}

.child-back-button:hover .child-back-label,
.child-back-button:focus-visible .child-back-label {
    opacity: 0.82;
}

.child-back-button:hover .child-back-arrow,
.child-back-button:focus-visible .child-back-arrow {
    opacity: 0.62;
    transform: rotate(-90deg) translateX(2px);
}

.archive-intro {
    width: var(--content-width);
    margin: 0 auto 110px;

    text-align: center;
}

.archive-intro h2 {
    font-size: 18px;
    font-weight: 300;
}

.archive-intro p {
    margin-top: 10px;

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

    opacity: 0.46;
}

.archive-period-heading {
    width: var(--content-width);
    margin: -80px auto 80px;

    font-size: 14px;
    font-weight: 300;
    text-align: center;

    opacity: 0.48;
}

.archive-period-first {
    margin-top: 95px;
}

.earlier-large img {
    max-height: 88vh;
}

.earlier-medium img {
    max-height: 84vh;
}

.eden-work {
    width: var(--content-width);
}

.eden-work img {
    max-height: 95vh;
    max-width: 100%;
}

/*
These three are physically smaller works, so they receive
a quieter visual scale within the Practice sequence.
*/

.flowers-work img {
    max-height: 60vh;
}

.offering-work img,
.river-flow-work img {
    max-height: 58vh;
}

.earlier-scale-xs img {
    max-height: 68vh;
}

.earlier-scale-s img {
    max-height: 72vh;
}

.earlier-scale-sm img {
    max-height: 76vh;
}

.earlier-scale-river img {
    max-height: 68vh;
}

.entwine-work img {
    max-height: 82vh;
}

.sweater-work img {
    max-height: 72vh;
}

.green-sweater-work img {
    max-height: 68vh;
}

.rainbow-work img {
    max-height: 78vh;
}

.sketch-work img {
    max-height: 88vh;
}

.single-stage {
    line-height: 0;
}

/* =========================================================
   ARTWORK GALLERIES
========================================================= */

.artwork-gallery {
    display: flex;
    flex-direction: column;
    align-items: center;

    max-width: 100%;

    outline: none;
    touch-action: pan-y;
}

.gallery-stage {
    position: relative;
    display: inline-block;

    max-width: 100%;
    line-height: 0;
}

.gallery-stage .gallery-base {
    position: relative;
}

.gallery-stage .gallery-image:not(.gallery-base) {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: contain;
}

.gallery-image {
    opacity: 0;

    transition:
        opacity 850ms cubic-bezier(0.22, 1, 0.36, 1);

    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

.gallery-image.is-active {
    opacity: 1;
}

/* =========================================================
   GALLERY NAVIGATION
========================================================= */

.gallery-nav {
    position: absolute;
    top: 0;
    bottom: 0;

    width: 40%;
    padding: 0;

    border: 0;
    background: transparent;

    color: #4a4a46;
    cursor: default;
}

.gallery-nav-previous {
    left: 0;
}

.gallery-nav-next {
    right: 0;
}

.gallery-nav span {
    position: absolute;
    top: 50%;

    display: block;

    font-family:
        "Helvetica Neue",
        Helvetica,
        Arial,
        sans-serif;

    font-size: 28px;
    font-weight: 200;
    line-height: 1;

    color: #4a4a46;
    opacity: 0;

    transform: translateY(-50%);

    pointer-events: none;

    transition:
        opacity 350ms ease;
}

.gallery-nav-previous span {
    right: calc(100% + 54px);
}

.gallery-nav-next span {
    left: calc(100% + 54px);
}

.gallery-nav-previous:hover span,
.gallery-nav-previous:focus-visible span,
.gallery-nav-next:hover span,
.gallery-nav-next:focus-visible span {
    opacity: 0.45;
}

.gallery-nav:disabled {
    visibility: hidden;
    pointer-events: none;
}

/* =========================================================
   GALLERY DOTS
========================================================= */

.gallery-dots {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 9px;
    margin-top: var(--dot-distance);

    line-height: 1;
    opacity: 0;

    transition:
        opacity 500ms ease 500ms;
}

.artwork-gallery:hover .gallery-dots,
.artwork-gallery:focus-within .gallery-dots,
.artwork-gallery.is-engaged .gallery-dots {
    opacity: 1;
}

.gallery-dot {
    width: 4px;
    height: 4px;
    padding: 0;

    border: 0;
    border-radius: 50%;

    background-color: #4a4a46;
    opacity: 0.24;

    cursor: pointer;

    transition:
        opacity 500ms ease,
        transform 500ms ease;
}

.gallery-dot.is-active {
    opacity: 0.82;
    transform: scale(1.08);
}

.artwork-information-prototype {
    display: none;
}

/* =========================================================
   CONTINUE
========================================================= */

.continue-area {
    width: var(--content-width);
    height: 190px;
    margin: 0 auto;

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

    padding-top: 16px;
}

.continue-button {
    border: 0;
    background: transparent;

    color: #4a4a46;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;

    cursor: pointer;
}

.continue-label {
    font-size: 17px;
    font-weight: 300;

    opacity: 0.5;

    transition:
        opacity 300ms ease;
}

.continue-arrow {
    display: block;

    font-family:
        "Helvetica Neue",
        Helvetica,
        Arial,
        sans-serif;

    font-size: 27px;
    font-weight: 200;
    line-height: 1;

    opacity: 0.32;

    transform:
        rotate(90deg);

    transition:
        opacity 300ms ease,
        transform 300ms ease;
}

.continue-button:hover .continue-label,
.continue-button:focus-visible .continue-label {
    opacity: 0.84;
}

.continue-button:hover .continue-arrow,
.continue-button:focus-visible .continue-arrow {
    opacity: 0.62;

    transform:
        rotate(90deg)
        translateX(2px);
}

/* =========================================================
   ALBUM CHOICES
========================================================= */

.album-choices {
    width: min(64vw, 900px);
    margin: 0 auto 190px;

    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap:
        clamp(28px, 4vw, 64px);

    max-height: 0;
    overflow: hidden;

    opacity: 0;
    visibility: hidden;

    transform:
        translateY(18px);

    transition:
        max-height 900ms ease,
        opacity 760ms ease,
        transform 760ms cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0s linear 900ms;
}

.album-choices.is-visible {
    max-height: 760px;

    opacity: 1;
    visibility: visible;

    transform:
        translateY(0);

    transition:
        max-height 900ms ease,
        opacity 760ms ease 110ms,
        transform 760ms cubic-bezier(0.22, 1, 0.36, 1) 110ms,
        visibility 0s;
}

.album-card {
    width: 100%;

    border: 0;
    background: transparent;

    color: #4a4a46;

    text-align: center;
    cursor: pointer;
}

.album-image {
    width: 100%;
    height: min(42vh, 28vw, 360px);

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

    line-height: 0;
}

.album-image img {
    width: auto;
    height: 100%;
    max-width: 100%;
    max-height: 100%;

    object-fit: contain;

    opacity: 0.93;

    transition:
        opacity 500ms ease,
        transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}

.album-title {
    display: block;
    margin-top: 22px;

    font-size: 16px;
    font-weight: 300;

    opacity: 0.56;

    transition:
        opacity 300ms ease;
}

.album-card:hover img,
.album-card:focus-visible img {
    opacity: 1;

    transform:
        scale(1.01);
}

.album-card:hover .album-title,
.album-card:focus-visible .album-title {
    opacity: 0.88;
}

.on-paper-hidden .album-card[data-open-view="sketching"],
.on-paper-hidden .sketching-menu-item {
    display: none;
}

@media (min-width: 701px) {

    .gallery-dots {
        gap: 0;
    }

    .gallery-dot {
        position: relative;

        width: 18px;
        height: 18px;
        margin-block: -7px;

        border-radius: 0;
        background: transparent;
        opacity: 1;
        transform: none;

        transition: none;
    }

    .gallery-dot::before {
        content: "";

        position: absolute;
        top: 50%;
        left: 50%;

        width: 3px;
        height: 3px;

        border-radius: 50%;
        background-color: #4a4a46;
        opacity: 0.25;

        transform: translate(-50%, -50%);
        transition: opacity 500ms ease;
    }

    .gallery-dot.is-active {
        opacity: 1;
        transform: none;
    }

    .gallery-dot.is-active::before {
        width: 4px;
        height: 4px;
        opacity: 0.56;
    }

    #archive-view .artwork-section {
        flex-direction: column;
    }

    #archive-view .artwork-information-prototype {
        margin-bottom: -115px;
    }

    .gallery-base[src$="phantom-limb-main-2000.jpg"],
    .gallery-base[src$="whispers-from-the-water-main-2000.jpg"] {
        transform: scale(0.833333);
    }

    .gallery-base[src$="phantom-limb-main-2000.jpg"] {
        transform: scale(0.703782);
    }

    .gallery-base[src$="whispers-from-the-water-main-2000.jpg"] {
        transform: scale(0.710552);
    }

    .artwork-section[data-view-label="Phantom Limb"]
    .gallery-image:not(.gallery-base) {
        inset: auto;
        bottom: 14.8109%;
        left: 50%;

        width: auto;
        height: min(788px, 81.0704%);

        transform: translateX(-50%);
    }

    .artwork-section[data-view-label="Phantom Limb"] .gallery-dots {
        margin-top: -102.96px;
    }

    .artwork-section[data-view-label="Phantom Limb"] {
        margin-bottom: 198.9608px;
    }

    .artwork-section[data-view-label="Flicker of Forgotten Time"] {
        margin-bottom: 55px;
    }

    .artwork-information-prototype {
        width: 360px;
        max-width: 100%;
        min-height: 81px;
        margin-top: 34px;
        margin-inline: auto;

        display: flex;
        flex-direction: column;
        align-self: center;

        color: #68635d;
        font-size: 13px;
        font-weight: 300;
        line-height: 1;
        text-align: center;

        opacity: 0.1;
        transform: translateY(3px);

        transition:
            opacity 400ms cubic-bezier(0.16, 1, 0.3, 1),
            transform 400ms cubic-bezier(0.16, 1, 0.3, 1);
    }

    .artwork-information-title {
        font-weight: 400;
        opacity: 0.9;
    }

    .artwork-information-year {
        margin-top: 6px;

        text-align: center;
        opacity: 0.48;
    }

    .artwork-information-medium {
        margin-top: 16px;
        opacity: 0.8;
    }

    .artwork-information-dimensions {
        margin-top: 6px;
        opacity: 0.8;
    }

    .artwork-section.is-info-active .artwork-information-prototype {
        opacity: 0.9;
        transform: none;

        transition-duration: 1500ms;
    }

    .artwork-section[data-view-label="We Are Finally Together Again"]
    .artwork-information-prototype,
    .artwork-section[data-view-label="Odyssey Path"]
    .artwork-information-prototype,
    .artwork-section[data-view-label="Whispers from the Water"]
    .artwork-information-prototype {
        margin-bottom: -115px;
    }

    .artwork-section[data-view-label="Whispers from the Water"]
    .gallery-image:not(.gallery-base) {
        inset: auto;
        bottom: 14.4724%;
        left: 50%;

        width: auto;
        height: min(791.32px, 81.4123%);

        transform: translateX(-50%);
    }

    .artwork-section[data-view-label="Whispers from the Water"] .gallery-dots {
        margin-top: -99.67px;
    }

    .current-view:not(.is-album-root) .continue-area {
        position: relative;
    }

    .current-view:not(.is-album-root) .album-choices {
        margin-bottom: 76.34px;
    }

    .current-view:not(.is-album-root) .continue-button {
        position: absolute;
        top: 134.66px;
        right: 0;
        bottom: -76.34px;
        left: 0;

        width: 100%;
    }

    #archive-view .child-back-button {
        width: 100%;
        height: 100%;
    }

    .current-view:not(.is-album-root) .continue-arrow,
    #archive-view .child-back-arrow {
        width: 18px;
        height: 18px;

        font-size: 0;
        opacity: 0.38;

        transform: none;
    }

    .current-view:not(.is-album-root) .continue-arrow::before,
    #archive-view .child-back-arrow::before {
        content: "";

        width: 18px;
        height: 18px;

        display: block;

        border-right: 1px solid currentColor;
        border-bottom: 1px solid currentColor;
    }

    .current-view:not(.is-album-root) .continue-arrow::before {
        transform: rotate(45deg);
    }

    #archive-view .child-back-arrow::before {
        transform: rotate(-135deg);
    }

    .current-view:not(.is-album-root)
    .continue-button:hover .continue-arrow,
    .current-view:not(.is-album-root)
    .continue-button:focus-visible .continue-arrow,
    #archive-view .child-back-button:hover .child-back-arrow,
    #archive-view .child-back-button:focus-visible .child-back-arrow {
        opacity: 0.62;
        transform: none;
    }

    #archive-view .child-back-area {
        transform: translateY(-35px);
    }

    #archive-2015-2019,
    #archive-2011-2014 {
        margin-top: 0;
        padding-top: 15px;
    }

    #archive-2020-2024,
    #archive-2015-2019 {
        margin-bottom: 155px;
    }

    .on-paper-hidden .album-choices {
        grid-template-columns:
            minmax(
                0,
                calc(
                    (100% - clamp(28px, 4vw, 64px)) / 2
                )
            );

        justify-content: center;
    }

    .album-card[data-open-view="sketching"] .album-image img {
        height: 98%;
    }

}

/* =========================================================
   INFO VIEW
========================================================= */

.info-view {
    min-height: 100vh;
}

.info-inner {
    width: min(620px, var(--content-width));
    margin: 0 auto 180px;
    padding-bottom: 80px;
}

.info-heading {
    margin: 0 0 92px;

    color: #68635d;
    font-size: 20px;
    font-weight: 300;
    line-height: 1.2;
}

.info-bio {
    color: #68635d;
    font-size: 17px;
    font-weight: 300;
    line-height: 1.62;
}

.info-bio p {
    margin: 0 0 26px;
}

.info-bio p:last-child {
    margin-bottom: 0;
}

.info-photo {
    display: block;
    width: min(410px, 100%);
    height: auto;
    margin-top: 86px;
    margin-inline: auto;
}

.info-contact {
    width: min(410px, 100%);
    margin: 78px auto 0;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;

    color: #68635d;
    font-size: 15px;
    font-weight: 300;
}

.info-contact a {
    color: inherit;
    text-decoration: none;
    transition: opacity 300ms ease;
}

.info-contact a:hover,
.info-contact a:focus-visible {
    opacity: 0.58;
}

.info-instagram-icon {
    display: none;
}

.info-instagram-icon svg {
    display: block;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.35;
}

.info-instagram-icon .info-instagram-dot {
    fill: currentColor;
    stroke: none;
}

.cv-inner {
    width: min(760px, var(--content-width));
    margin: 0 auto 180px;
    padding-bottom: 80px;
}

.cv-content {
    color: #68635d;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.52;
}

.cv-name {
    margin: 0 0 76px;
    font-size: 15px;
    letter-spacing: 0.08em;
}

.cv-section {
    margin: 0 0 58px;
}

.cv-section h3 {
    margin: 0 0 22px;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.13em;
    line-height: 1.3;
    opacity: 0.76;
}

.cv-item {
    margin: 0 0 24px;
}

.cv-item:last-child {
    margin-bottom: 0;
}

.cv-year {
    margin-bottom: 3px;
    opacity: 0.72;
}

.cv-entry {
    max-width: 100%;
}

.cv-collections {
    max-width: 620px;
}

/* =========================================================
   COMPANION CONTROLS
========================================================= */

.companion-controls {
    position: fixed;
    right: 24px;
    bottom: 20px;
    z-index: 70;

    display: flex;
    align-items: center;
    gap: 12px;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 300ms ease,
        visibility 0s linear 300ms;
}

.companion-controls.is-visible {
    opacity: 0.72;
    visibility: visible;
    pointer-events: auto;

    transition:
        opacity 300ms ease,
        visibility 0s;
}

.companion-controls:hover,
.companion-controls:focus-within {
    opacity: 0.96;
}

.companion-controls button {
    width: 42px;
    height: 46px;

    border: 0;
    background: transparent;

    color: #4a4a46;
    cursor: pointer;
}

.home-button {
    font-size: 23px;
    font-weight: 300;
}

.companion-menu-button {
    font-size: 27px;
    font-weight: 300;
}

/* =========================================================
   MENU OVERLAY
========================================================= */

.menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 110;

    background-color:
        rgba(245, 243, 239, 0.94);

    backdrop-filter:
        blur(3px);

    -webkit-backdrop-filter:
        blur(3px);

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

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 420ms ease,
        visibility 0s linear 420ms;
}

.menu-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transition:
        opacity 420ms ease,
        visibility 0s;
}

.menu-close-button {
    position: absolute;
    top: 23px;
    right: 27px;

    width: 34px;
    height: 34px;

    border: 0;
    background: transparent;

    color: #4a4a46;

    font-size: 24px;
    font-weight: 200;

    opacity: 0.32;
    cursor: pointer;

    transition:
        opacity 300ms ease;
}

.menu-close-button:hover,
.menu-close-button:focus-visible {
    opacity: 0.82;
}

.menu-links {
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 24px;
}

.menu-links button {
    border: 0;
    background: transparent;

    color: #4a4a46;

    font-size: 17px;
    font-weight: 300;

    opacity: 0.55;
    cursor: pointer;

    transition:
        opacity 300ms ease;
}

.menu-links button:hover,
.menu-links button:focus-visible {
    opacity: 0.95;
}

.resume-menu-item {
    margin-bottom: 15px;

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

    gap: 7px;
}

.resume-location {
    font-size: 12px;
    opacity: 0.58;
}

.archive-date-menu {
    display: none;
}

.practice-period-menu {
    display: none;
}

@media (min-width: 701px) {

    .practice-menu-group {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .practice-period-menu {
        margin-top: 5px;
        margin-left: 12px;

        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;

        transform: translateX(-6px);
    }

    .practice-period-menu a {
        color: #4a4a46;

        font-size: 12px;
        font-weight: 300;
        line-height: 1.3;
        text-decoration: none;

        opacity: 0.4;

        transition: opacity 300ms ease;
    }

    .practice-period-menu a:hover,
    .practice-period-menu a:focus-visible {
        opacity: 0.78;
    }

    #archive-view .archive-period-heading {
        scroll-margin-top: 72px;
    }

}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .practice-menu-group {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .practice-period-menu {
        margin-top: 6px;
        margin-left: 10px;

        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;

        transform: translateX(-5px);
    }

    .practice-period-menu a {
        color: #4a4a46;
        font-size: 12px;
        font-weight: 300;
        line-height: 1.3;
        text-decoration: none;
        opacity: 0.4;
        transition: opacity 300ms ease;
    }

    .practice-period-menu a:hover,
    .practice-period-menu a:focus-visible {
        opacity: 0.78;
    }

    :root {
        --content-width: 88vw;
        --standard-gap: 110px;
        --dot-distance: 16px;
    }

    .site-header {
        margin-top: 22px;
    }

    .site-header h1 {
        font-size: 18px;
    }

    .top-menu-button {
        display: none;
    }

    .artwork-section {
        margin-top: 34px;
    }

    .current-view > .artwork-section:first-of-type {
        margin-top: 160px;
        margin-bottom: 90px;
    }

    .landscape img,
    .tall-portrait img,
    .square img,
    .large-portrait img,
    .earlier-large img,
    .earlier-medium img,
    .eden-work img,
    .sketch-work img {
        width: 100%;
        max-width: 100%;
        max-height: none;
    }

    .eden-work {
        width: var(--content-width);
    }

    .flowers-work,
    .eden-work,
    .offering-work,
    [data-view-label="Heaven"],
    .river-flow-work {
        width: calc(var(--content-width) - 56px);
    }

    .earlier-scale-xs .single-stage {
        width: 100%;
    }

    .earlier-scale-s .single-stage {
        width: 100%;
    }

    .earlier-scale-sm .single-stage {
        width: 100%;
    }

    .odyssey-work {
        padding-top: 55px;
        margin-bottom: 110px;
    }

    .current-final-work {
        margin-bottom: 34px;
    }

    .artwork-section[data-view-label="Phantom Limb"] .gallery-stage {
        width: var(--content-width);
        aspect-ratio: 1083 / 1347;
    }

    .artwork-section[data-view-label="Whispers from the Water"] .gallery-stage {
        width: var(--content-width);
        aspect-ratio: 1087 / 1365;
    }

    .artwork-section[data-view-label="Phantom Limb"]
    .gallery-base[src$="phantom-limb-main-2000.jpg"],
    .artwork-section[data-view-label="Whispers from the Water"]
    .gallery-base[src$="whispers-from-the-water-main-2000.jpg"] {
        position: absolute;
        top: 50%;
        left: 50%;

        width: min(258.3px, 100%);
        height: auto;

        transform: translate(-50%, -50%);
    }

    .child-view {
        padding-top: 0;
    }

    .child-view .artwork-section {
        margin-bottom: 138px;
    }

    .child-back-area {
        height: 118px;
        margin-bottom: 16px;
    }

    .archive-intro {
        margin-bottom: 48px;
    }

    .archive-period-heading {
        margin-top: -20px;
        margin-bottom: 32px;

        scroll-margin-top:
            calc(max(14px, env(safe-area-inset-top)) + 104px);
    }

    .archive-period-first {
        margin-top: 0;
    }

    #archive-view .first-child-work {
        margin-top: 0;
    }

    .gallery-nav {
        width: 42%;
    }

    .gallery-nav span {
        display: none;
    }

    .gallery-dots {
        opacity: 0.48;

        transition-delay: 0ms;
    }

    .continue-area {
        height: 100px;

        padding-top: 42px;
    }

    .current-view:not(.is-album-root) .continue-button {
        width: 100%;
        height: 100px;
    }

    .continue-label {
        font-size: 16px;
    }

    .continue-arrow {
        font-size: 25px;
    }

    .album-choices {
        grid-template-columns: 1fr;
        gap: 80px;

        margin-bottom: 135px;
    }

    .album-choices.is-visible {
        max-height: 1250px;
    }

    .album-image img {
        width: 78vw;
        height: auto;
        max-height: 56vh;

        margin: 0 auto;
    }

    .companion-controls {
        top: max(14px, env(safe-area-inset-top));
        right: max(2px, env(safe-area-inset-right));
        bottom: auto;

        flex-direction: column;
        gap: 0;

        opacity: 0.72;
        visibility: visible;
        pointer-events: auto;
    }

    .companion-menu-button {
        order: 1;
    }

    .companion-controls .home-button {
        order: 2;

        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        transform: translateY(-4px);

        transition:
            opacity 300ms ease,
            transform 300ms ease,
            visibility 0s linear 300ms;
    }

    .companion-controls.is-home-visible .home-button {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;

        transform: translateY(0);

        transition:
            opacity 300ms ease,
            transform 300ms ease,
            visibility 0s;
    }

    .menu-overlay {
        background-color:
            rgba(245, 243, 239, 0.92);

        backdrop-filter:
            blur(2.5px);

        -webkit-backdrop-filter:
            blur(2.5px);
    }

    .archive-date-menu.is-visible {
        margin-bottom: 18px;

        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    body::before,
    .gallery-image,
    .gallery-nav span,
    .gallery-dots,
    .gallery-dot,
    .artwork-information-prototype,
    .continue-label,
    .continue-arrow,
    .album-choices,
    .album-image img,
    .album-title,
    .companion-controls,
    .menu-overlay,
    .menu-icon-glyph {
        transition-duration: 1ms;
        transition-delay: 0ms;
    }

    .artwork-information-prototype {
        transform: none;
    }

}


/* =========================================================
   ALBUM ROOT MODE
========================================================= */

/*
The continuation arrow enters a separate room. Current Works is removed
from the document flow, so it cannot be revealed by scrolling.
*/

.current-view.is-album-root .site-header,
.current-view.is-album-root .artwork-section {
    display: none;
}

.current-view.is-album-root {
    min-height: 100vh;
}

.current-view.is-album-root .continue-area {
    height: 170px;
    padding-top: 32px;
}

.current-view.is-album-root .continue-button {
    flex-direction: column;
    gap: 7px;
}

.current-view.is-album-root .continue-arrow {
    order: -1;
    transform: rotate(-90deg);
}

.current-view.is-album-root .continue-button:hover .continue-arrow,
.current-view.is-album-root .continue-button:focus-visible .continue-arrow {
    transform:
        rotate(-90deg)
        translateX(2px);
}

.current-view.is-album-root .continue-label {
    font-size: 14px;
    opacity: 0.42;
}

.current-view.is-album-root .album-choices {
    margin-top: 0;
}

@media (max-width: 700px) {

    .child-view .artwork-section {
        margin-bottom: 160px;
    }

    #archive-view .child-back-area {
        height: 52px;
        margin-bottom: 0;

        justify-content: center;
    }

    #archive-view .child-back-button {
        width: 44px;
        height: 52px;

        justify-content: center;
        gap: 0;
    }

    #archive-view .child-back-label {
        display: none;
    }

    #archive-view .archive-intro {
        margin-bottom: 42px;

        text-align: left;
    }

    #archive-view .archive-period-heading {
        margin-bottom: 64px;

        text-align: left;
    }

    #archive-view .artwork-section {
        margin-bottom: 230px;
    }

    #archive-view > .artwork-section:not(:last-of-type) {
        margin-block-end: clamp(340px, 44svh, 380px);
    }

    .artwork-information-prototype {
        width: min(360px, 100%);
        min-height: 90px;
        margin-top: 34px;
        margin-bottom: -124px;
        margin-inline: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        color: #68635d;
        font-size: 13px;
        font-weight: 300;
        line-height: 1;
        text-align: center;
        opacity: 0.1;
        transform: translateY(3px);
        transition:
            opacity 1400ms cubic-bezier(0.16, 1, 0.3, 1),
            transform 1400ms cubic-bezier(0.16, 1, 0.3, 1);
    }

    #archive-view .artwork-section {
        flex-direction: column;
    }

    #archive-view .artwork-information-prototype {
        width: 100%;
        max-width: var(--content-width);
    }

    .artwork-information-title {
        font-size: 15px;
        font-weight: 400;
        opacity: 0.9;
    }

    .artwork-information-year {
        margin-top: 5px;
        font-size: 13px;
        opacity: 0.48;
    }

    .artwork-information-medium {
        margin-top: 14px;
        font-size: 13px;
        opacity: 0.8;
    }

    .artwork-information-dimensions {
        margin-top: 5px;
        font-size: 13px;
        opacity: 0.8;
    }

    .artwork-section.is-info-active .artwork-information-prototype {
        opacity: 0.9;
        transform: none;
        transition-duration: 1650ms;
        transition-timing-function: cubic-bezier(0.22, 0.8, 0.36, 1);
    }

    .current-view:not(.is-album-root) .continue-area {
        height: 230px;

        padding-top: 86px;
    }

    .current-view:not(.is-album-root) .continue-button {
        width: 44px;
        height: 44px;

        justify-content: center;
    }

    .current-view:not(.is-album-root) .continue-arrow {
        width: 20px;
        height: 20px;

        font-size: 0;
        opacity: 0.46;

        transform: none;
    }

    .current-view:not(.is-album-root) .continue-arrow::before {
        content: "";

        width: 16px;
        height: 16px;

        display: block;

        border-right: 1px solid currentColor;
        border-bottom: 1px solid currentColor;

        transform: rotate(45deg);
    }

    .current-view:not(.is-album-root)
    .continue-button:hover .continue-arrow,
    .current-view:not(.is-album-root)
    .continue-button:focus-visible .continue-arrow {
        opacity: 0.62;
        transform: none;
    }

    .eden-work,
    .flicker-work,
    .odyssey-work {
        width: 338px;
    }

    .eden-work .gallery-stage,
    .flicker-work .gallery-stage,
    .odyssey-work .gallery-stage {
        max-width: none;
    }

    .eden-work .gallery-base[src$="eden-main-3000.jpg"],
    .flicker-work .gallery-base[src$="flicker-of-forgotten-time-main-2000.jpg"],
    .odyssey-work .gallery-base[src$="odyssey-path-main-2000.jpg"] {
        width: 300px;
        min-width: 300px;
        max-width: 300px;

        margin-inline: auto;
    }

    .eden-work .gallery-base[src$="eden-main-3000.jpg"] {
        width: 318px;
        min-width: 318px;
        max-width: 318px;
    }

    .eden-work .gallery-image:not(.gallery-base),
    .flicker-work .gallery-image:not(.gallery-base),
    .odyssey-work .gallery-image:not(.gallery-base) {
        inset: auto;
        top: 50%;
        left: 50%;

        transform: translate(-50%, -50%);
    }

    .eden-work .gallery-image:not(.gallery-base) {
        top: auto;
        bottom: 0;

        width: calc(100vw - 92px);
        height: calc(56vw - 51.52px);
        max-width: none;

        transform: translateX(-50%);
    }

    .eden-work .gallery-image[src$="eden-detail-01-2000.jpg"],
    .eden-work .gallery-image[src$="eden-detail-03-2500.jpg"],
    .eden-work .gallery-image[src$="eden-detail-04-2500.jpg"],
    .eden-work .gallery-image[src$="eden-detail-05-2500.jpg"],
    .eden-work .gallery-image[src$="eden-detail-06-2500.jpg"] {
        width: auto;
        height: 101.44092219vw;
        max-width: none;
        max-height: none;
    }

    .eden-work .gallery-image[src$="eden-detail-02-2000.jpg"] {
        width: 318px;
        height: auto;
        max-width: none;
        max-height: none;
    }

    .flicker-work .gallery-image:not(.gallery-base) {
        width: calc(100vw - 96px);
        height: calc(93.58914366vw - 89.84557791px);
    }

    .flicker-work .gallery-image[src$="flicker-of-forgotten-time-side-detail-2000.jpg"],
    .flicker-work .gallery-image[src$="flicker-of-forgotten-time-detail-2000.jpg"] {
        top: auto;
        bottom: 0;

        width: auto;
        height: 380.46875px;
        max-width: none;
        max-height: none;

        transform: translateX(-50%);
    }

    .odyssey-work .gallery-image:not(.gallery-base) {
        width: calc(100vw - 96px);
        height: calc(126.8230818vw - 121.75015853px);
    }

    .odyssey-work .gallery-image[src$="odyssey-path-side-detail-2000.jpg"],
    .odyssey-work .gallery-image[src$="odyssey-path-detail-2000.jpg"],
    .odyssey-work .gallery-image[src$="odyssey-path-detail-02-2000.jpg"] {
        top: auto;
        bottom: 0;

        width: auto;
        height: 120.38060897vw;
        max-width: none;
        max-height: none;

        transform: translateX(-50%);
    }

    .artwork-section[data-view-label="We Are Finally Together Again"]
        .gallery-image[src$="we-are-finally-together-again-side-2000.jpg"] {
        top: auto;
        bottom: 0;
        left: 50%;

        width: auto;
        height: 120.38060897vw;
        max-width: none;
        max-height: none;

        transform: translateX(-50%);
    }

    .artwork-section[data-view-label="Phantom Limb"] {
        --mobile-gallery-stage-height: 374.05px;

        margin-bottom: calc(var(--standard-gap) + 46.8px);
    }

    .artwork-section[data-view-label="Whispers from the Water"] {
        --mobile-gallery-stage-height: 377.65px;

        margin-bottom: 81.31px;
    }

    .artwork-section[data-view-label="Phantom Limb"] .gallery-stage,
    .artwork-section[data-view-label="Whispers from the Water"] .gallery-stage {
        height: var(--mobile-gallery-stage-height);
        aspect-ratio: auto;
    }

    .artwork-section[data-view-label="Phantom Limb"]
        .gallery-base[src$="phantom-limb-main-2000.jpg"],
    .artwork-section[data-view-label="Whispers from the Water"]
        .gallery-base[src$="whispers-from-the-water-main-2000.jpg"] {
        top: auto;
        bottom: 0;

        transform: translateX(-50%);
    }

    .artwork-section[data-view-label="Phantom Limb"]
        .gallery-image:not(.gallery-base),
    .artwork-section[data-view-label="Whispers from the Water"]
        .gallery-image:not(.gallery-base) {
        inset: auto;
        bottom: 0;
        left: 50%;

        width: auto;
        height: 100%;
        max-width: 100%;
        max-height: 100%;

        transform: translateX(-50%);
    }

    .artwork-section[data-view-label="Phantom Limb"] .gallery-dots,
    .artwork-section[data-view-label="Whispers from the Water"] .gallery-dots {
        margin-top: 22px;
    }

    .current-view:not(.is-album-root)
        > .artwork-section:not(.current-final-work) {
        margin-block-end: clamp(300px, 38svh, 340px);
    }

    .current-view:not(.is-album-root)
        > .artwork-section[data-view-label="We Are Finally Together Again"] {
        margin-block-end:
            clamp(300px, calc(603.55px - 68.55vw), 350px);
    }

    .current-view:not(.is-album-root)
        > .artwork-section[data-view-label="Odyssey Path"] {
        margin-block-end: clamp(200px, 26.4svh, 240px);
    }

    .companion-controls .home-button span {
        position: relative;
        top: -4px;
    }

    .current-works-menu-item {
        margin-bottom: 8px;
    }

    .current-view.is-album-root .album-choices {
        width: min(50vw, 195px);
        grid-template-columns: 1fr;
        gap: 42px;

        margin-bottom: 60px;
    }

    .current-view.is-album-root .album-image img {
        width: 100%;
        height: auto;
        max-width: 100%;
        max-height: none;

        margin: 0 auto;
    }

    .current-view.is-album-root
    .album-card[data-open-view="sketching"]
    .album-image img {
        width: 96%;
    }

    .current-view.is-album-root .album-image {
        width: 100%;
        height: auto;
    }

    .current-view.is-album-root .album-title {
        margin-top: 9px;

        font-size: 14px;
    }

    .current-view.is-album-root .continue-area {
        height: 104px;
    }

    .current-view.is-album-root .continue-label {
        display: none;
    }

    .current-view.is-album-root .continue-arrow {
        width: 20px;
        height: 20px;

        font-size: 0;
        opacity: 0.46;

        transform: none;
    }

    .current-view.is-album-root .continue-arrow::before {
        content: "";

        width: 16px;
        height: 16px;

        display: block;

        border-right: 1px solid currentColor;
        border-bottom: 1px solid currentColor;

        transform: rotate(-135deg);
    }

    .current-view.is-album-root .continue-button:hover .continue-arrow,
    .current-view.is-album-root .continue-button:focus-visible .continue-arrow {
        transform: none;
    }

}

@media (max-width: 700px) {
    .current-view:not(.is-album-root) .continue-area {
        width: 100%;
        height: 150px;
        padding-top: 25px;
        margin-inline: 0;
        box-sizing: border-box;
    }

    .current-view:not(.is-album-root) .continue-button {
        width: 100%;
        height: 125px;
        box-sizing: border-box;
    }

    .current-view:not(.is-album-root) .album-choices {
        display: none;
    }
}

@media (max-width: 700px) {
    .info-inner {
        width: auto;
        margin: 0 28px 120px;
        padding-bottom: 56px;
    }

    .info-heading {
        margin-bottom: 62px;
        font-size: 19px;
    }

    .info-bio {
        font-size: 16px;
        line-height: 1.64;
    }

    .info-bio p {
        margin-bottom: 24px;
    }

    .info-photo {
        width: 63%;
        margin-top: 64px;
    }

    .info-contact {
        width: 63%;
        margin-top: 58px;
        gap: 8px;
        font-size: 14px;
    }

    .info-instagram-text {
        display: none;
    }

    .info-instagram-icon {
        display: block;
    }

    .cv-inner {
        width: auto;
        margin: 0 28px 120px;
        padding-bottom: 56px;
    }

    .cv-content {
        font-size: 15px;
        line-height: 1.56;
    }

    .cv-name {
        margin-bottom: 58px;
        font-size: 14px;
    }

    .cv-section {
        margin-bottom: 48px;
    }

    .cv-section h3 {
        margin-bottom: 18px;
        font-size: 12px;
    }

    .cv-item {
        margin-bottom: 21px;
    }
}
