/* Restore published profile content in the current navy/teal design. */
.section-pages{min-height:100vh;display:flex;flex-direction:column}
.section-pages main{flex:1}
.section-pages main>[data-page][hidden]{display:none!important}
.section-pages nav a[aria-current="page"]{color:#246f75;text-decoration:underline;text-decoration-thickness:3px;text-underline-offset:8px}
.section-pages[data-current-page="contact"] main{display:flex;align-items:center;justify-content:center;padding-block:40px}
.section-pages .contact-card{width:min(640px,100%);margin:0;padding:44px 32px;display:flex;flex-direction:column;gap:16px;text-align:center;background:#eef8f8;border-color:#d8e5e8}
.contact-card .contact-eyebrow{font-size:13px;font-weight:800;letter-spacing:2px;color:#246f75;margin:0}
.contact-card h2{font-size:32px;line-height:1.4}
.contact-card .contact-description{font-size:16px;color:#42576c;margin:0}
.contact-card .contact-address{font-size:18px;font-weight:700;overflow-wrap:anywhere;margin:4px 0 0}
.contact-actions,.footer-contact-actions{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px}
.contact-actions{margin-top:8px}
.profile-page a.contact-email,.profile-page a.contact-github{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:12px 18px;border-radius:8px;font-size:15px;font-weight:700;text-decoration:none;border:1px solid #246f75;overflow-wrap:anywhere}
.profile-page a.contact-email{background:#246f75;color:#fff}
.profile-page a.contact-email:hover{background:#18575c;border-color:#18575c}
.profile-page a.contact-github{background:#fff;color:#246f75}
.profile-page a.contact-github:hover{background:#e0f0f0}
.profile-page a.contact-phone{display:none;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:12px 14px;border:1px solid #246f75;border-radius:8px;background:#246f75;color:#fff;font-size:14px;font-weight:700;text-decoration:none}
.profile-page a.contact-phone:hover{background:#18575c;border-color:#18575c}
@media(max-width:700px){.profile-page a.contact-phone{display:inline-flex}}
.profile-footer{padding:0 0 18px}
.footer-contact{border-top:1px solid #d8e5e8;padding:24px 0;display:flex;align-items:center;justify-content:space-between;gap:20px;text-align:left}
.footer-contact-copy strong{font-size:17px;color:#0b2349}
.footer-contact-copy p{font-size:14px;margin:4px 0 0}
.profile-footer .copyright{font-size:13px;margin:12px 0 0}
.section-pages[data-current-page="contact"] .footer-contact{display:none}
@media(max-width:700px){.footer-contact{flex-direction:column;align-items:stretch;text-align:left}.footer-contact-actions{width:100%}.section-pages .contact-card{padding:32px 20px}.contact-card h2{font-size:28px}}
@media(max-width:400px){.contact-actions{width:100%;flex-direction:column}.contact-actions a,.footer-contact-actions a{width:100%}.profile-page a.contact-email{padding-inline:12px;font-size:14px}}
.restored-section{padding:30px 0;scroll-margin-top:24px}
.restored-section>.container{width:100%;margin:0}
.restored-section .section-title{font-size:29px;line-height:1.4;margin:0 0 24px;letter-spacing:-.6px}
.restored-section .section-title:after{content:"";display:block;width:42px;height:3px;background:#246f75;margin-top:8px;border-radius:2px}
.restored-section .card{background:#eef8f8;border:1px solid #d8e5e8;border-radius:12px;padding:26px;min-width:0}
.restored-section h3{font-size:21px;line-height:1.45;letter-spacing:-.4px}
.restored-section p,.restored-section li{font-size:16px;word-break:keep-all;overflow-wrap:anywhere}
.restored-section svg{width:42px;height:42px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.restored-section .about-card{display:grid;grid-template-columns:130px minmax(0,1fr);gap:32px;align-items:center}
.restored-section .about-card p{margin:0}
.restored-section .about-icon,.restored-section .skill-icon{display:flex;align-items:center;justify-content:center;background:#e0f0f0;color:#155866;border-radius:18px}
.restored-section .about-icon{height:112px;width:112px}
.restored-section .chips{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px}
.restored-section .chip{display:inline-flex;align-items:center;gap:8px;padding:9px 16px;border:1px solid #cadfe1;border-radius:28px;background:#fff;font-weight:700;font-size:15px}
.restored-section .chip svg{width:20px;height:20px;color:#246f75}
.restored-section .skills-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.restored-section .skill-card{text-align:center;padding:26px 18px}
.restored-section .skill-icon{width:72px;height:72px;margin:0 auto 18px}
.restored-section .skill-card p{margin-top:12px;color:#42576c}
.restored-section .skill-note{margin:18px 0 0;padding:16px 20px;background:#f4f7f9;border-left:3px solid #246f75;font-size:14px}
.restored-section .career-card{display:block;padding:0;overflow:hidden}
.restored-section .job{padding:26px;border-bottom:1px solid #d8e5e8}
.restored-section .job:last-child{border:0;background:#f4f7f9}
.restored-section .job-left{display:flex;gap:18px;align-items:center}
.restored-section .job-icon{display:flex;justify-content:center;align-items:center;width:58px;height:58px;flex:0 0 58px;border-radius:50%;background:#0b2349;color:#fff}
.restored-section .job-icon svg{width:32px;height:32px}
.restored-section .job-icon.gray{background:#526174}
.restored-section .company{font-size:18px;color:#42576c}
.restored-section .date{font-size:15px;color:#246f75;font-weight:700;margin-top:4px}
.restored-section .job ul{margin:18px 0 0 76px;padding-left:20px}
.restored-section .career-note{margin:18px 0 0 76px;padding-top:14px;border-top:1px solid #d8e5e8;font-size:14px;line-height:1.7;color:#42576c}
@media(max-width:500px){.restored-section .career-note{margin-left:0}}
.restored-section li+li{margin-top:6px}
.restored-section .projects-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.restored-section .project-summary{font-size:14px;color:#42576c;margin:12px 0 18px}
.restored-section .project-head{display:flex;gap:16px;justify-content:space-between;align-items:flex-start;margin:18px 0}
.restored-section .project-head img{width:145px;height:80px;object-fit:contain;flex:0 0 145px}
.restored-section .tags{display:flex;flex-wrap:wrap;gap:6px;min-width:0}
.restored-section .tag{background:#dff0f1;color:#155866;border-radius:18px;padding:4px 9px;font-size:12px;font-weight:700}
.restored-section .project-card ul{padding-left:20px;margin:16px 0}
.restored-section .health-log-layout{display:grid;grid-template-columns:minmax(0,1fr) 100px;gap:18px;margin-top:20px}
.restored-section .project-phone-preview{width:100px;height:230px;object-fit:cover;object-position:top;border-radius:10px;border:1px solid #cadfe1}
.restored-section .project-link{display:flex;justify-content:center;align-items:center;gap:12px;min-height:48px;padding:12px 16px;background:#246f75;color:#fff;border-radius:8px;text-decoration:none;font-size:15px;font-weight:700;margin-top:18px}
.restored-section .project-link:hover{background:#18575c}
.restored-section .project-more{margin-top:16px;border-top:1px solid #d8e5e8;padding-top:8px}
@media(max-width:800px){.restored-section .skills-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.restored-section .projects-grid{grid-template-columns:1fr}.restored-section .about-card{grid-template-columns:80px minmax(0,1fr);gap:20px}.restored-section .about-icon{width:80px;height:80px}}
@media(max-width:500px){.restored-section{padding:24px 0}.restored-section .card{padding:20px 18px}.restored-section .section-title{font-size:26px}.restored-section .about-card{grid-template-columns:1fr;gap:18px}.restored-section .skills-grid{grid-template-columns:1fr}.restored-section .career-card{padding:0}.restored-section .job{padding:20px 18px}.restored-section .job-left{gap:12px;align-items:flex-start}.restored-section .job-icon{width:44px;height:44px;flex-basis:44px}.restored-section .job h3{font-size:19px}.restored-section .company{font-size:16px}.restored-section .job ul{margin-left:0}.restored-section .project-head{flex-wrap:wrap}.restored-section .health-log-layout{grid-template-columns:1fr}.restored-section .project-phone-preview{width:100px;height:180px}.restored-section .health-log-copy .tags{margin-bottom:12px}.restored-section .project-card h3{font-size:22px}}
/* Full-height device screenshots: no crop or widened phone proportions. */
.restored-section .health-screens{grid-template-columns:repeat(3,minmax(0,150px));justify-content:center;gap:12px}
.restored-section .health-screens .screen-open{display:block;max-width:150px;margin:0 auto}
.restored-section .health-screens .screen-open img{width:100%;height:auto;aspect-ratio:1080/2316;object-fit:contain;display:block}
.restored-section .health-screens figcaption p{font-size:13px;line-height:1.5}
.restored-section .project-phone-preview{width:100px;height:auto;aspect-ratio:1080/2316;object-fit:contain;align-self:start}
@media(max-width:500px){.restored-section .health-screens{gap:8px}.restored-section .health-screens h4{font-size:13px}.restored-section .health-screens figcaption p{font-size:12px}}

/* Approved B proposal: retain project summaries and list website designs separately. */
.restored-section .projects-grid{align-items:stretch}
.restored-section .project-card{display:flex;flex-direction:column}
.restored-section .health-log-layout{flex:1}
.restored-section .project-link{margin-top:auto}
.restored-section .project-link:hover{color:#fff}
.restored-section .health-log-copy{display:flex;flex-direction:column}
.restored-section .project-head{min-height:80px}
.restored-section .project-card ul{margin-bottom:18px}
.restored-section .project-phone-preview{height:auto;max-height:none}
.proposal-extra{margin-top:26px}
.proposal-extra h3{margin:0 0 14px}
.website-heading{font-size:23px!important;margin:28px 0 16px!important}
.web-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.restored-section .web-card{padding:20px;display:flex;flex-direction:column;gap:12px}
.web-card .version{color:#246f75;font-size:14px;font-weight:800}
.web-card h3{margin:0!important}
.web-card img{width:100%;height:auto;aspect-ratio:1280/900;object-fit:contain;border:1px solid #d8e5e8;border-radius:8px;background:#fff;display:block}
.restored-section .web-card p{font-size:14px;margin:0;color:#42576c}
.restored-section .web-card .project-link{width:100%;margin-top:auto;font-size:14px}
@media(max-width:700px){.web-grid{grid-template-columns:1fr}}

/* Approved real-device gallery: five equal portrait cards above website designs. */
.device-intro{margin:0 0 18px!important;font-size:14px!important;color:#42576c}
.device-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}
.restored-section .device-card{padding:18px 14px;display:flex;flex-direction:column;gap:12px}
.device-card .version{color:#246f75;font-size:12px;font-weight:800}
.device-card h3{font-size:19px;margin:0;letter-spacing:-.5px;white-space:nowrap}
.device-frame{width:100%;max-width:140px;margin:0 auto;aspect-ratio:1080/2316;border:1px solid #d8e5e8;border-radius:8px;overflow:hidden;background:#fff}
.device-frame img{display:block;width:100%;height:100%;object-fit:contain}
.restored-section .device-card p{font-size:13px;line-height:1.6;margin:0;flex:1;word-break:keep-all;overflow-wrap:anywhere}
.restored-section .device-open{border:0;cursor:pointer;font-family:inherit;width:100%;margin-top:auto;font-size:12px;gap:6px;padding:12px 6px;min-height:48px}
@media(max-width:1000px) and (min-width:701px){.device-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.device-grid{grid-template-columns:1fr}.restored-section .device-card{padding:20px;gap:12px}.device-card h3{font-size:21px}.device-frame{max-width:160px}.restored-section .device-card p{font-size:14px}.restored-section .device-open{font-size:14px}}
