/* Homepage styles are isolated from the original theme and its color modes. */
@font-face {
    font-family: "Zagabond Serif";
    src: url("vendors/Newsreader-Regular.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: "Zagabond Sans";
    src: url("vendors/Geist-Variable.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}
html:has(.zb-site) { background: #fff; color-scheme: light; scroll-behavior: smooth; }
body.home-template { margin: 0; padding: 0; background: #fff; color: #151515; }
.zb-site {
    --zb-serif: "Zagabond Serif", Georgia, serif;
    --zb-sans: "Zagabond Sans", Arial, sans-serif;
    --zb-rule: #dedede;
    --color-contrast: #151515;
    --color-foreground: #151515;
    --color-background: #fff;
    box-sizing: border-box;
    width: calc(100% - 96px);
    max-width: 1080px;
    margin: 0 auto;
    background: #fff;
    color: #151515;
    font-family: var(--zb-sans);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    font-variation-settings: normal;
    -webkit-font-smoothing: antialiased;
}
.zb-site *, .zb-site *::before, .zb-site *::after { box-sizing: border-box; }
.zb-site :where(h1, h2, h3, p, figure, ul) { margin: 0; padding: 0; }
.zb-site :where(h1, h2, h3) { color: #151515; font-variation-settings: normal; }
.zb-site a { color: #151515; text-decoration: none; background: none; transition: color .15s ease; }
.zb-site a:hover { color: #666; }
.zb-site a:focus-visible, .zb-site summary:focus-visible { outline: 2px solid #151515; outline-offset: 5px; }
.zb-header { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--zb-rule); }
.zb-wordmark { font-family: var(--zb-sans); font-size: 11px; font-weight: 500; letter-spacing: .08em; line-height: 1.4; }
.zb-desktop-nav { display: flex; align-items: center; gap: 28px; }
.zb-desktop-nav a { min-height: 44px; display: inline-flex; align-items: center; font-size: 14px; }
.zb-mobile-menu { display: none; }
.zb-hero { display: grid; grid-template-columns: minmax(0, 1fr) 236px; grid-template-areas: "intro portrait"; align-items: center; column-gap: 48px; padding: 28px 0; }
.zb-intro { grid-area: intro; min-width: 0; }
.zb-intro h1 { display: block; color: #151515; font-family: var(--zb-serif); font-size: clamp(72px, 8.3vw, 104px); font-weight: 400; font-optical-sizing: auto; letter-spacing: -.045em; line-height: 1.02; white-space: nowrap; }
.zb-site .zb-role { margin-top: 10px; color: #333; font-family: var(--zb-serif); font-size: 32px; line-height: 1.2; font-weight: 400; letter-spacing: -.015em; }
.zb-portrait { grid-area: portrait; width: 236px; aspect-ratio: 2290 / 2509; overflow: hidden; background: #eee; }
.zb-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; transform: scale(1.14); transform-origin: 50% 62%; border-radius: 0; }
.zb-profile-links, .zb-project-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 28px; }
.zb-profile-links { margin-top: 12px; }
.zb-profile-links a, .zb-project-links a, .zb-all-writing { display: inline-flex; align-items: center; column-gap: 7px; min-height: 44px; font-family: var(--zb-sans); font-size: 14px; text-decoration: underline; text-decoration-color: #aaa; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.zb-arrow { display: inline-block; width: 10px; height: 10px; flex: 0 0 10px; vertical-align: baseline; }
.zb-section { display: grid; grid-template-columns: 176px minmax(0, 1fr); column-gap: 32px; border-top: 1px solid var(--zb-rule); padding: 26px 0; }
.zb-site .zb-label { font-family: var(--zb-sans); font-size: 10px; font-weight: 400; letter-spacing: .09em; line-height: 1.5; color: #717171; padding-top: 8px; }
.zb-project-title { font-family: var(--zb-serif); font-size: 44px; line-height: 1.1; font-weight: 400; font-optical-sizing: auto; letter-spacing: -.025em; }
.zb-project-title a { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.zb-site .zb-project-description { margin-top: 5px; font-family: var(--zb-sans); font-size: 15px; line-height: 1.5; color: #555; }
.zb-project-links { margin-top: 6px; }
.zb-notes { scroll-margin-top: 20px; padding-top: 12px; padding-bottom: 15px; }
.zb-notes .zb-label { padding-top: 16px; }
.zb-note-list, .zb-note-list li { list-style: none; }
.zb-note-list li + li { border-top: 1px solid var(--zb-rule); }
.zb-note-list a { display: flex; justify-content: space-between; align-items: center; gap: 22px; padding: 13px 0; min-height: 54px; font-family: var(--zb-serif); font-size: 27px; line-height: 1.15; font-optical-sizing: auto; letter-spacing: -.018em; }
.zb-all-writing { margin-top: 2px; }
.zb-offline { padding: 24px 0; }
.zb-offline-copy { max-width: 760px; font-family: var(--zb-serif); font-size: 27px; line-height: 1.25; font-optical-sizing: auto; letter-spacing: -.015em; }
.zb-footer { border-top: 1px solid var(--zb-rule); padding: 18px 0 22px; font-family: var(--zb-sans); font-size: 11px; color: #717171; }
.zb-skip { position: absolute; left: 24px; top: -100px; z-index: 100; padding: 12px; background: #fff !important; }
.zb-skip:focus { top: 12px; }
@media (max-width: 900px) {
    .zb-site { width: calc(100% - 64px); }
    .zb-hero { grid-template-columns: minmax(0, 1fr) 190px; column-gap: 32px; }
    .zb-portrait { width: 190px; }
    .zb-section { grid-template-columns: 144px minmax(0, 1fr); column-gap: 28px; }
    .zb-intro h1 { font-size: clamp(60px, 8.4vw, 76px); }
    .zb-site .zb-role { font-size: 28px; }
}
@media (max-width: 700px) {
    .zb-site { width: auto; margin: 0 24px; font-size: 15px; }
    .zb-header { min-height: 56px; gap: 18px; position: relative; }
    .zb-wordmark { font-size: 10px; }
    .zb-desktop-nav { display: none; }
    .zb-mobile-menu { display: block; font-size: 13px; }
    .zb-mobile-menu summary { display: flex; align-items: center; justify-content: flex-end; gap: 7px; min-width: 60px; min-height: 44px; cursor: pointer; list-style: none; }
    .zb-mobile-menu summary::-webkit-details-marker { display: none; }
    .zb-menu-symbol::after { content: "+"; }
    .zb-mobile-menu[open] .zb-menu-symbol::after { content: "−"; }
    .zb-mobile-menu nav { position: absolute; top: 55px; left: 0; right: 0; z-index: 10; display: flex; gap: 28px; justify-content: flex-end; background: #fff; border-bottom: 1px solid var(--zb-rule); padding: 8px 0; }
    .zb-mobile-menu nav a { display: inline-flex; align-items: center; min-height: 44px; }
    .zb-hero { display: flex; flex-direction: column; align-items: flex-start; gap: 17px; padding: 20px 0 15px; }
    .zb-portrait { width: 96px; }
    .zb-intro { width: 100%; }
    .zb-intro h1 { font-size: clamp(48px, 14.8vw, 72px); letter-spacing: -.04em; line-height: 1.02; }
    .zb-site .zb-role { margin-top: 6px; font-size: 26px; letter-spacing: -.01em; }
    .zb-profile-links { margin-top: 8px; gap: 0 22px; }
    .zb-profile-links a, .zb-project-links a, .zb-all-writing { font-size: 13px; column-gap: 6px; min-height: 44px; text-underline-offset: 4px; }
    .zb-section { display: block; padding: 20px 0; }
    .zb-site .zb-label, .zb-notes .zb-label { padding-top: 0; margin-bottom: 10px; font-size: 10px; }
    .zb-project-title { font-size: 36px; }
    .zb-site .zb-project-description { margin-top: 4px; font-size: 14px; line-height: 1.5; }
    .zb-project-links { margin-top: 4px; gap: 0 28px; }
    .zb-notes { padding-bottom: 12px; }
    .zb-notes .zb-label { margin-bottom: 2px; }
    .zb-note-list a { padding: 12px 0; min-height: 51px; gap: 14px; font-size: 23px; line-height: 1.2; letter-spacing: -.015em; }
    .zb-all-writing { margin-top: 3px; }
    .zb-offline { padding: 20px 0; }
    .zb-offline-copy { font-size: 23px; line-height: 1.25; }
    .zb-footer { padding: 17px 0 22px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
    html:has(.zb-site) { scroll-behavior: auto; }
    .zb-site a { transition: none; }
}
