:root { color-scheme: dark; --ink: #08251d; --cream: #fff1c9; --gold: #f1cf83; }
* { box-sizing: border-box; }
html { background: var(--ink); }
body { margin: 0; color: var(--cream); font-family: "Noto Serif CJK SC", "Songti SC", "STSong", serif; }
a { color: inherit; -webkit-tap-highlight-color: transparent; }
.home { isolation: isolate; position: relative; display: flex; flex-direction: column; width: 100%; max-width: 520px; min-height: 568px; min-height: max(568px, 100svh); margin-inline: auto; padding: max(25px, env(safe-area-inset-top)) 24px max(22px, env(safe-area-inset-bottom)); overflow: hidden; }
.stage-art { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.brand { display: flex; align-items: center; justify-content: space-between; flex: none; }
.brand img { display: block; width: 106px; height: auto; }
.year { font: italic 26px/1 Georgia, "Times New Roman", serif; }
.headline { flex: none; text-align: center; margin-top: clamp(25px, 4svh, 40px); text-shadow: 0 2px 10px #001b14; }
.eyebrow { margin: 0 0 18px; font: 600 13px/1.5 Georgia, "Times New Roman", serif; letter-spacing: .3em; padding-left: .3em; }
h1 { margin: 0; font: italic 400 clamp(33px, 9.6vw, 44px)/1.08 Georgia, "Times New Roman", serif; letter-spacing: -.04em; }
h1 span { display: block; }
.chinese-title { margin: 15px 0 0; font-size: clamp(20px, 5.7vw, 26px); line-height: 1.5; letter-spacing: .015em; }
.scene-space { flex: 1; min-height: 270px; }
.actions { display: flex; flex-direction: column; align-items: center; gap: 6px; padding-top: 14px; flex: none; }
.primary { display: flex; align-items: center; justify-content: center; width: min(100%, 270px); min-height: 52px; padding: 9px 24px; border: 1px solid #fff0c0; border-radius: 100px; background: #eac77a; color: #14261b; font-size: 24px; font-weight: 600; line-height: 1.35; text-decoration: none; box-shadow: inset 0 2px 6px #fff3ce, 0 0 24px #f2cc7130; transition: transform .16s, background .16s; }
.secondary { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 14px; font: 16px/1.5 system-ui, sans-serif; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.chevron { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-top: 1.5px solid currentColor; transform: rotate(45deg); }
a:focus-visible { outline: 3px solid #fff; outline-offset: 5px; }
.primary:active { transform: scale(.98); }
@media (hover: hover) { .primary:hover { background: #ffe1a1; } .secondary:hover { color: white; } }
@media (max-height: 700px) { .home { padding-top: max(22px, env(safe-area-inset-top)); padding-bottom: max(16px, env(safe-area-inset-bottom)); } .headline { margin-top: 22px; } .eyebrow { margin-bottom: 12px; } .chinese-title { margin-top: 10px; } .actions { gap: 2px; } }
@media (max-width: 350px) { .home { padding-inline: 18px; } h1 { font-size: 32px; } .chinese-title { font-size: 19px; } .primary { width: 240px; } }
@media (min-width: 700px) { .home { box-shadow: 0 0 90px #0007; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.document-page { max-width: 600px; min-height: 100svh; margin: auto; padding: max(16px, env(safe-area-inset-top)) 16px max(20px, env(safe-area-inset-bottom)); }
.document-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; font: 15px/1.5 system-ui, sans-serif; }
.document-nav a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 5px; }
.document-nav h1 { font: 400 18px/1.5 system-ui, sans-serif; letter-spacing: 0; }
.document-art { display: block; width: 100%; height: auto; }
.invitation-paper { background: #15352c url('/assets/invitation-background.jpg') center / cover; }
.document-actions { display: flex; justify-content: center; padding-top: 24px; }

@media (max-height: 600px) { .scene-space { min-height: 190px; } .headline { margin-top: 16px; } }
