html,
body {
    margin: 0;
    padding: 0;
    font-family: Poppins;

}
.stack {
    contain: contain;
    z-index: 1;

}
.page-wrapper {
    container-type: size;
    contain-intrinsic-size: 100vw auto;
    width: 100%;
    max-width: 100vw;
    margin: 0;
    padding: 0;
    height: 100svh;
    min-height: 100svh;
    overflow: auto;
    overflow-x: hidden;
    box-sizing:border-box;
}

@media (height <=450px) {
    .page-wrapper {
        /* 750px (for your usable panel space) + 60px (to clear Safari's bar) */
        height: 810px;
        box-sizing: border-box;
        /* This 60px matches the extra height, serving as the hidden buffer zone */
        padding-bottom: max(60px, env(safe-area-inset-bottom));
    }
}


.snap-page {
    width: 100cqi;
}
.panel {
    height:100cqb;
    padding: 48px;
    box-sizing: border-box;
    background: var(--surface);
    color: var(--text);
}

.panel.theme-landing,
.panel.theme-landing-white,
.panel.theme-landing-charcoal {
    background: var(--bg);
}

#landing {
    position: relative;
}

.row
{
    all:unset;
    display: flex;
    flex-direction: column;
    width: 100cqi;
    height:auto;
    color: var(--heading);
    margin: 0 0 24px 24px;
}
.heading {
    height: 20cqb;
    z-index:2;
}
.content {
    height:20cqb;
}
.hero {
    height:40cqb;
    margin-top: 10cqb;
}
.heading h1
{
    font-size: clamp(32px, 5.7cqi, 80px);
    font-family: Merriweather;
    margin-bottom: 0;
}
.heading p.subtitle {
    font-size: clamp(20px, 1.5cqi, 22px);
    margin-top: 10px;
}
.content p.motto {
    font-size: clamp(20px, 2.9cqi, 35px);
    width:37cqi;
    margin-left:2cqi;
    margin-top:4cqb;
}
.hero p.title {
    font-size: clamp(16px, 3cqi, 28px);
    font-weight: 300;
    margin-bottom: 0;
}
.hero p.desc {
    font-size: clamp(15px, 1.3cqi, 20px);
    margin-top: 0;
}
.hero a{
    color: var(--link);
    text-decoration:none;
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    padding: 6px 10px 6px 0;
    z-index:2;
    transition: color 180ms ease, transform 180ms ease;

}
.hero a::before {
    content: "";
    width: 1em;
    height: 1em;
    flex: 0 0 1em;
    background-color: currentColor;
    -webkit-mask: url('../img/subd_arrow_right.svg') center / contain no-repeat;
    mask: url('../img/subd_arrow_right.svg') center / contain no-repeat;
}
.hero a:hover,
.hero a:focus-visible {
    color: var( --link-hover );
    transform: translateX(4px);
}
.hero a:hover {
    cursor: pointer;
}
.hero a:focus-visible {
    outline: 1px solid currentColor;
    outline-offset: 4px;
}
/* .panel-hero {
    display: flex;
    flex-direction: column;
    width: 100cqi;
} */
.option {
    display: flex;
    flex-direction: column;
    width: fit-content;
    max-width: 100%;
    /* border: 2px solid red; */
}
.option p.name {
    font-size: clamp(15px, 1.6cqi, 25px);
    font-weight: 300;
    margin:8px;
}
.galframe {
    container-type: size;
    contain-intrinsic-size: 100vw auto;

    position:absolute;
    top:0;
    left:0;
    width: 95cqi;
    height:95cqb;
    margin: 2.5cqb 2.5cqi ;
    /* border:5px solid red; */
}
.galframe {
    top: 0;
    bottom: 0;
    left: 40%;
    width: 60%;
    height: auto;
    overflow: hidden;
    perspective: 400px;
}
/* Desktop controlled transition */
@media (min-width: 900px) {
    body {
        overflow: hidden;
    }
    .panel {
        position: fixed;
        inset: 0;
        opacity: 0;
        transform: translateY(40px);
        transition:
            opacity 500ms ease,
            transform 500ms ease;
        pointer-events: none;
    }

    .panel.is-active {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
}

/* Mobile normal page scroll */
@media (max-width: 899px) {
    body {
        overflow: auto;
    }
    .panel {
        position: relative;
        opacity: 1;
        transform: none;
        padding:10px;
    }
    .theme-landing {
        --bg: var(--main-linear-mobile);
    }
    .theme-landing-white {
        --bg: var(--landing-white-gradient-mobile);
    }
    .theme-landing-charcoal {
        --bg: var(--landing-charcoal-gradient-mobile);
    }
    .row {
        align-items: center;
        margin: 0 0 24px;
    }
    .heading {
        margin-top: 5cqb;
        height: 15cqb;
    }
    .content {
        height: 40cqb;
    }
    .hero {
        height: 25cqb;
        justify-content: flex-end;
        width: 90cqi;
        margin-top: 0;
        align-items: flex-start;
        margin-left:25px;
    }

    
    .heading h1{
        margin:0;
    }
    .content p.motto {
        width:70cqi;
        margin:0;
    }

    #landing.panel {
        display: flex;
        flex-direction: column;
        min-height: 100svh;
        height: auto;
        padding: 20px 16px 24px;
    }

    #landing .row {
        width: 100%;
        height: auto;
        margin: 0;
        align-items: flex-start;
    }

    /* #landing .heading h1 {
        font-size: clamp(38px, 11vw, 56px);
    }

    #landing .heading p.subtitle {
        margin: 6px 0 0;
    }

    #landing .content {
        margin-top: 28px;
    }

    #landing .content p.motto {
        width: min(19ch, 100%);
        font-size: clamp(19px, 5.4vw, 25px);
        line-height: 1.32;
    } */
    #landing .heading,
    #landing .content {
        align-items: center;
        text-align: center;
    }
    #landing .hero {
        position: relative;
        z-index: 2;
        width: 100%;
        height: auto;
        margin: 100px 0 0 40px;
    }

    #landing .hero p.title {
        margin-top: 0;
    }

    #landing .galframe {
        position: absolute;
        top: 41cqb;
        bottom: 1cqb;
        left: 12%;
        width: 88%;
        height: auto;
        margin: 0;
        z-index: 1;
        pointer-events: none;
        perspective: unset;

    }

    /* #landing .mainboxes {
        position: relative;
        top: 15%;
        left: 0;
        width: 100%;
        height: 100%;
        margin: 0;
        border: 0;
        border:2px solid blue;

    } */
}
/* Need a second landing page break for layout */
@media (max-width: 639px) {

    #landing .heading {
        margin: 24px 0 0 0;
    }
    .heading h1 {
        margin: 0;
        font-size: clamp(22px, 4.5cqi, 30px);

    }
    .heading p.subtitle {
        font-size: 16px;
        margin-top: 10px;
    }
    .content p.motto {
        width: 70cqi;
        margin: 0;
        font-size: max(18px, 3.5cqi);
    }
    #landing .hero {
        margin: 35px 0 0;
    }
    .hero p.desc {
        font-size: max(12px, 1.1cqi);
        font-style: italic;
        width:50%;
    }
    #landing .galframe {
        top: 44cqb;
    }
    .option p.name {
        line-height: 1;
        margin: 4px;
    }
}


.panel-split {
    display: flex;
    padding: 0;
}

.panel-close {
    background: var(--footer-background);
    color: var(--footer-text);
    display: flex;
    flex-direction: column;
    padding: 0;
}

.close-invitation {
    align-content: center;
    box-sizing: border-box;
    display: grid;
    flex: 1 1 auto;
    justify-items: start;
    padding: clamp(2rem, 8vw, 8rem);
}

.close-eyebrow {
    color: var(--footer-text);
    font-family: "Poppins", sans-serif;
    font-size: 0.6875rem;
    letter-spacing: 0.12em;
    margin: 0 0 1.25rem;
    text-transform: uppercase;
}

.close-title {
    color: var(--footer-link);
    font-family: "Merriweather", serif;
    font-size: clamp(2rem, 3.6cqi, 3.75rem);
    font-weight: 400;
    letter-spacing: -0.035em;
    line-height: 1.16;
    margin: 0;
    max-width: 17ch;
}

.close-contact {
    display: flex;
    flex-wrap: wrap;
    font-family: "Poppins", sans-serif;
    font-size: clamp(0.875rem, 1.1cqi, 1rem);
    font-style: normal;
    gap: 0.5rem clamp(1.5rem, 3vw, 3rem);
    letter-spacing: 0.025em;
    margin-top: clamp(2rem, 5cqb, 4rem);
}

.close-contact a {
    color: var(--footer-text);
    text-underline-offset: 0.28em;
    transition: color 180ms ease;
}

.close-contact a:hover,
.close-contact a:focus-visible {
    color: var(--footer-link);
}

.close-contact a:focus-visible {
    outline: 1px solid currentColor;
    outline-offset: 0.3rem;
}

.panel-close .iww-site-footer--landing {
    color: var(--footer-text);
    display: flex;
    flex: 0 0 auto;
    height: auto;
    width: 100%;
}

.panel-close .iww-site-footer__copyright {
    color: var(--footer-text);
}

.panel-close .iww-site-footer__nav a {
    color: var(--footer-link);
}

.panel-close .iww-site-footer__nav a:hover,
.panel-close .iww-site-footer__nav a:focus-visible {
    color: var(--footer-link-hover);
}

.panel-close .iww-site-footer__inner {
    align-items: flex-start;
    box-sizing: border-box;
    height: auto;
    padding: clamp(1.5rem, 4vw, 4rem);
    width: 100%;
}

@media (max-width: 40rem) {
    .panel-close .iww-site-footer__inner {
        align-items: flex-start;
        padding: clamp(1.5rem, 6vw, 2rem);
    }

    .close-invitation {
        padding: clamp(2rem, 10vw, 3rem) clamp(1.5rem, 6vw, 2rem);
    }

    .close-title {
        font-size: clamp(1.875rem, 9vw, 2.75rem);
        max-width: 15ch;
    }

    .close-contact {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.8rem;
    }
}

.left-col {
    background: var( --bg-alt );
}

.right-col {
    background: var(--surface);
}

.panel-bio {
    --bio-background: var(--WH_00);
    --bio-text: var(--GR_06);
    --bio-heading: var(--GR_07);
    --bio-muted: var(--GR_05);
    background: var(--bio-background);
    color: var(--bio-text);
    display: grid;
    grid-template-columns: minmax(12rem, 3fr) minmax(0, 7fr);
    grid-template-rows: minmax(0, 1fr);
    gap: clamp(2rem, 6cqi, 6rem);
    height: 100cqb;
    box-sizing: border-box;
    padding: clamp(1.25rem, 3cqi, 3rem) clamp(1.5rem, 5cqi, 5rem);
    font-family: Poppins, sans-serif;
}

.bio-intro,
.bio-right,
.bio-reading {
    min-height: 0;
}

.bio-intro {
    align-self: start;
    padding-top: 30cqb;
}

.bio-artwork {
    position: relative;
    display: block;
    width: 100%;
    margin: clamp(1rem, 3cqb, 2.5rem) 0 clamp(1.25rem, 2cqb, 2rem) auto;
    overflow: hidden;
    border-radius: 8px;
    color: var(--WH_00);
    text-decoration: none;
}

.bio-artwork img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 320ms ease;
}

.bio-artwork__label {
    position: absolute;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 1;
    opacity: 0;
    padding: .65rem .8rem;
    background: rgb(19 19 19 / .76);
    border-radius: 4px;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    transition: opacity 180ms ease;
}

.bio-artwork:hover img,
.bio-artwork:focus-visible img {
    transform: scale(1.015);
}

.bio-artwork:hover .bio-artwork__label,
.bio-artwork:focus-visible .bio-artwork__label {
    opacity: 1;
}

.bio-artwork:focus-visible {
    outline: 2px solid var(--bio-heading);
    outline-offset: 4px;
}

.bio-eyebrow {
    margin: 0 0 1.25rem;
    color: var(--bio-muted);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.panel-bio h2 {
    margin: 0;
    color: var(--bio-heading);
    font-family: Merriweather, Georgia, 'Times New Roman', serif;
    font-size: clamp(2.5rem, 4.8cqi, 5.5rem);
    font-weight: 400;
    letter-spacing: -.05em;
    line-height: .95;
}

.bio-lead {
    margin: 1.5rem 0 0;
    color: var(--bio-muted);
    font-size: clamp(1rem, 1.25vw, 1.25rem);
    line-height: 1.6;
}

.bio-link {
    display: inline-flex;
    gap: .5rem;
    width: fit-content;
    margin-top: 2.5rem;
    color: var(--bio-heading);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-decoration: none;
    text-transform: uppercase;
}

.bio-link:hover,
.bio-link:focus-visible {
    text-decoration: underline;
    text-underline-offset: .3em;
}

.bio-right {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.bio-copy p {
    margin: 0;
    font-size: clamp(1rem, 1.15vw, 1.125rem);
    line-height: 1.75;
}

.bio-reading {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: clamp(.5rem, 1.5cqi, 1.25rem);
}

.bio-copy {
    padding-bottom: 2rem;
}

.bio-copy .heading {
    height: auto;
    margin: 0;
    color: var(--bio-heading);
    font-family: Merriweather, Georgia, 'Times New Roman', serif;
    font-size: clamp(1.25rem, 1.8cqi, 1.75rem);
    font-weight: 400;
    letter-spacing: -.025em;
    line-height: 1.2;
}

.bio-copy .content {
    height: auto;
    margin: .75rem 0 2.25rem;
    white-space: normal;
}

.bio-copy .content + .heading {
    padding-top: 1.75rem;
    border-top: 1px solid var(--GR_02);
}

.bio-copy .heading:empty,
.bio-copy .content:empty {
    display: none;
}

.bio-copy .heading + .content {
    max-width: 46rem;
}


@media (max-width: 899px) {
    .panel-split {
        flex-direction: column;
    }

    .left-col,
    .right-col {
        min-height: 50vh;
    }

    .panel-bio {
        display: block;
        height: auto;
        padding: clamp(1.5rem, 6vw, 3rem);
    }

    .bio-artwork {
        width: 100%;
        margin-inline: auto;
    }

    .bio-intro {
        padding-top: 0;
        margin-bottom: 2.5rem;
    }

    .bio-right {
        display: block;
        margin-top: 2.5rem;
    }

    .bio-reading {
        overflow: visible;
        padding-right: 0;
    }

    .bio-copy .content {
        margin-bottom: 1.25rem;
    }

    .bio-copy .content + .heading {
        padding-top: 1rem;
    }
}

@media (min-width: 600px) and (max-width: 899px) {
    #landing .option p.name {
        font-size: 22px;
        margin-block: 10px;
    }
}

@media (min-width: 900px) and (max-width: 1199px) {
    #landing .option p.name {
        font-size: 24px;
    }
}

#landing .iww-language-switcher--landing {
    color: var(--text);
    left: clamp(1rem, 3cqi, 2.5rem);
    position: absolute;
    top: clamp(10px, 1cqb, 2.5rem);
    z-index: 4;
}

.iww-language-switcher__menu {
    position: relative;
}

.iww-language-switcher__menu summary {
    align-items: center;
    cursor: pointer;
    display: flex;
    font-size: clamp(0.75rem, 1.1cqi, 0.875rem);
    gap: clamp(0.35rem, 0.6cqi, 0.5rem);
    list-style: none;
    min-height: clamp(2.5rem, 5cqi, 3rem);
    padding: clamp(0.25rem, 0.5cqi, 0.4rem);
}

.iww-language-switcher__menu summary::-webkit-details-marker {
    display: none;
}

.iww-language-switcher__globe {
    background-color: currentColor;
    display: inline-block;
    height: clamp(0.9rem, 1.4cqi, 1.1rem);
    mask: url("../img/globe.svg") center / contain no-repeat;
    width: clamp(0.9rem, 1.4cqi, 1.1rem);
}

.iww-language-switcher__menu summary:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 0.25rem;
}

.iww-language-switcher__options {
    background: var(--menu-dropdown-bg);
    border-radius: 8px;
    box-sizing: border-box;
    color: var(--menu-dropdown-bg);
    font-weight: 400;
    display: flex;
    flex-direction: column;
    gap: clamp(0.65rem, 1cqi, 0.9rem);
    left: 0;
    margin-top: clamp(0.4rem, 0.8cqb, 0.65rem);
    padding: clamp(0.875rem, 1.5cqi, 1.25rem);
    padding: 4px;
    position: absolute;
    width: clamp(9rem, 20cqi, 12rem);
}

.iww-language-switcher--landing .iww-language-switcher__options a,
.iww-language-switcher--landing .iww-language-switcher__options .iww-language-switcher__current {
    color: var(--menu-dropdown-color);
}

.iww-language-switcher--landing .iww-language-switcher__options a:hover,
.iww-language-switcher--landing .iww-language-switcher__options a:focus-visible {
    color: var(--menu-dropdown-color);
    background: var(--menu-dropdown-bg-hover);
}

.iww-language-switcher--landing a,
.iww-language-switcher--landing .iww-language-switcher__current {
    color: inherit;
    font-size: clamp(0.75rem, 1.1cqi, 0.875rem);
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
    padding: 4px;

}

.iww-language-switcher--landing .iww-language-switcher__current {
    text-decoration: underline;
    text-underline-offset: 0.3em;
}
