/* Simple mode: a text-first document, isolated from the photographic scene. */
:root { --simple-paper:#f8f5ed; --simple-navy:#101b40; --simple-teal:#075653; }
html[data-mode="simple"], html[data-mode="simple"] body {height:auto;min-height:100%;overflow:visible;background:var(--simple-paper);}
html[data-mode="simple"] .experience, html[data-mode="simple"] .analog-lens, html[data-mode="simple"] .simple-mode-switch {display:none!important;}
html[data-mode="laptop"] .simple-page {display:none!important;}
.simple-mode-switch {position:fixed;bottom:18px;right:28px;left:auto;transform:none;z-index:100000;color:#f5f0e7;background:transparent;border:1px solid rgba(255,255,255,.55);box-shadow:none;border-radius:2px;padding:7px 12px;font:700 16px/1.4 var(--mono);letter-spacing:.3px;text-decoration:none;text-shadow:0 1px 5px rgba(20,12,6,.45);cursor:pointer;opacity:.9;transition:opacity .2s ease;}
.simple-mode-switch:hover {opacity:1;}
@media(max-width:520px) {.simple-mode-switch {right:20px;bottom:14px;font-size:14px;letter-spacing:.3px;}}
@media(prefers-reduced-motion:reduce) {.simple-mode-switch {transition:none;}}
.simple-page {color:#171c24;background:var(--simple-paper);font:17px/1.5 Arial,Helvetica,sans-serif;min-height:100svh;}
.simple-page *, .simple-page *::before, .simple-page *::after {box-sizing:border-box;}
.simple-page h1,.simple-page h2,.simple-page h3,.simple-page h4,.simple-page p,.simple-page dl {margin:0;}
.simple-page a {color:var(--simple-teal);text-underline-offset:3px;}
.simple-page button,.simple-page summary {cursor:pointer;}
.simple-page :focus-visible,.simple-mode-switch:focus-visible {outline:3px solid #20a7a0;outline-offset:4px;}
.simple-header,.simple-footer {background:var(--simple-teal);color:#fff;}
.simple-bar-inner {max-width:1120px;margin:auto;padding:12px 32px;display:flex;align-items:center;justify-content:space-between;gap:24px;}
.simple-page .simple-brand {font:700 24px/1.2 'Courier New',monospace;color:#fff;text-decoration:none;white-space:nowrap;}
.simple-header nav {display:flex;gap:24px;margin-left:auto;flex-wrap:wrap;}
.simple-header nav a {color:#fff;text-decoration:none;}
.simple-header nav a:hover {text-decoration:underline;}
.simple-page .simple-button {display:inline-flex;align-items:center;min-height:34px;padding:3px 13px;border:2px solid;border-color:#fff #8a897a #8a897a #fff;box-shadow:0 0 0 1px #c4c1b1;background:#f4f1df;color:var(--simple-teal);font:600 16px/1.35 Arial,Helvetica,sans-serif;text-decoration:underline;text-underline-offset:3px;border-radius:0;}
.simple-page .simple-button:hover {background:#e8e7d7;}
.simple-document {max-width:1120px;margin:0 auto;padding:32px 40px 44px;}
.simple-intro {padding-bottom:30px;border-bottom:1px solid #adb1b6;}
.simple-page h1 {font:700 clamp(36px,5vw,56px)/1.08 'Courier New',monospace;letter-spacing:-1.8px;color:#10101b;}
.simple-page .simple-role {font-size:26px;line-height:1.3;margin:2px 0 14px;}
.simple-intro-links {display:flex;gap:28px;margin-top:13px;font-weight:600;}
.simple-section {padding-top:22px;scroll-margin-top:16px;}
.simple-page h2 {font:700 29px/1.2 'Courier New',monospace;letter-spacing:-.7px;color:var(--simple-navy);border-bottom:2px solid var(--simple-navy);padding-bottom:5px;margin-bottom:9px;}
.simple-project {padding:0 2px 23px;margin-bottom:8px;border-bottom:1px solid #adb1b6;}
.simple-project:last-child {margin-bottom:0;}
.simple-project-heading {display:flex;align-items:baseline;justify-content:space-between;gap:16px;}
.simple-page .simple-project h3 {font:700 28px/1.2 'Courier New',monospace;letter-spacing:-.8px;}
.simple-project-heading > span {font-size:15px;text-align:right;}
.simple-page .simple-tools {margin:5px 0 9px;}
.simple-details {display:inline;margin-left:17px;}
.simple-page summary.simple-button {display:inline list-item;list-style-position:inside;}
.simple-project-expanded {margin-top:18px;padding:2px 0 0 18px;border-left:2px solid #c3cecb;}
.simple-page h4 {font-size:17px;margin:16px 0 5px;}
.simple-project-expanded p + p {margin-top:10px;}
.simple-project-expanded ul {padding-left:22px;margin:5px 0 0;}
.simple-facts {display:grid;grid-template-columns:230px minmax(0,1fr);gap:6px 20px;}
.simple-facts dt {font-weight:700;}
.simple-facts dd {margin:0;overflow-wrap:anywhere;}
.simple-page #simple-skills > p {margin-top:13px;}
.simple-page #simple-background,.simple-page #simple-contact {margin-top:22px;border-top:1px solid #adb1b6;}
.simple-page #simple-background + .simple-section {margin-top:22px;border-top:1px solid #adb1b6;}
.simple-page .education-row {display:flex;justify-content:space-between;gap:16px;}
.simple-page #simpleAchievement h3 {font:700 17px/1.5 Arial,sans-serif;margin-bottom:3px;}
.simple-contact {margin-top:15px!important;grid-template-columns:160px minmax(0,1fr);}
.simple-footer button {background:none;border:0;padding:0;color:#fff;text-decoration:underline;text-underline-offset:3px;font:600 17px/1.5 Arial,sans-serif;}
.simple-footer .simple-bar-inner {padding-top:18px;padding-bottom:18px;}
@media(max-width:800px) {
 .simple-bar-inner {gap:16px;padding:14px 22px;flex-wrap:wrap;}
 .simple-header nav {order:3;width:100%;margin:0;gap:12px 24px;font-size:15px;}
 .simple-header .simple-brand {font-size:21px;}
 .simple-header .simple-button {margin-left:auto;}
 .simple-document {padding:28px 24px 36px;}
 .simple-facts {grid-template-columns:180px minmax(0,1fr);}
}
@media(max-width:520px) {
 .simple-page {font-size:16px;}
 .simple-page .simple-brand {font-size:19px;}
 .simple-bar-inner {padding:12px 18px;gap:12px;}
 .simple-header .simple-button {font-size:14px;padding:5px 8px;min-height:40px;}
 .simple-document {padding:28px 20px 34px;}
 .simple-page h1 {font-size:36px;letter-spacing:-1.4px;}
 .simple-page .simple-role {font-size:23px;}
 .simple-page h2 {font-size:26px;}
 .simple-project-heading {display:block;}
 .simple-project-heading > span {display:block;text-align:left;font-size:14px;margin:3px 0 7px;color:#50565e;}
 .simple-page .simple-project h3 {font-size:26px;}
 .simple-facts {display:block;}
 .simple-facts dd {margin:1px 0 12px;}
 .simple-details {display:block;margin:12px 0 0;}
 .simple-page summary.simple-button {display:list-item;width:max-content;max-width:100%;padding-top:8px;padding-bottom:8px;}
 .simple-page .simple-button {min-height:40px;}
 .simple-project {padding-bottom:21px;}
 .simple-footer .simple-bar-inner {align-items:flex-start;flex-direction:column;}
}
/* A dedicated mobile strip keeps the mode switch out of app and taskbar areas. */
@media(max-width:700px){html[data-mode=laptop] .simple-mode-switch{position:fixed;right:16px;bottom:calc(58px + env(safe-area-inset-bottom));min-height:40px;padding:8px 12px;font-size:13px;background:transparent;z-index:100000}}
