/* TRM homepage only. The artwork and letterforms move on separate layers. */
.trm-home-hero {
    --trm-home-paper: #f2efe7;
    --trm-home-black: #0d0d0d;
    position: relative; isolation: isolate; overflow: clip;
    min-height: 620px; height: min(960px, 100svh);
    background: var(--trm-home-black); color: var(--trm-home-paper);
}
.trm-home-hero *, .trm-home-hero *::before, .trm-home-hero *::after { box-sizing: border-box; }
.trm-home-hero [hidden] { display: none !important; }
.trm-site-header.trm-site-header-home {
    position: absolute; inset: 0 0 auto; z-index: 20; height: 100px;
    background: transparent !important; color: #f2efe7; pointer-events: none;
}
.trm-site-header-home .trm-menu-button { pointer-events: auto; color: #f2efe7; background: rgb(13 13 13 / .65); }
:root .trm-site-header-home .trm-menu-button span { background: #f2efe7; }
.trm-site-header-home .trm-menu-button:focus-visible { outline-color: #f2efe7; }
.trm-site-header-home :is(.trm-site-logo, .trm-site-subscribe) { display: none; }
.trm-site-header-home ~ .trm-header-rule { display: none; }
.trm-home-art { position: absolute; inset: 0 30% 0 0; overflow: hidden; }
.trm-home-art img {
    display: block; width: 100%; height: 100%; max-width: none;
    object-fit: cover; object-position: 50% 45%;
    transform: translate3d(0, var(--trm-art-y, 0px), 0) scale(1.055);
}
.trm-home-copy { position: absolute; z-index: 1; left: 45%; right: 6%; top: 57%; }
.trm-home-wordmark {
    margin: 0; color: #f2efe7 !important; text-transform: uppercase;
    font-family: Arial, Helvetica, sans-serif; font-weight: 500;
    font-size: clamp(28px, 3vw, 50px); line-height: 1.25; letter-spacing: .22em;
    white-space: nowrap; text-shadow: 0 1px 8px rgb(13 13 13 / .3);
    transform: translate3d(0, var(--trm-wordmark-y, 0px), 0);
}
.trm-home-subscription { width: 100%; display: flex; justify-content: center; margin-top: 52px; transform: translate3d(0, var(--trm-subscribe-y, 0px), 0); }
.trm-home-signup { width: min(430px,100%); position: relative; margin: 0; padding: 0; min-height: 154px; text-align: center; color: #f2efe7; }
.trm-signup-shell { position: relative; width: 100%; height: 66px; margin: 0 auto; border: 1px solid #aaa9a4; border-radius: 40px; background: #202020; overflow: hidden; transition: width 360ms cubic-bezier(.22,.68,.2,1), opacity 240ms ease, transform 240ms ease; }
.trm-home-signup[data-state="idle"] .trm-signup-shell { width: 308px; max-width: 100%; }
.trm-signup-orb { position: absolute; z-index: 3; top: -1px; left: -1px; height: 66px; width: 66px; border-radius: 50%; border: 1px solid #cccac4; background: #202020; color: #f2efe7; display: grid; place-items: center; padding: 0; cursor: pointer; touch-action: pan-y; transform: translateX(var(--trm-orb-x,0px)); }
.trm-signup-orb::after { content: ""; position: absolute; inset: -1px -5px -1px 3px; border-right: 1px solid #777772; border-radius: 50%; pointer-events: none; }
.trm-signup-start { width: calc(100% - 66px); height: 64px; margin-left: 66px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 21px 0 24px; border: 0; border-radius: 0; background: transparent; color: inherit; cursor: pointer; font: 500 12px/1.3 Arial,Helvetica,sans-serif; text-transform: uppercase; letter-spacing: .22em; }
.trm-signup-fields { position: absolute; inset: 0; text-align: left; padding: 28px 60px 7px 85px; }
.trm-signup-field-caption { position: absolute; left: 86px; top: 8px; font: 10px/1.4 Arial,Helvetica,sans-serif; letter-spacing: .18em; text-transform: uppercase; color: #c5c2ba; }
.trm-signup-fields input { display: block; width: 100%; border: 0; border-radius: 0; min-width: 0; height: 28px; padding: 0; background: transparent; color: #f2efe7; font: 17px/1.4 Arial,Helvetica,sans-serif; box-shadow: none; outline-offset: 1px; }
.trm-signup-fields input::placeholder { color: #9e9b94; }
.trm-signup-send { position: absolute; right: 9px; top: 10px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: #2a2a2a; color: #f2efe7; cursor: pointer; }
.trm-home-hero :is(button,a,input):focus-visible { outline: 2px solid #f2efe7; outline-offset: 4px; }
.trm-home-signup[data-state="loading"] .trm-signup-shell { width: 66px; }
.trm-home-signup[data-state="loading"] .trm-signup-fields { opacity: 0; }
.trm-home-signup[data-state="loading"] .trm-signup-orb svg { animation: trm-mail-send 700ms ease-in-out infinite alternate; }
.trm-home-signup[data-state="sent"] .trm-signup-shell { width: 66px; opacity: 0; transform: scale(.85); pointer-events: none; }
.trm-home-signup .trm-signup-status { margin: 14px 0 0; color: #f2efe7; font: 400 17px/1.4 Arial,Helvetica,sans-serif; letter-spacing: .04em; }
.trm-home-signup[data-state="sent"] .trm-signup-status { position: absolute; top: 15px; left: 0; width: 100%; margin: 0; font-size: 25px; letter-spacing: .14em; animation: trm-mail-confirm 420ms 160ms both; }
.trm-home-signup .trm-signup-hint { color: #c5c2ba; font: 12px/1.6 Arial,Helvetica,sans-serif; margin: 12px 0 0; }
.trm-signup-reset { min-height: 36px; border: 0; border-radius: 0; border-bottom: 1px solid #7f7d77; padding: 4px 0; margin: 8px 0 0; background: transparent; color: #f2efe7; font: 11px/1.5 Arial,Helvetica,sans-serif; cursor: pointer; }
.trm-home-signup .trm-signup-error { font: 12px/1.6 Arial,Helvetica,sans-serif; margin: 12px 0 0; color: #f2efe7; text-align: left; }
.trm-signup-error:empty { display: none; }
.trm-home-welcome { text-align: center; animation: trm-mail-confirm 500ms both; }
.trm-home-welcome > p { margin: 0 0 22px; font: 400 30px/1.3 Arial,Helvetica,sans-serif; letter-spacing: .16em; }
.trm-home-welcome a, .trm-home-read { font: 12px/1.5 Arial,Helvetica,sans-serif; color: #f2efe7; letter-spacing: .05em; text-underline-offset: 6px; }
.trm-home-scroll { position: absolute; bottom: 24px; right: 24px; display: grid; place-items: center; width: 44px; height: 44px; font: 24px Arial,sans-serif; color: #f2efe7; text-decoration: none; }
.trm-home-latest { scroll-margin-top: 24px; }
.home-template .trm-latest :is(h2,.trm-list-row) { transition: opacity 680ms ease, transform 680ms cubic-bezier(.2,.65,.2,1); }
.home-template .trm-latest .trm-reveal-pending { opacity: 0; transform: translateY(22px); }
.home-template .trm-latest .trm-reveal-pending:focus-within { opacity: 1; transform: none; }
@keyframes trm-mail-send { from { transform: translateX(-3px); } to { transform: translateX(3px); } }
@keyframes trm-mail-confirm { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 800px) {
    .trm-home-hero { min-height: 660px; height: min(900px,100svh); }
    .trm-home-art { right: 0; bottom: 24%; }
    .trm-home-art::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent,#0d0d0d); }
    .trm-home-art img { object-position: 42% 35%; }
    .trm-home-copy { top: auto; left: 24px; right: 24px; bottom: 34px; text-align: center; }
    .trm-home-wordmark { font-size: clamp(17px,4.4vw,32px); letter-spacing: .19em; }
    .trm-home-subscription { margin-top: 30px; }
    .trm-site-header.trm-site-header-home { height: 88px; }
    .trm-home-scroll { right: 14px; bottom: 10px; }
}
@media (max-width: 380px) {
    .trm-home-copy { left: 18px; right: 18px; }
    .trm-signup-shell, .trm-signup-orb { height: 60px; }
    .trm-signup-orb { width: 60px; }
    .trm-signup-start { height: 58px; margin-left: 60px; width: calc(100% - 60px); }
    .trm-signup-fields { padding-left: 73px; padding-top: 25px; }
    .trm-signup-field-caption { left: 74px; }
    .trm-signup-send { top: 7px; }
}
@media (prefers-reduced-motion: reduce) {
    .trm-home-art img, .trm-home-copy > *, .trm-home-subscription { transform: none !important; }
    .trm-home-hero *, .home-template .trm-latest * { transition: none !important; animation: none !important; }
    .home-template .trm-latest .trm-reveal-pending { opacity: 1; transform: none; }
}
