:root{--ink:#302d28;--muted:#746f65;--line:#ddd6ca;--paper:#f7f4ee;--white:#ffffff;--accent:#7a7153;--accent-soft:#eee9dc;--warm:#9a684c;--dark:#50483c}
body{background:var(--paper);color:var(--ink)}
.topbar{height:72px;background:rgba(250,248,243,.95);border-bottom:1px solid var(--line);box-shadow:0 4px 18px rgba(67,57,44,.035)}
.identity b{font-size:18px;letter-spacing:-.02em}.identity span{color:var(--muted);font-weight:500;letter-spacing:.03em}
.identity b::before{content:"王宥媛 ";font-weight:650}.identity b{white-space:nowrap}
.topbar nav a{padding:7px 0}.resume-link{color:var(--accent);border-bottom:1px solid #b9ad90}
.masthead{min-height:590px;padding:0;display:grid;grid-template-columns:minmax(0,3fr) minmax(440px,2fr);gap:0;background:#fbfaf8;align-items:stretch}
.masthead-main{padding:clamp(68px,8vw,118px) clamp(30px,7vw,110px);display:flex;flex-direction:column;justify-content:center}
.masthead .overline{color:var(--accent);margin-bottom:24px}
.masthead h1{font-family:Arial,"Noto Sans TC",sans-serif;font-size:clamp(62px,7.5vw,108px);font-weight:650;letter-spacing:-.065em;line-height:.9;color:var(--ink)}
.masthead h1 span{display:block;margin-top:18px;font-size:.28em;font-weight:600;letter-spacing:.08em;color:var(--accent);line-height:1}
.role-line{font-size:clamp(22px,2.3vw,34px);font-weight:650;line-height:1.35;letter-spacing:-.03em;margin:38px 0 18px;max-width:780px}
.masthead-copy{font-size:16px;line-height:1.9;max-width:760px;color:var(--muted)}
.profile-line{display:flex;gap:10px 22px;flex-wrap:wrap;margin-top:27px;padding-top:19px;border-top:1px solid var(--line);font-size:11px;font-weight:650;color:var(--muted)}
.profile-line span:before{content:"";display:inline-block;width:5px;height:5px;background:#a69b7d;border-radius:50%;margin:0 8px 1px 0}
.masthead-facts{padding:clamp(50px,7vw,92px) clamp(28px,4vw,54px);background:#eee9de;color:var(--ink);border:0;display:flex;flex-direction:column;justify-content:center}
.hero-portrait{display:grid;place-items:center;margin:0 0 24px}.hero-portrait>div{width:clamp(200px,17vw,255px);aspect-ratio:1;border-radius:50%;overflow:hidden;background:#fff;border:9px solid #fff;box-shadow:0 14px 34px rgba(74,63,47,.10)}.hero-portrait img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 44%;background:#fff;transform:scale(1.28);transform-origin:center 58%}
.masthead-facts>div{padding:24px 0;border-bottom:1px solid #d7cfbf}.masthead-facts>div:first-child{border-top:1px solid #d7cfbf}
.masthead-facts span{color:var(--accent);font-size:10px}.masthead-facts strong{font-size:20px;font-weight:650}.masthead-facts p{color:var(--muted);font-size:12px}
.decision-note{background:#e8e1d3;color:var(--ink);padding-top:21px;padding-bottom:21px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.decision-note a{color:#6d6247}
.case-directory{display:grid;grid-template-columns:repeat(4,1fr);gap:0;padding:0 clamp(22px,7vw,110px);background:#fff;border-bottom:1px solid var(--line)}
.case-directory a{display:grid;grid-template-columns:37px 1fr;padding:23px 18px 23px 0;border-right:1px solid var(--line)}
.case-directory a+a{padding-left:18px}.case-directory span{grid-row:1/3;font-family:Arial,sans-serif;color:#a29678;font-weight:600;font-size:18px}.case-directory b{font-size:13px;font-weight:650}.case-directory small{font-size:10px;color:var(--muted)}.case-directory a:hover{background:#f5f1e9}
.work-section{background:var(--paper);padding-top:105px}.section-intro{border-left:3px solid #b9ad90;padding-left:26px}.section-intro .overline{color:var(--accent)}
.section-intro h2,.experience-title h2,.scope-section h2,.supporting-work h2,.contact-section h2{font-family:Arial,"Noto Sans TC",sans-serif;font-weight:650;letter-spacing:-.045em}
.case-row{background:rgba(255,255,255,.78);margin:0 0 32px;padding:46px;border:1px solid var(--line);box-shadow:0 12px 35px rgba(37,41,54,.045);grid-template-columns:80px minmax(0,1.15fr) minmax(240px,.42fr);border-radius:14px}
.case-row:last-child{border-bottom:1px solid var(--line)}.case-index span{font-family:Arial,sans-serif;font-size:34px;font-weight:600;color:#9d9274}.case-index p{color:var(--muted);font-weight:600}.case-status{display:inline-block;background:var(--accent-soft);color:var(--accent);padding:4px 9px;border-radius:999px}.case-status.amber{background:#f3e9e1;color:var(--warm)}
.case-content h3{font-size:clamp(30px,3.3vw,46px);font-weight:650}.case-lead{color:var(--muted)}
.case-logic{display:grid;grid-template-columns:repeat(3,1fr);margin:30px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.case-logic>div{padding:18px 18px 18px 0}.case-logic>div+div{padding-left:18px;border-left:1px solid var(--line)}.case-logic span{display:block;font-size:9px;font-weight:750;letter-spacing:.12em;color:var(--accent);margin-bottom:7px}.case-logic b{font-weight:600}
.case-result{background:#f0ebe1;border:0;border-left:3px solid #b4a888}.case-evidence{background:#f2eee6;border:1px solid #ddd4c6;border-top:4px solid #b1a583;border-radius:10px}
.case-evidence>img{display:block;width:100%;max-height:230px;object-fit:cover;object-position:top;border-radius:6px}
.evidence-pair{display:grid;grid-template-columns:1fr 1fr;gap:7px}.evidence-pair img{display:block;width:100%;height:220px;object-fit:contain;background:#fff;border-radius:6px}
.browser-frame{border:1px solid #d4ccbe;border-radius:6px}.queue-screen{background:#5a5144;border-radius:6px}.case-link{display:inline-block;color:var(--accent);border-bottom:1px solid #b9ad90;padding:7px 0;font-weight:700}.case-link:hover{color:#5f563f}
.experience-section{background:#eee9df;color:var(--ink);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.experience-title .overline,.role-history time{color:var(--accent)}.role-history>div{border-color:#d5cdbf}.role-history p,.experience-detail>p,.experience-detail li{color:var(--muted)}.boundary{background:#faf8f3;border-color:#d8d0c3;color:var(--muted)}.experience-detail h3{font-size:32px;font-weight:600;color:var(--ink)}
.experience-section{display:grid;grid-template-columns:minmax(300px,.75fr) minmax(0,1.45fr);gap:clamp(55px,7vw,110px);padding:clamp(82px,9vw,130px) clamp(22px,7vw,110px)}
.experience-profile h2{font-family:Arial,"Noto Sans TC",sans-serif;font-size:clamp(48px,5vw,72px);font-weight:650;letter-spacing:-.05em;line-height:1.05;margin:14px 0 28px}.experience-summary{font-size:17px;line-height:1.9;color:var(--muted);margin:0 0 32px}
.experience-meta{margin:0;border-top:1px solid #d3cbbb}.experience-meta>div{display:grid;grid-template-columns:90px 1fr;gap:18px;padding:18px 0;border-bottom:1px solid #d3cbbb}.experience-meta dt{font-size:14px;font-weight:700;color:var(--accent)}.experience-meta dd{margin:0;font-size:17px;font-weight:650;line-height:1.65}.experience-meta dd span{font-size:14px;font-weight:500;color:var(--muted)}
.experience-responsibilities>h3{font-size:30px;margin:0 0 27px}.responsibility-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:#d6cebf;border:1px solid #d6cebf}.responsibility-grid article{padding:28px;background:#f8f5ee}.responsibility-grid article>span{font-size:14px;font-weight:700;color:var(--accent)}.responsibility-grid h4{font-size:20px;line-height:1.45;margin:12px 0 10px}.responsibility-grid p{font-size:16px;line-height:1.8;color:var(--muted);margin:0}
.scope-section{background:#fff}.scope-table>div{border-color:var(--line)}.scope-table b{color:#756b4f}
.scope-section{grid-template-columns:minmax(280px,.6fr) minmax(0,1.5fr);gap:clamp(48px,7vw,110px);align-items:start}.scope-section header{position:sticky;top:110px}.scope-content{min-width:0}.skill-focus-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.skill-focus-grid article{padding:28px;background:#f7f4ed;border:1px solid var(--line)}.skill-focus-grid article:nth-child(3){grid-column:1/-1}.skill-focus-grid article>span{font-size:14px;font-weight:750;color:var(--accent)}.skill-focus-grid h3{font-size:24px;line-height:1.4;margin:13px 0 12px}.skill-focus-grid p{font-size:17px;line-height:1.8;color:var(--muted);margin:0 0 18px}.skill-focus-grid ul{margin:0;padding:16px 0 0 20px;border-top:1px solid var(--line)}.skill-focus-grid li{font-size:16px;line-height:1.8}.learning-strip{display:grid;grid-template-columns:220px 1fr;gap:25px;margin-top:14px;padding:22px 25px;border:1px solid var(--line)}.learning-strip b{font-size:17px;color:var(--accent)}.learning-strip p{font-size:16px;line-height:1.75;color:var(--muted);margin:0}
.supporting-work{background:#ebe5da}.support-grid{grid-template-columns:repeat(3,1fr);background:var(--line);border-color:var(--line)}.support-grid article{background:#faf8f3}.support-grid small{color:var(--accent);border-color:var(--line)}
.credentials-section{padding:96px clamp(22px,7vw,110px);background:#faf9f7;border-top:1px solid var(--line)}.credentials-section header{max-width:720px}.credentials-section header>p:last-child{color:var(--muted)}.credentials-section h2{font-family:Arial,"Noto Sans TC",sans-serif;font-size:clamp(38px,4vw,58px);letter-spacing:-.045em;margin:12px 0}.credentials-grid{display:grid;grid-template-columns:1fr 1.5fr .8fr;gap:1px;margin-top:38px;background:var(--line);border:1px solid var(--line)}.credentials-grid article{padding:30px;background:#fff}.credentials-grid article>span{font-size:9px;font-weight:750;letter-spacing:.13em;color:var(--accent)}.credentials-grid h3{font-size:19px;margin:14px 0 10px}.credentials-grid p,.credentials-grid li,.credentials-grid small{color:var(--muted);font-size:13px;line-height:1.75}.credentials-grid ul{margin:0;padding-left:18px}
.contact-section{background:#e6dfd2;border-top:1px solid var(--line)}.contact-section a{background:#655c49;border-radius:6px}footer{background:#fff;color:var(--ink);border-top:1px solid var(--line)}footer span{color:var(--muted)}
.contact-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;min-width:min(100%,460px)}.contact-actions a{display:grid;gap:3px;padding:14px 17px;color:#fff}.contact-actions small{font-size:9px;letter-spacing:.13em;opacity:.72}.contact-actions b{font-size:13px}.contact-actions .resume-action{grid-column:1/-1;background:#fff;color:var(--ink);border:1px solid #d2c9ba}
@media(max-width:1050px){.masthead{grid-template-columns:1fr}.masthead-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.hero-portrait{grid-column:1/-1}.masthead-facts>div,.masthead-facts>div:first-child{border-top:1px solid #d7cfbf}.case-row{grid-template-columns:60px 1fr}.case-evidence{grid-column:2}}
@media(max-width:760px){.masthead-main{padding:65px 22px}.masthead h1{font-size:60px}.masthead-facts{grid-template-columns:1fr;padding:36px 22px;gap:0}.case-directory{grid-template-columns:1fr 1fr}.case-directory a:nth-child(2){border-right:0}.case-row{grid-template-columns:1fr;padding:25px;border-radius:10px}.case-evidence{grid-column:1}.case-index p{writing-mode:horizontal-tb}.case-logic{grid-template-columns:1fr}.case-logic>div+div{border-left:0;border-top:1px solid var(--line);padding-left:0}.section-intro{padding-left:18px}.credentials-grid{grid-template-columns:1fr}.contact-actions{grid-template-columns:1fr}.contact-actions .resume-action{grid-column:auto}}

.project-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:28px}
.project-gallery figure{margin:0;padding:10px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 8px 24px rgba(37,41,54,.04)}
.project-gallery img{display:block;width:100%;border-radius:7px;background:#efebe3}
.project-gallery figcaption{display:grid;gap:4px;padding:13px 5px 5px;color:var(--muted);font-size:13px;line-height:1.6}
.project-gallery figcaption b{color:var(--ink);font-size:15px}
.corporate-gallery img{aspect-ratio:16/9;object-fit:cover;object-position:top}
.corporate-gallery figure:first-child{grid-column:1/-1}
.queue-gallery img{height:360px;object-fit:contain;object-position:center}
@media(max-width:760px){.project-gallery{grid-template-columns:1fr}.corporate-gallery figure:first-child{grid-column:auto}.queue-gallery img{height:auto;max-height:520px}}

/* Readability pass */
body{font-size:17px}
.topbar nav{font-size:15px}.identity span{font-size:14px}
.overline{font-size:13px}.masthead-copy{font-size:18px;line-height:1.9}.profile-line{font-size:14px}
.masthead-facts span{font-size:14px}.masthead-facts strong{font-size:23px;line-height:1.4}.masthead-facts p{font-size:16px;line-height:1.75}
.decision-note p,.decision-note a{font-size:16px}
.case-directory b{font-size:17px}.case-directory small{font-size:14px;line-height:1.55}
.section-intro>p:last-child{font-size:17px}.case-status{font-size:14px}
.case-lead{font-size:18px;line-height:1.85}.case-logic span{font-size:14px}.case-logic b{font-size:16px;line-height:1.7}
.case-result span{font-size:14px}.case-result b{font-size:16px}.ownership{font-size:16px;line-height:1.75}.ownership b,.ownership span{font-size:16px}
.interface-strip,.decision-block p,.process-line{font-size:16px}.interface-strip b,.decision-block b{font-size:17px}
.scale-grid span{font-size:14px}.scale-grid b{font-size:20px}
.case-evidence>p,.case-evidence li{font-size:15px}.case-link{font-size:16px}
.role-history time{font-size:14px}.role-history h3{font-size:21px}.role-history p{font-size:16px}
.experience-detail>p,.experience-detail li,.boundary{font-size:16px;line-height:1.85}
.scope-table b{font-size:18px}.scope-table p{font-size:16px;line-height:1.85}
.support-grid span{font-size:14px}.support-grid h3{font-size:23px}.support-grid p,.support-grid small{font-size:16px;line-height:1.75}
.credentials-section header>p:last-child{font-size:16px}.credentials-grid article>span{font-size:14px}.credentials-grid h3{font-size:21px}.credentials-grid p,.credentials-grid li,.credentials-grid small{font-size:16px}
.contact-section p{font-size:16px}.contact-actions small{font-size:13px}.contact-actions b{font-size:16px}
.case-hero .intro{font-size:20px;line-height:1.9}.case-meta small{font-size:14px}.case-meta b{font-size:17px}
.case-chapter>h2{font-size:31px}.case-chapter h3{font-size:22px}.case-chapter p,.pain-list p,.action-list p{font-size:16px;line-height:1.85}
.pain-list b,.action-list b,.architecture b{font-size:18px}.architecture div{font-size:16px;line-height:1.7}
.project-gallery figcaption{font-size:16px}.project-gallery figcaption b{font-size:18px}
.problem-rows{border-top:1px solid var(--line)}.problem-rows>div{display:grid;grid-template-columns:minmax(170px,.32fr) 1fr;gap:28px;padding:23px 0;border-bottom:1px solid var(--line)}.problem-rows b{font-size:18px}.problem-rows p{font-size:16px;line-height:1.85;margin:0}
.stack-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.stack-details>div{padding:22px;border:1px solid var(--line);background:var(--paper)}.stack-details>div:last-child{grid-column:1/-1}.stack-details b{font-size:18px}.stack-details p{font-size:16px;line-height:1.8;margin:8px 0 0}
@media(max-width:760px){.problem-rows>div{grid-template-columns:1fr;gap:8px}.stack-details{grid-template-columns:1fr}.stack-details>div:last-child{grid-column:auto}}
@media(max-width:900px){.experience-section{grid-template-columns:1fr}.responsibility-grid{grid-template-columns:1fr}}
@media(max-width:900px){.scope-section{grid-template-columns:1fr}.scope-section header{position:static}.skill-focus-grid{grid-template-columns:1fr}.skill-focus-grid article:nth-child(3){grid-column:auto}.learning-strip{grid-template-columns:1fr;gap:8px}}
@media(max-width:900px){.support-grid{grid-template-columns:1fr}}
