.personal-demo { --yuan-ink: #233f32; --yuan-muted: #666b5e; --yuan-paper: #f7f5ed; color: var(--yuan-ink); background: var(--yuan-paper); line-height: 1.75; }
.personal-demo *, .personal-demo *::before, .personal-demo *::after { box-sizing: border-box; }
.personal-demo a { color: inherit; text-decoration: none; }
.personal-demo button, .personal-demo input, .personal-demo select, .personal-demo textarea { font: inherit; }
.personal-demo button, .personal-demo summary { cursor: pointer; }
.personal-demo button:disabled { cursor: not-allowed; opacity: .55; }
.personal-demo :focus-visible { outline: 3px solid #a46a36; outline-offset: 5px; }
.personal-demo [id] { scroll-margin-top: 75px; }
.personal-demo h1, .personal-demo h2, .personal-demo h3, .personal-demo p, .personal-demo figure { margin: 0; }
.personal-demo h1, .personal-demo h2 { font-family: Georgia, 'Times New Roman', 'Noto Serif TC', serif; font-weight: 500; letter-spacing: -.055em; line-height: 1.35; }
.personal-demo .demo-container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 24px; }
.yuan-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 100px; border-bottom: 1px solid #dcded1; }
.yuan-logo { font-size: 31px; font-weight: 700; letter-spacing: .06em; line-height: 1.2; }
.yuan-logo span { display: block; font-size: 9px; font-weight: 500; letter-spacing: .16em; margin-top: 8px; }
.yuan-nav { display: flex; align-items: center; gap: 38px; font-size: 14px; }
.yuan-nav a:last-child { border-bottom: 1px solid; padding-block: 8px; }
.yuan-nav a:hover, .yuan-footer a:hover { color: #8a572b; }
.yuan-mobile-nav { display: none; }
.yuan-hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 70px; align-items: center; padding-block: 70px 84px; }
.yuan-eyebrow { font-size: 10px; font-weight: 600; letter-spacing: .14em; }
.yuan-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #65865d; margin-right: 8px; }
.yuan-hero h1 { font-size: clamp(48px, 5.2vw, 76px); margin: 26px 0; }
.yuan-italic { font-style: italic; color: #658064; }
.yuan-intro { color: var(--yuan-muted); font-size: 15px; line-height: 2; }
.yuan-button { display: inline-flex; justify-content: space-between; align-items: center; gap: 30px; padding: 14px 24px; min-height: 50px; border: 1px solid var(--yuan-ink); border-radius: 2px; background: var(--yuan-ink); color: #fff !important; font-size: 14px; transition: background .2s; }
.yuan-button:hover { background: #395e47; }
.yuan-hero .yuan-button { margin-top: 30px; }
.yuan-hero-note { display: grid; gap: 6px; margin-top: 52px; color: var(--yuan-muted); font-size: 10px; letter-spacing: .09em; }
.yuan-hero-art { position: relative; }
.yuan-hero-art svg { display: block; width: 100%; height: auto; border-radius: 48% 48% 2px 2px; }
.yuan-hero-art figcaption { display: flex; justify-content: space-between; gap: 12px; margin-top: 15px; font-size: 9px; letter-spacing: .08em; }
.yuan-art-stamp { position: absolute; bottom: 64px; left: -36px; display: grid; place-content: center; width: 94px; height: 94px; border: 1px solid #f7f5ed; border-radius: 50%; background: #233f32; color: #f7f5ed; text-align: center; font-size: 10px; line-height: 1.8; letter-spacing: .2em; transform: rotate(-13deg); box-shadow: 0 0 0 6px #233f32; }
.yuan-work { padding-block: 38px 90px; border-top: 1px solid #dcded1; }
.yuan-section-heading { display: flex; justify-content: space-between; gap: 20px; align-items: end; }
.yuan-section-heading h2 { font-size: clamp(28px, 3vw, 42px); margin-top: 14px; }
.yuan-section-heading > p { font-size: 13px; color: var(--yuan-muted); }
.yuan-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0; }
.yuan-filters button { padding: 10px 17px; min-height: 44px; border: 1px solid #d3d7ca; background: transparent; border-radius: 25px; color: var(--yuan-ink); font-size: 12px; }
.yuan-filters button[aria-pressed='true'] { color: #fff; background: var(--yuan-ink); border-color: var(--yuan-ink); }
.yuan-filters small { margin-left: 7px; font-size: 9px; }
.yuan-project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 28px; }
.yuan-project[hidden] { display: none; }
.yuan-project-open { width: 100%; display: block; padding: 0; border: 0; text-align: left; color: inherit; background: none; }
.yuan-project-art { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 1.45; overflow: hidden; }
.yuan-project-arrow { position: absolute; right: 15px; bottom: 15px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: #f7f5ed; font-size: 20px; transition: transform .2s; color: #233f32; }
.yuan-project-open:hover .yuan-project-arrow { transform: rotate(45deg); }
.yuan-project-caption { display: flex; justify-content: space-between; align-items: baseline; margin-top: 15px; gap: 15px; }
.yuan-project-caption strong { display: block; font-size: 18px; font-weight: 500; }
.yuan-project-caption span span, .yuan-project-caption > span:last-child { color: var(--yuan-muted); font-size: 11px; }
.yuan-tea { background: #dddcc6; background-image: linear-gradient(135deg, transparent 55%, #c9c8b0 55%); }
.yuan-tea-box { display: flex; flex-direction: column; justify-content: space-between; width: 30%; height: 67%; padding: 18px; transform: rotate(-8deg); box-shadow: 12px 17px 20px #3d493324; color: #f2e8cb; background: #314d3b; font-family: Georgia, serif; font-size: clamp(24px, 3vw, 40px); }
.yuan-tea-box > span { font: 8px/1.5 system-ui; letter-spacing: .2em; }
.yuan-tea-tin { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 14px; width: 23%; height: 49%; margin-left: 8%; margin-top: 14%; border-radius: 14px 14px 24px 24px; background: linear-gradient(90deg, #c7ba91, #efe6c9 40%, #ded2af); box-shadow: 8px 14px 15px #3d493324; font-size: 32px; }
.yuan-tea-tin > span { font-size: 8px; writing-mode: vertical-rl; letter-spacing: .15em; }
.yuan-light { background: linear-gradient(125deg, #d3b698, #efe0c7 55%, #b8a48e); }
.yuan-light-window { position: absolute; width: 70%; height: 130%; top: -30%; left: -12%; transform: rotate(-30deg); background: repeating-linear-gradient(90deg, #faf0dca6 0 27%, #76655240 27% 30%); border: 14px solid #816e5b40; }
.yuan-light-bowl { position: absolute; width: 34%; height: 25%; right: 15%; bottom: 15%; background: #f6efdd; border-radius: 15% 15% 50% 50%; box-shadow: 18px 15px 12px #6f594839; }
.yuan-light-bowl::before { content: ''; position: absolute; width: 100%; height: 32%; top: -10%; border-radius: 50%; background: #c2b7a1; border: 7px solid #f6efdd; }
.yuan-light-leaf { position: absolute; width: 36%; height: 8px; top: 42%; right: 7%; transform: rotate(-35deg); background: #425b37; border-radius: 50%; }
.yuan-light-leaf::before, .yuan-light-leaf::after { content: ''; position: absolute; width: 38%; height: 37px; border-radius: 0 90%; background: #627652; top: -32px; left: 20%; }
.yuan-light-leaf::after { left: 53%; top: 3px; transform: rotate(30deg); }
.yuan-stay { background: #c0cbbc; }
.yuan-browser { width: 81%; border-radius: 5px; background: #f7f5ed; box-shadow: 12px 20px 25px #31443226; transform: rotate(-4deg); overflow: hidden; }
.yuan-browser-bar { display: flex; justify-content: space-between; padding: 8px 13px; border-bottom: 1px solid #deded4; font-size: 7px; letter-spacing: .2em; }
.yuan-stay-layout { display: grid; grid-template-columns: 1fr 1fr; padding: 22px; gap: 15px; }
.yuan-stay-layout > span:first-child { font-family: Georgia, serif; font-size: 30px; padding-top: 10px; }
.yuan-stay-layout small { display: block; font: 9px/2 system-ui; margin-top: 8px; }
.yuan-stay-line { display: block; width: 55%; height: 4px; background: #516c50; margin-top: 18px; }
.yuan-stay-picture { min-height: 150px; background: radial-gradient(circle at 65% 25%, #f4e4ba 0 12%, transparent 12.5%), linear-gradient(145deg, transparent 45%, #345444 45% 66%, transparent 66%), linear-gradient(35deg, #718c71 55%, #bacab6 55%); border-radius: 48% 48% 0 0; }
.yuan-bloom { background: #e4d5ca; }
.yuan-bloom-poster { display: flex; flex-direction: column; justify-content: space-between; width: 53%; height: 84%; background: #eabfaf; padding: 16px; transform: rotate(6deg); color: #624964; box-shadow: 8px 12px 20px #5c394124; }
.yuan-bloom-poster > span:first-child { font-size: 23px; letter-spacing: .06em; }
.yuan-bloom-poster small { display: block; font-size: 6px; letter-spacing: .2em; }
.yuan-flower { font-size: clamp(90px, 12vw, 154px); line-height: .85; text-align: center; }
.yuan-bloom-bottom { font-size: 8px; text-align: center; }
.yuan-about { background: #eaece0; padding-block: 70px; }
.yuan-about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.yuan-about h2, .yuan-contact h2 { font-size: clamp(30px, 3.3vw, 44px); margin-top: 18px; }
.yuan-signature { display: block; font-family: Georgia, serif; font-style: italic; font-size: 34px; margin-top: 26px; color: #658064; }
.yuan-about-grid > div:last-child { color: var(--yuan-muted); font-size: 14px; }
.yuan-about-grid p + p { margin-top: 18px; }
.yuan-services { display: flex; flex-wrap: wrap; gap: 20px; padding-block: 22px; margin-top: 18px; border-top: 1px solid #cdd2c1; border-bottom: 1px solid #cdd2c1; font-size: 12px; color: var(--yuan-ink); }
.yuan-small { font-size: 11px; color: var(--yuan-muted); }
.yuan-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding-block: 80px; }
.yuan-contact > div > p:not(.yuan-eyebrow) { margin-top: 25px; }
.yuan-form { display: grid; gap: 18px; }
.yuan-form label { display: grid; gap: 8px; font-size: 12px; }
.yuan-form input, .yuan-form select, .yuan-form textarea { min-width: 0; width: 100%; border: 1px solid #cbd0c1; border-radius: 2px; padding: 12px; color: var(--yuan-ink); background: #fffdf6; font-size: 14px; }
.yuan-form textarea { resize: vertical; }
.yuan-form .yuan-button { justify-self: start; }
.yuan-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 18px; align-items: center; border-top: 1px solid #dcded1; padding-block: 25px; font-size: 10px; }
.yuan-footer-logo { font-size: 26px; font-weight: 700; letter-spacing: .08em; }
.yuan-dialog { width: min(680px, calc(100% - 32px)); max-height: calc(100dvh - 40px); padding: 0; border: 0; background: var(--yuan-paper); color: var(--yuan-ink); overflow-y: auto; }
.yuan-dialog::backdrop { background: #15251fd1; }
.yuan-dialog-close { position: absolute; z-index: 1; right: 12px; top: 12px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fffdf6; color: #233f32; }
.yuan-dialog-copy { padding: 30px; }
.yuan-dialog-copy h2 { font-size: 32px; margin-block: 10px 15px; }
.yuan-dialog-copy p { margin-bottom: 20px; }
.yuan-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 760px) {
    .yuan-header { min-height: 82px; }
    .yuan-logo { font-size: 26px; }
    .yuan-nav { display: none; }
    .yuan-mobile-nav { display: block; position: relative; font-size: 13px; }
    .yuan-mobile-nav summary { padding: 12px; min-height: 44px; }
    .yuan-mobile-nav nav { position: absolute; right: 0; top: 52px; width: 190px; z-index: 3; padding: 12px; border: 1px solid #cbd0c1; background: #f7f5ed; box-shadow: 0 12px 24px #233f321a; }
    .yuan-mobile-nav a { display: block; padding: 12px; }
    .yuan-hero { grid-template-columns: 1fr; gap: 38px; padding-block: 40px 50px; }
    .yuan-hero h1 { font-size: 52px; }
    .yuan-hero-note { margin-top: 28px; }
    .yuan-hero-art { width: 90%; justify-self: end; }
    .yuan-art-stamp { left: -20px; width: 76px; height: 76px; font-size: 8px; }
    .yuan-section-heading { align-items: start; flex-direction: column; gap: 12px; }
    .yuan-project-grid { grid-template-columns: 1fr; gap: 30px; }
    .yuan-work { padding-block: 30px 50px; }
    .yuan-filters { gap: 7px; margin-block: 24px; }
    .yuan-filters button { padding-inline: 12px; }
    .yuan-tea-box { font-size: 32px; }
    .yuan-flower { font-size: 112px; }
    .yuan-about { padding-block: 45px; }
    .yuan-about-grid, .yuan-contact { grid-template-columns: 1fr; gap: 32px; }
    .yuan-contact { padding-block: 50px; }
    .yuan-footer > span:nth-child(2) { order: 3; width: 100%; }
    .yuan-dialog-copy { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) { .personal-demo * { transition: none !important; scroll-behavior: auto !important; } }
