/* Keepers of Memory v0.54.17-beta — a personal invitation for the homepage surface. */
@font-face{font-family:Fell;src:url('/assets/fonts/fell.ttf') format('truetype');font-display:swap;font-style:normal;font-weight:400}
@font-face{font-family:Abyssinica;src:url('/assets/fonts/abyssinica.ttf') format('truetype');font-display:swap;font-style:normal;font-weight:400}
.invitation-home{background:#40342a}
#surface{--paper:#382b20;--deep:#f6ebd3;--gold:#813e2c;--gold-bright:#813e2c;--serif:Abyssinica,Georgia,serif;color:#382b20;color-scheme:light;font:19px/1.7 var(--serif)}
#surface h1,#surface h2{font-family:Fell,Georgia,serif;font-weight:400;color:#7c3626;text-wrap:pretty}
#surface p{margin-bottom:20px}
.home-header{width:min(1060px,calc(100% - 48px));margin:auto;min-height:76px;display:flex;justify-content:space-between;align-items:center;gap:24px;color:#e2d0b3;font:13px/1.5 var(--sans)}
.home-header a{display:inline-flex;align-items:center;min-height:44px;text-decoration:none}
.home-header a:hover{text-decoration:underline}
.home-header nav{display:flex;flex-wrap:wrap;gap:4px 28px}
.home-header nav a{gap:10px}
.home-wordmark{white-space:nowrap}
.home-letter{position:relative;width:min(820px,calc(100% - 44px));margin:10px auto 28px;padding:42px 68px 36px;background:#e9d7b2;box-shadow:5px 9px 0 #302820}
.home-letter::before{content:'';position:absolute;top:0;bottom:0;left:0;width:10px;background:#d7c298;clip-path:polygon(0 0,100% 2%,50% 15%,100% 39%,50% 55%,100% 80%,60% 100%,0 100%);pointer-events:none}
.home-letter::after{content:'';position:absolute;bottom:0;right:0;width:28px;height:28px;background:#c6ae83;clip-path:polygon(100% 0,100% 100%,0 100%);pointer-events:none}
.home-sender{display:flex;align-items:center;gap:19px;margin-bottom:30px}
#surface .home-sender p{font:23px/1.3 Fell,Georgia,serif;margin:0}
.home-sender span{display:block;margin-top:5px;color:#7b3828;font:14px/1.5 var(--serif)}
.home-mark{width:65px;height:72px;flex:none;transform:rotate(-7deg)}
.home-mark-outline{fill:#853e2c;stroke:#6e3224;stroke-width:2}.home-mark-inner{fill:none;stroke:#b46e45;stroke-width:1.2}.home-mark-cut{fill:none;stroke:#efdcad;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round}
#surface h1{font-size:38px;line-height:1.25;margin-bottom:25px}
.home-opening>p:not(.home-fine){font-size:21px;line-height:1.65;max-width:46ch}
.home-play{display:flex;justify-content:space-between;align-items:center;gap:16px;width:100%;min-height:54px;padding:14px 20px;background:#813e2c;border:1px solid #6e3224;color:#fff1cf;font:15px/1.5 var(--sans);text-decoration:none;margin-top:28px}
.home-play:hover{background:#6c3222}.home-play span{font-size:22px;line-height:1}
#surface .home-fine{font:12px/1.7 var(--sans);color:#66503a;margin:11px 0 0}
.home-illustration{margin:32px 0 35px}
.home-illustration img{width:100%;height:auto;object-fit:contain}
.home-illustration figcaption{font:14px/1.6 var(--serif);color:#66503a;margin-top:10px}
.home-section{margin-top:34px;scroll-margin-top:28px}
#surface h2{font-size:28px;line-height:1.3;margin-bottom:15px}
.home-section>p{font-size:19px;line-height:1.7}
.home-eras{margin:18px 0 0}
.home-eras>div{display:grid;grid-template-columns:118px 1fr;gap:16px;padding:10px 0}
.home-eras dt{font:23px/1.4 Fell,Georgia,serif;color:#7c3626}
.home-eras dd{margin:0;font-size:17px;line-height:1.7}
#surface .home-history{margin-top:20px}
.home-closing{margin-top:42px}
.home-community-link{display:flex;align-items:center;justify-content:space-between;gap:20px;width:fit-content;max-width:100%;min-height:48px;margin:4px 0 24px;padding:10px 18px;border:1px solid #813e2c;color:#7c3626;font:16px/1.5 var(--sans);text-decoration:none}
.home-community-link:hover{background:#dfc69b;text-decoration:underline}
.home-community-link:focus-visible{outline:3px solid #813e2c;outline-offset:4px}
#surface .home-signature{display:inline-block;font:26px/1.4 Fell,Georgia,serif;color:#763a28;transform:rotate(-3deg);margin:0 0 4px 8px}
.home-closing .home-play{margin-top:22px}
.home-footer{width:min(820px,calc(100% - 44px));margin:0 auto 32px;color:#e2d0b3;font:12px/1.7 var(--sans);display:flex;justify-content:space-between;align-items:center;gap:28px}
#surface .home-footer p{margin:0 0 8px}
.home-footer nav{display:flex;gap:4px 20px;flex-wrap:wrap}.home-footer nav a{display:inline-flex;align-items:center;min-height:34px}
.home-secret{display:flex;align-items:center;gap:10px;max-width:190px}
.home-secret .glyph{color:#d9bb88;flex:none}
#surface .home-secret p{font:13px/1.5 Fell,Georgia,serif;margin:0}
.home-header :focus-visible,.home-footer :focus-visible{outline-color:#e9d7b2}
@media(max-width:780px){.home-letter{padding:35px 46px 32px}.home-header{min-height:64px}.home-footer{flex-direction:column;align-items:flex-start;gap:16px}.home-secret{max-width:none}}
@media(max-width:480px){.home-header{width:calc(100% - 36px);gap:8px;padding:10px 0;flex-wrap:wrap;font-size:12px}.home-header nav{gap:22px}.home-header a{min-height:36px}.home-letter{width:calc(100% - 28px);padding:28px 26px 28px;margin-top:6px}.home-sender{gap:14px;margin-bottom:24px}.home-mark{width:49px;height:56px}#surface .home-sender p{font-size:21px}.home-sender span{font-size:13px}#surface h1{font-size:31px;margin-bottom:22px}.home-opening>p:not(.home-fine){font-size:19px}.home-play{padding:13px 15px;font-size:14px}.home-illustration{margin:26px 0 30px}.home-illustration figcaption{font-size:13px}.home-section{margin-top:28px}#surface h2{font-size:26px}.home-section>p{font-size:18px}.home-eras>div{grid-template-columns:1fr;gap:3px;padding:9px 0}.home-eras dt{font-size:23px}.home-eras dd{font-size:16px}.home-closing{margin-top:34px}.home-footer{width:calc(100% - 44px)}}
