.home-front {
    --home-night: var(--wds-petrol);
    position: relative;
    isolation: isolate;
    background: var(--home-night);
    color: var(--pub-paper);
}

.home-front-copy {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    min-height: clamp(29rem, 35.5vw, 38rem);
    padding-block: clamp(2.3rem, 4.15vw, 5.1rem);
    pointer-events: none;
}

.home-front-story {
    width: min(54%, 46rem);
}

.home-front-copy a {
    pointer-events: auto;
}

.home-byline {
    display: flex;
    align-items: center;
    gap: .65rem;
    color: var(--wds-pearl);
    font-size: .71rem;
    line-height: 1.5;
    font-weight: 660;
    letter-spacing: .105em;
    text-transform: uppercase;
}

.home-byline::before {
    content: '';
    width: 1.8rem;
    height: .2rem;
    background: var(--pub-accent);
}

.home-byline > span {
    color: var(--pub-accent);
}

.home-byline a:hover,
.home-front-figure a:hover strong {
    text-decoration: underline;
    text-underline-offset: .22em;
}

.home-front h1 {
    margin-block: clamp(1rem, 1.6vw, 1.7rem) 1rem;
    font-size: clamp(3.05rem, 5.52vw, 6.15rem);
    line-height: .99;
    font-weight: 685;
    letter-spacing: -.068em;
}

.home-front h1 > span {
    display: block;
}

.home-front h1 > span:last-child {
    color: var(--pub-accent);
}

.home-deck {
    max-width: 39ch;
    color: var(--wds-on-dark-muted);
    font-size: clamp(.99rem, 1.18vw, 1.2rem);
    line-height: 1.54;
    letter-spacing: -.012em;
}

.home-cover-actions,
.home-event-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .25rem clamp(.85rem, 1.7vw, 1.95rem);
    margin-top: clamp(1.1rem, 1.7vw, 1.9rem);
}

.home-button,
.home-text-link,
.home-index-link {
    display: inline-flex;
    align-items: center;
    gap: .61rem;
    min-height: 2.86rem;
    font-size: .89rem;
    line-height: 1.3;
    font-weight: 650;
}

.wds-home .home-button {
    justify-content: space-between;
    gap: 1.05rem;
    width: fit-content;
    padding: .72rem 1.04rem;
    color: var(--pub-ink);
    background: var(--pub-accent);
}

.home-front .home-button:hover,
.home-photo-copy .home-button:hover {
    background: var(--pub-paper);
}

.home-text-link,
.home-index-link {
    padding-block: .4rem;
}

.home-text-link:hover,
.home-index-link:hover {
    text-decoration: underline;
    text-underline-offset: .32em;
}

.home-front :focus-visible,
.home-photo-section :focus-visible {
    outline-color: var(--pub-accent);
}

.home-front-figure {
    position: absolute;
    z-index: 1;
    inset: 0 0 0 max(27%, calc((100% - 92rem) / 2 + 24rem));
    background: var(--wds-petrol);
}

.home-front-figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 43%;
}

.home-front-figure::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--home-night), color-mix(in srgb, var(--home-night) 94%, transparent) 18%, color-mix(in srgb, var(--home-night) 84%, transparent) 38%, transparent 66%);
    pointer-events: none;
}

.home-front-figure figcaption {
    position: absolute;
    right: max(var(--pub-gutter), calc((100vw - 92rem) / 2));
    bottom: clamp(1rem, 2.05vw, 2.2rem);
    max-width: calc(100% - 2 * var(--pub-gutter));
}

.home-front-figure figcaption a {
    display: flex;
    align-items: center;
    gap: .9rem;
    min-height: 2.85rem;
    width: fit-content;
    padding: .52rem .7rem .52rem .85rem;
    color: var(--pub-paper);
    border-left: .17rem solid var(--pub-accent);
    background: color-mix(in srgb, var(--home-night) 94%, transparent);
}

.home-caption-text {
    display: grid;
    gap: .12rem;
}

.home-caption-text small {
    color: var(--pub-accent);
    font-size: .62rem;
    font-weight: 650;
    letter-spacing: .095em;
    line-height: 1.3;
    text-transform: uppercase;
}

.home-caption-text strong {
    font-size: .82rem;
    font-weight: 560;
    line-height: 1.3;
}

.home-service-bar {
    background: var(--pub-accent);
    color: var(--pub-ink);
    scroll-margin-top: .5rem;
}

.home-services,
.home-services ul {
    display: grid;
    align-items: stretch;
}

.home-services {
    grid-template-columns: max-content minmax(0, 1fr);
    gap: clamp(1rem, 3.2vw, 4rem);
    padding-block: .55rem;
}

.home-services ul {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-services a {
    display: flex;
    align-items: center;
    min-height: 2.8rem;
    height: 100%;
    line-height: 1.3;
}

.home-service-label {
    gap: .68rem;
    font-size: .95rem;
    font-weight: 720;
}

.home-services li a {
    border-left: 1px solid var(--wds-teal);
    padding: .34rem clamp(.65rem, 1.5vw, 1.55rem);
    font-size: .89rem;
    font-weight: 560;
}

.home-services a:hover,
.home-photo-paths a:hover {
    text-decoration: underline;
    text-underline-offset: .22em;
}

.home-projects,
.home-desk {
    padding-block: var(--pub-space);
}

.home-section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: .4rem 1.5rem;
    margin-bottom: clamp(1.35rem, 2.3vw, 2.45rem);
    border-top: .16rem solid var(--pub-ink);
    padding-top: clamp(.85rem, 1.55vw, 1.55rem);
}

.home-section-head h2,
.home-event h2,
.home-photo-copy h2 {
    font-size: clamp(2.25rem, 4.2vw, 4.65rem);
    font-weight: 650;
    line-height: 1.01;
    letter-spacing: -.065em;
}

.home-section-head h2 span {
    color: var(--pub-rust);
}

.home-section-head h2[id] {
    scroll-margin-top: 1rem;
}

.home-project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.05rem, 2.1vw, 2.3rem);
}

.home-project,
.home-project > a {
    min-width: 0;
}

.home-project > a {
    display: block;
}

.home-project-photo {
    overflow: hidden;
    background: var(--pub-sand);
    aspect-ratio: 1.5;
}

.home-project-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .5rem;
    min-height: 2.5rem;
    border-bottom: 1px solid var(--pub-rule);
    padding-block: .5rem .4rem;
}

.home-project-meta .mag-label {
    color: var(--pub-muted);
    font-size: .64rem;
    letter-spacing: .09em;
}

.home-project h3 {
    margin-block: .7rem .44rem;
    font-size: clamp(1.45rem, 2.35vw, 2.55rem);
    font-weight: 655;
    line-height: 1.07;
    letter-spacing: -.055em;
}

.home-project a:hover h3,
.home-journal-list a:hover h3 {
    text-decoration: underline;
    text-decoration-thickness: .06em;
    text-underline-offset: .14em;
}

.home-project-summary {
    max-width: 44ch;
    color: var(--pub-muted);
    font-size: .965rem;
    line-height: 1.56;
}

.home-photo-section {
    background: var(--pub-ink);
    color: var(--pub-paper);
    padding-block: clamp(2.75rem, 5.4vw, 5.7rem) 1.05rem;
}

.home-photo-spread {
    display: grid;
    grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 5.5rem);
}

.home-photo-copy .mag-label {
    margin-bottom: clamp(.75rem, 1.4vw, 1.45rem);
    color: var(--pub-accent);
}

.home-photo-copy h2 {
    font-size: clamp(3.25rem, 5.7vw, 6.45rem);
}

.home-photo-copy h2 span {
    color: var(--pub-accent);
}

.home-photo-copy > p:not(.mag-label) {
    max-width: 34ch;
    margin-block: 1.1rem 1.45rem;
    color: var(--wds-on-dark-muted);
    line-height: 1.6;
}

.home-photo-feature a,
.home-photo-feature img {
    display: block;
    width: 100%;
}

.home-photo-feature img {
    height: auto;
}

.home-photo-feature figcaption {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: .2rem .75rem;
    padding-block: .6rem 0;
    color: var(--wds-on-dark-muted);
    font-size: .8rem;
}

.home-photo-feature figcaption span:last-child {
    font: italic 400 1.25rem/1.1 var(--pub-serif);
}

.home-photo-paths {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .5rem clamp(1rem, 2.3vw, 2.5rem);
    margin-top: clamp(1.7rem, 3.5vw, 3.75rem);
}

.home-photo-paths a {
    display: flex;
    min-height: 3.2rem;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    border-top: 1px solid var(--wds-on-dark-rule);
    padding-block: .58rem;
    font-size: .91rem;
    font-weight: 570;
}

.home-photo-paths .pub-arrow {
    color: var(--pub-accent);
}

.home-desk {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
    align-items: start;
    gap: clamp(1.8rem, 5.2vw, 5.7rem);
}

.home-journal .home-section-head {
    margin-bottom: .85rem;
}

.home-journal .home-section-head h2 {
    font-size: clamp(2.1rem, 3.2vw, 3.7rem);
}

.home-journal-list article {
    border-top: 1px solid var(--pub-rule);
}

.home-journal-list article:last-child {
    border-bottom: 1px solid var(--pub-rule);
}

.home-journal-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-block: clamp(.95rem, 1.7vw, 1.75rem);
}

.home-journal-list .mag-label {
    margin-bottom: .43rem;
    color: var(--pub-muted);
    font-size: .65rem;
}

.home-journal-list h3 {
    max-width: 26ch;
    font-size: clamp(1.35rem, 2vw, 2.25rem);
    line-height: 1.15;
    font-weight: 610;
    letter-spacing: -.045em;
}

.home-event {
    padding: clamp(1.35rem, 2.65vw, 2.85rem);
    background: var(--pub-sand);
    border-top: .34rem solid var(--pub-accent);
}

.home-event .mag-label {
    color: var(--pub-muted);
}

.home-event h2 {
    margin-top: .65rem;
    font-size: clamp(2rem, 3.2vw, 3.55rem);
}

.home-event > p:not(.mag-label) {
    max-width: 40ch;
    margin-top: .75rem;
    color: var(--pub-muted);
    line-height: 1.55;
}

.home-event .home-button {
    background: var(--pub-ink);
    color: var(--pub-paper);
}

.home-event .home-button:hover {
    background: var(--pub-accent);
    color: var(--pub-ink);
}

@media (max-width: 65rem) {
    .home-services { gap: 1rem; }
    .home-services li a { padding-inline: .75rem .4rem; }
    .home-desk { gap: 1.7rem; }
    .home-front-figure figcaption { right: var(--pub-gutter); }
}

@media (max-width: 46rem) {
    .home-front {
        display: flex;
        flex-direction: column;
    }
    .home-front-copy {
        order: 1;
        min-height: 0;
        padding-block: 1.15rem 1.75rem;
    }
    .home-front-story { width: 100%; }
    .home-front h1 {
        margin-block: .8rem .75rem;
        font-size: clamp(2.25rem, 8.55vw, 4rem);
    }
    .home-front h1 > span { display: inline; }
    .home-front h1 > span:last-child { white-space: nowrap; }
    .home-deck { max-width: 46ch; }
    .home-cover-actions { margin-top: .85rem; }
    .home-front-figure {
        position: relative;
        inset: auto;
        height: clamp(12.2rem, 53vw, 20rem);
    }
    .home-front-figure img { object-position: 50% 39%; }
    .home-front-figure::before { background: linear-gradient(0deg, color-mix(in srgb, var(--home-night) 22%, transparent), transparent 35%); }
    .home-front-figure figcaption {
        right: var(--pub-gutter);
        bottom: .65rem;
    }
    .home-front-figure figcaption a { min-height: 2.75rem; padding: .35rem .55rem; }
    .home-caption-text strong { font-size: .76rem; }
    .home-caption-text small { font-size: .57rem; }
    .home-services { grid-template-columns: 1fr; gap: 0; padding-block: .3rem .55rem; }
    .home-service-label { width: fit-content; }
    .home-services ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.05rem; }
    .home-services li a { border: 0; border-top: 1px solid var(--wds-teal); padding: .4rem 0; }
    .home-section-head { align-items: baseline; }
    .home-project-grid { grid-template-columns: 1fr; gap: 2.1rem; }
    .home-project h3 { font-size: clamp(1.85rem, 5.8vw, 2.7rem); }
    .home-project-summary { max-width: 50ch; }
    .home-photo-spread { grid-template-columns: 1fr; gap: 1.35rem; }
    .home-photo-copy h2 { font-size: clamp(2.85rem, 8.1vw, 4.2rem); }
    .home-photo-copy h2 br { display: none; }
    .home-photo-copy > p:not(.mag-label) { max-width: 44ch; margin-block: .9rem 1.1rem; }
    .home-photo-paths { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-desk { grid-template-columns: 1fr; gap: 2.25rem; }
}

@media (max-width: 25rem) {
    .home-byline { font-size: .65rem; }
    .home-cover-actions { gap: .2rem .8rem; }
    .home-button, .home-text-link { font-size: .82rem; }
    .home-cover-actions .home-button { gap: .65rem; padding-inline: .83rem; }
    .home-photo-paths a { font-size: .82rem; }
}

@media (prefers-reduced-motion: no-preference) {
    .home-project-photo img { transition: transform .3s ease-out; }
    .home-project a:hover img { transform: scale(1.025); }
}

@media print {
    .home-front, .home-photo-section { color: black; background: white; }
    .home-front-copy { min-height: 0; padding-block: 1rem; }
    .home-front-story { width: 100%; }
    .home-front-figure { position: relative; inset: auto; height: auto; }
    .home-front-figure img { width: 60%; height: auto; }
    .home-front-figure::before, .home-cover-actions, .home-service-bar { display: none; }
    .home-front-figure figcaption { position: static; }
    .home-front-figure figcaption a { background: white; }
    .home-front *, .home-photo-section * { color: black !important; }
    .home-project { break-inside: avoid; }
}
